Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatForPrompt ¶
FormatForPrompt formats all memories as context for the system prompt
func LoadMemoryIndex ¶
LoadMemoryIndex reads the MEMORY.md index file
Types ¶
type MemoryEntry ¶
type MemoryEntry struct {
Name string
Description string
Type string // user, feedback, project, reference
Content string
File string
}
MemoryEntry represents a parsed memory file
func LoadAllMemories ¶
func LoadAllMemories(memDir string) []MemoryEntry
LoadAllMemories reads all memory files from the directory
func ParseMemory ¶
func ParseMemory(content string) MemoryEntry
ParseMemory parses a memory file with frontmatter