Skip to content

feat: add support for Warp #134

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

thinkverse
Copy link

Warp has added support for project-scoped rules files, WARP.md, in its latest stable update1. This PR adds Warp as an agent so it can generate WARP.md if Warp or WarpPreview is detected on a user's system.

Opening this as a draft because I'm currently not sure how to detect it on Linux systems, maybe the .warp config folder is an option. I have asked the team at Warp and am waiting for a response on the way to detect it on Linux.

As for projectDetectionConfig, there isn't one. Warp is system-wide, unless WARP.md could work there, or is an empty paths correct?

I have tested this PR on Mac, and it does auto-detect Warp and generates the correct file:

detects-warp successful-guideline-generation

Footnotes

  1. https://docs.warp.dev/getting-started/changelog#id-2025.08.13-v0.2025.08.13.08.12

Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@thinkverse
Copy link
Author

I created a Docker container with Ubuntu and installed Warp using their .deb packages. That shows the binaries warp-terminal and warp-terminal-preview are added to /usr/bin when the respective versions are installed. So I followed the other detection patterns and used which for the Linux detection.

Screenshot 2025-08-15 at 22 25 27

@thinkverse thinkverse marked this pull request as ready for review August 15, 2025 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant