
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-task-control
Advanced tools
DeepSeek Harness 插件:pip/GitHub 下载卡死一键急停 + 下载进度检测 + 卡死识别 + 隐形追加条件。Emergency stop for stuck downloads, download progress, stuck detection and invisible append-condition for DSH.
DeepSeek Harness 插件:pip / GitHub 下载卡到怀疑人生?网络超时停不下来?一键急停 + 下载进度检测 + 卡死识别 + 隐形追加条件。
在国内网络环境下,从 pip / GitHub 下载大文件(torch、ffmpeg、插件包…)卡顿、超时是家常便饭。DSH 原生的「停止」和任务暂停会被排在卡住的下载命令后面无法生效——任务既下不完、也停不掉。这个插件补上了缺口:
| 按钮 | 作用 |
|---|---|
| 🔴 急停 | 一键强制终止当前任务(杀进程 + 停止会话),下载/安装卡住时随时可停,带防误触确认(勾选"了解丢失进度"才能点确认) |
| 拍一下deepseek(检测) | 一键检查任务状态:出错 / 疑似卡死(工具调用超 10 分钟未返回)/ 运行中 / 健康 |
| 追加条件 | 任务运行中追加补充条件(先中止 → 弹窗输入 → 带条件隐形重跑) |
pip install torch 等 2.5GB 大包)、GitHub(大文件下载)、curl 下载卡住/超时时,原生的停止按钮和暂停都被排在卡住的工具返回值后面,毫无反应;正在下载 ffmpeg-release-essentials.zip,进度 42%);session.cancel 对此无能为力)。lib/ 已包含构建产物(lib/index.js 宿主半 + lib/client.js 客户端 bundle)。将插件包放入 DSH 的 profile node_modules:
~/.dsh/profiles/node_modules/dsh-task-control/,或在 ~/.dsh/profiles/web/cordis.patch.yml 中插入插件条目:
- insert:
- id: task-control
name: 'dsh-task-control'
重启 DSH web,硬刷新(Ctrl+Shift+R)页面。
宿主半挂载
/dsh-task-control/resume、/dsh-task-control/kill、/dsh-task-control/download-status三条路由(loopback Host 校验),浏览器端同源 fetch 调用;客户端 bundle 按window.__ModuleLoader__契约加载。
设置 → 插件 → 任务控制 卡片(6 项):
急停)拍一下deepseek)追加条件)任务正常,无异常)任务出错:{error},{error} 会替换为错误信息)任务正在运行中,暂未出错)node build.mjs
生成 lib/index.js(宿主半,ESM、零外部依赖)与 lib/client.js(客户端 bundle,__ModuleLoader__ 契约、外部模块走 require())。
├── src/
│ ├── index.ts # 宿主半:resume / kill(急停杀进程)/ download-status(下载进度)路由
│ └── client/
│ ├── index.ts # 客户端插件入口(插槽注册)
│ ├── buttons.tsx # 急停 / 检测 / 追加条件按钮 + 弹窗(含急停防误触确认)
│ ├── SettingsCard.tsx # 设置卡
│ └── settings.ts # 文案设置存储(localStorage)
├── lib/ # 构建产物(index.js / client.js)
├── build.mjs # esbuild 构建脚本
├── cordis.patch.yml # 安装 patch(按包名解析)
├── cordis.dev.patch.yml # 本地开发覆盖层(直接加载 src/index.ts)
├── DESIGN.md # 设计文档
└── 功能验证测试清单.txt # 打断测试 / 功能验证清单
session.cancel 语义与跨重启恢复机制的分析)MIT
FAQs
DeepSeek Harness 插件:pip/GitHub 下载卡死一键急停 + 下载进度检测 + 卡死识别 + 隐形追加条件。Emergency stop for stuck downloads, download progress, stuck detection and invisible append-condition for DSH.
The npm package dsh-task-control receives a total of 0 weekly downloads. As such, dsh-task-control popularity was classified as not popular.
We found that dsh-task-control 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.