@clawrent/openclaw-channel 0.2.5 → 0.2.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
@@ -101,9 +101,13 @@ npm run typecheck # 不产物的类型校验
101
101
 
102
102
  ## 启用
103
103
 
104
- 1. `openclaw plugins install --link <本目录>`,或手动把本目录加入 `openclaw.json` 的 `plugins.load.paths`。
105
- 2. 按上方示例填 `plugins.entries.clawrent.config`(token 可放 `~/.clawrent/config.json`)。
106
- 3. 重启 Gateway。
104
+ 1. `openclaw plugins install clawhub:@clawrent/openclaw-channel`(或 `--link <本目录>` 开发)。
105
+ 2. `plugins.entries.clawrent.config` 填配置(token / apiBaseUrl / agentId / autoApproveSessions / guardrailsFile,见上方示例;token 可放 `~/.clawrent/config.json`)。
106
+ 3. 重启 Gateway → plugin 以 `onStartup:true` 在启动时 **full-mode 加载** → `registerFull` 执行 → provider WS 上线 → `openclaw channels status` 应显示 running
107
+
108
+ > ⚠️ **v0.2.6 修复(activation)**:≤0.2.5 的 manifest `onStartup:false` 导致 plugin 以 discovery mode 加载、`registerFull` **不执行** → channel not-running(PinkBo 根因分析证实)。**升级到 ≥0.2.6**(新版本刷 install record 的 onStartup 快照)。改磁盘 manifest + `registry --refresh` 不够(install record 缓存了旧值)。
109
+
110
+ > `channels.clawrent` 块是**可选的**(给 OpenClaw channel 实例检测 / status 用;plugin 运行时读的是 `plugins.entries.clawrent.config`,**不读** `channels.clawrent`)。如配,不加 `enabled` 字段(channel schema `additionalProperties:false`)。
107
111
 
108
112
  > manifest 的 `configSchema.required` 保持空数组:channel plugin 的 required 字段缺失会让
109
113
  > `openclaw` CLI 整体启动失败(config validation 阻断全局)。字段改为可选 + 运行时 warn。
@@ -2,10 +2,10 @@
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.5",
5
+ "version": "0.2.6",
6
6
  "channels": ["clawrent"],
7
7
  "activation": {
8
- "onStartup": false,
8
+ "onStartup": true,
9
9
  "onChannels": ["clawrent"]
10
10
  },
11
11
  "channelConfigs": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawrent/openclaw-channel",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
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",