@swmansion/argent 0.35.1-next.2 → 0.35.1-next.3

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.
@@ -97811,6 +97811,8 @@ async function initUdid(registry2, udid, trackedServices) {
97811
97811
  }
97812
97812
  }
97813
97813
  function startSimulatorWatcher(registry2) {
97814
+ const configuredUdids = process.env.ARGENT_SIMULATOR_WATCH_UDIDS;
97815
+ const allowedUdids = configuredUdids === void 0 ? void 0 : new Set(configuredUdids.split(",").map((id) => id.trim().toUpperCase()));
97814
97816
  const trackedServices = /* @__PURE__ */ new Map();
97815
97817
  const reportedSkips = /* @__PURE__ */ new Set();
97816
97818
  const stopController = new AbortController();
@@ -97844,6 +97846,7 @@ function startSimulatorWatcher(registry2) {
97844
97846
  const ours = /* @__PURE__ */ new Set();
97845
97847
  const claimed = /* @__PURE__ */ new Set();
97846
97848
  for (const udid of booted) {
97849
+ if (allowedUdids && !allowedUdids.has(udid.toUpperCase())) continue;
97847
97850
  const claim2 = externalClaimForNativeId(udid);
97848
97851
  if (!claim2) {
97849
97852
  reportedSkips.delete(udid);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.35.1-next.2",
3
+ "version": "0.35.1-next.3",
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": "0f5f4c7e93d51e328f5231c48e5fa4dc1ae64c36"
101
+ "gitHead": "2b7297fe520b77cef6a60d0986239570353543a0"
102
102
  }