@integrity-labs/agt-cli 0.27.168 → 0.27.170
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 -257
- package/dist/bin/agt.js.map +1 -1
- package/dist/{chunk-5TBIEU36.js → chunk-BMQQ63W2.js} +2 -177
- package/dist/chunk-BMQQ63W2.js.map +1 -0
- package/dist/{chunk-ZQGQVROS.js → chunk-U6LHLWWG.js} +50 -35
- package/dist/chunk-U6LHLWWG.js.map +1 -0
- package/dist/{chunk-3A2H4ZLD.js → chunk-YX35EONG.js} +63 -14
- package/dist/chunk-YX35EONG.js.map +1 -0
- package/dist/{claude-pair-runtime-ZEFIYDUH.js → claude-pair-runtime-IDCPU7YT.js} +2 -2
- package/dist/lib/manager-worker.js +10 -17
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-7BLPRGWR.js → persistent-session-YQTDRXSB.js} +3 -7
- package/dist/{responsiveness-probe-7NDEHXXZ.js → responsiveness-probe-IGQQFMSC.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-3A2H4ZLD.js.map +0 -1
- package/dist/chunk-5TBIEU36.js.map +0 -1
- package/dist/chunk-ZQGQVROS.js.map +0 -1
- /package/dist/{claude-pair-runtime-ZEFIYDUH.js.map → claude-pair-runtime-IDCPU7YT.js.map} +0 -0
- /package/dist/{persistent-session-7BLPRGWR.js.map → persistent-session-YQTDRXSB.js.map} +0 -0
- /package/dist/{responsiveness-probe-7NDEHXXZ.js.map → responsiveness-probe-IGQQFMSC.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-YQTDRXSB.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-IDCPU7YT.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
provisionStopHook,
|
|
23
23
|
requireHost,
|
|
24
24
|
safeWriteJsonAtomic
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-U6LHLWWG.js";
|
|
26
26
|
import {
|
|
27
27
|
getProjectDir as getProjectDir2,
|
|
28
28
|
getReadyTasks,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
takeWatchdogGiveUpCount,
|
|
65
65
|
takeZombieDetection,
|
|
66
66
|
transcriptActivityAgeSeconds
|
|
67
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-BMQQ63W2.js";
|
|
68
68
|
import {
|
|
69
69
|
FLAGS_SCHEMA_VERSION,
|
|
70
70
|
KANBAN_CHECK_COMMAND,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
sumTranscriptUsageInWindow,
|
|
97
97
|
worseConnectivityOutcome,
|
|
98
98
|
wrapScheduledTaskPrompt
|
|
99
|
-
} from "../chunk-
|
|
99
|
+
} from "../chunk-YX35EONG.js";
|
|
100
100
|
import {
|
|
101
101
|
parsePsRows,
|
|
102
102
|
reapOrphanChannelMcps
|
|
@@ -5041,7 +5041,7 @@ var cachedMaintenanceWindow = null;
|
|
|
5041
5041
|
var lastVersionCheckAt = 0;
|
|
5042
5042
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
5043
5043
|
var lastResponsivenessProbeAt = 0;
|
|
5044
|
-
var agtCliVersion = true ? "0.27.
|
|
5044
|
+
var agtCliVersion = true ? "0.27.170" : "dev";
|
|
5045
5045
|
function resolveBrewPath(execFileSync4) {
|
|
5046
5046
|
try {
|
|
5047
5047
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -6244,7 +6244,7 @@ async function pollCycle() {
|
|
|
6244
6244
|
}
|
|
6245
6245
|
try {
|
|
6246
6246
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
6247
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
6247
|
+
const { collectDiagnostics } = await import("../persistent-session-YQTDRXSB.js");
|
|
6248
6248
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
6249
6249
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
6250
6250
|
let tailscaleHostname;
|
|
@@ -6338,30 +6338,23 @@ async function pollCycle() {
|
|
|
6338
6338
|
const {
|
|
6339
6339
|
collectResponsivenessProbes,
|
|
6340
6340
|
getResponsivenessIntervalMs
|
|
6341
|
-
} = await import("../responsiveness-probe-
|
|
6341
|
+
} = await import("../responsiveness-probe-IGQQFMSC.js");
|
|
6342
6342
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
6343
6343
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
6344
6344
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
6345
6345
|
if (probeCodeNames.length > 0) {
|
|
6346
|
-
const { takeAcpxExecFailureCount, creditAcpxExecFailureCount } = await import("../persistent-session-7BLPRGWR.js");
|
|
6347
6346
|
const drainedGiveUps = /* @__PURE__ */ new Map();
|
|
6348
|
-
const drainedAcpxFailures = /* @__PURE__ */ new Map();
|
|
6349
6347
|
const probes = collectResponsivenessProbes(probeCodeNames).map((p) => {
|
|
6350
6348
|
const giveUps = takeWatchdogGiveUpCount(p.code_name);
|
|
6351
6349
|
if (giveUps > 0) drainedGiveUps.set(p.code_name, giveUps);
|
|
6352
|
-
|
|
6353
|
-
if (acpxFailures > 0) drainedAcpxFailures.set(p.code_name, acpxFailures);
|
|
6354
|
-
return { ...p, input_stuck_give_ups: giveUps, acpx_exec_failures: acpxFailures };
|
|
6350
|
+
return { ...p, input_stuck_give_ups: giveUps };
|
|
6355
6351
|
});
|
|
6356
6352
|
if (probes.length > 0) {
|
|
6357
6353
|
void api.post("/host/responsiveness-probe", { host_id: hostId, probes }).catch((err) => {
|
|
6358
6354
|
for (const [codeName, count] of drainedGiveUps) {
|
|
6359
6355
|
creditWatchdogGiveUpCount(codeName, count);
|
|
6360
6356
|
}
|
|
6361
|
-
|
|
6362
|
-
creditAcpxExecFailureCount(codeName, count);
|
|
6363
|
-
}
|
|
6364
|
-
log(`[responsiveness-probe] post failed (give-up + acpx-failure counts re-credited): ${err.message}`);
|
|
6357
|
+
log(`[responsiveness-probe] post failed (give-up counts re-credited): ${err.message}`);
|
|
6365
6358
|
});
|
|
6366
6359
|
}
|
|
6367
6360
|
}
|
|
@@ -6377,7 +6370,7 @@ async function pollCycle() {
|
|
|
6377
6370
|
collectResponsivenessProbes,
|
|
6378
6371
|
livePendingInboundOldestAgeSeconds,
|
|
6379
6372
|
parkPendingInbound
|
|
6380
|
-
} = await import("../responsiveness-probe-
|
|
6373
|
+
} = await import("../responsiveness-probe-IGQQFMSC.js");
|
|
6381
6374
|
const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
|
|
6382
6375
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
6383
6376
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -10973,7 +10966,7 @@ async function processClaudePairSessions(agents) {
|
|
|
10973
10966
|
killPairSession,
|
|
10974
10967
|
pairTmuxSession,
|
|
10975
10968
|
finalizeClaudePairOnboarding
|
|
10976
|
-
} = await import("../claude-pair-runtime-
|
|
10969
|
+
} = await import("../claude-pair-runtime-IDCPU7YT.js");
|
|
10977
10970
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
10978
10971
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
10979
10972
|
const killed = await killPairSession(pairTmuxSession(pairId));
|