@gehennawu/dsh-service 1.4.9 → 1.4.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/README.en.md +3 -2
- package/README.md +3 -2
- package/client.js +1 -1
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<em>DeepSeek Harness (DSH) Web 服务控制与运维插件。</em>
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
|
-
[](package.json)
|
|
13
13
|
[](LICENSE)
|
|
14
14
|
[](https://github.com/deepseek-ai/deepseek-harness)
|
|
15
15
|
[](https://cordis.moe/)
|
|
@@ -180,6 +180,7 @@ Under **Plugins → Plugin configuration**, ten host-level switches: **Health di
|
|
|
180
180
|
- Off by default; active only below a 1024 px viewport (phones / narrow windows), desktops unaffected
|
|
181
181
|
- Sidebar becomes a drawer, details column is hidden on mobile (matching the official narrow-screen behavior), modals become full-screen panels, settings left nav a horizontal top strip
|
|
182
182
|
- Scroll immersion: inside a conversation, swiping down auto-hides the header and composer for full-screen reading; swipe up, reaching the bottom, or focusing the composer brings them back, with a resident bottom handle as a manual toggle. Programmatic scrolling (streaming pinning, anchor jumps) never triggers it
|
|
183
|
+
- Swipeable drawers: with both drawers closed, a horizontally dominant swipe rightward anywhere opens the sidebar drawer and a swipe leftward anywhere opens the right sidebar (when dsh-better-sidebar is installed; the leftward direction stays inert without it); once open, a swipe in the reverse direction anywhere closes them. Swipes starting at the screen edge additionally benefit from stolen-gesture completion for browser edge navigation, and horizontal scrolling inside editors never misfires
|
|
183
184
|
- The "Back to bottom" button is shifted flush right on mobile (no more large empty strip); a matching circular up-arrow now sits above it on all platforms, jumping to the previous user message on each click for step-by-step back navigation. Targets outside the loaded history auto-trigger the official "load earlier" action; the button hides once you reach the very top and reappears when you scroll back down
|
|
184
185
|
- Transparent large-JSON compression (≥4KB auto gzip/brotli per `Accept-Encoding`) speeds up long session histories
|
|
185
186
|
- Adds `viewport-fit=cover` with safe-area avoidance, disables double-tap zoom, keeps inputs ≥16px against iOS focus zoom
|
|
@@ -302,7 +303,7 @@ pm2 start "dsh web --host 127.0.0.1" --name dsh-web
|
|
|
302
303
|
|
|
303
304
|
Requirements: Node.js `>=22`, and a DSH Web installation capable of loading both Host and Client plugin halves. Update checks require access to `registry.npmjs.org`; network failures do not affect other features.
|
|
304
305
|
|
|
305
|
-
**DSH compatibility statement**: adapted to DSH `0.1.2-alpha.2` conversation UI changes (chat view split into its own package, draggable conversation pane width, turn navigation rail), and to the `0.1.2-alpha.4` / `0.1.2-rc.1` session-reading API changes; the mobile immersive swipe and up-arrow reply jump work fully on alpha.2, while alpha.4/rc.1 seeded/fork usage indexing and subagent turn-record paths are supported. Older DSH releases (`>=0.1.1-rc.2`) remain supported: the plugin installs and runs normally, and only a few alpha.2-specific mobile style tweaks are inert there (purely cosmetic, no functional loss).
|
|
306
|
+
**DSH compatibility statement**: adapted to DSH `0.1.2-alpha.2` conversation UI changes (chat view split into its own package, draggable conversation pane width, turn navigation rail), and to the `0.1.2-alpha.4` / `0.1.2-rc.1` session-reading API changes; the mobile immersive swipe and up-arrow reply jump work fully on alpha.2, while alpha.4/rc.1 seeded/fork usage indexing and subagent turn-record paths are supported. Older DSH releases (`>=0.1.1-rc.2`) remain supported: the plugin installs and runs normally, and only a few alpha.2-specific mobile style tweaks are inert there (purely cosmetic, no functional loss). **DSH `0.1.3-alpha.1` and newer are not supported yet** — the official release drops the legacy sessionPersistence seam that this plugin's usage refresh, archived-session deletion, title cache, and backup fast paths rely on; the compatibility adaptation is in progress, the version card shows a standing notice and turns red when the running version crosses the bound. Do not upgrade to that version or above until the adaptation lands.
|
|
306
307
|
|
|
307
308
|
## 🔒 Security design
|
|
308
309
|
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<em>A service-control & operations plugin for DeepSeek Harness (DSH) Web.</em>
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
|
-
[](package.json)
|
|
13
13
|
[](LICENSE)
|
|
14
14
|
[](https://github.com/deepseek-ai/deepseek-harness)
|
|
15
15
|
[](https://cordis.moe/)
|
|
@@ -194,6 +194,7 @@ DSH Web 服务控制与运维插件:安全重启、版本管理与一键升级
|
|
|
194
194
|
- 默认关闭;仅在视口 <1024px(手机竖屏 / 窄窗口)生效,桌面完全无感
|
|
195
195
|
- 侧栏变抽屉、详情列移动端隐藏(对齐官方窄屏语义)、模态变全屏面板、设置左列导航变顶部横滑
|
|
196
196
|
- 滑动沉浸:会话内下滑自动收起头部与输入框全屏阅读,上滑 / 回到底部 / 聚焦输入框即恢复,底部常驻小把手可随时点开合;流式贴底、锚点跳转等程序化滚动绝不误触发
|
|
197
|
+
- 滑动开合抽屉:双抽屉关闭时,横移主导的右滑任意位置打开侧栏抽屉、左滑任意位置打开右侧栏(装了 dsh-better-sidebar 时,插件缺席该方向无效);开启后反向横滑任意位置关闭;从屏幕边缘起滑额外享有浏览器手势接管的补完加成,编辑器等真横滚区内的滑动不误触发
|
|
197
198
|
- 「回到底部」浮钮右移贴边(不再空出大片右侧留白);其上方新增同款圆形上箭头(全平台生效,不含移动端),点击逐条跳转上一条用户回复、可连续向上回溯,目标在未加载历史时会自动点「加载更早」补齐,跳到最顶部后按钮自动隐藏、下滑即复现
|
|
198
199
|
- 大 JSON 响应透明压缩(≥4KB 按 `Accept-Encoding` 自动 gzip/brotli),长会话历史首屏提速
|
|
199
200
|
- 自动补 `viewport-fit=cover` 避让刘海、禁双击缩放、输入框 ≥16px 防 iOS 聚焦放大
|
|
@@ -304,7 +305,7 @@ pm2 start "dsh web --host 127.0.0.1" --name dsh-web
|
|
|
304
305
|
|
|
305
306
|
运行要求:Node.js `>=22`,DSH Web 能加载 Host 与 Client 两半插件。更新检查需访问 `registry.npmjs.org`;网络失败不影响其他功能。
|
|
306
307
|
|
|
307
|
-
**DSH 适配口径**:已针对 DSH `0.1.2-alpha.2` 的会话界面调整(聊天视图拆包、对话主框手动调宽、回合导航条)完成适配,并兼容 `0.1.2-alpha.4` 与 `0.1.2-rc.1` 的会话读取 API 变化;移动端滑动沉浸、上箭头跳转在 alpha.2 上全部生效,alpha.4/rc.1 的 seeded/fork 用量与子代理回合记录路径已适配。旧版 DSH(`>=0.1.1-rc.2`)保持兼容,可正常安装运行,个别针对 alpha.2
|
|
308
|
+
**DSH 适配口径**:已针对 DSH `0.1.2-alpha.2` 的会话界面调整(聊天视图拆包、对话主框手动调宽、回合导航条)完成适配,并兼容 `0.1.2-alpha.4` 与 `0.1.2-rc.1` 的会话读取 API 变化;移动端滑动沉浸、上箭头跳转在 alpha.2 上全部生效,alpha.4/rc.1 的 seeded/fork 用量与子代理回合记录路径已适配。旧版 DSH(`>=0.1.1-rc.2`)保持兼容,可正常安装运行,个别针对 alpha.2 结构的移动端样式微调在旧版上不生效(纯展示,无功能损失)。**暂不支持 `0.1.3-alpha.1` 及更高版本**——官方自该版本起移除旧 sessionPersistence seam(本插件的用量刷新、已归档删除、标题缓存与备份优化路径依赖它),兼容适配进行中,版本卡会常驻提示并将越界运行版本标红;适配完成前请勿升级到该版本及以上。
|
|
308
309
|
|
|
309
310
|
## 🔒 安全设计
|
|
310
311
|
|