✦ Features 13
- add guardLatestUserMessage guardrail optionmodel
- implement Plugin system to replace HookProvider
- add A2A protocol support with AgentBase interfacea2a
- add otel meterotel
- make Swarm start optional, defaulting to first nodemultiagent
- add promptcaching for bedrock model providermodel
- add agents-as-tools exampletool
- replace agentId with id and add id/name/description to AgentBase
- support documentblock, imageblock, videoblock in model providers that support it
- strongly type the conversation-manager
- add MultiAgentState to remaining multi-agent streaming eventsmultiagent
- align S3 location pattern with Python SDK
- add TTFB metric, Langfuse detection, system prompt on chat spansotel
⊘ Fixes 10
- delete package-lock.json
- fix build errors locally and on actions
- migrate plugins to be an interface
- resolve peer dependency type errors for consumers with skipLibCheck: false
- export LocalAgent and MultiAgent types for plugin authorsmultiagent
- narrow multi-agent input type to exclude Message[] and MessageData[]multiagent
- fix export type bug
- fix model sliently overwrites syntaxerror when both maxtoken& syntax occur
- fix file editor replace bug
- fix agent retry pass in same argagent
⋯ Other 10
- add concrete metric assertions and usage support to MockMessageModel
- add multi-agent orchestration documentation and examplesmultiagent
- extract MIME type utilities into dedicated mime module
- widen AgentNode and orchestrators to accept AgentBase with type discriminators
- make StateSerializable use symbols for private api implementations
- rename vended tools modules from snake_case to kebab-casetool
- split agent interfaces into InvokableAgent and LocalAgent, rename MultiAgentBase to MultiAgentmultiagent
- document NodeStreamUpdateInnerEvent source values
- remove v1 issue template
- rename AppState to StateStore and Agent.state to Agent.appStateagent