@cloudflare/think@0.7.2

cloudflare/agents@cloudflare/think@0.7.2May 21, 2026by github-actions[bot]

AI Summary

This is a patch release (0.7.2) for @cloudflare/think that improves synchronization for connected clients. The update enables message updates from programmatic `Think.chat()` turns and `clearMessages()` to be broadcast to all connected `useAgentChat` clients, keeping them in sync without requiring reconnection.

Key Highlights

  • Patch version update from 0.7.1 to 0.7.2
  • Broadcasts message updates from programmatic `Think.chat()` turns to connected clients
  • `clearMessages()` now triggers broadcast to all `useAgentChat` clients
  • Clients stay in sync without needing to reconnect
  • Implemented via PR #1570

New Features

  • Broadcast synchronization for `Think.chat()` programmatic turns
  • Broadcast synchronization for `clearMessages()` function
  • Real-time sync for connected `useAgentChat` clients

Full Release Notes

### Patch Changes

-   [#1570](https://github.com/cloudflare/agents/pull/1570) [`4f14b9c`](https://github.com/cloudflare/agents/commit/4f14b9c7d16c3fe76268b053c2c3bde3b308915c) Thanks [@threepointone](https://github.com/threepointone)! - Broadcast message updates from programmatic `Think.chat()` turns and `clearMessages()` so connected `useAgentChat` clients stay in sync without reconnecting.