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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
stripTracingApiKey? | readonly | boolean | Deep-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 |