fallback

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleFallthrough

func HandleFallthrough(h Host, msg tea.Msg) (tea.Model, tea.Cmd)

func HandleMouse

func HandleMouse(h Host, msg tea.MouseMsg) (tea.Model, tea.Cmd)

func HandleMutationCompleted

func HandleMutationCompleted(h Host, msg uimsg.MutationCompleted) (tea.Model, tea.Cmd)

func HandlePaletteAction

func HandlePaletteAction(h Host, msg uimsg.MsgCommandPalette) (tea.Model, tea.Cmd)

func HandlePreviewLoaded

func HandlePreviewLoaded(h Host, msg panel.PreviewLoadedMsg) (tea.Model, tea.Cmd)

func HandleProgressFrame

func HandleProgressFrame(h Host, msg progress.FrameMsg) (tea.Model, tea.Cmd)

func HandleReselectMCP

func HandleReselectMCP(h Host, msg uimsg.ReselectMCP) (tea.Model, tea.Cmd)

func HandleReselectSkill

func HandleReselectSkill(h Host, msg uimsg.ReselectSkill) (tea.Model, tea.Cmd)

func HandleSpinnerTick

func HandleSpinnerTick(h Host, msg spinner.TickMsg) (tea.Model, tea.Cmd)

func HandleWindowResize

func HandleWindowResize(h Host, msg tea.WindowSizeMsg) (tea.Model, tea.Cmd)

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
	FlashFooter(string) tea.Cmd

	HandlePaletteAction(uimsg.MsgCommandPalette) (tea.Model, tea.Cmd)

	MainFallthrough(tea.Msg) (tea.Cmd, tea.Cmd)
}

Host exposes non-key message handlers for the app Model.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL