Declutter the DSH settings nav: fold third-party plugin entries under collapsible group rows, with bookmark-style custom groups, a fold toggle, and auto classification (market tags → name rules → your AI model).
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-settings-nav-organizer
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:zhengjy01/dsh-settings-nav-organizer
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
English | 中文
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.
Features
One group row, right under the system settings —
通用设置 / Models / Plugins / Agent presetsstay flat at the top; everything else (plugins, extensions, extra pages) folds underPlugin entries (N) ▾.Instant search — a search box pinned at the top of the settings nav filters every entry by name (and plugin id) as you type; matches are highlighted and their groups are auto-expanded, and clearing the search restores the previous fold/group layout.
Scrollable nav — when there are many entries, the settings sidebar scrolls instead of clipping entries with no scrollbar.
Fold toggle — a switch at the top of the Groups page (
折叠第三方插件入口) 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.sectionledger, 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.
Auto classification — a mode switch (AI auto / manual): with AI mode on, newly installed plugins are grouped automatically through three fallback layers — third-party market categories → local name-based heuristic rules → your AI model — so plugins are grouped even when the market misses them and no AI is configured.
AI model config made easy — model dropdown with presets (DeepSeek / OpenAI / Qwen / GLM / Kimi / Doubao): picking a preset model auto-fills its provider API URL, the URL+key auto-fetch the models available on your account, a Test config button verifies the whole setup with one request, and everything is saved automatically on input (no save button required).
Idle plugin auto-pruner — a new switch on the Groups page scans each plugin's tool-call history, flags plugins unused beyond an idle threshold (default 30 days), and lets you preview and one-click clean them (with a confirmation step). Core DSH, this plugin and the core UI bundle are auto-protected and never listed; plugins without detectable tools can still be checked manually.
Localized — follows the UI locale (中文 / English).
Install
Add the plugin to your profile:
# from npm (recommended — more stable from mainland networks) dsh plugin --profile web add dsh-settings-nav-organizer # or from GitHub dsh plugin --profile web add github:zhengjy01/dsh-settings-nav-organizerExpected: the command prints the resolved package and records it in that profile's
dsh.profile.bundles.Screenshot slot 1 — install output. Capture the terminal right after the command, last ~10 lines (package + profile). Redact your username / home path. Save as
docs/images/dsh-settings-nav-organizer-1-install.png, then replace this block with.Restart
dsh(the host half must load), then refresh the browser page.Expected: the sidebar nav still lists the official entries, now followed by the group rows.
Open Settings (gear icon at the sidebar foot) → Groups (
分组管理).Expected: the fold toggle and the group management UI are there.
Screenshot slot 2 — folded nav + Groups page. Capture the sidebar with plugin entries folded under
Plugin entries (N) ▾, plus the Groups page header. Redact plugin names you consider private. Save asdocs/images/dsh-settings-nav-organizer-2-folded-nav.png.
Usage
Everything lives in the Settings panel (设置):
Fold toggle — open Groups (
分组管理), the switch at the top 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.Screenshot slot 3 — the toggle, both states. Capture the nav with the toggle on and off. Save as
docs/images/dsh-settings-nav-organizer-3-toggle.png.Group rows in the nav — with the toggle on, the nav keeps the official entries (
通用设置 / Models / Plugins / Agent presets, plus the Plugin manager page) flat at the top, followed by the Groups page, then aPlugin entries (N) ▾row (and any custom group rows). Click a row to expand/collapse its entries below it.Auto classification — in the Groups page, turn on the Auto classify switch (AI auto / manual), then configure your AI model:
- pick a preset model from the dropdown (the provider API URL is filled in automatically), enter your API key, confirm the URL, and hit Test config to verify;
- click Classify ungrouped plugins now — market tags are used first, then name-based rules, then your AI model;
- everything is saved automatically as you type.
Screenshot slot 4 — auto classification result. Capture the Groups page right after clicking Classify ungrouped plugins now (entries moved into groups). Save as
docs/images/dsh-settings-nav-organizer-4-classify.png.Bookmark-style groups — in the Groups page:
- 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:
- reads the
settings.sectionslot ledger (ctx.slots.entries) and sorts it exactly like the panel does; - injects the group rows into the nav list DOM right after the last core entry (idempotent — no DOM change when already placed);
- marks plugin buttons with
data-snav-plugin/data-snav-groupand drives visibility via a small stylesheet (the activearia-currentrow stays visible); - 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.
Screenshots to add
| # | Where | What it shows | How to capture | Suggested filename |
|---|---|---|---|---|
| 1 | Install | Install output (package + profile) | Terminal right after step 1, last ~10 lines; redact home path | docs/images/dsh-settings-nav-organizer-1-install.png |
| 2 | Install | Folded nav + Groups page | Sidebar with entries folded under Plugin entries (N) ▾, plus the Groups page header |
docs/images/dsh-settings-nav-organizer-2-folded-nav.png |
| 3 | Usage | Fold toggle on/off | Same nav with the toggle on and off | docs/images/dsh-settings-nav-organizer-3-toggle.png |
| 4 | Usage | Auto classification result | Groups page right after "Classify ungrouped plugins now" | docs/images/dsh-settings-nav-organizer-4-classify.png |
After adding the images, re-run npm pack --dry-run and the portability gate
(npm run verify) — the README is part of the published tarball.
Uninstall
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
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 8178
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 8178
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
omdsh-dev/DSH-better-sidebar★ 3903
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
ccch1mneyyy/dsh-TUI★ 3815
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 3514
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1711
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.