
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-attachment
Advanced tools
Drag-and-drop file and folder attachments for the DeepSeek Harness Web UI
为 DeepSeek Harness 带来直观、持久、低侵入的文件与文件夹附件体验。
拖放即用 · 保留目录树 · 输入区与历史消息一致展示 ฅ( ̳• ·̫ • ̳ฅ)
English · 简体中文
| 能力 | 表现 |
|---|---|
| 📁 文件夹拖放 | 一个文件夹对应一张附件卡片,同时完整保留内部目录树 |
| 📄 普通文件 | 支持拖入、预览卡片、持久化历史与流式下载 |
| 🖼️ 原生图片共存 | PNG、JPEG、WebP、GIF 继续使用 Harness 原生图片预览、画廊和多模态检查 |
| 🧠 模型可读取 | 提交后写入当前工作区的 .deepseek-harness/attachments/,为模型提供明确路径 |
| 🧩 低侵入扩展 | 通过公开的输入附件栏 slot、会话定义与 Host 路由完成集成 |
| 🪶 原布局保持 | 输入区没有插件附件时,页面布局和原版 Harness 保持一致 |
插件自身不设置附件数量或单文件字节上限;实际可用范围由浏览器、运行环境与目标模型共同决定。
拖入文件或文件夹时,只在原界面上方增加清晰的虚线边界,Harness 原生图片接收界面仍然保留。
原生图片消息继续显示在持久化会话历史中,并可交给支持多模态输入的模型。
多张原生图片与插件提供的文件、文件夹卡片共用同一条输入附件区域。
当前版本可直接从 npm 安装到原生 DSH 的 web profile:
dsh plugin --profile web add dsh-attachment
检查组合后的配置并启动 DSH:
dsh --profile web --dump-config
dsh --profile web
移除插件:
dsh plugin --profile web remove dsh-attachment
flowchart LR
A["拖入文件或文件夹"] --> B["输入区附件卡片"]
B --> C["提交用户消息"]
C --> D["持久化附件元数据"]
D --> E["复制到工作区附件目录"]
E --> F["模型读取文件或目录树"]
本仓库是可直接安装的标准 DSH bundle:
package.json 声明 dsh.bundle.patch;cordis.patch.yml 插入 Host 插件行;dsh.client.platform 设置为 web;exports["./client"] 暴露预构建浏览器 bundle;@deepseek-ai/* 包全部使用 peerDependencies;环境要求:Node.js ^22.19.0 || >=24.0.0、pnpm。
pnpm install
pnpm run build
pnpm test
npm pack --dry-run
当前版本面向 DeepSeek Harness 0.1.0-rc.5 的标准 bundle、Web Client 发现、输入附件栏、会话事件与 Host 路由接口。
SECURITY.md。Marketplace 数据模板、截图 URL 和提交前检查项记录在 MARKETPLACE.md,README 图片资源位于 assets/markdown/。
让附件安安静静待在该在的位置,也让模型更轻松地找到它们。 (。•̀ᴗ-)✧
FAQs
Drag-and-drop file and folder attachments for the DeepSeek Harness Web UI
The npm package dsh-attachment receives a total of 138 weekly downloads. As such, dsh-attachment popularity was classified as not popular.
We found that dsh-attachment demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.