peachsim 0.1.2018 → 0.1.2021

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 (134) hide show
  1. package/cli/commands/inspect/settling.ts +11 -6
  2. package/cli/commands/screenshots-capture.ts +9 -2
  3. package/cli/outbound-endpoints.ts +1 -1
  4. package/cli/telemetry.ts +19 -0
  5. package/dist-lib/agent-daemon-client.cjs +1 -1
  6. package/dist-lib/agent-events.cjs +1 -1
  7. package/dist-lib/attached-projects.cjs +1 -1
  8. package/dist-lib/auth/shared-session.cjs +1 -1
  9. package/dist-lib/backend-origin.cjs +1 -1
  10. package/dist-lib/beta.cjs +1 -1
  11. package/dist-lib/beta.mjs +1 -1
  12. package/dist-lib/bridge-constants.cjs +1 -1
  13. package/dist-lib/bridge-contract-input.cjs +1 -1
  14. package/dist-lib/bridge-contract-input.mjs +1 -1
  15. package/dist-lib/bridge-contract.cjs +1 -1
  16. package/dist-lib/bridge-contract.mjs +1 -1
  17. package/dist-lib/bundle-channel.cjs +383 -102
  18. package/dist-lib/capture-contract.cjs +1 -1
  19. package/dist-lib/capture-contract.mjs +1 -1
  20. package/dist-lib/cloud-contract.cjs +1 -1
  21. package/dist-lib/cloud-contract.mjs +1 -1
  22. package/dist-lib/cloud-test-args.cjs +1 -1
  23. package/dist-lib/cloud-test-args.mjs +1 -1
  24. package/dist-lib/cloud.cjs +1 -1
  25. package/dist-lib/cloud.mjs +1 -1
  26. package/dist-lib/config.cjs +1 -1
  27. package/dist-lib/config.mjs +1 -1
  28. package/dist-lib/detox/index.cjs +6 -4
  29. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  30. package/dist-lib/expo-swift-bundle.cjs +377 -96
  31. package/dist-lib/expo-swift-metadata.cjs +1 -1
  32. package/dist-lib/expo-swift-metadata.mjs +1 -1
  33. package/dist-lib/home-paths.cjs +1 -1
  34. package/dist-lib/host/bridge-host.cjs +382 -101
  35. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  36. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  37. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  38. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  39. package/dist-lib/host/websocket-proxy.cjs +1 -1
  40. package/dist-lib/index.cjs +83 -18
  41. package/dist-lib/jump-to-source-babel.cjs +1 -1
  42. package/dist-lib/jump-to-source-native.cjs +1 -1
  43. package/dist-lib/kotlin-host.cjs +1 -1
  44. package/dist-lib/menu.cjs +1 -1
  45. package/dist-lib/menu.mjs +1 -1
  46. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  47. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  48. package/dist-lib/metro-production-bundle.cjs +1 -1
  49. package/dist-lib/metro-production-bundle.mjs +1 -1
  50. package/dist-lib/metro.cjs +78 -15
  51. package/dist-lib/native-app-identity-project.cjs +76 -13
  52. package/dist-lib/native-app-identity-project.mjs +76 -12
  53. package/dist-lib/native-app-identity.cjs +5 -2
  54. package/dist-lib/native-app-identity.mjs +5 -2
  55. package/dist-lib/native-firebase-metadata.cjs +1 -1
  56. package/dist-lib/native-firebase-metadata.mjs +1 -1
  57. package/dist-lib/pdfium-raster.cjs +1 -1
  58. package/dist-lib/pdfium-raster.mjs +1 -1
  59. package/dist-lib/plist.cjs +1 -1
  60. package/dist-lib/plist.mjs +1 -1
  61. package/dist-lib/profiles.cjs +1 -1
  62. package/dist-lib/public-brand.cjs +1 -1
  63. package/dist-lib/public-origins-lib-esm.json +24 -24
  64. package/dist-lib/public-origins-lib.json +53 -53
  65. package/dist-lib/react-native-host-modules.cjs +1 -1
  66. package/dist-lib/react-native-host-modules.mjs +1 -1
  67. package/dist-lib/reap-browser.cjs +1 -1
  68. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  69. package/dist-lib/sdk.cjs +6 -4
  70. package/dist-lib/sdk.mjs +6 -4
  71. package/dist-lib/skills.cjs +389 -106
  72. package/dist-lib/swift-compile.cjs +101 -66
  73. package/dist-lib/swift-compile.mjs +100 -65
  74. package/dist-lib/swift-package.cjs +1 -1
  75. package/dist-lib/swift-package.mjs +1 -1
  76. package/dist-lib/swift-submit.cjs +1 -1
  77. package/dist-lib/swift-submit.mjs +1 -1
  78. package/dist-lib/swift-toolchain.cjs +26 -1
  79. package/dist-lib/swift.cjs +1 -1
  80. package/dist-lib/vite-swift.cjs +376 -95
  81. package/dist-lib/vite.cjs +1 -1
  82. package/dist-lib/worklet-executable.cjs +1 -1
  83. package/dist-lib/worklet-executable.mjs +1 -1
  84. package/dist-types/packages/peach-engine/src/components/native-ui/context-menu-types.d.ts +84 -0
  85. package/dist-types/packages/peach-engine/src/engine/animated.d.ts +1 -1
  86. package/dist-types/packages/peach-engine/src/engine/fontDataContract.d.ts +4 -0
  87. package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +1 -0
  88. package/dist-types/packages/peach-engine/src/engine/rn-spring.d.ts +2 -2
  89. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +1 -1
  90. package/dist-types/packages/peach-engine/src/engine/types.d.ts +2 -1
  91. package/dist-types/packages/peach-engine/src/render-worker/graph-linked-value.d.ts +4 -1
  92. package/dist-types/packages/peach-engine/src/render-worker/native-menu-gesture.d.ts +6 -0
  93. package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +1 -0
  94. package/package.json +1 -1
  95. package/sdk/ios/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASWebAuthenticationSession.h +1 -1
  96. package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/CoreData.h +2 -0
  97. package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSEntityDescription.h +10 -0
  98. package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h +28 -0
  99. package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObject.h +1 -1
  100. package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectContext.h +16 -1
  101. package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectModel.h +3 -0
  102. package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreCoordinator.h +7 -0
  103. package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreRequest.h +3 -0
  104. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h +1 -1
  105. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h +1 -1
  106. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h +1 -1
  107. package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAContext.h +1 -1
  108. package/sdk/ios/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthenticationSession.h +17 -0
  109. package/sdk/ios/System/Library/Frameworks/SafariServices.framework/Headers/SafariServices.h +1 -0
  110. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h +1 -1
  111. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h +1 -1
  112. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerStyle.h +1 -6
  113. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap +1 -0
  114. package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.h +6 -0
  115. package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Headers/WCSession.h +1 -1
  116. package/sdk/ios/usr/include/objc/NSObject.h +1 -1
  117. package/sdk/ios/wasm/include/stdlib.h +1 -0
  118. package/src/nitro-adapter.lock.json +274 -274
  119. package/src/nitro-superset.lock.json +4 -4
  120. package/src/swift-compile.ts +70 -81
  121. package/src/swift-distribution.lock.json +14 -12
  122. package/src/swift-guest-image-ledger.ts +15 -10
  123. package/src/swift-guest-source-inputs.ts +6 -3
  124. package/src/swift-guest-source-plan.ts +5 -1
  125. package/src/swift-objc-compile.ts +2 -2
  126. package/src/swift-objc-standin.ts +197 -5
  127. package/src/swift-packages.ts +13 -12
  128. package/src/swift-shared-sdk.ts +2 -1
  129. package/src/swift-standin-emit.ts +43 -5
  130. package/src/swift-standins.ts +41 -2
  131. package/src/swift-toolchain.ts +24 -0
  132. package/src/turbo-runtime.lock.json +23 -23
  133. package/src/xcode-project.ts +59 -1
  134. package/src/xcode-target-members.ts +4 -0
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2018 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2021 | (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.2018 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2021 | (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.2018 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2021 | (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
- /*! peach v0.1.2018 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2021 | (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.2018 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2021 | (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.2018 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2021 | (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": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "05c0959ec7458f26e96bb0a18e01dd196e19e087c1c71e031ce0707d2494287d", "home-paths.ts": "af600a7f017474946ede726320a133d830e77e4e287b043d4fea026a945ce748", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "c126efdce870c1953833ec9c32d66b15bbe422ab2a31b7531be3e278edbc9737", "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": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "0b56e73d37142a6b639a885b178c86f440c61a0f9a2f615981ea8771ee9b74a9", "home-paths.ts": "af600a7f017474946ede726320a133d830e77e4e287b043d4fea026a945ce748", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "19ef9ddd523234d61f3937219a3845fe27e58602d4a2300510eee585f4df7ba6", "xcode-target-members.ts": "ad7589132bffab265e8a10b64e24484fe88b4a2b1cc0ee19a97f151a002eca77", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
43
43
  }
44
44
  });
45
45
 
@@ -9986,12 +9986,14 @@ function renderActivityIdleScript({
9986
9986
  let deadline = start + budgetMs
9987
9987
  // with no tenant running, nothing an app draws can move.
9988
9988
  const host = window.__sootsimRenderHost ?? null
9989
+ // a runtime that predates the animating flag reports render work as busy.
9990
+ const moving = (activity) => activity.animating ?? activity.busy
9989
9991
  const initial = host ? host.getRenderActivity() : null
9990
9992
  // a published frame proves the idle flag is an observed worker state, not
9991
9993
  // the host's pre-boot default, so its idle interval counts from now even
9992
9994
  // when the busy-to-idle edge preceded this wait.
9993
- let busySeen = !initial || initial.busy || initial.frameToken > 0
9994
- let idleSince = !initial || (!initial.busy && initial.frameToken > 0) ? start : null
9995
+ let busySeen = !initial || moving(initial) || initial.frameToken > 0
9996
+ let idleSince = !initial || (!moving(initial) && initial.frameToken > 0) ? start : null
9995
9997
  let wake = null
9996
9998
  const notify = () => {
9997
9999
  const resolve = wake
@@ -9999,7 +10001,7 @@ function renderActivityIdleScript({
9999
10001
  resolve?.()
10000
10002
  }
10001
10003
  const unsubscribe = host?.subscribeRenderActivity(() => {
10002
- if (host.getRenderActivity().busy) {
10004
+ if (moving(host.getRenderActivity())) {
10003
10005
  busySeen = true
10004
10006
  idleSince = null
10005
10007
  } else if (busySeen && idleSince === null) {
@@ -17911,7 +17913,7 @@ function parseOpenStepPlist(text2) {
17911
17913
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
17912
17914
  var NEVER_MEMBER = /(?:^|\/)(?:Info\.plist|[^/]+\.entitlements|[^/]+\.xcconfig|\.DS_Store)$/;
17913
17915
  var BUNDLE_DIR = /\.(xcassets|bundle|lproj|xcdatamodeld|scnassets|spriteatlas|rcproject|storyboardc|icon)$/;
17914
- function xcodePathResolver(objects, projectDir, join9) {
17916
+ function xcodePathResolver(objects, projectDir, join9, sourceTreeRoot) {
17915
17917
  const parents = /* @__PURE__ */ new Map();
17916
17918
  for (const [id, entry] of Object.entries(objects)) {
17917
17919
  if (!isDict(entry)) continue;
@@ -17934,6 +17936,9 @@ function xcodePathResolver(objects, projectDir, join9) {
17934
17936
  const parent = parents.get(id);
17935
17937
  const base = parent ? resolve5(parent) : projectDir;
17936
17938
  if (base !== null) result = join9(base, own);
17939
+ } else {
17940
+ const base = sourceTreeRoot?.(tree2);
17941
+ if (base) result = join9(base, own);
17937
17942
  }
17938
17943
  }
17939
17944
  paths.set(id, result);
@@ -18565,6 +18570,24 @@ function peachsimPackageRoot() {
18565
18570
  var SWIFT_HOST_COMPILER_RELEASE = "swift-6.4.0-RELEASE-custom-81b2c791c27276bf";
18566
18571
  var SWIFT_HOST_COMPILER_ID = "81b2c791c27276bf";
18567
18572
  var compilerArchives = {
18573
+ "swift-6.4.0-RELEASE-custom-11345d60dca47496": {
18574
+ identity: "11345d60dca47496",
18575
+ archive: "tar.zst",
18576
+ hosts: {
18577
+ "darwin-arm64": {
18578
+ checksum: "3df74a95c6f3ffa45aaa412027b390c99f9af81f6f6a41bf6d58a1a3079b5b02",
18579
+ manifest: "8e5ed4be6adc967e4c7d955eff004c96d5dc050a589d50e1b3e694b70f9afd63"
18580
+ },
18581
+ "linux-x64": {
18582
+ checksum: "a80e46add069932114bacc18640dc2e6a1a8f2a3ea7306a8ea8614d5cdf6e0e7",
18583
+ manifest: "662d8869534f3cce827b1205973db1f9a1e1d92027005a5bdb6893f9c2a0b39d"
18584
+ },
18585
+ "linux-arm64": {
18586
+ checksum: "4ca69bbc284fc7d54be57c80b744b88cce997d470ff23048795db54e7a6fbcba",
18587
+ manifest: "85df84da2f814b6a71c264b37b83a81965ac33b5d2b465443d60c08cc7bc5dc3"
18588
+ }
18589
+ }
18590
+ },
18568
18591
  "swift-6.4.0-RELEASE-custom-45bb46301c86fe73": {
18569
18592
  identity: "45bb46301c86fe73",
18570
18593
  archive: "tar.gz",
@@ -19245,7 +19268,6 @@ init_home_paths();
19245
19268
 
19246
19269
  // src/swift-compile.ts
19247
19270
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
19248
- var import_node_os4 = __toESM(require("node:os"), 1);
19249
19271
  var v5 = __toESM(require("valibot"), 1);
19250
19272
 
19251
19273
  // src/admitted-mac-build.ts
@@ -19553,13 +19575,6 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
19553
19575
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
19554
19576
 
19555
19577
  // src/swift-compile.ts
19556
- var admittedCores = Number(process.env.TM_EXEC_CPU_CORES);
19557
- var SWIFT_BUILD_JOBS = Math.min(
19558
- 4,
19559
- Math.max(1, Math.floor(import_node_os4.default.availableParallelism() / 2)),
19560
- Number.isInteger(admittedCores) && admittedCores > 0 ? admittedCores : 4
19561
- );
19562
- var BUILD_JOBS = String(SWIFT_BUILD_JOBS);
19563
19578
  var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
19564
19579
  PDFKit: [],
19565
19580
  CFNetwork: ["PeachCFNetwork"],
@@ -19633,7 +19648,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
19633
19648
  var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
19634
19649
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
19635
19650
  ).join("");
19636
- var compilerSourceDigest = true ? "45f74efa7677533022d4f1cda371f843c8d79052484d69ad96c8e80627d7c494" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
19651
+ var compilerSourceDigest = true ? "0be1de6e499585bfdd605805a7b9dbaa1f1e8d69f2a1a65d693d7952343a2edb" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
19637
19652
  var CORE_FOUNDATION_HANDLE_IMPORTS = [
19638
19653
  "CFAllocator",
19639
19654
  "CFArray",
@@ -20725,7 +20740,7 @@ ${output2}`
20725
20740
  }
20726
20741
  project.visitMembers(
20727
20742
  targetId,
20728
- project.resolvePath,
20743
+ xcodePathResolver(project.objects, project.projectDir, import_node_path26.default.join, settings),
20729
20744
  (file) => isDirectory(file) ? walkFiles(file) : import_node_fs23.default.existsSync(file) ? [file] : [],
20730
20745
  import_node_path26.default.join,
20731
20746
  (file, kind) => {
@@ -20748,6 +20763,55 @@ ${output2}`
20748
20763
  if (file.endsWith(".swift")) sources.add(file);
20749
20764
  }
20750
20765
  );
20766
+ if (options.prepareGeneratedSources && options.requireSources !== false) {
20767
+ const definitions = [...allSources].filter(
20768
+ (file) => file.endsWith(".intentdefinition")
20769
+ );
20770
+ if (definitions.length > 0 && process.platform !== "darwin")
20771
+ throw new Error(
20772
+ `${targetName}: intent definition code generation requires macOS and Xcode`
20773
+ );
20774
+ for (const definition of definitions) {
20775
+ const configuredLanguage = settings("INTENTS_CODEGEN_LANGUAGE");
20776
+ const language = !configuredLanguage || configuredLanguage === "Automatic" ? sources.size > 0 ? "Swift" : "Objective-C" : configuredLanguage;
20777
+ const output2 = import_node_path26.default.join(
20778
+ settings("DERIVED_FILE_DIR"),
20779
+ "IntentDefinitionGenerated",
20780
+ import_node_path26.default.basename(definition, ".intentdefinition")
20781
+ );
20782
+ import_node_fs23.default.rmSync(output2, { recursive: true, force: true });
20783
+ import_node_fs23.default.mkdirSync(output2, { recursive: true });
20784
+ const args = [
20785
+ "intentbuilderc",
20786
+ "generate",
20787
+ "-input",
20788
+ definition,
20789
+ "-output",
20790
+ output2,
20791
+ "-classPrefix",
20792
+ settings("PROJECT_CLASS_PREFIX"),
20793
+ "-language",
20794
+ language,
20795
+ "-visibility",
20796
+ "public"
20797
+ ];
20798
+ if (language === "Swift")
20799
+ args.push("-swiftVersion", settings("SWIFT_VERSION") || "5.0");
20800
+ if (settings("DEFINES_MODULE") === "YES")
20801
+ args.push("-moduleName", settings("PRODUCT_MODULE_NAME"));
20802
+ (0, import_node_child_process7.execFileSync)("xcrun", args, {
20803
+ cwd: project.projectDir,
20804
+ stdio: ["ignore", "pipe", "pipe"],
20805
+ timeout: runScriptTimeoutMs
20806
+ });
20807
+ projectInputs.add(definition);
20808
+ for (const file of walkFiles(output2)) {
20809
+ allSources.add(file);
20810
+ if (file.endsWith(".swift")) sources.add(file);
20811
+ if (HEADER_FILE.test(file)) headers.add(file);
20812
+ }
20813
+ }
20814
+ }
20751
20815
  return {
20752
20816
  sources: [...sources].sort(),
20753
20817
  resources: [...resources].sort(),
@@ -21210,6 +21274,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
21210
21274
  TARGETNAME: "$(TARGET_NAME)",
21211
21275
  PROJECT: "$(PROJECT_NAME)",
21212
21276
  PROJECT_NAME: import_node_path26.default.basename(ref.project.xcodeproj, ".xcodeproj"),
21277
+ PROJECT_CLASS_PREFIX: isDict(ref.project.project.attributes) ? str(ref.project.project.attributes.CLASSPREFIX) ?? "" : "",
21213
21278
  PROJECT_FILE_PATH: ref.project.xcodeproj,
21214
21279
  SRCROOT: ref.project.projectDir,
21215
21280
  SOURCE_ROOT: ref.project.projectDir,
@@ -22342,7 +22407,7 @@ function readIosAppTarget(projectRoot, iosTarget, environment) {
22342
22407
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
22343
22408
  var import_node_child_process8 = require("node:child_process");
22344
22409
  var import_node_fs25 = __toESM(require("node:fs"), 1);
22345
- var import_node_os5 = __toESM(require("node:os"), 1);
22410
+ var import_node_os4 = __toESM(require("node:os"), 1);
22346
22411
  var import_node_path28 = __toESM(require("node:path"), 1);
22347
22412
  init_is_record();
22348
22413
  var EXPO_CONFIG_SCRIPT = `const { createRequire } = require('node:module');
@@ -22387,7 +22452,7 @@ function readExpoConfigResult(resultPath, status, stderr) {
22387
22452
  if (!isRecord(resolved)) throw new Error("Expo native configuration is unavailable.");
22388
22453
  return resolved;
22389
22454
  }
22390
- var resultDirectory = () => import_node_fs25.default.mkdtempSync(import_node_path28.default.join(import_node_os5.default.tmpdir(), "peach-expo-config-"));
22455
+ var resultDirectory = () => import_node_fs25.default.mkdtempSync(import_node_path28.default.join(import_node_os4.default.tmpdir(), "peach-expo-config-"));
22391
22456
  function readExpoConfig(projectRoot) {
22392
22457
  if (!hasExpoConfig(projectRoot)) return {};
22393
22458
  const directory = resultDirectory();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2018 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2021 | (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.2018 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2021 | (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.2018 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2021 | (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;
package/dist-lib/menu.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2018 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2021 | (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;
package/dist-lib/menu.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2018 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2021 | (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
- /*! peach v0.1.2018 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2021 | (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.2018 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2021 | (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
- /*! peach v0.1.2018 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2021 | (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.2018 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2021 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __esm = (fn, res) => function __init() {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2018 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2021 | (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": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "05c0959ec7458f26e96bb0a18e01dd196e19e087c1c71e031ce0707d2494287d", "home-paths.ts": "af600a7f017474946ede726320a133d830e77e4e287b043d4fea026a945ce748", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "c126efdce870c1953833ec9c32d66b15bbe422ab2a31b7531be3e278edbc9737", "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": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "0b56e73d37142a6b639a885b178c86f440c61a0f9a2f615981ea8771ee9b74a9", "home-paths.ts": "af600a7f017474946ede726320a133d830e77e4e287b043d4fea026a945ce748", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "19ef9ddd523234d61f3937219a3845fe27e58602d4a2300510eee585f4df7ba6", "xcode-target-members.ts": "ad7589132bffab265e8a10b64e24484fe88b4a2b1cc0ee19a97f151a002eca77", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
43
43
  }
44
44
  });
45
45
 
@@ -12324,7 +12324,7 @@ function parseOpenStepPlist(text2) {
12324
12324
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
12325
12325
  var NEVER_MEMBER = /(?:^|\/)(?:Info\.plist|[^/]+\.entitlements|[^/]+\.xcconfig|\.DS_Store)$/;
12326
12326
  var BUNDLE_DIR = /\.(xcassets|bundle|lproj|xcdatamodeld|scnassets|spriteatlas|rcproject|storyboardc|icon)$/;
12327
- function xcodePathResolver(objects, projectDir, join7) {
12327
+ function xcodePathResolver(objects, projectDir, join7, sourceTreeRoot) {
12328
12328
  const parents = /* @__PURE__ */ new Map();
12329
12329
  for (const [id, entry] of Object.entries(objects)) {
12330
12330
  if (!isDict(entry)) continue;
@@ -12347,6 +12347,9 @@ function xcodePathResolver(objects, projectDir, join7) {
12347
12347
  const parent = parents.get(id);
12348
12348
  const base = parent ? resolve4(parent) : projectDir;
12349
12349
  if (base !== null) result = join7(base, own);
12350
+ } else {
12351
+ const base = sourceTreeRoot?.(tree2);
12352
+ if (base) result = join7(base, own);
12350
12353
  }
12351
12354
  }
12352
12355
  paths.set(id, result);
@@ -12978,6 +12981,24 @@ function peachsimPackageRoot() {
12978
12981
  var SWIFT_HOST_COMPILER_RELEASE = "swift-6.4.0-RELEASE-custom-81b2c791c27276bf";
12979
12982
  var SWIFT_HOST_COMPILER_ID = "81b2c791c27276bf";
12980
12983
  var compilerArchives = {
12984
+ "swift-6.4.0-RELEASE-custom-11345d60dca47496": {
12985
+ identity: "11345d60dca47496",
12986
+ archive: "tar.zst",
12987
+ hosts: {
12988
+ "darwin-arm64": {
12989
+ checksum: "3df74a95c6f3ffa45aaa412027b390c99f9af81f6f6a41bf6d58a1a3079b5b02",
12990
+ manifest: "8e5ed4be6adc967e4c7d955eff004c96d5dc050a589d50e1b3e694b70f9afd63"
12991
+ },
12992
+ "linux-x64": {
12993
+ checksum: "a80e46add069932114bacc18640dc2e6a1a8f2a3ea7306a8ea8614d5cdf6e0e7",
12994
+ manifest: "662d8869534f3cce827b1205973db1f9a1e1d92027005a5bdb6893f9c2a0b39d"
12995
+ },
12996
+ "linux-arm64": {
12997
+ checksum: "4ca69bbc284fc7d54be57c80b744b88cce997d470ff23048795db54e7a6fbcba",
12998
+ manifest: "85df84da2f814b6a71c264b37b83a81965ac33b5d2b465443d60c08cc7bc5dc3"
12999
+ }
13000
+ }
13001
+ },
12981
13002
  "swift-6.4.0-RELEASE-custom-45bb46301c86fe73": {
12982
13003
  identity: "45bb46301c86fe73",
12983
13004
  archive: "tar.gz",
@@ -13658,7 +13679,6 @@ init_home_paths();
13658
13679
 
13659
13680
  // src/swift-compile.ts
13660
13681
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
13661
- var import_node_os3 = __toESM(require("node:os"), 1);
13662
13682
  var v5 = __toESM(require("valibot"), 1);
13663
13683
 
13664
13684
  // src/admitted-mac-build.ts
@@ -13966,13 +13986,6 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
13966
13986
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
13967
13987
 
13968
13988
  // src/swift-compile.ts
13969
- var admittedCores = Number(process.env.TM_EXEC_CPU_CORES);
13970
- var SWIFT_BUILD_JOBS = Math.min(
13971
- 4,
13972
- Math.max(1, Math.floor(import_node_os3.default.availableParallelism() / 2)),
13973
- Number.isInteger(admittedCores) && admittedCores > 0 ? admittedCores : 4
13974
- );
13975
- var BUILD_JOBS = String(SWIFT_BUILD_JOBS);
13976
13989
  var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
13977
13990
  PDFKit: [],
13978
13991
  CFNetwork: ["PeachCFNetwork"],
@@ -14046,7 +14059,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
14046
14059
  var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
14047
14060
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
14048
14061
  ).join("");
14049
- var compilerSourceDigest = true ? "45f74efa7677533022d4f1cda371f843c8d79052484d69ad96c8e80627d7c494" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
14062
+ var compilerSourceDigest = true ? "0be1de6e499585bfdd605805a7b9dbaa1f1e8d69f2a1a65d693d7952343a2edb" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
14050
14063
  var CORE_FOUNDATION_HANDLE_IMPORTS = [
14051
14064
  "CFAllocator",
14052
14065
  "CFArray",
@@ -15138,7 +15151,7 @@ ${output2}`
15138
15151
  }
15139
15152
  project.visitMembers(
15140
15153
  targetId,
15141
- project.resolvePath,
15154
+ xcodePathResolver(project.objects, project.projectDir, import_node_path18.default.join, settings),
15142
15155
  (file) => isDirectory(file) ? walkFiles(file) : import_node_fs15.default.existsSync(file) ? [file] : [],
15143
15156
  import_node_path18.default.join,
15144
15157
  (file, kind) => {
@@ -15161,6 +15174,55 @@ ${output2}`
15161
15174
  if (file.endsWith(".swift")) sources.add(file);
15162
15175
  }
15163
15176
  );
15177
+ if (options.prepareGeneratedSources && options.requireSources !== false) {
15178
+ const definitions = [...allSources].filter(
15179
+ (file) => file.endsWith(".intentdefinition")
15180
+ );
15181
+ if (definitions.length > 0 && process.platform !== "darwin")
15182
+ throw new Error(
15183
+ `${targetName}: intent definition code generation requires macOS and Xcode`
15184
+ );
15185
+ for (const definition of definitions) {
15186
+ const configuredLanguage = settings("INTENTS_CODEGEN_LANGUAGE");
15187
+ const language = !configuredLanguage || configuredLanguage === "Automatic" ? sources.size > 0 ? "Swift" : "Objective-C" : configuredLanguage;
15188
+ const output2 = import_node_path18.default.join(
15189
+ settings("DERIVED_FILE_DIR"),
15190
+ "IntentDefinitionGenerated",
15191
+ import_node_path18.default.basename(definition, ".intentdefinition")
15192
+ );
15193
+ import_node_fs15.default.rmSync(output2, { recursive: true, force: true });
15194
+ import_node_fs15.default.mkdirSync(output2, { recursive: true });
15195
+ const args = [
15196
+ "intentbuilderc",
15197
+ "generate",
15198
+ "-input",
15199
+ definition,
15200
+ "-output",
15201
+ output2,
15202
+ "-classPrefix",
15203
+ settings("PROJECT_CLASS_PREFIX"),
15204
+ "-language",
15205
+ language,
15206
+ "-visibility",
15207
+ "public"
15208
+ ];
15209
+ if (language === "Swift")
15210
+ args.push("-swiftVersion", settings("SWIFT_VERSION") || "5.0");
15211
+ if (settings("DEFINES_MODULE") === "YES")
15212
+ args.push("-moduleName", settings("PRODUCT_MODULE_NAME"));
15213
+ (0, import_node_child_process4.execFileSync)("xcrun", args, {
15214
+ cwd: project.projectDir,
15215
+ stdio: ["ignore", "pipe", "pipe"],
15216
+ timeout: runScriptTimeoutMs
15217
+ });
15218
+ projectInputs.add(definition);
15219
+ for (const file of walkFiles(output2)) {
15220
+ allSources.add(file);
15221
+ if (file.endsWith(".swift")) sources.add(file);
15222
+ if (HEADER_FILE.test(file)) headers.add(file);
15223
+ }
15224
+ }
15225
+ }
15164
15226
  return {
15165
15227
  sources: [...sources].sort(),
15166
15228
  resources: [...resources].sort(),
@@ -15623,6 +15685,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
15623
15685
  TARGETNAME: "$(TARGET_NAME)",
15624
15686
  PROJECT: "$(PROJECT_NAME)",
15625
15687
  PROJECT_NAME: import_node_path18.default.basename(ref.project.xcodeproj, ".xcodeproj"),
15688
+ PROJECT_CLASS_PREFIX: isDict(ref.project.project.attributes) ? str(ref.project.project.attributes.CLASSPREFIX) ?? "" : "",
15626
15689
  PROJECT_FILE_PATH: ref.project.xcodeproj,
15627
15690
  SRCROOT: ref.project.projectDir,
15628
15691
  SOURCE_ROOT: ref.project.projectDir,
@@ -16755,7 +16818,7 @@ function readIosAppTarget(projectRoot, iosTarget, environment) {
16755
16818
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
16756
16819
  var import_node_child_process5 = require("node:child_process");
16757
16820
  var import_node_fs17 = __toESM(require("node:fs"), 1);
16758
- var import_node_os4 = __toESM(require("node:os"), 1);
16821
+ var import_node_os3 = __toESM(require("node:os"), 1);
16759
16822
  var import_node_path20 = __toESM(require("node:path"), 1);
16760
16823
  init_is_record();
16761
16824
  var EXPO_CONFIG_SCRIPT = `const { createRequire } = require('node:module');
@@ -16800,7 +16863,7 @@ function readExpoConfigResult(resultPath, status, stderr) {
16800
16863
  if (!isRecord(resolved)) throw new Error("Expo native configuration is unavailable.");
16801
16864
  return resolved;
16802
16865
  }
16803
- var resultDirectory = () => import_node_fs17.default.mkdtempSync(import_node_path20.default.join(import_node_os4.default.tmpdir(), "peach-expo-config-"));
16866
+ var resultDirectory = () => import_node_fs17.default.mkdtempSync(import_node_path20.default.join(import_node_os3.default.tmpdir(), "peach-expo-config-"));
16804
16867
  function readExpoConfig(projectRoot) {
16805
16868
  if (!hasExpoConfig(projectRoot)) return {};
16806
16869
  const directory = resultDirectory();