Z-6354/dsh-mobile-hanui
基于deepseek-harness(dsh)的手机网页优化插件,修复了部分网页与手机端不适配的问题;
Project Overview项目介绍
dsh-mobile-hanui is a DSH-native plugin that optimizes the DeepSeek Harness web interface for mobile browsers. The original DSH web UI is designed exclusively for desktop, so it suffers from broken layout issues like full-width sidebars, misaligned modals, and cut-off input fields when opened on mobile screens. This plugin automatically detects viewports narrower than 1024px and switches to a touch-friendly mobile layout, leaving the original desktop experience completely unchanged. To install it, navigate to the ~/.dsh/profiles/web directory on your local machine, install the package via pnpm, add the package name to the dsh.profile.bundles array in package.json, then restart the dsh web service.
This plugin includes multiple targeted layout adjustments for small mobile screens. It turns the original fixed sidebars and detail panels into slide-out drawers that do not compress the main chat area. It modifies all popups like permission prompts, question inputs, and setting menus to display as full-screen centered modals on mobile, so no content gets accidentally cut off. It also adds a draggable floating menu button, enables auto-loading of older chat history when scrolling to the top, disables automatic keyboard popup when switching conversations, and fixes display of all selection menus.
dsh-mobile-hanui is released under the permissive MIT open source license, so it is free to use, modify, and distribute without any cost or restriction. After installation and restarting the dsh web service, no extra configuration is required; the plugin will automatically activate when you open the DSH web page on a mobile device. If you need to temporarily disable the mobile layout, you can either add the ?mobileShell=0 parameter to the end of the DSH URL, or run a short command in the browser console to update local storage and refresh the page. The plugin has no external dependencies, so it will not conflict with other DSH plugins under normal use.
dsh-mobile-hanui 是专为 DeepSeek Harness(以下简称 DSH)网页界面打造的原生插件,核心作用是修复 DSH 桌面端设计的网页界面在手机浏览器上显示异常的问题。当检测到视口宽度不超过 1023px 时,插件会自动将界面调整为适配触屏操作的手机布局,不会对桌面端的显示造成任何改变。安装时需要进入本地 DSH web 配置目录,用 pnpm 安装该包后,修改 package.json 的 bundles 数组添加插件,最后重启 DSH web 服务即可完成部署。
这个插件针对手机端小屏做了多处布局优化,包括将侧边栏和详情面板改为可滑出的左右抽屉,各类弹窗改为手机端全屏居中显示,新增可拖动的悬浮菜单按钮用来打开侧边栏,还优化了对话历史加载、软键盘弹出逻辑和各类选择菜单的显示,完全适配手机用户的操作习惯。它主要面向需要在手机浏览器上使用 DSH 网页版的用户,帮助解决原生界面显示错乱、操作不便的问题,优化移动端触屏使用体验。
dsh-mobile-hanui 采用 MIT 许可证开源,可免费使用、修改和分发,没有任何使用成本。用户如果需要临时关闭该插件,可以在 DSH 网页的网址后添加参数 ?mobileShell=0,或者在浏览器控制台执行对应代码修改本地存储后刷新页面即可生效。该项目无额外第三方依赖,安装完成后不需要额外配置,直接在手机打开 DSH 网页就能自动启用适配好的触屏布局。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-mobile-hanui(Z-6354/dsh-mobile-hanui)
仓库:https://github.com/Z-6354/dsh-mobile-hanui
本站详情页:https://www.yhbd.top/plugins/z-6354-dsh-mobile-hanui/
本站登记:类型 client · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 16 · 最近提交 2026-08-18 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 16 stars - an early-stage project星标 16,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:Z-6354/dsh-mobile-hanui
把 Z-6354/dsh-mobile-hanui 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-mobile-hanui
让 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
reactive-resume/reactive-resume
anywhere-labs/dsh-desktop
dataelement/dsh-desktop
ccch1mneyyy/dsh-TUI
DSH-EAC/DSH-Desktop-EAC
shaobeichen/dsh-pocket
xyTom/coding-tools-mcp