factory

package
v0.92.6 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: MIT Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 added in v0.76.5

func CreateAutocomplete(shortcutRegistry *shortcuts.Registry, toolService domain.ToolService, modelService domain.ModelService, pricingService domain.PricingService) 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 CreateInputViewWithConfigDir added in v0.76.5

func CreateInputViewWithConfigDir(modelService domain.ModelService, configDir string) ui.InputComponent

CreateInputViewWithConfigDir creates a new input view component with 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