peachsim 0.1.2723 → 0.1.2724
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +40 -22
- 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-F3M2TKUX.mjs → acorn-EURHASUG.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-BGHKJMLZ.mjs → chunk-4JBJMTW6.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7XGUQL4X.mjs → chunk-4JK43CMT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PHPSRPSE.mjs → chunk-6DUHHBHL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZQU5WPTG.mjs → chunk-6QOAUFXS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-G4DCGHYZ.mjs → chunk-75EXFIUY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HA2OAZT5.mjs → chunk-7L46YGKM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-N5UND445.mjs → chunk-CQZUJXUJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CQJV4EVW.mjs → chunk-DUZ423VJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RHEMYORC.mjs → chunk-EAAWWHM5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-K3CU2YXT.mjs → chunk-ELUCK72T.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-3IU4EP2Z.mjs → chunk-H27F6KTB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Y77FZJW2.mjs → chunk-HBMYCY5F.mjs} +32 -21
- package/dist-lib/esm-chunks/{chunk-ZKW75WRX.mjs → chunk-J7WTMPA2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IAV5XLVR.mjs → chunk-LHYDMCSX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SIULKQAK.mjs → chunk-N44HIDJI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-S7SEZPUJ.mjs → chunk-OZ3AV4BF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-LIC5LYQJ.mjs → chunk-PBX3L23V.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TGO6L4RG.mjs → chunk-PSFDJFEP.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-GVSWDVPL.mjs → chunk-QCMMBFZK.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-EYSRTHK7.mjs → chunk-QRTEE3NG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DZXB5BJN.mjs → chunk-T552XKQW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-S3GS24G6.mjs → chunk-TIR2OCFT.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-T7IPZWTL.mjs → chunk-U2CXAJOV.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-AUTMC3QD.mjs → chunk-UMMJ3AVM.mjs} +7 -8
- package/dist-lib/esm-chunks/{metro-layout-parser-KDQ4RWIN.mjs → metro-layout-parser-KH6NZMEH.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-KBXU457K.mjs → swift-package-prebuilt-5CSXNIFW.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-23DEMHHZ.mjs → swift-sdk-app-module-HX2YLJ4X.mjs} +33 -24
- package/dist-lib/esm-chunks/{swift-sdk-image-ER4ESBTD.mjs → swift-sdk-image-32W2IHSJ.mjs} +16 -18
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-FZRGEKOY.mjs → swift-sdk-image-producer-7Z2DBPQQ.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +40 -22
- 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 +237 -34
- package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
- 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 +85 -85
- package/dist-lib/public-origins-lib.json +64 -64
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +8 -8
- package/dist-lib/skills.cjs +237 -34
- package/dist-lib/swift-compile.cjs +37 -19
- 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-layout.d.ts +0 -2
- package/dist-types/packages/peach-engine/src/engine/native-text-measure.d.ts +3 -6
- package/dist-types/packages/peach-engine/src/engine/native-text-metric-policy.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/native-text-runtimeContract.d.ts +0 -5
- package/package.json +1 -1
- package/src/binaryen.lock.json +1 -1
- package/src/one-direct-host-source.ts +194 -10
- package/src/one-native-controls-package.ts +81 -36
- package/src/swift-compile.ts +16 -4
- package/src/swift-sdk-app-module.ts +22 -10
- package/src/swift-sdk-image.ts +1 -1
- package/src/swiftSdkLinkContract.ts +2 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2724 | (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;
|
|
@@ -6177,7 +6177,7 @@ var init_swift_objc_sdk_tree = __esm({
|
|
|
6177
6177
|
|
|
6178
6178
|
// src/swift-compiler-digest.ts
|
|
6179
6179
|
function swiftArchiveCompilerDigestValue() {
|
|
6180
|
-
return true ? "
|
|
6180
|
+
return true ? "5d04be03bbba986299329087e4997de62ffb4b4238f9faf31755f5255a1b7094" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
6181
6181
|
}
|
|
6182
6182
|
var import_node_crypto10, import_node_fs25, import_node_path25, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
6183
6183
|
var init_swift_compiler_digest = __esm({
|
|
@@ -6328,7 +6328,7 @@ var init_swift_standin_digest = __esm({
|
|
|
6328
6328
|
|
|
6329
6329
|
// src/expo-native-compiler-digest.ts
|
|
6330
6330
|
function expoNativeCompilerDigestValue() {
|
|
6331
|
-
return true ? "
|
|
6331
|
+
return true ? "8e31ec134b59bae40caf8bad45e1e8c852fd51da235ad767ad65b552bba121a6" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
6332
6332
|
}
|
|
6333
6333
|
var import_node_crypto12;
|
|
6334
6334
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -29899,11 +29899,12 @@ var init_swift_sdk_image_map = __esm({
|
|
|
29899
29899
|
});
|
|
29900
29900
|
|
|
29901
29901
|
// src/swiftSdkLinkContract.ts
|
|
29902
|
-
var SWIFT_SDK_FUNCTION_ADDRESS_PREFIX, OBJC_LOAD_FUNCTION;
|
|
29902
|
+
var SWIFT_SDK_FUNCTION_ADDRESS_PREFIX, SWIFT_SDK_APP_TABLE_BASE, OBJC_LOAD_FUNCTION;
|
|
29903
29903
|
var init_swiftSdkLinkContract = __esm({
|
|
29904
29904
|
"src/swiftSdkLinkContract.ts"() {
|
|
29905
29905
|
"use strict";
|
|
29906
29906
|
SWIFT_SDK_FUNCTION_ADDRESS_PREFIX = "__peach_sdk_function_address.";
|
|
29907
|
+
SWIFT_SDK_APP_TABLE_BASE = 524288;
|
|
29907
29908
|
OBJC_LOAD_FUNCTION = ".objcv2_load_function";
|
|
29908
29909
|
}
|
|
29909
29910
|
});
|
|
@@ -37255,7 +37256,7 @@ var init_binaryen_lock = __esm({
|
|
|
37255
37256
|
"darwin-arm64": {
|
|
37256
37257
|
asset: "arm64-macos",
|
|
37257
37258
|
upstreamSha256: "98aad827847af7ef990ed7098d885725c8e5b5aae75073403635617ae4e259aa",
|
|
37258
|
-
sha256: "
|
|
37259
|
+
sha256: "2cadf6373604091be7784a1dde396ccbe67964e9a5ddb40be19bb52d65cb23b7"
|
|
37259
37260
|
}
|
|
37260
37261
|
}
|
|
37261
37262
|
};
|
|
@@ -44550,7 +44551,6 @@ exit "$status"
|
|
|
44550
44551
|
var swift_sdk_image_exports = {};
|
|
44551
44552
|
__export(swift_sdk_image_exports, {
|
|
44552
44553
|
SWIFT_SDK_APP_MEMORY_BASE: () => SWIFT_SDK_APP_MEMORY_BASE,
|
|
44553
|
-
SWIFT_SDK_APP_TABLE_BASE: () => SWIFT_SDK_APP_TABLE_BASE,
|
|
44554
44554
|
SWIFT_SDK_IMAGE_BUNDLE: () => SWIFT_SDK_IMAGE_BUNDLE,
|
|
44555
44555
|
SWIFT_SDK_IMAGE_FILES: () => SWIFT_SDK_IMAGE_FILES,
|
|
44556
44556
|
SWIFT_SDK_MEMORY_BASE: () => SWIFT_SDK_MEMORY_BASE,
|
|
@@ -45222,7 +45222,7 @@ function readSwiftSdkManifest(image) {
|
|
|
45222
45222
|
}));
|
|
45223
45223
|
return setBoundedCache(cachedSdkManifests, cacheKey, { manifest, block: block2, segments });
|
|
45224
45224
|
}
|
|
45225
|
-
var import_node_child_process37, import_node_crypto44, import_node_fs73, import_node_path73, import_node_util10, run4, SWIFT_SDK_APP_MEMORY_BASE, SWIFT_SDK_MEMORY_BASE,
|
|
45225
|
+
var import_node_child_process37, import_node_crypto44, import_node_fs73, import_node_path73, import_node_util10, run4, SWIFT_SDK_APP_MEMORY_BASE, SWIFT_SDK_MEMORY_BASE, EMPTY_APP, IMAGE_TABLES, IMAGE_ENTRY, imageApp, IMAGE_FILE, IMAGE_DIGEST, swiftSdkImageFile, INTERFACE_FILE, MANIFEST_FILE, MANIFEST_DATA_FILE, SWIFT_SDK_IMAGE_FILES, SWIFT_SDK_IMAGE_BUNDLE, MAX_CACHED_SDK_IMAGES, cachedSdkInterfaces, cachedSdkManifestIndices, cachedSdkManifests, SWIFT_SDK_PIECE_FIELDS, MANIFEST_BLOCKS, isManifestBlock;
|
|
45226
45226
|
var init_swift_sdk_image = __esm({
|
|
45227
45227
|
"src/swift-sdk-image.ts"() {
|
|
45228
45228
|
"use strict";
|
|
@@ -45243,12 +45243,12 @@ var init_swift_sdk_image = __esm({
|
|
|
45243
45243
|
init_swift_sdk_image_wasm();
|
|
45244
45244
|
init_swift_toolchain();
|
|
45245
45245
|
init_swift_wasm_prune();
|
|
45246
|
+
init_swiftSdkLinkContract();
|
|
45246
45247
|
init_swiftTargetContract();
|
|
45247
45248
|
init_wasm_optimize();
|
|
45248
45249
|
run4 = (0, import_node_util10.promisify)(import_node_child_process37.execFile);
|
|
45249
45250
|
SWIFT_SDK_APP_MEMORY_BASE = 8372224;
|
|
45250
45251
|
SWIFT_SDK_MEMORY_BASE = 128 * 1024 * 1024;
|
|
45251
|
-
SWIFT_SDK_APP_TABLE_BASE = 524288;
|
|
45252
45252
|
EMPTY_APP = `import SwiftUI
|
|
45253
45253
|
|
|
45254
45254
|
@main
|
|
@@ -45509,7 +45509,6 @@ __export(swift_sdk_app_module_exports, {
|
|
|
45509
45509
|
linkSwiftAppModule: () => linkSwiftAppModule,
|
|
45510
45510
|
readSwiftSdkAppLink: () => readSwiftSdkAppLink,
|
|
45511
45511
|
readSwiftSdkUsage: () => readSwiftSdkUsage,
|
|
45512
|
-
selectSwiftSdkData: () => selectSwiftSdkData,
|
|
45513
45512
|
swiftAppModuleInputs: () => swiftAppModuleInputs,
|
|
45514
45513
|
swiftAppModuleThunkSection: () => swiftAppModuleThunkSection,
|
|
45515
45514
|
swiftSdkProjectionSpans: () => swiftSdkProjectionSpans,
|
|
@@ -46504,12 +46503,11 @@ function readSwiftSdkAppLink(file) {
|
|
|
46504
46503
|
return JSON.parse((0, import_node_zlib5.gunzipSync)((0, import_node_fs74.readFileSync)(file)).toString("utf8"));
|
|
46505
46504
|
}
|
|
46506
46505
|
function createSwiftSdkBinding(linkage, sdk2, usage, projection) {
|
|
46507
|
-
const
|
|
46508
|
-
|
|
46509
|
-
|
|
46510
|
-
]);
|
|
46506
|
+
const binding = bindSwiftAppModule(linkage, sdk2);
|
|
46507
|
+
const { data, liveSlots } = selectSwiftSdkData(sdk2, usage, linkage, projection);
|
|
46508
|
+
const bytes = Buffer.concat([binding, data]);
|
|
46511
46509
|
const sha2565 = typeof Bun !== "undefined" ? new Bun.CryptoHasher("sha256").update(bytes).digest("hex") : (0, import_node_crypto45.createHash)("sha256").update(bytes).digest("hex");
|
|
46512
|
-
return { bytes, sha256: sha2565 };
|
|
46510
|
+
return { bytes, sha256: sha2565, liveSlots };
|
|
46513
46511
|
}
|
|
46514
46512
|
function readSwiftSdkUsage(mapFile, linkedFile, sdkObjects) {
|
|
46515
46513
|
const map2 = readWasmLinkMap(mapFile, false);
|
|
@@ -47039,7 +47037,18 @@ function selectSwiftSdkData(sdk2, usage, linkage, projection) {
|
|
|
47039
47037
|
blob.set(run17.bytes, at + 12);
|
|
47040
47038
|
at += 12 + run17.bytes.length;
|
|
47041
47039
|
}
|
|
47042
|
-
|
|
47040
|
+
const selected = new Set(boundSlots);
|
|
47041
|
+
slots.forEach((slot, index) => {
|
|
47042
|
+
if (slot && liveFunctions[index]) selected.add(slot);
|
|
47043
|
+
});
|
|
47044
|
+
const liveSlots = Buffer.alloc((selected.size + 1) * 4);
|
|
47045
|
+
liveSlots.writeUInt32LE(selected.size, 0);
|
|
47046
|
+
let slotOffset = 4;
|
|
47047
|
+
for (const slot of selected) {
|
|
47048
|
+
liveSlots.writeUInt32LE(slot, slotOffset);
|
|
47049
|
+
slotOffset += 4;
|
|
47050
|
+
}
|
|
47051
|
+
return { data: blob, liveSlots };
|
|
47043
47052
|
}
|
|
47044
47053
|
function partitionParent(section2) {
|
|
47045
47054
|
return [
|
|
@@ -52703,14 +52712,17 @@ function readCompiledArtifact(directory2, hash) {
|
|
|
52703
52712
|
return null;
|
|
52704
52713
|
if (!("sdk" in receipt)) return null;
|
|
52705
52714
|
const image = receipt.sdk;
|
|
52706
|
-
if (!isRecord(image) || typeof image.key !== "string" || typeof image.sha256 !== "string" || typeof image.binding !== "string")
|
|
52715
|
+
if (!isRecord(image) || typeof image.key !== "string" || typeof image.sha256 !== "string" || typeof image.binding !== "string" || typeof image.liveSlots !== "string")
|
|
52707
52716
|
return null;
|
|
52708
52717
|
const binding = (0, import_node_fs82.readFileSync)(import_node_path84.default.join(directory2, "sdk-binding.bin"));
|
|
52709
52718
|
if ((0, import_node_crypto50.createHash)("sha256").update(binding).digest("hex") !== image.binding) return null;
|
|
52719
|
+
const liveSlots = (0, import_node_fs82.readFileSync)(import_node_path84.default.join(directory2, "sdk-live-slots.bin"));
|
|
52720
|
+
if ((0, import_node_crypto50.createHash)("sha256").update(liveSlots).digest("hex") !== image.liveSlots)
|
|
52721
|
+
return null;
|
|
52710
52722
|
const sdk2 = {
|
|
52711
52723
|
key: image.key,
|
|
52712
52724
|
sha256: image.sha256,
|
|
52713
|
-
binding: { bytes: binding, sha256: image.binding }
|
|
52725
|
+
binding: { bytes: binding, sha256: image.binding, liveSlots }
|
|
52714
52726
|
};
|
|
52715
52727
|
return { hash, bytes, icu: { sha256: receipt.icu, gzip: gzip2 }, sdk: sdk2 };
|
|
52716
52728
|
} catch (error) {
|
|
@@ -52726,8 +52738,13 @@ function saveCompiledArtifact(root, artifact) {
|
|
|
52726
52738
|
try {
|
|
52727
52739
|
(0, import_node_fs82.writeFileSync)(import_node_path84.default.join(pending2, "app.wasm"), artifact.bytes);
|
|
52728
52740
|
(0, import_node_fs82.writeFileSync)(import_node_path84.default.join(pending2, "icu.gz"), artifact.icu.gzip);
|
|
52729
|
-
if (artifact.sdk)
|
|
52741
|
+
if (artifact.sdk) {
|
|
52730
52742
|
(0, import_node_fs82.writeFileSync)(import_node_path84.default.join(pending2, "sdk-binding.bin"), artifact.sdk.binding.bytes);
|
|
52743
|
+
(0, import_node_fs82.writeFileSync)(
|
|
52744
|
+
import_node_path84.default.join(pending2, "sdk-live-slots.bin"),
|
|
52745
|
+
artifact.sdk.binding.liveSlots
|
|
52746
|
+
);
|
|
52747
|
+
}
|
|
52731
52748
|
(0, import_node_fs82.writeFileSync)(
|
|
52732
52749
|
import_node_path84.default.join(pending2, "artifact.json"),
|
|
52733
52750
|
JSON.stringify({
|
|
@@ -52737,12 +52754,13 @@ function saveCompiledArtifact(root, artifact) {
|
|
|
52737
52754
|
sdk: artifact.sdk && {
|
|
52738
52755
|
key: artifact.sdk.key,
|
|
52739
52756
|
sha256: artifact.sdk.sha256,
|
|
52740
|
-
binding: artifact.sdk.binding.sha256
|
|
52757
|
+
binding: artifact.sdk.binding.sha256,
|
|
52758
|
+
liveSlots: (0, import_node_crypto50.createHash)("sha256").update(artifact.sdk.binding.liveSlots).digest("hex")
|
|
52741
52759
|
}
|
|
52742
52760
|
})
|
|
52743
52761
|
);
|
|
52744
52762
|
const outputs = ["app.wasm", "icu.gz"];
|
|
52745
|
-
if (artifact.sdk) outputs.push("sdk-binding.bin");
|
|
52763
|
+
if (artifact.sdk) outputs.push("sdk-binding.bin", "sdk-live-slots.bin");
|
|
52746
52764
|
for (const file of [...outputs, "artifact.json"]) {
|
|
52747
52765
|
(0, import_node_fs82.renameSync)(import_node_path84.default.join(pending2, file), import_node_path84.default.join(directory2, file));
|
|
52748
52766
|
}
|
|
@@ -54806,7 +54824,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
54806
54824
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
54807
54825
|
MULTI_MANIFEST_VERSION = 76;
|
|
54808
54826
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
54809
|
-
compilerSourceDigest = true ? "
|
|
54827
|
+
compilerSourceDigest = true ? "53c1ead5f57a27afe64baf0eb8a4013ee9c70573cf3aeb6ef826b3ec9571da83" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
54810
54828
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
54811
54829
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
54812
54830
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -118588,6 +118606,110 @@ public final class PeachOneDirectStage: NSObject {
|
|
|
118588
118606
|
}
|
|
118589
118607
|
}
|
|
118590
118608
|
|
|
118609
|
+
@MainActor
|
|
118610
|
+
private final class PeachDirectSwipeConfiguration: ObservableObject {
|
|
118611
|
+
struct Action: Identifiable {
|
|
118612
|
+
let id: Int
|
|
118613
|
+
let title: String
|
|
118614
|
+
let symbol: String?
|
|
118615
|
+
let destructive: Bool
|
|
118616
|
+
let tint: UIColor?
|
|
118617
|
+
}
|
|
118618
|
+
|
|
118619
|
+
struct Edge {
|
|
118620
|
+
var actions: [Action] = []
|
|
118621
|
+
var fullSwipe = false
|
|
118622
|
+
|
|
118623
|
+
init(_ items: [[String: Any]] = [], fullSwipe: Bool = false) {
|
|
118624
|
+
self.fullSwipe = fullSwipe
|
|
118625
|
+
actions = items.enumerated().map { index, item in
|
|
118626
|
+
Action(id: index, title: item["title"] as? String ?? "", symbol: item["systemImage"] as? String,
|
|
118627
|
+
destructive: item["destructive"] as? Bool ?? false, tint: item["color"] as? UIColor)
|
|
118628
|
+
}
|
|
118629
|
+
}
|
|
118630
|
+
}
|
|
118631
|
+
|
|
118632
|
+
struct Edges {
|
|
118633
|
+
var leading = Edge()
|
|
118634
|
+
var trailing = Edge()
|
|
118635
|
+
}
|
|
118636
|
+
|
|
118637
|
+
@Published var edges = Edges()
|
|
118638
|
+
var emit: ((String, NSDictionary) -> Void)?
|
|
118639
|
+
}
|
|
118640
|
+
|
|
118641
|
+
@MainActor
|
|
118642
|
+
private struct PeachDirectSwipeRow: View {
|
|
118643
|
+
@ObservedObject var configuration: PeachDirectSwipeConfiguration
|
|
118644
|
+
@ObservedObject var children: OneNativeChildren
|
|
118645
|
+
|
|
118646
|
+
var body: some View {
|
|
118647
|
+
Group {
|
|
118648
|
+
ForEach(children.items) { child in child.content }
|
|
118649
|
+
}
|
|
118650
|
+
.swipeActions(edge: .leading, allowsFullSwipe: configuration.edges.leading.fullSwipe) {
|
|
118651
|
+
buttons(configuration.edges.leading, edge: "leading")
|
|
118652
|
+
}
|
|
118653
|
+
.swipeActions(edge: .trailing, allowsFullSwipe: configuration.edges.trailing.fullSwipe) {
|
|
118654
|
+
buttons(configuration.edges.trailing, edge: "trailing")
|
|
118655
|
+
}
|
|
118656
|
+
}
|
|
118657
|
+
|
|
118658
|
+
@ViewBuilder
|
|
118659
|
+
private func buttons(_ group: PeachDirectSwipeConfiguration.Edge, edge: String) -> some View {
|
|
118660
|
+
ForEach(group.actions) { action in
|
|
118661
|
+
let role: ButtonRole? = action.destructive ? .destructive : nil
|
|
118662
|
+
let activate: () -> Void = { configuration.emit?("action", ["edge": edge, "index": action.id]) }
|
|
118663
|
+
let tint = action.tint.map { Color(uiColor: $0) }
|
|
118664
|
+
if let symbol = action.symbol {
|
|
118665
|
+
Button(action.title, systemImage: symbol, role: role, action: activate).tint(tint)
|
|
118666
|
+
} else {
|
|
118667
|
+
Button(action.title, role: role, action: activate).tint(tint)
|
|
118668
|
+
}
|
|
118669
|
+
}
|
|
118670
|
+
}
|
|
118671
|
+
}
|
|
118672
|
+
|
|
118673
|
+
@MainActor
|
|
118674
|
+
@objc(PeachDirectSwipeActionsView)
|
|
118675
|
+
public final class PeachDirectSwipeActionsView: OneNativeContainerView {
|
|
118676
|
+
private let configuration: PeachDirectSwipeConfiguration
|
|
118677
|
+
private let slot: OneNativeContainerSlotView
|
|
118678
|
+
|
|
118679
|
+
@objc public init() {
|
|
118680
|
+
let configuration = PeachDirectSwipeConfiguration()
|
|
118681
|
+
self.configuration = configuration
|
|
118682
|
+
slot = OneNativeContainerSlotView(frame: .zero)
|
|
118683
|
+
super.init(wrap: { children, _ in
|
|
118684
|
+
AnyView(PeachDirectSwipeRow(configuration: configuration, children: children))
|
|
118685
|
+
})
|
|
118686
|
+
insertChild(slot, at: 0)
|
|
118687
|
+
}
|
|
118688
|
+
|
|
118689
|
+
required init?(coder: NSCoder) { fatalError("init(coder:) is unavailable") }
|
|
118690
|
+
|
|
118691
|
+
@objc(configureLeading:trailing:fullSwipe:emit:)
|
|
118692
|
+
public func configure(leading: [[String: Any]], trailing: [[String: Any]], fullSwipe: [String: Bool],
|
|
118693
|
+
emit: @escaping (String, NSDictionary) -> Void
|
|
118694
|
+
) {
|
|
118695
|
+
configuration.emit = emit
|
|
118696
|
+
configuration.edges = .init(leading: .init(leading, fullSwipe: fullSwipe["leading"] == true),
|
|
118697
|
+
trailing: .init(trailing, fullSwipe: fullSwipe["trailing"] == true))
|
|
118698
|
+
}
|
|
118699
|
+
|
|
118700
|
+
@objc public func setRow(_ view: UIView?) {
|
|
118701
|
+
guard slot.content !== view else { return }
|
|
118702
|
+
slot.content?.removeFromSuperview()
|
|
118703
|
+
slot.content = view
|
|
118704
|
+
refreshRow(for: slot)
|
|
118705
|
+
}
|
|
118706
|
+
|
|
118707
|
+
public override func layoutSubviews() {
|
|
118708
|
+
slot.configure(height: bounds.height, width: 0)
|
|
118709
|
+
super.layoutSubviews()
|
|
118710
|
+
}
|
|
118711
|
+
}
|
|
118712
|
+
|
|
118591
118713
|
@MainActor
|
|
118592
118714
|
private final class PeachDirectTableView: UITableView {
|
|
118593
118715
|
var onLayoutBounds: ((CGSize) -> Void)?
|
|
@@ -119721,26 +119843,28 @@ public struct OneDirectStageView: View {
|
|
|
119721
119843
|
public init() {}
|
|
119722
119844
|
|
|
119723
119845
|
public var body: some View {
|
|
119724
|
-
OneDirectStageRepresentable(tick: tick)
|
|
119846
|
+
OneDirectStageRepresentable(tick: tick, onDirty: { tick &+= 1 })
|
|
119725
119847
|
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
|
119726
|
-
.onAppear {
|
|
119727
|
-
PeachOneDirectStage.shared.onStageDirty = {
|
|
119728
|
-
tick &+= 1
|
|
119729
|
-
}
|
|
119730
|
-
}
|
|
119731
119848
|
}
|
|
119732
119849
|
}
|
|
119733
119850
|
|
|
119734
119851
|
private struct OneDirectStageRepresentable: UIViewRepresentable {
|
|
119735
119852
|
let tick: UInt64
|
|
119853
|
+
let onDirty: () -> Void
|
|
119736
119854
|
|
|
119737
119855
|
func makeUIView(context: Context) -> UIView {
|
|
119738
|
-
PeachOneDirectStage.shared
|
|
119856
|
+
let stage = PeachOneDirectStage.shared
|
|
119857
|
+
stage.onStageDirty = onDirty
|
|
119858
|
+
return stage.stageView
|
|
119739
119859
|
}
|
|
119740
119860
|
|
|
119741
119861
|
func updateUIView(_ uiView: UIView, context: Context) {
|
|
119742
119862
|
_ = tick
|
|
119743
119863
|
}
|
|
119864
|
+
|
|
119865
|
+
static func dismantleUIView(_ uiView: UIView, coordinator: ()) {
|
|
119866
|
+
PeachOneDirectStage.shared.onStageDirty = nil
|
|
119867
|
+
}
|
|
119744
119868
|
}
|
|
119745
119869
|
`;
|
|
119746
119870
|
PEACH_ONE_HOST_SHIMS = {
|
|
@@ -119862,6 +119986,9 @@ uint32_t peach_one_node_css_color(uint32_t nodeLo, uint32_t nodeHi, const char*
|
|
|
119862
119986
|
uint32_t sourceLen, double* rgbaOut);
|
|
119863
119987
|
PEACH_ONE_GUEST_IMPORT("node_layout_size")
|
|
119864
119988
|
uint32_t peach_one_node_layout_size(uint32_t nodeLo, uint32_t nodeHi, double* sizeOut);
|
|
119989
|
+
PEACH_ONE_GUEST_IMPORT("slot_content_frame")
|
|
119990
|
+
uint32_t peach_one_slot_content_frame(uint32_t ownerLo, uint32_t ownerHi,
|
|
119991
|
+
uint32_t contentLo, uint32_t contentHi, double x, double y, double width, double height);
|
|
119865
119992
|
PEACH_ONE_GUEST_IMPORT("wake_stage")
|
|
119866
119993
|
void peach_one_wake_stage(void);
|
|
119867
119994
|
}
|
|
@@ -119920,6 +120047,61 @@ UIColor* PeachPlatformColor(NSString* keyword) {
|
|
|
119920
120047
|
return keyword ? colors[keyword.lowercaseString] : nil;
|
|
119921
120048
|
}
|
|
119922
120049
|
|
|
120050
|
+
@interface PeachDirectSwipeActionsContainer : NSObject <PeachContainer>
|
|
120051
|
+
@end
|
|
120052
|
+
|
|
120053
|
+
static NSArray<NSDictionary*>* SwiftSwipeActions(id items) {
|
|
120054
|
+
if (![items isKindOfClass:NSArray.class]) return @[];
|
|
120055
|
+
NSArray* entries = static_cast<NSArray*>(items);
|
|
120056
|
+
NSMutableArray* actions = [NSMutableArray arrayWithCapacity:entries.count];
|
|
120057
|
+
for (NSDictionary* item in entries) {
|
|
120058
|
+
if (![item isKindOfClass:NSDictionary.class]) return @[];
|
|
120059
|
+
NSMutableDictionary* action = [item mutableCopy];
|
|
120060
|
+
action[@"color"] = PeachProcessedColor(item[@"color"]);
|
|
120061
|
+
[actions addObject:action];
|
|
120062
|
+
}
|
|
120063
|
+
return actions;
|
|
120064
|
+
}
|
|
120065
|
+
|
|
120066
|
+
@implementation PeachDirectSwipeActionsContainer {
|
|
120067
|
+
PeachDirectSwipeActionsView* _view;
|
|
120068
|
+
peach_node _child;
|
|
120069
|
+
__weak UIView* _row;
|
|
120070
|
+
}
|
|
120071
|
+
|
|
120072
|
+
- (void)configure:(NSDictionary*)spec emit:(PeachContainerEmit)emit {
|
|
120073
|
+
if (!_view) _view = [PeachDirectSwipeActionsView new];
|
|
120074
|
+
NSDictionary* fullSwipe = [spec[@"fullSwipe"] isKindOfClass:NSDictionary.class] ? spec[@"fullSwipe"] : @{};
|
|
120075
|
+
[_view configureLeading:SwiftSwipeActions(spec[@"leading"])
|
|
120076
|
+
trailing:SwiftSwipeActions(spec[@"trailing"])
|
|
120077
|
+
fullSwipe:fullSwipe
|
|
120078
|
+
emit:emit];
|
|
120079
|
+
}
|
|
120080
|
+
|
|
120081
|
+
- (void)child:(peach_node)node { _child = node; }
|
|
120082
|
+
|
|
120083
|
+
- (void)mountIn:(UIView*)container views:(id<PeachViewLookup>)views {
|
|
120084
|
+
_row = _child ? [views viewForNode:_child] : nil;
|
|
120085
|
+
_child = 0;
|
|
120086
|
+
[_view setRow:_row];
|
|
120087
|
+
if (_view.superview != container) [container addSubview:_view];
|
|
120088
|
+
_view.frame = container.bounds;
|
|
120089
|
+
}
|
|
120090
|
+
|
|
120091
|
+
- (BOOL)ownsView:(UIView*)view { return view && view == _row; }
|
|
120092
|
+
|
|
120093
|
+
- (void)unmount {
|
|
120094
|
+
[_view setRow:nil];
|
|
120095
|
+
[_view removeFromSuperview];
|
|
120096
|
+
_row = nil;
|
|
120097
|
+
}
|
|
120098
|
+
|
|
120099
|
+
- (void)detach {
|
|
120100
|
+
[self unmount];
|
|
120101
|
+
_view = nil;
|
|
120102
|
+
}
|
|
120103
|
+
@end
|
|
120104
|
+
|
|
119923
120105
|
@interface PeachDirectTableListContainer : NSObject <PeachContainer>
|
|
119924
120106
|
- (void)refreshLayoutIn:(UIView*)container views:(id<PeachViewLookup>)views;
|
|
119925
120107
|
@end
|
|
@@ -120071,11 +120253,24 @@ int32_t emitEventToHost(peach_node node, NSString* event, NSDictionary* payload)
|
|
|
120071
120253
|
return peach_one_emit_container_event(nodeLo(node), nodeHi(node), evPtr, evLen, jsPtr, jsLen);
|
|
120072
120254
|
}
|
|
120073
120255
|
|
|
120074
|
-
id<PeachContainer> makeContainer(NSString* kind, peach_node node) {
|
|
120075
|
-
if ([kind isEqualToString:@"swiftUI"])
|
|
120256
|
+
id<PeachContainer> makeContainer(NSString* kind, peach_node node, NSDictionary* spec) {
|
|
120257
|
+
if ([kind isEqualToString:@"swiftUI"]) {
|
|
120258
|
+
PeachSwiftUI* swift = [PeachSwiftUI new];
|
|
120259
|
+
NSString* control = spec[@"control"];
|
|
120260
|
+
if ([control isEqual:@"OneNativeContainerSlot"] || [control isEqual:@"OneNativeTab"]) {
|
|
120261
|
+
swift.slotContentLayout = ^(peach_node content, CGRect frame) {
|
|
120262
|
+
if (peach_one_slot_content_frame(nodeLo(node), nodeHi(node), nodeLo(content),
|
|
120263
|
+
nodeHi(content), frame.origin.x, frame.origin.y, frame.size.width, frame.size.height)) {
|
|
120264
|
+
[PeachOneDirectStage.shared markDirty];
|
|
120265
|
+
}
|
|
120266
|
+
};
|
|
120267
|
+
}
|
|
120268
|
+
return swift;
|
|
120269
|
+
}
|
|
120076
120270
|
if ([kind isEqualToString:@"sheet"]) return [PeachSheet new];
|
|
120077
120271
|
if ([kind isEqualToString:@"menu"]) return [PeachMenu new];
|
|
120078
120272
|
if ([kind isEqualToString:@"contextMenu"]) return [PeachContextMenu new];
|
|
120273
|
+
if ([kind isEqualToString:@"swipeActions"]) return [PeachDirectSwipeActionsContainer new];
|
|
120079
120274
|
if ([kind isEqualToString:@"tableList"]) return [PeachDirectTableListContainer new];
|
|
120080
120275
|
if ([kind isEqualToString:@"popover"]) {
|
|
120081
120276
|
return [[PeachPopover alloc] initWithDismissRequest:^BOOL(NSInteger revision) {
|
|
@@ -120184,7 +120379,7 @@ uint32_t peach_one_container_configure(uint32_t targetLo, uint32_t targetHi, con
|
|
|
120184
120379
|
}
|
|
120185
120380
|
if (!record.container) {
|
|
120186
120381
|
record.kind = kind;
|
|
120187
|
-
record.container = makeContainer(kind, node);
|
|
120382
|
+
record.container = makeContainer(kind, node, spec);
|
|
120188
120383
|
if (!record.container) return 0;
|
|
120189
120384
|
}
|
|
120190
120385
|
PeachContainerEmit emit = ^(NSString* event, NSDictionary* payload) {
|
|
@@ -120387,6 +120582,13 @@ void peach_one_container_command(uint32_t targetLo, uint32_t targetHi, const cha
|
|
|
120387
120582
|
@autoreleasepool {
|
|
120388
120583
|
const peach_node node = joinNode(targetLo, targetHi);
|
|
120389
120584
|
NSString* name = nsStringFromBytes(namePtr, nameLen);
|
|
120585
|
+
NSString* prefix = @"contextMenuInteraction:";
|
|
120586
|
+
if (node && [name hasPrefix:prefix]) {
|
|
120587
|
+
NSString* event = [name substringFromIndex:prefix.length];
|
|
120588
|
+
NSString* action = [event isEqualToString:@"action"] ? nsStringFromBytes(jsonPtr, jsonLen) : nil;
|
|
120589
|
+
emitEventToHost(node, event, action ? @{@"id": action} : @{});
|
|
120590
|
+
return;
|
|
120591
|
+
}
|
|
120390
120592
|
NSDictionary* payload = jsonDictFromBytes(jsonPtr, jsonLen);
|
|
120391
120593
|
if (node == 0) {
|
|
120392
120594
|
if ([name isEqualToString:@"completeAction"]) {
|
|
@@ -121723,7 +121925,7 @@ async function oneNativeControlsPackage(appRoot, linkedGroups, sdk2) {
|
|
|
121723
121925
|
watched.add(sourcePath);
|
|
121724
121926
|
}
|
|
121725
121927
|
files2.set("Sources/ControlsHost/ios/PeachOneDirectHost.mm", PEACH_ONE_DIRECT_HOST_MM);
|
|
121726
|
-
files2.set(
|
|
121928
|
+
files2.set(GUEST_ENTRY, GUEST_MAIN_SWIFT);
|
|
121727
121929
|
if (bindings) {
|
|
121728
121930
|
files2.set("Sources/One/One.swift", oneSDKModule);
|
|
121729
121931
|
for (const relative6 of ONE_SDK_RUNTIME_SOURCES) {
|
|
@@ -121832,7 +122034,7 @@ async function oneNativeControlsPackage(appRoot, linkedGroups, sdk2) {
|
|
|
121832
122034
|
...oneSDKShards.size ? { oneSDKShards } : {}
|
|
121833
122035
|
};
|
|
121834
122036
|
}
|
|
121835
|
-
var import_node_crypto93, import_node_fs155, import_node_module22, import_node_path158, import_node_url8, ONE_SDK_DEFINES, BRIDGE_SWIFT, GUEST_MAIN_SWIFT, ONE_SDK_RUNTIME_SOURCES, ONE_NATIVE_STYLE_SHARDS, ONE_NATIVE_STYLE_SHARD_MIN_BYTES, DIRECT_HOST_SWIFT_SEEDS, DIRECT_HOST_IOS_FILES;
|
|
122037
|
+
var import_node_crypto93, import_node_fs155, import_node_module22, import_node_path158, import_node_url8, ONE_SDK_DEFINES, GUEST_ENTRY, BRIDGE_SWIFT, GUEST_MAIN_SWIFT, ONE_SDK_RUNTIME_SOURCES, ONE_NATIVE_STYLE_SHARDS, ONE_NATIVE_STYLE_SHARD_MIN_BYTES, DIRECT_HOST_SWIFT_SEEDS, DIRECT_HOST_IOS_FILES;
|
|
121836
122038
|
var init_one_native_controls_package = __esm({
|
|
121837
122039
|
"src/one-native-controls-package.ts"() {
|
|
121838
122040
|
"use strict";
|
|
@@ -121855,6 +122057,7 @@ var init_one_native_controls_package = __esm({
|
|
|
121855
122057
|
init_swift_submit();
|
|
121856
122058
|
init_swift_toolchain();
|
|
121857
122059
|
ONE_SDK_DEFINES = ["ONE_IOS_26_SDK", "ONE_IOS_27_SDK", "ONE_IOS_27_1_SDK"];
|
|
122060
|
+
GUEST_ENTRY = "Sources/Controls/OneNativeControlsGuest.swift";
|
|
121858
122061
|
BRIDGE_SWIFT = `@_spi(Peach) import SwiftUI
|
|
121859
122062
|
@_spi(Peach) import UIKit
|
|
121860
122063
|
import PeachJSON
|
|
@@ -127857,7 +128060,7 @@ var init_nitro_superset = __esm({
|
|
|
127857
128060
|
init_nitroContract();
|
|
127858
128061
|
init_swift_standin_digest();
|
|
127859
128062
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
127860
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
128063
|
+
NITRO_COMPILER_DIGEST = true ? "404593a74548737612e2fa09c1e60bfd00e83e9c03c4c7a82bd6b938f70d1ced" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
127861
128064
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
127862
128065
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
127863
128066
|
published3 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2724 | (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;
|
|
@@ -1061,7 +1061,7 @@ var init_swift_standin_digest = __esm({
|
|
|
1061
1061
|
|
|
1062
1062
|
// src/expo-native-compiler-digest.ts
|
|
1063
1063
|
function expoNativeCompilerDigestValue() {
|
|
1064
|
-
return true ? "
|
|
1064
|
+
return true ? "8e31ec134b59bae40caf8bad45e1e8c852fd51da235ad767ad65b552bba121a6" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
1065
1065
|
}
|
|
1066
1066
|
var import_node_crypto6;
|
|
1067
1067
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -5586,7 +5586,7 @@ var init_binaryen_lock = __esm({
|
|
|
5586
5586
|
"darwin-arm64": {
|
|
5587
5587
|
asset: "arm64-macos",
|
|
5588
5588
|
upstreamSha256: "98aad827847af7ef990ed7098d885725c8e5b5aae75073403635617ae4e259aa",
|
|
5589
|
-
sha256: "
|
|
5589
|
+
sha256: "2cadf6373604091be7784a1dde396ccbe67964e9a5ddb40be19bb52d65cb23b7"
|
|
5590
5590
|
}
|
|
5591
5591
|
}
|
|
5592
5592
|
};
|
|
@@ -6099,7 +6099,7 @@ var init_swift_compile = __esm({
|
|
|
6099
6099
|
ExpoModulesCore: []
|
|
6100
6100
|
};
|
|
6101
6101
|
OPTIONAL_FRAMEWORKS = new Set(Object.keys(OPTIONAL_FRAMEWORK_DEPENDENCIES));
|
|
6102
|
-
compilerSourceDigest = true ? "
|
|
6102
|
+
compilerSourceDigest = true ? "53c1ead5f57a27afe64baf0eb8a4013ee9c70573cf3aeb6ef826b3ec9571da83" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
6103
6103
|
NOT_ON_IOS = new RegExp(
|
|
6104
6104
|
`\\b(?:os\\(\\s*WASI\\s*\\)|canImport\\(\\s*(?:${[...NON_IOS_MODULES].join("|")})\\s*\\))`,
|
|
6105
6105
|
"g"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2724 | (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.2724 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "../esm-chunks/chunk-4JBJMTW6.mjs";
|
|
3
3
|
|
|
4
4
|
// src/host/fetch-proxy-overrides.ts
|
|
5
5
|
var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2724 | (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.2724 | (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;
|
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2724 | (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;
|
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2724 | (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;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2724 | (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/menu.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2724 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
rnxPublicBrand
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-H27F6KTB.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-4JBJMTW6.mjs";
|
|
6
6
|
|
|
7
7
|
// src/menuContract.ts
|
|
8
8
|
var SOOTSIM_ENGINE_EVENT_NAME = "sootsim:engine-event";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2724 | (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,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2724 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isRecord
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-PBX3L23V.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-4JBJMTW6.mjs";
|
|
6
6
|
|
|
7
7
|
// src/metro-fingerprint-registry.ts
|
|
8
8
|
var RNX_METRO_FINGERPRINT_SCHEMA_VERSION = 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2724 | (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,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2724 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
findBundleFooter
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-OZ3AV4BF.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-4JBJMTW6.mjs";
|
|
6
6
|
|
|
7
7
|
// src/metro-production-bundle.ts
|
|
8
8
|
var RNXSIM_METRO_MODULE_PATHS_PREFIX = "globalThis.__sootsimModulePaths=";
|
|
@@ -131,7 +131,7 @@ function metroCalls(expression) {
|
|
|
131
131
|
return [];
|
|
132
132
|
}
|
|
133
133
|
async function readRNXMetroBundleLayout(source) {
|
|
134
|
-
const { loadMetroLayoutParser } = await import("./esm-chunks/metro-layout-parser-
|
|
134
|
+
const { loadMetroLayoutParser } = await import("./esm-chunks/metro-layout-parser-KH6NZMEH.mjs");
|
|
135
135
|
const MetroLayoutParser = await loadMetroLayoutParser();
|
|
136
136
|
const program = MetroLayoutParser.parse(source, {
|
|
137
137
|
ecmaVersion: "latest",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2724 | (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;
|