@mars-sea/dsh-commandcode-provider 0.14.3 → 0.14.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/lib/client.js +1 -1
- package/lib/index.d.ts +10 -2
- package/lib/index.js +55 -17
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.14.4] - 2026-10-20
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **同步 2026-10-20 的目录侧漂移(CLI 产物不变,仍是 1.84.0)。** 官方 CLI 的 npm `latest` 与变更日志本轮都没有新内容(`1.84.0` 于 2026-10-16T18:29Z 发布,日志顶部仍停在它),但实时模型目录在 10-19 晚变了:默认视图(`GET /provider/v1/models`)93 → 94 个 id,`?view=client` 101 → 102。快照随默认视图投影:`KNOWN_PLANS` 93 → 94、`KNOWN_EFFORTS` 65 → 66、`KNOWN_IMAGE_MODELS` 70 → 72、`KNOWN_DEALS` 7 → 7、`KNOWN_NON_ZDR_MODELS` 25 → 25;`COMMAND_CODE_CLI_VERSION` 与运行时代码不变(纯数据同步)。审计状态 `incomplete` 是预期形态:3 个 error 全是「目录比 1.84.0 产物新」的目录侧单源行(MiniMax M3.1 Flash 两行 + 既有的 `reflection/beam:free`),不是抓取失败。
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **MiniMax M3.1 Flash:付费 `minimax/minimax-m3.1-flash` 与限时免费 `minimax/minimax-m3.1-flash:free`。** 100 万上下文、文本 + 图像(Vision)、五档推理强度(`low`/`medium`/`high`/`xhigh`/`max`)、ZDR 覆盖、Go 起(全部套餐可见)。付费行 $0.15 输入/$0.60 输出/$0.015 缓存读(每百万 token,Go $6/GOAT $20/Pro $30 月额度);免费行 100% off,促销期为 `2026-10-19T11:00Z` → `2026-10-21T10:45Z`(北京时间 10-19 19:00 → 10-21 18:45),官方说明「限时、无每日请求上限、账户需有 $1 余额」。**免费行是 `KNOWN_DEALS` 里第一个带 `expiresAt` 的免费促销**:到期后 FREE 徽标由 `dealLabel()` 自动消失,`:free` 行仍按 id 后缀 0 价,不会把过期折扣当成现价。
|
|
16
|
+
|
|
17
|
+
- **定价页渲染表的「同一显示名多行」解析。** 上游自该模型上线起把付费行与免费行用同一个显示名 `MiniMax M3.1 Flash` 发布,`scripts/sync-model-prices.mjs` 原先「一个显示名一行」的唯一键假设因此让 `--check` 直接失败(`价格表模型名称重复,无法确定对应行:minimax m3.1 flash`)。现改为:渲染行按显示名分组,再按「免费 / 数值」形态唯一配对——同名同形态仍然拒绝生成,配到数值行后照旧逐项交叉校验三档费率与划线价。价格表随之新增一行 `minimax-m3.1-flash`(92 → 93 行)。同时给 `scripts/sync-output-limits.mjs` 的供应商映射补上小写 `minimax` 命名空间:新模型的目录 id 用的是小写前缀,缺这一项会退回聚合共识,把付费 id 的输出上限丢给运行时学习;补齐后两个 id 都落到供应商行(512000),表 78 → 80 行。
|
|
18
|
+
|
|
19
|
+
### Removed
|
|
20
|
+
|
|
21
|
+
- **Stealth Cat Jam 预览(`stealth/cat-jam:free`)从模型表下线。** 2026-10-20 检查时两个目录视图、定价页、模型文档页与 Go 套餐页都不再服务该行;`KNOWN_PLANS`/`KNOWN_EFFORTS`/`KNOWN_IMAGE_MODELS`/`KNOWN_DEALS` 移除,`tests/adapter.test.ts` 的免费模型排序夹具改用 Glyph Cluster。**保留在 `KNOWN_NON_ZDR_MODELS`**:1.84.0 产物的 ZDR 排除集仍点名它,而该表是「artifact 排除集 ∪ 目录 `zdr:false`」的并集,删条目会让老会话的 ZDR 判定偏乐观(判据见[《决策记录》第七章第 13 条](docs/决策记录.md#七上游快照同步边界))。集合仍为 25 条。
|
|
22
|
+
|
|
7
23
|
## [0.14.3] - 2026-10-19
|
|
8
24
|
|
|
9
25
|
### Changed
|
package/lib/client.js
CHANGED
|
@@ -3704,7 +3704,7 @@ window.__ModuleLoader__.load({
|
|
|
3704
3704
|
}
|
|
3705
3705
|
//#endregion
|
|
3706
3706
|
//#region package.json
|
|
3707
|
-
var version = "0.14.
|
|
3707
|
+
var version = "0.14.4";
|
|
3708
3708
|
var repository = {
|
|
3709
3709
|
"type": "git",
|
|
3710
3710
|
"url": "git+https://github.com/Mars-Sea/dsh-commandcode-provider.git"
|
package/lib/index.d.ts
CHANGED
|
@@ -1047,8 +1047,10 @@ declare const KNOWN_IMAGE_MODELS: ReadonlySet<string>;
|
|
|
1047
1047
|
* `minimax/minimax-m3-free` is the one entry the public catalog's default view
|
|
1048
1048
|
* (`/provider/v1/models`) does not serve through the picker (it is CLI/pricing-visible
|
|
1049
1049
|
* and hidden from the picker); it stays listed because the CLI carries it and a Go-plan
|
|
1050
|
-
* request can still name it.
|
|
1051
|
-
* by the `?view=client` catalog, which
|
|
1050
|
+
* request can still name it. At the 1.84.0 sync both this row and
|
|
1051
|
+
* `stealth/cat-jam:free` were also served by the `?view=client` catalog, which
|
|
1052
|
+
* is where the 1.82.4 verdict came from; the catalog stopped serving cat-jam on
|
|
1053
|
+
* 2026-10-20, so the artifact's exclusion set is now its only evidence.
|
|
1052
1054
|
*
|
|
1053
1055
|
* command-code@1.82.4 moved the authority for this verdict: `knownModelSupportsZdr`
|
|
1054
1056
|
* no longer negates a bundled Set, it returns `resolveKnownCatalogModel({model,
|
|
@@ -1086,6 +1088,12 @@ declare const KNOWN_IMAGE_MODELS: ReadonlySet<string>;
|
|
|
1086
1088
|
* UNION of the artifact's exclusion set and the catalog's `zdr:false` list —
|
|
1087
1089
|
* neither source alone is complete, which is why this set is not simply "what
|
|
1088
1090
|
* the CLI says".
|
|
1091
|
+
*
|
|
1092
|
+
* The 2026-10-20 catalog-only sync changes no membership: `stealth/cat-jam:free`
|
|
1093
|
+
* left both catalog views (its `zdr:false` verdict is no longer served), but the
|
|
1094
|
+
* 1.84.0 artifact's exclusion set still names it and this set is the union, so
|
|
1095
|
+
* membership stays at 25. The MiniMax M3.1 Flash launch pair is ZDR-covered
|
|
1096
|
+
* (`zdr:true` on both ids) and joins no set.
|
|
1089
1097
|
*/
|
|
1090
1098
|
declare const KNOWN_NON_ZDR_MODELS: ReadonlySet<string>;
|
|
1091
1099
|
/**
|
package/lib/index.js
CHANGED
|
@@ -123,9 +123,13 @@ const PLAN_ORDER = Object.fromEntries(PLAN_TIER_ORDER.map((tier, index) => [tier
|
|
|
123
123
|
* subscription-plan labels, deals, and hourly (peak/off-peak) pricing.
|
|
124
124
|
*
|
|
125
125
|
* Everything here is synced from official sources — the command-code CLI
|
|
126
|
-
* bundle's model table (`dist/cli.mjs`, re-verified at command-code@1.84.0)
|
|
127
|
-
*
|
|
128
|
-
*
|
|
126
|
+
* bundle's model table (`dist/cli.mjs`, re-verified at command-code@1.84.0), the
|
|
127
|
+
* live model catalog (`GET /provider/v1/models?view=client`, the authority for
|
|
128
|
+
* capability fields since 1.82.4), and the official plan/pricing/model docs; see
|
|
129
|
+
* the dsh-commandcode-upstream skill for the extraction procedures. The
|
|
130
|
+
* 2026-10-20 sync is catalog-only: the CLI artifact stayed at 1.84.0 while the
|
|
131
|
+
* catalog added the MiniMax M3.1 Flash launch pair and dropped the Stealth Cat
|
|
132
|
+
* Jam preview. Keeping the snapshot in its own module
|
|
129
133
|
* confines those frequent sync diffs here: src/adapter.ts holds only the stable
|
|
130
134
|
* wire/runtime logic. The read helpers live here too, for the same reason.
|
|
131
135
|
*
|
|
@@ -466,6 +470,20 @@ const KNOWN_EFFORTS = {
|
|
|
466
470
|
"medium",
|
|
467
471
|
"high"
|
|
468
472
|
],
|
|
473
|
+
"minimax/minimax-m3.1-flash": [
|
|
474
|
+
"low",
|
|
475
|
+
"medium",
|
|
476
|
+
"high",
|
|
477
|
+
"xhigh",
|
|
478
|
+
"max"
|
|
479
|
+
],
|
|
480
|
+
"minimax/minimax-m3.1-flash:free": [
|
|
481
|
+
"low",
|
|
482
|
+
"medium",
|
|
483
|
+
"high",
|
|
484
|
+
"xhigh",
|
|
485
|
+
"max"
|
|
486
|
+
],
|
|
469
487
|
"gpt-6.1-sol": [
|
|
470
488
|
"low",
|
|
471
489
|
"medium",
|
|
@@ -495,13 +513,6 @@ const KNOWN_EFFORTS = {
|
|
|
495
513
|
"medium",
|
|
496
514
|
"high",
|
|
497
515
|
"xhigh"
|
|
498
|
-
],
|
|
499
|
-
"stealth/cat-jam:free": [
|
|
500
|
-
"low",
|
|
501
|
-
"medium",
|
|
502
|
-
"high",
|
|
503
|
-
"xhigh",
|
|
504
|
-
"max"
|
|
505
516
|
]
|
|
506
517
|
};
|
|
507
518
|
/**
|
|
@@ -571,6 +582,8 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
571
582
|
"meta/muse-spark-open",
|
|
572
583
|
"nvidia/nemotron-3.5-super-vl",
|
|
573
584
|
"mistral/mistral-large-4",
|
|
585
|
+
"minimax/minimax-m3.1-flash",
|
|
586
|
+
"minimax/minimax-m3.1-flash:free",
|
|
574
587
|
"moonshotai/Kimi-K2.5",
|
|
575
588
|
"moonshotai/Kimi-K2.6",
|
|
576
589
|
"moonshotai/Kimi-K2.7-Code",
|
|
@@ -617,8 +630,10 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
617
630
|
* `minimax/minimax-m3-free` is the one entry the public catalog's default view
|
|
618
631
|
* (`/provider/v1/models`) does not serve through the picker (it is CLI/pricing-visible
|
|
619
632
|
* and hidden from the picker); it stays listed because the CLI carries it and a Go-plan
|
|
620
|
-
* request can still name it.
|
|
621
|
-
* by the `?view=client` catalog, which
|
|
633
|
+
* request can still name it. At the 1.84.0 sync both this row and
|
|
634
|
+
* `stealth/cat-jam:free` were also served by the `?view=client` catalog, which
|
|
635
|
+
* is where the 1.82.4 verdict came from; the catalog stopped serving cat-jam on
|
|
636
|
+
* 2026-10-20, so the artifact's exclusion set is now its only evidence.
|
|
622
637
|
*
|
|
623
638
|
* command-code@1.82.4 moved the authority for this verdict: `knownModelSupportsZdr`
|
|
624
639
|
* no longer negates a bundled Set, it returns `resolveKnownCatalogModel({model,
|
|
@@ -656,6 +671,12 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
656
671
|
* UNION of the artifact's exclusion set and the catalog's `zdr:false` list —
|
|
657
672
|
* neither source alone is complete, which is why this set is not simply "what
|
|
658
673
|
* the CLI says".
|
|
674
|
+
*
|
|
675
|
+
* The 2026-10-20 catalog-only sync changes no membership: `stealth/cat-jam:free`
|
|
676
|
+
* left both catalog views (its `zdr:false` verdict is no longer served), but the
|
|
677
|
+
* 1.84.0 artifact's exclusion set still names it and this set is the union, so
|
|
678
|
+
* membership stays at 25. The MiniMax M3.1 Flash launch pair is ZDR-covered
|
|
679
|
+
* (`zdr:true` on both ids) and joins no set.
|
|
659
680
|
*/
|
|
660
681
|
const KNOWN_NON_ZDR_MODELS = /* @__PURE__ */ new Set([
|
|
661
682
|
"MiniMaxAI/MiniMax-M3",
|
|
@@ -852,6 +873,8 @@ const MODEL_OUTPUT_TOKEN_LIMITS = /* @__PURE__ */ new Map([
|
|
|
852
873
|
["meta/muse-spark-1.3", 131072],
|
|
853
874
|
["meta/muse-spark-1.3-contributor", 131072],
|
|
854
875
|
["meta/muse-wonder-1.0", 131072],
|
|
876
|
+
["minimax/minimax-m3.1-flash", 512e3],
|
|
877
|
+
["minimax/minimax-m3.1-flash:free", 512e3],
|
|
855
878
|
["MiniMaxAI/MiniMax-M2.5", 131072],
|
|
856
879
|
["MiniMaxAI/MiniMax-M2.7", 131072],
|
|
857
880
|
["MiniMaxAI/MiniMax-M3", 512e3],
|
|
@@ -950,6 +973,8 @@ const KNOWN_PLANS = {
|
|
|
950
973
|
"meta/muse-spark-1.3-contributor": "go",
|
|
951
974
|
"meta/muse-spark-open": "go",
|
|
952
975
|
"mistral/mistral-large-4": "go",
|
|
976
|
+
"minimax/minimax-m3.1-flash": "go",
|
|
977
|
+
"minimax/minimax-m3.1-flash:free": "go",
|
|
953
978
|
"moonshotai/Kimi-K2.5": "go",
|
|
954
979
|
"moonshotai/Kimi-K2.6": "go",
|
|
955
980
|
"moonshotai/Kimi-K2.7-Code": "go",
|
|
@@ -962,7 +987,6 @@ const KNOWN_PLANS = {
|
|
|
962
987
|
"stepfun/Step-3.5-Flash": "go",
|
|
963
988
|
"stepfun/Step-3.7-Flash": "go",
|
|
964
989
|
"stepfun/Step-5-Preview": "go",
|
|
965
|
-
"stealth/cat-jam:free": "go",
|
|
966
990
|
"stealth/glyph-cluster:free": "go",
|
|
967
991
|
"tencent/hy3-paid": "go",
|
|
968
992
|
"tencent/hy4-preview": "go",
|
|
@@ -1149,6 +1173,11 @@ function modelVisibleForAnyAccount(modelId, accounts) {
|
|
|
1149
1173
|
}
|
|
1150
1174
|
const KNOWN_DEALS = {
|
|
1151
1175
|
"MiniMaxAI/MiniMax-M3": { label: "50% off" },
|
|
1176
|
+
"minimax/minimax-m3.1-flash:free": {
|
|
1177
|
+
label: "FREE",
|
|
1178
|
+
free: true,
|
|
1179
|
+
expiresAt: "2026-10-21T10:45:00Z"
|
|
1180
|
+
},
|
|
1152
1181
|
"xiaomi/mimo-v2.5-pro": { label: "99% off" },
|
|
1153
1182
|
"xiaomi/mimo-v2.5": { label: "98% off" },
|
|
1154
1183
|
"poolside/laguna-s-2.1-free": {
|
|
@@ -1159,10 +1188,6 @@ const KNOWN_DEALS = {
|
|
|
1159
1188
|
label: "FREE",
|
|
1160
1189
|
free: true
|
|
1161
1190
|
},
|
|
1162
|
-
"stealth/cat-jam:free": {
|
|
1163
|
-
label: "FREE",
|
|
1164
|
-
free: true
|
|
1165
|
-
},
|
|
1166
1191
|
"stealth/glyph-cluster:free": {
|
|
1167
1192
|
label: "FREE",
|
|
1168
1193
|
free: true
|
|
@@ -2372,6 +2397,19 @@ const MODEL_PRICE_ROWS = [
|
|
|
2372
2397
|
pro: 57
|
|
2373
2398
|
}
|
|
2374
2399
|
},
|
|
2400
|
+
{
|
|
2401
|
+
id: "minimax-m3.1-flash",
|
|
2402
|
+
rates: [
|
|
2403
|
+
.15,
|
|
2404
|
+
.6,
|
|
2405
|
+
.015
|
|
2406
|
+
],
|
|
2407
|
+
allowance: {
|
|
2408
|
+
go: 6,
|
|
2409
|
+
goat: 20,
|
|
2410
|
+
pro: 30
|
|
2411
|
+
}
|
|
2412
|
+
},
|
|
2375
2413
|
{
|
|
2376
2414
|
id: "mistral-large-4",
|
|
2377
2415
|
rates: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mars-sea/dsh-commandcode-provider",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.4",
|
|
4
4
|
"description": "Unofficial DeepSeek Harness LLM provider plugin for Command Code, ported from pi-commandcode-provider (MIT). Registers the 'commandcode' provider route with a Models-page card and live model catalog.",
|
|
5
5
|
"icon": "./icon.svg",
|
|
6
6
|
"type": "module",
|