Repository navigation
[Brew] Adopt Apps reads the install folder from brew.env - #33168
Conversation
Adopt Apps read HOMEBREW_CASK_OPTS only from Raycast's environment, so it ignored an --appdir set in ~/.homebrew/brew.env and looked in /Applications. The scan now reads HOMEBREW_CASK_OPTS from `brew config`, which brew prints after loading its brew.env files. If that fails, it falls back to the environment. Also adds beru to the contributors.
|
Thank you for your contribution! 🎉 🔔 @nhojb @Aayush9029 @mathieudutour @urwrstkn8mare @ashokbaruaakas @MillerApps @pernielsentikaer @jfkisafk @vpukhanov @j3lte @alexander-cato @ViGeng @ridemountainpig @chrismessina @clins1994 @alexibuild you might want to have a look. You can use this guide to learn how to check out the Pull Request locally in order to test it. 📋 Quick checkout commandsBRANCH="brew/adopt-brew-env"
FORK_URL="https://github.com/dibas-np/extensions.git"
EXTENSION_NAME="brew"
REPO_NAME="extensions"
git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run devWe're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days. |
[Medium impact] The PR appears safe to merge; no actionable new issues were found. SummaryAdopt Apps reads the cask install folder from
Reviews (3) · Last reviewed commit: "[Brew] Adopt Apps also scans /Applicatio..." · Reviewed by Greptile |
The repo doesn't accept changes to agent notes in extension folders.
nhojb
left a comment
There was a problem hiding this comment.
Works for ~/.homebrew/brew.env
However it does not work if XDG_CONFIG_HOME is set in the shell and ~/.config/homebrew/brew.env is used for the same reason that HOMEBREW_CASK_OPTS does not work - it's not passed to Raycast's env. Of course brew does not pick up brew.env when run from the extension either. So at least that behavior is consistent.
Suggestions:
- Respect
HOMEBREW_CASK_OPTSif it's found in brew's config (this PR) - Otherwise how about we include both
/Applicationsand~/Applicationswhen searching for adopted apps? I haven't tested how brew works if you adopt an app that doesn't live in the specified cask app dir 🤔 - Update the README to point out that Raycast won't include
XDG_CONFIG_HOMEin it's env
Terminal's brew may read a brew.env under XDG_CONFIG_HOME that Raycast's brew never sees, so the scan also checks /Applications and ~/Applications. Adopting there is safe because the adopt command passes the app's folder as --appdir. Safari web apps are skipped, rows outside /Applications show their folder, and the README says Raycast doesn't get XDG_CONFIG_HOME.
|
@nhojb Thanks for testing! I've done all three:
|
nhojb
left a comment
There was a problem hiding this comment.
Great. I will update AGENTS.md separately.
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
- chore: remove AGENTS.md from the Store copy - fix: close Codex findings on the Greptile fixes, and keep Installed tags beside the sidebar - fix: address Greptile review on raycast#33527 - fix(taps): a lead naming a formula never matches an installed cask; Search drops a stale sidebar choice - fix: title the debug action Show Debug Info, with the bug icon - fix(taps): match installed leads by alias and either kind; reset Search\'s sidebar on a preference change - fix: clear the house-style audit, and two tap follow-ups - fix(taps): house-style fixes in the tap check - chore(deps): bump @raycast/api to 2.12.1 - chore: keep AGENTS.md out of Store submissions - feat(taps): check a tap with git before adding it, and untrust on remove - docs(todo): restore the package detail entry the sync dropped - feat(warnings): read Disabled and Deprecated reasons as short labels - chore: sync with the published extension (raycast#33168, raycast#33250, raycast#33330, raycast#33398, raycast#32119) - docs(todo): track the package detail\'s abort-and-refetch - test(cache): replace anyzig, which lost its requirements upstream - chore: sync with the published extension (raycast#32283, raycast#32708) - chore: stamp Remove Tap fix with its merge date (2026-10-04) - revert(toast): take the settle-gap toast changes out of this PR - fix(toast): send hides at once, never after the settle gap - fix(taps): refresh the list after any attempted add or remove - fix(toast): ignore Cancel once the action has finished - fix: progress toast overwriting its own result; untap without autoremove - fix(taps): uninstall a tap\'s packages explicitly before untapping - fix(search): format section counts in the user\'s locale - chore(deps): brace-expansion 5.0.12, @raycast/api 2.6.0 - chore(taps): changelog, README, Homebrew 6 add-tap wording - feat: third-party taps
- chore: keep AGENTS.md out of the Store copy - fix(preview): drop the explicit ⌘↵ on Run in Terminal - fix(taps): show Stop Trusting\'s installed read as the list\'s loading bar - fix(taps): refresh Show Installed on trust changes, and name hidden formulae reliably - chore: restore local package.json changes on top of the published copy - chore: sync package.json with the published extension (raycast#33590) - fix(taps): install from and list untrusted taps on Homebrew 7.0.14 - fix: address nhojb\'s review on raycast#33527 - fix: close Codex findings on the Greptile fixes, and keep Installed tags beside the sidebar - fix: address Greptile review on raycast#33527 - fix(taps): a lead naming a formula never matches an installed cask; Search drops a stale sidebar choice - fix: title the debug action Show Debug Info, with the bug icon - fix(taps): match installed leads by alias and either kind; reset Search\'s sidebar on a preference change - fix: clear the house-style audit, and two tap follow-ups - fix(taps): house-style fixes in the tap check - chore(deps): bump @raycast/api to 2.12.1 - chore: keep AGENTS.md out of Store submissions - feat(taps): check a tap with git before adding it, and untrust on remove - docs(todo): restore the package detail entry the sync dropped - feat(warnings): read Disabled and Deprecated reasons as short labels - chore: sync with the published extension (raycast#33168, raycast#33250, raycast#33330, raycast#33398, raycast#32119) - docs(todo): track the package detail\'s abort-and-refetch - test(cache): replace anyzig, which lost its requirements upstream - chore: sync with the published extension (raycast#32283, raycast#32708) - chore: stamp Remove Tap fix with its merge date (2026-10-04) - revert(toast): take the settle-gap toast changes out of this PR - fix(toast): send hides at once, never after the settle gap - fix(taps): refresh the list after any attempted add or remove - fix(toast): ignore Cancel once the action has finished - fix: progress toast overwriting its own result; untap without autoremove - fix(taps): uninstall a tap\'s packages explicitly before untapping - fix(search): format section counts in the user\'s locale - chore(deps): brace-expansion 5.0.12, @raycast/api 2.6.0 - chore(taps): changelog, README, Homebrew 6 add-tap wording - feat: third-party taps
- chore: keep AGENTS.md out of the Store copy - fix(preview): Run in Terminal uses ⌘⇧T, as in Show Upgrades - fix(preview): drop the explicit ⌘↵ on Run in Terminal - fix(taps): show Stop Trusting\'s installed read as the list\'s loading bar - fix(taps): refresh Show Installed on trust changes, and name hidden formulae reliably - chore: restore local package.json changes on top of the published copy - chore: sync package.json with the published extension (raycast#33590) - fix(taps): install from and list untrusted taps on Homebrew 7.0.14 - fix: address nhojb\'s review on raycast#33527 - fix: close Codex findings on the Greptile fixes, and keep Installed tags beside the sidebar - fix: address Greptile review on raycast#33527 - fix(taps): a lead naming a formula never matches an installed cask; Search drops a stale sidebar choice - fix: title the debug action Show Debug Info, with the bug icon - fix(taps): match installed leads by alias and either kind; reset Search\'s sidebar on a preference change - fix: clear the house-style audit, and two tap follow-ups - fix(taps): house-style fixes in the tap check - chore(deps): bump @raycast/api to 2.12.1 - chore: keep AGENTS.md out of Store submissions - feat(taps): check a tap with git before adding it, and untrust on remove - docs(todo): restore the package detail entry the sync dropped - feat(warnings): read Disabled and Deprecated reasons as short labels - chore: sync with the published extension (raycast#33168, raycast#33250, raycast#33330, raycast#33398, raycast#32119) - docs(todo): track the package detail\'s abort-and-refetch - test(cache): replace anyzig, which lost its requirements upstream - chore: sync with the published extension (raycast#32283, raycast#32708) - chore: stamp Remove Tap fix with its merge date (2026-10-04) - revert(toast): take the settle-gap toast changes out of this PR - fix(toast): send hides at once, never after the settle gap - fix(taps): refresh the list after any attempted add or remove - fix(toast): ignore Cancel once the action has finished - fix: progress toast overwriting its own result; untap without autoremove - fix(taps): uninstall a tap\'s packages explicitly before untapping - fix(search): format section counts in the user\'s locale - chore(deps): brace-expansion 5.0.12, @raycast/api 2.6.0 - chore(taps): changelog, README, Homebrew 6 add-tap wording - feat: third-party taps
- chore: keep AGENTS.md out of the Store copy - fix(taps): read every qualified package on a README install line - fix(taps): read a trusted alias by kind when brew refuses its same-named cask - fix(preview): Run in Terminal uses ⌘⇧T, as in Show Upgrades - fix(preview): drop the explicit ⌘↵ on Run in Terminal - fix(taps): show Stop Trusting\'s installed read as the list\'s loading bar - fix(taps): refresh Show Installed on trust changes, and name hidden formulae reliably - chore: restore local package.json changes on top of the published copy - chore: sync package.json with the published extension (raycast#33590) - fix(taps): install from and list untrusted taps on Homebrew 7.0.14 - fix: address nhojb\'s review on raycast#33527 - fix: close Codex findings on the Greptile fixes, and keep Installed tags beside the sidebar - fix: address Greptile review on raycast#33527 - fix(taps): a lead naming a formula never matches an installed cask; Search drops a stale sidebar choice - fix: title the debug action Show Debug Info, with the bug icon - fix(taps): match installed leads by alias and either kind; reset Search\'s sidebar on a preference change - fix: clear the house-style audit, and two tap follow-ups - fix(taps): house-style fixes in the tap check - chore(deps): bump @raycast/api to 2.12.1 - chore: keep AGENTS.md out of Store submissions - feat(taps): check a tap with git before adding it, and untrust on remove - docs(todo): restore the package detail entry the sync dropped - feat(warnings): read Disabled and Deprecated reasons as short labels - chore: sync with the published extension (raycast#33168, raycast#33250, raycast#33330, raycast#33398, raycast#32119) - docs(todo): track the package detail\'s abort-and-refetch - test(cache): replace anyzig, which lost its requirements upstream - chore: sync with the published extension (raycast#32283, raycast#32708) - chore: stamp Remove Tap fix with its merge date (2026-10-04) - revert(toast): take the settle-gap toast changes out of this PR - fix(toast): send hides at once, never after the settle gap - fix(taps): refresh the list after any attempted add or remove - fix(toast): ignore Cancel once the action has finished - fix: progress toast overwriting its own result; untap without autoremove - fix(taps): uninstall a tap\'s packages explicitly before untapping - fix(search): format section counts in the user\'s locale - chore(deps): brace-expansion 5.0.12, @raycast/api 2.6.0 - chore(taps): changelog, README, Homebrew 6 add-tap wording - feat: third-party taps
…33527) * Update brew extension - Merge branch \'contributions/merge-1794701734448\' - Pull contributions - chore: remove AGENTS.md from the Store copy - fix(taps): a lead naming a formula never matches an installed cask; Search drops a stale sidebar choice - fix: title the debug action Show Debug Info, with the bug icon - fix(taps): match installed leads by alias and either kind; reset Search\'s sidebar on a preference change - fix: clear the house-style audit, and two tap follow-ups - fix(taps): house-style fixes in the tap check - chore(deps): bump @raycast/api to 2.12.1 - chore: keep AGENTS.md out of Store submissions - feat(taps): check a tap with git before adding it, and untrust on remove - docs(todo): restore the package detail entry the sync dropped - feat(warnings): read Disabled and Deprecated reasons as short labels - chore: sync with the published extension (#33168, #33250, #33330, #33398, #32119) - docs(todo): track the package detail\'s abort-and-refetch - test(cache): replace anyzig, which lost its requirements upstream - chore: sync with the published extension (#32283, #32708) - chore: stamp Remove Tap fix with its merge date (2026-10-04) - revert(toast): take the settle-gap toast changes out of this PR - fix(toast): send hides at once, never after the settle gap - fix(taps): refresh the list after any attempted add or remove - fix(toast): ignore Cancel once the action has finished - fix: progress toast overwriting its own result; untap without autoremove - fix(taps): uninstall a tap\'s packages explicitly before untapping - fix(search): format section counts in the user\'s locale - chore(deps): brace-expansion 5.0.12, @raycast/api 2.6.0 - chore(taps): changelog, README, Homebrew 6 add-tap wording - feat: third-party taps * Update brew extension - chore: remove AGENTS.md from the Store copy - fix: close Codex findings on the Greptile fixes, and keep Installed tags beside the sidebar - fix: address Greptile review on #33527 - fix(taps): a lead naming a formula never matches an installed cask; Search drops a stale sidebar choice - fix: title the debug action Show Debug Info, with the bug icon - fix(taps): match installed leads by alias and either kind; reset Search\'s sidebar on a preference change - fix: clear the house-style audit, and two tap follow-ups - fix(taps): house-style fixes in the tap check - chore(deps): bump @raycast/api to 2.12.1 - chore: keep AGENTS.md out of Store submissions - feat(taps): check a tap with git before adding it, and untrust on remove - docs(todo): restore the package detail entry the sync dropped - feat(warnings): read Disabled and Deprecated reasons as short labels - chore: sync with the published extension (#33168, #33250, #33330, #33398, #32119) - docs(todo): track the package detail\'s abort-and-refetch - test(cache): replace anyzig, which lost its requirements upstream - chore: sync with the published extension (#32283, #32708) - chore: stamp Remove Tap fix with its merge date (2026-10-04) - revert(toast): take the settle-gap toast changes out of this PR - fix(toast): send hides at once, never after the settle gap - fix(taps): refresh the list after any attempted add or remove - fix(toast): ignore Cancel once the action has finished - fix: progress toast overwriting its own result; untap without autoremove - fix(taps): uninstall a tap\'s packages explicitly before untapping - fix(search): format section counts in the user\'s locale - chore(deps): brace-expansion 5.0.12, @raycast/api 2.6.0 - chore(taps): changelog, README, Homebrew 6 add-tap wording - feat: third-party taps * Update brew extension - chore: keep AGENTS.md out of the Store copy - fix(preview): drop the explicit ⌘↵ on Run in Terminal - fix(taps): show Stop Trusting\'s installed read as the list\'s loading bar - fix(taps): refresh Show Installed on trust changes, and name hidden formulae reliably - chore: restore local package.json changes on top of the published copy - chore: sync package.json with the published extension (#33590) - fix(taps): install from and list untrusted taps on Homebrew 7.0.14 - fix: address nhojb\'s review on #33527 - fix: close Codex findings on the Greptile fixes, and keep Installed tags beside the sidebar - fix: address Greptile review on #33527 - fix(taps): a lead naming a formula never matches an installed cask; Search drops a stale sidebar choice - fix: title the debug action Show Debug Info, with the bug icon - fix(taps): match installed leads by alias and either kind; reset Search\'s sidebar on a preference change - fix: clear the house-style audit, and two tap follow-ups - fix(taps): house-style fixes in the tap check - chore(deps): bump @raycast/api to 2.12.1 - chore: keep AGENTS.md out of Store submissions - feat(taps): check a tap with git before adding it, and untrust on remove - docs(todo): restore the package detail entry the sync dropped - feat(warnings): read Disabled and Deprecated reasons as short labels - chore: sync with the published extension (#33168, #33250, #33330, #33398, #32119) - docs(todo): track the package detail\'s abort-and-refetch - test(cache): replace anyzig, which lost its requirements upstream - chore: sync with the published extension (#32283, #32708) - chore: stamp Remove Tap fix with its merge date (2026-10-04) - revert(toast): take the settle-gap toast changes out of this PR - fix(toast): send hides at once, never after the settle gap - fix(taps): refresh the list after any attempted add or remove - fix(toast): ignore Cancel once the action has finished - fix: progress toast overwriting its own result; untap without autoremove - fix(taps): uninstall a tap\'s packages explicitly before untapping - fix(search): format section counts in the user\'s locale - chore(deps): brace-expansion 5.0.12, @raycast/api 2.6.0 - chore(taps): changelog, README, Homebrew 6 add-tap wording - feat: third-party taps * Update brew extension - chore: keep AGENTS.md out of the Store copy - fix(preview): Run in Terminal uses ⌘⇧T, as in Show Upgrades - fix(preview): drop the explicit ⌘↵ on Run in Terminal - fix(taps): show Stop Trusting\'s installed read as the list\'s loading bar - fix(taps): refresh Show Installed on trust changes, and name hidden formulae reliably - chore: restore local package.json changes on top of the published copy - chore: sync package.json with the published extension (#33590) - fix(taps): install from and list untrusted taps on Homebrew 7.0.14 - fix: address nhojb\'s review on #33527 - fix: close Codex findings on the Greptile fixes, and keep Installed tags beside the sidebar - fix: address Greptile review on #33527 - fix(taps): a lead naming a formula never matches an installed cask; Search drops a stale sidebar choice - fix: title the debug action Show Debug Info, with the bug icon - fix(taps): match installed leads by alias and either kind; reset Search\'s sidebar on a preference change - fix: clear the house-style audit, and two tap follow-ups - fix(taps): house-style fixes in the tap check - chore(deps): bump @raycast/api to 2.12.1 - chore: keep AGENTS.md out of Store submissions - feat(taps): check a tap with git before adding it, and untrust on remove - docs(todo): restore the package detail entry the sync dropped - feat(warnings): read Disabled and Deprecated reasons as short labels - chore: sync with the published extension (#33168, #33250, #33330, #33398, #32119) - docs(todo): track the package detail\'s abort-and-refetch - test(cache): replace anyzig, which lost its requirements upstream - chore: sync with the published extension (#32283, #32708) - chore: stamp Remove Tap fix with its merge date (2026-10-04) - revert(toast): take the settle-gap toast changes out of this PR - fix(toast): send hides at once, never after the settle gap - fix(taps): refresh the list after any attempted add or remove - fix(toast): ignore Cancel once the action has finished - fix: progress toast overwriting its own result; untap without autoremove - fix(taps): uninstall a tap\'s packages explicitly before untapping - fix(search): format section counts in the user\'s locale - chore(deps): brace-expansion 5.0.12, @raycast/api 2.6.0 - chore(taps): changelog, README, Homebrew 6 add-tap wording - feat: third-party taps * Update brew extension - chore: keep AGENTS.md out of the Store copy - fix(taps): read every qualified package on a README install line - fix(taps): read a trusted alias by kind when brew refuses its same-named cask - fix(preview): Run in Terminal uses ⌘⇧T, as in Show Upgrades - fix(preview): drop the explicit ⌘↵ on Run in Terminal - fix(taps): show Stop Trusting\'s installed read as the list\'s loading bar - fix(taps): refresh Show Installed on trust changes, and name hidden formulae reliably - chore: restore local package.json changes on top of the published copy - chore: sync package.json with the published extension (#33590) - fix(taps): install from and list untrusted taps on Homebrew 7.0.14 - fix: address nhojb\'s review on #33527 - fix: close Codex findings on the Greptile fixes, and keep Installed tags beside the sidebar - fix: address Greptile review on #33527 - fix(taps): a lead naming a formula never matches an installed cask; Search drops a stale sidebar choice - fix: title the debug action Show Debug Info, with the bug icon - fix(taps): match installed leads by alias and either kind; reset Search\'s sidebar on a preference change - fix: clear the house-style audit, and two tap follow-ups - fix(taps): house-style fixes in the tap check - chore(deps): bump @raycast/api to 2.12.1 - chore: keep AGENTS.md out of Store submissions - feat(taps): check a tap with git before adding it, and untrust on remove - docs(todo): restore the package detail entry the sync dropped - feat(warnings): read Disabled and Deprecated reasons as short labels - chore: sync with the published extension (#33168, #33250, #33330, #33398, #32119) - docs(todo): track the package detail\'s abort-and-refetch - test(cache): replace anyzig, which lost its requirements upstream - chore: sync with the published extension (#32283, #32708) - chore: stamp Remove Tap fix with its merge date (2026-10-04) - revert(toast): take the settle-gap toast changes out of this PR - fix(toast): send hides at once, never after the settle gap - fix(taps): refresh the list after any attempted add or remove - fix(toast): ignore Cancel once the action has finished - fix: progress toast overwriting its own result; untap without autoremove - fix(taps): uninstall a tap\'s packages explicitly before untapping - fix(search): format section counts in the user\'s locale - chore(deps): brace-expansion 5.0.12, @raycast/api 2.6.0 - chore(taps): changelog, README, Homebrew 6 add-tap wording - feat: third-party taps
…33798) * Update brew extension - Merge branch \'contributions/merge-1795208670739\' into fix/brew-7015-plans - Pull contributions - chore: keep AGENTS.md out of the Store copy - docs(pins): say when upgradeChecked\'s pin read trusts brew\'s own flag - fix(pins): catch pins under old names in Search and in Show Upgrades retries; read sized non-numeric versions - docs(changelog): Homebrew 7.0.15 previews and pins; stamp #33527 with its merge date - fix(preview): read Homebrew 7.0.15 plan sizes and pins under old names - fix(taps): read every qualified package on a README install line - fix(taps): read a trusted alias by kind when brew refuses its same-named cask - fix(preview): Run in Terminal uses ⌘⇧T, as in Show Upgrades - fix(preview): drop the explicit ⌘↵ on Run in Terminal - fix(taps): show Stop Trusting\'s installed read as the list\'s loading bar - fix(taps): refresh Show Installed on trust changes, and name hidden formulae reliably - chore: restore local package.json changes on top of the published copy - chore: sync package.json with the published extension (#33590) - fix(taps): install from and list untrusted taps on Homebrew 7.0.14 - fix: address nhojb\'s review on #33527 - fix: close Codex findings on the Greptile fixes, and keep Installed tags beside the sidebar - fix: address Greptile review on #33527 - fix(taps): a lead naming a formula never matches an installed cask; Search drops a stale sidebar choice - fix: title the debug action Show Debug Info, with the bug icon - fix(taps): match installed leads by alias and either kind; reset Search\'s sidebar on a preference change - fix: clear the house-style audit, and two tap follow-ups - fix(taps): house-style fixes in the tap check - chore(deps): bump @raycast/api to 2.12.1 - chore: keep AGENTS.md out of Store submissions - feat(taps): check a tap with git before adding it, and untrust on remove - docs(todo): restore the package detail entry the sync dropped - feat(warnings): read Disabled and Deprecated reasons as short labels - chore: sync with the published extension (#33168, #33250, #33330, #33398, #32119) - docs(todo): track the package detail\'s abort-and-refetch - test(cache): replace anyzig, which lost its requirements upstream - chore: sync with the published extension (#32283, #32708) - chore: stamp Remove Tap fix with its merge date (2026-10-04) - revert(toast): take the settle-gap toast changes out of this PR - fix(toast): send hides at once, never after the settle gap - fix(taps): refresh the list after any attempted add or remove - fix(toast): ignore Cancel once the action has finished - fix: progress toast overwriting its own result; untap without autoremove - fix(taps): uninstall a tap\'s packages explicitly before untapping - fix(search): format section counts in the user\'s locale - chore(deps): brace-expansion 5.0.12, @raycast/api 2.6.0 - chore(taps): changelog, README, Homebrew 6 add-tap wording - feat: third-party taps * Update brew extension - Merge branch \'fix/brew-7015-plans\' of /Users/messina/Developer/GitHub/chrismessina/brew into fix/brew-7015-plans - fix(search): trim the launch argument like typed text * Update CHANGELOG.md --------- Co-authored-by: raycastbot <[email protected]>
* Update brew extension - Merge branch \'contributions/merge-1795482420074\' into fix/brew-7016-build-deps - Pull contributions - chore: keep AGENTS.md out of the Store copy - docs(installed): list what the build-dependency rule cannot see - fix(installed): read a HEAD keg\'s build dependencies; narrow what Unused claims - fix(installed): don\'t tag build dependencies Homebrew keeps as Unused - docs(agents): ray develop double-runs mount effects under StrictMode - chore: sync the merge date of #33798 (2026-11-21) - fix(search): trim the launch argument like typed text - docs(pins): say when upgradeChecked\'s pin read trusts brew\'s own flag - fix(pins): catch pins under old names in Search and in Show Upgrades retries; read sized non-numeric versions - docs(changelog): Homebrew 7.0.15 previews and pins; stamp #33527 with its merge date - fix(preview): read Homebrew 7.0.15 plan sizes and pins under old names - fix(taps): read every qualified package on a README install line - fix(taps): read a trusted alias by kind when brew refuses its same-named cask - fix(preview): Run in Terminal uses ⌘⇧T, as in Show Upgrades - fix(preview): drop the explicit ⌘↵ on Run in Terminal - fix(taps): show Stop Trusting\'s installed read as the list\'s loading bar - fix(taps): refresh Show Installed on trust changes, and name hidden formulae reliably - chore: restore local package.json changes on top of the published copy - chore: sync package.json with the published extension (#33590) - fix(taps): install from and list untrusted taps on Homebrew 7.0.14 - fix: address nhojb\'s review on #33527 - fix: close Codex findings on the Greptile fixes, and keep Installed tags beside the sidebar - fix: address Greptile review on #33527 - fix(taps): a lead naming a formula never matches an installed cask; Search drops a stale sidebar choice - fix: title the debug action Show Debug Info, with the bug icon - fix(taps): match installed leads by alias and either kind; reset Search\'s sidebar on a preference change - fix: clear the house-style audit, and two tap follow-ups - fix(taps): house-style fixes in the tap check - chore(deps): bump @raycast/api to 2.12.1 - chore: keep AGENTS.md out of Store submissions - feat(taps): check a tap with git before adding it, and untrust on remove - docs(todo): restore the package detail entry the sync dropped - feat(warnings): read Disabled and Deprecated reasons as short labels - chore: sync with the published extension (#33168, #33250, #33330, #33398, #32119) - docs(todo): track the package detail\'s abort-and-refetch - test(cache): replace anyzig, which lost its requirements upstream - chore: sync with the published extension (#32283, #32708) - chore: stamp Remove Tap fix with its merge date (2026-10-04) - revert(toast): take the settle-gap toast changes out of this PR - fix(toast): send hides at once, never after the settle gap - fix(taps): refresh the list after any attempted add or remove - fix(toast): ignore Cancel once the action has finished - fix: progress toast overwriting its own result; untap without autoremove - fix(taps): uninstall a tap\'s packages explicitly before untapping - fix(search): format section counts in the user\'s locale - chore(deps): brace-expansion 5.0.12, @raycast/api 2.6.0 - chore(taps): changelog, README, Homebrew 6 add-tap wording - feat: third-party taps * Update CHANGELOG.md --------- Co-authored-by: raycastbot <[email protected]>
* Update brew extension - Merge branch \'contributions/merge-1795498069835\' into fix/installed-keg-reads - Pull contributions - chore: keep AGENTS.md out of the Store copy - fix(search): carry a cask\'s install time into Search; correct the changelog - feat(installed): drop status letters from rows; show the install date in the sidebar - fix(search): carry linked_keg into Search rows; tighten the oldest-keg guard - feat(installed): filter dependencies from the dropdown; show the version brew uses - chore: sync the merge date of #33901 (2026-11-24) - docs(installed): list what the build-dependency rule cannot see - fix(installed): read a HEAD keg\'s build dependencies; narrow what Unused claims - fix(installed): don\'t tag build dependencies Homebrew keeps as Unused - docs(agents): ray develop double-runs mount effects under StrictMode - chore: sync the merge date of #33798 (2026-11-21) - fix(search): trim the launch argument like typed text - docs(pins): say when upgradeChecked\'s pin read trusts brew\'s own flag - fix(pins): catch pins under old names in Search and in Show Upgrades retries; read sized non-numeric versions - docs(changelog): Homebrew 7.0.15 previews and pins; stamp #33527 with its merge date - fix(preview): read Homebrew 7.0.15 plan sizes and pins under old names - fix(taps): read every qualified package on a README install line - fix(taps): read a trusted alias by kind when brew refuses its same-named cask - fix(preview): Run in Terminal uses ⌘⇧T, as in Show Upgrades - fix(preview): drop the explicit ⌘↵ on Run in Terminal - fix(taps): show Stop Trusting\'s installed read as the list\'s loading bar - fix(taps): refresh Show Installed on trust changes, and name hidden formulae reliably - chore: restore local package.json changes on top of the published copy - chore: sync package.json with the published extension (#33590) - fix(taps): install from and list untrusted taps on Homebrew 7.0.14 - fix: address nhojb\'s review on #33527 - fix: close Codex findings on the Greptile fixes, and keep Installed tags beside the sidebar - fix: address Greptile review on #33527 - fix(taps): a lead naming a formula never matches an installed cask; Search drops a stale sidebar choice - fix: title the debug action Show Debug Info, with the bug icon - fix(taps): match installed leads by alias and either kind; reset Search\'s sidebar on a preference change - fix: clear the house-style audit, and two tap follow-ups - fix(taps): house-style fixes in the tap check - chore(deps): bump @raycast/api to 2.12.1 - chore: keep AGENTS.md out of Store submissions - feat(taps): check a tap with git before adding it, and untrust on remove - docs(todo): restore the package detail entry the sync dropped - feat(warnings): read Disabled and Deprecated reasons as short labels - chore: sync with the published extension (#33168, #33250, #33330, #33398, #32119) - docs(todo): track the package detail\'s abort-and-refetch - test(cache): replace anyzig, which lost its requirements upstream - chore: sync with the published extension (#32283, #32708) - chore: stamp Remove Tap fix with its merge date (2026-10-04) - revert(toast): take the settle-gap toast changes out of this PR - fix(toast): send hides at once, never after the settle gap - fix(taps): refresh the list after any attempted add or remove - fix(toast): ignore Cancel once the action has finished - fix: progress toast overwriting its own result; untap without autoremove - fix(taps): uninstall a tap\'s packages explicitly before untapping - fix(search): format section counts in the user\'s locale - chore(deps): brace-expansion 5.0.12, @raycast/api 2.6.0 - chore(taps): changelog, README, Homebrew 6 add-tap wording - feat: third-party taps * Update brew extension - Merge branch \'fix/installed-keg-reads\' of /Users/messina/Developer/GitHub/chrismessina/brew into fix/installed-keg-reads - fix(installed): list Casks before Dependencies in the filter * Update CHANGELOG.md --------- Co-authored-by: raycastbot <[email protected]>
* Update brew extension - Merge branch \'contributions/merge-1795638172400\' - Pull contributions - chore: ship AGENTS.md with the extension - fix(uninstall): offer Force Uninstall or Unpin for a pinned package - fix(actions): one brew operation per package at a time - chore: sync the merge date of #33909 (2026-11-24) - fix(installed): list Casks before Dependencies in the filter - fix(search): carry a cask\'s install time into Search; correct the changelog - feat(installed): drop status letters from rows; show the install date in the sidebar - fix(search): carry linked_keg into Search rows; tighten the oldest-keg guard - feat(installed): filter dependencies from the dropdown; show the version brew uses - chore: sync the merge date of #33901 (2026-11-24) - docs(installed): list what the build-dependency rule cannot see - fix(installed): read a HEAD keg\'s build dependencies; narrow what Unused claims - fix(installed): don\'t tag build dependencies Homebrew keeps as Unused - docs(agents): ray develop double-runs mount effects under StrictMode - chore: sync the merge date of #33798 (2026-11-21) - fix(search): trim the launch argument like typed text - docs(pins): say when upgradeChecked\'s pin read trusts brew\'s own flag - fix(pins): catch pins under old names in Search and in Show Upgrades retries; read sized non-numeric versions - docs(changelog): Homebrew 7.0.15 previews and pins; stamp #33527 with its merge date - fix(preview): read Homebrew 7.0.15 plan sizes and pins under old names - fix(taps): read every qualified package on a README install line - fix(taps): read a trusted alias by kind when brew refuses its same-named cask - fix(preview): Run in Terminal uses ⌘⇧T, as in Show Upgrades - fix(preview): drop the explicit ⌘↵ on Run in Terminal - fix(taps): show Stop Trusting\'s installed read as the list\'s loading bar - fix(taps): refresh Show Installed on trust changes, and name hidden formulae reliably - chore: restore local package.json changes on top of the published copy - chore: sync package.json with the published extension (#33590) - fix(taps): install from and list untrusted taps on Homebrew 7.0.14 - fix: address nhojb\'s review on #33527 - fix: close Codex findings on the Greptile fixes, and keep Installed tags beside the sidebar - fix: address Greptile review on #33527 - fix(taps): a lead naming a formula never matches an installed cask; Search drops a stale sidebar choice - fix: title the debug action Show Debug Info, with the bug icon - fix(taps): match installed leads by alias and either kind; reset Search\'s sidebar on a preference change - fix: clear the house-style audit, and two tap follow-ups - fix(taps): house-style fixes in the tap check - chore(deps): bump @raycast/api to 2.12.1 - chore: keep AGENTS.md out of Store submissions - feat(taps): check a tap with git before adding it, and untrust on remove - docs(todo): restore the package detail entry the sync dropped - feat(warnings): read Disabled and Deprecated reasons as short labels - chore: sync with the published extension (#33168, #33250, #33330, #33398, #32119) - docs(todo): track the package detail\'s abort-and-refetch - test(cache): replace anyzig, which lost its requirements upstream - chore: sync with the published extension (#32283, #32708) - chore: stamp Remove Tap fix with its merge date (2026-10-04) - revert(toast): take the settle-gap toast changes out of this PR - fix(toast): send hides at once, never after the settle gap - fix(taps): refresh the list after any attempted add or remove - fix(toast): ignore Cancel once the action has finished - fix: progress toast overwriting its own result; untap without autoremove - fix(taps): uninstall a tap\'s packages explicitly before untapping - fix(search): format section counts in the user\'s locale - chore(deps): brace-expansion 5.0.12, @raycast/api 2.6.0 - chore(taps): changelog, README, Homebrew 6 add-tap wording - feat: third-party taps * Update brew extension - fix(actions): claim the Check for Updates upgrade; hide preview Terminal runs while busy - chore: stop tracking AGENTS.md; keep it out of the Store - fix(actions): hide Run … in Terminal while a package is busy * Update CHANGELOG.md --------- Co-authored-by: raycastbot <[email protected]>
Description
Follow-up to #33136. Adopt Apps read
HOMEBREW_CASK_OPTSonly from Raycast's environment, so it ignored an--appdirset in~/.homebrew/brew.envand looked in/Applications.As discussed in #33136, the scan now asks brew.
brewFetchCaskAppdirreadsHOMEBREW_CASK_OPTSfrombrew config, which brew prints after loading itsbrew.envfiles. If that fails, the scan falls back to the environment, as before. It doesn't usebrew ruby, because that's a developer command and the first run turns on Homebrew's developer mode.After review, the scan also checks
/Applicationsand~/Applications, because Terminal's brew may read abrew.envunderXDG_CONFIG_HOMEthat Raycast never sees. The adopt command passes the app's folder as--appdir, so adopting from those folders is safe. The scan skips Safari web apps, and rows outside/Applicationsshow their folder.The README now says Raycast doesn't get
XDG_CONFIG_HOMEfrom your shell, and whichbrew.envfile to use. This also adds me (beru) to the contributors.Testing
npm run buildandnpm run lintpass.npm test: 434 tests pass, 6 of them new.brew.envvariants, the folder parsed from realbrew configmatches the one brew uses./Applications. WithHOMEBREW_CASK_OPTS=--appdir=~/Applicationsin~/.homebrew/brew.env, it scanned~/Applicationsinstead and showed "Nothing to adopt", since no app there has a cask. Removing the line brought the/Applicationslist back.Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare located outside the metadata folder if they were not generated with our metadata tool🤖 Generated with Claude Code