chrome-openclaw-sider 1.0.0 → 1.0.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 +30 -63
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,98 +1,65 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Chrome Channel for OpenClaw in Sider
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The official Chrome channel plugin for connecting OpenClaw to the Sider Chrome extension.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Once connected, you can control OpenClaw directly from the Sider Chrome sidebar.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## 【【【 Quick install from the terminal 】】】
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## Recommended Install
|
|
12
|
-
|
|
13
|
-
For most users, use the companion CLI:
|
|
9
|
+
Run in Terminal:
|
|
14
10
|
|
|
11
|
+
================================
|
|
15
12
|
```bash
|
|
16
13
|
npx -y @sider-ai/chrome-openclaw-sider-cli install
|
|
17
14
|
```
|
|
15
|
+
================================
|
|
18
16
|
|
|
19
|
-
This
|
|
17
|
+
You can also paste this command into the OpenClaw chat box and ask OpenClaw to install it for you. This will install or update the plugin and automatically start terminal pairing.
|
|
20
18
|
|
|
21
|
-
## Manual
|
|
19
|
+
## 【【【 Manual installation 】】】
|
|
22
20
|
|
|
23
|
-
|
|
21
|
+
If the quick install does not work, follow these steps:
|
|
24
22
|
|
|
25
|
-
|
|
26
|
-
openclaw plugins install chrome-openclaw-sider
|
|
27
|
-
```
|
|
23
|
+
### 【 1. Install or update the plugin 】
|
|
28
24
|
|
|
29
|
-
|
|
25
|
+
Install in Terminal:
|
|
30
26
|
|
|
27
|
+
================================
|
|
31
28
|
```bash
|
|
32
|
-
openclaw plugins
|
|
29
|
+
openclaw plugins install clawhub:chrome-openclaw-sider
|
|
33
30
|
```
|
|
31
|
+
================================
|
|
34
32
|
|
|
35
|
-
|
|
33
|
+
If the plugin is already installed, update it with:
|
|
36
34
|
|
|
35
|
+
================================
|
|
37
36
|
```bash
|
|
38
|
-
openclaw
|
|
37
|
+
openclaw plugins update clawhub:chrome-openclaw-sider
|
|
39
38
|
```
|
|
39
|
+
================================
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
## Configuration
|
|
41
|
+
You can run these commands directly in your terminal, or paste them into the OpenClaw chat box and ask OpenClaw to execute them.
|
|
44
42
|
|
|
45
|
-
|
|
43
|
+
### 【 2. Pair the plugin with Sider’s Chrome extension using a pairing code 】
|
|
46
44
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
Use the built-in OpenClaw login flow:
|
|
45
|
+
Run in Terminal:
|
|
50
46
|
|
|
47
|
+
================================
|
|
51
48
|
```bash
|
|
52
49
|
openclaw channels login --channel chrome-openclaw-sider
|
|
53
50
|
```
|
|
51
|
+
================================
|
|
54
52
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
Write a one-time token to `channels.chrome-openclaw-sider.setupToken`:
|
|
58
|
-
|
|
59
|
-
```json
|
|
60
|
-
{
|
|
61
|
-
"channels": {
|
|
62
|
-
"chrome-openclaw-sider": {
|
|
63
|
-
"enabled": true,
|
|
64
|
-
"setupToken": "<one-time-token>"
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
On startup, the plugin exchanges `setupToken` for a long-lived `token`, writes it back to config, and removes `setupToken`.
|
|
71
|
-
|
|
72
|
-
### Direct Relay Token
|
|
53
|
+
Your terminal will display a short pairing code. Enter this code in the Sider browser extension.
|
|
73
54
|
|
|
74
|
-
|
|
55
|
+
In the Sider Chrome extension, open the **Claw** widget from the right column of the extension and enter the pairing code there. This will connect the Sider Chrome extension to your OpenClaw instance.
|
|
75
56
|
|
|
76
|
-
|
|
77
|
-
{
|
|
78
|
-
"channels": {
|
|
79
|
-
"chrome-openclaw-sider": {
|
|
80
|
-
"enabled": true,
|
|
81
|
-
"token": "<relay-token>"
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
Named accounts can be configured under `channels.chrome-openclaw-sider.accounts.<id>`.
|
|
57
|
+
### 【 3. Restart the gateway 】
|
|
88
58
|
|
|
89
|
-
After
|
|
59
|
+
After entering the pairing code, restart the gateway in Terminal:
|
|
90
60
|
|
|
61
|
+
================================
|
|
91
62
|
```bash
|
|
92
63
|
openclaw gateway restart
|
|
93
64
|
```
|
|
94
|
-
|
|
95
|
-
## Notes
|
|
96
|
-
|
|
97
|
-
- `setupToken` and `token` should not be used together for the same account.
|
|
98
|
-
- Pairing is the simplest setup path for most users.
|
|
65
|
+
================================
|