@integrity-labs/agt-cli 0.20.1 → 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.
@@ -22,7 +22,7 @@ import {
22
22
  resolveChannels,
23
23
  resolveDmTarget,
24
24
  wrapScheduledTaskPrompt
25
- } from "../chunk-Y3E5EFCM.js";
25
+ } from "../chunk-INN5PXU3.js";
26
26
  import {
27
27
  findTaskByTemplate,
28
28
  getProjectDir,
@@ -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.1" : "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();