Skip to content

feat(x): add setup helpers and remove classic direct messages - #810

Draft
dancer wants to merge 4 commits into
mainfrom
josh/x-refresh
Draft

feat(x): add setup helpers and remove classic direct messages#810
dancer wants to merge 4 commits into
mainfrom
josh/x-refresh

Conversation

@dancer

@dancer dancer commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

summary

  • remove classic direct message support from the base X adapter and direct users to the XChat adapter at @chat-adapter/x/chat
  • add the @chat-adapter/x/setup subpath for one-time webhook registration and Activity API subscription management
  • support OAuth 1.0a signing with query and form-encoded parameters, with OAuth 2.0 user-context fallback for subscription creation
  • keep the adapter runtime on OAuth 2.0 and make the bot user ID optional until an operation such as liking requires it
  • update package metadata, the adapter catalog, feature tables, setup guidance, and the historical DM payload note

test plan

  • build chat and @chat-adapter/x
  • run the X adapter test suite
  • typecheck chat, @chat-adapter/x, and create-chat-sdk
  • run the adapter integration suite
  • run Ultracite on affected source files and run Konsistent
  • build the documentation site
  • verify the package contains and exports @chat-adapter/x/setup
  • verify captured JSON payloads in sample-messages.md remain unchanged

dancer added 4 commits August 10, 2026 19:54
Signed-off-by: dancer <josh@afterima.ge>
Signed-off-by: dancer <josh@afterima.ge>
Signed-off-by: dancer <josh@afterima.ge>
Signed-off-by: dancer <josh@afterima.ge>
@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
chat Ready Ready Preview, v0 Aug 10, 2026 6:56pm
chat-sdk-nextjs-chat Ready Ready Preview Aug 10, 2026 6:56pm

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