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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
audit? | readonly | ReplayAuditBridge | Optional audit bridge — called once per replay invocation. | packages/observability/src/replay/types.ts:88 |
canReadRaw? | readonly | (context) => boolean | Scope 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.id | readonly | string | - | packages/observability/src/replay/types.ts:42 |
defaultActor.kind | readonly | "agent" | "system" | "token" | "cli" | - | packages/observability/src/replay/types.ts:42 |
validator? | readonly | RedactionValidatorInstance | Validator used to sanitize records when mode === 'sanitized'. | packages/observability/src/replay/types.ts:86 |