dsh-clipboard-history
by qqyumidi
监控系统剪贴板,保留可搜索的历史记录,并提供 Web 面板与 Agent 工具。
DSH clipboard history manager: monitor system clipboard, searchable persisted history, Web panel + agent tools
安装
dsh plugin --profile web add github:qqyumidi/dsh-clipboard-historyGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
监控系统剪贴板,保留可搜索的历史记录,并提供 Web 面板与 Agent 工具。
DeepSeek Harness(DSH)剪贴板历史管理器:持续监听系统剪贴板(macOS pbpaste/pbcopy、Linux xclip/wl-paste、Windows PowerShell),把复制过的内容按时间存入 ~/.dsh/clipboard-history.json(上限 500 条),Web 会话标题栏提供「📋 剪贴板」入口打开面板 —— 搜索、点击复制、单条删除、暂停/恢复、清空;同时向 Agent 注册 clipboard_get / clipboard_history_search / clipboard_copy / clipboard_history_delete 四个模型工具。
安装
dsh plugin --profile web add "file:$HOME/dsh-clipboard-history"
dsh web # 重启使 profile 生效
或直接从 GitHub 安装:
dsh plugin --profile web add github:qqyumidi/dsh-clipboard-history
dsh web
卸载:
dsh plugin --profile web remove @dsh-external/dsh-clipboard-history
使用
- 会话标题栏右侧「📋 剪贴板」按钮打开面板。
- 面板内:搜索框过滤历史;点击条目内容或「📋 复制」把该条复制回系统剪贴板;「🗑 删除」移除单条;顶部可暂停/恢复监听、清空全部。
- Agent 工具:
clipboard_get(读当前剪贴板)、clipboard_history_search(搜历史)、clipboard_copy(写入剪贴板)、clipboard_history_delete(按 id 删除一条)。
数据
- 历史文件:
~/.dsh/clipboard-history.json - 上限:500 条,超出后丢弃最旧记录
- 轮询间隔:1.5s
结构
dsh-clipboard-history/
├── package.json # dsh.bundle.patch + dsh.client.platform
├── cordis.patch.yml # insert 插件行
└── lib/
├── index.js # Host:轮询/持久化/HTTP API/工具注册
└── client.js # Client:会话头部按钮 + 浮动面板
说明
- Host 与 Client 通过
webServer注册的/clipboard-api/*HTTP 端点通信(静态 bundle 没有动态插件的harness.handle/host.call)。 - 动态插件版(
cordis_define)与本静态版功能等价;历史文件同一份,可无缝切换。
License
MIT
原始 README: https://github.com/qqyumidi/dsh-clipboard-history/blob/main/README.md ↗
同类插件
查看全部 →
archify
Agent 技能:生成美观、可校验的架构图、工作流图、时序图、数据流图与生命周期图——自包含 HTML、带动画与清晰导出

dsh-turn-rewind
对话回退:基于持久 Change Ledger 回滚会话与工作区状态。

dsh-plugin-cc
把 DeepSeek Harness 接入 Claude Code:评审、批评、委派与会话导入

dsh-interconnect
跨实例互联:经 interconnect 服务在多个 DSH 实例间转发消息与事件。

dsh-chat-import
把 13 家 coding agent(Claude Code、Codex、ChatGPT、Cursor、Gemini、opencode 等)的完整对话历史导入为可续聊的 DeepSeek Harness 会话,并支持反向导出回 Claude Code。

dsh-crew
DSH 插件:从 Claude Code / Codex 向 DSH agent 派活——原生 subagent 进度、宿主内 worker 会话(分级预设),以及为纯文本宿主补上视觉与图像生成的多模态桥