@monotykamary/dsh-web-app 0.1.7 → 0.1.9

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
@@ -1,6 +1,6 @@
1
1
  # Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
- # pnpm run verify-translation-pairing --write packages/bundle/web-app/README.md
5
- README.md: 5d483f25639fcfb8a46906f5657dd98637a13701
6
- README.zh.md: d2e38df708c17842276435c790006f66c9e72e5c
4
+ # bun run verify-translation-pairing --write packages/bundle/web-app/README.md
5
+ README.md: 3bef7f3f89c196a06774fd00b216b0482feec180
6
+ README.zh.md: 29a405796b8a0fa18bee544eeee1bda795714c92
package/README.md CHANGED
@@ -13,7 +13,7 @@ Web uses the shared bounded normal default of five eligible retries after the in
13
13
 
14
14
  #### What the model sees
15
15
 
16
- When `surfaceContext` is true, the `harness:source` section identifies the on-disk Harness implementation without claiming it is the working directory, and the `app:web-surface` global section (order −98) orients the model to the GUI: the canonical local URL, the "this page" referent, the update contract (the reload receiver is always on; no-refresh reloads additionally need the `pnpm run dev:web` watcher), and the instruction not to start replacement servers. `DSH_WEB_URL` additionally appears in the managed bash environment with its description, resolved per invocation from the live server. When it is false, neither section nor the variable is registered.
16
+ When `surfaceContext` is true, the `harness:source` section identifies the on-disk Harness implementation without claiming it is the working directory, and the `app:web-surface` global section (order −98) orients the model to the GUI: the canonical local URL, the "this page" referent, the update contract (the reload receiver is always on; no-refresh reloads additionally need the `bun run dev:web` watcher), and the instruction not to start replacement servers. `DSH_WEB_URL` additionally appears in the managed bash environment with its description, resolved per invocation from the live server. When it is false, neither section nor the variable is registered.
17
17
 
18
18
  #### Token effect
19
19
 
package/README.zh.md CHANGED
@@ -13,7 +13,7 @@ Web 使用共享的有界 normal 默认值,在首次请求后最多再重试
13
13
 
14
14
  #### 模型看到的内容
15
15
 
16
- 当 `surfaceContext` 为 true 时,`harness:source` 段落标明磁盘上的 Harness 实现,但不会声称它就是工作目录;全局段落 `app:web-surface`(顺序 −98)则向模型说明 GUI:规范的本地 URL、「this page」指代什么、更新约定(重载接收端始终开启;无刷新重载还需要 `pnpm run dev:web` watcher),以及不要启动替代服务器的指令。`DSH_WEB_URL` 还会连同描述出现在受管 bash 环境中,每次调用时从运行中的服务器解析。当它为 false 时,这两个段落和该变量都不会注册。
16
+ 当 `surfaceContext` 为 true 时,`harness:source` 段落标明磁盘上的 Harness 实现,但不会声称它就是工作目录;全局段落 `app:web-surface`(顺序 −98)则向模型说明 GUI:规范的本地 URL、「this page」指代什么、更新约定(重载接收端始终开启;无刷新重载还需要 `bun run dev:web` watcher),以及不要启动替代服务器的指令。`DSH_WEB_URL` 还会连同描述出现在受管 bash 环境中,每次调用时从运行中的服务器解析。当它为 false 时,这两个段落和该变量都不会注册。
17
17
 
18
18
  #### Token 影响
19
19
 
package/cordis.patch.yml CHANGED
@@ -157,7 +157,7 @@
157
157
  portless: !!js ctx.webStartup.portless
158
158
 
159
159
  # The client-plugin reload chain, always mounted: it is idle until a
160
- # rebuild watcher (pnpm run dev:web) actually rewrites client bundles. It
160
+ # rebuild watcher (bun run dev:web) actually rewrites client bundles. It
161
161
  # is a row rather than a child of web-runtime because its node half is a
162
162
  # client-side package, which a host-side bundle cannot import.
163
163
  - id: client-hmr
package/lib/index.js CHANGED
@@ -263,7 +263,7 @@ function resolveLanTrust(bindHost, extra) {
263
263
  }
264
264
  /** Model-visible orientation and acceptance boundary for sessions created through `dsh web`. */
