peachsim 0.1.2566 → 0.1.2568
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/login.ts +25 -3
- 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 +6 -6
- 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-DYEYOMUU.mjs → acorn-NBSUHIIK.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-MRBXBNE3.mjs → chunk-3WYC2MFA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-VWJJME3B.mjs → chunk-46H2UWDM.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-L6NCBYXV.mjs → chunk-6PQHZAWR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7P5YYTKQ.mjs → chunk-AGZH4PRD.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TFVL2N7M.mjs → chunk-CJZPW57C.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-HUMH7T2B.mjs → chunk-D4IOJBAQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-42GFG6ZP.mjs → chunk-DDE6A6ID.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-EXU7ACFD.mjs → chunk-E2GCX6VF.mjs} +13 -13
- package/dist-lib/esm-chunks/{chunk-HCU5LRRB.mjs → chunk-FSGWSAEC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5WMNT2YX.mjs → chunk-GOI7ZDIK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TOANLDK6.mjs → chunk-KDHU7QSN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2HUTHRHJ.mjs → chunk-KF2EXOW6.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZZ2EEXQN.mjs → chunk-LMZUXCDJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3CEFGP34.mjs → chunk-OTSQ5IK6.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-A6PD7PFR.mjs → chunk-QMXXFOOH.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-VVYYOMUN.mjs → chunk-R7N6XMYT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-LXUGBB46.mjs → chunk-RJL2J4FZ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7HXVR5BK.mjs → chunk-SFKTIJY6.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-KZGMDJLS.mjs → chunk-VADUFN2P.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-FFK7YQNG.mjs → chunk-WVVN6VKY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-W3OR5LAQ.mjs → chunk-XJTY4I2K.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JWFNIIH4.mjs → chunk-YAO74TBM.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-V3734W5Z.mjs → metro-layout-parser-PMITIC6E.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-4Z3TXN7U.mjs → swift-package-prebuilt-3XQZC6HL.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-4OI3ZMEC.mjs → swift-sdk-app-module-XWVIQQE6.mjs} +14 -14
- package/dist-lib/esm-chunks/{swift-sdk-image-5GTB5MLE.mjs → swift-sdk-image-TYPSLB2K.mjs} +14 -14
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-JACXDWJI.mjs → swift-sdk-image-producer-TXBWSQQU.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +5 -5
- 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 +52 -49
- package/dist-lib/host/fetch-proxy-handler.cjs +5 -5
- 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 +3 -3
- package/dist-lib/native-app-identity-project.mjs +17 -17
- 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 +81 -81
- package/dist-lib/public-origins-lib.json +69 -69
- 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 +71 -53
- package/dist-lib/swift-compile.cjs +2 -2
- package/dist-lib/swift-compile.mjs +10 -10
- 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 +8 -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/@xmldom/xmldom.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/bplist-parser.cjs +1 -1
- package/dist-lib/vendor/ignore.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/plist.cjs +1 -1
- package/dist-lib/vendor/smol-toml.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/package.json +1 -1
- package/src/one-native-controls-package.ts +29 -5
- package/src/one-native-source.ts +22 -46
- package/src/swift-toolchain.ts +6 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftImageVariants
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-R7N6XMYT.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LMZUXCDJ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D4IOJBAQ.mjs";
|
|
11
11
|
|
|
12
12
|
// src/android-string-value.ts
|
|
13
13
|
function compileAndroidStringValue(text, where) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftModuleToolchain
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CJZPW57C.mjs";
|
|
5
5
|
import {
|
|
6
6
|
DARWIN_RECORDS_PREFIX,
|
|
7
7
|
KEEP_WASM_NAMES,
|
|
@@ -31,13 +31,13 @@ import {
|
|
|
31
31
|
swiftSdkPaths,
|
|
32
32
|
unslottedFunctions,
|
|
33
33
|
wasmSections
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-E2GCX6VF.mjs";
|
|
35
35
|
import {
|
|
36
36
|
SWIFT_WASM_TRIPLE,
|
|
37
37
|
sourceSwiftCheckout,
|
|
38
38
|
swiftCacheDir,
|
|
39
39
|
withSwiftRootLock
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-3WYC2MFA.mjs";
|
|
41
41
|
|
|
42
42
|
// src/swift-sdk-image.ts
|
|
43
43
|
import { execFile } from "node:child_process";
|
|
@@ -192,7 +192,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
192
192
|
const existing = cached(directory, key);
|
|
193
193
|
if (existing) return existing;
|
|
194
194
|
if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
|
|
195
|
-
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-
|
|
195
|
+
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-TXBWSQQU.mjs");
|
|
196
196
|
await produceSwiftSdkImage({
|
|
197
197
|
moduleRoot,
|
|
198
198
|
key,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SIM_LONG_PRESS_MAX_MS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6PQHZAWR.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-D4IOJBAQ.mjs";
|
|
8
8
|
|
|
9
9
|
// ../peach-globals/src/globalsContract.ts
|
|
10
10
|
var LEGACY_ALIAS_MARKER = Symbol.for("sootsim.legacy-aliases-installed");
|
package/dist-lib/esm-chunks/{metro-layout-parser-V3734W5Z.mjs → metro-layout-parser-PMITIC6E.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-KDHU7QSN.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-NBSUHIIK.mjs");
|
|
12
12
|
metroLayoutParser = Parser.extend(
|
|
13
13
|
(Base) => {
|
|
14
14
|
const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
compileTargets,
|
|
4
4
|
fetchNativeEntry,
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
swiftAvailableModules,
|
|
7
7
|
swiftDistributionAt,
|
|
8
8
|
swiftImportNames
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-E2GCX6VF.mjs";
|
|
10
|
+
import "./chunk-3WYC2MFA.mjs";
|
|
11
11
|
import {
|
|
12
12
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XJTY4I2K.mjs";
|
|
14
14
|
import {
|
|
15
15
|
manifestCalls
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-RJL2J4FZ.mjs";
|
|
17
|
+
import "./chunk-R7N6XMYT.mjs";
|
|
18
|
+
import "./chunk-VADUFN2P.mjs";
|
|
19
|
+
import "./chunk-FSGWSAEC.mjs";
|
|
20
|
+
import "./chunk-D4IOJBAQ.mjs";
|
|
21
|
+
import "./chunk-KDHU7QSN.mjs";
|
|
22
22
|
|
|
23
23
|
// src/swift-package-prebuilt.ts
|
|
24
24
|
import { createHash } from "node:crypto";
|
package/dist-lib/esm-chunks/{swift-sdk-app-module-4OI3ZMEC.mjs → swift-sdk-app-module-XWVIQQE6.mjs}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
5
5
|
SWIFT_SDK_MEMORY_BASE,
|
|
6
6
|
SWIFT_SDK_PIECE_FIELDS,
|
|
7
7
|
readSwiftSdkManifest
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-QMXXFOOH.mjs";
|
|
9
|
+
import "./chunk-CJZPW57C.mjs";
|
|
10
|
+
import "./chunk-AGZH4PRD.mjs";
|
|
11
|
+
import "./chunk-DDE6A6ID.mjs";
|
|
12
12
|
import {
|
|
13
13
|
ADDEND_RELOCATIONS,
|
|
14
14
|
KEEP_WASM_NAMES,
|
|
@@ -36,17 +36,17 @@ import {
|
|
|
36
36
|
wasmReader,
|
|
37
37
|
wasmSections,
|
|
38
38
|
writeWasmCustomSection
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-E2GCX6VF.mjs";
|
|
40
40
|
import {
|
|
41
41
|
SWIFT_WASM_TRIPLE
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-3WYC2MFA.mjs";
|
|
43
|
+
import "./chunk-XJTY4I2K.mjs";
|
|
44
|
+
import "./chunk-RJL2J4FZ.mjs";
|
|
45
|
+
import "./chunk-R7N6XMYT.mjs";
|
|
46
|
+
import "./chunk-VADUFN2P.mjs";
|
|
47
|
+
import "./chunk-FSGWSAEC.mjs";
|
|
48
|
+
import "./chunk-D4IOJBAQ.mjs";
|
|
49
|
+
import "./chunk-KDHU7QSN.mjs";
|
|
50
50
|
|
|
51
51
|
// src/swift-sdk-app-module.ts
|
|
52
52
|
import { execFile } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -15,19 +15,19 @@ import {
|
|
|
15
15
|
swiftSdkImageFile,
|
|
16
16
|
swiftSdkImageKey,
|
|
17
17
|
swiftSdkImageProducts
|
|
18
|
-
} from "./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-
|
|
18
|
+
} from "./chunk-QMXXFOOH.mjs";
|
|
19
|
+
import "./chunk-CJZPW57C.mjs";
|
|
20
|
+
import "./chunk-AGZH4PRD.mjs";
|
|
21
|
+
import "./chunk-DDE6A6ID.mjs";
|
|
22
|
+
import "./chunk-E2GCX6VF.mjs";
|
|
23
|
+
import "./chunk-3WYC2MFA.mjs";
|
|
24
|
+
import "./chunk-XJTY4I2K.mjs";
|
|
25
|
+
import "./chunk-RJL2J4FZ.mjs";
|
|
26
|
+
import "./chunk-R7N6XMYT.mjs";
|
|
27
|
+
import "./chunk-VADUFN2P.mjs";
|
|
28
|
+
import "./chunk-FSGWSAEC.mjs";
|
|
29
|
+
import "./chunk-D4IOJBAQ.mjs";
|
|
30
|
+
import "./chunk-KDHU7QSN.mjs";
|
|
31
31
|
export {
|
|
32
32
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
33
33
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftCacheDir,
|
|
4
4
|
windowAdmission,
|
|
5
5
|
withSwiftRootLock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3WYC2MFA.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-D4IOJBAQ.mjs";
|
|
10
|
+
import "./chunk-KDHU7QSN.mjs";
|
|
11
11
|
|
|
12
12
|
// src/swift-sdk-image-producer.ts
|
|
13
13
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (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;
|
|
@@ -26243,13 +26243,13 @@ var init_swift_standin_digest = __esm({
|
|
|
26243
26243
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
26244
26244
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
26245
26245
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
26246
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
26246
|
+
STANDIN_SOURCE_DIGEST = true ? "cf234a652a7b678aaa3eed2f106640dd60ccd73d01acf2293db0cd7b8c6c28ef" : standinSourceDigest();
|
|
26247
26247
|
}
|
|
26248
26248
|
});
|
|
26249
26249
|
|
|
26250
26250
|
// src/expo-native-compiler-digest.ts
|
|
26251
26251
|
function expoNativeCompilerDigestValue() {
|
|
26252
|
-
return true ? "
|
|
26252
|
+
return true ? "fbf410aad481c60f5bfade2371ed1989fb28df32e42e7a6b6b69c12cfd520e36" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
26253
26253
|
}
|
|
26254
26254
|
var import_node_crypto17;
|
|
26255
26255
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -52329,7 +52329,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
52329
52329
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
52330
52330
|
MULTI_MANIFEST_VERSION = 76;
|
|
52331
52331
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
52332
|
-
compilerSourceDigest = true ? "
|
|
52332
|
+
compilerSourceDigest = true ? "83489e203dbf7ea0274a38746fe8fb675705f5913daa900e2b93795c3b198764" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
52333
52333
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
52334
52334
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
52335
52335
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -64887,7 +64887,7 @@ var init_provenance = __esm({
|
|
|
64887
64887
|
import_node_crypto48 = require("node:crypto");
|
|
64888
64888
|
import_node_fs82 = require("node:fs");
|
|
64889
64889
|
import_node_path82 = require("node:path");
|
|
64890
|
-
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"d6a3228567a46c6d5280895383093889d9b868958a117881061bdd74729a225f","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"facdbeb9de6bb12da4ab4954553edfaadd0e486f1181443138be70c3d8396236","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"c64b677c93e48d61c71b371d887e9db8506c32ef968ed50d9468de1f67fe5d8d","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"
|
|
64890
|
+
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"d6a3228567a46c6d5280895383093889d9b868958a117881061bdd74729a225f","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"facdbeb9de6bb12da4ab4954553edfaadd0e486f1181443138be70c3d8396236","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"c64b677c93e48d61c71b371d887e9db8506c32ef968ed50d9468de1f67fe5d8d","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"7834aed270abe62cad02cd386c39511e3cd6385a4cd6f9cd6b2e73f0668d6411","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"c72b724fc497e4cf603c355f86eb3c07c929ad299758cffbc6ff88ed241654c6","xcode-project.ts":"81f36daeda9ac5c81a5631fdcab42fb12d09a74705915b8861f404d0db2e01c5","xcode-target-members.ts":"96f6a9f5567a4fbd9806252229b35b9a451a112b20f70f8c20189ffd428815fd","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"da11f86885ef1e25979ad989f332195c113c4b7a43f108e8d36646973430b81b"}') : swiftCoverageSourceDigests((0, import_node_path82.join)(__sootsim_import_meta_dirname, ".."));
|
|
64891
64891
|
}
|
|
64892
64892
|
});
|
|
64893
64893
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (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.2568 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-XJTY4I2K.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-OTSQ5IK6.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-R7N6XMYT.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-LMZUXCDJ.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-D4IOJBAQ.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-KDHU7QSN.mjs";
|
|
17
17
|
|
|
18
18
|
// src/expoSwiftContract.ts
|
|
19
19
|
function strings(value) {
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2568 | (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.2568 | (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;
|
|
@@ -5716,13 +5716,13 @@ var init_swift_standin_digest = __esm({
|
|
|
5716
5716
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
5717
5717
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
5718
5718
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
5719
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
5719
|
+
STANDIN_SOURCE_DIGEST = true ? "cf234a652a7b678aaa3eed2f106640dd60ccd73d01acf2293db0cd7b8c6c28ef" : standinSourceDigest();
|
|
5720
5720
|
}
|
|
5721
5721
|
});
|
|
5722
5722
|
|
|
5723
5723
|
// src/expo-native-compiler-digest.ts
|
|
5724
5724
|
function expoNativeCompilerDigestValue() {
|
|
5725
|
-
return true ? "
|
|
5725
|
+
return true ? "fbf410aad481c60f5bfade2371ed1989fb28df32e42e7a6b6b69c12cfd520e36" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
5726
5726
|
}
|
|
5727
5727
|
var import_node_crypto11;
|
|
5728
5728
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -13152,6 +13152,11 @@ function privateSwiftDistributionRoot() {
|
|
|
13152
13152
|
const root = process.env[SWIFT_PRIVATE_DISTRIBUTION_ENV]?.trim();
|
|
13153
13153
|
return root ? import_node_path33.default.resolve(root) : null;
|
|
13154
13154
|
}
|
|
13155
|
+
function localSwiftModuleRoot() {
|
|
13156
|
+
if (privateSwiftDistributionRoot()) return void 0;
|
|
13157
|
+
const root = import_node_path33.default.resolve(peachsimPackageRoot(), "../sootsim-swift");
|
|
13158
|
+
return import_node_fs35.default.existsSync(import_node_path33.default.join(root, "toolchain.json")) ? root : void 0;
|
|
13159
|
+
}
|
|
13155
13160
|
function privateSwiftCompilerRelease() {
|
|
13156
13161
|
return process.env.PEACH_SWIFT_PRIVATE_COMPILER_RELEASE?.trim() || null;
|
|
13157
13162
|
}
|
|
@@ -58079,7 +58084,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
58079
58084
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
58080
58085
|
MULTI_MANIFEST_VERSION = 76;
|
|
58081
58086
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
58082
|
-
compilerSourceDigest = true ? "
|
|
58087
|
+
compilerSourceDigest = true ? "83489e203dbf7ea0274a38746fe8fb675705f5913daa900e2b93795c3b198764" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
58083
58088
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
58084
58089
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
58085
58090
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -70708,7 +70713,7 @@ var init_provenance = __esm({
|
|
|
70708
70713
|
import_node_crypto53 = require("node:crypto");
|
|
70709
70714
|
import_node_fs93 = require("node:fs");
|
|
70710
70715
|
import_node_path95 = require("node:path");
|
|
70711
|
-
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"d6a3228567a46c6d5280895383093889d9b868958a117881061bdd74729a225f","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"facdbeb9de6bb12da4ab4954553edfaadd0e486f1181443138be70c3d8396236","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"c64b677c93e48d61c71b371d887e9db8506c32ef968ed50d9468de1f67fe5d8d","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"
|
|
70716
|
+
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"d6a3228567a46c6d5280895383093889d9b868958a117881061bdd74729a225f","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"facdbeb9de6bb12da4ab4954553edfaadd0e486f1181443138be70c3d8396236","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"c64b677c93e48d61c71b371d887e9db8506c32ef968ed50d9468de1f67fe5d8d","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"7834aed270abe62cad02cd386c39511e3cd6385a4cd6f9cd6b2e73f0668d6411","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"c72b724fc497e4cf603c355f86eb3c07c929ad299758cffbc6ff88ed241654c6","xcode-project.ts":"81f36daeda9ac5c81a5631fdcab42fb12d09a74705915b8861f404d0db2e01c5","xcode-target-members.ts":"96f6a9f5567a4fbd9806252229b35b9a451a112b20f70f8c20189ffd428815fd","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"da11f86885ef1e25979ad989f332195c113c4b7a43f108e8d36646973430b81b"}') : swiftCoverageSourceDigests((0, import_node_path95.join)(__sootsim_import_meta_dirname, ".."));
|
|
70712
70717
|
}
|
|
70713
70718
|
});
|
|
70714
70719
|
|
|
@@ -113250,7 +113255,7 @@ async function oneNativeControlsPackage(appRoot) {
|
|
|
113250
113255
|
`// OneNativeControls ${key2}`,
|
|
113251
113256
|
"import PackageDescription",
|
|
113252
113257
|
`let package = Package(name: "${ONE_NATIVE_CONTROLS_PACKAGE}", platforms: [.iOS(.v17)], targets: [`,
|
|
113253
|
-
` .executableTarget(name: "${ONE_NATIVE_CONTROLS_PACKAGE}", path: ".", swiftSettings: [.swiftLanguageMode(.v5)]),`,
|
|
113258
|
+
` .executableTarget(name: "${ONE_NATIVE_CONTROLS_PACKAGE}", path: ".", swiftSettings: [.swiftLanguageMode(.v5), ${ONE_SDK_DEFINES.map((flag) => `.define("${flag}")`).join(", ")}]),`,
|
|
113254
113259
|
"])",
|
|
113255
113260
|
""
|
|
113256
113261
|
].join("\n")
|
|
@@ -113268,7 +113273,7 @@ async function oneNativeControlsPackage(appRoot) {
|
|
|
113268
113273
|
);
|
|
113269
113274
|
return { packagePath, watched };
|
|
113270
113275
|
}
|
|
113271
|
-
var import_node_crypto88, import_node_fs150, import_node_module21, import_node_path150, import_node_url8, ONE_CONTROL_SOURCES, BRIDGE_SWIFT;
|
|
113276
|
+
var import_node_crypto88, import_node_fs150, import_node_module21, import_node_path150, import_node_url8, ONE_CONTROL_SOURCES, ONE_SDK_DEFINES, BRIDGE_SWIFT;
|
|
113272
113277
|
var init_one_native_controls_package = __esm({
|
|
113273
113278
|
"src/one-native-controls-package.ts"() {
|
|
113274
113279
|
"use strict";
|
|
@@ -113291,6 +113296,7 @@ var init_one_native_controls_package = __esm({
|
|
|
113291
113296
|
"Generated/OneNativeButtonView.swift",
|
|
113292
113297
|
"Generated/OneNativeLabelView.swift",
|
|
113293
113298
|
"Generated/OneNativeTextView.swift",
|
|
113299
|
+
"Generated/OneNativeImageView.swift",
|
|
113294
113300
|
"Generated/OneNativeSwiftUI.swift",
|
|
113295
113301
|
"Generated/OneNativeAnimationValues.swift",
|
|
113296
113302
|
"Generated/OneNativeEnvironment.swift",
|
|
@@ -113305,8 +113311,10 @@ var init_one_native_controls_package = __esm({
|
|
|
113305
113311
|
"OneNativeComposition.swift",
|
|
113306
113312
|
"OneNativeHostingController.swift",
|
|
113307
113313
|
"OneNativeSlot.swift",
|
|
113308
|
-
"OneNativeStyle.swift"
|
|
113314
|
+
"OneNativeStyle.swift",
|
|
113315
|
+
"OneNativeRemoteImage.swift"
|
|
113309
113316
|
];
|
|
113317
|
+
ONE_SDK_DEFINES = ["ONE_IOS_27_SDK", "ONE_IOS_27_1_SDK"];
|
|
113310
113318
|
BRIDGE_SWIFT = `import SwiftUI
|
|
113311
113319
|
@_spi(Peach) import UIKit
|
|
113312
113320
|
import PeachJSON
|
|
@@ -113513,6 +113521,20 @@ private struct NavigationStackBridge: UIViewRepresentable {
|
|
|
113513
113521
|
text.configureStyle(style)
|
|
113514
113522
|
text.onSDKEvent = visit
|
|
113515
113523
|
view = text
|
|
113524
|
+
case "OneNativeImage":
|
|
113525
|
+
let image = views[id] as? OneNativeImageView ?? OneNativeImageView(frame: .zero)
|
|
113526
|
+
image.configureAccessibility(label, hint: hint, value: value, identifier: identifier)
|
|
113527
|
+
image.configureStyle(style)
|
|
113528
|
+
image.configure(
|
|
113529
|
+
spec["systemName"] as? String ?? "",
|
|
113530
|
+
uri: spec["uri"] as? String ?? "",
|
|
113531
|
+
renderingMode: spec["renderingMode"] as? String ?? "original",
|
|
113532
|
+
variableValue: spec["variableValue"] as? Double ?? 0,
|
|
113533
|
+
hasVariableValue: spec["hasVariableValue"] as? Bool ?? false,
|
|
113534
|
+
resizable: spec["resizable"] as? Bool ?? false
|
|
113535
|
+
)
|
|
113536
|
+
image.onSDKEvent = visit
|
|
113537
|
+
view = image
|
|
113516
113538
|
case "OneNativeContainerSlot":
|
|
113517
113539
|
let slot = views[id] as? OneNativeContainerSlotView ?? OneNativeContainerSlotView(frame: .zero)
|
|
113518
113540
|
let host = slots[id] ?? UIView(frame: .zero)
|
|
@@ -113639,11 +113661,11 @@ private let startupProfileSpec: [String: Any] = [
|
|
|
113639
113661
|
"children": [
|
|
113640
113662
|
[
|
|
113641
113663
|
"id": "profile-cancel-btn",
|
|
113642
|
-
"spec": ["control": "OneNativeButton", "
|
|
113664
|
+
"spec": ["control": "OneNativeButton", "buttonRole": "cancel"],
|
|
113643
113665
|
"children": [
|
|
113644
113666
|
[
|
|
113645
113667
|
"id": "profile-cancel-label",
|
|
113646
|
-
"spec": ["control": "OneNativeLabel", "
|
|
113668
|
+
"spec": ["control": "OneNativeLabel", "label": "Cancel", "systemImage": "xmark"],
|
|
113647
113669
|
"children": [] as [Any],
|
|
113648
113670
|
],
|
|
113649
113671
|
],
|
|
@@ -113661,11 +113683,15 @@ private let startupProfileSpec: [String: Any] = [
|
|
|
113661
113683
|
"children": [
|
|
113662
113684
|
[
|
|
113663
113685
|
"id": "profile-confirm-btn",
|
|
113664
|
-
"spec": [
|
|
113686
|
+
"spec": [
|
|
113687
|
+
"control": "OneNativeButton",
|
|
113688
|
+
"buttonRole": "confirm",
|
|
113689
|
+
"swiftStyle": ["sdkModifiers": #"[["disabled",true]]"#],
|
|
113690
|
+
],
|
|
113665
113691
|
"children": [
|
|
113666
113692
|
[
|
|
113667
113693
|
"id": "profile-confirm-label",
|
|
113668
|
-
"spec": ["control": "OneNativeLabel", "
|
|
113694
|
+
"spec": ["control": "OneNativeLabel", "label": "Add", "systemImage": "checkmark"],
|
|
113669
113695
|
"children": [] as [Any],
|
|
113670
113696
|
],
|
|
113671
113697
|
],
|
|
@@ -116372,18 +116398,11 @@ __export(one_native_source_exports, {
|
|
|
116372
116398
|
handleOneNativeSourceRequest: () => handleOneNativeSourceRequest,
|
|
116373
116399
|
handleOneNativeSourceUpgrade: () => handleOneNativeSourceUpgrade
|
|
116374
116400
|
});
|
|
116375
|
-
function
|
|
116376
|
-
if (privateSwiftDistributionRoot()) return void 0;
|
|
116377
|
-
const root = import_node_path160.default.resolve(
|
|
116378
|
-
import_node_path160.default.dirname((0, import_node_url9.fileURLToPath)(__sootsim_import_meta_url)),
|
|
116379
|
-
"../../sootsim-swift"
|
|
116380
|
-
);
|
|
116381
|
-
return import_node_fs160.default.existsSync(import_node_path160.default.join(root, "toolchain.json")) ? root : void 0;
|
|
116382
|
-
}
|
|
116383
|
-
function appFor(url, origin) {
|
|
116401
|
+
function appFor(url, origin, allowRootless) {
|
|
116384
116402
|
const requested = url.searchParams.get("root");
|
|
116385
|
-
if (
|
|
116386
|
-
|
|
116403
|
+
if (requested === null ? !allowRootless : !import_node_path160.default.isAbsolute(requested) || !import_node_fs160.default.existsSync(requested))
|
|
116404
|
+
return null;
|
|
116405
|
+
const root = requested === null ? "" : import_node_fs160.default.realpathSync(requested);
|
|
116387
116406
|
let app = apps.get(root);
|
|
116388
116407
|
if (!app) {
|
|
116389
116408
|
app = {
|
|
@@ -116394,6 +116413,8 @@ function appFor(url, origin) {
|
|
|
116394
116413
|
active: /* @__PURE__ */ new Map()
|
|
116395
116414
|
};
|
|
116396
116415
|
apps.set(root, app);
|
|
116416
|
+
} else if (!root) {
|
|
116417
|
+
app.origin = origin;
|
|
116397
116418
|
}
|
|
116398
116419
|
return app;
|
|
116399
116420
|
}
|
|
@@ -116419,14 +116440,14 @@ async function swiftPackages2(root) {
|
|
|
116419
116440
|
async function packageMetadata(app, packageName2) {
|
|
116420
116441
|
const builtinControls = packageName2 === ONE_NATIVE_CONTROLS_PACKAGE ? await oneNativeControlsPackage(app.root || void 0) : null;
|
|
116421
116442
|
const widget = !builtinControls && packageName2 === ONE_WIDGET_PACKAGE ? await oneWidgetPackage(app.root) : null;
|
|
116422
|
-
if (!builtinControls
|
|
116443
|
+
if (!builtinControls) app.packages ??= await swiftPackages2(app.root);
|
|
116423
116444
|
if (widget && app.packages?.has(packageName2))
|
|
116424
116445
|
throw new Error(
|
|
116425
116446
|
`swift package ${packageName2} conflicts with One's generated widget extension`
|
|
116426
116447
|
);
|
|
116427
116448
|
const packagePath = builtinControls?.packagePath ?? widget?.packagePath ?? app.packages?.get(packageName2);
|
|
116428
116449
|
if (!packagePath) throw new Error(`swift package ${packageName2} was not found`);
|
|
116429
|
-
const moduleRoot =
|
|
116450
|
+
const moduleRoot = localSwiftModuleRoot();
|
|
116430
116451
|
const built2 = await swiftPackageMetadata(
|
|
116431
116452
|
packagePath,
|
|
116432
116453
|
packageName2,
|
|
@@ -116492,24 +116513,9 @@ async function handleOneNativeSourceRequest(req, res) {
|
|
|
116492
116513
|
}
|
|
116493
116514
|
res.setHeader("access-control-allow-origin", req.headers.origin ?? "*");
|
|
116494
116515
|
res.setHeader("vary", "origin");
|
|
116495
|
-
const
|
|
116516
|
+
const packageName2 = isSwift ? decodeURIComponent(url.pathname.slice(SWIFT_PACKAGE_PATH.length)) : null;
|
|
116496
116517
|
const origin = req.headers.host ? `http://${req.headers.host}` : null;
|
|
116497
|
-
const app = origin &&
|
|
116498
|
-
let shared = apps.get("");
|
|
116499
|
-
if (!shared) {
|
|
116500
|
-
shared = {
|
|
116501
|
-
root: "",
|
|
116502
|
-
origin,
|
|
116503
|
-
sockets: new import_ws2.WebSocketServer({ noServer: true }),
|
|
116504
|
-
watched: /* @__PURE__ */ new Set(),
|
|
116505
|
-
active: /* @__PURE__ */ new Map()
|
|
116506
|
-
};
|
|
116507
|
-
apps.set("", shared);
|
|
116508
|
-
} else {
|
|
116509
|
-
shared.origin = origin;
|
|
116510
|
-
}
|
|
116511
|
-
return shared;
|
|
116512
|
-
})() : null));
|
|
116518
|
+
const app = origin && appFor(url, origin, packageName2 === ONE_NATIVE_CONTROLS_PACKAGE);
|
|
116513
116519
|
if (!app) {
|
|
116514
116520
|
res.writeHead(400);
|
|
116515
116521
|
res.end("missing absolute app root");
|
|
@@ -116530,10 +116536,7 @@ async function handleOneNativeSourceRequest(req, res) {
|
|
|
116530
116536
|
res.end(JSON.stringify(widget));
|
|
116531
116537
|
return true;
|
|
116532
116538
|
}
|
|
116533
|
-
if (
|
|
116534
|
-
const packageName2 = decodeURIComponent(
|
|
116535
|
-
url.pathname.slice(SWIFT_PACKAGE_PATH.length)
|
|
116536
|
-
);
|
|
116539
|
+
if (packageName2 !== null) {
|
|
116537
116540
|
const metadata = await packageMetadata(app, packageName2);
|
|
116538
116541
|
const body = JSON.stringify(metadata);
|
|
116539
116542
|
const acceptsBrotli = req.headers["accept-encoding"]?.split(",").some((value) => {
|
|
@@ -116572,8 +116575,8 @@ async function handleOneNativeSourceRequest(req, res) {
|
|
|
116572
116575
|
function handleOneNativeSourceUpgrade(req, socket, head) {
|
|
116573
116576
|
const url = new URL(req.url ?? "/", "http://localhost");
|
|
116574
116577
|
if (url.pathname !== SWIFT_HMR_PATH) return false;
|
|
116575
|
-
const app = req.headers.host ? appFor(url, `http://${req.headers.host}
|
|
116576
|
-
if (!app
|
|
116578
|
+
const app = req.headers.host && loopbackClient(req) ? appFor(url, `http://${req.headers.host}`, true) : null;
|
|
116579
|
+
if (!app) {
|
|
116577
116580
|
socket.destroy();
|
|
116578
116581
|
return true;
|
|
116579
116582
|
}
|
|
@@ -118040,7 +118043,7 @@ var init_nitro_superset = __esm({
|
|
|
118040
118043
|
init_nitroContract();
|
|
118041
118044
|
init_swift_standin_digest();
|
|
118042
118045
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
118043
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
118046
|
+
NITRO_COMPILER_DIGEST = true ? "d53685e2a805f4ca7fa8bc398364bdb593c09e5c6a6ecb8c8d9c12e6cca38b2d" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
118044
118047
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
118045
118048
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
118046
118049
|
published3 = /* @__PURE__ */ new Map();
|