@integrity-labs/agt-cli 0.28.1308 → 0.28.1310
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/{api-client-QHGAABOL.js → api-client-A3QUGSNM.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-GZT7DHPV.js → chunk-6WALYNWT.js} +3 -3
- package/dist/{chunk-JZOA4A3J.js → chunk-B762DH5R.js} +2 -2
- package/dist/{chunk-HMH4EOV5.js → chunk-PN5AZVKG.js} +15 -9
- package/dist/chunk-PN5AZVKG.js.map +1 -0
- package/dist/{chunk-NXTNYNNV.js → chunk-QSND4PGO.js} +2 -2
- package/dist/{chunk-VSJUMNQ5.js → chunk-V4LGFXJD.js} +28 -8
- package/dist/{chunk-VSJUMNQ5.js.map → chunk-V4LGFXJD.js.map} +1 -1
- package/dist/{chunk-WW2CTOEO.js → chunk-XSXBOLMK.js} +1 -1
- package/dist/chunk-XSXBOLMK.js.map +1 -0
- package/dist/{claude-code-updater-OU4AEM5Y.js → claude-code-updater-MC24BHPQ.js} +3 -3
- package/dist/{claude-pair-runtime-H7A7ZOEW.js → claude-pair-runtime-DI4N4NQ5.js} +3 -3
- package/dist/lib/manager-worker.js +53 -25
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-OUCTECWP.js → persistent-session-WRHN2XP6.js} +4 -4
- package/dist/{responsiveness-probe-SC72APRB.js → responsiveness-probe-ZH5C4LKK.js} +4 -4
- package/dist/{session-auth-dead-MQR2SLW5.js → session-auth-dead-ZZO7YYU7.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-HMH4EOV5.js.map +0 -1
- package/dist/chunk-WW2CTOEO.js.map +0 -1
- /package/dist/{api-client-QHGAABOL.js.map → api-client-A3QUGSNM.js.map} +0 -0
- /package/dist/{chunk-GZT7DHPV.js.map → chunk-6WALYNWT.js.map} +0 -0
- /package/dist/{chunk-JZOA4A3J.js.map → chunk-B762DH5R.js.map} +0 -0
- /package/dist/{chunk-NXTNYNNV.js.map → chunk-QSND4PGO.js.map} +0 -0
- /package/dist/{claude-code-updater-OU4AEM5Y.js.map → claude-code-updater-MC24BHPQ.js.map} +0 -0
- /package/dist/{claude-pair-runtime-H7A7ZOEW.js.map → claude-pair-runtime-DI4N4NQ5.js.map} +0 -0
- /package/dist/{persistent-session-OUCTECWP.js.map → persistent-session-WRHN2XP6.js.map} +0 -0
- /package/dist/{responsiveness-probe-SC72APRB.js.map → responsiveness-probe-ZH5C4LKK.js.map} +0 -0
- /package/dist/{session-auth-dead-MQR2SLW5.js.map → session-auth-dead-ZZO7YYU7.js.map} +0 -0
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
probeClaudeInstalls,
|
|
14
14
|
readsAsNativeInstall,
|
|
15
15
|
shouldRunClaudeCodeUpdater
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-B762DH5R.js";
|
|
17
17
|
import "./chunk-XWVM4KPK.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-XSXBOLMK.js";
|
|
19
19
|
import "./chunk-AIUIMEUS.js";
|
|
20
20
|
import "./chunk-DGUM43GV.js";
|
|
21
21
|
export {
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
readsAsNativeInstall,
|
|
35
35
|
shouldRunClaudeCodeUpdater
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=claude-code-updater-
|
|
37
|
+
//# sourceMappingURL=claude-code-updater-MC24BHPQ.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
redactPaneFrame,
|
|
12
12
|
sanitizeTerminalFrame
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XSXBOLMK.js";
|
|
14
14
|
import {
|
|
15
15
|
CLAUDE_CONFIG_DIR_ENV,
|
|
16
16
|
claudeConfigDirFor,
|
|
@@ -323,7 +323,7 @@ async function spawnPairSession(session) {
|
|
|
323
323
|
return { ok: true };
|
|
324
324
|
} catch {
|
|
325
325
|
}
|
|
326
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
326
|
+
const { resolveClaudeBinary } = await import("./persistent-session-WRHN2XP6.js");
|
|
327
327
|
const claudeBin = resolveClaudeBinary();
|
|
328
328
|
const pairEnv = {
|
|
329
329
|
...process.env,
|
|
@@ -838,4 +838,4 @@ export {
|
|
|
838
838
|
startClaudePair,
|
|
839
839
|
submitClaudePairCode
|
|
840
840
|
};
|
|
841
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
841
|
+
//# sourceMappingURL=claude-pair-runtime-DI4N4NQ5.js.map
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
tripClass,
|
|
71
71
|
writeEtcEnvironment,
|
|
72
72
|
writeProfileDScript
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-PN5AZVKG.js";
|
|
74
74
|
import {
|
|
75
75
|
ApiError,
|
|
76
76
|
adoptHostKeyInProcess,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
probeHostKey,
|
|
89
89
|
requireHost,
|
|
90
90
|
setConfigHash
|
|
91
|
-
} from "../chunk-
|
|
91
|
+
} from "../chunk-6WALYNWT.js";
|
|
92
92
|
import {
|
|
93
93
|
BLOCKED_ON_PROMPT_DECISION,
|
|
94
94
|
CHANNEL_SECRET_ENV_KEYS,
|
|
@@ -185,7 +185,7 @@ import {
|
|
|
185
185
|
webFetchBaselineValue,
|
|
186
186
|
webFetchRestartNeeded,
|
|
187
187
|
writeEgressAllowlist
|
|
188
|
-
} from "../chunk-
|
|
188
|
+
} from "../chunk-V4LGFXJD.js";
|
|
189
189
|
import {
|
|
190
190
|
isAgentIdle,
|
|
191
191
|
isStaleForToday,
|
|
@@ -197,7 +197,7 @@ import {
|
|
|
197
197
|
subagentActivityAgeSeconds,
|
|
198
198
|
subagentTranscriptDir,
|
|
199
199
|
transcriptActivityAgeSeconds
|
|
200
|
-
} from "../chunk-
|
|
200
|
+
} from "../chunk-QSND4PGO.js";
|
|
201
201
|
import {
|
|
202
202
|
classifyUnanswerablePane,
|
|
203
203
|
focusedConfirmDialogBlock,
|
|
@@ -223,7 +223,7 @@ import {
|
|
|
223
223
|
runSafeCleanup,
|
|
224
224
|
tightestDiskStat,
|
|
225
225
|
withPackageCacheLock
|
|
226
|
-
} from "../chunk-
|
|
226
|
+
} from "../chunk-B762DH5R.js";
|
|
227
227
|
import {
|
|
228
228
|
parsePsRows,
|
|
229
229
|
reapOrphanChannelMcps
|
|
@@ -352,7 +352,7 @@ import {
|
|
|
352
352
|
stabiliseResetInstant,
|
|
353
353
|
sumTranscriptUsageInWindow,
|
|
354
354
|
summarizeTranscriptActivity
|
|
355
|
-
} from "../chunk-
|
|
355
|
+
} from "../chunk-XSXBOLMK.js";
|
|
356
356
|
import {
|
|
357
357
|
CLAUDE_CONFIG_DIR_ENV,
|
|
358
358
|
claudeConfigDirFor,
|
|
@@ -2183,6 +2183,9 @@ function shouldDeferBindRemediationForFirstConnect(outcome, ctx) {
|
|
|
2183
2183
|
|
|
2184
2184
|
// src/lib/integration-hash.ts
|
|
2185
2185
|
import { createHash as createHash2 } from "crypto";
|
|
2186
|
+
function oauthGrantedToolsOf(i) {
|
|
2187
|
+
return Array.isArray(i.grantedTools) ? JSON.stringify(i.grantedTools) : null;
|
|
2188
|
+
}
|
|
2186
2189
|
function remoteMcpUrlOf(i) {
|
|
2187
2190
|
const url = i.remoteMcp?.url;
|
|
2188
2191
|
return typeof url === "string" && url ? url : null;
|
|
@@ -2224,7 +2227,9 @@ function computeIntegrationsHash(integrations) {
|
|
|
2224
2227
|
const url = remoteMcpUrlOf(i);
|
|
2225
2228
|
const withUrl = url ? `${base}:remote=${url}` : base;
|
|
2226
2229
|
const allow = remoteMcpAllowlistOf(i);
|
|
2227
|
-
const
|
|
2230
|
+
const withAllowOnly = allow ? `${withUrl}:allow=${allow}` : withUrl;
|
|
2231
|
+
const granted = oauthGrantedToolsOf(i);
|
|
2232
|
+
const withAllow = granted ? `${withAllowOnly}:granted=${granted}` : withAllowOnly;
|
|
2228
2233
|
const key = connectionKeyOf(i);
|
|
2229
2234
|
return key ? JSON.stringify(["named", key, withAllow]) : withAllow;
|
|
2230
2235
|
}).sort();
|
|
@@ -2263,9 +2268,24 @@ function withResolvedRemoteMcp(integration) {
|
|
|
2263
2268
|
// row into use-time credential delivery — anything else (including a value
|
|
2264
2269
|
// a newer API might add later) reads as today's env delivery, so an
|
|
2265
2270
|
// unrecognised value can never strip an agent's `git`/`gh` credentials.
|
|
2266
|
-
credentialDelivery: normalizeCredentialDelivery(integration.credential_delivery)
|
|
2271
|
+
credentialDelivery: normalizeCredentialDelivery(integration.credential_delivery),
|
|
2272
|
+
// ENG-12314: same seam. Present-but-unusable maps to [] ("granted nothing",
|
|
2273
|
+
// withheld), never to undefined ("not narrowed").
|
|
2274
|
+
grantedTools: normalizeGrantedTools(integration.granted_tool_allowlist)
|
|
2267
2275
|
};
|
|
2268
2276
|
}
|
|
2277
|
+
function normalizeGrantedTools(raw) {
|
|
2278
|
+
if (raw === void 0 || raw === null) return void 0;
|
|
2279
|
+
if (!Array.isArray(raw)) return [];
|
|
2280
|
+
const out = [];
|
|
2281
|
+
for (const n of raw) {
|
|
2282
|
+
if (typeof n !== "string") continue;
|
|
2283
|
+
const name = n.trim();
|
|
2284
|
+
if (name === "" || name.includes(",") || out.includes(name)) continue;
|
|
2285
|
+
out.push(name);
|
|
2286
|
+
}
|
|
2287
|
+
return out;
|
|
2288
|
+
}
|
|
2269
2289
|
function normalizeToolTiers(raw) {
|
|
2270
2290
|
if (!raw) return void 0;
|
|
2271
2291
|
const out = {};
|
|
@@ -13023,7 +13043,7 @@ async function processClaudeTaskResult(codeName, agentId, templateId, rawOutput,
|
|
|
13023
13043
|
// ENG-10583: manager-created from a scheduled run, so there is no
|
|
13024
13044
|
// conversation behind these cards. Without the flag the add path
|
|
13025
13045
|
// attached each one to whatever inbound thread was fresh.
|
|
13026
|
-
add: planItems
|
|
13046
|
+
add: planItemsAddPayload(planItems)
|
|
13027
13047
|
});
|
|
13028
13048
|
log(`[claude-scheduler] Plan items posted for '${codeName}' (${planItems.length} items)`);
|
|
13029
13049
|
}
|
|
@@ -13056,6 +13076,12 @@ async function processClaudeTaskResult(codeName, agentId, templateId, rawOutput,
|
|
|
13056
13076
|
return { ok: false, error: errMsg };
|
|
13057
13077
|
}
|
|
13058
13078
|
}
|
|
13079
|
+
function planItemsAddPayload(items) {
|
|
13080
|
+
return items.map((item) => {
|
|
13081
|
+
const { report_to_nobody: _dropped, ...rest } = item;
|
|
13082
|
+
return { ...rest, no_channel_origin: true };
|
|
13083
|
+
});
|
|
13084
|
+
}
|
|
13059
13085
|
|
|
13060
13086
|
// src/lib/manager/scheduler/execution.ts
|
|
13061
13087
|
import { createHash as createHash17 } from "crypto";
|
|
@@ -16019,7 +16045,7 @@ function createFileMigrationReportIO(codeName, log2) {
|
|
|
16019
16045
|
};
|
|
16020
16046
|
}
|
|
16021
16047
|
var managerHostPost = async (path, body) => {
|
|
16022
|
-
const { api: api2, ApiError: ApiError3 } = await import("../api-client-
|
|
16048
|
+
const { api: api2, ApiError: ApiError3 } = await import("../api-client-A3QUGSNM.js");
|
|
16023
16049
|
try {
|
|
16024
16050
|
const json = await api2.post(path, body);
|
|
16025
16051
|
return { status: 200, json };
|
|
@@ -18189,7 +18215,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
18189
18215
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
18190
18216
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
18191
18217
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
18192
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
18218
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-ZH5C4LKK.js");
|
|
18193
18219
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
18194
18220
|
if (newest === null) return null;
|
|
18195
18221
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -19100,7 +19126,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
19100
19126
|
var lastVersionCheckAt = 0;
|
|
19101
19127
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
19102
19128
|
var lastResponsivenessProbeAt = 0;
|
|
19103
|
-
var agtCliVersion = true ? "0.28.
|
|
19129
|
+
var agtCliVersion = true ? "0.28.1310" : "dev";
|
|
19104
19130
|
function resolveBrewPath(execFileSync5) {
|
|
19105
19131
|
try {
|
|
19106
19132
|
const out = execFileSync5("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -21236,7 +21262,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
21236
21262
|
if (codeNames.length === 0) return;
|
|
21237
21263
|
void (async () => {
|
|
21238
21264
|
try {
|
|
21239
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
21265
|
+
const { collectDiagnostics } = await import("../persistent-session-WRHN2XP6.js");
|
|
21240
21266
|
await api.post("/host/heartbeat", {
|
|
21241
21267
|
host_id: hostId,
|
|
21242
21268
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -21381,7 +21407,7 @@ async function pollCycleInner() {
|
|
|
21381
21407
|
}
|
|
21382
21408
|
try {
|
|
21383
21409
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
21384
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
21410
|
+
const { collectDiagnostics } = await import("../persistent-session-WRHN2XP6.js");
|
|
21385
21411
|
const recordedSinceHeartbeat = new Set(spawnOutcomesSinceHeartbeat.drain());
|
|
21386
21412
|
const diagCodeNames = heartbeatDiagnosticsCodeNames(agentState.persistentSessionAgents, recordedSinceHeartbeat);
|
|
21387
21413
|
const heartbeatSpawnOutcomeFor = spawnOutcomeIfRecorded(spawnOutcomeForDiagnostics, recordedSinceHeartbeat);
|
|
@@ -21682,7 +21708,7 @@ async function pollCycleInner() {
|
|
|
21682
21708
|
}
|
|
21683
21709
|
try {
|
|
21684
21710
|
const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
|
|
21685
|
-
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-
|
|
21711
|
+
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-MC24BHPQ.js");
|
|
21686
21712
|
const securityFloor = currentSecurityFloor();
|
|
21687
21713
|
claudeUpdaterInFlight = true;
|
|
21688
21714
|
if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
|
|
@@ -21717,7 +21743,7 @@ async function pollCycleInner() {
|
|
|
21717
21743
|
collectPanelessActivityProbes,
|
|
21718
21744
|
getResponsivenessIntervalMs,
|
|
21719
21745
|
occupancyQualificationClassifications
|
|
21720
|
-
} = await import("../responsiveness-probe-
|
|
21746
|
+
} = await import("../responsiveness-probe-ZH5C4LKK.js");
|
|
21721
21747
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
21722
21748
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
21723
21749
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -21834,7 +21860,7 @@ async function pollCycleInner() {
|
|
|
21834
21860
|
collectResponsivenessProbes,
|
|
21835
21861
|
livePendingInboundOldestAgeSeconds,
|
|
21836
21862
|
parkPendingInbound
|
|
21837
|
-
} = await import("../responsiveness-probe-
|
|
21863
|
+
} = await import("../responsiveness-probe-ZH5C4LKK.js");
|
|
21838
21864
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-5PCBGRNY.js");
|
|
21839
21865
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
21840
21866
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -22123,7 +22149,7 @@ async function pollCycleInner() {
|
|
|
22123
22149
|
}
|
|
22124
22150
|
);
|
|
22125
22151
|
if (!paneFatalTornDown) continue;
|
|
22126
|
-
const { parkPendingInbound } = await import("../responsiveness-probe-
|
|
22152
|
+
const { parkPendingInbound } = await import("../responsiveness-probe-ZH5C4LKK.js");
|
|
22127
22153
|
const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
|
|
22128
22154
|
paneFatalStreak.delete(codeName);
|
|
22129
22155
|
paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
|
|
@@ -22154,7 +22180,7 @@ async function pollCycleInner() {
|
|
|
22154
22180
|
TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
|
|
22155
22181
|
bindSourceEscalations
|
|
22156
22182
|
} = await import("../transcript-mount-health-OHE6IVJV.js");
|
|
22157
|
-
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-
|
|
22183
|
+
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-WRHN2XP6.js");
|
|
22158
22184
|
const mountConfig = resolveTranscriptMountConfig();
|
|
22159
22185
|
const liveAgents = agentState.persistentSessionAgents;
|
|
22160
22186
|
for (const tracked of [
|
|
@@ -22320,7 +22346,7 @@ async function pollCycleInner() {
|
|
|
22320
22346
|
}
|
|
22321
22347
|
try {
|
|
22322
22348
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
|
|
22323
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
22349
|
+
const { probeSessionAuth } = await import("../session-auth-dead-ZZO7YYU7.js");
|
|
22324
22350
|
const observations = [];
|
|
22325
22351
|
const pendingCacheCommits = [];
|
|
22326
22352
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -24676,7 +24702,9 @@ async function processAgent(agent, agentStates, managedToolkits) {
|
|
|
24676
24702
|
config: q.config ?? {},
|
|
24677
24703
|
capabilities: [],
|
|
24678
24704
|
...q.remote_mcp ? { remoteMcp: q.remote_mcp } : {},
|
|
24679
|
-
...q.stdio_mcp === true ? { stdioMcp: true } : {}
|
|
24705
|
+
...q.stdio_mcp === true ? { stdioMcp: true } : {},
|
|
24706
|
+
// ENG-12314: probe the same narrowed surface the live entry had.
|
|
24707
|
+
grantedTools: normalizeGrantedTools(q.granted_tool_allowlist)
|
|
24680
24708
|
});
|
|
24681
24709
|
if (entry) q.inline_server_entry = entry;
|
|
24682
24710
|
} catch (err) {
|
|
@@ -27541,7 +27569,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
27541
27569
|
if (!refreshData) return;
|
|
27542
27570
|
const framework = refreshData.agent?.framework ?? agentFrameworkCache.get(codeName) ?? DEFAULT_FRAMEWORK;
|
|
27543
27571
|
const hostId = await getHostId();
|
|
27544
|
-
const parkForRestart = await import("../responsiveness-probe-
|
|
27572
|
+
const parkForRestart = await import("../responsiveness-probe-ZH5C4LKK.js").then(
|
|
27545
27573
|
(m) => m.parkPendingInbound,
|
|
27546
27574
|
(err) => err
|
|
27547
27575
|
);
|
|
@@ -27622,7 +27650,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
27622
27650
|
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}`));
|
|
27623
27651
|
void (async () => {
|
|
27624
27652
|
try {
|
|
27625
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
27653
|
+
const { collectDiagnostics } = await import("../persistent-session-WRHN2XP6.js");
|
|
27626
27654
|
await api.post("/host/heartbeat", {
|
|
27627
27655
|
host_id: hostId,
|
|
27628
27656
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -27675,7 +27703,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
27675
27703
|
}
|
|
27676
27704
|
try {
|
|
27677
27705
|
const hostId = await getHostId();
|
|
27678
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
27706
|
+
const { collectDiagnostics } = await import("../persistent-session-WRHN2XP6.js");
|
|
27679
27707
|
await api.post("/host/heartbeat", {
|
|
27680
27708
|
host_id: hostId,
|
|
27681
27709
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -28551,7 +28579,7 @@ async function processClaudePairSessions(agents) {
|
|
|
28551
28579
|
snapshotPairConfig,
|
|
28552
28580
|
// ENG-11659: result -> report body + the manager.log line that records it.
|
|
28553
28581
|
planPairStartReport
|
|
28554
|
-
} = await import("../claude-pair-runtime-
|
|
28582
|
+
} = await import("../claude-pair-runtime-DI4N4NQ5.js");
|
|
28555
28583
|
const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
|
|
28556
28584
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
28557
28585
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|