Versions in this module Expand all Collapse all v1 v1.13.1 Sep 3, 2026 Changes in this version + const A2UIMimeType + const BasicCatalogID + const CatalogValueType + const DefaultCatalogID + const DefaultVersion + const InstructionsNone + const InstructionsSystem + var SupportedVersions = []string + func IsPart(p *ai.Part) bool + func LoadCatalog(g *genkit.Genkit, catalog *Catalog) error + func RegisterBasicCatalog(g *genkit.Genkit) error + func RenderCatalogInstructions(catalog *Catalog) string + type A2UI struct + func (p *A2UI) Init(ctx context.Context) []api.Action + func (p *A2UI) Middlewares(ctx context.Context) ([]*ai.MiddlewareDesc, error) + func (p *A2UI) Name() string + type Catalog struct + Components []CatalogComponent + ID string + func BasicCatalog() *Catalog + func LoadCatalogFile(g *genkit.Genkit, path string) (*Catalog, error) + type CatalogComponent struct + Description string + Name string + Props string + type Envelope = map[string]any + func EnvelopesFromParts(parts []*ai.Part) []Envelope + type Surfaces struct + Catalog *Catalog + CatalogID string + Instructions string + SurfaceID string + Validate ValidateMode + Version string + func (c *Surfaces) Name() string + func (c *Surfaces) New(ctx context.Context) (*ai.Hooks, error) + type ValidateMode string + const ValidateOff + const ValidateStrict + const ValidateWarn