feat(FN-3879): add chat room management in ChatView

- Add useChatRooms hook with room lifecycle state and API integration
- Wire ChatView UI for room selection/creation and update room-focused tests
- Tokenize ChatView and TaskCard color usage to align with dashboard design tokens
- Update architecture docs and include FN-3879 changesets for published CLI package

Fusion-Task-Id: FN-3879
This commit is contained in:
Fusion
2026-05-09 12:34:22 -07:00
committed by gsxdsm
parent 003e51aef6
commit e7acd2788b
9 changed files with 767 additions and 112 deletions

View File

@@ -0,0 +1,7 @@
---
"@runfusion/fusion": patch
---
Add a compatibility self-heal for legacy task databases that report `schemaVersion >= 20` but are missing checkout lease columns (`checkedOutBy`, `checkedOutAt`, `checkoutNodeId`, `checkoutRunId`, `checkoutLeaseRenewedAt`, `checkoutLeaseEpoch`).
On initialization, missing lease columns are now added idempotently before version-guarded migrations, matching the earlier `nodeId` mitigation pattern and preventing `no such column: checkoutNodeId` crashes in task listing paths.

View File

@@ -0,0 +1,5 @@
---
"@runfusion/fusion": patch
---
Wire chat rooms UI to backend. Creating a room now persists via /api/chat/rooms, the sidebar lists real rooms, room threads load history and stream new messages over chat:room:* SSE events, and the FN-3807 "Coming soon" placeholder is gone.