feat(chat): readability polish + message actions, regenerate, feedback#22
Merged
Merged
Conversation
- Bump markdown/message font sizes and tighten line-height for readability - Redesign composer Add menu: larger surface, viewport clamping, brand-chip stack with motion - Add per-message actions on assistant turns: copy, thumbs up/down, regenerate - Wire thumbs up/down feedback to Braintrust via per-turn (messageId → spanId) registration and a new `feedback` protocol message - Add `regenerate` protocol message + server handler: pop the last user→ assistant pair on Pi-SDK sessions, or re-feed the prior user text on Codex harness sessions (legacy Claude Code harness not supported) - Auto-collapse TurnProgress steps once the agent finishes writing to the main conversation, while respecting any manual toggle the user makes Co-Authored-By: Claude Opus 4.7 <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.
Summary
feedbackprotocol message that pairs a per-turnmessageIdwith the trace span id.regenerateprotocol message + server handler: Pi-SDK sessions pop the last user → assistant pair and re-run; Codex harness sessions re-feed the prior user text (nothread/resumeRPC); legacy Claude Code harness is unsupported.Test plan
main.🤖 Generated with Claude Code