Conversation
Claude Code records an `effort` field on every assistant record; surface it as a 5-step bar meter next to the model badge in the agent, main-agent and conversation headers, and compact (meter-only) in the delegation tree, delegated-work list, and the stats agent table. Per-agent value is the dominant effort across that agent's turns, since a run can change effort midway. Traces predating the field render nothing. Replace the truncated id text in the subagent header with a copy button, and add the same button for the conversation id in the conversation and main-agent headers — the ids themselves stay hidden since they're only useful pasted elsewhere. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
What
Reasoning effort per agent. Claude Code writes an
effortfield (low…max) on every assistant record. It's now normalized (NormMsg.effort→NormAgent.effort/NormSession.effort, taking the dominant value across an agent's turns, since a run can switch effort midway) and rendered as a 5-step bar meter:Traces predating the field render nothing. If subagent
meta.jsonstarts carryingeffort, that value takes precedence over the derived one.Id copy buttons. A
copy conversation idbutton in the conversation header and the main-agent header, andcopy agent idin the subagent header (replacing the truncatedid a9a3816519text). The ids themselves stay hidden — they're only useful pasted elsewhere. SharedCopyIdButton+lib/clipboard.ts, the latter also replacing a duplicatecopyTextthat lived in StatsView.Verified
tscclean; 21 tests pass (three trace fixtures updated for the two newNormSessionfields).🤖 Generated with Claude Code