Skip to content

Conversation

@humanagent
Copy link
Collaborator

@humanagent humanagent commented Jan 21, 2026

Changelog

[Unreleased]

Changed

  • Update agent SDK to 2.0.0-rc3 (2026-01-23)
  • Centralize agent-sdk version across all example packages
  • Fix EncryptedAttachment API usage (payload instead of content.payload)
  • Update group creation to use agent.createGroupWithAddresses
  • Fix Reaction API to use ReactionSchema enum
  • Fix ActionStyle imports to use SDK enum

Fixed

  • Fix build errors in xmtp-attachments, xmtp-gated-group, xmtp-thinking-reaction, xmtp-generalstore
  • Fix type incompatibilities with SDK 2.0.0-rc3
  • Prevent reaction middleware from looping on read receipts / non-text messages
  • Remove unsafe any casts in examples and inline actions helpers
  • Fix /tx amount parsing when CommandRouter passes args-only content

@macroscopeapp
Copy link

macroscopeapp bot commented Jan 21, 2026

Upgrade examples and utilities to Agent SDK 2.0.0 and replace context-level sending with Conversation.sendText, Conversation.sendActions, and MessageContext.sendRemoteAttachment across the repository

Updates all examples and inline actions utilities to the SDK 2.x APIs, removing custom codecs, pinning @xmtp/agent-sdk to 2.0.0, and refactoring message, action, reaction, attachment, group, and transaction flows to use Conversation and SDK helpers. Adds CHANGELOG entries and bumps the root version to 0.0.9.

📍Where to Start

Start with the inline actions middleware and helpers in inline-actions.ts, then review example message handlers such as index.ts and attachment handling in index.ts.


Macroscope summarized fa4cfae.

- Update all example packages to use agent-sdk 2.0.0-rc3 from root
- Fix xmtp-attachments: Update EncryptedAttachment API (payload instead of content.payload)
- Fix xmtp-gated-group: Use agent.createGroupWithAddresses instead of conversations.newGroup
- Fix xmtp-thinking-reaction: Use ReactionSchema enum and ctx.sendReaction
- Fix xmtp-generalstore: Import ActionStyle from @xmtp/node-sdk correctly
- Fix utils/inline-actions: Import ActionStyle as value, not type
- Update sendRemoteAttachment to use ctx.sendRemoteAttachment
- All builds passing, lint warnings only (no errors)
@humanagent humanagent changed the title Update SDK 2.0.0-rc1 Update SDK 2.0.0 Jan 23, 2026
@humanagent humanagent changed the title Update SDK 2.0.0 Update SDK 2.0.0-rc3 Jan 23, 2026
@humanagent humanagent changed the title Update SDK 2.0.0-rc3 Update SDK 2 Jan 23, 2026
@humanagent humanagent changed the title Update SDK 2 Fix examples Jan 23, 2026
@humanagent humanagent changed the title Fix examples Fix tx parsing Jan 23, 2026
@humanagent humanagent changed the title Fix tx parsing Agent SDK 2.0.0 Jan 31, 2026
@humanagent humanagent closed this Jan 31, 2026
@humanagent humanagent deleted the fix/yarn-version branch January 31, 2026 21:44
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