@os-eco/overstory-cli 0.9.2 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/agents/coordinator.md +4 -4
- package/package.json +1 -1
- package/src/agents/copilot-hooks-deployer.test.ts +162 -0
- package/src/agents/copilot-hooks-deployer.ts +93 -0
- package/src/beads/client.ts +31 -3
- package/src/commands/clean.ts +2 -1
- package/src/commands/completions.test.ts +4 -1
- package/src/commands/coordinator.ts +4 -2
- package/src/commands/dashboard.ts +4 -1
- package/src/commands/doctor.ts +91 -76
- package/src/commands/init.ts +42 -0
- package/src/commands/inspect.ts +8 -4
- package/src/commands/monitor.ts +10 -3
- package/src/commands/sling.test.ts +12 -0
- package/src/commands/sling.ts +10 -1
- package/src/commands/supervisor.ts +2 -1
- package/src/commands/watch.test.ts +6 -4
- package/src/commands/worktree.test.ts +319 -3
- package/src/commands/worktree.ts +86 -0
- package/src/config.test.ts +78 -0
- package/src/config.ts +20 -1
- package/src/doctor/consistency.ts +2 -2
- package/src/index.ts +1 -1
- package/src/runtimes/codex.test.ts +38 -1
- package/src/runtimes/codex.ts +22 -3
- package/src/runtimes/copilot.test.ts +213 -13
- package/src/runtimes/copilot.ts +93 -11
- package/src/runtimes/pi.test.ts +24 -0
- package/src/runtimes/pi.ts +4 -3
- package/src/runtimes/types.ts +7 -0
- package/src/tracker/factory.test.ts +10 -0
- package/src/tracker/factory.ts +3 -2
- package/src/worktree/tmux.test.ts +202 -49
- package/src/worktree/tmux.ts +49 -37
- package/templates/copilot-hooks.json.tmpl +13 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "Copilot CLI lifecycle hooks — schema reverse-engineered from copilot CLI behavior. Key differences from Claude Code: event names are camelCase (onSessionStart, onToolUse, onError), no matcher field, hook entries are { command } only (no type field).",
|
|
3
|
+
"hooks": {
|
|
4
|
+
"onSessionStart": [
|
|
5
|
+
{
|
|
6
|
+
"command": "[ -z \"$OVERSTORY_AGENT_NAME\" ] && exit 0; ov prime --agent {{AGENT_NAME}}"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"command": "[ -z \"$OVERSTORY_AGENT_NAME\" ] && exit 0; ov mail check --inject --agent {{AGENT_NAME}}"
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
}
|