@integrity-labs/agt-cli 0.28.777 → 0.28.778
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-5S334W7F.js";
|
|
44
44
|
import {
|
|
45
45
|
getProjectDir,
|
|
46
46
|
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.778" : "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.778" : "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) => {
|
|
@@ -6395,7 +6395,7 @@ function exchangeFailureKind(err) {
|
|
|
6395
6395
|
}
|
|
6396
6396
|
|
|
6397
6397
|
// src/lib/api-client.ts
|
|
6398
|
-
var agtCliVersion = true ? "0.28.
|
|
6398
|
+
var agtCliVersion = true ? "0.28.778" : "dev";
|
|
6399
6399
|
var lastConfigHash = null;
|
|
6400
6400
|
function setConfigHash(hash) {
|
|
6401
6401
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -10628,4 +10628,4 @@ export {
|
|
|
10628
10628
|
managerInstallSystemUnitCommand,
|
|
10629
10629
|
managerUninstallSystemUnitCommand
|
|
10630
10630
|
};
|
|
10631
|
-
//# sourceMappingURL=chunk-
|
|
10631
|
+
//# sourceMappingURL=chunk-5S334W7F.js.map
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
safeWriteJsonAtomic,
|
|
59
59
|
setConfigHash,
|
|
60
60
|
tripClass
|
|
61
|
-
} from "../chunk-
|
|
61
|
+
} from "../chunk-5S334W7F.js";
|
|
62
62
|
import {
|
|
63
63
|
getProjectDir as getProjectDir2,
|
|
64
64
|
getReadyTasks,
|
|
@@ -13530,7 +13530,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13530
13530
|
var lastVersionCheckAt = 0;
|
|
13531
13531
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13532
13532
|
var lastResponsivenessProbeAt = 0;
|
|
13533
|
-
var agtCliVersion = true ? "0.28.
|
|
13533
|
+
var agtCliVersion = true ? "0.28.778" : "dev";
|
|
13534
13534
|
function resolveBrewPath(execFileSync2) {
|
|
13535
13535
|
try {
|
|
13536
13536
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -21477,6 +21477,12 @@ var resumeAgentSchema = strictObject({
|
|
|
21477
21477
|
});
|
|
21478
21478
|
var listAlertsSchema = strictObject({
|
|
21479
21479
|
severity: external_exports.string().max(16).optional().describe("Filter by severity (critical | warning | info)."),
|
|
21480
|
+
// ENG-8566: without this, an old alert of a specific kind is unreachable —
|
|
21481
|
+
// the listing is newest-first and capped at 100, and the open board exceeds
|
|
21482
|
+
// that. Twelve slack_manifest_drift warnings sat unfindable for 48 days.
|
|
21483
|
+
kind: external_exports.string().max(64).optional().describe(
|
|
21484
|
+
"Filter by alert kind, exact match (e.g. slack_manifest_drift, host_down, integration_down). Use this to reach older alerts of one kind: the list is newest-first and capped at 100, so without a kind filter an old alert below that cutoff cannot be retrieved at all."
|
|
21485
|
+
),
|
|
21480
21486
|
open: external_exports.boolean().optional().describe("When true, only currently-open (unclosed) alerts."),
|
|
21481
21487
|
limit: limitSchema
|
|
21482
21488
|
});
|
|
@@ -21686,7 +21692,7 @@ server.registerTool(
|
|
|
21686
21692
|
);
|
|
21687
21693
|
server.registerTool(
|
|
21688
21694
|
"debug_list_alerts",
|
|
21689
|
-
{ description: "List recent platform alerts across authorized orgs (host-down, agent-stale, probe-timeout, auth-failed), including NULL-team host alerts. Returns a projection per alert (kind, severity, message, source, open/closed state). Filter with { severity, open, limit }.", inputSchema: listAlertsSchema },
|
|
21695
|
+
{ description: "List recent platform alerts across authorized orgs (host-down, agent-stale, probe-timeout, auth-failed), including NULL-team host alerts. Returns a projection per alert (kind, severity, message, source, open/closed state), plus { count, total, truncated } \u2014 `total` is the matches before the 100-row cap, so `truncated: true` means you are NOT seeing everything. Filter with { kind, severity, open, limit }. **Use `kind` to find older alerts**: results are newest-first and hard-capped at 100, so on a busy board an alert below that cutoff is unreachable without it (ENG-8566: 12 slack_manifest_drift warnings sat unfindable for 48 days for exactly this reason).", inputSchema: listAlertsSchema },
|
|
21690
21696
|
async (args) => {
|
|
21691
21697
|
try {
|
|
21692
21698
|
const result = await client.listAlerts(args);
|
package/package.json
CHANGED
|
File without changes
|