@integrity-labs/agt-cli 0.28.514 → 0.28.516

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.
@@ -10604,6 +10604,21 @@ function deriveBindFailureQuarantineThreshold(provisioningMax) {
10604
10604
  }
10605
10605
  var MIN_PROVISIONING_MAX_FOR_QUARANTINE_ORDERING = BIND_FAILURE_QUARANTINE_THRESHOLD + 1;
10606
10606
 
10607
+ // ../../packages/core/dist/restart/forced-update-deadline.js
10608
+ var FORCED_UPDATE_RELAX_AFTER_MS = 7 * 6e4;
10609
+ var FORCED_UPDATE_HARD_DEADLINE_MS = 15 * 6e4;
10610
+ function forcedUpdatePendingForMs(opts) {
10611
+ if (!opts.requestedAt)
10612
+ return null;
10613
+ const requestedMs = Date.parse(opts.requestedAt);
10614
+ if (Number.isNaN(requestedMs))
10615
+ return null;
10616
+ return Math.max(0, opts.nowMs - requestedMs);
10617
+ }
10618
+ function isForcedUpdatePastDeadline(pendingForMs, deadlineMs = FORCED_UPDATE_HARD_DEADLINE_MS) {
10619
+ return pendingForMs !== null && pendingForMs >= deadlineMs;
10620
+ }
10621
+
10607
10622
  // src/lib/claude-tools.ts
10608
10623
  var BASE_TOOLS = ["Bash", "Read", "Write", "Edit", "Grep", "Glob", "Agent", "Skill", "ToolSearch"];
10609
10624
  function buildAllowedTools(mcpServerNames) {
@@ -14953,6 +14968,10 @@ export {
14953
14968
  RESTART_BREAKER_OPERATOR_MAX,
14954
14969
  BIND_FAILURE_QUARANTINE_THRESHOLD,
14955
14970
  MIN_PROVISIONING_MAX_FOR_QUARANTINE_ORDERING,
14971
+ FORCED_UPDATE_RELAX_AFTER_MS,
14972
+ FORCED_UPDATE_HARD_DEADLINE_MS,
14973
+ forcedUpdatePendingForMs,
14974
+ isForcedUpdatePastDeadline,
14956
14975
  LATE_BOUND_VARS,
14957
14976
  expandTemplateVars,
14958
14977
  parseEnvIntegrations,
@@ -15020,4 +15039,4 @@ export {
15020
15039
  stopAllSessionsAndWait,
15021
15040
  getProjectDir
15022
15041
  };
15023
- //# sourceMappingURL=chunk-S5RR4UHQ.js.map
15042
+ //# sourceMappingURL=chunk-UQ3TQ7M4.js.map