co-mono/packages/ai/src
Mario Zechner e8370436d7 Replace Zod with TypeBox for schema validation
- Switch from Zod to TypeBox for tool parameter schemas
- TypeBox schemas can be serialized/deserialized as JSON
- Use AJV for runtime validation instead of Zod's parse
- Add StringEnum helper for Google API compatibility (avoids anyOf/const patterns)
- Export Type and Static from main package for convenience
- Update all tests and documentation to reflect TypeBox usage
2025-09-16 01:10:40 +02:00
..
agent Replace Zod with TypeBox for schema validation 2025-09-16 01:10:40 +02:00
providers Replace Zod with TypeBox for schema validation 2025-09-16 01:10:40 +02:00
event-stream.ts Fix streaming for z-ai in anthropic provider, add preliminary support for tool call streaming. Only reporting argument string deltas, not partial JSON objects 2025-09-09 04:26:56 +02:00
index.ts Replace Zod with TypeBox for schema validation 2025-09-16 01:10:40 +02:00
models.generated.ts chore: bump version to 0.5.35 2025-09-15 20:32:50 +02:00
models.ts refactor(ai): Simplify API with new streaming interface and model management 2025-09-03 01:25:19 +02:00
stream.ts feat(ai): Implement Zod-based tool validation and improve Agent API 2025-09-09 14:58:54 +02:00
typebox-helpers.ts Replace Zod with TypeBox for schema validation 2025-09-16 01:10:40 +02:00
types.ts Replace Zod with TypeBox for schema validation 2025-09-16 01:10:40 +02:00
validation.ts Replace Zod with TypeBox for schema validation 2025-09-16 01:10:40 +02:00