Outblock/dsh-headless-resumable

Outblock★ 0JavaScript最后同步: 2026-08-16

在 GitHub 打开

Resumable drop-in replacement for the dsh (DeepSeek Harness) headless runner: deterministic session id, restore-and-continue, and a SIGTERM handler that settles the turn before exiting

README 摘要

@outblock/dsh-headless-resumable A resumable drop-in replacement for the dsh --profile headless runner. The problem @deepseek-ai/dsh-headless mints its session identity inside run() : and dsh --profile headless accepts no flag beyond --help . So an unattended run is unaddressable: its transcript lands on disk under an id nobody wrote down, and nothing can ask for it back. A process that dies — a Fly deploy SIGTERMs in-flight work on every deploy, and an agent build can run for hours — takes the whole run with it. Everything needed to fix that is already in dsh core. ctx.agents.resume() is published API, the JSONL persistence backend is mounted in the headless bundle already, and its crash-repair path is specified and (see below) works. The only missing piece was a runner that reaches them. What it is The shipped headless bundle patch is a declarative entry list, so this is a replacement, not a fork : the overlay disables the stock headless-runner row and inserts this package in its place. It depends on dsh's published packages; it patches nothing and vendors nothing. Not on npm — install it from git, which puts it at the same path (npm derives the folder from package.json 's name ,…

在 GitHub 查看完整 README →
Agent/智能体agentdeepseek-harnessdsh-plugin

分类