From 0f5facebe5c93129ed92ef7aef6a7765f1290e6d Mon Sep 17 00:00:00 2001 From: ThanhNguyxn Date: Fri, 30 Jan 2026 13:41:17 +0700 Subject: [PATCH] docs: update upstream sync workflow branding --- .agent/workflows/update_clawdbot.md | 30 ++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.agent/workflows/update_clawdbot.md b/.agent/workflows/update_clawdbot.md index 692ee84e4..2dc31c173 100644 --- a/.agent/workflows/update_clawdbot.md +++ b/.agent/workflows/update_clawdbot.md @@ -1,8 +1,8 @@ --- -description: Update Clawdbot from upstream when branch has diverged (ahead/behind) +description: Update OpenClaw from upstream when branch has diverged (ahead/behind) --- -# Clawdbot Upstream Sync Workflow +# OpenClaw Upstream Sync Workflow Use this workflow when your fork has diverged from upstream (e.g., "18 commits ahead, 29 commits behind"). @@ -110,7 +110,7 @@ pnpm build pnpm ui:build # Run diagnostics -pnpm clawdbot doctor +pnpm openclaw doctor ``` --- @@ -129,16 +129,16 @@ pnpm mac:package ```bash # Kill running app -pkill -x "Clawdbot" || true +pkill -x "OpenClaw" || true # Move old version -mv /Applications/Clawdbot.app /tmp/Clawdbot-backup.app +mv /Applications/OpenClaw.app /tmp/OpenClaw-backup.app # Install new build -cp -R dist/Clawdbot.app /Applications/ +cp -R dist/OpenClaw.app /Applications/ # Launch -open /Applications/Clawdbot.app +open /Applications/OpenClaw.app ``` --- @@ -149,13 +149,13 @@ After rebuilding the macOS app, always verify it works correctly: ```bash # Check gateway health -pnpm clawdbot health +pnpm openclaw health # Verify no zombie processes -ps aux | grep -E "(clawdbot|gateway)" | grep -v grep +ps aux | grep -E "(openclaw|gateway)" | grep -v grep # Test agent functionality by sending a verification message -pnpm clawdbot agent --message "Verification: macOS app rebuild successful - agent is responding." --session-id YOUR_TELEGRAM_SESSION_ID +pnpm openclaw agent --message "Verification: macOS app rebuild successful - agent is responding." --session-id YOUR_TELEGRAM_SESSION_ID # Confirm the message was received on Telegram # (Check your Telegram chat with the bot) @@ -225,7 +225,7 @@ If upstream introduced new model configurations: # Check for OpenRouter API key requirements grep -r "openrouter\|OPENROUTER" src/ --include="*.ts" --include="*.js" -# Update clawdbot.json with fallback chains +# Update openclaw.json with fallback chains # Add model fallback configurations as needed ``` @@ -235,7 +235,7 @@ grep -r "openrouter\|OPENROUTER" src/ --include="*.ts" --include="*.js" ```bash # Verify everything works -pnpm clawdbot health +pnpm openclaw health pnpm test # Push (force required after rebase) @@ -342,13 +342,13 @@ pnpm build pnpm ui:build echo "==> Running doctor..." -pnpm clawdbot doctor +pnpm openclaw doctor echo "==> Rebuilding macOS app..." ./scripts/restart-mac.sh echo "==> Verifying gateway health..." -pnpm clawdbot health +pnpm openclaw health echo "==> Checking for Swift 6.2 compatibility issues..." if grep -r "FileManager\.default\|Thread\.isMainThread" src/ apps/ --include="*.swift" --quiet; then @@ -360,7 +360,7 @@ fi echo "==> Testing agent functionality..." # Note: Update YOUR_TELEGRAM_SESSION_ID with actual session ID -pnpm clawdbot agent --message "Verification: Upstream sync and macOS rebuild completed successfully." --session-id YOUR_TELEGRAM_SESSION_ID || echo "Warning: Agent test failed - check Telegram for verification message" +pnpm openclaw agent --message "Verification: Upstream sync and macOS rebuild completed successfully." --session-id YOUR_TELEGRAM_SESSION_ID || echo "Warning: Agent test failed - check Telegram for verification message" echo "==> Done! Check Telegram for verification message, then run 'git push --force-with-lease' when ready." ```