Skip to content

feat(chat): add iMessage support#86

Open
dhairyashiil wants to merge 4 commits intomainfrom
sendblue-chat-support
Open

feat(chat): add iMessage support#86
dhairyashiil wants to merge 4 commits intomainfrom
sendblue-chat-support

Conversation

@dhairyashiil
Copy link
Copy Markdown
Member

@dhairyashiil dhairyashiil commented Apr 30, 2026

Fixes - ENG-1172

Video

ScreenRecording_05-01-2026.05-13-11_1.MP4

Summary

  • Add env-gated Sendblue iMessage adapter support to the chat app with plain-text command handling and AI replies.
  • Add Sendblue-specific text flows for link/unlink, bookings, availability, profile, event types, schedules, booking, cancellation, and rescheduling.
  • Add Sendblue Cal.com webhook notification routing and documentation, while ignoring Sendblue group iMessage threads.

Test plan

  • bunx biome check apps/chat/.env.example apps/chat/README.md apps/chat/app/api/auth/calcom/callback/route.ts apps/chat/app/api/webhooks/calcom/route.ts apps/chat/app/auth/calcom/complete/page.tsx apps/chat/lib/bot.ts apps/chat/lib/calcom/types.ts apps/chat/lib/env.ts apps/chat/lib/user-linking.ts apps/chat/lib/format-for-sendblue.ts apps/chat/lib/handlers/sendblue.ts apps/chat/package.json
  • bun --filter '@calcom/chat' typecheck
  • Live Sendblue production smoke test passed for /help, /link, /profile, and /bookings.

Notes

  • Uses published chat-adapter-sendblue@0.2.0. That package currently brings a nested chat@4.27.0, so the app contains a narrow adapter-boundary cast until the adapter ships a peer-only Chat SDK dependency.

Open in Devin Review

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 30, 2026

Deployment failed with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: cal-companion-mcp.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

@dhairyashiil dhairyashiil changed the title Add Sendblue support to chat app feat(chat): add iMessage support Apr 30, 2026
@calcom calcom deleted a comment from github-actions Bot Apr 30, 2026
@dhairyashiil dhairyashiil marked this pull request as draft April 30, 2026 23:50
cubic-dev-ai[bot]

This comment was marked as resolved.

@dhairyashiil dhairyashiil force-pushed the sendblue-chat-support branch from cae0b66 to d536fd8 Compare April 30, 2026 23:54
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 30, 2026

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
cal-companion-chat Ignored Ignored May 1, 2026 8:57am

Request Review

@dhairyashiil dhairyashiil marked this pull request as ready for review April 30, 2026 23:54
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 15 files

devin-ai-integration[bot]

This comment was marked as resolved.

cubic-dev-ai[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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