Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/agent / run-state / SerializeRunStateOptions

Interface: SerializeRunStateOptions

Defined in: packages/agent/src/run-state/index.ts:107

Options accepted by serializeRunState.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
stripTracingApiKey?readonlybooleanDeep-redact secret-named keys (apiKey, authorization, bearerToken / accessToken / refreshToken, password, secret, …) anywhere in the snapshot - tool results and messages included - replacing their values with '[redacted]'. Defaults to false for the round-trip canonical helper; the agent runtime passes true when persisting through the checkpoint store (AG-23). Redaction is best-effort by key name: secrets stored under unrelated keys are not detected.packages/agent/src/run-state/index.ts:118