dsh-code 1.2.0 → 1.3.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.2.0
35
- dsh plugin --profile cli add dsh-code@1.2.0
34
+ npm install -g dsh-code@1.3.0
35
+ dsh plugin --profile cli add dsh-code@1.3.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.2.0/dsh-code-1.2.0.tgz
43
- dsh plugin --profile cli add https://github.com/unlinearity/dsh-code/releases/download/1.2.0/dsh-code-1.2.0.tgz
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
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>`.
@@ -331,7 +331,7 @@ pnpm lint # type-aware ESLint over src, tests, scripts, and the root
331
331
  pnpm typecheck # the build project (src)
332
332
  pnpm typecheck:tests # the spec suite and scripts
333
333
  pnpm test
334
- pnpm test:coverage # coverage report (reporting only, no threshold)
334
+ pnpm test:coverage # coverage report with a conservative regression floor
335
335
  pnpm build
336
336
  pnpm verify # lint + both typechecks + tests in one pass
337
337
  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.2.0
37
- dsh plugin --profile cli add dsh-code@1.2.0
36
+ npm install -g dsh-code@1.3.0
37
+ dsh plugin --profile cli add dsh-code@1.3.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.2.0/dsh-code-1.2.0.tgz
45
- dsh plugin --profile cli add https://github.com/unlinearity/dsh-code/releases/download/1.2.0/dsh-code-1.2.0.tgz
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
46
46
  ```
47
47
 
48
48
  > npm 脚本提示:npm 11.6+ 可能在全局安装时提示 `npm warn install-scripts`(node-pty、koffi 等原生依赖的构建脚本未获批准)。宿主随包自带预编译产物,常规平台可直接忽略;若安装后出现原生模块报错,按 npm 提示执行 `npm install -g --allow-scripts=<包名列表>` 后重装。
@@ -339,7 +339,7 @@ pnpm lint # ESLint(类型敏感):src、tests、scripts、根配
339
339
  pnpm typecheck # 构建项目的类型检查(src)
340
340
  pnpm typecheck:tests # 测试套件与 scripts 的类型检查
341
341
  pnpm test
342
- pnpm test:coverage # 覆盖率报告(只报告,不设门槛)
342
+ pnpm test:coverage # 覆盖率报告,并执行保守的防退化门槛
343
343
  pnpm build
344
344
  pnpm verify # lint + 两个类型检查 + 测试,一次跑完
345
345
  pnpm run gen:whale # 从 vendored Logo 路径重新生成 src/whale-glyph.ts