factory

package
v0.76.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2025 License: MIT Imports: 6 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 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 CreateInputView

func CreateInputView(modelService domain.ModelService, shortcutRegistry *shortcuts.Registry) ui.InputComponent

CreateInputView creates a new input view component

func CreateInputViewWithToolService

func CreateInputViewWithToolService(modelService domain.ModelService, shortcutRegistry *shortcuts.Registry, toolService domain.ToolService) ui.InputComponent

CreateInputViewWithToolService creates a new input view component with tool service

func CreateInputViewWithToolServiceAndConfigDir

func CreateInputViewWithToolServiceAndConfigDir(modelService domain.ModelService, shortcutRegistry *shortcuts.Registry, toolService domain.ToolService, configDir string) ui.InputComponent

CreateInputViewWithToolServiceAndConfigDir creates a new input view component with tool service and config directory

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.

Jump to

Keyboard shortcuts

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