You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Show per-tool elapsed time and turn duration in TUI and web UI #38666
I have verified this feature hasn't been suggested before.
Description
Problem: Currently neither the TUI nor the web/desktop UI show how long each tool call takes or how much time the current conversation turn has consumed. When debugging slow tools or tracking productivity, users have no visibility into timing.
Data is already available: The backend already stores ime.start / ime.end on every tool part state and ime.created / ime.completed on every message. No server/protocol changes needed - this is purely a frontend rendering change.
Proposed scope (4 files, ~100 lines):
TUI (packages/tui): show duration text next to each tool row in InlineTool, plus a live elapsed timer in the prompt input area while a turn is running
Session-UI (packages/session-ui): show duration in BasicTool component (covers most tools), pass timing through to all registered tool renderers, and surface turn duration in the assistant text part footer
The i18n keys (ui.message.duration.seconds / minutesSeconds) already exist in all supported languages.
Benefits: Users can identify slow tools at a glance, estimate remaining wait time, and benchmark prompts across models - all without changing workflow. The change is additive (no existing UI removed or restructured).
Not a duplicate of #36099 - that issue is scoped to subagent rows in the TUI. This one covers per-tool duration for all tools in both TUI and web UI, plus turn-level elapsed time. Implementation is up at #38675 with running code, not just a proposal.
Activity
github-actions commentedon Jul 24, 2026
This issue might be a duplicate of existing issues. Please check:
feng653 commentedon Jul 24, 2026
pic1(app):not finish
pic2(app): finished



pic3(TUI):finished
pic4(TUI):not finished
feng653 commentedon Jul 24, 2026
Not a duplicate of #36099 - that issue is scoped to subagent rows in the TUI. This one covers per-tool duration for all tools in both TUI and web UI, plus turn-level elapsed time. Implementation is up at #38675 with running code, not just a proposal.
Trollgeir commentedon Aug 14, 2026
Was about to create an issue on this too. I would love to have this feature.
feng653 commentedon Aug 17, 2026
dsh is much better
Nowaker commentedon Oct 8, 2026
For anyone who still wants this on the v1 TUI, I built it for my own use:
turn_timingintui.jsonshows each turn's completion time and duration (/turn-times,/turn-durations).timestampsoption that also shows end time and duration on completed tool calls.v1 is maintenance-only, so they're there for anyone who wants them; a v2 version will follow.