chat@4.37.0
Minor Changes
-
2a2b2c5: Add a native Instagram Direct Messages adapter with signed webhooks, media, quick replies, story context, reactions, and typed Meta API errors.
-
4ac0455: Add message update and delete lifecycle callbacks, with Slack message_changed and message_deleted dispatch support.
-
0ec6a73: Add
@chat-adapter/notionfor Notion page and block comment discussions: webhook HMAC verification, Post+Edit streaming, conversation history,message.subjectpage metadata, plain-text@userName/@botUserIdmention detection, and File Uploads (up to 3 native attachments). Registers the adapter in thechat/adapterscatalog andcreate-chat-sdkCLI scaffold, and adds Notion emoji platform support. -
85e3d22: Close residual gaps in agent read-tool scoping.
createChatTools's read guard now wraps modal, assistant-thread, assistant-context, app-home, app-context, and member-joined dispatch so tools built in those handlers inherit the active conversation, and it logs a warning (instead of failing open silently) when a read runs with no resolvable scope. Scoping stays channel-level by default, so a thread scope still permits sibling threads in its channel. Pass the newstrictScope: trueto confine a thread scope to that thread alone, rejecting both sibling threads and the parent channel, which matters on platforms where a channel is the widest read available (a GitHub channel is an entire repo).Note that reads inside those newly wrapped handlers were previously unscoped. An agent built in an
onModalSubmit,onAppHomeOpened, oronMemberJoinedChannelhandler that reads another channel will now be rejected. Pass an explicitscope, orscope: falsefor intentionally workspace-wide reads.