fix(plugins): use shared handoff resources and native patch versions

This commit is contained in:
kartik-mem0
2026-09-10 19:20:14 +05:30
parent 19a71bbacf
commit 2ac8f2f9a9
83 changed files with 2515 additions and 2916 deletions
+4 -2
View File
@@ -5,7 +5,9 @@ description: "Add persistent memory to OpenCode with the Mem0 plugin: native SDK
Add persistent memory to [**OpenCode**](https://opencode.ai) with the Mem0 plugin. Your agent forgets everything between sessions. Mem0 fixes that by storing decisions, preferences, and learnings so they carry over automatically.
<Info>Current package version: `0.3.2`.</Info>
<Info>Current package version: `0.3.1`.</Info>
For explicit session handoff, use `/mem0-handoff`, `/mem0-handoff list`, or `/mem0-handoff resume /absolute/path.json`. All plugins share local resources in `~/.mem0/handoffs/`. Requires Python 3.11+; first use downloads and verifies the shared engine, then cached use works offline.
## Prerequisites
@@ -108,7 +110,7 @@ The project id (`app_id`) is derived from your git remote (`owner-repo`), fallin
## Lifecycle Hooks
The plugin uses the [mem0ai](https://www.npmjs.com/package/mem0ai) TypeScript SDK directly. Memory features use TypeScript. The optional session handoff command runs the bundled Python importer.
The plugin uses the [mem0ai](https://www.npmjs.com/package/mem0ai) TypeScript SDK directly. Memory features use TypeScript. The optional session handoff command runs the shared cached Python engine.
| OpenCode Event | Hook | What happens |
|----------------|------|-------------|