JustGenius-s/DSH-Plugs--plugins-dsh-plugin-config ↗★ 8
@just-genius/dsh-plugin-config
Settings → Plugin extensions: installed inventory, npm updates, marketplace, and Agent packs alongside DSH's plugin manager 适合需要便捷管理 Cordis 插件和 Agent 能力包的 DSH 用户。
インストール
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JustGenius-s/DSH-Plugs#e9fbcb429ec881cf068c94bab8e4e43409af1cd5&path:plugins/dsh-plugin-configドキュメント
README 全文を読む ↗@just-genius/dsh-plugin-config
Settings → 插件 → 插件扩展 as an additional tab for two plugin kinds:
- Cordis plugins — npm packages from awesome-dsh-plugin / profile (
dsh plugin add). Install/enable/disable/uninstall writes the web profile; usually needs a DSH restart. - Agent capability packs — data packs (manifest + hosted MCP + skills) from the builtin catalog under
catalog/. Install only copies files to~/.dsh/agent-plugins/installed//and updates~/.dsh/agent-plugins/state.json. Enable connects remote MCP and registers tools/skills into the live agent; disable detaches runtime but keeps credentials; uninstall detaches, deletes the install dir, clears state, and removes that pack's credentials.
Features
- Installed (collapsible, open by default) — group by origin (built-in / marketplace / external) with the same funnel filter + tree hierarchy as the marketplace; Disable / Enable / Uninstall for profile-owned plugins.
- Marketplace — awesome-dsh-plugin catalog only (no hardcoded DSH-Plugs source). Search, category filters, copy install command, one-click install.
- Shared top search — filters both the installed list and the marketplace list.
- Safety rails — core web-surface rows stay locked; session-plane preset tools are not toggled from the host.
Design
| Source | Role |
|---|---|
src/index.ts | Host: Cordis inventory/action/catalog/install + Agent pack routes |
src/agent/* | Agent pack activator (MCP mount / auth / uninstall cleanup) |
catalog/* | Builtin Agent pack catalog (Supabase, CloudBase, COS) |
src/inventory.ts, src/classify.ts, src/actions.ts, src/profile.ts | Installed inventory + profile mutations |
src/market/* | Awesome catalog fetch, install validation |
src/client/PluginsTab.tsx | Single tab UI (search + installed + market) |
The bundle patch only adds this plugin. Its settings.plugins.tab contribution
uses the independent id dsh-plugin-config, leaving the official all inventory
tab enabled and selectable.
On DSH v0.1.6-alpha.2 and later, the sidebar 插件 / Plugins page owns the official plugin manager (install, configure, enable, disable, and uninstall). This extension coexists with that page and the official Settings 插件列表 / Plugin list, adding the marketplace, npm updates, and Agent packs. Both the official manager and inventory are protected from disable/uninstall actions here.
Develop
pnpm install
pnpm typecheck
pnpm build
Install
dsh plugin --profile web add ./plugins/dsh-plugin-config
Restart DSH web, then open Settings → 插件 → 插件扩展.
When upgrading from the earlier replacement version, update/rebuild this plugin
and restart DSH so its bundle patch is recomposed. The old bundle-owned disable
of ui-settings-plugin-inventory then disappears; no profile migration is needed.
If you separately disabled that entry in your profile's own cordis.patch.yml,
remove that override to restore the official Settings list.
Uninstall
dsh plugin --profile web remove @just-genius/dsh-plugin-config
Removing the bundle removes only the extension tab and its services; DSH's own plugin pages remain available.