UNPKG

@radcliffetech/symbolos-core

Version:

Core symbolic simulation and execution engine for Symbolos

18 lines (17 loc) 832 B
import type { FunctorStep, PipelineArgs, PipelineResult, WorldInstance } from "../types"; /** * Executes a sequence of symbolic functor steps on a WorldInstance. * Handles tick advancement, symbolic output batching, and provenance tracking. * * @param world - The mutable symbolic runtime. * @param steps - Ordered list of functor steps. * @param pipelineArgs - Optional parameter object. * @param frameHandler - Optional post-step hook. * @returns An object containing the updated world, actions, tickCount, optional pipelineRun, and duration in milliseconds. */ export declare function runPipeline({ world, steps, pipelineArgs, frameHandler, }: { world: WorldInstance; steps: FunctorStep[]; pipelineArgs?: PipelineArgs; frameHandler?: (world: WorldInstance) => WorldInstance; }): Promise<PipelineResult>;