@mars-sea/dsh-commandcode-provider 0.12.5 → 0.12.7
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 +28 -0
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/lib/client.js +1 -1
- package/lib/index.d.ts +20 -15
- package/lib/index.js +95 -23
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,34 @@ 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.7] - 2026-10-08
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- 同步官方 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。
|
|
12
|
+
- 同步官方 command-code@1.79.0 新增的 `stealth/glyph-cluster:free`(Glyph Cluster)隐身预览:最低套餐 Go(全部套餐可用),纯文本、支持推理,四档思考强度 `low`/`medium`/`high`/`xhigh`,256 000 上下文;隐身预览期内免费、每天 100 次请求,官方标为 100% 折扣且没有公布结束日期,因此按「永久型」促销处理、不带 `expiresAt`,并排在模型选择器最前。
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- 同步官方 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` 斜杠命令。
|
|
17
|
+
- 零数据保留例外名单新增 `stealth/glyph-cluster:free`(20 → 21 项):官方定价页在该行写明「Not routed under ZDR」,CLI 的排除集合同样列出它,两处证据一致。
|
|
18
|
+
- 定价页额度与其余各行逐条复核对齐,价格表本次只有 `claude-haiku-5-5` 一行新增(含 `≤100K`/`>100K` 两个上下文分档),无其他行漂移。
|
|
19
|
+
|
|
20
|
+
## [0.12.6] - 2026-10-07
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- 同步官方 command-code@1.75.0 新增的 `mistral/mistral-large-4`(Mistral Large 4):最低套餐 Go,支持视觉与推理,三档思考强度 `low`/`medium`/`high`,524 288 上下文;价格 $1.36 入 / $4.18 出 / $0.14 缓存读每 1M,月度额度 Go $10 / GOAT $40 / Pro $50(官方「启动价期间的额度提升」已折算在内)。该模型在公开目录、定价页与 CLI 注册表三处同步出现,各记 +1。
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- 同步官方 command-code@1.77.0:请求头 `x-command-code-version` 升至 `1.77.0`。1.75.0/1.75.1/1.76.0 的官方日志分别是「新增 Mistral Large 4」「hooks 跳过 stdin 与良性写错误不再让 CLI 崩溃」「`/peek` 任务回顾图」;1.77.0 没有 changelog 条目,逐行比对 1.76.0 → 1.77.0 的 `dist/cli.mjs` 后确认变化只落在 CLI 自己的命令行参数层(云会话转正、新增 `--base`、`cloud list/status/stop` 子命令、机器可读参数判定由子串包含改为精确匹配),协议面未动——142 个 API 路径与 13 个请求头集合完全一致,`toWireMessages`/`toWireTools`/`toWirePermissionMode` 的调用点数量与形态不变。
|
|
29
|
+
- 两个既有模型的月度额度跟上官方定价页:`glm-5.3-flash` 的 GOAT/Pro 从 $40/$50 提到 $60/$70,`kimi-k3` 从 $20/$30 提到 $60/$70。这类数字来自定价页的 `planAllowanceUsd` 字段,不在上游审计脚本的提取范围内,本轮靠逐行对照 84 条额度记录才发现;对照后价格表与页面已逐条一致。
|
|
30
|
+
|
|
31
|
+
### Removed
|
|
32
|
+
|
|
33
|
+
- 零数据保留例外名单移除 `stealth/pixel-canary` 与 `stealth/space-bunny-alpha`(22 → 20 项)。1.77.0 的 CLI 不再把两者列入 ZDR 排除集合,并把它们放进 `listSelectableModelIds()` 过滤掉的不可选择集合,因此 `supportsZeroDataRetention()` 现在对这两个 id 回答 true,与当前 CLI 一致。这推翻了 0.12.5 那轮「刻意保留」的选择——当时的前提是 1.74.3 仍把它们列在两个锚点里,该前提已随 1.77.0 消失。
|
|
34
|
+
|
|
7
35
|
## [0.12.5] - 2026-10-06
|
|
8
36
|
|
|
9
37
|
### Changed
|
package/README.md
CHANGED
|
@@ -231,7 +231,7 @@ Command Code can serve a request only through upstreams that retain no prompts o
|
|
|
231
231
|
|
|
232
232
|
**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
233
|
|
|
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 —
|
|
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 — 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
235
|
- 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
236
|
- **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
237
|
- Works on every plan; plan credits meter ZDR requests at the plan's default allowance.
|
package/README.zh-CN.md
CHANGED
|
@@ -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.7";
|
|
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
|
|
@@ -1007,17 +1007,20 @@ declare const KNOWN_IMAGE_MODELS: ReadonlySet<string>;
|
|
|
1007
1007
|
* flags) is upstream-internal routing, not a per-model contract, so this table
|
|
1008
1008
|
* is the snapshot of the exclusion set and nothing more. It is a rare change:
|
|
1009
1009
|
* 20 members held across 1.62.0 → 1.64.0, 1.65.0 and 1.66.0 each added exactly
|
|
1010
|
-
* one (the two stealth-preview models
|
|
1010
|
+
* one (the two stealth-preview models), 1.67.0 added one
|
|
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
|
-
* here either
|
|
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, and 1.79.0 added the
|
|
1015
|
+
* free `stealth/glyph-cluster:free` preview — 21 members as of 2026-10-08.
|
|
1014
1016
|
*
|
|
1015
|
-
*
|
|
1016
|
-
*
|
|
1017
|
-
*
|
|
1018
|
-
*
|
|
1019
|
-
*
|
|
1020
|
-
*
|
|
1017
|
+
* 1.77.0 also settled the two retired stealth previews (see `KNOWN_EFFORTS`):
|
|
1018
|
+
* 1.74.3 still named both in the ZDR anchors, so they stayed listed here on
|
|
1019
|
+
* purpose — an id a stale session named still got a truthful answer. The 1.77.0
|
|
1020
|
+
* artifact names neither in its exclusion set and filters both out of
|
|
1021
|
+
* `listSelectableModelIds()`, so they are pruned along with the rest of the
|
|
1022
|
+
* tables and `supportsZeroDataRetention` now answers TRUE for them, matching
|
|
1023
|
+
* what the current CLI says.
|
|
1021
1024
|
*/
|
|
1022
1025
|
declare const KNOWN_NON_ZDR_MODELS: ReadonlySet<string>;
|
|
1023
1026
|
/**
|
|
@@ -1047,11 +1050,13 @@ declare const KNOWN_THINKING_MODELS: ReadonlySet<string>;
|
|
|
1047
1050
|
* `/docs/plans/max` and `/docs/resources/pricing-limits`). Each plan's model
|
|
1048
1051
|
* list is a superset of the one below it: Go ⊂ GOAT ⊂ Pro ⊂ Provider/Max.
|
|
1049
1052
|
* Models absent from every plan list (Claude Opus/Fable, Fugu Ultra) are
|
|
1050
|
-
* Provider-tier. Re-verified at command-code@1.
|
|
1051
|
-
* ids at
|
|
1052
|
-
*
|
|
1053
|
-
*
|
|
1054
|
-
*
|
|
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.
|
|
1055
1060
|
*
|
|
1056
1061
|
* The Provider API exposes no plan metadata, so this snapshot is the source of
|
|
1057
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
|
|
@@ -424,6 +424,24 @@ const KNOWN_EFFORTS = {
|
|
|
424
424
|
"low",
|
|
425
425
|
"medium",
|
|
426
426
|
"high"
|
|
427
|
+
],
|
|
428
|
+
"mistral/mistral-large-4": [
|
|
429
|
+
"low",
|
|
430
|
+
"medium",
|
|
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"
|
|
427
445
|
]
|
|
428
446
|
};
|
|
429
447
|
/**
|
|
@@ -454,6 +472,7 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
454
472
|
"claude-fable-5-1",
|
|
455
473
|
"claude-fable-5",
|
|
456
474
|
"claude-haiku-4-5-20251001",
|
|
475
|
+
"claude-haiku-5-5",
|
|
457
476
|
"claude-opus-4-7",
|
|
458
477
|
"claude-opus-4-8",
|
|
459
478
|
"claude-opus-5-5",
|
|
@@ -486,6 +505,7 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
486
505
|
"meta/muse-spark-1.2-contributor",
|
|
487
506
|
"meta/muse-spark-1.3",
|
|
488
507
|
"meta/muse-spark-1.3-contributor",
|
|
508
|
+
"mistral/mistral-large-4",
|
|
489
509
|
"moonshotai/Kimi-K2.5",
|
|
490
510
|
"moonshotai/Kimi-K2.6",
|
|
491
511
|
"moonshotai/Kimi-K2.7-Code",
|
|
@@ -508,7 +528,7 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
508
528
|
]);
|
|
509
529
|
/**
|
|
510
530
|
* Models WITHOUT a zero-data-retention upstream, per the official CLI's own
|
|
511
|
-
* registry (`command-code@1.
|
|
531
|
+
* registry (`command-code@1.79.1` `dist/cli.mjs`): `modelSupportsZdr(id)` is
|
|
512
532
|
* exactly `!nonZdrSet.has(canonicalize(id))`, and `knownModelSupportsZdr`
|
|
513
533
|
* carries the same membership in the sibling route table — the UNION of both
|
|
514
534
|
* is this set. Reading only the sibling route table dropped
|
|
@@ -537,17 +557,20 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
537
557
|
* flags) is upstream-internal routing, not a per-model contract, so this table
|
|
538
558
|
* is the snapshot of the exclusion set and nothing more. It is a rare change:
|
|
539
559
|
* 20 members held across 1.62.0 → 1.64.0, 1.65.0 and 1.66.0 each added exactly
|
|
540
|
-
* one (the two stealth-preview models
|
|
560
|
+
* one (the two stealth-preview models), 1.67.0 added one
|
|
541
561
|
* (`deepseek/deepseek-v4.1-flash-fast`), 1.68.0 changed nothing, and 1.74.1
|
|
542
562
|
* removed one (`meituan/LongCat-2.0`). The 1.74.2/1.74.3 pair changed nothing
|
|
543
|
-
* here either
|
|
544
|
-
*
|
|
545
|
-
* `stealth/
|
|
546
|
-
*
|
|
547
|
-
*
|
|
548
|
-
*
|
|
549
|
-
*
|
|
550
|
-
*
|
|
563
|
+
* here either (22 members as of 2026-10-06); 1.77.0 dropped the two retired
|
|
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.
|
|
566
|
+
*
|
|
567
|
+
* 1.77.0 also settled the two retired stealth previews (see `KNOWN_EFFORTS`):
|
|
568
|
+
* 1.74.3 still named both in the ZDR anchors, so they stayed listed here on
|
|
569
|
+
* purpose — an id a stale session named still got a truthful answer. The 1.77.0
|
|
570
|
+
* artifact names neither in its exclusion set and filters both out of
|
|
571
|
+
* `listSelectableModelIds()`, so they are pruned along with the rest of the
|
|
572
|
+
* tables and `supportsZeroDataRetention` now answers TRUE for them, matching
|
|
573
|
+
* what the current CLI says.
|
|
551
574
|
*/
|
|
552
575
|
const KNOWN_NON_ZDR_MODELS = /* @__PURE__ */ new Set([
|
|
553
576
|
"MiniMaxAI/MiniMax-M3",
|
|
@@ -561,8 +584,7 @@ const KNOWN_NON_ZDR_MODELS = /* @__PURE__ */ new Set([
|
|
|
561
584
|
"minimax/minimax-m3-free",
|
|
562
585
|
"poolside/laguna-s-2.1-free",
|
|
563
586
|
"sakana/fugu-ultra",
|
|
564
|
-
"stealth/
|
|
565
|
-
"stealth/pixel-canary",
|
|
587
|
+
"stealth/glyph-cluster:free",
|
|
566
588
|
"stepfun/Step-3.7-Flash",
|
|
567
589
|
"stepfun/Step-5-Preview",
|
|
568
590
|
"xai/grok-4.5",
|
|
@@ -782,11 +804,13 @@ const MODEL_OUTPUT_TOKEN_LIMITS = /* @__PURE__ */ new Map([
|
|
|
782
804
|
* `/docs/plans/max` and `/docs/resources/pricing-limits`). Each plan's model
|
|
783
805
|
* list is a superset of the one below it: Go ⊂ GOAT ⊂ Pro ⊂ Provider/Max.
|
|
784
806
|
* Models absent from every plan list (Claude Opus/Fable, Fugu Ultra) are
|
|
785
|
-
* Provider-tier. Re-verified at command-code@1.
|
|
786
|
-
* ids at
|
|
787
|
-
*
|
|
788
|
-
*
|
|
789
|
-
*
|
|
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.
|
|
790
814
|
*
|
|
791
815
|
* The Provider API exposes no plan metadata, so this snapshot is the source of
|
|
792
816
|
* truth for the picker's plan annotation — it answers "which plan do I need to
|
|
@@ -823,6 +847,7 @@ const KNOWN_PLANS = {
|
|
|
823
847
|
"inclusionai/ling-3.1-flash:free": "go",
|
|
824
848
|
"meta/muse-spark-1.2-contributor": "go",
|
|
825
849
|
"meta/muse-spark-1.3-contributor": "go",
|
|
850
|
+
"mistral/mistral-large-4": "go",
|
|
826
851
|
"moonshotai/Kimi-K2.5": "go",
|
|
827
852
|
"moonshotai/Kimi-K2.6": "go",
|
|
828
853
|
"moonshotai/Kimi-K2.7-Code": "go",
|
|
@@ -833,6 +858,7 @@ const KNOWN_PLANS = {
|
|
|
833
858
|
"stepfun/Step-3.5-Flash": "go",
|
|
834
859
|
"stepfun/Step-3.7-Flash": "go",
|
|
835
860
|
"stepfun/Step-5-Preview": "go",
|
|
861
|
+
"stealth/glyph-cluster:free": "go",
|
|
836
862
|
"tencent/hy3-paid": "go",
|
|
837
863
|
"tencent/hy4-preview": "go",
|
|
838
864
|
"thinkingmachines/inkling": "go",
|
|
@@ -859,6 +885,7 @@ const KNOWN_PLANS = {
|
|
|
859
885
|
"xai/grok-4.7": "goat",
|
|
860
886
|
"xiaomi/mimo-v2.6-pro-ultraspeed": "goat",
|
|
861
887
|
"claude-haiku-4-5-20251001": "pro",
|
|
888
|
+
"claude-haiku-5-5": "pro",
|
|
862
889
|
"claude-sonnet-4-6": "pro",
|
|
863
890
|
"claude-sonnet-5": "pro",
|
|
864
891
|
"google/gemini-3.1-flash-lite": "pro",
|
|
@@ -1028,6 +1055,10 @@ const KNOWN_DEALS = {
|
|
|
1028
1055
|
"inclusionai/ling-3.1-flash:free": {
|
|
1029
1056
|
label: "FREE",
|
|
1030
1057
|
free: true
|
|
1058
|
+
},
|
|
1059
|
+
"stealth/glyph-cluster:free": {
|
|
1060
|
+
label: "FREE",
|
|
1061
|
+
free: true
|
|
1031
1062
|
}
|
|
1032
1063
|
};
|
|
1033
1064
|
/**
|
|
@@ -1244,6 +1275,34 @@ const MODEL_PRICE_ROWS = [
|
|
|
1244
1275
|
pro: 20
|
|
1245
1276
|
}
|
|
1246
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
|
+
},
|
|
1247
1306
|
{
|
|
1248
1307
|
id: "claude-opus-4-6",
|
|
1249
1308
|
rates: [
|
|
@@ -1625,8 +1684,8 @@ const MODEL_PRICE_ROWS = [
|
|
|
1625
1684
|
],
|
|
1626
1685
|
allowance: {
|
|
1627
1686
|
go: 10,
|
|
1628
|
-
goat:
|
|
1629
|
-
pro:
|
|
1687
|
+
goat: 60,
|
|
1688
|
+
pro: 70
|
|
1630
1689
|
}
|
|
1631
1690
|
},
|
|
1632
1691
|
{
|
|
@@ -2044,8 +2103,8 @@ const MODEL_PRICE_ROWS = [
|
|
|
2044
2103
|
],
|
|
2045
2104
|
allowance: {
|
|
2046
2105
|
go: 8,
|
|
2047
|
-
goat:
|
|
2048
|
-
pro:
|
|
2106
|
+
goat: 60,
|
|
2107
|
+
pro: 70
|
|
2049
2108
|
}
|
|
2050
2109
|
},
|
|
2051
2110
|
{
|
|
@@ -2180,6 +2239,19 @@ const MODEL_PRICE_ROWS = [
|
|
|
2180
2239
|
pro: 57
|
|
2181
2240
|
}
|
|
2182
2241
|
},
|
|
2242
|
+
{
|
|
2243
|
+
id: "mistral-large-4",
|
|
2244
|
+
rates: [
|
|
2245
|
+
1.36,
|
|
2246
|
+
4.18,
|
|
2247
|
+
.14
|
|
2248
|
+
],
|
|
2249
|
+
allowance: {
|
|
2250
|
+
go: 10,
|
|
2251
|
+
goat: 40,
|
|
2252
|
+
pro: 50
|
|
2253
|
+
}
|
|
2254
|
+
},
|
|
2183
2255
|
{
|
|
2184
2256
|
id: "muse-spark-1.1",
|
|
2185
2257
|
rates: [
|
|
@@ -5255,7 +5327,7 @@ var GatewayFacts = class {
|
|
|
5255
5327
|
* per-request options thunk and an API-key resolver from the plugin entry
|
|
5256
5328
|
* (src/index.ts), so a settings change reaches the very next request.
|
|
5257
5329
|
*/
|
|
5258
|
-
const COMMAND_CODE_CLI_VERSION = "1.
|
|
5330
|
+
const COMMAND_CODE_CLI_VERSION = "1.79.1";
|
|
5259
5331
|
const DEFAULT_API_BASE = "https://api.commandcode.ai";
|
|
5260
5332
|
/**
|
|
5261
5333
|
* The output budget this bundle asks for, and the ceiling it will never exceed.
|