/** * ollama_artifact_diff — structured same-pack comparison. * * Identity-first: both sides come in as {pack, slug}. No path-based * escape hatch in this slice — artifact_read already covers that * surface for callers who need it. * * Cross-pack diffs throw SCHEMA_INVALID. Pack payloads stay distinct * by design; a flattened "generic" diff would defeat the job-shape * discipline the rest of the product enforces. * * Weak flip is surfaced at the result top level, not buried inside the * field diff — a brief going from strong to weak (or vice versa) is * the single most important review signal. */ import { z } from "zod"; import type { Envelope } from "../envelope.js"; import type { RunContext } from "../runContext.js"; import { type ArtifactDiffResult } from "./artifacts/diff.js"; export declare const artifactDiffSchema: z.ZodObject<{ a: z.ZodObject<{ pack: z.ZodEnum<{ incident_pack: "incident_pack"; repo_pack: "repo_pack"; change_pack: "change_pack"; }>; slug: z.ZodString; }, z.core.$strip>; b: z.ZodObject<{ pack: z.ZodEnum<{ incident_pack: "incident_pack"; repo_pack: "repo_pack"; change_pack: "change_pack"; }>; slug: z.ZodString; }, z.core.$strip>; extra_artifact_dirs: z.ZodOptional>; }, z.core.$strip>; export type ArtifactDiffInput = z.infer; export declare function handleArtifactDiff(input: ArtifactDiffInput, ctx: RunContext): Promise>; //# sourceMappingURL=artifactDiff.d.ts.map