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
Commit ea714f8
Browse filesBrowse the repository at this point in the historyBrowse files
feat(tui): tick a stopwatch on running tool calls and space prompt footers
A running tool call showed no time at all, so a long plugin call such
as vibeterm_prompt_session gave no sense of how long it had been going.
With footer.time and footer.duration on tool calls, a running call now
shows when it started and a stopwatch in whole seconds (16:25:29 · 37s,
2m 5s); once it finishes it shows its end time and duration as before,
now with tenths of a second up to 11 minutes (2m 5.3s, then 11m 0s).
Running Task calls, drawn as a spinner, get the footer below it.
Every running call reads one shared 1s clock (util/ticker.ts). It runs
only while a computation holds it and stops on the first tick after
the last one lets go, so an idle TUI sets no timer.
A prompt's time and message ID now sit one blank line below its text,
unless the text already ends with a blank line or file chips sit
between them (userFooterGap).
AI-Tool: opencode 1.18.34-vt-163-907b3bc518
AI-Model: anthropic/claude-opus-5-5
AI-Variant: high
AI-Platform: linux
AI-Harness: Vibeterm a823eaf
AI-Session-ID: ses_ee68aab01ffei41gwUGJ5ESj6W
Copy file name to clipboardExpand all lines: packages/web/src/content/docs/tui.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -506,6 +506,10 @@ A type a key does not apply to has no effect, so `"all"` and `"important"` selec
506
506
507
507
Each message ID appears once. A tool call belongs to its assistant message, so the tool call shows the message's ID only when the message's own footer does not: with `"message_id": "tool"`, or when `"important"` leaves that step's footer out. With `"all"`, the ID is in the assistant footer and the tool calls show only their time and duration.
508
508
509
+
While a tool call runs, its footer shows when it started and a stopwatch that ticks every second in whole seconds: `16:25:29 · 37s`, `16:25:29 · 2m 5s`. Once it finishes, the footer shows when it finished and how long it ran, with tenths of a second up to 11 minutes: `4.8s`, `2m 5.3s`, then `11m 0s`. One clock drives every running call, and it stops when none is running.
510
+
511
+
A prompt's footer sits one blank line below the prompt's text, unless the text already ends with a blank line or file chips sit between them.
0 commit comments