Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

Merge branch 'main' into merge-424

AkitaOnRails3c92ed77c631
diff --cc CHANGELOG.md
index 0554a749,3ba00381..e29e0713
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -7,15 -7,18 +7,26 @@@ and this project adheres to [Semantic V
## [Unreleased]
+ ### Fixed
+ - `bin/deploy` now refuses to push a single-architecture build over a tag that
+ already resolves to a multi-architecture manifest (#427). It builds for the
+ architecture of the machine it runs on, so deploying a homelab from an x86
+ workstation to `IMAGE=akitaonrails/ai-memory:latest` replaced the
+ amd64+arm64 manifest CI had published with an amd64-only image, and every
+ arm64 host pulling `:latest` failed with `exec format error`. The shipped
+ `bin/deploy.env.example` also defaulted `IMAGE` to `:latest`, so following
+ the documented setup led straight into it; it now defaults to a private
+ `:homelab` tag and explains that release tags are published by CI only.
+
### Added
+- Added a `flake.nix` so NixOS and Nix users can build and run ai-memory
+ without the Rust toolchain or Docker: `nix build`, `nix run . --
+ --version`, or `nix develop` for a dev shell. The build is self-contained
+ (SQLite bundled, libgit2 vendored, rustls with webpki-roots — no OpenSSL,
+ no system-library hunting). The flake skips the packaging test suite
+ because those tests exercise the Docker-wrapper shell script and need
+ `docker`/`podman` on PATH; the rest of the workspace tests can be run via
+ `nix develop -c cargo test --workspace`. ([#405])
- New `strip_root_combinators` config flag (env `AI_MEMORY_STRIP_ROOT_COMBINATORS`,
or `strip_root_combinators = true` in config.toml) strips root-level
`anyOf`/`oneOf`/`allOf` from MCP tool input schemas on every `tools/list`.