UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

15 lines (14 loc) 682 B
import { type ChatGptCredentialStore } from "#public/models/openai/chatgpt/credential-store.js"; import { type CodexTokenBroker } from "#public/models/openai/chatgpt/token-broker.js"; interface ChatGptAuthOptions { readonly signal?: AbortSignal; readonly broker?: CodexTokenBroker; readonly store?: ChatGptCredentialStore; readonly fetch?: typeof fetch; readonly open?: (url: string) => void; readonly log?: (message: string) => void; readonly headless?: boolean; } /** Signs in directly with OpenAI; credentials belong to eve, independently of Codex. */ export declare function ensureChatGptAuth(options?: ChatGptAuthOptions): Promise<void>; export {};