agent-orchestrator/packages
Prateek 69391eaf47 feat: add automatic metadata updates via Claude Code hooks
CRITICAL: This makes the dashboard work by auto-updating metadata when
agents run git/gh commands. Without this, PRs created by agents never
appear on the dashboard.

Changes:
- packages/core/src/claude-hooks.ts: Setup Claude hooks (settings.json + metadata-updater.sh)
- ao start: Automatically configures Claude hooks in project directory
- ao spawn: Sets AO_SESSION and AO_DATA_DIR env vars for hook script
- metadata-updater.sh: Detects gh pr create, git checkout -b, gh pr merge

How it works:
1. PostToolUse hook fires after every Bash command
2. metadata-updater.sh receives JSON with command and output
3. Pattern matches git/gh commands and updates flat metadata files
4. Dashboard reads metadata files to show PR/branch/status

The .claude directory is symlinked from main repo to worktrees so all
sessions share the same hook config.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-15 11:29:04 +05:30
..
agent-orchestrator feat: publish to npm under @composio scope (#32) 2026-02-15 04:28:57 +05:30
cli feat: add automatic metadata updates via Claude Code hooks 2026-02-15 11:29:04 +05:30
core feat: add automatic metadata updates via Claude Code hooks 2026-02-15 11:29:04 +05:30
integration-tests fix: recognize terminated/done session states and hide terminal for dead sessions (#40) 2026-02-15 05:15:41 +05:30
plugins feat: publish to npm under @composio scope (#32) 2026-02-15 04:28:57 +05:30
web feat: implement ao start command for unified orchestrator startup 2026-02-15 11:14:27 +05:30