DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-sidebar-groups

s

dsh-sidebar-groups

Manifest valid

Group DeepSeek Harness sidebar plugin entries into collapsible groups.

UI (client)hasBundlePatch

菜单分组(dsh-sidebar-groups)

把 DeepSeek Harness 左侧侧边栏里的插件入口,折叠成你自己定义的分组。

侧边栏分组

插件本身在侧边栏加两样东西:

  • 「菜单分组」入口:打开管理页,可以配置这一行显示还是隐藏。
  • 每个开启了「在侧边栏显示这一组」的分组,各占一行。分组行下面缩进显示成员,点分组行就地展开 / 收起,像一级、二级菜单。

安装

dsh plugin add github:skj1023/dsh-sidebar-groups

安装后刷新页面,侧边栏会出现「菜单分组」入口。需要 DeepSeek Harness 0.2.x(Web 侧栏)。

用法

  1. 侧边栏点「菜单分组」。
  2. 点右上角「新建分组」,给分组起个名字(直接点分组名就能改)。
  3. 在分组卡片的「添加入口...」里选一个插件;或者在「全部入口」表格里,用每一行的「所在分组」下拉把它归到某个分组。
  4. 打开分组卡片上的「在侧边栏显示这一组」,侧边栏立刻多出一行:点它、或点行首的箭头,就在原地展开 / 收起这一组的成员,不会切走当前页面。
  5. 「全部入口」表格里的「在侧边栏显示」开关,用来把不常用的、没进分组的入口从侧边栏收起来。
  6. 点分组里的成员行,和点普通入口一样打开对应插件页面;当前打开的那一项,圆点会变成主色,方便对照。

管理页

两点需要知道

  • 「菜单分组」入口自己也能藏:管理页顶部「侧栏入口」里关掉「显示『菜单分组』入口」,那一行就从左侧列收起。要回来时,点侧边栏「更多」→「管理菜单分组…」。
  • 配置存在浏览器本地存储:换端口或清理站点数据会丢。管理页底部的「备份」可以把配置导成 JSON,换环境时再贴回去导入。

实现说明

宿主的侧栏行由 ui-sidebar 渲染,插件拿不到行内容,也没有可插入自定义行的槽。所以分组成员是这样「收进」分组行的:

  • 用一条注入到 <head> 的样式,按行文字把成员的原生行 display:none([data-sg-*] 标记识别本插件自己的行)。
  • 兼容两代宿主:0.1.x 的行按钮是 nav > button;0.2.x 起每行是 div.panelEntry > button.panelRow(宽栏还多一个「取消固定」按钮)。样式统一用 nav div:has(> button[aria-label=…]) 定位行容器,不依赖压缩后的类名。
  • 展开时由插件注册 sidebar-groups:m:* 子行,插在分组行下面,图标列换成小圆点、文字缩进一级。
  • 分组行整行的点击在 document 的 capture 阶段被截下,拦在宿主 selectPanel 之前,用来切换展开状态。
  • 插件自己注册的行(分组行、成员行、管理入口)不显示宿主的「取消固定」按钮,显隐统一由插件配置决定。

这套做法不依赖「更多」菜单的 pin 接口,刷新后立即生效。

文件

  • index.js:宿主侧入口,空实现(这个插件只在客户端工作)。
  • client.js:全部界面与逻辑。
  • cordis.patch.yml:把插件插进 profile 的 bundle 补丁。
  • locale/zh.json、locale/en.json:插件市场里显示的名字与说明。
  • icon.svg:插件图标。

Comments

Loading…

Similar plugins

dsh-plugin-toggle

by yogeek

Enable/disable DeepSeek Harness (dsh) plugins from Settings > Plugins, grouped into collapsible categories

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Aug 25, 2026

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

by shinelon

Custom workspace groups for the DSH sidebar: group directories, drag to regroup/reorder, inline search and sessions, one-click official-view fallback.

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 1

NOASSERTION

TypeScript

Oct 21, 2026

dsh plugin --profile web add @local/workspace-group-manager

by ZoeHao2026

Accessible collapsible provider groups for the DeepSeek Harness model selector.

Development & InfrastructureManifest valid

★ 4

MIT

TypeScript

Sep 24, 2026

dsh plugin --profile web add @local/dsh-ui-model-selection-collapsible

by p56568833

Category tabs for the DeepSeek Harness Plugins page's Installed list, with patch plugins nested under their parent.

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 0

MIT

JavaScript

Oct 5, 2026

dsh plugin --profile web add dsh-plugin-groups

by YinqiSY

Groups sidebar conversations into collapsible folders that reorder by drag, decorating the shipped session list instead of replacing it.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Nov 8, 2026

dsh plugin --profile web add dsh-session-folders

by z-col

DeepSeek Harness web client plugin: group sidebar workspaces into a configurable three-level tree (分类→项目→会话). Sidecar YAML rules. dsh-plugin.

Development & InfrastructureManifest valid

★ 5

MIT

TypeScript

Aug 24, 2026

dsh plugin --profile web add dsh-workspace-groups