@integrity-labs/agt-cli 0.28.667 → 0.28.669
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-HXGW24VQ.js → chunk-4GA4K2BF.js} +1 -1
- package/dist/{chunk-S5KJIVSA.js → chunk-TUQQYFGV.js} +9 -4
- package/dist/chunk-TUQQYFGV.js.map +1 -0
- package/dist/{chunk-Y34UA33A.js → chunk-U5EI5SXJ.js} +39 -26
- package/dist/chunk-U5EI5SXJ.js.map +1 -0
- package/dist/{claude-pair-runtime-IW4FGSBB.js → claude-pair-runtime-ZBI2RWAO.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/{persistent-session-D4JOMLCY.js → persistent-session-4LP3DQ5U.js} +3 -3
- package/dist/{responsiveness-probe-WANP5PYP.js → responsiveness-probe-P3GHBH2Y.js} +3 -3
- package/dist/{session-auth-dead-2L7FWRLT.js → session-auth-dead-3QN24ELV.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-S5KJIVSA.js.map +0 -1
- package/dist/chunk-Y34UA33A.js.map +0 -1
- /package/dist/{chunk-HXGW24VQ.js.map → chunk-4GA4K2BF.js.map} +0 -0
- /package/dist/{claude-pair-runtime-IW4FGSBB.js.map → claude-pair-runtime-ZBI2RWAO.js.map} +0 -0
- /package/dist/{persistent-session-D4JOMLCY.js.map → persistent-session-4LP3DQ5U.js.map} +0 -0
- /package/dist/{responsiveness-probe-WANP5PYP.js.map → responsiveness-probe-P3GHBH2Y.js.map} +0 -0
- /package/dist/{session-auth-dead-2L7FWRLT.js.map → session-auth-dead-3QN24ELV.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-4LP3DQ5U.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-ZBI2RWAO.js.map
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
safeWriteJsonAtomic,
|
|
56
56
|
setConfigHash,
|
|
57
57
|
tripClass
|
|
58
|
-
} from "../chunk-
|
|
58
|
+
} from "../chunk-TUQQYFGV.js";
|
|
59
59
|
import {
|
|
60
60
|
getProjectDir as getProjectDir2,
|
|
61
61
|
getReadyTasks,
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
takeZombieDetection,
|
|
112
112
|
toOpencodeModel,
|
|
113
113
|
writeEgressAllowlist
|
|
114
|
-
} from "../chunk-
|
|
114
|
+
} from "../chunk-U5EI5SXJ.js";
|
|
115
115
|
import {
|
|
116
116
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
117
117
|
AnchorSessionClient,
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
subagentActivityAgeSeconds,
|
|
193
193
|
sumTranscriptUsageInWindow,
|
|
194
194
|
transcriptActivityAgeSeconds
|
|
195
|
-
} from "../chunk-
|
|
195
|
+
} from "../chunk-4GA4K2BF.js";
|
|
196
196
|
import {
|
|
197
197
|
reapOrphanChannelMcps
|
|
198
198
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -11611,7 +11611,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
11611
11611
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
11612
11612
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
11613
11613
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
11614
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
11614
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-P3GHBH2Y.js");
|
|
11615
11615
|
const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
|
|
11616
11616
|
if (newest === null) return null;
|
|
11617
11617
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -12256,7 +12256,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
12256
12256
|
var lastVersionCheckAt = 0;
|
|
12257
12257
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
12258
12258
|
var lastResponsivenessProbeAt = 0;
|
|
12259
|
-
var agtCliVersion = true ? "0.28.
|
|
12259
|
+
var agtCliVersion = true ? "0.28.669" : "dev";
|
|
12260
12260
|
function resolveBrewPath(execFileSync3) {
|
|
12261
12261
|
try {
|
|
12262
12262
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -13620,7 +13620,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
13620
13620
|
if (codeNames.length === 0) return;
|
|
13621
13621
|
void (async () => {
|
|
13622
13622
|
try {
|
|
13623
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13623
|
+
const { collectDiagnostics } = await import("../persistent-session-4LP3DQ5U.js");
|
|
13624
13624
|
await api.post("/host/heartbeat", {
|
|
13625
13625
|
host_id: hostId,
|
|
13626
13626
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
|
|
@@ -13736,7 +13736,7 @@ async function pollCycleInner() {
|
|
|
13736
13736
|
}
|
|
13737
13737
|
try {
|
|
13738
13738
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
13739
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13739
|
+
const { collectDiagnostics } = await import("../persistent-session-4LP3DQ5U.js");
|
|
13740
13740
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
13741
13741
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor) : void 0;
|
|
13742
13742
|
let tailscaleHostname;
|
|
@@ -13888,7 +13888,7 @@ async function pollCycleInner() {
|
|
|
13888
13888
|
collectPanelessActivityProbes,
|
|
13889
13889
|
getResponsivenessIntervalMs,
|
|
13890
13890
|
occupancyQualificationClassifications
|
|
13891
|
-
} = await import("../responsiveness-probe-
|
|
13891
|
+
} = await import("../responsiveness-probe-P3GHBH2Y.js");
|
|
13892
13892
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
13893
13893
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
13894
13894
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -13998,7 +13998,7 @@ async function pollCycleInner() {
|
|
|
13998
13998
|
collectResponsivenessProbes,
|
|
13999
13999
|
livePendingInboundOldestAgeSeconds,
|
|
14000
14000
|
parkPendingInbound
|
|
14001
|
-
} = await import("../responsiveness-probe-
|
|
14001
|
+
} = await import("../responsiveness-probe-P3GHBH2Y.js");
|
|
14002
14002
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
14003
14003
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
14004
14004
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -14154,7 +14154,7 @@ async function pollCycleInner() {
|
|
|
14154
14154
|
}
|
|
14155
14155
|
try {
|
|
14156
14156
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
14157
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
14157
|
+
const { probeSessionAuth } = await import("../session-auth-dead-3QN24ELV.js");
|
|
14158
14158
|
const observations = [];
|
|
14159
14159
|
const pendingCacheCommits = [];
|
|
14160
14160
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -17891,7 +17891,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
17891
17891
|
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}`));
|
|
17892
17892
|
void (async () => {
|
|
17893
17893
|
try {
|
|
17894
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
17894
|
+
const { collectDiagnostics } = await import("../persistent-session-4LP3DQ5U.js");
|
|
17895
17895
|
await api.post("/host/heartbeat", {
|
|
17896
17896
|
host_id: hostId,
|
|
17897
17897
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
|
|
@@ -17942,7 +17942,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
17942
17942
|
}
|
|
17943
17943
|
try {
|
|
17944
17944
|
const hostId = await getHostId();
|
|
17945
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
17945
|
+
const { collectDiagnostics } = await import("../persistent-session-4LP3DQ5U.js");
|
|
17946
17946
|
await api.post("/host/heartbeat", {
|
|
17947
17947
|
host_id: hostId,
|
|
17948
17948
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
|
|
@@ -18573,7 +18573,7 @@ async function processClaudePairSessions(agents) {
|
|
|
18573
18573
|
killPairSession,
|
|
18574
18574
|
pairTmuxSession,
|
|
18575
18575
|
finalizeClaudePairOnboarding
|
|
18576
|
-
} = await import("../claude-pair-runtime-
|
|
18576
|
+
} = await import("../claude-pair-runtime-ZBI2RWAO.js");
|
|
18577
18577
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
18578
18578
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
18579
18579
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -43,8 +43,8 @@ import {
|
|
|
43
43
|
writeDirectChatSessionState,
|
|
44
44
|
writeEgressAllowlist,
|
|
45
45
|
writePersistentClaudeWrapper
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
46
|
+
} from "./chunk-U5EI5SXJ.js";
|
|
47
|
+
import "./chunk-4GA4K2BF.js";
|
|
48
48
|
import "./chunk-XWVM4KPK.js";
|
|
49
49
|
export {
|
|
50
50
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -92,4 +92,4 @@ export {
|
|
|
92
92
|
writeEgressAllowlist,
|
|
93
93
|
writePersistentClaudeWrapper
|
|
94
94
|
};
|
|
95
|
-
//# sourceMappingURL=persistent-session-
|
|
95
|
+
//# sourceMappingURL=persistent-session-4LP3DQ5U.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-U5EI5SXJ.js";
|
|
4
|
+
import "./chunk-4GA4K2BF.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -727,4 +727,4 @@ export {
|
|
|
727
727
|
readAndResetSlackReplyBindingClassifications,
|
|
728
728
|
readAndResetSlackReplyTargetClassifications
|
|
729
729
|
};
|
|
730
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
730
|
+
//# sourceMappingURL=responsiveness-probe-P3GHBH2Y.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4GA4K2BF.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-3QN24ELV.js.map
|