@integrity-labs/agt-cli 0.28.757 → 0.28.758
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-JB2LZVNB.js → chunk-4GGLPSVH.js} +2 -2
- package/dist/{chunk-45KFVLO4.js → chunk-SD2Y6ZOB.js} +71 -4
- package/dist/{chunk-45KFVLO4.js.map → chunk-SD2Y6ZOB.js.map} +1 -1
- package/dist/{chunk-43TIELP4.js → chunk-ZUCWB2AP.js} +4 -4
- package/dist/{claude-pair-runtime-MQMZT4AM.js → claude-pair-runtime-I6Q7M7KZ.js} +2 -2
- package/dist/lib/manager-worker.js +13 -13
- package/dist/mcp/direct-chat-channel.js +3 -0
- package/dist/mcp/index.js +3 -0
- package/dist/mcp/origami.js +3 -0
- package/dist/mcp/slack-channel.js +3 -0
- package/dist/mcp/telegram-channel.js +3 -0
- package/dist/{persistent-session-UVO7INXO.js → persistent-session-IUGL5OEF.js} +3 -3
- package/dist/{responsiveness-probe-3F3O7D7H.js → responsiveness-probe-N7QDT6AE.js} +3 -3
- package/dist/{session-auth-dead-Z6TCXJ4R.js → session-auth-dead-VE5NYGT7.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-JB2LZVNB.js.map → chunk-4GGLPSVH.js.map} +0 -0
- /package/dist/{chunk-43TIELP4.js.map → chunk-ZUCWB2AP.js.map} +0 -0
- /package/dist/{claude-pair-runtime-MQMZT4AM.js.map → claude-pair-runtime-I6Q7M7KZ.js.map} +0 -0
- /package/dist/{persistent-session-UVO7INXO.js.map → persistent-session-IUGL5OEF.js.map} +0 -0
- /package/dist/{responsiveness-probe-3F3O7D7H.js.map → responsiveness-probe-N7QDT6AE.js.map} +0 -0
- /package/dist/{session-auth-dead-Z6TCXJ4R.js.map → session-auth-dead-VE5NYGT7.js.map} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
parseEnvFileEntries,
|
|
14
14
|
parseEnvIntegrations,
|
|
15
15
|
shellQuote
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4GGLPSVH.js";
|
|
17
17
|
import {
|
|
18
18
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
19
19
|
INTEGRATIONS_SECTION_END,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
sessionTranscriptDir,
|
|
64
64
|
worseConnectivityOutcome,
|
|
65
65
|
wrapScheduledTaskPrompt
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-SD2Y6ZOB.js";
|
|
67
67
|
import {
|
|
68
68
|
parsePsRows
|
|
69
69
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -6436,7 +6436,7 @@ function exchangeFailureKind(err) {
|
|
|
6436
6436
|
}
|
|
6437
6437
|
|
|
6438
6438
|
// src/lib/api-client.ts
|
|
6439
|
-
var agtCliVersion = true ? "0.28.
|
|
6439
|
+
var agtCliVersion = true ? "0.28.758" : "dev";
|
|
6440
6440
|
var lastConfigHash = null;
|
|
6441
6441
|
function setConfigHash(hash) {
|
|
6442
6442
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -10593,4 +10593,4 @@ export {
|
|
|
10593
10593
|
managerInstallSystemUnitCommand,
|
|
10594
10594
|
managerUninstallSystemUnitCommand
|
|
10595
10595
|
};
|
|
10596
|
-
//# sourceMappingURL=chunk-
|
|
10596
|
+
//# sourceMappingURL=chunk-ZUCWB2AP.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-IUGL5OEF.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-I6Q7M7KZ.js.map
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
safeWriteJsonAtomic,
|
|
59
59
|
setConfigHash,
|
|
60
60
|
tripClass
|
|
61
|
-
} from "../chunk-
|
|
61
|
+
} from "../chunk-ZUCWB2AP.js";
|
|
62
62
|
import {
|
|
63
63
|
getProjectDir as getProjectDir2,
|
|
64
64
|
getReadyTasks,
|
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
takeZombieDetection,
|
|
120
120
|
toOpencodeModel,
|
|
121
121
|
writeEgressAllowlist
|
|
122
|
-
} from "../chunk-
|
|
122
|
+
} from "../chunk-4GGLPSVH.js";
|
|
123
123
|
import {
|
|
124
124
|
ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
|
|
125
125
|
AnchorSessionClient,
|
|
@@ -208,7 +208,7 @@ import {
|
|
|
208
208
|
subagentActivityAgeSeconds,
|
|
209
209
|
sumTranscriptUsageInWindow,
|
|
210
210
|
transcriptActivityAgeSeconds
|
|
211
|
-
} from "../chunk-
|
|
211
|
+
} from "../chunk-SD2Y6ZOB.js";
|
|
212
212
|
import {
|
|
213
213
|
reapOrphanChannelMcps
|
|
214
214
|
} from "../chunk-XWVM4KPK.js";
|
|
@@ -12725,7 +12725,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
12725
12725
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
12726
12726
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
12727
12727
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
12728
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
12728
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-N7QDT6AE.js");
|
|
12729
12729
|
const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
|
|
12730
12730
|
if (newest === null) return null;
|
|
12731
12731
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -13385,7 +13385,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
13385
13385
|
var lastVersionCheckAt = 0;
|
|
13386
13386
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13387
13387
|
var lastResponsivenessProbeAt = 0;
|
|
13388
|
-
var agtCliVersion = true ? "0.28.
|
|
13388
|
+
var agtCliVersion = true ? "0.28.758" : "dev";
|
|
13389
13389
|
function resolveBrewPath(execFileSync3) {
|
|
13390
13390
|
try {
|
|
13391
13391
|
const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -14926,7 +14926,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
14926
14926
|
if (codeNames.length === 0) return;
|
|
14927
14927
|
void (async () => {
|
|
14928
14928
|
try {
|
|
14929
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
14929
|
+
const { collectDiagnostics } = await import("../persistent-session-IUGL5OEF.js");
|
|
14930
14930
|
await api.post("/host/heartbeat", {
|
|
14931
14931
|
host_id: hostId,
|
|
14932
14932
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -15067,7 +15067,7 @@ async function pollCycleInner() {
|
|
|
15067
15067
|
}
|
|
15068
15068
|
try {
|
|
15069
15069
|
const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
|
|
15070
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
15070
|
+
const { collectDiagnostics } = await import("../persistent-session-IUGL5OEF.js");
|
|
15071
15071
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
15072
15072
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
|
|
15073
15073
|
let tailscaleHostname;
|
|
@@ -15236,7 +15236,7 @@ async function pollCycleInner() {
|
|
|
15236
15236
|
collectPanelessActivityProbes,
|
|
15237
15237
|
getResponsivenessIntervalMs,
|
|
15238
15238
|
occupancyQualificationClassifications
|
|
15239
|
-
} = await import("../responsiveness-probe-
|
|
15239
|
+
} = await import("../responsiveness-probe-N7QDT6AE.js");
|
|
15240
15240
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
15241
15241
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
15242
15242
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -15346,7 +15346,7 @@ async function pollCycleInner() {
|
|
|
15346
15346
|
collectResponsivenessProbes,
|
|
15347
15347
|
livePendingInboundOldestAgeSeconds,
|
|
15348
15348
|
parkPendingInbound
|
|
15349
|
-
} = await import("../responsiveness-probe-
|
|
15349
|
+
} = await import("../responsiveness-probe-N7QDT6AE.js");
|
|
15350
15350
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
|
|
15351
15351
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
15352
15352
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -15502,7 +15502,7 @@ async function pollCycleInner() {
|
|
|
15502
15502
|
}
|
|
15503
15503
|
try {
|
|
15504
15504
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
|
|
15505
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
15505
|
+
const { probeSessionAuth } = await import("../session-auth-dead-VE5NYGT7.js");
|
|
15506
15506
|
const observations = [];
|
|
15507
15507
|
const pendingCacheCommits = [];
|
|
15508
15508
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -19453,7 +19453,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
19453
19453
|
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}`));
|
|
19454
19454
|
void (async () => {
|
|
19455
19455
|
try {
|
|
19456
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19456
|
+
const { collectDiagnostics } = await import("../persistent-session-IUGL5OEF.js");
|
|
19457
19457
|
await api.post("/host/heartbeat", {
|
|
19458
19458
|
host_id: hostId,
|
|
19459
19459
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -19499,7 +19499,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
19499
19499
|
}
|
|
19500
19500
|
try {
|
|
19501
19501
|
const hostId = await getHostId();
|
|
19502
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19502
|
+
const { collectDiagnostics } = await import("../persistent-session-IUGL5OEF.js");
|
|
19503
19503
|
await api.post("/host/heartbeat", {
|
|
19504
19504
|
host_id: hostId,
|
|
19505
19505
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
|
|
@@ -20135,7 +20135,7 @@ async function processClaudePairSessions(agents) {
|
|
|
20135
20135
|
killPairSession,
|
|
20136
20136
|
pairTmuxSession,
|
|
20137
20137
|
finalizeClaudePairOnboarding
|
|
20138
|
-
} = await import("../claude-pair-runtime-
|
|
20138
|
+
} = await import("../claude-pair-runtime-I6Q7M7KZ.js");
|
|
20139
20139
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
20140
20140
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|
|
20141
20141
|
const killed = await killPairSession(pairTmuxSession(pairId));
|
|
@@ -32880,6 +32880,9 @@ var ASSET_TYPES = {
|
|
|
32880
32880
|
var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
|
|
32881
32881
|
var textEncoder = new TextEncoder();
|
|
32882
32882
|
|
|
32883
|
+
// ../core/dist/integrations/composio-account-probe.js
|
|
32884
|
+
var BODY_MAX_BYTES = 1024 * 1024;
|
|
32885
|
+
|
|
32883
32886
|
// ../core/dist/integrations/remote-mcp-proxy-env.js
|
|
32884
32887
|
var REMOTE_MCP_PROXY_ENV = {
|
|
32885
32888
|
url: "AGT_REMOTE_MCP_URL",
|
package/dist/mcp/index.js
CHANGED
|
@@ -40314,6 +40314,9 @@ var ASSET_TYPES = {
|
|
|
40314
40314
|
var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
|
|
40315
40315
|
var textEncoder = new TextEncoder();
|
|
40316
40316
|
|
|
40317
|
+
// ../core/dist/integrations/composio-account-probe.js
|
|
40318
|
+
var BODY_MAX_BYTES = 1024 * 1024;
|
|
40319
|
+
|
|
40317
40320
|
// ../core/dist/integrations/remote-mcp-proxy-env.js
|
|
40318
40321
|
var REMOTE_MCP_PROXY_ENV = {
|
|
40319
40322
|
url: "AGT_REMOTE_MCP_URL",
|
package/dist/mcp/origami.js
CHANGED
|
@@ -39064,6 +39064,9 @@ var ASSET_TYPES = {
|
|
|
39064
39064
|
var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
|
|
39065
39065
|
var textEncoder = new TextEncoder();
|
|
39066
39066
|
|
|
39067
|
+
// ../core/dist/integrations/composio-account-probe.js
|
|
39068
|
+
var BODY_MAX_BYTES = 1024 * 1024;
|
|
39069
|
+
|
|
39067
39070
|
// ../core/dist/integrations/remote-mcp-proxy-env.js
|
|
39068
39071
|
var REMOTE_MCP_PROXY_ENV = {
|
|
39069
39072
|
url: "AGT_REMOTE_MCP_URL",
|
|
@@ -33174,6 +33174,9 @@ var ASSET_TYPES = {
|
|
|
33174
33174
|
var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
|
|
33175
33175
|
var textEncoder = new TextEncoder();
|
|
33176
33176
|
|
|
33177
|
+
// ../core/dist/integrations/composio-account-probe.js
|
|
33178
|
+
var BODY_MAX_BYTES = 1024 * 1024;
|
|
33179
|
+
|
|
33177
33180
|
// ../core/dist/integrations/remote-mcp-proxy-env.js
|
|
33178
33181
|
var REMOTE_MCP_PROXY_ENV = {
|
|
33179
33182
|
url: "AGT_REMOTE_MCP_URL",
|
|
@@ -33338,6 +33338,9 @@ var ASSET_TYPES = {
|
|
|
33338
33338
|
var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
|
|
33339
33339
|
var textEncoder = new TextEncoder();
|
|
33340
33340
|
|
|
33341
|
+
// ../core/dist/integrations/composio-account-probe.js
|
|
33342
|
+
var BODY_MAX_BYTES = 1024 * 1024;
|
|
33343
|
+
|
|
33341
33344
|
// ../core/dist/integrations/remote-mcp-proxy-env.js
|
|
33342
33345
|
var REMOTE_MCP_PROXY_ENV = {
|
|
33343
33346
|
url: "AGT_REMOTE_MCP_URL",
|
|
@@ -49,8 +49,8 @@ import {
|
|
|
49
49
|
writeDirectChatSessionState,
|
|
50
50
|
writeEgressAllowlist,
|
|
51
51
|
writePersistentClaudeWrapper
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-4GGLPSVH.js";
|
|
53
|
+
import "./chunk-SD2Y6ZOB.js";
|
|
54
54
|
import "./chunk-XWVM4KPK.js";
|
|
55
55
|
export {
|
|
56
56
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -104,4 +104,4 @@ export {
|
|
|
104
104
|
writeEgressAllowlist,
|
|
105
105
|
writePersistentClaudeWrapper
|
|
106
106
|
};
|
|
107
|
-
//# sourceMappingURL=persistent-session-
|
|
107
|
+
//# sourceMappingURL=persistent-session-IUGL5OEF.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-4GGLPSVH.js";
|
|
4
|
+
import "./chunk-SD2Y6ZOB.js";
|
|
5
5
|
import "./chunk-XWVM4KPK.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/responsiveness-probe.ts
|
|
@@ -745,4 +745,4 @@ export {
|
|
|
745
745
|
readAndResetSlackReplyBindingClassifications,
|
|
746
746
|
readAndResetSlackReplyTargetClassifications
|
|
747
747
|
};
|
|
748
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
748
|
+
//# sourceMappingURL=responsiveness-probe-N7QDT6AE.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionTranscriptDir
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SD2Y6ZOB.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/session-auth-dead.ts
|
|
6
6
|
import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
decideSessionAuthState,
|
|
204
204
|
probeSessionAuth
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=session-auth-dead-
|
|
206
|
+
//# sourceMappingURL=session-auth-dead-VE5NYGT7.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|