Repository navigation
fix(sandbox): keep leading blank lines in cleaned output; drop unused dep - #466
Merged
Merged
Conversation
… dep
clean_terminal_output decided whether to write a line separator by
checking whether the output was still empty, so leading blank lines
vanished ("\n\nx" became "x"). It now tracks the first line explicitly.
whycodes-session no longer uses futures; the manifest entry only
produced an unused-dependency warning.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Merged
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.
Two small cleanups noticed while working on #461.
clean_terminal_outputdropped leading blank lines ("\n\nx"→"x"): it decided whether to write a separator by checking whether the output was still empty, which is also true after an empty first line. It now tracks the first line explicitly. Blank lines elsewhere were already kept.whycodes-sessionlistedfutureswithout using it, which produced an unused-dependency warning on every build of the crate.Checks: sandbox (63), session (175), agent (769), tools (539)
--libtests pass; fmt, clippy (sandbox, session), ratchets.🤖 Generated with Claude Code