2026-01-27 20:29:20 +00:00
|
|
|
import type { ExecutionStep } from "./ExecutionStep";
|
2025-12-30 19:07:00 +00:00
|
|
|
import type { SubmitPlanArgs } from "AIClasses/Schemas/AIFunctionSchemas";
|
|
|
|
|
|
|
|
|
|
export class ExecutionPlan {
|
|
|
|
|
|
2026-01-07 20:00:40 +00:00
|
|
|
public readonly isReplan: boolean;
|
2026-01-27 20:29:20 +00:00
|
|
|
public readonly executionSteps: ExecutionStep[];
|
2025-12-30 19:07:00 +00:00
|
|
|
|
2026-01-07 20:00:40 +00:00
|
|
|
public constructor(plan: SubmitPlanArgs, isReplan: boolean) {
|
2026-01-27 20:29:20 +00:00
|
|
|
this.executionSteps = plan.steps;
|
2026-01-07 20:00:40 +00:00
|
|
|
this.isReplan = isReplan;
|
2025-12-30 19:07:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|