Repository navigation
Conversation
… fade it The foreground glow tail was 1.5 s and armed when an input was announced, so with 2-10 s between tool calls every foreground action was an isolated blink, and a long typeText lost the glow while still typing. The tail is now 5 s and is re-armed when the input finishes (a done hook from pointer-guard into the banner). The Windows glow (edge-glow.ps1) and the macOS glow (overlay.swift) fade in over 250 ms and out over 600 ms instead of showing and hiding hard; the Windows pulse starts at its dim end each time the glow comes up. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
The full-screen foreground glow (the amber edge "side bars") now stays up 5 s after the last real input, counted from when the input finishes. It also fades in (250 ms) and out (600 ms) on Windows and macOS. The three indicator states and their meaning are unchanged:
Why
In a run that mixes background and foreground steps, the side bars flashed on and then stopped. The cause:
FOREGROUND_TAIL_MSwas 1.5 s, armed when the input was announced (before it ran). The usual gap between agent tool calls is 2–10 s, so every foreground step became an isolated 1.5 s blink.edge-glow.ps1showed and hid the windows instantly, at a random point of the pulse, so the glow could pop in at full brightness.overlay.swiftdid a hardorderFrontRegardless/orderOut.How
foregroundDone()re-arms it when a foreground input finishes. It's a no-op unless a tail is running, so bursts, a pause and the user's turn behave as before, and no extraONis sent.setOnAgentInputDone, called right afterg.done(...)at the three guarded-input sites.leveleases 0→1 in 250 ms on ON and 1→0 in 600 ms on OFF, and scales the pulse.levelreaches 0, and an ON during a fade-out turns it around with no hide/show.HIDE, used before a capture, still hides at once.NSAnimationContextalpha fades (0.25 s in, 0.6 s out).orderOutruns only after a finished fade-out, and only if ON hasn't come back. HIDE is immediate, as before. CI compilesscripts/mac/*.swifton macOS.Tests
src/__tests__/banner.test.ts:The new cases fail with main's sources.
typecheck, typecheck:tests, lint (0 errors, the 3 warnings as on main),
npm run test:ci: 4299 passed, 1 failed, 80 skipped. The failure wastests/pidfile.system.test.ts"refuses a genuine duplicate", which this branch doesn't touch; it passes on its own (8/8) on re-run.edge-glow.ps1parses under PowerShell 5.1.Known limit
A single input running longer than 5 s (a very long
typeText) still drops the glow before it ends, because the tail is armed at announce and re-armed only while it is still running. Holding it for the whole input needs an in-flight count: a small follow-up if it shows up.No release: for the 2.4 train.
🤖 Generated with Claude Code