peachsim 0.1.2539 → 0.1.2550
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/commands/inspect/settling.ts +32 -28
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +24 -7
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +34 -30
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-5WNGVKAO.mjs → acorn-2IHYKATS.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-YYW22VHX.mjs → chunk-2RR5PIZK.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-VOAPRY6S.mjs → chunk-47AK4Z5F.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NIUWMBBQ.mjs → chunk-7I4EEYJK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KFB7KBK2.mjs → chunk-7UXSDV6V.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BBTJK2R3.mjs → chunk-ABZXVU5F.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-7K3LYYDH.mjs → chunk-BW2YWHUH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-45QYUIG4.mjs → chunk-DEZQSTBX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QOV4VQAP.mjs → chunk-DEZVY7KM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BKDSWBR3.mjs → chunk-FPEVLXLM.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-QKZHZ2GW.mjs → chunk-IAXVQGJX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SW5BT4OK.mjs → chunk-IC2PCUHM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-J5P24DJO.mjs → chunk-N42MJCYL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MAR4ZXOK.mjs → chunk-N7LS7D7G.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RAVJIEAN.mjs → chunk-OYAT4MBE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HNO52ELL.mjs → chunk-UJCFXHNJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-AKI4GT3Y.mjs → chunk-UW4NEKSF.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-RLF3UUZH.mjs → chunk-UWN7GVKH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2FUSNOED.mjs → chunk-VPBYBLDP.mjs} +31 -14
- package/dist-lib/esm-chunks/{chunk-IEYZS4X6.mjs → chunk-XLYOIGID.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-H35GKHLJ.mjs → chunk-XTNM7WC3.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-P5P7U2GO.mjs → chunk-ZGW3WDUC.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-JNYKXW6Q.mjs → metro-layout-parser-O3WRDGIK.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-NYCATRAM.mjs → swift-package-prebuilt-RUCLCAIJ.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-23LXTJ7Q.mjs → swift-sdk-app-module-Y7NSCAHC.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-WZHY4CDZ.mjs → swift-sdk-image-FLDE3QEC.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-BPOWYSJJ.mjs → swift-sdk-image-producer-AHJPQDQO.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +22 -5
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +24 -7
- package/dist-lib/host/fetch-proxy-handler.cjs +5 -5
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +33 -29
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +15 -15
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +79 -79
- package/dist-lib/public-origins-lib.json +69 -69
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +33 -29
- package/dist-lib/sdk.mjs +39 -35
- package/dist-lib/skills.cjs +56 -35
- package/dist-lib/swift-compile.cjs +20 -3
- package/dist-lib/swift-compile.mjs +10 -10
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +5 -5
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/bplist-parser.cjs +1 -1
- package/dist-lib/vendor/ignore.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/plist.cjs +1 -1
- package/dist-lib/vendor/smol-toml.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +3 -1
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/sfSymbolMetricsContract.ts +57 -15
- package/src/swift-wasm-prune.ts +21 -1
package/dist-lib/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (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;
|
|
@@ -2127,31 +2127,6 @@ async function waitForSootsimIdle({
|
|
|
2127
2127
|
// the compositor rejects a stats request it is too busy to answer.
|
|
2128
2128
|
const compositorRead = answer(() => globalThis.__sootsimCompositor.getStats({ detail: 'readiness' })).catch(() => BUSY)
|
|
2129
2129
|
const countsRead = answer(() => globalThis.__sootsimTest?.getRequestCounts?.()).catch(() => null)
|
|
2130
|
-
// the mounted hierarchy in render-worker mode comes from the test
|
|
2131
|
-
// bridge: globalThis.__sootsimRoot is an empty placeholder there, so a
|
|
2132
|
-
// walk over it hashes every screen to the same empty string while
|
|
2133
|
-
// it moves. listInspectable is the worker-backed read describe
|
|
2134
|
-
// uses; a worker too busy to answer it reads as unsettled. tight
|
|
2135
|
-
// budgets skip this read and settle on the cheaper signals above.
|
|
2136
|
-
// it walks every node, so a poll whose geometry revision matches the
|
|
2137
|
-
// last read, in this wait or an earlier one, reuses that read.
|
|
2138
|
-
const hierarchyRead =
|
|
2139
|
-
fullGeometry && typeof globalThis.__sootsimTest?.listInspectable === 'function'
|
|
2140
|
-
? answer(() => globalThis.__sootsimTest.getGeometryRevision?.())
|
|
2141
|
-
.catch(() => null)
|
|
2142
|
-
.then((revision) => {
|
|
2143
|
-
if (revision === BUSY) return BUSY
|
|
2144
|
-
if (typeof revision === 'string' && geometry.revision === revision) return geometry.hierarchy
|
|
2145
|
-
return answer(() => globalThis.__sootsimTest.listInspectable({}))
|
|
2146
|
-
.catch(() => null)
|
|
2147
|
-
.then((hierarchy) => {
|
|
2148
|
-
const kept = typeof revision === 'string' && Array.isArray(hierarchy)
|
|
2149
|
-
geometry.revision = kept ? revision : null
|
|
2150
|
-
geometry.hierarchy = kept ? hierarchy : null
|
|
2151
|
-
return hierarchy
|
|
2152
|
-
})
|
|
2153
|
-
})
|
|
2154
|
-
: null
|
|
2155
2130
|
if (motionRead) {
|
|
2156
2131
|
const motion = await motionRead
|
|
2157
2132
|
if (motion === BUSY) workerBusy = true
|
|
@@ -2246,6 +2221,31 @@ async function waitForSootsimIdle({
|
|
|
2246
2221
|
const nodeCountRead = motionStill
|
|
2247
2222
|
? answer(() => globalThis.__sootsimTest?.getWindowNodeCount?.()).catch(() => null)
|
|
2248
2223
|
: null
|
|
2224
|
+
// the mounted hierarchy in render-worker mode comes from the test
|
|
2225
|
+
// bridge: globalThis.__sootsimRoot is an empty placeholder there, so a
|
|
2226
|
+
// walk over it hashes every screen to the same empty string while
|
|
2227
|
+
// it moves. listInspectable walks every visible node and serializes
|
|
2228
|
+
// styles, so skip it while motion is still active (the poll already
|
|
2229
|
+
// fails on animating/layoutDirty) and reuse the last read whenever the
|
|
2230
|
+
// geometry revision matches.
|
|
2231
|
+
const hasInspectable = fullGeometry && typeof globalThis.__sootsimTest?.listInspectable === 'function'
|
|
2232
|
+
const hierarchyRead =
|
|
2233
|
+
motionStill && hasInspectable
|
|
2234
|
+
? answer(() => globalThis.__sootsimTest.getGeometryRevision?.())
|
|
2235
|
+
.catch(() => null)
|
|
2236
|
+
.then((revision) => {
|
|
2237
|
+
if (revision === BUSY) return BUSY
|
|
2238
|
+
if (typeof revision === 'string' && geometry.revision === revision) return geometry.hierarchy
|
|
2239
|
+
return answer(() => globalThis.__sootsimTest.listInspectable({}))
|
|
2240
|
+
.catch(() => null)
|
|
2241
|
+
.then((hierarchy) => {
|
|
2242
|
+
const kept = typeof revision === 'string' && Array.isArray(hierarchy)
|
|
2243
|
+
geometry.revision = kept ? revision : null
|
|
2244
|
+
geometry.hierarchy = kept ? hierarchy : null
|
|
2245
|
+
return hierarchy
|
|
2246
|
+
})
|
|
2247
|
+
})
|
|
2248
|
+
: null
|
|
2249
2249
|
const compositor = await compositorRead
|
|
2250
2250
|
if (compositor === BUSY) {
|
|
2251
2251
|
workerBusy = true
|
|
@@ -2284,6 +2284,9 @@ async function waitForSootsimIdle({
|
|
|
2284
2284
|
? accessibility
|
|
2285
2285
|
: null
|
|
2286
2286
|
if (accessibility === BUSY) workerBusy = true
|
|
2287
|
+
if (!motionStill && hasInspectable) {
|
|
2288
|
+
return { layout: lastLayout, nodeRows: lastNodeRows, nativeHierarchy, visibleMotion, visibleMotionBy, animating, animatingBy, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, motionUnavailable, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
|
|
2289
|
+
}
|
|
2287
2290
|
let hierarchy = hierarchyRead ? await hierarchyRead : null
|
|
2288
2291
|
if (hierarchy === BUSY) {
|
|
2289
2292
|
workerBusy = true
|
|
@@ -2384,7 +2387,7 @@ async function waitForSootsimIdle({
|
|
|
2384
2387
|
const networkQuietGraceMs = 1200
|
|
2385
2388
|
let lastNativeHierarchy = null
|
|
2386
2389
|
let nativeHierarchyStillSince = null
|
|
2387
|
-
let lastLayout =
|
|
2390
|
+
let lastLayout = null
|
|
2388
2391
|
let lastNodeRows = []
|
|
2389
2392
|
// what moved between the last two differing polls, bounded; names the
|
|
2390
2393
|
// nodes behind "layout changed" without keeping any poll history.
|
|
@@ -2465,7 +2468,7 @@ async function waitForSootsimIdle({
|
|
|
2465
2468
|
if (snapshot.layoutDirty) dirtyPolls++
|
|
2466
2469
|
if (snapshot.animating || snapshot.shellAnimating) animatingPolls++
|
|
2467
2470
|
if (snapshot.webViewStarting) webViewStartingPolls++
|
|
2468
|
-
if (polls > 1 && snapshot.layout !== lastLayout) {
|
|
2471
|
+
if (polls > 1 && lastLayout !== null && snapshot.layout !== lastLayout) {
|
|
2469
2472
|
layoutChangedPolls++
|
|
2470
2473
|
lastLayoutChange = describeLayoutChange(lastNodeRows, snapshot.nodeRows)
|
|
2471
2474
|
}
|
|
@@ -2520,6 +2523,7 @@ async function waitForSootsimIdle({
|
|
|
2520
2523
|
(snapshot.appCommits === null || lastAppCommits === null || snapshot.appCommits === lastAppCommits) &&
|
|
2521
2524
|
(snapshot.nodeCount === null || lastNodeCount === null || snapshot.nodeCount === lastNodeCount) &&
|
|
2522
2525
|
!screenChanged &&
|
|
2526
|
+
snapshot.layout !== null &&
|
|
2523
2527
|
snapshot.layout === lastLayout
|
|
2524
2528
|
// generic network quiet: nothing in flight and no new requests issued.
|
|
2525
2529
|
const networkQuiet =
|
|
@@ -2587,7 +2591,7 @@ async function waitForSootsimIdle({
|
|
|
2587
2591
|
if (last.motionUnavailable) blockers.push('animation reporting unavailable')
|
|
2588
2592
|
if (last.workerBusy && !last.motionUnavailable) blockers.push('a render worker too busy to report')
|
|
2589
2593
|
if (last.webViewStarting) blockers.push(last.webViewBlocker || 'webView still starting')
|
|
2590
|
-
if (!maestro && polls > 1 && last.layout !== report.layout) blockers.push('layout still changing')
|
|
2594
|
+
if (!maestro && polls > 1 && last.layout !== null && report.layout !== null && last.layout !== report.layout) blockers.push('layout still changing')
|
|
2591
2595
|
if (maestro && (last.nativeHierarchy === null || (polls > 1 && !hierarchyUnchanged(last.nativeHierarchy, report.nativeHierarchy)))) blockers.push(last.nativeHierarchy === null ? 'native accessibility hierarchy unavailable' : 'native accessibility hierarchy still changing')
|
|
2592
2596
|
if (screenStill && last.visibleMotion) blockers.push('visible motion continues (' + last.visibleMotionBy + ')')
|
|
2593
2597
|
if (last.requestInFlight > 0) blockers.push(last.requestInFlight + ' requests in flight')
|
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SEMANTIC_WAIT_MAX_TIMEOUT_MS,
|
|
4
4
|
parseDiagnosticsResult
|
|
5
|
-
} from "./esm-chunks/chunk-
|
|
5
|
+
} from "./esm-chunks/chunk-FPEVLXLM.mjs";
|
|
6
6
|
import {
|
|
7
7
|
LAUNCH_METADATA_KEYS,
|
|
8
8
|
LAUNCH_METADATA_QUERY_PARAM
|
|
9
|
-
} from "./esm-chunks/chunk-
|
|
9
|
+
} from "./esm-chunks/chunk-47AK4Z5F.mjs";
|
|
10
10
|
import {
|
|
11
11
|
HEADLESS_TENANT_FETCH_HUNG_MARKER,
|
|
12
12
|
readyProbeContentBasis,
|
|
13
13
|
readyProbeHasContent,
|
|
14
14
|
readyProbeIsReady
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-7UXSDV6V.mjs";
|
|
16
16
|
import {
|
|
17
17
|
sleep
|
|
18
|
-
} from "./esm-chunks/chunk-
|
|
19
|
-
import "./esm-chunks/chunk-
|
|
18
|
+
} from "./esm-chunks/chunk-IC2PCUHM.mjs";
|
|
19
|
+
import "./esm-chunks/chunk-DEZQSTBX.mjs";
|
|
20
20
|
import {
|
|
21
21
|
__publicField
|
|
22
|
-
} from "./esm-chunks/chunk-
|
|
22
|
+
} from "./esm-chunks/chunk-N7LS7D7G.mjs";
|
|
23
23
|
|
|
24
24
|
// cli/commands/inspect/core.ts
|
|
25
25
|
var MAX_MS_FLAG_ALIASES = ["--max-ms", "--maxMs", "--maxms", "--max_ms", "--timeout"];
|
|
@@ -1981,31 +1981,6 @@ async function waitForSootsimIdle({
|
|
|
1981
1981
|
// the compositor rejects a stats request it is too busy to answer.
|
|
1982
1982
|
const compositorRead = answer(() => globalThis.__sootsimCompositor.getStats({ detail: 'readiness' })).catch(() => BUSY)
|
|
1983
1983
|
const countsRead = answer(() => globalThis.__sootsimTest?.getRequestCounts?.()).catch(() => null)
|
|
1984
|
-
// the mounted hierarchy in render-worker mode comes from the test
|
|
1985
|
-
// bridge: globalThis.__sootsimRoot is an empty placeholder there, so a
|
|
1986
|
-
// walk over it hashes every screen to the same empty string while
|
|
1987
|
-
// it moves. listInspectable is the worker-backed read describe
|
|
1988
|
-
// uses; a worker too busy to answer it reads as unsettled. tight
|
|
1989
|
-
// budgets skip this read and settle on the cheaper signals above.
|
|
1990
|
-
// it walks every node, so a poll whose geometry revision matches the
|
|
1991
|
-
// last read, in this wait or an earlier one, reuses that read.
|
|
1992
|
-
const hierarchyRead =
|
|
1993
|
-
fullGeometry && typeof globalThis.__sootsimTest?.listInspectable === 'function'
|
|
1994
|
-
? answer(() => globalThis.__sootsimTest.getGeometryRevision?.())
|
|
1995
|
-
.catch(() => null)
|
|
1996
|
-
.then((revision) => {
|
|
1997
|
-
if (revision === BUSY) return BUSY
|
|
1998
|
-
if (typeof revision === 'string' && geometry.revision === revision) return geometry.hierarchy
|
|
1999
|
-
return answer(() => globalThis.__sootsimTest.listInspectable({}))
|
|
2000
|
-
.catch(() => null)
|
|
2001
|
-
.then((hierarchy) => {
|
|
2002
|
-
const kept = typeof revision === 'string' && Array.isArray(hierarchy)
|
|
2003
|
-
geometry.revision = kept ? revision : null
|
|
2004
|
-
geometry.hierarchy = kept ? hierarchy : null
|
|
2005
|
-
return hierarchy
|
|
2006
|
-
})
|
|
2007
|
-
})
|
|
2008
|
-
: null
|
|
2009
1984
|
if (motionRead) {
|
|
2010
1985
|
const motion = await motionRead
|
|
2011
1986
|
if (motion === BUSY) workerBusy = true
|
|
@@ -2100,6 +2075,31 @@ async function waitForSootsimIdle({
|
|
|
2100
2075
|
const nodeCountRead = motionStill
|
|
2101
2076
|
? answer(() => globalThis.__sootsimTest?.getWindowNodeCount?.()).catch(() => null)
|
|
2102
2077
|
: null
|
|
2078
|
+
// the mounted hierarchy in render-worker mode comes from the test
|
|
2079
|
+
// bridge: globalThis.__sootsimRoot is an empty placeholder there, so a
|
|
2080
|
+
// walk over it hashes every screen to the same empty string while
|
|
2081
|
+
// it moves. listInspectable walks every visible node and serializes
|
|
2082
|
+
// styles, so skip it while motion is still active (the poll already
|
|
2083
|
+
// fails on animating/layoutDirty) and reuse the last read whenever the
|
|
2084
|
+
// geometry revision matches.
|
|
2085
|
+
const hasInspectable = fullGeometry && typeof globalThis.__sootsimTest?.listInspectable === 'function'
|
|
2086
|
+
const hierarchyRead =
|
|
2087
|
+
motionStill && hasInspectable
|
|
2088
|
+
? answer(() => globalThis.__sootsimTest.getGeometryRevision?.())
|
|
2089
|
+
.catch(() => null)
|
|
2090
|
+
.then((revision) => {
|
|
2091
|
+
if (revision === BUSY) return BUSY
|
|
2092
|
+
if (typeof revision === 'string' && geometry.revision === revision) return geometry.hierarchy
|
|
2093
|
+
return answer(() => globalThis.__sootsimTest.listInspectable({}))
|
|
2094
|
+
.catch(() => null)
|
|
2095
|
+
.then((hierarchy) => {
|
|
2096
|
+
const kept = typeof revision === 'string' && Array.isArray(hierarchy)
|
|
2097
|
+
geometry.revision = kept ? revision : null
|
|
2098
|
+
geometry.hierarchy = kept ? hierarchy : null
|
|
2099
|
+
return hierarchy
|
|
2100
|
+
})
|
|
2101
|
+
})
|
|
2102
|
+
: null
|
|
2103
2103
|
const compositor = await compositorRead
|
|
2104
2104
|
if (compositor === BUSY) {
|
|
2105
2105
|
workerBusy = true
|
|
@@ -2138,6 +2138,9 @@ async function waitForSootsimIdle({
|
|
|
2138
2138
|
? accessibility
|
|
2139
2139
|
: null
|
|
2140
2140
|
if (accessibility === BUSY) workerBusy = true
|
|
2141
|
+
if (!motionStill && hasInspectable) {
|
|
2142
|
+
return { layout: lastLayout, nodeRows: lastNodeRows, nativeHierarchy, visibleMotion, visibleMotionBy, animating, animatingBy, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, motionUnavailable, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
|
|
2143
|
+
}
|
|
2141
2144
|
let hierarchy = hierarchyRead ? await hierarchyRead : null
|
|
2142
2145
|
if (hierarchy === BUSY) {
|
|
2143
2146
|
workerBusy = true
|
|
@@ -2238,7 +2241,7 @@ async function waitForSootsimIdle({
|
|
|
2238
2241
|
const networkQuietGraceMs = 1200
|
|
2239
2242
|
let lastNativeHierarchy = null
|
|
2240
2243
|
let nativeHierarchyStillSince = null
|
|
2241
|
-
let lastLayout =
|
|
2244
|
+
let lastLayout = null
|
|
2242
2245
|
let lastNodeRows = []
|
|
2243
2246
|
// what moved between the last two differing polls, bounded; names the
|
|
2244
2247
|
// nodes behind "layout changed" without keeping any poll history.
|
|
@@ -2319,7 +2322,7 @@ async function waitForSootsimIdle({
|
|
|
2319
2322
|
if (snapshot.layoutDirty) dirtyPolls++
|
|
2320
2323
|
if (snapshot.animating || snapshot.shellAnimating) animatingPolls++
|
|
2321
2324
|
if (snapshot.webViewStarting) webViewStartingPolls++
|
|
2322
|
-
if (polls > 1 && snapshot.layout !== lastLayout) {
|
|
2325
|
+
if (polls > 1 && lastLayout !== null && snapshot.layout !== lastLayout) {
|
|
2323
2326
|
layoutChangedPolls++
|
|
2324
2327
|
lastLayoutChange = describeLayoutChange(lastNodeRows, snapshot.nodeRows)
|
|
2325
2328
|
}
|
|
@@ -2374,6 +2377,7 @@ async function waitForSootsimIdle({
|
|
|
2374
2377
|
(snapshot.appCommits === null || lastAppCommits === null || snapshot.appCommits === lastAppCommits) &&
|
|
2375
2378
|
(snapshot.nodeCount === null || lastNodeCount === null || snapshot.nodeCount === lastNodeCount) &&
|
|
2376
2379
|
!screenChanged &&
|
|
2380
|
+
snapshot.layout !== null &&
|
|
2377
2381
|
snapshot.layout === lastLayout
|
|
2378
2382
|
// generic network quiet: nothing in flight and no new requests issued.
|
|
2379
2383
|
const networkQuiet =
|
|
@@ -2441,7 +2445,7 @@ async function waitForSootsimIdle({
|
|
|
2441
2445
|
if (last.motionUnavailable) blockers.push('animation reporting unavailable')
|
|
2442
2446
|
if (last.workerBusy && !last.motionUnavailable) blockers.push('a render worker too busy to report')
|
|
2443
2447
|
if (last.webViewStarting) blockers.push(last.webViewBlocker || 'webView still starting')
|
|
2444
|
-
if (!maestro && polls > 1 && last.layout !== report.layout) blockers.push('layout still changing')
|
|
2448
|
+
if (!maestro && polls > 1 && last.layout !== null && report.layout !== null && last.layout !== report.layout) blockers.push('layout still changing')
|
|
2445
2449
|
if (maestro && (last.nativeHierarchy === null || (polls > 1 && !hierarchyUnchanged(last.nativeHierarchy, report.nativeHierarchy)))) blockers.push(last.nativeHierarchy === null ? 'native accessibility hierarchy unavailable' : 'native accessibility hierarchy still changing')
|
|
2446
2450
|
if (screenStill && last.visibleMotion) blockers.push('visible motion continues (' + last.visibleMotionBy + ')')
|
|
2447
2451
|
if (last.requestInFlight > 0) blockers.push(last.requestInFlight + ' requests in flight')
|
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (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;
|
|
@@ -29987,7 +29987,7 @@ var init_runtime_assets = __esm({
|
|
|
29987
29987
|
var runtime_companion_default;
|
|
29988
29988
|
var init_runtime_companion = __esm({
|
|
29989
29989
|
"runtime-companion.json"() {
|
|
29990
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
29990
|
+
runtime_companion_default = { abi: 1, sha256: "9cbbe501179072eed2cf4df524cf50d8be698a15d01ccf70a81b0dc72704d180", file: "node/cli-9cbbe501179072eed2cf4df524cf50d8be698a15d01ccf70a81b0dc72704d180.cjs" };
|
|
29991
29991
|
}
|
|
29992
29992
|
});
|
|
29993
29993
|
|
|
@@ -35508,13 +35508,13 @@ var init_swift_standin_digest = __esm({
|
|
|
35508
35508
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
35509
35509
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
35510
35510
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
35511
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
35511
|
+
STANDIN_SOURCE_DIGEST = true ? "8f5b71887c77cd6b3a6f30e6fd864a0a910792efd863806e1054498820a1cc25" : standinSourceDigest();
|
|
35512
35512
|
}
|
|
35513
35513
|
});
|
|
35514
35514
|
|
|
35515
35515
|
// src/expo-native-compiler-digest.ts
|
|
35516
35516
|
function expoNativeCompilerDigestValue() {
|
|
35517
|
-
return true ? "
|
|
35517
|
+
return true ? "a5dba3c9e760e73a07436babfd16e08388bbb385d7035756c4e685a2189af896" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
35518
35518
|
}
|
|
35519
35519
|
var import_node_crypto12;
|
|
35520
35520
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -61341,16 +61341,30 @@ function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTar
|
|
|
61341
61341
|
if (archiveOverlapsDist(archive)) supersededLibFlags.add(t);
|
|
61342
61342
|
}
|
|
61343
61343
|
const leftoverArchiveFiles = [];
|
|
61344
|
+
const leftoverArchiveOrigins = /* @__PURE__ */ new Map();
|
|
61344
61345
|
const writtenLeftovers = /* @__PURE__ */ new Set();
|
|
61345
61346
|
const writeArchiveLeftovers = (archive) => {
|
|
61346
61347
|
if (!import_node_fs58.default.existsSync(archive) || archive.endsWith("libclang_rt.builtins-wasm64.a"))
|
|
61347
61348
|
return;
|
|
61349
|
+
const archivePath = import_node_path57.default.join(
|
|
61350
|
+
import_node_fs58.default.realpathSync(import_node_path57.default.dirname(archive)),
|
|
61351
|
+
import_node_path57.default.basename(archive)
|
|
61352
|
+
);
|
|
61353
|
+
const ordinals = /* @__PURE__ */ new Map();
|
|
61348
61354
|
for (const m of readArMembers(new Uint8Array(import_node_fs58.default.readFileSync(archive)))) {
|
|
61355
|
+
const ordinal = (ordinals.get(m.name) ?? 0) + 1;
|
|
61356
|
+
ordinals.set(m.name, ordinal);
|
|
61349
61357
|
if (distBaseNames.has(m.name) || writtenLeftovers.has(m.name)) continue;
|
|
61350
61358
|
writtenLeftovers.add(m.name);
|
|
61351
61359
|
const out = import_node_path57.default.join(prunedObjsDir, m.name);
|
|
61352
61360
|
import_node_fs58.default.writeFileSync(out, m.bytes);
|
|
61353
61361
|
leftoverArchiveFiles.push(out);
|
|
61362
|
+
leftoverArchiveOrigins.set(out, {
|
|
61363
|
+
archive: archivePath,
|
|
61364
|
+
member: m.name,
|
|
61365
|
+
ordinal,
|
|
61366
|
+
original: out
|
|
61367
|
+
});
|
|
61354
61368
|
const object8 = parseWasmObjectBytes(`${archive}(${m.name})`, m.bytes, false);
|
|
61355
61369
|
extraArchiveObjs.push(object8);
|
|
61356
61370
|
objectBytes.set(object8, Buffer.from(m.bytes));
|
|
@@ -62320,7 +62334,10 @@ function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTar
|
|
|
62320
62334
|
const sdk2 = { wasiDirectory: sdkWasiDir, objectDirectory: sdkObjsDir };
|
|
62321
62335
|
link(outTokens, prunedMap, {
|
|
62322
62336
|
...sdk2,
|
|
62323
|
-
objectOrigins:
|
|
62337
|
+
objectOrigins: new Map([
|
|
62338
|
+
...swiftPrunedSdkObjectOrigins(sdk2, outTokens, prunedMap),
|
|
62339
|
+
...leftoverArchiveOrigins
|
|
62340
|
+
]),
|
|
62324
62341
|
transformations
|
|
62325
62342
|
});
|
|
62326
62343
|
} else
|
|
@@ -80557,7 +80574,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
80557
80574
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
80558
80575
|
MULTI_MANIFEST_VERSION = 76;
|
|
80559
80576
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
80560
|
-
compilerSourceDigest = true ? "
|
|
80577
|
+
compilerSourceDigest = true ? "e31a1c0904d4f195c0e99312de3a51b54c37f455d4cc6c09fe08fab0f25ce050" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
80561
80578
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
80562
80579
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
80563
80580
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -141670,7 +141687,7 @@ var init_nitro_superset = __esm({
|
|
|
141670
141687
|
init_nitroContract();
|
|
141671
141688
|
init_swift_standin_digest();
|
|
141672
141689
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
141673
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
141690
|
+
NITRO_COMPILER_DIGEST = true ? "2e614e76f2e7867e8e3043a1a8749fbd0537979df287b0a22579aeca9a4a2466" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
141674
141691
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
141675
141692
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
141676
141693
|
published3 = /* @__PURE__ */ new Map();
|
|
@@ -179231,31 +179248,6 @@ async function waitForSootsimIdle({
|
|
|
179231
179248
|
// the compositor rejects a stats request it is too busy to answer.
|
|
179232
179249
|
const compositorRead = answer(() => globalThis.__sootsimCompositor.getStats({ detail: 'readiness' })).catch(() => BUSY)
|
|
179233
179250
|
const countsRead = answer(() => globalThis.__sootsimTest?.getRequestCounts?.()).catch(() => null)
|
|
179234
|
-
// the mounted hierarchy in render-worker mode comes from the test
|
|
179235
|
-
// bridge: globalThis.__sootsimRoot is an empty placeholder there, so a
|
|
179236
|
-
// walk over it hashes every screen to the same empty string while
|
|
179237
|
-
// it moves. listInspectable is the worker-backed read describe
|
|
179238
|
-
// uses; a worker too busy to answer it reads as unsettled. tight
|
|
179239
|
-
// budgets skip this read and settle on the cheaper signals above.
|
|
179240
|
-
// it walks every node, so a poll whose geometry revision matches the
|
|
179241
|
-
// last read, in this wait or an earlier one, reuses that read.
|
|
179242
|
-
const hierarchyRead =
|
|
179243
|
-
fullGeometry && typeof globalThis.__sootsimTest?.listInspectable === 'function'
|
|
179244
|
-
? answer(() => globalThis.__sootsimTest.getGeometryRevision?.())
|
|
179245
|
-
.catch(() => null)
|
|
179246
|
-
.then((revision) => {
|
|
179247
|
-
if (revision === BUSY) return BUSY
|
|
179248
|
-
if (typeof revision === 'string' && geometry.revision === revision) return geometry.hierarchy
|
|
179249
|
-
return answer(() => globalThis.__sootsimTest.listInspectable({}))
|
|
179250
|
-
.catch(() => null)
|
|
179251
|
-
.then((hierarchy) => {
|
|
179252
|
-
const kept = typeof revision === 'string' && Array.isArray(hierarchy)
|
|
179253
|
-
geometry.revision = kept ? revision : null
|
|
179254
|
-
geometry.hierarchy = kept ? hierarchy : null
|
|
179255
|
-
return hierarchy
|
|
179256
|
-
})
|
|
179257
|
-
})
|
|
179258
|
-
: null
|
|
179259
179251
|
if (motionRead) {
|
|
179260
179252
|
const motion = await motionRead
|
|
179261
179253
|
if (motion === BUSY) workerBusy = true
|
|
@@ -179350,6 +179342,31 @@ async function waitForSootsimIdle({
|
|
|
179350
179342
|
const nodeCountRead = motionStill
|
|
179351
179343
|
? answer(() => globalThis.__sootsimTest?.getWindowNodeCount?.()).catch(() => null)
|
|
179352
179344
|
: null
|
|
179345
|
+
// the mounted hierarchy in render-worker mode comes from the test
|
|
179346
|
+
// bridge: globalThis.__sootsimRoot is an empty placeholder there, so a
|
|
179347
|
+
// walk over it hashes every screen to the same empty string while
|
|
179348
|
+
// it moves. listInspectable walks every visible node and serializes
|
|
179349
|
+
// styles, so skip it while motion is still active (the poll already
|
|
179350
|
+
// fails on animating/layoutDirty) and reuse the last read whenever the
|
|
179351
|
+
// geometry revision matches.
|
|
179352
|
+
const hasInspectable = fullGeometry && typeof globalThis.__sootsimTest?.listInspectable === 'function'
|
|
179353
|
+
const hierarchyRead =
|
|
179354
|
+
motionStill && hasInspectable
|
|
179355
|
+
? answer(() => globalThis.__sootsimTest.getGeometryRevision?.())
|
|
179356
|
+
.catch(() => null)
|
|
179357
|
+
.then((revision) => {
|
|
179358
|
+
if (revision === BUSY) return BUSY
|
|
179359
|
+
if (typeof revision === 'string' && geometry.revision === revision) return geometry.hierarchy
|
|
179360
|
+
return answer(() => globalThis.__sootsimTest.listInspectable({}))
|
|
179361
|
+
.catch(() => null)
|
|
179362
|
+
.then((hierarchy) => {
|
|
179363
|
+
const kept = typeof revision === 'string' && Array.isArray(hierarchy)
|
|
179364
|
+
geometry.revision = kept ? revision : null
|
|
179365
|
+
geometry.hierarchy = kept ? hierarchy : null
|
|
179366
|
+
return hierarchy
|
|
179367
|
+
})
|
|
179368
|
+
})
|
|
179369
|
+
: null
|
|
179353
179370
|
const compositor = await compositorRead
|
|
179354
179371
|
if (compositor === BUSY) {
|
|
179355
179372
|
workerBusy = true
|
|
@@ -179388,6 +179405,9 @@ async function waitForSootsimIdle({
|
|
|
179388
179405
|
? accessibility
|
|
179389
179406
|
: null
|
|
179390
179407
|
if (accessibility === BUSY) workerBusy = true
|
|
179408
|
+
if (!motionStill && hasInspectable) {
|
|
179409
|
+
return { layout: lastLayout, nodeRows: lastNodeRows, nativeHierarchy, visibleMotion, visibleMotionBy, animating, animatingBy, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, motionUnavailable, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
|
|
179410
|
+
}
|
|
179391
179411
|
let hierarchy = hierarchyRead ? await hierarchyRead : null
|
|
179392
179412
|
if (hierarchy === BUSY) {
|
|
179393
179413
|
workerBusy = true
|
|
@@ -179488,7 +179508,7 @@ async function waitForSootsimIdle({
|
|
|
179488
179508
|
const networkQuietGraceMs = 1200
|
|
179489
179509
|
let lastNativeHierarchy = null
|
|
179490
179510
|
let nativeHierarchyStillSince = null
|
|
179491
|
-
let lastLayout =
|
|
179511
|
+
let lastLayout = null
|
|
179492
179512
|
let lastNodeRows = []
|
|
179493
179513
|
// what moved between the last two differing polls, bounded; names the
|
|
179494
179514
|
// nodes behind "layout changed" without keeping any poll history.
|
|
@@ -179569,7 +179589,7 @@ async function waitForSootsimIdle({
|
|
|
179569
179589
|
if (snapshot.layoutDirty) dirtyPolls++
|
|
179570
179590
|
if (snapshot.animating || snapshot.shellAnimating) animatingPolls++
|
|
179571
179591
|
if (snapshot.webViewStarting) webViewStartingPolls++
|
|
179572
|
-
if (polls > 1 && snapshot.layout !== lastLayout) {
|
|
179592
|
+
if (polls > 1 && lastLayout !== null && snapshot.layout !== lastLayout) {
|
|
179573
179593
|
layoutChangedPolls++
|
|
179574
179594
|
lastLayoutChange = describeLayoutChange(lastNodeRows, snapshot.nodeRows)
|
|
179575
179595
|
}
|
|
@@ -179624,6 +179644,7 @@ async function waitForSootsimIdle({
|
|
|
179624
179644
|
(snapshot.appCommits === null || lastAppCommits === null || snapshot.appCommits === lastAppCommits) &&
|
|
179625
179645
|
(snapshot.nodeCount === null || lastNodeCount === null || snapshot.nodeCount === lastNodeCount) &&
|
|
179626
179646
|
!screenChanged &&
|
|
179647
|
+
snapshot.layout !== null &&
|
|
179627
179648
|
snapshot.layout === lastLayout
|
|
179628
179649
|
// generic network quiet: nothing in flight and no new requests issued.
|
|
179629
179650
|
const networkQuiet =
|
|
@@ -179691,7 +179712,7 @@ async function waitForSootsimIdle({
|
|
|
179691
179712
|
if (last.motionUnavailable) blockers.push('animation reporting unavailable')
|
|
179692
179713
|
if (last.workerBusy && !last.motionUnavailable) blockers.push('a render worker too busy to report')
|
|
179693
179714
|
if (last.webViewStarting) blockers.push(last.webViewBlocker || 'webView still starting')
|
|
179694
|
-
if (!maestro && polls > 1 && last.layout !== report.layout) blockers.push('layout still changing')
|
|
179715
|
+
if (!maestro && polls > 1 && last.layout !== null && report.layout !== null && last.layout !== report.layout) blockers.push('layout still changing')
|
|
179695
179716
|
if (maestro && (last.nativeHierarchy === null || (polls > 1 && !hierarchyUnchanged(last.nativeHierarchy, report.nativeHierarchy)))) blockers.push(last.nativeHierarchy === null ? 'native accessibility hierarchy unavailable' : 'native accessibility hierarchy still changing')
|
|
179696
179717
|
if (screenStill && last.visibleMotion) blockers.push('visible motion continues (' + last.visibleMotionBy + ')')
|
|
179697
179718
|
if (last.requestInFlight > 0) blockers.push(last.requestInFlight + ' requests in flight')
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (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;
|
|
@@ -8632,16 +8632,30 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
|
|
|
8632
8632
|
if (archiveOverlapsDist(archive)) supersededLibFlags.add(t);
|
|
8633
8633
|
}
|
|
8634
8634
|
const leftoverArchiveFiles = [];
|
|
8635
|
+
const leftoverArchiveOrigins = /* @__PURE__ */ new Map();
|
|
8635
8636
|
const writtenLeftovers = /* @__PURE__ */ new Set();
|
|
8636
8637
|
const writeArchiveLeftovers = (archive) => {
|
|
8637
8638
|
if (!import_node_fs16.default.existsSync(archive) || archive.endsWith("libclang_rt.builtins-wasm64.a"))
|
|
8638
8639
|
return;
|
|
8640
|
+
const archivePath = import_node_path17.default.join(
|
|
8641
|
+
import_node_fs16.default.realpathSync(import_node_path17.default.dirname(archive)),
|
|
8642
|
+
import_node_path17.default.basename(archive)
|
|
8643
|
+
);
|
|
8644
|
+
const ordinals = /* @__PURE__ */ new Map();
|
|
8639
8645
|
for (const m of readArMembers(new Uint8Array(import_node_fs16.default.readFileSync(archive)))) {
|
|
8646
|
+
const ordinal = (ordinals.get(m.name) ?? 0) + 1;
|
|
8647
|
+
ordinals.set(m.name, ordinal);
|
|
8640
8648
|
if (distBaseNames.has(m.name) || writtenLeftovers.has(m.name)) continue;
|
|
8641
8649
|
writtenLeftovers.add(m.name);
|
|
8642
8650
|
const out = import_node_path17.default.join(prunedObjsDir, m.name);
|
|
8643
8651
|
import_node_fs16.default.writeFileSync(out, m.bytes);
|
|
8644
8652
|
leftoverArchiveFiles.push(out);
|
|
8653
|
+
leftoverArchiveOrigins.set(out, {
|
|
8654
|
+
archive: archivePath,
|
|
8655
|
+
member: m.name,
|
|
8656
|
+
ordinal,
|
|
8657
|
+
original: out
|
|
8658
|
+
});
|
|
8645
8659
|
const object3 = parseWasmObjectBytes(`${archive}(${m.name})`, m.bytes, false);
|
|
8646
8660
|
extraArchiveObjs.push(object3);
|
|
8647
8661
|
objectBytes.set(object3, Buffer.from(m.bytes));
|
|
@@ -9611,7 +9625,10 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
|
|
|
9611
9625
|
const sdk = { wasiDirectory: sdkWasiDir, objectDirectory: sdkObjsDir };
|
|
9612
9626
|
link(outTokens, prunedMap, {
|
|
9613
9627
|
...sdk,
|
|
9614
|
-
objectOrigins:
|
|
9628
|
+
objectOrigins: new Map([
|
|
9629
|
+
...swiftPrunedSdkObjectOrigins(sdk, outTokens, prunedMap),
|
|
9630
|
+
...leftoverArchiveOrigins
|
|
9631
|
+
]),
|
|
9615
9632
|
transformations
|
|
9616
9633
|
});
|
|
9617
9634
|
} else
|
|
@@ -26015,7 +26032,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
26015
26032
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
26016
26033
|
MULTI_MANIFEST_VERSION = 76;
|
|
26017
26034
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
26018
|
-
compilerSourceDigest = true ? "
|
|
26035
|
+
compilerSourceDigest = true ? "e31a1c0904d4f195c0e99312de3a51b54c37f455d4cc6c09fe08fab0f25ce050" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
26019
26036
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
26020
26037
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
26021
26038
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
FOUNDATION_IMPLICIT_MODULES,
|
|
4
4
|
MULTI_MANIFEST_VERSION,
|
|
@@ -63,15 +63,15 @@ import {
|
|
|
63
63
|
withoutSwiftDeclarations,
|
|
64
64
|
wrapUIApplicationMainEntry,
|
|
65
65
|
writeSwiftProject
|
|
66
|
-
} from "./esm-chunks/chunk-
|
|
67
|
-
import "./esm-chunks/chunk-
|
|
68
|
-
import "./esm-chunks/chunk-
|
|
69
|
-
import "./esm-chunks/chunk-
|
|
70
|
-
import "./esm-chunks/chunk-
|
|
71
|
-
import "./esm-chunks/chunk-
|
|
72
|
-
import "./esm-chunks/chunk-
|
|
73
|
-
import "./esm-chunks/chunk-
|
|
74
|
-
import "./esm-chunks/chunk-
|
|
66
|
+
} from "./esm-chunks/chunk-VPBYBLDP.mjs";
|
|
67
|
+
import "./esm-chunks/chunk-UJCFXHNJ.mjs";
|
|
68
|
+
import "./esm-chunks/chunk-UWN7GVKH.mjs";
|
|
69
|
+
import "./esm-chunks/chunk-BW2YWHUH.mjs";
|
|
70
|
+
import "./esm-chunks/chunk-OYAT4MBE.mjs";
|
|
71
|
+
import "./esm-chunks/chunk-DEZVY7KM.mjs";
|
|
72
|
+
import "./esm-chunks/chunk-ZGW3WDUC.mjs";
|
|
73
|
+
import "./esm-chunks/chunk-DEZQSTBX.mjs";
|
|
74
|
+
import "./esm-chunks/chunk-N7LS7D7G.mjs";
|
|
75
75
|
export {
|
|
76
76
|
FOUNDATION_IMPLICIT_MODULES,
|
|
77
77
|
MULTI_MANIFEST_VERSION,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (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.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
4
4
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -33,8 +33,8 @@ import {
|
|
|
33
33
|
swiftResourceBundles,
|
|
34
34
|
swiftTargetModuleName,
|
|
35
35
|
withoutGlogModuleMap
|
|
36
|
-
} from "./esm-chunks/chunk-
|
|
37
|
-
import "./esm-chunks/chunk-
|
|
36
|
+
} from "./esm-chunks/chunk-BW2YWHUH.mjs";
|
|
37
|
+
import "./esm-chunks/chunk-N7LS7D7G.mjs";
|
|
38
38
|
export {
|
|
39
39
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
40
40
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (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,12 +1,12 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftMetalLibrarySources
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-UWN7GVKH.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-OYAT4MBE.mjs";
|
|
6
6
|
import {
|
|
7
7
|
isRecord
|
|
8
|
-
} from "./esm-chunks/chunk-
|
|
9
|
-
import "./esm-chunks/chunk-
|
|
8
|
+
} from "./esm-chunks/chunk-DEZQSTBX.mjs";
|
|
9
|
+
import "./esm-chunks/chunk-N7LS7D7G.mjs";
|
|
10
10
|
|
|
11
11
|
// src/swift-submit.ts
|
|
12
12
|
var SWIFT_COMPILE_PATH = "/api/swift-compile";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (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;
|