Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Cwd string
Continue bool
Resume bool
NonTTYMode bool
ApprovalMode string
ToolFactories []ToolFactory
ModelFactory agent.ModelFactory
}
Options controls how runtime bootstraps.
type Runtime ¶
type Runtime struct {
Cwd string
GitBranch string
ApprovalEngine *approval.Engine
TaskRuntime *task.Runtime
Settings config.Resolved
ModelName string // display form: "provider/model" or session-restored name
Session *agent.Session
SessionStore *storage.Store
PluginCatalog *plugin.Catalog
SkillCatalog *skill.Catalog
MCPManager *mcpclient.Manager
MCPServers map[string]mcpclient.ServerConfig // for async connection in TUI
HookRunner *hooks.Runner // nil if no hooks configured
EnvHint string // non-empty when credentials come from environment variable
PlanSlug string // restored plan slug (empty if no plan)
PlanPhase string // restored plan phase
PlanPreMode string // restored plan pre-mode
}
Runtime is the bootstrapped app runtime state.
type ToolFactory ¶
ToolFactory creates one tool instance for the given workspace.
Click to show internal directories.
Click to hide internal directories.