orangelightening/dsh-plugin-anti-rot ↗★ 0
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.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:orangelightening/dsh-plugin-anti-rot说明文档
阅读完整 README ↗Configuration
| Field | Type | Description |
|---|---|---|
maxLines | number | Maximum 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