@kartik.doda/openclaw-plugin-test 1.0.4 → 1.0.5
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/openclaw.plugin.json +180 -0
- package/package.json +2 -2
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "rocketchat",
|
|
3
|
+
"name": "Rocket.Chat",
|
|
4
|
+
"description": "Rocket.Chat channel plugin with DDP/websocket outbound/inbound",
|
|
5
|
+
"version": "1.0.5",
|
|
6
|
+
"kind": "channel",
|
|
7
|
+
"channels": [
|
|
8
|
+
"rocketchat"
|
|
9
|
+
],
|
|
10
|
+
"channelConfigs": {
|
|
11
|
+
"rocketchat": {
|
|
12
|
+
"schema": {
|
|
13
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"accounts": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"propertyNames": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"minLength": 1
|
|
21
|
+
},
|
|
22
|
+
"additionalProperties": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"enabled": {
|
|
26
|
+
"type": "boolean"
|
|
27
|
+
},
|
|
28
|
+
"serverUrl": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"minLength": 1
|
|
31
|
+
},
|
|
32
|
+
"auth": {
|
|
33
|
+
"oneOf": [
|
|
34
|
+
{
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"mode": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"const": "token"
|
|
40
|
+
},
|
|
41
|
+
"userId": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"minLength": 1
|
|
44
|
+
},
|
|
45
|
+
"accessToken": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"minLength": 1
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"required": [
|
|
51
|
+
"mode",
|
|
52
|
+
"userId",
|
|
53
|
+
"accessToken"
|
|
54
|
+
],
|
|
55
|
+
"additionalProperties": false
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"mode": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"const": "password"
|
|
63
|
+
},
|
|
64
|
+
"username": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"minLength": 1
|
|
67
|
+
},
|
|
68
|
+
"password": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"minLength": 1
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"required": [
|
|
74
|
+
"mode",
|
|
75
|
+
"username",
|
|
76
|
+
"password"
|
|
77
|
+
],
|
|
78
|
+
"additionalProperties": false
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"transport": {
|
|
83
|
+
"oneOf": [
|
|
84
|
+
{
|
|
85
|
+
"type": "object",
|
|
86
|
+
"properties": {
|
|
87
|
+
"mode": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"const": "websocket"
|
|
90
|
+
},
|
|
91
|
+
"reconnectDelayMs": {
|
|
92
|
+
"default": 2000,
|
|
93
|
+
"type": "integer",
|
|
94
|
+
"exclusiveMinimum": 0,
|
|
95
|
+
"maximum": 9007199254740991
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": [
|
|
99
|
+
"mode"
|
|
100
|
+
],
|
|
101
|
+
"additionalProperties": false
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
"mentionNames": {
|
|
106
|
+
"default": [],
|
|
107
|
+
"type": "array",
|
|
108
|
+
"items": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"minLength": 1
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"agent": {
|
|
114
|
+
"type": "string",
|
|
115
|
+
"minLength": 1
|
|
116
|
+
},
|
|
117
|
+
"owner": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"minLength": 1
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"required": [
|
|
123
|
+
"enabled",
|
|
124
|
+
"serverUrl",
|
|
125
|
+
"auth",
|
|
126
|
+
"transport",
|
|
127
|
+
"mentionNames"
|
|
128
|
+
],
|
|
129
|
+
"additionalProperties": false
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"limits": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"properties": {
|
|
135
|
+
"maxAccounts": {
|
|
136
|
+
"default": 10,
|
|
137
|
+
"type": "integer",
|
|
138
|
+
"exclusiveMinimum": 0,
|
|
139
|
+
"maximum": 9007199254740991
|
|
140
|
+
},
|
|
141
|
+
"maxBotsPerServer": {
|
|
142
|
+
"default": 5,
|
|
143
|
+
"type": "integer",
|
|
144
|
+
"exclusiveMinimum": 0,
|
|
145
|
+
"maximum": 9007199254740991
|
|
146
|
+
},
|
|
147
|
+
"botCreationCooldownMs": {
|
|
148
|
+
"default": 60000,
|
|
149
|
+
"type": "integer",
|
|
150
|
+
"exclusiveMinimum": 0,
|
|
151
|
+
"maximum": 9007199254740991
|
|
152
|
+
},
|
|
153
|
+
"maxReconnects": {
|
|
154
|
+
"default": 20,
|
|
155
|
+
"type": "integer",
|
|
156
|
+
"exclusiveMinimum": 0,
|
|
157
|
+
"maximum": 9007199254740991
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"additionalProperties": false
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"required": [
|
|
164
|
+
"accounts"
|
|
165
|
+
],
|
|
166
|
+
"additionalProperties": false
|
|
167
|
+
},
|
|
168
|
+
"uiHints": {
|
|
169
|
+
"accounts.*.serverUrl": {
|
|
170
|
+
"label": "Server URL",
|
|
171
|
+
"placeholder": "https://chat.example.com"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"configSchema": {
|
|
177
|
+
"type": "object",
|
|
178
|
+
"additionalProperties": true
|
|
179
|
+
}
|
|
180
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kartik.doda/openclaw-plugin-test",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "A fully unified plugin for integrating Rocket.Chat with OpenClaw. This plugin eliminates the need for an external bridging server, providing a direct, single-place architecture for inbounds, outbounds, session management, and CLI configuration.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"openclaw": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"url": "https://github.com/RocketChat/OpenClaw.Plugin/issues"
|
|
36
36
|
},
|
|
37
37
|
"homepage": "https://github.com/RocketChat/OpenClaw.Plugin#readme",
|
|
38
|
-
"files": ["dist", "README.md"],
|
|
38
|
+
"files": ["dist", "openclaw.plugin.json", "README.md"],
|
|
39
39
|
"publishConfig": { "access": "public" },
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@clack/core": "1.4.3",
|