Versions in this module Expand all Collapse all v1 v1.0.0 Sep 16, 2026 Changes in this version + func RegisterLauncherAuthRoutes(mux *http.ServeMux, opts LauncherAuthRouteOpts) + func SaveCatalog(provider, apiBase, apiKey string, models []CatalogModel) error + type BinaryView struct + Name string + Path string + Resolved bool + type CapabilityView struct + CostKnown bool + ExternalWrites bool + ID string + Local bool + NeedsApproval bool + Network bool + Provider string + RequestSchema json.RawMessage + Summary string + Title string + ToolName string + type CatalogEntry = modelservice.CatalogEntry + type CatalogModel = modelservice.CatalogModel + type CatalogStore = modelservice.CatalogStore + type Handler struct + func NewHandler(configPath string) *Handler + func (h *Handler) EnsurePicoChannel() (bool, error) + func (h *Handler) RegisterRoutes(mux *http.ServeMux) + func (h *Handler) RestartGateway() (int, error) + func (h *Handler) SetDebug(debug bool) + func (h *Handler) SetServerAccessOptions(allowLocalhostBypass bool, trustedProxyCIDRs []string) + func (h *Handler) SetServerBindHost(hostInput string, explicit bool) + func (h *Handler) SetServerOptions(port int, public bool, publicExplicit bool, allowedCIDRs []string) + func (h *Handler) Shutdown() + func (h *Handler) StopGateway() + func (h *Handler) TryAutoStartGateway() + type InvokeResult struct + At time.Time + Capability string + DurationMS int64 + Error *modproto.Error + Execution modproto.Execution + HostWarnings []string + Module string + OK bool + Result json.RawMessage + Stderr string + Warnings []string + type LauncherAuthRouteOpts struct + PasswordStore PasswordStore + SecureCookie func(*http.Request) bool + SessionCookie string + StoreError error + type LogBuffer struct + func NewLogBuffer(capacity int) *LogBuffer + func (b *LogBuffer) Append(line string) + func (b *LogBuffer) Clear() + func (b *LogBuffer) LinesSince(offset int) (lines []string, total int, runID int) + func (b *LogBuffer) Reset() + func (b *LogBuffer) RunID() int + type ModuleView struct + Binary string + Capabilities []CapabilityView + Dir string + Enabled bool + Error string + HostWarnings []string + Module string + Name string + Overlays int + Permissions PermissionsView + Requirements []modproto.Requirement + Skills int + Version string + Warnings []string + type PasswordStore interface + IsInitialized func(ctx context.Context) (bool, error) + SetPassword func(ctx context.Context, plain string) error + VerifyPassword func(ctx context.Context, plain string) (bool, error) + type PermissionsView struct + Credentials []string + FilesystemRead []string + FilesystemWrite []string + Network []string + PaidProviders []string + Publish bool + Subprocess []BinaryView + type ProviderCatalogSyncInput = modelservice.ProviderCatalogSyncInput