Skip to content

v1.5.3 — Plugin Recall Fixes: Expired Badge, Async DB & Git-First Project Lookup

Choose a tag to compare

@Lotargo Lotargo released this 07 Aug 05:59
· 206 commits to main since this release

🚀 What's Changed in v1.5.3

Patch release fixing three bugs discovered during a live plugin test session in recall, memory_info, and project store resolution.


🐛 Bug Fixes

  • recall Crash Fix — isExpiredLine is not defined: The isExpiredLine helper was invoked by the OpenCode plugin's formatFactWithLinks but never imported from fact_format.js. recall now correctly renders the EXPIRED badge for TTL-expired facts.
  • memory_info / manage_knowledge_base Fix — db.prepare is not a function: Three getDatabase() calls in opencode-plugin/index.js were missing await (the function returns a Promise), so SQLite stats and knowledge-base management threw instead of returning data. All calls are now awaited.
  • recall(project: '<path>') Returning "Memory is empty": The store key was built from the raw filesystem path instead of the git-based project identity, so project stores were never found. A new resolveTargetKey() helper (in both opencode-plugin/index.js and mcp-server/tools/memory_tools.js) now resolves a project path through resolveProjectIdentity() first — Git-first, with canonicalPath fallback only when no git identity exists.

🧪 Verification

  • All 11 unit + integration test suites pass (fact_format, identity, project_identity, chunker, audit, memory_verification, mcp_tools, expanded_features, rag_mcp_tools, reverse_sync).
  • Git-first recall resolution verified live: git:github.com/lotargo/memory_pugin → 19 project facts + 6 global facts.

Full Changelog: v1.5.2...v1.5.3