dsh-super-injector: A Runtime Mod Injector for DeepSeek Harness
yjh051108/dsh-super-injector
Runtime injector for DSH plugin, hot-loading any plugin package without restart, a full dev loop toolkit.
Provides DeepSeek Harness with no-restart plugin injection, hot reload, staging promotion, and uninstall capabilities, giving developers a Mod-level development loop.
dsh plugin --profile web add github:yjh051108/dsh-super-injector- Category
- Development & Operations
- Platform
- DSH-Plugin
- Author
- yjh051108
- Distribution
- Plugin
dsh-super-injector Key Features
dsh-super-injector Repository

dsh-super-injector Repo Summary
dsh-super-injector is a runtime injection plugin (DSH plugin) for DeepSeek Harness (DSH), bringing a BepInEx-style mod injection entry to the DSH ecosystem: it injects any local plugin package into a running web without touching patch, package.json, or bundles lists, and without restarting the process. Once injected, both host tools and client UI take full effect. It solves the problem that the official assembly mechanism (profile bundle / repository-plugin) only allows installing mods via the "launcher" and cannot flexibly adjust at runtime, giving developers a Mod-level experience of "everything injectable, injectable rollback, and changes take effect immediately."
What core features does the dsh-super-injector DSH plugin support?
The plugin provides a full set of no-restart development loop tools: dev_reload_package supports whole-package hot reload (clear cache, re-import, rebuild fiber, with automatic rollback to the old version on failure), and the injector itself also supports self-reload; automatic watch on the plugin directory triggers reload about 1.5 seconds after code build; dev_stage_promote promotes staged test tools to production with one click and persists them, automatically restoring after self-reload/restart; dev_uninject_plugin unloads with one click and cleans up fiber, routes, and client tables; dev_clear_routes directly clears orphan routes in the webserver's internal route table; the injection registry is persisted to ~/.dsh/super-injector/registry.json and automatically restored after web restart; every operation returns host/client dual verification, and failures are retryable with automatic residue cleanup.
How to install dsh-super-injector?
It is recommended to download dsh-external-dsh-super-injector-0.0.1.tgz from Releases, extract it, and then use official assembly or runtime injection; alternatively, use the git assembly command directly:
dsh plugin --profile web add github:yjh051108/dsh-super-injector
If using bootstrap assembly (source mode), add a configuration once in ~/.dsh/profiles/web/cordis.patch.yml, and any super mod can be used on demand afterwards.
What DeepSeek Harness versions and platforms does dsh-super-injector support?
The plugin does not hardcode DSH versions; all peerDependencies are range declarations (@deepseek-ai/dsh-tools: >=0.0.1-rc <2, cordis: >=4.0.0-rc <5), so DSH upgrades do not break it; it has adapted to service renames (webServer formerly httpServer, compaction formerly compact). Maintained by yjh051108, written in TypeScript, last updated in 2026-08, currently 82 stars and 9 forks.
What role does dsh-super-injector play in the DSH ecosystem?
The plugin positions itself as the runtime standard layer beneath the official assembly mechanism: the official side decides "what to install" (bundle / repository + configuration), while "how to change after installation"—hot reload, staged testing, one-click promotion, uninstall, failure self-healing—is taken over by this plugin. It complements dsh-evolve: evolve is "creation mode" (agent writes single-file source on the fly), while the injector is the "operating table" (injecting developer-prebuilt complete plugin packages). Design principles: no protocol invention (inject standard official package format), dual paths respecting "configuration is the only source of truth", model-drivable (all dev_* are tools), and reversible and self-healing.