Habits editor for DeepSeek Harness
DimitriLIAN/dsh-habits · productivity
Habits editor for DeepSeek Harness — edit the user-global AGENTS.md from Web settings, injected into every session.
★ 2GitHub stars
0Forks
2026-08-15Last updated
TypeScriptLanguage
MITLicense
Key features
- A DeepSeek Harness (DSH) plugin that adds a My Habits editor to the Web settings → General section.
- build = host tsc + client tsc (declarations) + tsdown (the __ModuleLoader__.load client bundle).
- The text you save goes to the user-global instruction document $DSH_HOME/AGENTS.md, which the built-in dsh-agent-instructions loader already injects into every session — so your preferences and habits reach the model automatically.
- No DSH core is modifiedthe host half registers a small REST surface on ctx.webServer (/api2/habits/describe + /api2/habits/update), and the browser half registers a settings.general.item row that calls it.
- This is the same standalone-bundle pattern as dsh-web-plugin-manager.
Requirements
- Applies to new sessions — dsh-agent-instructions refreshes on the next successful read/write/edit touch, on resume, or when a shadowed baseline re-enters
- a mid-conversation save does not rewrite an already-running session immediately.
Install command
dsh plugin --profile web add github:DimitriLIAN/dsh-habits