opencode-mempalace-persistence 1.2.2 → 1.2.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.
Files changed (2) hide show
  1. package/README.md +6 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -106,17 +106,18 @@ This is loaded automatically at session start via `instructions` in opencode.jso
106
106
 
107
107
  ### 5. (Optional) Auto-inject memory context
108
108
 
109
- By default, the model must search MemPalace on its own via AGENTS.md instructions. For models with poor tool-use discipline, enable auto-injection — the plugin injects identity + relevant memories directly into the prompt:
109
+ By default, the model must search MemPalace on its own via AGENTS.md instructions. For models with poor tool-use discipline, enable auto-injection — the plugin injects identity + relevant memories directly into the prompt.
110
+
111
+ Create `~/.mempalace/plugin-config.json`:
110
112
 
111
113
  ```json
112
114
  {
113
- "plugin": ["opencode-mempalace-persistence"],
114
- "mempalace": {
115
- "autoInjectContext": true
116
- }
115
+ "autoInjectContext": true
117
116
  }
118
117
  ```
119
118
 
119
+ **Do NOT put this in `opencode.json`** — OpenCode's schema validation rejects unknown keys. The plugin reads its config from `~/.mempalace/plugin-config.json` instead.
120
+
120
121
  When enabled, on every user message:
121
122
  - **First message**: Injects your identity from `~/.mempalace/identity.txt`
122
123
  - **Every message**: Runs `mempalace search` and injects relevant results
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-mempalace-persistence",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "OpenCode plugin — auto-sync conversations to MemPalace memory in real-time. No forced wings, KG extraction via MCP tools.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",