Releases: 0xK3vin/MegaMemory
Releases · 0xK3vin/MegaMemory
Release list
v1.6.2
Summary
- Treat empty
parent_idvalues as omitted when creating root concepts. - Make installer updates non-destructive for existing user configs and unmarked plugin/command files.
- Add multi-process database concurrency regression coverage.
Validation
npm testnpm run build
v1.6.1
v1.6.0
What's New
Codex install target (#9)
megamemory install --target codexnow configures megamemory for OpenAI's Codex CLI/IDE/App- Primary path uses
codex mcp addCLI; falls back to writing TOML directly to~/.codex/config.toml - Writes
~/.codex/AGENTS.mdwith knowledge graph workflow instructions
SQLite concurrency fix (#8)
softDeleteNode(),hardDeleteNode(), andresolveConflict()now wrapped in transactions to prevent orphaned edges under concurrent multi-process access- Reentrant transaction support via
_txDepthcounter runWithRetry()with exponential backoff forSQLITE_BUSYerrorsbusy_timeoutincreased from 1000ms to 5000ms- Graceful SIGINT/SIGTERM shutdown in MCP server
v1.5.0
Concurrency Safety & Schema v4
This release adds robust multi-process SQLite safety and schema improvements for concurrent MCP access.
Changes
- SQLite busy_timeout & synchronous pragmas —
busy_timeout=5000andsynchronous=NORMALfor multi-process safety - Atomic createConcept transactions — node + edges wrapped in a single transaction
- Migration serialization —
BEGIN IMMEDIATEprevents concurrent migration races - UNIQUE constraint on edges with auto-deduplication — schema v4 migration adds a unique index on
(from_id, to_id, relation)and deduplicates existing edges - INSERT OR IGNORE for duplicate edge handling — prevents constraint violations on concurrent edge creation
v1.4.1
Strengthen megamemory prompt wording from suggestive to mandatory. Models with large thinking budgets were rationalizing away soft instructions — upgraded to 'You must call' language with explicit ordering and 'no implicit memory' framing. Ref #6.