@integrity-labs/agt-cli 0.28.1253 → 0.28.1254
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-5ZXNFF4W.js → api-client-EW7NBMWI.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-233HXJ2D.js → chunk-AZOT5URF.js} +2 -2
- package/dist/{chunk-UHT6L77A.js → chunk-EWD3K6YD.js} +40 -3
- package/dist/{chunk-UHT6L77A.js.map → chunk-EWD3K6YD.js.map} +1 -1
- package/dist/{chunk-2HF77X4C.js → chunk-FD3GWWVL.js} +3 -3
- package/dist/{chunk-UBGHZ2O2.js → chunk-SEXB6LTM.js} +194 -9
- package/dist/chunk-SEXB6LTM.js.map +1 -0
- package/dist/{chunk-CMLBFY5C.js → chunk-ZDON4IXL.js} +2 -2
- package/dist/{chunk-GRTMENH5.js → chunk-ZKLOPCWS.js} +20 -9
- package/dist/{chunk-GRTMENH5.js.map → chunk-ZKLOPCWS.js.map} +1 -1
- package/dist/{claude-code-updater-EKABTDXO.js → claude-code-updater-CHEL6LOF.js} +3 -3
- package/dist/{claude-pair-runtime-ZA24UQ7V.js → claude-pair-runtime-AGJH54AR.js} +3 -3
- package/dist/lib/manager-worker.js +50 -33
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +33 -2
- package/dist/mcp/index.js +33 -2
- package/dist/mcp/origami.js +33 -2
- package/dist/mcp/remote-oauth-proxy.js +142 -5
- package/dist/mcp/slack-channel.js +33 -2
- package/dist/mcp/telegram-channel.js +33 -2
- package/dist/{persistent-session-HXK2Z6GH.js → persistent-session-HQPQPNPK.js} +4 -4
- package/dist/{responsiveness-probe-TPKISRGQ.js → responsiveness-probe-6GNSPLD2.js} +4 -4
- package/dist/{session-auth-dead-KMB35KRB.js → session-auth-dead-4Z24MU6C.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-UBGHZ2O2.js.map +0 -1
- /package/dist/{api-client-5ZXNFF4W.js.map → api-client-EW7NBMWI.js.map} +0 -0
- /package/dist/{chunk-233HXJ2D.js.map → chunk-AZOT5URF.js.map} +0 -0
- /package/dist/{chunk-2HF77X4C.js.map → chunk-FD3GWWVL.js.map} +0 -0
- /package/dist/{chunk-CMLBFY5C.js.map → chunk-ZDON4IXL.js.map} +0 -0
- /package/dist/{claude-code-updater-EKABTDXO.js.map → claude-code-updater-CHEL6LOF.js.map} +0 -0
- /package/dist/{claude-pair-runtime-ZA24UQ7V.js.map → claude-pair-runtime-AGJH54AR.js.map} +0 -0
- /package/dist/{persistent-session-HXK2Z6GH.js.map → persistent-session-HQPQPNPK.js.map} +0 -0
- /package/dist/{responsiveness-probe-TPKISRGQ.js.map → responsiveness-probe-6GNSPLD2.js.map} +0 -0
- /package/dist/{session-auth-dead-KMB35KRB.js.map → session-auth-dead-4Z24MU6C.js.map} +0 -0
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
probeClaudeInstalls,
|
|
14
14
|
readsAsNativeInstall,
|
|
15
15
|
shouldRunClaudeCodeUpdater
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AZOT5URF.js";
|
|
17
17
|
import "./chunk-XWVM4KPK.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-EWD3K6YD.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-CHEL6LOF.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
redactPaneFrame,
|
|
10
10
|
sanitizeTerminalFrame
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EWD3K6YD.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-HQPQPNPK.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-AGJH54AR.js.map
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
tripClass,
|
|
70
70
|
writeEtcEnvironment,
|
|
71
71
|
writeProfileDScript
|
|
72
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-SEXB6LTM.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-FD3GWWVL.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-ZKLOPCWS.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-ZDON4IXL.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-AZOT5URF.js";
|
|
210
210
|
import {
|
|
211
211
|
parsePsRows,
|
|
212
212
|
reapOrphanChannelMcps
|
|
@@ -236,6 +236,7 @@ import {
|
|
|
236
236
|
INTEGRATIONS_SECTION_START,
|
|
237
237
|
KANBAN_CHECK_COMMAND,
|
|
238
238
|
KANBAN_NUDGE_ACTIONABLE_STATUSES,
|
|
239
|
+
KANBAN_TERMINAL_STATES,
|
|
239
240
|
MANAGER_LIVENESS_HEARTBEAT_INTERVAL_MS,
|
|
240
241
|
MAX_AVATAR_ENV_URL_BYTES,
|
|
241
242
|
NO_FAILING_TURN_RUN,
|
|
@@ -333,7 +334,7 @@ import {
|
|
|
333
334
|
stabiliseResetInstant,
|
|
334
335
|
sumTranscriptUsageInWindow,
|
|
335
336
|
summarizeTranscriptActivity
|
|
336
|
-
} from "../chunk-
|
|
337
|
+
} from "../chunk-EWD3K6YD.js";
|
|
337
338
|
import {
|
|
338
339
|
CLAUDE_CONFIG_DIR_ENV,
|
|
339
340
|
claudeConfigDirFor,
|
|
@@ -10629,6 +10630,7 @@ function releaseScheduledCardDelivery(cardId) {
|
|
|
10629
10630
|
function markScheduledCardDeliveryComplete(cardId) {
|
|
10630
10631
|
completedScheduledCards.add(cardId);
|
|
10631
10632
|
}
|
|
10633
|
+
var ADOPTED_CARD_NO_RUN = "";
|
|
10632
10634
|
function trackScheduledRun(codeName, cardId, runId) {
|
|
10633
10635
|
let m = scheduledRunsByCode.get(codeName);
|
|
10634
10636
|
if (!m) {
|
|
@@ -10648,7 +10650,7 @@ function closeScheduledRunsForCode(codeName, outcome, reason) {
|
|
|
10648
10650
|
if (!m || m.size === 0) return;
|
|
10649
10651
|
scheduledRunsByCode.delete(codeName);
|
|
10650
10652
|
for (const runId of m.values()) {
|
|
10651
|
-
void finishRun(runId, outcome, { outcomeMessage: reason });
|
|
10653
|
+
if (runId !== ADOPTED_CARD_NO_RUN) void finishRun(runId, outcome, { outcomeMessage: reason });
|
|
10652
10654
|
}
|
|
10653
10655
|
}
|
|
10654
10656
|
var sessionRunsByCode = /* @__PURE__ */ new Map();
|
|
@@ -10974,6 +10976,11 @@ async function recordDeliveryFailureOnCard(codeName, agentId, cardId, failure) {
|
|
|
10974
10976
|
}
|
|
10975
10977
|
}
|
|
10976
10978
|
async function reconcileScheduledRuns(codeName, agentId, board) {
|
|
10979
|
+
for (const item of board) {
|
|
10980
|
+
if (item.source_type !== "scheduled_task") continue;
|
|
10981
|
+
if (KANBAN_TERMINAL_STATES.has(item.status)) continue;
|
|
10982
|
+
if (!isScheduledCardTracked(item.id)) trackScheduledRun(codeName, item.id, item.run_id ?? ADOPTED_CARD_NO_RUN);
|
|
10983
|
+
}
|
|
10977
10984
|
const m = scheduledRunsByCode.get(codeName);
|
|
10978
10985
|
if (!m || m.size === 0) return;
|
|
10979
10986
|
const byId = new Map(board.map((i) => [i.id, i]));
|
|
@@ -10984,10 +10991,10 @@ async function reconcileScheduledRuns(codeName, agentId, board) {
|
|
|
10984
10991
|
const result = await deliverScheduledCardResult(codeName, agentId, cardId, "self");
|
|
10985
10992
|
if (result === "retry" || result === "in_flight") continue;
|
|
10986
10993
|
m.delete(cardId);
|
|
10987
|
-
void finishRun(runId, "completed", { outcomeMessage: "scheduled-task card done" });
|
|
10994
|
+
if (runId !== ADOPTED_CARD_NO_RUN) void finishRun(runId, "completed", { outcomeMessage: "scheduled-task card done" });
|
|
10988
10995
|
} else if (card.status === "failed") {
|
|
10989
10996
|
m.delete(cardId);
|
|
10990
|
-
void finishRun(runId, "failed", { outcomeMessage: "scheduled-task card failed" });
|
|
10997
|
+
if (runId !== ADOPTED_CARD_NO_RUN) void finishRun(runId, "failed", { outcomeMessage: "scheduled-task card failed" });
|
|
10991
10998
|
}
|
|
10992
10999
|
}
|
|
10993
11000
|
if (m.size === 0) scheduledRunsByCode.delete(codeName);
|
|
@@ -11087,7 +11094,7 @@ async function routeScheduledTaskViaKanban(codeName, agentId, task, prompt, dura
|
|
|
11087
11094
|
` + formatRunMarker(run_id) : `A scheduled task just fired and it is now a card on YOUR board that YOU work. The schedule only controls WHEN this card arrives, not who executes it: nothing else runs it for you, so do the work yourself now. Card: id=${kanban_item_id} title=${JSON.stringify(task.name)}. Call kanban_move("${kanban_item_id}", "in_progress"), do the work described on the card, then write the finished result onto the card and mark it done. Do NOT send, post, or message the result to anyone yourself \u2014 the result you write on the card IS the message that will be delivered to the user; delivery happens automatically from the card.
|
|
11088
11095
|
` + suppressionTeaching + formatRunMarker(run_id);
|
|
11089
11096
|
stampScheduledTurnMarker(codeName, task.taskId, resolveScheduledSlackTarget(task));
|
|
11090
|
-
|
|
11097
|
+
const queueDurableNudge = async () => {
|
|
11091
11098
|
const enqueued = await enqueueScheduledTaskNotice({
|
|
11092
11099
|
agentId,
|
|
11093
11100
|
taskId: task.taskId,
|
|
@@ -11101,11 +11108,7 @@ async function routeScheduledTaskViaKanban(codeName, agentId, task, prompt, dura
|
|
|
11101
11108
|
// not be written); the name lets that summary say WHICH task fired.
|
|
11102
11109
|
taskName: task.name
|
|
11103
11110
|
});
|
|
11104
|
-
if (!enqueued)
|
|
11105
|
-
log(`[scheduled-kanban] durable nudge enqueue failed for task '${task.name}' on '${codeName}' \u2014 closing card + run`);
|
|
11106
|
-
void finishRun(run_id, "failed", { outcomeMessage: "scheduled-task durable nudge enqueue failed", completeKanbanItemId: kanban_item_id });
|
|
11107
|
-
return false;
|
|
11108
|
-
}
|
|
11111
|
+
if (!enqueued) return false;
|
|
11109
11112
|
try {
|
|
11110
11113
|
const doorbell = directChatDoorbellPath(agentId, homedir14());
|
|
11111
11114
|
mkdirSync12(dirname9(doorbell), { recursive: true });
|
|
@@ -11113,6 +11116,14 @@ async function routeScheduledTaskViaKanban(codeName, agentId, task, prompt, dura
|
|
|
11113
11116
|
} catch (err) {
|
|
11114
11117
|
log(`[scheduled-kanban] doorbell ring failed for '${codeName}': ${err.message} (notice still queued)`);
|
|
11115
11118
|
}
|
|
11119
|
+
return true;
|
|
11120
|
+
};
|
|
11121
|
+
if (durableDelivery) {
|
|
11122
|
+
if (!await queueDurableNudge()) {
|
|
11123
|
+
log(`[scheduled-kanban] durable nudge enqueue failed for task '${task.name}' on '${codeName}' \u2014 closing card + run`);
|
|
11124
|
+
void finishRun(run_id, "failed", { outcomeMessage: "scheduled-task durable nudge enqueue failed", completeKanbanItemId: kanban_item_id });
|
|
11125
|
+
return false;
|
|
11126
|
+
}
|
|
11116
11127
|
} else {
|
|
11117
11128
|
let injectStatus;
|
|
11118
11129
|
try {
|
|
@@ -11124,9 +11135,15 @@ async function routeScheduledTaskViaKanban(codeName, agentId, task, prompt, dura
|
|
|
11124
11135
|
}
|
|
11125
11136
|
const { delivered, fallbackUsed } = injectStatus;
|
|
11126
11137
|
if (!delivered && !fallbackUsed) {
|
|
11127
|
-
|
|
11128
|
-
|
|
11129
|
-
|
|
11138
|
+
if (!await queueDurableNudge()) {
|
|
11139
|
+
clearScheduledTurnMarkerForTask(codeName, task.taskId);
|
|
11140
|
+
log(`[scheduled-kanban] nudge not delivered and enqueue failed for task '${task.name}' on '${codeName}' \u2014 closing card + run`);
|
|
11141
|
+
void finishRun(run_id, "failed", { outcomeMessage: "scheduled-task nudge undeliverable", completeKanbanItemId: kanban_item_id });
|
|
11142
|
+
return false;
|
|
11143
|
+
}
|
|
11144
|
+
log(`[scheduled-kanban] nudge not delivered for task '${task.name}' on '${codeName}' \u2014 card ${kanban_item_id} left in todo, nudge queued for the next session`);
|
|
11145
|
+
trackScheduledRun(codeName, kanban_item_id, run_id);
|
|
11146
|
+
return true;
|
|
11130
11147
|
}
|
|
11131
11148
|
if (!delivered && fallbackUsed) {
|
|
11132
11149
|
log(`[scheduled-kanban] nudge sent via send-keys (unverified) for task '${task.name}' on '${codeName}' \u2014 proceeding without oneshot fallback`);
|
|
@@ -14133,7 +14150,7 @@ function createFileMigrationReportIO(codeName, log2) {
|
|
|
14133
14150
|
};
|
|
14134
14151
|
}
|
|
14135
14152
|
var managerHostPost = async (path, body) => {
|
|
14136
|
-
const { api: api2, ApiError: ApiError3 } = await import("../api-client-
|
|
14153
|
+
const { api: api2, ApiError: ApiError3 } = await import("../api-client-EW7NBMWI.js");
|
|
14137
14154
|
try {
|
|
14138
14155
|
const json = await api2.post(path, body);
|
|
14139
14156
|
return { status: 200, json };
|
|
@@ -16172,7 +16189,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
16172
16189
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
16173
16190
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
16174
16191
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
16175
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
16192
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-6GNSPLD2.js");
|
|
16176
16193
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
16177
16194
|
if (newest === null) return null;
|
|
16178
16195
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -16988,7 +17005,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
16988
17005
|
var lastVersionCheckAt = 0;
|
|
16989
17006
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
16990
17007
|
var lastResponsivenessProbeAt = 0;
|
|
16991
|
-
var agtCliVersion = true ? "0.28.
|
|
17008
|
+
var agtCliVersion = true ? "0.28.1254" : "dev";
|
|
16992
17009
|
function resolveBrewPath(execFileSync4) {
|
|
16993
17010
|
try {
|
|
16994
17011
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -18987,7 +19004,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
18987
19004
|
if (codeNames.length === 0) return;
|
|
18988
19005
|
void (async () => {
|
|
18989
19006
|
try {
|
|
18990
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19007
|
+
const { collectDiagnostics } = await import("../persistent-session-HQPQPNPK.js");
|
|
18991
19008
|
await api.post("/host/heartbeat", {
|
|
18992
19009
|
host_id: hostId,
|
|
18993
19010
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -19130,7 +19147,7 @@ async function pollCycleInner() {
|
|
|
19130
19147
|
}
|
|
19131
19148
|
try {
|
|
19132
19149
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
19133
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19150
|
+
const { collectDiagnostics } = await import("../persistent-session-HQPQPNPK.js");
|
|
19134
19151
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
19135
19152
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) : void 0;
|
|
19136
19153
|
let tailscaleHostname;
|
|
@@ -19395,7 +19412,7 @@ async function pollCycleInner() {
|
|
|
19395
19412
|
}
|
|
19396
19413
|
try {
|
|
19397
19414
|
const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
|
|
19398
|
-
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-
|
|
19415
|
+
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-CHEL6LOF.js");
|
|
19399
19416
|
const securityFloor = currentSecurityFloor();
|
|
19400
19417
|
claudeUpdaterInFlight = true;
|
|
19401
19418
|
if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
|
|
@@ -19430,7 +19447,7 @@ async function pollCycleInner() {
|
|
|
19430
19447
|
collectPanelessActivityProbes,
|
|
19431
19448
|
getResponsivenessIntervalMs,
|
|
19432
19449
|
occupancyQualificationClassifications
|
|
19433
|
-
} = await import("../responsiveness-probe-
|
|
19450
|
+
} = await import("../responsiveness-probe-6GNSPLD2.js");
|
|
19434
19451
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
19435
19452
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
19436
19453
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -19547,7 +19564,7 @@ async function pollCycleInner() {
|
|
|
19547
19564
|
collectResponsivenessProbes,
|
|
19548
19565
|
livePendingInboundOldestAgeSeconds,
|
|
19549
19566
|
parkPendingInbound
|
|
19550
|
-
} = await import("../responsiveness-probe-
|
|
19567
|
+
} = await import("../responsiveness-probe-6GNSPLD2.js");
|
|
19551
19568
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-5PCBGRNY.js");
|
|
19552
19569
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
19553
19570
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -19833,7 +19850,7 @@ async function pollCycleInner() {
|
|
|
19833
19850
|
}
|
|
19834
19851
|
}
|
|
19835
19852
|
);
|
|
19836
|
-
const { parkPendingInbound } = await import("../responsiveness-probe-
|
|
19853
|
+
const { parkPendingInbound } = await import("../responsiveness-probe-6GNSPLD2.js");
|
|
19837
19854
|
const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
|
|
19838
19855
|
paneFatalStreak.delete(codeName);
|
|
19839
19856
|
paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
|
|
@@ -19864,7 +19881,7 @@ async function pollCycleInner() {
|
|
|
19864
19881
|
TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
|
|
19865
19882
|
bindSourceEscalations
|
|
19866
19883
|
} = await import("../transcript-mount-health-OHE6IVJV.js");
|
|
19867
|
-
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-
|
|
19884
|
+
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-HQPQPNPK.js");
|
|
19868
19885
|
const mountConfig = resolveTranscriptMountConfig();
|
|
19869
19886
|
const liveAgents = agentState.persistentSessionAgents;
|
|
19870
19887
|
for (const tracked of [
|
|
@@ -20029,7 +20046,7 @@ async function pollCycleInner() {
|
|
|
20029
20046
|
}
|
|
20030
20047
|
try {
|
|
20031
20048
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
|
|
20032
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
20049
|
+
const { probeSessionAuth } = await import("../session-auth-dead-4Z24MU6C.js");
|
|
20033
20050
|
const observations = [];
|
|
20034
20051
|
const pendingCacheCommits = [];
|
|
20035
20052
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -24957,7 +24974,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
24957
24974
|
if (!refreshData) return;
|
|
24958
24975
|
const framework = refreshData.agent?.framework ?? agentFrameworkCache.get(codeName) ?? DEFAULT_FRAMEWORK;
|
|
24959
24976
|
const hostId = await getHostId();
|
|
24960
|
-
const parkForRestart = await import("../responsiveness-probe-
|
|
24977
|
+
const parkForRestart = await import("../responsiveness-probe-6GNSPLD2.js").then(
|
|
24961
24978
|
(m) => m.parkPendingInbound,
|
|
24962
24979
|
(err) => err
|
|
24963
24980
|
);
|
|
@@ -25030,7 +25047,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
25030
25047
|
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}`));
|
|
25031
25048
|
void (async () => {
|
|
25032
25049
|
try {
|
|
25033
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
25050
|
+
const { collectDiagnostics } = await import("../persistent-session-HQPQPNPK.js");
|
|
25034
25051
|
await api.post("/host/heartbeat", {
|
|
25035
25052
|
host_id: hostId,
|
|
25036
25053
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -25081,7 +25098,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
25081
25098
|
}
|
|
25082
25099
|
try {
|
|
25083
25100
|
const hostId = await getHostId();
|
|
25084
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
25101
|
+
const { collectDiagnostics } = await import("../persistent-session-HQPQPNPK.js");
|
|
25085
25102
|
await api.post("/host/heartbeat", {
|
|
25086
25103
|
host_id: hostId,
|
|
25087
25104
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -25783,7 +25800,7 @@ async function processClaudePairSessions(agents) {
|
|
|
25783
25800
|
snapshotPairConfig,
|
|
25784
25801
|
// ENG-11659: result -> report body + the manager.log line that records it.
|
|
25785
25802
|
planPairStartReport
|
|
25786
|
-
} = await import("../claude-pair-runtime-
|
|
25803
|
+
} = await import("../claude-pair-runtime-AGJH54AR.js");
|
|
25787
25804
|
const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
|
|
25788
25805
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
25789
25806
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|