peachsim 0.1.1873 → 0.1.1875
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/do-chain.ts +1 -1
- package/cli/commands/inspect/settling.ts +132 -92
- package/cli/outbound-endpoints.ts +4 -0
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +53 -21
- 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 +141 -102
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +32 -15
- 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 +49 -21
- package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
- 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 +120 -94
- 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 +2 -2
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +1 -1
- 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 +119 -93
- package/dist-lib/sdk.mjs +119 -93
- package/dist-lib/skills.cjs +163 -111
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +1 -1
- 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 +1 -1
- package/dist-lib/vite.cjs +2 -2
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/skills/contrast/SKILL.md +3 -2
- package/src/expo-native-prebuilt.ts +4 -2
- package/src/native-bundles.ts +5 -1
- package/src/nitroContract.ts +43 -12
- package/src/sim-client.ts +4 -2
- package/src/swift-host.ts +5 -1
- package/src/turbo-bundle.ts +14 -1
- package/src/turbo-source.ts +4 -3
package/dist-lib/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1875 | (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.1875 | (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;
|
|
@@ -1606,6 +1606,105 @@ var IdleObservationError = class extends Error {
|
|
|
1606
1606
|
}
|
|
1607
1607
|
code = "idle_observation_failed";
|
|
1608
1608
|
};
|
|
1609
|
+
function renderActivityIdleScript({
|
|
1610
|
+
maxMs,
|
|
1611
|
+
requiredStillMs,
|
|
1612
|
+
transitionStartWindowMs,
|
|
1613
|
+
transitionTimeoutMs
|
|
1614
|
+
}) {
|
|
1615
|
+
return `(async () => {
|
|
1616
|
+
const start = Date.now()
|
|
1617
|
+
const budgetMs = ${Math.max(0, Math.round(maxMs))}
|
|
1618
|
+
const requiredStillMs = ${Math.max(1, Math.round(requiredStillMs))}
|
|
1619
|
+
let deadline = start + budgetMs
|
|
1620
|
+
// with no tenant running, nothing an app draws can move.
|
|
1621
|
+
const host = window.__sootsimRenderHost ?? null
|
|
1622
|
+
const initial = host ? host.getRenderActivity() : null
|
|
1623
|
+
// a published frame proves the idle flag is an observed worker state, not
|
|
1624
|
+
// the host's pre-boot default, so its idle interval counts from now even
|
|
1625
|
+
// when the busy-to-idle edge preceded this wait.
|
|
1626
|
+
let busySeen = !initial || initial.busy || initial.frameToken > 0
|
|
1627
|
+
let idleSince = !initial || (!initial.busy && initial.frameToken > 0) ? start : null
|
|
1628
|
+
let wake = null
|
|
1629
|
+
const notify = () => {
|
|
1630
|
+
const resolve = wake
|
|
1631
|
+
wake = null
|
|
1632
|
+
resolve?.()
|
|
1633
|
+
}
|
|
1634
|
+
const unsubscribe = host?.subscribeRenderActivity(() => {
|
|
1635
|
+
if (host.getRenderActivity().busy) {
|
|
1636
|
+
busySeen = true
|
|
1637
|
+
idleSince = null
|
|
1638
|
+
} else if (busySeen && idleSince === null) {
|
|
1639
|
+
idleSince = Date.now()
|
|
1640
|
+
}
|
|
1641
|
+
notify()
|
|
1642
|
+
})
|
|
1643
|
+
// a started screen transition moves the deadline: it drains, then the
|
|
1644
|
+
// budget proves the new screen. a loaded host runs a push past a tap's
|
|
1645
|
+
// budget, so the transition carries its own timeout.
|
|
1646
|
+
let transitionEndedAt = null
|
|
1647
|
+
let transitionPending = budgetMs > 120 && typeof window.__sootsimTest?.waitForScreenTransitions === 'function'
|
|
1648
|
+
if (transitionPending) {
|
|
1649
|
+
Promise.resolve()
|
|
1650
|
+
.then(() => window.__sootsimTest.waitForScreenTransitions({
|
|
1651
|
+
timeoutMs: ${Math.max(0, Math.round(transitionTimeoutMs))},
|
|
1652
|
+
settleMs: 64,
|
|
1653
|
+
startWindowMs: ${Math.max(0, Math.round(transitionStartWindowMs))},
|
|
1654
|
+
}))
|
|
1655
|
+
.then((transition) => {
|
|
1656
|
+
if (transition?.started !== true) return
|
|
1657
|
+
// a loaded worker replies after the motion stopped and says how long ago.
|
|
1658
|
+
transitionEndedAt = Date.now() - Math.max(0, transition.restedMs ?? 0)
|
|
1659
|
+
deadline = Math.max(deadline, transitionEndedAt + budgetMs)
|
|
1660
|
+
}, () => {})
|
|
1661
|
+
.finally(() => {
|
|
1662
|
+
transitionPending = false
|
|
1663
|
+
notify()
|
|
1664
|
+
})
|
|
1665
|
+
}
|
|
1666
|
+
try {
|
|
1667
|
+
while (true) {
|
|
1668
|
+
const now = Date.now()
|
|
1669
|
+
const quietSince = idleSince === null ? null : Math.max(idleSince, transitionEndedAt ?? idleSince)
|
|
1670
|
+
if (!transitionPending && quietSince !== null && now - quietSince >= requiredStillMs) {
|
|
1671
|
+
return { settled: true, elapsed: now - start, blockedBy: '' }
|
|
1672
|
+
}
|
|
1673
|
+
if (!transitionPending && now >= deadline) break
|
|
1674
|
+
const until = !transitionPending && quietSince !== null
|
|
1675
|
+
? Math.min(quietSince + requiredStillMs, deadline)
|
|
1676
|
+
: deadline
|
|
1677
|
+
let timer = null
|
|
1678
|
+
await new Promise((resolve) => {
|
|
1679
|
+
wake = resolve
|
|
1680
|
+
if (until > now) timer = setTimeout(notify, until - now)
|
|
1681
|
+
})
|
|
1682
|
+
clearTimeout(timer)
|
|
1683
|
+
}
|
|
1684
|
+
} finally {
|
|
1685
|
+
unsubscribe?.()
|
|
1686
|
+
}
|
|
1687
|
+
const blockers = []
|
|
1688
|
+
const stats = await Promise.race([
|
|
1689
|
+
Promise.resolve().then(() => host?.queryStats()).catch(() => null),
|
|
1690
|
+
new Promise((resolve) => setTimeout(() => resolve(null), 500)),
|
|
1691
|
+
])
|
|
1692
|
+
if (stats) {
|
|
1693
|
+
if (stats.hasActiveAnims) blockers.push('animations still running')
|
|
1694
|
+
if (stats.hasActiveBlockingNativeAnimations) blockers.push('native animations still running')
|
|
1695
|
+
if (stats.hasPendingBlockingAnimationFrames) blockers.push('frame callbacks still pending')
|
|
1696
|
+
if (stats.layoutDirty && stats.renderRequested) blockers.push('layout still dirty')
|
|
1697
|
+
}
|
|
1698
|
+
if (!blockers.length) blockers.push(idleSince === null ? 'tenant render activity still busy' : 'motion ended before stillness was proven')
|
|
1699
|
+
return {
|
|
1700
|
+
settled: false,
|
|
1701
|
+
elapsed: Date.now() - start,
|
|
1702
|
+
blockedBy: blockers.join(', ') + '; tenant activity ' + JSON.stringify({
|
|
1703
|
+
initial, current: host?.getRenderActivity() ?? null, busySeen, idleSince, transitionEndedAt, startedAt: start,
|
|
1704
|
+
}),
|
|
1705
|
+
}
|
|
1706
|
+
})()`;
|
|
1707
|
+
}
|
|
1609
1708
|
async function waitForSootsimIdle({
|
|
1610
1709
|
bridge,
|
|
1611
1710
|
simId,
|
|
@@ -1627,7 +1726,12 @@ async function waitForSootsimIdle({
|
|
|
1627
1726
|
{
|
|
1628
1727
|
type: "evaluate",
|
|
1629
1728
|
simId,
|
|
1630
|
-
code:
|
|
1729
|
+
code: motionOnly ? renderActivityIdleScript({
|
|
1730
|
+
maxMs,
|
|
1731
|
+
requiredStillMs: Math.max(1, Math.round(stablePolls)) * Math.max(1, Math.round(pollMs)),
|
|
1732
|
+
transitionStartWindowMs,
|
|
1733
|
+
transitionTimeoutMs
|
|
1734
|
+
}) : `(async () => {
|
|
1631
1735
|
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
|
|
1632
1736
|
// tests inject a virtual clock as window.__sootsimIdleClock ({ now, sleep })
|
|
1633
1737
|
// so the stillness window is proven in virtual time: real-timer polls under
|
|
@@ -1650,13 +1754,12 @@ async function waitForSootsimIdle({
|
|
|
1650
1754
|
const maestro = ${maestro ? "true" : "false"}
|
|
1651
1755
|
const accessibilityBounds = ${accessibilityBounds.toString()}
|
|
1652
1756
|
const sameNativeAccessibilityShape = ${sameNativeAccessibilityShape.toString()}
|
|
1653
|
-
const motionOnly = ${motionOnly ? "true" : "false"}
|
|
1654
1757
|
const readyPlayback = ${readyPlayback ? "true" : "false"}
|
|
1655
1758
|
// full mounted-geometry observation needs at least two hierarchy reads
|
|
1656
1759
|
// plus the stillness window, which a sub-second budget cannot afford:
|
|
1657
1760
|
// tight budgets (auto-wait) settle on worker stillness plus root
|
|
1658
1761
|
// membership, generous ones confirm the geometry too.
|
|
1659
|
-
const fullGeometry = ${!maestro &&
|
|
1762
|
+
const fullGeometry = ${!maestro && maxMs >= 1e3 ? "true" : "false"}
|
|
1660
1763
|
const requiredStillMs = paintStill ? 0 : ${Math.max(1, Math.round(stablePolls)) * Math.max(1, Math.round(pollMs))}
|
|
1661
1764
|
const minimumStablePolls = paintStill ? 1 : ${Math.min(2, Math.max(1, Math.round(stablePolls)))}
|
|
1662
1765
|
const composite = paintStill ? window.SootSim?.bridges?.liveComposite : null
|
|
@@ -1666,50 +1769,7 @@ async function waitForSootsimIdle({
|
|
|
1666
1769
|
// subscribe to presented frames; authoritative screenshots force a
|
|
1667
1770
|
// worker render, which changes the very counter we used to inspect.
|
|
1668
1771
|
const unsubscribe = composite?.subscribe(() => {})
|
|
1669
|
-
// the tenant pushes each busy change to the page on the port its stats
|
|
1670
|
-
// replies use, so a wait on motion alone learns when the worker went
|
|
1671
|
-
// idle without asking it. its busy flag covers render work, guest and
|
|
1672
|
-
// blocking native animation, blocking frame callbacks and text waits,
|
|
1673
|
-
// everything a motion-only poll reads from it, so once it has held idle
|
|
1674
|
-
// for the still window that proves stillness without a poll: a worker
|
|
1675
|
-
// too loaded to answer twice within a gesture's budget still settles
|
|
1676
|
-
// once its motion ends.
|
|
1677
|
-
const activityHost = motionOnly ? window.__sootsimRenderHost : null
|
|
1678
|
-
const initialActivity = activityHost?.getRenderActivity?.()
|
|
1679
|
-
// a published frame proves this is an observed worker state, rather than
|
|
1680
|
-
// the host's pre-boot default. subscribe to its continuous idle interval
|
|
1681
|
-
// even when the busy-to-idle edge preceded this command.
|
|
1682
|
-
let busySeen = initialActivity?.busy === true || initialActivity?.frameToken > 0
|
|
1683
|
-
let idleSince = initialActivity?.busy === false && initialActivity?.frameToken > 0
|
|
1684
|
-
? clockNow()
|
|
1685
|
-
: null
|
|
1686
|
-
let idleWaiters = []
|
|
1687
|
-
const unsubscribeActivity = activityHost?.subscribeRenderActivity?.(() => {
|
|
1688
|
-
if (activityHost.getRenderActivity().busy) {
|
|
1689
|
-
busySeen = true
|
|
1690
|
-
idleSince = null
|
|
1691
|
-
} else if (busySeen && idleSince === null) {
|
|
1692
|
-
idleSince = clockNow()
|
|
1693
|
-
const waiters = idleWaiters
|
|
1694
|
-
idleWaiters = []
|
|
1695
|
-
for (const waiter of waiters) waiter()
|
|
1696
|
-
}
|
|
1697
|
-
})
|
|
1698
1772
|
let transitionEndedAt = null
|
|
1699
|
-
// resolves once both the tenant and any drained transition have held idle.
|
|
1700
|
-
const idleHeld = () =>
|
|
1701
|
-
new Promise((resolve) => {
|
|
1702
|
-
const check = () => {
|
|
1703
|
-
if (idleSince === null) idleWaiters.push(check)
|
|
1704
|
-
else {
|
|
1705
|
-
const quietSince = Math.max(idleSince, transitionEndedAt ?? idleSince)
|
|
1706
|
-
const remaining = requiredStillMs - (clockNow() - quietSince)
|
|
1707
|
-
if (remaining <= 0) resolve(true)
|
|
1708
|
-
else setTimeout(check, Math.max(1, remaining))
|
|
1709
|
-
}
|
|
1710
|
-
}
|
|
1711
|
-
check()
|
|
1712
|
-
})
|
|
1713
1773
|
let pixelFrameToken = -1
|
|
1714
1774
|
let screenPixels = null
|
|
1715
1775
|
// the hierarchy read last taken and the geometry revision it answered.
|
|
@@ -1791,7 +1851,7 @@ async function waitForSootsimIdle({
|
|
|
1791
1851
|
// and realizes its pixels. both owners must finish before settling.
|
|
1792
1852
|
// the compositor rejects a stats request it is too busy to answer.
|
|
1793
1853
|
const compositorRead = answer(() => window.__sootsimCompositor.getStats({ detail: 'readiness' })).catch(() => BUSY)
|
|
1794
|
-
const countsRead =
|
|
1854
|
+
const countsRead = answer(() => window.__sootsimTest?.getRequestCounts?.()).catch(() => null)
|
|
1795
1855
|
// the mounted hierarchy in render-worker mode comes from the test
|
|
1796
1856
|
// bridge: window.__sootsimRoot is an empty placeholder there, so a
|
|
1797
1857
|
// walk over it hashes every screen to the same empty string while
|
|
@@ -2080,7 +2140,6 @@ async function waitForSootsimIdle({
|
|
|
2080
2140
|
const hierarchyUnchanged = (current, previous) =>
|
|
2081
2141
|
current !== null && previous !== null && current.length === previous.length &&
|
|
2082
2142
|
current.every((node, index) => sameNativeAccessibilityShape(node, previous[index], accessibilityBounds))
|
|
2083
|
-
const IDLE_HELD = { idleHeld: true }
|
|
2084
2143
|
while (true) {
|
|
2085
2144
|
if (clockNow() >= deadline) {
|
|
2086
2145
|
if (!transitionWait) break
|
|
@@ -2092,33 +2151,7 @@ async function waitForSootsimIdle({
|
|
|
2092
2151
|
if (clockNow() >= deadline) break
|
|
2093
2152
|
}
|
|
2094
2153
|
const pollStarted = clockNow()
|
|
2095
|
-
const
|
|
2096
|
-
let snapshot = activityHost
|
|
2097
|
-
? await Promise.race([read, idleHeld().then(() => IDLE_HELD)])
|
|
2098
|
-
: await read
|
|
2099
|
-
// a completed read can win the race before a delayed timer callback.
|
|
2100
|
-
// the recorded idle interval remains evidence even on that turn.
|
|
2101
|
-
const idleProven = () => {
|
|
2102
|
-
const quietSince = Math.max(idleSince ?? Infinity, transitionEndedAt ?? 0)
|
|
2103
|
-
return idleSince !== null && quietSince + requiredStillMs <= deadline && clockNow() - quietSince >= requiredStillMs
|
|
2104
|
-
}
|
|
2105
|
-
while (activityHost && (snapshot === IDLE_HELD || idleProven())) {
|
|
2106
|
-
if (transitionWait) {
|
|
2107
|
-
await transitionWait
|
|
2108
|
-
transitionWait = null
|
|
2109
|
-
}
|
|
2110
|
-
if (idleProven()) {
|
|
2111
|
-
return { settled: true, elapsed: clockNow() - start, blockedBy: '' }
|
|
2112
|
-
}
|
|
2113
|
-
if (clockNow() >= deadline) {
|
|
2114
|
-
snapshot = await read
|
|
2115
|
-
break
|
|
2116
|
-
}
|
|
2117
|
-
// a transition can drain after the first idle interval. keep the
|
|
2118
|
-
// pushed evidence armed while its remaining quiet interval holds;
|
|
2119
|
-
// awaiting only the in-flight stats read would discard that proof.
|
|
2120
|
-
snapshot = await Promise.race([read, idleHeld().then(() => IDLE_HELD)])
|
|
2121
|
-
}
|
|
2154
|
+
const snapshot = await readSnapshot()
|
|
2122
2155
|
if (snapshot.runtimeUnsupported) return snapshot.runtimeUnsupported
|
|
2123
2156
|
// a read the deadline cut short observed nothing: the last full poll
|
|
2124
2157
|
// names what held the settle, not a worker that ran out of budget.
|
|
@@ -2163,7 +2196,7 @@ async function waitForSootsimIdle({
|
|
|
2163
2196
|
!snapshot.animating &&
|
|
2164
2197
|
!snapshot.shellAnimating &&
|
|
2165
2198
|
!snapshot.layoutDirty &&
|
|
2166
|
-
|
|
2199
|
+
snapshot.pendingFetches === 0 &&
|
|
2167
2200
|
!snapshot.workerBusy &&
|
|
2168
2201
|
!snapshot.webViewStarting
|
|
2169
2202
|
const visuallyStill = maestro ? maestroStill :
|
|
@@ -2195,7 +2228,7 @@ async function waitForSootsimIdle({
|
|
|
2195
2228
|
// grace (continuous background traffic must not block forever).
|
|
2196
2229
|
if (
|
|
2197
2230
|
stillProven() &&
|
|
2198
|
-
(maestro ||
|
|
2231
|
+
(maestro || networkQuiet || clockNow() - visuallyStillSince >= networkQuietGraceMs)
|
|
2199
2232
|
) {
|
|
2200
2233
|
if (transitionWait) {
|
|
2201
2234
|
await transitionWait
|
|
@@ -2220,13 +2253,6 @@ async function waitForSootsimIdle({
|
|
|
2220
2253
|
const remainingPollMs = pollMs - (clockNow() - pollStarted)
|
|
2221
2254
|
if (remainingPollMs > 0) await clockSleep(remainingPollMs)
|
|
2222
2255
|
}
|
|
2223
|
-
if (activityHost && idleSince !== null && idleSince + requiredStillMs <= deadline) {
|
|
2224
|
-
if (transitionWait) await transitionWait
|
|
2225
|
-
const quietSince = Math.max(idleSince ?? Infinity, transitionEndedAt ?? 0)
|
|
2226
|
-
if (quietSince + requiredStillMs <= deadline && clockNow() - quietSince >= requiredStillMs) {
|
|
2227
|
-
return { settled: true, elapsed: clockNow() - start, blockedBy: '' }
|
|
2228
|
-
}
|
|
2229
|
-
}
|
|
2230
2256
|
if (!report) {
|
|
2231
2257
|
return { settled: false, elapsed: clockNow() - start, blockedBy: 'no poll fit the budget' }
|
|
2232
2258
|
}
|
|
@@ -2238,15 +2264,15 @@ async function waitForSootsimIdle({
|
|
|
2238
2264
|
if (!maestro && last.layoutDirty) blockers.push('layout still dirty')
|
|
2239
2265
|
if (!maestro && last.appCommits !== null && report.appCommits !== null && last.appCommits !== report.appCommits) blockers.push('layout commits still landing')
|
|
2240
2266
|
if (!maestro && last.nodeCount !== null && report.nodeCount !== null && last.nodeCount !== report.nodeCount) blockers.push('node count still changing')
|
|
2241
|
-
if (!maestro &&
|
|
2267
|
+
if (!maestro && last.pendingFetches > 0) blockers.push(last.pendingFetches + ' image fetches pending')
|
|
2242
2268
|
if (last.workerBusy) blockers.push('a render worker too busy to report')
|
|
2243
2269
|
if (last.webViewStarting) blockers.push(last.webViewBlocker || 'webView still starting')
|
|
2244
2270
|
if (!maestro && last.layout !== report.layout) blockers.push('layout still changing')
|
|
2245
2271
|
if (maestro && !hierarchyUnchanged(last.nativeHierarchy, report.nativeHierarchy)) blockers.push(last.nativeHierarchy === null ? 'native accessibility hierarchy unavailable' : 'native accessibility hierarchy still changing')
|
|
2246
2272
|
if (paintStill && !last.screenPixels) blockers.push('screen pixels unavailable')
|
|
2247
2273
|
else if (paintStill && !screenUnchanged(last.screenPixels, report.screenPixels)) blockers.push('screen pixels still changing')
|
|
2248
|
-
if (!maestro &&
|
|
2249
|
-
else if (!maestro &&
|
|
2274
|
+
if (!maestro && last.requestInFlight > 0) blockers.push(last.requestInFlight + ' requests in flight')
|
|
2275
|
+
else if (!maestro && last.requestTotal !== report.requestTotal) blockers.push('new requests issued')
|
|
2250
2276
|
if (polls < 2) blockers.push('sim too busy to poll twice')
|
|
2251
2277
|
// the last read is still: motion ended too near the deadline for the
|
|
2252
2278
|
// stillness window to hold before it.
|
|
@@ -2257,12 +2283,10 @@ async function waitForSootsimIdle({
|
|
|
2257
2283
|
blockedBy:
|
|
2258
2284
|
blockers.join(', ') + ' over ' + polls + ' polls (layout changed ' + layoutChangedPolls +
|
|
2259
2285
|
'x, layoutDirty ' + dirtyPolls + 'x, animating ' + animatingPolls + 'x, webViewStarting ' + webViewStartingPolls + 'x, screen changed ' + screenChangedPolls + 'x)' +
|
|
2260
|
-
(lastLayoutChange ? '; last layout change ' + JSON.stringify(lastLayoutChange) : '')
|
|
2261
|
-
(activityHost ? '; tenant activity ' + JSON.stringify({ initial: initialActivity, current: activityHost.getRenderActivity?.(), busySeen, idleSince, transitionEndedAt, startedAt: start }) : ''),
|
|
2286
|
+
(lastLayoutChange ? '; last layout change ' + JSON.stringify(lastLayoutChange) : ''),
|
|
2262
2287
|
}
|
|
2263
2288
|
} finally {
|
|
2264
2289
|
unsubscribe?.()
|
|
2265
|
-
unsubscribeActivity?.()
|
|
2266
2290
|
}
|
|
2267
2291
|
})()`
|
|
2268
2292
|
},
|
|
@@ -2461,7 +2485,7 @@ function isValidRuntimeVersion(value) {
|
|
|
2461
2485
|
}
|
|
2462
2486
|
|
|
2463
2487
|
// runtime-companion.json
|
|
2464
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
2488
|
+
var runtime_companion_default = { abi: 1, sha256: "f4d0f1f81d2b1da32bc29c46144f871a0455de78cbad62a2eaa660f63aed2467", file: "node/cli-f4d0f1f81d2b1da32bc29c46144f871a0455de78cbad62a2eaa660f63aed2467.cjs" };
|
|
2465
2489
|
|
|
2466
2490
|
// src/answeredNativePackages.ts
|
|
2467
2491
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -6118,22 +6142,37 @@ function readCompiledMetadata(label, value, readPackage, names) {
|
|
|
6118
6142
|
return { platform: "ios", packages, url, hash, icuUrl, bundleFiles };
|
|
6119
6143
|
}
|
|
6120
6144
|
function readTurboMetadata(value) {
|
|
6145
|
+
if (value === null || value === void 0) return null;
|
|
6146
|
+
if (typeof value !== "object" || Array.isArray(value) || Reflect.get(value, "platform") !== NITRO_GUEST_PLATFORM)
|
|
6147
|
+
throw new Error("invalid TurboModule compilation metadata");
|
|
6148
|
+
const listed = Reflect.get(value, "unavailable");
|
|
6149
|
+
if (listed !== void 0 && !Array.isArray(listed))
|
|
6150
|
+
throw new Error("invalid TurboModule compilation metadata");
|
|
6151
|
+
const unavailable = listed?.map((entry) => {
|
|
6152
|
+
if (!isRecord(entry) || typeof entry.name !== "string" || !entry.name || typeof entry.diagnostic !== "string" || !entry.diagnostic)
|
|
6153
|
+
throw new Error("invalid TurboModule compilation metadata");
|
|
6154
|
+
return { name: entry.name, diagnostic: entry.diagnostic };
|
|
6155
|
+
});
|
|
6156
|
+
const packages = Reflect.get(value, "packages");
|
|
6157
|
+
const packed = Reflect.get(value, "bundleFiles");
|
|
6158
|
+
if (Array.isArray(packages) && packages.length === 0 && unavailable && unavailable.length > 0 && Reflect.get(value, "url") === "" && Reflect.get(value, "hash") === "" && Reflect.get(value, "icuUrl") === "" && isRecord(packed) && Object.keys(packed).length === 0) {
|
|
6159
|
+
return {
|
|
6160
|
+
platform: "ios",
|
|
6161
|
+
packages: [],
|
|
6162
|
+
url: "",
|
|
6163
|
+
hash: "",
|
|
6164
|
+
icuUrl: "",
|
|
6165
|
+
bundleFiles: {},
|
|
6166
|
+
unavailable
|
|
6167
|
+
};
|
|
6168
|
+
}
|
|
6121
6169
|
const metadata = readCompiledMetadata(
|
|
6122
6170
|
"TurboModule",
|
|
6123
6171
|
value,
|
|
6124
6172
|
readCompiledPackage,
|
|
6125
6173
|
() => []
|
|
6126
6174
|
);
|
|
6127
|
-
|
|
6128
|
-
const listed = Reflect.get(Object(value), "unavailable");
|
|
6129
|
-
if (listed === void 0) return metadata;
|
|
6130
|
-
if (!Array.isArray(listed)) throw new Error("invalid TurboModule compilation metadata");
|
|
6131
|
-
const unavailable = listed.map((entry) => {
|
|
6132
|
-
if (!isRecord(entry) || typeof entry.name !== "string" || typeof entry.diagnostic !== "string")
|
|
6133
|
-
throw new Error("invalid TurboModule compilation metadata");
|
|
6134
|
-
return { name: entry.name, diagnostic: entry.diagnostic };
|
|
6135
|
-
});
|
|
6136
|
-
return { ...metadata, unavailable };
|
|
6175
|
+
return metadata && (unavailable ? { ...metadata, unavailable } : metadata);
|
|
6137
6176
|
}
|
|
6138
6177
|
|
|
6139
6178
|
// src/node-http-fetch.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1875 | (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.1875 | (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;
|
|
@@ -26635,22 +26635,37 @@ function readCompiledMetadata(label, value, readPackage, names) {
|
|
|
26635
26635
|
return { platform: "ios", packages, url, hash, icuUrl: icuUrl2, bundleFiles };
|
|
26636
26636
|
}
|
|
26637
26637
|
function readTurboMetadata(value) {
|
|
26638
|
+
if (value === null || value === void 0) return null;
|
|
26639
|
+
if (typeof value !== "object" || Array.isArray(value) || Reflect.get(value, "platform") !== NITRO_GUEST_PLATFORM)
|
|
26640
|
+
throw new Error("invalid TurboModule compilation metadata");
|
|
26641
|
+
const listed = Reflect.get(value, "unavailable");
|
|
26642
|
+
if (listed !== void 0 && !Array.isArray(listed))
|
|
26643
|
+
throw new Error("invalid TurboModule compilation metadata");
|
|
26644
|
+
const unavailable2 = listed?.map((entry) => {
|
|
26645
|
+
if (!isRecord(entry) || typeof entry.name !== "string" || !entry.name || typeof entry.diagnostic !== "string" || !entry.diagnostic)
|
|
26646
|
+
throw new Error("invalid TurboModule compilation metadata");
|
|
26647
|
+
return { name: entry.name, diagnostic: entry.diagnostic };
|
|
26648
|
+
});
|
|
26649
|
+
const packages = Reflect.get(value, "packages");
|
|
26650
|
+
const packed = Reflect.get(value, "bundleFiles");
|
|
26651
|
+
if (Array.isArray(packages) && packages.length === 0 && unavailable2 && unavailable2.length > 0 && Reflect.get(value, "url") === "" && Reflect.get(value, "hash") === "" && Reflect.get(value, "icuUrl") === "" && isRecord(packed) && Object.keys(packed).length === 0) {
|
|
26652
|
+
return {
|
|
26653
|
+
platform: "ios",
|
|
26654
|
+
packages: [],
|
|
26655
|
+
url: "",
|
|
26656
|
+
hash: "",
|
|
26657
|
+
icuUrl: "",
|
|
26658
|
+
bundleFiles: {},
|
|
26659
|
+
unavailable: unavailable2
|
|
26660
|
+
};
|
|
26661
|
+
}
|
|
26638
26662
|
const metadata = readCompiledMetadata(
|
|
26639
26663
|
"TurboModule",
|
|
26640
26664
|
value,
|
|
26641
26665
|
readCompiledPackage,
|
|
26642
26666
|
() => []
|
|
26643
26667
|
);
|
|
26644
|
-
|
|
26645
|
-
const listed = Reflect.get(Object(value), "unavailable");
|
|
26646
|
-
if (listed === void 0) return metadata;
|
|
26647
|
-
if (!Array.isArray(listed)) throw new Error("invalid TurboModule compilation metadata");
|
|
26648
|
-
const unavailable2 = listed.map((entry) => {
|
|
26649
|
-
if (!isRecord(entry) || typeof entry.name !== "string" || typeof entry.diagnostic !== "string")
|
|
26650
|
-
throw new Error("invalid TurboModule compilation metadata");
|
|
26651
|
-
return { name: entry.name, diagnostic: entry.diagnostic };
|
|
26652
|
-
});
|
|
26653
|
-
return { ...metadata, unavailable: unavailable2 };
|
|
26668
|
+
return metadata && (unavailable2 ? { ...metadata, unavailable: unavailable2 } : metadata);
|
|
26654
26669
|
}
|
|
26655
26670
|
|
|
26656
26671
|
// src/package-tree-digest.ts
|
|
@@ -26684,7 +26699,7 @@ async function packageTreeDigest(root) {
|
|
|
26684
26699
|
|
|
26685
26700
|
// src/expo-native-prebuilt.ts
|
|
26686
26701
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
26687
|
-
var EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
26702
|
+
var EXPO_NATIVE_COMPILER_DIGEST = true ? "c19c10cb13f53c55d6312f5229410857ba6b6af4a47aec45ed8b581e313603a5" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
26688
26703
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
26689
26704
|
function readSources(value) {
|
|
26690
26705
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -26704,8 +26719,9 @@ function readSources(value) {
|
|
|
26704
26719
|
function packageRootOf(appRoot, file) {
|
|
26705
26720
|
const parts = file.split("/");
|
|
26706
26721
|
if (parts[0] !== "node_modules") return null;
|
|
26707
|
-
const
|
|
26708
|
-
|
|
26722
|
+
const at = parts.lastIndexOf("node_modules") + 1;
|
|
26723
|
+
const end = at + (parts[at]?.startsWith("@") ? 2 : 1);
|
|
26724
|
+
return parts.length > end ? import_node_path50.default.join(appRoot, ...parts.slice(0, end)) : null;
|
|
26709
26725
|
}
|
|
26710
26726
|
async function expoNativeInputs(appRoot) {
|
|
26711
26727
|
appRoot = import_node_fs52.default.realpathSync(appRoot);
|
|
@@ -35659,8 +35675,9 @@ function sourceContentStamp(packagePath, moduleRootOverride) {
|
|
|
35659
35675
|
hash.update(JSON.stringify(projects().get(packagePath)?.nativeFiles ?? {}));
|
|
35660
35676
|
hash.update(JSON.stringify(projects().get(packagePath)?.resourceBundles ?? []));
|
|
35661
35677
|
hash.update(JSON.stringify(projects().get(packagePath)?.bundleFiles ?? null));
|
|
35678
|
+
const root = import_node_fs66.default.realpathSync(packagePath);
|
|
35662
35679
|
for (const file of [...new Set(packageFiles(packagePath))].sort()) {
|
|
35663
|
-
hash.update(import_node_path63.default.relative(
|
|
35680
|
+
hash.update(import_node_path63.default.relative(root, file));
|
|
35664
35681
|
hash.update(import_node_fs66.default.readFileSync(file));
|
|
35665
35682
|
}
|
|
35666
35683
|
hash.update(moduleStamp(packagePath, moduleRootOverride, false));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1875 | (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/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1875 | (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.1875 | (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;
|
|
@@ -10408,7 +10408,7 @@ var init_standalone = __esm({
|
|
|
10408
10408
|
var runtime_companion_default;
|
|
10409
10409
|
var init_runtime_companion = __esm({
|
|
10410
10410
|
"runtime-companion.json"() {
|
|
10411
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
10411
|
+
runtime_companion_default = { abi: 1, sha256: "f4d0f1f81d2b1da32bc29c46144f871a0455de78cbad62a2eaa660f63aed2467", file: "node/cli-f4d0f1f81d2b1da32bc29c46144f871a0455de78cbad62a2eaa660f63aed2467.cjs" };
|
|
10412
10412
|
}
|
|
10413
10413
|
});
|
|
10414
10414
|
|
|
@@ -39884,22 +39884,37 @@ function readCompiledMetadata(label, value, readPackage, names) {
|
|
|
39884
39884
|
}
|
|
39885
39885
|
var readNitroMetadata = (value) => readCompiledMetadata("Nitro", value, readNitroPackage, (entry) => entry.hybridObjects);
|
|
39886
39886
|
function readTurboMetadata(value) {
|
|
39887
|
+
if (value === null || value === void 0) return null;
|
|
39888
|
+
if (typeof value !== "object" || Array.isArray(value) || Reflect.get(value, "platform") !== NITRO_GUEST_PLATFORM)
|
|
39889
|
+
throw new Error("invalid TurboModule compilation metadata");
|
|
39890
|
+
const listed = Reflect.get(value, "unavailable");
|
|
39891
|
+
if (listed !== void 0 && !Array.isArray(listed))
|
|
39892
|
+
throw new Error("invalid TurboModule compilation metadata");
|
|
39893
|
+
const unavailable2 = listed?.map((entry) => {
|
|
39894
|
+
if (!isRecord(entry) || typeof entry.name !== "string" || !entry.name || typeof entry.diagnostic !== "string" || !entry.diagnostic)
|
|
39895
|
+
throw new Error("invalid TurboModule compilation metadata");
|
|
39896
|
+
return { name: entry.name, diagnostic: entry.diagnostic };
|
|
39897
|
+
});
|
|
39898
|
+
const packages = Reflect.get(value, "packages");
|
|
39899
|
+
const packed = Reflect.get(value, "bundleFiles");
|
|
39900
|
+
if (Array.isArray(packages) && packages.length === 0 && unavailable2 && unavailable2.length > 0 && Reflect.get(value, "url") === "" && Reflect.get(value, "hash") === "" && Reflect.get(value, "icuUrl") === "" && isRecord(packed) && Object.keys(packed).length === 0) {
|
|
39901
|
+
return {
|
|
39902
|
+
platform: "ios",
|
|
39903
|
+
packages: [],
|
|
39904
|
+
url: "",
|
|
39905
|
+
hash: "",
|
|
39906
|
+
icuUrl: "",
|
|
39907
|
+
bundleFiles: {},
|
|
39908
|
+
unavailable: unavailable2
|
|
39909
|
+
};
|
|
39910
|
+
}
|
|
39887
39911
|
const metadata = readCompiledMetadata(
|
|
39888
39912
|
"TurboModule",
|
|
39889
39913
|
value,
|
|
39890
39914
|
readCompiledPackage,
|
|
39891
39915
|
() => []
|
|
39892
39916
|
);
|
|
39893
|
-
|
|
39894
|
-
const listed = Reflect.get(Object(value), "unavailable");
|
|
39895
|
-
if (listed === void 0) return metadata;
|
|
39896
|
-
if (!Array.isArray(listed)) throw new Error("invalid TurboModule compilation metadata");
|
|
39897
|
-
const unavailable2 = listed.map((entry) => {
|
|
39898
|
-
if (!isRecord(entry) || typeof entry.name !== "string" || typeof entry.diagnostic !== "string")
|
|
39899
|
-
throw new Error("invalid TurboModule compilation metadata");
|
|
39900
|
-
return { name: entry.name, diagnostic: entry.diagnostic };
|
|
39901
|
-
});
|
|
39902
|
-
return { ...metadata, unavailable: unavailable2 };
|
|
39917
|
+
return metadata && (unavailable2 ? { ...metadata, unavailable: unavailable2 } : metadata);
|
|
39903
39918
|
}
|
|
39904
39919
|
|
|
39905
39920
|
// src/package-tree-digest.ts
|
|
@@ -39933,7 +39948,7 @@ async function packageTreeDigest(root) {
|
|
|
39933
39948
|
|
|
39934
39949
|
// src/expo-native-prebuilt.ts
|
|
39935
39950
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
39936
|
-
var EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
39951
|
+
var EXPO_NATIVE_COMPILER_DIGEST = true ? "c19c10cb13f53c55d6312f5229410857ba6b6af4a47aec45ed8b581e313603a5" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
39937
39952
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
39938
39953
|
function readSources(value) {
|
|
39939
39954
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -39953,8 +39968,9 @@ function readSources(value) {
|
|
|
39953
39968
|
function packageRootOf(appRoot, file) {
|
|
39954
39969
|
const parts = file.split("/");
|
|
39955
39970
|
if (parts[0] !== "node_modules") return null;
|
|
39956
|
-
const
|
|
39957
|
-
|
|
39971
|
+
const at = parts.lastIndexOf("node_modules") + 1;
|
|
39972
|
+
const end = at + (parts[at]?.startsWith("@") ? 2 : 1);
|
|
39973
|
+
return parts.length > end ? import_node_path57.default.join(appRoot, ...parts.slice(0, end)) : null;
|
|
39958
39974
|
}
|
|
39959
39975
|
async function expoNativeInputs(appRoot) {
|
|
39960
39976
|
appRoot = import_node_fs58.default.realpathSync(appRoot);
|
|
@@ -48928,8 +48944,9 @@ function sourceContentStamp(packagePath, moduleRootOverride) {
|
|
|
48928
48944
|
hash.update(JSON.stringify(projects().get(packagePath)?.nativeFiles ?? {}));
|
|
48929
48945
|
hash.update(JSON.stringify(projects().get(packagePath)?.resourceBundles ?? []));
|
|
48930
48946
|
hash.update(JSON.stringify(projects().get(packagePath)?.bundleFiles ?? null));
|
|
48947
|
+
const root = import_node_fs72.default.realpathSync(packagePath);
|
|
48931
48948
|
for (const file of [...new Set(packageFiles(packagePath))].sort()) {
|
|
48932
|
-
hash.update(import_node_path70.default.relative(
|
|
48949
|
+
hash.update(import_node_path70.default.relative(root, file));
|
|
48933
48950
|
hash.update(import_node_fs72.default.readFileSync(file));
|
|
48934
48951
|
}
|
|
48935
48952
|
hash.update(moduleStamp(packagePath, moduleRootOverride, false));
|
|
@@ -51645,9 +51662,9 @@ function registersReactModule(source) {
|
|
|
51645
51662
|
return OBJC_BRIDGE.test(stripped2) && !/-Swift\.h\b/.test(stripped2);
|
|
51646
51663
|
}
|
|
51647
51664
|
function fabricComponents(root) {
|
|
51648
|
-
const
|
|
51649
|
-
|
|
51650
|
-
);
|
|
51665
|
+
const manifestPath = import_node_path74.default.join(root, "package.json");
|
|
51666
|
+
if (!import_node_fs76.default.existsSync(manifestPath)) return false;
|
|
51667
|
+
const manifest = JSON.parse(import_node_fs76.default.readFileSync(manifestPath, "utf8"));
|
|
51651
51668
|
if (!object3(manifest) || !object3(manifest.codegenConfig)) return false;
|
|
51652
51669
|
return manifest.codegenConfig.type !== "modules";
|
|
51653
51670
|
}
|
|
@@ -57034,7 +57051,7 @@ async function nitroSupersetInputs(options) {
|
|
|
57034
57051
|
inputs[`provider:${name3}`] = `${packageVersion(root)}\0${await packageTreeDigest(root)}`;
|
|
57035
57052
|
return inputs;
|
|
57036
57053
|
}
|
|
57037
|
-
var NITRO_COMPILER_DIGEST = true ? "
|
|
57054
|
+
var NITRO_COMPILER_DIGEST = true ? "6cb2069b8076b1a3a0418395301a5cf231a5fae13c2758814eeddcadefb70171" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
57038
57055
|
function readInputs(value) {
|
|
57039
57056
|
if (!isRecord(value)) return null;
|
|
57040
57057
|
const inputs = {};
|
|
@@ -57660,7 +57677,18 @@ async function compileTurboApp(appRoot, origin, moduleRoot, iosTarget) {
|
|
|
57660
57677
|
const compiled = providers.filter(({ name: name3 }) => !installed?.unavailable.has(name3));
|
|
57661
57678
|
if (compiled.length === 0) {
|
|
57662
57679
|
for (const { diagnostic } of unavailable2) console.warn(`[peach] ${diagnostic}`);
|
|
57663
|
-
return
|
|
57680
|
+
return unavailable2.length > 0 ? {
|
|
57681
|
+
artifact: null,
|
|
57682
|
+
metadata: {
|
|
57683
|
+
platform: "ios",
|
|
57684
|
+
packages: [],
|
|
57685
|
+
url: "",
|
|
57686
|
+
hash: "",
|
|
57687
|
+
icuUrl: "",
|
|
57688
|
+
bundleFiles: {},
|
|
57689
|
+
unavailable: unavailable2
|
|
57690
|
+
}
|
|
57691
|
+
} : null;
|
|
57664
57692
|
}
|
|
57665
57693
|
const { artifact, collection } = await compileTurboModule({
|
|
57666
57694
|
appRoot,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1875 | (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;
|
|
@@ -4495,7 +4495,7 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
|
4495
4495
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
4496
4496
|
|
|
4497
4497
|
// runtime-companion.json
|
|
4498
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
4498
|
+
var runtime_companion_default = { abi: 1, sha256: "f4d0f1f81d2b1da32bc29c46144f871a0455de78cbad62a2eaa660f63aed2467", file: "node/cli-f4d0f1f81d2b1da32bc29c46144f871a0455de78cbad62a2eaa660f63aed2467.cjs" };
|
|
4499
4499
|
|
|
4500
4500
|
// src/answeredNativePackages.ts
|
|
4501
4501
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1875 | (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;
|