opencode-memtomem 0.3.9 → 0.3.10

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,14 +6,14 @@ 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.9`, bundling
9
+ The npm release for this core version is `opencode-memtomem@0.3.10`, bundling
10
10
  core `0.6.7`.
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.9"]}
16
+ {"plugin": ["opencode-memtomem@0.3.10"]}
17
17
  ```
18
18
 
19
19
  Upgrade if your pin is still `0.1.3` or older: those bundle pre-`0.3.14`
@@ -1,6 +1,10 @@
1
1
  export declare const CORE_VERSION = "0.6.7";
2
2
  export declare const MCP_REQUIREMENT = "memtomem[onnx]==0.6.7";
3
3
  export declare const TOOL_MODE = "core";
4
+ export declare const LAUNCH_ENV: {
5
+ readonly MEMTOMEM_TOOL_MODE: "core";
6
+ readonly ORT_DISABLE_TELEMETRY: "1";
7
+ };
4
8
  export declare const MCP_TIMEOUT_MS = 60000;
5
9
  export declare const OPENCODE_COMMANDS: {
6
10
  readonly "memtomem-search": {
package/dist/generated.js CHANGED
@@ -2,6 +2,7 @@
2
2
  export const CORE_VERSION = "0.6.7";
3
3
  export const MCP_REQUIREMENT = "memtomem[onnx]==0.6.7";
4
4
  export const TOOL_MODE = "core";
5
+ export const LAUNCH_ENV = { "MEMTOMEM_TOOL_MODE": "core", "ORT_DISABLE_TELEMETRY": "1" };
5
6
  export const MCP_TIMEOUT_MS = 60000;
6
7
  export const OPENCODE_COMMANDS = {
7
8
  "memtomem-search": {
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 { MCP_REQUIREMENT, MCP_TIMEOUT_MS, OPENCODE_COMMANDS, OPENCODE_READ_SKILLS, TOOL_MODE, } from "./generated.js";
5
+ import { LAUNCH_ENV, MCP_REQUIREMENT, MCP_TIMEOUT_MS, OPENCODE_COMMANDS, OPENCODE_READ_SKILLS, } from "./generated.js";
6
6
  const packageRoot = resolve(dirname(fileURLToPath(import.meta.url)), "..");
7
7
  export const SAFE_PERMISSIONS = {
8
8
  "memtomem_*": "ask",
@@ -96,7 +96,7 @@ async function configure(config, input) {
96
96
  command: ["uvx", "--from", MCP_REQUIREMENT, "memtomem-server"],
97
97
  enabled: true,
98
98
  timeout: MCP_TIMEOUT_MS,
99
- environment: { MEMTOMEM_TOOL_MODE: TOOL_MODE },
99
+ environment: { ...LAUNCH_ENV },
100
100
  };
101
101
  }
102
102
  config.command ??= {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-memtomem",
3
- "version": "0.3.9",
3
+ "version": "0.3.10",
4
4
  "description": "Safe memtomem MCP, commands, and read skills for OpenCode",
5
5
  "type": "module",
6
6
  "sideEffects": false,