DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
C

dsh-copy-document-preview

Copy Document Preview

DeepSeek Harness 侧边栏文档预览的一键复制按钮:将预览文件的文本复制到剪贴板,或对二进制文件复制其路径。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:shellpower96/dsh-copy-document-preview#3f1c400f8fe289a8373594b4f9a585507f518899
README兼容性版本

兼容性与来源证明

Copy Document Preview 以 dsh-copy-document-preview 发布,当前版本为 1.0.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/21

版本

1.0.1stable
2026/10/21

相关插件

正在加载相关插件…

最新版
1.0.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/21
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 productivity-workflow 分类下经过校验的插件。

Ds Harness Remoteds-harness-remote通过桌面端、网页端和 Android 端,端到端加密远程访问 DeepSeek Harness 和实验性 Codex 工作区,并支持 dsh-TUI Host。Archive Manager@michengai/dsh-archive-manager归档、恢复、收藏和永久删除会话,并诊断损坏的会话日志。Remotedsh-remoteDeepSeek Harness 的远程工作助手:连接 SSH(密码/密钥/代理/键盘交互、多跳 ProxyJump),从 ~/.ssh/config 列出主机,选择远程工作区,使用 21 个 rw_* 工具对其进行操作,支持感知冲突的镜像同步、内嵌 PTY tConfig Managerdsh-config-manager备份、恢复、导出、导入、迁移和同步 DeepSeek Harness (DSH) 配置:设置、插件、MCP 服务器、技能、代理预设和工作区。一键迁移到另一台机器。

README

dsh-copy-document-preview

One-click copy button for the DeepSeek Harness sidebar document preview.

The official preview header shows the path, the renderer picker, the wrap toggle and Reload — but nothing that gets the document out of the pane. This plugin adds one button there: click it and the previewed file's text is on your clipboard.

English | 中文

What it does

  • A copy button in the document preview header, rendered after the preview's own controls and after Open in app.
  • Copies the whole file, not just the part the preview has loaded: the plugin reads the file through the harness's own paged file Remote (remote.workspaceFiles.read), the same reader the preview itself uses, and never bypasses the Session that owns the file.
  • Binary files copy their path instead. For a PDF, image or Office document the Host reports workspace-file/not-text; the button then copies the file's absolute path and says so, rather than failing silently.
  • Clear feedback. A check mark for two seconds after a successful copy, a warning mark and a reason on failure, both announced to assistive technology.
  • Text files copy their text. Markdown, plain text and code files are copied as their source text; the copy does not include the preview's line numbers.
PreviewWhat lands on the clipboard
Plain text, Markdown, code, logsThe file's full text
CSV / TSV / JSON / YAMLThe file's full text
PDF, image, Office (.docx, .xlsx, .pptx), zip, binaryThe file's absolute path

Install

From the npm registry:

dsh plugin --profile web add dsh-copy-document-preview

Straight from GitHub:

dsh plugin --profile web add github:shellpower96/dsh-copy-document-preview

If your machine has no GitHub SSH key, use the HTTPS form of the same repository:

dsh plugin --profile web add https://github.com/shellpower96/dsh-copy-document-preview.git#main

Then restart dsh web. Alternatively install it from the Plugin Market or the Plugin Manager, which also enables the bundle for you.

Remove it with:

dsh plugin --profile web remove dsh-copy-document-preview

How it works

The plugin has no build step and no runtime dependencies. Its browser half registers one entry in the document toolbar's additive list slot (sidebar.right.tab.document.actions), a slot that only appends, so no existing control is replaced.

  • The slot hands the entry the file's absolutePath; the Session id, the locale function and the standard hooks come from the slot runtime.
  • Reading uses remote.workspaceFiles.read(sessionId, path, { offset }, signal), the same Remote the preview uses, so the file is read with the previewing Session's own authority and the host's byte and line limits still apply.
  • The browser half never imports a Harness Client package, styles itself with the host's --dsw-alias-* theme tokens (so it follows light and dark mode), and routes every visible string through the client locale service (English and Simplified Chinese).
  • Nothing is written outside the plugin's own component, and the button is the only DOM it owns.

Limitations

  • The clipboard write uses navigator.clipboard, so the page must be a secure context (https:// or http://127.0.0.1) and focused. There is no execCommand('copy') fallback.
  • A file larger than the host's per-page limits (maxLines, maxBytes) fails with the host's own too-large error, and so does a file with more than 200 pages.
  • Binary files copy their path; the plugin cannot extract text from them.

License

MIT