@mars-sea/dsh-commandcode-provider 0.10.0-alpha.6 → 0.10.0-alpha.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 +12 -0
- package/lib/client.js +1 -1
- package/lib/index.d.ts +6 -6
- package/lib/index.js +37 -12
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.10.0-alpha.7] - 2026-09-04
|
|
10
|
+
|
|
11
|
+
> **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`.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **Muse Spark family now offers selectable reasoning efforts.** The official command-code@1.45.0 added `low`/`medium`/`high`/`xhigh` effort levels for all Muse Spark variants (1.1, 1.2, 1.2 Contributor, 1.3, 1.3 Contributor). The picker now shows a reasoning-effort selector for these models; they are no longer listed as auto-thinking models.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **Synced with the official command-code@1.46.0 CLI** (2026-09-03: 1.45.0 added Muse Spark reasoning levels, 1.46.0 added browser sign-in and `read_file` document support). `COMMAND_CODE_CLI_VERSION` is now `1.46.0`. Re-verified against the official sources: wire protocol, endpoints, auth flow, model catalog, subscription plan maps, deals, and peak/off-peak windows are all identical to 1.44.0.
|
|
20
|
+
|
|
9
21
|
## [0.10.0-alpha.6] - 2026-09-03
|
|
10
22
|
|
|
11
23
|
> **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
|
@@ -1736,7 +1736,7 @@ window.__ModuleLoader__.load({
|
|
|
1736
1736
|
}
|
|
1737
1737
|
//#endregion
|
|
1738
1738
|
//#region package.json
|
|
1739
|
-
var version = "0.10.0-alpha.
|
|
1739
|
+
var version = "0.10.0-alpha.7";
|
|
1740
1740
|
var repository = {
|
|
1741
1741
|
"type": "git",
|
|
1742
1742
|
"url": "git+https://github.com/Mars-Sea/dsh-commandcode-provider.git"
|
package/lib/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { Context } from "@deepseek-ai/cordis";
|
|
|
7
7
|
import { AttachmentStore } from "@deepseek-ai/dsh-attachment";
|
|
8
8
|
import { CommandDefinition } from "@deepseek-ai/dsh-commands";
|
|
9
9
|
//#region src/adapter.d.ts
|
|
10
|
-
declare const COMMAND_CODE_CLI_VERSION = "1.
|
|
10
|
+
declare const COMMAND_CODE_CLI_VERSION = "1.46.0";
|
|
11
11
|
declare const DEFAULT_API_BASE = "https://api.commandcode.ai";
|
|
12
12
|
declare const DEFAULT_GENERATE_MAX_TOKENS = 64000;
|
|
13
13
|
declare const DEFAULT_MAX_OUTPUT_TOKENS = 65536;
|
|
@@ -445,7 +445,7 @@ declare const KNOWN_EFFORTS: Readonly<Record<string, readonly string[]>>;
|
|
|
445
445
|
*/
|
|
446
446
|
declare const KNOWN_IMAGE_MODELS: ReadonlySet<string>;
|
|
447
447
|
/**
|
|
448
|
-
* Models the official CLI's model table (command-code@1.
|
|
448
|
+
* Models the official CLI's model table (command-code@1.46.0) marks
|
|
449
449
|
* `reasoning:!0` but defines no selectable `reasoning_effort` levels — they
|
|
450
450
|
* think automatically, with Command Code driving the depth. This is the
|
|
451
451
|
* authoritative "thinks, effort not adjustable" set: `KNOWN_EFFORTS` (which
|
|
@@ -453,7 +453,7 @@ declare const KNOWN_IMAGE_MODELS: ReadonlySet<string>;
|
|
|
453
453
|
* effort levels, and this snapshot is not surfaced in the picker's compact
|
|
454
454
|
* description — it exists for programmatic consumers.
|
|
455
455
|
*
|
|
456
|
-
* Source: the command-code@1.
|
|
456
|
+
* Source: the command-code@1.46.0 bundled model table (dist/cli.mjs),
|
|
457
457
|
* cross-checked with https://commandcode.ai/docs/reference/cli/models.
|
|
458
458
|
* (`stealth/ox-alpha` left this set in command-code@1.32.1, which gave it
|
|
459
459
|
* selectable `['low', 'high', 'max']` efforts; the preview then ended in
|
|
@@ -464,9 +464,9 @@ declare const KNOWN_IMAGE_MODELS: ReadonlySet<string>;
|
|
|
464
464
|
* `KNOWN_EFFORTS`. `moonshotai/Kimi-K3` followed the same path in
|
|
465
465
|
* command-code@1.39.3 — it gained `['low', 'high', 'max']` efforts and moved
|
|
466
466
|
* to `KNOWN_EFFORTS`. command-code@1.42.0 added `meituan/LongCat-2.0:free`
|
|
467
|
-
* (reasoning:!0, no efforts)
|
|
468
|
-
*
|
|
469
|
-
*
|
|
467
|
+
* (reasoning:!0, no efforts). command-code@1.45.0 gave the Muse Spark family
|
|
468
|
+
* (1.1, 1.2, 1.2-contributor, 1.3, 1.3-contributor) selectable
|
|
469
|
+
* `['low', 'medium', 'high', 'xhigh']` efforts — they moved to `KNOWN_EFFORTS`.)
|
|
470
470
|
* Keep in sync via the dsh-commandcode-upstream skill.
|
|
471
471
|
*/
|
|
472
472
|
declare const KNOWN_THINKING_MODELS: ReadonlySet<string>;
|
package/lib/index.js
CHANGED
|
@@ -441,6 +441,36 @@ const KNOWN_EFFORTS = {
|
|
|
441
441
|
"low",
|
|
442
442
|
"high",
|
|
443
443
|
"max"
|
|
444
|
+
],
|
|
445
|
+
"meta/muse-spark-1.1": [
|
|
446
|
+
"low",
|
|
447
|
+
"medium",
|
|
448
|
+
"high",
|
|
449
|
+
"xhigh"
|
|
450
|
+
],
|
|
451
|
+
"meta/muse-spark-1.2": [
|
|
452
|
+
"low",
|
|
453
|
+
"medium",
|
|
454
|
+
"high",
|
|
455
|
+
"xhigh"
|
|
456
|
+
],
|
|
457
|
+
"meta/muse-spark-1.2-contributor": [
|
|
458
|
+
"low",
|
|
459
|
+
"medium",
|
|
460
|
+
"high",
|
|
461
|
+
"xhigh"
|
|
462
|
+
],
|
|
463
|
+
"meta/muse-spark-1.3": [
|
|
464
|
+
"low",
|
|
465
|
+
"medium",
|
|
466
|
+
"high",
|
|
467
|
+
"xhigh"
|
|
468
|
+
],
|
|
469
|
+
"meta/muse-spark-1.3-contributor": [
|
|
470
|
+
"low",
|
|
471
|
+
"medium",
|
|
472
|
+
"high",
|
|
473
|
+
"xhigh"
|
|
444
474
|
]
|
|
445
475
|
};
|
|
446
476
|
/**
|
|
@@ -509,7 +539,7 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
509
539
|
"z-ai/glm-5.3-flash"
|
|
510
540
|
]);
|
|
511
541
|
/**
|
|
512
|
-
* Models the official CLI's model table (command-code@1.
|
|
542
|
+
* Models the official CLI's model table (command-code@1.46.0) marks
|
|
513
543
|
* `reasoning:!0` but defines no selectable `reasoning_effort` levels — they
|
|
514
544
|
* think automatically, with Command Code driving the depth. This is the
|
|
515
545
|
* authoritative "thinks, effort not adjustable" set: `KNOWN_EFFORTS` (which
|
|
@@ -517,7 +547,7 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
517
547
|
* effort levels, and this snapshot is not surfaced in the picker's compact
|
|
518
548
|
* description — it exists for programmatic consumers.
|
|
519
549
|
*
|
|
520
|
-
* Source: the command-code@1.
|
|
550
|
+
* Source: the command-code@1.46.0 bundled model table (dist/cli.mjs),
|
|
521
551
|
* cross-checked with https://commandcode.ai/docs/reference/cli/models.
|
|
522
552
|
* (`stealth/ox-alpha` left this set in command-code@1.32.1, which gave it
|
|
523
553
|
* selectable `['low', 'high', 'max']` efforts; the preview then ended in
|
|
@@ -528,9 +558,9 @@ const KNOWN_IMAGE_MODELS = /* @__PURE__ */ new Set([
|
|
|
528
558
|
* `KNOWN_EFFORTS`. `moonshotai/Kimi-K3` followed the same path in
|
|
529
559
|
* command-code@1.39.3 — it gained `['low', 'high', 'max']` efforts and moved
|
|
530
560
|
* to `KNOWN_EFFORTS`. command-code@1.42.0 added `meituan/LongCat-2.0:free`
|
|
531
|
-
* (reasoning:!0, no efforts)
|
|
532
|
-
*
|
|
533
|
-
*
|
|
561
|
+
* (reasoning:!0, no efforts). command-code@1.45.0 gave the Muse Spark family
|
|
562
|
+
* (1.1, 1.2, 1.2-contributor, 1.3, 1.3-contributor) selectable
|
|
563
|
+
* `['low', 'medium', 'high', 'xhigh']` efforts — they moved to `KNOWN_EFFORTS`.)
|
|
534
564
|
* Keep in sync via the dsh-commandcode-upstream skill.
|
|
535
565
|
*/
|
|
536
566
|
const KNOWN_THINKING_MODELS = /* @__PURE__ */ new Set([
|
|
@@ -550,12 +580,7 @@ const KNOWN_THINKING_MODELS = /* @__PURE__ */ new Set([
|
|
|
550
580
|
"thinkingmachines/inkling",
|
|
551
581
|
"thinkingmachines/inkling-small",
|
|
552
582
|
"poolside/laguna-s-2.1-free",
|
|
553
|
-
"meituan/LongCat-2.0:free"
|
|
554
|
-
"meta/muse-spark-1.1",
|
|
555
|
-
"meta/muse-spark-1.2",
|
|
556
|
-
"meta/muse-spark-1.2-contributor",
|
|
557
|
-
"meta/muse-spark-1.3",
|
|
558
|
-
"meta/muse-spark-1.3-contributor"
|
|
583
|
+
"meituan/LongCat-2.0:free"
|
|
559
584
|
]);
|
|
560
585
|
/**
|
|
561
586
|
* The minimum subscription plan a model is included in, per the official plan
|
|
@@ -922,7 +947,7 @@ function capabilityDescription(modelId, contextWindow, now = Date.now()) {
|
|
|
922
947
|
* per-request options thunk and an API-key resolver from the plugin entry
|
|
923
948
|
* (src/index.ts), so a settings change reaches the very next request.
|
|
924
949
|
*/
|
|
925
|
-
const COMMAND_CODE_CLI_VERSION = "1.
|
|
950
|
+
const COMMAND_CODE_CLI_VERSION = "1.46.0";
|
|
926
951
|
const DEFAULT_API_BASE = "https://api.commandcode.ai";
|
|
927
952
|
const DEFAULT_GENERATE_MAX_TOKENS = 64e3;
|
|
928
953
|
const DEFAULT_MAX_OUTPUT_TOKENS = 65536;
|