dshbase

插件目录 / Developer / dsh-clipboard-history

dsh-clipboard-history

未验证 kuangre123

✓ 持续维护 基于 2 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
语言
2026-08-19最近推送
跨平台平台

功能简介

Developer 类别的 DeepSeek Harness 插件。

我们的评价
未验证 — 尚未实测

Developer 类别的 DeepSeek Harness 插件。 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

dsh-clipboard-history

English | 中文

A DeepSeek Harness (dsh)
plugin that monitors the system clipboard and keeps a recallable history of
multiple clipboard entries.

What it does

  • Monitors the system clipboard in the background (polling pbpaste on
    macOS, xclip on Linux, PowerShell on Windows) and records every text
    change into a persisted history file.
  • Persists history across restarts at $DSH_HOME/clipboard-history.json.
  • Exposes five tools to the agent:
Tool Purpose
clipboard_list List recent history entries (id, time, size, preview).
clipboard_get Recall the full text of one entry by id.
clipboard_current Read the live clipboard content right now.
clipboard_copy Write text to the system clipboard and record it.
clipboard_clear Clear the stored history (keeps the live clipboard).

Install

# pnpm is required by the dsh plugin manager (enable via corepack if missing)
corepack enable

# from npm (once published)
dsh plugin --profile web add dsh-clipboard-history

# from a local checkout
dsh plugin --profile web add file:/absolute/path/to/dsh-clipboard-history

Then restart the web app (dsh web) so the new host plugin is loaded.

The dsh plugin command forwards to pnpm inside the profile directory and
reconciles dsh.profile.bundles automatically: because this package declares
"dsh": { "bundle": { "patch": "./cordis.patch.yml" } }, it joins the profile's
patch-layer stack.

Configuration

Edit the row in the profile's cordis.patch.yml (or the config block the
bundle inserted) to tune it:

- id: clipboard-history
  config:
    pollIntervalMs: 700   # clipboard poll interval in ms
    maxHistory: 200       # max stored entries
    maxEntryChars: 50000  # max stored characters per entry
    previewChars: 160     # preview length in clipboard_list
    historyFile: clipboard-history.json  # relative to the DSH home
    poll: true            # false disables background monitoring

Notes and limitations

  • Text only. Image / file clipboards are ignored (they read as empty text).
  • macOS is the primary target; Linux needs xclip, Windows uses PowerShell.
  • The plugin lives in the host process, so it has access to the logged-in
    user's pasteboard without a native addon.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-clipboard-history」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:kuangre123/dsh-clipboard-history

Headless(CLI)profile:

dsh plugin --profile headless add github:kuangre123/dsh-clipboard-history

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-26
备注:验证: runtime-fail 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7795 个插件 →