Formats (TS, YAML, JSON)
Kortyx currently supports all three authoring formats.
Good to know: Exact handler resolution rules for
runstrings are documented in Node Resolution.
TypeScript
YAML
JSON
How loading works in current packages
@kortyx/core/loadWorkflowparsesstring | Buffer | object- JSON text starts with
{/[and is parsed as JSON - otherwise it is parsed as YAML (
js-yaml) @kortyx/runtime/createFileWorkflowRegistryscans these file extensions:.workflow.ts,.workflow.mts,.workflow.js,.workflow.mjs.workflow.json,.workflow.yml,.workflow.yaml