@integrity-labs/agt-cli 0.28.735 → 0.28.736
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-5CF4DRXA.js → chunk-6J6G4HOG.js} +55 -9
- package/dist/chunk-6J6G4HOG.js.map +1 -0
- package/dist/{chunk-AZZ7MLBE.js → chunk-F5UORP7D.js} +3 -3
- package/dist/{claude-pair-runtime-AWLXOAV6.js → claude-pair-runtime-R2F4HRID.js} +2 -2
- package/dist/lib/manager-worker.js +11 -11
- package/dist/{persistent-session-4KGDH66U.js → persistent-session-GJMGXFF2.js} +8 -2
- package/dist/{responsiveness-probe-HNUYLIFJ.js → responsiveness-probe-34ECZDWQ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-5CF4DRXA.js.map +0 -1
- /package/dist/{chunk-AZZ7MLBE.js.map → chunk-F5UORP7D.js.map} +0 -0
- /package/dist/{claude-pair-runtime-AWLXOAV6.js.map → claude-pair-runtime-R2F4HRID.js.map} +0 -0
- /package/dist/{persistent-session-4KGDH66U.js.map → persistent-session-GJMGXFF2.js.map} +0 -0
- /package/dist/{responsiveness-probe-HNUYLIFJ.js.map → responsiveness-probe-34ECZDWQ.js.map} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
parseEnvFileEntries,
|
|
14
14
|
parseEnvIntegrations,
|
|
15
15
|
shellQuote
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6J6G4HOG.js";
|
|
17
17
|
import {
|
|
18
18
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
19
19
|
INTEGRATIONS_SECTION_END,
|
|
@@ -6427,7 +6427,7 @@ function exchangeFailureKind(err) {
|
|
|
6427
6427
|
}
|
|
6428
6428
|
|
|
6429
6429
|
// src/lib/api-client.ts
|
|
6430
|
-
var agtCliVersion = true ? "0.28.
|
|
6430
|
+
var agtCliVersion = true ? "0.28.736" : "dev";
|
|
6431
6431
|
var lastConfigHash = null;
|
|
6432
6432
|
function setConfigHash(hash) {
|
|
6433
6433
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -10473,4 +10473,4 @@ export {
|
|
|
10473
10473
|
managerInstallSystemUnitCommand,
|
|
10474
10474
|
managerUninstallSystemUnitCommand
|
|
10475
10475
|
};
|
|
10476
|
-
//# sourceMappingURL=chunk-
|
|
10476
|
+
//# sourceMappingURL=chunk-F5UORP7D.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-GJMGXFF2.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-R2F4HRID.js.map
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
safeWriteJsonAtomic,
|
|
58
58
|
setConfigHash,
|
|
59
59
|
tripClass
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-F5UORP7D.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-6J6G4HOG.js";
|
|
122
122
|
import {
|
|
123
123
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
124
124
|
AnchorSessionClient,
|
|
@@ -12401,7 +12401,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
12401
12401
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
12402
12402
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
12403
12403
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
12404
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
12404
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-34ECZDWQ.js");
|
|
12405
12405
|
const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
|
|
12406
12406
|
if (newest === null) return null;
|
|
12407
12407
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -13052,7 +13052,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13052
13052
|
var lastVersionCheckAt = 0;
|
|
13053
13053
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13054
13054
|
var lastResponsivenessProbeAt = 0;
|
|
13055
|
-
var agtCliVersion = true ? "0.28.
|
|
13055
|
+
var agtCliVersion = true ? "0.28.736" : "dev";
|
|
13056
13056
|
function resolveBrewPath(execFileSync3) {
|
|
13057
13057
|
try {
|
|
13058
13058
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -14589,7 +14589,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
14589
14589
|
if (codeNames.length === 0) return;
|
|
14590
14590
|
void (async () => {
|
|
14591
14591
|
try {
|
|
14592
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14592
|
+
const { collectDiagnostics } = await import("../persistent-session-GJMGXFF2.js");
|
|
14593
14593
|
await api.post("/host/heartbeat", {
|
|
14594
14594
|
host_id: hostId,
|
|
14595
14595
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -14730,7 +14730,7 @@ async function pollCycleInner() {
|
|
|
14730
14730
|
}
|
|
14731
14731
|
try {
|
|
14732
14732
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
14733
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14733
|
+
const { collectDiagnostics } = await import("../persistent-session-GJMGXFF2.js");
|
|
14734
14734
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
14735
14735
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
14736
14736
|
let tailscaleHostname;
|
|
@@ -14899,7 +14899,7 @@ async function pollCycleInner() {
|
|
|
14899
14899
|
collectPanelessActivityProbes,
|
|
14900
14900
|
getResponsivenessIntervalMs,
|
|
14901
14901
|
occupancyQualificationClassifications
|
|
14902
|
-
} = await import("../responsiveness-probe-
|
|
14902
|
+
} = await import("../responsiveness-probe-34ECZDWQ.js");
|
|
14903
14903
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
14904
14904
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
14905
14905
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -15009,7 +15009,7 @@ async function pollCycleInner() {
|
|
|
15009
15009
|
collectResponsivenessProbes,
|
|
15010
15010
|
livePendingInboundOldestAgeSeconds,
|
|
15011
15011
|
parkPendingInbound
|
|
15012
|
-
} = await import("../responsiveness-probe-
|
|
15012
|
+
} = await import("../responsiveness-probe-34ECZDWQ.js");
|
|
15013
15013
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
15014
15014
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
15015
15015
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -19101,7 +19101,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
19101
19101
|
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}`));
|
|
19102
19102
|
void (async () => {
|
|
19103
19103
|
try {
|
|
19104
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19104
|
+
const { collectDiagnostics } = await import("../persistent-session-GJMGXFF2.js");
|
|
19105
19105
|
await api.post("/host/heartbeat", {
|
|
19106
19106
|
host_id: hostId,
|
|
19107
19107
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -19147,7 +19147,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
19147
19147
|
}
|
|
19148
19148
|
try {
|
|
19149
19149
|
const hostId = await getHostId();
|
|
19150
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19150
|
+
const { collectDiagnostics } = await import("../persistent-session-GJMGXFF2.js");
|
|
19151
19151
|
await api.post("/host/heartbeat", {
|
|
19152
19152
|
host_id: hostId,
|
|
19153
19153
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -19782,7 +19782,7 @@ async function processClaudePairSessions(agents) {
|
|
|
19782
19782
|
killPairSession,
|
|
19783
19783
|
pairTmuxSession,
|
|
19784
19784
|
finalizeClaudePairOnboarding
|
|
19785
|
-
} = await import("../claude-pair-runtime-
|
|
19785
|
+
} = await import("../claude-pair-runtime-R2F4HRID.js");
|
|
19786
19786
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
19787
19787
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
19788
19788
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -11,6 +11,8 @@ import {
|
|
|
11
11
|
describePaneAgentIdMismatch,
|
|
12
12
|
detectFailureSignature,
|
|
13
13
|
directChatSessionStatePath,
|
|
14
|
+
dockerRuntimeReadiness,
|
|
15
|
+
effectiveIsolationMode,
|
|
14
16
|
egressAllowlistHostPath,
|
|
15
17
|
egressMode,
|
|
16
18
|
findForeignAgentIdsInMcpConfig,
|
|
@@ -29,6 +31,7 @@ import {
|
|
|
29
31
|
readDirectChatSessionState,
|
|
30
32
|
readPaneLogTail,
|
|
31
33
|
reloadEgressSidecar,
|
|
34
|
+
resetDockerRuntimeReadinessForTests,
|
|
32
35
|
resetRestartCount,
|
|
33
36
|
resolveClaudeBinary,
|
|
34
37
|
resolveOAuthCredAction,
|
|
@@ -46,7 +49,7 @@ import {
|
|
|
46
49
|
writeDirectChatSessionState,
|
|
47
50
|
writeEgressAllowlist,
|
|
48
51
|
writePersistentClaudeWrapper
|
|
49
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-6J6G4HOG.js";
|
|
50
53
|
import "./chunk-IBBBIE4K.js";
|
|
51
54
|
import "./chunk-XWVM4KPK.js";
|
|
52
55
|
export {
|
|
@@ -62,6 +65,8 @@ export {
|
|
|
62
65
|
describePaneAgentIdMismatch,
|
|
63
66
|
detectFailureSignature,
|
|
64
67
|
directChatSessionStatePath,
|
|
68
|
+
dockerRuntimeReadiness,
|
|
69
|
+
effectiveIsolationMode,
|
|
65
70
|
egressAllowlistHostPath,
|
|
66
71
|
egressMode,
|
|
67
72
|
findForeignAgentIdsInMcpConfig,
|
|
@@ -80,6 +85,7 @@ export {
|
|
|
80
85
|
readDirectChatSessionState,
|
|
81
86
|
readPaneLogTail,
|
|
82
87
|
reloadEgressSidecar,
|
|
88
|
+
resetDockerRuntimeReadinessForTests,
|
|
83
89
|
resetRestartCount,
|
|
84
90
|
resolveClaudeBinary,
|
|
85
91
|
resolveOAuthCredAction,
|
|
@@ -98,4 +104,4 @@ export {
|
|
|
98
104
|
writeEgressAllowlist,
|
|
99
105
|
writePersistentClaudeWrapper
|
|
100
106
|
};
|
|
101
|
-
//# sourceMappingURL=persistent-session-
|
|
107
|
+
//# sourceMappingURL=persistent-session-GJMGXFF2.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6J6G4HOG.js";
|
|
4
4
|
import "./chunk-IBBBIE4K.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
@@ -745,4 +745,4 @@ export {
|
|
|
745
745
|
readAndResetSlackReplyBindingClassifications,
|
|
746
746
|
readAndResetSlackReplyTargetClassifications
|
|
747
747
|
};
|
|
748
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
748
|
+
//# sourceMappingURL=responsiveness-probe-34ECZDWQ.js.map
|