feat(chat): add workspace chat, attachments and agent delegation

This commit is contained in:
2026-09-06 23:17:35 +08:00
parent 68a1bb2b10
commit 12b732d936
37 changed files with 723 additions and 37 deletions
+4
View File
@@ -68,7 +68,11 @@ export interface Conversation {
message_count: number
}
export interface WorkspaceContext { file_path: string; content: string }
export interface ChatMessage {
attachments?: string[]
workspace_context?: WorkspaceContext
activity?: Array<{ type: 'thinking'; text: string } | { type: 'tool'; tool_call_id: string }>
versions?: string[]
message_id: string