@integrity-labs/agt-cli 0.28.991 → 0.28.992
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-DN3KNGP4.js → chunk-NF7LESJA.js} +6 -1
- package/dist/chunk-NF7LESJA.js.map +1 -0
- package/dist/{chunk-RQ3I7GMD.js → chunk-PNQCXCEY.js} +3 -3
- package/dist/{claude-pair-runtime-6IA4RPMQ.js → claude-pair-runtime-EVAYZI57.js} +2 -2
- package/dist/lib/manager-worker.js +14 -13
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-5EDOQC2H.js → persistent-session-HBUVJYYR.js} +4 -2
- package/dist/{responsiveness-probe-SKX77FST.js → responsiveness-probe-AIBA25OP.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-DN3KNGP4.js.map +0 -1
- /package/dist/{chunk-RQ3I7GMD.js.map → chunk-PNQCXCEY.js.map} +0 -0
- /package/dist/{claude-pair-runtime-6IA4RPMQ.js.map → claude-pair-runtime-EVAYZI57.js.map} +0 -0
- /package/dist/{persistent-session-5EDOQC2H.js.map → persistent-session-HBUVJYYR.js.map} +0 -0
- /package/dist/{responsiveness-probe-SKX77FST.js.map → responsiveness-probe-AIBA25OP.js.map} +0 -0
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
parseEnvFileEntries,
|
|
16
16
|
parseEnvIntegrations,
|
|
17
17
|
shellQuote
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NF7LESJA.js";
|
|
19
19
|
import {
|
|
20
20
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
21
21
|
INTEGRATIONS_SECTION_END,
|
|
@@ -6974,7 +6974,7 @@ function exchangeFailureKind(err) {
|
|
|
6974
6974
|
}
|
|
6975
6975
|
|
|
6976
6976
|
// src/lib/api-client.ts
|
|
6977
|
-
var agtCliVersion = true ? "0.28.
|
|
6977
|
+
var agtCliVersion = true ? "0.28.992" : "dev";
|
|
6978
6978
|
var lastConfigHash = null;
|
|
6979
6979
|
function setConfigHash(hash) {
|
|
6980
6980
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -11725,4 +11725,4 @@ export {
|
|
|
11725
11725
|
managerInstallSystemUnitCommand,
|
|
11726
11726
|
managerUninstallSystemUnitCommand
|
|
11727
11727
|
};
|
|
11728
|
-
//# sourceMappingURL=chunk-
|
|
11728
|
+
//# sourceMappingURL=chunk-PNQCXCEY.js.map
|
|
@@ -258,7 +258,7 @@ async function spawnPairSession(session) {
|
|
|
258
258
|
return { ok: true };
|
|
259
259
|
} catch {
|
|
260
260
|
}
|
|
261
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
261
|
+
const { resolveClaudeBinary } = await import("./persistent-session-HBUVJYYR.js");
|
|
262
262
|
const claudeBin = resolveClaudeBinary();
|
|
263
263
|
const pairEnv = {
|
|
264
264
|
...process.env,
|
|
@@ -580,4 +580,4 @@ export {
|
|
|
580
580
|
startClaudePair,
|
|
581
581
|
submitClaudePairCode
|
|
582
582
|
};
|
|
583
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
583
|
+
//# sourceMappingURL=claude-pair-runtime-EVAYZI57.js.map
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
safeWriteJsonAtomic,
|
|
64
64
|
setConfigHash,
|
|
65
65
|
tripClass
|
|
66
|
-
} from "../chunk-
|
|
66
|
+
} from "../chunk-PNQCXCEY.js";
|
|
67
67
|
import {
|
|
68
68
|
getProjectDir as getProjectDir2,
|
|
69
69
|
getReadyTasks,
|
|
@@ -74,6 +74,7 @@ import {
|
|
|
74
74
|
import {
|
|
75
75
|
BLOCKED_ON_PROMPT_DECISION,
|
|
76
76
|
CHANNEL_SECRET_ENV_KEYS,
|
|
77
|
+
CLAUDE_MANAGED_SETTINGS_DIR,
|
|
77
78
|
ChildProcessError,
|
|
78
79
|
agentRuntimeKey,
|
|
79
80
|
applyBlockedPromptVerdict,
|
|
@@ -140,7 +141,7 @@ import {
|
|
|
140
141
|
takeZombieDetection,
|
|
141
142
|
toOpencodeModel,
|
|
142
143
|
writeEgressAllowlist
|
|
143
|
-
} from "../chunk-
|
|
144
|
+
} from "../chunk-NF7LESJA.js";
|
|
144
145
|
import {
|
|
145
146
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
146
147
|
AnchorSessionClient,
|
|
@@ -13309,7 +13310,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
13309
13310
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
13310
13311
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
13311
13312
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
13312
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
13313
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-AIBA25OP.js");
|
|
13313
13314
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
13314
13315
|
if (newest === null) return null;
|
|
13315
13316
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -14052,7 +14053,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
14052
14053
|
var lastVersionCheckAt = 0;
|
|
14053
14054
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
14054
14055
|
var lastResponsivenessProbeAt = 0;
|
|
14055
|
-
var agtCliVersion = true ? "0.28.
|
|
14056
|
+
var agtCliVersion = true ? "0.28.992" : "dev";
|
|
14056
14057
|
function resolveBrewPath(execFileSync2) {
|
|
14057
14058
|
try {
|
|
14058
14059
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -14379,7 +14380,7 @@ function runAsync(cmd, args, opts) {
|
|
|
14379
14380
|
});
|
|
14380
14381
|
}
|
|
14381
14382
|
function claudeManagedSettingsPath() {
|
|
14382
|
-
return
|
|
14383
|
+
return join42(CLAUDE_MANAGED_SETTINGS_DIR, "managed-settings.json");
|
|
14383
14384
|
}
|
|
14384
14385
|
var MANAGED_SETTINGS_KEYS = ["channelsEnabled", "enableAllProjectMcpServers"];
|
|
14385
14386
|
var MANAGED_SETTINGS_ENV = { DISABLE_AUTOUPDATER: "1" };
|
|
@@ -15668,7 +15669,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
15668
15669
|
if (codeNames.length === 0) return;
|
|
15669
15670
|
void (async () => {
|
|
15670
15671
|
try {
|
|
15671
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15672
|
+
const { collectDiagnostics } = await import("../persistent-session-HBUVJYYR.js");
|
|
15672
15673
|
await api.post("/host/heartbeat", {
|
|
15673
15674
|
host_id: hostId,
|
|
15674
15675
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -15810,7 +15811,7 @@ async function pollCycleInner() {
|
|
|
15810
15811
|
}
|
|
15811
15812
|
try {
|
|
15812
15813
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
15813
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15814
|
+
const { collectDiagnostics } = await import("../persistent-session-HBUVJYYR.js");
|
|
15814
15815
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
15815
15816
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
15816
15817
|
let tailscaleHostname;
|
|
@@ -15986,7 +15987,7 @@ async function pollCycleInner() {
|
|
|
15986
15987
|
collectPanelessActivityProbes,
|
|
15987
15988
|
getResponsivenessIntervalMs,
|
|
15988
15989
|
occupancyQualificationClassifications
|
|
15989
|
-
} = await import("../responsiveness-probe-
|
|
15990
|
+
} = await import("../responsiveness-probe-AIBA25OP.js");
|
|
15990
15991
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
15991
15992
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
15992
15993
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -16103,7 +16104,7 @@ async function pollCycleInner() {
|
|
|
16103
16104
|
collectResponsivenessProbes,
|
|
16104
16105
|
livePendingInboundOldestAgeSeconds,
|
|
16105
16106
|
parkPendingInbound
|
|
16106
|
-
} = await import("../responsiveness-probe-
|
|
16107
|
+
} = await import("../responsiveness-probe-AIBA25OP.js");
|
|
16107
16108
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
16108
16109
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
16109
16110
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -20547,7 +20548,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20547
20548
|
try {
|
|
20548
20549
|
const freshId = rotateSessionForWedge(codeName);
|
|
20549
20550
|
consecutiveWedgeCycles.delete(codeName);
|
|
20550
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
20551
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-AIBA25OP.js");
|
|
20551
20552
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
20552
20553
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
20553
20554
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -20590,7 +20591,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
20590
20591
|
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}`));
|
|
20591
20592
|
void (async () => {
|
|
20592
20593
|
try {
|
|
20593
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20594
|
+
const { collectDiagnostics } = await import("../persistent-session-HBUVJYYR.js");
|
|
20594
20595
|
await api.post("/host/heartbeat", {
|
|
20595
20596
|
host_id: hostId,
|
|
20596
20597
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20641,7 +20642,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
20641
20642
|
}
|
|
20642
20643
|
try {
|
|
20643
20644
|
const hostId = await getHostId();
|
|
20644
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20645
|
+
const { collectDiagnostics } = await import("../persistent-session-HBUVJYYR.js");
|
|
20645
20646
|
await api.post("/host/heartbeat", {
|
|
20646
20647
|
host_id: hostId,
|
|
20647
20648
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -21285,7 +21286,7 @@ async function processClaudePairSessions(agents) {
|
|
|
21285
21286
|
killPairSession,
|
|
21286
21287
|
pairTmuxSession,
|
|
21287
21288
|
finalizeClaudePairOnboarding
|
|
21288
|
-
} = await import("../claude-pair-runtime-
|
|
21289
|
+
} = await import("../claude-pair-runtime-EVAYZI57.js");
|
|
21289
21290
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
21290
21291
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
21291
21292
|
const killed = await killPairSession(pairTmuxSession(pairId));
|