On shutdown (SIGTERM/SIGINT), all active sessions are persisted to ~/.local/share/ollie/active-sessions/ as JSON files containing the full message context, backend, model, agent, and cwd metadata. On startup, persisted sessions are automatically restored with their complete context window, then the persist files are cleaned up. Copilot sessions are excluded from persistence (ephemeral). |
||
|---|---|---|
| .gitignore | ||
| Makefile | ||
| complete_test.go | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| org.ollie.SessionManager.desktop | ||