From f1702fb816f7067ab334ccd976143c7eb2f2a0df Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 17:53:33 +0000 Subject: [PATCH] chore(release): version packages --- .changeset/legal-ways-reply.md | 6 ------ .changeset/neat-bugs-invent.md | 5 ----- .changeset/notion-comments-adapter.md | 7 ------- .changeset/scoped-agent-reads.md | 7 ------- .changeset/slack-stream-mention-resolution.md | 5 ----- .changeset/slack-unfurl-url-bound.md | 5 ----- .changeset/swift-otters-group.md | 5 ----- .changeset/teams-strip-html-tags.md | 5 ----- .changeset/two-corners-rescue.md | 5 ----- .changeset/whatsapp-context-variants.md | 5 ----- .changeset/x-crc-token-shape.md | 5 ----- packages/adapter-discord/CHANGELOG.md | 10 ++++++++++ packages/adapter-discord/package.json | 2 +- packages/adapter-gchat/CHANGELOG.md | 14 ++++++++++++++ packages/adapter-gchat/package.json | 2 +- packages/adapter-github/CHANGELOG.md | 10 ++++++++++ packages/adapter-github/package.json | 2 +- packages/adapter-linear/CHANGELOG.md | 10 ++++++++++ packages/adapter-linear/package.json | 2 +- packages/adapter-messenger/CHANGELOG.md | 10 ++++++++++ packages/adapter-messenger/package.json | 2 +- packages/adapter-notion/CHANGELOG.md | 15 +++++++++++++++ packages/adapter-notion/package.json | 2 +- packages/adapter-shared/CHANGELOG.md | 9 +++++++++ packages/adapter-shared/package.json | 2 +- packages/adapter-slack/CHANGELOG.md | 17 +++++++++++++++++ packages/adapter-slack/package.json | 2 +- packages/adapter-teams/CHANGELOG.md | 11 +++++++++++ packages/adapter-teams/package.json | 2 +- packages/adapter-telegram/CHANGELOG.md | 11 +++++++++++ packages/adapter-telegram/package.json | 2 +- packages/adapter-twilio/CHANGELOG.md | 10 ++++++++++ packages/adapter-twilio/package.json | 2 +- packages/adapter-web/CHANGELOG.md | 10 ++++++++++ packages/adapter-web/package.json | 2 +- packages/adapter-whatsapp/CHANGELOG.md | 14 ++++++++++++++ packages/adapter-whatsapp/package.json | 2 +- packages/adapter-x/CHANGELOG.md | 11 +++++++++++ packages/adapter-x/package.json | 2 +- packages/chat/CHANGELOG.md | 10 ++++++++++ packages/chat/package.json | 2 +- packages/create-chat-sdk/CHANGELOG.md | 6 ++++++ packages/create-chat-sdk/package.json | 2 +- packages/state-ioredis/CHANGELOG.md | 9 +++++++++ packages/state-ioredis/package.json | 2 +- packages/state-memory/CHANGELOG.md | 9 +++++++++ packages/state-memory/package.json | 2 +- packages/state-pg/CHANGELOG.md | 9 +++++++++ packages/state-pg/package.json | 2 +- packages/state-redis/CHANGELOG.md | 9 +++++++++ packages/state-redis/package.json | 2 +- packages/tests/CHANGELOG.md | 2 ++ packages/tests/package.json | 2 +- 53 files changed, 237 insertions(+), 81 deletions(-) delete mode 100644 .changeset/legal-ways-reply.md delete mode 100644 .changeset/neat-bugs-invent.md delete mode 100644 .changeset/notion-comments-adapter.md delete mode 100644 .changeset/scoped-agent-reads.md delete mode 100644 .changeset/slack-stream-mention-resolution.md delete mode 100644 .changeset/slack-unfurl-url-bound.md delete mode 100644 .changeset/swift-otters-group.md delete mode 100644 .changeset/teams-strip-html-tags.md delete mode 100644 .changeset/two-corners-rescue.md delete mode 100644 .changeset/whatsapp-context-variants.md delete mode 100644 .changeset/x-crc-token-shape.md create mode 100644 packages/adapter-notion/CHANGELOG.md diff --git a/.changeset/legal-ways-reply.md b/.changeset/legal-ways-reply.md deleted file mode 100644 index daff7cfca..000000000 --- a/.changeset/legal-ways-reply.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@chat-adapter/slack": minor -"chat": minor ---- - -Add message update and delete lifecycle callbacks, with Slack message_changed and message_deleted dispatch support. diff --git a/.changeset/neat-bugs-invent.md b/.changeset/neat-bugs-invent.md deleted file mode 100644 index b8f96b24b..000000000 --- a/.changeset/neat-bugs-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@chat-adapter/gchat": minor ---- - -Bind Workspace Add-on webhook verification to a specific identity with the new `workspaceAddOnServiceAccountEmail` option, replacing a pattern match on the add-on service account email. Workspace Add-on Chat apps must set it; standalone Chat apps are unaffected. diff --git a/.changeset/notion-comments-adapter.md b/.changeset/notion-comments-adapter.md deleted file mode 100644 index 286a0a0a9..000000000 --- a/.changeset/notion-comments-adapter.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@chat-adapter/notion": minor -"chat": minor -"create-chat-sdk": minor ---- - -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. diff --git a/.changeset/scoped-agent-reads.md b/.changeset/scoped-agent-reads.md deleted file mode 100644 index 6a6d038b9..000000000 --- a/.changeset/scoped-agent-reads.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"chat": minor ---- - -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. diff --git a/.changeset/slack-stream-mention-resolution.md b/.changeset/slack-stream-mention-resolution.md deleted file mode 100644 index 5e027ca30..000000000 --- a/.changeset/slack-stream-mention-resolution.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@chat-adapter/slack": patch ---- - -Resolve outgoing @name mentions on the Slack native streaming path so streamed responses mention users consistently with the post-and-edit fallback. Committed renderer text is resolved incrementally, keeping fenced code literal and preserving the existing ambiguity semantics. diff --git a/.changeset/slack-unfurl-url-bound.md b/.changeset/slack-unfurl-url-bound.md deleted file mode 100644 index 543ec5cc9..000000000 --- a/.changeset/slack-unfurl-url-bound.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@chat-adapter/slack": patch ---- - -Bound the length of bracketed URLs parsed from message text in the link-unfurl fallback, avoiding a quadratic scan on adversarial input. Valid links are unaffected. diff --git a/.changeset/swift-otters-group.md b/.changeset/swift-otters-group.md deleted file mode 100644 index 0f8bcd5dc..000000000 --- a/.changeset/swift-otters-group.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@chat-adapter/telegram": patch ---- - -Combine incoming Telegram media groups into one message with ordered attachments and the shared caption. diff --git a/.changeset/teams-strip-html-tags.md b/.changeset/teams-strip-html-tags.md deleted file mode 100644 index b43fee3a7..000000000 --- a/.changeset/teams-strip-html-tags.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@chat-adapter/teams": patch ---- - -Harden Teams HTML-to-text conversion to strip tags until the output is stable, so nested or malformed markup can't leave a partial tag behind. `stripHtmlTags` is now shared across the format and Graph message converters. diff --git a/.changeset/two-corners-rescue.md b/.changeset/two-corners-rescue.md deleted file mode 100644 index 7da9581ae..000000000 --- a/.changeset/two-corners-rescue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@chat-adapter/slack": patch ---- - -Preserve the Slack channel ID when converting labeled channel tokens (`<#C123|general>` now becomes `#general (C123)`) so agents can pass the ID to channel tools, and normalize the commonly hallucinated `` link order before Markdown conversion diff --git a/.changeset/whatsapp-context-variants.md b/.changeset/whatsapp-context-variants.md deleted file mode 100644 index 92ff0a79d..000000000 --- a/.changeset/whatsapp-context-variants.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@chat-adapter/whatsapp": minor ---- - -Fix the `WhatsAppInboundMessage.context` type to model all documented webhook variants. The type previously declared `context?: { from: string; id: string }`, but Meta's Cloud API sends mutually exclusive context shapes: quoted replies carry `from`/`id`, forwarded messages carry only `forwarded` or `frequently_forwarded` (no `id`), and catalog product inquiries add `referred_product`. Code narrowed by the old type could dereference `context.id` and crash at runtime on forwarded messages. All context fields are now optional and the forwarded/product-inquiry fields are included. Consumers that dereference `context.from` or `context.id` without a guard will now see a type error, surfacing what was already a latent crash on forwarded messages. diff --git a/.changeset/x-crc-token-shape.md b/.changeset/x-crc-token-shape.md deleted file mode 100644 index 27709d8d5..000000000 --- a/.changeset/x-crc-token-shape.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@chat-adapter/x": patch ---- - -Restrict the X CRC challenge to the opaque token shape X sends before signing it. The endpoint previously returned an HMAC over any `crc_token`, which let a caller have an arbitrary webhook body signed and replay that as `x-twitter-webhooks-signature` on a forged POST. A webhook body is JSON and can no longer pass the token check, so a CRC response can't double as a POST event signature. diff --git a/packages/adapter-discord/CHANGELOG.md b/packages/adapter-discord/CHANGELOG.md index 8e75f0e00..f007f9b67 100644 --- a/packages/adapter-discord/CHANGELOG.md +++ b/packages/adapter-discord/CHANGELOG.md @@ -1,5 +1,15 @@ # @chat-adapter/discord +## 4.37.0 + +### Patch Changes + +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + - @chat-adapter/shared@4.37.0 + ## 4.36.0 ### Patch Changes diff --git a/packages/adapter-discord/package.json b/packages/adapter-discord/package.json index 550f636a0..40b141470 100644 --- a/packages/adapter-discord/package.json +++ b/packages/adapter-discord/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/discord", - "version": "4.36.0", + "version": "4.37.0", "description": "Discord adapter for Chat SDK — HTTP interactions, Gateway events, slash commands, and embeds", "type": "module", "engines": { diff --git a/packages/adapter-gchat/CHANGELOG.md b/packages/adapter-gchat/CHANGELOG.md index 920a7fc90..188f3c15a 100644 --- a/packages/adapter-gchat/CHANGELOG.md +++ b/packages/adapter-gchat/CHANGELOG.md @@ -1,5 +1,19 @@ # @chat-adapter/gchat +## 4.37.0 + +### Minor Changes + +- 7a19223: Bind Workspace Add-on webhook verification to a specific identity with the new `workspaceAddOnServiceAccountEmail` option, replacing a pattern match on the add-on service account email. Workspace Add-on Chat apps must set it; standalone Chat apps are unaffected. + +### Patch Changes + +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + - @chat-adapter/shared@4.37.0 + ## 4.36.0 ### Patch Changes diff --git a/packages/adapter-gchat/package.json b/packages/adapter-gchat/package.json index 2d490f92b..675216263 100644 --- a/packages/adapter-gchat/package.json +++ b/packages/adapter-gchat/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/gchat", - "version": "4.36.0", + "version": "4.37.0", "description": "Google Chat adapter for Chat SDK — service account auth, Card v2, dialogs, and Workspace Events", "type": "module", "engines": { diff --git a/packages/adapter-github/CHANGELOG.md b/packages/adapter-github/CHANGELOG.md index d1d531b34..f456c4a8d 100644 --- a/packages/adapter-github/CHANGELOG.md +++ b/packages/adapter-github/CHANGELOG.md @@ -1,5 +1,15 @@ # @chat-adapter/github +## 4.37.0 + +### Patch Changes + +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + - @chat-adapter/shared@4.37.0 + ## 4.36.0 ### Patch Changes diff --git a/packages/adapter-github/package.json b/packages/adapter-github/package.json index a672035b3..2cda3facc 100644 --- a/packages/adapter-github/package.json +++ b/packages/adapter-github/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/github", - "version": "4.36.0", + "version": "4.37.0", "description": "GitHub adapter for Chat SDK — respond to @mentions in pull request and issue comment threads", "type": "module", "engines": { diff --git a/packages/adapter-linear/CHANGELOG.md b/packages/adapter-linear/CHANGELOG.md index cfdb2e2fd..652f96949 100644 --- a/packages/adapter-linear/CHANGELOG.md +++ b/packages/adapter-linear/CHANGELOG.md @@ -1,5 +1,15 @@ # @chat-adapter/linear +## 4.37.0 + +### Patch Changes + +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + - @chat-adapter/shared@4.37.0 + ## 4.36.0 ### Patch Changes diff --git a/packages/adapter-linear/package.json b/packages/adapter-linear/package.json index e8fde8f23..7df31c0c8 100644 --- a/packages/adapter-linear/package.json +++ b/packages/adapter-linear/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/linear", - "version": "4.36.0", + "version": "4.37.0", "description": "Linear adapter for Chat SDK — @mentions in issue comments and Linear agent sessions", "type": "module", "engines": { diff --git a/packages/adapter-messenger/CHANGELOG.md b/packages/adapter-messenger/CHANGELOG.md index 345396189..fbdf7c135 100644 --- a/packages/adapter-messenger/CHANGELOG.md +++ b/packages/adapter-messenger/CHANGELOG.md @@ -1,5 +1,15 @@ # @chat-adapter/messenger +## 4.37.0 + +### Patch Changes + +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + - @chat-adapter/shared@4.37.0 + ## 4.36.0 ### Patch Changes diff --git a/packages/adapter-messenger/package.json b/packages/adapter-messenger/package.json index 4a07f81e3..5778bfe39 100644 --- a/packages/adapter-messenger/package.json +++ b/packages/adapter-messenger/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/messenger", - "version": "4.36.0", + "version": "4.37.0", "description": "Facebook Messenger adapter for Chat SDK — Send API webhooks, templates, and quick replies", "type": "module", "engines": { diff --git a/packages/adapter-notion/CHANGELOG.md b/packages/adapter-notion/CHANGELOG.md new file mode 100644 index 000000000..22669c163 --- /dev/null +++ b/packages/adapter-notion/CHANGELOG.md @@ -0,0 +1,15 @@ +# @chat-adapter/notion + +## 4.37.0 + +### Minor Changes + +- 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. + +### Patch Changes + +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + - @chat-adapter/shared@4.37.0 diff --git a/packages/adapter-notion/package.json b/packages/adapter-notion/package.json index ab0cd99e8..d2eee79d5 100644 --- a/packages/adapter-notion/package.json +++ b/packages/adapter-notion/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/notion", - "version": "0.1.0", + "version": "4.37.0", "description": "Notion adapter for Chat SDK — participate in page and block comment discussions", "type": "module", "engines": { diff --git a/packages/adapter-shared/CHANGELOG.md b/packages/adapter-shared/CHANGELOG.md index bc711d05a..ee1c5e025 100644 --- a/packages/adapter-shared/CHANGELOG.md +++ b/packages/adapter-shared/CHANGELOG.md @@ -1,5 +1,14 @@ # @chat-adapter/shared +## 4.37.0 + +### Patch Changes + +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + ## 4.36.0 ### Patch Changes diff --git a/packages/adapter-shared/package.json b/packages/adapter-shared/package.json index 238f032c6..90cb55ab4 100644 --- a/packages/adapter-shared/package.json +++ b/packages/adapter-shared/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/shared", - "version": "4.36.0", + "version": "4.37.0", "description": "Shared utilities for Chat SDK platform adapters", "type": "module", "engines": { diff --git a/packages/adapter-slack/CHANGELOG.md b/packages/adapter-slack/CHANGELOG.md index 29da9ca98..e96aedf7e 100644 --- a/packages/adapter-slack/CHANGELOG.md +++ b/packages/adapter-slack/CHANGELOG.md @@ -1,5 +1,22 @@ # @chat-adapter/slack +## 4.37.0 + +### Minor Changes + +- 4ac0455: Add message update and delete lifecycle callbacks, with Slack message_changed and message_deleted dispatch support. + +### Patch Changes + +- 6f0d2f0: Resolve outgoing @name mentions on the Slack native streaming path so streamed responses mention users consistently with the post-and-edit fallback. Committed renderer text is resolved incrementally, keeping fenced code literal and preserving the existing ambiguity semantics. +- 4cc3445: Bound the length of bracketed URLs parsed from message text in the link-unfurl fallback, avoiding a quadratic scan on adversarial input. Valid links are unaffected. +- c311827: Preserve the Slack channel ID when converting labeled channel tokens (`<#C123|general>` now becomes `#general (C123)`) so agents can pass the ID to channel tools, and normalize the commonly hallucinated `` link order before Markdown conversion +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + - @chat-adapter/shared@4.37.0 + ## 4.36.0 ### Minor Changes diff --git a/packages/adapter-slack/package.json b/packages/adapter-slack/package.json index df79a2df0..1d33387d1 100644 --- a/packages/adapter-slack/package.json +++ b/packages/adapter-slack/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/slack", - "version": "4.36.0", + "version": "4.37.0", "description": "Slack adapter for Chat SDK — webhooks, Block Kit cards, OAuth, slash commands, and AI streaming", "type": "module", "engines": { diff --git a/packages/adapter-teams/CHANGELOG.md b/packages/adapter-teams/CHANGELOG.md index 9ea265dad..72086ebe1 100644 --- a/packages/adapter-teams/CHANGELOG.md +++ b/packages/adapter-teams/CHANGELOG.md @@ -1,5 +1,16 @@ # @chat-adapter/teams +## 4.37.0 + +### Patch Changes + +- 4cc3445: Harden Teams HTML-to-text conversion to strip tags until the output is stable, so nested or malformed markup can't leave a partial tag behind. `stripHtmlTags` is now shared across the format and Graph message converters. +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + - @chat-adapter/shared@4.37.0 + ## 4.36.0 ### Minor Changes diff --git a/packages/adapter-teams/package.json b/packages/adapter-teams/package.json index e71790232..024e0bc8c 100644 --- a/packages/adapter-teams/package.json +++ b/packages/adapter-teams/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/teams", - "version": "4.36.0", + "version": "4.37.0", "description": "Microsoft Teams adapter for Chat SDK — Bot Framework webhooks, Adaptive Cards, and Graph API", "type": "module", "engines": { diff --git a/packages/adapter-telegram/CHANGELOG.md b/packages/adapter-telegram/CHANGELOG.md index 8af8ea7b3..06c197e57 100644 --- a/packages/adapter-telegram/CHANGELOG.md +++ b/packages/adapter-telegram/CHANGELOG.md @@ -1,5 +1,16 @@ # @chat-adapter/telegram +## 4.37.0 + +### Patch Changes + +- 629e655: Combine incoming Telegram media groups into one message with ordered attachments and the shared caption. +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + - @chat-adapter/shared@4.37.0 + ## 4.36.0 ### Patch Changes diff --git a/packages/adapter-telegram/package.json b/packages/adapter-telegram/package.json index 5614e5e2f..df509871e 100644 --- a/packages/adapter-telegram/package.json +++ b/packages/adapter-telegram/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/telegram", - "version": "4.36.0", + "version": "4.37.0", "description": "Telegram adapter for Chat SDK — Bot API webhooks, inline keyboards, reactions, and streaming", "type": "module", "engines": { diff --git a/packages/adapter-twilio/CHANGELOG.md b/packages/adapter-twilio/CHANGELOG.md index c5bfde31c..bde35acac 100644 --- a/packages/adapter-twilio/CHANGELOG.md +++ b/packages/adapter-twilio/CHANGELOG.md @@ -1,5 +1,15 @@ # @chat-adapter/twilio +## 4.37.0 + +### Patch Changes + +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + - @chat-adapter/shared@4.37.0 + ## 4.36.0 ### Patch Changes diff --git a/packages/adapter-twilio/package.json b/packages/adapter-twilio/package.json index d5d402a9e..62cf9e99a 100644 --- a/packages/adapter-twilio/package.json +++ b/packages/adapter-twilio/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/twilio", - "version": "4.36.0", + "version": "4.37.0", "description": "Twilio adapter for Chat SDK — SMS and MMS bots with Messaging webhooks and the Messages API", "type": "module", "engines": { diff --git a/packages/adapter-web/CHANGELOG.md b/packages/adapter-web/CHANGELOG.md index 914513287..f8f172e0a 100644 --- a/packages/adapter-web/CHANGELOG.md +++ b/packages/adapter-web/CHANGELOG.md @@ -1,5 +1,15 @@ # @chat-adapter/web +## 4.37.0 + +### Patch Changes + +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + - @chat-adapter/shared@4.37.0 + ## 4.36.0 ### Patch Changes diff --git a/packages/adapter-web/package.json b/packages/adapter-web/package.json index 8a2cae6e3..c029282fd 100644 --- a/packages/adapter-web/package.json +++ b/packages/adapter-web/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/web", - "version": "4.36.0", + "version": "4.37.0", "description": "Web adapter for Chat SDK — browser chat UI via the AI SDK useChat stream protocol", "type": "module", "engines": { diff --git a/packages/adapter-whatsapp/CHANGELOG.md b/packages/adapter-whatsapp/CHANGELOG.md index ba4164cb6..5309cb191 100644 --- a/packages/adapter-whatsapp/CHANGELOG.md +++ b/packages/adapter-whatsapp/CHANGELOG.md @@ -1,5 +1,19 @@ # @chat-adapter/whatsapp +## 4.37.0 + +### Minor Changes + +- 16879fd: Fix the `WhatsAppInboundMessage.context` type to model all documented webhook variants. The type previously declared `context?: { from: string; id: string }`, but Meta's Cloud API sends mutually exclusive context shapes: quoted replies carry `from`/`id`, forwarded messages carry only `forwarded` or `frequently_forwarded` (no `id`), and catalog product inquiries add `referred_product`. Code narrowed by the old type could dereference `context.id` and crash at runtime on forwarded messages. All context fields are now optional and the forwarded/product-inquiry fields are included. Consumers that dereference `context.from` or `context.id` without a guard will now see a type error, surfacing what was already a latent crash on forwarded messages. + +### Patch Changes + +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + - @chat-adapter/shared@4.37.0 + ## 4.36.0 ### Patch Changes diff --git a/packages/adapter-whatsapp/package.json b/packages/adapter-whatsapp/package.json index 911c1ad8d..ab605e804 100644 --- a/packages/adapter-whatsapp/package.json +++ b/packages/adapter-whatsapp/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/whatsapp", - "version": "4.36.0", + "version": "4.37.0", "description": "WhatsApp adapter for Chat SDK — Business Cloud API webhooks, interactive messages, and templates", "type": "module", "engines": { diff --git a/packages/adapter-x/CHANGELOG.md b/packages/adapter-x/CHANGELOG.md index 206cda957..6563e599e 100644 --- a/packages/adapter-x/CHANGELOG.md +++ b/packages/adapter-x/CHANGELOG.md @@ -1,5 +1,16 @@ # @chat-adapter/x +## 4.37.0 + +### Patch Changes + +- b674923: Restrict the X CRC challenge to the opaque token shape X sends before signing it. The endpoint previously returned an HMAC over any `crc_token`, which let a caller have an arbitrary webhook body signed and replay that as `x-twitter-webhooks-signature` on a forged POST. A webhook body is JSON and can no longer pass the token check, so a CRC response can't double as a POST event signature. +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + - @chat-adapter/shared@4.37.0 + ## 4.36.0 ### Minor Changes diff --git a/packages/adapter-x/package.json b/packages/adapter-x/package.json index 9308010cb..228469a2b 100644 --- a/packages/adapter-x/package.json +++ b/packages/adapter-x/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/x", - "version": "4.36.0", + "version": "4.37.0", "description": "X (Twitter) adapter for Chat SDK: reply to mentions, send direct messages, and post from your bot account with the X API v2, plus encrypted XChat conversations from the @chat-adapter/x/chat subpath", "type": "module", "engines": { diff --git a/packages/chat/CHANGELOG.md b/packages/chat/CHANGELOG.md index 936ceacaf..7ff0e9a50 100644 --- a/packages/chat/CHANGELOG.md +++ b/packages/chat/CHANGELOG.md @@ -1,5 +1,15 @@ # chat +## 4.37.0 + +### Minor Changes + +- 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. + ## 4.36.0 ### Minor Changes diff --git a/packages/chat/package.json b/packages/chat/package.json index c7a217d8f..d86954324 100644 --- a/packages/chat/package.json +++ b/packages/chat/package.json @@ -1,6 +1,6 @@ { "name": "chat", - "version": "4.36.0", + "version": "4.37.0", "description": "Chat SDK — universal TypeScript toolkit for building multi-platform chat bots and AI agents on Slack, Teams, Google Chat, Discord, WhatsApp, and more", "type": "module", "engines": { diff --git a/packages/create-chat-sdk/CHANGELOG.md b/packages/create-chat-sdk/CHANGELOG.md index 160a90c79..0c02b0a8e 100644 --- a/packages/create-chat-sdk/CHANGELOG.md +++ b/packages/create-chat-sdk/CHANGELOG.md @@ -1,5 +1,11 @@ # create-chat-sdk +## 0.3.0 + +### Minor Changes + +- 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. + ## 0.2.1 ### Patch Changes diff --git a/packages/create-chat-sdk/package.json b/packages/create-chat-sdk/package.json index 0a89f8984..53d5044ac 100644 --- a/packages/create-chat-sdk/package.json +++ b/packages/create-chat-sdk/package.json @@ -9,7 +9,7 @@ "create", "cli" ], - "version": "0.2.1", + "version": "0.3.0", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", diff --git a/packages/state-ioredis/CHANGELOG.md b/packages/state-ioredis/CHANGELOG.md index 43f4d3161..0f19ed6fa 100644 --- a/packages/state-ioredis/CHANGELOG.md +++ b/packages/state-ioredis/CHANGELOG.md @@ -1,5 +1,14 @@ # @chat-adapter/state-ioredis +## 4.37.0 + +### Patch Changes + +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + ## 4.36.0 ### Patch Changes diff --git a/packages/state-ioredis/package.json b/packages/state-ioredis/package.json index bb095505e..521d0e407 100644 --- a/packages/state-ioredis/package.json +++ b/packages/state-ioredis/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/state-ioredis", - "version": "4.36.0", + "version": "4.37.0", "description": "ioredis state adapter for Chat SDK — production state with Redis Cluster and Sentinel support via ioredis", "type": "module", "engines": { diff --git a/packages/state-memory/CHANGELOG.md b/packages/state-memory/CHANGELOG.md index 7ef4d01f8..bf6edbbf3 100644 --- a/packages/state-memory/CHANGELOG.md +++ b/packages/state-memory/CHANGELOG.md @@ -1,5 +1,14 @@ # @chat-adapter/state-memory +## 4.37.0 + +### Patch Changes + +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + ## 4.36.0 ### Patch Changes diff --git a/packages/state-memory/package.json b/packages/state-memory/package.json index 009e1bd34..2254196b5 100644 --- a/packages/state-memory/package.json +++ b/packages/state-memory/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/state-memory", - "version": "4.36.0", + "version": "4.37.0", "description": "In-memory state adapter for Chat SDK — zero-dependency subscriptions, locks, and cache for local development and tests", "type": "module", "engines": { diff --git a/packages/state-pg/CHANGELOG.md b/packages/state-pg/CHANGELOG.md index 94af71773..6790e483e 100644 --- a/packages/state-pg/CHANGELOG.md +++ b/packages/state-pg/CHANGELOG.md @@ -1,5 +1,14 @@ # @chat-adapter/state-pg +## 4.37.0 + +### Patch Changes + +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + ## 4.36.0 ### Patch Changes diff --git a/packages/state-pg/package.json b/packages/state-pg/package.json index 8c3e7adfc..999bba4ef 100644 --- a/packages/state-pg/package.json +++ b/packages/state-pg/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/state-pg", - "version": "4.36.0", + "version": "4.37.0", "description": "PostgreSQL state adapter for Chat SDK — production subscriptions, distributed locks, cache, lists, and queues", "type": "module", "engines": { diff --git a/packages/state-redis/CHANGELOG.md b/packages/state-redis/CHANGELOG.md index 50cc0d891..8e784128e 100644 --- a/packages/state-redis/CHANGELOG.md +++ b/packages/state-redis/CHANGELOG.md @@ -1,5 +1,14 @@ # @chat-adapter/state-redis +## 4.37.0 + +### Patch Changes + +- Updated dependencies [4ac0455] +- Updated dependencies [0ec6a73] +- Updated dependencies [85e3d22] + - chat@4.37.0 + ## 4.36.0 ### Patch Changes diff --git a/packages/state-redis/package.json b/packages/state-redis/package.json index 692d747e5..8e22bb6d1 100644 --- a/packages/state-redis/package.json +++ b/packages/state-redis/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/state-redis", - "version": "4.36.0", + "version": "4.37.0", "description": "Redis state adapter for Chat SDK — production subscriptions, distributed locks, cache, lists, and queues via node-redis", "type": "module", "engines": { diff --git a/packages/tests/CHANGELOG.md b/packages/tests/CHANGELOG.md index afcafb9e6..d2dc1077a 100644 --- a/packages/tests/CHANGELOG.md +++ b/packages/tests/CHANGELOG.md @@ -1,5 +1,7 @@ # @chat-adapter/tests +## 4.37.0 + ## 4.36.0 ## 4.35.0 diff --git a/packages/tests/package.json b/packages/tests/package.json index 28b8daadb..321f5cbad 100644 --- a/packages/tests/package.json +++ b/packages/tests/package.json @@ -1,6 +1,6 @@ { "name": "@chat-adapter/tests", - "version": "4.36.0", + "version": "4.37.0", "description": "Vitest factories, matchers, and setup utilities for testing Chat SDK adapters and bots", "type": "module", "main": "./dist/index.js",