opencode-memory-pro 1.3.0 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +13 -11
  2. package/dist/index.js +1 -1
  3. package/package.json +4 -1
package/README.md CHANGED
@@ -1,7 +1,11 @@
1
1
  # opencode-memory-pro
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/opencode-memory-pro.svg)](https://www.npmjs.com/package/opencode-memory-pro)
4
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
5
+ [![CI](https://github.com/tman204-50/opencode-memory-pro/actions/workflows/ci.yml/badge.svg)](https://github.com/tman204-50/opencode-memory-pro/actions/workflows/ci.yml)
6
+
3
7
  Long-term memory subsystem for [OpenCode](https://opencode.ai) — a maintained,
4
- standalone fork of `lancedb-opencode-pro`. It stores memories in LanceDB,
8
+ standalone fork of `lancedb-opencode-pro` (source: [GitHub](https://github.com/tman204-50/opencode-memory-pro)). It stores memories in LanceDB,
5
9
  embeds them locally or via OpenAI, builds an offline entity graph to boost and
6
10
  expand recall, tracks its own effectiveness, and ships a full lifecycle toolkit
7
11
  (backup, digests, retention, scoping, episodic learning). No source patching
@@ -30,19 +34,14 @@ required: install the package directly.
30
34
 
31
35
  ## Install
32
36
 
33
- From a local tarball (or point at the repo):
34
-
35
- ```bash
36
- npm pack # -> opencode-memory-pro-<version>.tgz
37
- opencode plugin ./opencode-memory-pro-<version>.tgz -g
38
- ```
39
-
40
- Or from npm once published:
37
+ Published on npm install directly (requires OpenCode 1.x and Node.js ≥ 22):
41
38
 
42
39
  ```bash
43
40
  opencode plugin opencode-memory-pro
44
41
  ```
45
42
 
43
+ The latest release is **v1.3.2** on [npm](https://www.npmjs.com/package/opencode-memory-pro); source and releases are on [GitHub](https://github.com/tman204-50/opencode-memory-pro).
44
+
46
45
  Remove the old plugin pin at the same time:
47
46
 
48
47
  ```bash
@@ -393,10 +392,13 @@ their task episode, so `similar_task_recall` / `retry_budget_suggest` /
393
392
 
394
393
  ```bash
395
394
  npm install
396
- npm test # node --test (unit suite)
397
- npm run verify # test + pack dry-run
395
+ npm test # node --test (unit + integration suites)
396
+ npm run test:e2e # full plugin E2E scenario (mock embedder, real LanceDB)
397
+ npm run verify # tests + pack dry-run
398
398
  ```
399
399
 
400
+ CI runs on GitHub Actions (Node 22 + 24) on every push/PR to `main`.
401
+
400
402
  ## Migrating from `lancedb-opencode-pro`
401
403
 
402
404
  Clean-break rename: sidecar is `opencode-memory-pro.json`, env prefix is
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import { requestLLMCapture, isOwnSession } from "./llm.js";
11
11
  import { createMemoryTools, createFeedbackTools, createEpisodicTools } from "./tools/index.js";
12
12
  import { sweepExpiredMemories } from "./tools/memory.js";
13
13
  import { createGraphStore } from "./graph.js";
14
- const PLUGIN_VERSION = "1.3.0";
14
+ const PLUGIN_VERSION = "1.3.2";
15
15
  const SCHEMA_VERSION = 1;
16
16
  // Event-driven dedup: run consolidateDuplicates on session.idle (throttled to
17
17
  // this interval so chatty sessions aren't re-scanning the store every turn)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-memory-pro",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "LanceDB-backed long-term memory provider for OpenCode — standalone fork of lancedb-opencode-pro with entity graph, lifecycle, and retention",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -35,6 +35,9 @@
35
35
  },
36
36
  "scripts": {
37
37
  "test": "node --test",
38
+ "test:unit": "node --test test/unit.test.mjs",
39
+ "test:integration": "node --test test/integration.test.mjs",
40
+ "test:e2e": "node test/scenario-e2e.mjs",
38
41
  "verify": "npm test && npm pack --dry-run"
39
42
  },
40
43
  "dependencies": {