Documentation
¶
Index ¶
- type AgentChooser
- type AgentItem
- type CloseMsg
- type CommandMethodConfig
- type CommandModeConfig
- type Dialog
- type Manager
- type McpServerWizard
- func (w *McpServerWizard) Fullscreen() bool
- func (w *McpServerWizard) ID() string
- func (w *McpServerWizard) Init() tea.Cmd
- func (w *McpServerWizard) Ok() bool
- func (w *McpServerWizard) Result() common.McpServerType
- func (w *McpServerWizard) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (w *McpServerWizard) View() string
- type OpenMsg
- type ServerTypeConfig
- type WizardFlowConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentChooser ¶
type AgentChooser struct {
// contains filtered or unexported fields
}
func NewAgentChooser ¶
func (*AgentChooser) Fullscreen ¶
func (a *AgentChooser) Fullscreen() bool
func (*AgentChooser) ID ¶
func (a *AgentChooser) ID() string
func (*AgentChooser) Init ¶
func (a *AgentChooser) Init() tea.Cmd
func (*AgentChooser) View ¶
func (a *AgentChooser) View() string
type AgentItem ¶
type AgentItem struct{ api.AgentResponse }
func (AgentItem) Description ¶
func (AgentItem) FilterValue ¶
type CommandMethodConfig ¶
CommandMethodConfig defines how to run an MCP command server
type CommandModeConfig ¶
CommandModeConfig defines sub-modes for command execution
type Dialog ¶
type Dialog interface {
tea.Model
ID() string
// Fullscreen indicates whether the dialog should take the entire screen.
Fullscreen() bool
}
Dialog represents a modal-like component.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager maintains a stack of dialogs and forwards messages to the active one.
func NewManager ¶
func NewManager() *Manager
func (*Manager) Handle ¶
Handle processes messages and routes them to the dialog stack. It returns a Cmd to be run by Bubble Tea.
func (*Manager) HasDialogs ¶
func (*Manager) ViewOverlay ¶
ViewOverlay returns the view of the active dialog if present, otherwise empty string.
type McpServerWizard ¶
type McpServerWizard struct {
// contains filtered or unexported fields
}
McpServerWizard provides a paginated wizard for creating MCP server entries.
func NewMcpServerWizard ¶
func NewMcpServerWizard() *McpServerWizard
func (*McpServerWizard) Fullscreen ¶
func (w *McpServerWizard) Fullscreen() bool
func (*McpServerWizard) ID ¶
func (w *McpServerWizard) ID() string
func (*McpServerWizard) Init ¶
func (w *McpServerWizard) Init() tea.Cmd
func (*McpServerWizard) Ok ¶
func (w *McpServerWizard) Ok() bool
func (*McpServerWizard) Result ¶
func (w *McpServerWizard) Result() common.McpServerType
func (*McpServerWizard) Update ¶
Update handles Bubble Tea messages and routes to the current step's components.
func (*McpServerWizard) View ¶
func (w *McpServerWizard) View() string
View assembles the frame and delegates step-specific content rendering.
type ServerTypeConfig ¶
ServerTypeConfig defines the configuration for a server type (remote or command)
type WizardFlowConfig ¶
WizardFlowConfig defines the step sequence and display positions for a flow