/** * Offline **floor** for the ChatGPT "Sign in with ChatGPT" (`openai-codex`) * models, mirroring what the official Codex CLI / ChatGPT model picker shows. * * Source-of-truth precedence (live path wins): * 1. The curated overlay `packages/cli/data/providers.json` — provider * `openai-codex` — which is **synced from raw GitHub** + cached + bundled * offline by `DefaultModelsRegistry` (overlayUrl/overlayFile). Editing that * JSON and pushing updates every client without a code release; this is the * authoritative list whenever the registry overlay is wired (the CLI path). * 2. This hardcoded table — the last-resort floor used where no overlay is * available (a standalone registry without the bundled file) and by the CLI * auth-menu login flow, which needs a synchronous id list. * * Keep this in lockstep with the `openai-codex` block in `providers.json`; the * drift-guard test `packages/cli/tests/codex-catalog-overlay-sync.test.ts` * asserts they agree. * * Layer note: this lives in `core` (not the CLI auth-menu) so the model-list * resolver can read it without `core` depending on `cli`. The CLI's * `FALLBACK_CODEX_MODELS` is derived from this list. */ export interface CodexModelMeta { /** The wire id sent to the backend and stored in config (e.g. `gpt-5.5`). */ id: string; /** Human-readable display name shown in pickers. */ name: string; /** One-line capability blurb, matching the official Codex picker copy. */ description: string; /** The recommended / latest model — tagged "(current)" in the official UI. */ current?: boolean; } /** * Current ChatGPT sign-in models, newest first. The first entry is the * recommended default (`current`). Order is significant: callers that need a * default model id use `CODEX_MODELS[0]`. */ export declare const CODEX_MODELS: ReadonlyArray; /** Look up the canonical metadata for a Codex model id, or `undefined`. */ export declare function codexModelMeta(id: string): CodexModelMeta | undefined; //# sourceMappingURL=codex-catalog.d.ts.map