mindkeeper-openclaw 0.2.17 → 0.2.19
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 +54 -0
- package/dist/index.js +2 -2
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# mindkeeper-openclaw
|
|
2
|
+
|
|
3
|
+
**Time Machine for Your AI's Brain** — OpenClaw plugin that gives your AI version control for agent context files.
|
|
4
|
+
|
|
5
|
+
Every change to AGENTS.md, SOUL.md, MEMORY.md, skills, and more is automatically tracked. Your AI can browse history, compare versions, create checkpoints, and roll back any file.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
openclaw plugins install mindkeeper-openclaw
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Restart your Gateway once. The plugin auto-starts a background watcher and registers 5 tools.
|
|
14
|
+
|
|
15
|
+
## Talk to Your AI
|
|
16
|
+
|
|
17
|
+
Once installed, ask in natural language:
|
|
18
|
+
|
|
19
|
+
- *"What changed in SOUL.md recently?"*
|
|
20
|
+
- *"Compare my current AGENTS.md to last week's version"*
|
|
21
|
+
- *"Roll back SOUL.md to yesterday"*
|
|
22
|
+
- *"Save a checkpoint called 'perfect-personality' before I experiment"*
|
|
23
|
+
|
|
24
|
+
## Agent Tools
|
|
25
|
+
|
|
26
|
+
| Tool | What It Does |
|
|
27
|
+
|------|--------------|
|
|
28
|
+
| `mind_history` | Browse change history for any tracked file |
|
|
29
|
+
| `mind_diff` | Compare any two versions with full unified diff |
|
|
30
|
+
| `mind_rollback` | Two-step rollback: preview first, then execute after confirmation |
|
|
31
|
+
| `mind_snapshot` | Create named checkpoints before risky changes |
|
|
32
|
+
| `mind_status` | Show what files are tracked and what's changed |
|
|
33
|
+
|
|
34
|
+
## OpenClaw CLI
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
openclaw mind status # See what's tracked and pending
|
|
38
|
+
openclaw mind history SOUL.md # Browse SOUL.md change history
|
|
39
|
+
openclaw mind snapshot stable-v2 # Save a named checkpoint
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Requirements
|
|
43
|
+
|
|
44
|
+
- Node.js ≥ 22
|
|
45
|
+
- OpenClaw with Gateway running
|
|
46
|
+
|
|
47
|
+
## Links
|
|
48
|
+
|
|
49
|
+
- [GitHub](https://github.com/seekcontext/mindkeeper)
|
|
50
|
+
- [Core CLI](https://www.npmjs.com/package/mindkeeper) — Standalone version without OpenClaw
|
|
51
|
+
|
|
52
|
+
## License
|
|
53
|
+
|
|
54
|
+
MIT
|
package/dist/index.js
CHANGED
|
@@ -165,7 +165,7 @@ function formatHistoryResult(commits) {
|
|
|
165
165
|
count: commits.length,
|
|
166
166
|
entries: commits.map((c) => ({
|
|
167
167
|
oid: c.oid.slice(0, 8),
|
|
168
|
-
date: c.date.
|
|
168
|
+
date: c.date.toLocaleString("sv-SE", { hour12: false }),
|
|
169
169
|
message: c.message
|
|
170
170
|
}))
|
|
171
171
|
};
|
|
@@ -221,7 +221,7 @@ function registerTrackerCli(api, trackerRef) {
|
|
|
221
221
|
return;
|
|
222
222
|
}
|
|
223
223
|
for (const c of commits) {
|
|
224
|
-
const date = c.date.
|
|
224
|
+
const date = c.date.toLocaleString("sv-SE", { hour12: false });
|
|
225
225
|
console.log(`${c.oid.slice(0, 8)} ${date} ${c.message}`);
|
|
226
226
|
}
|
|
227
227
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mindkeeper-openclaw",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.19",
|
|
4
4
|
"description": "OpenClaw plugin for mindkeeper: auto-snapshot, diff, and rollback for agent context files",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openclaw",
|
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
"dist",
|
|
27
27
|
"skills",
|
|
28
28
|
"openclaw.plugin.json",
|
|
29
|
-
"scripts/postinstall-merge-config.cjs"
|
|
29
|
+
"scripts/postinstall-merge-config.cjs",
|
|
30
|
+
"README.md"
|
|
30
31
|
],
|
|
31
32
|
"scripts": {
|
|
32
33
|
"build": "node build.mjs",
|