factory

package
v0.183.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateConversationHeight

func CalculateConversationHeight(totalHeight int) int

Layout calculations - simplified without interfaces

func CalculateInputHeight

func CalculateInputHeight(totalHeight int) int

func CalculateStatusHeight

func CalculateStatusHeight(totalHeight int) int

func CreateAutocomplete

func CreateAutocomplete(shortcutRegistry *shortcuts.Registry, toolService agentdomain.ToolService, modelService convdomain.ModelService, pricingService convdomain.PricingService, skillsService agentdomain.SkillsService, githubIssueService agentdomain.GitHubIssueService) tui.AutocompleteComponent

CreateAutocomplete creates a new autocomplete component

func CreateConversationView

func CreateConversationView(themeService tui.ThemeService) tui.ConversationRenderer

CreateConversationView creates a new conversation view component

func CreateHelpBar

func CreateHelpBar(themeService tui.ThemeService) tui.HelpBarComponent

CreateHelpBar creates a new help bar component

func CreateInputStatusBar

func CreateInputStatusBar(themeService tui.ThemeService) tui.InputStatusBarComponent

CreateInputStatusBar creates a new input status bar component

func CreateInputView

func CreateInputView(modelService convdomain.ModelService) tui.InputComponent

CreateInputView creates a new input view component

func CreateInputViewWithName

func CreateInputViewWithName(modelService convdomain.ModelService, configDir, name string, store storage.ShellHistoryStorage) tui.InputComponent

CreateInputViewWithName creates a new input view component with config directory and name. When store is non-nil and name is empty (the main agent), input history goes through the storage backend. Named subagent histories are file-based at <configDir>/history/history-<name>.

func CreateStatusView

func CreateStatusView(themeService tui.ThemeService) tui.StatusComponent

CreateStatusView creates a new status view component

func GetMargins

func GetMargins() (top, right, bottom, left int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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