peachsim 0.1.772 → 0.1.774
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/desktop.ts +1 -1
- package/cli/commands/install-desktop.ts +17 -6
- package/cli/drivers/playwright-sim-host.ts +59 -2
- package/cli/drivers/playwright.ts +28 -7
- 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-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.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 +8 -3
- 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/kotlin-host.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/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +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 +123 -76
- package/dist-lib/swift-compile.cjs +7 -2
- package/dist-lib/swift-compile.mjs +7 -2
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +7 -2
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/src/desktop-host-delivery.ts +47 -8
- package/src/swift-compile.ts +6 -1
- package/src/swift-standin-emit.ts +619 -0
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.774 | (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;
|
|
@@ -23108,13 +23108,18 @@ var init_swift_compile = __esm({
|
|
|
23108
23108
|
TikTokBusinessSDK: [],
|
|
23109
23109
|
nSure: [],
|
|
23110
23110
|
Statsig: [],
|
|
23111
|
+
RiveRuntime: ["MetalKit"],
|
|
23112
|
+
MetalKit: [],
|
|
23111
23113
|
DatadogCore: [],
|
|
23112
23114
|
DatadogLogs: ["DatadogCore"],
|
|
23113
23115
|
DatadogRUM: ["DatadogCore"],
|
|
23114
23116
|
DatadogTrace: ["DatadogCore"],
|
|
23115
23117
|
AppLovinSDK: [],
|
|
23116
23118
|
AppsFlyerLib: [],
|
|
23117
|
-
FBSDKCoreKit: [],
|
|
23119
|
+
FBSDKCoreKit: ["FBAEMKit", "FBSDKCoreKit_Basics"],
|
|
23120
|
+
FBAEMKit: ["FBSDKCoreKit_Basics"],
|
|
23121
|
+
FBSDKCoreKit_Basics: [],
|
|
23122
|
+
Intercom: [],
|
|
23118
23123
|
FBAudienceNetwork: []
|
|
23119
23124
|
};
|
|
23120
23125
|
OPTIONAL_FRAMEWORKS = new Set(Object.keys(OPTIONAL_FRAMEWORK_DEPENDENCIES));
|
|
@@ -31336,7 +31341,7 @@ var init_devices = __esm({
|
|
|
31336
31341
|
statusRowCenter: 29.65,
|
|
31337
31342
|
safeAreaInsets: { top: 59, bottom: 34, left: 0, right: 0 },
|
|
31338
31343
|
iosVersion: "27.0",
|
|
31339
|
-
keyboardPanelHeights: { qwerty: 301, pad:
|
|
31344
|
+
keyboardPanelHeights: { qwerty: 301, pad: 302, emoji: 395 },
|
|
31340
31345
|
physicalPPI: 460,
|
|
31341
31346
|
hardwareButtons: modernButtons(
|
|
31342
31347
|
[159.1, 31.5],
|
|
@@ -40053,6 +40058,14 @@ var init_bridge_diagnostics = __esm({
|
|
|
40053
40058
|
});
|
|
40054
40059
|
|
|
40055
40060
|
// src/desktop-host-delivery.ts
|
|
40061
|
+
function desktopHostPlatform() {
|
|
40062
|
+
if (process.platform === "darwin" && process.arch === "arm64") return "mac-arm64";
|
|
40063
|
+
if (process.platform === "linux" && process.arch === "x64") return "linux-x64";
|
|
40064
|
+
return null;
|
|
40065
|
+
}
|
|
40066
|
+
function desktopHostExecutable() {
|
|
40067
|
+
return desktopHostPlatform() === "linux-x64" ? "bin/node" : "PeachDesktop.app/Contents/MacOS/PeachDesktop";
|
|
40068
|
+
}
|
|
40056
40069
|
function bundleValue(app, key) {
|
|
40057
40070
|
const read = (0, import_node_child_process12.spawnSync)(
|
|
40058
40071
|
"plutil",
|
|
@@ -40065,16 +40078,36 @@ function isNativeHostBundle(app) {
|
|
|
40065
40078
|
return process.platform === "darwin" && bundleValue(app, "CFBundleIdentifier") === HOST_BUNDLE_ID;
|
|
40066
40079
|
}
|
|
40067
40080
|
function placedHostVersion() {
|
|
40081
|
+
if (desktopHostPlatform() === "linux-x64") {
|
|
40082
|
+
try {
|
|
40083
|
+
const version = import_node_fs35.default.readFileSync(import_node_path37.default.join(desktopHostsDir(), "active"), "utf8").trim();
|
|
40084
|
+
return /^\d+\.\d+$/.test(version) && import_node_fs35.default.existsSync(import_node_path37.default.join(desktopHostDir(version), desktopHostExecutable())) ? version : null;
|
|
40085
|
+
} catch {
|
|
40086
|
+
return null;
|
|
40087
|
+
}
|
|
40088
|
+
}
|
|
40068
40089
|
return isNativeHostBundle(MAC_HOST_APP) ? bundleValue(MAC_HOST_APP, "CFBundleVersion") : null;
|
|
40069
40090
|
}
|
|
40070
40091
|
function activeDesktopHostApp() {
|
|
40071
|
-
return placedHostVersion() ? MAC_HOST_APP : null;
|
|
40092
|
+
return process.platform === "darwin" && placedHostVersion() ? MAC_HOST_APP : null;
|
|
40093
|
+
}
|
|
40094
|
+
function headlessHostCommand() {
|
|
40095
|
+
if (desktopHostPlatform() !== "linux-x64") return null;
|
|
40096
|
+
const version = placedHostVersion();
|
|
40097
|
+
if (!version) return null;
|
|
40098
|
+
const dir = desktopHostDir(version);
|
|
40099
|
+
return [
|
|
40100
|
+
import_node_path37.default.join(dir, "bin/node"),
|
|
40101
|
+
"--experimental-vm-modules",
|
|
40102
|
+
import_node_path37.default.join(dir, "node/host.mjs")
|
|
40103
|
+
];
|
|
40072
40104
|
}
|
|
40073
|
-
var import_node_child_process12, import_node_path37, MAC_HOST_APP, HOST_BUNDLE_ID;
|
|
40105
|
+
var import_node_child_process12, import_node_fs35, import_node_path37, MAC_HOST_APP, HOST_BUNDLE_ID;
|
|
40074
40106
|
var init_desktop_host_delivery = __esm({
|
|
40075
40107
|
"src/desktop-host-delivery.ts"() {
|
|
40076
40108
|
"use strict";
|
|
40077
40109
|
import_node_child_process12 = require("node:child_process");
|
|
40110
|
+
import_node_fs35 = __toESM(require("node:fs"), 1);
|
|
40078
40111
|
import_node_path37 = __toESM(require("node:path"), 1);
|
|
40079
40112
|
init_src();
|
|
40080
40113
|
init_home_paths();
|
|
@@ -41623,7 +41656,7 @@ async function ensureLinuxBrowserLibraries(executablePath, browser) {
|
|
|
41623
41656
|
}
|
|
41624
41657
|
const lock = parseLinuxBrowserLibsLock(linux_browser_libs_lock_default);
|
|
41625
41658
|
const dir = (0, import_node_path38.join)(rnxHomeDir(), "linux-libs", `${lock.id}-${arch}`);
|
|
41626
|
-
if (!(0,
|
|
41659
|
+
if (!(0, import_node_fs36.existsSync)((0, import_node_path38.join)(dir, LINUX_BROWSER_LIBS_MARKER))) {
|
|
41627
41660
|
const url = `${DEFAULT_CLI_RELEASE_ORIGIN}/${linuxBrowserLibsKey(lock.id, arch)}`;
|
|
41628
41661
|
process.stderr.write(
|
|
41629
41662
|
`peach: this system lacks ${missing.length} shared libraries ${browser} links; downloading them\u2026
|
|
@@ -41661,12 +41694,12 @@ async function ensureLinuxBrowserLibraries(executablePath, browser) {
|
|
|
41661
41694
|
}
|
|
41662
41695
|
return { ok: true, libraryPath };
|
|
41663
41696
|
}
|
|
41664
|
-
var import_node_child_process13,
|
|
41697
|
+
var import_node_child_process13, import_node_fs36, import_node_path38, LINUX_BROWSER_LIBS_ARCHES, LINUX_BROWSER_LIBS_MARKER;
|
|
41665
41698
|
var init_linux_browser_libs = __esm({
|
|
41666
41699
|
"cli/drivers/linux-browser-libs.ts"() {
|
|
41667
41700
|
"use strict";
|
|
41668
41701
|
import_node_child_process13 = require("node:child_process");
|
|
41669
|
-
|
|
41702
|
+
import_node_fs36 = require("node:fs");
|
|
41670
41703
|
import_node_path38 = require("node:path");
|
|
41671
41704
|
init_src();
|
|
41672
41705
|
init_home_paths();
|
|
@@ -41691,13 +41724,13 @@ function resolvePlaywright() {
|
|
|
41691
41724
|
try {
|
|
41692
41725
|
const modulePath = requireFromRoot.resolve(spec);
|
|
41693
41726
|
const packageJsonPath = requireFromRoot.resolve(`${spec}/package.json`);
|
|
41694
|
-
const parsed = JSON.parse((0,
|
|
41727
|
+
const parsed = JSON.parse((0, import_node_fs37.readFileSync)(packageJsonPath, "utf8"));
|
|
41695
41728
|
if (!isRecord(parsed) || typeof parsed.version !== "string") continue;
|
|
41696
41729
|
const corePackagePath = (0, import_node_module6.createRequire)(modulePath).resolve(
|
|
41697
41730
|
"playwright-core/package.json"
|
|
41698
41731
|
);
|
|
41699
41732
|
const cliPath = (0, import_node_path39.join)((0, import_node_path39.dirname)(corePackagePath), "cli.js");
|
|
41700
|
-
if (!(0,
|
|
41733
|
+
if (!(0, import_node_fs37.existsSync)(cliPath)) continue;
|
|
41701
41734
|
return {
|
|
41702
41735
|
spec,
|
|
41703
41736
|
modulePath,
|
|
@@ -41768,7 +41801,7 @@ function probeBrowser(resolved, env) {
|
|
|
41768
41801
|
return {
|
|
41769
41802
|
ok: true,
|
|
41770
41803
|
executablePath: parsed.executablePath,
|
|
41771
|
-
exists: parsed.exists && (0,
|
|
41804
|
+
exists: parsed.exists && (0, import_node_fs37.existsSync)(parsed.executablePath)
|
|
41772
41805
|
};
|
|
41773
41806
|
} catch (error) {
|
|
41774
41807
|
return {
|
|
@@ -41836,12 +41869,12 @@ ${detail}` : ""}`
|
|
|
41836
41869
|
libraryPath: libraries.libraryPath
|
|
41837
41870
|
};
|
|
41838
41871
|
}
|
|
41839
|
-
var import_node_child_process14,
|
|
41872
|
+
var import_node_child_process14, import_node_fs37, import_node_module6, import_node_path39;
|
|
41840
41873
|
var init_playwright_provisioning = __esm({
|
|
41841
41874
|
"cli/drivers/playwright-provisioning.ts"() {
|
|
41842
41875
|
"use strict";
|
|
41843
41876
|
import_node_child_process14 = require("node:child_process");
|
|
41844
|
-
|
|
41877
|
+
import_node_fs37 = require("node:fs");
|
|
41845
41878
|
import_node_module6 = require("node:module");
|
|
41846
41879
|
import_node_path39 = require("node:path");
|
|
41847
41880
|
init_src();
|
|
@@ -41881,6 +41914,18 @@ function resolveUserDataDir(opts) {
|
|
|
41881
41914
|
}
|
|
41882
41915
|
return "";
|
|
41883
41916
|
}
|
|
41917
|
+
function freePort() {
|
|
41918
|
+
return new Promise((resolve10, reject) => {
|
|
41919
|
+
const server = (0, import_net2.createServer)();
|
|
41920
|
+
server.once("error", reject);
|
|
41921
|
+
server.listen(0, "127.0.0.1", () => {
|
|
41922
|
+
const address = server.address();
|
|
41923
|
+
server.close(
|
|
41924
|
+
() => typeof address === "object" && address ? resolve10(address.port) : reject(new Error("no port assigned"))
|
|
41925
|
+
);
|
|
41926
|
+
});
|
|
41927
|
+
});
|
|
41928
|
+
}
|
|
41884
41929
|
async function launch(opts) {
|
|
41885
41930
|
if (!opts.url) {
|
|
41886
41931
|
return { launched: false, message: "playwright driver requires a target url" };
|
|
@@ -41928,17 +41973,16 @@ async function launch(opts) {
|
|
|
41928
41973
|
}
|
|
41929
41974
|
}
|
|
41930
41975
|
const playwrightEnv = { ...process.env };
|
|
41931
|
-
const
|
|
41932
|
-
|
|
41933
|
-
opts.headless ?? true,
|
|
41934
|
-
playwrightEnv
|
|
41935
|
-
);
|
|
41976
|
+
const headless = opts.headless ?? true;
|
|
41977
|
+
const provisioning = await ensurePlaywrightBrowser(resolved, headless, playwrightEnv);
|
|
41936
41978
|
if (!provisioning.ok) {
|
|
41937
41979
|
return {
|
|
41938
41980
|
launched: false,
|
|
41939
41981
|
message: `playwright browser provisioning failed: ${provisioning.message}`
|
|
41940
41982
|
};
|
|
41941
41983
|
}
|
|
41984
|
+
const hostCommand = headless ? headlessHostCommand() : null;
|
|
41985
|
+
const cdpPort = opts.cdpPort ?? (hostCommand ? await freePort() : void 0);
|
|
41942
41986
|
const errLog = (0, import_path6.join)((0, import_os2.tmpdir)(), playwrightHostLogName(Date.now(), process.pid));
|
|
41943
41987
|
const connectAckFile = `${errLog}.connected`;
|
|
41944
41988
|
const errFd = (0, import_fs7.openSync)(errLog, "a");
|
|
@@ -41957,9 +42001,10 @@ async function launch(opts) {
|
|
|
41957
42001
|
SOOTSIM_PW_URL: targetUrl.href,
|
|
41958
42002
|
PEACH_PW_FETCH_PROXY_SPKI: fetchProxySpki,
|
|
41959
42003
|
SOOTSIM_PW_BRIDGE_PORT: opts.bridgePort ? String(opts.bridgePort) : "",
|
|
41960
|
-
SOOTSIM_PW_HEADLESS:
|
|
42004
|
+
SOOTSIM_PW_HEADLESS: headless ? "1" : "0",
|
|
41961
42005
|
SOOTSIM_PW_USERDATADIR: resolveUserDataDir(opts),
|
|
41962
|
-
SOOTSIM_PW_CDP_PORT:
|
|
42006
|
+
SOOTSIM_PW_CDP_PORT: cdpPort ? String(cdpPort) : "",
|
|
42007
|
+
PEACH_PW_HOST_COMMAND: hostCommand ? JSON.stringify(hostCommand) : "",
|
|
41963
42008
|
// when the caller passed no viewport, leave the inherited
|
|
41964
42009
|
// SOOTSIM_PW_VIEWPORT (from playwrightEnv) alone instead of
|
|
41965
42010
|
// clobbering it with '' — the driver reads it as its own default.
|
|
@@ -42010,15 +42055,17 @@ ${hint}` : ""}`
|
|
|
42010
42055
|
(0, import_fs7.closeSync)(errFd);
|
|
42011
42056
|
}
|
|
42012
42057
|
}
|
|
42013
|
-
var import_child_process6, import_fs7, import_os2, import_path6, playwrightDriver;
|
|
42058
|
+
var import_child_process6, import_fs7, import_net2, import_os2, import_path6, playwrightDriver;
|
|
42014
42059
|
var init_playwright = __esm({
|
|
42015
42060
|
"cli/drivers/playwright.ts"() {
|
|
42016
42061
|
"use strict";
|
|
42017
42062
|
import_child_process6 = require("child_process");
|
|
42018
42063
|
import_fs7 = require("fs");
|
|
42064
|
+
import_net2 = require("net");
|
|
42019
42065
|
import_os2 = require("os");
|
|
42020
42066
|
import_path6 = require("path");
|
|
42021
42067
|
init_bridge_constants();
|
|
42068
|
+
init_desktop_host_delivery();
|
|
42022
42069
|
init_playwright_host_log();
|
|
42023
42070
|
init_profiles();
|
|
42024
42071
|
init_internal_child();
|
|
@@ -42330,9 +42377,9 @@ function getSkillsDir() {
|
|
|
42330
42377
|
const dir = path32.join(rnxHomeDir(), "skills", getCliVersion());
|
|
42331
42378
|
for (const [file, body] of Object.entries(__PEACH_BUNDLED_SKILLS__)) {
|
|
42332
42379
|
const target = path32.join(dir, file);
|
|
42333
|
-
if (
|
|
42334
|
-
|
|
42335
|
-
|
|
42380
|
+
if (fs28.existsSync(target)) continue;
|
|
42381
|
+
fs28.mkdirSync(path32.dirname(target), { recursive: true });
|
|
42382
|
+
fs28.writeFileSync(target, body);
|
|
42336
42383
|
}
|
|
42337
42384
|
return dir;
|
|
42338
42385
|
}
|
|
@@ -42368,7 +42415,7 @@ function primaryCheckoutPath(dir) {
|
|
|
42368
42415
|
}
|
|
42369
42416
|
if (path32.basename(common) !== ".git") return dir;
|
|
42370
42417
|
const primary = path32.join(path32.dirname(common), path32.relative(top, dir));
|
|
42371
|
-
return
|
|
42418
|
+
return fs28.existsSync(primary) ? primary : dir;
|
|
42372
42419
|
}
|
|
42373
42420
|
function skillsDir() {
|
|
42374
42421
|
skillsDirPath ??= getSkillsDir();
|
|
@@ -42389,7 +42436,7 @@ function hasInstalledPeachSkills() {
|
|
|
42389
42436
|
(file) => /^([^/]+)\/SKILL\.md$/.exec(file)?.[1] ?? []
|
|
42390
42437
|
) : listSkills().map((skill7) => skill7.name);
|
|
42391
42438
|
return defaultAgentTargets().some(
|
|
42392
|
-
({ dir }) => names.some((name2) =>
|
|
42439
|
+
({ dir }) => names.some((name2) => fs28.existsSync(path32.join(dir, name2, "SKILL.md")))
|
|
42393
42440
|
);
|
|
42394
42441
|
}
|
|
42395
42442
|
function parseSkillFrontmatter(content) {
|
|
@@ -42432,24 +42479,24 @@ function readFrontmatterField(frontmatter, field) {
|
|
|
42432
42479
|
return null;
|
|
42433
42480
|
}
|
|
42434
42481
|
function listSkills() {
|
|
42435
|
-
if (!
|
|
42482
|
+
if (!fs28.existsSync(skillsDir())) return [];
|
|
42436
42483
|
const skills = [];
|
|
42437
|
-
for (const entry of
|
|
42484
|
+
for (const entry of fs28.readdirSync(skillsDir())) {
|
|
42438
42485
|
const skillMd = path32.join(skillsDir(), entry, "SKILL.md");
|
|
42439
|
-
if (!
|
|
42440
|
-
const meta = parseSkillFrontmatter(
|
|
42486
|
+
if (!fs28.existsSync(skillMd)) continue;
|
|
42487
|
+
const meta = parseSkillFrontmatter(fs28.readFileSync(skillMd, "utf8"));
|
|
42441
42488
|
if (meta) {
|
|
42442
42489
|
skills.push({ name: entry, description: meta.description });
|
|
42443
42490
|
}
|
|
42444
42491
|
}
|
|
42445
42492
|
return skills.sort((a, b) => a.name.localeCompare(b.name));
|
|
42446
42493
|
}
|
|
42447
|
-
var import_child_process7,
|
|
42494
|
+
var import_child_process7, fs28, os8, path32, import_url3, import_meta4, skillsDirPath;
|
|
42448
42495
|
var init_skills = __esm({
|
|
42449
42496
|
"cli/commands/skills.ts"() {
|
|
42450
42497
|
"use strict";
|
|
42451
42498
|
import_child_process7 = require("child_process");
|
|
42452
|
-
|
|
42499
|
+
fs28 = __toESM(require("fs"), 1);
|
|
42453
42500
|
os8 = __toESM(require("os"), 1);
|
|
42454
42501
|
path32 = __toESM(require("path"), 1);
|
|
42455
42502
|
import_url3 = require("url");
|
|
@@ -42938,7 +42985,7 @@ function assertExplicitBridgeLock(preferredPort, explicitPort, lock) {
|
|
|
42938
42985
|
async function ensureRuntimeForOpen() {
|
|
42939
42986
|
if (resolveDevCheckoutRuntimeRoot()) return;
|
|
42940
42987
|
const active = readActiveRuntime();
|
|
42941
|
-
if (active &&
|
|
42988
|
+
if (active && import_node_fs38.default.existsSync(runtimeDir(active))) return;
|
|
42942
42989
|
console.error(" installing peach engine runtime...");
|
|
42943
42990
|
const { runRuntime: runRuntime2 } = await Promise.resolve().then(() => (init_runtime(), runtime_exports));
|
|
42944
42991
|
await runRuntime2(["install"], {});
|
|
@@ -43114,7 +43161,7 @@ function parseOpenRuntimeConfig(args) {
|
|
|
43114
43161
|
}
|
|
43115
43162
|
const moduleName = raw2.slice(0, eqIndex).trim();
|
|
43116
43163
|
const filePath = normalizeReplacementPath(raw2.slice(eqIndex + 1).trim());
|
|
43117
|
-
if (!
|
|
43164
|
+
if (!import_node_fs38.default.existsSync(filePath)) {
|
|
43118
43165
|
console.error(` peach open: replacement file not found: ${filePath}`);
|
|
43119
43166
|
rnxExit(1);
|
|
43120
43167
|
}
|
|
@@ -43145,7 +43192,7 @@ async function resolveAppProjectForBundleUrl(bundleUrl) {
|
|
|
43145
43192
|
return advertisedRoot ? resolveAppProject(advertisedRoot) : null;
|
|
43146
43193
|
}
|
|
43147
43194
|
async function ensureConfiguredRuntime(version) {
|
|
43148
|
-
if (
|
|
43195
|
+
if (import_node_fs38.default.existsSync(import_node_path40.default.join(runtimeDir(version), "index.html"))) return;
|
|
43149
43196
|
console.error(` installing configured engine runtime ${version}...`);
|
|
43150
43197
|
const result = await rnxRuntime.install({
|
|
43151
43198
|
version,
|
|
@@ -43481,7 +43528,7 @@ function playwrightHostPidForSim(sim) {
|
|
|
43481
43528
|
function signalDriverLaunchConnected(result) {
|
|
43482
43529
|
if (!result.connectAckFile) return false;
|
|
43483
43530
|
try {
|
|
43484
|
-
|
|
43531
|
+
import_node_fs38.default.writeFileSync(
|
|
43485
43532
|
result.connectAckFile,
|
|
43486
43533
|
`${JSON.stringify({ connectedAt: Date.now(), pid: result.pid ?? null })}
|
|
43487
43534
|
`,
|
|
@@ -43495,7 +43542,7 @@ function signalDriverLaunchConnected(result) {
|
|
|
43495
43542
|
function readUnservedUrl(result) {
|
|
43496
43543
|
if (!result.diagnosticLogPath) return null;
|
|
43497
43544
|
try {
|
|
43498
|
-
const detail =
|
|
43545
|
+
const detail = import_node_fs38.default.readFileSync(result.diagnosticLogPath, "utf8");
|
|
43499
43546
|
const match = detail.match(/\[unserved\] nothing serves (\S+)/);
|
|
43500
43547
|
return match ? match[1] : null;
|
|
43501
43548
|
} catch {
|
|
@@ -43505,7 +43552,7 @@ function readUnservedUrl(result) {
|
|
|
43505
43552
|
function printDriverDiagnosticLogTail(result) {
|
|
43506
43553
|
if (!result.diagnosticLogPath) return;
|
|
43507
43554
|
try {
|
|
43508
|
-
const detail =
|
|
43555
|
+
const detail = import_node_fs38.default.readFileSync(result.diagnosticLogPath, "utf8").trim();
|
|
43509
43556
|
if (!detail) {
|
|
43510
43557
|
console.error(` ${import_node_path40.default.basename(result.diagnosticLogPath)} was empty`);
|
|
43511
43558
|
return;
|
|
@@ -44516,12 +44563,12 @@ async function runCloseCommand(args, opts = {}) {
|
|
|
44516
44563
|
bridge.close();
|
|
44517
44564
|
}
|
|
44518
44565
|
}
|
|
44519
|
-
var import_node_child_process15,
|
|
44566
|
+
var import_node_child_process15, import_node_fs38, import_node_os10, import_node_path40, import_app_catalog_wire, import_devices2, import_ws4, DEFAULT_DRIVER_CONNECT_TIMEOUT_MS, DRIVER_CONNECT_INTERVAL_MS, DRIVER_CONNECT_HOST_GRACE_MS, OPEN_BRIDGE_SPAWN_TIMEOUT_MS, SHELL_APPS, DEV_BUNDLE_RESOLVE_ATTEMPTS, DEV_BUNDLE_RESOLVE_INTERVAL_MS;
|
|
44520
44567
|
var init_control = __esm({
|
|
44521
44568
|
"cli/commands/control.ts"() {
|
|
44522
44569
|
"use strict";
|
|
44523
44570
|
import_node_child_process15 = require("node:child_process");
|
|
44524
|
-
|
|
44571
|
+
import_node_fs38 = __toESM(require("node:fs"), 1);
|
|
44525
44572
|
import_node_os10 = __toESM(require("node:os"), 1);
|
|
44526
44573
|
import_node_path40 = __toESM(require("node:path"), 1);
|
|
44527
44574
|
import_app_catalog_wire = require("peach-engine/engine/app-catalog-wire");
|
|
@@ -46041,11 +46088,11 @@ function normalizeBareStringStep(verb) {
|
|
|
46041
46088
|
function parseFlowSteps(content) {
|
|
46042
46089
|
return parseFlowFile(content).steps;
|
|
46043
46090
|
}
|
|
46044
|
-
var
|
|
46091
|
+
var fs31, path34, import_devices4, import_proof_frame, DEFAULT_TIMEOUT, ASSERTION_LOOKUP_MS, FLOW_TIMEOUT_SCALE, scaledTimeout, MAESTRO_SELECTOR_KEYS, SELECTOR_FILTER_KEYS, UNSUPPORTED_SELECTOR_KEYS, ACCESSIBILITY_SELECTOR_KEYS, ACCESSIBILITY_TRAIT_FILTERS, MAESTRO_PERMISSION_KINDS, MAESTRO_PERMISSION_STATUS, SootSimBridgeFlowRunner;
|
|
46045
46092
|
var init_bridge_flow_runner = __esm({
|
|
46046
46093
|
"cli/bridge-flow-runner.ts"() {
|
|
46047
46094
|
"use strict";
|
|
46048
|
-
|
|
46095
|
+
fs31 = __toESM(require("fs"), 1);
|
|
46049
46096
|
path34 = __toESM(require("path"), 1);
|
|
46050
46097
|
import_devices4 = require("peach-engine/settings/devices");
|
|
46051
46098
|
import_proof_frame = __toESM(require_proof_frame(), 1);
|
|
@@ -46371,14 +46418,14 @@ var init_bridge_flow_runner = __esm({
|
|
|
46371
46418
|
if (chunks.length === 0) {
|
|
46372
46419
|
throw new Error("recording requested but no video buffer was produced");
|
|
46373
46420
|
}
|
|
46374
|
-
|
|
46421
|
+
fs31.mkdirSync(this.opts.recordingOutputDir, { recursive: true });
|
|
46375
46422
|
const videoMime = stopped.mime || this.opts.recordingFormat || "video/webm";
|
|
46376
46423
|
const extension = videoMime.includes("mp4") ? "mp4" : "webm";
|
|
46377
46424
|
const outputPath = path34.join(
|
|
46378
46425
|
this.opts.recordingOutputDir,
|
|
46379
46426
|
`peach-${Date.now()}.${extension}`
|
|
46380
46427
|
);
|
|
46381
|
-
|
|
46428
|
+
fs31.writeFileSync(outputPath, Buffer.concat(chunks));
|
|
46382
46429
|
return outputPath;
|
|
46383
46430
|
}
|
|
46384
46431
|
async waitForRecordingTail(opts) {
|
|
@@ -47054,7 +47101,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
47054
47101
|
flowDir: this.opts.flowDir
|
|
47055
47102
|
}
|
|
47056
47103
|
);
|
|
47057
|
-
|
|
47104
|
+
fs31.mkdirSync(path34.dirname(outputPath), { recursive: true });
|
|
47058
47105
|
const layers = spec.layers ?? this.opts.screenshotLayers;
|
|
47059
47106
|
const screenshotRequest = {
|
|
47060
47107
|
type: "screenshot",
|
|
@@ -47089,11 +47136,11 @@ var init_bridge_flow_runner = __esm({
|
|
|
47089
47136
|
throw new Error("could not read current device model for framed screenshot");
|
|
47090
47137
|
}
|
|
47091
47138
|
const framed = await composeFramedScreenshot(rawBuffer, model);
|
|
47092
|
-
|
|
47139
|
+
fs31.writeFileSync(outputPath, framed);
|
|
47093
47140
|
console.log(`[flow] screenshot: ${outputPath} (frame: ${model})`);
|
|
47094
47141
|
return outputPath;
|
|
47095
47142
|
}
|
|
47096
|
-
|
|
47143
|
+
fs31.writeFileSync(outputPath, rawBuffer);
|
|
47097
47144
|
console.log(`[flow] screenshot: ${outputPath}`);
|
|
47098
47145
|
return outputPath;
|
|
47099
47146
|
}
|
|
@@ -47115,10 +47162,10 @@ var init_bridge_flow_runner = __esm({
|
|
|
47115
47162
|
// + a11y tree + console errors/warnings + failed network requests +
|
|
47116
47163
|
// shell state, all under one directory so post-mortem is one grep away.
|
|
47117
47164
|
async captureFailureBundle(outputDir, context) {
|
|
47118
|
-
|
|
47165
|
+
fs31.mkdirSync(outputDir, { recursive: true });
|
|
47119
47166
|
const write = (name2, content) => {
|
|
47120
47167
|
try {
|
|
47121
|
-
|
|
47168
|
+
fs31.writeFileSync(path34.join(outputDir, name2), content);
|
|
47122
47169
|
} catch {
|
|
47123
47170
|
}
|
|
47124
47171
|
};
|
|
@@ -47712,7 +47759,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
47712
47759
|
const spec = typeof target === "string" ? { file: target } : target;
|
|
47713
47760
|
if (!spec.file) throw new Error("runScript requires a file");
|
|
47714
47761
|
const scriptPath = path34.resolve(this.opts.flowDir, spec.file);
|
|
47715
|
-
const source =
|
|
47762
|
+
const source = fs31.readFileSync(scriptPath, "utf8");
|
|
47716
47763
|
this.js.evaluate(source, { env: spec.env });
|
|
47717
47764
|
console.log(`[flow] runScript: ${spec.file} done`);
|
|
47718
47765
|
}
|
|
@@ -48073,7 +48120,7 @@ var init_bridge_flow_runner = __esm({
|
|
|
48073
48120
|
}
|
|
48074
48121
|
if (file) {
|
|
48075
48122
|
const flowPath = path34.resolve(this.opts.flowDir, file);
|
|
48076
|
-
const flowContent =
|
|
48123
|
+
const flowContent = fs31.readFileSync(flowPath, "utf8");
|
|
48077
48124
|
const { frontmatter } = parseFlowFile(flowContent);
|
|
48078
48125
|
if (frontmatter.env && typeof frontmatter.env === "object") {
|
|
48079
48126
|
this.js.defineVariables(frontmatter.env);
|
|
@@ -48250,7 +48297,7 @@ __export(registry_exports, {
|
|
|
48250
48297
|
skillRegistry: () => skillRegistry
|
|
48251
48298
|
});
|
|
48252
48299
|
module.exports = __toCommonJS(registry_exports);
|
|
48253
|
-
var
|
|
48300
|
+
var fs32 = __toESM(require("fs"), 1);
|
|
48254
48301
|
var path35 = __toESM(require("path"), 1);
|
|
48255
48302
|
|
|
48256
48303
|
// src/skills/builtin/a11y-review.ts
|
|
@@ -48271,7 +48318,7 @@ var skill = {
|
|
|
48271
48318
|
async execute(params, context) {
|
|
48272
48319
|
const { chromium } = await import("playwright");
|
|
48273
48320
|
const path36 = await import("path");
|
|
48274
|
-
const
|
|
48321
|
+
const fs33 = await import("fs");
|
|
48275
48322
|
const browser = await launchReapedChrome((options) => chromium.launch(options), {
|
|
48276
48323
|
headless: true
|
|
48277
48324
|
});
|
|
@@ -48329,8 +48376,8 @@ var skill = {
|
|
|
48329
48376
|
tree: typeof tree === "string" ? tree : JSON.stringify(tree)
|
|
48330
48377
|
};
|
|
48331
48378
|
const reportPath = path36.join(context.outputDir, "a11y-report.json");
|
|
48332
|
-
|
|
48333
|
-
|
|
48379
|
+
fs33.mkdirSync(path36.dirname(reportPath), { recursive: true });
|
|
48380
|
+
fs33.writeFileSync(reportPath, JSON.stringify(report, null, 2));
|
|
48334
48381
|
return {
|
|
48335
48382
|
success: issues.filter((i) => i.severity === "error").length === 0,
|
|
48336
48383
|
message: `${report.errors} errors, ${report.warnings} warnings across ${report.nodeCount} nodes`,
|
|
@@ -48363,14 +48410,14 @@ var skill2 = {
|
|
|
48363
48410
|
}
|
|
48364
48411
|
},
|
|
48365
48412
|
async execute(params, context) {
|
|
48366
|
-
const
|
|
48413
|
+
const fs33 = await import("node:fs");
|
|
48367
48414
|
const path36 = await import("node:path");
|
|
48368
48415
|
const { COMPAT_RESULT_CAVEAT: COMPAT_RESULT_CAVEAT2, formatPackageStatus: formatPackageStatus2, formatScanCounts: formatScanCounts2, scanDeps: scanDeps2 } = await Promise.resolve().then(() => (init_web(), web_exports));
|
|
48369
48416
|
const packagePath = path36.join(context.projectDir, "package.json");
|
|
48370
|
-
if (!
|
|
48417
|
+
if (!fs33.existsSync(packagePath)) {
|
|
48371
48418
|
return { success: false, message: "No package.json found" };
|
|
48372
48419
|
}
|
|
48373
|
-
const parsed = JSON.parse(
|
|
48420
|
+
const parsed = JSON.parse(fs33.readFileSync(packagePath, "utf8"));
|
|
48374
48421
|
if (!parsed || typeof parsed !== "object") {
|
|
48375
48422
|
return { success: false, message: "package.json is not an object" };
|
|
48376
48423
|
}
|
|
@@ -48383,8 +48430,8 @@ var skill2 = {
|
|
|
48383
48430
|
const packageResult = params.packageName ? scan.packages[0] : void 0;
|
|
48384
48431
|
const message = packageResult ? `${params.packageName}: ${formatPackageStatus2(packageResult)}. ${COMPAT_RESULT_CAVEAT2}` : `${formatScanCounts2(scan)}. ${COMPAT_RESULT_CAVEAT2}`;
|
|
48385
48432
|
const reportPath = path36.join(context.outputDir, "compat-report.json");
|
|
48386
|
-
|
|
48387
|
-
|
|
48433
|
+
fs33.mkdirSync(path36.dirname(reportPath), { recursive: true });
|
|
48434
|
+
fs33.writeFileSync(reportPath, `${JSON.stringify(scan, null, 2)}
|
|
48388
48435
|
`);
|
|
48389
48436
|
return {
|
|
48390
48437
|
success: true,
|
|
@@ -48426,7 +48473,7 @@ var skill3 = {
|
|
|
48426
48473
|
record: { type: "boolean", description: "Record video of the flow" }
|
|
48427
48474
|
},
|
|
48428
48475
|
async execute(params, context) {
|
|
48429
|
-
const
|
|
48476
|
+
const fs33 = await import("fs");
|
|
48430
48477
|
const path36 = await import("path");
|
|
48431
48478
|
const yaml2 = await import("yaml");
|
|
48432
48479
|
const { DEFAULT_SOOTSIM_BRIDGE_PORT: DEFAULT_SOOTSIM_BRIDGE_PORT3 } = await Promise.resolve().then(() => (init_bridge_constants(), bridge_constants_exports));
|
|
@@ -48437,7 +48484,7 @@ var skill3 = {
|
|
|
48437
48484
|
const host2 = new SootSimBridgeHost2({ port: DEFAULT_SOOTSIM_BRIDGE_PORT3 });
|
|
48438
48485
|
host2.start({ silent: true });
|
|
48439
48486
|
try {
|
|
48440
|
-
const flowContent =
|
|
48487
|
+
const flowContent = fs33.readFileSync(params.flowPath, "utf8");
|
|
48441
48488
|
const fmMatch = flowContent.match(/^---\n([\s\S]*?)\n---\n?/);
|
|
48442
48489
|
const stepsBody = fmMatch ? flowContent.slice(fmMatch[0].length) : flowContent;
|
|
48443
48490
|
const steps = yaml2.parse(stepsBody);
|
|
@@ -48534,7 +48581,7 @@ var skill4 = {
|
|
|
48534
48581
|
async execute(params, context) {
|
|
48535
48582
|
const { chromium } = await import("playwright");
|
|
48536
48583
|
const path36 = await import("path");
|
|
48537
|
-
const
|
|
48584
|
+
const fs33 = await import("fs");
|
|
48538
48585
|
const browser = await launchReapedChrome((options) => chromium.launch(options), {
|
|
48539
48586
|
headless: true
|
|
48540
48587
|
});
|
|
@@ -48563,8 +48610,8 @@ var skill4 = {
|
|
|
48563
48610
|
fps: syncCount > 0 ? (syncCount / (duration / 1e3)).toFixed(1) : "0"
|
|
48564
48611
|
};
|
|
48565
48612
|
const reportPath = path36.join(context.outputDir, "perf-report.json");
|
|
48566
|
-
|
|
48567
|
-
|
|
48613
|
+
fs33.mkdirSync(path36.dirname(reportPath), { recursive: true });
|
|
48614
|
+
fs33.writeFileSync(reportPath, JSON.stringify(report, null, 2));
|
|
48568
48615
|
return {
|
|
48569
48616
|
success: true,
|
|
48570
48617
|
message: `${report.fps} fps, ${profile.avgSyncMs?.toFixed(1)}ms avg sync, ${nodeCount} nodes`,
|
|
@@ -48598,7 +48645,7 @@ var skill5 = {
|
|
|
48598
48645
|
async execute(params, context) {
|
|
48599
48646
|
const { chromium } = await import("playwright");
|
|
48600
48647
|
const path36 = await import("path");
|
|
48601
|
-
const
|
|
48648
|
+
const fs33 = await import("fs");
|
|
48602
48649
|
const browser = await launchReapedChrome((options) => chromium.launch(options), {
|
|
48603
48650
|
headless: true
|
|
48604
48651
|
});
|
|
@@ -48607,7 +48654,7 @@ var skill5 = {
|
|
|
48607
48654
|
await page.goto(context.url, { waitUntil: "networkidle" });
|
|
48608
48655
|
await page.waitForTimeout(2e3);
|
|
48609
48656
|
const outputPath = path36.join(context.outputDir, `${params.name}.png`);
|
|
48610
|
-
|
|
48657
|
+
fs33.mkdirSync(path36.dirname(outputPath), { recursive: true });
|
|
48611
48658
|
await page.screenshot({ path: outputPath });
|
|
48612
48659
|
return {
|
|
48613
48660
|
success: true,
|
|
@@ -48649,7 +48696,7 @@ var skill6 = {
|
|
|
48649
48696
|
async execute(params, context) {
|
|
48650
48697
|
const { chromium } = await import("playwright");
|
|
48651
48698
|
const path36 = await import("path");
|
|
48652
|
-
const
|
|
48699
|
+
const fs33 = await import("fs");
|
|
48653
48700
|
const browser = await launchReapedChrome((options) => chromium.launch(options), {
|
|
48654
48701
|
headless: true
|
|
48655
48702
|
});
|
|
@@ -48658,13 +48705,13 @@ var skill6 = {
|
|
|
48658
48705
|
await page.goto(context.url, { waitUntil: "networkidle" });
|
|
48659
48706
|
await page.waitForTimeout(2e3);
|
|
48660
48707
|
const currentPath = path36.join(context.outputDir, `${params.name}-current.png`);
|
|
48661
|
-
|
|
48708
|
+
fs33.mkdirSync(path36.dirname(currentPath), { recursive: true });
|
|
48662
48709
|
await page.screenshot({ path: currentPath });
|
|
48663
48710
|
try {
|
|
48664
48711
|
const { PNG } = await import("pngjs");
|
|
48665
48712
|
const pixelmatch = (await import("pixelmatch")).default;
|
|
48666
|
-
const baseline = PNG.sync.read(
|
|
48667
|
-
const current = PNG.sync.read(
|
|
48713
|
+
const baseline = PNG.sync.read(fs33.readFileSync(params.baseline));
|
|
48714
|
+
const current = PNG.sync.read(fs33.readFileSync(currentPath));
|
|
48668
48715
|
const { width, height } = baseline;
|
|
48669
48716
|
const diff = new PNG({ width, height });
|
|
48670
48717
|
const numDiffPixels = pixelmatch(
|
|
@@ -48676,7 +48723,7 @@ var skill6 = {
|
|
|
48676
48723
|
{ threshold: params.threshold || 0.1 }
|
|
48677
48724
|
);
|
|
48678
48725
|
const diffPath = path36.join(context.outputDir, `${params.name}-diff.png`);
|
|
48679
|
-
|
|
48726
|
+
fs33.writeFileSync(diffPath, PNG.sync.write(diff));
|
|
48680
48727
|
const totalPixels = width * height;
|
|
48681
48728
|
const diffPercent = (numDiffPixels / totalPixels * 100).toFixed(2);
|
|
48682
48729
|
return {
|
|
@@ -48741,9 +48788,9 @@ var skillRegistry = {
|
|
|
48741
48788
|
// load skills from a project manifest (rnx-skills.json)
|
|
48742
48789
|
async loadFromManifest(projectDir) {
|
|
48743
48790
|
const manifestPath = path35.join(projectDir, "rnx-skills.json");
|
|
48744
|
-
if (!
|
|
48791
|
+
if (!fs32.existsSync(manifestPath)) return;
|
|
48745
48792
|
try {
|
|
48746
|
-
const manifest = JSON.parse(
|
|
48793
|
+
const manifest = JSON.parse(fs32.readFileSync(manifestPath, "utf8"));
|
|
48747
48794
|
if (Array.isArray(manifest.skills)) {
|
|
48748
48795
|
for (const entry of manifest.skills) {
|
|
48749
48796
|
if (typeof entry === "string") {
|
|
@@ -48768,9 +48815,9 @@ var skillRegistry = {
|
|
|
48768
48815
|
suggestSkills(projectDir) {
|
|
48769
48816
|
const suggestions = [];
|
|
48770
48817
|
const pkgPath = path35.join(projectDir, "package.json");
|
|
48771
|
-
if (!
|
|
48818
|
+
if (!fs32.existsSync(pkgPath)) return suggestions;
|
|
48772
48819
|
try {
|
|
48773
|
-
const pkg = JSON.parse(
|
|
48820
|
+
const pkg = JSON.parse(fs32.readFileSync(pkgPath, "utf8"));
|
|
48774
48821
|
const deps = { ...pkg.dependencies, ...pkg.devDependencies };
|
|
48775
48822
|
if (deps["detox"] || deps["maestro"]) {
|
|
48776
48823
|
suggestions.push("maestro-test");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.774 | (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;
|
|
@@ -437,13 +437,18 @@ var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
|
|
|
437
437
|
TikTokBusinessSDK: [],
|
|
438
438
|
nSure: [],
|
|
439
439
|
Statsig: [],
|
|
440
|
+
RiveRuntime: ["MetalKit"],
|
|
441
|
+
MetalKit: [],
|
|
440
442
|
DatadogCore: [],
|
|
441
443
|
DatadogLogs: ["DatadogCore"],
|
|
442
444
|
DatadogRUM: ["DatadogCore"],
|
|
443
445
|
DatadogTrace: ["DatadogCore"],
|
|
444
446
|
AppLovinSDK: [],
|
|
445
447
|
AppsFlyerLib: [],
|
|
446
|
-
FBSDKCoreKit: [],
|
|
448
|
+
FBSDKCoreKit: ["FBAEMKit", "FBSDKCoreKit_Basics"],
|
|
449
|
+
FBAEMKit: ["FBSDKCoreKit_Basics"],
|
|
450
|
+
FBSDKCoreKit_Basics: [],
|
|
451
|
+
Intercom: [],
|
|
447
452
|
FBAudienceNetwork: []
|
|
448
453
|
};
|
|
449
454
|
var OPTIONAL_FRAMEWORKS = new Set(Object.keys(OPTIONAL_FRAMEWORK_DEPENDENCIES));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.774 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swift-compile.ts
|
|
4
4
|
import { execFile as execFile2, execFileSync } from "node:child_process";
|
|
@@ -388,13 +388,18 @@ var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
|
|
|
388
388
|
TikTokBusinessSDK: [],
|
|
389
389
|
nSure: [],
|
|
390
390
|
Statsig: [],
|
|
391
|
+
RiveRuntime: ["MetalKit"],
|
|
392
|
+
MetalKit: [],
|
|
391
393
|
DatadogCore: [],
|
|
392
394
|
DatadogLogs: ["DatadogCore"],
|
|
393
395
|
DatadogRUM: ["DatadogCore"],
|
|
394
396
|
DatadogTrace: ["DatadogCore"],
|
|
395
397
|
AppLovinSDK: [],
|
|
396
398
|
AppsFlyerLib: [],
|
|
397
|
-
FBSDKCoreKit: [],
|
|
399
|
+
FBSDKCoreKit: ["FBAEMKit", "FBSDKCoreKit_Basics"],
|
|
400
|
+
FBAEMKit: ["FBSDKCoreKit_Basics"],
|
|
401
|
+
FBSDKCoreKit_Basics: [],
|
|
402
|
+
Intercom: [],
|
|
398
403
|
FBAudienceNetwork: []
|
|
399
404
|
};
|
|
400
405
|
var OPTIONAL_FRAMEWORKS = new Set(Object.keys(OPTIONAL_FRAMEWORK_DEPENDENCIES));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.774 | (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;
|