Tianbaidi/dsh-plugin-scaffold

Tianbaidi★ 0TypeScriptLast synced: 2026-08-15

Open on GitHub

README excerpt

dsh-plugin-scaffold A starter DeepSeek Harness (dsh) plugin. It demonstrates the four extension shapes a community plugin can use, shipped as a working persistent note scratchpad: note write / note read / note list / note delete . Shape Where in this repo Plugin with Config src/index.ts — Schemastery schema, defaults, cordis.yml overrides Tools ctx.tools.register(defineTool(...)) — canonical JSON outputs + output.render UI cards presentCall / presentResult / presentationMeta — pure projections Hooks ctx.on('session/event', ...) — observe the agent loop Try it Install the bundle into any profile (the prepare script builds on install): Open the Web UI and ask the agent to save a note called project-ideas about the scaffold, then list all notes . Prefer a dev overlay instead? Point it at your local checkout: Windows note: plugin paths in overlays must be file:// URLs ( file:///D:/...%20... ), not bare D:/... paths — the ESM loader rejects the latter as scheme d: . Develop Hot reload: edit src/index.ts , save, and the running dsh web reloads the plugin (registrations are effects and clean themselves up). Make it yours 1. Rename the package and the name export in src/index.ts . 2. Repla…

View full README on GitHub →
Tools / Devdsh-pluginagent

Category