@mars-sea/dsh-commandcode-provider 0.12.6 → 0.12.8
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 +24 -0
- package/README.md +9 -6
- package/README.zh-CN.md +5 -5
- package/lib/client.js +1 -1
- package/lib/index.d.ts +11 -9
- package/lib/index.js +61 -10
- package/lib/index.js.map +1 -1
- package/package.json +42 -41
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,30 @@ 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.12.8] - 2026-10-08
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **引擎配对从「只支持 `0.2.1-alpha.1`」改为同时支持 `0.2.0-rc.2` 与 `0.2.1-alpha.1`,业务代码零改动。** 15 个 `@deepseek-ai/dsh-*` peer 写成两个已验证版本的析取 `0.2.0-rc.2 || 0.2.1-alpha.1`;`@deepseek-ai/cordis` 与 `@deepseek-ai/schemastery` 同批写成 `~4.0.4 || ~4.0.5-alpha.1` 与 `~3.18.4 || ~3.18.5-alpha.1`;`dsh.compatibility.dsh`、`engines.dsh` 与 `devDependencies` 逐字同步;`dsh.compatibility.dshReleases` 增补 `0.2.0-rc.2` 记录。**写成析取而不是宽范围是刻意的**:每个分支都是裸版本号,因此 `0.2.0-rc.1`、`0.2.1-alpha.2`、`0.2.1-rc.1`、`0.2.1`、`0.3.0-alpha.1` 等相邻版本仍然全部被拒——issue #43 的教训(未验证的邻居被静默放行)依旧被挡住。
|
|
12
|
+
- `npm run test:engine` 改为**引擎矩阵**:默认对 `dshReleases` 里声明的每个引擎各跑一遍完整套件(ESM 链接、静态具名导入审计、客户端 `require()` 种子审计、22 个流终态场景、网关事实隔离、持久化图片卸载契约、Config 易变契约),只在一个引擎上全绿不再算通过。`tests/package.test.ts` 的护栏同步升级为「peer 范围必须**恰好**等于已声明兼容版本的析取,且每个分支必须是裸版本号」,`scripts/verify-isolated-install.mjs` 的 peer 断言改为按版本而不是按范围文本比对锁文件。
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- **修掉「按官方默认方式装 dsh 的用户装不上本插件」。** `@deepseek-ai/dsh` 的 npm `latest` 一直停在 `0.2.0-rc.2`(`0.2.1-alpha.1` 只挂在 `alpha` 通道),官方桌面端放出的也是 rc 版本;而宿主 `dsh-app-boot` 的 `evaluatePluginCompatibility` 会拿运行中的 dsh 版本逐条比对插件的每个 `@deepseek-ai/dsh*` peer,不匹配即抛 `ManagementFailure('incompatible-version')` 当场拒绝安装。0.12.4~0.12.7 因此对 rc.2 用户完全无法安装(issue #77/#78);现在两条通道都能装。
|
|
17
|
+
|
|
18
|
+
## [0.12.7] - 2026-10-08
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- 同步官方 command-code@1.78.0 新增的 `claude-haiku-5-5`(Claude Haiku 5.5):最低套餐 Pro,支持视觉与推理,五档思考强度 `low`/`medium`/`high`/`xhigh`/`max`,1 000 000 上下文;价格按提示长度分档,`≤100K` tokens 为 $0.10 入 / $0.50 出 / $0.01 缓存读 / $0.125 缓存写每 1M,`>100K` 为 $0.50 / $2.50 / $0.05 / $0.625。该模型在公开目录、定价页与 CLI 注册表三处同步出现,各记 +1。
|
|
23
|
+
- 同步官方 command-code@1.79.0 新增的 `stealth/glyph-cluster:free`(Glyph Cluster)隐身预览:最低套餐 Go(全部套餐可用),纯文本、支持推理,四档思考强度 `low`/`medium`/`high`/`xhigh`,256 000 上下文;隐身预览期内免费、每天 100 次请求,官方标为 100% 折扣且没有公布结束日期,因此按「永久型」促销处理、不带 `expiresAt`,并排在模型选择器最前。
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- 同步官方 command-code@1.79.1:请求头 `x-command-code-version` 升至 `1.79.1`。官方日志覆盖到 1.79.0——1.78.0 是「新增 Claude Haiku 5.5(Pro 及以上)」、CLI 中文本地化(新增 `/language` 命令)与 Windows 上 Taste learning 归类崩溃的修复,1.79.0 是「新增 Glyph Cluster 免费模型,每天 100 次请求」;1.79.1 没有日志条目,逐字节比对 1.79.0 → 1.79.1 的 `dist/cli.mjs` 后确认唯一差异是 `resolveKittyKeyboard` 在 `win32` 平台跳过 Kitty 键盘协议探测(Windows 终端兼容修复)。协议面静态复核无变化:13 个请求头集合完全一致,`toWireMessages`/`toWireTools`/`toWirePermissionMode`/`knownModelSupportsZdr`/`getSupportedEfforts`/`buildModelGroups`/`listSelectableModelIds` 的调用点计数与形态不变,接口路径里唯一的新增是 CLI 自己的 `/language` 斜杠命令。
|
|
28
|
+
- 零数据保留例外名单新增 `stealth/glyph-cluster:free`(20 → 21 项):官方定价页在该行写明「Not routed under ZDR」,CLI 的排除集合同样列出它,两处证据一致。
|
|
29
|
+
- 定价页额度与其余各行逐条复核对齐,价格表本次只有 `claude-haiku-5-5` 一行新增(含 `≤100K`/`>100K` 两个上下文分档),无其他行漂移。
|
|
30
|
+
|
|
7
31
|
## [0.12.6] - 2026-10-07
|
|
8
32
|
|
|
9
33
|
### Added
|
package/README.md
CHANGED
|
@@ -35,8 +35,11 @@ See [Screenshots](#screenshots) below for what the UI looks like.
|
|
|
35
35
|
|
|
36
36
|
## Install
|
|
37
37
|
|
|
38
|
-
This release supports **dsh 0.2.1-alpha.1 and nothing else** —
|
|
39
|
-
range is
|
|
38
|
+
This release supports **dsh 0.2.0-rc.2 and dsh 0.2.1-alpha.1, and nothing else** —
|
|
39
|
+
the plugin's peer range is exactly those two verified versions, and its
|
|
40
|
+
compatibility records name them alone. `0.2.0-rc.2` is what
|
|
41
|
+
`npm i -g @deepseek-ai/dsh@latest` and the official desktop build ship, so it is
|
|
42
|
+
the version most users are on; `0.2.1-alpha.1` is the upstream `alpha` channel:
|
|
40
43
|
|
|
41
44
|
```sh
|
|
42
45
|
dsh plugin --profile web add @mars-sea/dsh-commandcode-provider@latest
|
|
@@ -63,14 +66,14 @@ dsh plugin --profile web add @mars-sea/dsh-commandcode-provider@0.11.15
|
|
|
63
66
|
|
|
64
67
|
The same applies to every profile you install into, including the terminal UI below.
|
|
65
68
|
|
|
66
|
-
Fresh pnpm 10 marketplace generations are supported directly. Every Harness package — including `@deepseek-ai/cordis` and `@deepseek-ai/schemastery` — is declared by the plugin
|
|
69
|
+
Fresh pnpm 10 marketplace generations are supported directly. Every Harness package — including `@deepseek-ai/cordis` and `@deepseek-ai/schemastery` — is declared by the plugin over the same two-version range as its `@deepseek-ai/dsh-*` peers as a Host peer, so the active dsh profile remains their owner; do not add a separate dependency for any of them. Upstream removed the `@deepseek-ai/dsh-invariants` package in `0.2.1-alpha.1`, so the plugin no longer declares it.
|
|
67
70
|
|
|
68
71
|
## Updating
|
|
69
72
|
|
|
70
73
|
Update with the same tag you installed with:
|
|
71
74
|
|
|
72
75
|
```sh
|
|
73
|
-
dsh plugin --profile web update @mars-sea/dsh-commandcode-provider@latest # dsh 0.2.1-alpha.1
|
|
76
|
+
dsh plugin --profile web update @mars-sea/dsh-commandcode-provider@latest # dsh 0.2.0-rc.2 or 0.2.1-alpha.1
|
|
74
77
|
dsh plugin --profile web update @mars-sea/dsh-commandcode-provider@0.9.1 # older dsh (0.5.0 line, unmaintained)
|
|
75
78
|
```
|
|
76
79
|
|
|
@@ -144,7 +147,7 @@ cmd login # writes ~/.commandcode/auth.json
|
|
|
144
147
|
cwd: !!js process.cwd()
|
|
145
148
|
```
|
|
146
149
|
|
|
147
|
-
**Engine version.** The plugin is maintained against exactly
|
|
150
|
+
**Engine version.** The plugin is maintained against exactly two engines: **dsh 0.2.0-rc.2** and **dsh 0.2.1-alpha.1**. Its `@deepseek-ai/dsh-*` peers use the disjunction `0.2.0-rc.2 || 0.2.1-alpha.1`, `@deepseek-ai/cordis` is pinned to `~4.0.4 || ~4.0.5-alpha.1` and `@deepseek-ai/schemastery` to `~3.18.4 || ~3.18.5-alpha.1` (each branch shipped with its engine), and `dsh.compatibility.dshReleases` records exactly those two releases. That disjunction is deliberate and load-bearing: unlike a caret or a `>=` range it admits **no** adjacent prerelease, release candidate, or stable patch version, every branch is a bare version, and `npm run test:engine` runs the whole suite against **both** engines before a release. DSH itself refuses to load a plugin whose `@deepseek-ai/dsh*` peers do not admit the running engine, so a range that silently admitted an unverified neighbour would be worse than no range at all. On any other engine the settings page, the message envelope, or the request-image budget may not line up — install the last release that supported your engine (see [Install](#install)) instead of forcing this one.
|
|
148
151
|
|
|
149
152
|
## Usage dashboard
|
|
150
153
|
|
|
@@ -231,7 +234,7 @@ Command Code can serve a request only through upstreams that retain no prompts o
|
|
|
231
234
|
|
|
232
235
|
**Off by default.** Turn it on with the *"Zero data retention (ZDR)"* toggle (`zdr`) in the Privacy & security card, or in your profile config. How this plugin implements it:
|
|
233
236
|
|
|
234
|
-
- The header is sent on **every chat request** while ZDR is on. The plugin maintains an informational exception list (`KNOWN_NON_ZDR_MODELS`, synced from the official CLI —
|
|
237
|
+
- The header is sent on **every chat request** while ZDR is on. The plugin maintains an informational exception list (`KNOWN_NON_ZDR_MODELS`, synced from the official CLI — 21 models as of 2026-10-08, e.g. `xai/grok-4.5`, `stealth/glyph-cluster:free`, `stepfun/Step-3.7-Flash`, `meta/muse-spark-1.3`). A model without an available ZDR upstream fails with `422 cmd_zdr_no_providers`; the request is never retried without the header.
|
|
235
238
|
- If a refusal still happens (coverage churn, or no ZDR upstream with spare capacity at that moment), the error names the cause and how to turn ZDR off, instead of surfacing as a bare HTTP 422.
|
|
236
239
|
- **ZDR usually costs more**: capacity is limited and billed at each upstream's pass-through rates, and which upstream serves a request can change per request. The session-cost readout keeps quoting the ordinary catalog rates; the real per-request price shows in Command Code's Studio usage page.
|
|
237
240
|
- Works on every plan; plan credits meter ZDR requests at the plan's default allowance.
|
package/README.zh-CN.md
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
## 安装
|
|
35
35
|
|
|
36
|
-
本版本**只支持 dsh 0.2.1-alpha.1
|
|
36
|
+
本版本**只支持 dsh 0.2.0-rc.2 与 dsh 0.2.1-alpha.1 这两个版本**:插件的 peer 范围就是这两个已验证版本的析取,兼容性记录里也只列它们。`0.2.0-rc.2` 正是 `npm i -g @deepseek-ai/dsh@latest` 与官方桌面端放出的版本,多数用户都在它上面;`0.2.1-alpha.1` 是上游的 `alpha` 通道:
|
|
37
37
|
|
|
38
38
|
```sh
|
|
39
39
|
dsh plugin --profile web add @mars-sea/dsh-commandcode-provider@latest
|
|
@@ -55,14 +55,14 @@ dsh plugin --profile web add @mars-sea/dsh-commandcode-provider@0.11.15
|
|
|
55
55
|
|
|
56
56
|
这一点对每个 profile 都成立,包括下面的终端界面。
|
|
57
57
|
|
|
58
|
-
插件可直接在 pnpm 10 的全新插件市场 generation 中安装。所有 Harness 包(含 `@deepseek-ai/cordis`、`@deepseek-ai/schemastery
|
|
58
|
+
插件可直接在 pnpm 10 的全新插件市场 generation 中安装。所有 Harness 包(含 `@deepseek-ai/cordis`、`@deepseek-ai/schemastery`)都由插件按与 `@deepseek-ai/dsh-*` 相同的双版本范围声明为 Host peer,由当前 dsh profile 统一管理,不要另行添加 dependency。上游曾在 `0.2.1-alpha.1` 删除 `@deepseek-ai/dsh-invariants` 这个包,因此插件不再声明它。
|
|
59
59
|
|
|
60
60
|
## 更新
|
|
61
61
|
|
|
62
62
|
用与安装时相同的 tag 更新:
|
|
63
63
|
|
|
64
64
|
```sh
|
|
65
|
-
dsh plugin --profile web update @mars-sea/dsh-commandcode-provider@latest # dsh 0.2.1-alpha.1
|
|
65
|
+
dsh plugin --profile web update @mars-sea/dsh-commandcode-provider@latest # dsh 0.2.0-rc.2 或 0.2.1-alpha.1
|
|
66
66
|
dsh plugin --profile web update @mars-sea/dsh-commandcode-provider@0.9.1 # 更早的 dsh(0.5.0 线,不再维护)
|
|
67
67
|
```
|
|
68
68
|
|
|
@@ -136,7 +136,7 @@ cmd login # 写入 ~/.commandcode/auth.json
|
|
|
136
136
|
cwd: !!js process.cwd()
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
**引擎版本要求。**
|
|
139
|
+
**引擎版本要求。** 插件针对两个引擎维护:**dsh 0.2.0-rc.2** 与 **dsh 0.2.1-alpha.1**。它的 `@deepseek-ai/dsh-*` 对等依赖写成两者的析取 `0.2.0-rc.2 || 0.2.1-alpha.1`,`@deepseek-ai/cordis` 固定为 `~4.0.4 || ~4.0.5-alpha.1`、`@deepseek-ai/schemastery` 固定为 `~3.18.4 || ~3.18.5-alpha.1`(每个分支都与对应引擎同批发布),`dsh.compatibility.dshReleases` 也只记录这两个版本。这个析取写法是刻意的、且是承重的:它不像 `^` 或 `>=` 那样放行任何相邻的预发布版、候选发布或稳定补丁版,每个分支都是一个裸版本号,且发版前 `npm run test:engine` 会对**两个引擎各跑一遍**完整套件。DSH 本身会拒绝加载 `@deepseek-ai/dsh*` peer 不接纳当前引擎的插件——所以一个静默放行未验证邻居的范围,比没有范围更糟。在其它引擎上,设置页、消息封装或请求图片预算总有一处对不上——请改装支持你所用引擎的最后一个版本,而不是硬装这一个。
|
|
140
140
|
|
|
141
141
|
## 用量面板
|
|
142
142
|
|
|
@@ -223,7 +223,7 @@ Command Code 可以让请求只经由「不留存提示词与回复、也不用
|
|
|
223
223
|
|
|
224
224
|
**默认关闭。** 在「隐私与安全」卡片里打开「零数据保留(ZDR)」(`zdr`),或写进 profile 配置。本插件的实现方式:
|
|
225
225
|
|
|
226
|
-
- 开启后,**每次聊天请求**都会带上 ZDR 请求头。插件仍维护官方 CLI 的例外名单(`KNOWN_NON_ZDR_MODELS`,截至 2026-
|
|
226
|
+
- 开启后,**每次聊天请求**都会带上 ZDR 请求头。插件仍维护官方 CLI 的例外名单(`KNOWN_NON_ZDR_MODELS`,截至 2026-10-08 共 21 个模型,例如 `xai/grok-4.5`、`stealth/glyph-cluster:free`、`stepfun/Step-3.7-Flash`、`meta/muse-spark-1.3`)供查询。没有可用 ZDR 上游时,服务端返回 `422 cmd_zdr_no_providers`;插件不会去掉请求头重试。
|
|
227
227
|
- 万一仍被拒绝(名单过期,或那一刻没有空闲的 ZDR 上游容量),错误信息会说明原因并给出关闭 ZDR 的办法,而不是抛出一个光秃秃的 HTTP 422。
|
|
228
228
|
- **ZDR 通常更贵**:容量有限,按各上游实价透传计费,且每次请求落在哪个上游可能不同。会话费用读数仍按常规目录价估算;真实单价见 Command Code Studio 的用量页。
|
|
229
229
|
- 各套餐均可使用;ZDR 请求按套餐的默认额度(而非提升额度)计量。
|
package/lib/client.js
CHANGED
|
@@ -3273,7 +3273,7 @@ window.__ModuleLoader__.load({
|
|
|
3273
3273
|
}
|
|
3274
3274
|
//#endregion
|
|
3275
3275
|
//#region package.json
|
|
3276
|
-
var version = "0.12.
|
|
3276
|
+
var version = "0.12.8";
|
|
3277
3277
|
var repository = {
|
|
3278
3278
|
"type": "git",
|
|
3279
3279
|
"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.79.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.
|
|
@@ -978,7 +978,7 @@ declare const KNOWN_EFFORTS: Readonly<Record<string, readonly string[]>>;
|
|
|
978
978
|
declare const KNOWN_IMAGE_MODELS: ReadonlySet<string>;
|
|
979
979
|
/**
|
|
980
980
|
* Models WITHOUT a zero-data-retention upstream, per the official CLI's own
|
|
981
|
-
* registry (`command-code@1.
|
|
981
|
+
* registry (`command-code@1.79.1` `dist/cli.mjs`): `modelSupportsZdr(id)` is
|
|
982
982
|
* exactly `!nonZdrSet.has(canonicalize(id))`, and `knownModelSupportsZdr`
|
|
983
983
|
* carries the same membership in the sibling route table — the UNION of both
|
|
984
984
|
* is this set. Reading only the sibling route table dropped
|
|
@@ -1011,7 +1011,8 @@ declare const KNOWN_IMAGE_MODELS: ReadonlySet<string>;
|
|
|
1011
1011
|
* (`deepseek/deepseek-v4.1-flash-fast`), 1.68.0 changed nothing, and 1.74.1
|
|
1012
1012
|
* removed one (`meituan/LongCat-2.0`). The 1.74.2/1.74.3 pair changed nothing
|
|
1013
1013
|
* here either (22 members as of 2026-10-06); 1.77.0 dropped the two retired
|
|
1014
|
-
* stealth previews, back to 20 members as of 2026-10-07.
|
|
1014
|
+
* stealth previews, back to 20 members as of 2026-10-07, and 1.79.0 added the
|
|
1015
|
+
* free `stealth/glyph-cluster:free` preview — 21 members as of 2026-10-08.
|
|
1015
1016
|
*
|
|
1016
1017
|
* 1.77.0 also settled the two retired stealth previews (see `KNOWN_EFFORTS`):
|
|
1017
1018
|
* 1.74.3 still named both in the ZDR anchors, so they stayed listed here on
|
|
@@ -1049,12 +1050,13 @@ declare const KNOWN_THINKING_MODELS: ReadonlySet<string>;
|
|
|
1049
1050
|
* `/docs/plans/max` and `/docs/resources/pricing-limits`). Each plan's model
|
|
1050
1051
|
* list is a superset of the one below it: Go ⊂ GOAT ⊂ Pro ⊂ Provider/Max.
|
|
1051
1052
|
* Models absent from every plan list (Claude Opus/Fable, Fugu Ultra) are
|
|
1052
|
-
* Provider-tier. Re-verified at command-code@1.
|
|
1053
|
-
* ids at
|
|
1054
|
-
* (1.75.0)
|
|
1055
|
-
*
|
|
1056
|
-
*
|
|
1057
|
-
*
|
|
1053
|
+
* Provider-tier. Re-verified at command-code@1.79.1 (2026-10-08): 87 catalog
|
|
1054
|
+
* ids at 54/63/78/86 cumulative, a strict superset chain. Mistral Large 4
|
|
1055
|
+
* (1.75.0) was the only addition at the 1.77.0 check; the 1.78.0/1.79.0 pair
|
|
1056
|
+
* added two more — Claude Haiku 5.5 at Pro and the free Glyph Cluster preview
|
|
1057
|
+
* at Go — and the only removals since 1.49.0 are the two retired stealth
|
|
1058
|
+
* previews (Pixel Canary at 1.73.1, Space Bunny Alpha at 1.74.3). No tier ever
|
|
1059
|
+
* moved, and per-entry tags below name the release that added each row.
|
|
1058
1060
|
*
|
|
1059
1061
|
* The Provider API exposes no plan metadata, so this snapshot is the source of
|
|
1060
1062
|
* truth for the picker's plan annotation — it answers "which plan do I need to
|
package/lib/index.js
CHANGED
|
@@ -103,7 +103,7 @@ const PLAN_ORDER = Object.fromEntries(PLAN_TIER_ORDER.map((tier, index) => [tier
|
|
|
103
103
|
* subscription-plan labels, deals, and hourly (peak/off-peak) pricing.
|
|
104
104
|
*
|
|
105
105
|
* Everything here is synced from official sources — the command-code CLI
|
|
106
|
-
* bundle's model table (`dist/cli.mjs`, re-verified at command-code@1.
|
|
106
|
+
* bundle's model table (`dist/cli.mjs`, re-verified at command-code@1.79.1) and
|
|
107
107
|
* the official plan/pricing/model docs; see the dsh-commandcode-upstream skill
|
|
108
108
|
* for the extraction procedures. Keeping the snapshot in its own module
|
|
109
109
|
* confines those frequent sync diffs here: src/adapter.ts holds only the stable
|
|
@@ -429,6 +429,19 @@ const KNOWN_EFFORTS = {
|
|
|
429
429
|
"low",
|
|
430
430
|
"medium",
|
|
431
431
|
"high"
|
|
432
|
+
],
|
|
433
|
+
"claude-haiku-5-5": [
|
|
434
|
+
"low",
|
|
435
|
+
"medium",
|
|
436
|
+
"high",
|
|
437
|
+
"xhigh",
|
|
438
|
+
"max"
|
|
439
|
+
],
|
|
440
|
+
"stealth/glyph-cluster:free": [
|
|
441
|
+
"low",
|
|
442
|
+
"medium",
|
|
443
|
+
"high",
|
|
444
|
+
"xhigh"
|
|
432
445
|
]
|
|
433
446
|
};
|
|
434
447
|
/**
|
|
@@ -459,6 +472,7 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
459
472
|
"claude-fable-5-1",
|
|
460
473
|
"claude-fable-5",
|
|
461
474
|
"claude-haiku-4-5-20251001",
|
|
475
|
+
"claude-haiku-5-5",
|
|
462
476
|
"claude-opus-4-7",
|
|
463
477
|
"claude-opus-4-8",
|
|
464
478
|
"claude-opus-5-5",
|
|
@@ -514,7 +528,7 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
514
528
|
]);
|
|
515
529
|
/**
|
|
516
530
|
* Models WITHOUT a zero-data-retention upstream, per the official CLI's own
|
|
517
|
-
* registry (`command-code@1.
|
|
531
|
+
* registry (`command-code@1.79.1` `dist/cli.mjs`): `modelSupportsZdr(id)` is
|
|
518
532
|
* exactly `!nonZdrSet.has(canonicalize(id))`, and `knownModelSupportsZdr`
|
|
519
533
|
* carries the same membership in the sibling route table — the UNION of both
|
|
520
534
|
* is this set. Reading only the sibling route table dropped
|
|
@@ -547,7 +561,8 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
547
561
|
* (`deepseek/deepseek-v4.1-flash-fast`), 1.68.0 changed nothing, and 1.74.1
|
|
548
562
|
* removed one (`meituan/LongCat-2.0`). The 1.74.2/1.74.3 pair changed nothing
|
|
549
563
|
* here either (22 members as of 2026-10-06); 1.77.0 dropped the two retired
|
|
550
|
-
* stealth previews, back to 20 members as of 2026-10-07.
|
|
564
|
+
* stealth previews, back to 20 members as of 2026-10-07, and 1.79.0 added the
|
|
565
|
+
* free `stealth/glyph-cluster:free` preview — 21 members as of 2026-10-08.
|
|
551
566
|
*
|
|
552
567
|
* 1.77.0 also settled the two retired stealth previews (see `KNOWN_EFFORTS`):
|
|
553
568
|
* 1.74.3 still named both in the ZDR anchors, so they stayed listed here on
|
|
@@ -569,6 +584,7 @@ const KNOWN_NON_ZDR_MODELS = /* @__PURE__ */ new Set([
|
|
|
569
584
|
"minimax/minimax-m3-free",
|
|
570
585
|
"poolside/laguna-s-2.1-free",
|
|
571
586
|
"sakana/fugu-ultra",
|
|
587
|
+
"stealth/glyph-cluster:free",
|
|
572
588
|
"stepfun/Step-3.7-Flash",
|
|
573
589
|
"stepfun/Step-5-Preview",
|
|
574
590
|
"xai/grok-4.5",
|
|
@@ -788,12 +804,13 @@ const MODEL_OUTPUT_TOKEN_LIMITS = /* @__PURE__ */ new Map([
|
|
|
788
804
|
* `/docs/plans/max` and `/docs/resources/pricing-limits`). Each plan's model
|
|
789
805
|
* list is a superset of the one below it: Go ⊂ GOAT ⊂ Pro ⊂ Provider/Max.
|
|
790
806
|
* Models absent from every plan list (Claude Opus/Fable, Fugu Ultra) are
|
|
791
|
-
* Provider-tier. Re-verified at command-code@1.
|
|
792
|
-
* ids at
|
|
793
|
-
* (1.75.0)
|
|
794
|
-
*
|
|
795
|
-
*
|
|
796
|
-
*
|
|
807
|
+
* Provider-tier. Re-verified at command-code@1.79.1 (2026-10-08): 87 catalog
|
|
808
|
+
* ids at 54/63/78/86 cumulative, a strict superset chain. Mistral Large 4
|
|
809
|
+
* (1.75.0) was the only addition at the 1.77.0 check; the 1.78.0/1.79.0 pair
|
|
810
|
+
* added two more — Claude Haiku 5.5 at Pro and the free Glyph Cluster preview
|
|
811
|
+
* at Go — and the only removals since 1.49.0 are the two retired stealth
|
|
812
|
+
* previews (Pixel Canary at 1.73.1, Space Bunny Alpha at 1.74.3). No tier ever
|
|
813
|
+
* moved, and per-entry tags below name the release that added each row.
|
|
797
814
|
*
|
|
798
815
|
* The Provider API exposes no plan metadata, so this snapshot is the source of
|
|
799
816
|
* truth for the picker's plan annotation — it answers "which plan do I need to
|
|
@@ -841,6 +858,7 @@ const KNOWN_PLANS = {
|
|
|
841
858
|
"stepfun/Step-3.5-Flash": "go",
|
|
842
859
|
"stepfun/Step-3.7-Flash": "go",
|
|
843
860
|
"stepfun/Step-5-Preview": "go",
|
|
861
|
+
"stealth/glyph-cluster:free": "go",
|
|
844
862
|
"tencent/hy3-paid": "go",
|
|
845
863
|
"tencent/hy4-preview": "go",
|
|
846
864
|
"thinkingmachines/inkling": "go",
|
|
@@ -867,6 +885,7 @@ const KNOWN_PLANS = {
|
|
|
867
885
|
"xai/grok-4.7": "goat",
|
|
868
886
|
"xiaomi/mimo-v2.6-pro-ultraspeed": "goat",
|
|
869
887
|
"claude-haiku-4-5-20251001": "pro",
|
|
888
|
+
"claude-haiku-5-5": "pro",
|
|
870
889
|
"claude-sonnet-4-6": "pro",
|
|
871
890
|
"claude-sonnet-5": "pro",
|
|
872
891
|
"google/gemini-3.1-flash-lite": "pro",
|
|
@@ -1036,6 +1055,10 @@ const KNOWN_DEALS = {
|
|
|
1036
1055
|
"inclusionai/ling-3.1-flash:free": {
|
|
1037
1056
|
label: "FREE",
|
|
1038
1057
|
free: true
|
|
1058
|
+
},
|
|
1059
|
+
"stealth/glyph-cluster:free": {
|
|
1060
|
+
label: "FREE",
|
|
1061
|
+
free: true
|
|
1039
1062
|
}
|
|
1040
1063
|
};
|
|
1041
1064
|
/**
|
|
@@ -1252,6 +1275,34 @@ const MODEL_PRICE_ROWS = [
|
|
|
1252
1275
|
pro: 20
|
|
1253
1276
|
}
|
|
1254
1277
|
},
|
|
1278
|
+
{
|
|
1279
|
+
id: "claude-haiku-5-5",
|
|
1280
|
+
rates: [
|
|
1281
|
+
.1,
|
|
1282
|
+
.5,
|
|
1283
|
+
.01,
|
|
1284
|
+
.125
|
|
1285
|
+
],
|
|
1286
|
+
allowance: {
|
|
1287
|
+
go: 6,
|
|
1288
|
+
goat: 20,
|
|
1289
|
+
pro: 20
|
|
1290
|
+
},
|
|
1291
|
+
contextTiers: [{
|
|
1292
|
+
"maxContext": 1e5,
|
|
1293
|
+
"rates": [
|
|
1294
|
+
.1,
|
|
1295
|
+
.5,
|
|
1296
|
+
.01,
|
|
1297
|
+
.125
|
|
1298
|
+
]
|
|
1299
|
+
}, { "rates": [
|
|
1300
|
+
.5,
|
|
1301
|
+
2.5,
|
|
1302
|
+
.05,
|
|
1303
|
+
.625
|
|
1304
|
+
] }]
|
|
1305
|
+
},
|
|
1255
1306
|
{
|
|
1256
1307
|
id: "claude-opus-4-6",
|
|
1257
1308
|
rates: [
|
|
@@ -5276,7 +5327,7 @@ var GatewayFacts = class {
|
|
|
5276
5327
|
* per-request options thunk and an API-key resolver from the plugin entry
|
|
5277
5328
|
* (src/index.ts), so a settings change reaches the very next request.
|
|
5278
5329
|
*/
|
|
5279
|
-
const COMMAND_CODE_CLI_VERSION = "1.
|
|
5330
|
+
const COMMAND_CODE_CLI_VERSION = "1.79.1";
|
|
5280
5331
|
const DEFAULT_API_BASE = "https://api.commandcode.ai";
|
|
5281
5332
|
/**
|
|
5282
5333
|
* The output budget this bundle asks for, and the ceiling it will never exceed.
|