runfali/dsh-paperclip0

dsh-paperclip

提供回形针上传按钮与多格式文档读取工具的 DSH 插件

AI 分析

核心用途是在输入框添加文件上传按钮,并为智能体提供读取 PDF、Docx、Xlsx、JSON 等多种格式文档的工具。适合需要让智能体直接阅读和分析本地多格式文件的用户。

套件
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 }).