Versions in this module Expand all Collapse all v1 v1.117.0 Jul 29, 2026 Changes in this version + type Deps struct + AdminEmail func(r *http.Request) string + Collections prompt.CollectionStore + PortalUser func(r *http.Request) *PortalIdentity + Registrar Registrar + SharedPromptIDs func(ctx context.Context, userID, email string) ([]string, error) + Store prompt.Store + Usage prompt.UsageReader + Versions prompt.VersionStore + type Handler struct + func New(deps Deps) *Handler + func (h *Handler) RegisterAdmin(mux *http.ServeMux, prefix string, wrap func(http.Handler) http.Handler) + func (h *Handler) RegisterPortal(mux *http.ServeMux, wrap func(http.Handler) http.Handler) + type PortalIdentity struct + Email string + IsAdmin bool + Persona string + UserID string + type Registrar interface + RegisterRuntimePrompt func(p *prompt.Prompt) + UnregisterRuntimePrompt func(name string)