UNPKG

@bitkyc08/opencodex

Version:

Universal provider proxy for OpenAI Codex & Claude Code — use any LLM with Codex CLI/App/SDK and Claude Code

13 lines (12 loc) • 681 B
export type OrchestratedUpdateArgs = { ok: false } | { ok: true; mode: "plan" | "apply"; tag?: "latest" | "preview"; version?: string; expectPlan?: string; notAfter?: number; }; export declare function parseOrchestratedUpdateArgs(argv: readonly string[]): OrchestratedUpdateArgs; export declare function isOrchestratedUpdateArgv(argv: readonly string[]): boolean; export type OrchestratedChildArgs = { ok: false } | { ok: true; version: string; expect: string; resultPath: string; resultCapability: string; notAfter?: number }; export declare function parseOrchestratedChildArgs(argv: readonly string[], env: Record<string, string | undefined>): OrchestratedChildArgs;