@integrity-labs/agt-cli 0.28.1145 → 0.28.1146
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-XAZ4C444.js → chunk-FISAZWZ3.js} +2 -2
- package/dist/{chunk-EZYLIFK2.js → chunk-NBKNLVIB.js} +3 -3
- package/dist/{chunk-IEZQK73G.js → chunk-NS7DXMYO.js} +5 -5
- package/dist/{chunk-FQD4EIUF.js → chunk-XZ6THC7Q.js} +1 -1
- package/dist/{chunk-FQD4EIUF.js.map → chunk-XZ6THC7Q.js.map} +1 -1
- package/dist/{claude-code-updater-HTDCRIMM.js → claude-code-updater-3MSALMH3.js} +2 -2
- package/dist/{claude-pair-runtime-VEDZCIJR.js → claude-pair-runtime-4GZOYK4O.js} +2 -2
- package/dist/lib/manager-worker.js +18 -18
- package/dist/{persistent-session-JKD36BCM.js → persistent-session-JKX5IIHF.js} +4 -4
- package/dist/{responsiveness-probe-GGBDYMEW.js → responsiveness-probe-IWC6K5NQ.js} +4 -4
- package/dist/{session-auth-dead-7AG56OKQ.js → session-auth-dead-U5JSZD5Z.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-XAZ4C444.js.map → chunk-FISAZWZ3.js.map} +0 -0
- /package/dist/{chunk-EZYLIFK2.js.map → chunk-NBKNLVIB.js.map} +0 -0
- /package/dist/{chunk-IEZQK73G.js.map → chunk-NS7DXMYO.js.map} +0 -0
- /package/dist/{claude-code-updater-HTDCRIMM.js.map → claude-code-updater-3MSALMH3.js.map} +0 -0
- /package/dist/{claude-pair-runtime-VEDZCIJR.js.map → claude-pair-runtime-4GZOYK4O.js.map} +0 -0
- /package/dist/{persistent-session-JKD36BCM.js.map → persistent-session-JKX5IIHF.js.map} +0 -0
- /package/dist/{responsiveness-probe-GGBDYMEW.js.map → responsiveness-probe-IWC6K5NQ.js.map} +0 -0
- /package/dist/{session-auth-dead-7AG56OKQ.js.map → session-auth-dead-U5JSZD5Z.js.map} +0 -0
|
@@ -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-XZ6THC7Q.js";
|
|
8
8
|
import {
|
|
9
9
|
effectiveClaudeJsonPath
|
|
10
10
|
} from "./chunk-EL5MWGGH.js";
|
|
@@ -339,4 +339,4 @@ export {
|
|
|
339
339
|
readsAsNativeInstall,
|
|
340
340
|
shouldRunClaudeCodeUpdater
|
|
341
341
|
};
|
|
342
|
-
//# sourceMappingURL=claude-code-updater-
|
|
342
|
+
//# sourceMappingURL=claude-code-updater-3MSALMH3.js.map
|
|
@@ -269,7 +269,7 @@ async function spawnPairSession(session) {
|
|
|
269
269
|
return { ok: true };
|
|
270
270
|
} catch {
|
|
271
271
|
}
|
|
272
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
272
|
+
const { resolveClaudeBinary } = await import("./persistent-session-JKX5IIHF.js");
|
|
273
273
|
const claudeBin = resolveClaudeBinary();
|
|
274
274
|
const pairEnv = {
|
|
275
275
|
...process.env,
|
|
@@ -739,4 +739,4 @@ export {
|
|
|
739
739
|
startClaudePair,
|
|
740
740
|
submitClaudePairCode
|
|
741
741
|
};
|
|
742
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
742
|
+
//# sourceMappingURL=claude-pair-runtime-4GZOYK4O.js.map
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
setConfigHash,
|
|
77
77
|
shellGuard,
|
|
78
78
|
tripClass
|
|
79
|
-
} from "../chunk-
|
|
79
|
+
} from "../chunk-NS7DXMYO.js";
|
|
80
80
|
import {
|
|
81
81
|
getProjectDir as getProjectDir2,
|
|
82
82
|
getReadyTasks,
|
|
@@ -163,7 +163,7 @@ import {
|
|
|
163
163
|
webFetchBaselineValue,
|
|
164
164
|
webFetchRestartNeeded,
|
|
165
165
|
writeEgressAllowlist
|
|
166
|
-
} from "../chunk-
|
|
166
|
+
} from "../chunk-NBKNLVIB.js";
|
|
167
167
|
import {
|
|
168
168
|
isAgentIdle,
|
|
169
169
|
isStaleForToday,
|
|
@@ -172,7 +172,7 @@ import {
|
|
|
172
172
|
sessionTranscriptDir,
|
|
173
173
|
subagentActivityAgeSeconds,
|
|
174
174
|
transcriptActivityAgeSeconds
|
|
175
|
-
} from "../chunk-
|
|
175
|
+
} from "../chunk-FISAZWZ3.js";
|
|
176
176
|
import {
|
|
177
177
|
classifyUnanswerablePane,
|
|
178
178
|
focusedConfirmDialogBlock,
|
|
@@ -287,7 +287,7 @@ import {
|
|
|
287
287
|
serializeAccountEnforcementMarker,
|
|
288
288
|
stabiliseResetInstant,
|
|
289
289
|
sumTranscriptUsageInWindow
|
|
290
|
-
} from "../chunk-
|
|
290
|
+
} from "../chunk-XZ6THC7Q.js";
|
|
291
291
|
import {
|
|
292
292
|
CLAUDE_CONFIG_DIR_ENV,
|
|
293
293
|
claudeConfigDirFor,
|
|
@@ -14730,7 +14730,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
14730
14730
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
14731
14731
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
14732
14732
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
14733
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
14733
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-IWC6K5NQ.js");
|
|
14734
14734
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
14735
14735
|
if (newest === null) return null;
|
|
14736
14736
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -15488,7 +15488,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
15488
15488
|
var lastVersionCheckAt = 0;
|
|
15489
15489
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
15490
15490
|
var lastResponsivenessProbeAt = 0;
|
|
15491
|
-
var agtCliVersion = true ? "0.28.
|
|
15491
|
+
var agtCliVersion = true ? "0.28.1146" : "dev";
|
|
15492
15492
|
function resolveBrewPath(execFileSync3) {
|
|
15493
15493
|
try {
|
|
15494
15494
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -17208,7 +17208,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
17208
17208
|
if (codeNames.length === 0) return;
|
|
17209
17209
|
void (async () => {
|
|
17210
17210
|
try {
|
|
17211
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
17211
|
+
const { collectDiagnostics } = await import("../persistent-session-JKX5IIHF.js");
|
|
17212
17212
|
await api.post("/host/heartbeat", {
|
|
17213
17213
|
host_id: hostId,
|
|
17214
17214
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -17350,7 +17350,7 @@ async function pollCycleInner() {
|
|
|
17350
17350
|
}
|
|
17351
17351
|
try {
|
|
17352
17352
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
17353
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
17353
|
+
const { collectDiagnostics } = await import("../persistent-session-JKX5IIHF.js");
|
|
17354
17354
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
17355
17355
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor) : void 0;
|
|
17356
17356
|
let tailscaleHostname;
|
|
@@ -17550,7 +17550,7 @@ async function pollCycleInner() {
|
|
|
17550
17550
|
setConfigHash(hbResp?.config_hash ?? null);
|
|
17551
17551
|
try {
|
|
17552
17552
|
const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
|
|
17553
|
-
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-
|
|
17553
|
+
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-3MSALMH3.js");
|
|
17554
17554
|
if (desiredClaudeCodeVersion && shouldRunClaudeCodeUpdater({
|
|
17555
17555
|
desiredVersion: desiredClaudeCodeVersion,
|
|
17556
17556
|
installedVersion: cachedFrameworkVersion,
|
|
@@ -17575,7 +17575,7 @@ async function pollCycleInner() {
|
|
|
17575
17575
|
collectPanelessActivityProbes,
|
|
17576
17576
|
getResponsivenessIntervalMs,
|
|
17577
17577
|
occupancyQualificationClassifications
|
|
17578
|
-
} = await import("../responsiveness-probe-
|
|
17578
|
+
} = await import("../responsiveness-probe-IWC6K5NQ.js");
|
|
17579
17579
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
17580
17580
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
17581
17581
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -17692,7 +17692,7 @@ async function pollCycleInner() {
|
|
|
17692
17692
|
collectResponsivenessProbes,
|
|
17693
17693
|
livePendingInboundOldestAgeSeconds,
|
|
17694
17694
|
parkPendingInbound
|
|
17695
|
-
} = await import("../responsiveness-probe-
|
|
17695
|
+
} = await import("../responsiveness-probe-IWC6K5NQ.js");
|
|
17696
17696
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
|
|
17697
17697
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
17698
17698
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -17978,7 +17978,7 @@ async function pollCycleInner() {
|
|
|
17978
17978
|
}
|
|
17979
17979
|
}
|
|
17980
17980
|
);
|
|
17981
|
-
const { parkPendingInbound } = await import("../responsiveness-probe-
|
|
17981
|
+
const { parkPendingInbound } = await import("../responsiveness-probe-IWC6K5NQ.js");
|
|
17982
17982
|
const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
|
|
17983
17983
|
paneFatalStreak.delete(codeName);
|
|
17984
17984
|
paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
|
|
@@ -18009,7 +18009,7 @@ async function pollCycleInner() {
|
|
|
18009
18009
|
TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
|
|
18010
18010
|
bindSourceEscalations
|
|
18011
18011
|
} = await import("../transcript-mount-health-OHE6IVJV.js");
|
|
18012
|
-
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-
|
|
18012
|
+
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-JKX5IIHF.js");
|
|
18013
18013
|
const mountConfig = resolveTranscriptMountConfig();
|
|
18014
18014
|
const liveAgents = agentState.persistentSessionAgents;
|
|
18015
18015
|
for (const tracked of [
|
|
@@ -18174,7 +18174,7 @@ async function pollCycleInner() {
|
|
|
18174
18174
|
}
|
|
18175
18175
|
try {
|
|
18176
18176
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
|
|
18177
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
18177
|
+
const { probeSessionAuth } = await import("../session-auth-dead-U5JSZD5Z.js");
|
|
18178
18178
|
const observations = [];
|
|
18179
18179
|
const pendingCacheCommits = [];
|
|
18180
18180
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -22772,7 +22772,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
22772
22772
|
try {
|
|
22773
22773
|
const freshId = rotateSessionForWedge(codeName);
|
|
22774
22774
|
consecutiveWedgeCycles.delete(codeName);
|
|
22775
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
22775
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-IWC6K5NQ.js");
|
|
22776
22776
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
22777
22777
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
22778
22778
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -22815,7 +22815,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
22815
22815
|
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}`));
|
|
22816
22816
|
void (async () => {
|
|
22817
22817
|
try {
|
|
22818
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
22818
|
+
const { collectDiagnostics } = await import("../persistent-session-JKX5IIHF.js");
|
|
22819
22819
|
await api.post("/host/heartbeat", {
|
|
22820
22820
|
host_id: hostId,
|
|
22821
22821
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -22866,7 +22866,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
22866
22866
|
}
|
|
22867
22867
|
try {
|
|
22868
22868
|
const hostId = await getHostId();
|
|
22869
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
22869
|
+
const { collectDiagnostics } = await import("../persistent-session-JKX5IIHF.js");
|
|
22870
22870
|
await api.post("/host/heartbeat", {
|
|
22871
22871
|
host_id: hostId,
|
|
22872
22872
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -23539,7 +23539,7 @@ async function processClaudePairSessions(agents) {
|
|
|
23539
23539
|
// cannot take it for itself — by the time it runs, the write it is looking
|
|
23540
23540
|
// for may already have happened.
|
|
23541
23541
|
snapshotPairConfig
|
|
23542
|
-
} = await import("../claude-pair-runtime-
|
|
23542
|
+
} = await import("../claude-pair-runtime-4GZOYK4O.js");
|
|
23543
23543
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
23544
23544
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
23545
23545
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -68,11 +68,11 @@ import {
|
|
|
68
68
|
writeDirectChatSessionState,
|
|
69
69
|
writeEgressAllowlist,
|
|
70
70
|
writePersistentClaudeWrapper
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-NBKNLVIB.js";
|
|
72
|
+
import "./chunk-FISAZWZ3.js";
|
|
73
73
|
import "./chunk-B6UYVEMD.js";
|
|
74
74
|
import "./chunk-XWVM4KPK.js";
|
|
75
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-XZ6THC7Q.js";
|
|
76
76
|
import "./chunk-EL5MWGGH.js";
|
|
77
77
|
import "./chunk-DGUM43GV.js";
|
|
78
78
|
export {
|
|
@@ -146,4 +146,4 @@ export {
|
|
|
146
146
|
writeEgressAllowlist,
|
|
147
147
|
writePersistentClaudeWrapper
|
|
148
148
|
};
|
|
149
|
-
//# sourceMappingURL=persistent-session-
|
|
149
|
+
//# sourceMappingURL=persistent-session-JKX5IIHF.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-NBKNLVIB.js";
|
|
4
|
+
import "./chunk-FISAZWZ3.js";
|
|
5
5
|
import "./chunk-B6UYVEMD.js";
|
|
6
6
|
import "./chunk-XWVM4KPK.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-XZ6THC7Q.js";
|
|
8
8
|
import "./chunk-EL5MWGGH.js";
|
|
9
9
|
import "./chunk-DGUM43GV.js";
|
|
10
10
|
|
|
@@ -803,4 +803,4 @@ export {
|
|
|
803
803
|
readAndResetSlackReplyBindingClassifications,
|
|
804
804
|
readAndResetSlackReplyTargetClassifications
|
|
805
805
|
};
|
|
806
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
806
|
+
//# sourceMappingURL=responsiveness-probe-IWC6K5NQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-FISAZWZ3.js";
|
|
4
|
+
import "./chunk-XZ6THC7Q.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-U5JSZD5Z.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
|