@duraton/sdk is how you author workflows, run them on a runner, and talk to Duraton from app code.
Install it and import from the package root:
Entry points
Every export is reachable from the package root. The scoped entries are subsets, for code that should not pull in the rest.The surface
Defining workflows
workflow: name, triggers, retry, flow control.
Steps
The handler context and the durable step API.
connect
Run a runner over an outbound WebSocket - no inbound URL.
REST client
createClient: trigger events, read and control runs.
AI steps
step.ai: durable model calls, agent loops, providers, cache.