app

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func NewApp

func NewApp(provider llmprovider.Provider, git GitClient, ui UIClient, prompt string) *App

func (*App) Run

func (app *App) Run(ctx context.Context, userMessage string) error

type GitClient added in v0.9.5

type GitClient interface {
	Diff() (string, error)
	Commit(message string) error
}

type UIClient added in v0.9.5

type UIClient interface {
	TextArea(value string) (string, bool, error)
	StartSpinner(message string)
	UpdateSpinner(message string)
	StopSpinner()
}

Jump to

Keyboard shortcuts

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