JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 58
  • Score
    100M100P100Q74856F
  • License Apache-2.0

Runtime/orchestration wiring for Kortyx.

Package Exports

  • @kortyx/runtime

Readme

@kortyx/runtime

npm version CI License TypeScript

Graph execution, node registries, workflow registries, framework adapters, and runtime persistence for Kortyx.

Most application code should import these APIs from kortyx. Use @kortyx/runtime directly when you are wiring custom infrastructure or framework adapters.

Install

pnpm add @kortyx/runtime
npm install @kortyx/runtime

Key APIs

  • createInMemoryWorkflowRegistry(...)
  • createFileWorkflowRegistry(...)
  • registerNode(...)
  • getRegisteredNode(...)
  • createInMemoryFrameworkAdapter(...)
  • createRedisFrameworkAdapter(...)
  • createFrameworkAdapterFromEnv(...)

Persistence

Runtime persistence stores framework execution state such as pending interrupts and resume tokens. Business data should remain owned by your application.

import { createRedisFrameworkAdapter } from "@kortyx/runtime";

export const framework = createRedisFrameworkAdapter({
  url: process.env.KORTYX_REDIS_URL,
});

Documentation

License

Apache-2.0. See LICENSE.