Skip to content

Version Packages#1843

Merged
threepointone merged 1 commit into
mainfrom
changeset-release/main
Jun 30, 2026
Merged

Version Packages#1843
threepointone merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

agents@0.17.3

Patch Changes

@cloudflare/ai-chat@0.9.3

Patch Changes

@cloudflare/think@0.12.1

Patch Changes

  • 58eea18 Thanks @threepointone! - trigger a release

  • #1839 62b90eb Thanks @threepointone! - Preserve attachment fetchMetadata through messenger event serialization so sub-agents can re-fetch files.

    When a conversation resolver routes a thread to a sub-agent Durable Object, the messenger event is run through serializableMessengerEvent() before crossing the DO boundary. That serialization previously dropped everything except id, mediaType, name, size, text, and url from each attachment — discarding fetch, raw, and (for adapters that store their platform identifier there) the only remaining handle on the file.

    For adapters like @chat-adapter/telegram, the file identifier lives exclusively in fetchMetadata.fileId and the top-level id is never populated, so photos became irretrievable inside a sub-agent (attachment.id and attachment.fetch were both missing).

    MessengerAttachment now carries a serialization-safe fetchMetadata?: Record<string, string> field that survives the sub-agent hop. toMessengerAttachment() copies fetchMetadata from the underlying Chat SDK attachment and backfills the top-level id from a known metadata key (id, fileId, mediaId, fileUniqueId) when the adapter doesn't set one. A downstream agent can use fetchMetadata together with the adapter's rehydrateAttachment() to reconstruct the download closure.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@github-actions github-actions Bot force-pushed the changeset-release/main branch from 1950477 to 66ee860 Compare June 30, 2026 13:20
@threepointone threepointone merged commit 2e50e66 into main Jun 30, 2026
@threepointone threepointone deleted the changeset-release/main branch June 30, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant