opencode-omni-memory-plugin 2.0.0 → 2.0.1

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.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.0.1
@@ -2,7 +2,11 @@
2
2
  "use strict";
3
3
 
4
4
  /**
5
- * npm entry point for opencode-omni-memory-plugin.
5
+ * CLI entry point (opencode-omni-memory-plugin binary) for install.sh.
6
+ *
7
+ * This is a .cjs file because the package is type:module (so the package's
8
+ * main entry can be imported as an OpenCode plugin), while this wrapper uses
9
+ * CommonJS require().
6
10
  *
7
11
  * Delegates to the bundled install.sh, which already resolves its own script
8
12
  * directory as the install source (the SCRIPT_DIR branch in prepare_source),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-omni-memory-plugin",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Native, local, Git-friendly long-term memory and project continuity for OpenCode: a global skill, companion plugin, slash commands, and instruction wiring.",
5
5
  "keywords": [
6
6
  "opencode",
@@ -21,9 +21,13 @@
21
21
  },
22
22
  "license": "MIT",
23
23
  "author": "caoool",
24
- "type": "commonjs",
24
+ "type": "module",
25
+ "main": "./plugins/omni-memory.js",
26
+ "exports": {
27
+ ".": "./plugins/omni-memory.js"
28
+ },
25
29
  "bin": {
26
- "opencode-omni-memory-plugin": "bin/cli.js"
30
+ "opencode-omni-memory-plugin": "bin/cli.cjs"
27
31
  },
28
32
  "files": [
29
33
  "bin/",
@@ -42,6 +46,9 @@
42
46
  "engines": {
43
47
  "node": ">=18"
44
48
  },
49
+ "peerDependencies": {
50
+ "@opencode-ai/plugin": ">=1.17.0"
51
+ },
45
52
  "publishConfig": {
46
53
  "access": "public",
47
54
  "provenance": true