Skip to content

refactor(go/plugins/a2ui): move the plugin to a2ui/exp while it is in preview - #6275

Merged
apascal07 merged 1 commit into
mainfrom
ap/move-a2ui-exp-directory-9b4b6c
Sep 3, 2026
Merged

refactor(go/plugins/a2ui): move the plugin to a2ui/exp while it is in preview#6275
apascal07 merged 1 commit into
mainfrom
ap/move-a2ui-exp-directory-9b4b6c

Conversation

@apascal07

Copy link
Copy Markdown
Collaborator

Moves the A2UI plugin to go/plugins/a2ui/exp as package exp, matching plugins/middleware/exp and plugins/firebase/exp. A2UI is in preview, and the exp package suffix is how that channel is spelled in Go, so the old path was the one preview package not saying so. Callers import it as a2uix, following aix and genkitx.

The plugin name stays a2ui: there is no stable a2ui plugin to collide with, so the Dev UI name, the a2ui-catalog registry value type, and parity with the JS plugin are unchanged. Nothing else about the middleware changes.

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.
@github-actions github-actions Bot added docs Improvements or additions to documentation go labels Sep 3, 2026
@apascal07
apascal07 requested a review from pavelgj September 3, 2026 14:55
@apascal07
apascal07 marked this pull request as ready for review September 3, 2026 14:55
@apascal07
apascal07 enabled auto-merge (squash) September 3, 2026 14:55

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@apascal07
apascal07 merged commit 0705769 into main Sep 3, 2026
15 checks passed
@apascal07
apascal07 deleted the ap/move-a2ui-exp-directory-9b4b6c branch September 3, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation go

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants