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.
安装
$
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 }).