Documentation
¶
Index ¶
- func HandleFallthrough(h Host, msg tea.Msg) (tea.Model, tea.Cmd)
- func HandleMouse(h Host, msg tea.MouseMsg) (tea.Model, tea.Cmd)
- func HandleMutationCompleted(h Host, msg uimsg.MutationCompleted) (tea.Model, tea.Cmd)
- func HandlePaletteAction(h Host, msg uimsg.MsgCommandPalette) (tea.Model, tea.Cmd)
- func HandlePreviewLoaded(h Host, msg panel.PreviewLoadedMsg) (tea.Model, tea.Cmd)
- func HandleProgressFrame(h Host, msg progress.FrameMsg) (tea.Model, tea.Cmd)
- func HandleReselectMCP(h Host, msg uimsg.ReselectMCP) (tea.Model, tea.Cmd)
- func HandleReselectSkill(h Host, msg uimsg.ReselectSkill) (tea.Model, tea.Cmd)
- func HandleSpinnerTick(h Host, msg spinner.TickMsg) (tea.Model, tea.Cmd)
- func HandleWindowResize(h Host, msg tea.WindowSizeMsg) (tea.Model, tea.Cmd)
- type Host
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleMutationCompleted ¶
func HandlePaletteAction ¶
func HandlePreviewLoaded ¶
func HandleProgressFrame ¶
func HandleReselectMCP ¶
func HandleReselectSkill ¶
func HandleWindowResize ¶
Types ¶
type Host ¶
type Host interface {
TeaModel() tea.Model
ApplyMutationResult(uimsg.MutationCompleted) (tea.Model, tea.Cmd)
SetWindowSize(int, int)
ResizeComponents()
ResizePaletteInput()
SyncSelectionPreview() tea.Cmd
HandleMouse(tea.MouseMsg) (tea.Model, tea.Cmd)
PreviewGeneration() int
ActiveTab() panel.Tab
SetPreviewError(string)
SetPreviewBody(string)
SetPreviewContent(string)
ClearStaleLoadingIfIdle()
SpinnerTick(spinner.TickMsg) tea.Cmd
InstallWizardSearching() bool
InstallHandleUIMsg(tea.Msg) tea.Cmd
InstallHandleBackgroundFrame(progress.FrameMsg) (tea.Cmd, bool)
SelectMCPByName(string) bool
SelectSkillByName(string) bool
HandlePaletteAction(uimsg.MsgCommandPalette) (tea.Model, tea.Cmd)
MainFallthrough(tea.Msg) (tea.Cmd, tea.Cmd)
}
Host exposes non-key message handlers for the app Model.
Click to show internal directories.
Click to hide internal directories.