Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
Merge PR #802 into release/2.5
AkitaOnRailsd2da86037fa3
diff --cc CHANGELOG.mdindex 8a07e6cc,560eb27e..7638e1df--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -128,15 -110,19 +141,26 @@@ and this project adheres to [Semantic Vtake another (the multi-session claim-once invariant is preserved).Delivery of this PostToolUse handoff is exempt from `AI_MEMORY_CAPTURE_OWNER`capture suppression, like the other context-delivery events. (#840)+- The generated OpenCode 2 plugin binds to the OpenCode 2.0.10+ event and hook+ API (`session.execution.*`, `session.text.ended`, `session.moved`, the+ `context` hook). Startup context is claimed once per root session and+ retained on every later model request; content-only tool results are+ captured; each location instance owns its own queue, spool state and+ cleanup; an explicit `session.moved` rebinds the live session to its new+ directory so its later end lands there. Checked against OpenCode 2.0.14. (#865)### Fixed+ - Native `ai-memory upgrade` no longer refuses every Linux install by probing+ the running executable for write (Linux `ETXTBSY`); it only requires the+ parent directory to be writable for rename-based replace. (#802)+ - Native `ai-memory upgrade` accepts release archives whose entries are+ `./`-prefixed (`tar -C … -czf … .` as in `release.yml`), instead of+ rejecting `Component::CurDir` as an unsafe path. (#802)+ - Native `ai-memory upgrade` treats Linuxbrew (`/home/linuxbrew/.linuxbrew/`)+ as package-managed and refuses self-replace there. (#802)+ - Native `ai-memory upgrade` container refusal now uses the shared+ `running_in_container` helper (`AI_MEMORY_IN_CONTAINER`, `/.dockerenv`,+ `/run/.containerenv` / Podman), matching staged-hooks detection. (#802)- `memory_query`'s vector stream called the generic `Embedder::embed`instead of `embed_query` on the configured embedder, so aquery/document-asymmetric embedder (Google's task-typed embeddings, or