@integrity-labs/agt-cli 0.28.560 → 0.28.562
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-C2GQLZ4F.js → chunk-5LVSV3R5.js} +6 -3
- package/dist/chunk-5LVSV3R5.js.map +1 -0
- package/dist/{chunk-AN7V4OG6.js → chunk-PQEAUMMZ.js} +26 -2
- package/dist/chunk-PQEAUMMZ.js.map +1 -0
- package/dist/{claude-pair-runtime-D4BXRU2P.js → claude-pair-runtime-UHIPHP6G.js} +2 -2
- package/dist/lib/manager-worker.js +12 -11
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +1 -1
- package/dist/mcp/origami.js +1 -1
- package/dist/mcp/slack-channel.js +1 -1
- package/dist/mcp/telegram-channel.js +1 -1
- package/dist/{persistent-session-7P5B6Z4M.js → persistent-session-ROIN4XRH.js} +2 -2
- package/dist/{responsiveness-probe-AALUPZKZ.js → responsiveness-probe-YQCU2K6O.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-AN7V4OG6.js.map +0 -1
- package/dist/chunk-C2GQLZ4F.js.map +0 -1
- /package/dist/{claude-pair-runtime-D4BXRU2P.js.map → claude-pair-runtime-UHIPHP6G.js.map} +0 -0
- /package/dist/{persistent-session-7P5B6Z4M.js.map → persistent-session-ROIN4XRH.js.map} +0 -0
- /package/dist/{responsiveness-probe-AALUPZKZ.js.map → responsiveness-probe-YQCU2K6O.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-ROIN4XRH.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-UHIPHP6G.js.map
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
safeWriteJsonAtomic,
|
|
54
54
|
setConfigHash,
|
|
55
55
|
tripClass
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-5LVSV3R5.js";
|
|
57
57
|
import {
|
|
58
58
|
getProjectDir as getProjectDir2,
|
|
59
59
|
getReadyTasks,
|
|
@@ -122,6 +122,7 @@ import {
|
|
|
122
122
|
isAgentTimezoneOverrideExpired,
|
|
123
123
|
isBareAck,
|
|
124
124
|
isBucketQualified,
|
|
125
|
+
isControlPlaneOnlyEnvVar,
|
|
125
126
|
isConversationFailureCategory,
|
|
126
127
|
isEmptyTotals,
|
|
127
128
|
isForcedUpdatePastDeadline,
|
|
@@ -181,7 +182,7 @@ import {
|
|
|
181
182
|
toOpencodeModel,
|
|
182
183
|
transcriptActivityAgeSeconds,
|
|
183
184
|
writeEgressAllowlist
|
|
184
|
-
} from "../chunk-
|
|
185
|
+
} from "../chunk-PQEAUMMZ.js";
|
|
185
186
|
import {
|
|
186
187
|
reapOrphanChannelMcps
|
|
187
188
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -10582,7 +10583,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
10582
10583
|
var lastVersionCheckAt = 0;
|
|
10583
10584
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
10584
10585
|
var lastResponsivenessProbeAt = 0;
|
|
10585
|
-
var agtCliVersion = true ? "0.28.
|
|
10586
|
+
var agtCliVersion = true ? "0.28.562" : "dev";
|
|
10586
10587
|
function resolveBrewPath(execFileSync2) {
|
|
10587
10588
|
try {
|
|
10588
10589
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -11886,7 +11887,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
11886
11887
|
if (codeNames.length === 0) return;
|
|
11887
11888
|
void (async () => {
|
|
11888
11889
|
try {
|
|
11889
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11890
|
+
const { collectDiagnostics } = await import("../persistent-session-ROIN4XRH.js");
|
|
11890
11891
|
await api.post("/host/heartbeat", {
|
|
11891
11892
|
host_id: hostId,
|
|
11892
11893
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -11994,7 +11995,7 @@ async function pollCycle() {
|
|
|
11994
11995
|
}
|
|
11995
11996
|
try {
|
|
11996
11997
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
11997
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11998
|
+
const { collectDiagnostics } = await import("../persistent-session-ROIN4XRH.js");
|
|
11998
11999
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
11999
12000
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor) : void 0;
|
|
12000
12001
|
let tailscaleHostname;
|
|
@@ -12117,7 +12118,7 @@ async function pollCycle() {
|
|
|
12117
12118
|
collectPanelessActivityProbes,
|
|
12118
12119
|
getResponsivenessIntervalMs,
|
|
12119
12120
|
occupancyQualificationClassifications
|
|
12120
|
-
} = await import("../responsiveness-probe-
|
|
12121
|
+
} = await import("../responsiveness-probe-YQCU2K6O.js");
|
|
12121
12122
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
12122
12123
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
12123
12124
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -12208,7 +12209,7 @@ async function pollCycle() {
|
|
|
12208
12209
|
collectResponsivenessProbes,
|
|
12209
12210
|
livePendingInboundOldestAgeSeconds,
|
|
12210
12211
|
parkPendingInbound
|
|
12211
|
-
} = await import("../responsiveness-probe-
|
|
12212
|
+
} = await import("../responsiveness-probe-YQCU2K6O.js");
|
|
12212
12213
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
12213
12214
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
12214
12215
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -13979,7 +13980,7 @@ async function processAgent(agent, agentStates) {
|
|
|
13979
13980
|
...liveProxyExtraHeaderVars(mcpJsonForReap),
|
|
13980
13981
|
...liveProxyTokenVars(mcpJsonForReap)
|
|
13981
13982
|
]);
|
|
13982
|
-
const respawnVars = envOnlyRespawnVars(changedVars, mcpJsonForReap, CHANNEL_SECRET_ENV_KEYS).filter((v) => !liveProxyVars.has(v));
|
|
13983
|
+
const respawnVars = envOnlyRespawnVars(changedVars, mcpJsonForReap, CHANNEL_SECRET_ENV_KEYS).filter((v) => !liveProxyVars.has(v) && !isControlPlaneOnlyEnvVar(v));
|
|
13983
13984
|
const envDiff = classifyEnvIntegrationsDiff(preWriteEnv, postWriteEnv);
|
|
13984
13985
|
const rotatedOnlyVars = new Set(envDiff.rotated);
|
|
13985
13986
|
const envRespawnReason = respawnVars.length > 0 && respawnVars.every((v) => rotatedOnlyVars.has(v)) ? "credential-rotation" : "hot-reload-mcp";
|
|
@@ -15753,7 +15754,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
15753
15754
|
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}`));
|
|
15754
15755
|
void (async () => {
|
|
15755
15756
|
try {
|
|
15756
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15757
|
+
const { collectDiagnostics } = await import("../persistent-session-ROIN4XRH.js");
|
|
15757
15758
|
await api.post("/host/heartbeat", {
|
|
15758
15759
|
host_id: hostId,
|
|
15759
15760
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -15803,7 +15804,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
15803
15804
|
}
|
|
15804
15805
|
try {
|
|
15805
15806
|
const hostId = await getHostId();
|
|
15806
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15807
|
+
const { collectDiagnostics } = await import("../persistent-session-ROIN4XRH.js");
|
|
15807
15808
|
await api.post("/host/heartbeat", {
|
|
15808
15809
|
host_id: hostId,
|
|
15809
15810
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -16375,7 +16376,7 @@ async function processClaudePairSessions(agents) {
|
|
|
16375
16376
|
killPairSession,
|
|
16376
16377
|
pairTmuxSession,
|
|
16377
16378
|
finalizeClaudePairOnboarding
|
|
16378
|
-
} = await import("../claude-pair-runtime-
|
|
16379
|
+
} = await import("../claude-pair-runtime-UHIPHP6G.js");
|
|
16379
16380
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
16380
16381
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
16381
16382
|
const killed = await killPairSession(pairTmuxSession(pairId));
|