@integrity-labs/agt-cli 0.28.296 → 0.28.297
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
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
success,
|
|
39
39
|
table,
|
|
40
40
|
warn
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-VTSO7X7P.js";
|
|
42
42
|
import {
|
|
43
43
|
CHANNEL_REGISTRY,
|
|
44
44
|
DEFAULT_FRAMEWORK,
|
|
@@ -4826,7 +4826,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4826
4826
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4827
4827
|
import chalk18 from "chalk";
|
|
4828
4828
|
import ora16 from "ora";
|
|
4829
|
-
var cliVersion = true ? "0.28.
|
|
4829
|
+
var cliVersion = true ? "0.28.297" : "dev";
|
|
4830
4830
|
async function fetchLatestVersion() {
|
|
4831
4831
|
const host2 = getHost();
|
|
4832
4832
|
if (!host2) return null;
|
|
@@ -5843,7 +5843,7 @@ function handleError(err) {
|
|
|
5843
5843
|
}
|
|
5844
5844
|
|
|
5845
5845
|
// src/bin/agt.ts
|
|
5846
|
-
var cliVersion2 = true ? "0.28.
|
|
5846
|
+
var cliVersion2 = true ? "0.28.297" : "dev";
|
|
5847
5847
|
var program = new Command();
|
|
5848
5848
|
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");
|
|
5849
5849
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -5882,7 +5882,7 @@ function requireHost() {
|
|
|
5882
5882
|
}
|
|
5883
5883
|
|
|
5884
5884
|
// src/lib/api-client.ts
|
|
5885
|
-
var agtCliVersion = true ? "0.28.
|
|
5885
|
+
var agtCliVersion = true ? "0.28.297" : "dev";
|
|
5886
5886
|
var lastConfigHash = null;
|
|
5887
5887
|
function setConfigHash(hash) {
|
|
5888
5888
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8181,4 +8181,4 @@ export {
|
|
|
8181
8181
|
managerInstallSystemUnitCommand,
|
|
8182
8182
|
managerUninstallSystemUnitCommand
|
|
8183
8183
|
};
|
|
8184
|
-
//# sourceMappingURL=chunk-
|
|
8184
|
+
//# sourceMappingURL=chunk-VTSO7X7P.js.map
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
requireHost,
|
|
40
40
|
safeWriteJsonAtomic,
|
|
41
41
|
setConfigHash
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-VTSO7X7P.js";
|
|
43
43
|
import {
|
|
44
44
|
getProjectDir as getProjectDir2,
|
|
45
45
|
getReadyTasks,
|
|
@@ -6947,7 +6947,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
6947
6947
|
var lastVersionCheckAt = 0;
|
|
6948
6948
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
6949
6949
|
var lastResponsivenessProbeAt = 0;
|
|
6950
|
-
var agtCliVersion = true ? "0.28.
|
|
6950
|
+
var agtCliVersion = true ? "0.28.297" : "dev";
|
|
6951
6951
|
function resolveBrewPath(execFileSync2) {
|
|
6952
6952
|
try {
|
|
6953
6953
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -7060,8 +7060,10 @@ async function ensureToolkitCli(toolkitSlug) {
|
|
|
7060
7060
|
execSync(script, { timeout: 18e4, stdio: "pipe" });
|
|
7061
7061
|
}
|
|
7062
7062
|
} catch (err) {
|
|
7063
|
-
const
|
|
7064
|
-
|
|
7063
|
+
const e = err;
|
|
7064
|
+
const stderr = e.stderr ? e.stderr.toString().trim() : "";
|
|
7065
|
+
const detail = (stderr || e.message).slice(0, 300);
|
|
7066
|
+
recordToolkitFailure(toolkitSlug, `installer=${resolvedInstaller} failed: ${detail}`);
|
|
7065
7067
|
return;
|
|
7066
7068
|
}
|
|
7067
7069
|
if (brewBinDir && !process.env.PATH?.split(":").includes(brewBinDir)) {
|