orangelightening/dsh-plugin-anti-rot0

dsh-plugin-anti-rot

dsh plugin: compresses verbose tool error payloads (drops stack frames, caps message lines) on the tools/post-execute waterfall before they reach model context.

AI 分析

核心用途是压缩冗长的工具报错信息以节省 Token。适合频繁遇到工具执行报错、希望精简上下文并防止模型被堆栈信息干扰的用户。

パッケージ
dsh-plugin-anti-rot
バージョン
1.0.0
ライセンス
MIT
最終更新
2026/08/17

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:orangelightening/dsh-plugin-anti-rot

ドキュメント

README 全文を読む ↗

Configuration

FieldTypeDescription
maxLinesnumberMaximum message lines kept in a compressed error payload. Must be a positive integer; load fails loudly otherwise.

Example entry in cordis.patch.yml:

- insert:
    - id: anti-rot
      name: dsh-plugin-anti-rot
      config:
        maxLines: 15