feat(tools): add switch agent background workflow

This commit is contained in:
YeonGyu-Kim
2026-03-26 12:59:36 +09:00
parent 647f691fe2
commit 1c125ec3ef
25 changed files with 607 additions and 0 deletions
@@ -1,3 +1,5 @@
import { resetPendingSessionAgentSwitchesForTesting } from "./switch-agent-state"
export const subagentSessions = new Set<string>()
export const syncSubagentSessions = new Set<string>()
@@ -17,6 +19,7 @@ export function _resetForTesting(): void {
subagentSessions.clear()
syncSubagentSessions.clear()
sessionAgentMap.clear()
resetPendingSessionAgentSwitchesForTesting()
}
const sessionAgentMap = new Map<string, string>()