@integrity-labs/agt-cli 0.28.573 → 0.28.574

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-6UGFGI6J.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-2ESCLFCK.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-T4ZR7AJU.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-4C5YXND6.js.map
@@ -53,7 +53,7 @@ import {
53
53
  safeWriteJsonAtomic,
54
54
  setConfigHash,
55
55
  tripClass
56
- } from "../chunk-GW2JI7NO.js";
56
+ } from "../chunk-PKBAJMBG.js";
57
57
  import {
58
58
  getProjectDir as getProjectDir2,
59
59
  getReadyTasks,
@@ -182,7 +182,7 @@ import {
182
182
  toOpencodeModel,
183
183
  transcriptActivityAgeSeconds,
184
184
  writeEgressAllowlist
185
- } from "../chunk-5Z6RJ3RX.js";
185
+ } from "../chunk-E3KBX3UW.js";
186
186
  import {
187
187
  reapOrphanChannelMcps
188
188
  } from "../chunk-XWVM4KPK.js";
@@ -1394,6 +1394,7 @@ async function runConnectivityProbes(integrations, options = {}) {
1394
1394
  mcpServerKey: integ.mcp_server_key,
1395
1395
  connectivityTest: integ.connectivity_test ?? null,
1396
1396
  inlineServerEntry: integ.inline_server_entry,
1397
+ remoteMcpUrl: integ.remote_mcp?.url ?? null,
1397
1398
  // ENG-8363: row age + quarantine status decide whether a missing
1398
1399
  // `.mcp.json` key is "not written yet" (transient) or "not wired" (down).
1399
1400
  createdAt: integ.created_at ?? null,
@@ -11278,7 +11279,11 @@ async function runAgentConnectivityProbes(agent, integrations, projectDir) {
11278
11279
  authType: i.auth_type,
11279
11280
  connectivityTest: i.connectivity_test ?? null,
11280
11281
  // ENG-7543: target this connection's own .mcp.json server.
11281
- connectionKey: i.connection_key ?? null
11282
+ connectionKey: i.connection_key ?? null,
11283
+ // ENG-7077: a static-token hosted remote MCP (monday, peec,
11284
+ // anchor-browser) is only recognisable from its catalog remote_mcp
11285
+ // spec — its toolkit source_type is `native` like any built-in.
11286
+ remoteMcpUrl: i.remote_mcp?.url ?? null
11282
11287
  }),
11283
11288
  // ENG-6242: forward the prescribed connectivity-test tool to the executor.
11284
11289
  connectivity_test: i.connectivity_test ?? null,
@@ -11291,7 +11296,10 @@ async function runAgentConnectivityProbes(agent, integrations, projectDir) {
11291
11296
  // escalation to `down` reachable at all — an omitted `created_at` reads
11292
11297
  // as "still settling" and never escalates (fail-open by design).
11293
11298
  created_at: i.created_at ?? null,
11294
- quarantined: i.quarantined ?? false
11299
+ quarantined: i.quarantined ?? false,
11300
+ // ENG-7077: the catalog remote-MCP spec, so the executor's resolver can
11301
+ // tell an ADR-0033 static-token remote MCP from a built-in native module.
11302
+ remote_mcp: i.remote_mcp ?? null
11295
11303
  };
11296
11304
  }),
11297
11305
  { probeDeps, intervalMs: intervalSec * 1e3 }
@@ -11588,7 +11596,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
11588
11596
  var lastVersionCheckAt = 0;
11589
11597
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
11590
11598
  var lastResponsivenessProbeAt = 0;
11591
- var agtCliVersion = true ? "0.28.573" : "dev";
11599
+ var agtCliVersion = true ? "0.28.574" : "dev";
11592
11600
  function resolveBrewPath(execFileSync2) {
11593
11601
  try {
11594
11602
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -12895,7 +12903,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
12895
12903
  if (codeNames.length === 0) return;
12896
12904
  void (async () => {
12897
12905
  try {
12898
- const { collectDiagnostics } = await import("../persistent-session-6UGFGI6J.js");
12906
+ const { collectDiagnostics } = await import("../persistent-session-2ESCLFCK.js");
12899
12907
  await api.post("/host/heartbeat", {
12900
12908
  host_id: hostId,
12901
12909
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics)
@@ -13003,7 +13011,7 @@ async function pollCycle() {
13003
13011
  }
13004
13012
  try {
13005
13013
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
13006
- const { collectDiagnostics } = await import("../persistent-session-6UGFGI6J.js");
13014
+ const { collectDiagnostics } = await import("../persistent-session-2ESCLFCK.js");
13007
13015
  const diagCodeNames = [...agentState.persistentSessionAgents];
13008
13016
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics) : void 0;
13009
13017
  let tailscaleHostname;
@@ -13126,7 +13134,7 @@ async function pollCycle() {
13126
13134
  collectPanelessActivityProbes,
13127
13135
  getResponsivenessIntervalMs,
13128
13136
  occupancyQualificationClassifications
13129
- } = await import("../responsiveness-probe-O7AVC73R.js");
13137
+ } = await import("../responsiveness-probe-YCUDUCAS.js");
13130
13138
  const probeIntervalMs = getResponsivenessIntervalMs();
13131
13139
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
13132
13140
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -13217,7 +13225,7 @@ async function pollCycle() {
13217
13225
  collectResponsivenessProbes,
13218
13226
  livePendingInboundOldestAgeSeconds,
13219
13227
  parkPendingInbound
13220
- } = await import("../responsiveness-probe-O7AVC73R.js");
13228
+ } = await import("../responsiveness-probe-YCUDUCAS.js");
13221
13229
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
13222
13230
  const wedgeNow = /* @__PURE__ */ new Date();
13223
13231
  const liveAgents = agentState.persistentSessionAgents;
@@ -16787,7 +16795,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
16787
16795
  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}`));
16788
16796
  void (async () => {
16789
16797
  try {
16790
- const { collectDiagnostics } = await import("../persistent-session-6UGFGI6J.js");
16798
+ const { collectDiagnostics } = await import("../persistent-session-2ESCLFCK.js");
16791
16799
  await api.post("/host/heartbeat", {
16792
16800
  host_id: hostId,
16793
16801
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics)
@@ -16838,7 +16846,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
16838
16846
  }
16839
16847
  try {
16840
16848
  const hostId = await getHostId();
16841
- const { collectDiagnostics } = await import("../persistent-session-6UGFGI6J.js");
16849
+ const { collectDiagnostics } = await import("../persistent-session-2ESCLFCK.js");
16842
16850
  await api.post("/host/heartbeat", {
16843
16851
  host_id: hostId,
16844
16852
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics)
@@ -17416,7 +17424,7 @@ async function processClaudePairSessions(agents) {
17416
17424
  killPairSession,
17417
17425
  pairTmuxSession,
17418
17426
  finalizeClaudePairOnboarding
17419
- } = await import("../claude-pair-runtime-T4ZR7AJU.js");
17427
+ } = await import("../claude-pair-runtime-4C5YXND6.js");
17420
17428
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
17421
17429
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
17422
17430
  const killed = await killPairSession(pairTmuxSession(pairId));