name: openclaw-updater description: Check and update OpenClaw to the latest version from GitHub. Use when the user asks to update OpenClaw, check for updates, sync with GitHub, or review changelog. Handles source installation from GitHub.
OpenClaw Updater
Automate OpenClaw updates from GitHub repository.
Source Location
OpenClaw source is installed at: /Users/jianxiong/.openclaw/source/openclaw
Check for Updates
Get current installed version:
head -5 /Users/jianxiong/.openclaw/source/openclaw/package.json | grep versionFetch latest GitHub version:
curl -s "https://raw.githubusercontent.com/openclaw/openclaw/main/package.json" | head -5 | grep versionFetch changelog for update details:
curl -s "https://raw.githubusercontent.com/openclaw/openclaw/main/CHANGELOG.md" | head -200
Update from GitHub Source
cd /Users/jianxiong/.openclaw/source/openclaw
git pull origin main
pnpm install
pnpm build
npm install -g .
Update Summary Format (Chinese)
🔄 **OpenClaw 更新摘要**
📦 当前版本: `X.X.X`
🆕 最新版本: `Y.Y.Y`
**主要更新**
• [Feature 1]
• [Feature 2]
**修复**
• [Fix 1]
• [Fix 2]
Post-Update Actions
- Verify new version:
npm list -g openclaw - Restart gateway: use
gatewaytool withaction: "restart" - Send summary to Telegram (target: 6033691813)
Cron Job
Daily 9 PM (21:00 Asia/Shanghai) auto-update is configured via OpenClaw cron tool.