Commit Graph

3 Commits

Author SHA1 Message Date
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
James a0cc49f4c9 agentchat: group chat for humans and AI agents
Go server with WebSocket UI, OpenClaw gateway integration,
persistent sessions, name-based routing, and cross-agent forwarding.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 04:17:02 -04:00