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 ValidateThemeName ¶
ValidateThemeName checks automatic, bundled, and user-installed themes.
Types ¶
type Config ¶
type Config struct {
ConversationID string
Profile string
ProfileOptions []string
ProfileSettings map[string]ProfileSettings
Model string
ModelOptions []string
EnvironmentProfile string
ReasoningEffort string
ReasoningEffortOptions []string
ReasoningEffortExplicit bool
CWD string
DefaultCWD string
Theme string
ServerURL string // Connected control-plane base URL for relative image links.
Runner chat.ChatRunner // Required unless Initialize is set; the daemon owns execution.
// Initialize optionally prepares the daemon connection after the TUI renders.
// Until it succeeds, typing and quitting remain available but submission is disabled.
Initialize func(context.Context) (Config, error)
Remote bool // Deprecated: exported Run always uses daemon-backed discovery and history.
}
Config configures the native chat TUI.
Source Files
¶
- constants.go
- conversation_picker.go
- conversation_state.go
- details.go
- events.go
- extensions_ui.go
- format.go
- history.go
- markdown.go
- message_history.go
- model.go
- model_picker.go
- profile.go
- reasoning.go
- shortcuts.go
- styles.go
- terminal_title.go
- text.go
- theme.go
- tool_render.go
- tool_result.go
- transcript.go
- types.go
- ui.go
- update.go
- view.go
Click to show internal directories.
Click to hide internal directories.