JinkaiLiu/dsh-autonomy
Adds a Chat / Agent switch above the DeepSeek Harness composer, so you can talk a plan through in Chat and flip to Agent in the same session without losing your draft.
Adds a Chat | Agent control above the input, also reachable as /autonomy chat and /autonomy agent. Chat mode removes every tool definition from the final model request, including DSH's reserved Code Mode tool, and rejects tool calls at execution time, while a short system instruction tells the model to answer directly and suggest switching when a task needs action; Agent mode restores the normal tools and loop. Every successful switch is written to DSH's built-in session command log, which both the web control and the host read back, so each session remembers its own mode across page refreshes, restarts and resumes, with a fork inheriting the mode from its history. Switching mid-turn applies to tool calls that have not yet passed the execution check, and a tool that already started is allowed to finish. Default mode and the guidance/denial messages are configurable through the installed autonomy entry in cordis.patch.yml. The plugin keeps no separate database and makes no network requests.
Install
dsh plugin --profile web add dsh-autonomyCopied verbatim from the README's Quick start; that block prefixes the command with npx @deepseek-ai/dsh and the README notes a global dsh install is optional. package dsh-autonomy, registry latest 0.1.5, and its repository field resolves back to github.com/JinkaiLiu/dsh-autonomy. The plugin must go into the web profile and DSH Web has to be restarted.
Compatibility
For 0.1.5 the development baseline is DSH 0.2.0-rc.2, with 0.2.1-rc.2, 0.2.1-alpha.1 and 0.2.1-alpha.5 also supported; supported versions are declared through engines.dsh. CI also covers 0.1.0-rc.6, 0.1.0-rc.7, 0.1.1-rc.2, 0.1.2-rc.1, 0.1.7-alpha.2 and 0.1.7-rc.2, and a scheduled job checks the versions published under DSH's latest, next and alpha tags. Node.js ^22.19.0 or >=24.0.0.
Details
- Repo: JinkaiLiu/dsh-autonomy
- Category: Sessions & Messages
- Stars: 3
- Version: 3 stars, TypeScript, MIT, created 2026-08-16; install source is npm (dsh-autonomy, latest 0.1.5, registry repository field resolves back to this repo); English README with a README.zh.md translation.
Alternatives
Snow-ea/dsh-token-optimizer · beijingwahw/dsh-companion · YeqingTang/dsh-session-flow