@integrity-labs/agt-cli 0.28.776 → 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 +3 -3
- package/dist/{chunk-P5SXR47I.js → chunk-5S334W7F.js} +9 -2
- package/dist/chunk-5S334W7F.js.map +1 -0
- package/dist/lib/manager-worker.js +6 -2
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/augmented-admin.js +7 -1
- package/package.json +1 -1
- package/dist/chunk-P5SXR47I.js.map +0 -1
|
@@ -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);
|