Repository navigation
Releases
Memory v2.1.0-alpha.2
Memory v2.1.0-alpha.2
Local-first long-term memory for AI agents and long-running projects.
This release focuses on trust in the archive: editing a message no longer
breaks the next sync, deletes are recoverable, and large branches are usable in
the web UI. The offline installers now show what they are doing.
2.1.0-alpha.2 hotfix
- Linux systemd unit:
WorkingDirectoryis written without shell quotes;
paths with spaces are escaped as\x20. - The installer checks that
memory-v2.serviceis actually active. If systemd
fails, it disables the broken unit and falls back tonohupwith a warning. - If the API still does not answer,
install.shexits with code 1 instead of
printing “Установка завершена” with exit 0. - The installed extension now includes
extension/firefox/with a ready
manifest.json, plus the separate Firefox release asset. - Exposed by the Linux Mint 22.3 test (Python 3.12.3); unit generation and
/health200 were re-validated after the fix. A clean reinstall on Mint is
still the final confirmation.
Highlights
Safe editing and provenance
- Every message keeps an immutable
source_fingerprint. - Archive idempotency compares the original source, not the edited text, so a
re-sync after an edit does not append a duplicate. - Edits create entries in
message_revisions; the UI shows an “edited” badge
and revision history, with “restore this revision”. - Deletes are soft:
deleted_at, “Deleted” toggle, restore button. Deleted
messages are excluded from normal search and branch views. - Optimistic concurrency via
expected_revision; stale edits return409.
Large branches and manual control
- Paginated message loading (
limit/before_id), “Load earlier”. - In-branch search with jump-to-message.
- Role editing, edit reason, dirty-state warning, Ctrl+Enter/Esc.
- Hide tool calls toggle, edited/deleted badges, mobile layout.
- One-click SQLite backup and JSON project export.
Installers
- Windows: a real status window with stage, percentage, “Open log” and
“Open Memory”. It readslogs\install-status.json. - Linux:
[stage/9]progress and the same status JSON. - Linux
MEMORY_OFFLINE=1: if Python 3.12 is missing, the installer stops with
a clear message instead of trying apt/dnf. - Docker image now contains
web/andextension/, so/ui/and
/extension.zipwork in the container.
Browser extension
- Chrome/Edge/Chromium and Firefox (experimental), still 1.1.3.
- Firefox uses a separate MV3 event-page manifest; temporary load via
about:debugging, permanent install via AMO signing.
Upgrade
The 2.1 API migrates an existing 2.0 database on first start: it adds message
metadata, creates message_revisions, and backfills source fingerprints.
Back up data/memory_v2.db before upgrading.
Install
Windows
Download MemoryV2-v2.1.0-alpha.2-Windows-x64.zip, extract, run
windows\install-memory.bat. The status window shows the current stage. No
administrator rights and no internet are required.
Linux
bash linux/install.shFor a machine without network:
MEMORY_OFFLINE=1 bash linux/install.shPython 3.12 must be present in offline mode.
Docker
cp .env.example .env
docker compose up -d --buildOpen http://127.0.0.1:8002/ui/.
Assets
| Asset | Purpose |
|---|---|
MemoryV2-v2.1.0-alpha.2-Windows-x64.zip |
Offline Windows installer with status window |
MemoryV2-v2.1.0-alpha.2-Linux-x64.zip |
Offline Linux installer with stage progress |
MemoryV2-v2.1.0-alpha.2-browser-extension.zip |
Chrome/Edge extension 1.1.3 |
MemoryV2-v2.1.0-alpha.2-firefox-extension.zip |
Firefox extension 1.1.3 (experimental) |
MemoryV2-v2.1.0-alpha.2-source.tar.gz |
Source tree at the release tag |
MemoryV2-v2.1.0-alpha.2-SHA256SUMS.txt |
Checksums |
Verification
- CI: 13/13 MCP + 17/17 2.1 integrity checks,
failures=0. - Linux Mint 22.3, Python 3.12.3: all 9 stages completed, but exposed the
systemdWorkingDirectoryquoting bug. After the manual unit fix,
/health,/projects,/ui/,/settings,/extension.zip,/docs,
/diagnosticsall returned 200.2.1.0-alpha.2contains the fix. - Linux alpha.2: unit generation verified without quotes; fallback/health 200
when systemd is unavailable. Clean reinstall on Mint is the final check. - Docker 2.1:
/ui/and/extension.zip= 200; backup writes to/data/backups. - Windows 2.1: PowerShell parser OK for installer, GUI and uninstaller.
A live Windows run is still required because the status GUI and installer
changed in 2.1. - Chrome 157: automatic
--load-extensionis ignored; manual “Load unpacked” is
required. Firefox 160:extension/firefox/or the Firefox asset is prepared;
live temporary load still to confirm.
Known limitations
- Windows installer is unsigned; SmartScreen may warn.
- The new Windows status GUI has not yet been exercised on a real Windows
desktop; test it before calling platform verification complete. - Linux systemd path needs a real user systemd session; nohup path is tested.
- Firefox is experimental: temporary load works without signing; permanent
install requires AMO. - JSON export is implemented; JSON import is not yet.
- Bulk message operations and a signed
.exe/.deb/AppImage are future work.
License
MIT. See LICENSE.