@integrity-labs/agt-cli 0.28.613 → 0.28.615

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.
@@ -100,7 +100,7 @@ async function spawnPairSession(session) {
100
100
  return { ok: true };
101
101
  } catch {
102
102
  }
103
- const { resolveClaudeBinary } = await import("./persistent-session-U7PE7ZDB.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-GM3EH2ZU.js");
104
104
  const claudeBin = resolveClaudeBinary();
105
105
  const pairEnv = {
106
106
  ...process.env,
@@ -373,4 +373,4 @@ export {
373
373
  startClaudePair,
374
374
  submitClaudePairCode
375
375
  };
376
- //# sourceMappingURL=claude-pair-runtime-3UQ63455.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-QCL2TB6N.js.map
@@ -53,7 +53,7 @@ import {
53
53
  safeWriteJsonAtomic,
54
54
  setConfigHash,
55
55
  tripClass
56
- } from "../chunk-D7EV77TB.js";
56
+ } from "../chunk-T5ATAUEE.js";
57
57
  import {
58
58
  getProjectDir as getProjectDir2,
59
59
  getReadyTasks,
@@ -109,7 +109,7 @@ import {
109
109
  takeZombieDetection,
110
110
  toOpencodeModel,
111
111
  writeEgressAllowlist
112
- } from "../chunk-JRL7754L.js";
112
+ } from "../chunk-6SJJM4FT.js";
113
113
  import {
114
114
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
115
115
  AnchorSessionClient,
@@ -186,7 +186,7 @@ import {
186
186
  subagentActivityAgeSeconds,
187
187
  sumTranscriptUsageInWindow,
188
188
  transcriptActivityAgeSeconds
189
- } from "../chunk-ZQXXK7JC.js";
189
+ } from "../chunk-TYVQNCBU.js";
190
190
  import {
191
191
  reapOrphanChannelMcps
192
192
  } from "../chunk-XWVM4KPK.js";
@@ -2296,6 +2296,11 @@ async function maybeReportUsageBanner(args) {
2296
2296
  agent_id: agentId,
2297
2297
  observed_pct: observation.pct,
2298
2298
  week_resets_at: weekResetsAtIso,
2299
+ // ENG-8901: say whether that instant was READ off the banner or
2300
+ // RECONSTRUCTED from an hour with the day invented. Without this the
2301
+ // server cannot tell a measurement from a guess, which is how a reset
2302
+ // three days early reached an operator as a precise timestamp.
2303
+ reset_precision: observation.resetPrecision,
2299
2304
  source: "pane_log"
2300
2305
  });
2301
2306
  next.lastPct = observation.pct;
@@ -11287,7 +11292,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
11287
11292
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
11288
11293
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
11289
11294
  async function channelInboundActivityAgeSecondsFor(codeName) {
11290
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-K6DGNTXA.js");
11295
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-VSSJC3MN.js");
11291
11296
  const newest = newestPendingInboundActivityMtimeMs(dirname9(paneLogPath(codeName)));
11292
11297
  if (newest === null) return null;
11293
11298
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -11926,7 +11931,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
11926
11931
  var lastVersionCheckAt = 0;
11927
11932
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
11928
11933
  var lastResponsivenessProbeAt = 0;
11929
- var agtCliVersion = true ? "0.28.613" : "dev";
11934
+ var agtCliVersion = true ? "0.28.615" : "dev";
11930
11935
  function resolveBrewPath(execFileSync3) {
11931
11936
  try {
11932
11937
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -13233,7 +13238,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
13233
13238
  if (codeNames.length === 0) return;
13234
13239
  void (async () => {
13235
13240
  try {
13236
- const { collectDiagnostics } = await import("../persistent-session-U7PE7ZDB.js");
13241
+ const { collectDiagnostics } = await import("../persistent-session-GM3EH2ZU.js");
13237
13242
  await api.post("/host/heartbeat", {
13238
13243
  host_id: hostId,
13239
13244
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -13341,7 +13346,7 @@ async function pollCycle() {
13341
13346
  }
13342
13347
  try {
13343
13348
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
13344
- const { collectDiagnostics } = await import("../persistent-session-U7PE7ZDB.js");
13349
+ const { collectDiagnostics } = await import("../persistent-session-GM3EH2ZU.js");
13345
13350
  const diagCodeNames = [...agentState.persistentSessionAgents];
13346
13351
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor) : void 0;
13347
13352
  let tailscaleHostname;
@@ -13464,7 +13469,7 @@ async function pollCycle() {
13464
13469
  collectPanelessActivityProbes,
13465
13470
  getResponsivenessIntervalMs,
13466
13471
  occupancyQualificationClassifications
13467
- } = await import("../responsiveness-probe-K6DGNTXA.js");
13472
+ } = await import("../responsiveness-probe-VSSJC3MN.js");
13468
13473
  const probeIntervalMs = getResponsivenessIntervalMs();
13469
13474
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
13470
13475
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -13570,7 +13575,7 @@ async function pollCycle() {
13570
13575
  collectResponsivenessProbes,
13571
13576
  livePendingInboundOldestAgeSeconds,
13572
13577
  parkPendingInbound
13573
- } = await import("../responsiveness-probe-K6DGNTXA.js");
13578
+ } = await import("../responsiveness-probe-VSSJC3MN.js");
13574
13579
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
13575
13580
  const wedgeNow = /* @__PURE__ */ new Date();
13576
13581
  const liveAgents = agentState.persistentSessionAgents;
@@ -13726,7 +13731,7 @@ async function pollCycle() {
13726
13731
  }
13727
13732
  try {
13728
13733
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
13729
- const { probeSessionAuth } = await import("../session-auth-dead-RPMWBVBH.js");
13734
+ const { probeSessionAuth } = await import("../session-auth-dead-KOKVXPPQ.js");
13730
13735
  const observations = [];
13731
13736
  const pendingCacheCommits = [];
13732
13737
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -17215,7 +17220,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
17215
17220
  void api.post("/host/restart-ack", { host_id: hostId, agent_id: agentId, restart_requested_at: requestedAt }).catch((err) => log(`[restart-lane] ack failed for '${codeName}': ${err.message}`));
17216
17221
  void (async () => {
17217
17222
  try {
17218
- const { collectDiagnostics } = await import("../persistent-session-U7PE7ZDB.js");
17223
+ const { collectDiagnostics } = await import("../persistent-session-GM3EH2ZU.js");
17219
17224
  await api.post("/host/heartbeat", {
17220
17225
  host_id: hostId,
17221
17226
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -17266,7 +17271,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
17266
17271
  }
17267
17272
  try {
17268
17273
  const hostId = await getHostId();
17269
- const { collectDiagnostics } = await import("../persistent-session-U7PE7ZDB.js");
17274
+ const { collectDiagnostics } = await import("../persistent-session-GM3EH2ZU.js");
17270
17275
  await api.post("/host/heartbeat", {
17271
17276
  host_id: hostId,
17272
17277
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -17862,7 +17867,7 @@ async function processClaudePairSessions(agents) {
17862
17867
  killPairSession,
17863
17868
  pairTmuxSession,
17864
17869
  finalizeClaudePairOnboarding
17865
- } = await import("../claude-pair-runtime-3UQ63455.js");
17870
+ } = await import("../claude-pair-runtime-QCL2TB6N.js");
17866
17871
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
17867
17872
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
17868
17873
  const killed = await killPairSession(pairTmuxSession(pairId));