Handler Overview
Handlers are persistent containerized programs. They read one task per line from stdin and write exactly one JSON response per task to stdout. The process remains alive for subsequent tasks.Request and Response
attempt = stored attempts + 1, starting at attempt: 1. API attempts starts at zero and increments on retry scheduling or a Failed marking; successful completion does not increment it. An initial success therefore has request attempt: 1 and API attempts: 0, while an initial terminal failure stores attempts: 1. Recovery can repeat the same request attempt, so this number is not a unique execution counter. task_id remains the same across retries and recovery. Deduplicate external effects by this ID when needed.
SDKs
SDK source is in TaskDaemon-Handlers. The Python packagetaskdaemon==0.1.0 is published on PyPI. Go module github.com/jona62/TaskDaemon-Handlers/go@v0.1.2 is published and verified through the public Go proxy. npm, crates.io, Maven Central, and NuGet uploads are pending; their guides use source installation.