docs: add AGENTS.md for team-mode and tmux-subagent features

This commit is contained in:
YeonGyu-Kim
2026-04-28 10:48:28 +09:00
parent dc0276761a
commit d7d956468c
2 changed files with 95 additions and 1 deletions
+3 -1
View File
@@ -4,7 +4,7 @@
## OVERVIEW
28 files. State-first tmux integration managing panes for background agent sessions. Handles split decisions, grid planning, polling, and lifecycle events.
32 files. State-first tmux integration managing panes for background agent sessions. Handles split decisions, grid planning, polling, and lifecycle events.
## CORE ARCHITECTURE
@@ -16,6 +16,8 @@ TmuxSessionManager (manager.ts)
└─→ EventHandlers: React to session create/delete
```
All tmux command execution is centralized through `src/shared/tmux/runner.ts` (`runTmuxCommand`). Do NOT add direct `Bun.spawn([tmux,...])` calls in this module. They will drift from the retry/timeout/terminal-error discipline.
## KEY FILES
| File | Purpose |