eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
16 lines (15 loc) • 659 B
TypeScript
import { type CodexTokenBroker } from "./token-broker.js";
type Fetch = typeof globalThis.fetch;
export interface CodexTransportOptions {
readonly broker?: CodexTokenBroker;
readonly codexApiEndpoint?: string;
readonly fetch?: Fetch;
}
/**
* Routes OpenAI Responses requests through the Codex backend. Authentication is
* resolved through Codex app-server when available, with eve-owned credentials
* used only when the Codex binary is not installed.
*/
export declare function createCodexFetch(options?: CodexTransportOptions): Fetch;
export declare function rewriteCodexEndpoint(input: string, codexApiEndpoint?: string): string;
export {};