peachsim 0.1.2241 → 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/bridge-flow-runner.ts +10 -9
- package/cli/commands/flow.ts +4 -0
- package/cli/commands/inspect/settling.ts +496 -515
- package/cli/commands/platform.ts +2 -0
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +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 +115 -28
- 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 +498 -518
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +114 -27
- 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 +122 -40
- 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 +496 -516
- 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 +492 -512
- package/dist-lib/sdk.mjs +492 -512
- package/dist-lib/skills.cjs +632 -569
- package/dist-lib/swift-compile.cjs +13 -4
- package/dist-lib/swift-compile.mjs +13 -4
- 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 +507 -419
- 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/render-worker/compositor-protocol.d.ts +3 -0
- 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 +98 -17
- package/src/swift-shared-sdk.ts +6 -1
- package/src/swift-standins.ts +11 -4
- package/src/swift-submit.ts +3 -1
- package/src/swift-wasm-prune.ts +28 -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;
|
|
@@ -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
|
});
|
|
@@ -21091,7 +21091,7 @@ function weakenFoundationOverridesInArchive(arBuf) {
|
|
|
21091
21091
|
} else if (name3.endsWith("/")) {
|
|
21092
21092
|
name3 = name3.slice(0, -1);
|
|
21093
21093
|
}
|
|
21094
|
-
if (name3.endsWith("NSSortDescriptor.o")) {
|
|
21094
|
+
if (name3.endsWith("Bundle.o") || name3.endsWith("NSSortDescriptor.o")) {
|
|
21095
21095
|
weakenFoundationSymbolsInWasmObj(arBuf.subarray(bodyStart, bodyEnd));
|
|
21096
21096
|
}
|
|
21097
21097
|
pos = bodyEnd + (size & 1);
|
|
@@ -21297,6 +21297,9 @@ var init_swift_shared_sdk = __esm({
|
|
|
21297
21297
|
init_swift_toolchain();
|
|
21298
21298
|
distributionHeaderRoots = /* @__PURE__ */ new Map();
|
|
21299
21299
|
WEAKEN_FOUNDATION_SYMS = /* @__PURE__ */ new Set([
|
|
21300
|
+
"$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZ",
|
|
21301
|
+
"$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZ",
|
|
21302
|
+
"$s10Foundation6BundleC22preferredLocalizationsSaySSGvg",
|
|
21300
21303
|
"$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_SbtcfC",
|
|
21301
21304
|
"$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_Sbtcfc",
|
|
21302
21305
|
"$s10Foundation16NSSortDescriptorC3keySSSgvg",
|
|
@@ -22213,7 +22216,7 @@ function patchSwiftrtObject(src) {
|
|
|
22213
22216
|
}
|
|
22214
22217
|
return buf;
|
|
22215
22218
|
}
|
|
22216
|
-
function parseWasmObjectBytes(file, buf, isDist) {
|
|
22219
|
+
function parseWasmObjectBytes(file, buf, isDist, symbolFlagOffsets) {
|
|
22217
22220
|
let pos = 8;
|
|
22218
22221
|
let numImportFuncs = 0;
|
|
22219
22222
|
const importFuncNames = [];
|
|
@@ -22369,6 +22372,7 @@ function parseWasmObjectBytes(file, buf, isDist) {
|
|
|
22369
22372
|
let cur = p2;
|
|
22370
22373
|
for (let i = 0; i < cnt; i++) {
|
|
22371
22374
|
const kind = buf[cur++];
|
|
22375
|
+
if (symbolFlagOffsets) symbolFlagOffsets[i] = cur;
|
|
22372
22376
|
const [fl, c2] = readULEB2(buf, cur);
|
|
22373
22377
|
cur = c2;
|
|
22374
22378
|
symKind[i] = kind;
|
|
@@ -22626,6 +22630,23 @@ function parseWasmObjectCached(file, isDist, useCache) {
|
|
|
22626
22630
|
if (useCache) parsedObjectCache.set(key2, parsed);
|
|
22627
22631
|
return parsed;
|
|
22628
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
|
+
}
|
|
22629
22650
|
function guestWasmSymbols(bytes) {
|
|
22630
22651
|
const object6 = parseWasmObjectBytes("", bytes, false);
|
|
22631
22652
|
return {
|
|
@@ -23250,6 +23271,11 @@ function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTar
|
|
|
23250
23271
|
if (def) activateSymbolInObj(def.obj, def.symIdx);
|
|
23251
23272
|
}
|
|
23252
23273
|
const WEAKEN_SDK_FOUNDATION_SYMS = /* @__PURE__ */ new Set([
|
|
23274
|
+
"$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZ",
|
|
23275
|
+
"$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZ",
|
|
23276
|
+
"$s10Foundation6BundleC22preferredLocalizationsSaySSGvg",
|
|
23277
|
+
"$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZTf4nnd_n",
|
|
23278
|
+
"$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZTf4nd_n",
|
|
23253
23279
|
"$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_SbtcfC",
|
|
23254
23280
|
"$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_Sbtcfc",
|
|
23255
23281
|
"$s10Foundation16NSSortDescriptorC3keySSSgvg",
|
|
@@ -33858,7 +33884,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
33858
33884
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
33859
33885
|
MULTI_MANIFEST_VERSION = 68;
|
|
33860
33886
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
33861
|
-
compilerSourceDigest = true ? "
|
|
33887
|
+
compilerSourceDigest = true ? "b60df189803fef5c8b8fd902ae0a694ffbefe056af8f5fc06f707750dc97f09b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
33862
33888
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
33863
33889
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
33864
33890
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -38341,7 +38367,7 @@ var init_swift_standin_digest = __esm({
|
|
|
38341
38367
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
38342
38368
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
38343
38369
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
38344
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
38370
|
+
STANDIN_SOURCE_DIGEST = true ? "9d24428078636d005cc1401363f5f50704e049f52802b0493da7eea674470942" : standinSourceDigest();
|
|
38345
38371
|
}
|
|
38346
38372
|
});
|
|
38347
38373
|
|
|
@@ -38754,7 +38780,63 @@ function nativeStaticLibrary(file, recipe2, moduleRoot) {
|
|
|
38754
38780
|
throw new Error(
|
|
38755
38781
|
`${file}: native WebAssembly archive ${entry.name}/${entry.key} is not built for this compiler and SDK`
|
|
38756
38782
|
);
|
|
38757
|
-
|
|
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;
|
|
38758
38840
|
}
|
|
38759
38841
|
function combineNativeStaticLibraries(files2, moduleRoot) {
|
|
38760
38842
|
if (files2.length === 1) return files2[0];
|
|
@@ -38792,6 +38874,7 @@ var init_native_static_libraries = __esm({
|
|
|
38792
38874
|
init_native_prebuilt();
|
|
38793
38875
|
init_swift_compile();
|
|
38794
38876
|
init_swift_distribution();
|
|
38877
|
+
init_swift_wasm_prune();
|
|
38795
38878
|
init_swift_xcframework();
|
|
38796
38879
|
NATIVE_STATIC_LIBRARY_RECIPES = [
|
|
38797
38880
|
// react-native-libsodium's minimal apple build of the 1.0.20 release
|
|
@@ -38820,6 +38903,7 @@ var init_native_static_libraries = __esm({
|
|
|
38820
38903
|
},
|
|
38821
38904
|
{
|
|
38822
38905
|
name: "anydoc_mobile",
|
|
38906
|
+
runtime: "rust",
|
|
38823
38907
|
nativeSha256: "03b721dd9e98ec2767f7952aa65cde57d0c33d7ec80c9aaf7ab5ba77e055a25c",
|
|
38824
38908
|
upstream: "e41ad6375fd80b64c4183d1a3f901d1f640a7953",
|
|
38825
38909
|
recipe: "c180538533a79fe1c8babda204170806abe80dd4a546689dcc34c109c9fbfcfc",
|
|
@@ -38827,6 +38911,7 @@ var init_native_static_libraries = __esm({
|
|
|
38827
38911
|
},
|
|
38828
38912
|
{
|
|
38829
38913
|
name: "ratex_ffi",
|
|
38914
|
+
runtime: "rust",
|
|
38830
38915
|
nativeSha256: "8c41abcd8dd4e562e65cf5b88467a3493089c359d0863360dc65a5b88149e837",
|
|
38831
38916
|
upstream: "a4296fa21cd40a56543602511bcf417014f4fee7cf5e1eaab58e0ac9610e3f63",
|
|
38832
38917
|
// the unchanged source build, pinned Rust release and committed Cargo.lock.
|
|
@@ -38835,6 +38920,7 @@ var init_native_static_libraries = __esm({
|
|
|
38835
38920
|
},
|
|
38836
38921
|
{
|
|
38837
38922
|
name: "ratex_ffi_0_1_14",
|
|
38923
|
+
runtime: "rust",
|
|
38838
38924
|
nativeSha256: "bdd2bf679fcc981d98d36733b3bd083225a7397bb82bbd462c89088c6e0580a8",
|
|
38839
38925
|
upstream: "2da907eb5dfcb464c7eef3b4c657fbdee144e3c6633e81efb1e56dcf1c76e01b",
|
|
38840
38926
|
recipe: "537054295b8230548b3959b38459af2606cae69b226e37f6a2e0c227a8ad3cb1",
|
|
@@ -38845,112 +38931,112 @@ var init_native_static_libraries = __esm({
|
|
|
38845
38931
|
name: "skia",
|
|
38846
38932
|
nativeSha256: "5312f2b194b1f6b6721388028bf919e56400278245b039f47136aa98f0582333",
|
|
38847
38933
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
38848
|
-
recipe: "
|
|
38934
|
+
recipe: "8675d17f45d09403bc82f0377f57a6258eb2e44e0a301278cb8e737517d9e6c5",
|
|
38849
38935
|
archive: "libskia.a"
|
|
38850
38936
|
},
|
|
38851
38937
|
{
|
|
38852
38938
|
name: "skia_svg",
|
|
38853
38939
|
nativeSha256: "77adc498cff85db7850fb713c306681c6337f9b4ec42991b3764c8f3eff9d8d0",
|
|
38854
38940
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
38855
|
-
recipe: "
|
|
38941
|
+
recipe: "8675d17f45d09403bc82f0377f57a6258eb2e44e0a301278cb8e737517d9e6c5",
|
|
38856
38942
|
archive: "libsvg.a"
|
|
38857
38943
|
},
|
|
38858
38944
|
{
|
|
38859
38945
|
name: "skia_skshaper",
|
|
38860
38946
|
nativeSha256: "830bcf260bd24fd79ee5d323e26ec667638795e3a0e555f1093371b8342c345c",
|
|
38861
38947
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
38862
|
-
recipe: "
|
|
38948
|
+
recipe: "8675d17f45d09403bc82f0377f57a6258eb2e44e0a301278cb8e737517d9e6c5",
|
|
38863
38949
|
archive: "libskshaper.a"
|
|
38864
38950
|
},
|
|
38865
38951
|
{
|
|
38866
38952
|
name: "skia_skparagraph",
|
|
38867
38953
|
nativeSha256: "26afd4e5b11d46b0820a2cd7fd9918eb5a041946e1a1c0d4b91a5d54877e9dda",
|
|
38868
38954
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
38869
|
-
recipe: "
|
|
38955
|
+
recipe: "8675d17f45d09403bc82f0377f57a6258eb2e44e0a301278cb8e737517d9e6c5",
|
|
38870
38956
|
archive: "libskparagraph.a"
|
|
38871
38957
|
},
|
|
38872
38958
|
{
|
|
38873
38959
|
name: "skia_skunicode_core",
|
|
38874
38960
|
nativeSha256: "629f58c4e81157d42e353b2b255bebb2fd94d1f31d8f8157e982fa4367710526",
|
|
38875
38961
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
38876
|
-
recipe: "
|
|
38962
|
+
recipe: "8675d17f45d09403bc82f0377f57a6258eb2e44e0a301278cb8e737517d9e6c5",
|
|
38877
38963
|
archive: "libskunicode_core.a"
|
|
38878
38964
|
},
|
|
38879
38965
|
{
|
|
38880
38966
|
name: "skia_skunicode_libgrapheme",
|
|
38881
38967
|
nativeSha256: "047bd82306ba688453a3ff9dc02e203cdf16f2084551cca54f5d2b099baf1895",
|
|
38882
38968
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
38883
|
-
recipe: "
|
|
38969
|
+
recipe: "8675d17f45d09403bc82f0377f57a6258eb2e44e0a301278cb8e737517d9e6c5",
|
|
38884
38970
|
archive: "libskunicode_libgrapheme.a"
|
|
38885
38971
|
},
|
|
38886
38972
|
{
|
|
38887
38973
|
name: "skia_skottie",
|
|
38888
38974
|
nativeSha256: "75c0dfd82a256e761cddc45475b8109ed8c9a442767cf3a8bf8720eef0dd4af7",
|
|
38889
38975
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
38890
|
-
recipe: "
|
|
38976
|
+
recipe: "8675d17f45d09403bc82f0377f57a6258eb2e44e0a301278cb8e737517d9e6c5",
|
|
38891
38977
|
archive: "libskottie.a"
|
|
38892
38978
|
},
|
|
38893
38979
|
{
|
|
38894
38980
|
name: "skia_sksg",
|
|
38895
38981
|
nativeSha256: "df9652a46505d3c5c74d55b52295ef39218d2b5856e074117461fa2348312c8d",
|
|
38896
38982
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
38897
|
-
recipe: "
|
|
38983
|
+
recipe: "8675d17f45d09403bc82f0377f57a6258eb2e44e0a301278cb8e737517d9e6c5",
|
|
38898
38984
|
archive: "libsksg.a"
|
|
38899
38985
|
},
|
|
38900
38986
|
{
|
|
38901
38987
|
name: "skia",
|
|
38902
38988
|
nativeSha256: "c9b007c4da16f66d84b2f108af719b424ef91ee0759e58df0b76930bc6f82e31",
|
|
38903
38989
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
38904
|
-
recipe: "
|
|
38990
|
+
recipe: "8675d17f45d09403bc82f0377f57a6258eb2e44e0a301278cb8e737517d9e6c5",
|
|
38905
38991
|
archive: "libskia.a"
|
|
38906
38992
|
},
|
|
38907
38993
|
{
|
|
38908
38994
|
name: "skia_svg",
|
|
38909
38995
|
nativeSha256: "159705737769610b60216b114a28ba833840aa1df7833424df99edec4405b86f",
|
|
38910
38996
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
38911
|
-
recipe: "
|
|
38997
|
+
recipe: "8675d17f45d09403bc82f0377f57a6258eb2e44e0a301278cb8e737517d9e6c5",
|
|
38912
38998
|
archive: "libsvg.a"
|
|
38913
38999
|
},
|
|
38914
39000
|
{
|
|
38915
39001
|
name: "skia_skshaper",
|
|
38916
39002
|
nativeSha256: "934f3dbf3f38bca87b463b664a17c1588840f86ec89cf6961fb2a89b6336b35b",
|
|
38917
39003
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
38918
|
-
recipe: "
|
|
39004
|
+
recipe: "8675d17f45d09403bc82f0377f57a6258eb2e44e0a301278cb8e737517d9e6c5",
|
|
38919
39005
|
archive: "libskshaper.a"
|
|
38920
39006
|
},
|
|
38921
39007
|
{
|
|
38922
39008
|
name: "skia_skparagraph",
|
|
38923
39009
|
nativeSha256: "29a48349fc9b75c252b22fc6ca5ade90636900f82beec58780f03fd66ab345b3",
|
|
38924
39010
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
38925
|
-
recipe: "
|
|
39011
|
+
recipe: "8675d17f45d09403bc82f0377f57a6258eb2e44e0a301278cb8e737517d9e6c5",
|
|
38926
39012
|
archive: "libskparagraph.a"
|
|
38927
39013
|
},
|
|
38928
39014
|
{
|
|
38929
39015
|
name: "skia_skunicode_core",
|
|
38930
39016
|
nativeSha256: "096e5139c4de528dbba5a9605895f4c725853e48225503bdfa9c1d70241e5f58",
|
|
38931
39017
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
38932
|
-
recipe: "
|
|
39018
|
+
recipe: "8675d17f45d09403bc82f0377f57a6258eb2e44e0a301278cb8e737517d9e6c5",
|
|
38933
39019
|
archive: "libskunicode_core.a"
|
|
38934
39020
|
},
|
|
38935
39021
|
{
|
|
38936
39022
|
name: "skia_skunicode_libgrapheme",
|
|
38937
39023
|
nativeSha256: "d1ec3c2d5ad6889eb4fbf4a6bab74f39946739501d40de903f7d8cb2181ac37d",
|
|
38938
39024
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
38939
|
-
recipe: "
|
|
39025
|
+
recipe: "8675d17f45d09403bc82f0377f57a6258eb2e44e0a301278cb8e737517d9e6c5",
|
|
38940
39026
|
archive: "libskunicode_libgrapheme.a"
|
|
38941
39027
|
},
|
|
38942
39028
|
{
|
|
38943
39029
|
name: "skia_skottie",
|
|
38944
39030
|
nativeSha256: "52ea2e046f45f51df6027d783e923864e8c4ef94a1fe4fc5971e436574d8ae57",
|
|
38945
39031
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
38946
|
-
recipe: "
|
|
39032
|
+
recipe: "8675d17f45d09403bc82f0377f57a6258eb2e44e0a301278cb8e737517d9e6c5",
|
|
38947
39033
|
archive: "libskottie.a"
|
|
38948
39034
|
},
|
|
38949
39035
|
{
|
|
38950
39036
|
name: "skia_sksg",
|
|
38951
39037
|
nativeSha256: "541a74d8f83dc411efe8eeac377486a5054fab4c7710afe406a20a27efe8f627",
|
|
38952
39038
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
38953
|
-
recipe: "
|
|
39039
|
+
recipe: "8675d17f45d09403bc82f0377f57a6258eb2e44e0a301278cb8e737517d9e6c5",
|
|
38954
39040
|
archive: "libsksg.a"
|
|
38955
39041
|
},
|
|
38956
39042
|
{
|
|
@@ -42270,7 +42356,8 @@ function standinLibrary(binary2, searchRoot, toolchain) {
|
|
|
42270
42356
|
throw new Error(
|
|
42271
42357
|
`${import_node_path75.default.relative(searchRoot, supplied)} holds no single static library${library ? ` named ${library}` : ""}`
|
|
42272
42358
|
);
|
|
42273
|
-
|
|
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);
|
|
42274
42361
|
}
|
|
42275
42362
|
if (native && toolchain && import_node_fs77.default.existsSync(native.file)) {
|
|
42276
42363
|
const recipe2 = nativeStaticLibraryRecipe(import_node_fs77.default.readFileSync(native.file));
|
|
@@ -42295,8 +42382,8 @@ function standinLibrary(binary2, searchRoot, toolchain) {
|
|
|
42295
42382
|
if (!toolchain) throw new Error("Rust native libraries need the Swift SDK");
|
|
42296
42383
|
const entry = rustCrateEntry(manifest, library, toolchain.moduleRoot, searchRoot);
|
|
42297
42384
|
const prebuilt = fetchNativeEntry("rust", entry.name, entry.key);
|
|
42298
|
-
|
|
42299
|
-
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);
|
|
42300
42387
|
}
|
|
42301
42388
|
function buildRustCrate(manifest, library, searchRoot, moduleRoot, entry = rustCrateEntry(manifest, library, moduleRoot, searchRoot)) {
|
|
42302
42389
|
const compiler = swiftModuleToolchain(moduleRoot);
|
|
@@ -54628,7 +54715,7 @@ var init_nitro_superset = __esm({
|
|
|
54628
54715
|
init_nitroContract();
|
|
54629
54716
|
init_swift_standin_digest();
|
|
54630
54717
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
54631
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
54718
|
+
NITRO_COMPILER_DIGEST = true ? "8e7da6e1e94c6020fbefec0b7297e54c6b727169dad0f2470f7606913c295d0f" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
54632
54719
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
54633
54720
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
54634
54721
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -64269,7 +64356,7 @@ init_swift_native_pin();
|
|
|
64269
64356
|
init_xcode_project();
|
|
64270
64357
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
64271
64358
|
function expoNativeCompilerDigestValue() {
|
|
64272
|
-
return true ? "
|
|
64359
|
+
return true ? "627212ff3caecd928de8497818fc5fd77af14529e378d77e3ea67a523f33e4c1" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
64273
64360
|
}
|
|
64274
64361
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
64275
64362
|
function readSources(value) {
|
|
@@ -79531,20 +79618,17 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
|
|
|
79531
79618
|
})
|
|
79532
79619
|
);
|
|
79533
79620
|
}
|
|
79621
|
+
cliHasPendingCommand(ws) {
|
|
79622
|
+
for (const entry of this.cliBySentId.values()) if (entry.ws === ws) return true;
|
|
79623
|
+
return false;
|
|
79624
|
+
}
|
|
79534
79625
|
sweepIdleCliClients() {
|
|
79535
79626
|
const now = Date.now();
|
|
79536
79627
|
let swept = false;
|
|
79537
79628
|
for (const [ws, simId] of this.cliSimBySocket) {
|
|
79538
79629
|
const lastCommand = this.cliLastCommandAt.get(ws) ?? 0;
|
|
79539
79630
|
if (now - lastCommand < _SootSimBridgeHost.CLI_IDLE_TIMEOUT_MS) continue;
|
|
79540
|
-
|
|
79541
|
-
for (const entry of this.cliBySentId.values()) {
|
|
79542
|
-
if (entry.ws === ws) {
|
|
79543
|
-
hasPendingCommand = true;
|
|
79544
|
-
break;
|
|
79545
|
-
}
|
|
79546
|
-
}
|
|
79547
|
-
if (hasPendingCommand) continue;
|
|
79631
|
+
if (this.cliHasPendingCommand(ws)) continue;
|
|
79548
79632
|
this.cliSimBySocket.delete(ws);
|
|
79549
79633
|
this.cliLastCommandAt.delete(ws);
|
|
79550
79634
|
for (const [sentId, entry] of this.cliBySentId) {
|
|
@@ -79891,11 +79975,9 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
|
|
|
79891
79975
|
const otherKey = this.cliIdentityKeyBySocket.get(cliWs);
|
|
79892
79976
|
if (otherKey && otherKey !== cliIdentityKey) {
|
|
79893
79977
|
this.cliSimBySocket.delete(cliWs);
|
|
79894
|
-
try {
|
|
79895
|
-
cliWs.close(1e3, "lease claimed by another cli");
|
|
79896
|
-
} catch {
|
|
79897
|
-
}
|
|
79898
79978
|
bootedCount++;
|
|
79979
|
+
if (this.cliHasPendingCommand(cliWs)) continue;
|
|
79980
|
+
cliWs.close(1e3, "lease claimed by another cli");
|
|
79899
79981
|
}
|
|
79900
79982
|
}
|
|
79901
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;
|