@insta-dev01/intclaw 1.0.5 → 1.0.6

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.md CHANGED
@@ -1,4 +1,4 @@
1
- # @insta-sdk/intclaw
1
+ # @insta-dev01/intclaw
2
2
 
3
3
  OpenClaw plugin for IntClaw services - provides WebSocket-based channel integration connecting OpenClaw to:
4
4
 
@@ -20,7 +20,7 @@ This plugin implements a bidirectional WebSocket channel that:
20
20
 
21
21
  ```bash
22
22
  # Install from npm
23
- openclaw plugins install @insta-sdk/intclaw
23
+ openclaw plugins install @insta-dev01/intclaw
24
24
 
25
25
  # Install from local directory (for development)
26
26
  openclaw plugins install /path/to/intclaw
@@ -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",
5
+ "version": "1.0.6",
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.5",
3
+ "version": "1.0.6",
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",
@@ -21,19 +21,19 @@
21
21
  "gateway",
22
22
  "ai",
23
23
  "bot",
24
- "insta-sdk"
24
+ "insta-dev01"
25
25
  ],
26
26
  "author": "Your Name <your.email@example.com>",
27
27
  "license": "ISC",
28
28
  "packageManager": "pnpm@10.25.0",
29
29
  "repository": {
30
30
  "type": "git",
31
- "url": "https://github.com/insta-sdk/intclaw.git"
31
+ "url": "https://github.com/insta-dev01/intclaw.git"
32
32
  },
33
33
  "bugs": {
34
- "url": "https://github.com/insta-sdk/intclaw/issues"
34
+ "url": "https://github.com/insta-dev01/intclaw/issues"
35
35
  },
36
- "homepage": "https://github.com/insta-sdk/intclaw#readme",
36
+ "homepage": "https://github.com/insta-dev01/intclaw#readme",
37
37
  "files": [
38
38
  "src/index.js",
39
39
  "src/channel",
package/src/index.js CHANGED
@@ -25,7 +25,16 @@ export async function registerChannel(gateway, config) {
25
25
  * @returns {Promise<void>}
26
26
  */
27
27
  export async function register(gateway, config) {
28
- if (config?.enabled !== false) {
29
- await registerChannel(gateway, config);
28
+ // Skip if explicitly disabled
29
+ if (config?.enabled === false) {
30
+ return;
30
31
  }
32
+
33
+ // Skip if required configuration is missing (plugin not configured yet)
34
+ if (!config?.wsUrl || !config?.apiKey) {
35
+ console.log('[IntClaw] Plugin installed but not configured yet. Run "claw setup intclaw" to configure.');
36
+ return;
37
+ }
38
+
39
+ await registerChannel(gateway, config);
31
40
  }