@integrity-labs/agt-cli 0.28.381 → 0.28.382
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-DXFM62EZ.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4829
4829
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4830
4830
|
import chalk18 from "chalk";
|
|
4831
4831
|
import ora16 from "ora";
|
|
4832
|
-
var cliVersion = true ? "0.28.
|
|
4832
|
+
var cliVersion = true ? "0.28.382" : "dev";
|
|
4833
4833
|
async function fetchLatestVersion() {
|
|
4834
4834
|
const host2 = getHost();
|
|
4835
4835
|
if (!host2) return null;
|
|
@@ -6001,7 +6001,7 @@ function handleError(err) {
|
|
|
6001
6001
|
}
|
|
6002
6002
|
|
|
6003
6003
|
// src/bin/agt.ts
|
|
6004
|
-
var cliVersion2 = true ? "0.28.
|
|
6004
|
+
var cliVersion2 = true ? "0.28.382" : "dev";
|
|
6005
6005
|
var program = new Command();
|
|
6006
6006
|
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");
|
|
6007
6007
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -6184,7 +6184,7 @@ function requireHost() {
|
|
|
6184
6184
|
}
|
|
6185
6185
|
|
|
6186
6186
|
// src/lib/api-client.ts
|
|
6187
|
-
var agtCliVersion = true ? "0.28.
|
|
6187
|
+
var agtCliVersion = true ? "0.28.382" : "dev";
|
|
6188
6188
|
var lastConfigHash = null;
|
|
6189
6189
|
function setConfigHash(hash) {
|
|
6190
6190
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8630,4 +8630,4 @@ export {
|
|
|
8630
8630
|
managerInstallSystemUnitCommand,
|
|
8631
8631
|
managerUninstallSystemUnitCommand
|
|
8632
8632
|
};
|
|
8633
|
-
//# sourceMappingURL=chunk-
|
|
8633
|
+
//# sourceMappingURL=chunk-DXFM62EZ.js.map
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
resolveEffectivePinRaw,
|
|
44
44
|
safeWriteJsonAtomic,
|
|
45
45
|
setConfigHash
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-DXFM62EZ.js";
|
|
47
47
|
import {
|
|
48
48
|
getProjectDir as getProjectDir2,
|
|
49
49
|
getReadyTasks,
|
|
@@ -284,7 +284,7 @@ function canonicalize(value) {
|
|
|
284
284
|
function computeIntegrationsHash(integrations) {
|
|
285
285
|
const payload = integrations.map(
|
|
286
286
|
(i) => `${i.definition_id}:${JSON.stringify(canonicalize(i.credentials ?? {}))}:${JSON.stringify(canonicalize(i.config ?? {}))}`
|
|
287
|
-
);
|
|
287
|
+
).sort();
|
|
288
288
|
return createHash2("sha256").update(JSON.stringify(payload)).digest("hex").slice(0, 16);
|
|
289
289
|
}
|
|
290
290
|
function computeCapabilitySurfaceHash(integrations) {
|
|
@@ -9120,7 +9120,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
9120
9120
|
var lastVersionCheckAt = 0;
|
|
9121
9121
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
9122
9122
|
var lastResponsivenessProbeAt = 0;
|
|
9123
|
-
var agtCliVersion = true ? "0.28.
|
|
9123
|
+
var agtCliVersion = true ? "0.28.382" : "dev";
|
|
9124
9124
|
function resolveBrewPath(execFileSync2) {
|
|
9125
9125
|
try {
|
|
9126
9126
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|