mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
Session reconstruction only needs: - type: 'session' - session metadata - type: 'message' - conversation history - type: 'thinking_level_change' - thinking level changes - type: 'model_change' - model changes Events like agent_start/end, tool_execution_start/end are not needed for session reconstruction and only added bloat. This reduces session file size significantly and speeds up writes.