@michengai/dsh-simplify 0.1.10 → 0.1.12

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 CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  [简体中文](CHANGELOG.zh-CN.md)
4
4
 
5
+ ## 0.1.12 - 2026-09-30
6
+
7
+ - Support DSH `0.2.0-rc.2` while retaining `0.2.0-rc.1`, `0.1.7-rc.2`, `0.1.7-rc.1`, `0.1.5-rc.3`, `0.1.5-rc.2`, `0.1.5-rc.1`, and `0.1.2-rc.1`.
8
+ - The declared host range includes `0.1.5-rc.3` and no longer lists `0.1.0-rc.8` or `0.1.1-rc.2`.
9
+
10
+ ## 0.1.11 - 2026-09-28
11
+
12
+ - Support DSH `0.2.0-rc.1` while retaining compatibility with `0.1.7-rc.2`, `0.1.7-rc.1`, `0.1.0-rc.8`, `0.1.1-rc.2`, `0.1.2-rc.1`, `0.1.5-rc.1`, and `0.1.5-rc.2`.
13
+
5
14
  ## 0.1.10 - 2026-09-25
6
15
 
7
16
  - Support DSH `0.1.7-rc.2` while retaining compatibility with `0.1.7-rc.1`, `0.1.0-rc.8`, `0.1.1-rc.2`, `0.1.2-rc.1`, `0.1.5-rc.1`, and `0.1.5-rc.2`.
@@ -2,6 +2,15 @@
2
2
 
3
3
  [English](CHANGELOG.md)
4
4
 
5
+ ## 0.1.12 - 2026-09-30
6
+
7
+ - 支持 DSH `0.2.0-rc.2`,继续兼容 `0.2.0-rc.1`、`0.1.7-rc.2`、`0.1.7-rc.1`、`0.1.5-rc.3`、`0.1.5-rc.2`、`0.1.5-rc.1` 和 `0.1.2-rc.1`。
8
+ - 声明的宿主范围纳入 `0.1.5-rc.3`,不再列出 `0.1.0-rc.8` 和 `0.1.1-rc.2`。
9
+
10
+ ## 0.1.11 - 2026-09-28
11
+
12
+ - 支持 DSH `0.2.0-rc.1`,继续兼容 `0.1.7-rc.2`、`0.1.7-rc.1`、`0.1.0-rc.8`、`0.1.1-rc.2`、`0.1.2-rc.1`、`0.1.5-rc.1` 和 `0.1.5-rc.2`。
13
+
5
14
  ## 0.1.10 - 2026-09-25
6
15
 
7
16
  - 支持 DSH `0.1.7-rc.2`,继续兼容 `0.1.7-rc.1`、`0.1.0-rc.8`、`0.1.1-rc.2`、`0.1.2-rc.1`、`0.1.5-rc.1` 和 `0.1.5-rc.2`。
