peachsim 0.1.2776 → 0.1.2778
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 +382 -367
- 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 +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-IHHNENTV.mjs → acorn-RWBIRNWO.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-2TRDAQRU.mjs → chunk-3RPELUA2.mjs} +36 -14
- package/dist-lib/esm-chunks/{chunk-36HOGKZO.mjs → chunk-3WQANOYY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JDQEHVXK.mjs → chunk-5TIUTQ55.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NJM5HDIY.mjs → chunk-5WASPTSS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-O3DUF5LK.mjs → chunk-6YHF4VYF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-EYYLB42E.mjs → chunk-DLBUPWTI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-XQUTZ3B5.mjs → chunk-EXU474NE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JUQ54SX6.mjs → chunk-F3OPIKJC.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-M7TINJ53.mjs → chunk-G7UJ4BAC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RPKBYOUS.mjs → chunk-GSTHJQMW.mjs} +16 -6
- package/dist-lib/esm-chunks/{chunk-OM6U2RS3.mjs → chunk-IQSFMB4R.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-QOWIQPRI.mjs → chunk-K3ULPN2R.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JHFUDZ3W.mjs → chunk-KBYVKTVK.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-H3YX4XO2.mjs → chunk-KLA74B7J.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UQFQZLHK.mjs → chunk-KX7LV722.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2IFXQO2K.mjs → chunk-LQVLXDRN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PLCLVIAA.mjs → chunk-MRIDS3GE.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-HA4BLBFF.mjs → chunk-N2PEXZGL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BB6SVIH3.mjs → chunk-QKTKE4OX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YNMAR7R2.mjs → chunk-QUVLFF6I.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-D5UZSYPE.mjs → chunk-VZ3NXXUC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RCESKORX.mjs → chunk-X25PQNNH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Z6UVYLRY.mjs → chunk-ZDWMPXYI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3XQGFH5D.mjs → chunk-ZWOS2EDN.mjs} +65 -75
- package/dist-lib/esm-chunks/{metro-layout-parser-IA2YCSEY.mjs → metro-layout-parser-RRIZOLBE.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-TL66ITNV.mjs → swift-package-prebuilt-EIZ7MCKR.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-K7Y4YRW3.mjs → swift-sdk-app-module-S2LQ4OXD.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-ZKK3YV3Y.mjs → swift-sdk-image-77FFUGXI.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-Q4ENQ4FM.mjs → swift-sdk-image-producer-XFSFUXQJ.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +304 -289
- 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 +442 -422
- package/dist-lib/host/fetch-proxy-handler.cjs +100 -87
- 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 +20 -15
- package/dist-lib/native-app-identity-project.mjs +27 -32
- 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 +86 -85
- package/dist-lib/public-origins-lib.json +71 -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 +481 -461
- package/dist-lib/swift-compile.cjs +91 -62
- 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/core-abi/web/sceneClientContract.d.ts +0 -6
- package/dist-types/packages/peach-engine/src/components/native-ui/webview-frame-bridge.d.ts +0 -3
- package/dist-types/packages/peach-engine/src/engine/native-app-catalog.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/native-app-font-config.d.ts +3 -1
- package/dist-types/packages/peach-engine/src/render-worker/native-anim-driven-slots.d.ts +0 -1
- package/dist-types/packages/peach-engine/src/render-worker/native-text-input-runtime.d.ts +0 -42
- package/dist-types/packages/peach-engine/src/render-worker/nativeAnimMirrorContract.d.ts +1 -8
- package/dist-types/packages/peach-engine/src/render-worker/nativeTransitionContract.d.ts +1 -15
- package/dist-types/packages/peach-engine/src/render-worker/shellScrollContract.d.ts +0 -6
- package/dist-types/packages/peach-engine/src/webview-automation-host.d.ts +0 -4
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/bazel-project.ts +2 -6
- package/src/build-cache.ts +3 -2
- package/src/sha256.ts +8 -0
- package/src/swift-coverage/indexing.ts +3 -4
- package/src/swift-coverage/package.ts +1 -4
- package/src/swift-coverage/reader.ts +1 -4
- package/src/swift-coverage/source.ts +1 -4
- package/src/swift-coverage/xcode-assets.ts +1 -4
- package/src/swift-coverage/xcode-bridging.ts +1 -4
- package/src/swift-coverage/xcode-packages.ts +1 -4
- package/src/swift-coverage/xcode-strings.ts +1 -4
- package/src/swift-coverage/xcode.ts +1 -4
- package/src/swift-guest-dyld-table.ts +1 -6
- package/src/swift-guest-source-inputs.ts +3 -15
- package/src/swift-objc-compile.ts +2 -7
- package/src/swift-sdk-image.ts +50 -12
- package/src/swift-wasm-prune.ts +3 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2778 | (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.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
RNX_SCREEN_CAPTURE_VERSION,
|
|
4
4
|
describeInvalidScreenCapture,
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
rnxRasterFrames,
|
|
11
11
|
rnxRasterRegionRequests,
|
|
12
12
|
selectRnxRasterNodeIds
|
|
13
|
-
} from "./esm-chunks/chunk-
|
|
14
|
-
import "./esm-chunks/chunk-
|
|
13
|
+
} from "./esm-chunks/chunk-5TIUTQ55.mjs";
|
|
14
|
+
import "./esm-chunks/chunk-DLBUPWTI.mjs";
|
|
15
15
|
export {
|
|
16
16
|
RNX_SCREEN_CAPTURE_VERSION,
|
|
17
17
|
describeInvalidScreenCapture,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2778 | (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.2778 | (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-LQVLXDRN.mjs";
|
|
35
|
+
import "./esm-chunks/chunk-DLBUPWTI.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.2778 | (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.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./esm-chunks/chunk-DLBUPWTI.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.2778 | (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.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
sleep
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-KLA74B7J.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRnxScreenCapture
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-5TIUTQ55.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-LQVLXDRN.mjs";
|
|
18
18
|
import {
|
|
19
19
|
rnxPublicBrand
|
|
20
|
-
} from "./esm-chunks/chunk-
|
|
20
|
+
} from "./esm-chunks/chunk-G7UJ4BAC.mjs";
|
|
21
21
|
import {
|
|
22
22
|
isRecord
|
|
23
|
-
} from "./esm-chunks/chunk-
|
|
23
|
+
} from "./esm-chunks/chunk-QUVLFF6I.mjs";
|
|
24
24
|
import {
|
|
25
25
|
__publicField
|
|
26
|
-
} from "./esm-chunks/chunk-
|
|
26
|
+
} from "./esm-chunks/chunk-DLBUPWTI.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.2778 | (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.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isValidRuntimeVersion
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-VZ3NXXUC.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-K3ULPN2R.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./esm-chunks/chunk-
|
|
11
|
-
import "./esm-chunks/chunk-
|
|
10
|
+
} from "./esm-chunks/chunk-QUVLFF6I.mjs";
|
|
11
|
+
import "./esm-chunks/chunk-DLBUPWTI.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.2778 | (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;
|
|
@@ -1442,7 +1442,7 @@ function isValidRuntimeVersion(value) {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
|
|
1444
1444
|
// runtime-companion.json
|
|
1445
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
1445
|
+
var runtime_companion_default = { abi: 1, sha256: "0d25aaf7ceafac8035a9e90a00f3bd8fb39c97b14a068a3c592b4e2e487af446", file: "node/cli-0d25aaf7ceafac8035a9e90a00f3bd8fb39c97b14a068a3c592b4e2e487af446.cjs" };
|
|
1446
1446
|
|
|
1447
1447
|
// src/answeredNativePackages.ts
|
|
1448
1448
|
var import_node_async_hooks = require("node:async_hooks");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2778 | (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.2778 | (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-EXU474NE.mjs";
|
|
26
|
+
import "./chunk-DLBUPWTI.mjs";
|
|
27
27
|
export {
|
|
28
28
|
Node,
|
|
29
29
|
Parser,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
DARWIN_RECORDS_PREFIX,
|
|
4
4
|
KEEP_WASM_NAMES,
|
|
@@ -31,23 +31,23 @@ import {
|
|
|
31
31
|
swiftSdkImageScope,
|
|
32
32
|
unslottedFunctions,
|
|
33
33
|
wasmSections
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ZWOS2EDN.mjs";
|
|
35
35
|
import {
|
|
36
36
|
withSwiftRootLock,
|
|
37
37
|
withSwiftRootReadHolds
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-F3OPIKJC.mjs";
|
|
39
39
|
import {
|
|
40
40
|
swiftDistributionAt,
|
|
41
41
|
swiftModuleDigest,
|
|
42
42
|
swiftModuleToolchain,
|
|
43
43
|
swiftSdkPaths
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-GSTHJQMW.mjs";
|
|
45
45
|
import {
|
|
46
46
|
SWIFT_WASM_TRIPLE,
|
|
47
47
|
refreshSwiftCacheHold,
|
|
48
48
|
sourceSwiftCheckout,
|
|
49
49
|
swiftCacheDir
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-6YHF4VYF.mjs";
|
|
51
51
|
|
|
52
52
|
// src/swift-sdk-image.ts
|
|
53
53
|
import { execFile } from "node:child_process";
|
|
@@ -159,6 +159,10 @@ ${SWIFT_SDK_IMAGE_VERSION}
|
|
|
159
159
|
`).update(inputs).update(products.length === 0 ? "" : `
|
|
160
160
|
products ${products.join(" ")}`).digest("hex").slice(0, 32);
|
|
161
161
|
}
|
|
162
|
+
function swiftSdkImageVariantKey(baseKey, required) {
|
|
163
|
+
if (!required.length) return baseKey;
|
|
164
|
+
return createHash("sha256").update(baseKey).update(JSON.stringify(required)).digest("hex").slice(0, 32);
|
|
165
|
+
}
|
|
162
166
|
var IMAGE_FILE = "sdk.wasm";
|
|
163
167
|
var IMAGE_DIGEST = "sdk.sha256";
|
|
164
168
|
var swiftSdkImageFile = (key) => path.join(swiftCacheDir(), "swift-sdk-images", key, IMAGE_FILE);
|
|
@@ -228,12 +232,25 @@ function sdkImageAt(directory, key, sha256) {
|
|
|
228
232
|
}
|
|
229
233
|
async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkImports = [], options) {
|
|
230
234
|
const { imports, products } = swiftSdkImageProducts(moduleRoot, frameworkImports);
|
|
231
|
-
const
|
|
232
|
-
const
|
|
235
|
+
const images = path.join(swiftCacheDir(), "swift-sdk-images");
|
|
236
|
+
const baseKey = swiftSdkImageKey(moduleRoot, scopedLookups, products);
|
|
237
|
+
const required = [...new Set(options?.requiredGuestSymbols)].sort();
|
|
238
|
+
const base = cached(path.join(images, baseKey), baseKey);
|
|
239
|
+
if (base) {
|
|
240
|
+
if (!required.length) return base;
|
|
241
|
+
const { functions, data, tls } = base.sdkInterface;
|
|
242
|
+
if (required.every(
|
|
243
|
+
(name) => functions[name] !== void 0 || data[name] !== void 0 || tls[name] !== void 0
|
|
244
|
+
))
|
|
245
|
+
return base;
|
|
246
|
+
}
|
|
247
|
+
const key = swiftSdkImageVariantKey(baseKey, required);
|
|
248
|
+
const directory = path.join(images, key);
|
|
233
249
|
const existing = cached(directory, key);
|
|
234
250
|
if (existing) return existing;
|
|
235
|
-
|
|
236
|
-
|
|
251
|
+
const distribution = swiftDistributionAt(moduleRoot);
|
|
252
|
+
if (!options?.producer && !required.length && !distribution && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
|
|
253
|
+
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-XFSFUXQJ.mjs");
|
|
237
254
|
await produceSwiftSdkImage({
|
|
238
255
|
moduleRoot,
|
|
239
256
|
key,
|
|
@@ -253,7 +270,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
253
270
|
return cached(directory, key) ?? withSwiftRootLock(directory, async () => {
|
|
254
271
|
const previous = cached(directory, key);
|
|
255
272
|
if (previous) return previous;
|
|
256
|
-
if (
|
|
273
|
+
if (distribution && !required.length) {
|
|
257
274
|
const entry = swiftSdkImageEntry(key, scopedLookups);
|
|
258
275
|
const fetched = fetchNativeEntry("sdk-image", entry.name, entry.key);
|
|
259
276
|
if (fetched) {
|
|
@@ -290,6 +307,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
290
307
|
work,
|
|
291
308
|
scopedLookups,
|
|
292
309
|
imports,
|
|
310
|
+
required,
|
|
293
311
|
releaseFrameworks
|
|
294
312
|
)
|
|
295
313
|
);
|
|
@@ -298,7 +316,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
298
316
|
}
|
|
299
317
|
});
|
|
300
318
|
}
|
|
301
|
-
async function linkSwiftSdkImage(moduleRoot, key, directory, work, scopedLookups, imports, releaseFrameworks) {
|
|
319
|
+
async function linkSwiftSdkImage(moduleRoot, key, directory, work, scopedLookups, imports, required, releaseFrameworks) {
|
|
302
320
|
rmSync(work, { recursive: true, force: true });
|
|
303
321
|
mkdirSync(work, { recursive: true });
|
|
304
322
|
const toolchain = swiftModuleToolchain(moduleRoot);
|
|
@@ -459,7 +477,10 @@ async function linkSwiftSdkImage(moduleRoot, key, directory, work, scopedLookups
|
|
|
459
477
|
const quote = (value) => JSON.stringify(value);
|
|
460
478
|
writeFileSync(
|
|
461
479
|
path.join(work, "exports.rsp"),
|
|
462
|
-
[
|
|
480
|
+
[
|
|
481
|
+
...[...defined].map((name) => quote(`--export-if-defined=${name}`)),
|
|
482
|
+
...required.filter((name) => !defined.has(name)).map((name) => quote(`--export=${name}`))
|
|
483
|
+
].join("\n")
|
|
463
484
|
);
|
|
464
485
|
const guestServices = path.join(work, "peach-guest-services.allow");
|
|
465
486
|
writeFileSync(guestServices, peachGuestServiceAllowlist);
|
|
@@ -550,11 +571,12 @@ async function linkSwiftSdkImage(moduleRoot, key, directory, work, scopedLookups
|
|
|
550
571
|
path.join(work, IMAGE_DIGEST),
|
|
551
572
|
typeof Bun !== "undefined" ? new Bun.CryptoHasher("sha256").update(image).digest("hex") : createHash("sha256").update(image).digest("hex")
|
|
552
573
|
);
|
|
553
|
-
|
|
574
|
+
const baseKey = swiftSdkImageKey(
|
|
554
575
|
moduleRoot,
|
|
555
576
|
scopedLookups,
|
|
556
577
|
swiftSdkImageProducts(moduleRoot, imports).products
|
|
557
|
-
)
|
|
578
|
+
);
|
|
579
|
+
if (swiftSdkImageVariantKey(baseKey, required) !== key)
|
|
558
580
|
throw new Error("Swift SDK image inputs changed during compilation");
|
|
559
581
|
for (const name of readdirSync(work))
|
|
560
582
|
if (!SWIFT_SDK_IMAGE_FILES.includes(name))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2778 | (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];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
killOrphanedProcessGroup,
|
|
4
4
|
readProcessTable,
|
|
5
5
|
terminateProcessGroup
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6YHF4VYF.mjs";
|
|
7
7
|
|
|
8
8
|
// src/swift-root-lock.ts
|
|
9
9
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2778 | (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-6YHF4VYF.mjs";
|
|
16
16
|
import {
|
|
17
17
|
isSwiftResourcePath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZDWMPXYI.mjs";
|
|
19
19
|
import {
|
|
20
20
|
swiftManifestDeclarations
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-N2PEXZGL.mjs";
|
|
22
22
|
import {
|
|
23
23
|
isRecord
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-QUVLFF6I.mjs";
|
|
25
25
|
import {
|
|
26
26
|
__publicField
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-DLBUPWTI.mjs";
|
|
28
28
|
|
|
29
29
|
// src/write-build-file.ts
|
|
30
30
|
import { mkdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
|
|
@@ -2293,6 +2293,15 @@ function swiftModuleToolchain(root) {
|
|
|
2293
2293
|
return { release, toolchainBin: swiftToolchain(release, swiftModuleSdk(root)) };
|
|
2294
2294
|
}
|
|
2295
2295
|
|
|
2296
|
+
// src/sha256.ts
|
|
2297
|
+
import { createHash as createHash5 } from "node:crypto";
|
|
2298
|
+
function sha256Hex(input) {
|
|
2299
|
+
if (typeof Bun !== "undefined") {
|
|
2300
|
+
return new Bun.CryptoHasher("sha256").update(input).digest("hex");
|
|
2301
|
+
}
|
|
2302
|
+
return createHash5("sha256").update(input).digest("hex");
|
|
2303
|
+
}
|
|
2304
|
+
|
|
2296
2305
|
// src/home-paths.ts
|
|
2297
2306
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
2298
2307
|
import fs4 from "node:fs";
|
|
@@ -2618,6 +2627,7 @@ export {
|
|
|
2618
2627
|
WASI_EMULATION_FLAGS,
|
|
2619
2628
|
objcSdkIntakeFlags,
|
|
2620
2629
|
iosDeploymentMinimum,
|
|
2630
|
+
sha256Hex,
|
|
2621
2631
|
rnxHomeDir,
|
|
2622
2632
|
runtimeDir,
|
|
2623
2633
|
cacheDir,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftImageVariants
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3WQANOYY.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-K3ULPN2R.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QUVLFF6I.mjs";
|
|
11
11
|
|
|
12
12
|
// src/android-string-value.ts
|
|
13
13
|
function compileAndroidStringValue(text, where) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SIM_LONG_PRESS_MAX_MS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KX7LV722.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QUVLFF6I.mjs";
|
|
8
8
|
|
|
9
9
|
// ../peach-globals/src/globalsContract.ts
|
|
10
10
|
var LEGACY_ALIAS_MARKER = Symbol.for("sootsim.legacy-aliases-installed");
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2778 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
LAUNCH_METADATA_KEYS,
|
|
4
4
|
LAUNCH_METADATA_KEYS_PATH
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-X25PQNNH.mjs";
|
|
6
6
|
import {
|
|
7
7
|
cacheDir,
|
|
8
8
|
parseSwiftDistributionLock,
|
|
9
9
|
readActiveRuntime,
|
|
10
10
|
runtimeDir
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GSTHJQMW.mjs";
|
|
12
12
|
import {
|
|
13
13
|
SWIFT_WASM_TRIPLE,
|
|
14
14
|
registerSwiftHostCompiler
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6YHF4VYF.mjs";
|
|
16
16
|
import {
|
|
17
17
|
isRecord
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QUVLFF6I.mjs";
|
|
19
19
|
|
|
20
20
|
// src/swift-distribution.ts
|
|
21
21
|
import { execFile as execFile2 } from "node:child_process";
|