Files
gemini-cli/packages
Your Name 5e34ea4be3 fix(context): properly re-identify snapshot nodes when loaded from disk
When PR cdd482c2e reverted structural snapshot rehydration, it left
toGraph mapping all non-tool parts as NodeType.USER_PROMPT. This caused
findLatestSnapshotBaseline to fail on resumed sessions, starting the Master
State from an empty baseline and leading to catastrophic data loss.
This fix detects the snapshot signature during graph construction to
properly assign NodeType.SNAPSHOT.
2026-05-14 23:10:19 +00:00
..