dsh-code 1.4.0 → 1.5.0

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.en.md CHANGED
@@ -31,16 +31,16 @@ Install from npm (recommended). `/update` and `deepseek update --apply` both wor
31
31
 
32
32
  ```sh
33
33
  npm install -g @deepseek-ai/dsh@0.1.5-rc.2 pnpm
34
- npm install -g dsh-code@1.4.0
35
- dsh plugin --profile cli add dsh-code@1.4.0
34
+ npm install -g dsh-code@1.5.0
35
+ dsh plugin --profile cli add dsh-code@1.5.0
36
36
  ```
37
37
 
38
38
  When npm is unreachable (restricted network, a mirror outage), install the GitHub Release tarball instead. CI builds it on every tag and attaches it to the release; lib is prebuilt, so the installing machine needs no toolchain:
39
39
 
40
40
  ```sh
41
41
  npm install -g @deepseek-ai/dsh@0.1.5-rc.2 pnpm
42
- npm install -g https://github.com/unlinearity/dsh-code/releases/download/1.3.0/dsh-code-1.3.0.tgz
43
- dsh plugin --profile cli add https://github.com/unlinearity/dsh-code/releases/download/1.3.0/dsh-code-1.3.0.tgz
42
+ npm install -g https://github.com/unlinearity/dsh-code/releases/download/1.5.0/dsh-code-1.5.0.tgz
43
+ dsh plugin --profile cli add https://github.com/unlinearity/dsh-code/releases/download/1.5.0/dsh-code-1.5.0.tgz
44
44
  ```
45
45
 
46
46
  > npm script prompts: npm 11.6+ may print `npm warn install-scripts` during a global install (unapproved build scripts for node-pty, koffi, and friends). The host ships prebuilt artifacts, so common platforms can ignore the warning; if a native-module error appears after installing, follow npm's own hint and rerun with `npm install -g --allow-scripts=<package list>`.
@@ -111,13 +111,15 @@ Levels above `high` include `xhigh`, `x-high`, `very-high`, `max`, `maximum`, an
111
111
  | Aurora | Two blue light bands drift across one another, about 1.5 seconds | Three differently hued light bands drift across one another, about 1.8 seconds |
112
112
  | Pulse | One ring expands outward from the center of the composer, about 1.1 seconds | Two rings expand outward in sequence, about 1.45 seconds |
113
113
 
114
+ `/animation off` disables purely decorative effects such as Wave/Pulse, animated theme flow, and rainbow bursts. The input cursor, streaming caret, busy chase, Thinking/Deep Diving shimmer, and `Deep diving...` clock remain live so an active turn never looks frozen.
115
+
114
116
  ### 4. Coding workflow
115
117
 
116
118
  - Use `@` to reference workspace files or existing sessions; selecting PNG, JPEG, WebP, or GIF files attaches the real image automatically
117
119
  - Attach images through the initial prompt, repeated `--image` arguments, or by dragging one or more images into the terminal
118
120
  - Inspect changes by file with `/diff`, and start a read-only code review with `/review` (a range picker; diffs use full-row green/red)
119
121
  - `run_code` lists nested tool calls as they run; workflow runs list their member agents until they finish
120
- - Copy the latest complete response with `/copy`, and inspect full history and tool details with Ctrl+O
122
+ - Copy the latest complete response with `/copy`, and inspect history and full tool details with Ctrl+O; intermediate replies that contain reasoning but no final text do not occupy their own inspector entry
121
123
  - Handle tool approvals, structured questions, plan reviews, multiple selections, and custom answers
122
124
  - Control what the Agent may do with permission Presets and sandboxes; add instructions or interrupt while a task is running
123
125
 
@@ -207,7 +209,7 @@ The following built-in commands are available inside the TUI. Additional Harness
207
209
  | `/theme` | Switch colors: `dark` / `light` / `prismatic` / `rainbow` / `auto` |
208
210
  | `/rainbow [seed]` | Reroll or pin the rainbow theme seed; a bare `/rainbow` rolls a new seed and switches to rainbow |
209
211
  | `/language [en\|zh]` | Switch the interface language, default English; model prompts and factual status values stay in English |
