feat(trial): assemble completed Agent workspace updates

This commit is contained in:
鲨鱼辣椒 committed 2026-10-13 12:11:56 +08:00
1 parent 8289f27f3e
commit 7c51bb4a00
38 files changed
+2081 -276

No files matched your search

+8
View File
@@ -98,7 +98,15 @@ export interface CloudInterrupt {
export interface CloudMessage {
id: number; role: 'user' | 'assistant' | 'system'; content: string; request_id: string;
run_id: string | null; created_at: string;
message_id?: string | null;
reasoning_content?: string;
tool_calls?: CloudToolCall[];
}
export interface CloudToolCall {
id: string; name: string; args: unknown; status: string;
display_name?: string; display_description?: string;
tool_call_result?: { content: unknown } | null;
error_message?: string | null;
}
export interface CloudHistory {
thread_id: string; messages: CloudMessage[]; run: CloudRun | null; next_offset: number | null;