UNPKG

@bitkyc08/opencodex

Version:

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

24 lines (20 loc) • 572 B
export interface NpmInvocationDeps { cwd?: string; exists?: (path: string) => boolean; } export interface NpmInvocation { file: string; args: string[]; options: { windowsVerbatimArguments?: boolean }; } export declare function resolveNpmCommand( platform?: NodeJS.Platform, env?: Record<string, string | undefined>, deps?: NpmInvocationDeps, ): string | null; export declare function npmInvocation( args: readonly string[], platform?: NodeJS.Platform, env?: Record<string, string | undefined>, deps?: NpmInvocationDeps, ): NpmInvocation | null;