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-expand-all

Sidebar Expand All

一键展开 DSH 工作区中的所有剩余会话,并严格收起至 5 个。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:mzjqwq/dsh-sidebar-expand-all#d9e1a84e0ddd30d5559abc6804e75c755dcdf110
README兼容性版本

兼容性与来源证明

Sidebar Expand All 以 dsh-sidebar-expand-all 发布,当前版本为 1.0.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

1.0.0stable
2026/11/3

相关插件

正在加载相关插件…

最新版
1.0.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
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-expand-all

One-click expand all for the DeepSeek Harness sidebar — and a strict collapse to 5.

DSH 侧栏一次只展开 5 个会话;这个插件让「展开其余 N 个会话」点一次就展开该工作区全部会话,点「收起」严格回到 5 个。

中文说明见 README.zh.md。

What it changes

DSH stores a per-workspace "watermark": how many sessions of a group are visible. The upstream UI advances it by SESSION_WATERMARK_BASE = 5 on every click, and the collapsed baseline is raised whenever a running or unread session must stay visible.

This plugin applies two same-length patches to the bundled client at

app.asar
└─ dsh/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js
PatchOfficial codePatched codeEffect
expand-allvisible.hiddenCount <= SESSION_WATERMARK_BASE ? Infinity : watermark + SESSION_WATERMARK_BASENumber.POSITIVE_INFINITYone click reveals every remaining session
collapse-to-5Math.max(SESSION_WATERMARK_BASE, requiredWatermark(...))SESSION_WATERMARK_BASEcollapse always shows exactly 5

Both replacements are padded with spaces so the file size does not change, and the entry's integrity.hash (and blocks[0].hash) in the asar header is updated in place. Any change to file length would corrupt every following entry in the archive.

Install

From the plugin market / npm (after publishing):

dsh plugin --profile desktop add dsh-sidebar-expand-all

From a local checkout:

dsh plugin --profile desktop add ./dsh-sidebar-expand-all

Or add the repository directly:

dsh plugin --profile desktop add github:mzjqwq/dsh-sidebar-expand-all

Use

Web page

After DSH starts, open

http://127.0.0.1:<your DSH port>/dsh-sidebar-expand-all

You get the current patch status plus Apply, Restore and Refresh buttons.

CLI

node scripts/patch-workspace-expand-all.mjs --check    # inspect only
node scripts/patch-workspace-expand-all.mjs            # apply (idempotent)
node scripts/patch-workspace-expand-all.mjs --list     # list built-in patches
node scripts/patch-workspace-expand-all.mjs --restore  # restore official file

Exit codes: 0 ok · 2 asar or backup missing · 3 file/header integrity mismatch (refused) · 4 check found inconsistent header.

Restart is required

The DSH host caches every client bundle in memory at startup, and dsh-client-hmr keeps seeing the startup-time stat of files inside app.asar, so editing the asar cannot hot-reload. Fully quit DSH and open it again (a page refresh is not enough).

Safety

  • Files are never resized: patches are equal-length and verified by re-reading the entry and its header hash.
  • The original client.js and the original asar header are backed up to ~/.dsh/dsh-sidebar-expand-all/.asar-bak/ before the first write (DSH_BAK overrides).
  • Restore writes the backup back and re-checks that backup header and content match.
  • If the current content does not match the header integrity (another tool already modified the archive), the apply step aborts instead of guessing.
  • If a patch anchor is missing, the plugin reports unsupported and writes nothing — it never guesses a replacement.

Upgrades

A DSH upgrade replaces app.asar as a whole, so the patch disappears. Re-run Apply (or the CLI) after upgrading. If the anchors changed in a new DSH release, the status becomes unsupported; the two expressions above must then be re-located in the new client.js.

Bundled skill

The plugin also installs a user-level skill to ~/.dsh/skills/dsh-sidebar-expand-all/, so an agent session can perform the same check/apply/restore without the web page.

Development

node --check lib/asar-patch.js
node --check lib/index.js
node scripts/patch-workspace-expand-all.mjs --check

lib/asar-patch.js is dependency-free and can be used outside the plugin.

License

MIT