auroralab-art/dsh-file-ref
DeepSeek 工具插件:拖放文件即可插入 @workspace 路径或绝对路径。
Project Overview项目介绍
dsh-file-ref is a native Cordis plugin published by Aurora Lab for the DeepSeek Harness (DSH) web profile, distributed as a .tgz bundle tagged with dsh-plugin and deepseek-harness topics. It is installed with a single CLI invocation against the active profile, namely dsh plugin --profile web add https://github.com/auroralab-art/dsh-file-ref/releases/download/v0.1.0/dsh-file-ref-0.1.0.tgz, after which dsh web must be restarted and the browser hard-refreshed; the package metadata carries a bundle-manifest field consistent with DSH plugin packaging. The plugin never uploads file bytes into the model context. Instead, it injects @workspace style path references into the composer text, and the DSH agent then opens those paths using whatever tools the session already exposes.
The typical workflow targets local authoring tasks where developers want to drag PDF, CSV, JSON, source code, or Markdown files into the DSH web composer, which by default only accepts PNG, JPEG, WebP, and GIF. When the browser exposes the original filesystem path, workspace-internal files appear as @relative tokens while external paths remain absolute; if the browser hides the real path, the host stages a copy under the configured inboxDir (default .dsh-inbox) and references it relatively. Before each step, the plugin verifies that every @relative token still resolves and emits a <workspace-reference kind="file" /> marker so the agent can act on it, and the plugin is aimed at DSH users who routinely hand local assets to their agent.
Dependencies include DeepSeek Harness v0.1.0-rc.1 or later, Node.js ^22.19.0 or >=24.0.0, and the web profile only — headless mode is explicitly unsupported because the plugin relies on browser paste/drop events and the composer UI. Optional inboxDir and maxStageBytes keys live in ~/.dsh/profiles/web/cordis.patch.yml, with later layers replacing the whole config object so every key must be restated; the default cap is 20 MiB per staged copy, after which the host refuses the staging operation, while UTF-8 text is read by DSH read and other formats fall back to the session's shell. The license is Aurora Lab Source rather than MIT, restricting use to personal non-commercial installations and requiring written owner consent before any modification, derivative work, or commercial deployment.
dsh-file-ref 是 Aurora Lab 为 DeepSeek Harness(DSH)编写的原生 Cordis 插件,专门扩展 DSH web 配置下网页撰写器的文件附加能力。它通过 dsh plugin --profile web add <tgz> 命令安装,重启 dsh web 后即可生效;构建产物是 .tgz 包,源码仓库同时提供 dsh-plugin 与 deepseek-harness 主题标签,并附带 bundle-manifest 元数据。插件插入文本中的 @workspace 引用,文件字节不会进入模型上下文,DSH 代理再借助会话自带的 read、Shell 等工具打开文件。
典型使用场景是把 PDF、CSV、JSON、源代码、Markdown 等非图像文件直接拖入或粘贴进 DSH 网页撰写器,从而绕过默认仅支持 PNG、JPEG、WebP、GIF 的限制。当浏览器可见源路径时,工作区内文件会以 @相对路径 形式出现,工作区外则保留绝对路径;若浏览器隐藏真实路径,宿主会把副本写入工作区下的 .dsh-inbox 并 @ 该相对路径,步骤执行前还会校验路径存在性并插入 <workspace-reference kind="file"> 标记。该方案非常适合日常需要给代理喂本地文档、日志或数据文件的开发者。
依赖项包括 DeepSeek Harness v0.1.0-rc.1 或更高版本、Node.js ^22.19.0 或 >=24.0.0,并仅能在 web 配置下运行,headless 模式不被支持。默认 inboxDir 为 .dsh-inbox、maxStageBytes 为 20 MiB,超过上限的暂存副本将被拒绝,单个文件过仍可能触及会话本身的读取限制。许可证为 Aurora Lab Source,非 MIT,仅允许个人非商业使用,修改、二次衍生或商用须取得作者书面同意。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-file-ref(auroralab-art/dsh-file-ref)
仓库:https://github.com/auroralab-art/dsh-file-ref
本站详情页:https://www.yhbd.top/plugins/auroralab-art-dsh-file-ref/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 NOASSERTION · ⭐ 2 · 最近提交 2026-08-20 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add https://github.com/auroralab-art/dsh-file-ref/releases/download/v0.1.0/dsh-file-ref-0.1.0.tgz
把 auroralab-art/dsh-file-ref 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
Drag-and-drop or paste any local file — PDF, CSV, code, or document — into the DSH web composer. The plugin resolves the filesystem path and inserts an @workspace reference the agent opens with existing tools. No upload API, no extra model context.
Why do I need this?
Without this plugin, the DSH composer only accepts PNG, JPEG, WebP, and GIF. Any other file is rejected as an unsupported image format.
dsh-file-ref bridges that gap:
- Recover the original filesystem path when the browser or host can see it.
- Otherwise write a copy into the workspace inbox and
@that path. - Mark
@relativementions before the model step so the agent can open the file withread, the shell, or other tools already in the session.
There is no new upload API and no extra model-facing file tool. The agent uses whatever access mode the session already provides.
Quick Start
Requires the dsh CLI and the web profile.
dsh plugin --profile web add https://github.com/auroralab-art/dsh-file-ref/releases/download/v0.1.0/dsh-file-ref-0.1.0.tgz
Restart dsh web and hard-refresh the browser. Done.
To remove:
dsh plugin --profile web remove dsh-file-ref
How does it work?
| File location | Draft text inserted |
|---|---|
| Inside the current workspace | @docs/spec.pdf |
| Outside the workspace | /Users/you/Downloads/spec.pdf |
| Path hidden by the browser | @.dsh-inbox/spec.pdf (a copy under the workspace) |
| PNG / JPEG / WebP / GIF | First-party image rail, unchanged |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
extracurricular-ai/dsh-filesnap
SenmuuuuW/dsh-whale-report
SnowCrescenter-tech/dsh-milestone
PerryLink/dsh-checkpoint-rewind
XieZongChen/dsh-md-notes
TencentCloud/tencentcloud-agentobs-sdk-dsh