peachsim 0.1.1845 → 0.1.1846

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 (83) 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/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +1 -1
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +1 -1
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +1 -1
  13. package/dist-lib/bundle-channel.cjs +23 -10
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +1 -1
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +1 -1
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +1 -1
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +1 -1
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +1 -1
  24. package/dist-lib/detox/index.cjs +1 -1
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/expo-swift-bundle.cjs +4 -4
  27. package/dist-lib/expo-swift-metadata.cjs +1 -1
  28. package/dist-lib/expo-swift-metadata.mjs +1 -1
  29. package/dist-lib/home-paths.cjs +1 -1
  30. package/dist-lib/host/bridge-host.cjs +23 -10
  31. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  32. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  33. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  34. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  35. package/dist-lib/host/websocket-proxy.cjs +1 -1
  36. package/dist-lib/index.cjs +23 -10
  37. package/dist-lib/jump-to-source-babel.cjs +1 -1
  38. package/dist-lib/jump-to-source-native.cjs +1 -1
  39. package/dist-lib/kotlin-host.cjs +1 -1
  40. package/dist-lib/menu.cjs +1 -1
  41. package/dist-lib/menu.mjs +1 -1
  42. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  44. package/dist-lib/metro-production-bundle.cjs +1 -1
  45. package/dist-lib/metro-production-bundle.mjs +1 -1
  46. package/dist-lib/metro.cjs +23 -10
  47. package/dist-lib/native-app-identity-project.cjs +20 -7
  48. package/dist-lib/native-app-identity-project.mjs +20 -7
  49. package/dist-lib/native-app-identity.cjs +1 -1
  50. package/dist-lib/native-app-identity.mjs +1 -1
  51. package/dist-lib/native-firebase-metadata.cjs +1 -1
  52. package/dist-lib/native-firebase-metadata.mjs +1 -1
  53. package/dist-lib/pdfium-raster.cjs +1 -1
  54. package/dist-lib/pdfium-raster.mjs +1 -1
  55. package/dist-lib/plist.cjs +1 -1
  56. package/dist-lib/plist.mjs +1 -1
  57. package/dist-lib/profiles.cjs +1 -1
  58. package/dist-lib/public-brand.cjs +1 -1
  59. package/dist-lib/public-origins-lib-esm.json +24 -24
  60. package/dist-lib/public-origins-lib.json +53 -53
  61. package/dist-lib/react-native-host-modules.cjs +1 -1
  62. package/dist-lib/react-native-host-modules.mjs +1 -1
  63. package/dist-lib/reap-browser.cjs +1 -1
  64. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  65. package/dist-lib/sdk.cjs +1 -1
  66. package/dist-lib/sdk.mjs +1 -1
  67. package/dist-lib/skills.cjs +26 -13
  68. package/dist-lib/swift-compile.cjs +1 -1
  69. package/dist-lib/swift-compile.mjs +1 -1
  70. package/dist-lib/swift-package.cjs +1 -1
  71. package/dist-lib/swift-package.mjs +1 -1
  72. package/dist-lib/swift-submit.cjs +1 -1
  73. package/dist-lib/swift-submit.mjs +1 -1
  74. package/dist-lib/swift-toolchain.cjs +1 -1
  75. package/dist-lib/swift.cjs +1 -1
  76. package/dist-lib/vite-swift.cjs +3 -3
  77. package/dist-lib/vite.cjs +1 -1
  78. package/dist-lib/worklet-executable.cjs +1 -1
  79. package/dist-lib/worklet-executable.mjs +1 -1
  80. package/package.json +1 -1
  81. package/src/expo-swift-host.ts +6 -5
  82. package/src/native-firebase-config.ts +3 -3
  83. package/src/xcode-project.ts +20 -7
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1845 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1846 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
39
39
  var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
40
40
  var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
41
41
  "<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
