Mobile UI shell for the DSH Web GUI: turns the desktop three-column layout into a touch-friendly phone layout (overlay drawers, draggable FAB, full-screen dialogs, infinite-scroll history) under a 1024px viewport, with zero desktop impact. - Complete mobile PWA for DSH, built on dsh-mobile-gate: secure remote-access gateway plus install-to-homescreen (manifest + service worker), offline capability, touch gestures (pull-to-refresh, edge-swipe back, pinch-zoom font), agent-done push notifications, and touch-first layout — desktop unaffected.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-mobile-hanui
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Z-6354/dsh-mobile-hanui
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).
README
让 DeepSeek Harness 的 Web 界面在手机上正常使用。
它解决什么问题
DSH 的网页界面是按桌面端设计的,在手机浏览器上会出现侧边栏撑满屏幕、弹窗错位、输入框被裁剪等问题。这个插件会在窄屏(手机 / 窄窗口,视口宽度 ≤ 1023px)下自动把界面调整成适合触屏的布局。
它只影响手机端显示,桌面端没有任何变化。
做了什么
- 侧边栏、详情面板变成左右抽屉,点一下滑出,不再挤压聊天区
- 提问、权限确认、设置等弹窗在手机上全屏居中显示,不再被裁掉
- 悬浮菜单按钮(可拖动),点击/下拉打开侧边栏
- 上滑到顶部自动加载更早的对话历史
- 切换会话不再自动弹出软键盘
- 子代理目录、模型选择、推理等级、模式选择在小屏正常显示
安装
cd ~/.dsh/profiles/web
pnpm add dsh-mobile-hanui
然后在 ~/.dsh/profiles/web/package.json 的 dsh.profile.bundles 数组里加入 "dsh-mobile-hanui",重启 dsh web 服务。
安装并重启后,在手机打开 DSH 网页即可,无需其它配置。
临时关闭
- 在网址后加
?mobileShell=0,或 - 在浏览器控制台执行
localStorage.setItem('dsh-mobile-shell', '0')后刷新。
更多
MIT License
Links
More in this category
zhu1090093659/dsh-web-ui#packages/dsh-web-ui-all★ 3362
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
omdsh-dev/DSH-better-sidebar★ 1600
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
ccch1mneyyy/dsh-TUI★ 1519
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/dsh-at-file★ 262
Codex-style `@file` mentions: search workspace files in the composer and attach their contents to prompts.
huiliyi37/dsh-tianshu-tui★ 190
A terminal UI (TUI) for DeepSeek Harness.
Nagi-ovo/dsh-visualize★ 159
In-conversation generative UI: the model renders interactive HTML cards into the chat stream, with streaming preview and sandboxed rendering.