@integrity-labs/agt-cli 0.28.765 → 0.28.766
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
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
success,
|
|
42
42
|
table,
|
|
43
43
|
warn
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-HAYQ6DYC.js";
|
|
45
45
|
import {
|
|
46
46
|
getProjectDir,
|
|
47
47
|
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.
|
|
5470
|
+
var cliVersion = true ? "0.28.766" : "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.
|
|
6661
|
+
var cliVersion2 = true ? "0.28.766" : "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) => {
|
|
@@ -6452,7 +6452,7 @@ function exchangeFailureKind(err) {
|
|
|
6452
6452
|
}
|
|
6453
6453
|
|
|
6454
6454
|
// src/lib/api-client.ts
|
|
6455
|
-
var agtCliVersion = true ? "0.28.
|
|
6455
|
+
var agtCliVersion = true ? "0.28.766" : "dev";
|
|
6456
6456
|
var lastConfigHash = null;
|
|
6457
6457
|
function setConfigHash(hash) {
|
|
6458
6458
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -7923,7 +7923,11 @@ var PROVISIONING_RELOAD_REASONS = /* @__PURE__ */ new Set([
|
|
|
7923
7923
|
// breaker - taking the agent DOWN, which is strictly worse than the stale
|
|
7924
7924
|
// policy the restart exists to fix. The looser provisioning tally still
|
|
7925
7925
|
// trips + pages on sustained thrash.
|
|
7926
|
-
"sender-policy-change"
|
|
7926
|
+
"sender-policy-change",
|
|
7927
|
+
// ENG-9802: same argument, same failure mode — a host whose baseline write
|
|
7928
|
+
// keeps failing must not convert a fail-closed policy restart into a breaker
|
|
7929
|
+
// trip that takes the agent down.
|
|
7930
|
+
"telegram-policy-change"
|
|
7927
7931
|
]);
|
|
7928
7932
|
function isProvisioningReloadReason(reason) {
|
|
7929
7933
|
return PROVISIONING_RELOAD_REASONS.has(reason);
|
|
@@ -10651,4 +10655,4 @@ export {
|
|
|
10651
10655
|
managerInstallSystemUnitCommand,
|
|
10652
10656
|
managerUninstallSystemUnitCommand
|
|
10653
10657
|
};
|
|
10654
|
-
//# sourceMappingURL=chunk-
|
|
10658
|
+
//# sourceMappingURL=chunk-HAYQ6DYC.js.map
|