Source Patches
Find nodes in compiled TypeScript with TSQuery and rewrite their in-memory source ranges with MagicString.
Author a Source Patch
A library for patching, replacing and decorating DeepSeek Harness plugins during runtime.
Harmony runs Source Patches in one global order, and each Patch reads the source left by the previous one. A composite Patch gives several changes one position and one switch, and applies them only when every member succeeds. Failed standalone Patches are reported and skipped. Installed files remain unchanged.
installed source (unchanged)
-> global Patch order
-> in-memory changes
-> Host reload or browser HMRRead how Harmony fits into the runtime, then follow the installation guide. The project is inspired by Andreas Pardeike and contributors' C# project Harmony.
Harmony helps these plugins bring their great ideas to life.
Collapse each completed turn's agent activity into a summary bar while keeping the final answer visible.
dsh plugin --profile web add @ch4acko3/dsh-turn-foldAdd fully read-only, scriptable history playback inside the native DSH conversation.
dsh plugin --profile web add @ch4acko3/bites-the-dshRoute memory update, retrieval and subscription calls across compatible plugins, with an optional transactional Rust backend.
dsh plugin --profile web add dsh-patchouliEnable bidirectional service calls through DSH Connection and Typert Gateway.
dsh plugin --profile web add the-binding-of-dshBuild and test Harmony Patches against a live DSH WebUI preview.
dsh plugin --profile web add dsh-webui-studioExplore the ecosystem · Submit a project
If your plugin uses Harmony, you’re welcome to use this badge to show your support!
[](https://memorax-ai.github.io/dsh-harmony/)