You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: make room_id required in send_email tool
The room_id parameter is now required to ensure all outbound emails
include the chat link footer, enabling email thread continuity.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add POST /api/chats endpoint for creating chat rooms
- Add createChatHandler in lib/chats/
- Add POST route at app/api/chats/
- Account ID inferred from API key
- Optional artistId and chatId params
- chatId auto-generated if not provided
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add input validation pattern to CLAUDE.md and chats endpoint
- Document validate function pattern using Zod in CLAUDE.md
- Add validateCreateChatBody.ts for POST /api/chats
- Update createChatHandler to use the validate function
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Remove try-catch around request.json(), follow existing pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add safeParseJson utility for optional request bodies
- Create safeParseJson helper that returns {} if body is empty/invalid
- Use in createChatHandler so body is not required
- All params are optional, so empty body should work
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments