@integrity-labs/agt-cli 0.28.458 → 0.28.459
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-KAIH24HZ.js → chunk-BWH5XTDU.js} +25 -4
- package/dist/chunk-BWH5XTDU.js.map +1 -0
- package/dist/{chunk-QIQQ46NH.js → chunk-PKZMFA2U.js} +3 -3
- package/dist/{claude-pair-runtime-CVCPBJOZ.js → claude-pair-runtime-YNOY2ATX.js} +2 -2
- package/dist/lib/manager-worker.js +16 -10
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +1134 -788
- package/dist/mcp/origami.js +11 -1
- package/dist/mcp/slack-channel.js +539 -139
- package/dist/mcp/telegram-channel.js +482 -94
- package/dist/{persistent-session-EVLWDI3I.js → persistent-session-KGRCIIS5.js} +2 -2
- package/dist/{responsiveness-probe-EGP2F3WD.js → responsiveness-probe-4FVGB6NY.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-KAIH24HZ.js.map +0 -1
- /package/dist/{chunk-QIQQ46NH.js.map → chunk-PKZMFA2U.js.map} +0 -0
- /package/dist/{claude-pair-runtime-CVCPBJOZ.js.map → claude-pair-runtime-YNOY2ATX.js.map} +0 -0
- /package/dist/{persistent-session-EVLWDI3I.js.map → persistent-session-KGRCIIS5.js.map} +0 -0
- /package/dist/{responsiveness-probe-EGP2F3WD.js.map → responsiveness-probe-4FVGB6NY.js.map} +0 -0
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
resolveConnectivityProbe,
|
|
31
31
|
worseConnectivityOutcome,
|
|
32
32
|
wrapScheduledTaskPrompt
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-BWH5XTDU.js";
|
|
34
34
|
import {
|
|
35
35
|
parsePsRows
|
|
36
36
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -4911,7 +4911,7 @@ function requireHost() {
|
|
|
4911
4911
|
}
|
|
4912
4912
|
|
|
4913
4913
|
// src/lib/api-client.ts
|
|
4914
|
-
var agtCliVersion = true ? "0.28.
|
|
4914
|
+
var agtCliVersion = true ? "0.28.459" : "dev";
|
|
4915
4915
|
var lastConfigHash = null;
|
|
4916
4916
|
function setConfigHash(hash) {
|
|
4917
4917
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -7449,4 +7449,4 @@ export {
|
|
|
7449
7449
|
managerInstallSystemUnitCommand,
|
|
7450
7450
|
managerUninstallSystemUnitCommand
|
|
7451
7451
|
};
|
|
7452
|
-
//# sourceMappingURL=chunk-
|
|
7452
|
+
//# sourceMappingURL=chunk-PKZMFA2U.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-KGRCIIS5.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-YNOY2ATX.js.map
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
resolveEffectivePinRaw,
|
|
43
43
|
safeWriteJsonAtomic,
|
|
44
44
|
setConfigHash
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-PKZMFA2U.js";
|
|
46
46
|
import {
|
|
47
47
|
getProjectDir as getProjectDir2,
|
|
48
48
|
getReadyTasks,
|
|
@@ -164,7 +164,7 @@ import {
|
|
|
164
164
|
toOpencodeModel,
|
|
165
165
|
transcriptActivityAgeSeconds,
|
|
166
166
|
writeEgressAllowlist
|
|
167
|
-
} from "../chunk-
|
|
167
|
+
} from "../chunk-BWH5XTDU.js";
|
|
168
168
|
import {
|
|
169
169
|
reapOrphanChannelMcps
|
|
170
170
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -9956,7 +9956,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
9956
9956
|
var lastVersionCheckAt = 0;
|
|
9957
9957
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
9958
9958
|
var lastResponsivenessProbeAt = 0;
|
|
9959
|
-
var agtCliVersion = true ? "0.28.
|
|
9959
|
+
var agtCliVersion = true ? "0.28.459" : "dev";
|
|
9960
9960
|
function resolveBrewPath(execFileSync2) {
|
|
9961
9961
|
try {
|
|
9962
9962
|
const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -11117,7 +11117,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
11117
11117
|
if (codeNames.length === 0) return;
|
|
11118
11118
|
void (async () => {
|
|
11119
11119
|
try {
|
|
11120
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11120
|
+
const { collectDiagnostics } = await import("../persistent-session-KGRCIIS5.js");
|
|
11121
11121
|
await api.post("/host/heartbeat", {
|
|
11122
11122
|
host_id: hostId,
|
|
11123
11123
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -11224,7 +11224,7 @@ async function pollCycle() {
|
|
|
11224
11224
|
}
|
|
11225
11225
|
try {
|
|
11226
11226
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
11227
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
11227
|
+
const { collectDiagnostics } = await import("../persistent-session-KGRCIIS5.js");
|
|
11228
11228
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
11229
11229
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor) : void 0;
|
|
11230
11230
|
let tailscaleHostname;
|
|
@@ -11338,7 +11338,7 @@ async function pollCycle() {
|
|
|
11338
11338
|
collectResponsivenessProbes,
|
|
11339
11339
|
collectPanelessActivityProbes,
|
|
11340
11340
|
getResponsivenessIntervalMs
|
|
11341
|
-
} = await import("../responsiveness-probe-
|
|
11341
|
+
} = await import("../responsiveness-probe-4FVGB6NY.js");
|
|
11342
11342
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
11343
11343
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
11344
11344
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -11402,7 +11402,7 @@ async function pollCycle() {
|
|
|
11402
11402
|
collectResponsivenessProbes,
|
|
11403
11403
|
livePendingInboundOldestAgeSeconds,
|
|
11404
11404
|
parkPendingInbound
|
|
11405
|
-
} = await import("../responsiveness-probe-
|
|
11405
|
+
} = await import("../responsiveness-probe-4FVGB6NY.js");
|
|
11406
11406
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
11407
11407
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
11408
11408
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -14490,6 +14490,12 @@ ${truncateForLog(ctx.tail)}` : `; pane_tail_hash=sha256:${createHash16("sha256")
|
|
|
14490
14490
|
"usage-limit-reactive-notice",
|
|
14491
14491
|
agent.agent_id
|
|
14492
14492
|
),
|
|
14493
|
+
// ENG-8269: materialize wedge-transient-notice into the spawn env so the
|
|
14494
|
+
// channel MCPs can tell a waiting user their turn died on a transient
|
|
14495
|
+
// provider failure. Same isolation reasoning as the line above — the
|
|
14496
|
+
// flags-cache is not mounted into an agent's container, so without this the
|
|
14497
|
+
// flip reaches nothing running under Docker.
|
|
14498
|
+
turnFailureNoticeEnabled: hostFlagStore().getBoolean("wedge-transient-notice"),
|
|
14493
14499
|
egressAllowlist,
|
|
14494
14500
|
log
|
|
14495
14501
|
});
|
|
@@ -14774,7 +14780,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
14774
14780
|
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}`));
|
|
14775
14781
|
void (async () => {
|
|
14776
14782
|
try {
|
|
14777
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14783
|
+
const { collectDiagnostics } = await import("../persistent-session-KGRCIIS5.js");
|
|
14778
14784
|
await api.post("/host/heartbeat", {
|
|
14779
14785
|
host_id: hostId,
|
|
14780
14786
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -14824,7 +14830,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
14824
14830
|
}
|
|
14825
14831
|
try {
|
|
14826
14832
|
const hostId = await getHostId();
|
|
14827
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14833
|
+
const { collectDiagnostics } = await import("../persistent-session-KGRCIIS5.js");
|
|
14828
14834
|
await api.post("/host/heartbeat", {
|
|
14829
14835
|
host_id: hostId,
|
|
14830
14836
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
|
|
@@ -15277,7 +15283,7 @@ async function processClaudePairSessions(agents) {
|
|
|
15277
15283
|
killPairSession,
|
|
15278
15284
|
pairTmuxSession,
|
|
15279
15285
|
finalizeClaudePairOnboarding
|
|
15280
|
-
} = await import("../claude-pair-runtime-
|
|
15286
|
+
} = await import("../claude-pair-runtime-YNOY2ATX.js");
|
|
15281
15287
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
15282
15288
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
15283
15289
|
const killed = await killPairSession(pairTmuxSession(pairId));
|