@integrity-labs/agt-cli 0.28.370 → 0.28.371
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-TDZFQHXC.js → chunk-D6BJJ334.js} +8 -190
- package/dist/chunk-D6BJJ334.js.map +1 -0
- package/dist/{chunk-NEM6OQLG.js → chunk-NDF3YMP5.js} +384 -1
- package/dist/chunk-NDF3YMP5.js.map +1 -0
- package/dist/{claude-pair-runtime-N4WSO5ET.js → claude-pair-runtime-U2SO44TW.js} +2 -2
- package/dist/lib/manager-worker.js +16 -10
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-PW3D7TJO.js → persistent-session-HXUYS63V.js} +2 -2
- package/dist/{responsiveness-probe-G7HFTXCV.js → responsiveness-probe-TVSASSZY.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-NEM6OQLG.js.map +0 -1
- package/dist/chunk-TDZFQHXC.js.map +0 -1
- /package/dist/{claude-pair-runtime-N4WSO5ET.js.map → claude-pair-runtime-U2SO44TW.js.map} +0 -0
- /package/dist/{persistent-session-PW3D7TJO.js.map → persistent-session-HXUYS63V.js.map} +0 -0
- /package/dist/{responsiveness-probe-G7HFTXCV.js.map → responsiveness-probe-TVSASSZY.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-HXUYS63V.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-U2SO44TW.js.map
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
resolveEffectivePinRaw,
|
|
44
44
|
safeWriteJsonAtomic,
|
|
45
45
|
setConfigHash
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-D6BJJ334.js";
|
|
47
47
|
import {
|
|
48
48
|
getProjectDir as getProjectDir2,
|
|
49
49
|
getReadyTasks,
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
toOpencodeModel,
|
|
148
148
|
transcriptActivityAgeSeconds,
|
|
149
149
|
writeEgressAllowlist
|
|
150
|
-
} from "../chunk-
|
|
150
|
+
} from "../chunk-NDF3YMP5.js";
|
|
151
151
|
import {
|
|
152
152
|
reapOrphanChannelMcps
|
|
153
153
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -9099,7 +9099,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
9099
9099
|
var lastVersionCheckAt = 0;
|
|
9100
9100
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
9101
9101
|
var lastResponsivenessProbeAt = 0;
|
|
9102
|
-
var agtCliVersion = true ? "0.28.
|
|
9102
|
+
var agtCliVersion = true ? "0.28.371" : "dev";
|
|
9103
9103
|
function resolveBrewPath(execFileSync2) {
|
|
9104
9104
|
try {
|
|
9105
9105
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -10118,7 +10118,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
10118
10118
|
if (codeNames.length === 0) return;
|
|
10119
10119
|
void (async () => {
|
|
10120
10120
|
try {
|
|
10121
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10121
|
+
const { collectDiagnostics } = await import("../persistent-session-HXUYS63V.js");
|
|
10122
10122
|
await api.post("/host/heartbeat", {
|
|
10123
10123
|
host_id: hostId,
|
|
10124
10124
|
agent_diagnostics: collectDiagnostics(codeNames)
|
|
@@ -10217,7 +10217,7 @@ async function pollCycle() {
|
|
|
10217
10217
|
}
|
|
10218
10218
|
try {
|
|
10219
10219
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
10220
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10220
|
+
const { collectDiagnostics } = await import("../persistent-session-HXUYS63V.js");
|
|
10221
10221
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
10222
10222
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
10223
10223
|
let tailscaleHostname;
|
|
@@ -10372,7 +10372,7 @@ async function pollCycle() {
|
|
|
10372
10372
|
const {
|
|
10373
10373
|
collectResponsivenessProbes,
|
|
10374
10374
|
getResponsivenessIntervalMs
|
|
10375
|
-
} = await import("../responsiveness-probe-
|
|
10375
|
+
} = await import("../responsiveness-probe-TVSASSZY.js");
|
|
10376
10376
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
10377
10377
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
10378
10378
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -10404,7 +10404,7 @@ async function pollCycle() {
|
|
|
10404
10404
|
collectResponsivenessProbes,
|
|
10405
10405
|
livePendingInboundOldestAgeSeconds,
|
|
10406
10406
|
parkPendingInbound
|
|
10407
|
-
} = await import("../responsiveness-probe-
|
|
10407
|
+
} = await import("../responsiveness-probe-TVSASSZY.js");
|
|
10408
10408
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-HYOOQV4A.js");
|
|
10409
10409
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
10410
10410
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -12042,6 +12042,12 @@ async function processAgent(agent, agentStates) {
|
|
|
12042
12042
|
}
|
|
12043
12043
|
log(`Integrations provisioned for '${agent.code_name}' (${integrations.length} integration(s))`);
|
|
12044
12044
|
const fw = agentFrameworkCache.get(agent.code_name) ?? DEFAULT_FRAMEWORK;
|
|
12045
|
+
if (fw === "opencode" && changedIntIds.length > 0 && isOpencodeSessionHealthy(agent.code_name)) {
|
|
12046
|
+
log(
|
|
12047
|
+
`[hot-reload] opencode integration set changed for '${agent.code_name}' (${changedIntIds.join(", ")}) - restarting serve to load new MCP servers`
|
|
12048
|
+
);
|
|
12049
|
+
stopOpencodeSession(agent.code_name, log);
|
|
12050
|
+
}
|
|
12045
12051
|
let rotationHandled = true;
|
|
12046
12052
|
if (fw === "claude-code" && isSessionHealthy(agent.code_name)) {
|
|
12047
12053
|
try {
|
|
@@ -13569,7 +13575,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
13569
13575
|
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}`));
|
|
13570
13576
|
void (async () => {
|
|
13571
13577
|
try {
|
|
13572
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13578
|
+
const { collectDiagnostics } = await import("../persistent-session-HXUYS63V.js");
|
|
13573
13579
|
await api.post("/host/heartbeat", {
|
|
13574
13580
|
host_id: hostId,
|
|
13575
13581
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -13619,7 +13625,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
13619
13625
|
}
|
|
13620
13626
|
try {
|
|
13621
13627
|
const hostId = await getHostId();
|
|
13622
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13628
|
+
const { collectDiagnostics } = await import("../persistent-session-HXUYS63V.js");
|
|
13623
13629
|
await api.post("/host/heartbeat", {
|
|
13624
13630
|
host_id: hostId,
|
|
13625
13631
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -14117,7 +14123,7 @@ async function processClaudePairSessions(agents) {
|
|
|
14117
14123
|
killPairSession,
|
|
14118
14124
|
pairTmuxSession,
|
|
14119
14125
|
finalizeClaudePairOnboarding
|
|
14120
|
-
} = await import("../claude-pair-runtime-
|
|
14126
|
+
} = await import("../claude-pair-runtime-U2SO44TW.js");
|
|
14121
14127
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
14122
14128
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
14123
14129
|
const killed = await killPairSession(pairTmuxSession(pairId));
|