Skip to content

Add App Hopper extension - #33513

Merged
raycastbot merged 16 commits into
raycast:mainfrom
chenghsj:add-app-hopper
Nov 23, 2026
Merged

raycastbot merged 16 commits into
raycast:mainfrom
chenghsj:add-app-hopper

Conversation

@chenghsj

@chenghsj chenghsj commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

App Hopper adds a macOS Raycast command to search running apps, windows and browser tabs by app name, title or available URL, then switch to the selected target.

Search or browse
  → publish native windows, then enrich browser tabs
  → reconcile exact window/process identity
  → validate and activate the selected target
Refresh or Back
  → cancel obsolete callers; preserve scans still needed elsewhere
  • Supports Chrome, Edge, Brave, Vivaldi, Opera, Safari, Orion, Firefox and Zen. Firefox/Zen can use the optional Mozilla-signed companion for background-tab URLs.
  • Refreshes cancel obsolete native queries and queued scans. Browser navigation scopes discovery to its browser; focus avoids rescanning unrelated apps. Active helper commands drain before the next request, preserving retained tab references.
  • Firefox/Zen window pairing uses known URLs, verified process identity and stable focus. The new companion supplies its actual active URL, preventing a same-title background tab from assigning another window's Space. Unresolved native observations remain accessible under Other Detected Windows without inflating confirmed window counts.
  • Requires Accessibility permission; some browser actions also request Automation. Raycast builds the submitted Swift package, and runtime does not compile or download native executables. Browser data is exchanged and cached locally; browser history and session-restore databases are not read.
  • Zen cross-workspace search uses a separate optional local bridge.

Evidence

  • Before: A same-title background tab could cause a companion window to inherit an uncovered private window's native ID and Space. After: Production companion/adapter regressions verify active URL reporting and correct pairing for Firefox/Zen; older companions retain unresolved candidates when active identity is unavailable.
  • Before: Refreshing a nested Show Tabs page and pressing Back left its scan consumer active. After: The installed Raycast promise lifecycle aborts replaced and unmounted queries; shared scans retain other consumers. Ordinary and AX window refreshes also use usePromise, with deferred initial reads and visible progress during revalidation.
  • Automated: The publisher/runtime revision passed cloud CI with 323 regressions. Final source 6f8f8c9 passed 327 regressions, complete typechecks, Raycast lint, distribution build, universal native verification and Store verification under Node 24.16.0. The final source and PR checks rerun on their updated commits.
  • In Raycast: Rebuilt Chrome window navigation opened the nested tab list; Refresh followed immediately by Back returned to the usable parent list. Installed source-map contents matched the changed browser runtime sources. Existing recorded checks cover Safari refresh/Back, browser and Code window navigation, Firefox/Zen exact focus, and identical-window Space pairing with the temporary companion. The final ordinary/AX-window hook smoke check was blocked by the Mac being locked. The compatibility report records the scenarios and remaining acceptance.
  • Store export: All 74 submitted source/assets files match the final source export byte for byte. Four new TypeScript/Swift process, queue and query-budget modules are included. Tests, companion source and signing tools remain in the source repository; generated native executables are excluded.
  • Companion: Mozilla-signed 1.0.3 is published and its URL/version/SHA-256 are pinned in this submission. The release workflow passed; independent anonymous downloads matched both package checksums, and the XPI matched the source manifest, built JavaScript and expected signature metadata. Older companion versions remain compatible.

Merge Danger

Door: two-way

Blast Radius: extension

The Raycast source and pinned companion can be reverted. Published companion versions remain immutable. Discovery and activation vary across applications/macOS releases and use private Accessibility/Space APIs.

Clean-account/Store-download installation, Intel hardware, private windows, multiple displays and the signed companion upgrade still need acceptance testing. More than two completely indistinguishable windows can retain unresolved candidates. One earlier Zen restart changed the URL-set digest for an unresolved reason; subsequent recorded restarts retained it.

Screencast

Application search

Browser tabs

Checklist

@raycastbot raycastbot added the new extension Label for PRs with new extensions label Nov 14, 2026
@raycastbot

Copy link
Copy Markdown
Collaborator

Congratulations on your new Raycast extension! 🚀

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days.

