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}.mdThe 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§
- External
Memory - 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.