@xemahq/temporal-runtime
v0.3.0
Published
Temporal workers and clients for Xema — connection management, on-behalf-of auth interceptors, schedules, and search attributes.
Readme
@xemahq/temporal-runtime
Shared glue for Temporal workers and clients
Overview
Shared runtime glue for services that run Temporal workflow workers or start workflows. It provides one battle-tested setup so services do not drift: connection handling, an on-behalf-of activity-auth context, a worker factory that wires the interceptor and payload codec, an authenticated service HTTP client for activities, idempotent schedule reconciliation, and a closed set of visibility search attributes.
When to use it
- Use it in any service that runs a Temporal worker or starts a workflow.
Installation
pnpm add @xemahq/temporal-runtimeUsage
import { createPlatformWorker } from '@xemahq/temporal-runtime';
const worker = await createPlatformWorker(workerOptions);
await worker.run();Peer requirements
@nestjs/common^10 || ^11reflect-metadata^0.2
License
Apache-2.0 © Xema — xema.dev
