Repository navigation
Fix five more bugs: agy doubled text, empty-area background panic, ~ at partial names, week delta, restarted tasks - #108
Merged
Conversation
…at partial names, week delta after slash commands, restarted tasks - agy: a closing event whose full text starts with whitespace no longer appends the whole answer to itself (compare with the trimmed text). - Backgrounds (matrix, rain, snow, stars): skip painting when the area is 0 wide or 0 high instead of panicking on % 0 / clamp(0, -1). - ~ shortening: new sys::tilde() only shortens at a folder boundary, so /home/alice is no longer shown as ~ice with HOME=/home/al (live view paths and the codex/opencode/agy folder). - Turn summary: a passed-through slash command now records the weekly usage at send time, and a new live session starts it as unknown, so "+N% week" no longer counts from 0 or from an older turn. - task_started for a task that already exists resets its start and end time and keeps the description on one line. Tests for each fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
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.
Closes #103
Closes #104
Closes #105
Closes #106
Closes #107
The five findings left over from the bug hunt behind #101, each with a test:
DONEtext is compared aftertrim_start(), like the stored block.Bg::paintreturns early on a 0-wide or 0-high area.~shortening: newsys::tilde(p, home)only shortens at a/or\\boundary; used byrel()in live.rs and the codex.rs folder (also used by opencode/agy).lcmdpass-through arm setsw0;App::livestarts it at-1.0(unknown), likerconv.task_startedon an existing id resetst0/t1and cutsdescwithone(…, 200).Checked locally:
cargo fmt --check, clippy-D warnings(no-default + all-features, Linux and x86_64-pc-windows-gnu),cargo doc,cargo test(128 tests, 5 new).🤖 Generated with Claude Code