Skip to content

PersistentAI API Documentation / @persistentai/fireflow-types / PlanInterpreter

Class: PlanInterpreter

Defined in: packages/fireflow-types/src/flow/execution/runtime/plan-interpreter.ts:39

The central execution loop. Walks the SP-tree recursively.

Series: sequential execution Parallel: concurrent branches Leaf: delegates to node executor (with cascade checkpoint for early streaming) Fused: delegates to cluster executor

Constructors

Constructor

new PlanInterpreter(flow, context, portResolver, eventManager, transferService, state, options?, debugger_?): PlanInterpreter

Defined in: packages/fireflow-types/src/flow/execution/runtime/plan-interpreter.ts:44

Parameters

flow

Flow

context

ExecutionContext

portResolver

PortResolver

eventManager

EventManager

transferService

EdgeTransferService

state

EngineState

options?

SPTreeExecutionOptions

debugger_?

DebuggerController | null

Returns

PlanInterpreter

Methods

execute()

execute(plan): Promise<void>

Defined in: packages/fireflow-types/src/flow/execution/runtime/plan-interpreter.ts:70

Execute the entire plan.

Parameters

plan

ExecutionPlan

Returns

Promise<void>

Licensed under BUSL-1.1