Add amp-code-threads extension
Description
Amp Code currently doesn't have an official extension on the Raycast store yet so I made an unofficial one to search Amp Code threads and open them on web/copy their CLI command to clipboard!
Tweet: https://x.com/rayhanadev/status/1993111764171706854
Screencast
Checklist
- [x] I read the extension guidelines
- [x] I read the documentation about publishing
- [x] I ran
npm run buildand tested this distribution build in Raycast - [x] I checked that files in the
assetsfolder are used by the extension itself - [x] I checked that assets used by the
READMEare placed outside of themetadatafolder
Congratulations on your new Raycast extension! :rocket:
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.
Need to create an icon haha
Greptile Overview
Greptile Summary
New Raycast extension for browsing and searching Amp Code threads. The extension authenticates via session token stored as a password preference and fetches threads from the Amp Code API with infinite scroll pagination.
- Well-structured implementation using
useCachedPromisewith properisLoadinghandling to avoid empty state flicker - Proper error handling for invalid/expired session tokens with action to open preferences
- Includes subtitle "Amp Code" for the command as recommended for extensions with multiple potential commands
- Follows standard Raycast ESLint and Prettier configurations
Action Required:
- Missing
metadatafolder with screenshots - for new extensions with view commands, please add screenshots to ametadatafolder per Raycast Documentation
Confidence Score: 4/5
- This PR is safe to merge after adding the required metadata folder with screenshots.
- Score of 4 reflects well-implemented extension with proper error handling and pagination, but missing required metadata screenshots for new view-based extensions.
- Missing metadata folder with screenshots for the view command.
Important Files Changed
File Analysis
| Filename | Score | Overview |
|---|---|---|
| extensions/amp-code-threads/src/search-amp-threads.tsx | 4/5 | Main source file implementing thread search with proper pagination, error handling, and isLoading state. Uses showToast in error handler which could use showFailureToast for simplification. |
| extensions/amp-code-threads/package.json | 5/5 | Well-structured package.json with proper command configuration, subtitle included, and correct password type for session token preference. |
| extensions/amp-code-threads/CHANGELOG.md | 5/5 | Changelog follows correct format with {PR_MERGE_DATE} placeholder template. |
| extensions/amp-code-threads/README.md | 5/5 | Clear documentation explaining setup with session token and available features. |
This pull request has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊
noooooo
This pull request has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