Documentation
¶
Index ¶
- func NavigationHelp() string
- func NavigationHelpWithInput() string
- type APIKeyStep
- type ConfirmStep
- func (s *ConfirmStep) Apply(cfg *config.Config) error
- func (s *ConfirmStep) Init(cfg *config.Config) tea.Cmd
- func (s *ConfirmStep) InitWithIntegrations(cfg *config.Config, selectedIntegrations []string) tea.Cmd
- func (s *ConfirmStep) IsConfirmed() bool
- func (s *ConfirmStep) Title() string
- func (s *ConfirmStep) Update(msg tea.Msg) (tea.Cmd, StepResult)
- func (s *ConfirmStep) Validate() error
- func (s *ConfirmStep) View() string
- type EmbeddingsModelInfo
- type EmbeddingsProviderInfo
- type EmbeddingsStep
- func (s *EmbeddingsStep) Apply(cfg *config.Config) error
- func (s *EmbeddingsStep) Init(cfg *config.Config) tea.Cmd
- func (s *EmbeddingsStep) Title() string
- func (s *EmbeddingsStep) Update(msg tea.Msg) (tea.Cmd, StepResult)
- func (s *EmbeddingsStep) Validate() error
- func (s *EmbeddingsStep) View() string
- type FalkorDBStep
- type HTTPPortStep
- type InstallChoice
- type IntegrationsStep
- func (s *IntegrationsStep) Apply(cfg *config.Config) error
- func (s *IntegrationsStep) Init(cfg *config.Config) tea.Cmd
- func (s *IntegrationsStep) SelectedIntegrations() []string
- func (s *IntegrationsStep) Title() string
- func (s *IntegrationsStep) Update(msg tea.Msg) (tea.Cmd, StepResult)
- func (s *IntegrationsStep) Validate() error
- func (s *IntegrationsStep) View() string
- type ModelInfo
- type ProviderInfo
- type SemanticProviderStep
- func (s *SemanticProviderStep) Apply(cfg *config.Config) error
- func (s *SemanticProviderStep) Init(cfg *config.Config) tea.Cmd
- func (s *SemanticProviderStep) Title() string
- func (s *SemanticProviderStep) Update(msg tea.Msg) (tea.Cmd, StepResult)
- func (s *SemanticProviderStep) Validate() error
- func (s *SemanticProviderStep) View() string
- type StartChoice
- type StartupStep
- func (s *StartupStep) Apply(cfg *config.Config) error
- func (s *StartupStep) GetInstallChoice() InstallChoice
- func (s *StartupStep) GetInstallPath() string
- func (s *StartupStep) GetStartChoice() StartChoice
- func (s *StartupStep) GetSystemInstructions() string
- func (s *StartupStep) Init(cfg *config.Config) tea.Cmd
- func (s *StartupStep) Title() string
- func (s *StartupStep) Update(msg tea.Msg) (tea.Cmd, StepResult)
- func (s *StartupStep) Validate() error
- func (s *StartupStep) View() string
- type Step
- type StepResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NavigationHelp ¶
func NavigationHelp() string
NavigationHelp returns standard navigation help text
func NavigationHelpWithInput ¶
func NavigationHelpWithInput() string
NavigationHelpWithInput returns navigation help for steps with text input
Types ¶
type APIKeyStep ¶
type APIKeyStep struct {
// contains filtered or unexported fields
}
APIKeyStep handles Claude API key configuration
func NewAPIKeyStep ¶
func NewAPIKeyStep() *APIKeyStep
NewAPIKeyStep creates a new API key configuration step
func (*APIKeyStep) Apply ¶
func (s *APIKeyStep) Apply(cfg *config.Config) error
Apply applies the step values to config
func (*APIKeyStep) Init ¶
func (s *APIKeyStep) Init(cfg *config.Config) tea.Cmd
Init initializes the step
func (*APIKeyStep) Update ¶
func (s *APIKeyStep) Update(msg tea.Msg) (tea.Cmd, StepResult)
Update handles input
type ConfirmStep ¶
type ConfirmStep struct {
// contains filtered or unexported fields
}
ConfirmStep shows a summary and asks for confirmation
func NewConfirmStep ¶
func NewConfirmStep() *ConfirmStep
NewConfirmStep creates a new confirmation step
func (*ConfirmStep) Apply ¶
func (s *ConfirmStep) Apply(cfg *config.Config) error
Apply applies the step values to config
func (*ConfirmStep) Init ¶
func (s *ConfirmStep) Init(cfg *config.Config) tea.Cmd
Init initializes the step
func (*ConfirmStep) InitWithIntegrations ¶ added in v0.14.0
func (s *ConfirmStep) InitWithIntegrations(cfg *config.Config, selectedIntegrations []string) tea.Cmd
InitWithIntegrations initializes with explicit integration list
func (*ConfirmStep) IsConfirmed ¶
func (s *ConfirmStep) IsConfirmed() bool
IsConfirmed returns true if user selected "Yes"
func (*ConfirmStep) Update ¶
func (s *ConfirmStep) Update(msg tea.Msg) (tea.Cmd, StepResult)
Update handles input
type EmbeddingsModelInfo ¶ added in v0.14.0
EmbeddingsModelInfo holds embeddings model configuration details
type EmbeddingsProviderInfo ¶ added in v0.14.0
type EmbeddingsProviderInfo struct {
Name string
DisplayName string
EnvVar string
KeyDetected bool
Models []EmbeddingsModelInfo
}
EmbeddingsProviderInfo holds embeddings provider configuration details
type EmbeddingsStep ¶
type EmbeddingsStep struct {
// contains filtered or unexported fields
}
EmbeddingsStep handles embeddings provider selection and configuration
func NewEmbeddingsStep ¶
func NewEmbeddingsStep() *EmbeddingsStep
NewEmbeddingsStep creates a new embeddings configuration step
func (*EmbeddingsStep) Apply ¶
func (s *EmbeddingsStep) Apply(cfg *config.Config) error
Apply applies the step values to config
func (*EmbeddingsStep) Init ¶
func (s *EmbeddingsStep) Init(cfg *config.Config) tea.Cmd
Init initializes the step
func (*EmbeddingsStep) Update ¶
func (s *EmbeddingsStep) Update(msg tea.Msg) (tea.Cmd, StepResult)
Update handles input
func (*EmbeddingsStep) Validate ¶
func (s *EmbeddingsStep) Validate() error
Validate validates the step
type FalkorDBStep ¶
type FalkorDBStep struct {
// contains filtered or unexported fields
}
FalkorDBStep handles FalkorDB configuration
func NewFalkorDBStep ¶
func NewFalkorDBStep() *FalkorDBStep
NewFalkorDBStep creates a new FalkorDB configuration step
func (*FalkorDBStep) Apply ¶
func (s *FalkorDBStep) Apply(cfg *config.Config) error
Apply applies the step values to config
func (*FalkorDBStep) Init ¶
func (s *FalkorDBStep) Init(cfg *config.Config) tea.Cmd
Init initializes the step
func (*FalkorDBStep) Update ¶
func (s *FalkorDBStep) Update(msg tea.Msg) (tea.Cmd, StepResult)
Update handles input
type HTTPPortStep ¶
type HTTPPortStep struct {
// contains filtered or unexported fields
}
HTTPPortStep handles HTTP API port configuration
func NewHTTPPortStep ¶
func NewHTTPPortStep() *HTTPPortStep
NewHTTPPortStep creates a new HTTP port configuration step
func (*HTTPPortStep) Apply ¶
func (s *HTTPPortStep) Apply(cfg *config.Config) error
Apply applies the step values to config
func (*HTTPPortStep) Init ¶
func (s *HTTPPortStep) Init(cfg *config.Config) tea.Cmd
Init initializes the step
func (*HTTPPortStep) Update ¶
func (s *HTTPPortStep) Update(msg tea.Msg) (tea.Cmd, StepResult)
Update handles input
type InstallChoice ¶
type InstallChoice int
InstallChoice represents the user's choice for service installation
const ( InstallUser InstallChoice = iota // Auto-install user-level InstallSystem // Show manual commands for system-level InstallSkip // Skip service setup )
type IntegrationsStep ¶
type IntegrationsStep struct {
// contains filtered or unexported fields
}
IntegrationsStep handles integration selection
func NewIntegrationsStep ¶
func NewIntegrationsStep() *IntegrationsStep
NewIntegrationsStep creates a new integrations selection step
func (*IntegrationsStep) Apply ¶
func (s *IntegrationsStep) Apply(cfg *config.Config) error
Apply applies the step values to config
func (*IntegrationsStep) Init ¶
func (s *IntegrationsStep) Init(cfg *config.Config) tea.Cmd
Init initializes the step
func (*IntegrationsStep) SelectedIntegrations ¶
func (s *IntegrationsStep) SelectedIntegrations() []string
SelectedIntegrations returns the list of selected integration names
func (*IntegrationsStep) Title ¶
func (s *IntegrationsStep) Title() string
Title returns the step title
func (*IntegrationsStep) Update ¶
func (s *IntegrationsStep) Update(msg tea.Msg) (tea.Cmd, StepResult)
Update handles input
func (*IntegrationsStep) Validate ¶
func (s *IntegrationsStep) Validate() error
Validate validates the step
type ModelInfo ¶ added in v0.14.0
type ModelInfo struct {
ID string
DisplayName string
Description string
InputCost string
OutputCost string
}
ModelInfo holds model configuration details
type ProviderInfo ¶ added in v0.14.0
type ProviderInfo struct {
Name string
DisplayName string
EnvVar string
KeyDetected bool
Models []ModelInfo
DefaultRate int
}
ProviderInfo holds provider configuration details
type SemanticProviderStep ¶ added in v0.14.0
type SemanticProviderStep struct {
// contains filtered or unexported fields
}
SemanticProviderStep handles semantic provider selection and configuration
func NewSemanticProviderStep ¶ added in v0.14.0
func NewSemanticProviderStep() *SemanticProviderStep
NewSemanticProviderStep creates a new semantic provider configuration step
func (*SemanticProviderStep) Apply ¶ added in v0.14.0
func (s *SemanticProviderStep) Apply(cfg *config.Config) error
Apply applies the step values to config
func (*SemanticProviderStep) Init ¶ added in v0.14.0
func (s *SemanticProviderStep) Init(cfg *config.Config) tea.Cmd
Init initializes the step
func (*SemanticProviderStep) Title ¶ added in v0.14.0
func (s *SemanticProviderStep) Title() string
Title returns the step title
func (*SemanticProviderStep) Update ¶ added in v0.14.0
func (s *SemanticProviderStep) Update(msg tea.Msg) (tea.Cmd, StepResult)
Update handles input
func (*SemanticProviderStep) Validate ¶ added in v0.14.0
func (s *SemanticProviderStep) Validate() error
Validate validates the step
func (*SemanticProviderStep) View ¶ added in v0.14.0
func (s *SemanticProviderStep) View() string
View renders the step
type StartChoice ¶
type StartChoice int
StartChoice represents whether to start the daemon now or later
const ( StartNow StartChoice = iota // Start daemon immediately StartLater // Show start instructions for later )
type StartupStep ¶
type StartupStep struct {
// contains filtered or unexported fields
}
StartupStep handles service manager configuration
func NewStartupStep ¶
func NewStartupStep() *StartupStep
NewStartupStep creates a new startup configuration step
func (*StartupStep) Apply ¶
func (s *StartupStep) Apply(cfg *config.Config) error
Apply applies the step values to config
func (*StartupStep) GetInstallChoice ¶
func (s *StartupStep) GetInstallChoice() InstallChoice
GetInstallChoice returns the user's installation choice
func (*StartupStep) GetInstallPath ¶
func (s *StartupStep) GetInstallPath() string
GetInstallPath returns the path where the service was installed
func (*StartupStep) GetStartChoice ¶
func (s *StartupStep) GetStartChoice() StartChoice
GetStartChoice returns the user's daemon start choice
func (*StartupStep) GetSystemInstructions ¶
func (s *StartupStep) GetSystemInstructions() string
GetSystemInstructions returns the system-level installation instructions
func (*StartupStep) Init ¶
func (s *StartupStep) Init(cfg *config.Config) tea.Cmd
Init initializes the step
func (*StartupStep) Update ¶
func (s *StartupStep) Update(msg tea.Msg) (tea.Cmd, StepResult)
Update handles input
type Step ¶
type Step interface {
// Init initializes the step with the current config state
// Called when the step becomes active
Init(cfg *config.Config) tea.Cmd
// Update handles messages for this step
// Returns a command and a boolean indicating if the step is complete
Update(msg tea.Msg) (tea.Cmd, StepResult)
// View renders the step content (not including progress bar)
View() string
// Title returns the step title for the progress indicator
Title() string
// Validate checks if current values are valid
// Returns nil if valid, error message otherwise
Validate() error
// Apply writes the step's values to the config
// Called after successful validation when moving to next step
Apply(cfg *config.Config) error
}
Step represents a single wizard step
type StepResult ¶
type StepResult int
StepResult indicates what should happen after Update
const ( // StepContinue means stay on current step StepContinue StepResult = iota // StepNext means move to next step StepNext // StepPrev means move to previous step StepPrev )