New:Socket for Asana Is Now Available.Learn more
Get Started

@vaur94/opencode2-memory

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaur94/opencode2-memory

Persistent memory plugin for OpenCode V2 (v3 architecture: inline/indexed notes + graph)

npmnpm
Version
0.2.6
Version published
Weekly downloads
66
-93.36%
Maintainers
1
Weekly downloads
 
Created
Source

OpenCode2 Memory

Persistent memory plugin for OpenCode V2 (v3 architecture).

Inline/indexed notes, directed graph edges, 4 tools, no approval flow.

Install

{
  "plugins": [
    {
      "package": "@vaur94/opencode2-memory@0.2.6",
      "options": { "enabled": true }
    }
  ]
}

Restart the OpenCode service after changing the package version, then verify:

opencode2 api get /api/plugin

Plugin ID: opencode2-memory.

Options

KeyDefaultDescription
enabledtrueMaster switch
databasePath~/.local/share/opencode-memory/memory.sqliteSQLite location
inlineTokenBudget2000Token budget for inline note injection
indexedMaxCards8Max indexed title/summary cards per session

Tools

  • memory_recall: search with query or up to 10 queries.
  • memory_update: create a note, patch an existing note by id, or permanently delete with delete: true; batch up to 10 via updates.
  • memory_read: read one note by id or up to 10 via ids.
  • memory_link: create one edge or up to 10 via links.

No notes are injected automatically. Use memory_recall for other global memory.

Migration

First start migrates v2 data automatically (one-way, backup created as <db>.v2-backup). Forgotten data stays forgotten.

See ARCHITECTURE.md in the repository for the design.

FAQs

Package last updated on 21 Aug 2026

Related posts