peachsim 0.1.728 → 0.1.730
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/preview.ts +236 -8
- package/cli/commands/skills.ts +41 -3
- package/cli/outbound-endpoints.ts +6 -0
- 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 +3 -2
- 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 +89 -63
- package/dist-lib/swift-compile.cjs +3 -2
- package/dist-lib/swift-compile.mjs +3 -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 +3 -2
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/src/swift-compile.ts +2 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.730 | (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/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.730 | (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/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.730 | (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.730 | (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.730 | (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.730 | (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.730 | (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.730 | (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/plist.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.730 | (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/plist.mjs
CHANGED
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.730 | (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.730 | (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.730 | (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.730 | (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.730 | (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.730 | (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/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.730 | (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);
|
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.730 | (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;
|
|
@@ -21688,9 +21688,9 @@ function swiftManifestTargets(manifest, resourcePaths = []) {
|
|
|
21688
21688
|
const prefix = targetPath === "." ? "" : `${targetPath}/`;
|
|
21689
21689
|
const resources = /\bresources\s*:/.test(flat) || implicitResources.some((file) => {
|
|
21690
21690
|
if (!file.startsWith(prefix)) return false;
|
|
21691
|
-
const
|
|
21691
|
+
const relative3 = file.slice(prefix.length);
|
|
21692
21692
|
if (excluded.some(
|
|
21693
|
-
(exclude) =>
|
|
21693
|
+
(exclude) => relative3 === exclude || relative3.startsWith(`${exclude}/`)
|
|
21694
21694
|
))
|
|
21695
21695
|
return false;
|
|
21696
21696
|
return true;
|
|
@@ -21741,9 +21741,9 @@ function swiftModuleInputFiles(root) {
|
|
|
21741
21741
|
];
|
|
21742
21742
|
const walk = (dir) => {
|
|
21743
21743
|
for (const entry of (0, import_node_fs7.readdirSync)(import_node_path7.default.join(root, dir), { withFileTypes: true })) {
|
|
21744
|
-
const
|
|
21745
|
-
if (entry.isDirectory()) walk(
|
|
21746
|
-
else if (/\.(swift|c|cpp|h)$/.test(entry.name)) files.push(
|
|
21744
|
+
const relative3 = `${dir}/${entry.name}`;
|
|
21745
|
+
if (entry.isDirectory()) walk(relative3);
|
|
21746
|
+
else if (/\.(swift|c|cpp|h)$/.test(entry.name)) files.push(relative3);
|
|
21747
21747
|
}
|
|
21748
21748
|
};
|
|
21749
21749
|
walk("Sources");
|
|
@@ -22714,7 +22714,8 @@ var init_swift_compile = __esm({
|
|
|
22714
22714
|
Accelerate: [],
|
|
22715
22715
|
CryptoKit: [],
|
|
22716
22716
|
CommonCrypto: [],
|
|
22717
|
-
|
|
22717
|
+
CoreText: [],
|
|
22718
|
+
Security: ["CryptoKit"],
|
|
22718
22719
|
TikTokBusinessSDK: [],
|
|
22719
22720
|
nSure: [],
|
|
22720
22721
|
Statsig: [],
|
|
@@ -24090,8 +24091,8 @@ function packageFiles(root) {
|
|
|
24090
24091
|
const full = import_node_path13.default.join(dir, entry.name);
|
|
24091
24092
|
if (entry.isSymbolicLink()) throw new Error(`swift input is a symlink: ${full}`);
|
|
24092
24093
|
const real = import_node_fs13.default.realpathSync(full);
|
|
24093
|
-
const
|
|
24094
|
-
if (
|
|
24094
|
+
const relative3 = import_node_path13.default.relative(canonicalRoot, real);
|
|
24095
|
+
if (relative3.startsWith(`..${import_node_path13.default.sep}`) || relative3 === ".." || import_node_path13.default.isAbsolute(relative3)) {
|
|
24095
24096
|
throw new Error(`swift input escapes the selected package: ${full}`);
|
|
24096
24097
|
}
|
|
24097
24098
|
if (entry.isDirectory()) {
|
|
@@ -24108,8 +24109,8 @@ function packageFiles(root) {
|
|
|
24108
24109
|
}
|
|
24109
24110
|
function readPackageFile(root, file, maxBytes) {
|
|
24110
24111
|
const canonicalRoot = import_node_fs13.default.realpathSync(root);
|
|
24111
|
-
const
|
|
24112
|
-
if (
|
|
24112
|
+
const relative3 = import_node_path13.default.relative(canonicalRoot, import_node_fs13.default.realpathSync(file));
|
|
24113
|
+
if (relative3 === ".." || relative3.startsWith(`..${import_node_path13.default.sep}`) || import_node_path13.default.isAbsolute(relative3)) {
|
|
24113
24114
|
throw new Error(`swift input escapes the selected package: ${file}`);
|
|
24114
24115
|
}
|
|
24115
24116
|
let ancestor = import_node_path13.default.resolve(file);
|
|
@@ -24159,10 +24160,10 @@ function resourceCandidateFiles(root) {
|
|
|
24159
24160
|
}
|
|
24160
24161
|
function buildSwiftResourceTable(project, baseUrl) {
|
|
24161
24162
|
const absolute = resourceCandidateFiles(project.packagePath);
|
|
24162
|
-
const
|
|
24163
|
+
const relative3 = absolute.map(
|
|
24163
24164
|
(file) => import_node_path13.default.relative(project.packagePath, file).split(import_node_path13.default.sep).join(import_node_path13.default.posix.sep)
|
|
24164
24165
|
);
|
|
24165
|
-
const byRelative = new Map(absolute.map((file, index) => [
|
|
24166
|
+
const byRelative = new Map(absolute.map((file, index) => [relative3[index], file]));
|
|
24166
24167
|
const readContents = (candidate) => {
|
|
24167
24168
|
const file = byRelative.get(candidate);
|
|
24168
24169
|
if (!file || !/(^|\/)Contents\.json$|\.symbolset\/[^/]+\.svg$/.test(candidate))
|
|
@@ -24173,9 +24174,9 @@ function buildSwiftResourceTable(project, baseUrl) {
|
|
|
24173
24174
|
MAX_SWIFT_COMPILE_RESOURCE_BYTES
|
|
24174
24175
|
).toString("utf8");
|
|
24175
24176
|
};
|
|
24176
|
-
const found = enumerateBundleImages(
|
|
24177
|
-
const colors = enumerateBundleColors(
|
|
24178
|
-
const symbols = enumerateBundleSymbols(
|
|
24177
|
+
const found = enumerateBundleImages(relative3, readContents);
|
|
24178
|
+
const colors = enumerateBundleColors(relative3, readContents);
|
|
24179
|
+
const symbols = enumerateBundleSymbols(relative3, readContents);
|
|
24179
24180
|
const table = {};
|
|
24180
24181
|
const images = {};
|
|
24181
24182
|
const watched = [];
|
|
@@ -24208,7 +24209,7 @@ function buildSwiftResourceTable(project, baseUrl) {
|
|
|
24208
24209
|
contentType: RESOURCE_CONTENT_TYPES[ext] ?? "application/octet-stream"
|
|
24209
24210
|
});
|
|
24210
24211
|
}
|
|
24211
|
-
for (const file of
|
|
24212
|
+
for (const file of relative3) {
|
|
24212
24213
|
if (file.endsWith(".colorset/Contents.json") || file.includes(".symbolset/"))
|
|
24213
24214
|
watched.push(file);
|
|
24214
24215
|
}
|
|
@@ -24222,13 +24223,13 @@ function buildSwiftResourceTable(project, baseUrl) {
|
|
|
24222
24223
|
}
|
|
24223
24224
|
function buildSwiftBundleFiles(packagePath) {
|
|
24224
24225
|
packagePath = import_node_fs13.default.realpathSync(packagePath);
|
|
24225
|
-
const
|
|
24226
|
+
const relative3 = resourceCandidateFiles(packagePath).map(
|
|
24226
24227
|
(file) => import_node_path13.default.relative(packagePath, file).split(import_node_path13.default.sep).join(import_node_path13.default.posix.sep)
|
|
24227
24228
|
);
|
|
24228
24229
|
const files = {};
|
|
24229
24230
|
const watched = [];
|
|
24230
24231
|
let total = 0;
|
|
24231
|
-
for (const { base, file } of enumerateBundleJson(
|
|
24232
|
+
for (const { base, file } of enumerateBundleJson(relative3)) {
|
|
24232
24233
|
watched.push(file);
|
|
24233
24234
|
const disk = import_node_path13.default.join(packagePath, ...file.split("/"));
|
|
24234
24235
|
if (Object.keys(files).length >= BUNDLE_MAX_FILES || total + import_node_fs13.default.statSync(disk).size > BUNDLE_MAX_TOTAL_BYTES) {
|
|
@@ -24279,9 +24280,9 @@ function sourceStamp(packagePath, moduleRootOverride, hosted = false) {
|
|
|
24279
24280
|
);
|
|
24280
24281
|
if (moduleRoot) {
|
|
24281
24282
|
hash.update(moduleRoot);
|
|
24282
|
-
for (const
|
|
24283
|
-
hash.update(
|
|
24284
|
-
hash.update(String(import_node_fs13.default.statSync(import_node_path13.default.join(moduleRoot,
|
|
24283
|
+
for (const relative3 of swiftModuleInputFiles(moduleRoot)) {
|
|
24284
|
+
hash.update(relative3);
|
|
24285
|
+
hash.update(String(import_node_fs13.default.statSync(import_node_path13.default.join(moduleRoot, relative3)).mtimeMs));
|
|
24285
24286
|
}
|
|
24286
24287
|
}
|
|
24287
24288
|
return hash.digest("hex").slice(0, 16);
|
|
@@ -24299,8 +24300,8 @@ function packageSources(packagePath) {
|
|
|
24299
24300
|
throw new Error("swift source byte cap exceeded");
|
|
24300
24301
|
const files = {};
|
|
24301
24302
|
for (const file of sources) {
|
|
24302
|
-
const
|
|
24303
|
-
files[
|
|
24303
|
+
const relative3 = import_node_path13.default.relative(packagePath, file).split(import_node_path13.default.sep).join(import_node_path13.default.posix.sep);
|
|
24304
|
+
files[relative3] = readPackageFile(
|
|
24304
24305
|
packagePath,
|
|
24305
24306
|
file,
|
|
24306
24307
|
MAX_SWIFT_COMPILE_SOURCE_BYTES
|
|
@@ -27269,19 +27270,19 @@ var init_checkout_plane = __esm({
|
|
|
27269
27270
|
}
|
|
27270
27271
|
const next = /* @__PURE__ */ new Map();
|
|
27271
27272
|
const nextSniffed = /* @__PURE__ */ new Map();
|
|
27272
|
-
for (const
|
|
27273
|
-
if (!
|
|
27273
|
+
for (const relative3 of stdout.split("\0")) {
|
|
27274
|
+
if (!relative3) continue;
|
|
27274
27275
|
let stat2;
|
|
27275
27276
|
try {
|
|
27276
|
-
stat2 = import_node_fs19.default.statSync(import_node_path19.default.join(this.root,
|
|
27277
|
+
stat2 = import_node_fs19.default.statSync(import_node_path19.default.join(this.root, relative3));
|
|
27277
27278
|
} catch {
|
|
27278
27279
|
continue;
|
|
27279
27280
|
}
|
|
27280
27281
|
if (!stat2.isFile()) continue;
|
|
27281
|
-
const seen = this.sniffed.get(
|
|
27282
|
-
const binary = seen && seen.size === stat2.size && seen.mtimeMs === stat2.mtimeMs ? seen.binary : looksBinary(import_node_path19.default.join(this.root,
|
|
27283
|
-
nextSniffed.set(
|
|
27284
|
-
next.set(
|
|
27282
|
+
const seen = this.sniffed.get(relative3);
|
|
27283
|
+
const binary = seen && seen.size === stat2.size && seen.mtimeMs === stat2.mtimeMs ? seen.binary : looksBinary(import_node_path19.default.join(this.root, relative3), stat2.size);
|
|
27284
|
+
nextSniffed.set(relative3, { size: stat2.size, mtimeMs: stat2.mtimeMs, binary });
|
|
27285
|
+
next.set(relative3, {
|
|
27285
27286
|
size: stat2.size,
|
|
27286
27287
|
// a checkout carries no write policy of its own; if the user can write
|
|
27287
27288
|
// the file, so can the shell
|
|
@@ -29359,12 +29360,12 @@ var init_devices = __esm({
|
|
|
29359
29360
|
|
|
29360
29361
|
// src/metro-production-bundle.ts
|
|
29361
29362
|
function toRNXProductionBundleUrl(bundleUrl) {
|
|
29362
|
-
const
|
|
29363
|
+
const relative3 = bundleUrl.startsWith("/");
|
|
29363
29364
|
const url = new URL(bundleUrl, "http://peachsim.local");
|
|
29364
29365
|
url.searchParams.set("dev", "false");
|
|
29365
29366
|
url.searchParams.set("hot", "false");
|
|
29366
29367
|
url.searchParams.set("minify", "true");
|
|
29367
|
-
return
|
|
29368
|
+
return relative3 ? `${url.pathname}${url.search}${url.hash}` : url.toString();
|
|
29368
29369
|
}
|
|
29369
29370
|
var RNX_METRO_MODULE_IDENTITY_VERSION;
|
|
29370
29371
|
var init_metro_production_bundle = __esm({
|
|
@@ -29897,8 +29898,8 @@ function metroAssetScaleFilename(name2, type, scale) {
|
|
|
29897
29898
|
const suffix = scale === 1 ? "" : `@${scale}x`;
|
|
29898
29899
|
return `${name2}${suffix}.${type}`;
|
|
29899
29900
|
}
|
|
29900
|
-
function dropDotSegments(
|
|
29901
|
-
return
|
|
29901
|
+
function dropDotSegments(relative3) {
|
|
29902
|
+
return relative3.split("/").filter((part) => part !== "" && part !== "." && part !== "..").join("/");
|
|
29902
29903
|
}
|
|
29903
29904
|
function swapNodeModulesPrefix(part) {
|
|
29904
29905
|
if (part === "node_modules") return "__node_modules";
|
|
@@ -29906,9 +29907,9 @@ function swapNodeModulesPrefix(part) {
|
|
|
29906
29907
|
return part;
|
|
29907
29908
|
}
|
|
29908
29909
|
function metroIosAssetDestRelatives(httpServerLocation, filename) {
|
|
29909
|
-
const
|
|
29910
|
-
const classic =
|
|
29911
|
-
const dropped = dropDotSegments(
|
|
29910
|
+
const relative3 = httpServerLocation.startsWith("/") ? httpServerLocation.slice(1) : httpServerLocation;
|
|
29911
|
+
const classic = relative3.replace(/\.\.\//g, "_");
|
|
29912
|
+
const dropped = dropDotSegments(relative3);
|
|
29912
29913
|
const dirs = [];
|
|
29913
29914
|
for (const base of [classic, dropped]) {
|
|
29914
29915
|
if (!base) continue;
|
|
@@ -29927,8 +29928,8 @@ function metroIosAssetDestRelatives(httpServerLocation, filename) {
|
|
|
29927
29928
|
return out;
|
|
29928
29929
|
}
|
|
29929
29930
|
function metroIosAssetLocationSuffixes(httpServerLocation) {
|
|
29930
|
-
const
|
|
29931
|
-
const dropped =
|
|
29931
|
+
const relative3 = httpServerLocation.startsWith("/") ? httpServerLocation.slice(1) : httpServerLocation;
|
|
29932
|
+
const dropped = relative3.split("/").filter((part) => part !== "" && part !== "." && part !== "..");
|
|
29932
29933
|
const variants = [dropped];
|
|
29933
29934
|
if (dropped[0] === "assets" && dropped.length > 1) variants.push(dropped.slice(1));
|
|
29934
29935
|
const suffixes = [];
|
|
@@ -31822,15 +31823,15 @@ function placementCombinations(perScale) {
|
|
|
31822
31823
|
function distinctByContent(directory, options) {
|
|
31823
31824
|
if (options.length < 2) return [...options];
|
|
31824
31825
|
const byContent = /* @__PURE__ */ new Map();
|
|
31825
|
-
for (const
|
|
31826
|
+
for (const relative3 of options) {
|
|
31826
31827
|
let bytes;
|
|
31827
31828
|
try {
|
|
31828
|
-
bytes = (0, import_node_fs23.readFileSync)((0, import_node_path23.join)(directory,
|
|
31829
|
+
bytes = (0, import_node_fs23.readFileSync)((0, import_node_path23.join)(directory, relative3));
|
|
31829
31830
|
} catch {
|
|
31830
31831
|
continue;
|
|
31831
31832
|
}
|
|
31832
31833
|
const digest = (0, import_node_crypto11.createHash)("md5").update(bytes).digest("hex");
|
|
31833
|
-
if (!byContent.has(digest)) byContent.set(digest,
|
|
31834
|
+
if (!byContent.has(digest)) byContent.set(digest, relative3);
|
|
31834
31835
|
}
|
|
31835
31836
|
return [...byContent.values()];
|
|
31836
31837
|
}
|
|
@@ -31857,7 +31858,7 @@ function placeMetroDescriptor(listing, descriptor) {
|
|
|
31857
31858
|
let bytes;
|
|
31858
31859
|
try {
|
|
31859
31860
|
bytes = combination.map(
|
|
31860
|
-
(
|
|
31861
|
+
(relative3) => (0, import_node_fs23.readFileSync)((0, import_node_path23.join)(listing.directory, relative3))
|
|
31861
31862
|
);
|
|
31862
31863
|
} catch {
|
|
31863
31864
|
continue;
|
|
@@ -31871,8 +31872,8 @@ function placeMetroDescriptor(listing, descriptor) {
|
|
|
31871
31872
|
if (!identical) continue;
|
|
31872
31873
|
const chosen = /* @__PURE__ */ new Map();
|
|
31873
31874
|
scales.forEach((scale, index) => {
|
|
31874
|
-
const
|
|
31875
|
-
if (
|
|
31875
|
+
const relative3 = combination[index];
|
|
31876
|
+
if (relative3) chosen.set(scale, relative3);
|
|
31876
31877
|
});
|
|
31877
31878
|
return { files: chosen, ambiguous: [], verified: true, mismatched: false };
|
|
31878
31879
|
}
|
|
@@ -31883,7 +31884,7 @@ function placeMetroDescriptor(listing, descriptor) {
|
|
|
31883
31884
|
}
|
|
31884
31885
|
function unverifiedFileKey(dest) {
|
|
31885
31886
|
return dest.placements.filter((placement) => !placement.verified).flatMap(
|
|
31886
|
-
(placement) => [...placement.files.values()].map((
|
|
31887
|
+
(placement) => [...placement.files.values()].map((relative3) => (0, import_node_path23.join)(dest.directory, relative3))
|
|
31887
31888
|
).sort().join("\n");
|
|
31888
31889
|
}
|
|
31889
31890
|
function searchMetroAssetDest(bundlePath, descriptors) {
|
|
@@ -32027,8 +32028,8 @@ async function embedBundleAssets(bundlePath, command, assetPolicy) {
|
|
|
32027
32028
|
`${command} found ${variant.descriptor.name}.${variant.descriptor.type} in ${dest.directory}, but its bytes are not the ones this bundle was built against. Rebuild with \`react-native bundle --assets-dest ${dest.directory}\` so the bundle and the images match.`
|
|
32028
32029
|
);
|
|
32029
32030
|
}
|
|
32030
|
-
const
|
|
32031
|
-
if (
|
|
32031
|
+
const relative3 = placement?.files.get(variant.scale);
|
|
32032
|
+
if (relative3 && dest) return (0, import_node_fs23.readFileSync)((0, import_node_path23.join)(dest.directory, relative3));
|
|
32032
32033
|
if (placement && placement.files.size > 0) return null;
|
|
32033
32034
|
if (placement && placement.ambiguous.length > 0 && dest) {
|
|
32034
32035
|
throw new Error(
|
|
@@ -34979,8 +34980,8 @@ function checkoutRoot(cwd) {
|
|
|
34979
34980
|
}
|
|
34980
34981
|
}
|
|
34981
34982
|
function pathContains(parent, child) {
|
|
34982
|
-
const
|
|
34983
|
-
return
|
|
34983
|
+
const relative3 = import_node_path25.default.relative(parent, child);
|
|
34984
|
+
return relative3 === "" || relative3 !== ".." && !relative3.startsWith(`..${import_node_path25.default.sep}`) && !import_node_path25.default.isAbsolute(relative3);
|
|
34984
34985
|
}
|
|
34985
34986
|
function resolveDefaultDevBridgeLockfile() {
|
|
34986
34987
|
const lockfiles = liveDevBridgeLockfiles();
|
|
@@ -36292,11 +36293,11 @@ function discoverAppCatalog(appDir) {
|
|
|
36292
36293
|
if (entry.isDirectory() && entry.name.endsWith(".xcassets"))
|
|
36293
36294
|
catalogFiles(import_node_path28.default.join(targetDir, entry.name), files);
|
|
36294
36295
|
}
|
|
36295
|
-
const
|
|
36296
|
+
const relative3 = files.map(
|
|
36296
36297
|
(file) => import_node_path28.default.relative(targetDir, file).split(import_node_path28.default.sep).join(import_node_path28.default.posix.sep)
|
|
36297
36298
|
);
|
|
36298
36299
|
const colors = enumerateBundleColors(
|
|
36299
|
-
|
|
36300
|
+
relative3,
|
|
36300
36301
|
(candidate) => candidate.endsWith("Contents.json") ? readText(import_node_path28.default.join(targetDir, candidate)) : null
|
|
36301
36302
|
);
|
|
36302
36303
|
const pbxproj = listDir(iosDir).find((entry) => entry.name.endsWith(".xcodeproj"));
|
|
@@ -36500,8 +36501,8 @@ function discoverNativeLinkedAppFonts(opts) {
|
|
|
36500
36501
|
continue;
|
|
36501
36502
|
}
|
|
36502
36503
|
if (!entry.isFile() || !/\.(ttf|otf|woff|woff2)$/i.test(entry.name)) continue;
|
|
36503
|
-
const
|
|
36504
|
-
fontPaths.push(import_node_path31.default.posix.join(metroPathPrefix,
|
|
36504
|
+
const relative3 = import_node_path31.default.relative(root, fullPath).split(import_node_path31.default.sep).join("/");
|
|
36505
|
+
fontPaths.push(import_node_path31.default.posix.join(metroPathPrefix, relative3));
|
|
36505
36506
|
if (fontPaths.length >= 256) break;
|
|
36506
36507
|
}
|
|
36507
36508
|
}
|
|
@@ -36602,8 +36603,8 @@ function discoverNativeLinkedAppFonts(opts) {
|
|
|
36602
36603
|
import_node_path31.default.resolve(iosDir, declaredFont)
|
|
36603
36604
|
];
|
|
36604
36605
|
const fontPath = candidates.find((candidate) => {
|
|
36605
|
-
const
|
|
36606
|
-
if (
|
|
36606
|
+
const relative3 = import_node_path31.default.relative(selectedAppDir, candidate);
|
|
36607
|
+
if (relative3.startsWith("..") || import_node_path31.default.isAbsolute(relative3)) return false;
|
|
36607
36608
|
try {
|
|
36608
36609
|
return import_node_fs30.default.statSync(candidate).isFile();
|
|
36609
36610
|
} catch {
|
|
@@ -39808,12 +39809,36 @@ function getSkillsDir() {
|
|
|
39808
39809
|
const pkgPath = (0, import_url3.fileURLToPath)(
|
|
39809
39810
|
import_meta4.resolve(`${rnxPublicBrand.packageName}/package.json`)
|
|
39810
39811
|
);
|
|
39811
|
-
return path26.join(path26.dirname(pkgPath), "skills");
|
|
39812
|
+
return primaryCheckoutPath(path26.join(path26.dirname(pkgPath), "skills"));
|
|
39812
39813
|
} catch {
|
|
39813
39814
|
const __dirname = path26.dirname((0, import_url3.fileURLToPath)(__sootsim_import_meta_url));
|
|
39814
|
-
return path26.resolve(__dirname, "../../skills");
|
|
39815
|
+
return primaryCheckoutPath(path26.resolve(__dirname, "../../skills"));
|
|
39815
39816
|
}
|
|
39816
39817
|
}
|
|
39818
|
+
function primaryCheckoutPath(dir) {
|
|
39819
|
+
let top;
|
|
39820
|
+
let common;
|
|
39821
|
+
try {
|
|
39822
|
+
const out = (0, import_child_process7.execFileSync)(
|
|
39823
|
+
"git",
|
|
39824
|
+
[
|
|
39825
|
+
"-C",
|
|
39826
|
+
dir,
|
|
39827
|
+
"rev-parse",
|
|
39828
|
+
"--path-format=absolute",
|
|
39829
|
+
"--show-toplevel",
|
|
39830
|
+
"--git-common-dir"
|
|
39831
|
+
],
|
|
39832
|
+
{ encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }
|
|
39833
|
+
);
|
|
39834
|
+
[top, common] = out.trim().split("\n");
|
|
39835
|
+
} catch {
|
|
39836
|
+
return dir;
|
|
39837
|
+
}
|
|
39838
|
+
if (path26.basename(common) !== ".git") return dir;
|
|
39839
|
+
const primary = path26.join(path26.dirname(common), path26.relative(top, dir));
|
|
39840
|
+
return fs23.existsSync(primary) ? primary : dir;
|
|
39841
|
+
}
|
|
39817
39842
|
function skillsDir() {
|
|
39818
39843
|
skillsDirPath ??= getSkillsDir();
|
|
39819
39844
|
return skillsDirPath;
|
|
@@ -39888,10 +39913,11 @@ function listSkills() {
|
|
|
39888
39913
|
}
|
|
39889
39914
|
return skills.sort((a, b) => a.name.localeCompare(b.name));
|
|
39890
39915
|
}
|
|
39891
|
-
var fs23, os6, path26, import_url3, import_meta4, skillsDirPath;
|
|
39916
|
+
var import_child_process7, fs23, os6, path26, import_url3, import_meta4, skillsDirPath;
|
|
39892
39917
|
var init_skills = __esm({
|
|
39893
39918
|
"cli/commands/skills.ts"() {
|
|
39894
39919
|
"use strict";
|
|
39920
|
+
import_child_process7 = require("child_process");
|
|
39895
39921
|
fs23 = __toESM(require("fs"), 1);
|
|
39896
39922
|
os6 = __toESM(require("os"), 1);
|
|
39897
39923
|
path26 = __toESM(require("path"), 1);
|
|
@@ -42701,7 +42727,7 @@ function executeSyncHttp(url, method, params) {
|
|
|
42701
42727
|
}
|
|
42702
42728
|
}
|
|
42703
42729
|
const self = rnxSelfInvocation();
|
|
42704
|
-
const child = (0,
|
|
42730
|
+
const child = (0, import_child_process8.spawnSync)(
|
|
42705
42731
|
self.executable,
|
|
42706
42732
|
[...self.prefixArgs, RNX_INTERNAL_COMMAND, RNX_INTERNAL_CHILDREN.syncHttp],
|
|
42707
42733
|
{
|
|
@@ -42757,11 +42783,11 @@ function scriptConditionIsTruthy(value) {
|
|
|
42757
42783
|
if (!Number.isNaN(num) && num === 0) return false;
|
|
42758
42784
|
return true;
|
|
42759
42785
|
}
|
|
42760
|
-
var
|
|
42786
|
+
var import_child_process8, vm, HTTP_TIMEOUT_MS, TEMPLATE_RE, ESCAPED_TEMPLATE_RE, BARE_IDENTIFIER_RE, MaestroJsContext;
|
|
42761
42787
|
var init_maestro_js = __esm({
|
|
42762
42788
|
"cli/maestro-js.ts"() {
|
|
42763
42789
|
"use strict";
|
|
42764
|
-
|
|
42790
|
+
import_child_process8 = require("child_process");
|
|
42765
42791
|
vm = __toESM(require("vm"), 1);
|
|
42766
42792
|
init_internal_child();
|
|
42767
42793
|
init_self_invocation();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.730 | (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;
|
|
@@ -393,7 +393,8 @@ var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
|
|
|
393
393
|
Accelerate: [],
|
|
394
394
|
CryptoKit: [],
|
|
395
395
|
CommonCrypto: [],
|
|
396
|
-
|
|
396
|
+
CoreText: [],
|
|
397
|
+
Security: ["CryptoKit"],
|
|
397
398
|
TikTokBusinessSDK: [],
|
|
398
399
|
nSure: [],
|
|
399
400
|
Statsig: [],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.730 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swift-compile.ts
|
|
4
4
|
import { execFile as execFile2 } from "node:child_process";
|
|
@@ -352,7 +352,8 @@ var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
|
|
|
352
352
|
Accelerate: [],
|
|
353
353
|
CryptoKit: [],
|
|
354
354
|
CommonCrypto: [],
|
|
355
|
-
|
|
355
|
+
CoreText: [],
|
|
356
|
+
Security: ["CryptoKit"],
|
|
356
357
|
TikTokBusinessSDK: [],
|
|
357
358
|
nSure: [],
|
|
358
359
|
Statsig: [],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.730 | (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.730 | (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.730 | (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/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.730 | (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;
|