@integrity-labs/agt-cli 0.28.145 → 0.28.147
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-R4JDTW2M.js → chunk-FAWY7H7Q.js} +32 -3
- package/dist/{chunk-R4JDTW2M.js.map → chunk-FAWY7H7Q.js.map} +1 -1
- package/dist/{chunk-P7HRYVA3.js → chunk-H7DPP33E.js} +3 -2
- package/dist/chunk-H7DPP33E.js.map +1 -0
- package/dist/{chunk-SBVI6NJW.js → chunk-POW4BZEC.js} +19 -2
- package/dist/chunk-POW4BZEC.js.map +1 -0
- package/dist/{claude-pair-runtime-PSXLMBZT.js → claude-pair-runtime-E32P2WMR.js} +2 -2
- package/dist/lib/manager-worker.js +20 -11
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/whatsapp-channel.js +14165 -0
- package/dist/{persistent-session-O5ACCLPL.js → persistent-session-ERNRO4J6.js} +3 -3
- package/dist/{responsiveness-probe-FT7DMZAR.js → responsiveness-probe-BLJS46ME.js} +3 -3
- package/package.json +2 -2
- package/dist/chunk-P7HRYVA3.js.map +0 -1
- package/dist/chunk-SBVI6NJW.js.map +0 -1
- /package/dist/{claude-pair-runtime-PSXLMBZT.js.map → claude-pair-runtime-E32P2WMR.js.map} +0 -0
- /package/dist/{persistent-session-O5ACCLPL.js.map → persistent-session-ERNRO4J6.js.map} +0 -0
- /package/dist/{responsiveness-probe-FT7DMZAR.js.map → responsiveness-probe-BLJS46ME.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-ERNRO4J6.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-E32P2WMR.js.map
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
requireHost,
|
|
29
29
|
safeWriteJsonAtomic,
|
|
30
30
|
setConfigHash
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-FAWY7H7Q.js";
|
|
32
32
|
import {
|
|
33
33
|
getProjectDir as getProjectDir2,
|
|
34
34
|
getReadyTasks,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
takeZombieDetection,
|
|
73
73
|
transcriptActivityAgeSeconds,
|
|
74
74
|
writeEgressAllowlist
|
|
75
|
-
} from "../chunk-
|
|
75
|
+
} from "../chunk-H7DPP33E.js";
|
|
76
76
|
import {
|
|
77
77
|
FLAGS_SCHEMA_VERSION,
|
|
78
78
|
FLAG_REGISTRY,
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
resolveDmTarget,
|
|
112
112
|
sumTranscriptUsageInWindow,
|
|
113
113
|
wrapScheduledTaskPrompt
|
|
114
|
-
} from "../chunk-
|
|
114
|
+
} from "../chunk-POW4BZEC.js";
|
|
115
115
|
import {
|
|
116
116
|
parsePsRows,
|
|
117
117
|
reapOrphanChannelMcps
|
|
@@ -804,7 +804,7 @@ function decideChannelRestart(input) {
|
|
|
804
804
|
}
|
|
805
805
|
|
|
806
806
|
// src/lib/channel-launch-flags.ts
|
|
807
|
-
var DEV_CHANNEL_SERVER_IDS = ["slack", "telegram", "msteams"];
|
|
807
|
+
var DEV_CHANNEL_SERVER_IDS = ["slack", "telegram", "msteams", "whatsapp"];
|
|
808
808
|
function resolveChannelLaunchFlags(channelConfigs, quarantinedChannels) {
|
|
809
809
|
const devChannels = [];
|
|
810
810
|
const pluginChannels = [];
|
|
@@ -7122,7 +7122,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
7122
7122
|
var lastVersionCheckAt = 0;
|
|
7123
7123
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
7124
7124
|
var lastResponsivenessProbeAt = 0;
|
|
7125
|
-
var agtCliVersion = true ? "0.28.
|
|
7125
|
+
var agtCliVersion = true ? "0.28.147" : "dev";
|
|
7126
7126
|
function resolveBrewPath(execFileSync4) {
|
|
7127
7127
|
try {
|
|
7128
7128
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -8255,7 +8255,7 @@ async function pollCycle() {
|
|
|
8255
8255
|
}
|
|
8256
8256
|
try {
|
|
8257
8257
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
8258
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
8258
|
+
const { collectDiagnostics } = await import("../persistent-session-ERNRO4J6.js");
|
|
8259
8259
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
8260
8260
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
8261
8261
|
let tailscaleHostname;
|
|
@@ -8403,7 +8403,7 @@ async function pollCycle() {
|
|
|
8403
8403
|
const {
|
|
8404
8404
|
collectResponsivenessProbes,
|
|
8405
8405
|
getResponsivenessIntervalMs
|
|
8406
|
-
} = await import("../responsiveness-probe-
|
|
8406
|
+
} = await import("../responsiveness-probe-BLJS46ME.js");
|
|
8407
8407
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
8408
8408
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
8409
8409
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -8435,7 +8435,7 @@ async function pollCycle() {
|
|
|
8435
8435
|
collectResponsivenessProbes,
|
|
8436
8436
|
livePendingInboundOldestAgeSeconds,
|
|
8437
8437
|
parkPendingInbound
|
|
8438
|
-
} = await import("../responsiveness-probe-
|
|
8438
|
+
} = await import("../responsiveness-probe-BLJS46ME.js");
|
|
8439
8439
|
const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
|
|
8440
8440
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
8441
8441
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -11553,7 +11553,8 @@ async function processDirectChatMessage(agent, msg) {
|
|
|
11553
11553
|
return;
|
|
11554
11554
|
}
|
|
11555
11555
|
if (isSessionHealthy(agent.codeName)) {
|
|
11556
|
-
|
|
11556
|
+
const useDoorbell = hostFlagStore().getBoolean("direct-chat-doorbell") || isolationMode(agent.codeName) === "docker";
|
|
11557
|
+
if (useDoorbell) {
|
|
11557
11558
|
try {
|
|
11558
11559
|
const doorbell = directChatDoorbellPath(agent.agentId, homedir9());
|
|
11559
11560
|
mkdirSync6(dirname5(doorbell), { recursive: true });
|
|
@@ -11561,6 +11562,10 @@ async function processDirectChatMessage(agent, msg) {
|
|
|
11561
11562
|
log(`[direct-chat] Doorbell rung for '${agent.codeName}' (msg=${msg.id}) \u2014 in-session MCP will pull via the cursor`);
|
|
11562
11563
|
return;
|
|
11563
11564
|
} catch (err) {
|
|
11565
|
+
if (isolationMode(agent.codeName) === "docker") {
|
|
11566
|
+
log(`[direct-chat] Doorbell ring failed for isolated '${agent.codeName}' (msg=${msg.id}): ${err.message} \u2014 leaving pending for the in-session safety-net poll`);
|
|
11567
|
+
return;
|
|
11568
|
+
}
|
|
11564
11569
|
log(`[direct-chat] Doorbell ring failed for '${agent.codeName}' (msg=${msg.id}): ${err.message} \u2014 falling back to send-keys inject`);
|
|
11565
11570
|
}
|
|
11566
11571
|
}
|
|
@@ -12023,7 +12028,7 @@ async function processClaudePairSessions(agents) {
|
|
|
12023
12028
|
killPairSession,
|
|
12024
12029
|
pairTmuxSession,
|
|
12025
12030
|
finalizeClaudePairOnboarding
|
|
12026
|
-
} = await import("../claude-pair-runtime-
|
|
12031
|
+
} = await import("../claude-pair-runtime-E32P2WMR.js");
|
|
12027
12032
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
12028
12033
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
12029
12034
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -12825,7 +12830,9 @@ function deployMcpAssets() {
|
|
|
12825
12830
|
"telegram-channel.js",
|
|
12826
12831
|
// ENG-6019: teams-channel was provisioned into .mcp.json but never shipped
|
|
12827
12832
|
// in the bundle — the file below has never existed on hosts until now.
|
|
12828
|
-
"teams-channel.js"
|
|
12833
|
+
"teams-channel.js",
|
|
12834
|
+
"whatsapp-channel.js"
|
|
12835
|
+
// ENG-6812
|
|
12829
12836
|
]);
|
|
12830
12837
|
for (const file of [
|
|
12831
12838
|
"index.js",
|
|
@@ -12834,6 +12841,8 @@ function deployMcpAssets() {
|
|
|
12834
12841
|
"telegram-channel.js",
|
|
12835
12842
|
"teams-channel.js",
|
|
12836
12843
|
// ENG-6019
|
|
12844
|
+
"whatsapp-channel.js",
|
|
12845
|
+
// ENG-6812
|
|
12837
12846
|
// ENG-6195: the staff-only admin-debug broker, bundled with the CLI (never
|
|
12838
12847
|
// published to npm). NOT in RESTARTABLE_CHANNEL_FILES — it's not a channel,
|
|
12839
12848
|
// so it doesn't drive the channel-restart path; the mcp-presence-reaper
|