fleet-memory/hindsight-integrations
akhater 087545cc1b
feat(openclaw): JSONL-backed retain queue for external API resilience (#740)
When the external Hindsight API is unreachable, retain requests are
buffered as JSON lines in a local file and automatically flushed once
connectivity is restored. Queue survives process restarts.

- Only active in external API mode (local daemon handles its own persistence)
- Zero dependencies — uses only Node built-ins (fs, crypto)
- Bulk removal via removeMany() for O(1) file rewrites during flush
- Cached item count so size() is O(1)
- Configurable: retainQueuePath, retainQueueMaxAgeMs (-1 = forever),
  retainQueueFlushIntervalMs (default 60s)
- Flushes on successful retain and on a periodic timer
- All logging routed through structured logger (api.logger)

Co-authored-by: billy <billy@oclaw.local>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Antoine Khater <ak@ptgroup.eu>
2026-04-01 18:06:57 +02:00
..
ag2 fix(deps): address critical and high severity security vulnerabilities (#827) 2026-04-01 09:20:34 +02:00
agno fix(deps): address critical and high severity security vulnerabilities (#827) 2026-04-01 09:20:34 +02:00
ai-sdk fix: resolve all Dependabot security alerts (#702) 2026-03-26 13:15:36 +01:00
autogen release(autogen): v0.1.1 2026-04-01 17:51:46 +02:00
chat fix: resolve all Dependabot security alerts (#702) 2026-03-26 13:15:36 +01:00
claude-code Fix trailing commas in openclaw.plugin.json and add JSON manifest CI tests (#774) 2026-03-30 16:55:06 +02:00
codex release(codex): v0.2.0 2026-03-30 17:50:02 +02:00
crewai fix: resolve remaining Dependabot security alerts (#833) 2026-04-01 17:22:38 +02:00
hermes fix(deps): address critical and high severity security vulnerabilities (#827) 2026-04-01 09:20:34 +02:00
langgraph fix(deps): address critical and high severity security vulnerabilities (#827) 2026-04-01 09:20:34 +02:00
litellm fix(deps): address critical and high severity security vulnerabilities (#827) 2026-04-01 09:20:34 +02:00
llamaindex fix(deps): address critical and high severity security vulnerabilities (#827) 2026-04-01 09:20:34 +02:00
nemoclaw fix: resolve all Dependabot security alerts (#702) 2026-03-26 13:15:36 +01:00
openclaw feat(openclaw): JSONL-backed retain queue for external API resilience (#740) 2026-04-01 18:06:57 +02:00
pydantic-ai fix(deps): address critical and high severity security vulnerabilities (#827) 2026-04-01 09:20:34 +02:00
strands fix(deps): address critical and high severity security vulnerabilities (#827) 2026-04-01 09:20:34 +02:00