← 返回列表

dsh-resume-on-restart

DeepSeek Harness 会话与消息 低风险

检测 DSH 服务重启后自动唤醒主 agent:对比上次运行时间、人性化播报中断时长,并把提示消息投递回来让中断的工作自动恢复。仅依赖 cordis ctx 服务,兼容 DSH Desktop 打包环境。

Auto-wakes the main agent after a DSH service restart: compares last-run timestamps, posts a recovery notice with humanized downtime, and delivers it so interrupted work picks itself back up. Runs on plain cordis ctx, packaged-DSH-Desktop ready.

怎么安装

DeepSeek Harness dsh plugin add github:nickkkkkk123123/dsh-resume-on-restart

简介

dsh-resume-on-restart DSH 插件:检测 DSH 服务重启后,自动向主 agent 投递一条**信息性消息**(含中断时长、上次活跃会话等状态摘要),让 agent **自主决定**是否继续之前的工作或启动新任务。 解决"DSH 重启后会话中断、工作丢失"的问题——重启后 agent 收到提示,可自行恢复。 特性 🔄 **重启检测**:通过 marker 文件(记录上次 pid / 启动时间)判断是否发生重启 💬 **信息性消息**:重启后投递"检测到重启 + 中断时长 + 上次活跃会话"摘要,由 agent 自主决定下一步(而非命令式强制"继续") 🎯 **活动追踪**:运行期间通过 cordis 事件(agent/session-start、agent/pre-step)追踪最近活跃会话,供重启后参考 ✅ **兼容 DSH Desktop**:只依赖 cordis ctx 的 agents 服务,不 import 任何 @deepseek-ai/dsh-* 内部包,可在 DSH Desktop 打包环境(app.asar)运行 安装 powershell 用 dsh CLI 装到桌面 profile(DSH Desktop 默认用 desktop) dsh plugin --profile desktop add <本目录路径> 重启 DSH Des…

推荐参考

44 工具本身 · 参考星标、下载量、最近更新、安全检查和文档情况
– 用户关注 · 参考最近的查看、安装命令复制和外链访问
44 推荐程度
0访问
0独立访客
0复制安装命令
0下载点击
0外链跳转

信息

协议
MIT
语言
JavaScript
GitHub 星标
1
月下载
–
最近更新
2026-08-29
创建于
2026-08-28

链接

GitHub ↗ 报告问题 ↗

基础安全检查

检查结果
curated 收录但无 npm 包/安装命令
收录来源
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
主题标签
agent, cordis, deepseek, deepseek-harness, dsh-plugin, restart, resume, session

同类推荐

DeepSeek Harness
推荐77

DSH-EasyRewrite

Renzic-Stone/DSH-EasyRewrite

在 dsh web 中内联编辑与撤回自己的消息——惰性、无痕,带版本翻页器与会话级草稿持久化。

☆ 116 ↓ 5.7K 会话与消息 ↗
DeepSeek Harness 新上架
推荐71

dsh-web

zhu1090093659/dsh-web-ui/tree/main/packages/dsh-chat-recovery

对话恢复插件:编辑最近一轮已结束的用户消息、显式重试失败轮次;两条路径都走 session fork 分支,原会话不被改动。

☆ 5.9K ↓ – 会话与消息 ↗
DeepSeek Harness
推荐71

dsh-nested-followups

sluminositys/dsh-nested-followups

从任意层级的已完成回答持续创建隔离分支,主会话始终不受影响。

☆ 48 ↓ 830 会话与消息 ↗
DeepSeek Harness 精选
推荐69

dsh-session-sync

PerryLink/dsh-session-sync

DeepSeek Harness 的跨设备会话同步:经 git 在多机之间同步会话与设置。

☆ 12 ↓ 2.8K 会话与消息 ↗