peachsim 0.1.2368 → 0.1.2370
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 -76
- 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 +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +172 -75
- 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 +173 -76
- package/dist-lib/host/fetch-proxy-handler.cjs +7 -5
- 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 +7 -5
- 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 +7 -5
- 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 +178 -81
- package/dist-lib/swift-compile.cjs +32 -13
- package/dist-lib/swift-compile.mjs +32 -13
- 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 +151 -72
- package/dist-lib/vite.cjs +7 -5
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +14 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/node-runtime.json +1 -1
- package/package.json +1 -1
- package/sdk/ios/System/Library/Frameworks/DeviceCheck.framework/Headers/DCAppAttestService.h +223 -0
- package/sdk/ios/System/Library/Frameworks/DeviceCheck.framework/Headers/DCDevice.h +90 -0
- package/sdk/ios/System/Library/Frameworks/DeviceCheck.framework/Headers/DCError.h +52 -0
- package/sdk/ios/System/Library/Frameworks/DeviceCheck.framework/Headers/DeviceCheck.h +13 -0
- package/sdk/ios/System/Library/Frameworks/DeviceCheck.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/usr/include/_modules/_Availability.h +33 -0
- package/sdk/ios/usr/include/_modules/_os_availability.h +33 -0
- package/sdk/ios/usr/include/availability.modulemap +50 -0
- package/sdk/ios/usr/include/module.modulemap +4 -0
- package/sdk/ios/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios-simulator.swiftinterface +77 -0
- package/sdk/ios/usr/lib/swift/StoreKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +7 -0
- package/sdk/ios/usr/lib/swift/SwiftUICore.swiftmodule/arm64-apple-ios-simulator.swiftinterface +23 -0
- package/sdk/ios/usr/lib/swift/UIKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -0
- package/src/native-static-libraries.ts +16 -16
- package/src/podspec-sources.ts +19 -1
- package/src/swift-compile.ts +38 -24
- package/src/swift-objc-standin.ts +11 -5
- package/src/swift-packages.ts +40 -28
- package/src/swift-shipped-binaries.ts +6 -2
- package/src/swift-standin-emit.ts +65 -11
- package/src/swift-standins.ts +30 -4
package/dist-lib/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2370 | (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;
|
|
@@ -6718,7 +6718,17 @@ function splitTopLevel(text5, separator) {
|
|
|
6718
6718
|
}
|
|
6719
6719
|
function emitSwiftStandin(sourceGraphs, options) {
|
|
6720
6720
|
const imported = new Set(options.imports);
|
|
6721
|
-
const importedTypeModules =
|
|
6721
|
+
const importedTypeModules = new Map(options.importedTypeModules);
|
|
6722
|
+
for (const graph of sourceGraphs)
|
|
6723
|
+
for (const edge of graph.relationships) {
|
|
6724
|
+
if (!/^c:objc\((?:cs|pl)\)/.test(edge.target)) continue;
|
|
6725
|
+
const qualified2 = /^(\w+)\.\w+$/.exec(edge.targetFallback ?? "");
|
|
6726
|
+
if (qualified2)
|
|
6727
|
+
importedTypeModules.set(
|
|
6728
|
+
edge.target,
|
|
6729
|
+
qualified2[1] === "ObjectiveC" ? "Foundation" : qualified2[1]
|
|
6730
|
+
);
|
|
6731
|
+
}
|
|
6722
6732
|
const ownIds = new Set(
|
|
6723
6733
|
sourceGraphs.flatMap(
|
|
6724
6734
|
(graph) => graph.symbols.map((symbol2) => symbol2.identifier.precise)
|
|
@@ -6774,7 +6784,10 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
6774
6784
|
const conformanceTargets = /* @__PURE__ */ new Map();
|
|
6775
6785
|
const objectConformers = /* @__PURE__ */ new Set();
|
|
6776
6786
|
const conformIds = /* @__PURE__ */ new Map();
|
|
6777
|
-
const protocolParents = /* @__PURE__ */ new Map(
|
|
6787
|
+
const protocolParents = /* @__PURE__ */ new Map([
|
|
6788
|
+
["s:SH", ["s:SQ"]],
|
|
6789
|
+
["s:SL", ["s:SQ"]]
|
|
6790
|
+
]);
|
|
6778
6791
|
const requirement = /* @__PURE__ */ new Set();
|
|
6779
6792
|
const optional3 = /* @__PURE__ */ new Set();
|
|
6780
6793
|
const overrides = /* @__PURE__ */ new Set();
|
|
@@ -6839,9 +6852,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
6839
6852
|
conditional.push({
|
|
6840
6853
|
source,
|
|
6841
6854
|
name: name3,
|
|
6842
|
-
|
|
6843
|
-
({ kind, lhs, rhs }) => kind === "sameType" ? `${lhs} == ${rhs}` : `${lhs}: ${rhs}`
|
|
6844
|
-
).join(", ")
|
|
6855
|
+
constraints: edge.swiftConstraints
|
|
6845
6856
|
});
|
|
6846
6857
|
} else if (name3) {
|
|
6847
6858
|
conforms.set(edge.source, [...conforms.get(edge.source) ?? [], name3]);
|
|
@@ -7245,7 +7256,7 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
7245
7256
|
return;
|
|
7246
7257
|
}
|
|
7247
7258
|
emit(
|
|
7248
|
-
`${head}${computed} { get${effects} { ${getter} }${settable && !effects ? ` ${parsed.nonmutating ? "nonmutating " : ""}set { ${measured?.set ?? (options.inert ? "" : trap(path55))} }` : ""} }`
|
|
7259
|
+
`${head.replace(/@NSCopying\b\s*/g, "")}${computed} { get${effects} { ${getter} }${settable && !effects ? ` ${parsed.nonmutating ? "nonmutating " : ""}set { ${measured?.set ?? (options.inert ? "" : trap(path55))} }` : ""} }`
|
|
7249
7260
|
);
|
|
7250
7261
|
return;
|
|
7251
7262
|
}
|
|
@@ -7751,8 +7762,27 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
7751
7762
|
emitWitness(witness.member, " ", witness.path);
|
|
7752
7763
|
emit("}");
|
|
7753
7764
|
}
|
|
7754
|
-
|
|
7765
|
+
const refines = (child, parent, seen = /* @__PURE__ */ new Set()) => {
|
|
7766
|
+
if (child === parent) return true;
|
|
7767
|
+
if (seen.has(child)) return false;
|
|
7768
|
+
seen.add(child);
|
|
7769
|
+
return (protocolParents.get(child) ?? []).some((id) => refines(id, parent, seen));
|
|
7770
|
+
};
|
|
7771
|
+
const implies = (stronger, weaker) => weaker.every(
|
|
7772
|
+
(wanted) => stronger.some(
|
|
7773
|
+
(given) => given.kind === wanted.kind && given.lhs === wanted.lhs && (given.rhs === wanted.rhs || given.kind === "conformance" && given.rhsPrecise !== void 0 && wanted.rhsPrecise !== void 0 && refines(given.rhsPrecise, wanted.rhsPrecise))
|
|
7774
|
+
)
|
|
7775
|
+
);
|
|
7776
|
+
for (const [index, { source, name: name3, constraints }] of conditional.entries()) {
|
|
7777
|
+
if (conditional.some(
|
|
7778
|
+
(other, at) => at !== index && other.source === source && other.name === name3 && implies(constraints, other.constraints) && (at < index || !implies(other.constraints, constraints))
|
|
7779
|
+
))
|
|
7780
|
+
continue;
|
|
7781
|
+
const where = constraints.map(
|
|
7782
|
+
({ kind, lhs, rhs }) => kind === "sameType" ? `${lhs} == ${rhs}` : `${lhs}: ${rhs}`
|
|
7783
|
+
).join(", ");
|
|
7755
7784
|
emitAt(pathOf(source), `extension ${pathOf(source)}: ${name3} where ${where} {}`);
|
|
7785
|
+
}
|
|
7756
7786
|
const banner = [
|
|
7757
7787
|
...options.placeholder ? [
|
|
7758
7788
|
`// placeholder for ${options.module}, generated from ${options.source}: ${options.placeholder}.`,
|
|
@@ -8055,7 +8085,7 @@ function iosDeploymentMinimum(version2) {
|
|
|
8055
8085
|
return Number(parts[1]) * 1e4 + Number(parts[2] ?? 0) * 100 + Number(parts[3] ?? 0);
|
|
8056
8086
|
}
|
|
8057
8087
|
var headerFiles = (dir) => import_node_fs9.default.readdirSync(dir, { recursive: true, encoding: "utf8" }).filter((file) => file.endsWith(".h") || file.endsWith(".hh")).sort();
|
|
8058
|
-
function moduleMapHeaders(modulemap, directoryHeaders
|
|
8088
|
+
function moduleMapHeaders(modulemap, directoryHeaders) {
|
|
8059
8089
|
const tokens2 = moduleMapTokens(import_node_fs9.default.readFileSync(modulemap, "utf8"));
|
|
8060
8090
|
const open = [];
|
|
8061
8091
|
const declared = [];
|
|
@@ -8151,7 +8181,11 @@ function stageVendorFrameworks(dir, stage) {
|
|
|
8151
8181
|
import_node_fs9.default.mkdirSync(target, { recursive: true });
|
|
8152
8182
|
for (const child of import_node_fs9.default.readdirSync(source)) {
|
|
8153
8183
|
if (child !== "Modules") {
|
|
8154
|
-
|
|
8184
|
+
if (child === "Headers")
|
|
8185
|
+
import_node_fs9.default.cpSync(import_node_path9.default.join(source, child), import_node_path9.default.join(target, child), {
|
|
8186
|
+
recursive: true
|
|
8187
|
+
});
|
|
8188
|
+
else import_node_fs9.default.symlinkSync(import_node_path9.default.join(source, child), import_node_path9.default.join(target, child));
|
|
8155
8189
|
continue;
|
|
8156
8190
|
}
|
|
8157
8191
|
for (const file of import_node_fs9.default.readdirSync(import_node_path9.default.join(source, child), {
|
|
@@ -8843,7 +8877,9 @@ function protocolProperties(surface, headersDir, graphs2, toolchainBin, search,
|
|
|
8843
8877
|
// the module's own roots first: a defining header may rely on the
|
|
8844
8878
|
// declarations its umbrella imports before it, as NS_ENUM does
|
|
8845
8879
|
[
|
|
8846
|
-
...moduleMapHeaders(surface.modulemap
|
|
8880
|
+
...moduleMapHeaders(surface.modulemap, headerFiles(headersDir)).map(
|
|
8881
|
+
(file) => import_node_path9.default.join(headersDir, file)
|
|
8882
|
+
),
|
|
8847
8883
|
...candidates.map(({ file }) => file)
|
|
8848
8884
|
].map((file) => `#import ${JSON.stringify(file)}
|
|
8849
8885
|
`).join("")
|
|
@@ -8904,7 +8940,7 @@ function protocolProperties(surface, headersDir, graphs2, toolchainBin, search,
|
|
|
8904
8940
|
return properties;
|
|
8905
8941
|
}
|
|
8906
8942
|
function objcDeclarationAST(surface, framework, toolchainBin, search, work, originalFlags, target) {
|
|
8907
|
-
const roots = moduleMapHeaders(surface.modulemap);
|
|
8943
|
+
const roots = moduleMapHeaders(surface.modulemap, headerFiles(surface.headers));
|
|
8908
8944
|
const probe = import_node_path9.default.join(work, "declarations.m");
|
|
8909
8945
|
import_node_fs9.default.writeFileSync(
|
|
8910
8946
|
probe,
|
|
@@ -8997,7 +9033,7 @@ function enumValues(graphs2, surface, framework, toolchainBin, search, work, ori
|
|
|
8997
9033
|
}
|
|
8998
9034
|
const values = /* @__PURE__ */ new Map();
|
|
8999
9035
|
if (wanted.size === 0) return values;
|
|
9000
|
-
const roots = moduleMapHeaders(surface.modulemap);
|
|
9036
|
+
const roots = moduleMapHeaders(surface.modulemap, headerFiles(surface.headers));
|
|
9001
9037
|
const probe = import_node_path9.default.join(work, "values.m");
|
|
9002
9038
|
import_node_fs9.default.writeFileSync(
|
|
9003
9039
|
probe,
|
|
@@ -18641,7 +18677,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
18641
18677
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
18642
18678
|
var MULTI_MANIFEST_VERSION = 69;
|
|
18643
18679
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
18644
|
-
var compilerSourceDigest = true ? "
|
|
18680
|
+
var compilerSourceDigest = true ? "1b47386ddb37b973b7110df3031ea52e9d23ac2a578bc7539d91e232e336db2a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
18645
18681
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
18646
18682
|
const hash = (0, import_node_crypto14.createHash)("sha256");
|
|
18647
18683
|
hash.update(`swift-compile
|
|
@@ -22544,25 +22580,44 @@ async function withSwiftFrameworkSlot(frameworkKey, moduleRoot, signal, work) {
|
|
|
22544
22580
|
if (staged) return withSwiftRootLock(staged, run5(staged), signal);
|
|
22545
22581
|
const built2 = new Map(slots.map((slot) => [slot, (0, import_node_fs28.statSync)(slot).mtimeMs]));
|
|
22546
22582
|
const own = (slot) => swiftFrameworkSlotRecord(slot, SWIFT_FRAMEWORK_SLOT_ORIGIN) === moduleRoot;
|
|
22547
|
-
const
|
|
22548
|
-
(
|
|
22549
|
-
|
|
22550
|
-
|
|
22551
|
-
|
|
22552
|
-
|
|
22553
|
-
|
|
22554
|
-
|
|
22555
|
-
|
|
22556
|
-
|
|
22583
|
+
const inputs = new Map(
|
|
22584
|
+
swiftModuleInputFiles(moduleRoot).map((file) => [
|
|
22585
|
+
file,
|
|
22586
|
+
(0, import_node_fs28.readFileSync)(import_node_path28.default.join(moduleRoot, file))
|
|
22587
|
+
])
|
|
22588
|
+
);
|
|
22589
|
+
const ranked = slots.map((slot) => {
|
|
22590
|
+
let changes = 0;
|
|
22591
|
+
if (swiftFrameworkSlotKey(slot) === null) return { slot, changes: Infinity };
|
|
22592
|
+
const source = import_node_path28.default.join(slot, "source", "packages", import_node_path28.default.basename(moduleRoot));
|
|
22593
|
+
for (const [file, contents2] of inputs) {
|
|
22594
|
+
try {
|
|
22595
|
+
if (!(0, import_node_fs28.readFileSync)(import_node_path28.default.join(source, file)).equals(contents2)) changes++;
|
|
22596
|
+
} catch (error) {
|
|
22597
|
+
if (!vanished(error)) throw error;
|
|
22598
|
+
changes++;
|
|
22599
|
+
}
|
|
22600
|
+
}
|
|
22601
|
+
return { slot, changes };
|
|
22602
|
+
}).sort(
|
|
22603
|
+
(left, right) => left.changes - right.changes || Number(own(right.slot)) - Number(own(left.slot)) || (built2.get(right.slot) ?? 0) - (built2.get(left.slot) ?? 0)
|
|
22604
|
+
);
|
|
22605
|
+
for (const { slot, changes } of ranked) {
|
|
22557
22606
|
const result = await withSwiftRootLock(
|
|
22558
22607
|
slot,
|
|
22559
|
-
async (lease) =>
|
|
22608
|
+
async (lease) => {
|
|
22609
|
+
console.error(
|
|
22610
|
+
`[swift-framework-cache] ${import_node_path28.default.basename(slot)} changedInputs=${changes} totalInputs=${inputs.size}`
|
|
22611
|
+
);
|
|
22612
|
+
return { value: await run5(slot)(lease) };
|
|
22613
|
+
},
|
|
22560
22614
|
signal,
|
|
22561
22615
|
false
|
|
22562
22616
|
);
|
|
22563
22617
|
if (result) return result.value;
|
|
22564
22618
|
}
|
|
22565
|
-
|
|
22619
|
+
const nearest = ranked[0].slot;
|
|
22620
|
+
return withSwiftRootLock(nearest, run5(nearest), signal);
|
|
22566
22621
|
}
|
|
22567
22622
|
function mirrorTree2(source, target, skip) {
|
|
22568
22623
|
(0, import_node_fs28.mkdirSync)(target, { recursive: true });
|
|
@@ -33417,9 +33472,10 @@ var swift_shipped_archives_default = {
|
|
|
33417
33472
|
|
|
33418
33473
|
// src/swift-shipped-binaries.ts
|
|
33419
33474
|
var SHIPPED_ARCHIVES = new Map(Object.entries(swift_shipped_archives_default));
|
|
33475
|
+
var SHIPPED_CHECKSUMS = new Set(SHIPPED_ARCHIVES.values());
|
|
33420
33476
|
function shippedBinaryDiffers(target, checksum) {
|
|
33421
33477
|
const shipped = SHIPPED_ARCHIVES.get(target);
|
|
33422
|
-
return shipped !== void 0
|
|
33478
|
+
return checksum !== null && (shipped !== void 0 ? checksum !== shipped : !SHIPPED_CHECKSUMS.has(checksum));
|
|
33423
33479
|
}
|
|
33424
33480
|
|
|
33425
33481
|
// src/swift-packages.ts
|
|
@@ -33690,39 +33746,41 @@ function resolveSwiftPackages(options) {
|
|
|
33690
33746
|
return pkg;
|
|
33691
33747
|
};
|
|
33692
33748
|
const claimed = /* @__PURE__ */ new Set();
|
|
33693
|
-
const
|
|
33749
|
+
const claimDependencies = (pkg, target, binaryOnly = false) => target.dependencies.map((dependency) => {
|
|
33750
|
+
if (dependency.kind === "target")
|
|
33751
|
+
return claimTarget(pkg, dependency.name, binaryOnly);
|
|
33752
|
+
const nested = dependencyPackage(pkg, dependency);
|
|
33753
|
+
return nested && typeof nested !== "string" ? claimProduct(nested, dependency.name, binaryOnly) : false;
|
|
33754
|
+
}).some(Boolean);
|
|
33755
|
+
const claimTarget = (pkg, name3, binaryOnly = false) => {
|
|
33694
33756
|
const key2 = `${pkg.manifest.dir}\0${name3}`;
|
|
33695
|
-
if (claimed.has(key2)) return true;
|
|
33757
|
+
if (!binaryOnly && claimed.has(key2)) return true;
|
|
33696
33758
|
const target = pkg.manifest.targets.get(name3);
|
|
33759
|
+
if (target?.type === "binary") {
|
|
33760
|
+
const changed = !options.standinTargets?.has(name3) && shippedBinaryDiffers(name3, target.checksum);
|
|
33761
|
+
if (changed) providedTargets.delete(name3);
|
|
33762
|
+
return changed;
|
|
33763
|
+
}
|
|
33697
33764
|
if (!target || target.type !== "regular" || placeholderPackage(pkg)) return false;
|
|
33698
33765
|
const files2 = swiftTargetFiles(pkg.manifest, target);
|
|
33699
|
-
if (files2.every(
|
|
33766
|
+
if (binaryOnly || files2.every(
|
|
33700
33767
|
(file) => file.endsWith(".swift") && import_node_fs43.default.readFileSync(file, "utf8").trim() === ""
|
|
33701
|
-
))
|
|
33702
|
-
|
|
33768
|
+
)) {
|
|
33769
|
+
const changed = claimDependencies(pkg, target, true);
|
|
33770
|
+
if (changed) providedTargets.delete(name3);
|
|
33771
|
+
return changed;
|
|
33772
|
+
}
|
|
33703
33773
|
if (unloweredSources(files2, target, portableAssembly)) return false;
|
|
33704
33774
|
claimed.add(key2);
|
|
33705
33775
|
providedTargets.delete(name3);
|
|
33706
|
-
|
|
33707
|
-
if (dependency.kind === "target") claimTarget(pkg, dependency.name);
|
|
33708
|
-
else {
|
|
33709
|
-
const nested = dependencyPackage(pkg, dependency);
|
|
33710
|
-
if (nested && typeof nested !== "string") claimProduct(nested, dependency.name);
|
|
33711
|
-
}
|
|
33712
|
-
}
|
|
33776
|
+
claimDependencies(pkg, target);
|
|
33713
33777
|
return true;
|
|
33714
33778
|
};
|
|
33715
|
-
const claimProduct = (pkg, product) => {
|
|
33779
|
+
const claimProduct = (pkg, product, binaryOnly = false) => {
|
|
33716
33780
|
const roots = pkg.manifest.products.get(product)?.targets ?? [];
|
|
33717
|
-
|
|
33718
|
-
|
|
33719
|
-
|
|
33720
|
-
providedTargets.delete(root);
|
|
33721
|
-
providedProducts.delete(product);
|
|
33722
|
-
}
|
|
33723
|
-
}
|
|
33724
|
-
if (roots.map((name3) => claimTarget(pkg, name3)).some(Boolean))
|
|
33725
|
-
providedProducts.delete(product);
|
|
33781
|
+
const changed = roots.map((name3) => claimTarget(pkg, name3, binaryOnly)).some(Boolean);
|
|
33782
|
+
if (changed) providedProducts.delete(product);
|
|
33783
|
+
return changed;
|
|
33726
33784
|
};
|
|
33727
33785
|
for (const { product, source } of products) {
|
|
33728
33786
|
if (source.kind === "remote" && !options.provided) continue;
|
|
@@ -34056,7 +34114,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
34056
34114
|
return hash.digest("hex");
|
|
34057
34115
|
}
|
|
34058
34116
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
34059
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
34117
|
+
var STANDIN_SOURCE_DIGEST = true ? "28f94bd80124e52ab64394ba6f56176a69e00f86dab139561b97864d4fafbc8e" : standinSourceDigest();
|
|
34060
34118
|
|
|
34061
34119
|
// src/swift-standins.ts
|
|
34062
34120
|
var import_node_child_process32 = require("node:child_process");
|
|
@@ -34299,112 +34357,112 @@ var NATIVE_STATIC_LIBRARY_RECIPES = [
|
|
|
34299
34357
|
name: "skia",
|
|
34300
34358
|
nativeSha256: "5312f2b194b1f6b6721388028bf919e56400278245b039f47136aa98f0582333",
|
|
34301
34359
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
34302
|
-
recipe: "
|
|
34360
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34303
34361
|
archive: "libskia.a"
|
|
34304
34362
|
},
|
|
34305
34363
|
{
|
|
34306
34364
|
name: "skia_svg",
|
|
34307
34365
|
nativeSha256: "77adc498cff85db7850fb713c306681c6337f9b4ec42991b3764c8f3eff9d8d0",
|
|
34308
34366
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
34309
|
-
recipe: "
|
|
34367
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34310
34368
|
archive: "libsvg.a"
|
|
34311
34369
|
},
|
|
34312
34370
|
{
|
|
34313
34371
|
name: "skia_skshaper",
|
|
34314
34372
|
nativeSha256: "830bcf260bd24fd79ee5d323e26ec667638795e3a0e555f1093371b8342c345c",
|
|
34315
34373
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
34316
|
-
recipe: "
|
|
34374
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34317
34375
|
archive: "libskshaper.a"
|
|
34318
34376
|
},
|
|
34319
34377
|
{
|
|
34320
34378
|
name: "skia_skparagraph",
|
|
34321
34379
|
nativeSha256: "26afd4e5b11d46b0820a2cd7fd9918eb5a041946e1a1c0d4b91a5d54877e9dda",
|
|
34322
34380
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
34323
|
-
recipe: "
|
|
34381
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34324
34382
|
archive: "libskparagraph.a"
|
|
34325
34383
|
},
|
|
34326
34384
|
{
|
|
34327
34385
|
name: "skia_skunicode_core",
|
|
34328
34386
|
nativeSha256: "629f58c4e81157d42e353b2b255bebb2fd94d1f31d8f8157e982fa4367710526",
|
|
34329
34387
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
34330
|
-
recipe: "
|
|
34388
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34331
34389
|
archive: "libskunicode_core.a"
|
|
34332
34390
|
},
|
|
34333
34391
|
{
|
|
34334
34392
|
name: "skia_skunicode_libgrapheme",
|
|
34335
34393
|
nativeSha256: "047bd82306ba688453a3ff9dc02e203cdf16f2084551cca54f5d2b099baf1895",
|
|
34336
34394
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
34337
|
-
recipe: "
|
|
34395
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34338
34396
|
archive: "libskunicode_libgrapheme.a"
|
|
34339
34397
|
},
|
|
34340
34398
|
{
|
|
34341
34399
|
name: "skia_skottie",
|
|
34342
34400
|
nativeSha256: "75c0dfd82a256e761cddc45475b8109ed8c9a442767cf3a8bf8720eef0dd4af7",
|
|
34343
34401
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
34344
|
-
recipe: "
|
|
34402
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34345
34403
|
archive: "libskottie.a"
|
|
34346
34404
|
},
|
|
34347
34405
|
{
|
|
34348
34406
|
name: "skia_sksg",
|
|
34349
34407
|
nativeSha256: "df9652a46505d3c5c74d55b52295ef39218d2b5856e074117461fa2348312c8d",
|
|
34350
34408
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
34351
|
-
recipe: "
|
|
34409
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34352
34410
|
archive: "libsksg.a"
|
|
34353
34411
|
},
|
|
34354
34412
|
{
|
|
34355
34413
|
name: "skia",
|
|
34356
34414
|
nativeSha256: "c9b007c4da16f66d84b2f108af719b424ef91ee0759e58df0b76930bc6f82e31",
|
|
34357
34415
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
34358
|
-
recipe: "
|
|
34416
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34359
34417
|
archive: "libskia.a"
|
|
34360
34418
|
},
|
|
34361
34419
|
{
|
|
34362
34420
|
name: "skia_svg",
|
|
34363
34421
|
nativeSha256: "159705737769610b60216b114a28ba833840aa1df7833424df99edec4405b86f",
|
|
34364
34422
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
34365
|
-
recipe: "
|
|
34423
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34366
34424
|
archive: "libsvg.a"
|
|
34367
34425
|
},
|
|
34368
34426
|
{
|
|
34369
34427
|
name: "skia_skshaper",
|
|
34370
34428
|
nativeSha256: "934f3dbf3f38bca87b463b664a17c1588840f86ec89cf6961fb2a89b6336b35b",
|
|
34371
34429
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
34372
|
-
recipe: "
|
|
34430
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34373
34431
|
archive: "libskshaper.a"
|
|
34374
34432
|
},
|
|
34375
34433
|
{
|
|
34376
34434
|
name: "skia_skparagraph",
|
|
34377
34435
|
nativeSha256: "29a48349fc9b75c252b22fc6ca5ade90636900f82beec58780f03fd66ab345b3",
|
|
34378
34436
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
34379
|
-
recipe: "
|
|
34437
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34380
34438
|
archive: "libskparagraph.a"
|
|
34381
34439
|
},
|
|
34382
34440
|
{
|
|
34383
34441
|
name: "skia_skunicode_core",
|
|
34384
34442
|
nativeSha256: "096e5139c4de528dbba5a9605895f4c725853e48225503bdfa9c1d70241e5f58",
|
|
34385
34443
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
34386
|
-
recipe: "
|
|
34444
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34387
34445
|
archive: "libskunicode_core.a"
|
|
34388
34446
|
},
|
|
34389
34447
|
{
|
|
34390
34448
|
name: "skia_skunicode_libgrapheme",
|
|
34391
34449
|
nativeSha256: "d1ec3c2d5ad6889eb4fbf4a6bab74f39946739501d40de903f7d8cb2181ac37d",
|
|
34392
34450
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
34393
|
-
recipe: "
|
|
34451
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34394
34452
|
archive: "libskunicode_libgrapheme.a"
|
|
34395
34453
|
},
|
|
34396
34454
|
{
|
|
34397
34455
|
name: "skia_skottie",
|
|
34398
34456
|
nativeSha256: "52ea2e046f45f51df6027d783e923864e8c4ef94a1fe4fc5971e436574d8ae57",
|
|
34399
34457
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
34400
|
-
recipe: "
|
|
34458
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34401
34459
|
archive: "libskottie.a"
|
|
34402
34460
|
},
|
|
34403
34461
|
{
|
|
34404
34462
|
name: "skia_sksg",
|
|
34405
34463
|
nativeSha256: "541a74d8f83dc411efe8eeac377486a5054fab4c7710afe406a20a27efe8f627",
|
|
34406
34464
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
34407
|
-
recipe: "
|
|
34465
|
+
recipe: "ebd819e6c4d81eac129954bbf27a3483c1830f73e3714a8ba72d4d19a563ec57",
|
|
34408
34466
|
archive: "libsksg.a"
|
|
34409
34467
|
},
|
|
34410
34468
|
{
|
|
@@ -36228,7 +36286,7 @@ function externalConformances(module2, interfaceText) {
|
|
|
36228
36286
|
)) {
|
|
36229
36287
|
const [, extended, conformances] = match;
|
|
36230
36288
|
if (extended.startsWith(`${module2}.`) || /\bwhere\b/.test(conformances)) continue;
|
|
36231
|
-
const own = conformances.split(",").map((name3) => name3.trim()).filter((name3) => name3.startsWith(`${module2}.`));
|
|
36289
|
+
const own = conformances.split(",").map((name3) => name3.trim()).filter((name3) => name3.startsWith(`${module2}.`)).map((name3) => name3.slice(module2.length + 1));
|
|
36232
36290
|
const type = extended.startsWith("Swift.") ? extended : extended.split(".").slice(1).join(".");
|
|
36233
36291
|
if (own.length > 0 && type) lines.add(`extension ${type} : ${own.join(", ")} {}
|
|
36234
36292
|
`);
|
|
@@ -36266,8 +36324,9 @@ function wasmFlags(toolchain, imports2) {
|
|
|
36266
36324
|
// submodules (os.log), so a vendor interface naming one resolves as the
|
|
36267
36325
|
// ios sdk resolves it; a second `os` map on the path is a redefinition.
|
|
36268
36326
|
...cFlags.flatMap((flag) => ["-Xcc", flag]),
|
|
36269
|
-
...
|
|
36270
|
-
...toolchain.
|
|
36327
|
+
...toolchain.standinModules ? ["-I", toolchain.standinModules] : [],
|
|
36328
|
+
...(toolchain.standinIncludes ?? []).flatMap((dir) => ["-I", dir, "-F", dir]),
|
|
36329
|
+
...peachModuleDirs(toolchain, imports2, sdkIncludes).flatMap((dir) => ["-I", dir])
|
|
36271
36330
|
];
|
|
36272
36331
|
}
|
|
36273
36332
|
function objcStandin(surface, binary, toolchain, work, behavior, frameworks, siblings) {
|
|
@@ -37636,7 +37695,9 @@ function gapText(gap) {
|
|
|
37636
37695
|
return text5.length > 600 ? `${text5.slice(0, 600)}\u2026` : text5;
|
|
37637
37696
|
}
|
|
37638
37697
|
async function buildStandins(binaries, toolchain, provided, behavior) {
|
|
37639
|
-
const requested = binaries.filter(
|
|
37698
|
+
const requested = binaries.filter(
|
|
37699
|
+
(binary) => !provided.has(binary.target) || shippedBinaryDiffers(binary.target, binary.checksum)
|
|
37700
|
+
);
|
|
37640
37701
|
if (requested.length === 0) return { standins: [], gaps: /* @__PURE__ */ new Map() };
|
|
37641
37702
|
if (process.platform === "darwin" && process.env.TM_EXEC_BUILD_PLATFORM !== "mac" && process.env.TM_SESSION && process.env.CI !== "true" && toolchain.moduleRoot === sourceSwiftCheckout() && !swiftDistributionAt(toolchain.moduleRoot))
|
|
37642
37703
|
return sourceStandins(requested, toolchain, provided, behavior);
|
|
@@ -37651,6 +37712,7 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
|
|
|
37651
37712
|
binaries.map((binary) => [swiftTargetModuleName(binary.target), binary])
|
|
37652
37713
|
);
|
|
37653
37714
|
const interfaceImports = /* @__PURE__ */ new Map();
|
|
37715
|
+
const retained = new Set(provided);
|
|
37654
37716
|
for (const binary of binaries) {
|
|
37655
37717
|
const swiftSources = binary.placeholder ?? binary.moduleSources;
|
|
37656
37718
|
if (swiftSources !== void 0) {
|
|
@@ -37679,8 +37741,9 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
|
|
|
37679
37741
|
interfaceImports.set(binary, imports2);
|
|
37680
37742
|
for (const surface of surfaces(artifact.dir, binary.target)) {
|
|
37681
37743
|
byModule.set(surface.module, binary);
|
|
37744
|
+
if (shippedBinaryDiffers(surface.module, binary.checksum))
|
|
37745
|
+
retained.delete(surface.module);
|
|
37682
37746
|
for (const module2 of surfaceImports(surface)) imports2.add(module2);
|
|
37683
|
-
if (surface.kind === "c") continue;
|
|
37684
37747
|
if (surface.kind === "objc" || surface.kind === "mixed")
|
|
37685
37748
|
frameworkSurfaces.set(surface.module, surface);
|
|
37686
37749
|
if (surface.kind !== "swift" && import_node_path52.default.basename(import_node_path52.default.dirname(surface.modulemap)) !== "Modules")
|
|
@@ -37692,7 +37755,13 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
|
|
|
37692
37755
|
} catch {
|
|
37693
37756
|
}
|
|
37694
37757
|
}
|
|
37695
|
-
|
|
37758
|
+
provided = retained;
|
|
37759
|
+
const includes = [];
|
|
37760
|
+
const generatedToolchain = {
|
|
37761
|
+
...toolchain,
|
|
37762
|
+
standinModules: modules,
|
|
37763
|
+
standinIncludes: includes
|
|
37764
|
+
};
|
|
37696
37765
|
const sourceFrameworks = import_node_path52.default.join(modules, "ios-frameworks");
|
|
37697
37766
|
import_node_fs52.default.mkdirSync(sourceFrameworks);
|
|
37698
37767
|
const frameworks = {
|
|
@@ -37773,6 +37842,16 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
|
|
|
37773
37842
|
for (const standin of result) {
|
|
37774
37843
|
if (prerequisites.has(standin.module)) {
|
|
37775
37844
|
const source = standin.files[`${standin.module}.swift`];
|
|
37845
|
+
if (source === void 0) {
|
|
37846
|
+
const dir = import_node_path52.default.join(modules, standin.module, "include");
|
|
37847
|
+
for (const [name3, text5] of Object.entries(standin.files)) {
|
|
37848
|
+
if (!name3.startsWith("include/")) continue;
|
|
37849
|
+
const file = import_node_path52.default.join(modules, standin.module, name3);
|
|
37850
|
+
import_node_fs52.default.mkdirSync(import_node_path52.default.dirname(file), { recursive: true });
|
|
37851
|
+
import_node_fs52.default.writeFileSync(file, text5);
|
|
37852
|
+
}
|
|
37853
|
+
includes.push(dir);
|
|
37854
|
+
}
|
|
37776
37855
|
if (source !== void 0) {
|
|
37777
37856
|
const file = import_node_path52.default.join(modules, `${standin.module}.swift`);
|
|
37778
37857
|
import_node_fs52.default.writeFileSync(file, source);
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2370 | (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;
|
|
@@ -3244,7 +3244,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
3244
3244
|
var init_swift_standin_digest = __esm({
|
|
3245
3245
|
"src/swift-standin-digest.ts"() {
|
|
3246
3246
|
"use strict";
|
|
3247
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
3247
|
+
STANDIN_SOURCE_DIGEST = true ? "28f94bd80124e52ab64394ba6f56176a69e00f86dab139561b97864d4fafbc8e" : standinSourceDigest();
|
|
3248
3248
|
}
|
|
3249
3249
|
});
|
|
3250
3250
|
|
|
@@ -4959,7 +4959,7 @@ var init_swift_compile = __esm({
|
|
|
4959
4959
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
4960
4960
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
4961
4961
|
).join("");
|
|
4962
|
-
compilerSourceDigest = true ? "
|
|
4962
|
+
compilerSourceDigest = true ? "1b47386ddb37b973b7110df3031ea52e9d23ac2a578bc7539d91e232e336db2a" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
4963
4963
|
C_WORDS = new Set(
|
|
4964
4964
|
"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(
|
|
4965
4965
|
" "
|
|
@@ -5341,12 +5341,13 @@ var init_swift_shipped_archives = __esm({
|
|
|
5341
5341
|
});
|
|
5342
5342
|
|
|
5343
5343
|
// src/swift-shipped-binaries.ts
|
|
5344
|
-
var SHIPPED_ARCHIVES;
|
|
5344
|
+
var SHIPPED_ARCHIVES, SHIPPED_CHECKSUMS;
|
|
5345
5345
|
var init_swift_shipped_binaries = __esm({
|
|
5346
5346
|
"src/swift-shipped-binaries.ts"() {
|
|
5347
5347
|
"use strict";
|
|
5348
5348
|
init_swift_shipped_archives();
|
|
5349
5349
|
SHIPPED_ARCHIVES = new Map(Object.entries(swift_shipped_archives_default));
|
|
5350
|
+
SHIPPED_CHECKSUMS = new Set(SHIPPED_ARCHIVES.values());
|
|
5350
5351
|
}
|
|
5351
5352
|
});
|
|
5352
5353
|
|
|
@@ -5454,6 +5455,7 @@ var init_swift_standins = __esm({
|
|
|
5454
5455
|
init_swift_package();
|
|
5455
5456
|
init_swift_packages();
|
|
5456
5457
|
init_swift_shared_sdk();
|
|
5458
|
+
init_swift_shipped_binaries();
|
|
5457
5459
|
init_swift_standin_builtin_behavior();
|
|
5458
5460
|
init_swift_standin_digest();
|
|
5459
5461
|
init_swift_standin_emit();
|
|
@@ -5501,7 +5503,7 @@ var init_react_native_core = __esm({
|
|
|
5501
5503
|
init_swift_distribution();
|
|
5502
5504
|
init_swift_package();
|
|
5503
5505
|
init_swiftContract();
|
|
5504
|
-
recipe = true ? "
|
|
5506
|
+
recipe = true ? "b6dde8c8eae8967beb175e8d5b9f585d060bc8aaad48a9e3473f05381be6f1a2" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
5505
5507
|
}
|
|
5506
5508
|
});
|
|
5507
5509
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2370 | (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;
|
|
@@ -153,6 +153,7 @@ export interface CompositorGpuBackend {
|
|
|
153
153
|
createScratch(display: CompositorGpuDisplay, generation: number, width: number, height: number): CompositorGpuTarget;
|
|
154
154
|
retireScratch(target: CompositorGpuTarget): void;
|
|
155
155
|
renderTree(display: CompositorGpuDisplay): RenderTree | null;
|
|
156
|
+
compositeSurface(display: CompositorGpuDisplay): ReturnType<RenderTree['composite']> | null;
|
|
156
157
|
readonly treesStale: boolean;
|
|
157
158
|
composeStaleTrees(): number;
|
|
158
159
|
createLayerTarget(display: CompositorGpuDisplay, generation: number, texture: GPUTexture, width: number, height: number): CompositorGpuTarget;
|
|
@@ -529,6 +529,11 @@ export interface CompositorSurfacePaintStats {
|
|
|
529
529
|
hasLiveFrames: boolean;
|
|
530
530
|
paints: number;
|
|
531
531
|
heldPaints: number;
|
|
532
|
+
budgetDeferredPaints: number;
|
|
533
|
+
budgetDeferredTrees: number;
|
|
534
|
+
producerBudgetHeld: boolean;
|
|
535
|
+
paintCostMs: number;
|
|
536
|
+
layoutCostMs: number;
|
|
532
537
|
paused: boolean;
|
|
533
538
|
awaitingBoundTree: boolean;
|
|
534
539
|
needsPaint: boolean;
|
|
@@ -1310,6 +1315,10 @@ export type CompositorHostToWorker = {
|
|
|
1310
1315
|
appItemDevice: DeviceSpec | null;
|
|
1311
1316
|
surface: CompositorSurfaceInit;
|
|
1312
1317
|
port: MessagePort;
|
|
1318
|
+
} | {
|
|
1319
|
+
type: 'nativeWidgetVisibility';
|
|
1320
|
+
identity: NativeWidgetIdentity;
|
|
1321
|
+
visible: boolean;
|
|
1313
1322
|
} | {
|
|
1314
1323
|
type: 'retireNativeWidget';
|
|
1315
1324
|
identity: NativeWidgetIdentity;
|
|
@@ -1972,6 +1981,11 @@ export type CompositorWorkerToHost = {
|
|
|
1972
1981
|
} | {
|
|
1973
1982
|
type: 'liveFrameMotion';
|
|
1974
1983
|
active: boolean;
|
|
1984
|
+
} | {
|
|
1985
|
+
type: 'itemFrameBudget';
|
|
1986
|
+
surfaceId: CompositorSurfaceId;
|
|
1987
|
+
generation: number;
|
|
1988
|
+
held: boolean;
|
|
1975
1989
|
} | {
|
|
1976
1990
|
type: 'ambientGlowSample';
|
|
1977
1991
|
bitmap: ImageBitmap;
|
package/kotlin/sdk.tar.gz
CHANGED
|
Binary file
|
package/node-runtime.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":1,"archiveSha256":"
|
|
1
|
+
{"abi":1,"archiveSha256":"0b51fae799d1c9c57902ea1fc25db59adfc426715d031f92323d623fa5458adc","entrySha256":"524301f1a15458e60c945b5e3b0cd78b889e677723c53ee7f50937a0b7f8978e"}
|