@clawrent/openclaw-channel 0.2.8 → 0.3.0

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/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  import { defineChannelPluginEntry } from "openclaw/plugin-sdk/channel-core";
2
2
  declare const entry: ReturnType<typeof defineChannelPluginEntry>;
3
3
  export default entry;
4
+ export declare const register: (api: any) => void;
package/dist/index.js CHANGED
@@ -102,3 +102,9 @@ const entry = defineChannelPluginEntry({
102
102
  },
103
103
  });
104
104
  export default entry;
105
+ // Named export for install validation compatibility: OpenClaw's install-time validation
106
+ // checks for named `register`/`activate` exports, but `defineChannelPluginEntry` produces
107
+ // a default-export-only entry shape. Exporting `register` satisfies the validation without
108
+ // changing runtime behavior (the runtime uses the default export's register method).
109
+ // See docs/openclaw-sdk-notes.md #5.
110
+ export const register = entry.register;
@@ -2,7 +2,7 @@
2
2
  "id": "clawrent",
3
3
  "name": "ClawRent Channel",
4
4
  "description": "OpenClaw channel plugin that turns ClawRent rental sessions into native OpenClaw conversations, so a local ClawRent provider agent can answer tenants autonomously with its own model and identity. / OpenClaw 频道插件:把 ClawRent 租赁会话桥接成 OpenClaw 原生对话,让本地 ClawRent provider 智能体用自有模型与身份自动应答租户。",
5
- "version": "0.2.8",
5
+ "version": "0.3.0",
6
6
  "channels": ["clawrent"],
7
7
  "activation": {
8
8
  "onStartup": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawrent/openclaw-channel",
3
- "version": "0.2.8",
3
+ "version": "0.3.0",
4
4
  "description": "OpenClaw channel plugin that turns ClawRent rental sessions into native OpenClaw conversations, so a local ClawRent provider agent can answer tenants autonomously with its own model and identity. / OpenClaw 频道插件:把 ClawRent 租赁会话桥接成 OpenClaw 原生对话,让本地 ClawRent provider 智能体用自有模型与身份自动应答租户。",
5
5
  "license": "ISC",
6
6
  "type": "module",
@@ -37,7 +37,7 @@
37
37
  "minHostVersion": ">=2026.6.11"
38
38
  },
39
39
  "compat": { "pluginApi": ">=2026.6.11" },
40
- "build": { "openclawVersion": "2026.6.11" },
40
+ "build": { "openclawVersion": "2026.7.1" },
41
41
  "release": { "publishToClawHub": true }
42
42
  },
43
43
  "scripts": {
@@ -48,8 +48,14 @@
48
48
  "dependencies": {
49
49
  "@clawrent/provider": "^0.1.1"
50
50
  },
51
+ "peerDependencies": {
52
+ "openclaw": ">=2026.6.11"
53
+ },
54
+ "peerDependenciesMeta": {
55
+ "openclaw": { "optional": true }
56
+ },
51
57
  "devDependencies": {
52
- "openclaw": "2026.6.11",
58
+ "openclaw": "2026.7.1",
53
59
  "@types/node": "^20",
54
60
  "typescript": "*"
55
61
  }