@integrity-labs/agt-cli 0.28.649 → 0.28.651
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 +5 -5
- package/dist/{chunk-UTNGCJLO.js → chunk-EUXCRRZU.js} +12 -3
- package/dist/{chunk-UTNGCJLO.js.map → chunk-EUXCRRZU.js.map} +1 -1
- package/dist/{chunk-2E3VWDVA.js → chunk-EXMRWMXQ.js} +11 -10
- package/dist/{chunk-2E3VWDVA.js.map → chunk-EXMRWMXQ.js.map} +1 -1
- package/dist/{chunk-WP6LYCRS.js → chunk-V5MUX3GI.js} +14 -7
- package/dist/chunk-V5MUX3GI.js.map +1 -0
- package/dist/{claude-pair-runtime-XTTGSEFA.js → claude-pair-runtime-U52EA7NZ.js} +2 -2
- package/dist/lib/manager-worker.js +16 -14
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +13 -6
- package/dist/mcp/index.js +13 -6
- package/dist/mcp/origami.js +13 -6
- package/dist/mcp/slack-channel.js +13 -6
- package/dist/mcp/telegram-channel.js +13 -6
- package/dist/{persistent-session-TE6CKC5R.js → persistent-session-DVZESZDD.js} +3 -3
- package/dist/{responsiveness-probe-BQNVH63L.js → responsiveness-probe-Q7SVASQS.js} +3 -3
- package/dist/{session-auth-dead-SZXCIJ4S.js → session-auth-dead-RV3Z64TM.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-WP6LYCRS.js.map +0 -1
- /package/dist/{claude-pair-runtime-XTTGSEFA.js.map → claude-pair-runtime-U52EA7NZ.js.map} +0 -0
- /package/dist/{persistent-session-TE6CKC5R.js.map → persistent-session-DVZESZDD.js.map} +0 -0
- /package/dist/{responsiveness-probe-BQNVH63L.js.map → responsiveness-probe-Q7SVASQS.js.map} +0 -0
- /package/dist/{session-auth-dead-SZXCIJ4S.js.map → session-auth-dead-RV3Z64TM.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-DVZESZDD.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-U52EA7NZ.js.map
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
safeWriteJsonAtomic,
|
|
56
56
|
setConfigHash,
|
|
57
57
|
tripClass
|
|
58
|
-
} from "../chunk-
|
|
58
|
+
} from "../chunk-EXMRWMXQ.js";
|
|
59
59
|
import {
|
|
60
60
|
getProjectDir as getProjectDir2,
|
|
61
61
|
getReadyTasks,
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
takeZombieDetection,
|
|
112
112
|
toOpencodeModel,
|
|
113
113
|
writeEgressAllowlist
|
|
114
|
-
} from "../chunk-
|
|
114
|
+
} from "../chunk-EUXCRRZU.js";
|
|
115
115
|
import {
|
|
116
116
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
117
117
|
AnchorSessionClient,
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
subagentActivityAgeSeconds,
|
|
193
193
|
sumTranscriptUsageInWindow,
|
|
194
194
|
transcriptActivityAgeSeconds
|
|
195
|
-
} from "../chunk-
|
|
195
|
+
} from "../chunk-V5MUX3GI.js";
|
|
196
196
|
import {
|
|
197
197
|
reapOrphanChannelMcps
|
|
198
198
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -375,7 +375,9 @@ function shouldRemediateUnverifiedRestart(outcome, ctx) {
|
|
|
375
375
|
}
|
|
376
376
|
function computeFirstConnectUnsettled(integrations, now, windowMs) {
|
|
377
377
|
return integrations.some((i) => {
|
|
378
|
-
if (i.last_connectivity_status !== "transient_error")
|
|
378
|
+
if (i.last_connectivity_status !== "transient_error" && i.last_connectivity_status !== "unverified") {
|
|
379
|
+
return false;
|
|
380
|
+
}
|
|
379
381
|
if (!i.created_at) return false;
|
|
380
382
|
const addedAt = Date.parse(i.created_at);
|
|
381
383
|
if (!Number.isFinite(addedAt)) return false;
|
|
@@ -11607,7 +11609,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
11607
11609
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
11608
11610
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
11609
11611
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
11610
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
11612
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-Q7SVASQS.js");
|
|
11611
11613
|
const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
|
|
11612
11614
|
if (newest === null) return null;
|
|
11613
11615
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -12250,7 +12252,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
12250
12252
|
var lastVersionCheckAt = 0;
|
|
12251
12253
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
12252
12254
|
var lastResponsivenessProbeAt = 0;
|
|
12253
|
-
var agtCliVersion = true ? "0.28.
|
|
12255
|
+
var agtCliVersion = true ? "0.28.651" : "dev";
|
|
12254
12256
|
function resolveBrewPath(execFileSync3) {
|
|
12255
12257
|
try {
|
|
12256
12258
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -13558,7 +13560,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
13558
13560
|
if (codeNames.length === 0) return;
|
|
13559
13561
|
void (async () => {
|
|
13560
13562
|
try {
|
|
13561
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13563
|
+
const { collectDiagnostics } = await import("../persistent-session-DVZESZDD.js");
|
|
13562
13564
|
await api.post("/host/heartbeat", {
|
|
13563
13565
|
host_id: hostId,
|
|
13564
13566
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
|
|
@@ -13674,7 +13676,7 @@ async function pollCycleInner() {
|
|
|
13674
13676
|
}
|
|
13675
13677
|
try {
|
|
13676
13678
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
13677
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
13679
|
+
const { collectDiagnostics } = await import("../persistent-session-DVZESZDD.js");
|
|
13678
13680
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
13679
13681
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor) : void 0;
|
|
13680
13682
|
let tailscaleHostname;
|
|
@@ -13797,7 +13799,7 @@ async function pollCycleInner() {
|
|
|
13797
13799
|
collectPanelessActivityProbes,
|
|
13798
13800
|
getResponsivenessIntervalMs,
|
|
13799
13801
|
occupancyQualificationClassifications
|
|
13800
|
-
} = await import("../responsiveness-probe-
|
|
13802
|
+
} = await import("../responsiveness-probe-Q7SVASQS.js");
|
|
13801
13803
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
13802
13804
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
13803
13805
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -13907,7 +13909,7 @@ async function pollCycleInner() {
|
|
|
13907
13909
|
collectResponsivenessProbes,
|
|
13908
13910
|
livePendingInboundOldestAgeSeconds,
|
|
13909
13911
|
parkPendingInbound
|
|
13910
|
-
} = await import("../responsiveness-probe-
|
|
13912
|
+
} = await import("../responsiveness-probe-Q7SVASQS.js");
|
|
13911
13913
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
13912
13914
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
13913
13915
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -14063,7 +14065,7 @@ async function pollCycleInner() {
|
|
|
14063
14065
|
}
|
|
14064
14066
|
try {
|
|
14065
14067
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
14066
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
14068
|
+
const { probeSessionAuth } = await import("../session-auth-dead-RV3Z64TM.js");
|
|
14067
14069
|
const observations = [];
|
|
14068
14070
|
const pendingCacheCommits = [];
|
|
14069
14071
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -17696,7 +17698,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
17696
17698
|
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}`));
|
|
17697
17699
|
void (async () => {
|
|
17698
17700
|
try {
|
|
17699
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
17701
|
+
const { collectDiagnostics } = await import("../persistent-session-DVZESZDD.js");
|
|
17700
17702
|
await api.post("/host/heartbeat", {
|
|
17701
17703
|
host_id: hostId,
|
|
17702
17704
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
|
|
@@ -17747,7 +17749,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
17747
17749
|
}
|
|
17748
17750
|
try {
|
|
17749
17751
|
const hostId = await getHostId();
|
|
17750
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
17752
|
+
const { collectDiagnostics } = await import("../persistent-session-DVZESZDD.js");
|
|
17751
17753
|
await api.post("/host/heartbeat", {
|
|
17752
17754
|
host_id: hostId,
|
|
17753
17755
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
|
|
@@ -18344,7 +18346,7 @@ async function processClaudePairSessions(agents) {
|
|
|
18344
18346
|
killPairSession,
|
|
18345
18347
|
pairTmuxSession,
|
|
18346
18348
|
finalizeClaudePairOnboarding
|
|
18347
|
-
} = await import("../claude-pair-runtime-
|
|
18349
|
+
} = await import("../claude-pair-runtime-U52EA7NZ.js");
|
|
18348
18350
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
18349
18351
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
18350
18352
|
const killed = await killPairSession(pairTmuxSession(pairId));
|