ang-XWBWZ/dsh-approval-ai ↗★ 2
@llangtop/dsh-approval-ai
使用统一LLM路由进行本地策略检查的AI审批答复器 适合需要对审批请求进行本地安全策略评估与自动/人工审核决策的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ang-XWBWZ/dsh-approval-ai说明文档
阅读完整 README ↗Configuration
- id: approval-ai
name: '@llangtop/dsh-approval-ai'
config:
provider: deepseek-official
model: deepseek-v4-flash
mode: ai-only
currentPath: /workspace/project
projectArchitecture: 'Configuration-supplied summary; the plugin never reads project files.'
implementationArchitecture: 'Approval policy plugin over approval/request and ctx.llm.'
agentsMd: 'Configuration-supplied guidance; the plugin never reads AGENTS.md.'
securityApprovalPrompt: 'Assess only this approval request; do not read files or call tools.'
timeoutMs: 3000
failClosed: true
mode is ai-only, ai-then-human, or human-only. The plugin receives every approval request that reaches its listener; it does not decide whether an approval request should exist. human-only delegates every request. ai-only maps valid allow assessments to allowed-once; deny, high/critical risk, review, malformed output, missing routes, cancellation, timeout, and provider errors fail closed. ai-then-human maps review to the configured reviewOutcome because listener order is not a priority mechanism.