Skip to content

mem0

vopencode-v0.1.3 scope: opencode Feature

This release adds 4 notable features for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

agents ai ai-agents application chatbots chatgpt
+7 more
genai llm long-term-memory memory memory-management python state-management

Affected surfaces

auth

Summary

AI summary

Updates Mem0 OpenCode Plugin, v0.1.3, and apiKey across a mixed release.

Changes in this release

Feature Low

Adds file-context injection before reading files (>=1500 bytes).

Adds file-context injection before reading files (>=1500 bytes).

Source: llm_adapter@2026-06-13

Confidence: high

Feature Low

Adds stop‑hook session summary with structured metadata.

Adds stop‑hook session summary with structured metadata.

Source: llm_adapter@2026-06-13

Confidence: high

Feature Low

Adds SessionStart activity timeline showing type icons and age labels.

Adds SessionStart activity timeline showing type icons and age labels.

Source: llm_adapter@2026-06-13

Confidence: high

Feature Low

Adds PostHog anonymous telemetry for usage events (opt‑out via MEM0_TELEMETRY).

Adds PostHog anonymous telemetry for usage events (opt‑out via MEM0_TELEMETRY).

Source: llm_adapter@2026-06-13

Confidence: high

Refactor Low

Changes `experimental.session.compacting` handler metadata types and source tag.

Changes `experimental.session.compacting` handler metadata types and source tag.

Source: llm_adapter@2026-06-13

Confidence: high

Refactor Low

Updates initial context formatting to include type icons and age labels.

Updates initial context formatting to include type icons and age labels.

Source: llm_adapter@2026-06-13

Confidence: high

Full changelog

Mem0 OpenCode Plugin (v0.1.3)

Added

  • File-context injection (tool.execute.before / Read): Before the agent reads a file, the plugin searches mem0 for memories referencing that file path and injects prior work as system context. Gates on file size (>= 1,500 bytes). Gives the agent "I've worked on this file before" awareness automatically.
  • Stop hook session summary (experimental.session.compacting): Enhanced session compaction to store a structured session_summary memory with infer=True, letting the mem0 backend AI extract key facts (request, decisions, learnings, next steps). Previously only stored a raw stats string.
  • SessionStart activity timeline: The initial memory loading now formats recent memories with type icons (⚖️ decision, 🔴 bug_fix, 🔵 task_learning, etc.) and relative age indicators (2h ago, 1d ago) instead of bare text. Provides a visual "Recent Activity" timeline on first message.
  • PostHog telemetry (telemetry.ts): Anonymous, fire-and-forget usage events. Opt out with MEM0_TELEMETRY=false. Only fires when an API key is present; never sends memory content, prompts, or the API key — only an anonymized sha256(apiKey)[:32] identity plus event type, platform, and plugin version. Emits the same schema as the Mem0 editor plugin (plugin.* events, source: "plugin", platform: "opencode") so OpenCode appears as a platform in the shared plugin dashboard. Events: plugin.session_start (with memory count) and plugin.tool_use (add / search / update / delete).

Changed

  • experimental.session.compacting handler: Now stores metadata.type=session_summary with metadata.source=opencode-stop instead of metadata.type=session_state with metadata.source=pre-compaction. Includes a structured prompt that instructs mem0's AI to extract request, decisions, learnings, and next steps.
  • Initial context formatting: Memories shown on first message now include type icons and age labels for quick scanning.

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track mem0

Get notified when new releases ship.

Sign up free

About mem0

Universal memory layer for AI Agents

All releases →

Related context

Beta — feedback welcome: [email protected]