@integrity-labs/agt-cli 0.28.730 → 0.28.731
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-WVYNQJRS.js → chunk-BADE2W6M.js} +9 -17
- package/dist/chunk-BADE2W6M.js.map +1 -0
- package/dist/{chunk-KF3IFJVV.js → chunk-QB6TIA3Z.js} +2 -2
- package/dist/{chunk-3V7HETFZ.js → chunk-YNIRFRQE.js} +4 -5
- package/dist/chunk-YNIRFRQE.js.map +1 -0
- package/dist/{claude-pair-runtime-BHULWRDO.js → claude-pair-runtime-BZVFVAMR.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/{persistent-session-KHGH6UKC.js → persistent-session-BHJLZTYX.js} +3 -3
- package/dist/{responsiveness-probe-ASAPVDUQ.js → responsiveness-probe-457EYSWZ.js} +3 -3
- package/dist/{session-auth-dead-ABEYQHK3.js → session-auth-dead-YUPZGR3F.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-3V7HETFZ.js.map +0 -1
- package/dist/chunk-WVYNQJRS.js.map +0 -1
- /package/dist/{chunk-KF3IFJVV.js.map → chunk-QB6TIA3Z.js.map} +0 -0
- /package/dist/{claude-pair-runtime-BHULWRDO.js.map → claude-pair-runtime-BZVFVAMR.js.map} +0 -0
- /package/dist/{persistent-session-KHGH6UKC.js.map → persistent-session-BHJLZTYX.js.map} +0 -0
- /package/dist/{responsiveness-probe-ASAPVDUQ.js.map → responsiveness-probe-457EYSWZ.js.map} +0 -0
- /package/dist/{session-auth-dead-ABEYQHK3.js.map → session-auth-dead-YUPZGR3F.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-BHJLZTYX.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-BZVFVAMR.js.map
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
safeWriteJsonAtomic,
|
|
58
58
|
setConfigHash,
|
|
59
59
|
tripClass
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-YNIRFRQE.js";
|
|
61
61
|
import {
|
|
62
62
|
getProjectDir as getProjectDir2,
|
|
63
63
|
getReadyTasks,
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
takeZombieDetection,
|
|
119
119
|
toOpencodeModel,
|
|
120
120
|
writeEgressAllowlist
|
|
121
|
-
} from "../chunk-
|
|
121
|
+
} from "../chunk-QB6TIA3Z.js";
|
|
122
122
|
import {
|
|
123
123
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
124
124
|
AnchorSessionClient,
|
|
@@ -203,7 +203,7 @@ import {
|
|
|
203
203
|
subagentActivityAgeSeconds,
|
|
204
204
|
sumTranscriptUsageInWindow,
|
|
205
205
|
transcriptActivityAgeSeconds
|
|
206
|
-
} from "../chunk-
|
|
206
|
+
} from "../chunk-BADE2W6M.js";
|
|
207
207
|
import {
|
|
208
208
|
reapOrphanChannelMcps
|
|
209
209
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -12347,7 +12347,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
12347
12347
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
12348
12348
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
12349
12349
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
12350
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
12350
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-457EYSWZ.js");
|
|
12351
12351
|
const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
|
|
12352
12352
|
if (newest === null) return null;
|
|
12353
12353
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -12995,7 +12995,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
12995
12995
|
var lastVersionCheckAt = 0;
|
|
12996
12996
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
12997
12997
|
var lastResponsivenessProbeAt = 0;
|
|
12998
|
-
var agtCliVersion = true ? "0.28.
|
|
12998
|
+
var agtCliVersion = true ? "0.28.731" : "dev";
|
|
12999
12999
|
function resolveBrewPath(execFileSync3) {
|
|
13000
13000
|
try {
|
|
13001
13001
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -14522,7 +14522,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
14522
14522
|
if (codeNames.length === 0) return;
|
|
14523
14523
|
void (async () => {
|
|
14524
14524
|
try {
|
|
14525
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14525
|
+
const { collectDiagnostics } = await import("../persistent-session-BHJLZTYX.js");
|
|
14526
14526
|
await api.post("/host/heartbeat", {
|
|
14527
14527
|
host_id: hostId,
|
|
14528
14528
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -14663,7 +14663,7 @@ async function pollCycleInner() {
|
|
|
14663
14663
|
}
|
|
14664
14664
|
try {
|
|
14665
14665
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
14666
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14666
|
+
const { collectDiagnostics } = await import("../persistent-session-BHJLZTYX.js");
|
|
14667
14667
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
14668
14668
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
14669
14669
|
let tailscaleHostname;
|
|
@@ -14832,7 +14832,7 @@ async function pollCycleInner() {
|
|
|
14832
14832
|
collectPanelessActivityProbes,
|
|
14833
14833
|
getResponsivenessIntervalMs,
|
|
14834
14834
|
occupancyQualificationClassifications
|
|
14835
|
-
} = await import("../responsiveness-probe-
|
|
14835
|
+
} = await import("../responsiveness-probe-457EYSWZ.js");
|
|
14836
14836
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
14837
14837
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
14838
14838
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -14942,7 +14942,7 @@ async function pollCycleInner() {
|
|
|
14942
14942
|
collectResponsivenessProbes,
|
|
14943
14943
|
livePendingInboundOldestAgeSeconds,
|
|
14944
14944
|
parkPendingInbound
|
|
14945
|
-
} = await import("../responsiveness-probe-
|
|
14945
|
+
} = await import("../responsiveness-probe-457EYSWZ.js");
|
|
14946
14946
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
14947
14947
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
14948
14948
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -15098,7 +15098,7 @@ async function pollCycleInner() {
|
|
|
15098
15098
|
}
|
|
15099
15099
|
try {
|
|
15100
15100
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
15101
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
15101
|
+
const { probeSessionAuth } = await import("../session-auth-dead-YUPZGR3F.js");
|
|
15102
15102
|
const observations = [];
|
|
15103
15103
|
const pendingCacheCommits = [];
|
|
15104
15104
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -19009,7 +19009,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
19009
19009
|
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}`));
|
|
19010
19010
|
void (async () => {
|
|
19011
19011
|
try {
|
|
19012
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19012
|
+
const { collectDiagnostics } = await import("../persistent-session-BHJLZTYX.js");
|
|
19013
19013
|
await api.post("/host/heartbeat", {
|
|
19014
19014
|
host_id: hostId,
|
|
19015
19015
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -19055,7 +19055,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
19055
19055
|
}
|
|
19056
19056
|
try {
|
|
19057
19057
|
const hostId = await getHostId();
|
|
19058
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19058
|
+
const { collectDiagnostics } = await import("../persistent-session-BHJLZTYX.js");
|
|
19059
19059
|
await api.post("/host/heartbeat", {
|
|
19060
19060
|
host_id: hostId,
|
|
19061
19061
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -19687,7 +19687,7 @@ async function processClaudePairSessions(agents) {
|
|
|
19687
19687
|
killPairSession,
|
|
19688
19688
|
pairTmuxSession,
|
|
19689
19689
|
finalizeClaudePairOnboarding
|
|
19690
|
-
} = await import("../claude-pair-runtime-
|
|
19690
|
+
} = await import("../claude-pair-runtime-BZVFVAMR.js");
|
|
19691
19691
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
19692
19692
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
19693
19693
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -46,8 +46,8 @@ import {
|
|
|
46
46
|
writeDirectChatSessionState,
|
|
47
47
|
writeEgressAllowlist,
|
|
48
48
|
writePersistentClaudeWrapper
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-QB6TIA3Z.js";
|
|
50
|
+
import "./chunk-BADE2W6M.js";
|
|
51
51
|
import "./chunk-XWVM4KPK.js";
|
|
52
52
|
export {
|
|
53
53
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -98,4 +98,4 @@ export {
|
|
|
98
98
|
writeEgressAllowlist,
|
|
99
99
|
writePersistentClaudeWrapper
|
|
100
100
|
};
|
|
101
|
-
//# sourceMappingURL=persistent-session-
|
|
101
|
+
//# sourceMappingURL=persistent-session-BHJLZTYX.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-QB6TIA3Z.js";
|
|
4
|
+
import "./chunk-BADE2W6M.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-457EYSWZ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BADE2W6M.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-YUPZGR3F.js.map
|