Versions in this module Expand all Collapse all v1 v1.0.0 Oct 7, 2026 Changes in this version + const PluginBroken + const PluginNotCached + const PluginNotInstalled + const PluginOn + const PluginShadowed + const PluginUntrusted + const PluginWaiting + func ErrorText(err error) string + func HiddenToolCall(tool string, args json.RawMessage) bool + func Printable(s string) string + func UserText(m agentcore.Message) (text string, ok bool) + type AgentHub struct + func NewAgentHub() *AgentHub + func (h *AgentHub) ActiveAgents() []string + func (h *AgentHub) IsActive(agentName string) bool + func (h *AgentHub) KnownAgents() []AgentInfo + func (h *AgentHub) MarkStopped(agentName string) + func (h *AgentHub) Publish(agentName string, ev agentcore.Event) + func (h *AgentHub) Subscribe(agentName string) ([]agentcore.Event, <-chan agentcore.Event, func()) + type AgentInfo struct + Active bool + Name string + type App struct + func Boot(opts Options) (*App, error) + func (a *App) AcceptPlugin(ctx context.Context, o *PluginOffer) (ReloadReport, error) + func (a *App) Close() + func (a *App) Connect(ctx context.Context) MCPReport + func (a *App) Current() *Conversation + func (a *App) Cwd() string + func (a *App) DenyTrust(ctx context.Context) (ReloadReport, error) + func (a *App) Extensions() *Extensions + func (a *App) InstallPlugins(ctx context.Context) (offers []*PluginOffer, fetched []string, errs []error) + func (a *App) LoginMCP(ctx context.Context, name string) (*MCPLogin, error) + func (a *App) LogoutMCP(ctx context.Context, name string) (MCPReport, error) + func (a *App) MCPStatus(ctx context.Context) []MCPServer + func (a *App) Mode() interact.Mode + func (a *App) ModelFacts(prov, name string) (catalog.Model, bool) + func (a *App) OfferPlugin(ctx context.Context, source string, project bool) (*PluginOffer, error) + func (a *App) Open(id string) (*Conversation, error) + func (a *App) PluginUpdates(ctx context.Context) []string + func (a *App) Plugins() []Plugin + func (a *App) Reload(ctx context.Context) (ReloadReport, error) + func (a *App) RemovePlugin(ctx context.Context, ref string, project bool) (ReloadReport, error) + func (a *App) Sessions() ([]SessionInfo, error) + func (a *App) SetMode(m interact.Mode) + func (a *App) SetTrust(ctx context.Context, shown, agreed Surface) (ReloadReport, error) + func (a *App) Settings() config.Resolved + func (a *App) Subscribe(fn func(Event)) (unsubscribe func()) + func (a *App) ThinkingLevels(prov, name string) []string + func (a *App) Trust() Trust + func (a *App) UpdatePlugins(ctx context.Context, ref string) ([]PluginUpdate, error) + type Conversation struct + func (c *Conversation) Agents() *AgentHub + func (c *Conversation) Cancel() + func (c *Conversation) Compact(ctx context.Context) error + func (c *Conversation) Cwd() string + func (c *Conversation) Diff() (string, error) + func (c *Conversation) EnterWorktree(name string) (string, error) + func (c *Conversation) ExitWorktree(discard bool) (WorktreeExit, error) + func (c *Conversation) GitBranch() string + func (c *Conversation) History() []agentcore.Message + func (c *Conversation) ID() string + func (c *Conversation) InvokeSkill(ctx context.Context, name, args string) (string, error) + func (c *Conversation) Query(ctx context.Context, question string) (string, error) + func (c *Conversation) Redo() (changed []string, ok bool, err error) + func (c *Conversation) Reload() + func (c *Conversation) SetModel(prov, name, effort string) error + func (c *Conversation) Skills() []Skill + func (c *Conversation) Status() Status + func (c *Conversation) Submit(ctx context.Context, blocks []litellm.Block) error + func (c *Conversation) Subscribe(fn func(session.Event)) (unsubscribe func()) + func (c *Conversation) Suggest(ctx context.Context) (string, error) + func (c *Conversation) Tasks() *task.Runtime + func (c *Conversation) Undo() (changed []string, ok bool, err error) + func (c *Conversation) Wait(ctx context.Context) error + func (c *Conversation) Worktree() string + type Event struct + Conversation *Conversation + Kind Kind + Mode interact.Mode + Session session.Event + type Extensions = extension.Set + type Kind int + const MCPChanged + const ModeChanged + const Opened + const Reloaded + const SessionEvent + type MCPLogin struct + URL string + func (l *MCPLogin) Wait(ctx context.Context) (MCPReport, error) + type MCPReport struct + Connected int + Errors []string + Login []string + Servers int + Tools int + type MCPServer = mcp.ServerStatus + type ModelFactory func(provider.ModelSpec) (agentcore.Model, error) + type Options struct + CacheTTL string + Cwd string + FS agentcoretools.FS + Interactive bool + Mode interact.Mode + NewModel ModelFactory + PluginDirs []string + Resume string + Trust bool + UI interact.UI + type Plugin = extension.Plugin + type PluginContent = plugin.Plugin + type PluginOffer struct + Commit string + New Surface + Problems []error + Scope extension.Scope + Source string + Surface Surface + type PluginUpdate struct + Commit string + Err error + Offer *PluginOffer + Plugin Plugin + type ReloadReport struct + MCP MCPReport + Plugins int + Skills int + type SessionInfo = storage.SessionInfo + type Skill = skill.Spec + type Status struct + Cwd string + Mode interact.Mode + Reasoning bool + SmallModel string + Tasks int + Worktree string + type Surface = extension.Surface + type Trust = extension.Trust + type WorktreeExit struct + Branch string + BranchKept bool + Dir string + HadChanges bool + Kept bool + Slug string