@integrity-labs/agt-cli 0.28.1222 → 0.28.1224
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-4ZVBHY5Q.js → chunk-4HPJCR5S.js} +8 -2
- package/dist/chunk-4HPJCR5S.js.map +1 -0
- package/dist/{chunk-IB2KIEVB.js → chunk-EZOHUWIF.js} +3 -3
- package/dist/{claude-pair-runtime-QKW3I3CB.js → claude-pair-runtime-4X7ST7J3.js} +2 -2
- package/dist/lib/manager-worker.js +89 -20
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-NRSFC2WX.js → persistent-session-OG2MVQUR.js} +2 -2
- package/dist/{responsiveness-probe-354D22GE.js → responsiveness-probe-HOXQTWME.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-4ZVBHY5Q.js.map +0 -1
- /package/dist/{chunk-IB2KIEVB.js.map → chunk-EZOHUWIF.js.map} +0 -0
- /package/dist/{claude-pair-runtime-QKW3I3CB.js.map → claude-pair-runtime-4X7ST7J3.js.map} +0 -0
- /package/dist/{persistent-session-NRSFC2WX.js.map → persistent-session-OG2MVQUR.js.map} +0 -0
- /package/dist/{responsiveness-probe-354D22GE.js.map → responsiveness-probe-HOXQTWME.js.map} +0 -0
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
parseEnvFileEntries,
|
|
17
17
|
parseEnvIntegrations,
|
|
18
18
|
shellQuote
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4HPJCR5S.js";
|
|
20
20
|
import {
|
|
21
21
|
readDailySessionPin,
|
|
22
22
|
sessionTranscriptDir
|
|
@@ -8084,7 +8084,7 @@ function exchangeFailureKind(err) {
|
|
|
8084
8084
|
}
|
|
8085
8085
|
|
|
8086
8086
|
// src/lib/api-client.ts
|
|
8087
|
-
var agtCliVersion = true ? "0.28.
|
|
8087
|
+
var agtCliVersion = true ? "0.28.1224" : "dev";
|
|
8088
8088
|
var lastConfigHash = null;
|
|
8089
8089
|
function setConfigHash(hash) {
|
|
8090
8090
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -13724,4 +13724,4 @@ export {
|
|
|
13724
13724
|
managerInstallSystemUnitCommand,
|
|
13725
13725
|
managerUninstallSystemUnitCommand
|
|
13726
13726
|
};
|
|
13727
|
-
//# sourceMappingURL=chunk-
|
|
13727
|
+
//# sourceMappingURL=chunk-EZOHUWIF.js.map
|
|
@@ -321,7 +321,7 @@ async function spawnPairSession(session) {
|
|
|
321
321
|
return { ok: true };
|
|
322
322
|
} catch {
|
|
323
323
|
}
|
|
324
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
324
|
+
const { resolveClaudeBinary } = await import("./persistent-session-OG2MVQUR.js");
|
|
325
325
|
const claudeBin = resolveClaudeBinary();
|
|
326
326
|
const pairEnv = {
|
|
327
327
|
...process.env,
|
|
@@ -836,4 +836,4 @@ export {
|
|
|
836
836
|
startClaudePair,
|
|
837
837
|
submitClaudePairCode
|
|
838
838
|
};
|
|
839
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
839
|
+
//# sourceMappingURL=claude-pair-runtime-4X7ST7J3.js.map
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
tripClass,
|
|
86
86
|
writeEtcEnvironment,
|
|
87
87
|
writeProfileDScript
|
|
88
|
-
} from "../chunk-
|
|
88
|
+
} from "../chunk-EZOHUWIF.js";
|
|
89
89
|
import {
|
|
90
90
|
CLAUDE_CODE_SECURITY_FLOOR,
|
|
91
91
|
SELF_UPDATE_TIMEOUTS,
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
webFetchBaselineValue,
|
|
193
193
|
webFetchRestartNeeded,
|
|
194
194
|
writeEgressAllowlist
|
|
195
|
-
} from "../chunk-
|
|
195
|
+
} from "../chunk-4HPJCR5S.js";
|
|
196
196
|
import {
|
|
197
197
|
isAgentIdle,
|
|
198
198
|
isStaleForToday,
|
|
@@ -8112,7 +8112,15 @@ var BASELINE_CONCERNS = [
|
|
|
8112
8112
|
// session actually has. Written only at spawn, where the flag is a fact; never
|
|
8113
8113
|
// when a respawn is merely scheduled (the ENG-7771 lesson). Additive, so no
|
|
8114
8114
|
// version bump - same reasoning as agentRules above.
|
|
8115
|
-
"webFetch"
|
|
8115
|
+
"webFetch",
|
|
8116
|
+
// Card 7726a4f3 (ENG-10740, CodeRabbit on #7441): the last integration egress
|
|
8117
|
+
// domain list the API returned for each agent, as a JSON array string. Not a
|
|
8118
|
+
// hash, but the same need: the manager must remember it across its own
|
|
8119
|
+
// restarts, or a failed first /host/agent-integrations fetch spawns an agent
|
|
8120
|
+
// whose .mcp.json still binds its integrations with an allowlist that omits
|
|
8121
|
+
// their hosts. Host-side, so the agent cannot widen it (ENG-6579). Additive,
|
|
8122
|
+
// so no version bump - the same call as agentRules and webFetch above.
|
|
8123
|
+
"integrationEgressDomains"
|
|
8116
8124
|
];
|
|
8117
8125
|
function createDeliveryBaselineMaps() {
|
|
8118
8126
|
return {
|
|
@@ -8121,7 +8129,8 @@ function createDeliveryBaselineMaps() {
|
|
|
8121
8129
|
msteamsBehaviour: /* @__PURE__ */ new Map(),
|
|
8122
8130
|
telegramPolicy: /* @__PURE__ */ new Map(),
|
|
8123
8131
|
agentRules: /* @__PURE__ */ new Map(),
|
|
8124
|
-
webFetch: /* @__PURE__ */ new Map()
|
|
8132
|
+
webFetch: /* @__PURE__ */ new Map(),
|
|
8133
|
+
integrationEgressDomains: /* @__PURE__ */ new Map()
|
|
8125
8134
|
};
|
|
8126
8135
|
}
|
|
8127
8136
|
function getSenderPolicyBaselineFile(configDir) {
|
|
@@ -8180,6 +8189,36 @@ function saveSenderPolicyBaseline(source, configDir, log2) {
|
|
|
8180
8189
|
}
|
|
8181
8190
|
}
|
|
8182
8191
|
|
|
8192
|
+
// src/lib/integration-egress-cache.ts
|
|
8193
|
+
function parseIntegrationEgressDomains(data) {
|
|
8194
|
+
if (!data || typeof data !== "object" || !Array.isArray(data.integrations)) return null;
|
|
8195
|
+
if (!("egress_domains" in data) || data.egress_domains === void 0) return [];
|
|
8196
|
+
const field = data.egress_domains;
|
|
8197
|
+
if (!Array.isArray(field) || !field.every((d) => typeof d === "string" && d.length > 0)) return null;
|
|
8198
|
+
return normaliseDomains(field);
|
|
8199
|
+
}
|
|
8200
|
+
function normaliseDomains(list) {
|
|
8201
|
+
return [...new Set(list.filter((d) => typeof d === "string" && d.length > 0))].sort();
|
|
8202
|
+
}
|
|
8203
|
+
function encodeIntegrationEgressDomains(domains) {
|
|
8204
|
+
return JSON.stringify(normaliseDomains(domains));
|
|
8205
|
+
}
|
|
8206
|
+
function decodeIntegrationEgressDomains(encoded) {
|
|
8207
|
+
if (encoded === void 0) return null;
|
|
8208
|
+
try {
|
|
8209
|
+
const parsed = JSON.parse(encoded);
|
|
8210
|
+
return Array.isArray(parsed) ? normaliseDomains(parsed) : null;
|
|
8211
|
+
} catch {
|
|
8212
|
+
return null;
|
|
8213
|
+
}
|
|
8214
|
+
}
|
|
8215
|
+
function resolveIntegrationEgressDomains(fetched, persisted) {
|
|
8216
|
+
if (fetched !== void 0) return { domains: fetched, source: "fetched" };
|
|
8217
|
+
const restored = decodeIntegrationEgressDomains(persisted);
|
|
8218
|
+
if (restored !== null) return { domains: restored, source: "persisted" };
|
|
8219
|
+
return { domains: [], source: "unknown" };
|
|
8220
|
+
}
|
|
8221
|
+
|
|
8183
8222
|
// src/lib/stuck-streak-store.ts
|
|
8184
8223
|
import { existsSync as existsSync12, readFileSync as readFileSync25 } from "fs";
|
|
8185
8224
|
import { join as join32 } from "path";
|
|
@@ -15656,7 +15695,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
15656
15695
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
15657
15696
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
15658
15697
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
15659
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
15698
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-HOXQTWME.js");
|
|
15660
15699
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
15661
15700
|
if (newest === null) return null;
|
|
15662
15701
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -16414,6 +16453,7 @@ function clearAgentCaches(agentId, codeName) {
|
|
|
16414
16453
|
integrationsFetchGate.forget(agentId);
|
|
16415
16454
|
quarantinedFetchGate.forget(agentId);
|
|
16416
16455
|
lastIntegrationsPayload.delete(agentId);
|
|
16456
|
+
integrationEgressDomainsByAgent.delete(agentId);
|
|
16417
16457
|
lastQuarantinedPayload.delete(agentId);
|
|
16418
16458
|
forgetRealtimeRebindState(agentId);
|
|
16419
16459
|
forgetChannelSyncState(agentId);
|
|
@@ -16455,7 +16495,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
16455
16495
|
var lastVersionCheckAt = 0;
|
|
16456
16496
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
16457
16497
|
var lastResponsivenessProbeAt = 0;
|
|
16458
|
-
var agtCliVersion = true ? "0.28.
|
|
16498
|
+
var agtCliVersion = true ? "0.28.1224" : "dev";
|
|
16459
16499
|
function resolveBrewPath(execFileSync3) {
|
|
16460
16500
|
try {
|
|
16461
16501
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -18372,6 +18412,20 @@ var secretsFetchGate = createFetchGate(DESIRED_STATE_FETCH_TTL_MS);
|
|
|
18372
18412
|
var defaultSchedulesFetchGate = createFetchGate(DESIRED_STATE_FETCH_TTL_MS);
|
|
18373
18413
|
var integrationsFetchGate = createFetchGate(DESIRED_STATE_FETCH_TTL_MS);
|
|
18374
18414
|
var lastIntegrationsPayload = /* @__PURE__ */ new Map();
|
|
18415
|
+
var integrationEgressDomainsByAgent = /* @__PURE__ */ new Map();
|
|
18416
|
+
function integrationEgressDomainsFor(agent, at = "spawn") {
|
|
18417
|
+
const { domains, source } = resolveIntegrationEgressDomains(
|
|
18418
|
+
integrationEgressDomainsByAgent.get(agent.agent_id),
|
|
18419
|
+
persistedDeliveryBaseline.integrationEgressDomains.get(agent.agent_id)
|
|
18420
|
+
);
|
|
18421
|
+
if (source === "persisted") {
|
|
18422
|
+
integrationEgressDomainsByAgent.set(agent.agent_id, domains);
|
|
18423
|
+
log(`[egress] ${agent.code_name}: using the persisted integration egress domains (${domains.length}) until a fetch succeeds`);
|
|
18424
|
+
} else if (source === "unknown" && at === "spawn") {
|
|
18425
|
+
log(`[egress] ${agent.code_name}: no integration egress domains fetched or persisted yet; allowlist has none`);
|
|
18426
|
+
}
|
|
18427
|
+
return domains;
|
|
18428
|
+
}
|
|
18375
18429
|
var quarantinedFetchGate = createFetchGate(DESIRED_STATE_FETCH_TTL_MS);
|
|
18376
18430
|
var lastQuarantinedPayload = /* @__PURE__ */ new Map();
|
|
18377
18431
|
var MY_KANBAN_FETCH_TTL_MS = 3e4;
|
|
@@ -18437,7 +18491,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
18437
18491
|
if (codeNames.length === 0) return;
|
|
18438
18492
|
void (async () => {
|
|
18439
18493
|
try {
|
|
18440
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
18494
|
+
const { collectDiagnostics } = await import("../persistent-session-OG2MVQUR.js");
|
|
18441
18495
|
await api.post("/host/heartbeat", {
|
|
18442
18496
|
host_id: hostId,
|
|
18443
18497
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -18580,7 +18634,7 @@ async function pollCycleInner() {
|
|
|
18580
18634
|
}
|
|
18581
18635
|
try {
|
|
18582
18636
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
18583
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
18637
|
+
const { collectDiagnostics } = await import("../persistent-session-OG2MVQUR.js");
|
|
18584
18638
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
18585
18639
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) : void 0;
|
|
18586
18640
|
let tailscaleHostname;
|
|
@@ -18880,7 +18934,7 @@ async function pollCycleInner() {
|
|
|
18880
18934
|
collectPanelessActivityProbes,
|
|
18881
18935
|
getResponsivenessIntervalMs,
|
|
18882
18936
|
occupancyQualificationClassifications
|
|
18883
|
-
} = await import("../responsiveness-probe-
|
|
18937
|
+
} = await import("../responsiveness-probe-HOXQTWME.js");
|
|
18884
18938
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
18885
18939
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
18886
18940
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -18997,7 +19051,7 @@ async function pollCycleInner() {
|
|
|
18997
19051
|
collectResponsivenessProbes,
|
|
18998
19052
|
livePendingInboundOldestAgeSeconds,
|
|
18999
19053
|
parkPendingInbound
|
|
19000
|
-
} = await import("../responsiveness-probe-
|
|
19054
|
+
} = await import("../responsiveness-probe-HOXQTWME.js");
|
|
19001
19055
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
|
|
19002
19056
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
19003
19057
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -19283,7 +19337,7 @@ async function pollCycleInner() {
|
|
|
19283
19337
|
}
|
|
19284
19338
|
}
|
|
19285
19339
|
);
|
|
19286
|
-
const { parkPendingInbound } = await import("../responsiveness-probe-
|
|
19340
|
+
const { parkPendingInbound } = await import("../responsiveness-probe-HOXQTWME.js");
|
|
19287
19341
|
const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
|
|
19288
19342
|
paneFatalStreak.delete(codeName);
|
|
19289
19343
|
paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
|
|
@@ -19314,7 +19368,7 @@ async function pollCycleInner() {
|
|
|
19314
19368
|
TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
|
|
19315
19369
|
bindSourceEscalations
|
|
19316
19370
|
} = await import("../transcript-mount-health-OHE6IVJV.js");
|
|
19317
|
-
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-
|
|
19371
|
+
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-OG2MVQUR.js");
|
|
19318
19372
|
const mountConfig = resolveTranscriptMountConfig();
|
|
19319
19373
|
const liveAgents = agentState.persistentSessionAgents;
|
|
19320
19374
|
for (const tracked of [
|
|
@@ -21643,6 +21697,19 @@ async function processAgent(agent, agentStates, managedToolkits) {
|
|
|
21643
21697
|
try {
|
|
21644
21698
|
const fetchIntegrations = async () => {
|
|
21645
21699
|
const integrationsData = await api.post("/host/agent-integrations", { agent_id: agent.agent_id });
|
|
21700
|
+
const egressDomains = parseIntegrationEgressDomains(integrationsData);
|
|
21701
|
+
if (egressDomains === null) {
|
|
21702
|
+
log(
|
|
21703
|
+
`[egress] ${agent.code_name}: /host/agent-integrations body had no integrations array; keeping the previous egress domain list`
|
|
21704
|
+
);
|
|
21705
|
+
} else {
|
|
21706
|
+
integrationEgressDomainsByAgent.set(agent.agent_id, egressDomains);
|
|
21707
|
+
persistDeliveryBaselineEntry(
|
|
21708
|
+
"integrationEgressDomains",
|
|
21709
|
+
agent.agent_id,
|
|
21710
|
+
encodeIntegrationEgressDomains(egressDomains)
|
|
21711
|
+
);
|
|
21712
|
+
}
|
|
21646
21713
|
return (integrationsData.integrations ?? []).map(withResolvedRemoteMcp);
|
|
21647
21714
|
};
|
|
21648
21715
|
const integrationsToken = integrationsFetchGate.beginFetch(agent.agent_id);
|
|
@@ -23143,10 +23210,11 @@ function clearSessionPolicyBaseline(codeName) {
|
|
|
23143
23210
|
var opencodeCredentialFingerprintBySession = /* @__PURE__ */ new Map();
|
|
23144
23211
|
var egressAllowlistBySession = /* @__PURE__ */ new Map();
|
|
23145
23212
|
var denyWebFetchBySession = /* @__PURE__ */ new Map();
|
|
23146
|
-
function deriveEgressAllowlist(toolsRaw, policy) {
|
|
23213
|
+
function deriveEgressAllowlist(toolsRaw, policy, integrationDomains) {
|
|
23147
23214
|
return buildEgressAllowlist(
|
|
23148
23215
|
toolsRaw ? extractFrontmatter(toolsRaw).frontmatter : null,
|
|
23149
|
-
modelPolicyEgressDomains(policy)
|
|
23216
|
+
modelPolicyEgressDomains(policy),
|
|
23217
|
+
integrationDomains
|
|
23150
23218
|
);
|
|
23151
23219
|
}
|
|
23152
23220
|
var egressAllowlistEqual = (a, b) => a.length === b.length && a.every((d, i) => d === b[i]);
|
|
@@ -23707,7 +23775,7 @@ ${truncateForLog(ctx.tail)}` : `; pane_tail_hash=sha256:${createHash20("sha256")
|
|
|
23707
23775
|
framework: "claude-code"
|
|
23708
23776
|
}) ?? resolveModelChain(refreshData).primary ?? refreshData.agent?.["primary_model"] ?? null;
|
|
23709
23777
|
const spawnToolsRaw = refreshData.tools?.raw_content;
|
|
23710
|
-
const egressAllowlist = deriveEgressAllowlist(spawnToolsRaw, modelPolicy);
|
|
23778
|
+
const egressAllowlist = deriveEgressAllowlist(spawnToolsRaw, modelPolicy, integrationEgressDomainsFor(agent));
|
|
23711
23779
|
const spawnDenyWebFetch = denyWebFetchForToolsContent(spawnToolsRaw);
|
|
23712
23780
|
egressAllowlistBySession.set(codeName, egressAllowlist);
|
|
23713
23781
|
const spawnAgentClass = refreshData.agent?.["agent_class"];
|
|
@@ -23853,7 +23921,8 @@ ${truncateForLog(ctx.tail)}` : `; pane_tail_hash=sha256:${createHash20("sha256")
|
|
|
23853
23921
|
if (egressMode(codeName) === "allowlist") {
|
|
23854
23922
|
const allowlist = deriveEgressAllowlist(
|
|
23855
23923
|
refreshData.tools?.raw_content,
|
|
23856
|
-
modelPolicy
|
|
23924
|
+
modelPolicy,
|
|
23925
|
+
integrationEgressDomainsFor(agent, "live-refresh")
|
|
23857
23926
|
);
|
|
23858
23927
|
const prev = egressAllowlistBySession.get(codeName);
|
|
23859
23928
|
if (!prev || !egressAllowlistEqual(prev, allowlist)) {
|
|
@@ -24210,7 +24279,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
24210
24279
|
try {
|
|
24211
24280
|
const freshId = rotateSessionForWedge(codeName);
|
|
24212
24281
|
consecutiveWedgeCycles.delete(codeName);
|
|
24213
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
24282
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-HOXQTWME.js");
|
|
24214
24283
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
24215
24284
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
24216
24285
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -24253,7 +24322,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
24253
24322
|
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}`));
|
|
24254
24323
|
void (async () => {
|
|
24255
24324
|
try {
|
|
24256
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
24325
|
+
const { collectDiagnostics } = await import("../persistent-session-OG2MVQUR.js");
|
|
24257
24326
|
await api.post("/host/heartbeat", {
|
|
24258
24327
|
host_id: hostId,
|
|
24259
24328
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -24304,7 +24373,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
24304
24373
|
}
|
|
24305
24374
|
try {
|
|
24306
24375
|
const hostId = await getHostId();
|
|
24307
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
24376
|
+
const { collectDiagnostics } = await import("../persistent-session-OG2MVQUR.js");
|
|
24308
24377
|
await api.post("/host/heartbeat", {
|
|
24309
24378
|
host_id: hostId,
|
|
24310
24379
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -25006,7 +25075,7 @@ async function processClaudePairSessions(agents) {
|
|
|
25006
25075
|
snapshotPairConfig,
|
|
25007
25076
|
// ENG-11659: result -> report body + the manager.log line that records it.
|
|
25008
25077
|
planPairStartReport
|
|
25009
|
-
} = await import("../claude-pair-runtime-
|
|
25078
|
+
} = await import("../claude-pair-runtime-4X7ST7J3.js");
|
|
25010
25079
|
const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
|
|
25011
25080
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
25012
25081
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|