peachsim 0.1.2662 → 0.1.2663

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 (125) 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 +2 -2
  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 +5 -5
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +3 -3
  13. package/dist-lib/bundle-channel.cjs +312 -10
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +3 -3
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +3 -3
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +2 -2
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +7 -7
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +5 -5
  24. package/dist-lib/detox/index.cjs +2 -2
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/esm-chunks/{acorn-MFBE73CV.mjs → acorn-GXZHC6Z5.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-2SNPAV3T.mjs → chunk-3PLIZHXJ.mjs} +4 -4
  28. package/dist-lib/esm-chunks/{chunk-SEPP7VI2.mjs → chunk-45GQD2X5.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-ULUPQXN4.mjs → chunk-4V256AAR.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-T5XVET5M.mjs → chunk-5OJPOD6B.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-T6MLX2EQ.mjs → chunk-5Z5Q5DCY.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-Q6TBKKDJ.mjs → chunk-6X2G46JR.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-BFZ5NZWL.mjs → chunk-CVAO4T6T.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-QIATHQJU.mjs → chunk-DPLKN4VG.mjs} +3 -3
  35. package/dist-lib/esm-chunks/{chunk-UZWDAUVE.mjs → chunk-DUPDKR46.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-CMPAZOPV.mjs → chunk-EC5A4V5T.mjs} +1 -1
  37. package/dist-lib/esm-chunks/{chunk-QOTPXRB5.mjs → chunk-EDANXB55.mjs} +6 -6
  38. package/dist-lib/esm-chunks/{chunk-N66ZEIRX.mjs → chunk-ILEIXGKP.mjs} +2 -2
  39. package/dist-lib/esm-chunks/{chunk-KS5LU45K.mjs → chunk-K4YR2DYZ.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-QZ5QKBQU.mjs → chunk-PZLZRTLG.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-RET2UHLH.mjs → chunk-QZPLOMNW.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-4O2WUV7P.mjs → chunk-R53R5E3O.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-GOHNNSQT.mjs → chunk-RK2B4K2F.mjs} +5 -5
  44. package/dist-lib/esm-chunks/{chunk-VWFJFTPH.mjs → chunk-S4DRFJWS.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-I4WBNATG.mjs → chunk-VGO6ZEQ4.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-U6EFBR2E.mjs → chunk-VMEBFOJV.mjs} +14 -14
  47. package/dist-lib/esm-chunks/{chunk-JQRP67DQ.mjs → chunk-W32VR7O3.mjs} +6 -6
  48. package/dist-lib/esm-chunks/{chunk-VC25U5MB.mjs → chunk-WKSBQPZO.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-BXG34MPE.mjs → chunk-WPZBGLGG.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-WJ5S2KZR.mjs → chunk-WQ2WN5E2.mjs} +1 -1
  51. package/dist-lib/esm-chunks/{metro-layout-parser-ORSSI3AE.mjs → metro-layout-parser-N2EK3E3B.mjs} +3 -3
  52. package/dist-lib/esm-chunks/{swift-package-prebuilt-BH2JJ5KR.mjs → swift-package-prebuilt-RG7C6DZN.mjs} +12 -12
  53. package/dist-lib/esm-chunks/{swift-sdk-app-module-O5CV2FUF.mjs → swift-sdk-app-module-42W4DLYA.mjs} +16 -16
  54. package/dist-lib/esm-chunks/{swift-sdk-image-4PLMEMHM.mjs → swift-sdk-image-JWECDNB5.mjs} +16 -16
  55. package/dist-lib/esm-chunks/{swift-sdk-image-producer-3PG6DWGA.mjs → swift-sdk-image-producer-JYBC3FRT.mjs} +5 -5
  56. package/dist-lib/expo-swift-bundle.cjs +311 -9
  57. package/dist-lib/expo-swift-metadata.cjs +1 -1
  58. package/dist-lib/expo-swift-metadata.mjs +7 -7
  59. package/dist-lib/home-paths.cjs +1 -1
  60. package/dist-lib/host/bridge-host.cjs +312 -10
  61. package/dist-lib/host/fetch-proxy-handler.cjs +12 -4
  62. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  63. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  64. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  65. package/dist-lib/host/websocket-proxy.cjs +1 -1
  66. package/dist-lib/index.cjs +1 -1
  67. package/dist-lib/kotlin-host.cjs +1 -1
  68. package/dist-lib/menu.cjs +1 -1
  69. package/dist-lib/menu.mjs +3 -3
  70. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  71. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  72. package/dist-lib/metro-production-bundle.cjs +1 -1
  73. package/dist-lib/metro-production-bundle.mjs +4 -4
  74. package/dist-lib/native-app-identity-project.cjs +1 -1
  75. package/dist-lib/native-app-identity-project.mjs +15 -15
  76. package/dist-lib/native-app-identity.cjs +1 -1
  77. package/dist-lib/native-app-identity.mjs +6 -6
  78. package/dist-lib/native-firebase-metadata.cjs +1 -1
  79. package/dist-lib/native-firebase-metadata.mjs +3 -3
  80. package/dist-lib/pdfium-raster.cjs +1 -1
  81. package/dist-lib/pdfium-raster.mjs +2 -2
  82. package/dist-lib/plist.cjs +1 -1
  83. package/dist-lib/plist.mjs +3 -3
  84. package/dist-lib/profiles.cjs +1 -1
  85. package/dist-lib/public-brand.cjs +1 -1
  86. package/dist-lib/public-origins-lib-esm.json +85 -85
  87. package/dist-lib/public-origins-lib.json +69 -64
  88. package/dist-lib/react-native-host-modules.cjs +1 -1
  89. package/dist-lib/react-native-host-modules.mjs +2 -2
  90. package/dist-lib/reap-browser.cjs +1 -1
  91. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  92. package/dist-lib/sdk.cjs +1 -1
  93. package/dist-lib/sdk.mjs +8 -8
  94. package/dist-lib/skills.cjs +312 -10
  95. package/dist-lib/swift-compile.cjs +1 -1
  96. package/dist-lib/swift-compile.mjs +12 -12
  97. package/dist-lib/swift-package.cjs +1 -1
  98. package/dist-lib/swift-package.mjs +3 -3
  99. package/dist-lib/swift-submit.cjs +1 -1
  100. package/dist-lib/swift-submit.mjs +6 -6
  101. package/dist-lib/swift-svg-raster.cjs +1 -1
  102. package/dist-lib/swift-svg-raster.mjs +2 -2
  103. package/dist-lib/swift-toolchain.cjs +1 -1
  104. package/dist-lib/swift.cjs +1 -1
  105. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  106. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  107. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  108. package/dist-lib/vendor/acorn.cjs +1 -1
  109. package/dist-lib/vendor/magic-string.cjs +1 -1
  110. package/dist-lib/vendor/stream-json.cjs +1 -1
  111. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  112. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  113. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase.cjs +1 -1
  116. package/dist-lib/vendor/terser.cjs +1 -1
  117. package/dist-lib/vendor/valibot.cjs +1 -1
  118. package/dist-lib/vendor/ws.cjs +1 -1
  119. package/dist-lib/vendor/zod.cjs +1 -1
  120. package/dist-lib/worklet-executable.cjs +1 -1
  121. package/dist-lib/worklet-executable.mjs +3 -3
  122. package/package.json +1 -1
  123. package/runtime-companion.json +1 -1
  124. package/src/turbo-fabric-app.ts +281 -0
  125. package/src/turbo-source.ts +30 -5
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2663 | (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;
@@ -2706,7 +2706,7 @@ var init_process_liveness = __esm({
2706
2706
  var runtime_companion_default;
2707
2707
  var init_runtime_companion = __esm({
2708
2708
  "runtime-companion.json"() {
2709
- runtime_companion_default = { abi: 1, sha256: "31b7603a64b7e420169226e41dfb40153e4f53755c48f802a93420090f66560b", file: "node/cli-31b7603a64b7e420169226e41dfb40153e4f53755c48f802a93420090f66560b.cjs" };
2709
+ runtime_companion_default = { abi: 1, sha256: "0ad3faed77929d763ea2b0a67e07d83b2b0f804b2274fbd017286c33d22db5ef", file: "node/cli-0ad3faed77929d763ea2b0a67e07d83b2b0f804b2274fbd017286c33d22db5ef.cjs" };
2710
2710
  }
2711
2711
  });
2712
2712
 
@@ -6326,7 +6326,7 @@ var init_swift_standin_digest = __esm({
6326
6326
 
6327
6327
  // src/expo-native-compiler-digest.ts
6328
6328
  function expoNativeCompilerDigestValue() {
6329
- return true ? "5ed539d5a9d77cb70948e0e350ba06166f6a39d0bcd0f44c7f17ea92ac83462e" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
6329
+ return true ? "7c21202b510e2d8e478f15f4d1d2696e06cb8b02a9bbfa34bf6a353ab6bf8cad" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
6330
6330
  }
6331
6331
  var import_node_crypto12;
6332
6332
  var init_expo_native_compiler_digest = __esm({
@@ -104628,6 +104628,291 @@ var init_turbo_codegen_intake = __esm({
104628
104628
  }
104629
104629
  });
104630
104630
 
104631
+ // src/turbo-fabric-app.ts
104632
+ var FABRIC_APP_INCLUDES, FABRIC_APP_PRESENTER, FABRIC_APP_INSTALL, FABRIC_APP_METHODS, FABRIC_APP_TEARDOWN;
104633
+ var init_turbo_fabric_app = __esm({
104634
+ "src/turbo-fabric-app.ts"() {
104635
+ "use strict";
104636
+ FABRIC_APP_INCLUDES = `#import <Block.h>
104637
+ #import <React/RCTScheduler.h>
104638
+ #import <React/RCTSurfacePresenter.h>
104639
+ #include <jsi/JSIDynamic.h>
104640
+ #include <react/renderer/components/view/BaseViewProps.h>
104641
+ #include <react/renderer/components/view/ViewEventEmitter.h>
104642
+ #include <react/renderer/core/InstanceHandle.h>
104643
+ #include <react/renderer/core/LayoutableShadowNode.h>
104644
+ #include <react/renderer/mounting/ShadowTree.h>
104645
+ #include <react/renderer/uimanager/UIManager.h>
104646
+ `;
104647
+ FABRIC_APP_PRESENTER = `
104648
+ namespace {
104649
+ extern std::shared_ptr<react::CallInvoker> fabricInvoker;
104650
+ extern std::shared_ptr<react::RuntimeScheduler> fabricScheduler;
104651
+ }
104652
+
104653
+ @interface PeachAppSurfacePresenter : RCTSurfacePresenter
104654
+ @property(nonatomic) std::function<void(const react::MountingTransaction &)> publishMount;
104655
+ @property(nonatomic) std::function<void(react::Tag, folly::dynamic)> publishProps;
104656
+ @property(nonatomic) std::function<void(react::Tag, const std::string &, const folly::dynamic &)> dispatchCommand;
104657
+ @end
104658
+
104659
+ @implementation PeachAppSurfacePresenter
104660
+ - (void)schedulerDidFinishTransaction:(std::shared_ptr<const react::MountingCoordinator>)coordinator {
104661
+ // guest commits can finish outside a React Native scheduler task.
104662
+ fabricInvoker->invokeAsync([](jsi::Runtime &) {
104663
+ fabricScheduler->scheduleWork([](jsi::Runtime &) {});
104664
+ });
104665
+ }
104666
+
104667
+ - (void)schedulerShouldRenderTransactions:(std::shared_ptr<const react::MountingCoordinator>)coordinator {
104668
+ if (auto transaction = coordinator->pullTransaction()) {
104669
+ self.publishMount(*transaction);
104670
+ }
104671
+ }
104672
+
104673
+ - (void)schedulerDidSynchronouslyUpdateViewOnUIThread:(ReactTag)tag props:(folly::dynamic)props {
104674
+ self.publishProps(static_cast<react::Tag>(tag), std::move(props));
104675
+ }
104676
+
104677
+ - (void)schedulerDidDispatchCommand:(const react::ShadowView &)shadowView
104678
+ commandName:(const std::string &)name
104679
+ args:(const folly::dynamic &)args {
104680
+ self.dispatchCommand(shadowView.tag, name, args);
104681
+ }
104682
+ @end
104683
+
104684
+ namespace {
104685
+ using AppNode = std::shared_ptr<const react::ShadowNode>;
104686
+ using AppChildren = std::vector<AppNode>;
104687
+
104688
+ class PeachAppShadowTree {
104689
+ public:
104690
+ PeachAppShadowTree(std::shared_ptr<react::UIManager> manager, const react::ContextContainer &context)
104691
+ : manager_(std::move(manager)), context_(context) {}
104692
+
104693
+ ~PeachAppShadowTree() {
104694
+ if (surface_ != 0) manager_->getShadowTreeRegistry().remove(surface_);
104695
+ }
104696
+
104697
+ void commit(jsi::Runtime &rt, react::SurfaceId surface, double width, double height, double scale,
104698
+ bool rtl, const jsi::Array &roots) {
104699
+ react::LayoutConstraints constraints;
104700
+ constraints.maximumSize = {static_cast<react::Float>(width), static_cast<react::Float>(height)};
104701
+ constraints.minimumSize = constraints.maximumSize;
104702
+ constraints.layoutDirection = rtl ? react::LayoutDirection::RightToLeft : react::LayoutDirection::LeftToRight;
104703
+ react::LayoutContext layout;
104704
+ layout.pointScaleFactor = static_cast<react::Float>(scale);
104705
+ layout.viewportSize = constraints.maximumSize;
104706
+ if (surface_ != 0 && surface_ != surface)
104707
+ throw jsi::JSError(rt, "Fabric runtime is already bound to another app surface");
104708
+ if (surface_ == 0) {
104709
+ surface_ = surface;
104710
+ manager_->startEmptySurface(std::make_unique<react::ShadowTree>(surface_, constraints, layout, *manager_, context_));
104711
+ } else if (constraints != constraints_ || layout != layout_) {
104712
+ manager_->getShadowTreeRegistry().visit(surface_, [&](const react::ShadowTree &tree) {
104713
+ tree.commit([&](const react::RootShadowNode &root) {
104714
+ return root.clone({surface_, context_}, constraints, layout);
104715
+ }, {});
104716
+ });
104717
+ }
104718
+ constraints_ = constraints;
104719
+ layout_ = layout;
104720
+
104721
+ std::unordered_map<react::Tag, AppNode> next;
104722
+ auto children = readChildren(rt, roots, next);
104723
+ nodes_.swap(next);
104724
+ manager_->completeSurface(surface_, children,
104725
+ {.enableStateReconciliation = true, .mountSynchronously = false, .source = react::ShadowTree::CommitSource::React});
104726
+ }
104727
+
104728
+ jsi::Value handle(jsi::Runtime &rt, react::Tag tag, const jsi::Value &surface, const jsi::Value &generation) const {
104729
+ auto value = react::valueFromShadowNode(rt, node(rt, tag));
104730
+ auto object = value.getObject(rt);
104731
+ object.setProperty(rt, "__nativeTag", tag);
104732
+ object.setProperty(rt, "__viewTag", tag);
104733
+ object.setProperty(rt, "__surfaceId", surface);
104734
+ object.setProperty(rt, "__surfaceGeneration", generation);
104735
+ return object;
104736
+ }
104737
+
104738
+ void dispatch(jsi::Runtime &rt, react::Tag tag, std::string type, const jsi::Value &payload) const {
104739
+ const auto emitter = std::dynamic_pointer_cast<const react::ViewEventEmitter>(node(rt, tag)->getEventEmitter());
104740
+ if (emitter) emitter->dispatchEvent(std::move(type), jsi::dynamicFromValue(rt, payload));
104741
+ }
104742
+
104743
+ void publish(jsi::Runtime &rt, const react::ShadowViewMutation &mutation, const jsi::Function &apply) const {
104744
+ using Mutation = react::ShadowViewMutation;
104745
+ if (mutation.type != Mutation::Insert && mutation.type != Mutation::Update) return;
104746
+ const auto &view = mutation.newChildShadowView;
104747
+ const auto found = nodes_.find(view.tag);
104748
+ if (found == nodes_.end()) return;
104749
+ const auto newest = manager_->getNewestCloneOfShadowNode(*found->second);
104750
+ const auto *target = dynamic_cast<const react::LayoutableShadowNode *>(newest.get());
104751
+ if (!target) return;
104752
+ const react::ShadowNode *parent = nullptr;
104753
+ if (mutation.parentTag != surface_) {
104754
+ const auto mountedParent = nodes_.find(mutation.parentTag);
104755
+ if (mountedParent != nodes_.end()) parent = mountedParent->second.get();
104756
+ }
104757
+ auto layout = jsi::Value::null();
104758
+ // fabric's differ includes the offsets of ancestors it flattens into the mount parent.
104759
+ const auto targetMetrics = mutation.parentTag == surface_ || parent
104760
+ ? manager_->getRelativeLayoutMetrics(*target, parent, {.includeTransform = false})
104761
+ : react::EmptyLayoutMetrics;
104762
+ if (targetMetrics != react::EmptyLayoutMetrics && view.layoutMetrics.frame != targetMetrics.frame) {
104763
+ const auto &frame = view.layoutMetrics.frame;
104764
+ const auto &targetFrame = targetMetrics.frame;
104765
+ auto rect = jsi::Array(rt, 8);
104766
+ double dimensions[] = {frame.origin.x, frame.origin.y, frame.size.width, frame.size.height,
104767
+ targetFrame.origin.x, targetFrame.origin.y, targetFrame.size.width, targetFrame.size.height};
104768
+ for (size_t i = 0; i < 8; ++i) rect.setValueAtIndex(rt, i, dimensions[i]);
104769
+ layout = std::move(rect);
104770
+ }
104771
+ auto props = jsi::Object(rt);
104772
+ if (const auto *style = dynamic_cast<const react::BaseViewProps *>(view.props.get())) {
104773
+ const auto *targetStyle = dynamic_cast<const react::BaseViewProps *>(target->getProps().get());
104774
+ if (targetStyle && style->opacity != targetStyle->opacity) props.setProperty(rt, "opacity", style->opacity);
104775
+ if (targetStyle && style->transform != targetStyle->transform) {
104776
+ auto matrix = jsi::Array(rt, 16);
104777
+ const auto transform = style->resolveTransform(view.layoutMetrics);
104778
+ for (size_t i = 0; i < 16; ++i) matrix.setValueAtIndex(rt, i, transform.matrix[i]);
104779
+ auto operation = jsi::Object(rt);
104780
+ operation.setProperty(rt, "matrix", std::move(matrix));
104781
+ auto entries = jsi::Array(rt, 1);
104782
+ entries.setValueAtIndex(rt, 0, std::move(operation));
104783
+ props.setProperty(rt, "transform", std::move(entries));
104784
+ }
104785
+ }
104786
+ apply.call(rt, view.tag, std::move(props), std::move(layout));
104787
+ }
104788
+
104789
+ private:
104790
+ AppNode node(jsi::Runtime &rt, react::Tag tag) const {
104791
+ if (tag == surface_) {
104792
+ AppNode root;
104793
+ manager_->getShadowTreeRegistry().visit(surface_, [&](const react::ShadowTree &tree) {
104794
+ root = tree.getCurrentRevision().rootShadowNode;
104795
+ });
104796
+ if (root) return root;
104797
+ }
104798
+ auto found = nodes_.find(tag);
104799
+ if (found == nodes_.end()) throw jsi::JSError(rt, "Fabric view is absent from its committed surface");
104800
+ if (auto current = manager_->getNewestCloneOfShadowNode(*found->second)) return current;
104801
+ return found->second;
104802
+ }
104803
+
104804
+ std::shared_ptr<AppChildren> readChildren(jsi::Runtime &rt, const jsi::Array &values,
104805
+ std::unordered_map<react::Tag, AppNode> &next) const {
104806
+ auto children = std::make_shared<AppChildren>();
104807
+ children->reserve(values.size(rt));
104808
+ for (size_t i = 0; i < values.size(rt); ++i) {
104809
+ auto row = values.getValueAtIndex(rt, i).asObject(rt).asArray(rt);
104810
+ if (row.size(rt) != 5) throw jsi::JSError(rt, "invalid Fabric view in app commit");
104811
+ const auto tag = static_cast<react::Tag>(row.getValueAtIndex(rt, 0).asNumber());
104812
+ const auto component = row.getValueAtIndex(rt, 1).asString(rt).utf8(rt);
104813
+ const auto properties = row.getValueAtIndex(rt, 2);
104814
+ const auto instance = row.getValueAtIndex(rt, 3);
104815
+ auto descendants = readChildren(rt, row.getValueAtIndex(rt, 4).asObject(rt).asArray(rt), next);
104816
+ auto existing = nodes_.find(tag);
104817
+ AppNode view;
104818
+ if (existing == nodes_.end()) {
104819
+ auto initial = manager_->createNode(tag, component, surface_, react::RawProps(rt, properties),
104820
+ std::make_shared<react::InstanceHandle>(rt, instance, tag));
104821
+ for (const auto &child : *descendants) manager_->appendChild(initial, child);
104822
+ view = std::move(initial);
104823
+ } else {
104824
+ view = manager_->cloneNode(*existing->second, descendants, react::RawProps(rt, properties));
104825
+ }
104826
+ if (!next.emplace(tag, view).second) throw jsi::JSError(rt, "duplicate Fabric view tag in app commit");
104827
+ children->push_back(std::move(view));
104828
+ }
104829
+ return children;
104830
+ }
104831
+
104832
+ std::shared_ptr<react::UIManager> manager_;
104833
+ const react::ContextContainer &context_;
104834
+ react::SurfaceId surface_ = 0;
104835
+ react::LayoutConstraints constraints_;
104836
+ react::LayoutContext layout_;
104837
+ std::unordered_map<react::Tag, AppNode> nodes_;
104838
+ };
104839
+
104840
+ PeachAppSurfacePresenter *appSurfacePresenter;
104841
+ std::unique_ptr<PeachAppShadowTree> appShadowTree;
104842
+ std::optional<jsi::Function> appMountHandler;
104843
+ std::optional<jsi::Function> appPropsHandler;
104844
+ std::optional<jsi::Function> appCommandHandler;
104845
+ }
104846
+
104847
+ id peachAppSurfacePresenter() {
104848
+ return appSurfacePresenter;
104849
+ }
104850
+ `;
104851
+ FABRIC_APP_INSTALL = `
104852
+ react::RuntimeExecutor execute = [invoker = fabricInvoker](std::function<void(jsi::Runtime &)> &&work) {
104853
+ using RuntimeBlock = void (^)(jsi::Runtime &);
104854
+ if (const auto *block = work.target<RuntimeBlock>()) {
104855
+ // stack blocks need a copy before the executor can queue them.
104856
+ RuntimeBlock owned = (__bridge_transfer RuntimeBlock)_Block_copy((__bridge const void *)*block);
104857
+ work = [owned](jsi::Runtime &rt) { owned(rt); };
104858
+ }
104859
+ invoker->invokeAsync(std::move(work));
104860
+ };
104861
+ appSurfacePresenter = [[PeachAppSurfacePresenter alloc] initWithContextContainer:fabricContext
104862
+ runtimeExecutor:execute bridgelessBindingsExecutor:execute];
104863
+ appShadowTree = std::make_unique<PeachAppShadowTree>(appSurfacePresenter.scheduler.uiManager, *fabricContext);
104864
+ appSurfacePresenter.publishMount = [execute](const react::MountingTransaction &transaction) {
104865
+ execute([surface = transaction.getSurfaceId(), mutations = transaction.getMutations()](jsi::Runtime &rt) {
104866
+ if (appShadowTree && appMountHandler) {
104867
+ for (const auto &mutation : mutations) appShadowTree->publish(rt, mutation, *appMountHandler);
104868
+ [appSurfacePresenter.scheduler reportMount:surface];
104869
+ }
104870
+ });
104871
+ };
104872
+ appSurfacePresenter.publishProps = [execute](react::Tag tag, folly::dynamic props) {
104873
+ execute([tag, props = std::move(props)](jsi::Runtime &rt) {
104874
+ if (appPropsHandler) appPropsHandler->call(rt, tag, jsi::valueFromDynamic(rt, props));
104875
+ });
104876
+ };
104877
+ appSurfacePresenter.dispatchCommand = [execute](react::Tag tag, const std::string &name, const folly::dynamic &args) {
104878
+ execute([tag, name, args](jsi::Runtime &rt) {
104879
+ if (appCommandHandler) appCommandHandler->call(rt, tag, jsi::String::createFromUtf8(rt, name), jsi::valueFromDynamic(rt, args));
104880
+ });
104881
+ };
104882
+ `;
104883
+ FABRIC_APP_METHODS = `
104884
+ method("commitApp", 6, [](jsi::Runtime &rt, const jsi::Value &, const jsi::Value *args, size_t) -> jsi::Value {
104885
+ appShadowTree->commit(rt, static_cast<react::SurfaceId>(args[0].asNumber()), args[1].asNumber(),
104886
+ args[2].asNumber(), args[3].asNumber(), args[4].getBool(), args[5].asObject(rt).asArray(rt));
104887
+ return jsi::Value::undefined();
104888
+ });
104889
+ method("setAppHandlers", 3, [](jsi::Runtime &rt, const jsi::Value &, const jsi::Value *args, size_t) -> jsi::Value {
104890
+ appMountHandler = args[0].asObject(rt).asFunction(rt);
104891
+ appPropsHandler = args[1].asObject(rt).asFunction(rt);
104892
+ appCommandHandler = args[2].asObject(rt).asFunction(rt);
104893
+ return jsi::Value::undefined();
104894
+ });
104895
+ method("dispatchAppEvent", 3, [](jsi::Runtime &rt, const jsi::Value &, const jsi::Value *args, size_t) -> jsi::Value {
104896
+ appShadowTree->dispatch(rt, static_cast<react::Tag>(args[0].asNumber()), args[1].asString(rt).utf8(rt), args[2]);
104897
+ return jsi::Value::undefined();
104898
+ });
104899
+ constexpr auto *shadowFactory = "peachCreateFabricShadowHandle";
104900
+ rt.global().setProperty(rt, shadowFactory, jsi::Function::createFromHostFunction(rt,
104901
+ jsi::PropNameID::forAscii(rt, shadowFactory), 3,
104902
+ [](jsi::Runtime &rt, const jsi::Value &, const jsi::Value *args, size_t) -> jsi::Value {
104903
+ return appShadowTree->handle(rt, static_cast<react::Tag>(args[0].asNumber()), args[1], args[2]);
104904
+ }));
104905
+ `;
104906
+ FABRIC_APP_TEARDOWN = `
104907
+ appShadowTree.reset();
104908
+ appMountHandler.reset();
104909
+ appPropsHandler.reset();
104910
+ appCommandHandler.reset();
104911
+ appSurfacePresenter = nil;
104912
+ `;
104913
+ }
104914
+ });
104915
+
104631
104916
  // src/turbo-source.ts
104632
104917
  function codegenSpecRoot(codegen) {
104633
104918
  const nested = import_node_path141.default.join(codegen, "ReactCodegen");
@@ -105810,6 +106095,7 @@ async function collectTurboSources(options2) {
105810
106095
  };
105811
106096
  let objc = Boolean(options2.reactNativeProvider);
105812
106097
  let fabric = Boolean(options2.reactNativeProvider);
106098
+ let appPresenter = false;
105813
106099
  const fabricPackages = /* @__PURE__ */ new Set();
105814
106100
  const fabricViews = [];
105815
106101
  let fabricTarget = null;
@@ -105947,6 +106233,11 @@ async function collectTurboSources(options2) {
105947
106233
  providerObjC = true;
105948
106234
  const stripped2 = stripComments2(text7);
105949
106235
  if (OBJC_TURBO.test(stripped2) || OBJC_BRIDGE.test(stripped2)) {
106236
+ if (/-\s*\(\s*void\s*\)\s*setSurfacePresenter\s*:/.test(stripped2)) {
106237
+ fabric = true;
106238
+ appPresenter = true;
106239
+ fabricTarget ??= { targetName, label, root: provider.root };
106240
+ }
105950
106241
  const registers2 = OBJC_REGISTERED.test(stripped2);
105951
106242
  for (const [, className2] of stripped2.matchAll(/@implementation\s+(\w+)/g))
105952
106243
  if (!managers.has(className2)) {
@@ -106402,7 +106693,7 @@ async function collectTurboSources(options2) {
106402
106693
  if (fabricPackages.has(owner))
106403
106694
  fabricViews.push({ name: name3, className: className2 });
106404
106695
  }
106405
- const hostTarget = (fabricViews.length > 0 ? fabricTarget : null) ?? (paperClasses.length > 0 ? paperTarget : null);
106696
+ const hostTarget = (fabricViews.length > 0 ? fabricTarget : null) ?? (paperClasses.length > 0 ? paperTarget : null) ?? (appPresenter ? fabricTarget : null);
106406
106697
  if (hostTarget) {
106407
106698
  result.fabricComponents = fabricViews.map(({ name: name3 }) => name3);
106408
106699
  result.paperViewManagers = [...new Set(paperClasses)].sort();
@@ -106436,7 +106727,7 @@ async function collectTurboSources(options2) {
106436
106727
  }
106437
106728
  }
106438
106729
  const unit2 = `${targetPath(hostTarget.targetName)}/PeachFabricHost.mm`;
106439
- add(unit2, fabricHostSource(fabricViews, result.paperViewManagers));
106730
+ add(unit2, fabricHostSource(fabricViews, result.paperViewManagers, appPresenter));
106440
106731
  scanText(
106441
106732
  { key: unit2, ...hostTarget, relative: "PeachFabricHost.mm" },
106442
106733
  result.files[unit2]
@@ -106874,6 +107165,7 @@ RCT_EXPORT_METHOD(load:(NSString *)uri
106874
107165
  extern "C" void RCTRegisterModule(Class);
106875
107166
  static PeachTurboModuleDelegate *delegate;
106876
107167
  static RCTTurboModuleManager *manager;
107168
+ id peachAppSurfacePresenter() __attribute__((weak));
106877
107169
 
106878
107170
  @implementation PeachTurboModuleDelegate
106879
107171
 
@@ -106898,6 +107190,9 @@ static RCTTurboModuleManager *manager;
106898
107190
  - (id<RCTTurboModule>)getModuleInstanceFromClass:(Class)moduleClass
106899
107191
  {
106900
107192
  id<RCTTurboModule> module = [moduleClass new];
107193
+ if (peachAppSurfacePresenter && [module respondsToSelector:@selector(setSurfacePresenter:)]) {
107194
+ [module performSelector:@selector(setSurfacePresenter:) withObject:peachAppSurfacePresenter()];
107195
+ }
106901
107196
  if ([module respondsToSelector:@selector(setDispatchToJSThread:)])
106902
107197
  ((id<RCTJSDispatcherModule>)module).dispatchToJSThread = ^(dispatch_block_t block) {
106903
107198
  dispatchToJSThread(block);
@@ -106973,8 +107268,8 @@ ${hasEventDispatcher ? " if (![RCTGetModuleClasses() containsObject:[RCTEventDi
106973
107268
  auto& runtime = peach::jsi_runtime::create(
106974
107269
  [] { invoker->drain(); },
106975
107270
  [] {
106976
- if (peachTeardownFabricViews) peachTeardownFabricViews();
106977
107271
  [manager invalidate];
107272
+ if (peachTeardownFabricViews) peachTeardownFabricViews();
106978
107273
  manager = nil;
106979
107274
  delegate = nil;
106980
107275
  invoker.reset();
@@ -107080,12 +107375,13 @@ ${moduleProviders ? " [found addObjectsFromArray:RCTModuleProviders.moduleProvi
107080
107375
  }
107081
107376
  `;
107082
107377
  }
107083
- function fabricHostSource(views, paperClasses) {
107378
+ function fabricHostSource(views, paperClasses, appPresenter) {
107084
107379
  const entries2 = views.map(
107085
107380
  ({ name: name3, className: className2 }) => `@${JSON.stringify(name3)}: NSClassFromString(@${JSON.stringify(className2)})`
107086
107381
  ).join(", ");
107087
107382
  const paper = paperClasses.length > 0;
107088
- return `${FABRIC_HOST_INCLUDES}${paper ? FABRIC_HOST_PAPER_INCLUDES : ""}
107383
+ return `${FABRIC_HOST_INCLUDES}${paper ? FABRIC_HOST_PAPER_INCLUDES : ""}${appPresenter ? FABRIC_APP_INCLUDES : ""}
107384
+ ${appPresenter ? FABRIC_APP_PRESENTER : ""}
107089
107385
  @interface PeachFabricComponents : NSObject <RCTComponentViewFactoryComponentProvider>
107090
107386
  @end
107091
107387
 
@@ -107825,7 +108121,8 @@ static void peachEventDispatcherDispatchEvent(id self, SEL _cmd, id<RCTEvent> ev
107825
108121
  NSNumber *reactTag = event.viewTag;
107826
108122
  if (!reactTag) return;
107827
108123
  auto found = fabricViews.find(reactTag.intValue);
107828
- if (found == fabricViews.end() || !found->second.family) return;
108124
+ if (found == fabricViews.end() || !found->second.family ||
108125
+ !dynamic_cast<const react::LegacyViewManagerInteropComponentDescriptor *>(found->second.descriptor)) return;
107829
108126
  NSArray *args = [event arguments];
107830
108127
  NSString *eventName = args.count >= 2 && [args[1] isKindOfClass:[NSString class]]
107831
108128
  ? args[1]
@@ -108105,6 +108402,7 @@ ${paper ? ` // Register missing Objective-C selectors on UIKit/QuartzCore class
108105
108402
  std::weak_ptr<react::EventLogger>());
108106
108403
  react::ComponentDescriptorParameters parameters{fabricDispatcher, fabricContext, nullptr};
108107
108404
  fabricDescriptors = [factory createComponentDescriptorRegistryWithParameters:parameters];
108405
+ ${appPresenter ? FABRIC_APP_INSTALL : ""}
108108
108406
  auto views = jsi::Object(rt);
108109
108407
  auto method = [&](const char *name, unsigned count, jsi::HostFunctionType body) {
108110
108408
  views.setProperty(
@@ -108129,6 +108427,7 @@ ${paper ? ` // Register missing Objective-C selectors on UIKit/QuartzCore class
108129
108427
  }
108130
108428
  }));
108131
108429
  };
108430
+ ${appPresenter ? FABRIC_APP_METHODS : ""}
108132
108431
  // create(name, instanceHandle, props), Create then Insert: the family the
108133
108432
  // handle's events resolve through, the first props, the initial state, and
108134
108433
  // the layout the view has before the engine measures it
@@ -108489,6 +108788,7 @@ void peachTeardownFabricViews() {
108489
108788
  fabricFocusParentTag = 0;
108490
108789
  fabricOwner.reset();
108491
108790
  fabricEventHandler.reset();
108791
+ ${appPresenter ? FABRIC_APP_TEARDOWN : ""}
108492
108792
  }
108493
108793
 
108494
108794
  extern "C" void *peach_fabric_view_content(int tag) {
@@ -108520,6 +108820,7 @@ var init_turbo_source = __esm({
108520
108820
  init_swift_source_file();
108521
108821
  init_swiftContract();
108522
108822
  init_turbo_codegen_intake();
108823
+ init_turbo_fabric_app();
108523
108824
  init_xcode_project();
108524
108825
  TURBO_CORE_TARGET = "TurboCore";
108525
108826
  TURBO_FMT_TARGET = "TurboFmt";
@@ -108779,6 +109080,7 @@ using namespace facebook;
108779
109080
  #import <React/RCTUIManager.h>
108780
109081
  #import <React/RCTUtils.h>
108781
109082
  #import <React/RCTViewManager.h>
109083
+ #include <react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropComponentDescriptor.h>
108782
109084
  #include <react/renderer/components/view/ViewEventEmitter.h>
108783
109085
  #include <react/renderer/core/ShadowNodeFragment.h>
108784
109086
  #include <react/utils/FollyConvert.h>
@@ -110031,7 +110333,7 @@ var init_react_native_core = __esm({
110031
110333
  init_swift_distribution();
110032
110334
  init_swift_package();
110033
110335
  init_swiftContract();
110034
- recipe = true ? "29f49a22e10d2e4d7a095ce3ceb7254c31c8822728d7410046b1d52b7be94ecd" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
110336
+ recipe = true ? "32fd4cb91d846dff44d3a53361a8b93d320b064cfdcfc0b760c1861bc7f53cea" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
110035
110337
  strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
110036
110338
  building = /* @__PURE__ */ new Map();
110037
110339
  }
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2663 | (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;
@@ -1061,7 +1061,7 @@ var init_swift_standin_digest = __esm({
1061
1061
 
1062
1062
  // src/expo-native-compiler-digest.ts
1063
1063
  function expoNativeCompilerDigestValue() {
1064
- return true ? "5ed539d5a9d77cb70948e0e350ba06166f6a39d0bcd0f44c7f17ea92ac83462e" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
1064
+ return true ? "7c21202b510e2d8e478f15f4d1d2696e06cb8b02a9bbfa34bf6a353ab6bf8cad" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
1065
1065
  }
1066
1066
  var import_node_crypto6;
1067
1067
  var init_expo_native_compiler_digest = __esm({
@@ -15365,7 +15365,7 @@ var init_react_native_core = __esm({
15365
15365
  init_swift_distribution();
15366
15366
  init_swift_package();
15367
15367
  init_swiftContract();
15368
- recipe = true ? "29f49a22e10d2e4d7a095ce3ceb7254c31c8822728d7410046b1d52b7be94ecd" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
15368
+ recipe = true ? "32fd4cb91d846dff44d3a53361a8b93d320b064cfdcfc0b760c1861bc7f53cea" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
15369
15369
  }
15370
15370
  });
15371
15371
 
@@ -18744,6 +18744,13 @@ var init_turbo_codegen_intake = __esm({
18744
18744
  }
18745
18745
  });
18746
18746
 
18747
+ // src/turbo-fabric-app.ts
18748
+ var init_turbo_fabric_app = __esm({
18749
+ "src/turbo-fabric-app.ts"() {
18750
+ "use strict";
18751
+ }
18752
+ });
18753
+
18747
18754
  // src/turbo-source.ts
18748
18755
  var import_node_crypto71, import_node_fs117, import_node_path121;
18749
18756
  var init_turbo_source = __esm({
@@ -18764,6 +18771,7 @@ var init_turbo_source = __esm({
18764
18771
  init_swift_source_file();
18765
18772
  init_swiftContract();
18766
18773
  init_turbo_codegen_intake();
18774
+ init_turbo_fabric_app();
18767
18775
  init_xcode_project();
18768
18776
  }
18769
18777
  });
@@ -22788,7 +22796,7 @@ var init_dev_server_package_versions = __esm({
22788
22796
  var runtime_companion_default;
22789
22797
  var init_runtime_companion = __esm({
22790
22798
  "runtime-companion.json"() {
22791
- runtime_companion_default = { abi: 1, sha256: "31b7603a64b7e420169226e41dfb40153e4f53755c48f802a93420090f66560b", file: "node/cli-31b7603a64b7e420169226e41dfb40153e4f53755c48f802a93420090f66560b.cjs" };
22799
+ runtime_companion_default = { abi: 1, sha256: "0ad3faed77929d763ea2b0a67e07d83b2b0f804b2274fbd017286c33d22db5ef", file: "node/cli-0ad3faed77929d763ea2b0a67e07d83b2b0f804b2274fbd017286c33d22db5ef.cjs" };
22792
22800
  }
22793
22801
  });
22794
22802
 
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2663 | (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,5 +1,5 @@
1
- /*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "../esm-chunks/chunk-CMPAZOPV.mjs";
1
+ /*! peach v0.1.2663 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "../esm-chunks/chunk-EC5A4V5T.mjs";
3
3
 
4
4
  // src/host/fetch-proxy-overrides.ts
5
5
  var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2663 | (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.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2663 | (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.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2663 | (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.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2663 | (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.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2663 | (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,8 +1,8 @@
1
- /*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2663 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  rnxPublicBrand
4
- } from "./esm-chunks/chunk-I4WBNATG.mjs";
5
- import "./esm-chunks/chunk-CMPAZOPV.mjs";
4
+ } from "./esm-chunks/chunk-VGO6ZEQ4.mjs";
5
+ import "./esm-chunks/chunk-EC5A4V5T.mjs";
6
6
 
7
7
  // src/menuContract.ts
8
8
  var SOOTSIM_ENGINE_EVENT_NAME = "sootsim:engine-event";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2663 | (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,8 +1,8 @@
1
- /*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2663 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isRecord
4
- } from "./esm-chunks/chunk-WJ5S2KZR.mjs";
5
- import "./esm-chunks/chunk-CMPAZOPV.mjs";
4
+ } from "./esm-chunks/chunk-WQ2WN5E2.mjs";
5
+ import "./esm-chunks/chunk-EC5A4V5T.mjs";
6
6
 
7
7
  // src/metro-fingerprint-registry.ts
8
8
  var RNX_METRO_FINGERPRINT_SCHEMA_VERSION = 2;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2663 | (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,8 +1,8 @@
1
- /*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2663 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  findBundleFooter
4
- } from "./esm-chunks/chunk-UZWDAUVE.mjs";
5
- import "./esm-chunks/chunk-CMPAZOPV.mjs";
4
+ } from "./esm-chunks/chunk-DUPDKR46.mjs";
5
+ import "./esm-chunks/chunk-EC5A4V5T.mjs";
6
6
 
7
7
  // src/metro-production-bundle.ts
8
8
  var RNXSIM_METRO_MODULE_PATHS_PREFIX = "globalThis.__sootsimModulePaths=";
@@ -131,7 +131,7 @@ function metroCalls(expression) {
131
131
  return [];
132
132
  }
133
133
  async function readRNXMetroBundleLayout(source) {
134
- const { loadMetroLayoutParser } = await import("./esm-chunks/metro-layout-parser-ORSSI3AE.mjs");
134
+ const { loadMetroLayoutParser } = await import("./esm-chunks/metro-layout-parser-N2EK3E3B.mjs");
135
135
  const MetroLayoutParser = await loadMetroLayoutParser();
136
136
  const program = MetroLayoutParser.parse(source, {
137
137
  ecmaVersion: "latest",
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2663 | (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;