READMESource: main@6e6631e2
agentdiary for DeepSeek Harness
Your agents keep a diary — in your own git repo.
A DeepSeek Harness plugin that subscribes to the durable session/event stream and appends one diary entry per settled event into a local git repository you own:
sessions/2026-11/2026-11-12-<node>.md # append-only, one file per node per day
- Git-native — no server, no cloud, no lock-in; the repo is yours (GitHub/Gitea/bare, anything).
- Zero-dependency core — the diary writer is pure Node (
fs+git). - Bilingual display metadata (en/zh).
Sibling of the agentdiary CLI (personal agent diary across machines) and dsh-super-agent (admission control & trust ladder for any CLI agent).
Install
From the plugin market (Settings → Plugin Market), or:
dsh plugin add dsh-agentdiary-plugin
Configure
| Option | Meaning | Default |
|---|---|---|
repo |
absolute path to your diary git repo (created if missing) | — (plugin disabled when empty) |
node |
this machine's short name in the diary | dsh-host |
commitEveryEntry |
commit+push after every entry vs on session end | false |
Verification checklist (maintainer)
- Exact
session/eventCordis signature RESOLVED 2026-11-12 (verified against dsh-loopx-plugin observer + live boot):ctx.on('session/event', (session, event))— event is the SECOND arg;inject: [];Configmust be a schemasterySchema.object; profile layer requires adsh.bundle.patchmanifest. Both entries activate clean in a headless boot. - Live smoke under Node ≥22.22.3: load plugin, run one session, check the day file appears and commits.
- dsh-plugin.org submission: this repo is public with the
dsh-plugintopic; npm publish after (1)+(2) pass.
License
MIT
No comments yet. Be the first to write one.