peachsim 0.1.2490 → 0.1.2491
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/bridge-flow-runner.ts +190 -167
- package/cli/cloud-client.ts +7 -2
- package/cli/commands/inspect/settling.ts +7 -2
- 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 +1 -1
- 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 +8 -3
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-V3XDEDP6.mjs → acorn-2J725R5I.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-6V2ECPE7.mjs → chunk-2HK4H7ZI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-N7VZ7VEK.mjs → chunk-6VR25SPG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HGXXVBJG.mjs → chunk-6XNOBDYY.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-LATLGHGM.mjs → chunk-7VU3MCJG.mjs} +12 -12
- package/dist-lib/esm-chunks/{chunk-FLENJWNX.mjs → chunk-7WLZ4NHN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HEOMLBGO.mjs → chunk-AQZG62OH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MSVSZ66J.mjs → chunk-EIM3TPVZ.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-P6RAV46E.mjs → chunk-EMQ3TSAN.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-ZMCFZNUO.mjs → chunk-EN5F4P2G.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-AQ3PGPWE.mjs → chunk-EZBJ5J3I.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3JP3KRAD.mjs → chunk-FX5ONYBN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PBEN5WRU.mjs → chunk-GNJLEHNW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ISB7UYPO.mjs → chunk-GQJ6AWTA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-O7GFR7YK.mjs → chunk-GV6SJTHZ.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-E6Q66I6T.mjs → chunk-IUJGRRA5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KUFZD2CT.mjs → chunk-KYB5R7DP.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DCO5CMNF.mjs → chunk-MAHSHPSW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6J6FWZLQ.mjs → chunk-NLX75NDQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KGUUTG42.mjs → chunk-NPNMSHHT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZR3V6DY4.mjs → chunk-PE74RKR2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-633546VE.mjs → chunk-Z2NSJMVJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-JHKSRYFH.mjs → metro-layout-parser-G37VWZEJ.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-JX5THTBC.mjs → swift-package-prebuilt-SEN55VIB.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-W6JPOC7Q.mjs → swift-sdk-app-module-UK4USPH3.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-7IQKWX4J.mjs → swift-sdk-image-IBWK7WQH.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-IFBEHFC5.mjs → swift-sdk-image-producer-NLZJWZSK.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +1 -1
- 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 +1 -1
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- 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 +11 -5
- 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 +1 -1
- 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 +8 -3
- package/dist-lib/sdk.mjs +14 -9
- package/dist-lib/skills.cjs +151 -177
- package/dist-lib/swift-compile.cjs +1 -1
- 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/render-worker/host.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +1 -9
- package/dist-types/packages/peach-globals/src/index.d.ts +2 -2
- package/dist-types/packages/peach-globals/src/nodeContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/testBridgeContract.d.ts +13 -1
- package/package.json +1 -1
- package/src/bridge-contract.ts +2 -17
- package/src/connect.ts +1 -1
|
@@ -37,7 +37,13 @@ import {
|
|
|
37
37
|
import { MaestroJsContext, scriptConditionIsTruthy } from './maestro-js'
|
|
38
38
|
import { redactForSharing } from './output-redaction'
|
|
39
39
|
import { ensureCliRecordingEntitlement } from './recording-access'
|
|
40
|
-
import type {
|
|
40
|
+
import type {
|
|
41
|
+
PerformResult,
|
|
42
|
+
PerformStep,
|
|
43
|
+
ResetResult,
|
|
44
|
+
SimNodeRecord,
|
|
45
|
+
SimSemanticQueryResult,
|
|
46
|
+
} from '../src/bridge-contract'
|
|
41
47
|
import type { WsBridge } from './ws-bridge'
|
|
42
48
|
import type {
|
|
43
49
|
PeachAccessibilityNode,
|
|
@@ -1645,178 +1651,193 @@ export class SootSimBridgeFlowRunner {
|
|
|
1645
1651
|
// (match scoped to a container). a nested selector resolves the same way,
|
|
1646
1652
|
// and a relative filter holds when ANY match of its anchor satisfies it.
|
|
1647
1653
|
private async findElementScoped(opts: FlowTargetSelector, preferHittable = false) {
|
|
1648
|
-
const
|
|
1649
|
-
const
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1654
|
+
const relativeKeys = ['below', 'above', 'leftOf', 'rightOf'] as const
|
|
1655
|
+
const needsAnchors =
|
|
1656
|
+
opts.childOf != null || relativeKeys.some((key) => opts[key] != null)
|
|
1657
|
+
const recordQuery: Promise<SimSemanticQueryResult> = this.bridge.send({
|
|
1658
|
+
type: 'query',
|
|
1659
|
+
simId: this.opts.simId,
|
|
1660
|
+
query: { kind: 'nodes', id: needsAnchors ? undefined : opts.id },
|
|
1661
|
+
})
|
|
1662
|
+
const [screen, result] = await Promise.all([this.screenBounds(), recordQuery])
|
|
1663
|
+
const all = result.records
|
|
1664
|
+
if (!Array.isArray(all)) throw new Error('engine returned no selector node records')
|
|
1665
|
+
// maestro reads ios frames as integer edges (AXElement.boundsString)
|
|
1666
|
+
const bounds = (n: SimNodeRecord) => {
|
|
1667
|
+
const left = Math.trunc(n.absolutePosition.x)
|
|
1668
|
+
const top = Math.trunc(n.absolutePosition.y)
|
|
1669
|
+
return {
|
|
1670
|
+
x: left,
|
|
1671
|
+
y: top,
|
|
1672
|
+
width: Math.trunc(n.absolutePosition.x + n.layout.width) - left,
|
|
1673
|
+
height: Math.trunc(n.absolutePosition.y + n.layout.height) - top,
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
const painted = (n: SimNodeRecord) => (n.visibleFrame?.area ?? 0) > 0
|
|
1677
|
+
// one viewport contract, shared with isOffscreen in
|
|
1678
|
+
// commands/inspect/resolve-target.ts: a center on the edge still takes
|
|
1679
|
+
// a tap, so the edge counts as on screen here too.
|
|
1680
|
+
const centerOnScreen = (n: SimNodeRecord) => {
|
|
1681
|
+
const cx = n.absolutePosition.x + n.layout.width / 2
|
|
1682
|
+
const cy = n.absolutePosition.y + n.layout.height / 2
|
|
1683
|
+
return cx >= 0 && cx <= screen.width && cy >= 0 && cy <= screen.height
|
|
1684
|
+
}
|
|
1685
|
+
const byPosition = (a: SimNodeRecord, b: SimNodeRecord) =>
|
|
1686
|
+
a.absolutePosition.y - b.absolutePosition.y ||
|
|
1687
|
+
a.absolutePosition.x - b.absolutePosition.x
|
|
1688
|
+
const relative = {
|
|
1689
|
+
below: (n: SimNodeRecord, other: SimNodeRecord) => bounds(n).y > bounds(other).y,
|
|
1690
|
+
above: (n: SimNodeRecord, other: SimNodeRecord) => bounds(n).y < bounds(other).y,
|
|
1691
|
+
leftOf: (n: SimNodeRecord, other: SimNodeRecord) => bounds(n).x < bounds(other).x,
|
|
1692
|
+
rightOf: (n: SimNodeRecord, other: SimNodeRecord) => bounds(n).x > bounds(other).x,
|
|
1693
|
+
}
|
|
1694
|
+
const traitFilters = new Map<string, (node: SimNodeRecord) => boolean>([
|
|
1695
|
+
['TEXT', (node) => node.text != null],
|
|
1696
|
+
[
|
|
1697
|
+
'SQUARE',
|
|
1698
|
+
(node) => {
|
|
1699
|
+
const frame = bounds(node)
|
|
1700
|
+
return Math.abs(1 - frame.width / frame.height) < 0.03
|
|
1701
|
+
},
|
|
1702
|
+
],
|
|
1703
|
+
['LONG_TEXT', (node) => (node.text?.length ?? 0) > 200],
|
|
1704
|
+
])
|
|
1705
|
+
const matchAll = (raw: FlowTargetSelector | string): SimNodeRecord[] => {
|
|
1706
|
+
const sel = typeof raw === 'string' ? { text: raw } : raw
|
|
1707
|
+
const matchesId = sel.id == null ? null : maestroSelectorMatcher(sel.id, 'id')
|
|
1708
|
+
const matchesText =
|
|
1709
|
+
sel.text == null ? null : maestroSelectorMatcher(sel.text, 'text')
|
|
1710
|
+
let candidates = all.filter(
|
|
1711
|
+
(n) =>
|
|
1712
|
+
(!matchesId || matchesId(n.testID)) &&
|
|
1713
|
+
(!matchesText ||
|
|
1714
|
+
matchesText(n.text) ||
|
|
1715
|
+
matchesText(n.accessibilityLabel) ||
|
|
1716
|
+
matchesText(n.placeholder)),
|
|
1665
1717
|
)
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
}
|
|
1718
|
+
if (sel.width != null || sel.height != null) {
|
|
1719
|
+
const tolerance = sel.tolerance ?? 0
|
|
1720
|
+
candidates = candidates.filter((n) => {
|
|
1721
|
+
const b = bounds(n)
|
|
1722
|
+
return (
|
|
1723
|
+
(sel.width == null || Math.abs(b.width - sel.width) <= tolerance) &&
|
|
1724
|
+
(sel.height == null || Math.abs(b.height - sel.height) <= tolerance)
|
|
1725
|
+
)
|
|
1726
|
+
})
|
|
1676
1727
|
}
|
|
1677
|
-
const
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
const centerOnScreen = (n) => {
|
|
1682
|
-
const cx = n.absolutePosition.x + n.layout.width / 2
|
|
1683
|
-
const cy = n.absolutePosition.y + n.layout.height / 2
|
|
1684
|
-
return cx >= 0 && cx <= ${screen.width} && cy >= 0 && cy <= ${screen.height}
|
|
1728
|
+
for (const trait of sel.traits ? String(sel.traits).split(' ') : []) {
|
|
1729
|
+
const filter = traitFilters.get(trait.replaceAll('-', '_').toUpperCase())
|
|
1730
|
+
if (!filter) throw new Error('unknown selector trait: ' + trait)
|
|
1731
|
+
candidates = candidates.filter(filter)
|
|
1685
1732
|
}
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
leftOf: (n, other) => bounds(n).x < bounds(other).x,
|
|
1693
|
-
rightOf: (n, other) => bounds(n).x > bounds(other).x,
|
|
1733
|
+
// ios reports isEnabled / isSelected from the accessibility traits
|
|
1734
|
+
// react native derives from accessibilityState
|
|
1735
|
+
if (sel.enabled != null) {
|
|
1736
|
+
candidates = candidates.filter(
|
|
1737
|
+
(n) => !n.accessibilityState?.disabled === sel.enabled,
|
|
1738
|
+
)
|
|
1694
1739
|
}
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
return Math.abs(1 - b.width / b.height) < 0.03
|
|
1700
|
-
},
|
|
1701
|
-
LONG_TEXT: (n) => (n.text?.length ?? 0) > 200,
|
|
1740
|
+
if (sel.selected != null) {
|
|
1741
|
+
candidates = candidates.filter(
|
|
1742
|
+
(n) => !!n.accessibilityState?.selected === sel.selected,
|
|
1743
|
+
)
|
|
1702
1744
|
}
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
(
|
|
1745
|
+
// maestro's ios checked: a switch whose value is "1". react native
|
|
1746
|
+
// gives the switch role that trait and reports "1" from
|
|
1747
|
+
// accessibilityState.checked; a checkbox role gets no trait, so ios
|
|
1748
|
+
// never reads it as checked.
|
|
1749
|
+
if (sel.checked != null) {
|
|
1750
|
+
candidates = candidates.filter(
|
|
1751
|
+
(n) =>
|
|
1752
|
+
(n.accessibilityRole === 'switch' &&
|
|
1753
|
+
n.accessibilityState?.checked === true) === sel.checked,
|
|
1754
|
+
)
|
|
1755
|
+
}
|
|
1756
|
+
for (const key of relativeKeys) {
|
|
1757
|
+
const anchor = sel[key]
|
|
1758
|
+
if (anchor == null) continue
|
|
1759
|
+
const anchors = pick(
|
|
1760
|
+
matchAll(anchor),
|
|
1761
|
+
typeof anchor === 'string' ? undefined : anchor.index,
|
|
1762
|
+
)
|
|
1763
|
+
candidates = candidates.filter((n) =>
|
|
1764
|
+
anchors.some((other) => relative[key](n, other)),
|
|
1710
1765
|
)
|
|
1711
|
-
if (sel.width != null || sel.height != null) {
|
|
1712
|
-
const tolerance = sel.tolerance ?? 0
|
|
1713
|
-
candidates = candidates.filter((n) => {
|
|
1714
|
-
const b = bounds(n)
|
|
1715
|
-
return (sel.width == null || Math.abs(b.width - sel.width) <= tolerance) &&
|
|
1716
|
-
(sel.height == null || Math.abs(b.height - sel.height) <= tolerance)
|
|
1717
|
-
})
|
|
1718
|
-
}
|
|
1719
|
-
for (const trait of sel.traits ? String(sel.traits).split(' ') : []) {
|
|
1720
|
-
const filter = traitFilters[trait.replaceAll('-', '_').toUpperCase()]
|
|
1721
|
-
if (!filter) throw new Error('unknown selector trait: ' + trait)
|
|
1722
|
-
candidates = candidates.filter(filter)
|
|
1723
|
-
}
|
|
1724
|
-
// ios reports isEnabled / isSelected from the accessibility traits
|
|
1725
|
-
// react native derives from accessibilityState
|
|
1726
|
-
if (sel.enabled != null) {
|
|
1727
|
-
candidates = candidates.filter((n) => !n.accessibilityState?.disabled === sel.enabled)
|
|
1728
|
-
}
|
|
1729
|
-
if (sel.selected != null) {
|
|
1730
|
-
candidates = candidates.filter((n) => !!n.accessibilityState?.selected === sel.selected)
|
|
1731
|
-
}
|
|
1732
|
-
// maestro's ios checked: a switch whose value is "1". react native
|
|
1733
|
-
// gives the switch role that trait and reports "1" from
|
|
1734
|
-
// accessibilityState.checked; a checkbox role gets no trait, so ios
|
|
1735
|
-
// never reads it as checked.
|
|
1736
|
-
if (sel.checked != null) {
|
|
1737
|
-
candidates = candidates.filter(
|
|
1738
|
-
(n) =>
|
|
1739
|
-
(n.accessibilityRole === 'switch' && n.accessibilityState?.checked === true) ===
|
|
1740
|
-
sel.checked,
|
|
1741
|
-
)
|
|
1742
|
-
}
|
|
1743
|
-
for (const key of Object.keys(relative)) {
|
|
1744
|
-
if (sel[key] == null) continue
|
|
1745
|
-
const anchors = pick(matchAll(sel[key]), sel[key].index)
|
|
1746
|
-
candidates = candidates.filter((n) => anchors.some((other) => relative[key](n, other)))
|
|
1747
|
-
}
|
|
1748
|
-
// scope before visibility: childOf narrows the match set first, so a
|
|
1749
|
-
// clipped sliver inside the container survives to resolve (and refuse
|
|
1750
|
-
// honestly) instead of being discarded for a hittable duplicate the
|
|
1751
|
-
// scope then removes.
|
|
1752
|
-
if (sel.childOf) {
|
|
1753
|
-
const containers = matchAll(sel.childOf)
|
|
1754
|
-
const container = containers.find(painted) ?? containers[0]
|
|
1755
|
-
if (!container) return []
|
|
1756
|
-
const x0 = container.absolutePosition.x
|
|
1757
|
-
const y0 = container.absolutePosition.y
|
|
1758
|
-
const x1 = x0 + container.layout.width
|
|
1759
|
-
const y1 = y0 + container.layout.height
|
|
1760
|
-
candidates = candidates.filter((n) => {
|
|
1761
|
-
const cx = n.absolutePosition.x + n.layout.width / 2
|
|
1762
|
-
const cy = n.absolutePosition.y + n.layout.height / 2
|
|
1763
|
-
return cx >= x0 && cx <= x1 && cy >= y0 && cy <= y1
|
|
1764
|
-
})
|
|
1765
|
-
}
|
|
1766
|
-
// prefer painted matches, then on-screen ones (findByTestId's
|
|
1767
|
-
// visible-first behavior); only fall back to off-screen ones when
|
|
1768
|
-
// nothing is on-screen, so index: still resolves a target that needs
|
|
1769
|
-
// scrolling into view. a screen still mounted under the one on top
|
|
1770
|
-
// paints nothing, and maestro's hierarchy never holds it.
|
|
1771
|
-
const onScreen = candidates.filter(centerOnScreen)
|
|
1772
|
-
// without an explicit index, prefer a painted match whose center is
|
|
1773
|
-
// on screen: a painted sliver with its center off screen cannot take
|
|
1774
|
-
// a tap at its center, so a duplicate id resolves to the hittable
|
|
1775
|
-
// match. an explicit index keeps the full painted order, and a
|
|
1776
|
-
// clipped-only match still resolves so the tap reports honestly.
|
|
1777
|
-
const paintedCandidates = candidates.filter(painted)
|
|
1778
|
-
if (paintedCandidates.length > 0) {
|
|
1779
|
-
if (sel.index == null) {
|
|
1780
|
-
const hittable = paintedCandidates.filter(centerOnScreen)
|
|
1781
|
-
candidates = hittable.length > 0 ? hittable : paintedCandidates
|
|
1782
|
-
} else {
|
|
1783
|
-
candidates = paintedCandidates
|
|
1784
|
-
}
|
|
1785
|
-
} else if (onScreen.length > 0) candidates = onScreen
|
|
1786
|
-
// maestro's index: sorts matches by frame y, then x, and without an
|
|
1787
|
-
// index takes the first in the ios hierarchy, which lays siblings out
|
|
1788
|
-
// by position rather than subview order (RAN on ios 27: two views with
|
|
1789
|
-
// one identifier, the first subview moved below by a transform, maestro
|
|
1790
|
-
// takes the upper one). a list that renders rows in key order and
|
|
1791
|
-
// places them by transform still resolves its top row.
|
|
1792
|
-
candidates.sort(byPosition)
|
|
1793
|
-
if (sel.index == null && sel.text && !sel.id) {
|
|
1794
|
-
candidates.sort((a, b) => (a.text || '').length - (b.text || '').length)
|
|
1795
|
-
}
|
|
1796
|
-
return candidates
|
|
1797
1766
|
}
|
|
1798
|
-
//
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1767
|
+
// scope before visibility: childOf narrows the match set first, so a
|
|
1768
|
+
// clipped sliver inside the container survives to resolve (and refuse
|
|
1769
|
+
// honestly) instead of being discarded for a hittable duplicate the
|
|
1770
|
+
// scope then removes.
|
|
1771
|
+
if (sel.childOf) {
|
|
1772
|
+
const containers = matchAll(sel.childOf)
|
|
1773
|
+
const container = containers.find(painted) ?? containers[0]
|
|
1774
|
+
if (!container) return []
|
|
1775
|
+
const x0 = container.absolutePosition.x
|
|
1776
|
+
const y0 = container.absolutePosition.y
|
|
1777
|
+
const x1 = x0 + container.layout.width
|
|
1778
|
+
const y1 = y0 + container.layout.height
|
|
1779
|
+
candidates = candidates.filter((n) => {
|
|
1780
|
+
const cx = n.absolutePosition.x + n.layout.width / 2
|
|
1781
|
+
const cy = n.absolutePosition.y + n.layout.height / 2
|
|
1782
|
+
return cx >= x0 && cx <= x1 && cy >= y0 && cy <= y1
|
|
1783
|
+
})
|
|
1804
1784
|
}
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1785
|
+
// prefer painted matches, then on-screen ones (findByTestId's
|
|
1786
|
+
// visible-first behavior); only fall back to off-screen ones when
|
|
1787
|
+
// nothing is on-screen, so index: still resolves a target that needs
|
|
1788
|
+
// scrolling into view. a screen still mounted under the one on top
|
|
1789
|
+
// paints nothing, and maestro's hierarchy never holds it.
|
|
1790
|
+
const onScreen = candidates.filter(centerOnScreen)
|
|
1791
|
+
// without an explicit index, prefer a painted match whose center is
|
|
1792
|
+
// on screen: a painted sliver with its center off screen cannot take
|
|
1793
|
+
// a tap at its center, so a duplicate id resolves to the hittable
|
|
1794
|
+
// match. an explicit index keeps the full painted order, and a
|
|
1795
|
+
// clipped-only match still resolves so the tap reports honestly.
|
|
1796
|
+
const paintedCandidates = candidates.filter(painted)
|
|
1797
|
+
if (paintedCandidates.length > 0) {
|
|
1798
|
+
if (sel.index == null) {
|
|
1799
|
+
const hittable = paintedCandidates.filter(centerOnScreen)
|
|
1800
|
+
candidates = hittable.length > 0 ? hittable : paintedCandidates
|
|
1801
|
+
} else {
|
|
1802
|
+
candidates = paintedCandidates
|
|
1803
|
+
}
|
|
1804
|
+
} else if (onScreen.length > 0) candidates = onScreen
|
|
1805
|
+
// maestro's index: sorts matches by frame y, then x, and without an
|
|
1806
|
+
// index takes the first in the ios hierarchy, which lays siblings out
|
|
1807
|
+
// by position rather than subview order (RAN on ios 27: two views with
|
|
1808
|
+
// one identifier, the first subview moved below by a transform, maestro
|
|
1809
|
+
// takes the upper one). a list that renders rows in key order and
|
|
1810
|
+
// places them by transform still resolves its top row.
|
|
1811
|
+
candidates.sort(byPosition)
|
|
1812
|
+
if (sel.index == null && sel.text && !sel.id) {
|
|
1813
|
+
candidates.sort((a, b) => (a.text || '').length - (b.text || '').length)
|
|
1814
|
+
}
|
|
1815
|
+
return candidates
|
|
1816
|
+
}
|
|
1817
|
+
// maestro Filters.index: a negative index counts from the end
|
|
1818
|
+
const pick = (
|
|
1819
|
+
candidates: SimNodeRecord[],
|
|
1820
|
+
rawIndex?: FlowTargetSelector['index'],
|
|
1821
|
+
) => {
|
|
1822
|
+
if (rawIndex == null) return candidates
|
|
1823
|
+
const index = Math.trunc(Number(rawIndex))
|
|
1824
|
+
const resolved = index >= 0 ? index : candidates.length + index
|
|
1825
|
+
return candidates[resolved] ? [candidates[resolved]] : []
|
|
1826
|
+
}
|
|
1827
|
+
const matches = pick(matchAll(opts), opts.index)
|
|
1828
|
+
const nodes = preferHittable && opts.index == null ? matches : matches.slice(0, 1)
|
|
1829
|
+
const candidates = nodes.map((node) => ({
|
|
1830
|
+
nodeId: typeof node.nodeId === 'number' ? node.nodeId : null,
|
|
1831
|
+
id: node.id || null,
|
|
1832
|
+
testID: node.testID || null,
|
|
1833
|
+
text: node.text || null,
|
|
1834
|
+
absolutePosition: node.absolutePosition,
|
|
1835
|
+
layout: node.layout,
|
|
1836
|
+
// authoritative visibility, as in findElement above.
|
|
1837
|
+
visibleFrame: node.visibleFrame || null,
|
|
1838
|
+
isTextInput: !!node.isTextInput,
|
|
1839
|
+
}))
|
|
1840
|
+
if (!candidates.length) return null
|
|
1820
1841
|
return preferHittable && opts.index == null
|
|
1821
1842
|
? this.preferHittableCandidate(candidates)
|
|
1822
1843
|
: candidates[0]
|
|
@@ -2214,11 +2235,13 @@ export class SootSimBridgeFlowRunner {
|
|
|
2214
2235
|
const element = await this.findElement(opts)
|
|
2215
2236
|
if (!element) return false
|
|
2216
2237
|
const frame = element.visibleFrame
|
|
2238
|
+
const area = frame?.area
|
|
2217
2239
|
const usable =
|
|
2218
2240
|
!!frame &&
|
|
2219
2241
|
Number.isFinite(frame.width) &&
|
|
2220
2242
|
Number.isFinite(frame.height) &&
|
|
2221
|
-
|
|
2243
|
+
typeof area === 'number' &&
|
|
2244
|
+
Number.isFinite(area)
|
|
2222
2245
|
if (!usable) {
|
|
2223
2246
|
// absent or non-numeric geometry is unknown visibility, never "hidden".
|
|
2224
2247
|
// returning false here would quietly hand assertNotVisible a pass it did
|
|
@@ -2228,7 +2251,7 @@ export class SootSimBridgeFlowRunner {
|
|
|
2228
2251
|
`returned visibleFrame ${JSON.stringify(frame ?? null)}`,
|
|
2229
2252
|
)
|
|
2230
2253
|
}
|
|
2231
|
-
return frame.width > 0 && frame.height > 0 &&
|
|
2254
|
+
return frame.width > 0 && frame.height > 0 && area > 0
|
|
2232
2255
|
}
|
|
2233
2256
|
|
|
2234
2257
|
async inputText(text: string) {
|
package/cli/cloud-client.ts
CHANGED
|
@@ -1535,8 +1535,11 @@ export async function deleteRemoteSim(options: {
|
|
|
1535
1535
|
}
|
|
1536
1536
|
|
|
1537
1537
|
export function resolveCloudSessionForParsed(
|
|
1538
|
-
parsed: Pick<ParsedBridgeCliArgs, 'simId' | 'simIdSource'
|
|
1538
|
+
parsed: Pick<ParsedBridgeCliArgs, 'simId' | 'simIdSource'> &
|
|
1539
|
+
Partial<Pick<ParsedBridgeCliArgs, 'explicitPort'>>,
|
|
1539
1540
|
): CloudSession | null {
|
|
1541
|
+
// an explicit --port names a local bridge, which a saved remote session never serves
|
|
1542
|
+
if (parsed.explicitPort) return null
|
|
1540
1543
|
const session = readCloudSession()
|
|
1541
1544
|
if (!session) return null
|
|
1542
1545
|
// a box holds one simulator and names it by the box, so --sim names a box
|
|
@@ -1756,7 +1759,9 @@ export class CloudBoxBridge implements WsBridge {
|
|
|
1756
1759
|
|
|
1757
1760
|
export function createCloudBridgeForParsed(
|
|
1758
1761
|
parsed: Pick<ParsedBridgeCliArgs, 'simId' | 'simIdSource'> &
|
|
1759
|
-
Partial<
|
|
1762
|
+
Partial<
|
|
1763
|
+
Pick<ParsedBridgeCliArgs, 'explicitTimeout' | 'commandTimeoutMs' | 'explicitPort'>
|
|
1764
|
+
>,
|
|
1760
1765
|
): WsBridge | null {
|
|
1761
1766
|
const session = resolveCloudSessionForParsed(parsed)
|
|
1762
1767
|
if (!session) return null
|
|
@@ -187,7 +187,9 @@ function renderActivityIdleScript({
|
|
|
187
187
|
}
|
|
188
188
|
const blockers = []
|
|
189
189
|
const stats = await Promise.race([
|
|
190
|
-
Promise.resolve()
|
|
190
|
+
Promise.resolve()
|
|
191
|
+
.then(() => host?.queryReadinessStats ? host.queryReadinessStats() : host?.queryStats(false))
|
|
192
|
+
.catch(() => null),
|
|
191
193
|
new Promise((resolve) => setTimeout(() => resolve(null), 500)),
|
|
192
194
|
])
|
|
193
195
|
if (stats) {
|
|
@@ -349,7 +351,10 @@ export async function waitForSootsimIdle({
|
|
|
349
351
|
const motionRead = strict || screenStill
|
|
350
352
|
? answer(() => globalThis.__sootsimTest?.listAnimations?.()).catch(() => null)
|
|
351
353
|
: null
|
|
352
|
-
const
|
|
354
|
+
const host = globalThis.__sootsimRenderHost
|
|
355
|
+
const statsRead = answer(() =>
|
|
356
|
+
host?.queryReadinessStats ? host.queryReadinessStats() : host?.queryStats?.(false)
|
|
357
|
+
).catch(() => null)
|
|
353
358
|
// image preparation ends in the tenant before the compositor decodes
|
|
354
359
|
// and realizes its pixels. both owners must finish before settling.
|
|
355
360
|
// the compositor rejects a stats request it is too busy to answer.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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.2491 | (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.2491 | (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.2491 | (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.2491 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./esm-chunks/chunk-
|
|
1
|
+
/*! peach v0.1.2491 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./esm-chunks/chunk-2HK4H7ZI.mjs";
|
|
3
3
|
|
|
4
4
|
// src/beta.ts
|
|
5
5
|
var IS_BETA = true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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.2491 | (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.2491 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
BridgeInputError,
|
|
4
4
|
SEMANTIC_WAIT_MAX_TIMEOUT_MS,
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
parseSemanticWaitOptions,
|
|
18
18
|
parseStateOptions,
|
|
19
19
|
parseTapTarget
|
|
20
|
-
} from "./esm-chunks/chunk-
|
|
21
|
-
import "./esm-chunks/chunk-
|
|
22
|
-
import "./esm-chunks/chunk-
|
|
23
|
-
import "./esm-chunks/chunk-
|
|
20
|
+
} from "./esm-chunks/chunk-6XNOBDYY.mjs";
|
|
21
|
+
import "./esm-chunks/chunk-NPNMSHHT.mjs";
|
|
22
|
+
import "./esm-chunks/chunk-GNJLEHNW.mjs";
|
|
23
|
+
import "./esm-chunks/chunk-2HK4H7ZI.mjs";
|
|
24
24
|
export {
|
|
25
25
|
BridgeInputError,
|
|
26
26
|
SEMANTIC_WAIT_MAX_TIMEOUT_MS,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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.2491 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
HEADLESS_TENANT_FETCH_HUNG_MARKER,
|
|
4
4
|
REFUSED_PERFORM_STEP_TYPES,
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
readyProbeHasContent,
|
|
14
14
|
readyProbeIsReady,
|
|
15
15
|
refusedPerformStepReason
|
|
16
|
-
} from "./esm-chunks/chunk-
|
|
17
|
-
import "./esm-chunks/chunk-
|
|
16
|
+
} from "./esm-chunks/chunk-NPNMSHHT.mjs";
|
|
17
|
+
import "./esm-chunks/chunk-2HK4H7ZI.mjs";
|
|
18
18
|
export {
|
|
19
19
|
HEADLESS_TENANT_FETCH_HUNG_MARKER,
|
|
20
20
|
REFUSED_PERFORM_STEP_TYPES,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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.2491 | (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.2491 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
RNX_SCREEN_CAPTURE_VERSION,
|
|
4
4
|
describeInvalidScreenCapture,
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
rnxRasterFrames,
|
|
11
11
|
rnxRasterRegionRequests,
|
|
12
12
|
selectRnxRasterNodeIds
|
|
13
|
-
} from "./esm-chunks/chunk-
|
|
14
|
-
import "./esm-chunks/chunk-
|
|
13
|
+
} from "./esm-chunks/chunk-MAHSHPSW.mjs";
|
|
14
|
+
import "./esm-chunks/chunk-2HK4H7ZI.mjs";
|
|
15
15
|
export {
|
|
16
16
|
RNX_SCREEN_CAPTURE_VERSION,
|
|
17
17
|
describeInvalidScreenCapture,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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.2491 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
AGENT_IDENTITY_MAX_CHARS,
|
|
4
4
|
RNX_CLOUD_ALL_COMMAND_SCOPES,
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
readRnxLaunchUrl,
|
|
32
32
|
rnxCloudCommandScope,
|
|
33
33
|
rnxCloudScopesAllowCommand
|
|
34
|
-
} from "./esm-chunks/chunk-
|
|
35
|
-
import "./esm-chunks/chunk-
|
|
34
|
+
} from "./esm-chunks/chunk-FX5ONYBN.mjs";
|
|
35
|
+
import "./esm-chunks/chunk-2HK4H7ZI.mjs";
|
|
36
36
|
export {
|
|
37
37
|
AGENT_IDENTITY_MAX_CHARS,
|
|
38
38
|
RNX_CLOUD_ALL_COMMAND_SCOPES,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2491 | (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;
|