@integrity-labs/agt-cli 0.28.1064 → 0.28.1066
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-HDPG36NY.js → chunk-OW6XCSOU.js} +17 -5
- package/dist/{chunk-HDPG36NY.js.map → chunk-OW6XCSOU.js.map} +1 -1
- package/dist/{chunk-IDBYM4HT.js → chunk-Q6O7HVJQ.js} +3 -3
- package/dist/{claude-pair-runtime-6F6UDQKQ.js → claude-pair-runtime-NCDM5KHM.js} +2 -2
- package/dist/lib/manager-worker.js +12 -12
- package/dist/{persistent-session-Y36GGHCA.js → persistent-session-ELDC5JFR.js} +2 -2
- package/dist/{responsiveness-probe-JDFWZC6W.js → responsiveness-probe-HUUU2MFX.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-IDBYM4HT.js.map → chunk-Q6O7HVJQ.js.map} +0 -0
- /package/dist/{claude-pair-runtime-6F6UDQKQ.js.map → claude-pair-runtime-NCDM5KHM.js.map} +0 -0
- /package/dist/{persistent-session-Y36GGHCA.js.map → persistent-session-ELDC5JFR.js.map} +0 -0
- /package/dist/{responsiveness-probe-JDFWZC6W.js.map → responsiveness-probe-HUUU2MFX.js.map} +0 -0
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
parseEnvFileEntries,
|
|
17
17
|
parseEnvIntegrations,
|
|
18
18
|
shellQuote
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OW6XCSOU.js";
|
|
20
20
|
import {
|
|
21
21
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
22
22
|
INTEGRATIONS_SECTION_END,
|
|
@@ -7122,7 +7122,7 @@ function exchangeFailureKind(err) {
|
|
|
7122
7122
|
}
|
|
7123
7123
|
|
|
7124
7124
|
// src/lib/api-client.ts
|
|
7125
|
-
var agtCliVersion = true ? "0.28.
|
|
7125
|
+
var agtCliVersion = true ? "0.28.1066" : "dev";
|
|
7126
7126
|
var lastConfigHash = null;
|
|
7127
7127
|
function setConfigHash(hash) {
|
|
7128
7128
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -12089,4 +12089,4 @@ export {
|
|
|
12089
12089
|
managerInstallSystemUnitCommand,
|
|
12090
12090
|
managerUninstallSystemUnitCommand
|
|
12091
12091
|
};
|
|
12092
|
-
//# sourceMappingURL=chunk-
|
|
12092
|
+
//# sourceMappingURL=chunk-Q6O7HVJQ.js.map
|
|
@@ -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-ELDC5JFR.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-NCDM5KHM.js.map
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
safeWriteJsonAtomic,
|
|
68
68
|
setConfigHash,
|
|
69
69
|
tripClass
|
|
70
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-Q6O7HVJQ.js";
|
|
71
71
|
import {
|
|
72
72
|
getProjectDir as getProjectDir2,
|
|
73
73
|
getReadyTasks,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
webFetchBaselineValue,
|
|
155
155
|
webFetchRestartNeeded,
|
|
156
156
|
writeEgressAllowlist
|
|
157
|
-
} from "../chunk-
|
|
157
|
+
} from "../chunk-OW6XCSOU.js";
|
|
158
158
|
import {
|
|
159
159
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
160
160
|
AnchorSessionClient,
|
|
@@ -14123,7 +14123,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
14123
14123
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
14124
14124
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
14125
14125
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
14126
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
14126
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-HUUU2MFX.js");
|
|
14127
14127
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
14128
14128
|
if (newest === null) return null;
|
|
14129
14129
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -14871,7 +14871,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
14871
14871
|
var lastVersionCheckAt = 0;
|
|
14872
14872
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
14873
14873
|
var lastResponsivenessProbeAt = 0;
|
|
14874
|
-
var agtCliVersion = true ? "0.28.
|
|
14874
|
+
var agtCliVersion = true ? "0.28.1066" : "dev";
|
|
14875
14875
|
function resolveBrewPath(execFileSync3) {
|
|
14876
14876
|
try {
|
|
14877
14877
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -16506,7 +16506,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
16506
16506
|
if (codeNames.length === 0) return;
|
|
16507
16507
|
void (async () => {
|
|
16508
16508
|
try {
|
|
16509
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
16509
|
+
const { collectDiagnostics } = await import("../persistent-session-ELDC5JFR.js");
|
|
16510
16510
|
await api.post("/host/heartbeat", {
|
|
16511
16511
|
host_id: hostId,
|
|
16512
16512
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -16648,7 +16648,7 @@ async function pollCycleInner() {
|
|
|
16648
16648
|
}
|
|
16649
16649
|
try {
|
|
16650
16650
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
16651
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
16651
|
+
const { collectDiagnostics } = await import("../persistent-session-ELDC5JFR.js");
|
|
16652
16652
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
16653
16653
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor) : void 0;
|
|
16654
16654
|
let tailscaleHostname;
|
|
@@ -16856,7 +16856,7 @@ async function pollCycleInner() {
|
|
|
16856
16856
|
collectPanelessActivityProbes,
|
|
16857
16857
|
getResponsivenessIntervalMs,
|
|
16858
16858
|
occupancyQualificationClassifications
|
|
16859
|
-
} = await import("../responsiveness-probe-
|
|
16859
|
+
} = await import("../responsiveness-probe-HUUU2MFX.js");
|
|
16860
16860
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
16861
16861
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
16862
16862
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -16973,7 +16973,7 @@ async function pollCycleInner() {
|
|
|
16973
16973
|
collectResponsivenessProbes,
|
|
16974
16974
|
livePendingInboundOldestAgeSeconds,
|
|
16975
16975
|
parkPendingInbound
|
|
16976
|
-
} = await import("../responsiveness-probe-
|
|
16976
|
+
} = await import("../responsiveness-probe-HUUU2MFX.js");
|
|
16977
16977
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
|
|
16978
16978
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
16979
16979
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -21694,7 +21694,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
21694
21694
|
try {
|
|
21695
21695
|
const freshId = rotateSessionForWedge(codeName);
|
|
21696
21696
|
consecutiveWedgeCycles.delete(codeName);
|
|
21697
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
21697
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-HUUU2MFX.js");
|
|
21698
21698
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
21699
21699
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
21700
21700
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -21737,7 +21737,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
21737
21737
|
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}`));
|
|
21738
21738
|
void (async () => {
|
|
21739
21739
|
try {
|
|
21740
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
21740
|
+
const { collectDiagnostics } = await import("../persistent-session-ELDC5JFR.js");
|
|
21741
21741
|
await api.post("/host/heartbeat", {
|
|
21742
21742
|
host_id: hostId,
|
|
21743
21743
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -21788,7 +21788,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
21788
21788
|
}
|
|
21789
21789
|
try {
|
|
21790
21790
|
const hostId = await getHostId();
|
|
21791
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
21791
|
+
const { collectDiagnostics } = await import("../persistent-session-ELDC5JFR.js");
|
|
21792
21792
|
await api.post("/host/heartbeat", {
|
|
21793
21793
|
host_id: hostId,
|
|
21794
21794
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -22460,7 +22460,7 @@ async function processClaudePairSessions(agents) {
|
|
|
22460
22460
|
// cannot take it for itself — by the time it runs, the write it is looking
|
|
22461
22461
|
// for may already have happened.
|
|
22462
22462
|
snapshotPairConfig
|
|
22463
|
-
} = await import("../claude-pair-runtime-
|
|
22463
|
+
} = await import("../claude-pair-runtime-NCDM5KHM.js");
|
|
22464
22464
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
22465
22465
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
22466
22466
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
writeDirectChatSessionState,
|
|
66
66
|
writeEgressAllowlist,
|
|
67
67
|
writePersistentClaudeWrapper
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-OW6XCSOU.js";
|
|
69
69
|
import "./chunk-PN7B4DLS.js";
|
|
70
70
|
import "./chunk-OCMJ5E6J.js";
|
|
71
71
|
import "./chunk-XWVM4KPK.js";
|
|
@@ -139,4 +139,4 @@ export {
|
|
|
139
139
|
writeEgressAllowlist,
|
|
140
140
|
writePersistentClaudeWrapper
|
|
141
141
|
};
|
|
142
|
-
//# sourceMappingURL=persistent-session-
|
|
142
|
+
//# sourceMappingURL=persistent-session-ELDC5JFR.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OW6XCSOU.js";
|
|
4
4
|
import "./chunk-PN7B4DLS.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-HUUU2MFX.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|