peachsim 0.1.2268 → 0.1.2270
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/commands/map.ts +1 -1
- package/cli/commands/record.ts +4 -1
- package/cli/commands/screenshot.ts +10 -0
- package/cli/commands/upload.ts +4 -1
- package/detox/index.ts +8 -4
- 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 +48 -32
- 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 +14 -7
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +33 -22
- 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 +67 -40
- package/dist-lib/host/fetch-proxy-handler.cjs +13 -10
- 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 +15 -12
- 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 +9 -5
- 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 +13 -10
- package/dist-lib/native-app-identity-project.cjs +5 -1
- package/dist-lib/native-app-identity-project.mjs +5 -1
- 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 -54
- 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 +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +76 -43
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +1 -1
- 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 +8 -6
- package/dist-lib/vite.cjs +13 -10
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/paint-boundary-types.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/engine/render-damage.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/preview/compress-node.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +1 -0
- package/java-platform/licenses/android.txt +6 -3
- package/java-platform/licenses/openjdk.txt +11 -4
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/answeredNativePackages.ts +16 -1
- package/src/desktop-host-delivery.ts +22 -6
- package/src/expo-pod-prebuilt.ts +29 -3
- package/src/guest-bundle.ts +1 -0
- package/src/kotlin-host.ts +8 -4
- package/src/native-package-slice-build.ts +171 -95
- package/src/package-tree-digest.ts +33 -10
- package/src/swift-submit.ts +2 -1
- package/src/turbo-compile.ts +5 -1
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2270 | (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;
|
|
@@ -29766,12 +29766,22 @@ function verifyHost(dir) {
|
|
|
29766
29766
|
}
|
|
29767
29767
|
}
|
|
29768
29768
|
function bundleValue(app, key2) {
|
|
29769
|
-
const
|
|
29770
|
-
|
|
29771
|
-
|
|
29772
|
-
|
|
29773
|
-
);
|
|
29774
|
-
|
|
29769
|
+
const plist5 = import_node_path6.default.join(app, "Contents/Info.plist");
|
|
29770
|
+
const stat2 = import_node_fs10.default.statSync(plist5, { throwIfNoEntry: false });
|
|
29771
|
+
if (!stat2) return null;
|
|
29772
|
+
const stamp = `${stat2.ino}:${stat2.size}:${stat2.mtimeMs}`;
|
|
29773
|
+
let entry = bundleValues.get(plist5);
|
|
29774
|
+
if (entry?.stamp !== stamp) {
|
|
29775
|
+
entry = { stamp, values: /* @__PURE__ */ new Map() };
|
|
29776
|
+
bundleValues.set(plist5, entry);
|
|
29777
|
+
}
|
|
29778
|
+
if (entry.values.has(key2)) return entry.values.get(key2) ?? null;
|
|
29779
|
+
const read = (0, import_node_child_process6.spawnSync)("plutil", ["-extract", key2, "raw", "-o", "-", plist5], {
|
|
29780
|
+
encoding: "utf8"
|
|
29781
|
+
});
|
|
29782
|
+
const value = read.status === 0 ? read.stdout.trim() : null;
|
|
29783
|
+
entry.values.set(key2, value);
|
|
29784
|
+
return value;
|
|
29775
29785
|
}
|
|
29776
29786
|
function isNativeHostBundle(app) {
|
|
29777
29787
|
return process.platform === "darwin" && bundleValue(app, "CFBundleIdentifier") === HOST_BUNDLE_ID;
|
|
@@ -29943,7 +29953,7 @@ function desktopHostDelivery(channelInput) {
|
|
|
29943
29953
|
writeActiveRuntime: placeHost
|
|
29944
29954
|
});
|
|
29945
29955
|
}
|
|
29946
|
-
var import_node_child_process6, import_node_crypto4, import_node_fs10, import_node_os5, import_node_path6, DESKTOP_HOST_CDN_ORIGIN, DESKTOP_HOST_CHANNELS, CHANNEL_ENV, MAC_HOST_MINIMUM_MAJOR, macMeetsHostMinimum, MAC_HOST_APP, HOST_BUNDLE_ID, HOST_REQUIREMENT;
|
|
29956
|
+
var import_node_child_process6, import_node_crypto4, import_node_fs10, import_node_os5, import_node_path6, DESKTOP_HOST_CDN_ORIGIN, DESKTOP_HOST_CHANNELS, CHANNEL_ENV, MAC_HOST_MINIMUM_MAJOR, macMeetsHostMinimum, MAC_HOST_APP, HOST_BUNDLE_ID, HOST_REQUIREMENT, bundleValues;
|
|
29947
29957
|
var init_desktop_host_delivery = __esm({
|
|
29948
29958
|
"src/desktop-host-delivery.ts"() {
|
|
29949
29959
|
"use strict";
|
|
@@ -29961,6 +29971,7 @@ var init_desktop_host_delivery = __esm({
|
|
|
29961
29971
|
MAC_HOST_APP = "/Applications/Peach.app";
|
|
29962
29972
|
HOST_BUNDLE_ID = "dev.contrast.peach-desktop";
|
|
29963
29973
|
HOST_REQUIREMENT = '=anchor apple generic and identifier "dev.contrast.peach-desktop" and certificate leaf[subject.OU] = "399WY8X9HY" and certificate leaf[field.1.2.840.113635.100.6.1.13] exists';
|
|
29974
|
+
bundleValues = /* @__PURE__ */ new Map();
|
|
29964
29975
|
}
|
|
29965
29976
|
});
|
|
29966
29977
|
|
|
@@ -30179,16 +30190,20 @@ function peachAnsweredNativePackages() {
|
|
|
30179
30190
|
const names = readPeachRuntimeJson(ANSWERED_NATIVE_PACKAGES_PATH);
|
|
30180
30191
|
if (!Array.isArray(names) || !names.every((name3) => typeof name3 === "string"))
|
|
30181
30192
|
throw new Error(`${ANSWERED_NATIVE_PACKAGES_PATH} must list package names`);
|
|
30182
|
-
|
|
30193
|
+
const overridden = unansweredStore.getStore();
|
|
30194
|
+
if (!overridden || overridden.size === 0) return new Set(names);
|
|
30195
|
+
return new Set(names.filter((name3) => !overridden.has(name3)));
|
|
30183
30196
|
}
|
|
30184
|
-
var import_node_fs12, import_node_path8, ANSWERED_NATIVE_PACKAGES_PATH;
|
|
30197
|
+
var import_node_async_hooks, import_node_fs12, import_node_path8, ANSWERED_NATIVE_PACKAGES_PATH, unansweredStore;
|
|
30185
30198
|
var init_answeredNativePackages = __esm({
|
|
30186
30199
|
"src/answeredNativePackages.ts"() {
|
|
30187
30200
|
"use strict";
|
|
30201
|
+
import_node_async_hooks = require("node:async_hooks");
|
|
30188
30202
|
import_node_fs12 = require("node:fs");
|
|
30189
30203
|
import_node_path8 = require("node:path");
|
|
30190
30204
|
init_runtime_assets();
|
|
30191
30205
|
ANSWERED_NATIVE_PACKAGES_PATH = "node/answered-native-packages.json";
|
|
30206
|
+
unansweredStore = new import_node_async_hooks.AsyncLocalStorage();
|
|
30192
30207
|
}
|
|
30193
30208
|
});
|
|
30194
30209
|
|
|
@@ -31041,7 +31056,7 @@ var init_swift_submit = __esm({
|
|
|
31041
31056
|
MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
31042
31057
|
MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
31043
31058
|
MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
31044
|
-
SWIFT_HOST_ABI =
|
|
31059
|
+
SWIFT_HOST_ABI = 73;
|
|
31045
31060
|
POLL_INTERVAL_MS = 1500;
|
|
31046
31061
|
}
|
|
31047
31062
|
});
|
|
@@ -66184,7 +66199,7 @@ var init_swift_standin_digest = __esm({
|
|
|
66184
66199
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
66185
66200
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
66186
66201
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
66187
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
66202
|
+
STANDIN_SOURCE_DIGEST = true ? "89e44465df23e51162420571715018b02da9bbaf61840c772745d5ba5f15487c" : standinSourceDigest();
|
|
66188
66203
|
}
|
|
66189
66204
|
});
|
|
66190
66205
|
|
|
@@ -66605,26 +66620,33 @@ var init_nitroContract = __esm({
|
|
|
66605
66620
|
});
|
|
66606
66621
|
|
|
66607
66622
|
// src/package-tree-digest.ts
|
|
66608
|
-
|
|
66623
|
+
function hashPackageTree(root, options) {
|
|
66609
66624
|
const files2 = [];
|
|
66610
66625
|
const walk3 = (directory2, relative6) => {
|
|
66611
66626
|
for (const entry of (0, import_node_fs68.readdirSync)(directory2, { withFileTypes: true }).sort(
|
|
66612
|
-
(a, b) => a.name
|
|
66627
|
+
(a, b) => options.compareNames(a.name, b.name)
|
|
66613
66628
|
)) {
|
|
66614
66629
|
if (entry.name === "node_modules") continue;
|
|
66615
66630
|
const path143 = `${relative6}${entry.name}`;
|
|
66616
66631
|
if (entry.isDirectory()) walk3((0, import_node_path65.join)(directory2, entry.name), `${path143}/`);
|
|
66617
|
-
else if (entry.isFile()) files2.push(path143);
|
|
66632
|
+
else if (entry.isFile() && !options.skipFile?.(entry.name)) files2.push(path143);
|
|
66618
66633
|
}
|
|
66619
66634
|
};
|
|
66620
66635
|
walk3(root, "");
|
|
66621
66636
|
const hash = (0, import_node_crypto34.createHash)("sha256");
|
|
66622
|
-
|
|
66623
|
-
|
|
66624
|
-
|
|
66625
|
-
|
|
66626
|
-
|
|
66627
|
-
|
|
66637
|
+
return (async () => {
|
|
66638
|
+
for (let start = 0; start < files2.length; start += READ_AHEAD) {
|
|
66639
|
+
const batch = files2.slice(start, start + READ_AHEAD);
|
|
66640
|
+
const bytes = await Promise.all(batch.map((file) => (0, import_promises6.readFile)((0, import_node_path65.join)(root, file))));
|
|
66641
|
+
batch.forEach((file, index) => hash.update(`${file}\0`).update(bytes[index]));
|
|
66642
|
+
}
|
|
66643
|
+
return hash.digest("hex");
|
|
66644
|
+
})();
|
|
66645
|
+
}
|
|
66646
|
+
function packageTreeDigest(root) {
|
|
66647
|
+
return hashPackageTree(root, {
|
|
66648
|
+
compareNames: (left, right) => left.localeCompare(right)
|
|
66649
|
+
});
|
|
66628
66650
|
}
|
|
66629
66651
|
var import_node_crypto34, import_node_fs68, import_promises6, import_node_path65, READ_AHEAD;
|
|
66630
66652
|
var init_package_tree_digest = __esm({
|
|
@@ -66640,7 +66662,7 @@ var init_package_tree_digest = __esm({
|
|
|
66640
66662
|
|
|
66641
66663
|
// src/expo-native-prebuilt.ts
|
|
66642
66664
|
function expoNativeCompilerDigestValue() {
|
|
66643
|
-
return true ? "
|
|
66665
|
+
return true ? "9b86a3d9b32c1030e03f81631aa8f360f8a5e29bbaf2e75d7110a2d558272880" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
66644
66666
|
}
|
|
66645
66667
|
function readSources(value) {
|
|
66646
66668
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -78694,11 +78716,11 @@ function disposeSwiftProject(packagePath, signal) {
|
|
|
78694
78716
|
xcodeProjects().delete(packagePath);
|
|
78695
78717
|
sourceEntries().delete(packagePath);
|
|
78696
78718
|
}
|
|
78697
|
-
var
|
|
78719
|
+
var import_node_async_hooks2, import_node_child_process47, import_node_crypto45, import_node_fs87, import_node_os17, import_node_path83, ARTIFACT_PATH, RESOURCE_PATH, ICU_PATH, SKIP_ROOT_DIRS, NATIVE_DESCRIPTOR, NATIVE_GLUE, SwiftMissingModulesError, sharedProjects, projectScope, projects, sharedSourceEntries, sourceEntries, sharedXcodeProjects, xcodeProjects, preparedScriptInputs, emptyWasmAssembly, XCODE_APP_DIR, XCODE_FRAMEWORKS_DIR, XCODE_PACKAGES_DIR, layoutScope, HOSTED_LIMITS, LOCAL_LIMITS, inputLimits, RESOURCE_CONTENT_TYPES, API_GAP_PATTERNS, IOS_SDK_FRAMEWORKS;
|
|
78698
78720
|
var init_swift_host = __esm({
|
|
78699
78721
|
"src/swift-host.ts"() {
|
|
78700
78722
|
"use strict";
|
|
78701
|
-
|
|
78723
|
+
import_node_async_hooks2 = require("node:async_hooks");
|
|
78702
78724
|
import_node_child_process47 = require("node:child_process");
|
|
78703
78725
|
import_node_crypto45 = require("node:crypto");
|
|
78704
78726
|
import_node_fs87 = __toESM(require("node:fs"), 1);
|
|
@@ -78741,7 +78763,7 @@ var init_swift_host = __esm({
|
|
|
78741
78763
|
SwiftMissingModulesError = class extends Error {
|
|
78742
78764
|
};
|
|
78743
78765
|
sharedProjects = /* @__PURE__ */ new Map();
|
|
78744
|
-
projectScope = new
|
|
78766
|
+
projectScope = new import_node_async_hooks2.AsyncLocalStorage();
|
|
78745
78767
|
projects = () => projectScope.getStore()?.projects ?? sharedProjects;
|
|
78746
78768
|
sharedSourceEntries = /* @__PURE__ */ new Map();
|
|
78747
78769
|
sourceEntries = () => projectScope.getStore()?.sourceEntries ?? sharedSourceEntries;
|
|
@@ -78752,7 +78774,7 @@ var init_swift_host = __esm({
|
|
|
78752
78774
|
XCODE_APP_DIR = "__app__";
|
|
78753
78775
|
XCODE_FRAMEWORKS_DIR = "__frameworks__";
|
|
78754
78776
|
XCODE_PACKAGES_DIR = SWIFT_REMOTE_PACKAGES_DIR;
|
|
78755
|
-
layoutScope = new
|
|
78777
|
+
layoutScope = new import_node_async_hooks2.AsyncLocalStorage();
|
|
78756
78778
|
HOSTED_LIMITS = {
|
|
78757
78779
|
sourceBytes: MAX_SWIFT_COMPILE_SOURCE_BYTES,
|
|
78758
78780
|
resources: MAX_SWIFT_COMPILE_RESOURCES,
|
|
@@ -83806,7 +83828,8 @@ async function prepareTurboCompileInput(options) {
|
|
|
83806
83828
|
collection.externalPodSources.map(({ moduleName: moduleName2 }) => moduleName2)
|
|
83807
83829
|
);
|
|
83808
83830
|
for (const target of collection.targets)
|
|
83809
|
-
if (!externalModules.has(target.name)
|
|
83831
|
+
if (!externalModules.has(target.name) || collection.rendererSwiftTargets.includes(target.name))
|
|
83832
|
+
available.add(target.name);
|
|
83810
83833
|
const missing2 = [
|
|
83811
83834
|
.../* @__PURE__ */ new Set([
|
|
83812
83835
|
...missingSwiftModules(collection.files, available).keys(),
|
|
@@ -84241,7 +84264,7 @@ var init_react_native_core = __esm({
|
|
|
84241
84264
|
init_swift_distribution();
|
|
84242
84265
|
init_swift_package();
|
|
84243
84266
|
init_swiftContract();
|
|
84244
|
-
recipe = true ? "
|
|
84267
|
+
recipe = true ? "8e950f0e9749922071dda3e668507e3ff24dd2678085abafc0a8403c6263bddf" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
84245
84268
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
84246
84269
|
building = /* @__PURE__ */ new Map();
|
|
84247
84270
|
}
|
|
@@ -86598,11 +86621,11 @@ async function handleExpoSwiftRequest(req, res) {
|
|
|
86598
86621
|
}
|
|
86599
86622
|
return true;
|
|
86600
86623
|
}
|
|
86601
|
-
var
|
|
86624
|
+
var import_node_async_hooks3, import_node_child_process51, import_node_crypto50, import_node_fs96, import_node_module15, import_node_os19, import_node_path92, import_node_url6, import_node_util17, run8, scriptEnv, EXPO_SWIFT_ROUTE, EXPO_SWIFT_ENTRY, WITNESS_BATCH, traceStore, discoveryCache, preparedCache, savedFs, ignoredRoots, ownTemporaryRoots, compiling, preparedExpoSwift, openPreparations, ExpoSwiftLinkRefusal;
|
|
86602
86625
|
var init_expo_swift_host = __esm({
|
|
86603
86626
|
"src/expo-swift-host.ts"() {
|
|
86604
86627
|
"use strict";
|
|
86605
|
-
|
|
86628
|
+
import_node_async_hooks3 = require("node:async_hooks");
|
|
86606
86629
|
import_node_child_process51 = require("node:child_process");
|
|
86607
86630
|
import_node_crypto50 = require("node:crypto");
|
|
86608
86631
|
import_node_fs96 = __toESM(require("node:fs"), 1);
|
|
@@ -86646,7 +86669,7 @@ var init_expo_swift_host = __esm({
|
|
|
86646
86669
|
EXPO_SWIFT_ROUTE = "/__peach/expo-swift";
|
|
86647
86670
|
EXPO_SWIFT_ENTRY = "Sources/PeachExpoApp/PeachExpoEntry.swift";
|
|
86648
86671
|
WITNESS_BATCH = 200;
|
|
86649
|
-
traceStore = new
|
|
86672
|
+
traceStore = new import_node_async_hooks3.AsyncLocalStorage();
|
|
86650
86673
|
discoveryCache = /* @__PURE__ */ new Map();
|
|
86651
86674
|
preparedCache = /* @__PURE__ */ new Map();
|
|
86652
86675
|
savedFs = null;
|
|
@@ -86942,18 +86965,18 @@ async function handleStagedHostFileRequest(req, res) {
|
|
|
86942
86965
|
throw error;
|
|
86943
86966
|
}
|
|
86944
86967
|
}
|
|
86945
|
-
var
|
|
86968
|
+
var import_node_async_hooks4, import_node_crypto51, import_node_fs97, import_node_path93, stagedCapture, STAGED_PREFIX, STAGED_NAME, METRO_INDEX_NAME, STAGED_RETENTION_MS;
|
|
86946
86969
|
var init_staged_host_files = __esm({
|
|
86947
86970
|
"src/host/staged-host-files.ts"() {
|
|
86948
86971
|
"use strict";
|
|
86949
|
-
|
|
86972
|
+
import_node_async_hooks4 = require("node:async_hooks");
|
|
86950
86973
|
import_node_crypto51 = require("node:crypto");
|
|
86951
86974
|
import_node_fs97 = __toESM(require("node:fs"), 1);
|
|
86952
86975
|
import_node_path93 = __toESM(require("node:path"), 1);
|
|
86953
86976
|
init_uttype_mime();
|
|
86954
86977
|
init_home_paths();
|
|
86955
86978
|
init_launchMetadataContract();
|
|
86956
|
-
stagedCapture = new
|
|
86979
|
+
stagedCapture = new import_node_async_hooks4.AsyncLocalStorage();
|
|
86957
86980
|
STAGED_PREFIX = "/__peach/staged/";
|
|
86958
86981
|
STAGED_NAME = /^([a-f0-9]{64})(\.[a-z0-9]{1,10})?$/;
|
|
86959
86982
|
METRO_INDEX_NAME = /^metro-([a-f0-9]{64})$/;
|
|
@@ -88107,7 +88130,7 @@ var init_nitro_superset = __esm({
|
|
|
88107
88130
|
init_nitroContract();
|
|
88108
88131
|
init_swift_standin_digest();
|
|
88109
88132
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
88110
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
88133
|
+
NITRO_COMPILER_DIGEST = true ? "1bc5848c1af14dee0bf97f7bd5d31978f14a6253eda5cd08260d1c7e00c5ca49" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
88111
88134
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
88112
88135
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
88113
88136
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -88815,7 +88838,7 @@ var init_one_sdk_bundle = __esm({
|
|
|
88815
88838
|
var runtime_companion_default;
|
|
88816
88839
|
var init_runtime_companion = __esm({
|
|
88817
88840
|
"runtime-companion.json"() {
|
|
88818
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
88841
|
+
runtime_companion_default = { abi: 1, sha256: "d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677", file: "node/cli-d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677.cjs" };
|
|
88819
88842
|
}
|
|
88820
88843
|
});
|
|
88821
88844
|
|
|
@@ -99161,9 +99184,11 @@ function entrySource(ids) {
|
|
|
99161
99184
|
"fun peachSetAndroidDeviceInfo(model: String, release: String, apiLevel: Int, locale: String, timeZone: String, settings: String, properties: String) {",
|
|
99162
99185
|
" Build.setDevice(model, release, apiLevel)",
|
|
99163
99186
|
" java.util.Locale.setDefault(java.util.Locale.forLanguageTag(locale))",
|
|
99164
|
-
" java.util.TimeZone.setDevice(timeZone)",
|
|
99165
99187
|
" dev.peach.android.ProcessSettings.configure(settings)",
|
|
99166
|
-
" android.
|
|
99188
|
+
" // the engine reports the device zone apart; android keeps it in persist.sys.timezone",
|
|
99189
|
+
' android.os.SystemProperties.configure(org.json.JSONObject(properties).put("persist.sys.timezone", timeZone).toString())',
|
|
99190
|
+
" // a later call is the device's time zone change, which ActivityThread answers with setDefault(null)",
|
|
99191
|
+
" if (dalvik.system.RuntimeHooks.getTimeZoneIdSupplier() == null) com.android.internal.os.RuntimeInit.commonInit() else java.util.TimeZone.setDefault(null)",
|
|
99167
99192
|
"}",
|
|
99168
99193
|
"",
|
|
99169
99194
|
"@OptIn(kotlin.js.ExperimentalJsExport::class, kotlinx.coroutines.DelicateCoroutinesApi::class)",
|
|
@@ -99553,9 +99578,11 @@ async function expoKotlinArtifact(root, moduleRoot, origin, modules) {
|
|
|
99553
99578
|
"@JsExport fun peachSetAndroidDeviceInfo(model: String, release: String, apiLevel: Int, locale: String, timeZone: String, settings: String, properties: String) {",
|
|
99554
99579
|
" android.os.Build.setDevice(model, release, apiLevel)",
|
|
99555
99580
|
" java.util.Locale.setDefault(java.util.Locale.forLanguageTag(locale))",
|
|
99556
|
-
" java.util.TimeZone.setDevice(timeZone)",
|
|
99557
99581
|
" dev.peach.android.ProcessSettings.configure(settings)",
|
|
99558
|
-
" android.
|
|
99582
|
+
" // the engine reports the device zone apart; android keeps it in persist.sys.timezone",
|
|
99583
|
+
' android.os.SystemProperties.configure(org.json.JSONObject(properties).put("persist.sys.timezone", timeZone).toString())',
|
|
99584
|
+
" // a later call is the device's time zone change, which ActivityThread answers with setDefault(null)",
|
|
99585
|
+
" if (dalvik.system.RuntimeHooks.getTimeZoneIdSupplier() == null) com.android.internal.os.RuntimeInit.commonInit() else java.util.TimeZone.setDefault(null)",
|
|
99559
99586
|
" PeachExpoRuntime.configureProcessLocale(locale)",
|
|
99560
99587
|
"}",
|
|
99561
99588
|
"",
|
|
@@ -100760,11 +100787,11 @@ function rethrowIfExit(error) {
|
|
|
100760
100787
|
function peachExit(code, reason) {
|
|
100761
100788
|
throw new PeachExit(code, reason);
|
|
100762
100789
|
}
|
|
100763
|
-
var
|
|
100790
|
+
var import_node_async_hooks5, PeachExit, sinks, rnxExit;
|
|
100764
100791
|
var init_run_rnx = __esm({
|
|
100765
100792
|
"cli/run-rnx.ts"() {
|
|
100766
100793
|
"use strict";
|
|
100767
|
-
|
|
100794
|
+
import_node_async_hooks5 = require("node:async_hooks");
|
|
100768
100795
|
PeachExit = class extends Error {
|
|
100769
100796
|
code;
|
|
100770
100797
|
reason;
|
|
@@ -100775,7 +100802,7 @@ var init_run_rnx = __esm({
|
|
|
100775
100802
|
this.reason = reason;
|
|
100776
100803
|
}
|
|
100777
100804
|
};
|
|
100778
|
-
sinks = new
|
|
100805
|
+
sinks = new import_node_async_hooks5.AsyncLocalStorage();
|
|
100779
100806
|
rnxExit = peachExit;
|
|
100780
100807
|
}
|
|
100781
100808
|
});
|
|
@@ -112342,6 +112369,10 @@ var init_meta = __esm({
|
|
|
112342
112369
|
"peach perf scroll <start|stop> [options]"
|
|
112343
112370
|
],
|
|
112344
112371
|
options: [
|
|
112372
|
+
option(
|
|
112373
|
+
"--host",
|
|
112374
|
+
"for `perf cpu`: profile the desktop app's realms through its host, no Chrome"
|
|
112375
|
+
),
|
|
112345
112376
|
option(
|
|
112346
112377
|
"--cdp-port <port>",
|
|
112347
112378
|
"for `perf cpu`: Chrome DevTools port (default: $PEACH_CDP_PORT or 9222)"
|
|
@@ -112366,6 +112397,7 @@ var init_meta = __esm({
|
|
|
112366
112397
|
examples: [
|
|
112367
112398
|
example("peach open 8089 --new --driver playwright --cdp-port 9222"),
|
|
112368
112399
|
example("peach perf cpu --cdp-port 9222 --duration 5"),
|
|
112400
|
+
example("peach perf cpu --host --duration 8"),
|
|
112369
112401
|
example("peach perf react profile start"),
|
|
112370
112402
|
example("peach perf react summary --limit 10"),
|
|
112371
112403
|
example("peach perf shell start"),
|
|
@@ -118787,6 +118819,7 @@ ${registration}`,
|
|
|
118787
118819
|
}
|
|
118788
118820
|
];
|
|
118789
118821
|
const bundle = [
|
|
118822
|
+
`var __DEV__=false;`,
|
|
118790
118823
|
`var __METRO_GLOBAL_PREFIX__='';`,
|
|
118791
118824
|
`(function(global){${METRO_REQUIRE_POLYFILL}})(globalThis);`,
|
|
118792
118825
|
...modules.map(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2270 | (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.2270 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2270 | (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.2270 | (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;
|
|
@@ -86,7 +86,7 @@ var MAX_SWIFT_COMPILE_METAL_TOTAL_BYTES = 8 * 1024 * 1024;
|
|
|
86
86
|
var MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
87
87
|
var MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
88
88
|
var MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
89
|
-
var SWIFT_HOST_ABI =
|
|
89
|
+
var SWIFT_HOST_ABI = 73;
|
|
90
90
|
var POLL_INTERVAL_MS = 1500;
|
|
91
91
|
function swiftNativeEntry(native, file) {
|
|
92
92
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2270 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/is-record.ts
|
|
4
4
|
function isRecord(value) {
|
|
@@ -40,7 +40,7 @@ var MAX_SWIFT_COMPILE_METAL_TOTAL_BYTES = 8 * 1024 * 1024;
|
|
|
40
40
|
var MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
41
41
|
var MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
42
42
|
var MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
43
|
-
var SWIFT_HOST_ABI =
|
|
43
|
+
var SWIFT_HOST_ABI = 73;
|
|
44
44
|
var POLL_INTERVAL_MS = 1500;
|
|
45
45
|
function swiftNativeEntry(native, file) {
|
|
46
46
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2270 | (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/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2270 | (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/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2270 | (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;
|
|
@@ -22710,7 +22710,7 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
22710
22710
|
}
|
|
22711
22711
|
|
|
22712
22712
|
// src/swift-host.ts
|
|
22713
|
-
var
|
|
22713
|
+
var import_node_async_hooks2 = require("node:async_hooks");
|
|
22714
22714
|
var import_node_child_process35 = require("node:child_process");
|
|
22715
22715
|
var import_node_crypto30 = require("node:crypto");
|
|
22716
22716
|
var import_node_fs55 = __toESM(require("node:fs"), 1);
|
|
@@ -28011,6 +28011,7 @@ async function ensureLinuxBrowserLibraries(executablePath, browser) {
|
|
|
28011
28011
|
}
|
|
28012
28012
|
|
|
28013
28013
|
// src/answeredNativePackages.ts
|
|
28014
|
+
var import_node_async_hooks = require("node:async_hooks");
|
|
28014
28015
|
var import_node_fs35 = require("node:fs");
|
|
28015
28016
|
var import_node_path35 = require("node:path");
|
|
28016
28017
|
|
|
@@ -28057,6 +28058,7 @@ function resolveActiveRuntimeRoot() {
|
|
|
28057
28058
|
}
|
|
28058
28059
|
|
|
28059
28060
|
// src/answeredNativePackages.ts
|
|
28061
|
+
var unansweredStore = new import_node_async_hooks.AsyncLocalStorage();
|
|
28060
28062
|
function peachRuntimeRoot() {
|
|
28061
28063
|
const root = resolveDevCheckoutRuntimeAssetRoot() ?? resolveActiveRuntimeRoot();
|
|
28062
28064
|
if (!root) throw new Error("No Peach runtime installed; run `peach runtime install`");
|
|
@@ -31447,7 +31449,7 @@ var MAX_SWIFT_COMPILE_METAL_TOTAL_BYTES = 8 * 1024 * 1024;
|
|
|
31447
31449
|
var MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
31448
31450
|
var MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
31449
31451
|
var MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
31450
|
-
var SWIFT_HOST_ABI =
|
|
31452
|
+
var SWIFT_HOST_ABI = 73;
|
|
31451
31453
|
var POLL_INTERVAL_MS = 1500;
|
|
31452
31454
|
function swiftNativeEntry(native, file) {
|
|
31453
31455
|
return {
|
|
@@ -32414,7 +32416,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
32414
32416
|
return hash.digest("hex");
|
|
32415
32417
|
}
|
|
32416
32418
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
32417
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
32419
|
+
var STANDIN_SOURCE_DIGEST = true ? "89e44465df23e51162420571715018b02da9bbaf61840c772745d5ba5f15487c" : standinSourceDigest();
|
|
32418
32420
|
|
|
32419
32421
|
// src/swift-standins.ts
|
|
32420
32422
|
var import_node_child_process31 = require("node:child_process");
|
|
@@ -37695,7 +37697,7 @@ function nativeSourceFiles(packagePath) {
|
|
|
37695
37697
|
var SwiftMissingModulesError = class extends Error {
|
|
37696
37698
|
};
|
|
37697
37699
|
var sharedProjects = /* @__PURE__ */ new Map();
|
|
37698
|
-
var projectScope = new
|
|
37700
|
+
var projectScope = new import_node_async_hooks2.AsyncLocalStorage();
|
|
37699
37701
|
var projects = () => projectScope.getStore()?.projects ?? sharedProjects;
|
|
37700
37702
|
var sharedSourceEntries = /* @__PURE__ */ new Map();
|
|
37701
37703
|
var sourceEntries = () => projectScope.getStore()?.sourceEntries ?? sharedSourceEntries;
|
|
@@ -37967,7 +37969,7 @@ function xcodeInputKey(layout2, file, relative2) {
|
|
|
37967
37969
|
import_node_path55.default.relative(checkouts, file).split(import_node_path55.default.sep).join("/")
|
|
37968
37970
|
) : relative2 === ".." || relative2.startsWith("../") ? import_node_path55.default.posix.join("external", file.split(import_node_path55.default.sep).join("/")) : relative2;
|
|
37969
37971
|
}
|
|
37970
|
-
var layoutScope = new
|
|
37972
|
+
var layoutScope = new import_node_async_hooks2.AsyncLocalStorage();
|
|
37971
37973
|
async function withXcodeLayout(root, run5) {
|
|
37972
37974
|
const scope2 = /* @__PURE__ */ new Map();
|
|
37973
37975
|
return layoutScope.run(scope2, async () => {
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2270 | (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;
|
|
@@ -2742,7 +2742,7 @@ var init_src = __esm({
|
|
|
2742
2742
|
var runtime_companion_default;
|
|
2743
2743
|
var init_runtime_companion = __esm({
|
|
2744
2744
|
"runtime-companion.json"() {
|
|
2745
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
2745
|
+
runtime_companion_default = { abi: 1, sha256: "d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677", file: "node/cli-d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677.cjs" };
|
|
2746
2746
|
}
|
|
2747
2747
|
});
|
|
2748
2748
|
|
|
@@ -2966,10 +2966,13 @@ function peachRuntimeRoot() {
|
|
|
2966
2966
|
if (!root) throw new Error("No Peach runtime installed; run `peach runtime install`");
|
|
2967
2967
|
return root;
|
|
2968
2968
|
}
|
|
2969
|
+
var import_node_async_hooks, unansweredStore;
|
|
2969
2970
|
var init_answeredNativePackages = __esm({
|
|
2970
2971
|
"src/answeredNativePackages.ts"() {
|
|
2971
2972
|
"use strict";
|
|
2973
|
+
import_node_async_hooks = require("node:async_hooks");
|
|
2972
2974
|
init_runtime_assets();
|
|
2975
|
+
unansweredStore = new import_node_async_hooks.AsyncLocalStorage();
|
|
2973
2976
|
}
|
|
2974
2977
|
});
|
|
2975
2978
|
|
|
@@ -3097,7 +3100,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
3097
3100
|
var init_swift_standin_digest = __esm({
|
|
3098
3101
|
"src/swift-standin-digest.ts"() {
|
|
3099
3102
|
"use strict";
|
|
3100
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
3103
|
+
STANDIN_SOURCE_DIGEST = true ? "89e44465df23e51162420571715018b02da9bbaf61840c772745d5ba5f15487c" : standinSourceDigest();
|
|
3101
3104
|
}
|
|
3102
3105
|
});
|
|
3103
3106
|
|
|
@@ -5274,7 +5277,7 @@ var init_react_native_core = __esm({
|
|
|
5274
5277
|
init_swift_distribution();
|
|
5275
5278
|
init_swift_package();
|
|
5276
5279
|
init_swiftContract();
|
|
5277
|
-
recipe = true ? "
|
|
5280
|
+
recipe = true ? "8e950f0e9749922071dda3e668507e3ff24dd2678085abafc0a8403c6263bddf" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
5278
5281
|
}
|
|
5279
5282
|
});
|
|
5280
5283
|
|
|
@@ -5377,11 +5380,11 @@ var init_swift_standin_config = __esm({
|
|
|
5377
5380
|
});
|
|
5378
5381
|
|
|
5379
5382
|
// src/swift-host.ts
|
|
5380
|
-
var
|
|
5383
|
+
var import_node_async_hooks2, projectScope, layoutScope, IOS_SDK_FRAMEWORKS;
|
|
5381
5384
|
var init_swift_host = __esm({
|
|
5382
5385
|
"src/swift-host.ts"() {
|
|
5383
5386
|
"use strict";
|
|
5384
|
-
|
|
5387
|
+
import_node_async_hooks2 = require("node:async_hooks");
|
|
5385
5388
|
init_bundleAssets();
|
|
5386
5389
|
init_stringCatalog();
|
|
5387
5390
|
init_core_data_entity_classes();
|
|
@@ -5410,8 +5413,8 @@ var init_swift_host = __esm({
|
|
|
5410
5413
|
init_swiftContract();
|
|
5411
5414
|
init_swiftContract();
|
|
5412
5415
|
init_xcode_project();
|
|
5413
|
-
projectScope = new
|
|
5414
|
-
layoutScope = new
|
|
5416
|
+
projectScope = new import_node_async_hooks2.AsyncLocalStorage();
|
|
5417
|
+
layoutScope = new import_node_async_hooks2.AsyncLocalStorage();
|
|
5415
5418
|
IOS_SDK_FRAMEWORKS = new Set(ios_sdk_frameworks_default.frameworks);
|
|
5416
5419
|
}
|
|
5417
5420
|
});
|
|
@@ -9639,7 +9642,7 @@ init_xcode_project();
|
|
|
9639
9642
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
9640
9643
|
|
|
9641
9644
|
// src/expo-swift-host.ts
|
|
9642
|
-
var
|
|
9645
|
+
var import_node_async_hooks3 = require("node:async_hooks");
|
|
9643
9646
|
var import_node_child_process14 = require("node:child_process");
|
|
9644
9647
|
var import_node_util10 = require("node:util");
|
|
9645
9648
|
init_answeredNativePackages();
|
|
@@ -9715,7 +9718,7 @@ init_swift_toolchain();
|
|
|
9715
9718
|
init_turbo_source();
|
|
9716
9719
|
var run7 = (0, import_node_util10.promisify)(import_node_child_process14.execFile);
|
|
9717
9720
|
var scriptEnv = { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: "1" };
|
|
9718
|
-
var traceStore = new
|
|
9721
|
+
var traceStore = new import_node_async_hooks3.AsyncLocalStorage();
|
|
9719
9722
|
var openPreparations = new NativePreparationReceipts();
|
|
9720
9723
|
|
|
9721
9724
|
// src/expo-pod-prebuilt.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2270 | (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;
|
|
@@ -20,7 +20,7 @@ export interface HostNative {
|
|
|
20
20
|
_peach_layer_motion_configure(maxBytes: number): void;
|
|
21
21
|
_peach_shadow_motion_configure(maskSigma: number, holdMs: number): void;
|
|
22
22
|
_peach_host_record(id: number, count: number, external: number): void;
|
|
23
|
-
_peach_host_stamp(id: number, stamp: number, font: number, originX: number, originY: number, dpr: number): void;
|
|
23
|
+
_peach_host_stamp(id: number, stamp: number, font: number, originX: number, originY: number, dpr: number, swiftUIOpacity: number): void;
|
|
24
24
|
_peach_host_release(id: number): number;
|
|
25
25
|
_peach_host_release_caches(id: number): number;
|
|
26
26
|
_peach_host_cached(id: number): number;
|
|
@@ -95,6 +95,7 @@ export interface PaintBoundaryState {
|
|
|
95
95
|
recordedAtColorScheme: 'light' | 'dark' | null;
|
|
96
96
|
recordedAtFontGeneration: number;
|
|
97
97
|
recordedAtDeviceScale: number;
|
|
98
|
+
recordedAtSwiftUIOpacity: number;
|
|
98
99
|
recording: boolean;
|
|
99
100
|
recordedAtTreeVersion: number;
|
|
100
101
|
records: number;
|
|
@@ -70,6 +70,7 @@ export declare function addBackdropSample(damage: FrameDamage | null | undefined
|
|
|
70
70
|
export declare function addTransformedBackdropSample(damage: FrameDamage | null | undefined, dpr: number, sourceSurface: Surface, matrix: Float32Array | number[], x: number, y: number, w: number, h: number): void;
|
|
71
71
|
export declare function addTransformedMotionDamage(damage: FrameDamage | null | undefined, dpr: number, sourceSurface: Surface, matrix: Float32Array | number[], x: number, y: number, w: number, h: number): void;
|
|
72
72
|
export declare function takeMotionDamage(damage: FrameDamage | null | undefined): DamageRect | null;
|
|
73
|
+
export declare function drawMotionApart(damage: FrameDamage | null | undefined, draw: () => void): boolean;
|
|
73
74
|
export declare function touchDamage(damage: FrameDamage | null | undefined): void;
|
|
74
75
|
export declare function setSourceUnknown(damage: FrameDamage | null | undefined, unknown: boolean): void;
|
|
75
76
|
export declare function forceFullRedraw(damage: FrameDamage | null | undefined): void;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
overlay/
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
overlay/com/android/internal/os/LoggingPrintStream.java and AndroidPrintStream.java port
|
|
2
|
+
Android frameworks/base core/java/com/android/internal/os (android17-release).
|
|
3
|
+
overlay/libcore/util/ZoneInfo.java and overlay/dalvik/system/RuntimeHooks.java port Android
|
|
4
|
+
libcore's luni sources, overlay/com/android/internal/os/RuntimeInit.java ports the time zone step
|
|
5
|
+
of frameworks/base RuntimeInit.java, and overlay/com/android/i18n/timezone ZoneInfoData.java and
|
|
6
|
+
ZoneInfoDb.java port Android external/icu android_icu4j/libcore_bridge (android17-release).
|
|
4
7
|
Copyright (C) 2007 The Android Open Source Project
|
|
5
8
|
|
|
6
9
|
Licensed under the Apache License, Version 2.0:
|