ui

package
v0.12.6 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Magenta  = lipgloss.NewStyle().Foreground(lipgloss.Color("5"))
	Blue     = lipgloss.NewStyle().Foreground(lipgloss.Color("12"))
	BoldBlue = Blue.Bold(true).Underline(true)
	BoldRed  = lipgloss.NewStyle().Foreground(lipgloss.Color("9")).Bold(true)
)

Functions

This section is empty.

Types

type Action added in v0.12.4

type Action int
const (
	None Action = iota
	Abort
	Commit
)

type Client added in v0.9.5

type Client struct {
}

func NewClient added in v0.9.7

func NewClient() *Client

func (*Client) Run added in v0.12.6

func (c *Client) Run(
	ctx context.Context,
	llmProvider llmprovider.Provider,
	gitClient interfaces.GitClient,
	systemPrompt string,
	userMessage string,
) error

type History added in v0.12.0

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

func NewHistory added in v0.12.0

func NewHistory(initialValue string) *History

func (*History) Add added in v0.12.0

func (h *History) Add(value string)

func (*History) Redo added in v0.12.0

func (h *History) Redo() (string, bool)

func (*History) Undo added in v0.12.0

func (h *History) Undo() (string, bool)

func (*History) Value added in v0.12.0

func (h *History) Value() string

type Model added in v0.12.6

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

func (*Model) Init added in v0.12.6

func (m *Model) Init() tea.Cmd

func (*Model) Update added in v0.12.6

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

func (*Model) View added in v0.12.6

func (m *Model) View() string

Jump to

Keyboard shortcuts

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