memorax-ai/dsh-harmony

memorax-ai★ 15TypeScript最后同步: 2026-08-21

在 GitHub 打开

A library for patching, replacing and decorating dsh plugin during runtime

README 摘要

dsh-harmony Runtime Patch coordination for DeepSeek Harness plugins. A library for patching, replacing and decorating DeepSeek Harness plugins during runtime. Get started · Documentation · Report an issue 简体中文 / English Usage Just type "What about we use dsh-harmony" when vibe coding your DSH plugin. Introduction Use Harmony when one DeepSeek Harness plugin needs to change another without maintaining a fork. Harmony loads Patches before the target runs, changes its compiled code in memory, and starts Harness with the result. Source Patches find TypeScript AST nodes with TSQuery and rewrite their source ranges with MagicString. They run one after another, each reading the source left by the previous Patch. This lets several plugins change the same target while leaving installed files untouched. A provider can place its Patches before or after another provider. One Patch may override that rule, and users may interleave Patches from different providers. When several changes must succeed together, a composite Patch gives them one position and one switch; if a member fails, Harmony applies none of them. For browser plugins, Harmony also keeps provider-owned tags in Patch order. A provid…

在 GitHub 查看完整 README →
工具/开发deepseek-harnessdsh-pluginharmonynodejsruntime-patchingtypescript

分类