跳到正文

LCYLYM/dsh-attachments

30最近提交 2026年8月14日

dsh-attachments DSH 插件

DSH Multimedia WebUI Input 是一个社区插件,为 DeepSeek Harness Web 客户端增加了文件/文件夹选择和组合框拖拽功能。它仅在用户发送时才将所选资源复制到活动代理工作区,因此模型可以通过普通工作区工具读取、编辑和验证这些附件。该插件还提供了一个设置面板,用于按需检查和安全清理会话附件。

如何安装 dsh-attachments DSH 插件

dsh plugin --profile web add github:LCYLYM/dsh-attachments

复制不会执行命令。安装 dsh-attachments DSH 插件前请核对仓库和版本。

dsh-attachments DSH 插件数据来源

dsh-attachments DSH 插件快照日期:2026年8月16日

discovered

dsh-attachments DSH 插件能做什么

  • 从本地系统选择文件/文件夹并发送到代理工作区
  • 将文件拖拽到组合框作为附件
  • 模型通过工作区工具读取、编辑和验证附件
  • 在设置面板中按需清理会话附件,需确认并受所有权标记保护
  • 使用官方 Cordis/Web 接口(conversation.input.left、overlay、dock 等),不修补聊天 DOM

dsh-attachments DSH 插件适合哪些场景

  • 将本地文档发送给模型进行分析或总结
  • 将图片拖入组合框,让模型描述或编辑
  • 清理特定会话或工作区中所有会话的临时附件
  • 让模型读取并编辑附带的代码文件

dsh-attachments DSH 插件适合谁

  • 使用官方 DSH Web UI 并需要与模型共享本地文件的用户
  • 希望将资源附加到代理对话中进行分析和编辑的开发者与研究人员

dsh-attachments DSH 插件的限制

  • 仅支持当前官方 DSH NPM 运行时(发布时为 0.1.0-rc.6),不兼容私有源码副本或旧版本
  • 该插件不是官方 DSH 仓库插件,而是通过原生 profile 插件命令安装的社区插件
  • 附件仅在用户发送消息时上传,不会主动上传
  • 清理操作仅删除带有该插件所有权标记的目录,不会跨入其他工作区

dsh-attachments DSH 插件的仓库 README 摘录

以下文字摘自 dsh-attachments DSH 插件的上游仓库 LCYLYM/dsh-attachments 的 README,版权归原作者,仅作引用。

Independent community plugin for the current DeepSeek Harness Web client. It adds file/folder selection and composer drag-and-drop without modifying the official DSH source tree. **Workspace Attachments** describes the current delivery mechanism, not a separate product: selected WebUI resources are copied into the active Agent workspace only at send time, so the Agent can read, edit, and verify them through ordinary workspace tools. The plugin deliberately uploads only when the user sends. The Host resolves the live session workspace, streams files into `.dsh/tmp/attachments/<session>/<send>/`, and then lets DSH's asynchronous reference serializer prepend the resulting absolute path to the model message. If preparation fails, DSH keeps the draft and attachment chip. The Settings panel includes an on-demand **Multimedia input & file management** section. It can inspect and clean either the active session or every session in the active workspace. Both cleanup actions require confirmation and remove only committed directories carrying this plugin's ownership marker. They never cross into a different workspace or delete unknown content. ## Install from NPM (recommended) The public

阅读完整 README仓库许可: MIT

dsh-attachments DSH 插件常见问题

如何安装 DSH Multimedia WebUI Input 插件?

首先运行官方 DSH Web UI:`npx -y @deepseek-ai/dsh web`。然后在另一个终端中执行:`npx -y @deepseek-ai/dsh plugin --profile web add dsh-multimedia-webui-input`。之后重启 Web UI 即可生效。

如何卸载该插件?

使用官方 DSH profile 管理器:`npx -y @deepseek-ai/dsh plugin --profile web remove dsh-multimedia-webui-input`。这会安全地从 profile 中移除插件,但不会删除已经复制到工作区中的附件数据。

插件会修改聊天 DOM 吗?

不会。插件使用官方的 Cordis/Web 接口,如 `conversation.input.left`、`conversation.input.overlay`、`conversation.input.dock` 以及异步引用序列化。它从不直接钩子或修补聊天 DOM。

清理功能是如何工作的?

设置面板中包含“多媒体输入与文件管理”部分。你可以检查并清理活动会话或工作区中的所有会话。两种清理操作都需要确认,并且只删除带有该插件所有权标记的已提交目录。它们不会跨入其他工作区或删除未知内容。

我能否将此插件用于非 NPM 安装的 DSH?

该插件针对当前官方 DSH NPM 运行时。如果你有基于源码的检出或老旧指纹版本的 DSH,可以使用仓库中提供的克隆本地安装器(`./install.sh`)进行 QA,但公共 NPM 路径不需要它。安装器会进行能力探测、验证组合的 profile,并在失败时回滚。