@integrity-labs/agt-cli 0.28.1274 → 0.28.1276
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/{api-client-GIY2I6DY.js → api-client-LXSFEHBG.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-HG46MG2F.js → chunk-2JILRR4Y.js} +51 -8
- package/dist/{chunk-HG46MG2F.js.map → chunk-2JILRR4Y.js.map} +1 -1
- package/dist/{chunk-UTWVB3MI.js → chunk-C3NM6OTP.js} +2 -2
- package/dist/{chunk-END74F3P.js → chunk-HISRTLZ3.js} +3 -3
- package/dist/{chunk-6ZGAF4SD.js → chunk-IDLNB6GR.js} +17 -10
- package/dist/chunk-IDLNB6GR.js.map +1 -0
- package/dist/{chunk-YHTQMJE3.js → chunk-IEXBHI4X.js} +2 -2
- package/dist/{chunk-MXCJUNEP.js → chunk-ZQVYTNLA.js} +52 -1
- package/dist/{chunk-MXCJUNEP.js.map → chunk-ZQVYTNLA.js.map} +1 -1
- package/dist/{claude-code-updater-U6ESCPIL.js → claude-code-updater-GADHFGSY.js} +3 -3
- package/dist/{claude-pair-runtime-GZHUPW2V.js → claude-pair-runtime-TUWLJ7TS.js} +3 -3
- package/dist/lib/manager-worker.js +22 -21
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +52 -1
- package/dist/mcp/index.js +282 -10
- package/dist/mcp/origami.js +51 -0
- package/dist/mcp/slack-channel.js +52 -1
- package/dist/mcp/telegram-channel.js +52 -1
- package/dist/{persistent-session-C62TH4M6.js → persistent-session-VII4LBJ2.js} +6 -4
- package/dist/{responsiveness-probe-FMFTIMHU.js → responsiveness-probe-GX3TEW2E.js} +4 -4
- package/dist/{session-auth-dead-B6UDTSKE.js → session-auth-dead-7NXTFGDV.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-6ZGAF4SD.js.map +0 -1
- /package/dist/{api-client-GIY2I6DY.js.map → api-client-LXSFEHBG.js.map} +0 -0
- /package/dist/{chunk-UTWVB3MI.js.map → chunk-C3NM6OTP.js.map} +0 -0
- /package/dist/{chunk-END74F3P.js.map → chunk-HISRTLZ3.js.map} +0 -0
- /package/dist/{chunk-YHTQMJE3.js.map → chunk-IEXBHI4X.js.map} +0 -0
- /package/dist/{claude-code-updater-U6ESCPIL.js.map → claude-code-updater-GADHFGSY.js.map} +0 -0
- /package/dist/{claude-pair-runtime-GZHUPW2V.js.map → claude-pair-runtime-TUWLJ7TS.js.map} +0 -0
- /package/dist/{persistent-session-C62TH4M6.js.map → persistent-session-VII4LBJ2.js.map} +0 -0
- /package/dist/{responsiveness-probe-FMFTIMHU.js.map → responsiveness-probe-GX3TEW2E.js.map} +0 -0
- /package/dist/{session-auth-dead-B6UDTSKE.js.map → session-auth-dead-7NXTFGDV.js.map} +0 -0
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
probeClaudeInstalls,
|
|
14
14
|
readsAsNativeInstall,
|
|
15
15
|
shouldRunClaudeCodeUpdater
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-C3NM6OTP.js";
|
|
17
17
|
import "./chunk-XWVM4KPK.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-ZQVYTNLA.js";
|
|
19
19
|
import "./chunk-AIUIMEUS.js";
|
|
20
20
|
import "./chunk-DGUM43GV.js";
|
|
21
21
|
export {
|
|
@@ -34,4 +34,4 @@ export {
|
|
|
34
34
|
readsAsNativeInstall,
|
|
35
35
|
shouldRunClaudeCodeUpdater
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=claude-code-updater-
|
|
37
|
+
//# sourceMappingURL=claude-code-updater-GADHFGSY.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
redactPaneFrame,
|
|
12
12
|
sanitizeTerminalFrame
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZQVYTNLA.js";
|
|
14
14
|
import {
|
|
15
15
|
CLAUDE_CONFIG_DIR_ENV,
|
|
16
16
|
claudeConfigDirFor,
|
|
@@ -323,7 +323,7 @@ async function spawnPairSession(session) {
|
|
|
323
323
|
return { ok: true };
|
|
324
324
|
} catch {
|
|
325
325
|
}
|
|
326
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
326
|
+
const { resolveClaudeBinary } = await import("./persistent-session-VII4LBJ2.js");
|
|
327
327
|
const claudeBin = resolveClaudeBinary();
|
|
328
328
|
const pairEnv = {
|
|
329
329
|
...process.env,
|
|
@@ -838,4 +838,4 @@ export {
|
|
|
838
838
|
startClaudePair,
|
|
839
839
|
submitClaudePairCode
|
|
840
840
|
};
|
|
841
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
841
|
+
//# sourceMappingURL=claude-pair-runtime-TUWLJ7TS.js.map
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
tripClass,
|
|
71
71
|
writeEtcEnvironment,
|
|
72
72
|
writeProfileDScript
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-2JILRR4Y.js";
|
|
74
74
|
import {
|
|
75
75
|
ApiError,
|
|
76
76
|
adoptHostKeyInProcess,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
probeHostKey,
|
|
89
89
|
requireHost,
|
|
90
90
|
setConfigHash
|
|
91
|
-
} from "../chunk-
|
|
91
|
+
} from "../chunk-HISRTLZ3.js";
|
|
92
92
|
import {
|
|
93
93
|
BLOCKED_ON_PROMPT_DECISION,
|
|
94
94
|
CHANNEL_SECRET_ENV_KEYS,
|
|
@@ -179,7 +179,7 @@ import {
|
|
|
179
179
|
webFetchBaselineValue,
|
|
180
180
|
webFetchRestartNeeded,
|
|
181
181
|
writeEgressAllowlist
|
|
182
|
-
} from "../chunk-
|
|
182
|
+
} from "../chunk-IDLNB6GR.js";
|
|
183
183
|
import {
|
|
184
184
|
isAgentIdle,
|
|
185
185
|
isStaleForToday,
|
|
@@ -190,7 +190,7 @@ import {
|
|
|
190
190
|
subagentActivityAgeSeconds,
|
|
191
191
|
subagentTranscriptDir,
|
|
192
192
|
transcriptActivityAgeSeconds
|
|
193
|
-
} from "../chunk-
|
|
193
|
+
} from "../chunk-IEXBHI4X.js";
|
|
194
194
|
import {
|
|
195
195
|
classifyUnanswerablePane,
|
|
196
196
|
focusedConfirmDialogBlock,
|
|
@@ -216,7 +216,7 @@ import {
|
|
|
216
216
|
runSafeCleanup,
|
|
217
217
|
tightestDiskStat,
|
|
218
218
|
withPackageCacheLock
|
|
219
|
-
} from "../chunk-
|
|
219
|
+
} from "../chunk-C3NM6OTP.js";
|
|
220
220
|
import {
|
|
221
221
|
parsePsRows,
|
|
222
222
|
reapOrphanChannelMcps
|
|
@@ -345,7 +345,7 @@ import {
|
|
|
345
345
|
stabiliseResetInstant,
|
|
346
346
|
sumTranscriptUsageInWindow,
|
|
347
347
|
summarizeTranscriptActivity
|
|
348
|
-
} from "../chunk-
|
|
348
|
+
} from "../chunk-ZQVYTNLA.js";
|
|
349
349
|
import {
|
|
350
350
|
CLAUDE_CONFIG_DIR_ENV,
|
|
351
351
|
claudeConfigDirFor,
|
|
@@ -15143,7 +15143,7 @@ function createFileMigrationReportIO(codeName, log2) {
|
|
|
15143
15143
|
};
|
|
15144
15144
|
}
|
|
15145
15145
|
var managerHostPost = async (path, body) => {
|
|
15146
|
-
const { api: api2, ApiError: ApiError3 } = await import("../api-client-
|
|
15146
|
+
const { api: api2, ApiError: ApiError3 } = await import("../api-client-LXSFEHBG.js");
|
|
15147
15147
|
try {
|
|
15148
15148
|
const json = await api2.post(path, body);
|
|
15149
15149
|
return { status: 200, json };
|
|
@@ -17194,7 +17194,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
17194
17194
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
17195
17195
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
17196
17196
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
17197
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
17197
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-GX3TEW2E.js");
|
|
17198
17198
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
17199
17199
|
if (newest === null) return null;
|
|
17200
17200
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -18075,7 +18075,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
18075
18075
|
var lastVersionCheckAt = 0;
|
|
18076
18076
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
18077
18077
|
var lastResponsivenessProbeAt = 0;
|
|
18078
|
-
var agtCliVersion = true ? "0.28.
|
|
18078
|
+
var agtCliVersion = true ? "0.28.1276" : "dev";
|
|
18079
18079
|
function resolveBrewPath(execFileSync5) {
|
|
18080
18080
|
try {
|
|
18081
18081
|
const out = execFileSync5("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -20084,7 +20084,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
20084
20084
|
if (codeNames.length === 0) return;
|
|
20085
20085
|
void (async () => {
|
|
20086
20086
|
try {
|
|
20087
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20087
|
+
const { collectDiagnostics } = await import("../persistent-session-VII4LBJ2.js");
|
|
20088
20088
|
await api.post("/host/heartbeat", {
|
|
20089
20089
|
host_id: hostId,
|
|
20090
20090
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -20227,7 +20227,7 @@ async function pollCycleInner() {
|
|
|
20227
20227
|
}
|
|
20228
20228
|
try {
|
|
20229
20229
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
20230
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
20230
|
+
const { collectDiagnostics } = await import("../persistent-session-VII4LBJ2.js");
|
|
20231
20231
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
20232
20232
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) : void 0;
|
|
20233
20233
|
let tailscaleHostname;
|
|
@@ -20443,6 +20443,7 @@ async function pollCycleInner() {
|
|
|
20443
20443
|
}
|
|
20444
20444
|
hostFlagStore().applyNotifyDispatchByAgent(hbResp?.notify_dispatch_by_agent);
|
|
20445
20445
|
hostFlagStore().applyBooleanFlagsByAgent(hbResp?.feature_flags_by_agent, hbResp?.feature_flags_by_agent_evaluated);
|
|
20446
|
+
hostFlagStore().applyToolCatalogVersion(hbResp?.tool_catalog_version);
|
|
20446
20447
|
recordScratchHoldsFromHeartbeat({
|
|
20447
20448
|
holdsDir: SCRATCH_HOLDS_DIR(),
|
|
20448
20449
|
evaluatedAgentIds: hbResp?.feature_flags_by_agent_evaluated,
|
|
@@ -20498,7 +20499,7 @@ async function pollCycleInner() {
|
|
|
20498
20499
|
}
|
|
20499
20500
|
try {
|
|
20500
20501
|
const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
|
|
20501
|
-
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-
|
|
20502
|
+
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-GADHFGSY.js");
|
|
20502
20503
|
const securityFloor = currentSecurityFloor();
|
|
20503
20504
|
claudeUpdaterInFlight = true;
|
|
20504
20505
|
if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
|
|
@@ -20533,7 +20534,7 @@ async function pollCycleInner() {
|
|
|
20533
20534
|
collectPanelessActivityProbes,
|
|
20534
20535
|
getResponsivenessIntervalMs,
|
|
20535
20536
|
occupancyQualificationClassifications
|
|
20536
|
-
} = await import("../responsiveness-probe-
|
|
20537
|
+
} = await import("../responsiveness-probe-GX3TEW2E.js");
|
|
20537
20538
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
20538
20539
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
20539
20540
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -20650,7 +20651,7 @@ async function pollCycleInner() {
|
|
|
20650
20651
|
collectResponsivenessProbes,
|
|
20651
20652
|
livePendingInboundOldestAgeSeconds,
|
|
20652
20653
|
parkPendingInbound
|
|
20653
|
-
} = await import("../responsiveness-probe-
|
|
20654
|
+
} = await import("../responsiveness-probe-GX3TEW2E.js");
|
|
20654
20655
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-5PCBGRNY.js");
|
|
20655
20656
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
20656
20657
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -20936,7 +20937,7 @@ async function pollCycleInner() {
|
|
|
20936
20937
|
}
|
|
20937
20938
|
}
|
|
20938
20939
|
);
|
|
20939
|
-
const { parkPendingInbound } = await import("../responsiveness-probe-
|
|
20940
|
+
const { parkPendingInbound } = await import("../responsiveness-probe-GX3TEW2E.js");
|
|
20940
20941
|
const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
|
|
20941
20942
|
paneFatalStreak.delete(codeName);
|
|
20942
20943
|
paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
|
|
@@ -20967,7 +20968,7 @@ async function pollCycleInner() {
|
|
|
20967
20968
|
TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
|
|
20968
20969
|
bindSourceEscalations
|
|
20969
20970
|
} = await import("../transcript-mount-health-OHE6IVJV.js");
|
|
20970
|
-
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-
|
|
20971
|
+
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-VII4LBJ2.js");
|
|
20971
20972
|
const mountConfig = resolveTranscriptMountConfig();
|
|
20972
20973
|
const liveAgents = agentState.persistentSessionAgents;
|
|
20973
20974
|
for (const tracked of [
|
|
@@ -21132,7 +21133,7 @@ async function pollCycleInner() {
|
|
|
21132
21133
|
}
|
|
21133
21134
|
try {
|
|
21134
21135
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
|
|
21135
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
21136
|
+
const { probeSessionAuth } = await import("../session-auth-dead-7NXTFGDV.js");
|
|
21136
21137
|
const observations = [];
|
|
21137
21138
|
const pendingCacheCommits = [];
|
|
21138
21139
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -26200,7 +26201,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
26200
26201
|
if (!refreshData) return;
|
|
26201
26202
|
const framework = refreshData.agent?.framework ?? agentFrameworkCache.get(codeName) ?? DEFAULT_FRAMEWORK;
|
|
26202
26203
|
const hostId = await getHostId();
|
|
26203
|
-
const parkForRestart = await import("../responsiveness-probe-
|
|
26204
|
+
const parkForRestart = await import("../responsiveness-probe-GX3TEW2E.js").then(
|
|
26204
26205
|
(m) => m.parkPendingInbound,
|
|
26205
26206
|
(err) => err
|
|
26206
26207
|
);
|
|
@@ -26277,7 +26278,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
26277
26278
|
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}`));
|
|
26278
26279
|
void (async () => {
|
|
26279
26280
|
try {
|
|
26280
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
26281
|
+
const { collectDiagnostics } = await import("../persistent-session-VII4LBJ2.js");
|
|
26281
26282
|
await api.post("/host/heartbeat", {
|
|
26282
26283
|
host_id: hostId,
|
|
26283
26284
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -26330,7 +26331,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
26330
26331
|
}
|
|
26331
26332
|
try {
|
|
26332
26333
|
const hostId = await getHostId();
|
|
26333
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
26334
|
+
const { collectDiagnostics } = await import("../persistent-session-VII4LBJ2.js");
|
|
26334
26335
|
await api.post("/host/heartbeat", {
|
|
26335
26336
|
host_id: hostId,
|
|
26336
26337
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -27057,7 +27058,7 @@ async function processClaudePairSessions(agents) {
|
|
|
27057
27058
|
snapshotPairConfig,
|
|
27058
27059
|
// ENG-11659: result -> report body + the manager.log line that records it.
|
|
27059
27060
|
planPairStartReport
|
|
27060
|
-
} = await import("../claude-pair-runtime-
|
|
27061
|
+
} = await import("../claude-pair-runtime-TUWLJ7TS.js");
|
|
27061
27062
|
const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
|
|
27062
27063
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
27063
27064
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|