Versions in this module Expand all Collapse all v1 v1.0.2 Jun 1, 2026 v1.0.1 May 29, 2026 Changes in this version + var ErrEditNoMatch = errors.New("memory edit: old_string not found in file") + var ErrFileNotFound = errors.New("memory file not found") + var ErrSizeExceeded = errors.New("memory write would exceed max size") + func IndexCard(refs []workflow.MemoryRef, mgr *Manager) (string, error) + func Tools(refs []workflow.MemoryRef, mgr *Manager) ([]llmproxy.Tool, error) + func ValidateRefs(refs []workflow.MemoryRef, mgr *Manager) error + type Card struct + Description string + Name string + SizeBytes int + UID string + type Manager struct + func NewManager(dir string, store engine.MemoryStore) *Manager + func (m *Manager) Append(ctx context.Context, uid, content string) error + func (m *Manager) Card(uid string) (Card, error) + func (m *Manager) Edit(ctx context.Context, uid, oldStr, newStr string) error + func (m *Manager) Read(uid string) (string, error) + func (m *Manager) Restore(ctx context.Context) error + func (m *Manager) UIDs() []string