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.2
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.1",
      "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

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 19 Aug 2026

Related posts