@mars-sea/dsh-commandcode-provider 0.10.0-alpha.2 → 0.10.0-alpha.3
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 +13 -0
- package/lib/client.js +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/index.js +12 -15
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@ 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.10.0-alpha.3] - 2026-09-01
|
|
8
|
+
|
|
9
|
+
> **Alpha channel for dsh 0.1.2-alpha.2.** This release requires **dsh 0.1.2-alpha.2 or later** and is published under the `alpha` npm tag, so `@latest` stays on 0.9.1 for older Harness releases. Install it explicitly with `@alpha`.
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **New model: DeepSeek V4 Flash Fast (`deepseek/deepseek-v4-flash-fast`, command-code@1.39.0).** A Go-tier 1M-context low-latency DeepSeek V4 Flash deployment: it appears in the picker under the Go tier with `1M` markers, offers selectable reasoning efforts (`low`/`high`/`max`), and carries time-of-day (peak/off-peak) pricing like the rest of the DeepSeek V4 family. It is text-input only, so it stays outside the Vision whitelist.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- **Synced with the official command-code@1.39.2 CLI** (2026-09-01: 1.39.0 added DeepSeek V4 Flash Fast; 1.39.1 dropped `medium` effort for it; 1.39.2 retired the MiniMax free models). `COMMAND_CODE_CLI_VERSION` is now `1.39.2`.
|
|
18
|
+
- **The MiniMax M3 / M2.7 FREE promo variants were retired** from the official CLI in command-code@1.39.2 ("Retire MiniMax free models"): the browser hides them from the picker and the pricing page no longer lists them as free. The plugin removes their `FREE`/`free: true` entries rather than letting them lapse on their old 2026-09-05 expiry, so users no longer see a retired discount. The paid MiniMax M3 / M2.7 rows keep their own rates.
|
|
19
|
+
|
|
7
20
|
## [0.10.0-alpha.2] - 2026-08-31
|
|
8
21
|
|
|
9
22
|
> **Alpha channel for dsh 0.1.2-alpha.2.** This release requires **dsh 0.1.2-alpha.2 or later** and is published under the `alpha` npm tag, so `@latest` stays on 0.9.1 for older Harness releases. Install it explicitly with `@alpha`.
|
package/lib/client.js
CHANGED
|
@@ -1631,7 +1631,7 @@ window.__ModuleLoader__.load({
|
|
|
1631
1631
|
};
|
|
1632
1632
|
//#endregion
|
|
1633
1633
|
//#region package.json
|
|
1634
|
-
var version = "0.10.0-alpha.
|
|
1634
|
+
var version = "0.10.0-alpha.3";
|
|
1635
1635
|
var repository = {
|
|
1636
1636
|
"type": "git",
|
|
1637
1637
|
"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.39.2) 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,7 +32,7 @@ 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.39.2 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
38
|
* selectable `['low', 'high', 'max']` efforts; the preview then ended in
|
|
@@ -191,7 +191,7 @@ declare function peakPricingState(modelId: string, now?: number): 'peak' | 'off-
|
|
|
191
191
|
* for models without time-of-day pricing.
|
|
192
192
|
*/
|
|
193
193
|
declare function peakPricingLabel(modelId: string, now?: number): string | undefined;
|
|
194
|
-
declare const COMMAND_CODE_CLI_VERSION = "1.
|
|
194
|
+
declare const COMMAND_CODE_CLI_VERSION = "1.39.2";
|
|
195
195
|
declare const DEFAULT_API_BASE = "https://api.commandcode.ai";
|
|
196
196
|
declare const DEFAULT_GENERATE_MAX_TOKENS = 64000;
|
|
197
197
|
declare const DEFAULT_MAX_OUTPUT_TOKENS = 65536;
|
package/lib/index.js
CHANGED
|
@@ -243,7 +243,7 @@ var CommandCodeAccountPool = class {
|
|
|
243
243
|
* and API key or subscription, and Command Code's terms apply.
|
|
244
244
|
*
|
|
245
245
|
* Wire protocol (reverse-engineered by the pi plugin, command-code@1.28.4;
|
|
246
|
-
* re-verified against command-code@1.
|
|
246
|
+
* re-verified against command-code@1.39.2 — endpoints, request shape, and
|
|
247
247
|
* stream events unchanged):
|
|
248
248
|
* POST {apiBase}/alpha/generate
|
|
249
249
|
* body: { config, memory, taste, skills, params: { model, messages, tools,
|
|
@@ -314,6 +314,11 @@ const KNOWN_EFFORTS = {
|
|
|
314
314
|
"xhigh",
|
|
315
315
|
"max"
|
|
316
316
|
],
|
|
317
|
+
"deepseek/deepseek-v4-flash-fast": [
|
|
318
|
+
"low",
|
|
319
|
+
"high",
|
|
320
|
+
"max"
|
|
321
|
+
],
|
|
317
322
|
"deepseek/deepseek-v4-flash": ["high", "max"],
|
|
318
323
|
"deepseek/deepseek-v4-flash-vision-exp": ["high", "max"],
|
|
319
324
|
"deepseek/deepseek-v4-pro": ["high", "max"],
|
|
@@ -476,7 +481,7 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
476
481
|
"z-ai/glm-5.3-flash"
|
|
477
482
|
]);
|
|
478
483
|
/**
|
|
479
|
-
* Models the official CLI's model table (command-code@1.
|
|
484
|
+
* Models the official CLI's model table (command-code@1.39.2) marks
|
|
480
485
|
* `reasoning:!0` but defines no selectable `reasoning_effort` levels — they
|
|
481
486
|
* think automatically, with Command Code driving the depth. This is the
|
|
482
487
|
* authoritative "thinks, effort not adjustable" set: `KNOWN_EFFORTS` (which
|
|
@@ -484,7 +489,7 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
484
489
|
* effort levels, and this snapshot is not surfaced in the picker's compact
|
|
485
490
|
* description — it exists for programmatic consumers.
|
|
486
491
|
*
|
|
487
|
-
* Source: the command-code@1.
|
|
492
|
+
* Source: the command-code@1.39.2 bundled model table (dist/cli.mjs),
|
|
488
493
|
* cross-checked with https://commandcode.ai/docs/reference/cli/models.
|
|
489
494
|
* (`stealth/ox-alpha` left this set in command-code@1.32.1, which gave it
|
|
490
495
|
* selectable `['low', 'high', 'max']` efforts; the preview then ended in
|
|
@@ -544,6 +549,7 @@ const KNOWN_PLANS = {
|
|
|
544
549
|
"Qwen/Qwen3.8-27B": "go",
|
|
545
550
|
"Qwen/Qwen3.8-Flash": "go",
|
|
546
551
|
"Qwen/Qwen3.8-Max": "go",
|
|
552
|
+
"deepseek/deepseek-v4-flash-fast": "go",
|
|
547
553
|
"deepseek/deepseek-v4-flash": "go",
|
|
548
554
|
"deepseek/deepseek-v4-flash-vision-exp": "go",
|
|
549
555
|
"deepseek/deepseek-v4-pro": "go",
|
|
@@ -729,16 +735,6 @@ const KNOWN_DEALS = {
|
|
|
729
735
|
"MiniMaxAI/MiniMax-M3": { label: "50% off" },
|
|
730
736
|
"xiaomi/mimo-v2.5-pro": { label: "99% off" },
|
|
731
737
|
"xiaomi/mimo-v2.5": { label: "98% off" },
|
|
732
|
-
"minimax/minimax-m3-free": {
|
|
733
|
-
label: "FREE",
|
|
734
|
-
free: true,
|
|
735
|
-
expiresAt: "2026-09-05T23:59:59Z"
|
|
736
|
-
},
|
|
737
|
-
"minimax/minimax-m2.7-free": {
|
|
738
|
-
label: "FREE",
|
|
739
|
-
free: true,
|
|
740
|
-
expiresAt: "2026-09-05T23:59:59Z"
|
|
741
|
-
},
|
|
742
738
|
"poolside/laguna-s-2.1-free": {
|
|
743
739
|
label: "FREE",
|
|
744
740
|
free: true
|
|
@@ -769,7 +765,8 @@ const KNOWN_DEALS = {
|
|
|
769
765
|
const KNOWN_PEAK_PRICING = /* @__PURE__ */ new Set([
|
|
770
766
|
"deepseek/deepseek-v4-pro",
|
|
771
767
|
"deepseek/deepseek-v4-flash",
|
|
772
|
-
"deepseek/deepseek-v4-flash-vision-exp"
|
|
768
|
+
"deepseek/deepseek-v4-flash-vision-exp",
|
|
769
|
+
"deepseek/deepseek-v4-flash-fast"
|
|
773
770
|
]);
|
|
774
771
|
/** Peak hours (UTC, hour-of-day range end-exclusive): 01–03 and 06–09. */
|
|
775
772
|
const PEAK_HOUR_RANGES = [[1, 4], [6, 10]];
|
|
@@ -794,7 +791,7 @@ function peakPricingLabel(modelId, now = Date.now()) {
|
|
|
794
791
|
if (state === void 0) return void 0;
|
|
795
792
|
return state === "peak" ? "Peak" : "Half";
|
|
796
793
|
}
|
|
797
|
-
const COMMAND_CODE_CLI_VERSION = "1.
|
|
794
|
+
const COMMAND_CODE_CLI_VERSION = "1.39.2";
|
|
798
795
|
const DEFAULT_API_BASE = "https://api.commandcode.ai";
|
|
799
796
|
const DEFAULT_GENERATE_MAX_TOKENS = 64e3;
|
|
800
797
|
const DEFAULT_MAX_OUTPUT_TOKENS = 65536;
|