@integrity-labs/agt-cli 0.28.648 → 0.28.650

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,10 +40,10 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-7JQQG62Z.js";
43
+ } from "../chunk-5DXWVKCZ.js";
44
44
  import {
45
45
  readDirectChatSessionState
46
- } from "../chunk-UTNGCJLO.js";
46
+ } from "../chunk-CSLG2XMX.js";
47
47
  import {
48
48
  AnchorSessionClient,
49
49
  CHANNEL_REGISTRY,
@@ -73,7 +73,7 @@ import {
73
73
  requiredMcpWildcard,
74
74
  resolveChannels,
75
75
  serializeManifestForSlackCli
76
- } from "../chunk-WP6LYCRS.js";
76
+ } from "../chunk-ZAZKEL4Y.js";
77
77
  import "../chunk-XWVM4KPK.js";
78
78
 
79
79
  // src/bin/agt.ts
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
4909
4909
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4910
4910
  import chalk18 from "chalk";
4911
4911
  import ora16 from "ora";
4912
- var cliVersion = true ? "0.28.648" : "dev";
4912
+ var cliVersion = true ? "0.28.650" : "dev";
4913
4913
  async function fetchLatestVersion() {
4914
4914
  const host2 = getHost();
4915
4915
  if (!host2) return null;
@@ -6089,7 +6089,7 @@ function handleError(err) {
6089
6089
  }
6090
6090
 
6091
6091
  // src/bin/agt.ts
6092
- var cliVersion2 = true ? "0.28.648" : "dev";
6092
+ var cliVersion2 = true ? "0.28.650" : "dev";
6093
6093
  var program = new Command();
6094
6094
  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");
6095
6095
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -8,7 +8,7 @@ import {
8
8
  isolationMode,
9
9
  log,
10
10
  parseEnvIntegrations
11
- } from "./chunk-UTNGCJLO.js";
11
+ } from "./chunk-CSLG2XMX.js";
12
12
  import {
13
13
  BIND_FAILURE_QUARANTINE_THRESHOLD,
14
14
  INTEGRATIONS_SECTION_END,
@@ -55,7 +55,7 @@ import {
55
55
  resolveConnectivityProbe,
56
56
  worseConnectivityOutcome,
57
57
  wrapScheduledTaskPrompt
58
- } from "./chunk-WP6LYCRS.js";
58
+ } from "./chunk-ZAZKEL4Y.js";
59
59
  import {
60
60
  parsePsRows
61
61
  } from "./chunk-XWVM4KPK.js";
@@ -6073,7 +6073,7 @@ function exchangeFailureKind(err) {
6073
6073
  }
6074
6074
 
6075
6075
  // src/lib/api-client.ts
6076
- var agtCliVersion = true ? "0.28.648" : "dev";
6076
+ var agtCliVersion = true ? "0.28.650" : "dev";
6077
6077
  var lastConfigHash = null;
6078
6078
  function setConfigHash(hash) {
6079
6079
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -7959,18 +7959,18 @@ function isWithinFirstConnectWindow(createdAt, now, windowMs = FIRST_CONNECT_WIN
7959
7959
  function verdictForUnavailableMcpConfig(cause, ctx) {
7960
7960
  const where = `MCP ${ctx.transport} server '${ctx.serverKey}'`;
7961
7961
  if (cause === "file-unreadable") {
7962
- return { status: "transient_error", message: `${where}: ${ctx.source} unreadable or unparseable` };
7962
+ return { status: "unverified", message: `${where}: ${ctx.source} unreadable or unparseable` };
7963
7963
  }
7964
7964
  if (cause === "key-absent") {
7965
7965
  if (ctx.expectedAbsent) {
7966
7966
  return {
7967
- status: "transient_error",
7967
+ status: "unverified",
7968
7968
  message: `${where}: not in ${ctx.source} (quarantined \u2014 absence expected)`
7969
7969
  };
7970
7970
  }
7971
7971
  if (isWithinFirstConnectWindow(ctx.createdAt, ctx.now, ctx.windowMs)) {
7972
7972
  return {
7973
- status: "transient_error",
7973
+ status: "unverified",
7974
7974
  message: `${where}: not yet written to ${ctx.source} (within first-connect window)`
7975
7975
  };
7976
7976
  }
@@ -7978,7 +7978,7 @@ function verdictForUnavailableMcpConfig(cause, ctx) {
7978
7978
  }
7979
7979
  if (ctx.expectedAbsent) {
7980
7980
  return {
7981
- status: "transient_error",
7981
+ status: "unverified",
7982
7982
  message: `${where}: reconstructed ${ctx.source} entry is not ${ctx.transport}-probeable (quarantined)`
7983
7983
  };
7984
7984
  }
@@ -8637,8 +8637,9 @@ function buildConnectivityProbeDeps(projectDir, probeEnv) {
8637
8637
  // one once the writer has had its chance, but the manager probes BEFORE it
8638
8638
  // writes `.mcp.json` in the same poll, so the first probe of every
8639
8639
  // newly-added integration necessarily finds the key absent — that window
8640
- // reads `transient_error` (and is what keeps ENG-7575's first-connect
8641
- // backoff engaged). `verdictForUnavailableMcpConfig` owns the distinction.
8640
+ // reads `unverified` since ENG-9034 (and still keeps ENG-7575's first-connect
8641
+ // backoff engaged, which now accepts `unverified` inside the window).
8642
+ // `verdictForUnavailableMcpConfig` owns the distinction.
8642
8643
  mcpStdioProbe: async (target) => {
8643
8644
  const serverKey = target.inlineServerEntry ? target.serverKey : resolveDeclaredServerKey(projectDir, target.definitionId, target.serverKey) ?? target.serverKey;
8644
8645
  const lookup = target.inlineServerEntry ? inlineEntryLookup(resolveStdioServerEntry(target.inlineServerEntry, probeEnv)) : readMcpStdioServerConfig(projectDir, serverKey, probeEnv);
@@ -9814,4 +9815,4 @@ export {
9814
9815
  managerInstallSystemUnitCommand,
9815
9816
  managerUninstallSystemUnitCommand
9816
9817
  };
9817
- //# sourceMappingURL=chunk-7JQQG62Z.js.map
9818
+ //# sourceMappingURL=chunk-5DXWVKCZ.js.map