@integrity-labs/agt-cli 0.28.621 → 0.28.623
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-QSPSXG4K.js → chunk-UIB2SMFE.js} +94 -279
- package/dist/chunk-UIB2SMFE.js.map +1 -0
- package/dist/{chunk-MSQXSVA5.js → chunk-X73OEEMY.js} +4 -3
- package/dist/chunk-X73OEEMY.js.map +1 -0
- package/dist/{claude-pair-runtime-63GQ5AOP.js → claude-pair-runtime-4JKKKO2Q.js} +2 -2
- package/dist/lib/manager-worker.js +11 -11
- package/dist/{persistent-session-IFZS5AXT.js → persistent-session-UCWXUJE6.js} +2 -2
- package/dist/{responsiveness-probe-76U4MR6U.js → responsiveness-probe-YDGTWNZ3.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-MSQXSVA5.js.map +0 -1
- package/dist/chunk-QSPSXG4K.js.map +0 -1
- /package/dist/{claude-pair-runtime-63GQ5AOP.js.map → claude-pair-runtime-4JKKKO2Q.js.map} +0 -0
- /package/dist/{persistent-session-IFZS5AXT.js.map → persistent-session-UCWXUJE6.js.map} +0 -0
- /package/dist/{responsiveness-probe-76U4MR6U.js.map → responsiveness-probe-YDGTWNZ3.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-UCWXUJE6.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-4JKKKO2Q.js.map
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
safeWriteJsonAtomic,
|
|
55
55
|
setConfigHash,
|
|
56
56
|
tripClass
|
|
57
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-X73OEEMY.js";
|
|
58
58
|
import {
|
|
59
59
|
getProjectDir as getProjectDir2,
|
|
60
60
|
getReadyTasks,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
takeZombieDetection,
|
|
111
111
|
toOpencodeModel,
|
|
112
112
|
writeEgressAllowlist
|
|
113
|
-
} from "../chunk-
|
|
113
|
+
} from "../chunk-UIB2SMFE.js";
|
|
114
114
|
import {
|
|
115
115
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
116
116
|
AnchorSessionClient,
|
|
@@ -11394,7 +11394,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
11394
11394
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
11395
11395
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
11396
11396
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
11397
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
11397
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-YDGTWNZ3.js");
|
|
11398
11398
|
const newest = newestPendingInboundActivityMtimeMs(dirname9(paneLogPath(codeName)));
|
|
11399
11399
|
if (newest === null) return null;
|
|
11400
11400
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -12033,7 +12033,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
12033
12033
|
var lastVersionCheckAt = 0;
|
|
12034
12034
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
12035
12035
|
var lastResponsivenessProbeAt = 0;
|
|
12036
|
-
var agtCliVersion = true ? "0.28.
|
|
12036
|
+
var agtCliVersion = true ? "0.28.623" : "dev";
|
|
12037
12037
|
function resolveBrewPath(execFileSync3) {
|
|
12038
12038
|
try {
|
|
12039
12039
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -13340,7 +13340,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
13340
13340
|
if (codeNames.length === 0) return;
|
|
13341
13341
|
void (async () => {
|
|
13342
13342
|
try {
|
|
13343
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13343
|
+
const { collectDiagnostics } = await import("../persistent-session-UCWXUJE6.js");
|
|
13344
13344
|
await api.post("/host/heartbeat", {
|
|
13345
13345
|
host_id: hostId,
|
|
13346
13346
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
|
|
@@ -13456,7 +13456,7 @@ async function pollCycleInner() {
|
|
|
13456
13456
|
}
|
|
13457
13457
|
try {
|
|
13458
13458
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
13459
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13459
|
+
const { collectDiagnostics } = await import("../persistent-session-UCWXUJE6.js");
|
|
13460
13460
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
13461
13461
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor) : void 0;
|
|
13462
13462
|
let tailscaleHostname;
|
|
@@ -13579,7 +13579,7 @@ async function pollCycleInner() {
|
|
|
13579
13579
|
collectPanelessActivityProbes,
|
|
13580
13580
|
getResponsivenessIntervalMs,
|
|
13581
13581
|
occupancyQualificationClassifications
|
|
13582
|
-
} = await import("../responsiveness-probe-
|
|
13582
|
+
} = await import("../responsiveness-probe-YDGTWNZ3.js");
|
|
13583
13583
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
13584
13584
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
13585
13585
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -13685,7 +13685,7 @@ async function pollCycleInner() {
|
|
|
13685
13685
|
collectResponsivenessProbes,
|
|
13686
13686
|
livePendingInboundOldestAgeSeconds,
|
|
13687
13687
|
parkPendingInbound
|
|
13688
|
-
} = await import("../responsiveness-probe-
|
|
13688
|
+
} = await import("../responsiveness-probe-YDGTWNZ3.js");
|
|
13689
13689
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
13690
13690
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
13691
13691
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -17368,7 +17368,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
17368
17368
|
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}`));
|
|
17369
17369
|
void (async () => {
|
|
17370
17370
|
try {
|
|
17371
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
17371
|
+
const { collectDiagnostics } = await import("../persistent-session-UCWXUJE6.js");
|
|
17372
17372
|
await api.post("/host/heartbeat", {
|
|
17373
17373
|
host_id: hostId,
|
|
17374
17374
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
|
|
@@ -17419,7 +17419,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
17419
17419
|
}
|
|
17420
17420
|
try {
|
|
17421
17421
|
const hostId = await getHostId();
|
|
17422
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
17422
|
+
const { collectDiagnostics } = await import("../persistent-session-UCWXUJE6.js");
|
|
17423
17423
|
await api.post("/host/heartbeat", {
|
|
17424
17424
|
host_id: hostId,
|
|
17425
17425
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
|
|
@@ -18015,7 +18015,7 @@ async function processClaudePairSessions(agents) {
|
|
|
18015
18015
|
killPairSession,
|
|
18016
18016
|
pairTmuxSession,
|
|
18017
18017
|
finalizeClaudePairOnboarding
|
|
18018
|
-
} = await import("../claude-pair-runtime-
|
|
18018
|
+
} = await import("../claude-pair-runtime-4JKKKO2Q.js");
|
|
18019
18019
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
18020
18020
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
18021
18021
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
writeDirectChatSessionState,
|
|
44
44
|
writeEgressAllowlist,
|
|
45
45
|
writePersistentClaudeWrapper
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-UIB2SMFE.js";
|
|
47
47
|
import "./chunk-EDH4GZIW.js";
|
|
48
48
|
import "./chunk-XWVM4KPK.js";
|
|
49
49
|
export {
|
|
@@ -92,4 +92,4 @@ export {
|
|
|
92
92
|
writeEgressAllowlist,
|
|
93
93
|
writePersistentClaudeWrapper
|
|
94
94
|
};
|
|
95
|
-
//# sourceMappingURL=persistent-session-
|
|
95
|
+
//# sourceMappingURL=persistent-session-UCWXUJE6.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UIB2SMFE.js";
|
|
4
4
|
import "./chunk-EDH4GZIW.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
@@ -710,4 +710,4 @@ export {
|
|
|
710
710
|
readAndResetSlackReplyBindingClassifications,
|
|
711
711
|
readAndResetSlackReplyTargetClassifications
|
|
712
712
|
};
|
|
713
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
713
|
+
//# sourceMappingURL=responsiveness-probe-YDGTWNZ3.js.map
|