Skip to content

Conversation

@ariane-emory
Copy link
Owner

DUMMY PR, IGNORE.

Changes:

  • Added onCleanup import for timer cleanup
  • Added elapsedTime signal with createEffect timer logic
  • Updated AssistantMessage display logic to show elapsed time for in-progress messages
  • Maintains existing duration display for completed messages

- Display elapsed time for active assistant messages in TUI
- Timer starts from user message creation time and updates every second
- Elapsed time shown next to agent mode and model info
- Timer automatically cleans up when message completes or component unmounts
- Addresses part 1 of issue anomalyco#5872: elapsed runtime visibility

Changes:
- Added onCleanup import for timer cleanup
- Added elapsedTime signal with createEffect timer logic
- Updated AssistantMessage display logic to show elapsed time for in-progress messages
- Maintains existing duration display for completed messages
- Add props.last check to timer guard so only the last assistant message
  runs the elapsed time interval
- Fix Match condition that was always true (final() || !final())
- Remove accidentally committed binary build file
… message time

- Change timer to show elapsed time since the current tool call/text part started
- Add 'running' label to distinguish in-progress elapsed time from completed duration
- Timer now resets for each new action, showing how long the current operation takes
- Falls back to user message time if no part timing info is available
@github-actions
Copy link

github-actions bot commented Jan 8, 2026

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants