agent-orchestrator/packages
Prateek 4f0fcd82b1 fix: address resource leaks and undefined env variable
Fixed 4 Bugbot issues:

1. HIGH: Undefined $CLAUDE_PROJECT_DIR in hook script path
   - Changed setupWorkspaceHooks to use absolute path instead of undefined
     env variable
   - Matches approach used in postLaunchSetup for consistency

2. HIGH: Orchestrator session leaks when metadata write fails
   - Added try-catch around tmux session launch and metadata write
   - Kills tmux session if metadata write or agent launch fails
   - Prevents orphaned sessions from consuming resources

3. MEDIUM: Dashboard process leaks when orchestrator setup fails
   - Wrapped orchestrator setup in try-catch block
   - Kills dashboard child process if orchestrator setup fails
   - Prevents orphaned Next.js server from blocking future starts

4. LOW: Inconsistent indentation (fixed as side effect of restructuring)
   - Refactored error handling simplified indentation structure

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-15 15:00:24 +05:30
..
agent-orchestrator feat: publish to npm under @composio scope (#32) 2026-02-15 04:28:57 +05:30
cli fix: address resource leaks and undefined env variable 2026-02-15 15:00:24 +05:30
core fix: address bugbot review comments - markdown escaping and unused module 2026-02-15 11:55:49 +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 fix: address resource leaks and undefined env variable 2026-02-15 15:00:24 +05:30
web fix: address new bugbot issues - hook quoting, orchestrator link, pkill scope 2026-02-15 12:48:05 +05:30