@mars-sea/dsh-commandcode-provider 0.15.0 → 0.15.1

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 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.15.1] - 2026-10-22
8
+
9
+ ### Changed
10
+
11
+ - **同步 Command Code CLI `1.86.3` → `1.87.1`(纯请求头同步)。** `1.87.0`(10-21T18:02Z)与 `1.87.1`(10-21T23:26Z)先后发布,官方变更日志页面的 CLI 条目仍停在 `1.84.0`(`1.85.0`–`1.87.1` 全部没有条目),因此结论来自产物级静态比对:端点集合(64 个)、自定义请求头(5 个,均 `x-` 前缀)、`/alpha/generate` 调用点、模型注册表、efforts(推理档位)、订阅表与 ZDR(零数据保留)例外集逐项相同(首轮审计 `cliDiff` 四类全空);新增内容全属 CLI 自身——`/btw` 回合中旁问、磁盘写满保护、权限模式由 `standard` 改名 `default` 并新增 `dont-ask`,插件不经过这些路径。`COMMAND_CODE_CLI_VERSION` 只随请求头更新,运行时行为不变。**证据边界**:公开 GET 采集 14 个源全部 HTTP 200;审计 `incomplete` 的 4 条 error 仍是 MiniMax M3.1 Flash 与 Ornith 四个 id 缺定价映射别名(目录侧单源,与上一轮同因);未做真实账号登录、付费生成、浏览器渲染与服务端协议验证。
12
+
13
+ - **官方定价页两行月度额度下调,同步到内置价格表。** `deepseek-v4.1-flash` 的 GOAT 额度 `$100` → `$80`、Pro `$110` → `$90`(Go `$10` 不变);`mistral-large-4` 的 Go `$10` → `$6`、GOAT `$40` → `$20`、Pro `$50` → `$30`。逐 token 费率、促销与峰值时段均未变(价格表仍 94 行),由 `node scripts/sync-model-prices.mjs` 生成。
14
+
15
+ - **输出上限表新增 `thinkingmachines/inkling-small`(65,536)。** 该模型此前已在 `KNOWN_PLANS`/`KNOWN_THINKING_MODELS` 中,只是 models.dev 聚合目录这次才补上供应商行,由 `node scripts/sync-output-limits.mjs` 写入(81 → 82 行)。
16
+
17
+ - **服务端目录版本变化不涉及能力快照。** `catalogVersion` 由 `2a2c334e…` 变为 `501a4bf9…`,默认视图仍 96 个 id、`?view=client` 仍 104 个,`reasoningEfforts`/`zdr`/`inputModalities`/`minimumPlan`/`pricing` 与上一轮逐项一致,故 `src/capabilities.ts` 的能力表未改。两个免费促销按快照里已有的 `expiresAt` 自然失效(`ornith/ornith-1.5-122b:free` 2026-10-22T06:00Z、`minimax/minimax-m3.1-flash:free` 2026-10-22T10:45Z),无需改代码。
18
+
19
+ ### Verification
20
+
21
+ - `npm run typecheck` 退出码 0;`npm test` **1111/1111** 通过;`npm run build` 两段 `Build complete`,`lib/index.js` 与 `lib/index.d.ts` 已重建(含 `1.87.1`、两行 allowance、inkling-small 上限)。`node scripts/sync-model-prices.mjs --check` 与 `node scripts/sync-output-limits.mjs --check` 均回到 `up to date`(退出码 0)。
22
+
7
23
  ## [0.15.0] - 2026-10-21
8
24
 
9
25
  ### Added
