dsh-autonomy-ro

DeepSeek Harness 的 Chat | Agent 开关插件,基于 dsh-autonomy 0.1.5(MIT)改造,只改一处行为:Chat 模式保留「读」的一半工具面(read、read_image、glob、grep、web_search、web_fetch、skill 与会话记忆只读工具),write、edit、pwsh 等一切会改动东西的工具一律拒绝;Agent 模式恢复全部工具。三道闸同时生效:下发给模型的工具清单先过滤,执行期 guard 再拒绝白名单外的调用,系统提示词里说明当前模式允许什么。模式按会话记录,刷新、重启、恢复后仍然有效。

插件介绍

DeepSeek Harness 的 Chat | Agent 开关插件,基于 dsh-autonomy 0.1.5(MIT)改造,只改一处行为:Chat 模式保留「读」的一半工具面(read、read_image、glob、grep、web_search、web_fetch、skill 与会话记忆只读工具),write、edit、pwsh 等一切会改动东西的工具一律拒绝;Agent 模式恢复全部工具。三道闸同时生效:下发给模型的工具清单先过滤,执行期 guard 再拒绝白名单外的调用,系统提示词里说明当前模式允许什么。模式按会话记录,刷新、重启、恢复后仍然有效。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:2251702615q-png/dsh-autonomy-ro

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。