peachsim 0.1.2432 → 0.1.2433
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 +91 -75
- 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 +54 -17
- 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 +91 -75
- package/dist-lib/host/fetch-proxy-handler.cjs +5 -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 +5 -4
- 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 +36 -57
- 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 +5 -4
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- 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 +91 -75
- package/dist-lib/swift-compile.cjs +16 -10
- package/dist-lib/swift-compile.mjs +16 -10
- 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 +52 -16
- package/dist-lib/vite.cjs +5 -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/image-loader-canvaskit.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +3 -2
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +7 -1
- package/dist-types/packages/peach-globals/src/cameraInputBridgeContract.d.ts +26 -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/kotlin/README.md +3 -1
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/java-module-abi.ts +11 -28
- package/src/kotlin-host.ts +13 -32
- package/src/kotlin-toolchain.ts +25 -0
- package/src/swift-guest-source-plan.ts +25 -9
- package/src/swift-host.ts +28 -5
- package/src/swift-xcframework.ts +24 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2433 | (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.2433 | (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.2433 | (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.2433 | (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.2433 | (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/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2433 | (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/beta.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2433 | (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.2433 | (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.2433 | (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.2433 | (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;
|
|
@@ -44146,6 +44146,17 @@ function swiftPackageLinkage(target) {
|
|
|
44146
44146
|
throw new Error(`conflicting SwiftPM library linkage for ${target.id}`);
|
|
44147
44147
|
return linkage;
|
|
44148
44148
|
}
|
|
44149
|
+
function linkEdges(targets, id) {
|
|
44150
|
+
const target = targets.get(id);
|
|
44151
|
+
if (!target) throw new Error(`unknown source target ${id}`);
|
|
44152
|
+
return target.dependencies.flatMap((edge) => {
|
|
44153
|
+
if (edge.attributes.length)
|
|
44154
|
+
throw new Error(`unsupported link attributes for ${id} -> ${edge.target}`);
|
|
44155
|
+
const dependency = targets.get(edge.target);
|
|
44156
|
+
if (!dependency) throw new Error(`unknown source target ${edge.target}`);
|
|
44157
|
+
return dependency.productType.startsWith("swiftpm.library.") && swiftPackageLinkage(dependency) === "static" ? linkEdges(targets, edge.target) : [edge];
|
|
44158
|
+
});
|
|
44159
|
+
}
|
|
44149
44160
|
function guestSourceImages(graph) {
|
|
44150
44161
|
const targets = new Map(graph.targets.map((target) => [target.id, target]));
|
|
44151
44162
|
const entry = targets.get(graph.entry);
|
|
@@ -44169,17 +44180,14 @@ function guestSourceImages(graph) {
|
|
|
44169
44180
|
ownership.set(id, image.id);
|
|
44170
44181
|
image.members.push(id);
|
|
44171
44182
|
active.add(id);
|
|
44172
|
-
for (const edge of
|
|
44173
|
-
if (edge.attributes.length)
|
|
44174
|
-
throw new Error(`unsupported link attributes for ${id} -> ${edge.target}`);
|
|
44183
|
+
for (const edge of linkEdges(targets, id)) {
|
|
44175
44184
|
const dependency = targets.get(edge.target);
|
|
44176
|
-
if (!dependency) throw new Error(`unknown source target ${edge.target}`);
|
|
44177
44185
|
const type = dependency.productType;
|
|
44178
44186
|
let dynamic;
|
|
44179
44187
|
if (type.startsWith("swiftpm.target.")) {
|
|
44180
44188
|
if (type !== "swiftpm.target.regular" && type !== "swiftpm.target.binary" && type !== "swiftpm.target.system")
|
|
44181
44189
|
throw new Error(`unsupported SwiftPM target ${edge.target}`);
|
|
44182
|
-
dynamic =
|
|
44190
|
+
dynamic = type === "swiftpm.target.binary" && dependency.machOType === "mh_dylib";
|
|
44183
44191
|
} else if (type.startsWith("swiftpm.library.")) {
|
|
44184
44192
|
dynamic = swiftPackageLinkage(dependency) === "dynamic";
|
|
44185
44193
|
} else if (type === "com.apple.product-type.library.static") {
|
|
@@ -44314,9 +44322,7 @@ function planGuestSourceLink(graph, images, callers, artifacts, symbols) {
|
|
|
44314
44322
|
(flag) => /(?:^|,)-(?:weak|reexport|upward|lazy)(?:[_-]|$)/.test(flag)
|
|
44315
44323
|
))
|
|
44316
44324
|
throw new Error(`unsupported special link flag for ${id}`);
|
|
44317
|
-
for (const edge of
|
|
44318
|
-
if (edge.attributes.length)
|
|
44319
|
-
throw new Error(`unsupported link attributes for ${id} -> ${edge.target}`);
|
|
44325
|
+
for (const edge of linkEdges(targets, id)) {
|
|
44320
44326
|
const dependencyImage = ownerByTarget.get(edge.target);
|
|
44321
44327
|
if (dependencyImage === void 0)
|
|
44322
44328
|
throw new Error(`linked target ${edge.target} has no guest image`);
|
|
@@ -53802,7 +53808,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
53802
53808
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
53803
53809
|
MULTI_MANIFEST_VERSION = 72;
|
|
53804
53810
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
53805
|
-
compilerSourceDigest = true ? "
|
|
53811
|
+
compilerSourceDigest = true ? "cdc5ec2138bb4a158f783cf86ed87144cd455551e18374805c743783ac04aa46" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
53806
53812
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
53807
53813
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
53808
53814
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -58583,6 +58589,24 @@ var init_expo_autolinking = __esm({
|
|
|
58583
58589
|
});
|
|
58584
58590
|
|
|
58585
58591
|
// src/kotlin-toolchain.ts
|
|
58592
|
+
async function runKotlinTool(toolchain, sdkRoot, tool, args, maxBuffer = 16 * 1024 * 1024) {
|
|
58593
|
+
const lib = import_node_path68.default.resolve(import_node_path68.default.dirname(toolchain.kotlinc), "../lib");
|
|
58594
|
+
const { stdout } = await run3(
|
|
58595
|
+
import_node_path68.default.join(toolchain.javaHome, "bin", "java"),
|
|
58596
|
+
[
|
|
58597
|
+
"-cp",
|
|
58598
|
+
[
|
|
58599
|
+
import_node_path68.default.join(sdkRoot, "tools.jar"),
|
|
58600
|
+
import_node_path68.default.join(lib, "kotlin-compiler.jar"),
|
|
58601
|
+
import_node_path68.default.join(lib, "kotlin-stdlib.jar")
|
|
58602
|
+
].join(import_node_path68.default.delimiter),
|
|
58603
|
+
tool,
|
|
58604
|
+
...args
|
|
58605
|
+
],
|
|
58606
|
+
{ maxBuffer }
|
|
58607
|
+
);
|
|
58608
|
+
return stdout;
|
|
58609
|
+
}
|
|
58586
58610
|
function readToolchain(moduleRoot) {
|
|
58587
58611
|
const parsed2 = JSON.parse(
|
|
58588
58612
|
import_node_fs67.default.readFileSync(import_node_path68.default.join(moduleRoot, "toolchain.json"), "utf8")
|
|
@@ -64675,6 +64699,28 @@ function simulatorNativeLibrary(dir) {
|
|
|
64675
64699
|
if (matches.length !== 1) throw new Error(`${dir}: ambiguous simulator library`);
|
|
64676
64700
|
return matches[0];
|
|
64677
64701
|
}
|
|
64702
|
+
function isDynamicLibrary2(file) {
|
|
64703
|
+
const fd = import_node_fs80.default.openSync(file, "r");
|
|
64704
|
+
try {
|
|
64705
|
+
const read = (offset) => {
|
|
64706
|
+
const bytes = Buffer.alloc(16);
|
|
64707
|
+
import_node_fs80.default.readSync(fd, bytes, 0, 16, offset);
|
|
64708
|
+
return bytes;
|
|
64709
|
+
};
|
|
64710
|
+
let header = read(0);
|
|
64711
|
+
const universal = header.readUInt32BE(0);
|
|
64712
|
+
if (universal === 3405691582 || universal === 3405691583) {
|
|
64713
|
+
const arch = read(8);
|
|
64714
|
+
header = read(
|
|
64715
|
+
universal === 3405691582 ? arch.readUInt32BE(8) : Number(arch.readBigUInt64BE(8))
|
|
64716
|
+
);
|
|
64717
|
+
}
|
|
64718
|
+
const magic = header.readUInt32LE(0);
|
|
64719
|
+
return (magic === 4277009103 || magic === 4277009102) && header.readUInt32LE(12) === 6;
|
|
64720
|
+
} finally {
|
|
64721
|
+
import_node_fs80.default.closeSync(fd);
|
|
64722
|
+
}
|
|
64723
|
+
}
|
|
64678
64724
|
var import_node_fs80, import_node_path82;
|
|
64679
64725
|
var init_swift_xcframework = __esm({
|
|
64680
64726
|
"src/swift-xcframework.ts"() {
|
|
@@ -69051,7 +69097,7 @@ var init_swift_standin_digest = __esm({
|
|
|
69051
69097
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
69052
69098
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
69053
69099
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
69054
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
69100
|
+
STANDIN_SOURCE_DIGEST = true ? "edbd6d6714a42d5d22c4d8b74e605e5c897358beb450af3e5605c81299e68531" : standinSourceDigest();
|
|
69055
69101
|
}
|
|
69056
69102
|
});
|
|
69057
69103
|
|
|
@@ -74519,6 +74565,7 @@ async function swiftPackages(entry, app) {
|
|
|
74519
74565
|
packages,
|
|
74520
74566
|
binaries: packages.binaries,
|
|
74521
74567
|
standins: [],
|
|
74568
|
+
dynamicFrameworks: /* @__PURE__ */ new Map(),
|
|
74522
74569
|
projectGaps: /* @__PURE__ */ new Map()
|
|
74523
74570
|
};
|
|
74524
74571
|
entry.packages = cached2;
|
|
@@ -74598,6 +74645,14 @@ async function swiftPackages(entry, app) {
|
|
|
74598
74645
|
for (const target of new Set(built2.standins.map((standin) => standin.target)))
|
|
74599
74646
|
console.error(`Peach: target ${target} was replaced with a stand-in`);
|
|
74600
74647
|
cached2.standins = built2.standins;
|
|
74648
|
+
const stoodIn = new Set(built2.standins.map((standin) => standin.target));
|
|
74649
|
+
cached2.dynamicFrameworks = new Map(
|
|
74650
|
+
cxxArtifacts.flatMap((binary2) => {
|
|
74651
|
+
if (!stoodIn.has(binary2.target)) return [];
|
|
74652
|
+
const native = simulatorNativeLibrary(swiftBinaryFramework(binary2).dir);
|
|
74653
|
+
return native?.kind === "framework" && isDynamicLibrary2(native.file) ? [[binary2.target, native.name]] : [];
|
|
74654
|
+
})
|
|
74655
|
+
);
|
|
74601
74656
|
cached2.projectGaps = new Map(
|
|
74602
74657
|
vendored.flatMap(({ target }) => {
|
|
74603
74658
|
const gap = built2.gaps.get(target);
|
|
@@ -74657,10 +74712,7 @@ async function buildXcodeLayout(root) {
|
|
|
74657
74712
|
nativeModules: registered.nativeModules
|
|
74658
74713
|
}
|
|
74659
74714
|
);
|
|
74660
|
-
const { packages, standins, projectGaps, binaries } = await swiftPackages(
|
|
74661
|
-
registered,
|
|
74662
|
-
appTarget
|
|
74663
|
-
);
|
|
74715
|
+
const { packages, standins, dynamicFrameworks, projectGaps, binaries } = await swiftPackages(registered, appTarget);
|
|
74664
74716
|
const sourceFrameworks = new Map(
|
|
74665
74717
|
packages.sourceFrameworks.map(
|
|
74666
74718
|
({
|
|
@@ -75264,7 +75316,8 @@ async function buildXcodeLayout(root) {
|
|
|
75264
75316
|
(owner) => owner.module === original.moduleName
|
|
75265
75317
|
)?.products ?? [] : [];
|
|
75266
75318
|
const packageTarget = target.productType.startsWith("swiftpm.");
|
|
75267
|
-
const
|
|
75319
|
+
const binaryFramework = target.productType === "swiftpm.target.binary" ? dynamicFrameworks.get(target.productName) ?? null : null;
|
|
75320
|
+
const packageFramework = target.productType === "swiftpm.library.dynamic" ? target.productName : binaryFramework;
|
|
75268
75321
|
const buildVersion = {
|
|
75269
75322
|
platform: packageTarget ? applicationBuildVersion.platform : target.buildVersion.platform,
|
|
75270
75323
|
minimumOS: target.buildVersion.minimumOS ?? (packageTarget ? applicationBuildVersion.minimumOS : null),
|
|
@@ -75279,6 +75332,7 @@ async function buildXcodeLayout(root) {
|
|
|
75279
75332
|
id: relative4(target.id),
|
|
75280
75333
|
productName: packageFramework === null ? target.productName : `${packageFramework}.framework`,
|
|
75281
75334
|
installName: packageFramework === null ? target.installName : `@rpath/${packageFramework}.framework/${packageFramework}`,
|
|
75335
|
+
machOType: binaryFramework === null ? target.machOType : "mh_dylib",
|
|
75282
75336
|
sourceTarget: target.sourceTarget === null ? first ?? null : original ? frameworkNames.get(original) ?? original.moduleName : target.sourceTarget,
|
|
75283
75337
|
buildVersion,
|
|
75284
75338
|
dependencies: [
|
|
@@ -76616,6 +76670,7 @@ var init_swift_host = __esm({
|
|
|
76616
76670
|
init_swift_standins();
|
|
76617
76671
|
init_swift_submit();
|
|
76618
76672
|
init_swift_toolchain();
|
|
76673
|
+
init_swift_xcframework();
|
|
76619
76674
|
init_swiftContract();
|
|
76620
76675
|
init_swiftContract();
|
|
76621
76676
|
init_xcode_project();
|
|
@@ -83607,7 +83662,7 @@ var init_nitro_superset = __esm({
|
|
|
83607
83662
|
init_nitroContract();
|
|
83608
83663
|
init_swift_standin_digest();
|
|
83609
83664
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
83610
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
83665
|
+
NITRO_COMPILER_DIGEST = true ? "98a615e818fd7ecd108090fffd262f6b9726b3f0350a386bea66b62b3395a63d" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
83611
83666
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
83612
83667
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
83613
83668
|
published = /* @__PURE__ */ new Map();
|
|
@@ -84846,7 +84901,7 @@ var init_expo_native_compiler_digest = __esm({
|
|
|
84846
84901
|
|
|
84847
84902
|
// src/expo-native-prebuilt.ts
|
|
84848
84903
|
function expoNativeCompilerDigestValue() {
|
|
84849
|
-
return true ? "
|
|
84904
|
+
return true ? "92f2e3795e852982bdccd3a73ae36de137f0eb97ab0ada5e0624f164f9c024b8" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
84850
84905
|
}
|
|
84851
84906
|
function readSources(value) {
|
|
84852
84907
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -88712,19 +88767,11 @@ async function readJavaModuleSpecs(files2, sdkRoot, toolchain) {
|
|
|
88712
88767
|
import_node_fs119.default.writeFileSync(target, bytes);
|
|
88713
88768
|
origins.set(target, file);
|
|
88714
88769
|
}
|
|
88715
|
-
const
|
|
88716
|
-
|
|
88717
|
-
|
|
88718
|
-
|
|
88719
|
-
|
|
88720
|
-
import_node_path120.default.join(sdkRoot, "tools.jar"),
|
|
88721
|
-
import_node_path120.default.resolve(import_node_path120.default.dirname(toolchain.kotlinc), "../lib/kotlin-compiler.jar"),
|
|
88722
|
-
import_node_path120.default.resolve(import_node_path120.default.dirname(toolchain.kotlinc), "../lib/kotlin-stdlib.jar")
|
|
88723
|
-
].join(import_node_path120.default.delimiter),
|
|
88724
|
-
"dev.peach.tools.javaabi.JavaModuleSpecsKt",
|
|
88725
|
-
...origins.keys()
|
|
88726
|
-
],
|
|
88727
|
-
{ maxBuffer: 16 * 1024 * 1024 }
|
|
88770
|
+
const stdout = await runKotlinTool(
|
|
88771
|
+
toolchain,
|
|
88772
|
+
sdkRoot,
|
|
88773
|
+
"dev.peach.tools.javaabi.JavaModuleSpecsKt",
|
|
88774
|
+
[...origins.keys()]
|
|
88728
88775
|
).catch((cause) => {
|
|
88729
88776
|
if (!isRecord(cause) || typeof cause.stderr !== "string") throw cause;
|
|
88730
88777
|
let diagnostic = cause.stderr;
|
|
@@ -88795,20 +88842,11 @@ async function compileJavaModuleAbi(input) {
|
|
|
88795
88842
|
{ maxBuffer: 16 * 1024 * 1024 }
|
|
88796
88843
|
);
|
|
88797
88844
|
const library = import_node_path120.default.join(directory2, "java-abi.klib");
|
|
88798
|
-
await
|
|
88799
|
-
|
|
88800
|
-
|
|
88801
|
-
|
|
88802
|
-
|
|
88803
|
-
import_node_path120.default.join(sdkRoot, "tools.jar"),
|
|
88804
|
-
import_node_path120.default.resolve(import_node_path120.default.dirname(toolchain.kotlinc), "../lib/kotlin-compiler.jar"),
|
|
88805
|
-
import_node_path120.default.resolve(import_node_path120.default.dirname(toolchain.kotlinc), "../lib/kotlin-stdlib.jar")
|
|
88806
|
-
].join(import_node_path120.default.delimiter),
|
|
88807
|
-
"dev.peach.tools.platform.JavaPlatformTypesKt",
|
|
88808
|
-
import_node_path120.default.join(directory2, `${name3}.klib`),
|
|
88809
|
-
library
|
|
88810
|
-
],
|
|
88811
|
-
{ maxBuffer: 16 * 1024 * 1024 }
|
|
88845
|
+
await runKotlinTool(
|
|
88846
|
+
toolchain,
|
|
88847
|
+
sdkRoot,
|
|
88848
|
+
"dev.peach.tools.platform.JavaPlatformTypesKt",
|
|
88849
|
+
[import_node_path120.default.join(directory2, `${name3}.klib`), library]
|
|
88812
88850
|
);
|
|
88813
88851
|
return library;
|
|
88814
88852
|
}
|
|
@@ -89548,23 +89586,7 @@ async function scanSources(tool, parse11, toolchain, moduleRoot, files2) {
|
|
|
89548
89586
|
const key2 = digest4.digest("hex");
|
|
89549
89587
|
let scan3 = toolScans.get(key2);
|
|
89550
89588
|
if (!scan3) {
|
|
89551
|
-
scan3 = (
|
|
89552
|
-
const { kotlinc } = await ensureToolchain(toolchain);
|
|
89553
|
-
const { stdout } = await run10(
|
|
89554
|
-
import_node_path124.default.join(import_node_path124.default.dirname(kotlinc), "kotlin"),
|
|
89555
|
-
[
|
|
89556
|
-
"-cp",
|
|
89557
|
-
[
|
|
89558
|
-
import_node_path124.default.resolve(import_node_path124.default.dirname(kotlinc), "../lib/kotlin-compiler.jar"),
|
|
89559
|
-
import_node_path124.default.join(sdk2.root, "tools.jar")
|
|
89560
|
-
].join(import_node_path124.default.delimiter),
|
|
89561
|
-
tool,
|
|
89562
|
-
...files2
|
|
89563
|
-
],
|
|
89564
|
-
{ maxBuffer: 16 * 1024 * 1024 }
|
|
89565
|
-
);
|
|
89566
|
-
return stdout;
|
|
89567
|
-
})().catch((error) => {
|
|
89589
|
+
scan3 = ensureToolchain(toolchain).then((ready) => runKotlinTool(ready, sdk2.root, tool, files2)).catch((error) => {
|
|
89568
89590
|
toolScans.delete(key2);
|
|
89569
89591
|
throw error;
|
|
89570
89592
|
});
|
|
@@ -90321,18 +90343,12 @@ async function compileKotlin(input, origin) {
|
|
|
90321
90343
|
({ file, bytes }) => sources.includes(file) && bytes.includes("ViewModel")
|
|
90322
90344
|
)) {
|
|
90323
90345
|
await compileKlib(import_node_path124.default.join(work, "abi"));
|
|
90324
|
-
const
|
|
90325
|
-
|
|
90326
|
-
|
|
90327
|
-
|
|
90328
|
-
|
|
90329
|
-
|
|
90330
|
-
import_node_path124.default.join(sdk2.root, "tools.jar")
|
|
90331
|
-
].join(import_node_path124.default.delimiter),
|
|
90332
|
-
viewModels.toolClass,
|
|
90333
|
-
import_node_path124.default.join(work, "abi")
|
|
90334
|
-
],
|
|
90335
|
-
{ maxBuffer: 64 * 1024 * 1024 }
|
|
90346
|
+
const stdout = await runKotlinTool(
|
|
90347
|
+
ready,
|
|
90348
|
+
sdk2.root,
|
|
90349
|
+
viewModels.toolClass,
|
|
90350
|
+
[import_node_path124.default.join(work, "abi")],
|
|
90351
|
+
64 * 1024 * 1024
|
|
90336
90352
|
);
|
|
90337
90353
|
import_node_fs123.default.writeFileSync(
|
|
90338
90354
|
import_node_path124.default.join(generatedDir, viewModels.file),
|
|
@@ -91741,7 +91757,7 @@ var import_node_path5 = require("node:path");
|
|
|
91741
91757
|
init_src();
|
|
91742
91758
|
|
|
91743
91759
|
// runtime-companion.json
|
|
91744
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
91760
|
+
var runtime_companion_default = { abi: 1, sha256: "2d42441f509451bf1c660a06ac087056d0cc7d96ca43aead02f6fd91f5e4e367", file: "node/cli-2d42441f509451bf1c660a06ac087056d0cc7d96ca43aead02f6fd91f5e4e367.cjs" };
|
|
91745
91761
|
|
|
91746
91762
|
// src/cli-runtime.ts
|
|
91747
91763
|
init_answeredNativePackages();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2433 | (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.2433 | (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.2433 | (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/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2433 | (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/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2433 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
package/dist-lib/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2433 | (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/config.mjs
CHANGED
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2433 | (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;
|
|
@@ -2476,7 +2476,7 @@ function isValidRuntimeVersion(value) {
|
|
|
2476
2476
|
}
|
|
2477
2477
|
|
|
2478
2478
|
// runtime-companion.json
|
|
2479
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
2479
|
+
var runtime_companion_default = { abi: 1, sha256: "2d42441f509451bf1c660a06ac087056d0cc7d96ca43aead02f6fd91f5e4e367", file: "node/cli-2d42441f509451bf1c660a06ac087056d0cc7d96ca43aead02f6fd91f5e4e367.cjs" };
|
|
2480
2480
|
|
|
2481
2481
|
// src/answeredNativePackages.ts
|
|
2482
2482
|
var import_node_async_hooks = require("node:async_hooks");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2433 | (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;
|