@integrity-labs/agt-cli 0.28.710 → 0.28.711
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-FDI4N2HO.js → chunk-5THDUAGT.js} +3 -3
- package/dist/{chunk-SR2HUGEA.js → chunk-F6AZ6KPI.js} +2 -1
- package/dist/chunk-F6AZ6KPI.js.map +1 -0
- package/dist/{claude-pair-runtime-DWM6RNTP.js → claude-pair-runtime-WW55WS2Q.js} +2 -2
- package/dist/lib/manager-worker.js +12 -11
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-IMWW6DLZ.js → persistent-session-XLYRD2CU.js} +2 -2
- package/dist/{responsiveness-probe-34KFMMAC.js → responsiveness-probe-QDNULLSM.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-SR2HUGEA.js.map +0 -1
- /package/dist/{chunk-FDI4N2HO.js.map → chunk-5THDUAGT.js.map} +0 -0
- /package/dist/{claude-pair-runtime-DWM6RNTP.js.map → claude-pair-runtime-WW55WS2Q.js.map} +0 -0
- /package/dist/{persistent-session-IMWW6DLZ.js.map → persistent-session-XLYRD2CU.js.map} +0 -0
- /package/dist/{responsiveness-probe-34KFMMAC.js.map → responsiveness-probe-QDNULLSM.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-XLYRD2CU.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-WW55WS2Q.js.map
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
safeWriteJsonAtomic,
|
|
55
55
|
setConfigHash,
|
|
56
56
|
tripClass
|
|
57
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-5THDUAGT.js";
|
|
58
58
|
import {
|
|
59
59
|
getProjectDir as getProjectDir2,
|
|
60
60
|
getReadyTasks,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
takeZombieDetection,
|
|
113
113
|
toOpencodeModel,
|
|
114
114
|
writeEgressAllowlist
|
|
115
|
-
} from "../chunk-
|
|
115
|
+
} from "../chunk-F6AZ6KPI.js";
|
|
116
116
|
import {
|
|
117
117
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
118
118
|
AnchorSessionClient,
|
|
@@ -12178,7 +12178,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
12178
12178
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
12179
12179
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
12180
12180
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
12181
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
12181
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-QDNULLSM.js");
|
|
12182
12182
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
12183
12183
|
if (newest === null) return null;
|
|
12184
12184
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -12826,7 +12826,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
12826
12826
|
var lastVersionCheckAt = 0;
|
|
12827
12827
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
12828
12828
|
var lastResponsivenessProbeAt = 0;
|
|
12829
|
-
var agtCliVersion = true ? "0.28.
|
|
12829
|
+
var agtCliVersion = true ? "0.28.711" : "dev";
|
|
12830
12830
|
function resolveBrewPath(execFileSync3) {
|
|
12831
12831
|
try {
|
|
12832
12832
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -14353,7 +14353,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
14353
14353
|
if (codeNames.length === 0) return;
|
|
14354
14354
|
void (async () => {
|
|
14355
14355
|
try {
|
|
14356
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14356
|
+
const { collectDiagnostics } = await import("../persistent-session-XLYRD2CU.js");
|
|
14357
14357
|
await api.post("/host/heartbeat", {
|
|
14358
14358
|
host_id: hostId,
|
|
14359
14359
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -14471,7 +14471,7 @@ async function pollCycleInner() {
|
|
|
14471
14471
|
}
|
|
14472
14472
|
try {
|
|
14473
14473
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
14474
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14474
|
+
const { collectDiagnostics } = await import("../persistent-session-XLYRD2CU.js");
|
|
14475
14475
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
14476
14476
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
14477
14477
|
let tailscaleHostname;
|
|
@@ -14640,7 +14640,7 @@ async function pollCycleInner() {
|
|
|
14640
14640
|
collectPanelessActivityProbes,
|
|
14641
14641
|
getResponsivenessIntervalMs,
|
|
14642
14642
|
occupancyQualificationClassifications
|
|
14643
|
-
} = await import("../responsiveness-probe-
|
|
14643
|
+
} = await import("../responsiveness-probe-QDNULLSM.js");
|
|
14644
14644
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
14645
14645
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
14646
14646
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -14750,7 +14750,7 @@ async function pollCycleInner() {
|
|
|
14750
14750
|
collectResponsivenessProbes,
|
|
14751
14751
|
livePendingInboundOldestAgeSeconds,
|
|
14752
14752
|
parkPendingInbound
|
|
14753
|
-
} = await import("../responsiveness-probe-
|
|
14753
|
+
} = await import("../responsiveness-probe-QDNULLSM.js");
|
|
14754
14754
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
14755
14755
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
14756
14756
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -18708,7 +18708,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
18708
18708
|
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}`));
|
|
18709
18709
|
void (async () => {
|
|
18710
18710
|
try {
|
|
18711
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
18711
|
+
const { collectDiagnostics } = await import("../persistent-session-XLYRD2CU.js");
|
|
18712
18712
|
await api.post("/host/heartbeat", {
|
|
18713
18713
|
host_id: hostId,
|
|
18714
18714
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -18759,7 +18759,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
18759
18759
|
}
|
|
18760
18760
|
try {
|
|
18761
18761
|
const hostId = await getHostId();
|
|
18762
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
18762
|
+
const { collectDiagnostics } = await import("../persistent-session-XLYRD2CU.js");
|
|
18763
18763
|
await api.post("/host/heartbeat", {
|
|
18764
18764
|
host_id: hostId,
|
|
18765
18765
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -19391,7 +19391,7 @@ async function processClaudePairSessions(agents) {
|
|
|
19391
19391
|
killPairSession,
|
|
19392
19392
|
pairTmuxSession,
|
|
19393
19393
|
finalizeClaudePairOnboarding
|
|
19394
|
-
} = await import("../claude-pair-runtime-
|
|
19394
|
+
} = await import("../claude-pair-runtime-WW55WS2Q.js");
|
|
19395
19395
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
19396
19396
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
19397
19397
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -20232,6 +20232,7 @@ async function stopPolling(opts = {}) {
|
|
|
20232
20232
|
}
|
|
20233
20233
|
function startManager(opts) {
|
|
20234
20234
|
log(`[startup] begin (pid=${process.pid}, node=${process.version}, interval=${opts.intervalMs}ms)`);
|
|
20235
|
+
process.env["DISABLE_AUTOUPDATER"] = "1";
|
|
20235
20236
|
config = opts;
|
|
20236
20237
|
try {
|
|
20237
20238
|
const stateFile = getStateFile();
|