peachsim 0.1.772 → 0.1.774

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.
Files changed (77) hide show
  1. package/cli/commands/desktop.ts +1 -1
  2. package/cli/commands/install-desktop.ts +17 -6
  3. package/cli/drivers/playwright-sim-host.ts +59 -2
  4. package/cli/drivers/playwright.ts +28 -7
  5. package/dist-lib/agent-daemon-client.cjs +1 -1
  6. package/dist-lib/agent-events.cjs +1 -1
  7. package/dist-lib/agent-identity.cjs +1 -1
  8. package/dist-lib/agent-sessions.cjs +1 -1
  9. package/dist-lib/attached-projects.cjs +1 -1
  10. package/dist-lib/auth/shared-session.cjs +1 -1
  11. package/dist-lib/backend-origin.cjs +1 -1
  12. package/dist-lib/beta.cjs +1 -1
  13. package/dist-lib/beta.mjs +1 -1
  14. package/dist-lib/bridge-constants.cjs +1 -1
  15. package/dist-lib/bridge-contract-input.cjs +1 -1
  16. package/dist-lib/bridge-contract-input.mjs +1 -1
  17. package/dist-lib/bridge-contract.cjs +1 -1
  18. package/dist-lib/bridge-contract.mjs +1 -1
  19. package/dist-lib/capture-contract.cjs +1 -1
  20. package/dist-lib/capture-contract.mjs +1 -1
  21. package/dist-lib/cli-constants.cjs +1 -1
  22. package/dist-lib/cloud-contract.cjs +1 -1
  23. package/dist-lib/cloud-contract.mjs +1 -1
  24. package/dist-lib/cloud-test-args.cjs +1 -1
  25. package/dist-lib/cloud-test-args.mjs +1 -1
  26. package/dist-lib/cloud.cjs +1 -1
  27. package/dist-lib/cloud.mjs +1 -1
  28. package/dist-lib/config.cjs +1 -1
  29. package/dist-lib/detox/index.cjs +1 -1
  30. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  31. package/dist-lib/home-paths.cjs +1 -1
  32. package/dist-lib/host/bridge-host.cjs +8 -3
  33. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  34. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  35. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  36. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  37. package/dist-lib/host/websocket-proxy.cjs +1 -1
  38. package/dist-lib/index.cjs +1 -1
  39. package/dist-lib/jump-to-source-babel.cjs +1 -1
  40. package/dist-lib/jump-to-source-native.cjs +1 -1
  41. package/dist-lib/kotlin-host.cjs +1 -1
  42. package/dist-lib/menu.cjs +1 -1
  43. package/dist-lib/menu.mjs +1 -1
  44. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  45. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  46. package/dist-lib/metro-production-bundle.cjs +1 -1
  47. package/dist-lib/metro-production-bundle.mjs +1 -1
  48. package/dist-lib/metro.cjs +1 -1
  49. package/dist-lib/native-app-identity.cjs +1 -1
  50. package/dist-lib/native-app-identity.mjs +1 -1
  51. package/dist-lib/native-firebase-metadata.cjs +1 -1
  52. package/dist-lib/native-firebase-metadata.mjs +1 -1
  53. package/dist-lib/plist.cjs +1 -1
  54. package/dist-lib/plist.mjs +1 -1
  55. package/dist-lib/profiles.cjs +1 -1
  56. package/dist-lib/public-brand.cjs +1 -1
  57. package/dist-lib/react-native-host-modules.cjs +1 -1
  58. package/dist-lib/react-native-host-modules.mjs +1 -1
  59. package/dist-lib/render-mode.cjs +1 -1
  60. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  61. package/dist-lib/sdk.cjs +1 -1
  62. package/dist-lib/sdk.mjs +1 -1
  63. package/dist-lib/skills.cjs +123 -76
  64. package/dist-lib/swift-compile.cjs +7 -2
  65. package/dist-lib/swift-compile.mjs +7 -2
  66. package/dist-lib/swift-package.cjs +1 -1
  67. package/dist-lib/swift-package.mjs +1 -1
  68. package/dist-lib/swift-submit.cjs +1 -1
  69. package/dist-lib/swift-submit.mjs +1 -1
  70. package/dist-lib/swift-toolchain.cjs +1 -1
  71. package/dist-lib/swift.cjs +1 -1
  72. package/dist-lib/vite-swift.cjs +7 -2
  73. package/dist-lib/vite.cjs +1 -1
  74. package/package.json +1 -1
  75. package/src/desktop-host-delivery.ts +47 -8
  76. package/src/swift-compile.ts +6 -1
  77. package/src/swift-standin-emit.ts +619 -0
