CH4ACKO3/dsh-harmony10

dsh-harmony

A library for patching, replacing and decorating DeepSeek Harness plugins during runtime

AI 分析

核心用途是提供 DSH 插件的运行时热补丁与协调框架,允许动态修改和扩展其他插件的行为。适合 DSH 插件开发者或需要高度定制化插件生态的高级用户。

パッケージ
dsh-harmony
バージョン
0.3.2
ライセンス
MIT
最終更新
2026/08/17

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CH4ACKO3/dsh-harmony

ドキュメント

README 全文を読む ↗

Harmony

dsh-harmony

Runtime Patch coordination for DeepSeek Harness plugins.


A library for patching, replacing and decorating DeepSeek Harness plugins during runtime.




[Get started](https://ch4acko3.github.io/dsh-harmony/guide/installation)
·
[Documentation](https://ch4acko3.github.io/dsh-harmony/)
·
[Report an issue](https://github.com/CH4ACKO3/dsh-harmony/issues)




[![License: MIT](https://img.shields.io/badge/license-MIT-0b63f6.svg)](https://github.com/CH4ACKO3/dsh-harmony/blob/016207cd6344054799cd8cd077e138fda8da730b/LICENSE)
[![Node.js](https://img.shields.io/badge/node-%5E22.22.3%20%7C%7C%20%3E%3D24.11.1-2f6f3e.svg)](https://github.com/CH4ACKO3/dsh-harmony/blob/016207cd6344054799cd8cd077e138fda8da730b/package.json)
[![npm version](https://img.shields.io/npm/v/dsh-harmony.svg?style=flat&color=0b63f6)](https://www.npmjs.com/package/dsh-harmony)
[![GitHub stars](https://img.shields.io/github/stars/CH4ACKO3/dsh-harmony?style=flat&color=0b63f6)](https://github.com/CH4ACKO3/dsh-harmony/stargazers)
[![Awesome DSH Plugin](https://awesome-dsh-plugin.com/badge.svg)](https://awesome-dsh-plugin.com)

简体中文 / English

Introduction

Harmony provides an elegant way to modify the behavior of other plugins written for DeepSeek Harness. It runs as an external framework, applies Patches to target plugins at runtime, and starts DeepSeek Harness with the transformed plugin set.

Source Patches use TSQuery to precisely match target nodes in a TypeScript AST, then use MagicString to rewrite the corresponding ranges of the current in-memory source. Patches run in their configured order, and each Patch receives the output of the previous one, giving multiple changes to the same target a chance to coexist. Installed plugin files are never modified.

The goal is to extend the expressive power of DeepSeek Harness through creativity, composition, and modification.

Respect

Inspired by Harmony, the project of the same name created by Andreas Pardeike and other contributors for C#.

AI agents: use the repository skill

Load use-dsh-harmony for installation, Patch selection and authoring, runtime operations, and troubleshooting.

Install

Requires Node.js ^22.22.3 or >=24.11.1 and @deepseek-ai/dsh@0.1.0-rc.6.

npm install -g @deepseek-ai/dsh@0.1.0-rc.6
npm install -g dsh-harmony
dsh web

Open Settings → Harmony after starting the WebUI. For profiles, Desktop integration, updates, and removal, see the installation guide.

Documentation

TopicGuide
Runtime architectureWhat is Harmony?
Installation and profilesInstallation
Writing source, semantic, and loader PatchesPatch authoring
Order, status, inspection, and reloadOperations
React-aware patches with dsh-harmony-reactReact integration
Studio previewsStudio integration
Commands, limitations, and failuresCLI · Limitations · Troubleshooting

Development

All maintained implementation code uses TypeScript. Build artifacts are generated for packaging and are not tracked by Git.

Documentation sources and local preview tooling live on the docs branch.

npm test

License

MIT