peachsim 0.1.2421 → 0.1.2423
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/command-agent.ts +14 -15
- package/cli/commands/box.ts +33 -28
- package/cli/commands/canvas.ts +54 -0
- package/cli/commands/platform.ts +28 -27
- package/cli/commands/preview.ts +2 -1
- package/cli/outbound-endpoints.ts +3 -0
- 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 +4318 -3937
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +22 -1
- package/dist-lib/cloud-contract.mjs +20 -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 +27 -13
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +3343 -2962
- 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 +4200 -3819
- package/dist-lib/host/fetch-proxy-handler.cjs +25 -4
- 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 +88 -53
- 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 +25 -4
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +231 -212
- 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 +30 -25
- package/dist-lib/public-origins-lib.json +78 -56
- 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 +4990 -4586
- package/dist-lib/swift-compile.cjs +1261 -889
- package/dist-lib/swift-compile.mjs +1231 -849
- 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 +2712 -2348
- package/dist-lib/vite.cjs +25 -4
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +83 -2
- package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +0 -10
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/layer-claims.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +9 -0
- package/dist-types/packages/peach-globals/src/canvasAgentContract.d.ts +8 -0
- package/dist-types/packages/peach-globals/src/index.d.ts +4 -2
- package/dist-types/packages/peach-globals/src/replayBridgeContract.d.ts +12 -0
- package/dist-types/packages/peach-globals/src/sceneStreamBridgeContract.d.ts +5 -1
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes +2 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStore.h +2 -0
- package/sdk/ios/wasm/include/errno.h +10 -0
- package/src/agent-daemon-client.ts +1 -1
- package/src/agent-prompt.ts +1 -8
- package/src/canvas-agent-note-delivery.ts +2 -5
- package/src/canvas-groups.ts +11 -3
- package/src/cloud-contract.ts +31 -1
- package/src/expo-kotlin-bundle.ts +1 -1
- package/src/native-static-libraries.ts +51 -4
- package/src/swift-compile.ts +184 -108
- package/src/swift-compiler-digest.ts +2 -0
- package/src/swift-guest-compile.ts +2 -0
- package/src/swift-guest-source-inputs.ts +2 -2
- package/src/swift-header-compiler.ts +185 -0
- package/src/swift-header-dependencies.ts +174 -0
- package/src/swift-objc-compile.ts +18 -24
- package/src/vite-plugin.ts +4 -1
- package/dist-types/packages/peach-engine/src/render-worker/accessibilityHostContract.d.ts +0 -65
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2423 | (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;
|
|
@@ -294,7 +294,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
294
294
|
var init_swift_standin_digest = __esm({
|
|
295
295
|
"src/swift-standin-digest.ts"() {
|
|
296
296
|
"use strict";
|
|
297
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
297
|
+
STANDIN_SOURCE_DIGEST = true ? "2913d6a693b8a1c42193c1962c3468c2f8bc68c78a2f2f52961ca5efe03d1e67" : standinSourceDigest();
|
|
298
298
|
}
|
|
299
299
|
});
|
|
300
300
|
|
|
@@ -2771,6 +2771,25 @@ var init_swift_guest_compile = __esm({
|
|
|
2771
2771
|
}
|
|
2772
2772
|
});
|
|
2773
2773
|
|
|
2774
|
+
// src/swift-header-compiler.ts
|
|
2775
|
+
var init_swift_header_compiler = __esm({
|
|
2776
|
+
"src/swift-header-compiler.ts"() {
|
|
2777
|
+
"use strict";
|
|
2778
|
+
init_forked_script_contract();
|
|
2779
|
+
init_is_record();
|
|
2780
|
+
init_write_build_file();
|
|
2781
|
+
}
|
|
2782
|
+
});
|
|
2783
|
+
|
|
2784
|
+
// src/swift-header-dependencies.ts
|
|
2785
|
+
var init_swift_header_dependencies = __esm({
|
|
2786
|
+
"src/swift-header-dependencies.ts"() {
|
|
2787
|
+
"use strict";
|
|
2788
|
+
init_swift_package();
|
|
2789
|
+
init_swiftContract();
|
|
2790
|
+
}
|
|
2791
|
+
});
|
|
2792
|
+
|
|
2774
2793
|
// ../peach-kit/src/wasm-memory.ts
|
|
2775
2794
|
var init_wasm_memory = __esm({
|
|
2776
2795
|
"../peach-kit/src/wasm-memory.ts"() {
|
|
@@ -2879,6 +2898,8 @@ var init_swift_compile = __esm({
|
|
|
2879
2898
|
init_swift_foundation();
|
|
2880
2899
|
init_swift_guest_compile();
|
|
2881
2900
|
init_swift_guest_source_inputs();
|
|
2901
|
+
init_swift_header_compiler();
|
|
2902
|
+
init_swift_header_dependencies();
|
|
2882
2903
|
init_swift_icu();
|
|
2883
2904
|
init_swift_link_roots();
|
|
2884
2905
|
init_swift_objc_import();
|
|
@@ -2972,7 +2993,7 @@ var init_swift_compile = __esm({
|
|
|
2972
2993
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
2973
2994
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
2974
2995
|
).join("");
|
|
2975
|
-
compilerSourceDigest = true ? "
|
|
2996
|
+
compilerSourceDigest = true ? "886349932526d72a5a1493acbcd1799ec941afd89998ad0eab64bbe9c48afb95" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
2976
2997
|
C_WORDS = new Set(
|
|
2977
2998
|
"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(
|
|
2978
2999
|
" "
|
|
@@ -13319,7 +13340,7 @@ var import_node_path10 = require("node:path");
|
|
|
13319
13340
|
init_src();
|
|
13320
13341
|
|
|
13321
13342
|
// runtime-companion.json
|
|
13322
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
13343
|
+
var runtime_companion_default = { abi: 1, sha256: "50f7ba9b5269b150a6bd2189f202e3cde6ecd829f705d24a70a88f13e6a92474", file: "node/cli-50f7ba9b5269b150a6bd2189f202e3cde6ecd829f705d24a70a88f13e6a92474.cjs" };
|
|
13323
13344
|
|
|
13324
13345
|
// src/cli-runtime.ts
|
|
13325
13346
|
init_answeredNativePackages();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2423 | (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.2423 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2423 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2423 | (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;
|
|
@@ -1173,7 +1173,7 @@ var init_src = __esm({
|
|
|
1173
1173
|
var runtime_companion_default;
|
|
1174
1174
|
var init_runtime_companion = __esm({
|
|
1175
1175
|
"runtime-companion.json"() {
|
|
1176
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
1176
|
+
runtime_companion_default = { abi: 1, sha256: "50f7ba9b5269b150a6bd2189f202e3cde6ecd829f705d24a70a88f13e6a92474", file: "node/cli-50f7ba9b5269b150a6bd2189f202e3cde6ecd829f705d24a70a88f13e6a92474.cjs" };
|
|
1177
1177
|
}
|
|
1178
1178
|
});
|
|
1179
1179
|
|
|
@@ -10559,7 +10559,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
10559
10559
|
var init_swift_standin_digest = __esm({
|
|
10560
10560
|
"src/swift-standin-digest.ts"() {
|
|
10561
10561
|
"use strict";
|
|
10562
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
10562
|
+
STANDIN_SOURCE_DIGEST = true ? "2913d6a693b8a1c42193c1962c3468c2f8bc68c78a2f2f52961ca5efe03d1e67" : standinSourceDigest();
|
|
10563
10563
|
}
|
|
10564
10564
|
});
|
|
10565
10565
|
|
|
@@ -10807,14 +10807,14 @@ function canonicalLabel(label, from) {
|
|
|
10807
10807
|
const { repo, pkg } = splitLabel(from);
|
|
10808
10808
|
return `${repo ? `@@${repo}` : ""}//${pkg}:${label.replace(/^:/, "")}`;
|
|
10809
10809
|
}
|
|
10810
|
-
function readBazelAppTarget(buildFile,
|
|
10811
|
-
if (!
|
|
10810
|
+
function readBazelAppTarget(buildFile, targetName, configurationName, options = {}) {
|
|
10811
|
+
if (!targetName)
|
|
10812
10812
|
throw new Error(
|
|
10813
10813
|
`${buildFile}: pass --target with the ios_application the bazel package builds`
|
|
10814
10814
|
);
|
|
10815
10815
|
const root = import_node_fs20.default.realpathSync.native(workspaceRoot(import_node_fs20.default.realpathSync.native(buildFile)));
|
|
10816
10816
|
const pkg = import_node_path20.default.relative(root, import_node_path20.default.dirname(import_node_fs20.default.realpathSync.native(buildFile)));
|
|
10817
|
-
const label = `//${pkg.split(import_node_path20.default.sep).join("/")}:${
|
|
10817
|
+
const label = `//${pkg.split(import_node_path20.default.sep).join("/")}:${targetName}`;
|
|
10818
10818
|
const configuration = configurationName ?? "Debug";
|
|
10819
10819
|
const graph = bazelGraph(root, label, configuration);
|
|
10820
10820
|
const files = new BazelFiles(graph, root);
|
|
@@ -11050,7 +11050,7 @@ ${published.map(
|
|
|
11050
11050
|
const appModule = {
|
|
11051
11051
|
...named,
|
|
11052
11052
|
id: idOf(graph.app),
|
|
11053
|
-
name:
|
|
11053
|
+
name: targetName,
|
|
11054
11054
|
targetIdentity: graph.app.label,
|
|
11055
11055
|
targetDependencies: [
|
|
11056
11056
|
...new Set(appParts.flatMap(({ module: module2 }) => module2.targetDependencies))
|
|
@@ -11339,7 +11339,7 @@ ${published.map(
|
|
|
11339
11339
|
{
|
|
11340
11340
|
id: appModule.id,
|
|
11341
11341
|
sourceTarget: appModule.moduleName,
|
|
11342
|
-
productName: `${
|
|
11342
|
+
productName: `${targetName}.app`,
|
|
11343
11343
|
productType: "com.apple.product-type.application",
|
|
11344
11344
|
installName: null,
|
|
11345
11345
|
buildVersion: { platform: "iphonesimulator", minimumOS, sdk: null },
|
|
@@ -11383,7 +11383,7 @@ ${published.map(
|
|
|
11383
11383
|
binaryFrameworks,
|
|
11384
11384
|
sdkFrameworks,
|
|
11385
11385
|
packageResolved: [],
|
|
11386
|
-
appTargets: [
|
|
11386
|
+
appTargets: [targetName],
|
|
11387
11387
|
configuration,
|
|
11388
11388
|
settings: (key) => key === "PRODUCT_MODULE_NAME" ? appModule.moduleName : key === "IPHONEOS_DEPLOYMENT_TARGET" ? minimumOS : key === "PRODUCT_BUNDLE_IDENTIFIER" ? graph.app.attrs.get("bundle_id")?.value ?? "" : "",
|
|
11389
11389
|
cocoapods: null
|
|
@@ -12478,7 +12478,7 @@ function parseBuildSettings(block) {
|
|
|
12478
12478
|
}
|
|
12479
12479
|
return settings;
|
|
12480
12480
|
}
|
|
12481
|
-
function appTargetReleaseSettings(pbxproj,
|
|
12481
|
+
function appTargetReleaseSettings(pbxproj, targetName, infoPlistRelativePath) {
|
|
12482
12482
|
const configurationPattern = /\/\* (Release|Debug) \*\/ = \{/g;
|
|
12483
12483
|
const candidates = [];
|
|
12484
12484
|
let match;
|
|
@@ -12499,7 +12499,7 @@ function appTargetReleaseSettings(pbxproj, targetName2, infoPlistRelativePath) {
|
|
|
12499
12499
|
const normalized = plist5.replace(/^"|"$/g, "");
|
|
12500
12500
|
return normalized === infoPlistRelativePath || infoPlistRelativePath.endsWith(`/${normalized}`) || normalized.endsWith(`/${infoPlistRelativePath}`);
|
|
12501
12501
|
};
|
|
12502
|
-
const named = (settings) => resolveBuildSetting(settings.PRODUCT_NAME ?? "", settings) ===
|
|
12502
|
+
const named = (settings) => resolveBuildSetting(settings.PRODUCT_NAME ?? "", settings) === targetName;
|
|
12503
12503
|
return candidates.find(
|
|
12504
12504
|
(candidate) => candidate.name === "Release" && plistMatch(candidate.settings)
|
|
12505
12505
|
)?.settings ?? candidates.find(
|
|
@@ -12543,31 +12543,31 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
|
|
|
12543
12543
|
applicationTargetNames.add(match[1]);
|
|
12544
12544
|
}
|
|
12545
12545
|
}
|
|
12546
|
-
let
|
|
12546
|
+
let targetName = null;
|
|
12547
12547
|
if (iosTarget) {
|
|
12548
12548
|
if (applicationTargetNames.has(iosTarget)) {
|
|
12549
|
-
|
|
12549
|
+
targetName = iosTarget;
|
|
12550
12550
|
} else {
|
|
12551
12551
|
return null;
|
|
12552
12552
|
}
|
|
12553
12553
|
} else if (applicationTargetNames.size === 1) {
|
|
12554
|
-
|
|
12554
|
+
targetName = [...applicationTargetNames][0];
|
|
12555
12555
|
} else if (applicationTargetNames.size > 1) {
|
|
12556
12556
|
const delegateTargets = Object.keys(files).filter((path37) => !path37.includes("/Pods/")).map((path37) => path37.match(APP_DELEGATE_PATH_RE)?.[1]).filter(
|
|
12557
12557
|
(name2) => typeof name2 === "string" && applicationTargetNames.has(name2)
|
|
12558
12558
|
);
|
|
12559
12559
|
if (delegateTargets.length === 1) {
|
|
12560
|
-
|
|
12560
|
+
targetName = delegateTargets[0];
|
|
12561
12561
|
} else {
|
|
12562
12562
|
return null;
|
|
12563
12563
|
}
|
|
12564
12564
|
} else {
|
|
12565
12565
|
return null;
|
|
12566
12566
|
}
|
|
12567
|
-
const selectedTarget = targets.find((t) => t.name ===
|
|
12567
|
+
const selectedTarget = targets.find((t) => t.name === targetName);
|
|
12568
12568
|
const settings = {
|
|
12569
|
-
TARGET_NAME:
|
|
12570
|
-
PRODUCT_NAME:
|
|
12569
|
+
TARGET_NAME: targetName,
|
|
12570
|
+
PRODUCT_NAME: targetName
|
|
12571
12571
|
};
|
|
12572
12572
|
for (const obj of Object.values(objects)) {
|
|
12573
12573
|
if (isRecord(obj) && obj.isa === "PBXProject" && typeof obj.buildConfigurationList === "string") {
|
|
@@ -12603,8 +12603,8 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
|
|
|
12603
12603
|
} else {
|
|
12604
12604
|
const legacy = appTargetReleaseSettings(
|
|
12605
12605
|
pbxproj,
|
|
12606
|
-
|
|
12607
|
-
`${
|
|
12606
|
+
targetName,
|
|
12607
|
+
`${targetName}/Info.plist`
|
|
12608
12608
|
);
|
|
12609
12609
|
if (legacy) Object.assign(settings, legacy);
|
|
12610
12610
|
}
|
|
@@ -12615,7 +12615,7 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
|
|
|
12615
12615
|
plist5 = files[`ios/${normalized}`] ?? files[normalized] ?? Object.entries(files).find(([k]) => k.endsWith(`/${normalized}`))?.[1];
|
|
12616
12616
|
}
|
|
12617
12617
|
if (!plist5) {
|
|
12618
|
-
plist5 = files[`ios/${
|
|
12618
|
+
plist5 = files[`ios/${targetName}/Info.plist`] ?? files[`${targetName}/Info.plist`] ?? Object.entries(files).find(([k]) => k.endsWith(`/${targetName}/Info.plist`))?.[1];
|
|
12619
12619
|
}
|
|
12620
12620
|
if (!plist5) return null;
|
|
12621
12621
|
const bundleIdentifier = identityFieldFrom(
|
|
@@ -12639,7 +12639,7 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
|
|
|
12639
12639
|
settings,
|
|
12640
12640
|
plistString(plist5, "CFBundleName"),
|
|
12641
12641
|
settings.PRODUCT_NAME
|
|
12642
|
-
) ?? resolvedIdentityField(resolveBuildSetting(settings.PRODUCT_NAME ?? "", settings)) ?? resolvedIdentityField(
|
|
12642
|
+
) ?? resolvedIdentityField(resolveBuildSetting(settings.PRODUCT_NAME ?? "", settings)) ?? resolvedIdentityField(targetName);
|
|
12643
12643
|
if (!bundleName) return null;
|
|
12644
12644
|
const applicationName = identityFieldFrom(settings, plistString(plist5, "CFBundleDisplayName"), void 0) ?? bundleName;
|
|
12645
12645
|
const dictionary = parseInfoPlist(plist5);
|
|
@@ -12805,7 +12805,7 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
|
|
|
12805
12805
|
}
|
|
12806
12806
|
const rootModuleName = readRootModuleName(
|
|
12807
12807
|
Object.entries(files).filter(
|
|
12808
|
-
([path37]) => !path37.includes("/Pods/") && (/(?:^|\/)(?:ios\/)?AppDelegate\.(?:swift|mm|m)$/.test(path37) || path37.match(APP_DELEGATE_PATH_RE)?.[1] ===
|
|
12808
|
+
([path37]) => !path37.includes("/Pods/") && (/(?:^|\/)(?:ios\/)?AppDelegate\.(?:swift|mm|m)$/.test(path37) || path37.match(APP_DELEGATE_PATH_RE)?.[1] === targetName)
|
|
12809
12809
|
).map(([, source]) => source)
|
|
12810
12810
|
);
|
|
12811
12811
|
return {
|
|
@@ -13748,6 +13748,25 @@ var init_swift_guest_compile = __esm({
|
|
|
13748
13748
|
}
|
|
13749
13749
|
});
|
|
13750
13750
|
|
|
13751
|
+
// src/swift-header-compiler.ts
|
|
13752
|
+
var init_swift_header_compiler = __esm({
|
|
13753
|
+
"src/swift-header-compiler.ts"() {
|
|
13754
|
+
"use strict";
|
|
13755
|
+
init_forked_script_contract();
|
|
13756
|
+
init_is_record();
|
|
13757
|
+
init_write_build_file();
|
|
13758
|
+
}
|
|
13759
|
+
});
|
|
13760
|
+
|
|
13761
|
+
// src/swift-header-dependencies.ts
|
|
13762
|
+
var init_swift_header_dependencies = __esm({
|
|
13763
|
+
"src/swift-header-dependencies.ts"() {
|
|
13764
|
+
"use strict";
|
|
13765
|
+
init_swift_package();
|
|
13766
|
+
init_swiftContract();
|
|
13767
|
+
}
|
|
13768
|
+
});
|
|
13769
|
+
|
|
13751
13770
|
// ../peach-kit/src/wasm-memory.ts
|
|
13752
13771
|
var init_wasm_memory = __esm({
|
|
13753
13772
|
"../peach-kit/src/wasm-memory.ts"() {
|
|
@@ -13856,6 +13875,8 @@ var init_swift_compile = __esm({
|
|
|
13856
13875
|
init_swift_foundation();
|
|
13857
13876
|
init_swift_guest_compile();
|
|
13858
13877
|
init_swift_guest_source_inputs();
|
|
13878
|
+
init_swift_header_compiler();
|
|
13879
|
+
init_swift_header_dependencies();
|
|
13859
13880
|
init_swift_icu();
|
|
13860
13881
|
init_swift_link_roots();
|
|
13861
13882
|
init_swift_objc_import();
|
|
@@ -13949,7 +13970,7 @@ var init_swift_compile = __esm({
|
|
|
13949
13970
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
13950
13971
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
13951
13972
|
).join("");
|
|
13952
|
-
compilerSourceDigest = true ? "
|
|
13973
|
+
compilerSourceDigest = true ? "886349932526d72a5a1493acbcd1799ec941afd89998ad0eab64bbe9c48afb95" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
13953
13974
|
C_WORDS = new Set(
|
|
13954
13975
|
"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(
|
|
13955
13976
|
" "
|
|
@@ -14424,10 +14445,10 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
14424
14445
|
phases.set(`id:${phaseId}`, phaseId);
|
|
14425
14446
|
}
|
|
14426
14447
|
}
|
|
14427
|
-
const phaseFiles = (reference,
|
|
14448
|
+
const phaseFiles = (reference, targetName) => {
|
|
14428
14449
|
const value = text2(reference);
|
|
14429
14450
|
if (value === void 0) return null;
|
|
14430
|
-
const key = value.startsWith("id:") || !
|
|
14451
|
+
const key = value.startsWith("id:") || !targetName ? value : `${targetName}/${value}`;
|
|
14431
14452
|
const phase = objects[phases.get(key) ?? ""];
|
|
14432
14453
|
return phase && typeof phase === "object" && !Array.isArray(phase) && Array.isArray(phase.files) ? phase.files : null;
|
|
14433
14454
|
};
|
|
@@ -15034,7 +15055,7 @@ function fileListEntries(file, absolute) {
|
|
|
15034
15055
|
}
|
|
15035
15056
|
function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
15036
15057
|
const { project, target, id: targetId } = ref;
|
|
15037
|
-
const
|
|
15058
|
+
const targetName = str2(target.name) ?? targetId;
|
|
15038
15059
|
const sources = /* @__PURE__ */ new Set();
|
|
15039
15060
|
const allSources = /* @__PURE__ */ new Set();
|
|
15040
15061
|
const headers = /* @__PURE__ */ new Set();
|
|
@@ -15107,7 +15128,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
15107
15128
|
for (const { file } of lists)
|
|
15108
15129
|
if (!import_node_fs23.default.existsSync(file))
|
|
15109
15130
|
throw new Error(
|
|
15110
|
-
`${
|
|
15131
|
+
`${targetName}: Run Script "${script}" missing file list ${file}`
|
|
15111
15132
|
);
|
|
15112
15133
|
const env = {
|
|
15113
15134
|
...process.env,
|
|
@@ -15203,7 +15224,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
15203
15224
|
const output2 = error instanceof Error ? `${error.message}
|
|
15204
15225
|
${"stdout" in error ? String(error.stdout) : ""}${"stderr" in error ? String(error.stderr) : ""}` : String(error);
|
|
15205
15226
|
throw new Error(
|
|
15206
|
-
`${
|
|
15227
|
+
`${targetName}: Run Script "${script}" failed preparing generated outputs:
|
|
15207
15228
|
${output2}`
|
|
15208
15229
|
);
|
|
15209
15230
|
}
|
|
@@ -15212,7 +15233,7 @@ ${output2}`
|
|
|
15212
15233
|
);
|
|
15213
15234
|
if (missing2.length > 0)
|
|
15214
15235
|
throw new Error(
|
|
15215
|
-
`${
|
|
15236
|
+
`${targetName}: Run Script "${script}" did not produce ${missing2.join(", ")}`
|
|
15216
15237
|
);
|
|
15217
15238
|
preparedSourcePhases.set(key, stamp);
|
|
15218
15239
|
preparedXcodePhase(
|
|
@@ -15244,7 +15265,7 @@ ${output2}`
|
|
|
15244
15265
|
if (options.requireSources === false) return;
|
|
15245
15266
|
const script = scriptForOutput.get(import_node_path25.default.normalize(file));
|
|
15246
15267
|
throw new Error(
|
|
15247
|
-
script ? `${
|
|
15268
|
+
script ? `${targetName}: missing generated source ${file} (Run Script "${script}" declares it in outputPaths; run the script or check in its output)` : `${targetName}: missing source ${file}`
|
|
15248
15269
|
);
|
|
15249
15270
|
}
|
|
15250
15271
|
allSources.add(file);
|
|
@@ -15267,7 +15288,7 @@ ${output2}`
|
|
|
15267
15288
|
);
|
|
15268
15289
|
if (runtimeInterfaceFiles.length > 0)
|
|
15269
15290
|
throw new Error(
|
|
15270
|
-
`${
|
|
15291
|
+
`${targetName}: Interface Builder compilation requires macOS and Xcode`
|
|
15271
15292
|
);
|
|
15272
15293
|
for (const file of interfaceFiles) resources.delete(file);
|
|
15273
15294
|
interfaceFiles.length = 0;
|
|
@@ -15283,7 +15304,7 @@ ${output2}`
|
|
|
15283
15304
|
import_node_path25.default.basename(file, import_node_path25.default.extname(file)) + extension
|
|
15284
15305
|
);
|
|
15285
15306
|
if (interfaceOutputs.has(output2))
|
|
15286
|
-
throw new Error(`${
|
|
15307
|
+
throw new Error(`${targetName}: duplicate Interface Builder output ${output2}`);
|
|
15287
15308
|
interfaceOutputs.add(output2);
|
|
15288
15309
|
const args = [
|
|
15289
15310
|
"ibtool",
|
|
@@ -15325,7 +15346,7 @@ ${output2}`
|
|
|
15325
15346
|
);
|
|
15326
15347
|
if (definitions.length > 0 && process.platform !== "darwin")
|
|
15327
15348
|
throw new Error(
|
|
15328
|
-
`${
|
|
15349
|
+
`${targetName}: intent definition code generation requires macOS and Xcode`
|
|
15329
15350
|
);
|
|
15330
15351
|
for (const definition of definitions) {
|
|
15331
15352
|
const configuredLanguage = settings("INTENTS_CODEGEN_LANGUAGE");
|
|
@@ -15570,8 +15591,8 @@ function readXcodeScheme(xcodeprojOrWorkspace, scheme) {
|
|
|
15570
15591
|
if (!name2) {
|
|
15571
15592
|
const declared = (project ? [project] : projects).flatMap(
|
|
15572
15593
|
(candidate) => projectTargets(candidate).flatMap((ref) => {
|
|
15573
|
-
const
|
|
15574
|
-
return
|
|
15594
|
+
const targetName = str2(ref.target.name);
|
|
15595
|
+
return targetName ? [targetName] : [];
|
|
15575
15596
|
})
|
|
15576
15597
|
);
|
|
15577
15598
|
throw new Error(
|
|
@@ -15656,9 +15677,9 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
15656
15677
|
);
|
|
15657
15678
|
return { xcodeproj, target, workspace: project.workspace };
|
|
15658
15679
|
}
|
|
15659
|
-
function readXcodeAppTarget(input,
|
|
15680
|
+
function readXcodeAppTarget(input, targetName, configurationName, options = {}) {
|
|
15660
15681
|
if (isBazelPackage(input))
|
|
15661
|
-
return readBazelAppTarget(input,
|
|
15682
|
+
return readBazelAppTarget(input, targetName, configurationName, options);
|
|
15662
15683
|
const xcodeprojOrWorkspace = import_node_fs23.default.realpathSync.native(input);
|
|
15663
15684
|
const workspace = xcodeprojOrWorkspace.endsWith(".xcworkspace") ? xcodeprojOrWorkspace : null;
|
|
15664
15685
|
const { listed, projects, projectAt, cocoapods } = workspaceProjects(
|
|
@@ -15667,22 +15688,22 @@ function readXcodeAppTarget(input, targetName2, configurationName, options = {})
|
|
|
15667
15688
|
);
|
|
15668
15689
|
const allTargets = projects.flatMap(projectTargets);
|
|
15669
15690
|
const appTargets = allTargets.filter(
|
|
15670
|
-
(ref) => options.frameworkMachOType ? ref.target.name ===
|
|
15691
|
+
(ref) => options.frameworkMachOType ? ref.target.name === targetName && FRAMEWORK_PRODUCTS.has(str2(ref.target.productType) ?? "") : isIosAppTarget(ref, options) || targetName !== void 0 && ref.target.name === targetName && ref.target.productType === APP_EXTENSION
|
|
15671
15692
|
);
|
|
15672
15693
|
const appTargetNames = appTargets.map((ref) => str2(ref.target.name) ?? ref.id);
|
|
15673
15694
|
const container = import_node_path25.default.basename(xcodeprojOrWorkspace);
|
|
15674
|
-
const named =
|
|
15695
|
+
const named = targetName ? appTargets.filter((ref) => ref.target.name === targetName) : appTargets;
|
|
15675
15696
|
if (named.length !== 1) {
|
|
15676
15697
|
if (options.frameworkMachOType)
|
|
15677
15698
|
throw new Error(
|
|
15678
|
-
`${container} must declare one framework target named ${
|
|
15699
|
+
`${container} must declare one framework target named ${targetName}`
|
|
15679
15700
|
);
|
|
15680
15701
|
if (appTargets.length === 0)
|
|
15681
15702
|
throw new Error(
|
|
15682
15703
|
`${container} has no application targets; open a project or workspace that contains one`
|
|
15683
15704
|
);
|
|
15684
15705
|
throw new Error(
|
|
15685
|
-
|
|
15706
|
+
targetName && named.length === 0 ? `${container} has no application target ${targetName}; it has ${appTargetNames.join(", ") || "none"}` : targetName ? `${container} has ${named.length} application targets named ${targetName}; open its .xcodeproj` : `${container} has ${appTargetNames.length} application targets (${appTargetNames.join(", ")}); pass --target`
|
|
15686
15707
|
);
|
|
15687
15708
|
}
|
|
15688
15709
|
const app = named[0];
|
|
@@ -18738,6 +18759,23 @@ init_cli_runtime();
|
|
|
18738
18759
|
|
|
18739
18760
|
// src/cloud-contract.ts
|
|
18740
18761
|
var AGENT_IDENTITY_MAX_CHARS = 200;
|
|
18762
|
+
var TEXT_FIELD_TYPE = /text ?(input|field)/i;
|
|
18763
|
+
function agentActionTarget(target) {
|
|
18764
|
+
if (!target) return void 0;
|
|
18765
|
+
const clean = (value) => {
|
|
18766
|
+
const text4 = value?.trim().replace(/\s+/g, " ");
|
|
18767
|
+
return text4 ? text4.slice(0, AGENT_IDENTITY_MAX_CHARS) : void 0;
|
|
18768
|
+
};
|
|
18769
|
+
const id = clean(target.id);
|
|
18770
|
+
const testID = clean(target.testID);
|
|
18771
|
+
const text3 = TEXT_FIELD_TYPE.test(target.type ?? "") ? void 0 : clean(target.text);
|
|
18772
|
+
if (!id && !testID && !text3) return void 0;
|
|
18773
|
+
return { ...id && { id }, ...testID && { testID }, ...text3 && { text: text3 } };
|
|
18774
|
+
}
|
|
18775
|
+
function agentActionTargetName(target) {
|
|
18776
|
+
const safe = agentActionTarget(target);
|
|
18777
|
+
return safe?.text ?? safe?.testID ?? safe?.id ?? null;
|
|
18778
|
+
}
|
|
18741
18779
|
var RNX_CLOUD_DESIGN_MAX_STORAGE_BYTES = 1024 * 1024;
|
|
18742
18780
|
var RNX_CLOUD_COMMAND_SCOPES = {
|
|
18743
18781
|
state: "read",
|
|
@@ -19471,23 +19509,19 @@ function isOpenPending() {
|
|
|
19471
19509
|
function clip(text3) {
|
|
19472
19510
|
return text3.length > AGENT_IDENTITY_MAX_CHARS ? `${text3.slice(0, AGENT_IDENTITY_MAX_CHARS - 1)}\u2026` : text3;
|
|
19473
19511
|
}
|
|
19474
|
-
function targetName(target) {
|
|
19475
|
-
const name2 = target?.text?.trim() || target?.testID?.trim() || target?.id?.trim();
|
|
19476
|
-
return name2 ? name2.replace(/\s+/g, " ") : null;
|
|
19477
|
-
}
|
|
19478
19512
|
function verb(action, target) {
|
|
19479
19513
|
return target ? `${action} ${target}` : action;
|
|
19480
19514
|
}
|
|
19481
19515
|
function describeStep(step) {
|
|
19482
19516
|
switch (step.type) {
|
|
19483
19517
|
case "tap":
|
|
19484
|
-
return verb("Tapping",
|
|
19518
|
+
return verb("Tapping", agentActionTargetName(step.target));
|
|
19485
19519
|
case "tapId":
|
|
19486
19520
|
return verb("Tapping", step.id);
|
|
19487
19521
|
case "doubleTap":
|
|
19488
19522
|
return "Double tapping";
|
|
19489
19523
|
case "longPress":
|
|
19490
|
-
return verb("Long pressing",
|
|
19524
|
+
return verb("Long pressing", agentActionTargetName(step.target));
|
|
19491
19525
|
case "drag":
|
|
19492
19526
|
return "Dragging";
|
|
19493
19527
|
case "pinch":
|
|
@@ -19530,9 +19564,9 @@ function describeStep(step) {
|
|
|
19530
19564
|
function describeCommand(command) {
|
|
19531
19565
|
switch (command.type) {
|
|
19532
19566
|
case "tap":
|
|
19533
|
-
return verb("Tapping",
|
|
19567
|
+
return verb("Tapping", agentActionTargetName(command.target));
|
|
19534
19568
|
case "longPress":
|
|
19535
|
-
return verb("Long pressing",
|
|
19569
|
+
return verb("Long pressing", agentActionTargetName(command.target));
|
|
19536
19570
|
case "keyboard":
|
|
19537
19571
|
return command.action === "dismiss" ? "Dismissing the keyboard" : command.action === "press" || command.action === "dispatchKey" ? "Pressing a key" : "Typing";
|
|
19538
19572
|
case "screenshot":
|
|
@@ -19547,6 +19581,9 @@ function describeCommand(command) {
|
|
|
19547
19581
|
return null;
|
|
19548
19582
|
}
|
|
19549
19583
|
}
|
|
19584
|
+
function cliAgentName(identityKey) {
|
|
19585
|
+
return readAgentId() ?? (process.env.PEACH_AGENT_ID?.trim() || formatLockOwner(identityKey));
|
|
19586
|
+
}
|
|
19550
19587
|
function commandAgent(command) {
|
|
19551
19588
|
const step = describeCommand(command);
|
|
19552
19589
|
if (!step) return void 0;
|
|
@@ -19556,9 +19593,7 @@ function commandAgent(command) {
|
|
|
19556
19593
|
if (!machine) return void 0;
|
|
19557
19594
|
return {
|
|
19558
19595
|
id: clip(identity2.key),
|
|
19559
|
-
name: clip(
|
|
19560
|
-
readAgentId() ?? (process.env.PEACH_AGENT_ID?.trim() || formatLockOwner(identity2.key))
|
|
19561
|
-
),
|
|
19596
|
+
name: clip(cliAgentName(identity2.key)),
|
|
19562
19597
|
machine: clip(machine),
|
|
19563
19598
|
step: clip(step)
|
|
19564
19599
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2423 | (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.2423 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2423 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2423 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2423 | (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.2423 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2423 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __esm = (fn, res) => function __init() {
|
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2423 | (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;
|
|
@@ -1892,7 +1892,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
1892
1892
|
var init_swift_standin_digest = __esm({
|
|
1893
1893
|
"src/swift-standin-digest.ts"() {
|
|
1894
1894
|
"use strict";
|
|
1895
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
1895
|
+
STANDIN_SOURCE_DIGEST = true ? "2913d6a693b8a1c42193c1962c3468c2f8bc68c78a2f2f52961ca5efe03d1e67" : standinSourceDigest();
|
|
1896
1896
|
}
|
|
1897
1897
|
});
|
|
1898
1898
|
|
|
@@ -9401,6 +9401,25 @@ var init_swift_guest_compile = __esm({
|
|
|
9401
9401
|
}
|
|
9402
9402
|
});
|
|
9403
9403
|
|
|
9404
|
+
// src/swift-header-compiler.ts
|
|
9405
|
+
var init_swift_header_compiler = __esm({
|
|
9406
|
+
"src/swift-header-compiler.ts"() {
|
|
9407
|
+
"use strict";
|
|
9408
|
+
init_forked_script_contract();
|
|
9409
|
+
init_is_record();
|
|
9410
|
+
init_write_build_file();
|
|
9411
|
+
}
|
|
9412
|
+
});
|
|
9413
|
+
|
|
9414
|
+
// src/swift-header-dependencies.ts
|
|
9415
|
+
var init_swift_header_dependencies = __esm({
|
|
9416
|
+
"src/swift-header-dependencies.ts"() {
|
|
9417
|
+
"use strict";
|
|
9418
|
+
init_swift_package();
|
|
9419
|
+
init_swiftContract();
|
|
9420
|
+
}
|
|
9421
|
+
});
|
|
9422
|
+
|
|
9404
9423
|
// ../peach-kit/src/wasm-memory.ts
|
|
9405
9424
|
var init_wasm_memory = __esm({
|
|
9406
9425
|
"../peach-kit/src/wasm-memory.ts"() {
|
|
@@ -9509,6 +9528,8 @@ var init_swift_compile = __esm({
|
|
|
9509
9528
|
init_swift_foundation();
|
|
9510
9529
|
init_swift_guest_compile();
|
|
9511
9530
|
init_swift_guest_source_inputs();
|
|
9531
|
+
init_swift_header_compiler();
|
|
9532
|
+
init_swift_header_dependencies();
|
|
9512
9533
|
init_swift_icu();
|
|
9513
9534
|
init_swift_link_roots();
|
|
9514
9535
|
init_swift_objc_import();
|
|
@@ -9602,7 +9623,7 @@ var init_swift_compile = __esm({
|
|
|
9602
9623
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
9603
9624
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
9604
9625
|
).join("");
|
|
9605
|
-
compilerSourceDigest = true ? "
|
|
9626
|
+
compilerSourceDigest = true ? "886349932526d72a5a1493acbcd1799ec941afd89998ad0eab64bbe9c48afb95" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
9606
9627
|
C_WORDS = new Set(
|
|
9607
9628
|
"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(
|
|
9608
9629
|
" "
|
|
@@ -17581,7 +17602,7 @@ var init_node_http_fetch = __esm({
|
|
|
17581
17602
|
var runtime_companion_default;
|
|
17582
17603
|
var init_runtime_companion = __esm({
|
|
17583
17604
|
"runtime-companion.json"() {
|
|
17584
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
17605
|
+
runtime_companion_default = { abi: 1, sha256: "50f7ba9b5269b150a6bd2189f202e3cde6ecd829f705d24a70a88f13e6a92474", file: "node/cli-50f7ba9b5269b150a6bd2189f202e3cde6ecd829f705d24a70a88f13e6a92474.cjs" };
|
|
17585
17606
|
}
|
|
17586
17607
|
});
|
|
17587
17608
|
|