pi-mono/packages/coding-agent/src/experimental/services/transcript.ts
Armin Ronacher 34dc9d055a feat: move facet services into Chord
Move service, replicated-state, facet host, and loader ownership into the standalone Chord package. Migrate consumers and leave runtime JSON enforcement to serializers.
2026-08-29 14:55:51 +02:00

14 lines
436 B
TypeScript

import { type Context, defineService } from "@earendil-works/chord";
import type { LaneSnapshot } from "@earendil-works/pi-protocol";
export interface TranscriptSnapshot {
revision: number;
lane: LaneSnapshot;
}
export interface Transcript {
/** Authoritative snapshot at one transcript revision. */
snapshot(context: Context): Promise<TranscriptSnapshot>;
}
export const Transcript = defineService<Transcript>("pi.transcript");