Skip to content

Release SwarmBar 0.1.9 - #6

Merged
umzcio merged 3 commits into
mainfrom
release/v0.1.9
Oct 11, 2026
Merged

umzcio merged 3 commits into
mainfrom
release/v0.1.9

Conversation

@umzcio

@umzcio umzcio commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Skips a banner when the user is already looking at that session.

TerminalFocuser.shouldSkipBanner returns true only when the session's tty is in the current tab of the frontmost iTerm2 window, input happened within 60s, and the screen is unlocked. Everything else notifies: background tabs, idle user, locked screen, unidentifiable terminal, remote sessions. Applies to approval banners and the idle-turn reminder; the check runs off the main thread.

Live inputs verified on this Mac: frontmost bundle id, iTerm2 current-tab ttys (/dev/ttysNNN) and a session's tty from ps all resolve and compare correctly. 351/351 tests. Signed, notarized, stapled.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Mwfic1fgoeozCnQauXbUvG

umzcio and others added 3 commits October 10, 2026 18:48
SwarmBar posted every alert regardless of what the user was looking at,
so an agent in the frontmost iTerm2 tab still raised a banner. Skip it
only when the session's own tty is in the current tab of the frontmost
iTerm2 window (split panes count), there was input in the last minute,
and the screen is unlocked. A background tab, an idle user, a locked
screen, an unidentifiable terminal and remote sessions still notify.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mwfic1fgoeozCnQauXbUvG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mwfic1fgoeozCnQauXbUvG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mwfic1fgoeozCnQauXbUvG
@umzcio
umzcio merged commit c01f471 into main Oct 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant