@integrity-labs/agt-cli 0.20.0 → 0.20.3

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-BVR3HES5.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-3RLZWXFR.js");
104
104
  const claudeBin = resolveClaudeBinary();
105
105
  const pairEnv = {
106
106
  ...process.env,
@@ -366,4 +366,4 @@ export {
366
366
  startClaudePair,
367
367
  submitClaudePairCode
368
368
  };
369
- //# sourceMappingURL=claude-pair-runtime-WA4BYPN5.js.map
369
+ //# sourceMappingURL=claude-pair-runtime-3WZQHRIQ.js.map
@@ -22,7 +22,7 @@ import {
22
22
  resolveChannels,
23
23
  resolveDmTarget,
24
24
  wrapScheduledTaskPrompt
25
- } from "../chunk-YKWSBTTJ.js";
25
+ } from "../chunk-INN5PXU3.js";
26
26
  import {
27
27
  findTaskByTemplate,
28
28
  getProjectDir,
@@ -50,7 +50,7 @@ import {
50
50
  startPersistentSession,
51
51
  stopAllSessionsAndWait,
52
52
  stopPersistentSession
53
- } from "../chunk-55SJYI7V.js";
53
+ } from "../chunk-5JHBDBDU.js";
54
54
 
55
55
  // src/lib/manager-worker.ts
56
56
  import { createHash as createHash2 } from "crypto";
@@ -301,10 +301,14 @@ import { execFileSync as execFileSync2 } from "child_process";
301
301
  var DEFAULT_COLD_START_GRACE_MS = 9e4;
302
302
  function findMissingMcpServers(args) {
303
303
  const { rows, codeName, mcpJson } = args;
304
- const declared = Object.keys(mcpJson?.mcpServers ?? {});
304
+ const servers = mcpJson?.mcpServers ?? {};
305
+ const declared = Object.keys(servers);
305
306
  if (declared.length === 0) return [];
306
307
  const missing = [];
307
308
  for (const key of declared) {
309
+ const entry = servers[key];
310
+ const isStdio = typeof entry?.command === "string";
311
+ if (!isStdio) continue;
308
312
  const live = findMcpChildrenForAgent({
309
313
  rows,
310
314
  codeName,
@@ -2140,7 +2144,7 @@ function clearAgentCaches(agentId, codeName) {
2140
2144
  var cachedFrameworkVersion = null;
2141
2145
  var lastVersionCheckAt = 0;
2142
2146
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
2143
- var agtCliVersion = true ? "0.20.0" : "dev";
2147
+ var agtCliVersion = true ? "0.20.3" : "dev";
2144
2148
  function resolveBrewPath(execFileSync4) {
2145
2149
  try {
2146
2150
  const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -3044,7 +3048,7 @@ async function pollCycle() {
3044
3048
  }
3045
3049
  try {
3046
3050
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
3047
- const { collectDiagnostics } = await import("../persistent-session-BVR3HES5.js");
3051
+ const { collectDiagnostics } = await import("../persistent-session-3RLZWXFR.js");
3048
3052
  const diagCodeNames = [...persistentSessionAgents];
3049
3053
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
3050
3054
  let tailscaleHostname;
@@ -6410,7 +6414,7 @@ async function processClaudePairSessions(agents) {
6410
6414
  killPairSession,
6411
6415
  pairTmuxSession,
6412
6416
  finalizeClaudePairOnboarding
6413
- } = await import("../claude-pair-runtime-WA4BYPN5.js");
6417
+ } = await import("../claude-pair-runtime-3WZQHRIQ.js");
6414
6418
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
6415
6419
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
6416
6420
  const killed = await killPairSession(pairTmuxSession(pairId));