peachsim 0.1.2737 → 0.1.2742
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 +214 -97
- 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-N65DFKKS.mjs → acorn-I6YLE7RH.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-BLZBR4EF.mjs → chunk-2SC45KUK.mjs} +185 -89
- package/dist-lib/esm-chunks/{chunk-ZNSVZBWL.mjs → chunk-4CNYVYQW.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-PISYS5VV.mjs → chunk-6LMI5DE3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TKYSVJ6N.mjs → chunk-6QTRZNLH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PGMWOIWH.mjs → chunk-CFPPESX7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-X4KKXB5Z.mjs → chunk-FKC5RBXR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZLZG22TP.mjs → chunk-G44GUBAL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-S4WPF4LQ.mjs → chunk-GMFZTGVJ.mjs} +13 -7
- package/dist-lib/esm-chunks/{chunk-GHLVVIYA.mjs → chunk-GPVGYC45.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RZSEAJNK.mjs → chunk-HJBL2ND3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NK3Y2DEM.mjs → chunk-IVVVYJKG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2VEJSLIG.mjs → chunk-MHRTZ6I7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YHSLBUGG.mjs → chunk-MXADGMSE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Y2WJJWHK.mjs → chunk-NWGCI4JC.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-EJAMKRK2.mjs → chunk-OXFGIZC4.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-CMN7STHV.mjs → chunk-PLXC42XF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YA6VMXKS.mjs → chunk-QDTQYGJB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-M3T47BLB.mjs → chunk-RC3JQV7D.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3BDZ7ZVC.mjs → chunk-U262IRGM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PXHA5JY3.mjs → chunk-VH5KY2GM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-K5SO6HTC.mjs → chunk-VWRLBFID.mjs} +8 -5
- package/dist-lib/esm-chunks/{chunk-P3XPAQTO.mjs → chunk-Y4Q3W36I.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-MMV3ZU2G.mjs → chunk-YQSNOLNM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GJYNPYLJ.mjs → chunk-ZRA35GYC.mjs} +5 -5
- package/dist-lib/esm-chunks/{metro-layout-parser-BB2OJQAM.mjs → metro-layout-parser-QGTUKU6T.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-2CNPBFJR.mjs → swift-package-prebuilt-M2IXDM7B.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-FZXV77OV.mjs → swift-sdk-app-module-4KYBNEBW.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-BLP7UKX5.mjs → swift-sdk-image-Z37PPINV.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-S5O7TW4E.mjs → swift-sdk-image-producer-7KFCU6Y6.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +214 -97
- 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 +3686 -1596
- package/dist-lib/host/fetch-proxy-handler.cjs +43 -12
- 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 +5 -3
- package/dist-lib/native-app-identity-project.mjs +16 -16
- 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 +88 -86
- package/dist-lib/public-origins-lib.json +86 -72
- 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 +4117 -2027
- package/dist-lib/swift-compile.cjs +206 -89
- 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 +8 -5
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/engine/canvaskit-api.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/effects-shader-registry.d.ts +2 -12
- package/dist-types/packages/peach-engine/src/engine/native-style-store.d.ts +1 -2
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +0 -1
- package/dist-types/packages/peach-engine/src/engine/scene-native-binding.d.ts +0 -2
- package/package.json +1 -1
- package/src/one-direct-host-source.ts +254 -0
- package/src/one-native-controls-package.ts +99 -21
- package/src/swift-compile.ts +9 -1
- package/src/swift-sdk-image-map.ts +35 -0
- package/src/swift-sdk-image.ts +12 -2
- package/src/swift-toolchain.ts +11 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2742 | (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;
|
|
@@ -6648,7 +6648,9 @@ exec ${JSON.stringify(import_node_path12.default.join(toolchainBin, "wasm-ld"))}
|
|
|
6648
6648
|
}
|
|
6649
6649
|
function peachHome() {
|
|
6650
6650
|
const override = process.env.PEACH_HOME;
|
|
6651
|
-
|
|
6651
|
+
return override ? import_node_path12.default.resolve(override) : defaultPeachHome();
|
|
6652
|
+
}
|
|
6653
|
+
function defaultPeachHome() {
|
|
6652
6654
|
const home = import_node_path12.default.join(import_node_os5.default.homedir(), ".peach");
|
|
6653
6655
|
return import_node_fs14.default.existsSync(home) ? import_node_fs14.default.realpathSync(home) : home;
|
|
6654
6656
|
}
|
|
@@ -6656,7 +6658,8 @@ function peachSwiftSdksDir() {
|
|
|
6656
6658
|
return process.env.PEACH_SWIFT_SDKS_PATH ?? import_node_path12.default.join(peachHome(), "swift", "sdks");
|
|
6657
6659
|
}
|
|
6658
6660
|
function agentSharedCacheRoot() {
|
|
6659
|
-
if (process.platform !== "darwin"
|
|
6661
|
+
if (!process.env.TM_SESSION || process.platform !== "darwin" && process.platform !== "linux")
|
|
6662
|
+
return null;
|
|
6660
6663
|
if (agentBuildersRoot) return agentBuildersRoot;
|
|
6661
6664
|
const policy = JSON.parse(
|
|
6662
6665
|
(0, import_node_child_process9.execFileSync)("tm", ["machine", "policy", "--json"], {
|
|
@@ -6695,11 +6698,11 @@ function buildersRootEnv() {
|
|
|
6695
6698
|
return root ? root : null;
|
|
6696
6699
|
}
|
|
6697
6700
|
function resolvedBuildersRoot() {
|
|
6698
|
-
return buildersRootEnv() ??
|
|
6701
|
+
return buildersRootEnv() ?? agentSharedCacheRoot();
|
|
6699
6702
|
}
|
|
6700
6703
|
function swiftCacheDir() {
|
|
6701
6704
|
const root = resolvedBuildersRoot();
|
|
6702
|
-
return root ? import_node_path12.default.join(root, "peach-cache") : import_node_path12.default.join(
|
|
6705
|
+
return root ? import_node_path12.default.join(root, "peach-cache") : import_node_path12.default.join(defaultPeachHome(), "cache");
|
|
6703
6706
|
}
|
|
6704
6707
|
function refreshSwiftCacheHold(directory2) {
|
|
6705
6708
|
const cache = swiftCacheDir();
|
|
@@ -10105,7 +10108,7 @@ var init_swift_objc_sdk_tree = __esm({
|
|
|
10105
10108
|
|
|
10106
10109
|
// src/swift-compiler-digest.ts
|
|
10107
10110
|
function swiftArchiveCompilerDigestValue() {
|
|
10108
|
-
return true ? "
|
|
10111
|
+
return true ? "0793e59f1e3cdb2b823e46162b3112e01b180b07a4650b5e43a642bc3094d5ef" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname, "archive");
|
|
10109
10112
|
}
|
|
10110
10113
|
var import_node_crypto9, import_node_fs20, import_node_path16, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
10111
10114
|
var init_swift_compiler_digest = __esm({
|
|
@@ -15675,6 +15678,27 @@ var init_swift_resource_class_names = __esm({
|
|
|
15675
15678
|
}
|
|
15676
15679
|
});
|
|
15677
15680
|
|
|
15681
|
+
// ../peach-kit/src/guest-engine-services.ts
|
|
15682
|
+
var PEACH_GUEST_SERVICE_MODULE, PEACH_GUEST_SERVICE_PREFIX, peachGuestServiceNames, peachGuestServiceSymbols, peachGuestServiceAllowlist;
|
|
15683
|
+
var init_guest_engine_services = __esm({
|
|
15684
|
+
"../peach-kit/src/guest-engine-services.ts"() {
|
|
15685
|
+
"use strict";
|
|
15686
|
+
PEACH_GUEST_SERVICE_MODULE = "peach_guest_services";
|
|
15687
|
+
PEACH_GUEST_SERVICE_PREFIX = "peach_guest_service_";
|
|
15688
|
+
peachGuestServiceNames = [
|
|
15689
|
+
"peach_app_config_resolve",
|
|
15690
|
+
"peach_audio_host_request",
|
|
15691
|
+
"peach_site_origin",
|
|
15692
|
+
"services_request",
|
|
15693
|
+
"services_storage_error"
|
|
15694
|
+
];
|
|
15695
|
+
peachGuestServiceSymbols = peachGuestServiceNames.map(
|
|
15696
|
+
(name3) => PEACH_GUEST_SERVICE_PREFIX + name3
|
|
15697
|
+
);
|
|
15698
|
+
peachGuestServiceAllowlist = peachGuestServiceSymbols.join("\n") + "\n";
|
|
15699
|
+
}
|
|
15700
|
+
});
|
|
15701
|
+
|
|
15678
15702
|
// src/swift-guest-linked-spans.ts
|
|
15679
15703
|
function number(bytes, start) {
|
|
15680
15704
|
let value = 0;
|
|
@@ -16434,7 +16458,146 @@ var init_swift_guest_linked_spans = __esm({
|
|
|
16434
16458
|
}
|
|
16435
16459
|
});
|
|
16436
16460
|
|
|
16461
|
+
// src/wasm-binary-sections.ts
|
|
16462
|
+
function encodeWasmNumber(value) {
|
|
16463
|
+
const bytes = [];
|
|
16464
|
+
for (let rest = value; ; ) {
|
|
16465
|
+
const byte = rest % 128;
|
|
16466
|
+
rest = Math.floor(rest / 128);
|
|
16467
|
+
if (rest === 0) return [...bytes, byte];
|
|
16468
|
+
bytes.push(byte | 128);
|
|
16469
|
+
}
|
|
16470
|
+
}
|
|
16471
|
+
function encodeWasmName(name3) {
|
|
16472
|
+
const bytes = new TextEncoder().encode(name3);
|
|
16473
|
+
return [...encodeWasmNumber(bytes.length), ...bytes];
|
|
16474
|
+
}
|
|
16475
|
+
function readWasmSection(bytes, start, end) {
|
|
16476
|
+
let at = start;
|
|
16477
|
+
const number3 = () => {
|
|
16478
|
+
let value = 0;
|
|
16479
|
+
for (let shift = 0; ; shift += 7) {
|
|
16480
|
+
if (at >= end || shift > 63) throw new Error("invalid wasm integer");
|
|
16481
|
+
const byte = bytes[at++];
|
|
16482
|
+
value += (byte & 127) * 2 ** shift;
|
|
16483
|
+
if (!(byte & 128)) return value;
|
|
16484
|
+
}
|
|
16485
|
+
};
|
|
16486
|
+
return {
|
|
16487
|
+
number: number3,
|
|
16488
|
+
byte: () => {
|
|
16489
|
+
if (at >= end) throw new Error("truncated wasm section");
|
|
16490
|
+
return bytes[at++];
|
|
16491
|
+
},
|
|
16492
|
+
name: () => {
|
|
16493
|
+
const length = number3();
|
|
16494
|
+
at += length;
|
|
16495
|
+
if (at > end) throw new Error("truncated wasm name");
|
|
16496
|
+
return Buffer.from(bytes.buffer, bytes.byteOffset + at - length, length).toString();
|
|
16497
|
+
},
|
|
16498
|
+
position: () => at,
|
|
16499
|
+
done: () => at === end
|
|
16500
|
+
};
|
|
16501
|
+
}
|
|
16502
|
+
function wasmSections(bytes) {
|
|
16503
|
+
if (Buffer.from(bytes.subarray(0, 8)).toString("hex") !== "0061736d01000000")
|
|
16504
|
+
throw new Error("not a wasm module");
|
|
16505
|
+
const found = [];
|
|
16506
|
+
for (let at = 8; at < bytes.length; ) {
|
|
16507
|
+
const header = readWasmSection(bytes, at, bytes.length);
|
|
16508
|
+
const id = header.byte();
|
|
16509
|
+
const size2 = header.number();
|
|
16510
|
+
const start = header.position();
|
|
16511
|
+
if (start + size2 > bytes.length) throw new Error("truncated wasm section");
|
|
16512
|
+
found.push({ id, offset: at, start, end: start + size2 });
|
|
16513
|
+
at = start + size2;
|
|
16514
|
+
}
|
|
16515
|
+
return found;
|
|
16516
|
+
}
|
|
16517
|
+
var init_wasm_binary_sections = __esm({
|
|
16518
|
+
"src/wasm-binary-sections.ts"() {
|
|
16519
|
+
"use strict";
|
|
16520
|
+
}
|
|
16521
|
+
});
|
|
16522
|
+
|
|
16523
|
+
// src/wasm-imports.ts
|
|
16524
|
+
function readWasmImports(bytes, section2, visit3) {
|
|
16525
|
+
const input = readWasmSection(bytes, section2.start, section2.end);
|
|
16526
|
+
const count = input.number();
|
|
16527
|
+
const valueType = () => {
|
|
16528
|
+
const first = input.byte();
|
|
16529
|
+
if (first === 99 || first === 100) input.number();
|
|
16530
|
+
};
|
|
16531
|
+
const limits = () => {
|
|
16532
|
+
const flags = input.number();
|
|
16533
|
+
input.number();
|
|
16534
|
+
if (flags & 1) input.number();
|
|
16535
|
+
if (flags & 8) input.number();
|
|
16536
|
+
};
|
|
16537
|
+
for (let index = 0; index < count; index++) {
|
|
16538
|
+
const start = input.position();
|
|
16539
|
+
const module2 = input.name();
|
|
16540
|
+
const name3 = input.name();
|
|
16541
|
+
const type = input.position();
|
|
16542
|
+
const kind = input.byte();
|
|
16543
|
+
switch (kind) {
|
|
16544
|
+
case 0:
|
|
16545
|
+
input.number();
|
|
16546
|
+
break;
|
|
16547
|
+
case 1:
|
|
16548
|
+
valueType();
|
|
16549
|
+
limits();
|
|
16550
|
+
break;
|
|
16551
|
+
case 2:
|
|
16552
|
+
limits();
|
|
16553
|
+
break;
|
|
16554
|
+
case 3:
|
|
16555
|
+
valueType();
|
|
16556
|
+
input.byte();
|
|
16557
|
+
break;
|
|
16558
|
+
case 4:
|
|
16559
|
+
input.byte();
|
|
16560
|
+
input.number();
|
|
16561
|
+
break;
|
|
16562
|
+
default:
|
|
16563
|
+
throw new Error(`unsupported Wasm import kind ${kind}`);
|
|
16564
|
+
}
|
|
16565
|
+
visit3({ module: module2, name: name3, kind, start, type, end: input.position() });
|
|
16566
|
+
}
|
|
16567
|
+
if (!input.done()) throw new Error("invalid Wasm imports");
|
|
16568
|
+
return count;
|
|
16569
|
+
}
|
|
16570
|
+
var init_wasm_imports = __esm({
|
|
16571
|
+
"src/wasm-imports.ts"() {
|
|
16572
|
+
"use strict";
|
|
16573
|
+
init_wasm_binary_sections();
|
|
16574
|
+
}
|
|
16575
|
+
});
|
|
16576
|
+
|
|
16437
16577
|
// src/swift-sdk-image-map.ts
|
|
16578
|
+
function assertPeachGuestEngineLink(map2, linked) {
|
|
16579
|
+
const guestSymbol = /^peach_guest_(sdk|removed|service)_/;
|
|
16580
|
+
const unresolved = /* @__PURE__ */ new Set();
|
|
16581
|
+
for (const chunk of map2.code) {
|
|
16582
|
+
if (chunk.inputFile !== "<internal>" || chunk.section !== "undefined_stub") continue;
|
|
16583
|
+
for (const { name: name3 } of chunk.symbols) if (guestSymbol.test(name3)) unresolved.add(name3);
|
|
16584
|
+
}
|
|
16585
|
+
if (unresolved.size)
|
|
16586
|
+
throw new Error(
|
|
16587
|
+
`unresolved PeachEngine calls in the Swift SDK:
|
|
16588
|
+
${[...unresolved].sort().join("\n")}`
|
|
16589
|
+
);
|
|
16590
|
+
const imports2 = wasmSections(linked).find((section2) => section2.id === 2);
|
|
16591
|
+
if (imports2)
|
|
16592
|
+
readWasmImports(linked, imports2, ({ kind, module: module2, name: name3 }) => {
|
|
16593
|
+
if (module2 !== PEACH_GUEST_SERVICE_MODULE && !guestSymbol.test(name3)) return;
|
|
16594
|
+
if (kind === 0 && module2 === PEACH_GUEST_SERVICE_MODULE && peachGuestServiceSymbols.includes(name3))
|
|
16595
|
+
return;
|
|
16596
|
+
throw new Error(
|
|
16597
|
+
`unexpected PeachEngine host import in the Swift SDK: ${module2}.${name3}`
|
|
16598
|
+
);
|
|
16599
|
+
});
|
|
16600
|
+
}
|
|
16438
16601
|
function isHexChar(code) {
|
|
16439
16602
|
return code >= 48 && code <= 57 || code >= 97 && code <= 102;
|
|
16440
16603
|
}
|
|
@@ -16603,7 +16766,10 @@ var init_swift_sdk_image_map = __esm({
|
|
|
16603
16766
|
"src/swift-sdk-image-map.ts"() {
|
|
16604
16767
|
"use strict";
|
|
16605
16768
|
import_node_path27 = require("node:path");
|
|
16769
|
+
init_guest_engine_services();
|
|
16606
16770
|
init_swift_guest_linked_spans();
|
|
16771
|
+
init_wasm_binary_sections();
|
|
16772
|
+
init_wasm_imports();
|
|
16607
16773
|
PARTITIONED = [
|
|
16608
16774
|
".rodata",
|
|
16609
16775
|
".data",
|
|
@@ -16676,7 +16842,7 @@ function wasmReader(bytes, start) {
|
|
|
16676
16842
|
}
|
|
16677
16843
|
};
|
|
16678
16844
|
}
|
|
16679
|
-
function
|
|
16845
|
+
function wasmSections2(bytes) {
|
|
16680
16846
|
const out = [];
|
|
16681
16847
|
for (let at = 8; at < bytes.length; ) {
|
|
16682
16848
|
const r = wasmReader(bytes, at);
|
|
@@ -16769,7 +16935,7 @@ function* readFunctionNames(bytes, names) {
|
|
|
16769
16935
|
}
|
|
16770
16936
|
}
|
|
16771
16937
|
function orderObjCConstructors(bytes) {
|
|
16772
|
-
const sections =
|
|
16938
|
+
const sections = wasmSections2(bytes);
|
|
16773
16939
|
const names = sections.find((s) => s.name === "name");
|
|
16774
16940
|
if (!names) return bytes;
|
|
16775
16941
|
let constructors;
|
|
@@ -16817,7 +16983,7 @@ function orderObjCConstructors(bytes) {
|
|
|
16817
16983
|
return ordered;
|
|
16818
16984
|
}
|
|
16819
16985
|
function readModule(bytes) {
|
|
16820
|
-
const sections =
|
|
16986
|
+
const sections = wasmSections2(bytes);
|
|
16821
16987
|
const get = (id) => sections.find((s) => s.id === id);
|
|
16822
16988
|
const types2 = [];
|
|
16823
16989
|
const typeSection = get(1);
|
|
@@ -17021,7 +17187,7 @@ function finishSdkImage(bytes, hostExports, libraries, guestMap) {
|
|
|
17021
17187
|
return { image: Buffer.concat(parts), sdkInterface, functionSlots };
|
|
17022
17188
|
}
|
|
17023
17189
|
function passiveSegments(bytes) {
|
|
17024
|
-
const data =
|
|
17190
|
+
const data = wasmSections2(bytes).find((s) => s.id === 11);
|
|
17025
17191
|
if (!data) throw new Error("sdk image has no data section");
|
|
17026
17192
|
const r = wasmReader(bytes, data.start);
|
|
17027
17193
|
const out = [];
|
|
@@ -17126,7 +17292,7 @@ function codeOnlySdkImage(bytes, constructorMask) {
|
|
|
17126
17292
|
function constructorKeys(map2, bytes) {
|
|
17127
17293
|
const first = map2.code[0];
|
|
17128
17294
|
if (!first) throw new Error("link has no code");
|
|
17129
|
-
const sections =
|
|
17295
|
+
const sections = wasmSections2(bytes);
|
|
17130
17296
|
const code = sections.find((s) => s.id === 10);
|
|
17131
17297
|
if (!code) throw new Error("link has no code");
|
|
17132
17298
|
const ctors = map2.code.find((chunk) => chunk.section === "__wasm_call_ctors");
|
|
@@ -17198,7 +17364,7 @@ function constructorKeys(map2, bytes) {
|
|
|
17198
17364
|
return keys;
|
|
17199
17365
|
}
|
|
17200
17366
|
function relocationEdges(bytes, segmentAddress) {
|
|
17201
|
-
const sections =
|
|
17367
|
+
const sections = wasmSections2(bytes);
|
|
17202
17368
|
const linking = sections.find((s) => s.name === "linking");
|
|
17203
17369
|
if (!linking) throw new Error("relocation link has no linking section");
|
|
17204
17370
|
let symKind = new Uint8Array(0);
|
|
@@ -17366,7 +17532,7 @@ function relocationEdges(bytes, segmentAddress) {
|
|
|
17366
17532
|
return { data, code, dataFunctions, calls };
|
|
17367
17533
|
}
|
|
17368
17534
|
function strongDefinitions(bytes) {
|
|
17369
|
-
const linking =
|
|
17535
|
+
const linking = wasmSections2(bytes).find((s) => s.name === "linking");
|
|
17370
17536
|
if (!linking) return [];
|
|
17371
17537
|
const r = wasmReader(bytes, linking.start);
|
|
17372
17538
|
r.u();
|
|
@@ -17409,7 +17575,7 @@ function strongDefinitions(bytes) {
|
|
|
17409
17575
|
).map((s) => s.name);
|
|
17410
17576
|
}
|
|
17411
17577
|
function unslottedFunctions(bytes) {
|
|
17412
|
-
const sections =
|
|
17578
|
+
const sections = wasmSections2(bytes);
|
|
17413
17579
|
const importedFuncs = countImportedFunctions(
|
|
17414
17580
|
bytes,
|
|
17415
17581
|
sections.find((s) => s.id === 2)
|
|
@@ -21715,71 +21881,9 @@ var init_swift_guest_image_ledger = __esm({
|
|
|
21715
21881
|
}
|
|
21716
21882
|
});
|
|
21717
21883
|
|
|
21718
|
-
// src/wasm-binary-sections.ts
|
|
21719
|
-
function encodeWasmNumber(value) {
|
|
21720
|
-
const bytes = [];
|
|
21721
|
-
for (let rest = value; ; ) {
|
|
21722
|
-
const byte = rest % 128;
|
|
21723
|
-
rest = Math.floor(rest / 128);
|
|
21724
|
-
if (rest === 0) return [...bytes, byte];
|
|
21725
|
-
bytes.push(byte | 128);
|
|
21726
|
-
}
|
|
21727
|
-
}
|
|
21728
|
-
function encodeWasmName(name3) {
|
|
21729
|
-
const bytes = new TextEncoder().encode(name3);
|
|
21730
|
-
return [...encodeWasmNumber(bytes.length), ...bytes];
|
|
21731
|
-
}
|
|
21732
|
-
function readWasmSection(bytes, start, end) {
|
|
21733
|
-
let at = start;
|
|
21734
|
-
const number3 = () => {
|
|
21735
|
-
let value = 0;
|
|
21736
|
-
for (let shift = 0; ; shift += 7) {
|
|
21737
|
-
if (at >= end || shift > 63) throw new Error("invalid wasm integer");
|
|
21738
|
-
const byte = bytes[at++];
|
|
21739
|
-
value += (byte & 127) * 2 ** shift;
|
|
21740
|
-
if (!(byte & 128)) return value;
|
|
21741
|
-
}
|
|
21742
|
-
};
|
|
21743
|
-
return {
|
|
21744
|
-
number: number3,
|
|
21745
|
-
byte: () => {
|
|
21746
|
-
if (at >= end) throw new Error("truncated wasm section");
|
|
21747
|
-
return bytes[at++];
|
|
21748
|
-
},
|
|
21749
|
-
name: () => {
|
|
21750
|
-
const length = number3();
|
|
21751
|
-
at += length;
|
|
21752
|
-
if (at > end) throw new Error("truncated wasm name");
|
|
21753
|
-
return Buffer.from(bytes.buffer, bytes.byteOffset + at - length, length).toString();
|
|
21754
|
-
},
|
|
21755
|
-
position: () => at,
|
|
21756
|
-
done: () => at === end
|
|
21757
|
-
};
|
|
21758
|
-
}
|
|
21759
|
-
function wasmSections2(bytes) {
|
|
21760
|
-
if (Buffer.from(bytes.subarray(0, 8)).toString("hex") !== "0061736d01000000")
|
|
21761
|
-
throw new Error("not a wasm module");
|
|
21762
|
-
const found = [];
|
|
21763
|
-
for (let at = 8; at < bytes.length; ) {
|
|
21764
|
-
const header = readWasmSection(bytes, at, bytes.length);
|
|
21765
|
-
const id = header.byte();
|
|
21766
|
-
const size2 = header.number();
|
|
21767
|
-
const start = header.position();
|
|
21768
|
-
if (start + size2 > bytes.length) throw new Error("truncated wasm section");
|
|
21769
|
-
found.push({ id, offset: at, start, end: start + size2 });
|
|
21770
|
-
at = start + size2;
|
|
21771
|
-
}
|
|
21772
|
-
return found;
|
|
21773
|
-
}
|
|
21774
|
-
var init_wasm_binary_sections = __esm({
|
|
21775
|
-
"src/wasm-binary-sections.ts"() {
|
|
21776
|
-
"use strict";
|
|
21777
|
-
}
|
|
21778
|
-
});
|
|
21779
|
-
|
|
21780
21884
|
// src/wasm-narrow-boundary.ts
|
|
21781
21885
|
function readWasmCustomSection(bytes, name3) {
|
|
21782
|
-
for (const { id, start, end } of
|
|
21886
|
+
for (const { id, start, end } of wasmSections(bytes)) {
|
|
21783
21887
|
if (id !== 0) continue;
|
|
21784
21888
|
const contents2 = readWasmSection(bytes, start, end);
|
|
21785
21889
|
if (contents2.name() === name3) return bytes.subarray(contents2.position(), end);
|
|
@@ -21788,7 +21892,7 @@ function readWasmCustomSection(bytes, name3) {
|
|
|
21788
21892
|
}
|
|
21789
21893
|
function dropWasmCustomSection(bytes, name3) {
|
|
21790
21894
|
const parts = [bytes.subarray(0, 8)];
|
|
21791
|
-
for (const { id, offset, start, end } of
|
|
21895
|
+
for (const { id, offset, start, end } of wasmSections(bytes)) {
|
|
21792
21896
|
if (id === 0 && readWasmSection(bytes, start, end).name() === name3) continue;
|
|
21793
21897
|
parts.push(bytes.subarray(offset, end));
|
|
21794
21898
|
}
|
|
@@ -21800,7 +21904,7 @@ function writeWasmCustomSections(bytes, entries2) {
|
|
|
21800
21904
|
const parts = [];
|
|
21801
21905
|
let sliceStart = 0;
|
|
21802
21906
|
let sliceEnd = 8;
|
|
21803
|
-
for (const { id, start, end } of
|
|
21907
|
+
for (const { id, start, end } of wasmSections(bytes)) {
|
|
21804
21908
|
if (id === 0 && replaced.has(readWasmSection(bytes, start, end).name())) {
|
|
21805
21909
|
if (sliceEnd > sliceStart) parts.push(bytes.subarray(sliceStart, sliceEnd));
|
|
21806
21910
|
sliceStart = end;
|
|
@@ -21824,7 +21928,7 @@ function writeWasmCustomSection(bytes, name3, data) {
|
|
|
21824
21928
|
return writeWasmCustomSections(bytes, [[name3, data]]);
|
|
21825
21929
|
}
|
|
21826
21930
|
function readWasmMemory(bytes) {
|
|
21827
|
-
return readWasmMemoryAndTableImports(bytes,
|
|
21931
|
+
return readWasmMemoryAndTableImports(bytes, wasmSections(bytes)).memory;
|
|
21828
21932
|
}
|
|
21829
21933
|
function readWasmMemoryAndTableImports(bytes, layout2) {
|
|
21830
21934
|
let memory;
|
|
@@ -21885,7 +21989,7 @@ function withSections(bytes, layout2, replacements) {
|
|
|
21885
21989
|
return Buffer.concat(parts);
|
|
21886
21990
|
}
|
|
21887
21991
|
function narrowWasmBoundary(bytes, wideExports) {
|
|
21888
|
-
const layout2 =
|
|
21992
|
+
const layout2 = wasmSections(bytes);
|
|
21889
21993
|
const section2 = (id) => {
|
|
21890
21994
|
const found = layout2.find((entry) => entry.id === id);
|
|
21891
21995
|
return found && readWasmSection(bytes, found.start, found.end);
|
|
@@ -22011,7 +22115,7 @@ ${[...imports2, ...functions].join("\n")}
|
|
|
22011
22115
|
};
|
|
22012
22116
|
}
|
|
22013
22117
|
function dropBoundaryExports(bytes) {
|
|
22014
|
-
const layout2 =
|
|
22118
|
+
const layout2 = wasmSections(bytes);
|
|
22015
22119
|
const found = layout2.find((entry) => entry.id === 7);
|
|
22016
22120
|
if (!found) throw new Error("merged module has no exports");
|
|
22017
22121
|
const exportSection = readWasmSection(bytes, found.start, found.end);
|
|
@@ -22030,7 +22134,7 @@ function dropBoundaryExports(bytes) {
|
|
|
22030
22134
|
);
|
|
22031
22135
|
}
|
|
22032
22136
|
function withWasmTableMinimum(bytes, minimum) {
|
|
22033
|
-
const layout2 =
|
|
22137
|
+
const layout2 = wasmSections(bytes);
|
|
22034
22138
|
const table = layout2.find(({ id }) => id === 4);
|
|
22035
22139
|
if (!table) {
|
|
22036
22140
|
if (readWasmMemoryAndTableImports(bytes, layout2).tableImports === 1) return bytes;
|
|
@@ -22327,7 +22431,7 @@ function entries(bytes, section2, entry) {
|
|
|
22327
22431
|
return out;
|
|
22328
22432
|
}
|
|
22329
22433
|
function appendLazyPlacement(bytes, functions, table) {
|
|
22330
|
-
const sections =
|
|
22434
|
+
const sections = wasmSections2(bytes);
|
|
22331
22435
|
const section2 = (id) => sections.find((s) => s.id === id);
|
|
22332
22436
|
const imports2 = readImports2(bytes, sections);
|
|
22333
22437
|
const changes = /* @__PURE__ */ new Map();
|
|
@@ -22445,7 +22549,7 @@ function skipElementSegment(r) {
|
|
|
22445
22549
|
else r.u();
|
|
22446
22550
|
}
|
|
22447
22551
|
function placeGuestLazyFunctions(bytes, lazy) {
|
|
22448
|
-
const sections =
|
|
22552
|
+
const sections = wasmSections2(bytes);
|
|
22449
22553
|
const lazyIndex = new Map(lazy.map((name3, index) => [name3, index]));
|
|
22450
22554
|
const functions = new Array(lazy.length);
|
|
22451
22555
|
let found = 0;
|
|
@@ -31640,6 +31744,8 @@ async function linkSwiftSdkImage(moduleRoot, key2, directory2, work, scopedLooku
|
|
|
31640
31744
|
import_node_path43.default.join(work, "exports.rsp"),
|
|
31641
31745
|
[...defined].map((name3) => quote3(`--export-if-defined=${name3}`)).join("\n")
|
|
31642
31746
|
);
|
|
31747
|
+
const guestServices = import_node_path43.default.join(work, "peach-guest-services.allow");
|
|
31748
|
+
(0, import_node_fs45.writeFileSync)(guestServices, peachGuestServiceAllowlist);
|
|
31643
31749
|
const args = [
|
|
31644
31750
|
...link.flags,
|
|
31645
31751
|
`--global-base=${SWIFT_SDK_MEMORY_BASE}`,
|
|
@@ -31651,6 +31757,7 @@ async function linkSwiftSdkImage(moduleRoot, key2, directory2, work, scopedLooku
|
|
|
31651
31757
|
...lazy,
|
|
31652
31758
|
"--end-lib",
|
|
31653
31759
|
"--unresolved-symbols=ignore-all",
|
|
31760
|
+
`--allow-undefined-file=${guestServices}`,
|
|
31654
31761
|
"--export-dynamic",
|
|
31655
31762
|
...[
|
|
31656
31763
|
"__peach_sdk_register",
|
|
@@ -31683,8 +31790,9 @@ async function linkSwiftSdkImage(moduleRoot, key2, directory2, work, scopedLooku
|
|
|
31683
31790
|
if (result.status === "rejected") throw result.reason;
|
|
31684
31791
|
}
|
|
31685
31792
|
const rawLink = (0, import_node_fs45.readFileSync)(linked);
|
|
31686
|
-
const linkedBytes = lookups2 ? rawLink : orderObjCConstructors(rawLink);
|
|
31687
31793
|
const linkMap = readWasmLinkMap(map2, true);
|
|
31794
|
+
assertPeachGuestEngineLink(linkMap, rawLink);
|
|
31795
|
+
const linkedBytes = lookups2 ? rawLink : orderObjCConstructors(rawLink);
|
|
31688
31796
|
const {
|
|
31689
31797
|
image: finished,
|
|
31690
31798
|
sdkInterface,
|
|
@@ -31789,7 +31897,7 @@ function sdkLinkInputs(appRoot) {
|
|
|
31789
31897
|
return { flags, libraries, objects: [crt, ...objects], providers };
|
|
31790
31898
|
}
|
|
31791
31899
|
function autolinkLibraries(bytes) {
|
|
31792
|
-
const entries2 =
|
|
31900
|
+
const entries2 = wasmSections2(bytes).find((s) => s.name === ".swift1_autolink_entries");
|
|
31793
31901
|
if (!entries2) return [];
|
|
31794
31902
|
const raw2 = Buffer.isBuffer(bytes) ? bytes : Buffer.from(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
31795
31903
|
return raw2.toString("utf8", entries2.start, entries2.end).split("\0").filter((entry) => entry.startsWith("-l"));
|
|
@@ -31799,7 +31907,7 @@ function sdkHostExports(appRoot) {
|
|
|
31799
31907
|
const linked = (0, import_node_fs45.readdirSync)(release).find((name3) => name3.endsWith(".wasm"));
|
|
31800
31908
|
if (!linked) throw new Error("the sdk image link found no empty app image");
|
|
31801
31909
|
const bytes = (0, import_node_fs45.readFileSync)(import_node_path43.default.join(release, linked));
|
|
31802
|
-
const exports2 =
|
|
31910
|
+
const exports2 = wasmSections2(bytes).find((s) => s.id === 7);
|
|
31803
31911
|
if (!exports2) return [];
|
|
31804
31912
|
const names = [];
|
|
31805
31913
|
let at = exports2.start;
|
|
@@ -32001,6 +32109,7 @@ var init_swift_sdk_image = __esm({
|
|
|
32001
32109
|
import_node_fs45 = require("node:fs");
|
|
32002
32110
|
import_node_path43 = __toESM(require("node:path"), 1);
|
|
32003
32111
|
import_node_util8 = require("node:util");
|
|
32112
|
+
init_guest_engine_services();
|
|
32004
32113
|
init_native_prebuilt();
|
|
32005
32114
|
init_swift_compile();
|
|
32006
32115
|
init_swift_darwin_records();
|
|
@@ -32696,7 +32805,7 @@ async function linkSwiftAppModule(options2) {
|
|
|
32696
32805
|
};
|
|
32697
32806
|
}
|
|
32698
32807
|
function sdkImportThunks(bytes) {
|
|
32699
|
-
const sections =
|
|
32808
|
+
const sections = wasmSections2(bytes);
|
|
32700
32809
|
const section2 = (id) => sections.find((s) => s.id === id);
|
|
32701
32810
|
const valueType = (r) => {
|
|
32702
32811
|
const type = r.byte();
|
|
@@ -32827,7 +32936,7 @@ function sdkImportThunks(bytes) {
|
|
|
32827
32936
|
function resolveSdkReferences(source, sdk2, forwarders) {
|
|
32828
32937
|
const bytes = new Uint8Array(source.buffer, source.byteOffset, source.byteLength);
|
|
32829
32938
|
const { data: sdkData, signatures } = sdk2.sdkInterface;
|
|
32830
|
-
const sections =
|
|
32939
|
+
const sections = wasmSections2(bytes);
|
|
32831
32940
|
const linking = sections.find((s) => s.name === "linking");
|
|
32832
32941
|
if (!linking) throw new Error("app link has no linking section");
|
|
32833
32942
|
const symbols = [];
|
|
@@ -40292,8 +40401,16 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
|
|
|
40292
40401
|
if (mode === "restage" && !matches && !allowHotForeign && isRecentForeignReceipt(slot, Date.now()))
|
|
40293
40402
|
return;
|
|
40294
40403
|
if (!matches) logSelection?.();
|
|
40404
|
+
if (mode === "extend")
|
|
40405
|
+
console.error(
|
|
40406
|
+
`[swift-framework-cache] ${import_node_path55.default.basename(slot)} miss=products release=${release}`
|
|
40407
|
+
);
|
|
40295
40408
|
const value = await work(slot, lease, allowWrite);
|
|
40296
40409
|
if (value === void 0) return;
|
|
40410
|
+
if (mode === "reuse")
|
|
40411
|
+
console.error(
|
|
40412
|
+
`[swift-framework-cache] ${import_node_path55.default.basename(slot)} hit=products release=${release}`
|
|
40413
|
+
);
|
|
40297
40414
|
const now = /* @__PURE__ */ new Date();
|
|
40298
40415
|
(0, import_node_fs55.utimesSync)(slot, now, now);
|
|
40299
40416
|
return { value };
|
|
@@ -40369,7 +40486,7 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
|
|
|
40369
40486
|
"restage",
|
|
40370
40487
|
() => {
|
|
40371
40488
|
console.error(
|
|
40372
|
-
`[swift-framework-cache] ${import_node_path55.default.basename(slot)} release=${release} tier=${tier} changedInputs=${changes} totalInputs=${inputs2.size}`
|
|
40489
|
+
`[swift-framework-cache] ${import_node_path55.default.basename(slot)} miss=revision release=${release} tier=${tier} changedInputs=${changes} totalInputs=${inputs2.size}`
|
|
40373
40490
|
);
|
|
40374
40491
|
},
|
|
40375
40492
|
tier >= 2
|
|
@@ -41627,7 +41744,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
41627
41744
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
41628
41745
|
MULTI_MANIFEST_VERSION = 76;
|
|
41629
41746
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
41630
|
-
compilerSourceDigest = true ? "
|
|
41747
|
+
compilerSourceDigest = true ? "07651c3448f918d1873b3ecc1d3db59948c7cbfdd917cd5b69da610a327f857a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
41631
41748
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
41632
41749
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
41633
41750
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -69023,7 +69140,7 @@ var init_provenance = __esm({
|
|
|
69023
69140
|
import_node_crypto45 = require("node:crypto");
|
|
69024
69141
|
import_node_fs75 = require("node:fs");
|
|
69025
69142
|
import_node_path75 = require("node:path");
|
|
69026
|
-
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":"523fdfffc0cff95c8df7beeca437622a07d4fd666f0bb22b0ff67d14c42a7b10","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"
|
|
69143
|
+
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":"523fdfffc0cff95c8df7beeca437622a07d4fd666f0bb22b0ff67d14c42a7b10","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"cc32d16a0a3539e97447f853dd876b6b9240d544f5e0f21852c5a8333968e8a5","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"c72b724fc497e4cf603c355f86eb3c07c929ad299758cffbc6ff88ed241654c6","xcode-project.ts":"d140088a94d032e28788e18bf11499965e0c626255fd904538764ededcf1d751","xcode-target-members.ts":"2379e6d411c5d63fa65ddc24c4e4fc8bfcd001b5be109b694c848fe62908db86","xcode-json-project.ts":"df6d6db28e0c8cfdf1f480e1e32d35f12c9cf1936642d5dda923889fb18a8fd6","openstep-plist.ts":"da11f86885ef1e25979ad989f332195c113c4b7a43f108e8d36646973430b81b"}') : swiftCoverageSourceDigests((0, import_node_path75.join)(__sootsim_import_meta_dirname, ".."));
|
|
69027
69144
|
}
|
|
69028
69145
|
});
|
|
69029
69146
|
|
|
@@ -87721,7 +87838,7 @@ var init_swift_standin_digest = __esm({
|
|
|
87721
87838
|
];
|
|
87722
87839
|
RUNTIME_IMPORT = /(?:^|[;\n])[ \t]*(?:import|export)\s+(?!type(?:\s|\{))([\s\S]*?)\s+from\s*['"]([^'"]+)['"]|(?:^|[;\n])[ \t]*import\s+['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
87723
87840
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS, STANDIN_DIGEST_EXCLUDED_FILES);
|
|
87724
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
87841
|
+
STANDIN_SOURCE_DIGEST = true ? "5ddae8c784aa92fac8a541b367a4e978b8493c2213b935ba97e6dd92b43ad49c" : standinSourceDigest();
|
|
87725
87842
|
}
|
|
87726
87843
|
});
|
|
87727
87844
|
|
|
@@ -95769,7 +95886,7 @@ function addressImmediates(bytes) {
|
|
|
95769
95886
|
} else throw new Error(`sdk code has unknown instruction ${op.toString(16)}`);
|
|
95770
95887
|
}
|
|
95771
95888
|
};
|
|
95772
|
-
for (const section2 of
|
|
95889
|
+
for (const section2 of wasmSections(bytes)) {
|
|
95773
95890
|
at = section2.start;
|
|
95774
95891
|
if (section2.id === 6)
|
|
95775
95892
|
for (let n = u(); n > 0; n--) {
|
|
@@ -106562,7 +106679,7 @@ var init_nitro_superset = __esm({
|
|
|
106562
106679
|
init_nitroContract();
|
|
106563
106680
|
init_swift_standin_digest();
|
|
106564
106681
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
106565
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
106682
|
+
NITRO_COMPILER_DIGEST = true ? "044328c5350ebb809f06385360a8f8ac2ddc79127894cab52bbe62745e02eda8" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
106566
106683
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
106567
106684
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
106568
106685
|
published = /* @__PURE__ */ new Map();
|
|
@@ -107542,7 +107659,7 @@ var init_expo_eager_seam_contract = __esm({
|
|
|
107542
107659
|
|
|
107543
107660
|
// src/expo-native-compiler-digest.ts
|
|
107544
107661
|
function expoNativeCompilerDigestValue() {
|
|
107545
|
-
return true ? "
|
|
107662
|
+
return true ? "77bd2fbb160fc0dbe5d30a609cfd0c890697b189ef38b63db3c6003f98ae219e" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
107546
107663
|
}
|
|
107547
107664
|
var import_node_crypto81;
|
|
107548
107665
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2742 | (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.2742 | (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-QDTQYGJB.mjs";
|
|
14
|
+
import "./esm-chunks/chunk-6QTRZNLH.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.2742 | (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.2742 | (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-G44GUBAL.mjs";
|
|
35
|
+
import "./esm-chunks/chunk-6QTRZNLH.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.2742 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./esm-chunks/chunk-6QTRZNLH.mjs";
|
|
3
3
|
|
|
4
4
|
// src/cloud-test-args.ts
|
|
5
5
|
var CLOUD_TEST_ARGS_MAX_COUNT = 32;
|