DeepSeek Harness 插件

dsh-quick-attach

快捷附图:在会话输入框粘贴图片时自动保存到用户配置的目录,发送消息时把图片的绝对路径一并发送给 AI 识别。设置栏中显示为「快捷附图」。(英文原文)

跳到安装方式

来源信息

GitHub 仓库
ximisi/dsh-quick-attach
最近更新
2026年8月16日
分类
记忆
GitHub stars
2
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/ximisi/dsh-quick-attach
插件名:dsh-quick-attach
作者:ximisi

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-quick-attach(快捷附图)

![license](LICENSE)

在 DSH web GUI 的会话输入框粘贴图片时,自动把图片保存到你在设置中配置的目录, 并把保存后的图片绝对路径追加到消息草稿——发送消息时,AI 会收到该路径, 可通过文件工具与视觉能力读取识别图片。

Paste an image into the DSH web GUI composer: the plugin saves it into your configured directory and appends the absolute path to your message draft — when you send, the AI receives the path and can read the image with its file and vision tooling.

安装 Install

从 GitHub Release 安装(from the GitHub release):

dsh plugin --profile web add https://github.com/ximisi/dsh-quick-attach/releases/download/v0.1.1/dsh-quick-attach-0.1.1.tgz

本地安装示例(local install examples):

dsh plugin --profile web add ./dsh-quick-attach-0.1.1.tgz
dsh plugin --profile web add ./dsh-quick-attach

安装后重启 web 服务,在 设置 → 快捷附图 中配置保存目录并启用。 After installing, restart the web service and configure the save directory under Settings → 快捷附图.

使用 Usage

1. 打开任意会话(Open any conversation); 2. 在输入框粘贴(Ctrl+V)一张或多张图片(截图、复制网页图片等) (paste one or more images into the composer); 3. 图片自动保存到配置目录(文件名 qa-<时间戳>-<随机>.png 等), 绝对路径自动追加到输入框(the image is saved and its path is appended to the draft); 4. 正常输入文字并发送——路径随消息发给 AI(send — the path travels with the message)。

说明 Notes

  • 仅拦截发生在会话输入框内的图片粘贴;其他输入框、设置、终端等不受影响。

Only image pastes inside the composer are intercepted; other inputs are untouched.

  • 原生「粘贴图片作为附件」流程被替换(不再以附件形式发送图片数据,改为发送路径)。

The native paste-as-attachment flow is replaced with save + send-path.

  • 配置保存在 <DSH_HOME>/quick-attach.json;默认目录 <DSH_HOME>/quick-attach

(config lives in <DSH_HOME>/quick-attach.json; default dir is <DSH_HOME>/quick-attach)。

  • 保存的图片可通过 /quick-attach-files/<文件名> 预览(saved images are

served under /quick-attach-files/<name>)。

结构 Structure

  • lib/index.js — host:/api/quick-attach/save/api/quick-attach/config/quick-attach-files/*
  • lib/client.js — client:document 捕获阶段粘贴拦截 + 设置栏「快捷附图」分区

License

MIT