icyaaaww/dsh-tool-failure-circuit-breaker0

dsh-tool-failure-circuit-breaker

阻止重复且相同的失败工具调用的 DeepSeek Harness 插件。

AI 分析

核心用途是作为工具调用的熔断器,防止 Agent 陷入重复失败的死循环。适合需要频繁调用外部工具、且希望通过限制连续失败次数来节省 Token 消耗的自动化任务。

套件
dsh-tool-failure-circuit-breaker
版本
0.1.0
授權
MIT
最近更新
2026年8月24日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:icyaaaww/dsh-tool-failure-circuit-breaker

Configuration

The included bundle inserts this row:

- id: tool-failure-circuit-breaker
  name: dsh-tool-failure-circuit-breaker
  config:
    maxFailures: 2
    include: []
    exclude: []
    errorPreviewChars: 300
  • maxFailures: completed identical failures allowed before the next attempt is denied. Default: 2.
  • include: * wildcard tool-name patterns to guard. Empty guards every tool.
  • exclude: * wildcard tool-name patterns that bypass the guard.
  • errorPreviewChars: maximum characters from the latest failure repeated in the denial. Default: 300.

Use exclude for tools whose intended contract requires unchanged polling calls.