Repository navigation
Description
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
OpenCode already shows how long a turn/run took, and the TUI has a /timestamps toggle for message creation times. I would like an option to show the exact start and completion timestamps for a turn/run directly in the TUI and/or web UI.
Desired display:
- Start timestamp with full date and local time down to milliseconds
- Completion timestamp when the run finishes, also down to milliseconds
- Existing duration can remain, but should be paired with the explicit start/end times
Example:
Started: 2026-07-04 14:32:18.427
Completed: 2026-07-04 14:35:02.913
Duration: 2m 44.486s
Why this would be useful
When reviewing sessions later, it is helpful to know not just how long something took, but exactly when it started and when it completed. This is especially useful for:
- Tracking when work was completed from the UI/front-end side
- Correlating OpenCode activity with git commits, CI logs, deploys, terminal output, and external incidents
- Reviewing long sessions where several runs happen close together
- Auditing/debugging tool calls and assistant turns with precise wall-clock timing
Related but narrower issues
- [FEATURE]: Add timestamp next to messages in chat (both agent and user messages) #8634 asks for timestamps next to messages
- [FEATURE]: Add seconds to message timestamp display #20406 asks for seconds in message timestamps
- [FEATURE]: Show timestamp and duration on tool execution blocks #22144 asks for timestamp + duration on tool execution blocks
- [FEATURE]: TUI: timestamp gutter mode for messages #29399 asks for a timestamp gutter mode
- /timestamps command has no visible effect and /exit missing from autocomplete #26625 reports
/timestampsnot visibly rendering in some TUI cases
This request is specifically for visible start and completion timestamps with millisecond precision, not only creation time or duration.
Implementation notes
The message data already appears to include millisecond-level timing fields such as created/completed times, since OpenCode can calculate durations. This may primarily be a display/configuration feature rather than a new data model requirement.
Possible UI approaches:
- Add an expanded timestamp mode behind
/timestamps - Add a config option for timestamp precision/format
- Show full details on hover/focus/expanded message metadata
- Add a compact line under each completed assistant turn:
2026-07-04 14:32:18.427 → 14:35:02.913 · 2m44.486s
Activity
ShreeMulay commentedon Jul 4, 2026
Follow-up from testing on OpenCode v1.17.13:
/timestampsdoes work in the TUI on my local install.So the current built-in behavior is useful, but it does not cover the workflow this request is aimed at: visibly knowing exactly when a turn/run started and exactly when it completed, with a full local date/time and enough precision to correlate against git/CI/deploy/log events.
RoySalisbury commentedon Aug 3, 2026
I'd like to break this down even more. Not just for a session, but for each step within have start/end timestamps (maybe even an elapsed time)Sometimes it had to know if a session stalled and needs to be "kicked" to continue. Looking at timestamps let me know that its been doing the same tak for 45 min and is probable stuck. I've had times where a something failed, and noting was happeing for over an hour, but the session showed it still running. Id start a new session and have it look at the logs and processes to see what was going on and if I should cancel it and then re-prompt it to recover the session work.
dved123 commentedon Aug 6, 2026
This really needs doing, hard to believe people are blaze about it since the first requests 6 months ago...
feat(tui): show assistant turn completion time
github-actions commentedon Oct 7, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.