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.
- package/README.md +22 -18
- package/cli/commands/cpu-profile.ts +556 -50
- package/cli/commands/perf.ts +1 -0
- package/cli/commands/upload.ts +7 -1
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/agent-identity.cjs +1 -1
- package/dist-lib/agent-sessions.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/cli-constants.cjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- 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 +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 +1 -1
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.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 +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/render-mode.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +7 -7
- package/dist-lib/vite.cjs +1 -1
- package/package.json +2 -2
- package/skills/rnx-perf/SKILL.md +68 -2
package/README.md
CHANGED
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
# rnx
|
|
2
2
|
|
|
3
|
-
The
|
|
4
|
-
|
|
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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
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
|
-
|
|
18
|
-
|
|
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
|
|
40
|
+
## What's in each distribution
|
|
37
41
|
|
|
38
|
-
|
|
|
39
|
-
| --- | --- |
|
|
40
|
-
| CLI
|
|
41
|
-
| bridge daemon host
|
|
42
|
-
|
|
|
43
|
-
|
|
|
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
|