@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.
@@ -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 && armMarker) {
22692
+ if (ackDecision === "undeliverable" && channel && undeliverableNoticeEligible(shouldEngage)) {
22690
22693
  postUndeliverableNotice(channel, threadTs, isThreadReply);
22691
22694
  }
22692
22695
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.312",
3
+ "version": "0.28.314",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {