Skip to content

v1.6.7 — Native Client Lifecycle, Safe Uninstall & Persona Directives

Choose a tag to compare

@Lotargo Lotargo released this 24 Aug 19:36
· 68 commits to main since this release

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 the memory_plugin setup --uninstall alias.
  • 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-run for safe previews.
  • Local Notebook and RAG data are preserved by default.
  • Added guarded --purge for explicit local data removal.
  • Added --purge-cache for removing only package-owned OpenCode cache directories.
  • Foreign memory-agent registrations, 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 .agents configuration

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-persona and npm 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_note omitting blobHash from 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 setup

Restart 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