DeepSeek Harness Plugin

AcidGr/dsh-web-mobile-fix

Stars ★ 9 Downloads (30d) 1,622 Category UI Enhancements Added 2026-08-14 npm dsh-web-mobile-fix

Mobile layout fixes for the Web UI on narrow screens: full-screen settings panel, one-row plugin nav, full-screen sidebar, centered popups, icon-only session-log button.

Install

# from npm (prebuilt)

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

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

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

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

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'

Verify

Open the Web UI on a phone or resize your browser to mobile width (≤700px):

  • Click the whale logo to open the sidebar: it will smoothly open as an overlay drawer without squeezing your conversation content, and taps outside will collapse it;
  • The composer bar tools and the send button stay on a single row without wrapping or layering;
  • The settings modal displays as a full-screen vertical layout with scrollable tabs.

Rollback

  • Bundle install: dsh plugin --profile web remove dsh-web-mobile-fix
  • Manual install: delete the mobile-fix insert block from cordis.patch.yml (the plugin dir can stay or go)

No product source is modified; upgrades do not overwrite it.

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.