wsm000/dsh-sandbox-temp-guard ↗★ 0
dsh-sandbox-temp-guard
Self-healing guard for the DeepSeek Harness Windows ACL sandbox: recreates the per-session private temp directory when OS temp cleanup removes it, and annotates backend-unavailable failures so agents stop escalating permissions. Stopgap for deepseek-ai/deepseek-harness Discussion #8550. 适合在Windows上遇到沙箱临时目录被系统清理导致报错的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wsm000/dsh-sandbox-temp-guard配置(cordis.patch.yml)
| 键 | 默认 | 说明 |
|---|---|---|
repairBeforeToolExecution | true | 每次工具执行前扫一遍并修复 |
sweepIntervalMs | 60000 | 周期兜底扫描间隔,0 关闭 |
annotateBackendFailure | true | 对后端失败结果追加排查指引 |