d![]()
dsh-cursor-modes
Identifieda deepseek harness plugin enabling cursor-like mode-switchers
dsh-cursor-modes
Cursor-like mode switching for DeepSeek Harness — plan / execute modes, a judge-backed delegation gate, and per-mode tool policy, all driven from the Web UI.
What it does
- Mode switchers — switch the session between plan-style and execute-style modes without editing config.
- Delegation gate — before a subagent is dispatched, a judge decides whether the task is read-only or not, and either allows it or blocks it. Fail-closed: a judge that cannot answer blocks the dispatch.
- Two gate backends — follow the current session model, or point at a dedicated decision model (e.g. a local gateway).
- Plan mode — persistent plan cards with an execution checklist.
- Per-mode tool policy — the tool catalog changes with the mode; prompts are kept stable for request-cache reuse.
Install
From the Web UI — Settings → Plugins → Add plugin, and paste either:
https://github.com/YukimuraSol/dsh-cursor-modes
or the package name, if you installed it from npm.
From the CLI
dsh plugin --profile <your-profile> add https://github.com/YukimuraSol/dsh-cursor-modes
Restart the instance afterwards — the Host half loads at boot.
Requirements
- DeepSeek Harness with a
webprofile (the client half is a Web UI plugin). - Node 20+.
The @deepseek-ai/* packages are supplied by the DSH installation itself and are declared as optional peers, so no second copy is installed.
Notes
- The gate is fail-closed by design: if the judge is unreachable or answers ambiguously, the dispatch is blocked rather than allowed.
- The gate stores its connection settings (model id, base URL, key) in the plugin config. The key is never echoed back to the UI.
License
MIT
Comments
Loading…