@integrity-labs/agt-cli 0.28.790 → 0.28.791
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-6BD4IUWX.js → chunk-5YVKL47B.js} +2 -2
- package/dist/{chunk-R54PIXWM.js → chunk-EPMGQHEU.js} +4 -4
- package/dist/{chunk-RDPAELV2.js → chunk-LZOCRUOY.js} +49 -5
- package/dist/chunk-LZOCRUOY.js.map +1 -0
- package/dist/{claude-pair-runtime-END3LNCB.js → claude-pair-runtime-VCMX27JL.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/{persistent-session-2B2HJ6XC.js → persistent-session-R4K7B522.js} +3 -3
- package/dist/{responsiveness-probe-7TGB5SMR.js → responsiveness-probe-3FKARAJC.js} +3 -3
- package/dist/{session-auth-dead-I2KT7CGB.js → session-auth-dead-66SI667U.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-RDPAELV2.js.map +0 -1
- /package/dist/{chunk-6BD4IUWX.js.map → chunk-5YVKL47B.js.map} +0 -0
- /package/dist/{chunk-R54PIXWM.js.map → chunk-EPMGQHEU.js.map} +0 -0
- /package/dist/{claude-pair-runtime-END3LNCB.js.map → claude-pair-runtime-VCMX27JL.js.map} +0 -0
- /package/dist/{persistent-session-2B2HJ6XC.js.map → persistent-session-R4K7B522.js.map} +0 -0
- /package/dist/{responsiveness-probe-7TGB5SMR.js.map → responsiveness-probe-3FKARAJC.js.map} +0 -0
- /package/dist/{session-auth-dead-I2KT7CGB.js.map → session-auth-dead-66SI667U.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-R4K7B522.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-VCMX27JL.js.map
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
safeWriteJsonAtomic,
|
|
59
59
|
setConfigHash,
|
|
60
60
|
tripClass
|
|
61
|
-
} from "../chunk-
|
|
61
|
+
} from "../chunk-EPMGQHEU.js";
|
|
62
62
|
import {
|
|
63
63
|
getProjectDir as getProjectDir2,
|
|
64
64
|
getReadyTasks,
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
takeZombieDetection,
|
|
121
121
|
toOpencodeModel,
|
|
122
122
|
writeEgressAllowlist
|
|
123
|
-
} from "../chunk-
|
|
123
|
+
} from "../chunk-5YVKL47B.js";
|
|
124
124
|
import {
|
|
125
125
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
126
126
|
AnchorSessionClient,
|
|
@@ -212,7 +212,7 @@ import {
|
|
|
212
212
|
subagentActivityAgeSeconds,
|
|
213
213
|
sumTranscriptUsageInWindow,
|
|
214
214
|
transcriptActivityAgeSeconds
|
|
215
|
-
} from "../chunk-
|
|
215
|
+
} from "../chunk-LZOCRUOY.js";
|
|
216
216
|
import {
|
|
217
217
|
reapOrphanChannelMcps
|
|
218
218
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -12915,7 +12915,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
12915
12915
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
12916
12916
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
12917
12917
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
12918
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
12918
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-3FKARAJC.js");
|
|
12919
12919
|
const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
|
|
12920
12920
|
if (newest === null) return null;
|
|
12921
12921
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -13575,7 +13575,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13575
13575
|
var lastVersionCheckAt = 0;
|
|
13576
13576
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13577
13577
|
var lastResponsivenessProbeAt = 0;
|
|
13578
|
-
var agtCliVersion = true ? "0.28.
|
|
13578
|
+
var agtCliVersion = true ? "0.28.791" : "dev";
|
|
13579
13579
|
function resolveBrewPath(execFileSync2) {
|
|
13580
13580
|
try {
|
|
13581
13581
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -15122,7 +15122,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
15122
15122
|
if (codeNames.length === 0) return;
|
|
15123
15123
|
void (async () => {
|
|
15124
15124
|
try {
|
|
15125
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15125
|
+
const { collectDiagnostics } = await import("../persistent-session-R4K7B522.js");
|
|
15126
15126
|
await api.post("/host/heartbeat", {
|
|
15127
15127
|
host_id: hostId,
|
|
15128
15128
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -15263,7 +15263,7 @@ async function pollCycleInner() {
|
|
|
15263
15263
|
}
|
|
15264
15264
|
try {
|
|
15265
15265
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
15266
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15266
|
+
const { collectDiagnostics } = await import("../persistent-session-R4K7B522.js");
|
|
15267
15267
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
15268
15268
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
15269
15269
|
let tailscaleHostname;
|
|
@@ -15432,7 +15432,7 @@ async function pollCycleInner() {
|
|
|
15432
15432
|
collectPanelessActivityProbes,
|
|
15433
15433
|
getResponsivenessIntervalMs,
|
|
15434
15434
|
occupancyQualificationClassifications
|
|
15435
|
-
} = await import("../responsiveness-probe-
|
|
15435
|
+
} = await import("../responsiveness-probe-3FKARAJC.js");
|
|
15436
15436
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
15437
15437
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
15438
15438
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -15542,7 +15542,7 @@ async function pollCycleInner() {
|
|
|
15542
15542
|
collectResponsivenessProbes,
|
|
15543
15543
|
livePendingInboundOldestAgeSeconds,
|
|
15544
15544
|
parkPendingInbound
|
|
15545
|
-
} = await import("../responsiveness-probe-
|
|
15545
|
+
} = await import("../responsiveness-probe-3FKARAJC.js");
|
|
15546
15546
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
15547
15547
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
15548
15548
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -15698,7 +15698,7 @@ async function pollCycleInner() {
|
|
|
15698
15698
|
}
|
|
15699
15699
|
try {
|
|
15700
15700
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
15701
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
15701
|
+
const { probeSessionAuth } = await import("../session-auth-dead-66SI667U.js");
|
|
15702
15702
|
const observations = [];
|
|
15703
15703
|
const pendingCacheCommits = [];
|
|
15704
15704
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -19799,7 +19799,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
19799
19799
|
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}`));
|
|
19800
19800
|
void (async () => {
|
|
19801
19801
|
try {
|
|
19802
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19802
|
+
const { collectDiagnostics } = await import("../persistent-session-R4K7B522.js");
|
|
19803
19803
|
await api.post("/host/heartbeat", {
|
|
19804
19804
|
host_id: hostId,
|
|
19805
19805
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -19845,7 +19845,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
19845
19845
|
}
|
|
19846
19846
|
try {
|
|
19847
19847
|
const hostId = await getHostId();
|
|
19848
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19848
|
+
const { collectDiagnostics } = await import("../persistent-session-R4K7B522.js");
|
|
19849
19849
|
await api.post("/host/heartbeat", {
|
|
19850
19850
|
host_id: hostId,
|
|
19851
19851
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20481,7 +20481,7 @@ async function processClaudePairSessions(agents) {
|
|
|
20481
20481
|
killPairSession,
|
|
20482
20482
|
pairTmuxSession,
|
|
20483
20483
|
finalizeClaudePairOnboarding
|
|
20484
|
-
} = await import("../claude-pair-runtime-
|
|
20484
|
+
} = await import("../claude-pair-runtime-VCMX27JL.js");
|
|
20485
20485
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
20486
20486
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
20487
20487
|
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-5YVKL47B.js";
|
|
53
|
+
import "./chunk-LZOCRUOY.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-R4K7B522.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-5YVKL47B.js";
|
|
4
|
+
import "./chunk-LZOCRUOY.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-3FKARAJC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LZOCRUOY.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-66SI667U.js.map
|