Once the PR is approved and merged, the extension will be available on our Store.

@greptile-apps

greptile-apps Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The reviewed changes introduce no new merge blockers.

Summary

Adds App Hopper to search running macOS apps, windows, and browser tabs, then switch to a selected target.

  • One Raycast search finds running apps, windows, and browser tabs.
  • App Hopper lists native windows and focuses the selected app or window.
  • Supported browsers show searchable tabs that can be opened directly.
  • Firefox and Zen can add companion tabs and match them to native windows.
  • Refreshes stop obsolete scans while keeping shared browser work alive.

Reviews (16) · Last reviewed commit: "Update CHANGELOG.md and optimise images" · Reviewed by Greptile

Comment thread extensions/app-hopper/AGENTS.md Resolved
Comment thread extensions/app-hopper/README.md Resolved
Comment thread extensions/app-hopper/package.json Resolved
Comment thread extensions/app-hopper/package.json Resolved
@chenghsj chenghsj closed this Nov 14, 2026
Sync the verified Store export from source commit 775effa. Keep only runtime/build assets, add exact focus verification and browser fixes, and replace all three metadata screenshots.
@chenghsj chenghsj reopened this Nov 14, 2026
Comment thread extensions/app-hopper/src/windows.ts Resolved
chenghsj and others added 6 commits November 14, 2026 23:33
Keep the controlled dropdown mounted so native reinitialization cannot overwrite the saved arrangement.
Focus the selected window without a global application scan. Validate its current owner and bound Accessibility discovery queries.

Source: chenghsj/app-hopper@baddc6b
Rank refreshed matches consistently, preserve selected target identities, and show Relevance during search without losing the saved arrangement. Send native tab focus directly to the browser helper.

Source: chenghsj/app-hopper@75f196b

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @chenghsj 👋

Thanks for the careful macOS app, window, and tab switcher 🔥 The native helper is a Swift Package that Raycast builds, the optional Firefox and Zen add-on is downloaded from a pinned SHA-256 release, and the list stays in place while background tabs load.

Here's everything I found in this pass:

Should fix

  • App Hopper reads as a coined brand without saying what the extension does. Please rename the Store title to something like App Hopper - Window and Tab Switcher, and rename the extension folder plus package.json name to match (kebab-case, e.g. app-hopper-window-and-tab-switcher).

    As mentioned in our docs here ↗

  • In src/browsers/firefox-integration.ts, Firefox integration files are stored under ~/Library/Application Support/raycast-yabai-firefox, while Zen already uses raycast-app-hopper-zen. Could you use a matching App Hopper directory for Firefox, and migrate or clean up the old path if anyone has already set up the integration?

  • metadata/screenshot-1.png and screenshot-2.png show a back chevron on the main app list. The root command does not set a navigation title, so this looks like the list was captured as a pushed view. Please retake those two of the root App Hopper command with Window Capture and Save to Metadata ticked, so the search field has no back chevron. Mock data is better than real browsing if you also replace screenshot-3.png.

    As mentioned in our docs here ↗

Optional

  • The command title is also just App Hopper. A verb + noun like Search Apps and Tabs would be easier to find in root search.

Feel free to reach me here or on Slack if anything is unclear.

@0xdhrv
0xdhrv marked this pull request as draft November 19, 2026 03:02
@0xdhrv 0xdhrv self-assigned this Nov 19, 2026
@chenghsj

Copy link
Copy Markdown
Contributor Author

Thanks for the review, @0xdhrv! I opened App Hopper directly from Raycast Root Search on macOS (Raycast 2.13.1). The back chevron is already visible next to the search field on the first App Hopper screen, before I open any app or browser drill-down. The root List omits navigationTitle.

Is there a specific way you’d like me to launch or capture the root view for the first two screenshots using Capture Window and Save to Metadata, or is it okay to keep the chevron that Raycast shows there?

Use the Store title and extension slug requested in review. Migrate App Hopper registrations to a dedicated Firefox helper directory while preserving the shared legacy files.
@0xdhrv
0xdhrv marked this pull request as ready for review November 23, 2026 12:55

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit b788de3 into raycast:main Nov 23, 2026
2 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new extension Label for PRs with new extensions platform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants