feat(models): register every /model/list scenario

Qoder's /model/list groups one account catalog by UI scenario (chat,
assistant, quest, qwork, experts, ...). The CLI only read `chat`, so the
picker hid models the IDE exposes elsewhere — GLM-5.3, GLM-5.2 and
DeepSeek-V4-Pro live under experts/qwork.

Register the union of the scenario groups, keeping the first occurrence per
upstream key (chat wins) and excluding byok_* groups, which are
bring-your-own-key providers rather than part of the shared catalog.

Also keep an explicitly enabled `auto` model: live catalogs key `configs` by
the whitespace-stripped display name, so it arrives as `Auto` instead of the
legacy raw `auto` key.

Refresh the lockfile to the 0.4.5 already in package.json.
This commit is contained in:
2026-09-24 17:17:10 +08:00
parent 6ac304c9f9
commit a0be14764c
4 changed files with 127 additions and 8 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "pi-provider-qoder",
"version": "0.4.4",
"version": "0.4.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "pi-provider-qoder",
"version": "0.4.4",
"version": "0.4.5",
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "2.5.12",