ollie/session
Levi Neely 3cfbd14203 fix: unify session persistence to preserve name on restart
- flushSave and SaveSession now use PersistSession instead of
  agent.SaveFull, ensuring the multi-agent format with Name field
  is consistently written
- Rename now calls PersistSession immediately so renamed sessions
  survive server restart

The previous approach had two save formats (legacy single-agent via
agent.SaveFull, and new multi-agent via PersistSession) writing to
the same file. Since flushSave ran on every turn, it would overwrite
the Name field with the legacy format that didn't preserve it.
2026-08-04 14:11:14 +02:00
..
event.go refactor: split fs/ and session/ packages 2026-08-04 13:52:28 +02:00
format.go refactor: split fs/ and session/ packages 2026-08-04 13:52:28 +02:00
persist.go refactor: move persistence to session/, support multi-agent sessions 2026-08-04 14:02:15 +02:00
registry.go fix: unify session persistence to preserve name on restart 2026-08-04 14:11:14 +02:00
session.go fix: unify session persistence to preserve name on restart 2026-08-04 14:11:14 +02:00
setup.go refactor: split fs/ and session/ packages 2026-08-04 13:52:28 +02:00