fix: resolve session resumption issue by storing Claude's internal session ID

- Add discriminated union for agent options with proper type (claude)
- Store Claude's internal session ID separately from ACP session ID
- Use Zod schema validation for persisted agents
- Use correct session ID when resuming agents (Claude ID for Claude agents)
- Update to @boudra/claude-code-acp@0.8.1 which extracts Claude session ID
This commit is contained in:
Mohamed Boudra
2025-10-24 17:09:37 +02:00
parent ff02b500e0
commit dd4fa90c5a
11 changed files with 489 additions and 317 deletions
-9
View File
@@ -1,9 +0,0 @@
[
{
"id": "bcc0019c-9293-4235-adb7-921f8e7d67eb",
"title": "Fix Real-time Footer Spacing",
"sessionId": "019a1575-706b-73fc-8955-d2c7b524e707",
"createdAt": "2025-10-24T09:03:28.577Z",
"cwd": "/Users/moboudra/dev/voice-dev"
}
]