265
265
  function webSurfacePrompt(webUrl) {
266
- return `You are interacting with the user through the DeepSeek Harness Web GUI at ${webUrl}. When the user refers to "this page", "this GUI", or "this app" without naming another target, they mean this GUI. The browser provides no implicit DOM, route, or screenshot context. The client-plugin HMR receiver is active, but client-plugin changes reload without a refresh only while \`pnpm run dev:web\` is also running from this same checkout to rebuild their bundles; verify that watcher before promising automatic updates. Every other change — the apps/web shell and plain packages — requires rebuilding the affected Web artifacts and verifying this existing URL after a page refresh. Starting another server does not update this GUI. The apps/web Vite entry builds the shell but is not a standalone application because only dsh web injects window.__DSH_BOOT__. Do not start a replacement server unless the user asks; if one is needed, use a managed background job and verify its exact URL.`;
266
+ return `You are interacting with the user through the DeepSeek Harness Web GUI at ${webUrl}. When the user refers to "this page", "this GUI", or "this app" without naming another target, they mean this GUI. The browser provides no implicit DOM, route, or screenshot context. The client-plugin HMR receiver is active, but client-plugin changes reload without a refresh only while \`bun run dev:web\` is also running from this same checkout to rebuild their bundles; verify that watcher before promising automatic updates. Every other change — the apps/web shell and plain packages — requires rebuilding the affected Web artifacts and verifying this existing URL after a page refresh. Starting another server does not update this GUI. The apps/web Vite entry builds the shell but is not a standalone application because only dsh web injects window.__DSH_BOOT__. Do not start a replacement server unless the user asks; if one is needed, use a managed background job and verify its exact URL.`;
267
267
  }
268
268
  /** Resolve the canonical loopback URL from the active Web server. */
