Commit Graph

4 Commits

Author SHA1 Message Date
Taylor Ho
9f65106822 refactor(agents): drop transcript compact mode and simplify row spacing
- Remove the compact layout prop from AgentSessionTranscriptList,
  ManagedAgentSessionPanel, and AgentSessionThreadPanel; always render the
  tighter transcript density
- Revert consecutive tool-call grouping (tool_group segments, ToolCallGroup,
  segment spacing helpers) and render each tool as a normal transcript row
- Add symmetric per-type row spacing: my-2.5 for messages, my-1 for tools,
  my-2 for other items
- Simplify ToolItem wrapper padding now that grouped/compact props are gone
2026-06-15 01:14:10 -07:00
Taylor Ho
84a8f0cec9 fix(agents): group activity tools and hide orphan prompt context
- Update desktop/src/features/agents/ui/agentSessionTranscriptGrouping.ts to group consecutive tool calls into transcript tool groups and suppress setup/context-only turn noise when no user prompt bubble exists
- Update desktop/src/features/agents/ui/AgentSessionTranscriptList.tsx and AgentSessionToolItem.tsx to render grouped tool rows with tighter activity-feed spacing
- Expand desktop/src/features/agents/ui/agentSessionToolSummary.ts so Buzz and generic tools use the compact summary presentation with useful previews
- Adjust desktop/src/shared/ui/toggle.tsx to support the ghost prompt-context toggle styling used by the transcript footer
- Add focused unit coverage for grouped tools, Buzz tool summaries, promptless turns, and setup/context-only turns
2026-06-15 01:03:23 -07:00
Taylor Ho
2b0627ac26 fix(agents): hide setup-only activity transcript rows
- Update desktop/src/features/agents/ui/agentSessionTranscriptGrouping.ts so turn setup lifecycle events are consumed before display even when a parsed user prompt is missing
- Preserve prompt context and real turn activity while dropping empty setup-only turn groups from the activity transcript
- Update desktop/src/features/agents/ui/agentSessionTranscriptGrouping.test.mjs to cover promptless turns and setup-only turns so Turn started / Session ready rows do not regress
2026-06-15 00:50:38 -07:00
Taylor Ho
27a5228005 feat(agents): group ACP turn prompts into a user-first transcript bundle
- Add turnId/sessionId to transcript items and a presentation-only grouping helper
- Render each turn as user prompt first, with setup status and context integrated inline
- Show turn setup as a CheckCheck tooltip; expose prompt context via a footer toggle
- Expand context sections inside the message bubble; drop the outer grouping border
- Add unit tests for turn metadata attachment and grouped display ordering
2026-06-14 23:28:44 -07:00