YukimuraSol/dsh-cursor-modes ↗★ 0

dsh-cursor-modes

Cursor-like mode switchers and a delegation gate for DeepSeek Harness: plan/execute modes, a judge-backed gate before delegating work, and per-mode tool policy.

包名
dsh-cursor-modes
兼容性
待验证
Harness 依赖范围
^0.2.0-rc.2
Cordis 依赖范围
^4.0.2
版本
0.2.0
许可证
MIT
最近更新
2026年10月28日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:YukimuraSol/dsh-cursor-modes

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  add https://github.com/YukimuraSol/dsh-cursor-modes

Restart the instance afterwards — the Host half loads at boot.

Requirements

  • DeepSeek Harness with a web profile (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