peachsim 0.1.745 → 0.1.746

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 (76) hide show
  1. package/cli/drivers/playwright-sim-host.ts +2 -0
  2. package/dist-lib/agent-daemon-client.cjs +1 -1
  3. package/dist-lib/agent-events.cjs +1 -1
  4. package/dist-lib/agent-identity.cjs +1 -1
  5. package/dist-lib/agent-sessions.cjs +1 -1
  6. package/dist-lib/attached-projects.cjs +1 -1
  7. package/dist-lib/auth/shared-session.cjs +1 -1
  8. package/dist-lib/backend-origin.cjs +1 -1
  9. package/dist-lib/beta.cjs +1 -1
  10. package/dist-lib/beta.mjs +1 -1
  11. package/dist-lib/bridge-constants.cjs +1 -1
  12. package/dist-lib/bridge-contract-input.cjs +1 -1
  13. package/dist-lib/bridge-contract-input.mjs +1 -1
  14. package/dist-lib/bridge-contract.cjs +1 -1
  15. package/dist-lib/bridge-contract.mjs +1 -1
  16. package/dist-lib/capture-contract.cjs +1 -1
  17. package/dist-lib/capture-contract.mjs +1 -1
  18. package/dist-lib/cli-constants.cjs +1 -1
  19. package/dist-lib/cloud-contract.cjs +1 -1
  20. package/dist-lib/cloud-contract.mjs +1 -1
  21. package/dist-lib/cloud-test-args.cjs +1 -1
  22. package/dist-lib/cloud-test-args.mjs +1 -1
  23. package/dist-lib/cloud.cjs +1 -1
  24. package/dist-lib/cloud.mjs +1 -1
  25. package/dist-lib/config.cjs +1 -1
  26. package/dist-lib/detox/index.cjs +98 -10
  27. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  28. package/dist-lib/home-paths.cjs +1 -1
  29. package/dist-lib/host/bridge-host.cjs +128 -11
  30. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  31. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  32. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  33. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  34. package/dist-lib/host/websocket-proxy.cjs +1 -1
  35. package/dist-lib/index.cjs +4 -4
  36. package/dist-lib/jump-to-source-babel.cjs +1 -1
  37. package/dist-lib/jump-to-source-native.cjs +1 -1
  38. package/dist-lib/kotlin-host.cjs +1 -1
  39. package/dist-lib/menu.cjs +1 -1
  40. package/dist-lib/menu.mjs +1 -1
  41. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  42. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  43. package/dist-lib/metro-production-bundle.cjs +1 -1
  44. package/dist-lib/metro-production-bundle.mjs +1 -1
  45. package/dist-lib/metro.cjs +1 -1
  46. package/dist-lib/native-app-identity.cjs +1 -1
  47. package/dist-lib/native-app-identity.mjs +1 -1
  48. package/dist-lib/native-firebase-metadata.cjs +1 -1
  49. package/dist-lib/native-firebase-metadata.mjs +1 -1
  50. package/dist-lib/plist.cjs +1 -1
  51. package/dist-lib/plist.mjs +1 -1
  52. package/dist-lib/profiles.cjs +1 -1
  53. package/dist-lib/public-brand.cjs +1 -1
  54. package/dist-lib/react-native-host-modules.cjs +1 -1
  55. package/dist-lib/react-native-host-modules.mjs +1 -1
  56. package/dist-lib/render-mode.cjs +1 -1
  57. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  58. package/dist-lib/sdk.cjs +1 -1
  59. package/dist-lib/sdk.mjs +1 -1
  60. package/dist-lib/skills.cjs +129 -12
  61. package/dist-lib/swift-compile.cjs +58 -6
  62. package/dist-lib/swift-compile.mjs +57 -6
  63. package/dist-lib/swift-package.cjs +1 -1
  64. package/dist-lib/swift-package.mjs +1 -1
  65. package/dist-lib/swift-submit.cjs +1 -1
  66. package/dist-lib/swift-submit.mjs +1 -1
  67. package/dist-lib/swift-toolchain.cjs +1 -1
  68. package/dist-lib/swift.cjs +1 -1
  69. package/dist-lib/vite-swift.cjs +383 -10
  70. package/dist-lib/vite.cjs +4 -4
  71. package/package.json +1 -1
  72. package/src/swift-compile.ts +76 -8
  73. package/src/swift-host.ts +23 -3
  74. package/src/vite-plugin-one.ts +2 -2
  75. package/src/vite-plugin.ts +10 -1
  76. package/src/xcode-project.ts +86 -1
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -106,9 +106,9 @@ var require_parse = __commonJS({
106
106
  doc.documentElement.nodeName === "plist",
107
107
  "malformed document. First element should be <plist>"
108
108
  );
109
- var plist2 = parsePlistXML(doc.documentElement);
110
- if (plist2.length == 1) plist2 = plist2[0];
111
- return plist2;
109
+ var plist3 = parsePlistXML(doc.documentElement);
110
+ if (plist3.length == 1) plist3 = plist3[0];
111
+ return plist3;
112
112
  }
