@integrity-labs/agt-cli 0.28.629 → 0.28.631
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-RZDL5TB6.js";
|
|
44
44
|
import {
|
|
45
45
|
readDirectChatSessionState
|
|
46
46
|
} from "../chunk-7QNQRV3A.js";
|
|
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4909
4909
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4910
4910
|
import chalk18 from "chalk";
|
|
4911
4911
|
import ora16 from "ora";
|
|
4912
|
-
var cliVersion = true ? "0.28.
|
|
4912
|
+
var cliVersion = true ? "0.28.631" : "dev";
|
|
4913
4913
|
async function fetchLatestVersion() {
|
|
4914
4914
|
const host2 = getHost();
|
|
4915
4915
|
if (!host2) return null;
|
|
@@ -6089,7 +6089,7 @@ function handleError(err) {
|
|
|
6089
6089
|
}
|
|
6090
6090
|
|
|
6091
6091
|
// src/bin/agt.ts
|
|
6092
|
-
var cliVersion2 = true ? "0.28.
|
|
6092
|
+
var cliVersion2 = true ? "0.28.631" : "dev";
|
|
6093
6093
|
var program = new Command();
|
|
6094
6094
|
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");
|
|
6095
6095
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -6069,7 +6069,7 @@ function exchangeFailureKind(err) {
|
|
|
6069
6069
|
}
|
|
6070
6070
|
|
|
6071
6071
|
// src/lib/api-client.ts
|
|
6072
|
-
var agtCliVersion = true ? "0.28.
|
|
6072
|
+
var agtCliVersion = true ? "0.28.631" : "dev";
|
|
6073
6073
|
var lastConfigHash = null;
|
|
6074
6074
|
function setConfigHash(hash) {
|
|
6075
6075
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8106,6 +8106,31 @@ var DID_NOT_RUN_SIGNATURES = [
|
|
|
8106
8106
|
{
|
|
8107
8107
|
re: /the real \S+ binary is not on PATH|only the Augmented shim is/i,
|
|
8108
8108
|
reason: "the Augmented credential shim ran but could not find the real binary, so nothing was probed"
|
|
8109
|
+
},
|
|
8110
|
+
{
|
|
8111
|
+
// ENG-8902: the PROBER's own child process is missing AGT_AGENT_ID, so the
|
|
8112
|
+
// credential shim cannot identify which agent to mint for. It never reaches
|
|
8113
|
+
// GitHub, and it never can — this is a defect in how the probe is spawned
|
|
8114
|
+
// (ENG-9005), not a statement about the integration.
|
|
8115
|
+
//
|
|
8116
|
+
// Measured live on 2026-08-18T07:16:30Z, gordon / my-second-host:
|
|
8117
|
+
// "gh probe inconclusive — our credential broker could not supply a
|
|
8118
|
+
// token: augmented: GitHub credential fetch failed: AGT_AGENT_ID is not
|
|
8119
|
+
// set in this process environment"
|
|
8120
|
+
//
|
|
8121
|
+
// It was landing in the TRANSIENT branch, so every occurrence incremented
|
|
8122
|
+
// consecutive_connectivity_failures. That is how gordon reached 85 and ada
|
|
8123
|
+
// 234 against credentials that mint on demand — the streak counts prober
|
|
8124
|
+
// failures and calls them connectivity failures. The probe's own message
|
|
8125
|
+
// already said "inconclusive"; the grading disagreed with the wording.
|
|
8126
|
+
//
|
|
8127
|
+
// DELIBERATELY NARROW. A broker failure is NOT automatically did-not-run:
|
|
8128
|
+
// an HTTP 500 from the credential endpoint is a real transient that should
|
|
8129
|
+
// keep its transient grading (I hit one tonight mid-session; it recovered
|
|
8130
|
+
// on retry). Only the missing-env case is unambiguously unrunnable, so only
|
|
8131
|
+
// that signature is matched here.
|
|
8132
|
+
re: /AGT_AGENT_ID is not set in this process environment/i,
|
|
8133
|
+
reason: "the probe process was spawned without AGT_AGENT_ID, so the credential shim could not identify the agent and nothing was probed (ENG-9005)"
|
|
8109
8134
|
}
|
|
8110
8135
|
];
|
|
8111
8136
|
function didNotRunReasonFor(text) {
|
|
@@ -9589,4 +9614,4 @@ export {
|
|
|
9589
9614
|
managerInstallSystemUnitCommand,
|
|
9590
9615
|
managerUninstallSystemUnitCommand
|
|
9591
9616
|
};
|
|
9592
|
-
//# sourceMappingURL=chunk-
|
|
9617
|
+
//# sourceMappingURL=chunk-RZDL5TB6.js.map
|