opencode-mempalace-persistence 1.2.0 → 1.2.1
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 +22 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -121,7 +121,28 @@ When enabled, on every user message:
|
|
|
121
121
|
- **First message**: Injects your identity from `~/.mempalace/identity.txt`
|
|
122
122
|
- **Every message**: Runs `mempalace search` and injects relevant results
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
The context is guaranteed regardless of model discipline. Since the plugin handles search and identity injection, you can simplify AGENTS.md — keep only the Knowledge Graph management steps:
|
|
125
|
+
|
|
126
|
+
```markdown
|
|
127
|
+
# Memory & Knowledge instructions
|
|
128
|
+
|
|
129
|
+
### Step 1 — Query Knowledge Graph
|
|
130
|
+
Call `mempalace_mempalace_kg_query` for entity "user" to retrieve relevant facts.
|
|
131
|
+
|
|
132
|
+
### Step 2 — Record Knowledge Graph facts
|
|
133
|
+
After responding, call `mempalace_mempalace_kg_add` for any new facts found.
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
And remove `"~/.mempalace/identity.txt"` from `instructions` in your opencode.json — the plugin injects it automatically.
|
|
137
|
+
|
|
138
|
+
**Summary: with vs without autoInjectContext**
|
|
139
|
+
|
|
140
|
+
| Feature | Without (default) | With `autoInjectContext: true` |
|
|
141
|
+
|---------|:-:|:-:|
|
|
142
|
+
| Memory search | Model calls `mempalace_search` (AGENTS.md) | Plugin injects automatically |
|
|
143
|
+
| Identity | `instructions: ["identity.txt"]` | Plugin injects automatically |
|
|
144
|
+
| AGENTS.md needed | Full (search + KG + identity) | Minimal (KG management only) |
|
|
145
|
+
| Depends on model discipline | Yes | No |
|
|
125
146
|
|
|
126
147
|
### 6. MemPalace (if not already installed)
|
|
127
148
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-mempalace-persistence",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
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",
|