ang-XWBWZ/dsh-approval-ai ↗★ 2

@llangtop/dsh-approval-ai

使用统一LLM路由进行本地策略检查的AI审批答复器 适合需要对审批请求进行本地安全策略评估与自动/人工审核决策的用户。

套件
@llangtop/dsh-approval-ai
相容性
待驗證
Harness 依賴範圍
^0.1.0-rc.6
Cordis 依賴範圍
^4.0.1
版本
0.1.0-rc.7
授權
MIT
最近更新
2026年8月14日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ang-XWBWZ/dsh-approval-ai

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.