@@ -18,7 +18,7 @@ options:
18
18
  --port <number> connect to a running dev server on this port
19
19
  --profile <id> launch with an isolated persistent storage profile
20
20
  --ephemeral launch with a temporary isolated storage profile
21
- --native launch or install the native desktop host (macOS arm64)
21
+ --native launch (macOS arm64) or install (also Linux x64) the native host
22
22
  -y, --yes install without prompting
23
23
  `)
24
24
  }
@@ -3,9 +3,10 @@
3
3
  // the CLI + daemon are the canonical peach surface; this command is only
4
4
  // for users who want a GUI companion on top of that.
5
5
  //
6
- // --native installs the native desktop host at /Applications/Peach.app,
7
- // verified and cached by version under ~/.peach/desktop/versions/<version>/ through the
8
- // same delivery `peach runtime install` uses (src/desktop-host-delivery.ts).
6
+ // --native installs the native desktop host at /Applications/Peach.app on
7
+ // macOS, or the standalone headless host that `peach open --headless` attaches
8
+ // on Linux x64, verified and cached by version under ~/.peach/desktop/versions/<version>/
9
+ // through the same delivery `peach runtime install` uses (src/desktop-host-delivery.ts).
9
10
  //
10
11
  // otherwise it installs the Electron companion: it
11
12
  // fetches the right platform artifact from https://contrast.dev/api/electron-release/
@@ -34,9 +35,11 @@ import { basename, dirname, join, resolve } from 'path'
34
35
  import {
35
36
  DESKTOP_HOST_CHANNELS,
36
37
  desktopHostDelivery,
38
+ desktopHostPlatform,
37
39
  isNativeHostBundle,
38
40
  MAC_HOST_APP,
39
41
  } from '../../src/desktop-host-delivery'
42
+ import { desktopHostDir } from '../../src/home-paths'
40
43
  import { findInstalledDesktopCompanion } from '../desktop-companion'
41
44
  import { confirm } from '../prompt'
42
45
  import { rnxExit } from '../run-rnx'
@@ -292,8 +295,8 @@ usage:
292
295
  options:
293
296
  -y, --yes skip confirmation and install immediately
294
297
  --force reinstall even if the companion is already present
295
- --native install the native desktop host (macOS arm64) at
296
- /Applications/Peach.app
298
+ --native install the native desktop host: /Applications/Peach.app
299
+ on macOS arm64, the headless host on Linux x64
297
300
  --channel <name> with --native: production (default) or staging
298
301
 
299
302
  environment:
@@ -444,8 +447,12 @@ async function installNativeHost(args: string[], force: boolean): Promise<void>
444
447
  quiet: true,
445
448
  }),
446
449
  )
450
+ const location =
451
+ desktopHostPlatform() === 'linux-x64'
452
+ ? desktopHostDir(result.version)
453
+ : MAC_HOST_APP
447
454
  console.log(
448
- ` ${success('✓')} Native desktop host ${result.version} ${result.installed ? 'installed' : 'already installed'} at ${MAC_HOST_APP}`,
455
+ ` ${success('✓')} Native desktop host ${result.version} ${result.installed ? 'installed' : 'already installed'} at ${location}`,
449
456
  )
450
457
  } catch (err) {
451
458
  console.error(
@@ -455,6 +462,10 @@ async function installNativeHost(args: string[], force: boolean): Promise<void>
455
462
  }
456
463
  console.log()
457
464
  console.log(` ${bold('Ready')}`)
465
+ if (desktopHostPlatform() === 'linux-x64') {
466
+ console.log(' peach open <target> --headless Render it through the host')
467
+ return
468
+ }
458
469
  console.log(' peach desktop --native Launch the native desktop host')
459
470
  console.log(' peach open <target> --driver desktop Open a demo or bundle in it')
460
471
  }
@@ -64,6 +64,13 @@ const ownerPollMs = Number(process.env.SOOTSIM_PW_OWNER_POLL_MS || 5000);
64
64
  // bridge-driven sim can also be cpu-profiled (peach perf cpu --cdp-port).
65
65
  // playwright keeps its own pipe connection; the port is an additional endpoint.
66
66
  const cdpPort = process.env.SOOTSIM_PW_CDP_PORT || '';
67
+ // the native desktop host's standalone command (a JSON array). it attaches to
68
+ // this headless browser over CDP, composites the sim, and presents page frames
69
+ // only when a capture asks (specs/peach-desktop-host/headless.md).
70
+ const hostCommand = process.env.PEACH_PW_HOST_COMMAND ? JSON.parse(process.env.PEACH_PW_HOST_COMMAND) : null;
71
+ if (hostCommand && (!headless || !cdpPort)) {
72
+ throw new Error('[playwright-driver] the desktop host attaches only to a headless browser with a CDP port');
73
+ }
67
74
  // extra chromium launch args, space-separated. a linux GPU runner injects
68
75
  // '--use-angle=vulkan --enable-features=Vulkan' here so chrome binds the
69
76
  // real GPU instead of silently falling back to swiftshader software
@@ -97,7 +104,7 @@ const disposableBrowserCacheDirs = new Set(${JSON.stringify(
97
104
  DISPOSABLE_BROWSER_CACHE_DIR_NAMES,
98
105
  )});
99
106
  const { existsSync, mkdtempSync, readdirSync, rmSync, unlinkSync } = require('fs');
100
- const { execSync } = require('child_process');
107
+ const { execSync, spawn } = require('child_process');
101
108
  const { tmpdir } = require('os');
102
109
  const { join } = require('path');
103
110
  const createBrowserPointerDispatcher = ${createBrowserPointerDispatcher.toString()};
@@ -202,6 +209,47 @@ const cleanupProfile = () => {
202
209
  let ownerWatch = null;
203
210
  let connected = false;
204
211
  let shuttingDown = false;
212
+ let desktopHost = null;
213
+ const stopDesktopHost = async () => {
214
+ if (!desktopHost || desktopHost.exitCode !== null || desktopHost.signalCode !== null) return;
215
+ const exited = new Promise((resolve) => desktopHost.once('exit', resolve));
216
+ desktopHost.kill('SIGTERM');
217
+ await exited;
218
+ };
219
+ // the host's ready line follows its CDP auto-attach registration, so every
220
+ // page this browser opens afterwards is composited by it
221
+ const startDesktopHost = async () => {
222
+ const port = await new Promise((resolve, reject) => {
223
+ const server = require('net').createServer();
224
+ server.once('error', reject);
225
+ server.listen(0, '127.0.0.1', () => {
226
+ const { port } = server.address();
227
+ server.close(() => resolve(port));
228
+ });
229
+ });
230
+ desktopHost = spawn(
231
+ hostCommand[0],
232
+ [...hostCommand.slice(1), '--port', String(port), '--browser', 'http://127.0.0.1:' + cdpPort, '--headless'],
233
+ { stdio: ['ignore', 'ignore', 'pipe'] },
234
+ );
235
+ let log = '';
236
+ await new Promise((resolve, reject) => {
237
+ const timer = setTimeout(() => reject(new Error('[playwright-driver] desktop host did not start within 30s: ' + log)), 30000);
238
+ desktopHost.once('error', (error) => { clearTimeout(timer); reject(error); });
239
+ desktopHost.once('exit', (code) => { clearTimeout(timer); reject(new Error('[playwright-driver] desktop host exited during startup (' + code + '): ' + log)); });
240
+ desktopHost.stderr.on('data', (data) => {
241
+ process.stderr.write(data);
242
+ if (log.length < 65536) log += String(data);
243
+ if (log.includes('peach host on')) { clearTimeout(timer); resolve(); }
244
+ });
245
+ });
246
+ desktopHost.removeAllListeners('exit');
247
+ desktopHost.once('exit', (code) => {
248
+ process.stderr.write('[playwright-driver] desktop host exited (' + code + ')\\n');
249
+ void shutdown(3);
250
+ });
251
+ process.stderr.write('[playwright-driver] desktop host attached on ' + port + '\\n');
252
+ };
205
253
  const clearConnectTimer = () => {
206
254
  if (connectTimer) {
207
255
  clearTimeout(connectTimer);
@@ -284,6 +332,8 @@ const cleanupProfile = () => {
284
332
  if (keepAlive) clearInterval(keepAlive);
285
333
  if (ownerWatch) clearInterval(ownerWatch);
286
334
  const timeoutMs = Number.isFinite(closeTimeoutMs) && closeTimeoutMs > 0 ? closeTimeoutMs : 2500;
335
+ if (desktopHost) desktopHost.removeAllListeners('exit');
336
+ await bounded('desktop host stop', stopDesktopHost, timeoutMs);
287
337
  if (context) await bounded('context.close', () => context.close(), timeoutMs);
288
338
  await terminateBrowserProcess();
289
339
  // close() + root-SIGKILL above handle the graceful case; the helper tree
@@ -300,7 +350,11 @@ const cleanupProfile = () => {
300
350
  process.once('SIGINT', () => { void shutdown(0); });
301
351
  // the launch-failure path at the bottom of this script exits without going
302
352
  // through shutdown(); the exit hook (sync sweep) still reaps the tree.
303
- process.on('exit', () => { reapChrome(); cleanupProfile(); });
353
+ process.on('exit', () => {
354
+ if (desktopHost && desktopHost.exitCode === null) desktopHost.kill('SIGKILL');
355
+ reapChrome();
356
+ cleanupProfile();
357
+ });
304
358
  // owner-liveness watchdog — the load-bearing fix for leaked Chrome hosts.
305
359
  // we are spawned detached + unref'd so \`peach open\` returns immediately,
306
360
  // which means nothing in the OS process tree ties Chrome's lifetime to the
@@ -446,6 +500,7 @@ const cleanupProfile = () => {
446
500
  if (launchedChannel) {
447
501
  process.stderr.write('[playwright-driver] launched ' + launchedChannel + '\\n');
448
502
  }
503
+ if (hostCommand) await startDesktopHost();
449
504
  // grant camera up front so the sim's Camera app reaches the host webcam
450
505
  // through getUserMedia, mirroring a real iOS simulator where the camera just
451
506
  // works. without this the unhandled chrome permission prompt auto-denies and
@@ -505,6 +560,8 @@ const cleanupProfile = () => {
505
560
  });
506
561
  await context.exposeBinding('__sootsimHostCapture', async (source, value) => {
507
562
  const request = readBrowserCompositeCaptureRequest(value);
563
+ // a headless desktop host presents page frames only for a capture
564
+ if (desktopHost) await source.page.evaluate(() => window.__peachNative.prepareCapture());
508
565
  const session = await source.page.context().newCDPSession(source.page);
509
566
  try {
510
567
  const { clip, originX, originY } = resolveBrowserCompositeCdpClip(
@@ -14,9 +14,11 @@
14
14
 
15
15
  import { spawn } from 'child_process'
16
16
  import { closeSync, mkdtempSync, openSync, readFileSync } from 'fs'
17
+ import { createServer } from 'net'
17
18
  import { tmpdir } from 'os'
18
19
  import { join } from 'path'
19
20
  import { AUTOMATION_SIM_IDLE_REAP_TTL_MS } from '../../src/bridge-constants'
21
+ import { headlessHostCommand } from '../../src/desktop-host-delivery'
20
22
  import { playwrightHostLogName } from '../../src/playwright-host-log'
21
23
  import { ensureProfile, playwrightProfileUserDataDir } from '../../src/profiles'
22
24
  import { RNX_INTERNAL_CHILDREN, RNX_INTERNAL_COMMAND } from '../internal-child'
@@ -76,6 +78,21 @@ function resolveUserDataDir(opts: DriverLaunchOptions): string {
76
78
  return ''
77
79
  }
78
80
 
81
+ function freePort(): Promise<number> {
82
+ return new Promise((resolve, reject) => {
83
+ const server = createServer()
84
+ server.once('error', reject)
85
+ server.listen(0, '127.0.0.1', () => {
86
+ const address = server.address()
87
+ server.close(() =>
88
+ typeof address === 'object' && address
89
+ ? resolve(address.port)
90
+ : reject(new Error('no port assigned')),
91
+ )
92
+ })
93
+ })
94
+ }
95
+
79
96
  async function launch(opts: DriverLaunchOptions): Promise<DriverLaunchResult> {
80
97
  if (!opts.url) {
81
98
  return { launched: false, message: 'playwright driver requires a target url' }
@@ -135,11 +152,8 @@ async function launch(opts: DriverLaunchOptions): Promise<DriverLaunchResult> {
135
152
  // keep browser discovery, installation, and the detached host on one exact
136
153
  // cache contract even if another caller mutates process.env during launch.
137
154
  const playwrightEnv = { ...process.env }
138
- const provisioning = await ensurePlaywrightBrowser(
139
- resolved,
140
- opts.headless ?? true,
141
- playwrightEnv,
142
- )
155
+ const headless = opts.headless ?? true
156
+ const provisioning = await ensurePlaywrightBrowser(resolved, headless, playwrightEnv)
143
157
  if (!provisioning.ok) {
144
158
  return {
145
159
  launched: false,
@@ -147,6 +161,12 @@ async function launch(opts: DriverLaunchOptions): Promise<DriverLaunchResult> {
147
161
  }
148
162
  }
149
163
 
164
+ // a headless run attaches the installed standalone desktop host, which
165
+ // renders natively and lets the page present only on capture; the host
166
+ // reaches the browser over cdp, so it needs a debugging port.
167
+ const hostCommand = headless ? headlessHostCommand() : null
168
+ const cdpPort = opts.cdpPort ?? (hostCommand ? await freePort() : undefined)
169
+
150
170
  const errLog = join(tmpdir(), playwrightHostLogName(Date.now(), process.pid))
151
171
  const connectAckFile = `${errLog}.connected`
152
172
  const errFd = openSync(errLog, 'a')
@@ -172,9 +192,10 @@ async function launch(opts: DriverLaunchOptions): Promise<DriverLaunchResult> {
172
192
  SOOTSIM_PW_URL: targetUrl.href,
173
193
  PEACH_PW_FETCH_PROXY_SPKI: fetchProxySpki,
174
194
  SOOTSIM_PW_BRIDGE_PORT: opts.bridgePort ? String(opts.bridgePort) : '',
175
- SOOTSIM_PW_HEADLESS: (opts.headless ?? true) ? '1' : '0',
195
+ SOOTSIM_PW_HEADLESS: headless ? '1' : '0',
176
196
  SOOTSIM_PW_USERDATADIR: resolveUserDataDir(opts),
177
- SOOTSIM_PW_CDP_PORT: opts.cdpPort ? String(opts.cdpPort) : '',
197
+ SOOTSIM_PW_CDP_PORT: cdpPort ? String(cdpPort) : '',
198
+ PEACH_PW_HOST_COMMAND: hostCommand ? JSON.stringify(hostCommand) : '',
178
199
  // when the caller passed no viewport, leave the inherited
179
200
  // SOOTSIM_PW_VIEWPORT (from playwrightEnv) alone instead of
180
201
  // clobbering it with '' — the driver reads it as its own default.
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/beta.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/beta.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/beta.ts
4
4
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var SIM_LONG_PRESS_MAX_MS = 5e3;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var REFUSED_PERFORM_STEP_TYPES = [
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var RNX_CLOUD_MAX_ARTIFACT_BYTES = 20 * 1024 * 1024;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/cloud-test-args.ts
4
4
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1576,7 +1576,7 @@ var init_devices = __esm({
1576
1576
  statusRowCenter: 29.65,
1577
1577
  safeAreaInsets: { top: 59, bottom: 34, left: 0, right: 0 },
1578
1578
  iosVersion: "27.0",
1579
- keyboardPanelHeights: { qwerty: 301, pad: 301, emoji: 395 },
1579
+ keyboardPanelHeights: { qwerty: 301, pad: 302, emoji: 395 },
1580
1580
  physicalPPI: 460,
1581
1581
  hardwareButtons: modernButtons(
1582
1582
  [159.1, 31.5],
@@ -6764,13 +6764,18 @@ var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
6764
6764
  TikTokBusinessSDK: [],
6765
6765
  nSure: [],
6766
6766
  Statsig: [],
6767
+ RiveRuntime: ["MetalKit"],
6768
+ MetalKit: [],
6767
6769
  DatadogCore: [],
6768
6770
  DatadogLogs: ["DatadogCore"],
6769
6771
  DatadogRUM: ["DatadogCore"],
6770
6772
  DatadogTrace: ["DatadogCore"],
6771
6773
  AppLovinSDK: [],
6772
6774
  AppsFlyerLib: [],
6773
- FBSDKCoreKit: [],
6775
+ FBSDKCoreKit: ["FBAEMKit", "FBSDKCoreKit_Basics"],
6776
+ FBAEMKit: ["FBSDKCoreKit_Basics"],
6777
+ FBSDKCoreKit_Basics: [],
6778
+ Intercom: [],
6774
6779
  FBAudienceNetwork: []
6775
6780
  };
6776
6781
  var OPTIONAL_FRAMEWORKS = new Set(Object.keys(OPTIONAL_FRAMEWORK_DEPENDENCIES));
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/host/fetch-proxy-overrides.ts
4
4
  var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/dist-lib/menu.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/menu.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/public-brand.ts
4
4
  var name = "Peach";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/is-record.ts
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/metro-production-bundle.ts
4
4
  var RNXSIM_METRO_MODULE_PATHS_PREFIX = "globalThis.__sootsimModulePaths=";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.772 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/native-app-identity.ts
4
4
  var NATIVE_APP_IDENTITY_PREFIX = "globalThis.__sootsimNativeAppIdentity=";