rnxsim 0.1.379 → 0.1.381

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 (48) hide show
  1. package/README.md +22 -18
  2. package/cli/commands/cpu-profile.ts +556 -50
  3. package/cli/commands/perf.ts +1 -0
  4. package/cli/commands/upload.ts +7 -1
  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/cli-constants.cjs +1 -1
  20. package/dist-lib/config.cjs +1 -1
  21. package/dist-lib/detox/index.cjs +1 -1
  22. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  23. package/dist-lib/home-paths.cjs +1 -1
  24. package/dist-lib/host/bridge-host.cjs +1 -1
  25. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  26. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  27. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  28. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  29. package/dist-lib/host/websocket-proxy.cjs +1 -1
  30. package/dist-lib/index.cjs +1 -1
  31. package/dist-lib/jump-to-source-babel.cjs +1 -1
  32. package/dist-lib/menu.cjs +1 -1
  33. package/dist-lib/menu.mjs +1 -1
  34. package/dist-lib/metro-production-bundle.cjs +1 -1
  35. package/dist-lib/metro-production-bundle.mjs +1 -1
  36. package/dist-lib/metro.cjs +1 -1
  37. package/dist-lib/profiles.cjs +1 -1
  38. package/dist-lib/public-brand.cjs +1 -1
  39. package/dist-lib/react-native-host-modules.cjs +1 -1
  40. package/dist-lib/react-native-host-modules.mjs +1 -1
  41. package/dist-lib/render-mode.cjs +1 -1
  42. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  43. package/dist-lib/sdk.cjs +1 -1
  44. package/dist-lib/sdk.mjs +1 -1
  45. package/dist-lib/skills.cjs +7 -7
  46. package/dist-lib/vite.cjs +1 -1
  47. package/package.json +2 -2
  48. package/skills/rnx-perf/SKILL.md +68 -2
package/README.md CHANGED
@@ -1,21 +1,25 @@
1
1
  # rnx
2
2
 
3
- The public, publishable face of rnx: a CLI, two pairs of bundler plugins, a
4
- Detox/Maestro test surface, and a skills registry for driving a browser-native
5
- React Native simulator.
3
+ The source owner for the standalone `rnx` executable and the public `rnxsim`
4
+ integration library used to drive a browser-native React Native simulator.
6
5
 
7
6
  ## Overview
8
7
 
9
- `rnxsim` is everything you install to *talk to* an rnx instance — it
10
- contains **no rendering code**. The canvas engine (CanvasKit renderer, Yoga
11
- layout, iOS/Android shell chrome, Electron shell) lives in the private
12
- `sootsim-engine` workspace package and is shipped at runtime as a versioned
13
- tarball, fetched from the contrast.dev CDN and unpacked into `~/.rnx`.
8
+ The CLI and library are separate public artifacts. The recommended installer
9
+ downloads one Bun-compiled `rnx` executable that needs no Node.js, npm, or Bun
10
+ installation. The `rnxsim` npm package contains bundler plugins, testing
11
+ drivers, and library exports, with no command-line binary.
14
12
 
15
- What this package gives you:
13
+ Neither artifact contains rendering code. The canvas engine (CanvasKit
14
+ renderer, Yoga layout, iOS/Android shell chrome, Electron shell) lives in the
15
+ private `sootsim-engine` workspace package and is shipped at runtime as a
16
+ versioned tarball, fetched from the contrast.dev CDN and unpacked into `~/.rnx`.
16
17
 
17
- - the `rnx` CLI — the primary debugging and automation surface (inspect the
18
- UI tree, tap elements, capture flows, screenshot, record, run agents)
18
+ What this workspace gives you:
19
+
20
+ - the standalone `rnx` CLI source and binary build, which provides the primary
21
+ debugging and automation surface (inspect the UI tree, tap elements, capture
22
+ flows, screenshot, record, run agents)
19
23
  - `rnxsim/vite` and `rnxsim/metro` — bundler plugins that serve the installed
20
24
  engine runtime from your own dev server
21
25
  - `rnxsim/jump-to-source-babel` — an optional Babel plugin that annotates JSX
@@ -33,14 +37,14 @@ chrome, gesture + three-button nav, system UI/window metrics with cutout-safe
33
37
  insets) but is not full parity until the Android launch gates in the Contrast
34
38
  repo plan pass.
35
39
 
36
- ## What's in this package (and what's not)
40
+ ## What's in each distribution
37
41
 
38
- | in `rnxsim` | in `sootsim-engine` (private, not published) |
39
- | --- | --- |
40
- | CLI, bridge client, drivers | CanvasKit renderer, Yoga layout |
41
- | bridge daemon host (`SootSimBridgeHost`) | iOS/Android shell chrome, home grid, app switcher |
42
- | vite/metro plugins, RN resolver, native stubs | Electron shell, wasm |
43
- | Detox/Maestro runners, screenshots, skills | the actual pixels |
42
+ | standalone `rnx` executable | `rnxsim` npm package | private engine runtime |
43
+ | --- | --- | --- |
44
+ | CLI commands and bridge client | Vite and Metro plugins | CanvasKit renderer and Yoga layout |
45
+ | bridge daemon host | SDK and bridge contracts | iOS/Android shell chrome, home grid, app switcher |
46
+ | runtime, browser, and desktop launchers | Detox driver and Jest preset | Electron shell and wasm |
47
+ | Maestro, screenshots, recording, skills | native-resolution helpers and skills registry | the actual pixels |
44
48
 
45
49
  The engine is delivered at runtime, never bundled into this package. A
46
50
  committed-but-unbuilt engine fix has no effect on a running sim until the