AI Agent Hub
Back to plugins
⚙️

dsh-package-manager

Workflow Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install space-spacee-clamation/dsh-package-manager

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install space-spacee-clamation/dsh-package-manager in DeepSeek Harness to install this plugin; the source code is available at https://github.com/space-spacee-clamation/dsh-package-manager .

About this plugin

Managing dsh-bundle plugins in DSH traditionally meant reaching into the Loader API or hand-assembling patch trees—fragile and impossible to hot-apply. dsh-package-manager collapses the entire pipeline into one action: install the plugin as a profile dependency, then normalize its dsh.bundle.patch into a managed block inside the profile's cordis.patch.yml. Subsequent hot-mount, hot-unmount, disable, and enable are all delegated to the host's existing watchUserPatches watcher; no extra Loader subtrees or recombination logic are introduced.

Lifecycle coverage is the core strength: installation writes the dependency and generates the managed block in a single step; uninstallation simply removes the block for an immediate hot-unmount; toggling only adds or removes a disabled row at the tail of the block, preserving the dependency and ledger record. For git-source plugins, ls-remote detects updates and auto-syncs the mirror. Additional capabilities include a declarative custom adapter for non-bundle plugins, minimal-diff deps.yaml synchronization, local plugin discovery, pre-install validation (rejecting workspace deps, non-ESM packages, missing entry points), and a doctor command to clean stale ledger entries and orphaned blocks. CLI, Web settings page, and programmatic API all share the same core, keeping behavior consistent and auditable.

Built for DSH developers who frequently add, remove, or toggle dsh-bundle plugins across profiles and want a single, auditable install pipeline without understanding Loader internals or restarting the host. Whether you drive it from the Web UI, the dpm CLI, or a batch script, the experience stays the same.

Use Cases

  • Install a dsh-bundle plugin and see it hot-mounted instantly without a host restart
  • Toggle a plugin disabled or enabled with a single managed-block row change
  • Detect upstream updates for git-source plugins and auto-sync for a hot refresh

Best For

  • DSH profile developers who frequently add or remove dsh-bundle plugins
  • Ops engineers and script authors needing hot-mount, toggle, and unload without restarts
  • Teams wanting a unified CLI, Web, and API surface for full plugin lifecycle management