opencode-memtomem 0.1.2 → 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,14 +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
- The published npm release is `opencode-memtomem@0.1.1`; this source tree is
10
- version `0.1.2` (bundling core `0.3.12`), which is not on npm yet. Do not use
11
- an `opencode plugin add` command; OpenCode loads npm plugins from the singular
12
- `plugin` array in `opencode.json`.
13
-
14
- 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:
15
13
 
16
14
  ```json
17
15
  {
@@ -19,7 +17,7 @@ For a released memtomem installation, configure the local MCP server now:
19
17
  "mcp": {
20
18
  "memtomem": {
21
19
  "type": "local",
22
- "command": ["uvx", "--isolated", "--from", "memtomem[all]==0.3.12", "memtomem-server"],
20
+ "command": ["uvx", "--isolated", "--from", "memtomem[all]==0.3.13", "memtomem-server"],
23
21
  "enabled": true,
24
22
  "timeout": 60000,
25
23
  "environment": {"MEMTOMEM_TOOL_MODE": "core"}
@@ -28,15 +26,17 @@ For a released memtomem installation, configure the local MCP server now:
28
26
  }
29
27
  ```
30
28
 
31
- After `0.1.2` 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):
32
31
 
33
32
  ```json
34
- {"plugin": ["opencode-memtomem@0.1.2"]}
33
+ {"plugin": ["opencode-memtomem@0.1.3"]}
35
34
  ```
36
35
 
37
36
  Restart OpenCode, then run `/memtomem-status` or `/memtomem-search topic`.
38
- `uvx` must be available on `PATH`. The manual configuration above starts the
39
- exact-pinned `memtomem[all]==0.3.12` 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`.
40
40
 
41
41
  The plugin supports macOS, Linux, and Windows through WSL. Native Windows has
42
42
  not been verified.
@@ -47,7 +47,10 @@ not been verified.
47
47
  - Add and index require confirmation.
48
48
  - The broad `mem_do` dispatcher is denied.
49
49
  - An existing `mcp.memtomem`, command of the same name, same-named user skill,
50
- 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`.
51
54
 
52
55
  OpenCode's `--auto` mode approves `ask` decisions, and agent-level permissions
53
56
  can override global settings. Review those settings before using write commands.
@@ -1,4 +1,4 @@
1
- export declare const CORE_VERSION = "0.3.12";
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.12";
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.2",
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,