@mars-sea/dsh-commandcode-provider 0.8.2 → 0.8.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 +21 -1
- package/lib/client.js +1 -1
- package/lib/index.d.ts +13 -8
- package/lib/index.js +30 -23
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,27 @@ 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.8.4] - 2026-08-27
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **New model: Qwen 3.8 Flash (`Qwen/Qwen3.8-Flash`, command-code@1.36.0).** A Go-tier 1M-context Vision reasoning model with `low`/`medium`/`xhigh` effort levels, rounding out the Qwen 3.8 family alongside the existing Max and 27B variants.
|
|
12
|
+
- **New model: GLM-5.3 Flash (`z-ai/glm-5.3-flash`, command-code@1.35.0).** A Go-tier 1M-context Vision reasoning model with `low`/`high`/`max` effort levels, added to the catalog as the official replacement when the Ox Alpha preview ended.
|
|
13
|
+
|
|
14
|
+
### Removed
|
|
15
|
+
|
|
16
|
+
- **The Ox Alpha preview is over (`stealth/ox-alpha`, command-code@1.34.0).** The model is gone from the catalog, the picker, and the FREE deal list; accounts that were using it should switch to GLM-5.3 Flash (same effort set, Vision-capable, free on every plan).
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- **Synced with the official command-code@1.36.0 CLI.** `COMMAND_CODE_CLI_VERSION` is now `1.36.0`. Plan tiers now read 39/43/56/61 (Go / cumulative-through-Goat / cumulative-through-Pro / cumulative-through-Provider): the two new Go models enter Go, and `stealth/ox-alpha` leaves every tier. Re-verified against the official sources with no other changes: wire protocol, endpoints, auth flow, `KNOWN_SUBSCRIPTION_PLANS` (the `individual-*` plan map and its monthly-credit totals are identical to 1.33.0), `KNOWN_PEAK_PRICING` (DeepSeek V4 Pro/Flash/Vision, 01–04 and 06–10 UTC), and every other deal on the pricing page.
|
|
21
|
+
|
|
22
|
+
## [0.8.3] - 2026-08-26
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- **Qwen 3.8 Max no longer shows the hourly-pricing (`Peak`/`Half`) marker.** The official pricing page's hover annotation for the three hourly-billed DeepSeek models had been misattributed to this neighboring row; Qwen 3.8 Max is not billed by the hour. Everything else is identical to 0.8.2.
|
|
27
|
+
|
|
7
28
|
## [0.8.2] - 2026-08-26
|
|
8
29
|
|
|
9
30
|
### Added
|
|
@@ -12,7 +33,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
12
33
|
|
|
13
34
|
### Changed
|
|
14
35
|
|
|
15
|
-
- **Qwen 3.8 Max now carries the hourly-pricing marker** (`Peak`/`Half` by current UTC hour) — it joined DeepSeek V4 Flash/Vision on time-of-day pricing per the official pricing page.
|
|
16
36
|
- **The model picker's group header now reads "Command Code"** instead of the lowercase route id (`commandcode`), matching the name shown on the settings page.
|
|
17
37
|
- **Synced with the official command-code@1.33.0 CLI** (upstream's only change was adding the two free models above). `COMMAND_CODE_CLI_VERSION` is now `1.33.0`. Re-verified against the official sources with no other changes: wire protocol, endpoints, auth flow, reasoning-effort maps, subscription plans, and peak windows are all identical; plan tiers gained only the two new Go-tier variants.
|
|
18
38
|
|
package/lib/client.js
CHANGED
|
@@ -1197,7 +1197,7 @@ window.__ModuleLoader__.load({
|
|
|
1197
1197
|
};
|
|
1198
1198
|
//#endregion
|
|
1199
1199
|
//#region package.json
|
|
1200
|
-
var version = "0.8.
|
|
1200
|
+
var version = "0.8.4";
|
|
1201
1201
|
var repository = {
|
|
1202
1202
|
"type": "git",
|
|
1203
1203
|
"url": "git+https://github.com/Mars-Sea/dsh-commandcode-provider.git"
|
package/lib/index.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ declare const KNOWN_EFFORTS: Readonly<Record<string, readonly string[]>>;
|
|
|
24
24
|
*/
|
|
25
25
|
declare const KNOWN_IMAGE_MODELS: ReadonlySet<string>;
|
|
26
26
|
/**
|
|
27
|
-
* Models the official CLI's model table (command-code@1.
|
|
27
|
+
* Models the official CLI's model table (command-code@1.36.0) marks
|
|
28
28
|
* `reasoning:!0` but defines no selectable `reasoning_effort` levels — they
|
|
29
29
|
* think automatically, with Command Code driving the depth. This is the
|
|
30
30
|
* authoritative "thinks, effort not adjustable" set: `KNOWN_EFFORTS` (which
|
|
@@ -32,10 +32,11 @@ declare const KNOWN_IMAGE_MODELS: ReadonlySet<string>;
|
|
|
32
32
|
* effort levels, and this snapshot is not surfaced in the picker's compact
|
|
33
33
|
* description — it exists for programmatic consumers.
|
|
34
34
|
*
|
|
35
|
-
* Source: the command-code@1.
|
|
35
|
+
* Source: the command-code@1.36.0 bundled model table (dist/cli.mjs),
|
|
36
36
|
* cross-checked with https://commandcode.ai/docs/reference/cli/models.
|
|
37
37
|
* (`stealth/ox-alpha` left this set in command-code@1.32.1, which gave it
|
|
38
|
-
* selectable `['low', 'high', 'max']` efforts
|
|
38
|
+
* selectable `['low', 'high', 'max']` efforts; the preview then ended in
|
|
39
|
+
* 1.34.0, removing the model from the catalog entirely.)
|
|
39
40
|
* Keep in sync via the dsh-commandcode-upstream skill.
|
|
40
41
|
*/
|
|
41
42
|
declare const KNOWN_THINKING_MODELS: ReadonlySet<string>;
|
|
@@ -156,15 +157,19 @@ declare const KNOWN_DEALS: Readonly<Record<string, KnownDeal>>;
|
|
|
156
157
|
* charges by the hour: peak hours are 01:00–04:00 and 06:00–10:00 UTC (7h/day,
|
|
157
158
|
* full price); the other 17 hours are off-peak at half price. The V4 Flash
|
|
158
159
|
* Vision (exp) variant (command-code@1.32.0) shares the V4 Flash windows and
|
|
159
|
-
* peak prices ($0.44/$1.32)
|
|
160
|
-
*
|
|
161
|
-
* DeepSeek variants even though the V4 Pro table row lost its hover
|
|
162
|
-
* annotation — kept here on the prose's authority). The picker shows the
|
|
160
|
+
* peak prices ($0.44/$1.32) — each row's hover annotation states exactly 2×
|
|
161
|
+
* that row's displayed off-peak prices. The picker shows the
|
|
163
162
|
* *current* state as a compact
|
|
164
163
|
* label (`Peak`/`Half`) matching the English noun style of the other markers
|
|
165
164
|
* (`Image`, `FREE`), so a developer can tell at a glance whether calling the
|
|
166
165
|
* model right now is cheap or expensive.
|
|
167
166
|
*
|
|
167
|
+
* Extraction caution: in the page's HTML each annotation div sits inside its
|
|
168
|
+
* OWN row's container, immediately before the NEXT row starts — flattening
|
|
169
|
+
* the page to text makes every annotation look like it belongs to the model
|
|
170
|
+
* printed after it. Verify membership against the enclosing row and the 2×
|
|
171
|
+
* price relation, not the flat-text neighbor.
|
|
172
|
+
*
|
|
168
173
|
* Keep in sync with the official pricing page when the model set or the peak
|
|
169
174
|
* windows change (see the dsh-commandcode-upstream skill).
|
|
170
175
|
*/
|
|
@@ -182,7 +187,7 @@ declare function peakPricingState(modelId: string, now?: number): 'peak' | 'off-
|
|
|
182
187
|
* for models without time-of-day pricing.
|
|
183
188
|
*/
|
|
184
189
|
declare function peakPricingLabel(modelId: string, now?: number): string | undefined;
|
|
185
|
-
declare const COMMAND_CODE_CLI_VERSION = "1.
|
|
190
|
+
declare const COMMAND_CODE_CLI_VERSION = "1.36.0";
|
|
186
191
|
declare const DEFAULT_API_BASE = "https://api.commandcode.ai";
|
|
187
192
|
declare const DEFAULT_GENERATE_MAX_TOKENS = 64000;
|
|
188
193
|
declare const DEFAULT_MAX_OUTPUT_TOKENS = 65536;
|
package/lib/index.js
CHANGED
|
@@ -216,7 +216,7 @@ var CommandCodeAccountPool = class {
|
|
|
216
216
|
* and API key or subscription, and Command Code's terms apply.
|
|
217
217
|
*
|
|
218
218
|
* Wire protocol (reverse-engineered by the pi plugin, command-code@1.28.4;
|
|
219
|
-
* re-verified against command-code@1.
|
|
219
|
+
* re-verified against command-code@1.36.0 — endpoints, request shape, and
|
|
220
220
|
* stream events unchanged):
|
|
221
221
|
* POST {apiBase}/alpha/generate
|
|
222
222
|
* body: { config, memory, taste, skills, params: { model, messages, tools,
|
|
@@ -240,6 +240,11 @@ const KNOWN_EFFORTS = {
|
|
|
240
240
|
"medium",
|
|
241
241
|
"xhigh"
|
|
242
242
|
],
|
|
243
|
+
"Qwen/Qwen3.8-Flash": [
|
|
244
|
+
"low",
|
|
245
|
+
"medium",
|
|
246
|
+
"xhigh"
|
|
247
|
+
],
|
|
243
248
|
"claude-fable-5": [
|
|
244
249
|
"low",
|
|
245
250
|
"medium",
|
|
@@ -355,11 +360,6 @@ const KNOWN_EFFORTS = {
|
|
|
355
360
|
"max"
|
|
356
361
|
],
|
|
357
362
|
"sakana/fugu-ultra": ["high", "xhigh"],
|
|
358
|
-
"stealth/ox-alpha": [
|
|
359
|
-
"low",
|
|
360
|
-
"high",
|
|
361
|
-
"max"
|
|
362
|
-
],
|
|
363
363
|
"xai/grok-4.5": [
|
|
364
364
|
"low",
|
|
365
365
|
"medium",
|
|
@@ -371,6 +371,11 @@ const KNOWN_EFFORTS = {
|
|
|
371
371
|
"high",
|
|
372
372
|
"xhigh"
|
|
373
373
|
],
|
|
374
|
+
"z-ai/glm-5.3-flash": [
|
|
375
|
+
"low",
|
|
376
|
+
"high",
|
|
377
|
+
"max"
|
|
378
|
+
],
|
|
374
379
|
"zai-org/GLM-5.2": ["high", "max"],
|
|
375
380
|
"zai-org/GLM-5.3": [
|
|
376
381
|
"low",
|
|
@@ -399,6 +404,7 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
399
404
|
"Qwen/Qwen3.7-Flash",
|
|
400
405
|
"Qwen/Qwen3.7-Plus",
|
|
401
406
|
"Qwen/Qwen3.8-27B",
|
|
407
|
+
"Qwen/Qwen3.8-Flash",
|
|
402
408
|
"Qwen/Qwen3.8-Max",
|
|
403
409
|
"claude-fable-5",
|
|
404
410
|
"claude-haiku-4-5-20251001",
|
|
@@ -430,15 +436,15 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
430
436
|
"moonshotai/Kimi-K2.7-Code-Highspeed",
|
|
431
437
|
"moonshotai/Kimi-K3",
|
|
432
438
|
"sakana/fugu-ultra",
|
|
433
|
-
"stealth/ox-alpha",
|
|
434
439
|
"stepfun/Step-3.7-Flash",
|
|
435
440
|
"thinkingmachines/inkling",
|
|
436
441
|
"thinkingmachines/inkling-small",
|
|
437
442
|
"xai/grok-4.5",
|
|
438
|
-
"xiaomi/mimo-v2.5"
|
|
443
|
+
"xiaomi/mimo-v2.5",
|
|
444
|
+
"z-ai/glm-5.3-flash"
|
|
439
445
|
]);
|
|
440
446
|
/**
|
|
441
|
-
* Models the official CLI's model table (command-code@1.
|
|
447
|
+
* Models the official CLI's model table (command-code@1.36.0) marks
|
|
442
448
|
* `reasoning:!0` but defines no selectable `reasoning_effort` levels — they
|
|
443
449
|
* think automatically, with Command Code driving the depth. This is the
|
|
444
450
|
* authoritative "thinks, effort not adjustable" set: `KNOWN_EFFORTS` (which
|
|
@@ -446,10 +452,11 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
446
452
|
* effort levels, and this snapshot is not surfaced in the picker's compact
|
|
447
453
|
* description — it exists for programmatic consumers.
|
|
448
454
|
*
|
|
449
|
-
* Source: the command-code@1.
|
|
455
|
+
* Source: the command-code@1.36.0 bundled model table (dist/cli.mjs),
|
|
450
456
|
* cross-checked with https://commandcode.ai/docs/reference/cli/models.
|
|
451
457
|
* (`stealth/ox-alpha` left this set in command-code@1.32.1, which gave it
|
|
452
|
-
* selectable `['low', 'high', 'max']` efforts
|
|
458
|
+
* selectable `['low', 'high', 'max']` efforts; the preview then ended in
|
|
459
|
+
* 1.34.0, removing the model from the catalog entirely.)
|
|
453
460
|
* Keep in sync via the dsh-commandcode-upstream skill.
|
|
454
461
|
*/
|
|
455
462
|
const KNOWN_THINKING_MODELS = /* @__PURE__ */ new Set([
|
|
@@ -499,6 +506,7 @@ const KNOWN_PLANS = {
|
|
|
499
506
|
"Qwen/Qwen3.7-Max": "go",
|
|
500
507
|
"Qwen/Qwen3.7-Plus": "go",
|
|
501
508
|
"Qwen/Qwen3.8-27B": "go",
|
|
509
|
+
"Qwen/Qwen3.8-Flash": "go",
|
|
502
510
|
"Qwen/Qwen3.8-Max": "go",
|
|
503
511
|
"deepseek/deepseek-v4-flash": "go",
|
|
504
512
|
"deepseek/deepseek-v4-flash-vision-exp": "go",
|
|
@@ -514,7 +522,6 @@ const KNOWN_PLANS = {
|
|
|
514
522
|
"moonshotai/Kimi-K3": "go",
|
|
515
523
|
"nvidia/nemotron-3-ultra-550b-a55b": "go",
|
|
516
524
|
"poolside/laguna-s-2.1-free": "go",
|
|
517
|
-
"stealth/ox-alpha": "go",
|
|
518
525
|
"stepfun/Step-3.5-Flash": "go",
|
|
519
526
|
"stepfun/Step-3.7-Flash": "go",
|
|
520
527
|
"tencent/hy3-paid": "go",
|
|
@@ -523,6 +530,7 @@ const KNOWN_PLANS = {
|
|
|
523
530
|
"xai/grok-4.5": "go",
|
|
524
531
|
"xiaomi/mimo-v2.5": "go",
|
|
525
532
|
"xiaomi/mimo-v2.5-pro": "go",
|
|
533
|
+
"z-ai/glm-5.3-flash": "go",
|
|
526
534
|
"zai-org/GLM-5": "go",
|
|
527
535
|
"zai-org/GLM-5.1": "go",
|
|
528
536
|
"zai-org/GLM-5.2": "go",
|
|
@@ -699,10 +707,6 @@ const KNOWN_DEALS = {
|
|
|
699
707
|
"poolside/laguna-s-2.1-free": {
|
|
700
708
|
label: "FREE",
|
|
701
709
|
free: true
|
|
702
|
-
},
|
|
703
|
-
"stealth/ox-alpha": {
|
|
704
|
-
label: "FREE",
|
|
705
|
-
free: true
|
|
706
710
|
}
|
|
707
711
|
};
|
|
708
712
|
/**
|
|
@@ -711,23 +715,26 @@ const KNOWN_DEALS = {
|
|
|
711
715
|
* charges by the hour: peak hours are 01:00–04:00 and 06:00–10:00 UTC (7h/day,
|
|
712
716
|
* full price); the other 17 hours are off-peak at half price. The V4 Flash
|
|
713
717
|
* Vision (exp) variant (command-code@1.32.0) shares the V4 Flash windows and
|
|
714
|
-
* peak prices ($0.44/$1.32)
|
|
715
|
-
*
|
|
716
|
-
* DeepSeek variants even though the V4 Pro table row lost its hover
|
|
717
|
-
* annotation — kept here on the prose's authority). The picker shows the
|
|
718
|
+
* peak prices ($0.44/$1.32) — each row's hover annotation states exactly 2×
|
|
719
|
+
* that row's displayed off-peak prices. The picker shows the
|
|
718
720
|
* *current* state as a compact
|
|
719
721
|
* label (`Peak`/`Half`) matching the English noun style of the other markers
|
|
720
722
|
* (`Image`, `FREE`), so a developer can tell at a glance whether calling the
|
|
721
723
|
* model right now is cheap or expensive.
|
|
722
724
|
*
|
|
725
|
+
* Extraction caution: in the page's HTML each annotation div sits inside its
|
|
726
|
+
* OWN row's container, immediately before the NEXT row starts — flattening
|
|
727
|
+
* the page to text makes every annotation look like it belongs to the model
|
|
728
|
+
* printed after it. Verify membership against the enclosing row and the 2×
|
|
729
|
+
* price relation, not the flat-text neighbor.
|
|
730
|
+
*
|
|
723
731
|
* Keep in sync with the official pricing page when the model set or the peak
|
|
724
732
|
* windows change (see the dsh-commandcode-upstream skill).
|
|
725
733
|
*/
|
|
726
734
|
const KNOWN_PEAK_PRICING = /* @__PURE__ */ new Set([
|
|
727
735
|
"deepseek/deepseek-v4-pro",
|
|
728
736
|
"deepseek/deepseek-v4-flash",
|
|
729
|
-
"deepseek/deepseek-v4-flash-vision-exp"
|
|
730
|
-
"Qwen/Qwen3.8-Max"
|
|
737
|
+
"deepseek/deepseek-v4-flash-vision-exp"
|
|
731
738
|
]);
|
|
732
739
|
/** Peak hours (UTC, hour-of-day range end-exclusive): 01–03 and 06–09. */
|
|
733
740
|
const PEAK_HOUR_RANGES = [[1, 4], [6, 10]];
|
|
@@ -752,7 +759,7 @@ function peakPricingLabel(modelId, now = Date.now()) {
|
|
|
752
759
|
if (state === void 0) return void 0;
|
|
753
760
|
return state === "peak" ? "Peak" : "Half";
|
|
754
761
|
}
|
|
755
|
-
const COMMAND_CODE_CLI_VERSION = "1.
|
|
762
|
+
const COMMAND_CODE_CLI_VERSION = "1.36.0";
|
|
756
763
|
const DEFAULT_API_BASE = "https://api.commandcode.ai";
|
|
757
764
|
const DEFAULT_GENERATE_MAX_TOKENS = 64e3;
|
|
758
765
|
const DEFAULT_MAX_OUTPUT_TOKENS = 65536;
|