mindkeeper-openclaw 0.2.20 → 0.2.22

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 context-vault contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mindkeeper-openclaw",
3
- "version": "0.2.20",
3
+ "version": "0.2.22",
4
4
  "description": "OpenClaw plugin for mindkeeper: auto-snapshot, diff, and rollback for agent context files",
5
5
  "keywords": [
6
6
  "openclaw",
@@ -29,13 +29,6 @@
29
29
  "scripts/postinstall-merge-config.cjs",
30
30
  "README.md"
31
31
  ],
32
- "scripts": {
33
- "build": "node build.mjs",
34
- "typecheck": "tsc --noEmit",
35
- "clean": "rm -rf dist",
36
- "prepublishOnly": "npm run clean && npm run build",
37
- "postinstall": "node scripts/postinstall-merge-config.cjs"
38
- },
39
32
  "openclaw": {
40
33
  "extensions": [
41
34
  "./dist/index.js"
@@ -57,5 +50,11 @@
57
50
  },
58
51
  "publishConfig": {
59
52
  "access": "public"
53
+ },
54
+ "scripts": {
55
+ "build": "node build.mjs",
56
+ "typecheck": "tsc --noEmit",
57
+ "clean": "rm -rf dist",
58
+ "postinstall": "node scripts/postinstall-merge-config.cjs"
60
59
  }
61
- }
60
+ }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Time Machine for Your AI's Brain — version control for agent context files. This skill teaches your AI to use mindkeeper tools for history, diff, rollback, and snapshots.
4
4
 
5
- **Drop-in setup:** Add this skill alone the AI will automatically install the mindkeeper-openclaw plugin and restart the Gateway when you first ask for mindkeeper capability. No manual steps required.
5
+ **Setup:** Add this skill alone. When you first ask for mindkeeper capability, the AI will ask for your confirmation before installing the mindkeeper-openclaw plugin and restarting the Gateway. You can also install the plugin manually (see Requirements).
6
6
 
7
7
  ## What It Does
8
8
 
@@ -16,12 +16,26 @@ Time Machine for Your AI's Brain — version control for agent context files. Th
16
16
  - Node.js ≥ 22
17
17
  - OpenClaw with Gateway running
18
18
 
19
- The mindkeeper-openclaw plugin is installed automatically by the AI when you first use mindkeeper (see Bootstrap in SKILL.md).
19
+ The mindkeeper-openclaw plugin provides the mind_* tools. The AI will ask for your confirmation before running `openclaw plugins install mindkeeper-openclaw` and restarting the Gateway on first use. Alternatively, install it yourself:
20
+
21
+ ```bash
22
+ openclaw plugins install mindkeeper-openclaw
23
+ # Then restart your Gateway
24
+ ```
25
+
26
+ ## Permissions & Why They Are Needed
27
+
28
+ | Action | Purpose |
29
+ |--------|---------|
30
+ | `openclaw plugins install mindkeeper-openclaw` | Fetches the official plugin from npm to add mind_status, mind_history, mind_diff, mind_rollback, mind_snapshot tools |
31
+ | Gateway restart | Loads the newly installed plugin into the running Gateway |
32
+
33
+ **User consent:** The AI will not run these commands until you explicitly confirm. This ensures you control when plugins are installed and when the Gateway restarts.
20
34
 
21
35
  ## How to Use
22
36
 
23
37
  1. Install this skill: `clawhub install mindkeeper`
24
- 2. Ask your AI in natural language (plugin install + restart happen automatically on first use):
38
+ 2. Ask your AI in natural language. On first use, the AI will ask for confirmation before installing the plugin and restarting the Gateway:
25
39
  - "What changed in SOUL.md recently?"
26
40
  - "Compare my current AGENTS.md to last week's version"
27
41
  - "Roll back SOUL.md to yesterday"
@@ -1,7 +1,9 @@
1
1
  ---
2
2
  name: mindkeeper
3
3
  description: Time Machine for Your AI's Brain — version control for agent context files. Use when the user asks about changes in SOUL.md, AGENTS.md, MEMORY.md, or other agent context files; when they want to undo, rollback, or compare versions; or when they need a checkpoint before risky edits.
4
- version: 1.1.0
4
+ version: 1.2.1
5
+ homepage: https://github.com/seekcontext/mindkeeper
6
+ repository: https://github.com/seekcontext/mindkeeper
5
7
  ---
6
8
 
7
9
  # Mindkeeper — Time Machine for Your AI's Brain
