@fabric-harness/temporal
v0.5.0
Published
Temporal.io durable workflow runtime adapter for Fabric Harness.
Maintainers
Readme
@fabric-harness/temporal
Temporal.io durable workflow runtime adapter for Fabric Harness.
Run agents as Temporal workflows. The agent code is unchanged — the runtime swaps. Sessions survive crashes, restarts, and human approval delays via Temporal's durable execution.
Install
npm install @fabric-harness/temporal @fabric-harness/sdkUsage
import { init } from '@fabric-harness/sdk';
const agent = await init({
model: 'anthropic/claude-sonnet-4-6',
runtime: 'temporal',
});Run a worker:
fh temporal-worker --task-queue fabric-harness --address localhost:7233For tests and CI without a Temporal cluster, this package also exports a mock runtime:
import { createMockTemporalRuntime } from '@fabric-harness/temporal';
const runtime = createMockTemporalRuntime({ sessionId: 'test-1' });Documentation
License
Apache-2.0