113
113
  function parsePlistXML(node) {
114
114
  var i, new_obj, key, val, new_arr, res, counter, type;
@@ -6718,7 +6718,10 @@ function swiftPackagePartition(manifest, resourcePaths = []) {
6718
6718
  var run2 = (0, import_node_util2.promisify)(import_node_child_process3.execFile);
6719
6719
  var WASM_TRIPLE = "wasm32-unknown-wasip1";
6720
6720
  var cores = import_node_os2.default.availableParallelism();
6721
- var BUILD_ENV = { ...process.env, BINARYEN_CORES: String(Math.min(4, cores)) };
6721
+ var BUILD_ENV = {
6722
+ ...process.env,
6723
+ BINARYEN_CORES: String(Math.min(4, cores))
6724
+ };
6722
6725
  var BUILD_JOBS = String(Math.max(1, Math.floor(cores / 2)));
6723
6726
  function swiftDistributionAt(root) {
6724
6727
  const file = import_node_path7.default.join(root, SWIFT_DISTRIBUTION_MANIFEST);
@@ -6743,7 +6746,9 @@ function swiftModuleInputFiles(root) {
6743
6746
  "toolchain.json"
6744
6747
  ];
6745
6748
  const walk2 = (dir) => {
6746
- for (const entry of (0, import_node_fs7.readdirSync)(import_node_path7.default.join(root, dir), { withFileTypes: true })) {
6749
+ for (const entry of (0, import_node_fs7.readdirSync)(import_node_path7.default.join(root, dir), {
6750
+ withFileTypes: true
6751
+ })) {
6747
6752
  const relative2 = `${dir}/${entry.name}`;
6748
6753
  if (entry.isDirectory()) walk2(relative2);
6749
6754
  else if (/\.(swift|c|cpp|h)$/.test(entry.name)) files.push(relative2);
@@ -7572,9 +7577,14 @@ function swiftSourceAsIOS(original, extraObjCExtensions) {
7572
7577
  const reusableBodies = [];
7573
7578
  let depth = 0;
7574
7579
  let opensReusableBody = false;
7580
+ const sceneLifecycleBodies = /* @__PURE__ */ new Set();
7575
7581
  for (const at of tokens) {
7576
7582
  const rest = conditioned.slice(at, at + 400);
7577
7583
  if (rest.startsWith("{")) {
7584
+ if (sceneLifecycleBodies.has(at)) {
7585
+ out += conditioned.slice(copied, at + 1) + " public var _peachUsesSceneLifecycle: Bool { true };";
7586
+ copied = at + 1;
7587
+ }
7578
7588
  depth++;
7579
7589
  if (opensReusableBody) reusableBodies.push(depth);
7580
7590
  opensReusableBody = false;
@@ -7610,12 +7620,33 @@ function swiftSourceAsIOS(original, extraObjCExtensions) {
7610
7620
  opensReusableBody = true;
7611
7621
  }
7612
7622
  const modifiers = conditioned.slice(conditioned.lastIndexOf("\n", at - 1) + 1, at);
7623
+ const delegateClass = DELEGATE_CLASS.exec(rest);
7624
+ if (delegateClass && /\bUIApplicationDelegate\b/.test(delegateClass[0])) {
7625
+ const body = at + delegateClass[0].lastIndexOf("{");
7626
+ let bodyDepth = 0;
7627
+ for (const token of tokens) {
7628
+ if (token < body) continue;
7629
+ if (conditioned[token] === "{") bodyDepth++;
7630
+ else if (conditioned[token] === "}" && --bodyDepth === 0) break;
7631
+ else if (bodyDepth === 1 && /^func\s+application\s*\([^{}]*\bconfigurationForConnecting\s+/.test(
7632
+ conditioned.slice(token, token + 600)
7633
+ )) {
7634
+ sceneLifecycleBodies.add(body);
7635
+ break;
7636
+ }
7637
+ }
7638
+ }
7613
7639
  if (DELEGATE_CLASS.test(rest) && !/\b(?:final|open)\b/.test(modifiers)) {
7614
7640
  out += `${conditioned.slice(copied, at)}final `;
7615
7641
  copied = at;
7616
7642
  }
7617
7643
  continue;
7618
7644
  }
7645
+ if (/^@UIApplicationMain\b/.test(rest)) {
7646
+ out += conditioned.slice(copied, at) + "@main".padEnd("@UIApplicationMain".length);
7647
+ copied = at + "@UIApplicationMain".length;
7648
+ continue;
7649
+ }
7619
7650
  const selector = SELECTOR.exec(rest);
7620
7651
  const match = selector ?? OBJC_ATTRIBUTE.exec(rest);
7621
7652
  if (!match) continue;
@@ -7714,7 +7745,7 @@ function swiftCodeScan(source) {
7714
7745
  else top.parens--;
7715
7746
  i++;
7716
7747
  } else {
7717
- const keyword = source.startsWith("class", i) ? "class" : source.startsWith("extension", i) ? "extension" : source.startsWith("override", i) ? "override" : source.startsWith("import", i) ? "import" : source.startsWith("NSClassFromString", i) ? "NSClassFromString" : null;
7748
+ const keyword = source.startsWith("class", i) ? "class" : source.startsWith("extension", i) ? "extension" : source.startsWith("override", i) ? "override" : source.startsWith("import", i) ? "import" : source.startsWith("func", i) ? "func" : source.startsWith("UIApplicationMain", i) ? "UIApplicationMain" : source.startsWith("NSClassFromString", i) ? "NSClassFromString" : null;
7718
7749
  if (keyword && !/[\w$]/.test(source[i - 1] ?? "") && !/[\w$]/.test(source[i + keyword.length] ?? "")) {
7719
7750
  tokens.push(i);
7720
7751
  i += keyword.length;
@@ -7940,10 +7971,16 @@ function compileSwiftProjectUnit(input, options) {
7940
7971
  plugin
7941
7972
  ])
7942
7973
  ],
7943
- { env: BUILD_ENV, maxBuffer: 64 * 1024 * 1024, timeout: options.timeoutMs }
7974
+ {
7975
+ env: BUILD_ENV,
7976
+ maxBuffer: 64 * 1024 * 1024,
7977
+ timeout: options.timeoutMs
7978
+ }
7944
7979
  );
7945
7980
  } catch (error) {
7946
- throw new Error(projectDiagnostic(outputOf(error), layout), { cause: error });
7981
+ throw new Error(projectDiagnostic(outputOf(error), layout), {
7982
+ cause: error
7983
+ });
7947
7984
  }
7948
7985
  return {
7949
7986
  hash,
@@ -9157,6 +9194,7 @@ async function compileSwiftProject(submit, work, origin, signal) {
9157
9194
  // src/xcode-project.ts
9158
9195
  var import_node_fs14 = __toESM(require("node:fs"), 1);
9159
9196
  var import_node_path14 = __toESM(require("node:path"), 1);
9197
+ var import_plist3 = __toESM(require_plist(), 1);
9160
9198
  function parseOpenStepPlist(text) {
9161
9199
  let i = 0;
9162
9200
  const fail = (message) => {
@@ -9377,6 +9415,62 @@ function readXcodeAppTarget(xcodeproj, targetName) {
9377
9415
  const moduleName = c99Identifier(
9378
9416
  settings.PRODUCT_MODULE_NAME && !settings.PRODUCT_MODULE_NAME.includes("$(") ? settings.PRODUCT_MODULE_NAME : productName
9379
9417
  );
9418
+ const variables = {
9419
+ ...settings,
9420
+ EXECUTABLE_NAME: settings.EXECUTABLE_NAME ?? productName,
9421
+ DEVELOPMENT_LANGUAGE: settings.DEVELOPMENT_LANGUAGE ?? str(project.developmentRegion) ?? "en",
9422
+ TARGET_NAME: name2,
9423
+ PRODUCT_NAME: productName,
9424
+ PRODUCT_MODULE_NAME: moduleName,
9425
+ SRCROOT: projectDir,
9426
+ SOURCE_ROOT: projectDir
9427
+ };
9428
+ const expand = (value) => {
9429
+ const seen = /* @__PURE__ */ new Set();
9430
+ while (/\$[({][A-Za-z_][A-Za-z0-9_]*[)}]/.test(value)) {
9431
+ if (seen.has(value)) throw new Error(`${name2} has cyclic Info.plist build settings`);
9432
+ seen.add(value);
9433
+ value = value.replace(
9434
+ /\$[({]([A-Za-z_][A-Za-z0-9_]*)[)}]/g,
9435
+ (match, key) => {
9436
+ const replacement = Object.entries(variables).find(
9437
+ ([name3]) => name3 === key
9438
+ )?.[1];
9439
+ if (replacement === void 0)
9440
+ throw new Error(`${name2} Info.plist has unresolved setting ${match}`);
9441
+ return replacement;
9442
+ }
9443
+ );
9444
+ }
9445
+ return value;
9446
+ };
9447
+ const expandValue = (value) => {
9448
+ if (typeof value === "string") return expand(value);
9449
+ if (Array.isArray(value)) return value.map(expandValue);
9450
+ if (typeof value === "object" && !(value instanceof Date) && !Buffer.isBuffer(value)) {
9451
+ return Object.fromEntries(
9452
+ Object.entries(value).map(([key, value2]) => [key, expandValue(value2)])
9453
+ );
9454
+ }
9455
+ return value;
9456
+ };
9457
+ const infoPlistFile = settings.INFOPLIST_FILE ? import_node_path14.default.resolve(projectDir, expand(settings.INFOPLIST_FILE)) : null;
9458
+ const sourceInfo = infoPlistFile ? import_plist3.default.parse(import_node_fs14.default.readFileSync(infoPlistFile, "utf8")) : {};
9459
+ if (!sourceInfo || typeof sourceInfo !== "object" || Array.isArray(sourceInfo) || sourceInfo instanceof Date || Buffer.isBuffer(sourceInfo)) {
9460
+ throw new Error(`${name2} Info.plist must contain a dictionary`);
9461
+ }
9462
+ const info = {};
9463
+ for (const [key, value] of Object.entries(sourceInfo)) info[key] = expandValue(value);
9464
+ for (const [key, value] of Object.entries(settings)) {
9465
+ if (!key.startsWith("INFOPLIST_KEY_") || key.endsWith("_Generation")) continue;
9466
+ info[key.slice("INFOPLIST_KEY_".length)] = value === "YES" ? true : value === "NO" ? false : expand(value);
9467
+ }
9468
+ if (settings.INFOPLIST_KEY_UIApplicationSceneManifest_Generation === "YES" && info.UIApplicationSceneManifest === void 0) {
9469
+ info.UIApplicationSceneManifest = {
9470
+ UIApplicationSupportsMultipleScenes: true,
9471
+ UISceneConfigurations: {}
9472
+ };
9473
+ }
9380
9474
  const sources = /* @__PURE__ */ new Set();
9381
9475
  const resources = /* @__PURE__ */ new Set();
9382
9476
  const addResource = (file) => {
@@ -9480,7 +9574,10 @@ function readXcodeAppTarget(xcodeproj, targetName) {
9480
9574
  if (!dependency || !product) continue;
9481
9575
  const reference = object(str(dependency.package));
9482
9576
  if (reference?.isa === "XCRemoteSwiftPackageReference") {
9483
- remoteProducts.push({ product, repositoryURL: str(reference.repositoryURL) ?? "" });
9577
+ remoteProducts.push({
9578
+ product,
9579
+ repositoryURL: str(reference.repositoryURL) ?? ""
9580
+ });
9484
9581
  } else if (reference?.isa === "XCLocalSwiftPackageReference") {
9485
9582
  localPackages.add(import_node_path14.default.resolve(projectDir, str(reference.relativePath) ?? ""));
9486
9583
  } else if (localProducts.has(product)) {
@@ -9521,6 +9618,8 @@ function readXcodeAppTarget(xcodeproj, targetName) {
9521
9618
  moduleName,
9522
9619
  sources: [...sources].sort(),
9523
9620
  resources: [...resources].sort(),
9621
+ infoPlist: import_plist3.default.build(info),
9622
+ infoPlistFile,
9524
9623
  languageMode: swiftVersion >= 6 ? 6 : 5,
9525
9624
  mainActorIsolation: settings.SWIFT_DEFAULT_ACTOR_ISOLATION === "MainActor",
9526
9625
  localPackages: [...localPackages].sort(),
@@ -9619,6 +9718,7 @@ function xcodeLayout(root) {
9619
9718
  if (!registered) return null;
9620
9719
  const app = readXcodeAppTarget(registered.xcodeproj, registered.target);
9621
9720
  const files = /* @__PURE__ */ new Set([app.pbxproj, ...app.sources, ...app.resources]);
9721
+ if (app.infoPlistFile) files.add(app.infoPlistFile);
9622
9722
  const targets = [];
9623
9723
  for (const dir of app.localPackages) {
9624
9724
  const manifest = import_node_path15.default.join(dir, "Package.swift");
@@ -9646,7 +9746,12 @@ function xcodeLayout(root) {
9646
9746
  });
9647
9747
  for (const file of target.files) files.add(file);
9648
9748
  }
9649
- return { app, targets, unavailable: remote.unavailable, files: [...files].sort() };
9749
+ return {
9750
+ app,
9751
+ targets,
9752
+ unavailable: remote.unavailable,
9753
+ files: [...files].sort()
9754
+ };
9650
9755
  }
9651
9756
  function xcodeManifest(layout) {
9652
9757
  const settings = (mode, mainActor) => `swiftSettings: [.swiftLanguageMode(.v${mode})${mainActor ? ", .defaultIsolation(MainActor.self)" : ""}]`;
@@ -9833,6 +9938,18 @@ function buildSwiftBundleFiles(packagePath, hosted) {
9833
9938
  const files = {};
9834
9939
  const watched = [];
9835
9940
  let total = 0;
9941
+ const xcode = xcodeLayout(packagePath);
9942
+ if (xcode) {
9943
+ const bytes = Buffer.from(xcode.app.infoPlist);
9944
+ if (bytes.length > limits.resourceBytes || bytes.length > limits.resourceTotalBytes)
9945
+ throw new Error("swift launch Info.plist exceeds bundle resource limits");
9946
+ files["Info.plist"] = bytes.toString("base64");
9947
+ total += bytes.length;
9948
+ if (xcode.app.infoPlistFile)
9949
+ watched.push(
9950
+ import_node_path15.default.relative(packagePath, xcode.app.infoPlistFile).split(import_node_path15.default.sep).join("/")
9951
+ );
9952
+ }
9836
9953
  for (const { base, file } of enumerateBundleJson(relative2)) {
9837
9954
  watched.push(file);
9838
9955
  const disk = import_node_path15.default.join(packagePath, ...file.split("/"));
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/host/fetch-proxy-overrides.ts
4
4
  var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -3874,7 +3874,6 @@ var import_fs4 = __toESM(require("fs"), 1);
3874
3874
  var import_node_crypto4 = require("node:crypto");
3875
3875
  var import_node_module = require("node:module");
3876
3876
  var import_path3 = __toESM(require("path"), 1);
3877
- var import_vxrn = require("vxrn");
3878
3877
  var import_ws2 = require("ws");
3879
3878
 
3880
3879
  // src/dev-server-open.ts
@@ -4632,8 +4631,9 @@ function rnxPlugin(options = {}) {
4632
4631
  config() {
4633
4632
  return { optimizeDeps: { include: ["use-latest-callback"] } };
4634
4633
  },
4635
- configureServer(server) {
4634
+ async configureServer(server) {
4636
4635
  if (options.enabled === false) return;
4636
+ const { swiftPackageDirectories } = await import("vxrn");
4637
4637
  let swiftPackages;
4638
4638
  let swiftModuleRoot;
4639
4639
  const moduleRootFor = () => {
@@ -4651,7 +4651,7 @@ function rnxPlugin(options = {}) {
4651
4651
  };
4652
4652
  const activeSwiftPackages = /* @__PURE__ */ new Set();
4653
4653
  const packageMap = () => {
4654
- swiftPackages ??= (0, import_vxrn.swiftPackageDirectories)(server.config.root);
4654
+ swiftPackages ??= swiftPackageDirectories(server.config.root);
4655
4655
  return swiftPackages;
4656
4656
  };
4657
4657
  const wsOptions = server.config.server.ws;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/dist-lib/menu.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/menu.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/public-brand.ts
4
4
  var name = "Peach";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/is-record.ts
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/metro-production-bundle.ts
4
4
  var RNXSIM_METRO_MODULE_PATHS_PREFIX = "globalThis.__sootsimModulePaths=";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/native-app-identity.ts
4
4
  var NATIVE_APP_IDENTITY_PREFIX = "globalThis.__sootsimNativeAppIdentity=";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/native-firebase-metadata.ts
4
4
  var PREFIX = "globalThis.__peachNativeFirebaseConfig=";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/plist.ts
4
4
  import plist from "plist";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/react-native-host-modules.ts
4
4
  var REACT_NATIVE_PASSTHROUGH_SPECIFIERS = [
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/dist-lib/sdk.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/sdk.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.745 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.746 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);