mexiaosqwq/dsh-web-mobile 预览 preview

mexiaosqwq/dsh-web-mobile

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

DSH Web UI 移动端适配:窄屏好用,宽屏适用

Project Overview项目介绍

dsh-web-mobile is a native DSH plugin that adds responsive mobile adaptation to the DeepSeek Harness web UI. It modifies the default desktop layout for narrow touchscreens, turning the fixed sidebar into a gesture-controlled overlay drawer that can be opened by swiping right from the left edge of the screen. It also converts pop-up windows into bottom sheets that are easier to tap on touch devices, handles notch and status bar spacing, and optimizes input area layouts to avoid overlapping controls. It automatically compresses large JSON responses to speed up loading of long chat sessions on slow mobile networks.

It supports all common touchscreen devices from small mobile phones to large landscape tablets. It does not alter the desktop layout for mouse-based input, so even narrow desktop windows or scaled displays will not accidentally trigger the mobile UI. It is pre-included in DSHA, the DSH Android launcher, so DSHA users do not need to install it separately. Other DSH web users can install it with a single npm command, directly from GitHub, or as a linked local development build, and only need to restart the dsh web service to activate it.

The plugin is released under the open-source MIT license, and is currently compatible with specific versions of core DSH web UI and other popular DSH plugins like dshmarket and dsh-file-viewer. Users who previously installed the older version under the old name dsh-mobile-nav must remove the old version first to avoid plugin conflicts. You can enable a debug mode by adding the ?mobile-nav-debug=1 parameter to the page URL, which shows a floating diagnostic bar to help troubleshoot layout or gesture issues. The project maintains full contribution specifications and CI checks to guide external developer contributions.

dsh-web-mobile 是专为 DeepSeek Harness(DSH)Web UI 打造的原生移动端适配插件,让 DSH 可以在手机、平板等窄屏移动设备上正常使用。它针对移动端交互做了大量布局优化:将桌面端侧边栏改为可手势呼出的悬浮抽屉,把弹窗改为底部可滑动浮层,适配刘海屏等特殊状态栏,还优化了输入区控件排列避免重叠,对长会话大体积数据自动压缩加速加载。

该插件支持所有主流触屏设备,从竖屏手机到横屏大平板都做了针对性适配,桌面端鼠标操作的任何窗口宽度都不会触发移动UI,不会影响原有桌面体验。它已经预内置在DSH安卓启动器DSHA中,安装DSHA的用户开箱即可使用。其他DSH Web用户可通过npm一行命令安装,也可从GitHub直接安装,安装后仅需重启dsh web服务即可生效。

该插件采用MIT开源许可证,目前兼容指定版本的dsh-web-ui、dshmarket、dsh-file-viewer等多个主流DSH插件。曾经安装过旧版本(旧名为dsh-mobile-nav)的用户需要先卸载旧版再安装新版,避免冲突。可以通过在URL后添加参数开启调试模式,显示悬浮诊断条方便排查问题,项目也有完整的工程规范欢迎开发者贡献代码。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 no risk signal found未发现风险信号
  • This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
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 dsh-web-mobile

把 mexiaosqwq/dsh-web-mobile 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-web-mobile — 手机上也能好好用 DSH

DSH Web UI 移动端适配:窄屏好用,宽屏适用

MIT dsh-plugin awesome · DSH plugin

📦 已内置于 DSHA —— DeepSeek Harness 安卓启动器把本插件作为内置移动端适配,装 APK 开箱即用。感谢作者 @qiannianhuanxiang 的集成与推广 🙏


dsh-web-mobile 是 DeepSeek Harness Web UI 的移动端适配插件——让 DSH 在手机竖屏下也能好好用:

  • 弹窗变浮层:设置、文件树、预览改成底部 sheet,触屏好点
  • 状态栏避让:刘海安全区、深/浅主题、双击缩放都处理
  • 输入区不打架:权限胶囊、模型名、切换菜单在窄屏下不重叠
  • 长会话不卡流量:宿主返回的大 JSON(会话历史等)自动 gzip/brotli 压缩,手机端加载明显提速
  • 平板也管:768–1023px 触屏设备限宽居中,≥1024px 触屏大平板的会话行 ⋯ 菜单仍带「删除会话」;桌面端(鼠标指针)任何宽度都是完全 no-op,窄窗口/系统缩放也不会误启移动 UI

效果

会话主页 目录抽屉 设置界面
移动端会话主页 目录抽屉 移动端设置界面

更新内容

v3.0.4 (兼容 0.2.0-rc.1 / rc.2)

  • 兼容声明修正 + rc.2 时代移动端修复合集:0.1.x 全线照常支持,0.1.6-alpha.2 建议维持 3.0.0、0.1.5 之前仍建议 2.4.1。

修复

  • peerDependencies 补声明 0.2.x、移除已失效的 dsh-client-runtime peer(#145 by @IPF-Sinon):0.2.0-rc.2 宿主实测一直正常,现在声明与实际一致,npm 不再误报不兼容
  • 进入会话不再自动弹软键盘,ContextMeter 环径与触摸命中盒按真机验收校准(#140 by @FanetheDivine)
  • ContextMeter 环道色跟随宿主主题,暗色下不再退化成「残缺加载圈」(#142 by @nanami-0713)
  • 快捷键弹层手机端一批(PR #122/#123/#125/#128 by @133563825as-ai):crumb 不再压住 FAB、排版错位与开合抖动修复、不再被插件抽屉带压住、打开不再全屏闪、卡片不随软键盘改大小、手机档收掉弹层搜索行、团队 chip 图标居中
  • 设置面板入场滑入替代淡入,消除入场闪烁(#124, PR #126)

v3.0.3 (兼容 0.1.7-rc.1 / rc.2)

  • 3.0.1 / 3.0.2 只有 tag 与 GitHub Release、从未发布 npm,两个版本的内容全部并入本版:npm 用户从 3.0.0 直升即得全部改动。宿主 0.1.6-alpha.2 建议维持 3.0.0、0.1.5 之前建议 2.4.1。

新功能

  • 会话删除端点安全加固(#114, PR #117):跨源请求一律 403(Origin 同源校验)、请求体上限 1 MiB(超限 413)、删除改走 .sessions-trash 回收站——删除的会话先改名再整目录移入回收站,manifest.json 记录恢复映射(零解压可还原),超过 24 小时的回收站条目在下次删除时顺带清理
  • 宿主图标跨代兼容(PR #88/#89 by @133563825as-ai):宿主 rc 代与 0.1.7 代的图标导出名互不相交,写死任何一代都会白屏,新增运行时取用层两代通吃
  • DSHA(Android 启动器)内置适配层落地(PR #81):装 APK 即用,无需单独安装本插件

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev flameox 下一个 Next opencode2dsh →