@integrity-labs/agt-cli 0.28.796 → 0.28.797
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 +5 -5
- package/dist/{chunk-EPFWARON.js → chunk-BLPEFF5R.js} +33 -23
- package/dist/{chunk-EPFWARON.js.map → chunk-BLPEFF5R.js.map} +1 -1
- package/dist/{chunk-L474SPDE.js → chunk-KGOED2L3.js} +2 -2
- package/dist/{chunk-NTRKYVCG.js → chunk-ZL7RC5VO.js} +19 -1
- package/dist/chunk-ZL7RC5VO.js.map +1 -0
- package/dist/{claude-pair-runtime-SVOVBJEB.js → claude-pair-runtime-7GV7YJAX.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/{persistent-session-TTQFRLDS.js → persistent-session-YDK4ZLC2.js} +3 -3
- package/dist/{responsiveness-probe-3AKFTP4A.js → responsiveness-probe-2WHOALYI.js} +3 -3
- package/dist/{session-auth-dead-HXVMHH7K.js → session-auth-dead-EQK6TGMD.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-NTRKYVCG.js.map +0 -1
- /package/dist/{chunk-L474SPDE.js.map → chunk-KGOED2L3.js.map} +0 -0
- /package/dist/{claude-pair-runtime-SVOVBJEB.js.map → claude-pair-runtime-7GV7YJAX.js.map} +0 -0
- /package/dist/{persistent-session-TTQFRLDS.js.map → persistent-session-YDK4ZLC2.js.map} +0 -0
- /package/dist/{responsiveness-probe-3AKFTP4A.js.map → responsiveness-probe-2WHOALYI.js.map} +0 -0
- /package/dist/{session-auth-dead-HXVMHH7K.js.map → session-auth-dead-EQK6TGMD.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-YDK4ZLC2.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-7GV7YJAX.js.map
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
safeWriteJsonAtomic,
|
|
59
59
|
setConfigHash,
|
|
60
60
|
tripClass
|
|
61
|
-
} from "../chunk-
|
|
61
|
+
} from "../chunk-BLPEFF5R.js";
|
|
62
62
|
import {
|
|
63
63
|
getProjectDir as getProjectDir2,
|
|
64
64
|
getReadyTasks,
|
|
@@ -122,7 +122,7 @@ import {
|
|
|
122
122
|
takeZombieDetection,
|
|
123
123
|
toOpencodeModel,
|
|
124
124
|
writeEgressAllowlist
|
|
125
|
-
} from "../chunk-
|
|
125
|
+
} from "../chunk-KGOED2L3.js";
|
|
126
126
|
import {
|
|
127
127
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
128
128
|
AnchorSessionClient,
|
|
@@ -214,7 +214,7 @@ import {
|
|
|
214
214
|
subagentActivityAgeSeconds,
|
|
215
215
|
sumTranscriptUsageInWindow,
|
|
216
216
|
transcriptActivityAgeSeconds
|
|
217
|
-
} from "../chunk-
|
|
217
|
+
} from "../chunk-ZL7RC5VO.js";
|
|
218
218
|
import {
|
|
219
219
|
reapOrphanChannelMcps
|
|
220
220
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -12917,7 +12917,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
12917
12917
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
12918
12918
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
12919
12919
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
12920
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
12920
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-2WHOALYI.js");
|
|
12921
12921
|
const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
|
|
12922
12922
|
if (newest === null) return null;
|
|
12923
12923
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -13577,7 +13577,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13577
13577
|
var lastVersionCheckAt = 0;
|
|
13578
13578
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13579
13579
|
var lastResponsivenessProbeAt = 0;
|
|
13580
|
-
var agtCliVersion = true ? "0.28.
|
|
13580
|
+
var agtCliVersion = true ? "0.28.797" : "dev";
|
|
13581
13581
|
function resolveBrewPath(execFileSync2) {
|
|
13582
13582
|
try {
|
|
13583
13583
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -15124,7 +15124,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
15124
15124
|
if (codeNames.length === 0) return;
|
|
15125
15125
|
void (async () => {
|
|
15126
15126
|
try {
|
|
15127
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15127
|
+
const { collectDiagnostics } = await import("../persistent-session-YDK4ZLC2.js");
|
|
15128
15128
|
await api.post("/host/heartbeat", {
|
|
15129
15129
|
host_id: hostId,
|
|
15130
15130
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -15265,7 +15265,7 @@ async function pollCycleInner() {
|
|
|
15265
15265
|
}
|
|
15266
15266
|
try {
|
|
15267
15267
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
15268
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15268
|
+
const { collectDiagnostics } = await import("../persistent-session-YDK4ZLC2.js");
|
|
15269
15269
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
15270
15270
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
15271
15271
|
let tailscaleHostname;
|
|
@@ -15434,7 +15434,7 @@ async function pollCycleInner() {
|
|
|
15434
15434
|
collectPanelessActivityProbes,
|
|
15435
15435
|
getResponsivenessIntervalMs,
|
|
15436
15436
|
occupancyQualificationClassifications
|
|
15437
|
-
} = await import("../responsiveness-probe-
|
|
15437
|
+
} = await import("../responsiveness-probe-2WHOALYI.js");
|
|
15438
15438
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
15439
15439
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
15440
15440
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -15551,7 +15551,7 @@ async function pollCycleInner() {
|
|
|
15551
15551
|
collectResponsivenessProbes,
|
|
15552
15552
|
livePendingInboundOldestAgeSeconds,
|
|
15553
15553
|
parkPendingInbound
|
|
15554
|
-
} = await import("../responsiveness-probe-
|
|
15554
|
+
} = await import("../responsiveness-probe-2WHOALYI.js");
|
|
15555
15555
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
15556
15556
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
15557
15557
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -15707,7 +15707,7 @@ async function pollCycleInner() {
|
|
|
15707
15707
|
}
|
|
15708
15708
|
try {
|
|
15709
15709
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
15710
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
15710
|
+
const { probeSessionAuth } = await import("../session-auth-dead-EQK6TGMD.js");
|
|
15711
15711
|
const observations = [];
|
|
15712
15712
|
const pendingCacheCommits = [];
|
|
15713
15713
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -19808,7 +19808,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
19808
19808
|
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}`));
|
|
19809
19809
|
void (async () => {
|
|
19810
19810
|
try {
|
|
19811
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19811
|
+
const { collectDiagnostics } = await import("../persistent-session-YDK4ZLC2.js");
|
|
19812
19812
|
await api.post("/host/heartbeat", {
|
|
19813
19813
|
host_id: hostId,
|
|
19814
19814
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -19854,7 +19854,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
19854
19854
|
}
|
|
19855
19855
|
try {
|
|
19856
19856
|
const hostId = await getHostId();
|
|
19857
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19857
|
+
const { collectDiagnostics } = await import("../persistent-session-YDK4ZLC2.js");
|
|
19858
19858
|
await api.post("/host/heartbeat", {
|
|
19859
19859
|
host_id: hostId,
|
|
19860
19860
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20490,7 +20490,7 @@ async function processClaudePairSessions(agents) {
|
|
|
20490
20490
|
killPairSession,
|
|
20491
20491
|
pairTmuxSession,
|
|
20492
20492
|
finalizeClaudePairOnboarding
|
|
20493
|
-
} = await import("../claude-pair-runtime-
|
|
20493
|
+
} = await import("../claude-pair-runtime-7GV7YJAX.js");
|
|
20494
20494
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
20495
20495
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
20496
20496
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -49,8 +49,8 @@ import {
|
|
|
49
49
|
writeDirectChatSessionState,
|
|
50
50
|
writeEgressAllowlist,
|
|
51
51
|
writePersistentClaudeWrapper
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-KGOED2L3.js";
|
|
53
|
+
import "./chunk-ZL7RC5VO.js";
|
|
54
54
|
import "./chunk-XWVM4KPK.js";
|
|
55
55
|
export {
|
|
56
56
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -104,4 +104,4 @@ export {
|
|
|
104
104
|
writeEgressAllowlist,
|
|
105
105
|
writePersistentClaudeWrapper
|
|
106
106
|
};
|
|
107
|
-
//# sourceMappingURL=persistent-session-
|
|
107
|
+
//# sourceMappingURL=persistent-session-YDK4ZLC2.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-KGOED2L3.js";
|
|
4
|
+
import "./chunk-ZL7RC5VO.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -745,4 +745,4 @@ export {
|
|
|
745
745
|
readAndResetSlackReplyBindingClassifications,
|
|
746
746
|
readAndResetSlackReplyTargetClassifications
|
|
747
747
|
};
|
|
748
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
748
|
+
//# sourceMappingURL=responsiveness-probe-2WHOALYI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZL7RC5VO.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/session-auth-dead.ts
|
|
6
6
|
import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
decideSessionAuthState,
|
|
204
204
|
probeSessionAuth
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=session-auth-dead-
|
|
206
|
+
//# sourceMappingURL=session-auth-dead-EQK6TGMD.js.map
|