peachsim 0.1.527 → 0.1.571
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 +28 -28
- package/cli/app-fonts.ts +1 -1
- package/cli/app-splash.ts +1 -1
- package/cli/bin.ts +1 -1
- package/cli/bridge-diagnostics.ts +1 -1
- package/cli/bridge-flow-runner.ts +72 -12
- package/cli/cloud-client.ts +273 -6
- package/cli/cloud-dispatch.ts +23 -2
- package/cli/cloud-session.ts +60 -4
- package/cli/cloud-test-result-files.ts +97 -0
- package/cli/cloud-test-tunnel.ts +354 -0
- package/cli/commands/box/bundle-plane.ts +2 -2
- package/cli/commands/box/checkout-plane.ts +1 -1
- package/cli/commands/box/rnx-command.ts +2 -2
- package/cli/commands/box/search-command.ts +2 -2
- package/cli/commands/box.ts +8 -8
- package/cli/commands/compat.ts +1 -1
- package/cli/commands/control.ts +22 -3
- package/cli/commands/detox.ts +1 -1
- package/cli/commands/device.ts +1 -1
- package/cli/commands/diagnose.ts +1 -1
- package/cli/commands/film.ts +1 -1
- package/cli/commands/flow.ts +60 -3
- package/cli/commands/inspect/actions.ts +1 -1
- package/cli/commands/inspect/core.ts +6 -7
- package/cli/commands/inspect/find.ts +2 -1
- package/cli/commands/inspect/resolve-target.ts +5 -3
- package/cli/commands/inspect/shared.ts +1 -1
- package/cli/commands/inspect/wait-event.ts +1 -1
- package/cli/commands/inspect/wait-selector.ts +15 -4
- package/cli/commands/inspect.ts +19 -14
- package/cli/commands/maestro.ts +582 -69
- package/cli/commands/permissions.ts +1 -1
- package/cli/commands/platform.ts +205 -8
- package/cli/commands/preview.ts +2 -2
- package/cli/commands/record.ts +2 -2
- package/cli/commands/report-issue.ts +2 -2
- package/cli/commands/screenshot-layers.ts +1 -1
- package/cli/commands/screenshot.ts +1 -1
- package/cli/commands/setup.ts +2 -2
- package/cli/commands/test.ts +600 -117
- package/cli/commands/three-mode.ts +1 -1
- package/cli/commands/upload.ts +5 -5
- package/cli/commands/what-happened.ts +1 -1
- package/cli/desktop-companion.ts +3 -3
- package/cli/drivers/playwright-sim-host.ts +2 -2
- package/cli/flow-file.ts +7 -0
- package/cli/flow-live-status.ts +65 -8
- package/cli/help-core.ts +3 -3
- package/cli/hidden-runtime-alias.ts +1 -1
- package/cli/maestro-report.ts +180 -0
- package/cli/main.ts +1 -1
- package/cli/outbound-endpoints.ts +187 -136
- package/cli/parse-args.ts +1 -1
- package/cli/registry.ts +1 -1
- package/cli/resolve-assets.ts +1 -1
- package/cli/run-registry.ts +10 -1
- package/cli/send-to-box.ts +4 -4
- package/cli/ws-bridge.ts +3 -5
- package/detox/expectations.ts +1 -1
- package/detox/gestures.ts +2 -2
- package/detox/index.ts +71 -29
- package/detox/jest-preset.cjs +5 -5
- package/detox/jest-setup-after-env.cjs +1 -1
- package/dist-lib/agent-daemon-client.cjs +2 -2
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/agent-identity.cjs +1 -1
- package/dist-lib/agent-sessions.cjs +2 -2
- package/dist-lib/attached-projects.cjs +2 -2
- 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 +94 -3
- package/dist-lib/capture-contract.mjs +93 -3
- 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-test-args.cjs +116 -0
- package/dist-lib/cloud-test-args.mjs +86 -0
- package/dist-lib/cloud.cjs +2 -2
- package/dist-lib/cloud.mjs +2 -2
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/detox/index.cjs +106 -25
- package/dist-lib/detox/jest-preset.cjs +5 -5
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +150 -65
- package/dist-lib/host/fetch-proxy-handler.cjs +28 -2
- package/dist-lib/host/fetch-proxy-overrides.cjs +33 -3
- package/dist-lib/host/fetch-proxy-overrides.mjs +30 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +224 -41
- 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 +2 -2
- package/dist-lib/menu.mjs +2 -2
- 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 +3 -3
- package/dist-lib/metro-production-bundle.mjs +3 -3
- package/dist-lib/metro.cjs +8 -8
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +2 -2
- 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 +31 -15
- package/dist-lib/sdk.cjs +3 -2
- package/dist-lib/sdk.mjs +3 -2
- package/dist-lib/skills.cjs +478 -266
- package/dist-lib/swift-compile.cjs +372 -0
- package/dist-lib/swift-compile.mjs +339 -0
- package/dist-lib/swift-package.cjs +78 -0
- package/dist-lib/swift-package.mjs +52 -0
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift.cjs +583 -16
- package/dist-lib/vite.cjs +483 -150
- package/package.json +30 -9
- package/scripts/dev-server-scanner.ts +41 -14
- package/scripts/optional-demo-registry.ts +3 -3
- package/skills/contrast/SKILL.md +9 -9
- package/skills/rnx-debug/SKILL.md +14 -4
- package/skills/rnx-perf/SKILL.md +5 -5
- package/skills/rnx-setup/SKILL.md +11 -11
- package/skills/rnx-test/SKILL.md +14 -14
- package/skills/rnx-visual/SKILL.md +6 -6
- package/src/agent-sessions.ts +3 -3
- package/src/attached-projects.ts +1 -1
- package/src/bridge-contract-input.ts +1 -1
- package/src/bridge-contract.ts +23 -5
- package/src/capture-contract.ts +145 -3
- package/src/cloud-test-args.ts +100 -0
- package/src/config.ts +2 -2
- package/src/connect.ts +2 -2
- package/src/home-paths.ts +3 -3
- package/src/host/bridge-host.ts +2 -2
- package/src/host/fetch-proxy-handler.ts +4 -3
- package/src/host/fetch-proxy-overrides.ts +41 -0
- package/src/host/plane-host.ts +2 -2
- package/src/index.ts +3 -0
- package/src/metro-plugin.ts +4 -4
- package/src/metro-production-bundle.ts +2 -2
- package/src/native-seam-manifest.ts +6 -6
- package/src/public-brand.ts +1 -1
- package/src/rolldown-plugin-swift.ts +16 -12
- package/src/runtime-assets.ts +8 -6
- package/src/screenshots/frame-compose.ts +24 -56
- package/src/screenshots/org-deck.ts +1 -1
- package/src/screenshots/registry.ts +4 -4
- package/src/screenshots/schema.ts +1 -1
- package/src/sdk.ts +2 -2
- package/src/settings-bundle.ts +1 -1
- package/src/sim-client.ts +2 -4
- package/src/skills/builtin/compat-check.ts +1 -1
- package/src/swift-compile.ts +359 -0
- package/src/swift-package.ts +69 -0
- package/src/swift-submit.ts +3 -2
- package/src/vite-plugin-one.ts +1 -1
- package/src/vite-plugin-swift.ts +114 -113
- package/src/vite-plugin.ts +30 -17
- package/src/worklets-babel.ts +2 -2
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.571 | (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;
|
|
@@ -492,7 +492,7 @@ var RNXSIM_METRO_MODULE_PATHS_PREFIX = "globalThis.__sootsimModulePaths=";
|
|
|
492
492
|
var RNX_METRO_MODULE_IDENTITY_VERSION = 2;
|
|
493
493
|
function toRNXProductionBundleUrl(bundleUrl) {
|
|
494
494
|
const relative2 = bundleUrl.startsWith("/");
|
|
495
|
-
const url = new URL(bundleUrl, "http://
|
|
495
|
+
const url = new URL(bundleUrl, "http://peachsim.local");
|
|
496
496
|
url.searchParams.set("dev", "false");
|
|
497
497
|
url.searchParams.set("hot", "false");
|
|
498
498
|
url.searchParams.set("minify", "true");
|
|
@@ -500,7 +500,7 @@ function toRNXProductionBundleUrl(bundleUrl) {
|
|
|
500
500
|
}
|
|
501
501
|
function toRNXDevelopmentBundleUrl(bundleUrl) {
|
|
502
502
|
const relative2 = bundleUrl.startsWith("/");
|
|
503
|
-
const url = new URL(bundleUrl, "http://
|
|
503
|
+
const url = new URL(bundleUrl, "http://peachsim.local");
|
|
504
504
|
url.searchParams.set("dev", "true");
|
|
505
505
|
url.searchParams.set("hot", "false");
|
|
506
506
|
url.searchParams.set("minify", "false");
|
|
@@ -575,7 +575,7 @@ function findMonorepoRoot() {
|
|
|
575
575
|
if (_monorepoRootCache !== void 0) return _monorepoRootCache;
|
|
576
576
|
let dir = import_path.default.dirname((0, import_url.fileURLToPath)(__sootsim_import_meta_url));
|
|
577
577
|
for (let i = 0; i < 12 && dir !== import_path.default.dirname(dir); i++) {
|
|
578
|
-
if (import_fs.default.existsSync(import_path.default.join(dir, "packages/
|
|
578
|
+
if (import_fs.default.existsSync(import_path.default.join(dir, "packages/peach-engine/package.json")) && import_fs.default.existsSync(import_path.default.join(dir, "public/sootsim"))) {
|
|
579
579
|
_monorepoRootCache = dir;
|
|
580
580
|
return dir;
|
|
581
581
|
}
|
|
@@ -589,7 +589,7 @@ function resolveDevCheckoutRuntimeRoot() {
|
|
|
589
589
|
const root = findMonorepoRoot();
|
|
590
590
|
if (!root) return null;
|
|
591
591
|
const devBuild = import_path.default.join(root, "public/sootsim");
|
|
592
|
-
if (import_fs.default.existsSync(import_path.default.join(devBuild, "index.html")) && import_fs.default.existsSync(import_path.default.join(devBuild, "engine/index.html")) && import_fs.default.existsSync(import_path.default.join(devBuild, "engine-tenant/worker.js"))) {
|
|
592
|
+
if (import_fs.default.existsSync(import_path.default.join(devBuild, "index.html")) && import_fs.default.existsSync(import_path.default.join(devBuild, "engine/index.html")) && import_fs.default.existsSync(import_path.default.join(devBuild, "engine-tenant/worker.js")) && import_fs.default.existsSync(import_path.default.join(devBuild, "engine-tenant/worker.prod.js"))) {
|
|
593
593
|
return devBuild;
|
|
594
594
|
}
|
|
595
595
|
return null;
|
|
@@ -714,7 +714,7 @@ var prefix = "/__soot";
|
|
|
714
714
|
function readCallableMetroExport(moduleValue, label) {
|
|
715
715
|
const callable = typeof moduleValue === "function" ? moduleValue : typeof moduleValue === "object" && moduleValue !== null ? Reflect.get(moduleValue, "default") : void 0;
|
|
716
716
|
if (typeof callable !== "function") {
|
|
717
|
-
throw new Error(`
|
|
717
|
+
throw new Error(`peachsim: Metro ${label} module did not export a function`);
|
|
718
718
|
}
|
|
719
719
|
return (...args) => Reflect.apply(callable, void 0, args);
|
|
720
720
|
}
|
|
@@ -735,7 +735,7 @@ function createMetroDefaultSerializer(projectRoot) {
|
|
|
735
735
|
);
|
|
736
736
|
const code = typeof serialized === "object" && serialized !== null ? Reflect.get(serialized, "code") : void 0;
|
|
737
737
|
if (typeof code !== "string") {
|
|
738
|
-
throw new Error("
|
|
738
|
+
throw new Error("peachsim: Metro bundleToString did not return bundle code");
|
|
739
739
|
}
|
|
740
740
|
return code;
|
|
741
741
|
};
|
|
@@ -751,7 +751,7 @@ function appendRNXModulePaths(result, graph, options, projectRoot) {
|
|
|
751
751
|
modulePaths[String(createModuleId(module2.path))] = import_path2.default.relative(projectRoot, module2.path).replaceAll(import_path2.default.sep, "/");
|
|
752
752
|
}
|
|
753
753
|
if (Object.keys(modulePaths).length !== dependencies.size) {
|
|
754
|
-
throw new Error("
|
|
754
|
+
throw new Error("peachsim: bundle module IDs were not unique");
|
|
755
755
|
}
|
|
756
756
|
const specifiersByModuleId = /* @__PURE__ */ new Map();
|
|
757
757
|
for (const module2 of dependencies.values()) {
|
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.571 | (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.571 | (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;
|
|
@@ -28,7 +28,7 @@ module.exports = __toCommonJS(public_brand_exports);
|
|
|
28
28
|
var name = "rnx";
|
|
29
29
|
var rnxPublicBrand = Object.freeze({
|
|
30
30
|
name,
|
|
31
|
-
packageName: "
|
|
31
|
+
packageName: "peachsim",
|
|
32
32
|
commandName: "rnx",
|
|
33
33
|
domain: "rnxsim.com",
|
|
34
34
|
origin: "https://rnxsim.com"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.571 | (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.571 | (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.571 | (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;
|
|
@@ -482,7 +482,7 @@ function __resetAppSettingsBundleCacheForTests() {
|
|
|
482
482
|
var import_node_fs = require("node:fs");
|
|
483
483
|
var import_node_path2 = require("node:path");
|
|
484
484
|
var import_node_url = require("node:url");
|
|
485
|
-
var REGISTRY_REPO_PATH = "packages/
|
|
485
|
+
var REGISTRY_REPO_PATH = "packages/peachsim/scripts/demo-app-registry.ts";
|
|
486
486
|
var MAX_ANCESTOR_STEPS = 8;
|
|
487
487
|
function findInternalDemoRegistry(startDir) {
|
|
488
488
|
let dir = startDir;
|
|
@@ -840,7 +840,7 @@ async function resolveLocalIconPath(hostname, port, rawIcon) {
|
|
|
840
840
|
const res = await httpGet(hostname, port, candidate, "HEAD", ENRICH_TIMEOUT_MS);
|
|
841
841
|
if (res?.statusCode === 200) {
|
|
842
842
|
localIconPathCache.set(port, candidate);
|
|
843
|
-
|
|
843
|
+
invalidatePortCache(port);
|
|
844
844
|
return;
|
|
845
845
|
}
|
|
846
846
|
}
|
|
@@ -973,7 +973,7 @@ async function fetchManifestEnrichment(result, buildIconProxyUrl) {
|
|
|
973
973
|
iconPath: parsed.iconPath,
|
|
974
974
|
bundleId: parsed.bundleId
|
|
975
975
|
});
|
|
976
|
-
|
|
976
|
+
invalidatePortCache(result.port);
|
|
977
977
|
}
|
|
978
978
|
var knownNonPatched = /* @__PURE__ */ new Set();
|
|
979
979
|
var knownNonExpo = /* @__PURE__ */ new Set();
|
|
@@ -1013,16 +1013,19 @@ async function probePort(port, buildIconProxyUrl, listeningProcess) {
|
|
|
1013
1013
|
const framework = launchUrl.includes(
|
|
1014
1014
|
"/one/metro-entry.bundle"
|
|
1015
1015
|
) ? "one" : "expo";
|
|
1016
|
-
return
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1016
|
+
return enrichWithManifest(
|
|
1017
|
+
applyManifest(
|
|
1018
|
+
{
|
|
1019
|
+
port,
|
|
1020
|
+
framework,
|
|
1021
|
+
bundleUrl: withRuntimeConfig(port, launchUrl, owner.cwd),
|
|
1022
|
+
hmrUrl: `${buildLoopbackProbeBaseUrl("ws:", probeHostname, port)}/hot`,
|
|
1023
|
+
lastSeen: Date.now(),
|
|
1024
|
+
...owner
|
|
1025
|
+
},
|
|
1026
|
+
manifestRes,
|
|
1027
|
+
buildIconProxyUrl
|
|
1028
|
+
),
|
|
1026
1029
|
buildIconProxyUrl
|
|
1027
1030
|
);
|
|
1028
1031
|
}
|
|
@@ -1101,6 +1104,11 @@ function isSootSimSelfServer(server) {
|
|
|
1101
1104
|
}
|
|
1102
1105
|
var __isSootSimSelfServerForTests = isSootSimSelfServer;
|
|
1103
1106
|
var portCache = /* @__PURE__ */ new Map();
|
|
1107
|
+
var portCacheInvalidatedAt = /* @__PURE__ */ new Map();
|
|
1108
|
+
function invalidatePortCache(port) {
|
|
1109
|
+
portCache.delete(port);
|
|
1110
|
+
portCacheInvalidatedAt.set(port, Date.now());
|
|
1111
|
+
}
|
|
1104
1112
|
var NEGATIVE_CACHE_TTL_MS = 3e4;
|
|
1105
1113
|
var WEAK_RESULT_CACHE_TTL_MS = 1500;
|
|
1106
1114
|
function isWeakCachedResult(result) {
|
|
@@ -1128,6 +1136,7 @@ function __resetScannerCache() {
|
|
|
1128
1136
|
knownOne.clear();
|
|
1129
1137
|
enrichmentCache.clear();
|
|
1130
1138
|
enrichmentInFlight.clear();
|
|
1139
|
+
portCacheInvalidatedAt.clear();
|
|
1131
1140
|
__resetAppSettingsBundleCacheForTests();
|
|
1132
1141
|
}
|
|
1133
1142
|
async function attachAppSettingsBundle(result, projectRoot) {
|
|
@@ -1165,6 +1174,9 @@ async function scanDevServers(opts = {}) {
|
|
|
1165
1174
|
for (const p of [...localIconPathCache.keys()]) {
|
|
1166
1175
|
if (!currentPorts.has(p)) localIconPathCache.delete(p);
|
|
1167
1176
|
}
|
|
1177
|
+
for (const p of [...portCacheInvalidatedAt.keys()]) {
|
|
1178
|
+
if (!currentPorts.has(p)) portCacheInvalidatedAt.delete(p);
|
|
1179
|
+
}
|
|
1168
1180
|
const results = [];
|
|
1169
1181
|
const toProbe = [];
|
|
1170
1182
|
for (const { port, pid } of processes) {
|
|
@@ -1183,12 +1195,16 @@ async function scanDevServers(opts = {}) {
|
|
|
1183
1195
|
toProbe.push({ port, pid });
|
|
1184
1196
|
}
|
|
1185
1197
|
if (toProbe.length > 0) {
|
|
1198
|
+
const scanStartedAt = Date.now();
|
|
1186
1199
|
const probed = await Promise.all(
|
|
1187
1200
|
toProbe.map((p) => probePort(p.port, opts.buildIconProxyUrl, p))
|
|
1188
1201
|
);
|
|
1189
1202
|
probed.forEach((result, i) => {
|
|
1190
1203
|
const { port, pid } = toProbe[i];
|
|
1191
|
-
|
|
1204
|
+
const invalidatedAt = portCacheInvalidatedAt.get(port) ?? 0;
|
|
1205
|
+
if (pid !== 0 && invalidatedAt < scanStartedAt) {
|
|
1206
|
+
portCache.set(port, { pid, result, cachedAt: Date.now() });
|
|
1207
|
+
}
|
|
1192
1208
|
if (result) results.push(result);
|
|
1193
1209
|
});
|
|
1194
1210
|
}
|
package/dist-lib/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.571 | (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;
|
|
@@ -783,13 +783,14 @@ async function inspectWaitReady(bridge, timeoutMs = 2e4, options = {}) {
|
|
|
783
783
|
}
|
|
784
784
|
async function inspectWaitSelector(bridge, testId, timeoutMs = 5e3, opts = {}) {
|
|
785
785
|
const gone = opts.gone === true;
|
|
786
|
+
const cleanId = testId.replace(/^#/, "");
|
|
786
787
|
const result = await bridge.send(
|
|
787
788
|
{
|
|
788
789
|
type: "waitFor",
|
|
789
790
|
waitForOptions: {
|
|
790
791
|
condition: {
|
|
791
792
|
type: gone ? "absent" : opts.structural === true ? "mounted" : "present",
|
|
792
|
-
selector: { testID:
|
|
793
|
+
selector: { testID: cleanId }
|
|
793
794
|
},
|
|
794
795
|
timeoutMs
|
|
795
796
|
}
|
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.571 | (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);
|
|
@@ -687,13 +687,14 @@ async function inspectWaitReady(bridge, timeoutMs = 2e4, options = {}) {
|
|
|
687
687
|
}
|
|
688
688
|
async function inspectWaitSelector(bridge, testId, timeoutMs = 5e3, opts = {}) {
|
|
689
689
|
const gone = opts.gone === true;
|
|
690
|
+
const cleanId = testId.replace(/^#/, "");
|
|
690
691
|
const result = await bridge.send(
|
|
691
692
|
{
|
|
692
693
|
type: "waitFor",
|
|
693
694
|
waitForOptions: {
|
|
694
695
|
condition: {
|
|
695
696
|
type: gone ? "absent" : opts.structural === true ? "mounted" : "present",
|
|
696
|
-
selector: { testID:
|
|
697
|
+
selector: { testID: cleanId }
|
|
697
698
|
},
|
|
698
699
|
timeoutMs
|
|
699
700
|
}
|