Skip to content

Graphorin API reference v0.13.8


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

Interface: DeserializeOptions

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

Stable

Options accepted by deserializeRunState / runStateFromJSON.

Properties

PropertyModifierTypeDescriptionDefined in
logger?readonly(message) => voidLogger callback for one-time INFO messages emitted on backwards-compat synthesis. Defaults to a no-op.packages/agent/src/run-state/index.ts:258
synthesizeUsageByModel?readonlybooleanSynthesize usageByModel from a v0.1-alpha state that omits the field. Defaults to true so callers can rehydrate older states without explicit migration.packages/agent/src/run-state/index.ts:253