Patch Changes
-
#10243
96c630dThanks @hntrl! - fix: add explicit: symboltype annotations to Symbol.for() declarations for cross-version compatibilityTypeScript infers
unique symboltype when Symbol.for() is used without an explicit type annotation, causing type incompatibility when multiple versions of the same package are present in a dependency tree. By adding explicit: symbolannotations, all declarations now use the general symbol type, making them compatible across versions while maintaining identical runtime behavior.Changes:
- Added
: symboltoMESSAGE_SYMBOLin messages/base.ts - Added
: symboltoMIDDLEWARE_BRANDin agents/middleware/types.ts (also changed from Symbol() to Symbol.for() for cross-realm compatibility)
- Added
-
#10256
a8b9cccThanks @colifran! - fix(core): standard schema type guards don't support callable schemas -
#10204
a1f22bbThanks @colifran! - feat(core): implement standard schema support for structured output