@integrity-labs/agt-cli 0.28.1261 → 0.28.1263
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-2YLFNHFZ.js → api-client-SJR7V5JU.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-335HKIDZ.js → chunk-5BXIXSSH.js} +2 -2
- package/dist/{chunk-I2NQQOMD.js → chunk-CEJNJ6NF.js} +3 -3
- package/dist/{chunk-JYSPPCHG.js → chunk-HJWOXFJM.js} +2 -2
- package/dist/{chunk-6NHFZYUP.js → chunk-I4ZCWVZZ.js} +3 -3
- package/dist/{chunk-QFLR5EFT.js → chunk-KJ5OCCSJ.js} +2 -2
- package/dist/{chunk-QFLR5EFT.js.map → chunk-KJ5OCCSJ.js.map} +1 -1
- package/dist/{chunk-ZEJUBTXJ.js → chunk-M6EWNC4M.js} +89 -5
- package/dist/chunk-M6EWNC4M.js.map +1 -0
- package/dist/{claude-code-updater-B2BWPRFE.js → claude-code-updater-JQLNRK25.js} +3 -3
- package/dist/{claude-pair-runtime-FNDHAPXR.js → claude-pair-runtime-BJ3EAWEJ.js} +3 -3
- package/dist/lib/manager-worker.js +21 -21
- package/dist/mcp/direct-chat-channel.js +484 -309
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/origami.js +1 -1
- package/dist/mcp/slack-channel.js +1 -1
- package/dist/mcp/teams-channel.js +218 -82
- package/dist/mcp/telegram-channel.js +159 -1
- package/dist/{persistent-session-LHQLLU4U.js → persistent-session-YNHYNCNA.js} +4 -4
- package/dist/{responsiveness-probe-KDSNPKUY.js → responsiveness-probe-57RV3U2H.js} +4 -4
- package/dist/{session-auth-dead-3IHR4M2B.js → session-auth-dead-A3TO2N63.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-ZEJUBTXJ.js.map +0 -1
- /package/dist/{api-client-2YLFNHFZ.js.map → api-client-SJR7V5JU.js.map} +0 -0
- /package/dist/{chunk-335HKIDZ.js.map → chunk-5BXIXSSH.js.map} +0 -0
- /package/dist/{chunk-I2NQQOMD.js.map → chunk-CEJNJ6NF.js.map} +0 -0
- /package/dist/{chunk-JYSPPCHG.js.map → chunk-HJWOXFJM.js.map} +0 -0
- /package/dist/{chunk-6NHFZYUP.js.map → chunk-I4ZCWVZZ.js.map} +0 -0
- /package/dist/{claude-code-updater-B2BWPRFE.js.map → claude-code-updater-JQLNRK25.js.map} +0 -0
- /package/dist/{claude-pair-runtime-FNDHAPXR.js.map → claude-pair-runtime-BJ3EAWEJ.js.map} +0 -0
- /package/dist/{persistent-session-LHQLLU4U.js.map → persistent-session-YNHYNCNA.js.map} +0 -0
- /package/dist/{responsiveness-probe-KDSNPKUY.js.map → responsiveness-probe-57RV3U2H.js.map} +0 -0
- /package/dist/{session-auth-dead-3IHR4M2B.js.map → session-auth-dead-A3TO2N63.js.map} +0 -0
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
probeClaudeInstalls,
|
|
14
14
|
readsAsNativeInstall,
|
|
15
15
|
shouldRunClaudeCodeUpdater
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5BXIXSSH.js";
|
|
17
17
|
import "./chunk-XWVM4KPK.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-KJ5OCCSJ.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-JQLNRK25.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
redactPaneFrame,
|
|
10
10
|
sanitizeTerminalFrame
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KJ5OCCSJ.js";
|
|
12
12
|
import {
|
|
13
13
|
CLAUDE_CONFIG_DIR_ENV,
|
|
14
14
|
claudeConfigDirFor,
|
|
@@ -321,7 +321,7 @@ async function spawnPairSession(session) {
|
|
|
321
321
|
return { ok: true };
|
|
322
322
|
} catch {
|
|
323
323
|
}
|
|
324
|
-
const { resolveClaudeBinary } = await import("./persistent-session-
|
|
324
|
+
const { resolveClaudeBinary } = await import("./persistent-session-YNHYNCNA.js");
|
|
325
325
|
const claudeBin = resolveClaudeBinary();
|
|
326
326
|
const pairEnv = {
|
|
327
327
|
...process.env,
|
|
@@ -836,4 +836,4 @@ export {
|
|
|
836
836
|
startClaudePair,
|
|
837
837
|
submitClaudePairCode
|
|
838
838
|
};
|
|
839
|
-
//# sourceMappingURL=claude-pair-runtime-
|
|
839
|
+
//# sourceMappingURL=claude-pair-runtime-BJ3EAWEJ.js.map
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
tripClass,
|
|
71
71
|
writeEtcEnvironment,
|
|
72
72
|
writeProfileDScript
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-M6EWNC4M.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-I4ZCWVZZ.js";
|
|
92
92
|
import {
|
|
93
93
|
BLOCKED_ON_PROMPT_DECISION,
|
|
94
94
|
CHANNEL_SECRET_ENV_KEYS,
|
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
webFetchBaselineValue,
|
|
174
174
|
webFetchRestartNeeded,
|
|
175
175
|
writeEgressAllowlist
|
|
176
|
-
} from "../chunk-
|
|
176
|
+
} from "../chunk-CEJNJ6NF.js";
|
|
177
177
|
import {
|
|
178
178
|
isAgentIdle,
|
|
179
179
|
isStaleForToday,
|
|
@@ -184,7 +184,7 @@ import {
|
|
|
184
184
|
subagentActivityAgeSeconds,
|
|
185
185
|
subagentTranscriptDir,
|
|
186
186
|
transcriptActivityAgeSeconds
|
|
187
|
-
} from "../chunk-
|
|
187
|
+
} from "../chunk-HJWOXFJM.js";
|
|
188
188
|
import {
|
|
189
189
|
classifyUnanswerablePane,
|
|
190
190
|
focusedConfirmDialogBlock,
|
|
@@ -208,7 +208,7 @@ import {
|
|
|
208
208
|
runSafeCleanup,
|
|
209
209
|
tightestDiskStat,
|
|
210
210
|
withPackageCacheLock
|
|
211
|
-
} from "../chunk-
|
|
211
|
+
} from "../chunk-5BXIXSSH.js";
|
|
212
212
|
import {
|
|
213
213
|
parsePsRows,
|
|
214
214
|
reapOrphanChannelMcps
|
|
@@ -336,7 +336,7 @@ import {
|
|
|
336
336
|
stabiliseResetInstant,
|
|
337
337
|
sumTranscriptUsageInWindow,
|
|
338
338
|
summarizeTranscriptActivity
|
|
339
|
-
} from "../chunk-
|
|
339
|
+
} from "../chunk-KJ5OCCSJ.js";
|
|
340
340
|
import {
|
|
341
341
|
CLAUDE_CONFIG_DIR_ENV,
|
|
342
342
|
claudeConfigDirFor,
|
|
@@ -14325,7 +14325,7 @@ function createFileMigrationReportIO(codeName, log2) {
|
|
|
14325
14325
|
};
|
|
14326
14326
|
}
|
|
14327
14327
|
var managerHostPost = async (path, body) => {
|
|
14328
|
-
const { api: api2, ApiError: ApiError3 } = await import("../api-client-
|
|
14328
|
+
const { api: api2, ApiError: ApiError3 } = await import("../api-client-SJR7V5JU.js");
|
|
14329
14329
|
try {
|
|
14330
14330
|
const json = await api2.post(path, body);
|
|
14331
14331
|
return { status: 200, json };
|
|
@@ -16364,7 +16364,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
|
|
|
16364
16364
|
var dayRolloverInboundHold = /* @__PURE__ */ new Map();
|
|
16365
16365
|
var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
|
|
16366
16366
|
async function channelInboundActivityAgeSecondsFor(codeName) {
|
|
16367
|
-
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-
|
|
16367
|
+
const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-57RV3U2H.js");
|
|
16368
16368
|
const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
|
|
16369
16369
|
if (newest === null) return null;
|
|
16370
16370
|
return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
|
|
@@ -17180,7 +17180,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
|
|
|
17180
17180
|
var lastVersionCheckAt = 0;
|
|
17181
17181
|
var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
17182
17182
|
var lastResponsivenessProbeAt = 0;
|
|
17183
|
-
var agtCliVersion = true ? "0.28.
|
|
17183
|
+
var agtCliVersion = true ? "0.28.1263" : "dev";
|
|
17184
17184
|
function resolveBrewPath(execFileSync4) {
|
|
17185
17185
|
try {
|
|
17186
17186
|
const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
|
|
@@ -19189,7 +19189,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
|
|
|
19189
19189
|
if (codeNames.length === 0) return;
|
|
19190
19190
|
void (async () => {
|
|
19191
19191
|
try {
|
|
19192
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19192
|
+
const { collectDiagnostics } = await import("../persistent-session-YNHYNCNA.js");
|
|
19193
19193
|
await api.post("/host/heartbeat", {
|
|
19194
19194
|
host_id: hostId,
|
|
19195
19195
|
agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -19332,7 +19332,7 @@ async function pollCycleInner() {
|
|
|
19332
19332
|
}
|
|
19333
19333
|
try {
|
|
19334
19334
|
const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
|
|
19335
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
19335
|
+
const { collectDiagnostics } = await import("../persistent-session-YNHYNCNA.js");
|
|
19336
19336
|
const diagCodeNames = [...agentState.persistentSessionAgents];
|
|
19337
19337
|
const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) : void 0;
|
|
19338
19338
|
let tailscaleHostname;
|
|
@@ -19603,7 +19603,7 @@ async function pollCycleInner() {
|
|
|
19603
19603
|
}
|
|
19604
19604
|
try {
|
|
19605
19605
|
const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
|
|
19606
|
-
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-
|
|
19606
|
+
const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-JQLNRK25.js");
|
|
19607
19607
|
const securityFloor = currentSecurityFloor();
|
|
19608
19608
|
claudeUpdaterInFlight = true;
|
|
19609
19609
|
if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
|
|
@@ -19638,7 +19638,7 @@ async function pollCycleInner() {
|
|
|
19638
19638
|
collectPanelessActivityProbes,
|
|
19639
19639
|
getResponsivenessIntervalMs,
|
|
19640
19640
|
occupancyQualificationClassifications
|
|
19641
|
-
} = await import("../responsiveness-probe-
|
|
19641
|
+
} = await import("../responsiveness-probe-57RV3U2H.js");
|
|
19642
19642
|
const probeIntervalMs = getResponsivenessIntervalMs();
|
|
19643
19643
|
if (now - lastResponsivenessProbeAt > probeIntervalMs) {
|
|
19644
19644
|
const probeCodeNames = [...agentState.persistentSessionAgents];
|
|
@@ -19755,7 +19755,7 @@ async function pollCycleInner() {
|
|
|
19755
19755
|
collectResponsivenessProbes,
|
|
19756
19756
|
livePendingInboundOldestAgeSeconds,
|
|
19757
19757
|
parkPendingInbound
|
|
19758
|
-
} = await import("../responsiveness-probe-
|
|
19758
|
+
} = await import("../responsiveness-probe-57RV3U2H.js");
|
|
19759
19759
|
const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-5PCBGRNY.js");
|
|
19760
19760
|
const wedgeNow = /* @__PURE__ */ new Date();
|
|
19761
19761
|
const liveAgents = agentState.persistentSessionAgents;
|
|
@@ -20041,7 +20041,7 @@ async function pollCycleInner() {
|
|
|
20041
20041
|
}
|
|
20042
20042
|
}
|
|
20043
20043
|
);
|
|
20044
|
-
const { parkPendingInbound } = await import("../responsiveness-probe-
|
|
20044
|
+
const { parkPendingInbound } = await import("../responsiveness-probe-57RV3U2H.js");
|
|
20045
20045
|
const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
|
|
20046
20046
|
paneFatalStreak.delete(codeName);
|
|
20047
20047
|
paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
|
|
@@ -20072,7 +20072,7 @@ async function pollCycleInner() {
|
|
|
20072
20072
|
TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
|
|
20073
20073
|
bindSourceEscalations
|
|
20074
20074
|
} = await import("../transcript-mount-health-OHE6IVJV.js");
|
|
20075
|
-
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-
|
|
20075
|
+
const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-YNHYNCNA.js");
|
|
20076
20076
|
const mountConfig = resolveTranscriptMountConfig();
|
|
20077
20077
|
const liveAgents = agentState.persistentSessionAgents;
|
|
20078
20078
|
for (const tracked of [
|
|
@@ -20237,7 +20237,7 @@ async function pollCycleInner() {
|
|
|
20237
20237
|
}
|
|
20238
20238
|
try {
|
|
20239
20239
|
const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
|
|
20240
|
-
const { probeSessionAuth } = await import("../session-auth-dead-
|
|
20240
|
+
const { probeSessionAuth } = await import("../session-auth-dead-A3TO2N63.js");
|
|
20241
20241
|
const observations = [];
|
|
20242
20242
|
const pendingCacheCommits = [];
|
|
20243
20243
|
const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
|
|
@@ -25172,7 +25172,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
25172
25172
|
if (!refreshData) return;
|
|
25173
25173
|
const framework = refreshData.agent?.framework ?? agentFrameworkCache.get(codeName) ?? DEFAULT_FRAMEWORK;
|
|
25174
25174
|
const hostId = await getHostId();
|
|
25175
|
-
const parkForRestart = await import("../responsiveness-probe-
|
|
25175
|
+
const parkForRestart = await import("../responsiveness-probe-57RV3U2H.js").then(
|
|
25176
25176
|
(m) => m.parkPendingInbound,
|
|
25177
25177
|
(err) => err
|
|
25178
25178
|
);
|
|
@@ -25245,7 +25245,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
|
|
|
25245
25245
|
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}`));
|
|
25246
25246
|
void (async () => {
|
|
25247
25247
|
try {
|
|
25248
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
25248
|
+
const { collectDiagnostics } = await import("../persistent-session-YNHYNCNA.js");
|
|
25249
25249
|
await api.post("/host/heartbeat", {
|
|
25250
25250
|
host_id: hostId,
|
|
25251
25251
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -25296,7 +25296,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
|
|
|
25296
25296
|
}
|
|
25297
25297
|
try {
|
|
25298
25298
|
const hostId = await getHostId();
|
|
25299
|
-
const { collectDiagnostics } = await import("../persistent-session-
|
|
25299
|
+
const { collectDiagnostics } = await import("../persistent-session-YNHYNCNA.js");
|
|
25300
25300
|
await api.post("/host/heartbeat", {
|
|
25301
25301
|
host_id: hostId,
|
|
25302
25302
|
agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
|
|
@@ -25998,7 +25998,7 @@ async function processClaudePairSessions(agents) {
|
|
|
25998
25998
|
snapshotPairConfig,
|
|
25999
25999
|
// ENG-11659: result -> report body + the manager.log line that records it.
|
|
26000
26000
|
planPairStartReport
|
|
26001
|
-
} = await import("../claude-pair-runtime-
|
|
26001
|
+
} = await import("../claude-pair-runtime-BJ3EAWEJ.js");
|
|
26002
26002
|
const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
|
|
26003
26003
|
for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
|
|
26004
26004
|
log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
|