dsh-code 0.8.0 → 0.9.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 +12 -3
- package/README.md +12 -3
- package/lib/index.mjs +1079 -204
- package/lib/types/app.d.ts +13 -0
- package/lib/types/approval.d.ts +3 -1
- package/lib/types/kernel-panels.d.ts +58 -8
- package/lib/types/models.d.ts +15 -1
- package/lib/types/render/projection.d.ts +2 -0
- package/lib/types/render/tool-preview.d.ts +10 -0
- package/lib/types/session-directory.d.ts +46 -2
- package/lib/types/subagents.d.ts +60 -0
- package/package.json +1 -1
- package/src/app.ts +359 -75
- package/src/approval.ts +161 -135
- package/src/index.ts +175 -8
- package/src/kernel-panels.ts +310 -30
- package/src/models.ts +26 -0
- package/src/render/lines.ts +236 -233
- package/src/render/projection.ts +5 -1
- package/src/render/tool-preview.ts +77 -50
- package/src/session-directory.ts +128 -6
- package/src/subagents.ts +165 -0
package/README.en.md
CHANGED
|
@@ -39,10 +39,10 @@ Requires Node `^22.19 || >=24` and the preview `dsh` CLI. `DEEPSEEK_API_KEY` is
|
|
|
39
39
|
```sh
|
|
40
40
|
npm install -g @deepseek-ai/dsh dsh-code
|
|
41
41
|
npm install -g pnpm
|
|
42
|
-
dsh plugin --profile cli add dsh-code@0.
|
|
42
|
+
dsh plugin --profile cli add dsh-code@0.9.0
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
> Note: pnpm ignores packages published less than 24 hours ago, so pin `dsh-code@0.
|
|
45
|
+
> Note: pnpm ignores packages published less than 24 hours ago, so pin `dsh-code@0.9.0` on the release day; the version can be omitted afterwards. npm installs are not affected.
|
|
46
46
|
|
|
47
47
|
Available launch commands:
|
|
48
48
|
|
|
@@ -216,7 +216,16 @@ dsh plugin --profile cli add github:unlinearity/dsh-code
|
|
|
216
216
|
|
|
217
217
|
The Git package builds during installation. If pnpm asks for an `allowBuilds` entry, copy the complete entry it prints into `~/.dsh/profiles/cli/pnpm-workspace.yaml`, then run the command again. The key includes the Git URL and commit, so do not replace it with only `dsh-code`.
|
|
218
218
|
|
|
219
|
-
### 2.
|
|
219
|
+
### 2. Uninstall
|
|
220
|
+
|
|
221
|
+
```sh
|
|
222
|
+
dsh plugin --profile cli remove dsh-code # unmount the plugin from the cli profile
|
|
223
|
+
npm uninstall -g dsh-code # remove the global package and the deepseek / dsh-code commands
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
Both steps are required for a full removal: the first only unmounts the profile — the `deepseek` command still exists afterwards and reports "the cli profile does not mount dsh-code yet" — while the second removes the global npm package and its launch aliases. Uninstalling does not touch `@deepseek-ai/dsh` itself or persisted session data.
|
|
227
|
+
|
|
228
|
+
### 3. References
|
|
220
229
|
|
|
221
230
|
- Runtime services, events, plugin scopes, and persistence follow **DeepSeek Harness**.
|
|
222
231
|
- Session navigation, popup sizing, scrollback, bottom-pane layout, and resize behavior refer to **Codex CLI**.
|
package/README.md
CHANGED
|
@@ -39,10 +39,10 @@ DSH-Code 保留这套结构,并补充适合编码任务的终端工作流。
|
|
|
39
39
|
```sh
|
|
40
40
|
npm install -g @deepseek-ai/dsh dsh-code
|
|
41
41
|
npm install -g pnpm
|
|
42
|
-
dsh plugin --profile cli add dsh-code@0.
|
|
42
|
+
dsh plugin --profile cli add dsh-code@0.9.0
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
> 提示:pnpm 会忽略发布不足 24 小时的包,因此发布首日请使用精确版本 `dsh-code@0.
|
|
45
|
+
> 提示:pnpm 会忽略发布不足 24 小时的包,因此发布首日请使用精确版本 `dsh-code@0.9.0`;24 小时后可省略版本号。npm 安装不受此限制。
|
|
46
46
|
|
|
47
47
|
可用的启动指令:
|
|
48
48
|
```sh
|
|
@@ -215,7 +215,16 @@ dsh plugin --profile cli add github:unlinearity/dsh-code
|
|
|
215
215
|
|
|
216
216
|
Git 包会在安装阶段构建。若 pnpm 要求添加 `allowBuilds`,请把它输出的完整条目复制到 `~/.dsh/profiles/cli/pnpm-workspace.yaml`,再重新执行命令。该键包含 Git URL 与 commit,不能只写 `dsh-code`。
|
|
217
217
|
|
|
218
|
-
### 2.
|
|
218
|
+
### 2. 卸载
|
|
219
|
+
|
|
220
|
+
```sh
|
|
221
|
+
dsh plugin --profile cli remove dsh-code # 移除 cli profile 中的插件挂载
|
|
222
|
+
npm uninstall -g dsh-code # 移除全局包与 deepseek / dsh-code 命令
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
两条都要执行才是全量卸载:第一条只解除 profile 挂载,此时 `deepseek` 命令仍存在并提示 "the cli profile does not mount dsh-code yet";第二条移除全局 npm 包与启动别名。卸载不影响 `@deepseek-ai/dsh` 本体与已持久化的会话数据。
|
|
226
|
+
|
|
227
|
+
### 3. 参考
|
|
219
228
|
|
|
220
229
|
- 运行时服务、事件、插件作用域和持久化模型遵循 **DeepSeek Harness**。
|
|
221
230
|
- 会话导航、浮层尺寸、scrollback、底部布局与缩放处理参考 **Codex CLI**。
|