Patch Changes
-
#10327
5dc11b5Thanks @hntrl! - fix(core): replace exported zod type references with structural duck-type interfaces to fix TypeScript OOMReplaces all exported Zod type references (
z3.ZodType,z4.$ZodType, etc.) in@langchain/core's public API with minimal structural ("duck-type") interfaces. This prevents TypeScript from performing expensive deep structural comparisons (~3,400+ lines of mutually recursive generics) when downstream packages resolve a different Zod version than@langchain/core, which was causing OOM crashes and unresponsive language servers in monorepo setups. -
#10433
7af0b65Thanks @tanushree-sharma! - feat: Add LangSmith integration metadata to createAgent and initChatModel