一键导入
rawgentic-memorypalace-upgrade
Upgrade the mempalace dependency to the latest version. Displays old and new version numbers, warns on major version changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Upgrade the mempalace dependency to the latest version. Displays old and new version numbers, warns on major version changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Search long-term memory, invalidate stale decisions, view decision timelines, or browse cross-project tunnels. Supports subcommands: search (default), invalidate, timeline, tunnels.
Start, stop, or check status of the web frontend containers for browsing memory data.
| name | rawgentic-memorypalace:upgrade |
| description | Upgrade the mempalace dependency to the latest version. Displays old and new version numbers, warns on major version changes. |
| argument-hint | No arguments needed |
Upgrade the mempalace library that powers the memory backend.
mempalace can be installed via pipx, pip, or the plugin's own .venv. Run this to detect which:
echo "=== pipx ===" && pipx list 2>/dev/null | grep -A1 "mempalace" || echo "not in pipx"
echo "=== pip (user) ===" && python3 -c "import mempalace; print(mempalace.__version__)" 2>/dev/null || echo "not in python3"
echo "=== plugin venv ===" && PLUGIN_VENV=$(jq -r '.plugins["rawgentic-memorypalace@rawgentic-memorypalace"][0].installPath' ~/.claude/plugins/installed_plugins.json 2>/dev/null) && "$PLUGIN_VENV/.venv/bin/python3" -c "import mempalace; print(mempalace.__version__)" 2>/dev/null || echo "not in plugin venv"
Determine the install method:
pipx list shows package mempalace X.Y.Z → use pipx upgrade mempalacepython3 -c "import mempalace" succeeds → use pip install --upgrade mempalace<plugin-venv>/bin/pip install --upgrade mempalacepipx install mempalace (preferred) or pip install --user mempalace. STOP.Record the current version from whichever method succeeds.
Use the appropriate command based on detected install method:
| Method | Upgrade command |
|---|---|
| pipx | pipx upgrade mempalace |
| pip (user/system) | pip install --upgrade mempalace |
| plugin venv | <plugin-venv-path>/bin/pip install --upgrade mempalace |
Re-check the version using the same Python that had mempalace:
# For pipx:
~/.local/bin/mempalace --version 2>/dev/null || ~/.local/share/pipx/venvs/mempalace/bin/python3 -c "import mempalace; print(mempalace.__version__)"
# For pip:
python3 -c "import mempalace; print(mempalace.__version__)"
Compare the old and new version strings.
If versions are the same:
mempalace is already up to date (v{version}).
If versions differ:
## MemPalace Upgraded
- **Old version:** v{old_version}
- **New version:** v{new_version}
- **Install method:** {pipx|pip|plugin venv}
If the major version changed (e.g., 3.x → 4.x):
⚠️ **Major version change detected** (v{old_major} → v{new_major}).
This may include breaking API changes. Check the mempalace changelog
before restarting sessions. The memory server may need updates.
Run a quick import check using the correct Python to confirm the upgrade didn't break anything:
# Use the same python that has mempalace (pipx venv, system python3, or plugin venv)
<python> -c "from mempalace.palace import get_collection; from mempalace.searcher import search_memories; from mempalace.palace_graph import find_tunnels, follow_tunnels; from mempalace.fact_checker import check_text; print('All imports OK')"
If verification fails, warn the user that the upgrade may have broken compatibility.
STOP after reporting results. Do NOT restart any servers.