@integrity-labs/agt-cli 0.28.277 → 0.28.278
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-WDSTXIN6.js → chunk-6EL5OZZL.js} +3 -3
- package/dist/{chunk-THMHJITM.js → chunk-A7YRADAE.js} +8 -1
- package/dist/{chunk-THMHJITM.js.map → chunk-A7YRADAE.js.map} +1 -1
- package/dist/{claude-pair-runtime-Z726QSAR.js → claude-pair-runtime-TWOY4CSQ.js} +2 -2
- package/dist/lib/manager-worker.js +11 -12
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/origami.js +7 -0
- package/dist/{persistent-session-SDDSZN5E.js → persistent-session-7VXSBY2O.js} +2 -2
- package/dist/{responsiveness-probe-ODKT4WUR.js → responsiveness-probe-MDPN2ZDT.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-WDSTXIN6.js.map → chunk-6EL5OZZL.js.map} +0 -0
- /package/dist/{claude-pair-runtime-Z726QSAR.js.map → claude-pair-runtime-TWOY4CSQ.js.map} +0 -0
- /package/dist/{persistent-session-SDDSZN5E.js.map → persistent-session-7VXSBY2O.js.map} +0 -0
- /package/dist/{responsiveness-probe-ODKT4WUR.js.map → responsiveness-probe-MDPN2ZDT.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-7VXSBY2O.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-TWOY4CSQ.js.map
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
requireHost,
|
|
39
39
|
safeWriteJsonAtomic,
|
|
40
40
|
setConfigHash
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-6EL5OZZL.js";
|
|
42
42
|
import {
|
|
43
43
|
getProjectDir as getProjectDir2,
|
|
44
44
|
getReadyTasks,
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
takeZombieDetection,
|
|
126
126
|
transcriptActivityAgeSeconds,
|
|
127
127
|
writeEgressAllowlist
|
|
128
|
-
} from "../chunk-
|
|
128
|
+
} from "../chunk-A7YRADAE.js";
|
|
129
129
|
import {
|
|
130
130
|
reapOrphanChannelMcps
|
|
131
131
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -6360,8 +6360,7 @@ function cancelPendingSessionRestart(codeName) {
|
|
|
6360
6360
|
log(`[hot-reload] Cancelled pending restart timer for '${codeName}' (another teardown path is handling it)`);
|
|
6361
6361
|
}
|
|
6362
6362
|
function bindRemediationEnabled() {
|
|
6363
|
-
|
|
6364
|
-
return v === "true" || v === "1";
|
|
6363
|
+
return hostFlagStore().getBoolean("bind-remediation");
|
|
6365
6364
|
}
|
|
6366
6365
|
var BIND_REMEDIATION_JITTER_MS = 3e4;
|
|
6367
6366
|
var BIND_REMEDIATION_FIRST_CONNECT_WINDOW_MS = readEnvNumber(
|
|
@@ -6828,7 +6827,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
6828
6827
|
var lastVersionCheckAt = 0;
|
|
6829
6828
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
6830
6829
|
var lastResponsivenessProbeAt = 0;
|
|
6831
|
-
var agtCliVersion = true ? "0.28.
|
|
6830
|
+
var agtCliVersion = true ? "0.28.278" : "dev";
|
|
6832
6831
|
function resolveBrewPath(execFileSync2) {
|
|
6833
6832
|
try {
|
|
6834
6833
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -7678,7 +7677,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
7678
7677
|
if (codeNames.length === 0) return;
|
|
7679
7678
|
void (async () => {
|
|
7680
7679
|
try {
|
|
7681
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7680
|
+
const { collectDiagnostics } = await import("../persistent-session-7VXSBY2O.js");
|
|
7682
7681
|
await api.post("/host/heartbeat", {
|
|
7683
7682
|
host_id: hostId,
|
|
7684
7683
|
agent_diagnostics: collectDiagnostics(codeNames)
|
|
@@ -7776,7 +7775,7 @@ async function pollCycle() {
|
|
|
7776
7775
|
}
|
|
7777
7776
|
try {
|
|
7778
7777
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
7779
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7778
|
+
const { collectDiagnostics } = await import("../persistent-session-7VXSBY2O.js");
|
|
7780
7779
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
7781
7780
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
7782
7781
|
let tailscaleHostname;
|
|
@@ -7924,7 +7923,7 @@ async function pollCycle() {
|
|
|
7924
7923
|
const {
|
|
7925
7924
|
collectResponsivenessProbes,
|
|
7926
7925
|
getResponsivenessIntervalMs
|
|
7927
|
-
} = await import("../responsiveness-probe-
|
|
7926
|
+
} = await import("../responsiveness-probe-MDPN2ZDT.js");
|
|
7928
7927
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
7929
7928
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
7930
7929
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -7956,7 +7955,7 @@ async function pollCycle() {
|
|
|
7956
7955
|
collectResponsivenessProbes,
|
|
7957
7956
|
livePendingInboundOldestAgeSeconds,
|
|
7958
7957
|
parkPendingInbound
|
|
7959
|
-
} = await import("../responsiveness-probe-
|
|
7958
|
+
} = await import("../responsiveness-probe-MDPN2ZDT.js");
|
|
7960
7959
|
const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
|
|
7961
7960
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
7962
7961
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -10846,7 +10845,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
10846
10845
|
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}`));
|
|
10847
10846
|
void (async () => {
|
|
10848
10847
|
try {
|
|
10849
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10848
|
+
const { collectDiagnostics } = await import("../persistent-session-7VXSBY2O.js");
|
|
10850
10849
|
await api.post("/host/heartbeat", {
|
|
10851
10850
|
host_id: hostId,
|
|
10852
10851
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -10896,7 +10895,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
10896
10895
|
}
|
|
10897
10896
|
try {
|
|
10898
10897
|
const hostId = await getHostId();
|
|
10899
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10898
|
+
const { collectDiagnostics } = await import("../persistent-session-7VXSBY2O.js");
|
|
10900
10899
|
await api.post("/host/heartbeat", {
|
|
10901
10900
|
host_id: hostId,
|
|
10902
10901
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -11300,7 +11299,7 @@ async function processClaudePairSessions(agents) {
|
|
|
11300
11299
|
killPairSession,
|
|
11301
11300
|
pairTmuxSession,
|
|
11302
11301
|
finalizeClaudePairOnboarding
|
|
11303
|
-
} = await import("../claude-pair-runtime-
|
|
11302
|
+
} = await import("../claude-pair-runtime-TWOY4CSQ.js");
|
|
11304
11303
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
11305
11304
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
11306
11305
|
const killed = await killPairSession(pairTmuxSession(pairId));
|