Repository navigation
feat(web): tool acts render in the transcript as collapsed receipts — #243 client half - #2274
Merged
Merged
Conversation
…243 client half The Claude-iOS pattern Joel referenced: a collapsed receipt line between speech ('Asha · Read 2 files, ran a command ›') expanding IN PLACE to one row per act (✓/✗ · tool · object · time). Consumes the persona:act wire PR #2273 deployed. - chatViewModel: transcript = messages + act receipts merge-sorted by timestamp; consecutive same-actor acts collapse into ONE ActGroupVM with a composed summary line (verb buckets: read/searched/edited/ran) and an anyFailed mark. Grouping lives in the ONE projection so web/tui/mobile collapse identically. An acts-less wire (older core) folds to a messages-only transcript. - render: chatContent draws the transcript; actGroupRow uses native <details> (browser owns open/closed — re-renders never fight the reader); quiet CSS (receipts never shout over the words). Mobile's sheet variant is the remaining slice on #243. - fixture: the default chat preview carries real-shaped receipts (reads + failed pytest collapsed, a lone edit) — render-proof shot delivered. Spec pins interleave order, collapse count, summary-line composition, failure marking, and the acts-less degeneration. chat-view 68 + web 24 tests green, tsc green both. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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.
The Claude-iOS pattern Joel referenced: a collapsed receipt line between speech ('Asha · Read 2 files, ran a command ›') expanding IN PLACE to one row per act (✓/✗ · tool · object · time). Consumes the
persona:actwire PR #2273 deployed — real receipts are flowing from the live benchmark round as of this boot.transcript= messages + act receipts merge-sorted by timestamp; consecutive same-actor acts collapse into oneActGroupVMwith a composed summary line (verb buckets) +anyFailedmark. Grouping lives in the ONE projection — web/tui/mobile collapse identically. Acts-less wire (older core) degenerates to a messages-only transcript.chatContentdraws the transcript;actGroupRowuses native<details>(browser owns the open bit — re-renders never fight the reader). Mobile's bottom-sheet variant is the remaining Neuroanatomy refactor + unified panel resizers #243 slice.Spec pins interleave order, collapse count, summary-line composition, failure marking, acts-less degeneration. chat-view 68 + web 24 vitest green, tsc green both surfaces.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo