Add sound-switcher extension#27672
Conversation
- Refine Raycast command metadata - Bundle macOS audio helper for Raycast extension - Prepare Raycast extension for Store submission - Group audio devices into unified, input, and output sections - Build initial Raycast sound switcher extension
|
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 10-15 business days. Once the PR is approved and merged, the extension will be available on our Store. |
Greptile SummaryAdds the Sound Switcher extension, a macOS utility that lists audio devices in three groups (unified pairs, outputs, inputs), caches state across runs for instant display, and refreshes asynchronously on each open. Previously raised issues —
Confidence Score: 5/5Safe to merge — new extension with no changes to existing code, well-structured error handling, and comprehensive unit tests. This is a greenfield extension. The core logic is well-covered by tests (normalization, virtual-device filtering, pair building, rollback), error paths preserve the cached device list rather than resetting to a blank screen, and all previously flagged issues have been addressed. No regressions are possible to existing extensions. No files require special attention. Important Files Changed
Reviews (4): Last reviewed commit: "Preserve cached devices on refresh failu..." | Re-trigger Greptile |
Description
Adds Sound Switcher, a macOS utility extension for switching default sound devices from Raycast.
The command shows three grouped sections: Unified Devices for matched input/output pairs, Outputs for output-only switching, and Inputs for input-only switching. Current unified/input/output rows are marked with a green check-circle. Device state is cached from the previous run so the list opens quickly, then refreshes asynchronously when the command is invoked. After a successful switch, the Raycast window closes.
This extension bundles the macOS audio helper from
@spotxyz/macos-audio-devices, copied intoassets/audio-devicesbyscripts/copy-binary.js. This is the same audio library/helper pattern used by the reviewed Set Audio Device extension.x86_64+arm64)Validated locally with
npm test,npm run lint, andnpm run build.Screencast
Straightforward UI extension; screenshots are included in
metadata/:sound-switcher-devices.pngsound-switcher-search.pngsound-switcher-actions.pngChecklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder