Skip to content

feat(raycast): an extension so Raycast can own the hotkeys - #24

Merged
rbstp merged 1 commit into
masterfrom
feat/raycast-extension
Sep 6, 2026
Merged

rbstp merged 1 commit into
masterfrom
feat/raycast-extension

Conversation

@rbstp

@rbstp rbstp commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Ten Raycast commands, each opening one of the heed:// URLs v0.9.0 added: the two ring steps, the
four directions, a window by number, and toggle, on and off. raycast/src/heed.ts is the whole
mechanism; the rest is one thin file per command, because Raycast maps a command name to
src/<name>.ts and ten separately searchable and separately bindable commands need ten of them.

The point is to give the hotkeys back. Heed registers its shortcuts exclusively, so every
combination it claims is gone from every other app. With this, Raycast owns the combination and
Heed claims nothing: bind a Raycast hotkey, then defaults write io.github.rbstp.heed focusNextHotkey ''. Nothing is installed alongside the extension and no binary is called, so the
only thing the two ends share is the vocabulary, which is why the extension lives in this repo
rather than beside it. A store PR copies the directory out when it is ready.

raycast/** joins .github/** and the README in the release workflow's paths-ignore, since the
extension ships through the Raycast store and changing it leaves the app binary untouched. The
Development section of the README says so now.

Verified by driving the real palette: Turn on Focus Follows Mouse, Turn off, Toggle,
Focus Next Window and Focus Window Above each reached Heed and did the right thing, with the
pointer warping after. ray lint and ray build are clean. Focus Window by Number is the one
command I could not drive from a script, since its dropdown needs real interaction; its only input
is a fixed 1 to 9 that heed://focus/3 already handles.

Two things a reviewer should know rather than discover. The channel is one way, so a command reports
what it asked for and not what came of it, and the HUD is worded that way. And a command sent to a
Heed that is not running launches it, but that first command can do nothing while Heed works out
which window had focus; giving it a source in that case is a change to the agent, not to the
extension, so it is left for its own PR.

Ten no-view commands, each opening the heed:// URL the last release added:
the two ring steps, the four directions, a window by number, and the three
switch verbs. Nothing is installed alongside it and no binary is called, so
there is no path to get wrong and nothing to keep in step but the vocabulary.

It lives in the repo rather than beside it because the vocabulary is Heed's:
a command added to one is a command added to the other, and a store PR copies
the directory out when it is ready.

The release workflow now ignores raycast/, since the extension ships through
the Raycast store and changing it leaves the app binary untouched.
@rbstp
rbstp merged commit 24da319 into master Sep 6, 2026
1 check passed
@rbstp
rbstp deleted the feat/raycast-extension branch September 6, 2026 23:08
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