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
+2
View File
@@ -7,6 +7,8 @@ Add persistent memory to [**Google Antigravity**](https://antigravity.google) (`
<Info>Current plugin version: `0.3.2`.</Info>
The explicit `handoff` skill saves session context as a shared local resource in `~/.mem0/handoffs/`. Ask the agent to use `handoff_resource` to list the current project’s resources or resume a saved path from any Mem0 plugin. Requires Python 3.11+; the shared engine is downloaded and verified on first use, then cached.
## Prerequisites
1. A Mem0 API key (starts with `m0-`):
+2
View File
@@ -7,6 +7,8 @@ Claude Code forgets everything between sessions. This plugin fixes that. Install
<Info>Current plugin version: `0.3.2`.</Info>
The explicit `handoff` skill saves session context as a shared local resource in `~/.mem0/handoffs/`. Ask the agent to use `handoff_resource` to list the current project’s resources or resume a saved path from any Mem0 plugin. Requires Python 3.11+; the shared engine is downloaded and verified on first use, then cached.
## Prerequisites
1. A Mem0 Platform account and API key (starts with `m0-`):
+2
View File
@@ -7,6 +7,8 @@ Add persistent memory to [**OpenAI Codex**](https://openai.com/index/codex/) wit
<Info>Current plugin version: `0.3.2`.</Info>
The explicit `handoff` skill saves session context as a shared local resource in `~/.mem0/handoffs/`. Ask the agent to use `handoff_resource` to list the current project’s resources or resume a saved path from any Mem0 plugin. Requires Python 3.11+; the shared engine is downloaded and verified on first use, then cached.
## Prerequisites
Before setting up Mem0 with Codex, ensure you have:
+2
View File
@@ -7,6 +7,8 @@ Add persistent memory to [**Cursor**](https://cursor.com) with the Mem0 plugin.
<Info>Current plugin version: `0.3.2`.</Info>
The explicit `handoff` skill saves session context as a shared local resource in `~/.mem0/handoffs/`. Ask the agent to use `handoff_resource` to list the current project’s resources or resume a saved path from any Mem0 plugin. Requires Python 3.11+; the shared engine is downloaded and verified on first use, then cached.
## Prerequisites
Before setting up Mem0 with Cursor, ensure you have:
+6 -4
View File
@@ -1,11 +1,13 @@
---
title: DeepSeek Harness
description: "Add persistent memory to DeepSeek Harness with automatic recall, automatic capture, native Mem0 tools, and Claude-to-Codex handoff."
description: "Add persistent memory to DeepSeek Harness with automatic recall, automatic capture, native Mem0 tools, and shared session handoff."
---
Add persistent memory to the [**DeepSeek Harness**](https://github.com/deepseek-ai/deepseek-harness) with `@mem0/deepseek-plugin`. The plugin recalls relevant context before a model request, captures completed turns, and provides explicit Mem0 tools when the agent needs them.
<Info>Current package version: `0.3.2`.</Info>
<Info>Current package version: `0.3.1`.</Info>
For explicit session handoff, use `mem0_handoff` with action `save`, `list`, or `resume` and a resource path. 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.
## Overview
@@ -17,7 +19,7 @@ The plugin provides automatic memory, two memory tools, and an explicit handoff
| Automatic capture | Stores the human and assistant messages from each completed turn |
| `search_memory` | Recall facts from Mem0 relevant to a query |
| `add_memory` | Store a fact in Mem0 for future sessions |
| `mem0_handoff` | Continue the current DeepSeek session in Codex |
| `mem0_handoff` | Save, list, or resume shared session context |
Unlike file-based memory plugins, Mem0 is a managed backend: server-side extraction, semantic dedup, and conflict resolution, with memories reusable by integrations that use compatible user identities and search filters.
@@ -69,7 +71,7 @@ source ~/.bashrc
2. Install it into a disposable Harness profile so Harness supplies its peer dependencies:
```sh
DSH_HOME=/tmp/mem0-dsh-dev pnpm dlx @deepseek-ai/dsh@0.1.1-rc.2 \
plugin --profile headless add /tmp/mem0-deepseek-plugin/mem0-deepseek-plugin-0.3.2.tgz
plugin --profile headless add /tmp/mem0-deepseek-plugin/mem0-deepseek-plugin-0.3.1.tgz
```
3. Copy `cordis.example.yml`, set its installed package path and your `userId`, then load it with the same profile:
+2
View File
@@ -7,6 +7,8 @@ Kimi Code forgets project decisions between sessions. The Mem0 plugin captures c
<Info>Current plugin version: `0.3.2`.</Info>
The explicit `handoff` skill saves session context as a shared local resource in `~/.mem0/handoffs/`. Ask the agent to use `handoff_resource` to list the current project’s resources or resume a saved path from any Mem0 plugin. Requires Python 3.11+; the shared engine is downloaded and verified on first use, then cached.
## Prerequisites
1. A Mem0 Platform account and API key:
+3 -1
View File
@@ -5,7 +5,9 @@ description: "Add long-term memory to OpenClaw agents using the Mem0 plugin with
Add long-term memory to [OpenClaw](https://github.com/openclaw/openclaw) agents with the `@mem0/openclaw-mem0` plugin. Your agent forgets everything between sessions. This plugin fixes that by automatically watching conversations, extracting what matters, and bringing it back when relevant.
<Info>Current package version: `0.3.2`.</Info>
<Info>Current package version: `1.1.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.
## Overview
+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 |
|----------------|------|-------------|
+4 -2
View File
@@ -5,7 +5,9 @@ description: "Add persistent memory to Pi Agent with the Mem0 plugin, semantic s
Add persistent memory to [**Pi Agent**](https://pi.dev) with `@mem0/pi-agent-plugin`. Your agent forgets everything between sessions. This plugin fixes that by automatically capturing knowledge from conversations, storing it in Mem0's cloud memory layer, and retrieving relevant context before every response.
<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.
## Overview
@@ -108,7 +110,7 @@ Tool output is truncated to 200 lines / 50KB to prevent context overflow.
| `/mem0-search <query>` | Semantic search across memories |
| `/mem0-tour [scope]` | Browse all memories grouped by category |
| `/mem0-scope <scope>` | Change default scope for this session (project, session, global) |
| `/mem0-handoff codex` | Continue the current Pi session in Codex |
| `/mem0-handoff [save|list|resume <path>]` | Save or resume shared session context |
| `/mem0-status` | Connection health, identity, and memory count |
## Memory Scopes
+1 -1
View File
@@ -418,7 +418,7 @@ Each subdirectory is a Claude Code Skill (`SKILL.md` + supporting assets). Load
Source: https://github.com/mem0ai/mem0/tree/main/integrations/claude-code-plugin
The self-contained Claude Code plugin lives in `integrations/claude-code-plugin/` (v0.3.2, installs as `mem0@mem0-plugins`). It captures evidence locally through lifecycle hooks, extracts memories in a detached background worker, and exposes a single local MCP tool, `search_memories`, plus six memory skills, the explicit `/mem0:handoff` command and the unchanged `mem0:sidekick` agent. Pure-stdlib Python, nothing to install.
The self-contained Claude Code plugin lives in `integrations/claude-code-plugin/` (v0.3.2, installs as `mem0@mem0-plugins`). It captures evidence locally through lifecycle hooks, extracts memories in a detached background worker, and exposes local MCP tools `search_memories` and `handoff_resource`, plus six memory skills, the explicit `/mem0:handoff` command and the unchanged `mem0:sidekick` agent. Pure-stdlib Python, nothing to install.
### Coding-Agent Plugin Sources