DSH 声明式权限规则
PerryLink/dsh-permission-rules · 技能
Claude Code 风格的 DeepSeek Harness 声明式权限规则:有序允许/拒绝/询问规则,其中包含工具名称、参数(glob/regex)以及工具/预执行瀑布、会话日志审核和 HMR 重新加载上的工作空间路径匹配。
★ 113GitHub 星标
2分支
2026-08-23最近更新
TypeScript开发语言
Apache-2.0许可证
主要功能
- DeepSeek Harness 的 Claude Code 风格声明式权限规则。
- 规则的 reason 成为模型可见的错误。
- 动作 —— allow / deny / ask,按文件顺序求值,首个命中胜出。
- deny-all —— 只读沙箱预设阻断所有出站。
- 规则裁决已知的。
使用条件
- SurfacePlatforms · Status: 全部(host + Web 设置客户端)
安装命令
dsh plugin --profile web add github:PerryLink/dsh-permission-rules