refactor(tmux-subagent): split manager and decision-engine into focused modules

Extract session lifecycle, polling, grid planning, and event handling:
- polling.ts: session polling controller with stability detection
- event-handlers.ts: session created/deleted handlers
- grid-planning.ts, spawn-action-decider.ts, spawn-target-finder.ts
- session-status-parser.ts, session-message-count.ts
- cleanup.ts, polling-constants.ts, tmux-grid-constants.ts
This commit is contained in:
YeonGyu-Kim
2026-02-08 16:21:04 +09:00
parent e3bd43ff64
commit f8b5771443
19 changed files with 1080 additions and 763 deletions
@@ -0,0 +1,6 @@
export { coerceSessionCreatedEvent } from "./session-created-event"
export type { SessionCreatedEvent } from "./session-created-event"
export { handleSessionCreated } from "./session-created-handler"
export type { SessionCreatedHandlerDeps } from "./session-created-handler"
export { handleSessionDeleted } from "./session-deleted-handler"
export type { SessionDeletedHandlerDeps } from "./session-deleted-handler"