@integrity-labs/agt-cli 0.28.312 → 0.28.313
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
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
success,
|
|
39
39
|
table,
|
|
40
40
|
warn
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-57W744KO.js";
|
|
42
42
|
import {
|
|
43
43
|
CHANNEL_REGISTRY,
|
|
44
44
|
DEFAULT_FRAMEWORK,
|
|
@@ -4826,7 +4826,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4826
4826
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4827
4827
|
import chalk18 from "chalk";
|
|
4828
4828
|
import ora16 from "ora";
|
|
4829
|
-
var cliVersion = true ? "0.28.
|
|
4829
|
+
var cliVersion = true ? "0.28.313" : "dev";
|
|
4830
4830
|
async function fetchLatestVersion() {
|
|
4831
4831
|
const host2 = getHost();
|
|
4832
4832
|
if (!host2) return null;
|
|
@@ -5843,7 +5843,7 @@ function handleError(err) {
|
|
|
5843
5843
|
}
|
|
5844
5844
|
|
|
5845
5845
|
// src/bin/agt.ts
|
|
5846
|
-
var cliVersion2 = true ? "0.28.
|
|
5846
|
+
var cliVersion2 = true ? "0.28.313" : "dev";
|
|
5847
5847
|
var program = new Command();
|
|
5848
5848
|
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");
|
|
5849
5849
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -5900,7 +5900,7 @@ function requireHost() {
|
|
|
5900
5900
|
}
|
|
5901
5901
|
|
|
5902
5902
|
// src/lib/api-client.ts
|
|
5903
|
-
var agtCliVersion = true ? "0.28.
|
|
5903
|
+
var agtCliVersion = true ? "0.28.313" : "dev";
|
|
5904
5904
|
var lastConfigHash = null;
|
|
5905
5905
|
function setConfigHash(hash) {
|
|
5906
5906
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8199,4 +8199,4 @@ export {
|
|
|
8199
8199
|
managerInstallSystemUnitCommand,
|
|
8200
8200
|
managerUninstallSystemUnitCommand
|
|
8201
8201
|
};
|
|
8202
|
-
//# sourceMappingURL=chunk-
|
|
8202
|
+
//# sourceMappingURL=chunk-57W744KO.js.map
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
requireHost,
|
|
40
40
|
safeWriteJsonAtomic,
|
|
41
41
|
setConfigHash
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-57W744KO.js";
|
|
43
43
|
import {
|
|
44
44
|
getProjectDir as getProjectDir2,
|
|
45
45
|
getReadyTasks,
|
|
@@ -6997,7 +6997,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
6997
6997
|
var lastVersionCheckAt = 0;
|
|
6998
6998
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
6999
6999
|
var lastResponsivenessProbeAt = 0;
|
|
7000
|
-
var agtCliVersion = true ? "0.28.
|
|
7000
|
+
var agtCliVersion = true ? "0.28.313" : "dev";
|
|
7001
7001
|
function resolveBrewPath(execFileSync2) {
|
|
7002
7002
|
try {
|
|
7003
7003
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -14854,6 +14854,9 @@ function decideRecoveryHeal(i) {
|
|
|
14854
14854
|
var SLACK_UNDELIVERABLE_REACTION = "hourglass_flowing_sand";
|
|
14855
14855
|
var SLACK_UNDELIVERABLE_REACTION_LEGACY = "x";
|
|
14856
14856
|
var UNDELIVERABLE_NOTICE_THROTTLE_MS = 5 * 60 * 1e3;
|
|
14857
|
+
function undeliverableNoticeEligible(shouldEngage) {
|
|
14858
|
+
return shouldEngage;
|
|
14859
|
+
}
|
|
14857
14860
|
function shouldPostUndeliverableNotice(lastNoticeAtMs, nowMs, throttleMs = UNDELIVERABLE_NOTICE_THROTTLE_MS) {
|
|
14858
14861
|
return lastNoticeAtMs == null || nowMs - lastNoticeAtMs >= throttleMs;
|
|
14859
14862
|
}
|
|
@@ -22686,7 +22689,7 @@ async function connectSocketMode() {
|
|
|
22686
22689
|
body: JSON.stringify({ channel, timestamp: ts, name: reactionName })
|
|
22687
22690
|
}).catch(() => {
|
|
22688
22691
|
});
|
|
22689
|
-
if (ackDecision === "undeliverable" && channel &&
|
|
22692
|
+
if (ackDecision === "undeliverable" && channel && undeliverableNoticeEligible(shouldEngage)) {
|
|
22690
22693
|
postUndeliverableNotice(channel, threadTs, isThreadReply);
|
|
22691
22694
|
}
|
|
22692
22695
|
}
|
package/package.json
CHANGED
|
File without changes
|