Versions in this module Expand all Collapse all v0 v0.1.1 Dec 21, 2025 Changes in this version + const AppKey + const DefaultDiffTokenLimit + func GetEnvWithPrefix(env EnvKey) string + type DefaultServiceProvider struct + func (p *DefaultServiceProvider) Format() TextFormatService + func (p *DefaultServiceProvider) Git() GitService + func (p *DefaultServiceProvider) LLM() LLMService + func (p *DefaultServiceProvider) TUI() TUIService + type EnvKey = string + const EnvDiffTokenLimit + const EnvModel + const EnvPrompt + const EnvProvider + type ServiceProvider interface + Format func() TextFormatService + Git func() GitService + LLM func() LLMService + TUI func() TUIService + func NewDefaultServiceProvider() ServiceProvider v0.1.0 Jul 20, 2025 Changes in this version + type App interface + Format func() TextFormatService + Git func() GitService + LLM func() LLMService + TUI func() TUIService + func NewDefaultApp() App + type DefaultApp struct + func (a *DefaultApp) Format() TextFormatService + func (a *DefaultApp) Git() GitService + func (a *DefaultApp) LLM() LLMService + func (a *DefaultApp) TUI() TUIService + type DefaultGitService struct + func (g *DefaultGitService) DiffCommit(ref string, diffOptions git.DiffOptions) (git.DiffResult, error) + func (g *DefaultGitService) DiffRefs(refFrom string, refTo string, diffOptions git.DiffOptions) (git.DiffResult, error) + func (g *DefaultGitService) DiffStaged(diffOptions git.DiffOptions) (git.DiffResult, error) + type DefaultLLMService struct + func (l *DefaultLLMService) NewClient(provider llm.LLMProvider, opts llm.LLMClientOptions) (llm.LLMClient, error) + type DefaultTUIService struct + func (c *DefaultTUIService) InitialModel(opts ui.InitialModelOptions) ui.ChatTUIModel + func (c *DefaultTUIService) Run(model ui.ChatTUIModel) (returnModel tea.Model, returnErr error) + type DefaultTextFormatService struct + func (l *DefaultTextFormatService) FormatMarkdown(text string) (string, error) + type GitService interface + DiffCommit func(ref string, diffOptions git.DiffOptions) (git.DiffResult, error) + DiffRefs func(refFrom string, refTo string, diffOptions git.DiffOptions) (git.DiffResult, error) + DiffStaged func(diffOptions git.DiffOptions) (git.DiffResult, error) + type LLMService interface + NewClient func(provider llm.LLMProvider, opts llm.LLMClientOptions) (llm.LLMClient, error) + type TUIService interface + InitialModel func(opts ui.InitialModelOptions) ui.ChatTUIModel + Run func(model ui.ChatTUIModel) (returnModel tea.Model, returnErr error) + type TextFormatService interface + FormatMarkdown func(text string) (string, error)