Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/observability / / ReplayOptions

Interface: ReplayOptions

Defined in: packages/observability/src/replay/types.ts:84

Configuration shape for createReplay.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
audit?readonlyReplayAuditBridgeOptional audit bridge — called once per replay invocation.packages/observability/src/replay/types.ts:88
canReadRaw?readonly(context) => booleanScope check invoked when the caller asks for mode: 'raw'. Returns true to allow, false to deny. The server (Phase 14) wires this to the traces:read:raw token scope; in library mode it defaults to () => true (operators trust their own process).packages/observability/src/replay/types.ts:97
defaultActor?readonly{ id: string; kind: "agent" | "system" | "token" | "cli"; }Default actor reported via audit.actor when none is supplied.packages/observability/src/replay/types.ts:90
defaultActor.idreadonlystring-packages/observability/src/replay/types.ts:42
defaultActor.kindreadonly"agent" | "system" | "token" | "cli"-packages/observability/src/replay/types.ts:42
validator?readonlyRedactionValidatorInstanceValidator used to sanitize records when mode === 'sanitized'.packages/observability/src/replay/types.ts:86