@coolclaw/coolclaw 0.3.2 → 0.3.3

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.
@@ -62,7 +62,7 @@ function splitCsv(value) {
62
62
  }
63
63
 
64
64
  // src/compat.ts
65
- var SUPPORTED_HOST_MIN = "2026.3.22";
65
+ var SUPPORTED_HOST_MIN = "2026.4.24";
66
66
  function assertHostCompatibility(hostVersion) {
67
67
  if (!hostVersion || hostVersion === "unknown") return;
68
68
  if (isHostVersionSupported(hostVersion)) return;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  index_default
3
- } from "./chunk-ASAPYHCD.js";
3
+ } from "./chunk-727FMVYY.js";
4
4
  import "./chunk-UQDUXUWV.js";
5
5
  import "./chunk-A54AF634.js";
6
6
  import "./chunk-Q3NF4NWE.js";
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  index_default
3
- } from "./chunk-ASAPYHCD.js";
3
+ } from "./chunk-727FMVYY.js";
4
4
  import "./chunk-UQDUXUWV.js";
5
5
  import "./chunk-A54AF634.js";
6
6
  import "./chunk-Q3NF4NWE.js";
@@ -5,6 +5,38 @@
5
5
  "channels": [
6
6
  "coolclaw"
7
7
  ],
8
+ "channelConfigs": {
9
+ "coolclaw": {
10
+ "schema": {
11
+ "type": "object",
12
+ "additionalProperties": false,
13
+ "properties": {
14
+ "accounts": {
15
+ "type": "object",
16
+ "additionalProperties": {
17
+ "type": "object",
18
+ "properties": {
19
+ "gatewayUrl": { "type": "string", "description": "Riddle gateway URL" },
20
+ "agentId": { "type": "string", "description": "Riddle agent ID" },
21
+ "tokenSecretRef": { "type": "string", "description": "Token secret reference (file:// or env:)" },
22
+ "allowFrom": { "type": "array", "items": { "type": "string" }, "description": "Allowed sender IDs" },
23
+ "dmPolicy": { "type": "string", "enum": ["allowlist", "pairing", "open"], "description": "DM access policy" },
24
+ "enabled": { "type": "boolean", "description": "Whether the account is enabled" },
25
+ "name": { "type": "string", "description": "Account display name" }
26
+ }
27
+ }
28
+ }
29
+ }
30
+ },
31
+ "label": "CoolClaw",
32
+ "description": "Riddle CoolClaw chat platform",
33
+ "uiHints": {
34
+ "accounts.default.gatewayUrl": { "label": "Gateway URL" },
35
+ "accounts.default.agentId": { "label": "Agent ID" },
36
+ "accounts.default.tokenSecretRef": { "label": "Token secret ref", "sensitivity": "secret" }
37
+ }
38
+ }
39
+ },
8
40
  "channelEnvVars": {
9
41
  "coolclaw": [
10
42
  "COOLCLAW_GATEWAY_URL",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolclaw/coolclaw",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "OpenClaw native channel plugin for Riddle/CoolClaw chat.",
5
5
  "type": "module",
6
6
  "files": [
@@ -35,13 +35,13 @@
35
35
  "devDependencies": {
36
36
  "@types/node": "latest",
37
37
  "@types/ws": "latest",
38
- "openclaw": "^2026.4.20",
38
+ "openclaw": "^2026.4.27",
39
39
  "tsup": "latest",
40
40
  "typescript": "latest",
41
41
  "vitest": "latest"
42
42
  },
43
43
  "peerDependencies": {
44
- "openclaw": ">=2026.3.22"
44
+ "openclaw": ">=2026.4.24"
45
45
  },
46
46
  "peerDependenciesMeta": {
47
47
  "openclaw": {
@@ -59,9 +59,9 @@
59
59
  "runtimeSetupEntry": "./dist/setup-entry.js",
60
60
  "install": {
61
61
  "npmSpec": "@coolclaw/coolclaw",
62
- "expectedIntegrity": "sha512-JmNBFiIo4XPTkk1bqjtRZcP8HhdOJr1ng6OV6g0u0wFJA7IWFn3SxxNDtAbc6BnYRyDzY3MUj+Slaa7DoGXWPQ==",
62
+ "expectedIntegrity": "sha512-VwKa0sl2seFbgO6k1kG1pEKdFWYZLiDeoRJR/wR+ClRgsRGOQPkWiLBS0QFPNrPt/uCFKyYRNSKRFEEOED2qIg==",
63
63
  "defaultChoice": "npm",
64
- "minHostVersion": ">=2026.3.22"
64
+ "minHostVersion": ">=2026.4.24"
65
65
  },
66
66
  "channel": {
67
67
  "id": "coolclaw",
@@ -76,12 +76,12 @@
76
76
  }
77
77
  },
78
78
  "compat": {
79
- "pluginApi": ">=2026.3.22",
80
- "minGatewayVersion": "2026.3.22",
79
+ "pluginApi": ">=2026.4.24",
80
+ "minGatewayVersion": "2026.4.24",
81
81
  "sdkImports": ["openclaw/plugin-sdk/core"]
82
82
  },
83
83
  "build": {
84
- "openclawVersion": "2026.4.20",
84
+ "openclawVersion": "2026.5.6",
85
85
  "pluginSdkVersion": "2026.4.29"
86
86
  }
87
87
  }