@integrity-labs/agt-cli 0.28.821 → 0.28.823

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.
@@ -30261,8 +30261,16 @@ var UNDELIVERABLE_NOTICE_THROTTLE_MS = 5 * 60 * 1e3;
30261
30261
  function shouldPostUndeliverableNotice(lastNoticeAtMs, nowMs, throttleMs = UNDELIVERABLE_NOTICE_THROTTLE_MS) {
30262
30262
  return lastNoticeAtMs == null || nowMs - lastNoticeAtMs >= throttleMs;
30263
30263
  }
30264
- function undeliverableNoticeText(replayEnabled = channelReplayEnabled()) {
30265
- return replayEnabled ? "\u23F3 I can't get to this right now \u2014 no need to resend; I'll pick it up automatically as soon as I'm free." : "\u23F3 I can't get to this right now. Please resend in a few minutes \u2014 I may not see this one.";
30264
+ function undeliverableNoticeText(replay = channelReplayEnabled()) {
30265
+ return noticePromiseIsHonest(replay) ? "\u23F3 I can't get to this right now \u2014 no need to resend; I'll pick it up automatically as soon as I'm free." : "\u23F3 I can't get to this right now. Please resend in a few minutes \u2014 I may not see this one.";
30266
+ }
30267
+ function noticePromiseIsHonest(replay) {
30268
+ if (typeof replay === "boolean") return replay;
30269
+ return markerReplayable({
30270
+ enabled: replay.enabled ?? channelReplayEnabled(),
30271
+ hasPayload: replay.hasPayload,
30272
+ discretionary: replay.discretionary
30273
+ });
30266
30274
  }
30267
30275
  var BUSY_ACK_THRESHOLD_MS = 12e4;
30268
30276
  var BUSY_ACK_NOTICE_THROTTLE_MS = 20 * 60 * 1e3;
@@ -30347,6 +30355,12 @@ function channelReplayEnabled() {
30347
30355
  defaultValue: true
30348
30356
  });
30349
30357
  }