269
269
  function localWebUrl(ctx) {
@@ -277,7 +277,7 @@ function resolveDistIndex() {
277
277
  try {
278
278
  return require.resolve("@monotykamary/dsh-web-frontend/dist/index.html");
279
279
  } catch {
280
- throw new Error("web-app: frontend dist not built; run pnpm run build from the repository root first");
280
+ throw new Error("web-app: frontend dist not built; run bun run build from the repository root first");
281
281
  }
282
282
  }
283
283
  /** Start the maintained platform opener without forwarding Harness credentials. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@monotykamary/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.7",
4
+ "version": "0.1.9",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -49,100 +49,100 @@
49
49
  }
50
50
  },
51
51
  "dependencies": {
52
+ "@monotykamary/dsh-agent-presets": "^0.1.9",
53
+ "@monotykamary/dsh-api-remotes": "^0.1.9",
54
+ "@monotykamary/dsh-app-boot": "^0.1.9",
55
+ "@monotykamary/dsh-client-connection": "^0.1.9",
56
+ "@monotykamary/dsh-client-hmr": "^0.1.9",
57
+ "@monotykamary/dsh-client-locale": "^0.1.9",
58
+ "@monotykamary/dsh-client-modules": "^0.1.9",
59
+ "@monotykamary/dsh-client-ui-renderer": "^0.1.9",
60
+ "@monotykamary/dsh-client-runtime": "^0.1.9",
61
+ "@monotykamary/dsh-client-ui-agent-preset": "^0.1.9",
62
+ "@monotykamary/dsh-client-ui-attachment": "^0.1.9",
63
+ "@monotykamary/dsh-client-ui-brand-official": "^0.1.9",
64
+ "@monotykamary/dsh-client-ui-commands": "^0.1.9",
65
+ "@monotykamary/dsh-client-ui-conversation": "^0.1.9",
66
+ "@monotykamary/dsh-client-ui-cordis": "^0.1.9",
67
+ "@monotykamary/dsh-client-ui-deliverables": "^0.1.9",
68
+ "@monotykamary/dsh-client-ui-directory-picker-browse": "^0.1.9",
69
+ "@monotykamary/dsh-client-ui-directory-picker-native": "^0.1.9",
70
+ "@monotykamary/dsh-client-ui-message-feedback": "^0.1.9",
71
+ "@monotykamary/dsh-client-ui-goal": "^0.1.9",
72
+ "@monotykamary/dsh-client-ui-layout": "^0.1.9",
73
+ "@monotykamary/dsh-client-ui-model-selection": "^0.1.9",
74
+ "@monotykamary/dsh-client-ui-settings-models": "^0.1.9",
75
+ "@monotykamary/dsh-client-ui-settings-plugin-inventory": "^0.1.9",
76
+ "@monotykamary/dsh-client-ui-permission-presets": "^0.1.9",
77
+ "@monotykamary/dsh-client-ui-plan": "^0.1.9",
78
+ "@monotykamary/dsh-client-ui-settings-plugins": "^0.1.9",
79
+ "@monotykamary/dsh-client-ui-user-questions": "^0.1.9",
80
+ "@monotykamary/dsh-client-ui-settings": "^0.1.9",
81
+ "@monotykamary/dsh-client-ui-settings-general": "^0.1.9",
82
+ "@monotykamary/dsh-client-ui-sidebar": "^0.1.9",
83
+ "@monotykamary/dsh-client-ui-skill": "^0.1.9",
84
+ "@monotykamary/dsh-client-ui-input-trigger": "^0.1.9",
85
+ "@monotykamary/dsh-client-ui-reference": "^0.1.9",
86
+ "@monotykamary/dsh-client-ui-subagent": "^0.1.9",
87
+ "@monotykamary/dsh-client-ui-jobs": "^0.1.9",
88
+ "@monotykamary/dsh-client-ui-theme": "^0.1.9",
89
+ "@monotykamary/dsh-client-ui-tool": "^0.1.9",
90
+ "@monotykamary/dsh-client-ui-workflow-run": "^0.1.9",
91
+ "@monotykamary/dsh-client-ui-trajectory": "^0.1.9",
92
+ "@monotykamary/dsh-client-ui-workspace": "^0.1.9",
93
+ "@monotykamary/dsh-cmdline": "^0.1.9",
94
+ "@monotykamary/dsh-code-runtime-worker-thread": "^0.1.9",
95
+ "@monotykamary/dsh-cordis-client-runner": "^0.1.9",
96
+ "@monotykamary/dsh-cordis-host-runner": "^0.1.9",
97
+ "@monotykamary/dsh-web-frontend": "^0.1.9",
98
+ "@monotykamary/dsh-host-frontend-static": "^0.1.9",
99
+ "@monotykamary/dsh-host-apiproxy": "^0.1.9",
100
+ "@monotykamary/dsh-host-directory-picker-auto": "^0.1.9",
101
+ "@monotykamary/dsh-host-directory-picker-browse": "^0.1.9",
102
+ "@monotykamary/dsh-host-directory-picker-native": "^0.1.9",
103
+ "@monotykamary/dsh-host-plugin-inventory": "^0.1.9",
104
+ "@monotykamary/dsh-host-webserver": "^0.1.9",
105
+ "@monotykamary/dsh-file-reference": "^0.1.9",
106
+ "@monotykamary/dsh-file-reference-local": "^0.1.9",
107
+ "@monotykamary/dsh-launch-environment": "^0.1.9",
108
+ "@monotykamary/dsh-message-feedback": "^0.1.9",
109
+ "@monotykamary/dsh-session-projection-cache": "^0.1.9",
110
+ "@monotykamary/dsh-session-reference": "^0.1.9",
111
+ "@monotykamary/dsh-session-log-export": "^0.1.9",
112
+ "@monotykamary/dsh-session-stats": "^0.1.9",
113
+ "@monotykamary/dsh-tool-session-mutations": "^0.1.9",
114
+ "@monotykamary/dsh-storage": "^0.1.9",
115
+ "@monotykamary/dsh-storage-domain": "^0.1.9",
116
+ "@monotykamary/dsh-storage-json": "^0.1.9",
117
+ "@monotykamary/dsh-subprocess": "^0.1.9",
118
+ "@monotykamary/dsh-workspace": "^0.1.9",
119
+ "@monotykamary/schemastery": "^3.18.1",
52
120
  "commander": "^15.0.0",
53
121
  "open": "^11.0.0",
54
- "portless": "0.13.0",
55
- "@monotykamary/dsh-agent-presets": "^0.1.7",
56
- "@monotykamary/dsh-app-boot": "^0.1.7",
57
- "@monotykamary/dsh-client-hmr": "^0.1.7",
58
- "@monotykamary/dsh-client-connection": "^0.1.7",
59
- "@monotykamary/dsh-client-locale": "^0.1.7",
60
- "@monotykamary/dsh-api-remotes": "^0.1.7",
61
- "@monotykamary/dsh-client-modules": "^0.1.7",
62
- "@monotykamary/dsh-client-ui-renderer": "^0.1.7",
63
- "@monotykamary/dsh-client-runtime": "^0.1.7",
64
- "@monotykamary/dsh-client-ui-agent-preset": "^0.1.7",
65
- "@monotykamary/dsh-client-ui-commands": "^0.1.7",
66
- "@monotykamary/dsh-client-ui-attachment": "^0.1.7",
67
- "@monotykamary/dsh-client-ui-conversation": "^0.1.7",
68
- "@monotykamary/dsh-client-ui-cordis": "^0.1.7",
69
- "@monotykamary/dsh-client-ui-deliverables": "^0.1.7",
70
- "@monotykamary/dsh-client-ui-brand-official": "^0.1.7",
71
- "@monotykamary/dsh-client-ui-directory-picker-browse": "^0.1.7",
72
- "@monotykamary/dsh-client-ui-directory-picker-native": "^0.1.7",
73
- "@monotykamary/dsh-client-ui-message-feedback": "^0.1.7",
74
- "@monotykamary/dsh-client-ui-goal": "^0.1.7",
75
- "@monotykamary/dsh-client-ui-layout": "^0.1.7",
76
- "@monotykamary/dsh-client-ui-model-selection": "^0.1.7",
77
- "@monotykamary/dsh-client-ui-settings-plugin-inventory": "^0.1.7",
78
- "@monotykamary/dsh-client-ui-settings-models": "^0.1.7",
79
- "@monotykamary/dsh-client-ui-plan": "^0.1.7",
80
- "@monotykamary/dsh-client-ui-permission-presets": "^0.1.7",
81
- "@monotykamary/dsh-client-ui-settings": "^0.1.7",
82
- "@monotykamary/dsh-client-ui-settings-plugins": "^0.1.7",
83
- "@monotykamary/dsh-client-ui-user-questions": "^0.1.7",
84
- "@monotykamary/dsh-client-ui-sidebar": "^0.1.7",
85
- "@monotykamary/dsh-client-ui-settings-general": "^0.1.7",
86
- "@monotykamary/dsh-client-ui-skill": "^0.1.7",
87
- "@monotykamary/dsh-client-ui-input-trigger": "^0.1.7",
88
- "@monotykamary/dsh-client-ui-subagent": "^0.1.7",
89
- "@monotykamary/dsh-client-ui-theme": "^0.1.7",
90
- "@monotykamary/dsh-client-ui-workflow-run": "^0.1.7",
91
- "@monotykamary/dsh-client-ui-jobs": "^0.1.7",
92
- "@monotykamary/dsh-client-ui-reference": "^0.1.7",
93
- "@monotykamary/dsh-client-ui-tool": "^0.1.7",
94
- "@monotykamary/dsh-client-ui-trajectory": "^0.1.7",
95
- "@monotykamary/dsh-client-ui-workspace": "^0.1.7",
96
- "@monotykamary/dsh-code-runtime-worker-thread": "^0.1.7",
97
- "@monotykamary/dsh-cmdline": "^0.1.7",
98
- "@monotykamary/dsh-cordis-client-runner": "^0.1.7",
99
- "@monotykamary/dsh-cordis-host-runner": "^0.1.7",
100
- "@monotykamary/dsh-web-frontend": "^0.1.7",
101
- "@monotykamary/dsh-host-frontend-static": "^0.1.7",
102
- "@monotykamary/dsh-host-apiproxy": "^0.1.7",
103
- "@monotykamary/dsh-host-directory-picker-auto": "^0.1.7",
104
- "@monotykamary/dsh-host-directory-picker-browse": "^0.1.7",
105
- "@monotykamary/dsh-host-directory-picker-native": "^0.1.7",
106
- "@monotykamary/dsh-host-plugin-inventory": "^0.1.7",
107
- "@monotykamary/dsh-file-reference": "^0.1.7",
108
- "@monotykamary/dsh-file-reference-local": "^0.1.7",
109
- "@monotykamary/dsh-message-feedback": "^0.1.7",
110
- "@monotykamary/dsh-launch-environment": "^0.1.7",
111
- "@monotykamary/dsh-host-webserver": "^0.1.7",
112
- "@monotykamary/dsh-session-projection-cache": "^0.1.7",
113
- "@monotykamary/dsh-session-reference": "^0.1.7",
114
- "@monotykamary/dsh-session-stats": "^0.1.7",
115
- "@monotykamary/dsh-session-log-export": "^0.1.7",
116
- "@monotykamary/dsh-storage": "^0.1.7",
117
- "@monotykamary/dsh-tool-session-mutations": "^0.1.7",
118
- "@monotykamary/dsh-storage-domain": "^0.1.7",
119
- "@monotykamary/dsh-storage-json": "^0.1.7",
120
- "@monotykamary/dsh-subprocess": "^0.1.7",
121
- "@monotykamary/dsh-workspace": "^0.1.7",
122
- "@monotykamary/dsh-client-ui-command-palette": "^0.1.7",
123
- "@monotykamary/dsh-client-ui-workbench": "^0.1.7",
124
- "@monotykamary/dsh-client-ui-terminal": "^0.1.7",
125
- "@monotykamary/dsh-client-ui-files": "^0.1.7",
126
- "@monotykamary/schemastery": "^3.18.1",
127
- "@monotykamary/dsh-host-workspace-files": "^0.1.7",
128
- "@monotykamary/dsh-terminal-web": "^0.1.7",
129
- "@monotykamary/dsh-web-identity": "^0.1.7",
130
- "@monotykamary/dsh-client-ui-session-title": "^0.1.7",
131
- "@monotykamary/dsh-distribution-update": "^0.1.7",
132
- "@monotykamary/dsh-client-ui-settings-updates": "^0.1.7"
122
+ "@monotykamary/dsh-client-ui-command-palette": "^0.1.9",
123
+ "@monotykamary/dsh-client-ui-workbench": "^0.1.9",
124
+ "@monotykamary/dsh-client-ui-terminal": "^0.1.9",
125
+ "@monotykamary/dsh-client-ui-files": "^0.1.9",
126
+ "@monotykamary/dsh-client-ui-session-title": "^0.1.9",
127
+ "@monotykamary/dsh-host-workspace-files": "^0.1.9",
128
+ "@monotykamary/dsh-terminal-web": "^0.1.9",
129
+ "@monotykamary/dsh-web-identity": "^0.1.9",
130
+ "@monotykamary/dsh-distribution-update": "^0.1.9",
131
+ "@monotykamary/dsh-client-ui-settings-updates": "^0.1.9",
132
+ "portless": "0.13.0"
133
133
  },
134
134
  "peerDependencies": {
135
135
  "@monotykamary/cordis-plugin-loader": "^1.0.2",
136
- "@monotykamary/dsh-shell-env": "^0.1.7",
137
- "@monotykamary/dsh-invariants": "^0.1.7",
138
- "@monotykamary/cordis": "^4.0.1",
139
- "@monotykamary/dsh-system-prompt": "^0.1.7"
136
+ "@monotykamary/dsh-shell-env": "^0.1.9",
137
+ "@monotykamary/dsh-invariants": "^0.1.9",
138
+ "@monotykamary/dsh-system-prompt": "^0.1.9",
139
+ "@monotykamary/cordis": "^4.0.1"
140
140
  },
141
141
  "devDependencies": {
142
142
  "@monotykamary/cordis-plugin-loader": "^1.0.2",
143
- "@monotykamary/dsh-shell-env": "^0.1.7",
144
- "@monotykamary/dsh-system-prompt": "^0.1.7",
145
- "@monotykamary/dsh-invariants": "^0.1.7",
143
+ "@monotykamary/dsh-shell-env": "^0.1.9",
144
+ "@monotykamary/dsh-invariants": "^0.1.9",
145
+ "@monotykamary/dsh-system-prompt": "^0.1.9",
146
146
  "@monotykamary/cordis": "^4.0.1"
147
147
  }
148
- }
148
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 DeepSeek
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.