dsh-gpt-tool-compat
Run the following command in DeepSeek Harness:
dsh plugin install YoungUsing/dsh-gpt-tool-compat
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install YoungUsing/dsh-gpt-tool-compat in the DeepSeek Harness terminal to install this plugin. Source available at https://github.com/YoungUsing/dsh-gpt-tool-compat .
About this plugin
If you route GPT-family models (e.g. gpt-5.6-terra) through a third-party provider, you may hit a frustrating wall: the model attaches privilege-escalation parameters to every single tool call, and DSH parameter validation rejects them outright. The call never executes, you see errors like invalid justification or not strictly wider, and retrying changes nothing.
dsh-gpt-tool-compat exists to remove that friction. It registers a tools/pre-execute hook at the process-level root scope and does exactly one thing: before dispatch, it strips only the privilege parameters that are guaranteed to fail validation under any sandbox mode, restoring the call to the plain form the model actually intended. Calls that would have passed validation are left untouched; genuinely broader privilege requests (e.g. read-only → workspace-write with a valid justification) flow through and still go through real user approval. Any unexpected exception is caught and the original call is forwarded as-is—this layer never makes a situation worse.
If you run a DSH web profile, rely on pwsh, bash, or filesystem tool families daily, and keep getting blocked by third-party-routed model calls, dropping in this compatibility layer restores normal tool-call flow without compromising any real security approval mechanism.
Use Cases
- Third-party routed GPT model tool calls blocked by privilege parameter validation
- Sessions repeatedly failing with invalid justification or not strictly wider errors
- Fixing broken tool calls without altering normal execution or approval flow
Best For
- DSH users routing GPT-family models through third-party providers
- Web profile users relying on pwsh, bash, or filesystem tool families daily
- Developers whose tool calls keep failing validation and need a compat layer
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.