Skip to content

chat@4.37.0

Choose a tag to compare

@github-actions github-actions released this 07 Aug 17:37
· 39 commits to main since this release
3468cdf

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/notion for Notion page and block comment discussions: webhook HMAC verification, Post+Edit streaming, conversation history, message.subject page metadata, plain-text @userName/@botUserId mention detection, and File Uploads (up to 3 native attachments). Registers the adapter in the chat/adapters catalog and create-chat-sdk CLI 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 new strictScope: true to 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, or onMemberJoinedChannel handler that reads another channel will now be rejected. Pass an explicit scope, or scope: false for intentionally workspace-wide reads.