Repository navigation
Backlog
Description
Problem
In Command Code Desktop a message carries no visible date, time or model. The reader has to hover, open a menu, or leave the session to answer questions that come up constantly:
- when was this asked, and how long has this run been going?
- which model answered this particular message?
- in a long session where the model was switched, where exactly did the switch happen?
What exists today (0.1.63)
Time is recorded but never shown.
- Every transcript record has a top-level ISO
timestamp; user records also carrymeta.createdAtin epoch ms. - The renderer never reads it for a message: searching the shipped
renderer/assetsbundle formessage.timestamp,msg.timestampand.meta.createdAtreturns 0 hits. - A time formatter does exist —
l5(...), which rendershour:minutewithin 24 h andshort month + daybeyond — but the only caller uses it for a usage-limit reset time, not for messages.
The model is stored per thread, not per message.
app-state.jsonkeepsmodel,modelProvider,createdAt,updatedAt,lastActivityAton the thread.- A message's
messageobject holds onlyroleandcontent(plus tool blocks); there is nomodelorproviderIdfield. In a 432-message transcript, 0 messages carry a model. - So even if the UI wanted to show the model per message, a mid-session
/modelswitch cannot be represented today: every message would show the thread's current model.
Proposal
- A permanent identity line under each user message (and, if space allows, at the end of each assistant turn):
model · date time, muted, at chip size — not hidden behind hover. - Absolute time, not relative:
24 Nov 2026, 12:34(locale-aware). A relative copy in the tooltip is welcome but not required. - Day separators in the timeline when the gap crosses midnight, so a long resumed session has structure.
- Model per message must be recorded. Persist the model and provider used for each turn in the transcript at send time, so a
/modelor provider switch mid-session is visible exactly where it happened. Messages written before this change can fall back to the thread model, and the fallback should be honest (e.g. show the model without claiming it is per-message). - A setting to hide it, default on, for people who want the minimal timeline.
Why it is worth doing
The information is already there and is being thrown away. Half of it costs nothing (timestamp is in every record); the other half needs one field saved at send time. Nothing here changes model context or token usage — it is render-only data.
Acceptance criteria
- A user message shows
model · date timewithout hovering. - The value matches the transcript: same date, same time to the minute.
- After a
/modelswitch inside one session, older messages keep the model they were sent with, and a visible marker shows where it changed. - Messages from an older transcript render with the thread model and do not crash on the missing field.
- The setting hides the line and the layout closes up cleanly.
Environment
Command Code Desktop 0.1.63, Windows 10 (build 19045) x64.
Metadata
Metadata
Assignees
Labels
No labels
Activity