refactor(orchestrator): return validated worker results (CL20)

This commit is contained in:
Boki 2026-10-26 20:40:58 -04:00
parent 6055aeeee9
commit 8a5d0c3ef2
8 changed files with 145 additions and 23 deletions

View file

@ -94,4 +94,5 @@ export const nativeWorkerMessageSchema = z.discriminatedUnion('type', [
]);
export type NativeWorkerRequest = z.input<typeof nativeWorkerRequestSchema>;
export type RetainedStrategyRequest = z.input<typeof retainedStrategyRequestSchema>;
export type NativeWorkerMessage = z.infer<typeof nativeWorkerMessageSchema>;