Commit Graph

8 Commits

Author SHA1 Message Date
Levi Neely bb2ced28d8 session persistence: save/restore active sessions across restarts
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).
2026-07-14 20:42:08 +02:00
Levi Neely 76c4ddcdd9 feat: add Complete D-Bus method for code completion
Adds a Complete method that manages a dedicated copilot session,
sends a FIM prompt with prefix/suffix context, waits for the
result, and returns cleaned completion text. Includes unit tests
for strip helpers.
2026-07-14 12:30:01 +02:00
Levi Neely 5afe7b69ac fix nil pointer dereference on /agent command
NewDispatcher was not passed to AgentCoreConfig in the dbus session
manager, causing a nil function call when switching agents via /agent.
2026-07-14 11:59:03 +02:00
Levi Neely 93ba8ffd29 feat: emit SessionRenamed signal on successful rename 2026-07-08 19:27:20 +02:00
Levi Neely 3178aaad81 chore: ignore build artifact 2026-07-08 15:55:58 +02:00
Levi Neely 4480c9a089 gitignore: add ollied binary 2026-07-07 13:32:51 +02:00
Levi Neely 4ba889bb41 pure Go D-Bus daemon replacing C++/cgo implementation 2026-07-07 13:02:25 +02:00
Levi Neely 9ec7f3bdc7 initial commit 2026-07-07 12:47:37 +02:00