runfali/dsh-paperclip0

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.

包名
dsh-paperclip
版本
0.1.0
许可证
MIT
最近更新
2026年8月24日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:runfali/dsh-paperclip

Configuration

Edit in Settings → Plugin Config → paperclip or override in ~/.dsh/profiles/web/cordis.patch.yml (full replacement):

FieldDefaultDescription
enabledtrueShow button and enable uploads
maxBytes67108864Per-upload byte cap
uploadDir""Persist directory; empty → ~/.dsh/uploads/paperclip (content-addressed, deduped)
allowedExtensions[]Whitelist (empty = allow all)
readLimit2000read_document line window
maxFileBytes67108864read_document per-file byte cap
sheetRowLimit200xlsx 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 }).