@integrity-labs/agt-cli 0.28.499 → 0.28.500
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-Q5O2VAQA.js → chunk-ICNRQ4L5.js} +3 -3
- package/dist/{chunk-5XHO4HKA.js → chunk-XKBUTWON.js} +25 -2
- package/dist/chunk-XKBUTWON.js.map +1 -0
- package/dist/{claude-pair-runtime-TA2D5FPK.js → claude-pair-runtime-U5ES3GOY.js} +2 -2
- package/dist/lib/manager-worker.js +14 -10
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-NZMYK2WQ.js → persistent-session-HL3LNPAX.js} +4 -2
- package/dist/{responsiveness-probe-RFANLJWP.js → responsiveness-probe-AZ44ONES.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-5XHO4HKA.js.map +0 -1
- /package/dist/{chunk-Q5O2VAQA.js.map → chunk-ICNRQ4L5.js.map} +0 -0
- /package/dist/{claude-pair-runtime-TA2D5FPK.js.map → claude-pair-runtime-U5ES3GOY.js.map} +0 -0
- /package/dist/{persistent-session-NZMYK2WQ.js.map → persistent-session-HL3LNPAX.js.map} +0 -0
- /package/dist/{responsiveness-probe-RFANLJWP.js.map → responsiveness-probe-AZ44ONES.js.map} +0 -0
|
@@ -100,7 +100,7 @@ async function spawnPairSession(session) {
|
|
|
100
100
|
return { ok: true };
|
|
101
101
|
} catch {
|
|
102
102
|
}
|
|
103
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
103
|
+
const { resolveClaudeBinary } = await import("./persistent-session-HL3LNPAX.js");
|
|
104
104
|
const claudeBin = resolveClaudeBinary();
|
|
105
105
|
const pairEnv = {
|
|
106
106
|
...process.env,
|
|
@@ -373,4 +373,4 @@ export {
|
|
|
373
373
|
startClaudePair,
|
|
374
374
|
submitClaudePairCode
|
|
375
375
|
};
|
|
376
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
376
|
+
//# sourceMappingURL=claude-pair-runtime-U5ES3GOY.js.map
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
resolveEffectivePinRaw,
|
|
46
46
|
safeWriteJsonAtomic,
|
|
47
47
|
setConfigHash
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-ICNRQ4L5.js";
|
|
49
49
|
import {
|
|
50
50
|
getProjectDir as getProjectDir2,
|
|
51
51
|
getReadyTasks,
|
|
@@ -150,6 +150,7 @@ import {
|
|
|
150
150
|
resolveClaudeBinary,
|
|
151
151
|
resolveDmTarget,
|
|
152
152
|
restartEgressSidecar,
|
|
153
|
+
rotatePaneLogForDayRollover,
|
|
153
154
|
rotateSessionForWedge,
|
|
154
155
|
serializeAccountEnforcementMarker,
|
|
155
156
|
sessionTranscriptDir,
|
|
@@ -167,7 +168,7 @@ import {
|
|
|
167
168
|
toOpencodeModel,
|
|
168
169
|
transcriptActivityAgeSeconds,
|
|
169
170
|
writeEgressAllowlist
|
|
170
|
-
} from "../chunk-
|
|
171
|
+
} from "../chunk-XKBUTWON.js";
|
|
171
172
|
import {
|
|
172
173
|
reapOrphanChannelMcps
|
|
173
174
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -10250,7 +10251,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
10250
10251
|
var lastVersionCheckAt = 0;
|
|
10251
10252
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
10252
10253
|
var lastResponsivenessProbeAt = 0;
|
|
10253
|
-
var agtCliVersion = true ? "0.28.
|
|
10254
|
+
var agtCliVersion = true ? "0.28.500" : "dev";
|
|
10254
10255
|
function resolveBrewPath(execFileSync2) {
|
|
10255
10256
|
try {
|
|
10256
10257
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -11413,7 +11414,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
11413
11414
|
if (codeNames.length === 0) return;
|
|
11414
11415
|
void (async () => {
|
|
11415
11416
|
try {
|
|
11416
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11417
|
+
const { collectDiagnostics } = await import("../persistent-session-HL3LNPAX.js");
|
|
11417
11418
|
await api.post("/host/heartbeat", {
|
|
11418
11419
|
host_id: hostId,
|
|
11419
11420
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -11520,7 +11521,7 @@ async function pollCycle() {
|
|
|
11520
11521
|
}
|
|
11521
11522
|
try {
|
|
11522
11523
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
11523
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11524
|
+
const { collectDiagnostics } = await import("../persistent-session-HL3LNPAX.js");
|
|
11524
11525
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
11525
11526
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor) : void 0;
|
|
11526
11527
|
let tailscaleHostname;
|
|
@@ -11635,7 +11636,7 @@ async function pollCycle() {
|
|
|
11635
11636
|
collectResponsivenessProbes,
|
|
11636
11637
|
collectPanelessActivityProbes,
|
|
11637
11638
|
getResponsivenessIntervalMs
|
|
11638
|
-
} = await import("../responsiveness-probe-
|
|
11639
|
+
} = await import("../responsiveness-probe-AZ44ONES.js");
|
|
11639
11640
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
11640
11641
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
11641
11642
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -11699,7 +11700,7 @@ async function pollCycle() {
|
|
|
11699
11700
|
collectResponsivenessProbes,
|
|
11700
11701
|
livePendingInboundOldestAgeSeconds,
|
|
11701
11702
|
parkPendingInbound
|
|
11702
|
-
} = await import("../responsiveness-probe-
|
|
11703
|
+
} = await import("../responsiveness-probe-AZ44ONES.js");
|
|
11703
11704
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
11704
11705
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
11705
11706
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -14762,6 +14763,9 @@ async function ensurePersistentSession(agent, tasks, boardItems, refreshData) {
|
|
|
14762
14763
|
}
|
|
14763
14764
|
}
|
|
14764
14765
|
}
|
|
14766
|
+
if (restartTrigger === "day-rollover") {
|
|
14767
|
+
rotatePaneLogForDayRollover(codeName, log, agentTimezone);
|
|
14768
|
+
}
|
|
14765
14769
|
if (restartBreaker.isTripped(codeName)) {
|
|
14766
14770
|
const trip = restartBreaker.getTrip(codeName);
|
|
14767
14771
|
return {
|
|
@@ -15188,7 +15192,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
15188
15192
|
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}`));
|
|
15189
15193
|
void (async () => {
|
|
15190
15194
|
try {
|
|
15191
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15195
|
+
const { collectDiagnostics } = await import("../persistent-session-HL3LNPAX.js");
|
|
15192
15196
|
await api.post("/host/heartbeat", {
|
|
15193
15197
|
host_id: hostId,
|
|
15194
15198
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -15238,7 +15242,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
15238
15242
|
}
|
|
15239
15243
|
try {
|
|
15240
15244
|
const hostId = await getHostId();
|
|
15241
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15245
|
+
const { collectDiagnostics } = await import("../persistent-session-HL3LNPAX.js");
|
|
15242
15246
|
await api.post("/host/heartbeat", {
|
|
15243
15247
|
host_id: hostId,
|
|
15244
15248
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -15726,7 +15730,7 @@ async function processClaudePairSessions(agents) {
|
|
|
15726
15730
|
killPairSession,
|
|
15727
15731
|
pairTmuxSession,
|
|
15728
15732
|
finalizeClaudePairOnboarding
|
|
15729
|
-
} = await import("../claude-pair-runtime-
|
|
15733
|
+
} = await import("../claude-pair-runtime-U5ES3GOY.js");
|
|
15730
15734
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
15731
15735
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
15732
15736
|
const killed = await killPairSession(pairTmuxSession(pairId));
|