Versions in this module Expand all Collapse all v0 v0.1.0 Apr 3, 2026 Changes in this version + const MaxIndexBytes + const MaxIndexLines + const MaxMemoryFiles + func FormatMemoriesForPrompt(memories []MemoryEntry, indexContent string) string + func GetMemoryDir(homeDir, projectDir string) string + func LoadIndex(dir string) string + func UpdateIndex(dir string) error + func WriteMemory(dir, filename string, entry MemoryEntry) error + type MemoryEntry struct + Body string + FilePath string + ModTime time.Time + func ScanMemoryDir(dir string) ([]MemoryEntry, error) + type MemoryHeader struct + Description string + Name string + Type MemoryType + func ParseFrontmatter(content string) (MemoryHeader, string) + type MemoryType string + const TypeFeedback + const TypeProject + const TypeReference + const TypeUser