Workflow SDK
You write scripts in the workflow designer in TypeScript against the SDK @acriva/workflow-sdk. A script imports nothing but '@acriva/workflow-sdk' and default-exports exactly one defineScript(…); the SDK describes the hooks, ctx with the document, the instance and the effects, the helpers for amounts and days, and your workspace’s types.
How to write, test and publish a script is in the guide Customize and program workflows. Every SDK version has its own API reference: a workflow keeps the version it was published with, and the page of a released version doesn’t change any more.
Versions
Section titled “Versions”- Workflow SDK 1.0.0 (unreleased)
What changed in each version is in the changelog.