@integrity-labs/agt-cli 0.28.514 → 0.28.515

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.
@@ -53,7 +53,7 @@ import {
53
53
  safeWriteJsonAtomic,
54
54
  setConfigHash,
55
55
  tripClass
56
- } from "../chunk-GJ6U2XU6.js";
56
+ } from "../chunk-4IWIH6MV.js";
57
57
  import {
58
58
  getProjectDir as getProjectDir2,
59
59
  getReadyTasks,
@@ -9808,11 +9808,11 @@ async function runAgentSessionToolBindProbes(agent, integrations, projectDir, op
9808
9808
  if (integrations.length === 0) return true;
9809
9809
  const intervalSec = Number(process.env.AGT_CONNECTIVITY_PROBE_INTERVAL_SECONDS) || 3600;
9810
9810
  const intervalMs = opts?.forceDue ? 0 : intervalSec * 1e3;
9811
- const sessionLoadedServerKeys = new Set(
9812
- readDirectChatSessionState(agent.agent_id)?.mcpServerKeys ?? []
9813
- );
9811
+ const dcSession = readDirectChatSessionState(agent.agent_id);
9812
+ const sessionLoadedServerKeys = new Set(dcSession?.mcpServerKeys ?? []);
9814
9813
  const result = await gatherSessionToolBindProbe(agent, integrations, projectDir, {
9815
9814
  sessionLoadedServerKeys,
9815
+ sessionStartedMs: dcSession?.startedAtMs ?? null,
9816
9816
  intervalMs,
9817
9817
  // ENG-7429 (CodeRabbit on #3063): a prompt probe must cover the WHOLE set, not
9818
9818
  // the rolling batch cap (25), so the just-added integration can't be crowded out
@@ -10071,7 +10071,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
10071
10071
  var lastVersionCheckAt = 0;
10072
10072
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
10073
10073
  var lastResponsivenessProbeAt = 0;
10074
- var agtCliVersion = true ? "0.28.514" : "dev";
10074
+ var agtCliVersion = true ? "0.28.515" : "dev";
10075
10075
  function resolveBrewPath(execFileSync2) {
10076
10076
  try {
10077
10077
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();