Versions in this module Expand all Collapse all v0 v0.715.6 Sep 15, 2026 v0.710.6 Sep 11, 2026 v0.705.0 Sep 11, 2026 v0.704.1 Sep 8, 2026 v0.703.4 Sep 7, 2026 Changes in this version + const DefaultConfigEnvPrefix + const TopicConfig + const TopicMCP + const TopicProvider + const TopicSkill + const TopicTool + type ConfigOverlay struct + Additive []string + Locked []string + Source string + Values map[string]any + type ConfigOverlayController interface + ReapplyOverlays func(ctx context.Context) error + RequestReload func(ctx context.Context, reason string) error + type ConfigOverlayProvider interface + ConfigOverlay func(ctx context.Context) (ConfigOverlay, error) type ConfigView + LockedKeys func() []string type EventType + const EventActivated + const EventAuthRequired + const EventCompleted + const EventConfigReloaded + const EventConnected + const EventFailed + const EventOverlayApplied + const EventStarted type HostServices + ConfigOverlays ConfigOverlayController + EnvPrefix string + ID ID + Prompts PromptRunner + func (h HostServices) ConfigEnvVar(key string) string + func (h HostServices) Duration(key string, def time.Duration) time.Duration + func (h HostServices) Float64(key string, def float64) float64 + func (h HostServices) Lookup(key string) (any, bool) + func (h HostServices) Map(key string) map[string]any + func (h HostServices) StringSlice(key string, def []string) []string + type Identity struct + DeviceID string + Email string + Groups []string + UserID string + type IdentityProvider interface + Identity func(ctx context.Context) (Identity, bool) + type PromptProgress struct + CompletionTokens int64 + CostUSD float64 + Delta string + PromptTokens int64 + SessionID string + ToolName string + type PromptRequest struct + AutoApprove bool + OnProgress func(PromptProgress) + Prompt string + SessionID string + Title string + type PromptResult struct + CompletionTokens int64 + CostUSD float64 + FinishReason string + PromptTokens int64 + SessionID string + Text string + type PromptRunner interface + RunPrompt func(ctx context.Context, req PromptRequest) (PromptResult, error) + type ProviderRequest struct + Model string + Provider string + type ProviderRequestDecorator interface + DecorateProviderRequest func(ctx context.Context, req ProviderRequest) (map[string]string, error) + type UIPolicy struct + Banner UIPolicyBanner + HiddenSections []string + ReadOnlyLabel string + ReadOnlySections []string + func (p UIPolicy) Empty() bool + type UIPolicyBanner struct + Link string + Text string + type UIPolicyProvider interface + UIPolicy func(ctx context.Context) (UIPolicy, bool) v0.700.1 Sep 1, 2026 v0.700.0 Aug 31, 2026 Changes in this version + const SlotChatSide + const SlotSettings + const SlotSidebar + const SlotStatusBar + const TopicMessage + const TopicPermission + const TopicSession + var ErrLicenseExpired = errors.New("extension: license expired") + var ErrLicenseMalformed = errors.New("extension: malformed license") + var ErrLicenseSignature = errors.New("extension: license signature does not verify") + var ErrLicenseUnknownKey = errors.New("extension: license signed by an unknown key") + func Capability[T any](m *Manager) []T + func Len() int + func Preview[T any](m *Manager) []T + func Register(e Extension) + func SignLicense(claims LicenseClaims, keyID string, priv ed25519.PrivateKey) ([]byte, error) + type CleanerUpper interface + Cleanup func() error + type Command struct + Aliases []string + Flags []Flag + Long string + Run func(ctx context.Context, args []string, flags Flags) error + Short string + Subcommands []Command + Use string + type CommandProvider interface + Commands func() []Command + type ConfigView interface + DataDir func() string + Debug func() bool + Lookup func(path string) (any, bool) + WorkingDir func() string + type Entitlement string + func (e Entitlement) Matches(id ID) bool + type Entitlements []Entitlement + func (es Entitlements) Allows(id ID) bool + func (es Entitlements) Strings() []string + type Entry struct + Config map[string]any + Enabled bool + type Event struct + ID string + Payload map[string]any + SessionID string + Time time.Time + Topic string + Type EventType + type EventSubscriber interface + HandleEvent func(ctx context.Context, ev Event) + Topics func() []string + type EventType string + const EventCreated + const EventDeleted + const EventUpdated + type Extension interface + ExtensionInfo func() Info + type Flag struct + Name string + Shorthand string + Usage string + Value any + type Flags map[string]any + func (f Flags) Bool(name string) bool + func (f Flags) Int(name string) int + func (f Flags) String(name string) string + func (f Flags) StringSlice(name string) []string + type FrontendOverlay interface + OverlayAssets func() fs.FS + Overrides func() []string + type FrontendProvider interface + AssetPath func() string + Assets func() fs.FS + Panels func() []PanelManifest + type FrontendReplacer interface + ReplaceFrontend func() fs.FS + type HTTPEndpointProvider interface + BasePath func() string + Routes func() []Route + type HTTPMiddlewareProvider interface + Priority func() int + WrapHTTP func(next http.Handler) http.Handler + type HostServices struct + Config ConfigView + CoreVersion string + Logger *slog.Logger + Raw map[string]any + Variant string + WorkingDir string + func (h HostServices) Bool(key string, def bool) bool + func (h HostServices) Int(key string, def int) int + func (h HostServices) String(key, def string) string + type ID string + func (id ID) Namespace() string + func (id ID) Valid() bool + type Info struct + Author string + Description string + ID ID + License License + Name string + New func() Extension + RequiresCore string + RequiresExtensions []ID + Version string + func ByNamespace(ns string) []Info + func Get(id ID) (Info, bool) + func List() []Info + type License string + const LicenseEnterprise + const LicenseMIT + type LicenseClaims struct + Customer string + Entitlements Entitlements + ExpiresAt time.Time + IssuedAt time.Time + Notes string + func VerifyLicense(data []byte, keys map[string]ed25519.PublicKey) (LicenseClaims, error) + func (c LicenseClaims) Allows(id ID) bool + func (c LicenseClaims) Expired(now time.Time) bool + type LicenseGate struct + func NewLicenseGate(claims LicenseClaims, source string) *LicenseGate + func NewUnlicensedGate(source string, err error) *LicenseGate + func (g *LicenseGate) Claims() LicenseClaims + func (g *LicenseGate) Entitled(info Info) error + func (g *LicenseGate) LicenseStatus() LicenseStatus + func (g *LicenseGate) SetClock(now func() time.Time) + type LicenseProvider interface + Entitled func(info Info) error + LicenseStatus func() LicenseStatus + type LicenseStatus struct + Customer string + Entitlements []string + Error string + ExpiresAt time.Time + Present bool + Source string + Valid bool + type Lifecycle interface + Start func(ctx context.Context) error + Stop func(ctx context.Context) error + type Manager struct + func NewManager(opts Options) *Manager + func (m *Manager) Cleanup() + func (m *Manager) Instance(id ID) Extension + func (m *Manager) LicenseStatus() (LicenseStatus, bool) + func (m *Manager) Load(ctx context.Context) error + func (m *Manager) Loaded(id ID) bool + func (m *Manager) Start(ctx context.Context) error + func (m *Manager) Statuses() []Status + func (m *Manager) Stop(ctx context.Context) error + func (m *Manager) Unload(id ID) error + type MemoryEvent struct + Content string + DryRun bool + Embedding []float32 + InstanceID string + Key string + Kind MemoryKind + Metadata map[string]any + Op MemoryOp + Origin MemoryOrigin + Path string + ProjectID string + Scope string + Tags []string + Timestamp time.Time + UserID string + type MemoryKind string + const KindDocument + const KindMemory + type MemoryOp string + const MemoryCreated + const MemoryDeleted + const MemoryUpdated + type MemoryOrigin string + const OriginAPI + const OriginGC + const OriginRemote + const OriginSync + const OriginTool + const OriginWatcher + type MemorySink interface + OnMemoryWrite func(ctx context.Context, ev MemoryEvent) error + type MemorySyncReporter interface + MemorySyncStatus func() MemorySyncStatus + type MemorySyncStatus struct + Active bool + Destination string + Dropped int64 + DryRun bool + LastError string + LastSyncAt time.Time + Pending int + Scopes []string + Sent int64 + type Options struct + Disabled []string + Entries map[string]Entry + Host HostServices + Logger *slog.Logger + Registry *Registry + type PanelManifest struct + Entry string + ID string + Icon string + Order int + Slot string + Title string + type Provisioner interface + Provision func(ctx context.Context, host HostServices) error + type Registry struct + func NewRegistry() *Registry + func (r *Registry) ByNamespace(ns string) []Info + func (r *Registry) Get(id ID) (Info, bool) + func (r *Registry) Len() int + func (r *Registry) List() []Info + func (r *Registry) Register(e Extension) + type Remembrance struct + Content string + Path string + Scope string + Score float64 + Source string + Tags []string + UpdatedAt time.Time + type RemembranceQuery struct + Limit int + ProjectID string + Query string + Scope string + Tags []string + type RemembranceSearchWrapper interface + WrapRemembranceSearch func(next RemembranceSearcher) RemembranceSearcher + type RemembranceSearcher interface + SearchRemembrances func(ctx context.Context, q RemembranceQuery) ([]Remembrance, error) + type RemembranceSearcherFunc func(ctx context.Context, q RemembranceQuery) ([]Remembrance, error) + func (f RemembranceSearcherFunc) SearchRemembrances(ctx context.Context, q RemembranceQuery) ([]Remembrance, error) + type Route struct + Handler http.Handler + Pattern string + type SignedLicense struct + Claims json.RawMessage + KeyID string + Signature string + type SlashCommand struct + AcceptsArgs bool + Description string + Name string + type SlashCommandProvider interface + RunSlashCommand func(ctx context.Context, name, args string) (SlashResult, error) + SlashCommands func() []SlashCommand + type SlashResult struct + Output string + Prompt string + type Status struct + Disabled bool + Err error + Info Info + Loaded bool + Unlicensed bool + func (s Status) String() string + type Tool interface + Info func() ToolInfo + Run func(ctx context.Context, call ToolCall) (ToolResponse, error) + type ToolCall struct + ID string + Input string + Name string + type ToolFilter interface + FilterTools func(tools []Tool) []Tool + type ToolFunc func(ctx context.Context, call ToolCall) (ToolResponse, error) + type ToolInfo struct + Description string + Name string + Parameters map[string]any + Required []string + type ToolInterceptor interface + InterceptTool func(ctx context.Context, call ToolCall, next ToolFunc) (ToolResponse, error) + type ToolMiddleware interface + Priority func() int + type ToolProvider interface + Tools func() []Tool + type ToolResponse struct + Content string + IsError bool + Metadata string + func NewErrorResponse(content string) ToolResponse + func NewTextResponse(content string) ToolResponse + type Validator interface + Validate func() error