Claude Code 式的 DeepSeek Harness 自动审批层
log-li/dsh-automode · 技能
Claude Code 式的 DeepSeek Harness 自动审批层:确定性规则 + 两级分类器、断路器、人工故障。
★ 4GitHub 星标
0分支
2026-09-08最近更新
JavaScript开发语言
MIT许可证
主要功能
- 确定性第一道防线 —— 正则 deny 频带在任何 LLM 调用之前硬拒外泄、密钥与系统路径
- 前缀 glob allow 规则零成本放行常规命令。
- 可交互版本docs/auto-mode-flow.zh.html —— 平移缩放、关系追踪、暗色模式。
- deny — 正则模式,硬拒绝。
- 首个匹配生效。
使用条件
- 仅在 macOS 上验证。
- 已针对 macOS 文件系统、DeepSeek Harness(DSH)运行时与开发时使用的 DSH 版本做过测试。
安装命令
dsh plugin --profile web add github:log-li/dsh-automode