-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathherdr-plugin.toml
More file actions
45 lines (39 loc) · 1.3 KB
/
Copy pathherdr-plugin.toml
File metadata and controls
45 lines (39 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
id = "commandcode.integration"
name = "Command Code"
version = "0.1.0"
min_herdr_version = "0.7.0"
description = "Launch and manage Command Code (cmd) agents inside Herdr, with session restore and lifecycle state."
platforms = ["linux", "macos", "windows"]
# Interactive Command Code sessions run as plugin PANE entrypoints. Herdr opens a
# real terminal PTY for each, so the cmd TUI gets a TTY (actions/CLI have none and
# cannot launch interactive agents). Bind these in your herdr config, e.g.:
# [[keys.command]]
# key = "prefix+c"
# type = "plugin_pane"
# command = "commandcode.integration.task"
# description = "Command Code: new task"
[[panes]]
id = "task"
title = "Command Code"
placement = "split"
command = ["sh", "scripts/launch.sh", "task"]
[[panes]]
id = "resume-last"
title = "Command Code (last session)"
placement = "split"
command = ["sh", "scripts/launch.sh", "resume-last"]
[[panes]]
id = "resume-named"
title = "Command Code (named session)"
placement = "split"
command = ["sh", "scripts/launch.sh", "resume-named"]
[[actions]]
id = "setup"
title = "Command Code: install herdr integration"
contexts = ["workspace"]
command = ["sh", "scripts/setup.sh"]
[[actions]]
id = "notify"
title = "Command Code: send notification"
contexts = ["workspace", "pane"]
command = ["sh", "scripts/notify.sh"]