peachsim 0.1.2242 → 0.1.2244
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/binary-sidecar.ts +89 -0
- package/cli/bridge-flow-runner.ts +2 -2
- package/cli/cloud-client.ts +2 -0
- package/cli/commands/control.ts +16 -0
- package/cli/commands/device.ts +1 -1
- package/cli/commands/flow.ts +6 -2
- package/cli/commands/inspect/core.ts +0 -20
- package/cli/commands/inspect/settling.ts +15 -2
- package/cli/commands/inspect.ts +5 -5
- package/cli/commands/preview.ts +12 -5
- package/cli/commands/shell-boolean-mode.ts +1 -1
- package/cli/commands/slides.ts +1 -1
- 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 +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +94 -15
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +16 -5
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +93 -14
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +121 -28
- 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 +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +18 -7
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +11 -2
- package/dist-lib/menu.mjs +11 -2
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +3 -3
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +55 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +16 -24
- package/dist-lib/sdk.mjs +16 -22
- package/dist-lib/skills.cjs +973 -755
- package/dist-lib/swift-compile.cjs +4 -3
- package/dist-lib/swift-compile.mjs +4 -3
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +485 -405
- package/dist-lib/vite.cjs +3 -3
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +1 -0
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -1
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/src/binarySidecarContract.ts +45 -0
- package/src/host/bridge-host.ts +12 -13
- package/src/menu.ts +14 -0
- package/src/native-static-libraries.ts +82 -1
- package/src/swift-host.ts +6 -7
- package/src/swift-standins.ts +11 -4
- package/src/swift-submit.ts +3 -1
- package/src/swift-wasm-prune.ts +23 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (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;
|
|
@@ -20230,7 +20230,7 @@ function patchSwiftrtObject(src) {
|
|
|
20230
20230
|
}
|
|
20231
20231
|
return buf;
|
|
20232
20232
|
}
|
|
20233
|
-
function parseWasmObjectBytes(file, buf, isDist) {
|
|
20233
|
+
function parseWasmObjectBytes(file, buf, isDist, symbolFlagOffsets) {
|
|
20234
20234
|
let pos = 8;
|
|
20235
20235
|
let numImportFuncs = 0;
|
|
20236
20236
|
const importFuncNames = [];
|
|
@@ -20386,6 +20386,7 @@ function parseWasmObjectBytes(file, buf, isDist) {
|
|
|
20386
20386
|
let cur = p2;
|
|
20387
20387
|
for (let i = 0; i < cnt; i++) {
|
|
20388
20388
|
const kind = buf[cur++];
|
|
20389
|
+
if (symbolFlagOffsets) symbolFlagOffsets[i] = cur;
|
|
20389
20390
|
const [fl, c2] = readULEB2(buf, cur);
|
|
20390
20391
|
cur = c2;
|
|
20391
20392
|
symKind[i] = kind;
|
|
@@ -20643,6 +20644,23 @@ function parseWasmObjectCached(file, isDist, useCache) {
|
|
|
20643
20644
|
if (useCache) parsedObjectCache.set(key2, parsed);
|
|
20644
20645
|
return parsed;
|
|
20645
20646
|
}
|
|
20647
|
+
function localizeDefinedWasmSymbols(bytes, names) {
|
|
20648
|
+
const offsets = [];
|
|
20649
|
+
const object6 = parseWasmObjectBytes("", bytes, false, offsets);
|
|
20650
|
+
const output2 = Uint8Array.from(bytes);
|
|
20651
|
+
let changed = 0;
|
|
20652
|
+
for (let index = 0; index < object6.symNames.length; index++) {
|
|
20653
|
+
if (!names.has(object6.symNames[index])) continue;
|
|
20654
|
+
if ((object6.symFlags[index] & 3) === 2) continue;
|
|
20655
|
+
if (object6.symFlags[index] & 16)
|
|
20656
|
+
throw new Error("cannot localize an undefined symbol");
|
|
20657
|
+
const offset = offsets[index];
|
|
20658
|
+
output2[offset] = output2[offset] & ~35 | 2;
|
|
20659
|
+
changed++;
|
|
20660
|
+
}
|
|
20661
|
+
if (changed !== names.size) throw new Error("Wasm symbols to localize were not defined");
|
|
20662
|
+
return output2;
|
|
20663
|
+
}
|
|
20646
20664
|
function guestWasmSymbols(bytes) {
|
|
20647
20665
|
const object6 = parseWasmObjectBytes("", bytes, false);
|
|
20648
20666
|
return {
|
|
@@ -31855,7 +31873,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
31855
31873
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
31856
31874
|
MULTI_MANIFEST_VERSION = 68;
|
|
31857
31875
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
31858
|
-
compilerSourceDigest = true ? "
|
|
31876
|
+
compilerSourceDigest = true ? "b60df189803fef5c8b8fd902ae0a694ffbefe056af8f5fc06f707750dc97f09b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
31859
31877
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
31860
31878
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
31861
31879
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -36785,7 +36803,7 @@ var init_swift_submit = __esm({
|
|
|
36785
36803
|
MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
36786
36804
|
MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
36787
36805
|
MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
36788
|
-
SWIFT_HOST_ABI =
|
|
36806
|
+
SWIFT_HOST_ABI = 72;
|
|
36789
36807
|
POLL_INTERVAL_MS = 1500;
|
|
36790
36808
|
}
|
|
36791
36809
|
});
|
|
@@ -40458,7 +40476,63 @@ function nativeStaticLibrary(file, recipe2, moduleRoot) {
|
|
|
40458
40476
|
throw new Error(
|
|
40459
40477
|
`${file}: native WebAssembly archive ${entry.name}/${entry.key} is not built for this compiler and SDK`
|
|
40460
40478
|
);
|
|
40461
|
-
|
|
40479
|
+
const archive = import_node_path64.default.join(dir, recipe2.archive);
|
|
40480
|
+
return "runtime" in recipe2 ? rustStaticLibrary(archive, moduleRoot) : archive;
|
|
40481
|
+
}
|
|
40482
|
+
function isRustSymbol(name3, demangled) {
|
|
40483
|
+
return (name3.startsWith("_R") || /^_ZN.*17h[0-9a-f]{16}E$/.test(name3)) && demangled !== name3 || name3 === "rust_eh_personality" || name3 === "__getrandom_v03_custom";
|
|
40484
|
+
}
|
|
40485
|
+
function rustStaticLibrary(file, moduleRoot) {
|
|
40486
|
+
const toolchain = swiftModuleToolchain(moduleRoot);
|
|
40487
|
+
const key2 = (0, import_node_crypto31.createHash)("sha256").update("rust-c-abi-v2\0").update(toolchain.release).update("\0").update(import_node_fs64.default.readFileSync(file)).digest("hex");
|
|
40488
|
+
const directory2 = import_node_path64.default.join(cacheDir(), "native-archives", key2);
|
|
40489
|
+
const archive = import_node_path64.default.join(directory2, "library.a");
|
|
40490
|
+
if (import_node_fs64.default.existsSync(archive)) return archive;
|
|
40491
|
+
const flags = ["--no-sort", "--extern-only", "--defined-only", "--format=just-symbols"];
|
|
40492
|
+
const options = { encoding: "utf8", maxBuffer: 64 * 1024 * 1024 };
|
|
40493
|
+
const symbols = (input) => {
|
|
40494
|
+
const raw2 = (0, import_node_child_process34.execFileSync)(
|
|
40495
|
+
import_node_path64.default.join(toolchain.toolchainBin, "llvm-nm"),
|
|
40496
|
+
[...flags, input],
|
|
40497
|
+
options
|
|
40498
|
+
).trim().split("\n");
|
|
40499
|
+
const demangled = (0, import_node_child_process34.execFileSync)(
|
|
40500
|
+
import_node_path64.default.join(toolchain.toolchainBin, "llvm-nm"),
|
|
40501
|
+
[...flags, "--demangle", input],
|
|
40502
|
+
options
|
|
40503
|
+
).trim().split("\n");
|
|
40504
|
+
if (raw2.length !== demangled.length)
|
|
40505
|
+
throw new Error(`${file}: Rust symbol table changed during intake`);
|
|
40506
|
+
return raw2.map((name3, index) => ({ name: name3, demangled: demangled[index] }));
|
|
40507
|
+
};
|
|
40508
|
+
if (!symbols(file).some(({ name: name3, demangled }) => isRustSymbol(name3, demangled)))
|
|
40509
|
+
return file;
|
|
40510
|
+
import_node_fs64.default.mkdirSync(directory2, { recursive: true });
|
|
40511
|
+
const stage = import_node_fs64.default.mkdtempSync(import_node_path64.default.join(directory2, "build-"));
|
|
40512
|
+
try {
|
|
40513
|
+
const object6 = import_node_path64.default.join(stage, "library.o");
|
|
40514
|
+
(0, import_node_child_process34.execFileSync)(import_node_path64.default.join(toolchain.toolchainBin, "wasm-ld"), [
|
|
40515
|
+
"-mwasm64",
|
|
40516
|
+
"-r",
|
|
40517
|
+
"--whole-archive",
|
|
40518
|
+
file,
|
|
40519
|
+
"--no-whole-archive",
|
|
40520
|
+
"-o",
|
|
40521
|
+
object6
|
|
40522
|
+
]);
|
|
40523
|
+
const names = new Set(
|
|
40524
|
+
symbols(object6).filter(
|
|
40525
|
+
({ name: name3, demangled }) => isRustSymbol(name3, demangled) || name3.startsWith("anon.")
|
|
40526
|
+
).map(({ name: name3 }) => name3)
|
|
40527
|
+
);
|
|
40528
|
+
import_node_fs64.default.writeFileSync(object6, localizeDefinedWasmSymbols(import_node_fs64.default.readFileSync(object6), names));
|
|
40529
|
+
const output2 = import_node_path64.default.join(stage, "library.a");
|
|
40530
|
+
(0, import_node_child_process34.execFileSync)(import_node_path64.default.join(toolchain.toolchainBin, "llvm-ar"), ["rcsD", output2, object6]);
|
|
40531
|
+
import_node_fs64.default.renameSync(output2, archive);
|
|
40532
|
+
} finally {
|
|
40533
|
+
import_node_fs64.default.rmSync(stage, { recursive: true, force: true });
|
|
40534
|
+
}
|
|
40535
|
+
return archive;
|
|
40462
40536
|
}
|
|
40463
40537
|
function combineNativeStaticLibraries(files2, moduleRoot) {
|
|
40464
40538
|
if (files2.length === 1) return files2[0];
|
|
@@ -40496,6 +40570,7 @@ var init_native_static_libraries = __esm({
|
|
|
40496
40570
|
init_native_prebuilt();
|
|
40497
40571
|
init_swift_compile();
|
|
40498
40572
|
init_swift_distribution();
|
|
40573
|
+
init_swift_wasm_prune();
|
|
40499
40574
|
init_swift_xcframework();
|
|
40500
40575
|
NATIVE_STATIC_LIBRARY_RECIPES = [
|
|
40501
40576
|
// react-native-libsodium's minimal apple build of the 1.0.20 release
|
|
@@ -40524,6 +40599,7 @@ var init_native_static_libraries = __esm({
|
|
|
40524
40599
|
},
|
|
40525
40600
|
{
|
|
40526
40601
|
name: "anydoc_mobile",
|
|
40602
|
+
runtime: "rust",
|
|
40527
40603
|
nativeSha256: "03b721dd9e98ec2767f7952aa65cde57d0c33d7ec80c9aaf7ab5ba77e055a25c",
|
|
40528
40604
|
upstream: "e41ad6375fd80b64c4183d1a3f901d1f640a7953",
|
|
40529
40605
|
recipe: "c180538533a79fe1c8babda204170806abe80dd4a546689dcc34c109c9fbfcfc",
|
|
@@ -40531,6 +40607,7 @@ var init_native_static_libraries = __esm({
|
|
|
40531
40607
|
},
|
|
40532
40608
|
{
|
|
40533
40609
|
name: "ratex_ffi",
|
|
40610
|
+
runtime: "rust",
|
|
40534
40611
|
nativeSha256: "8c41abcd8dd4e562e65cf5b88467a3493089c359d0863360dc65a5b88149e837",
|
|
40535
40612
|
upstream: "a4296fa21cd40a56543602511bcf417014f4fee7cf5e1eaab58e0ac9610e3f63",
|
|
40536
40613
|
// the unchanged source build, pinned Rust release and committed Cargo.lock.
|
|
@@ -40539,6 +40616,7 @@ var init_native_static_libraries = __esm({
|
|
|
40539
40616
|
},
|
|
40540
40617
|
{
|
|
40541
40618
|
name: "ratex_ffi_0_1_14",
|
|
40619
|
+
runtime: "rust",
|
|
40542
40620
|
nativeSha256: "bdd2bf679fcc981d98d36733b3bd083225a7397bb82bbd462c89088c6e0580a8",
|
|
40543
40621
|
upstream: "2da907eb5dfcb464c7eef3b4c657fbdee144e3c6633e81efb1e56dcf1c76e01b",
|
|
40544
40622
|
recipe: "537054295b8230548b3959b38459af2606cae69b226e37f6a2e0c227a8ad3cb1",
|
|
@@ -43781,7 +43859,7 @@ var init_swift_standin_digest = __esm({
|
|
|
43781
43859
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
43782
43860
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
43783
43861
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
43784
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
43862
|
+
STANDIN_SOURCE_DIGEST = true ? "9d24428078636d005cc1401363f5f50704e049f52802b0493da7eea674470942" : standinSourceDigest();
|
|
43785
43863
|
}
|
|
43786
43864
|
});
|
|
43787
43865
|
|
|
@@ -46159,7 +46237,8 @@ function standinLibrary(binary2, searchRoot, toolchain) {
|
|
|
46159
46237
|
throw new Error(
|
|
46160
46238
|
`${import_node_path74.default.relative(searchRoot, supplied)} holds no single static library${library ? ` named ${library}` : ""}`
|
|
46161
46239
|
);
|
|
46162
|
-
|
|
46240
|
+
if (!toolchain) throw new Error("supplied native libraries need the Swift SDK");
|
|
46241
|
+
return rustStaticLibrary(import_node_path74.default.join(supplied, chosen), toolchain.moduleRoot);
|
|
46163
46242
|
}
|
|
46164
46243
|
if (native && toolchain && import_node_fs75.default.existsSync(native.file)) {
|
|
46165
46244
|
const recipe2 = nativeStaticLibraryRecipe(import_node_fs75.default.readFileSync(native.file));
|
|
@@ -46184,8 +46263,8 @@ function standinLibrary(binary2, searchRoot, toolchain) {
|
|
|
46184
46263
|
if (!toolchain) throw new Error("Rust native libraries need the Swift SDK");
|
|
46185
46264
|
const entry = rustCrateEntry(manifest, library, toolchain.moduleRoot, searchRoot);
|
|
46186
46265
|
const prebuilt = fetchNativeEntry("rust", entry.name, entry.key);
|
|
46187
|
-
|
|
46188
|
-
return
|
|
46266
|
+
const archive = prebuilt ? import_node_path74.default.join(prebuilt, library) : buildRustCrate(manifest, library, searchRoot, toolchain.moduleRoot, entry);
|
|
46267
|
+
return rustStaticLibrary(archive, toolchain.moduleRoot);
|
|
46189
46268
|
}
|
|
46190
46269
|
function buildRustCrate(manifest, library, searchRoot, moduleRoot, entry = rustCrateEntry(manifest, library, moduleRoot, searchRoot)) {
|
|
46191
46270
|
const compiler = swiftModuleToolchain(moduleRoot);
|
|
@@ -50383,6 +50462,9 @@ function packageSources(packagePath, hosted = false, linked = /* @__PURE__ */ ne
|
|
|
50383
50462
|
return files2;
|
|
50384
50463
|
}
|
|
50385
50464
|
function packageSnapshot(project2, entry, moduleRoot) {
|
|
50465
|
+
moduleRoot ??= xcodeProjects().get(project2.packagePath)?.moduleRoot ?? linkedModuleRoots(project2.packagePath).find(
|
|
50466
|
+
(root) => import_node_fs80.default.existsSync(import_node_path79.default.join(root, "toolchain.json"))
|
|
50467
|
+
);
|
|
50386
50468
|
const layout2 = xcodeLayout(project2.packagePath);
|
|
50387
50469
|
const pin2 = moduleRoot ? swiftDistributionAt(moduleRoot) ?? JSON.parse(import_node_fs80.default.readFileSync(import_node_path79.default.join(moduleRoot, "toolchain.json"), "utf8")) : null;
|
|
50388
50470
|
const linked = layout2 ? standinLibraries(
|
|
@@ -50853,10 +50935,7 @@ function scopedArtifact(project2, entry, moduleRoot, signal) {
|
|
|
50853
50935
|
queued.then(resolve4, reject).finally(() => signal.removeEventListener("abort", stop));
|
|
50854
50936
|
});
|
|
50855
50937
|
}
|
|
50856
|
-
const
|
|
50857
|
-
(root) => import_node_fs80.default.existsSync(import_node_path79.default.join(root, "toolchain.json"))
|
|
50858
|
-
);
|
|
50859
|
-
const snapshot = packageSnapshot(project2, entry, snapshotRoot);
|
|
50938
|
+
const snapshot = packageSnapshot(project2, entry, moduleRoot);
|
|
50860
50939
|
const compiled = project2.artifact?.compiled;
|
|
50861
50940
|
if (project2.artifact && compiled && compiled.module === moduleStamp(project2.packagePath, moduleRoot, false)) {
|
|
50862
50941
|
const input = snapshotCompileInput(snapshot);
|
|
@@ -56370,7 +56449,7 @@ var init_nitro_superset = __esm({
|
|
|
56370
56449
|
init_nitroContract();
|
|
56371
56450
|
init_swift_standin_digest();
|
|
56372
56451
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
56373
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
56452
|
+
NITRO_COMPILER_DIGEST = true ? "6a6f80ad2d874ad53a058d4aa8764ae971a237caf160c09603cebe64e1b6bbf6" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
56374
56453
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
56375
56454
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
56376
56455
|
published = /* @__PURE__ */ new Map();
|
|
@@ -57595,7 +57674,7 @@ var init_expo_native_compiler_digest = __esm({
|
|
|
57595
57674
|
|
|
57596
57675
|
// src/expo-native-prebuilt.ts
|
|
57597
57676
|
function expoNativeCompilerDigestValue() {
|
|
57598
|
-
return true ? "
|
|
57677
|
+
return true ? "cf0557e09d89c8c6883a1e9ce3f3f57b9f43040a8f4e81e39c612c37d34d8430" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
57599
57678
|
}
|
|
57600
57679
|
function readSources(value) {
|
|
57601
57680
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (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/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (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/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
package/dist-lib/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (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/config.mjs
CHANGED
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (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;
|
|
@@ -1628,10 +1628,14 @@ function renderActivityIdleScript({
|
|
|
1628
1628
|
maxMs,
|
|
1629
1629
|
requiredStillMs,
|
|
1630
1630
|
transitionStartWindowMs,
|
|
1631
|
-
transitionTimeoutMs
|
|
1631
|
+
transitionTimeoutMs,
|
|
1632
|
+
skipIfInspectActive
|
|
1632
1633
|
}) {
|
|
1633
1634
|
return `(async () => {
|
|
1634
1635
|
const start = Date.now()
|
|
1636
|
+
if (${skipIfInspectActive} && globalThis.__sootsimEngineState?.inspectActive === true) {
|
|
1637
|
+
return { settled: true, elapsed: 0, blockedBy: '' }
|
|
1638
|
+
}
|
|
1635
1639
|
const budgetMs = ${Math.max(0, Math.round(maxMs))}
|
|
1636
1640
|
const requiredStillMs = ${Math.max(1, Math.round(requiredStillMs))}
|
|
1637
1641
|
let deadline = start + budgetMs
|
|
@@ -1735,6 +1739,7 @@ async function waitForSootsimIdle({
|
|
|
1735
1739
|
screenStill = false,
|
|
1736
1740
|
maestro = false,
|
|
1737
1741
|
motionOnly = false,
|
|
1742
|
+
skipIfInspectActive = false,
|
|
1738
1743
|
readyPlayback = false,
|
|
1739
1744
|
transitionStartWindowMs = 80,
|
|
1740
1745
|
transitionTimeoutMs = 4e3
|
|
@@ -1750,7 +1755,8 @@ async function waitForSootsimIdle({
|
|
|
1750
1755
|
maxMs,
|
|
1751
1756
|
requiredStillMs: Math.max(1, Math.round(stablePolls)) * Math.max(1, Math.round(pollMs)),
|
|
1752
1757
|
transitionStartWindowMs,
|
|
1753
|
-
transitionTimeoutMs
|
|
1758
|
+
transitionTimeoutMs,
|
|
1759
|
+
skipIfInspectActive
|
|
1754
1760
|
}) : `(async () => {
|
|
1755
1761
|
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
|
|
1756
1762
|
// tests inject a virtual clock as globalThis.__sootsimIdleClock ({ now, sleep })
|
|
@@ -1844,6 +1850,7 @@ async function waitForSootsimIdle({
|
|
|
1844
1850
|
let webViewBlocker = ''
|
|
1845
1851
|
let visibleMotion = false
|
|
1846
1852
|
let visibleMotionBy = ''
|
|
1853
|
+
let motionUnavailable = false
|
|
1847
1854
|
// the reads are independent, so they run concurrently: a loaded sim
|
|
1848
1855
|
// answers each one late, and a poll that waits for them in turn
|
|
1849
1856
|
// costs their sum, which fits too few polls in the budget to settle.
|
|
@@ -1914,6 +1921,9 @@ async function waitForSootsimIdle({
|
|
|
1914
1921
|
.slice(0, 4)
|
|
1915
1922
|
.map((anim) => anim.source + '/' + anim.kind + '#' + anim.id + ' at ' + anim.current + (anim.loop ? ' loop' : ''))
|
|
1916
1923
|
.join(', ')
|
|
1924
|
+
} else if (screenStill) {
|
|
1925
|
+
motionUnavailable = true
|
|
1926
|
+
workerBusy = true
|
|
1917
1927
|
}
|
|
1918
1928
|
}
|
|
1919
1929
|
const stats = await statsRead
|
|
@@ -2091,7 +2101,7 @@ async function waitForSootsimIdle({
|
|
|
2091
2101
|
}
|
|
2092
2102
|
}
|
|
2093
2103
|
}
|
|
2094
|
-
return { layout: nodes.join(';'), nodeRows, nativeHierarchy, visibleMotion, visibleMotionBy, animating, animatingBy, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
|
|
2104
|
+
return { layout: nodes.join(';'), nodeRows, nativeHierarchy, visibleMotion, visibleMotionBy, animating, animatingBy, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, motionUnavailable, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
|
|
2095
2105
|
}
|
|
2096
2106
|
|
|
2097
2107
|
// how long generic background network is allowed to keep us waiting AFTER
|
|
@@ -2281,7 +2291,8 @@ async function waitForSootsimIdle({
|
|
|
2281
2291
|
if (!maestro && last.appCommits !== null && report.appCommits !== null && last.appCommits !== report.appCommits) blockers.push('layout commits still landing')
|
|
2282
2292
|
if (!maestro && last.nodeCount !== null && report.nodeCount !== null && last.nodeCount !== report.nodeCount) blockers.push('node count still changing')
|
|
2283
2293
|
if (last.pendingFetches > 0) blockers.push(last.pendingFetches + ' image fetches pending')
|
|
2284
|
-
if (last.
|
|
2294
|
+
if (last.motionUnavailable) blockers.push('animation reporting unavailable')
|
|
2295
|
+
if (last.workerBusy && !last.motionUnavailable) blockers.push('a render worker too busy to report')
|
|
2285
2296
|
if (last.webViewStarting) blockers.push(last.webViewBlocker || 'webView still starting')
|
|
2286
2297
|
if (!maestro && last.layout !== report.layout) blockers.push('layout still changing')
|
|
2287
2298
|
if (maestro && !hierarchyUnchanged(last.nativeHierarchy, report.nativeHierarchy)) blockers.push(last.nativeHierarchy === null ? 'native accessibility hierarchy unavailable' : 'native accessibility hierarchy still changing')
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (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.2244 | (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;
|
|
@@ -606,7 +606,7 @@ var init_swift_submit = __esm({
|
|
|
606
606
|
MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
607
607
|
MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
608
608
|
MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
609
|
-
SWIFT_HOST_ABI =
|
|
609
|
+
SWIFT_HOST_ABI = 72;
|
|
610
610
|
POLL_INTERVAL_MS = 1500;
|
|
611
611
|
}
|
|
612
612
|
});
|
|
@@ -13121,7 +13121,7 @@ function patchSwiftrtObject(src) {
|
|
|
13121
13121
|
}
|
|
13122
13122
|
return buf;
|
|
13123
13123
|
}
|
|
13124
|
-
function parseWasmObjectBytes(file, buf, isDist) {
|
|
13124
|
+
function parseWasmObjectBytes(file, buf, isDist, symbolFlagOffsets) {
|
|
13125
13125
|
let pos = 8;
|
|
13126
13126
|
let numImportFuncs = 0;
|
|
13127
13127
|
const importFuncNames = [];
|
|
@@ -13277,6 +13277,7 @@ function parseWasmObjectBytes(file, buf, isDist) {
|
|
|
13277
13277
|
let cur = p2;
|
|
13278
13278
|
for (let i = 0; i < cnt; i++) {
|
|
13279
13279
|
const kind = buf[cur++];
|
|
13280
|
+
if (symbolFlagOffsets) symbolFlagOffsets[i] = cur;
|
|
13280
13281
|
const [fl, c2] = readULEB2(buf, cur);
|
|
13281
13282
|
cur = c2;
|
|
13282
13283
|
symKind[i] = kind;
|
|
@@ -13534,6 +13535,23 @@ function parseWasmObjectCached(file, isDist, useCache) {
|
|
|
13534
13535
|
if (useCache) parsedObjectCache.set(key2, parsed);
|
|
13535
13536
|
return parsed;
|
|
13536
13537
|
}
|
|
13538
|
+
function localizeDefinedWasmSymbols(bytes, names) {
|
|
13539
|
+
const offsets = [];
|
|
13540
|
+
const object6 = parseWasmObjectBytes("", bytes, false, offsets);
|
|
13541
|
+
const output2 = Uint8Array.from(bytes);
|
|
13542
|
+
let changed = 0;
|
|
13543
|
+
for (let index = 0; index < object6.symNames.length; index++) {
|
|
13544
|
+
if (!names.has(object6.symNames[index])) continue;
|
|
13545
|
+
if ((object6.symFlags[index] & 3) === 2) continue;
|
|
13546
|
+
if (object6.symFlags[index] & 16)
|
|
13547
|
+
throw new Error("cannot localize an undefined symbol");
|
|
13548
|
+
const offset = offsets[index];
|
|
13549
|
+
output2[offset] = output2[offset] & ~35 | 2;
|
|
13550
|
+
changed++;
|
|
13551
|
+
}
|
|
13552
|
+
if (changed !== names.size) throw new Error("Wasm symbols to localize were not defined");
|
|
13553
|
+
return output2;
|
|
13554
|
+
}
|
|
13537
13555
|
function guestWasmSymbols(bytes) {
|
|
13538
13556
|
const object6 = parseWasmObjectBytes("", bytes, false);
|
|
13539
13557
|
return {
|
|
@@ -24746,7 +24764,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
24746
24764
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
24747
24765
|
MULTI_MANIFEST_VERSION = 68;
|
|
24748
24766
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
24749
|
-
compilerSourceDigest = true ? "
|
|
24767
|
+
compilerSourceDigest = true ? "b60df189803fef5c8b8fd902ae0a694ffbefe056af8f5fc06f707750dc97f09b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
24750
24768
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
24751
24769
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
24752
24770
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -28885,7 +28903,7 @@ var init_swift_standin_digest = __esm({
|
|
|
28885
28903
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
28886
28904
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
28887
28905
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
28888
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
28906
|
+
STANDIN_SOURCE_DIGEST = true ? "9d24428078636d005cc1401363f5f50704e049f52802b0493da7eea674470942" : standinSourceDigest();
|
|
28889
28907
|
}
|
|
28890
28908
|
});
|
|
28891
28909
|
|
|
@@ -29236,7 +29254,63 @@ function nativeStaticLibrary(file, recipe2, moduleRoot) {
|
|
|
29236
29254
|
throw new Error(
|
|
29237
29255
|
`${file}: native WebAssembly archive ${entry.name}/${entry.key} is not built for this compiler and SDK`
|
|
29238
29256
|
);
|
|
29239
|
-
|
|
29257
|
+
const archive = import_node_path64.default.join(dir, recipe2.archive);
|
|
29258
|
+
return "runtime" in recipe2 ? rustStaticLibrary(archive, moduleRoot) : archive;
|
|
29259
|
+
}
|
|
29260
|
+
function isRustSymbol(name3, demangled) {
|
|
29261
|
+
return (name3.startsWith("_R") || /^_ZN.*17h[0-9a-f]{16}E$/.test(name3)) && demangled !== name3 || name3 === "rust_eh_personality" || name3 === "__getrandom_v03_custom";
|
|
29262
|
+
}
|
|
29263
|
+
function rustStaticLibrary(file, moduleRoot) {
|
|
29264
|
+
const toolchain = swiftModuleToolchain(moduleRoot);
|
|
29265
|
+
const key2 = (0, import_node_crypto32.createHash)("sha256").update("rust-c-abi-v2\0").update(toolchain.release).update("\0").update(import_node_fs66.default.readFileSync(file)).digest("hex");
|
|
29266
|
+
const directory2 = import_node_path64.default.join(cacheDir(), "native-archives", key2);
|
|
29267
|
+
const archive = import_node_path64.default.join(directory2, "library.a");
|
|
29268
|
+
if (import_node_fs66.default.existsSync(archive)) return archive;
|
|
29269
|
+
const flags = ["--no-sort", "--extern-only", "--defined-only", "--format=just-symbols"];
|
|
29270
|
+
const options = { encoding: "utf8", maxBuffer: 64 * 1024 * 1024 };
|
|
29271
|
+
const symbols = (input) => {
|
|
29272
|
+
const raw2 = (0, import_node_child_process34.execFileSync)(
|
|
29273
|
+
import_node_path64.default.join(toolchain.toolchainBin, "llvm-nm"),
|
|
29274
|
+
[...flags, input],
|
|
29275
|
+
options
|
|
29276
|
+
).trim().split("\n");
|
|
29277
|
+
const demangled = (0, import_node_child_process34.execFileSync)(
|
|
29278
|
+
import_node_path64.default.join(toolchain.toolchainBin, "llvm-nm"),
|
|
29279
|
+
[...flags, "--demangle", input],
|
|
29280
|
+
options
|
|
29281
|
+
).trim().split("\n");
|
|
29282
|
+
if (raw2.length !== demangled.length)
|
|
29283
|
+
throw new Error(`${file}: Rust symbol table changed during intake`);
|
|
29284
|
+
return raw2.map((name3, index) => ({ name: name3, demangled: demangled[index] }));
|
|
29285
|
+
};
|
|
29286
|
+
if (!symbols(file).some(({ name: name3, demangled }) => isRustSymbol(name3, demangled)))
|
|
29287
|
+
return file;
|
|
29288
|
+
import_node_fs66.default.mkdirSync(directory2, { recursive: true });
|
|
29289
|
+
const stage = import_node_fs66.default.mkdtempSync(import_node_path64.default.join(directory2, "build-"));
|
|
29290
|
+
try {
|
|
29291
|
+
const object6 = import_node_path64.default.join(stage, "library.o");
|
|
29292
|
+
(0, import_node_child_process34.execFileSync)(import_node_path64.default.join(toolchain.toolchainBin, "wasm-ld"), [
|
|
29293
|
+
"-mwasm64",
|
|
29294
|
+
"-r",
|
|
29295
|
+
"--whole-archive",
|
|
29296
|
+
file,
|
|
29297
|
+
"--no-whole-archive",
|
|
29298
|
+
"-o",
|
|
29299
|
+
object6
|
|
29300
|
+
]);
|
|
29301
|
+
const names = new Set(
|
|
29302
|
+
symbols(object6).filter(
|
|
29303
|
+
({ name: name3, demangled }) => isRustSymbol(name3, demangled) || name3.startsWith("anon.")
|
|
29304
|
+
).map(({ name: name3 }) => name3)
|
|
29305
|
+
);
|
|
29306
|
+
import_node_fs66.default.writeFileSync(object6, localizeDefinedWasmSymbols(import_node_fs66.default.readFileSync(object6), names));
|
|
29307
|
+
const output2 = import_node_path64.default.join(stage, "library.a");
|
|
29308
|
+
(0, import_node_child_process34.execFileSync)(import_node_path64.default.join(toolchain.toolchainBin, "llvm-ar"), ["rcsD", output2, object6]);
|
|
29309
|
+
import_node_fs66.default.renameSync(output2, archive);
|
|
29310
|
+
} finally {
|
|
29311
|
+
import_node_fs66.default.rmSync(stage, { recursive: true, force: true });
|
|
29312
|
+
}
|
|
29313
|
+
return archive;
|
|
29240
29314
|
}
|
|
29241
29315
|
function combineNativeStaticLibraries(files2, moduleRoot) {
|
|
29242
29316
|
if (files2.length === 1) return files2[0];
|
|
@@ -29274,6 +29348,7 @@ var init_native_static_libraries = __esm({
|
|
|
29274
29348
|
init_native_prebuilt();
|
|
29275
29349
|
init_swift_compile();
|
|
29276
29350
|
init_swift_distribution();
|
|
29351
|
+
init_swift_wasm_prune();
|
|
29277
29352
|
init_swift_xcframework();
|
|
29278
29353
|
NATIVE_STATIC_LIBRARY_RECIPES = [
|
|
29279
29354
|
// react-native-libsodium's minimal apple build of the 1.0.20 release
|
|
@@ -29302,6 +29377,7 @@ var init_native_static_libraries = __esm({
|
|
|
29302
29377
|
},
|
|
29303
29378
|
{
|
|
29304
29379
|
name: "anydoc_mobile",
|
|
29380
|
+
runtime: "rust",
|
|
29305
29381
|
nativeSha256: "03b721dd9e98ec2767f7952aa65cde57d0c33d7ec80c9aaf7ab5ba77e055a25c",
|
|
29306
29382
|
upstream: "e41ad6375fd80b64c4183d1a3f901d1f640a7953",
|
|
29307
29383
|
recipe: "c180538533a79fe1c8babda204170806abe80dd4a546689dcc34c109c9fbfcfc",
|
|
@@ -29309,6 +29385,7 @@ var init_native_static_libraries = __esm({
|
|
|
29309
29385
|
},
|
|
29310
29386
|
{
|
|
29311
29387
|
name: "ratex_ffi",
|
|
29388
|
+
runtime: "rust",
|
|
29312
29389
|
nativeSha256: "8c41abcd8dd4e562e65cf5b88467a3493089c359d0863360dc65a5b88149e837",
|
|
29313
29390
|
upstream: "a4296fa21cd40a56543602511bcf417014f4fee7cf5e1eaab58e0ac9610e3f63",
|
|
29314
29391
|
// the unchanged source build, pinned Rust release and committed Cargo.lock.
|
|
@@ -29317,6 +29394,7 @@ var init_native_static_libraries = __esm({
|
|
|
29317
29394
|
},
|
|
29318
29395
|
{
|
|
29319
29396
|
name: "ratex_ffi_0_1_14",
|
|
29397
|
+
runtime: "rust",
|
|
29320
29398
|
nativeSha256: "bdd2bf679fcc981d98d36733b3bd083225a7397bb82bbd462c89088c6e0580a8",
|
|
29321
29399
|
upstream: "2da907eb5dfcb464c7eef3b4c657fbdee144e3c6633e81efb1e56dcf1c76e01b",
|
|
29322
29400
|
recipe: "537054295b8230548b3959b38459af2606cae69b226e37f6a2e0c227a8ad3cb1",
|
|
@@ -32752,7 +32830,8 @@ function standinLibrary(binary2, searchRoot, toolchain) {
|
|
|
32752
32830
|
throw new Error(
|
|
32753
32831
|
`${import_node_path70.default.relative(searchRoot, supplied)} holds no single static library${library ? ` named ${library}` : ""}`
|
|
32754
32832
|
);
|
|
32755
|
-
|
|
32833
|
+
if (!toolchain) throw new Error("supplied native libraries need the Swift SDK");
|
|
32834
|
+
return rustStaticLibrary(import_node_path70.default.join(supplied, chosen), toolchain.moduleRoot);
|
|
32756
32835
|
}
|
|
32757
32836
|
if (native && toolchain && import_node_fs73.default.existsSync(native.file)) {
|
|
32758
32837
|
const recipe2 = nativeStaticLibraryRecipe(import_node_fs73.default.readFileSync(native.file));
|
|
@@ -32777,8 +32856,8 @@ function standinLibrary(binary2, searchRoot, toolchain) {
|
|
|
32777
32856
|
if (!toolchain) throw new Error("Rust native libraries need the Swift SDK");
|
|
32778
32857
|
const entry = rustCrateEntry(manifest, library, toolchain.moduleRoot, searchRoot);
|
|
32779
32858
|
const prebuilt = fetchNativeEntry("rust", entry.name, entry.key);
|
|
32780
|
-
|
|
32781
|
-
return
|
|
32859
|
+
const archive = prebuilt ? import_node_path70.default.join(prebuilt, library) : buildRustCrate(manifest, library, searchRoot, toolchain.moduleRoot, entry);
|
|
32860
|
+
return rustStaticLibrary(archive, toolchain.moduleRoot);
|
|
32782
32861
|
}
|
|
32783
32862
|
function buildRustCrate(manifest, library, searchRoot, moduleRoot, entry = rustCrateEntry(manifest, library, moduleRoot, searchRoot)) {
|
|
32784
32863
|
const compiler = swiftModuleToolchain(moduleRoot);
|
|
@@ -38711,6 +38790,9 @@ function packageSources(packagePath, hosted = false, linked = /* @__PURE__ */ ne
|
|
|
38711
38790
|
return files2;
|
|
38712
38791
|
}
|
|
38713
38792
|
function packageSnapshot(project, entry, moduleRoot) {
|
|
38793
|
+
moduleRoot ??= xcodeProjects().get(project.packagePath)?.moduleRoot ?? linkedModuleRoots(project.packagePath).find(
|
|
38794
|
+
(root) => import_node_fs80.default.existsSync(import_node_path77.default.join(root, "toolchain.json"))
|
|
38795
|
+
);
|
|
38714
38796
|
const layout2 = xcodeLayout(project.packagePath);
|
|
38715
38797
|
const pin2 = moduleRoot ? swiftDistributionAt(moduleRoot) ?? JSON.parse(import_node_fs80.default.readFileSync(import_node_path77.default.join(moduleRoot, "toolchain.json"), "utf8")) : null;
|
|
38716
38798
|
const linked = layout2 ? standinLibraries(
|
|
@@ -39174,10 +39256,7 @@ function scopedArtifact(project, entry, moduleRoot, signal) {
|
|
|
39174
39256
|
queued.then(resolve3, reject).finally(() => signal.removeEventListener("abort", stop));
|
|
39175
39257
|
});
|
|
39176
39258
|
}
|
|
39177
|
-
const
|
|
39178
|
-
(root) => import_node_fs80.default.existsSync(import_node_path77.default.join(root, "toolchain.json"))
|
|
39179
|
-
);
|
|
39180
|
-
const snapshot = packageSnapshot(project, entry, snapshotRoot);
|
|
39259
|
+
const snapshot = packageSnapshot(project, entry, moduleRoot);
|
|
39181
39260
|
const compiled = project.artifact?.compiled;
|
|
39182
39261
|
if (project.artifact && compiled && compiled.module === moduleStamp(project.packagePath, moduleRoot, false)) {
|
|
39183
39262
|
const input = snapshotCompileInput(snapshot);
|
|
@@ -49479,7 +49558,7 @@ init_swift_native_pin();
|
|
|
49479
49558
|
init_xcode_project();
|
|
49480
49559
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
49481
49560
|
function expoNativeCompilerDigestValue() {
|
|
49482
|
-
return true ? "
|
|
49561
|
+
return true ? "cf0557e09d89c8c6883a1e9ce3f3f57b9f43040a8f4e81e39c612c37d34d8430" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
49483
49562
|
}
|
|
49484
49563
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
49485
49564
|
function readSources(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (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/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (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;
|