Releases: four-bytes/four-opencode-memory-plugin
Releases · four-bytes/four-opencode-memory-plugin
v0.2.2 — Multi-language intent detection
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
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
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
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
Fixed
- Registered memory tool under both
memoryandmcp_memorynames for compatibility with tool prefix renaming - Added startup debug log to verify plugin loading
v0.1.3
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
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
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