返回目录
模型与 MCP 插件

dsh-cursor-modes

YukimuraSol/dsh-cursor-modes

a deepseek harness plugin enabling cursor-like mode-switchers

Stars
0
Forks
0
Issues
0
更新
6 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:YukimuraSol/dsh-cursor-modes

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

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 — in plan mode, before subagent or send_message runs, 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. It stays off until the plugin config sets gate.enabled.
  • Two gate backends — llm (the default) asks the session's own model and needs no credential; jev asks a dedicated decision model at gate.baseUrl with its own credential (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.
  • Multitask mode — a delegation mode: everything that needs a tool or an edit goes to a background worker, the foreground only answers, dispatches and reports back. There is no call quota to run out of.
  • Checklist handover — subagent and subagent_fork take a todos argument, and the child is told its starting checklist exactly once, in its first turn.
  • list_running_agent — a small companion to list_agents that lists only the children still running, so a parent with many finished children keeps a short answer.

What's new in 0.2.1

  • The approved checklist reaches the model once, as the opening notice of the turn the build starts — not as a per-step mirror of the UI's todo state. An unchanged list costs nothing; a changed one is a normal todo_write, not a new injected snapshot.
  • list_running_agent is registered by this plugin. It used to be patched into @deepseek-ai/dsh-tool-subagent-control, which any upgrade would have silently removed.

Install

From the Web UI — Settings → Plugins → Add plugin, and paste either:

github:YukimuraSol/dsh-cursor-modes

or the package name once it is on npm.

From the CLI

dsh plugin --profile <your-profile> add github: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

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。