Add image attachments to agent creation

This commit is contained in:
Mohamed Boudra
2025-12-29 09:07:54 +07:00
parent 5d24e0eee8
commit d5f5351d37
6 changed files with 51 additions and 38 deletions

View File

@@ -199,10 +199,11 @@ export interface SessionState {
createAgent: (options: {
config: any;
initialPrompt: string;
images?: Array<{ uri: string; mimeType?: string }>;
git?: any;
worktreeName?: string;
requestId?: string;
}) => void;
}) => Promise<void>;
resumeAgent: (options: { handle: any; overrides?: any; requestId?: string }) => void;
setAgentMode: (agentId: string, modeId: string) => void;
respondToPermission: (agentId: string, requestId: string, response: any) => void;