Skip to main content

Module memory

Module memory 

Source
Expand description

External memory and note-taking compatibility layer for session-scoped context.

Provides a backward-compatible API for storing and retrieving session-related notes that persist across conversations.

§Storage Layout (v2 — multi-topic session notes)

${BAMBOO_DATA_DIR}/memory/v1/sessions/{session_id}/note/{topic}.md

The default topic is "default". Legacy single-file notes ({session_id}.md) are auto-migrated on first access.

Dream notebook data is not part of this session-note API’s canonical scope. Dream is handled separately as a derived view (views/DREAM_NOTEBOOK.md) by MemoryStore and auto_dream.

Structs§

ExternalMemory
External memory manager for storing and retrieving session notes.

Constants§

DEFAULT_TOPIC
Default topic name when none is specified.

Functions§

format_summary_as_note
Format a conversation summary as a note for external memory.