mirror of
https://github.com/morluto/rea.git
synced 2026-11-22 14:35:45 +00:00
* feat(kuna): allow independent decompile retries
* fix(kuna): correct independent retry recovery
* feat(native): retain decompile export source facts
* test(native): verify historical export source facts
* test(kuna): bound retry lifecycle acknowledgement
* test(native): retain source after export conflict
* feat(kuna): allow independent decompile retries
* fix(kuna): correct independent retry recovery
* test(kuna): bound retry lifecycle acknowledgement
* feat(native): retry failed directory decompiles independently
* fix(native): guide directory retry after provider failure
* fix(native): point retry caveats to the journal
* style(test): format CLI help default annotations (#9280)
(cherry picked from commit ac30fbd658)
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
16 lines
428 B
TypeScript
16 lines
428 B
TypeScript
import { z } from "zod";
|
|
|
|
/** Provider-observed reasons for a null pseudocode result. */
|
|
export const pseudocodeAbsenceSchema = z.discriminatedUnion("kind", [
|
|
z.strictObject({
|
|
kind: z.literal("provider-failure"),
|
|
reason: z.string().min(1),
|
|
}),
|
|
z.strictObject({
|
|
kind: z.literal("not-in-export"),
|
|
reason: z.string().min(1),
|
|
}),
|
|
]);
|
|
|
|
export type PseudocodeAbsence = z.infer<typeof pseudocodeAbsenceSchema>;
|