refactor(go/plugins/a2ui): move the plugin to a2ui/exp while it is in preview - #6275
Merged
Conversation
A2UI support is still in preview, so it now lives at go/plugins/a2ui/exp as package exp, matching plugins/middleware/exp and plugins/firebase/exp. The plugin name stays "a2ui": there is no stable a2ui plugin to collide with, so the Dev UI name, the a2ui-catalog value type, and parity with the JS plugin are unchanged. Callers import it as a2uix, following the aix/genkitx/middlewarex convention.
apascal07
marked this pull request as ready for review
September 3, 2026 14:55
apascal07
enabled auto-merge (squash)
September 3, 2026 14:55
Contributor
There was a problem hiding this comment.
Code Review
This pull request renames the package a2ui under go/plugins/a2ui/exp to exp and updates its status in the README from experimental to in preview. It updates all package references, imports, and examples in documentation and samples to use the new package name or the a2uix alias. Additionally, it refactors some test assertions and error messages to remove hardcoded package names. I have no feedback to provide as there are no review comments.
pavelgj
approved these changes
Sep 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the A2UI plugin to
go/plugins/a2ui/expas packageexp, matchingplugins/middleware/expandplugins/firebase/exp. A2UI is in preview, and theexppackage suffix is how that channel is spelled in Go, so the old path was the one preview package not saying so. Callers import it asa2uix, followingaixandgenkitx.The plugin name stays
a2ui: there is no stable a2ui plugin to collide with, so the Dev UI name, thea2ui-catalogregistry value type, and parity with the JS plugin are unchanged. Nothing else about the middleware changes.