42
- define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "26f8d4a25d1af9917f0005153c73c9cefa4f6681c9d56c6333b8096190db0431", "swift-package.ts": "e224b5e20ed3a86df1c62d6429e88234ed65317ce32c61c1b6b02aaee173d64f", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "a90155695844684e625ab83687161104f028ef34030715a40042a4407b77fca0", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "1594a888c8d4d1f26bb06e522ccbdeecf314934063ac635eedd6f4938e0684fd", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
42
+ define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "26f8d4a25d1af9917f0005153c73c9cefa4f6681c9d56c6333b8096190db0431", "swift-package.ts": "e224b5e20ed3a86df1c62d6429e88234ed65317ce32c61c1b6b02aaee173d64f", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "a90155695844684e625ab83687161104f028ef34030715a40042a4407b77fca0", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "3f580bf7c3c1c248f7671cf5bd7131dc2bb11324d1e0c67dd559e0d4e4de3f6f", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
43
43
  }
44
44
  });
45
45
 
@@ -24872,7 +24872,7 @@ function standinSourceDigest(srcDir = __sootsim_import_meta_dirname) {
24872
24872
  }
24873
24873
  return hash.digest("hex");
24874
24874
  }
24875
- var STANDIN_SOURCE_DIGEST = true ? "1fd57281ceaf1317ebbd3df4334dd41fce5931f51ce3a48d3b2870e4e9670d8c" : standinSourceDigest();
24875
+ var STANDIN_SOURCE_DIGEST = true ? "0325c09fcc1b1b4d115920d8f47a5f2f7b4a0c394c928ae68586af45f80c5517" : standinSourceDigest();
24876
24876
 
24877
24877
  // src/swift-standins.ts
24878
24878
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1845 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1846 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1845 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1846 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1845 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1846 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.1845",
3
+ "version": "0.1.1846",
4
4
  "description": "Vite and Metro plugins, testing drivers, and SDK exports for peach.",
5
5
  "author": "Tamagui LLC",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -2329,12 +2329,13 @@ async function compileExpoSwiftModulesTraced(
2329
2329
  line,
2330
2330
  ),
2331
2331
  )
2332
- // native preparation failures name the target, not a file; they
2333
- // are input-determined like a source error, so they ride with
2334
- // them instead of hiding behind the filtered diagnostic.
2332
+ // native preparation and link failures of a unit built alone name
2333
+ // the target or a symbol, not a file; they are input-determined
2334
+ // like a source error, so they ride with them instead of hiding
2335
+ // behind the filtered diagnostic.
2335
2336
  const targetErrors =
2336
2337
  diagnostic.match(
2337
- /^error: target .*$|^(?:error: )?[^\n:]+: missing or unsupported declared iOS deployment target .*$/gm,
2338
+ /^error: target .*$|^(?:error: )?[^\n:]+: missing or unsupported declared iOS deployment target .*$|^(?:ld(?:\.lld)?|wasm-ld): error: .*$/gm,
2338
2339
  ) ?? []
2339
2340
  const unitErrors = [...targetErrors, ...sourceErrors]
