@integrity-labs/agt-cli 0.28.1048 → 0.28.1049

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.
@@ -266,7 +266,7 @@ async function spawnPairSession(session) {
266
266
  return { ok: true };
267
267
  } catch {
268
268
  }
269
- const { resolveClaudeBinary } = await import("./persistent-session-OSQVHP6N.js");
269
+ const { resolveClaudeBinary } = await import("./persistent-session-FTAHFPQK.js");
270
270
  const claudeBin = resolveClaudeBinary();
271
271
  const pairEnv = {
272
272
  ...process.env,
@@ -734,4 +734,4 @@ export {
734
734
  startClaudePair,
735
735
  submitClaudePairCode
736
736
  };
737
- //# sourceMappingURL=claude-pair-runtime-KWN4XZ2H.js.map
737
+ //# sourceMappingURL=claude-pair-runtime-XFVA6KHM.js.map
@@ -66,7 +66,7 @@ import {
66
66
  safeWriteJsonAtomic,
67
67
  setConfigHash,
68
68
  tripClass
69
- } from "../chunk-4BOPLS65.js";
69
+ } from "../chunk-PLCZUMFX.js";
70
70
  import {
71
71
  getProjectDir as getProjectDir2,
72
72
  getReadyTasks,
@@ -149,7 +149,7 @@ import {
149
149
  takeZombieDetection,
150
150
  toOpencodeModel,
151
151
  writeEgressAllowlist
152
- } from "../chunk-QGGDQMWF.js";
152
+ } from "../chunk-MVBTIU7A.js";
153
153
  import {
154
154
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
155
155
  AnchorSessionClient,
@@ -258,7 +258,7 @@ import {
258
258
  subagentActivityAgeSeconds,
259
259
  sumTranscriptUsageInWindow,
260
260
  transcriptActivityAgeSeconds
261
- } from "../chunk-APAEM42J.js";
261
+ } from "../chunk-SFOIRACS.js";
262
262
  import {
263
263
  classifyUnanswerablePane,
264
264
  paneRemedy
@@ -14040,7 +14040,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
14040
14040
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
14041
14041
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
14042
14042
  async function channelInboundActivityAgeSecondsFor(codeName) {
14043
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-BFDPJWZE.js");
14043
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-QIBWAB4J.js");
14044
14044
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
14045
14045
  if (newest === null) return null;
14046
14046
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -14786,7 +14786,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
14786
14786
  var lastVersionCheckAt = 0;
14787
14787
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
14788
14788
  var lastResponsivenessProbeAt = 0;
14789
- var agtCliVersion = true ? "0.28.1048" : "dev";
14789
+ var agtCliVersion = true ? "0.28.1049" : "dev";
14790
14790
  function resolveBrewPath(execFileSync3) {
14791
14791
  try {
14792
14792
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -16421,7 +16421,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
16421
16421
  if (codeNames.length === 0) return;
16422
16422
  void (async () => {
16423
16423
  try {
16424
- const { collectDiagnostics } = await import("../persistent-session-OSQVHP6N.js");
16424
+ const { collectDiagnostics } = await import("../persistent-session-FTAHFPQK.js");
16425
16425
  await api.post("/host/heartbeat", {
16426
16426
  host_id: hostId,
16427
16427
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -16563,7 +16563,7 @@ async function pollCycleInner() {
16563
16563
  }
16564
16564
  try {
16565
16565
  const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
16566
- const { collectDiagnostics } = await import("../persistent-session-OSQVHP6N.js");
16566
+ const { collectDiagnostics } = await import("../persistent-session-FTAHFPQK.js");
16567
16567
  const diagCodeNames = [...agentState.persistentSessionAgents];
16568
16568
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor) : void 0;
16569
16569
  let tailscaleHostname;
@@ -16748,7 +16748,7 @@ async function pollCycleInner() {
16748
16748
  collectPanelessActivityProbes,
16749
16749
  getResponsivenessIntervalMs,
16750
16750
  occupancyQualificationClassifications
16751
- } = await import("../responsiveness-probe-BFDPJWZE.js");
16751
+ } = await import("../responsiveness-probe-QIBWAB4J.js");
16752
16752
  const probeIntervalMs = getResponsivenessIntervalMs();
16753
16753
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
16754
16754
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -16865,7 +16865,7 @@ async function pollCycleInner() {
16865
16865
  collectResponsivenessProbes,
16866
16866
  livePendingInboundOldestAgeSeconds,
16867
16867
  parkPendingInbound
16868
- } = await import("../responsiveness-probe-BFDPJWZE.js");
16868
+ } = await import("../responsiveness-probe-QIBWAB4J.js");
16869
16869
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
16870
16870
  const wedgeNow = /* @__PURE__ */ new Date();
16871
16871
  const liveAgents = agentState.persistentSessionAgents;
@@ -17021,7 +17021,7 @@ async function pollCycleInner() {
17021
17021
  }
17022
17022
  try {
17023
17023
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
17024
- const { probeSessionAuth } = await import("../session-auth-dead-A3WD2YRK.js");
17024
+ const { probeSessionAuth } = await import("../session-auth-dead-6LW2TJTG.js");
17025
17025
  const observations = [];
17026
17026
  const pendingCacheCommits = [];
17027
17027
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -21565,7 +21565,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
21565
21565
  try {
21566
21566
  const freshId = rotateSessionForWedge(codeName);
21567
21567
  consecutiveWedgeCycles.delete(codeName);
21568
- const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-BFDPJWZE.js");
21568
+ const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-QIBWAB4J.js");
21569
21569
  const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
21570
21570
  const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
21571
21571
  const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
@@ -21608,7 +21608,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
21608
21608
  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}`));
21609
21609
  void (async () => {
21610
21610
  try {
21611
- const { collectDiagnostics } = await import("../persistent-session-OSQVHP6N.js");
21611
+ const { collectDiagnostics } = await import("../persistent-session-FTAHFPQK.js");
21612
21612
  await api.post("/host/heartbeat", {
21613
21613
  host_id: hostId,
21614
21614
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -21659,7 +21659,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
21659
21659
  }
21660
21660
  try {
21661
21661
  const hostId = await getHostId();
21662
- const { collectDiagnostics } = await import("../persistent-session-OSQVHP6N.js");
21662
+ const { collectDiagnostics } = await import("../persistent-session-FTAHFPQK.js");
21663
21663
  await api.post("/host/heartbeat", {
21664
21664
  host_id: hostId,
21665
21665
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
@@ -22331,7 +22331,7 @@ async function processClaudePairSessions(agents) {
22331
22331
  // cannot take it for itself — by the time it runs, the write it is looking
22332
22332
  // for may already have happened.
22333
22333
  snapshotPairConfig
22334
- } = await import("../claude-pair-runtime-KWN4XZ2H.js");
22334
+ } = await import("../claude-pair-runtime-XFVA6KHM.js");
22335
22335
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
22336
22336
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
22337
22337
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -22568,6 +22568,12 @@ function generateArtifacts(agent, refreshData, adapter, renderIntegrationsSectio
22568
22568
  const name = org.name.trim();
22569
22569
  return name.length > 0 ? { name } : void 0;
22570
22570
  })(),
22571
+ // ENG-10421: the API's console URL, so CLAUDE.md links and the MCP bridge's
22572
+ // AGT_APP_URL follow the platform's console-host switch. Validated in core.
22573
+ consoleUrl: (() => {
22574
+ const v = refreshData.console_url;
22575
+ return typeof v === "string" && v.trim().length > 0 ? v.trim() : void 0;
22576
+ })(),
22571
22577
  timezone: agentTimezone,
22572
22578
  reportsTo,
22573
22579
  personalitySeed,