Skip to content

fix(slack): enrich link previews with unfurl metadata from attachments#395

Merged
dancer merged 4 commits intomainfrom
josh/slack-link-unfurls
Apr 30, 2026
Merged

fix(slack): enrich link previews with unfurl metadata from attachments#395
dancer merged 4 commits intomainfrom
josh/slack-link-unfurls

Conversation

@dancer
Copy link
Copy Markdown
Collaborator

@dancer dancer commented Apr 17, 2026

summary

  • add attachments field to SlackEvent interface for legacy unfurl data
  • enrich LinkPreview objects with title, description, imageUrl, and siteName from Slack's attachment metadata
  • selectively handle message_changed events for unfurl updates instead of blanket-ignoring them
  • links fetched via conversations.replies / conversations.history now include full OG metadata for toAiMessages

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 17, 2026

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

Project Deployment Actions Updated (UTC)
chat Ready Ready Preview, Comment, Open in v0 Apr 30, 2026 8:14pm
chat-sdk-nextjs-chat Ready Ready Preview, Comment, Open in v0 Apr 30, 2026 8:14pm

Comment thread packages/adapter-slack/src/index.ts
Comment thread examples/telegram-chat/src/index.ts Fixed
@dancer dancer removed request for a team and cramforce April 30, 2026 20:11
@dancer dancer force-pushed the josh/slack-link-unfurls branch from b04950e to 0d8489b Compare April 30, 2026 20:13
@dancer dancer merged commit ded6f78 into main Apr 30, 2026
12 checks passed
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.

3 participants