peachsim 0.1.2251 → 0.1.2253
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 +20 -13
- package/cli/commands/control.ts +6 -5
- package/cli/commands/inspect/core.ts +18 -3
- 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 +6 -2
- package/dist-lib/bridge-contract-input.mjs +6 -2
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +23 -16
- 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 +33 -24
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +21 -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 +65 -40
- package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
- 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 +31 -10
- 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 +15 -6
- 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 +32 -23
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +17 -5
- package/dist-lib/sdk.mjs +17 -5
- package/dist-lib/skills.cjs +108 -66
- package/dist-lib/swift-compile.cjs +12 -9
- package/dist-lib/swift-compile.mjs +12 -9
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +16 -11
- package/dist-lib/vite.cjs +15 -6
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/scroll-momentum-math.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +2 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/bridge-contract-input.ts +5 -1
- package/src/bridge-contract.ts +2 -1
- package/src/chromium-admission.ts +37 -29
- package/src/one-sdk-preparation.ts +3 -3
- package/src/runtime-delivery.ts +3 -2
- package/src/swift-compile.ts +6 -1
- package/src/swift-host.ts +4 -1
- package/src/swift-wasm-prune.ts +10 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2253 | (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;
|
|
@@ -13430,13 +13430,15 @@ function parseWasmObjectBytes(file, buf, isDist, symbolFlagOffsets) {
|
|
|
13430
13430
|
};
|
|
13431
13431
|
}
|
|
13432
13432
|
function parseWasmObjectCached(file, isDist, useCache) {
|
|
13433
|
+
if (!useCache)
|
|
13434
|
+
return parseWasmObjectBytes(file, new Uint8Array(import_node_fs34.default.readFileSync(file)), isDist);
|
|
13433
13435
|
const key2 = `${isDist ? "1" : "0"}:${file}`;
|
|
13434
|
-
|
|
13435
|
-
|
|
13436
|
-
|
|
13437
|
-
|
|
13436
|
+
const stat = import_node_fs34.default.statSync(file, { bigint: true });
|
|
13437
|
+
const stamp = `${stat.ino}:${stat.size}:${stat.mtimeNs}:${stat.ctimeNs}`;
|
|
13438
|
+
const hit = parsedObjectCache.get(key2);
|
|
13439
|
+
if (hit?.stamp === stamp) return hit.parsed;
|
|
13438
13440
|
const parsed = parseWasmObjectBytes(file, new Uint8Array(import_node_fs34.default.readFileSync(file)), isDist);
|
|
13439
|
-
|
|
13441
|
+
parsedObjectCache.set(key2, { stamp, parsed });
|
|
13440
13442
|
return parsed;
|
|
13441
13443
|
}
|
|
13442
13444
|
function localizeDefinedWasmSymbols(bytes, names) {
|
|
@@ -20274,7 +20276,7 @@ function swiftCondition(text6, available) {
|
|
|
20274
20276
|
if (name3 === "canImport")
|
|
20275
20277
|
return argument !== "FoundationNetworking" && available?.has(argument);
|
|
20276
20278
|
if (name3 === "targetEnvironment") return argument === "simulator";
|
|
20277
|
-
if (name3 === "arch") return argument === "wasm64";
|
|
20279
|
+
if (name3 === "arch") return argument === "wasm64" || argument === "arm64";
|
|
20278
20280
|
return void 0;
|
|
20279
20281
|
};
|
|
20280
20282
|
const both = () => {
|
|
@@ -21330,7 +21332,7 @@ function swiftConditionsAsIOS(source, lineStarts, swiftPackage) {
|
|
|
21330
21332
|
const start = offset;
|
|
21331
21333
|
offset += line.length + 1;
|
|
21332
21334
|
if (!lineStarts.has(start) || !DIRECTIVE.test(line)) return line;
|
|
21333
|
-
const platform = line.replace(OS_IOS, (match) => "true".padEnd(match.length)).replace(NOT_ON_IOS, (match) => "false".padEnd(match.length));
|
|
21335
|
+
const platform = line.replace(OS_IOS, (match) => "true".padEnd(match.length)).replace(ARCH_ARM64, (match) => "true".padEnd(match.length)).replace(NOT_ON_IOS, (match) => "false".padEnd(match.length));
|
|
21334
21336
|
return swiftPackage === false ? platform.replace(/\bSWIFT_PACKAGE\b/g, (match) => "false".padEnd(match.length)) : platform;
|
|
21335
21337
|
}).join("\n");
|
|
21336
21338
|
}
|
|
@@ -24602,7 +24604,7 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
24602
24604
|
options.signal
|
|
24603
24605
|
);
|
|
24604
24606
|
}
|
|
24605
|
-
var import_node_child_process28, import_node_crypto20, import_node_fs49, import_node_os10, import_node_path46, v5, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, SWIFT_BUILDER_TRANSPORT_MARGIN_MS, SWIFT_BUILDER_DEFAULT_COMPILE_MS, clangInterfaceHeader, objcEnumerations, sdkDeclarationOwners, swiftInterfaceDeclarations, linkedModuleDigests, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, SWIFT_IMPORT, kleeneNot, kleeneAnd, kleeneOr, sdkPaths, availableModules, sdkOverlayFrameworks, DISTRIBUTION_CLANG_MODULES, ONE_PRODUCT, GAME_FAMILY, gameProducts, gameProduct, GAME_REACH, FOUNDATION_IMPLICIT_MODULES, PRECONCURRENCY_FOUNDATION_IMPORT, FOUNDATION_IMPLICIT_FLAGS, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, cFlagArray, cxxFlagArray, SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET, DIRECTIVE, OS_IOS, NOT_ON_IOS, DELEGATE_CLASS, FOUNDATION_NETWORKING_TYPES, FOUNDATION_OVERLAY_TYPES, FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, emptyMacroEnvironment, wasmMacroEnvironment, HIDDEN_UNITS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, SWIFT_LINK_STAMP, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY, SWIFT_FRAMEWORK_SLOT_ORIGIN;
|
|
24607
|
+
var import_node_child_process28, import_node_crypto20, import_node_fs49, import_node_os10, import_node_path46, v5, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, SWIFT_BUILDER_TRANSPORT_MARGIN_MS, SWIFT_BUILDER_DEFAULT_COMPILE_MS, clangInterfaceHeader, objcEnumerations, sdkDeclarationOwners, swiftInterfaceDeclarations, linkedModuleDigests, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, SWIFT_IMPORT, kleeneNot, kleeneAnd, kleeneOr, sdkPaths, availableModules, sdkOverlayFrameworks, DISTRIBUTION_CLANG_MODULES, ONE_PRODUCT, GAME_FAMILY, gameProducts, gameProduct, GAME_REACH, FOUNDATION_IMPLICIT_MODULES, PRECONCURRENCY_FOUNDATION_IMPORT, FOUNDATION_IMPLICIT_FLAGS, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, cFlagArray, cxxFlagArray, SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET, DIRECTIVE, OS_IOS, ARCH_ARM64, NOT_ON_IOS, DELEGATE_CLASS, FOUNDATION_NETWORKING_TYPES, FOUNDATION_OVERLAY_TYPES, FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, emptyMacroEnvironment, wasmMacroEnvironment, HIDDEN_UNITS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, SWIFT_LINK_STAMP, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY, SWIFT_FRAMEWORK_SLOT_ORIGIN;
|
|
24606
24608
|
var init_swift_compile = __esm({
|
|
24607
24609
|
"src/swift-compile.ts"() {
|
|
24608
24610
|
"use strict";
|
|
@@ -24837,13 +24839,14 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
24837
24839
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
24838
24840
|
MULTI_MANIFEST_VERSION = 68;
|
|
24839
24841
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
24840
|
-
compilerSourceDigest = true ? "
|
|
24842
|
+
compilerSourceDigest = true ? "a0acd3d55350e702b64da3ee739e811f7963210d0eb97002ee7d2214bb99e47c" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
24841
24843
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
24842
24844
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
24843
24845
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
24844
24846
|
SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET = "12.0";
|
|
24845
24847
|
DIRECTIVE = /^[ \t]*#(?:if|elseif)\b/;
|
|
24846
24848
|
OS_IOS = /\b(?:os\(\s*iOS\s*\)|targetEnvironment\(\s*simulator\s*\))/g;
|
|
24849
|
+
ARCH_ARM64 = /\barch\(\s*arm64\s*\)/g;
|
|
24847
24850
|
NOT_ON_IOS = /\b(?:os\(\s*WASI\s*\)|canImport\(\s*FoundationNetworking\s*\))/g;
|
|
24848
24851
|
DELEGATE_CLASS = /^class\s+[A-Za-z_]\w*\s*(?:<[^>{]*>)?\s*:[^{]*\b(?:UIApplicationDelegate|UISceneDelegate|UIWindowSceneDelegate)\b[^{]*\{/;
|
|
24849
24852
|
FOUNDATION_NETWORKING_TYPES = /* @__PURE__ */ new Set([
|
|
@@ -28967,7 +28970,7 @@ var init_swift_standin_digest = __esm({
|
|
|
28967
28970
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
28968
28971
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
28969
28972
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
28970
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
28973
|
+
STANDIN_SOURCE_DIGEST = true ? "1f63cea9c23045599de30a6706e16844da16611e8d385fe31034727e8884380c" : standinSourceDigest();
|
|
28971
28974
|
}
|
|
28972
28975
|
});
|
|
28973
28976
|
|
|
@@ -38419,6 +38422,7 @@ function buildSwiftResourceTable(project, baseUrl, inputs) {
|
|
|
38419
38422
|
let bytes;
|
|
38420
38423
|
let ext = import_node_path76.default.posix.extname(file).toLowerCase();
|
|
38421
38424
|
let uploadName = import_node_path76.default.posix.basename(file);
|
|
38425
|
+
let variantScale = scale;
|
|
38422
38426
|
if (ext === ".pdf") {
|
|
38423
38427
|
const pdfBytes = readPackageFile2(project.packagePath, disk, limits.imageBytes);
|
|
38424
38428
|
const pdfHash = (0, import_node_crypto39.createHash)("sha256").update(pdfBytes).digest("hex");
|
|
@@ -38437,6 +38441,7 @@ function buildSwiftResourceTable(project, baseUrl, inputs) {
|
|
|
38437
38441
|
const svg = ext === ".svg" ? rasterizeSvgFile(disk, (0, import_node_crypto39.createHash)("sha256").update(bytes).digest("hex")) : null;
|
|
38438
38442
|
if (svg) {
|
|
38439
38443
|
bytes = svg.bytes;
|
|
38444
|
+
variantScale = 3;
|
|
38440
38445
|
ext = ".png";
|
|
38441
38446
|
uploadName = `${import_node_path76.default.posix.basename(file, import_node_path76.default.posix.extname(file))}.png`;
|
|
38442
38447
|
}
|
|
@@ -38450,7 +38455,7 @@ function buildSwiftResourceTable(project, baseUrl, inputs) {
|
|
|
38450
38455
|
const variants = bundle[name3] ??= [];
|
|
38451
38456
|
variants.push({
|
|
38452
38457
|
uri: `${baseUrl}${RESOURCE_PATH}${hash}${ext}`,
|
|
38453
|
-
scale,
|
|
38458
|
+
scale: variantScale,
|
|
38454
38459
|
...renderingMode ? { renderingMode } : {}
|
|
38455
38460
|
});
|
|
38456
38461
|
table[bundlePath] = bundle;
|
|
@@ -47817,7 +47822,9 @@ async function selectOneSDK(appRoot) {
|
|
|
47817
47822
|
throw error;
|
|
47818
47823
|
}
|
|
47819
47824
|
const one = import_node_path17.default.dirname(onePackage);
|
|
47820
|
-
const
|
|
47825
|
+
const generatorFile = import_node_path17.default.join(one, "dist/sdk/app.mjs");
|
|
47826
|
+
if (!import_node_fs21.default.existsSync(generatorFile)) return null;
|
|
47827
|
+
const generator = await import((0, import_node_url2.pathToFileURL)(generatorFile).href);
|
|
47821
47828
|
const frameworks = generator.importedFrameworks(appRoot).filter((name3) => name3 === "UIKit");
|
|
47822
47829
|
return frameworks.length ? { one, generator, frameworks } : null;
|
|
47823
47830
|
}
|
|
@@ -49374,7 +49381,7 @@ init_swift_native_pin();
|
|
|
49374
49381
|
init_xcode_project();
|
|
49375
49382
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
49376
49383
|
function expoNativeCompilerDigestValue() {
|
|
49377
|
-
return true ? "
|
|
49384
|
+
return true ? "7948b0026a336ed76b04462c72d6ee290df53ba2c34cae533361bef6b206244b" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
49378
49385
|
}
|
|
49379
49386
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
49380
49387
|
function readSources(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2253 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2253 | (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.2253 | (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;
|
|
@@ -22449,13 +22449,15 @@ function parseWasmObjectBytes(file, buf, isDist, symbolFlagOffsets) {
|
|
|
22449
22449
|
};
|
|
22450
22450
|
}
|
|
22451
22451
|
function parseWasmObjectCached(file, isDist, useCache) {
|
|
22452
|
+
if (!useCache)
|
|
22453
|
+
return parseWasmObjectBytes(file, new Uint8Array(import_node_fs37.default.readFileSync(file)), isDist);
|
|
22452
22454
|
const key2 = `${isDist ? "1" : "0"}:${file}`;
|
|
22453
|
-
|
|
22454
|
-
|
|
22455
|
-
|
|
22456
|
-
|
|
22455
|
+
const stat2 = import_node_fs37.default.statSync(file, { bigint: true });
|
|
22456
|
+
const stamp = `${stat2.ino}:${stat2.size}:${stat2.mtimeNs}:${stat2.ctimeNs}`;
|
|
22457
|
+
const hit = parsedObjectCache.get(key2);
|
|
22458
|
+
if (hit?.stamp === stamp) return hit.parsed;
|
|
22457
22459
|
const parsed = parseWasmObjectBytes(file, new Uint8Array(import_node_fs37.default.readFileSync(file)), isDist);
|
|
22458
|
-
|
|
22460
|
+
parsedObjectCache.set(key2, { stamp, parsed });
|
|
22459
22461
|
return parsed;
|
|
22460
22462
|
}
|
|
22461
22463
|
function localizeDefinedWasmSymbols(bytes, names) {
|
|
@@ -29318,7 +29320,7 @@ function swiftCondition(text6, available) {
|
|
|
29318
29320
|
if (name3 === "canImport")
|
|
29319
29321
|
return argument !== "FoundationNetworking" && available?.has(argument);
|
|
29320
29322
|
if (name3 === "targetEnvironment") return argument === "simulator";
|
|
29321
|
-
if (name3 === "arch") return argument === "wasm64";
|
|
29323
|
+
if (name3 === "arch") return argument === "wasm64" || argument === "arm64";
|
|
29322
29324
|
return void 0;
|
|
29323
29325
|
};
|
|
29324
29326
|
const both = () => {
|
|
@@ -30374,7 +30376,7 @@ function swiftConditionsAsIOS(source, lineStarts, swiftPackage) {
|
|
|
30374
30376
|
const start = offset;
|
|
30375
30377
|
offset += line.length + 1;
|
|
30376
30378
|
if (!lineStarts.has(start) || !DIRECTIVE.test(line)) return line;
|
|
30377
|
-
const platform2 = line.replace(OS_IOS, (match) => "true".padEnd(match.length)).replace(NOT_ON_IOS, (match) => "false".padEnd(match.length));
|
|
30379
|
+
const platform2 = line.replace(OS_IOS, (match) => "true".padEnd(match.length)).replace(ARCH_ARM64, (match) => "true".padEnd(match.length)).replace(NOT_ON_IOS, (match) => "false".padEnd(match.length));
|
|
30378
30380
|
return swiftPackage === false ? platform2.replace(/\bSWIFT_PACKAGE\b/g, (match) => "false".padEnd(match.length)) : platform2;
|
|
30379
30381
|
}).join("\n");
|
|
30380
30382
|
}
|
|
@@ -33646,7 +33648,7 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
33646
33648
|
options.signal
|
|
33647
33649
|
);
|
|
33648
33650
|
}
|
|
33649
|
-
var import_node_child_process29, import_node_crypto22, import_node_fs52, import_node_os10, import_node_path50, v5, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, SWIFT_BUILDER_TRANSPORT_MARGIN_MS, SWIFT_BUILDER_DEFAULT_COMPILE_MS, clangInterfaceHeader, objcEnumerations, sdkDeclarationOwners, swiftInterfaceDeclarations, linkedModuleDigests, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, SWIFT_IMPORT, kleeneNot, kleeneAnd, kleeneOr, sdkPaths, availableModules, sdkOverlayFrameworks, DISTRIBUTION_CLANG_MODULES, ONE_PRODUCT, GAME_FAMILY, gameProducts, gameProduct, GAME_REACH, FOUNDATION_IMPLICIT_MODULES, PRECONCURRENCY_FOUNDATION_IMPORT, FOUNDATION_IMPLICIT_FLAGS, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, cFlagArray, cxxFlagArray, SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET, DIRECTIVE, OS_IOS, NOT_ON_IOS, DELEGATE_CLASS, FOUNDATION_NETWORKING_TYPES, FOUNDATION_OVERLAY_TYPES, FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, emptyMacroEnvironment, wasmMacroEnvironment, HIDDEN_UNITS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, SWIFT_LINK_STAMP, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY, SWIFT_FRAMEWORK_SLOT_ORIGIN;
|
|
33651
|
+
var import_node_child_process29, import_node_crypto22, import_node_fs52, import_node_os10, import_node_path50, v5, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, SWIFT_BUILDER_TRANSPORT_MARGIN_MS, SWIFT_BUILDER_DEFAULT_COMPILE_MS, clangInterfaceHeader, objcEnumerations, sdkDeclarationOwners, swiftInterfaceDeclarations, linkedModuleDigests, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, SWIFT_IMPORT, kleeneNot, kleeneAnd, kleeneOr, sdkPaths, availableModules, sdkOverlayFrameworks, DISTRIBUTION_CLANG_MODULES, ONE_PRODUCT, GAME_FAMILY, gameProducts, gameProduct, GAME_REACH, FOUNDATION_IMPLICIT_MODULES, PRECONCURRENCY_FOUNDATION_IMPORT, FOUNDATION_IMPLICIT_FLAGS, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, cFlagArray, cxxFlagArray, SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET, DIRECTIVE, OS_IOS, ARCH_ARM64, NOT_ON_IOS, DELEGATE_CLASS, FOUNDATION_NETWORKING_TYPES, FOUNDATION_OVERLAY_TYPES, FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, emptyMacroEnvironment, wasmMacroEnvironment, HIDDEN_UNITS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, SWIFT_LINK_STAMP, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY, SWIFT_FRAMEWORK_SLOT_ORIGIN;
|
|
33650
33652
|
var init_swift_compile = __esm({
|
|
33651
33653
|
"src/swift-compile.ts"() {
|
|
33652
33654
|
"use strict";
|
|
@@ -33881,13 +33883,14 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
33881
33883
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
33882
33884
|
MULTI_MANIFEST_VERSION = 68;
|
|
33883
33885
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
33884
|
-
compilerSourceDigest = true ? "
|
|
33886
|
+
compilerSourceDigest = true ? "a0acd3d55350e702b64da3ee739e811f7963210d0eb97002ee7d2214bb99e47c" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
33885
33887
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
33886
33888
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
33887
33889
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
33888
33890
|
SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET = "12.0";
|
|
33889
33891
|
DIRECTIVE = /^[ \t]*#(?:if|elseif)\b/;
|
|
33890
33892
|
OS_IOS = /\b(?:os\(\s*iOS\s*\)|targetEnvironment\(\s*simulator\s*\))/g;
|
|
33893
|
+
ARCH_ARM64 = /\barch\(\s*arm64\s*\)/g;
|
|
33891
33894
|
NOT_ON_IOS = /\b(?:os\(\s*WASI\s*\)|canImport\(\s*FoundationNetworking\s*\))/g;
|
|
33892
33895
|
DELEGATE_CLASS = /^class\s+[A-Za-z_]\w*\s*(?:<[^>{]*>)?\s*:[^{]*\b(?:UIApplicationDelegate|UISceneDelegate|UIWindowSceneDelegate)\b[^{]*\{/;
|
|
33893
33896
|
FOUNDATION_NETWORKING_TYPES = /* @__PURE__ */ new Set([
|
|
@@ -38355,7 +38358,7 @@ var init_swift_standin_digest = __esm({
|
|
|
38355
38358
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
38356
38359
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
38357
38360
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
38358
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
38361
|
+
STANDIN_SOURCE_DIGEST = true ? "1f63cea9c23045599de30a6706e16844da16611e8d385fe31034727e8884380c" : standinSourceDigest();
|
|
38359
38362
|
}
|
|
38360
38363
|
});
|
|
38361
38364
|
|
|
@@ -47982,6 +47985,7 @@ function buildSwiftResourceTable(project2, baseUrl, inputs) {
|
|
|
47982
47985
|
let bytes;
|
|
47983
47986
|
let ext = import_node_path82.default.posix.extname(file).toLowerCase();
|
|
47984
47987
|
let uploadName = import_node_path82.default.posix.basename(file);
|
|
47988
|
+
let variantScale = scale;
|
|
47985
47989
|
if (ext === ".pdf") {
|
|
47986
47990
|
const pdfBytes = readPackageFile2(project2.packagePath, disk, limits.imageBytes);
|
|
47987
47991
|
const pdfHash = (0, import_node_crypto42.createHash)("sha256").update(pdfBytes).digest("hex");
|
|
@@ -48000,6 +48004,7 @@ function buildSwiftResourceTable(project2, baseUrl, inputs) {
|
|
|
48000
48004
|
const svg = ext === ".svg" ? rasterizeSvgFile(disk, (0, import_node_crypto42.createHash)("sha256").update(bytes).digest("hex")) : null;
|
|
48001
48005
|
if (svg) {
|
|
48002
48006
|
bytes = svg.bytes;
|
|
48007
|
+
variantScale = 3;
|
|
48003
48008
|
ext = ".png";
|
|
48004
48009
|
uploadName = `${import_node_path82.default.posix.basename(file, import_node_path82.default.posix.extname(file))}.png`;
|
|
48005
48010
|
}
|
|
@@ -48013,7 +48018,7 @@ function buildSwiftResourceTable(project2, baseUrl, inputs) {
|
|
|
48013
48018
|
const variants = bundle[name3] ??= [];
|
|
48014
48019
|
variants.push({
|
|
48015
48020
|
uri: `${baseUrl}${RESOURCE_PATH}${hash}${ext}`,
|
|
48016
|
-
scale,
|
|
48021
|
+
scale: variantScale,
|
|
48017
48022
|
...renderingMode ? { renderingMode } : {}
|
|
48018
48023
|
});
|
|
48019
48024
|
table[bundlePath] = bundle;
|
|
@@ -54666,7 +54671,7 @@ var init_nitro_superset = __esm({
|
|
|
54666
54671
|
init_nitroContract();
|
|
54667
54672
|
init_swift_standin_digest();
|
|
54668
54673
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
54669
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
54674
|
+
NITRO_COMPILER_DIGEST = true ? "15e3c055218437b57cd4aaf5e04379e24084d7ef3c1661dd4640d4bfa0f8e45a" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
54670
54675
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
54671
54676
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
54672
54677
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -54687,11 +54692,19 @@ var init_nitro_superset = __esm({
|
|
|
54687
54692
|
var runtime_companion_default;
|
|
54688
54693
|
var init_runtime_companion = __esm({
|
|
54689
54694
|
"runtime-companion.json"() {
|
|
54690
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
54695
|
+
runtime_companion_default = { abi: 1, sha256: "3f866674ef9cb3c9dd8d40d8b28a4b9c1131b5c5f7fa6504651570ed7ce753a3", file: "node/cli-3f866674ef9cb3c9dd8d40d8b28a4b9c1131b5c5f7fa6504651570ed7ce753a3.cjs" };
|
|
54691
54696
|
}
|
|
54692
54697
|
});
|
|
54693
54698
|
|
|
54694
54699
|
// src/cli-runtime.ts
|
|
54700
|
+
var cli_runtime_exports = {};
|
|
54701
|
+
__export(cli_runtime_exports, {
|
|
54702
|
+
CLI_COMPANION_ABI: () => CLI_COMPANION_ABI,
|
|
54703
|
+
cliCompanionPath: () => cliCompanionPath,
|
|
54704
|
+
ensureCliCompanion: () => ensureCliCompanion,
|
|
54705
|
+
getCliRuntime: () => getCliRuntime,
|
|
54706
|
+
verifyCliCompanion: () => verifyCliCompanion
|
|
54707
|
+
});
|
|
54695
54708
|
function cliCompanionPath() {
|
|
54696
54709
|
return `node/cli-${runtime_companion_default.sha256}.cjs`;
|
|
54697
54710
|
}
|
|
@@ -54949,7 +54962,6 @@ var init_runtime_delivery = __esm({
|
|
|
54949
54962
|
"src/runtime-delivery.ts"() {
|
|
54950
54963
|
"use strict";
|
|
54951
54964
|
init_src();
|
|
54952
|
-
init_cli_runtime();
|
|
54953
54965
|
init_home_paths();
|
|
54954
54966
|
init_public_brand();
|
|
54955
54967
|
DEFAULT_RUNTIME_CDN_ORIGIN = peachPublicBrand.origin;
|
|
@@ -54964,7 +54976,9 @@ var init_runtime_delivery = __esm({
|
|
|
54964
54976
|
// engine-tenant/ beneath it. index.html is what the daemon and the
|
|
54965
54977
|
// vite/metro plugins serve, so its absence means the tarball is not one.
|
|
54966
54978
|
installedMarker: "index.html",
|
|
54967
|
-
|
|
54979
|
+
// loaded on use: its companion identity is generated by the CLI build, and
|
|
54980
|
+
// source-tree hosts such as the recorder import this module without one
|
|
54981
|
+
verifyInstall: async (dir) => (await Promise.resolve().then(() => (init_cli_runtime(), cli_runtime_exports))).ensureCliCompanion(dir),
|
|
54968
54982
|
// canvaskit's ganesh backend is a runtime pack because a browser with WebGPU
|
|
54969
54983
|
// never runs it, but linux and CI browsers usually have no GPU and always do
|
|
54970
54984
|
afterInstall: async (dir) => {
|
|
@@ -61267,34 +61281,43 @@ function readChromiumQueue(deps, verified2, own) {
|
|
|
61267
61281
|
);
|
|
61268
61282
|
fs88.mkdirSync(dir, { recursive: true });
|
|
61269
61283
|
const limit = Math.max(2, Math.floor(os16.cpus().length / 2));
|
|
61270
|
-
const
|
|
61271
|
-
const match = /^(\d+)-(\d+)-/.exec(entry);
|
|
61272
|
-
if (!match) return false;
|
|
61273
|
-
const pid = Number(match[1]);
|
|
61284
|
+
const alive = (pid) => {
|
|
61274
61285
|
try {
|
|
61275
61286
|
process.kill(pid, 0);
|
|
61276
|
-
} catch (err) {
|
|
61277
|
-
if (!(err instanceof Error && "code" in err && err.code === "EPERM")) return false;
|
|
61278
|
-
}
|
|
61279
|
-
if (pid === process.pid) return true;
|
|
61280
|
-
const known = verified2.get(entry);
|
|
61281
|
-
if (known !== void 0) return known;
|
|
61282
|
-
let startedAt;
|
|
61283
|
-
try {
|
|
61284
|
-
startedAt = Date.parse(
|
|
61285
|
-
childProcess2.execFileSync("ps", ["-p", String(pid), "-o", "lstart="], { encoding: "utf8" }).trim()
|
|
61286
|
-
);
|
|
61287
|
-
} catch {
|
|
61288
61287
|
return true;
|
|
61288
|
+
} catch (err) {
|
|
61289
|
+
return err instanceof Error && "code" in err && err.code === "EPERM";
|
|
61289
61290
|
}
|
|
61290
|
-
if (Number.isNaN(startedAt)) return true;
|
|
61291
|
-
const same = startedAt / 1e3 <= Number(match[2]) + 2;
|
|
61292
|
-
verified2.set(entry, same);
|
|
61293
|
-
return same;
|
|
61294
61291
|
};
|
|
61292
|
+
const entries = fs88.readdirSync(dir).map((entry) => {
|
|
61293
|
+
const match = /^(\d+)-(\d+)-/.exec(entry);
|
|
61294
|
+
const pid = match ? Number(match[1]) : 0;
|
|
61295
|
+
const held = entry === own || match !== null && alive(pid);
|
|
61296
|
+
return { entry, pid, start: match ? Number(match[2]) : 0, held };
|
|
61297
|
+
});
|
|
61298
|
+
const unread = entries.filter(
|
|
61299
|
+
(e) => e.held && e.entry !== own && e.pid !== process.pid && !verified2.has(e.entry)
|
|
61300
|
+
);
|
|
61301
|
+
if (unread.length) {
|
|
61302
|
+
const startedAt = /* @__PURE__ */ new Map();
|
|
61303
|
+
const out = childProcess2.spawnSync(
|
|
61304
|
+
"ps",
|
|
61305
|
+
["-p", unread.map((e) => e.pid).join(","), "-o", "pid=,lstart="],
|
|
61306
|
+
{ encoding: "utf8" }
|
|
61307
|
+
).stdout;
|
|
61308
|
+
for (const line of (out ?? "").split("\n")) {
|
|
61309
|
+
const m = /^\s*(\d+)\s+(.+?)\s*$/.exec(line);
|
|
61310
|
+
if (m) startedAt.set(Number(m[1]), Date.parse(m[2]));
|
|
61311
|
+
}
|
|
61312
|
+
for (const e of unread) {
|
|
61313
|
+
const at = startedAt.get(e.pid);
|
|
61314
|
+
if (at === void 0 || Number.isNaN(at)) continue;
|
|
61315
|
+
verified2.set(e.entry, at / 1e3 <= e.start + 2);
|
|
61316
|
+
}
|
|
61317
|
+
}
|
|
61295
61318
|
const tickets = [];
|
|
61296
|
-
for (const entry of
|
|
61297
|
-
if (
|
|
61319
|
+
for (const { entry, held } of entries) {
|
|
61320
|
+
if (!held || verified2.get(entry) === false) {
|
|
61298
61321
|
try {
|
|
61299
61322
|
fs88.unlinkSync(path112.join(dir, entry));
|
|
61300
61323
|
} catch {
|
|
@@ -62725,7 +62748,9 @@ async function selectOneSDK(appRoot) {
|
|
|
62725
62748
|
throw error;
|
|
62726
62749
|
}
|
|
62727
62750
|
const one = import_node_path21.default.dirname(onePackage);
|
|
62728
|
-
const
|
|
62751
|
+
const generatorFile = import_node_path21.default.join(one, "dist/sdk/app.mjs");
|
|
62752
|
+
if (!import_node_fs24.default.existsSync(generatorFile)) return null;
|
|
62753
|
+
const generator = await import((0, import_node_url2.pathToFileURL)(generatorFile).href);
|
|
62729
62754
|
const frameworks = generator.importedFrameworks(appRoot).filter((name3) => name3 === "UIKit");
|
|
62730
62755
|
return frameworks.length ? { one, generator, frameworks } : null;
|
|
62731
62756
|
}
|
|
@@ -64256,7 +64281,7 @@ init_swift_native_pin();
|
|
|
64256
64281
|
init_xcode_project();
|
|
64257
64282
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
64258
64283
|
function expoNativeCompilerDigestValue() {
|
|
64259
|
-
return true ? "
|
|
64284
|
+
return true ? "7948b0026a336ed76b04462c72d6ee290df53ba2c34cae533361bef6b206244b" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
64260
64285
|
}
|
|
64261
64286
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
64262
64287
|
function readSources(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2253 | (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;
|
|
@@ -1421,7 +1421,7 @@ var run = (0, import_node_util.promisify)(import_node_child_process.execFile);
|
|
|
1421
1421
|
var import_plist5 = __toESM(require("plist"), 1);
|
|
1422
1422
|
|
|
1423
1423
|
// src/swift-standin-digest.ts
|
|
1424
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
1424
|
+
var STANDIN_SOURCE_DIGEST = true ? "1f63cea9c23045599de30a6706e16844da16611e8d385fe31034727e8884380c" : standinSourceDigest();
|
|
1425
1425
|
|
|
1426
1426
|
// cli/commands/detect.ts
|
|
1427
1427
|
var import_json5 = __toESM(require_lib(), 1);
|
|
@@ -4516,7 +4516,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
4516
4516
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
4517
4517
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
4518
4518
|
).join("");
|
|
4519
|
-
var compilerSourceDigest = true ? "
|
|
4519
|
+
var compilerSourceDigest = true ? "a0acd3d55350e702b64da3ee739e811f7963210d0eb97002ee7d2214bb99e47c" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
4520
4520
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
4521
4521
|
"CFAllocator",
|
|
4522
4522
|
"CFArray",
|
|
@@ -8927,7 +8927,7 @@ var import_node_module = require("node:module");
|
|
|
8927
8927
|
var import_node_path7 = require("node:path");
|
|
8928
8928
|
|
|
8929
8929
|
// runtime-companion.json
|
|
8930
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
8930
|
+
var runtime_companion_default = { abi: 1, sha256: "3f866674ef9cb3c9dd8d40d8b28a4b9c1131b5c5f7fa6504651570ed7ce753a3", file: "node/cli-3f866674ef9cb3c9dd8d40d8b28a4b9c1131b5c5f7fa6504651570ed7ce753a3.cjs" };
|
|
8931
8931
|
|
|
8932
8932
|
// src/cli-runtime.ts
|
|
8933
8933
|
var CLI_COMPANION_ABI = 1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2253 | (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.2253 | (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.2253 | (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.2253 | (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;
|
|
@@ -1111,7 +1111,7 @@ var init_src = __esm({
|
|
|
1111
1111
|
var runtime_companion_default;
|
|
1112
1112
|
var init_runtime_companion = __esm({
|
|
1113
1113
|
"runtime-companion.json"() {
|
|
1114
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
1114
|
+
runtime_companion_default = { abi: 1, sha256: "3f866674ef9cb3c9dd8d40d8b28a4b9c1131b5c5f7fa6504651570ed7ce753a3", file: "node/cli-3f866674ef9cb3c9dd8d40d8b28a4b9c1131b5c5f7fa6504651570ed7ce753a3.cjs" };
|
|
1115
1115
|
}
|
|
1116
1116
|
});
|
|
1117
1117
|
|
|
@@ -1495,6 +1495,14 @@ var init_answeredNativePackages = __esm({
|
|
|
1495
1495
|
});
|
|
1496
1496
|
|
|
1497
1497
|
// src/cli-runtime.ts
|
|
1498
|
+
var cli_runtime_exports = {};
|
|
1499
|
+
__export(cli_runtime_exports, {
|
|
1500
|
+
CLI_COMPANION_ABI: () => CLI_COMPANION_ABI,
|
|
1501
|
+
cliCompanionPath: () => cliCompanionPath,
|
|
1502
|
+
ensureCliCompanion: () => ensureCliCompanion,
|
|
1503
|
+
getCliRuntime: () => getCliRuntime,
|
|
1504
|
+
verifyCliCompanion: () => verifyCliCompanion
|
|
1505
|
+
});
|
|
1498
1506
|
function cliCompanionPath() {
|
|
1499
1507
|
return `node/cli-${runtime_companion_default.sha256}.cjs`;
|
|
1500
1508
|
}
|
|
@@ -7252,7 +7260,6 @@ var init_runtime_delivery = __esm({
|
|
|
7252
7260
|
"src/runtime-delivery.ts"() {
|
|
7253
7261
|
"use strict";
|
|
7254
7262
|
init_src();
|
|
7255
|
-
init_cli_runtime();
|
|
7256
7263
|
init_home_paths();
|
|
7257
7264
|
init_public_brand();
|
|
7258
7265
|
DEFAULT_RUNTIME_CDN_ORIGIN = peachPublicBrand.origin;
|
|
@@ -7267,7 +7274,9 @@ var init_runtime_delivery = __esm({
|
|
|
7267
7274
|
// engine-tenant/ beneath it. index.html is what the daemon and the
|
|
7268
7275
|
// vite/metro plugins serve, so its absence means the tarball is not one.
|
|
7269
7276
|
installedMarker: "index.html",
|
|
7270
|
-
|
|
7277
|
+
// loaded on use: its companion identity is generated by the CLI build, and
|
|
7278
|
+
// source-tree hosts such as the recorder import this module without one
|
|
7279
|
+
verifyInstall: async (dir) => (await Promise.resolve().then(() => (init_cli_runtime(), cli_runtime_exports))).ensureCliCompanion(dir),
|
|
7271
7280
|
// canvaskit's ganesh backend is a runtime pack because a browser with WebGPU
|
|
7272
7281
|
// never runs it, but linux and CI browsers usually have no GPU and always do
|
|
7273
7282
|
afterInstall: async (dir) => {
|
|
@@ -10842,7 +10851,13 @@ function waitReadyReason(status) {
|
|
|
10842
10851
|
}
|
|
10843
10852
|
async function inspectWaitReady(bridge, timeoutMs, options = {}) {
|
|
10844
10853
|
if (timeoutMs != null) {
|
|
10845
|
-
const result = await sendReadyWait(
|
|
10854
|
+
const result = await sendReadyWait(
|
|
10855
|
+
bridge,
|
|
10856
|
+
timeoutMs,
|
|
10857
|
+
options.simId,
|
|
10858
|
+
void 0,
|
|
10859
|
+
options.stableMs
|
|
10860
|
+
);
|
|
10846
10861
|
const status = waitReadyFromResult(result);
|
|
10847
10862
|
if (!status.ready && options.onProgress) options.onProgress(status);
|
|
10848
10863
|
return status;
|
|
@@ -10882,7 +10897,13 @@ async function inspectWaitReady(bridge, timeoutMs, options = {}) {
|
|
|
10882
10897
|
...stalledFor >= stallMs ? { progressStalledMs: stalledFor } : { progressCapped: true }
|
|
10883
10898
|
};
|
|
10884
10899
|
}
|
|
10885
|
-
const result = await sendReadyWait(
|
|
10900
|
+
const result = await sendReadyWait(
|
|
10901
|
+
bridge,
|
|
10902
|
+
slice,
|
|
10903
|
+
options.simId,
|
|
10904
|
+
void 0,
|
|
10905
|
+
options.stableMs
|
|
10906
|
+
);
|
|
10886
10907
|
const status = waitReadyFromResult(result);
|
|
10887
10908
|
status.elapsedMs = now() - start;
|
|
10888
10909
|
lastStatus = status;
|
|
@@ -10916,7 +10937,7 @@ async function sendSemanticWait(bridge, condition, timeoutMs, simId, transportMs
|
|
|
10916
10937
|
return sent === 1 ? result : { ...result, elapsedMs: Date.now() - start };
|
|
10917
10938
|
}
|
|
10918
10939
|
}
|
|
10919
|
-
async function sendReadyWait(bridge, timeoutMs, simId, transportMs) {
|
|
10940
|
+
async function sendReadyWait(bridge, timeoutMs, simId, transportMs, stableMs) {
|
|
10920
10941
|
const start = Date.now();
|
|
10921
10942
|
let targetSimId = simId;
|
|
10922
10943
|
for (; ; ) {
|
|
@@ -10924,7 +10945,7 @@ async function sendReadyWait(bridge, timeoutMs, simId, transportMs) {
|
|
|
10924
10945
|
try {
|
|
10925
10946
|
const result = await sendSemanticWait(
|
|
10926
10947
|
bridge,
|
|
10927
|
-
{ type: "ready" },
|
|
10948
|
+
{ type: "ready", ...stableMs === void 0 ? {} : { stableMs } },
|
|
10928
10949
|
remaining,
|
|
10929
10950
|
targetSimId,
|
|
10930
10951
|
transportMs
|
|
@@ -13345,7 +13366,7 @@ var import_plist5 = __toESM(require("plist"), 1);
|
|
|
13345
13366
|
init_answeredNativePackages();
|
|
13346
13367
|
|
|
13347
13368
|
// src/swift-standin-digest.ts
|
|
13348
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
13369
|
+
var STANDIN_SOURCE_DIGEST = true ? "1f63cea9c23045599de30a6706e16844da16611e8d385fe31034727e8884380c" : standinSourceDigest();
|
|
13349
13370
|
|
|
13350
13371
|
// src/expo-native-workspace.ts
|
|
13351
13372
|
init_detect();
|
|
@@ -15672,7 +15693,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
15672
15693
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
15673
15694
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
15674
15695
|
).join("");
|
|
15675
|
-
var compilerSourceDigest = true ? "
|
|
15696
|
+
var compilerSourceDigest = true ? "a0acd3d55350e702b64da3ee739e811f7963210d0eb97002ee7d2214bb99e47c" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
15676
15697
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
15677
15698
|
"CFAllocator",
|
|
15678
15699
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2253 | (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.2253 | (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.2253 | (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.2253 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2253 | (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.2253 | (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.2253 | (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() {
|