DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Rail Zero — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-rail-zero

Rail Zero

DSH web plugin: zero the collapsed left sidebar's 56px rail and get a working expand control - prefers dsh-qol's hamburger, falls back to the official toggle, then to a tiny floating button.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-rail-zero@0.1.0
READMECompatibilityVersions
效果:收起后轨道归零

Compatibility and provenance

Rail Zero is published as dsh-rail-zero and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
9/30/2026

Versions

0.1.0stable
9/30/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
0
Last push
10/2/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in ui-customization.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsAb Chartdsh-ab-chartChart rendering tool with the browser card that draws its calls, in one publishable plugin packageWhale Widgetdsh-whale-widgetDeepSeek balance whale widget in the bottom-right corner of the DSH Web interface: balance/today’s usage/peak-off-peak pricing, customizable bubble click sequence (text/balance/today/peak-off-peak/image/random phrases and parallel weighted selection), per-line styles and fonts, floating quick editin

README

dsh-rail-zero

English | 中文

效果:收起后轨道归零


English

Zero out the 56px rail the DSH left sidebar leaves behind when collapsed — while keeping the sidebar one click away. Pure browser-side CSS/DOM patch: no host API calls, no peer dependencies, effective immediately after restart.

The problem

DSH's collapsed-left-sidebar width is hard-coded in @deepseek-ai/dsh-client-ui-layout's AppFrame:

computeColumns(viewport, sidebar, rightbar, collapsedWidth = 56)
// collapsedWidth = darwin || html[data-windows-titlebar] ? 0 : 56

Only macOS (or desktop shells with a custom titlebar) collapse the sidebar to zero. On Windows/Linux the collapsed rail stays 56px wide and empty. This plugin zeroes it and gives the space back to the conversation pane.

Features

  • First track only: rewrites only the leading segment of the frame's inline grid-template-columns (!important over inline styles); the right panel's track is untouched. A MutationObserver re-applies after every React re-render (guarded against feedback loops).
  • Three-tier expand control — never duplicates an existing one:
    1. dsh-qol installed → uses its always-visible hamburger (.astb-sidebar-toggle); this plugin's own button hides itself. qol is never modified.
    2. No qol → clicks the official sidebar toggle (note its stateful aria-label: "打开侧边栏" when collapsed).
    3. Last resort → a tiny 26px floating "»" button top-left.
  • Zero dependencies: requires no host module (sidesteps the 0.2.0 client-modules drift), pure DOM/CSS.
  • Touches no DSH source or bundle files.

Install

dsh plugin --profile web add dsh-rail-zero
# or straight from GitHub:
dsh plugin --profile web add github:HelloQingTao/dsh-rail-zero

Restart dsh web to take effect. Uninstall restores everything.

Compatibility

DSH versionStatus
0.2.0-rc.1 / 0.2.0-rc.2✅ tested
0.1.xuntested (should work in principle, feedback welcome)

Coexists cleanly with dsh-qol (reuses its hamburger), dsh-better-sidebar and dsh-sidebar-qa.

How it works

See the header comment in lib/client.js.


中文

把 DeepSeek Harness 左侧会话栏收起后那条 56px 空轨道彻底清零,同时保证侧边栏仍然一键可展开。纯浏览器端 CSS/DOM 补丁,零宿主 API 依赖、零 peer 依赖,装上即生效。

解决什么问题

DSH 的左栏收起逻辑写死在 @deepseek-ai/dsh-client-ui-layout 的 AppFrame 里:

computeColumns(viewport, sidebar, rightbar, collapsedWidth = 56)
// collapsedWidth = darwin || html[data-windows-titlebar] ? 0 : 56

只有 macOS(或带自绘标题栏的桌面壳)收起后是完全隐藏;Windows/Linux 浏览器端收起后永远留一条 56px 的空轨道。本插件把这条轨道清成 0,把空间还给对话区。

特性

  • 只清第一列:按段改写内联 grid-template-columns 的首段(!important 压过内联样式),右侧面板轨道不受影响;MutationObserver 对抗 React 重渲染(带守卫防循环)。
  • 展开按钮三级复用,绝不重复造轮子:
    1. 装了 dsh-qol → 直接用它顶栏那个常驻汉堡(.astb-sidebar-toggle),本插件自己的按钮自动隐藏;
    2. 没有 qol → 点击官方 toggle(注意它收起态的 aria-label 是「打开侧边栏」);
    3. 都没有 → 左上角浮出一枚 26px 的「»」小按钮兜底。
  • 零依赖:不 require 任何宿主模块(避开 0.2.0 的 client-modules 漂移坑),纯 DOM/CSS。
  • 不改 DSH 任何源码/ bundle。

安装

dsh plugin --profile web add dsh-rail-zero
# 或 GitHub 直装:
dsh plugin --profile web add github:HelloQingTao/dsh-rail-zero

重启 dsh web 生效。卸载即完全还原。

兼容性

DSH 版本状态
0.2.0-rc.1 / 0.2.0-rc.2✅ 实测
0.1.x未测(原理上兼容,欢迎反馈)

与 dsh-qol 完全共存(复用其汉堡按钮);与 dsh-better-sidebar、dsh-sidebar-qa 无冲突。

原理

见 lib/client.js 头注释。

License

MIT