@integrity-labs/agt-cli 0.28.1028 → 0.28.1029
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-EMSM4BRU.js → chunk-4KX6ZCA2.js} +3 -3
- package/dist/{chunk-SGX577WT.js → chunk-7LBSHOJ7.js} +7 -1
- package/dist/chunk-7LBSHOJ7.js.map +1 -0
- package/dist/{claude-pair-runtime-VUTIGBWZ.js → claude-pair-runtime-A4JF2ZGD.js} +2 -2
- package/dist/lib/manager-worker.js +12 -12
- package/dist/{persistent-session-GLBUMVU3.js → persistent-session-U2DXYFIU.js} +2 -2
- package/dist/{responsiveness-probe-IYDBUCIP.js → responsiveness-probe-7KPMAX2A.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-SGX577WT.js.map +0 -1
- /package/dist/{chunk-EMSM4BRU.js.map → chunk-4KX6ZCA2.js.map} +0 -0
- /package/dist/{claude-pair-runtime-VUTIGBWZ.js.map → claude-pair-runtime-A4JF2ZGD.js.map} +0 -0
- /package/dist/{persistent-session-GLBUMVU3.js.map → persistent-session-U2DXYFIU.js.map} +0 -0
- /package/dist/{responsiveness-probe-IYDBUCIP.js.map → responsiveness-probe-7KPMAX2A.js.map} +0 -0
|
@@ -266,7 +266,7 @@ async function spawnPairSession(session) {
|
|
|
266
266
|
return { ok: true };
|
|
267
267
|
} catch {
|
|
268
268
|
}
|
|
269
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
269
|
+
const { resolveClaudeBinary } = await import("./persistent-session-U2DXYFIU.js");
|
|
270
270
|
const claudeBin = resolveClaudeBinary();
|
|
271
271
|
const pairEnv = {
|
|
272
272
|
...process.env,
|
|
@@ -734,4 +734,4 @@ export {
|
|
|
734
734
|
startClaudePair,
|
|
735
735
|
submitClaudePairCode
|
|
736
736
|
};
|
|
737
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
737
|
+
//# sourceMappingURL=claude-pair-runtime-A4JF2ZGD.js.map
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
safeWriteJsonAtomic,
|
|
67
67
|
setConfigHash,
|
|
68
68
|
tripClass
|
|
69
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-4KX6ZCA2.js";
|
|
70
70
|
import {
|
|
71
71
|
getProjectDir as getProjectDir2,
|
|
72
72
|
getReadyTasks,
|
|
@@ -149,7 +149,7 @@ import {
|
|
|
149
149
|
takeZombieDetection,
|
|
150
150
|
toOpencodeModel,
|
|
151
151
|
writeEgressAllowlist
|
|
152
|
-
} from "../chunk-
|
|
152
|
+
} from "../chunk-7LBSHOJ7.js";
|
|
153
153
|
import {
|
|
154
154
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
155
155
|
AnchorSessionClient,
|
|
@@ -13927,7 +13927,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
13927
13927
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
13928
13928
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
13929
13929
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
13930
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
13930
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-7KPMAX2A.js");
|
|
13931
13931
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
13932
13932
|
if (newest === null) return null;
|
|
13933
13933
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -14673,7 +14673,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
14673
14673
|
var lastVersionCheckAt = 0;
|
|
14674
14674
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
14675
14675
|
var lastResponsivenessProbeAt = 0;
|
|
14676
|
-
var agtCliVersion = true ? "0.28.
|
|
14676
|
+
var agtCliVersion = true ? "0.28.1029" : "dev";
|
|
14677
14677
|
function resolveBrewPath(execFileSync3) {
|
|
14678
14678
|
try {
|
|
14679
14679
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -16308,7 +16308,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
16308
16308
|
if (codeNames.length === 0) return;
|
|
16309
16309
|
void (async () => {
|
|
16310
16310
|
try {
|
|
16311
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
16311
|
+
const { collectDiagnostics } = await import("../persistent-session-U2DXYFIU.js");
|
|
16312
16312
|
await api.post("/host/heartbeat", {
|
|
16313
16313
|
host_id: hostId,
|
|
16314
16314
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -16450,7 +16450,7 @@ async function pollCycleInner() {
|
|
|
16450
16450
|
}
|
|
16451
16451
|
try {
|
|
16452
16452
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
16453
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
16453
|
+
const { collectDiagnostics } = await import("../persistent-session-U2DXYFIU.js");
|
|
16454
16454
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
16455
16455
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor) : void 0;
|
|
16456
16456
|
let tailscaleHostname;
|
|
@@ -16626,7 +16626,7 @@ async function pollCycleInner() {
|
|
|
16626
16626
|
collectPanelessActivityProbes,
|
|
16627
16627
|
getResponsivenessIntervalMs,
|
|
16628
16628
|
occupancyQualificationClassifications
|
|
16629
|
-
} = await import("../responsiveness-probe-
|
|
16629
|
+
} = await import("../responsiveness-probe-7KPMAX2A.js");
|
|
16630
16630
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
16631
16631
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
16632
16632
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -16743,7 +16743,7 @@ async function pollCycleInner() {
|
|
|
16743
16743
|
collectResponsivenessProbes,
|
|
16744
16744
|
livePendingInboundOldestAgeSeconds,
|
|
16745
16745
|
parkPendingInbound
|
|
16746
|
-
} = await import("../responsiveness-probe-
|
|
16746
|
+
} = await import("../responsiveness-probe-7KPMAX2A.js");
|
|
16747
16747
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
|
|
16748
16748
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
16749
16749
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -21442,7 +21442,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
21442
21442
|
try {
|
|
21443
21443
|
const freshId = rotateSessionForWedge(codeName);
|
|
21444
21444
|
consecutiveWedgeCycles.delete(codeName);
|
|
21445
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
21445
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-7KPMAX2A.js");
|
|
21446
21446
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
21447
21447
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
21448
21448
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -21485,7 +21485,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
21485
21485
|
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}`));
|
|
21486
21486
|
void (async () => {
|
|
21487
21487
|
try {
|
|
21488
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
21488
|
+
const { collectDiagnostics } = await import("../persistent-session-U2DXYFIU.js");
|
|
21489
21489
|
await api.post("/host/heartbeat", {
|
|
21490
21490
|
host_id: hostId,
|
|
21491
21491
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -21536,7 +21536,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
21536
21536
|
}
|
|
21537
21537
|
try {
|
|
21538
21538
|
const hostId = await getHostId();
|
|
21539
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
21539
|
+
const { collectDiagnostics } = await import("../persistent-session-U2DXYFIU.js");
|
|
21540
21540
|
await api.post("/host/heartbeat", {
|
|
21541
21541
|
host_id: hostId,
|
|
21542
21542
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -22208,7 +22208,7 @@ async function processClaudePairSessions(agents) {
|
|
|
22208
22208
|
// cannot take it for itself — by the time it runs, the write it is looking
|
|
22209
22209
|
// for may already have happened.
|
|
22210
22210
|
snapshotPairConfig
|
|
22211
|
-
} = await import("../claude-pair-runtime-
|
|
22211
|
+
} = await import("../claude-pair-runtime-A4JF2ZGD.js");
|
|
22212
22212
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
22213
22213
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
22214
22214
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
writeDirectChatSessionState,
|
|
66
66
|
writeEgressAllowlist,
|
|
67
67
|
writePersistentClaudeWrapper
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-7LBSHOJ7.js";
|
|
69
69
|
import "./chunk-3V43FBP4.js";
|
|
70
70
|
import "./chunk-TQDIIS3X.js";
|
|
71
71
|
import "./chunk-XWVM4KPK.js";
|
|
@@ -139,4 +139,4 @@ export {
|
|
|
139
139
|
writeEgressAllowlist,
|
|
140
140
|
writePersistentClaudeWrapper
|
|
141
141
|
};
|
|
142
|
-
//# sourceMappingURL=persistent-session-
|
|
142
|
+
//# sourceMappingURL=persistent-session-U2DXYFIU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7LBSHOJ7.js";
|
|
4
4
|
import "./chunk-3V43FBP4.js";
|
|
5
5
|
import "./chunk-TQDIIS3X.js";
|
|
6
6
|
import "./chunk-XWVM4KPK.js";
|
|
@@ -802,4 +802,4 @@ export {
|
|
|
802
802
|
readAndResetSlackReplyBindingClassifications,
|
|
803
803
|
readAndResetSlackReplyTargetClassifications
|
|
804
804
|
};
|
|
805
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
805
|
+
//# sourceMappingURL=responsiveness-probe-7KPMAX2A.js.map
|