peachsim 0.1.2428 → 0.1.2429
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 +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +173 -66
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +163 -56
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +181 -74
- package/dist-lib/host/fetch-proxy-handler.cjs +6 -6
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +9 -6
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +9 -6
- package/dist-lib/native-app-identity-project.cjs +6 -3
- package/dist-lib/native-app-identity-project.mjs +6 -3
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- 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 +1 -1
- package/dist-lib/skills.cjs +194 -85
- package/dist-lib/swift-compile.cjs +35 -22
- package/dist-lib/swift-compile.mjs +35 -22
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +159 -52
- package/dist-lib/vite.cjs +6 -6
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +7 -0
- package/dist-types/packages/peach-globals/src/globalsContract.d.ts +2 -0
- package/dist-types/packages/peach-globals/src/index.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/locationBridgeContract.d.ts +20 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/CoreData.h +3 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSEntityMigrationPolicy.h +17 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObject.h +2 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectContext.h +6 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentContainer.h +15 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreDescription.h +10 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreServices.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSBase.h +28 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSImportExtension.h +21 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSIndexExtensionRequestHandler.h +17 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSPerson.h +28 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchQuery.h +77 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableIndex.h +154 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableIndexDescription.h +19 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItem.h +86 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet.h +95 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Categories.h +19 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Documents.h +71 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Events.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_General.h +138 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Images.h +116 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Media.h +235 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Messaging.h +99 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Places.h +96 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSuggestion.h +37 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSUserQuery.h +73 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CoreSpotlight.apinotes +26 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CoreSpotlight.h +29 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKBackForwardList.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKBackForwardListItem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentRuleList.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentRuleListStore.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentWorld.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentWorldConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContextMenuElementInfo.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKDOMNodeSnapshot.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKDownload.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFindConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFindResult.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFormInfo.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFrameInfo.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKHTTPCookieStore.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKJSHandle.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigation.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationAction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationResponse.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKOpenPanelParameters.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPDFConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPreviewElementInfo.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKProcessPool.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKScriptMessage.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKSecurityOrigin.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKSnapshotConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKUserContentController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKUserScript.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtension.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionContext.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionControllerConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionMatchPattern.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h +2 -2
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataRecord.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWindowFeatures.h +1 -1
- package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/CLLocationEssentials.h +3 -3
- package/src/core-data-model.ts +112 -5
- package/src/swift-compile.ts +34 -11
- package/src/swift-objc-import.ts +19 -13
- package/src/xcode-project.ts +5 -0
package/dist-lib/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2429 | (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;
|
|
@@ -11656,11 +11656,11 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
|
|
|
11656
11656
|
"$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZTf4nd_n"
|
|
11657
11657
|
]);
|
|
11658
11658
|
const keepObjCClassesNamedInSegment = (obj, segIdx) => {
|
|
11659
|
-
const
|
|
11660
|
-
if (!
|
|
11659
|
+
const range3 = obj.segPayloadRanges[segIdx];
|
|
11660
|
+
if (!range3) return;
|
|
11661
11661
|
let bytes = objectBytes.get(obj);
|
|
11662
11662
|
if (!bytes) objectBytes.set(obj, bytes = import_node_fs12.default.readFileSync(obj.file));
|
|
11663
|
-
const text5 = bytes.toString("latin1",
|
|
11663
|
+
const text5 = bytes.toString("latin1", range3[0], range3[1]);
|
|
11664
11664
|
for (const match of text5.matchAll(/So(\d+)/g)) {
|
|
11665
11665
|
const start = match.index + 2 + match[1].length;
|
|
11666
11666
|
const length = Number(match[1]);
|
|
@@ -13263,10 +13263,10 @@ function reserveGuestImageProjection(images) {
|
|
|
13263
13263
|
slots.push(slot);
|
|
13264
13264
|
return { address: slot.address, length: slot.length };
|
|
13265
13265
|
};
|
|
13266
|
-
const
|
|
13266
|
+
const range3 = reserve(null);
|
|
13267
13267
|
return {
|
|
13268
13268
|
...region,
|
|
13269
|
-
...
|
|
13269
|
+
...range3,
|
|
13270
13270
|
sections: region.sections.map((section, index) => ({
|
|
13271
13271
|
...section,
|
|
13272
13272
|
...reserve(index)
|
|
@@ -13469,11 +13469,11 @@ function finalizeGuestProjectionStorage(options) {
|
|
|
13469
13469
|
const markers = new Map(
|
|
13470
13470
|
options.reserved.countMarkers.map((marker, index) => [marker, index])
|
|
13471
13471
|
);
|
|
13472
|
-
for (const
|
|
13472
|
+
for (const range3 of ranges)
|
|
13473
13473
|
for (const segment of data) {
|
|
13474
|
-
const first = Math.max(
|
|
13474
|
+
const first = Math.max(range3.address, segment.address);
|
|
13475
13475
|
const last = Math.min(
|
|
13476
|
-
|
|
13476
|
+
range3.address + range3.length,
|
|
13477
13477
|
segment.address + segment.length
|
|
13478
13478
|
);
|
|
13479
13479
|
const start = segment.offset + first - segment.address;
|
|
@@ -17423,20 +17423,21 @@ function compactSwiftClangOverlays(flags, generated) {
|
|
|
17423
17423
|
}
|
|
17424
17424
|
return duplicates.size === 0 ? flags : flags.filter((_, index) => !duplicates.has(index));
|
|
17425
17425
|
}
|
|
17426
|
-
var
|
|
17427
|
-
function
|
|
17426
|
+
var SUBMODULE_IMPORT = /^[ \t]*(?:(?:@\w+(?:\([^)]*\))?[ \t]+)*import[ \t]+([A-Za-z_]\w*)\.([A-Za-z_]\w*)[ \t]*(?:\/\/.*)?|@import[ \t]+([A-Za-z_]\w*)\.([A-Za-z_]\w*)[ \t]*;.*)$/gm;
|
|
17427
|
+
function submoduleImports(sources) {
|
|
17428
17428
|
const imports2 = /* @__PURE__ */ new Map();
|
|
17429
17429
|
for (const source of sources)
|
|
17430
|
-
for (const
|
|
17430
|
+
for (const match of source.matchAll(SUBMODULE_IMPORT)) {
|
|
17431
|
+
const module2 = match[1] ?? match[3];
|
|
17431
17432
|
const names = imports2.get(module2) ?? /* @__PURE__ */ new Set();
|
|
17432
|
-
names.add(
|
|
17433
|
+
names.add(match[2] ?? match[4]);
|
|
17433
17434
|
imports2.set(module2, names);
|
|
17434
17435
|
}
|
|
17435
17436
|
return imports2;
|
|
17436
17437
|
}
|
|
17437
17438
|
function swiftObjCModuleMap(module2, headers, submodules = /* @__PURE__ */ new Set(), swiftHeader) {
|
|
17438
17439
|
const header = (file) => `header ${JSON.stringify(file)}`;
|
|
17439
|
-
const stem = (file) => file.slice(file.lastIndexOf("/") + 1).replace(/\.[^.]*$/, "");
|
|
17440
|
+
const stem = (file) => file.slice(file.lastIndexOf("/") + 1).replace(/\.[^.]*$/, "").replace(/[^A-Za-z0-9_]/g, "_").replace(/^(?=\d)/, "_");
|
|
17440
17441
|
return [
|
|
17441
17442
|
`module ${module2} {`,
|
|
17442
17443
|
...headers.map(
|
|
@@ -18037,8 +18038,8 @@ function swiftModuleInterface(moduleRoot, name3, interfaceRoot) {
|
|
|
18037
18038
|
if (declared.size === 0) return null;
|
|
18038
18039
|
return { declared, header: clangInterfaceHeader((0, import_node_fs29.readFileSync)(built2, "utf8")) };
|
|
18039
18040
|
}
|
|
18040
|
-
var clangInterfaceHeader = (header) => header.replace(/^@import (?:UIKitCore|UIKitText);$/gm, "@import UIKit;").replace(
|
|
18041
|
-
/^@import (?:CoreFoundation|FoundationNetworking);$/gm,
|
|
18041
|
+
var clangInterfaceHeader = (header) => header.replace(/^@import (?:UIKitCore|UIKitText);$/gm, "@import UIKit;").replace(/^@import (\w+?)(?:Enums|Constants);$/gm, "@import $1;").replace(
|
|
18042
|
+
/^@import (?:CoreFoundation|FoundationNetworking|PeachFoundation);$/gm,
|
|
18042
18043
|
"@import Foundation;"
|
|
18043
18044
|
).replace(/\b_TtC10Foundation\d+(NS\w+)\b/g, "$1").replace(/\b__attribute__\(\(objc_subclassing_restricted\)\)\s*/g, "");
|
|
18044
18045
|
var objcEnumerations = (header) => [
|
|
@@ -18465,7 +18466,7 @@ var SWIFT_IMPORT = /^\s*(?:@\w+(?:\([^)]*\))?\s+|(?:public|package|internal|file
|
|
|
18465
18466
|
var kleeneNot = (value) => value === void 0 ? void 0 : !value;
|
|
18466
18467
|
var kleeneAnd = (left, right) => left === false || right === false ? false : left === true && right === true ? true : void 0;
|
|
18467
18468
|
var kleeneOr = (left, right) => left === true || right === true ? true : left === false && right === false ? false : void 0;
|
|
18468
|
-
function swiftCondition(text5, available) {
|
|
18469
|
+
function swiftCondition(text5, available, defines) {
|
|
18469
18470
|
const tokens2 = text5.match(/\w+\s*\([^()]*\)|&&|\|\||!|\(|\)|\w+/g) ?? [];
|
|
18470
18471
|
let index = 0;
|
|
18471
18472
|
const atom = () => {
|
|
@@ -18478,6 +18479,7 @@ function swiftCondition(text5, available) {
|
|
|
18478
18479
|
}
|
|
18479
18480
|
if (token === "true") return true;
|
|
18480
18481
|
if (token === "false") return false;
|
|
18482
|
+
if (defines && /^[A-Za-z_]\w*$/.test(token ?? "")) return defines.has(token);
|
|
18481
18483
|
const call = /^(\w+)\s*\(\s*([^,()]*?)\s*(?:,[^()]*)?\)$/.exec(token ?? "");
|
|
18482
18484
|
if (!call) return void 0;
|
|
18483
18485
|
const [, name3, argument2] = call;
|
|
@@ -18506,7 +18508,7 @@ function swiftCondition(text5, available) {
|
|
|
18506
18508
|
};
|
|
18507
18509
|
return either();
|
|
18508
18510
|
}
|
|
18509
|
-
function* swiftConditionalLines(contents2, available) {
|
|
18511
|
+
function* swiftConditionalLines(contents2, available, defines) {
|
|
18510
18512
|
const frames = [];
|
|
18511
18513
|
for (const line of swiftCodeMask(contents2).split("\n")) {
|
|
18512
18514
|
const directive = /^\s*#(if|elseif|else|endif)\b(.*)$/.exec(line);
|
|
@@ -18514,12 +18516,12 @@ function* swiftConditionalLines(contents2, available) {
|
|
|
18514
18516
|
const [, kind, rest] = directive;
|
|
18515
18517
|
const condition = (rest ?? "").replace(/\/\/.*$/, "").trim();
|
|
18516
18518
|
if (kind === "if") {
|
|
18517
|
-
const active = swiftCondition(condition, available);
|
|
18519
|
+
const active = swiftCondition(condition, available, defines);
|
|
18518
18520
|
frames.push({ active, taken: active });
|
|
18519
18521
|
} else if (kind === "endif") frames.pop();
|
|
18520
18522
|
else if (frames.length > 0) {
|
|
18521
18523
|
const frame = frames[frames.length - 1];
|
|
18522
|
-
const holds = kind === "else" ? true : swiftCondition(condition, available);
|
|
18524
|
+
const holds = kind === "else" ? true : swiftCondition(condition, available, defines);
|
|
18523
18525
|
frame.active = frame.taken === true ? false : frame.taken === false ? holds : holds && void 0;
|
|
18524
18526
|
frame.taken = frame.taken === true || holds === true ? true : frame.taken === false ? holds : void 0;
|
|
18525
18527
|
}
|
|
@@ -18973,7 +18975,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
18973
18975
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
18974
18976
|
var MULTI_MANIFEST_VERSION = 72;
|
|
18975
18977
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
18976
|
-
var compilerSourceDigest = true ? "
|
|
18978
|
+
var compilerSourceDigest = true ? "5ed6ce65e80a661269e2ae1a70eb7df501b75d5c5fd45c3cfc87cf1db220d611" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
18977
18979
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
18978
18980
|
const hash = (0, import_node_crypto15.createHash)("sha256");
|
|
18979
18981
|
hash.update(`swift-compile
|
|
@@ -19440,6 +19442,17 @@ function emitSwiftPackageManifest(args) {
|
|
|
19440
19442
|
...args.nativeHeaderFlags ?? []
|
|
19441
19443
|
];
|
|
19442
19444
|
const owner = targets.find((target) => target.name === name3);
|
|
19445
|
+
const context = /* @__PURE__ */ new Set();
|
|
19446
|
+
const visit = (dependency) => {
|
|
19447
|
+
if (context.has(dependency)) return;
|
|
19448
|
+
context.add(dependency);
|
|
19449
|
+
for (const next of siblings.get(dependency) ?? []) visit(next);
|
|
19450
|
+
};
|
|
19451
|
+
if (native.mixed)
|
|
19452
|
+
for (const dependency of siblings.get(name3) ?? []) visit(dependency);
|
|
19453
|
+
const contextFlags = [...context].flatMap(
|
|
19454
|
+
(dependency) => args.native?.get(dependency)?.importFlags ?? []
|
|
19455
|
+
);
|
|
19443
19456
|
return late ? (native.groups ?? [
|
|
19444
19457
|
{
|
|
19445
19458
|
name: late.name,
|
|
@@ -19454,9 +19467,9 @@ function emitSwiftPackageManifest(args) {
|
|
|
19454
19467
|
` path: ${JSON.stringify(group.path)},`,
|
|
19455
19468
|
` sources: ${JSON.stringify(group.sources)},`,
|
|
19456
19469
|
` publicHeadersPath: ${JSON.stringify(native.groups ? "include" : "PeachSwiftImplementation")},`,
|
|
19457
|
-
` cSettings: [${macroSettings(owner?.cDefines)}${declaredClangSettings(owner, "c")} .unsafeFlags(${flagArray(targetCFlags([...nativeFlags, "-I", native.includeDirectory, ...args.headerDirectory ? ["-I", args.headerDirectory] : [], ...group.flags]))})],`,
|
|
19470
|
+
` cSettings: [${macroSettings(owner?.cDefines)}${declaredClangSettings(owner, "c")} .unsafeFlags(${flagArray(targetCFlags([...nativeFlags, "-I", native.includeDirectory, ...args.headerDirectory ? ["-I", args.headerDirectory] : [], ...group.flags, ...contextFlags]))})],`,
|
|
19458
19471
|
...group.sources.some((source) => /\.(?:cc|cpp|cxx|mm)$/.test(source)) ? [
|
|
19459
|
-
` cxxSettings: [${macroSettings(owner?.cxxDefines)}${declaredClangSettings(owner, "cxx")} .unsafeFlags(${flagArray(targetCxxFlags([...cxxFlagsFor(nativeFlags), "-I", native.includeDirectory, ...group.cxxFlags]))})]),`
|
|
19472
|
+
` cxxSettings: [${macroSettings(owner?.cxxDefines)}${declaredClangSettings(owner, "cxx")} .unsafeFlags(${flagArray(targetCxxFlags([...cxxFlagsFor(nativeFlags), "-I", native.includeDirectory, ...group.cxxFlags, ...contextFlags]))})]),`
|
|
19460
19473
|
] : [" ),"]
|
|
19461
19474
|
]) : [];
|
|
19462
19475
|
}),
|
|
@@ -20322,8 +20335,8 @@ function swiftApplicationEntry(file, source) {
|
|
|
20322
20335
|
}
|
|
20323
20336
|
return false;
|
|
20324
20337
|
}
|
|
20325
|
-
function swiftTypedApplicationEntry(source) {
|
|
20326
|
-
const code = [...swiftConditionalLines(swiftCodeMask(source))].map(({ line, active }) => active === false ? " ".repeat(line.length) : line).join("\n");
|
|
20338
|
+
function swiftTypedApplicationEntry(source, defines) {
|
|
20339
|
+
const code = [...swiftConditionalLines(swiftCodeMask(source), void 0, defines)].map(({ line, active }) => active === false ? " ".repeat(line.length) : line).join("\n");
|
|
20327
20340
|
const match = /@main\b[\s\S]*?\b(?:struct|class|enum)\s+([A-Za-z_]\w*)/.exec(code);
|
|
20328
20341
|
return match ? { index: match.index, name: match[1] } : null;
|
|
20329
20342
|
}
|
|
@@ -20955,9 +20968,9 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
20955
20968
|
clangImportedModules.add(name3);
|
|
20956
20969
|
}
|
|
20957
20970
|
}
|
|
20958
|
-
const
|
|
20971
|
+
const submoduleImports2 = submoduleImports(
|
|
20959
20972
|
Object.entries(input.files).flatMap(
|
|
20960
|
-
([file, contents2]) =>
|
|
20973
|
+
([file, contents2]) => /\.(?:swift|h|m|mm)$/.test(file) ? [contents2.toString()] : []
|
|
20961
20974
|
)
|
|
20962
20975
|
);
|
|
20963
20976
|
const headerDirectory = import_node_path30.default.join(layout2.root, ".build", "peach-cxx-headers");
|
|
@@ -21348,7 +21361,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
21348
21361
|
const moduleContents = originalModuleMap ? input.files[originalModuleMap[1]] : swiftpmModuleMap?.contents ?? packageModuleMap?.[1] ?? swiftObjCModuleMap(
|
|
21349
21362
|
swiftTargetModuleName(target.name),
|
|
21350
21363
|
roots2.map((file) => import_node_path30.default.join(layout2.root, file)),
|
|
21351
|
-
|
|
21364
|
+
submoduleImports2.get(swiftTargetModuleName(target.name))
|
|
21352
21365
|
);
|
|
21353
21366
|
if (moduleContents === void 0)
|
|
21354
21367
|
throw new Error("missing original module map " + modulemap);
|
|
@@ -21690,7 +21703,7 @@ module ${moduleName}.Swift {
|
|
|
21690
21703
|
` : swiftObjCModuleMap(
|
|
21691
21704
|
moduleName,
|
|
21692
21705
|
(input.nativeTargets?.find((target) => target.name === name3)?.publicHeaders ?? []).map((header) => import_node_path30.default.join(layout2.root, header)),
|
|
21693
|
-
|
|
21706
|
+
submoduleImports2.get(moduleName),
|
|
21694
21707
|
import_node_path30.default.join(headerDirectory, name3 + "-Swift.h")
|
|
21695
21708
|
)
|
|
21696
21709
|
);
|
|
@@ -21778,7 +21791,7 @@ module ${moduleName}.Swift {
|
|
|
21778
21791
|
)
|
|
21779
21792
|
);
|
|
21780
21793
|
const mains = entries.flatMap(([file, source]) => {
|
|
21781
|
-
const entry = swiftTypedApplicationEntry(source);
|
|
21794
|
+
const entry = swiftTypedApplicationEntry(source, new Set(target.defines ?? []));
|
|
21782
21795
|
return entry ? [{ file, source, ...entry }] : [];
|
|
21783
21796
|
});
|
|
21784
21797
|
let entryFile = "";
|
|
@@ -25306,6 +25319,21 @@ function defaultValue(model, member, type) {
|
|
|
25306
25319
|
if (scanned) return scanned;
|
|
25307
25320
|
refuse2(model, `${member.attrs.name} has the ${type} default ${JSON.stringify(text5)}`);
|
|
25308
25321
|
}
|
|
25322
|
+
function range(model, member, type) {
|
|
25323
|
+
const bounds = [
|
|
25324
|
+
[member.attrs.minValueString, 3, 1620],
|
|
25325
|
+
[member.attrs.maxValueString, 1, 1610]
|
|
25326
|
+
];
|
|
25327
|
+
return bounds.flatMap(([text5, operator, warning]) => {
|
|
25328
|
+
if (text5 === void 0) return [];
|
|
25329
|
+
if (type.startsWith("Integer ") && /^-?\d+$/.test(text5) || (type === "Double" || type === "Float") && Number.isFinite(Number(text5)))
|
|
25330
|
+
return [{ operator, value: Number(text5), warning }];
|
|
25331
|
+
refuse2(
|
|
25332
|
+
model,
|
|
25333
|
+
`${member.attrs.name} has the ${type} range bound ${JSON.stringify(text5)}`
|
|
25334
|
+
);
|
|
25335
|
+
});
|
|
25336
|
+
}
|
|
25309
25337
|
var common = (source, member) => ({
|
|
25310
25338
|
name: member.attrs.name,
|
|
25311
25339
|
optional: yes(member.attrs.optional),
|
|
@@ -25324,6 +25352,8 @@ function attribute(source, member) {
|
|
|
25324
25352
|
"usesScalarValueType",
|
|
25325
25353
|
"customClassName",
|
|
25326
25354
|
"valueTransformerName",
|
|
25355
|
+
"minValueString",
|
|
25356
|
+
"maxValueString",
|
|
25327
25357
|
"indexed",
|
|
25328
25358
|
"versionHashModifier",
|
|
25329
25359
|
"elementID",
|
|
@@ -25338,18 +25368,18 @@ function attribute(source, member) {
|
|
|
25338
25368
|
if (!known)
|
|
25339
25369
|
refuse2(source.model, `${member.attrs.name} has the attribute type ${typeName}`);
|
|
25340
25370
|
const [type, className2] = known;
|
|
25341
|
-
if (member.attrs.customClassName !== void 0 && typeName !== "Transformable")
|
|
25342
|
-
refuse2(source.model, `${member.attrs.name} names a custom class for a ${typeName}`);
|
|
25343
25371
|
return {
|
|
25344
25372
|
kind: "attribute",
|
|
25345
25373
|
...common(source, member),
|
|
25346
25374
|
transient: yes(member.attrs.transient),
|
|
25347
25375
|
type,
|
|
25348
|
-
|
|
25376
|
+
// momc archives a custom class as the value class of any attribute type
|
|
25377
|
+
className: member.attrs.customClassName ?? className2,
|
|
25349
25378
|
defaultValue: defaultValue(source.model, member, typeName),
|
|
25350
25379
|
transformer: member.attrs.valueTransformerName ?? null,
|
|
25351
25380
|
flags: (yes(member.attrs.allowsExternalBinaryDataStorage) ? EXTERNAL_BINARY : 0) | (yes(member.attrs.preserveAfterDeletion) ? PRESERVE_AFTER_DELETION : 0),
|
|
25352
|
-
cloudEncryption: yes(member.attrs.allowsCloudEncryption)
|
|
25381
|
+
cloudEncryption: yes(member.attrs.allowsCloudEncryption),
|
|
25382
|
+
range: range(source.model, member, typeName)
|
|
25353
25383
|
};
|
|
25354
25384
|
}
|
|
25355
25385
|
function relationship(source, member) {
|
|
@@ -25402,6 +25432,7 @@ function entity(source, tag) {
|
|
|
25402
25432
|
"attribute",
|
|
25403
25433
|
"relationship",
|
|
25404
25434
|
"fetchIndex",
|
|
25435
|
+
"compoundIndexes",
|
|
25405
25436
|
"uniquenessConstraints",
|
|
25406
25437
|
"userInfo"
|
|
25407
25438
|
]);
|
|
@@ -25434,6 +25465,23 @@ function entity(source, tag) {
|
|
|
25434
25465
|
elements: [{ property, ascending: true }],
|
|
25435
25466
|
owned: source.tools >= 9
|
|
25436
25467
|
});
|
|
25468
|
+
const compound = tag.children.filter((child) => child.name === "compoundIndexes").flatMap((group) => {
|
|
25469
|
+
checkChildren(source.model, group, ["compoundIndex"]);
|
|
25470
|
+
return group.children;
|
|
25471
|
+
});
|
|
25472
|
+
if (compound.length > 0 && source.tools < 9)
|
|
25473
|
+
refuse2(source.model, `${tag.attrs.name} has compound indexes before xcode 9`);
|
|
25474
|
+
compound.forEach((index, at) => {
|
|
25475
|
+
checkChildren(source.model, index, ["index"]);
|
|
25476
|
+
indexes.push({
|
|
25477
|
+
name: `compoundIndex${at === 0 ? "" : at}`,
|
|
25478
|
+
elements: index.children.map((element) => {
|
|
25479
|
+
checkAttributes(source.model, element, ["value"]);
|
|
25480
|
+
return { property: element.attrs.value, ascending: true };
|
|
25481
|
+
}),
|
|
25482
|
+
owned: true
|
|
25483
|
+
});
|
|
25484
|
+
});
|
|
25437
25485
|
const uniqueness = tag.children.filter((child) => child.name === "uniquenessConstraints").flatMap((group) => {
|
|
25438
25486
|
checkChildren(source.model, group, ["uniquenessConstraint"]);
|
|
25439
25487
|
return group.children.map((constraint) => {
|
|
@@ -25499,6 +25547,14 @@ var classChains = {
|
|
|
25499
25547
|
NSMutableArray: ["NSMutableArray", "NSArray", "NSObject"],
|
|
25500
25548
|
NSSet: ["NSSet", "NSObject"],
|
|
25501
25549
|
NSDate: ["NSDate", "NSObject"],
|
|
25550
|
+
NSComparisonPredicate: ["NSComparisonPredicate", "NSPredicate", "NSObject"],
|
|
25551
|
+
NSComparisonPredicateOperator: [
|
|
25552
|
+
"NSComparisonPredicateOperator",
|
|
25553
|
+
"NSPredicateOperator",
|
|
25554
|
+
"NSObject"
|
|
25555
|
+
],
|
|
25556
|
+
NSSelfExpression: ["NSSelfExpression", "NSExpression", "NSObject"],
|
|
25557
|
+
NSConstantValueExpression: ["NSConstantValueExpression", "NSExpression", "NSObject"],
|
|
25502
25558
|
NSDecimalNumberPlaceholder: [
|
|
25503
25559
|
"NSDecimalNumberPlaceholder",
|
|
25504
25560
|
"NSDecimalNumber",
|
|
@@ -25579,8 +25635,16 @@ function archiveModel(model) {
|
|
|
25579
25635
|
for (const property of item.properties)
|
|
25580
25636
|
propertyIndex.set(`${item.name}.${property.name}`, archive.reserve());
|
|
25581
25637
|
const entityUid = (name3) => uid(entityIndex.get(name3));
|
|
25638
|
+
const byName = new Map(model.entities.map((item) => [item.name, item]));
|
|
25639
|
+
const relationships = (item) => [
|
|
25640
|
+
...item.parent === null ? [] : relationships(byName.get(item.parent)),
|
|
25641
|
+
...item.properties.flatMap(
|
|
25642
|
+
(property) => property.kind === "relationship" ? [property.name] : []
|
|
25643
|
+
)
|
|
25644
|
+
];
|
|
25582
25645
|
for (const item of model.entities) {
|
|
25583
25646
|
const self = entityUid(item.name);
|
|
25647
|
+
const related = relationships(item);
|
|
25584
25648
|
const properties = item.properties.map((property) => {
|
|
25585
25649
|
const index = propertyIndex.get(`${item.name}.${property.name}`);
|
|
25586
25650
|
const shared = {
|
|
@@ -25602,7 +25666,45 @@ function archiveModel(model) {
|
|
|
25602
25666
|
NSFlagsKey: property.flags,
|
|
25603
25667
|
NSValueTransformerName: archive.string(property.transformer),
|
|
25604
25668
|
...property.transient ? { NSIsTransient: true } : {},
|
|
25605
|
-
...property.cloudEncryption ? { NSAllowsCloudEncryption: true } : {}
|
|
25669
|
+
...property.cloudEncryption ? { NSAllowsCloudEncryption: true } : {},
|
|
25670
|
+
...property.range.length > 0 ? {
|
|
25671
|
+
NSValidationPredicates: archive.array(
|
|
25672
|
+
property.range.map(
|
|
25673
|
+
(bound) => archive.fill(archive.reserve(), "NSComparisonPredicate", {
|
|
25674
|
+
NSLeftExpression: archive.fill(
|
|
25675
|
+
archive.reserve(),
|
|
25676
|
+
"NSSelfExpression",
|
|
25677
|
+
{
|
|
25678
|
+
NSExpressionType: 1
|
|
25679
|
+
}
|
|
25680
|
+
),
|
|
25681
|
+
NSPredicateOperator: archive.fill(
|
|
25682
|
+
archive.reserve(),
|
|
25683
|
+
"NSComparisonPredicateOperator",
|
|
25684
|
+
{
|
|
25685
|
+
NSModifier: 0,
|
|
25686
|
+
NSOperatorType: bound.operator,
|
|
25687
|
+
NSOptions: 0,
|
|
25688
|
+
NSVariant: bound.operator
|
|
25689
|
+
}
|
|
25690
|
+
),
|
|
25691
|
+
NSRightExpression: archive.fill(
|
|
25692
|
+
archive.reserve(),
|
|
25693
|
+
"NSConstantValueExpression",
|
|
25694
|
+
{
|
|
25695
|
+
NSConstantValue: archive.add(bound.value),
|
|
25696
|
+
NSExpressionType: 0
|
|
25697
|
+
}
|
|
25698
|
+
)
|
|
25699
|
+
})
|
|
25700
|
+
),
|
|
25701
|
+
"NSArray"
|
|
25702
|
+
),
|
|
25703
|
+
NSValidationWarnings: archive.array(
|
|
25704
|
+
property.range.map((bound) => archive.add(bound.warning)),
|
|
25705
|
+
"NSArray"
|
|
25706
|
+
)
|
|
25707
|
+
} : {}
|
|
25606
25708
|
})
|
|
25607
25709
|
];
|
|
25608
25710
|
const destination = model.entities.find(
|
|
@@ -25626,7 +25728,9 @@ function archiveModel(model) {
|
|
|
25626
25728
|
});
|
|
25627
25729
|
const indexes = item.indexes.length === 0 ? {} : {
|
|
25628
25730
|
NSCompoundIndexes: archive.array(
|
|
25629
|
-
item.indexes.filter(
|
|
25731
|
+
item.indexes.filter(
|
|
25732
|
+
(index) => index.elements.length >= 2 && !index.elements.some((element) => related.includes(element.property))
|
|
25733
|
+
).map(
|
|
25630
25734
|
(index) => archive.array(
|
|
25631
25735
|
index.elements.map((element) => archive.add(element.property))
|
|
25632
25736
|
)
|
|
@@ -27324,7 +27428,7 @@ function frameworkModules(paths) {
|
|
|
27324
27428
|
}
|
|
27325
27429
|
return [...modules].sort();
|
|
27326
27430
|
}
|
|
27327
|
-
async function
|
|
27431
|
+
async function range2(url, spec) {
|
|
27328
27432
|
const response = await fetch(url, {
|
|
27329
27433
|
headers: { range: `bytes=${spec}`, "accept-encoding": "identity" },
|
|
27330
27434
|
signal: AbortSignal.timeout(2e4)
|
|
@@ -27341,8 +27445,8 @@ async function range(url, spec) {
|
|
|
27341
27445
|
};
|
|
27342
27446
|
}
|
|
27343
27447
|
async function zipEntries(url) {
|
|
27344
|
-
const { total } = await
|
|
27345
|
-
const tail = await
|
|
27448
|
+
const { total } = await range2(url, "0-0");
|
|
27449
|
+
const tail = await range2(url, `${Math.max(0, total - 65558)}-${total - 1}`);
|
|
27346
27450
|
let end = tail.bytes.length - 22;
|
|
27347
27451
|
for (; end >= 0; end--)
|
|
27348
27452
|
if (tail.bytes.readUInt32LE(end) === 101010256 && end + 22 + tail.bytes.readUInt16LE(end + 20) === tail.bytes.length)
|
|
@@ -27355,11 +27459,11 @@ async function zipEntries(url) {
|
|
|
27355
27459
|
if (locator < 0 || tail.bytes.readUInt32LE(locator) !== 117853008)
|
|
27356
27460
|
throw new Error(`${url} has no zip64 locator`);
|
|
27357
27461
|
const recordAt = Number(tail.bytes.readBigUInt64LE(locator + 8));
|
|
27358
|
-
const record2 = recordAt >= tail.start ? tail.bytes.subarray(recordAt - tail.start) : (await
|
|
27462
|
+
const record2 = recordAt >= tail.start ? tail.bytes.subarray(recordAt - tail.start) : (await range2(url, `${recordAt}-${recordAt + 55}`)).bytes;
|
|
27359
27463
|
size = Number(record2.readBigUInt64LE(40));
|
|
27360
27464
|
offset = Number(record2.readBigUInt64LE(48));
|
|
27361
27465
|
}
|
|
27362
|
-
const directory = offset >= tail.start ? tail.bytes.subarray(offset - tail.start, offset - tail.start + size) : (await
|
|
27466
|
+
const directory = offset >= tail.start ? tail.bytes.subarray(offset - tail.start, offset - tail.start + size) : (await range2(url, `${offset}-${offset + size - 1}`)).bytes;
|
|
27363
27467
|
const names = [];
|
|
27364
27468
|
for (let at = 0; at + 46 <= directory.length; ) {
|
|
27365
27469
|
if (directory.readUInt32LE(at) !== 33639248) break;
|
|
@@ -27413,7 +27517,7 @@ var import_node_fs36 = require("node:fs");
|
|
|
27413
27517
|
var import_node_path37 = require("node:path");
|
|
27414
27518
|
|
|
27415
27519
|
// src/swift-coverage/provenance.ts
|
|
27416
|
-
var 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":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","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":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"a19fe4c5e2efe18bbc3ece544ff2c8be660170d63274cccb0ab58e53083050e4","swift-package.ts":"851417572ca9aff699ad368bdc3ff05309b0256e483d40812b9c0beb869d0a5b","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"a0ef7c20a2bc2b7dbd98b9006a8b000b9b4f9708f1bcf0adad8aaf79ef253022","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"4a775ba92c7b23ce71dd6bb08c188c4bccd6e1ed500cc9fc7850030b945fc8d4","xcode-project.ts":"
|
|
27520
|
+
var 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":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","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":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"a19fe4c5e2efe18bbc3ece544ff2c8be660170d63274cccb0ab58e53083050e4","swift-package.ts":"851417572ca9aff699ad368bdc3ff05309b0256e483d40812b9c0beb869d0a5b","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"a0ef7c20a2bc2b7dbd98b9006a8b000b9b4f9708f1bcf0adad8aaf79ef253022","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"4a775ba92c7b23ce71dd6bb08c188c4bccd6e1ed500cc9fc7850030b945fc8d4","xcode-project.ts":"fea47e1e076b2cca23c8ac9037eced1d094e69d206df09c393979a5bd1d07a8a","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
27417
27521
|
|
|
27418
27522
|
// src/swift-coverage/xcode-asset-symbols.ts
|
|
27419
27523
|
var import_node_fs35 = require("node:fs");
|
|
@@ -31007,9 +31111,9 @@ function remoteVersionRequirement(entry) {
|
|
|
31007
31111
|
const major = text4(entry["up-to-next-major-version"]);
|
|
31008
31112
|
if (major !== void 0)
|
|
31009
31113
|
return { requirement: { kind: "upToNextMajorVersion", minimumVersion: major } };
|
|
31010
|
-
const
|
|
31011
|
-
if (
|
|
31012
|
-
const bounds =
|
|
31114
|
+
const range3 = text4(entry["version-range"]);
|
|
31115
|
+
if (range3 !== void 0) {
|
|
31116
|
+
const bounds = range3.split("..<");
|
|
31013
31117
|
const minimum2 = bounds[0];
|
|
31014
31118
|
const maximum2 = bounds[1];
|
|
31015
31119
|
if (bounds.length !== 2 || !minimum2 || !maximum2 || bounds[2] !== void 0)
|
|
@@ -32881,6 +32985,9 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
32881
32985
|
// xcode's Swift.xcspec defaults bare slash regex literals on before Swift 6
|
|
32882
32986
|
...swiftVersion < 6 && settings2("SWIFT_ENABLE_BARE_SLASH_REGEX") !== "NO" ? ["-enable-bare-slash-regex"] : [],
|
|
32883
32987
|
...packageName ? ["-package-name", packageName] : [],
|
|
32988
|
+
// as xcode passes it; the generated header then also carries
|
|
32989
|
+
// the module's internal @objc declarations
|
|
32990
|
+
...settings2("APPLICATION_EXTENSION_API_ONLY") === "YES" ? ["-application-extension"] : [],
|
|
32884
32991
|
...settingList(settings2("OTHER_SWIFT_FLAGS"))
|
|
32885
32992
|
],
|
|
32886
32993
|
includePaths: settingList(settings2("SWIFT_INCLUDE_PATHS")).map(absolute),
|
|
@@ -34699,7 +34806,7 @@ function sourceClosureDigest(srcDir, entrypoints, excludedFiles) {
|
|
|
34699
34806
|
return hash.digest("hex");
|
|
34700
34807
|
}
|
|
34701
34808
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
34702
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
34809
|
+
var STANDIN_SOURCE_DIGEST = true ? "3238b362649e49ccf332149bb0b343bb7ed657c3c8287e0a231bc7316974eb6e" : standinSourceDigest();
|
|
34703
34810
|
|
|
34704
34811
|
// src/swift-standins.ts
|
|
34705
34812
|
var import_node_child_process32 = require("node:child_process");
|
|
@@ -37206,9 +37313,9 @@ function functionDeclarations(ast, headers) {
|
|
|
37206
37313
|
if (Array.isArray(inner) && inner.some((child) => Reflect.get(child, "kind") === "CompoundStmt"))
|
|
37207
37314
|
continue;
|
|
37208
37315
|
const parameterless = !Array.isArray(inner) || !inner.some((child) => Reflect.get(child, "kind") === "ParmVarDecl");
|
|
37209
|
-
const
|
|
37316
|
+
const range3 = Reflect.get(decl, "range");
|
|
37210
37317
|
const offset = (end) => {
|
|
37211
|
-
const at = Reflect.get(
|
|
37318
|
+
const at = Reflect.get(range3, end);
|
|
37212
37319
|
const expansion = Reflect.get(at, "expansionLoc");
|
|
37213
37320
|
return Number(Reflect.get(expansion ?? at, "offset"));
|
|
37214
37321
|
};
|
|
@@ -42654,13 +42761,13 @@ async function serveSwiftPackageAsset(pathname, res) {
|
|
|
42654
42761
|
res.setHeader("cache-control", "public, max-age=31536000, immutable");
|
|
42655
42762
|
res.setHeader("content-type", "application/octet-stream");
|
|
42656
42763
|
res.setHeader("accept-ranges", "bytes");
|
|
42657
|
-
const
|
|
42658
|
-
if (!
|
|
42764
|
+
const range3 = /^bytes=(\d+)-(\d+)$/.exec(res.req?.headers.range ?? "");
|
|
42765
|
+
if (!range3) {
|
|
42659
42766
|
res.end(packed);
|
|
42660
42767
|
return true;
|
|
42661
42768
|
}
|
|
42662
|
-
const start = Number(
|
|
42663
|
-
const end = Math.min(Number(
|
|
42769
|
+
const start = Number(range3[1]);
|
|
42770
|
+
const end = Math.min(Number(range3[2]), packed.length - 1);
|
|
42664
42771
|
if (start > end) {
|
|
42665
42772
|
res.statusCode = 416;
|
|
42666
42773
|
res.setHeader("content-range", `bytes */${packed.length}`);
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2429 | (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;
|
|
@@ -3995,7 +3995,7 @@ var require_lib = __commonJS({
|
|
|
3995
3995
|
var runtime_companion_default;
|
|
3996
3996
|
var init_runtime_companion = __esm({
|
|
3997
3997
|
"runtime-companion.json"() {
|
|
3998
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
3998
|
+
runtime_companion_default = { abi: 1, sha256: "c3e71b5eaf9166fc3fdc4333c354332e1ff41e1a6c71b6814afebe7c7d14bf9b", file: "node/cli-c3e71b5eaf9166fc3fdc4333c354332e1ff41e1a6c71b6814afebe7c7d14bf9b.cjs" };
|
|
3999
3999
|
}
|
|
4000
4000
|
});
|
|
4001
4001
|
|
|
@@ -4382,7 +4382,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
4382
4382
|
var init_swift_standin_digest = __esm({
|
|
4383
4383
|
"src/swift-standin-digest.ts"() {
|
|
4384
4384
|
"use strict";
|
|
4385
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
4385
|
+
STANDIN_SOURCE_DIGEST = true ? "3238b362649e49ccf332149bb0b343bb7ed657c3c8287e0a231bc7316974eb6e" : standinSourceDigest();
|
|
4386
4386
|
}
|
|
4387
4387
|
});
|
|
4388
4388
|
|
|
@@ -4822,7 +4822,7 @@ var swiftCoverageProvenance;
|
|
|
4822
4822
|
var init_provenance = __esm({
|
|
4823
4823
|
"src/swift-coverage/provenance.ts"() {
|
|
4824
4824
|
"use strict";
|
|
4825
|
-
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":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","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":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"a19fe4c5e2efe18bbc3ece544ff2c8be660170d63274cccb0ab58e53083050e4","swift-package.ts":"851417572ca9aff699ad368bdc3ff05309b0256e483d40812b9c0beb869d0a5b","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"a0ef7c20a2bc2b7dbd98b9006a8b000b9b4f9708f1bcf0adad8aaf79ef253022","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"4a775ba92c7b23ce71dd6bb08c188c4bccd6e1ed500cc9fc7850030b945fc8d4","xcode-project.ts":"
|
|
4825
|
+
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":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","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":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"a19fe4c5e2efe18bbc3ece544ff2c8be660170d63274cccb0ab58e53083050e4","swift-package.ts":"851417572ca9aff699ad368bdc3ff05309b0256e483d40812b9c0beb869d0a5b","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"a0ef7c20a2bc2b7dbd98b9006a8b000b9b4f9708f1bcf0adad8aaf79ef253022","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"4a775ba92c7b23ce71dd6bb08c188c4bccd6e1ed500cc9fc7850030b945fc8d4","xcode-project.ts":"fea47e1e076b2cca23c8ac9037eced1d094e69d206df09c393979a5bd1d07a8a","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
4826
4826
|
}
|
|
4827
4827
|
});
|
|
4828
4828
|
|
|
@@ -5759,7 +5759,7 @@ var init_swift_compile = __esm({
|
|
|
5759
5759
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
5760
5760
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
5761
5761
|
).join("");
|
|
5762
|
-
compilerSourceDigest = true ? "
|
|
5762
|
+
compilerSourceDigest = true ? "5ed6ce65e80a661269e2ae1a70eb7df501b75d5c5fd45c3cfc87cf1db220d611" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
5763
5763
|
C_WORDS = new Set(
|
|
5764
5764
|
"auto bool break case char const continue default do double else enum extern false float for goto if inline int long register restrict return short signed sizeof static struct switch true typedef union unsigned void volatile while YES NO NULL nil Nil id self super instancetype".split(
|
|
5765
5765
|
" "
|
|
@@ -13636,7 +13636,6 @@ var NATIVE_STUB_PACKAGE_NAMES = [
|
|
|
13636
13636
|
"expo-updates",
|
|
13637
13637
|
"expo-vector-search",
|
|
13638
13638
|
"expo-video",
|
|
13639
|
-
"expo-video-metadata",
|
|
13640
13639
|
"expo-video-thumbnails",
|
|
13641
13640
|
"expo-web-browser",
|
|
13642
13641
|
"expo-wechat",
|
|
@@ -14209,6 +14208,7 @@ var NATIVE_RUNTIME_PACKAGE_NAMES = [
|
|
|
14209
14208
|
"@tamagui/native-registry",
|
|
14210
14209
|
"@uniswap/ethers-rs-mobile",
|
|
14211
14210
|
"@valora/react-native-keychain",
|
|
14211
|
+
"expo-video-metadata",
|
|
14212
14212
|
"react-native-app-control",
|
|
14213
14213
|
"react-native-blue-crypto",
|
|
14214
14214
|
"react-native-dynamic-theme",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2429 | (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,7 +1,7 @@
|
|
|
1
1
|
export declare const DISPLAY_SERVER_VERSION = 26;
|
|
2
2
|
export declare const DISPLAY_SERVER_MAJOR = 2;
|
|
3
|
-
export declare const DISPLAY_SERVER_MINOR =
|
|
4
|
-
export declare const DISPLAY_SERVER_SUBPROTOCOL = "rnx.display-server.v2.wire26.
|
|
3
|
+
export declare const DISPLAY_SERVER_MINOR = 36;
|
|
4
|
+
export declare const DISPLAY_SERVER_SUBPROTOCOL = "rnx.display-server.v2.wire26.minor36";
|
|
5
5
|
export declare const DISPLAY_SERVER_TOKEN_SUBPROTOCOL_PREFIX = "rnx.sim-token.";
|
|
6
6
|
export declare const RNX_CLOUD_DISPLAY_GRANT_TTL_MS: number;
|
|
7
7
|
export declare const RNX_CLOUD_DISPLAY_CLOSE: {
|
|
@@ -32,6 +32,7 @@ import type { WorkerStorageSyncMessage } from './worker-storage.d.ts';
|
|
|
32
32
|
import type { WorkletPeerEpoch } from './worklet-runtime.d.ts';
|
|
33
33
|
import type { UiRpcMailboxes } from './worklet-sab.d.ts';
|
|
34
34
|
import type { WorkletMessage } from './worklet-wire.d.ts';
|
|
35
|
+
import type { SootSimLocationFix } from '../../../peach-globals/src/index.d.ts';
|
|
35
36
|
import type { SootsimBootMark } from '../../../peach-globals/src/index.d.ts';
|
|
36
37
|
import type { PeachPageServingAuthority, SootSimAccessibilityInput } from '../../../peach-globals/src/index.d.ts';
|
|
37
38
|
import type { SootSimAgentActionDetail, SootSimLaunchArguments } from '../../../peach-globals/src/index.d.ts';
|
|
@@ -195,6 +196,9 @@ export type HostToWorker = {
|
|
|
195
196
|
} | {
|
|
196
197
|
type: 'setReactNativeConfiguration';
|
|
197
198
|
configuration: ReactNativeConfigurationSnapshot;
|
|
199
|
+
} | {
|
|
200
|
+
type: 'setSimulatedLocation';
|
|
201
|
+
location: SootSimLocationFix | null;
|
|
198
202
|
} | {
|
|
199
203
|
type: 'dispatchWindowEvent';
|
|
200
204
|
eventType: ForwardedWindowEventType;
|
|
@@ -737,6 +741,9 @@ export type WorkerToHost = {
|
|
|
737
741
|
type: 'remoteDeviceConfiguration';
|
|
738
742
|
configuration: ReactNativeConfigurationSnapshot;
|
|
739
743
|
systemColorScheme: 'light' | 'dark';
|
|
744
|
+
} | {
|
|
745
|
+
type: 'remoteDeviceLocation';
|
|
746
|
+
location: SootSimLocationFix | null;
|
|
740
747
|
} | {
|
|
741
748
|
type: 'replayDevice';
|
|
742
749
|
posture: DevicePosture | null;
|
|
@@ -12,6 +12,7 @@ import type { SootSimHostStorageBridge } from './hostStorageBridgeContract.d.ts'
|
|
|
12
12
|
import type { SootSimImagePickerBridge, SootSimImageCropperBridge } from './imagePickerBridgeContract.d.ts';
|
|
13
13
|
import type { SootSimInteractBridge } from './interactionBridgeContract.d.ts';
|
|
14
14
|
import type { SootSimKeyboardBridge } from './keyboardBridgeContract.d.ts';
|
|
15
|
+
import type { SootSimLocationBridge } from './locationBridgeContract.d.ts';
|
|
15
16
|
import type { SootSimLockstepCaptureBridge } from './lockstepCaptureBridgeContract.d.ts';
|
|
16
17
|
import type { SootSimNavigationRoutesBridge, SootSimLinkingDispatcherBridge } from './navigationBridgeContract.d.ts';
|
|
17
18
|
import type { SootSimInspectInfo, SootSimDeviceSpec } from './nodeContract.d.ts';
|
|
@@ -116,6 +117,7 @@ export interface SootSimBridges {
|
|
|
116
117
|
previewRecorder: SootSimPreviewRecorder | null;
|
|
117
118
|
portalManager: SootSimPortalManager | null;
|
|
118
119
|
settings: SootSimSettingsBridge | null;
|
|
120
|
+
location: SootSimLocationBridge | null;
|
|
119
121
|
windowScale: SootSimWindowScaleBridge | null;
|
|
120
122
|
electron: SootSimElectronBridge | null;
|
|
121
123
|
shellHost: SootSimShellHostBridge | null;
|
|
@@ -40,6 +40,7 @@ export type { LockstepFramePosition, PointerDeliveryTarget, PointerDeliveryPendi
|
|
|
40
40
|
export type { SootSimLaunchArguments, SootSimExternalAppLifecycleOptions, SootSimStorageResetStrategy, SootSimExternalAppResetOptions, SootSimExternalAppResetResult, SootSimExternalAppStorageClearOptions, SootSimWebStorageName, SootSimHotRemountBridge, } from './appLifecycleBridgeContract.d.ts';
|
|
41
41
|
export { PEACH_FINAL_LAUNCH_GLOBAL } from './appLifecycleBridgeContract.d.ts';
|
|
42
42
|
export type { SootSimSettingsBridge } from './settingsBridgeContract.d.ts';
|
|
43
|
+
export type { SootSimLocationFix, SootSimLocationResult, SootSimLocationBridge, } from './locationBridgeContract.d.ts';
|
|
43
44
|
export { SOOTSIM_CAPTURE_IMAGE_QUALITY, sootsimCaptureIsFlat, } from './captureBridgeContract.d.ts';
|
|
44
45
|
export type { SootSimCaptureFilter, SootSimCaptureOptions } from './captureBridgeContract.d.ts';
|
|
45
46
|
export { SOOTSIM_TIMELINE_KINDS, isTimelineKind, isTimelineEvent, } from './timelineBridgeContract.d.ts';
|