chat@4.29.0
Minor Changes
-
ac8a207: Add
chat/aisubpath as the home for AI utilities, includingcreateChatToolsfor the Vercel AI SDK andtoAiMessagesfor converting chat history into AI SDK prompts.createChatToolsexposes Chat SDK operations as ready-to-use AI SDK tools so an agent can read messages, post replies, send DMs, react, edit, delete, and manage thread subscriptions across every adapter the suppliedChatinstance has registered. Write operations require user approval by default and can be toggled globally or per-tool viarequireApproval. Three presets (reader,messenger,moderator) scope the toolset, and tools can also be cherry-picked from the same subpath.toAiMessages(and theAiMessage/AiMessagePart/ToAiMessagesOptionstypes) now ship fromchat/aialongside the tools — keeping the optionalaiandzodpeer dependencies out of bundles that don't use them. The previouschatre-exports continue to work, but are marked@deprecatedso editors surface a hint pointing atchat/ai; existing code keeps compiling, and migrating is a single import-path change. -
b75eedb: add burst concurrency strategy
Patch Changes
- e60bc8c: chore: set supported Node versions in engines