@integrity-labs/agt-cli 0.28.792 → 0.28.794

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.
@@ -18,7 +18,7 @@ import {
18
18
  rotateDailySession,
19
19
  sessionFileExists,
20
20
  todayLocalIso
21
- } from "./chunk-6DWVW3Y3.js";
21
+ } from "./chunk-YCI7CHYI.js";
22
22
  import {
23
23
  reapOrphanChannelMcps
24
24
  } from "./chunk-XWVM4KPK.js";
@@ -3262,6 +3262,15 @@ function trackUnclaimedDialog(codeName, hash, io, config) {
3262
3262
  }
3263
3263
  var unclaimedDialogCounts = /* @__PURE__ */ new Map();
3264
3264
  var unclaimedDialogSeen = /* @__PURE__ */ new Map();
3265
+ function takeWatchdogUnclaimedDialogCount(codeName) {
3266
+ const count = unclaimedDialogCounts.get(codeName) ?? 0;
3267
+ unclaimedDialogCounts.delete(codeName);
3268
+ return count;
3269
+ }
3270
+ function creditWatchdogUnclaimedDialogCount(codeName, count) {
3271
+ if (count <= 0) return;
3272
+ unclaimedDialogCounts.set(codeName, (unclaimedDialogCounts.get(codeName) ?? 0) + count);
3273
+ }
3265
3274
 
3266
3275
  // src/lib/model-policy.ts
3267
3276
  var TRANSPORTS = ["anthropic-direct", "bedrock", "gateway"];
@@ -5101,6 +5110,8 @@ export {
5101
5110
  checkChannelInputs,
5102
5111
  takeWatchdogGiveUpCount,
5103
5112
  creditWatchdogGiveUpCount,
5113
+ takeWatchdogUnclaimedDialogCount,
5114
+ creditWatchdogUnclaimedDialogCount,
5104
5115
  parseModelPolicy,
5105
5116
  modelPolicyAuthComponent,
5106
5117
  modelPolicyEgressDomains,
@@ -5155,4 +5166,4 @@ export {
5155
5166
  stopAllSessionsAndWait,
5156
5167
  getProjectDir
5157
5168
  };
5158
- //# sourceMappingURL=chunk-RBRA7WOL.js.map
5169
+ //# sourceMappingURL=chunk-YLAXQKMK.js.map