Sharl210/dsh-strip-sandbox-permissions
Sharl210★ 0JavaScript最后同步: 2026-08-21
Strip sandbox_permissions/justification from model tool-call arguments to avoid false sandbox escalation errors
README 摘要
dsh-strip-sandbox-permissions A zero-dependency DeepSeek Harness (DSH) plugin that ignores sandbox permissions / justification fields carried in model tool-call arguments, preventing false sandbox escalation rejections. Problem Some models (a post-training tendency) automatically attach sandbox permissions (and its companion justification ) to tool calls. When the session already runs with sufficient permission (for example full access), carrying a non-strictly-wider value triggers a false rejection from the DSH sandbox: How it works Every model tool call flows through the llm/stream waterfall, so this is the single interception point that covers every adapter. Adapters emit a block-end chunk carrying the fully assembled tool-call block at the end of the stream. This plugin rewrites that block: it parses the arguments object, deletes the top-level sandbox permissions / justification keys, and re-serializes. Session logs and replay both see the cleaned arguments, so nothing downstream disagrees. Only those two escalation-specific keys are stripped; every other argument is preserved verbatim. A new block is produced only when one of the keys actually exists — otherwise the original b…
在 GitHub 查看完整 README →分类
DeepSeek Harness: Everything is a Plugin.
★ 182,325
amruthpillai/reactive-resumeA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 41,477
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 17,784