feat(compaction): wire TaskHistory into BackgroundManager and compaction pipeline

Records task history at 6 status transitions (pending, running×2, error,
cancelled, completed). Exports TaskHistory from background-agent barrel.
Passes backgroundManager and sessionID through compaction hook chain.
This commit is contained in:
YeonGyu-Kim
2026-02-13 17:40:44 +09:00
parent 888e54fb9b
commit fb65bf8def
4 changed files with 11 additions and 2 deletions
+1
View File
@@ -1,4 +1,5 @@
export * from "./types"
export { BackgroundManager, type SubagentSessionCreatedEvent, type OnSubagentSessionCreated } from "./manager"
export { TaskHistory, type TaskHistoryEntry } from "./task-history"
export { ConcurrencyManager } from "./concurrency"
export { TaskStateManager } from "./state"