Skip to content
This repository was archived by the owner on Mar 22, 2026. It is now read-only.

devalexanderdaza/ruvector-memory-opencode

Repository files navigation

@ruvector/opencode-memory

Archived Project ⚠️

This repository has been archived as it was a proof of concept for context testing. The actively maintained project is: devalexanderdaza/ai-vector-memories.

For ongoing development, contributions, or usage, please refer to the new repository.


Local-first memory plugin for OpenCode with automatic activation and Node.js runtime guards.

Quick Start

npm install @ruvector/opencode-memory

For full local vector search, also install the optional peer dependency:

npm install @ruvector/core

Alternative package managers:

pnpm add @ruvector/opencode-memory @ruvector/core
# or
yarn add @ruvector/opencode-memory @ruvector/core

On the next OpenCode session, the plugin can activate automatically using default settings (no manual bootstrap).

Node.js Compatibility

This package requires Node.js >=22.0.0.

If an older version is used, activation returns an actionable message:

ruvector-memory requires Node.js >=22.0.0. Current: {version}. Please upgrade: https://nodejs.org

Public API

import { activatePlugin, deactivatePlugin } from "@ruvector/opencode-memory";

Configuration

Optional configuration file path:

  • .opencode/ruvector_memory_config.yaml

Example:

db_path: .opencode/custom.db
cache_size: 1024
log_level: debug
preload_top_memories: 8

See BUILD.md for scripts and contributor workflow.

About

OpenCode memory plugin for local-first contextual memory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors