Ctrl+wheel page zoom (60–180%, remembered) for the whole DSH UI, plus a bottom-right Settings entry that opens the host settings panel, with Ctrl+0 to reset.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-ui-zoom
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:sjrslh/dsh-ui-zoom
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
A little blue whale living inside DeepSeek Harness: it scales the whole UI for you. Not just the text — sidebars, composer, popovers and icons grow together, and the popovers stay where they belong.
A client plugin for DeepSeek Harness (DSH). No host changes.
✨ Features
- True page zoom, 60%–180% in 10% steps — layout, not font size.
- Three gestures:
Ctrl+ wheel,Ctrl+=,Ctrl+-;Ctrl+0resets to 100%. - Popovers stay put: DSH measures its shell in JS (
innerWidth/innerHeight/getBoundingClientRect/clientX), so the plugin divides those values by the zoom factor too — model picker, reasoning menu and account menu land where they should. - No page jump at the end of a list: while zoomed the document root scroller is locked (the previous inline styles are remembered and restored at 100%).
- A Settings button in the bottom-right corner: calls the host's
settings.openfirst, then the account menu, then a syntheticCtrl + ,. - Level remembered in
localStorage(dsh-ui-zoom:level). - Terminals are left alone:
Ctrl+ wheel over xterm is passed through. - Small and quiet: no network, no file access, one localStorage key.
🎛️ How it differs
| Approach | Page zoom | Popovers stay in place | No page jump | Settings button |
|---|---|---|---|---|
| Font-size only | ✗ | — | — | — |
Plain CSS zoom |
✓ | ✗ popovers leave the viewport | ✗ | maybe |
| Region zoom | partial | ✓ | — | depends |
| dsh-ui-zoom | ✓ | ✓ metric shim | ✓ root scroll lock | ✓ |
📦 Install
Option 1 — one command (recommended)
dsh plugin --profile desktop add github:sjrslh/dsh-ui-zoom
Use --profile web for the web profile. Press Ctrl + R or restart DSH afterwards.
Option 2 — from a release (offline / pinned version)
Download dsh-ui-zoom-0.4.4.tgz from Releases, then:
dsh plugin --profile desktop add /path/to/dsh-ui-zoom-0.4.4.tgz
Option 3 — clone and link (for hacking on it)
git clone https://github.com/sjrslh/dsh-ui-zoom.git
dsh plugin --profile desktop add ./dsh-ui-zoom
Edit lib/client.js, press Ctrl + R, done — there is no build step.
🚀 Usage
| Action | Result |
|---|---|
Ctrl + wheel up / down |
zoom in / out, 10% per step |
Ctrl + = (or +) |
zoom in 10% |
Ctrl + - |
zoom out 10% |
Ctrl + 0 |
back to 100% |
| bottom-right Settings | open the DSH settings panel |
A percentage pill appears for 900 ms while zooming. The range is clamped to 60%–180%.
🧱 Layout
dsh-ui-zoom/
├─ lib/
│ ├─ index.js # host entry (empty, keeps the package a valid Cordis plugin)
│ └─ client.js # zoom, metric shim, scroll lock, settings button
├─ scripts/
│ ├─ smoke.mjs # loads the bundle, renders the overlay once
│ └─ zoom.test.mjs # metric assertions at 150% and the full restore
├─ cordis.patch.yml
├─ package.json
├─ CHANGELOG.md
├─ README.md # Chinese
└─ README.en.md # this file
❓ FAQ
Why not just bump the font size? Buttons, icons and spacing would stay the same and the UI would get cramped; this scales the whole layout.
Do popovers drift after zooming? No. Native browser zoom shrinks the layout viewport; CSS zoom only scales paint, so the plugin divides the JS-visible metrics by the zoom factor to keep both in the same coordinate space.
Why does the page no longer slide at the end of a list? zoom enlarges the root box, so the document gains a scrollable strip; the plugin locks the root scroller while zoomed and restores the previous styles at 100%.
Performance? One style write per zoom step and one localStorage write. No polling, no observers.
DSH versions? engines.dsh >= 0.1.0-rc.6, dshTarget 0.2.0-rc.2. Older builds have no shell.overlay slot.
📝 Changelog
See CHANGELOG.md.
📄 License
MIT.
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10735
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10735
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8661
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7538
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5419
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1103
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.