Documentation
¶
Index ¶
- Variables
- func InitAvailablePlugins()
- func InitAvailableSkills()
- type AgentMCPStatus
- type AgentPluginStatus
- type AgentSkillStatus
- type AgentsView
- func (v *AgentsView) GetOnlineCount() int
- func (v *AgentsView) GetSidebarSections() []components.SidebarSection
- func (v *AgentsView) GetTotalCount() int
- func (v *AgentsView) Init() tea.Cmd
- func (v *AgentsView) Message() string
- func (v *AgentsView) SetDimensions(width, height int)
- func (v *AgentsView) ShortHelp() []components.FooterAction
- func (v *AgentsView) Title() string
- func (v *AgentsView) Update(msg tea.Msg) (View, tea.Cmd)
- func (v *AgentsView) View() string
- type AvailablePlugin
- type AvailableSkill
- type CodeAgentInfo
- type MCPServer
- type MCPView
- func (v *MCPView) GetInstalledCount() int
- func (v *MCPView) GetSidebarSections() []components.SidebarSection
- func (v *MCPView) GetTotalCount() int
- func (v *MCPView) Init() tea.Cmd
- func (v *MCPView) Message() string
- func (v *MCPView) SetDimensions(width, height int)
- func (v *MCPView) ShortHelp() []components.FooterAction
- func (v *MCPView) Title() string
- func (v *MCPView) Update(msg tea.Msg) (View, tea.Cmd)
- func (v *MCPView) View() string
- type PluginsView
- func (v *PluginsView) GetInstalledCount() int
- func (v *PluginsView) GetPluginsCount() int
- func (v *PluginsView) GetSidebarSections() []components.SidebarSection
- func (v *PluginsView) GetTotalCount() int
- func (v *PluginsView) Init() tea.Cmd
- func (v *PluginsView) Message() string
- func (v *PluginsView) SetDimensions(width, height int)
- func (v *PluginsView) ShortHelp() []components.FooterAction
- func (v *PluginsView) Title() string
- func (v *PluginsView) Update(msg tea.Msg) (View, tea.Cmd)
- func (v *PluginsView) View() string
- type SkillsView
- func (v *SkillsView) GetInstalledCount() int
- func (v *SkillsView) GetSidebarSections() []components.SidebarSection
- func (v *SkillsView) GetSkillsCount() int
- func (v *SkillsView) GetTotalCount() int
- func (v *SkillsView) Init() tea.Cmd
- func (v *SkillsView) Message() string
- func (v *SkillsView) SetDimensions(width, height int)
- func (v *SkillsView) ShortHelp() []components.FooterAction
- func (v *SkillsView) Title() string
- func (v *SkillsView) Update(msg tea.Msg) (View, tea.Cmd)
- func (v *SkillsView) View() string
- type View
Constants ¶
This section is empty.
Variables ¶
var AvailablePlugins []AvailablePlugin
Available plugins from registry (fetched on startup)
var AvailableSkills []AvailableSkill
AvailableSkills is the list of skills from the registry
Functions ¶
func InitAvailablePlugins ¶
func InitAvailablePlugins()
InitAvailablePlugins fetches plugins from the registry
func InitAvailableSkills ¶ added in v0.0.2
func InitAvailableSkills()
InitAvailableSkills fetches skills from the registry
Types ¶
type AgentMCPStatus ¶
type AgentMCPStatus struct {
Agent agent.Agent
Exists bool
Installed map[string]bool
Errors map[string]error
}
AgentMCPStatus represents an agent's MCP installation status
type AgentPluginStatus ¶
type AgentPluginStatus struct {
Agent agent.Agent
Exists bool
SupportsPlugin bool
PluginStatus map[string]bool // pluginName -> installed
PluginError map[string]error
}
AgentPluginStatus represents an agent's plugin installation status
type AgentSkillStatus ¶
type AgentSkillStatus struct {
Agent agent.Agent
Exists bool
SupportsSkill bool
SkillStatus map[string]bool // skillName -> installed
SkillError map[string]error
}
AgentSkillStatus represents an agent's skill installation status
type AgentsView ¶
type AgentsView struct {
// contains filtered or unexported fields
}
AgentsView displays code agent status
func (*AgentsView) GetOnlineCount ¶
func (v *AgentsView) GetOnlineCount() int
GetOnlineCount returns number of configured agents
func (*AgentsView) GetSidebarSections ¶
func (v *AgentsView) GetSidebarSections() []components.SidebarSection
func (*AgentsView) GetTotalCount ¶
func (v *AgentsView) GetTotalCount() int
GetTotalCount returns total number of agents
func (*AgentsView) Init ¶
func (v *AgentsView) Init() tea.Cmd
func (*AgentsView) Message ¶
func (v *AgentsView) Message() string
func (*AgentsView) SetDimensions ¶
func (v *AgentsView) SetDimensions(width, height int)
func (*AgentsView) ShortHelp ¶
func (v *AgentsView) ShortHelp() []components.FooterAction
func (*AgentsView) Title ¶
func (v *AgentsView) Title() string
func (*AgentsView) View ¶
func (v *AgentsView) View() string
type AvailablePlugin ¶
type AvailablePlugin struct {
Name string
Description string
Source string
Components string // Summary like "2 cmd, 1 skill"
}
AvailablePlugin represents a plugin that can be installed
type AvailableSkill ¶
type AvailableSkill struct {
Name string
Description string
Source string // GitHub tree URL or repo#fragment
}
AvailableSkill represents a skill that can be installed
type CodeAgentInfo ¶
CodeAgentInfo represents information about a code agent
type MCPView ¶
type MCPView struct {
// contains filtered or unexported fields
}
MCPView displays MCP server installation status across code agents
func (*MCPView) GetInstalledCount ¶
GetInstalledCount returns total MCP installations across all agents
func (*MCPView) GetSidebarSections ¶
func (v *MCPView) GetSidebarSections() []components.SidebarSection
func (*MCPView) GetTotalCount ¶
GetTotalCount returns total possible installations (agents × MCP servers)
func (*MCPView) SetDimensions ¶
func (*MCPView) ShortHelp ¶
func (v *MCPView) ShortHelp() []components.FooterAction
type PluginsView ¶
type PluginsView struct {
// contains filtered or unexported fields
}
PluginsView displays plugins installation status across code agents
func (*PluginsView) GetInstalledCount ¶
func (v *PluginsView) GetInstalledCount() int
GetInstalledCount returns total plugin installations across all agents
func (*PluginsView) GetPluginsCount ¶
func (v *PluginsView) GetPluginsCount() int
GetPluginsCount returns the total number of available plugins
func (*PluginsView) GetSidebarSections ¶
func (v *PluginsView) GetSidebarSections() []components.SidebarSection
func (*PluginsView) GetTotalCount ¶
func (v *PluginsView) GetTotalCount() int
GetTotalCount returns total possible installations (agents that support plugins x plugins)
func (*PluginsView) Init ¶
func (v *PluginsView) Init() tea.Cmd
func (*PluginsView) Message ¶
func (v *PluginsView) Message() string
func (*PluginsView) SetDimensions ¶
func (v *PluginsView) SetDimensions(width, height int)
func (*PluginsView) ShortHelp ¶
func (v *PluginsView) ShortHelp() []components.FooterAction
func (*PluginsView) Title ¶
func (v *PluginsView) Title() string
func (*PluginsView) View ¶
func (v *PluginsView) View() string
type SkillsView ¶
type SkillsView struct {
// contains filtered or unexported fields
}
SkillsView displays skills installation status across code agents
func (*SkillsView) GetInstalledCount ¶
func (v *SkillsView) GetInstalledCount() int
GetInstalledCount returns total skill installations across all agents
func (*SkillsView) GetSidebarSections ¶
func (v *SkillsView) GetSidebarSections() []components.SidebarSection
func (*SkillsView) GetSkillsCount ¶
func (v *SkillsView) GetSkillsCount() int
GetSkillsCount returns the total number of available skills
func (*SkillsView) GetTotalCount ¶
func (v *SkillsView) GetTotalCount() int
GetTotalCount returns total possible installations (agents that support skills × skills)
func (*SkillsView) Init ¶
func (v *SkillsView) Init() tea.Cmd
func (*SkillsView) Message ¶
func (v *SkillsView) Message() string
func (*SkillsView) SetDimensions ¶
func (v *SkillsView) SetDimensions(width, height int)
func (*SkillsView) ShortHelp ¶
func (v *SkillsView) ShortHelp() []components.FooterAction
func (*SkillsView) Title ¶
func (v *SkillsView) Title() string
func (*SkillsView) View ¶
func (v *SkillsView) View() string
type View ¶
type View interface {
// Init initializes the view
Init() tea.Cmd
// Update handles messages and returns updated view
Update(msg tea.Msg) (View, tea.Cmd)
// View renders the view content
View() string
// SetDimensions sets the view dimensions
SetDimensions(width, height int)
// Title returns the view title
Title() string
// ShortHelp returns keyboard shortcuts for footer
ShortHelp() []components.FooterAction
// GetSidebarSections returns sidebar content
GetSidebarSections() []components.SidebarSection
// Message returns any status message to display
Message() string
}
View represents a tab view interface