peachsim 0.1.2242 → 0.1.2244
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/binary-sidecar.ts +89 -0
- package/cli/bridge-flow-runner.ts +2 -2
- package/cli/cloud-client.ts +2 -0
- package/cli/commands/control.ts +16 -0
- package/cli/commands/device.ts +1 -1
- package/cli/commands/flow.ts +6 -2
- package/cli/commands/inspect/core.ts +0 -20
- package/cli/commands/inspect/settling.ts +15 -2
- package/cli/commands/inspect.ts +5 -5
- package/cli/commands/preview.ts +12 -5
- package/cli/commands/shell-boolean-mode.ts +1 -1
- package/cli/commands/slides.ts +1 -1
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +94 -15
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +16 -5
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +93 -14
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +121 -28
- package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +18 -7
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +11 -2
- package/dist-lib/menu.mjs +11 -2
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +3 -3
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +55 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +16 -24
- package/dist-lib/sdk.mjs +16 -22
- package/dist-lib/skills.cjs +973 -755
- package/dist-lib/swift-compile.cjs +4 -3
- package/dist-lib/swift-compile.mjs +4 -3
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +485 -405
- package/dist-lib/vite.cjs +3 -3
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +1 -0
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -1
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/src/binarySidecarContract.ts +45 -0
- package/src/host/bridge-host.ts +12 -13
- package/src/menu.ts +14 -0
- package/src/native-static-libraries.ts +82 -1
- package/src/swift-host.ts +6 -7
- package/src/swift-standins.ts +11 -4
- package/src/swift-submit.ts +3 -1
- package/src/swift-wasm-prune.ts +23 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -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);
|
|
@@ -48354,6 +48433,9 @@ function packageSources(packagePath, hosted = false, linked = /* @__PURE__ */ ne
|
|
|
48354
48433
|
return files2;
|
|
48355
48434
|
}
|
|
48356
48435
|
function packageSnapshot(project2, entry, moduleRoot) {
|
|
48436
|
+
moduleRoot ??= xcodeProjects().get(project2.packagePath)?.moduleRoot ?? linkedModuleRoots(project2.packagePath).find(
|
|
48437
|
+
(root) => import_node_fs85.default.existsSync(import_node_path83.default.join(root, "toolchain.json"))
|
|
48438
|
+
);
|
|
48357
48439
|
const layout2 = xcodeLayout(project2.packagePath);
|
|
48358
48440
|
const pin2 = moduleRoot ? swiftDistributionAt(moduleRoot) ?? JSON.parse(import_node_fs85.default.readFileSync(import_node_path83.default.join(moduleRoot, "toolchain.json"), "utf8")) : null;
|
|
48359
48441
|
const linked = layout2 ? standinLibraries(
|
|
@@ -48824,10 +48906,7 @@ function scopedArtifact(project2, entry, moduleRoot, signal) {
|
|
|
48824
48906
|
queued.then(resolve7, reject).finally(() => signal.removeEventListener("abort", stop));
|
|
48825
48907
|
});
|
|
48826
48908
|
}
|
|
48827
|
-
const
|
|
48828
|
-
(root) => import_node_fs85.default.existsSync(import_node_path83.default.join(root, "toolchain.json"))
|
|
48829
|
-
);
|
|
48830
|
-
const snapshot = packageSnapshot(project2, entry, snapshotRoot);
|
|
48909
|
+
const snapshot = packageSnapshot(project2, entry, moduleRoot);
|
|
48831
48910
|
const compiled = project2.artifact?.compiled;
|
|
48832
48911
|
if (project2.artifact && compiled && compiled.module === moduleStamp(project2.packagePath, moduleRoot, false)) {
|
|
48833
48912
|
const input = snapshotCompileInput(snapshot);
|
|
@@ -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 ? "6a6f80ad2d874ad53a058d4aa8764ae971a237caf160c09603cebe64e1b6bbf6" : 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();
|
|
@@ -59854,6 +59933,15 @@ function resolveMetroIosAssetDestFiles(destFiles, descriptor, scale) {
|
|
|
59854
59933
|
(file) => destFileMatchesLocation(file, descriptor.httpServerLocation, filename)
|
|
59855
59934
|
).sort();
|
|
59856
59935
|
}
|
|
59936
|
+
function resolveMetroAndroidAssetDestFiles(destFiles, descriptor, scale) {
|
|
59937
|
+
const location = descriptor.httpServerLocation.replace(/^\//, "");
|
|
59938
|
+
const identifier2 = `${location}/${descriptor.name}`.toLowerCase().replace(/\//g, "_").replace(/[^a-z0-9_]/g, "").replace(/^(?:assets|assetsunstable_path)_/, "");
|
|
59939
|
+
const density = androidDensities.get(scale);
|
|
59940
|
+
const folder = !androidDrawableTypes.has(descriptor.type) ? "raw" : density && `drawable-${density}`;
|
|
59941
|
+
if (!folder) return [];
|
|
59942
|
+
const relative4 = `${folder}/${identifier2}.${descriptor.type}`;
|
|
59943
|
+
return destFiles.some((file) => file.replaceAll("\\", "/") === relative4) ? [relative4] : [];
|
|
59944
|
+
}
|
|
59857
59945
|
async function embedMetroAssetFiles(bundle, read) {
|
|
59858
59946
|
const sites = scanAssetDescriptorSites(bundle);
|
|
59859
59947
|
const embedded = /* @__PURE__ */ new Map();
|
|
@@ -59974,7 +60062,7 @@ function rewriteDescriptorObject(bundle, site, entry) {
|
|
|
59974
60062
|
const missing2 = countNewlines(bundle.slice(site.start, site.end)) - countNewlines(rewritten);
|
|
59975
60063
|
return missing2 > 0 ? `${rewritten.slice(0, -1)}${"\n".repeat(missing2)}}` : rewritten;
|
|
59976
60064
|
}
|
|
59977
|
-
var EXPRESSION_KEYWORDS, PLACEHOLDER_JPEG, METRO_ASSET_PLACEHOLDERS;
|
|
60065
|
+
var EXPRESSION_KEYWORDS, PLACEHOLDER_JPEG, METRO_ASSET_PLACEHOLDERS, androidDrawableTypes, androidDensities;
|
|
59978
60066
|
var init_metroAssetArtifact = __esm({
|
|
59979
60067
|
"../contrast-bundler/src/metroAssetArtifact.ts"() {
|
|
59980
60068
|
"use strict";
|
|
@@ -60005,6 +60093,15 @@ var init_metroAssetArtifact = __esm({
|
|
|
60005
60093
|
["gif", "R0lGODlhCAAIAPAAACYmK/8A/yH5BAAAAAAALAAAAAAIAAgAAAINjAMJh8q6DoTPSWvoKQA7"],
|
|
60006
60094
|
["webp", "UklGRiQAAABXRUJQVlA4TBcAAAAvB8ABAA8wJj/5P8v//IcH/gAf0f94AAA="]
|
|
60007
60095
|
]);
|
|
60096
|
+
androidDrawableTypes = /* @__PURE__ */ new Set(["gif", "jpeg", "jpg", "ktx", "png", "webp", "xml"]);
|
|
60097
|
+
androidDensities = /* @__PURE__ */ new Map([
|
|
60098
|
+
[0.75, "ldpi"],
|
|
60099
|
+
[1, "mdpi"],
|
|
60100
|
+
[1.5, "hdpi"],
|
|
60101
|
+
[2, "xhdpi"],
|
|
60102
|
+
[3, "xxhdpi"],
|
|
60103
|
+
[4, "xxxhdpi"]
|
|
60104
|
+
]);
|
|
60008
60105
|
}
|
|
60009
60106
|
});
|
|
60010
60107
|
|
|
@@ -60684,6 +60781,7 @@ function placeMetroDescriptor(listing, descriptor) {
|
|
|
60684
60781
|
(scale) => distinctByContent(listing.directory, [
|
|
60685
60782
|
.../* @__PURE__ */ new Set([
|
|
60686
60783
|
...resolveMetroIosAssetDestFiles(listing.files, descriptor, scale),
|
|
60784
|
+
...resolveMetroAndroidAssetDestFiles(listing.files, descriptor, scale),
|
|
60687
60785
|
...resolveExpoHashedAssetFiles(listing.files, descriptor, scale)
|
|
60688
60786
|
])
|
|
60689
60787
|
])
|
|
@@ -64277,7 +64375,7 @@ init_swift_native_pin();
|
|
|
64277
64375
|
init_xcode_project();
|
|
64278
64376
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
64279
64377
|
function expoNativeCompilerDigestValue() {
|
|
64280
|
-
return true ? "
|
|
64378
|
+
return true ? "cf0557e09d89c8c6883a1e9ce3f3f57b9f43040a8f4e81e39c612c37d34d8430" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
64281
64379
|
}
|
|
64282
64380
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
64283
64381
|
function readSources(value) {
|
|
@@ -79539,20 +79637,17 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
|
|
|
79539
79637
|
})
|
|
79540
79638
|
);
|
|
79541
79639
|
}
|
|
79640
|
+
cliHasPendingCommand(ws) {
|
|
79641
|
+
for (const entry of this.cliBySentId.values()) if (entry.ws === ws) return true;
|
|
79642
|
+
return false;
|
|
79643
|
+
}
|
|
79542
79644
|
sweepIdleCliClients() {
|
|
79543
79645
|
const now = Date.now();
|
|
79544
79646
|
let swept = false;
|
|
79545
79647
|
for (const [ws, simId] of this.cliSimBySocket) {
|
|
79546
79648
|
const lastCommand = this.cliLastCommandAt.get(ws) ?? 0;
|
|
79547
79649
|
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;
|
|
79650
|
+
if (this.cliHasPendingCommand(ws)) continue;
|
|
79556
79651
|
this.cliSimBySocket.delete(ws);
|
|
79557
79652
|
this.cliLastCommandAt.delete(ws);
|
|
79558
79653
|
for (const [sentId, entry] of this.cliBySentId) {
|
|
@@ -79899,11 +79994,9 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
|
|
|
79899
79994
|
const otherKey = this.cliIdentityKeyBySocket.get(cliWs);
|
|
79900
79995
|
if (otherKey && otherKey !== cliIdentityKey) {
|
|
79901
79996
|
this.cliSimBySocket.delete(cliWs);
|
|
79902
|
-
try {
|
|
79903
|
-
cliWs.close(1e3, "lease claimed by another cli");
|
|
79904
|
-
} catch {
|
|
79905
|
-
}
|
|
79906
79997
|
bootedCount++;
|
|
79998
|
+
if (this.cliHasPendingCommand(cliWs)) continue;
|
|
79999
|
+
cliWs.close(1e3, "lease claimed by another cli");
|
|
79907
80000
|
}
|
|
79908
80001
|
}
|
|
79909
80002
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -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.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -11394,10 +11394,14 @@ function renderActivityIdleScript({
|
|
|
11394
11394
|
maxMs,
|
|
11395
11395
|
requiredStillMs,
|
|
11396
11396
|
transitionStartWindowMs,
|
|
11397
|
-
transitionTimeoutMs
|
|
11397
|
+
transitionTimeoutMs,
|
|
11398
|
+
skipIfInspectActive
|
|
11398
11399
|
}) {
|
|
11399
11400
|
return `(async () => {
|
|
11400
11401
|
const start = Date.now()
|
|
11402
|
+
if (${skipIfInspectActive} && globalThis.__sootsimEngineState?.inspectActive === true) {
|
|
11403
|
+
return { settled: true, elapsed: 0, blockedBy: '' }
|
|
11404
|
+
}
|
|
11401
11405
|
const budgetMs = ${Math.max(0, Math.round(maxMs))}
|
|
11402
11406
|
const requiredStillMs = ${Math.max(1, Math.round(requiredStillMs))}
|
|
11403
11407
|
let deadline = start + budgetMs
|
|
@@ -11501,6 +11505,7 @@ async function waitForSootsimIdle({
|
|
|
11501
11505
|
screenStill = false,
|
|
11502
11506
|
maestro = false,
|
|
11503
11507
|
motionOnly = false,
|
|
11508
|
+
skipIfInspectActive = false,
|
|
11504
11509
|
readyPlayback = false,
|
|
11505
11510
|
transitionStartWindowMs = 80,
|
|
11506
11511
|
transitionTimeoutMs = 4e3
|
|
@@ -11516,7 +11521,8 @@ async function waitForSootsimIdle({
|
|
|
11516
11521
|
maxMs,
|
|
11517
11522
|
requiredStillMs: Math.max(1, Math.round(stablePolls)) * Math.max(1, Math.round(pollMs)),
|
|
11518
11523
|
transitionStartWindowMs,
|
|
11519
|
-
transitionTimeoutMs
|
|
11524
|
+
transitionTimeoutMs,
|
|
11525
|
+
skipIfInspectActive
|
|
11520
11526
|
}) : `(async () => {
|
|
11521
11527
|
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
|
|
11522
11528
|
// tests inject a virtual clock as globalThis.__sootsimIdleClock ({ now, sleep })
|
|
@@ -11610,6 +11616,7 @@ async function waitForSootsimIdle({
|
|
|
11610
11616
|
let webViewBlocker = ''
|
|
11611
11617
|
let visibleMotion = false
|
|
11612
11618
|
let visibleMotionBy = ''
|
|
11619
|
+
let motionUnavailable = false
|
|
11613
11620
|
// the reads are independent, so they run concurrently: a loaded sim
|
|
11614
11621
|
// answers each one late, and a poll that waits for them in turn
|
|
11615
11622
|
// costs their sum, which fits too few polls in the budget to settle.
|
|
@@ -11680,6 +11687,9 @@ async function waitForSootsimIdle({
|
|
|
11680
11687
|
.slice(0, 4)
|
|
11681
11688
|
.map((anim) => anim.source + '/' + anim.kind + '#' + anim.id + ' at ' + anim.current + (anim.loop ? ' loop' : ''))
|
|
11682
11689
|
.join(', ')
|
|
11690
|
+
} else if (screenStill) {
|
|
11691
|
+
motionUnavailable = true
|
|
11692
|
+
workerBusy = true
|
|
11683
11693
|
}
|
|
11684
11694
|
}
|
|
11685
11695
|
const stats = await statsRead
|
|
@@ -11857,7 +11867,7 @@ async function waitForSootsimIdle({
|
|
|
11857
11867
|
}
|
|
11858
11868
|
}
|
|
11859
11869
|
}
|
|
11860
|
-
return { layout: nodes.join(';'), nodeRows, nativeHierarchy, visibleMotion, visibleMotionBy, animating, animatingBy, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
|
|
11870
|
+
return { layout: nodes.join(';'), nodeRows, nativeHierarchy, visibleMotion, visibleMotionBy, animating, animatingBy, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, motionUnavailable, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
|
|
11861
11871
|
}
|
|
11862
11872
|
|
|
11863
11873
|
// how long generic background network is allowed to keep us waiting AFTER
|
|
@@ -12047,7 +12057,8 @@ async function waitForSootsimIdle({
|
|
|
12047
12057
|
if (!maestro && last.appCommits !== null && report.appCommits !== null && last.appCommits !== report.appCommits) blockers.push('layout commits still landing')
|
|
12048
12058
|
if (!maestro && last.nodeCount !== null && report.nodeCount !== null && last.nodeCount !== report.nodeCount) blockers.push('node count still changing')
|
|
12049
12059
|
if (last.pendingFetches > 0) blockers.push(last.pendingFetches + ' image fetches pending')
|
|
12050
|
-
if (last.
|
|
12060
|
+
if (last.motionUnavailable) blockers.push('animation reporting unavailable')
|
|
12061
|
+
if (last.workerBusy && !last.motionUnavailable) blockers.push('a render worker too busy to report')
|
|
12051
12062
|
if (last.webViewStarting) blockers.push(last.webViewBlocker || 'webView still starting')
|
|
12052
12063
|
if (!maestro && last.layout !== report.layout) blockers.push('layout still changing')
|
|
12053
12064
|
if (maestro && !hierarchyUnchanged(last.nativeHierarchy, report.nativeHierarchy)) blockers.push(last.nativeHierarchy === null ? 'native accessibility hierarchy unavailable' : 'native accessibility hierarchy still changing')
|
|
@@ -13503,7 +13514,7 @@ function readIosSdkTree(root) {
|
|
|
13503
13514
|
|
|
13504
13515
|
// src/swift-standin-digest.ts
|
|
13505
13516
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13506
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
13517
|
+
var STANDIN_SOURCE_DIGEST = true ? "9d24428078636d005cc1401363f5f50704e049f52802b0493da7eea674470942" : standinSourceDigest();
|
|
13507
13518
|
|
|
13508
13519
|
// src/expo-native-workspace.ts
|
|
13509
13520
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -16042,7 +16053,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
16042
16053
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
16043
16054
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
16044
16055
|
).join("");
|
|
16045
|
-
var compilerSourceDigest = true ? "
|
|
16056
|
+
var compilerSourceDigest = true ? "b60df189803fef5c8b8fd902ae0a694ffbefe056af8f5fc06f707750dc97f09b" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
16046
16057
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
16047
16058
|
"CFAllocator",
|
|
16048
16059
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -192,6 +192,14 @@ function appMenu() {
|
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
194
|
function fileMenu(state, deviceChoices) {
|
|
195
|
+
const remoteSimulator = state.remoteSimulator ? [
|
|
196
|
+
{ type: "separator" },
|
|
197
|
+
{
|
|
198
|
+
label: "Open in Browser",
|
|
199
|
+
action: "open-remote-simulator",
|
|
200
|
+
hiddenIn: "browser"
|
|
201
|
+
}
|
|
202
|
+
] : [];
|
|
195
203
|
return {
|
|
196
204
|
label: "File",
|
|
197
205
|
notMinimal: true,
|
|
@@ -233,7 +241,8 @@ function fileMenu(state, deviceChoices) {
|
|
|
233
241
|
{
|
|
234
242
|
label: "Send to Box",
|
|
235
243
|
action: "send-to-box"
|
|
236
|
-
}
|
|
244
|
+
},
|
|
245
|
+
...remoteSimulator
|
|
237
246
|
]
|
|
238
247
|
};
|
|
239
248
|
}
|
package/dist-lib/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/menuContract.ts
|
|
4
4
|
var SOOTSIM_ENGINE_EVENT_NAME = "sootsim:engine-event";
|
|
@@ -144,6 +144,14 @@ function appMenu() {
|
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
function fileMenu(state, deviceChoices) {
|
|
147
|
+
const remoteSimulator = state.remoteSimulator ? [
|
|
148
|
+
{ type: "separator" },
|
|
149
|
+
{
|
|
150
|
+
label: "Open in Browser",
|
|
151
|
+
action: "open-remote-simulator",
|
|
152
|
+
hiddenIn: "browser"
|
|
153
|
+
}
|
|
154
|
+
] : [];
|
|
147
155
|
return {
|
|
148
156
|
label: "File",
|
|
149
157
|
notMinimal: true,
|
|
@@ -185,7 +193,8 @@ function fileMenu(state, deviceChoices) {
|
|
|
185
193
|
{
|
|
186
194
|
label: "Send to Box",
|
|
187
195
|
action: "send-to-box"
|
|
188
|
-
}
|
|
196
|
+
},
|
|
197
|
+
...remoteSimulator
|
|
189
198
|
]
|
|
190
199
|
};
|
|
191
200
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __esm = (fn, res) => function __init() {
|
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -8840,7 +8840,7 @@ function readIosSdkTree(root) {
|
|
|
8840
8840
|
|
|
8841
8841
|
// src/swift-standin-digest.ts
|
|
8842
8842
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
8843
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
8843
|
+
var STANDIN_SOURCE_DIGEST = true ? "9d24428078636d005cc1401363f5f50704e049f52802b0493da7eea674470942" : standinSourceDigest();
|
|
8844
8844
|
|
|
8845
8845
|
// src/expo-native-workspace.ts
|
|
8846
8846
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -11316,7 +11316,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
11316
11316
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
11317
11317
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
11318
11318
|
).join("");
|
|
11319
|
-
var compilerSourceDigest = true ? "
|
|
11319
|
+
var compilerSourceDigest = true ? "b60df189803fef5c8b8fd902ae0a694ffbefe056af8f5fc06f707750dc97f09b" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
11320
11320
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
11321
11321
|
"CFAllocator",
|
|
11322
11322
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -3682,7 +3682,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
3682
3682
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
3683
3683
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
3684
3684
|
).join("");
|
|
3685
|
-
var compilerSourceDigest = true ? "
|
|
3685
|
+
var compilerSourceDigest = true ? "b60df189803fef5c8b8fd902ae0a694ffbefe056af8f5fc06f707750dc97f09b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
3686
3686
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
3687
3687
|
"CFAllocator",
|
|
3688
3688
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -3844,7 +3844,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
3844
3844
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
3845
3845
|
(module) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module}"`
|
|
3846
3846
|
).join("");
|
|
3847
|
-
var compilerSourceDigest = true ? "
|
|
3847
|
+
var compilerSourceDigest = true ? "b60df189803fef5c8b8fd902ae0a694ffbefe056af8f5fc06f707750dc97f09b" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
3848
3848
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
3849
3849
|
"CFAllocator",
|
|
3850
3850
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2244 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|