DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Upload Origin — DeepSeek Harness 插件(DSH Plugin)
← Plugins
U

dsh-upload-origin

Upload Origin

DSH 插件:通过匹配名称、大小和 sha256,解析上传到 .dsh-uploads 的文件的原始本地路径。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:wlc114514/dsh-upload-origin#d0bf279580992fde416f9d8d809d333e2c5c4029
README兼容性版本

兼容性与来源证明

Upload Origin 以 dsh-upload-origin 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/9/18

版本

0.1.0stable
2026/9/18

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/18
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 productivity-workflow 分类下经过校验的插件。

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Deepseek Ipptdeepseek-ipptiPolloWork PPT Studio 及其精选幻灯片模板,作为原生 DeepSeek Harness 对话视图。

README

dsh-upload-origin

A host-side plugin for DeepSeek Harness that resolves the original local absolute path of a file the user dragged into the conversation.

Why

When a file is dragged into the web composer, the browser upload surface can send the file bytes and its display name, but it cannot expose the original absolute path to JavaScript. DSH stores the uploaded snapshot under:

<session cwd>/.dsh-uploads/<sessionId>/<sha256-16>-<name>

dsh-upload-origin runs on the DSH host, scans the session workspace and common user folders, and matches that snapshot against local files by name + size + sha256. The resolved original path is then injected into the system prompt for the current agent and is also available through a tool.

What it does

  1. Watches the current session's .dsh-uploads directory when a turn is assembled.

  2. Keeps only uploads that a human prompt actually referenced.

  3. Resolves each referenced upload against local files:

    • first through the official workspace file-reference index (ctx.fileReferences);
    • then through a bounded filesystem scan of the session cwd, Desktop, Documents, Downloads, OneDrive, and a shallow home scan.
  4. Injects a mapping block into the system prompt:

    [Uploaded files: original local paths]
    - uploaded: .dsh-uploads/session-.../7538541a1efdc6c6-report.docx
      original: C:\Users\Alice\Desktop\report.docx [exact]
      Prefer this original path when the user refers to their local file; the
      .dsh-uploads copy is a snapshot.
    
  5. Registers the resolve_uploaded_file tool for on-demand lookup.

Install

From npm (after publication):

dsh plugin --profile web add dsh-upload-origin

Install the prebuilt tarball from GitHub Releases:

dsh plugin --profile web add https://github.com/wlc114514/dsh-upload-origin/releases/download/v0.1.0/dsh-upload-origin-0.1.0.tgz

The package declares dsh.bundle, so it installs through the normal DSH bundle/profile flow.

Tool: resolve_uploaded_file

Arguments:

ArgumentTypeDescription
file_pathstring, optionalUploaded path, absolute or relative to the session workspace.
namestring, optionalOriginal file name to locate when no uploaded path is known.
search_rootsstring[], optionalExtra absolute directories to scan.
max_resultsinteger, optionalMaximum candidates to return (1-20, default 10).

The result contains the uploaded path, the original name, size, sha256, the best original path, confidence, candidates, scanned roots, and scan metadata.

Confidence values:

ConfidenceMeaning
exactName, size, and sha256 all match.
name+sizeName and size match; sha256 was not checked or differs.
name+size-hash-differsName and size match, but content has changed since upload.
name-only-size-differsSame name, different size.
name-onlySame name only. Verify manually.

Configuration

The plugin accepts these optional config fields in a bundle patch row:

- id: upload-origin
  name: 'dsh-upload-origin'
  config:
    maxSearchFiles: 250000
    searchTimeoutMs: 9000
    maxDepth: 12
    maxHashChecks: 30
    maxResults: 10
    recentUploadMs: 604800000
    maxRecentUploads: 8
    autoResolveTimeoutMs: 7000
FieldDefaultDescription
maxSearchFiles250000Maximum filesystem entries visited per resolution.
searchTimeoutMs9000Overall search deadline per resolution.
maxDepth12Directory depth for common roots.
maxHashChecks30Maximum candidate files whose content is hashed.
maxResults10Maximum candidates returned by the tool.
recentUploadMs604800000Only uploads newer than this are auto-resolved (7 days).
maxRecentUploads8Maximum recent uploads considered per prompt assembly.
autoResolveTimeoutMs7000Maximum wait for automatic prompt mapping per turn.

Limitations

  • Browsers do not expose the original absolute path during drag-and-drop. This plugin recovers it by matching the uploaded snapshot on the host.
  • If the original file was modified after upload, the sha256 will differ; the plugin falls back to name + size or name-only candidates.
  • Files outside the default roots are not found automatically. Pass search_roots to the tool or configure additional roots in a future version.
  • The uploaded copy remains the durable source of truth for reading; the original path is used when the user wants to edit their local file.

Security

  • Host-side only. No network calls.
  • No credentials are read, stored, or transmitted.
  • The plugin reads only local files whose names match the uploaded snapshot; content hashes are computed locally to confirm the match.
  • The resolve_uploaded_file tool is read-only.

License

MIT