Skip to content

Commit 971e5a7

Browse files
authored
Merge pull request #1851 from undeadindustries/feat/cursor-checkpoint-tool
feat: add mempalace_checkpoint batch save tool
2 parents 7392ab8 + 352eb67 commit 971e5a7

23 files changed

Lines changed: 288 additions & 34 deletions

.claude-plugin/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MemPalace Claude Code Plugin
22

3-
A Claude Code plugin that gives your AI a persistent memory system. Mine projects and conversations into a searchable palace backed by ChromaDB, with 33 MCP tools, auto-save hooks, and 5 guided skills.
3+
A Claude Code plugin that gives your AI a persistent memory system. Mine projects and conversations into a searchable palace backed by ChromaDB, with 34 MCP tools, auto-save hooks, and 5 guided skills.
44

55
## Prerequisites
66

@@ -50,7 +50,7 @@ Set the `MEMPAL_DIR` environment variable to a directory path to automatically r
5050

5151
## MCP Server
5252

53-
The plugin automatically configures a local MCP server with 33 tools for storing, searching, and managing memories. No manual MCP setup is required -- `/mempalace:init` handles everything.
53+
The plugin automatically configures a local MCP server with 34 tools for storing, searching, and managing memories. No manual MCP setup is required -- `/mempalace:init` handles everything.
5454

