mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
pi-schema: opt-in coercion, compile(schema, { coerce: true }) with coerce() and
parse(), the superset of TypeBox's Value.Convert rules and pi-ai's old coercion;
unresolvedRefs option; url and json-pointer-uri-fragment formats.
pi-ai: Tool takes any JSON Schema; validation through pi-schema; Type, Static
and TSchema are no longer exported (breaking). pi-agent-core and pi-durable:
tools on pi-schema, no TypeBox dependency. Coding agent: extensions keep Type,
Static, TSchema and StringEnum through an extension view of pi-ai; built-in
tools stay on TypeBox.
|
||
|---|---|---|
| .. | ||
| formats | ||
| annotations.ts | ||
| builders.ts | ||
| checks.ts | ||
| coerce.ts | ||
| compiler.ts | ||
| explain.ts | ||
| index.ts | ||
| resolver.ts | ||
| shared.ts | ||
| types.ts | ||
| validator.ts | ||