peachsim 0.1.721 → 0.1.723

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 (72) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/agent-identity.cjs +1 -1
  4. package/dist-lib/agent-sessions.cjs +1 -1
  5. package/dist-lib/attached-projects.cjs +1 -1
  6. package/dist-lib/auth/shared-session.cjs +1 -1
  7. package/dist-lib/backend-origin.cjs +1 -1
  8. package/dist-lib/beta.cjs +1 -1
  9. package/dist-lib/beta.mjs +1 -1
  10. package/dist-lib/bridge-constants.cjs +1 -1
  11. package/dist-lib/bridge-contract-input.cjs +1 -1
  12. package/dist-lib/bridge-contract-input.mjs +1 -1
  13. package/dist-lib/bridge-contract.cjs +1 -1
  14. package/dist-lib/bridge-contract.mjs +1 -1
  15. package/dist-lib/capture-contract.cjs +1 -1
  16. package/dist-lib/capture-contract.mjs +1 -1
  17. package/dist-lib/cli-constants.cjs +1 -1
  18. package/dist-lib/cloud-contract.cjs +1 -1
  19. package/dist-lib/cloud-contract.mjs +1 -1
  20. package/dist-lib/cloud-test-args.cjs +1 -1
  21. package/dist-lib/cloud-test-args.mjs +1 -1
  22. package/dist-lib/cloud.cjs +1 -1
  23. package/dist-lib/cloud.mjs +1 -1
  24. package/dist-lib/config.cjs +1 -1
  25. package/dist-lib/detox/index.cjs +1 -1
  26. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  27. package/dist-lib/home-paths.cjs +1 -1
  28. package/dist-lib/host/bridge-host.cjs +31 -43
  29. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  30. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  31. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  32. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  33. package/dist-lib/host/websocket-proxy.cjs +1 -1
  34. package/dist-lib/index.cjs +16 -28
  35. package/dist-lib/jump-to-source-babel.cjs +1 -1
  36. package/dist-lib/jump-to-source-native.cjs +1 -1
  37. package/dist-lib/kotlin-host.cjs +1 -1
  38. package/dist-lib/menu.cjs +1 -1
  39. package/dist-lib/menu.mjs +1 -1
  40. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  41. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  42. package/dist-lib/metro-production-bundle.cjs +1 -1
  43. package/dist-lib/metro-production-bundle.mjs +1 -1
  44. package/dist-lib/metro.cjs +16 -28
  45. package/dist-lib/native-app-identity.cjs +1 -1
  46. package/dist-lib/native-app-identity.mjs +1 -1
  47. package/dist-lib/native-firebase-metadata.cjs +1 -1
  48. package/dist-lib/native-firebase-metadata.mjs +1 -1
  49. package/dist-lib/plist.cjs +3 -22
  50. package/dist-lib/plist.mjs +3 -22
  51. package/dist-lib/profiles.cjs +1 -1
  52. package/dist-lib/public-brand.cjs +1 -1
  53. package/dist-lib/react-native-host-modules.cjs +1 -1
  54. package/dist-lib/react-native-host-modules.mjs +1 -1
  55. package/dist-lib/render-mode.cjs +1 -1
  56. package/dist-lib/scripts/dev-server-scanner.cjs +6 -25
  57. package/dist-lib/sdk.cjs +1 -1
  58. package/dist-lib/sdk.mjs +1 -1
  59. package/dist-lib/skills.cjs +78 -90
  60. package/dist-lib/swift-compile.cjs +2 -1
  61. package/dist-lib/swift-compile.mjs +2 -1
  62. package/dist-lib/swift-package.cjs +1 -1
  63. package/dist-lib/swift-package.mjs +1 -1
  64. package/dist-lib/swift-submit.cjs +1 -1
  65. package/dist-lib/swift-submit.mjs +1 -1
  66. package/dist-lib/swift-toolchain.cjs +1 -1
  67. package/dist-lib/swift.cjs +1 -1
  68. package/dist-lib/vite-swift.cjs +2 -1
  69. package/dist-lib/vite.cjs +1 -1
  70. package/package.json +3 -2
  71. package/src/plist.ts +2 -21
  72. package/src/swift-compile.ts +1 -0
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.721 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.723 | (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;
@@ -599,8 +599,8 @@ ${METRO_MODULE_PATHS_PREFIX}`);
599
599
  if (moduleFooter < 0) return withoutExisting + footer;
600
600
  return withoutExisting.slice(0, moduleFooter) + footer + withoutExisting.slice(moduleFooter);
601
601
  }
602
- function plistString(plist, key) {
603
- const match = plist.match(new RegExp(`<key>${key}</key>\\s*<string>([^<]*)</string>`));
602
+ function plistString(plist2, key) {
603
+ const match = plist2.match(new RegExp(`<key>${key}</key>\\s*<string>([^<]*)</string>`));
604
604
  return match ? match[1].trim() : null;
605
605
  }
606
606
  function resolveBuildSetting(value, settings, depth = 0) {
@@ -670,9 +670,9 @@ function appTargetReleaseSettings(pbxproj, targetName, infoPlistRelativePath) {
670
670
  candidates.push({ name: match[1], settings });
671
671
  }
672
672
  const plistMatch = (settings) => {
673
- const plist = settings.INFOPLIST_FILE;
674
- if (!plist) return false;
675
- const normalized = plist.replace(/^"|"$/g, "");
673
+ const plist2 = settings.INFOPLIST_FILE;
674
+ if (!plist2) return false;
675
+ const normalized = plist2.replace(/^"|"$/g, "");
676
676
  return normalized === infoPlistRelativePath || infoPlistRelativePath.endsWith(`/${normalized}`) || normalized.endsWith(`/${infoPlistRelativePath}`);
677
677
  };
678
678
  const named = (settings) => resolveBuildSetting(settings.PRODUCT_NAME ?? "", settings) === targetName;
@@ -698,8 +698,8 @@ function nativeAppIdentityFromIos(files, parseInfoPlist) {
698
698
  const appDelegatePattern = /(?:^|\/)ios\/([^/]+)\/AppDelegate\.(?:swift|mm|m)$/;
699
699
  const targetName = Object.keys(files).filter((path6) => !path6.includes("/Pods/")).map((path6) => path6.match(appDelegatePattern)?.[1]).find((name) => name !== void 0 && applicationTargets.has(name)) ?? null;
700
700
  if (!targetName) return null;
701
- const plist = files[`ios/${targetName}/Info.plist`];
702
- if (!plist) return null;
701
+ const plist2 = files[`ios/${targetName}/Info.plist`];
702
+ if (!plist2) return null;
703
703
  const settings = appTargetReleaseSettings(
704
704
  pbxproj,
705
705
  targetName,
@@ -708,29 +708,29 @@ function nativeAppIdentityFromIos(files, parseInfoPlist) {
708
708
  if (!settings) return null;
709
709
  const bundleIdentifier = identityFieldFrom(
710
710
  settings,
711
- plistString(plist, "CFBundleIdentifier"),
711
+ plistString(plist2, "CFBundleIdentifier"),
712
712
  settings.PRODUCT_BUNDLE_IDENTIFIER
713
713
  );
714
714
  if (!bundleIdentifier) return null;
715
715
  const appVersion = identityFieldFrom(
716
716
  settings,
717
- plistString(plist, "CFBundleShortVersionString"),
717
+ plistString(plist2, "CFBundleShortVersionString"),
718
718
  settings.MARKETING_VERSION
719
719
  );
720
720
  const buildVersion = identityFieldFrom(
721
721
  settings,
722
- plistString(plist, "CFBundleVersion"),
722
+ plistString(plist2, "CFBundleVersion"),
723
723
  settings.CURRENT_PROJECT_VERSION
724
724
  );
725
725
  if (!appVersion || !buildVersion) return null;
726
726
  const bundleName = identityFieldFrom(
727
727
  settings,
728
- plistString(plist, "CFBundleName"),
728
+ plistString(plist2, "CFBundleName"),
729
729
  settings.PRODUCT_NAME
730
730
  ) ?? resolvedIdentityField(resolveBuildSetting(settings.PRODUCT_NAME ?? "", settings)) ?? resolvedIdentityField(targetName);
731
731
  if (!bundleName) return null;
732
- const applicationName = identityFieldFrom(settings, plistString(plist, "CFBundleDisplayName"), void 0) ?? bundleName;
733
- const dictionary = parseInfoPlist(plist);
732
+ const applicationName = identityFieldFrom(settings, plistString(plist2, "CFBundleDisplayName"), void 0) ?? bundleName;
733
+ const dictionary = parseInfoPlist(plist2);
734
734
  if (!isRecord(dictionary)) throw new Error("native app Info.plist is not a dictionary");
735
735
  const permissionUsageDescriptions = {};
736
736
  for (const [key, value] of Object.entries(dictionary)) {
@@ -781,21 +781,9 @@ function isRecord2(value) {
781
781
  }
782
782
 
783
783
  // src/plist.ts
784
- var import_plist = __toESM(require("@expo/plist"), 1);
785
- function resolvePlistParser(value) {
786
- if (!isRecord2(value)) return null;
787
- const direct = value.parse;
788
- if (typeof direct === "function") {
789
- return (source) => Reflect.apply(direct, value, [source]);
790
- }
791
- const nested = value.default;
792
- if (!isRecord2(nested)) return null;
793
- const nestedParse = nested.parse;
794
- return typeof nestedParse === "function" ? (source) => Reflect.apply(nestedParse, nested, [source]) : null;
795
- }
796
- var parsePlist = resolvePlistParser(import_plist.default);
784
+ var import_plist = __toESM(require("plist"), 1);
797
785
  function parsePlistSource(source) {
798
- return parsePlist?.(source) ?? null;
786
+ return import_plist.default.parse(source);
799
787
  }
800
788
 
801
789
  // src/native-firebase-config.ts
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.721 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.723 | (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.721 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.723 | (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.721 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.723 | (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.721 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.723 | (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.721 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.723 | (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;
@@ -35,28 +35,9 @@ __export(plist_exports, {
35
35
  parsePlistSource: () => parsePlistSource
36
36
  });
37
37
  module.exports = __toCommonJS(plist_exports);
38
- var import_plist = __toESM(require("@expo/plist"), 1);
39
-
40
- // src/is-record.ts
41
- function isRecord(value) {
42
- return typeof value === "object" && value !== null && !Array.isArray(value);
43
- }
44
-
45
- // src/plist.ts
46
- function resolvePlistParser(value) {
47
- if (!isRecord(value)) return null;
48
- const direct = value.parse;
49
- if (typeof direct === "function") {
50
- return (source) => Reflect.apply(direct, value, [source]);
51
- }
52
- const nested = value.default;
53
- if (!isRecord(nested)) return null;
54
- const nestedParse = nested.parse;
55
- return typeof nestedParse === "function" ? (source) => Reflect.apply(nestedParse, nested, [source]) : null;
56
- }
57
- var parsePlist = resolvePlistParser(import_plist.default);
38
+ var import_plist = __toESM(require("plist"), 1);
58
39
  function parsePlistSource(source) {
59
- return parsePlist?.(source) ?? null;
40
+ return import_plist.default.parse(source);
60
41
  }
61
42
  // Annotate the CommonJS export names for ESM import in node:
62
43
  0 && (module.exports = {
@@ -1,28 +1,9 @@
1
- /*! rnx v0.1.721 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/plist.ts
4
- import plistModule from "@expo/plist";
5
-
6
- // src/is-record.ts
7
- function isRecord(value) {
8
- return typeof value === "object" && value !== null && !Array.isArray(value);
9
- }
10
-
11
- // src/plist.ts
12
- function resolvePlistParser(value) {
13
- if (!isRecord(value)) return null;
14
- const direct = value.parse;
15
- if (typeof direct === "function") {
16
- return (source) => Reflect.apply(direct, value, [source]);
17
- }
18
- const nested = value.default;
19
- if (!isRecord(nested)) return null;
20
- const nestedParse = nested.parse;
21
- return typeof nestedParse === "function" ? (source) => Reflect.apply(nestedParse, nested, [source]) : null;
22
- }
23
- var parsePlist = resolvePlistParser(plistModule);
4
+ import plist from "plist";
24
5
  function parsePlistSource(source) {
25
- return parsePlist?.(source) ?? null;
6
+ return plist.parse(source);
26
7
  }
27
8
  export {
28
9
  parsePlistSource
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.721 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.723 | (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.721 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.723 | (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.721 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.723 | (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.721 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.723 | (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.721 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.723 | (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.721 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.723 | (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;
@@ -289,28 +289,9 @@ var import_promises = require("node:fs/promises");
289
289
  var import_node_path = require("node:path");
290
290
 
291
291
  // src/plist.ts
292
- var import_plist = __toESM(require("@expo/plist"), 1);
293
-
294
- // src/is-record.ts
295
- function isRecord(value) {
296
- return typeof value === "object" && value !== null && !Array.isArray(value);
297
- }
298
-
299
- // src/plist.ts
300
- function resolvePlistParser(value) {
301
- if (!isRecord(value)) return null;
302
- const direct = value.parse;
303
- if (typeof direct === "function") {
304
- return (source) => Reflect.apply(direct, value, [source]);
305
- }
306
- const nested = value.default;
307
- if (!isRecord(nested)) return null;
308
- const nestedParse = nested.parse;
309
- return typeof nestedParse === "function" ? (source) => Reflect.apply(nestedParse, nested, [source]) : null;
310
- }
311
- var parsePlist = resolvePlistParser(import_plist.default);
292
+ var import_plist = __toESM(require("plist"), 1);
312
293
  function parsePlistSource(source) {
313
- return parsePlist?.(source) ?? null;
294
+ return import_plist.default.parse(source);
314
295
  }
315
296
 
316
297
  // src/settings-bundle.ts
@@ -319,7 +300,7 @@ var MAX_CHILD_DEPTH = 8;
319
300
  var MAX_PLIST_FILES = 32;
320
301
  var MAX_SPECIFIERS = 512;
321
302
  var settingsBundleCache = /* @__PURE__ */ new Map();
322
- function isRecord2(value) {
303
+ function isRecord(value) {
323
304
  return typeof value === "object" && value !== null && !Array.isArray(value);
324
305
  }
325
306
  function optionalString(value) {
@@ -448,7 +429,7 @@ async function parsePlistRecord(path) {
448
429
  if (!metadata.isFile() || metadata.size > MAX_PLIST_BYTES) return null;
449
430
  const source = await (0, import_promises.readFile)(path, "utf8");
450
431
  const parsed = parsePlistSource(source);
451
- return isRecord2(parsed) ? parsed : null;
432
+ return isRecord(parsed) ? parsed : null;
452
433
  } catch {
453
434
  return null;
454
435
  }
@@ -484,7 +465,7 @@ function normalizeMultiValue(raw, key, title) {
484
465
  };
485
466
  }
486
467
  async function normalizeSpecifier(raw, context) {
487
- if (!isRecord2(raw)) return null;
468
+ if (!isRecord(raw)) return null;
488
469
  if (context.budget.specifiers >= MAX_SPECIFIERS) return null;
489
470
  const type = requiredString(raw.Type);
490
471
  if (!type) return null;
package/dist-lib/sdk.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.721 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.723 | (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.721 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.723 | (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);