opencode-memtomem 0.1.1 → 0.1.3

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
@@ -4,13 +4,12 @@ Safe, configuration-only memtomem integration for OpenCode 1.17.18 through the
4
4
  current v1 line. It adds an exact-pinned local MCP server, six slash commands,
5
5
  and three read-only skills. It does not add event hooks or automatic indexing.
6
6
 
7
- ## Current status
7
+ ## Install
8
8
 
9
- `opencode-memtomem` is present in this source repository but is not currently
10
- published to npm. Do not use an `opencode plugin add` command; OpenCode loads
11
- npm plugins from the singular `plugin` array in `opencode.json`.
12
-
13
- For a released memtomem installation, configure the local MCP server now:
9
+ The published npm release is `opencode-memtomem@0.1.2` (bundling core
10
+ `0.3.12`). Version `0.1.3` the one this repository's source describes,
11
+ bundling core `0.3.13` is not on npm yet. Until it is, configure the local
12
+ MCP server directly, which pulls the `memtomem[all]==0.3.13` runtime from PyPI:
14
13
 
15
14
  ```json
16
15
  {
@@ -18,7 +17,7 @@ For a released memtomem installation, configure the local MCP server now:
18
17
  "mcp": {
19
18
  "memtomem": {
20
19
  "type": "local",
21
- "command": ["uvx", "--isolated", "--from", "memtomem[all]==0.3.11", "memtomem-server"],
20
+ "command": ["uvx", "--isolated", "--from", "memtomem[all]==0.3.13", "memtomem-server"],
22
21
  "enabled": true,
23
22
  "timeout": 60000,
24
23
  "environment": {"MEMTOMEM_TOOL_MODE": "core"}
@@ -27,15 +26,17 @@ For a released memtomem installation, configure the local MCP server now:
27
26
  }
28
27
  ```
29
28
 
30
- After the npm package is published, the plugin form will be:
29
+ After `0.1.3` is published, add it through OpenCode's singular `plugin`
30
+ configuration key (there is no `opencode plugin add` command):
31
31
 
32
32
  ```json
33
- {"plugin": ["opencode-memtomem@0.1.1"]}
33
+ {"plugin": ["opencode-memtomem@0.1.3"]}
34
34
  ```
35
35
 
36
36
  Restart OpenCode, then run `/memtomem-status` or `/memtomem-search topic`.
37
- `uvx` must be available on `PATH`. The manual configuration above starts the
38
- exact-pinned `memtomem[all]==0.3.11` runtime on demand.
37
+ `uvx` must be available on `PATH`; the plugin starts the exact-pinned
38
+ `memtomem==0.3.13` runtime on demand. For development from this repository,
39
+ point the same `plugin` array at `packages/opencode-memtomem/dist/server.js`.
39
40
 
40
41
  The plugin supports macOS, Linux, and Windows through WSL. Native Windows has
41
42
  not been verified.
@@ -46,7 +47,10 @@ not been verified.
46
47
  - Add and index require confirmation.
47
48
  - The broad `mem_do` dispatcher is denied.
48
49
  - An existing `mcp.memtomem`, command of the same name, same-named user skill,
49
- or memtomem-specific permission rule wins over the plugin default.
50
+ or memtomem-specific permission rule wins over the plugin default. The
51
+ dedup is keyed on the exact `memtomem` name — a manual server under any
52
+ other key is not deduplicated and both servers would run, so keep manual
53
+ entries named `memtomem`.
50
54
 
51
55
  OpenCode's `--auto` mode approves `ask` decisions, and agent-level permissions
52
56
  can override global settings. Review those settings before using write commands.
@@ -1,4 +1,4 @@
1
- export declare const CORE_VERSION = "0.3.11";
1
+ export declare const CORE_VERSION = "0.3.13";
2
2
  export declare const TOOL_MODE = "core";
3
3
  export declare const MCP_TIMEOUT_MS = 60000;
4
4
  export declare const OPENCODE_COMMANDS: {
package/dist/generated.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // Generated by tools/render_plugin_assets.py. Do not edit.
2
- export const CORE_VERSION = "0.3.11";
2
+ export const CORE_VERSION = "0.3.13";
3
3
  export const TOOL_MODE = "core";
4
4
  export const MCP_TIMEOUT_MS = 60000;
5
5
  export const OPENCODE_COMMANDS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-memtomem",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Safe memtomem MCP, commands, and read skills for OpenCode",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -35,7 +35,7 @@
35
35
  "pack:check": "npm pack --dry-run"
36
36
  },
37
37
  "devDependencies": {
38
- "@opencode-ai/plugin": "1.17.18",
38
+ "@opencode-ai/plugin": "1.18.3",
39
39
  "@types/node": "26.1.1",
40
40
  "typescript": "5.9.3"
41
41
  },