opencode-memtomem 0.3.2 → 0.3.4

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/README.md CHANGED
@@ -6,28 +6,34 @@ and three read-only skills. It does not add event hooks or automatic indexing.
6
6
 
7
7
  ## Install
8
8
 
9
- The npm release for this core version is `opencode-memtomem@0.3.2`, bundling
10
- core `0.6.1`.
9
+ The npm release for this core version is `opencode-memtomem@0.3.4`, bundling
10
+ core `0.6.2`.
11
11
 
12
12
  Do not use an `opencode plugin add` command; OpenCode loads npm plugins from
13
13
  the singular `plugin` array in `opencode.json`:
14
14
 
15
15
  ```json
16
- {"plugin": ["opencode-memtomem@0.3.2"]}
16
+ {"plugin": ["opencode-memtomem@0.3.4"]}
17
17
  ```
18
18
 
19
19
  Upgrade if your pin is still `0.1.3` or older: those bundle pre-`0.3.14`
20
20
  cores, whose `mcp` dependency has no `<2` upper bound, so a fresh resolve
21
21
  picks up `mcp` 2.x and fails at import (#1978).
22
22
 
23
+ Upgrade if your pin is `0.3.3` or older and your memtomem configuration selects
24
+ an ONNX embedding provider, such as the E5 CPU profile: those releases start the
25
+ server without the ONNX dependencies (#2453). The plugin never replaces an
26
+ `mcp.memtomem` entry you already define, so a hand-written entry keeps its own
27
+ launch command — update or remove it to use the plugin's.
28
+
23
29
  Restart OpenCode, then run `/memtomem-status` or `/memtomem-search topic`.
24
30
  `uvx` must be available on `PATH`; the plugin starts the exact-pinned
25
- `memtomem==0.6.1` runtime on demand. For development from this repository,
31
+ `memtomem[onnx]==0.6.2` runtime on demand. For development from this repository,
26
32
  point the same `plugin` array at `packages/opencode-memtomem/dist/server.js`.
27
33
 
28
34
  If you only need the MCP tools — without the bundled commands and skills —
29
35
  configure the local MCP server directly instead, which pulls the
30
- `memtomem[all]==0.6.1` runtime from PyPI:
36
+ `memtomem[all]==0.6.2` runtime from PyPI:
31
37
 
32
38
  ```json
33
39
  {
@@ -35,7 +41,7 @@ configure the local MCP server directly instead, which pulls the
35
41
  "mcp": {
36
42
  "memtomem": {
37
43
  "type": "local",
38
- "command": ["uvx", "--isolated", "--from", "memtomem[all]==0.6.1", "memtomem-server"],
44
+ "command": ["uvx", "--isolated", "--from", "memtomem[all]==0.6.2", "memtomem-server"],
39
45
  "enabled": true,
40
46
  "timeout": 60000,
41
47
  "environment": {"MEMTOMEM_TOOL_MODE": "core"}
@@ -1,4 +1,5 @@
1
- export declare const CORE_VERSION = "0.6.1";
1
+ export declare const CORE_VERSION = "0.6.2";
2
+ export declare const MCP_REQUIREMENT = "memtomem[onnx]==0.6.2";
2
3
  export declare const TOOL_MODE = "core";
3
4
  export declare const MCP_TIMEOUT_MS = 60000;
4
5
  export declare const OPENCODE_COMMANDS: {
package/dist/generated.js CHANGED
@@ -1,5 +1,6 @@
1
1
  // Generated by tools/render_plugin_assets.py. Do not edit.
2
- export const CORE_VERSION = "0.6.1";
2
+ export const CORE_VERSION = "0.6.2";
3
+ export const MCP_REQUIREMENT = "memtomem[onnx]==0.6.2";
3
4
  export const TOOL_MODE = "core";
4
5
  export const MCP_TIMEOUT_MS = 60000;
5
6
  export const OPENCODE_COMMANDS = {
package/dist/server.js CHANGED
@@ -2,7 +2,7 @@ import { access } from "node:fs/promises";
2
2
  import { homedir } from "node:os";
3
3
  import { basename, dirname, join, resolve, sep } from "node:path";
4
4
  import { fileURLToPath } from "node:url";
5
- import { CORE_VERSION, MCP_TIMEOUT_MS, OPENCODE_COMMANDS, OPENCODE_READ_SKILLS, TOOL_MODE, } from "./generated.js";
5
+ import { MCP_REQUIREMENT, MCP_TIMEOUT_MS, OPENCODE_COMMANDS, OPENCODE_READ_SKILLS, TOOL_MODE, } from "./generated.js";
6
6
  const packageRoot = resolve(dirname(fileURLToPath(import.meta.url)), "..");
7
7
  export const SAFE_PERMISSIONS = {
8
8
  "memtomem_*": "ask",
@@ -93,7 +93,7 @@ async function configure(config, input) {
93
93
  if (!("memtomem" in config.mcp)) {
94
94
  config.mcp.memtomem = {
95
95
  type: "local",
96
- command: ["uvx", "--from", `memtomem==${CORE_VERSION}`, "memtomem-server"],
96
+ command: ["uvx", "--from", MCP_REQUIREMENT, "memtomem-server"],
97
97
  enabled: true,
98
98
  timeout: MCP_TIMEOUT_MS,
99
99
  environment: { MEMTOMEM_TOOL_MODE: TOOL_MODE },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-memtomem",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "Safe memtomem MCP, commands, and read skills for OpenCode",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -35,8 +35,8 @@
35
35
  "pack:check": "npm pack --dry-run"
36
36
  },
37
37
  "devDependencies": {
38
- "@opencode-ai/plugin": "1.18.27",
39
- "@types/node": "26.4.1",
38
+ "@opencode-ai/plugin": "1.18.30",
39
+ "@types/node": "26.5.1",
40
40
  "typescript": "5.9.3"
41
41
  },
42
42
  "publishConfig": {