openclaw/docs/gateway
Ash Brener 7e0cd65156 feat: add workspace cloud sync via rclone
Add bidirectional workspace synchronization with cloud storage providers
(Dropbox, Google Drive, OneDrive, S3/R2) using rclone.

Features:
- Config-driven setup via workspace.sync in moltbot.json
- Native CLI: moltbot workspace setup/sync/status/authorize/list
- Session hooks: onSessionStart/onSessionEnd triggers (no LLM cost)
- Background interval sync via gateway (no LLM cost)
- Auto-install rclone when missing (Homebrew/official script)
- Dropbox app folder support for ringfenced security
- Secure defaults: syncs shared/ subdirectory only

New files:
- src/infra/rclone.ts - rclone wrapper
- src/cli/workspace-cli.ts - CLI commands
- src/hooks/bundled/workspace-sync/ - session hooks
- src/gateway/workspace-sync-manager.ts - background sync
- src/config/types.workspace.ts - config types
- docs/gateway/workspace-sync.md - full documentation

Tests: 23 unit tests for rclone helpers and hook handler
2026-01-28 10:53:04 +02:00
..
security fix: wire per-account dm scope guidance (#3095) (thanks @jarvis-sam) 2026-01-28 11:42:33 +05:30
authentication.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
background-process.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
bonjour.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
bridge-protocol.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
cli-backends.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
configuration-examples.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
configuration.md fix: wire per-account dm scope guidance (#3095) (thanks @jarvis-sam) 2026-01-28 11:42:33 +05:30
discovery.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
doctor.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
gateway-lock.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
health.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
heartbeat.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
index.md Branding: update bot.molt bundle IDs + launchd labels 2026-01-27 14:46:50 -06:00
local-models.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
logging.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
multiple-gateways.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
openai-http-api.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
openresponses-http-api.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
pairing.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
protocol.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
remote-gateway-readme.md Branding: update bot.molt bundle IDs + launchd labels 2026-01-27 14:46:50 -06:00
remote.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
sandbox-vs-tool-policy-vs-elevated.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
sandboxing.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
tailscale.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
tools-invoke-http-api.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
troubleshooting.md Branding: update bot.molt bundle IDs + launchd labels 2026-01-27 14:46:50 -06:00
workspace-sync.md feat: add workspace cloud sync via rclone 2026-01-28 10:53:04 +02:00