Skills Plugins MCP Prompt Model 导航 博客 资讯 我的中心
开发与运行时 #deepseek-harness#dsh-plugin

dsh-settings-nav-fold

把 DSH 设置面板的插件/扩展条目折叠进一个可展开的「插件条目」分组,随插件增减自动更新。

zhengjy01 @zhengjy01 ⬇ 1 ★ 1 main

安装

dsh plugin --profile web add github:zhengjy01/dsh-settings-nav-fold
下载安装清单

需要可复现安装时,可在仓库后追加 #commit 固定提交。

把 DSH 设置面板的插件/扩展条目折叠进一个可展开的「插件条目」分组,随插件增减自动更新。

该插件未提供要点说明,请参考仓库 README。

deepseek-harnessdsh-plugin
  1. 安装并启动 DeepSeek Harness:npx @deepseek-ai/dsh web
  2. 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
  3. 用 dsh plugins list 确认已安装,必要时重启 Harness 生效

插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。

代码仓库github.com/zhengjy01/dsh-settings-nav-fold
许可证MIT
主要语言main
下载量1
GitHub 星标1
最近推送2026-08-16
收录日期2026-09-19
分类开发与运行时

事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。

以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。

# dsh-settings-nav-organizer

> **English** | [**中文**](README.zh.md)

Declutter the DeepSeek Harness settings panel: with more plugins installed, the settings sidebar grows one entry per plugin. This plugin folds every plugin/extension entry into a single collapsible **Plugin entries** group row, lets you organize entries into **bookmark-style named groups**, and adds a **fold toggle** in General settings.

![Awesome DSH Plugin](https://awesome-dsh-plugin.com/badge.svg)

## Features

- **One group row, right under the system settings** — `通用设置 / Models / Plugins / Agent presets` stay flat; everything else (plugins, extensions, extra pages) folds under `Plugin entries (N) ▾`.
- **Fold toggle** — a switch in **Settings → General** (`折叠第三方插件入口`) turns the whole folding behavior on/off: off restores the plain native nav with every entry flat.
- **Bookmark-style custom groups** — create named groups (like bookmark folders), move any settings entry into a group, and expand/collapse each group in the nav independently. A **Groups** page in the Settings panel manages everything: create, rename, delete groups, and move entries in/out.
- **One-click expand/collapse** — click a group row to unfold its entries below it; click again to fold them back. Ungrouped entries stay under the `Plugin entries (N) ▾` row.
- **Persistent** — group configuration and the fold toggle are stored in `localStorage` (`dsh.settingsNavFold.v1`), survives restarts.
- **Auto-updating** — counts and fold positions are recomputed from the live `settings.section` ledger, so entries appear/disappear as plugins register or unregister their settings pages. No configuration.
- **Current section never disappears** — the active plugin page stays visible even while folded.
- **Localized** — follows the UI locale (中文 / English).

## Install

```sh
# 方式一:npm 包(推荐,国内网络更稳定)
dsh plugin --profile web add dsh-settings-nav-organizer

# 方式二:GitHub 仓库
dsh plugin --profile web add github:zhengjy01/dsh-settings-nav-organizer
```

Restart `dsh` (the host half must load), then refresh the browser page. Open the Settings panel (gear icon at the sidebar foot).

## Usage

Everything lives in the Settings panel (`设置`):

1. **Fold toggle** — open **General** (`通用设置`), the first row is `折叠第三方插件入口 / Fold third-party plugin entries`. On (default): plugin entries fold under the group rows; off: the nav goes back to plain native with every entry flat. The switch state is remembered across restarts.

2. **Group rows in the nav** — with the toggle on, the nav shows the core entries, then a `Plugin entries (N) ▾` row (and any custom group rows). Click a row to expand/collapse its entries below it.

3. **Bookmark-style groups** — open **Groups** (`分组管理`) in the nav:
   - type a name and hit **New group** to create a group;
   - in the **Ungrouped** section, pick a group from each entry's dropdown to move it in;
   - inside a group card, use **Rename** / **Delete** / **Remove** to manage it (deleting a group moves its entries back to Ungrouped).

## How it works

The settings nav list is rendered by the shipped panel and is not a slot, so the plugin:

1. reads the `settings.section` slot ledger (`ctx.slots.entries`) and sorts it exactly like the panel does;
2. injects the group rows into the nav list DOM right after the last core entry (idempotent — no DOM change when already placed);
3. marks plugin buttons with `data-snav-plugin` / `data-snav-group` and drives visibility via a small stylesheet (the active `aria-current` row stays visible);
4. follows the ledger and panel re-renders with a scoped `MutationObserver` (with a storm watchdog), so the group stays correct as plugins come and go;
Everything is owned by the plugin fiber: styles, subscriptions, the observer, and the injected rows are removed when the plugin is stopped or uninstalled.

## Uninstall

```sh
dsh plugin --profile web remove dsh-settings-nav-organizer
```

This stops the plugin, removes its row from `cordis.patch.yml` and its dependency from the profile `package.json`.

## License

[MIT](LICENSE)

数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。