Documentation
¶
Index ¶
- func AgentDesc(a agent.Agent) string
- func ChoicesToListItems(choices []extension.Choice, projectRoot, home string) []list.Item
- type Feature
- func (f *Feature) Active() bool
- func (f *Feature) Clear()
- func (f *Feature) Init() tea.Cmd
- func (f *Feature) Name() string
- func (f *Feature) RenderMainOverlay() string
- func (f *Feature) SessionAgents() []extension.Choice
- func (f *Feature) StartFromItem(item panel.Item) (tea.Model, tea.Cmd)
- func (f *Feature) SyncHint()
- func (f *Feature) Update(msg tea.Msg) (tea.Cmd, bool)
- func (f *Feature) View(width, height int) string
- type Host
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Feature ¶
type Feature struct {
// contains filtered or unexported fields
}
Feature owns the agent bind overlay.
func (*Feature) RenderMainOverlay ¶
func (*Feature) SessionAgents ¶
SessionAgents exposes agents for tests in the app package.
func (*Feature) StartFromItem ¶
type Host ¶
type Host interface {
feature.BaseHost
IsBinding() bool
ActivePanelCanBind() bool
CWD() string
Home() string
Binder() coordinator.Binder
MCPMembersForConfigKey(key string) []*mcpdomain.Server
SetAgentListItems([]list.Item)
AgentListIndex() int
AgentListSelect(int)
AgentListUpdate(tea.Msg) (list.Model, tea.Cmd)
BeginScanAllCmd() tea.Cmd
ReportError(error)
ErrMsg() string
AgentListSetSize(w, h int)
AgentListView() string
}
Host exposes bind-dialog needs from the app Model.
Click to show internal directories.
Click to hide internal directories.