5555
## Full Documentation
5656

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{
99
"name": "mempalace",
1010
"source": "./.claude-plugin",
11-
"description": "AI memory system — mine projects and conversations into a searchable palace. 33 MCP tools, auto-save hooks, guided setup.",
11+
"description": "AI memory system — mine projects and conversations into a searchable palace. 34 MCP tools, auto-save hooks, guided setup.",
1212
"version": "3.4.1",
1313
"author": {
1414
"name": "milla-jovovich"

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mempalace",
33
"version": "3.4.1",
4-
"description": "Give your AI a memory — mine projects and conversations into a searchable palace. 33 MCP tools, auto-save hooks, and guided setup.",
4+
"description": "Give your AI a memory — mine projects and conversations into a searchable palace. 34 MCP tools, auto-save hooks, and guided setup.",
55
"author": {
66
"name": "milla-jovovich"
77
},

.codex-plugin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MemPalace - Codex CLI Plugin
22

3-
Give your AI a persistent memory -- mine projects and conversations into a searchable palace backed by ChromaDB, with 33 MCP tools, auto-save hooks, and guided skills.
3+
Give your AI a persistent memory -- mine projects and conversations into a searchable palace backed by ChromaDB, with 34 MCP tools, auto-save hooks, and guided skills.
44

55
## Prerequisites
66

.codex-plugin/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mempalace",
33
"version": "3.4.1",
4-
"description": "Give your AI a memory — mine projects and conversations into a searchable palace. 33 MCP tools, auto-save hooks, and guided setup.",
4+
"description": "Give your AI a memory — mine projects and conversations into a searchable palace. 34 MCP tools, auto-save hooks, and guided setup.",
55
"author": {
66
"name": "milla-jovovich"
77
},
@@ -27,7 +27,7 @@
2727
"interface": {
2828
"displayName": "MemPalace",
2929
"shortDescription": "AI memory system for Codex",
30-
"longDescription": "Give your AI a persistent memory — mine projects and conversations into a searchable palace backed by ChromaDB, with 33 MCP tools, auto-save hooks, and guided skills.",
30+
"longDescription": "Give your AI a persistent memory — mine projects and conversations into a searchable palace backed by ChromaDB, with 34 MCP tools, auto-save hooks, and guided skills.",
3131
"developerName": "milla-jovovich",
3232
"category": "Coding",
3333
"capabilities": [

.cursor-plugin/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MemPalace Cursor Plugin
22

3-
A Cursor IDE plugin that gives your agent a persistent memory system. Auto-registers the `mempalace-mcp` server (33 MCP tools), ships 5 slash commands, two model-invocable skills (setup/mining/search and a recall protocol), and an optional recall rule.
3+
A Cursor IDE plugin that gives your agent a persistent memory system. Auto-registers the `mempalace-mcp` server (34 MCP tools), ships 5 slash commands, two model-invocable skills (setup/mining/search and a recall protocol), and an optional recall rule.
44

55
> Hooks (auto-save + session-start memory recall) are shipped separately under `hooks/cursor/` so the plugin is safe to install in any Cursor workspace without touching the agent loop. See [Hooks](#hooks-optional) below.
66
@@ -87,7 +87,7 @@ This plugin ships `mcp.json` at the plugin root, so Cursor auto-loads the `mempa
8787
}
8888
```
8989

90-
All 33 MemPalace MCP tools (`mempalace_search`, `mempalace_add_drawer`, `mempalace_diary_write`, `mempalace_check_duplicate`, `mempalace_diary_read`, …) become available to the agent immediately. No manual `~/.cursor/mcp.json` edit required.
90+
All 34 MemPalace MCP tools (`mempalace_search`, `mempalace_add_drawer`, `mempalace_diary_write`, `mempalace_check_duplicate`, `mempalace_diary_read`, …) become available to the agent immediately. No manual `~/.cursor/mcp.json` edit required.
9191

9292
If the server doesn't appear, confirm `mempalace-mcp` is on the user `$PATH`:
9393

.cursor-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{
99
"name": "mempalace",
1010
"source": ".",
11-
"description": "AI memory system — mine projects and conversations into a searchable palace. 33 MCP tools, slash commands, and a guided skill for Cursor.",
11+
"description": "AI memory system — mine projects and conversations into a searchable palace. 34 MCP tools, slash commands, and a guided skill for Cursor.",
1212
"author": {
1313
"name": "milla-jovovich"
1414
}

.cursor-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mempalace",
3-
"description": "Give your AI a memory — mine projects and conversations into a searchable palace. 33 MCP tools, slash commands, and a guided skill for Cursor.",
3+
"description": "Give your AI a memory — mine projects and conversations into a searchable palace. 34 MCP tools, slash commands, and a guided skill for Cursor.",
44
"author": {
55
"name": "milla-jovovich"
66
},

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ Usage and tool reference:
225225

226226
## MCP server
227227

228-
33 MCP tools cover palace reads/writes, knowledge-graph operations,
228+
34 MCP tools cover palace reads/writes, knowledge-graph operations,
229229
cross-wing navigation, drawer management, and agent diaries. Installation
230230
and the full tool list:
231231
[mempalaceofficial.com/reference/mcp-tools](https://mempalaceofficial.com/reference/mcp-tools.html).

hooks/cursor/mempal_save_hook_cursor.sh

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,12 @@ _mempal_build_followup() {
163163
import json, sys
164164
wing = sys.argv[1] if len(sys.argv) > 1 else "cursor_session"
165165
msg = (
166-
"MemPalace save checkpoint. "
167-
"(1) Call mempalace_check_duplicate on the key topics, decisions, "
168-
"and verbatim quotes from this session. "
169-
"(2) For each non-duplicate, call mempalace_add_drawer (wing="
170-
+ wing + ", room=<short topic>, content=verbatim quote). "
171-
"(3) Call mempalace_diary_write (agent_name=cursor-ide, wing="
172-
+ wing + ", entry=AAAK-format summary). "
173-
"Then stop."
166+
"MemPalace save checkpoint. Call mempalace_checkpoint ONCE with: "
167+
"items=[{wing: " + wing + ", room: <short topic>, content: <verbatim "
168+
"quote>}, ...] for the key topics, decisions, and verbatim quotes from "
169+
"this session; and diary={agent_name: cursor-ide, wing: " + wing + ", "
170+
"entry: <AAAK-format summary>}. It dedups, files non-duplicates, and "
171+
"writes the diary in one call. Then stop."
174172
)
175173
print(json.dumps({"followup_message": msg}))
176174
' "$WING"

0 commit comments

Comments
 (0)