YaoaY/dsh-gpt-compat0

dsh-gpt-compat

Fail-closed DSH compatibility guard for redundant GPT/Codex sandbox escalation arguments

包名
dsh-gpt-compat
版本
0.2.0
许可证
MIT
最近更新
2026年8月18日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:YaoaY/dsh-gpt-compat

使用效果

  使用前:冗余参数导致工具调用反复失败
  使用后:工具按当前沙箱策略正常执行




  

使用插件前,工具调用因冗余沙箱提权参数反复失败

使用插件后,工具调用按当前沙箱策略正常执行

配置

默认 bundle 配置:

providers: ["*"]
tools: ["bash", "pwsh", "write", "edit"]
字段类型默认值含义
providersstring[][]允许处理的 provider id。空数组停用插件;显式 '*' 表示所有 provider。
toolsstring[]['bash', 'pwsh', 'write', 'edit']允许处理的 DSH 原生提权工具名。空数组停用插件。

通过 profile 或 home 级 cordis.patch.yml 覆盖时,需要重述完整配置:

- id: gpt-compat
  config:
    providers: ["your-gpt-provider"]
    tools: ["bash", "write", "edit"]