Skip to content

Add /connect and fix Option+A on composed macOS input - #739

Merged
TheGreatAxios merged 4 commits into
mainfrom
cl-7094-make-the-add-provider-shortcut-work-on-non-us-macos-keyboard
Sep 1, 2026
Merged

Add /connect and fix Option+A on composed macOS input#739
TheGreatAxios merged 4 commits into
mainfrom
cl-7094-make-the-add-provider-shortcut-work-on-non-us-macos-keyboard

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • /connect opens Add Provider from any keyboard layout (layout-proof path).
  • Option+A still opens Add Provider on US-style terminals. Layouts that emit å/Å for Option+A without the option modifier also open it in /model.
  • Esc from /connect dismisses Add Provider. Esc after Alt+A from /model still returns to the model list.
  • Dedicated Nordic å in /model is treated as that shortcut only when Add Provider is offered.

Verification

  • Focused tests cover /connect, composed å/Å, unwired å still filtering, bare ASCII a, and both Esc paths
  • bun run check lint/typecheck/build pass; full suite green on the follow-up commit

Fixes CL-7094
Fixes #482

@linear-code

linear-code Bot commented Aug 31, 2026

Copy link
Copy Markdown

CL-7094

@TheGreatAxios TheGreatAxios changed the title Fix add provider shortcut on composed macOS input Add /connect and fix Option+A on composed macOS input Aug 31, 2026
@TheGreatAxios
TheGreatAxios force-pushed the cl-7094-make-the-add-provider-shortcut-work-on-non-us-macos-keyboard branch from 0384976 to a91b6a0 Compare September 1, 2026 04:12
Slash /connect opens Add Provider from any layout. Option+A still works,
including terminals that emit å/Å without the option modifier.
Esc from /connect was reopening the model picker because the opener
always wired onCancel to openModels. Only Alt+A from an already-open
picker needs that return path.
The footer still advertised only Alt+A, which is a dead chord on
layouts whose Option+A is not å/Å. Tests now cover closed-prompt å,
other composed glyphs, sequence-only å, typed /connect Esc, and
Alt+A Esc through the key path.
@TheGreatAxios
TheGreatAxios force-pushed the cl-7094-make-the-add-provider-shortcut-work-on-non-us-macos-keyboard branch from a91b6a0 to d42a578 Compare September 1, 2026 04:18
@TheGreatAxios
TheGreatAxios merged commit b97d504 into main Sep 1, 2026
5 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.

Alt+A cannot add a provider on macOS with a non-US keyboard

1 participant