@integrity-labs/agt-cli 0.28.803 → 0.28.805
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-MJ3YHZSR.js → chunk-2FL6V4E5.js} +14 -3
- package/dist/chunk-2FL6V4E5.js.map +1 -0
- package/dist/{chunk-H37X4QPC.js → chunk-DHOVIXR5.js} +2 -2
- package/dist/{chunk-O6FWOMMD.js → chunk-YNSVQMSD.js} +4 -4
- package/dist/{claude-pair-runtime-FP32JLYF.js → claude-pair-runtime-WS3IVDDE.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/{persistent-session-7YEKAGRY.js → persistent-session-PV4GPHG3.js} +3 -3
- package/dist/{responsiveness-probe-VL6EANMM.js → responsiveness-probe-X3AW5TGA.js} +3 -3
- package/dist/{session-auth-dead-JJEZ4XWO.js → session-auth-dead-W6K5VEU7.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-MJ3YHZSR.js.map +0 -1
- /package/dist/{chunk-H37X4QPC.js.map → chunk-DHOVIXR5.js.map} +0 -0
- /package/dist/{chunk-O6FWOMMD.js.map → chunk-YNSVQMSD.js.map} +0 -0
- /package/dist/{claude-pair-runtime-FP32JLYF.js.map → claude-pair-runtime-WS3IVDDE.js.map} +0 -0
- /package/dist/{persistent-session-7YEKAGRY.js.map → persistent-session-PV4GPHG3.js.map} +0 -0
- /package/dist/{responsiveness-probe-VL6EANMM.js.map → responsiveness-probe-X3AW5TGA.js.map} +0 -0
- /package/dist/{session-auth-dead-JJEZ4XWO.js.map → session-auth-dead-W6K5VEU7.js.map} +0 -0
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
rotateDailySession,
|
|
19
19
|
sessionFileExists,
|
|
20
20
|
todayLocalIso
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2FL6V4E5.js";
|
|
22
22
|
import {
|
|
23
23
|
reapOrphanChannelMcps
|
|
24
24
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -5194,4 +5194,4 @@ export {
|
|
|
5194
5194
|
stopAllSessionsAndWait,
|
|
5195
5195
|
getProjectDir
|
|
5196
5196
|
};
|
|
5197
|
-
//# sourceMappingURL=chunk-
|
|
5197
|
+
//# sourceMappingURL=chunk-DHOVIXR5.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
parseEnvFileEntries,
|
|
15
15
|
parseEnvIntegrations,
|
|
16
16
|
shellQuote
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DHOVIXR5.js";
|
|
18
18
|
import {
|
|
19
19
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
20
20
|
INTEGRATIONS_SECTION_END,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
sessionTranscriptDir,
|
|
70
70
|
worseConnectivityOutcome,
|
|
71
71
|
wrapScheduledTaskPrompt
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-2FL6V4E5.js";
|
|
73
73
|
import {
|
|
74
74
|
parsePsRows
|
|
75
75
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -6521,7 +6521,7 @@ function exchangeFailureKind(err) {
|
|
|
6521
6521
|
}
|
|
6522
6522
|
|
|
6523
6523
|
// src/lib/api-client.ts
|
|
6524
|
-
var agtCliVersion = true ? "0.28.
|
|
6524
|
+
var agtCliVersion = true ? "0.28.805" : "dev";
|
|
6525
6525
|
var lastConfigHash = null;
|
|
6526
6526
|
function setConfigHash(hash) {
|
|
6527
6527
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -10765,4 +10765,4 @@ export {
|
|
|
10765
10765
|
managerInstallSystemUnitCommand,
|
|
10766
10766
|
managerUninstallSystemUnitCommand
|
|
10767
10767
|
};
|
|
10768
|
-
//# sourceMappingURL=chunk-
|
|
10768
|
+
//# sourceMappingURL=chunk-YNSVQMSD.js.map
|
|
@@ -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-PV4GPHG3.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-WS3IVDDE.js.map
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
safeWriteJsonAtomic,
|
|
59
59
|
setConfigHash,
|
|
60
60
|
tripClass
|
|
61
|
-
} from "../chunk-
|
|
61
|
+
} from "../chunk-YNSVQMSD.js";
|
|
62
62
|
import {
|
|
63
63
|
getProjectDir as getProjectDir2,
|
|
64
64
|
getReadyTasks,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
takeZombieDetection,
|
|
124
124
|
toOpencodeModel,
|
|
125
125
|
writeEgressAllowlist
|
|
126
|
-
} from "../chunk-
|
|
126
|
+
} from "../chunk-DHOVIXR5.js";
|
|
127
127
|
import {
|
|
128
128
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
129
129
|
AnchorSessionClient,
|
|
@@ -215,7 +215,7 @@ import {
|
|
|
215
215
|
subagentActivityAgeSeconds,
|
|
216
216
|
sumTranscriptUsageInWindow,
|
|
217
217
|
transcriptActivityAgeSeconds
|
|
218
|
-
} from "../chunk-
|
|
218
|
+
} from "../chunk-2FL6V4E5.js";
|
|
219
219
|
import {
|
|
220
220
|
reapOrphanChannelMcps
|
|
221
221
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -12918,7 +12918,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
12918
12918
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
12919
12919
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
12920
12920
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
12921
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
12921
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-X3AW5TGA.js");
|
|
12922
12922
|
const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
|
|
12923
12923
|
if (newest === null) return null;
|
|
12924
12924
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -13578,7 +13578,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13578
13578
|
var lastVersionCheckAt = 0;
|
|
13579
13579
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13580
13580
|
var lastResponsivenessProbeAt = 0;
|
|
13581
|
-
var agtCliVersion = true ? "0.28.
|
|
13581
|
+
var agtCliVersion = true ? "0.28.805" : "dev";
|
|
13582
13582
|
function resolveBrewPath(execFileSync2) {
|
|
13583
13583
|
try {
|
|
13584
13584
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -15125,7 +15125,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
15125
15125
|
if (codeNames.length === 0) return;
|
|
15126
15126
|
void (async () => {
|
|
15127
15127
|
try {
|
|
15128
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15128
|
+
const { collectDiagnostics } = await import("../persistent-session-PV4GPHG3.js");
|
|
15129
15129
|
await api.post("/host/heartbeat", {
|
|
15130
15130
|
host_id: hostId,
|
|
15131
15131
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -15266,7 +15266,7 @@ async function pollCycleInner() {
|
|
|
15266
15266
|
}
|
|
15267
15267
|
try {
|
|
15268
15268
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
15269
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15269
|
+
const { collectDiagnostics } = await import("../persistent-session-PV4GPHG3.js");
|
|
15270
15270
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
15271
15271
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
15272
15272
|
let tailscaleHostname;
|
|
@@ -15435,7 +15435,7 @@ async function pollCycleInner() {
|
|
|
15435
15435
|
collectPanelessActivityProbes,
|
|
15436
15436
|
getResponsivenessIntervalMs,
|
|
15437
15437
|
occupancyQualificationClassifications
|
|
15438
|
-
} = await import("../responsiveness-probe-
|
|
15438
|
+
} = await import("../responsiveness-probe-X3AW5TGA.js");
|
|
15439
15439
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
15440
15440
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
15441
15441
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -15552,7 +15552,7 @@ async function pollCycleInner() {
|
|
|
15552
15552
|
collectResponsivenessProbes,
|
|
15553
15553
|
livePendingInboundOldestAgeSeconds,
|
|
15554
15554
|
parkPendingInbound
|
|
15555
|
-
} = await import("../responsiveness-probe-
|
|
15555
|
+
} = await import("../responsiveness-probe-X3AW5TGA.js");
|
|
15556
15556
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
15557
15557
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
15558
15558
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -15708,7 +15708,7 @@ async function pollCycleInner() {
|
|
|
15708
15708
|
}
|
|
15709
15709
|
try {
|
|
15710
15710
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
15711
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
15711
|
+
const { probeSessionAuth } = await import("../session-auth-dead-W6K5VEU7.js");
|
|
15712
15712
|
const observations = [];
|
|
15713
15713
|
const pendingCacheCommits = [];
|
|
15714
15714
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -19827,7 +19827,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
19827
19827
|
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}`));
|
|
19828
19828
|
void (async () => {
|
|
19829
19829
|
try {
|
|
19830
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19830
|
+
const { collectDiagnostics } = await import("../persistent-session-PV4GPHG3.js");
|
|
19831
19831
|
await api.post("/host/heartbeat", {
|
|
19832
19832
|
host_id: hostId,
|
|
19833
19833
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -19873,7 +19873,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
19873
19873
|
}
|
|
19874
19874
|
try {
|
|
19875
19875
|
const hostId = await getHostId();
|
|
19876
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19876
|
+
const { collectDiagnostics } = await import("../persistent-session-PV4GPHG3.js");
|
|
19877
19877
|
await api.post("/host/heartbeat", {
|
|
19878
19878
|
host_id: hostId,
|
|
19879
19879
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20509,7 +20509,7 @@ async function processClaudePairSessions(agents) {
|
|
|
20509
20509
|
killPairSession,
|
|
20510
20510
|
pairTmuxSession,
|
|
20511
20511
|
finalizeClaudePairOnboarding
|
|
20512
|
-
} = await import("../claude-pair-runtime-
|
|
20512
|
+
} = await import("../claude-pair-runtime-WS3IVDDE.js");
|
|
20513
20513
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
20514
20514
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
20515
20515
|
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-DHOVIXR5.js";
|
|
53
|
+
import "./chunk-2FL6V4E5.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-PV4GPHG3.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-DHOVIXR5.js";
|
|
4
|
+
import "./chunk-2FL6V4E5.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-X3AW5TGA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2FL6V4E5.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-W6K5VEU7.js.map
|