Hides unused panels in the left rail grouped by origin, and turns the rail More button into an expand/collapse toggle that lays out every panel.
Install
# from a prebuilt release tarball
dsh plugin --profile web add "https://github.com/Asterlyra/dsh-panel-organizer/releases/latest/download/dsh-panel-organizer.tgz"
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Asterlyra/dsh-panel-organizer
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
This plugin publishes its README in Chinese only.
把 DeepSeek Harness 左侧栏里用不到的面板图标收起来,按「内置 / 插件」分组管理;点侧栏的「更多」可以把所有面板临时铺开,再点一次收起。
A small DeepSeek Harness plugin that hides unused panels from the left rail, grouped by origin, and turns the rail's More button into an expand/collapse toggle.
功能
- 逐面板显隐:设置页里有每个面板的开关,关掉即从左侧栏消失。
- 按来源分组:内置面板(DSH 本体自带)和插件面板(第三方插件注册的)分开展示,支持整组一键收起/展开。
- 「更多」= 展开全部:点一下把被隐藏的、以及当前没固定的面板全部铺在左侧栏里;按钮同时换成折叠箭头,再点恢复原样。带 170ms 的高度/透明度过渡,并尊重系统的「减少动态效果」。
- 隐藏不等于删除:展开态里被隐藏的面板照常可以点开;同名面板会安全跳过,不会误伤两个入口。
- 纯前端:配置存在浏览器 localStorage,没有网络请求、没有遥测、不改宿主代码。
安装
dsh plugin --profile desktop add Asterlyra/dsh-panel-organizer
或在 Harness 里打开 设置 → 插件 → 添加插件,填入仓库地址 Asterlyra/dsh-panel-organizer。安装后刷新页面,入口在 设置 → 插件 → 面板整理。
从 GitHub 源码安装。npm 包
dsh-panel-organizer发布后,可直接dsh plugin add dsh-panel-organizer;预构建 tarball 也挂在 Releases 上。
使用
- 设置 → 插件 → 面板整理。
- 关掉不想看到的面板;可以按组一次收起。
- 左侧栏点「更多」临时展开全部面板,再点折叠回去。
- 想恢复默认:页脚的「恢复默认」按钮。
工作原理
- 只通过官方扩展点接入:注册
settings.plugins.tab设置页,向shell.overlay注入一段<style>(按面板aria-label精确隐藏已固定面板的行;同名面板不出规则,宁可不收也不误伤)。 - 「更多」按钮的点击在 document capture 阶段被拦截(
closest('button[aria-haspopup="menu"]')且位于[class*="panelList"]内),阻止默认菜单,改为切换<html data-dsh-panels-expanded>;同时把不在 rail 里的面板补成同尺寸的按钮,点击走官方的ctx.layout.selectPanel(id)。 - 不 monkey-patch 宿主函数,宿主升级时最多是补丁失效,不会把界面弄坏。
兼容性
- DSH 0.2.x Web UI(桌面客户端内置的 Web 界面同样适用)。
- 其他客户端只要实现了官方 sidebar slot 与
layout.selectPanel即可用。
开发
git clone https://github.com/Asterlyra/dsh-panel-organizer
cd dsh-panel-organizer
dsh plugin --profile desktop add link:$PWD # 本地链接开发
改 client.js 后刷新页面即可;node --check client.js 做语法检查。
License
MIT
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10406
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★ 10406
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★ 7675
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7201
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★ 5142
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1816
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.