Skip to content

Graphorin API reference v0.7.0


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

Variable: RUN_STATE_SCHEMA_VERSION

ts
const RUN_STATE_SCHEMA_VERSION: "graphorin-run-state/1.2";

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

Canonical schema id for serialized RunState payloads.

1.2 encodes binary message/tool-outcome payloads (Uint8Array | URL) through the core WireRunState projection (base64 / href envelopes) instead of letting JSON.stringify corrupt them. 1.0/1.1 payloads remain readable; their corrupted numeric-key byte objects are repaired best-effort on rehydration.

Stable