Plugin directory / Developer / dsh-copy-fix
dsh-copy-fix
Unverified lhh666-6
What it does
Fix DSH Desktop copy buttons by bridging clipboard writes to the Electron main process.
Unverified — not yet verified
Fix DSH Desktop copy buttons by bridging clipboard writes to the Electron main process. Not yet verified — install and test it yourself.
“Unverified” means our automated CI has not yet installed this plugin. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
dsh-copy-fix
GitHub: https://github.com/lhh666-6/dsh-copy-fix
npm:
dsh-copy-fix
A profile plugin for DSH that makes the built-in copy buttons work inside the packaged DSH Desktop Electron app.
Why
The DSH Desktop renderer is sandboxed. In some environments the browser Clipboard API is rejected for programmatic writes, so every copy button appears to do nothing. This plugin:
- Wraps
navigator.clipboard.writeText. - First tries the native browser write.
- Then POSTs the text to a plugin-owned loopback route.
- The Host side writes it through Electron's main-process clipboard.
- Finally falls back to
document.execCommand('copy').
Install in a profile
# npm (recommended, prebuilt)
dsh plugin --profile desktop add dsh-copy-fix
dsh plugin --profile web add dsh-copy-fix
# or directly from GitHub
dsh plugin --profile desktop add github:lhh666-6/dsh-copy-fix
dsh plugin --profile web add github:lhh666-6/dsh-copy-fix
Then restart DSH Desktop.
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-copy-fix for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:lhh666-6/dsh-copy-fix Headless (CLI) profile:
dsh plugin --profile headless add github:lhh666-6/dsh-copy-fix Test report
Not yet L3-verified — see failure note below if we already ran it.
2026-08-27 · flagged webonly Note: 验证: web-only;待 L4 web CDP;L4 web CDP runtime-fail on dsh 0.1.0-rc.8. Browse all pending failures →