Hanihahaha/dsh-sandbox-argument-normalizer

Hanihahaha★ 0JavaScriptLast synced: 2026-08-17

Open on GitHub

README excerpt

dsh-sandbox-argument-normalizer 中文 A DeepSeek Harness host plugin that removes invalid sandbox permissions and justification arguments before native tool dispatch. Install Restart dsh web after installation. Problem Solved Some models or OpenAI-compatible gateways include every advertised optional argument in ordinary pwsh , write , or edit calls. When the injected sandbox permissions equals the session's current mode, or is narrower, DSH correctly rejects the call before it runs with an error such as: The same failure occurs in a danger-full-access session when the model still sends either advertised escalation mode. This is not a real sandbox denial; the session already has sufficient access, but the invalid escalation fields prevent the intended tool call from executing. It only removes a request when it is not strictly wider than the calling session's effective sandbox mode. Valid escalation requests remain unchanged and continue through DSH's normal approval flow. Examples: - workspace-write session + sandbox permissions: workspace-write : removed. - danger-full-access session + either advertised mode: removed. - read-only session + sandbox permissions: workspace-write : prese…

View full README on GitHub →
Tools / Devdshdsh-plugin

Category