@sumeai/sumeclaw 1.1.14 → 1.1.15
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/src/channel.js +1 -1
- package/dist/src/gateway.js +3 -3
- package/package.json +1 -1
package/dist/src/channel.js
CHANGED
|
@@ -118,7 +118,7 @@ exports.sumeclawPlugin = (0, channel_core_1.createChatChannelPlugin)({
|
|
|
118
118
|
text,
|
|
119
119
|
messageId,
|
|
120
120
|
}));
|
|
121
|
-
(0, gateway_js_1.schedulePendingFinalReply)(resolvedAccountId, to,
|
|
121
|
+
(0, gateway_js_1.schedulePendingFinalReply)(resolvedAccountId, to, 45_000);
|
|
122
122
|
console.log("[sumeclaw] 📤 outbound agent_delta sent", {
|
|
123
123
|
accountId: resolvedAccountId,
|
|
124
124
|
requestId: pending.requestId,
|
package/dist/src/gateway.js
CHANGED
|
@@ -86,7 +86,7 @@ function appendPendingReplyText(accountId, userId, text) {
|
|
|
86
86
|
}
|
|
87
87
|
return ctx.accumulatedText;
|
|
88
88
|
}
|
|
89
|
-
function schedulePendingFinalReply(accountId, userId, delayMs =
|
|
89
|
+
function schedulePendingFinalReply(accountId, userId, delayMs = 45_000) {
|
|
90
90
|
const ctx = getPendingReplyContext(accountId, userId);
|
|
91
91
|
if (!ctx)
|
|
92
92
|
return;
|
|
@@ -433,7 +433,7 @@ function connectGateway(opts) {
|
|
|
433
433
|
text,
|
|
434
434
|
messageId: replyId,
|
|
435
435
|
});
|
|
436
|
-
schedulePendingFinalReply(accountId, input.userId,
|
|
436
|
+
schedulePendingFinalReply(accountId, input.userId, 45_000);
|
|
437
437
|
}
|
|
438
438
|
else {
|
|
439
439
|
sendAgentReply({
|
|
@@ -545,7 +545,7 @@ function connectGateway(opts) {
|
|
|
545
545
|
text,
|
|
546
546
|
messageId: replyId,
|
|
547
547
|
});
|
|
548
|
-
schedulePendingFinalReply(accountId, input.userId,
|
|
548
|
+
schedulePendingFinalReply(accountId, input.userId, 45_000);
|
|
549
549
|
}
|
|
550
550
|
else {
|
|
551
551
|
sendAgentReply({
|