Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(dispatch): cross-flow follow-up files
  • Loading branch information
jhoffner committed Sep 6, 2026
commit 3933b294fe21cdf24dc559e2e233aa8d256c5d82
7 changes: 7 additions & 0 deletions packages/engine/src/context/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,13 @@ export type RequestHostConstructionInputs = {
* there explicitly.
*/
dispatchOperation?: DispatchOperation;
/**
* Resolves another registered flow by kind, for a cross-flow dispatch
* address. Wired from the host's flow registry. Absent → every cross-flow
* address refuses `flow-not-found`, the same fail-closed shape
* `dispatchOperation` has.
*/
resolveFlow?: (kind: string) => FlowInstance | undefined;
/** The parent-board row this request was dispatched for, stamped at spawn. */
parentTask?: ParentTaskBinding;
/** The stale-request sweeper's threshold. */
Expand Down