30358
+ function markerReplayable(i) {
30359
+ if (!i.enabled) return false;
30360
+ if (!i.hasPayload) return false;
30361
+ if (i.discretionary) return false;
30362
+ return true;
30363
+ }
30350
30364
  function isMarkerGenuinelyAged(receivedAt, nowMs, thresholdMs) {
30351
30365
  const t = Date.parse(receivedAt ?? "");
30352
30366
  return Number.isFinite(t) && t <= nowMs && nowMs - t >= thresholdMs;
@@ -38359,8 +38359,16 @@ function undeliverableNoticeEligible(shouldEngage) {
38359
38359
  function shouldPostUndeliverableNotice(lastNoticeAtMs, nowMs, throttleMs = UNDELIVERABLE_NOTICE_THROTTLE_MS) {
38360
38360
  return lastNoticeAtMs == null || nowMs - lastNoticeAtMs >= throttleMs;
38361
38361
  }
38362
- function undeliverableNoticeText(replayEnabled = channelReplayEnabled()) {
38363
- return replayEnabled ? "\u23F3 I can't get to this right now \u2014 no need to resend; I'll pick it up automatically as soon as I'm free." : "\u23F3 I can't get to this right now. Please resend in a few minutes \u2014 I may not see this one.";
38362
+ function undeliverableNoticeText(replay = channelReplayEnabled()) {
38363
+ return noticePromiseIsHonest(replay) ? "\u23F3 I can't get to this right now \u2014 no need to resend; I'll pick it up automatically as soon as I'm free." : "\u23F3 I can't get to this right now. Please resend in a few minutes \u2014 I may not see this one.";
38364
+ }
38365
+ function noticePromiseIsHonest(replay) {
38366
+ if (typeof replay === "boolean") return replay;
38367
+ return markerReplayable({
38368
+ enabled: replay.enabled ?? channelReplayEnabled(),
38369
+ hasPayload: replay.hasPayload,
38370
+ discretionary: replay.discretionary
38371
+ });
38364
38372
  }
38365
38373
  var UNDELIVERABLE_NOTICE_DEBOUNCE_MS = 3e4;
38366
38374
  function undeliverableNoticeDebounceMs() {
@@ -38643,10 +38651,14 @@ function channelReplayEnabled() {
38643
38651
  defaultValue: true
38644
38652
  });
38645
38653
  }
38646
- function shouldReplayMarker(i) {
38654
+ function markerReplayable(i) {
38647
38655
  if (!i.enabled) return false;
38648
38656
  if (!i.hasPayload) return false;
38649
38657
  if (i.discretionary) return false;
38658
+ return true;
38659
+ }
38660
+ function shouldReplayMarker(i) {
38661
+ if (!markerReplayable(i)) return false;
38650
38662
  if (!i.sessionAlive) return false;
38651
38663
  const paneFreshDeferMax = i.paneFreshDeferMaxMs ?? paneFreshDeferMaxMs();
38652
38664
  const minAge = i.minAgeMs ?? Math.min(REPLY_WEDGED_THRESHOLD_MS, Math.floor(paneFreshDeferMax / 2));
@@ -41097,8 +41097,16 @@ var UNDELIVERABLE_NOTICE_THROTTLE_MS = 5 * 60 * 1e3;
41097
41097
  function shouldPostUndeliverableNotice(lastNoticeAtMs, nowMs, throttleMs = UNDELIVERABLE_NOTICE_THROTTLE_MS) {
41098
41098
  return lastNoticeAtMs == null || nowMs - lastNoticeAtMs >= throttleMs;
41099
41099
  }
41100
- function undeliverableNoticeText(replayEnabled = channelReplayEnabled()) {
41101
- return replayEnabled ? "\u23F3 I can't get to this right now \u2014 no need to resend; I'll pick it up automatically as soon as I'm free." : "\u23F3 I can't get to this right now. Please resend in a few minutes \u2014 I may not see this one.";
41100
+ function undeliverableNoticeText(replay = channelReplayEnabled()) {
41101
+ return noticePromiseIsHonest(replay) ? "\u23F3 I can't get to this right now \u2014 no need to resend; I'll pick it up automatically as soon as I'm free." : "\u23F3 I can't get to this right now. Please resend in a few minutes \u2014 I may not see this one.";
41102
+ }
41103
+ function noticePromiseIsHonest(replay) {
41104
+ if (typeof replay === "boolean") return replay;
41105
+ return markerReplayable({
41106
+ enabled: replay.enabled ?? channelReplayEnabled(),
41107
+ hasPayload: replay.hasPayload,
41108
+ discretionary: replay.discretionary
41109
+ });
41102
41110
  }
41103
41111
  var UNDELIVERABLE_NOTICE_DEBOUNCE_MS = 3e4;
41104
41112
  function undeliverableNoticeDebounceMs() {
@@ -41374,10 +41382,14 @@ function channelReplayEnabled() {
41374
41382
  defaultValue: true
41375
41383
  });
41376
41384
  }
41377
- function shouldReplayMarker(i) {
41385
+ function markerReplayable(i) {
41378
41386
  if (!i.enabled) return false;
41379
41387
  if (!i.hasPayload) return false;
41380
41388
  if (i.discretionary) return false;
41389
+ return true;
41390
+ }
41391
+ function shouldReplayMarker(i) {
41392
+ if (!markerReplayable(i)) return false;
41381
41393
  if (!i.sessionAlive) return false;
41382
41394
  const paneFreshDeferMax = i.paneFreshDeferMaxMs ?? paneFreshDeferMaxMs();
41383
41395
  const minAge = i.minAgeMs ?? Math.min(REPLY_WEDGED_THRESHOLD_MS, Math.floor(paneFreshDeferMax / 2));
@@ -49,8 +49,8 @@ import {
49
49
  writeDirectChatSessionState,
50
50
  writeEgressAllowlist,
51
51
  writePersistentClaudeWrapper
52
- } from "./chunk-ZDV575SW.js";
53
- import "./chunk-NVUWRJWX.js";
52
+ } from "./chunk-2MB3SP6H.js";
53
+ import "./chunk-3QZUOZUZ.js";
54
54
  import "./chunk-XWVM4KPK.js";
55
55
  export {
56
56
  EGRESS_BASELINE_DOMAINS,
@@ -104,4 +104,4 @@ export {
104
104
  writeEgressAllowlist,
105
105
  writePersistentClaudeWrapper
106
106
  };
107
- //# sourceMappingURL=persistent-session-AGMIVLTP.js.map
107
+ //# sourceMappingURL=persistent-session-XBCAIURL.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-ZDV575SW.js";
4
- import "./chunk-NVUWRJWX.js";
3
+ } from "./chunk-2MB3SP6H.js";
4
+ import "./chunk-3QZUOZUZ.js";
5
5
  import "./chunk-XWVM4KPK.js";
6
6
 
7
7
  // src/lib/responsiveness-probe.ts
@@ -745,4 +745,4 @@ export {
745
745
  readAndResetSlackReplyBindingClassifications,
746
746
  readAndResetSlackReplyTargetClassifications
747
747
  };
748
- //# sourceMappingURL=responsiveness-probe-URK6CHNZ.js.map
748
+ //# sourceMappingURL=responsiveness-probe-R6RPL2OK.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-NVUWRJWX.js";
3
+ } from "./chunk-3QZUOZUZ.js";
4
4
 
5
5
  // src/lib/session-auth-dead.ts
6
6
  import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
@@ -203,4 +203,4 @@ export {
203
203
  decideSessionAuthState,
204
204
  probeSessionAuth
205
205
  };
206
- //# sourceMappingURL=session-auth-dead-5FPVU375.js.map
206
+ //# sourceMappingURL=session-auth-dead-EMKNS23O.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.821",
3
+ "version": "0.28.823",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {