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.

Sidebar Toggle — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
S

dsh-sidebar-toggle

Sidebar Toggle

Quickly toggle the DeepSeek Harness Web UI sidebar grouping between workspace and flat list via Alt+R or by clicking the section header title (Sessions / Workspaces). dsh Web GUI 侧边栏分组快捷切换插件:支持按 Alt+R 快捷键或直接点击侧边栏分组标题(会话 / 工作区)在工作区分组与平铺会话列表间一键切换。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:john-walks-slow/dsh-sidebar-toggle#61d7611e06e9d78e2d22d6e58b9e9b0bf09386c4
READMECompatibilityVersions

Compatibility and provenance

Sidebar Toggle is published as dsh-sidebar-toggle and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/13/2026

Versions

0.1.0stable
10/13/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/13/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 Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsAb Chartdsh-ab-chartChart rendering tool with the browser card that draws its calls, in one publishable plugin packageClient Ui Skill Explorer@linxin666/dsh-client-ui-skill-explorerDSH skill center: browse loaded skills by source (bundled / project / user / custom / runtime), enable or disable, create and delete, in a web GUI panel.

README

dsh-sidebar-toggle

简体中文 · English

为 DeepSeek Harness(DSH)Web GUI 提供侧边栏分组模式的快捷切换:无需展开视图选项菜单,通过 Alt+R 快捷键或直接点击侧边栏分组标题(会话 / 工作区 / Sessions / Workspaces),即可在按工作区分组(workspace)与平铺会话列表(flat)之间一键来回切换。

功能与交互

  1. 全局快捷键 Alt+R:
    • 在页面任意位置按下 Alt+R 即可切换侧边栏分组模式(workspace ↔ flat)。
    • 自动避让输入法组合输入状态(e.isComposing || e.keyCode === 229),不影响中文等 IME 选词。
  2. 点击侧边栏分组标题:
    • 为侧边栏顶部标题文本([class*="sectionHeader"] [class*="sectionLabel"],即中文界面的「会话」/「工作区」或英文界面的 Sessions / Workspaces)注入手型指针(cursor: pointer)与悬停透明度反馈(hover: opacity: 0.8)。
    • 单击标题文本即刻切换分组视图(若标题处于隐藏态 sectionLabelHidden 则忽略点击)。

每次切换时,插件调用宿主 sidebar.workspaces 槽位的原生 setGroupBy action,并在浏览器控制台输出一行状态日志:

[dsh-sidebar-toggle] groupBy: workspace -> flat
[dsh-sidebar-toggle] groupBy: flat -> workspace

安装

从 npm 安装(预构建,免额外配置):

dsh plugin --profile web add dsh-sidebar-toggle

安装后无需手动修改配置文件,插件自带的 cordis.patch.yml 会自动挂载生效;刷新 Web 页面即可使用。

从 GitHub 直装(源码安装,包内含 prepare 构建脚本,pnpm ≥ 10 首次安装需放行构建):

dsh plugin --profile web add github:john-walks-slow/dsh-sidebar-toggle
# 若 pnpm 拦截构建脚本,按提示执行 pnpm approve-builds 或将 dsh-sidebar-toggle
# 加入 ~/.dsh/profiles/web/pnpm-workspace.yaml 的 allowBuilds / onlyBuiltDependencies 后重跑

权限与兼容

  • 纯客户端插件:Host 侧 apply 为空实现,零 npm 运行时依赖;全部交互逻辑在浏览器端(lib/client.js)运行。
  • 零外部权限:无外部服务、无网络请求、无本地文件系统读写、不读取任何会话内容。
  • 复用宿主原生状态:通过 Cordis slots 服务解析 sidebar.workspaces 槽位的 WorkspaceViewStoreHandle,直接调用宿主原生的 getSnapshot().groupBy 与 actions.setGroupBy(),与侧边栏自带的视图切换菜单完全同步。
  • 卸载与热重载干净:通过 ctx.effect 与 window.__dshSidebarToggle.dispose() 管理生命周期,插件停用或重载时自动移除键盘/点击事件监听与注入的 <style> 节点。
  • 降级安全:所有 store 解析均由 try/catch 保护;若宿主侧边栏尚未挂载或结构变化,操作静默空转,绝不阻断页面。

本地开发

npm run build     # 由 src/client.js 包装生成 lib/client.js 并对 lib/index.js、lib/client.js 执行语法校验

本地以 link: 方式接入 web profile 调试:

dsh plugin --profile web add link:/path/to/dsh-sidebar-toggle

发新版

改动入库后一条命令完成版本号递增与打包(npm version 会自动 commit 并打 tag):

npm run release        # patch;较大更新改用:npm version minor 或 major

然后指纹发布并推送:

node ~/.agents/skills/npm-publish/scripts/publish-webauthn.cjs /tmp/dsh-sidebar-toggle-<新版>.tgz
git push --follow-tags

发布后用 npm view dsh-sidebar-toggle version 复验。

License

MIT

社区

  • 感谢 LINUX DO 社区提供的交流环境。