trellis
Version:
Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications
20 lines • 793 B
TypeScript
import type { TrellisKernel } from '../core/kernel/trellis-kernel.js';
import { AgentHarness } from '../core/agents/harness.js';
import type { PipelineRun, OrchestratorConfig } from './types.js';
export declare class Orchestrator {
private kernel;
private harness;
private config;
private runs;
constructor(kernel: TrellisKernel, harness: AgentHarness, config?: OrchestratorConfig);
getConfig(): Required<OrchestratorConfig>;
startPipeline(pipelineId: string, input: string): Promise<PipelineRun>;
getRun(runId: string): PipelineRun | undefined;
listRuns(): PipelineRun[];
private _resolvePhases;
private _resolveRelationId;
private _executePipeline;
private _recordHandoff;
private _saveRun;
}
//# sourceMappingURL=orchestrator.d.ts.map