@bitkyc08/opencodex
Version:
Universal provider proxy for OpenAI Codex & Claude Code — use any LLM with Codex CLI/App/SDK and Claude Code
11 lines (10 loc) • 455 B
text/typescript
/** Declaration for the plain-ESM post-stop decision shared with `bin/ocx.mjs`. */
export declare function decidePostStopUpdate(input: {
status: number | null;
hasRuntimeState: boolean;
liveness: "live" | "dead" | "unknown";
teardownOutstanding?: boolean;
}): {
proceed: boolean;
reason: "stop-failed" | "runtime-state" | "teardown-outstanding" | "proxy-live" | "proxy-unknown" | "history-only" | "history-deferred" | "handed-over" | "ok";
};