Skip to content

PromptScript API


Interface: ProvenanceEventOptions

Defined in: core/src/provenance.ts:356

Properties

baseBody?

readonly optional baseBody?: BlockBody

Defined in: core/src/provenance.ts:362

Base canonical body used to suppress duplicate append events.


baseContent?

readonly optional baseContent?: BlockContent

Defined in: core/src/provenance.ts:364

Base content used to suppress duplicate append events.


finalBody?

readonly optional finalBody?: BlockBody

Defined in: core/src/provenance.ts:360

Final canonical body used to preserve source locations during mapping.


finalContent?

readonly optional finalContent?: BlockContent

Defined in: core/src/provenance.ts:358

Final content used to map incoming values to final canonical positions.


resolveDetails?

readonly optional resolveDetails?: (path, node) => Pick\<ProvenanceEvent, "action" | "strategy"> | undefined

Defined in: core/src/provenance.ts:366

Per-path strategy override for skill-aware merges.

Parameters

path

string

node

ValueNode

Returns

Pick\<ProvenanceEvent, "action" | "strategy"> | undefined