@mars-sea/dsh-commandcode-provider 0.15.3 → 0.15.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 +14 -0
- package/lib/client.js +1 -1
- package/lib/index.d.ts +4 -4
- package/lib/index.js +34 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@ 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.4] - 2026-10-24
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **同步 Command Code CLI `1.87.3` → `1.88.0`(纯请求头同步)。** `1.88.0` 于 `2026-10-24T02:55Z` 发布,官方变更日志还没有条目(最新 CLI 条目仍是 `1.87.3`),因此结论来自产物级静态比对:端点集合、自定义请求头、`/alpha/generate` 调用点、`promptCache` / `reasoning_effort` / `max_tokens` 字面量、模型注册表字段、推理档位、订阅表与 ZDR(零数据保留)例外集逐项相同(审计 `cliDiff` 的 efforts / subscriptions / zdrExceptions 三类全空);注册表唯一变化是 `xiaomi/mimo-v2.5` 与 `xiaomi/mimo-v2.5-pro` 增加 `hidden: true`,与 10-23 目录隐藏这两行一致。`COMMAND_CODE_CLI_VERSION` 只随请求头更新,运行时行为不变。
|
|
12
|
+
|
|
13
|
+
- **新增 `moonshotai/Kimi-K3.1-Pro`(服务端目录先行,CLI 产物尚未收录)。** `catalogVersion` 由 `02bfc7ac…` 变为 `f41a48ed…`,默认目录 92 → 93、`?view=client` 104 → 105,唯一新增行就是 Kimi K3.1 Pro:1,048,576 上下文、文本 + 图像、推理档位 `low` / `high` / `max`、最低计划 Go、`$2/$10/$0.2`、月度额度 Go `$6` / GOAT `$20` / Pro `$30`,无促销、无峰值时段、无上下文分档,ZDR 默认覆盖。官方 models 页、pricing 页与 go/goat/pro 计划页均已上架;`1.88.0` 的 CLI 注册表还没写这一行,审计把「absent from CLI registry」报成 error——能力字段以 `?view=client` 目录为准。快照随之 +1:`KNOWN_PLANS` 92 → 93、`KNOWN_EFFORTS` 65 → 66、`KNOWN_IMAGE_MODELS` 71 → 72、内置价格行 92 → 93;ZDR 例外集(18)、自动思考模型表(16)、输出上限表(79)、订阅表(9)、促销(4)与峰值定价(4)不变。
|
|
14
|
+
|
|
15
|
+
### Verification
|
|
16
|
+
|
|
17
|
+
- `npm run typecheck` 退出码 0;`npm test` **1107/1107** 通过、0 失败;`npm run build` 两段 `Build complete`,`lib/index.js` 与 `lib/index.d.ts` 已重建(含 `1.88.0` 与 `kimi-k3.1-pro`)。
|
|
18
|
+
- 上游公开 GET 采集 14 个源全部 HTTP 200;审计状态 `incomplete` 的 3 条 error 为 Kimi K3.1 Pro 不在 CLI 产物注册表,以及 MiniMax M3.1 Flash 与 Ornith 1.5 122B 的已知定价别名缺失,均非抓取失败。
|
|
19
|
+
- **未做**:真实账号登录、付费生成、服务端协议验证与浏览器渲染。
|
|
20
|
+
|
|
7
21
|
## [0.15.3] - 2026-10-24
|
|
8
22
|
|
|
9
23
|
### Changed
|
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.
|
|
3840
|
+
var version = "0.15.4";
|
|
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.
|
|
64
|
+
declare const COMMAND_CODE_CLI_VERSION = "1.88.0";
|
|
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,8 +1165,8 @@ 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.
|
|
1169
|
-
* live `?view=client` catalog:
|
|
1168
|
+
* Provider-tier. Re-verified at command-code@1.88.0 (2026-10-24) against the
|
|
1169
|
+
* live `?view=client` catalog: 105 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
|
|
1172
1172
|
* added Claude Haiku 5.5 at Pro and the free Glyph Cluster preview at Go.
|
|
@@ -1177,7 +1177,7 @@ declare const KNOWN_THINKING_MODELS: ReadonlySet<string>;
|
|
|
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
1179
|
* launch pair at Go; the 1.87.1 check (2026-10-22) adds no model and moves no
|
|
1180
|
-
* tier.
|
|
1180
|
+
* tier, and the 2026-10-24 check adds only Kimi K3.1 Pro at Go.
|
|
1181
1181
|
* The only removals since 1.49.0 are the two retired stealth previews (Pixel
|
|
1182
1182
|
* Canary at 1.73.1, Space Bunny Alpha at 1.74.3), Ling 3.0 Flash Sante
|
|
1183
1183
|
* (2026-10-16) and the retired Cat Jam preview (2026-10-20). Per-entry tags
|
package/lib/index.js
CHANGED
|
@@ -123,7 +123,7 @@ 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.
|
|
126
|
+
* bundle's model table (`dist/cli.mjs`, re-verified at command-code@1.88.0), 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
|
|
@@ -131,10 +131,15 @@ const PLAN_ORDER = Object.fromEntries(PLAN_TIER_ORDER.map((tier, index) => [tier
|
|
|
131
131
|
* 1.5 122B launch pair in the catalog, the ZDR exclusion-set prune and the
|
|
132
132
|
* MiniMax M3.1 Flash promo extension; the follow-up check later that day moved
|
|
133
133
|
* the pinned constant to 1.86.3 (request header only). The 2026-10-22 check
|
|
134
|
-
*
|
|
135
|
-
* and
|
|
136
|
-
*
|
|
137
|
-
*
|
|
134
|
+
* moved it to 1.87.1 (one output-limit row: `thinkingmachines/inkling-small`),
|
|
135
|
+
* and the 2026-10-23 check to 1.87.3 with every snapshot unchanged apart from
|
|
136
|
+
* the four retired catalog rows. The 2026-10-24 check moves it to 1.88.0 — a
|
|
137
|
+
* silent artifact-only release — and picks up the one row that did move in the
|
|
138
|
+
* catalog: Kimi K3.1 Pro (`moonshotai/Kimi-K3.1-Pro`, 1M context, text + image,
|
|
139
|
+
* efforts `low/high/max`, Go tier, `$2/$10/$0.2`). The 1.88.0 artifact does not
|
|
140
|
+
* name that row yet; the default catalog, `?view=client`, the models docs page
|
|
141
|
+
* and the pricing page all do, so the capability fields come from the catalog
|
|
142
|
+
* as usual. Keeping the snapshot in its own module
|
|
138
143
|
* confines those frequent sync diffs here: src/adapter.ts holds only the stable
|
|
139
144
|
* wire/runtime logic. The read helpers live here too, for the same reason.
|
|
140
145
|
*
|
|
@@ -339,6 +344,11 @@ const KNOWN_EFFORTS = {
|
|
|
339
344
|
"high",
|
|
340
345
|
"max"
|
|
341
346
|
],
|
|
347
|
+
"moonshotai/Kimi-K3.1-Pro": [
|
|
348
|
+
"low",
|
|
349
|
+
"high",
|
|
350
|
+
"max"
|
|
351
|
+
],
|
|
342
352
|
"google/gemini-3.8-flash": [
|
|
343
353
|
"low",
|
|
344
354
|
"medium",
|
|
@@ -586,6 +596,7 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
586
596
|
"moonshotai/Kimi-K2.7-Code",
|
|
587
597
|
"moonshotai/Kimi-K2.7-Code-Highspeed",
|
|
588
598
|
"moonshotai/Kimi-K3",
|
|
599
|
+
"moonshotai/Kimi-K3.1-Pro",
|
|
589
600
|
"ornith/ornith-1.5-122b",
|
|
590
601
|
"sakana/fugu-ultra",
|
|
591
602
|
"stepfun/Step-3.7-Flash",
|
|
@@ -923,8 +934,8 @@ const MODEL_OUTPUT_TOKEN_LIMITS = /* @__PURE__ */ new Map([
|
|
|
923
934
|
* `/docs/plans/max` and `/docs/resources/pricing-limits`). Each plan's model
|
|
924
935
|
* list is a superset of the one below it: Go ⊂ GOAT ⊂ Pro ⊂ Provider/Max.
|
|
925
936
|
* Models absent from every plan list (Claude Opus/Fable, Fugu Ultra) are
|
|
926
|
-
* Provider-tier. Re-verified at command-code@1.
|
|
927
|
-
* live `?view=client` catalog:
|
|
937
|
+
* Provider-tier. Re-verified at command-code@1.88.0 (2026-10-24) against the
|
|
938
|
+
* live `?view=client` catalog: 105 ids, still a strict superset chain. Mistral
|
|
928
939
|
* Large 4
|
|
929
940
|
* (1.75.0) was the only addition at the 1.77.0 check; the 1.78.0/1.79.0 pair
|
|
930
941
|
* added Claude Haiku 5.5 at Pro and the free Glyph Cluster preview at Go.
|
|
@@ -935,7 +946,7 @@ const MODEL_OUTPUT_TOKEN_LIMITS = /* @__PURE__ */ new Map([
|
|
|
935
946
|
* which left the live catalog. Every other
|
|
936
947
|
* tier is unchanged. The 1.86.1 sync (2026-10-21) adds only the Ornith 1.5 122B
|
|
937
948
|
* launch pair at Go; the 1.87.1 check (2026-10-22) adds no model and moves no
|
|
938
|
-
* tier.
|
|
949
|
+
* tier, and the 2026-10-24 check adds only Kimi K3.1 Pro at Go.
|
|
939
950
|
* The only removals since 1.49.0 are the two retired stealth previews (Pixel
|
|
940
951
|
* Canary at 1.73.1, Space Bunny Alpha at 1.74.3), Ling 3.0 Flash Sante
|
|
941
952
|
* (2026-10-16) and the retired Cat Jam preview (2026-10-20). Per-entry tags
|
|
@@ -984,6 +995,7 @@ const KNOWN_PLANS = {
|
|
|
984
995
|
"moonshotai/Kimi-K2.7-Code": "go",
|
|
985
996
|
"moonshotai/Kimi-K2.7-Code-Highspeed": "go",
|
|
986
997
|
"moonshotai/Kimi-K3": "go",
|
|
998
|
+
"moonshotai/Kimi-K3.1-Pro": "go",
|
|
987
999
|
"nvidia/nemotron-3-ultra-550b-a55b": "go",
|
|
988
1000
|
"nvidia/nemotron-3.5-super-vl": "go",
|
|
989
1001
|
"ornith/ornith-1.5-122b": "go",
|
|
@@ -2248,6 +2260,19 @@ const MODEL_PRICE_ROWS = [
|
|
|
2248
2260
|
pro: 30
|
|
2249
2261
|
}
|
|
2250
2262
|
},
|
|
2263
|
+
{
|
|
2264
|
+
id: "kimi-k3.1-pro",
|
|
2265
|
+
rates: [
|
|
2266
|
+
2,
|
|
2267
|
+
10,
|
|
2268
|
+
.2
|
|
2269
|
+
],
|
|
2270
|
+
allowance: {
|
|
2271
|
+
go: 6,
|
|
2272
|
+
goat: 20,
|
|
2273
|
+
pro: 30
|
|
2274
|
+
}
|
|
2275
|
+
},
|
|
2251
2276
|
{
|
|
2252
2277
|
id: "ling-3.1-flash",
|
|
2253
2278
|
rates: [
|
|
@@ -6422,7 +6447,7 @@ var GatewayFacts = class {
|
|
|
6422
6447
|
* per-request options thunk and an API-key resolver from the plugin entry
|
|
6423
6448
|
* (src/index.ts), so a settings change reaches the very next request.
|
|
6424
6449
|
*/
|
|
6425
|
-
const COMMAND_CODE_CLI_VERSION = "1.
|
|
6450
|
+
const COMMAND_CODE_CLI_VERSION = "1.88.0";
|
|
6426
6451
|
const DEFAULT_API_BASE = "https://api.commandcode.ai";
|
|
6427
6452
|
/**
|
|
6428
6453
|
* 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.
|
|
3
|
+
"version": "0.15.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",
|