@integrity-labs/agt-cli 0.28.895 → 0.28.896

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-PDFTOKR7.js";
43
+ } from "../chunk-HKG6EMAM.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
5467
5467
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5468
5468
  import chalk18 from "chalk";
5469
5469
  import ora16 from "ora";
5470
- var cliVersion = true ? "0.28.895" : "dev";
5470
+ var cliVersion = true ? "0.28.896" : "dev";
5471
5471
  async function fetchLatestVersion() {
5472
5472
  const host2 = getHost();
5473
5473
  if (!host2) return null;
@@ -6658,7 +6658,7 @@ function handleError(err) {
6658
6658
  }
6659
6659
 
6660
6660
  // src/bin/agt.ts
6661
- var cliVersion2 = true ? "0.28.895" : "dev";
6661
+ var cliVersion2 = true ? "0.28.896" : "dev";
6662
6662
  var program = new Command();
6663
6663
  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");
6664
6664
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -6841,7 +6841,7 @@ function exchangeFailureKind(err) {
6841
6841
  }
6842
6842
 
6843
6843
  // src/lib/api-client.ts
6844
- var agtCliVersion = true ? "0.28.895" : "dev";
6844
+ var agtCliVersion = true ? "0.28.896" : "dev";
6845
6845
  var lastConfigHash = null;
6846
6846
  function setConfigHash(hash) {
6847
6847
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -11451,4 +11451,4 @@ export {
11451
11451
  managerInstallSystemUnitCommand,
11452
11452
  managerUninstallSystemUnitCommand
11453
11453
  };
11454
- //# sourceMappingURL=chunk-PDFTOKR7.js.map
11454
+ //# sourceMappingURL=chunk-HKG6EMAM.js.map
@@ -63,7 +63,7 @@ import {
63
63
  safeWriteJsonAtomic,
64
64
  setConfigHash,
65
65
  tripClass
66
- } from "../chunk-PDFTOKR7.js";
66
+ } from "../chunk-HKG6EMAM.js";
67
67
  import {
68
68
  getProjectDir as getProjectDir2,
69
69
  getReadyTasks,
@@ -13671,7 +13671,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
13671
13671
  var lastVersionCheckAt = 0;
13672
13672
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
13673
13673
  var lastResponsivenessProbeAt = 0;
13674
- var agtCliVersion = true ? "0.28.895" : "dev";
13674
+ var agtCliVersion = true ? "0.28.896" : "dev";
13675
13675
  function resolveBrewPath(execFileSync2) {
13676
13676
  try {
13677
13677
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
package/dist/mcp/index.js CHANGED
@@ -45809,6 +45809,12 @@ function describeReconnectRequestResult(resp) {
45809
45809
  isError: false
45810
45810
  };
45811
45811
  case "notified_disputed":
45812
+ if (resp.platform_health && resp.platform_health !== "ok") {
45813
+ return {
45814
+ text: `Reconnect request sent \u2014 your manager has been notified with the error you reported. The platform has not confirmed a failure here (its own health check for this integration is "${resp.platform_health}"), so your first-hand error is the only evidence anyone has; it has been passed on as such. Stop retrying the failing tool.`,
45815
+ isError: false
45816
+ };
45817
+ }
45812
45818
  return {
45813
45819
  text: "Reconnect request sent. Note that the platform still shows this integration as connected, so your report and the stored status disagree \u2014 your manager has been notified with both, and with the error you reported. Stop retrying the failing tool; a human has to resolve the disagreement.",
45814
45820
  isError: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.895",
3
+ "version": "0.28.896",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {