@integrity-labs/agt-cli 0.28.1295 → 0.28.1296
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-EPU52HGW.js → api-client-J7GYTC7I.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-J34KVUAW.js → chunk-2IJ5OXZZ.js} +3 -3
- package/dist/{chunk-OASIXWY3.js → chunk-F5ZW7Q4X.js} +5 -5
- package/dist/{chunk-M3OBVJQP.js → chunk-FPJRE3WT.js} +1 -1
- package/dist/{chunk-624FWL4A.js → chunk-KNU3KJIM.js} +2 -2
- package/dist/{chunk-SR46T5UD.js → chunk-LXFCVKHS.js} +2 -2
- package/dist/{chunk-BOYTADW6.js → chunk-M6L4UP45.js} +3 -3
- package/dist/{claude-code-updater-6AJKWY22.js → claude-code-updater-DLCZAKW3.js} +3 -3
- package/dist/{claude-pair-runtime-ATC6ZI6J.js → claude-pair-runtime-UX23M5HV.js} +3 -3
- package/dist/lib/manager-worker.js +21 -21
- package/dist/{persistent-session-WLSZATFE.js → persistent-session-FA6AKXTO.js} +4 -4
- package/dist/{responsiveness-probe-F6TL3DZB.js → responsiveness-probe-CC2HTG4P.js} +4 -4
- package/dist/{session-auth-dead-HJLK5AFT.js → session-auth-dead-3GTNMEIP.js} +3 -3
- package/package.json +1 -1
- /package/dist/{api-client-EPU52HGW.js.map → api-client-J7GYTC7I.js.map} +0 -0
- /package/dist/{chunk-J34KVUAW.js.map → chunk-2IJ5OXZZ.js.map} +0 -0
- /package/dist/{chunk-OASIXWY3.js.map → chunk-F5ZW7Q4X.js.map} +0 -0
- /package/dist/{chunk-M3OBVJQP.js.map → chunk-FPJRE3WT.js.map} +0 -0
- /package/dist/{chunk-624FWL4A.js.map → chunk-KNU3KJIM.js.map} +0 -0
- /package/dist/{chunk-SR46T5UD.js.map → chunk-LXFCVKHS.js.map} +0 -0
- /package/dist/{chunk-BOYTADW6.js.map → chunk-M6L4UP45.js.map} +0 -0
- /package/dist/{claude-code-updater-6AJKWY22.js.map → claude-code-updater-DLCZAKW3.js.map} +0 -0
- /package/dist/{claude-pair-runtime-ATC6ZI6J.js.map → claude-pair-runtime-UX23M5HV.js.map} +0 -0
- /package/dist/{persistent-session-WLSZATFE.js.map → persistent-session-FA6AKXTO.js.map} +0 -0
- /package/dist/{responsiveness-probe-F6TL3DZB.js.map → responsiveness-probe-CC2HTG4P.js.map} +0 -0
- /package/dist/{session-auth-dead-HJLK5AFT.js.map → session-auth-dead-3GTNMEIP.js.map} +0 -0
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
mintRotatedHostKey,
|
|
16
16
|
probeHostKey,
|
|
17
17
|
setConfigHash
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-M6L4UP45.js";
|
|
19
|
+
import "./chunk-FPJRE3WT.js";
|
|
20
20
|
import "./chunk-DGUM43GV.js";
|
|
21
21
|
export {
|
|
22
22
|
ApiError,
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
probeHostKey,
|
|
37
37
|
setConfigHash
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=api-client-
|
|
39
|
+
//# sourceMappingURL=api-client-J7GYTC7I.js.map
|
package/dist/bin/agt.js
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
success,
|
|
32
32
|
table,
|
|
33
33
|
warn
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-F5ZW7Q4X.js";
|
|
35
35
|
import {
|
|
36
36
|
ApiError,
|
|
37
37
|
PROD_AGT_HOST,
|
|
@@ -42,17 +42,17 @@ import {
|
|
|
42
42
|
getHost,
|
|
43
43
|
getHostId,
|
|
44
44
|
setActiveTeam
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-M6L4UP45.js";
|
|
46
46
|
import {
|
|
47
47
|
getProjectDir,
|
|
48
48
|
isSessionResumeDisabled,
|
|
49
49
|
readDirectChatSessionState
|
|
50
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-2IJ5OXZZ.js";
|
|
51
51
|
import {
|
|
52
52
|
markDailySessionSpawn,
|
|
53
53
|
sessionFileExists,
|
|
54
54
|
sessionTranscriptDir
|
|
55
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-KNU3KJIM.js";
|
|
56
56
|
import "../chunk-XL2HPM67.js";
|
|
57
57
|
import "../chunk-6HBXEJHO.js";
|
|
58
58
|
import "../chunk-XWVM4KPK.js";
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
requiredMcpWildcard,
|
|
86
86
|
resolveChannels,
|
|
87
87
|
serializeManifestForSlackCli
|
|
88
|
-
} from "../chunk-
|
|
88
|
+
} from "../chunk-FPJRE3WT.js";
|
|
89
89
|
import "../chunk-AIUIMEUS.js";
|
|
90
90
|
import "../chunk-DGUM43GV.js";
|
|
91
91
|
|
|
@@ -5207,7 +5207,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
5207
5207
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
5208
5208
|
import chalk17 from "chalk";
|
|
5209
5209
|
import ora15 from "ora";
|
|
5210
|
-
var cliVersion = true ? "0.28.
|
|
5210
|
+
var cliVersion = true ? "0.28.1296" : "dev";
|
|
5211
5211
|
async function fetchLatestVersion() {
|
|
5212
5212
|
const host2 = getHost();
|
|
5213
5213
|
if (!host2) return null;
|
|
@@ -6467,7 +6467,7 @@ function handleError(err) {
|
|
|
6467
6467
|
}
|
|
6468
6468
|
|
|
6469
6469
|
// src/bin/agt.ts
|
|
6470
|
-
var cliVersion2 = true ? "0.28.
|
|
6470
|
+
var cliVersion2 = true ? "0.28.1296" : "dev";
|
|
6471
6471
|
var program = new Command();
|
|
6472
6472
|
program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
|
|
6473
6473
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
rotateDailySession,
|
|
5
5
|
sessionFileExists,
|
|
6
6
|
todayLocalIso
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KNU3KJIM.js";
|
|
8
8
|
import {
|
|
9
9
|
classifyUnanswerablePane,
|
|
10
10
|
customApiKeyDialogKeys,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
remoteMcpConnectionEnvInfix,
|
|
55
55
|
remoteMcpConnectionLabel,
|
|
56
56
|
remoteMcpConnectionScopedEnvVar
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-FPJRE3WT.js";
|
|
58
58
|
import {
|
|
59
59
|
CLAUDE_CONFIG_DIR_ENV,
|
|
60
60
|
approveApiKeyInClaudeConfig,
|
|
@@ -6574,4 +6574,4 @@ export {
|
|
|
6574
6574
|
stopAllSessionsAndWait,
|
|
6575
6575
|
getProjectDir
|
|
6576
6576
|
};
|
|
6577
|
-
//# sourceMappingURL=chunk-
|
|
6577
|
+
//# sourceMappingURL=chunk-2IJ5OXZZ.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
exchangeApiKey,
|
|
3
3
|
getApiKey,
|
|
4
4
|
getHost
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-M6L4UP45.js";
|
|
6
6
|
import {
|
|
7
7
|
LATE_BOUND_VARS,
|
|
8
8
|
PLATFORM_DENY_PERMISSIONS,
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
warnIgnoredIsolationAllowlist,
|
|
27
27
|
withheldRemoteMcpMessage,
|
|
28
28
|
withheldRemoteMcpReasonFor
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2IJ5OXZZ.js";
|
|
30
30
|
import {
|
|
31
31
|
readDailySessionPin,
|
|
32
32
|
sessionTranscriptDir
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-KNU3KJIM.js";
|
|
34
34
|
import {
|
|
35
35
|
classifyUnanswerablePane,
|
|
36
36
|
isConsumerTermsDialogVisible,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
scanConfigForLiteralSecrets,
|
|
103
103
|
worseConnectivityOutcome,
|
|
104
104
|
wrapScheduledTaskPrompt
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-FPJRE3WT.js";
|
|
106
106
|
import {
|
|
107
107
|
claudeJsonPathFor,
|
|
108
108
|
effectiveClaudeJsonPath,
|
|
@@ -13853,4 +13853,4 @@ export {
|
|
|
13853
13853
|
managerInstallSystemUnitCommand,
|
|
13854
13854
|
managerUninstallSystemUnitCommand
|
|
13855
13855
|
};
|
|
13856
|
-
//# sourceMappingURL=chunk-
|
|
13856
|
+
//# sourceMappingURL=chunk-F5ZW7Q4X.js.map
|
|
@@ -19087,4 +19087,4 @@ export {
|
|
|
19087
19087
|
HOST_ROTATE_KEY_CONFLICT,
|
|
19088
19088
|
shouldMintReplacementKey
|
|
19089
19089
|
};
|
|
19090
|
-
//# sourceMappingURL=chunk-
|
|
19090
|
+
//# sourceMappingURL=chunk-FPJRE3WT.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeClaudeProjectPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FPJRE3WT.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-KNU3KJIM.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-XWVM4KPK.js";
|
|
5
5
|
import {
|
|
6
6
|
FORCED_UPDATE_HARD_DEADLINE_MS
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FPJRE3WT.js";
|
|
8
8
|
import {
|
|
9
9
|
effectiveClaudeJsonPath
|
|
10
10
|
} from "./chunk-AIUIMEUS.js";
|
|
@@ -722,4 +722,4 @@ export {
|
|
|
722
722
|
probeClaudeInstalls,
|
|
723
723
|
maybeUpdateClaudeCode
|
|
724
724
|
};
|
|
725
|
-
//# sourceMappingURL=chunk-
|
|
725
|
+
//# sourceMappingURL=chunk-LXFCVKHS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HOST_ROTATE_KEY_CONFLICT
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FPJRE3WT.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/config.ts
|
|
6
6
|
import { readFileSync, writeFileSync, mkdirSync, existsSync } from "fs";
|
|
@@ -103,7 +103,7 @@ function exchangeFailureKind(err) {
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
// src/lib/api-client.ts
|
|
106
|
-
var agtCliVersion = true ? "0.28.
|
|
106
|
+
var agtCliVersion = true ? "0.28.1296" : "dev";
|
|
107
107
|
var lastConfigHash = null;
|
|
108
108
|
function setConfigHash(hash) {
|
|
109
109
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -468,4 +468,4 @@ export {
|
|
|
468
468
|
api,
|
|
469
469
|
getHostId
|
|
470
470
|
};
|
|
471
|
-
//# sourceMappingURL=chunk-
|
|
471
|
+
//# sourceMappingURL=chunk-M6L4UP45.js.map
|
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
probeClaudeInstalls,
|
|
14
14
|
readsAsNativeInstall,
|
|
15
15
|
shouldRunClaudeCodeUpdater
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LXFCVKHS.js";
|
|
17
17
|
import "./chunk-XWVM4KPK.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-FPJRE3WT.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-DLCZAKW3.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
redactPaneFrame,
|
|
12
12
|
sanitizeTerminalFrame
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FPJRE3WT.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-FA6AKXTO.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-UX23M5HV.js.map
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
tripClass,
|
|
71
71
|
writeEtcEnvironment,
|
|
72
72
|
writeProfileDScript
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-F5ZW7Q4X.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-M6L4UP45.js";
|
|
92
92
|
import {
|
|
93
93
|
BLOCKED_ON_PROMPT_DECISION,
|
|
94
94
|
CHANNEL_SECRET_ENV_KEYS,
|
|
@@ -180,7 +180,7 @@ import {
|
|
|
180
180
|
webFetchBaselineValue,
|
|
181
181
|
webFetchRestartNeeded,
|
|
182
182
|
writeEgressAllowlist
|
|
183
|
-
} from "../chunk-
|
|
183
|
+
} from "../chunk-2IJ5OXZZ.js";
|
|
184
184
|
import {
|
|
185
185
|
isAgentIdle,
|
|
186
186
|
isStaleForToday,
|
|
@@ -191,7 +191,7 @@ import {
|
|
|
191
191
|
subagentActivityAgeSeconds,
|
|
192
192
|
subagentTranscriptDir,
|
|
193
193
|
transcriptActivityAgeSeconds
|
|
194
|
-
} from "../chunk-
|
|
194
|
+
} from "../chunk-KNU3KJIM.js";
|
|
195
195
|
import {
|
|
196
196
|
classifyUnanswerablePane,
|
|
197
197
|
focusedConfirmDialogBlock,
|
|
@@ -217,7 +217,7 @@ import {
|
|
|
217
217
|
runSafeCleanup,
|
|
218
218
|
tightestDiskStat,
|
|
219
219
|
withPackageCacheLock
|
|
220
|
-
} from "../chunk-
|
|
220
|
+
} from "../chunk-LXFCVKHS.js";
|
|
221
221
|
import {
|
|
222
222
|
parsePsRows,
|
|
223
223
|
reapOrphanChannelMcps
|
|
@@ -346,7 +346,7 @@ import {
|
|
|
346
346
|
stabiliseResetInstant,
|
|
347
347
|
sumTranscriptUsageInWindow,
|
|
348
348
|
summarizeTranscriptActivity
|
|
349
|
-
} from "../chunk-
|
|
349
|
+
} from "../chunk-FPJRE3WT.js";
|
|
350
350
|
import {
|
|
351
351
|
CLAUDE_CONFIG_DIR_ENV,
|
|
352
352
|
claudeConfigDirFor,
|
|
@@ -15613,7 +15613,7 @@ function createFileMigrationReportIO(codeName, log2) {
|
|
|
15613
15613
|
};
|
|
15614
15614
|
}
|
|
15615
15615
|
var managerHostPost = async (path, body) => {
|
|
15616
|
-
const { api: api2, ApiError: ApiError3 } = await import("../api-client-
|
|
15616
|
+
const { api: api2, ApiError: ApiError3 } = await import("../api-client-J7GYTC7I.js");
|
|
15617
15617
|
try {
|
|
15618
15618
|
const json = await api2.post(path, body);
|
|
15619
15619
|
return { status: 200, json };
|
|
@@ -17702,7 +17702,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
17702
17702
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
17703
17703
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
17704
17704
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
17705
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
17705
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-CC2HTG4P.js");
|
|
17706
17706
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
17707
17707
|
if (newest === null) return null;
|
|
17708
17708
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -18585,7 +18585,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
18585
18585
|
var lastVersionCheckAt = 0;
|
|
18586
18586
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
18587
18587
|
var lastResponsivenessProbeAt = 0;
|
|
18588
|
-
var agtCliVersion = true ? "0.28.
|
|
18588
|
+
var agtCliVersion = true ? "0.28.1296" : "dev";
|
|
18589
18589
|
function resolveBrewPath(execFileSync5) {
|
|
18590
18590
|
try {
|
|
18591
18591
|
const out = execFileSync5("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -20711,7 +20711,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
20711
20711
|
if (codeNames.length === 0) return;
|
|
20712
20712
|
void (async () => {
|
|
20713
20713
|
try {
|
|
20714
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20714
|
+
const { collectDiagnostics } = await import("../persistent-session-FA6AKXTO.js");
|
|
20715
20715
|
await api.post("/host/heartbeat", {
|
|
20716
20716
|
host_id: hostId,
|
|
20717
20717
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -20854,7 +20854,7 @@ async function pollCycleInner() {
|
|
|
20854
20854
|
}
|
|
20855
20855
|
try {
|
|
20856
20856
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
20857
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20857
|
+
const { collectDiagnostics } = await import("../persistent-session-FA6AKXTO.js");
|
|
20858
20858
|
const recordedSinceHeartbeat = new Set(spawnOutcomesSinceHeartbeat.drain());
|
|
20859
20859
|
const diagCodeNames = heartbeatDiagnosticsCodeNames(agentState.persistentSessionAgents, recordedSinceHeartbeat);
|
|
20860
20860
|
const heartbeatSpawnOutcomeFor = spawnOutcomeIfRecorded(spawnOutcomeForDiagnostics, recordedSinceHeartbeat);
|
|
@@ -21155,7 +21155,7 @@ async function pollCycleInner() {
|
|
|
21155
21155
|
}
|
|
21156
21156
|
try {
|
|
21157
21157
|
const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
|
|
21158
|
-
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-
|
|
21158
|
+
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-DLCZAKW3.js");
|
|
21159
21159
|
const securityFloor = currentSecurityFloor();
|
|
21160
21160
|
claudeUpdaterInFlight = true;
|
|
21161
21161
|
if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
|
|
@@ -21190,7 +21190,7 @@ async function pollCycleInner() {
|
|
|
21190
21190
|
collectPanelessActivityProbes,
|
|
21191
21191
|
getResponsivenessIntervalMs,
|
|
21192
21192
|
occupancyQualificationClassifications
|
|
21193
|
-
} = await import("../responsiveness-probe-
|
|
21193
|
+
} = await import("../responsiveness-probe-CC2HTG4P.js");
|
|
21194
21194
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
21195
21195
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
21196
21196
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -21307,7 +21307,7 @@ async function pollCycleInner() {
|
|
|
21307
21307
|
collectResponsivenessProbes,
|
|
21308
21308
|
livePendingInboundOldestAgeSeconds,
|
|
21309
21309
|
parkPendingInbound
|
|
21310
|
-
} = await import("../responsiveness-probe-
|
|
21310
|
+
} = await import("../responsiveness-probe-CC2HTG4P.js");
|
|
21311
21311
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-5PCBGRNY.js");
|
|
21312
21312
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
21313
21313
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -21593,7 +21593,7 @@ async function pollCycleInner() {
|
|
|
21593
21593
|
}
|
|
21594
21594
|
}
|
|
21595
21595
|
);
|
|
21596
|
-
const { parkPendingInbound } = await import("../responsiveness-probe-
|
|
21596
|
+
const { parkPendingInbound } = await import("../responsiveness-probe-CC2HTG4P.js");
|
|
21597
21597
|
const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
|
|
21598
21598
|
paneFatalStreak.delete(codeName);
|
|
21599
21599
|
paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
|
|
@@ -21624,7 +21624,7 @@ async function pollCycleInner() {
|
|
|
21624
21624
|
TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
|
|
21625
21625
|
bindSourceEscalations
|
|
21626
21626
|
} = await import("../transcript-mount-health-OHE6IVJV.js");
|
|
21627
|
-
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-
|
|
21627
|
+
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-FA6AKXTO.js");
|
|
21628
21628
|
const mountConfig = resolveTranscriptMountConfig();
|
|
21629
21629
|
const liveAgents = agentState.persistentSessionAgents;
|
|
21630
21630
|
for (const tracked of [
|
|
@@ -21789,7 +21789,7 @@ async function pollCycleInner() {
|
|
|
21789
21789
|
}
|
|
21790
21790
|
try {
|
|
21791
21791
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
|
|
21792
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
21792
|
+
const { probeSessionAuth } = await import("../session-auth-dead-3GTNMEIP.js");
|
|
21793
21793
|
const observations = [];
|
|
21794
21794
|
const pendingCacheCommits = [];
|
|
21795
21795
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -26900,7 +26900,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
26900
26900
|
if (!refreshData) return;
|
|
26901
26901
|
const framework = refreshData.agent?.framework ?? agentFrameworkCache.get(codeName) ?? DEFAULT_FRAMEWORK;
|
|
26902
26902
|
const hostId = await getHostId();
|
|
26903
|
-
const parkForRestart = await import("../responsiveness-probe-
|
|
26903
|
+
const parkForRestart = await import("../responsiveness-probe-CC2HTG4P.js").then(
|
|
26904
26904
|
(m) => m.parkPendingInbound,
|
|
26905
26905
|
(err) => err
|
|
26906
26906
|
);
|
|
@@ -26977,7 +26977,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
26977
26977
|
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}`));
|
|
26978
26978
|
void (async () => {
|
|
26979
26979
|
try {
|
|
26980
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
26980
|
+
const { collectDiagnostics } = await import("../persistent-session-FA6AKXTO.js");
|
|
26981
26981
|
await api.post("/host/heartbeat", {
|
|
26982
26982
|
host_id: hostId,
|
|
26983
26983
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -27030,7 +27030,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
27030
27030
|
}
|
|
27031
27031
|
try {
|
|
27032
27032
|
const hostId = await getHostId();
|
|
27033
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
27033
|
+
const { collectDiagnostics } = await import("../persistent-session-FA6AKXTO.js");
|
|
27034
27034
|
await api.post("/host/heartbeat", {
|
|
27035
27035
|
host_id: hostId,
|
|
27036
27036
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -27909,7 +27909,7 @@ async function processClaudePairSessions(agents) {
|
|
|
27909
27909
|
snapshotPairConfig,
|
|
27910
27910
|
// ENG-11659: result -> report body + the manager.log line that records it.
|
|
27911
27911
|
planPairStartReport
|
|
27912
|
-
} = await import("../claude-pair-runtime-
|
|
27912
|
+
} = await import("../claude-pair-runtime-UX23M5HV.js");
|
|
27913
27913
|
const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
|
|
27914
27914
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
27915
27915
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
@@ -85,12 +85,12 @@ import {
|
|
|
85
85
|
writeDirectChatSessionState,
|
|
86
86
|
writeEgressAllowlist,
|
|
87
87
|
writePersistentClaudeWrapper
|
|
88
|
-
} from "./chunk-
|
|
89
|
-
import "./chunk-
|
|
88
|
+
} from "./chunk-2IJ5OXZZ.js";
|
|
89
|
+
import "./chunk-KNU3KJIM.js";
|
|
90
90
|
import "./chunk-XL2HPM67.js";
|
|
91
91
|
import "./chunk-6HBXEJHO.js";
|
|
92
92
|
import "./chunk-XWVM4KPK.js";
|
|
93
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-FPJRE3WT.js";
|
|
94
94
|
import "./chunk-AIUIMEUS.js";
|
|
95
95
|
import "./chunk-DGUM43GV.js";
|
|
96
96
|
export {
|
|
@@ -181,4 +181,4 @@ export {
|
|
|
181
181
|
writeEgressAllowlist,
|
|
182
182
|
writePersistentClaudeWrapper
|
|
183
183
|
};
|
|
184
|
-
//# sourceMappingURL=persistent-session-
|
|
184
|
+
//# sourceMappingURL=persistent-session-FA6AKXTO.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-2IJ5OXZZ.js";
|
|
4
|
+
import "./chunk-KNU3KJIM.js";
|
|
5
5
|
import "./chunk-XL2HPM67.js";
|
|
6
6
|
import "./chunk-6HBXEJHO.js";
|
|
7
7
|
import "./chunk-XWVM4KPK.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-FPJRE3WT.js";
|
|
9
9
|
import "./chunk-AIUIMEUS.js";
|
|
10
10
|
import "./chunk-DGUM43GV.js";
|
|
11
11
|
|
|
@@ -804,4 +804,4 @@ export {
|
|
|
804
804
|
readAndResetSlackReplyBindingClassifications,
|
|
805
805
|
readAndResetSlackReplyTargetClassifications
|
|
806
806
|
};
|
|
807
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
807
|
+
//# sourceMappingURL=responsiveness-probe-CC2HTG4P.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-KNU3KJIM.js";
|
|
4
|
+
import "./chunk-FPJRE3WT.js";
|
|
5
5
|
import "./chunk-DGUM43GV.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/session-auth-dead.ts
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
decideSessionAuthState,
|
|
206
206
|
probeSessionAuth
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=session-auth-dead-
|
|
208
|
+
//# sourceMappingURL=session-auth-dead-3GTNMEIP.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|