peachsim 0.1.2304 → 0.1.2306

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 (92) hide show
  1. package/cli/commands/daemon.ts +31 -9
  2. package/dist-lib/agent-daemon-client.cjs +1 -1
  3. package/dist-lib/agent-events.cjs +1 -1
  4. package/dist-lib/attached-projects.cjs +1 -1
  5. package/dist-lib/auth/shared-session.cjs +1 -1
  6. package/dist-lib/backend-origin.cjs +1 -1
  7. package/dist-lib/beta.cjs +1 -1
  8. package/dist-lib/beta.mjs +1 -1
  9. package/dist-lib/bridge-constants.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.cjs +1 -1
  11. package/dist-lib/bridge-contract-input.mjs +1 -1
  12. package/dist-lib/bridge-contract.cjs +1 -1
  13. package/dist-lib/bridge-contract.mjs +1 -1
  14. package/dist-lib/bundle-channel.cjs +190 -71
  15. package/dist-lib/capture-contract.cjs +1 -1
  16. package/dist-lib/capture-contract.mjs +1 -1
  17. package/dist-lib/cloud-contract.cjs +1 -1
  18. package/dist-lib/cloud-contract.mjs +1 -1
  19. package/dist-lib/cloud-test-args.cjs +1 -1
  20. package/dist-lib/cloud-test-args.mjs +1 -1
  21. package/dist-lib/cloud.cjs +1 -1
  22. package/dist-lib/cloud.mjs +1 -1
  23. package/dist-lib/config.cjs +1 -1
  24. package/dist-lib/config.mjs +1 -1
  25. package/dist-lib/detox/index.cjs +2 -2
  26. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  27. package/dist-lib/expo-swift-bundle.cjs +188 -69
  28. package/dist-lib/expo-swift-metadata.cjs +1 -1
  29. package/dist-lib/expo-swift-metadata.mjs +1 -1
  30. package/dist-lib/home-paths.cjs +1 -1
  31. package/dist-lib/host/bridge-host.cjs +190 -71
  32. package/dist-lib/host/fetch-proxy-handler.cjs +15 -5
  33. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  34. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  35. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  36. package/dist-lib/host/websocket-proxy.cjs +1 -1
  37. package/dist-lib/index.cjs +15 -5
  38. package/dist-lib/jump-to-source-babel.cjs +1 -1
  39. package/dist-lib/jump-to-source-native.cjs +1 -1
  40. package/dist-lib/kotlin-host.cjs +1 -1
  41. package/dist-lib/menu.cjs +1 -1
  42. package/dist-lib/menu.mjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  44. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  45. package/dist-lib/metro-production-bundle.cjs +1 -1
  46. package/dist-lib/metro-production-bundle.mjs +1 -1
  47. package/dist-lib/metro.cjs +15 -5
  48. package/dist-lib/native-app-identity-project.cjs +2 -2
  49. package/dist-lib/native-app-identity-project.mjs +2 -2
  50. package/dist-lib/native-app-identity.cjs +1 -1
  51. package/dist-lib/native-app-identity.mjs +1 -1
  52. package/dist-lib/native-firebase-metadata.cjs +1 -1
  53. package/dist-lib/native-firebase-metadata.mjs +1 -1
  54. package/dist-lib/pdfium-raster.cjs +1 -1
  55. package/dist-lib/pdfium-raster.mjs +1 -1
  56. package/dist-lib/plist.cjs +1 -1
  57. package/dist-lib/plist.mjs +1 -1
  58. package/dist-lib/profiles.cjs +1 -1
  59. package/dist-lib/public-brand.cjs +1 -1
  60. package/dist-lib/public-origins-lib-esm.json +24 -24
  61. package/dist-lib/public-origins-lib.json +61 -53
  62. package/dist-lib/react-native-host-modules.cjs +1 -1
  63. package/dist-lib/react-native-host-modules.mjs +1 -1
  64. package/dist-lib/reap-browser.cjs +1 -1
  65. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  66. package/dist-lib/sdk.cjs +1 -1
  67. package/dist-lib/sdk.mjs +1 -1
  68. package/dist-lib/skills.cjs +206 -75
  69. package/dist-lib/swift-compile.cjs +2 -2
  70. package/dist-lib/swift-compile.mjs +2 -2
  71. package/dist-lib/swift-package.cjs +1 -1
  72. package/dist-lib/swift-package.mjs +1 -1
  73. package/dist-lib/swift-submit.cjs +1 -1
  74. package/dist-lib/swift-submit.mjs +1 -1
  75. package/dist-lib/swift-toolchain.cjs +1 -1
  76. package/dist-lib/swift.cjs +1 -1
  77. package/dist-lib/vite-swift.cjs +4 -4
  78. package/dist-lib/vite.cjs +15 -5
  79. package/dist-lib/worklet-executable.cjs +1 -1
  80. package/dist-lib/worklet-executable.mjs +1 -1
  81. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +0 -5
  82. package/dist-types/packages/peach-globals/src/webViewBridgeContract.d.ts +3 -0
  83. package/java-platform/licenses/fdlibm.txt +3 -0
  84. package/kotlin/sdk.tar.gz +0 -0
  85. package/package.json +1 -1
  86. package/runtime-companion.json +1 -1
  87. package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewController.h +1 -1
  88. package/src/expo-native-workspace.ts +3 -23
  89. package/src/git-repo-env.ts +27 -0
  90. package/src/native-static-libraries.ts +1 -1
  91. package/src/swift-packages.ts +4 -20
  92. package/src/turbo-source.ts +148 -22
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2306 | (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;
@@ -12398,6 +12398,38 @@ var init_admitted_mac_build = __esm({
12398
12398
  }
12399
12399
  });
