Expand description
Wall-clock timestamps and turn durations for the final agent response of a turn.
Each completed turn carries one short local-time footer (e.g. · 3:12 PM,
optionally · 3:12 PM · 13m 24s) after its final agent message, so the
clock marks the turn’s summary point instead of repeating on every
intermediate response. Formatting lives here so the TUI transcript, plain
CLI output, and future desktop/export surfaces share one shape.
Functions§
- current_
message_ timestamp_ footer - Build the footer for the current local time, without an elapsed half.
- current_
message_ timestamp_ footer_ with_ elapsed - Build the footer for the current local time with the measured turn duration appended when the caller has one.
- format_
message_ time - Format a local timestamp the way agent footers display it (
3:12 PM). - format_
turn_ elapsed - Format a turn duration the way footers and outcome lines display it.
- message_
timestamp_ footer - Build the full footer line for a turn’s final agent response
(
· 3:12 PM, plus· 13m 24swhen the caller measured the turn).