dsh-client-ui-mobile
在终端中运行以下命令:
dsh plugin install raomaiping-hash/dsh-client-ui-mobile
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在终端执行 dsh plugin install raomaiping-hash/dsh-client-ui-mobile 完成安装,插件源码位于 https://github.com/raomaiping-hash/dsh-client-ui-mobile ,安装后重启 DSH Web 进程即可在小屏视口下生效。
插件介绍
The DeepSeek Harness Web GUI ships with a three-column desktop layout: a conversation sidebar, an 188px settings nav rail, and hover-only tool-row controls. On a phone-width viewport all three become cramped or simply unreachable. dsh-client-ui-mobile fixes exactly that: below an 820px breakpoint it reshapes the entire shell without touching any upstream code — a pure browser-side plugin consisting of one <style> tag and a small React overlay.
The changes hit the high-frequency interactions first. The sidebar becomes a left-side drawer summoned by a floating menu button, dismissed by a backdrop or Esc, and auto-closed on session switch. The settings panel expands from a desktop nav rail into a full-screen sheet with a top title, horizontally scrollable section tabs, safe-area insets, and a mask-fade-plus-slide-up entrance animation that respects prefers-reduced-motion. The tool-call Inspect button — hover-only on desktop — is revealed permanently and enlarged to a 32px touch target. A bottom-sheet style for the details panel is already in place and will activate the moment upstream wires in its entry point. Every selector is anchored to stable attributes such as role, aria-modal, and data-* rather than hashed class names, so the plugin survives DSH frontend rebuilds.
It is strictly UI-only: no host routes, no file access, no network calls, no settings persistence. On stop, every injected DOM node and style tag is torn down. It is ideal for users who access the DSH Web GUI daily from a phone or small tablet, and for developers who need a comfortable interaction surface in narrow windows.
使用场景
- 在手机上日常使用 DeepSeek Harness Web GUI,侧栏、设置和工具按钮需要触控友好的交互
- 小平板或窄窗口下浏览对话与调整配置,需要全屏设置面板和抽屉式侧栏
- 希望不改上游代码、不重新构建就获得小屏可用的 Web 界面
- 在浏览器中缩窗到 820px 以下调试前端时,快速验证小屏布局表现
适合人员
- 用 DSH Web GUI 作为主力工具、常在手机或平板上访问的开发者
- 不想维护上游 fork、只用浏览器端插件解决小屏问题的用户
- 关注插件安全性,偏好纯 UI 无网络、无文件 I/O 的轻量方案