You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Warn when hardcoded model catalogs diverge from the installed CLI #743
Every miss in #738 is the same root cause: electron/providers.js is a hand-copied snapshot of live CLI caches. Codex Sol disappeared because the snapshot used visibility=list on an older cache. OpenCode dropped three Zen models and added two while the file still claimed it was "live opencode models (v1.17.12)".
Custom... exists so a snapshot can lag without blocking users. That does not help effort (closed union) and it does not help discovery (Sol is not findable).
What to ship (small)
Not a live-replacing catalog on every boot. Snapshots stay the offline default and the test fixture.
Doctor / providers.list warning. When the matching CLI is installed, compare snapshot ids to the local cache:
Claude: only if a non-interactive list exists (this machine's claude models is auth-gated)
Surface a one-line note on the model picker or in the config doctor: "Codex CLI lists gpt-5.6-sol; Solenta snapshot does not. Use Custom... or update the catalog." Include snapshot vs CLI version in the note.
Optional follow-up (separate PR): merge live list-only ids into the picker at runtime, still using snapshot modelInfo for copy, with a generic description for unknown ids.
Do not
Do not network from the renderer.
Do not fail boot when a cache file is missing.
Do not auto-delete snapshot ids that the local account cannot see (plan gating). Divergence is a warning, not a rewrite.
Files
electron/providers.js (probe helpers), electron/configDoctor.js or listProviders, picker/doctor UI, tests with fixture caches.
Duplicate of #745 (same catalog-divergence warning; #745 is the one in progress on the planboard). Closing so the board has a single issue for this work.
Activity
currentbits commentedon Aug 28, 2026
Duplicate of #745 (same catalog-divergence warning; #745 is the one in progress on the planboard). Closing so the board has a single issue for this work.