@hanamesh/dsh-app-host 0.6.22 → 0.6.24
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 +16 -14
- package/dist/client-ui.js +4 -4
- package/dist/dsh-compat.js +1 -1
- package/dist/dsh.d.ts +1 -2
- package/dist/dsh.js +1 -3
- package/dist/git-command-worker.js +12 -0
- package/dist/git-process.js +8 -3
- package/dist/git-worker.js +37 -7
- package/dist/install-target/suite.js +2 -2
- package/dist/installation-status.d.ts +0 -8
- package/dist/library/handoff.js +3 -11
- package/dist/library/install-target-http.js +39 -0
- package/dist/library/installation-cli.js +41 -16
- package/dist/library/installation-command-worker.js +3 -2
- package/dist/library/installation-discovery.js +95 -0
- package/dist/library/installation-status.js +14 -13
- package/dist/library/installation-worker.js +72 -14
- package/dist/library/routes.js +2 -10
- package/dist/node-runtime/service.js +4 -4
- package/dist/router/sources.js +5 -2
- package/dist/runtime.js +15 -1
- package/dist/store.js +12 -5
- package/dist/windows-job.js +30 -0
- package/dist/windows-job.ps1 +75 -0
- package/docs/CONTRACT.md +2 -2
- package/docs/INSTALLATION_STATUS.md +29 -18
- package/docs/INSTALL_TARGET.md +6 -2
- package/docs/LICENSES.json +207 -69
- package/docs/SECURITY.md +15 -0
- package/node_modules/@hanamesh/lib-provision/bin/hanamesh-provision.js +0 -0
- package/package.json +61 -50
package/docs/INSTALL_TARGET.md
CHANGED
|
@@ -16,7 +16,11 @@ GitHub ref 必须是收录时固定的完整 40 位 SHA,不在安装时解析
|
|
|
16
16
|
|
|
17
17
|
GitHub CLI exit 0 后还须核对 profile 精确保存的 Git spec、模块包名/版本、dsh.bundle 和 profile 启用列表,随后报告 restart-required;重开后由原生 DSH 加载。不自行 clone/build,不改上游,不用进程内安装器。失败补偿沿原 CLI;pnpm-workspace.yaml 若发生变化,恢复报告保留 build-permissions 残留及原文件,不擅自撤销或静默宣称恢复。handoff 事件按完整目标匹配,不能只靠同名包把另一个 SHA 报为成功。
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
网站发现(0.6.23候选,编排11-09授权D3):DSH本地与交接监听共用`install-target-http.js`。仅获准来源可读取客户端能力;名单外的有效HTTP/HTTPS来源,对无查询、无Cookie/Authorization、非iframe的精确`GET /hanamesh/library/install-target`,返回精确`Access-Control-Allow-Origin: <请求Origin>`、`Vary: Origin`及固定`403 {"error":{"code":"ORIGIN_DENIED","message":"This website is not allowed to read discovery."}}`。无客户端类型/能力/ready/版本/清单/允许名单/traceId;不调用能力或安装清单读取器。该最小拒绝有意允许网站识别本机存在拒绝它的监听,不代表任何安装或读取授权。无`*`/Allow-Credentials/Set-Cookie。无Origin的本机工具及获准工作区读取保留。
|
|
20
|
+
|
|
21
|
+
预检:精确同一路径的有效GET预检返回204空正文、精确Origin和`Access-Control-Allow-Methods: GET`,使浏览器能继续GET并读到403;不把403放在预检上。仅请求带`Access-Control-Request-Private-Network: true`时返回`Access-Control-Allow-Private-Network: true`;普通预检和实际GET均不带该响应头。Vary包含Origin、Access-Control-Request-Method、Access-Control-Request-Headers、Access-Control-Request-Private-Network;无Max-Age缓存。请求额外headers、非GET预检、非法PNA值被拒绝且不授CORS;名单外预检必须显式声明GET。获准来源/本机工具的旧OPTIONS缺省method保持可用。依据:[Fetch预检成功状态](https://fetch.spec.whatwg.org/#cors-preflight-fetch)、[Chrome PNA预检](https://developer.chrome.com/blog/private-network-access-preflight)。现代Chrome的[LNA本机访问权限](https://developer.chrome.com/docs/modern-web-guidance/guides/security/local-network-access)独立生效,此响应不绕过浏览器授权。
|
|
22
|
+
|
|
23
|
+
错误Host、绝对/双斜线/反斜线target、opaque或畸形Origin、名单外凭据/查询/非探测方法、iframe均不获此拒绝CORS例外;installation-status、交接、库存、设置、安装等接口继续原名单/同意/认证与确认规则。
|
|
20
24
|
|
|
21
25
|
轮询设置:`pollMs` 写入应用库真实 storage domain;保存、卸载再加载后保持。旧记录没有该字段时使用既有配置/默认 1500 ms,不重写其它存储数据。
|
|
22
26
|
|
|
@@ -127,7 +131,7 @@ node node_modules/@hanamesh/dsh-app-host/dist/install-target/run.js consumer --u
|
|
|
127
131
|
|
|
128
132
|
## 本机公开探测与目录消费(D-180)
|
|
129
133
|
|
|
130
|
-
`GET /hanamesh/library/install-target` 无参数,精确回环 Host、非 iframe,允许跨源匿名只读探测。返回 `{client:'dsh',ready,installTarget:{contract:'hanamesh.install-target',contractVersion:'1',supported:['1'],fragmentPrefix:'#hanamesh-install?'},traceId,error?}`;缺安装器 `ready:false` 且 `error.code='INSTALL_TARGET_UNAVAILABLE'
|
|
134
|
+
`GET /hanamesh/library/install-target` 无参数,精确回环 Host、非 iframe,允许跨源匿名只读探测。返回 `{client:'dsh',ready,installTarget:{contract:'hanamesh.install-target',contractVersion:'1',supported:['1'],fragmentPrefix:'#hanamesh-install?'},traceId,error?}`;缺安装器 `ready:false` 且 `error.code='INSTALL_TARGET_UNAVAILABLE'`。只这一项依本页“网站发现”规则带精确Origin CORS、no-store,不发 Cookie/Allow-Credentials,不返回 profile、已装行、工作区认证地址、命令或租约。独立 DSH 默认报 dsh;没有真实 Desktop 公开证据时不推断 HanaMesh 品牌。其余控制路径仍按原 DSH 认证与准确同源授权执行。
|
|
131
135
|
|
|
132
136
|
C-WEB-CATALOG 第1版的显式 `catalog-source.json?view=hanamesh` 与 manifest 的 `/v1/plugins?view=hanamesh` 可配置为目录来源。旧无 view 源仍严格按 catalog-major-1,不混 schema 或静默降级。新 DTO 保留 id=itemId、可空 npm 身份及公开 sourceLinks;q 是子串查询,目标按精确身份匹配,空页仍有游标则续翻。只给包名时遍历确认唯一目录身份;多个身份返回409 CATALOG_TARGET_AMBIGUOUS。无 npm 包仅浏览;来源链接/分类/目录版本都不能成为启动或安装权限。CATALOG_CHANGED 中止本轮、不拼代或自动重试,其余提供方公开错误保持原 code;故障不退 fixture。
|
|
133
137
|
|
package/docs/LICENSES.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": {
|
|
3
3
|
"name": "@hanamesh/dsh-app-host",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.24",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"source": "git+https://github.com/yzsnstotz/hanamesh-plugin-app-host.git",
|
|
7
7
|
"purpose": "Application ownership, view leases, Router forwarding, and application library for official DSH"
|
|
@@ -20,107 +20,113 @@
|
|
|
20
20
|
"distribution": "bundleDependencies; original LICENSE at node_modules/@hanamesh/lib-provision/LICENSE"
|
|
21
21
|
},
|
|
22
22
|
"zod": {
|
|
23
|
-
"version": "4.
|
|
23
|
+
"version": "4.4.3",
|
|
24
24
|
"license": "MIT",
|
|
25
|
-
"source": "https://registry.npmjs.org/zod/-/zod-4.
|
|
25
|
+
"source": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",
|
|
26
26
|
"purpose": "Runtime snapshot validation",
|
|
27
27
|
"usedAs": [
|
|
28
28
|
"dependencies"
|
|
29
29
|
],
|
|
30
30
|
"specs": {
|
|
31
|
-
"dependencies": "4.
|
|
31
|
+
"dependencies": "4.4.3"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"@deepseek-ai/cordis": {
|
|
35
|
-
"version": "4.0
|
|
35
|
+
"version": "4.1.0",
|
|
36
36
|
"license": "MIT",
|
|
37
|
-
"source": "https://registry.npmjs.org/@deepseek-ai/cordis/-/cordis-4.0.
|
|
37
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/cordis/-/cordis-4.1.0.tgz",
|
|
38
38
|
"purpose": "Official DSH plugin lifecycle and service container",
|
|
39
39
|
"usedAs": [
|
|
40
40
|
"peerDependencies",
|
|
41
41
|
"devDependencies"
|
|
42
42
|
],
|
|
43
43
|
"specs": {
|
|
44
|
-
"peerDependencies": ">=4.0.4 <4.
|
|
45
|
-
"devDependencies": "4.0
|
|
44
|
+
"peerDependencies": ">=4.0.4 <4.2.0-0 || >=4.0.5-alpha.1 <4.2.0-0",
|
|
45
|
+
"devDependencies": "4.1.0"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"@deepseek-ai/dsh-storage-domain": {
|
|
49
|
-
"version": "0.2.
|
|
49
|
+
"version": "0.2.2-rc.1",
|
|
50
50
|
"license": "MIT",
|
|
51
|
-
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-storage-domain/-/dsh-storage-domain-0.2.
|
|
51
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-storage-domain/-/dsh-storage-domain-0.2.2-rc.1.tgz",
|
|
52
52
|
"purpose": "Official DSH persistent storage service",
|
|
53
53
|
"usedAs": [
|
|
54
54
|
"peerDependencies",
|
|
55
55
|
"devDependencies"
|
|
56
56
|
],
|
|
57
57
|
"specs": {
|
|
58
|
-
"peerDependencies": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
59
|
-
"devDependencies": "0.2.
|
|
58
|
+
"peerDependencies": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0 || >=0.2.2-0 <0.3.0-0",
|
|
59
|
+
"devDependencies": "0.2.2-rc.1"
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"@deepseek-ai/schemastery": {
|
|
63
|
-
"version": "3.
|
|
63
|
+
"version": "3.19.0",
|
|
64
64
|
"license": "MIT",
|
|
65
|
-
"source": "https://registry.npmjs.org/@deepseek-ai/schemastery/-/schemastery-3.
|
|
65
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/schemastery/-/schemastery-3.19.0.tgz",
|
|
66
66
|
"purpose": "Official DSH configuration schema service",
|
|
67
67
|
"usedAs": [
|
|
68
68
|
"peerDependencies",
|
|
69
69
|
"devDependencies"
|
|
70
70
|
],
|
|
71
71
|
"specs": {
|
|
72
|
-
"peerDependencies": ">=3.18.4 <3.
|
|
73
|
-
"devDependencies": "3.
|
|
72
|
+
"peerDependencies": ">=3.18.4 <3.20.0-0 || >=3.18.5-alpha.1 <3.20.0-0",
|
|
73
|
+
"devDependencies": "3.19.0"
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"@deepseek-ai/dsh-host-webserver": {
|
|
77
|
-
"version": "0.2.
|
|
77
|
+
"version": "0.2.2-rc.1",
|
|
78
78
|
"license": "MIT",
|
|
79
|
-
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-host-webserver/-/dsh-host-webserver-0.2.
|
|
79
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-host-webserver/-/dsh-host-webserver-0.2.2-rc.1.tgz",
|
|
80
80
|
"purpose": "Official DSH authenticated HTTP route host",
|
|
81
81
|
"usedAs": [
|
|
82
82
|
"peerDependencies",
|
|
83
83
|
"devDependencies"
|
|
84
84
|
],
|
|
85
85
|
"specs": {
|
|
86
|
-
"peerDependencies": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
87
|
-
"devDependencies": "0.2.
|
|
86
|
+
"peerDependencies": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0 || >=0.2.2-0 <0.3.0-0",
|
|
87
|
+
"devDependencies": "0.2.2-rc.1"
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
"@deepseek-ai/dsh-client-connection": {
|
|
91
|
-
"version": "0.2.
|
|
91
|
+
"version": "0.2.2-rc.1",
|
|
92
92
|
"license": "MIT",
|
|
93
|
-
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-client-connection/-/dsh-client-connection-0.2.
|
|
93
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-client-connection/-/dsh-client-connection-0.2.2-rc.1.tgz",
|
|
94
94
|
"purpose": "Official DSH client connection service",
|
|
95
95
|
"usedAs": [
|
|
96
|
-
"peerDependencies"
|
|
96
|
+
"peerDependencies",
|
|
97
|
+
"devDependencies"
|
|
97
98
|
],
|
|
98
99
|
"specs": {
|
|
99
|
-
"peerDependencies": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0"
|
|
100
|
+
"peerDependencies": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0 || >=0.2.2-0 <0.3.0-0",
|
|
101
|
+
"devDependencies": "0.2.2-rc.1"
|
|
100
102
|
}
|
|
101
103
|
},
|
|
102
104
|
"@deepseek-ai/dsh-client-ui-settings": {
|
|
103
|
-
"version": "0.2.
|
|
105
|
+
"version": "0.2.2-rc.1",
|
|
104
106
|
"license": "MIT",
|
|
105
|
-
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-client-ui-settings/-/dsh-client-ui-settings-0.2.
|
|
107
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-client-ui-settings/-/dsh-client-ui-settings-0.2.2-rc.1.tgz",
|
|
106
108
|
"purpose": "Official DSH client settings surface",
|
|
107
109
|
"usedAs": [
|
|
108
|
-
"peerDependencies"
|
|
110
|
+
"peerDependencies",
|
|
111
|
+
"devDependencies"
|
|
109
112
|
],
|
|
110
113
|
"specs": {
|
|
111
|
-
"peerDependencies": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0"
|
|
114
|
+
"peerDependencies": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0 || >=0.2.2-0 <0.3.0-0",
|
|
115
|
+
"devDependencies": "0.2.2-rc.1"
|
|
112
116
|
}
|
|
113
117
|
},
|
|
114
118
|
"@deepseek-ai/dsh-client-locale": {
|
|
115
|
-
"version": "0.2.
|
|
119
|
+
"version": "0.2.2-rc.1",
|
|
116
120
|
"license": "MIT",
|
|
117
|
-
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-client-locale/-/dsh-client-locale-0.2.
|
|
121
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-client-locale/-/dsh-client-locale-0.2.2-rc.1.tgz",
|
|
118
122
|
"purpose": "Official DSH client localization",
|
|
119
123
|
"usedAs": [
|
|
120
|
-
"peerDependencies"
|
|
124
|
+
"peerDependencies",
|
|
125
|
+
"devDependencies"
|
|
121
126
|
],
|
|
122
127
|
"specs": {
|
|
123
|
-
"peerDependencies": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0"
|
|
128
|
+
"peerDependencies": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0 || >=0.2.2-0 <0.3.0-0",
|
|
129
|
+
"devDependencies": "0.2.2-rc.1"
|
|
124
130
|
}
|
|
125
131
|
},
|
|
126
132
|
"react": {
|
|
@@ -136,87 +142,87 @@
|
|
|
136
142
|
}
|
|
137
143
|
},
|
|
138
144
|
"@deepseek-ai/dsh-scope": {
|
|
139
|
-
"version": "0.2.
|
|
145
|
+
"version": "0.2.2-rc.1",
|
|
140
146
|
"license": "MIT",
|
|
141
|
-
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-scope/-/dsh-scope-0.2.
|
|
147
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-scope/-/dsh-scope-0.2.2-rc.1.tgz",
|
|
142
148
|
"purpose": "Build and test fixture for official DSH scopes",
|
|
143
149
|
"usedAs": [
|
|
144
150
|
"devDependencies"
|
|
145
151
|
],
|
|
146
152
|
"specs": {
|
|
147
|
-
"devDependencies": "0.2.
|
|
153
|
+
"devDependencies": "0.2.2-rc.1"
|
|
148
154
|
}
|
|
149
155
|
},
|
|
150
156
|
"@deepseek-ai/dsh-session": {
|
|
151
|
-
"version": "0.2.
|
|
157
|
+
"version": "0.2.2-rc.1",
|
|
152
158
|
"license": "MIT",
|
|
153
|
-
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-session/-/dsh-session-0.2.
|
|
159
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-session/-/dsh-session-0.2.2-rc.1.tgz",
|
|
154
160
|
"purpose": "Build and test fixture for official DSH sessions",
|
|
155
161
|
"usedAs": [
|
|
156
162
|
"devDependencies"
|
|
157
163
|
],
|
|
158
164
|
"specs": {
|
|
159
|
-
"devDependencies": "0.2.
|
|
165
|
+
"devDependencies": "0.2.2-rc.1"
|
|
160
166
|
}
|
|
161
167
|
},
|
|
162
168
|
"@deepseek-ai/dsh-session-persistence": {
|
|
163
|
-
"version": "0.2.
|
|
169
|
+
"version": "0.2.2-rc.1",
|
|
164
170
|
"license": "MIT",
|
|
165
|
-
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-session-persistence/-/dsh-session-persistence-0.2.
|
|
171
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-session-persistence/-/dsh-session-persistence-0.2.2-rc.1.tgz",
|
|
166
172
|
"purpose": "Build and test fixture for official DSH session persistence",
|
|
167
173
|
"usedAs": [
|
|
168
174
|
"devDependencies"
|
|
169
175
|
],
|
|
170
176
|
"specs": {
|
|
171
|
-
"devDependencies": "0.2.
|
|
177
|
+
"devDependencies": "0.2.2-rc.1"
|
|
172
178
|
}
|
|
173
179
|
},
|
|
174
180
|
"@deepseek-ai/dsh-session-persistence-jsonl": {
|
|
175
|
-
"version": "0.2.
|
|
181
|
+
"version": "0.2.2-rc.1",
|
|
176
182
|
"license": "MIT",
|
|
177
|
-
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-session-persistence-jsonl/-/dsh-session-persistence-jsonl-0.2.
|
|
183
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-session-persistence-jsonl/-/dsh-session-persistence-jsonl-0.2.2-rc.1.tgz",
|
|
178
184
|
"purpose": "Build and test fixture for official DSH JSONL session persistence",
|
|
179
185
|
"usedAs": [
|
|
180
186
|
"devDependencies"
|
|
181
187
|
],
|
|
182
188
|
"specs": {
|
|
183
|
-
"devDependencies": "0.2.
|
|
189
|
+
"devDependencies": "0.2.2-rc.1"
|
|
184
190
|
}
|
|
185
191
|
},
|
|
186
192
|
"@deepseek-ai/dsh-session-projection": {
|
|
187
|
-
"version": "0.2.
|
|
193
|
+
"version": "0.2.2-rc.1",
|
|
188
194
|
"license": "MIT",
|
|
189
|
-
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-session-projection/-/dsh-session-projection-0.2.
|
|
195
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-session-projection/-/dsh-session-projection-0.2.2-rc.1.tgz",
|
|
190
196
|
"purpose": "Build and test fixture for official DSH session projections",
|
|
191
197
|
"usedAs": [
|
|
192
198
|
"devDependencies"
|
|
193
199
|
],
|
|
194
200
|
"specs": {
|
|
195
|
-
"devDependencies": "0.2.
|
|
201
|
+
"devDependencies": "0.2.2-rc.1"
|
|
196
202
|
}
|
|
197
203
|
},
|
|
198
204
|
"@deepseek-ai/dsh-storage": {
|
|
199
|
-
"version": "0.2.
|
|
205
|
+
"version": "0.2.2-rc.1",
|
|
200
206
|
"license": "MIT",
|
|
201
|
-
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-storage/-/dsh-storage-0.2.
|
|
207
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-storage/-/dsh-storage-0.2.2-rc.1.tgz",
|
|
202
208
|
"purpose": "Build and test fixture for official DSH storage",
|
|
203
209
|
"usedAs": [
|
|
204
210
|
"devDependencies"
|
|
205
211
|
],
|
|
206
212
|
"specs": {
|
|
207
|
-
"devDependencies": "0.2.
|
|
213
|
+
"devDependencies": "0.2.2-rc.1"
|
|
208
214
|
}
|
|
209
215
|
},
|
|
210
216
|
"@deepseek-ai/dsh-storage-json": {
|
|
211
|
-
"version": "0.2.
|
|
217
|
+
"version": "0.2.2-rc.1",
|
|
212
218
|
"license": "MIT",
|
|
213
|
-
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-storage-json/-/dsh-storage-json-0.2.
|
|
219
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-storage-json/-/dsh-storage-json-0.2.2-rc.1.tgz",
|
|
214
220
|
"purpose": "Build and test fixture for official DSH JSON storage",
|
|
215
221
|
"usedAs": [
|
|
216
222
|
"devDependencies"
|
|
217
223
|
],
|
|
218
224
|
"specs": {
|
|
219
|
-
"devDependencies": "0.2.
|
|
225
|
+
"devDependencies": "0.2.2-rc.1"
|
|
220
226
|
}
|
|
221
227
|
},
|
|
222
228
|
"typescript": {
|
|
@@ -262,49 +268,181 @@
|
|
|
262
268
|
}
|
|
263
269
|
},
|
|
264
270
|
"@deepseek-ai/dsh-client-ui-renderer": {
|
|
265
|
-
"version": "0.2.
|
|
271
|
+
"version": "0.2.2-rc.1",
|
|
266
272
|
"license": "MIT",
|
|
267
|
-
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-client-ui-renderer/-/dsh-client-ui-renderer-0.2.
|
|
273
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-client-ui-renderer/-/dsh-client-ui-renderer-0.2.2-rc.1.tgz",
|
|
268
274
|
"purpose": "Public DSH renderer slots service; official client placement without client changes",
|
|
269
275
|
"usedAs": [
|
|
270
276
|
"peerDependencies",
|
|
271
277
|
"devDependencies"
|
|
272
278
|
],
|
|
273
279
|
"specs": {
|
|
274
|
-
"peerDependencies": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0",
|
|
275
|
-
"devDependencies": "0.2.
|
|
280
|
+
"peerDependencies": ">=0.2.0-rc.2 <0.3.0-0 || >=0.2.1-0 <0.3.0-0 || >=0.2.2-0 <0.3.0-0",
|
|
281
|
+
"devDependencies": "0.2.2-rc.1"
|
|
276
282
|
}
|
|
277
283
|
},
|
|
278
284
|
"@hanamesh/release-platform-gate": {
|
|
279
|
-
"version": "0.1.
|
|
285
|
+
"version": "0.1.12",
|
|
280
286
|
"license": "UNKNOWN: private development tool does not declare a license",
|
|
281
|
-
"source": "file:vendor/hanamesh-release-platform-gate-0.1.
|
|
282
|
-
"purpose": "Development-only
|
|
287
|
+
"source": "file:vendor/hanamesh-release-platform-gate-0.1.12.tgz",
|
|
288
|
+
"purpose": "Development-only R119b PASS platform closure and explicit installer exit qualification gate; never runtime or bundled",
|
|
283
289
|
"usedAs": [
|
|
284
290
|
"devDependencies"
|
|
285
291
|
],
|
|
286
292
|
"specs": {
|
|
287
|
-
"devDependencies": "file:vendor/hanamesh-release-platform-gate-0.1.
|
|
293
|
+
"devDependencies": "file:vendor/hanamesh-release-platform-gate-0.1.12.tgz"
|
|
288
294
|
},
|
|
289
|
-
"sourceCommit": "
|
|
290
|
-
"archiveSha256": "
|
|
291
|
-
"reviewDocs": "
|
|
295
|
+
"sourceCommit": "95e54102f9380ea2e8e4d8a2e36eacd387c3f7e7",
|
|
296
|
+
"archiveSha256": "caf78747649b1dd37cbe9ba331351c81f94a48dc9e779aee83c75336140068d1",
|
|
297
|
+
"reviewDocs": "a24716374e2d35b8dfaa21131ae654f8b141ba67"
|
|
292
298
|
},
|
|
293
299
|
"@hanamesh/core": {
|
|
294
|
-
"version": "0.3.
|
|
300
|
+
"version": "0.3.33",
|
|
295
301
|
"license": "MIT",
|
|
296
|
-
"source": "
|
|
302
|
+
"source": "file:vendor/hanamesh-core-0.3.33.tgz",
|
|
297
303
|
"purpose": "Development-only public Core suite declaration and provider-owned install command for clean CI; never runtime or bundled",
|
|
298
304
|
"usedAs": [
|
|
299
305
|
"devDependencies"
|
|
300
306
|
],
|
|
301
307
|
"specs": {
|
|
302
|
-
"devDependencies": "
|
|
308
|
+
"devDependencies": "file:vendor/hanamesh-core-0.3.33.tgz"
|
|
303
309
|
},
|
|
304
|
-
"sourceCommit": "
|
|
305
|
-
"archiveSha256": "
|
|
310
|
+
"sourceCommit": "969a89a1f7e383fca7d6aefa7f27507d3a1605d5",
|
|
311
|
+
"archiveSha256": "088cf6a7b7575fa1d22116d6af8a6b0312fbbb825c50d9bf38f0447ef36c7c78",
|
|
306
312
|
"licenseNotice": "MIT License\n\nCopyright (c) 2026 HanaMesh\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
|
|
307
313
|
"licenseSha256": "cd29e05178eecb3207c494901de7d41785a7b31216e94ab37f3e104e93f3f3b1"
|
|
314
|
+
},
|
|
315
|
+
"@deepseek-ai/cordis-plugin-loader": {
|
|
316
|
+
"version": "1.1.0",
|
|
317
|
+
"license": "MIT",
|
|
318
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/cordis-plugin-loader/-/cordis-plugin-loader-1.1.0.tgz",
|
|
319
|
+
"purpose": "Official host lifecycle development prerequisite",
|
|
320
|
+
"usedAs": [
|
|
321
|
+
"devDependencies"
|
|
322
|
+
],
|
|
323
|
+
"specs": {
|
|
324
|
+
"devDependencies": "1.1.0"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"@deepseek-ai/cordis-plugin-include": {
|
|
328
|
+
"version": "1.1.0",
|
|
329
|
+
"license": "MIT",
|
|
330
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/cordis-plugin-include/-/cordis-plugin-include-1.1.0.tgz",
|
|
331
|
+
"purpose": "Official host lifecycle development prerequisite",
|
|
332
|
+
"usedAs": [
|
|
333
|
+
"devDependencies"
|
|
334
|
+
],
|
|
335
|
+
"specs": {
|
|
336
|
+
"devDependencies": "1.1.0"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"@deepseek-ai/cordis-plugin-group": {
|
|
340
|
+
"version": "1.1.0",
|
|
341
|
+
"license": "MIT",
|
|
342
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/cordis-plugin-group/-/cordis-plugin-group-1.1.0.tgz",
|
|
343
|
+
"purpose": "Official host lifecycle development prerequisite",
|
|
344
|
+
"usedAs": [
|
|
345
|
+
"devDependencies"
|
|
346
|
+
],
|
|
347
|
+
"specs": {
|
|
348
|
+
"devDependencies": "1.1.0"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"@deepseek-ai/dsh-app-boot": {
|
|
352
|
+
"version": "0.2.2-rc.1",
|
|
353
|
+
"license": "MIT",
|
|
354
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-app-boot/-/dsh-app-boot-0.2.2-rc.1.tgz",
|
|
355
|
+
"purpose": "Declared public host type/build prerequisite",
|
|
356
|
+
"usedAs": [
|
|
357
|
+
"devDependencies"
|
|
358
|
+
],
|
|
359
|
+
"specs": {
|
|
360
|
+
"devDependencies": "0.2.2-rc.1"
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"@deepseek-ai/dsh-client-ui-primitives": {
|
|
364
|
+
"version": "0.2.2-rc.1",
|
|
365
|
+
"license": "MIT",
|
|
366
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-client-ui-primitives/-/dsh-client-ui-primitives-0.2.2-rc.1.tgz",
|
|
367
|
+
"purpose": "Declared public host type/build prerequisite",
|
|
368
|
+
"usedAs": [
|
|
369
|
+
"devDependencies"
|
|
370
|
+
],
|
|
371
|
+
"specs": {
|
|
372
|
+
"devDependencies": "0.2.2-rc.1"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
"@deepseek-ai/dsh-client-ui-sidebar": {
|
|
376
|
+
"version": "0.2.2-rc.1",
|
|
377
|
+
"license": "MIT",
|
|
378
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-client-ui-sidebar/-/dsh-client-ui-sidebar-0.2.2-rc.1.tgz",
|
|
379
|
+
"purpose": "Declared public host type/build prerequisite",
|
|
380
|
+
"usedAs": [
|
|
381
|
+
"devDependencies"
|
|
382
|
+
],
|
|
383
|
+
"specs": {
|
|
384
|
+
"devDependencies": "0.2.2-rc.1"
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
"@deepseek-ai/dsh-typert-protocol": {
|
|
388
|
+
"version": "0.2.2-rc.1",
|
|
389
|
+
"license": "MIT",
|
|
390
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-typert-protocol/-/dsh-typert-protocol-0.2.2-rc.1.tgz",
|
|
391
|
+
"purpose": "Declared public host type/build prerequisite",
|
|
392
|
+
"usedAs": [
|
|
393
|
+
"devDependencies"
|
|
394
|
+
],
|
|
395
|
+
"specs": {
|
|
396
|
+
"devDependencies": "0.2.2-rc.1"
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"@deepseek-ai/dsh-util-file-drag": {
|
|
400
|
+
"version": "0.2.2-rc.1",
|
|
401
|
+
"license": "MIT",
|
|
402
|
+
"source": "https://registry.npmjs.org/@deepseek-ai/dsh-util-file-drag/-/dsh-util-file-drag-0.2.2-rc.1.tgz",
|
|
403
|
+
"purpose": "Declared public host type/build prerequisite",
|
|
404
|
+
"usedAs": [
|
|
405
|
+
"devDependencies"
|
|
406
|
+
],
|
|
407
|
+
"specs": {
|
|
408
|
+
"devDependencies": "0.2.2-rc.1"
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"@shikijs/langs": {
|
|
412
|
+
"version": "4.4.3",
|
|
413
|
+
"license": "MIT",
|
|
414
|
+
"source": "https://registry.npmjs.org/@shikijs/langs/-/langs-4.4.3.tgz",
|
|
415
|
+
"purpose": "Declared public host type/build prerequisite",
|
|
416
|
+
"usedAs": [
|
|
417
|
+
"devDependencies"
|
|
418
|
+
],
|
|
419
|
+
"specs": {
|
|
420
|
+
"devDependencies": "4.4.3"
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"@types/node": {
|
|
424
|
+
"version": "24.13.4",
|
|
425
|
+
"license": "MIT",
|
|
426
|
+
"source": "https://registry.npmjs.org/@types/node/-/node-24.13.4.tgz",
|
|
427
|
+
"purpose": "Declared public host type/build prerequisite",
|
|
428
|
+
"usedAs": [
|
|
429
|
+
"devDependencies"
|
|
430
|
+
],
|
|
431
|
+
"specs": {
|
|
432
|
+
"devDependencies": "24.13.4"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"@types/js-yaml": {
|
|
436
|
+
"version": "4.0.9",
|
|
437
|
+
"license": "MIT",
|
|
438
|
+
"source": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.9.tgz",
|
|
439
|
+
"purpose": "Declared public host type/build prerequisite",
|
|
440
|
+
"usedAs": [
|
|
441
|
+
"devDependencies"
|
|
442
|
+
],
|
|
443
|
+
"specs": {
|
|
444
|
+
"devDependencies": "4.0.9"
|
|
445
|
+
}
|
|
308
446
|
}
|
|
309
447
|
},
|
|
310
448
|
"downloadedRuntimes": {
|
package/docs/SECURITY.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
D3(编排11-09授权):仅公开install-target的有效匿名GET/GET预检对名单外HTTP(S) Origin给精确CORS,披露固定ORIGIN_DENIED与本机拒绝监听存在,不披露客户端能力、安装或允许名单。预检204只使浏览器继续读取拒绝;PNA true响应仅在对应请求头为true时出现。其他接口/Host/凭据/iframe边界不变。详见INSTALL_TARGET.md。
|
|
2
|
+
|
|
3
|
+
0.6.23:安装状态只在原显式同意之后自动发现当前用户的官方 CLI;不读认证/聊天/配置文件、不修改用户配置。登录 shell 仅输出白名单PATH/管理器/XDG路径的封装JSON,未复制完整环境或模型/API token;正常shell stderr不当失败,插件清单仍要求无stderr。监督器保留管理器PATH及原XDG值/缺省,仅临时工作目录和TMP隔离;CLI 仍限版本与插件/市场只读清单,版本下限和既有 JSON 校验双门。Windows npm shim 解析至具名官方 JS,绝不经 cmd 执行。详见 INSTALLATION_STATUS.md。
|
|
4
|
+
|
|
1
5
|
0.6.7 installation-status is a separately consented read capability: exact existing loopback Host/approved Origin, credentials omitted, strict POST body before any reader. Core is authoritative; CLI executable/profile/target/budgets are static trusted settings, never browser input. Official list output is whitelisted and no raw paths, unrelated inventory or errors leave the host. A live detached IPC anchor owns cancellation and parent-disconnect group cleanup; no cached installed answer. See INSTALLATION_STATUS.md for exact protocol and scope limits.
|
|
2
6
|
|
|
3
7
|
D-230: failed activation releases only resources acquired by that AppHost activation, including partially registered routes and optional-service listeners. Once-only releases also serve normal Cordis unload. All failed-startup releases are attempted in reverse order; APPHOST_CLEANUP_FAILED names the internal resource without raw errors or credentials, and logger failures cannot replace the original activation error. No authentication, origin, lease, application or browser policy is relaxed.
|
|
@@ -89,3 +93,14 @@ B17 候选的套件来源选择仅在 AppHost 自有同源已准入设置端点
|
|
|
89
93
|
0.6.16:只消费 DSH 公开源事实和公开排序/后继许可规则,不读 .npmrc、凭据、私有服务字段;配置源与受控 CLI 使用同一选择;null项沿用pnpm自有配置,不显式传registry。30秒上限只用于本次安装前查询,超时终止且不重试;配置源的顺序由 DSH 决定。诊断只投影脱敏的类型/消息/code/cause链及已知CLI字段,同时进既有UI和宿主日志;URL用户信息、全部查询值、Authorization/Cookie、token/secret均删除,限4001字符,不传任意details/stack/响应正文。
|
|
90
94
|
|
|
91
95
|
公开registry规则只从已证明的宿主manager安装位置加载,复用原版本守卫;不安装第二份manager、不复制生产规则、不从任意浏览器路径加载模块。tests/fixtures的原始MIT规则与SHA/许可证只作测试,不进发布包。
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
## Local snapshot publication on Windows
|
|
99
|
+
|
|
100
|
+
The optional local `AtomicFileStore` flushes the newly written snapshot file, closes it, then renames it within the same directory on every platform. On Linux and macOS it additionally opens and synchronizes the containing directory before acknowledging publication. Node does not provide the directory-open/fsync operation on Windows, so that extra directory flush is not attempted there. Windows still publishes a complete file image and retains real process-kill/crash-cut checks; this does not promise that the renamed directory entry survives power loss or an OS/storage crash. A file-sync failure is never ignored, and a failure after rename remains `COMMIT_UNCERTAIN`. The normal DSH storage-domain bridge keeps its provider's publication contract.
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
On Windows the optional Coding OAuth Gateway **file** source remains unreachable: Node's POSIX mode bits cannot establish a private Windows ACL, so AppHost rejects that source before reading its contents. `chmod(0600)` is never treated as ACL proof. The authenticated HTTP provider is the supported alternative; no secret is silently imported from an unverified file.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
An explicitly configured existing standalone Node on Windows x64 may be used by the controlled CLI supervisor. It is executed only for the fixed Node probe, with an empty PATH, bounded output and a two-second deadline; the response must match the selected OS/architecture, Node 24 version floor and absence of Electron. That external selection does not enable managed downloads/preparation or owned application launch.
|
|
File without changes
|