Add t3code oxlint schema compile rule

Co-authored-by: codex <[email protected]>
This commit is contained in:
Julius Marmingeandcodex committed 2026-05-08 11:27:39 -07:00
1 parent 06c2b010c6
commit 3dd82e21b0
74 files changed
+425 -250

No files matched your search

@@ -352,9 +352,8 @@ export const makeOpenCodeTextGeneration = Effect.fn("makeOpenCodeTextGeneration"
releaseSharedServer,
);
return yield* Schema.decodeEffect(Schema.fromJsonString(input.outputSchemaJson))(
extractJsonObject(rawOutput),
).pipe(
const decodeOutput = Schema.decodeEffect(Schema.fromJsonString(input.outputSchemaJson));
return yield* decodeOutput(extractJsonObject(rawOutput)).pipe(
Effect.catchTag("SchemaError", (cause) =>
Effect.fail(
new TextGenerationError({