ovo669/dsh-settings-sections
在 DeepSeek Harness 设置面板里管理「侧栏板块」显示 / 隐藏 / 排序的轻量插件(纯客户端,localStorage 持久化)。
catalog 简介 / catalog descriptioncatalog description:设置的板块管理,避免插件太多
项目介绍Project Overview
这是一个 DSH 纯客户端插件,用于在设置面板中管理侧栏板块:可显示、隐藏各设置板块,并通过拖拽调整导航顺序,状态存入 localStorage,重启后恢复。当设置页板块过多或顺序不合意时使用;隐藏仅为界面隐藏,不删除设置内容,且依赖 DOM 操作,适配 DSH 桌面客户端。
A pure-client DSH plugin for managing settings sidebar sections. It adds a management page at the top of Settings where you can toggle section visibility, drag to reorder navigation items, and restore defaults; state persists in localStorage. Use it when the settings sidebar is cluttered or ordered poorly. Hiding only suppresses UI via DOM manipulation and deletes no settings; it targets the DSH desktop client.
请帮我了解并安装插件:【dsh-settings-sections】【https://github.com/ovo669/dsh-settings-sections】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add github:ovo669/dsh-settings-sections
把 ovo669/dsh-settings-sections 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-settings-sections
在 DeepSeek Harness 设置面板里管理「侧栏板块」显示 / 隐藏 / 排序的轻量插件(纯客户端,localStorage 持久化)。
A lightweight pure-client plugin for DeepSeek Harness that lets you show, hide and reorder settings sections in the settings sidebar.
它能做什么 / What it does
设置页左侧导航的板块太多、顺序不合心意时,用它来整理。隐藏后随时可重新开启,不会删除任何设置内容。
- 在「设置」导航顶部新增一个「设置板块」管理页
- 每个板块一个开关,点击立即显示 / 隐藏对应板块
- 拖动左侧手柄可调整板块顺序,顺序会同步到左侧导航
- 「全部显示」「恢复默认排序」一键恢复
- 隐藏状态与排序保存在 localStorage,重启后自动恢复
安装 / Install
方式一:手动安装(Manually)
把本仓库(或
dsh-settings-sections文件夹)放到 profile 的 node_modules:C:\Users\<用户名>\.dsh\profiles\<profile>\node_modules\dsh-settings-sections\在 profile 的
cordis.patch.yml末尾加入:- insert: - id: settings-sections name: 'dsh-settings-sections'完全退出 DSH 再打开,然后
Ctrl+Shift+R刷新页面。
方式二:插件市场(Plugin market)
本仓库带有 dsh-plugin 标签,可在 DSH 的 Zat 插件市场搜索安装。
使用 / Usage
打开「设置」→ 顶部「设置板块」:
- 勾选 / 取消勾选各板块右侧的开关,显示 / 隐藏对应板块;
- 按住某一行左侧的「⠿」手柄上下拖动,调整板块在左侧导航里的顺序;
- 点「全部显示」或「恢复默认排序」一键恢复。
原理 / How it works
DSH 设置侧栏的每个板块都是插件通过 settings.section 这个 slot 注册的。本插件:
- 向
settings.section注册一个自己的管理页(放在最顶部); - 读取所有已注册板块,渲染成开关列表;
- 切换开关时,通过 MutationObserver 把左侧导航里被隐藏板块对应的按钮隐藏(
display:none); - 拖动排序时,按自定义顺序重排左侧导航按钮的 DOM 位置;
- 隐藏列表与排序都写入 localStorage。
兼容性 / Compatibility
- DeepSeek Harness EAC(桌面客户端)
- 纯客户端,无宿主端逻辑
License
MIT
nexu-io/open-design
freestylefly/awesome-gpt-image-2
anywhere-labs/dsh-desktop
walkinglabs/learn-harness-engineering
awesome-dsh-plugin/awesome-dsh-plugin
MemTensor/MemOS