@cofy-x/dsh-console 0.1.0-alpha.18 → 0.1.0-alpha.19

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/README.md CHANGED
@@ -6,12 +6,12 @@
6
6
 
7
7
  ## Install
8
8
 
9
- DSH Console requires Node.js 24 or newer, supports DeepSeek Harness `0.1.7-rc.1` through the maximum tested version `0.1.7-rc.1`, and needs a working DSH provider configuration. Console follows audited DSH releases; the compatible prerelease can differ from npm `latest`, so install the exact audited pair:
9
+ DSH Console requires Node.js 24 or newer, supports DeepSeek Harness `0.1.7-rc.2` through the maximum tested version `0.1.7-rc.2`, and needs a working DSH provider configuration. Console follows audited DSH releases; the compatible prerelease can differ from npm `latest`, so install the exact audited pair:
10
10
 
11
11
  Plugin admission on newer releases is still governed by DSH compatibility checks; Console never grants version exemptions or bypasses Host restrictions.
12
12
 
13
13
  ```sh
14
- npm install --global @deepseek-ai/dsh@0.1.7-rc.1 @cofy-x/dsh-console@0.1.0-alpha.18
14
+ npm install --global @deepseek-ai/dsh@0.1.7-rc.2 @cofy-x/dsh-console@0.1.0-alpha.19
15
15
  dsh-console --prompt "hello"
16
16
  ```
17
17
 
package/dist/CHANGELOG.md CHANGED
@@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.1.0-alpha.19] - 2026-09-27
10
+
11
+ ### Changed
12
+
13
+ - Advance the audited DeepSeek Harness baseline to `0.1.7-rc.2` at immutable release commit `477b4f420553e8a52c2fbccc464d7561b239c443`, keeping public Host peers and bundled preset resources on the same published release.
14
+ - Follow the rc.2 public Agent preset roster without recreating its removed mode-selection switch; Harness remains responsible for effective defaults and selection validity.
15
+
9
16
  ## [0.1.0-alpha.18] - 2026-09-24
10
17
 
11
18
  ### Changed
@@ -223,7 +230,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
223
230
  - Keep debug diagnostics aligned within the existing footer row and preserve structured logs in the debug console.
224
231
  - Address initial CodeQL findings, dependency advisories, CI concurrency issues, and release build ordering.
225
232
 
226
- [Unreleased]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.18...HEAD
233
+ [Unreleased]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.19...HEAD
234
+ [0.1.0-alpha.19]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.18...v0.1.0-alpha.19
227
235
  [0.1.0-alpha.18]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.17...v0.1.0-alpha.18
228
236
  [0.1.0-alpha.17]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.16...v0.1.0-alpha.17
229
237
  [0.1.0-alpha.16]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.15...v0.1.0-alpha.16
@@ -6426,7 +6426,7 @@ import { Box as Box25 } from "ink";
6426
6426
  import { Box as Box21, Text as Text21 } from "ink";
6427
6427
 
6428
6428
  // src/generated/git-commit.ts
6429
- var GIT_COMMIT_INFO = "5944608";
6429
+ var GIT_COMMIT_INFO = "649cfc6";
6430
6430
 
6431
6431
  // src/ui/components/dialogs/about-box.tsx
6432
6432
  import { jsx as jsx28, jsxs as jsxs21 } from "react/jsx-runtime";
@@ -22603,7 +22603,7 @@ function AgentPresetDialog({
22603
22603
  /* @__PURE__ */ jsx105(DialogCloseAction, { onClose: close, isActive: !snapshot.busy })
22604
22604
  ] }),
22605
22605
  (error ?? snapshot.error) && /* @__PURE__ */ jsx105(Box82, { marginTop: 1, children: /* @__PURE__ */ jsx105(Text77, { color: theme.status.error, children: error ?? snapshot.error }) }),
