@integrity-labs/agt-cli 0.28.883 → 0.28.885
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 +4 -4
- package/dist/{chunk-PZHDYVFU.js → chunk-FP5M5OVX.js} +94 -27
- package/dist/chunk-FP5M5OVX.js.map +1 -0
- package/dist/{chunk-B3WKENVI.js → chunk-MT3CF4UQ.js} +3 -3
- package/dist/{claude-pair-runtime-ITIYUX6O.js → claude-pair-runtime-BQGZXRPV.js} +2 -2
- package/dist/lib/manager-worker.js +12 -12
- package/dist/{persistent-session-XHQM7U2T.js → persistent-session-SG4HA35I.js} +6 -2
- package/dist/{responsiveness-probe-QXE6TUJP.js → responsiveness-probe-3OEZ6D3O.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-PZHDYVFU.js.map +0 -1
- /package/dist/{chunk-B3WKENVI.js.map → chunk-MT3CF4UQ.js.map} +0 -0
- /package/dist/{claude-pair-runtime-ITIYUX6O.js.map → claude-pair-runtime-BQGZXRPV.js.map} +0 -0
- /package/dist/{persistent-session-XHQM7U2T.js.map → persistent-session-SG4HA35I.js.map} +0 -0
- /package/dist/{responsiveness-probe-QXE6TUJP.js.map → responsiveness-probe-3OEZ6D3O.js.map} +0 -0
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
parseEnvIntegrations,
|
|
17
17
|
shellQuote,
|
|
18
18
|
summarizeUnanswerablePane
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FP5M5OVX.js";
|
|
20
20
|
import {
|
|
21
21
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
22
22
|
INTEGRATIONS_SECTION_END,
|
|
@@ -6765,7 +6765,7 @@ function exchangeFailureKind(err) {
|
|
|
6765
6765
|
}
|
|
6766
6766
|
|
|
6767
6767
|
// src/lib/api-client.ts
|
|
6768
|
-
var agtCliVersion = true ? "0.28.
|
|
6768
|
+
var agtCliVersion = true ? "0.28.885" : "dev";
|
|
6769
6769
|
var lastConfigHash = null;
|
|
6770
6770
|
function setConfigHash(hash) {
|
|
6771
6771
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -11375,4 +11375,4 @@ export {
|
|
|
11375
11375
|
managerInstallSystemUnitCommand,
|
|
11376
11376
|
managerUninstallSystemUnitCommand
|
|
11377
11377
|
};
|
|
11378
|
-
//# sourceMappingURL=chunk-
|
|
11378
|
+
//# sourceMappingURL=chunk-MT3CF4UQ.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-SG4HA35I.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-BQGZXRPV.js.map
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
safeWriteJsonAtomic,
|
|
64
64
|
setConfigHash,
|
|
65
65
|
tripClass
|
|
66
|
-
} from "../chunk-
|
|
66
|
+
} from "../chunk-MT3CF4UQ.js";
|
|
67
67
|
import {
|
|
68
68
|
getProjectDir as getProjectDir2,
|
|
69
69
|
getReadyTasks,
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
takeZombieDetection,
|
|
130
130
|
toOpencodeModel,
|
|
131
131
|
writeEgressAllowlist
|
|
132
|
-
} from "../chunk-
|
|
132
|
+
} from "../chunk-FP5M5OVX.js";
|
|
133
133
|
import {
|
|
134
134
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
135
135
|
AnchorSessionClient,
|
|
@@ -13016,7 +13016,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
13016
13016
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
13017
13017
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
13018
13018
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
13019
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
13019
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-3OEZ6D3O.js");
|
|
13020
13020
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
13021
13021
|
if (newest === null) return null;
|
|
13022
13022
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -13684,7 +13684,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13684
13684
|
var lastVersionCheckAt = 0;
|
|
13685
13685
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13686
13686
|
var lastResponsivenessProbeAt = 0;
|
|
13687
|
-
var agtCliVersion = true ? "0.28.
|
|
13687
|
+
var agtCliVersion = true ? "0.28.885" : "dev";
|
|
13688
13688
|
function resolveBrewPath(execFileSync2) {
|
|
13689
13689
|
try {
|
|
13690
13690
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -15274,7 +15274,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
15274
15274
|
if (codeNames.length === 0) return;
|
|
15275
15275
|
void (async () => {
|
|
15276
15276
|
try {
|
|
15277
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15277
|
+
const { collectDiagnostics } = await import("../persistent-session-SG4HA35I.js");
|
|
15278
15278
|
await api.post("/host/heartbeat", {
|
|
15279
15279
|
host_id: hostId,
|
|
15280
15280
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -15416,7 +15416,7 @@ async function pollCycleInner() {
|
|
|
15416
15416
|
}
|
|
15417
15417
|
try {
|
|
15418
15418
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
15419
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15419
|
+
const { collectDiagnostics } = await import("../persistent-session-SG4HA35I.js");
|
|
15420
15420
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
15421
15421
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
15422
15422
|
let tailscaleHostname;
|
|
@@ -15585,7 +15585,7 @@ async function pollCycleInner() {
|
|
|
15585
15585
|
collectPanelessActivityProbes,
|
|
15586
15586
|
getResponsivenessIntervalMs,
|
|
15587
15587
|
occupancyQualificationClassifications
|
|
15588
|
-
} = await import("../responsiveness-probe-
|
|
15588
|
+
} = await import("../responsiveness-probe-3OEZ6D3O.js");
|
|
15589
15589
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
15590
15590
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
15591
15591
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -15702,7 +15702,7 @@ async function pollCycleInner() {
|
|
|
15702
15702
|
collectResponsivenessProbes,
|
|
15703
15703
|
livePendingInboundOldestAgeSeconds,
|
|
15704
15704
|
parkPendingInbound
|
|
15705
|
-
} = await import("../responsiveness-probe-
|
|
15705
|
+
} = await import("../responsiveness-probe-3OEZ6D3O.js");
|
|
15706
15706
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
15707
15707
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
15708
15708
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -20103,7 +20103,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20103
20103
|
try {
|
|
20104
20104
|
const freshId = rotateSessionForWedge(codeName);
|
|
20105
20105
|
consecutiveWedgeCycles.delete(codeName);
|
|
20106
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
20106
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-3OEZ6D3O.js");
|
|
20107
20107
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
20108
20108
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
20109
20109
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -20141,7 +20141,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20141
20141
|
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}`));
|
|
20142
20142
|
void (async () => {
|
|
20143
20143
|
try {
|
|
20144
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20144
|
+
const { collectDiagnostics } = await import("../persistent-session-SG4HA35I.js");
|
|
20145
20145
|
await api.post("/host/heartbeat", {
|
|
20146
20146
|
host_id: hostId,
|
|
20147
20147
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20187,7 +20187,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
20187
20187
|
}
|
|
20188
20188
|
try {
|
|
20189
20189
|
const hostId = await getHostId();
|
|
20190
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20190
|
+
const { collectDiagnostics } = await import("../persistent-session-SG4HA35I.js");
|
|
20191
20191
|
await api.post("/host/heartbeat", {
|
|
20192
20192
|
host_id: hostId,
|
|
20193
20193
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20823,7 +20823,7 @@ async function processClaudePairSessions(agents) {
|
|
|
20823
20823
|
killPairSession,
|
|
20824
20824
|
pairTmuxSession,
|
|
20825
20825
|
finalizeClaudePairOnboarding
|
|
20826
|
-
} = await import("../claude-pair-runtime-
|
|
20826
|
+
} = await import("../claude-pair-runtime-BQGZXRPV.js");
|
|
20827
20827
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
20828
20828
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
20829
20829
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
TMUX_BOOTSTRAP_HOLD_CMD,
|
|
7
7
|
TMUX_BOOTSTRAP_SESSION_PREFIX,
|
|
8
8
|
_internals,
|
|
9
|
+
applyPaneAgentIdVerdict,
|
|
9
10
|
buildDockerRunCommand,
|
|
10
11
|
buildEgressAllowlist,
|
|
11
12
|
buildSpawnEnv,
|
|
@@ -29,6 +30,7 @@ import {
|
|
|
29
30
|
isSessionHealthy,
|
|
30
31
|
isSessionResumeDisabled,
|
|
31
32
|
isolationMode,
|
|
33
|
+
killTmuxSessionBounded,
|
|
32
34
|
paneLogPath,
|
|
33
35
|
prepareForRespawn,
|
|
34
36
|
readDirectChatSessionState,
|
|
@@ -54,7 +56,7 @@ import {
|
|
|
54
56
|
writeDirectChatSessionState,
|
|
55
57
|
writeEgressAllowlist,
|
|
56
58
|
writePersistentClaudeWrapper
|
|
57
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-FP5M5OVX.js";
|
|
58
60
|
import "./chunk-7LIBFSX6.js";
|
|
59
61
|
import "./chunk-XWVM4KPK.js";
|
|
60
62
|
export {
|
|
@@ -65,6 +67,7 @@ export {
|
|
|
65
67
|
TMUX_BOOTSTRAP_HOLD_CMD,
|
|
66
68
|
TMUX_BOOTSTRAP_SESSION_PREFIX,
|
|
67
69
|
_internals,
|
|
70
|
+
applyPaneAgentIdVerdict,
|
|
68
71
|
buildDockerRunCommand,
|
|
69
72
|
buildEgressAllowlist,
|
|
70
73
|
buildSpawnEnv,
|
|
@@ -88,6 +91,7 @@ export {
|
|
|
88
91
|
isSessionHealthy,
|
|
89
92
|
isSessionResumeDisabled,
|
|
90
93
|
isolationMode,
|
|
94
|
+
killTmuxSessionBounded,
|
|
91
95
|
paneLogPath,
|
|
92
96
|
prepareForRespawn,
|
|
93
97
|
readDirectChatSessionState,
|
|
@@ -114,4 +118,4 @@ export {
|
|
|
114
118
|
writeEgressAllowlist,
|
|
115
119
|
writePersistentClaudeWrapper
|
|
116
120
|
};
|
|
117
|
-
//# sourceMappingURL=persistent-session-
|
|
121
|
+
//# sourceMappingURL=persistent-session-SG4HA35I.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FP5M5OVX.js";
|
|
4
4
|
import "./chunk-7LIBFSX6.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
@@ -764,4 +764,4 @@ export {
|
|
|
764
764
|
readAndResetSlackReplyBindingClassifications,
|
|
765
765
|
readAndResetSlackReplyTargetClassifications
|
|
766
766
|
};
|
|
767
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
767
|
+
//# sourceMappingURL=responsiveness-probe-3OEZ6D3O.js.map
|