AI Agent Hub
Back to plugins
🖥️

dsh-copy-fix

Client Updated 2026.08.24

Run the following command in DeepSeek Harness:

dsh plugin install lhh666-6/dsh-copy-fix

Paste the following prompt into your AI chat to install this plugin:

In DeepSeek Harness, run dsh plugin install lhh666-6/dsh-copy-fix to install this plugin; source available at https://github.com/lhh666-6/dsh-copy-fix

About this plugin

DSH Desktop runs its renderer inside a sandbox, and on some operating systems or under corporate security policies the browser Clipboard API simply rejects programmatic writes. The visible symptom is that every copy button on the interface appears dead, yet the real cause is the sandbox blocking the clipboard channel outright. dsh-copy-fix is a DSH profile plugin built to fix exactly this pain point.

The plugin establishes a multi-level fallback write chain. It first attempts the standard navigator.clipboard.writeText call; if that fails, the text is POSTed to a plugin-owned loopback route where the Electron main process writes directly to the system-level clipboard; and as a last resort it falls back to document.execCommand('copy'). These three layers guarantee that a copy operation actually lands under the vast majority of desktop environments.

If you are using DSH Desktop and keep running into non-functional copy buttons that force you to manually select and copy text, installing this plugin removes the clipboard compatibility headache once and for all.

Use Cases

  • Copy buttons in DSH Desktop appear completely unresponsive
  • Corporate security policies block programmatic Clipboard API writes
  • navigator.clipboard calls are rejected inside sandboxed renderers

Best For

  • DSH Desktop users who frequently hit non-functional copy buttons
  • Desktop app users working under corporate sandbox policies that restrict clipboard access
  • Developers extending desktop capabilities through the DSH plugin system