rnxsim 0.1.418 → 0.1.419
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/commands/inspect/core.ts +23 -14
- package/cli/commands/inspect/wait-ready.ts +2 -0
- package/cli/self-invocation.ts +2 -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 +7 -1
- package/dist-lib/bridge-contract.mjs +5 -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/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 +8 -3
- 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-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 +6 -3
- package/dist-lib/sdk.mjs +6 -3
- package/dist-lib/skills.cjs +8 -3
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/src/bridge-contract.ts +3 -0
- package/src/host/bridge-host.ts +1 -1
- package/src/host/plane-host.ts +1 -1
- package/src/native-dev-bundle-url.ts +1 -1
- package/src/vite-plugin.ts +1 -1
|
@@ -11,7 +11,11 @@
|
|
|
11
11
|
// dependency is the `InspectBridge.send` seam below, which both transports
|
|
12
12
|
// satisfy (the CLI's `WsBridge` already has a matching `send`).
|
|
13
13
|
|
|
14
|
-
import
|
|
14
|
+
import {
|
|
15
|
+
HEADLESS_TENANT_FETCH_HUNG_MARKER,
|
|
16
|
+
PUBLIC_NO_NETWORK_MARKER,
|
|
17
|
+
type SemanticWaitResult,
|
|
18
|
+
} from '../../../src/bridge-contract'
|
|
15
19
|
export {
|
|
16
20
|
readyProbeHasContent,
|
|
17
21
|
readyProbeHasTargetContent,
|
|
@@ -1028,6 +1032,7 @@ export function waitReadyReason(
|
|
|
1028
1032
|
| 'externalError'
|
|
1029
1033
|
| 'loadingText'
|
|
1030
1034
|
| 'externalReady'
|
|
1035
|
+
| 'externalStatus'
|
|
1031
1036
|
| 'flag'
|
|
1032
1037
|
| 'targets'
|
|
1033
1038
|
| 'suppressedEntryError'
|
|
@@ -1035,26 +1040,30 @@ export function waitReadyReason(
|
|
|
1035
1040
|
): string {
|
|
1036
1041
|
if (status.bridgeError) {
|
|
1037
1042
|
if (
|
|
1038
|
-
status.bridgeError.includes(
|
|
1039
|
-
status.bridgeError.includes(
|
|
1043
|
+
status.bridgeError.includes(HEADLESS_TENANT_FETCH_HUNG_MARKER) ||
|
|
1044
|
+
status.bridgeError.includes(PUBLIC_NO_NETWORK_MARKER)
|
|
1040
1045
|
) {
|
|
1041
1046
|
return status.bridgeError
|
|
1042
1047
|
}
|
|
1043
1048
|
return `sim unreachable: ${status.bridgeError} — the target tab is closed or no sim is connected (check \`rnx list\`, reopen with \`rnx open\`)`
|
|
1044
1049
|
}
|
|
1050
|
+
const waitingOnGuestFetch =
|
|
1051
|
+
status.externalReady === false && /https?:\/\//.test(status.externalStatus)
|
|
1045
1052
|
const base = status.externalError
|
|
1046
1053
|
? `guest app errored: ${status.externalError}`
|
|
1047
|
-
:
|
|
1048
|
-
? `
|
|
1049
|
-
: status.
|
|
1050
|
-
?
|
|
1051
|
-
: status.
|
|
1052
|
-
? '
|
|
1053
|
-
: status.flag !== true
|
|
1054
|
-
? '
|
|
1055
|
-
: status.
|
|
1056
|
-
? '
|
|
1057
|
-
:
|
|
1054
|
+
: waitingOnGuestFetch
|
|
1055
|
+
? `waiting on a guest fetch: ${status.externalStatus}`
|
|
1056
|
+
: status.loadingText
|
|
1057
|
+
? `still showing "${status.loadingText}"`
|
|
1058
|
+
: status.externalReady === false
|
|
1059
|
+
? 'guest app is still loading'
|
|
1060
|
+
: status.flag !== true && status.targets > 0
|
|
1061
|
+
? 'native content is rendered but the ready signal has not settled'
|
|
1062
|
+
: status.flag !== true
|
|
1063
|
+
? 'guest app has not emitted sootsim:externalAppReady'
|
|
1064
|
+
: status.targets <= 0
|
|
1065
|
+
? 'ready flag emitted but no visible app content is inspectable yet'
|
|
1066
|
+
: 'node tree is still changing'
|
|
1058
1067
|
// suppressed entry errors never gate readiness, but on a stall they are
|
|
1059
1068
|
// often the actual diagnosis — surface them as a hint.
|
|
1060
1069
|
return !status.externalError && status.suppressedEntryError
|
|
@@ -28,6 +28,7 @@ export async function runWaitReadySubcommand(opts: {
|
|
|
28
28
|
flag,
|
|
29
29
|
loadingText,
|
|
30
30
|
externalReady,
|
|
31
|
+
externalStatus,
|
|
31
32
|
externalError,
|
|
32
33
|
suppressedEntryError,
|
|
33
34
|
errors,
|
|
@@ -73,6 +74,7 @@ export async function runWaitReadySubcommand(opts: {
|
|
|
73
74
|
externalError,
|
|
74
75
|
loadingText,
|
|
75
76
|
externalReady,
|
|
77
|
+
externalStatus,
|
|
76
78
|
flag,
|
|
77
79
|
targets,
|
|
78
80
|
suppressedEntryError,
|
package/cli/self-invocation.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
// re-invoked itself as `rnx <bunfs path> <command>` and the child died on
|
|
15
15
|
// `unknown command`. the build-time constant is the only honest signal.
|
|
16
16
|
|
|
17
|
-
import { rnxPublicBrand } from '../src/public-brand'
|
|
18
|
-
import { IS_STANDALONE } from './standalone'
|
|
17
|
+
import { rnxPublicBrand } from '../src/public-brand.ts'
|
|
18
|
+
import { IS_STANDALONE } from './standalone.ts'
|
|
19
19
|
|
|
20
20
|
export interface RnxSelfInvocation {
|
|
21
21
|
/** absolute path to spawn. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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;
|
|
@@ -22,6 +22,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
22
22
|
// src/bridge-contract.ts
|
|
23
23
|
var bridge_contract_exports = {};
|
|
24
24
|
__export(bridge_contract_exports, {
|
|
25
|
+
HEADLESS_TENANT_FETCH_HUNG_MARKER: () => HEADLESS_TENANT_FETCH_HUNG_MARKER,
|
|
26
|
+
PUBLIC_NO_NETWORK_MARKER: () => PUBLIC_NO_NETWORK_MARKER,
|
|
25
27
|
SEMANTIC_READY_CONTENT_NODE_FLOOR: () => SEMANTIC_READY_CONTENT_NODE_FLOOR,
|
|
26
28
|
SEMANTIC_READY_NODE_STABLE_MS: () => SEMANTIC_READY_NODE_STABLE_MS,
|
|
27
29
|
SEMANTIC_READY_POLL_MS: () => SEMANTIC_READY_POLL_MS,
|
|
@@ -36,6 +38,8 @@ var SIM_LONG_PRESS_MAX_MS = 5e3;
|
|
|
36
38
|
var SEMANTIC_READY_CONTENT_NODE_FLOOR = 100;
|
|
37
39
|
var SEMANTIC_READY_NODE_STABLE_MS = 750;
|
|
38
40
|
var SEMANTIC_READY_POLL_MS = 150;
|
|
41
|
+
var PUBLIC_NO_NETWORK_MARKER = "public RNX Cloud simulators have no network";
|
|
42
|
+
var HEADLESS_TENANT_FETCH_HUNG_MARKER = "headless tenant fetch hung";
|
|
39
43
|
function readyProbeHasContent(probe) {
|
|
40
44
|
return probe.liveFrameActive || probe.targets > 0 || probe.nodes >= SEMANTIC_READY_CONTENT_NODE_FLOOR;
|
|
41
45
|
}
|
|
@@ -44,6 +48,8 @@ function readyProbeHasTargetContent(probe) {
|
|
|
44
48
|
}
|
|
45
49
|
// Annotate the CommonJS export names for ESM import in node:
|
|
46
50
|
0 && (module.exports = {
|
|
51
|
+
HEADLESS_TENANT_FETCH_HUNG_MARKER,
|
|
52
|
+
PUBLIC_NO_NETWORK_MARKER,
|
|
47
53
|
SEMANTIC_READY_CONTENT_NODE_FLOOR,
|
|
48
54
|
SEMANTIC_READY_NODE_STABLE_MS,
|
|
49
55
|
SEMANTIC_READY_POLL_MS,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/bridge-contract.ts
|
|
4
4
|
var SIM_LONG_PRESS_DEFAULT_MS = 500;
|
|
@@ -6,6 +6,8 @@ var SIM_LONG_PRESS_MAX_MS = 5e3;
|
|
|
6
6
|
var SEMANTIC_READY_CONTENT_NODE_FLOOR = 100;
|
|
7
7
|
var SEMANTIC_READY_NODE_STABLE_MS = 750;
|
|
8
8
|
var SEMANTIC_READY_POLL_MS = 150;
|
|
9
|
+
var PUBLIC_NO_NETWORK_MARKER = "public RNX Cloud simulators have no network";
|
|
10
|
+
var HEADLESS_TENANT_FETCH_HUNG_MARKER = "headless tenant fetch hung";
|
|
9
11
|
function readyProbeHasContent(probe) {
|
|
10
12
|
return probe.liveFrameActive || probe.targets > 0 || probe.nodes >= SEMANTIC_READY_CONTENT_NODE_FLOOR;
|
|
11
13
|
}
|
|
@@ -13,6 +15,8 @@ function readyProbeHasTargetContent(probe) {
|
|
|
13
15
|
return probe.liveFrameActive || probe.targets > 0;
|
|
14
16
|
}
|
|
15
17
|
export {
|
|
18
|
+
HEADLESS_TENANT_FETCH_HUNG_MARKER,
|
|
19
|
+
PUBLIC_NO_NETWORK_MARKER,
|
|
16
20
|
SEMANTIC_READY_CONTENT_NODE_FLOOR,
|
|
17
21
|
SEMANTIC_READY_NODE_STABLE_MS,
|
|
18
22
|
SEMANTIC_READY_POLL_MS,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (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/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/host/fetch-proxy-overrides.ts
|
|
4
4
|
var FETCH_PROXY_BROWSER_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (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;
|
|
@@ -850,6 +850,10 @@ function createBridge(wsPort, opts = {}) {
|
|
|
850
850
|
};
|
|
851
851
|
}
|
|
852
852
|
|
|
853
|
+
// src/bridge-contract.ts
|
|
854
|
+
var PUBLIC_NO_NETWORK_MARKER = "public RNX Cloud simulators have no network";
|
|
855
|
+
var HEADLESS_TENANT_FETCH_HUNG_MARKER = "headless tenant fetch hung";
|
|
856
|
+
|
|
853
857
|
// cli/commands/inspect/core.ts
|
|
854
858
|
async function inspectTree(bridge, depth = 5) {
|
|
855
859
|
const result = await bridge.send({
|
|
@@ -1315,12 +1319,13 @@ async function inspectFind(bridge, q) {
|
|
|
1315
1319
|
}
|
|
1316
1320
|
function waitReadyReason(status) {
|
|
1317
1321
|
if (status.bridgeError) {
|
|
1318
|
-
if (status.bridgeError.includes(
|
|
1322
|
+
if (status.bridgeError.includes(HEADLESS_TENANT_FETCH_HUNG_MARKER) || status.bridgeError.includes(PUBLIC_NO_NETWORK_MARKER)) {
|
|
1319
1323
|
return status.bridgeError;
|
|
1320
1324
|
}
|
|
1321
1325
|
return `sim unreachable: ${status.bridgeError} \u2014 the target tab is closed or no sim is connected (check \`rnx list\`, reopen with \`rnx open\`)`;
|
|
1322
1326
|
}
|
|
1323
|
-
const
|
|
1327
|
+
const waitingOnGuestFetch = status.externalReady === false && /https?:\/\//.test(status.externalStatus);
|
|
1328
|
+
const base = status.externalError ? `guest app errored: ${status.externalError}` : waitingOnGuestFetch ? `waiting on a guest fetch: ${status.externalStatus}` : status.loadingText ? `still showing "${status.loadingText}"` : status.externalReady === false ? "guest app is still loading" : status.flag !== true && status.targets > 0 ? "native content is rendered but the ready signal has not settled" : status.flag !== true ? "guest app has not emitted sootsim:externalAppReady" : status.targets <= 0 ? "ready flag emitted but no visible app content is inspectable yet" : "node tree is still changing";
|
|
1324
1329
|
return !status.externalError && status.suppressedEntryError ? `${base} (suppressed entry error: ${status.suppressedEntryError})` : base;
|
|
1325
1330
|
}
|
|
1326
1331
|
async function inspectWaitReady(bridge, timeoutMs = 2e4, options = {}) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (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.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (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/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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/render-mode.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (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.
|
|
1
|
+
/*! rnx v0.1.419 | (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/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (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;
|
|
@@ -100,6 +100,8 @@ module.exports = __toCommonJS(sdk_exports);
|
|
|
100
100
|
|
|
101
101
|
// src/bridge-contract.ts
|
|
102
102
|
var SEMANTIC_READY_CONTENT_NODE_FLOOR = 100;
|
|
103
|
+
var PUBLIC_NO_NETWORK_MARKER = "public RNX Cloud simulators have no network";
|
|
104
|
+
var HEADLESS_TENANT_FETCH_HUNG_MARKER = "headless tenant fetch hung";
|
|
103
105
|
function readyProbeHasContent(probe) {
|
|
104
106
|
return probe.liveFrameActive || probe.targets > 0 || probe.nodes >= SEMANTIC_READY_CONTENT_NODE_FLOOR;
|
|
105
107
|
}
|
|
@@ -723,12 +725,13 @@ function shellEscape(value) {
|
|
|
723
725
|
}
|
|
724
726
|
function waitReadyReason(status) {
|
|
725
727
|
if (status.bridgeError) {
|
|
726
|
-
if (status.bridgeError.includes(
|
|
728
|
+
if (status.bridgeError.includes(HEADLESS_TENANT_FETCH_HUNG_MARKER) || status.bridgeError.includes(PUBLIC_NO_NETWORK_MARKER)) {
|
|
727
729
|
return status.bridgeError;
|
|
728
730
|
}
|
|
729
731
|
return `sim unreachable: ${status.bridgeError} \u2014 the target tab is closed or no sim is connected (check \`rnx list\`, reopen with \`rnx open\`)`;
|
|
730
732
|
}
|
|
731
|
-
const
|
|
733
|
+
const waitingOnGuestFetch = status.externalReady === false && /https?:\/\//.test(status.externalStatus);
|
|
734
|
+
const base = status.externalError ? `guest app errored: ${status.externalError}` : waitingOnGuestFetch ? `waiting on a guest fetch: ${status.externalStatus}` : status.loadingText ? `still showing "${status.loadingText}"` : status.externalReady === false ? "guest app is still loading" : status.flag !== true && status.targets > 0 ? "native content is rendered but the ready signal has not settled" : status.flag !== true ? "guest app has not emitted sootsim:externalAppReady" : status.targets <= 0 ? "ready flag emitted but no visible app content is inspectable yet" : "node tree is still changing";
|
|
732
735
|
return !status.externalError && status.suppressedEntryError ? `${base} (suppressed entry error: ${status.suppressedEntryError})` : base;
|
|
733
736
|
}
|
|
734
737
|
async function inspectWaitReady(bridge, timeoutMs = 2e4, options = {}) {
|
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (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);
|
|
5
5
|
|
|
6
6
|
// src/bridge-contract.ts
|
|
7
7
|
var SEMANTIC_READY_CONTENT_NODE_FLOOR = 100;
|
|
8
|
+
var PUBLIC_NO_NETWORK_MARKER = "public RNX Cloud simulators have no network";
|
|
9
|
+
var HEADLESS_TENANT_FETCH_HUNG_MARKER = "headless tenant fetch hung";
|
|
8
10
|
function readyProbeHasContent(probe) {
|
|
9
11
|
return probe.liveFrameActive || probe.targets > 0 || probe.nodes >= SEMANTIC_READY_CONTENT_NODE_FLOOR;
|
|
10
12
|
}
|
|
@@ -628,12 +630,13 @@ function shellEscape(value) {
|
|
|
628
630
|
}
|
|
629
631
|
function waitReadyReason(status) {
|
|
630
632
|
if (status.bridgeError) {
|
|
631
|
-
if (status.bridgeError.includes(
|
|
633
|
+
if (status.bridgeError.includes(HEADLESS_TENANT_FETCH_HUNG_MARKER) || status.bridgeError.includes(PUBLIC_NO_NETWORK_MARKER)) {
|
|
632
634
|
return status.bridgeError;
|
|
633
635
|
}
|
|
634
636
|
return `sim unreachable: ${status.bridgeError} \u2014 the target tab is closed or no sim is connected (check \`rnx list\`, reopen with \`rnx open\`)`;
|
|
635
637
|
}
|
|
636
|
-
const
|
|
638
|
+
const waitingOnGuestFetch = status.externalReady === false && /https?:\/\//.test(status.externalStatus);
|
|
639
|
+
const base = status.externalError ? `guest app errored: ${status.externalError}` : waitingOnGuestFetch ? `waiting on a guest fetch: ${status.externalStatus}` : status.loadingText ? `still showing "${status.loadingText}"` : status.externalReady === false ? "guest app is still loading" : status.flag !== true && status.targets > 0 ? "native content is rendered but the ready signal has not settled" : status.flag !== true ? "guest app has not emitted sootsim:externalAppReady" : status.targets <= 0 ? "ready flag emitted but no visible app content is inspectable yet" : "node tree is still changing";
|
|
637
640
|
return !status.externalError && status.suppressedEntryError ? `${base} (suppressed entry error: ${status.suppressedEntryError})` : base;
|
|
638
641
|
}
|
|
639
642
|
async function inspectWaitReady(bridge, timeoutMs = 2e4, options = {}) {
|
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (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;
|
|
@@ -23324,9 +23324,12 @@ var init_app_splash = __esm({
|
|
|
23324
23324
|
});
|
|
23325
23325
|
|
|
23326
23326
|
// src/bridge-contract.ts
|
|
23327
|
+
var PUBLIC_NO_NETWORK_MARKER, HEADLESS_TENANT_FETCH_HUNG_MARKER;
|
|
23327
23328
|
var init_bridge_contract = __esm({
|
|
23328
23329
|
"src/bridge-contract.ts"() {
|
|
23329
23330
|
"use strict";
|
|
23331
|
+
PUBLIC_NO_NETWORK_MARKER = "public RNX Cloud simulators have no network";
|
|
23332
|
+
HEADLESS_TENANT_FETCH_HUNG_MARKER = "headless tenant fetch hung";
|
|
23330
23333
|
}
|
|
23331
23334
|
});
|
|
23332
23335
|
|
|
@@ -23707,12 +23710,13 @@ function layoutGetNativeEval(opts = {}) {
|
|
|
23707
23710
|
}
|
|
23708
23711
|
function waitReadyReason(status) {
|
|
23709
23712
|
if (status.bridgeError) {
|
|
23710
|
-
if (status.bridgeError.includes(
|
|
23713
|
+
if (status.bridgeError.includes(HEADLESS_TENANT_FETCH_HUNG_MARKER) || status.bridgeError.includes(PUBLIC_NO_NETWORK_MARKER)) {
|
|
23711
23714
|
return status.bridgeError;
|
|
23712
23715
|
}
|
|
23713
23716
|
return `sim unreachable: ${status.bridgeError} \u2014 the target tab is closed or no sim is connected (check \`rnx list\`, reopen with \`rnx open\`)`;
|
|
23714
23717
|
}
|
|
23715
|
-
const
|
|
23718
|
+
const waitingOnGuestFetch = status.externalReady === false && /https?:\/\//.test(status.externalStatus);
|
|
23719
|
+
const base = status.externalError ? `guest app errored: ${status.externalError}` : waitingOnGuestFetch ? `waiting on a guest fetch: ${status.externalStatus}` : status.loadingText ? `still showing "${status.loadingText}"` : status.externalReady === false ? "guest app is still loading" : status.flag !== true && status.targets > 0 ? "native content is rendered but the ready signal has not settled" : status.flag !== true ? "guest app has not emitted sootsim:externalAppReady" : status.targets <= 0 ? "ready flag emitted but no visible app content is inspectable yet" : "node tree is still changing";
|
|
23716
23720
|
return !status.externalError && status.suppressedEntryError ? `${base} (suppressed entry error: ${status.suppressedEntryError})` : base;
|
|
23717
23721
|
}
|
|
23718
23722
|
async function inspectWaitReady(bridge, timeoutMs = 2e4, options = {}) {
|
|
@@ -23817,6 +23821,7 @@ var init_core = __esm({
|
|
|
23817
23821
|
"cli/commands/inspect/core.ts"() {
|
|
23818
23822
|
"use strict";
|
|
23819
23823
|
init_bridge_contract();
|
|
23824
|
+
init_bridge_contract();
|
|
23820
23825
|
LAYOUT_GET_NATIVE_EVAL = layoutGetNativeEval();
|
|
23821
23826
|
MERGED_CONSOLE_COUNT_EVAL = `(() => {
|
|
23822
23827
|
const norm = (s) => (typeof s === 'string' ? s : (() => { try { return JSON.stringify(s) } catch { return String(s) } })())
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.419 | (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/package.json
CHANGED
package/src/bridge-contract.ts
CHANGED
|
@@ -231,6 +231,9 @@ export const SEMANTIC_READY_CONTENT_NODE_FLOOR = 100
|
|
|
231
231
|
export const SEMANTIC_READY_NODE_STABLE_MS = 750
|
|
232
232
|
export const SEMANTIC_READY_POLL_MS = 150
|
|
233
233
|
|
|
234
|
+
export const PUBLIC_NO_NETWORK_MARKER = 'public RNX Cloud simulators have no network'
|
|
235
|
+
export const HEADLESS_TENANT_FETCH_HUNG_MARKER = 'headless tenant fetch hung'
|
|
236
|
+
|
|
234
237
|
export function readyProbeHasContent(
|
|
235
238
|
probe: Pick<SemanticReadyProbe, 'nodes' | 'targets'> &
|
|
236
239
|
Partial<Pick<SemanticReadyProbe, 'liveFrameActive'>>,
|
package/src/host/bridge-host.ts
CHANGED
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
isFetchProxyRequestUrl,
|
|
50
50
|
} from './fetch-proxy-handler.ts'
|
|
51
51
|
import { openUrl as openUrlInBrowser, type OpenUrlOptions } from './open-url.ts'
|
|
52
|
-
import { PlaneHost } from './plane-host'
|
|
52
|
+
import { PlaneHost } from './plane-host.ts'
|
|
53
53
|
import {
|
|
54
54
|
handleReplacementModuleRequest,
|
|
55
55
|
isReplacementModuleRequestUrl,
|
package/src/host/plane-host.ts
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import fs from 'node:fs'
|
|
19
19
|
import path from 'node:path'
|
|
20
20
|
import { dispatchPlaneCommand, indexVersion } from '@rnx/box/plane'
|
|
21
|
-
import { CheckoutFilePlane } from '../../cli/commands/box/checkout-plane'
|
|
21
|
+
import { CheckoutFilePlane } from '../../cli/commands/box/checkout-plane.ts'
|
|
22
22
|
import type { ProjectFilePlane } from '@rnx/box/plane'
|
|
23
23
|
import type { WebSocket } from 'ws'
|
|
24
24
|
|
package/src/vite-plugin.ts
CHANGED
|
@@ -511,7 +511,7 @@ export function workerBootChunkPlugin(closures: WorkerBootClosure[]): Plugin {
|
|
|
511
511
|
},
|
|
512
512
|
outputOptions(options) {
|
|
513
513
|
if (!closure) return null
|
|
514
|
-
return { ...options,
|
|
514
|
+
return { ...options, codeSplitting: false }
|
|
515
515
|
},
|
|
516
516
|
generateBundle(_options, bundle) {
|
|
517
517
|
if (!closure) return
|