The bundled session-memory hook only listens to command:new and command:reset events. It should also support session:end to auto-save conversation context when sessions timeout or end naturally.
Currently:
- Hook only saves on /new or /reset commands (when starting NEW session)
- Sessions that end via timeout are not saved
- Memory doesn't persist between conversations
Expected:
- Hook should save session context when session ends (session:end event)
- This would fix memory persistence for all agents automatically
Reference: Hook events listed in docs include session:start and session:end
The bundled session-memory hook only listens to command:new and command:reset events. It should also support session:end to auto-save conversation context when sessions timeout or end naturally.
Currently:
Expected:
Reference: Hook events listed in docs include session:start and session:end