dsh-width-tiers
Manifest valid★ 3A client plugin for the DeepSeek Harness Web GUI that adds chat content width tiers with a floating picker button (bottom-right, above the composer): standard / medium / wide / extra wide / full width
dsh-width-tiers
A client plugin for the DeepSeek Harness Web GUI that adds chat content width tiers with a floating picker button (bottom-right, above the composer): 标准 / 中等 / 宽 / 超宽 / 全宽 (standard / medium / wide / ultra / full).
Why
The DSH Web app hard-codes a readable content width on the conversation root
(--dsh-chat-content-width: 748px). That caps the message column — and every
table inside it — at 748px no matter how wide your window or panels are,
so wide tables always need horizontal scrolling.
This plugin overrides that variable per tier:
| Tier | Content width | Sidebar |
|---|---|---|
| standard 标准 | 748px (app default) | untouched |
| medium 中等 | 960px | untouched |
| wide 宽 | 1280px | untouched |
| ultra 超宽 | 1400px | untouched |
| full 全宽 | 100% (fills the window) | collapsed to the icon rail |
The choice persists in localStorage and is restored on the next visit; the
menu highlights the current tier, and the button's five level-bars show it at
a glance.
Install
dsh plugin --profile web add dsh-width-tiers
The bundle patch then inserts the dsh-width-tiers loader entry itself — no
manual cordis.patch.yml edits needed.
Restart dsh web (the plugin loads at boot) and hard-refresh the page
(Ctrl+Shift+R). A round button with five bars appears at the bottom-right.
Installing from a local checkout:
dsh plugin --profile web add file:/path/to/dsh-width-tiers. Local-development gotcha:file:dependencies are copied into the profile'snode_modules(pnpm does not symlink them). After editing the plugin source, re-sync the copy (e.g.rsync -a --delete --exclude .git /path/to/dsh-width-tiers/ ~/.dsh/profiles/web/node_modules/dsh-width-tiers/) or re-install after removing it, then restartdsh weband hard-refresh.
Usage
- Click the round button → pick a tier; the current one is highlighted.
fullcollapses the sidebar to the icon rail through the app's own toggle — it is never force-hidden or locked: click a rail icon any time to expand it, and it stays expanded.- Non-standard tiers also close the details panel (re-closed automatically if
reopened);
standardleaves everything to the app.
Language
All picker copy (tier labels, button aria-label and title) follows the
app's Settings → Language (中文 / English), through the app's own locale
service. Switching the language re-renders the button and menu immediately;
when no explicit language is chosen the app falls back to the browser's
language, and Chinese is the last resort. No plugin-side setting needed.
How it works
- The element that defines
--dsh-chat-content-widthis located at runtime (the first element whose computed value is non-empty) and the tier is applied as an inline override — no hashed class names, so it survives bundle upgrades. - Panels are driven through the layout service (
ctx.layout), never by simulating clicks. - The sidebar is only ever collapsed by the
fulltier; returning tostandardrestores it only if this plugin collapsed it. - Dictionaries are registered with the app's locale service
(
ctx.locale.register/bind) and re-rendered through its change subscription, so the copy always matches the app's active language.
Limitations
- Content width cannot exceed the window: on a narrow window, wider tiers are
capped by the available column. Use
full(which also collapses the sidebar) for the maximum. - Requires the DSH Web client plugin system (dsh ≥ 0.1.0-rc.x with a
webprofile).
Uninstall
dsh plugin --profile web remove dsh-width-tiers
then restart dsh web.
License
MIT — see LICENSE. Copyright (c) 2026 aaronlei.
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 1.0.1 | — | — |
| 1.0.6 | — | — |
| 1.0.5 | — | — |
| 1.0.2 | — | — |
| 1.0.3 | — | — |
| 1.0.4 | — | — |
| 1.0.0 | — | — |
| 1.0.7 | — | — |
| 1.0.8 | — | — |
| 1.0.9 | — | — |
| 2.0.0 | — | — |
Comments
Loading…
Similar plugins
by AnakinCao
DSH Web GUI plugin: adaptive chat content width — the middle area expands with screen resolution (1080p/2K/4K) when side panels are collapsed (injects CSS overriding --dsh-chat-content-width)
★ 0
MIT
JavaScript
Aug 31, 2026
dsh plugin --profile web add dsh-chat-widthby konata
A DeepSeek Harness (DSH) plugin that adds parallel side chats to the right sidebar, inheriting the main session's workspace, tools, permissions, and model.
★ 0
TypeScript
Oct 19, 2026
dsh plugin --profile web add btwby yunxiyang
DSH web client plugin: pins the conversation column to a configurable percentage of its width (default full width) instead of the built-in 680-920px reading measure.
★ 0
MIT
JavaScript
Sep 29, 2026
dsh plugin --profile web add dsh-wide-conversationby xingyingyuzhui
DeepSeek Harness plugin: tune chat font, width, line height, and paragraph spacing
★ 0
MIT
JavaScript
Sep 24, 2026
dsh plugin --profile web add dsh-chat-tuneby 764475881
Drag-to-resize chat content width for the DeepSeek Harness web UI (748px -> 1040px, draggable handle). · DSH 网页聊天宽度可拖拽调节插件
★ 4
↓ 41/wk
MIT
JavaScript
Sep 28, 2026
dsh plugin --profile web add dsh-chat-widthby JoukoPuro
一个 DeepSeek Harness(DSH)插件: 在 Web 输入框的工具行中添加一个 ✨ 图标按钮。点击后选择打磨风格,已接入的大模型 会把你草稿中的提示词改写得更专业、更易被 AI 理解 。A DeepSeek Harness plugin: icon-only composer button that rewrites your prompt via the connected LLM
★ 8
↓ 101/wk
MIT
JavaScript
Oct 17, 2026
dsh plugin --profile web add dsh-prompt-polish