@integrity-labs/agt-cli 0.28.1133 → 0.28.1135
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-I7W7LI5F.js → chunk-5C52XNSX.js} +4 -4
- package/dist/{chunk-TPUS37QC.js → chunk-773ZNDNR.js} +22 -2
- package/dist/chunk-773ZNDNR.js.map +1 -0
- package/dist/{chunk-NIKSQHNB.js → chunk-PGTZFME3.js} +2 -2
- package/dist/{claude-pair-runtime-VCSQQI24.js → claude-pair-runtime-6SJHKHRE.js} +2 -2
- package/dist/lib/manager-worker.js +16 -16
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +21 -1
- package/dist/mcp/index.js +21 -1
- package/dist/mcp/origami.js +21 -1
- package/dist/mcp/slack-channel.js +58 -4
- package/dist/mcp/telegram-channel.js +21 -1
- package/dist/{persistent-session-JUPKKQMI.js → persistent-session-6W6PZGNB.js} +3 -3
- package/dist/{responsiveness-probe-IOJU24OH.js → responsiveness-probe-LLYHYZR7.js} +3 -3
- package/dist/{session-auth-dead-5QPG3HCJ.js → session-auth-dead-QZET5C3W.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-TPUS37QC.js.map +0 -1
- /package/dist/{chunk-I7W7LI5F.js.map → chunk-5C52XNSX.js.map} +0 -0
- /package/dist/{chunk-NIKSQHNB.js.map → chunk-PGTZFME3.js.map} +0 -0
- /package/dist/{claude-pair-runtime-VCSQQI24.js.map → claude-pair-runtime-6SJHKHRE.js.map} +0 -0
- /package/dist/{persistent-session-JUPKKQMI.js.map → persistent-session-6W6PZGNB.js.map} +0 -0
- /package/dist/{responsiveness-probe-IOJU24OH.js.map → responsiveness-probe-LLYHYZR7.js.map} +0 -0
- /package/dist/{session-auth-dead-5QPG3HCJ.js.map → session-auth-dead-QZET5C3W.js.map} +0 -0
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
rotateDailySession,
|
|
25
25
|
sessionFileExists,
|
|
26
26
|
todayLocalIso
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-773ZNDNR.js";
|
|
28
28
|
import {
|
|
29
29
|
classifyUnanswerablePane,
|
|
30
30
|
findUsageLimitResetHint,
|
|
@@ -6114,4 +6114,4 @@ export {
|
|
|
6114
6114
|
stopAllSessionsAndWait,
|
|
6115
6115
|
getProjectDir
|
|
6116
6116
|
};
|
|
6117
|
-
//# sourceMappingURL=chunk-
|
|
6117
|
+
//# sourceMappingURL=chunk-PGTZFME3.js.map
|
|
@@ -269,7 +269,7 @@ async function spawnPairSession(session) {
|
|
|
269
269
|
return { ok: true };
|
|
270
270
|
} catch {
|
|
271
271
|
}
|
|
272
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
272
|
+
const { resolveClaudeBinary } = await import("./persistent-session-6W6PZGNB.js");
|
|
273
273
|
const claudeBin = resolveClaudeBinary();
|
|
274
274
|
const pairEnv = {
|
|
275
275
|
...process.env,
|
|
@@ -739,4 +739,4 @@ export {
|
|
|
739
739
|
startClaudePair,
|
|
740
740
|
submitClaudePairCode
|
|
741
741
|
};
|
|
742
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
742
|
+
//# sourceMappingURL=claude-pair-runtime-6SJHKHRE.js.map
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
setConfigHash,
|
|
77
77
|
shellGuard,
|
|
78
78
|
tripClass
|
|
79
|
-
} from "../chunk-
|
|
79
|
+
} from "../chunk-5C52XNSX.js";
|
|
80
80
|
import {
|
|
81
81
|
getProjectDir as getProjectDir2,
|
|
82
82
|
getReadyTasks,
|
|
@@ -163,7 +163,7 @@ import {
|
|
|
163
163
|
webFetchBaselineValue,
|
|
164
164
|
webFetchRestartNeeded,
|
|
165
165
|
writeEgressAllowlist
|
|
166
|
-
} from "../chunk-
|
|
166
|
+
} from "../chunk-PGTZFME3.js";
|
|
167
167
|
import {
|
|
168
168
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
169
169
|
AnchorSessionClient,
|
|
@@ -274,7 +274,7 @@ import {
|
|
|
274
274
|
subagentActivityAgeSeconds,
|
|
275
275
|
sumTranscriptUsageInWindow,
|
|
276
276
|
transcriptActivityAgeSeconds
|
|
277
|
-
} from "../chunk-
|
|
277
|
+
} from "../chunk-773ZNDNR.js";
|
|
278
278
|
import {
|
|
279
279
|
classifyUnanswerablePane,
|
|
280
280
|
focusedConfirmDialogBlock,
|
|
@@ -14491,7 +14491,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
14491
14491
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
14492
14492
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
14493
14493
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
14494
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
14494
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-LLYHYZR7.js");
|
|
14495
14495
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
14496
14496
|
if (newest === null) return null;
|
|
14497
14497
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -15249,7 +15249,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
15249
15249
|
var lastVersionCheckAt = 0;
|
|
15250
15250
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
15251
15251
|
var lastResponsivenessProbeAt = 0;
|
|
15252
|
-
var agtCliVersion = true ? "0.28.
|
|
15252
|
+
var agtCliVersion = true ? "0.28.1135" : "dev";
|
|
15253
15253
|
function resolveBrewPath(execFileSync3) {
|
|
15254
15254
|
try {
|
|
15255
15255
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -16879,7 +16879,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
16879
16879
|
if (codeNames.length === 0) return;
|
|
16880
16880
|
void (async () => {
|
|
16881
16881
|
try {
|
|
16882
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
16882
|
+
const { collectDiagnostics } = await import("../persistent-session-6W6PZGNB.js");
|
|
16883
16883
|
await api.post("/host/heartbeat", {
|
|
16884
16884
|
host_id: hostId,
|
|
16885
16885
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -17021,7 +17021,7 @@ async function pollCycleInner() {
|
|
|
17021
17021
|
}
|
|
17022
17022
|
try {
|
|
17023
17023
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
17024
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
17024
|
+
const { collectDiagnostics } = await import("../persistent-session-6W6PZGNB.js");
|
|
17025
17025
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
17026
17026
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor) : void 0;
|
|
17027
17027
|
let tailscaleHostname;
|
|
@@ -17229,7 +17229,7 @@ async function pollCycleInner() {
|
|
|
17229
17229
|
collectPanelessActivityProbes,
|
|
17230
17230
|
getResponsivenessIntervalMs,
|
|
17231
17231
|
occupancyQualificationClassifications
|
|
17232
|
-
} = await import("../responsiveness-probe-
|
|
17232
|
+
} = await import("../responsiveness-probe-LLYHYZR7.js");
|
|
17233
17233
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
17234
17234
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
17235
17235
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -17346,7 +17346,7 @@ async function pollCycleInner() {
|
|
|
17346
17346
|
collectResponsivenessProbes,
|
|
17347
17347
|
livePendingInboundOldestAgeSeconds,
|
|
17348
17348
|
parkPendingInbound
|
|
17349
|
-
} = await import("../responsiveness-probe-
|
|
17349
|
+
} = await import("../responsiveness-probe-LLYHYZR7.js");
|
|
17350
17350
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
|
|
17351
17351
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
17352
17352
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -17632,7 +17632,7 @@ async function pollCycleInner() {
|
|
|
17632
17632
|
}
|
|
17633
17633
|
}
|
|
17634
17634
|
);
|
|
17635
|
-
const { parkPendingInbound } = await import("../responsiveness-probe-
|
|
17635
|
+
const { parkPendingInbound } = await import("../responsiveness-probe-LLYHYZR7.js");
|
|
17636
17636
|
const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
|
|
17637
17637
|
paneFatalStreak.delete(codeName);
|
|
17638
17638
|
paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
|
|
@@ -17663,7 +17663,7 @@ async function pollCycleInner() {
|
|
|
17663
17663
|
TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
|
|
17664
17664
|
bindSourceEscalations
|
|
17665
17665
|
} = await import("../transcript-mount-health-OHE6IVJV.js");
|
|
17666
|
-
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-
|
|
17666
|
+
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-6W6PZGNB.js");
|
|
17667
17667
|
const mountConfig = resolveTranscriptMountConfig();
|
|
17668
17668
|
const liveAgents = agentState.persistentSessionAgents;
|
|
17669
17669
|
for (const tracked of [
|
|
@@ -17828,7 +17828,7 @@ async function pollCycleInner() {
|
|
|
17828
17828
|
}
|
|
17829
17829
|
try {
|
|
17830
17830
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
|
|
17831
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
17831
|
+
const { probeSessionAuth } = await import("../session-auth-dead-QZET5C3W.js");
|
|
17832
17832
|
const observations = [];
|
|
17833
17833
|
const pendingCacheCommits = [];
|
|
17834
17834
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -22423,7 +22423,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
22423
22423
|
try {
|
|
22424
22424
|
const freshId = rotateSessionForWedge(codeName);
|
|
22425
22425
|
consecutiveWedgeCycles.delete(codeName);
|
|
22426
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
22426
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-LLYHYZR7.js");
|
|
22427
22427
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
22428
22428
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
22429
22429
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -22466,7 +22466,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
22466
22466
|
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}`));
|
|
22467
22467
|
void (async () => {
|
|
22468
22468
|
try {
|
|
22469
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
22469
|
+
const { collectDiagnostics } = await import("../persistent-session-6W6PZGNB.js");
|
|
22470
22470
|
await api.post("/host/heartbeat", {
|
|
22471
22471
|
host_id: hostId,
|
|
22472
22472
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -22517,7 +22517,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
22517
22517
|
}
|
|
22518
22518
|
try {
|
|
22519
22519
|
const hostId = await getHostId();
|
|
22520
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
22520
|
+
const { collectDiagnostics } = await import("../persistent-session-6W6PZGNB.js");
|
|
22521
22521
|
await api.post("/host/heartbeat", {
|
|
22522
22522
|
host_id: hostId,
|
|
22523
22523
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -23190,7 +23190,7 @@ async function processClaudePairSessions(agents) {
|
|
|
23190
23190
|
// cannot take it for itself — by the time it runs, the write it is looking
|
|
23191
23191
|
// for may already have happened.
|
|
23192
23192
|
snapshotPairConfig
|
|
23193
|
-
} = await import("../claude-pair-runtime-
|
|
23193
|
+
} = await import("../claude-pair-runtime-6SJHKHRE.js");
|
|
23194
23194
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
23195
23195
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
23196
23196
|
const killed = await killPairSession(pairTmuxSession(pairId));
|