dsh-silent-pwsh
Run the following command in DeepSeek Harness:
dsh plugin install chengyimingvb/dsh-silent-pwsh
Paste the following prompt into your AI chat to install this plugin:
Fetch the source from https://github.com/chengyimingvb/dsh-silent-pwsh, install the plugin following the README, then restart DeepSeek Harness to activate it.
About this plugin
When running sandboxed pwsh or bash commands through the DeepSeek Harness desktop app on Windows, each call briefly flashes a black console window on the desktop—frequent enough to be genuinely annoying. The root cause is that the runner never sets SW_HIDE on the confined child process, while CREATE_NO_WINDOW simply crashes the child with 0xC0000142 under the restricted token. dsh-silent-pwsh exists to solve exactly this: it changes no configuration and alters no behavior—it just hides the window so commands run to completion with correct exit codes.
The plugin uses a self-healing patch strategy: on every host boot it idempotently checks and rewrites three critical files: it adds STARTF_USESHOWWINDOW and wShowWindow: 0 to the encodeStartupInfo calls in sandbox-windows-acl, and adds windowsHide: true to the taskkill and sandbox capability-probe spawnSync calls. Files are only rewritten when they match the expected pre-patch shape; after an upgrade or reinstall the patch is automatically re-applied on the next boot with no manual intervention required.
If you are on the Windows version of DeepSeek Harness desktop and the repeatedly flashing black console windows keep breaking your workflow, install this plugin and restart. From then on, every sandboxed command runs silently in the background.
Use Cases
- Eliminates the repeated black console flash on every sandboxed pwsh or bash invocation
- Auto-reapplies the SW_HIDE patch after reinstalls or upgrades with no manual steps
- Hides the console window safely under a restricted token without the 0xC0000142 crash
Best For
- Windows DeepSeek Harness desktop users who run sandboxed commands frequently
- Developers whose workflow is disrupted by the recurring console window flash
- Automation pipelines that need silent pwsh / bash execution under a restricted token
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.