Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/scoped-agent-reads.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slack-stream-mention-resolution.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slack-unfurl-url-bound.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/swift-otters-group.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/teams-strip-html-tags.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/two-corners-rescue.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/whatsapp-context-variants.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/x-crc-token-shape.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/adapter-discord/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @chat-adapter/discord

## 4.37.0

### Patch Changes

- Updated dependencies [85e3d22]
- chat@4.37.0
- @chat-adapter/shared@4.37.0

## 4.36.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-discord/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
8 changes: 8 additions & 0 deletions packages/adapter-gchat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @chat-adapter/gchat

## 4.37.0

### Patch Changes

- Updated dependencies [85e3d22]
- chat@4.37.0
- @chat-adapter/shared@4.37.0

## 4.36.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-gchat/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
8 changes: 8 additions & 0 deletions packages/adapter-github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @chat-adapter/github

## 4.37.0

### Patch Changes

- Updated dependencies [85e3d22]
- chat@4.37.0
- @chat-adapter/shared@4.37.0

## 4.36.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-github/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
8 changes: 8 additions & 0 deletions packages/adapter-linear/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @chat-adapter/linear

## 4.37.0

### Patch Changes

- Updated dependencies [85e3d22]
- chat@4.37.0
- @chat-adapter/shared@4.37.0

## 4.36.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-linear/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
8 changes: 8 additions & 0 deletions packages/adapter-messenger/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @chat-adapter/messenger

## 4.37.0

### Patch Changes

- Updated dependencies [85e3d22]
- chat@4.37.0
- @chat-adapter/shared@4.37.0

## 4.36.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-messenger/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
7 changes: 7 additions & 0 deletions packages/adapter-shared/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @chat-adapter/shared

## 4.37.0

### Patch Changes

- Updated dependencies [85e3d22]
- chat@4.37.0

## 4.36.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-shared/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
11 changes: 11 additions & 0 deletions packages/adapter-slack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @chat-adapter/slack

## 4.37.0

### 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 `<label|url>` link order before Markdown conversion
- Updated dependencies [85e3d22]
- chat@4.37.0
- @chat-adapter/shared@4.37.0

## 4.36.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-slack/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
9 changes: 9 additions & 0 deletions packages/adapter-teams/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @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 [85e3d22]
- chat@4.37.0
- @chat-adapter/shared@4.37.0

## 4.36.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-teams/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
9 changes: 9 additions & 0 deletions packages/adapter-telegram/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @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 [85e3d22]
- chat@4.37.0
- @chat-adapter/shared@4.37.0

## 4.36.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-telegram/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
8 changes: 8 additions & 0 deletions packages/adapter-twilio/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @chat-adapter/twilio

## 4.37.0

### Patch Changes

- Updated dependencies [85e3d22]
- chat@4.37.0
- @chat-adapter/shared@4.37.0

## 4.36.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-twilio/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
8 changes: 8 additions & 0 deletions packages/adapter-web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @chat-adapter/web

## 4.37.0

### Patch Changes

- Updated dependencies [85e3d22]
- chat@4.37.0
- @chat-adapter/shared@4.37.0

## 4.36.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-web/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
12 changes: 12 additions & 0 deletions packages/adapter-whatsapp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @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 [85e3d22]
- chat@4.37.0
- @chat-adapter/shared@4.37.0

## 4.36.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-whatsapp/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
9 changes: 9 additions & 0 deletions packages/adapter-x/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @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 [85e3d22]
- chat@4.37.0
- @chat-adapter/shared@4.37.0

## 4.36.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-x/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
8 changes: 8 additions & 0 deletions packages/chat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# chat

## 4.37.0

### Minor Changes

- 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
Expand Down
2 changes: 1 addition & 1 deletion packages/chat/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
7 changes: 7 additions & 0 deletions packages/state-ioredis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @chat-adapter/state-ioredis

## 4.37.0

### Patch Changes

- Updated dependencies [85e3d22]
- chat@4.37.0

## 4.36.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/state-ioredis/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
Loading