优化会话加载逻辑

This commit is contained in:
xintaofei
2026-03-10 13:10:46 +08:00
parent 51310da549
commit 5564fdd39f
5 changed files with 169 additions and 6 deletions

View File

@@ -440,7 +440,12 @@ export type AcpEvent =
tool_call: unknown
options: PermissionOptionInfo[]
}
| { type: "turn_complete"; connection_id: string; stop_reason: string }
| {
type: "turn_complete"
connection_id: string
session_id: string
stop_reason: string
}
| {
type: "session_started"
connection_id: string