dsh-hotplug-engine
Run the following command in DeepSeek Harness:
dsh plugin install AnothetLoice/dsh-hotplug-engine
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install AnothetLoice/dsh-hotplug-engine in the DeepSeek Harness terminal to install this plugin; the source repository is available at https://github.com/AnothetLoice/dsh-hotplug-engine .
About this plugin
DSH loads and unloads plugins through cordis.patch.yml and its built-in loader, but the real workflow scatters across manual file edits, pnpm invocations, and post-install health checks with no single programmatic entry point. dsh-hotplug-engine wraps all of these steps into one service: patch modification, pnpm execution, post-install health verification, automatic rollback on failure, and end-to-end audit logging - a pipeline that only touches files and shell commands without altering the DSH kernel.
At its core the engine can toggle any patch line in both flow and block YAML, automatically rolls back when an install fails, and enforces a DSH default-disabled gate (a lock badge in the UI plus a HOTPLUG.PATCH.DEFAULT_DISABLED API error). Three integration paths are provided: host plugins inject the hotplugEngine service and call install, rollback, enable, and other methods directly; REST endpoints under the /api/dsh-hotplug prefix handle reads, writes, and SSE event streams; and agent-facing hotplug_* tools cover status, install, uninstall, toggle, rollback, and audit, with all write operations gated behind an approval step.
The plugin is aimed at teams and developers who need programmatic, auditable control over DSH plugins: marketplace and admin-panel builders, orchestration layers that install or remove plugins dynamically inside agent sessions, and host-plugin authors who require rollback-safe, fully logged plugin lifecycle operations.
Use Cases
- Installing, toggling, and rolling back DSH plugins from an admin panel
- Dynamically managing plugin lifecycle via agent tools mid-session
- Invoking the engine from a host plugin for audit logging and automatic rollback
Best For
- Developers building a plugin marketplace or admin UI
- Orchestration layers that install or remove plugins inside agent workflows
- Host-plugin authors who need auditable, rollback-safe plugin operations
Related Plugins
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.
Packages all 87 SKILL.md files from upstream reverse-skill as a DeepSeek Harness plugin that auto-registers them for authorized reverse engineering, penetration testing, and security research.
Dockyard DSH is a native DeepSeek Harness plugin that unifies official OAuth/client sessions for Codex, Antigravity, Grok, Claude, and Cursor, providing account pool, model catalog, and quota status.