memory

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func NewStore

func NewStore(dir string) (*Store, error)

func (*Store) AgentContent

func (s *Store) AgentContent(name string) string

func (*Store) AgentDir

func (s *Store) AgentDir(name string) string

func (*Store) AgentExists

func (s *Store) AgentExists(name string) bool

func (*Store) Content

func (s *Store) Content(name string) string

func (*Store) Dir

func (s *Store) Dir() string

func (*Store) EnsureAgent

func (s *Store) EnsureAgent(name string) error

func (*Store) GlobalContent

func (s *Store) GlobalContent() string

func (*Store) GlobalDir

func (s *Store) GlobalDir() string

func (*Store) ListAgents

func (s *Store) ListAgents() ([]string, error)

func (*Store) RemoveAgent

func (s *Store) RemoveAgent(name string) error

func (*Store) SoulContent

func (s *Store) SoulContent(name string) string

func (*Store) TasksDir

func (s *Store) TasksDir(name string) string

func (*Store) WorkspaceDir

func (s *Store) WorkspaceDir(name string) string

func (*Store) WriteAgent

func (s *Store) WriteAgent(name string, content string) error

func (*Store) WriteGlobal

func (s *Store) WriteGlobal(content string) error

Jump to

Keyboard shortcuts

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