@integrity-labs/agt-cli 0.28.541 → 0.28.543
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-F63RM2RQ.js → chunk-QDCKLUU7.js} +5 -3
- package/dist/chunk-QDCKLUU7.js.map +1 -0
- package/dist/{chunk-JQNSKZIC.js → chunk-VGOV5SSL.js} +3 -3
- package/dist/{claude-pair-runtime-2UU67Q2T.js → claude-pair-runtime-34ZO2AFF.js} +2 -2
- package/dist/lib/manager-worker.js +23 -12
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-7GPDXRPK.js → persistent-session-MH5URKMO.js} +2 -2
- package/dist/{responsiveness-probe-P52CE6K7.js → responsiveness-probe-NVP34464.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-F63RM2RQ.js.map +0 -1
- /package/dist/{chunk-JQNSKZIC.js.map → chunk-VGOV5SSL.js.map} +0 -0
- /package/dist/{claude-pair-runtime-2UU67Q2T.js.map → claude-pair-runtime-34ZO2AFF.js.map} +0 -0
- /package/dist/{persistent-session-7GPDXRPK.js.map → persistent-session-MH5URKMO.js.map} +0 -0
- /package/dist/{responsiveness-probe-P52CE6K7.js.map → responsiveness-probe-NVP34464.js.map} +0 -0
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
resolveConnectivityProbe,
|
|
43
43
|
worseConnectivityOutcome,
|
|
44
44
|
wrapScheduledTaskPrompt
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-QDCKLUU7.js";
|
|
46
46
|
import {
|
|
47
47
|
parsePsRows
|
|
48
48
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -5549,7 +5549,7 @@ function exchangeFailureKind(err) {
|
|
|
5549
5549
|
}
|
|
5550
5550
|
|
|
5551
5551
|
// src/lib/api-client.ts
|
|
5552
|
-
var agtCliVersion = true ? "0.28.
|
|
5552
|
+
var agtCliVersion = true ? "0.28.543" : "dev";
|
|
5553
5553
|
var lastConfigHash = null;
|
|
5554
5554
|
function setConfigHash(hash) {
|
|
5555
5555
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8861,4 +8861,4 @@ export {
|
|
|
8861
8861
|
managerInstallSystemUnitCommand,
|
|
8862
8862
|
managerUninstallSystemUnitCommand
|
|
8863
8863
|
};
|
|
8864
|
-
//# sourceMappingURL=chunk-
|
|
8864
|
+
//# sourceMappingURL=chunk-VGOV5SSL.js.map
|
|
@@ -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-MH5URKMO.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-34ZO2AFF.js.map
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
safeWriteJsonAtomic,
|
|
54
54
|
setConfigHash,
|
|
55
55
|
tripClass
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-VGOV5SSL.js";
|
|
57
57
|
import {
|
|
58
58
|
getProjectDir as getProjectDir2,
|
|
59
59
|
getReadyTasks,
|
|
@@ -181,7 +181,7 @@ import {
|
|
|
181
181
|
toOpencodeModel,
|
|
182
182
|
transcriptActivityAgeSeconds,
|
|
183
183
|
writeEgressAllowlist
|
|
184
|
-
} from "../chunk-
|
|
184
|
+
} from "../chunk-QDCKLUU7.js";
|
|
185
185
|
import {
|
|
186
186
|
reapOrphanChannelMcps
|
|
187
187
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -4557,6 +4557,14 @@ function foldRuntimeAuthVerdict(input) {
|
|
|
4557
4557
|
function heartbeatRuntimeAuthReport(probeVerdict) {
|
|
4558
4558
|
return probeVerdict ?? void 0;
|
|
4559
4559
|
}
|
|
4560
|
+
function heartbeatRuntimeAuthFields(probeVerdict) {
|
|
4561
|
+
const reported = heartbeatRuntimeAuthReport(probeVerdict);
|
|
4562
|
+
if (reported === void 0) return {};
|
|
4563
|
+
return {
|
|
4564
|
+
agent_runtime_authenticated: reported,
|
|
4565
|
+
agent_runtime_auth_observed: true
|
|
4566
|
+
};
|
|
4567
|
+
}
|
|
4560
4568
|
|
|
4561
4569
|
// src/lib/manager/kanban/parsers.ts
|
|
4562
4570
|
import { existsSync as existsSync8, readFileSync as readFileSync15 } from "fs";
|
|
@@ -10429,7 +10437,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
10429
10437
|
var lastVersionCheckAt = 0;
|
|
10430
10438
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
10431
10439
|
var lastResponsivenessProbeAt = 0;
|
|
10432
|
-
var agtCliVersion = true ? "0.28.
|
|
10440
|
+
var agtCliVersion = true ? "0.28.543" : "dev";
|
|
10433
10441
|
function resolveBrewPath(execFileSync2) {
|
|
10434
10442
|
try {
|
|
10435
10443
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -11733,7 +11741,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
11733
11741
|
if (codeNames.length === 0) return;
|
|
11734
11742
|
void (async () => {
|
|
11735
11743
|
try {
|
|
11736
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11744
|
+
const { collectDiagnostics } = await import("../persistent-session-MH5URKMO.js");
|
|
11737
11745
|
await api.post("/host/heartbeat", {
|
|
11738
11746
|
host_id: hostId,
|
|
11739
11747
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -11841,7 +11849,7 @@ async function pollCycle() {
|
|
|
11841
11849
|
}
|
|
11842
11850
|
try {
|
|
11843
11851
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
11844
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11852
|
+
const { collectDiagnostics } = await import("../persistent-session-MH5URKMO.js");
|
|
11845
11853
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
11846
11854
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor) : void 0;
|
|
11847
11855
|
let tailscaleHostname;
|
|
@@ -11890,8 +11898,11 @@ async function pollCycle() {
|
|
|
11890
11898
|
// ENG-8623: the probe's verdict, or the field is OMITTED. The column is
|
|
11891
11899
|
// named for a runtime observation and the API now stamps a freshness
|
|
11892
11900
|
// timestamp beside it, so a file-derived value here would manufacture an
|
|
11893
|
-
// observation nobody made.
|
|
11894
|
-
|
|
11901
|
+
// observation nobody made. Spread as ONE unit: the boolean and its
|
|
11902
|
+
// provenance marker must never diverge, so they are produced together
|
|
11903
|
+
// rather than as two fields a future edit could separate. See
|
|
11904
|
+
// `heartbeatRuntimeAuthFields`.
|
|
11905
|
+
...heartbeatRuntimeAuthFields(runtimeAuthProbeVerdict),
|
|
11895
11906
|
agent_diagnostics: agentDiagnostics,
|
|
11896
11907
|
hostname: tailscaleHostname,
|
|
11897
11908
|
os_username: osUsername,
|
|
@@ -11961,7 +11972,7 @@ async function pollCycle() {
|
|
|
11961
11972
|
collectPanelessActivityProbes,
|
|
11962
11973
|
getResponsivenessIntervalMs,
|
|
11963
11974
|
occupancyQualificationClassifications
|
|
11964
|
-
} = await import("../responsiveness-probe-
|
|
11975
|
+
} = await import("../responsiveness-probe-NVP34464.js");
|
|
11965
11976
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
11966
11977
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
11967
11978
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -12052,7 +12063,7 @@ async function pollCycle() {
|
|
|
12052
12063
|
collectResponsivenessProbes,
|
|
12053
12064
|
livePendingInboundOldestAgeSeconds,
|
|
12054
12065
|
parkPendingInbound
|
|
12055
|
-
} = await import("../responsiveness-probe-
|
|
12066
|
+
} = await import("../responsiveness-probe-NVP34464.js");
|
|
12056
12067
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
12057
12068
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
12058
12069
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -15582,7 +15593,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
15582
15593
|
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}`));
|
|
15583
15594
|
void (async () => {
|
|
15584
15595
|
try {
|
|
15585
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15596
|
+
const { collectDiagnostics } = await import("../persistent-session-MH5URKMO.js");
|
|
15586
15597
|
await api.post("/host/heartbeat", {
|
|
15587
15598
|
host_id: hostId,
|
|
15588
15599
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -15632,7 +15643,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
15632
15643
|
}
|
|
15633
15644
|
try {
|
|
15634
15645
|
const hostId = await getHostId();
|
|
15635
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15646
|
+
const { collectDiagnostics } = await import("../persistent-session-MH5URKMO.js");
|
|
15636
15647
|
await api.post("/host/heartbeat", {
|
|
15637
15648
|
host_id: hostId,
|
|
15638
15649
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -16156,7 +16167,7 @@ async function processClaudePairSessions(agents) {
|
|
|
16156
16167
|
killPairSession,
|
|
16157
16168
|
pairTmuxSession,
|
|
16158
16169
|
finalizeClaudePairOnboarding
|
|
16159
|
-
} = await import("../claude-pair-runtime-
|
|
16170
|
+
} = await import("../claude-pair-runtime-34ZO2AFF.js");
|
|
16160
16171
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
16161
16172
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
16162
16173
|
const killed = await killPairSession(pairTmuxSession(pairId));
|