dsh-copy-fix
Manifest validFix DSH Desktop copy buttons by bridging clipboard writes to the Electron main process.
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.
Comments
Loading…
Similar plugins
by zmm863-commits
DSH Web GUI paperclip button: a 📎 button in the composer opens a file picker (drag & drop supported) and inserts file contents into the textarea.
★ 4
↓ 546/wk
MIT
TypeScript
Oct 4, 2026
dsh plugin --profile web add dsh-paperclipby StabCut
DSH Desktop sidebar restart button: orderly relaunch of DSH Desktop from the sidebar settings row (based on desktopActions.requestRestart).
★ 0
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-plugin-restart-desktopby CaT-Hode
Windows desktop plugin for DeepSeek Harness — shared Web sessions and plugins, startup logs and update recovery. DSH 桌面插件:共用 Web 对话与插件。
★ 0
MIT
JavaScript
Sep 28, 2026
dsh plugin --profile web add dsh-appby wyzh0117
Sidebar notebook with titled notes and inline images (videos rejected); click a title to copy its body to the clipboard, reference a note in the composer with @, and optionally open the notebook for e
★ 0
MIT
TypeScript
Sep 16, 2026
dsh plugin --profile web add dsh-notebookby lhh666-6
Paste/drop files into the DSH composer, save them under the current workspace, and insert relative paths.
★ 0
MIT
TypeScript
Aug 23, 2026
dsh plugin --profile web add dsh-paste-filesby JohnXu22786
dsh plugin: desktop control - screen capture, pointer/keyboard injection, accessibility-tree semantic actions, with emergency stop, allow/deny rules, confirmation flow and idle standby
★ 0
MIT
Python
Sep 29, 2026
dsh plugin --profile web add dsh-computer-control