dsh-clipboard-history
Run the following command in DeepSeek Harness:
dsh plugin install kuangre123/dsh-clipboard-history
Paste the following prompt into your AI chat to install this plugin:
Install this plugin in DeepSeek Harness by running dsh plugin install kuangre123/dsh-clipboard-history; the source is available at https://github.com/kuangre123/dsh-clipboard-history — restart dsh web after installation to load it.
About this plugin
The system clipboard holds only one entry at a time, so earlier copies vanish the moment something new is pasted. dsh-clipboard-history polls the system clipboard in the background (pbpaste on macOS, xclip on Linux, PowerShell on Windows) and persists every text change into a local JSON file, giving the agent a genuinely recallable clipboard memory. It runs inside the host process, so it can read the logged-in user's pasteboard without any native addon, and history survives restarts.
The plugin exposes five agent-facing tools: list recent entries with id, timestamp, size, and a short preview; recall the full text of a specific entry by id; read the live clipboard content at any moment; write text to the system clipboard while automatically recording it; and clear the stored history without touching the current clipboard. Together these let an agent reference text a user copied moments ago in an earlier turn, rather than relying on repeated manual pasting.
It suits developers who work with dsh agents for code review, document assembly, or cross-window collaboration. Note that it is text-only: image and file clipboard items are ignored because they read as empty text. macOS is the primary target; Linux requires xclip, and Windows relies on PowerShell.
Use Cases
- User copied a code snippet earlier and the agent recalls the full text by id mid-conversation
- In multi-window workflows the agent lists recent clipboard entries so the user can confirm what was last copied
- Agent writes its generated output to the system clipboard and records it in history for instant pasting
Best For
- Developers who use dsh agents daily for code review and document assembly
- Cross-platform users who switch text between multiple applications frequently
- Automation users who want the agent to retain context without repeated manual pasting
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.