插件目录 / Browser / dsh-web-mobile-fix
dsh-web-mobile-fix
已验证 · 实测可装 AcidGr
功能简介
DeepSeek Harness Web插件
可用 — 实测通过,早期项目
DeepSeek Harness Web插件 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-web-mobile-fix
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
- Directory-picker footer (Cancel / Confirm) pinned to one bottom row
- Sidebar opens full-screen instead of squeezing the conversation
- Settings plugin navigation (4 buttons) fits on a single row
- Session-log button collapses to an icon
- Model name hidden in the composer (chevron only)
- Dropdowns / popups / menus render centered
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
Bundle install (recommended)
Installed from npm:
dsh plugin --profile web add dsh-web-mobile-fix
(No npm / local development — point pnpm at the repo instead:
dsh plugin --profile web add github:AcidGr/dsh-web-mobile-fix
)
Restart dsh web (or wait for the profile hot-reload), then hard-refresh the browser.
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'
Verify
Open the Web UI on a phone-width window — the settings panel, sidebar, and popups should be mobile-adapted.
Rollback
- Bundle install:
dsh plugin --profile web remove dsh-web-mobile-fix - Manual install: delete the
mobile-fixinsert block fromcordis.patch.yml(the plugin dir can stay or go)
No product source is modified; upgrades do not overwrite it.
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-web-mobile-fix」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:AcidGr/dsh-web-mobile-fix Headless(CLI)profile:
dsh plugin --profile headless add github:AcidGr/dsh-web-mobile-fix 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。
使用场景
让 agent 驱动真实浏览器——导航、点击、填表、读页面——做调研或 UI 测试。
适合谁
想让浏览器自动化交给 agent、而非另写爬虫或测试脚本的人。
二次开发建议
浏览器动作是缝——把更多工具调用(填表、下载、标签管理)暴露给模型。