import { ExecutionLimits, SandboxExecutionResult } from './types.js'; export type HostToWorkerMessage = { type: 'EXECUTE'; taskId: string; code: string; limits: ExecutionLimits; } | { type: 'TOOL_RESPONSE'; taskId: string; callId: string; result?: unknown; error?: string; } | { type: 'SHUTDOWN'; }; export type WorkerToHostMessage = { type: 'TOOL_REQUEST'; taskId: string; callId: string; toolName: string; args: Record; } | { type: 'EXECUTION_COMPLETE'; taskId: string; result: SandboxExecutionResult; } | { type: 'EXECUTION_FAILED'; taskId: string; error: string; }; //# sourceMappingURL=ipc-messages.d.ts.map