TanStackOSS
    ai
    fix(ai): infer Zod outputSchema instead of collapsing to unknown (#563) Zod's core $ZodType['~standard'] is typed as StandardSchemaV1.Props (no jsonSchema converter), so chat({ outputSchema: zodSchema }) fell through to unknown and forced callers to cast or re-parse. Widen SchemaInput + InferSchemaType to also match StandardSchemaV1 so the inference recovers; runtime path is unchanged. Add an actionable runtime error for validator-only schemas (no ~standard.jsonSchema) that the type widening now lets through. Closes #562 Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    nx run-many --targets=build --exclude=examples/**
Succeeded
CI Pipeline Execution

nx run-many --targets=build --exclude=examples/**

Click to copy
Linux
4 CPU cores
f7700ec9511

Get faster results

Learn how to enable distribution.

Atomizer enabled

33 groups of tasks optimized.

© 2026 - Nx Cloud

Terms of ServicePrivacy PolicyChangelogStatusDocsContact Nx CloudPricingCompany@NxDevTools