mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-20 15:19:16 +00:00
Implements the unified model catalog UX on top of the last-known-good persistence layer (#3624): - R1 source provenance end-to-end: list-models now returns source: 'live' | 'last-known-good' plus fetchedAt (ISO) on live successes and last-known-good serve-outs; the pre-flight cache replays the original provenance on hits. The renderer cache persists source/fetchedAt alongside the catalog, and the build-time preset fallback derives 'presets'. - R2 loading state for all backends: drop the opencode-only gate on modelCatalogLoading so every SDK backend shows the composer loading state while its live fetch is in flight (opencode behavior unchanged). - R3 unified status chip: ComposerModelPicker renders a muted footer chip for every backend - live / cached with relative last-success time / built-in default list - replaced by the spinner row while loading. Keys added to en/es/zh-CN/zh-TW (ru keeps its pre-existing ai.opencode gap). - R4 copilot headless wrapper: generated per-resolve wrapper (baked with the platform exe the npm loader would spawn) is handed to RuntimeConnection.forStdio, spawning with windowsHide:true so no console window flashes in Electron. Falls back to the loader when the exe cannot be resolved (window may flash - documented degradation).