a1140314368/dsh-auto-mode

a1140314368★ 0JavaScript最后同步: 2026-08-14

在 GitHub 打开

DSH auto-mode: LLM-based safety interceptor (allow/deny/ask) for dangerous tool calls, as a selectable permission preset

README 摘要

Auto 模式(Auto Mode) 在 DeepSeek Harness(DSH)中实现 Claude Code「auto 模式」的等价能力。 目录结构 路径 说明 NOTES.md 工作笔记 / 记忆沉淀 :调研结论、设计决策、进度。每次进展都应追加到这里,避免依赖对话上下文。 dsh-auto-mode/ 拦截器插件包( package.json / lib/index.js / lib/types/index.d.ts / README.md ) config/cordis.patch.yml 权限预设注册( auto )+ 插件行,需合并进 /.dsh/profiles/web/cordis.patch.yml config/activation.md 激活步骤(合并补丁 + 安装 + 重启 + 验证) auto-mode-brief.md 原始任务简报( 最初版,仅作记录存档,不作为实际参考 ) 一句话目标 危险工具调用执行前用 LLM 判断并拦截(allow/deny/ask),并作为一个可选模式接入 DSH 的 权限预设选择器 ,让用户在 UI 里选中 Auto 。 快速开始 1. 读 NOTES.md 了解现状与决策。 2. 读 dsh-auto-mode/README.md 了解插件行为与诚实边界。 3. 按 config/activation.md 激活(需要重启 DSH 服务进程)。 社区收录 本项目以 dsh-plugin 话题发布,便于被 awesome-dsh-plugin 等 DSH 社区插件目录收录与发现。注意:除 README 外,还需在 GitHub 仓库的 About → Topics 中添加 dsh-plugin ,自动发现型目录(如 awesome-dsh-plugins 雷达)才能检索到。

在 GitHub 查看完整 README →
工具/开发dsh-plugin

分类