Files
PaperClipAI/ui/src
DottaandClaude Opus 4.8 319aa27675 Wire selected-agent chat into the live Conference Room
PAP-11123 / PAP-11099 Phase 3b. The Conference Room now runs a real-agent
conversation over the reusable SelectedAgentChat surface (default target =
company CEO) instead of the board-concierge SSE relay.

Backend: add POST /api/board/chat/conversations to resolve-or-mint the
backing board_chat issue without spawning the concierge subprocess (the web
client can't mint it directly — originKind is stripped by the create schema).
Gated like /board/chat/stream on the experimental flag + instance admin +
company access. Factor the resolve-or-create logic into a shared helper reused
by the stream relay.

UI: BoardChat resolves/mints the board issue and renders the connected
SelectedAgentChat for the room's center column; the history Sheet, new-chat
control, and split-pane ActivityFeed are kept. Durable history is the issue's
comments and live output is the target agent's active run (real reply comment
surfaced by polling) — the streaming-token bubble is gone.

Tests: new server unit test mirroring the selected-agent-chat route test;
BoardChat.test.tsx reworked for the new transport (SSE-stream + staged-intro
assertions dropped; shell/history kept).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 10:02:04 +00:00
..
2026-06-16 10:02:04 +00:00
2026-05-06 06:30:44 -05:00