@integrity-labs/agt-cli 0.28.10 → 0.28.11
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
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
success,
|
|
34
34
|
table,
|
|
35
35
|
warn
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-YFHWYJIK.js";
|
|
37
37
|
import {
|
|
38
38
|
CHANNEL_REGISTRY,
|
|
39
39
|
DEPLOYMENT_TEMPLATES,
|
|
@@ -4773,7 +4773,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4773
4773
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4774
4774
|
import chalk18 from "chalk";
|
|
4775
4775
|
import ora16 from "ora";
|
|
4776
|
-
var cliVersion = true ? "0.28.
|
|
4776
|
+
var cliVersion = true ? "0.28.11" : "dev";
|
|
4777
4777
|
async function fetchLatestVersion() {
|
|
4778
4778
|
const host2 = getHost();
|
|
4779
4779
|
if (!host2) return null;
|
|
@@ -5696,7 +5696,7 @@ function handleError(err) {
|
|
|
5696
5696
|
}
|
|
5697
5697
|
|
|
5698
5698
|
// src/bin/agt.ts
|
|
5699
|
-
var cliVersion2 = true ? "0.28.
|
|
5699
|
+
var cliVersion2 = true ? "0.28.11" : "dev";
|
|
5700
5700
|
var program = new Command();
|
|
5701
5701
|
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");
|
|
5702
5702
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
provisionStopHook,
|
|
23
23
|
requireHost,
|
|
24
24
|
safeWriteJsonAtomic
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-YFHWYJIK.js";
|
|
26
26
|
import {
|
|
27
27
|
getProjectDir as getProjectDir2,
|
|
28
28
|
getReadyTasks,
|
|
@@ -5083,7 +5083,7 @@ var cachedMaintenanceWindow = null;
|
|
|
5083
5083
|
var lastVersionCheckAt = 0;
|
|
5084
5084
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
5085
5085
|
var lastResponsivenessProbeAt = 0;
|
|
5086
|
-
var agtCliVersion = true ? "0.28.
|
|
5086
|
+
var agtCliVersion = true ? "0.28.11" : "dev";
|
|
5087
5087
|
function resolveBrewPath(execFileSync4) {
|
|
5088
5088
|
try {
|
|
5089
5089
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
package/dist/mcp/index.js
CHANGED
|
@@ -21571,6 +21571,19 @@ server.tool(
|
|
|
21571
21571
|
};
|
|
21572
21572
|
}
|
|
21573
21573
|
);
|
|
21574
|
+
server.tool(
|
|
21575
|
+
"probe_ack",
|
|
21576
|
+
'Liveness acknowledgement. Call this \u2014 and nothing else is required \u2014 when you receive a system liveness/health probe asking you to confirm you are responsive. It stamps a server-side "last known good" timestamp proving THIS live session can reply, so monitoring need not synthetically ping you again while you are active. No arguments; safe to call anytime.',
|
|
21577
|
+
{},
|
|
21578
|
+
async () => {
|
|
21579
|
+
const data = await apiPost("/host/probe-ack", {
|
|
21580
|
+
agent_id: AGT_AGENT_ID
|
|
21581
|
+
});
|
|
21582
|
+
return {
|
|
21583
|
+
content: [{ type: "text", text: data.ok ? "ack" : "ack-failed" }]
|
|
21584
|
+
};
|
|
21585
|
+
}
|
|
21586
|
+
);
|
|
21574
21587
|
server.tool(
|
|
21575
21588
|
"token_refresh",
|
|
21576
21589
|
"Get a working OAuth access token for an integration. Returns the current cached token when it is still valid (the server-side cron rotates tokens every ~15 minutes) and forces a refresh only when the cached token is expiring or missing. Pass `integration_id` to force-refresh a specific integration after a 401/TokenExpired from the provider.",
|
|
@@ -22384,6 +22397,7 @@ var LOCAL_TOOL_NAMES = /* @__PURE__ */ new Set([
|
|
|
22384
22397
|
"status_standup",
|
|
22385
22398
|
"status_update",
|
|
22386
22399
|
"drift_report",
|
|
22400
|
+
"probe_ack",
|
|
22387
22401
|
"token_refresh",
|
|
22388
22402
|
"acpx_prompt",
|
|
22389
22403
|
"acpx_exec",
|
package/package.json
CHANGED
|
File without changes
|