Commit Graph

14 Commits

Author SHA1 Message Date
Your Name 0214e3fc77 fix(context): fix accidental mutation in snapshotGenerator 2026-05-14 04:40:48 +00:00
Your Name ac49195b37 test(context): add unit tests for snapshot ID flattening 2026-05-14 04:40:48 +00:00
Your Name 9a353ae1f8 fix(context): revert restored snapshot type to accumulate 2026-05-14 04:40:48 +00:00
Your Name 2a2834cb77 fix(context): address PR feedback on state persistence and snapshot rehydration 2026-05-14 04:40:48 +00:00
Your Name 78a0e5d457 chore(context): remove dead initialization trigger and unawaited promise 2026-05-14 04:40:47 +00:00
Your Name 65d4bdfc24 feat(context): persist context engine snapshots across sessions
This commit implements an opaque state export/import pattern for the
ContextManager to ensure expensive LLM-derived snapshots are properly
rehydrated upon session resume.

The ContextManager now exposes `exportState` and `restoreState` methods,
delegating structural validation to the `SnapshotStateHelper`.
During active chat, the GeminiClient routinely passes the finalized
context state down to the ChatRecordingService, which seamlessly
embeds it into the existing JSONL metadata payload. Upon resume, the
saved snapshot is re-published as a draft to the LiveInbox, allowing
the synchronous pipeline to automatically and deterministically splice
it back into the raw graph without an additional LLM call.
2026-05-14 04:40:47 +00:00
joshualitt 07792f98cd feat(context): Introduce adaptive token calculator to more accurately calculate content sizes. (#26888) 2026-05-12 15:51:20 +00:00
joshualitt 8a3fde4c33 fix(context): Change snapshotter model config. (#26745) 2026-05-11 15:06:55 +00:00
joshualitt 1a894c18ea feat(context): Improvements to the snapshotter. (#26655) 2026-05-08 23:54:44 +00:00
joshualitt 01635ddb83 fix(context): implement loose boundary policy for gc backstop. (#26594) 2026-05-08 17:36:57 +00:00
joshualitt 0803007c8f fix(core): Minor fixes for generalist profile. (#26357) 2026-05-05 19:32:13 +00:00
joshualitt de8fdcfa16 Fix bulk of remaining issues with generalist profile (#26073) 2026-05-01 22:04:39 +00:00
joshualitt 71f313b51a feat(core): wire up the new ContextManager and AgentChatHistory (#25409) 2026-04-27 18:50:00 +00:00
joshualitt daf5006237 feat(core): introduce decoupled ContextManager and Sidecar architecture (#24752) 2026-04-13 22:02:22 +00:00