210
- | `/animation` | Toggle timed animations (shimmer/chase/blink/switch wave), `/animation [on\|off]` |
212
+ | `/animation` | Toggle decorative animations; input cursors and activity indicators stay live, `/animation [on\|off]` |
211
213
  | `/help` | View key bindings, built-in commands, Harness commands, and user skills |
212
214
  | `/quit` | Exit DSH-Code |
213
215
 
@@ -220,7 +222,7 @@ The following built-in commands are available inside the TUI. Additional Harness
220
222
  | `Up` / `Down` | Recall the previous or next input-history entry |
221
223
  | `Tab` | Complete commands, skills, or `@` references; on an empty composer, switch the next message between queue and steer |
222
224
  | `@` | Reference workspace files or existing sessions; image files are sent as attachments |
223
- | `Ctrl+O` | Inspect full history and tool details, with a kind label on each entry (user prompt / reply / tool call, and so on) |
225
+ | `Ctrl+O` | Inspect history and full tool details; intermediate replies with reasoning but no final text do not occupy their own entry |
224
226
  | `Ctrl/Alt+R` | Fold or expand model reasoning; run /vscode-keys first in VS Code-family terminals to pass Ctrl+R through |
225
227
  | `Shift+Tab` | Cycle permission Presets, and the plan station when `/plan` is available |
226
228
  | `Delete` | Cancel the newest queued message when the composer is empty (steering is not in the queue; press `Esc` to end the turn instead) |
@@ -331,7 +333,7 @@ pnpm lint # type-aware ESLint over src, tests, scripts, and the root
331
333
  pnpm typecheck # the build project (src)
332
334
  pnpm typecheck:tests # the spec suite and scripts
333
335
  pnpm test
334
- pnpm test:coverage # coverage report with a conservative regression floor
336
+ pnpm test:coverage # coverage report (trend visibility; no percentage gate)
335
337
  pnpm build
336
338
  pnpm verify # lint + both typechecks + tests in one pass
337
339
  pnpm run gen:whale # regenerate src/whale-glyph.ts from the vendored logo path
package/README.md CHANGED
@@ -33,16 +33,16 @@ DeepSeek Harness 将模型、工具、存储、策略和界面作为插件,通
33
33
 
34
34
  ```sh
35
35
  npm install -g @deepseek-ai/dsh@0.1.5-rc.2 pnpm
36
- npm install -g dsh-code@1.4.0
37
- dsh plugin --profile cli add dsh-code@1.4.0
36
+ npm install -g dsh-code@1.5.0
37
+ dsh plugin --profile cli add dsh-code@1.5.0
38
38
  ```
39
39
 
40
40
  npm 不可达时(网络受限、镜像临时故障),改用 GitHub Release tarball。每次打 tag 由 CI 构建并挂到 Release,lib 已预构建,安装机不需要工具链:
41
41
 
42
42
  ```sh
43
43
  npm install -g @deepseek-ai/dsh@0.1.5-rc.2 pnpm
44
- npm install -g https://github.com/unlinearity/dsh-code/releases/download/1.3.0/dsh-code-1.3.0.tgz
45
- dsh plugin --profile cli add https://github.com/unlinearity/dsh-code/releases/download/1.3.0/dsh-code-1.3.0.tgz
44
+ npm install -g https://github.com/unlinearity/dsh-code/releases/download/1.5.0/dsh-code-1.5.0.tgz
45
+ dsh plugin --profile cli add https://github.com/unlinearity/dsh-code/releases/download/1.5.0/dsh-code-1.5.0.tgz
46
46
  ```
47
47
 
48
48
  > npm 脚本提示:npm 11.6+ 可能在全局安装时提示 `npm warn install-scripts`(node-pty、koffi 等原生依赖的构建脚本未获批准)。宿主随包自带预编译产物,常规平台可直接忽略;若安装后出现原生模块报错,按 npm 提示执行 `npm install -g --allow-scripts=<包名列表>` 后重装。
@@ -119,13 +119,15 @@ DSH-Code 的重点是让 DSH 的 Agent、模型、工具和持久会话可以直
119
119
  | Aurora | 两条蓝色光带交错漂移,约 1.5 秒 | 三条不同色调的光带交错漂移,约 1.8 秒 |
120
120
  | Pulse | 一个圆环从输入框中心向外扩散,约 1.1 秒 | 两个圆环先后向外扩散,约 1.45 秒 |
121
121
 
