azhe411/dsh-download-progress 预览 preview

azhe411/dsh-download-progress

Plugin插件 Native原生 ⭐ 2 MIT Productivity & Tasks效率与任务

DeepSeek Harness (DSH) 实时下载进度条:浮动覆盖层显示文件名/百分比/速度/预计剩余时间,每秒自动刷新

Project Overview项目介绍

This is an always-on download manager plugin for DeepSeek Harness. Its floating bottom-right panel shows each download's file name, percentage, speed, and ETA in real time, with multi-task support, history, drag/resize, resume, redirects, and GitHub mirror acceleration. Use it when downloading files inside DSH and needing persistent progress visibility. Caveat: it requires the download script plus dynamic or persistent plugin setup, and ~ paths may need absolute replacements.

这是 DSH 常驻下载管理器插件,右下角悬浮面板实时显示每个下载任务的文件名、百分比、速度和剩余时间,支持多任务并发、历史记录、拖动缩放、断点续传与 GitHub 镜像加速。适合在 DSH 中下载文件并需持续查看进度时使用。注意需安装下载脚本并配置动态或固化插件,路径含 ~ 时可能要改为绝对路径。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 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 github:azhe411/dsh-download-progress

把 azhe411/dsh-download-progress 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-download-progress

DeepSeek Harness (DSH) 的常驻下载管理器。右下角有个小面板,实时显示每个下载任务的进度:文件名、百分比、速度、剩余时间。支持多任务、历史记录、拖动和缩放。

Always-on download manager for DeepSeek Harness: floating panel showing every download's realtime progress (file name / percent / speed / ETA), with multi-task support, history, drag & resize.

demo

功能

  • 右下角常驻面板,没任务时显示「待命」,不会自己消失
  • 每个下载任务一行:文件名、百分比、速度、剩余时间
  • 多任务并发,每个任务独立进度条
  • 历史记录:已完成/失败的任务留在列表里(带完成时间),最多 20 条
  • 点「打开」按钮,在文件资源管理器里定位已完成/失败的文件
  • 标题栏 ▾/▸ 按钮收起/展开任务列表,收起时只留一行
  • 面板可以拖动(标题栏)和缩放(右下角手柄)
  • 下载工具支持断点续传、HTTP 重定向跟随、GitHub 镜像加速

组成

文件 说明
download.cjs 下载工具(Node.js,每个任务写状态到 ~/.dsh/downloads/tasks/<任务>.json,完成后保留=历史)
plugin-definition.json DSH 动态 Cordis 插件定义(常驻下载管理面板 UI)
@local/dl-manager/ 固化版插件包(v2):装进 ~/.dsh/profiles/web/node_modules/@local/,重启自动加载,不用每次 cordis_define

安装

1. 下载工具

# 放到 DSH 脚本目录
cp download.cjs ~/.dsh/scripts/download.cjs

2. 进度条插件(两种方式任选其一)

方式 A:动态插件(临时,重启即失)

在 DSH 会话中通过动态插件加载(cordis_define / cordis_run),定义内容见 plugin-definition.json:

  • Host 端:注册 dl-tasks RPC,读取 ~/.dsh/downloads/tasks/ 目录(v2 改为按任务文件读,支持多任务)
  • Client 端:注册 shell.overlay 悬浮层,每秒 host.call('dl-tasks') 轮询刷新

如果进度条一直显示「待命」,可能是 fs.resolve('~/.dsh/...') 没展开 ~。把 Host 代码里的路径改成绝对路径(如 C:/Users/<你>/.dsh/downloads/tasks)。

方式 B:固化插件(推荐,重启自动加载)

# 1. 复制包到 profile 的 @local 目录
cp -r @local/dl-manager ~/.dsh/profiles/web/node_modules/@local/dl-manager

# 2. 在 profiles/web/cordis.patch.yml 末尾加(照 voice-core 的 insert 模式):
# - insert:
#     - id: dl-manager
#       name: '@local/dl-manager'

# 3. 重启 dsh web,刷新浏览器,右下角出现「⬇ 下载」面板

固化版 host 半用 ctx.webServer.register 注册 /api/dl-manager/tasks 和 /api/dl-manager/open 两个 HTTP 端点,client 半用 fetch 轮询。不要用动态插件专属的 harness.handle(见踩坑记录)。

3. 多线程下载(可选,大文件加速)

# aria2c 16 连接并发,进度同样写入 tasks/ 目录驱动面板
node ~/.dsh/scripts/aria2-dl.cjs <URL> <输出路径> [--mirror=前缀]

使用

# 基础下载(自动显示进度条)
node ~/.dsh/scripts/download.cjs <URL> <输出路径>

# GitHub 大文件国内加速(镜像)
node ~/.dsh/scripts/download.cjs <URL> <输出路径> --mirror=https://gh-proxy.com/

# 大文件多线程下载(>50MB 推荐)
node ~/.dsh/scripts/aria2-dl.cjs <URL> <输出路径> --mirror=https://gh-proxy.com/

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-feishu-bot 下一个 Next video-reverse-engineering →