@mars-sea/dsh-commandcode-provider 0.10.0-alpha.4 → 0.10.0-alpha.5
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 +9 -0
- package/lib/client.js +1 -1
- package/lib/index.d.ts +6 -4
- package/lib/index.js +12 -6
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,15 @@ 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.5] - 2026-09-02
|
|
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
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- **Kimi K3 now offers selectable reasoning efforts (`low`/`high`/`max`).** The model gained official effort levels in command-code@1.39.3 ("Add low, high, and max reasoning effort support for Kimi K3"), so the picker can now offer a reasoning-effort selector for it; it is no longer listed as an auto-thinking model.
|
|
14
|
+
- **Synced with the official command-code@1.40.1 CLI** (2026-09-02: 1.39.3 added Kimi K3 effort levels, 1.40.0 added Fable 5.1 — an Anthropic OAuth-routed model outside the Provider API — and 1.40.1 is a ZDR feature-model filter). `COMMAND_CODE_CLI_VERSION` is now `1.40.1`. Re-verified against the official sources with no other changes: wire protocol, endpoints, auth flow, model catalog, plan tiers, subscription plan maps, deals, and peak/off-peak windows are all identical to 1.39.2.
|
|
15
|
+
|
|
7
16
|
## [0.10.0-alpha.4] - 2026-09-01
|
|
8
17
|
|
|
9
18
|
> **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
|
@@ -1633,7 +1633,7 @@ window.__ModuleLoader__.load({
|
|
|
1633
1633
|
};
|
|
1634
1634
|
//#endregion
|
|
1635
1635
|
//#region package.json
|
|
1636
|
-
var version = "0.10.0-alpha.
|
|
1636
|
+
var version = "0.10.0-alpha.5";
|
|
1637
1637
|
var repository = {
|
|
1638
1638
|
"type": "git",
|
|
1639
1639
|
"url": "git+https://github.com/Mars-Sea/dsh-commandcode-provider.git"
|
package/lib/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ declare const KNOWN_EFFORTS: Readonly<Record<string, readonly string[]>>;
|
|
|
25
25
|
*/
|
|
26
26
|
declare const KNOWN_IMAGE_MODELS: ReadonlySet<string>;
|
|
27
27
|
/**
|
|
28
|
-
* Models the official CLI's model table (command-code@1.
|
|
28
|
+
* Models the official CLI's model table (command-code@1.40.1) marks
|
|
29
29
|
* `reasoning:!0` but defines no selectable `reasoning_effort` levels — they
|
|
30
30
|
* think automatically, with Command Code driving the depth. This is the
|
|
31
31
|
* authoritative "thinks, effort not adjustable" set: `KNOWN_EFFORTS` (which
|
|
@@ -33,7 +33,7 @@ declare const KNOWN_IMAGE_MODELS: ReadonlySet<string>;
|
|
|
33
33
|
* effort levels, and this snapshot is not surfaced in the picker's compact
|
|
34
34
|
* description — it exists for programmatic consumers.
|
|
35
35
|
*
|
|
36
|
-
* Source: the command-code@1.
|
|
36
|
+
* Source: the command-code@1.40.1 bundled model table (dist/cli.mjs),
|
|
37
37
|
* cross-checked with https://commandcode.ai/docs/reference/cli/models.
|
|
38
38
|
* (`stealth/ox-alpha` left this set in command-code@1.32.1, which gave it
|
|
39
39
|
* selectable `['low', 'high', 'max']` efforts; the preview then ended in
|
|
@@ -41,7 +41,9 @@ declare const KNOWN_IMAGE_MODELS: ReadonlySet<string>;
|
|
|
41
41
|
* joined this set in command-code@1.37.0 — reasoning:!0, no efforts, 1M
|
|
42
42
|
* context, routed through OpenRouter — then gained selectable
|
|
43
43
|
* `['low', 'medium', 'high']` efforts in command-code@1.38.0 and moved to
|
|
44
|
-
* `KNOWN_EFFORTS`.
|
|
44
|
+
* `KNOWN_EFFORTS`. `moonshotai/Kimi-K3` followed the same path in
|
|
45
|
+
* command-code@1.39.3 — it gained `['low', 'high', 'max']` efforts and moved
|
|
46
|
+
* to `KNOWN_EFFORTS`.)
|
|
45
47
|
* Keep in sync via the dsh-commandcode-upstream skill.
|
|
46
48
|
*/
|
|
47
49
|
declare const KNOWN_THINKING_MODELS: ReadonlySet<string>;
|
|
@@ -192,7 +194,7 @@ declare function peakPricingState(modelId: string, now?: number): 'peak' | 'off-
|
|
|
192
194
|
* for models without time-of-day pricing.
|
|
193
195
|
*/
|
|
194
196
|
declare function peakPricingLabel(modelId: string, now?: number): string | undefined;
|
|
195
|
-
declare const COMMAND_CODE_CLI_VERSION = "1.
|
|
197
|
+
declare const COMMAND_CODE_CLI_VERSION = "1.40.1";
|
|
196
198
|
declare const DEFAULT_API_BASE = "https://api.commandcode.ai";
|
|
197
199
|
declare const DEFAULT_GENERATE_MAX_TOKENS = 64000;
|
|
198
200
|
declare const DEFAULT_MAX_OUTPUT_TOKENS = 65536;
|
package/lib/index.js
CHANGED
|
@@ -244,7 +244,7 @@ var CommandCodeAccountPool = class {
|
|
|
244
244
|
* and API key or subscription, and Command Code's terms apply.
|
|
245
245
|
*
|
|
246
246
|
* Wire protocol (reverse-engineered by the pi plugin, command-code@1.28.4;
|
|
247
|
-
* re-verified against command-code@1.
|
|
247
|
+
* re-verified against command-code@1.40.1 — endpoints, request shape, and
|
|
248
248
|
* stream events unchanged):
|
|
249
249
|
* POST {apiBase}/alpha/generate
|
|
250
250
|
* body: { config, memory, taste, skills, params: { model, messages, tools,
|
|
@@ -392,6 +392,11 @@ const KNOWN_EFFORTS = {
|
|
|
392
392
|
"xhigh",
|
|
393
393
|
"max"
|
|
394
394
|
],
|
|
395
|
+
"moonshotai/Kimi-K3": [
|
|
396
|
+
"low",
|
|
397
|
+
"high",
|
|
398
|
+
"max"
|
|
399
|
+
],
|
|
395
400
|
"sakana/fugu-ultra": ["high", "xhigh"],
|
|
396
401
|
"tencent/hy4-preview": [
|
|
397
402
|
"low",
|
|
@@ -482,7 +487,7 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
482
487
|
"z-ai/glm-5.3-flash"
|
|
483
488
|
]);
|
|
484
489
|
/**
|
|
485
|
-
* Models the official CLI's model table (command-code@1.
|
|
490
|
+
* Models the official CLI's model table (command-code@1.40.1) marks
|
|
486
491
|
* `reasoning:!0` but defines no selectable `reasoning_effort` levels — they
|
|
487
492
|
* think automatically, with Command Code driving the depth. This is the
|
|
488
493
|
* authoritative "thinks, effort not adjustable" set: `KNOWN_EFFORTS` (which
|
|
@@ -490,7 +495,7 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
490
495
|
* effort levels, and this snapshot is not surfaced in the picker's compact
|
|
491
496
|
* description — it exists for programmatic consumers.
|
|
492
497
|
*
|
|
493
|
-
* Source: the command-code@1.
|
|
498
|
+
* Source: the command-code@1.40.1 bundled model table (dist/cli.mjs),
|
|
494
499
|
* cross-checked with https://commandcode.ai/docs/reference/cli/models.
|
|
495
500
|
* (`stealth/ox-alpha` left this set in command-code@1.32.1, which gave it
|
|
496
501
|
* selectable `['low', 'high', 'max']` efforts; the preview then ended in
|
|
@@ -498,7 +503,9 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
498
503
|
* joined this set in command-code@1.37.0 — reasoning:!0, no efforts, 1M
|
|
499
504
|
* context, routed through OpenRouter — then gained selectable
|
|
500
505
|
* `['low', 'medium', 'high']` efforts in command-code@1.38.0 and moved to
|
|
501
|
-
* `KNOWN_EFFORTS`.
|
|
506
|
+
* `KNOWN_EFFORTS`. `moonshotai/Kimi-K3` followed the same path in
|
|
507
|
+
* command-code@1.39.3 — it gained `['low', 'high', 'max']` efforts and moved
|
|
508
|
+
* to `KNOWN_EFFORTS`.)
|
|
502
509
|
* Keep in sync via the dsh-commandcode-upstream skill.
|
|
503
510
|
*/
|
|
504
511
|
const KNOWN_THINKING_MODELS = /* @__PURE__ */ new Set([
|
|
@@ -509,7 +516,6 @@ const KNOWN_THINKING_MODELS = /* @__PURE__ */ new Set([
|
|
|
509
516
|
"Qwen/Qwen3.7-Max",
|
|
510
517
|
"Qwen/Qwen3.7-Plus",
|
|
511
518
|
"minimax/minimax-m3-free",
|
|
512
|
-
"moonshotai/Kimi-K3",
|
|
513
519
|
"moonshotai/Kimi-K2.7-Code",
|
|
514
520
|
"moonshotai/Kimi-K2.7-Code-Highspeed",
|
|
515
521
|
"stepfun/Step-3.5-Flash",
|
|
@@ -792,7 +798,7 @@ function peakPricingLabel(modelId, now = Date.now()) {
|
|
|
792
798
|
if (state === void 0) return void 0;
|
|
793
799
|
return state === "peak" ? "Peak" : "Half";
|
|
794
800
|
}
|
|
795
|
-
const COMMAND_CODE_CLI_VERSION = "1.
|
|
801
|
+
const COMMAND_CODE_CLI_VERSION = "1.40.1";
|
|
796
802
|
const DEFAULT_API_BASE = "https://api.commandcode.ai";
|
|
797
803
|
const DEFAULT_GENERATE_MAX_TOKENS = 64e3;
|
|
798
804
|
const DEFAULT_MAX_OUTPUT_TOKENS = 65536;
|