@integrity-labs/agt-cli 0.28.991 → 0.28.993

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.
@@ -15279,4 +15279,4 @@ export {
15279
15279
  peekCurrentSession,
15280
15280
  readDailySessionPin
15281
15281
  };
15282
- //# sourceMappingURL=chunk-C72SNMP6.js.map
15282
+ //# sourceMappingURL=chunk-IM5LTTRM.js.map
@@ -15,7 +15,7 @@ import {
15
15
  parseEnvFileEntries,
16
16
  parseEnvIntegrations,
17
17
  shellQuote
18
- } from "./chunk-DN3KNGP4.js";
18
+ } from "./chunk-ACCF4BLS.js";
19
19
  import {
20
20
  BIND_FAILURE_QUARANTINE_THRESHOLD,
21
21
  INTEGRATIONS_SECTION_END,
@@ -75,7 +75,7 @@ import {
75
75
  sessionTranscriptDir,
76
76
  worseConnectivityOutcome,
77
77
  wrapScheduledTaskPrompt
78
- } from "./chunk-C72SNMP6.js";
78
+ } from "./chunk-IM5LTTRM.js";
79
79
  import {
80
80
  classifyUnanswerablePane,
81
81
  summarizeUnanswerablePane
@@ -6974,7 +6974,7 @@ function exchangeFailureKind(err) {
6974
6974
  }
6975
6975
 
6976
6976
  // src/lib/api-client.ts
6977
- var agtCliVersion = true ? "0.28.991" : "dev";
6977
+ var agtCliVersion = true ? "0.28.993" : "dev";
6978
6978
  var lastConfigHash = null;
6979
6979
  function setConfigHash(hash) {
6980
6980
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -11725,4 +11725,4 @@ export {
11725
11725
  managerInstallSystemUnitCommand,
11726
11726
  managerUninstallSystemUnitCommand
11727
11727
  };
11728
- //# sourceMappingURL=chunk-RQ3I7GMD.js.map
11728
+ //# sourceMappingURL=chunk-ZHXBC3AZ.js.map
@@ -258,7 +258,7 @@ async function spawnPairSession(session) {
258
258
  return { ok: true };
259
259
  } catch {
260
260
  }
261
- const { resolveClaudeBinary } = await import("./persistent-session-5EDOQC2H.js");
261
+ const { resolveClaudeBinary } = await import("./persistent-session-IVDW4O3C.js");
262
262
  const claudeBin = resolveClaudeBinary();
263
263
  const pairEnv = {
264
264
  ...process.env,
@@ -580,4 +580,4 @@ export {
580
580
  startClaudePair,
581
581
  submitClaudePairCode
582
582
  };
583
- //# sourceMappingURL=claude-pair-runtime-6IA4RPMQ.js.map
583
+ //# sourceMappingURL=claude-pair-runtime-WYZOO6QU.js.map
@@ -63,7 +63,7 @@ import {
63
63
  safeWriteJsonAtomic,
64
64
  setConfigHash,
65
65
  tripClass
66
- } from "../chunk-RQ3I7GMD.js";
66
+ } from "../chunk-ZHXBC3AZ.js";
67
67
  import {
68
68
  getProjectDir as getProjectDir2,
69
69
  getReadyTasks,
@@ -74,6 +74,7 @@ import {
74
74
  import {
75
75
  BLOCKED_ON_PROMPT_DECISION,
76
76
  CHANNEL_SECRET_ENV_KEYS,
77
+ CLAUDE_MANAGED_SETTINGS_DIR,
77
78
  ChildProcessError,
78
79
  agentRuntimeKey,
79
80
  applyBlockedPromptVerdict,
@@ -140,7 +141,7 @@ import {
140
141
  takeZombieDetection,
141
142
  toOpencodeModel,
142
143
  writeEgressAllowlist
143
- } from "../chunk-DN3KNGP4.js";
144
+ } from "../chunk-ACCF4BLS.js";
144
145
  import {
145
146
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
146
147
  AnchorSessionClient,
@@ -239,7 +240,7 @@ import {
239
240
  subagentActivityAgeSeconds,
240
241
  sumTranscriptUsageInWindow,
241
242
  transcriptActivityAgeSeconds
242
- } from "../chunk-C72SNMP6.js";
243
+ } from "../chunk-IM5LTTRM.js";
243
244
  import "../chunk-DHWNVVX4.js";
244
245
  import {
245
246
  reapOrphanChannelMcps
@@ -13309,7 +13310,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
13309
13310
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
13310
13311
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
13311
13312
  async function channelInboundActivityAgeSecondsFor(codeName) {
13312
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-SKX77FST.js");
13313
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-GGRTBWWR.js");
13313
13314
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
13314
13315
  if (newest === null) return null;
13315
13316
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -14052,7 +14053,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
14052
14053
  var lastVersionCheckAt = 0;
14053
14054
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
14054
14055
  var lastResponsivenessProbeAt = 0;
14055
- var agtCliVersion = true ? "0.28.991" : "dev";
14056
+ var agtCliVersion = true ? "0.28.993" : "dev";
14056
14057
  function resolveBrewPath(execFileSync2) {
14057
14058
  try {
14058
14059
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -14379,7 +14380,7 @@ function runAsync(cmd, args, opts) {
14379
14380
  });
14380
14381
  }
14381
14382
  function claudeManagedSettingsPath() {
14382
- return process.platform === "darwin" ? "/Library/Application Support/ClaudeCode/managed-settings.json" : "/etc/claude-code/managed-settings.json";
14383
+ return join42(CLAUDE_MANAGED_SETTINGS_DIR, "managed-settings.json");
14383
14384
  }
14384
14385
  var MANAGED_SETTINGS_KEYS = ["channelsEnabled", "enableAllProjectMcpServers"];
14385
14386
  var MANAGED_SETTINGS_ENV = { DISABLE_AUTOUPDATER: "1" };
@@ -15668,7 +15669,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
15668
15669
  if (codeNames.length === 0) return;
15669
15670
  void (async () => {
15670
15671
  try {
15671
- const { collectDiagnostics } = await import("../persistent-session-5EDOQC2H.js");
15672
+ const { collectDiagnostics } = await import("../persistent-session-IVDW4O3C.js");
15672
15673
  await api.post("/host/heartbeat", {
15673
15674
  host_id: hostId,
15674
15675
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -15810,7 +15811,7 @@ async function pollCycleInner() {
15810
15811
  }
15811
15812
  try {
15812
15813
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
15813
- const { collectDiagnostics } = await import("../persistent-session-5EDOQC2H.js");
15814
+ const { collectDiagnostics } = await import("../persistent-session-IVDW4O3C.js");
15814
15815
  const diagCodeNames = [...agentState.persistentSessionAgents];
15815
15816
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
15816
15817
  let tailscaleHostname;
@@ -15986,7 +15987,7 @@ async function pollCycleInner() {
15986
15987
  collectPanelessActivityProbes,
15987
15988
  getResponsivenessIntervalMs,
15988
15989
  occupancyQualificationClassifications
15989
- } = await import("../responsiveness-probe-SKX77FST.js");
15990
+ } = await import("../responsiveness-probe-GGRTBWWR.js");
15990
15991
  const probeIntervalMs = getResponsivenessIntervalMs();
15991
15992
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
15992
15993
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -16103,7 +16104,7 @@ async function pollCycleInner() {
16103
16104
  collectResponsivenessProbes,
16104
16105
  livePendingInboundOldestAgeSeconds,
16105
16106
  parkPendingInbound
16106
- } = await import("../responsiveness-probe-SKX77FST.js");
16107
+ } = await import("../responsiveness-probe-GGRTBWWR.js");
16107
16108
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
16108
16109
  const wedgeNow = /* @__PURE__ */ new Date();
16109
16110
  const liveAgents = agentState.persistentSessionAgents;
@@ -16259,7 +16260,7 @@ async function pollCycleInner() {
16259
16260
  }
16260
16261
  try {
16261
16262
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
16262
- const { probeSessionAuth } = await import("../session-auth-dead-XTMVOHUX.js");
16263
+ const { probeSessionAuth } = await import("../session-auth-dead-XPDRV7M5.js");
16263
16264
  const observations = [];
16264
16265
  const pendingCacheCommits = [];
16265
16266
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -20547,7 +20548,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
20547
20548
  try {
20548
20549
  const freshId = rotateSessionForWedge(codeName);
20549
20550
  consecutiveWedgeCycles.delete(codeName);
20550
- const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-SKX77FST.js");
20551
+ const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-GGRTBWWR.js");
20551
20552
  const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
20552
20553
  const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
20553
20554
  const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
@@ -20590,7 +20591,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
20590
20591
  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}`));
20591
20592
  void (async () => {
20592
20593
  try {
20593
- const { collectDiagnostics } = await import("../persistent-session-5EDOQC2H.js");
20594
+ const { collectDiagnostics } = await import("../persistent-session-IVDW4O3C.js");
20594
20595
  await api.post("/host/heartbeat", {
20595
20596
  host_id: hostId,
20596
20597
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -20641,7 +20642,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
20641
20642
  }
20642
20643
  try {
20643
20644
  const hostId = await getHostId();
20644
- const { collectDiagnostics } = await import("../persistent-session-5EDOQC2H.js");
20645
+ const { collectDiagnostics } = await import("../persistent-session-IVDW4O3C.js");
20645
20646
  await api.post("/host/heartbeat", {
20646
20647
  host_id: hostId,
20647
20648
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -21285,7 +21286,7 @@ async function processClaudePairSessions(agents) {
21285
21286
  killPairSession,
21286
21287
  pairTmuxSession,
21287
21288
  finalizeClaudePairOnboarding
21288
- } = await import("../claude-pair-runtime-6IA4RPMQ.js");
21289
+ } = await import("../claude-pair-runtime-WYZOO6QU.js");
21289
21290
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
21290
21291
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
21291
21292
  const killed = await killPairSession(pairTmuxSession(pairId));