AcidGr/dsh-web-mobile-fix 预览 preview

AcidGr/dsh-web-mobile-fix

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

DeepSeek 工具集(dsh)Web 插件

Project Overview项目介绍

dsh-web-mobile-fix is a native DSH plugin built exclusively for the DeepSeek Harness Web UI, designed to fix broken mobile layout issues that occur when the viewport width is 700px or narrower. It works as a pure client-side CSS overlay, so it never modifies any of DeepSeek Harness’ core source code. The plugin includes a browser-side module declared via the dsh.client.platform: "web" configuration, which is automatically discovered and loaded by DSH’s client-module scanner from the boot manifest. On load, it injects a single style tag with media query overrides that target DSH’s stable data-slot attributes, and removes the tag on unload for full reversibility.

This plugin is intended for DSH users who frequently access the Web UI from mobile devices like phones or small-screen tablets. After installing the plugin and refreshing your browser, you will immediately see layout improvements across all core UI components. The settings panel will switch to a full-screen vertical column layout instead of the cramped desktop-oriented layout it uses on wide screens. The sidebar opens as a floating overlay instead of squeezing the entire conversation content to fit, and navigation tabs in settings and the composer action bar will fit neatly onto a single row without wrapping or overlapping.

The plugin requires a recent 0.1.x release of DeepSeek Harness with the Web profile enabled (activated via the dsh --profile web command). Because the CSS selectors target DSH’s internal data-slot contracts, they are stable within the 0.1.x version line but may require small updates after a major DSH revamp. There are three installation methods available: the easiest is to send the repository link directly to your DSH agent, which will automatically complete installation. You can also install via the DSH CLI from npm or directly from GitHub, or manually install for offline or no-pnpm environments. The plugin is released under the open-source MIT license, is completely free to use, and never modifies DSH source code, so it will not be overwritten during DSH upgrades.

这是一个专为 DeepSeek Harness (DSH) Web 端打造的原生插件,作用是修复 DSH Web UI 在窄屏(视口宽度≤700px)设备上的移动端布局错乱问题。它是纯客户端的 CSS 覆盖层,不会修改 DSH 本身的任何源代码。插件自带符合 DSH 规范的浏览器端模块,会被 DSH 客户端模块扫描器发现并加载,通过注入针对性的媒体查询 CSS 实现修复,卸载时会自动移除注入的样式,完全可逆。

该插件面向需要在手机、小屏平板等移动设备上访问 DSH Web UI 的用户。完成安装并刷新浏览器后,用户就能获得适配移动设备的布局体验:设置面板会改为通栏纵向排布,侧边栏改为浮动覆盖层打开而不会挤压对话内容,设置导航标签、底部输入栏操作按钮都能完整排布在单行,不会出现换行、重叠错乱的情况。

插件要求使用 0.1.x 系列的近期版本 DSH,并启用 Web 配置文件(dsh --profile web)。由于选择器依赖 DSH 的稳定插槽属性,大版本更新后可能需要适配调整。安装提供三种方式:最简便的是直接发送仓库链接给 DSH 代理自动安装,也可通过 CLI 从 npm 或 GitHub 安装,还支持离线手动安装。插件采用 MIT 许可证开源,完全免费,不会修改 DSH 源代码。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 9 stars - very few users, little community feedback星标只有 9,几乎没人在用,遇到问题缺少社区反馈
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-fix

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

READMEREADME

dsh-web-mobile-fix

awesome · DSH plugin

English | 简体中文

Mobile layout fixes for the DeepSeek Harness Web UI.

A pure client-side CSS overlay that repairs the worst mobile breakages on narrow (≤700px viewport) screens, without touching any product source:

  • Settings panel becomes a full-screen column layout instead of a squeezed desktop layout
  • Sidebar opens floating instead of squeezing the conversation
  • Settings nav tabs fit on a single horizontal row
  • Composer action bar fits on a single row without wrapping or layering

How it works

The plugin ships a browser half (exports["./client"], declared via dsh.client.platform: "web"), discovered by the client-modules scanner and loaded from the boot manifest. It injects one <style> tag with @media (max-width: 700px) overrides targeting the product's stable data-slot attributes, and removes the tag on unload — fully reversible.

Requirements

  • DeepSeek Harness Web profile (dsh --profile web), any recent 0.1.x release
  • Selectors target product slot contracts; they are stable within a version line but may need small updates after a major product revamp

Install

Method 1: Ask your DSH Agent (Easiest 🤖)

Just send this repository link directly to your DSH web chat and say:

"Install this plugin for me: https://github.com/AcidGr/dsh-web-mobile-fix"

Your DSH coding agent will automatically execute the installation command and set everything up for you.

Method 2: CLI Install (Recommended)

Install from npm:

dsh plugin --profile web add dsh-web-mobile-fix

(Or install directly from GitHub:

dsh plugin --profile web add github:AcidGr/dsh-web-mobile-fix

)

After installation, simply refresh your browser.

Method 3: Manual install (no pnpm / offline)

PROFILE="$DSH_HOME/profiles/web"                 # adjust DSH_HOME and profile name
mkdir -p "$PROFILE/plugins" "$PROFILE/node_modules/@dsh-profile"
cp -r dsh-web-mobile-fix "$PROFILE/plugins/mobile-fix"
ln -sfn ../../plugins/mobile-fix "$PROFILE/node_modules/@dsh-profile/mobile-fix"
# append to $PROFILE/cordis.patch.yml:
#   - insert:
#       - id: mobile-fix
#         name: '@dsh-profile/mobile-fix'

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

← 上一个 Prev dsh-usage-panel 下一个 Next dsh-super-advisor →