diff --git a/.story_kit/stories/upcoming/43_unified_chat_ui_for_claude_code_and_regular_chat.md b/.story_kit/stories/upcoming/43_unified_chat_ui_for_claude_code_and_regular_chat.md new file mode 100644 index 0000000..35643ed --- /dev/null +++ b/.story_kit/stories/upcoming/43_unified_chat_ui_for_claude_code_and_regular_chat.md @@ -0,0 +1,22 @@ +--- +name: Unified Chat UI for Claude Code and Regular Chat +test_plan: pending +--- + +# Story 43: Unified Chat UI for Claude Code and Regular Chat + +## User Story + +As a user, I want the Claude Code chat to display the same rich, structured conversation UI as the regular Anthropic/Ollama chat, so that tool calls, file reads, and code edits are shown as collapsible sections rather than a flat text blob. + +## Acceptance Criteria + +- [ ] Claude Code stream-json output is parsed on the backend to extract tool use events (file reads, writes, shell commands, etc.) +- [ ] Claude Code tool use events are mapped to the same Message structure (tool_calls + tool role messages) used by Anthropic/Ollama providers +- [ ] The frontend renders Claude Code conversations with the same visual structure as regular chat: tool call badges, collapsible tool output, and interleaved assistant text +- [ ] Streaming content from Claude Code shows incremental progress the same way regular chat does +- [ ] Both chat modes are visually indistinguishable in terms of layout and styling + +## Out of Scope + +- TBD