eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
15 lines (14 loc) • 586 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 and refreshed from eve's local ChatGPT session.
*/
export declare function createCodexFetch(options?: CodexTransportOptions): Fetch;
export declare function rewriteCodexEndpoint(input: string, codexApiEndpoint?: string): string;
export {};