package/README.md CHANGED
@@ -54,20 +54,20 @@ For a desktop workbench, download [DSH Codex Desktop](https://github.com/Micheng
54
54
  ## Prerequisites
55
55
 
56
56
  - DeepSeek Harness is installed, `dsh` is available in your terminal, and the host provides the `commands` and `subprocess` services.
57
- - Host peer dependencies declare `0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.7-rc.1 || 0.1.7-rc.2`.
57
+ - Host peer dependencies declare `0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2`.
58
58
  - Node.js >= 22.19 and Git on PATH.
59
59
  - The current session is associated with a local Git project.
60
60
 
61
61
  ## Installation
62
62
 
63
- The current version is `0.1.10`. The commands below use the `web` profile; replace it for your environment. Disable other plugins that register `/simplify` before installation.
63
+ The current version is `0.1.11`. The commands below use the `web` profile; replace it for your environment. Disable other plugins that register `/simplify` before installation.
64
64
 
65
65
  ### Ask an agent to install it (recommended)
66
66
 
67
67
  Send the prompt below to any agent that can run terminal commands on your computer. Replace `web` with your actual profile. Once installed, use the plugin in DSH.
68
68
 
69
69
  ```text
70
- Install the DSH plugin @michengai/dsh-simplify into my local web profile by running: dsh plugin --profile web add @michengai/dsh-simplify@0.1.10 --registry=https://registry.npmjs.org/. Then run dsh --profile web --dump-config, confirm the configuration includes michengai-simplify, and explain how to reload DSH and start using the plugin.
70
+ Install the DSH plugin @michengai/dsh-simplify into my local web profile by running: dsh plugin --profile web add @michengai/dsh-simplify@0.1.11 --registry=https://registry.npmjs.org/. Then run dsh --profile web --dump-config, confirm the configuration includes michengai-simplify, and explain how to reload DSH and start using the plugin.
71
71
  ```
72
72
 
73
73
  ### Install from npm
@@ -76,19 +76,19 @@ Install the DSH plugin @michengai/dsh-simplify into my local web profile by runn
76
76
  [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
77
77
  $OutputEncoding = [System.Text.Encoding]::UTF8
78
78
 
79
- dsh plugin --profile web add @michengai/dsh-simplify@0.1.10 --registry=https://registry.npmjs.org/
79
+ dsh plugin --profile web add @michengai/dsh-simplify@0.1.11 --registry=https://registry.npmjs.org/
80
80
  ```
81
81
 
82
82
  <details>
83
83
  <summary>Install from a local package</summary>
84
84
 
85
- Download the published tgz from the [GitHub Release](https://github.com/MichengAI/dsh-simplify/releases/tag/v0.1.10), then run this from the package directory:
85
+ Download the published tgz from the [GitHub Release](https://github.com/MichengAI/dsh-simplify/releases/tag/v0.1.11), then run this from the package directory:
86
86
 
87
87
  ```powershell
88
88
  [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
89
89
  $OutputEncoding = [System.Text.Encoding]::UTF8
90
90
 
91
- dsh plugin --profile web add .\michengai-dsh-simplify-0.1.10.tgz --ignore-scripts
91
+ dsh plugin --profile web add .\michengai-dsh-simplify-0.1.11.tgz --ignore-scripts
92
92
  ```
93
93
 
94
94
  </details>
@@ -200,7 +200,7 @@ The entry point is `lib/index.js`, so build before installing. Keep the source d
200
200
 
201
201
  ### Verification
202
202
 
203
- Development dependencies are pinned to DSH `0.1.7-alpha.1`.
203
+ Development dependencies are pinned to DSH `0.2.0-rc.2`. `npm run test:compat` reruns the real command and Git tests on each of the eight isolated host versions.
204
204
 
205
205
  ```powershell
206
206
  [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
package/README.zh-CN.md CHANGED
@@ -54,20 +54,20 @@
54
54
  ## 前置条件
55
55
 
56
56
  - 已安装 DeepSeek Harness,可在终端执行 `dsh`,宿主提供 `commands` 和 `subprocess` 服务。
57
- - 宿主 peer 依赖声明为 `0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.7-rc.1 || 0.1.7-rc.2`。
57
+ - 宿主 peer 依赖声明为 `0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2`。
58
58
  - Node.js >= 22.19,PATH 中可执行 Git。
59
59
  - 当前会话关联本地 Git 项目。
60
60
 
61
61
  ## 安装
62
62
 
63
- 当前版本为 `0.1.10`。以下命令使用 `web` profile,请按实际环境替换。安装前停用其他注册 `/simplify` 的插件。
63
+ 当前版本为 `0.1.11`。以下命令使用 `web` profile,请按实际环境替换。安装前停用其他注册 `/simplify` 的插件。
64
64
 
65
65
  ### 让 Agent 帮你安装(推荐)
66
66
 
67
67
  把下面这段话发给任意能够执行本机终端命令的 Agent。将 `web` 替换为实际使用的 profile;安装完成后,在 DSH 中使用本插件。
68
68
 
69
69
  ```text
70
- 请将 DSH 插件 @michengai/dsh-simplify 安装到本机 web profile,执行:dsh plugin --profile web add @michengai/dsh-simplify@0.1.10 --registry=https://registry.npmjs.org/。安装后执行 dsh --profile web --dump-config,确认配置包含 michengai-simplify,并告诉我如何重新加载 DSH 和开始使用。
70
+ 请将 DSH 插件 @michengai/dsh-simplify 安装到本机 web profile,执行:dsh plugin --profile web add @michengai/dsh-simplify@0.1.11 --registry=https://registry.npmjs.org/。安装后执行 dsh --profile web --dump-config,确认配置包含 michengai-simplify,并告诉我如何重新加载 DSH 和开始使用。
71
71
  ```
72
72
 
73
73
  ### 手动从 npm 安装
@@ -76,19 +76,19 @@
76
76
  [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
77
77
  $OutputEncoding = [System.Text.Encoding]::UTF8
78
78
 
79
- dsh plugin --profile web add @michengai/dsh-simplify@0.1.10 --registry=https://registry.npmjs.org/
79
+ dsh plugin --profile web add @michengai/dsh-simplify@0.1.11 --registry=https://registry.npmjs.org/
80
80
  ```
81
81
 
82
82
  <details>
83
83
  <summary>从本地安装包安装</summary>
84
84
 
85
- 从 [GitHub Release](https://github.com/MichengAI/dsh-simplify/releases/tag/v0.1.10) 下载已发布的 tgz,然后在安装包所在目录执行:
85
+ 从 [GitHub Release](https://github.com/MichengAI/dsh-simplify/releases/tag/v0.1.11) 下载已发布的 tgz,然后在安装包所在目录执行:
86
86
 
87
87
  ```powershell
88
88
  [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
89
89
  $OutputEncoding = [System.Text.Encoding]::UTF8
90
90
 
91
- dsh plugin --profile web add .\michengai-dsh-simplify-0.1.10.tgz --ignore-scripts
91
+ dsh plugin --profile web add .\michengai-dsh-simplify-0.1.11.tgz --ignore-scripts
92
92
  ```
93
93
 
94
94
  </details>
@@ -200,7 +200,7 @@ dsh plugin --profile web add . --ignore-scripts
200
200
 
201
201
  ### 验证
202
202
 
203
- 开发依赖固定为 DSH `0.1.7-alpha.1`。
203
+ 开发依赖固定为 DSH `0.2.0-rc.2`。`npm run test:compat` 在八个隔离宿主版本上重跑真实命令与 Git 测试。
204
204
 
205
205
  ```powershell
206
206
  [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@michengai/dsh-simplify",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "DSH Simplify — 为 DeepSeek Harness 提供限定 Git 变更范围的代码简化,支持未跟踪文件、跨平台路径与可靠的 Git 异常处理 · Git-scoped code simplification with untracked-file support, cross-platform paths, and reliable Git error handling for DeepSeek Harness",
5
5
  "repository": {
6
6
  "type": "git",
@@ -52,6 +52,7 @@
52
52
  "build": "tsc -p tsconfig.json && node scripts/build-client.mjs",
53
53
  "typecheck": "tsc -p tsconfig.json --noEmit",
54
54
  "test": "npm run build && node --test tests/*.test.mjs",
55
+ "test:compat": "node scripts/test-compatibility.mjs",
55
56
  "check": "npm run typecheck && npm test",
56
57
  "prepack": "npm run build"
57
58
  },
@@ -61,11 +62,11 @@
61
62
  },
62
63
  "peerDependencies": {
63
64
  "@deepseek-ai/cordis": "^4.0.2",
64
- "@deepseek-ai/dsh-commands": "0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.7-rc.1 || 0.1.7-rc.2",
65
- "@deepseek-ai/dsh-llm": "0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.7-rc.1 || 0.1.7-rc.2",
66
- "@deepseek-ai/dsh-subprocess": "0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.7-rc.1 || 0.1.7-rc.2",
67
- "@deepseek-ai/dsh-client-ui-commands": "0.1.7-rc.1 || 0.1.7-rc.2",
68
- "@deepseek-ai/dsh-client-ui-primitives": "0.1.7-rc.1 || 0.1.7-rc.2"
65
+ "@deepseek-ai/dsh-commands": "0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
66
+ "@deepseek-ai/dsh-llm": "0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
67
+ "@deepseek-ai/dsh-subprocess": "0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
68
+ "@deepseek-ai/dsh-client-ui-commands": "0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
69
+ "@deepseek-ai/dsh-client-ui-primitives": "0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2"
69
70
  },
70
71
  "peerDependenciesMeta": {
71
72
  "@deepseek-ai/dsh-client-ui-commands": {
@@ -77,12 +78,12 @@
77
78
  },
78
79
  "devDependencies": {
79
80
  "@deepseek-ai/cordis": "4.0.4",
80
- "@deepseek-ai/dsh-client-ui-commands": "0.1.7-rc.2",
81
- "@deepseek-ai/dsh-client-ui-primitives": "0.1.7-rc.2",
82
- "@deepseek-ai/dsh-commands": "0.1.7-rc.2",
83
- "@deepseek-ai/dsh-llm": "0.1.7-rc.2",
84
- "@deepseek-ai/dsh-subprocess": "0.1.7-rc.2",
85
- "@deepseek-ai/dsh-subprocess-local": "0.1.7-rc.2",
81
+ "@deepseek-ai/dsh-client-ui-commands": "0.2.0-rc.2",
82
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2",
83
+ "@deepseek-ai/dsh-commands": "0.2.0-rc.2",
84
+ "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
85
+ "@deepseek-ai/dsh-subprocess": "0.2.0-rc.2",
86
+ "@deepseek-ai/dsh-subprocess-local": "0.2.0-rc.2",
86
87
  "@types/node": "^22.19.0",
87
88
  "esbuild": "^0.25.0",
88
89
  "typescript": "~5.7.2"