@integrity-labs/agt-cli 0.28.383 → 0.28.385
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-Q433LFRY.js → chunk-MQHDPJZD.js} +1 -1
- package/dist/{chunk-RBXCFAWL.js → chunk-P3SY6KTF.js} +15 -7
- package/dist/{chunk-RBXCFAWL.js.map → chunk-P3SY6KTF.js.map} +1 -1
- package/dist/{claude-pair-runtime-PERAQ2PL.js → claude-pair-runtime-OIK6HKPS.js} +2 -2
- package/dist/lib/manager-worker.js +93 -110
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-4LAOXUQD.js → persistent-session-MDQVHXKX.js} +2 -2
- package/dist/{responsiveness-probe-XLANB346.js → responsiveness-probe-CG7XM7GL.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-Q433LFRY.js.map → chunk-MQHDPJZD.js.map} +0 -0
- /package/dist/{claude-pair-runtime-PERAQ2PL.js.map → claude-pair-runtime-OIK6HKPS.js.map} +0 -0
- /package/dist/{persistent-session-4LAOXUQD.js.map → persistent-session-MDQVHXKX.js.map} +0 -0
- /package/dist/{responsiveness-probe-XLANB346.js.map → responsiveness-probe-CG7XM7GL.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-P3SY6KTF.js";
|
|
44
44
|
import {
|
|
45
45
|
AnchorSessionClient,
|
|
46
46
|
CHANNEL_REGISTRY,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
renderTemplate,
|
|
71
71
|
resolveChannels,
|
|
72
72
|
serializeManifestForSlackCli
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-MQHDPJZD.js";
|
|
74
74
|
import "../chunk-XWVM4KPK.js";
|
|
75
75
|
|
|
76
76
|
// src/bin/agt.ts
|
|
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4829
4829
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4830
4830
|
import chalk18 from "chalk";
|
|
4831
4831
|
import ora16 from "ora";
|
|
4832
|
-
var cliVersion = true ? "0.28.
|
|
4832
|
+
var cliVersion = true ? "0.28.385" : "dev";
|
|
4833
4833
|
async function fetchLatestVersion() {
|
|
4834
4834
|
const host2 = getHost();
|
|
4835
4835
|
if (!host2) return null;
|
|
@@ -6001,7 +6001,7 @@ function handleError(err) {
|
|
|
6001
6001
|
}
|
|
6002
6002
|
|
|
6003
6003
|
// src/bin/agt.ts
|
|
6004
|
-
var cliVersion2 = true ? "0.28.
|
|
6004
|
+
var cliVersion2 = true ? "0.28.385" : "dev";
|
|
6005
6005
|
var program = new Command();
|
|
6006
6006
|
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");
|
|
6007
6007
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -12159,4 +12159,4 @@ export {
|
|
|
12159
12159
|
stopAllSessionsAndWait,
|
|
12160
12160
|
getProjectDir
|
|
12161
12161
|
};
|
|
12162
|
-
//# sourceMappingURL=chunk-
|
|
12162
|
+
//# sourceMappingURL=chunk-MQHDPJZD.js.map
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
resolveConnectivityProbe,
|
|
26
26
|
worseConnectivityOutcome,
|
|
27
27
|
wrapScheduledTaskPrompt
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MQHDPJZD.js";
|
|
29
29
|
import {
|
|
30
30
|
parsePsRows
|
|
31
31
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -6184,7 +6184,7 @@ function requireHost() {
|
|
|
6184
6184
|
}
|
|
6185
6185
|
|
|
6186
6186
|
// src/lib/api-client.ts
|
|
6187
|
-
var agtCliVersion = true ? "0.28.
|
|
6187
|
+
var agtCliVersion = true ? "0.28.385" : "dev";
|
|
6188
6188
|
var lastConfigHash = null;
|
|
6189
6189
|
function setConfigHash(hash) {
|
|
6190
6190
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -7030,7 +7030,11 @@ function reapMissingMcpSessions(args) {
|
|
|
7030
7030
|
quarantineDwellMs = 0,
|
|
7031
7031
|
quarantineMode = "off",
|
|
7032
7032
|
onQuarantine,
|
|
7033
|
-
isolated = false
|
|
7033
|
+
isolated = false,
|
|
7034
|
+
// ENG-8013: default false → a "no live child" observation is only excluded
|
|
7035
|
+
// from the give-up/quarantine budget when the caller positively identifies
|
|
7036
|
+
// the current generation as externally-churned. Legacy callers/tests unchanged.
|
|
7037
|
+
currentGenerationExternallyStarted = false
|
|
7034
7038
|
} = args;
|
|
7035
7039
|
const now = args.now ?? Date.now;
|
|
7036
7040
|
const runPs = args.runPs ?? (isolated ? () => execFileSync2("docker", ["exec", `agt-${codeName}`, "ps", "-eo", "pid,ppid,args"], {
|
|
@@ -7127,12 +7131,16 @@ function reapMissingMcpSessions(args) {
|
|
|
7127
7131
|
stableLiveSince: null,
|
|
7128
7132
|
gaveUp: false
|
|
7129
7133
|
};
|
|
7130
|
-
if (state.firstMissingAt === null
|
|
7134
|
+
if (state.firstMissingAt === null || currentGenerationExternallyStarted) {
|
|
7135
|
+
state.firstMissingAt = nowMs;
|
|
7136
|
+
}
|
|
7131
7137
|
state.stableLiveSince = null;
|
|
7132
7138
|
if (state.lastAttemptedSessionStartedAt !== sessionStartedAt) {
|
|
7133
|
-
state.attempts += 1;
|
|
7134
7139
|
state.lastAttemptedSessionStartedAt = sessionStartedAt;
|
|
7135
|
-
|
|
7140
|
+
if (!currentGenerationExternallyStarted) {
|
|
7141
|
+
state.attempts += 1;
|
|
7142
|
+
newGenerationKeys.add(key);
|
|
7143
|
+
}
|
|
7136
7144
|
}
|
|
7137
7145
|
state.restartHistory = state.restartHistory.filter((t) => nowMs - t < BACKOFF_WINDOW_MS);
|
|
7138
7146
|
const restartsInWindow = state.restartHistory.length;
|
|
@@ -8630,4 +8638,4 @@ export {
|
|
|
8630
8638
|
managerInstallSystemUnitCommand,
|
|
8631
8639
|
managerUninstallSystemUnitCommand
|
|
8632
8640
|
};
|
|
8633
|
-
//# sourceMappingURL=chunk-
|
|
8641
|
+
//# sourceMappingURL=chunk-P3SY6KTF.js.map
|