model

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AISelectionModel

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

func NewAISelectionModel

func NewAISelectionModel(detectedTools []entity.AITool) AISelectionModel

func (AISelectionModel) Init

func (m AISelectionModel) Init() tea.Cmd

func (AISelectionModel) SelectedTool

func (m AISelectionModel) SelectedTool() entity.AITool

func (AISelectionModel) Update

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

func (AISelectionModel) View

func (m AISelectionModel) View() string

func (AISelectionModel) WasCancelled

func (m AISelectionModel) WasCancelled() bool

type AddModel

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

func NewAddModel

func NewAddModel(useCase *add.AddContextUseCase, filePaths []string, aiTool entity.AITool) AddModel

func (AddModel) Init

func (m AddModel) Init() tea.Cmd

func (AddModel) Update

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

func (AddModel) View

func (m AddModel) View() string

type BranchModel

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

func NewBranchModel

func NewBranchModel(listUC *branchUC.ListBranchesUseCase) BranchModel

func (BranchModel) Init

func (m BranchModel) Init() tea.Cmd

func (BranchModel) Update

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

func (BranchModel) View

func (m BranchModel) View() string

type CheckoutModel

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

func NewCheckoutModel

func NewCheckoutModel(useCase *checkout.CheckoutCommitUseCase, commitHash string) CheckoutModel

func (CheckoutModel) Init

func (m CheckoutModel) Init() tea.Cmd

func (CheckoutModel) Update

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

func (CheckoutModel) View

func (m CheckoutModel) View() string

type CommitModel

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

func NewCommitModel

func NewCommitModel(useCase *commit.CommitContextUseCase, message string) CommitModel

func (CommitModel) Init

func (m CommitModel) Init() tea.Cmd

func (CommitModel) Update

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

func (CommitModel) View

func (m CommitModel) View() string

type DetectModel

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

func NewDetectModel

func NewDetectModel(useCase *detect.DetectAIToolUseCase) DetectModel

func (DetectModel) Init

func (m DetectModel) Init() tea.Cmd

func (DetectModel) Update

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

func (DetectModel) View

func (m DetectModel) View() string

type DiffModel

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

func NewDiffModel

func NewDiffModel(useCase *diff.DiffCommitsUseCase, oldHash, newHash string) DiffModel

func (DiffModel) Init

func (m DiffModel) Init() tea.Cmd

func (DiffModel) Update

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

func (DiffModel) View

func (m DiffModel) View() string

type InitializeModel

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

func NewInitializeModel

func NewInitializeModel(useCase *initialize.InitializeUseCase, aiTool entity.AITool) InitializeModel

func (InitializeModel) Init

func (m InitializeModel) Init() tea.Cmd

func (InitializeModel) Update

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

func (InitializeModel) View

func (m InitializeModel) View() string

type LogModel

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

func NewLogModel

func NewLogModel(useCase *log.ViewCommitLogUseCase) LogModel

func (LogModel) Init

func (m LogModel) Init() tea.Cmd

func (LogModel) Update

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

func (LogModel) View

func (m LogModel) View() string

type RemoteModel

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

func NewPullModel

func NewPullModel(pullUC *pull.PullFromRemoteUseCase, remoteURL string) RemoteModel

func NewPushModel

func NewPushModel(pushUC *push.PushToRemoteUseCase, remoteURL string) RemoteModel

func (RemoteModel) Init

func (m RemoteModel) Init() tea.Cmd

func (RemoteModel) Update

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

func (RemoteModel) View

func (m RemoteModel) View() string

Jump to

Keyboard shortcuts

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