tui

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfirmAction

func ConfirmAction(prompt string) bool

ConfirmAction creates a confirmation function for tools

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

Model is the main TUI model

func New

func New(ag *agent.Agent, modelName string) Model

New creates a new TUI model

func (Model) Init

func (m Model) Init() tea.Cmd

Init initializes the TUI

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update handles messages

func (Model) View

func (m Model) View() string

View renders the TUI

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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