ggggggggggz / dsh-config

已收录

Standalone TUI plugin manager for DeepSeek Harness (dsh): install/remove/toggle plugins and register local plugins. Independent of any dsh front-end.

master工具 查看源代码

安装

npm link # provides a global `dsh-config` command

此命令根据 GitHub 仓库地址生成。运行前请检查上游 README 与源代码;需要可复现安装时,请固定 release 或 commit。

README

维护者编写的文档快照。

在 GitHub 查看 ↗
提交版本 35e1226同步于 2026年8月18日

最近一次目录同步未能刷新此 README 快照。

dsh-config

English · 中文

A standalone, front-end-independent TUI to manage DeepSeek Harness plugins — install, remove, enable/disable, and register local plugins.

A standalone DeepSeek Harness (dsh) plugin manager driven by arrow keys. Browse a profile's installed plugins, install / remove / toggle them, and register local plugins (including scanning a directory full of local plugins).

Fully independent of any dsh front-end (web or tui) — it only reads profile files.

Language Node License

Install

# Install globally from source (zero dependency, ready to use)
git clone <your repo url>
cd dsh-config
npm link                 # provides a global `dsh-config` command

Zero runtime dependencies: it uses only Node built-ins plus the system pnpm (must be installed and on PATH).

Usage

dsh-config                 # manage the default profile (web)
dsh-config --profile xxx   # manage a specific profile

Keymap

KeyAction
/ Move the highlighted selection
iInstall a new plugin from a registry (type the package name, press Enter; supports @user/pkg, github:user/repo)
lRegister a local plugin (enter a path, it scans then asks you to confirm; supports a folder with many plugins)
rRemove a plugin (asks for confirmation first, press y)
/ e / dToggle / enable / disable
q / Ctrl+CQuit

Registering a local plugin (l)

Local plugins usually live under a profile's plugins/ directory (each plugin is a subfolder). Press l and enter a path:

  • A single plugin folder (e.g. C:\...\plugins\dsh-reload) → it scans the plugin's name / dsh.bundle info → press y to register.
  • A container folder (e.g. C:\...\plugins) → it lists all sub-plugins, / to pick, Enter to register, n to cancel.

Registering runs pnpm add <dir> and writes the plugin's name into the profile's bundles. This solves the pain of manually registering plugins cloned from GitHub that don't declare dsh.bundle.

How it works (quick model)

Plugin state is decided by two files, both under the profile directory (default ~/.dsh/profiles/<profile>/):

  1. package.jsondsh.profile.bundles: the registration list (ordered plugin layers). On the list = registered, enabled by default.
  2. cordis.patch.yml# dsh-plugin-manager state: {...} disabled array: records only disabled plugins. There is no separate "enabled" list.
in bundles AND NOT in disabled  =>  enabled
in bundles AND     in disabled  =>  disabled
NOT in bundles                  =>  not registered

Self-managed

  • install / remove / local registration are handled by this tool itself (it rewrites package.json bundles + dependencies), using pnpm only to actually fetch/remove packages. As a result remove reliably cleans the bundles list (avoiding issues left behind by some third-party tools).
  • Zero runtime dependencies and a single index.mjs entry point.

License & Acknowledgements

MIT License (see LICENSE).

The mechanics (bundles registration + cordis.patch.yml disabled set) are the public dsh ecosystem protocol (defined by DeepSeek Harness). This tool's handling of that state file was informed by @osskn4w7/dsh-plugin-manager (MIT); no code is copied from it. Thanks to its authors; the original keeps its own copyright and MIT license.


Other languages: 中文

仓库信息

开发语言
JavaScript
许可证
NOASSERTION
最后更新
2026年8月18日 07:25

谨慎安装

请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。