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
Settings config.Resolved
Session *agent.Session
MCPManager *mcpclient.Manager
MCPServers map[string]mcpclient.ServerConfig // for async connection in TUI
EnvHint string // non-empty when credentials come from environment variable
}
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.