@opengate/openclaw 0.1.2 → 0.1.4
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 +42 -32
- package/package.json +7 -2
package/openclaw.plugin.json
CHANGED
|
@@ -1,36 +1,46 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"name": "
|
|
4
|
-
"displayName": "OpenGate Bridge",
|
|
2
|
+
"id": "openclaw",
|
|
3
|
+
"name": "OpenGate",
|
|
5
4
|
"description": "Real-time push notifications from OpenGate to agents via HTTP polling or WebSocket",
|
|
6
|
-
"version": "0.1.
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
5
|
+
"version": "0.1.2",
|
|
6
|
+
"configSchema": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"properties": {
|
|
10
|
+
"url": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "OpenGate server URL",
|
|
13
|
+
"default": "https://opengate.sh"
|
|
14
|
+
},
|
|
15
|
+
"apiKey": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Agent API key (tf_... format)"
|
|
18
|
+
},
|
|
19
|
+
"mode": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "Notification mode: 'polling' (default) or 'websocket'",
|
|
22
|
+
"enum": [
|
|
23
|
+
"polling",
|
|
24
|
+
"websocket"
|
|
25
|
+
],
|
|
26
|
+
"default": "polling"
|
|
27
|
+
},
|
|
28
|
+
"pollIntervalMs": {
|
|
29
|
+
"type": "number",
|
|
30
|
+
"description": "Polling interval in milliseconds (only used in polling mode)",
|
|
31
|
+
"default": 600000
|
|
32
|
+
},
|
|
33
|
+
"projectId": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "Optional project ID to filter notifications"
|
|
36
|
+
}
|
|
13
37
|
},
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"enum": ["polling", "websocket"],
|
|
23
|
-
"default": "polling"
|
|
24
|
-
},
|
|
25
|
-
"pollIntervalMs": {
|
|
26
|
-
"type": "number",
|
|
27
|
-
"description": "Polling interval in milliseconds (only used in polling mode)",
|
|
28
|
-
"default": 600000
|
|
29
|
-
},
|
|
30
|
-
"projectId": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"description": "Optional project ID to filter notifications",
|
|
33
|
-
"required": false
|
|
34
|
-
}
|
|
35
|
-
}
|
|
38
|
+
"required": [
|
|
39
|
+
"url",
|
|
40
|
+
"apiKey"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"skills": [
|
|
44
|
+
"skills/opengate"
|
|
45
|
+
]
|
|
36
46
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengate/openclaw",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "OpenClaw plugin for OpenGate
|
|
3
|
+
"version": "0.1.4",
|
|
4
|
+
"description": "OpenClaw plugin for OpenGate \u2014 real-time agent notifications via HTTP polling or WebSocket",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -26,6 +26,11 @@
|
|
|
26
26
|
"engines": {
|
|
27
27
|
"node": ">=18"
|
|
28
28
|
},
|
|
29
|
+
"openclaw": {
|
|
30
|
+
"extensions": [
|
|
31
|
+
"./dist/index.js"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
29
34
|
"publishConfig": {
|
|
30
35
|
"access": "public"
|
|
31
36
|
}
|