D
cronjob-dsh-plugin
v0.1.0 · 2 天前发布
Machine-level cron jobs for DeepSeek Harness: configure scheduled tasks in the Web settings page; the host fires internally-driven agent requests into a dedicated session, hands-off.
README
cronjob-dsh-plugin
面向 DeepSeek Harness 的机器级定时任务插件:
直接在 Web 设置页配置定时任务,到点后由宿主内部驱动、自动触发到专用「定时任务」会话 —— 脱手执行。
状态:M1–M4 已完成(骨架、宿主核心、HTTP 路由 + 模型工具、Web UI),单元测试通过;
M5(装入实际 profile 联调)进行中。
功能
cronerctx.settings 命名空间,存储于 ~/.dsh/settings.yaml)[CRON JOB] 用户消息唤醒专用会话,agent 执行任务并在该会话中回复cron_create / cron_list / cron_delete,agent 可自行管理任务/cronjob/*(list/create/update/toggle/delete/fire),变更类请求带同源校验架构
单包双半(与 dshmarket 插件同款模式):
| 路径 | 半 | 职责 |
|---|---|---|
| src/index.ts | Host | 插件入口:store + scheduler + routes + tools 组装 |
| src/store.ts | Host | cronjob settings 命名空
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- Apache-2.0
- npm
- cronjob-dsh-plugin
- Repo
- git+https://github.com/peng-huiyang/cronjob-dsh-plugin.git
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-settings"],"platform":"web"}}