返回目录
文件与数据 插件

dsh-download-files

silicon14/dsh-download-files

Browser download for delivered files and right-Sidebar file previews in the DeepSeek Harness Web GUI (DSH plugin)

Stars
0
Forks
0
Issues
0
更新
18 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:silicon14/dsh-download-files

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-download-files

Browser download for the files a turn delivers and for files open in the right Sidebar's document preview.

The plugin adds one download action to each file surface of the Web GUI:

  • Delivery cards — the card a finished turn shows for every file passed to the present tool.
  • Changed-file review tab — the sidebar tab that compares a turn's changed file.
  • Right Sidebar document preview — the header of an opened file, including files with no preview renderer.

Pressing the action asks the Host for the file with a download disposition and hands the URL to the browser's own download manager, so the save dialog or the browser's download folder receives the exact bytes, including large and binary files. Nothing is assembled in the page and no native application is involved.

Install

git clone https://github.com/silicon14/dsh-download-files.git "$HOME/dsh-plugins/dsh-download-files"
dsh plugin --profile web add "link:$HOME/dsh-plugins/dsh-download-files"

link: needs the expanded absolute path. Or run Plugin Manager's install_bundle against the cloned directory. A reload of the open page picks up the browser half; the Host route is live as soon as the row activates. The plugin needs the Web composition's ui-deliverables, ui-sidebar-documentpreview, api-workspace-files, and workspace-changes rows, which the dsh-web-app bundle already supplies.

Addresses

GET|HEAD /api/file.download accepts one of:

Parameters File
sessionId, path The absolute path a document preview resolved.
sessionId, seq, index, source=presented A file declared by that Session's delivery event.
sessionId, seq, index, source=changes A file listed by that turn's change summary.

The route is registered on the authenticated browser channel, so only the page's own Peer reaches it. Downloads stream in 1 MiB windows; the filename and media type travel in Content-Disposition and Content-Type.

Limits

  • The file must be readable through the composed Session filesystem. A deleted or non-regular file answers 404 and the action reports a retryable failure.
  • The right Sidebar's file tree rows have no extension point, so the download action appears on an opened file's header rather than on each tree row.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类文件与数据
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: file、files。