782042369/dsh-model-compat-guard0

dsh-model-compat-guard

DSH compatibility guard: repairs auto-compaction failures for GPT/reasoning models (raises the summary token cap and lowers reasoning effort on purpose=compaction requests), strips doomed sandbox-escalation requests, and auto-fills the required tool-call 'description' argument other models often omit

包名
dsh-model-compat-guard
版本
0.2.0
许可证
MIT
最近更新
2026年9月1日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:782042369/dsh-model-compat-guard

配置(可选)

~/.dsh/compat-guard.json

{
  "compactionMaxTokens": 32768,
  "compactionEffort": "auto",
  "compactionStripTools": false,
  "compactionPurposes": ["compaction"],
  "fillDescription": true,
  "stripEscalation": "redundant",
  "logFixes": true
}
  • compactionEffort"auto"(最便宜档)/ "keep"(不动)/ 具体档位 id。
  • compactionStripTools:true 时压缩请求去掉 tools 列表(防模型压缩时调工具,代价是丢前缀 KV cache)。
  • cordis 插件 config 传入的同名字段优先于该文件。