@integrity-labs/agt-cli 0.28.381 → 0.28.383
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-EP6TURK5.js → chunk-Q433LFRY.js} +12 -1
- package/dist/chunk-Q433LFRY.js.map +1 -0
- package/dist/{chunk-TRTVQUQL.js → chunk-RBXCFAWL.js} +3 -3
- package/dist/{claude-pair-runtime-YF3ZEFKV.js → claude-pair-runtime-PERAQ2PL.js} +2 -2
- package/dist/lib/manager-worker.js +11 -11
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +11 -0
- package/dist/mcp/origami.js +11 -0
- package/dist/mcp/slack-channel.js +11 -0
- package/dist/mcp/telegram-channel.js +11 -0
- package/dist/{persistent-session-FZF7EPUW.js → persistent-session-4LAOXUQD.js} +2 -2
- package/dist/{responsiveness-probe-JYF7XPI2.js → responsiveness-probe-XLANB346.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-EP6TURK5.js.map +0 -1
- /package/dist/{chunk-TRTVQUQL.js.map → chunk-RBXCFAWL.js.map} +0 -0
- /package/dist/{claude-pair-runtime-YF3ZEFKV.js.map → claude-pair-runtime-PERAQ2PL.js.map} +0 -0
- /package/dist/{persistent-session-FZF7EPUW.js.map → persistent-session-4LAOXUQD.js.map} +0 -0
- /package/dist/{responsiveness-probe-JYF7XPI2.js.map → responsiveness-probe-XLANB346.js.map} +0 -0
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
resolveConnectivityProbe,
|
|
26
26
|
worseConnectivityOutcome,
|
|
27
27
|
wrapScheduledTaskPrompt
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-Q433LFRY.js";
|
|
29
29
|
import {
|
|
30
30
|
parsePsRows
|
|
31
31
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -6184,7 +6184,7 @@ function requireHost() {
|
|
|
6184
6184
|
}
|
|
6185
6185
|
|
|
6186
6186
|
// src/lib/api-client.ts
|
|
6187
|
-
var agtCliVersion = true ? "0.28.
|
|
6187
|
+
var agtCliVersion = true ? "0.28.383" : "dev";
|
|
6188
6188
|
var lastConfigHash = null;
|
|
6189
6189
|
function setConfigHash(hash) {
|
|
6190
6190
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8630,4 +8630,4 @@ export {
|
|
|
8630
8630
|
managerInstallSystemUnitCommand,
|
|
8631
8631
|
managerUninstallSystemUnitCommand
|
|
8632
8632
|
};
|
|
8633
|
-
//# sourceMappingURL=chunk-
|
|
8633
|
+
//# sourceMappingURL=chunk-RBXCFAWL.js.map
|
|
@@ -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-4LAOXUQD.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-PERAQ2PL.js.map
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
resolveEffectivePinRaw,
|
|
44
44
|
safeWriteJsonAtomic,
|
|
45
45
|
setConfigHash
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-RBXCFAWL.js";
|
|
47
47
|
import {
|
|
48
48
|
getProjectDir as getProjectDir2,
|
|
49
49
|
getReadyTasks,
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
toOpencodeModel,
|
|
146
146
|
transcriptActivityAgeSeconds,
|
|
147
147
|
writeEgressAllowlist
|
|
148
|
-
} from "../chunk-
|
|
148
|
+
} from "../chunk-Q433LFRY.js";
|
|
149
149
|
import {
|
|
150
150
|
reapOrphanChannelMcps
|
|
151
151
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -284,7 +284,7 @@ function canonicalize(value) {
|
|
|
284
284
|
function computeIntegrationsHash(integrations) {
|
|
285
285
|
const payload = integrations.map(
|
|
286
286
|
(i) => `${i.definition_id}:${JSON.stringify(canonicalize(i.credentials ?? {}))}:${JSON.stringify(canonicalize(i.config ?? {}))}`
|
|
287
|
-
);
|
|
287
|
+
).sort();
|
|
288
288
|
return createHash2("sha256").update(JSON.stringify(payload)).digest("hex").slice(0, 16);
|
|
289
289
|
}
|
|
290
290
|
function computeCapabilitySurfaceHash(integrations) {
|
|
@@ -9120,7 +9120,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
9120
9120
|
var lastVersionCheckAt = 0;
|
|
9121
9121
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
9122
9122
|
var lastResponsivenessProbeAt = 0;
|
|
9123
|
-
var agtCliVersion = true ? "0.28.
|
|
9123
|
+
var agtCliVersion = true ? "0.28.383" : "dev";
|
|
9124
9124
|
function resolveBrewPath(execFileSync2) {
|
|
9125
9125
|
try {
|
|
9126
9126
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -10249,7 +10249,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
10249
10249
|
if (codeNames.length === 0) return;
|
|
10250
10250
|
void (async () => {
|
|
10251
10251
|
try {
|
|
10252
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10252
|
+
const { collectDiagnostics } = await import("../persistent-session-4LAOXUQD.js");
|
|
10253
10253
|
await api.post("/host/heartbeat", {
|
|
10254
10254
|
host_id: hostId,
|
|
10255
10255
|
agent_diagnostics: collectDiagnostics(codeNames)
|
|
@@ -10348,7 +10348,7 @@ async function pollCycle() {
|
|
|
10348
10348
|
}
|
|
10349
10349
|
try {
|
|
10350
10350
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
10351
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
10351
|
+
const { collectDiagnostics } = await import("../persistent-session-4LAOXUQD.js");
|
|
10352
10352
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
10353
10353
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
|
|
10354
10354
|
let tailscaleHostname;
|
|
@@ -10503,7 +10503,7 @@ async function pollCycle() {
|
|
|
10503
10503
|
const {
|
|
10504
10504
|
collectResponsivenessProbes,
|
|
10505
10505
|
getResponsivenessIntervalMs
|
|
10506
|
-
} = await import("../responsiveness-probe-
|
|
10506
|
+
} = await import("../responsiveness-probe-XLANB346.js");
|
|
10507
10507
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
10508
10508
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
10509
10509
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -10535,7 +10535,7 @@ async function pollCycle() {
|
|
|
10535
10535
|
collectResponsivenessProbes,
|
|
10536
10536
|
livePendingInboundOldestAgeSeconds,
|
|
10537
10537
|
parkPendingInbound
|
|
10538
|
-
} = await import("../responsiveness-probe-
|
|
10538
|
+
} = await import("../responsiveness-probe-XLANB346.js");
|
|
10539
10539
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-HYOOQV4A.js");
|
|
10540
10540
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
10541
10541
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -13730,7 +13730,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
13730
13730
|
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}`));
|
|
13731
13731
|
void (async () => {
|
|
13732
13732
|
try {
|
|
13733
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13733
|
+
const { collectDiagnostics } = await import("../persistent-session-4LAOXUQD.js");
|
|
13734
13734
|
await api.post("/host/heartbeat", {
|
|
13735
13735
|
host_id: hostId,
|
|
13736
13736
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -13780,7 +13780,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
13780
13780
|
}
|
|
13781
13781
|
try {
|
|
13782
13782
|
const hostId = await getHostId();
|
|
13783
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13783
|
+
const { collectDiagnostics } = await import("../persistent-session-4LAOXUQD.js");
|
|
13784
13784
|
await api.post("/host/heartbeat", {
|
|
13785
13785
|
host_id: hostId,
|
|
13786
13786
|
agent_diagnostics: collectDiagnostics([codeName])
|
|
@@ -14233,7 +14233,7 @@ async function processClaudePairSessions(agents) {
|
|
|
14233
14233
|
killPairSession,
|
|
14234
14234
|
pairTmuxSession,
|
|
14235
14235
|
finalizeClaudePairOnboarding
|
|
14236
|
-
} = await import("../claude-pair-runtime-
|
|
14236
|
+
} = await import("../claude-pair-runtime-PERAQ2PL.js");
|
|
14237
14237
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
14238
14238
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
14239
14239
|
const killed = await killPairSession(pairTmuxSession(pairId));
|