openclaw-quiubo 2.6.66 → 2.6.67

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.js CHANGED
@@ -13469,7 +13469,11 @@ function extractAgentIdFromSessionKey(key) {
13469
13469
  return match?.[1] ?? "main";
13470
13470
  }
13471
13471
  function resolveAccountId(config, agentId) {
13472
- const bindings = config?.bindings ?? [];
13472
+ let resolvedConfig = config;
13473
+ if (!resolvedConfig?.bindings && typeof resolvedConfig?.loadConfig === "function") {
13474
+ resolvedConfig = resolvedConfig.loadConfig();
13475
+ }
13476
+ const bindings = resolvedConfig?.bindings ?? [];
13473
13477
  const matched = bindings.find(
13474
13478
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13475
13479
  (b) => b?.match?.channel === "quiubo" && b?.agentId === agentId