peachsim 0.1.2746 → 0.1.2748
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/outbound-endpoints.ts +19 -9
- 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 +3902 -3889
- 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-QOTAOF5Z.mjs → acorn-VEWLHGUF.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-QST2EJ23.mjs → chunk-4QUOVEXG.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-JBA5MZXI.mjs → chunk-62Z4HAA5.mjs} +16 -15
- package/dist-lib/esm-chunks/{chunk-L7AI2APK.mjs → chunk-6ZVR2CVC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4NBVXIZE.mjs → chunk-A2EC74CI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TMC5X24U.mjs → chunk-BYYBOHZI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2WXEOIBB.mjs → chunk-C6IVVMZN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3NVVAQSW.mjs → chunk-GWZFPIGW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TEIXMLXF.mjs → chunk-HMPLB7MA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZIB7E2UZ.mjs → chunk-HPANCGMI.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-LJCRY4MG.mjs → chunk-HRS3DSAZ.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-VU3BUF6L.mjs → chunk-I3KV46CL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GT4KPY7G.mjs → chunk-IE2LTKEG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZJOVVIFO.mjs → chunk-KD3TI7UV.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-5HNCEXGF.mjs → chunk-KNNMOD5T.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-XLZ2P347.mjs → chunk-NNVYKFSY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JWQYDDFF.mjs → chunk-RU7J2QST.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZQQKJLZG.mjs → chunk-TQACQLZ6.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BBTAOM4S.mjs → chunk-TW5FZFU7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4IWPN4FR.mjs → chunk-U5SZIAIF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-LCAHUXRX.mjs → chunk-UFQHPARI.mjs} +199 -197
- package/dist-lib/esm-chunks/{chunk-RHXTAMFH.mjs → chunk-UNOAFCHH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PGBXZIRW.mjs → chunk-VKYISXKK.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-HCGHGGZY.mjs → chunk-WN22FGGA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SGCTCFCQ.mjs → chunk-XM3QYC5V.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-4PCWGBJT.mjs → metro-layout-parser-B74NVOKQ.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-FVIN2AH2.mjs → swift-package-prebuilt-B4QBXBQL.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-YTTAJZSA.mjs → swift-sdk-app-module-5OCMAJPP.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-GHK7ZE4W.mjs → swift-sdk-image-LQKEASAW.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-C7JWU22H.mjs → swift-sdk-image-producer-ZMYZXL7Z.mjs} +8 -7
- package/dist-lib/expo-swift-bundle.cjs +143 -130
- 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 +434 -421
- package/dist-lib/host/fetch-proxy-handler.cjs +15 -8
- 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 +86 -85
- package/dist-lib/public-origins-lib.json +73 -67
- 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 +434 -421
- package/dist-lib/swift-compile.cjs +124 -115
- 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/graphite.d.ts +13 -0
- package/dist-types/packages/peach-engine/src/engine/native-paint-facts.d.ts +3 -1
- package/dist-types/packages/peach-engine/src/engine/paint-value-input.d.ts +7 -0
- package/dist-types/packages/peach-engine/src/engine/scene-native-binding.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/render-worker/canvaskit-webgpu.d.ts +2 -19
- package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/render-worker/native-hot-ops.d.ts +2 -2
- package/package.json +1 -1
- package/src/expo-swift-host.ts +4 -0
- package/src/one-native-controls-package.ts +5 -5
- package/src/one-sdk-bundle.ts +1 -1
- package/src/swift-compiler-digest.ts +1 -0
- package/src/swift-objc-compile.ts +4 -5
- package/src/swift-objc-prebuilt.ts +2 -2
- package/src/swift-pdf-raster.ts +2 -2
- package/src/swift-sdk-image-producer.ts +2 -1
- package/src/swift-sdk-surface.ts +4 -120
- package/src/swift-source-pods.ts +3 -3
- package/src/one-sdk/shard.ts +0 -382
package/dist-lib/esm-chunks/{metro-layout-parser-4PCWGBJT.mjs → metro-layout-parser-B74NVOKQ.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2748 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-RU7J2QST.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-VEWLHGUF.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.2748 | (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-62Z4HAA5.mjs";
|
|
8
|
+
import "./chunk-HPANCGMI.mjs";
|
|
9
9
|
import {
|
|
10
10
|
swiftDistributionAt,
|
|
11
11
|
swiftImportNames
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-UFQHPARI.mjs";
|
|
13
|
+
import "./chunk-A2EC74CI.mjs";
|
|
14
14
|
import {
|
|
15
15
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BYYBOHZI.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-IE2LTKEG.mjs";
|
|
20
|
+
import "./chunk-C6IVVMZN.mjs";
|
|
21
|
+
import "./chunk-KNNMOD5T.mjs";
|
|
22
|
+
import "./chunk-XM3QYC5V.mjs";
|
|
23
|
+
import "./chunk-UNOAFCHH.mjs";
|
|
24
|
+
import "./chunk-RU7J2QST.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-YTTAJZSA.mjs → swift-sdk-app-module-5OCMAJPP.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2748 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_MEMORY_BASE,
|
|
5
5
|
SWIFT_SDK_PIECE_FIELDS,
|
|
6
6
|
readSwiftSdkManifest
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HRS3DSAZ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
ADDEND_RELOCATIONS,
|
|
10
10
|
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-62Z4HAA5.mjs";
|
|
37
|
+
import "./chunk-HPANCGMI.mjs";
|
|
38
|
+
import "./chunk-VKYISXKK.mjs";
|
|
39
|
+
import "./chunk-U5SZIAIF.mjs";
|
|
40
|
+
import "./chunk-HMPLB7MA.mjs";
|
|
41
|
+
import "./chunk-UFQHPARI.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-A2EC74CI.mjs";
|
|
45
|
+
import "./chunk-BYYBOHZI.mjs";
|
|
46
|
+
import "./chunk-IE2LTKEG.mjs";
|
|
47
|
+
import "./chunk-C6IVVMZN.mjs";
|
|
48
|
+
import "./chunk-KNNMOD5T.mjs";
|
|
49
|
+
import "./chunk-XM3QYC5V.mjs";
|
|
50
|
+
import "./chunk-UNOAFCHH.mjs";
|
|
51
|
+
import "./chunk-RU7J2QST.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.2748 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_IMAGE_BUNDLE,
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
swiftSdkImageFile,
|
|
14
14
|
swiftSdkImageKey,
|
|
15
15
|
swiftSdkImageProducts
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./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-
|
|
16
|
+
} from "./chunk-HRS3DSAZ.mjs";
|
|
17
|
+
import "./chunk-62Z4HAA5.mjs";
|
|
18
|
+
import "./chunk-HPANCGMI.mjs";
|
|
19
|
+
import "./chunk-VKYISXKK.mjs";
|
|
20
|
+
import "./chunk-U5SZIAIF.mjs";
|
|
21
|
+
import "./chunk-HMPLB7MA.mjs";
|
|
22
|
+
import "./chunk-UFQHPARI.mjs";
|
|
23
|
+
import "./chunk-A2EC74CI.mjs";
|
|
24
|
+
import "./chunk-BYYBOHZI.mjs";
|
|
25
|
+
import "./chunk-IE2LTKEG.mjs";
|
|
26
|
+
import "./chunk-C6IVVMZN.mjs";
|
|
27
|
+
import "./chunk-KNNMOD5T.mjs";
|
|
28
|
+
import "./chunk-XM3QYC5V.mjs";
|
|
29
|
+
import "./chunk-UNOAFCHH.mjs";
|
|
30
|
+
import "./chunk-RU7J2QST.mjs";
|
|
31
31
|
export {
|
|
32
32
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
33
33
|
SWIFT_SDK_IMAGE_BUNDLE,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2748 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
withSwiftRootLock
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HPANCGMI.mjs";
|
|
5
5
|
import {
|
|
6
6
|
swiftCacheDir,
|
|
7
7
|
windowAdmission
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-A2EC74CI.mjs";
|
|
9
9
|
import {
|
|
10
10
|
isRecord
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-UNOAFCHH.mjs";
|
|
12
|
+
import "./chunk-RU7J2QST.mjs";
|
|
13
13
|
|
|
14
14
|
// src/swift-sdk-image-producer.ts
|
|
15
15
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -78,7 +78,7 @@ mv "$1.tmp" "$1"
|
|
|
78
78
|
shift
|
|
79
79
|
export GIT_ALTERNATE_OBJECT_DIRECTORIES="$2/objects"
|
|
80
80
|
set +e
|
|
81
|
-
env -u TM_WINDOW -u TM_WAIT_DEADLINE_MS -u TM_EXEC_OUTER_DEADLINE_MS -u REMOTE_BUILD_DEADLINE -u TM_EXEC_ADMITTED -u LINUX_BUILD_SCOPE -u TM_EXEC_CPU_CORES -u TM_EXEC_LINUX_MEMORY_MAX -u CONTRAST_HEAVY_ADMITTED -u CONTRAST_HEAVY_CPU_CORES tm exec --local --kind build-linux --cores "$1" --timeout 90m --param wait=true --param job-kind=swift-sdk-image --param "source-snapshot=$2" --param "delivery-dir=$4" --param "serial-key=swift-sdk-$5" -- bun scripts/ops/produce-swift-sdk-image.ts "$3" </dev/null
|
|
81
|
+
env -u TM_WINDOW -u TM_WAIT_DEADLINE_MS -u TM_EXEC_OUTER_DEADLINE_MS -u REMOTE_BUILD_DEADLINE -u TM_EXEC_ADMITTED -u LINUX_BUILD_SCOPE -u TM_EXEC_CPU_CORES -u TM_EXEC_LINUX_MEMORY_MAX -u CONTRAST_HEAVY_ADMITTED -u CONTRAST_HEAVY_CPU_CORES CONTRAST_LAND_CHECK="$6" tm exec --local --kind build-linux --cores "$1" --timeout 90m --param wait=true --param job-kind=swift-sdk-image --param "source-snapshot=$2" --param "delivery-dir=$4" --param "serial-key=swift-sdk-$5" -- bun scripts/ops/produce-swift-sdk-image.ts "$3" </dev/null
|
|
82
82
|
status=$?
|
|
83
83
|
if bun -e 'try { if (JSON.parse(require("node:fs").readFileSync(process.argv[1], "utf8")).released !== true) process.exit(1) } catch { process.exit(1) }' "$4/cleanup.json"; then rm -rf "$2"; fi
|
|
84
84
|
exit "$status"
|
|
@@ -252,7 +252,8 @@ async function produceSwiftSdkImage(input) {
|
|
|
252
252
|
path.join(directory2, "snapshot"),
|
|
253
253
|
requestFile,
|
|
254
254
|
path.join(directory2, "delivery"),
|
|
255
|
-
input.frameworkKey
|
|
255
|
+
input.frameworkKey,
|
|
256
|
+
process.env.CONTRAST_LAND_CHECK === "1" ? "1" : ""
|
|
256
257
|
],
|
|
257
258
|
{ cwd: repo }
|
|
258
259
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2748 | (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;
|
|
@@ -19556,7 +19556,7 @@ var init_react_native_core_digest = __esm({
|
|
|
19556
19556
|
|
|
19557
19557
|
// src/swift-compiler-digest.ts
|
|
19558
19558
|
function swiftArchiveCompilerDigestValue() {
|
|
19559
|
-
return true ? "
|
|
19559
|
+
return true ? "99ae71a024c1f7e48133d193acd1d2f2b0738fcbc5e5291800fd396afb31897b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
19560
19560
|
}
|
|
19561
19561
|
var import_node_crypto16, import_node_fs32, import_node_path31, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
19562
19562
|
var init_swift_compiler_digest = __esm({
|
|
@@ -19569,6 +19569,7 @@ var init_swift_compiler_digest = __esm({
|
|
|
19569
19569
|
SWIFT_DIGEST_SOURCES = [
|
|
19570
19570
|
"swift-compile.ts",
|
|
19571
19571
|
"swift-sdk-surface.ts",
|
|
19572
|
+
"../../peach-globals/build/swift-source-mask.ts",
|
|
19572
19573
|
"swift-wasm-archive.ts",
|
|
19573
19574
|
"swift-lexical.ts",
|
|
19574
19575
|
"swift-header-compiler.ts",
|
|
@@ -19701,13 +19702,13 @@ var init_swift_standin_digest = __esm({
|
|
|
19701
19702
|
];
|
|
19702
19703
|
RUNTIME_IMPORT = /(?:^|[;\n])[ \t]*(?:import|export)\s+(?!type(?:\s|\{))([\s\S]*?)\s+from\s*['"]([^'"]+)['"]|(?:^|[;\n])[ \t]*import\s+['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
19703
19704
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS, STANDIN_DIGEST_EXCLUDED_FILES);
|
|
19704
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
19705
|
+
STANDIN_SOURCE_DIGEST = true ? "a17a387bf80ef3648c26193901ee6a7cb9abc691b99809c6a8bf9ad4617836af" : standinSourceDigest();
|
|
19705
19706
|
}
|
|
19706
19707
|
});
|
|
19707
19708
|
|
|
19708
19709
|
// src/expo-native-compiler-digest.ts
|
|
19709
19710
|
function expoNativeCompilerDigestValue() {
|
|
19710
|
-
return true ? "
|
|
19711
|
+
return true ? "3c2822a0dd3afa16e099b22ab6970a7d2276823c6d9aa2d72292a87fd8077fad" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
19711
19712
|
}
|
|
19712
19713
|
var import_node_crypto18;
|
|
19713
19714
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -36915,6 +36916,122 @@ var init_swift_lexical = __esm({
|
|
|
36915
36916
|
}
|
|
36916
36917
|
});
|
|
36917
36918
|
|
|
36919
|
+
// ../peach-globals/build/swift-source-mask.ts
|
|
36920
|
+
function maskSwiftCode(source) {
|
|
36921
|
+
const chars = source.split("");
|
|
36922
|
+
const blank = (from, to) => {
|
|
36923
|
+
for (let i = Math.max(0, from); i < Math.min(to, chars.length); i++)
|
|
36924
|
+
if (chars[i] !== "\n") chars[i] = " ";
|
|
36925
|
+
};
|
|
36926
|
+
const hashesAt = (at) => {
|
|
36927
|
+
let end = at;
|
|
36928
|
+
while (source[end] === "#") end++;
|
|
36929
|
+
return end - at;
|
|
36930
|
+
};
|
|
36931
|
+
const scanString = (quote3, hashes) => {
|
|
36932
|
+
const multiline = source.startsWith('"""', quote3);
|
|
36933
|
+
let i = quote3 + (multiline ? 3 : 1);
|
|
36934
|
+
const keep = [];
|
|
36935
|
+
const quoteEnd = (at) => {
|
|
36936
|
+
const mark = multiline ? '"""' : '"';
|
|
36937
|
+
return source.startsWith(mark, at) && source.startsWith("#".repeat(hashes), at + mark.length);
|
|
36938
|
+
};
|
|
36939
|
+
while (i < chars.length) {
|
|
36940
|
+
if (source[i] === "\\" && source.startsWith("#".repeat(hashes), i + 1)) {
|
|
36941
|
+
const escaped = i + 1 + hashes;
|
|
36942
|
+
if (source[escaped] === "(") {
|
|
36943
|
+
const codeStart = escaped + 1;
|
|
36944
|
+
const codeEnd = scanCode(codeStart, true);
|
|
36945
|
+
keep.push([codeStart, codeEnd]);
|
|
36946
|
+
i = codeEnd + 1;
|
|
36947
|
+
} else {
|
|
36948
|
+
i = escaped + 1;
|
|
36949
|
+
}
|
|
36950
|
+
continue;
|
|
36951
|
+
}
|
|
36952
|
+
if (quoteEnd(i)) {
|
|
36953
|
+
const close = i + (multiline ? 3 : 1) + hashes;
|
|
36954
|
+
let cursor = quote3 - hashes;
|
|
36955
|
+
const ranges = [...keep, [close, close]];
|
|
36956
|
+
for (const [from, to] of ranges)
|
|
36957
|
+
if (from > cursor) {
|
|
36958
|
+
blank(cursor, from);
|
|
36959
|
+
cursor = to;
|
|
36960
|
+
} else cursor = Math.max(cursor, to);
|
|
36961
|
+
return close;
|
|
36962
|
+
}
|
|
36963
|
+
i++;
|
|
36964
|
+
}
|
|
36965
|
+
blank(quote3 - hashes, chars.length);
|
|
36966
|
+
return chars.length;
|
|
36967
|
+
};
|
|
36968
|
+
const scanCode = (i, nested) => {
|
|
36969
|
+
let parens = 0;
|
|
36970
|
+
while (i < chars.length) {
|
|
36971
|
+
const char = source[i];
|
|
36972
|
+
if (char === "/" && source[i + 1] === "/") {
|
|
36973
|
+
const end = source.indexOf("\n", i);
|
|
36974
|
+
blank(i, end === -1 ? chars.length : end);
|
|
36975
|
+
i = end === -1 ? chars.length : end;
|
|
36976
|
+
continue;
|
|
36977
|
+
}
|
|
36978
|
+
if (char === "/" && source[i + 1] === "*") {
|
|
36979
|
+
let j = i + 2;
|
|
36980
|
+
let depth = 1;
|
|
36981
|
+
while (j < chars.length && depth > 0) {
|
|
36982
|
+
if (source.startsWith("/*", j)) {
|
|
36983
|
+
depth++;
|
|
36984
|
+
j += 2;
|
|
36985
|
+
} else if (source.startsWith("*/", j)) {
|
|
36986
|
+
depth--;
|
|
36987
|
+
j += 2;
|
|
36988
|
+
} else j++;
|
|
36989
|
+
}
|
|
36990
|
+
blank(i, j);
|
|
36991
|
+
i = j;
|
|
36992
|
+
continue;
|
|
36993
|
+
}
|
|
36994
|
+
if (char === "#") {
|
|
36995
|
+
const hashes = hashesAt(i);
|
|
36996
|
+
const at = i + hashes;
|
|
36997
|
+
if (source[at] === '"') {
|
|
36998
|
+
i = scanString(at, hashes);
|
|
36999
|
+
continue;
|
|
37000
|
+
}
|
|
37001
|
+
if (hashes > 0 && source[at] === "/") {
|
|
37002
|
+
const mark = "#".repeat(hashes);
|
|
37003
|
+
let j = at + 1;
|
|
37004
|
+
while (j < chars.length && !(source[j] === "/" && source.startsWith(mark, j + 1)))
|
|
37005
|
+
j++;
|
|
37006
|
+
blank(i, Math.min(chars.length, j + 1 + hashes));
|
|
37007
|
+
i = Math.min(chars.length, j + 1 + hashes);
|
|
37008
|
+
continue;
|
|
37009
|
+
}
|
|
37010
|
+
i++;
|
|
37011
|
+
continue;
|
|
37012
|
+
}
|
|
37013
|
+
if (char === '"') {
|
|
37014
|
+
i = scanString(i, 0);
|
|
37015
|
+
continue;
|
|
37016
|
+
}
|
|
37017
|
+
if (char === "(") parens++;
|
|
37018
|
+
else if (char === ")") {
|
|
37019
|
+
if (nested && parens === 0) return i;
|
|
37020
|
+
parens--;
|
|
37021
|
+
}
|
|
37022
|
+
i++;
|
|
37023
|
+
}
|
|
37024
|
+
return i;
|
|
37025
|
+
};
|
|
37026
|
+
scanCode(0, false);
|
|
37027
|
+
return chars.join("");
|
|
37028
|
+
}
|
|
37029
|
+
var init_swift_source_mask = __esm({
|
|
37030
|
+
"../peach-globals/build/swift-source-mask.ts"() {
|
|
37031
|
+
"use strict";
|
|
37032
|
+
}
|
|
37033
|
+
});
|
|
37034
|
+
|
|
36918
37035
|
// src/swift-sdk-surface.ts
|
|
36919
37036
|
function swiftBuildJobs() {
|
|
36920
37037
|
const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
|
|
@@ -37602,115 +37719,6 @@ function swiftCodeMask(source) {
|
|
|
37602
37719
|
codeMaskChars += source.length;
|
|
37603
37720
|
return masked;
|
|
37604
37721
|
}
|
|
37605
|
-
function maskSwiftCode(source) {
|
|
37606
|
-
const chars = source.split("");
|
|
37607
|
-
const blank = (from, to) => {
|
|
37608
|
-
for (let i = Math.max(0, from); i < Math.min(to, chars.length); i++)
|
|
37609
|
-
if (chars[i] !== "\n") chars[i] = " ";
|
|
37610
|
-
};
|
|
37611
|
-
const hashesAt = (at) => {
|
|
37612
|
-
let end = at;
|
|
37613
|
-
while (source[end] === "#") end++;
|
|
37614
|
-
return end - at;
|
|
37615
|
-
};
|
|
37616
|
-
const scanString = (quote3, hashes) => {
|
|
37617
|
-
const multiline = source.startsWith('"""', quote3);
|
|
37618
|
-
let i = quote3 + (multiline ? 3 : 1);
|
|
37619
|
-
const keep = [];
|
|
37620
|
-
const quoteEnd = (at) => {
|
|
37621
|
-
const mark = multiline ? '"""' : '"';
|
|
37622
|
-
return source.startsWith(mark, at) && source.startsWith("#".repeat(hashes), at + mark.length);
|
|
37623
|
-
};
|
|
37624
|
-
while (i < chars.length) {
|
|
37625
|
-
if (source[i] === "\\" && source.startsWith("#".repeat(hashes), i + 1)) {
|
|
37626
|
-
const escaped = i + 1 + hashes;
|
|
37627
|
-
if (source[escaped] === "(") {
|
|
37628
|
-
const codeStart = escaped + 1;
|
|
37629
|
-
const codeEnd = scanCode(codeStart, true);
|
|
37630
|
-
keep.push([codeStart, codeEnd]);
|
|
37631
|
-
i = codeEnd + 1;
|
|
37632
|
-
} else {
|
|
37633
|
-
i = escaped + 1;
|
|
37634
|
-
}
|
|
37635
|
-
continue;
|
|
37636
|
-
}
|
|
37637
|
-
if (quoteEnd(i)) {
|
|
37638
|
-
const close = i + (multiline ? 3 : 1) + hashes;
|
|
37639
|
-
let cursor = quote3 - hashes;
|
|
37640
|
-
const ranges = [...keep, [close, close]];
|
|
37641
|
-
for (const [from, to] of ranges)
|
|
37642
|
-
if (from > cursor) {
|
|
37643
|
-
blank(cursor, from);
|
|
37644
|
-
cursor = to;
|
|
37645
|
-
} else cursor = Math.max(cursor, to);
|
|
37646
|
-
return close;
|
|
37647
|
-
}
|
|
37648
|
-
i++;
|
|
37649
|
-
}
|
|
37650
|
-
blank(quote3 - hashes, chars.length);
|
|
37651
|
-
return chars.length;
|
|
37652
|
-
};
|
|
37653
|
-
const scanCode = (i, nested) => {
|
|
37654
|
-
let parens = 0;
|
|
37655
|
-
while (i < chars.length) {
|
|
37656
|
-
const char = source[i];
|
|
37657
|
-
if (char === "/" && source[i + 1] === "/") {
|
|
37658
|
-
const end = source.indexOf("\n", i);
|
|
37659
|
-
blank(i, end === -1 ? chars.length : end);
|
|
37660
|
-
i = end === -1 ? chars.length : end;
|
|
37661
|
-
continue;
|
|
37662
|
-
}
|
|
37663
|
-
if (char === "/" && source[i + 1] === "*") {
|
|
37664
|
-
let j = i + 2;
|
|
37665
|
-
let depth = 1;
|
|
37666
|
-
while (j < chars.length && depth > 0) {
|
|
37667
|
-
if (source.startsWith("/*", j)) {
|
|
37668
|
-
depth++;
|
|
37669
|
-
j += 2;
|
|
37670
|
-
} else if (source.startsWith("*/", j)) {
|
|
37671
|
-
depth--;
|
|
37672
|
-
j += 2;
|
|
37673
|
-
} else j++;
|
|
37674
|
-
}
|
|
37675
|
-
blank(i, j);
|
|
37676
|
-
i = j;
|
|
37677
|
-
continue;
|
|
37678
|
-
}
|
|
37679
|
-
if (char === "#") {
|
|
37680
|
-
const hashes = hashesAt(i);
|
|
37681
|
-
const at = i + hashes;
|
|
37682
|
-
if (source[at] === '"') {
|
|
37683
|
-
i = scanString(at, hashes);
|
|
37684
|
-
continue;
|
|
37685
|
-
}
|
|
37686
|
-
if (hashes > 0 && source[at] === "/") {
|
|
37687
|
-
const mark = "#".repeat(hashes);
|
|
37688
|
-
let j = at + 1;
|
|
37689
|
-
while (j < chars.length && !(source[j] === "/" && source.startsWith(mark, j + 1)))
|
|
37690
|
-
j++;
|
|
37691
|
-
blank(i, Math.min(chars.length, j + 1 + hashes));
|
|
37692
|
-
i = Math.min(chars.length, j + 1 + hashes);
|
|
37693
|
-
continue;
|
|
37694
|
-
}
|
|
37695
|
-
i++;
|
|
37696
|
-
continue;
|
|
37697
|
-
}
|
|
37698
|
-
if (char === '"') {
|
|
37699
|
-
i = scanString(i, 0);
|
|
37700
|
-
continue;
|
|
37701
|
-
}
|
|
37702
|
-
if (char === "(") parens++;
|
|
37703
|
-
else if (char === ")") {
|
|
37704
|
-
if (nested && parens === 0) return i;
|
|
37705
|
-
parens--;
|
|
37706
|
-
}
|
|
37707
|
-
i++;
|
|
37708
|
-
}
|
|
37709
|
-
return i;
|
|
37710
|
-
};
|
|
37711
|
-
scanCode(0, false);
|
|
37712
|
-
return chars.join("");
|
|
37713
|
-
}
|
|
37714
37722
|
function foundationOwnerOf(name3) {
|
|
37715
37723
|
if (name3 === "NSKeyValueObservedChange" || name3 === "NSKeyValueObservation")
|
|
37716
37724
|
return "PeachObjC";
|
|
@@ -37886,8 +37894,9 @@ function swiftModuleToolchain(root) {
|
|
|
37886
37894
|
}
|
|
37887
37895
|
function remoteSwiftCheckouts(root) {
|
|
37888
37896
|
const key2 = (0, import_node_crypto34.createHash)("sha256").update((0, import_node_fs55.realpathSync)(root)).digest("hex").slice(0, 32);
|
|
37889
|
-
|
|
37890
|
-
|
|
37897
|
+
const cache = swiftCacheDir();
|
|
37898
|
+
(0, import_node_fs55.mkdirSync)(cache, { recursive: true });
|
|
37899
|
+
return import_node_path53.default.join((0, import_node_fs55.realpathSync)(cache), "swift-packages", key2, "checkouts");
|
|
37891
37900
|
}
|
|
37892
37901
|
var import_node_child_process29, import_node_crypto34, import_node_fs55, import_node_os10, import_node_path53, distributionManifests, distributionCompileViews, REACH_STAGED_FRAMEWORKS, objcEnumerations, clangDeclarationEnumCache, objcEnumForward, sdkDeclarationOwners, swiftInterfaceDeclarations, linkedModuleDigests, compileSurfaces, SWIFT_IMPORT, kleeneNot, kleeneAnd, kleeneOr, NON_IOS_MODULES, importNamesCache, sdkPaths, FOUNDATION_IMPLICIT_MODULES, FRAMEWORK_COMPANION_IMPORT, codeMasks, codeMaskChars, CODE_MASK_CACHE_CHARS, FOUNDATION_NETWORKING_TYPES, FOUNDATION_OVERLAY_TYPES, FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_OVERLAY_GLOBALS, emptyMacroEnvironment, wasmMacroEnvironment, swiftBinaryOnDisk;
|
|
37893
37902
|
var init_swift_sdk_surface = __esm({
|
|
@@ -37898,8 +37907,8 @@ var init_swift_sdk_surface = __esm({
|
|
|
37898
37907
|
import_node_fs55 = require("node:fs");
|
|
37899
37908
|
import_node_os10 = __toESM(require("node:os"), 1);
|
|
37900
37909
|
import_node_path53 = __toESM(require("node:path"), 1);
|
|
37910
|
+
init_swift_source_mask();
|
|
37901
37911
|
init_admitted_mac_build();
|
|
37902
|
-
init_home_paths();
|
|
37903
37912
|
init_swift_distribution_contract();
|
|
37904
37913
|
init_swift_package();
|
|
37905
37914
|
init_swift_shared_sdk();
|
|
@@ -39781,7 +39790,8 @@ async function produceSwiftSdkImage(input) {
|
|
|
39781
39790
|
import_node_path57.default.join(directory3, "snapshot"),
|
|
39782
39791
|
requestFile,
|
|
39783
39792
|
import_node_path57.default.join(directory3, "delivery"),
|
|
39784
|
-
input.frameworkKey
|
|
39793
|
+
input.frameworkKey,
|
|
39794
|
+
process.env.CONTRAST_LAND_CHECK === "1" ? "1" : ""
|
|
39785
39795
|
],
|
|
39786
39796
|
{ cwd: repo }
|
|
39787
39797
|
);
|
|
@@ -39869,7 +39879,7 @@ mv "$1.tmp" "$1"
|
|
|
39869
39879
|
shift
|
|
39870
39880
|
export GIT_ALTERNATE_OBJECT_DIRECTORIES="$2/objects"
|
|
39871
39881
|
set +e
|
|
39872
|
-
env -u TM_WINDOW -u TM_WAIT_DEADLINE_MS -u TM_EXEC_OUTER_DEADLINE_MS -u REMOTE_BUILD_DEADLINE -u TM_EXEC_ADMITTED -u LINUX_BUILD_SCOPE -u TM_EXEC_CPU_CORES -u TM_EXEC_LINUX_MEMORY_MAX -u CONTRAST_HEAVY_ADMITTED -u CONTRAST_HEAVY_CPU_CORES tm exec --local --kind build-linux --cores "$1" --timeout 90m --param wait=true --param job-kind=swift-sdk-image --param "source-snapshot=$2" --param "delivery-dir=$4" --param "serial-key=swift-sdk-$5" -- bun scripts/ops/produce-swift-sdk-image.ts "$3" </dev/null
|
|
39882
|
+
env -u TM_WINDOW -u TM_WAIT_DEADLINE_MS -u TM_EXEC_OUTER_DEADLINE_MS -u REMOTE_BUILD_DEADLINE -u TM_EXEC_ADMITTED -u LINUX_BUILD_SCOPE -u TM_EXEC_CPU_CORES -u TM_EXEC_LINUX_MEMORY_MAX -u CONTRAST_HEAVY_ADMITTED -u CONTRAST_HEAVY_CPU_CORES CONTRAST_LAND_CHECK="$6" tm exec --local --kind build-linux --cores "$1" --timeout 90m --param wait=true --param job-kind=swift-sdk-image --param "source-snapshot=$2" --param "delivery-dir=$4" --param "serial-key=swift-sdk-$5" -- bun scripts/ops/produce-swift-sdk-image.ts "$3" </dev/null
|
|
39873
39883
|
status=$?
|
|
39874
39884
|
if bun -e 'try { if (JSON.parse(require("node:fs").readFileSync(process.argv[1], "utf8")).released !== true) process.exit(1) } catch { process.exit(1) }' "$4/cleanup.json"; then rm -rf "$2"; fi
|
|
39875
39885
|
exit "$status"
|
|
@@ -43877,9 +43887,9 @@ var init_swift_objc_prebuilt = __esm({
|
|
|
43877
43887
|
import_node_path65 = __toESM(require("node:path"), 1);
|
|
43878
43888
|
init_internal_child_contract();
|
|
43879
43889
|
init_self_invocation();
|
|
43880
|
-
init_home_paths();
|
|
43881
43890
|
init_native_prebuilt();
|
|
43882
43891
|
init_swift_objc_prebuilt_catalog();
|
|
43892
|
+
init_swift_toolchain();
|
|
43883
43893
|
quote2 = (value) => "'" + value.replaceAll("'", "'\\''") + "'";
|
|
43884
43894
|
}
|
|
43885
43895
|
});
|
|
@@ -50199,7 +50209,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
50199
50209
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
50200
50210
|
MULTI_MANIFEST_VERSION = 76;
|
|
50201
50211
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
50202
|
-
compilerSourceDigest = true ? "
|
|
50212
|
+
compilerSourceDigest = true ? "9e800b4e5695e0ea16860a945e2ba4dd9efa69f299d64b77b74c6197d9d31df6" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
50203
50213
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
50204
50214
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
50205
50215
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -84032,7 +84042,7 @@ function cachedBinaryFileDigest(file) {
|
|
|
84032
84042
|
const stamp = `${stat.dev}:${stat.ino}:${stat.size}:${stat.mtimeNs}:${stat.ctimeNs}`;
|
|
84033
84043
|
const memory = binaryFileDigests.get(real);
|
|
84034
84044
|
if (memory?.stamp === stamp) return memory.digest;
|
|
84035
|
-
const dir = import_node_path110.default.join(
|
|
84045
|
+
const dir = import_node_path110.default.join(swiftCacheDir(), "swift-binary-digests");
|
|
84036
84046
|
const record5 = import_node_path110.default.join(dir, `${sha256Hex6(real)}.json`);
|
|
84037
84047
|
if (import_node_fs108.default.existsSync(record5)) {
|
|
84038
84048
|
const saved = JSON.parse(import_node_fs108.default.readFileSync(record5, "utf8"));
|
|
@@ -84626,7 +84636,7 @@ function prepareXcodeSwiftProducts(app, binaries, moduleRoot) {
|
|
|
84626
84636
|
[...providers].map(([name3, file]) => [name3, digest2(import_node_fs108.default.readFileSync(file))])
|
|
84627
84637
|
)
|
|
84628
84638
|
};
|
|
84629
|
-
const parent = import_node_path110.default.join(
|
|
84639
|
+
const parent = import_node_path110.default.join(swiftCacheDir(), "swift-xcode-products");
|
|
84630
84640
|
import_node_fs108.default.mkdirSync(parent, { recursive: true });
|
|
84631
84641
|
const key2 = digest2(JSON.stringify(identity2));
|
|
84632
84642
|
const work = import_node_path110.default.join(parent, key2);
|
|
@@ -84964,7 +84974,7 @@ async function prepareXcodeNativeInputs(app, binaries, moduleRoot, purpose) {
|
|
|
84964
84974
|
derivations,
|
|
84965
84975
|
swiftProducts: products?.receipt
|
|
84966
84976
|
};
|
|
84967
|
-
const parent = import_node_path110.default.join(
|
|
84977
|
+
const parent = import_node_path110.default.join(swiftCacheDir(), "swift-objc-implementations");
|
|
84968
84978
|
import_node_fs108.default.mkdirSync(parent, { recursive: true });
|
|
84969
84979
|
const key2 = digest2(JSON.stringify(identity2));
|
|
84970
84980
|
const work = import_node_path110.default.join(parent, key2);
|
|
@@ -85329,7 +85339,6 @@ var init_swift_objc_compile = __esm({
|
|
|
85329
85339
|
import_node_fs108 = __toESM(require("node:fs"), 1);
|
|
85330
85340
|
import_node_path110 = __toESM(require("node:path"), 1);
|
|
85331
85341
|
init_mapLimit();
|
|
85332
|
-
init_home_paths();
|
|
85333
85342
|
init_is_record();
|
|
85334
85343
|
init_swift_objc_import();
|
|
85335
85344
|
init_swift_objc_runtime();
|
|
@@ -93099,7 +93108,7 @@ function rasterizePdfFiles(inputs2, { imageBytes, imageTotalBytes } = { imageByt
|
|
|
93099
93108
|
const rendered = /* @__PURE__ */ new Map();
|
|
93100
93109
|
const pending = /* @__PURE__ */ new Map();
|
|
93101
93110
|
const renderer = process.platform === "darwin" ? "30774891a9db216d" : "pdfium-1";
|
|
93102
|
-
const cache =
|
|
93111
|
+
const cache = swiftCacheDir();
|
|
93103
93112
|
const cached2 = (sha2565) => import_node_path118.default.join(cache, `swift-pdf-png-${renderer}-${sha2565}.png`);
|
|
93104
93113
|
let remainingBytes = imageTotalBytes;
|
|
93105
93114
|
const record5 = ({ file, sha256: sha2565 }, bytes) => {
|
|
@@ -93185,7 +93194,7 @@ var init_swift_pdf_raster = __esm({
|
|
|
93185
93194
|
import_node_path118 = __toESM(require("node:path"), 1);
|
|
93186
93195
|
init_internal_child_contract();
|
|
93187
93196
|
init_self_invocation();
|
|
93188
|
-
|
|
93197
|
+
init_swift_toolchain();
|
|
93189
93198
|
RASTER_PDF = `
|
|
93190
93199
|
ObjC.import('Foundation')
|
|
93191
93200
|
ObjC.import('CoreGraphics')
|
|
@@ -103062,6 +103071,10 @@ function installSwiftInputTrace() {
|
|
|
103062
103071
|
import_node_path128.default.join(cacheDir(), "swift-builds"),
|
|
103063
103072
|
import_node_path128.default.join(swiftCacheDir(), "swift-builds"),
|
|
103064
103073
|
import_node_path128.default.join(swiftCacheDir(), "swift-sdk-views"),
|
|
103074
|
+
import_node_path128.default.join(swiftCacheDir(), "swift-binary-digests"),
|
|
103075
|
+
import_node_path128.default.join(swiftCacheDir(), "swift-xcode-products"),
|
|
103076
|
+
import_node_path128.default.join(swiftCacheDir(), "swift-objc-implementations"),
|
|
103077
|
+
import_node_path128.default.join(swiftCacheDir(), "swift-header-case"),
|
|
103065
103078
|
swiftRootLocksDir(),
|
|
103066
103079
|
import_node_path128.default.join(cacheDir(), "swift-tmp"),
|
|
103067
103080
|
// content-addressed records whose reads renew their timestamps for expiry.
|
|
@@ -105582,7 +105595,7 @@ var init_nitro_superset = __esm({
|
|
|
105582
105595
|
init_nitroContract();
|
|
105583
105596
|
init_swift_standin_digest();
|
|
105584
105597
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
105585
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
105598
|
+
NITRO_COMPILER_DIGEST = true ? "2bd4530ba3bae000e41dcb8e8c3d99b7cef19a11f4e14afedde939ee1f14828f" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
105586
105599
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
105587
105600
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
105588
105601
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -105668,12 +105681,12 @@ var import_node_crypto80 = require("node:crypto");
|
|
|
105668
105681
|
var import_node_fs127 = __toESM(require("node:fs"), 1);
|
|
105669
105682
|
var import_node_path129 = __toESM(require("node:path"), 1);
|
|
105670
105683
|
init_browser();
|
|
105671
|
-
init_home_paths();
|
|
105672
105684
|
init_pod_lockfile();
|
|
105673
105685
|
init_pods_install();
|
|
105674
105686
|
init_swift_host();
|
|
105675
105687
|
init_swift_package();
|
|
105676
105688
|
init_swift_root_lock();
|
|
105689
|
+
init_swift_toolchain();
|
|
105677
105690
|
init_xcode_project();
|
|
105678
105691
|
var APP = "PeachPodDependencies";
|
|
105679
105692
|
var record4 = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
|
|
@@ -105702,7 +105715,7 @@ async function trunkSpecification(lockFile, root, version2, checksum) {
|
|
|
105702
105715
|
if (typeof checksum !== "string" || !/^[a-f0-9]{40}$/.test(checksum))
|
|
105703
105716
|
throw new Error(`${lockFile}: missing checksum for ${root}`);
|
|
105704
105717
|
const file = import_node_path129.default.join(
|
|
105705
|
-
|
|
105718
|
+
swiftCacheDir(),
|
|
105706
105719
|
"swift-source-pods",
|
|
105707
105720
|
"specifications",
|
|
105708
105721
|
`${checksum}.json`
|
|
@@ -105845,7 +105858,7 @@ async function collectSwiftSourcePods(lockFile, modules, moduleRoot, headerModul
|
|
|
105845
105858
|
Object.entries(specificationChecksums).sort(([a], [b]) => a.localeCompare(b))
|
|
105846
105859
|
)
|
|
105847
105860
|
).digest("hex");
|
|
105848
|
-
const work = import_node_path129.default.join(
|
|
105861
|
+
const work = import_node_path129.default.join(swiftCacheDir(), "swift-source-pods", key2);
|
|
105849
105862
|
return withSwiftRootLock(work, async () => {
|
|
105850
105863
|
const ios = import_node_path129.default.join(work, "ios");
|
|
105851
105864
|
const complete = import_node_path129.default.join(work, "pods-installed");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2748 | (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.2748 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-BYYBOHZI.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-KD3TI7UV.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-C6IVVMZN.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-TQACQLZ6.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-UNOAFCHH.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-RU7J2QST.mjs";
|
|
17
17
|
|
|
18
18
|
// src/expoSwiftContract.ts
|
|
19
19
|
function strings(value) {
|