插件目录 / Knowledge / dsh-clipfile
dsh-clipfile
已验证 · 实测可装 whyzsm
功能简介
Attach files/folders in the DSH composer: clipboard paste, native picker, @-mention path search, paged Markdown conversion
可用 — 实测通过,早期项目
Attach files/folders in the DSH composer: clipboard paste, native picker, @-mention path search, paged Markdown conversion 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-clipfile
Attach files and folders in the DeepSeek Harness (DSH) Web composer.
What it does
- Clipboard paste (⌘V) — copy files/folders in Finder, paste into the composer. Detected via
osascriptfurl, no upload needed. - Native picker (+ button) — a folder-styled button next to the composer opens the macOS file/folder chooser (multi-select).
- @-mention path completion — type
@+ keyword in the composer to fuzzy-search paths (mdfind-backed). - Paged Markdown conversion — pasted folders are converted in place (zero-dependency Node, python fallback) into
INDEX.md + pages/*.md(summary index first), so the agent reads large folders page by page instead of dumping everything. - Removable chips — every attachment is a chip under the composer;
✕removes it (and its path token in the draft), click reveals it in Finder. Chips are scoped to their conversation: switching dialogs shows only that dialog's attachments, and sending the message clears them.
Attachments are zero-copy: the converter reads the original path read-only and writes only the paged Markdown pack under .dsh-clipfiles/md/.
Install
dsh plugin --profile web add whyzsm/dsh-clipfile
macOS only (uses osascript / NSOpenPanel / python3 at /opt/homebrew/bin/python3).
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-clipfile」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:whyzsm/dsh-clipfile Headless(CLI)profile:
dsh plugin --profile headless add github:whyzsm/dsh-clipfile 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。