2340
2341
  if (
@@ -2344,7 +2345,7 @@ async function compileExpoSwiftModulesTraced(
2344
2345
  !(error instanceof SwiftMissingModulesError)
2345
2346
  )
2346
2347
  throw error
2347
- // a source error or a module peach does not provide holds until the
2348
+ // a source, target or link error, or a module peach does not provide, holds until the
2348
2349
  // stamp changes. the compiler also reports the same error at the
2349
2350
  // build copy, so the app lines are enough to hold it. retrying
2350
2351
  // either relinks every namespace and rewrites the linked package,
@@ -549,11 +549,11 @@ function findDefaultConfigureCall(body: string, sources: readonly string[]) {
549
549
  // default app, relative to the project root, or null when it configures none.
550
550
  function readTargetGoogleServicesFile(
551
551
  projectRoot: string,
552
- xcodeproj: string,
552
+ container: string,
553
553
  target: string,
554
554
  prepareGeneratedSources = false,
555
555
  ): string | null {
556
- const app = readXcodeAppTarget(xcodeproj, target, undefined, {
556
+ const app = readXcodeAppTarget(container, target, undefined, {
557
557
  requireSources: false,
558
558
  prepareGeneratedSources,
559
559
  })
@@ -689,7 +689,7 @@ export function readNativeFirebaseConfig(
689
689
  if (selected) {
690
690
  const file = readTargetGoogleServicesFile(
691
691
  projectRoot,
692
- selected.xcodeproj,
692
+ selected.workspace ?? selected.xcodeproj,
693
693
  selected.target,
694
694
  prepareGeneratedSources,
695
695
  )
@@ -1538,7 +1538,7 @@ export class NativeAppTargetSelectionError extends Error {}
1538
1538
  export function selectIosAppTarget(
1539
1539
  projectRoot: string,
1540
1540
  iosTarget?: string,
1541
- ): { xcodeproj: string; target: string } | null {
1541
+ ): { xcodeproj: string; target: string; workspace: string | null } | null {
1542
1542
  // react native's own repo keeps its xcode project beside package.json
1543
1543
  const nested = path.join(projectRoot, 'ios')
1544
1544
  const iosRoot = fs.existsSync(nested) ? nested : projectRoot
@@ -1548,21 +1548,34 @@ export function selectIosAppTarget(
1548
1548
  entries.some((entry) => entry.isDirectory() && entry.name.endsWith('.xcodeproj'))
1549
1549
  ? entries
1550
1550
  .filter((entry) => entry.isDirectory() && entry.name.endsWith('.xcodeproj'))
1551
- .map((entry) => path.join(iosRoot, entry.name))
1551
+ .map((entry) => ({
1552
+ xcodeproj: path.join(iosRoot, entry.name),
1553
+ workspace: null,
1554
+ }))
1552
1555
  : entries
1553
1556
  .filter((entry) => entry.isDirectory() && entry.name.endsWith('.xcworkspace'))
1554
- .flatMap((entry) => workspaceReferences(path.join(iosRoot, entry.name)))
1557
+ .flatMap((entry): { xcodeproj: string; workspace: string | null }[] => {
1558
+ const workspace = path.join(iosRoot, entry.name)
1559
+ return workspaceReferences(workspace).map((xcodeproj) => ({
1560
+ xcodeproj,
1561
+ workspace,
1562
+ }))
1563
+ })
1555
1564
  .filter(
1556
- (xcodeproj) =>
1565
+ ({ xcodeproj }) =>
1557
1566
  xcodeproj.endsWith('.xcodeproj') &&
1558
1567
  !xcodeproj.split(path.sep).includes('Pods') &&
1559
1568
  fs.existsSync(xcodeproj),
1560
1569
  )
1561
1570
  .filter(
1562
- (xcodeproj) =>
1571
+ ({ xcodeproj }) =>
1563
1572
  listXcodeAppTargets(xcodeproj, { requireSources: false }).length > 0,
1564
1573
  )
1565
- ).map((xcodeproj) => ({ xcodeproj, name: path.basename(xcodeproj) }))
1574
+ ).map(({ xcodeproj, workspace }) => ({
1575
+ xcodeproj,
1576
+ workspace,
1577
+ name: path.basename(xcodeproj),
1578
+ }))
1566
1579
  if (projects.length === 0) return null
1567
1580
  if (projects.length > 1 && !iosTarget) {
1568
1581
  throw new NativeAppTargetSelectionError(
@@ -1610,7 +1623,7 @@ export function selectIosAppTarget(
1610
1623
  }
1611
1624
  if (!appTargets.includes(target))
1612
1625
  throw new Error(`native app identity has no application target ${target}`)
1613
- return { xcodeproj, target }
1626
+ return { xcodeproj, target, workspace: project.workspace }
1614
1627
  }
1615
1628
 
1616
1629
  // xcode keeps the pins in the workspace it opened: the named one, or the project's own