@integrity-labs/agt-cli 0.28.270 → 0.28.272
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 +4 -4
- package/dist/{chunk-ND4BBPV5.js → chunk-5HCINBKO.js} +3 -3
- package/dist/{chunk-RH4FTCZK.js → chunk-5TL5THQE.js} +20 -1
- package/dist/{chunk-RH4FTCZK.js.map → chunk-5TL5THQE.js.map} +1 -1
- package/dist/{claude-pair-runtime-WZLKWP74.js → claude-pair-runtime-KOEEK5LD.js} +2 -2
- package/dist/lib/manager-worker.js +30 -15
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-FMFTNDJO.js → persistent-session-HOILVE3Q.js} +2 -2
- package/dist/{responsiveness-probe-FPTBS6RZ.js → responsiveness-probe-3OIDWR3T.js} +3 -3
- package/dist/responsiveness-probe-3OIDWR3T.js.map +1 -0
- package/package.json +1 -1
- package/dist/responsiveness-probe-FPTBS6RZ.js.map +0 -1
- /package/dist/{chunk-ND4BBPV5.js.map → chunk-5HCINBKO.js.map} +0 -0
- /package/dist/{claude-pair-runtime-WZLKWP74.js.map → claude-pair-runtime-KOEEK5LD.js.map} +0 -0
- /package/dist/{persistent-session-FMFTNDJO.js.map → persistent-session-HOILVE3Q.js.map} +0 -0
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-5HCINBKO.js";
|
|
42
42
|
import {
|
|
43
43
|
CHANNEL_REGISTRY,
|
|
44
44
|
DEFAULT_FRAMEWORK,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
renderTemplate,
|
|
68
68
|
resolveChannels,
|
|
69
69
|
serializeManifestForSlackCli
|
|
70
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-5TL5THQE.js";
|
|
71
71
|
import "../chunk-XWVM4KPK.js";
|
|
72
72
|
|
|
73
73
|
// src/bin/agt.ts
|
|
@@ -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.272" : "dev";
|
|
4830
4830
|
async function fetchLatestVersion() {
|
|
4831
4831
|
const host2 = getHost();
|
|
4832
4832
|
if (!host2) return null;
|
|
@@ -5840,7 +5840,7 @@ function handleError(err) {
|
|
|
5840
5840
|
}
|
|
5841
5841
|
|
|
5842
5842
|
// src/bin/agt.ts
|
|
5843
|
-
var cliVersion2 = true ? "0.28.
|
|
5843
|
+
var cliVersion2 = true ? "0.28.272" : "dev";
|
|
5844
5844
|
var program = new Command();
|
|
5845
5845
|
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");
|
|
5846
5846
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
resolveConnectivityProbe,
|
|
19
19
|
worseConnectivityOutcome,
|
|
20
20
|
wrapScheduledTaskPrompt
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5TL5THQE.js";
|
|
22
22
|
import {
|
|
23
23
|
parsePsRows
|
|
24
24
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -5880,7 +5880,7 @@ function requireHost() {
|
|
|
5880
5880
|
}
|
|
5881
5881
|
|
|
5882
5882
|
// src/lib/api-client.ts
|
|
5883
|
-
var agtCliVersion = true ? "0.28.
|
|
5883
|
+
var agtCliVersion = true ? "0.28.272" : "dev";
|
|
5884
5884
|
var lastConfigHash = null;
|
|
5885
5885
|
function setConfigHash(hash) {
|
|
5886
5886
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8157,4 +8157,4 @@ export {
|
|
|
8157
8157
|
managerInstallSystemUnitCommand,
|
|
8158
8158
|
managerUninstallSystemUnitCommand
|
|
8159
8159
|
};
|
|
8160
|
-
//# sourceMappingURL=chunk-
|
|
8160
|
+
//# sourceMappingURL=chunk-5HCINBKO.js.map
|
|
@@ -7784,6 +7784,24 @@ function isStaleForToday(codeName, now = /* @__PURE__ */ new Date(), timezone) {
|
|
|
7784
7784
|
if (!file.current) return false;
|
|
7785
7785
|
return file.current.date !== todayLocalIso(now, timezone);
|
|
7786
7786
|
}
|
|
7787
|
+
function minutesSinceLocalMidnight(now = /* @__PURE__ */ new Date(), timezone) {
|
|
7788
|
+
if (timezone) {
|
|
7789
|
+
try {
|
|
7790
|
+
const fmt = new Intl.DateTimeFormat("en-GB", {
|
|
7791
|
+
timeZone: timezone,
|
|
7792
|
+
hour: "2-digit",
|
|
7793
|
+
minute: "2-digit",
|
|
7794
|
+
hourCycle: "h23"
|
|
7795
|
+
});
|
|
7796
|
+
const parts = fmt.formatToParts(now);
|
|
7797
|
+
const hh = Number(parts.find((p) => p.type === "hour")?.value ?? "0");
|
|
7798
|
+
const mm = Number(parts.find((p) => p.type === "minute")?.value ?? "0");
|
|
7799
|
+
if (Number.isFinite(hh) && Number.isFinite(mm)) return hh * 60 + mm;
|
|
7800
|
+
} catch {
|
|
7801
|
+
}
|
|
7802
|
+
}
|
|
7803
|
+
return now.getHours() * 60 + now.getMinutes();
|
|
7804
|
+
}
|
|
7787
7805
|
function peekCurrentSession(codeName) {
|
|
7788
7806
|
return readFile(codeName).current;
|
|
7789
7807
|
}
|
|
@@ -9253,6 +9271,7 @@ export {
|
|
|
9253
9271
|
subagentActivityAgeSeconds,
|
|
9254
9272
|
isAgentIdle,
|
|
9255
9273
|
isStaleForToday,
|
|
9274
|
+
minutesSinceLocalMidnight,
|
|
9256
9275
|
peekCurrentSession,
|
|
9257
9276
|
checkChannelInputs,
|
|
9258
9277
|
takeWatchdogGiveUpCount,
|
|
@@ -9295,4 +9314,4 @@ export {
|
|
|
9295
9314
|
stopAllSessionsAndWait,
|
|
9296
9315
|
getProjectDir
|
|
9297
9316
|
};
|
|
9298
|
-
//# sourceMappingURL=chunk-
|
|
9317
|
+
//# sourceMappingURL=chunk-5TL5THQE.js.map
|