Skip to content

Releases: four-bytes/four-opencode-memory-plugin

v0.2.2 — Multi-language intent detection

12 Apr 12:37

Choose a tag to compare

Added

  • Recall intent detection: questions about past decisions trigger automatic memory search
  • System prompt covers both STORE and RECALL intents in any language
  • AI detects intent naturally — no hardcoded trigger word lists

Changed

  • Plugin auto-store simplified to minimal fallback (remember this: / merk dir:)
  • Primary mechanism is now the AI calling the memory tool via system prompt instructions

Verified

  • ✅ German store: 'Merk dir: UUID7 als Primärschlüssel' → auto-stored
  • ✅ English recall: 'Do you remember my tech stack?' → searched memory, answered correctly
  • ✅ German recall: 'Weißt du noch welche Datenbank?' → searched memory before answering

v0.1.9 — Soul/Identity + Full Integration

12 Apr 12:15

Choose a tag to compare

Changed

  • Improved MEMORY.md seed template with OpenClaw-style soul/identity sections
  • New installations get structured: Developer Identity, Technology Stack, Coding Preferences, Workflow

Verified (full integration test)

  • ✅ Identity recall — AI reads developer preferences from MEMORY.md soul entries
  • ✅ Auto-store — 'Remember this' triggers automatic storage to global MEMORY.md
  • ✅ Persistence — Entries survive across sessions with proper metadata
  • ✅ Search — Grep-based search finds entries across global + project scopes
  • ✅ Context injection — Soul + memories injected on first message of new sessions
  • ✅ Diary — Session activity captured to daily markdown files

v0.1.8 — Auto-store working

12 Apr 12:10

Choose a tag to compare

Added

  • Auto-store: plugin detects 'remember this/that', 'store this', 'save this', 'don't forget' in user messages and automatically stores to global MEMORY.md
  • System prompt injection: all agents automatically receive memory tool instructions via experimental.chat.system.transform hook
  • Confirmation injected as synthetic message part so AI acknowledges storage

Fixed

  • Memories from 'remember' triggers now save to global scope (cross-project)
  • Title truncation breaks at word boundaries
  • Trailing quotes stripped from extracted content

v0.1.5 — Memory tool working

12 Apr 11:56

Choose a tag to compare

Fixed

  • Removed duplicate mcp_memory tool registration (claude plugin already adds mcp_ prefix)
  • Added startup debug log to verify plugin loading

Verified

  • Memory tool fully functional: help, add, search, list, forget, diary modes
  • Context injection working on session start
  • Auto-seeding of MEMORY.md on first run

v0.1.4

12 Apr 11:46

Choose a tag to compare

Fixed

  • Registered memory tool under both memory and mcp_memory names for compatibility with tool prefix renaming
  • Added startup debug log to verify plugin loading

v0.1.3

12 Apr 11:33

Choose a tag to compare

Fixed

  • Plugin now shows as "four-mem" in OpenCode instead of generic "plugin"
  • Restricted file path detection in auto-capture to prevent scanning unrelated directories
  • Tightened regex to only match source-code-like paths

v0.1.1

12 Apr 11:29

Choose a tag to compare

Fixed

  • Version bump for proper release management

Initial Features (from v0.1.0)

  • Memory store with MEMORY.md files (global + per-project scope)
  • Daily diary with auto-capture on session idle
  • Context injection via chat.message hook
  • Grep-based search across all memory files
  • Memory tool with modes: add, search, list, forget, diary, help
  • JSONC configuration support
  • Toast notifications for auto-capture events
  • Zero external runtime dependencies
  • Automatic storage directory creation

v0.1.0 — Initial Release

12 Apr 11:29

Choose a tag to compare

Initial release of four-opencode-memory-plugin.

Features

  • Zero-dependency memory plugin for OpenCode
  • Persistent AI memory using plain Markdown files
  • Memory store with MEMORY.md (global + per-project)
  • Daily diary auto-capture
  • Grep-based search
  • Context injection into new sessions
  • Memory tool for agents