tui

package
v0.5.1-beta Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 45 Imported by: 0

Documentation

Overview

Package tui implements Kodelet's native terminal chat interface.

Index

Constants

View Source
const (
	AutoThemeName    = "auto"
	DefaultThemeName = "catppuccin-mocha"
	LightThemeName   = "catppuccin-latte"
)

Variables

This section is empty.

Functions

func AvailableThemeNames

func AvailableThemeNames() []string

AvailableThemeNames returns automatic selection, bundled themes, and valid custom themes discovered under ~/.kodelet/themes.

func Run

func Run(ctx context.Context, config Config) error

func ValidateThemeName

func ValidateThemeName(name string) error

ValidateThemeName checks automatic, bundled, and user-installed themes.

Types

type Config

type Config struct {
	ConversationID          string
	Profile                 string
	ProfileOptions          []string
	ReasoningEffort         string
	ReasoningEffortOptions  []string
	ReasoningEffortExplicit bool
	CWD                     string
	Theme                   string
	Runner                  chat.ChatRunner
}

Config configures the native chat TUI.

Jump to

Keyboard shortcuts

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