Skip to content

Discover Codex gateway models through a remote catalog - #417

Merged
fylorn merged 5 commits into
devfrom
codex/codex-model-catalog
Nov 9, 2026
Merged

fylorn merged 5 commits into
devfrom
codex/codex-model-catalog

Conversation

@fylorn

@fylorn fylorn commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Codex users can discover gateway models and aliases through a remote native model catalog. Configure discovery once during adoption; later model and permission changes use the gateway API and existing hot reload path without rewriting client configuration.

Adoption sets model_catalog_url and API-key discovery, reversibly removes an overriding local catalog and stale provider environment-key lookup, and respects the selected default profile while preserving inactive profiles. Restoration and repeated adoption remain reversible, existing credentials stay out of sidecar metadata, and manual TOML instructions show removals correctly.

Pin all Core client crates and the bundled binary to tagged Core 0.90.0, add the two new Core error translations, and prepare Lite 2026.11.7. Existing responsive traffic columns and download-reliability fixes are retained. Core 0.90.0 also updates bundled SQLite for RUSTSEC-2026-0459; protocol 58 and store schema 28 remain unchanged.

Validation: the implementation previously passed 571 Lite unit tests, 275 adoption unit tests, 92 adoption round-trip tests, message-code checks and all-target Clippy. Core #397 has merged after complete platform CI and advisory checks. An isolated Codex CLI 0.166.0 probe confirmed changed model lists after gateway hot reload with the same gateway process and unchanged client configuration. Release-note tests, translation checks and locked offline dependency validation pass locally. Final CI passed every required frontend, formatting, macOS, Windows and Linux check on both preparation and promotion snapshots (42628683188 and 42628771176). Complete rehearsal 42628774671 passed all five platform builds, package inspection, signing and Windows installation/portable end-to-end checks.

Related to #416. Core release: https://github.com/ThinkWatchProject/ThinkWatch-Core/releases/tag/v0.90.0. Connect or reconnect existing Codex installations through Clients, then restart the client once; subsequent picker updates depend on the client's catalog refresh or restart. No installed application or real Codex configuration was modified during development or release verification.

Release Lite 2026.11.4 with Core 0.89.2.

Traffic columns can be hidden and reordered, with a saved compact preset and date/time layout for smaller windows. Request rows show the upstream model and retain the requested name when routing changes it. Credential names align consistently, and stored HTTP details identify redacted archives.

The bundled Core reduces credential false positives, honors native system proxies for system-mode upstreams, and preserves Mistral array content and split placeholders. System proxy settings refresh on configuration apply/reload. Protocol 58 and store schema 28 are unchanged.

Validation: the prepared snapshot in #414 passed both frontend typechecks, 1435 frontend tests, production build, 1022 local Rust tests, workspace Clippy, native WKWebView interaction/layout checks and the three platform CI gates. Core 0.89.2 is published; all 14 assets and seven checksum pairs were verified. The release tag will point to the identical tested source tree after this PR’s checks pass.

Pricing matching from #405 is unchanged. The Mistral fixes cover reproduced compatibility defects; the incomplete original report is not claimed fully resolved.
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Thanks for the PR. One thing before review: this targets main, and it should target dev.

main is a release-only line — branch-protected, linear history, and every commit on it is a tagged release snapshot. Routine work lands on dev and reaches main with the next release. GitHub pre-filled main here because it is the default branch, so this is our defaults being unhelpful rather than anything you did wrong.

No need to close and reopen: click Edit next to the PR title and change the base branch to dev. The commits and the discussion carry over.

See CONTRIBUTING.md for the branch contract.

@fylorn
fylorn marked this pull request as ready for review November 9, 2026 13:48
@fylorn
fylorn merged commit 3d233a3 into dev Nov 9, 2026
14 checks passed
@fylorn
fylorn deleted the codex/codex-model-catalog branch November 9, 2026 14:40
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant