Z-6354/dsh-mobile-hanui 预览 preview

Z-6354/dsh-mobile-hanui

Desktop桌面端 Native原生 ⭐ 16 MIT Clients & Launchers客户端与启动器

基于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 网页就能自动启用适配好的触屏布局。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 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 界面在手机上正常使用。

npm License: MIT

它解决什么问题

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

← 上一个 Prev dsh-headroom 下一个 Next dsh-qoder-connect →