Commit Graph

5 Commits

Author SHA1 Message Date
James fde1f740e1 chore: auto-commit uncommitted changes 2026-03-18 06:02:11 -04:00
James 057f596c5f chore: auto-commit uncommitted changes 2026-03-11 00:01:24 -04:00
James 84b2265cca chore: auto-commit uncommitted changes 2026-03-08 06:01:55 -04:00
James 3472519cdc feat: 1:1 DM rooms for human↔agent and agent↔agent
- Add Room field to Message struct; carried through all routes
- Group room (default): existing broadcast behavior unchanged
- DM rooms (dm:James, dm:Mira, dm:Hans): messages route only to
  that agent, replies stay in the DM room
- Agent↔agent DM: dm:Hans-James format; dmTarget() resolves peer
- UI: replace agent-bar with room-bar tab strip at top
  - # group tab + one DM tab per agent ( James,  Mira, 🔧 Hans)
  - Client-side room filtering: only show messages for active room
  - Unread dot on inactive room tabs when new messages arrive
  - Thinking indicator per room
- /api/send: accepts room field for agent-to-agent DMs
- Screenshots already supported (image_url); works in all rooms
2026-03-08 04:55:33 -04:00
James 27fb5ac215 feat: 1:1 routing fix + screenshot support
- Fix routing: direct messages now use 'agentchat-direct' session instead
  of 'main', preventing conflicts with active webchat sessions
- Add POST /api/upload endpoint for image uploads (10MB limit, png/jpg/gif/webp)
- Serve /uploads/ statically
- Pass images to agent via OpenAI multipart content (image_url type)
- UI: image preview bar above compose (attach button + Ctrl+V paste)
- UI: inline image display in chat bubbles with lightbox on click
- UI: '→ AgentName' badge on 1:1 messages
- Add github.com/google/uuid dependency for unique filenames
2026-03-08 04:30:00 -04:00