peachsim 0.1.2747 → 0.1.2749
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/commands/shell-url.ts +2 -1
- 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 +8056 -8032
- 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-264PERTU.mjs → acorn-LCUKHTPB.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-ZGKZH72O.mjs → chunk-5DJQ46YC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OGKCUDUY.mjs → chunk-5FXBLNB5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SNIXC3LK.mjs → chunk-7PXEKFGD.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DKOHFKVO.mjs → chunk-ACCDIGBX.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-VFVDWLZL.mjs → chunk-BRZ3ESIE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2KP4Q4QG.mjs → chunk-CD3H37QM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-V5QS3LC7.mjs → chunk-DVXR2DLC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OS777HDT.mjs → chunk-ESCHKKR6.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-R5URHHLY.mjs → chunk-IAPNCNAZ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-VBVWVPFV.mjs → chunk-IHGJHIGB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DNPF3SJV.mjs → chunk-IXOJBGPI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-C4WNCPE7.mjs → chunk-JCGGRGHW.mjs} +119 -115
- package/dist-lib/esm-chunks/{chunk-BTOHCTM5.mjs → chunk-JXDMUL72.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-AASYNA7O.mjs → chunk-L5PHTBPH.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-LETYBISI.mjs → chunk-LCYVWJHV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SZAKV76H.mjs → chunk-LWEBPS3H.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NGFHBDMP.mjs → chunk-M2M6H7IU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6A6ESU7M.mjs → chunk-QCQEVAXQ.mjs} +16 -15
- package/dist-lib/esm-chunks/{chunk-3PIRJQS3.mjs → chunk-QXVGGKWL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-H5VBNND3.mjs → chunk-SW3DNFCR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UX3TKSSG.mjs → chunk-TPODPIWO.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RQYO274I.mjs → chunk-UDKDS3BI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SSEYL4BD.mjs → chunk-YTQQ7LX2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YL5WAVSA.mjs → chunk-ZDASAI3K.mjs} +4 -4
- package/dist-lib/esm-chunks/{metro-layout-parser-X53TI6UE.mjs → metro-layout-parser-56GUHOVI.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-BCWD6FXB.mjs → swift-package-prebuilt-H3LT6F3H.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-PVYYHAOX.mjs → swift-sdk-app-module-Y4LFILEM.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-YU237KAS.mjs → swift-sdk-image-LVFK2TF5.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-E6S3PF4W.mjs → swift-sdk-image-producer-G7O6E5Y4.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +17990 -17966
- 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 +17579 -17555
- package/dist-lib/host/fetch-proxy-handler.cjs +6888 -6907
- 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 +148 -144
- 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 +5156 -5124
- package/dist-lib/swift-compile.cjs +120 -111
- 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/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 +1 -1
- package/package.json +1 -1
- package/src/app-config.ts +3 -6
- 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-sdk-surface.ts +1 -117
- package/src/one-sdk/shard.ts +0 -382
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2749 | (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.2749 | (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-BRZ3ESIE.mjs";
|
|
14
|
+
import "./esm-chunks/chunk-LWEBPS3H.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.2749 | (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.2749 | (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-IHGJHIGB.mjs";
|
|
35
|
+
import "./esm-chunks/chunk-LWEBPS3H.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.2749 | (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.2749 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./esm-chunks/chunk-LWEBPS3H.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.2749 | (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.2749 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
sleep
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-M2M6H7IU.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRnxScreenCapture
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-BRZ3ESIE.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-IHGJHIGB.mjs";
|
|
18
18
|
import {
|
|
19
19
|
rnxPublicBrand
|
|
20
|
-
} from "./esm-chunks/chunk-
|
|
20
|
+
} from "./esm-chunks/chunk-IXOJBGPI.mjs";
|
|
21
21
|
import {
|
|
22
22
|
isRecord
|
|
23
|
-
} from "./esm-chunks/chunk-
|
|
23
|
+
} from "./esm-chunks/chunk-IAPNCNAZ.mjs";
|
|
24
24
|
import {
|
|
25
25
|
__publicField
|
|
26
|
-
} from "./esm-chunks/chunk-
|
|
26
|
+
} from "./esm-chunks/chunk-LWEBPS3H.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.2749 | (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.2749 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isValidRuntimeVersion
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-5DJQ46YC.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-DVXR2DLC.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./esm-chunks/chunk-
|
|
11
|
-
import "./esm-chunks/chunk-
|
|
10
|
+
} from "./esm-chunks/chunk-IAPNCNAZ.mjs";
|
|
11
|
+
import "./esm-chunks/chunk-LWEBPS3H.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.2749 | (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.2749 | (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.2749 | (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-LCYVWJHV.mjs";
|
|
26
|
+
import "./chunk-LWEBPS3H.mjs";
|
|
27
27
|
export {
|
|
28
28
|
Node,
|
|
29
29
|
Parser,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2749 | (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-UDKDS3BI.mjs";
|
|
7
7
|
|
|
8
8
|
// src/swift-root-lock.ts
|
|
9
9
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2749 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SIM_LONG_PRESS_MAX_MS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YTQQ7LX2.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IAPNCNAZ.mjs";
|
|
8
8
|
|
|
9
9
|
// ../peach-globals/src/globalsContract.ts
|
|
10
10
|
var LEGACY_ALIAS_MARKER = Symbol.for("sootsim.legacy-aliases-installed");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2749 | (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-UDKDS3BI.mjs";
|
|
16
16
|
import {
|
|
17
17
|
isSwiftResourcePath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SW3DNFCR.mjs";
|
|
19
19
|
import {
|
|
20
20
|
swiftManifestDeclarations
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QXVGGKWL.mjs";
|
|
22
22
|
import {
|
|
23
23
|
isRecord
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IAPNCNAZ.mjs";
|
|
25
25
|
import {
|
|
26
26
|
__publicField
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LWEBPS3H.mjs";
|
|
28
28
|
|
|
29
29
|
// src/write-build-file.ts
|
|
30
30
|
import { mkdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
|
|
@@ -917,6 +917,119 @@ import {
|
|
|
917
917
|
} from "node:fs";
|
|
918
918
|
import os from "node:os";
|
|
919
919
|
import path8 from "node:path";
|
|
920
|
+
|
|
921
|
+
// ../peach-globals/build/swift-source-mask.ts
|
|
922
|
+
function maskSwiftCode(source) {
|
|
923
|
+
const chars = source.split("");
|
|
924
|
+
const blank = (from, to) => {
|
|
925
|
+
for (let i = Math.max(0, from); i < Math.min(to, chars.length); i++)
|
|
926
|
+
if (chars[i] !== "\n") chars[i] = " ";
|
|
927
|
+
};
|
|
928
|
+
const hashesAt = (at) => {
|
|
929
|
+
let end = at;
|
|
930
|
+
while (source[end] === "#") end++;
|
|
931
|
+
return end - at;
|
|
932
|
+
};
|
|
933
|
+
const scanString = (quote, hashes) => {
|
|
934
|
+
const multiline = source.startsWith('"""', quote);
|
|
935
|
+
let i = quote + (multiline ? 3 : 1);
|
|
936
|
+
const keep = [];
|
|
937
|
+
const quoteEnd = (at) => {
|
|
938
|
+
const mark = multiline ? '"""' : '"';
|
|
939
|
+
return source.startsWith(mark, at) && source.startsWith("#".repeat(hashes), at + mark.length);
|
|
940
|
+
};
|
|
941
|
+
while (i < chars.length) {
|
|
942
|
+
if (source[i] === "\\" && source.startsWith("#".repeat(hashes), i + 1)) {
|
|
943
|
+
const escaped = i + 1 + hashes;
|
|
944
|
+
if (source[escaped] === "(") {
|
|
945
|
+
const codeStart = escaped + 1;
|
|
946
|
+
const codeEnd = scanCode(codeStart, true);
|
|
947
|
+
keep.push([codeStart, codeEnd]);
|
|
948
|
+
i = codeEnd + 1;
|
|
949
|
+
} else {
|
|
950
|
+
i = escaped + 1;
|
|
951
|
+
}
|
|
952
|
+
continue;
|
|
953
|
+
}
|
|
954
|
+
if (quoteEnd(i)) {
|
|
955
|
+
const close = i + (multiline ? 3 : 1) + hashes;
|
|
956
|
+
let cursor = quote - hashes;
|
|
957
|
+
const ranges = [...keep, [close, close]];
|
|
958
|
+
for (const [from, to] of ranges)
|
|
959
|
+
if (from > cursor) {
|
|
960
|
+
blank(cursor, from);
|
|
961
|
+
cursor = to;
|
|
962
|
+
} else cursor = Math.max(cursor, to);
|
|
963
|
+
return close;
|
|
964
|
+
}
|
|
965
|
+
i++;
|
|
966
|
+
}
|
|
967
|
+
blank(quote - hashes, chars.length);
|
|
968
|
+
return chars.length;
|
|
969
|
+
};
|
|
970
|
+
const scanCode = (i, nested) => {
|
|
971
|
+
let parens = 0;
|
|
972
|
+
while (i < chars.length) {
|
|
973
|
+
const char = source[i];
|
|
974
|
+
if (char === "/" && source[i + 1] === "/") {
|
|
975
|
+
const end = source.indexOf("\n", i);
|
|
976
|
+
blank(i, end === -1 ? chars.length : end);
|
|
977
|
+
i = end === -1 ? chars.length : end;
|
|
978
|
+
continue;
|
|
979
|
+
}
|
|
980
|
+
if (char === "/" && source[i + 1] === "*") {
|
|
981
|
+
let j = i + 2;
|
|
982
|
+
let depth = 1;
|
|
983
|
+
while (j < chars.length && depth > 0) {
|
|
984
|
+
if (source.startsWith("/*", j)) {
|
|
985
|
+
depth++;
|
|
986
|
+
j += 2;
|
|
987
|
+
} else if (source.startsWith("*/", j)) {
|
|
988
|
+
depth--;
|
|
989
|
+
j += 2;
|
|
990
|
+
} else j++;
|
|
991
|
+
}
|
|
992
|
+
blank(i, j);
|
|
993
|
+
i = j;
|
|
994
|
+
continue;
|
|
995
|
+
}
|
|
996
|
+
if (char === "#") {
|
|
997
|
+
const hashes = hashesAt(i);
|
|
998
|
+
const at = i + hashes;
|
|
999
|
+
if (source[at] === '"') {
|
|
1000
|
+
i = scanString(at, hashes);
|
|
1001
|
+
continue;
|
|
1002
|
+
}
|
|
1003
|
+
if (hashes > 0 && source[at] === "/") {
|
|
1004
|
+
const mark = "#".repeat(hashes);
|
|
1005
|
+
let j = at + 1;
|
|
1006
|
+
while (j < chars.length && !(source[j] === "/" && source.startsWith(mark, j + 1)))
|
|
1007
|
+
j++;
|
|
1008
|
+
blank(i, Math.min(chars.length, j + 1 + hashes));
|
|
1009
|
+
i = Math.min(chars.length, j + 1 + hashes);
|
|
1010
|
+
continue;
|
|
1011
|
+
}
|
|
1012
|
+
i++;
|
|
1013
|
+
continue;
|
|
1014
|
+
}
|
|
1015
|
+
if (char === '"') {
|
|
1016
|
+
i = scanString(i, 0);
|
|
1017
|
+
continue;
|
|
1018
|
+
}
|
|
1019
|
+
if (char === "(") parens++;
|
|
1020
|
+
else if (char === ")") {
|
|
1021
|
+
if (nested && parens === 0) return i;
|
|
1022
|
+
parens--;
|
|
1023
|
+
}
|
|
1024
|
+
i++;
|
|
1025
|
+
}
|
|
1026
|
+
return i;
|
|
1027
|
+
};
|
|
1028
|
+
scanCode(0, false);
|
|
1029
|
+
return chars.join("");
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
// src/swift-sdk-surface.ts
|
|
920
1033
|
function swiftBuildJobs() {
|
|
921
1034
|
const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
|
|
922
1035
|
const parallelism = Math.max(1, os.availableParallelism());
|
|
@@ -1650,115 +1763,6 @@ function swiftCodeMask(source) {
|
|
|
1650
1763
|
codeMaskChars += source.length;
|
|
1651
1764
|
return masked;
|
|
1652
1765
|
}
|
|
1653
|
-
function maskSwiftCode(source) {
|
|
1654
|
-
const chars = source.split("");
|
|
1655
|
-
const blank = (from, to) => {
|
|
1656
|
-
for (let i = Math.max(0, from); i < Math.min(to, chars.length); i++)
|
|
1657
|
-
if (chars[i] !== "\n") chars[i] = " ";
|
|
1658
|
-
};
|
|
1659
|
-
const hashesAt = (at) => {
|
|
1660
|
-
let end = at;
|
|
1661
|
-
while (source[end] === "#") end++;
|
|
1662
|
-
return end - at;
|
|
1663
|
-
};
|
|
1664
|
-
const scanString = (quote, hashes) => {
|
|
1665
|
-
const multiline = source.startsWith('"""', quote);
|
|
1666
|
-
let i = quote + (multiline ? 3 : 1);
|
|
1667
|
-
const keep = [];
|
|
1668
|
-
const quoteEnd = (at) => {
|
|
1669
|
-
const mark = multiline ? '"""' : '"';
|
|
1670
|
-
return source.startsWith(mark, at) && source.startsWith("#".repeat(hashes), at + mark.length);
|
|
1671
|
-
};
|
|
1672
|
-
while (i < chars.length) {
|
|
1673
|
-
if (source[i] === "\\" && source.startsWith("#".repeat(hashes), i + 1)) {
|
|
1674
|
-
const escaped = i + 1 + hashes;
|
|
1675
|
-
if (source[escaped] === "(") {
|
|
1676
|
-
const codeStart = escaped + 1;
|
|
1677
|
-
const codeEnd = scanCode(codeStart, true);
|
|
1678
|
-
keep.push([codeStart, codeEnd]);
|
|
1679
|
-
i = codeEnd + 1;
|
|
1680
|
-
} else {
|
|
1681
|
-
i = escaped + 1;
|
|
1682
|
-
}
|
|
1683
|
-
continue;
|
|
1684
|
-
}
|
|
1685
|
-
if (quoteEnd(i)) {
|
|
1686
|
-
const close = i + (multiline ? 3 : 1) + hashes;
|
|
1687
|
-
let cursor = quote - hashes;
|
|
1688
|
-
const ranges = [...keep, [close, close]];
|
|
1689
|
-
for (const [from, to] of ranges)
|
|
1690
|
-
if (from > cursor) {
|
|
1691
|
-
blank(cursor, from);
|
|
1692
|
-
cursor = to;
|
|
1693
|
-
} else cursor = Math.max(cursor, to);
|
|
1694
|
-
return close;
|
|
1695
|
-
}
|
|
1696
|
-
i++;
|
|
1697
|
-
}
|
|
1698
|
-
blank(quote - hashes, chars.length);
|
|
1699
|
-
return chars.length;
|
|
1700
|
-
};
|
|
1701
|
-
const scanCode = (i, nested) => {
|
|
1702
|
-
let parens = 0;
|
|
1703
|
-
while (i < chars.length) {
|
|
1704
|
-
const char = source[i];
|
|
1705
|
-
if (char === "/" && source[i + 1] === "/") {
|
|
1706
|
-
const end = source.indexOf("\n", i);
|
|
1707
|
-
blank(i, end === -1 ? chars.length : end);
|
|
1708
|
-
i = end === -1 ? chars.length : end;
|
|
1709
|
-
continue;
|
|
1710
|
-
}
|
|
1711
|
-
if (char === "/" && source[i + 1] === "*") {
|
|
1712
|
-
let j = i + 2;
|
|
1713
|
-
let depth = 1;
|
|
1714
|
-
while (j < chars.length && depth > 0) {
|
|
1715
|
-
if (source.startsWith("/*", j)) {
|
|
1716
|
-
depth++;
|
|
1717
|
-
j += 2;
|
|
1718
|
-
} else if (source.startsWith("*/", j)) {
|
|
1719
|
-
depth--;
|
|
1720
|
-
j += 2;
|
|
1721
|
-
} else j++;
|
|
1722
|
-
}
|
|
1723
|
-
blank(i, j);
|
|
1724
|
-
i = j;
|
|
1725
|
-
continue;
|
|
1726
|
-
}
|
|
1727
|
-
if (char === "#") {
|
|
1728
|
-
const hashes = hashesAt(i);
|
|
1729
|
-
const at = i + hashes;
|
|
1730
|
-
if (source[at] === '"') {
|
|
1731
|
-
i = scanString(at, hashes);
|
|
1732
|
-
continue;
|
|
1733
|
-
}
|
|
1734
|
-
if (hashes > 0 && source[at] === "/") {
|
|
1735
|
-
const mark = "#".repeat(hashes);
|
|
1736
|
-
let j = at + 1;
|
|
1737
|
-
while (j < chars.length && !(source[j] === "/" && source.startsWith(mark, j + 1)))
|
|
1738
|
-
j++;
|
|
1739
|
-
blank(i, Math.min(chars.length, j + 1 + hashes));
|
|
1740
|
-
i = Math.min(chars.length, j + 1 + hashes);
|
|
1741
|
-
continue;
|
|
1742
|
-
}
|
|
1743
|
-
i++;
|
|
1744
|
-
continue;
|
|
1745
|
-
}
|
|
1746
|
-
if (char === '"') {
|
|
1747
|
-
i = scanString(i, 0);
|
|
1748
|
-
continue;
|
|
1749
|
-
}
|
|
1750
|
-
if (char === "(") parens++;
|
|
1751
|
-
else if (char === ")") {
|
|
1752
|
-
if (nested && parens === 0) return i;
|
|
1753
|
-
parens--;
|
|
1754
|
-
}
|
|
1755
|
-
i++;
|
|
1756
|
-
}
|
|
1757
|
-
return i;
|
|
1758
|
-
};
|
|
1759
|
-
scanCode(0, false);
|
|
1760
|
-
return chars.join("");
|
|
1761
|
-
}
|
|
1762
1766
|
var FOUNDATION_NETWORKING_TYPES = /* @__PURE__ */ new Set([
|
|
1763
1767
|
"NSURLConnection",
|
|
1764
1768
|
"NSURLConnectionDataDelegate",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2749 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
DARWIN_RECORDS_PREFIX,
|
|
4
4
|
KEEP_WASM_NAMES,
|
|
@@ -31,22 +31,22 @@ import {
|
|
|
31
31
|
swiftSdkImageScope,
|
|
32
32
|
unslottedFunctions,
|
|
33
33
|
wasmSections
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-QCQEVAXQ.mjs";
|
|
35
35
|
import {
|
|
36
36
|
withSwiftRootLock,
|
|
37
37
|
withSwiftRootReadHolds
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ACCDIGBX.mjs";
|
|
39
39
|
import {
|
|
40
40
|
swiftDistributionAt,
|
|
41
41
|
swiftModuleDigest,
|
|
42
42
|
swiftModuleToolchain,
|
|
43
43
|
swiftSdkPaths
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-JCGGRGHW.mjs";
|
|
45
45
|
import {
|
|
46
46
|
SWIFT_WASM_TRIPLE,
|
|
47
47
|
sourceSwiftCheckout,
|
|
48
48
|
swiftCacheDir
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-UDKDS3BI.mjs";
|
|
50
50
|
|
|
51
51
|
// src/swift-sdk-image.ts
|
|
52
52
|
import { execFile } from "node:child_process";
|
|
@@ -225,7 +225,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
225
225
|
const existing = cached(directory, key);
|
|
226
226
|
if (existing) return existing;
|
|
227
227
|
if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
|
|
228
|
-
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-
|
|
228
|
+
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-G7O6E5Y4.mjs");
|
|
229
229
|
await produceSwiftSdkImage({
|
|
230
230
|
moduleRoot,
|
|
231
231
|
key,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2749 | (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-7PXEKFGD.mjs";
|
|
6
6
|
import {
|
|
7
7
|
cacheDir,
|
|
8
8
|
parseSwiftDistributionLock,
|
|
9
9
|
readActiveRuntime,
|
|
10
10
|
runtimeDir
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JCGGRGHW.mjs";
|
|
12
12
|
import {
|
|
13
13
|
SWIFT_WASM_TRIPLE,
|
|
14
14
|
registerSwiftHostCompiler
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UDKDS3BI.mjs";
|
|
16
16
|
import {
|
|
17
17
|
isRecord
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IAPNCNAZ.mjs";
|
|
19
19
|
|
|
20
20
|
// src/swift-distribution.ts
|
|
21
21
|
import { execFile as execFile2 } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2749 | (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];
|