Label in-flight transcript activity with present tense - #12
Merged
Conversation
Reasoning, exploration, and shell labels now reflect whether the activity is still running. Reasoning settles from THINKING/Thinking to THOUGHT/Thought, exploration from Exploring to Explored, and running shells from Running to Ran. Settled reasoning falls back to the message completion time when a snapshot omits the part completion time.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Transcript activity labels used past tense from the first streamed byte. Reasoning said
THOUGHTbefore any text existed, an exploration group saidExploredwhile its searches were still running, and a live shell message saidShell. Labels now follow the actual state and settle once the activity ends.THINKING/Thinkingin flight,THOUGHT/Thoughtwhen done. Settled from parttime.completed, with the message completion time as a fallback so a REST snapshot that omits part timing cannot strand a finished thought asThinking.Exploringwhile any tool isrunningorstreaming,Exploredotherwise.Runningwhilestatus === "running",Ranfor every terminal state. Previouslytimeoutandkilledfell through to a bareShell.Group labels
Edited,Ran shell,Used Skill, andUsed Xneeded no change.groupAssistantPartsonly collapses a run when every tool iscompleted, and single in-flight tools render plain nouns.Testing
pnpm checkgreen: lint, typecheck, 299 tests, iOS and Android Hermes exports.time: { created, completed }to match real snapshot shape.Deploy note
An EAS Update was published from this tree to the
previewbranch at runtime version0.1.4before the branch was cut, so preview builds are already serving this change. Production is untouched.