@deepseek-ai/dsh-web-app 0.1.0-rc.8 → 0.1.1-rc.2

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.i18n.yaml CHANGED
@@ -3,4 +3,4 @@
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/bundle/web-app/README.md
5
5
  README.md: c8a6874bc01696fc7c9ca65faf772da81ac1e964
6
- README.zh.md: f36115cd97ccfeabd9bbb1a408be89c4c1df8723
6
+ README.zh.md: cb58177daa9eb166e29e4169409bbc6a558437e0
package/README.zh.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [English](README.md) | 中文
4
4
 
5
- dsh 浏览器表层组合包。[`cordis.patch.yml`](cordis.patch.yml) 叠加在 [`dsh-base`](../base/README.md) 之上:设置 coding persona,插入 Web 宿主行(webserver、API 网关、workspace、投影缓存、存储)、浏览器插件名录与始终挂载的客户端插件重载链([`dsh-client-hmr`](../../client/hmr/README.md),在重建 watcher 改写客户端 bundle 之前保持空闲),并挂载本包的 `web-runtime` 粘合插件(配置为 `{openBrowser, printUrl, surfaceContext, trustedHosts}`)。该插件通过 `@deepseek-ai/dsh-web-frontend` 的 exports 解析已构建的前端 dist,只采样一次依赖 bind 的 LAN 信任信息并将其作为 `webRuntime` 提供给浏览器信任栅栏和客户端名录,挂载 [`frontend-static`](../../host/frontend-static/README.md) 回退席位所有者,并在 `surfaceContext` 为 true 时注册 Harness 源码与 Web 表层提示词段落,以及 bash 可见的 `DSH_WEB_URL` 运行时变量。自身 Loader 配置树结算后,它在 `printUrl` 为 true 时打印 `dsh web:` URL 行;`openBrowser` 为 true 且继承的 `SSH_CONNECTION` 与 `SSH_TTY` 均为空或不存在时,才会用默认浏览器打开规范宿主机 URL。SSH 启动仍保留 URL 行,但会跳过浏览器交接,因为本地转发地址由 SSH 客户端或编辑器持有。交接前,运行时会打印英文提示 `dsh web: opening the default browser; pass --no-open to disable`。短生命周期 Node helper 使用规范的脱敏子进程环境运行受维护的平台 opener。在 Windows 上,helper 会保持存活,直至短生命周期的 PowerShell launcher 退出,因为 `open` 会在 launcher 把 URL 交给 shell 之前、仅在 spawn 时返回;其他平台则在 opener 接受 spawn 后结束。helper 失败时会向 stderr 写入包含原因和手动访问 URL 的诊断,不会停止服务器,且任何路径都不会等待浏览器退出。本组合包还持有应用命令行:普通 `web-startup` 提供方([`src/startup.ts`](src/startup.ts))注入 `ctx.cmdlineArgs`([`dsh-cmdline`](../../boot/cmdline/README.md)),解析 `--host`、`--port`、可重复的 `--trusted-host`、`--no-open` 以及应用自己的 `--help`,再提供 `webStartup`;本机启动默认会打开浏览器,`--no-open` 则只对本次调用关闭该行为。它会在发布该服务前拒绝 `--host 0.0.0.0`,因为 CLI 目前有意不支持绑定所有网络接口。由 flag 配置的行会注入该服务,并在惰性配置中直接读取它,因此参数解析完成前不会有任何东西绑定端口,`dsh --profile web --help` 也不会启动服务器。[`dsh-headless`](../headless/README.md) 是同一 base 之上的同级表层,不挂载本组合包。
5
+ dsh 浏览器表层组合包。[`cordis.patch.yml`](cordis.patch.yml) 叠加在 [`dsh-base`](../base/README.zh.md) 之上:设置 coding persona,插入 Web 宿主行(webserver、API 网关、workspace、投影缓存、存储)、浏览器插件名录与始终挂载的客户端插件重载链([`dsh-client-hmr`](../../client/hmr/README.zh.md),在重建 watcher 改写客户端 bundle 之前保持空闲),并挂载本包的 `web-runtime` 粘合插件(配置为 `{openBrowser, printUrl, surfaceContext, trustedHosts}`)。该插件通过 `@deepseek-ai/dsh-web-frontend` 的 exports 解析已构建的前端 dist,只采样一次依赖 bind 的 LAN 信任信息并将其作为 `webRuntime` 提供给浏览器信任栅栏和客户端名录,挂载 [`frontend-static`](../../host/frontend-static/README.zh.md) 回退席位所有者,并在 `surfaceContext` 为 true 时注册 Harness 源码与 Web 表层提示词段落,以及 bash 可见的 `DSH_WEB_URL` 运行时变量。自身 Loader 配置树结算后,它在 `printUrl` 为 true 时打印 `dsh web:` URL 行;`openBrowser` 为 true 且继承的 `SSH_CONNECTION` 与 `SSH_TTY` 均为空或不存在时,才会用默认浏览器打开规范宿主机 URL。SSH 启动仍保留 URL 行,但会跳过浏览器交接,因为本地转发地址由 SSH 客户端或编辑器持有。交接前,运行时会打印英文提示 `dsh web: opening the default browser; pass --no-open to disable`。短生命周期 Node helper 使用规范的脱敏子进程环境运行受维护的平台 opener。在 Windows 上,helper 会保持存活,直至短生命周期的 PowerShell launcher 退出,因为 `open` 会在 launcher 把 URL 交给 shell 之前、仅在 spawn 时返回;其他平台则在 opener 接受 spawn 后结束。helper 失败时会向 stderr 写入包含原因和手动访问 URL 的诊断,不会停止服务器,且任何路径都不会等待浏览器退出。本组合包还持有应用命令行:普通 `web-startup` 提供方([`src/startup.ts`](src/startup.ts))注入 `ctx.cmdlineArgs`([`dsh-cmdline`](../../boot/cmdline/README.zh.md)),解析 `--host`、`--port`、可重复的 `--trusted-host`、`--no-open` 以及应用自己的 `--help`,再提供 `webStartup`;本机启动默认会打开浏览器,`--no-open` 则只对本次调用关闭该行为。它会在发布该服务前拒绝 `--host 0.0.0.0`,因为 CLI 目前有意不支持绑定所有网络接口。由 flag 配置的行会注入该服务,并在惰性配置中直接读取它,因此参数解析完成前不会有任何东西绑定端口,`dsh --profile web --help` 也不会启动服务器。[`dsh-headless`](../headless/README.zh.md) 是同一 base 之上的同级表层,不挂载本组合包。
6
6
 
7
7
  ## 模型重试默认值
8
8
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-web-app",
3
3
  "description": "The dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)",
4
- "version": "0.1.0-rc.8",
4
+ "version": "0.1.1-rc.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -46,86 +46,86 @@
46
46
  "dependencies": {
47
47
  "commander": "^15.0.0",
48
48
  "open": "^11.0.0",
49
- "@deepseek-ai/dsh-api-remotes": "^0.1.0-rc.8",
50
- "@deepseek-ai/dsh-app-boot": "^0.1.0-rc.8",
51
- "@deepseek-ai/dsh-agent-presets": "^0.1.0-rc.8",
52
- "@deepseek-ai/dsh-client-locale": "^0.1.0-rc.8",
53
- "@deepseek-ai/dsh-client-hmr": "^0.1.0-rc.8",
54
- "@deepseek-ai/dsh-client-connection": "^0.1.0-rc.8",
55
- "@deepseek-ai/dsh-client-modules": "^0.1.0-rc.8",
56
- "@deepseek-ai/dsh-client-ui-renderer": "^0.1.0-rc.8",
57
- "@deepseek-ai/dsh-client-ui-agent-preset": "^0.1.0-rc.8",
58
- "@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.8",
59
- "@deepseek-ai/dsh-client-ui-attachment": "^0.1.0-rc.8",
60
- "@deepseek-ai/dsh-client-ui-commands": "^0.1.0-rc.8",
61
- "@deepseek-ai/dsh-client-ui-brand-official": "^0.1.0-rc.8",
62
- "@deepseek-ai/dsh-client-ui-conversation": "^0.1.0-rc.8",
63
- "@deepseek-ai/dsh-client-ui-cordis": "^0.1.0-rc.8",
64
- "@deepseek-ai/dsh-client-ui-deliverables": "^0.1.0-rc.8",
65
- "@deepseek-ai/dsh-client-ui-directory-picker-browse": "^0.1.0-rc.8",
66
- "@deepseek-ai/dsh-client-ui-directory-picker-native": "^0.1.0-rc.8",
67
- "@deepseek-ai/dsh-client-ui-goal": "^0.1.0-rc.8",
68
- "@deepseek-ai/dsh-client-ui-layout": "^0.1.0-rc.8",
69
- "@deepseek-ai/dsh-client-ui-message-feedback": "^0.1.0-rc.8",
70
- "@deepseek-ai/dsh-client-ui-model-selection": "^0.1.0-rc.8",
71
- "@deepseek-ai/dsh-client-ui-settings-models": "^0.1.0-rc.8",
72
- "@deepseek-ai/dsh-client-ui-settings-plugin-inventory": "^0.1.0-rc.8",
73
- "@deepseek-ai/dsh-client-ui-permission-presets": "^0.1.0-rc.8",
74
- "@deepseek-ai/dsh-client-ui-settings-plugins": "^0.1.0-rc.8",
75
- "@deepseek-ai/dsh-client-ui-user-questions": "^0.1.0-rc.8",
76
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.8",
77
- "@deepseek-ai/dsh-client-ui-settings-general": "^0.1.0-rc.8",
78
- "@deepseek-ai/dsh-client-ui-plan": "^0.1.0-rc.8",
79
- "@deepseek-ai/dsh-client-ui-sidebar": "^0.1.0-rc.8",
80
- "@deepseek-ai/dsh-client-ui-skill": "^0.1.0-rc.8",
81
- "@deepseek-ai/dsh-client-ui-input-trigger": "^0.1.0-rc.8",
82
- "@deepseek-ai/dsh-client-ui-reference": "^0.1.0-rc.8",
83
- "@deepseek-ai/dsh-client-ui-subagent": "^0.1.0-rc.8",
84
- "@deepseek-ai/dsh-client-ui-jobs": "^0.1.0-rc.8",
85
- "@deepseek-ai/dsh-client-ui-theme": "^0.1.0-rc.8",
86
- "@deepseek-ai/dsh-client-ui-tool": "^0.1.0-rc.8",
87
- "@deepseek-ai/dsh-client-ui-workflow-run": "^0.1.0-rc.8",
88
- "@deepseek-ai/dsh-client-ui-trajectory": "^0.1.0-rc.8",
89
- "@deepseek-ai/dsh-client-ui-workspace": "^0.1.0-rc.8",
90
- "@deepseek-ai/dsh-cmdline": "^0.1.0-rc.8",
91
- "@deepseek-ai/dsh-code-runtime-worker-thread": "^0.1.0-rc.8",
92
- "@deepseek-ai/dsh-cordis-client-runner": "^0.1.0-rc.8",
93
- "@deepseek-ai/dsh-cordis-host-runner": "^0.1.0-rc.8",
94
- "@deepseek-ai/dsh-web-frontend": "^0.1.0-rc.8",
95
- "@deepseek-ai/dsh-host-frontend-static": "^0.1.0-rc.8",
96
- "@deepseek-ai/dsh-host-apiproxy": "^0.1.0-rc.8",
97
- "@deepseek-ai/dsh-host-directory-picker-auto": "^0.1.0-rc.8",
98
- "@deepseek-ai/dsh-host-directory-picker-browse": "^0.1.0-rc.8",
99
- "@deepseek-ai/dsh-host-directory-picker-native": "^0.1.0-rc.8",
100
- "@deepseek-ai/dsh-host-plugin-inventory": "^0.1.0-rc.8",
101
- "@deepseek-ai/dsh-host-webserver": "^0.1.0-rc.8",
102
- "@deepseek-ai/dsh-file-reference": "^0.1.0-rc.8",
103
- "@deepseek-ai/dsh-file-reference-local": "^0.1.0-rc.8",
104
- "@deepseek-ai/dsh-launch-environment": "^0.1.0-rc.8",
105
- "@deepseek-ai/dsh-message-feedback": "^0.1.0-rc.8",
106
- "@deepseek-ai/dsh-session-reference": "^0.1.0-rc.8",
107
- "@deepseek-ai/dsh-session-log-export": "^0.1.0-rc.8",
108
- "@deepseek-ai/dsh-storage": "^0.1.0-rc.8",
109
- "@deepseek-ai/dsh-storage-domain": "^0.1.0-rc.8",
110
- "@deepseek-ai/dsh-session-stats": "^0.1.0-rc.8",
111
- "@deepseek-ai/dsh-storage-json": "^0.1.0-rc.8",
112
- "@deepseek-ai/dsh-subprocess": "^0.1.0-rc.8",
113
- "@deepseek-ai/dsh-workspace": "^0.1.0-rc.8",
114
- "@deepseek-ai/schemastery": "^3.18.1",
115
- "@deepseek-ai/dsh-session-projection-cache": "^0.1.0-rc.8"
49
+ "@deepseek-ai/dsh-agent-presets": "^0.1.1-rc.2",
50
+ "@deepseek-ai/dsh-api-remotes": "^0.1.1-rc.2",
51
+ "@deepseek-ai/dsh-app-boot": "^0.1.1-rc.2",
52
+ "@deepseek-ai/dsh-client-connection": "^0.1.1-rc.2",
53
+ "@deepseek-ai/dsh-client-hmr": "^0.1.1-rc.2",
54
+ "@deepseek-ai/dsh-client-locale": "^0.1.1-rc.2",
55
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.1.1-rc.2",
56
+ "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.2",
57
+ "@deepseek-ai/dsh-client-ui-agent-preset": "^0.1.1-rc.2",
58
+ "@deepseek-ai/dsh-client-ui-attachment": "^0.1.1-rc.2",
59
+ "@deepseek-ai/dsh-client-ui-brand-official": "^0.1.1-rc.2",
60
+ "@deepseek-ai/dsh-client-ui-commands": "^0.1.1-rc.2",
61
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.1.1-rc.2",
62
+ "@deepseek-ai/dsh-client-ui-cordis": "^0.1.1-rc.2",
63
+ "@deepseek-ai/dsh-client-ui-deliverables": "^0.1.1-rc.2",
64
+ "@deepseek-ai/dsh-client-ui-directory-picker-browse": "^0.1.1-rc.2",
65
+ "@deepseek-ai/dsh-client-ui-directory-picker-native": "^0.1.1-rc.2",
66
+ "@deepseek-ai/dsh-client-ui-message-feedback": "^0.1.1-rc.2",
67
+ "@deepseek-ai/dsh-client-ui-goal": "^0.1.1-rc.2",
68
+ "@deepseek-ai/dsh-client-ui-layout": "^0.1.1-rc.2",
69
+ "@deepseek-ai/dsh-client-ui-model-selection": "^0.1.1-rc.2",
70
+ "@deepseek-ai/dsh-client-modules": "^0.1.1-rc.2",
71
+ "@deepseek-ai/dsh-client-ui-settings-plugin-inventory": "^0.1.1-rc.2",
72
+ "@deepseek-ai/dsh-client-ui-permission-presets": "^0.1.1-rc.2",
73
+ "@deepseek-ai/dsh-client-ui-plan": "^0.1.1-rc.2",
74
+ "@deepseek-ai/dsh-client-ui-settings-plugins": "^0.1.1-rc.2",
75
+ "@deepseek-ai/dsh-client-ui-user-questions": "^0.1.1-rc.2",
76
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.1-rc.2",
77
+ "@deepseek-ai/dsh-client-ui-settings-general": "^0.1.1-rc.2",
78
+ "@deepseek-ai/dsh-client-ui-sidebar": "^0.1.1-rc.2",
79
+ "@deepseek-ai/dsh-client-ui-skill": "^0.1.1-rc.2",
80
+ "@deepseek-ai/dsh-client-ui-input-trigger": "^0.1.1-rc.2",
81
+ "@deepseek-ai/dsh-client-ui-reference": "^0.1.1-rc.2",
82
+ "@deepseek-ai/dsh-client-ui-subagent": "^0.1.1-rc.2",
83
+ "@deepseek-ai/dsh-client-ui-jobs": "^0.1.1-rc.2",
84
+ "@deepseek-ai/dsh-client-ui-theme": "^0.1.1-rc.2",
85
+ "@deepseek-ai/dsh-client-ui-tool": "^0.1.1-rc.2",
86
+ "@deepseek-ai/dsh-client-ui-workflow-run": "^0.1.1-rc.2",
87
+ "@deepseek-ai/dsh-client-ui-trajectory": "^0.1.1-rc.2",
88
+ "@deepseek-ai/dsh-client-ui-workspace": "^0.1.1-rc.2",
89
+ "@deepseek-ai/dsh-cmdline": "^0.1.1-rc.2",
90
+ "@deepseek-ai/dsh-cordis-client-runner": "^0.1.1-rc.2",
91
+ "@deepseek-ai/dsh-cordis-host-runner": "^0.1.1-rc.2",
92
+ "@deepseek-ai/dsh-web-frontend": "^0.1.1-rc.2",
93
+ "@deepseek-ai/dsh-client-ui-settings-models": "^0.1.1-rc.2",
94
+ "@deepseek-ai/dsh-host-frontend-static": "^0.1.1-rc.2",
95
+ "@deepseek-ai/dsh-host-apiproxy": "^0.1.1-rc.2",
96
+ "@deepseek-ai/dsh-host-directory-picker-browse": "^0.1.1-rc.2",
97
+ "@deepseek-ai/dsh-code-runtime-worker-thread": "^0.1.1-rc.2",
98
+ "@deepseek-ai/dsh-host-directory-picker-native": "^0.1.1-rc.2",
99
+ "@deepseek-ai/dsh-host-plugin-inventory": "^0.1.1-rc.2",
100
+ "@deepseek-ai/dsh-host-webserver": "^0.1.1-rc.2",
101
+ "@deepseek-ai/dsh-file-reference": "^0.1.1-rc.2",
102
+ "@deepseek-ai/dsh-file-reference-local": "^0.1.1-rc.2",
103
+ "@deepseek-ai/dsh-launch-environment": "^0.1.1-rc.2",
104
+ "@deepseek-ai/dsh-message-feedback": "^0.1.1-rc.2",
105
+ "@deepseek-ai/dsh-session-reference": "^0.1.1-rc.2",
106
+ "@deepseek-ai/dsh-session-log-export": "^0.1.1-rc.2",
107
+ "@deepseek-ai/dsh-session-stats": "^0.1.1-rc.2",
108
+ "@deepseek-ai/dsh-storage": "^0.1.1-rc.2",
109
+ "@deepseek-ai/dsh-storage-domain": "^0.1.1-rc.2",
110
+ "@deepseek-ai/dsh-storage-json": "^0.1.1-rc.2",
111
+ "@deepseek-ai/dsh-session-projection-cache": "^0.1.1-rc.2",
112
+ "@deepseek-ai/dsh-subprocess": "^0.1.1-rc.2",
113
+ "@deepseek-ai/dsh-workspace": "^0.1.1-rc.2",
114
+ "@deepseek-ai/dsh-host-directory-picker-auto": "^0.1.1-rc.2",
115
+ "@deepseek-ai/schemastery": "^3.18.1"
116
116
  },
