Variable: DistillerChoiceOutputSchema
ts
const DistillerChoiceOutputSchema: ZodDiscriminatedUnion<[ZodObject<{
alsoRemoveIds: ZodOptional<ZodArray<ZodString>>;
op: ZodLiteral<"update">;
proposedContext: ZodOptional<ZodNullable<ZodArray<ZodString>>>;
proposedRepos: ZodOptional<ZodNullable<ZodArray<ZodString>>>;
proposedRole: ZodString;
proposedText: ZodString;
targetId: ZodString;
whyMatched: ZodString;
}, $strip>, ZodObject<{
capMerge: ZodOptional<ZodObject<{
keepId: ZodString;
mergedText: ZodString;
removeId: ZodString;
whyMerged: ZodString;
}, $strip>>;
op: ZodLiteral<"add">;
proposedContext: ZodOptional<ZodArray<ZodString>>;
proposedRepos: ZodOptional<ZodArray<ZodString>>;
proposedRole: ZodString;
proposedText: ZodString;
}, $strip>], "op">;Defined in: schemas/memory-tools.schema.ts:163
Choice item produced directly by the Distiller LLM (referencing targetId without echoing full record metadata).