openclaw-rocketchat 0.5.1 β†’ 0.5.3

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.en.md CHANGED
@@ -69,33 +69,161 @@ AI Brain (OpenClaw Agent)
69
69
 
70
70
  **Either way, your AI data never passes through third parties.**
71
71
 
72
- ## Key Advantages
72
+ ## Ten Advantages
73
73
 
74
- - **πŸ‡¨πŸ‡³ Works in Mainland China** β€” Rocket.Chat is on China App Store, server runs on your machine, auto sslip.io free domain + Let's Encrypt HTTPS cert, no domain purchase, no ICP registration, zero dependency on blocked services
75
- - **⚑ One-Command Deployment** β€” `openclaw rocketchat setup` interactive wizard handles everything; supports co-located (one machine) and split deployment (RC in cloud, OpenClaw at home)
76
- - **πŸ” Complete Data Sovereignty** β€” All messages stay in your own MongoDB, chat history never touches third-party servers
77
- - **πŸ€– Multi-Agent Multi-Bot** β€” Different Agents map to different bots (personal assistant, work helper, code reviewer), DMs and group chats coexist
78
- - **πŸ‘₯ Team Collaboration** β€” One deployment for the whole team, `add-user` to add people, `invite` to pull into groups, supports full-access and read-only permissions
79
- - **πŸ“± Cross-Platform** β€” iOS / Android / macOS / Windows / Linux / Web, real-time sync across all devices. [Download clients](https://www.rocket.chat/download-apps)
80
- - **πŸ†“ Free and Open Source** β€” MIT license, no subscription fees, no message limits, MongoDB export anytime, zero vendor lock-in
74
+ ### 1. 🏠 A Dedicated AI Workspace
75
+
76
+ Using Telegram for AI chat? Your AI conversations are sandwiched between friend messages, group spam, and channel noise. Important AI replies get lost.
77
+
78
+ **Rocket.Chat becomes your dedicated AI command center.** Open it, and all you see are your AI assistants β€” no social distractions, no unrelated messages. One app, one purpose.
79
+
80
+ ### 2. πŸ”” Dedicated Push Notifications
81
+
82
+ When OpenClaw sends you a message, you get a notification from **Rocket.Chat** β€” not Telegram's 99th unread, not WeChat's 200th group message.
83
+
84
+ **You never miss an important AI response.**
85
+
86
+ ### 3. πŸ” Complete Data Sovereignty
87
+
88
+ | Using Telegram | Using This Plugin |
89
+ |---|---|
90
+ | Messages go through Telegram's servers | Messages stay on your machine |
91
+ | Chat history stored on someone else's cloud | Chat history in your own MongoDB |
92
+ | You can't control where data goes | Docker volume is yours β€” delete anytime |
93
+ | Terms of service change without notice | You are the terms of service |
94
+
95
+ **Zero trust in third parties. Your AI conversations, private data, and work content stay on your own hard drive.**
96
+
97
+ ### 4. πŸ‡¨πŸ‡³ Works Perfectly in Mainland China
98
+
99
+ - Rocket.Chat App is **directly downloadable** from China App Store / Google Play
100
+ - Server runs on your own machine β€” **no cross-border traffic**
101
+ - Auto **sslip.io free domain** + auto **Let's Encrypt HTTPS cert** β€” no domain purchase, no ICP registration needed
102
+ - Zero dependency on blocked services
103
+
104
+ ### 5. ⚑ One-Command Deployment, Two Modes
105
+
106
+ No 10-page documentation to read. No browser-based admin panels to click through. No manual JSON editing.
107
+
108
+ ```bash
109
+ openclaw rocketchat setup
110
+ ```
111
+
112
+ An interactive wizard guides you through everything β€” Docker deployment, account creation, config writing β€” all in one go.
113
+
114
+ Choose the deployment mode that fits your situation:
115
+
116
+ | | Co-located | Split Deployment |
117
+ |---|---|---|
118
+ | **Who it's for** | Users with a public server | Home network, low-spec servers |
119
+ | **RC runs on** | Same machine as OpenClaw | Separate cloud VPS |
120
+ | **How to install** | `install-rc.sh` + `openclaw rocketchat setup` | `install-rc.sh` on VPS, connect locally |
121
+ | **Advantage** | Simplest, one machine | OpenClaw can run at home, RC in the cloud |
122
+
123
+ > Split deployment means even if your OpenClaw is on a **home LAN without a public IP**, a cheap VPS (1 core, 1 GB RAM is enough) lets your phone connect from anywhere.
124
+
125
+ ### 6. πŸ€– Multi-Agent, Multi-Bot
126
+
127
+ Create multiple Agents in OpenClaw (e.g., "Personal Assistant", "Work Helper", "Code Reviewer"), each appearing as a separate bot in Rocket.Chat:
128
+
129
+ ```
130
+ Conversation List
131
+ 🦞 Lobster ← DM: Personal assistant
132
+ πŸ’Ό Work Helper ← DM: Work agent
133
+ 🏠 AI Squad ← Group: All bots together
134
+ πŸ“ Code Review ← Group: Dedicated code agent
135
+ ```
136
+
137
+ **DMs and group chats coexist** β€” ask simple questions via DM, tackle complex problems in groups with multiple bots collaborating.
138
+
139
+ ### 7. πŸ‘₯ Team Collaboration β€” Share AI Across Your Whole Team
140
+
141
+ This isn't just a single-user AI tool β€” your entire team can use it together.
142
+
143
+ ```
144
+ γ€ŒProduct Discussion」
145
+ πŸ‘€ Alice (Product Manager)
146
+ πŸ‘€ Bob (Designer)
147
+ πŸ‘€ Charlie (Developer)
148
+ πŸ€– Lobster (AI Assistant)
149
+
150
+ Alice: Can you analyze the technical feasibility of this feature?
151
+ 🦞 Lobster: Based on the requirements, I've analyzed three aspects...
152
+ Bob: @Lobster Any color scheme suggestions?
153
+ 🦞 Lobster: From a UI/UX perspective, I recommend...
154
+ Charlie: How long would this take to implement?
155
+ 🦞 Lobster: Based on the current tech stack, estimated...
156
+ ```
157
+
158
+ One deployment, the whole team benefits:
159
+
160
+ - **Companies/Teams** β€” Everyone discusses with AI in the same group, stay aligned, no relay needed
161
+ - **Families** β€” Add an account for each family member, everyone gets their own AI assistant
162
+ - **Studios** β€” Different projects get different groups, each with specialized Agents
163
+ - **Education** β€” Teachers and students in the same group, AI-assisted learning
164
+
165
+ `openclaw rocketchat add-user` adds a new member in one command, `openclaw rocketchat invite` pulls them into any group. **No per-person deployment, no per-person configuration β€” one service for everyone.**
166
+
167
+ ### 8. πŸ”’ Fine-Grained Permission Control
168
+
169
+ Not everyone needs to talk to AI β€” some people just need to watch.
170
+
171
+ | Permission | View Messages | Send Messages | DM Bots | Use Case |
172
+ |---|---|---|---|---|
173
+ | **Full Access** | βœ… | βœ… | βœ… | Regular team members |
174
+ | **Read-Only** | βœ… | ❌ | ❌ | Boss monitoring, auditing, observers |
175
+
176
+ Typical scenarios:
177
+ - **Boss/Manager** β€” Read-only, review team-AI conversations anytime, track project progress
178
+ - **Interns** β€” Read-only, observe senior staff's AI discussions, learn and grow
179
+ - **Clients** β€” Read-only, see AI-generated analysis reports without interfering
180
+ - **Audit/Compliance** β€” Read-only, monitor AI usage for regulatory compliance
181
+
182
+ ```bash
183
+ openclaw rocketchat add-user
184
+ # Choose during setup:
185
+ # 1) Full access β€” can send messages in groups and DM bots
186
+ # 2) Read-only β€” can only view group messages, no sending or DM
187
+ ```
188
+
189
+ **No other platform offers this** β€” on Telegram or WhatsApp, users either see everything and can say everything, or see nothing at all.
190
+
191
+ ### 9. πŸ“± Cross-Platform
192
+
193
+ Official Rocket.Chat clients: [rocket.chat/download-apps](https://www.rocket.chat/download-apps)
194
+
195
+ | Platform | How to Download |
196
+ |---|---|
197
+ | **iOS** | Search **"Rocket.Chat"** on App Store (developer: Rocket.Chat Technologies Corp)<br>Available in China App Store β€” no account switching needed |
198
+ | **Android** | Search **"Rocket.Chat"** on Google Play, or download APK from the official site |
199
+ | **macOS** | [Mac App Store](https://apps.apple.com/app/rocket-chat/id1148741252) or [download .dmg](https://www.rocket.chat/download-apps) |
200
+ | **Windows** | [Download installer](https://www.rocket.chat/download-apps) |
201
+ | **Linux** | [Download](https://www.rocket.chat/download-apps) (.deb / .rpm / Snap) |
202
+ | **Web** | No download needed β€” open `https://YOUR-IP.sslip.io` in any browser |
203
+
204
+ > πŸ’‘ **Search tip**: In App Store / Google Play, search "Rocket.Chat" and look for the developer **Rocket.Chat Technologies Corp**.
205
+
206
+ Deploy once, access from phone, computer, tablet, or browser. Messages sync across all devices in real time.
207
+
208
+ ### 10. πŸ†“ Completely Free, Open Source, No Vendor Lock-In
209
+
210
+ - No subscription fees, no message limits, no feature restrictions
211
+ - MIT license β€” modify as you wish
212
+ - Built on Rocket.Chat's open-source ecosystem with an active community
213
+ - **No vendor lock-in** β€” export your data anytime (standard MongoDB format)
214
+ - You're running a standard Rocket.Chat server β€” plug in more features in the future (video calls, file sharing, webhook integrations, etc.)
81
215
 
82
216
  ## Comparison
83
217
 
218
+ > Full comparison table at [docs/ARCHITECTURE.en.md](docs/ARCHITECTURE.en.md)
219
+
84
220
  | | Feishu | Telegram | WhatsApp | This Plugin |
85
221
  |---|---|---|---|---|
86
222
  | **China Available** | βœ… | ❌ VPN needed | ❌ Foreign # needed | βœ… |
87
- | **Setup Complexity** | πŸ”΄ High | πŸ”΄ High (VPN) | πŸ”΄ High | 🟒 One command |
88
- | **Dedicated AI Space** | ❌ Mixed with work | ❌ Mixed with social | ❌ Mixed with social | βœ… Dedicated |
89
- | **Dedicated Notifications** | ❌ Mixed | ❌ Buried | ❌ Buried | βœ… Standalone |
90
- | **Data Privacy** | 🟑 Via Feishu servers | 🟑 Via TG servers | 🟑 Via Meta servers | 🟒 Fully local |
91
- | **Multi-Agent** | Manual config | Supported | Supported | βœ… Interactive setup |
92
- | **Group Multi-Bot** | Limited | Supported | Not supported | βœ… Supported |
93
- | **Multi-User Team** | Enterprise only | ❌ Separate setups | ❌ Separate setups | βœ… One deploy for all |
94
- | **Permission Control** | Enterprise only | ❌ | ❌ | βœ… Full/Read-Only |
95
- | **Split Deployment** | ❌ | ❌ | ❌ | βœ… Home LAN works |
96
- | **Self-Hosted** | ❌ | ❌ | ❌ | βœ… |
97
- | **Free** | Limited | Yes | Yes | βœ… Completely free |
98
- | **Open Source** | ❌ | ❌ | ❌ | βœ… MIT |
223
+ | **Setup Complexity** | πŸ”΄ High | πŸ”΄ High | πŸ”΄ High | 🟒 One command |
224
+ | **Data Privacy** | 🟑 Via 3rd party | 🟑 Via 3rd party | 🟑 Via 3rd party | 🟒 Fully local |
225
+ | **Multi-User Team** | Enterprise only | ❌ | ❌ | βœ… One deploy for all |
226
+ | **Free & Open Source** | ❌ | ❌ | ❌ | βœ… MIT |
99
227
 
100
228
  ## Quick Start
101
229
 
@@ -517,143 +645,30 @@ All commands are **interactive** β€” no flags to memorize, just follow the promp
517
645
 
518
646
  All config is written automatically by CLI commands into `~/.openclaw/openclaw.json`. You normally don't need to edit it manually, but understanding the structure helps with troubleshooting and advanced customization.
519
647
 
520
- ### channels.rocketchat β€” Channel Config
521
-
522
- | Parameter | Type | Default | Description |
523
- |-----------|------|---------|-------------|
524
- | `enabled` | `boolean` | `false` | Enable/disable the Rocket.Chat channel |
525
- | `serverUrl` | `string` | β€” | Rocket.Chat server URL, e.g. `"https://123-45-67-89.sslip.io"` or `"https://127.0.0.1"` (co-located) |
526
- | `port` | `number` | `443` | Rocket.Chat HTTPS port (the port specified during `install-rc.sh` installation) |
527
- | `dmPolicy` | `string` | `"pairing"` | DM policy. `"pairing"` means setup auto-creates DM channels between users and bots |
528
- | `accounts` | `object` | `{}` | Bot accounts. Key is the bot ID (written by `add-bot` command) |
529
- | `accounts.<id>.botUsername` | `string` | β€” | Bot's username in Rocket.Chat |
530
- | `accounts.<id>.botDisplayName` | `string` | β€” | Bot's display name (supports Unicode) |
531
- | `groups` | `object` | `{}` | Group config (written by `add-group` command). Key is the group name |
532
- | `groups.<name>.bots` | `string[]` | β€” | Bots in this group (matching keys in `accounts`) |
533
- | `groups.<name>.requireMention` | `boolean` | `false` | Whether bot requires `@mention` to respond. `false`: responds to all messages; `true`: only responds when directly `@mentioned` (recommended for multi-bot groups to avoid all bots replying at once) |
534
-
535
- > **Broadcast mentions**: `@here`, `@all`, `@everyone` never trigger bot responses, even when `requireMention` is `false`. Only direct `@botname` mentions trigger a response.
536
-
537
- ### bindings β€” Agent Bindings
648
+ > **Full configuration docs (parameter tables + JSON example + manual editing + full reset): [docs/CONFIGURATION.en.md](docs/CONFIGURATION.en.md)**
538
649
 
539
- The `bindings` array maps bot accounts to Agents (written by `add-bot` command):
650
+ Quick reference for the most common parameters:
540
651
 
541
- | Parameter | Type | Description |
542
- |-----------|------|-------------|
543
- | `agentId` | `string` | The Agent ID to bind to (e.g. `"main"`). Created via `openclaw agents add` |
544
- | `match.channel` | `string` | Always `"rocketchat"` |
545
- | `match.accountId` | `string` | Matches a key in `channels.rocketchat.accounts` |
652
+ | Parameter | Description |
653
+ |-----------|-------------|
654
+ | `channels.rocketchat.enabled` | Enable/disable channel |
655
+ | `channels.rocketchat.serverUrl` | Server URL (`https://127.0.0.1` for co-located, sslip.io domain for remote) |
656
+ | `channels.rocketchat.port` | HTTPS port (default `443`) |
657
+ | `channels.rocketchat.accounts.<id>` | Bot accounts (written by `add-bot`) |
658
+ | `channels.rocketchat.groups.<name>.requireMention` | @mention rule (`true`: only respond to @bot) |
659
+ | `bindings[].agentId` | Bot-to-Agent binding |
660
+ | `plugins.entries.openclaw-rocketchat.enabled` | Plugin enabled state |
546
661
 
547
- ### plugins β€” Plugin Config
662
+ > **Note**: Bot credentials are stored in `~/.openclaw/credentials/`, separate from config.
548
663
 
549
- | Parameter | Type | Description |
550
- |-----------|------|-------------|
551
- | `entries.openclaw-rocketchat.enabled` | `boolean` | Whether the plugin is enabled. Gateway auto-detects and sets to `true` on start |
552
- | `installs.openclaw-rocketchat.source` | `string` | Installation source, typically `"npm"` |
553
- | `installs.openclaw-rocketchat.spec` | `string` | Installed package spec, e.g. `"openclaw-rocketchat@0.5.0"` |
554
- | `installs.openclaw-rocketchat.installPath` | `string` | Plugin installation path, e.g. `"~/.openclaw/extensions/openclaw-rocketchat"` |
555
- | `installs.openclaw-rocketchat.version` | `string` | Currently installed version |
556
- | `installs.openclaw-rocketchat.installedAt` | `string` | Installation timestamp (ISO format) |
557
-
558
- ### Manual Editing
559
-
560
- If auto-configuration has issues, edit `~/.openclaw/openclaw.json` directly:
664
+ ## Architecture
561
665
 
562
- ```bash
563
- # Edit config
564
- vi ~/.openclaw/openclaw.json
666
+ > Detailed architecture diagrams at [docs/ARCHITECTURE.en.md](docs/ARCHITECTURE.en.md)
565
667
 
566
- # Restart Gateway to apply changes
567
- openclaw gateway restart
568
668
  ```
569
-
570
- **Common manual edits:**
571
-
572
- - **Change server URL**: Edit `channels.rocketchat.serverUrl` (`https://127.0.0.1` for co-located, `https://IP.sslip.io` for remote)
573
- - **Change port**: Edit `channels.rocketchat.port`
574
- - **Disable/enable channel**: Set `channels.rocketchat.enabled` to `false` / `true`
575
- - **Rebind bot to different Agent**: Edit `bindings` array, change `agentId`
576
- - **Remove a bot**: Delete entries from both `accounts` and `bindings`
577
- - **Toggle @mention requirement**: Edit `groups.<name>.requireMention`
578
- - **Upgrade plugin version**: Update `plugins.installs.openclaw-rocketchat.version` and `spec`
579
-
580
- > **Note**: Bot credentials (passwords, tokens) are stored in `~/.openclaw/credentials/`, separate from `openclaw.json`. If you reinstall a bot, clean up the credentials directory as well.
581
-
582
- ## Architecture
583
-
584
- ### Mode A: Co-located
585
-
586
- Everything on one server β€” simplest setup.
587
-
588
- ```
589
- β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
590
- β”‚ πŸ“± Your Phone β”‚
591
- β”‚ Rocket.Chat App β”‚
592
- β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
593
- β”‚ HTTPS (:443)
594
- β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
595
- β”‚ Your Server (one machine does it all) β”‚
596
- β”‚ β”‚
597
- β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
598
- β”‚ β”‚ Docker β”‚ β”‚
599
- β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚
600
- β”‚ β”‚ β”‚ Nginx │─▸│Rocket.Chat│─▸│MongoDBβ”‚ β”‚ β”‚
601
- β”‚ β”‚ β”‚ :443 β”‚ β”‚ :3000 β”‚ β”‚ β”‚ β”‚ β”‚
602
- β”‚ β”‚ β”‚(HTTPS)β”‚ β”‚(internal)β”‚ β”‚ β”‚ β”‚ β”‚
603
- β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚
604
- β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
605
- β”‚ β”‚
606
- β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
607
- β”‚ β”‚ OpenClaw Gateway β”‚ β”‚
608
- β”‚ β”‚ @openclaw/rocketchat plugin β”‚ β”‚
609
- β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚
610
- β”‚ β”‚ β”‚ Agent: main β”‚ β”‚ β”‚
611
- β”‚ β”‚ β”‚ Agent: work β”‚ β”‚ β”‚
612
- β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚
613
- β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
614
- β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
615
- ```
616
-
617
- ### Mode B: Split Deployment
618
-
619
- RC on a cloud VPS, OpenClaw on home network or low-spec machine. Great when you don't have a public IP or need to save memory.
620
-
621
- ```
622
- β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
623
- β”‚ πŸ“± Your Phone β”‚
624
- β”‚ Rocket.Chat App β”‚
625
- β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
626
- β”‚ HTTPS (:443)
627
- β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
628
- β”‚ Cloud VPS (cheap 1C1G is enough) β”‚
629
- β”‚ β”‚
630
- β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
631
- β”‚ β”‚ Docker (install-rc.sh one-click) β”‚ β”‚
632
- β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚
633
- β”‚ β”‚ β”‚ Nginx │─▸│Rocket.Chat│─▸│MongoDBβ”‚ β”‚ β”‚
634
- β”‚ β”‚ β”‚ :443 β”‚ β”‚ :3000 β”‚ β”‚ β”‚ β”‚ β”‚
635
- β”‚ β”‚ β”‚(HTTPS)β”‚ β”‚(internal)β”‚ β”‚ β”‚ β”‚ β”‚
636
- β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β–²β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚
637
- β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
638
- β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
639
- β”‚ HTTPS/WebSocket (public network)
640
- β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
641
- β”‚ Home Network / Local Machine β”‚
642
- β”‚ β”‚ β”‚
643
- β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
644
- β”‚ β”‚ OpenClaw Gateway β”‚ β”‚
645
- β”‚ β”‚ @openclaw/rocketchat plugin β”‚ β”‚
646
- β”‚ β”‚ (connects to remote RC via internet) β”‚ β”‚
647
- β”‚ β”‚ β”‚ β”‚
648
- β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚
649
- β”‚ β”‚ β”‚ Agent: main β”‚ β”‚ β”‚
650
- β”‚ β”‚ β”‚ Agent: work β”‚ β”‚ β”‚
651
- β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚
652
- β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
653
- β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
654
- ```
655
-
656
- > For Mode B, just run `install-rc.sh` on your remote VPS to install Rocket.Chat (with Nginx HTTPS + auto sslip.io domain), then run `openclaw rocketchat setup` locally and enter `https://VPS-IP.sslip.io`.
669
+ Mode A (Co-located): Phone β†’ HTTPS β†’ [Nginx + RC + MongoDB + OpenClaw] all on one machine
670
+ Mode B (Split): Phone β†’ HTTPS β†’ [VPS: Nginx + RC + MongoDB] ← WebSocket ← [Home LAN: OpenClaw]
671
+ ```
657
672
 
658
673
  ## FAQ
659
674
 
@@ -680,6 +695,8 @@ If you know the admin username/password, re-run setup and choose "Use existing a
680
695
  <details>
681
696
  <summary><b>How to reinstall the plugin / start completely fresh?</b></summary>
682
697
 
698
+ > Full reset steps also at [docs/CONFIGURATION.en.md β€” Full Reset](docs/CONFIGURATION.en.md#full-reset)
699
+
683
700
  ```bash
684
701
  # 1. Stop Gateway
685
702
  openclaw gateway stop
@@ -792,13 +809,12 @@ Plain text, Markdown (with syntax highlighting), images, files, and voice messag
792
809
  Yes. Use `openclaw rocketchat add-user` to add more phone users (family, colleagues). Each person downloads Rocket.Chat and logs in with their own account.
793
810
  </details>
794
811
 
795
- ## Tech Stack
812
+ ## More Documentation
796
813
 
797
- - **TypeScript** β€” Consistent with the OpenClaw ecosystem
798
- - **Rocket.Chat REST API** β€” User/group/message management
799
- - **Rocket.Chat WebSocket (DDP)** β€” Real-time message subscription
800
- - **Docker Compose** β€” One-click Rocket.Chat + MongoDB deployment
801
- - **Vitest** β€” Unit testing
814
+ | Document | Content |
815
+ |----------|---------|
816
+ | [Configuration Reference](docs/CONFIGURATION.en.md) | Full parameter tables, JSON example, manual editing, full reset |
817
+ | [Architecture & Comparison](docs/ARCHITECTURE.en.md) | Full comparison table, architecture diagrams, tech stack |
802
818
 
803
819
  ## Contributing
804
820