dsh-claw-gate
Manifest validClaw/session permission gate and audit for DeepSeek Harness. 拦截、审批、审计。
dsh-agent-gate · 权限闸
按分层权限拦截工具(tools/pre-execute + tools.guard),需要时走官方一次性审批,并在 ~/.dsh/agent-gate/audit.jsonl 记一笔。Claw 会话的官方沙箱由 dsh-session-permissions 钉成 read-only / workspace-write。设置里有 审计 页:按时间、结果、工具类型、Claw Agent 筛选,并可导出当前筛选结果。
Agent 技能拒绝名单会从该会话的官方技能目录和 / 选单里拿掉,不只拦 skill 工具。未授权的 MCP 服务同样会拒绝,并在会话开始时从模型可见工具里拿掉。
策略计算复用同目录的 dsh-session-permissions(官方 ∩ Agent ∩ 会话)。闸只拦 Claw 会话;工作区会话只走官方权限。闸可以单独卸:拦截会停,官方文件沙箱只要权限插件还在就会继续钉。
安装
dsh plugin --profile web add github:xingyingyuzhui/dsh-agent-gate
建议同时安装 dsh-session-permissions。装完重启 dsh web。
本地开发:
dsh plugin --profile web add link:/abs/path/to/dsh-agent-gate
卸载
dsh plugin --profile web remove dsh-agent-gate
卸掉后不再拦截新调用。官方文件沙箱由权限插件继续钉,不会因为卸闸而变宽。
License
MIT
Comments
Loading…
Similar plugins
by xingyingyuzhui
Layered session permissions for DeepSeek Harness. 官方 ∩ Agent ∩ 本会话。
★ 0
MIT
JavaScript
Oct 10, 2026
dsh plugin --profile web add dsh-session-permissionsby GooDAnDReaDY
Native command approval gate for DeepSeek Harness.
★ 0
MIT
JavaScript
Oct 22, 2026
dsh plugin --profile web add @goodandready/dsh-approval-gateby xiangnan0811
DeepSeek Harness plugin for ClinePass: models, API key, and usage limits.
★ 0
MIT
JavaScript
Oct 30, 2026
dsh plugin --profile web add dsh-clinepassby xingyingyuzhui
Claw persistent memory for DeepSeek Harness. 金库、日记、回顾、压缩前冲洗。
★ 0
MIT
JavaScript
Oct 10, 2026
dsh plugin --profile web add dsh-agent-memoryby xingyingyuzhui
Claw identity files for DeepSeek Harness. 把 SOUL / AGENTS 等人设打进提示词。
★ 0
MIT
JavaScript
Oct 10, 2026
dsh plugin --profile web add dsh-agent-identityby xingyingyuzhui
Claw persistent memory for DeepSeek Harness. 金库、日记、回顾、压缩前冲洗。
★ 0
MIT
JavaScript
Sep 15, 2026
dsh plugin --profile web add dsh-agent-memory