package/lib/client.js CHANGED
@@ -3837,7 +3837,7 @@ window.__ModuleLoader__.load({
3837
3837
  }
3838
3838
  //#endregion
3839
3839
  //#region package.json
3840
- var version = "0.15.0";
3840
+ var version = "0.15.1";
3841
3841
  var repository = {
3842
3842
  "type": "git",
3843
3843
  "url": "git+https://github.com/Mars-Sea/dsh-commandcode-provider.git"
package/lib/index.d.ts CHANGED
@@ -61,7 +61,7 @@ type CommandCodeProtocol = 'cli' | 'openai' | 'messages';
61
61
  declare const DEFAULT_MAX_OUTPUT_TOKENS = 131072;
62
62
  //#endregion
63
63
  //#region src/adapter.d.ts
64
- declare const COMMAND_CODE_CLI_VERSION = "1.86.3";
64
+ declare const COMMAND_CODE_CLI_VERSION = "1.87.1";
65
65
  declare const DEFAULT_API_BASE = "https://api.commandcode.ai";
66
66
  /**
67
67
  * The output budget this bundle asks for, and the ceiling it will never exceed.
@@ -1165,7 +1165,7 @@ declare const KNOWN_THINKING_MODELS: ReadonlySet<string>;
1165
1165
  * `/docs/plans/max` and `/docs/resources/pricing-limits`). Each plan's model
1166
1166
  * list is a superset of the one below it: Go ⊂ GOAT ⊂ Pro ⊂ Provider/Max.
1167
1167
  * Models absent from every plan list (Claude Opus/Fable, Fugu Ultra) are
1168
- * Provider-tier. Re-verified at command-code@1.86.3 (2026-10-21) against the
1168
+ * Provider-tier. Re-verified at command-code@1.87.1 (2026-10-22) against the
1169
1169
  * live `?view=client` catalog: 104 ids, still a strict superset chain. Mistral
1170
1170
  * Large 4
1171
1171
  * (1.75.0) was the only addition at the 1.77.0 check; the 1.78.0/1.79.0 pair
@@ -1176,7 +1176,8 @@ declare const KNOWN_THINKING_MODELS: ReadonlySet<string>;
1176
1176
  * Super VL and the free Cat Jam preview at Go, and drops Ling 3.0 Flash Sante,
1177
1177
  * which left the live catalog. Every other
1178
1178
  * tier is unchanged. The 1.86.1 sync (2026-10-21) adds only the Ornith 1.5 122B
1179
- * launch pair at Go.
1179
+ * launch pair at Go; the 1.87.1 check (2026-10-22) adds no model and moves no
1180
+ * tier.
1180
1181
  * The only removals since 1.49.0 are the two retired stealth previews (Pixel
1181
1182
  * Canary at 1.73.1, Space Bunny Alpha at 1.74.3), Ling 3.0 Flash Sante
1182
1183
  * (2026-10-16) and the retired Cat Jam preview (2026-10-20). Per-entry tags
package/lib/index.js CHANGED
@@ -123,15 +123,18 @@ 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.86.3), the
126
+ * bundle's model table (`dist/cli.mjs`, re-verified at command-code@1.87.1), the
127
127
  * live model catalog (`GET /provider/v1/models?view=client`, the authority for
128
128
  * capability fields since 1.82.4), and the official plan/pricing/model docs; see
129
129
  * the dsh-commandcode-upstream skill for the extraction procedures. The
130
- * 2026-10-21 sync moves the CLI from 1.84.0 to 1.86.1 and picks up the Ornith
130
+ * 2026-10-21 sync moved the CLI from 1.84.0 to 1.86.1 and picked up the Ornith
131
131
  * 1.5 122B launch pair in the catalog, the ZDR exclusion-set prune and the
132
- * MiniMax M3.1 Flash promo extension. The follow-up check later that day moves
133
- * the pinned constant to 1.86.3 (request header only): 1.86.2/1.86.3 leave
134
- * every snapshot here untouched, so no data in this file moved for them. Keeping the snapshot in its own module
132
+ * MiniMax M3.1 Flash promo extension; the follow-up check later that day moved
133
+ * the pinned constant to 1.86.3 (request header only). The 2026-10-22 check
134
+ * moves it to 1.87.1: the CLI bundle's registry, effort map, subscription plans
135
+ * and ZDR exception set are identical, and the live catalog's capability fields
136
+ * did not move either, so the only data added here is one output-limit row
137
+ * (`thinkingmachines/inkling-small`). Keeping the snapshot in its own module
135
138
  * confines those frequent sync diffs here: src/adapter.ts holds only the stable
136
139
  * wire/runtime logic. The read helpers live here too, for the same reason.
137
140
  *
@@ -912,6 +915,7 @@ const MODEL_OUTPUT_TOKEN_LIMITS = /* @__PURE__ */ new Map([
912
915
  ["stepfun/Step-5-Preview", 65536],
913
916
  ["tencent/hy3-paid", 128e3],
914
917
  ["thinkingmachines/inkling", 65536],
918
+ ["thinkingmachines/inkling-small", 65536],
915
919
  ["xai/grok-4.5", 5e5],
916
920
  ["xai/grok-4.6", 5e5],
917
921
  ["xai/grok-4.7", 5e5],
@@ -933,7 +937,7 @@ const MODEL_OUTPUT_TOKEN_LIMITS = /* @__PURE__ */ new Map([
933
937
  * `/docs/plans/max` and `/docs/resources/pricing-limits`). Each plan's model
934
938
  * list is a superset of the one below it: Go ⊂ GOAT ⊂ Pro ⊂ Provider/Max.
935
939
  * Models absent from every plan list (Claude Opus/Fable, Fugu Ultra) are
936
- * Provider-tier. Re-verified at command-code@1.86.3 (2026-10-21) against the
940
+ * Provider-tier. Re-verified at command-code@1.87.1 (2026-10-22) against the
937
941
  * live `?view=client` catalog: 104 ids, still a strict superset chain. Mistral
938
942
  * Large 4
939
943
  * (1.75.0) was the only addition at the 1.77.0 check; the 1.78.0/1.79.0 pair
@@ -944,7 +948,8 @@ const MODEL_OUTPUT_TOKEN_LIMITS = /* @__PURE__ */ new Map([
944
948
  * Super VL and the free Cat Jam preview at Go, and drops Ling 3.0 Flash Sante,
945
949
  * which left the live catalog. Every other
946
950
  * tier is unchanged. The 1.86.1 sync (2026-10-21) adds only the Ornith 1.5 122B
947
- * launch pair at Go.
951
+ * launch pair at Go; the 1.87.1 check (2026-10-22) adds no model and moves no
952
+ * tier.
948
953
  * The only removals since 1.49.0 are the two retired stealth previews (Pixel
949
954
  * Canary at 1.73.1, Space Bunny Alpha at 1.74.3), Ling 3.0 Flash Sante
950
955
  * (2026-10-16) and the retired Cat Jam preview (2026-10-20). Per-entry tags
@@ -1649,8 +1654,8 @@ const MODEL_PRICE_ROWS = [
1649
1654
  ],
1650
1655
  allowance: {
1651
1656
  go: 10,
1652
- goat: 100,
1653
- pro: 110
1657
+ goat: 80,
1658
+ pro: 90
1654
1659
  }
1655
1660
  },
1656
1661
  {
@@ -2439,9 +2444,9 @@ const MODEL_PRICE_ROWS = [
2439
2444
  .14
2440
2445
  ],
2441
2446
  allowance: {
2442
- go: 10,
2443
- goat: 40,
2444
- pro: 50
2447
+ go: 6,
2448
+ goat: 20,
2449
+ pro: 30
2445
2450
  }
2446
2451
  },
2447
2452
  {
@@ -6483,7 +6488,7 @@ var GatewayFacts = class {
6483
6488
  * per-request options thunk and an API-key resolver from the plugin entry
6484
6489
  * (src/index.ts), so a settings change reaches the very next request.
6485
6490
  */
6486
- const COMMAND_CODE_CLI_VERSION = "1.86.3";
6491
+ const COMMAND_CODE_CLI_VERSION = "1.87.1";
6487
6492
  const DEFAULT_API_BASE = "https://api.commandcode.ai";
6488
6493
  /**
6489
6494
  * The output budget this bundle asks for, and the ceiling it will never exceed.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mars-sea/dsh-commandcode-provider",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
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",