refactor: return complete analysis results inline

This commit is contained in:
morluto
2026-09-29 08:07:24 +08:00
parent 07ff8b30ee
commit a2a3243ea8
127 changed files with 402 additions and 1508 deletions
-2
View File
@@ -30,14 +30,12 @@ const workerOutcomeSchema = z.discriminatedUnion("outcome", [
const singleWorkerResponseSchema = z
.object({
schema_version: z.literal(1),
left: z.array(workerOutcomeSchema),
})
.strict();
const differentialWorkerResponseSchema = z
.object({
schema_version: z.literal(1),
left: z.array(workerOutcomeSchema),
right: z.array(workerOutcomeSchema),
})