@integrity-labs/agt-cli 0.28.400 → 0.28.402
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-MZ7EU4V7.js → chunk-CVID4T6Q.js} +79 -65
- package/dist/{chunk-MZ7EU4V7.js.map → chunk-CVID4T6Q.js.map} +1 -1
- package/dist/{chunk-4LZBDTFJ.js → chunk-V5CRVBVC.js} +12 -2
- package/dist/{chunk-4LZBDTFJ.js.map → chunk-V5CRVBVC.js.map} +1 -1
- package/dist/{claude-pair-runtime-XUI3TOGS.js → claude-pair-runtime-HDSV7CKE.js} +2 -2
- package/dist/lib/manager-worker.js +17 -12
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-34CDP2I3.js → persistent-session-GRCJPRH5.js} +2 -2
- package/dist/{responsiveness-probe-T7WBF4FX.js → responsiveness-probe-DNM5APN5.js} +2 -2
- package/package.json +1 -1
- /package/dist/{claude-pair-runtime-XUI3TOGS.js.map → claude-pair-runtime-HDSV7CKE.js.map} +0 -0
- /package/dist/{persistent-session-34CDP2I3.js.map → persistent-session-GRCJPRH5.js.map} +0 -0
- /package/dist/{responsiveness-probe-T7WBF4FX.js.map → responsiveness-probe-DNM5APN5.js.map} +0 -0
|
@@ -100,7 +100,7 @@ async function spawnPairSession(session) {
|
|
|
100
100
|
return { ok: true };
|
|
101
101
|
} catch {
|
|
102
102
|
}
|
|
103
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
103
|
+
const { resolveClaudeBinary } = await import("./persistent-session-GRCJPRH5.js");
|
|
104
104
|
const claudeBin = resolveClaudeBinary();
|
|
105
105
|
const pairEnv = {
|
|
106
106
|
...process.env,
|
|
@@ -373,4 +373,4 @@ export {
|
|
|
373
373
|
startClaudePair,
|
|
374
374
|
submitClaudePairCode
|
|
375
375
|
};
|
|
376
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
376
|
+
//# sourceMappingURL=claude-pair-runtime-HDSV7CKE.js.map
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
resolveEffectivePinRaw,
|
|
45
45
|
safeWriteJsonAtomic,
|
|
46
46
|
setConfigHash
|
|
47
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-CVID4T6Q.js";
|
|
48
48
|
import {
|
|
49
49
|
getProjectDir as getProjectDir2,
|
|
50
50
|
getReadyTasks,
|
|
@@ -146,7 +146,7 @@ import {
|
|
|
146
146
|
toOpencodeModel,
|
|
147
147
|
transcriptActivityAgeSeconds,
|
|
148
148
|
writeEgressAllowlist
|
|
149
|
-
} from "../chunk-
|
|
149
|
+
} from "../chunk-V5CRVBVC.js";
|
|
150
150
|
import {
|
|
151
151
|
reapOrphanChannelMcps
|
|
152
152
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -1372,7 +1372,8 @@ async function runConnectivityProbes(integrations, options = {}) {
|
|
|
1372
1372
|
credentials: integ.credentials ?? {},
|
|
1373
1373
|
cliBinary: integ.cli_binary,
|
|
1374
1374
|
mcpServerKey: integ.mcp_server_key,
|
|
1375
|
-
connectivityTest: integ.connectivity_test ?? null
|
|
1375
|
+
connectivityTest: integ.connectivity_test ?? null,
|
|
1376
|
+
inlineServerEntry: integ.inline_server_entry
|
|
1376
1377
|
};
|
|
1377
1378
|
let outcome;
|
|
1378
1379
|
try {
|
|
@@ -8968,7 +8969,11 @@ async function runAgentConnectivityProbes(agent, integrations, projectDir) {
|
|
|
8968
8969
|
connectionKey: i.connection_key ?? null
|
|
8969
8970
|
}),
|
|
8970
8971
|
// ENG-6242: forward the prescribed connectivity-test tool to the executor.
|
|
8971
|
-
connectivity_test: i.connectivity_test ?? null
|
|
8972
|
+
connectivity_test: i.connectivity_test ?? null,
|
|
8973
|
+
// ENG-8055: forward the reconstructed inline server entry (managed
|
|
8974
|
+
// quarantined rows) so the MCP probe legs hit the real server instead of
|
|
8975
|
+
// the missing `.mcp.json` key. Absent on normal (active) rows.
|
|
8976
|
+
inline_server_entry: i.inline_server_entry
|
|
8972
8977
|
};
|
|
8973
8978
|
}),
|
|
8974
8979
|
{ probeDeps, intervalMs: intervalSec * 1e3 }
|
|
@@ -9249,7 +9254,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
9249
9254
|
var lastVersionCheckAt = 0;
|
|
9250
9255
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
9251
9256
|
var lastResponsivenessProbeAt = 0;
|
|
9252
|
-
var agtCliVersion = true ? "0.28.
|
|
9257
|
+
var agtCliVersion = true ? "0.28.402" : "dev";
|
|
9253
9258
|
function resolveBrewPath(execFileSync2) {
|
|
9254
9259
|
try {
|
|
9255
9260
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -10381,7 +10386,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
10381
10386
|
if (codeNames.length === 0) return;
|
|
10382
10387
|
void (async () => {
|
|
10383
10388
|
try {
|
|
10384
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10389
|
+
const { collectDiagnostics } = await import("../persistent-session-GRCJPRH5.js");
|
|
10385
10390
|
await api.post("/host/heartbeat", {
|
|
10386
10391
|
host_id: hostId,
|
|
10387
10392
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor)
|
|
@@ -10480,7 +10485,7 @@ async function pollCycle() {
|
|
|
10480
10485
|
}
|
|
10481
10486
|
try {
|
|
10482
10487
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
10483
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10488
|
+
const { collectDiagnostics } = await import("../persistent-session-GRCJPRH5.js");
|
|
10484
10489
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
10485
10490
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor) : void 0;
|
|
10486
10491
|
let tailscaleHostname;
|
|
@@ -10635,7 +10640,7 @@ async function pollCycle() {
|
|
|
10635
10640
|
const {
|
|
10636
10641
|
collectResponsivenessProbes,
|
|
10637
10642
|
getResponsivenessIntervalMs
|
|
10638
|
-
} = await import("../responsiveness-probe-
|
|
10643
|
+
} = await import("../responsiveness-probe-DNM5APN5.js");
|
|
10639
10644
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
10640
10645
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
10641
10646
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -10667,7 +10672,7 @@ async function pollCycle() {
|
|
|
10667
10672
|
collectResponsivenessProbes,
|
|
10668
10673
|
livePendingInboundOldestAgeSeconds,
|
|
10669
10674
|
parkPendingInbound
|
|
10670
|
-
} = await import("../responsiveness-probe-
|
|
10675
|
+
} = await import("../responsiveness-probe-DNM5APN5.js");
|
|
10671
10676
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-HYOOQV4A.js");
|
|
10672
10677
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
10673
10678
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -13927,7 +13932,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
13927
13932
|
void api.post("/host/restart-ack", { host_id: hostId, agent_id: agentId, restart_requested_at: requestedAt }).catch((err) => log(`[restart-lane] ack failed for '${codeName}': ${err.message}`));
|
|
13928
13933
|
void (async () => {
|
|
13929
13934
|
try {
|
|
13930
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13935
|
+
const { collectDiagnostics } = await import("../persistent-session-GRCJPRH5.js");
|
|
13931
13936
|
await api.post("/host/heartbeat", {
|
|
13932
13937
|
host_id: hostId,
|
|
13933
13938
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor)
|
|
@@ -13977,7 +13982,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
13977
13982
|
}
|
|
13978
13983
|
try {
|
|
13979
13984
|
const hostId = await getHostId();
|
|
13980
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13985
|
+
const { collectDiagnostics } = await import("../persistent-session-GRCJPRH5.js");
|
|
13981
13986
|
await api.post("/host/heartbeat", {
|
|
13982
13987
|
host_id: hostId,
|
|
13983
13988
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor)
|
|
@@ -14430,7 +14435,7 @@ async function processClaudePairSessions(agents) {
|
|
|
14430
14435
|
killPairSession,
|
|
14431
14436
|
pairTmuxSession,
|
|
14432
14437
|
finalizeClaudePairOnboarding
|
|
14433
|
-
} = await import("../claude-pair-runtime-
|
|
14438
|
+
} = await import("../claude-pair-runtime-HDSV7CKE.js");
|
|
14434
14439
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
14435
14440
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
14436
14441
|
const killed = await killPairSession(pairTmuxSession(pairId));
|