codemem 0.20.6 → 0.20.8

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.
@@ -0,0 +1,5 @@
1
+ // Minimal module entry point for package resolution.
2
+ // OpenCode needs to resolve this package as a module to discover
3
+ // .opencode/plugins/codemem.js — the actual plugin is loaded from there.
4
+ // This file intentionally does nothing; the CLI lives at bin/codemem.
5
+ export const name = "codemem";
@@ -1,4 +1,5 @@
1
1
  {
2
+ "type": "module",
2
3
  "dependencies": {
3
4
  "@opencode-ai/plugin": "1.2.27"
4
5
  }
@@ -15,7 +15,7 @@ import {
15
15
 
16
16
  const TRUTHY_VALUES = ["1", "true", "yes"];
17
17
  const DISABLED_VALUES = ["0", "false", "off"];
18
- const PINNED_BACKEND_VERSION = "0.20.6";
18
+ const PINNED_BACKEND_VERSION = "0.20.8";
19
19
 
20
20
  const normalizeEnvValue = (value) => (value || "").toLowerCase();
21
21
  const envHasValue = (value, truthyValues) =>
package/package.json CHANGED
@@ -1,13 +1,20 @@
1
1
  {
2
2
  "name": "codemem",
3
- "version": "0.20.6",
3
+ "version": "0.20.8",
4
4
  "description": "Memory layer for AI coding agents — search, recall, and sync context across sessions",
5
5
  "type": "module",
6
+ "main": "./.opencode/entry.js",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./.opencode/entry.js"
10
+ }
11
+ },
6
12
  "bin": {
7
13
  "codemem": "./dist/index.js"
8
14
  },
9
15
  "files": [
10
16
  "dist/",
17
+ ".opencode/entry.js",
11
18
  ".opencode/package.json",
12
19
  ".opencode/plugins/",
13
20
  ".opencode/lib/",
@@ -20,9 +27,9 @@
20
27
  "commander": "^14.0.3",
21
28
  "drizzle-orm": "^0.45.1",
22
29
  "omelette": "^0.4.17",
23
- "@codemem/core": "^0.20.6",
24
- "@codemem/server": "^0.20.6",
25
- "@codemem/mcp": "^0.20.6"
30
+ "@codemem/core": "^0.20.8",
31
+ "@codemem/mcp": "^0.20.8",
32
+ "@codemem/server": "^0.20.8"
26
33
  },
27
34
  "devDependencies": {
28
35
  "@types/node": "^25.5.0",