Versions in this module Expand all Collapse all v0 v0.0.7 Jun 4, 2026 v0.0.6 Jun 3, 2026 v0.0.5 May 29, 2026 v0.0.4 May 27, 2026 v0.0.3 May 27, 2026 v0.0.2 May 27, 2026 v0.0.1 May 26, 2026retracted Changes in this version + const CapabilityDeniedCode + const ExtensionInstalledFromGitURL + const ExtensionInstalledFromLocalPath + const ExtensionInstalledFromMarketplace + const ExtensionRegistryTierCommunity + const ExtensionRegistryTierOfficial + const ExtensionRegistryTierUnverified + const ExtensionTrustDecisionAllowedUnverified + const ExtensionTrustDecisionBlocked + const ExtensionTrustDecisionVerified + const HostAPIInvalidParamsCode + const HostAPIMethodNotFoundCode + const HostAPINotFoundCode + const HostAPIRateLimitedCode + const HostAPIUnavailableCode + const MarketplaceUpdateStatusAvailable + const MarketplaceUpdateStatusCurrent + const MarketplaceUpdateStatusUpdated + var ErrBridgeRuntimeDeferred = errors.New("extension: bridge runtime deferred") + var ErrBridgeRuntimeResolverRequired = errors.New("extension: bridge runtime resolver is required") + var ErrBundleInvalid = errors.New("extension: invalid bundle") + var ErrContextRequired = errors.New("extension: context is required") + var ErrExtensionChecksumMismatch = errors.New("extension: checksum mismatch") + var ErrExtensionChecksumUnverified = errors.New("extension: checksum is unverified") + var ErrExtensionExists = errors.New("extension: extension already exists") + var ErrExtensionHasActiveBundles = errors.New("extension: extension has active bundle activations") + var ErrExtensionNotFound = errors.New("extension: extension not found") + var ErrManagerRequired = errors.New("extension: manager is required") + var ErrManifestIncompatible = errors.New("extension: incompatible manifest") + var ErrManifestInvalid = errors.New("extension: invalid manifest") + var ErrManifestNotFound = errors.New("extension: manifest not found") + var ErrMarketplaceSourceUnavailable = errors.New("extension: marketplace source unavailable") + var ErrMemoryProviderCollision = errors.New("extension: memory provider collision") + var ErrMemoryProviderNotFound = errors.New("extension: memory provider not found") + var ErrPathEscapesExtensionRoot = errors.New("extension: path escapes extension root") + var ErrRegistryRequired = errors.New("extension: registry is required") + func ComputeDirectoryChecksum(path string) (string, error) + func DescribeExtension(ext *Extension, daemonRunning bool, now time.Time) contract.ExtensionPayload + func InstallLocalManaged(homePaths aghconfig.HomePaths, registry managedInstallRegistry, ...) (err error) + func InstalledExtensionDir(info ExtensionInfo) (string, error) + func LoadMarketplaceSources(ctx context.Context, loader MarketplaceSourceLoader, sourceFilter string) ([]registrypkg.Source, error) + func ManagedInstallPath(homePaths aghconfig.HomePaths, name string) string + func ManagedInstallPathChecked(homePaths aghconfig.HomePaths, name string) (string, error) + func ManagedInstallRoot(homePaths aghconfig.HomePaths) string + func NewExtensionModelSources(registry *Registry, resolver ModelSourceRuntimeResolver) ([]modelcatalog.Source, error) + func NewManagedInstallStagingDir(homePaths aghconfig.HomePaths) (string, error) + func ReconcileManifestToolRuntime(manifest *ManifestToolDescriptor, ...) toolspkg.Availability + func ResolveManifestMCPServerResources(rootDir string, manifest *Manifest, getenv func(string) string) ([]aghconfig.MCPServer, error) + func ResolveManifestToolResources(manifest *Manifest) ([]toolspkg.Tool, error) + func SearchMarketplaceExtensions(ctx context.Context, loader MarketplaceSourceLoader, query string, ...) (_ []registrypkg.Listing, err error) + type ActionsConfig struct + Requires []string + type BridgeConfig struct + ConfigSchema *bridgepkg.BridgeProviderConfigSchema + DisplayName string + Platform string + SecretSlots []bridgepkg.BridgeSecretSlot + type BridgeDeliveryNotifier struct + func NewBridgeDeliveryNotifier(broker *bridgepkg.Broker, downstream session.Notifier) *BridgeDeliveryNotifier + func (n *BridgeDeliveryNotifier) OnAgentEvent(ctx context.Context, sessionID string, payload any) + func (n *BridgeDeliveryNotifier) OnAgentEventForSession(ctx context.Context, sess *session.Session, payload any) + func (n *BridgeDeliveryNotifier) OnSessionCreated(ctx context.Context, sess *session.Session) + func (n *BridgeDeliveryNotifier) OnSessionStopped(ctx context.Context, sess *session.Session) + type BridgeRuntimeResolver interface + ResolveBridgeRuntime func(ctx context.Context, extensionName string) (*subprocess.InitializeBridgeRuntime, error) + type BridgeTelemetrySink interface + ClearBridgeRuntimeIssue func(bridgeInstanceID string) + RecordBridgeAuthFailure func(bridgeInstanceID string) + RecordBridgeRuntimeIssue func(bridgeInstanceID string, status bridgepkg.BridgeStatus, message string) + type BundleAgent struct + Agent aghconfig.AgentDef + Heartbeat *BundleAgentSidecar + Path string + Soul *BundleAgentSidecar + type BundleAgentSidecar struct + Body string + SourcePath string + type BundleBridgePreset struct + DeliveryDefaults json.RawMessage + DisplayName string + ExtensionName string + Name string + Platform string + RoutingPolicy bridgepkg.RoutingPolicy + SecretSlots []BundleBridgeSecretSlot + func (b BundleBridgePreset) Validate(bundleName string, profileName string, manifest *Manifest) error + type BundleBridgeSecretSlot struct + Description string + Kind string + Name string + type BundleChannel struct + Description string + Name string + type BundleChannelsConfig struct + Items []BundleChannel + Primary string + type BundleJob struct + AgentName string + Enabled bool + FireLimit automationpkg.FireLimitConfig + Name string + Prompt string + Retry automationpkg.RetryConfig + Schedule automationpkg.ScheduleSpec + Task *automationpkg.JobTaskConfig + func (j BundleJob) Validate(bundleName string, profileName string, channelNames map[string]struct{}) error + type BundleProfile struct + Agents []BundleAgent + Bridges []BundleBridgePreset + Channels BundleChannelsConfig + Description string + Jobs []BundleJob + Name string + Triggers []BundleTrigger + func (p BundleProfile) Validate(bundleName string, manifest *Manifest) error + type BundleSpec struct + Description string + Name string + Profiles []BundleProfile + func LoadBundleSpecs(ctx context.Context, rootDir string, manifest *Manifest) ([]BundleSpec, error) + func (b BundleSpec) Validate(manifest *Manifest) error + type BundleTrigger struct + AgentName string + Enabled bool + EndpointSlug string + Event string + Filter map[string]string + FireLimit automationpkg.FireLimitConfig + Name string + Prompt string + Retry automationpkg.RetryConfig + func (t BundleTrigger) Validate(bundleName string, profileName string) error + type CapabilitiesConfig struct + Provides []string + type CapabilityChecker struct + func (c *CapabilityChecker) Check(extName, capability string) error + func (c *CapabilityChecker) CheckHostAPI(extName, method string) error + func (c *CapabilityChecker) Grant(extName string) EffectiveGrant + func (c *CapabilityChecker) Register(extName string, source ExtensionSource, manifest *Manifest) + func (c *CapabilityChecker) RegisterForSession(extName string, source ExtensionSource, manifest *Manifest, ...) (EffectiveGrant, error) + func (c *CapabilityChecker) Resolve(source ExtensionSource, manifest *Manifest, ...) (EffectiveGrant, error) + func (c *CapabilityChecker) SetResourcePolicy(policy aghconfig.ExtensionsResourcesConfig) + func (c *CapabilityChecker) Unregister(extName string) + type CapabilityDeniedData struct + Granted []string + Method string + Required []string + type Duration time.Duration + func (d *Duration) UnmarshalJSON(data []byte) error + func (d *Duration) UnmarshalText(text []byte) error + func (d Duration) IsZero() bool + func (d Duration) MarshalJSON() ([]byte, error) + func (d Duration) MarshalText() ([]byte, error) + func (d Duration) String() string + type EffectiveGrant struct + Actions []string + ResourceKinds []resources.ResourceKind + ResourceScopes []resources.ResourceScopeKind + Security []string + type ErrCapabilityDenied struct + Data CapabilityDeniedData + func (e *ErrCapabilityDenied) Code() int + func (e *ErrCapabilityDenied) Error() string + type Extension struct + Agents []aghconfig.AgentDef + Bundles []BundleSpec + GrantedActions []string + GrantedResourceKinds []resources.ResourceKind + GrantedResourceScopes []resources.ResourceScopeKind + GrantedSecurity []string + Hooks []hookspkg.HookDecl + Info ExtensionInfo + InitializeResult *subprocess.InitializeResponse + Manifest *Manifest + RootDir string + Skills []*skillspkg.Skill + Status ExtensionStatus + type ExtensionChecksumMismatchError struct + ActualChecksum string + ExpectedChecksum string + func (e *ExtensionChecksumMismatchError) Error() string + func (e *ExtensionChecksumMismatchError) Is(target error) bool + type ExtensionExistsError struct + Name string + func (e *ExtensionExistsError) Error() string + func (e *ExtensionExistsError) Is(target error) bool + type ExtensionInfo struct + Actions ActionsConfig + Capabilities CapabilitiesConfig + Checksum string + Enabled bool + InstalledAt time.Time + ManifestPath string + Name string + Provenance ExtensionProvenance + RegistryName *string + RegistrySlug *string + RemoteVersion *string + Source ExtensionSource + Version string + func InstallMarketplaceManaged(ctx context.Context, homePaths aghconfig.HomePaths, registry LifecycleRegistry, ...) (_ *ExtensionInfo, err error) + type ExtensionNotFoundError struct + Name string + func (e *ExtensionNotFoundError) Error() string + func (e *ExtensionNotFoundError) Is(target error) bool + type ExtensionPhase string + const ExtensionPhaseActivate + const ExtensionPhaseDiscover + const ExtensionPhaseInitialize + const ExtensionPhaseParse + const ExtensionPhaseRecover + const ExtensionPhaseRegister + const ExtensionPhaseStop + const ExtensionPhaseValidate + type ExtensionProvenance struct + AllowUnverified bool + ChecksumSHA256 string + ChecksumVerified bool + InstalledAt time.Time + InstalledBy string + InstalledFrom string + Permissions []string + RegistryTier string + Slug string + SourceURL string + Warnings []contract.DiagnosticItem + func LocalPathProvenance(manifest *Manifest, sourcePath string, checksum string, installedAt time.Time, ...) ExtensionProvenance + type ExtensionSource int + const SourceBundled + const SourceMarketplace + const SourceUser + const SourceWorkspace + func (s ExtensionSource) String() string + type ExtensionStatus struct + Active bool + ConsecutiveFailures int + Enabled bool + HealthLastCheckedAt time.Time + HealthMessage string + Healthy bool + LastError string + LastExitedAt time.Time + LastStartedAt time.Time + MissingEnv []string + MissingEnvChecked bool + Name string + PID int + Phase ExtensionPhase + Registered bool + RestartBackoff time.Duration + Source ExtensionSource + Version string + type ExtensionToolProvider struct + func NewExtensionToolProvider(registry *Registry, runtime ExtensionToolRuntimeResolver, ...) (*ExtensionToolProvider, error) + func (p *ExtensionToolProvider) ID() toolspkg.SourceRef + func (p *ExtensionToolProvider) List(ctx context.Context, _ toolspkg.Scope) ([]toolspkg.Descriptor, error) + func (p *ExtensionToolProvider) Resolve(ctx context.Context, scope toolspkg.Scope, id toolspkg.ToolID) (toolspkg.Handle, bool, error) + type ExtensionToolProviderOption func(*ExtensionToolProvider) + type ExtensionToolRuntime interface + Get func(name string) (*Extension, error) + type ExtensionToolRuntimeResolver func() ExtensionToolRuntime + type ExtensionToolRuntimeState struct + Active bool + Enabled bool + Healthy bool + ProvidedCapabilities []string + type ExtensionTrustError struct + Item contract.DiagnosticItem + Slug string + Source string + func NewExtensionChecksumUnverifiedError(slug string, source string) *ExtensionTrustError + func (e *ExtensionTrustError) DiagnosticItem() contract.DiagnosticItem + func (e *ExtensionTrustError) Error() string + func (e *ExtensionTrustError) Unwrap() error + type HookConfig struct + Args []string + Command string + Env map[string]string + Event string + Executor HookExecutorConfig + Matcher HookMatcherConfig + Mode string + Name string + Priority *int + Required bool + SecretEnv map[string]string + Timeout Duration + type HookExecutorConfig struct + Args []string + Command string + Env map[string]string + Kind string + SecretEnv map[string]string + type HookMatcherConfig struct + ACPEventType string + AgentName string + AgentType string + Channel string + CompactionReason string + CompactionStrategy string + DecisionClass string + Direction string + InputClass string + Kind string + MessageDeltaType string + MessageRole string + SessionType string + Surface string + ToolID string + ToolName string + ToolReadOnly *bool + TurnID string + WorkState string + WorkspaceID string + WorkspaceRoot string + type HostAPIAutomationManager interface + CreateJob func(ctx context.Context, job automationpkg.Job) (automationpkg.Job, error) + CreateTrigger func(ctx context.Context, trigger automationpkg.Trigger, ...) (automationpkg.Trigger, error) + DeleteJob func(ctx context.Context, id string) error + DeleteTrigger func(ctx context.Context, id string) error + FireExtensionTrigger func(ctx context.Context, request automationpkg.ExtensionTriggerRequest) (automationpkg.TriggerResult, error) + GetJob func(ctx context.Context, id string) (automationpkg.Job, error) + GetTrigger func(ctx context.Context, id string) (automationpkg.Trigger, error) + ListJobs func(ctx context.Context, query automationpkg.JobListQuery) ([]automationpkg.Job, error) + ListRuns func(ctx context.Context, query automationpkg.RunQuery) ([]automationpkg.Run, error) + ListTriggers func(ctx context.Context, query automationpkg.TriggerListQuery) ([]automationpkg.Trigger, error) + SetJobEnabled func(ctx context.Context, id string, enabled bool) (automationpkg.Job, error) + SetTriggerEnabled func(ctx context.Context, id string, enabled bool) (automationpkg.Trigger, error) + TriggerJob func(ctx context.Context, id string) (automationpkg.Run, error) + TriggerJobWithPayload func(ctx context.Context, id string, payload map[string]any) (automationpkg.Run, error) + UpdateJob func(ctx context.Context, job automationpkg.Job) (automationpkg.Job, error) + UpdateTrigger func(ctx context.Context, trigger automationpkg.Trigger, ...) (automationpkg.Trigger, error) + type HostAPIHandler struct + func NewHostAPIHandler(sessions hostAPISessionManager, memoryStore *memory.Store, ...) *HostAPIHandler + func (h *HostAPIHandler) Handle(ctx context.Context, extName string, method string, params json.RawMessage) (any, error) + func (h *HostAPIHandler) HandleMethod(method string) subprocess.HandlerFunc + func (h *HostAPIHandler) MethodHandlers() map[string]subprocess.HandlerFunc + type HostAPIOption func(*HostAPIHandler) + func WithHostAPIAutomationGetter(getter func() HostAPIAutomationManager) HostAPIOption + func WithHostAPIAutomationManager(manager HostAPIAutomationManager) HostAPIOption + func WithHostAPIBridgeDedupStore(store hostAPIBridgeDedupStore) HostAPIOption + func WithHostAPIBridgeIngressConfig(dedupTTL time.Duration, cleanupInterval time.Duration) HostAPIOption + func WithHostAPIBridgeRegistry(registry hostAPIBridgeRegistry) HostAPIOption + func WithHostAPICapabilityChecker(checker *CapabilityChecker) HostAPIOption + func WithHostAPIDeliveryBroker(broker hostAPIDeliveryBroker) HostAPIOption + func WithHostAPIHeartbeatAuthoring(service hostAPIHeartbeatAuthoringService) HostAPIOption + func WithHostAPIHeartbeatStatus(service hostAPIHeartbeatStatusService) HostAPIOption + func WithHostAPIHeartbeatWake(service hostAPIHeartbeatWakeService) HostAPIOption + func WithHostAPIHeartbeatWakeEvents(reader hostAPIHeartbeatWakeEventReader) HostAPIOption + func WithHostAPIMemoryProviderRegistry(registry *MemoryProviderRegistry) HostAPIOption + func WithHostAPIModelCatalogService(service modelcatalog.Service) HostAPIOption + func WithHostAPINetworkService(service hostAPINetworkService) HostAPIOption + func WithHostAPINetworkStore(networkStore store.NetworkConversationStore) HostAPIOption + func WithHostAPINow(now func() time.Time) HostAPIOption + func WithHostAPIRateLimit(limit int, burst int) HostAPIOption + func WithHostAPIResourceCodecRegistry(registry *resources.CodecRegistry) HostAPIOption + func WithHostAPIResourceStore(store resources.RawStore) HostAPIOption + func WithHostAPIResourceTrigger(...) HostAPIOption + func WithHostAPISessionHealth(reader hostAPISessionHealthReader) HostAPIOption + func WithHostAPISoulAuthoring(service hostAPISoulAuthoringService) HostAPIOption + func WithHostAPISoulRefresher(refresher hostAPISoulRefresher) HostAPIOption + func WithHostAPITaskManager(manager hostAPITaskManager) HostAPIOption + func WithHostAPIWorkspaceResolver(resolver workspacepkg.RuntimeResolver) HostAPIOption + type InstallOption func(*installConfig) + func WithInstallProvenance(provenance ExtensionProvenance) InstallOption + func WithInstallRegistryMetadata(slug string, registryName string, remoteVersion string) InstallOption + func WithInstallReplaceExisting() InstallOption + func WithInstallSource(source ExtensionSource) InstallOption + type LifecycleRegistry interface + Disable func(name string) error + Get func(name string) (*ExtensionInfo, error) + Install func(manifest *Manifest, path string, checksum string, opts ...InstallOption) error + List func() ([]ExtensionInfo, error) + Uninstall func(name string) error + type MCPServerConfig struct + Args []string + Command string + Env map[string]string + SecretEnv map[string]string + type ManagedRemoveResult struct + Name string + Path string + Status string + func RemoveManagedExtension(ctx context.Context, registry LifecycleRegistry, name string, ...) (_ ManagedRemoveResult, err error) + type Manager struct + func NewManager(registry *Registry, opts ...Option) *Manager + func (m *Manager) AgentDefinitions() []aghconfig.AgentDef + func (m *Manager) BridgeTargetSnapshots(ctx context.Context, extensionName string, ...) ([]bridgepkg.BridgeTargetSnapshot, error) + func (m *Manager) CallTool(ctx context.Context, extensionName string, ...) (toolspkg.ToolResult, error) + func (m *Manager) DeliverBridge(ctx context.Context, extensionName string, req bridgepkg.DeliveryRequest) (bridgepkg.DeliveryAck, error) + func (m *Manager) Get(name string) (*Extension, error) + func (m *Manager) HookDeclarations(ctx context.Context) ([]hookspkg.HookDecl, error) + func (m *Manager) List() []ExtensionInfo + func (m *Manager) ListModelSourceRows(ctx context.Context, extensionName string, ...) ([]extensioncontract.ModelSourceRow, error) + func (m *Manager) ProvideTools(ctx context.Context, extensionName string) ([]toolspkg.ExtensionToolRuntimeDescriptor, error) + func (m *Manager) Reload(ctx context.Context) error + func (m *Manager) Start(ctx context.Context) error + func (m *Manager) Statuses() []ExtensionStatus + func (m *Manager) Stop(ctx context.Context) error + type Manifest struct + Actions ActionsConfig + Bridge BridgeConfig + Capabilities CapabilitiesConfig + Description string + MinAGHVersion string + Name string + RequiresEnv []string + Resources ResourcesConfig + Security SecurityConfig + Subprocess SubprocessConfig + Version string + func LoadManifest(dir string) (*Manifest, error) + func (m *Manifest) MissingEnv(getenv func(string) string) []string + func (m *Manifest) Validate() error + type ManifestCompatibilityError struct + CurrentVersion string + MinVersion string + func (e *ManifestCompatibilityError) Error() string + func (e *ManifestCompatibilityError) Is(target error) bool + type ManifestNotFoundError struct + Dir string + Paths []string + func (e *ManifestNotFoundError) Error() string + func (e *ManifestNotFoundError) Is(target error) bool + type ManifestToolDescriptor struct + Name string + RuntimeDescriptor toolspkg.ExtensionToolRuntimeDescriptor + Tool toolspkg.Tool + func ResolveManifestToolDescriptors(manifest *Manifest) ([]ManifestToolDescriptor, error) + type ManifestValidationError struct + Field string + Message string + Value string + func (e *ManifestValidationError) Error() string + func (e *ManifestValidationError) Is(target error) bool + type MarketplaceInstallRequest struct + AllowUnverified bool + Asset string + InstalledBy string + Slug string + SourceFilter string + Version string + type MarketplaceSourceLoader func(context.Context) ([]registrypkg.Source, error) + type MarketplaceUpdateRequest struct + All bool + AllowUnverified bool + CheckOnly bool + InstalledBy string + Names []string + Version string + type MarketplaceUpdateResult struct + CurrentVersion string + LatestVersion string + Name string + Path string + Registry string + Slug string + Status string + func UpdateMarketplaceManaged(ctx context.Context, homePaths aghconfig.HomePaths, registry LifecycleRegistry, ...) ([]MarketplaceUpdateResult, error) + type MemoryProviderCollisionError struct + ExistingExtension string + IncomingExtension string + Name string + Reason string + ToolName string + func (e *MemoryProviderCollisionError) Error() string + func (e *MemoryProviderCollisionError) Is(target error) bool + type MemoryProviderNotFoundError struct + Name string + func (e *MemoryProviderNotFoundError) Error() string + func (e *MemoryProviderNotFoundError) Is(target error) bool + type MemoryProviderRegistration struct + Bundled bool + ExtensionName string + Name string + Provider memcontract.MemoryProvider + ToolNames []string + Version string + type MemoryProviderRegistry struct + func NewMemoryProviderRegistry(opts ...MemoryProviderRegistryOption) *MemoryProviderRegistry + func (r *MemoryProviderRegistry) List() []MemoryProviderRegistration + func (r *MemoryProviderRegistry) Register(ctx context.Context, registration MemoryProviderRegistration) error + func (r *MemoryProviderRegistry) Select(ctx context.Context, workspaceID string, name string) (MemoryProviderRegistration, error) + func (r *MemoryProviderRegistry) SetActive(ctx context.Context, workspaceID string, name string) error + type MemoryProviderRegistryOption func(*MemoryProviderRegistry) + func WithMemoryProviderEventSummaryStore(writer memoryProviderEventWriter) MemoryProviderRegistryOption + func WithMemoryProviderRegistryClock(now func() time.Time) MemoryProviderRegistryOption + func WithMemoryProviderReservedTools(names ...string) MemoryProviderRegistryOption + type ModelSource struct + func NewExtensionModelSource(info ExtensionInfo, resolver ModelSourceRuntimeResolver) (*ModelSource, error) + func (s *ModelSource) ID() string + func (s *ModelSource) Kind() modelcatalog.SourceKind + func (s *ModelSource) ListModels(ctx context.Context, opts modelcatalog.ListOptions) ([]modelcatalog.ModelRow, error) + func (s *ModelSource) Priority() int + type ModelSourceRuntime interface + ListModelSourceRows func(ctx context.Context, extensionName string, ...) ([]extensioncontract.ModelSourceRow, error) + type ModelSourceRuntimeResolver func() ModelSourceRuntime + type MutationReload func(context.Context) error + type Option func(*Manager) + func WithBridgeRuntimeResolver(resolver BridgeRuntimeResolver) Option + func WithBridgeTelemetrySink(sink BridgeTelemetrySink) Option + func WithCapabilityChecker(checker *CapabilityChecker) Option + func WithDefaultHookTimeout(timeout time.Duration) Option + func WithGetenv(getenv func(string) string) Option + func WithHealthCheckTimeout(timeout time.Duration) Option + func WithHostMethodHandler(method string, handler subprocess.HandlerFunc) Option + func WithInitializeTimeout(timeout time.Duration) Option + func WithLogger(logger *slog.Logger) Option + func WithNow(now func() time.Time) Option + func WithProcessRegistry(registry *toolruntime.Registry) Option + func WithSecretResolver(resolver SecretRefResolver) Option + func WithSourceSessionManager(manager resources.SourceSessionManager) Option + func WithSubprocessSignalGrace(timeout time.Duration) Option + type Registry struct + func NewRegistry(db *sql.DB) *Registry + func (r *Registry) DB() *sql.DB + func (r *Registry) Disable(name string) error + func (r *Registry) Enable(name string) error + func (r *Registry) Get(name string) (*ExtensionInfo, error) + func (r *Registry) Install(manifest *Manifest, path string, checksum string, opts ...InstallOption) error + func (r *Registry) List() (extensions []ExtensionInfo, err error) + func (r *Registry) Uninstall(name string) error + type ResourceGrantRequest struct + Families []string + MaxScope resources.ResourceScopeKind + type ResourcesConfig struct + Agents []string + Bundles []string + Hooks []HookConfig + MCPServers map[string]MCPServerConfig + Publish ResourceGrantRequest + Skills []string + Tools map[string]ToolConfig + type SecretRefResolver interface + ResolveRef func(context.Context, string) (string, error) + type SecurityConfig struct + Capabilities []string + type SubprocessConfig struct + Args []string + Command string + Env map[string]string + HealthCheckInterval Duration + SecretEnv map[string]string + ShutdownTimeout Duration + type ToolBackendConfig struct + Handler string + Kind string + Server string + Tool string + type ToolConfig struct + Backend ToolBackendConfig + ConcurrencySafe bool + Description string + Destructive bool + DisplayTitle string + Handler string + ID string + InputSchema json.RawMessage + MaxResultBytes int64 + OpenWorld bool + OutputSchema json.RawMessage + ReadOnly bool + RequiredCapabilities []string + RequiresEnv []string + RequiresInteraction bool + Risk string + SearchHints []string + Tags []string + Toolsets []string + Visibility string