117
117
  "peerDependencies": {
118
- "@deepseek-ai/dsh-shell-env": "^0.1.0-rc.8",
119
118
  "@deepseek-ai/cordis-plugin-loader": "^1.0.2",
120
- "@deepseek-ai/dsh-invariants": "^0.1.0-rc.8",
121
- "@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.8",
119
+ "@deepseek-ai/dsh-shell-env": "^0.1.1-rc.2",
120
+ "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
121
+ "@deepseek-ai/dsh-system-prompt": "^0.1.1-rc.2",
122
122
  "@deepseek-ai/cordis": "^4.0.1"
123
123
  },
124
124
  "devDependencies": {
125
+ "@deepseek-ai/dsh-shell-env": "^0.1.1-rc.2",
126
+ "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
127
+ "@deepseek-ai/cordis": "^4.0.1",
125
128
  "@deepseek-ai/cordis-plugin-loader": "^1.0.2",
126
- "@deepseek-ai/dsh-shell-env": "^0.1.0-rc.8",
127
- "@deepseek-ai/dsh-invariants": "^0.1.0-rc.8",
128
- "@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.8",
129
- "@deepseek-ai/cordis": "^4.0.1"
129
+ "@deepseek-ai/dsh-system-prompt": "^0.1.1-rc.2"
130
130
  }
131
131
  }