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.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
S

dsh-sidebar-expand-all

Sidebar Expand All

One-click expand-all for every remaining session in a DSH workspace, with a strict collapse-to-5.

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

npx -y @deepseek-ai/dsh plugin --profile web add github:mzjqwq/dsh-sidebar-expand-all#d9e1a84e0ddd30d5559abc6804e75c755dcdf110
READMECompatibilityVersions

Compatibility and provenance

Sidebar Expand All is published as dsh-sidebar-expand-all and currently resolves to version 1.0.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
11/3/2026

Versions

1.0.0stable
11/3/2026

Related plugins

Loading related plugins…

Latest
1.0.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
11/3/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 Session Titles Bundle@deepseek-ai/dsh-experimental-session-titles-bundleRefresh session titles as new human prompts arrive.Personalized Recommendations@deepseek-ai/dsh-personalized-recommendationsPersonalized pages and built-in plugin recommendations offered as cards below answersExperimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI plugins

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