JarszmLovesAI/dsh_upload_file0

dsh-inbox-paste

DSH 网页端文件粘贴与上传插件,支持将文件存入会话收件箱,并通过专属工具读取。

AI 分析

核心用途是简化文件向 DSH 工作区的传输流程,支持拖拽、粘贴和暂存。适合需要频繁向 AI 提供本地文件、图片作为上下文的用户。读取图片需配合视觉工具。

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

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JarszmLovesAI/dsh_upload_file

Usage

  1. Paste (Ctrl+V / Cmd+V) or use the paperclip in the composer.
  2. Pending thumbnails appear above the input; remove with × before send (no disk write yet).
  3. On send, files land in inbox/; the bubble can show thumbnails (see config).
  4. Agent: list_inboxread_inbox for text; for images, use the bundled image-reader skill or your own vision tooling.

Upload ≠ multimodal understanding

This plugin does not use Harness native image attachments. The main model only gets path markers unless you add vision:

  • Install the optional image-reader skill and set ARK_API_KEY in ~/.dsh/.env, or
  • Bring your own vision MCP / skill / multimodal model.

Configuration

~/.dsh/profiles/web/cordis.patch.yml (adjust profile name):

- id: inbox-paste
  config:
    uploadMaxBytes: 26214400
    inboxDirName: inbox
    allowedExtensions: []
    customizeUserBubble: true   # false = built-in user bubble (may show raw paths)

Restart dsh web after changes.