import { z } from "zod"; import { BaseTaskSchema } from "./common.js"; // ── 终止流程节点 ───────────────────────────────────────────────────────────── export const StopTaskSchema = BaseTaskSchema.extend({ type: z.literal("stop"), }).passthrough(); export type StopTask = z.infer;