Versions in this module Expand all Collapse all v0 v0.2.0 Mar 14, 2026 Changes in this version + var ErrQuit = fmt.Errorf("quit") + func RegisterBuiltins(r *Registry) + func RegisterTeamCommands(r *Registry) + type Command interface + Aliases func() []string + Description func() string + Execute func(ctx context.Context, env *Env, args string) error + Name func() string + type CreateTeamReq struct + Name string + Strategy string + TaskDescription string + TemplateID string + type Env struct + ClearHistory func() + Model func() string + Out io.Writer + SessionKey func() string + SetTeamState func(state *TeamState) + TeamAPI TeamAPI + TeamState *TeamState + type Registry struct + func NewRegistry() *Registry + func (r *Registry) CommandInfos() []input.CommandInfo + func (r *Registry) Help() string + func (r *Registry) Lookup(rawInput string) (Command, string, bool) + func (r *Registry) Register(cmd Command) + type TeamAPI interface + Broadcast func(ctx context.Context, teamID, content string) error + CreateTeam func(ctx context.Context, req CreateTeamReq) (*TeamState, error) + DissolveTeam func(ctx context.Context, teamID string) error + GetTeam func(ctx context.Context, teamID string) (*TeamState, error) + ListTemplates func(ctx context.Context) ([]TemplateInfo, error) + SendMessage func(ctx context.Context, teamID, recipientLabel, content string) error + type TeamMemberState struct + ID string + IsLeader bool + Label string + NodeID string + Progress string + Role string + SessionID string + Status string + func (m *TeamMemberState) RoleIcon() string + func (m *TeamMemberState) StatusIcon() string + type TeamState struct + Enabled bool + FocusIndex int + ID string + Members []TeamMemberState + Name string + Strategy string + type TemplateInfo struct + Description string + ID string + MemberCount int + Name string + Strategy string