DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-sidebar-more

s

dsh-sidebar-more

Manifest valid

DSH Plugin: Collapse the plugin entry above the "Workspace" in the left sidebar into the "More" menu, with the ability to pin or collapse each item individually

UI (client)hasBundlePatchMachine translated

侧栏「更多」固定项(dsh-sidebar-more)

DSH 插件:把左侧栏「工作区」上方的插件入口收进 更多 菜单,并允许逐项固定 / 收起。

DSH 的侧栏外壳本身就提供了「更多」按钮和逐项固定回调,但官方菜单只放了 「浏览更多插件 / 创建你的插件」,没有面板行与图钉。本插件注册 sidebar.panellist.actions,把缺的那部分补齐,不修改打包的 app.asar。

交互

点开左侧栏的 更多:

  • 最上方是「侧栏条目」分组,按侧栏里的顺序列出所有可自定义的面板入口 (「插件」入口由内核强制常显,永不列出)。
  • 分组标题下一行是 一键收起:一次把所有入口收进「更多」,侧栏只留 「插件」常显行;全部已收起时该行置灰。
  • 点行 → 打开该面板并关闭菜单。
  • 点行右侧图钉 → 固定 / 收进更多:
    • 图钉实心(aria-pressed=true)= 该入口显示在侧栏;
    • 图钉空心 = 该入口只在「更多」里出现。
    • 调整时菜单保持打开,可连续操作;主面板与当前选中态不受影响。
  • 分组下方仍是官方的「浏览更多插件 / 创建你的插件」。

安装与启用

  1. 在 DSH 插件管理器中从本地目录安装 dsh-sidebar-more 包 (包内通过 dsh.bundle.patch 声明 bundle 层)。
  2. 启用插件。宿主会在插件管理器里直接应用组合(无需重启即可看到 include:sidebar-more 为 active)。
  3. 刷新 Web UI(桌面上按 ⌘R);若「更多」里没有出现「侧栏条目」,再完整 重启 DSH。

已知限制

  • 固定选择只在本次应用运行内有效。 侧栏外壳把「已收起」列表保存在内存里 (createPanelPins),插件重新加载即重置,并刻意忽略旧 localStorage 值, 因此重启后所有入口会回到侧栏,需要重新收起。若要跨重启保留,只能改 app.asar 里的内核(会被自动更新覆盖,不推荐)或向上游提需求。
  • 「插件」入口不可收起(内核规则);「定时任务」「插件市场」等其余入口都可以。

卸载

在插件管理器中禁用并移除本插件,重启 DSH 后侧栏与「更多」菜单恢复原状。

结构

dsh-sidebar-more/
  package.json          # dsh.bundle.patch + dsh.client(immediately)
  cordis.patch.yml      # 插入 host 行(空壳,只为承载 client 声明)
  index.js              # Host 半:apply() 空实现
  client.js             # Client 半:注册 sidebar.panellist.actions 行
  locale/{zh,en}.json   # 插件管理页元数据
  icon.svg
  test/validate.test.mjs # 清单 / slot 契约 / 脚本形态
  test/render.test.mjs   # 用假 React 渲染真实 client.js 的行与回调
npm test   # node --test test/*.test.mjs

Comments

Loading…

Similar plugins

dsh-sidebar-settings

by linguiyii

DeepSeek Harness 客户端插件:把设置入口放到侧边栏底部,一键打开设置页。 / A DSH client plugin that puts a settings button at the bottom of the sidebar.

Development & InfrastructureManifest valid

★ 1

MIT

JavaScript

Oct 18, 2026

dsh plugin --profile web add dsh-sidebar-settings

by lywusichen

管理 DeepSeek Harness 左下侧栏按钮的插件:拖拽排序、显隐控制,隐藏按钮收进"更多"菜单,可统一按钮高度。

UI & ExperienceManifest valid

★ 3

↓ 12/wk

MIT

JavaScript

Sep 11, 2026

dsh plugin --profile web add dsh-sidebar-buttons

by Alail691

把 DSH 侧栏的「插件」整体收进设置:在「设置 → 插件」里新增一个「插件管理」标签页,内嵌官方插件面板的全部能力(浏览 / 安装 / 开关 / 卸载)。Bring the sidebar's Plugins page into Settings as a tab, embedding the official plugin manager.

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 16, 2026

dsh plugin --profile web add dsh-plugins-in-settings

by zhaoruizhe81

dsh Web GUI 插件:给右侧栏标签的右键菜单补上固定标签、关闭其他/左侧/右侧/所有标签。

Manifest valid

★ 0

MIT

JavaScript

Oct 15, 2026

dsh plugin --profile web add dsh-sidebar-tab-actions

by HighToward

DSH左上角插件侧栏管理,可以把面板入口收进一级分类/二级分类,也可以把某个入口隐藏或显示。

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Nov 7, 2026

dsh plugin --profile web add dsh-plugins-sidebar-manager

by 2797218091

DSH 左侧栏可滚动 + 可分组插件:整列滚动、导航分组折叠、工作区分组折叠,配置持久化到 profile

Manifest valid

★ 0

MIT

JavaScript

Nov 6, 2026

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