Skip to content

PromptScript API


Interface: ProvenanceEntry

Defined in: core/src/types/provenance.ts:45

Provenance for one final block or nested value path.

Properties

history

readonly history: readonly ProvenanceStep[]

Defined in: core/src/types/provenance.ts:56

Ordered declaration and composition history for the final value.


kind

readonly kind: "block" | "field" | "value" | "list" | "text" | "inline-use"

Defined in: core/src/types/provenance.ts:52

Kind of final value represented by the path.


path

readonly path: string

Defined in: core/src/types/provenance.ts:50

Canonical path. Blocks use block, fields use block.field, and list entries use block[0] or block.field[0].


source

readonly source: SourceLocation

Defined in: core/src/types/provenance.ts:54

Source location of the final value declaration.