@integrity-labs/agt-cli 0.28.1256 → 0.28.1258
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-U52DMNUZ.js → api-client-E5AB7DBB.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-3DOSUOHP.js → chunk-AMZ5XSTY.js} +2 -2
- package/dist/{chunk-5MAK4D4P.js → chunk-DISUKAOD.js} +3 -3
- package/dist/{chunk-SR36GVLZ.js → chunk-GSNAPMCA.js} +3 -3
- package/dist/{chunk-47XHFW55.js → chunk-MXDVYW5G.js} +2 -2
- package/dist/{chunk-47XHFW55.js.map → chunk-MXDVYW5G.js.map} +1 -1
- package/dist/{chunk-KYA2WIES.js → chunk-W2TGJEF3.js} +15 -12
- package/dist/chunk-W2TGJEF3.js.map +1 -0
- package/dist/{chunk-4RTRYTAS.js → chunk-ZRQWRXGK.js} +2 -2
- package/dist/{claude-code-updater-VKTFAUV3.js → claude-code-updater-3YFSB22P.js} +3 -3
- package/dist/{claude-pair-runtime-WMP5O3JG.js → claude-pair-runtime-W4XS6BR2.js} +3 -3
- package/dist/lib/manager-worker.js +73 -46
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/origami.js +1 -1
- package/dist/mcp/slack-channel.js +3 -2
- package/dist/mcp/telegram-channel.js +3 -2
- package/dist/{persistent-session-UXXRNZ74.js → persistent-session-BBEOA3TR.js} +4 -4
- package/dist/{responsiveness-probe-X4QJKKRR.js → responsiveness-probe-X32GL24W.js} +4 -4
- package/dist/{session-auth-dead-T4FSSZWG.js → session-auth-dead-5F3NEK57.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-KYA2WIES.js.map +0 -1
- /package/dist/{api-client-U52DMNUZ.js.map → api-client-E5AB7DBB.js.map} +0 -0
- /package/dist/{chunk-3DOSUOHP.js.map → chunk-AMZ5XSTY.js.map} +0 -0
- /package/dist/{chunk-5MAK4D4P.js.map → chunk-DISUKAOD.js.map} +0 -0
- /package/dist/{chunk-SR36GVLZ.js.map → chunk-GSNAPMCA.js.map} +0 -0
- /package/dist/{chunk-4RTRYTAS.js.map → chunk-ZRQWRXGK.js.map} +0 -0
- /package/dist/{claude-code-updater-VKTFAUV3.js.map → claude-code-updater-3YFSB22P.js.map} +0 -0
- /package/dist/{claude-pair-runtime-WMP5O3JG.js.map → claude-pair-runtime-W4XS6BR2.js.map} +0 -0
- /package/dist/{persistent-session-UXXRNZ74.js.map → persistent-session-BBEOA3TR.js.map} +0 -0
- /package/dist/{responsiveness-probe-X4QJKKRR.js.map → responsiveness-probe-X32GL24W.js.map} +0 -0
- /package/dist/{session-auth-dead-T4FSSZWG.js.map → session-auth-dead-5F3NEK57.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeClaudeProjectPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MXDVYW5G.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/daily-session.ts
|
|
6
6
|
import { randomUUID } from "crypto";
|
|
@@ -244,4 +244,4 @@ export {
|
|
|
244
244
|
peekPreviousSession,
|
|
245
245
|
readDailySessionPin
|
|
246
246
|
};
|
|
247
|
-
//# sourceMappingURL=chunk-
|
|
247
|
+
//# sourceMappingURL=chunk-ZRQWRXGK.js.map
|
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
probeClaudeInstalls,
|
|
14
14
|
readsAsNativeInstall,
|
|
15
15
|
shouldRunClaudeCodeUpdater
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AMZ5XSTY.js";
|
|
17
17
|
import "./chunk-XWVM4KPK.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-MXDVYW5G.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-3YFSB22P.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
redactPaneFrame,
|
|
10
10
|
sanitizeTerminalFrame
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MXDVYW5G.js";
|
|
12
12
|
import {
|
|
13
13
|
CLAUDE_CONFIG_DIR_ENV,
|
|
14
14
|
claudeConfigDirFor,
|
|
@@ -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-BBEOA3TR.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-W4XS6BR2.js.map
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
tripClass,
|
|
70
70
|
writeEtcEnvironment,
|
|
71
71
|
writeProfileDScript
|
|
72
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-W2TGJEF3.js";
|
|
73
73
|
import {
|
|
74
74
|
ApiError,
|
|
75
75
|
adoptHostKeyInProcess,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
probeHostKey,
|
|
88
88
|
requireHost,
|
|
89
89
|
setConfigHash
|
|
90
|
-
} from "../chunk-
|
|
90
|
+
} from "../chunk-DISUKAOD.js";
|
|
91
91
|
import {
|
|
92
92
|
BLOCKED_ON_PROMPT_DECISION,
|
|
93
93
|
CHANNEL_SECRET_ENV_KEYS,
|
|
@@ -171,7 +171,7 @@ import {
|
|
|
171
171
|
webFetchBaselineValue,
|
|
172
172
|
webFetchRestartNeeded,
|
|
173
173
|
writeEgressAllowlist
|
|
174
|
-
} from "../chunk-
|
|
174
|
+
} from "../chunk-GSNAPMCA.js";
|
|
175
175
|
import {
|
|
176
176
|
isAgentIdle,
|
|
177
177
|
isStaleForToday,
|
|
@@ -182,7 +182,7 @@ import {
|
|
|
182
182
|
subagentActivityAgeSeconds,
|
|
183
183
|
subagentTranscriptDir,
|
|
184
184
|
transcriptActivityAgeSeconds
|
|
185
|
-
} from "../chunk-
|
|
185
|
+
} from "../chunk-ZRQWRXGK.js";
|
|
186
186
|
import {
|
|
187
187
|
classifyUnanswerablePane,
|
|
188
188
|
focusedConfirmDialogBlock,
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
runSafeCleanup,
|
|
207
207
|
tightestDiskStat,
|
|
208
208
|
withPackageCacheLock
|
|
209
|
-
} from "../chunk-
|
|
209
|
+
} from "../chunk-AMZ5XSTY.js";
|
|
210
210
|
import {
|
|
211
211
|
parsePsRows,
|
|
212
212
|
reapOrphanChannelMcps
|
|
@@ -334,7 +334,7 @@ import {
|
|
|
334
334
|
stabiliseResetInstant,
|
|
335
335
|
sumTranscriptUsageInWindow,
|
|
336
336
|
summarizeTranscriptActivity
|
|
337
|
-
} from "../chunk-
|
|
337
|
+
} from "../chunk-MXDVYW5G.js";
|
|
338
338
|
import {
|
|
339
339
|
CLAUDE_CONFIG_DIR_ENV,
|
|
340
340
|
claudeConfigDirFor,
|
|
@@ -527,6 +527,36 @@ function staleSessionStopConfirmed(sessionState) {
|
|
|
527
527
|
return sessionState === "dead";
|
|
528
528
|
}
|
|
529
529
|
|
|
530
|
+
// src/lib/config-reload-confirm.ts
|
|
531
|
+
function staleReloadTmuxSession(framework, codeName) {
|
|
532
|
+
return framework === "opencode" ? opencodeTmuxSession(codeName) : `agt-${codeName}`;
|
|
533
|
+
}
|
|
534
|
+
function confirmConfigReload(input, deps) {
|
|
535
|
+
if (!configReloadConfirmed({ pending: input.pending, freshFetch: input.freshFetch, rendered: input.rendered })) {
|
|
536
|
+
return { action: "not_ready" };
|
|
537
|
+
}
|
|
538
|
+
const session = staleReloadTmuxSession(input.framework, input.codeName);
|
|
539
|
+
let stopped = false;
|
|
540
|
+
if (deps.probe(session) === "alive") {
|
|
541
|
+
deps.log(
|
|
542
|
+
`[restart] '${input.codeName}' is running config from before the reload's fresh render - restarting it (ENG-11912)`
|
|
543
|
+
);
|
|
544
|
+
if (input.framework === "opencode") deps.stopOpencode(input.codeName);
|
|
545
|
+
else deps.stopClaudeCode(input.codeName);
|
|
546
|
+
stopped = true;
|
|
547
|
+
}
|
|
548
|
+
const sessionState = deps.probe(session);
|
|
549
|
+
if (staleSessionStopConfirmed(sessionState)) {
|
|
550
|
+
deps.confirm(input.agentId);
|
|
551
|
+
deps.log(`[restart] config-change reload for '${input.codeName}' rendered from fresh integrations - acking (ENG-11912)`);
|
|
552
|
+
return { action: "acked", stopped };
|
|
553
|
+
}
|
|
554
|
+
deps.log(
|
|
555
|
+
`[restart] STALE_SESSION_STOP_FAILED agent='${input.codeName}' session_state=${sessionState}: the session spawned from pre-reload config is still running or could not be probed, so the config-change reload stays pending and the stop is retried next poll (ENG-11912)`
|
|
556
|
+
);
|
|
557
|
+
return { action: "stop_unconfirmed", sessionState, stopped };
|
|
558
|
+
}
|
|
559
|
+
|
|
530
560
|
// src/lib/manager-worker.ts
|
|
531
561
|
import { createHash as createHash20 } from "crypto";
|
|
532
562
|
import { readFileSync as readFileSync35, writeFileSync as writeFileSync18, mkdirSync as mkdirSync16, existsSync as existsSync19, rmSync as rmSync8, readdirSync as readdirSync14, statSync as statSync15, unlinkSync as unlinkSync6, renameSync as renameSync11, utimesSync as utimesSync4, readlinkSync as readlinkSync2 } from "fs";
|
|
@@ -14157,7 +14187,7 @@ function createFileMigrationReportIO(codeName, log2) {
|
|
|
14157
14187
|
};
|
|
14158
14188
|
}
|
|
14159
14189
|
var managerHostPost = async (path, body) => {
|
|
14160
|
-
const { api: api2, ApiError: ApiError3 } = await import("../api-client-
|
|
14190
|
+
const { api: api2, ApiError: ApiError3 } = await import("../api-client-E5AB7DBB.js");
|
|
14161
14191
|
try {
|
|
14162
14192
|
const json = await api2.post(path, body);
|
|
14163
14193
|
return { status: 200, json };
|
|
@@ -16196,7 +16226,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
16196
16226
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
16197
16227
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
16198
16228
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
16199
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
16229
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-X32GL24W.js");
|
|
16200
16230
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
16201
16231
|
if (newest === null) return null;
|
|
16202
16232
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -17012,7 +17042,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
17012
17042
|
var lastVersionCheckAt = 0;
|
|
17013
17043
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
17014
17044
|
var lastResponsivenessProbeAt = 0;
|
|
17015
|
-
var agtCliVersion = true ? "0.28.
|
|
17045
|
+
var agtCliVersion = true ? "0.28.1258" : "dev";
|
|
17016
17046
|
function resolveBrewPath(execFileSync4) {
|
|
17017
17047
|
try {
|
|
17018
17048
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -19011,7 +19041,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
19011
19041
|
if (codeNames.length === 0) return;
|
|
19012
19042
|
void (async () => {
|
|
19013
19043
|
try {
|
|
19014
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19044
|
+
const { collectDiagnostics } = await import("../persistent-session-BBEOA3TR.js");
|
|
19015
19045
|
await api.post("/host/heartbeat", {
|
|
19016
19046
|
host_id: hostId,
|
|
19017
19047
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -19154,7 +19184,7 @@ async function pollCycleInner() {
|
|
|
19154
19184
|
}
|
|
19155
19185
|
try {
|
|
19156
19186
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
19157
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19187
|
+
const { collectDiagnostics } = await import("../persistent-session-BBEOA3TR.js");
|
|
19158
19188
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
19159
19189
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) : void 0;
|
|
19160
19190
|
let tailscaleHostname;
|
|
@@ -19419,7 +19449,7 @@ async function pollCycleInner() {
|
|
|
19419
19449
|
}
|
|
19420
19450
|
try {
|
|
19421
19451
|
const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
|
|
19422
|
-
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-
|
|
19452
|
+
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-3YFSB22P.js");
|
|
19423
19453
|
const securityFloor = currentSecurityFloor();
|
|
19424
19454
|
claudeUpdaterInFlight = true;
|
|
19425
19455
|
if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
|
|
@@ -19454,7 +19484,7 @@ async function pollCycleInner() {
|
|
|
19454
19484
|
collectPanelessActivityProbes,
|
|
19455
19485
|
getResponsivenessIntervalMs,
|
|
19456
19486
|
occupancyQualificationClassifications
|
|
19457
|
-
} = await import("../responsiveness-probe-
|
|
19487
|
+
} = await import("../responsiveness-probe-X32GL24W.js");
|
|
19458
19488
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
19459
19489
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
19460
19490
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -19571,7 +19601,7 @@ async function pollCycleInner() {
|
|
|
19571
19601
|
collectResponsivenessProbes,
|
|
19572
19602
|
livePendingInboundOldestAgeSeconds,
|
|
19573
19603
|
parkPendingInbound
|
|
19574
|
-
} = await import("../responsiveness-probe-
|
|
19604
|
+
} = await import("../responsiveness-probe-X32GL24W.js");
|
|
19575
19605
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-5PCBGRNY.js");
|
|
19576
19606
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
19577
19607
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -19857,7 +19887,7 @@ async function pollCycleInner() {
|
|
|
19857
19887
|
}
|
|
19858
19888
|
}
|
|
19859
19889
|
);
|
|
19860
|
-
const { parkPendingInbound } = await import("../responsiveness-probe-
|
|
19890
|
+
const { parkPendingInbound } = await import("../responsiveness-probe-X32GL24W.js");
|
|
19861
19891
|
const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
|
|
19862
19892
|
paneFatalStreak.delete(codeName);
|
|
19863
19893
|
paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
|
|
@@ -19888,7 +19918,7 @@ async function pollCycleInner() {
|
|
|
19888
19918
|
TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
|
|
19889
19919
|
bindSourceEscalations
|
|
19890
19920
|
} = await import("../transcript-mount-health-OHE6IVJV.js");
|
|
19891
|
-
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-
|
|
19921
|
+
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-BBEOA3TR.js");
|
|
19892
19922
|
const mountConfig = resolveTranscriptMountConfig();
|
|
19893
19923
|
const liveAgents = agentState.persistentSessionAgents;
|
|
19894
19924
|
for (const tracked of [
|
|
@@ -20053,7 +20083,7 @@ async function pollCycleInner() {
|
|
|
20053
20083
|
}
|
|
20054
20084
|
try {
|
|
20055
20085
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
|
|
20056
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
20086
|
+
const { probeSessionAuth } = await import("../session-auth-dead-5F3NEK57.js");
|
|
20057
20087
|
const observations = [];
|
|
20058
20088
|
const pendingCacheCommits = [];
|
|
20059
20089
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -22648,35 +22678,32 @@ async function processAgent(agent, agentStates, managedToolkits) {
|
|
|
22648
22678
|
if (markMcpRepairPending(agentState.knownIntegrationHashes, agent.agent_id, orphanPruneFailed || mcpWriteFailed || !rotationHandled)) {
|
|
22649
22679
|
log(`[hot-reload] '${agent.code_name}': MCP config writes did not all land this poll; the next poll re-renders to repair them (ENG-11912)`);
|
|
22650
22680
|
}
|
|
22651
|
-
|
|
22652
|
-
|
|
22653
|
-
|
|
22654
|
-
|
|
22655
|
-
|
|
22656
|
-
|
|
22657
|
-
|
|
22658
|
-
|
|
22659
|
-
|
|
22660
|
-
|
|
22661
|
-
|
|
22662
|
-
|
|
22681
|
+
confirmConfigReload(
|
|
22682
|
+
{
|
|
22683
|
+
agentId: agent.agent_id,
|
|
22684
|
+
codeName: agent.code_name,
|
|
22685
|
+
framework: agentFrameworkCache.get(agent.code_name) ?? DEFAULT_FRAMEWORK,
|
|
22686
|
+
pending: configReloads.isPending(agent.agent_id),
|
|
22687
|
+
freshFetch: integrationsFresh,
|
|
22688
|
+
rendered: rotationHandled && !orphanPruneFailed && !mcpWriteFailed
|
|
22689
|
+
},
|
|
22690
|
+
{
|
|
22691
|
+
// CodeRabbit on ba9356f4: the tri-state probe, not the boolean health
|
|
22692
|
+
// checks, which read a tmux error (timeout, missing binary) as "no
|
|
22693
|
+
// session" and would confirm over a session that may still be running.
|
|
22694
|
+
probe: probeTmuxSession,
|
|
22695
|
+
stopOpencode: (code) => stopOpencodeSession(code, log),
|
|
22696
|
+
stopClaudeCode: (code) => {
|
|
22663
22697
|
try {
|
|
22664
|
-
syncExecFile("tmux", ["kill-session", "-t", `agt-${
|
|
22698
|
+
syncExecFile("tmux", ["kill-session", "-t", `agt-${code}`], { stdio: "ignore" });
|
|
22665
22699
|
} catch {
|
|
22666
22700
|
}
|
|
22667
|
-
stopPersistentSessionAndForgetMcpBaseline(
|
|
22668
|
-
}
|
|
22669
|
-
|
|
22670
|
-
|
|
22671
|
-
if (staleSessionStopConfirmed(staleSessionState)) {
|
|
22672
|
-
configReloads.confirm(agent.agent_id);
|
|
22673
|
-
log(`[restart] config-change reload for '${agent.code_name}' rendered from fresh integrations - acking (ENG-11912)`);
|
|
22674
|
-
} else {
|
|
22675
|
-
log(
|
|
22676
|
-
`[restart] STALE_SESSION_STOP_FAILED agent='${agent.code_name}' session_state=${staleSessionState}: the session spawned from pre-reload config is still running or could not be probed, so the config-change reload stays pending and the stop is retried next poll (ENG-11912)`
|
|
22677
|
-
);
|
|
22701
|
+
stopPersistentSessionAndForgetMcpBaseline(code, "integration-change");
|
|
22702
|
+
},
|
|
22703
|
+
confirm: (agentId) => configReloads.confirm(agentId),
|
|
22704
|
+
log
|
|
22678
22705
|
}
|
|
22679
|
-
|
|
22706
|
+
);
|
|
22680
22707
|
if (capSurfaceHash !== prevCapSurfaceHash && rotationHandled) {
|
|
22681
22708
|
if (intFlap.flapping) {
|
|
22682
22709
|
log(`[mcp-flap-dampener] suppressed integration-update notice for '${agent.code_name}' (set flapping, ENG-6123): ${capSurfaceNames}`);
|
|
@@ -24981,7 +25008,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
24981
25008
|
if (!refreshData) return;
|
|
24982
25009
|
const framework = refreshData.agent?.framework ?? agentFrameworkCache.get(codeName) ?? DEFAULT_FRAMEWORK;
|
|
24983
25010
|
const hostId = await getHostId();
|
|
24984
|
-
const parkForRestart = await import("../responsiveness-probe-
|
|
25011
|
+
const parkForRestart = await import("../responsiveness-probe-X32GL24W.js").then(
|
|
24985
25012
|
(m) => m.parkPendingInbound,
|
|
24986
25013
|
(err) => err
|
|
24987
25014
|
);
|
|
@@ -25054,7 +25081,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
25054
25081
|
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}`));
|
|
25055
25082
|
void (async () => {
|
|
25056
25083
|
try {
|
|
25057
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
25084
|
+
const { collectDiagnostics } = await import("../persistent-session-BBEOA3TR.js");
|
|
25058
25085
|
await api.post("/host/heartbeat", {
|
|
25059
25086
|
host_id: hostId,
|
|
25060
25087
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -25105,7 +25132,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
25105
25132
|
}
|
|
25106
25133
|
try {
|
|
25107
25134
|
const hostId = await getHostId();
|
|
25108
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
25135
|
+
const { collectDiagnostics } = await import("../persistent-session-BBEOA3TR.js");
|
|
25109
25136
|
await api.post("/host/heartbeat", {
|
|
25110
25137
|
host_id: hostId,
|
|
25111
25138
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -25807,7 +25834,7 @@ async function processClaudePairSessions(agents) {
|
|
|
25807
25834
|
snapshotPairConfig,
|
|
25808
25835
|
// ENG-11659: result -> report body + the manager.log line that records it.
|
|
25809
25836
|
planPairStartReport
|
|
25810
|
-
} = await import("../claude-pair-runtime-
|
|
25837
|
+
} = await import("../claude-pair-runtime-W4XS6BR2.js");
|
|
25811
25838
|
const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
|
|
25812
25839
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
25813
25840
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|