deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
EN: Scheduled send for DeepSeek Harness (DSH) Web — draft a message in the composer, tap ⏰, and it fires into the bound conversation as a normal user bubble at the set time. Runs host-side: close the browser, it still sends. 中文说明如下。
在 DSH Web 输入框打好草稿,点 ⏰ 选个时间——到点后消息以正常用户气泡出现在原会话中并自动触发模型响应。定好就可以关掉浏览器睡觉,调度在服务端照常执行。
datetime-local,默认当前 +5 分钟,可改任意未来时刻)→ 确认后内容转为定时任务、输入框清空、不立即发送;支持多行 / Markdown 源码原样保存role: 'user' 气泡 + followup),渲染为正常用户消息并触发模型响应conversationId);切换会话只看到该会话的任务,互不串扰~/.dsh/dsh-scheduled-send/tasks.json),重启 DSH 后恢复队列并向原会话补发;会话不在线时保留任务,恢复即补发前置:已装好 DSH(dsh web 可正常运行)。
dsh plugin --profile web add @ottttto/dsh-scheduled-send
装完重启 dsh web 并硬刷新浏览器(Cmd/Ctrl+Shift+R)——输入框工具排出现「⏰ 定时」按钮,侧边栏底部出现「⏰ 定时任务」入口。
dsh plugin --profile web update @ottttto/dsh-scheduled-send # 升到最新
dsh plugin --profile web add @ottttto/dsh-scheduled-send@0.3.9 # 锁定版本
git clone https://github.com/OTTTTTO/dsh-scheduled-send.git
dsh plugin --profile web add /path/to/dsh-scheduled-send # 本地路径安装
| 现象 | 原因与解决 |
|---|---|
启动报 Cannot find package 'dsh-scheduled-send' |
旧版(≤0.2.1)挂载条目用了裸名。先 dsh plugin --profile web remove dsh-scheduled-send,再重装 scoped 包 |
| 到点没发送 | 确认 dsh 宿主进程在运行(浏览器可关,进程不能停);查启动日志中 [dsh-scheduled-send] 告警 |
| 到点后消息没显示成气泡 | 升级到 ≥0.2.3(旧版 source.kind:'plugin' 会渲染为注入行) |
| 插件 UI 不出现 | 硬刷新浏览器(Cmd/Ctrl+Shift+R)加载新 bundle |
① 输入内容,点「⏰ 定时」设置时间
② 会话内已排程 / 侧边栏全库任务面板
③ 到点后以正常用户气泡出现在会话中
src/index.js):调度器持久化任务队列;到点经 runMaintenance + followup 把消息(source.kind: "user",与官方发送路径一致)注入目标会话的 agent——这正是消息能以正常用户气泡渲染、且无需浏览器在线的原因lib/client.js):⏰ 按钮与任务列表挂 conversation.input.right / conversation.input.dock 槽位;侧边栏面板挂 sidebar.footer.action(与 usage-stats 同型);会话跳转用 sessions.open(sessionId);经只读状态路由 GET /plugin-data/dsh-scheduled-send/state 轮询宿主状态<dataDir>/tasks.json,不上传任何内容;状态路由响应不携带任何凭据model 字段被忽略,照常投递npm install
npm test # 63 项测试全绿(node --test,红绿 TDD 全程)
npm run build # 重建客户端 bundle(改 src/client-*.js 后必须执行)
纯 JS、零运行时依赖(DSH 能力全部内联实现,无需 peerDependencies)。结构:src/scheduler.js(持久化队列/补发/退避)、src/delivery.js(kind:'user' 气泡注入)、src/host-routes.js(state/schedule 路由)、src/client-core.js(纯逻辑)、src/client-view.js(⏰ 按钮 + dock + 侧边栏面板)、lib/client.js(构建产物)。
已收录 awesome-dsh-plugin 列表(workflow 分类)。功能建议 / 缺陷欢迎到 Issues。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。