peachsim 0.1.2672 → 0.1.2674
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.
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +72 -24
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-ANAWH2QA.mjs → acorn-7UZN4VYK.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-MAP6Q5WF.mjs → chunk-54JOIACB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-K7WLABS4.mjs → chunk-5HLALTZU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KHA7KQ2X.mjs → chunk-64GNURGG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GUMH4RAH.mjs → chunk-6MQE6NHP.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RWOJIXIU.mjs → chunk-7LVYKI6B.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2MOZQHG4.mjs → chunk-ASL76C2M.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NRQTKXI7.mjs → chunk-BVXC4YET.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GENEGBSI.mjs → chunk-DDKNMOMP.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-AGIHBY7T.mjs → chunk-GR6LZLL3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-APGN5EZ5.mjs → chunk-GY2LAJOJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QOEYNFFI.mjs → chunk-JGCL2DFM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WE5V55UP.mjs → chunk-JN5AITFW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GVPPWC3F.mjs → chunk-K6YX77B2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UE244MGN.mjs → chunk-OICCOALD.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-YDNET6JM.mjs → chunk-OSSY6ZNV.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-EUUZ5SP5.mjs → chunk-PGWO5WJS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZAYWJJUC.mjs → chunk-S6FAF3O6.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5U2S7VCB.mjs → chunk-TCJINVW7.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-2ST4JDW5.mjs → chunk-UQLURJW5.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-SCA6PLSH.mjs → chunk-UR4364IC.mjs} +46 -18
- package/dist-lib/esm-chunks/{chunk-2SXXNQGP.mjs → chunk-UYNBXPDJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WQ7BYLAO.mjs → chunk-Y3Y67ML7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-EO3PGGK6.mjs → chunk-YTLETAHS.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-LHIE6DGX.mjs → chunk-YTVAFL2C.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-IPOQ2B24.mjs → metro-layout-parser-SIV4DJUF.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-GIDTOI6B.mjs → swift-package-prebuilt-U4TO4A5N.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-L4ZL7YUV.mjs → swift-sdk-app-module-J5OL6AQS.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-KKWMNMLJ.mjs → swift-sdk-image-CV5NS7AQ.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-ZPRBMA7N.mjs → swift-sdk-image-producer-I4HX7YZO.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +71 -23
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +72 -24
- package/dist-lib/host/fetch-proxy-handler.cjs +5 -5
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +15 -15
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +85 -85
- package/dist-lib/public-origins-lib.json +64 -64
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +8 -8
- package/dist-lib/skills.cjs +72 -24
- package/dist-lib/swift-compile.cjs +33 -5
- package/dist-lib/swift-compile.mjs +12 -12
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +7 -7
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/package.json +1 -1
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructure.h +1 -261
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureTypes.h +2 -215
- package/sdk/ios/System/Library/Frameworks/MetalTypes.framework/Headers/MTLAccelerationStructureTypes.h +218 -0
- package/sdk/ios/System/Library/Frameworks/MetalTypes.framework/Headers/MetalTypes.h +265 -0
- package/src/swift-compile.ts +46 -4
- package/src/swift-host.ts +9 -2
- package/src/swift-objc-compile.ts +14 -5
- package/src/swift-submit.ts +2 -1
- package/src/turbo-fabric-app.ts +7 -1
- package/src/turbo-source.ts +8 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2674 | (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;
|
|
@@ -1894,7 +1894,7 @@ var init_swift_submit = __esm({
|
|
|
1894
1894
|
MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
1895
1895
|
MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
1896
1896
|
MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
1897
|
-
SWIFT_HOST_ABI =
|
|
1897
|
+
SWIFT_HOST_ABI = 115;
|
|
1898
1898
|
POLL_INTERVAL_MS = 1500;
|
|
1899
1899
|
}
|
|
1900
1900
|
});
|
|
@@ -18264,7 +18264,7 @@ var init_react_native_core_digest = __esm({
|
|
|
18264
18264
|
|
|
18265
18265
|
// src/swift-compiler-digest.ts
|
|
18266
18266
|
function swiftArchiveCompilerDigestValue() {
|
|
18267
|
-
return true ? "
|
|
18267
|
+
return true ? "acb5c2f7ee52c8d0efa34f89af83170298e70b9c07f452be46a6a2e835572f40" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
18268
18268
|
}
|
|
18269
18269
|
var import_node_crypto16, import_node_fs32, import_node_path31, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
18270
18270
|
var init_swift_compiler_digest = __esm({
|
|
@@ -18409,13 +18409,13 @@ var init_swift_standin_digest = __esm({
|
|
|
18409
18409
|
];
|
|
18410
18410
|
RUNTIME_IMPORT = /(?:^|[;\n])[ \t]*(?:import|export)\s+(?!type(?:\s|\{))([\s\S]*?)\s+from\s*['"]([^'"]+)['"]|(?:^|[;\n])[ \t]*import\s+['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
18411
18411
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS, STANDIN_DIGEST_EXCLUDED_FILES);
|
|
18412
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
18412
|
+
STANDIN_SOURCE_DIGEST = true ? "4e0badb7d95e84693e01e2594cfd3b74bbf40b84f220de505fbf6efaf3029c53" : standinSourceDigest();
|
|
18413
18413
|
}
|
|
18414
18414
|
});
|
|
18415
18415
|
|
|
18416
18416
|
// src/expo-native-compiler-digest.ts
|
|
18417
18417
|
function expoNativeCompilerDigestValue() {
|
|
18418
|
-
return true ? "
|
|
18418
|
+
return true ? "9f1f04a0c36549d36474b76fffb250e7a0ca55956b1960a3c6784b168f5821fd" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
18419
18419
|
}
|
|
18420
18420
|
var import_node_crypto18;
|
|
18421
18421
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -44485,6 +44485,26 @@ function clangImportModuleMapFlags(settings, layoutRoot, written, generated) {
|
|
|
44485
44485
|
return [flag];
|
|
44486
44486
|
});
|
|
44487
44487
|
}
|
|
44488
|
+
function stagedPodModuleMap(file, contents2, inputs2) {
|
|
44489
|
+
const pod = /^((?:.*\/)?Pods\/Headers\/Public)\/([^/]+)\/([^/]+)\.modulemap$/.exec(file);
|
|
44490
|
+
if (!pod || pod[2] === pod[3]) return contents2;
|
|
44491
|
+
const generated = /^\s*module \w+ \{\s*umbrella header "([^"/]+)"\s*export \*\s*module \* \{\s*export \*\s*\}\s*\}\s*$/.exec(
|
|
44492
|
+
contents2
|
|
44493
|
+
);
|
|
44494
|
+
if (!generated || generated[1] !== `${pod[3]}-umbrella.h`) return contents2;
|
|
44495
|
+
const directory2 = import_node_path70.default.posix.dirname(file);
|
|
44496
|
+
const umbrella = inputs2[import_node_path70.default.posix.join(directory2, generated[1])];
|
|
44497
|
+
if (!umbrella) return contents2;
|
|
44498
|
+
const publicHeaders = import_node_path70.default.posix.join(pod[1], pod[3]);
|
|
44499
|
+
const headers = [...new Set(nativeHeaderIncludes(umbrella))].flatMap((name3) => {
|
|
44500
|
+
const header = import_node_path70.default.posix.join(publicHeaders, name3);
|
|
44501
|
+
return header.startsWith(`${publicHeaders}/`) && Object.hasOwn(inputs2, header) ? [` header ${JSON.stringify(import_node_path70.default.posix.relative(directory2, header))}`] : [];
|
|
44502
|
+
});
|
|
44503
|
+
if (headers.length === 0) return contents2;
|
|
44504
|
+
const declaration = `umbrella header ${JSON.stringify(generated[1])}`;
|
|
44505
|
+
return contents2.replace(declaration, `${declaration}
|
|
44506
|
+
${headers.join("\n")}`);
|
|
44507
|
+
}
|
|
44488
44508
|
function namesLibxml2(input) {
|
|
44489
44509
|
const names = (source) => source.includes("libxml") && LIBXML_REFERENCE.test(source);
|
|
44490
44510
|
for (const [file, source] of Object.entries(input.files)) {
|
|
@@ -44816,6 +44836,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
44816
44836
|
);
|
|
44817
44837
|
const importModuleMaps = /* @__PURE__ */ new Map();
|
|
44818
44838
|
const sourceModuleMaps = /* @__PURE__ */ new Map();
|
|
44839
|
+
const podHeaderOwnership = [];
|
|
44819
44840
|
const executableNativeUnits = /* @__PURE__ */ new Map();
|
|
44820
44841
|
const generatedModuleMaps = [];
|
|
44821
44842
|
for (const target of targets) {
|
|
@@ -45060,13 +45081,19 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
45060
45081
|
target.name,
|
|
45061
45082
|
"module.modulemap"
|
|
45062
45083
|
);
|
|
45063
|
-
const
|
|
45084
|
+
const originalContents = originalModuleMap ? input.files[originalModuleMap[1]] : swiftpmModuleMap?.contents ?? packageModuleMap?.[1] ?? swiftObjCModuleMap(
|
|
45064
45085
|
swiftTargetModuleName(target.name),
|
|
45065
45086
|
roots2.map((file) => import_node_path70.default.join(layout2.root, file)),
|
|
45066
45087
|
submoduleImports2.get(swiftTargetModuleName(target.name))
|
|
45067
45088
|
);
|
|
45068
|
-
if (
|
|
45089
|
+
if (originalContents === void 0)
|
|
45069
45090
|
throw new Error("missing original module map " + modulemap);
|
|
45091
|
+
const moduleContents = originalModuleMap && typeof originalContents === "string" ? stagedPodModuleMap(modulemap, originalContents, input.files) : originalContents;
|
|
45092
|
+
if (moduleContents !== originalContents)
|
|
45093
|
+
podHeaderOwnership.push([
|
|
45094
|
+
modulemap,
|
|
45095
|
+
(0, import_node_crypto45.createHash)("sha256").update(moduleContents).digest("hex")
|
|
45096
|
+
]);
|
|
45070
45097
|
const framework = nativeC && moduleMapTokens(moduleContents.toString())[0] === "framework" ? /^(.*)\/[^/]+\.framework\/Modules\/module\.modulemap$/.exec(modulemap) : null;
|
|
45071
45098
|
const frameworkDirectory = framework ? import_node_path70.default.join(layout2.root, framework[1]) : void 0;
|
|
45072
45099
|
stageTargetFile(target.name, import_node_path70.default.join(layout2.root, modulemap), moduleContents, {
|
|
@@ -45478,7 +45505,8 @@ module ${moduleName}.Swift {
|
|
|
45478
45505
|
stagedProducts.sort(),
|
|
45479
45506
|
[
|
|
45480
45507
|
...new Set(nativeTargets2.flatMap((settings) => settings.frameworkSearchPaths))
|
|
45481
|
-
].sort()
|
|
45508
|
+
].sort(),
|
|
45509
|
+
...podHeaderOwnership.length > 0 ? [podHeaderOwnership.sort(([a], [b]) => a.localeCompare(b))] : []
|
|
45482
45510
|
]);
|
|
45483
45511
|
const frameworkSearchRecord = import_node_path70.default.join(
|
|
45484
45512
|
layout2.root,
|
|
@@ -48470,7 +48498,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
48470
48498
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
48471
48499
|
MULTI_MANIFEST_VERSION = 76;
|
|
48472
48500
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
48473
|
-
compilerSourceDigest = true ? "
|
|
48501
|
+
compilerSourceDigest = true ? "b77b42301ad42f91e52877615d6a778cea3d7c7f1f4515151886b188f7efbf0b" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
48474
48502
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
48475
48503
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
48476
48504
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -82392,10 +82420,15 @@ function* xcodeObjCInputSteps(app, binaries, moduleRoot, products, sourceRoot =
|
|
|
82392
82420
|
}
|
|
82393
82421
|
return regular ? source : null;
|
|
82394
82422
|
};
|
|
82395
|
-
for (const directory2 of
|
|
82423
|
+
for (const directory2 of [
|
|
82424
|
+
...target.objc.headerSearchPaths,
|
|
82425
|
+
...target.swift?.includePaths ?? []
|
|
82426
|
+
]) {
|
|
82396
82427
|
if (isSdkInclude(directory2)) continue;
|
|
82397
|
-
const
|
|
82398
|
-
|
|
82428
|
+
for (const mapName of ["module.modulemap", "module.map"]) {
|
|
82429
|
+
const file = availableHeader(import_node_path110.default.join(directory2, mapName));
|
|
82430
|
+
if (file) queue.push({ file, origin: directory2 });
|
|
82431
|
+
}
|
|
82399
82432
|
}
|
|
82400
82433
|
for (const name3 of forced) {
|
|
82401
82434
|
const file = [...quoted2, ...includes].filter((directory2) => !isSdkInclude(directory2)).map((directory2) => availableHeader(import_node_path110.default.resolve(directory2, name3))).find((candidate) => candidate !== null);
|
|
@@ -82411,8 +82444,9 @@ function* xcodeObjCInputSteps(app, binaries, moduleRoot, products, sourceRoot =
|
|
|
82411
82444
|
if (visited.has(visit3)) continue;
|
|
82412
82445
|
visited.add(visit3);
|
|
82413
82446
|
add(file, !files2.includes(file));
|
|
82447
|
+
const isModuleMap = (candidate) => candidate.endsWith(".modulemap") || candidate === "module.map" || candidate.endsWith(`${import_node_path110.default.sep}module.map`);
|
|
82414
82448
|
const real = links[file];
|
|
82415
|
-
if (real && !file
|
|
82449
|
+
if (real && !isModuleMap(file)) {
|
|
82416
82450
|
queue.push({ file: real, origin: foundIn });
|
|
82417
82451
|
}
|
|
82418
82452
|
let references = scannedReferences.get(file);
|
|
@@ -82441,7 +82475,7 @@ function* xcodeObjCInputSteps(app, binaries, moduleRoot, products, sourceRoot =
|
|
|
82441
82475
|
)
|
|
82442
82476
|
)
|
|
82443
82477
|
);
|
|
82444
|
-
if (file
|
|
82478
|
+
if (isModuleMap(file))
|
|
82445
82479
|
for (const match of text7.matchAll(/\b(?:umbrella\s+)?header\s+"([^"]+)"/g))
|
|
82446
82480
|
references.push({ name: match[1], quoted: true, next: false });
|
|
82447
82481
|
scannedReferences.set(file, references);
|
|
@@ -92011,7 +92045,12 @@ async function buildXcodeLayout(root) {
|
|
|
92011
92045
|
flattensPublicHeaders: settings.flattensPublicHeaders,
|
|
92012
92046
|
bridgingHeader: settings.bridgingHeader ? relative3(settings.bridgingHeader) : null,
|
|
92013
92047
|
prefixHeader: settings.prefixHeader ? relative3(settings.prefixHeader) : null,
|
|
92014
|
-
headerSearchPaths:
|
|
92048
|
+
headerSearchPaths: [
|
|
92049
|
+
.../* @__PURE__ */ new Set([
|
|
92050
|
+
...settings.headerSearchPaths,
|
|
92051
|
+
...target.swift?.includePaths ?? []
|
|
92052
|
+
])
|
|
92053
|
+
].filter(
|
|
92015
92054
|
(file) => file !== "/usr/include" && !file.startsWith("/usr/include/")
|
|
92016
92055
|
).map(relative3),
|
|
92017
92056
|
moduleMaps: nativeInputs.targets.find((value) => value.xcodeIndex === xcodeIndex).moduleMaps.map((map2) => ({
|
|
@@ -93365,7 +93404,7 @@ async function compile(packagePath, stamp, moduleRootOverride, hosted, snapshot,
|
|
|
93365
93404
|
(input.nativeTargets ?? []).map(({ name: name3, headerSearchPaths }) => [
|
|
93366
93405
|
name3,
|
|
93367
93406
|
headerSearchPaths.flatMap((directory2) => {
|
|
93368
|
-
const map2 = input.files[import_node_path119.default.posix.join(directory2, "module.modulemap")];
|
|
93407
|
+
const map2 = input.files[import_node_path119.default.posix.join(directory2, "module.modulemap")] ?? input.files[import_node_path119.default.posix.join(directory2, "module.map")];
|
|
93369
93408
|
return map2 === void 0 ? [] : moduleMapModules(map2).map(({ name: name4 }) => name4);
|
|
93370
93409
|
})
|
|
93371
93410
|
])
|
|
@@ -94105,6 +94144,12 @@ namespace {
|
|
|
94105
94144
|
using AppNode = std::shared_ptr<const react::ShadowNode>;
|
|
94106
94145
|
using AppChildren = std::vector<AppNode>;
|
|
94107
94146
|
|
|
94147
|
+
void setFabricViewportSize(auto &layout, const react::Size &size) {
|
|
94148
|
+
if constexpr (requires { layout.viewportSize = size; }) {
|
|
94149
|
+
layout.viewportSize = size;
|
|
94150
|
+
}
|
|
94151
|
+
}
|
|
94152
|
+
|
|
94108
94153
|
class PeachAppShadowTree {
|
|
94109
94154
|
public:
|
|
94110
94155
|
PeachAppShadowTree(std::shared_ptr<react::UIManager> manager, const react::ContextContainer &context)
|
|
@@ -94122,7 +94167,7 @@ class PeachAppShadowTree {
|
|
|
94122
94167
|
constraints.layoutDirection = rtl ? react::LayoutDirection::RightToLeft : react::LayoutDirection::LeftToRight;
|
|
94123
94168
|
react::LayoutContext layout;
|
|
94124
94169
|
layout.pointScaleFactor = static_cast<react::Float>(scale);
|
|
94125
|
-
layout
|
|
94170
|
+
setFabricViewportSize(layout, constraints.maximumSize);
|
|
94126
94171
|
if (surface_ != 0 && surface_ != surface)
|
|
94127
94172
|
throw jsi::JSError(rt, "Fabric runtime is already bound to another app surface");
|
|
94128
94173
|
if (surface_ == 0) {
|
|
@@ -97422,13 +97467,13 @@ std::array<double, 10> fabricAdoptedStyle(const PeachFabricView &view) {
|
|
|
97422
97467
|
|
|
97423
97468
|
// UIManager::dispatchEventToJS: the instance handle the engine gave the view,
|
|
97424
97469
|
// the event type and its payload with the target tag and timestamp
|
|
97425
|
-
|
|
97470
|
+
const auto fabricDispatchEvent = [](
|
|
97426
97471
|
jsi::Runtime &rt,
|
|
97427
97472
|
react::EventTarget *target,
|
|
97428
97473
|
const std::string &type,
|
|
97429
97474
|
react::ReactEventPriority,
|
|
97430
97475
|
const react::EventPayload &eventPayload,
|
|
97431
|
-
|
|
97476
|
+
auto... timestamps) {
|
|
97432
97477
|
auto payload = eventPayload.asJSIValue(rt);
|
|
97433
97478
|
if (payload.isNull() || !fabricEventHandler || !target) return;
|
|
97434
97479
|
auto handle = target->getInstanceHandle(rt);
|
|
@@ -97436,11 +97481,14 @@ void fabricDispatchEvent(
|
|
|
97436
97481
|
if (payload.isObject()) {
|
|
97437
97482
|
auto object = payload.asObject(rt);
|
|
97438
97483
|
object.setProperty(rt, "target", target->getTag());
|
|
97439
|
-
if (
|
|
97440
|
-
object.
|
|
97484
|
+
if constexpr (sizeof...(timestamps) != 0) {
|
|
97485
|
+
if (!object.hasProperty(rt, "timeStamp")) {
|
|
97486
|
+
(object.setProperty(rt, "timeStamp", timestamps.toDOMHighResTimeStamp()), ...);
|
|
97487
|
+
}
|
|
97488
|
+
}
|
|
97441
97489
|
}
|
|
97442
97490
|
fabricEventHandler->call(rt, std::move(handle), jsi::String::createFromUtf8(rt, type), std::move(payload));
|
|
97443
|
-
}
|
|
97491
|
+
};
|
|
97444
97492
|
|
|
97445
97493
|
// UIManager::updateState with the engine's tree in place of the shadow tree:
|
|
97446
97494
|
// the view's next state, then the update its commit would mount
|
|
@@ -99417,7 +99465,7 @@ var init_react_native_core = __esm({
|
|
|
99417
99465
|
init_swift_distribution();
|
|
99418
99466
|
init_swift_package();
|
|
99419
99467
|
init_swiftContract();
|
|
99420
|
-
recipe = true ? "
|
|
99468
|
+
recipe = true ? "18bc79e367b70c4a8ff5d44ba0cbb5906f9d79190e9cbf36e6f3339486cee588" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
99421
99469
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
99422
99470
|
building = /* @__PURE__ */ new Map();
|
|
99423
99471
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2674 | (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,19 +1,19 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-JGCL2DFM.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-OICCOALD.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-YTVAFL2C.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-PGWO5WJS.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-JN5AITFW.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-BVXC4YET.mjs";
|
|
17
17
|
|
|
18
18
|
// src/expoSwiftContract.ts
|
|
19
19
|
function strings(value) {
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2674 | (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.
|
|
1
|
+
/*! peach v0.1.2674 | (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;
|
|
@@ -2653,7 +2653,7 @@ var init_swift_submit = __esm({
|
|
|
2653
2653
|
MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
2654
2654
|
MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
2655
2655
|
MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
2656
|
-
SWIFT_HOST_ABI =
|
|
2656
|
+
SWIFT_HOST_ABI = 115;
|
|
2657
2657
|
POLL_INTERVAL_MS = 1500;
|
|
2658
2658
|
}
|
|
2659
2659
|
});
|
|
@@ -6175,7 +6175,7 @@ var init_swift_objc_sdk_tree = __esm({
|
|
|
6175
6175
|
|
|
6176
6176
|
// src/swift-compiler-digest.ts
|
|
6177
6177
|
function swiftArchiveCompilerDigestValue() {
|
|
6178
|
-
return true ? "
|
|
6178
|
+
return true ? "acb5c2f7ee52c8d0efa34f89af83170298e70b9c07f452be46a6a2e835572f40" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
6179
6179
|
}
|
|
6180
6180
|
var import_node_crypto10, import_node_fs25, import_node_path25, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
6181
6181
|
var init_swift_compiler_digest = __esm({
|
|
@@ -6320,13 +6320,13 @@ var init_swift_standin_digest = __esm({
|
|
|
6320
6320
|
];
|
|
6321
6321
|
RUNTIME_IMPORT = /(?:^|[;\n])[ \t]*(?:import|export)\s+(?!type(?:\s|\{))([\s\S]*?)\s+from\s*['"]([^'"]+)['"]|(?:^|[;\n])[ \t]*import\s+['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
6322
6322
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS, STANDIN_DIGEST_EXCLUDED_FILES);
|
|
6323
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
6323
|
+
STANDIN_SOURCE_DIGEST = true ? "4e0badb7d95e84693e01e2594cfd3b74bbf40b84f220de505fbf6efaf3029c53" : standinSourceDigest();
|
|
6324
6324
|
}
|
|
6325
6325
|
});
|
|
6326
6326
|
|
|
6327
6327
|
// src/expo-native-compiler-digest.ts
|
|
6328
6328
|
function expoNativeCompilerDigestValue() {
|
|
6329
|
-
return true ? "
|
|
6329
|
+
return true ? "9f1f04a0c36549d36474b76fffb250e7a0ca55956b1960a3c6784b168f5821fd" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
6330
6330
|
}
|
|
6331
6331
|
var import_node_crypto12;
|
|
6332
6332
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -50652,6 +50652,26 @@ function clangImportModuleMapFlags(settings, layoutRoot, written, generated) {
|
|
|
50652
50652
|
return [flag];
|
|
50653
50653
|
});
|
|
50654
50654
|
}
|
|
50655
|
+
function stagedPodModuleMap(file, contents2, inputs2) {
|
|
50656
|
+
const pod = /^((?:.*\/)?Pods\/Headers\/Public)\/([^/]+)\/([^/]+)\.modulemap$/.exec(file);
|
|
50657
|
+
if (!pod || pod[2] === pod[3]) return contents2;
|
|
50658
|
+
const generated = /^\s*module \w+ \{\s*umbrella header "([^"/]+)"\s*export \*\s*module \* \{\s*export \*\s*\}\s*\}\s*$/.exec(
|
|
50659
|
+
contents2
|
|
50660
|
+
);
|
|
50661
|
+
if (!generated || generated[1] !== `${pod[3]}-umbrella.h`) return contents2;
|
|
50662
|
+
const directory2 = import_node_path84.default.posix.dirname(file);
|
|
50663
|
+
const umbrella = inputs2[import_node_path84.default.posix.join(directory2, generated[1])];
|
|
50664
|
+
if (!umbrella) return contents2;
|
|
50665
|
+
const publicHeaders = import_node_path84.default.posix.join(pod[1], pod[3]);
|
|
50666
|
+
const headers = [...new Set(nativeHeaderIncludes(umbrella))].flatMap((name3) => {
|
|
50667
|
+
const header = import_node_path84.default.posix.join(publicHeaders, name3);
|
|
50668
|
+
return header.startsWith(`${publicHeaders}/`) && Object.hasOwn(inputs2, header) ? [` header ${JSON.stringify(import_node_path84.default.posix.relative(directory2, header))}`] : [];
|
|
50669
|
+
});
|
|
50670
|
+
if (headers.length === 0) return contents2;
|
|
50671
|
+
const declaration = `umbrella header ${JSON.stringify(generated[1])}`;
|
|
50672
|
+
return contents2.replace(declaration, `${declaration}
|
|
50673
|
+
${headers.join("\n")}`);
|
|
50674
|
+
}
|
|
50655
50675
|
function namesLibxml2(input) {
|
|
50656
50676
|
const names = (source) => source.includes("libxml") && LIBXML_REFERENCE.test(source);
|
|
50657
50677
|
for (const [file, source] of Object.entries(input.files)) {
|
|
@@ -50983,6 +51003,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
50983
51003
|
);
|
|
50984
51004
|
const importModuleMaps = /* @__PURE__ */ new Map();
|
|
50985
51005
|
const sourceModuleMaps = /* @__PURE__ */ new Map();
|
|
51006
|
+
const podHeaderOwnership = [];
|
|
50986
51007
|
const executableNativeUnits = /* @__PURE__ */ new Map();
|
|
50987
51008
|
const generatedModuleMaps = [];
|
|
50988
51009
|
for (const target of targets) {
|
|
@@ -51227,13 +51248,19 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
51227
51248
|
target.name,
|
|
51228
51249
|
"module.modulemap"
|
|
51229
51250
|
);
|
|
51230
|
-
const
|
|
51251
|
+
const originalContents = originalModuleMap ? input.files[originalModuleMap[1]] : swiftpmModuleMap?.contents ?? packageModuleMap?.[1] ?? swiftObjCModuleMap(
|
|
51231
51252
|
swiftTargetModuleName(target.name),
|
|
51232
51253
|
roots2.map((file) => import_node_path84.default.join(layout2.root, file)),
|
|
51233
51254
|
submoduleImports2.get(swiftTargetModuleName(target.name))
|
|
51234
51255
|
);
|
|
51235
|
-
if (
|
|
51256
|
+
if (originalContents === void 0)
|
|
51236
51257
|
throw new Error("missing original module map " + modulemap);
|
|
51258
|
+
const moduleContents = originalModuleMap && typeof originalContents === "string" ? stagedPodModuleMap(modulemap, originalContents, input.files) : originalContents;
|
|
51259
|
+
if (moduleContents !== originalContents)
|
|
51260
|
+
podHeaderOwnership.push([
|
|
51261
|
+
modulemap,
|
|
51262
|
+
(0, import_node_crypto50.createHash)("sha256").update(moduleContents).digest("hex")
|
|
51263
|
+
]);
|
|
51237
51264
|
const framework = nativeC && moduleMapTokens(moduleContents.toString())[0] === "framework" ? /^(.*)\/[^/]+\.framework\/Modules\/module\.modulemap$/.exec(modulemap) : null;
|
|
51238
51265
|
const frameworkDirectory = framework ? import_node_path84.default.join(layout2.root, framework[1]) : void 0;
|
|
51239
51266
|
stageTargetFile(target.name, import_node_path84.default.join(layout2.root, modulemap), moduleContents, {
|
|
@@ -51645,7 +51672,8 @@ module ${moduleName2}.Swift {
|
|
|
51645
51672
|
stagedProducts.sort(),
|
|
51646
51673
|
[
|
|
51647
51674
|
...new Set(nativeTargets2.flatMap((settings) => settings.frameworkSearchPaths))
|
|
51648
|
-
].sort()
|
|
51675
|
+
].sort(),
|
|
51676
|
+
...podHeaderOwnership.length > 0 ? [podHeaderOwnership.sort(([a], [b]) => a.localeCompare(b))] : []
|
|
51649
51677
|
]);
|
|
51650
51678
|
const frameworkSearchRecord = import_node_path84.default.join(
|
|
51651
51679
|
layout2.root,
|
|
@@ -54637,7 +54665,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
54637
54665
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
54638
54666
|
MULTI_MANIFEST_VERSION = 76;
|
|
54639
54667
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
54640
|
-
compilerSourceDigest = true ? "
|
|
54668
|
+
compilerSourceDigest = true ? "b77b42301ad42f91e52877615d6a778cea3d7c7f1f4515151886b188f7efbf0b" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
54641
54669
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
54642
54670
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
54643
54671
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -88596,10 +88624,15 @@ function* xcodeObjCInputSteps(app, binaries, moduleRoot, products, sourceRoot =
|
|
|
88596
88624
|
}
|
|
88597
88625
|
return regular ? source : null;
|
|
88598
88626
|
};
|
|
88599
|
-
for (const directory2 of
|
|
88627
|
+
for (const directory2 of [
|
|
88628
|
+
...target.objc.headerSearchPaths,
|
|
88629
|
+
...target.swift?.includePaths ?? []
|
|
88630
|
+
]) {
|
|
88600
88631
|
if (isSdkInclude(directory2)) continue;
|
|
88601
|
-
const
|
|
88602
|
-
|
|
88632
|
+
for (const mapName of ["module.modulemap", "module.map"]) {
|
|
88633
|
+
const file = availableHeader(import_node_path124.default.join(directory2, mapName));
|
|
88634
|
+
if (file) queue.push({ file, origin: directory2 });
|
|
88635
|
+
}
|
|
88603
88636
|
}
|
|
88604
88637
|
for (const name3 of forced) {
|
|
88605
88638
|
const file = [...quoted2, ...includes].filter((directory2) => !isSdkInclude(directory2)).map((directory2) => availableHeader(import_node_path124.default.resolve(directory2, name3))).find((candidate) => candidate !== null);
|
|
@@ -88615,8 +88648,9 @@ function* xcodeObjCInputSteps(app, binaries, moduleRoot, products, sourceRoot =
|
|
|
88615
88648
|
if (visited.has(visit3)) continue;
|
|
88616
88649
|
visited.add(visit3);
|
|
88617
88650
|
add(file, !files2.includes(file));
|
|
88651
|
+
const isModuleMap = (candidate) => candidate.endsWith(".modulemap") || candidate === "module.map" || candidate.endsWith(`${import_node_path124.default.sep}module.map`);
|
|
88618
88652
|
const real = links[file];
|
|
88619
|
-
if (real && !file
|
|
88653
|
+
if (real && !isModuleMap(file)) {
|
|
88620
88654
|
queue.push({ file: real, origin: foundIn });
|
|
88621
88655
|
}
|
|
88622
88656
|
let references = scannedReferences.get(file);
|
|
@@ -88645,7 +88679,7 @@ function* xcodeObjCInputSteps(app, binaries, moduleRoot, products, sourceRoot =
|
|
|
88645
88679
|
)
|
|
88646
88680
|
)
|
|
88647
88681
|
);
|
|
88648
|
-
if (file
|
|
88682
|
+
if (isModuleMap(file))
|
|
88649
88683
|
for (const match of text7.matchAll(/\b(?:umbrella\s+)?header\s+"([^"]+)"/g))
|
|
88650
88684
|
references.push({ name: match[1], quoted: true, next: false });
|
|
88651
88685
|
scannedReferences.set(file, references);
|
|
@@ -101877,7 +101911,12 @@ async function buildXcodeLayout(root) {
|
|
|
101877
101911
|
flattensPublicHeaders: settings.flattensPublicHeaders,
|
|
101878
101912
|
bridgingHeader: settings.bridgingHeader ? relative6(settings.bridgingHeader) : null,
|
|
101879
101913
|
prefixHeader: settings.prefixHeader ? relative6(settings.prefixHeader) : null,
|
|
101880
|
-
headerSearchPaths:
|
|
101914
|
+
headerSearchPaths: [
|
|
101915
|
+
.../* @__PURE__ */ new Set([
|
|
101916
|
+
...settings.headerSearchPaths,
|
|
101917
|
+
...target.swift?.includePaths ?? []
|
|
101918
|
+
])
|
|
101919
|
+
].filter(
|
|
101881
101920
|
(file) => file !== "/usr/include" && !file.startsWith("/usr/include/")
|
|
101882
101921
|
).map(relative6),
|
|
101883
101922
|
moduleMaps: nativeInputs.targets.find((value) => value.xcodeIndex === xcodeIndex).moduleMaps.map((map2) => ({
|
|
@@ -103241,7 +103280,7 @@ async function compile(packagePath, stamp, moduleRootOverride, hosted, snapshot,
|
|
|
103241
103280
|
(input.nativeTargets ?? []).map(({ name: name3, headerSearchPaths }) => [
|
|
103242
103281
|
name3,
|
|
103243
103282
|
headerSearchPaths.flatMap((directory2) => {
|
|
103244
|
-
const map2 = input.files[import_node_path137.default.posix.join(directory2, "module.modulemap")];
|
|
103283
|
+
const map2 = input.files[import_node_path137.default.posix.join(directory2, "module.modulemap")] ?? input.files[import_node_path137.default.posix.join(directory2, "module.map")];
|
|
103245
103284
|
return map2 === void 0 ? [] : moduleMapModules(map2).map(({ name: name4 }) => name4);
|
|
103246
103285
|
})
|
|
103247
103286
|
])
|
|
@@ -105035,6 +105074,12 @@ namespace {
|
|
|
105035
105074
|
using AppNode = std::shared_ptr<const react::ShadowNode>;
|
|
105036
105075
|
using AppChildren = std::vector<AppNode>;
|
|
105037
105076
|
|
|
105077
|
+
void setFabricViewportSize(auto &layout, const react::Size &size) {
|
|
105078
|
+
if constexpr (requires { layout.viewportSize = size; }) {
|
|
105079
|
+
layout.viewportSize = size;
|
|
105080
|
+
}
|
|
105081
|
+
}
|
|
105082
|
+
|
|
105038
105083
|
class PeachAppShadowTree {
|
|
105039
105084
|
public:
|
|
105040
105085
|
PeachAppShadowTree(std::shared_ptr<react::UIManager> manager, const react::ContextContainer &context)
|
|
@@ -105052,7 +105097,7 @@ class PeachAppShadowTree {
|
|
|
105052
105097
|
constraints.layoutDirection = rtl ? react::LayoutDirection::RightToLeft : react::LayoutDirection::LeftToRight;
|
|
105053
105098
|
react::LayoutContext layout;
|
|
105054
105099
|
layout.pointScaleFactor = static_cast<react::Float>(scale);
|
|
105055
|
-
layout
|
|
105100
|
+
setFabricViewportSize(layout, constraints.maximumSize);
|
|
105056
105101
|
if (surface_ != 0 && surface_ != surface)
|
|
105057
105102
|
throw jsi::JSError(rt, "Fabric runtime is already bound to another app surface");
|
|
105058
105103
|
if (surface_ == 0) {
|
|
@@ -108424,13 +108469,13 @@ std::array<double, 10> fabricAdoptedStyle(const PeachFabricView &view) {
|
|
|
108424
108469
|
|
|
108425
108470
|
// UIManager::dispatchEventToJS: the instance handle the engine gave the view,
|
|
108426
108471
|
// the event type and its payload with the target tag and timestamp
|
|
108427
|
-
|
|
108472
|
+
const auto fabricDispatchEvent = [](
|
|
108428
108473
|
jsi::Runtime &rt,
|
|
108429
108474
|
react::EventTarget *target,
|
|
108430
108475
|
const std::string &type,
|
|
108431
108476
|
react::ReactEventPriority,
|
|
108432
108477
|
const react::EventPayload &eventPayload,
|
|
108433
|
-
|
|
108478
|
+
auto... timestamps) {
|
|
108434
108479
|
auto payload = eventPayload.asJSIValue(rt);
|
|
108435
108480
|
if (payload.isNull() || !fabricEventHandler || !target) return;
|
|
108436
108481
|
auto handle = target->getInstanceHandle(rt);
|
|
@@ -108438,11 +108483,14 @@ void fabricDispatchEvent(
|
|
|
108438
108483
|
if (payload.isObject()) {
|
|
108439
108484
|
auto object = payload.asObject(rt);
|
|
108440
108485
|
object.setProperty(rt, "target", target->getTag());
|
|
108441
|
-
if (
|
|
108442
|
-
object.
|
|
108486
|
+
if constexpr (sizeof...(timestamps) != 0) {
|
|
108487
|
+
if (!object.hasProperty(rt, "timeStamp")) {
|
|
108488
|
+
(object.setProperty(rt, "timeStamp", timestamps.toDOMHighResTimeStamp()), ...);
|
|
108489
|
+
}
|
|
108490
|
+
}
|
|
108443
108491
|
}
|
|
108444
108492
|
fabricEventHandler->call(rt, std::move(handle), jsi::String::createFromUtf8(rt, type), std::move(payload));
|
|
108445
|
-
}
|
|
108493
|
+
};
|
|
108446
108494
|
|
|
108447
108495
|
// UIManager::updateState with the engine's tree in place of the shadow tree:
|
|
108448
108496
|
// the view's next state, then the update its commit would mount
|
|
@@ -110711,7 +110759,7 @@ var init_react_native_core = __esm({
|
|
|
110711
110759
|
init_swift_distribution();
|
|
110712
110760
|
init_swift_package();
|
|
110713
110761
|
init_swiftContract();
|
|
110714
|
-
recipe = true ? "
|
|
110762
|
+
recipe = true ? "18bc79e367b70c4a8ff5d44ba0cbb5906f9d79190e9cbf36e6f3339486cee588" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
110715
110763
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
110716
110764
|
building = /* @__PURE__ */ new Map();
|
|
110717
110765
|
}
|
|
@@ -124524,7 +124572,7 @@ var init_nitro_superset = __esm({
|
|
|
124524
124572
|
init_nitroContract();
|
|
124525
124573
|
init_swift_standin_digest();
|
|
124526
124574
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
124527
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
124575
|
+
NITRO_COMPILER_DIGEST = true ? "ab6f618c624642cc686f2cecae95dfca466cc46f964f6b1213ae7dc997b70e12" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
124528
124576
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
124529
124577
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
124530
124578
|
published3 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2674 | (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;
|
|
@@ -1055,13 +1055,13 @@ var init_swift_standin_digest = __esm({
|
|
|
1055
1055
|
import_node_crypto5 = require("node:crypto");
|
|
1056
1056
|
import_node_fs11 = require("node:fs");
|
|
1057
1057
|
import_node_path12 = __toESM(require("node:path"), 1);
|
|
1058
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
1058
|
+
STANDIN_SOURCE_DIGEST = true ? "4e0badb7d95e84693e01e2594cfd3b74bbf40b84f220de505fbf6efaf3029c53" : standinSourceDigest();
|
|
1059
1059
|
}
|
|
1060
1060
|
});
|
|
1061
1061
|
|
|
1062
1062
|
// src/expo-native-compiler-digest.ts
|
|
1063
1063
|
function expoNativeCompilerDigestValue() {
|
|
1064
|
-
return true ? "
|
|
1064
|
+
return true ? "9f1f04a0c36549d36474b76fffb250e7a0ca55956b1960a3c6784b168f5821fd" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
1065
1065
|
}
|
|
1066
1066
|
var import_node_crypto6;
|
|
1067
1067
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -6085,7 +6085,7 @@ var init_swift_compile = __esm({
|
|
|
6085
6085
|
ExpoModulesCore: []
|
|
6086
6086
|
};
|
|
6087
6087
|
OPTIONAL_FRAMEWORKS = new Set(Object.keys(OPTIONAL_FRAMEWORK_DEPENDENCIES));
|
|
6088
|
-
compilerSourceDigest = true ? "
|
|
6088
|
+
compilerSourceDigest = true ? "b77b42301ad42f91e52877615d6a778cea3d7c7f1f4515151886b188f7efbf0b" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
6089
6089
|
NOT_ON_IOS = new RegExp(
|
|
6090
6090
|
`\\b(?:os\\(\\s*WASI\\s*\\)|canImport\\(\\s*(?:${[...NON_IOS_MODULES].join("|")})\\s*\\))`,
|
|
6091
6091
|
"g"
|
|
@@ -15435,7 +15435,7 @@ var init_react_native_core = __esm({
|
|
|
15435
15435
|
init_swift_distribution();
|
|
15436
15436
|
init_swift_package();
|
|
15437
15437
|
init_swiftContract();
|
|
15438
|
-
recipe = true ? "
|
|
15438
|
+
recipe = true ? "18bc79e367b70c4a8ff5d44ba0cbb5906f9d79190e9cbf36e6f3339486cee588" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
15439
15439
|
}
|
|
15440
15440
|
});
|
|
15441
15441
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2674 | (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.
|
|
2
|
-
import "../esm-chunks/chunk-
|
|
1
|
+
/*! peach v0.1.2674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "../esm-chunks/chunk-BVXC4YET.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.
|
|
1
|
+
/*! peach v0.1.2674 | (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.
|
|
1
|
+
/*! peach v0.1.2674 | (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/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2674 | (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/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2674 | (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.
|
|
1
|
+
/*! peach v0.1.2674 | (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.
|
|
1
|
+
/*! peach v0.1.2674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
rnxPublicBrand
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-5HLALTZU.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-BVXC4YET.mjs";
|
|
6
6
|
|
|
7
7
|
// src/menuContract.ts
|
|
8
8
|
var SOOTSIM_ENGINE_EVENT_NAME = "sootsim:engine-event";
|