@integrity-labs/agt-cli 0.28.595 → 0.28.597
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-
|
|
43
|
+
} from "../chunk-WAQM45OE.js";
|
|
44
44
|
import {
|
|
45
45
|
readDirectChatSessionState
|
|
46
46
|
} from "../chunk-6NVRWZ5W.js";
|
|
@@ -4910,7 +4910,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4910
4910
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4911
4911
|
import chalk18 from "chalk";
|
|
4912
4912
|
import ora16 from "ora";
|
|
4913
|
-
var cliVersion = true ? "0.28.
|
|
4913
|
+
var cliVersion = true ? "0.28.597" : "dev";
|
|
4914
4914
|
async function fetchLatestVersion() {
|
|
4915
4915
|
const host2 = getHost();
|
|
4916
4916
|
if (!host2) return null;
|
|
@@ -6090,7 +6090,7 @@ function handleError(err) {
|
|
|
6090
6090
|
}
|
|
6091
6091
|
|
|
6092
6092
|
// src/bin/agt.ts
|
|
6093
|
-
var cliVersion2 = true ? "0.28.
|
|
6093
|
+
var cliVersion2 = true ? "0.28.597" : "dev";
|
|
6094
6094
|
var program = new Command();
|
|
6095
6095
|
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");
|
|
6096
6096
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -5987,7 +5987,7 @@ function exchangeFailureKind(err) {
|
|
|
5987
5987
|
}
|
|
5988
5988
|
|
|
5989
5989
|
// src/lib/api-client.ts
|
|
5990
|
-
var agtCliVersion = true ? "0.28.
|
|
5990
|
+
var agtCliVersion = true ? "0.28.597" : "dev";
|
|
5991
5991
|
var lastConfigHash = null;
|
|
5992
5992
|
function setConfigHash(hash) {
|
|
5993
5993
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -7847,7 +7847,7 @@ function verdictForUnavailableMcpConfig(cause, ctx) {
|
|
|
7847
7847
|
}
|
|
7848
7848
|
|
|
7849
7849
|
// src/lib/connectivity-probe-context.ts
|
|
7850
|
-
import { join as join5 } from "path";
|
|
7850
|
+
import { delimiter as pathDelimiter, join as join5 } from "path";
|
|
7851
7851
|
import { existsSync as existsSync6, readFileSync as readFileSync6 } from "fs";
|
|
7852
7852
|
|
|
7853
7853
|
// src/lib/mcp-stdio-probe.ts
|
|
@@ -8032,7 +8032,10 @@ function runCliProbe(binary, args, opts = {}) {
|
|
|
8032
8032
|
}
|
|
8033
8033
|
const e = err;
|
|
8034
8034
|
if (e.code === "ENOENT") {
|
|
8035
|
-
resolve({
|
|
8035
|
+
resolve({
|
|
8036
|
+
status: "unverified",
|
|
8037
|
+
message: `${binary} not found on PATH \u2014 the probe could not run, so this is NOT a verdict about the integration. If the agent uses a per-agent binary (e.g. the .claude/agt-bin shim), the probe's PATH must include it.`
|
|
8038
|
+
});
|
|
8036
8039
|
return;
|
|
8037
8040
|
}
|
|
8038
8041
|
if (e.killed || e.signal === "SIGTERM") {
|
|
@@ -8335,6 +8338,13 @@ function buildProbeEnv(projectDir) {
|
|
|
8335
8338
|
}
|
|
8336
8339
|
} catch {
|
|
8337
8340
|
}
|
|
8341
|
+
try {
|
|
8342
|
+
const agentBinDir = join5(projectDir, ".claude", "agt-bin");
|
|
8343
|
+
if (existsSync6(agentBinDir)) {
|
|
8344
|
+
probeEnv.PATH = probeEnv.PATH ? `${agentBinDir}${pathDelimiter}${probeEnv.PATH}` : agentBinDir;
|
|
8345
|
+
}
|
|
8346
|
+
} catch {
|
|
8347
|
+
}
|
|
8338
8348
|
return probeEnv;
|
|
8339
8349
|
}
|
|
8340
8350
|
function buildConnectivityProbeDeps(projectDir, probeEnv) {
|
|
@@ -9432,4 +9442,4 @@ export {
|
|
|
9432
9442
|
managerInstallSystemUnitCommand,
|
|
9433
9443
|
managerUninstallSystemUnitCommand
|
|
9434
9444
|
};
|
|
9435
|
-
//# sourceMappingURL=chunk-
|
|
9445
|
+
//# sourceMappingURL=chunk-WAQM45OE.js.map
|