peachsim 0.1.2738 → 0.1.2742
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 +196 -90
- 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-Q6ATHJ5Q.mjs → acorn-I6YLE7RH.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-WCK2HANP.mjs → chunk-2SC45KUK.mjs} +176 -88
- package/dist-lib/esm-chunks/{chunk-7JFDXIZQ.mjs → chunk-4CNYVYQW.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-KDIDYS42.mjs → chunk-6LMI5DE3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NMGEJJ2J.mjs → chunk-6QTRZNLH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3CPES2EZ.mjs → chunk-CFPPESX7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3FBJGWPT.mjs → chunk-FKC5RBXR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-EU6UNSUW.mjs → chunk-G44GUBAL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-V3CW4EN6.mjs → chunk-GMFZTGVJ.mjs} +13 -7
- package/dist-lib/esm-chunks/{chunk-2EW5XIGF.mjs → chunk-GPVGYC45.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZXORDMAT.mjs → chunk-HJBL2ND3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JDLZMI2L.mjs → chunk-IVVVYJKG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HLWFKLLD.mjs → chunk-MHRTZ6I7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2FSMFZ42.mjs → chunk-MXADGMSE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-P72RUOTY.mjs → chunk-NWGCI4JC.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-YMCYBEB7.mjs → chunk-OXFGIZC4.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-6Q3JLKPD.mjs → chunk-PLXC42XF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ONFP5RP7.mjs → chunk-QDTQYGJB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PKLW5P4C.mjs → chunk-RC3JQV7D.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GI5VVEKN.mjs → chunk-U262IRGM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BQW3EWAQ.mjs → chunk-VH5KY2GM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TBX7JBPC.mjs → chunk-VWRLBFID.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-XJDM6LFX.mjs → chunk-Y4Q3W36I.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-YU4ISPGO.mjs → chunk-YQSNOLNM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5NOBLXKV.mjs → chunk-ZRA35GYC.mjs} +5 -5
- package/dist-lib/esm-chunks/{metro-layout-parser-R2UJPOJL.mjs → metro-layout-parser-QGTUKU6T.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-W34QYBXU.mjs → swift-package-prebuilt-M2IXDM7B.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-RO5AZPWM.mjs → swift-sdk-app-module-4KYBNEBW.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-CWTI76JI.mjs → swift-sdk-image-Z37PPINV.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-JGTU2ZCE.mjs → swift-sdk-image-producer-7KFCU6Y6.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +196 -90
- 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 +3668 -1589
- package/dist-lib/host/fetch-proxy-handler.cjs +41 -10
- 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 +88 -86
- package/dist-lib/public-origins-lib.json +86 -72
- 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 +4099 -2020
- package/dist-lib/swift-compile.cjs +190 -84
- 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/engine/canvaskit-api.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/effects-shader-registry.d.ts +2 -12
- package/dist-types/packages/peach-engine/src/engine/native-style-store.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/scene-native-binding.d.ts +0 -1
- package/package.json +1 -1
- package/src/one-direct-host-source.ts +254 -0
- package/src/one-native-controls-package.ts +99 -21
- package/src/swift-sdk-image-map.ts +35 -0
- package/src/swift-sdk-image.ts +12 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
AGENT_IDENTITY_MAX_CHARS,
|
|
4
4
|
RNX_CLOUD_ALL_COMMAND_SCOPES,
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
readRnxLaunchUrl,
|
|
32
32
|
rnxCloudCommandScope,
|
|
33
33
|
rnxCloudScopesAllowCommand
|
|
34
|
-
} from "./esm-chunks/chunk-
|
|
35
|
-
import "./esm-chunks/chunk-
|
|
34
|
+
} from "./esm-chunks/chunk-G44GUBAL.mjs";
|
|
35
|
+
import "./esm-chunks/chunk-6QTRZNLH.mjs";
|
|
36
36
|
export {
|
|
37
37
|
AGENT_IDENTITY_MAX_CHARS,
|
|
38
38
|
RNX_CLOUD_ALL_COMMAND_SCOPES,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2742 | (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,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./esm-chunks/chunk-
|
|
1
|
+
/*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./esm-chunks/chunk-6QTRZNLH.mjs";
|
|
3
3
|
|
|
4
4
|
// src/cloud-test-args.ts
|
|
5
5
|
var CLOUD_TEST_ARGS_MAX_COUNT = 32;
|
package/dist-lib/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2742 | (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/cloud.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
sleep
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-YQSNOLNM.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRnxScreenCapture
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-QDTQYGJB.mjs";
|
|
8
8
|
import {
|
|
9
9
|
RNX_CLOUD_COMMAND_TYPES,
|
|
10
10
|
RNX_CLOUD_MAX_ARTIFACT_BYTES,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
isRnxCloudCommandType,
|
|
15
15
|
rnxCloudCommandScope,
|
|
16
16
|
rnxCloudScopesAllowCommand
|
|
17
|
-
} from "./esm-chunks/chunk-
|
|
17
|
+
} from "./esm-chunks/chunk-G44GUBAL.mjs";
|
|
18
18
|
import {
|
|
19
19
|
rnxPublicBrand
|
|
20
|
-
} from "./esm-chunks/chunk-
|
|
20
|
+
} from "./esm-chunks/chunk-CFPPESX7.mjs";
|
|
21
21
|
import {
|
|
22
22
|
isRecord
|
|
23
|
-
} from "./esm-chunks/chunk-
|
|
23
|
+
} from "./esm-chunks/chunk-RC3JQV7D.mjs";
|
|
24
24
|
import {
|
|
25
25
|
__publicField
|
|
26
|
-
} from "./esm-chunks/chunk-
|
|
26
|
+
} from "./esm-chunks/chunk-6QTRZNLH.mjs";
|
|
27
27
|
|
|
28
28
|
// src/backend-origin.ts
|
|
29
29
|
var NativeURL = globalThis.URL;
|
package/dist-lib/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2742 | (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/config.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isValidRuntimeVersion
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-MHRTZ6I7.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-HJBL2ND3.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./esm-chunks/chunk-
|
|
11
|
-
import "./esm-chunks/chunk-
|
|
10
|
+
} from "./esm-chunks/chunk-RC3JQV7D.mjs";
|
|
11
|
+
import "./esm-chunks/chunk-6QTRZNLH.mjs";
|
|
12
12
|
|
|
13
13
|
// src/nativeViewSourceContract.ts
|
|
14
14
|
function isNativeViewSource(value) {
|
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2742 | (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.2742 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
Node,
|
|
4
4
|
Parser,
|
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
types,
|
|
23
23
|
types$1,
|
|
24
24
|
version
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-6LMI5DE3.mjs";
|
|
26
|
+
import "./chunk-6QTRZNLH.mjs";
|
|
27
27
|
export {
|
|
28
28
|
Node,
|
|
29
29
|
Parser,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
acquireSwiftRootReadHold,
|
|
4
4
|
hasLiveSwiftRootReaders,
|
|
5
5
|
retainSwiftRootReadHold,
|
|
6
6
|
withSwiftRootLock
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OXFGIZC4.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-Y4Q3W36I.mjs";
|
|
59
59
|
import {
|
|
60
60
|
SWIFT_AUTOLINK_LINKER,
|
|
61
61
|
SWIFT_CACHE_HOLD_MARKER,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
wasmThreadLinkFlags,
|
|
73
73
|
windowAdmission,
|
|
74
74
|
writeSwiftAutolinkLinker
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-VWRLBFID.mjs";
|
|
76
76
|
import {
|
|
77
77
|
SWIFT_BINARY_TREES_DIR,
|
|
78
78
|
SWIFT_NATIVE_INPUT_ROOT,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
isSwiftResourcePath,
|
|
88
88
|
isSwiftSourceLinkGraph,
|
|
89
89
|
swiftProjectFilesProblems
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-IVVVYJKG.mjs";
|
|
91
91
|
import {
|
|
92
92
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
93
93
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -110,16 +110,16 @@ import {
|
|
|
110
110
|
swiftPackagePartition,
|
|
111
111
|
swiftTargetModuleName,
|
|
112
112
|
withoutGlogModuleMap
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-U262IRGM.mjs";
|
|
114
114
|
import {
|
|
115
115
|
rnxPublicBrand
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-CFPPESX7.mjs";
|
|
117
117
|
import {
|
|
118
118
|
isRecord
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-RC3JQV7D.mjs";
|
|
120
120
|
import {
|
|
121
121
|
__publicField
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-6QTRZNLH.mjs";
|
|
123
123
|
|
|
124
124
|
// src/swift-compile.ts
|
|
125
125
|
import {
|
|
@@ -4008,6 +4008,21 @@ function referencedResourceClasses(classNames, resources) {
|
|
|
4008
4008
|
// src/swift-sdk-image-map.ts
|
|
4009
4009
|
import { basename } from "node:path";
|
|
4010
4010
|
|
|
4011
|
+
// ../peach-kit/src/guest-engine-services.ts
|
|
4012
|
+
var PEACH_GUEST_SERVICE_MODULE = "peach_guest_services";
|
|
4013
|
+
var PEACH_GUEST_SERVICE_PREFIX = "peach_guest_service_";
|
|
4014
|
+
var peachGuestServiceNames = [
|
|
4015
|
+
"peach_app_config_resolve",
|
|
4016
|
+
"peach_audio_host_request",
|
|
4017
|
+
"peach_site_origin",
|
|
4018
|
+
"services_request",
|
|
4019
|
+
"services_storage_error"
|
|
4020
|
+
];
|
|
4021
|
+
var peachGuestServiceSymbols = peachGuestServiceNames.map(
|
|
4022
|
+
(name) => PEACH_GUEST_SERVICE_PREFIX + name
|
|
4023
|
+
);
|
|
4024
|
+
var peachGuestServiceAllowlist = peachGuestServiceSymbols.join("\n") + "\n";
|
|
4025
|
+
|
|
4011
4026
|
// src/swift-guest-linked-spans.ts
|
|
4012
4027
|
import { closeSync, openSync, readSync } from "node:fs";
|
|
4013
4028
|
import { StringDecoder } from "node:string_decoder";
|
|
@@ -4761,6 +4776,111 @@ function takeGuestStartupData(wasm, address, length) {
|
|
|
4761
4776
|
return { wasm: Buffer.concat(parts), bytes };
|
|
4762
4777
|
}
|
|
4763
4778
|
|
|
4779
|
+
// src/wasm-binary-sections.ts
|
|
4780
|
+
function encodeWasmNumber(value) {
|
|
4781
|
+
const bytes = [];
|
|
4782
|
+
for (let rest = value; ; ) {
|
|
4783
|
+
const byte = rest % 128;
|
|
4784
|
+
rest = Math.floor(rest / 128);
|
|
4785
|
+
if (rest === 0) return [...bytes, byte];
|
|
4786
|
+
bytes.push(byte | 128);
|
|
4787
|
+
}
|
|
4788
|
+
}
|
|
4789
|
+
function encodeWasmName(name) {
|
|
4790
|
+
const bytes = new TextEncoder().encode(name);
|
|
4791
|
+
return [...encodeWasmNumber(bytes.length), ...bytes];
|
|
4792
|
+
}
|
|
4793
|
+
function readWasmSection(bytes, start, end) {
|
|
4794
|
+
let at = start;
|
|
4795
|
+
const number3 = () => {
|
|
4796
|
+
let value = 0;
|
|
4797
|
+
for (let shift = 0; ; shift += 7) {
|
|
4798
|
+
if (at >= end || shift > 63) throw new Error("invalid wasm integer");
|
|
4799
|
+
const byte = bytes[at++];
|
|
4800
|
+
value += (byte & 127) * 2 ** shift;
|
|
4801
|
+
if (!(byte & 128)) return value;
|
|
4802
|
+
}
|
|
4803
|
+
};
|
|
4804
|
+
return {
|
|
4805
|
+
number: number3,
|
|
4806
|
+
byte: () => {
|
|
4807
|
+
if (at >= end) throw new Error("truncated wasm section");
|
|
4808
|
+
return bytes[at++];
|
|
4809
|
+
},
|
|
4810
|
+
name: () => {
|
|
4811
|
+
const length = number3();
|
|
4812
|
+
at += length;
|
|
4813
|
+
if (at > end) throw new Error("truncated wasm name");
|
|
4814
|
+
return Buffer.from(bytes.buffer, bytes.byteOffset + at - length, length).toString();
|
|
4815
|
+
},
|
|
4816
|
+
position: () => at,
|
|
4817
|
+
done: () => at === end
|
|
4818
|
+
};
|
|
4819
|
+
}
|
|
4820
|
+
function wasmSections(bytes) {
|
|
4821
|
+
if (Buffer.from(bytes.subarray(0, 8)).toString("hex") !== "0061736d01000000")
|
|
4822
|
+
throw new Error("not a wasm module");
|
|
4823
|
+
const found = [];
|
|
4824
|
+
for (let at = 8; at < bytes.length; ) {
|
|
4825
|
+
const header = readWasmSection(bytes, at, bytes.length);
|
|
4826
|
+
const id = header.byte();
|
|
4827
|
+
const size = header.number();
|
|
4828
|
+
const start = header.position();
|
|
4829
|
+
if (start + size > bytes.length) throw new Error("truncated wasm section");
|
|
4830
|
+
found.push({ id, offset: at, start, end: start + size });
|
|
4831
|
+
at = start + size;
|
|
4832
|
+
}
|
|
4833
|
+
return found;
|
|
4834
|
+
}
|
|
4835
|
+
|
|
4836
|
+
// src/wasm-imports.ts
|
|
4837
|
+
function readWasmImports(bytes, section2, visit) {
|
|
4838
|
+
const input = readWasmSection(bytes, section2.start, section2.end);
|
|
4839
|
+
const count = input.number();
|
|
4840
|
+
const valueType = () => {
|
|
4841
|
+
const first = input.byte();
|
|
4842
|
+
if (first === 99 || first === 100) input.number();
|
|
4843
|
+
};
|
|
4844
|
+
const limits = () => {
|
|
4845
|
+
const flags = input.number();
|
|
4846
|
+
input.number();
|
|
4847
|
+
if (flags & 1) input.number();
|
|
4848
|
+
if (flags & 8) input.number();
|
|
4849
|
+
};
|
|
4850
|
+
for (let index = 0; index < count; index++) {
|
|
4851
|
+
const start = input.position();
|
|
4852
|
+
const module = input.name();
|
|
4853
|
+
const name = input.name();
|
|
4854
|
+
const type = input.position();
|
|
4855
|
+
const kind = input.byte();
|
|
4856
|
+
switch (kind) {
|
|
4857
|
+
case 0:
|
|
4858
|
+
input.number();
|
|
4859
|
+
break;
|
|
4860
|
+
case 1:
|
|
4861
|
+
valueType();
|
|
4862
|
+
limits();
|
|
4863
|
+
break;
|
|
4864
|
+
case 2:
|
|
4865
|
+
limits();
|
|
4866
|
+
break;
|
|
4867
|
+
case 3:
|
|
4868
|
+
valueType();
|
|
4869
|
+
input.byte();
|
|
4870
|
+
break;
|
|
4871
|
+
case 4:
|
|
4872
|
+
input.byte();
|
|
4873
|
+
input.number();
|
|
4874
|
+
break;
|
|
4875
|
+
default:
|
|
4876
|
+
throw new Error(`unsupported Wasm import kind ${kind}`);
|
|
4877
|
+
}
|
|
4878
|
+
visit({ module, name, kind, start, type, end: input.position() });
|
|
4879
|
+
}
|
|
4880
|
+
if (!input.done()) throw new Error("invalid Wasm imports");
|
|
4881
|
+
return count;
|
|
4882
|
+
}
|
|
4883
|
+
|
|
4764
4884
|
// src/swift-sdk-image-map.ts
|
|
4765
4885
|
var PARTITIONED = [
|
|
4766
4886
|
".rodata",
|
|
@@ -4774,6 +4894,29 @@ var PARTITIONED = [
|
|
|
4774
4894
|
"swift5_mpenum",
|
|
4775
4895
|
"__objc_class_refs"
|
|
4776
4896
|
];
|
|
4897
|
+
function assertPeachGuestEngineLink(map, linked) {
|
|
4898
|
+
const guestSymbol = /^peach_guest_(sdk|removed|service)_/;
|
|
4899
|
+
const unresolved = /* @__PURE__ */ new Set();
|
|
4900
|
+
for (const chunk of map.code) {
|
|
4901
|
+
if (chunk.inputFile !== "<internal>" || chunk.section !== "undefined_stub") continue;
|
|
4902
|
+
for (const { name } of chunk.symbols) if (guestSymbol.test(name)) unresolved.add(name);
|
|
4903
|
+
}
|
|
4904
|
+
if (unresolved.size)
|
|
4905
|
+
throw new Error(
|
|
4906
|
+
`unresolved PeachEngine calls in the Swift SDK:
|
|
4907
|
+
${[...unresolved].sort().join("\n")}`
|
|
4908
|
+
);
|
|
4909
|
+
const imports = wasmSections(linked).find((section2) => section2.id === 2);
|
|
4910
|
+
if (imports)
|
|
4911
|
+
readWasmImports(linked, imports, ({ kind, module, name }) => {
|
|
4912
|
+
if (module !== PEACH_GUEST_SERVICE_MODULE && !guestSymbol.test(name)) return;
|
|
4913
|
+
if (kind === 0 && module === PEACH_GUEST_SERVICE_MODULE && peachGuestServiceSymbols.includes(name))
|
|
4914
|
+
return;
|
|
4915
|
+
throw new Error(
|
|
4916
|
+
`unexpected PeachEngine host import in the Swift SDK: ${module}.${name}`
|
|
4917
|
+
);
|
|
4918
|
+
});
|
|
4919
|
+
}
|
|
4777
4920
|
var chunkKey = (chunk, symbol = chunk.symbols[0]?.name ?? "") => `${chunk.object}:${chunk.section}:${symbol}`;
|
|
4778
4921
|
var isPartitioned = (section2) => PARTITIONED.some((name) => section2 === name || section2.startsWith(`${name}.`));
|
|
4779
4922
|
function isHexChar(code) {
|
|
@@ -4989,7 +5132,7 @@ function wasmReader(bytes, start) {
|
|
|
4989
5132
|
}
|
|
4990
5133
|
};
|
|
4991
5134
|
}
|
|
4992
|
-
function
|
|
5135
|
+
function wasmSections2(bytes) {
|
|
4993
5136
|
const out = [];
|
|
4994
5137
|
for (let at = 8; at < bytes.length; ) {
|
|
4995
5138
|
const r = wasmReader(bytes, at);
|
|
@@ -5109,7 +5252,7 @@ function* readFunctionNames(bytes, names) {
|
|
|
5109
5252
|
}
|
|
5110
5253
|
}
|
|
5111
5254
|
function orderObjCConstructors(bytes) {
|
|
5112
|
-
const sections =
|
|
5255
|
+
const sections = wasmSections2(bytes);
|
|
5113
5256
|
const names = sections.find((s) => s.name === "name");
|
|
5114
5257
|
if (!names) return bytes;
|
|
5115
5258
|
let constructors;
|
|
@@ -5157,7 +5300,7 @@ function orderObjCConstructors(bytes) {
|
|
|
5157
5300
|
return ordered;
|
|
5158
5301
|
}
|
|
5159
5302
|
function readModule(bytes) {
|
|
5160
|
-
const sections =
|
|
5303
|
+
const sections = wasmSections2(bytes);
|
|
5161
5304
|
const get = (id) => sections.find((s) => s.id === id);
|
|
5162
5305
|
const types = [];
|
|
5163
5306
|
const typeSection = get(1);
|
|
@@ -5378,7 +5521,7 @@ function finishSdkImage(bytes, hostExports, libraries, guestMap) {
|
|
|
5378
5521
|
return { image: Buffer.concat(parts), sdkInterface, functionSlots };
|
|
5379
5522
|
}
|
|
5380
5523
|
function passiveSegments(bytes) {
|
|
5381
|
-
const data =
|
|
5524
|
+
const data = wasmSections2(bytes).find((s) => s.id === 11);
|
|
5382
5525
|
if (!data) throw new Error("sdk image has no data section");
|
|
5383
5526
|
const r = wasmReader(bytes, data.start);
|
|
5384
5527
|
const out = [];
|
|
@@ -5484,7 +5627,7 @@ var SWIFT_SDK_CONSTRUCTOR_LIMIT = 16384;
|
|
|
5484
5627
|
function constructorKeys(map, bytes) {
|
|
5485
5628
|
const first = map.code[0];
|
|
5486
5629
|
if (!first) throw new Error("link has no code");
|
|
5487
|
-
const sections =
|
|
5630
|
+
const sections = wasmSections2(bytes);
|
|
5488
5631
|
const code = sections.find((s) => s.id === 10);
|
|
5489
5632
|
if (!code) throw new Error("link has no code");
|
|
5490
5633
|
const ctors = map.code.find((chunk) => chunk.section === "__wasm_call_ctors");
|
|
@@ -5581,7 +5724,7 @@ for (const type of MEMORY_RELOCATIONS) MEMORY_RELOC_MASK |= 1 << type;
|
|
|
5581
5724
|
var ADDEND_RELOC_MASK = 0;
|
|
5582
5725
|
for (const type of ADDEND_RELOCATIONS) ADDEND_RELOC_MASK |= 1 << type;
|
|
5583
5726
|
function relocationEdges(bytes, segmentAddress) {
|
|
5584
|
-
const sections =
|
|
5727
|
+
const sections = wasmSections2(bytes);
|
|
5585
5728
|
const linking = sections.find((s) => s.name === "linking");
|
|
5586
5729
|
if (!linking) throw new Error("relocation link has no linking section");
|
|
5587
5730
|
let symKind = new Uint8Array(0);
|
|
@@ -5749,7 +5892,7 @@ function relocationEdges(bytes, segmentAddress) {
|
|
|
5749
5892
|
return { data, code, dataFunctions, calls };
|
|
5750
5893
|
}
|
|
5751
5894
|
function strongDefinitions(bytes) {
|
|
5752
|
-
const linking =
|
|
5895
|
+
const linking = wasmSections2(bytes).find((s) => s.name === "linking");
|
|
5753
5896
|
if (!linking) return [];
|
|
5754
5897
|
const r = wasmReader(bytes, linking.start);
|
|
5755
5898
|
r.u();
|
|
@@ -5792,7 +5935,7 @@ function strongDefinitions(bytes) {
|
|
|
5792
5935
|
).map((s) => s.name);
|
|
5793
5936
|
}
|
|
5794
5937
|
function unslottedFunctions(bytes) {
|
|
5795
|
-
const sections =
|
|
5938
|
+
const sections = wasmSections2(bytes);
|
|
5796
5939
|
const importedFuncs = countImportedFunctions(
|
|
5797
5940
|
bytes,
|
|
5798
5941
|
sections.find((s) => s.id === 2)
|
|
@@ -9800,63 +9943,6 @@ function nameGuestImageAliases(wasm, symbols) {
|
|
|
9800
9943
|
return Buffer.concat(parts);
|
|
9801
9944
|
}
|
|
9802
9945
|
|
|
9803
|
-
// src/wasm-binary-sections.ts
|
|
9804
|
-
function encodeWasmNumber(value) {
|
|
9805
|
-
const bytes = [];
|
|
9806
|
-
for (let rest = value; ; ) {
|
|
9807
|
-
const byte = rest % 128;
|
|
9808
|
-
rest = Math.floor(rest / 128);
|
|
9809
|
-
if (rest === 0) return [...bytes, byte];
|
|
9810
|
-
bytes.push(byte | 128);
|
|
9811
|
-
}
|
|
9812
|
-
}
|
|
9813
|
-
function encodeWasmName(name) {
|
|
9814
|
-
const bytes = new TextEncoder().encode(name);
|
|
9815
|
-
return [...encodeWasmNumber(bytes.length), ...bytes];
|
|
9816
|
-
}
|
|
9817
|
-
function readWasmSection(bytes, start, end) {
|
|
9818
|
-
let at = start;
|
|
9819
|
-
const number3 = () => {
|
|
9820
|
-
let value = 0;
|
|
9821
|
-
for (let shift = 0; ; shift += 7) {
|
|
9822
|
-
if (at >= end || shift > 63) throw new Error("invalid wasm integer");
|
|
9823
|
-
const byte = bytes[at++];
|
|
9824
|
-
value += (byte & 127) * 2 ** shift;
|
|
9825
|
-
if (!(byte & 128)) return value;
|
|
9826
|
-
}
|
|
9827
|
-
};
|
|
9828
|
-
return {
|
|
9829
|
-
number: number3,
|
|
9830
|
-
byte: () => {
|
|
9831
|
-
if (at >= end) throw new Error("truncated wasm section");
|
|
9832
|
-
return bytes[at++];
|
|
9833
|
-
},
|
|
9834
|
-
name: () => {
|
|
9835
|
-
const length = number3();
|
|
9836
|
-
at += length;
|
|
9837
|
-
if (at > end) throw new Error("truncated wasm name");
|
|
9838
|
-
return Buffer.from(bytes.buffer, bytes.byteOffset + at - length, length).toString();
|
|
9839
|
-
},
|
|
9840
|
-
position: () => at,
|
|
9841
|
-
done: () => at === end
|
|
9842
|
-
};
|
|
9843
|
-
}
|
|
9844
|
-
function wasmSections2(bytes) {
|
|
9845
|
-
if (Buffer.from(bytes.subarray(0, 8)).toString("hex") !== "0061736d01000000")
|
|
9846
|
-
throw new Error("not a wasm module");
|
|
9847
|
-
const found = [];
|
|
9848
|
-
for (let at = 8; at < bytes.length; ) {
|
|
9849
|
-
const header = readWasmSection(bytes, at, bytes.length);
|
|
9850
|
-
const id = header.byte();
|
|
9851
|
-
const size = header.number();
|
|
9852
|
-
const start = header.position();
|
|
9853
|
-
if (start + size > bytes.length) throw new Error("truncated wasm section");
|
|
9854
|
-
found.push({ id, offset: at, start, end: start + size });
|
|
9855
|
-
at = start + size;
|
|
9856
|
-
}
|
|
9857
|
-
return found;
|
|
9858
|
-
}
|
|
9859
|
-
|
|
9860
9946
|
// src/wasm-narrow-boundary.ts
|
|
9861
9947
|
var I64 = 126;
|
|
9862
9948
|
var VALUE_TYPES = /* @__PURE__ */ new Map([
|
|
@@ -9878,7 +9964,7 @@ function writeWasmCustomSections(bytes, entries2) {
|
|
|
9878
9964
|
const parts = [];
|
|
9879
9965
|
let sliceStart = 0;
|
|
9880
9966
|
let sliceEnd = 8;
|
|
9881
|
-
for (const { id, start, end } of
|
|
9967
|
+
for (const { id, start, end } of wasmSections(bytes)) {
|
|
9882
9968
|
if (id === 0 && replaced.has(readWasmSection(bytes, start, end).name())) {
|
|
9883
9969
|
if (sliceEnd > sliceStart) parts.push(bytes.subarray(sliceStart, sliceEnd));
|
|
9884
9970
|
sliceStart = end;
|
|
@@ -9902,7 +9988,7 @@ function writeWasmCustomSection(bytes, name, data) {
|
|
|
9902
9988
|
return writeWasmCustomSections(bytes, [[name, data]]);
|
|
9903
9989
|
}
|
|
9904
9990
|
function readWasmMemory(bytes) {
|
|
9905
|
-
return readWasmMemoryAndTableImports(bytes,
|
|
9991
|
+
return readWasmMemoryAndTableImports(bytes, wasmSections(bytes)).memory;
|
|
9906
9992
|
}
|
|
9907
9993
|
function readWasmMemoryAndTableImports(bytes, layout2) {
|
|
9908
9994
|
let memory;
|
|
@@ -9970,7 +10056,7 @@ var signature = (types, keyword, narrow) => types.length === 0 ? "" : ` (${keywo
|
|
|
9970
10056
|
}).join(" ")})`;
|
|
9971
10057
|
var wide = (type) => type.parameters.includes(I64) || type.results.includes(I64);
|
|
9972
10058
|
function narrowWasmBoundary(bytes, wideExports) {
|
|
9973
|
-
const layout2 =
|
|
10059
|
+
const layout2 = wasmSections(bytes);
|
|
9974
10060
|
const section2 = (id) => {
|
|
9975
10061
|
const found = layout2.find((entry) => entry.id === id);
|
|
9976
10062
|
return found && readWasmSection(bytes, found.start, found.end);
|
|
@@ -10097,7 +10183,7 @@ ${[...imports, ...functions].join("\n")}
|
|
|
10097
10183
|
}
|
|
10098
10184
|
var NARROW_MERGE_NAMES = { guest: GUEST, boundary: BOUNDARY };
|
|
10099
10185
|
function dropBoundaryExports(bytes) {
|
|
10100
|
-
const layout2 =
|
|
10186
|
+
const layout2 = wasmSections(bytes);
|
|
10101
10187
|
const found = layout2.find((entry) => entry.id === 7);
|
|
10102
10188
|
if (!found) throw new Error("merged module has no exports");
|
|
10103
10189
|
const exportSection = readWasmSection(bytes, found.start, found.end);
|
|
@@ -10116,7 +10202,7 @@ function dropBoundaryExports(bytes) {
|
|
|
10116
10202
|
);
|
|
10117
10203
|
}
|
|
10118
10204
|
function withWasmTableMinimum(bytes, minimum) {
|
|
10119
|
-
const layout2 =
|
|
10205
|
+
const layout2 = wasmSections(bytes);
|
|
10120
10206
|
const table = layout2.find(({ id }) => id === 4);
|
|
10121
10207
|
if (!table) {
|
|
10122
10208
|
if (readWasmMemoryAndTableImports(bytes, layout2).tableImports === 1) return bytes;
|
|
@@ -10368,7 +10454,7 @@ var readExport = (r) => {
|
|
|
10368
10454
|
r.u();
|
|
10369
10455
|
};
|
|
10370
10456
|
function appendLazyPlacement(bytes, functions, table) {
|
|
10371
|
-
const sections =
|
|
10457
|
+
const sections = wasmSections2(bytes);
|
|
10372
10458
|
const section2 = (id) => sections.find((s) => s.id === id);
|
|
10373
10459
|
const imports = readImports2(bytes, sections);
|
|
10374
10460
|
const changes = /* @__PURE__ */ new Map();
|
|
@@ -10487,7 +10573,7 @@ function skipElementSegment(r) {
|
|
|
10487
10573
|
}
|
|
10488
10574
|
var lastTableElement = (segments) => segments.findLastIndex((segment) => (segment[0] & 3) !== 3);
|
|
10489
10575
|
function placeGuestLazyFunctions(bytes, lazy) {
|
|
10490
|
-
const sections =
|
|
10576
|
+
const sections = wasmSections2(bytes);
|
|
10491
10577
|
const lazyIndex = new Map(lazy.map((name, index) => [name, index]));
|
|
10492
10578
|
const functions = new Array(lazy.length);
|
|
10493
10579
|
let found = 0;
|
|
@@ -14383,7 +14469,7 @@ async function compileGuestLink(options) {
|
|
|
14383
14469
|
};
|
|
14384
14470
|
const sdk = options.sdkImage;
|
|
14385
14471
|
const sdkCallers = sdk.sdkInterface.guestCallers;
|
|
14386
|
-
const sdkObjects = (await import("./swift-sdk-image-
|
|
14472
|
+
const sdkObjects = (await import("./swift-sdk-image-Z37PPINV.mjs")).readSwiftSdkManifestIndex(
|
|
14387
14473
|
sdk
|
|
14388
14474
|
).guestObjects;
|
|
14389
14475
|
if (!sdkCallers || !sdkObjects)
|
|
@@ -14683,7 +14769,7 @@ async function compileGuestLink(options) {
|
|
|
14683
14769
|
swiftAppModuleThunkSection,
|
|
14684
14770
|
swiftSdkProjectionSpans,
|
|
14685
14771
|
writeSwiftSdkAppLink
|
|
14686
|
-
} = await import("./swift-sdk-app-module-
|
|
14772
|
+
} = await import("./swift-sdk-app-module-4KYBNEBW.mjs");
|
|
14687
14773
|
const project = options.project;
|
|
14688
14774
|
const work = project ? mkdtempSync2(path14.join(directory, "app-module-")) : path14.join(directory, "app-module");
|
|
14689
14775
|
if (project) chownSync(work, project.uid, project.gid);
|
|
@@ -16656,7 +16742,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
16656
16742
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16657
16743
|
var MULTI_MANIFEST_VERSION = 76;
|
|
16658
16744
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16659
|
-
var compilerSourceDigest = true ? "
|
|
16745
|
+
var compilerSourceDigest = true ? "07651c3448f918d1873b3ecc1d3db59948c7cbfdd917cd5b69da610a327f857a" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
16660
16746
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16661
16747
|
return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
|
|
16662
16748
|
}
|
|
@@ -21170,7 +21256,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
21170
21256
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
21171
21257
|
const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
|
|
21172
21258
|
if (distribution) refreshSwiftCacheHold(moduleRoot);
|
|
21173
|
-
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-
|
|
21259
|
+
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-M2IXDM7B.mjs")).useSwiftPackagePrebuilts(
|
|
21174
21260
|
sources,
|
|
21175
21261
|
moduleRoot,
|
|
21176
21262
|
options.toolchainBin
|
|
@@ -21183,7 +21269,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
21183
21269
|
sources: path23.join(root, "Sources", "App"),
|
|
21184
21270
|
multi: compileTargets(input).length > 0
|
|
21185
21271
|
};
|
|
21186
|
-
const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-
|
|
21272
|
+
const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-Z37PPINV.mjs")).buildSwiftSdkImage(
|
|
21187
21273
|
moduleRoot,
|
|
21188
21274
|
!!guestGraph,
|
|
21189
21275
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -21902,7 +21988,7 @@ ${compatShape}` : "";
|
|
|
21902
21988
|
});
|
|
21903
21989
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
21904
21990
|
} else {
|
|
21905
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
21991
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-4KYBNEBW.mjs");
|
|
21906
21992
|
const binding = await buildSwiftAppModule({
|
|
21907
21993
|
buildRoot: root2,
|
|
21908
21994
|
toolchainBin: options.toolchainBin,
|
|
@@ -21944,14 +22030,16 @@ ${compatShape}` : "";
|
|
|
21944
22030
|
|
|
21945
22031
|
export {
|
|
21946
22032
|
DARWIN_RECORDS_PREFIX,
|
|
22033
|
+
peachGuestServiceAllowlist,
|
|
21947
22034
|
guestWasmDataSegments,
|
|
22035
|
+
assertPeachGuestEngineLink,
|
|
21948
22036
|
chunkKey,
|
|
21949
22037
|
isPartitioned,
|
|
21950
22038
|
readWasmLinkMap,
|
|
21951
22039
|
SWIFT_SDK_FUNCTION_ADDRESS_PREFIX,
|
|
21952
22040
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
21953
22041
|
wasmReader,
|
|
21954
|
-
wasmSections,
|
|
22042
|
+
wasmSections2 as wasmSections,
|
|
21955
22043
|
orderObjCConstructors,
|
|
21956
22044
|
finishSdkImage,
|
|
21957
22045
|
passiveSegments,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftImageVariants
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VH5KY2GM.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HJBL2ND3.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RC3JQV7D.mjs";
|
|
11
11
|
|
|
12
12
|
// src/android-string-value.ts
|
|
13
13
|
function compileAndroidStringValue(text, where) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// ../../node_modules/acorn/dist/acorn.mjs
|
|
4
4
|
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 78, 5, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 199, 7, 137, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 55, 9, 266, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 233, 0, 3, 0, 8, 1, 6, 0, 475, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|