
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-polling
Advanced tools
Recurring/scheduled tasks (轮询任务/定时任务) plugin for DeepSeek Harness: cron-driven polling jobs as real sessions, natural-language creation, model tools (polling_create/list/edit/delete/trigger) and a web UI. Install-and-go via `dsh plugin add`.
轮询任务插件 —— DeepSeek Harness 的即插即用插件:零上游改动,一条命令安装。
轮询 = 一个真实工作区。轮询任务 = 工作区里的会话。到点时插件在任务自己的会话里唤醒模型,让模型自主执行你写好的任务步骤——一切模型能做的事都可以轮询:检查/处理文件、抓取网页、发送消息、邮件……
dsh CLI(DeepSeek Harness,Node.js ^22.19.0 || >=24.0.0)dsh web)以获得完整体验;headless 下模型工具(polling_*)仍可用,Web 管理界面不可用# 方式一:从 npm(推荐)
dsh plugin --profile web add dsh-polling
# 方式二:从 GitHub(需按提示允许一次构建)
dsh plugin --profile web add github:cnyac/dsh-polling
# 方式三:tarball
dsh plugin --profile web add ./dsh-polling-0.1.0.tgz
重启 dsh web 即可。卸载:dsh plugin --profile web remove dsh-polling。
关于方式二(GitHub 安装):git 安装拉取的是源码,
prepare脚本会自动完成构建;pnpm ≥10 默认拒绝执行 git 依赖的构建脚本,首次add会失败,dsh会提示你把包键加进该 profile 的pnpm-workspace.yaml的allowBuilds后重试。请只为源码可信的包授权,并建议锁定 commit(github:cnyac/dsh-polling#<sha>)。
直接说,例如:
帮我建一个轮询任务:每天上午 9 点检查
D:\稿件\待处理文件夹,有新的新闻稿件就用常规流程润色修改并归档。
插件会通过 polling_create 工具自动创建任务,任务作为一个新会话出现在侧边栏 轮询 工作区(自动置顶)。
| 要素 | 说明 |
|---|---|
| 执行时间 | 执行日期(每天 / 工作日 / 周末 / 自定义周几)× 频率(每 N 分钟 / 每小时)× 时间段(HH:MM–HH:MM 或全天),另附"下次执行"实时预览 |
| 模型 | 可选模型(从已配置的 API 枚举);缺省为部署默认 |
| 目标描述 | 给模型的背景上下文(可选) |
| 任务步骤 | 自然语言指令;到点时模型在任务会话里自主执行 |
| 启用 | 开关;停用后不再触发 |
内部以标准 5 段 cron 持久化(如
*/30 9-18 * * 1-5= 工作日 09:00–18:00 每 30 分钟),UI 从不显示原始表达式。任务执行中再次到点会跳过并记录(防重入,不堆积)。重启后自动补最近一次到期。
tasks.json)与任务会话历史均保存在你的本机 $DSH_HOME 下,插件不向任何外部服务上报数据。followup(任务指令) 在任务会话里执行。到期判断锚定上次执行时刻:错过多次只补最近一次,重启后同样只补一次。skipped(等价于任务计划程序的"不启动新实例"),避免指令堆积。<dshHome>/polling/tasks.json(原子写);执行历史在任务会话日志里(DSH 自带持久化)。polling_create / polling_list / polling_edit / polling_delete / polling_trigger 注册在全局工具层,任何 preset 的会话都可见。ctx.connection.rpc 的 /polling 通道(第三方通道是 DSH 的一等扩展点)。dsh.bundle + cordis.patch.yml),双面(host 调度 + client UI)单包。cordis.patch.yml 可覆盖)- id: polling
name: dsh-polling
config:
dir: 'D:\MyPolling' # 轮询目录(缺省 <dshHome>/polling;示例为覆盖场景)
keepPinned: true # 是否强制置顶(缺省 false,创建时置顶一次)
npm install --legacy-peer-deps # 仅构建工具;运行时依赖由 DSH 宿主提供
npm run typecheck
npm test # cron 解析器单测
npm run build # lib/index.js + lib/client.js + lib/types/(含 client bundle 冒烟验证)
npm pack # 产出可分发的 tarball
设计文档见 DESIGN.md。
FAQs
Recurring/scheduled tasks (轮询任务/定时任务) plugin for DeepSeek Harness: cron-driven polling jobs as real sessions, natural-language creation, model tools (polling_create/list/edit/delete/trigger) and a web UI. Install-and-go via `dsh plugin add`.
The npm package dsh-polling receives a total of 21 weekly downloads. As such, dsh-polling popularity was classified as not popular.
We found that dsh-polling 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.