GooDAnDReaDY/dsh-approval-gate ↗★ 0
@goodandready/dsh-approval-gate
拦截危险操作并请求授权的指令安全网关 适合需要防止执行高危命令、提升系统安全防护的宿主环境。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:GooDAnDReaDY/dsh-approval-gate说明文档
阅读完整 README ↗Configuration
Optional fields on the Cordis patch entry:
| Field | Type | Default | Meaning |
|---|---|---|---|
toolName | string | bash | Tool whose command argument is inspected |
fileWriteTools | string[] | write, edit, Write, Edit, str_replace, apply_patch | Tools classified by path |
Example Cordis patch configuration:
- insert:
- id: dsh-approval-gate name: @goodandready/dsh-approval-gate config: toolName: bash fileWriteTools: - write - edit - Write - Edit - str_replace - apply_patch