peachsim 0.1.2242 → 0.1.2243
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/flow.ts +4 -0
- package/cli/commands/inspect/settling.ts +7 -2
- 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 +90 -11
- 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 +8 -3
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +89 -10
- 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 +97 -23
- 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 +10 -5
- 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 +1 -1
- package/dist-lib/menu.mjs +1 -1
- 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 +53 -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 +8 -3
- package/dist-lib/sdk.mjs +8 -3
- package/dist-lib/skills.cjs +104 -25
- 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 +482 -402
- package/dist-lib/vite.cjs +3 -3
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/src/host/bridge-host.ts +12 -13
- package/src/native-static-libraries.ts +82 -1
- 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.2243 | (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);
|
|
@@ -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 ? "627212ff3caecd928de8497818fc5fd77af14529e378d77e3ea67a523f33e4c1" : 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.2243 | (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.2243 | (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.2243 | (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;
|
|
@@ -2077,7 +2077,7 @@ var init_swift_submit = __esm({
|
|
|
2077
2077
|
MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
2078
2078
|
MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
2079
2079
|
MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
2080
|
-
SWIFT_HOST_ABI =
|
|
2080
|
+
SWIFT_HOST_ABI = 72;
|
|
2081
2081
|
POLL_INTERVAL_MS = 1500;
|
|
2082
2082
|
}
|
|
2083
2083
|
});
|
|
@@ -22216,7 +22216,7 @@ function patchSwiftrtObject(src) {
|
|
|
22216
22216
|
}
|
|
22217
22217
|
return buf;
|
|
22218
22218
|
}
|
|
22219
|
-
function parseWasmObjectBytes(file, buf, isDist) {
|
|
22219
|
+
function parseWasmObjectBytes(file, buf, isDist, symbolFlagOffsets) {
|
|
22220
22220
|
let pos = 8;
|
|
22221
22221
|
let numImportFuncs = 0;
|
|
22222
22222
|
const importFuncNames = [];
|
|
@@ -22372,6 +22372,7 @@ function parseWasmObjectBytes(file, buf, isDist) {
|
|
|
22372
22372
|
let cur = p2;
|
|
22373
22373
|
for (let i = 0; i < cnt; i++) {
|
|
22374
22374
|
const kind = buf[cur++];
|
|
22375
|
+
if (symbolFlagOffsets) symbolFlagOffsets[i] = cur;
|
|
22375
22376
|
const [fl, c2] = readULEB2(buf, cur);
|
|
22376
22377
|
cur = c2;
|
|
22377
22378
|
symKind[i] = kind;
|
|
@@ -22629,6 +22630,23 @@ function parseWasmObjectCached(file, isDist, useCache) {
|
|
|
22629
22630
|
if (useCache) parsedObjectCache.set(key2, parsed);
|
|
22630
22631
|
return parsed;
|
|
22631
22632
|
}
|
|
22633
|
+
function localizeDefinedWasmSymbols(bytes, names) {
|
|
22634
|
+
const offsets = [];
|
|
22635
|
+
const object6 = parseWasmObjectBytes("", bytes, false, offsets);
|
|
22636
|
+
const output2 = Uint8Array.from(bytes);
|
|
22637
|
+
let changed = 0;
|
|
22638
|
+
for (let index = 0; index < object6.symNames.length; index++) {
|
|
22639
|
+
if (!names.has(object6.symNames[index])) continue;
|
|
22640
|
+
if ((object6.symFlags[index] & 3) === 2) continue;
|
|
22641
|
+
if (object6.symFlags[index] & 16)
|
|
22642
|
+
throw new Error("cannot localize an undefined symbol");
|
|
22643
|
+
const offset = offsets[index];
|
|
22644
|
+
output2[offset] = output2[offset] & ~35 | 2;
|
|
22645
|
+
changed++;
|
|
22646
|
+
}
|
|
22647
|
+
if (changed !== names.size) throw new Error("Wasm symbols to localize were not defined");
|
|
22648
|
+
return output2;
|
|
22649
|
+
}
|
|
22632
22650
|
function guestWasmSymbols(bytes) {
|
|
22633
22651
|
const object6 = parseWasmObjectBytes("", bytes, false);
|
|
22634
22652
|
return {
|
|
@@ -33866,7 +33884,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
33866
33884
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
33867
33885
|
MULTI_MANIFEST_VERSION = 68;
|
|
33868
33886
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
33869
|
-
compilerSourceDigest = true ? "
|
|
33887
|
+
compilerSourceDigest = true ? "b60df189803fef5c8b8fd902ae0a694ffbefe056af8f5fc06f707750dc97f09b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
33870
33888
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
33871
33889
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
33872
33890
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -38349,7 +38367,7 @@ var init_swift_standin_digest = __esm({
|
|
|
38349
38367
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
38350
38368
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
38351
38369
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
38352
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
38370
|
+
STANDIN_SOURCE_DIGEST = true ? "9d24428078636d005cc1401363f5f50704e049f52802b0493da7eea674470942" : standinSourceDigest();
|
|
38353
38371
|
}
|
|
38354
38372
|
});
|
|
38355
38373
|
|
|
@@ -38762,7 +38780,63 @@ function nativeStaticLibrary(file, recipe2, moduleRoot) {
|
|
|
38762
38780
|
throw new Error(
|
|
38763
38781
|
`${file}: native WebAssembly archive ${entry.name}/${entry.key} is not built for this compiler and SDK`
|
|
38764
38782
|
);
|
|
38765
|
-
|
|
38783
|
+
const archive = import_node_path69.default.join(dir, recipe2.archive);
|
|
38784
|
+
return "runtime" in recipe2 ? rustStaticLibrary(archive, moduleRoot) : archive;
|
|
38785
|
+
}
|
|
38786
|
+
function isRustSymbol(name3, demangled) {
|
|
38787
|
+
return (name3.startsWith("_R") || /^_ZN.*17h[0-9a-f]{16}E$/.test(name3)) && demangled !== name3 || name3 === "rust_eh_personality" || name3 === "__getrandom_v03_custom";
|
|
38788
|
+
}
|
|
38789
|
+
function rustStaticLibrary(file, moduleRoot) {
|
|
38790
|
+
const toolchain = swiftModuleToolchain(moduleRoot);
|
|
38791
|
+
const key2 = (0, import_node_crypto35.createHash)("sha256").update("rust-c-abi-v2\0").update(toolchain.release).update("\0").update(import_node_fs70.default.readFileSync(file)).digest("hex");
|
|
38792
|
+
const directory2 = import_node_path69.default.join(cacheDir(), "native-archives", key2);
|
|
38793
|
+
const archive = import_node_path69.default.join(directory2, "library.a");
|
|
38794
|
+
if (import_node_fs70.default.existsSync(archive)) return archive;
|
|
38795
|
+
const flags = ["--no-sort", "--extern-only", "--defined-only", "--format=just-symbols"];
|
|
38796
|
+
const options = { encoding: "utf8", maxBuffer: 64 * 1024 * 1024 };
|
|
38797
|
+
const symbols = (input) => {
|
|
38798
|
+
const raw2 = (0, import_node_child_process35.execFileSync)(
|
|
38799
|
+
import_node_path69.default.join(toolchain.toolchainBin, "llvm-nm"),
|
|
38800
|
+
[...flags, input],
|
|
38801
|
+
options
|
|
38802
|
+
).trim().split("\n");
|
|
38803
|
+
const demangled = (0, import_node_child_process35.execFileSync)(
|
|
38804
|
+
import_node_path69.default.join(toolchain.toolchainBin, "llvm-nm"),
|
|
38805
|
+
[...flags, "--demangle", input],
|
|
38806
|
+
options
|
|
38807
|
+
).trim().split("\n");
|
|
38808
|
+
if (raw2.length !== demangled.length)
|
|
38809
|
+
throw new Error(`${file}: Rust symbol table changed during intake`);
|
|
38810
|
+
return raw2.map((name3, index) => ({ name: name3, demangled: demangled[index] }));
|
|
38811
|
+
};
|
|
38812
|
+
if (!symbols(file).some(({ name: name3, demangled }) => isRustSymbol(name3, demangled)))
|
|
38813
|
+
return file;
|
|
38814
|
+
import_node_fs70.default.mkdirSync(directory2, { recursive: true });
|
|
38815
|
+
const stage = import_node_fs70.default.mkdtempSync(import_node_path69.default.join(directory2, "build-"));
|
|
38816
|
+
try {
|
|
38817
|
+
const object6 = import_node_path69.default.join(stage, "library.o");
|
|
38818
|
+
(0, import_node_child_process35.execFileSync)(import_node_path69.default.join(toolchain.toolchainBin, "wasm-ld"), [
|
|
38819
|
+
"-mwasm64",
|
|
38820
|
+
"-r",
|
|
38821
|
+
"--whole-archive",
|
|
38822
|
+
file,
|
|
38823
|
+
"--no-whole-archive",
|
|
38824
|
+
"-o",
|
|
38825
|
+
object6
|
|
38826
|
+
]);
|
|
38827
|
+
const names = new Set(
|
|
38828
|
+
symbols(object6).filter(
|
|
38829
|
+
({ name: name3, demangled }) => isRustSymbol(name3, demangled) || name3.startsWith("anon.")
|
|
38830
|
+
).map(({ name: name3 }) => name3)
|
|
38831
|
+
);
|
|
38832
|
+
import_node_fs70.default.writeFileSync(object6, localizeDefinedWasmSymbols(import_node_fs70.default.readFileSync(object6), names));
|
|
38833
|
+
const output2 = import_node_path69.default.join(stage, "library.a");
|
|
38834
|
+
(0, import_node_child_process35.execFileSync)(import_node_path69.default.join(toolchain.toolchainBin, "llvm-ar"), ["rcsD", output2, object6]);
|
|
38835
|
+
import_node_fs70.default.renameSync(output2, archive);
|
|
38836
|
+
} finally {
|
|
38837
|
+
import_node_fs70.default.rmSync(stage, { recursive: true, force: true });
|
|
38838
|
+
}
|
|
38839
|
+
return archive;
|
|
38766
38840
|
}
|
|
38767
38841
|
function combineNativeStaticLibraries(files2, moduleRoot) {
|
|
38768
38842
|
if (files2.length === 1) return files2[0];
|
|
@@ -38800,6 +38874,7 @@ var init_native_static_libraries = __esm({
|
|
|
38800
38874
|
init_native_prebuilt();
|
|
38801
38875
|
init_swift_compile();
|
|
38802
38876
|
init_swift_distribution();
|
|
38877
|
+
init_swift_wasm_prune();
|
|
38803
38878
|
init_swift_xcframework();
|
|
38804
38879
|
NATIVE_STATIC_LIBRARY_RECIPES = [
|
|
38805
38880
|
// react-native-libsodium's minimal apple build of the 1.0.20 release
|
|
@@ -38828,6 +38903,7 @@ var init_native_static_libraries = __esm({
|
|
|
38828
38903
|
},
|
|
38829
38904
|
{
|
|
38830
38905
|
name: "anydoc_mobile",
|
|
38906
|
+
runtime: "rust",
|
|
38831
38907
|
nativeSha256: "03b721dd9e98ec2767f7952aa65cde57d0c33d7ec80c9aaf7ab5ba77e055a25c",
|
|
38832
38908
|
upstream: "e41ad6375fd80b64c4183d1a3f901d1f640a7953",
|
|
38833
38909
|
recipe: "c180538533a79fe1c8babda204170806abe80dd4a546689dcc34c109c9fbfcfc",
|
|
@@ -38835,6 +38911,7 @@ var init_native_static_libraries = __esm({
|
|
|
38835
38911
|
},
|
|
38836
38912
|
{
|
|
38837
38913
|
name: "ratex_ffi",
|
|
38914
|
+
runtime: "rust",
|
|
38838
38915
|
nativeSha256: "8c41abcd8dd4e562e65cf5b88467a3493089c359d0863360dc65a5b88149e837",
|
|
38839
38916
|
upstream: "a4296fa21cd40a56543602511bcf417014f4fee7cf5e1eaab58e0ac9610e3f63",
|
|
38840
38917
|
// the unchanged source build, pinned Rust release and committed Cargo.lock.
|
|
@@ -38843,6 +38920,7 @@ var init_native_static_libraries = __esm({
|
|
|
38843
38920
|
},
|
|
38844
38921
|
{
|
|
38845
38922
|
name: "ratex_ffi_0_1_14",
|
|
38923
|
+
runtime: "rust",
|
|
38846
38924
|
nativeSha256: "bdd2bf679fcc981d98d36733b3bd083225a7397bb82bbd462c89088c6e0580a8",
|
|
38847
38925
|
upstream: "2da907eb5dfcb464c7eef3b4c657fbdee144e3c6633e81efb1e56dcf1c76e01b",
|
|
38848
38926
|
recipe: "537054295b8230548b3959b38459af2606cae69b226e37f6a2e0c227a8ad3cb1",
|
|
@@ -42278,7 +42356,8 @@ function standinLibrary(binary2, searchRoot, toolchain) {
|
|
|
42278
42356
|
throw new Error(
|
|
42279
42357
|
`${import_node_path75.default.relative(searchRoot, supplied)} holds no single static library${library ? ` named ${library}` : ""}`
|
|
42280
42358
|
);
|
|
42281
|
-
|
|
42359
|
+
if (!toolchain) throw new Error("supplied native libraries need the Swift SDK");
|
|
42360
|
+
return rustStaticLibrary(import_node_path75.default.join(supplied, chosen), toolchain.moduleRoot);
|
|
42282
42361
|
}
|
|
42283
42362
|
if (native && toolchain && import_node_fs77.default.existsSync(native.file)) {
|
|
42284
42363
|
const recipe2 = nativeStaticLibraryRecipe(import_node_fs77.default.readFileSync(native.file));
|
|
@@ -42303,8 +42382,8 @@ function standinLibrary(binary2, searchRoot, toolchain) {
|
|
|
42303
42382
|
if (!toolchain) throw new Error("Rust native libraries need the Swift SDK");
|
|
42304
42383
|
const entry = rustCrateEntry(manifest, library, toolchain.moduleRoot, searchRoot);
|
|
42305
42384
|
const prebuilt = fetchNativeEntry("rust", entry.name, entry.key);
|
|
42306
|
-
|
|
42307
|
-
return
|
|
42385
|
+
const archive = prebuilt ? import_node_path75.default.join(prebuilt, library) : buildRustCrate(manifest, library, searchRoot, toolchain.moduleRoot, entry);
|
|
42386
|
+
return rustStaticLibrary(archive, toolchain.moduleRoot);
|
|
42308
42387
|
}
|
|
42309
42388
|
function buildRustCrate(manifest, library, searchRoot, moduleRoot, entry = rustCrateEntry(manifest, library, moduleRoot, searchRoot)) {
|
|
42310
42389
|
const compiler = swiftModuleToolchain(moduleRoot);
|
|
@@ -54636,7 +54715,7 @@ var init_nitro_superset = __esm({
|
|
|
54636
54715
|
init_nitroContract();
|
|
54637
54716
|
init_swift_standin_digest();
|
|
54638
54717
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
54639
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
54718
|
+
NITRO_COMPILER_DIGEST = true ? "8e7da6e1e94c6020fbefec0b7297e54c6b727169dad0f2470f7606913c295d0f" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
54640
54719
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
54641
54720
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
54642
54721
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -64277,7 +64356,7 @@ init_swift_native_pin();
|
|
|
64277
64356
|
init_xcode_project();
|
|
64278
64357
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
64279
64358
|
function expoNativeCompilerDigestValue() {
|
|
64280
|
-
return true ? "
|
|
64359
|
+
return true ? "627212ff3caecd928de8497818fc5fd77af14529e378d77e3ea67a523f33e4c1" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
64281
64360
|
}
|
|
64282
64361
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
64283
64362
|
function readSources(value) {
|
|
@@ -79539,20 +79618,17 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
|
|
|
79539
79618
|
})
|
|
79540
79619
|
);
|
|
79541
79620
|
}
|
|
79621
|
+
cliHasPendingCommand(ws) {
|
|
79622
|
+
for (const entry of this.cliBySentId.values()) if (entry.ws === ws) return true;
|
|
79623
|
+
return false;
|
|
79624
|
+
}
|
|
79542
79625
|
sweepIdleCliClients() {
|
|
79543
79626
|
const now = Date.now();
|
|
79544
79627
|
let swept = false;
|
|
79545
79628
|
for (const [ws, simId] of this.cliSimBySocket) {
|
|
79546
79629
|
const lastCommand = this.cliLastCommandAt.get(ws) ?? 0;
|
|
79547
79630
|
if (now - lastCommand < _SootSimBridgeHost.CLI_IDLE_TIMEOUT_MS) continue;
|
|
79548
|
-
|
|
79549
|
-
for (const entry of this.cliBySentId.values()) {
|
|
79550
|
-
if (entry.ws === ws) {
|
|
79551
|
-
hasPendingCommand = true;
|
|
79552
|
-
break;
|
|
79553
|
-
}
|
|
79554
|
-
}
|
|
79555
|
-
if (hasPendingCommand) continue;
|
|
79631
|
+
if (this.cliHasPendingCommand(ws)) continue;
|
|
79556
79632
|
this.cliSimBySocket.delete(ws);
|
|
79557
79633
|
this.cliLastCommandAt.delete(ws);
|
|
79558
79634
|
for (const [sentId, entry] of this.cliBySentId) {
|
|
@@ -79899,11 +79975,9 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
|
|
|
79899
79975
|
const otherKey = this.cliIdentityKeyBySocket.get(cliWs);
|
|
79900
79976
|
if (otherKey && otherKey !== cliIdentityKey) {
|
|
79901
79977
|
this.cliSimBySocket.delete(cliWs);
|
|
79902
|
-
try {
|
|
79903
|
-
cliWs.close(1e3, "lease claimed by another cli");
|
|
79904
|
-
} catch {
|
|
79905
|
-
}
|
|
79906
79978
|
bootedCount++;
|
|
79979
|
+
if (this.cliHasPendingCommand(cliWs)) continue;
|
|
79980
|
+
cliWs.close(1e3, "lease claimed by another cli");
|
|
79907
79981
|
}
|
|
79908
79982
|
}
|
|
79909
79983
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2243 | (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;
|
|
@@ -1501,7 +1501,7 @@ function readIosSdkTree(root) {
|
|
|
1501
1501
|
|
|
1502
1502
|
// src/swift-standin-digest.ts
|
|
1503
1503
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1504
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
1504
|
+
var STANDIN_SOURCE_DIGEST = true ? "9d24428078636d005cc1401363f5f50704e049f52802b0493da7eea674470942" : standinSourceDigest();
|
|
1505
1505
|
|
|
1506
1506
|
// src/expo-native-workspace.ts
|
|
1507
1507
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -5037,7 +5037,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
5037
5037
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
5038
5038
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
5039
5039
|
).join("");
|
|
5040
|
-
var compilerSourceDigest = true ? "
|
|
5040
|
+
var compilerSourceDigest = true ? "b60df189803fef5c8b8fd902ae0a694ffbefe056af8f5fc06f707750dc97f09b" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
5041
5041
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
5042
5042
|
"CFAllocator",
|
|
5043
5043
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2243 | (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.2243 | (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.2243 | (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/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2243 | (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;
|
|
@@ -11610,6 +11610,7 @@ async function waitForSootsimIdle({
|
|
|
11610
11610
|
let webViewBlocker = ''
|
|
11611
11611
|
let visibleMotion = false
|
|
11612
11612
|
let visibleMotionBy = ''
|
|
11613
|
+
let motionUnavailable = false
|
|
11613
11614
|
// the reads are independent, so they run concurrently: a loaded sim
|
|
11614
11615
|
// answers each one late, and a poll that waits for them in turn
|
|
11615
11616
|
// costs their sum, which fits too few polls in the budget to settle.
|
|
@@ -11680,6 +11681,9 @@ async function waitForSootsimIdle({
|
|
|
11680
11681
|
.slice(0, 4)
|
|
11681
11682
|
.map((anim) => anim.source + '/' + anim.kind + '#' + anim.id + ' at ' + anim.current + (anim.loop ? ' loop' : ''))
|
|
11682
11683
|
.join(', ')
|
|
11684
|
+
} else if (screenStill) {
|
|
11685
|
+
motionUnavailable = true
|
|
11686
|
+
workerBusy = true
|
|
11683
11687
|
}
|
|
11684
11688
|
}
|
|
11685
11689
|
const stats = await statsRead
|
|
@@ -11857,7 +11861,7 @@ async function waitForSootsimIdle({
|
|
|
11857
11861
|
}
|
|
11858
11862
|
}
|
|
11859
11863
|
}
|
|
11860
|
-
return { layout: nodes.join(';'), nodeRows, nativeHierarchy, visibleMotion, visibleMotionBy, animating, animatingBy, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
|
|
11864
|
+
return { layout: nodes.join(';'), nodeRows, nativeHierarchy, visibleMotion, visibleMotionBy, animating, animatingBy, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, motionUnavailable, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
|
|
11861
11865
|
}
|
|
11862
11866
|
|
|
11863
11867
|
// how long generic background network is allowed to keep us waiting AFTER
|
|
@@ -12047,7 +12051,8 @@ async function waitForSootsimIdle({
|
|
|
12047
12051
|
if (!maestro && last.appCommits !== null && report.appCommits !== null && last.appCommits !== report.appCommits) blockers.push('layout commits still landing')
|
|
12048
12052
|
if (!maestro && last.nodeCount !== null && report.nodeCount !== null && last.nodeCount !== report.nodeCount) blockers.push('node count still changing')
|
|
12049
12053
|
if (last.pendingFetches > 0) blockers.push(last.pendingFetches + ' image fetches pending')
|
|
12050
|
-
if (last.
|
|
12054
|
+
if (last.motionUnavailable) blockers.push('animation reporting unavailable')
|
|
12055
|
+
if (last.workerBusy && !last.motionUnavailable) blockers.push('a render worker too busy to report')
|
|
12051
12056
|
if (last.webViewStarting) blockers.push(last.webViewBlocker || 'webView still starting')
|
|
12052
12057
|
if (!maestro && last.layout !== report.layout) blockers.push('layout still changing')
|
|
12053
12058
|
if (maestro && !hierarchyUnchanged(last.nativeHierarchy, report.nativeHierarchy)) blockers.push(last.nativeHierarchy === null ? 'native accessibility hierarchy unavailable' : 'native accessibility hierarchy still changing')
|
|
@@ -13503,7 +13508,7 @@ function readIosSdkTree(root) {
|
|
|
13503
13508
|
|
|
13504
13509
|
// src/swift-standin-digest.ts
|
|
13505
13510
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13506
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
13511
|
+
var STANDIN_SOURCE_DIGEST = true ? "9d24428078636d005cc1401363f5f50704e049f52802b0493da7eea674470942" : standinSourceDigest();
|
|
13507
13512
|
|
|
13508
13513
|
// src/expo-native-workspace.ts
|
|
13509
13514
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -16042,7 +16047,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
16042
16047
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
16043
16048
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
16044
16049
|
).join("");
|
|
16045
|
-
var compilerSourceDigest = true ? "
|
|
16050
|
+
var compilerSourceDigest = true ? "b60df189803fef5c8b8fd902ae0a694ffbefe056af8f5fc06f707750dc97f09b" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
16046
16051
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
16047
16052
|
"CFAllocator",
|
|
16048
16053
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2243 | (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.2243 | (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.2243 | (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.2243 | (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,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2243 | (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.2243 | (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;
|