@integrity-labs/agt-cli 0.28.577 → 0.28.578

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.
package/dist/bin/agt.js CHANGED
@@ -40,7 +40,7 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-FOMHYTFV.js";
43
+ } from "../chunk-5YFIIWS2.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -71,7 +71,7 @@ import {
71
71
  requiredMcpWildcard,
72
72
  resolveChannels,
73
73
  serializeManifestForSlackCli
74
- } from "../chunk-E3KBX3UW.js";
74
+ } from "../chunk-L24SX6LH.js";
75
75
  import "../chunk-XWVM4KPK.js";
76
76
 
77
77
  // src/bin/agt.ts
@@ -4853,7 +4853,7 @@ import { execFileSync, execSync } from "child_process";
4853
4853
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4854
4854
  import chalk18 from "chalk";
4855
4855
  import ora16 from "ora";
4856
- var cliVersion = true ? "0.28.577" : "dev";
4856
+ var cliVersion = true ? "0.28.578" : "dev";
4857
4857
  async function fetchLatestVersion() {
4858
4858
  const host2 = getHost();
4859
4859
  if (!host2) return null;
@@ -6031,7 +6031,7 @@ function handleError(err) {
6031
6031
  }
6032
6032
 
6033
6033
  // src/bin/agt.ts
6034
- var cliVersion2 = true ? "0.28.577" : "dev";
6034
+ var cliVersion2 = true ? "0.28.578" : "dev";
6035
6035
  var program = new Command();
6036
6036
  program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
6037
6037
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -46,7 +46,7 @@ import {
46
46
  resolveConnectivityProbe,
47
47
  worseConnectivityOutcome,
48
48
  wrapScheduledTaskPrompt
49
- } from "./chunk-E3KBX3UW.js";
49
+ } from "./chunk-L24SX6LH.js";
50
50
  import {
51
51
  parsePsRows
52
52
  } from "./chunk-XWVM4KPK.js";
@@ -5959,7 +5959,7 @@ function exchangeFailureKind(err) {
5959
5959
  }
5960
5960
 
5961
5961
  // src/lib/api-client.ts
5962
- var agtCliVersion = true ? "0.28.577" : "dev";
5962
+ var agtCliVersion = true ? "0.28.578" : "dev";
5963
5963
  var lastConfigHash = null;
5964
5964
  function setConfigHash(hash) {
5965
5965
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8270,7 +8270,9 @@ function buildConnectivityProbeDeps(projectDir, probeEnv) {
8270
8270
  message: `MCP '${serverKey}' auth unresolved: ${cfg.unresolved.join(", ")}`
8271
8271
  };
8272
8272
  }
8273
- return probeMcpHttp(cfg);
8273
+ return probeMcpHttp(
8274
+ target.toolName ? { ...cfg, connectivityTest: { tool: target.toolName, ...target.toolArgs ? { args: target.toolArgs } : {} } } : cfg
8275
+ );
8274
8276
  },
8275
8277
  // ENG-7405: local-STDIO MCP probe. Spawns the toolkit's bundled server with
8276
8278
  // the agent's env (the exact command/args/env from `.mcp.json`), handshakes,
@@ -9202,9 +9204,14 @@ async function executeConnectivityProbe(target, deps = {}) {
9202
9204
  serverKey: target.mcpServerKey ?? target.definitionId,
9203
9205
  definitionId: target.definitionId,
9204
9206
  inlineServerEntry: target.inlineServerEntry,
9205
- ...rowFacts
9207
+ ...rowFacts,
9208
+ // ENG-7077: the toolkit's prescribed read-only tool, when it declares
9209
+ // one. Mirrors the mcp_stdio branch below — these two legs had drifted,
9210
+ // and only the stdio one could earn `live_call`.
9211
+ toolName: descriptor.probeTool ?? null,
9212
+ toolArgs: descriptor.probeArgs ?? null
9206
9213
  });
9207
- return withEvidence(outcome, "handshake");
9214
+ return withEvidence(outcome, descriptor.probeTool ? "live_call" : "handshake");
9208
9215
  }
9209
9216
  case "mcp_stdio": {
9210
9217
  if (!deps.mcpStdioProbe) return null;
@@ -9328,4 +9335,4 @@ export {
9328
9335
  managerInstallSystemUnitCommand,
9329
9336
  managerUninstallSystemUnitCommand
9330
9337
  };
9331
- //# sourceMappingURL=chunk-FOMHYTFV.js.map
9338
+ //# sourceMappingURL=chunk-5YFIIWS2.js.map