Documentation
¶
Index ¶
- func RunChat(agentRef string, sessionID string, sendFn SendMessageFn, verbose bool) error
- type CommandMethodConfig
- type CommandModeConfig
- 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 SendMessageFn
- type ServerTypeConfig
- type WizardFlowConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandMethodConfig ¶
CommandMethodConfig defines how to run an MCP command server
type CommandModeConfig ¶
CommandModeConfig defines sub-modes for command execution
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
TODO(infocus7): Add registry type selection using actual registry server list for selection
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 SendMessageFn ¶
type SendMessageFn func(ctx context.Context, params protocol.SendMessageParams) (<-chan protocol.StreamingMessageEvent, error)
SendMessageFn mirrors the A2A client's StreamMessage signature.
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