Interface: PredecessorOutputs
Defined in: packages/core/src/graph/types.ts:125
The union of predecessor outputs fed into a node's combine function. The
shape carries BOTH id-keyed and label-keyed views so custom combines can
choose the one that fits — id is stable across renames, label is stable
across refactors within a graph. order is the topologically-sorted list
of predecessor node ids, useful for fold-style combines.
sourceRowId is the provenance tag the default combine aligns on. Custom combines that change cardinality (join, aggregate) are responsible for emitting a NEW sourceRowId for their output rows.
Properties
byId
byId:
Record<string,unknown>
Defined in: packages/core/src/graph/types.ts:127
Output keyed by predecessor node id (stable).
byLabel
byLabel:
Record<string,unknown>
Defined in: packages/core/src/graph/types.ts:129
Output keyed by predecessor node label (ergonomic in prompts).
order
order:
string[]
Defined in: packages/core/src/graph/types.ts:131
Predecessor node ids in topological position.
sourceRowId
sourceRowId:
string
Defined in: packages/core/src/graph/types.ts:133
Provenance tag for this execution. See Provenance Invariant.