@integrity-labs/agt-cli 0.28.1054 → 0.28.1055
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-AT7E625H.js → chunk-A7HDJW23.js} +2 -2
- package/dist/{chunk-2SGXGNDW.js → chunk-P544KDE3.js} +129 -36
- package/dist/chunk-P544KDE3.js.map +1 -0
- package/dist/{chunk-M4ADTK6F.js → chunk-TBHLHBXJ.js} +11 -5
- package/dist/{chunk-M4ADTK6F.js.map → chunk-TBHLHBXJ.js.map} +1 -1
- package/dist/{claude-pair-runtime-GO3C7KT6.js → claude-pair-runtime-TSRRFBNJ.js} +2 -2
- package/dist/lib/manager-worker.js +17 -14
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +31 -33
- package/dist/mcp/index.js +31 -33
- package/dist/mcp/origami.js +31 -33
- package/dist/mcp/slack-channel.js +31 -33
- package/dist/mcp/telegram-channel.js +31 -33
- package/dist/{persistent-session-3WRSJIDM.js → persistent-session-WSJVCGEO.js} +3 -3
- package/dist/{responsiveness-probe-2DF6VH7Q.js → responsiveness-probe-7MQI6SUF.js} +3 -3
- package/dist/{session-auth-dead-GRTHA2Z5.js → session-auth-dead-NFVTUFPI.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-2SGXGNDW.js.map +0 -1
- /package/dist/{chunk-AT7E625H.js.map → chunk-A7HDJW23.js.map} +0 -0
- /package/dist/{claude-pair-runtime-GO3C7KT6.js.map → claude-pair-runtime-TSRRFBNJ.js.map} +0 -0
- /package/dist/{persistent-session-3WRSJIDM.js.map → persistent-session-WSJVCGEO.js.map} +0 -0
- /package/dist/{responsiveness-probe-2DF6VH7Q.js.map → responsiveness-probe-7MQI6SUF.js.map} +0 -0
- /package/dist/{session-auth-dead-GRTHA2Z5.js.map → session-auth-dead-NFVTUFPI.js.map} +0 -0
|
@@ -266,7 +266,7 @@ async function spawnPairSession(session) {
|
|
|
266
266
|
return { ok: true };
|
|
267
267
|
} catch {
|
|
268
268
|
}
|
|
269
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
269
|
+
const { resolveClaudeBinary } = await import("./persistent-session-WSJVCGEO.js");
|
|
270
270
|
const claudeBin = resolveClaudeBinary();
|
|
271
271
|
const pairEnv = {
|
|
272
272
|
...process.env,
|
|
@@ -734,4 +734,4 @@ export {
|
|
|
734
734
|
startClaudePair,
|
|
735
735
|
submitClaudePairCode
|
|
736
736
|
};
|
|
737
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
737
|
+
//# sourceMappingURL=claude-pair-runtime-TSRRFBNJ.js.map
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
safeWriteJsonAtomic,
|
|
68
68
|
setConfigHash,
|
|
69
69
|
tripClass
|
|
70
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-TBHLHBXJ.js";
|
|
71
71
|
import {
|
|
72
72
|
getProjectDir as getProjectDir2,
|
|
73
73
|
getReadyTasks,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
webFetchBaselineValue,
|
|
155
155
|
webFetchRestartNeeded,
|
|
156
156
|
writeEgressAllowlist
|
|
157
|
-
} from "../chunk-
|
|
157
|
+
} from "../chunk-A7HDJW23.js";
|
|
158
158
|
import {
|
|
159
159
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
160
160
|
AnchorSessionClient,
|
|
@@ -263,7 +263,7 @@ import {
|
|
|
263
263
|
subagentActivityAgeSeconds,
|
|
264
264
|
sumTranscriptUsageInWindow,
|
|
265
265
|
transcriptActivityAgeSeconds
|
|
266
|
-
} from "../chunk-
|
|
266
|
+
} from "../chunk-P544KDE3.js";
|
|
267
267
|
import {
|
|
268
268
|
classifyUnanswerablePane,
|
|
269
269
|
paneRemedy
|
|
@@ -2020,6 +2020,7 @@ async function runConnectivityProbes(integrations, options = {}) {
|
|
|
2020
2020
|
sourceType: integ.source_type ?? null,
|
|
2021
2021
|
authType: integ.auth_type ?? null,
|
|
2022
2022
|
credentials: integ.credentials ?? {},
|
|
2023
|
+
config: integ.config ?? void 0,
|
|
2023
2024
|
cliBinary: integ.cli_binary,
|
|
2024
2025
|
mcpServerKey: integ.mcp_server_key,
|
|
2025
2026
|
connectivityTest: integ.connectivity_test ?? null,
|
|
@@ -14098,7 +14099,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
14098
14099
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
14099
14100
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
14100
14101
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
14101
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
14102
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-7MQI6SUF.js");
|
|
14102
14103
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
14103
14104
|
if (newest === null) return null;
|
|
14104
14105
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -14477,6 +14478,8 @@ async function runAgentConnectivityProbes(agent, integrations, projectDir) {
|
|
|
14477
14478
|
auth_type: i.auth_type,
|
|
14478
14479
|
source_type: sourceType,
|
|
14479
14480
|
credentials: i.credentials,
|
|
14481
|
+
// CS-1863: a per-install host (Storrito) is built from the install config.
|
|
14482
|
+
config: i.config ?? null,
|
|
14480
14483
|
last_connectivity_check_at: i.last_connectivity_check_at ?? null,
|
|
14481
14484
|
// ENG-5665 / ENG-6396: for any integration whose probe is an MCP
|
|
14482
14485
|
// `tools/list` against the agent's wired server (managed/Composio,
|
|
@@ -14844,7 +14847,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
14844
14847
|
var lastVersionCheckAt = 0;
|
|
14845
14848
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
14846
14849
|
var lastResponsivenessProbeAt = 0;
|
|
14847
|
-
var agtCliVersion = true ? "0.28.
|
|
14850
|
+
var agtCliVersion = true ? "0.28.1055" : "dev";
|
|
14848
14851
|
function resolveBrewPath(execFileSync3) {
|
|
14849
14852
|
try {
|
|
14850
14853
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -16479,7 +16482,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
16479
16482
|
if (codeNames.length === 0) return;
|
|
16480
16483
|
void (async () => {
|
|
16481
16484
|
try {
|
|
16482
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
16485
|
+
const { collectDiagnostics } = await import("../persistent-session-WSJVCGEO.js");
|
|
16483
16486
|
await api.post("/host/heartbeat", {
|
|
16484
16487
|
host_id: hostId,
|
|
16485
16488
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -16621,7 +16624,7 @@ async function pollCycleInner() {
|
|
|
16621
16624
|
}
|
|
16622
16625
|
try {
|
|
16623
16626
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
16624
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
16627
|
+
const { collectDiagnostics } = await import("../persistent-session-WSJVCGEO.js");
|
|
16625
16628
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
16626
16629
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor) : void 0;
|
|
16627
16630
|
let tailscaleHostname;
|
|
@@ -16825,7 +16828,7 @@ async function pollCycleInner() {
|
|
|
16825
16828
|
collectPanelessActivityProbes,
|
|
16826
16829
|
getResponsivenessIntervalMs,
|
|
16827
16830
|
occupancyQualificationClassifications
|
|
16828
|
-
} = await import("../responsiveness-probe-
|
|
16831
|
+
} = await import("../responsiveness-probe-7MQI6SUF.js");
|
|
16829
16832
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
16830
16833
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
16831
16834
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -16942,7 +16945,7 @@ async function pollCycleInner() {
|
|
|
16942
16945
|
collectResponsivenessProbes,
|
|
16943
16946
|
livePendingInboundOldestAgeSeconds,
|
|
16944
16947
|
parkPendingInbound
|
|
16945
|
-
} = await import("../responsiveness-probe-
|
|
16948
|
+
} = await import("../responsiveness-probe-7MQI6SUF.js");
|
|
16946
16949
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
|
|
16947
16950
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
16948
16951
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -17098,7 +17101,7 @@ async function pollCycleInner() {
|
|
|
17098
17101
|
}
|
|
17099
17102
|
try {
|
|
17100
17103
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
|
|
17101
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
17104
|
+
const { probeSessionAuth } = await import("../session-auth-dead-NFVTUFPI.js");
|
|
17102
17105
|
const observations = [];
|
|
17103
17106
|
const pendingCacheCommits = [];
|
|
17104
17107
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -21663,7 +21666,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
21663
21666
|
try {
|
|
21664
21667
|
const freshId = rotateSessionForWedge(codeName);
|
|
21665
21668
|
consecutiveWedgeCycles.delete(codeName);
|
|
21666
|
-
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-
|
|
21669
|
+
const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-7MQI6SUF.js");
|
|
21667
21670
|
const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
|
|
21668
21671
|
const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
|
|
21669
21672
|
const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
|
|
@@ -21706,7 +21709,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
21706
21709
|
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}`));
|
|
21707
21710
|
void (async () => {
|
|
21708
21711
|
try {
|
|
21709
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
21712
|
+
const { collectDiagnostics } = await import("../persistent-session-WSJVCGEO.js");
|
|
21710
21713
|
await api.post("/host/heartbeat", {
|
|
21711
21714
|
host_id: hostId,
|
|
21712
21715
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -21757,7 +21760,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
21757
21760
|
}
|
|
21758
21761
|
try {
|
|
21759
21762
|
const hostId = await getHostId();
|
|
21760
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
21763
|
+
const { collectDiagnostics } = await import("../persistent-session-WSJVCGEO.js");
|
|
21761
21764
|
await api.post("/host/heartbeat", {
|
|
21762
21765
|
host_id: hostId,
|
|
21763
21766
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor)
|
|
@@ -22429,7 +22432,7 @@ async function processClaudePairSessions(agents) {
|
|
|
22429
22432
|
// cannot take it for itself — by the time it runs, the write it is looking
|
|
22430
22433
|
// for may already have happened.
|
|
22431
22434
|
snapshotPairConfig
|
|
22432
|
-
} = await import("../claude-pair-runtime-
|
|
22435
|
+
} = await import("../claude-pair-runtime-TSRRFBNJ.js");
|
|
22433
22436
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
22434
22437
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
22435
22438
|
const killed = await killPairSession(pairTmuxSession(pairId));
|