@bitkyc08/opencodex
Version:
Universal provider proxy for OpenAI Codex & Claude Code — use any LLM with Codex CLI/App/SDK and Claude Code
16 lines (15 loc) • 739 B
text/typescript
/**
* Opt-in external executor for computer-use / record-screen. opencodex is a headless proxy and
* cannot drive a screen itself; set these commands only when running on a host that can. Each
* command receives the request as JSON on stdin and must print a JSON result on stdout.
*/
export interface DesktopExecutorConfig {
/** Command (run via the platform shell) handling computer-use. Receives `{toolCallId, actions}` on stdin. */
computerUseCommand?: string;
/** Command handling record-screen. Receives `{mode, toolCallId, saveAsFilename?}` on stdin. */
recordScreenCommand?: string;
cwd?: string;
env?: Record<string, string>;
/** Max time to wait for the external process. Default 30s. */
timeoutMs?: number;
}