@integrity-labs/agt-cli 0.28.1288 → 0.28.1290

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.
Files changed (35) hide show
  1. package/dist/{api-client-ONUS5KBY.js → api-client-G5MBBP5G.js} +3 -3
  2. package/dist/bin/agt.js +7 -7
  3. package/dist/{chunk-X7ZRYILH.js → chunk-3NCSZIK4.js} +2 -2
  4. package/dist/{chunk-KWGJU7EK.js → chunk-6YJL5HCY.js} +5 -5
  5. package/dist/{chunk-FRNONFQA.js → chunk-IPWGWDON.js} +2 -2
  6. package/dist/{chunk-DITI25ZO.js → chunk-LAJEUIP7.js} +35 -3
  7. package/dist/chunk-LAJEUIP7.js.map +1 -0
  8. package/dist/{chunk-HJGZG3P6.js → chunk-QSIKMH7L.js} +12 -4
  9. package/dist/chunk-QSIKMH7L.js.map +1 -0
  10. package/dist/{chunk-Z7T5B4ES.js → chunk-XDMJSKLQ.js} +3 -3
  11. package/dist/{claude-code-updater-6NRYKDKS.js → claude-code-updater-NBWLPWZU.js} +3 -3
  12. package/dist/{claude-pair-runtime-7UQEV7XI.js → claude-pair-runtime-3RJNQ3XJ.js} +3 -3
  13. package/dist/lib/manager-worker.js +21 -21
  14. package/dist/mcp/direct-chat-channel.js +34 -2
  15. package/dist/mcp/index.js +34 -2
  16. package/dist/mcp/origami.js +34 -2
  17. package/dist/mcp/slack-channel.js +34 -2
  18. package/dist/mcp/telegram-channel.js +34 -2
  19. package/dist/mcp/xero.js +44 -11
  20. package/dist/{persistent-session-VBJAAJC7.js → persistent-session-Q5FJJAFR.js} +6 -4
  21. package/dist/{responsiveness-probe-QKMGCTFR.js → responsiveness-probe-EYIQ2RPD.js} +4 -4
  22. package/dist/{session-auth-dead-IBUKQXBO.js → session-auth-dead-TYDPUWCV.js} +3 -3
  23. package/package.json +1 -1
  24. package/dist/chunk-DITI25ZO.js.map +0 -1
  25. package/dist/chunk-HJGZG3P6.js.map +0 -1
  26. /package/dist/{api-client-ONUS5KBY.js.map → api-client-G5MBBP5G.js.map} +0 -0
  27. /package/dist/{chunk-X7ZRYILH.js.map → chunk-3NCSZIK4.js.map} +0 -0
  28. /package/dist/{chunk-KWGJU7EK.js.map → chunk-6YJL5HCY.js.map} +0 -0
  29. /package/dist/{chunk-FRNONFQA.js.map → chunk-IPWGWDON.js.map} +0 -0
  30. /package/dist/{chunk-Z7T5B4ES.js.map → chunk-XDMJSKLQ.js.map} +0 -0
  31. /package/dist/{claude-code-updater-6NRYKDKS.js.map → claude-code-updater-NBWLPWZU.js.map} +0 -0
  32. /package/dist/{claude-pair-runtime-7UQEV7XI.js.map → claude-pair-runtime-3RJNQ3XJ.js.map} +0 -0
  33. /package/dist/{persistent-session-VBJAAJC7.js.map → persistent-session-Q5FJJAFR.js.map} +0 -0
  34. /package/dist/{responsiveness-probe-QKMGCTFR.js.map → responsiveness-probe-EYIQ2RPD.js.map} +0 -0
  35. /package/dist/{session-auth-dead-IBUKQXBO.js.map → session-auth-dead-TYDPUWCV.js.map} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  rotateDailySession,
5
5
  sessionFileExists,
6
6
  todayLocalIso
7
- } from "./chunk-X7ZRYILH.js";
7
+ } from "./chunk-3NCSZIK4.js";
8
8
  import {
9
9
  classifyUnanswerablePane,
10
10
  customApiKeyDialogKeys,
@@ -54,7 +54,7 @@ import {
54
54
  remoteMcpConnectionEnvInfix,
55
55
  remoteMcpConnectionLabel,
56
56
  remoteMcpConnectionScopedEnvVar
57
- } from "./chunk-DITI25ZO.js";
57
+ } from "./chunk-LAJEUIP7.js";
58
58
  import {
59
59
  CLAUDE_CONFIG_DIR_ENV,
60
60
  approveApiKeyInClaudeConfig,
@@ -6240,8 +6240,14 @@ function resetRestartCount(codeName) {
6240
6240
  const session = sessions2.get(codeName);
6241
6241
  if (session) session.restartCount = 0;
6242
6242
  }
6243
+ var OBSERVATION_BOOT_EPOCH = Date.now();
6244
+ var observationSeq = 0;
6245
+ function nextObservation() {
6246
+ observationSeq += 1;
6247
+ return { bootEpoch: OBSERVATION_BOOT_EPOCH, seq: observationSeq };
6248
+ }
6243
6249
  function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeFor, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) {
6244
- return codeNames.map((codeName) => {
6250
+ const rows = codeNames.map((codeName) => {
6245
6251
  const quarantinedChannels = quarantineEntriesFor?.(codeName) ?? [];
6246
6252
  const spawnOutcome = spawnOutcomeFor?.(codeName);
6247
6253
  const pidPressure = pidPressureFor?.(codeName) ?? null;
@@ -6376,6 +6382,7 @@ function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, sp
6376
6382
  ...runtimeVersion ? { runtimeVersion } : {}
6377
6383
  };
6378
6384
  });
6385
+ return rows.map((row) => ({ ...row, observedAt: nextObservation() }));
6379
6386
  }
6380
6387
  function stopAllSessions(log2) {
6381
6388
  for (const codeName of sessions2.keys()) {
@@ -6561,9 +6568,10 @@ export {
6561
6568
  takeZombieDetection,
6562
6569
  isSessionHealthy,
6563
6570
  resetRestartCount,
6571
+ nextObservation,
6564
6572
  collectDiagnostics,
6565
6573
  stopAllSessions,
6566
6574
  stopAllSessionsAndWait,
6567
6575
  getProjectDir
6568
6576
  };
6569
- //# sourceMappingURL=chunk-HJGZG3P6.js.map
6577
+ //# sourceMappingURL=chunk-QSIKMH7L.js.map