feat(chat): implement real-time chat system for human-agent collaboration#49
Conversation
…tion Implements Issue #12 - Real-time chat system with: **ChatService** (src/services/chat/): - Thread management (create, delete, pin, mark as read) - Message handling with streaming support - Approval workflow (request/respond) - Search across threads - Event system for real-time updates - Typing indicators - Abort/cancel support for long-running requests **UI Components** (src/components/chat/): - ChatMessage: Renders messages with support for text, code, and approval types - ChatThread: Scrollable message list with auto-scroll and typing indicators - ChatInput: Input field with send functionality - ThreadList: Thread list with pinned/recent sections and unread badges - ApprovalCard: Action approval UI with approve/reject buttons - CodeBlock: Code display with language header and copy functionality **Tests**: - 129 total tests passing (8 test suites) - Comprehensive ChatService tests covering all functionality All components follow ThumbCode brand guidelines with organic daube styling. Closes #12 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (11)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|


Summary
Implements Issue #12 - Real-time chat system for human-agent collaboration.
ChatService (
src/services/chat/)UI Components (
src/components/chat/)Tests
All components follow ThumbCode brand guidelines with organic daube styling.
Test plan
pnpm test- all 129 tests passpnpm lint- no errorspnpm tsc --noEmit- no type errorsCloses #12
🤖 Generated with Claude Code