Repository navigation
Expand file tree
/
Copy pathherdr-plugin.toml
More file actions
58 lines (47 loc) · 1.73 KB
/
Copy pathherdr-plugin.toml
File metadata and controls
58 lines (47 loc) · 1.73 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
46
47
48
49
50
51
52
53
54
55
56
57
58
id = "herdr-projects"
name = "Projects"
version = "1.2.27"
# The oldest herdr this plugin was actually verified on.
min_herdr_version = "0.9.3"
description = "A work board: one list of tasks, each delegated one an ordinary herdr agent in its own space"
platforms = ["linux", "macos"]
# Commands go through bin/run.sh: herdr starts them with its server's environment, which may lack the user's PATH. It
# runs the program built here, or the one downloaded for this platform from this version's GitHub release.
# Gets the program when the plugin is installed: downloads it, or builds it from source when it cannot.
[[build]]
command = ["sh", "bin/run.sh", "--fetch"]
[[startup]]
command = ["sh", "bin/run.sh", "hook"]
[[actions]]
id = "open"
title = "Open the work board"
command = ["sh", "bin/run.sh", "open"]
[[actions]]
id = "coordinator"
title = "Go into the Coordinator's chat"
command = ["sh", "bin/run.sh", "open-coordinator"]
[[actions]]
id = "approve-current"
title = "Approve the task in the focused pane (the board asks first)"
contexts = ["pane"]
command = ["sh", "bin/run.sh", "approve-current"]
[[events]]
on = "pane.agent_status_changed"
command = ["sh", "bin/run.sh", "hook"]
# An agent exiting to its shell fires this (released) on herdr 0.9.3.
[[events]]
on = "pane.agent_detected"
command = ["sh", "bin/run.sh", "hook"]
[[events]]
on = "pane.closed"
command = ["sh", "bin/run.sh", "hook"]
[[events]]
on = "worktree.removed"
command = ["sh", "bin/run.sh", "hook"]
[[panes]]
id = "board"
title = "Work board"
# A tab of its own unless you choose the popup (`board.open`): the board key then opens this pane as herdr's popup
# instead, a window over everything (src/board/run/place.rs).
placement = "tab"
command = ["sh", "bin/run.sh", "board"]