feat(models): add refresh-model-catalog skill

Add an agent skill that walks through a full model catalog refresh: drift
detection, catalog sync, manually reviewed pricing updates, fixture
refresh, and test updates. Its helper scripts run on Windows and Linux:
one snapshots the live model-id list into the test fixture, the other
regenerates the pricing fixture from MODEL_COSTS through prettier so
format:check stays green. Typecheck now covers the skill scripts.
This commit is contained in:
Thomas Byr
2026-08-28 17:00:39 +02:00
parent 425483e0e1
commit 8b5e4d78ba
5 changed files with 161 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@
## Unreleased
- Fix `npm run sync:commandcode-catalog` and `npm run check:commandcode-catalog` on Windows by spawning npm through the shell.
- Add a `refresh-model-catalog` agent skill with cross-platform helper scripts that snapshot the live model catalog and regenerate the pricing fixture from `MODEL_COSTS`.
## 0.6.0 - 2026-08-25