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

This commit is contained in:
2026-09-06 23:17:35 +08:00
parent 637ddbb9bf
commit cec8daac93
39 changed files with 762 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