Documentation
¶
Index ¶
- func CalculateConversationHeight(totalHeight int) int
- func CalculateInputHeight(totalHeight int) int
- func CalculateStatusHeight(totalHeight int) int
- func CreateAutocomplete(shortcutRegistry *shortcuts.Registry, toolService domain.ToolService, ...) ui.AutocompleteComponent
- func CreateConversationView(themeService domain.ThemeService) ui.ConversationRenderer
- func CreateHelpBar(themeService domain.ThemeService) ui.HelpBarComponent
- func CreateInputStatusBar(themeService domain.ThemeService) ui.InputStatusBarComponent
- func CreateInputView(modelService domain.ModelService) ui.InputComponent
- func CreateInputViewWithName(modelService domain.ModelService, configDir, name string) ui.InputComponent
- func CreateStatusView(themeService domain.ThemeService) ui.StatusComponent
- func GetMargins() (top, right, bottom, left int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateConversationHeight ¶
Layout calculations - simplified without interfaces
func CalculateInputHeight ¶
func CalculateStatusHeight ¶
func CreateAutocomplete ¶ added in v0.76.5
func CreateAutocomplete(shortcutRegistry *shortcuts.Registry, toolService domain.ToolService, modelService domain.ModelService, pricingService domain.PricingService, skillsService domain.SkillsService, githubIssueService domain.GitHubIssueService) ui.AutocompleteComponent
CreateAutocomplete creates a new autocomplete component
func CreateConversationView ¶
func CreateConversationView(themeService domain.ThemeService) ui.ConversationRenderer
CreateConversationView creates a new conversation view component
func CreateHelpBar ¶
func CreateHelpBar(themeService domain.ThemeService) ui.HelpBarComponent
CreateHelpBar creates a new help bar component
func CreateInputStatusBar ¶ added in v0.76.2
func CreateInputStatusBar(themeService domain.ThemeService) ui.InputStatusBarComponent
CreateInputStatusBar creates a new input status bar component
func CreateInputView ¶
func CreateInputView(modelService domain.ModelService) ui.InputComponent
CreateInputView creates a new input view component
func CreateInputViewWithName ¶ added in v0.127.0
func CreateInputViewWithName(modelService domain.ModelService, configDir, name string) ui.InputComponent
CreateInputViewWithName creates a new input view component with config directory and name. When name is empty, the history file is stored at <configDir>/history/history (the main agent). When name is non-empty, the history file is stored at <configDir>/history/history-<name> (e.g. for subagents).
func CreateStatusView ¶
func CreateStatusView(themeService domain.ThemeService) ui.StatusComponent
CreateStatusView creates a new status view component
func GetMargins ¶
func GetMargins() (top, right, bottom, left int)
Types ¶
This section is empty.