@integrity-labs/agt-cli 0.28.924 → 0.28.925
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-BLEV5PAO.js → chunk-6SKPDXGU.js} +2 -2
- package/dist/{chunk-FAG5UIWZ.js → chunk-BNEM6AZ6.js} +4 -4
- package/dist/{chunk-VHO7KAB7.js → chunk-UBXUNYTR.js} +1 -1
- package/dist/{chunk-VHO7KAB7.js.map → chunk-UBXUNYTR.js.map} +1 -1
- package/dist/{claude-pair-runtime-SY5VCTCE.js → claude-pair-runtime-PVJNKWJC.js} +2 -2
- package/dist/lib/manager-worker.js +14 -14
- package/dist/{persistent-session-UEAJJ72P.js → persistent-session-PKHXX4LZ.js} +3 -3
- package/dist/{responsiveness-probe-VXJKA6RF.js → responsiveness-probe-JX2TNGQ2.js} +3 -3
- package/dist/{session-auth-dead-XOP4XYBD.js → session-auth-dead-2W2OFAZR.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-BLEV5PAO.js.map → chunk-6SKPDXGU.js.map} +0 -0
- /package/dist/{chunk-FAG5UIWZ.js.map → chunk-BNEM6AZ6.js.map} +0 -0
- /package/dist/{claude-pair-runtime-SY5VCTCE.js.map → claude-pair-runtime-PVJNKWJC.js.map} +0 -0
- /package/dist/{persistent-session-UEAJJ72P.js.map → persistent-session-PKHXX4LZ.js.map} +0 -0
- /package/dist/{responsiveness-probe-VXJKA6RF.js.map → responsiveness-probe-JX2TNGQ2.js.map} +0 -0
- /package/dist/{session-auth-dead-XOP4XYBD.js.map → session-auth-dead-2W2OFAZR.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-PKHXX4LZ.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-PVJNKWJC.js.map
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
safeWriteJsonAtomic,
|
|
64
64
|
setConfigHash,
|
|
65
65
|
tripClass
|
|
66
|
-
} from "../chunk-
|
|
66
|
+
} from "../chunk-BNEM6AZ6.js";
|
|
67
67
|
import {
|
|
68
68
|
getProjectDir as getProjectDir2,
|
|
69
69
|
getReadyTasks,
|
|
@@ -136,7 +136,7 @@ import {
|
|
|
136
136
|
takeZombieDetection,
|
|
137
137
|
toOpencodeModel,
|
|
138
138
|
writeEgressAllowlist
|
|
139
|
-
} from "../chunk-
|
|
139
|
+
} from "../chunk-6SKPDXGU.js";
|
|
140
140
|
import {
|
|
141
141
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
142
142
|
AnchorSessionClient,
|
|
@@ -231,7 +231,7 @@ import {
|
|
|
231
231
|
subagentActivityAgeSeconds,
|
|
232
232
|
sumTranscriptUsageInWindow,
|
|
233
233
|
transcriptActivityAgeSeconds
|
|
234
|
-
} from "../chunk-
|
|
234
|
+
} from "../chunk-UBXUNYTR.js";
|
|
235
235
|
import {
|
|
236
236
|
reapOrphanChannelMcps
|
|
237
237
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -13187,7 +13187,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
13187
13187
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
13188
13188
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
13189
13189
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
13190
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
13190
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-JX2TNGQ2.js");
|
|
13191
13191
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
13192
13192
|
if (newest === null) return null;
|
|
13193
13193
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -13872,7 +13872,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13872
13872
|
var lastVersionCheckAt = 0;
|
|
13873
13873
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13874
13874
|
var lastResponsivenessProbeAt = 0;
|
|
13875
|
-
var agtCliVersion = true ? "0.28.
|
|
13875
|
+
var agtCliVersion = true ? "0.28.925" : "dev";
|
|
13876
13876
|
function resolveBrewPath(execFileSync2) {
|
|
13877
13877
|
try {
|
|
13878
13878
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -15462,7 +15462,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
15462
15462
|
if (codeNames.length === 0) return;
|
|
15463
15463
|
void (async () => {
|
|
15464
15464
|
try {
|
|
15465
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15465
|
+
const { collectDiagnostics } = await import("../persistent-session-PKHXX4LZ.js");
|
|
15466
15466
|
await api.post("/host/heartbeat", {
|
|
15467
15467
|
host_id: hostId,
|
|
15468
15468
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -15604,7 +15604,7 @@ async function pollCycleInner() {
|
|
|
15604
15604
|
}
|
|
15605
15605
|
try {
|
|
15606
15606
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
15607
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15607
|
+
const { collectDiagnostics } = await import("../persistent-session-PKHXX4LZ.js");
|
|
15608
15608
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
15609
15609
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
15610
15610
|
let tailscaleHostname;
|
|
@@ -15779,7 +15779,7 @@ async function pollCycleInner() {
|
|
|
15779
15779
|
collectPanelessActivityProbes,
|
|
15780
15780
|
getResponsivenessIntervalMs,
|
|
15781
15781
|
occupancyQualificationClassifications
|
|
15782
|
-
} = await import("../responsiveness-probe-
|
|
15782
|
+
} = await import("../responsiveness-probe-JX2TNGQ2.js");
|
|
15783
15783
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
15784
15784
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
15785
15785
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -15896,7 +15896,7 @@ async function pollCycleInner() {
|
|
|
15896
15896
|
collectResponsivenessProbes,
|
|
15897
15897
|
livePendingInboundOldestAgeSeconds,
|
|
15898
15898
|
parkPendingInbound
|
|
15899
|
-
} = await import("../responsiveness-probe-
|
|
15899
|
+
} = await import("../responsiveness-probe-JX2TNGQ2.js");
|
|
15900
15900
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
15901
15901
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
15902
15902
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -16052,7 +16052,7 @@ async function pollCycleInner() {
|
|
|
16052
16052
|
}
|
|
16053
16053
|
try {
|
|
16054
16054
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
16055
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
16055
|
+
const { probeSessionAuth } = await import("../session-auth-dead-2W2OFAZR.js");
|
|
16056
16056
|
const observations = [];
|
|
16057
16057
|
const pendingCacheCommits = [];
|
|
16058
16058
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -20316,7 +20316,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20316
20316
|
try {
|
|
20317
20317
|
const freshId = rotateSessionForWedge(codeName);
|
|
20318
20318
|
consecutiveWedgeCycles.delete(codeName);
|
|
20319
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
20319
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-JX2TNGQ2.js");
|
|
20320
20320
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
20321
20321
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
20322
20322
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -20359,7 +20359,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20359
20359
|
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}`));
|
|
20360
20360
|
void (async () => {
|
|
20361
20361
|
try {
|
|
20362
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20362
|
+
const { collectDiagnostics } = await import("../persistent-session-PKHXX4LZ.js");
|
|
20363
20363
|
await api.post("/host/heartbeat", {
|
|
20364
20364
|
host_id: hostId,
|
|
20365
20365
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20410,7 +20410,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
20410
20410
|
}
|
|
20411
20411
|
try {
|
|
20412
20412
|
const hostId = await getHostId();
|
|
20413
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20413
|
+
const { collectDiagnostics } = await import("../persistent-session-PKHXX4LZ.js");
|
|
20414
20414
|
await api.post("/host/heartbeat", {
|
|
20415
20415
|
host_id: hostId,
|
|
20416
20416
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -21052,7 +21052,7 @@ async function processClaudePairSessions(agents) {
|
|
|
21052
21052
|
killPairSession,
|
|
21053
21053
|
pairTmuxSession,
|
|
21054
21054
|
finalizeClaudePairOnboarding
|
|
21055
|
-
} = await import("../claude-pair-runtime-
|
|
21055
|
+
} = await import("../claude-pair-runtime-PVJNKWJC.js");
|
|
21056
21056
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
21057
21057
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
21058
21058
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
writeDirectChatSessionState,
|
|
63
63
|
writeEgressAllowlist,
|
|
64
64
|
writePersistentClaudeWrapper
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-6SKPDXGU.js";
|
|
66
|
+
import "./chunk-UBXUNYTR.js";
|
|
67
67
|
import "./chunk-XWVM4KPK.js";
|
|
68
68
|
export {
|
|
69
69
|
CLAUDE_HOST_WIDE,
|
|
@@ -130,4 +130,4 @@ export {
|
|
|
130
130
|
writeEgressAllowlist,
|
|
131
131
|
writePersistentClaudeWrapper
|
|
132
132
|
};
|
|
133
|
-
//# sourceMappingURL=persistent-session-
|
|
133
|
+
//# sourceMappingURL=persistent-session-PKHXX4LZ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-6SKPDXGU.js";
|
|
4
|
+
import "./chunk-UBXUNYTR.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -799,4 +799,4 @@ export {
|
|
|
799
799
|
readAndResetSlackReplyBindingClassifications,
|
|
800
800
|
readAndResetSlackReplyTargetClassifications
|
|
801
801
|
};
|
|
802
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
802
|
+
//# sourceMappingURL=responsiveness-probe-JX2TNGQ2.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UBXUNYTR.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-2W2OFAZR.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|