@integrity-labs/agt-cli 0.28.1151 → 0.28.1152
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 +6 -6
- package/dist/{chunk-MVZDF2MR.js → chunk-7GV2FQWS.js} +5 -5
- package/dist/{chunk-AJ2Z3VSN.js → chunk-E5BVBODT.js} +2 -2
- package/dist/{chunk-OISSVMYG.js → chunk-OGEAF6HE.js} +3 -3
- package/dist/{chunk-TLDY7AE4.js → chunk-PQ6K7IGT.js} +1 -1
- package/dist/{chunk-TLDY7AE4.js.map → chunk-PQ6K7IGT.js.map} +1 -1
- package/dist/{chunk-NSX27ZTP.js → chunk-ZW6MEVUD.js} +2 -2
- package/dist/{claude-code-updater-JXL4CM2V.js → claude-code-updater-54ZISKTQ.js} +3 -3
- package/dist/{claude-pair-runtime-7QPXNON3.js → claude-pair-runtime-OKT66D2H.js} +3 -3
- package/dist/lib/manager-worker.js +19 -19
- package/dist/{persistent-session-YKRO5RLK.js → persistent-session-JRNQ3OMQ.js} +4 -4
- package/dist/{responsiveness-probe-LVRBC2AA.js → responsiveness-probe-KQSVBU2O.js} +4 -4
- package/dist/{session-auth-dead-FREXPXHN.js → session-auth-dead-MSTRS7FK.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-MVZDF2MR.js.map → chunk-7GV2FQWS.js.map} +0 -0
- /package/dist/{chunk-AJ2Z3VSN.js.map → chunk-E5BVBODT.js.map} +0 -0
- /package/dist/{chunk-OISSVMYG.js.map → chunk-OGEAF6HE.js.map} +0 -0
- /package/dist/{chunk-NSX27ZTP.js.map → chunk-ZW6MEVUD.js.map} +0 -0
- /package/dist/{claude-code-updater-JXL4CM2V.js.map → claude-code-updater-54ZISKTQ.js.map} +0 -0
- /package/dist/{claude-pair-runtime-7QPXNON3.js.map → claude-pair-runtime-OKT66D2H.js.map} +0 -0
- /package/dist/{persistent-session-YKRO5RLK.js.map → persistent-session-JRNQ3OMQ.js.map} +0 -0
- /package/dist/{responsiveness-probe-LVRBC2AA.js.map → responsiveness-probe-KQSVBU2O.js.map} +0 -0
- /package/dist/{session-auth-dead-FREXPXHN.js.map → session-auth-dead-MSTRS7FK.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-EL5MWGGH.js";
|
|
8
8
|
import {
|
|
9
9
|
FORCED_UPDATE_HARD_DEADLINE_MS
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PQ6K7IGT.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/claude-code-updater.ts
|
|
13
13
|
import { execFile, execFileSync } from "child_process";
|
|
@@ -339,4 +339,4 @@ export {
|
|
|
339
339
|
probeClaudeInstalls,
|
|
340
340
|
maybeUpdateClaudeCode
|
|
341
341
|
};
|
|
342
|
-
//# sourceMappingURL=chunk-
|
|
342
|
+
//# sourceMappingURL=chunk-ZW6MEVUD.js.map
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
probeClaudeInstalls,
|
|
13
13
|
readsAsNativeInstall,
|
|
14
14
|
shouldRunClaudeCodeUpdater
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZW6MEVUD.js";
|
|
16
16
|
import "./chunk-XWVM4KPK.js";
|
|
17
17
|
import "./chunk-EL5MWGGH.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-PQ6K7IGT.js";
|
|
19
19
|
import "./chunk-DGUM43GV.js";
|
|
20
20
|
export {
|
|
21
21
|
CLAUDE_CODE_SECURITY_FLOOR,
|
|
@@ -32,4 +32,4 @@ export {
|
|
|
32
32
|
readsAsNativeInstall,
|
|
33
33
|
shouldRunClaudeCodeUpdater
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=claude-code-updater-
|
|
35
|
+
//# sourceMappingURL=claude-code-updater-54ZISKTQ.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
redactPaneFrame,
|
|
17
17
|
sanitizeTerminalFrame
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PQ6K7IGT.js";
|
|
19
19
|
import "./chunk-DGUM43GV.js";
|
|
20
20
|
|
|
21
21
|
// src/lib/claude-pair-runtime.ts
|
|
@@ -295,7 +295,7 @@ async function spawnPairSession(session) {
|
|
|
295
295
|
return { ok: true };
|
|
296
296
|
} catch {
|
|
297
297
|
}
|
|
298
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
298
|
+
const { resolveClaudeBinary } = await import("./persistent-session-JRNQ3OMQ.js");
|
|
299
299
|
const claudeBin = resolveClaudeBinary();
|
|
300
300
|
const pairEnv = {
|
|
301
301
|
...process.env,
|
|
@@ -802,4 +802,4 @@ export {
|
|
|
802
802
|
startClaudePair,
|
|
803
803
|
submitClaudePairCode
|
|
804
804
|
};
|
|
805
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
805
|
+
//# sourceMappingURL=claude-pair-runtime-OKT66D2H.js.map
|
|
@@ -77,11 +77,11 @@ import {
|
|
|
77
77
|
setConfigHash,
|
|
78
78
|
shellGuard,
|
|
79
79
|
tripClass
|
|
80
|
-
} from "../chunk-
|
|
80
|
+
} from "../chunk-7GV2FQWS.js";
|
|
81
81
|
import {
|
|
82
82
|
CLAUDE_CODE_SECURITY_FLOOR,
|
|
83
83
|
compareVersions
|
|
84
|
-
} from "../chunk-
|
|
84
|
+
} from "../chunk-ZW6MEVUD.js";
|
|
85
85
|
import {
|
|
86
86
|
getProjectDir as getProjectDir2,
|
|
87
87
|
getReadyTasks,
|
|
@@ -168,7 +168,7 @@ import {
|
|
|
168
168
|
webFetchBaselineValue,
|
|
169
169
|
webFetchRestartNeeded,
|
|
170
170
|
writeEgressAllowlist
|
|
171
|
-
} from "../chunk-
|
|
171
|
+
} from "../chunk-OGEAF6HE.js";
|
|
172
172
|
import {
|
|
173
173
|
isAgentIdle,
|
|
174
174
|
isStaleForToday,
|
|
@@ -177,7 +177,7 @@ import {
|
|
|
177
177
|
sessionTranscriptDir,
|
|
178
178
|
subagentActivityAgeSeconds,
|
|
179
179
|
transcriptActivityAgeSeconds
|
|
180
|
-
} from "../chunk-
|
|
180
|
+
} from "../chunk-E5BVBODT.js";
|
|
181
181
|
import {
|
|
182
182
|
classifyUnanswerablePane,
|
|
183
183
|
focusedConfirmDialogBlock,
|
|
@@ -300,7 +300,7 @@ import {
|
|
|
300
300
|
serializeAccountEnforcementMarker,
|
|
301
301
|
stabiliseResetInstant,
|
|
302
302
|
sumTranscriptUsageInWindow
|
|
303
|
-
} from "../chunk-
|
|
303
|
+
} from "../chunk-PQ6K7IGT.js";
|
|
304
304
|
import "../chunk-DGUM43GV.js";
|
|
305
305
|
|
|
306
306
|
// src/lib/manager-worker.ts
|
|
@@ -15041,7 +15041,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
15041
15041
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
15042
15042
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
15043
15043
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
15044
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
15044
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-KQSVBU2O.js");
|
|
15045
15045
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
15046
15046
|
if (newest === null) return null;
|
|
15047
15047
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -15799,7 +15799,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
15799
15799
|
var lastVersionCheckAt = 0;
|
|
15800
15800
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
15801
15801
|
var lastResponsivenessProbeAt = 0;
|
|
15802
|
-
var agtCliVersion = true ? "0.28.
|
|
15802
|
+
var agtCliVersion = true ? "0.28.1152" : "dev";
|
|
15803
15803
|
function resolveBrewPath(execFileSync3) {
|
|
15804
15804
|
try {
|
|
15805
15805
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -17574,7 +17574,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
17574
17574
|
if (codeNames.length === 0) return;
|
|
17575
17575
|
void (async () => {
|
|
17576
17576
|
try {
|
|
17577
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
17577
|
+
const { collectDiagnostics } = await import("../persistent-session-JRNQ3OMQ.js");
|
|
17578
17578
|
await api.post("/host/heartbeat", {
|
|
17579
17579
|
host_id: hostId,
|
|
17580
17580
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -17716,7 +17716,7 @@ async function pollCycleInner() {
|
|
|
17716
17716
|
}
|
|
17717
17717
|
try {
|
|
17718
17718
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
17719
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
17719
|
+
const { collectDiagnostics } = await import("../persistent-session-JRNQ3OMQ.js");
|
|
17720
17720
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
17721
17721
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor) : void 0;
|
|
17722
17722
|
let tailscaleHostname;
|
|
@@ -17916,7 +17916,7 @@ async function pollCycleInner() {
|
|
|
17916
17916
|
setConfigHash(hbResp?.config_hash ?? null);
|
|
17917
17917
|
try {
|
|
17918
17918
|
const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
|
|
17919
|
-
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-
|
|
17919
|
+
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-54ZISKTQ.js");
|
|
17920
17920
|
claudeUpdaterInFlight = true;
|
|
17921
17921
|
if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
|
|
17922
17922
|
log(
|
|
@@ -17948,7 +17948,7 @@ async function pollCycleInner() {
|
|
|
17948
17948
|
collectPanelessActivityProbes,
|
|
17949
17949
|
getResponsivenessIntervalMs,
|
|
17950
17950
|
occupancyQualificationClassifications
|
|
17951
|
-
} = await import("../responsiveness-probe-
|
|
17951
|
+
} = await import("../responsiveness-probe-KQSVBU2O.js");
|
|
17952
17952
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
17953
17953
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
17954
17954
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -18065,7 +18065,7 @@ async function pollCycleInner() {
|
|
|
18065
18065
|
collectResponsivenessProbes,
|
|
18066
18066
|
livePendingInboundOldestAgeSeconds,
|
|
18067
18067
|
parkPendingInbound
|
|
18068
|
-
} = await import("../responsiveness-probe-
|
|
18068
|
+
} = await import("../responsiveness-probe-KQSVBU2O.js");
|
|
18069
18069
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
|
|
18070
18070
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
18071
18071
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -18351,7 +18351,7 @@ async function pollCycleInner() {
|
|
|
18351
18351
|
}
|
|
18352
18352
|
}
|
|
18353
18353
|
);
|
|
18354
|
-
const { parkPendingInbound } = await import("../responsiveness-probe-
|
|
18354
|
+
const { parkPendingInbound } = await import("../responsiveness-probe-KQSVBU2O.js");
|
|
18355
18355
|
const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
|
|
18356
18356
|
paneFatalStreak.delete(codeName);
|
|
18357
18357
|
paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
|
|
@@ -18382,7 +18382,7 @@ async function pollCycleInner() {
|
|
|
18382
18382
|
TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
|
|
18383
18383
|
bindSourceEscalations
|
|
18384
18384
|
} = await import("../transcript-mount-health-OHE6IVJV.js");
|
|
18385
|
-
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-
|
|
18385
|
+
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-JRNQ3OMQ.js");
|
|
18386
18386
|
const mountConfig = resolveTranscriptMountConfig();
|
|
18387
18387
|
const liveAgents = agentState.persistentSessionAgents;
|
|
18388
18388
|
for (const tracked of [
|
|
@@ -18547,7 +18547,7 @@ async function pollCycleInner() {
|
|
|
18547
18547
|
}
|
|
18548
18548
|
try {
|
|
18549
18549
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
|
|
18550
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
18550
|
+
const { probeSessionAuth } = await import("../session-auth-dead-MSTRS7FK.js");
|
|
18551
18551
|
const observations = [];
|
|
18552
18552
|
const pendingCacheCommits = [];
|
|
18553
18553
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -23207,7 +23207,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
23207
23207
|
try {
|
|
23208
23208
|
const freshId = rotateSessionForWedge(codeName);
|
|
23209
23209
|
consecutiveWedgeCycles.delete(codeName);
|
|
23210
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
23210
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-KQSVBU2O.js");
|
|
23211
23211
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
23212
23212
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
23213
23213
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -23250,7 +23250,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
23250
23250
|
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}`));
|
|
23251
23251
|
void (async () => {
|
|
23252
23252
|
try {
|
|
23253
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
23253
|
+
const { collectDiagnostics } = await import("../persistent-session-JRNQ3OMQ.js");
|
|
23254
23254
|
await api.post("/host/heartbeat", {
|
|
23255
23255
|
host_id: hostId,
|
|
23256
23256
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -23301,7 +23301,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
23301
23301
|
}
|
|
23302
23302
|
try {
|
|
23303
23303
|
const hostId = await getHostId();
|
|
23304
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
23304
|
+
const { collectDiagnostics } = await import("../persistent-session-JRNQ3OMQ.js");
|
|
23305
23305
|
await api.post("/host/heartbeat", {
|
|
23306
23306
|
host_id: hostId,
|
|
23307
23307
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -24018,7 +24018,7 @@ async function processClaudePairSessions(agents) {
|
|
|
24018
24018
|
snapshotPairConfig,
|
|
24019
24019
|
// ENG-11659: result -> report body + the manager.log line that records it.
|
|
24020
24020
|
planPairStartReport
|
|
24021
|
-
} = await import("../claude-pair-runtime-
|
|
24021
|
+
} = await import("../claude-pair-runtime-OKT66D2H.js");
|
|
24022
24022
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
24023
24023
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
24024
24024
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -68,12 +68,12 @@ import {
|
|
|
68
68
|
writeDirectChatSessionState,
|
|
69
69
|
writeEgressAllowlist,
|
|
70
70
|
writePersistentClaudeWrapper
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-OGEAF6HE.js";
|
|
72
|
+
import "./chunk-E5BVBODT.js";
|
|
73
73
|
import "./chunk-B6UYVEMD.js";
|
|
74
74
|
import "./chunk-XWVM4KPK.js";
|
|
75
75
|
import "./chunk-EL5MWGGH.js";
|
|
76
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-PQ6K7IGT.js";
|
|
77
77
|
import "./chunk-DGUM43GV.js";
|
|
78
78
|
export {
|
|
79
79
|
CLAUDE_HOST_WIDE,
|
|
@@ -146,4 +146,4 @@ export {
|
|
|
146
146
|
writeEgressAllowlist,
|
|
147
147
|
writePersistentClaudeWrapper
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=persistent-session-
|
|
149
|
+
//# sourceMappingURL=persistent-session-JRNQ3OMQ.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-OGEAF6HE.js";
|
|
4
|
+
import "./chunk-E5BVBODT.js";
|
|
5
5
|
import "./chunk-B6UYVEMD.js";
|
|
6
6
|
import "./chunk-XWVM4KPK.js";
|
|
7
7
|
import "./chunk-EL5MWGGH.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-PQ6K7IGT.js";
|
|
9
9
|
import "./chunk-DGUM43GV.js";
|
|
10
10
|
|
|
11
11
|
// src/lib/responsiveness-probe.ts
|
|
@@ -803,4 +803,4 @@ export {
|
|
|
803
803
|
readAndResetSlackReplyBindingClassifications,
|
|
804
804
|
readAndResetSlackReplyTargetClassifications
|
|
805
805
|
};
|
|
806
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
806
|
+
//# sourceMappingURL=responsiveness-probe-KQSVBU2O.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-E5BVBODT.js";
|
|
4
|
+
import "./chunk-PQ6K7IGT.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-MSTRS7FK.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
|