dsh-paperclip
Zero-intrusion DeepSeek Harness bundle: 📎 upload button with pending popover, read_document multi-format tool (txt/pdf/docx/xlsx/json/md/ini/conf), Settings → General toggle. Standard Cordis bundle, no DSH source changes.
AI 分析
核心用途是在输入框添加文件上传按钮,并为智能体提供读取 PDF、Docx、Xlsx、JSON 等多种格式文档的工具。适合需要让智能体直接阅读和分析本地多格式文件的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:runfali/dsh-paperclipドキュメント
README 全文を読む ↗Configuration
Edit in Settings → Plugin Config → paperclip or override in ~/.dsh/profiles/web/cordis.patch.yml (full replacement):
| Field | Default | Description |
|---|---|---|
enabled | true | Show button and enable uploads |
maxBytes | 67108864 | Per-upload byte cap |
uploadDir | "" | Persist directory; empty → ~/.dsh/uploads/paperclip (content-addressed, deduped) |
allowedExtensions | [] | Whitelist (empty = allow all) |
readLimit | 2000 | read_document line window |
maxFileBytes | 67108864 | read_document per-file byte cap |
sheetRowLimit | 200 | xlsx rows kept per sheet |
Example:
- id: paperclip
config:
enabled: true
maxBytes: 67108864
uploadDir: ""
allowedExtensions: []
readLimit: 2000
maxFileBytes: 67108864
sheetRowLimit: 200
Usage
Upload: Click 📎 to pick files. If needed, click ▴ to expand the list above the input; × removes a file. Type a message and Send — the list clears and paths are sent with the message.
Read: The model calls read_document({ file_path, format: "auto", offset: 1, limit: 2000 }).