@@ -10,14 +12,19 @@ Use mindkeeper tools when the user asks about changes, history, or versions of t
10
12
 
11
13
  ## Bootstrap (One-time setup)
12
14
 
13
- **When the user enables mindkeeper or asks for mindkeeper capability**, first try `mind_status`. If it fails (tool not found or similar), run this flow **automatically without asking**:
15
+ **When the user enables mindkeeper or asks for mindkeeper capability**, first try `mind_status`. If it fails (tool not found or similar):
14
16
 
15
- 1. **Install the plugin** Run via bash:
16
- ```bash
17
- openclaw plugins install mindkeeper-openclaw
18
- ```
19
- 2. **Restart the gateway** — Use the `gateway` tool with `action: "restart"` and `note: "Restarting to load mindkeeper plugin"`. If gateway restart is disabled or fails, tell the user: "Plugin installed. Restart your Gateway manually to apply."
20
- 3. **Confirm** Tell the user: "Mindkeeper is ready. Restart complete — you can now ask about history, diffs, rollbacks, or snapshots."
17
+ 1. **Ask for confirmation** — Tell the user: "Mindkeeper needs the mindkeeper-openclaw plugin to work. I'll need to run `openclaw plugins install mindkeeper-openclaw` and restart the Gateway. May I proceed?" **Do not install or restart until the user explicitly confirms.**
18
+
19
+ 2. **After user confirms** — Run this flow:
20
+ - **Install the plugin** — Run via bash:
21
+ ```bash
22
+ openclaw plugins install mindkeeper-openclaw
23
+ ```
24
+ - **Restart the gateway** — Use the `gateway` tool with `action: "restart"` and `note: "Restarting to load mindkeeper plugin"`. If gateway restart is disabled or fails, tell the user: "Plugin installed. Restart your Gateway manually to apply."
25
+ - **Confirm** — Tell the user: "Mindkeeper is ready. Restart complete — you can now ask about history, diffs, rollbacks, or snapshots."
26
+
27
+ 3. **Alternative** — If the user prefers to install manually, tell them: "Run `openclaw plugins install mindkeeper-openclaw` in your terminal, then restart your Gateway. After that, mindkeeper will be ready."
21
28
 
22
29
  If `mind_status` succeeds, the plugin is already installed; skip the bootstrap and proceed with the user's request.
23
30
 
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "Mindkeeper",
3
3
  "tagline": "Time Machine for Your AI's Brain",
4
- "description": "Time Machine for Your AI's Brain — version control for agent context files. Every change to AGENTS.md, SOUL.md, MEMORY.md, skills, and other context files is automatically tracked. Your AI can browse history, compare versions with diff, create named checkpoints, and roll back any file to any previous state.\n\nDrop-in setup: add this skill alone when the user first asks for mindkeeper, the AI automatically installs the mindkeeper-openclaw plugin and restarts the Gateway. No manual install or restart required.\n\nUse this skill when the user asks about changes, history, or versions of their agent context files. The AI learns to use mind_status, mind_history, mind_diff, mind_rollback, and mind_snapshot tools.",
4
+ "description": "Time Machine for Your AI's Brain — version control for agent context files. Every change to AGENTS.md, SOUL.md, MEMORY.md, skills, and other context files is automatically tracked. Your AI can browse history, compare versions with diff, create named checkpoints, and roll back any file to any previous state.\n\nSetup: add this skill alone. When the user first asks for mindkeeper, the AI will ask for explicit confirmation before installing the mindkeeper-openclaw plugin and restarting the Gateway. User consent is required for plugin install and Gateway restart.\n\nUse this skill when the user asks about changes, history, or versions of their agent context files. The AI learns to use mind_status, mind_history, mind_diff, mind_rollback, and mind_snapshot tools.",
5
5
  "category": "productivity",
6
6
  "tags": ["version-control", "agent", "history", "rollback", "snapshot", "diff", "openclaw"],
7
- "version": "1.1.0",
7
+ "version": "1.2.1",
8
8
  "license": "MIT",
9
9
  "pricing": "free",
10
- "support_url": "https://github.com/seekcontext/mindkeeper/issues",
11
- "homepage": "https://github.com/seekcontext/mindkeeper"
10
+ "homepage": "https://github.com/seekcontext/mindkeeper",
11
+ "repository": "https://github.com/seekcontext/mindkeeper",
12
+ "support_url": "https://github.com/seekcontext/mindkeeper/issues"
12
13
  }