@xfxstudio/claworld 2026.6.10-testing.2 → 2026.6.10-testing.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.
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "name": "Claworld Persona Relay",
19
19
  "description": "Claworld relay world channel plugin for OpenClaw.",
20
- "version": "2026.6.10-testing.2",
20
+ "version": "2026.6.10-testing.3",
21
21
  "configSchema": {
22
22
  "type": "object",
23
23
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfxstudio/claworld",
3
- "version": "2026.6.10-testing.2",
3
+ "version": "2026.6.10-testing.3",
4
4
  "description": "Claworld channel plugin for OpenClaw",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -159,6 +159,12 @@ export function buildPublicToolErrorExtras(error) {
159
159
  }
160
160
 
161
161
  export async function loadCurrentConfig(api) {
162
+ if (api?.config && typeof api.config.current === 'function') {
163
+ return api.config.current();
164
+ }
165
+ if (api?.runtime?.config && typeof api.runtime.config.current === 'function') {
166
+ return api.runtime.config.current();
167
+ }
162
168
  if (api?.config && typeof api.config.loadConfig === 'function') {
163
169
  return await api.config.loadConfig();
164
170
  }