Some homemade deepseek harness plugins
  • JavaScript 99.1%
  • Shell 0.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yarrith Devos 4006a15f76 dsh-matrix: send replies as m.room.message with msgtype m.notice
The bridge used the event type m.room.notice, which is not the standard Matrix
form, so clients (Element) did not render the bot's replies. A notice is the
msgtype of an ordinary m.room.message. sendText() now always PUTs
/rooms/{id}/send/m.room.message/{txn} and keeps notice-ness in content.msgtype;
e2e assertions and the README were updated to the real contract.
2026-10-16 21:45:47 +00:00
dsh-matrix dsh-matrix: send replies as m.room.message with msgtype m.notice 2026-10-16 21:45:47 +00:00
dsh-memory Initial import: dsh-memory, dsh-ping, dsh-opencode-go-usage 2026-10-12 12:37:14 +00:00
dsh-opencode-go-usage Initial import: dsh-memory, dsh-ping, dsh-opencode-go-usage 2026-10-12 12:37:14 +00:00
dsh-ping Initial import: dsh-memory, dsh-ping, dsh-opencode-go-usage 2026-10-12 12:37:14 +00:00
.gitignore Initial import: dsh-memory, dsh-ping, dsh-opencode-go-usage 2026-10-12 12:37:14 +00:00
README.md add dsh-matrix: Matrix room <-> DSH session bridge 2026-10-16 21:22:25 +00:00

DeepSeek Harness plugins

Plugins for the DeepSeek Harness (DSH), a single-operator coding-agent harness.

Plugin What it does
dsh-memory Durable cross-session memory. An append-only JSONL store with memory_write / memory_search / memory_forget tools, plus a bounded digest of the applicable memories injected into every fresh session — so a new session starts already knowing what earlier ones were told. Scope is project (one working directory) or global.
dsh-ping Browser-side audio cues. A lower two-note chime (E5 → A5) when a session finishes, and two short high pings when a session needs input (approval, question, plan review). Sounds are synthesised with the Web Audio API, so no audio files ship. Per-browser settings under Settings → General.
dsh-opencode-go-usage An OpenCode Go subscription usage meter in the composer dock next to the context meter. Shows the monthly window by default; clicking opens a panel with the rolling 5-hour, weekly and monthly windows and their reset countdowns.
dsh-matrix A Matrix chat bridge. A message from a configured owner in a Matrix room becomes an ordinary DSH session in the same process (visible in the web UI, with the usual tools and presets), and the agent's final answer is posted back into the room — one session per room, turns serialised. Works with unencrypted rooms.

Layout

Each directory is a standalone package that can be used on its own:

dsh-memory/                 host-half plugin (tools + store + digest)
dsh-ping/                   dual-face plugin (host half + browser half)
dsh-opencode-go-usage/      dual-face plugin (host half + browser half)
dsh-matrix/                 host-half plugin (Matrix sync loop + session bridge)

Every package is plain ESM with peer dependencies only — there is no build step. Each ships a cordis.patch.yml that mounts its row, and a test/run.mjs suite.

Installing

Either overlay a patch at launch time (--patch is a launcher flag, so it must come before the app flags):

dsh --profile web --patch ./dsh-ping/cordis.patch.yml --no-open --port 3080

…or install it as a profile bundle, which applies the shipped patch automatically:

dsh plugin --profile web add link:./dsh-ping

Plugin rows are composed at boot, so a running DSH process picks up a new row only after a restart. dsh-memory and dsh-matrix additionally need their peer dependencies linked into your DSH installation — each ships a scripts/link-peers.sh that does that for a local, no-registry install.

See each plugin's README for its configuration options.

Secrets

No credentials are stored in this repository. Where a plugin needs a key (for example dsh-opencode-go-usage calling the OpenCode Go usage endpoint) it resolves it at runtime from an environment variable, then $DSH_HOME/.env, then .env in the current directory. Deploy-specific paths, hostnames and keys are deliberately not part of this repository.