@integrity-labs/agt-cli 0.28.1241 → 0.28.1242

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.
Files changed (24) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-ZRAP5UUT.js → chunk-6TCXHVTP.js} +2 -2
  3. package/dist/{chunk-4ZDAVIMX.js → chunk-CEGRVIOK.js} +3 -3
  4. package/dist/{chunk-YZJO2JC7.js → chunk-DZYHXUIG.js} +2 -2
  5. package/dist/{chunk-2LFQKPM5.js → chunk-EJWFVHMV.js} +5 -5
  6. package/dist/{chunk-VKJ2GXC6.js → chunk-JPRHN524.js} +4 -1
  7. package/dist/{chunk-VKJ2GXC6.js.map → chunk-JPRHN524.js.map} +1 -1
  8. package/dist/{claude-code-updater-F7UFE2WX.js → claude-code-updater-IDCCFG5Q.js} +3 -3
  9. package/dist/{claude-pair-runtime-2KESDT3W.js → claude-pair-runtime-OHUHLGN2.js} +3 -3
  10. package/dist/lib/manager-worker.js +20 -20
  11. package/dist/lib/manager-worker.js.map +1 -1
  12. package/dist/{persistent-session-X34IE2LC.js → persistent-session-VWDKTU3A.js} +4 -4
  13. package/dist/{responsiveness-probe-DRA6WD2Y.js → responsiveness-probe-T2DI3OK3.js} +4 -4
  14. package/dist/{session-auth-dead-MIQZUWLO.js → session-auth-dead-QRZG5AI7.js} +3 -3
  15. package/package.json +1 -1
  16. /package/dist/{chunk-ZRAP5UUT.js.map → chunk-6TCXHVTP.js.map} +0 -0
  17. /package/dist/{chunk-4ZDAVIMX.js.map → chunk-CEGRVIOK.js.map} +0 -0
  18. /package/dist/{chunk-YZJO2JC7.js.map → chunk-DZYHXUIG.js.map} +0 -0
  19. /package/dist/{chunk-2LFQKPM5.js.map → chunk-EJWFVHMV.js.map} +0 -0
  20. /package/dist/{claude-code-updater-F7UFE2WX.js.map → claude-code-updater-IDCCFG5Q.js.map} +0 -0
  21. /package/dist/{claude-pair-runtime-2KESDT3W.js.map → claude-pair-runtime-OHUHLGN2.js.map} +0 -0
  22. /package/dist/{persistent-session-X34IE2LC.js.map → persistent-session-VWDKTU3A.js.map} +0 -0
  23. /package/dist/{responsiveness-probe-DRA6WD2Y.js.map → responsiveness-probe-T2DI3OK3.js.map} +0 -0
  24. /package/dist/{session-auth-dead-MIQZUWLO.js.map → session-auth-dead-QRZG5AI7.js.map} +0 -0
@@ -13,9 +13,9 @@ import {
13
13
  probeClaudeInstalls,
14
14
  readsAsNativeInstall,
15
15
  shouldRunClaudeCodeUpdater
16
- } from "./chunk-YZJO2JC7.js";
16
+ } from "./chunk-DZYHXUIG.js";
17
17
  import "./chunk-XWVM4KPK.js";
18
- import "./chunk-VKJ2GXC6.js";
18
+ import "./chunk-JPRHN524.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-F7UFE2WX.js.map
37
+ //# sourceMappingURL=claude-code-updater-IDCCFG5Q.js.map
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  redactPaneFrame,
10
10
  sanitizeTerminalFrame
