@integrity-labs/agt-cli 0.28.222 → 0.28.223
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-XNMPRL76.js → chunk-7GJGGLKZ.js} +142 -3
- package/dist/chunk-7GJGGLKZ.js.map +1 -0
- package/dist/{chunk-B3E4B7JF.js → chunk-MJ2TQQOO.js} +8 -1
- package/dist/{chunk-B3E4B7JF.js.map → chunk-MJ2TQQOO.js.map} +1 -1
- package/dist/{claude-pair-runtime-AEPVKQNP.js → claude-pair-runtime-VBCNGNZW.js} +2 -2
- package/dist/lib/manager-worker.js +15 -9
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/slack-channel.js +127 -0
- package/dist/mcp/teams-channel.js +105 -0
- package/dist/mcp/telegram-channel.js +113 -0
- package/dist/{persistent-session-M4ZTLCDP.js → persistent-session-JGBNCAKI.js} +2 -2
- package/dist/{responsiveness-probe-E25HFGJL.js → responsiveness-probe-3AYQX6CL.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-XNMPRL76.js.map +0 -1
- /package/dist/{claude-pair-runtime-AEPVKQNP.js.map → claude-pair-runtime-VBCNGNZW.js.map} +0 -0
- /package/dist/{persistent-session-M4ZTLCDP.js.map → persistent-session-JGBNCAKI.js.map} +0 -0
- /package/dist/{responsiveness-probe-E25HFGJL.js.map → responsiveness-probe-3AYQX6CL.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-JGBNCAKI.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-VBCNGNZW.js.map
|
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
provisionChannelProgressHook,
|
|
30
30
|
provisionIsolationHook,
|
|
31
31
|
provisionOrientHook,
|
|
32
|
+
provisionPreCompactHook,
|
|
32
33
|
provisionSessionStateHook,
|
|
33
34
|
provisionStopHook,
|
|
34
35
|
reapMissingMcpSessions,
|
|
@@ -36,7 +37,7 @@ import {
|
|
|
36
37
|
requireHost,
|
|
37
38
|
safeWriteJsonAtomic,
|
|
38
39
|
setConfigHash
|
|
39
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-7GJGGLKZ.js";
|
|
40
41
|
import {
|
|
41
42
|
getProjectDir as getProjectDir2,
|
|
42
43
|
getReadyTasks,
|
|
@@ -121,7 +122,7 @@ import {
|
|
|
121
122
|
takeZombieDetection,
|
|
122
123
|
transcriptActivityAgeSeconds,
|
|
123
124
|
writeEgressAllowlist
|
|
124
|
-
} from "../chunk-
|
|
125
|
+
} from "../chunk-MJ2TQQOO.js";
|
|
125
126
|
import {
|
|
126
127
|
reapOrphanChannelMcps
|
|
127
128
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -6241,7 +6242,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
6241
6242
|
var lastVersionCheckAt = 0;
|
|
6242
6243
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
6243
6244
|
var lastResponsivenessProbeAt = 0;
|
|
6244
|
-
var agtCliVersion = true ? "0.28.
|
|
6245
|
+
var agtCliVersion = true ? "0.28.223" : "dev";
|
|
6245
6246
|
function resolveBrewPath(execFileSync2) {
|
|
6246
6247
|
try {
|
|
6247
6248
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -7150,7 +7151,7 @@ async function pollCycle() {
|
|
|
7150
7151
|
}
|
|
7151
7152
|
try {
|
|
7152
7153
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
7153
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7154
|
+
const { collectDiagnostics } = await import("../persistent-session-JGBNCAKI.js");
|
|
7154
7155
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
7155
7156
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
7156
7157
|
let tailscaleHostname;
|
|
@@ -7298,7 +7299,7 @@ async function pollCycle() {
|
|
|
7298
7299
|
const {
|
|
7299
7300
|
collectResponsivenessProbes,
|
|
7300
7301
|
getResponsivenessIntervalMs
|
|
7301
|
-
} = await import("../responsiveness-probe-
|
|
7302
|
+
} = await import("../responsiveness-probe-3AYQX6CL.js");
|
|
7302
7303
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
7303
7304
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
7304
7305
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -7330,7 +7331,7 @@ async function pollCycle() {
|
|
|
7330
7331
|
collectResponsivenessProbes,
|
|
7331
7332
|
livePendingInboundOldestAgeSeconds,
|
|
7332
7333
|
parkPendingInbound
|
|
7333
|
-
} = await import("../responsiveness-probe-
|
|
7334
|
+
} = await import("../responsiveness-probe-3AYQX6CL.js");
|
|
7334
7335
|
const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
|
|
7335
7336
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
7336
7337
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -7585,7 +7586,7 @@ async function pollCycle() {
|
|
|
7585
7586
|
if (restartedCodeNames.length > 0) {
|
|
7586
7587
|
void (async () => {
|
|
7587
7588
|
try {
|
|
7588
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
7589
|
+
const { collectDiagnostics } = await import("../persistent-session-JGBNCAKI.js");
|
|
7589
7590
|
const freshDiagnostics = collectDiagnostics(restartedCodeNames);
|
|
7590
7591
|
await api.post("/host/heartbeat", {
|
|
7591
7592
|
host_id: hostId,
|
|
@@ -9776,6 +9777,11 @@ ${truncateForLog(ctx.tail)}` : `; pane_tail_hash=sha256:${createHash10("sha256")
|
|
|
9776
9777
|
} catch (err) {
|
|
9777
9778
|
log(`[persistent-session] Failed to provision session-state hook for '${codeName}': ${err.message}`);
|
|
9778
9779
|
}
|
|
9780
|
+
try {
|
|
9781
|
+
provisionPreCompactHook(codeName);
|
|
9782
|
+
} catch (err) {
|
|
9783
|
+
log(`[persistent-session] Failed to provision PreCompact hook for '${codeName}': ${err.message}`);
|
|
9784
|
+
}
|
|
9779
9785
|
const sessionRunResult = await startRun({
|
|
9780
9786
|
agent_id: agent.agent_id,
|
|
9781
9787
|
source_type: "system",
|
|
@@ -10054,7 +10060,7 @@ async function handleRestartDoorbell(agentId, requestedAt) {
|
|
|
10054
10060
|
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}`));
|
|
10055
10061
|
void (async () => {
|
|
10056
10062
|
try {
|
|
10057
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10063
|
+
const { collectDiagnostics } = await import("../persistent-session-JGBNCAKI.js");
|
|
10058
10064
|
await api.post("/host/heartbeat", {
|
|
10059
10065
|
host_id: hostId,
|
|
10060
10066
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -10448,7 +10454,7 @@ async function processClaudePairSessions(agents) {
|
|
|
10448
10454
|
killPairSession,
|
|
10449
10455
|
pairTmuxSession,
|
|
10450
10456
|
finalizeClaudePairOnboarding
|
|
10451
|
-
} = await import("../claude-pair-runtime-
|
|
10457
|
+
} = await import("../claude-pair-runtime-VBCNGNZW.js");
|
|
10452
10458
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
10453
10459
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
10454
10460
|
const killed = await killPairSession(pairTmuxSession(pairId));
|