sidebar

package
v1.9.19 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mode added in v1.9.10

type Mode int
const (
	ModeVertical Mode = iota
	ModeHorizontal
)

type Model

type Model interface {
	layout.Model
	layout.Sizeable

	SetTokenUsage(usage *runtime.Usage)
	SetTodos(toolCall tools.ToolCall) error
	SetWorking(working bool) tea.Cmd
	SetMode(mode Mode)
	SetAgentInfo(agentName, model, description string)
	SetTeamInfo(availableAgents []string)
	SetAgentSwitching(switching bool)
	SetToolsetInfo(availableTools int)
	SetToolStatus(toolName, status string)
	GetSize() (width, height int)
}

Model represents a sidebar component

func New

func New(manager *service.TodoManager) Model

Jump to

Keyboard shortcuts

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