fix(ai): update TypeBox nullable array validation (#7243)

Bump TypeBox to 1.3.7 so compiled validators guard array-specific keywords when null is accepted, and cover tool-argument validation with a regression test.

Breaking for extensions: TypeBox 1.3 removes deprecated APIs including Type.Base, Type.Awaited, Type.Promise, Type.AsyncIterator, Type.Iterator, Type.Options, and Value.Mutate. Extensions using these through Pi's bundled TypeBox aliases must migrate to supported TypeBox APIs.

Fixes #7003
This commit is contained in:
Petr Houška 2026-07-29 10:31:07 +02:00 • committed by GitHub
parent fb4ecd633e
commit f9476a61e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 34 additions and 21 deletions

View file

@ -54,7 +54,7 @@
"minimatch": "10.2.5",
"proper-lockfile": "4.1.2",
"semver": "7.8.0",
"typebox": "1.1.38",
"typebox": "1.3.7",
"undici": "8.5.0",
"yaml": "2.9.0"
},