收起左侧栏后消除残留空白,把空间还给对话区
30/100
综合分
0
GitHub 星标
45
npm 周下载
—/5
用户评分
数据截至 2026/10/1 · 周下载取自 npm 全网(含 CI / 镜像),非本站安装数;综合分由星标、活跃度与兼容性检查合成。
安装命令 · 需先装 dsh CLI 引擎
dsh plugin --profile web add dsh-rail-zeronpm 源 · dsh-rail-zero 的发布者账号已校验与本仓库一致
状态速览
判定依据:实装验证 · 静态安装检查 · 自动扫描 · 仓库维护状态信任档位:已验证
是什么
dsh 原生插件 · market
安全吗
本站尚未对该插件做风险分级
暂未覆盖,不等同于无风险
还在维护吗
更新放缓:最近一次提交在 32 天前
档位由哪些信号合成
本站实装验证(真实安装 L4 覆盖全站;L5 为运行时冒烟或实机截图,覆盖范围小于 L4) · 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。 下方各区块是它的证据明细。
社区实装还没有人打卡 · 装过的第一个就是你
安装兼容性检查✓ 自动检查通过展开查看检查明细 ↓
以下结论由程序自动检查 npm 包、engines 声明与入口文件得出,未做人工实机验证——能装不等于用着没问题。
✓npm 包dsh-rail-zero @ 0.1.0
✓Node 引擎要求 >=20 · 基线 Node 22.19 满足
✓dsh CLI 依赖未声明 dsh 版本约束
✓入口文件main/exports/bin 已声明
验证方式:npm registry 存在性 + package.json 静态校验 · 最后检查 2026/10/8 09:41:53
安全扫描自动 · 静态分析源码v2.7.0🟢 扫描:未发现敏感能力尚无人工评估展开查看扫描说明与证据 ↓
安全扫描自动 · 静态分析源码
v2.7.0静态扫描未发现敏感能力:最多只发网络请求、读取自身元数据或只读文件,未发现执行命令、文件写入或敏感信息读取。
扫描于 2026/11/2(0 天前) · 范围 入口闭包 + 全包扫描 · 来源 npm 发布包
静态扫描只反映源码中出现的调用,不构成安全背书;人工评估与自动扫描相互独立、互不覆盖。
给这个插件打分还没有人投票↓
用户评分
还没有人投票,来当第一个
功能亮点
- 折叠侧栏轨道归零
- 消除残留空白
- 复用汉堡菜单
最近更新
在 GitHub 查看全部 →v0.1.02026-09-30
首个发布版本。
· 特性
· 把 DSH 左侧会话栏收起后的 56px 空轨道清零(Windows/Linux 浏览器端;macOS 本来就是 0)
· 只改写内联 grid-template-columns 的首段,右侧面板轨道不受影响
· 展开控件三级复用:dsh-qol 汉堡 → 官方 toggle(收起态 aria-label 是「打开侧边栏」)→ 自绘浮动按钮兜底
· 纯浏览器端 CSS/DOM,零宿主依赖,不改任何 DSH 源码/bundle
· 安装
\\\ash
dsh plugin --profile web add dsh-rail-zero
dsh plugin --profile web add github:HelloQingTao/dsh-rail-zero
\\\
· 兼容性
· DSH 0.2.0-rc.1 / 0.2.0-rc.2 实测通过(CDP 探针双场景:qol 在场转发 / qol 缺席兜底)
· 与 dsh-qol / dsh-better-sidebar / dsh-sidebar-qa 共存验证
数据来自仓库的 GitHub Release,可能与插件实际版本不一致。
README
由 DeepSeek 最新模型翻译生成dsh-rail-zero
License: MIT
效果:收起后轨道归零
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] ?
展开完整文档(README 剩余 1 节)
dsh-rail-zero License: MIT 效果:收起后轨道归零 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 via npm registry (recommended): 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 version | Status | | 0.2.0-rc.1 / 0.2.0-rc.2 | ✅ tested | | 0.1.x | untested (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
预览分享卡片长什么样 ↓
分享 · DeepSeek Harness Hub
HelloQingTao/dsh-rail-zero
收起左侧栏后消除残留空白,把空间还给对话区
相关插件 · 市场 / 管理
插件精选列表awesome-dsh-plugin/awesome-dsh-plugin
DeepSeek Harness(dsh)插件精选列表
★ 21,780未汉化DSH
73.5
新词雷达zhuyansen/new-term-radar
new-term-radar新词雷达
★ 1,947已汉化MCP
72.7
插件生态导航0xsline/awesome-deepseek-harness
安装 贡献指南 DeepSeek Docs 公开插件目录 Issues
★ 1,188已汉化DSH
72.6
技能注册中心iflytek/skillhub
企业级开源智能体技能注册中心——发布、发现并管理组织内可复用的技能包。
★ 5,347已汉化DSH
71.9
插件精选清单Anil-matcha/awesome-dsh-plugin
DeepSeek Harnessdsh精选指南——DeepSeek…
★ 1,013已汉化DSH
71.7
插件市场目录imsai-sh/awesome-deepseek-harness-plugins
面向 DeepSeek Harnessdsh生态的社区插件目录,共收录 13917 个插件含 PR 收录与…
★ 343已汉化DSH
71.6