@clawrent/openclaw-channel 0.2.9 → 0.3.1

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,5 @@
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;
5
+ export declare const activate: (api: any) => void;
package/dist/index.js CHANGED
@@ -102,3 +102,12 @@ const entry = defineChannelPluginEntry({
102
102
  },
103
103
  });
104
104
  export default entry;
105
+ // Named exports for install-time validation compatibility.
106
+ // OpenClaw's validation historically checks for named `register`/`activate` exports
107
+ // (see docs/openclaw-sdk-notes.md #5). `defineChannelPluginEntry` produces a
108
+ // default-export-only entry whose `register` method lives on the entry object.
109
+ // Re-exporting `register` (and `activate` as a fallback alias) satisfies the
110
+ // validation without changing runtime behavior: the runtime calls the default
111
+ // export's register method, which dispatches to registerFull in `full` mode.
112
+ export const register = entry.register;
113
+ export const activate = 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.9",
5
+ "version": "0.3.1",
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.9",
3
+ "version": "0.3.1",
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",
@@ -34,9 +34,9 @@
34
34
  "install": {
35
35
  "clawhubSpec": "clawhub:@clawrent/openclaw-channel",
36
36
  "defaultChoice": "clawhub",
37
- "minHostVersion": ">=2026.6.11"
37
+ "minHostVersion": ">=2026.7.1"
38
38
  },
39
- "compat": { "pluginApi": ">=2026.6.11" },
39
+ "compat": { "pluginApi": ">=2026.7.1" },
40
40
  "build": { "openclawVersion": "2026.7.1" },
41
41
  "release": { "publishToClawHub": true }
42
42
  },