Repository navigation
v1.6.7 — Native Client Lifecycle, Safe Uninstall & Persona Directives
Release notes
Highlights
This release introduces a safe, cross-platform installation and uninstall lifecycle, first-class persona directives, improved client integration, and several cloud synchronization fixes.
Native client lifecycle and safe uninstall
- Added
memory_plugin uninstall,memory-cli uninstall, and thememory_plugin setup --uninstallalias. - Claude Code, Gemini CLI, and Codex now use their native MCP lifecycle commands when available.
- Added ownership-checked JSON/TOML fallbacks for missing, outdated, failing, or no-op client CLIs.
- Added per-client targeting:
--opencode--claude--codex--gemini--antigravity
- Added
--dry-runfor safe previews. - Local Notebook and RAG data are preserved by default.
- Added guarded
--purgefor explicit local data removal. - Added
--purge-cachefor removing only package-owned OpenCode cache directories. - Foreign
memory-agentregistrations, unrelated plugins, modified skills, and user-authored prompt content are never removed.
Gemini CLI and Antigravity separation
Gemini CLI is now a separate integration using:
~/.gemini/settings.json~/.gemini/GEMINI.md~/.gemini/skills
Antigravity keeps its existing integration through:
~/.gemini/config/mcp_config.json~/.gemini/config/AGENTS.md- Optional workspace
.agentsconfiguration
Typed persona directives
- Added explicit Notebook
kind: "fact" | "directive"semantics. - Active directives are separated from descriptive memory facts.
- OpenCode injects directives through its system-prompt transform.
- Codex, Claude Code, Gemini CLI, and Antigravity receive synchronized managed persona blocks.
- Added
[DIRECTIVE]recall badges. - Legacy persona and preference tags remain compatible.
- Added
memory-cli migrate-persona [--dry-run]for idempotent migration. - Added
memory-cli sync-personaandnpm run persona:sync.
Improved local development
- Added
npm run dev:link/memory-cli dev-link. - The command globally links the working repository, connects OpenCode through a
file://plugin entry, and synchronizes prompts and skills. - Local development no longer requires repeated npm publication and reinstallation.
Fixes
- Fixed
remember_noteomittingblobHashfrom its public result. - Fixed concurrent
triggerBackgroundSync()calls returning before the active queue drain completed. - Fixed Codex TOML cleanup to preserve unrelated sections and formatting.
- Malformed client configuration now fails closed instead of being overwritten.
- Uninstall returns a non-zero exit status when a requested cleanup step fails.
- Added cross-platform Windows npm-shim execution and XDG path support.
Upgrade
npm install -g @lotargo/memory_plugin@1.6.7
memory_plugin setupRestart the affected clients after setup.
Uninstall examples
memory_plugin uninstall --dry-run
memory_plugin uninstall
memory_plugin uninstall --opencode --purge-cache
memory_plugin uninstall --purge --yes