memory

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package memory provides memory management functionality (stub implementation). NOTE: This is a stub package. The full implementation was removed as dead code. These stub functions maintain API compatibility.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Analyze added in v0.28.0

func Analyze() (string, error)

Analyze analyzes memory usage (stub).

func Optimize added in v0.28.0

func Optimize() error

Optimize optimizes memory usage (stub).

Types

type MemoryItem

type MemoryItem struct {
	Content   string
	Category  string
	Tags      []string
	CreatedAt time.Time
}

MemoryItem represents an item in the memory store (stub).

type MemoryStore

type MemoryStore struct {
	Path      string
	Data      map[string]interface{}
	Tasks     []string
	Findings  []string
	Decisions []string
	Items     []MemoryItem
}

MemoryStore provides memory storage (stub).

func NewMemoryStore

func NewMemoryStore(path string) *MemoryStore

NewMemoryStore creates a new memory store (stub).

func (*MemoryStore) AddDecision

func (m *MemoryStore) AddDecision(decision string, tags ...string) string

AddDecision adds a decision to the memory store (stub).

func (*MemoryStore) AddFact

func (m *MemoryStore) AddFact(fact string, tags ...string) string

AddFact adds a fact to the memory store (stub).

func (*MemoryStore) AddFinding

func (m *MemoryStore) AddFinding(finding string, tags ...string) string

AddFinding adds a finding to the memory store (stub).

func (*MemoryStore) AddTask

func (m *MemoryStore) AddTask(task string, tags ...string) string

AddTask adds a task to the memory store (stub).

func (*MemoryStore) Clear

func (m *MemoryStore) Clear()

Clear clears the memory store (stub).

func (*MemoryStore) Query

func (m *MemoryStore) Query(query string, tags ...string) []MemoryItem

Query queries the memory store (stub).

func (*MemoryStore) Stats

func (m *MemoryStore) Stats() map[string]interface{}

Stats returns memory statistics (stub).

Jump to

Keyboard shortcuts

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