@banana-peeljj12/dsh-trellis 0.3.5 → 0.3.6
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 +19 -0
- package/README_EN.md +22 -0
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -62,6 +62,25 @@ dsh plugin --profile web add @banana-peeljj12/dsh-trellis@latest
|
|
|
62
62
|
|
|
63
63
|
安装完成后**重启 DSH 服务**。
|
|
64
64
|
|
|
65
|
+
> **桌面版(DeepSeek Harness App)请用自带的 carrier CLI。** 普通 `dsh` CLI 会以
|
|
66
|
+
> `error: profile "desktop" is managed exclusively by the Electron application` 拒绝操作
|
|
67
|
+
> `desktop` profile(该名字被硬编码保护)。请改用桌面版自带的 CLI:
|
|
68
|
+
>
|
|
69
|
+
> ```sh
|
|
70
|
+
> & "F:\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add link:F:\dsh-plugins\dsh-trellis
|
|
71
|
+
> ```
|
|
72
|
+
>
|
|
73
|
+
> 装的若是本地开发目录,用 `link:<仓库绝对路径>`;装完成后**完整退出并重启桌面版**
|
|
74
|
+
> (含托盘图标,确认任务管理器中不再有 `DeepSeek Harness.exe`)才会生效。
|
|
75
|
+
|
|
76
|
+
> **版本兼容性**:插件声明的 `@deepseek-ai/dsh-*` peer 范围必须覆盖当前 DSH 运行时版本。
|
|
77
|
+
> DSH 会在安装前置检查(pnpm 运行之前)与 profile 启动时校验该范围,不匹配会直接
|
|
78
|
+
> `installation rejected` 并拒绝加载——这不是代码问题,而是声明问题:
|
|
79
|
+
> 例如运行时为 `0.2.0-rc.2` 时,`^0.1.7-rc.1`(= `>=0.1.7-rc.1 <0.2.0-0`)不覆盖它,
|
|
80
|
+
> 必须提升到 `^0.2.0-rc.2`。升级 DSH 后若插件突然失效,请先核对 peer 范围。
|
|
81
|
+
> 本仓库当前面向 **DSH 0.2.0-rc.2**;审计证据见
|
|
82
|
+
> [`docs/ref/dsh-0.2.0-rc.2-audit.md`](docs/ref/dsh-0.2.0-rc.2-audit.md)。
|
|
83
|
+
|
|
65
84
|
### 2. 配置白名单目录(重要)
|
|
66
85
|
|
|
67
86
|
为避免非预期介入,插件默认不会拦截未授权的目录。请在 Web 端或配置文件中添加生效路径:
|
package/README_EN.md
CHANGED
|
@@ -62,6 +62,28 @@ dsh plugin --profile web add @banana-peeljj12/dsh-trellis@latest
|
|
|
62
62
|
|
|
63
63
|
After installation, **restart the DSH service**.
|
|
64
64
|
|
|
65
|
+
> **Desktop app (DeepSeek Harness App): use the bundled carrier CLI.** The ordinary `dsh`
|
|
66
|
+
> CLI refuses to touch the `desktop` profile with
|
|
67
|
+
> `error: profile "desktop" is managed exclusively by the Electron application` (that name is
|
|
68
|
+
> hard-coded as protected). Use the CLI shipped inside the app instead:
|
|
69
|
+
>
|
|
70
|
+
> ```sh
|
|
71
|
+
> & "F:\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add link:F:\dsh-plugins\dsh-trellis
|
|
72
|
+
> ```
|
|
73
|
+
>
|
|
74
|
+
> For a local development checkout, install it as `link:<absolute repo path>`. Afterwards
|
|
75
|
+
> **fully quit and relaunch the desktop app** (including the tray icon — confirm no
|
|
76
|
+
> `DeepSeek Harness.exe` remains in Task Manager) for the change to take effect.
|
|
77
|
+
|
|
78
|
+
> **Version compatibility**: the `@deepseek-ai/dsh-*` peer ranges a plugin declares must cover
|
|
79
|
+
> the running DSH version. DSH validates those ranges both in the install preflight (before pnpm
|
|
80
|
+
> runs) and at profile startup; a mismatch produces `installation rejected` and the plugin is not
|
|
81
|
+
> loaded. This is a declaration problem, not a code problem: on a `0.2.0-rc.2` runtime,
|
|
82
|
+
> `^0.1.7-rc.1` (= `>=0.1.7-rc.1 <0.2.0-0`) does not cover it and must be raised to
|
|
83
|
+
> `^0.2.0-rc.2`. If the plugin suddenly stops working after a DSH upgrade, check the peer ranges
|
|
84
|
+
> first. This repository currently targets **DSH 0.2.0-rc.2**; see
|
|
85
|
+
> [`docs/ref/dsh-0.2.0-rc.2-audit.md`](docs/ref/dsh-0.2.0-rc.2-audit.md) for the audit evidence.
|
|
86
|
+
|
|
65
87
|
### 2. Configure Allowed Directories (Important)
|
|
66
88
|
|
|
67
89
|
By default, the plugin will not intercept any unconfigured workspaces. Add your target workspace directory to the allowlist:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@banana-peeljj12/dsh-trellis",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.6",
|
|
4
4
|
"description": "Self-contained Trellis workflow trigger for DeepSeek Harness: per-turn breadcrumb injection via agent/pre-step, a bundled skill provider, and DSH-native task/phase state resolution. No Trellis AGPL code is vendored; workflow semantics are rewritten and licensed MIT.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -56,22 +56,22 @@
|
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"@deepseek-ai/cordis": "^4.0.4",
|
|
59
|
-
"@deepseek-ai/dsh-agent": "^0.
|
|
60
|
-
"@deepseek-ai/dsh-fs": "^0.
|
|
61
|
-
"@deepseek-ai/dsh-llm": "^0.
|
|
62
|
-
"@deepseek-ai/dsh-session": "^0.
|
|
63
|
-
"@deepseek-ai/dsh-settings": "^0.
|
|
64
|
-
"@deepseek-ai/dsh-tools": "^0.
|
|
59
|
+
"@deepseek-ai/dsh-agent": "^0.2.0-rc.2",
|
|
60
|
+
"@deepseek-ai/dsh-fs": "^0.2.0-rc.2",
|
|
61
|
+
"@deepseek-ai/dsh-llm": "^0.2.0-rc.2",
|
|
62
|
+
"@deepseek-ai/dsh-session": "^0.2.0-rc.2",
|
|
63
|
+
"@deepseek-ai/dsh-settings": "^0.2.0-rc.2",
|
|
64
|
+
"@deepseek-ai/dsh-tools": "^0.2.0-rc.2",
|
|
65
65
|
"@deepseek-ai/schemastery": "^3.18.4"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@deepseek-ai/cordis": "4.0.4",
|
|
69
|
-
"@deepseek-ai/dsh-agent": "0.
|
|
70
|
-
"@deepseek-ai/dsh-fs": "0.
|
|
71
|
-
"@deepseek-ai/dsh-llm": "0.
|
|
72
|
-
"@deepseek-ai/dsh-session": "0.
|
|
73
|
-
"@deepseek-ai/dsh-settings": "0.
|
|
74
|
-
"@deepseek-ai/dsh-tools": "0.
|
|
69
|
+
"@deepseek-ai/dsh-agent": "0.2.0-rc.2",
|
|
70
|
+
"@deepseek-ai/dsh-fs": "0.2.0-rc.2",
|
|
71
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.2",
|
|
72
|
+
"@deepseek-ai/dsh-session": "0.2.0-rc.2",
|
|
73
|
+
"@deepseek-ai/dsh-settings": "0.2.0-rc.2",
|
|
74
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.2",
|
|
75
75
|
"@deepseek-ai/schemastery": "3.18.4"
|
|
76
76
|
},
|
|
77
77
|
"peerDependenciesMeta": {
|