TingRuDeng/dsh-smart-approval0

dsh-smart-approval

用于 DeepSeek Harness 的故障自闭合(Fail-closed)LLM 辅助审批评审插件。

AI 分析

核心用途是利用大模型辅助评估沙箱指令的安全性并进行智能审批。适合需要自动化执行命令但又要求高安全防范(默认拒绝)的用户。

套件
dsh-smart-approval
版本
0.1.0-rc.6
授權
MIT
最近更新
2026年8月16日

安裝

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

Configuration

The current session route performs review by default. To use an independent route, override the plugin row in the profile's cordis.patch.yml:

- id: smart-approval
  config:
    defaultMode: smart
    reviewerProvider: your-provider-route
    reviewerModel: your-model-id
    timeoutMs: 15000
    maxTokens: 128

reviewerProvider and reviewerModel must be configured together.

FieldDefaultPurpose
defaultModesmartNew-session mode: manual, smart, or unattended
reviewerProvider / reviewerModelCurrent session routeOptional independent reviewer route; configure as a pair
timeoutMs15000Hard deadline for the complete review call
maxTokens128Maximum reviewer output
maxToolArgumentChars12000Tool-argument limit; overflow fails closed without truncation
maxUserMessages4Current plus recent direct-user message limit; older history is omitted explicitly
maxUserContextChars8000User-context limit; the current turn is never truncated, while older history may be omitted explicitly

The bundle does not override the permission row, so it does not replace a profile's existing permission presets.