22606
- !snapshot.modeSelectionEnabled ? /* @__PURE__ */ jsx105(Box82, { marginTop: 1, children: /* @__PURE__ */ jsx105(Text77, { color: theme.text.secondary, children: "Agent preset selection is disabled by the DSH host." }) }) : snapshot.options.length === 0 ? /* @__PURE__ */ jsx105(Box82, { marginTop: 1, children: /* @__PURE__ */ jsx105(Text77, { color: theme.text.secondary, children: "No Agent presets are available." }) }) : /* @__PURE__ */ jsxs79(Box82, { flexDirection: "row", marginTop: 1, children: [
22606
+ snapshot.options.length === 0 ? /* @__PURE__ */ jsx105(Box82, { marginTop: 1, children: /* @__PURE__ */ jsx105(Text77, { color: theme.text.secondary, children: "No Agent presets are available." }) }) : /* @__PURE__ */ jsxs79(Box82, { flexDirection: "row", marginTop: 1, children: [
22607
22607
  /* @__PURE__ */ jsx105(Box82, { width: "50%", paddingRight: 2, flexDirection: "column", children: /* @__PURE__ */ jsx105(
22608
22608
  RadioButtonSelect,
22609
22609
  {
@@ -22672,13 +22672,6 @@ var presetCommand = {
22672
22672
  };
22673
22673
  }
22674
22674
  await runtime.prepare(context.invocation.signal);
22675
- if (!runtime.getSnapshot().modeSelectionEnabled) {
22676
- return {
22677
- type: "message",
22678
- messageType: "info",
22679
- content: "Agent preset selection is disabled by the DSH host."
22680
- };
22681
- }
22682
22675
  if (context.services.sideConversation?.getWorkspaceSnapshot().sideSessionId !== void 0) {
22683
22676
  return {
22684
22677
  type: "message",
@@ -22723,7 +22716,6 @@ var presetCommand = {
22723
22716
  await runtime.prepare();
22724
22717
  const prefix = partialArg.trimStart();
22725
22718
  const snapshot = runtime.getSnapshot();
22726
- if (!snapshot.modeSelectionEnabled) return [];
22727
22719
  return snapshot.options.filter(
22728
22720
  (option) => option.broken === void 0 && option.id.startsWith(prefix)
22729
22721
  ).map((option) => {
@@ -29556,8 +29548,7 @@ function waitForSharedPromise(promise, signal) {
29556
29548
  var EMPTY_OPTIONS = Object.freeze([]);
29557
29549
  async function resolveNewSessionPreset(presets, requestedId) {
29558
29550
  if (requestedId === void 0) return presets.resolve();
29559
- const roster = await presets.remoteExportList();
29560
- return presets.resolve(roster.modeSelectionEnabled ? requestedId : void 0);
29551
+ return presets.resolve(requestedId);
29561
29552
  }
29562
29553
  var DshAgentPresetRuntime = class {
29563
29554
  constructor(presets, projections, activeAgent, pendingPresetId, selectPendingPreset, onSelected) {
@@ -29569,7 +29560,6 @@ var DshAgentPresetRuntime = class {
29569
29560
  this.onSelected = onSelected;
29570
29561
  this.snapshot = Object.freeze({
29571
29562
  status: "idle",
29572
- modeSelectionEnabled: false,
29573
29563
  currentId: this.currentId(),
29574
29564
  options: EMPTY_OPTIONS,
29575
29565
  busy: false
@@ -29608,9 +29598,6 @@ var DshAgentPresetRuntime = class {
29608
29598
  if (this.activeAgent() !== agent) {
29609
29599
  throw new Error("The active Session changed. Reopen Agent presets.");
29610
29600
  }
29611
- if (!this.snapshot.modeSelectionEnabled) {
29612
- throw new Error("Agent preset selection is disabled by the DSH host.");
29613
- }
29614
29601
  const option = this.snapshot.options.find(
29615
29602
  (candidate) => candidate.id === id
29616
29603
  );
@@ -29673,8 +29660,7 @@ var DshAgentPresetRuntime = class {
29673
29660
  );
29674
29661
  this.snapshot = Object.freeze({
29675
29662
  status: "ready",
29676
- modeSelectionEnabled: roster.modeSelectionEnabled,
29677
- currentId: this.currentId(roster.modeSelectionEnabled),
29663
+ currentId: this.currentId(),
29678
29664
  options: Object.freeze(options),
29679
29665
  busy: this.snapshot.busy
29680
29666
  });
@@ -29683,17 +29669,16 @@ var DshAgentPresetRuntime = class {
29683
29669
  this.snapshot = Object.freeze({
29684
29670
  ...this.snapshot,
29685
29671
  status: "error",
29686
- modeSelectionEnabled: false,
29687
29672
  error: error instanceof Error ? error.message : String(error)
29688
29673
  });
29689
29674
  this.emit();
29690
29675
  throw error;
29691
29676
  }
29692
29677
  }
29693
- currentId(modeSelectionEnabled = this.snapshot?.modeSelectionEnabled) {
29678
+ currentId() {
29694
29679
  const agent = this.activeAgent();
29695
29680
  if (agent === void 0)
29696
- return (modeSelectionEnabled === false ? void 0 : this.pendingPresetId()) ?? this.presets.defaultId;
29681
+ return this.pendingPresetId() ?? this.presets.defaultId;
29697
29682
  return this.projections.snapshot(agent.session).values.agentPreset ?? this.presets.defaultId;
29698
29683
  }
29699
29684
  refreshCurrent() {
package/dist/dsh/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  apply,
4
4
  inject,
5
5
  name
6
- } from "../chunk-DVH3TTUQ.js";
6
+ } from "../chunk-XTTAN4G5.js";
7
7
  import "../chunk-WTD7XY24.js";
8
8
  import "../chunk-GNENCGXA.js";
9
9
  export {
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  Config,
3
3
  apply,
4
4
  name
5
- } from "./chunk-DVH3TTUQ.js";
5
+ } from "./chunk-XTTAN4G5.js";
6
6
  import "./chunk-WTD7XY24.js";
7
7
  import "./chunk-GNENCGXA.js";
8
8
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cofy-x/dsh-console",
3
- "version": "0.1.0-alpha.18",
3
+ "version": "0.1.0-alpha.19",
4
4
  "description": "DSH-native terminal workbench (TUI) for DeepSeek Harness with durable sessions, structured tools, plans, subagents, and rotating Pokémon startup art.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -64,8 +64,8 @@
64
64
  ]
65
65
  },
66
66
  "compatibility": {
67
- "minimum": "0.1.7-rc.1",
68
- "maximumTested": "0.1.7-rc.1"
67
+ "minimum": "0.1.7-rc.2",
68
+ "maximumTested": "0.1.7-rc.2"
69
69
  }
70
70
  },
71
71
  "dependencies": {
@@ -103,28 +103,28 @@
103
103
  "@cofy-x/dsh-console-test-utils": "workspace:*",
104
104
  "@deepseek-ai/cordis": "4.0.4",
105
105
  "@deepseek-ai/cordis-plugin-loader": "1.0.5",
106
- "@deepseek-ai/dsh-cmdline": "0.1.7-rc.1",
107
- "@deepseek-ai/dsh-agent": "0.1.7-rc.1",
108
- "@deepseek-ai/dsh-agent-default-model": "0.1.7-rc.1",
109
- "@deepseek-ai/dsh-agent-preset-registry": "0.1.7-rc.1",
110
- "@deepseek-ai/dsh-session-projection-cache": "0.1.7-rc.1",
111
- "@deepseek-ai/dsh-attachment": "0.1.7-rc.1",
112
- "@deepseek-ai/dsh-commands": "0.1.7-rc.1",
113
- "@deepseek-ai/dsh-credentials": "0.1.7-rc.1",
114
- "@deepseek-ai/dsh-llm": "0.1.7-rc.1",
115
- "@deepseek-ai/dsh-permission-presets": "0.1.7-rc.1",
116
- "@deepseek-ai/dsh-plan-mode": "0.1.7-rc.1",
117
- "@deepseek-ai/dsh-session": "0.1.7-rc.1",
118
- "@deepseek-ai/dsh-session-projection": "0.1.7-rc.1",
119
- "@deepseek-ai/dsh-session-query": "0.1.7-rc.1",
120
- "@deepseek-ai/dsh-skill": "0.1.7-rc.1",
121
- "@deepseek-ai/dsh-settings": "0.1.7-rc.1",
122
- "@deepseek-ai/dsh-subagent": "0.1.7-rc.1",
123
- "@deepseek-ai/dsh-tool-subagent": "0.1.7-rc.1",
124
- "@deepseek-ai/dsh-tool-todo": "0.1.7-rc.1",
125
- "@deepseek-ai/dsh-tools": "0.1.7-rc.1",
126
- "@deepseek-ai/dsh-user-approval": "0.1.7-rc.1",
127
- "@deepseek-ai/dsh-user-questions": "0.1.7-rc.1",
106
+ "@deepseek-ai/dsh-cmdline": "0.1.7-rc.2",
107
+ "@deepseek-ai/dsh-agent": "0.1.7-rc.2",
108
+ "@deepseek-ai/dsh-agent-default-model": "0.1.7-rc.2",
109
+ "@deepseek-ai/dsh-agent-preset-registry": "0.1.7-rc.2",
110
+ "@deepseek-ai/dsh-session-projection-cache": "0.1.7-rc.2",
111
+ "@deepseek-ai/dsh-attachment": "0.1.7-rc.2",
112
+ "@deepseek-ai/dsh-commands": "0.1.7-rc.2",
113
+ "@deepseek-ai/dsh-credentials": "0.1.7-rc.2",
114
+ "@deepseek-ai/dsh-llm": "0.1.7-rc.2",
115
+ "@deepseek-ai/dsh-permission-presets": "0.1.7-rc.2",
116
+ "@deepseek-ai/dsh-plan-mode": "0.1.7-rc.2",
117
+ "@deepseek-ai/dsh-session": "0.1.7-rc.2",
118
+ "@deepseek-ai/dsh-session-projection": "0.1.7-rc.2",
119
+ "@deepseek-ai/dsh-session-query": "0.1.7-rc.2",
120
+ "@deepseek-ai/dsh-skill": "0.1.7-rc.2",
121
+ "@deepseek-ai/dsh-settings": "0.1.7-rc.2",
122
+ "@deepseek-ai/dsh-subagent": "0.1.7-rc.2",
123
+ "@deepseek-ai/dsh-tool-subagent": "0.1.7-rc.2",
124
+ "@deepseek-ai/dsh-tool-todo": "0.1.7-rc.2",
125
+ "@deepseek-ai/dsh-tools": "0.1.7-rc.2",
126
+ "@deepseek-ai/dsh-user-approval": "0.1.7-rc.2",
127
+ "@deepseek-ai/dsh-user-questions": "0.1.7-rc.2",
128
128
  "@deepseek-ai/schemastery": "3.18.4",
129
129
  "@types/hast": "^3.0.4",
130
130
  "@types/node": "^24.10.1",
@@ -134,10 +134,10 @@
134
134
  "@types/yargs": "^17.0.34",
135
135
  "esbuild": "0.27.0",
136
136
  "ink-testing-library": "^4.0.0",
137
- "@deepseek-ai/dsh-jobs": "0.1.7-rc.1",
138
- "@deepseek-ai/dsh-goal": "0.1.7-rc.1",
139
- "@deepseek-ai/dsh-session-title": "0.1.7-rc.1",
140
- "@deepseek-ai/dsh-web-app": "0.1.7-rc.1"
137
+ "@deepseek-ai/dsh-jobs": "0.1.7-rc.2",
138
+ "@deepseek-ai/dsh-goal": "0.1.7-rc.2",
139
+ "@deepseek-ai/dsh-session-title": "0.1.7-rc.2",
140
+ "@deepseek-ai/dsh-web-app": "0.1.7-rc.2"
141
141
  },
142
142
  "engines": {
143
143
  "node": ">=24.0.0"
@@ -145,32 +145,32 @@
145
145
  "peerDependencies": {
146
146
  "@deepseek-ai/cordis": ">=4.0.4 <5.0.0",
147
147
  "@deepseek-ai/cordis-plugin-loader": ">=1.0.5 <2.0.0",
148
- "@deepseek-ai/dsh-cmdline": "0.1.7-rc.1",
149
- "@deepseek-ai/dsh-agent": "0.1.7-rc.1",
150
- "@deepseek-ai/dsh-agent-default-model": "0.1.7-rc.1",
151
- "@deepseek-ai/dsh-agent-preset-registry": "0.1.7-rc.1",
152
- "@deepseek-ai/dsh-session-projection-cache": "0.1.7-rc.1",
153
- "@deepseek-ai/dsh-attachment": "0.1.7-rc.1",
154
- "@deepseek-ai/dsh-commands": "0.1.7-rc.1",
155
- "@deepseek-ai/dsh-credentials": "0.1.7-rc.1",
156
- "@deepseek-ai/dsh-llm": "0.1.7-rc.1",
157
- "@deepseek-ai/dsh-permission-presets": "0.1.7-rc.1",
158
- "@deepseek-ai/dsh-plan-mode": "0.1.7-rc.1",
159
- "@deepseek-ai/dsh-session": "0.1.7-rc.1",
160
- "@deepseek-ai/dsh-session-projection": "0.1.7-rc.1",
161
- "@deepseek-ai/dsh-session-query": "0.1.7-rc.1",
162
- "@deepseek-ai/dsh-skill": "0.1.7-rc.1",
163
- "@deepseek-ai/dsh-settings": "0.1.7-rc.1",
164
- "@deepseek-ai/dsh-subagent": "0.1.7-rc.1",
165
- "@deepseek-ai/dsh-tool-subagent": "0.1.7-rc.1",
166
- "@deepseek-ai/dsh-tool-todo": "0.1.7-rc.1",
167
- "@deepseek-ai/dsh-tools": "0.1.7-rc.1",
168
- "@deepseek-ai/dsh-user-approval": "0.1.7-rc.1",
169
- "@deepseek-ai/dsh-user-questions": "0.1.7-rc.1",
148
+ "@deepseek-ai/dsh-cmdline": "0.1.7-rc.2",
149
+ "@deepseek-ai/dsh-agent": "0.1.7-rc.2",
150
+ "@deepseek-ai/dsh-agent-default-model": "0.1.7-rc.2",
151
+ "@deepseek-ai/dsh-agent-preset-registry": "0.1.7-rc.2",
152
+ "@deepseek-ai/dsh-session-projection-cache": "0.1.7-rc.2",
153
+ "@deepseek-ai/dsh-attachment": "0.1.7-rc.2",
154
+ "@deepseek-ai/dsh-commands": "0.1.7-rc.2",
155
+ "@deepseek-ai/dsh-credentials": "0.1.7-rc.2",
156
+ "@deepseek-ai/dsh-llm": "0.1.7-rc.2",
157
+ "@deepseek-ai/dsh-permission-presets": "0.1.7-rc.2",
158
+ "@deepseek-ai/dsh-plan-mode": "0.1.7-rc.2",
159
+ "@deepseek-ai/dsh-session": "0.1.7-rc.2",
160
+ "@deepseek-ai/dsh-session-projection": "0.1.7-rc.2",
161
+ "@deepseek-ai/dsh-session-query": "0.1.7-rc.2",
162
+ "@deepseek-ai/dsh-skill": "0.1.7-rc.2",
163
+ "@deepseek-ai/dsh-settings": "0.1.7-rc.2",
164
+ "@deepseek-ai/dsh-subagent": "0.1.7-rc.2",
165
+ "@deepseek-ai/dsh-tool-subagent": "0.1.7-rc.2",
166
+ "@deepseek-ai/dsh-tool-todo": "0.1.7-rc.2",
167
+ "@deepseek-ai/dsh-tools": "0.1.7-rc.2",
168
+ "@deepseek-ai/dsh-user-approval": "0.1.7-rc.2",
169
+ "@deepseek-ai/dsh-user-questions": "0.1.7-rc.2",
170
170
  "@deepseek-ai/schemastery": ">=3.18.4 <4.0.0",
171
- "@deepseek-ai/dsh-jobs": "0.1.7-rc.1",
172
- "@deepseek-ai/dsh-goal": "0.1.7-rc.1",
173
- "@deepseek-ai/dsh-session-title": "0.1.7-rc.1"
171
+ "@deepseek-ai/dsh-jobs": "0.1.7-rc.2",
172
+ "@deepseek-ai/dsh-goal": "0.1.7-rc.2",
173
+ "@deepseek-ai/dsh-session-title": "0.1.7-rc.2"
174
174
  },
175
175
  "peerDependenciesMeta": {
176
176
  "@deepseek-ai/cordis": {