dsh-remote-vs 0.20.1 → 0.21.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 +5 -5
- package/README.md +4 -4
- package/cordis.patch.yml +10 -0
- package/lib/client.js +3 -3
- package/package.json +34 -34
package/README.en.md
CHANGED
|
@@ -37,9 +37,9 @@ dsh plugin --profile web add dsh-remote-vs
|
|
|
37
37
|
(From npm, recommended; installing straight from the repository also works:
|
|
38
38
|
`dsh plugin --profile web add github:xiray-xia/dsh-remote-vs`.)
|
|
39
39
|
|
|
40
|
-
**Requires DSH `0.2.2-
|
|
41
|
-
**
|
|
42
|
-
|
|
40
|
+
**Requires DSH `0.2.2-rc.2` or newer and below `0.3.0`** (`engines.dsh` enforces the range;
|
|
41
|
+
**adapted to and typechecked against `0.2.2-rc.2`**). On Host `0.2.2-alpha.3` / `0.2.2-rc.1` use plugin `0.20.1`; the
|
|
42
|
+
`0.2.2-alpha.2` generation needs `0.17.0` and the `0.2.1-rc.2` generation needs `0.9.3`. `--profile web` selects which profile to install into —
|
|
43
43
|
this is a Web plugin, so it has to go into the profile your Web GUI runs from (`web` is
|
|
44
44
|
the common name; use your own profile's name). Desktop uses the reserved `desktop`
|
|
45
45
|
profile instead — see [Desktop](#desktop-dsh-desktop) below.
|
|
@@ -74,7 +74,7 @@ Install either way:
|
|
|
74
74
|
`desktop` is reserved for the Electron application: an **npm-installed `dsh` cannot manage
|
|
75
75
|
it** (it answers `profile "desktop" is managed exclusively by the Electron application`),
|
|
76
76
|
so one of the two routes above is required. The Desktop release version equals the DSH
|
|
77
|
-
runtime it bundles, and it must satisfy `engines.dsh` (`>=0.2.2-
|
|
77
|
+
runtime it bundles, and it must satisfy `engines.dsh` (`>=0.2.2-rc.2`; check About);
|
|
78
78
|
older releases make the Plugins page refuse the install. Desktop opens no visible Web
|
|
79
79
|
port, but the plugin's HTTP routes and terminal socket are forwarded through Desktop's
|
|
80
80
|
Host (the terminal resolves its address from `__DSH_TRANSPORT__.streamBaseUrl`), so no
|
|
@@ -220,7 +220,7 @@ dsh_remote_vs/
|
|
|
220
220
|
├── vendor/dsh-remote-helpers/ # helper seeds (shipped, seeded into cache at startup, see below)
|
|
221
221
|
├── docs/ # local-only working docs (only docs/media/ screenshots ship)
|
|
222
222
|
│ ├── MAINTENANCE.md # local-only (.gitignore), not shipped: upgrade impact, checklist, pitfalls, release
|
|
223
|
-
│ ├── VERSION-HISTORY.md # local-only: per-release change log (0.7.1 → 0.
|
|
223
|
+
│ ├── VERSION-HISTORY.md # local-only: per-release change log (0.7.1 → 0.21.0)
|
|
224
224
|
│ └── GATES.md # local-only: local gate inventory and measured assertion counts
|
|
225
225
|
├── locale/ # bilingual plugin metadata
|
|
226
226
|
└── lib/ # build output (**must be committed**; only .map is ignored; restart after link install)
|
package/README.md
CHANGED
|
@@ -34,8 +34,8 @@ dsh plugin --profile web add dsh-remote-vs
|
|
|
34
34
|
|
|
35
35
|
(从 npm 装,推荐;也可以直接跟仓库装:`dsh plugin --profile web add github:xiray-xia/dsh-remote-vs`。)
|
|
36
36
|
|
|
37
|
-
**需要 DSH `0.2.2-
|
|
38
|
-
Host 仍是 `0.2.2-alpha.
|
|
37
|
+
**需要 DSH `0.2.2-rc.2` 及以上、`0.3.0` 以下**(`engines.dsh` 门到底;已按 rc.2 适配并通过类型检查与本地全量门禁)。
|
|
38
|
+
Host 仍是 `0.2.2-alpha.3` / `0.2.2-rc.1` 的请用插件 `0.20.1`;`0.2.2-alpha.2` 一代请用 `0.17.0`;`0.2.1-rc.2` 一代请用 `0.9.3`。
|
|
39
39
|
`--profile web` 指明装进哪个 profile —— 本插件是 Web 插件,
|
|
40
40
|
要装进 Web GUI 所用的那个(`web` 是常见命名,以你自己的 profile 名为准);
|
|
41
41
|
桌面端用的是保留 profile `desktop`,见下面「桌面端」。
|
|
@@ -63,7 +63,7 @@ Host 仍是 `0.2.2-alpha.2` 的请用插件 `0.17.0`(或先把 DSH 升到 `0.2
|
|
|
63
63
|
注意:`desktop` 是桌面端独占的保留 profile,**npm 全局安装的 `dsh` 不能管理它**
|
|
64
64
|
(会报 `profile "desktop" is managed exclusively by the Electron application`),
|
|
65
65
|
只能走上面两条路径。桌面端的版本号等于它捆绑的 DSH 运行时版本,同样要满足
|
|
66
|
-
`engines.dsh` 要求(`>=0.2.2-
|
|
66
|
+
`engines.dsh` 要求(`>=0.2.2-rc.2`,关于面板可看);低于该版本时插件页会直接拒绝
|
|
67
67
|
安装。桌面端没有可见的 Web 端口,但本插件的 HTTP 路由与终端 socket 都经桌面端的
|
|
68
68
|
Host 转发(终端按 `__DSH_TRANSPORT__.streamBaseUrl` 解析地址),无需额外设置。
|
|
69
69
|
|
|
@@ -205,7 +205,7 @@ dsh_remote_vs/
|
|
|
205
205
|
├── vendor/dsh-remote-helpers/ # helper 种子(随包发布,启动铺缓存,见下)
|
|
206
206
|
├── docs/ # 本地工作文档(不推送 GitHub;只有 docs/media/ 的截图随仓库公开)
|
|
207
207
|
│ ├── MAINTENANCE.md # 本地私有(.gitignore,不入库):升级影响面/检查清单/踩坑/发布流程
|
|
208
|
-
│ ├── VERSION-HISTORY.md # 本地私有:逐版本变更纪要(0.7.1 → 0.
|
|
208
|
+
│ ├── VERSION-HISTORY.md # 本地私有:逐版本变更纪要(0.7.1 → 0.21.0)
|
|
209
209
|
│ └── GATES.md # 本地私有:本地门禁清单与实跑条数
|
|
210
210
|
├── locale/ # 插件元信息双语
|
|
211
211
|
└── lib/ # 构建产物(**必须入库**,只有 .map 忽略;link 安装后重启即生效)
|
package/cordis.patch.yml
CHANGED
|
@@ -54,6 +54,9 @@
|
|
|
54
54
|
inject: [localFileReferences, remoteWorlds]
|
|
55
55
|
|
|
56
56
|
# Remote agent preset, bound to this bundle's lifecycle.
|
|
57
|
+
# Mirrored from preset-standard @ dsh 0.2.2-rc.2. rc.2 deltas adopted:
|
|
58
|
+
# skill-filesystem customSkillDirs, tool-subagent-control interrupt:false,
|
|
59
|
+
# tool-office row.
|
|
57
60
|
# Mirrored from preset-standard @ dsh 0.2.2-alpha.2 with these diffs:
|
|
58
61
|
# 1. persona prefix reframed for remote SSH work (transparent routing);
|
|
59
62
|
# 2. tool-bash moved into an isolated shell group with our routed bash
|
|
@@ -126,6 +129,9 @@
|
|
|
126
129
|
name: '@deepseek-ai/dsh-tool-schedule'
|
|
127
130
|
- id: skill-filesystem
|
|
128
131
|
name: '@deepseek-ai/dsh-skill-filesystem'
|
|
132
|
+
config:
|
|
133
|
+
customSkillDirs:
|
|
134
|
+
- !!js process.getBuiltinModule('node:path').join(process.getBuiltinModule('node:path').dirname(process.getBuiltinModule('node:module').createRequire(baseUrl).resolve('@deepseek-ai/dsh-agent-preset/package.json')), 'skills')
|
|
129
135
|
- id: tool-skill
|
|
130
136
|
name: '@deepseek-ai/dsh-tool-skill'
|
|
131
137
|
- id: command-goal
|
|
@@ -218,6 +224,8 @@
|
|
|
218
224
|
config:
|
|
219
225
|
- id: tool-subagent-control
|
|
220
226
|
name: '@deepseek-ai/dsh-tool-subagent-control'
|
|
227
|
+
config:
|
|
228
|
+
interrupt: false
|
|
221
229
|
- id: tool-subagent
|
|
222
230
|
name: '@deepseek-ai/dsh-tool-subagent'
|
|
223
231
|
config:
|
|
@@ -249,6 +257,8 @@
|
|
|
249
257
|
searchTimeoutMs: 60000
|
|
250
258
|
- id: present
|
|
251
259
|
name: '@deepseek-ai/dsh-tool-present'
|
|
260
|
+
- id: tool-office
|
|
261
|
+
name: '@deepseek-ai/dsh-tool-office'
|
|
252
262
|
- id: tool-plugin-manager
|
|
253
263
|
name: '@deepseek-ai/dsh-plugin-manager/tools'
|
|
254
264
|
disabled: !!js "!ctx.get('profileContext')"
|
package/lib/client.js
CHANGED
|
@@ -41584,7 +41584,7 @@ Integer Float Double Long Int32 Int64 Uint8 uint32_t int32_t uint64_t int64_t si
|
|
|
41584
41584
|
const primary = host.querySelectorAll("[class*=\"rvs-ck-\"]").length;
|
|
41585
41585
|
const fallback = host.querySelectorAll("span[class^=\"rvs-t-\"]").length;
|
|
41586
41586
|
const count = primary > 0 ? primary : fallback;
|
|
41587
|
-
console.info(`[dsh-remote-vs] build
|
|
41587
|
+
console.info(`[dsh-remote-vs] build 1112-1558 · ${source} · colored tokens: ${count} (${propsRef.current.path})`);
|
|
41588
41588
|
propsRef.current.onTokens?.(count);
|
|
41589
41589
|
};
|
|
41590
41590
|
const armFallback = () => {
|
|
@@ -48808,8 +48808,8 @@ Integer Float Double Long Int32 Int64 Uint8 uint32_t int32_t uint64_t int64_t si
|
|
|
48808
48808
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(ConnectionStatusChip, { compact: true }),
|
|
48809
48809
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
48810
48810
|
className: "rvs-build",
|
|
48811
|
-
title: `dsh-remote-vs build
|
|
48812
|
-
children: "
|
|
48811
|
+
title: `dsh-remote-vs build 1112-1558`,
|
|
48812
|
+
children: "1112-1558"
|
|
48813
48813
|
}),
|
|
48814
48814
|
tokenCount !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
48815
48815
|
className: "rvs-build",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-remote-vs",
|
|
3
3
|
"description": "VSCode-style remote development for DSH: SSH host manager (key/password), helper deploy pipeline with version check, remote file explorer + editor + terminal in dsh-better-sidebar.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.21.0",
|
|
5
5
|
"icon": "icon.svg",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"dsh",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"./locale/*.json": "./locale/*.json"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
|
-
"dsh": ">=0.2.2-
|
|
62
|
+
"dsh": ">=0.2.2-rc.2 <0.3.0"
|
|
63
63
|
},
|
|
64
64
|
"dsh": {
|
|
65
65
|
"bundle": {
|
|
@@ -131,43 +131,43 @@
|
|
|
131
131
|
},
|
|
132
132
|
"peerDependencies": {
|
|
133
133
|
"@deepseek-ai/cordis": "^4.1.0",
|
|
134
|
-
"@deepseek-ai/dsh-agent-preset": "^0.2.2-rc.
|
|
135
|
-
"@deepseek-ai/dsh-bash-local": "^0.2.2-rc.
|
|
136
|
-
"@deepseek-ai/dsh-file-reference": "^0.2.2-rc.
|
|
137
|
-
"@deepseek-ai/dsh-fs": "^0.2.2-rc.
|
|
138
|
-
"@deepseek-ai/dsh-shell": "^0.2.2-rc.
|
|
139
|
-
"@deepseek-ai/dsh-spill": "^0.2.2-rc.
|
|
140
|
-
"@deepseek-ai/dsh-subprocess": "^0.2.2-rc.
|
|
141
|
-
"@deepseek-ai/dsh-tools": "^0.2.2-rc.
|
|
134
|
+
"@deepseek-ai/dsh-agent-preset": "^0.2.2-rc.2",
|
|
135
|
+
"@deepseek-ai/dsh-bash-local": "^0.2.2-rc.2",
|
|
136
|
+
"@deepseek-ai/dsh-file-reference": "^0.2.2-rc.2",
|
|
137
|
+
"@deepseek-ai/dsh-fs": "^0.2.2-rc.2",
|
|
138
|
+
"@deepseek-ai/dsh-shell": "^0.2.2-rc.2",
|
|
139
|
+
"@deepseek-ai/dsh-spill": "^0.2.2-rc.2",
|
|
140
|
+
"@deepseek-ai/dsh-subprocess": "^0.2.2-rc.2",
|
|
141
|
+
"@deepseek-ai/dsh-tools": "^0.2.2-rc.2",
|
|
142
142
|
"react": "^18.2.0",
|
|
143
143
|
"react-dom": "^18.2.0"
|
|
144
144
|
},
|
|
145
145
|
"devDependencies": {
|
|
146
146
|
"@deepseek-ai/cordis": "^4.1.0",
|
|
147
|
-
"@deepseek-ai/dsh-agent": "0.2.2-rc.
|
|
148
|
-
"@deepseek-ai/dsh-agent-preset-registry": "0.2.2-rc.
|
|
149
|
-
"@deepseek-ai/dsh-api-remotes": "0.2.2-rc.
|
|
150
|
-
"@deepseek-ai/dsh-bash-local": "0.2.2-rc.
|
|
151
|
-
"@deepseek-ai/dsh-client-locale": "0.2.2-rc.
|
|
152
|
-
"@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.
|
|
153
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.
|
|
154
|
-
"@deepseek-ai/dsh-client-ui-sidebar-right": "0.2.2-rc.
|
|
155
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.
|
|
156
|
-
"@deepseek-ai/dsh-client-ui-workspace": "0.2.2-rc.
|
|
157
|
-
"@deepseek-ai/dsh-file-reference": "0.2.2-rc.
|
|
158
|
-
"@deepseek-ai/dsh-fs": "0.2.2-rc.
|
|
159
|
-
"@deepseek-ai/dsh-host-directory-picker": "0.2.2-rc.
|
|
160
|
-
"@deepseek-ai/dsh-host-webserver": "0.2.2-rc.
|
|
161
|
-
"@deepseek-ai/dsh-llm": "0.2.2-rc.
|
|
162
|
-
"@deepseek-ai/dsh-sandbox": "0.2.2-rc.
|
|
163
|
-
"@deepseek-ai/dsh-session": "0.2.2-rc.
|
|
164
|
-
"@deepseek-ai/dsh-shell": "0.2.2-rc.
|
|
165
|
-
"@deepseek-ai/dsh-spill": "0.2.2-rc.
|
|
166
|
-
"@deepseek-ai/dsh-subprocess": "0.2.2-rc.
|
|
167
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.2-rc.
|
|
168
|
-
"@deepseek-ai/dsh-tools": "0.2.2-rc.
|
|
169
|
-
"@deepseek-ai/dsh-working-directory": "0.2.2-rc.
|
|
170
|
-
"@deepseek-ai/dsh-workspace": "0.2.2-rc.
|
|
147
|
+
"@deepseek-ai/dsh-agent": "0.2.2-rc.2",
|
|
148
|
+
"@deepseek-ai/dsh-agent-preset-registry": "0.2.2-rc.2",
|
|
149
|
+
"@deepseek-ai/dsh-api-remotes": "0.2.2-rc.2",
|
|
150
|
+
"@deepseek-ai/dsh-bash-local": "0.2.2-rc.2",
|
|
151
|
+
"@deepseek-ai/dsh-client-locale": "0.2.2-rc.2",
|
|
152
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.2",
|
|
153
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.2",
|
|
154
|
+
"@deepseek-ai/dsh-client-ui-sidebar-right": "0.2.2-rc.2",
|
|
155
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.2",
|
|
156
|
+
"@deepseek-ai/dsh-client-ui-workspace": "0.2.2-rc.2",
|
|
157
|
+
"@deepseek-ai/dsh-file-reference": "0.2.2-rc.2",
|
|
158
|
+
"@deepseek-ai/dsh-fs": "0.2.2-rc.2",
|
|
159
|
+
"@deepseek-ai/dsh-host-directory-picker": "0.2.2-rc.2",
|
|
160
|
+
"@deepseek-ai/dsh-host-webserver": "0.2.2-rc.2",
|
|
161
|
+
"@deepseek-ai/dsh-llm": "0.2.2-rc.2",
|
|
162
|
+
"@deepseek-ai/dsh-sandbox": "0.2.2-rc.2",
|
|
163
|
+
"@deepseek-ai/dsh-session": "0.2.2-rc.2",
|
|
164
|
+
"@deepseek-ai/dsh-shell": "0.2.2-rc.2",
|
|
165
|
+
"@deepseek-ai/dsh-spill": "0.2.2-rc.2",
|
|
166
|
+
"@deepseek-ai/dsh-subprocess": "0.2.2-rc.2",
|
|
167
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.2-rc.2",
|
|
168
|
+
"@deepseek-ai/dsh-tools": "0.2.2-rc.2",
|
|
169
|
+
"@deepseek-ai/dsh-working-directory": "0.2.2-rc.2",
|
|
170
|
+
"@deepseek-ai/dsh-workspace": "0.2.2-rc.2",
|
|
171
171
|
"@types/node": "^22.20.0",
|
|
172
172
|
"@types/react": "~18.3.1",
|
|
173
173
|
"@types/react-dom": "^18.3.5",
|