Documentation
¶
Index ¶
- type AgentCard
- type ChatEventMsg
- type ChatModel
- type KillAgentMsg
- type NavigateToOnboardingMsg
- type OnboardingDoneMsg
- type OnboardingModel
- type SplashDoneMsg
- type SplashModel
- type TeamModel
- func (m TeamModel) ApplyEvent(ev *pb.TeamEvent) TeamModel
- func (m TeamModel) SetBlackboardInfo(agentName string, sections map[string]int) TeamModel
- func (m TeamModel) SetSize(w, h int) TeamModel
- func (m TeamModel) Update(msg tea.Msg) (TeamModel, tea.Cmd)
- func (m TeamModel) View(t theme.Theme) string
- type TeamStatusMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentCard ¶
type AgentCard struct {
ID string
Name string
Role string
Model string
Status string
CurrentTask string
Messages []string
BlackboardSections map[string]int // section name -> entry count
// contains filtered or unexported fields
}
AgentCard represents an agent's current state in the team view.
type ChatEventMsg ¶
ChatEventMsg wraps an incoming proto ChatEvent for the TUI. The channel is carried so handleChatEvent can schedule the next read.
type ChatModel ¶
type ChatModel struct {
// contains filtered or unexported fields
}
func (*ChatModel) SetProviderModel ¶
SetProviderModel sets the provider and model shown in the status bar.
func (*ChatModel) SetWorkingDir ¶
SetWorkingDir sets the working directory shown in the status bar.
type KillAgentMsg ¶
KillAgentMsg signals that the selected agent should be killed.
type NavigateToOnboardingMsg ¶
type NavigateToOnboardingMsg struct{}
NavigateToOnboardingMsg signals the app to switch to the onboarding page.
type OnboardingDoneMsg ¶
OnboardingDoneMsg signals provider setup is complete.
type OnboardingModel ¶
type OnboardingModel struct {
// contains filtered or unexported fields
}
OnboardingModel is the multi-step provider setup wizard.
func NewOnboarding ¶
func NewOnboarding(c *client.Client, t theme.Theme) OnboardingModel
func (OnboardingModel) Init ¶
func (m OnboardingModel) Init() tea.Cmd
func (OnboardingModel) Update ¶
func (m OnboardingModel) Update(msg tea.Msg) (OnboardingModel, tea.Cmd)
type SplashDoneMsg ¶
type SplashDoneMsg struct{}
SplashDoneMsg signals the splash screen animation is complete.
type SplashModel ¶
type SplashModel struct {
// contains filtered or unexported fields
}
SplashModel renders the branded splash screen.
func NewSplash ¶
func NewSplash() SplashModel
func (SplashModel) Init ¶
func (m SplashModel) Init() tea.Cmd
func (SplashModel) Update ¶
func (m SplashModel) Update(msg tea.Msg) (SplashModel, tea.Cmd)
type TeamModel ¶
type TeamModel struct {
// contains filtered or unexported fields
}
TeamModel shows the multi-agent team view.
func (TeamModel) ApplyEvent ¶
ApplyEvent updates the team model from a streaming team event.
func (TeamModel) SetBlackboardInfo ¶
SetBlackboardInfo sets the blackboard section data for a given agent.
type TeamStatusMsg ¶
type TeamStatusMsg struct {
Status *pb.TeamStatus
Err error
}
TeamStatusMsg carries a refreshed TeamStatus from the daemon.