@integrity-labs/agt-cli 0.28.312 → 0.28.314
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/bin/agt.js +3 -3
- package/dist/{chunk-HC6V57PX.js → chunk-R5AKZYDG.js} +2 -2
- package/dist/lib/manager-worker.js +305 -171
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/slack-channel.js +4 -1
- package/package.json +1 -1
- /package/dist/{chunk-HC6V57PX.js.map → chunk-R5AKZYDG.js.map} +0 -0
|
@@ -14854,6 +14854,9 @@ function decideRecoveryHeal(i) {
|
|
|
14854
14854
|
var SLACK_UNDELIVERABLE_REACTION = "hourglass_flowing_sand";
|
|
14855
14855
|
var SLACK_UNDELIVERABLE_REACTION_LEGACY = "x";
|
|
14856
14856
|
var UNDELIVERABLE_NOTICE_THROTTLE_MS = 5 * 60 * 1e3;
|
|
14857
|
+
function undeliverableNoticeEligible(shouldEngage) {
|
|
14858
|
+
return shouldEngage;
|
|
14859
|
+
}
|
|
14857
14860
|
function shouldPostUndeliverableNotice(lastNoticeAtMs, nowMs, throttleMs = UNDELIVERABLE_NOTICE_THROTTLE_MS) {
|
|
14858
14861
|
return lastNoticeAtMs == null || nowMs - lastNoticeAtMs >= throttleMs;
|
|
14859
14862
|
}
|
|
@@ -22686,7 +22689,7 @@ async function connectSocketMode() {
|
|
|
22686
22689
|
body: JSON.stringify({ channel, timestamp: ts, name: reactionName })
|
|
22687
22690
|
}).catch(() => {
|
|
22688
22691
|
});
|
|
22689
|
-
if (ackDecision === "undeliverable" && channel &&
|
|
22692
|
+
if (ackDecision === "undeliverable" && channel && undeliverableNoticeEligible(shouldEngage)) {
|
|
22690
22693
|
postUndeliverableNotice(channel, threadTs, isThreadReply);
|
|
22691
22694
|
}
|
|
22692
22695
|
}
|
package/package.json
CHANGED
|
File without changes
|