container

package
v0.84.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: MIT Imports: 18 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

This section is empty.

Types

type ServiceContainer

type ServiceContainer struct {
	// contains filtered or unexported fields
}

ServiceContainer manages all application dependencies

func NewServiceContainer

func NewServiceContainer(cfg *config.Config, v ...*viper.Viper) *ServiceContainer

NewServiceContainer creates a new service container with all dependencies

func (*ServiceContainer) BackgroundShellService added in v0.81.0

func (c *ServiceContainer) BackgroundShellService() *services.BackgroundShellService

BackgroundShellService returns the background shell service

func (*ServiceContainer) GetA2AAgentService added in v0.49.0

func (c *ServiceContainer) GetA2AAgentService() domain.A2AAgentService

GetA2AAgentService returns the A2A agent service

func (*ServiceContainer) GetAgentManager added in v0.67.0

func (c *ServiceContainer) GetAgentManager() domain.AgentManager

func (*ServiceContainer) GetAgentService added in v0.36.0

func (c *ServiceContainer) GetAgentService() domain.AgentService

func (*ServiceContainer) GetBackgroundJobManager added in v0.46.0

func (c *ServiceContainer) GetBackgroundJobManager() *services.BackgroundJobManager

GetBackgroundJobManager returns the background job manager

func (*ServiceContainer) GetBackgroundTaskService added in v0.53.3

func (c *ServiceContainer) GetBackgroundTaskService() domain.BackgroundTaskService

GetBackgroundTaskService returns the background task service (may be nil if A2A is not enabled)

func (*ServiceContainer) GetBackupManager added in v0.38.0

func (c *ServiceContainer) GetBackupManager() filewriterdomain.BackupManager

func (*ServiceContainer) GetChatService

func (c *ServiceContainer) GetChatService() domain.ChatService

func (*ServiceContainer) GetChunkManager added in v0.38.0

func (c *ServiceContainer) GetChunkManager() filewriterdomain.ChunkManager

func (*ServiceContainer) GetConfig

func (c *ServiceContainer) GetConfig() *config.Config

func (*ServiceContainer) GetConfigService added in v0.41.0

func (c *ServiceContainer) GetConfigService() *services.ConfigService

GetConfigService returns the config service

func (*ServiceContainer) GetConversationOptimizer added in v0.68.1

func (c *ServiceContainer) GetConversationOptimizer() domain.ConversationOptimizerService

func (*ServiceContainer) GetConversationRepository

func (c *ServiceContainer) GetConversationRepository() domain.ConversationRepository

func (*ServiceContainer) GetFileService

func (c *ServiceContainer) GetFileService() domain.FileService

func (*ServiceContainer) GetFileWriter added in v0.38.0

func (c *ServiceContainer) GetFileWriter() filewriterdomain.FileWriter

func (*ServiceContainer) GetGatewayManager added in v0.56.0

func (c *ServiceContainer) GetGatewayManager() domain.GatewayManager

GetGatewayManager returns the gateway manager

func (*ServiceContainer) GetImageService added in v0.57.0

func (c *ServiceContainer) GetImageService() domain.ImageService

func (*ServiceContainer) GetMCPManager added in v0.79.0

func (c *ServiceContainer) GetMCPManager() domain.MCPManager

GetMCPManager returns the MCP manager (may be nil if MCP is not enabled)

func (*ServiceContainer) GetMessageQueue added in v0.53.0

func (c *ServiceContainer) GetMessageQueue() domain.MessageQueue

func (*ServiceContainer) GetModelService

func (c *ServiceContainer) GetModelService() domain.ModelService

func (*ServiceContainer) GetParameterExtractor added in v0.38.0

func (c *ServiceContainer) GetParameterExtractor() *tools.ParameterExtractor

func (*ServiceContainer) GetPathValidator added in v0.38.0

func (c *ServiceContainer) GetPathValidator() filewriterdomain.PathValidator

File writer service getters

func (*ServiceContainer) GetShortcutRegistry added in v0.42.0

func (c *ServiceContainer) GetShortcutRegistry() *shortcuts.Registry

func (*ServiceContainer) GetStateManager added in v0.27.0

func (c *ServiceContainer) GetStateManager() domain.StateManager

New service getters

func (*ServiceContainer) GetStorage added in v0.46.0

GetStorage returns the conversation storage

func (*ServiceContainer) GetTaskRetentionService added in v0.53.3

func (c *ServiceContainer) GetTaskRetentionService() domain.TaskRetentionService

GetTaskRetentionService returns the task retention service (may be nil if A2A is not enabled)

func (*ServiceContainer) GetTaskTrackerService added in v0.53.3

func (c *ServiceContainer) GetTaskTrackerService() domain.TaskTracker

GetTaskTrackerService returns the task tracker service

func (*ServiceContainer) GetTheme

func (c *ServiceContainer) GetTheme() domain.Theme

func (*ServiceContainer) GetThemeService added in v0.47.0

func (c *ServiceContainer) GetThemeService() domain.ThemeService

func (*ServiceContainer) GetTitleGenerator added in v0.46.0

func (c *ServiceContainer) GetTitleGenerator() *services.ConversationTitleGenerator

GetTitleGenerator returns the conversation title generator

func (*ServiceContainer) GetToolRegistry added in v0.14.1

func (c *ServiceContainer) GetToolRegistry() *tools.Registry

func (*ServiceContainer) GetToolService

func (c *ServiceContainer) GetToolService() domain.ToolService

func (*ServiceContainer) GetViper added in v0.41.0

func (c *ServiceContainer) GetViper() *viper.Viper

GetViper returns the Viper instance

func (*ServiceContainer) RegisterShortcut added in v0.42.0

func (c *ServiceContainer) RegisterShortcut(shortcut shortcuts.Shortcut)

RegisterCommand allows external registration of commands

func (*ServiceContainer) ShellTracker added in v0.81.0

func (c *ServiceContainer) ShellTracker() domain.ShellTracker

ShellTracker returns the shell tracker

func (*ServiceContainer) Shutdown added in v0.54.0

func (c *ServiceContainer) Shutdown(ctx context.Context) error

Shutdown gracefully shuts down the service container and its resources

Jump to

Keyboard shortcuts

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