You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the project `.opencode/tui.json` or the user-level `~/.config/opencode/tui.json` depending on the desired scope. The companion displays `Memory: checking`, `Memory: healthy`, `Memory: degraded`, or `Memory: unavailable` in the TUI bottom bar. Run `/memory-health` to refresh it and show the detailed result as a toast. OpenCode's plugin installer can configure both the server and TUI entrypoints from the same package.
41
+
31
42
On a supported platform, npm installs one matching optional native package. Reinstall without `--omit=optional`; the plugin intentionally has no postinstall script or runtime binary download.
32
43
33
44
### How the daemon is installed
@@ -36,7 +47,7 @@ The plugin does not install a global daemon, `systemd` unit, `launchd` service,
36
47
37
48
When OpenCode loads the TypeScript plugin, no native process is started yet. On the first memory request, the plugin resolves the executable from the installed native package, validates the private per-user runtime directory and socket, and connects to an existing compatible daemon when one is already running. If no daemon is available, one contender acquires the startup lock and launches the packaged executable in detached `--daemon` mode; concurrent OpenCode processes wait for the same endpoint instead of starting additional daemons.
38
49
39
-
The daemon is therefore installed and upgraded as part of the npm plugin dependency graph, but started lazily at runtime. It exits automatically after the configured idle interval and is started again on the next memory request. Set `OPENCODE_NATIVE_MEMORY_BIN` only for a development binary override, or `OPENCODE_MEMORY_TRANSPORT=sidecar` for the temporary beta rollback path.
50
+
The daemon is therefore installed and upgraded as part of the npm plugin dependency graph, but started lazily at runtime. It exits automatically after the configured idle interval and is started again on the next memory request. Set `OPENCODE_NATIVE_MEMORY_BIN` only for a development binary override.
40
51
41
52
Supported packages:
42
53
@@ -72,7 +83,7 @@ The plugin automatically registers its packaged `rules/native-memory.md` as an O
72
83
|`memory_import`| Validate and restore a portable JSON snapshot |
73
84
|`memory_feedback`| Record whether recalled memories were useful |
74
85
|`memory_optimize`| Prune expired records and optimize indexes |
75
-
|`memory_status`|Inspect backend, model, and schema status|
86
+
|`memory_status`|Health-check the plugin and inspect backend, model, and schema status |
76
87
|`memory_doctor`| Run shallow or deep integrity checks |
77
88
|`memory_purge`| Confirm and delete the complete project store |
78
89
@@ -119,7 +130,6 @@ Changing model identity or vector-affecting preprocessing requires rebuilding th
119
130
|`OPENCODE_MEMORY_MODEL_CACHE`| Replace the complete local Hugging Face model-cache path |
120
131
|`OPENCODE_MEMORY_REQUEST_TIMEOUT_MS`| Native RPC timeout in milliseconds; default 5 minutes, maximum 2 hours |
0 commit comments