@integrity-labs/agt-cli 0.28.686 → 0.28.687
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-WOWZLCF5.js";
|
|
44
44
|
import {
|
|
45
45
|
readDirectChatSessionState
|
|
46
46
|
} from "../chunk-ZKNKHAHX.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.687" : "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.687" : "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) => {
|
|
@@ -6526,7 +6526,7 @@ function exchangeFailureKind(err) {
|
|
|
6526
6526
|
}
|
|
6527
6527
|
|
|
6528
6528
|
// src/lib/api-client.ts
|
|
6529
|
-
var agtCliVersion = true ? "0.28.
|
|
6529
|
+
var agtCliVersion = true ? "0.28.687" : "dev";
|
|
6530
6530
|
var lastConfigHash = null;
|
|
6531
6531
|
function setConfigHash(hash) {
|
|
6532
6532
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -10268,4 +10268,4 @@ export {
|
|
|
10268
10268
|
managerInstallSystemUnitCommand,
|
|
10269
10269
|
managerUninstallSystemUnitCommand
|
|
10270
10270
|
};
|
|
10271
|
-
//# sourceMappingURL=chunk-
|
|
10271
|
+
//# sourceMappingURL=chunk-WOWZLCF5.js.map
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
setConfigHash,
|
|
56
56
|
setSecretFileTmpfsBacking,
|
|
57
57
|
tripClass
|
|
58
|
-
} from "../chunk-
|
|
58
|
+
} from "../chunk-WOWZLCF5.js";
|
|
59
59
|
import {
|
|
60
60
|
getProjectDir as getProjectDir2,
|
|
61
61
|
getReadyTasks,
|
|
@@ -12403,7 +12403,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
12403
12403
|
var lastVersionCheckAt = 0;
|
|
12404
12404
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
12405
12405
|
var lastResponsivenessProbeAt = 0;
|
|
12406
|
-
var agtCliVersion = true ? "0.28.
|
|
12406
|
+
var agtCliVersion = true ? "0.28.687" : "dev";
|
|
12407
12407
|
function resolveBrewPath(execFileSync3) {
|
|
12408
12408
|
try {
|
|
12409
12409
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -30586,26 +30586,14 @@ function cachedSlackScheduledChannelGuardMode(path) {
|
|
|
30586
30586
|
return void 0;
|
|
30587
30587
|
}
|
|
30588
30588
|
}
|
|
30589
|
-
var SCHEDULED_CHANNEL_GUARD_ENFORCE_READY = false;
|
|
30590
|
-
var warnedEnforceClamped = false;
|
|
30591
|
-
function clampScheduledChannelGuardMode(mode) {
|
|
30592
|
-
if (mode !== "enforce" || SCHEDULED_CHANNEL_GUARD_ENFORCE_READY) return mode;
|
|
30593
|
-
if (!warnedEnforceClamped) {
|
|
30594
|
-
warnedEnforceClamped = true;
|
|
30595
|
-
process.stderr.write(
|
|
30596
|
-
"slack-channel: slack-scheduled-channel-guard=enforce requested but CLAMPED to shadow - enforce is blocked until ENG-8142 (the Stop hook treats a refused reply as a delivered one, so a blocked send would fail silently). Detection and counters still run.\n"
|
|
30597
|
-
);
|
|
30598
|
-
}
|
|
30599
|
-
return "shadow";
|
|
30600
|
-
}
|
|
30601
30589
|
function resolveSlackScheduledChannelGuardMode(opts) {
|
|
30602
30590
|
const env2 = opts?.env ?? process.env;
|
|
30603
30591
|
const modeOverride = parseSlackScheduledChannelGuardMode(
|
|
30604
30592
|
env2["AGT_SLACK_SCHEDULED_CHANNEL_GUARD_MODE"]
|
|
30605
30593
|
);
|
|
30606
|
-
if (modeOverride !== void 0) return
|
|
30594
|
+
if (modeOverride !== void 0) return modeOverride;
|
|
30607
30595
|
const cached2 = cachedSlackScheduledChannelGuardMode(opts?.cachePath ?? defaultFlagsCachePath());
|
|
30608
|
-
if (cached2 !== void 0) return
|
|
30596
|
+
if (cached2 !== void 0) return cached2;
|
|
30609
30597
|
return "shadow";
|
|
30610
30598
|
}
|
|
30611
30599
|
|
package/package.json
CHANGED
|
File without changes
|