openclaw-workspace-sync 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -40
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,32 +6,29 @@ Supports **Dropbox, Google Drive, OneDrive, S3/R2/Minio**, and [70+ cloud provid
|
|
|
6
6
|
|
|
7
7
|
## How it works
|
|
8
8
|
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
style local fill:#e8f5e9,stroke:#4caf50
|
|
33
|
-
style cloud fill:#e3f2fd,stroke:#2196f3
|
|
34
|
-
style remote fill:#fff3e0,stroke:#ff9800
|
|
9
|
+
```
|
|
10
|
+
┌─────────────────────────────┐
|
|
11
|
+
│ Local Machine │
|
|
12
|
+
│ │
|
|
13
|
+
│ ~/Dropbox/openclaw/ <--> │
|
|
14
|
+
│ Native cloud app │
|
|
15
|
+
│ (Dropbox/GDrive/OneDrive) │
|
|
16
|
+
└─────────────┬───────────────┘
|
|
17
|
+
│
|
|
18
|
+
▼
|
|
19
|
+
┌─────────────────────────────┐
|
|
20
|
+
│ Cloud Provider │
|
|
21
|
+
│ Dropbox / Google Drive / │
|
|
22
|
+
│ OneDrive / S3 / R2 + 70+ │
|
|
23
|
+
└─────────────┬───────────────┘
|
|
24
|
+
│
|
|
25
|
+
▼
|
|
26
|
+
┌─────────────────────────────┐
|
|
27
|
+
│ Remote Gateway (Fly/VPS) │
|
|
28
|
+
│ │
|
|
29
|
+
│ rclone bisync <--> │
|
|
30
|
+
│ workspace/shared/ │
|
|
31
|
+
└─────────────────────────────┘
|
|
35
32
|
```
|
|
36
33
|
|
|
37
34
|
Drop a file locally — it appears on the remote Gateway (and vice versa).
|
|
@@ -40,20 +37,28 @@ Drop a file locally — it appears on the remote Gateway (and vice versa).
|
|
|
40
37
|
|
|
41
38
|
## Architecture
|
|
42
39
|
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
40
|
+
```
|
|
41
|
+
┌─────────────────────────────────────────┐
|
|
42
|
+
│ workspace-sync plugin │
|
|
43
|
+
│ │
|
|
44
|
+
│ ┌─────────────┐ ┌──────────────────┐ │
|
|
45
|
+
│ │ CLI Commands │ │ Session Hooks │ │
|
|
46
|
+
│ │ setup/sync/ │ │ auto-sync on │ │
|
|
47
|
+
│ │ status/auth │ │ start/end │ │
|
|
48
|
+
│ └──────┬──────┘ └────────┬─────────┘ │
|
|
49
|
+
│ │ │ │
|
|
50
|
+
│ │ ┌───────────────────────┐ │
|
|
51
|
+
│ │ │ Background Sync Mgr │ │
|
|
52
|
+
│ │ │ interval-based bisync │ │
|
|
53
|
+
│ │ └───────────┬──────────┘ │
|
|
54
|
+
│ │ │ │
|
|
55
|
+
│ ▼ ▼ │
|
|
56
|
+
│ ┌─────────────────────────────────┐ │
|
|
57
|
+
│ │ rclone wrapper │ │
|
|
58
|
+
│ │ binary detect, config gen, │ │
|
|
59
|
+
│ │ OAuth, bisync orchestration │ │
|
|
60
|
+
│ └─────────────────────────────────┘ │
|
|
61
|
+
└─────────────────────────────────────────┘
|
|
57
62
|
```
|
|
58
63
|
|
|
59
64
|
## Install
|
package/package.json
CHANGED