peachsim 0.1.2701 → 0.1.2703
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/cli/commands/package.ts +5 -5
- package/cli/commands/perf-native.ts +100 -58
- package/cli/package-duo-device.ts +24 -0
- 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 +117 -10
- 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-XYDEAJWX.mjs → acorn-43Q5KRLL.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-JAQLYGVS.mjs → chunk-3XOKPZGS.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-43X64A24.mjs → chunk-42K537BB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KXQ6YPZJ.mjs → chunk-4BMF44KC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2GFDQ2RY.mjs → chunk-4N7DHUC6.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-LGFEIKDM.mjs → chunk-B3AGCWOJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YLVJRH27.mjs → chunk-DMHSTMXP.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-BGLOJMLA.mjs → chunk-F3RRYYLF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CMBYCFEF.mjs → chunk-GUR2WE4P.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WWK6GMXB.mjs → chunk-H5ELVRKG.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-EBM3VDWK.mjs → chunk-HFPHOP7B.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-FW52XLFO.mjs → chunk-HXDBQN66.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-A5WFZ2XX.mjs → chunk-JZ5XJAXQ.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-JYSDQDL2.mjs → chunk-K2OOA65C.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Q5DBRTKN.mjs → chunk-KP2NMWWX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NFVR346F.mjs → chunk-NFKOUEBN.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-OGJEDE5E.mjs → chunk-NNWFER2D.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OPTGHXWZ.mjs → chunk-ODCTJTKL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DLRANZB6.mjs → chunk-SG3PGG3S.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-W6TXFCRI.mjs → chunk-SMBH32NF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SSR5S6R3.mjs → chunk-SOAH7CMP.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-STBRFFEL.mjs → chunk-TT3PYTWA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KGCR7O7F.mjs → chunk-UJSEYJ2F.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DDGDFU4G.mjs → chunk-VSD7SG36.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-5FIKQ7F4.mjs → chunk-YF5O3ABY.mjs} +128 -18
- package/dist-lib/esm-chunks/{metro-layout-parser-NP3MSVX4.mjs → metro-layout-parser-UY33H5NJ.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-SVIMOFLA.mjs → swift-package-prebuilt-H3JZE3QC.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-A6YJ4KNJ.mjs → swift-sdk-app-module-FZWIOWZN.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-UYJ3VFF6.mjs → swift-sdk-image-7WNTYEJX.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-7EWPBKNW.mjs → swift-sdk-image-producer-MJD3U6GW.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +117 -10
- 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 +392 -14
- package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
- 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 +392 -14
- package/dist-lib/swift-compile.cjs +111 -4
- 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 +1 -1
- package/dist-lib/swift-submit.mjs +6 -6
- 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/dist-types/packages/peach-engine/{core-abi → shared}/value/kernel-client.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/kernel/kernel.d.ts +1 -1
- package/package.json +1 -1
- package/src/one-native-controls-package.ts +306 -5
- package/src/swift-compile.ts +147 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2703 | (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;
|
|
@@ -6177,7 +6177,7 @@ var init_swift_objc_sdk_tree = __esm({
|
|
|
6177
6177
|
|
|
6178
6178
|
// src/swift-compiler-digest.ts
|
|
6179
6179
|
function swiftArchiveCompilerDigestValue() {
|
|
6180
|
-
return true ? "
|
|
6180
|
+
return true ? "10a1dc09394bc0196745c5277f51cf1355975d7ad316a0844781a3da3c3d2793" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
6181
6181
|
}
|
|
6182
6182
|
var import_node_crypto10, import_node_fs25, import_node_path25, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
6183
6183
|
var init_swift_compiler_digest = __esm({
|
|
@@ -6328,7 +6328,7 @@ var init_swift_standin_digest = __esm({
|
|
|
6328
6328
|
|
|
6329
6329
|
// src/expo-native-compiler-digest.ts
|
|
6330
6330
|
function expoNativeCompilerDigestValue() {
|
|
6331
|
-
return true ? "
|
|
6331
|
+
return true ? "6fd4ab24d79c8c63d4ebc87630e9d6bb5d9d51c189783ea4af28911a52e01ead" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
6332
6332
|
}
|
|
6333
6333
|
var import_node_crypto12;
|
|
6334
6334
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -53036,6 +53036,93 @@ function readFrameworkProductsReceipt(scratch2, receiptKey) {
|
|
|
53036
53036
|
objcHeaders: new Map(parsed2.objcHeaders)
|
|
53037
53037
|
};
|
|
53038
53038
|
}
|
|
53039
|
+
function resolveBunBinary() {
|
|
53040
|
+
if (import_node_path84.default.basename(process.execPath).startsWith("bun")) return process.execPath;
|
|
53041
|
+
for (const candidate of [
|
|
53042
|
+
import_node_path84.default.join(import_node_os18.default.homedir(), "builders/bun/bin/bun"),
|
|
53043
|
+
import_node_path84.default.join(import_node_os18.default.homedir(), ".bun/bin/bun"),
|
|
53044
|
+
"/opt/homebrew/bin/bun",
|
|
53045
|
+
"/usr/local/bin/bun",
|
|
53046
|
+
"bun"
|
|
53047
|
+
]) {
|
|
53048
|
+
const probe = (0, import_node_child_process43.spawnSync)(candidate, ["--version"], { stdio: "ignore" });
|
|
53049
|
+
if (probe.status === 0) return candidate;
|
|
53050
|
+
}
|
|
53051
|
+
return null;
|
|
53052
|
+
}
|
|
53053
|
+
function frameworkHeaderContext(moduleRoot, products) {
|
|
53054
|
+
const sources = import_node_path84.default.join(moduleRoot, "Sources");
|
|
53055
|
+
const files2 = [];
|
|
53056
|
+
if ((0, import_node_fs82.existsSync)(sources)) {
|
|
53057
|
+
for (const entry of (0, import_node_fs82.readdirSync)(sources, { recursive: true, withFileTypes: true })) {
|
|
53058
|
+
if (!entry.isFile()) continue;
|
|
53059
|
+
const rel = import_node_path84.default.relative(sources, import_node_path84.default.join(entry.parentPath, entry.name));
|
|
53060
|
+
if (/\.(?:h|hh|hpp|hxx|inc|def|modulemap|apinotes)$/.test(rel)) files2.push(rel);
|
|
53061
|
+
}
|
|
53062
|
+
}
|
|
53063
|
+
return (0, import_node_crypto50.createHash)("sha256").update(JSON.stringify([[...products].sort(), files2.sort()])).digest("hex");
|
|
53064
|
+
}
|
|
53065
|
+
function shellQuote(value) {
|
|
53066
|
+
return `'${value.replaceAll("'", "'\\''")}'`;
|
|
53067
|
+
}
|
|
53068
|
+
function prepareFrameworkCompileCache(scratch2, moduleRoot, toolchainBin, sdkOptions, products) {
|
|
53069
|
+
const launcher2 = import_node_path84.default.join(moduleRoot, "scripts/build-cache-launcher.ts");
|
|
53070
|
+
if (!(0, import_node_fs82.existsSync)(launcher2)) return null;
|
|
53071
|
+
const bunBin = resolveBunBinary();
|
|
53072
|
+
if (!bunBin) return null;
|
|
53073
|
+
const cacheRoot = import_node_path84.default.join(swiftCacheDir(), "swift-distribution-compile-cache");
|
|
53074
|
+
(0, import_node_fs82.mkdirSync)(cacheRoot, { recursive: true });
|
|
53075
|
+
const wrapperDir = import_node_path84.default.join(scratch2, "launch");
|
|
53076
|
+
(0, import_node_fs82.mkdirSync)(wrapperDir, { recursive: true });
|
|
53077
|
+
const wrapper = import_node_path84.default.join(wrapperDir, "swift-frontend");
|
|
53078
|
+
const statsFile = import_node_path84.default.join(scratch2, `compile-cache-stats-${process.pid}.jsonl`);
|
|
53079
|
+
(0, import_node_fs82.rmSync)(statsFile, { force: true });
|
|
53080
|
+
const sdkFlagIndex = sdkOptions.indexOf("--swift-sdks-path");
|
|
53081
|
+
const sdkViewDir = sdkFlagIndex >= 0 && sdkFlagIndex + 1 < sdkOptions.length ? sdkOptions[sdkFlagIndex + 1] : void 0;
|
|
53082
|
+
const pathMapEntries = [["$SLOT_ROOT", scratch2]];
|
|
53083
|
+
if (sdkViewDir) pathMapEntries.push(["$SDK_VIEW", sdkViewDir]);
|
|
53084
|
+
const pathMap = JSON.stringify(pathMapEntries);
|
|
53085
|
+
const context = frameworkHeaderContext(moduleRoot, products);
|
|
53086
|
+
const script = [
|
|
53087
|
+
"#!/bin/sh",
|
|
53088
|
+
`export SWIFT_SDK_COMPILE_CACHE=${shellQuote(cacheRoot)}`,
|
|
53089
|
+
"export SWIFT_SDK_COMPILE_CACHE_REUSE=1",
|
|
53090
|
+
`export SWIFT_SDK_COMPILE_CACHE_PATH_MAP=${shellQuote(pathMap)}`,
|
|
53091
|
+
`export SWIFT_SDK_COMPILE_CACHE_CONTEXT=${shellQuote(context)}`,
|
|
53092
|
+
`export SWIFT_SDK_COMPILE_CACHE_STATS=${shellQuote(statsFile)}`,
|
|
53093
|
+
`exec ${shellQuote(bunBin)} ${shellQuote(launcher2)} ${shellQuote(import_node_path84.default.join(toolchainBin, "swift-frontend"))} "$@"`,
|
|
53094
|
+
""
|
|
53095
|
+
].join("\n");
|
|
53096
|
+
const partial = `${wrapper}.${process.pid}.${(0, import_node_crypto50.randomUUID)()}.partial`;
|
|
53097
|
+
(0, import_node_fs82.writeFileSync)(partial, script, { mode: 493 });
|
|
53098
|
+
(0, import_node_fs82.chmodSync)(partial, 493);
|
|
53099
|
+
(0, import_node_fs82.renameSync)(partial, wrapper);
|
|
53100
|
+
return { wrapper, statsFile };
|
|
53101
|
+
}
|
|
53102
|
+
function reportFrameworkCompileCacheStats(scratch2, statsFile) {
|
|
53103
|
+
if (!(0, import_node_fs82.existsSync)(statsFile)) return;
|
|
53104
|
+
let hits = 0;
|
|
53105
|
+
let misses = 0;
|
|
53106
|
+
let savedMs = 0;
|
|
53107
|
+
try {
|
|
53108
|
+
for (const line of (0, import_node_fs82.readFileSync)(statsFile, "utf8").split("\n").filter(Boolean)) {
|
|
53109
|
+
const entry = JSON.parse(line);
|
|
53110
|
+
hits += entry.hits ?? 0;
|
|
53111
|
+
misses += entry.misses ?? 0;
|
|
53112
|
+
savedMs += entry.savedMs ?? 0;
|
|
53113
|
+
}
|
|
53114
|
+
} catch (error) {
|
|
53115
|
+
if (error instanceof SyntaxError) return;
|
|
53116
|
+
throw error;
|
|
53117
|
+
} finally {
|
|
53118
|
+
(0, import_node_fs82.rmSync)(statsFile, { force: true });
|
|
53119
|
+
}
|
|
53120
|
+
if (hits > 0 || misses > 0) {
|
|
53121
|
+
console.error(
|
|
53122
|
+
`[swift-framework-compile-cache] ${import_node_path84.default.basename(scratch2)} hits=${hits} misses=${misses} saved=${(savedMs / 1e3).toFixed(1)}s`
|
|
53123
|
+
);
|
|
53124
|
+
}
|
|
53125
|
+
}
|
|
53039
53126
|
async function buildFrameworkProducts(scratch2, args, allowWrite) {
|
|
53040
53127
|
const linkedTargets = linkedFrameworkTargets(args.moduleRoot, args.input);
|
|
53041
53128
|
const unoptimized = args.input.unoptimized === true;
|
|
@@ -53065,6 +53152,13 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
|
|
|
53065
53152
|
const jobs = swiftCompilerJobs();
|
|
53066
53153
|
const targetJobs = jobs >= 4 ? 2 : 1;
|
|
53067
53154
|
const driverJobs = Math.max(1, Math.floor(jobs / targetJobs));
|
|
53155
|
+
const cache = unoptimized ? null : prepareFrameworkCompileCache(
|
|
53156
|
+
scratch2,
|
|
53157
|
+
args.moduleRoot,
|
|
53158
|
+
args.toolchainBin,
|
|
53159
|
+
sdkOptions,
|
|
53160
|
+
linkedTargets.products
|
|
53161
|
+
);
|
|
53068
53162
|
await runCompiler(
|
|
53069
53163
|
args.swift,
|
|
53070
53164
|
[
|
|
@@ -53086,6 +53180,7 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
|
|
|
53086
53180
|
args.sdk,
|
|
53087
53181
|
"-c",
|
|
53088
53182
|
"release",
|
|
53183
|
+
...cache ? ["-Xswiftc", "-driver-use-frontend-path", "-Xswiftc", cache.wrapper] : [],
|
|
53089
53184
|
"-Xswiftc",
|
|
53090
53185
|
unoptimized ? "-Onone" : "-Osize",
|
|
53091
53186
|
"-Xswiftc",
|
|
@@ -53141,6 +53236,8 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
|
|
|
53141
53236
|
SWIFTPM_NOISE
|
|
53142
53237
|
).catch((error) => {
|
|
53143
53238
|
throw new Error(outputOf(error), { cause: error });
|
|
53239
|
+
}).finally(() => {
|
|
53240
|
+
if (cache) reportFrameworkCompileCacheStats(scratch2, cache.statsFile);
|
|
53144
53241
|
});
|
|
53145
53242
|
const release = import_node_path84.default.join(scratch2, WASM_TRIPLE, "release");
|
|
53146
53243
|
const linked = frameworkLinkClosure(scratch2, linkedTargets.targets);
|
|
@@ -53268,6 +53365,16 @@ ${args.frameworkKey}`,
|
|
|
53268
53365
|
(0, import_node_fs82.renameSync)(partialReceipt, receiptFile2);
|
|
53269
53366
|
return result;
|
|
53270
53367
|
}
|
|
53368
|
+
function swiftFrameworkSlotCount(unoptimized) {
|
|
53369
|
+
const base2 = unoptimized ? SWIFT_FRAMEWORK_UNOPTIMIZED_SLOTS : SWIFT_FRAMEWORK_SLOTS;
|
|
53370
|
+
if (process.platform !== "linux") return base2;
|
|
53371
|
+
const cores = import_node_os18.default.availableParallelism();
|
|
53372
|
+
return unoptimized ? Math.min(8, Math.max(base2, Math.floor(cores / 16))) : Math.min(16, Math.max(base2, Math.floor(cores / 8)));
|
|
53373
|
+
}
|
|
53374
|
+
function swiftBuildRootSlotCount() {
|
|
53375
|
+
if (process.platform !== "linux") return SWIFT_BUILD_ROOT_SLOTS;
|
|
53376
|
+
return import_node_os18.default.availableParallelism() >= 64 ? 8 : SWIFT_BUILD_ROOT_SLOTS;
|
|
53377
|
+
}
|
|
53271
53378
|
function swiftFrameworksDir(unoptimized = false) {
|
|
53272
53379
|
return import_node_path84.default.join(
|
|
53273
53380
|
swiftCacheDir(),
|
|
@@ -53289,7 +53396,7 @@ function swiftFrameworkSlotRelease(slot) {
|
|
|
53289
53396
|
return swiftFrameworkSlotRecord(slot, SWIFT_FRAMEWORK_SLOT_RELEASE);
|
|
53290
53397
|
}
|
|
53291
53398
|
async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal, work, unoptimized = false) {
|
|
53292
|
-
const slotCount = unoptimized
|
|
53399
|
+
const slotCount = swiftFrameworkSlotCount(unoptimized);
|
|
53293
53400
|
const slotsDir = swiftFrameworksDir(unoptimized);
|
|
53294
53401
|
const slots = Array.from({ length: slotCount }, (_, index) => {
|
|
53295
53402
|
const slot = import_node_path84.default.join(slotsDir, `slot-${index}`);
|
|
@@ -53383,7 +53490,7 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
|
|
|
53383
53490
|
}
|
|
53384
53491
|
}
|
|
53385
53492
|
async function withSwiftBuildRootSlot(baseRoot, exactShape, compatShape, signal, work) {
|
|
53386
|
-
const slots = Array.from({ length:
|
|
53493
|
+
const slots = Array.from({ length: swiftBuildRootSlotCount() }, (_, index) => {
|
|
53387
53494
|
const slot = index === 0 ? baseRoot : `${baseRoot}-s${index}`;
|
|
53388
53495
|
(0, import_node_fs82.mkdirSync)(slot, { recursive: true });
|
|
53389
53496
|
return slot;
|
|
@@ -54619,7 +54726,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
54619
54726
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
54620
54727
|
MULTI_MANIFEST_VERSION = 76;
|
|
54621
54728
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
54622
|
-
compilerSourceDigest = true ? "
|
|
54729
|
+
compilerSourceDigest = true ? "f8823b39a6f101e159cffdd4e1598d7edb8645267453be7613ef42f7c3ee4154" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
54623
54730
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
54624
54731
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
54625
54732
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -84059,16 +84166,16 @@ if (result.error) throw result.error;
|
|
|
84059
84166
|
process.exit(result.status ?? 1);
|
|
84060
84167
|
`
|
|
84061
84168
|
);
|
|
84062
|
-
const
|
|
84169
|
+
const shellQuote2 = (value) => `'${value.replaceAll("'", "'\\''")}'`;
|
|
84063
84170
|
import_node_fs112.default.writeFileSync(
|
|
84064
84171
|
file,
|
|
84065
84172
|
`#!/bin/sh
|
|
84066
84173
|
for arg in "$@"; do
|
|
84067
84174
|
case "$arg" in
|
|
84068
|
-
-framework|-weak_framework|-Wl,-framework,*|-Wl,-weak_framework,*) exec node ${
|
|
84175
|
+
-framework|-weak_framework|-Wl,-framework,*|-Wl,-weak_framework,*) exec node ${shellQuote2(script)} "$@" ;;
|
|
84069
84176
|
esac
|
|
84070
84177
|
done
|
|
84071
|
-
exec ${
|
|
84178
|
+
exec ${shellQuote2(configuration2.compiler)} "$@"
|
|
84072
84179
|
`,
|
|
84073
84180
|
{ mode: 493 }
|
|
84074
84181
|
);
|
|
@@ -120981,10 +121088,12 @@ function shardOneNativeStyleSource(name3, source, shardCount = ONE_NATIVE_STYLE_
|
|
|
120981
121088
|
mainDepth += braceDelta(maskedLine);
|
|
120982
121089
|
}
|
|
120983
121090
|
const headerText = headerLines.join("\n");
|
|
121091
|
+
const stem2 = name3.slice(0, -".swift".length);
|
|
121092
|
+
const dispatchShards = shardOneNativeSDKStyleDispatch(mainLines, headerText, stem2);
|
|
120984
121093
|
const out = [
|
|
120985
|
-
{ name: name3, source: mainLines.join("\n") }
|
|
121094
|
+
{ name: name3, source: dispatchShards.mainLines.join("\n") },
|
|
121095
|
+
...dispatchShards.shards
|
|
120986
121096
|
];
|
|
120987
|
-
const stem2 = name3.slice(0, -".swift".length);
|
|
120988
121097
|
for (let i = 0; i < buckets.length; i++) {
|
|
120989
121098
|
const bucket = buckets[i];
|
|
120990
121099
|
if (bucket.chunks.length === 0) continue;
|
|
@@ -121001,6 +121110,269 @@ ${shardBody}
|
|
|
121001
121110
|
}
|
|
121002
121111
|
return out;
|
|
121003
121112
|
}
|
|
121113
|
+
function shardOneNativeSDKStyleDispatch(mainLines, headerText, stem2, shardCount = 6) {
|
|
121114
|
+
let switchStart = -1;
|
|
121115
|
+
let switchEnd = -1;
|
|
121116
|
+
let defaultLine = -1;
|
|
121117
|
+
for (let i = 0; i < mainLines.length; i++) {
|
|
121118
|
+
if (mainLines[i].trim() === "switch name {") {
|
|
121119
|
+
switchStart = i;
|
|
121120
|
+
break;
|
|
121121
|
+
}
|
|
121122
|
+
}
|
|
121123
|
+
if (switchStart < 0) return { mainLines, shards: [] };
|
|
121124
|
+
const masked = swiftCodeMask(mainLines.join("\n")).split("\n");
|
|
121125
|
+
if (masked.length !== mainLines.length) return { mainLines, shards: [] };
|
|
121126
|
+
const braceDelta2 = (line) => {
|
|
121127
|
+
let delta = 0;
|
|
121128
|
+
for (let i = 0; i < line.length; i++) {
|
|
121129
|
+
if (line[i] === "{") delta++;
|
|
121130
|
+
else if (line[i] === "}") delta--;
|
|
121131
|
+
}
|
|
121132
|
+
return delta;
|
|
121133
|
+
};
|
|
121134
|
+
let depth = 1;
|
|
121135
|
+
for (let i = switchStart + 1; i < mainLines.length; i++) {
|
|
121136
|
+
const trimmed = masked[i].trim();
|
|
121137
|
+
if (depth === 1 && trimmed.startsWith("default:")) {
|
|
121138
|
+
defaultLine = i;
|
|
121139
|
+
}
|
|
121140
|
+
if (!trimmed.startsWith("#")) {
|
|
121141
|
+
depth += braceDelta2(masked[i]);
|
|
121142
|
+
if (depth === 0) {
|
|
121143
|
+
switchEnd = i;
|
|
121144
|
+
break;
|
|
121145
|
+
}
|
|
121146
|
+
if (depth < 0) return { mainLines, shards: [] };
|
|
121147
|
+
}
|
|
121148
|
+
}
|
|
121149
|
+
if (switchEnd < 0 || defaultLine < 0) return { mainLines, shards: [] };
|
|
121150
|
+
const caseChunks = [];
|
|
121151
|
+
let current2 = [];
|
|
121152
|
+
let ifDepth = 0;
|
|
121153
|
+
const flush = () => {
|
|
121154
|
+
if (current2.length > 0) {
|
|
121155
|
+
caseChunks.push(current2);
|
|
121156
|
+
current2 = [];
|
|
121157
|
+
}
|
|
121158
|
+
};
|
|
121159
|
+
for (let i = switchStart + 1; i < defaultLine; i++) {
|
|
121160
|
+
const line = mainLines[i];
|
|
121161
|
+
const trimmed = masked[i].trim();
|
|
121162
|
+
if (ifDepth === 0) {
|
|
121163
|
+
if (trimmed.startsWith("#if ")) {
|
|
121164
|
+
flush();
|
|
121165
|
+
ifDepth++;
|
|
121166
|
+
current2.push(line);
|
|
121167
|
+
continue;
|
|
121168
|
+
}
|
|
121169
|
+
if (trimmed.startsWith("case ")) {
|
|
121170
|
+
flush();
|
|
121171
|
+
current2.push(line);
|
|
121172
|
+
continue;
|
|
121173
|
+
}
|
|
121174
|
+
if (trimmed === "" && current2.length === 0) continue;
|
|
121175
|
+
current2.push(line);
|
|
121176
|
+
continue;
|
|
121177
|
+
}
|
|
121178
|
+
current2.push(line);
|
|
121179
|
+
if (trimmed.startsWith("#if ")) ifDepth++;
|
|
121180
|
+
else if (trimmed === "#endif") {
|
|
121181
|
+
ifDepth--;
|
|
121182
|
+
if (ifDepth < 0) return { mainLines, shards: [] };
|
|
121183
|
+
if (ifDepth === 0) flush();
|
|
121184
|
+
}
|
|
121185
|
+
}
|
|
121186
|
+
if (ifDepth !== 0) return { mainLines, shards: [] };
|
|
121187
|
+
flush();
|
|
121188
|
+
if (caseChunks.length < shardCount * 2) return { mainLines, shards: [] };
|
|
121189
|
+
const buckets = Array.from(
|
|
121190
|
+
{ length: shardCount },
|
|
121191
|
+
() => ({ lines: 0, chunks: [] })
|
|
121192
|
+
);
|
|
121193
|
+
for (const chunk of caseChunks) {
|
|
121194
|
+
let target = buckets[0];
|
|
121195
|
+
for (const candidate of buckets) {
|
|
121196
|
+
if (candidate.lines < target.lines) target = candidate;
|
|
121197
|
+
}
|
|
121198
|
+
target.chunks.push(chunk);
|
|
121199
|
+
target.lines += chunk.length;
|
|
121200
|
+
}
|
|
121201
|
+
const shards2 = [];
|
|
121202
|
+
const callLines = [];
|
|
121203
|
+
for (let i = 0; i < buckets.length; i++) {
|
|
121204
|
+
const bucket = buckets[i];
|
|
121205
|
+
if (bucket.chunks.length === 0) continue;
|
|
121206
|
+
const fnName = `oneNativeSDKStyleDispatch${i}`;
|
|
121207
|
+
const casesBody = bucket.chunks.map((chunk) => chunk.join("\n")).join("\n");
|
|
121208
|
+
shards2.push({
|
|
121209
|
+
name: `${stem2}.dispatch-${String(i).padStart(2, "0")}.swift`,
|
|
121210
|
+
source: [
|
|
121211
|
+
headerText,
|
|
121212
|
+
"",
|
|
121213
|
+
"extension AnyView {",
|
|
121214
|
+
` func ${fnName}(_ name: String, _ value: String, emit: @escaping (String, String) -> Void) -> AnyView? {`,
|
|
121215
|
+
" var view = self",
|
|
121216
|
+
" switch name {",
|
|
121217
|
+
casesBody,
|
|
121218
|
+
" default: return nil",
|
|
121219
|
+
" }",
|
|
121220
|
+
" return view",
|
|
121221
|
+
" }",
|
|
121222
|
+
"}",
|
|
121223
|
+
""
|
|
121224
|
+
].join("\n")
|
|
121225
|
+
});
|
|
121226
|
+
const prefix = callLines.length === 0 ? " if let next = " : " ?? ";
|
|
121227
|
+
callLines.push(`${prefix}view.${fnName}(name, value, emit: emit)`);
|
|
121228
|
+
}
|
|
121229
|
+
const defaultBody = mainLines.slice(defaultLine, switchEnd).map(
|
|
121230
|
+
(line, index) => index === 0 ? line.replace(/^\s*default:\s*/, " ") : line
|
|
121231
|
+
);
|
|
121232
|
+
const replacement = [
|
|
121233
|
+
...callLines,
|
|
121234
|
+
" {",
|
|
121235
|
+
" view = next",
|
|
121236
|
+
" } else {",
|
|
121237
|
+
...defaultBody,
|
|
121238
|
+
" }"
|
|
121239
|
+
];
|
|
121240
|
+
const nextMainLines = [
|
|
121241
|
+
...mainLines.slice(0, switchStart),
|
|
121242
|
+
...replacement,
|
|
121243
|
+
...mainLines.slice(switchEnd + 1)
|
|
121244
|
+
];
|
|
121245
|
+
return { mainLines: nextMainLines, shards: shards2 };
|
|
121246
|
+
}
|
|
121247
|
+
function shardOneNativeAnimationValuesSource(name3, source, shardCount = 6) {
|
|
121248
|
+
if (name3 !== "OneNativeAnimationValues.swift" || source.length < 4e4) {
|
|
121249
|
+
return [{ name: name3, source }];
|
|
121250
|
+
}
|
|
121251
|
+
const masked = swiftCodeMask(source);
|
|
121252
|
+
const lines = source.split("\n");
|
|
121253
|
+
const maskedLines = masked.split("\n");
|
|
121254
|
+
if (lines.length !== maskedLines.length) return [{ name: name3, source }];
|
|
121255
|
+
const braceDelta2 = (line) => {
|
|
121256
|
+
let delta = 0;
|
|
121257
|
+
for (let i = 0; i < line.length; i++) {
|
|
121258
|
+
if (line[i] === "{") delta++;
|
|
121259
|
+
else if (line[i] === "}") delta--;
|
|
121260
|
+
}
|
|
121261
|
+
return delta;
|
|
121262
|
+
};
|
|
121263
|
+
const headerLines = [];
|
|
121264
|
+
let bodyStart = 0;
|
|
121265
|
+
let headerIfDepth = 0;
|
|
121266
|
+
for (let i = 0; i < lines.length; i++) {
|
|
121267
|
+
const trimmed = maskedLines[i].trim();
|
|
121268
|
+
if (trimmed === "") {
|
|
121269
|
+
headerLines.push(lines[i]);
|
|
121270
|
+
bodyStart = i + 1;
|
|
121271
|
+
continue;
|
|
121272
|
+
}
|
|
121273
|
+
if (trimmed.startsWith("import ")) {
|
|
121274
|
+
headerLines.push(lines[i]);
|
|
121275
|
+
bodyStart = i + 1;
|
|
121276
|
+
continue;
|
|
121277
|
+
}
|
|
121278
|
+
if (trimmed.startsWith("#if ")) {
|
|
121279
|
+
headerIfDepth++;
|
|
121280
|
+
headerLines.push(lines[i]);
|
|
121281
|
+
bodyStart = i + 1;
|
|
121282
|
+
continue;
|
|
121283
|
+
}
|
|
121284
|
+
if (trimmed === "#endif" && headerIfDepth > 0) {
|
|
121285
|
+
headerIfDepth--;
|
|
121286
|
+
headerLines.push(lines[i]);
|
|
121287
|
+
bodyStart = i + 1;
|
|
121288
|
+
continue;
|
|
121289
|
+
}
|
|
121290
|
+
if (headerIfDepth > 0 && trimmed.startsWith("#")) {
|
|
121291
|
+
headerLines.push(lines[i]);
|
|
121292
|
+
bodyStart = i + 1;
|
|
121293
|
+
continue;
|
|
121294
|
+
}
|
|
121295
|
+
break;
|
|
121296
|
+
}
|
|
121297
|
+
if (headerIfDepth !== 0) return [{ name: name3, source }];
|
|
121298
|
+
const mainLines = lines.slice(0, bodyStart);
|
|
121299
|
+
const chunks = [];
|
|
121300
|
+
let current2 = [];
|
|
121301
|
+
let depth = 0;
|
|
121302
|
+
let ifDepth = 0;
|
|
121303
|
+
let chunkSawBrace = false;
|
|
121304
|
+
let chunkIsSdkValue = false;
|
|
121305
|
+
const flush = () => {
|
|
121306
|
+
if (current2.length === 0) return;
|
|
121307
|
+
if (chunkIsSdkValue) chunks.push(current2);
|
|
121308
|
+
else mainLines.push(...current2);
|
|
121309
|
+
current2 = [];
|
|
121310
|
+
chunkSawBrace = false;
|
|
121311
|
+
chunkIsSdkValue = false;
|
|
121312
|
+
};
|
|
121313
|
+
for (let i = bodyStart; i < lines.length; i++) {
|
|
121314
|
+
const text7 = lines[i];
|
|
121315
|
+
const maskedLine = maskedLines[i];
|
|
121316
|
+
const trimmed = maskedLine.trim();
|
|
121317
|
+
if (current2.length === 0 && text7.trim() === "") {
|
|
121318
|
+
mainLines.push(text7);
|
|
121319
|
+
continue;
|
|
121320
|
+
}
|
|
121321
|
+
if (depth === 0 && /^func\s+oneNativeSDKValue\w*\b/.test(trimmed)) {
|
|
121322
|
+
chunkIsSdkValue = true;
|
|
121323
|
+
}
|
|
121324
|
+
current2.push(text7);
|
|
121325
|
+
if (trimmed.startsWith("#if ")) {
|
|
121326
|
+
ifDepth++;
|
|
121327
|
+
continue;
|
|
121328
|
+
}
|
|
121329
|
+
if (trimmed === "#endif") {
|
|
121330
|
+
ifDepth--;
|
|
121331
|
+
if (ifDepth < 0) return [{ name: name3, source }];
|
|
121332
|
+
if (ifDepth === 0 && depth === 0) flush();
|
|
121333
|
+
continue;
|
|
121334
|
+
}
|
|
121335
|
+
if (trimmed.startsWith("#")) continue;
|
|
121336
|
+
const delta = braceDelta2(maskedLine);
|
|
121337
|
+
if (delta !== 0) chunkSawBrace = true;
|
|
121338
|
+
depth += delta;
|
|
121339
|
+
if (depth < 0) return [{ name: name3, source }];
|
|
121340
|
+
if (ifDepth === 0 && depth === 0 && chunkSawBrace) flush();
|
|
121341
|
+
}
|
|
121342
|
+
if (depth !== 0 || ifDepth !== 0) return [{ name: name3, source }];
|
|
121343
|
+
flush();
|
|
121344
|
+
if (chunks.length < 2) return [{ name: name3, source }];
|
|
121345
|
+
const buckets = Array.from(
|
|
121346
|
+
{ length: Math.min(shardCount, chunks.length) },
|
|
121347
|
+
() => ({ lines: 0, chunks: [] })
|
|
121348
|
+
);
|
|
121349
|
+
for (const chunk of chunks) {
|
|
121350
|
+
let target = buckets[0];
|
|
121351
|
+
for (const candidate of buckets) {
|
|
121352
|
+
if (candidate.lines < target.lines) target = candidate;
|
|
121353
|
+
}
|
|
121354
|
+
target.chunks.push(chunk);
|
|
121355
|
+
target.lines += chunk.length;
|
|
121356
|
+
}
|
|
121357
|
+
const headerText = headerLines.join("\n");
|
|
121358
|
+
const out = [
|
|
121359
|
+
{ name: name3, source: mainLines.join("\n") }
|
|
121360
|
+
];
|
|
121361
|
+
const stem2 = name3.slice(0, -".swift".length);
|
|
121362
|
+
for (let i = 0; i < buckets.length; i++) {
|
|
121363
|
+
const bucket = buckets[i];
|
|
121364
|
+
if (bucket.chunks.length === 0) continue;
|
|
121365
|
+
const shardBody = bucket.chunks.map((chunk) => chunk.join("\n")).join("\n\n");
|
|
121366
|
+
out.push({
|
|
121367
|
+
name: `${stem2}.shard-${String(i).padStart(2, "0")}.swift`,
|
|
121368
|
+
source: `${headerText}
|
|
121369
|
+
|
|
121370
|
+
${shardBody}
|
|
121371
|
+
`
|
|
121372
|
+
});
|
|
121373
|
+
}
|
|
121374
|
+
return out;
|
|
121375
|
+
}
|
|
121004
121376
|
function excludedGroupSource(source, defines) {
|
|
121005
121377
|
const code = swiftCodeMask(source).trim();
|
|
121006
121378
|
const group = /^#if (ONE_GROUP_\w+)[ \t]*\r?\n/.exec(code)?.[1];
|
|
@@ -121109,7 +121481,8 @@ async function oneNativeControlsPackage(appRoot, linkedGroups, sdk2) {
|
|
|
121109
121481
|
watched.add(leafMeasurePath);
|
|
121110
121482
|
const files2 = /* @__PURE__ */ new Map();
|
|
121111
121483
|
for (const [name3, source] of controls) {
|
|
121112
|
-
|
|
121484
|
+
const sharded = name3 === "OneNativeStyle.swift" ? shardOneNativeStyleSource(name3, source) : name3 === "OneNativeAnimationValues.swift" ? shardOneNativeAnimationValuesSource(name3, source) : [{ name: name3, source }];
|
|
121485
|
+
for (const shard2 of sharded) {
|
|
121113
121486
|
files2.set("Sources/ControlsCore/" + shard2.name, shard2.source);
|
|
121114
121487
|
}
|
|
121115
121488
|
const full = paths.get(name3);
|
|
@@ -121184,7 +121557,12 @@ async function oneNativeControlsPackage(appRoot, linkedGroups, sdk2) {
|
|
|
121184
121557
|
const controlSettings = [
|
|
121185
121558
|
".swiftLanguageMode(.v5)",
|
|
121186
121559
|
...swiftDefines(defines),
|
|
121187
|
-
|
|
121560
|
+
// OneNativeControlsCore compiles generated SwiftUI wrappers that emit
|
|
121561
|
+
// thousands of actor-isolation warnings per build, stalling stderr I/O.
|
|
121562
|
+
`.unsafeFlags(${JSON.stringify([
|
|
121563
|
+
"-suppress-warnings",
|
|
121564
|
+
...bindings ? ["-Xfrontend", "-import-module", "-Xfrontend", "One"] : []
|
|
121565
|
+
])})`
|
|
121188
121566
|
];
|
|
121189
121567
|
const hostSettings = hostClangDefines.length ? `, cSettings: [${hostClangDefines.join(", ")}], cxxSettings: [${hostClangDefines.join(", ")}]` : "";
|
|
121190
121568
|
let manifest;
|
|
@@ -127261,7 +127639,7 @@ var init_nitro_superset = __esm({
|
|
|
127261
127639
|
init_nitroContract();
|
|
127262
127640
|
init_swift_standin_digest();
|
|
127263
127641
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
127264
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
127642
|
+
NITRO_COMPILER_DIGEST = true ? "feb0b5221554104f81d7bdc24e12aa9338b9c204bb8d00be16850a92c5a80330" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
127265
127643
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
127266
127644
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
127267
127645
|
published3 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2703 | (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 ? "
|
|
1064
|
+
return true ? "6fd4ab24d79c8c63d4ebc87630e9d6bb5d9d51c189783ea4af28911a52e01ead" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
1065
1065
|
}
|
|
1066
1066
|
var import_node_crypto6;
|
|
1067
1067
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -6099,7 +6099,7 @@ var init_swift_compile = __esm({
|
|
|
6099
6099
|
ExpoModulesCore: []
|
|
6100
6100
|
};
|
|
6101
6101
|
OPTIONAL_FRAMEWORKS = new Set(Object.keys(OPTIONAL_FRAMEWORK_DEPENDENCIES));
|
|
6102
|
-
compilerSourceDigest = true ? "
|
|
6102
|
+
compilerSourceDigest = true ? "f8823b39a6f101e159cffdd4e1598d7edb8645267453be7613ef42f7c3ee4154" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
6103
6103
|
NOT_ON_IOS = new RegExp(
|
|
6104
6104
|
`\\b(?:os\\(\\s*WASI\\s*\\)|canImport\\(\\s*(?:${[...NON_IOS_MODULES].join("|")})\\s*\\))`,
|
|
6105
6105
|
"g"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2703 | (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.2703 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "../esm-chunks/chunk-HFPHOP7B.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.2703 | (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.2703 | (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.2703 | (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.2703 | (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.2703 | (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.2703 | (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-UJSEYJ2F.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-HFPHOP7B.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.
|
|
1
|
+
/*! peach v0.1.2703 | (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.
|
|
1
|
+
/*! peach v0.1.2703 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isRecord
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-SMBH32NF.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-HFPHOP7B.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.
|
|
1
|
+
/*! peach v0.1.2703 | (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.
|
|
1
|
+
/*! peach v0.1.2703 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
findBundleFooter
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-KP2NMWWX.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-HFPHOP7B.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-
|
|
134
|
+
const { loadMetroLayoutParser } = await import("./esm-chunks/metro-layout-parser-UY33H5NJ.mjs");
|
|
135
135
|
const MetroLayoutParser = await loadMetroLayoutParser();
|
|
136
136
|
const program = MetroLayoutParser.parse(source, {
|
|
137
137
|
ecmaVersion: "latest",
|