data/memdir/memory_scan library
Classes
- MemoryHeader
- Header information for a discovered memory file.
Constants
- maxFrontmatterLines → const int
- Maximum frontmatter lines to read per file.
- maxMemoryFiles → const int
- Maximum number of memory files to scan.
Functions
-
formatMemoryManifest(
List< MemoryHeader> headers) → String - Format memory headers as a human-readable manifest.
-
scanMemoryFiles(
String memoryDir) → Future< List< MemoryHeader> > - Scan a memory directory for .md files (excluding MEMORY.md entrypoint). Returns headers sorted newest-first, capped at maxMemoryFiles.