chengyimingvb/dsh-silent-pwsh

chengyimingvb★ 0JavaScriptLast synced: 2026-08-15

Open on GitHub

可以禁止DeepSeek-Harness执行任务的时候弹出烦人的黑色弹窗

README excerpt

dsh-silent-pwsh A DeepSeek-Harness plugin for Windows that makes sandboxed (confined) pwsh / bash calls spawn their console window hidden ( SW HIDE ) — no black console window flashes on every command. Problem Every sandboxed pwsh call in DeepSeek-Harness runs through the windows-acl runner ( dsh-sandbox-windows-acl/lib/runner.js ), which spawns the confined child with a fresh console window unless STARTF USESHOWWINDOW SW HIDE is set in the child's STARTUPINFOW . The shipped package omits it, so every confined command flashes a black console window on the desktop. ( CREATE NO WINDOW is not an option: under the restricted token it makes the child die with STATUS DLL INIT FAILED ( 0xC0000142 ) — verified by the DSH maintainers. SW HIDE keeps the console alive and simply never shows it.) Two related flashes are also fixed: the process-tree taskkill termination and the one-time sandbox capability probe, whose spawns lacked windowsHide . How it works DSH's plugin model is loader-config patches plus Cordis plugins; no config seam can change those native spawn flags. So this plugin is a self-healing patch plugin : on every host start (before any confined command runs) it idempotently chec…

View full README on GitHub →
Tools / Devdeepseekdeepseek-harnessdshdsh-pluginpowershellsandboxwindows

Category