services

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Checkpoint   checkpoint.Service
	Remediation  remediation.Service
	Memory       *reasoningbank.Service
	Repository   *repository.Service
	Troubleshoot *troubleshoot.Service
	Hooks        *hooks.HookManager
	Distiller    *reasoningbank.Distiller
	Scrubber     secrets.Scrubber
	Compression  *compression.Service
	VectorStore  vectorstore.Store
}

Options configures the registry with service instances.

type Registry

type Registry interface {
	Checkpoint() checkpoint.Service
	Remediation() remediation.Service
	Memory() *reasoningbank.Service
	Repository() *repository.Service
	Troubleshoot() *troubleshoot.Service
	Hooks() *hooks.HookManager
	Distiller() *reasoningbank.Distiller
	Scrubber() secrets.Scrubber
	Compression() *compression.Service
	VectorStore() vectorstore.Store
}

Registry provides access to all contextd services. Use accessor methods to retrieve individual services.

func NewRegistry

func NewRegistry(opts Options) Registry

NewRegistry creates a new service registry.

Jump to

Keyboard shortcuts

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