@insta-dev01/intclaw 1.0.3 → 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 +1 -1
- package/package.json +1 -1
- package/src/index.js +3 -3
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "intclaw",
|
|
3
3
|
"name": "IntClaw Plugin",
|
|
4
4
|
"description": "OpenClaw plugin for IntClaw services - WebSocket-based channel integration for Community Platform, Message Channel, and Agent Collaboration Engine",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.5",
|
|
6
6
|
"kind": "channel",
|
|
7
7
|
"channels": ["intclaw"],
|
|
8
8
|
"configSchema": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insta-dev01/intclaw",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "OpenClaw plugin for IntClaw services - WebSocket-based channel integration for Community Platform, Message Channel, and Agent Collaboration Engine",
|
|
6
6
|
"main": "src/index.js",
|
package/src/index.js
CHANGED
|
@@ -19,13 +19,13 @@ export async function registerChannel(gateway, config) {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Plugin initialization function
|
|
22
|
+
* Plugin initialization function (OpenClaw entry point)
|
|
23
23
|
* @param {Object} gateway - OpenClaw gateway instance
|
|
24
24
|
* @param {Object} config - Plugin configuration
|
|
25
25
|
* @returns {Promise<void>}
|
|
26
26
|
*/
|
|
27
|
-
export async function
|
|
28
|
-
if (config
|
|
27
|
+
export async function register(gateway, config) {
|
|
28
|
+
if (config?.enabled !== false) {
|
|
29
29
|
await registerChannel(gateway, config);
|
|
30
30
|
}
|
|
31
31
|
}
|