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 |
|