dsh-wake-up

按需叫醒休眠的 DSH 会话:当前没活着的会话会带着它上次用的 provider/model 路由从磁盘 resume 回来,让 QQ 通道、定时任务、webhook、别的插件这类外部集成能正常投递,而不是撞上「那间会话现在没活着」。提供 HTTP 端点、wake_session 工具和 ctx.wakeUp 服务;resume 只把历史读回内存,本身不消耗模型请求。

插件介绍

按需叫醒休眠的 DSH 会话:当前没活着的会话会带着它上次用的 provider/model 路由从磁盘 resume 回来,让 QQ 通道、定时任务、webhook、别的插件这类外部集成能正常投递,而不是撞上「那间会话现在没活着」。提供 HTTP 端点、wake_session 工具和 ctx.wakeUp 服务;resume 只把历史读回内存,本身不消耗模型请求。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:TiFu799/dsh-wake-up

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。