Skip to content

Interface: GroundingSnapshotRecord ​

Defined in: ports/compiled-wire-prefix.ts:22

Run-start snapshot of a .sharedGrounding() source persisted on CompiledWirePrefix.

Enables computing in-run updatedGroundingDiffs across process restarts without mutating byte 0 of systemPromptText.

Properties ​

PropertyModifierTypeDescriptionDefined in
digestreadonlystringSHA-256 hex digest of text at run start.ports/compiled-wire-prefix.ts:28
sourceIdreadonlystringIdentifier of the grounding SourceASTNode.ports/compiled-wire-prefix.ts:24
textreadonlystringFull UTF-8 text of the grounding source at run start.ports/compiled-wire-prefix.ts:26

Released under the MIT License.