@integrity-labs/agt-cli 0.28.1122 → 0.28.1123
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 +4 -4
- package/dist/{chunk-EDD5I22B.js → chunk-E2RGZJA2.js} +3 -3
- package/dist/{chunk-32KBADAN.js → chunk-IXCMKMDT.js} +1 -1
- package/dist/chunk-IXCMKMDT.js.map +1 -0
- package/dist/{claude-pair-runtime-DL4N322T.js → claude-pair-runtime-NHQCMIW6.js} +2 -2
- package/dist/lib/manager-worker.js +14 -14
- package/dist/{persistent-session-5I5S3GAG.js → persistent-session-URAR5HDF.js} +2 -2
- package/dist/{responsiveness-probe-EANYDNSF.js → responsiveness-probe-OICDEM3R.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-32KBADAN.js.map +0 -1
- /package/dist/{chunk-EDD5I22B.js.map → chunk-E2RGZJA2.js.map} +0 -0
- /package/dist/{claude-pair-runtime-DL4N322T.js.map → claude-pair-runtime-NHQCMIW6.js.map} +0 -0
- /package/dist/{persistent-session-5I5S3GAG.js.map → persistent-session-URAR5HDF.js.map} +0 -0
- /package/dist/{responsiveness-probe-EANYDNSF.js.map → responsiveness-probe-OICDEM3R.js.map} +0 -0
|
@@ -266,7 +266,7 @@ async function spawnPairSession(session) {
|
|
|
266
266
|
return { ok: true };
|
|
267
267
|
} catch {
|
|
268
268
|
}
|
|
269
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
269
|
+
const { resolveClaudeBinary } = await import("./persistent-session-URAR5HDF.js");
|
|
270
270
|
const claudeBin = resolveClaudeBinary();
|
|
271
271
|
const pairEnv = {
|
|
272
272
|
...process.env,
|
|
@@ -734,4 +734,4 @@ export {
|
|
|
734
734
|
startClaudePair,
|
|
735
735
|
submitClaudePairCode
|
|
736
736
|
};
|
|
737
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
737
|
+
//# sourceMappingURL=claude-pair-runtime-NHQCMIW6.js.map
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
safeWriteJsonAtomic,
|
|
69
69
|
setConfigHash,
|
|
70
70
|
tripClass
|
|
71
|
-
} from "../chunk-
|
|
71
|
+
} from "../chunk-E2RGZJA2.js";
|
|
72
72
|
import {
|
|
73
73
|
getProjectDir as getProjectDir2,
|
|
74
74
|
getReadyTasks,
|
|
@@ -155,7 +155,7 @@ import {
|
|
|
155
155
|
webFetchBaselineValue,
|
|
156
156
|
webFetchRestartNeeded,
|
|
157
157
|
writeEgressAllowlist
|
|
158
|
-
} from "../chunk-
|
|
158
|
+
} from "../chunk-IXCMKMDT.js";
|
|
159
159
|
import {
|
|
160
160
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
161
161
|
AnchorSessionClient,
|
|
@@ -14183,7 +14183,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
14183
14183
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
14184
14184
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
14185
14185
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
14186
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
14186
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-OICDEM3R.js");
|
|
14187
14187
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
14188
14188
|
if (newest === null) return null;
|
|
14189
14189
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -14941,7 +14941,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
14941
14941
|
var lastVersionCheckAt = 0;
|
|
14942
14942
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
14943
14943
|
var lastResponsivenessProbeAt = 0;
|
|
14944
|
-
var agtCliVersion = true ? "0.28.
|
|
14944
|
+
var agtCliVersion = true ? "0.28.1123" : "dev";
|
|
14945
14945
|
function resolveBrewPath(execFileSync3) {
|
|
14946
14946
|
try {
|
|
14947
14947
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -16567,7 +16567,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
16567
16567
|
if (codeNames.length === 0) return;
|
|
16568
16568
|
void (async () => {
|
|
16569
16569
|
try {
|
|
16570
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
16570
|
+
const { collectDiagnostics } = await import("../persistent-session-URAR5HDF.js");
|
|
16571
16571
|
await api.post("/host/heartbeat", {
|
|
16572
16572
|
host_id: hostId,
|
|
16573
16573
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -16709,7 +16709,7 @@ async function pollCycleInner() {
|
|
|
16709
16709
|
}
|
|
16710
16710
|
try {
|
|
16711
16711
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
16712
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
16712
|
+
const { collectDiagnostics } = await import("../persistent-session-URAR5HDF.js");
|
|
16713
16713
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
16714
16714
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor) : void 0;
|
|
16715
16715
|
let tailscaleHostname;
|
|
@@ -16917,7 +16917,7 @@ async function pollCycleInner() {
|
|
|
16917
16917
|
collectPanelessActivityProbes,
|
|
16918
16918
|
getResponsivenessIntervalMs,
|
|
16919
16919
|
occupancyQualificationClassifications
|
|
16920
|
-
} = await import("../responsiveness-probe-
|
|
16920
|
+
} = await import("../responsiveness-probe-OICDEM3R.js");
|
|
16921
16921
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
16922
16922
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
16923
16923
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -17034,7 +17034,7 @@ async function pollCycleInner() {
|
|
|
17034
17034
|
collectResponsivenessProbes,
|
|
17035
17035
|
livePendingInboundOldestAgeSeconds,
|
|
17036
17036
|
parkPendingInbound
|
|
17037
|
-
} = await import("../responsiveness-probe-
|
|
17037
|
+
} = await import("../responsiveness-probe-OICDEM3R.js");
|
|
17038
17038
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
|
|
17039
17039
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
17040
17040
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -17320,7 +17320,7 @@ async function pollCycleInner() {
|
|
|
17320
17320
|
}
|
|
17321
17321
|
}
|
|
17322
17322
|
);
|
|
17323
|
-
const { parkPendingInbound } = await import("../responsiveness-probe-
|
|
17323
|
+
const { parkPendingInbound } = await import("../responsiveness-probe-OICDEM3R.js");
|
|
17324
17324
|
const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
|
|
17325
17325
|
paneFatalStreak.delete(codeName);
|
|
17326
17326
|
paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
|
|
@@ -17351,7 +17351,7 @@ async function pollCycleInner() {
|
|
|
17351
17351
|
TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
|
|
17352
17352
|
bindSourceEscalations
|
|
17353
17353
|
} = await import("../transcript-mount-health-OHE6IVJV.js");
|
|
17354
|
-
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-
|
|
17354
|
+
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-URAR5HDF.js");
|
|
17355
17355
|
const mountConfig = resolveTranscriptMountConfig();
|
|
17356
17356
|
const liveAgents = agentState.persistentSessionAgents;
|
|
17357
17357
|
for (const tracked of [
|
|
@@ -22103,7 +22103,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
22103
22103
|
try {
|
|
22104
22104
|
const freshId = rotateSessionForWedge(codeName);
|
|
22105
22105
|
consecutiveWedgeCycles.delete(codeName);
|
|
22106
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
22106
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-OICDEM3R.js");
|
|
22107
22107
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
22108
22108
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
22109
22109
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -22146,7 +22146,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
22146
22146
|
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}`));
|
|
22147
22147
|
void (async () => {
|
|
22148
22148
|
try {
|
|
22149
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
22149
|
+
const { collectDiagnostics } = await import("../persistent-session-URAR5HDF.js");
|
|
22150
22150
|
await api.post("/host/heartbeat", {
|
|
22151
22151
|
host_id: hostId,
|
|
22152
22152
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -22197,7 +22197,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
22197
22197
|
}
|
|
22198
22198
|
try {
|
|
22199
22199
|
const hostId = await getHostId();
|
|
22200
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
22200
|
+
const { collectDiagnostics } = await import("../persistent-session-URAR5HDF.js");
|
|
22201
22201
|
await api.post("/host/heartbeat", {
|
|
22202
22202
|
host_id: hostId,
|
|
22203
22203
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -22870,7 +22870,7 @@ async function processClaudePairSessions(agents) {
|
|
|
22870
22870
|
// cannot take it for itself — by the time it runs, the write it is looking
|
|
22871
22871
|
// for may already have happened.
|
|
22872
22872
|
snapshotPairConfig
|
|
22873
|
-
} = await import("../claude-pair-runtime-
|
|
22873
|
+
} = await import("../claude-pair-runtime-NHQCMIW6.js");
|
|
22874
22874
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
22875
22875
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
22876
22876
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
writeDirectChatSessionState,
|
|
69
69
|
writeEgressAllowlist,
|
|
70
70
|
writePersistentClaudeWrapper
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-IXCMKMDT.js";
|
|
72
72
|
import "./chunk-J7GZNCX2.js";
|
|
73
73
|
import "./chunk-OCMJ5E6J.js";
|
|
74
74
|
import "./chunk-XWVM4KPK.js";
|
|
@@ -145,4 +145,4 @@ export {
|
|
|
145
145
|
writeEgressAllowlist,
|
|
146
146
|
writePersistentClaudeWrapper
|
|
147
147
|
};
|
|
148
|
-
//# sourceMappingURL=persistent-session-
|
|
148
|
+
//# sourceMappingURL=persistent-session-URAR5HDF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IXCMKMDT.js";
|
|
4
4
|
import "./chunk-J7GZNCX2.js";
|
|
5
5
|
import "./chunk-OCMJ5E6J.js";
|
|
6
6
|
import "./chunk-XWVM4KPK.js";
|
|
@@ -802,4 +802,4 @@ export {
|
|
|
802
802
|
readAndResetSlackReplyBindingClassifications,
|
|
803
803
|
readAndResetSlackReplyTargetClassifications
|
|
804
804
|
};
|
|
805
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
805
|
+
//# sourceMappingURL=responsiveness-probe-OICDEM3R.js.map
|