fix(chat): preserve retry attachments and per-answer context snapshots

This commit is contained in:
2026-09-07 00:09:14 +08:00
parent 11e5785681
commit ac2d36bf9c
10 changed files with 106 additions and 5 deletions
+1
View File
@@ -71,6 +71,7 @@ export interface Conversation {
export interface WorkspaceContext { file_path: string; content: string }
export interface ChatMessage {
context_captured?: boolean
attachments?: string[]
workspace_context?: WorkspaceContext
activity?: Array<{ type: 'thinking'; text: string } | { type: 'tool'; tool_call_id: string }>