@mars-sea/dsh-commandcode-provider 0.8.3 → 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 +15 -0
- package/lib/client.js +1 -1
- package/lib/index.d.ts +5 -4
- package/lib/index.js +21 -17
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,21 @@ 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
|
+
|
|
7
22
|
## [0.8.3] - 2026-08-26
|
|
8
23
|
|
|
9
24
|
### Fixed
|
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>;
|
|
@@ -186,7 +187,7 @@ declare function peakPricingState(modelId: string, now?: number): 'peak' | 'off-
|
|
|
186
187
|
* for models without time-of-day pricing.
|
|
187
188
|
*/
|
|
188
189
|
declare function peakPricingLabel(modelId: string, now?: number): string | undefined;
|
|
189
|
-
declare const COMMAND_CODE_CLI_VERSION = "1.
|
|
190
|
+
declare const COMMAND_CODE_CLI_VERSION = "1.36.0";
|
|
190
191
|
declare const DEFAULT_API_BASE = "https://api.commandcode.ai";
|
|
191
192
|
declare const DEFAULT_GENERATE_MAX_TOKENS = 64000;
|
|
192
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
|
/**
|
|
@@ -755,7 +759,7 @@ function peakPricingLabel(modelId, now = Date.now()) {
|
|
|
755
759
|
if (state === void 0) return void 0;
|
|
756
760
|
return state === "peak" ? "Peak" : "Half";
|
|
757
761
|
}
|
|
758
|
-
const COMMAND_CODE_CLI_VERSION = "1.
|
|
762
|
+
const COMMAND_CODE_CLI_VERSION = "1.36.0";
|
|
759
763
|
const DEFAULT_API_BASE = "https://api.commandcode.ai";
|
|
760
764
|
const DEFAULT_GENERATE_MAX_TOKENS = 64e3;
|
|
761
765
|
const DEFAULT_MAX_OUTPUT_TOKENS = 65536;
|