qidao-openclaw-plugin 1.0.2 → 1.0.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "qidao-openclaw-plugin",
3
3
  "name": "栖岛聊天插件",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "description": "OpenClaw 栖岛聊天 Channel 插件,连接到栖岛聊天服务",
6
6
  "author": "Qidao Team",
7
7
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qidao-openclaw-plugin",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "description": "OpenClaw 栖岛聊天 Channel 插件 - 连接到栖岛聊天服务",
package/src/index.js CHANGED
@@ -126,7 +126,7 @@ export default {
126
126
  });
127
127
 
128
128
  // 获取OpenClaw配置
129
- const openclawConfig = api.getGatewayConfig?.() || {};
129
+ const openclawConfig = ctx.config || {};
130
130
  const accounts = openclawConfig.channels?.qidao?.accounts ?? {};
131
131
 
132
132
  // 为每个启用的账户创建连接