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
package/cli/commands/flow.ts
CHANGED
|
@@ -621,6 +621,8 @@ flow extension:
|
|
|
621
621
|
const openArgs = [openTarget]
|
|
622
622
|
if (pinnedShellBaseUrl) openArgs.push('--base-url', pinnedShellBaseUrl)
|
|
623
623
|
if (targetDevice) openArgs.push('--device', targetDevice)
|
|
624
|
+
// the app boots in the flow's posture, as native unfolds before its launch
|
|
625
|
+
if (targetPosture) openArgs.push('--posture', targetPosture)
|
|
624
626
|
if (
|
|
625
627
|
firstLaunchPermissions &&
|
|
626
628
|
(targetTheme === 'light' || targetTheme === 'dark' || targetTheme === 'auto')
|
|
@@ -896,6 +898,8 @@ flow extension:
|
|
|
896
898
|
}
|
|
897
899
|
const deviceChanged = await applySimSettings()
|
|
898
900
|
if (deviceChanged && !startsWithLaunchApp) await driver.waitForTree(120000)
|
|
901
|
+
// a reused sim, or the reload a device change makes, still holds another rest
|
|
902
|
+
if ((await applyPosture()) && !startsWithLaunchApp) await driver.waitForTree(120000)
|
|
899
903
|
// a device change reloads the page, which is a second boot without the seed
|
|
900
904
|
if (!deviceChanged) driver.seededLaunchPermissions = seededLaunchPermissions
|
|
901
905
|
// preview replay must reproduce the SAME initial conditions the agent
|
|
@@ -318,6 +318,7 @@ export async function waitForSootsimIdle({
|
|
|
318
318
|
let webViewBlocker = ''
|
|
319
319
|
let visibleMotion = false
|
|
320
320
|
let visibleMotionBy = ''
|
|
321
|
+
let motionUnavailable = false
|
|
321
322
|
// the reads are independent, so they run concurrently: a loaded sim
|
|
322
323
|
// answers each one late, and a poll that waits for them in turn
|
|
323
324
|
// costs their sum, which fits too few polls in the budget to settle.
|
|
@@ -388,6 +389,9 @@ export async function waitForSootsimIdle({
|
|
|
388
389
|
.slice(0, 4)
|
|
389
390
|
.map((anim) => anim.source + '/' + anim.kind + '#' + anim.id + ' at ' + anim.current + (anim.loop ? ' loop' : ''))
|
|
390
391
|
.join(', ')
|
|
392
|
+
} else if (screenStill) {
|
|
393
|
+
motionUnavailable = true
|
|
394
|
+
workerBusy = true
|
|
391
395
|
}
|
|
392
396
|
}
|
|
393
397
|
const stats = await statsRead
|
|
@@ -565,7 +569,7 @@ export async function waitForSootsimIdle({
|
|
|
565
569
|
}
|
|
566
570
|
}
|
|
567
571
|
}
|
|
568
|
-
return { layout: nodes.join(';'), nodeRows, nativeHierarchy, visibleMotion, visibleMotionBy, animating, animatingBy, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
|
|
572
|
+
return { layout: nodes.join(';'), nodeRows, nativeHierarchy, visibleMotion, visibleMotionBy, animating, animatingBy, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, motionUnavailable, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
|
|
569
573
|
}
|
|
570
574
|
|
|
571
575
|
// how long generic background network is allowed to keep us waiting AFTER
|
|
@@ -755,7 +759,8 @@ export async function waitForSootsimIdle({
|
|
|
755
759
|
if (!maestro && last.appCommits !== null && report.appCommits !== null && last.appCommits !== report.appCommits) blockers.push('layout commits still landing')
|
|
756
760
|
if (!maestro && last.nodeCount !== null && report.nodeCount !== null && last.nodeCount !== report.nodeCount) blockers.push('node count still changing')
|
|
757
761
|
if (last.pendingFetches > 0) blockers.push(last.pendingFetches + ' image fetches pending')
|
|
758
|
-
if (last.
|
|
762
|
+
if (last.motionUnavailable) blockers.push('animation reporting unavailable')
|
|
763
|
+
if (last.workerBusy && !last.motionUnavailable) blockers.push('a render worker too busy to report')
|
|
759
764
|
if (last.webViewStarting) blockers.push(last.webViewBlocker || 'webView still starting')
|
|
760
765
|
if (!maestro && last.layout !== report.layout) blockers.push('layout still changing')
|
|
761
766
|
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.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;
|
|
@@ -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;
|
|
@@ -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/beta.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/beta.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 __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 __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;
|
|
@@ -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);
|
|
@@ -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 ? "8e7da6e1e94c6020fbefec0b7297e54c6b727169dad0f2470f7606913c295d0f" : 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 ? "627212ff3caecd928de8497818fc5fd77af14529e378d77e3ea67a523f33e4c1" : 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.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 __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 __defProp = Object.defineProperty;
|
package/dist-lib/cloud.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/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2243 | (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.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/config.mjs
CHANGED
package/dist-lib/detox/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;
|
|
@@ -1844,6 +1844,7 @@ async function waitForSootsimIdle({
|
|
|
1844
1844
|
let webViewBlocker = ''
|
|
1845
1845
|
let visibleMotion = false
|
|
1846
1846
|
let visibleMotionBy = ''
|
|
1847
|
+
let motionUnavailable = false
|
|
1847
1848
|
// the reads are independent, so they run concurrently: a loaded sim
|
|
1848
1849
|
// answers each one late, and a poll that waits for them in turn
|
|
1849
1850
|
// costs their sum, which fits too few polls in the budget to settle.
|
|
@@ -1914,6 +1915,9 @@ async function waitForSootsimIdle({
|
|
|
1914
1915
|
.slice(0, 4)
|
|
1915
1916
|
.map((anim) => anim.source + '/' + anim.kind + '#' + anim.id + ' at ' + anim.current + (anim.loop ? ' loop' : ''))
|
|
1916
1917
|
.join(', ')
|
|
1918
|
+
} else if (screenStill) {
|
|
1919
|
+
motionUnavailable = true
|
|
1920
|
+
workerBusy = true
|
|
1917
1921
|
}
|
|
1918
1922
|
}
|
|
1919
1923
|
const stats = await statsRead
|
|
@@ -2091,7 +2095,7 @@ async function waitForSootsimIdle({
|
|
|
2091
2095
|
}
|
|
2092
2096
|
}
|
|
2093
2097
|
}
|
|
2094
|
-
return { layout: nodes.join(';'), nodeRows, nativeHierarchy, visibleMotion, visibleMotionBy, animating, animatingBy, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
|
|
2098
|
+
return { layout: nodes.join(';'), nodeRows, nativeHierarchy, visibleMotion, visibleMotionBy, animating, animatingBy, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, motionUnavailable, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
|
|
2095
2099
|
}
|
|
2096
2100
|
|
|
2097
2101
|
// how long generic background network is allowed to keep us waiting AFTER
|
|
@@ -2281,7 +2285,8 @@ async function waitForSootsimIdle({
|
|
|
2281
2285
|
if (!maestro && last.appCommits !== null && report.appCommits !== null && last.appCommits !== report.appCommits) blockers.push('layout commits still landing')
|
|
2282
2286
|
if (!maestro && last.nodeCount !== null && report.nodeCount !== null && last.nodeCount !== report.nodeCount) blockers.push('node count still changing')
|
|
2283
2287
|
if (last.pendingFetches > 0) blockers.push(last.pendingFetches + ' image fetches pending')
|
|
2284
|
-
if (last.
|
|
2288
|
+
if (last.motionUnavailable) blockers.push('animation reporting unavailable')
|
|
2289
|
+
if (last.workerBusy && !last.motionUnavailable) blockers.push('a render worker too busy to report')
|
|
2285
2290
|
if (last.webViewStarting) blockers.push(last.webViewBlocker || 'webView still starting')
|
|
2286
2291
|
if (!maestro && last.layout !== report.layout) blockers.push('layout still changing')
|
|
2287
2292
|
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.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;
|