dsh-code-server-app 0.3.9 → 0.3.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/package.json +3 -6
- package/scripts/vendor-repacks.mjs +8 -0
- package/vendor/VENDOR.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-code-server-app",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.11",
|
|
4
4
|
"description": "VS Code (from a code-server release) inside DSH: a right-sidebar tab driven by the plugin's own launcher over the in-process VS Code server (lib/launcher.mjs). Since 0.3.0 the bundle also ships an editor bridge (assets/extensions/dshcs-editor-bridge): a read-only channel between the in-tree VS Code extension host and DSH, giving the agent what only the editor knows (unsaved buffers, language-server diagnostics, the active selection) and letting editor gestures drive the session. The tab claims DSH file addresses (dsh-resource://file/**) by file type (setting claimExtensions), so the product's own produced-file chips, delivered-file previews and inline prose mentions open in the workbench. The IDE is a resident surface moved with Element.moveBefore instead of being remounted, so switching sidebar tabs no longer reloads it. Opening the tab switches the right sidebar to fullscreen by default (setting fullscreenOnOpen). Following a workspace switch is lightweight: the workbench re-navigates with the new ?folder= and the IDE process is not restarted (since 0.2.12). Requires a DSH with the right-sidebar services (sidebarRightTabs/sidebarRight, >= 0.1.5-alpha.1); older DSH versions get a single upgrade notice on the settings page and no other UI. Two serving modes: loopback port (default) or same-origin mount on DSH's own webServer (/code-server, protected by ctx.connection.requestRejection). No code-server Node layer, no argon2, no C++ toolchain.",
|
|
5
5
|
"homepage": "https://github.com/jinsiyu/dsh-code-server-app",
|
|
6
6
|
"repository": {
|
|
@@ -34,9 +34,6 @@
|
|
|
34
34
|
"engines": {
|
|
35
35
|
"node": ">=24"
|
|
36
36
|
},
|
|
37
|
-
"peerDependencies": {
|
|
38
|
-
"@deepseek-ai/dsh": ">=0.1.2-rc.1"
|
|
39
|
-
},
|
|
40
37
|
"files": [
|
|
41
38
|
"lib/index.js",
|
|
42
39
|
"lib/client.js",
|
|
@@ -107,8 +104,8 @@
|
|
|
107
104
|
"zod": "4.4.3"
|
|
108
105
|
},
|
|
109
106
|
"optionalDependencies": {
|
|
110
|
-
"@jinsiyu/dsh-code-server-runtime-win32-arm64": "^0.
|
|
111
|
-
"@jinsiyu/dsh-code-server-runtime-win32-x64": "^0.
|
|
107
|
+
"@jinsiyu/dsh-code-server-runtime-win32-arm64": "^0.3.10",
|
|
108
|
+
"@jinsiyu/dsh-code-server-runtime-win32-x64": "^0.3.10"
|
|
112
109
|
},
|
|
113
110
|
"scripts": {
|
|
114
111
|
"vendor:vscode": "node scripts/vendor-vscode-server.mjs",
|
|
@@ -525,6 +525,14 @@ function main() {
|
|
|
525
525
|
const m = readJson(join(dir, 'package.json'));
|
|
526
526
|
delete m.scripts;
|
|
527
527
|
delete m.files;
|
|
528
|
+
// 安装脚本已删,prebuild-install(上游原生包在 install 期下载预编译产物的 CLI)永远不会被调用,
|
|
529
|
+
// 属于纯死重量;留着它还会把 tar-fs → tar-stream → bl → buffer 与 readable-stream →
|
|
530
|
+
// string_decoder 拖进 profile —— dsh-desktop 的校验器用 require.resolve.paths() 解析依赖,
|
|
531
|
+
// 该 API 对与 Node 内建同名的包返回 null,于是"依赖装齐也报 requires missing buffer@^5.5.0"
|
|
532
|
+
// (见 docs/analysis-code-server-as-dsh-plugin.md 第 16 节)。
|
|
533
|
+
for (const fld of ['dependencies', 'optionalDependencies']) {
|
|
534
|
+
if (m[fld]) delete m[fld]['prebuild-install'];
|
|
535
|
+
}
|
|
528
536
|
m.name = pkg.pkgName;
|
|
529
537
|
m.version = pkg.version;
|
|
530
538
|
if (pkg.platformSpecific) {
|
package/vendor/VENDOR.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"vscodeVersion": "1.137.0",
|
|
4
4
|
"productPath": "stable-b11dabdaca0d3369986975be285db92c8795cea5",
|
|
5
5
|
"layout": "vscode-only",
|
|
6
|
-
"preparedAt": "2026-09-
|
|
6
|
+
"preparedAt": "2026-09-12T17:06:47.539Z",
|
|
7
7
|
"source": "registry",
|
|
8
8
|
"node": "v24.21.0",
|
|
9
9
|
"platform": "win32",
|