@swmansion/argent 0.35.1-next.55 → 0.35.1-next.56

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/cli-cmds.mjs CHANGED
@@ -38689,7 +38689,7 @@ function isCi(env = process.env) {
38689
38689
  var SESSION_ID2 = randomUUID5();
38690
38690
  function readCliVersion() {
38691
38691
  if (true) {
38692
- return "0.35.1-next.54";
38692
+ return "0.35.1-next.56";
38693
38693
  }
38694
38694
  return "0.0.0";
38695
38695
  }
@@ -17118,7 +17118,7 @@ function isCi(env = process.env) {
17118
17118
  var SESSION_ID = randomUUID4();
17119
17119
  function readCliVersion() {
17120
17120
  if (true) {
17121
- return "0.35.1-next.54";
17121
+ return "0.35.1-next.56";
17122
17122
  }
17123
17123
  return "0.0.0";
17124
17124
  }
@@ -38248,7 +38248,7 @@ async function startMcpServer(options) {
38248
38248
  const autoDescribeOn = autoDescribeEnabled();
38249
38249
  const whatsNewOn = whatsNewEnabled();
38250
38250
  const installedVersion = getInstalledVersion();
38251
- const highlightsVersion = true ? "0.35.1-next.54" : installedVersion;
38251
+ const highlightsVersion = true ? "0.35.1-next.56" : installedVersion;
38252
38252
  const captureTimeoutMs = options.captureTimeoutMs ?? CAPTURE_TIMEOUT_MS;
38253
38253
  const trees = createTreeMemory();
38254
38254
  const screenshots = createScreenshotMemory();
@@ -73040,7 +73040,7 @@ function isCi(env = process.env) {
73040
73040
  var SESSION_ID = (0, import_node_crypto3.randomUUID)();
73041
73041
  function readCliVersion() {
73042
73042
  if (true) {
73043
- return "0.35.1-next.54";
73043
+ return "0.35.1-next.56";
73044
73044
  }
73045
73045
  return "0.0.0";
73046
73046
  }
@@ -79291,7 +79291,7 @@ function msUntilInstall(activity) {
79291
79291
  const busy = activity.toolCallsInFlight() > 0;
79292
79292
  if (postponedByUser || busy || getActiveScreenRecordings().length || listActiveRecordings().length)
79293
79293
  return AUTOMATIC_UPDATE_IDLE_MS;
79294
- return Math.max(0, activity.lastActivityAt() + AUTOMATIC_UPDATE_IDLE_MS - Date.now());
79294
+ return Math.max(0, activity.lastToolCallAt() + AUTOMATIC_UPDATE_IDLE_MS - Date.now());
79295
79295
  }
79296
79296
  function scheduleUpdater(updateArgs, cliEntry, automatic = false) {
79297
79297
  if (!automatic) {
@@ -126006,6 +126006,7 @@ function createHttpApp(registry2, options) {
126006
126006
  uploadSweeper.unref();
126007
126007
  const idleTimer = createIdleTimer(options?.idleTimeoutMs ?? 0, options?.onIdle);
126008
126008
  let toolCallsInFlight = 0;
126009
+ let lastToolCallAt = Date.now();
126009
126010
  const bindHost = options?.bindHost ?? "127.0.0.1";
126010
126011
  const hostGuardDisabled = isWildcardHost(bindHost);
126011
126012
  const allowedHostnames = new Set(LOOPBACK_HOSTNAMES);
@@ -126215,6 +126216,7 @@ function createHttpApp(registry2, options) {
126215
126216
  "/tools/:name",
126216
126217
  (req, _res, next) => {
126217
126218
  idleTimer.touch();
126219
+ lastToolCallAt = Date.now();
126218
126220
  next();
126219
126221
  },
126220
126222
  async (req, res) => {
@@ -126560,6 +126562,7 @@ function createHttpApp(registry2, options) {
126560
126562
  res.status(500).json({ error: attribute(formatErrorForAgent(err)), ...errorSignalFields(err) });
126561
126563
  } finally {
126562
126564
  toolCallsInFlight--;
126565
+ lastToolCallAt = Date.now();
126563
126566
  idleTimer.touch();
126564
126567
  if (keepAlive) clearInterval(keepAlive);
126565
126568
  releaseInvocationMeta?.();
@@ -126582,7 +126585,7 @@ function createHttpApp(registry2, options) {
126582
126585
  });
126583
126586
  uploads.clear();
126584
126587
  },
126585
- getLastActivityAt: () => idleTimer.getLastActivityAt(),
126588
+ getLastToolCallAt: () => lastToolCallAt,
126586
126589
  getToolCallsInFlight: () => toolCallsInFlight,
126587
126590
  attachChromiumWebsockets: (httpServer) => {
126588
126591
  attachChromiumServerWebsocket(
@@ -177400,7 +177403,7 @@ function start() {
177400
177403
  if (err) return;
177401
177404
  listening = true;
177402
177405
  const serverActivity = {
177403
- lastActivityAt: httpHandle.getLastActivityAt,
177406
+ lastToolCallAt: httpHandle.getLastToolCallAt,
177404
177407
  toolCallsInFlight: httpHandle.getToolCallsInFlight
177405
177408
  };
177406
177409
  updateChecker = startUpdateChecker({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.35.1-next.55",
3
+ "version": "0.35.1-next.56",
4
4
  "mcpName": "io.github.software-mansion/argent",
5
5
  "description": "MCP server for iOS Simulator, Android Emulator, Chromium app and Mac app control",
6
6
  "license": "Apache-2.0",
@@ -98,5 +98,5 @@
98
98
  "vitest": "^5.0.5",
99
99
  "yaml": "^2.9.1"
100
100
  },
101
- "gitHead": "5d8bccfc418a0b3149307cd0dd11f0310fbd4f5c"
101
+ "gitHead": "3e52ebb6701a8cece959e528d47f7526d5771add"
102
102
  }