container

package
v0.36.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2025 License: MIT Imports: 10 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) *ServiceContainer

NewServiceContainer creates a new service container with all dependencies

func (*ServiceContainer) GetAgentService added in v0.36.0

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

func (*ServiceContainer) GetChatService

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

func (*ServiceContainer) GetCommandRegistry

func (c *ServiceContainer) GetCommandRegistry() *commands.Registry

func (*ServiceContainer) GetConfig

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

func (*ServiceContainer) GetConversationRepository

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

func (*ServiceContainer) GetFileService

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

func (*ServiceContainer) GetModelService

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

func (*ServiceContainer) GetStateManager added in v0.27.0

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

New service getters

func (*ServiceContainer) GetTheme

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

func (*ServiceContainer) GetToolExecutionOrchestrator added in v0.27.0

func (c *ServiceContainer) GetToolExecutionOrchestrator() *services.ToolExecutionOrchestrator

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) RegisterCommand

func (c *ServiceContainer) RegisterCommand(cmd commands.Command)

RegisterCommand allows external registration of commands

Jump to

Keyboard shortcuts

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