Skip to content

feat(js): implemented new generate middleware and new @genkit-ai/middleware package#5040

Merged
pavelgj merged 6 commits intomainfrom
pj/gm-refactor-plugins
Apr 10, 2026
Merged

feat(js): implemented new generate middleware and new @genkit-ai/middleware package#5040
pavelgj merged 6 commits intomainfrom
pj/gm-refactor-plugins

Conversation

@pavelgj
Copy link
Copy Markdown
Member

@pavelgj pavelgj commented Apr 1, 2026

Checklist (if applicable):

Copy link
Copy Markdown
Contributor

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

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 refactors the location of core plugin interfaces and types to improve package structure. Specifically, the GenkitPluginV2 interface has been moved to the @genkit-ai/ai package, and the ResolvableAction type has been moved to @genkit-ai/core. The changes also include a cleanup of imports across several plugin packages to consistently use the import type syntax for type-only dependencies. I have no feedback to provide as there were no review comments.

pavelgj and others added 3 commits April 7, 2026 09:26
Co-authored-by: Michael Doyle <michaeldoyle@google.com>
…h middleware (#5042)

Co-authored-by: Michael Doyle <michaeldoyle@google.com>
@pavelgj pavelgj requested a review from huangjeff5 as a code owner April 10, 2026 20:32
@github-actions github-actions bot added docs Improvements or additions to documentation go tooling python Python config labels Apr 10, 2026
@pavelgj pavelgj changed the title refactor(js): move plugin definition to ai package feat(js): implemented new generate middleware and new @genkit-ai/middleware package Apr 10, 2026
@pavelgj pavelgj merged commit d5c08d0 into main Apr 10, 2026
21 checks passed
@pavelgj pavelgj deleted the pj/gm-refactor-plugins branch April 10, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config docs Improvements or additions to documentation go js python Python refactor tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants