JarszmLovesAI/dsh_upload_file 预览 preview

JarszmLovesAI/dsh_upload_file

DeepSeek Harness(DSH)网页插件:将文件粘贴到编辑器,收件箱存储,缩略图。通过read_inbox读取文本;图像理解需要您的视觉技能(捆绑图像阅读器+ARK_API_KEY)。

项目介绍Project Overview

DSH 浏览器插件,支持在会话中粘贴或选取文件,预览缩略图后存入 {session.cwd}/inbox/,代理可通过 list_inboxread_inbox 读取文本内容。需要图像理解时,应搭配自带的 image-reader 技能(需配置 ARK_API_KEY)或外部视觉模型/工具。该插件不替代多模态理解:未启用视觉能力时,主模型仅获得路径标记。

A DSH web-bundle plugin that lets users paste or pick files in the composer, preview thumbnails before sending, and store them under {session.cwd}/inbox/. Agents can read text via list_inbox and read_inbox; image understanding needs the bundled image-reader skill (set ARK_API_KEY) or your own vision tooling. The plugin does not provide multimodal understanding on its own—without vision, the main model only receives path markers.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add github:JarszmLovesAI/dsh_upload_file

JarszmLovesAI/dsh_upload_file 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-inbox-paste

中文文档

DSH web bundle: paste or pick files in the composer, store under {session.cwd}/inbox/, show thumbnails before/after send. Agents use list_inbox / read_inbox for text; image understanding requires your own vision skill or model (see below).

Example: pasted screenshot analyzed via image-reader skill

Requirements

Install

dsh plugin --profile web add github:JarszmLovesAI/dsh_upload_file
dsh web

Remove: dsh plugin --profile web remove dsh-inbox-paste

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.

vs dsh-file-upload

dsh-inbox-paste dsh-file-upload
Paste
Storage {cwd}/inbox/ {cwd}/.dsh-uploads/
Built-in PDF

Tests

npm test

License

MIT

上一个 Prev dsh-douyin-creator 下一个 Next dsh-fork-graph