Hanihahaha/dsh-sandbox-argument-normalizer

A DSH host plugin that removes invalid sandbox_permissions and justification arguments before native tool dispatch. Some models or OpenAI-compatible gateways include every advertised optional argument in ordinary pwsh, write or edit calls; this plugin strips those that do not apply so the call reaches the native tool with valid arguments.

uncategorized ★ 0 updated 2026-08-17
View on GitHub ↗

Install

dsh plugin --profile web add ".\dsh-sandbox-argument-normalizer"

README install, run from the repository root, followed by a dsh web restart. The package is linked from the current workspace into the selected profile.

Compatibility

DSH web profile (host plugin). Windows is the primary target (README install uses a PowerShell-style relative path).

Details

Recent updates

README frames the fix as argument normalisation at the dispatch seam — it removes only the invalid optional arguments rather than rewriting the model's call.

FAQ

How do I install dsh-sandbox-argument-normalizer?
From the repository root run: dsh plugin --profile web add ".\dsh-sandbox-argument-normalizer", then restart dsh web.
What problem does it solve?
Some models or OpenAI-compatible gateways send every advertised optional argument on ordinary pwsh/write/edit calls; the plugin removes invalid sandbox_permissions and justification arguments before native tool dispatch.
Does it change my prompts or tool results?
No — it only normalises the argument set on the way to dispatch, removing arguments that are not valid for that tool.

More plugins in uncategorized

Browse more in uncategorized

Guides for uncategorized plugins