openclaw-quiubo 2.6.3 → 2.6.4
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
|
@@ -12603,9 +12603,9 @@ var RealtimeGateway = class {
|
|
|
12603
12603
|
await this.startPusher();
|
|
12604
12604
|
} else {
|
|
12605
12605
|
this.log.info?.("No Pusher config \u2014 using polling only");
|
|
12606
|
+
this.startPolling();
|
|
12607
|
+
if (this.agentId) this.startHeartbeat();
|
|
12606
12608
|
}
|
|
12607
|
-
this.startPolling();
|
|
12608
|
-
if (this.agentId) this.startHeartbeat();
|
|
12609
12609
|
}
|
|
12610
12610
|
/**
|
|
12611
12611
|
* Stop the gateway.
|
|
@@ -12662,7 +12662,8 @@ var RealtimeGateway = class {
|
|
|
12662
12662
|
});
|
|
12663
12663
|
this.pusherClient.connection.bind("connected", () => {
|
|
12664
12664
|
this.pusherConnected = true;
|
|
12665
|
-
log.info?.("Pusher connected
|
|
12665
|
+
log.info?.("Pusher connected");
|
|
12666
|
+
this.stopPolling();
|
|
12666
12667
|
if (this.agentId) this.startHeartbeat();
|
|
12667
12668
|
});
|
|
12668
12669
|
this.pusherClient.connection.bind("disconnected", () => {
|
|
@@ -12878,7 +12879,7 @@ var RealtimeGateway = class {
|
|
|
12878
12879
|
}
|
|
12879
12880
|
}
|
|
12880
12881
|
async poll() {
|
|
12881
|
-
if (this.polling) return;
|
|
12882
|
+
if (this.polling || this.pusherConnected) return;
|
|
12882
12883
|
this.polling = true;
|
|
12883
12884
|
try {
|
|
12884
12885
|
this.clearStaleSuppression();
|
|
@@ -13694,6 +13695,7 @@ var quiuboPlugin = {
|
|
|
13694
13695
|
}
|
|
13695
13696
|
},
|
|
13696
13697
|
onMessage: async (msg) => {
|
|
13698
|
+
log?.info?.(`[${accountId}] [delivery:onMessage] messageId=${msg.messageId} groupId=${msg.groupId} sender=${msg.senderIdentityId} text=${msg.plaintext?.slice(0, 80)}`);
|
|
13697
13699
|
try {
|
|
13698
13700
|
await routeInboundMessage({
|
|
13699
13701
|
runtime: runtime2,
|