DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
S

dsh-sidebar-panel-collapse

Sidebar Panel Collapse

添加折叠切换按钮,隐藏侧边栏面板列表,为工作区腾出垂直空间。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:Sunday530/dsh-sidebar-panel-collapse#f79259637bcb750e036f28d4fe59459aa4dd1663
README兼容性版本

兼容性与来源证明

Sidebar Panel Collapse 以 dsh-sidebar-panel-collapse 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/11/2

版本

0.1.0stable
2026/11/2

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 1
周下载
0
最近提交
2026/11/3
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Session Titles Bundle@deepseek-ai/dsh-experimental-session-titles-bundle新的用户提示到达时刷新会话标题。Personalized Recommendations@deepseek-ai/dsh-personalized-recommendations回答下方以卡片形式提供个性化页面和内置插件推荐Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层

README

dsh-sidebar-panel-collapse

Adds a collapse toggle above the DSH sidebar panel list. One click hides the whole panel block (MUV 表格 / 插件 / 插件市场 / 技能 / 归档会话 / 自动化任务 / 上下文洞察 / 记忆系统 / 更多) so the workspace list below it gets the vertical space.

Nothing else changes: the sidebar itself stays, the collapse state is remembered per browser, and the workspace area simply grows from one row-height section up.

What it looks like

Expanded — the toggle sits right under 「新会话」, above 「MUV 表格」:

expanded

Collapsed — every panel entry row is gone and 工作区 fills the height:

collapsed

Install

dsh plugin --profile web add dsh-sidebar-panel-collapse

Or from a checkout of this repository:

dsh plugin --profile web add github:Sunday530/dsh-sidebar-panel-collapse

Restart DeepSeek Harness once after installing so the bundle row is composed into the profile. In the plugin market card you can toggle it off/on at any time.

How it works

The browser half (lib/client.js) registers one client bundle:

  1. Injects a single <style> element keyed dsh-sidebar-panel-collapse/toggle.css. All hiding rules key on html[data-dsh-sidebar-panel-collapsed="1"], so the state lives in one attribute on <html> and the rules are trivially reversible.
  2. Inserts a 20px-high chevron button as a sibling of the sidebar's panel <nav> (nav[class*="_panelList"]), directly under the new-session button. The shell's React tree never removes it, because it is not part of that tree; a MutationObserver re-attaches it if the sidebar is re-rendered.
  3. Marks any plugin entry button that skips the sidebar.panellist slot and mounts itself directly into the sidebar column (dshpc-extra), plus attribute-based rules for the plugins that stamp a stable data attribute on their row ([data-dsh-muv-entry], [data-dsh-mnemon-entry], [data-dsh-vr-entry], [data-dsh-ctx-entry]). Without this, "collapse" would only hide the slot-based rows and leave the out-of-slot ones behind.
  4. Persists the choice in localStorage under dsh-sidebar-panel-collapse:collapsed (and migrates the older dsh-panel-collapse:collapsed key once).

The node half (lib/index.js) is intentionally a no-op cordis plugin — it exists only so the package is a valid dsh.bundle row. It exports a named apply because cordis rejects a module that has neither an apply export nor a callable default (invalid plugin, expect function or object with an "apply" method, received object).

Notes

  • Selectors match CSS-module class names by their stable suffix (_panelList, _newSession, _collapsed) rather than the hashed whole name, so a rebuild of the shell does not break the plugin.
  • The toggle is hidden while the sidebar is in its 56px rail (_collapsed), because the shell already hides the panel list there.
  • The plugin never touches the shell's own collapsed state or width — it only hides the panel-entry block.
  • Tested against DSH release 0.2.1-rc.5.

License

MIT