Skip to content

Conversation

@jtordgeman
Copy link

@jtordgeman jtordgeman commented Feb 3, 2026

Summary

  • Upgrade CLI package from [email protected] to [email protected]
  • Rename all references across the codebase: CLI commands (clawdbotopenclaw), config paths (~/.clawdbot/~/.openclaw/), env vars (CLAWDBOT_*OPENCLAW_*), R2 backup paths, and branding in docs/comments
  • Add one-time migration in start-moltbot.sh to automatically move existing R2 backups and local configs from old paths to new ones, preserving paired devices and conversation history
  • Optimize Dockerfile by skipping Puppeteer/Chromium downloads and cleaning up caches to reduce image size

Co-Authored-By: Claude Opus 4.5 [email protected]

Test plan

  • Verify openclaw --version runs successfully in the container
  • Test fresh deploy with no existing R2 data — config should be created at ~/.openclaw/openclaw.json
  • Test migration path: deploy with existing R2 backup under clawdbot/ — should auto-migrate to openclaw/ paths
  • Verify gateway starts and proxying works (HTTP + WebSocket)
  • Verify device pairing flow still works via openclaw devices CLI
  • Confirm env var mapping: MOLTBOT_GATEWAY_TOKENOPENCLAW_GATEWAY_TOKEN, DEV_MODEOPENCLAW_DEV_MODE
  • Run existing tests (npm test)

Version after the upgrade

image

Upgrade the CLI package from [email protected] to [email protected]
and update all references throughout the codebase:

- CLI commands: clawdbot → openclaw
- Config paths: ~/.clawdbot/clawdbot.json → ~/.openclaw/openclaw.json
- Env vars: CLAWDBOT_* → OPENCLAW_*
- R2 backup paths: clawdbot/ → openclaw/
- Branding: Moltbot → OpenClaw in docs and comments

Includes a one-time migration in start-moltbot.sh that automatically
moves existing R2 backups and local configs from old paths to new ones,
preserving paired devices and conversation history.

Dockerfile also optimized to skip Puppeteer/Chromium downloads and
clean up caches to reduce image size.
@jtordgeman
Copy link
Author

i think it fails the E2E as it cant reach the repository secrets?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant