storage

package
v0.107.31 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package storage assembles persistent stores independently of the agent runtime.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Local

type Local struct {
	Root       string
	ConfigPath string
	Config     *config.Config
	Sessions   *session.Store
	Memory     *memory.Store
	Prompts    *resources.PromptStore
}

Local owns data handles, but never starts tools, schedulers, or model clients.

func OpenLocal

func OpenLocal(opts Options) (_ *Local, err error)

func (*Local) Close

func (s *Local) Close() error

func (*Local) SaveConfig

func (s *Local) SaveConfig(cfg *config.Config) error

type Options

type Options struct {
	Root             string
	ConfigPath       string
	SessionDir       string
	LegacyDesktopDir string
}

Jump to

Keyboard shortcuts

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