openclaw-ringcentral 2026.1.29-beta1
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/LICENSE +21 -0
- package/README.md +186 -0
- package/index.ts +18 -0
- package/openclaw.plugin.json +200 -0
- package/package.json +72 -0
- package/src/accounts.test.ts +311 -0
- package/src/accounts.ts +167 -0
- package/src/api.ts +241 -0
- package/src/auth.ts +92 -0
- package/src/channel.ts +545 -0
- package/src/config-schema.ts +78 -0
- package/src/markdown.test.ts +168 -0
- package/src/markdown.ts +158 -0
- package/src/monitor.test.ts +47 -0
- package/src/monitor.ts +742 -0
- package/src/openclaw.d.ts +68 -0
- package/src/runtime.ts +14 -0
- package/src/targets.test.ts +118 -0
- package/src/targets.ts +70 -0
- package/src/types.ts +174 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 danbao
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
# Moltbot RingCentral Channel
|
|
2
|
+
|
|
3
|
+
RingCentral Team Messaging channel plugin for Moltbot. Enables bidirectional messaging with AI assistants through RingCentral Team Messaging.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- WebSocket-based real-time messaging (no public webhook required)
|
|
8
|
+
- JWT authentication
|
|
9
|
+
- Self-only mode (talk to AI as yourself)
|
|
10
|
+
- Support for text messages and attachments
|
|
11
|
+
- Typing indicators
|
|
12
|
+
|
|
13
|
+
## Prerequisites
|
|
14
|
+
|
|
15
|
+
1. A RingCentral account with Team Messaging enabled
|
|
16
|
+
2. A RingCentral REST API App (not Bot Add-in)
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
curl -fsSL https://clawd.bot/install.sh | bash -s -- --beta
|
|
22
|
+
moltbot plugins install moltbot-ringcentral@2026.1.29-beta4
|
|
23
|
+
moltbot config set channels.ringcentral.enabled true
|
|
24
|
+
moltbot config set channels.ringcentral.credentials.clientId "your-client-id"
|
|
25
|
+
moltbot config set channels.ringcentral.credentials.clientSecret "your-client-secret"
|
|
26
|
+
moltbot config set channels.ringcentral.credentials.jwt "your-jwt-token"
|
|
27
|
+
moltbot config set channels.ringcentral.credentials.server "https://platform.ringcentral.com"
|
|
28
|
+
moltbot gateway restart
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Or install from tarball:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
moltbot plugins install ./moltbot-ringcentral-2026.1.29-beta4.tgz
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## RingCentral App Setup
|
|
38
|
+
|
|
39
|
+
1. Go to [RingCentral Developer Portal](https://developers.ringcentral.com/)
|
|
40
|
+
2. Create a new app:
|
|
41
|
+
- **App Type**: REST API App
|
|
42
|
+
- **Auth**: JWT auth flow
|
|
43
|
+
3. Add permissions:
|
|
44
|
+
- **Team Messaging** - Read and send messages
|
|
45
|
+
- **WebSocket Subscriptions** - Real-time event subscriptions
|
|
46
|
+
- **Read Accounts** - Read user information
|
|
47
|
+
4. Generate a JWT token for your user
|
|
48
|
+
|
|
49
|
+
## Configuration
|
|
50
|
+
|
|
51
|
+
Add to `~/.moltbot/moltbot.json`:
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
{
|
|
55
|
+
"channels": {
|
|
56
|
+
"ringcentral": {
|
|
57
|
+
"enabled": true,
|
|
58
|
+
"credentials": {
|
|
59
|
+
"clientId": "your-client-id",
|
|
60
|
+
"clientSecret": "your-client-secret",
|
|
61
|
+
"jwt": "your-jwt-token",
|
|
62
|
+
"server": "https://platform.ringcentral.com"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Or use environment variables:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
export RINGCENTRAL_CLIENT_ID="your-client-id"
|
|
73
|
+
export RINGCENTRAL_CLIENT_SECRET="your-client-secret"
|
|
74
|
+
export RINGCENTRAL_JWT="your-jwt-token"
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Configuration Options
|
|
78
|
+
|
|
79
|
+
| Option | Type | Default | Description |
|
|
80
|
+
|--------|------|---------|-------------|
|
|
81
|
+
| `enabled` | boolean | `false` | Enable the RingCentral channel |
|
|
82
|
+
| `credentials.clientId` | string | - | RingCentral app client ID |
|
|
83
|
+
| `credentials.clientSecret` | string | - | RingCentral app client secret |
|
|
84
|
+
| `credentials.jwt` | string | - | JWT token for authentication |
|
|
85
|
+
| `credentials.server` | string | `https://platform.ringcentral.com` | RingCentral API server URL |
|
|
86
|
+
| `selfOnly` | boolean | `true` | Only respond to JWT user in Personal chat |
|
|
87
|
+
| `name` | string | - | Bot display name |
|
|
88
|
+
| `textChunkLimit` | number | `4000` | Maximum characters per message chunk |
|
|
89
|
+
| `dmPolicy` | string | `"allowlist"` | DM policy (only when `selfOnly: false`) |
|
|
90
|
+
| `groupPolicy` | string | `"allowlist"` | Group policy (only when `selfOnly: false`) |
|
|
91
|
+
|
|
92
|
+
> **Note:** When `selfOnly: true` (default), the bot only responds to the JWT user in their Personal chat. All other policy settings (`dmPolicy`, `allowFrom`, `groupPolicy`, etc.) are ignored.
|
|
93
|
+
|
|
94
|
+
## Usage
|
|
95
|
+
|
|
96
|
+
1. Start the moltbot gateway:
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
moltbot gateway run
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
2. Open RingCentral app and go to your "Personal" chat (conversation with yourself)
|
|
103
|
+
|
|
104
|
+
3. Send a message - the AI will respond!
|
|
105
|
+
|
|
106
|
+
## How It Works
|
|
107
|
+
|
|
108
|
+
This plugin uses JWT authentication, which means:
|
|
109
|
+
|
|
110
|
+
- **Messages appear from your own account** (not a separate bot)
|
|
111
|
+
- **Default mode (`selfOnly: true`)**: Only processes messages you send to yourself
|
|
112
|
+
- **Personal chat only**: By default, only responds in your "Personal" chat
|
|
113
|
+
|
|
114
|
+
This is ideal for personal AI assistant use without needing to set up a separate bot account.
|
|
115
|
+
|
|
116
|
+
## Advanced Configuration
|
|
117
|
+
|
|
118
|
+
### Allow Group Chats
|
|
119
|
+
|
|
120
|
+
To enable the bot in group chats:
|
|
121
|
+
|
|
122
|
+
```json
|
|
123
|
+
{
|
|
124
|
+
"channels": {
|
|
125
|
+
"ringcentral": {
|
|
126
|
+
"enabled": true,
|
|
127
|
+
"selfOnly": false,
|
|
128
|
+
"groupPolicy": "open",
|
|
129
|
+
"dmPolicy": "open"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Multiple Accounts
|
|
136
|
+
|
|
137
|
+
```json
|
|
138
|
+
{
|
|
139
|
+
"channels": {
|
|
140
|
+
"ringcentral": {
|
|
141
|
+
"enabled": true,
|
|
142
|
+
"defaultAccount": "work",
|
|
143
|
+
"accounts": {
|
|
144
|
+
"work": {
|
|
145
|
+
"credentials": {
|
|
146
|
+
"clientId": "work-client-id",
|
|
147
|
+
"clientSecret": "work-client-secret",
|
|
148
|
+
"jwt": "work-jwt-token"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"personal": {
|
|
152
|
+
"credentials": {
|
|
153
|
+
"clientId": "personal-client-id",
|
|
154
|
+
"clientSecret": "personal-client-secret",
|
|
155
|
+
"jwt": "personal-jwt-token"
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
## Troubleshooting
|
|
165
|
+
|
|
166
|
+
### "Unauthorized for this grant type"
|
|
167
|
+
|
|
168
|
+
Your app type is wrong. Create a **REST API App** (not Bot Add-in) with JWT auth flow.
|
|
169
|
+
|
|
170
|
+
### "In order to call this API endpoint, application needs to have [Read Accounts, WebSocket Subscriptions, Team Messaging, WebSocket, Read Messages] permission"
|
|
171
|
+
|
|
172
|
+
Add **WebSocket Subscriptions** permission in your app settings. Permission changes may take a few minutes to propagate.
|
|
173
|
+
|
|
174
|
+
### Messages not being processed
|
|
175
|
+
|
|
176
|
+
1. Check that `selfOnly` mode matches your use case
|
|
177
|
+
2. Verify you're sending messages in a "Personal" chat (conversation with yourself)
|
|
178
|
+
3. Check gateway logs: `tail -f /tmp/moltbot/moltbot-*.log | grep ringcentral`
|
|
179
|
+
|
|
180
|
+
### Rate limit errors
|
|
181
|
+
|
|
182
|
+
RingCentral has API rate limits. If you see "Request rate exceeded", wait a minute before retrying.
|
|
183
|
+
|
|
184
|
+
## License
|
|
185
|
+
|
|
186
|
+
MIT
|
package/index.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { OpenClawPluginApi } from "openclaw/plugin-sdk";
|
|
2
|
+
import { emptyPluginConfigSchema } from "openclaw/plugin-sdk";
|
|
3
|
+
|
|
4
|
+
import { ringcentralDock, ringcentralPlugin } from "./src/channel.js";
|
|
5
|
+
import { setRingCentralRuntime } from "./src/runtime.js";
|
|
6
|
+
|
|
7
|
+
const plugin = {
|
|
8
|
+
id: "ringcentral",
|
|
9
|
+
name: "RingCentral",
|
|
10
|
+
description: "OpenClaw RingCentral Team Messaging channel plugin",
|
|
11
|
+
configSchema: emptyPluginConfigSchema(),
|
|
12
|
+
register(api: OpenClawPluginApi) {
|
|
13
|
+
setRingCentralRuntime(api.runtime);
|
|
14
|
+
api.registerChannel({ plugin: ringcentralPlugin, dock: ringcentralDock });
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export default plugin;
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "ringcentral",
|
|
3
|
+
"name": "RingCentral",
|
|
4
|
+
"description": "OpenClaw RingCentral Team Messaging channel plugin",
|
|
5
|
+
"channels": ["ringcentral"],
|
|
6
|
+
"uiHints": {
|
|
7
|
+
"enabled": {
|
|
8
|
+
"label": "Enable RingCentral"
|
|
9
|
+
},
|
|
10
|
+
"selfOnly": {
|
|
11
|
+
"label": "Self Only Mode",
|
|
12
|
+
"help": "When enabled, only respond to your own messages in Personal chat. Set to false to enable Team/Group chats."
|
|
13
|
+
},
|
|
14
|
+
"groupPolicy": {
|
|
15
|
+
"label": "Group Policy",
|
|
16
|
+
"help": "How to handle messages from Teams/Groups. Options: disabled (ignore all), allowlist (only configured teams), open (all teams with @mention)."
|
|
17
|
+
},
|
|
18
|
+
"groups": {
|
|
19
|
+
"label": "Allowed Teams",
|
|
20
|
+
"help": "Add Team IDs to enable them. Get Team ID from the RingCentral URL: app.ringcentral.com/messages/{TEAM_ID}",
|
|
21
|
+
"itemLabel": "Team ID",
|
|
22
|
+
"placeholder": "1541525766146"
|
|
23
|
+
},
|
|
24
|
+
"groups.*": {
|
|
25
|
+
"label": "Team Configuration"
|
|
26
|
+
},
|
|
27
|
+
"groups.*.enabled": {
|
|
28
|
+
"label": "Enabled",
|
|
29
|
+
"help": "Enable or disable this team"
|
|
30
|
+
},
|
|
31
|
+
"groups.*.requireMention": {
|
|
32
|
+
"label": "Require @Mention",
|
|
33
|
+
"help": "When enabled, the bot only responds when @mentioned in this team."
|
|
34
|
+
},
|
|
35
|
+
"groups.*.systemPrompt": {
|
|
36
|
+
"label": "System Prompt",
|
|
37
|
+
"help": "Custom instructions for the AI in this team. Appended to the default prompt.",
|
|
38
|
+
"placeholder": "You are a helpful assistant for the engineering team. Focus on technical questions."
|
|
39
|
+
},
|
|
40
|
+
"groups.*.users": {
|
|
41
|
+
"label": "Allowed Users",
|
|
42
|
+
"help": "List of user IDs who can trigger the bot. Leave empty to allow all team members.",
|
|
43
|
+
"placeholder": "3218766020"
|
|
44
|
+
},
|
|
45
|
+
"requireMention": {
|
|
46
|
+
"label": "Require @Mention (Global)",
|
|
47
|
+
"help": "Default setting for all teams. When enabled, the bot only responds when @mentioned."
|
|
48
|
+
},
|
|
49
|
+
"credentials": {
|
|
50
|
+
"label": "API Credentials",
|
|
51
|
+
"advanced": true
|
|
52
|
+
},
|
|
53
|
+
"credentials.clientId": {
|
|
54
|
+
"label": "Client ID",
|
|
55
|
+
"placeholder": "Your RingCentral App Client ID",
|
|
56
|
+
"sensitive": true
|
|
57
|
+
},
|
|
58
|
+
"credentials.clientSecret": {
|
|
59
|
+
"label": "Client Secret",
|
|
60
|
+
"placeholder": "Your RingCentral App Client Secret",
|
|
61
|
+
"sensitive": true
|
|
62
|
+
},
|
|
63
|
+
"credentials.jwt": {
|
|
64
|
+
"label": "JWT Token",
|
|
65
|
+
"placeholder": "eyJraWQiOi...",
|
|
66
|
+
"sensitive": true
|
|
67
|
+
},
|
|
68
|
+
"credentials.server": {
|
|
69
|
+
"label": "API Server",
|
|
70
|
+
"placeholder": "https://platform.ringcentral.com",
|
|
71
|
+
"help": "Use https://platform.devtest.ringcentral.com for sandbox"
|
|
72
|
+
},
|
|
73
|
+
"dmPolicy": {
|
|
74
|
+
"label": "DM Policy",
|
|
75
|
+
"help": "How to handle direct messages: disabled, allowlist, pairing, or open",
|
|
76
|
+
"advanced": true
|
|
77
|
+
},
|
|
78
|
+
"allowFrom": {
|
|
79
|
+
"label": "DM Allowlist",
|
|
80
|
+
"help": "User IDs allowed to send DMs",
|
|
81
|
+
"placeholder": "3218766020",
|
|
82
|
+
"advanced": true
|
|
83
|
+
},
|
|
84
|
+
"mediaMaxMb": {
|
|
85
|
+
"label": "Max Media Size (MB)",
|
|
86
|
+
"placeholder": "20",
|
|
87
|
+
"advanced": true
|
|
88
|
+
},
|
|
89
|
+
"textChunkLimit": {
|
|
90
|
+
"label": "Text Chunk Limit",
|
|
91
|
+
"placeholder": "4000",
|
|
92
|
+
"advanced": true
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"configSchema": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"additionalProperties": false,
|
|
98
|
+
"properties": {
|
|
99
|
+
"enabled": {
|
|
100
|
+
"type": "boolean",
|
|
101
|
+
"description": "Enable the RingCentral channel"
|
|
102
|
+
},
|
|
103
|
+
"selfOnly": {
|
|
104
|
+
"type": "boolean",
|
|
105
|
+
"description": "Only respond to JWT user in Personal chat (default: true)"
|
|
106
|
+
},
|
|
107
|
+
"groupPolicy": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"enum": ["disabled", "allowlist", "open"],
|
|
110
|
+
"description": "Policy for handling group/team messages"
|
|
111
|
+
},
|
|
112
|
+
"groups": {
|
|
113
|
+
"type": "object",
|
|
114
|
+
"additionalProperties": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"properties": {
|
|
117
|
+
"enabled": {
|
|
118
|
+
"type": "boolean",
|
|
119
|
+
"description": "Enable this team"
|
|
120
|
+
},
|
|
121
|
+
"requireMention": {
|
|
122
|
+
"type": "boolean",
|
|
123
|
+
"description": "Require @mention to trigger"
|
|
124
|
+
},
|
|
125
|
+
"systemPrompt": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"description": "Custom system prompt for this team"
|
|
128
|
+
},
|
|
129
|
+
"users": {
|
|
130
|
+
"type": "array",
|
|
131
|
+
"items": {
|
|
132
|
+
"type": "string"
|
|
133
|
+
},
|
|
134
|
+
"description": "Allowed user IDs in this team"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"description": "Team/Group configurations keyed by Team ID"
|
|
139
|
+
},
|
|
140
|
+
"requireMention": {
|
|
141
|
+
"type": "boolean",
|
|
142
|
+
"description": "Require @mention in group chats (global default)"
|
|
143
|
+
},
|
|
144
|
+
"credentials": {
|
|
145
|
+
"type": "object",
|
|
146
|
+
"additionalProperties": false,
|
|
147
|
+
"properties": {
|
|
148
|
+
"clientId": {
|
|
149
|
+
"type": "string"
|
|
150
|
+
},
|
|
151
|
+
"clientSecret": {
|
|
152
|
+
"type": "string"
|
|
153
|
+
},
|
|
154
|
+
"jwt": {
|
|
155
|
+
"type": "string"
|
|
156
|
+
},
|
|
157
|
+
"server": {
|
|
158
|
+
"type": "string"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"dmPolicy": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"enum": ["disabled", "allowlist", "pairing", "open"]
|
|
165
|
+
},
|
|
166
|
+
"allowFrom": {
|
|
167
|
+
"type": "array",
|
|
168
|
+
"items": {
|
|
169
|
+
"type": ["string", "number"]
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"groupAllowFrom": {
|
|
173
|
+
"type": "array",
|
|
174
|
+
"items": {
|
|
175
|
+
"type": ["string", "number"]
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"mediaMaxMb": {
|
|
179
|
+
"type": "integer",
|
|
180
|
+
"minimum": 1
|
|
181
|
+
},
|
|
182
|
+
"textChunkLimit": {
|
|
183
|
+
"type": "integer",
|
|
184
|
+
"minimum": 1
|
|
185
|
+
},
|
|
186
|
+
"name": {
|
|
187
|
+
"type": "string"
|
|
188
|
+
},
|
|
189
|
+
"accounts": {
|
|
190
|
+
"type": "object",
|
|
191
|
+
"additionalProperties": {
|
|
192
|
+
"type": "object"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"defaultAccount": {
|
|
196
|
+
"type": "string"
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "openclaw-ringcentral",
|
|
3
|
+
"version": "2026.1.29-beta1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "index.ts",
|
|
6
|
+
"description": "OpenClaw RingCentral Team Messaging channel plugin",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"test": "vitest run",
|
|
10
|
+
"test:watch": "vitest",
|
|
11
|
+
"typecheck": "tsc --noEmit"
|
|
12
|
+
},
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://github.com/danbao/openclaw-ringcentral.git"
|
|
16
|
+
},
|
|
17
|
+
"homepage": "https://github.com/danbao/openclaw-ringcentral#readme",
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/danbao/openclaw-ringcentral/issues"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"openclaw",
|
|
23
|
+
"ringcentral",
|
|
24
|
+
"team-messaging",
|
|
25
|
+
"chat",
|
|
26
|
+
"bot"
|
|
27
|
+
],
|
|
28
|
+
"files": [
|
|
29
|
+
"src",
|
|
30
|
+
"index.ts",
|
|
31
|
+
"openclaw.plugin.json",
|
|
32
|
+
"README.md"
|
|
33
|
+
],
|
|
34
|
+
"openclaw": {
|
|
35
|
+
"extensions": [
|
|
36
|
+
"./index.ts"
|
|
37
|
+
],
|
|
38
|
+
"channel": {
|
|
39
|
+
"id": "ringcentral",
|
|
40
|
+
"label": "RingCentral",
|
|
41
|
+
"selectionLabel": "RingCentral Team Messaging",
|
|
42
|
+
"detailLabel": "RingCentral",
|
|
43
|
+
"docsPath": "/channels/ringcentral",
|
|
44
|
+
"docsLabel": "ringcentral",
|
|
45
|
+
"blurb": "RingCentral Team Messaging via REST API and WebSocket.",
|
|
46
|
+
"aliases": [
|
|
47
|
+
"rc",
|
|
48
|
+
"ringcentral-tm"
|
|
49
|
+
],
|
|
50
|
+
"order": 56
|
|
51
|
+
},
|
|
52
|
+
"install": {
|
|
53
|
+
"npmSpec": "openclaw-ringcentral",
|
|
54
|
+
"defaultChoice": "npm"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@ringcentral/sdk": "^5.0.0",
|
|
59
|
+
"@ringcentral/subscriptions": "^5.0.0",
|
|
60
|
+
"isomorphic-ws": "^5.0.0",
|
|
61
|
+
"ws": "^8.18.0",
|
|
62
|
+
"zod": "^4.3.6"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"openclaw": "2026.1.29",
|
|
66
|
+
"typescript": "^5.7.3",
|
|
67
|
+
"vitest": "^3.0.4"
|
|
68
|
+
},
|
|
69
|
+
"peerDependencies": {
|
|
70
|
+
"openclaw": ">=2026.1.29"
|
|
71
|
+
}
|
|
72
|
+
}
|