Liquid Glass shortcut-hint pill on macOS 26
The Cmd-hold pill on pane tabs uses glassEffect tinted with its palette background at 72% on macOS 26 and later, so text keeps its contrast. Before macOS 26, and with compilers older than Swift 6.3, it keeps the opaque capsule from #260.
Testing: swift test, 232 tests pass. Used by the cmux Liquid Glass hint-pill PR (to follow).
š¤ Generated with Claude Code
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.
Summary by cubic
On macOS 26 and later with Swift 6.3+ compilers, the Cmd-hold shortcut hint now draws a Liquid Glass rim around its opaque palette center so text keeps its contrast; older systems keep the opaque capsule. Tabs also gain an optional shared-terminal presence with an avatar accessory and terminal-size context menu.
New Features
TabPresencerenders up to three avatars (owner ring,+Noverflow) after the title; clicking it sendstoggleSizePanel.- The tab context menu gains Size to My Window, a Terminal Size mode submenu, and Disconnect Others⦠when other clients are attached.
BonsplitController.popoverAnchorView(for:)returns the accessory or the tab item so hosts can anchor popovers to the tab.BonsplitContrastPalettederives neutral chrome colors with WCAG contrast floors (4.5:1 glyphs and text, 3:1 lines) in each appearance.
Migration
- Hosts set
presenceonTabor viaupdateTab; nil hides the accessory and the menu section.
Summary by CodeRabbit
- New Features
- Tabs can show shared-terminal participants, including avatars and owner indicators.
- Added terminal sizing controls to tab menus, including window sizing, sizing modes, and options to disconnect other sessions when permitted.
- Style
- Shortcut hint pills now feature a Liquid Glass rim with an opaque center on supported macOS versions. On older systems, they retain the existing opaque capsule style.