rnxsim 0.1.490 → 0.1.492
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/app-state-reset.ts +11 -9
- package/cli/cloud-client.ts +43 -7
- package/cli/command-registry.ts +3 -0
- package/cli/commands/detox.ts +41 -11
- package/cli/commands/flow.ts +2 -1
- package/cli/commands/maestro.ts +30 -0
- package/cli/commands/platform.ts +15 -0
- package/cli/commands/preview.ts +104 -0
- package/cli/commands/test.ts +224 -0
- package/cli/main.ts +34 -0
- package/cli/outbound-endpoints.ts +5 -2
- 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/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cli-constants.cjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.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/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 +22 -8
- 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/jump-to-source-native.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 +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 +22 -8
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/skills/contrast/SKILL.md +3 -0
- package/src/bridge-contract.ts +4 -5
package/skills/contrast/SKILL.md
CHANGED
|
@@ -19,6 +19,7 @@ automation, inspecting the render tree, and managing sims.
|
|
|
19
19
|
|
|
20
20
|
| command | description |
|
|
21
21
|
| --- | --- |
|
|
22
|
+
| `rnx test` | run a Maestro flow or Detox suite against an rnx app bundle |
|
|
22
23
|
| `rnx maestro` | author, generate, and run Maestro YAML flows against rnx |
|
|
23
24
|
| `rnx detox` | run existing Detox suites against rnx on headless Chromium |
|
|
24
25
|
| `rnx cleanup` | inspect and reclaim local rnx disk usage |
|
|
@@ -45,7 +46,9 @@ automation, inspecting the render tree, and managing sims.
|
|
|
45
46
|
| `rnx box` | start a local Box or create a cloud Box |
|
|
46
47
|
| `rnx ios` | start an iOS simulator |
|
|
47
48
|
| `rnx android` | start an Android simulator |
|
|
49
|
+
| `rnx remote` | run a prebuilt bundle on a remote simulator |
|
|
48
50
|
| `rnx open` | load a target into the current sim or open a new one |
|
|
51
|
+
| `rnx preview` | publish a prebuilt bundle as a standalone preview |
|
|
49
52
|
| `rnx list` | list connected sims or available launch drivers |
|
|
50
53
|
| `rnx use` | select a connected sim |
|
|
51
54
|
| `rnx skill` | install and inspect bundled rnx agent skills |
|
package/src/bridge-contract.ts
CHANGED
|
@@ -12,6 +12,7 @@ import type {
|
|
|
12
12
|
SootSimAgentActionDetail,
|
|
13
13
|
SootSimCaptureFilter,
|
|
14
14
|
SootSimExternalAppLifecycleOptions,
|
|
15
|
+
SootSimStorageResetStrategy,
|
|
15
16
|
} from '@rnx/globals'
|
|
16
17
|
|
|
17
18
|
export type BridgeCommandType =
|
|
@@ -387,11 +388,9 @@ export interface SimSemanticResolveResult {
|
|
|
387
388
|
// MMKV, sqlite, cache dirs. 'full' also clears what only a fresh install would:
|
|
388
389
|
// simulated keychain, user defaults, granted permissions.
|
|
389
390
|
//
|
|
390
|
-
//
|
|
391
|
-
//
|
|
392
|
-
|
|
393
|
-
// claiming the fast path.
|
|
394
|
-
export type ResetStrategy = 'data' | 'full'
|
|
391
|
+
// reset replaces the tenant worker before clearing storage, so background app
|
|
392
|
+
// work cannot refill a store between its clear and verification.
|
|
393
|
+
export type ResetStrategy = SootSimStorageResetStrategy
|
|
395
394
|
|
|
396
395
|
export interface ResetOptions extends Pick<
|
|
397
396
|
SootSimExternalAppLifecycleOptions,
|