@cofy-x/dsh-console 0.1.0-alpha.12 → 0.1.0-alpha.13

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,7 +6,7 @@
6
6
 
7
7
  ## Install
8
8
 
9
- DSH Console requires Node.js 24 or newer and a working DSH provider configuration. This release is verified from the npm-default DeepSeek Harness `0.1.1-rc.2` through the current source release `0.1.3-alpha.2`; install DSH normally without pinning the command to a version.
9
+ DSH Console requires Node.js 24 or newer, DeepSeek Harness `0.1.5-rc.1`, and a working DSH provider configuration. This release is verified against the published package and its audited source commit; install DSH normally without pinning the command to a version.
10
10
 
11
11
  ```sh
12
12
  npm install --global @deepseek-ai/dsh @cofy-x/dsh-console
package/dist/CHANGELOG.md CHANGED
@@ -6,6 +6,17 @@ 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.13] - 2026-09-11
10
+
11
+ ### Changed
12
+
13
+ - Require DeepSeek Harness `0.1.5-rc.1`, use its canonical live and durable Assistant stream contracts directly, and retire the pre-v2 `assistant/chunk` compatibility path.
14
+ - Follow Harness's `deepseek-flash` (`DeepSeek-V4.1-Flash`) new-session default and its declared text, image, and in-history system-prompt capabilities without copying model aliases or catalog policy into Console.
15
+
16
+ ### Security
17
+
18
+ - Update Astro and Sharp and enforce patched Hono, js-yaml, Sharp, and smol-toml transitive versions to remediate dependency advisories.
19
+
9
20
  ## [0.1.0-alpha.12] - 2026-09-08
10
21
 
11
22
  ### Added
@@ -147,7 +158,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
147
158
  - Keep debug diagnostics aligned within the existing footer row and preserve structured logs in the debug console.
148
159
  - Address initial CodeQL findings, dependency advisories, CI concurrency issues, and release build ordering.
149
160
 
150
- [Unreleased]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.12...HEAD
161
+ [Unreleased]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.13...HEAD
162
+ [0.1.0-alpha.13]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.12...v0.1.0-alpha.13
151
163
  [0.1.0-alpha.12]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.11...v0.1.0-alpha.12
152
164
  [0.1.0-alpha.11]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.10...v0.1.0-alpha.11
153
165
  [0.1.0-alpha.10]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.9...v0.1.0-alpha.10
@@ -6402,7 +6402,7 @@ import { Box as Box25 } from "ink";
6402
6402
  import { Box as Box21, Text as Text21 } from "ink";
6403
6403
 
6404
6404
  // src/generated/git-commit.ts
6405
- var GIT_COMMIT_INFO = "59ea3ce";
6405
+ var GIT_COMMIT_INFO = "d287de5";
6406
6406
 
6407
6407
  // src/ui/components/dialogs/about-box.tsx
6408
6408
  import { jsx as jsx28, jsxs as jsxs21 } from "react/jsx-runtime";
@@ -25287,17 +25287,12 @@ function projectDshContent(content) {
25287
25287
  return content.map(projectDshContentBlock);
25288
25288
  }
25289
25289
 
25290
- // src/dsh/assistant-stream-compat.ts
25291
- function isLegacyAssistantChunkEvent(event) {
25292
- return event.type === "assistant/chunk";
25293
- }
25290
+ // src/dsh/assistant-stream.ts
25294
25291
  function isFirstTokenChunk(chunk) {
25295
25292
  return chunk.type === "text-delta" && chunk.text !== "" || chunk.type === "reasoning-delta" && chunk.text !== "" || chunk.type === "tool-call-delta" && (chunk.argumentsDelta !== "" || chunk.name !== void 0);
25296
25293
  }
25297
25294
  function assistantStreamFirstTokenTime(event) {
25298
- const { stream } = event.data;
25299
- if (stream === void 0) return void 0;
25300
- for (const record of stream) {
25295
+ for (const record of event.data.stream) {
25301
25296
  if (record.type === "chunk") {
25302
25297
  if (isFirstTokenChunk(record.chunk)) return record.time;
25303
25298
  continue;
@@ -25314,8 +25309,7 @@ function assistantStreamFirstTokenTime(event) {
25314
25309
  return void 0;
25315
25310
  }
25316
25311
  function subscribeToAssistantStream(agent, listener) {
25317
- const on = agent.ctx.on;
25318
- return on("agent/assistant-stream", ({ frame }) => listener(frame));
25312
+ return agent.ctx.on("agent/assistant-stream", ({ frame }) => listener(frame));
25319
25313
  }
25320
25314
 
25321
25315
  // src/dsh/session-timing-projector.ts
@@ -25354,15 +25348,6 @@ var SessionTimingProjector = class {
25354
25348
  }
25355
25349
  return void 0;
25356
25350
  }
25357
- if (isLegacyAssistantChunkEvent(event)) {
25358
- this.projectAssistantChunk(
25359
- event.data.turn,
25360
- event.data.step,
25361
- event.data.chunk,
25362
- at
25363
- );
25364
- return void 0;
25365
- }
25366
25351
  if (event.type === "assistant/attempt") {
25367
25352
  const { turn, step } = event.data;
25368
25353
  const embeddedFirstTokenAt = assistantStreamFirstTokenTime(event);
@@ -25513,10 +25498,6 @@ var DshSessionProjector = class {
25513
25498
  replay(events) {
25514
25499
  const currentSurface = new Set(foldSurface(events).nodes);
25515
25500
  for (const event of events) {
25516
- if (isLegacyAssistantChunkEvent(event)) {
25517
- this.timingProjector.project(event);
25518
- continue;
25519
- }
25520
25501
  if (isSurfaceEvent(event) && !currentSurface.has(event.seq)) continue;
25521
25502
  this.project(event);
25522
25503
  }
@@ -25588,14 +25569,6 @@ var DshSessionProjector = class {
25588
25569
  }
25589
25570
  return;
25590
25571
  }
25591
- if (isLegacyAssistantChunkEvent(event)) {
25592
- this.projectAssistantChunk(
25593
- event.data.turn,
25594
- event.data.step,
25595
- event.data.chunk
25596
- );
25597
- return;
25598
- }
25599
25572
  if (event.type === "assistant/message") {
25600
25573
  if (this.cancelledTurns.has(event.data.turn)) return;
25601
25574
  const stepKey = this.stepKey(event.data.turn, event.data.step);
package/dist/dsh/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  apply,
4
4
  inject,
5
5
  name
6
- } from "../chunk-Y7GHDTL3.js";
6
+ } from "../chunk-QOXF5JRJ.js";
7
7
  import "../chunk-WTD7XY24.js";
8
8
  import "../chunk-3WB6AZUB.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-Y7GHDTL3.js";
5
+ } from "./chunk-QOXF5JRJ.js";
6
6
  import "./chunk-WTD7XY24.js";
7
7
  import "./chunk-3WB6AZUB.js";
8
8
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cofy-x/dsh-console",
3
- "version": "0.1.0-alpha.12",
4
- "description": "A TypeScript and React/Ink terminal frontend for DeepSeek Harness.",
3
+ "version": "0.1.0-alpha.13",
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",
7
7
  "url": "git+https://github.com/cofy-x/dsh-console.git"
@@ -58,8 +58,8 @@
58
58
  "patch": "./cordis.patch.yml"
59
59
  },
60
60
  "compatibility": {
61
- "minimum": "0.1.1-rc.2",
62
- "maximumTested": "0.1.3-alpha.2"
61
+ "minimum": "0.1.5-rc.1",
62
+ "maximumTested": "0.1.5-rc.1"
63
63
  }
64
64
  },
65
65
  "dependencies": {
@@ -94,27 +94,27 @@
94
94
  },
95
95
  "devDependencies": {
96
96
  "@cofy-x/dsh-console-test-utils": "workspace:*",
97
- "@deepseek-ai/cordis": "4.0.1",
98
- "@deepseek-ai/cordis-plugin-loader": "1.0.2",
99
- "@deepseek-ai/dsh-cmdline": "0.1.1-rc.2",
100
- "@deepseek-ai/dsh-agent": "0.1.1-rc.2",
101
- "@deepseek-ai/dsh-agent-default-model": "0.1.1-rc.2",
102
- "@deepseek-ai/dsh-attachment": "0.1.1-rc.2",
103
- "@deepseek-ai/dsh-commands": "0.1.1-rc.2",
104
- "@deepseek-ai/dsh-credentials": "0.1.1-rc.2",
105
- "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
106
- "@deepseek-ai/dsh-permission-presets": "0.1.1-rc.2",
107
- "@deepseek-ai/dsh-plan-mode": "0.1.1-rc.2",
108
- "@deepseek-ai/dsh-session": "0.1.1-rc.2",
109
- "@deepseek-ai/dsh-session-projection": "0.1.1-rc.2",
110
- "@deepseek-ai/dsh-session-query": "0.1.1-rc.2",
111
- "@deepseek-ai/dsh-settings": "0.1.1-rc.2",
112
- "@deepseek-ai/dsh-subagent": "0.1.1-rc.2",
113
- "@deepseek-ai/dsh-tool-todo": "0.1.1-rc.2",
114
- "@deepseek-ai/dsh-tools": "0.1.1-rc.2",
115
- "@deepseek-ai/dsh-user-approval": "0.1.1-rc.2",
116
- "@deepseek-ai/dsh-user-questions": "0.1.1-rc.2",
117
- "@deepseek-ai/schemastery": "3.18.1",
97
+ "@deepseek-ai/cordis": "4.0.2",
98
+ "@deepseek-ai/cordis-plugin-loader": "1.0.3",
99
+ "@deepseek-ai/dsh-cmdline": "0.1.5-rc.1",
100
+ "@deepseek-ai/dsh-agent": "0.1.5-rc.1",
101
+ "@deepseek-ai/dsh-agent-default-model": "0.1.5-rc.1",
102
+ "@deepseek-ai/dsh-attachment": "0.1.5-rc.1",
103
+ "@deepseek-ai/dsh-commands": "0.1.5-rc.1",
104
+ "@deepseek-ai/dsh-credentials": "0.1.5-rc.1",
105
+ "@deepseek-ai/dsh-llm": "0.1.5-rc.1",
106
+ "@deepseek-ai/dsh-permission-presets": "0.1.5-rc.1",
107
+ "@deepseek-ai/dsh-plan-mode": "0.1.5-rc.1",
108
+ "@deepseek-ai/dsh-session": "0.1.5-rc.1",
109
+ "@deepseek-ai/dsh-session-projection": "0.1.5-rc.1",
110
+ "@deepseek-ai/dsh-session-query": "0.1.5-rc.1",
111
+ "@deepseek-ai/dsh-settings": "0.1.5-rc.1",
112
+ "@deepseek-ai/dsh-subagent": "0.1.5-rc.1",
113
+ "@deepseek-ai/dsh-tool-todo": "0.1.5-rc.1",
114
+ "@deepseek-ai/dsh-tools": "0.1.5-rc.1",
115
+ "@deepseek-ai/dsh-user-approval": "0.1.5-rc.1",
116
+ "@deepseek-ai/dsh-user-questions": "0.1.5-rc.1",
117
+ "@deepseek-ai/schemastery": "3.18.2",
118
118
  "@types/hast": "^3.0.4",
119
119
  "@types/node": "^24.10.1",
120
120
  "@types/react": "^19.2.18",
@@ -127,27 +127,27 @@
127
127
  "node": ">=24.0.0"
128
128
  },
129
129
  "peerDependencies": {
130
- "@deepseek-ai/cordis": ">=4.0.1-rc.1 <5.0.0",
131
- "@deepseek-ai/cordis-plugin-loader": ">=1.0.2 <2.0.0",
132
- "@deepseek-ai/dsh-cmdline": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
133
- "@deepseek-ai/dsh-agent": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
134
- "@deepseek-ai/dsh-agent-default-model": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
135
- "@deepseek-ai/dsh-attachment": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
136
- "@deepseek-ai/dsh-commands": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
137
- "@deepseek-ai/dsh-credentials": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
138
- "@deepseek-ai/dsh-llm": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
139
- "@deepseek-ai/dsh-permission-presets": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
140
- "@deepseek-ai/dsh-plan-mode": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
141
- "@deepseek-ai/dsh-session": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
142
- "@deepseek-ai/dsh-session-projection": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
143
- "@deepseek-ai/dsh-session-query": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
144
- "@deepseek-ai/dsh-settings": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
145
- "@deepseek-ai/dsh-subagent": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
146
- "@deepseek-ai/dsh-tool-todo": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
147
- "@deepseek-ai/dsh-tools": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
148
- "@deepseek-ai/dsh-user-approval": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
149
- "@deepseek-ai/dsh-user-questions": ">=0.1.1-rc.2 <=0.1.3-alpha.2",
150
- "@deepseek-ai/schemastery": ">=3.18.1 <4.0.0"
130
+ "@deepseek-ai/cordis": ">=4.0.2 <5.0.0",
131
+ "@deepseek-ai/cordis-plugin-loader": ">=1.0.3 <2.0.0",
132
+ "@deepseek-ai/dsh-cmdline": "0.1.5-rc.1",
133
+ "@deepseek-ai/dsh-agent": "0.1.5-rc.1",
134
+ "@deepseek-ai/dsh-agent-default-model": "0.1.5-rc.1",
135
+ "@deepseek-ai/dsh-attachment": "0.1.5-rc.1",
136
+ "@deepseek-ai/dsh-commands": "0.1.5-rc.1",
137
+ "@deepseek-ai/dsh-credentials": "0.1.5-rc.1",
138
+ "@deepseek-ai/dsh-llm": "0.1.5-rc.1",
139
+ "@deepseek-ai/dsh-permission-presets": "0.1.5-rc.1",
140
+ "@deepseek-ai/dsh-plan-mode": "0.1.5-rc.1",
141
+ "@deepseek-ai/dsh-session": "0.1.5-rc.1",
142
+ "@deepseek-ai/dsh-session-projection": "0.1.5-rc.1",
143
+ "@deepseek-ai/dsh-session-query": "0.1.5-rc.1",
144
+ "@deepseek-ai/dsh-settings": "0.1.5-rc.1",
145
+ "@deepseek-ai/dsh-subagent": "0.1.5-rc.1",
146
+ "@deepseek-ai/dsh-tool-todo": "0.1.5-rc.1",
147
+ "@deepseek-ai/dsh-tools": "0.1.5-rc.1",
148
+ "@deepseek-ai/dsh-user-approval": "0.1.5-rc.1",
149
+ "@deepseek-ai/dsh-user-questions": "0.1.5-rc.1",
150
+ "@deepseek-ai/schemastery": ">=3.18.2 <4.0.0"
151
151
  },
152
152
  "peerDependenciesMeta": {
153
153
  "@deepseek-ai/cordis": {