Repository navigation
Conversation
Agent-Session: fb96350b-c19e-48f0-b364-31e9ad2b72f4 Agent-Session: a7af3b88-3bb7-48a2-ae20-7626a83628a1 Agent-Session: 01a11ab9-c68e-7c52-916b-e1b0123e302f Agent-Session: 01a11aca-5007-7b80-ad35-c0a0f746a05d
Agent-Session: a7af3b88-3bb7-48a2-ae20-7626a83628a1 Agent-Session: 01a11ab9-c68e-7c52-916b-e1b0123e302f Agent-Session: 01a11aca-5007-7b80-ad35-c0a0f746a05d
Agent-Session: a7af3b88-3bb7-48a2-ae20-7626a83628a1 Agent-Session: 01a11ab9-c68e-7c52-916b-e1b0123e302f Agent-Session: 01a11aca-5007-7b80-ad35-c0a0f746a05d
sidkmenon
added this pull request to stack #1028
October 8, 2026 10:02
This was referenced Oct 8, 2026
Agent-Session: 01a11aca-5007-7b80-ad35-c0a0f746a05d Agent-Session: 01a11c34-48e4-7ec1-bb72-2c496acb90dc Agent-Session: 01a11c3d-70b4-7df1-be1a-f0e12840fadf
Agent-Session: 01a11aca-5007-7b80-ad35-c0a0f746a05d Agent-Session: ec5d2c35-3045-44f3-9c41-ba4378797c8e
This branch has not been deployed
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.
Extract Claude's frame renderer, selection behavior, and input protocol into
@diffr/consumer, with thin Claude reexports. All consumers share folding, files view, viewed marks, and selection handling.Send selected code as standard Git patches with explicit base/head snapshot identities, preserving full revision SHAs and available file blob IDs. Claude retains clickable L/R draft anchors backed by that same model context; plain-text clients receive the patch directly. No L/R legend or Markdown fence is added.
Add a subprocess owner, pointer/key normalization, and a bounded model-open acknowledgement that reports producer errors and cancellation instead of premature success. The NDJSON wire format is unchanged.
Validation: 153 consumer tests and all seven Claude plugin runtime tests pass. Git applies generated patches, including quoted paths and missing final newlines. Pi's production bundle was exercised in Ghostty with a real Git comparison and mouse selection into the unsent draft. Claude's committed bundle is rebuilt.
Base: Claude implementation #1019. Next: Pi #1024.
Stack: #1023 → #1024 → #1025 → #1026 → #1027 (above #1019).