-
Notifications
You must be signed in to change notification settings - Fork 162
[1.x] Add Support for Custom Code Environments #280
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
Signed-off-by: Pushpak Chhajed <[email protected]>
Signed-off-by: Pushpak Chhajed <[email protected]>
Signed-off-by: Pushpak Chhajed <[email protected]>
Signed-off-by: Pushpak Chhajed <[email protected]>
Signed-off-by: Pushpak Chhajed <[email protected]>
Signed-off-by: Pushpak Chhajed <[email protected]>
Signed-off-by: Pushpak Chhajed <[email protected]>
Great feature. I have created a extension for Augment Code which can be found here:
This has been succesfull tested with this proposed PR. Waiting on release 💪 |
Signed-off-by: Pushpak Chhajed <[email protected]>
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.
Works as expected 💪
We spoke about generally improving the CodeEnvironment
class, and agree we should do that soon but not right now.
Will be good to get a once-over of the README (post-changes) before merge/release 🙏
Signed-off-by: Pushpak Chhajed <[email protected]>
I think one thing that's not clear from the readme is what does any of that actually do? 🤔 Also, what is a "code environment"? On this topic, are there other popular coding tools we should just add first-party support for instead? |
I submitted a PR for AugmentCode (#282), but it was rejected in favor of this PR, which I can support. As a result, I created a package for this new feature (https://github.com/gldrenthe89/laravel-boost-augment-code-extension). I’d love to see at least one of these versions made available! ;-) |
Signed-off-by: Pushpak Chhajed <[email protected]>
Signed-off-by: Pushpak Chhajed <[email protected]>
Signed-off-by: Pushpak Chhajed <[email protected]>
I think we already support all the major IDEs and AI agents. This change mainly provides a way to extend support for some of the lesser-used ones like Zed, Augment, or Gemini etc, so others can easily add integrations for agents without us having to maintain them as first-party IDEs. I’ve also updated the |
Signed-off-by: Pushpak Chhajed <[email protected]>
This PR introduces support for custom code environments (IDEs and AI agents) by making the code environment system extensible.
Previously, Boost only supported a hardcoded list of environments, which made it difficult to add support for new IDEs or agents directly within the official Boost repository.
With this change, developers can now register custom code environments via the new
Boost
facade. This allows:Key Changes
Laravel\Boost\Boost
facade for registering custom code environments.BoostManager
class to manage code environment registrations.CodeEnvironmentsDetector
to use the manager instead of hardcoded arrays.Example Usage
Developers can now create custom code environments:
And register them:
This change does not break any existing features and enhances Boost's extensibility.