peachsim 0.1.2639 → 0.1.2641
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/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 +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +27 -42
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-Q4MIWEUF.mjs → acorn-KKSBENIW.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-GL7HGOZO.mjs → chunk-3XHQSC2I.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CEBGMUJ7.mjs → chunk-56OVYMMO.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-4Z7B7GNU.mjs → chunk-A2UFL7MN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-X3YJQTAA.mjs → chunk-B76ILNNO.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2IEHHGR3.mjs → chunk-C3TNMVSF.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-2JFHTIVW.mjs → chunk-FZYZIX77.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IBOU4HP6.mjs → chunk-HXDNPY76.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-AZ4NQGUN.mjs → chunk-IELDFWIY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZHFYSV5V.mjs → chunk-IS6IM2XS.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-AUQGMRZ3.mjs → chunk-JMYRVRTX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IYR7Y2ZZ.mjs → chunk-NLWAW2IW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-XRAA66CT.mjs → chunk-NWZWTQ5S.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZHGVF56B.mjs → chunk-OMAUXW53.mjs} +14 -14
- package/dist-lib/esm-chunks/{chunk-DB4KKCHY.mjs → chunk-OYW7YAQZ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YDH2FZ4T.mjs → chunk-P6UFWLY6.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-VT44XCSL.mjs → chunk-PWEYCAE5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PQU7CUWC.mjs → chunk-QJTQGNQL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DPETKKDK.mjs → chunk-QVUXSUUE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-XVHSECUS.mjs → chunk-RQQTPVAK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KBUSYBLO.mjs → chunk-S5PKQIDG.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-77LY7ATW.mjs → chunk-X5HICS4I.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SENVGQMH.mjs → chunk-XMAK4JIN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NMRGKXEI.mjs → chunk-YORWPIVO.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-LTE7P72Z.mjs → chunk-ZIGVBYND.mjs} +6 -6
- package/dist-lib/esm-chunks/{metro-layout-parser-PXYCQ56F.mjs → metro-layout-parser-ZNWZ4X64.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-53QATJYX.mjs → swift-package-prebuilt-EL2XLCBQ.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-OX4P3VEA.mjs → swift-sdk-app-module-XPTHPWVS.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-Z2HS3Q2G.mjs → swift-sdk-image-SOWCKI4Z.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-KHERDUDJ.mjs → swift-sdk-image-producer-OEPQ4AHV.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +25 -39
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +27 -42
- 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 +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +15 -15
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +85 -85
- package/dist-lib/public-origins-lib.json +64 -64
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- 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 +8 -8
- package/dist-lib/skills.cjs +27 -42
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +12 -12
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +6 -6
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-anim-mirror-item.d.ts +8 -3
- package/package.json +1 -1
- package/src/nitro-compile.ts +1 -5
- package/src/react-native-core-build.ts +1 -23
- package/src/turbo-source.ts +20 -21
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
acquireSwiftRootReadHold,
|
|
4
4
|
hasLiveSwiftRootReaders,
|
|
5
5
|
waitForNoSwiftRootReaders,
|
|
6
6
|
withSwiftRootLock
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-56OVYMMO.mjs";
|
|
8
8
|
import {
|
|
9
9
|
CORE_FOUNDATION_OVERLAY_GLOBALS,
|
|
10
10
|
NATIVE_GRAPH_SDK_VERSION,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
withoutImportedSdkEnumForwards,
|
|
56
56
|
withoutSwiftDeclarations,
|
|
57
57
|
writeBuildFile
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-ZIGVBYND.mjs";
|
|
59
59
|
import {
|
|
60
60
|
SWIFT_AUTOLINK_LINKER,
|
|
61
61
|
SWIFT_CACHE_HOLD_MARKER,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
wasmThreadLinkFlags,
|
|
74
74
|
windowAdmission,
|
|
75
75
|
writeSwiftAutolinkLinker
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-HXDNPY76.mjs";
|
|
77
77
|
import {
|
|
78
78
|
SWIFT_BINARY_TREES_DIR,
|
|
79
79
|
SWIFT_NATIVE_INPUT_ROOT,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
isSwiftResourcePath,
|
|
89
89
|
isSwiftSourceLinkGraph,
|
|
90
90
|
swiftProjectFilesProblems
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-PWEYCAE5.mjs";
|
|
92
92
|
import {
|
|
93
93
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
94
94
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -111,16 +111,16 @@ import {
|
|
|
111
111
|
swiftPackagePartition,
|
|
112
112
|
swiftTargetModuleName,
|
|
113
113
|
withoutGlogModuleMap
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-QJTQGNQL.mjs";
|
|
115
115
|
import {
|
|
116
116
|
rnxPublicBrand
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-QVUXSUUE.mjs";
|
|
118
118
|
import {
|
|
119
119
|
isRecord
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-YORWPIVO.mjs";
|
|
121
121
|
import {
|
|
122
122
|
__publicField
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-OYW7YAQZ.mjs";
|
|
124
124
|
|
|
125
125
|
// src/swift-compile.ts
|
|
126
126
|
import { spawn as spawn2 } from "node:child_process";
|
|
@@ -14356,7 +14356,7 @@ async function compileGuestLink(options) {
|
|
|
14356
14356
|
};
|
|
14357
14357
|
const sdk = options.sdkImage;
|
|
14358
14358
|
const sdkCallers = sdk?.sdkInterface.guestCallers;
|
|
14359
|
-
const sdkObjects = sdk ? (await import("./swift-sdk-image-
|
|
14359
|
+
const sdkObjects = sdk ? (await import("./swift-sdk-image-SOWCKI4Z.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
|
|
14360
14360
|
if (sdk && (!sdkCallers || !sdkObjects))
|
|
14361
14361
|
throw new Error("the SDK image has no guest link manifest");
|
|
14362
14362
|
const result = await linkPrunedGuestImages({
|
|
@@ -14654,7 +14654,7 @@ async function compileGuestLink(options) {
|
|
|
14654
14654
|
readSwiftSdkUsage,
|
|
14655
14655
|
swiftAppModuleThunkSection,
|
|
14656
14656
|
swiftSdkProjectionSpans
|
|
14657
|
-
} = await import("./swift-sdk-app-module-
|
|
14657
|
+
} = await import("./swift-sdk-app-module-XPTHPWVS.mjs");
|
|
14658
14658
|
const project = options.project;
|
|
14659
14659
|
const work = project ? mkdtempSync2(path14.join(directory, "app-module-")) : path14.join(directory, "app-module");
|
|
14660
14660
|
if (project) chownSync(work, project.uid, project.gid);
|
|
@@ -20903,7 +20903,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20903
20903
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
20904
20904
|
const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
|
|
20905
20905
|
if (distribution) refreshSwiftCacheHold(moduleRoot);
|
|
20906
|
-
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-
|
|
20906
|
+
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-EL2XLCBQ.mjs")).useSwiftPackagePrebuilts(
|
|
20907
20907
|
sources,
|
|
20908
20908
|
moduleRoot,
|
|
20909
20909
|
options.toolchainBin
|
|
@@ -20917,7 +20917,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20917
20917
|
multi: compileTargets(input).length > 0
|
|
20918
20918
|
};
|
|
20919
20919
|
const sdkModule = options.sdkModule && !options.linkOnly;
|
|
20920
|
-
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-
|
|
20920
|
+
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-SOWCKI4Z.mjs")).buildSwiftSdkImage(
|
|
20921
20921
|
moduleRoot,
|
|
20922
20922
|
!!guestGraph,
|
|
20923
20923
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -21693,7 +21693,7 @@ ${compatShape}` : "";
|
|
|
21693
21693
|
if (sdkImage && binding)
|
|
21694
21694
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
21695
21695
|
} else if (sdkImage) {
|
|
21696
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
21696
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-XPTHPWVS.mjs");
|
|
21697
21697
|
const binding = await buildSwiftAppModule({
|
|
21698
21698
|
buildRoot: root2,
|
|
21699
21699
|
toolchainBin: options.toolchainBin,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SIM_LONG_PRESS_MAX_MS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3XHQSC2I.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YORWPIVO.mjs";
|
|
8
8
|
|
|
9
9
|
// ../peach-globals/src/globalsContract.ts
|
|
10
10
|
var LEGACY_ALIAS_MARKER = Symbol.for("sootsim.legacy-aliases-installed");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
DARWIN_RECORDS_PREFIX,
|
|
4
4
|
KEEP_WASM_NAMES,
|
|
@@ -25,21 +25,21 @@ import {
|
|
|
25
25
|
swiftSdkGuestLookups,
|
|
26
26
|
unslottedFunctions,
|
|
27
27
|
wasmSections
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OMAUXW53.mjs";
|
|
29
29
|
import {
|
|
30
30
|
withSwiftRootLock
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-56OVYMMO.mjs";
|
|
32
32
|
import {
|
|
33
33
|
swiftDistributionAt,
|
|
34
34
|
swiftModuleDigest,
|
|
35
35
|
swiftModuleToolchain,
|
|
36
36
|
swiftSdkPaths
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-ZIGVBYND.mjs";
|
|
38
38
|
import {
|
|
39
39
|
SWIFT_WASM_TRIPLE,
|
|
40
40
|
sourceSwiftCheckout,
|
|
41
41
|
swiftCacheDir
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-HXDNPY76.mjs";
|
|
43
43
|
|
|
44
44
|
// src/swift-sdk-image.ts
|
|
45
45
|
import { execFile } from "node:child_process";
|
|
@@ -228,7 +228,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
228
228
|
const existing = cached(directory, key);
|
|
229
229
|
if (existing) return existing;
|
|
230
230
|
if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
|
|
231
|
-
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-
|
|
231
|
+
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-OEPQ4AHV.mjs");
|
|
232
232
|
await produceSwiftSdkImage({
|
|
233
233
|
moduleRoot,
|
|
234
234
|
key,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_CACHE_HOLD_MARKER,
|
|
4
4
|
SWIFT_WASM_TRIPLE,
|
|
@@ -12,19 +12,19 @@ import {
|
|
|
12
12
|
terminateProcessGroup,
|
|
13
13
|
wasmThreadFlags,
|
|
14
14
|
windowAdmission
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HXDNPY76.mjs";
|
|
16
16
|
import {
|
|
17
17
|
isSwiftResourcePath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PWEYCAE5.mjs";
|
|
19
19
|
import {
|
|
20
20
|
swiftManifestDeclarations
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QJTQGNQL.mjs";
|
|
22
22
|
import {
|
|
23
23
|
isRecord
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-YORWPIVO.mjs";
|
|
25
25
|
import {
|
|
26
26
|
__publicField
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-OYW7YAQZ.mjs";
|
|
28
28
|
|
|
29
29
|
// src/write-build-file.ts
|
|
30
30
|
import { mkdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
|
package/dist-lib/esm-chunks/{metro-layout-parser-PXYCQ56F.mjs → metro-layout-parser-ZNWZ4X64.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-OYW7YAQZ.mjs";
|
|
3
3
|
|
|
4
4
|
// src/metro-layout-parser.ts
|
|
5
5
|
var whitespace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/y;
|
|
@@ -8,7 +8,7 @@ var lineBreak = /[\r\n\u2028\u2029]/;
|
|
|
8
8
|
var metroLayoutParser;
|
|
9
9
|
async function loadMetroLayoutParser() {
|
|
10
10
|
if (metroLayoutParser) return metroLayoutParser;
|
|
11
|
-
const { Parser } = await import("./acorn-
|
|
11
|
+
const { Parser } = await import("./acorn-KKSBENIW.mjs");
|
|
12
12
|
metroLayoutParser = Parser.extend(
|
|
13
13
|
(Base) => {
|
|
14
14
|
const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
compileTargets,
|
|
4
4
|
fetchNativeEntry,
|
|
5
5
|
nativeEntryKey,
|
|
6
6
|
swiftAvailableModules
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-OMAUXW53.mjs";
|
|
8
|
+
import "./chunk-56OVYMMO.mjs";
|
|
9
9
|
import {
|
|
10
10
|
swiftDistributionAt,
|
|
11
11
|
swiftImportNames
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-ZIGVBYND.mjs";
|
|
13
|
+
import "./chunk-HXDNPY76.mjs";
|
|
14
14
|
import {
|
|
15
15
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PWEYCAE5.mjs";
|
|
17
17
|
import {
|
|
18
18
|
manifestCalls
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-QJTQGNQL.mjs";
|
|
20
|
+
import "./chunk-A2UFL7MN.mjs";
|
|
21
|
+
import "./chunk-QVUXSUUE.mjs";
|
|
22
|
+
import "./chunk-NWZWTQ5S.mjs";
|
|
23
|
+
import "./chunk-YORWPIVO.mjs";
|
|
24
|
+
import "./chunk-OYW7YAQZ.mjs";
|
|
25
25
|
|
|
26
26
|
// src/swift-package-prebuilt.ts
|
|
27
27
|
import { createHash } from "node:crypto";
|
package/dist-lib/esm-chunks/{swift-sdk-app-module-OX4P3VEA.mjs → swift-sdk-app-module-XPTHPWVS.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
5
5
|
SWIFT_SDK_MEMORY_BASE,
|
|
6
6
|
SWIFT_SDK_PIECE_FIELDS,
|
|
7
7
|
readSwiftSdkManifest
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-S5PKQIDG.mjs";
|
|
9
9
|
import {
|
|
10
10
|
ADDEND_RELOCATIONS,
|
|
11
11
|
KEEP_WASM_NAMES,
|
|
@@ -33,22 +33,22 @@ import {
|
|
|
33
33
|
wasmReader,
|
|
34
34
|
wasmSections,
|
|
35
35
|
writeWasmCustomSection
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-OMAUXW53.mjs";
|
|
37
|
+
import "./chunk-56OVYMMO.mjs";
|
|
38
|
+
import "./chunk-C3TNMVSF.mjs";
|
|
39
|
+
import "./chunk-RQQTPVAK.mjs";
|
|
40
|
+
import "./chunk-X5HICS4I.mjs";
|
|
41
|
+
import "./chunk-ZIGVBYND.mjs";
|
|
42
42
|
import {
|
|
43
43
|
SWIFT_WASM_TRIPLE
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-HXDNPY76.mjs";
|
|
45
|
+
import "./chunk-PWEYCAE5.mjs";
|
|
46
|
+
import "./chunk-QJTQGNQL.mjs";
|
|
47
|
+
import "./chunk-A2UFL7MN.mjs";
|
|
48
|
+
import "./chunk-QVUXSUUE.mjs";
|
|
49
|
+
import "./chunk-NWZWTQ5S.mjs";
|
|
50
|
+
import "./chunk-YORWPIVO.mjs";
|
|
51
|
+
import "./chunk-OYW7YAQZ.mjs";
|
|
52
52
|
|
|
53
53
|
// src/swift-sdk-app-module.ts
|
|
54
54
|
import { execFile } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -14,21 +14,21 @@ import {
|
|
|
14
14
|
swiftSdkImageFile,
|
|
15
15
|
swiftSdkImageKey,
|
|
16
16
|
swiftSdkImageProducts
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-S5PKQIDG.mjs";
|
|
18
|
+
import "./chunk-OMAUXW53.mjs";
|
|
19
|
+
import "./chunk-56OVYMMO.mjs";
|
|
20
|
+
import "./chunk-C3TNMVSF.mjs";
|
|
21
|
+
import "./chunk-RQQTPVAK.mjs";
|
|
22
|
+
import "./chunk-X5HICS4I.mjs";
|
|
23
|
+
import "./chunk-ZIGVBYND.mjs";
|
|
24
|
+
import "./chunk-HXDNPY76.mjs";
|
|
25
|
+
import "./chunk-PWEYCAE5.mjs";
|
|
26
|
+
import "./chunk-QJTQGNQL.mjs";
|
|
27
|
+
import "./chunk-A2UFL7MN.mjs";
|
|
28
|
+
import "./chunk-QVUXSUUE.mjs";
|
|
29
|
+
import "./chunk-NWZWTQ5S.mjs";
|
|
30
|
+
import "./chunk-YORWPIVO.mjs";
|
|
31
|
+
import "./chunk-OYW7YAQZ.mjs";
|
|
32
32
|
export {
|
|
33
33
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
34
34
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
withSwiftRootLock
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-56OVYMMO.mjs";
|
|
5
5
|
import {
|
|
6
6
|
swiftCacheDir,
|
|
7
7
|
windowAdmission
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HXDNPY76.mjs";
|
|
9
9
|
import {
|
|
10
10
|
isRecord
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-YORWPIVO.mjs";
|
|
12
|
+
import "./chunk-OYW7YAQZ.mjs";
|
|
13
13
|
|
|
14
14
|
// src/swift-sdk-image-producer.ts
|
|
15
15
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2641 | (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;
|
|
@@ -18074,7 +18074,7 @@ var init_swift_standin_digest = __esm({
|
|
|
18074
18074
|
|
|
18075
18075
|
// src/expo-native-compiler-digest.ts
|
|
18076
18076
|
function expoNativeCompilerDigestValue() {
|
|
18077
|
-
return true ? "
|
|
18077
|
+
return true ? "bcf7958b6d92c8221f9901fc516ec9a425d83cef2109e25bfb12d5a2fc12cbba" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
18078
18078
|
}
|
|
18079
18079
|
var import_node_crypto17;
|
|
18080
18080
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -95270,19 +95270,12 @@ async function collectTurboSources(options2) {
|
|
|
95270
95270
|
"#ifdef __cplusplus",
|
|
95271
95271
|
'extern "C" {',
|
|
95272
95272
|
"#endif",
|
|
95273
|
-
...!options2.reactNativeProvider || options2.turboDispatch ? ["void peachTurboDispatchAsync(dispatch_block_t block);"] : [],
|
|
95274
95273
|
"CFBundleRef CFBundleGetMainBundle(void);",
|
|
95275
95274
|
"CFStringRef CFBundleGetIdentifier(CFBundleRef bundle);",
|
|
95276
95275
|
"CFTypeRef CFBundleGetValueForInfoDictionaryKey(CFBundleRef bundle, CFStringRef key);",
|
|
95277
95276
|
"#ifdef __cplusplus",
|
|
95278
95277
|
"}",
|
|
95279
95278
|
"#endif",
|
|
95280
|
-
...!options2.reactNativeProvider || options2.turboDispatch ? [
|
|
95281
|
-
"static inline void _peach_dispatch_async(dispatch_queue_t _Nullable q, dispatch_block_t _Nonnull b) { (void)q; peachTurboDispatchAsync(b); }",
|
|
95282
|
-
"static inline void _peach_dispatch_after(dispatch_time_t w, dispatch_queue_t _Nullable q, dispatch_block_t _Nonnull b) { (void)q; dispatch_block_t copied = [b copy]; dispatch_after(w, dispatch_get_global_queue(QOS_CLASS_DEFAULT, 0), ^{ peachTurboDispatchAsync(copied); }); }",
|
|
95283
|
-
"#define dispatch_async _peach_dispatch_async",
|
|
95284
|
-
"#define dispatch_after _peach_dispatch_after"
|
|
95285
|
-
] : [],
|
|
95286
95279
|
"#endif",
|
|
95287
95280
|
""
|
|
95288
95281
|
].join("\n")
|
|
@@ -95560,7 +95553,9 @@ function turboHostSource(withRuntime) {
|
|
|
95560
95553
|
#include <ReactCommon/CxxTurboModuleUtils.h>
|
|
95561
95554
|
#include <ReactCommon/TurboModuleBinding.h>
|
|
95562
95555
|
#include <deque>
|
|
95556
|
+
#include <dispatch/dispatch.h>
|
|
95563
95557
|
#include <memory>
|
|
95558
|
+
#include <pthread.h>
|
|
95564
95559
|
#include <string>
|
|
95565
95560
|
#include <unordered_map>
|
|
95566
95561
|
|
|
@@ -95635,13 +95630,14 @@ ${moduleProviders ? "#import <ReactCodegen/RCTModuleProviders.h>" : ""}
|
|
|
95635
95630
|
#import <ReactCommon/RCTTurboModuleManager.h>
|
|
95636
95631
|
#include <os/log.h>
|
|
95637
95632
|
#include <deque>
|
|
95633
|
+
#include <dispatch/dispatch.h>
|
|
95638
95634
|
#include <limits>
|
|
95639
95635
|
#include <memory>
|
|
95636
|
+
#include <pthread.h>
|
|
95640
95637
|
#include <string>
|
|
95641
95638
|
|
|
95642
95639
|
extern "C" {
|
|
95643
95640
|
BOOL objc_create_block_classes_as_subclasses_of(Class super);
|
|
95644
|
-
#undef dispatch_async
|
|
95645
95641
|
static void *peachBlockCopy(const void *self, SEL) {
|
|
95646
95642
|
return _Block_copy(self);
|
|
95647
95643
|
}
|
|
@@ -95726,12 +95722,6 @@ ${JS_CALL_INVOKER}
|
|
|
95726
95722
|
std::shared_ptr<JsCallInvoker> invoker;
|
|
95727
95723
|
std::string names;
|
|
95728
95724
|
|
|
95729
|
-
extern "C" void peachTurboDispatchAsync(dispatch_block_t block) {
|
|
95730
|
-
if (!block || !invoker) return;
|
|
95731
|
-
dispatch_block_t copied = [block copy];
|
|
95732
|
-
invoker->invokeAsync([copied](jsi::Runtime&) { copied(); });
|
|
95733
|
-
}
|
|
95734
|
-
|
|
95735
95725
|
void dispatchToJSThread(dispatch_block_t block) {
|
|
95736
95726
|
invoker->invokeAsync([block](jsi::Runtime&) { block(); });
|
|
95737
95727
|
}
|
|
@@ -97584,10 +97574,21 @@ var init_turbo_source = __esm({
|
|
|
97584
97574
|
JS_CALL_INVOKER = `namespace {
|
|
97585
97575
|
// async work runs once the host's current call returns; sync work runs
|
|
97586
97576
|
// inline, both on the one JS thread.
|
|
97587
|
-
class JsCallInvoker final : public react::CallInvoker
|
|
97577
|
+
class JsCallInvoker final : public react::CallInvoker,
|
|
97578
|
+
public std::enable_shared_from_this<JsCallInvoker> {
|
|
97588
97579
|
public:
|
|
97589
97580
|
explicit JsCallInvoker(jsi::Runtime& runtime) : runtime(runtime) {}
|
|
97590
97581
|
void invokeAsync(react::CallFunc&& func) noexcept override {
|
|
97582
|
+
// only the primary thread can ask its host to drain JSI work.
|
|
97583
|
+
if (!pthread_main_np()) {
|
|
97584
|
+
auto* call = new DeferredCall{weak_from_this(), std::move(func)};
|
|
97585
|
+
dispatch_async_f(dispatch_get_main_queue(), call, [](void* context) {
|
|
97586
|
+
std::unique_ptr<DeferredCall> call(static_cast<DeferredCall*>(context));
|
|
97587
|
+
if (auto invoker = call->invoker.lock())
|
|
97588
|
+
invoker->invokeAsync(std::move(call->function));
|
|
97589
|
+
});
|
|
97590
|
+
return;
|
|
97591
|
+
}
|
|
97591
97592
|
pending.push_back(std::move(func));
|
|
97592
97593
|
peach::jsi_runtime::scheduleDrain();
|
|
97593
97594
|
}
|
|
@@ -97603,6 +97604,10 @@ class JsCallInvoker final : public react::CallInvoker {
|
|
|
97603
97604
|
}
|
|
97604
97605
|
|
|
97605
97606
|
private:
|
|
97607
|
+
struct DeferredCall {
|
|
97608
|
+
std::weak_ptr<JsCallInvoker> invoker;
|
|
97609
|
+
react::CallFunc function;
|
|
97610
|
+
};
|
|
97606
97611
|
jsi::Runtime& runtime;
|
|
97607
97612
|
std::deque<react::CallFunc> pending;
|
|
97608
97613
|
};
|
|
@@ -98395,28 +98400,9 @@ async function buildReactNativeCore(project, reactNativeRoot, mode, moduleRoot)
|
|
|
98395
98400
|
reactNativeRoot,
|
|
98396
98401
|
providers: [],
|
|
98397
98402
|
codegenDir,
|
|
98398
|
-
...mode === "turbo-cxx" ? { reactNativeCore: true } : { reactNativeProvider: true }
|
|
98399
|
-
...mode === "turbo" ? { turboDispatch: true } : {}
|
|
98403
|
+
...mode === "turbo-cxx" ? { reactNativeCore: true } : { reactNativeProvider: true }
|
|
98400
98404
|
});
|
|
98401
|
-
const
|
|
98402
|
-
...collection,
|
|
98403
|
-
files: { ...collection.files },
|
|
98404
|
-
targets: [...collection.targets]
|
|
98405
|
-
};
|
|
98406
|
-
if (mode === "turbo") {
|
|
98407
|
-
producer.targets.push({
|
|
98408
|
-
name: "PeachCoreProducerHost",
|
|
98409
|
-
path: "Sources/PeachCoreProducerHost",
|
|
98410
|
-
executable: false,
|
|
98411
|
-
languageMode: 5,
|
|
98412
|
-
mainActorIsolation: false,
|
|
98413
|
-
resources: false,
|
|
98414
|
-
clangSettings: [{ tool: "c", flags: ["-fblocks"] }]
|
|
98415
|
-
});
|
|
98416
|
-
producer.files["Sources/PeachCoreProducerHost/include/PeachCoreProducerHost.h"] = "#pragma once\n";
|
|
98417
|
-
producer.files["Sources/PeachCoreProducerHost/Dispatch.m"] = "#import <dispatch/dispatch.h>\nvoid peachTurboDispatchAsync(dispatch_block_t block) { dispatch_async(dispatch_get_main_queue(), block); }\n";
|
|
98418
|
-
}
|
|
98419
|
-
const input = collectTurboCompileInput(producer, null, floor);
|
|
98405
|
+
const input = collectTurboCompileInput(collection, null, floor);
|
|
98420
98406
|
input.files[input.entry] = input.entry.endsWith(".swift") ? "@main struct PeachCoreProducer { static func main() {} }\n" : "int main() { return 0; }\n";
|
|
98421
98407
|
await compileSwiftProjectUnit(input, {
|
|
98422
98408
|
...module2,
|
|
@@ -98646,7 +98632,7 @@ var init_react_native_core = __esm({
|
|
|
98646
98632
|
init_swift_distribution();
|
|
98647
98633
|
init_swift_package();
|
|
98648
98634
|
init_swiftContract();
|
|
98649
|
-
recipe = true ? "
|
|
98635
|
+
recipe = true ? "5eb5b1f321c9e92f18defb651a7dcad98f6feacc3e20cd8ff74ff06a94032860" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
98650
98636
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
98651
98637
|
building = /* @__PURE__ */ new Map();
|
|
98652
98638
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2641 | (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,19 +1,19 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-PWEYCAE5.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-IS6IM2XS.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-A2UFL7MN.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-XMAK4JIN.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-YORWPIVO.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-OYW7YAQZ.mjs";
|
|
17
17
|
|
|
18
18
|
// src/expoSwiftContract.ts
|
|
19
19
|
function strings(value) {
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2641 | (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;
|