Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-25 08:29:12

0001 """
0002 AI Memory - Cross-session dialogue persistence for Claude Code.
0003 
0004 This module provides hooks integration for recording and loading
0005 AI dialogue history, enabling context continuity across sessions.
0006 
0007 Opt-in: Set SWF_DIALOGUE_TURNS environment variable to enable.
0008 - SWF_DIALOGUE_TURNS=20 (load last 20 conversation turns at session start)
0009 - SWF_DIALOGUE_TURNS=0 or unset (disabled)
0010 
0011 Components:
0012 - record.py: Called by Claude Code hooks to record exchanges
0013 - load.py: Called at session start to load recent dialogue
0014 """