Skip to content

dsh-scratch-plugin

Verified

dsh-scratch-plugin Β· v0.1.1 Β· MIT

A DeepSeek Harness bundle: a heartbeat plugin and a greet tool

Install

dsh plugin add dsh-scratch-plugin

Confirm the layer applied with dsh --profile default --dump-config β€” see the install guide.

Source

Published to npm without a public repository. Inspect the package contents before installing.

Creators

Readme

dsh-scratch-plugin

A DeepSeek Harness profile bundle with two plugins:

  • dsh-scratch-plugin β€” logs heartbeat on an interval. Config: interval (ms, default 5000).
  • dsh-scratch-plugin/greet β€” registers a greet tool that returns Hello, <name>!.

Install

dsh plugin --profile <name> add dsh-scratch-plugin

The package declares dsh.bundle, so dsh plugin appends it to the profile's dsh.profile.bundles and its cordis.patch.yml becomes a configuration layer. Inspect the composed result before booting:

dsh --profile <name> --dump-config

Configure

The bundle patch inserts both rows. Override them from the profile's own cordis.patch.yml, which applies after every bundle layer. A patch replaces the whole config value rather than merging keys, so restate every key the row needs:

- id: scratch-hello
  config:
    interval: 30000

Develop

@deepseek-ai/* imports stay external in the build output and bind to the host installation's copies at load time, so the plugin never ships its own harness runtime.

npm run typecheck   # tsc against the harness sources
npm run build       # tsdown transpiles src/ to lib/