Documentation
¶
Index ¶
- Constants
- func NewLspService() lsp.LspService
- type App
- func (app *App) ActiveAgent() agent.Service
- func (app *App) ActiveAgentName() config.AgentName
- func (app *App) ForceShutdown()
- func (app *App) SetActiveAgent(agentID config.AgentName) error
- func (app *App) Shutdown()
- func (app *App) SwitchAgent() config.AgentName
- func (app *App) SwitchAgentReverse() config.AgentName
Constants ¶
View Source
const ServerNameContextKey serverNameContextKey = "server_name"
Variables ¶
This section is empty.
Functions ¶
func NewLspService ¶ added in v1.7.0
func NewLspService() lsp.LspService
Types ¶
type App ¶
type App struct {
Sessions session.Service
Messages message.Service
History history.Service
Permissions permission.Service
Registry agentregistry.Registry
MCPRegistry agent.MCPRegistry
Flows flow.Service
AgentFactory agent.AgentFactory
LspService lsp.LspService
PrimaryAgents map[config.AgentName]agent.Service
PrimaryAgentKeys []config.AgentName
ActiveAgentIdx int
InitialSession *session.Session
InitialSessionID string
// contains filtered or unexported fields
}
func (*App) ActiveAgent ¶
func (*App) ActiveAgentName ¶
func (*App) ForceShutdown ¶
func (app *App) ForceShutdown()
ForceShutdown performs an aggressive shutdown for non-interactive mode
func (*App) SetActiveAgent ¶ added in v1.3.0
func (*App) Shutdown ¶
func (app *App) Shutdown()
Shutdown performs a clean shutdown of the application
func (*App) SwitchAgent ¶
func (*App) SwitchAgentReverse ¶ added in v1.7.0
Click to show internal directories.
Click to hide internal directories.