groupchat/server/migrations/004_ai_name.sql
Jason Tudisco df59accb81 feat: add room member list, AI agent naming, and fix invite flow
- Add clickable member count in room header that shows a dropdown with
  all room members (AI agent + humans) with role badges
- Give each room's AI agent a random name from 10 options (Nova, Atlas,
  Sage, etc.), editable when creating the room
- Replace AI text avatar with a robot SVG icon across all components
- Fix broken invite system: add client-side URL routing for /invite/:token,
  handle post-login invite acceptance via sessionStorage, and return
  room_id from accept_invite endpoint for auto-navigation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 07:27:17 -06:00

3 lines
105 B
SQL

-- Add AI agent name to rooms
ALTER TABLE rooms ADD COLUMN ai_name TEXT NOT NULL DEFAULT 'AI Assistant';