Repository navigation
fix(server): keep several lines sent to an agent on a mirrored Linux or macOS pane in its message box - #290
Merged
Merged
Conversation
…or macOS pane in its message box
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
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.
Change
Closes #269.
Several lines sent to an agent on a mirrored pane were shaped into one bracketed paste only on a Windows PC. A Linux or macOS PC mirrors too when it has no Node for the PTY sidecar (#265), and herdr there hands
pane.send_textto the program byte for byte.mirrorInputnow shapes the block wherever the pane is mirrored; the rules are unchanged (only a pane herdr names an agent on, only a block with a line break inside it, never one already bracketed).Validation
cat -vafterESC[?2004hshowedline one\rline twofrompane.send_textbare, and a block sent with markers arrived with them. herdr adds none itself.terminalAttach: falseon the same session, gjc in the pane, asubmitframe withtyped: trueand two CR-joined lines (what the terminal's input line sends):reply with the single word firstas a message of its own and answered it;bun run typecheck,bun run test:unit(874 pass).terminalAttach: false), and the paste-into-terminal path on Linux, which calls the same function.