122
+ `/animation off` 只关闭 Wave/Pulse、主题颜色流动和彩虹 burst 等纯装饰效果;输入光标、streaming caret、busy chase、Thinking/Deep Diving shimmer 与 `Deep diving...` 耗时仍会更新,避免运行中的界面看起来卡死。
123
+
122
124
  ### 4. 编码工作流
123
125
 
124
126
  - 使用 `@` 引用工作区文件或已有会话;选择 PNG、JPEG、WebP、GIF 时会自动作为真实图片附件
125
127
  - 支持启动 prompt、多个 `--image` 参数,以及从终端拖入或粘贴附件:图片按图片附件发送,其他文件按原样文件附件发送(单文件 8 MiB、每条消息 8 个以内)
126
128
  - 使用 `/diff` 按文件检查改动,使用 `/review` 发起只读代码审查(弹出范围选择,diff 整行红绿着色)
127
129
  - `run_code` 会列出正在执行的子工具调用;workflow 会列出各成员直到结束
128
- - 使用 `/copy` 复制最近一条完整回复,使用 Ctrl+O 查看完整历史和工具详情
130
+ - 使用 `/copy` 复制最近一条完整回复,使用 Ctrl+O 查看历史和完整工具详情;仅含思考过程、没有最终正文的中间回复不会单独占据检查条目
129
131
  - 支持工具审批、结构化提问、plan review、多选和自定义答案
130
132
  - 使用权限 Preset 和 sandbox 控制 Agent 可以执行的操作;任务运行中仍可补充指令或中断
131
133
 
@@ -215,7 +217,7 @@ dsh --profile cli --session my-id # 使用指定 id 新建会话
215
217
  | `/theme` | 切换配色:`dark` / `light` / `prismatic` / `rainbow` / `auto` |
216
218
  | `/rainbow [seed]` | 重掷或指定 rainbow 主题的配色种子;无参数换一颗并切到 rainbow |
217
219
  | `/language [en\|zh]` | 切换界面语言,默认英文;模型提示词和状态栏事实数据仍为英文 |
218
- | `/animation` | 开关计时动画(shimmer/追逐/闪烁/切换波浪),`/animation [on\|off]` |
220
+ | `/animation` | 开关装饰动画;输入光标和活动指示始终保留,`/animation [on\|off]` |
219
221
  | `/help` | 查看快捷键、内置命令、Harness 命令和用户技能 |
220
222
  | `/quit` | 退出 DSH-Code |
221
223
 
@@ -228,7 +230,7 @@ dsh --profile cli --session my-id # 使用指定 id 新建会话
228
230
  | `Up` / `Down` | 召回上一条或下一条输入记录 |
229
231
  | `Tab` | 补全命令、技能或 `@` 引用;输入框为空时切换下一条消息是排队还是插队 |
230
232
  | `@` | 引用工作区文件或已有会话;图片文件自动作为附件发送 |
231
- | `Ctrl+O` | 查看完整历史与工具详情,每条带种类标签(user prompt / reply / tool call 等) |
233
+ | `Ctrl+O` | 查看历史与完整工具详情;仅含思考过程、没有最终正文的中间回复不单独占据条目 |
232
234
  | `Ctrl/Alt+R` | 折叠或展开思考过程;VS Code 系终端先运行 /vscode-keys 放行 Ctrl+R |
233
235
  | `Shift+Tab` | 循环权限 Preset,并在提供 `/plan` 时经过 plan 档 |
234
236
  | `Delete` | 输入框为空时取消最新一条排队消息(插队不在队列里,要取消请按 `Esc` 结束回合) |
@@ -339,7 +341,7 @@ pnpm lint # ESLint(类型敏感):src、tests、scripts、根配
339
341
  pnpm typecheck # 构建项目的类型检查(src)
340
342
  pnpm typecheck:tests # 测试套件与 scripts 的类型检查
341
343
  pnpm test
342
- pnpm test:coverage # 覆盖率报告,并执行保守的防退化门槛
344
+ pnpm test:coverage # 覆盖率报告(用于观察趋势,不设百分比门槛)
343
345
  pnpm build
344
346
  pnpm verify # lint + 两个类型检查 + 测试,一次跑完
345
347
  pnpm run gen:whale # 从 vendored Logo 路径重新生成 src/whale-glyph.ts