agents

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

agent details component, shows information about the selected agent, such as name, description, model, tools, etc. It listens for selectedAgentMsg to update the displayed information when a new agent is selected from the list.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetailComponent

type DetailComponent interface {
	tea.Model
	layout.Sizeable
	layout.Bindings
}

DetailComponent is the interface for the agent details component.

func NewAgentsDetails

func NewAgentsDetails() DetailComponent

NewAgentsDetails creates a new instance of the detail component. It initializes the viewport and returns the component ready for use in the TUI.

type TableComponent

type TableComponent interface {
	tea.Model
	layout.Sizeable
	layout.Bindings
}

TableComponent defines the interface for a table component in the TUI. It includes methods for tea.Model, layout.Sizeable, and layout.Bindings.

func NewAgentsTable

func NewAgentsTable(registry agentregistry.Registry) TableComponent

NewAgentsTable creates a new instance of the table component. It initializes the table with the specified columns and sets the initial focus on the table. It returns the initialized table component.

Jump to

Keyboard shortcuts

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