Files
Netcatty/infrastructure
GOUKI9999andbincxz abd074fe95 fix(ai): refresh stale runtime model catalogs on use (#4263)
* fix(ai): refresh stale runtime model catalogs on use

* fix(ai): check model catalog freshness on picker open

* fix(ai): preserve saved rows on current-only stale catalog revalidation

* fix(ai): skip Cursor CLI probes on cacheOnly and warm model catalog checks

* fix(ai): keep cacheOnly model hydration non-blocking and restart-safe

* fix(ai): persist exact alias keys for cacheOnly hydration and reconcile warnings

* fix(ai): add backward-compatible pre-alias v1 catalog resolution for cacheOnly

* fix(ai): track alias migration per entry and consult Cursor alias before probing

* fix(ai): resolve pre-alias catalogs asynchronously by exact binary and allow missing CLI on cacheOnly

* fix(ai): preserve saved models for missing CLI and persist joined aliases after load

* fix(ai): reuse saved alias when bare CLI disappears from PATH

* fix(ai): alias env-configured CLI paths and adopt valid model on picker revalidation

* fix(ai): reprobe moved Cursor CLI on stale revalidation instead of pinning stale alias

* fix(ai): preserve PATH fallback when env-configured CLI path is invalid

---------

Co-authored-by: bincxz <16399091+binaricat@users.noreply.github.com>
2026-11-24 10:50:03 +08:00
..