opencode-mempalace-persistence 1.3.0 → 1.3.2
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 +1 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -61,8 +61,6 @@ The `mempalace mcp` command gives you the exact MCP setup string for your config
|
|
|
61
61
|
|
|
62
62
|
### 4. Memory injection (recommended)
|
|
63
63
|
|
|
64
|
-
> **Starting from v1.4.0, `autoInjectContext` will default to `true` — this will be the only behavior.**
|
|
65
|
-
|
|
66
64
|
The plugin automatically injects your identity + relevant memories from MemPalace into every prompt. No model discipline required.
|
|
67
65
|
|
|
68
66
|
Create `~/.mempalace/plugin-config.json`:
|
|
@@ -95,7 +93,7 @@ Call `mempalace_mempalace_kg_query` for entity "user". Then filter the returned
|
|
|
95
93
|
|
|
96
94
|
After responding, if you discovered any new facts during the conversation (decisions made, milestones reached, problems encountered, preferences expressed, emotional states), call `mempalace_mempalace_kg_add` to record them. Object must be 128 characters or fewer.
|
|
97
95
|
|
|
98
|
-
**This is mandatory** — facts
|
|
96
|
+
**This is mandatory** — record facts you are confident about. Prefer quality over quantity; noisy KG entries degrade retrieval over time.
|
|
99
97
|
|
|
100
98
|
### Naming reminder
|
|
101
99
|
All MemPalace tools use the prefix `mempalace_mempalace_*` (not `mempalace_*`). Examples:
|
|
@@ -294,21 +292,6 @@ When set, the plugin writes a debug log to `/tmp/opencode-mempalace.log`.
|
|
|
294
292
|
|
|
295
293
|
---
|
|
296
294
|
|
|
297
|
-
## Recommendations
|
|
298
|
-
|
|
299
|
-
### Complementary: upstream OpenCode source adapter
|
|
300
|
-
|
|
301
|
-
The MemPalace project has an upstream PR ([#1484](https://github.com/MemPalace/mempalace/pull/1484)) adding `mempalace mine --source opencode` — a pull-based adapter for retrospective ingest of existing OpenCode sessions. This plugin (push, real-time) and the adapter (pull, backfill) are complementary:
|
|
302
|
-
|
|
303
|
-
| Approach | Direction | Captures |
|
|
304
|
-
|----------|-----------|----------|
|
|
305
|
-
| This plugin | Push | Live conversation turns |
|
|
306
|
-
| `mempalace mine --source opencode` (PR #1484) | Pull | Existing OpenCode session files |
|
|
307
|
-
|
|
308
|
-
For full coverage: install this plugin for live capture, run `mempalace mine --source opencode` once for backfill, never think about it again.
|
|
309
|
-
|
|
310
|
-
---
|
|
311
|
-
|
|
312
295
|
## License
|
|
313
296
|
|
|
314
297
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-mempalace-persistence",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
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",
|