TanStack
OSS
ai
Sign in / Sign up
Open main menu
ai
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
fix/276-arktype-callable-schema
689cc8ef fix(ai): detect callable ArkType schemas in convertSchemaToJsonSchema (#276) ArkType's type() returns a callable function with ~standard attached, not a plain object. The Standard Schema detection guards required `typeof schema === 'object'`, so ArkType schemas matched neither branch and fell through the JSONSchema pass-through, returning the raw validator function instead of a converted JSON Schema object. This also meant tool input/output validation silently skipped ArkType schemas. Add an isPropertyCarrier helper that accepts both objects and callable functions, and route both isStandardJSONSchema and isStandardSchema through it. Add unit coverage (conversion, guards, structured output, parse/validate) plus an end-to-end wire-format regression asserting the converted JSON Schema reaches the provider.
by Alem Tuzlak
A
Succeeded
fix/276-arktype-callable-schema
689cc8ef Merge 32b980df1787dff9e5620ee170c7cfa993a9639c into 548e113627ca373256cce5d549a9938f39b81fe9
by Alem Tuzlak
A
Previous page
Previous
Next
Next page