12400
12400
 
12401
+ // src/git-repo-env.ts
12402
+ function withoutGitRepositoryEnv(source = process.env) {
12403
+ const env = { ...source };
12404
+ for (const key2 of GIT_REPOSITORY_ENV_KEYS) {
12405
+ delete env[key2];
12406
+ }
12407
+ return env;
12408
+ }
12409
+ var GIT_REPOSITORY_ENV_KEYS;
12410
+ var init_git_repo_env = __esm({
12411
+ "src/git-repo-env.ts"() {
12412
+ "use strict";
12413
+ GIT_REPOSITORY_ENV_KEYS = [
12414
+ "GIT_DIR",
12415
+ "GIT_COMMON_DIR",
12416
+ "GIT_WORK_TREE",
12417
+ "GIT_INDEX_FILE",
12418
+ "GIT_OBJECT_DIRECTORY",
12419
+ "GIT_ALTERNATE_OBJECT_DIRECTORIES",
12420
+ "GIT_PREFIX",
12421
+ "GIT_SHALLOW_FILE",
12422
+ "GIT_GRAFT_FILE",
12423
+ "GIT_NAMESPACE",
12424
+ "GIT_IMPLICIT_WORK_TREE",
12425
+ "GIT_CONFIG",
12426
+ "GIT_CEILING_DIRECTORIES",
12427
+ "GIT_DISCOVERY_ACROSS_FILESYSTEM",
12428
+ "GIT_SUPER_PREFIX"
12429
+ ];
12430
+ }
12431
+ });
12432
+
12401
12433
  // src/native-git.ts
12402
12434
  function requireNativeGit() {
12403
12435
  const result = (0, import_node_child_process11.spawnSync)("git", ["--version"], { encoding: "utf8" });
@@ -36413,7 +36445,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
36413
36445
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
36414
36446
  MULTI_MANIFEST_VERSION = 68;
36415
36447
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
36416
- compilerSourceDigest = true ? "38c735ffbd31a005ec0e9662f0fa716aaed8b65aeec0d1592bde2e835f179458" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
36448
+ compilerSourceDigest = true ? "dda8eea414f224c24308031855c896c38101ab0d31acbc7060436bc1d4aadf0d" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
36417
36449
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
36418
36450
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
36419
36451
  cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
@@ -40970,7 +41002,7 @@ var init_swift_standin_digest = __esm({
40970
41002
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
40971
41003
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
40972
41004
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
40973
- STANDIN_SOURCE_DIGEST = true ? "6002e019e3756e603da7a6845af874da053d7724cb1f91276d6e7928d2546e5e" : standinSourceDigest();
41005
+ STANDIN_SOURCE_DIGEST = true ? "0ffa2547ef06e12d293047c1e51c99b46325d43c9a029d4d9a9586b75f24b39b" : standinSourceDigest();
40974
41006
  }
40975
41007
  });
40976
41008
 
