Repository navigation
feat(chatgpt-search): Make query parameters configurable, simplify extension - #22677
Conversation
Allow users to add custom query parameters to the ChatGPT Search URL. The `customQueryParam` preference now accepts a comma-separated list of key-value pairs.
commented
Nov 5, 2025
|
Thank you for the update! 🎉 You can expect an initial review within five business days. |
|
@pernielsentikaer, do you know, is there any way to have "alternative submit" (e.g. with |
left a comment
There was a problem hiding this comment.
Greptile Overview
Greptile Summary
This PR significantly simplifies the ChatGPT Search extension by removing the interactive form UI and converting it to a no-view command pattern. The main changes include eliminating the Form component and useState hooks in favor of direct argument-based execution, removing the form validation hook entirely, and making the query argument required in package.json. The extension now executes searches immediately when provided with query arguments rather than requiring user interaction within Raycast.
Additionally, the PR introduces configurable query parameters through a new extraQueryParams preference that accepts comma-separated key-value pairs, replacing hardcoded URL parameters. The temporary chat preference has been renamed from useTemporaryChat to isTemporaryChat for better clarity, and the ChatGPT app opening option has been removed in favor of always using the default browser.
Important Files Changed
| Filename | Score | Overview |
|---|---|---|
| extensions/chatgpt-search/src/chatgpt-search.tsx | 3/5 | Completely refactored from interactive Form component to simple no-view command that executes search directly from arguments |
| extensions/chatgpt-search/src/useChatGptSearchForm.ts | 5/5 | File completely removed as part of form simplification effort |
| extensions/chatgpt-search/src/executeSearchToOpen.ts | 4/5 | Enhanced with configurable query parameters support and cleaned up hardcoded values |
| extensions/chatgpt-search/package.json | 4/5 | Updated command configuration with required query argument and new extraQueryParams preference |
| extensions/chatgpt-search/CHANGELOG.md | 5/5 | Properly documented new features with correct formatting and template string |
Confidence score: 3/5
- This PR introduces significant architectural changes that could impact user experience by removing interactive UI elements
- Score reflects concerns about the removal of form validation and the shift from interactive to argument-only command execution which may confuse existing users
- Pay close attention to the main command file (chatgpt-search.tsx) as it completely changes the user interaction pattern from form-based to argument-based execution
5 files reviewed, no comments
commented
Nov 5, 2025
|
That's currently not possible @kopach |
commented
Nov 5, 2025
|
Did you check review from Greptile, do you want to address any of that before merging? |
|
@pernielsentikaer got it, thanks. As for review from Greptile, yes, I've checked that. It's good to merge. thanks |
commented
Nov 6, 2025
|
Published to the Raycast Store: |
commented
Nov 6, 2025
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |

Screencast
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