t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Enhancement]: Show provider command summary labels (toolSummary / description) in the timeline instead of raw commands

Open vickylid opened this issue 1 week ago • 5 comments

Environment

  • T3 Code version: 0.1.10 (macOS)
  • Providers affected: antigravity, claudeAgent (and any provider sending a command summary/description)

Problem

Right now, T3 Code's timeline renders all command_execution items using a Codex-style raw command layout (>_ <raw command> with the generic "Ran command" title). While that works for short one-liners, it becomes noisy and hard to scan when providers run multi-line inline scripts (e.g., python - <<'EOF' ...) or 15–20 commands in a single turn.

Providers like Antigravity (run_command → toolSummary) and Claude Code (Bash → description) already send concise, human-readable labels for each command, but T3 Code discards them in the timeline view.

Proposed Solution

  1. Provider adapters: Preserve the human-readable command summary when provided:
    • antigravity (apps/server/src/provider/acp/AntigravityProtocol.ts / packages/provider-acp): extract rawInput.toolSummary on execute tool calls.
    • claudeAgent: extract Bash description when present.
  2. Timeline presentation (apps/web/src/components/chat/MessagesTimeline.logic.ts, apps/web/src/session-logic.ts): When a command_execution item has a descriptive summary/title (distinct from the generic "Ran command"), display that label in the collapsed timeline row and keep the full raw command inside the expandable details—falling back to the current raw command display when no summary is available (e.g., codex).

vickylid avatar Nov 19 '26 19:11 vickylid

image image

vickylid avatar Nov 19 '26 19:11 vickylid

Note: this actually affects Claude Code (claudeAgent) too — its Bash tool sends a description field, which T3 Code also discards in favor of rendering the raw command string (>_ ...).

Right now the timeline (MessagesTimeline.logic.ts / session-logic.ts) treats every command_execution as Codex-style raw shell output (where no summary exists). That works fine for short one-liners, but becomes very noisy for providers that send a human-readable summary (toolSummary in Antigravity, description in Claude Code), especially when they run multi-line inline scripts. Using that summary as the collapsed row label (falling back to the raw command when absent, e.g. Codex) would improve readability for both Antigravity and Claude Code.

vickylid avatar Nov 19 '26 19:11 vickylid

image

vickylid avatar Nov 19 '26 19:11 vickylid

image

vickylid avatar Nov 19 '26 19:11 vickylid

Thanks for writing this up. It asks for new behaviour rather than reporting a defect, so it does not belong in the bug tracker and I'm closing it as not planned here. Feature ideas are discussed in Discussions: please post it there.

juliusmarminge avatar Nov 19 '26 19:11 juliusmarminge