Commit Graph

12 Commits

Author SHA1 Message Date
Viktor Bozhkov
56170cf492 feat: auto-recover context from session history after compaction
Implements context recovery feature that automatically injects recent
messages from session history into the system prompt after a compaction
event. This makes context transitions smoother as the agent maintains
awareness of recent conversation.

Configuration:
- agents.defaults.compaction.contextRecovery.messages: number (0-50)
  Default: 0 (disabled)

When enabled:
1. After compaction, the next turn checks if recovery is needed
2. Fetches the configured number of recent messages from session transcript
3. Formats them as a 'Recent Conversation' block in the system prompt
4. Tracks which compaction was recovered to avoid duplicate recovery

Closes #3593
2026-01-28 22:06:49 +00:00
jigar
dde9605874 Agents: summarize dropped messages during compaction safeguard pruning (#2418) 2026-01-26 20:35:08 -06:00
Peter Steinberger
a2981c5a2c feat: add elevated ask/full modes 2026-01-22 05:41:11 +00:00
Peter Steinberger
e0896de2bf feat: surface repo root in runtime prompt 2026-01-22 05:20:42 +00:00
Peter Steinberger
9f59ff325b feat: add cache-ttl pruning mode 2026-01-21 19:46:24 +00:00
Peter Steinberger
2dc9c95530 style: oxfmt core files 2026-01-19 05:59:29 +00:00
Peter Steinberger
d1e9490f95 fix: enforce strict config validation 2026-01-19 03:39:25 +00:00
Peter Steinberger
744d1329cb feat: make inbound envelopes configurable
Co-authored-by: Shiva Prasad <shiv19@users.noreply.github.com>
2026-01-18 18:50:37 +00:00
Peter Steinberger
99dd428862 feat: extend verbose tool feedback 2026-01-17 05:33:39 +00:00
Peter Steinberger
8b89980a89 feat(date-time): standardize time context and tool timestamps 2026-01-15 22:27:06 +00:00
Peter Steinberger
c379191f80 chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
2026-01-14 15:02:19 +00:00
Peter Steinberger
bcbfb357be refactor(src): split oversized modules 2026-01-14 01:17:56 +00:00