Commit c6df97a
feat(ambient-ui): chat tab, action bar, persistent sidebar, tool args
Chat tab:
- Markdown rendering for user and assistant messages (react-markdown + remark-gfm)
- Tool call/result grouping into single collapsible blocks
- Extract last_assistant_message from system events when assistant payload is empty
- Dark mode support (semantic Tailwind tokens, no hardcoded hex)
- Scroll-to-top/bottom buttons with tooltips, matching old frontend pattern
- Input hint text below textarea, removed redundant phase badge from input
Action bar:
- Stop/Restart as primary buttons, Export/Delete in 3-dot dropdown menu
- Delete with confirmation dialog, navigates to fleet on success
- AlertDialog shadcn component added
Persistent chat sidebar:
- Pop-out button on Chat tab opens right-edge sidebar
- Sidebar persists across page navigation (context at dashboard layout level)
- Resizable by dragging, collapsible to narrow strip
- Session name in header links to session detail page
- Chat icon on fleet table rows opens sidebar
- Only one sidebar at a time, replacing on new session
Runner:
- Accumulate tool args from TOOL_CALL_ARGS events, push on TOOL_CALL_END
- Tool use messages now include full input arguments
- Updated tests for accumulation flow (22 passing)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6be7895 commit c6df97a
17 files changed
Lines changed: 1504 additions & 496 deletions
File tree
- components
- ambient-ui/src
- adapters
- app/(dashboard)
- [projectId]/fleet
- [sessionId]
- _components
- _components
- components
- ui
- ports
- queries
- runners/ambient-runner
- ambient_runner/bridges/claude
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
| |||
0 commit comments