Repository navigation
[Brew] Check a tap before adding it, and readable Disabled warnings - #33527
Conversation
- 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 (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
|
Thank you for your contribution! 🎉 🔔 @nhojb @Aayush9029 @mathieudutour @urwrstkn8mare @ashokbaruaakas @MillerApps @pernielsentikaer @jfkisafk @vpukhanov @j3lte @alexander-cato @ViGeng @ridemountainpig @clins1994 @alexibuild @dibas-np @raulgg 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="ext/brew"
FORK_URL="https://github.com/chrismessina/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. |
[High impact] The PR appears safe to merge, with the previously reported terminal shortcut display issue still open. Findings
Fix with agent prompt### Issue 1
extensions/brew/src/components/installPreview.tsx:undefined-438
`RunInTerminalAction` is second in the install preview and single-package upgrade preview. Raycast does not display custom shortcuts for the first two actions, so users still see ⌘↵ rather than the newly documented ⌘⇧T.
The repository requires avoiding custom shortcuts on the first two actions. Put this action below those slots where ⌘⇧T should be shown.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.SummaryAdds checks before adding third-party taps, safer trust steps, and clearer package warnings.
chrismessina declined removing Reviews (5) · Last reviewed commit: "Update brew extension" · Reviewed by Greptile |
| ### Stop the package detail from refetching itself | ||
|
|
||
| Selecting a row in Search fetches that package's record from formulae.brew.sh (`usePackageDetail`, a `useFetch`), and a dev-build trace on 2026-11-02 showed every one of those requests created, aborted and recreated in the same millisecond. The request is wasted, and on Raycast 2.10.1 the abort is what crashes Search: Node 26's undici throws `InformationalError: socket idle timeout` 4 s after an HTTP/2 request is aborted before its response ([nodejs/undici#5936](https://github.com/nodejs/undici/issues/5936), fixed by #5983 but unreleased as of 2026-11-02; reported to Raycast). | ||
|
|
||
| Not yet known is whether brew or Raycast causes the double run. Ruled out: the inline `onError` (`useFetch` strips it before comparing arguments) and unstable row keys (rows are keyed by package name in `src/components/list.tsx`). Left: Raycast remounting the detail element on a selection change, or `@raycast/utils` `useCachedPromise` (2.3.0) re-running the effect. | ||
|
|
||
| - **Find out which,** with a temporary dev-build trace that logs `FormulaListItemDetail` mounts and unmounts alongside the `undici:request:create` diagnostics channel. | ||
| - **If it is brew,** fix it there. **If it is Raycast,** report it with the trace, and leave the code alone. |
There was a problem hiding this comment.
Planning notes ship with extension
This adds investigation plans to TODO.md inside the extension. The repository explicitly forbids planning files such as TODO.md when a PR adds or changes them. Keep these notes in the author's own repository and remove this file from the extension.
Rule Used: No AI agent or tooling scaffolding in the extension What: Extension folders must not ship AI-agent, planning or personal tooling files that Store users never use, such as: - CLAUDE.md, AGENTS.md, GEMINI.md, CONTEXT*.md, PLAN.md, TODO.md ... (source)
Prompt To Fix With AI
This is a comment left during a code review.
Path: extensions/brew/TODO.md
Line: 51-58
Comment:
**Planning notes ship with extension**
This adds investigation plans to `TODO.md` inside the extension. The repository explicitly forbids planning files such as `TODO.md` when a PR adds or changes them. Keep these notes in the author's own repository and remove this file from the extension.
**Rule Used:** No AI agent or tooling scaffolding in the extension What: Extension folders must not ship AI-agent, planning or personal tooling files that Store users never use, such as: - `CLAUDE.md`, `AGENTS.md`, `GEMINI.md`, `CONTEXT*.md`, `PLAN.md`, `TODO.md` ... ([source](https://github.com/raycast/extensions/blob/bf0427094f200fecd80aa8a1d7ef85708aa65cb1/.greptile/config.json))
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.There was a problem hiding this comment.
There was a problem hiding this comment.
Fair point. extensions/brew/TODO.md is an existing, maintainer-owned public backlog, and this change adds to that established convention. My generic “planning files must not ship” finding doesn’t apply here; I’ll treat it as withdrawn.
Should I remember this scoped review rule: “Do not flag changes to Brew’s existing TODO.md as prohibited planning files; it is an intentional public roadmap for contributors”?
- 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
nhojb
left a comment
There was a problem hiding this comment.
Thanks for this! I left a few comments inline. The main ones: Refresh can't clear a cached "not found" answer, untrust runs for untrusted taps and can block untap, and the README tap-name parsing picks up trailing prose.
| const preflight = !key | ||
| ? undefined | ||
| : (answers.get(key) ?? (data?.key === key && !isLoading ? data.value : "checking")); | ||
| return { preflight, recheck: () => key && settled === key && revalidate() }; |
There was a problem hiding this comment.
Refresh can't re-check a negative answer. not-found, not-a-tap and missing-package answers are cached for good: in the module-level answers map, and in the remembered memo, which is keyed on the module-level gitReader (tapPreflight.ts:173). revalidate() → check() returns answers.get(key) straight away, and preflight reads answers.get(key) first anyway.
Repro: paste owner/private-tap → "Misspelled, or private" → sign git in → Refresh. The answer stays "not found" until the extension reloads, even though the Add Anyway copy suggests signing in may fix it. Suggest letting recheck clear both caches for the key.
There was a problem hiding this comment.
Fixed. recheck now drops the target's entry from answers and calls a new forgetRepoReads(), which clears every remembered repository read. It then re-runs the check through a refresh counter in usePromise's arguments, so a Refresh is one argument change and one run. A test covers it: not-found, then the repository appears, still not-found from the memo, then found after forgetRepoReads.
| failure: `Failed to remove ${tap.name}`, | ||
| // Homebrew 7 reports `trusted`; trust there is reset along with the tap, so | ||
| // adding it again later asks again instead of trusting it silently. | ||
| const untrust = tap.trusted !== undefined; |
There was a problem hiding this comment.
untrust is true for any tap where trusted !== undefined, so brew untrust --tap also runs for taps with trusted: false. continueOnError is off, so if untrust exits non-zero on a tap that was never trusted, untap never runs and the user sees "Failed to remove". Suggest tap.trusted === true.
There was a problem hiding this comment.
This one can't block the untap. brew untrust --tap on a tap that was never trusted prints Not trusted tap: <name> and exits 0 (cmd/untrust.rb: removed is false and it only changes the word it prints). It runs for trusted: false on purpose: the same call also removes that tap's individually trusted formulae, casks and commands (the trusted_entries loop), and without it a tap added again later would bring those back trusted.
| */ | ||
| export function readmeLeads(readme: string): TapTarget[] { | ||
| const commands = readme.split(/&&|\|\||[;|`\n]/).flatMap((part) => part.match(/\bbrew\s+(?:install|tap)\b.*/) ?? []); | ||
| const targets = commands.flatMap((line) => parseTapName(line) ?? []); |
There was a problem hiding this comment.
parseTapName gets the whole rest of the README line and takes the last word that contains /. So prose after the command replaces the real tap:
brew install acme/tap/tool for macOS/Linux→macos/linuxbrew install acme/tap/tool (see docs/install)→docs/install)
A URL in a trailing comment is also picked up as the clone URL. Suggest cutting each command at the first token that isn't an argument (or taking only the first x/y[/z] token after install/tap).
There was a problem hiding this comment.
Fixed. Each command is now cut at the first word that isn't an argument: flags, the first name, and for brew tap a URL right after the name. for macOS/Linux, (see docs/install) and a # … https://… comment no longer replace the tap or the URL. Tests cover your two examples, the comment URL, and brew install wget on macOS/Linux, which now yields nothing.
| const summary = `${title}${date ? ` since ${date}` : ""}: ${sentence}.`; | ||
| return { | ||
| title, | ||
| text: code?.label || (written && shortReason(written)) || fallback, |
There was a problem hiding this comment.
The status text no longer includes the replacement or date (e.g. "unmaintained · use ansible"). They're only in detail now, which only the FormulaInfo/CaskInfo Detail views render. The list sidebar metadata (packageMetadata.tsx:94) now shows just "Not Maintained Upstream", so the replacement is hidden unless the user opens Show Details. Was this intended?
There was a problem hiding this comment.
The short row was intended: the label has to fit beside the sidebar, and the date and reason read better in full in Details. Hiding the replacement wasn't the goal, though, since it's the part someone acts on. It now has its own "Use Instead" row under the status row. The date stays in Details.
| // A reason with no words in it (blank, or only backticks) is no reason. | ||
| const written = reason?.replace(/`/g, "").trim() ? reason.trim() : undefined; | ||
| const sentence = code?.sentence || written || `${fallback[0].toLowerCase()}${fallback.slice(1)}`; | ||
| const summary = `${title}${date ? ` since ${date}` : ""}: ${sentence}.`; |
There was a problem hiding this comment.
summary always appends ., so a maintainer reason that already ends in punctuation gets a doubled stop: disable_reason: 'Replaced by foo.' → "Disabled: Replaced by foo..". Coded sentences also read as fragments ("Deprecated: is not maintained upstream."). Suggest only adding the full stop when the sentence doesn't already end in .!?.
There was a problem hiding this comment.
Fixed. The stop is added only when the sentence doesn't already end in ., ! or ?. The wording now follows Homebrew's own message (deprecate_disable.rb: "… because it #{reason}!"): "Deprecated since 2026-01-02 because it is not maintained upstream." A maintainer reason that starts with a capital is a sentence of its own, so it keeps the colon: "Disabled: Replaced by foo."
| (k: string) => check(k, abortable.current?.signal), | ||
| [settled ?? ""], | ||
| { | ||
| execute: ready, |
There was a problem hiding this comment.
When the target changes, execute becomes false, but the in-flight check isn't aborted. Up to six git partial clones (plus README fetches and siblings) for the abandoned target keep running for up to 30s each, alongside the new check. Suggest aborting abortable.current when settled changes.
There was a problem hiding this comment.
usePromise already does this. When execute turns false, its args effect calls abort() (@raycast/utils 2.3.0, dist/main.js: "cancel the previous request if we don't want to execute anymore"), which aborts abortable.current. That controller's signal is the one check passed into preflightTap and on to every git read, since callback replaces the controller before it calls the function. A new target flips ready to false in the same render, before settled moves, so the old check is canceled straight away.
| * couldn't be read: the answer may change once it can, so it isn't final. | ||
| */ | ||
| async function firstLead(candidates: [TapTarget, TapLead["source"]][], from: string, read: Read): Promise<LeadSearch> { | ||
| const found = await Promise.all(candidates.map(([candidate, source]) => checkLead(candidate, source, from, read))); |
There was a problem hiding this comment.
Candidates are read concurrently, but remembered stores a result only once it settles. Duplicates that resolve to the same repo (e.g. a README lead owner/tap plus the owner sibling owner/tap) each start their own clone of homebrew-tap. Caching the in-flight promise rather than the settled value would dedupe them.
There was a problem hiding this comment.
Fixed. remembered keeps the reads a check has started, so a README lead and the owner's tap sibling share one clone of homebrew-tap. The in-flight map belongs to one check and not to the memo, because each check has its own abort signal, and a read canceled with one check mustn't become the next one's answer. A test asserts one read of homebrew-tap for the Raccoon case.
…NGELOG order Two preflight checks FAILed on content identical to the published brew extension, so the guard refused its receipt (raycast/extensions#33527). shortcut-platform-case matched any lowercase `macos:` object key, including Homebrew's cask schema in brew's tests. It now parses src/ with the extension's own typescript (src/typescript.mjs, resolved from the extension root) and FAILs only on a miscased windows/macos key whose object value has both modifiers and key. A file that does not parse, or no loadable typescript (a text scan then), is a WARN, never a PASS. rx shortcuts check reads source the same way (src/shortcuts/ast-scan.mjs), so strings, regex literals, templates and JSX text can no longer pose as a shortcut or end an object early. The text scan remains the per-file fallback, and data.textScanned names the files it read. changelog-order WARNs instead of FAILing on an inversion the published CHANGELOG already has: every published dated heading kept byte for byte, in order and count, and the pair adjacent in both. changelog-history forbids editing those entries, so no branch could pass both checks. changelog-history now compares untrimmed headings, so trailing spaces or a CR added to a published heading is an edit. Reviewed by Codex across a design round and several recheck and whole-change rounds; the final rounds passed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
- 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
nhojb
left a comment
There was a problem hiding this comment.
LGTM! Thanks for the improvement & fixes 🙏
|
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. |
…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
Manage Taps now checks a pasted tap or repository before adding it. It reads the repository's file list with a partial
git clone, which downloads no file contents and uses no GitHub API quota, then applies the rules from Homebrew'stap.rb. That way it can say whether the repository is a tap and what it holds. When it isn't one, it offers what was probably meant, such as the tap named in the README's install line. Before this, pasting an app's repository added it, and trusted it, as an empty tap.Disabled and Deprecated warnings now read as short labels instead of Homebrew's internal reason codes.
Changes
user/repo/namelists the tap's real packages. Typinguser/namefor a package, such asthousandflowers/rcc, finds it in the owner'shomebrew-tap.brew untrust --tap, Homebrew 7). brew keeps trust after an untap, so a tap added again later would otherwise be trusted without asking.@raycast/apito 2.12.1 andstream-jsonto 3.9.0. This PR removesAGENTS.mdfrom the Store copy. The contributor notes stay in the author's repository.Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafoldernpm run lintandnpx tsc --noEmit, both cleanCHANGELOG.mdper the changelog conventions