Repository navigation
feat(sound-search): new extension for searching sounds 🎵 - #22590
Conversation
commented
Nov 2, 2025
|
Congratulations on your new Raycast extension! 🚀 You can expect an initial review within five business days. Once the PR is approved and merged, the extension will be available on our Store. |
commented
Nov 2, 2025
|
@greptileai can you give us a fresh review here? |
left a comment
•
There was a problem hiding this comment.
Greptile Overview
Greptile Summary
This PR introduces a new "Sound Search" extension that enables users to discover audio samples and music for creative projects. The extension provides both manual search functionality through a form-based interface with genre selection and AI-powered search using natural language queries. The implementation integrates with Soundraw's API (in closed beta) and includes comprehensive features like favorites management, recent samples tracking, audio playback with auto-play on selection, and drag-and-drop file support through local caching. The extension follows modern React patterns with custom hooks for state management, utilizes Raycast's caching systems for performance optimization, and includes proper TypeScript typing throughout. The architecture supports multiple audio sources and provides a polished user experience with loading states, error handling, and file management utilities.
Important Files Changed
| Filename | Score | Overview |
|---|---|---|
| extensions/sound-search/eslint.config.js | 2/5 | ESLint configuration using incorrect ES modules syntax instead of required CommonJS format |
| extensions/sound-search/src/lib/file.ts | 3/5 | File management utilities with potential command injection vulnerability in clipboard functionality |
| extensions/sound-search/src/tools/ask-sounds.ts | 3/5 | AI-powered search tool with hardcoded deeplink owner and complex parsing logic |
| extensions/sound-search/src/lib/cache.ts | 4/5 | Audio file caching system using Raycast Cache API with proper error handling |
| extensions/sound-search/package.json | 4/5 | Well-structured package configuration with comprehensive AI evals and proper dependencies |
| extensions/sound-search/README.md | 4/5 | Complete documentation with clear setup instructions and hackathon attribution |
| extensions/sound-search/src/components/SamplesList.tsx | 4/5 | Complex samples display component with auto-play and drag-and-drop file preparation |
| extensions/sound-search/src/search-sounds.tsx | 4/5 | Main search interface with form validation, genre selection, and multi-source support |
| extensions/sound-search/CHANGELOG.md | 5/5 | Properly formatted changelog with correct template string for merge date |
| extensions/sound-search/src/components/actions/CopyUrlAction.tsx | 5/5 | Clean copy action component with audio cleanup functionality |
| extensions/sound-search/src/lib/hash.ts | 5/5 | Simple URL hashing utilities for cache management |
| extensions/sound-search/src/lib/hooks.ts | 5/5 | Well-structured custom hooks for playback state and favorites management |
| extensions/sound-search/src/lib/types.ts | 5/5 | Comprehensive TypeScript definitions for API integration and data structures |
| extensions/sound-search/tsconfig.json | 5/5 | Standard TypeScript configuration following Raycast extension conventions |
Confidence score: 3/5
- This PR introduces significant new functionality but has several technical concerns that need addressing before merging
- Score reflects issues with ESLint configuration format, potential security vulnerabilities in shell command execution, and hardcoded values that may cause integration problems
- Pay close attention to
eslint.config.js,src/lib/file.ts, andsrc/tools/ask-sounds.tswhich require modifications to meet standards
14 files reviewed, 6 comments
- run prettier and remove module setting in package.json - refactor: replace execSync with spawnSync for clipboard copy functionality and enhance path validation - use package.json author - revert: eslint modernization
|
@greptileai I've addressed your changes, please have another look |
left a comment
There was a problem hiding this comment.
Greptile Overview
Greptile Summary
This review covers only the changes made since the last review, not the entire PR. The recent changes focus on module system consistency and security improvements. The extension was converted from ES modules to CommonJS by removing "type": "module" from package.json and updating the ESLint configuration accordingly. A security enhancement was implemented in the file handling utilities, replacing execSync with spawnSync to prevent command injection vulnerabilities when copying files to clipboard. Additionally, the deeplink creation was improved by dynamically importing the author name from package.json instead of using a hardcoded value, enhancing maintainability and consistency with package metadata.
Important Files Changed
| Filename | Score | Overview |
|---|---|---|
| extensions/sound-search/src/tools/ask-sounds.ts | 5/5 | Replaces hardcoded author name with dynamic import from package.json for deeplink creation |
| extensions/sound-search/src/lib/file.ts | 4/5 | Implements security improvements by switching from execSync to spawnSync to prevent command injection |
| extensions/sound-search/package.json | 4/5 | Removes "type": "module" field to switch from ES modules to CommonJS module system |
| extensions/sound-search/eslint.config.js | 5/5 | Converts ESLint configuration from ES modules to CommonJS format with proper disable comment |
Confidence score: 4/5
- This PR introduces important security improvements and module system consistency changes with minimal risk
- Score reflects the module system change which could potentially affect import/export behavior across the codebase, though the security improvements are well-implemented
- Pay close attention to extensions/sound-search/package.json and extensions/sound-search/src/lib/file.ts for the module system changes and security enhancements
4 files reviewed, 1 comment
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
commented
Nov 3, 2025
|
Converted to draft as new feedback about mock data was given |
- Merge branch \'contributions/merge-1762168583328\' - Pull contributions - remove owner to publish via npx ray publish - make npx ray evals pass while improving the ask-sounds tool - add organization
left a comment
There was a problem hiding this comment.
Greptile Overview
Greptile Summary
This review covers only the changes made since the last review, not the entire PR. The recent changes focus on two main improvements: simplifying AI response parsing in the ask-sounds.ts tool and refactoring AI evaluation tests in package.json. The developer switched from structured JSON output to plain comma-separated text for AI responses, making the parsing more reliable and less prone to errors from malformed responses. Additionally, the code now dynamically reads extension and command names from package.json for deeplink creation instead of using hardcoded values, improving maintainability. The AI evaluation tests were restructured from a nested object format to simpler string queries with added mock data for better testing coverage.
Important Files Changed
| Filename | Score | Overview |
|---|---|---|
extensions/sound-search/package.json |
4/5 | Restructured AI evaluation tests from nested objects to string queries and corrected preference title case |
extensions/sound-search/src/tools/ask-sounds.ts |
4/5 | Simplified AI response parsing from JSON to CSV format and made deeplink creation dynamic |
Confidence score: 4/5
- This PR is safe to merge with low risk of production issues
- Score reflects solid refactoring that improves reliability and maintainability while addressing the previous review feedback
- The
ask-sounds.tsfile benefits from simplified parsing logic that reduces error-prone JSON handling
2 files reviewed, 1 comment
commented
Nov 7, 2025
|
Published to the Raycast Store: |
commented
Nov 7, 2025
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
Description
For more info check the README.md on https://github.com/clins1994/sound-search
Screencast
https://drive.google.com/file/d/1M2opXNG5w3InUBWKyu3rxCC_9zJZxZYg/view?usp=drive_link
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder