dsh-vscode-workbench 0.1.9 → 0.1.11
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 +15 -5
- package/README.md +15 -5
- package/package.json +31 -27
package/README.en.md
CHANGED
|
@@ -64,7 +64,11 @@ The workbench mounts through the official `sidebar.footer.action` and `shell.ove
|
|
|
64
64
|
|
|
65
65
|
## Installation
|
|
66
66
|
|
|
67
|
-
Plugin 0.1.
|
|
67
|
+
Plugin 0.1.11 targets DeepSeek Harness `0.2.1-rc.5` (Cordis `4.0.5`). Update Harness before installing; see the table below for older plugin versions.
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
npm i -g @deepseek-ai/dsh@0.2.1-rc.5
|
|
71
|
+
```
|
|
68
72
|
|
|
69
73
|
```bash
|
|
70
74
|
dsh plugin --profile web add dsh-vscode-workbench
|
|
@@ -107,7 +111,7 @@ If the install ends with only this line, Harness refused the plugin before insta
|
|
|
107
111
|
dsh: plugin command failed; diagnostics: ~/.dsh/profiles/<profile>/.plugin-manager/logs/operation-*/pnpm.log
|
|
108
112
|
```
|
|
109
113
|
|
|
110
|
-
Harness runs a compatibility preflight first:
|
|
114
|
+
Harness runs a compatibility preflight first: `engines.dsh` takes precedence; when absent, every `@deepseek-ai/dsh*` peerDependency must match the running Harness version. Prereleases participate in matching. A mismatch aborts installation. The diagnostic log holds the actual verdict:
|
|
111
115
|
|
|
112
116
|
```
|
|
113
117
|
dsh: installation rejected: Plugin dsh-vscode-workbench@<plugin version> is incompatible with dsh <Harness version>: peerDependencies {...}
|
|
@@ -118,19 +122,25 @@ The plugin marketplace files this under the generic `plugin-side install failure
|
|
|
118
122
|
|
|
119
123
|
| Plugin version | Required Harness |
|
|
120
124
|
| --- | --- |
|
|
121
|
-
| 0.1.
|
|
125
|
+
| 0.1.11 | `0.2.1-rc.5` (Cordis `4.0.5`, default baseline); also checked with `0.2.2-rc.1` (Cordis `4.1.0`, Node.js ≥24.9) |
|
|
126
|
+
| 0.1.10 | `0.2.1-rc.4` (Cordis `4.0.5`, previous validation baseline) |
|
|
127
|
+
| 0.1.9 | `0.2.1-alpha.3` (Cordis `4.0.5-alpha.2`, previous validation baseline) |
|
|
122
128
|
| 0.1.8 | `0.1.1-rc.2` |
|
|
123
129
|
|
|
124
|
-
No plugin version runs on Harness `0.2.0-rc.2`: 0.1.9 needs the `workingDirectory` service that first shipped in Harness `0.2.1-alpha.2`, while 0.1.8 only targets `0.1.1-rc.2`. Update Harness to `0.2.1-
|
|
130
|
+
No plugin version runs on Harness `0.2.0-rc.2`: 0.1.9 needs the `workingDirectory` service that first shipped in Harness `0.2.1-alpha.2`, while 0.1.8 only targets `0.1.1-rc.2`. Update Harness to `0.2.1-rc.5` before installing plugin 0.1.11, for example with a global npm install:
|
|
125
131
|
|
|
126
132
|
```bash
|
|
127
|
-
npm i -g @deepseek-ai/dsh@0.2.1-
|
|
133
|
+
npm i -g @deepseek-ai/dsh@0.2.1-rc.5
|
|
128
134
|
```
|
|
129
135
|
|
|
130
136
|
`dsh plugin allow-version` only bypasses the version gate; it does not supply the missing host services, so the plugin still fails to load on `0.2.0-rc.2`. Update Harness instead.
|
|
131
137
|
|
|
132
138
|
### Harness architecture integration
|
|
133
139
|
|
|
140
|
+
Version 0.1.11 updates DSH development dependencies and peers to `0.2.1-rc.5`, keeps Cordis at `4.0.5`, and declares `engines.dsh` explicitly. It also explicitly declares prerelease dependency ranges for `0.2.2-rc.1`. The official `evaluatePluginCompatibility()` validates the installation gate without version exemptions.
|
|
141
|
+
|
|
142
|
+
Both dependency environments pass type checking, 52 tests and the build, covering the official version gate, real Harness cookie authentication and session-directory switching regressions. Full DSH browser end-to-end validation has not been run. The next channel requires Node.js ≥24.9.
|
|
143
|
+
|
|
134
144
|
- Client contributions use `ui-renderer` slots and select the current session through `ui-session`'s `mainView` retain count, replacing the removed `dsh-client-runtime`.
|
|
135
145
|
- Files, search, Git and new terminals use `workingDirectory.get(session)`. Workspace selection follows the working-directory projection; missing sessions return 404.
|
|
136
146
|
- HTTP and WebSocket routes share Harness authentication and Host/Origin checks through `connection.requestRejection()`. Terminals also require loopback access.
|
package/README.md
CHANGED
|
@@ -64,7 +64,11 @@
|
|
|
64
64
|
|
|
65
65
|
## 安装
|
|
66
66
|
|
|
67
|
-
插件 0.1.
|
|
67
|
+
插件 0.1.11 适配 DeepSeek Harness `0.2.1-rc.5`(Cordis `4.0.5`)。请先更新 Harness,再安装插件;旧版对应关系见下表。
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
npm i -g @deepseek-ai/dsh@0.2.1-rc.5
|
|
71
|
+
```
|
|
68
72
|
|
|
69
73
|
```bash
|
|
70
74
|
dsh plugin --profile web add dsh-vscode-workbench
|
|
@@ -107,7 +111,7 @@ dsh plugin --profile web add dsh-vscode-workbench
|
|
|
107
111
|
dsh: plugin command failed; diagnostics: ~/.dsh/profiles/<profile>/.plugin-manager/logs/operation-*/pnpm.log
|
|
108
112
|
```
|
|
109
113
|
|
|
110
|
-
原因是 Harness
|
|
114
|
+
原因是 Harness 的兼容性预检:优先用插件的 `engines.dsh` 比对当前 Harness 版本;未声明时,检查所有 `@deepseek-ai/dsh*` peerDependencies。预发布版本也参与匹配,不满足就中止安装。诊断日志里能看到真正的结论:
|
|
111
115
|
|
|
112
116
|
```
|
|
113
117
|
dsh: installation rejected: Plugin dsh-vscode-workbench@<插件版本> is incompatible with dsh <Harness 版本>: peerDependencies {...}
|
|
@@ -118,19 +122,25 @@ dsh: nothing was installed.
|
|
|
118
122
|
|
|
119
123
|
| 插件版本 | 需要的 Harness |
|
|
120
124
|
| --- | --- |
|
|
121
|
-
| 0.1.
|
|
125
|
+
| 0.1.11 | `0.2.1-rc.5`(Cordis `4.0.5`,默认基线);另验证 `0.2.2-rc.1`(Cordis `4.1.0`,Node.js ≥24.9) |
|
|
126
|
+
| 0.1.10 | `0.2.1-rc.4`(Cordis `4.0.5`,旧版验证基线) |
|
|
127
|
+
| 0.1.9 | `0.2.1-alpha.3`(Cordis `4.0.5-alpha.2`,旧版验证基线) |
|
|
122
128
|
| 0.1.8 | `0.1.1-rc.2` |
|
|
123
129
|
|
|
124
|
-
Harness `0.2.0-rc.2` 上没有可用的插件版本:0.1.9 依赖 Harness `0.2.1-alpha.2` 才引入的 `workingDirectory` 服务,0.1.8 又只适配 `0.1.1-rc.2`。请先把 Harness 升级到 `0.2.1-
|
|
130
|
+
Harness `0.2.0-rc.2` 上没有可用的插件版本:0.1.9 依赖 Harness `0.2.1-alpha.2` 才引入的 `workingDirectory` 服务,0.1.8 又只适配 `0.1.1-rc.2`。请先把 Harness 升级到 `0.2.1-rc.5` 再安装 0.1.11,例如 npm 全局安装时:
|
|
125
131
|
|
|
126
132
|
```bash
|
|
127
|
-
npm i -g @deepseek-ai/dsh@0.2.1-
|
|
133
|
+
npm i -g @deepseek-ai/dsh@0.2.1-rc.5
|
|
128
134
|
```
|
|
129
135
|
|
|
130
136
|
`dsh plugin allow-version` 只跳过版本闸门,不会补上缺失的宿主服务,在 `0.2.0-rc.2` 上插件仍然加载不起来;请优先升级 Harness。
|
|
131
137
|
|
|
132
138
|
### 新版架构适配
|
|
133
139
|
|
|
140
|
+
0.1.11 将 DSH 开发依赖与 peerDependencies 同步至 `0.2.1-rc.5`,Cordis 保持 `4.0.5`,并显式声明 `engines.dsh`。同时显式声明 `0.2.2-rc.1` 的预发布依赖范围。安装版本闸门使用官方 `evaluatePluginCompatibility()` 验证,无需版本豁免。
|
|
141
|
+
|
|
142
|
+
两套依赖环境均通过类型检查、52 项测试及构建,覆盖官方版本闸门、真实 Harness cookie 认证与会话目录切换回归;尚未完成完整 DSH 页面端到端验证。next 渠道需 Node.js ≥24.9。
|
|
143
|
+
|
|
134
144
|
- 客户端通过 `ui-renderer` 提供的槽位服务注册界面,使用 `ui-session` 的 `mainView` 引用选择当前会话;不再依赖已移除的 `dsh-client-runtime`。
|
|
135
145
|
- 文件、搜索、Git 和新建终端通过 `workingDirectory.get(session)` 使用会话当前目录,跟随工作目录投影切换;失效会话返回 404。
|
|
136
146
|
- HTTP 与 WebSocket 接口使用 `connection.requestRejection()`,共享 Harness 登录认证及 Host/Origin 校验;终端额外保留 loopback 限制。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-vscode-workbench",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "Explorer, Monaco editor, search and local Git overlay for DSH",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"registry": "https://registry.npmjs.org"
|
|
18
18
|
},
|
|
19
19
|
"engines": {
|
|
20
|
-
"node": "^22.19.0 || >=24.0.0"
|
|
20
|
+
"node": "^22.19.0 || >=24.0.0",
|
|
21
|
+
"dsh": "^0.2.1-rc.5 || ^0.2.2-rc.1"
|
|
21
22
|
},
|
|
22
23
|
"main": "lib/index.js",
|
|
23
24
|
"types": "lib/types/index.d.ts",
|
|
@@ -69,41 +70,44 @@
|
|
|
69
70
|
"ws": "^8.18.0"
|
|
70
71
|
},
|
|
71
72
|
"peerDependencies": {
|
|
72
|
-
"@deepseek-ai/
|
|
73
|
-
"@deepseek-ai/
|
|
74
|
-
"@deepseek-ai/dsh-client-
|
|
75
|
-
"@deepseek-ai/dsh-client-ui-
|
|
76
|
-
"@deepseek-ai/dsh-client-ui-
|
|
77
|
-
"@deepseek-ai/dsh-client-ui-
|
|
78
|
-
"@deepseek-ai/dsh-client-ui-
|
|
79
|
-
"@deepseek-ai/dsh-client-
|
|
80
|
-
"@deepseek-ai/dsh-host-webserver": "^0.2.1-
|
|
81
|
-
"@deepseek-ai/dsh-
|
|
82
|
-
"@deepseek-ai/dsh-
|
|
73
|
+
"@deepseek-ai/cordis": "^4.0.5",
|
|
74
|
+
"@deepseek-ai/dsh-api-session-controller": "^0.2.1-rc.5 || ^0.2.2-rc.1",
|
|
75
|
+
"@deepseek-ai/dsh-client-connection": "^0.2.1-rc.5 || ^0.2.2-rc.1",
|
|
76
|
+
"@deepseek-ai/dsh-client-ui-layout": "^0.2.1-rc.5 || ^0.2.2-rc.1",
|
|
77
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.2.1-rc.5 || ^0.2.2-rc.1",
|
|
78
|
+
"@deepseek-ai/dsh-client-ui-session": "^0.2.1-rc.5 || ^0.2.2-rc.1",
|
|
79
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "^0.2.1-rc.5 || ^0.2.2-rc.1",
|
|
80
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.2.1-rc.5 || ^0.2.2-rc.1",
|
|
81
|
+
"@deepseek-ai/dsh-host-webserver": "^0.2.1-rc.5 || ^0.2.2-rc.1",
|
|
82
|
+
"@deepseek-ai/dsh-session": "^0.2.1-rc.5 || ^0.2.2-rc.1",
|
|
83
|
+
"@deepseek-ai/dsh-working-directory": "^0.2.1-rc.5 || ^0.2.2-rc.1",
|
|
83
84
|
"react": "^18.2.0",
|
|
84
85
|
"react-dom": "^18.2.0"
|
|
85
86
|
},
|
|
86
87
|
"devDependencies": {
|
|
87
|
-
"@deepseek-ai/
|
|
88
|
-
"@deepseek-ai/
|
|
89
|
-
"@deepseek-ai/cordis": "
|
|
90
|
-
"@deepseek-ai/dsh-
|
|
91
|
-
"@deepseek-ai/dsh-
|
|
92
|
-
"@deepseek-ai/dsh-client-
|
|
93
|
-
"@deepseek-ai/dsh-client-
|
|
94
|
-
"@deepseek-ai/dsh-client-ui-
|
|
95
|
-
"@deepseek-ai/dsh-client-
|
|
96
|
-
"@deepseek-ai/dsh-
|
|
97
|
-
"@deepseek-ai/dsh-
|
|
98
|
-
"@deepseek-ai/dsh-
|
|
99
|
-
"@
|
|
88
|
+
"@deepseek-ai/cordis": "4.0.5",
|
|
89
|
+
"@deepseek-ai/cordis-plugin-group": "1.0.5",
|
|
90
|
+
"@deepseek-ai/cordis-plugin-include": "1.0.10",
|
|
91
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.1-rc.5",
|
|
92
|
+
"@deepseek-ai/dsh-app-boot": "0.2.1-rc.5",
|
|
93
|
+
"@deepseek-ai/dsh-client-connection": "0.2.1-rc.5",
|
|
94
|
+
"@deepseek-ai/dsh-client-store": "0.2.1-rc.5",
|
|
95
|
+
"@deepseek-ai/dsh-client-ui-layout": "0.2.1-rc.5",
|
|
96
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.5",
|
|
97
|
+
"@deepseek-ai/dsh-client-ui-session": "0.2.1-rc.5",
|
|
98
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "0.2.1-rc.5",
|
|
99
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.5",
|
|
100
|
+
"@deepseek-ai/dsh-host-webserver": "0.2.1-rc.5",
|
|
101
|
+
"@deepseek-ai/dsh-session": "0.2.1-rc.5",
|
|
102
|
+
"@deepseek-ai/dsh-working-directory": "0.2.1-rc.5",
|
|
100
103
|
"@types/jsdom": "^28.0.3",
|
|
104
|
+
"@types/node": "^24.0.0",
|
|
101
105
|
"@types/react": "^18.3.0",
|
|
102
106
|
"@types/react-dom": "^18.3.0",
|
|
103
107
|
"@types/ws": "^8.18.0",
|
|
108
|
+
"jsdom": "29.1.1",
|
|
104
109
|
"react": "^18.2.0",
|
|
105
110
|
"react-dom": "^18.3.1",
|
|
106
|
-
"jsdom": "29.1.1",
|
|
107
111
|
"tsdown": "^0.22.2",
|
|
108
112
|
"typescript": "^5.9.0",
|
|
109
113
|
"vitest": "^4.0.0"
|