Skip to content

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

Open
dancer wants to merge 4 commits intomainfrom
josh/slack-link-unfurls
Open

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

Conversation

@dancer
Copy link
Copy Markdown
Contributor

@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 Canceled Canceled Apr 21, 2026 6:00pm
chat-sdk-nextjs-chat Ready Ready Preview, Comment Apr 21, 2026 6:00pm

# Conflicts:
#	packages/adapter-slack/src/index.test.ts
Comment thread packages/adapter-slack/src/index.ts
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.

2 participants