@integrity-labs/agt-cli 0.28.541 → 0.28.542
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-GVYAIEFA.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -4834,7 +4834,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4834
4834
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4835
4835
|
import chalk18 from "chalk";
|
|
4836
4836
|
import ora16 from "ora";
|
|
4837
|
-
var cliVersion = true ? "0.28.
|
|
4837
|
+
var cliVersion = true ? "0.28.542" : "dev";
|
|
4838
4838
|
async function fetchLatestVersion() {
|
|
4839
4839
|
const host2 = getHost();
|
|
4840
4840
|
if (!host2) return null;
|
|
@@ -6006,7 +6006,7 @@ function handleError(err) {
|
|
|
6006
6006
|
}
|
|
6007
6007
|
|
|
6008
6008
|
// src/bin/agt.ts
|
|
6009
|
-
var cliVersion2 = true ? "0.28.
|
|
6009
|
+
var cliVersion2 = true ? "0.28.542" : "dev";
|
|
6010
6010
|
var program = new Command();
|
|
6011
6011
|
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");
|
|
6012
6012
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -5549,7 +5549,7 @@ function exchangeFailureKind(err) {
|
|
|
5549
5549
|
}
|
|
5550
5550
|
|
|
5551
5551
|
// src/lib/api-client.ts
|
|
5552
|
-
var agtCliVersion = true ? "0.28.
|
|
5552
|
+
var agtCliVersion = true ? "0.28.542" : "dev";
|
|
5553
5553
|
var lastConfigHash = null;
|
|
5554
5554
|
function setConfigHash(hash) {
|
|
5555
5555
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8861,4 +8861,4 @@ export {
|
|
|
8861
8861
|
managerInstallSystemUnitCommand,
|
|
8862
8862
|
managerUninstallSystemUnitCommand
|
|
8863
8863
|
};
|
|
8864
|
-
//# sourceMappingURL=chunk-
|
|
8864
|
+
//# sourceMappingURL=chunk-GVYAIEFA.js.map
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
safeWriteJsonAtomic,
|
|
54
54
|
setConfigHash,
|
|
55
55
|
tripClass
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-GVYAIEFA.js";
|
|
57
57
|
import {
|
|
58
58
|
getProjectDir as getProjectDir2,
|
|
59
59
|
getReadyTasks,
|
|
@@ -4557,6 +4557,14 @@ function foldRuntimeAuthVerdict(input) {
|
|
|
4557
4557
|
function heartbeatRuntimeAuthReport(probeVerdict) {
|
|
4558
4558
|
return probeVerdict ?? void 0;
|
|
4559
4559
|
}
|
|
4560
|
+
function heartbeatRuntimeAuthFields(probeVerdict) {
|
|
4561
|
+
const reported = heartbeatRuntimeAuthReport(probeVerdict);
|
|
4562
|
+
if (reported === void 0) return {};
|
|
4563
|
+
return {
|
|
4564
|
+
agent_runtime_authenticated: reported,
|
|
4565
|
+
agent_runtime_auth_observed: true
|
|
4566
|
+
};
|
|
4567
|
+
}
|
|
4560
4568
|
|
|
4561
4569
|
// src/lib/manager/kanban/parsers.ts
|
|
4562
4570
|
import { existsSync as existsSync8, readFileSync as readFileSync15 } from "fs";
|
|
@@ -10429,7 +10437,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
10429
10437
|
var lastVersionCheckAt = 0;
|
|
10430
10438
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
10431
10439
|
var lastResponsivenessProbeAt = 0;
|
|
10432
|
-
var agtCliVersion = true ? "0.28.
|
|
10440
|
+
var agtCliVersion = true ? "0.28.542" : "dev";
|
|
10433
10441
|
function resolveBrewPath(execFileSync2) {
|
|
10434
10442
|
try {
|
|
10435
10443
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -11890,8 +11898,11 @@ async function pollCycle() {
|
|
|
11890
11898
|
// ENG-8623: the probe's verdict, or the field is OMITTED. The column is
|
|
11891
11899
|
// named for a runtime observation and the API now stamps a freshness
|
|
11892
11900
|
// timestamp beside it, so a file-derived value here would manufacture an
|
|
11893
|
-
// observation nobody made.
|
|
11894
|
-
|
|
11901
|
+
// observation nobody made. Spread as ONE unit: the boolean and its
|
|
11902
|
+
// provenance marker must never diverge, so they are produced together
|
|
11903
|
+
// rather than as two fields a future edit could separate. See
|
|
11904
|
+
// `heartbeatRuntimeAuthFields`.
|
|
11905
|
+
...heartbeatRuntimeAuthFields(runtimeAuthProbeVerdict),
|
|
11895
11906
|
agent_diagnostics: agentDiagnostics,
|
|
11896
11907
|
hostname: tailscaleHostname,
|
|
11897
11908
|
os_username: osUsername,
|