-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[shortcut] Add AI extension support #18558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Thank you for your contribution! 🎉 🔔 @Yukaii @robertn702 @BrianHicks 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. You can expect an initial review within five business days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This PR adds AI extension support to the Shortcut extension, enabling users to search for and create stories through Raycast's AI interface.
- Added comprehensive
search-stories.ts
tool with detailed documentation on Shortcut's query syntax and operators - Added
create-story.ts
tool with input validation, parameter mapping, and confirmation function showing related entities - Added several utility tools (
get-epics.ts
,get-members.ts
, etc.) for retrieving data from Shortcut API - Added AI evaluation tests in
package.json
with mock data for retrieving stories, creating stories, and searching - Updated
CHANGELOG.md
with a new entry "✨ AI Enhancements" using the required{PR_MERGE_DATE}
template
💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!
12 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Hey @vinsg 👋 Great addition to the extension! During testing I ran into an issue where one of the suggested AI prompts is "Create story 'Implement user profile page'", but this fails due to there being no "workflow state" provided. Would you mind updating this prompt, defaulting the workflow state to the first option such as "To Do", or making it a non-requirement? I also created an account to try this out, added an API token, but for some reason it isn't able to find my story? |
Description
Add support for AI Extension to existing functionality. This allows users to search for and create new stories, including filtering by users, workflows, and epics.
Checklist
npm run build
and tested this distribution build in Raycastassets
folder are used by the extension itselfREADME
are located outside the metadata folder if they were not generated with our metadata tool