DeepSeek Harness Plugin Source Code Tutorial: An Installable, Runnable, and Step-by-Step Readable TypeScript Plugin

This repository `deepseek-harness-plugin-from-scratch` is a community-maintained, unofficial TypeScript tutorial project designed to deeply analyze the assembly, verification, and replay mechanisms of DSH plugins, moving beyond simple function writing. The project adopts the MIT license, is in the pre-release stage, and has not yet been published to npm, with a focus on resolving production-level issues such as dependency management, configuration verification, registration revocation, and testing coverage of real-world paths. Core features include a runnable `greet-tool` plugin, `cordis.patch.yml` composition layer configuration, and local verification commands such as `smoke:source`, `smoke:loader`, and `check`. Developers can start this project via `pnpm preview`.

Read More