anomalyco / anomalyco/opencode
[FEATURE]: Show per-part timestamps for thinking, tool calls, and tool output in the TUI
@kommander is already working on this.
Since Aug 14, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Describe the enhancement you want to request
The TUI has a /timestamps toggle (session.toggle.timestamps) that shows the message-level creation time under each message. There is currently no way to see when each individual block happened — thinking, tool invocation (e.g. bash command), and tool output — which makes it hard to tell whether a long-running agent is stalled in one step or just slow.
Requested: when timestamps are enabled, each part should render its own start timestamp (using part.time.start):
- Thinking block header:
Thought: plan migration · 2.3s · 3:41 PM - Tool invocation (inline):
$ npm run build · 3:41 PM - Tool block header (bash output, reads, etc.):
# Running in packages/tui · 3:41 PM - Message-level timestamp stays as-is
Parts already carry time.start/time.end in the protocol (packages/schema/src/v1/session.ts), so this is a pure TUI rendering change.
Why this would be useful
- Detect stalls: see that a tool call has been running since
3:41 PMwithout output - Correlate agent activity with git commits / CI logs / deploys
- Audit long sessions where multiple runs happen close together
Related issues
- #35348 (message/run start+completion timestamps; comments explicitly request per-step timestamps)
- #22144 (timestamp+duration on tool execution blocks — closed, no implementation landed)
- #42124 (timestamps on permission prompts)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.