fix(agent-switch): create fresh session for handoff apply

This commit is contained in:
ismeth
2026-02-28 20:25:50 +01:00
committed by YeonGyu-Kim
parent 2c27298dc1
commit e52ccd1b04
6 changed files with 369 additions and 218 deletions
+1
View File
@@ -21,6 +21,7 @@ type SessionClient = {
path: { id: string }
body: { agent: string; parts: Array<{ type: "text"; text: string }> }
}) => Promise<unknown>
create?: (input?: { body?: { parentID?: string; title?: string } }) => Promise<unknown>
messages: (input: { path: { id: string } }) => Promise<unknown>
status?: () => Promise<unknown>
}