Skip to content

STU-1873: Add tool call detail panel#3904

Draft
shaunandrews wants to merge 1 commit into
stu-1873-improve-tool-descriptionsfrom
stu-1873-add-tool-detail-panel
Draft

STU-1873: Add tool call detail panel#3904
shaunandrews wants to merge 1 commit into
stu-1873-improve-tool-descriptionsfrom
stu-1873-add-tool-detail-panel

Conversation

@shaunandrews

@shaunandrews shaunandrews commented Jun 19, 2026

Copy link
Copy Markdown
Contributor
image image

Related issues

How AI was used in this PR

I used AI assistance to port the tool-row presentation from the older exploration branch onto current trunk, keep the scope limited to the classic Agentic UI transcript, and add regression tests. I reviewed the final diff, ran automated checks, and verified the UI in light and dark modes with a temporary Vite harness.

Proposed Changes

  • Makes classic Agentic UI tool calls easier to scan by showing an icon, a human-readable label, and a compact detail.
  • Lets users expand a tool row to inspect the command/input and output without long output taking over the transcript.
  • Keeps Ask User questions from rendering a duplicate raw tool row, so the custom question UI remains the only visible prompt.

Testing Instructions

  • Run npm test -- tools/common/ai/tests/tools.test.ts apps/cli/ai/tests/ui.test.ts apps/ui/src/ui-desks/chats/conversation/index.test.ts apps/ui/src/ui-classic/components/session-view/conversation/index.test.ts.
  • Run npm run typecheck.
  • In classic Agentic UI, trigger tool calls such as WP-CLI and Bash, then click the tool rows to confirm input/output appears inside a bounded scrollable details panel.
  • Check the tool rows and expanded details in both light and dark color schemes.

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant