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 sst#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
Prevent timer from flip-flopping between total conversation time and current
operation time. Timer now only displays when there's an actively running part
with proper timing information.

- Removes fallback to user.time.created when no running part found
- Timer hides between operations instead of showing incorrect times
- Also reorders package.json dependencies alphabetically
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants