@morlay/dsh-desktop-shell 0.2.10-alpha.3 → 0.2.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 +9 -9
- package/src/host-process.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morlay/dsh-desktop-shell",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11",
|
|
4
4
|
"description": "Electron shell for dsh desktop apps: serves the app's own <name>:// scheme, boots the desktop profile through the @morlay/dsh-desktop-host child over byte pipes, and installs the profile seed on first launch. The CLI that packages a workspace around it is @local/dshdev.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"desktop",
|
|
@@ -54,22 +54,22 @@
|
|
|
54
54
|
"./locale/*.json": "./locale/*.json"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@deepseek-ai/dsh-util-crypto": "^0.2.2-
|
|
58
|
-
"@deepseek-ai/dsh-util-values": "^0.2.2-
|
|
59
|
-
"@morlay/dsh-desktop-host": "0.2.
|
|
57
|
+
"@deepseek-ai/dsh-util-crypto": "^0.2.2-rc.1",
|
|
58
|
+
"@deepseek-ai/dsh-util-values": "^0.2.2-rc.1",
|
|
59
|
+
"@morlay/dsh-desktop-host": "0.2.11"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@local/devkit": "0.1.0",
|
|
63
63
|
"@types/node": "^26.5.0",
|
|
64
|
-
"electron": "
|
|
64
|
+
"electron": "45.2.2"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@deepseek-ai/dsh-app-boot": "^0.2.2-
|
|
68
|
-
"@deepseek-ai/dsh-atomic-write": "^0.2.2-
|
|
69
|
-
"@deepseek-ai/dsh-client-shortcuts": "^0.2.2-
|
|
67
|
+
"@deepseek-ai/dsh-app-boot": "^0.2.2-rc.1",
|
|
68
|
+
"@deepseek-ai/dsh-atomic-write": "^0.2.2-rc.1",
|
|
69
|
+
"@deepseek-ai/dsh-client-shortcuts": "^0.2.2-rc.1"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"dsh": ">= 0.2.2-
|
|
72
|
+
"dsh": ">= 0.2.2-rc.1 < 0.2.3",
|
|
73
73
|
"node": ">=24.11.0"
|
|
74
74
|
},
|
|
75
75
|
"scripts": {
|
package/src/host-process.ts
CHANGED
|
@@ -129,6 +129,10 @@ export class DesktopHostProcess {
|
|
|
129
129
|
const entry = this.options.entry;
|
|
130
130
|
const packageManager = this.options.packageManager;
|
|
131
131
|
const args = [
|
|
132
|
+
// 宿主读 Node internal 模块(Loader/HMR 的 `requireInternal`、运行时解析)走这条开关:
|
|
133
|
+
// `node-addon-require-builtin@0.1.9` 的 V8 指纹表只到 Electron 44.7,Electron 45 上
|
|
134
|
+
// `requireBuiltin` 会拒绝;带开关时上游各调用点直接 `require`(见
|
|
135
|
+
// `vendor/patches/expose-internals-internal-modules.patch`)。
|
|
132
136
|
"--expose-internals",
|
|
133
137
|
...(this.options.processTitle === undefined ? [] : [`--title=${this.options.processTitle}`]),
|
|
134
138
|
...(this.inspectPort === undefined
|