11
- } from "./chunk-VKJ2GXC6.js";
11
+ } from "./chunk-JPRHN524.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-X34IE2LC.js");
324
+ const { resolveClaudeBinary } = await import("./persistent-session-VWDKTU3A.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-2KESDT3W.js.map
839
+ //# sourceMappingURL=claude-pair-runtime-OHUHLGN2.js.map
@@ -85,7 +85,7 @@ import {
85
85
  tripClass,
86
86
  writeEtcEnvironment,
87
87
  writeProfileDScript
88
- } from "../chunk-2LFQKPM5.js";
88
+ } from "../chunk-EJWFVHMV.js";
89
89
  import {
90
90
  CLAUDE_CODE_SECURITY_FLOOR,
91
91
  SELF_UPDATE_TIMEOUTS,
@@ -99,7 +99,7 @@ import {
99
99
  runSafeCleanup,
100
100
  tightestDiskStat,
101
101
  withPackageCacheLock
102
- } from "../chunk-YZJO2JC7.js";
102
+ } from "../chunk-DZYHXUIG.js";
103
103
  import {
104
104
  rewriteSupervisorApiKey,
105
105
  supervisorChannelsRefusing
@@ -195,7 +195,7 @@ import {
195
195
  webFetchBaselineValue,
196
196
  webFetchRestartNeeded,
197
197
  writeEgressAllowlist
198
- } from "../chunk-4ZDAVIMX.js";
198
+ } from "../chunk-CEGRVIOK.js";
199
199
  import {
200
200
  isAgentIdle,
201
201
  isStaleForToday,
@@ -206,7 +206,7 @@ import {
206
206
  subagentActivityAgeSeconds,
207
207
  subagentTranscriptDir,
208
208
  transcriptActivityAgeSeconds
209
- } from "../chunk-ZRAP5UUT.js";
209
+ } from "../chunk-6TCXHVTP.js";
210
210
  import {
211
211
  classifyUnanswerablePane,
212
212
  focusedConfirmDialogBlock,
@@ -337,7 +337,7 @@ import {
337
337
  stabiliseResetInstant,
338
338
  sumTranscriptUsageInWindow,
339
339
  summarizeTranscriptActivity
340
- } from "../chunk-VKJ2GXC6.js";
340
+ } from "../chunk-JPRHN524.js";
341
341
  import {
342
342
  CLAUDE_CONFIG_DIR_ENV,
343
343
  claudeConfigDirFor,
@@ -8896,7 +8896,7 @@ function withScheduleLinkFooter(opts) {
8896
8896
  warnedNullConsoleUrl = true;
8897
8897
  try {
8898
8898
  opts.log(
8899
- "[schedule-link] AGT_CONSOLE_URL unset and NEXT_PUBLIC_APP_URL unset \u2014 schedule-edit deep-link footer disabled. Run `agt setup` again or export AGT_CONSOLE_URL (e.g. https://app.augmented.team) to restore it."
8899
+ "[schedule-link] AGT_CONSOLE_URL unset and NEXT_PUBLIC_APP_URL unset \u2014 schedule-edit deep-link footer disabled. Run `agt setup` again or export AGT_CONSOLE_URL (e.g. https://app.ninjafy.com) to restore it."
8900
8900
  );
8901
8901
  } catch {
8902
8902
  }
@@ -15871,7 +15871,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
15871
15871
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
15872
15872
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
15873
15873
  async function channelInboundActivityAgeSecondsFor(codeName) {
15874
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-DRA6WD2Y.js");
15874
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-T2DI3OK3.js");
15875
15875
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
15876
15876
  if (newest === null) return null;
15877
15877
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -16686,7 +16686,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
16686
16686
  var lastVersionCheckAt = 0;
16687
16687
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
16688
16688
  var lastResponsivenessProbeAt = 0;
16689
- var agtCliVersion = true ? "0.28.1241" : "dev";
16689
+ var agtCliVersion = true ? "0.28.1242" : "dev";
16690
16690
  function resolveBrewPath(execFileSync3) {
16691
16691
  try {
16692
16692
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -18683,7 +18683,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
18683
18683
  if (codeNames.length === 0) return;
18684
18684
  void (async () => {
18685
18685
  try {
18686
- const { collectDiagnostics } = await import("../persistent-session-X34IE2LC.js");
18686
+ const { collectDiagnostics } = await import("../persistent-session-VWDKTU3A.js");
18687
18687
  await api.post("/host/heartbeat", {
18688
18688
  host_id: hostId,
18689
18689
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -18826,7 +18826,7 @@ async function pollCycleInner() {
18826
18826
  }
18827
18827
  try {
18828
18828
  const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
18829
- const { collectDiagnostics } = await import("../persistent-session-X34IE2LC.js");
18829
+ const { collectDiagnostics } = await import("../persistent-session-VWDKTU3A.js");
18830
18830
  const diagCodeNames = [...agentState.persistentSessionAgents];
18831
18831
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) : void 0;
18832
18832
  let tailscaleHostname;
@@ -19091,7 +19091,7 @@ async function pollCycleInner() {
19091
19091
  }
19092
19092
  try {
19093
19093
  const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
19094
- const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-F7UFE2WX.js");
19094
+ const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-IDCCFG5Q.js");
19095
19095
  const securityFloor = currentSecurityFloor();
19096
19096
  claudeUpdaterInFlight = true;
19097
19097
  if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
@@ -19126,7 +19126,7 @@ async function pollCycleInner() {
19126
19126
  collectPanelessActivityProbes,
19127
19127
  getResponsivenessIntervalMs,
19128
19128
  occupancyQualificationClassifications
19129
- } = await import("../responsiveness-probe-DRA6WD2Y.js");
19129
+ } = await import("../responsiveness-probe-T2DI3OK3.js");
19130
19130
  const probeIntervalMs = getResponsivenessIntervalMs();
19131
19131
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
19132
19132
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -19243,7 +19243,7 @@ async function pollCycleInner() {
19243
19243
  collectResponsivenessProbes,
19244
19244
  livePendingInboundOldestAgeSeconds,
19245
19245
  parkPendingInbound
19246
- } = await import("../responsiveness-probe-DRA6WD2Y.js");
19246
+ } = await import("../responsiveness-probe-T2DI3OK3.js");
19247
19247
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-5PCBGRNY.js");
19248
19248
  const wedgeNow = /* @__PURE__ */ new Date();
19249
19249
  const liveAgents = agentState.persistentSessionAgents;
@@ -19529,7 +19529,7 @@ async function pollCycleInner() {
19529
19529
  }
19530
19530
  }
19531
19531
  );
19532
- const { parkPendingInbound } = await import("../responsiveness-probe-DRA6WD2Y.js");
19532
+ const { parkPendingInbound } = await import("../responsiveness-probe-T2DI3OK3.js");
19533
19533
  const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
19534
19534
  paneFatalStreak.delete(codeName);
19535
19535
  paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
@@ -19560,7 +19560,7 @@ async function pollCycleInner() {
19560
19560
  TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
19561
19561
  bindSourceEscalations
19562
19562
  } = await import("../transcript-mount-health-OHE6IVJV.js");
19563
- const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-X34IE2LC.js");
19563
+ const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-VWDKTU3A.js");
19564
19564
  const mountConfig = resolveTranscriptMountConfig();
19565
19565
  const liveAgents = agentState.persistentSessionAgents;
19566
19566
  for (const tracked of [
@@ -19725,7 +19725,7 @@ async function pollCycleInner() {
19725
19725
  }
19726
19726
  try {
19727
19727
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
19728
- const { probeSessionAuth } = await import("../session-auth-dead-MIQZUWLO.js");
19728
+ const { probeSessionAuth } = await import("../session-auth-dead-QRZG5AI7.js");
19729
19729
  const observations = [];
19730
19730
  const pendingCacheCommits = [];
19731
19731
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -24479,7 +24479,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
24479
24479
  try {
24480
24480
  const freshId = rotateSessionForWedge(codeName);
24481
24481
  consecutiveWedgeCycles.delete(codeName);
24482
- const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-DRA6WD2Y.js");
24482
+ const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-T2DI3OK3.js");
24483
24483
  const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
24484
24484
  const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
24485
24485
  const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
@@ -24522,7 +24522,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
24522
24522
  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}`));
24523
24523
  void (async () => {
24524
24524
  try {
24525
- const { collectDiagnostics } = await import("../persistent-session-X34IE2LC.js");
24525
+ const { collectDiagnostics } = await import("../persistent-session-VWDKTU3A.js");
24526
24526
  await api.post("/host/heartbeat", {
24527
24527
  host_id: hostId,
24528
24528
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -24573,7 +24573,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
24573
24573
  }
24574
24574
  try {
24575
24575
  const hostId = await getHostId();
24576
- const { collectDiagnostics } = await import("../persistent-session-X34IE2LC.js");
24576
+ const { collectDiagnostics } = await import("../persistent-session-VWDKTU3A.js");
24577
24577
  await api.post("/host/heartbeat", {
24578
24578
  host_id: hostId,
24579
24579
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -25275,7 +25275,7 @@ async function processClaudePairSessions(agents) {
25275
25275
  snapshotPairConfig,
25276
25276
  // ENG-11659: result -> report body + the manager.log line that records it.
25277
25277
  planPairStartReport
25278
- } = await import("../claude-pair-runtime-2KESDT3W.js");
25278
+ } = await import("../claude-pair-runtime-OHUHLGN2.js");
25279
25279
  const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
25280
25280
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
25281
25281
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);