@integrity-labs/agt-cli 0.28.592 → 0.28.594
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-ZILMYD5B.js → chunk-74UJCPIS.js} +13 -3
- package/dist/chunk-74UJCPIS.js.map +1 -0
- package/dist/{chunk-NRP5FPSD.js → chunk-U7DHWGAZ.js} +69 -6
- package/dist/{chunk-NRP5FPSD.js.map → chunk-U7DHWGAZ.js.map} +1 -1
- package/dist/{claude-pair-runtime-UKXF7UJ6.js → claude-pair-runtime-CGVDKWFC.js} +2 -2
- package/dist/lib/manager-worker.js +261 -118
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-ISHB2ACR.js → persistent-session-YRCF7AAC.js} +2 -2
- package/dist/{responsiveness-probe-HXYUPTA7.js → responsiveness-probe-MFWXIRTJ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-ZILMYD5B.js.map +0 -1
- /package/dist/{claude-pair-runtime-UKXF7UJ6.js.map → claude-pair-runtime-CGVDKWFC.js.map} +0 -0
- /package/dist/{persistent-session-ISHB2ACR.js.map → persistent-session-YRCF7AAC.js.map} +0 -0
- /package/dist/{responsiveness-probe-HXYUPTA7.js.map → responsiveness-probe-MFWXIRTJ.js.map} +0 -0
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-U7DHWGAZ.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
requiredMcpWildcard,
|
|
72
72
|
resolveChannels,
|
|
73
73
|
serializeManifestForSlackCli
|
|
74
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-74UJCPIS.js";
|
|
75
75
|
import "../chunk-XWVM4KPK.js";
|
|
76
76
|
|
|
77
77
|
// src/bin/agt.ts
|
|
@@ -4908,7 +4908,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4908
4908
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4909
4909
|
import chalk18 from "chalk";
|
|
4910
4910
|
import ora16 from "ora";
|
|
4911
|
-
var cliVersion = true ? "0.28.
|
|
4911
|
+
var cliVersion = true ? "0.28.594" : "dev";
|
|
4912
4912
|
async function fetchLatestVersion() {
|
|
4913
4913
|
const host2 = getHost();
|
|
4914
4914
|
if (!host2) return null;
|
|
@@ -6088,7 +6088,7 @@ function handleError(err) {
|
|
|
6088
6088
|
}
|
|
6089
6089
|
|
|
6090
6090
|
// src/bin/agt.ts
|
|
6091
|
-
var cliVersion2 = true ? "0.28.
|
|
6091
|
+
var cliVersion2 = true ? "0.28.594" : "dev";
|
|
6092
6092
|
var program = new Command();
|
|
6093
6093
|
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");
|
|
6094
6094
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -15777,10 +15777,11 @@ function resetRestartCount(codeName) {
|
|
|
15777
15777
|
const session = sessions2.get(codeName);
|
|
15778
15778
|
if (session) session.restartCount = 0;
|
|
15779
15779
|
}
|
|
15780
|
-
function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeFor) {
|
|
15780
|
+
function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeFor, pidPressureFor) {
|
|
15781
15781
|
return codeNames.map((codeName) => {
|
|
15782
15782
|
const quarantinedChannels = quarantineEntriesFor?.(codeName) ?? [];
|
|
15783
15783
|
const spawnOutcome = spawnOutcomeFor?.(codeName);
|
|
15784
|
+
const pidPressure = pidPressureFor?.(codeName) ?? null;
|
|
15784
15785
|
const oc = getOpencodeSessionState(codeName);
|
|
15785
15786
|
if (oc) {
|
|
15786
15787
|
const serveAlive = isOpencodeSessionHealthy(codeName);
|
|
@@ -15808,6 +15809,14 @@ function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, sp
|
|
|
15808
15809
|
// nothing to measure and nothing to alarm on — explicit null (no
|
|
15809
15810
|
// signal) rather than whatever a stale file might happen to contain.
|
|
15810
15811
|
claudeMd: null,
|
|
15812
|
+
// ENG-8876: carried on BOTH return paths, not hardcoded null here.
|
|
15813
|
+
// Whether an opencode agent is containerised under the same
|
|
15814
|
+
// `agt-<code>` name is not something this function should assume — if
|
|
15815
|
+
// it is, the signal works for free; if it is not, `docker inspect`
|
|
15816
|
+
// fails and the accessor already returns null. Guessing "null because
|
|
15817
|
+
// opencode" would bake in an answer that goes stale the day the
|
|
15818
|
+
// opencode path gets its own container.
|
|
15819
|
+
pidPressure,
|
|
15811
15820
|
...turn ? {
|
|
15812
15821
|
turnHealth: {
|
|
15813
15822
|
lastOutcome: turn.lastOutcome,
|
|
@@ -15883,7 +15892,8 @@ function collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, sp
|
|
|
15883
15892
|
// return paths carry it; a field on only one is the divergence class
|
|
15884
15893
|
// this card is about.
|
|
15885
15894
|
spawnOutcome,
|
|
15886
|
-
claudeMd
|
|
15895
|
+
claudeMd,
|
|
15896
|
+
pidPressure
|
|
15887
15897
|
};
|
|
15888
15898
|
});
|
|
15889
15899
|
}
|
|
@@ -16118,4 +16128,4 @@ export {
|
|
|
16118
16128
|
stopAllSessionsAndWait,
|
|
16119
16129
|
getProjectDir
|
|
16120
16130
|
};
|
|
16121
|
-
//# sourceMappingURL=chunk-
|
|
16131
|
+
//# sourceMappingURL=chunk-74UJCPIS.js.map
|