@@ -41588,7 +41620,7 @@ var init_native_static_libraries = __esm({
41588
41620
  nativeSha256: "b91cd08892ebe0cdd39e1336594bb66cd79fc639a894303805792047d24f468b",
41589
41621
  upstream: "ed59cc48e37ac33ac15b252fc5ad7af4b9ecd51d",
41590
41622
  // updated with the native producer script and port patches.
41591
- recipe: "cea231f8139cf2b44a3f2b309ce8a99b9ee3e3ff52b5120780bc5969a22f8059",
41623
+ recipe: "7914af52f8a3694215d7422b01209490237921826e18438d5f1004775769ab63",
41592
41624
  archive: "libessentia.a"
41593
41625
  },
41594
41626
  {
@@ -41992,27 +42024,10 @@ async function fetchCheckout(checkouts, identity2, pin2, signal) {
41992
42024
  if (preparedSwiftPin(checkouts, identity2, pin2.location, pin2.revision)) return;
41993
42025
  requireNativeGit();
41994
42026
  const key2 = checkoutKey(dir, pin2);
41995
- const gitEnv = { ...process.env };
41996
- for (const name3 of [
41997
- "GIT_DIR",
41998
- "GIT_COMMON_DIR",
41999
- "GIT_WORK_TREE",
42000
- "GIT_INDEX_FILE",
42001
- "GIT_OBJECT_DIRECTORY",
42002
- "GIT_ALTERNATE_OBJECT_DIRECTORIES",
42003
- "GIT_PREFIX",
42004
- "GIT_SHALLOW_FILE",
42005
- "GIT_GRAFT_FILE",
42006
- "GIT_NAMESPACE",
42007
- "GIT_IMPLICIT_WORK_TREE",
42008
- "GIT_CONFIG",
42009
- "GIT_CEILING_DIRECTORIES",
42010
- "GIT_DISCOVERY_ACROSS_FILESYSTEM",
42011
- "GIT_SUPER_PREFIX"
42012
- ]) {
42013
- delete gitEnv[name3];
42014
- }
42015
- gitEnv.GIT_TERMINAL_PROMPT = "0";
42027
+ const gitEnv = {
42028
+ ...withoutGitRepositoryEnv(),
42029
+ GIT_TERMINAL_PROMPT: "0"
42030
+ };
42016
42031
  const git = async (cwd, ...args) => (await execFileAsync2("git", ["-C", cwd, ...args], {
42017
42032
  encoding: "utf8",
42018
42033
  env: gitEnv,
@@ -42620,6 +42635,7 @@ var init_swift_packages = __esm({
42620
42635
  import_node_path71 = __toESM(require("node:path"), 1);
42621
42636
  import_promises7 = require("node:timers/promises");
42622
42637
  import_node_util13 = require("node:util");
42638
+ init_git_repo_env();
42623
42639
  init_home_paths();
42624
42640
  init_native_git();
42625
42641
  init_numbered_lock();
@@ -55624,15 +55640,17 @@ async function collectTurboSources(options) {
55624
55640
  flattensPublicHeaders: false,
55625
55641
  bridgingHeader: null,
55626
55642
  prefixHeader,
55627
- headerSearchPaths: [
55628
- `${targetPath(targetName)}/include`,
55629
- `${targetPath(TURBO_CORE_TARGET)}/include`
55630
- ],
55643
+ headerSearchPaths: [`${targetPath(targetName)}/include`],
55631
55644
  userHeaderSearchPaths: [],
55632
55645
  frameworkSearchPaths: [],
55633
55646
  headerMaps: [],
55634
55647
  productHeaders: {},
55635
- flags: [],
55648
+ // TurboCore's aliased React headers compile the units but never reach
55649
+ // a Swift importer, whose React module is the app's own
55650
+ flags: [
55651
+ "-I",
55652
+ `${SWIFT_NATIVE_INPUT_ROOT}/${targetPath(TURBO_CORE_TARGET)}/include`
55653
+ ],
55636
55654
  importerFlags: [],
55637
55655
  cxxFlags: [],
55638
55656
  fileFlags: {},
@@ -57016,7 +57034,8 @@ ${moduleProviders ? `- (id<RCTModuleProvider>)getModuleProvider:(const char *)na
57016
57034
  @end
57017
57035
 
57018
57036
  // an app's Fabric component views, which its own Fabric host defines
57019
- extern "C" void peachInstallFabricViews(facebook::jsi::Runtime &runtime) __attribute__((weak));
57037
+ void peachInstallFabricViews(facebook::jsi::Runtime &runtime, std::shared_ptr<facebook::react::CallInvoker> invoker) __attribute__((weak));
57038
+ void peachTeardownFabricViews() __attribute__((weak));
57020
57039
 
57021
57040
  // UIKitCore: the key window and root view controller an app delegate makes at launch
57022
57041
  extern "C" void PeachLaunchReactNativeWindow(void);
@@ -57038,6 +57057,7 @@ extern "C" void peachTurboInitialize() {
57038
57057
  auto& runtime = peach::jsi_runtime::create(
57039
57058
  [] { invoker->drain(); },
57040
57059
  [] {
57060
+ if (peachTeardownFabricViews) peachTeardownFabricViews();
57041
57061
  [manager invalidate];
57042
57062
  manager = nil;
57043
57063
  delegate = nil;
@@ -57095,7 +57115,7 @@ ${bridgeProxy ? ` // as RCTInstance does: the proxy modules reach as their brid
57095
57115
  }];
57096
57116
  [decorator.moduleRegistry setTurboModuleRegistry:manager];
57097
57117
  [manager installJSBindings:runtime];
57098
- if (peachInstallFabricViews) peachInstallFabricViews(runtime);
57118
+ if (peachInstallFabricViews) peachInstallFabricViews(runtime, invoker);
57099
57119
  }
57100
57120
 
57101
57121
  // the screenshot the device took, as UIKit posts it to every observer in the
@@ -57160,13 +57180,20 @@ namespace {
57160
57180
  struct PeachFabricView {
57161
57181
  react::ComponentHandle handle;
57162
57182
  const react::ComponentDescriptor *descriptor;
57183
+ react::ShadowNodeFamily::Shared family;
57163
57184
  react::Props::Shared props;
57185
+ react::State::Shared state;
57164
57186
  react::LayoutMetrics layoutMetrics;
57165
57187
  };
57166
57188
  PeachFabricComponents *fabricComponents;
57167
57189
  RCTComponentViewRegistry *fabricRegistry;
57168
- std::shared_ptr<const react::ContextContainer> fabricContext;
57190
+ std::shared_ptr<react::ContextContainer> fabricContext;
57169
57191
  react::ComponentDescriptorRegistry::Shared fabricDescriptors;
57192
+ std::shared_ptr<react::CallInvoker> fabricInvoker;
57193
+ std::shared_ptr<react::RuntimeScheduler> fabricScheduler;
57194
+ std::shared_ptr<const void> fabricOwner;
57195
+ std::shared_ptr<const react::EventDispatcher> fabricDispatcher;
57196
+ std::optional<jsi::Function> fabricEventHandler;
57170
57197
  std::unordered_map<int, PeachFabricView> fabricViews;
57171
57198
  int nextFabricView = 1;
57172
57199
  std::string fabricNames = ${JSON.stringify(views.map(({ name: name3 }) => name3).join("\n"))};
@@ -57185,32 +57212,112 @@ react::Props::Shared fabricCloneProps(jsi::Runtime &rt, const PeachFabricView &v
57185
57212
  return view.descriptor->cloneProps(context, view.props, react::RawProps(rt, props));
57186
57213
  }
57187
57214
 
57215
+ // the beat React Native's run loop observer gives: queued events flush once
57216
+ // the call that queued them returns
57217
+ class PeachFabricEventBeat final : public react::EventBeat {
57218
+ public:
57219
+ PeachFabricEventBeat(std::shared_ptr<OwnerBox> ownerBox, react::RuntimeScheduler &scheduler)
57220
+ : EventBeat(ownerBox, scheduler), box(std::move(ownerBox)) {}
57221
+ void request() const override {
57222
+ EventBeat::request();
57223
+ std::weak_ptr<const void> owner = box->owner;
57224
+ fabricInvoker->invokeAsync([this, owner](jsi::Runtime &) {
57225
+ if (owner.lock()) induce();
57226
+ });
57227
+ }
57228
+
57229
+ private:
57230
+ std::shared_ptr<OwnerBox> box;
57231
+ };
57232
+
57233
+ // UIManager::updateState reads a state's data as State's friend; a member
57234
+ // pointer named through a derived class reaches the same accessor
57235
+ struct PeachStateData : react::State {
57236
+ static constexpr auto data = &PeachStateData::getDataPointer;
57237
+ };
57238
+
57239
+ // UIManager::dispatchEventToJS: the instance handle the engine gave the view,
57240
+ // the event type and its payload with the target tag and timestamp
57241
+ void fabricDispatchEvent(
57242
+ jsi::Runtime &rt,
57243
+ react::EventTarget *target,
57244
+ const std::string &type,
57245
+ react::ReactEventPriority,
57246
+ const react::EventPayload &eventPayload,
57247
+ react::HighResTimeStamp timestamp) {
57248
+ auto payload = eventPayload.asJSIValue(rt);
57249
+ if (payload.isNull() || !fabricEventHandler || !target) return;
57250
+ auto handle = target->getInstanceHandle(rt);
57251
+ if (handle.isUndefined() || handle.isNull()) return;
57252
+ if (payload.isObject()) {
57253
+ auto object = payload.asObject(rt);
57254
+ object.setProperty(rt, "target", target->getTag());
57255
+ if (!object.hasProperty(rt, "timeStamp"))
57256
+ object.setProperty(rt, "timeStamp", timestamp.toDOMHighResTimeStamp());
57257
+ }
57258
+ fabricEventHandler->call(rt, std::move(handle), jsi::String::createFromUtf8(rt, type), std::move(payload));
57259
+ }
57260
+
57261
+ // UIManager::updateState with the engine's tree in place of the shadow tree:
57262
+ // the view's next state, then the update its commit would mount
57263
+ void fabricUpdateState(const react::StateUpdate &update) {
57264
+ int tag = update.family->getTag();
57265
+ auto found = fabricViews.find(tag);
57266
+ if (found == fabricViews.end() || !found->second.state) return;
57267
+ auto &view = found->second;
57268
+ auto data = update.callback(((*view.state).*PeachStateData::data)());
57269
+ if (!data) return;
57270
+ auto oldState = view.state;
57271
+ view.state = view.descriptor->createState(*view.family, data);
57272
+ UIView<RCTComponentViewProtocol> *componentView = [fabricRegistry componentViewDescriptorWithTag:tag].view;
57273
+ [componentView updateState:view.state oldState:oldState];
57274
+ [componentView finalizeUpdates:RNComponentViewUpdateMaskState];
57275
+ }
57276
+
57188
57277
  } // namespace
57189
57278
 
57190
- extern "C" void peachInstallFabricViews(jsi::Runtime &rt) {
57279
+ void peachInstallFabricViews(jsi::Runtime &rt, std::shared_ptr<react::CallInvoker> invoker) {
57280
+ fabricInvoker = std::move(invoker);
57191
57281
  fabricComponents = [PeachFabricComponents new];
57192
57282
  RCTComponentViewFactory *factory = [RCTComponentViewFactory currentComponentViewFactory];
57193
57283
  factory.thirdPartyFabricComponentsProvider = fabricComponents;
57194
57284
  fabricRegistry = [RCTComponentViewRegistry new];
57195
- fabricContext = std::make_shared<const react::ContextContainer>();
57196
- react::ComponentDescriptorParameters parameters{{}, fabricContext, nullptr};
57285
+ fabricContext = std::make_shared<react::ContextContainer>();
57286
+ fabricScheduler = std::make_shared<react::RuntimeScheduler>(
57287
+ [](std::function<void(jsi::Runtime &)> &&work) { fabricInvoker->invokeAsync(std::move(work)); });
57288
+ fabricContext->insert(react::RuntimeSchedulerKey, std::weak_ptr<react::RuntimeScheduler>(fabricScheduler));
57289
+ fabricOwner = std::make_shared<int>(0);
57290
+ auto box = std::make_shared<react::EventBeat::OwnerBox>();
57291
+ box->owner = fabricOwner;
57292
+ auto conclusion = [](jsi::Runtime &rt) { fabricScheduler->callExpiredTasks(rt); };
57293
+ fabricDispatcher = std::make_shared<const react::EventDispatcher>(
57294
+ react::EventQueueProcessor(fabricDispatchEvent, conclusion, fabricUpdateState, std::weak_ptr<react::EventLogger>()),
57295
+ std::make_unique<PeachFabricEventBeat>(box, *fabricScheduler),
57296
+ fabricUpdateState,
57297
+ std::weak_ptr<react::EventLogger>());
57298
+ react::ComponentDescriptorParameters parameters{fabricDispatcher, fabricContext, nullptr};
57197
57299
  fabricDescriptors = [factory createComponentDescriptorRegistryWithParameters:parameters];
57198
57300
  auto views = jsi::Object(rt);
57199
57301
  auto method = [&](const char *name, unsigned count, jsi::HostFunctionType body) {
57200
57302
  views.setProperty(rt, name, jsi::Function::createFromHostFunction(rt, jsi::PropNameID::forAscii(rt, name), count, std::move(body)));
57201
57303
  };
57202
- // Create then Insert: the first props, no event emitter or state, and the
57203
- // layout the view has before the engine measures it
57204
- method("create", 2, [](jsi::Runtime &rt, const jsi::Value &, const jsi::Value *args, size_t) -> jsi::Value {
57304
+ // create(name, instanceHandle, props), Create then Insert: the family the
57305
+ // handle's events resolve through, the first props, the initial state, and
57306
+ // the layout the view has before the engine measures it
57307
+ method("create", 3, [](jsi::Runtime &rt, const jsi::Value &, const jsi::Value *args, size_t) -> jsi::Value {
57205
57308
  const auto &descriptor = fabricDescriptors->at(args[0].asString(rt).utf8(rt));
57206
57309
  int tag = nextFabricView++;
57207
- auto &view = fabricViews.emplace(tag, PeachFabricView{descriptor.getComponentHandle(), &descriptor, nullptr, {}}).first->second;
57208
- view.props = fabricCloneProps(rt, view, args[1]);
57310
+ auto family = descriptor.createFamily(
57311
+ {.tag = tag, .surfaceId = -1, .instanceHandle = std::make_shared<const react::InstanceHandle>(rt, args[1], tag)});
57312
+ auto &view = fabricViews.emplace(tag, PeachFabricView{descriptor.getComponentHandle(), &descriptor, family, nullptr, nullptr, {}}).first->second;
57313
+ view.props = fabricCloneProps(rt, view, args[2]);
57314
+ view.state = descriptor.createInitialState(view.props, family);
57315
+ family->getEventEmitter()->setEnabled(true);
57209
57316
  UIView<RCTComponentViewProtocol> *componentView =
57210
57317
  [fabricRegistry dequeueComponentViewWithComponentHandle:view.handle tag:tag].view;
57211
57318
  [componentView updateProps:view.props oldProps:nullptr];
57212
- [componentView updateEventEmitter:nullptr];
57213
- [componentView updateState:nullptr oldState:nullptr];
57319
+ [componentView updateEventEmitter:family->getEventEmitter()];
57320
+ [componentView updateState:view.state oldState:nullptr];
57214
57321
  [componentView updateLayoutMetrics:view.layoutMetrics oldLayoutMetrics:react::EmptyLayoutMetrics];
57215
57322
  [componentView finalizeUpdates:RNComponentViewUpdateMaskAll];
57216
57323
  return jsi::Value(tag);
@@ -57240,19 +57347,41 @@ extern "C" void peachInstallFabricViews(jsi::Runtime &rt) {
57240
57347
  [componentView finalizeUpdates:RNComponentViewUpdateMaskLayoutMetrics];
57241
57348
  return jsi::Value::undefined();
57242
57349
  });
57243
- // Remove then Delete: the registry recycles the view
57350
+ // Remove then Delete: the family's emitter stops at once, as an unmounted
57351
+ // family's does, and the registry recycles the view
57244
57352
  method("drop", 1, [](jsi::Runtime &, const jsi::Value &, const jsi::Value *args, size_t) -> jsi::Value {
57245
57353
  int tag = static_cast<int>(args[0].asNumber());
57246
57354
  auto &view = fabricView(tag);
57355
+ view.family->getEventEmitter()->setEnabled(false);
57247
57356
  RCTComponentViewDescriptor descriptor = [fabricRegistry componentViewDescriptorWithTag:tag];
57248
57357
  [descriptor.view removeFromSuperview];
57249
57358
  [fabricRegistry enqueueComponentViewWithComponentHandle:view.handle tag:tag componentViewDescriptor:descriptor];
57250
57359
  fabricViews.erase(tag);
57251
57360
  return jsi::Value::undefined();
57252
57361
  });
57362
+ // RCTMountingManager::dispatchCommand: the view's handleCommand:args:
57363
+ method("command", 3, [](jsi::Runtime &rt, const jsi::Value &, const jsi::Value *args, size_t) -> jsi::Value {
57364
+ int tag = static_cast<int>(args[0].asNumber());
57365
+ fabricView(tag);
57366
+ NSArray *commandArgs = react::TurboModuleConvertUtils::convertJSIValueToObjCObject(rt, args[2], fabricInvoker);
57367
+ [[fabricRegistry componentViewDescriptorWithTag:tag].view handleCommand:@(args[1].asString(rt).utf8(rt).c_str())
57368
+ args:commandArgs];
57369
+ return jsi::Value::undefined();
57370
+ });
57371
+ // the function React's dispatchEvent stands for: (instanceHandle, type, payload)
57372
+ method("setEventHandler", 1, [](jsi::Runtime &rt, const jsi::Value &, const jsi::Value *args, size_t) -> jsi::Value {
57373
+ fabricEventHandler = args[0].asObject(rt).asFunction(rt);
57374
+ return jsi::Value::undefined();
57375
+ });
57253
57376
  rt.global().setProperty(rt, "peachFabricViews", std::move(views));
57254
57377
  }
57255
57378
 
57379
+ // the runtime's functions go before the runtime does
57380
+ void peachTeardownFabricViews() {
57381
+ fabricOwner.reset();
57382
+ fabricEventHandler.reset();
57383
+ }
57384
+
57256
57385
  extern "C" void *peach_fabric_view_content(int tag) {
57257
57386
  return (__bridge_retained void *)[fabricRegistry componentViewDescriptorWithTag:tag].view;
57258
57387
  }
@@ -57282,6 +57411,7 @@ var init_turbo_source = __esm({
57282
57411
  init_podspec_sources();
57283
57412
  init_swift_source_file();
57284
57413
  init_swift_submit();
57414
+ init_swiftContract();
57285
57415
  init_turbo_codegen_intake();
57286
57416
  init_xcode_project();
57287
57417
  execFileAsync3 = (0, import_node_util15.promisify)(import_node_child_process48.execFile);
@@ -57431,13 +57561,22 @@ class JsCallInvoker final : public react::CallInvoker {
57431
57561
  #import <React/RCTComponentViewFactory.h>
57432
57562
  #import <React/RCTComponentViewProtocol.h>
57433
57563
  #import <React/RCTComponentViewRegistry.h>
57564
+ #import <ReactCommon/RCTTurboModule.h>
57565
+ #include <ReactCommon/CallInvoker.h>
57434
57566
  #include <react/renderer/componentregistry/ComponentDescriptorRegistry.h>
57567
+ #include <react/renderer/core/EventBeat.h>
57568
+ #include <react/renderer/core/EventDispatcher.h>
57569
+ #include <react/renderer/core/EventQueueProcessor.h>
57570
+ #include <react/renderer/core/InstanceHandle.h>
57435
57571
  #include <react/renderer/core/LayoutMetrics.h>
57436
57572
  #include <react/renderer/core/PropsParserContext.h>
57437
57573
  #include <react/renderer/core/RawProps.h>
57574
+ #include <react/renderer/core/StateUpdate.h>
57575
+ #include <react/renderer/runtimescheduler/RuntimeScheduler.h>
57438
57576
  #include <react/utils/ContextContainer.h>
57439
57577
  #include <cstdio>
57440
57578
  #include <cstdlib>
57579
+ #include <optional>
57441
57580
  #include <unordered_map>
57442
57581
  #include <jsi/jsi.h>
57443
57582
 
@@ -58192,7 +58331,7 @@ var init_react_native_core = __esm({
58192
58331
  init_swift_distribution();
58193
58332
  init_swift_package();
58194
58333
  init_swiftContract();
58195
- recipe = true ? "94bdffa4aff4ff16c60f96c0342d7ef854fdf80a49d5fd2cee48a92de5885962" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
58334
+ recipe = true ? "ad6a6672a4c7d5539690da16e5a429437230d138b36c48e3963d5e9f9ddad98e" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
58196
58335
  strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
58197
58336
  building = /* @__PURE__ */ new Map();
58198
58337
  }
@@ -58337,7 +58476,7 @@ var init_nitro_superset = __esm({
58337
58476
  init_nitroContract();
58338
58477
  init_swift_standin_digest();
58339
58478
  NITRO_SUPERSET_ENTRY_NAME = "superset";
58340
- NITRO_COMPILER_DIGEST = true ? "da60a818ed68d0f1fc83c446f5843a8d9a758fb0d65180d262cfaead5d0a7ed3" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
58479
+ NITRO_COMPILER_DIGEST = true ? "32ab9eee82772e66c536ce78e5cb863faf23cdf987bdb5f67e6482fedc999e6f" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
58341
58480
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
58342
58481
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
58343
58482
  published2 = /* @__PURE__ */ new Map();
@@ -58358,7 +58497,7 @@ var init_nitro_superset = __esm({
58358
58497
  var runtime_companion_default;
58359
58498
  var init_runtime_companion = __esm({
58360
58499
  "runtime-companion.json"() {
58361
- runtime_companion_default = { abi: 1, sha256: "398e7fb3724442c4c182acf71a5188023c983cf7e0438fa4e0d668c039ce3b07", file: "node/cli-398e7fb3724442c4c182acf71a5188023c983cf7e0438fa4e0d668c039ce3b07.cjs" };
58500
+ runtime_companion_default = { abi: 1, sha256: "0fab660670984b60962d163f3e174d3f27f6685e8c3e262164e28d6e6b52ad8d", file: "node/cli-0fab660670984b60962d163f3e174d3f27f6685e8c3e262164e28d6e6b52ad8d.cjs" };
58362
58501
  }
58363
58502
  });
58364
58503
 
@@ -66381,6 +66520,7 @@ async function workspaceExclusion(root, portable = false, linkedPackages = []) {
66381
66520
  }
66382
66521
 
66383
66522
  // src/expo-native-workspace.ts
66523
+ init_git_repo_env();
66384
66524
  init_home_paths();
66385
66525
 
66386
66526
  // src/native-failure-output.ts
@@ -66893,27 +67033,7 @@ var isolatedGitEnv = {
66893
67033
  GIT_CONFIG_SYSTEM: "/dev/null"
66894
67034
  };
66895
67035
  function cleanWorkspaceGitEnv() {
66896
- const env = { ...process.env };
66897
- for (const key2 of [
66898
- "GIT_DIR",
66899
- "GIT_COMMON_DIR",
66900
- "GIT_WORK_TREE",
66901
- "GIT_INDEX_FILE",
66902
- "GIT_OBJECT_DIRECTORY",
66903
- "GIT_ALTERNATE_OBJECT_DIRECTORIES",
66904
- "GIT_PREFIX",
66905
- "GIT_SHALLOW_FILE",
66906
- "GIT_GRAFT_FILE",
66907
- "GIT_NAMESPACE",
66908
- "GIT_IMPLICIT_WORK_TREE",
66909
- "GIT_CONFIG",
66910
- "GIT_CEILING_DIRECTORIES",
66911
- "GIT_DISCOVERY_ACROSS_FILESYSTEM",
66912
- "GIT_SUPER_PREFIX"
66913
- ]) {
66914
- delete env[key2];
66915
- }
66916
- return { ...env, ...isolatedGitEnv };
67036
+ return { ...withoutGitRepositoryEnv(), ...isolatedGitEnv };
66917
67037
  }
66918
67038
  var utf8Env = { ...process.env, LANG: "en_US.UTF-8", LC_ALL: "en_US.UTF-8" };
66919
67039
  function reactNativePodsEnvironment() {
@@ -67639,8 +67759,7 @@ async function runAdmitted(lease, command, args, cwd, extraEnv) {
67639
67759
  {
67640
67760
  cwd,
67641
67761
  env: {
67642
- ...process.env,
67643
- ...isolatedGitEnv,
67762
+ ...cleanWorkspaceGitEnv(),
67644
67763
  EXPO_NO_TELEMETRY: "1",
67645
67764
  LANG: "en_US.UTF-8",
67646
67765
  LC_ALL: "en_US.UTF-8",
@@ -68194,7 +68313,7 @@ init_swift_native_pin();
68194
68313
  init_xcode_project();
68195
68314
  var EXPO_NATIVE_ENTRY_NAME = "ios";
68196
68315
  function expoNativeCompilerDigestValue() {
68197
- return true ? "c87e7134b76c5418e2c5e9e056b700b7dfc2c8ae0632c602561f4634aa4bcd8a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
68316
+ return true ? "5b7ad1d2620febb7d12f9053396fbc8cf3f6f1e07c8a57f9cbc444527b01cac9" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
68198
68317
  }
68199
68318
  var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
68200
68319
  function readSources(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2306 | (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;
@@ -255,7 +255,7 @@ var STANDIN_SOURCE_DIGEST;
255
255
  var init_swift_standin_digest = __esm({
256
256
  "src/swift-standin-digest.ts"() {
257
257
  "use strict";
258
- STANDIN_SOURCE_DIGEST = true ? "6002e019e3756e603da7a6845af874da053d7724cb1f91276d6e7928d2546e5e" : standinSourceDigest();
258
+ STANDIN_SOURCE_DIGEST = true ? "0ffa2547ef06e12d293047c1e51c99b46325d43c9a029d4d9a9586b75f24b39b" : standinSourceDigest();
259
259
  }
260
260
  });
261
261
 
@@ -1378,6 +1378,13 @@ var init_admitted_mac_build = __esm({
1378
1378
  }
1379
1379
  });
1380
1380
 
1381
+ // src/git-repo-env.ts
1382
+ var init_git_repo_env = __esm({
1383
+ "src/git-repo-env.ts"() {
1384
+ "use strict";
1385
+ }
1386
+ });
1387
+
1381
1388
  // src/native-git.ts
1382
1389
  var init_native_git = __esm({
1383
1390
  "src/native-git.ts"() {
@@ -3029,7 +3036,7 @@ var init_swift_compile = __esm({
3029
3036
  FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
3030
3037
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
3031
3038
  ).join("");
3032
- compilerSourceDigest = true ? "38c735ffbd31a005ec0e9662f0fa716aaed8b65aeec0d1592bde2e835f179458" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
3039
+ compilerSourceDigest = true ? "dda8eea414f224c24308031855c896c38101ab0d31acbc7060436bc1d4aadf0d" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
3033
3040
  CORE_FOUNDATION_HANDLE_IMPORTS = [
3034
3041
  "CFAllocator",
3035
3042
  "CFArray",
@@ -3589,6 +3596,7 @@ var init_swift_packages = __esm({
3589
3596
  "use strict";
3590
3597
  import_node_child_process7 = require("node:child_process");
3591
3598
  import_node_util7 = require("node:util");
3599
+ init_git_repo_env();
3592
3600
  init_home_paths();
3593
3601
  init_native_git();
3594
3602
  init_numbered_lock();
@@ -3731,7 +3739,7 @@ var init_react_native_core = __esm({
3731
3739
  init_swift_distribution();
3732
3740
  init_swift_package();
3733
3741
  init_swiftContract();
3734
- recipe = true ? "94bdffa4aff4ff16c60f96c0342d7ef854fdf80a49d5fd2cee48a92de5885962" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
3742
+ recipe = true ? "ad6a6672a4c7d5539690da16e5a429437230d138b36c48e3963d5e9f9ddad98e" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
3735
3743
  }
3736
3744
  });
3737
3745
 
@@ -3925,6 +3933,7 @@ var init_turbo_source = __esm({
3925
3933
  init_podspec_sources();
3926
3934
  init_swift_source_file();
3927
3935
  init_swift_submit();
3936
+ init_swiftContract();
3928
3937
  init_turbo_codegen_intake();
3929
3938
  init_xcode_project();
3930
3939
  execFileAsync3 = (0, import_node_util9.promisify)(import_node_child_process9.execFile);
@@ -6424,6 +6433,7 @@ init_admitted_mac_build();
6424
6433
  var import_ignore = __toESM(require("ignore"), 1);
6425
6434
 
6426
6435
  // src/expo-native-workspace.ts
6436
+ init_git_repo_env();
6427
6437
  init_home_paths();
6428
6438
 
6429
6439
  // src/native-failure-output.ts
@@ -10916,7 +10926,7 @@ var import_node_path8 = require("node:path");
10916
10926
  init_src();
10917
10927
 
10918
10928
  // runtime-companion.json
10919
- var runtime_companion_default = { abi: 1, sha256: "398e7fb3724442c4c182acf71a5188023c983cf7e0438fa4e0d668c039ce3b07", file: "node/cli-398e7fb3724442c4c182acf71a5188023c983cf7e0438fa4e0d668c039ce3b07.cjs" };
10929
+ var runtime_companion_default = { abi: 1, sha256: "0fab660670984b60962d163f3e174d3f27f6685e8c3e262164e28d6e6b52ad8d", file: "node/cli-0fab660670984b60962d163f3e174d3f27f6685e8c3e262164e28d6e6b52ad8d.cjs" };
10920
10930
 
10921
10931
  // src/cli-runtime.ts
10922
10932
  init_answeredNativePackages();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2306 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2306 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2306 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2306 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2306 | (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;
@@ -1173,7 +1173,7 @@ var init_src = __esm({
1173
1173
  var runtime_companion_default;
1174
1174
  var init_runtime_companion = __esm({
1175
1175
  "runtime-companion.json"() {
1176
- runtime_companion_default = { abi: 1, sha256: "398e7fb3724442c4c182acf71a5188023c983cf7e0438fa4e0d668c039ce3b07", file: "node/cli-398e7fb3724442c4c182acf71a5188023c983cf7e0438fa4e0d668c039ce3b07.cjs" };
1176
+ runtime_companion_default = { abi: 1, sha256: "0fab660670984b60962d163f3e174d3f27f6685e8c3e262164e28d6e6b52ad8d", file: "node/cli-0fab660670984b60962d163f3e174d3f27f6685e8c3e262164e28d6e6b52ad8d.cjs" };
1177
1177
  }
1178
1178
  });
1179
1179
 
@@ -7580,7 +7580,7 @@ var STANDIN_SOURCE_DIGEST;
7580
7580
  var init_swift_standin_digest = __esm({
7581
7581
  "src/swift-standin-digest.ts"() {
7582
7582
  "use strict";
7583
- STANDIN_SOURCE_DIGEST = true ? "6002e019e3756e603da7a6845af874da053d7724cb1f91276d6e7928d2546e5e" : standinSourceDigest();
7583
+ STANDIN_SOURCE_DIGEST = true ? "0ffa2547ef06e12d293047c1e51c99b46325d43c9a029d4d9a9586b75f24b39b" : standinSourceDigest();
7584
7584
  }
7585
7585
  });
7586
7586
 
@@ -7591,6 +7591,13 @@ var init_admitted_mac_build = __esm({
7591
7591
  }
7592
7592
  });
7593
7593
 
7594
+ // src/git-repo-env.ts
7595
+ var init_git_repo_env = __esm({
7596
+ "src/git-repo-env.ts"() {
7597
+ "use strict";
7598
+ }
7599
+ });
7600
+
7594
7601
  // src/native-git.ts
7595
7602
  var init_native_git = __esm({
7596
7603
  "src/native-git.ts"() {
@@ -10387,7 +10394,7 @@ var init_swift_compile = __esm({
10387
10394
  FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
10388
10395
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
10389
10396
  ).join("");
10390
- compilerSourceDigest = true ? "38c735ffbd31a005ec0e9662f0fa716aaed8b65aeec0d1592bde2e835f179458" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
10397
+ compilerSourceDigest = true ? "dda8eea414f224c24308031855c896c38101ab0d31acbc7060436bc1d4aadf0d" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
10391
10398
  CORE_FOUNDATION_HANDLE_IMPORTS = [
10392
10399
  "CFAllocator",
10393
10400
  "CFArray",
@@ -13637,6 +13644,7 @@ var init_swift_packages = __esm({
13637
13644
  "use strict";
13638
13645
  import_node_child_process14 = require("node:child_process");
13639
13646
  import_node_util7 = require("node:util");
13647
+ init_git_repo_env();
13640
13648
  init_home_paths();
13641
13649
  init_native_git();
13642
13650
  init_numbered_lock();
@@ -13779,7 +13787,7 @@ var init_react_native_core = __esm({
13779
13787
  init_swift_distribution();
13780
13788
  init_swift_package();
13781
13789
  init_swiftContract();
13782
- recipe = true ? "94bdffa4aff4ff16c60f96c0342d7ef854fdf80a49d5fd2cee48a92de5885962" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
13790
+ recipe = true ? "ad6a6672a4c7d5539690da16e5a429437230d138b36c48e3963d5e9f9ddad98e" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
13783
13791
  }
13784
13792
  });
13785
13793
 
@@ -13973,6 +13981,7 @@ var init_turbo_source = __esm({
13973
13981
  init_podspec_sources();
13974
13982
  init_swift_source_file();
13975
13983
  init_swift_submit();
13984
+ init_swiftContract();
13976
13985
  init_turbo_codegen_intake();
13977
13986
  init_xcode_project();
13978
13987
  execFileAsync3 = (0, import_node_util9.promisify)(import_node_child_process16.execFile);
@@ -19923,6 +19932,7 @@ init_admitted_mac_build();
19923
19932
  var import_ignore = __toESM(require("ignore"), 1);
19924
19933
 
19925
19934
  // src/expo-native-workspace.ts
19935
+ init_git_repo_env();
19926
19936
  init_home_paths();
19927
19937
 
19928
19938
  // src/native-failure-output.ts
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2306 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2306 | (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;