peachsim 0.1.2499 → 0.1.2501
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/agent-note.ts +76 -59
- package/cli/cloud-client.ts +59 -1
- package/cli/cloud-dispatch.ts +8 -1
- package/cli/commands/serve.ts +30 -5
- package/cli/commands/stream.ts +29 -33
- package/cli/outbound-endpoints.ts +2 -0
- package/cli/stream-record.ts +56 -0
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.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 +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +1 -1
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +35 -19
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-IYZTMBZB.mjs → acorn-XLK7SBHL.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-L7PBNY33.mjs → chunk-25643EL3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RTF2ZDLQ.mjs → chunk-3T5RPBW5.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-2QXY3HHQ.mjs → chunk-5LE57Z5X.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4BQEG5SG.mjs → chunk-5Y2ZUQ37.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-O2NAIB7T.mjs → chunk-6DUYSLC5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QSN7ACP5.mjs → chunk-75LAM6AV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NC3S3RUQ.mjs → chunk-AAILWQLM.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-MKWEZN5Y.mjs → chunk-GQDCVETO.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-AF4M23XW.mjs → chunk-IQETEUAE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZVA3TIMK.mjs → chunk-KWQK346V.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JWXQPOE4.mjs → chunk-LPW7NLNH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OUL5LFNX.mjs → chunk-QN2UI3MJ.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-AD5AMO2H.mjs → chunk-QZ5ICO75.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YC6JAUGD.mjs → chunk-RFMQWZYN.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-GEPXMQLD.mjs → chunk-TSVTKA5X.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-O5OXZSPW.mjs → chunk-TZZ624VW.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-TKVDALS6.mjs → chunk-UHQANWOH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-AMCGU7G3.mjs → chunk-VKKYHOAD.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SIG45VVY.mjs → chunk-W2P7WVWW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KNSIBVRX.mjs → chunk-XR7HCCYT.mjs} +12 -12
- package/dist-lib/esm-chunks/{chunk-BAG7H6CI.mjs → chunk-ZP4N5MOQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-BI54UMFP.mjs → metro-layout-parser-UJ75U4BA.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-WQRBOQLW.mjs → swift-package-prebuilt-JC4OKCIN.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-7GREAIPH.mjs → swift-sdk-app-module-USPJWVEG.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-YVOFRTJS.mjs → swift-sdk-image-FVBBZLVN.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-CBZRZQKH.mjs → swift-sdk-image-producer-LWKPEQ6Y.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +1 -1
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +92 -59
- 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 +2 -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 +98 -16
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +15 -15
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +81 -80
- package/dist-lib/public-origins-lib.json +78 -71
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- package/dist-lib/reap-browser.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 +7 -7
- package/dist-lib/skills.cjs +543 -457
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +10 -10
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +5 -5
- package/dist-lib/swift-svg-raster.cjs +30 -20
- package/dist-lib/swift-svg-raster.mjs +31 -21
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/bplist-parser.cjs +1 -1
- package/dist-lib/vendor/ignore.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/plist.cjs +1 -1
- package/dist-lib/vendor/smol-toml.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/engine/image-svg-raster.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +3 -4
- package/dist-types/packages/peach-engine/src/render-worker/live-frame-mirror.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/render-worker/tree-sync-port.d.ts +3 -4
- package/dist-types/packages/peach-engine/vendor/camera/camera-heic.d.ts +2 -1
- package/package.json +1 -1
- package/src/svg-rasterizer-wasm.ts +44 -0
- package/src/swift-svg-raster.ts +10 -39
package/dist-lib/esm-chunks/{metro-layout-parser-BI54UMFP.mjs → metro-layout-parser-UJ75U4BA.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2501 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-5Y2ZUQ37.mjs";
|
|
3
3
|
|
|
4
4
|
// src/metro-layout-parser.ts
|
|
5
5
|
var whitespace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/y;
|
|
@@ -8,7 +8,7 @@ var lineBreak = /[\r\n\u2028\u2029]/;
|
|
|
8
8
|
var metroLayoutParser;
|
|
9
9
|
async function loadMetroLayoutParser() {
|
|
10
10
|
if (metroLayoutParser) return metroLayoutParser;
|
|
11
|
-
const { Parser } = await import("./acorn-
|
|
11
|
+
const { Parser } = await import("./acorn-XLK7SBHL.mjs");
|
|
12
12
|
metroLayoutParser = Parser.extend(
|
|
13
13
|
(Base) => {
|
|
14
14
|
const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2501 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
compileTargets,
|
|
4
4
|
fetchNativeEntry,
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
swiftAvailableModules,
|
|
7
7
|
swiftDistributionAt,
|
|
8
8
|
swiftImportNames
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-XR7HCCYT.mjs";
|
|
10
|
+
import "./chunk-GQDCVETO.mjs";
|
|
11
11
|
import {
|
|
12
12
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-W2P7WVWW.mjs";
|
|
14
14
|
import {
|
|
15
15
|
manifestCalls
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-IQETEUAE.mjs";
|
|
17
|
+
import "./chunk-6DUYSLC5.mjs";
|
|
18
|
+
import "./chunk-QZ5ICO75.mjs";
|
|
19
|
+
import "./chunk-75LAM6AV.mjs";
|
|
20
|
+
import "./chunk-TSVTKA5X.mjs";
|
|
21
|
+
import "./chunk-5Y2ZUQ37.mjs";
|
|
22
22
|
|
|
23
23
|
// src/swift-package-prebuilt.ts
|
|
24
24
|
import { createHash } from "node:crypto";
|
package/dist-lib/esm-chunks/{swift-sdk-app-module-7GREAIPH.mjs → swift-sdk-app-module-USPJWVEG.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2501 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
5
5
|
SWIFT_SDK_MEMORY_BASE,
|
|
6
6
|
SWIFT_SDK_PIECE_FIELDS,
|
|
7
7
|
readSwiftSdkManifest
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-3T5RPBW5.mjs";
|
|
9
|
+
import "./chunk-AAILWQLM.mjs";
|
|
10
|
+
import "./chunk-UHQANWOH.mjs";
|
|
11
11
|
import {
|
|
12
12
|
ADDEND_RELOCATIONS,
|
|
13
13
|
KEEP_WASM_NAMES,
|
|
@@ -34,17 +34,17 @@ import {
|
|
|
34
34
|
wasmReader,
|
|
35
35
|
wasmSections,
|
|
36
36
|
writeWasmCustomSection
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-XR7HCCYT.mjs";
|
|
38
38
|
import {
|
|
39
39
|
SWIFT_WASM_TRIPLE
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-GQDCVETO.mjs";
|
|
41
|
+
import "./chunk-W2P7WVWW.mjs";
|
|
42
|
+
import "./chunk-IQETEUAE.mjs";
|
|
43
|
+
import "./chunk-6DUYSLC5.mjs";
|
|
44
|
+
import "./chunk-QZ5ICO75.mjs";
|
|
45
|
+
import "./chunk-75LAM6AV.mjs";
|
|
46
|
+
import "./chunk-TSVTKA5X.mjs";
|
|
47
|
+
import "./chunk-5Y2ZUQ37.mjs";
|
|
48
48
|
|
|
49
49
|
// src/swift-sdk-app-module.ts
|
|
50
50
|
import { execFile } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2501 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
swiftSdkImageFile,
|
|
16
16
|
swiftSdkImageKey,
|
|
17
17
|
swiftSdkImageProducts
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-3T5RPBW5.mjs";
|
|
19
|
+
import "./chunk-AAILWQLM.mjs";
|
|
20
|
+
import "./chunk-UHQANWOH.mjs";
|
|
21
|
+
import "./chunk-XR7HCCYT.mjs";
|
|
22
|
+
import "./chunk-GQDCVETO.mjs";
|
|
23
|
+
import "./chunk-W2P7WVWW.mjs";
|
|
24
|
+
import "./chunk-IQETEUAE.mjs";
|
|
25
|
+
import "./chunk-6DUYSLC5.mjs";
|
|
26
|
+
import "./chunk-QZ5ICO75.mjs";
|
|
27
|
+
import "./chunk-75LAM6AV.mjs";
|
|
28
|
+
import "./chunk-TSVTKA5X.mjs";
|
|
29
|
+
import "./chunk-5Y2ZUQ37.mjs";
|
|
30
30
|
export {
|
|
31
31
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
32
32
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2501 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftCacheDir,
|
|
4
4
|
windowAdmission,
|
|
5
5
|
withSwiftRootLock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GQDCVETO.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-TSVTKA5X.mjs";
|
|
10
|
+
import "./chunk-5Y2ZUQ37.mjs";
|
|
11
11
|
|
|
12
12
|
// src/swift-sdk-image-producer.ts
|
|
13
13
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2501 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2501 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2501 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-W2P7WVWW.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-QN2UI3MJ.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-6DUYSLC5.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-25643EL3.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-TSVTKA5X.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-5Y2ZUQ37.mjs";
|
|
17
17
|
|
|
18
18
|
// src/expoSwiftContract.ts
|
|
19
19
|
function strings(value) {
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2501 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2501 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -7869,8 +7869,8 @@ function arrayMethod(interp, self, call, env) {
|
|
|
7869
7869
|
return Array.from({ length: intArg(interp, a) }, () => self).flat();
|
|
7870
7870
|
case "join": {
|
|
7871
7871
|
const sep3 = a === void 0 || a === null ? "" : strArg(interp, a);
|
|
7872
|
-
const
|
|
7873
|
-
return str(
|
|
7872
|
+
const join29 = (values) => values.map((v10) => Array.isArray(v10) ? join29(v10) : interp.toS(v10, env)).join(sep3);
|
|
7873
|
+
return str(join29(self));
|
|
7874
7874
|
}
|
|
7875
7875
|
case "compact":
|
|
7876
7876
|
return self.filter((v10) => v10 !== null);
|
|
@@ -11616,7 +11616,7 @@ function rubyGlob(pattern, base2, dotMatch = false) {
|
|
|
11616
11616
|
return;
|
|
11617
11617
|
}
|
|
11618
11618
|
const segment2 = segments[index];
|
|
11619
|
-
const
|
|
11619
|
+
const join29 = (name3) => shown === "" ? name3 : shown.endsWith("/") ? shown + name3 : `${shown}/${name3}`;
|
|
11620
11620
|
if (segment2 === "" && index === 0) {
|
|
11621
11621
|
walk4("/", "/", index + 1);
|
|
11622
11622
|
return;
|
|
@@ -11632,14 +11632,14 @@ function rubyGlob(pattern, base2, dotMatch = false) {
|
|
|
11632
11632
|
for (const entry of entries2.sort((a, b) => a.name < b.name ? -1 : 1)) {
|
|
11633
11633
|
if (!dotMatch && entry.name.startsWith(".")) continue;
|
|
11634
11634
|
if (entry.isDirectory())
|
|
11635
|
-
walk4(import_node_path30.default.join(dir, entry.name),
|
|
11635
|
+
walk4(import_node_path30.default.join(dir, entry.name), join29(entry.name), index);
|
|
11636
11636
|
}
|
|
11637
11637
|
return;
|
|
11638
11638
|
}
|
|
11639
11639
|
if (!/[*?[{\\]/.test(segment2)) {
|
|
11640
11640
|
const next = import_node_path30.default.join(dir, segment2);
|
|
11641
11641
|
if (index === segments.length - 1 ? import_node_fs32.default.existsSync(next) : isDirectory(next))
|
|
11642
|
-
walk4(next,
|
|
11642
|
+
walk4(next, join29(segment2), index + 1);
|
|
11643
11643
|
return;
|
|
11644
11644
|
}
|
|
11645
11645
|
const matcher = segmentMatcher(segment2, dotMatch);
|
|
@@ -11653,7 +11653,7 @@ function rubyGlob(pattern, base2, dotMatch = false) {
|
|
|
11653
11653
|
if (!matcher.test(name3)) continue;
|
|
11654
11654
|
const next = import_node_path30.default.join(dir, name3);
|
|
11655
11655
|
if (index < segments.length - 1 && !isDirectory(next)) continue;
|
|
11656
|
-
walk4(next,
|
|
11656
|
+
walk4(next, join29(name3), index + 1);
|
|
11657
11657
|
}
|
|
11658
11658
|
};
|
|
11659
11659
|
walk4(absolute ? "/" : base2, "", absolute ? 1 : 0);
|
|
@@ -70080,7 +70080,7 @@ function groupParentsOf(objects) {
|
|
|
70080
70080
|
groupParents.set(objects, parents);
|
|
70081
70081
|
return parents;
|
|
70082
70082
|
}
|
|
70083
|
-
function xcodePathResolver(objects, projectDir,
|
|
70083
|
+
function xcodePathResolver(objects, projectDir, join29, sourceTreeRoot) {
|
|
70084
70084
|
const parents = groupParentsOf(objects);
|
|
70085
70085
|
const paths = /* @__PURE__ */ new Map();
|
|
70086
70086
|
const resolve10 = (id) => {
|
|
@@ -70092,14 +70092,14 @@ function xcodePathResolver(objects, projectDir, join28, sourceTreeRoot) {
|
|
|
70092
70092
|
const own2 = str2(entry.path) ?? "";
|
|
70093
70093
|
const tree2 = str2(entry.sourceTree) ?? "<group>";
|
|
70094
70094
|
if (tree2 === "<absolute>") result = own2;
|
|
70095
|
-
else if (tree2 === "SOURCE_ROOT") result =
|
|
70095
|
+
else if (tree2 === "SOURCE_ROOT") result = join29(projectDir, own2);
|
|
70096
70096
|
else if (tree2 === "<group>") {
|
|
70097
70097
|
const parent = parents.get(id);
|
|
70098
70098
|
const base2 = parent ? resolve10(parent) : projectDir;
|
|
70099
|
-
if (base2 !== null) result =
|
|
70099
|
+
if (base2 !== null) result = join29(base2, own2);
|
|
70100
70100
|
} else {
|
|
70101
70101
|
const base2 = sourceTreeRoot?.(tree2);
|
|
70102
|
-
if (base2) result =
|
|
70102
|
+
if (base2) result = join29(base2, own2);
|
|
70103
70103
|
}
|
|
70104
70104
|
}
|
|
70105
70105
|
paths.set(id, result);
|
|
@@ -70121,7 +70121,7 @@ function xcodeTargetMemberVisitor(objects) {
|
|
|
70121
70121
|
if (isDict(group) && group.isa === "PBXFileSystemSynchronizedRootGroup")
|
|
70122
70122
|
synchronizedGroups.push({ id, group });
|
|
70123
70123
|
}
|
|
70124
|
-
return (targetId, resolvePath, filesUnder,
|
|
70124
|
+
return (targetId, resolvePath, filesUnder, join29, visit3) => {
|
|
70125
70125
|
const target = objects[targetId];
|
|
70126
70126
|
if (!isDict(target)) return;
|
|
70127
70127
|
for (const phaseId of list(target.buildPhases)) {
|
|
@@ -70168,7 +70168,7 @@ function xcodeTargetMemberVisitor(objects) {
|
|
|
70168
70168
|
for (const relative5 of list(exception.membershipExceptions))
|
|
70169
70169
|
exceptions.add(relative5);
|
|
70170
70170
|
}
|
|
70171
|
-
const members2 = owned.has(groupId) ? filesUnder(folder) : [...exceptions].flatMap((relative5) => filesUnder(
|
|
70171
|
+
const members2 = owned.has(groupId) ? filesUnder(folder) : [...exceptions].flatMap((relative5) => filesUnder(join29(folder, relative5)));
|
|
70172
70172
|
for (const file of members2) {
|
|
70173
70173
|
const relative5 = file.slice(prefix.length);
|
|
70174
70174
|
const excepted = [...exceptions].some(
|
|
@@ -121243,6 +121243,37 @@ var init_run_registry = __esm({
|
|
|
121243
121243
|
}
|
|
121244
121244
|
});
|
|
121245
121245
|
|
|
121246
|
+
// cli/stream-record.ts
|
|
121247
|
+
var import_node_fs176, import_node_path179, import_zod4, sceneCommandEndpoint, streamRecord;
|
|
121248
|
+
var init_stream_record = __esm({
|
|
121249
|
+
"cli/stream-record.ts"() {
|
|
121250
|
+
"use strict";
|
|
121251
|
+
import_node_fs176 = require("node:fs");
|
|
121252
|
+
import_node_path179 = require("node:path");
|
|
121253
|
+
import_zod4 = require("peachsim/vendor/zod");
|
|
121254
|
+
init_home_paths();
|
|
121255
|
+
init_secure_file();
|
|
121256
|
+
sceneCommandEndpoint = import_zod4.z.object({
|
|
121257
|
+
port: import_zod4.z.number().int().min(1).max(65535),
|
|
121258
|
+
token: import_zod4.z.string().regex(/^[a-f0-9]{64}$/)
|
|
121259
|
+
});
|
|
121260
|
+
streamRecord = import_zod4.z.object({
|
|
121261
|
+
sessionId: import_zod4.z.string(),
|
|
121262
|
+
accountId: import_zod4.z.string(),
|
|
121263
|
+
origin: import_zod4.z.string(),
|
|
121264
|
+
watchUrl: import_zod4.z.string(),
|
|
121265
|
+
command: sceneCommandEndpoint.optional()
|
|
121266
|
+
});
|
|
121267
|
+
}
|
|
121268
|
+
});
|
|
121269
|
+
|
|
121270
|
+
// cli/usage-error.ts
|
|
121271
|
+
var init_usage_error = __esm({
|
|
121272
|
+
"cli/usage-error.ts"() {
|
|
121273
|
+
"use strict";
|
|
121274
|
+
}
|
|
121275
|
+
});
|
|
121276
|
+
|
|
121246
121277
|
// cli/cloud-client.ts
|
|
121247
121278
|
function failureSentence(text7) {
|
|
121248
121279
|
let parsed2;
|
|
@@ -121274,27 +121305,27 @@ function resolveCloudOrigin(value) {
|
|
|
121274
121305
|
return normalizeCloudOrigin(source);
|
|
121275
121306
|
}
|
|
121276
121307
|
function readImmutableBundleSource(bundlePath, command) {
|
|
121277
|
-
const filepath = (0,
|
|
121278
|
-
if ((0,
|
|
121308
|
+
const filepath = (0, import_node_path180.resolve)(bundlePath);
|
|
121309
|
+
if ((0, import_node_path180.extname)(filepath) === ".hbc") {
|
|
121279
121310
|
const platform3 = filepath.includes("/android/") ? "android" : "ios";
|
|
121280
121311
|
throw new Error(
|
|
121281
121312
|
`${command} cannot preview Hermes bytecode (${bundlePath}). Export plain JavaScript with \`npx expo export --platform ${platform3} --no-bytecode\` and preview the .js bundle instead.`
|
|
121282
121313
|
);
|
|
121283
121314
|
}
|
|
121284
|
-
if ((0,
|
|
121315
|
+
if ((0, import_node_path180.extname)(filepath) !== ".js") {
|
|
121285
121316
|
throw new Error(`${command} requires one local .js bundle`);
|
|
121286
121317
|
}
|
|
121287
|
-
const descriptor = (0,
|
|
121318
|
+
const descriptor = (0, import_node_fs177.openSync)(filepath, "r");
|
|
121288
121319
|
try {
|
|
121289
|
-
const before = (0,
|
|
121320
|
+
const before = (0, import_node_fs177.fstatSync)(descriptor, { bigint: true });
|
|
121290
121321
|
if (!before.isFile()) {
|
|
121291
121322
|
throw new Error(`${command} bundle must be a regular local file`);
|
|
121292
121323
|
}
|
|
121293
121324
|
if (before.size <= 0n) {
|
|
121294
121325
|
throw new Error(`${command} bundle is empty`);
|
|
121295
121326
|
}
|
|
121296
|
-
const bytes = (0,
|
|
121297
|
-
const after = (0,
|
|
121327
|
+
const bytes = (0, import_node_fs177.readFileSync)(descriptor);
|
|
121328
|
+
const after = (0, import_node_fs177.fstatSync)(descriptor, { bigint: true });
|
|
121298
121329
|
if (before.dev !== after.dev || before.ino !== after.ino || before.size !== after.size || before.mtimeNs !== after.mtimeNs || bytes.length !== Number(before.size)) {
|
|
121299
121330
|
throw new Error(`${command} bundle changed while it was being read`);
|
|
121300
121331
|
}
|
|
@@ -121306,7 +121337,7 @@ function readImmutableBundleSource(bundlePath, command) {
|
|
|
121306
121337
|
}
|
|
121307
121338
|
return source;
|
|
121308
121339
|
} finally {
|
|
121309
|
-
(0,
|
|
121340
|
+
(0, import_node_fs177.closeSync)(descriptor);
|
|
121310
121341
|
}
|
|
121311
121342
|
}
|
|
121312
121343
|
async function fetchBundleSource(bundleUrl, command) {
|
|
@@ -121360,15 +121391,15 @@ async function loadBundleSource(bundleInput, command) {
|
|
|
121360
121391
|
return source;
|
|
121361
121392
|
}
|
|
121362
121393
|
function listMetroAssetDest(assetsPath) {
|
|
121363
|
-
const directory2 = (0,
|
|
121364
|
-
if (!(0,
|
|
121365
|
-
const skipNested = (0,
|
|
121394
|
+
const directory2 = (0, import_node_path180.resolve)(assetsPath);
|
|
121395
|
+
if (!(0, import_node_fs177.existsSync)(directory2)) return { directory: directory2, files: [], truncated: false };
|
|
121396
|
+
const skipNested = (0, import_node_fs177.existsSync)((0, import_node_path180.join)(directory2, "package.json"));
|
|
121366
121397
|
const files2 = [];
|
|
121367
121398
|
let truncated = false;
|
|
121368
121399
|
const walk4 = (dir, prefix) => {
|
|
121369
121400
|
let entries2;
|
|
121370
121401
|
try {
|
|
121371
|
-
entries2 = (0,
|
|
121402
|
+
entries2 = (0, import_node_fs177.readdirSync)(dir, { withFileTypes: true });
|
|
121372
121403
|
} catch {
|
|
121373
121404
|
return;
|
|
121374
121405
|
}
|
|
@@ -121380,7 +121411,7 @@ function listMetroAssetDest(assetsPath) {
|
|
|
121380
121411
|
if (entry.isDirectory()) {
|
|
121381
121412
|
if (entry.name === ".git") continue;
|
|
121382
121413
|
if (skipNested && PROJECT_ONLY_DIRECTORIES.has(entry.name)) continue;
|
|
121383
|
-
walk4((0,
|
|
121414
|
+
walk4((0, import_node_path180.join)(dir, entry.name), prefix ? `${prefix}/${entry.name}` : entry.name);
|
|
121384
121415
|
} else if (entry.isFile()) {
|
|
121385
121416
|
files2.push(prefix ? `${prefix}/${entry.name}` : entry.name);
|
|
121386
121417
|
}
|
|
@@ -121415,7 +121446,7 @@ function distinctByContent(directory2, options2) {
|
|
|
121415
121446
|
for (const relative5 of options2) {
|
|
121416
121447
|
let bytes;
|
|
121417
121448
|
try {
|
|
121418
|
-
bytes = (0,
|
|
121449
|
+
bytes = (0, import_node_fs177.readFileSync)((0, import_node_path180.join)(directory2, relative5));
|
|
121419
121450
|
} catch {
|
|
121420
121451
|
continue;
|
|
121421
121452
|
}
|
|
@@ -121461,7 +121492,7 @@ function placeMetroDescriptor(listing, descriptor) {
|
|
|
121461
121492
|
let bytes;
|
|
121462
121493
|
try {
|
|
121463
121494
|
bytes = combination.map(
|
|
121464
|
-
(relative5) => (0,
|
|
121495
|
+
(relative5) => (0, import_node_fs177.readFileSync)((0, import_node_path180.join)(listing.directory, relative5))
|
|
121465
121496
|
);
|
|
121466
121497
|
} catch {
|
|
121467
121498
|
continue;
|
|
@@ -121489,10 +121520,10 @@ function unverifiedContentKey(dest, fileDigests2) {
|
|
|
121489
121520
|
return JSON.stringify(
|
|
121490
121521
|
dest.placements.map(
|
|
121491
121522
|
(placement) => placement.verified ? null : [...placement.files].map(([scale, relative5]) => {
|
|
121492
|
-
const file = (0,
|
|
121523
|
+
const file = (0, import_node_path180.join)(dest.directory, relative5);
|
|
121493
121524
|
let digest3 = fileDigests2.get(file);
|
|
121494
121525
|
if (digest3 === void 0) {
|
|
121495
|
-
digest3 = (0, import_node_crypto104.createHash)("sha256").update((0,
|
|
121526
|
+
digest3 = (0, import_node_crypto104.createHash)("sha256").update((0, import_node_fs177.readFileSync)(file)).digest("hex");
|
|
121496
121527
|
fileDigests2.set(file, digest3);
|
|
121497
121528
|
}
|
|
121498
121529
|
return [scale, digest3];
|
|
@@ -121501,42 +121532,42 @@ function unverifiedContentKey(dest, fileDigests2) {
|
|
|
121501
121532
|
);
|
|
121502
121533
|
}
|
|
121503
121534
|
function findExpoExportRoot(bundleDirectory) {
|
|
121504
|
-
let directory2 = (0,
|
|
121535
|
+
let directory2 = (0, import_node_path180.resolve)(bundleDirectory);
|
|
121505
121536
|
for (let depth = 0; depth < 6; depth++) {
|
|
121506
|
-
const metadata = (0,
|
|
121507
|
-
if ((0,
|
|
121537
|
+
const metadata = (0, import_node_path180.join)(directory2, "metadata.json");
|
|
121538
|
+
if ((0, import_node_fs177.existsSync)(metadata) && (0, import_node_fs177.existsSync)((0, import_node_path180.join)(directory2, "assets"))) {
|
|
121508
121539
|
try {
|
|
121509
|
-
if ((0,
|
|
121540
|
+
if ((0, import_node_fs177.readFileSync)(metadata, "utf8").includes('"fileMetadata"')) {
|
|
121510
121541
|
return directory2;
|
|
121511
121542
|
}
|
|
121512
121543
|
} catch {
|
|
121513
121544
|
}
|
|
121514
121545
|
}
|
|
121515
|
-
const parent = (0,
|
|
121546
|
+
const parent = (0, import_node_path180.dirname)(directory2);
|
|
121516
121547
|
if (parent === directory2) return null;
|
|
121517
121548
|
directory2 = parent;
|
|
121518
121549
|
}
|
|
121519
121550
|
return null;
|
|
121520
121551
|
}
|
|
121521
121552
|
function searchMetroAssetDest(bundlePath, descriptors, command, assetsDirectory) {
|
|
121522
|
-
const bundleDirectory = (0,
|
|
121553
|
+
const bundleDirectory = (0, import_node_path180.dirname)((0, import_node_path180.resolve)(bundlePath));
|
|
121523
121554
|
const expoRoot = assetsDirectory || isRemoteBundleInput(bundlePath) ? null : findExpoExportRoot(bundleDirectory);
|
|
121524
|
-
const candidates = assetsDirectory ? [(0,
|
|
121525
|
-
...expoRoot ? [(0,
|
|
121526
|
-
(0,
|
|
121555
|
+
const candidates = assetsDirectory ? [(0, import_node_path180.resolve)(assetsDirectory)] : [
|
|
121556
|
+
...expoRoot ? [(0, import_node_path180.join)(expoRoot, "assets")] : [],
|
|
121557
|
+
(0, import_node_path180.join)(bundleDirectory, "assets"),
|
|
121527
121558
|
bundleDirectory,
|
|
121528
|
-
(0,
|
|
121559
|
+
(0, import_node_path180.resolve)(bundleDirectory, "..", "assets")
|
|
121529
121560
|
];
|
|
121530
121561
|
const cwd = process.cwd();
|
|
121531
121562
|
let projectDirectory = null;
|
|
121532
121563
|
for (const start of assetsDirectory ? [] : [bundleDirectory, cwd]) {
|
|
121533
|
-
let directory2 = (0,
|
|
121564
|
+
let directory2 = (0, import_node_path180.resolve)(start);
|
|
121534
121565
|
while (true) {
|
|
121535
121566
|
if (detectProject(directory2)?.hasMetroConfig) {
|
|
121536
121567
|
projectDirectory = directory2;
|
|
121537
121568
|
break;
|
|
121538
121569
|
}
|
|
121539
|
-
const parent = (0,
|
|
121570
|
+
const parent = (0, import_node_path180.dirname)(directory2);
|
|
121540
121571
|
if (parent === directory2) break;
|
|
121541
121572
|
directory2 = parent;
|
|
121542
121573
|
}
|
|
@@ -121544,11 +121575,11 @@ function searchMetroAssetDest(bundlePath, descriptors, command, assetsDirectory)
|
|
|
121544
121575
|
}
|
|
121545
121576
|
if (projectDirectory) {
|
|
121546
121577
|
candidates.push(
|
|
121547
|
-
(0,
|
|
121548
|
-
(0,
|
|
121549
|
-
(0,
|
|
121550
|
-
(0,
|
|
121551
|
-
(0,
|
|
121578
|
+
(0, import_node_path180.join)(projectDirectory, "assets"),
|
|
121579
|
+
(0, import_node_path180.join)(projectDirectory, "dist"),
|
|
121580
|
+
(0, import_node_path180.join)(projectDirectory, "dist", "assets"),
|
|
121581
|
+
(0, import_node_path180.join)(projectDirectory, "build"),
|
|
121582
|
+
(0, import_node_path180.join)(projectDirectory, "build", "assets")
|
|
121552
121583
|
);
|
|
121553
121584
|
}
|
|
121554
121585
|
const searched = [];
|
|
@@ -121556,7 +121587,7 @@ function searchMetroAssetDest(bundlePath, descriptors, command, assetsDirectory)
|
|
|
121556
121587
|
const stale = [];
|
|
121557
121588
|
let truncated = false;
|
|
121558
121589
|
for (const candidate of candidates) {
|
|
121559
|
-
const directory2 = (0,
|
|
121590
|
+
const directory2 = (0, import_node_path180.resolve)(candidate);
|
|
121560
121591
|
if (searched.includes(directory2)) continue;
|
|
121561
121592
|
searched.push(directory2);
|
|
121562
121593
|
const listing = listMetroAssetDest(directory2);
|
|
@@ -121637,20 +121668,20 @@ async function produceCloudArtifact(bundlePath, maxBytes = MAX_RNX_CLOUD_BUNDLE_
|
|
|
121637
121668
|
}
|
|
121638
121669
|
function bundleAppProject(bundlePath) {
|
|
121639
121670
|
if (isRemoteBundleInput(bundlePath)) return null;
|
|
121640
|
-
for (let dir = (0,
|
|
121641
|
-
const manifest = (0,
|
|
121642
|
-
if ((0,
|
|
121643
|
-
const json = JSON.parse((0,
|
|
121671
|
+
for (let dir = (0, import_node_path180.dirname)((0, import_node_path180.resolve)(bundlePath)); ; dir = (0, import_node_path180.dirname)(dir)) {
|
|
121672
|
+
const manifest = (0, import_node_path180.join)(dir, "package.json");
|
|
121673
|
+
if ((0, import_node_fs177.existsSync)(manifest)) {
|
|
121674
|
+
const json = JSON.parse((0, import_node_fs177.readFileSync)(manifest, "utf8"));
|
|
121644
121675
|
if (isRecord(json) && [json.dependencies, json.devDependencies].some(
|
|
121645
121676
|
(dependencies) => isRecord(dependencies) && "react-native" in dependencies
|
|
121646
121677
|
))
|
|
121647
121678
|
return dir;
|
|
121648
121679
|
}
|
|
121649
|
-
if ((0,
|
|
121680
|
+
if ((0, import_node_path180.dirname)(dir) === dir) return null;
|
|
121650
121681
|
}
|
|
121651
121682
|
}
|
|
121652
121683
|
async function embedBundleAssets(bundlePath, command, assetPolicy, assetsDirectory, assetServer, nativeProjectDir) {
|
|
121653
|
-
const project2 = nativeProjectDir ? (0,
|
|
121684
|
+
const project2 = nativeProjectDir ? (0, import_node_path180.resolve)(nativeProjectDir) : bundleAppProject(bundlePath);
|
|
121654
121685
|
const loaded4 = await loadBundleSource(bundlePath, command);
|
|
121655
121686
|
const source = project2 && !readPackageVersionsFooter(loaded4)?.["react-native"] ? insertPackageVersionsFooter(
|
|
121656
121687
|
loaded4,
|
|
@@ -121691,7 +121722,7 @@ async function embedBundleAssets(bundlePath, command, assetPolicy, assetsDirecto
|
|
|
121691
121722
|
);
|
|
121692
121723
|
}
|
|
121693
121724
|
const relative5 = placement?.files.get(variant2.scale);
|
|
121694
|
-
if (relative5 && dest) return (0,
|
|
121725
|
+
if (relative5 && dest) return (0, import_node_fs177.readFileSync)((0, import_node_path180.join)(dest.directory, relative5));
|
|
121695
121726
|
if (assetServer) {
|
|
121696
121727
|
const filename2 = metroAssetScaleFilename(
|
|
121697
121728
|
variant2.descriptor.name,
|
|
@@ -121739,7 +121770,7 @@ async function embedBundleAssets(bundlePath, command, assetPolicy, assetsDirecto
|
|
|
121739
121770
|
);
|
|
121740
121771
|
const classic = metroIosAssetDestRelatives(variant2.descriptor.httpServerLocation, filename)[0] ?? filename;
|
|
121741
121772
|
throw new Error(
|
|
121742
|
-
`${command} could not read ${(0,
|
|
121773
|
+
`${command} could not read ${(0, import_node_path180.join)(dest?.directory ?? ".", classic)} for ${variant2.descriptor.name}.${variant2.descriptor.type} at scale ${variant2.scale}, and has no stand-in for a .${variant2.descriptor.type} asset. Rebuild with \`react-native bundle --assets-dest\`.`
|
|
121743
121774
|
);
|
|
121744
121775
|
});
|
|
121745
121776
|
return {
|
|
@@ -121886,13 +121917,13 @@ async function createCloudBox(options2) {
|
|
|
121886
121917
|
warnings: artifact.warnings
|
|
121887
121918
|
};
|
|
121888
121919
|
}
|
|
121889
|
-
var import_node_crypto104,
|
|
121920
|
+
var import_node_crypto104, import_node_fs177, import_node_path180, import_node_vm, DEFAULT_RNX_CLOUD_ORIGIN, MAX_RNX_CLOUD_BUNDLE_BYTES, REMOTE_COMMAND, PREVIEW_COMMAND, NanoDevelopmentOnlyError, MAX_ASSET_DEST_FILES, ACCOUNT_CHOICE_REFUSALS, PROJECT_ONLY_DIRECTORIES, MAX_PLACEMENT_COMBINATIONS;
|
|
121890
121921
|
var init_cloud_client = __esm({
|
|
121891
121922
|
"cli/cloud-client.ts"() {
|
|
121892
121923
|
"use strict";
|
|
121893
121924
|
import_node_crypto104 = require("node:crypto");
|
|
121894
|
-
|
|
121895
|
-
|
|
121925
|
+
import_node_fs177 = require("node:fs");
|
|
121926
|
+
import_node_path180 = require("node:path");
|
|
121896
121927
|
import_node_vm = require("node:vm");
|
|
121897
121928
|
init_package_versions();
|
|
121898
121929
|
init_metroAssetArtifact();
|
|
@@ -121911,6 +121942,8 @@ var init_cloud_client = __esm({
|
|
|
121911
121942
|
init_command_agent();
|
|
121912
121943
|
init_detect();
|
|
121913
121944
|
init_run_registry();
|
|
121945
|
+
init_stream_record();
|
|
121946
|
+
init_usage_error();
|
|
121914
121947
|
DEFAULT_RNX_CLOUD_ORIGIN = rnxPublicBrand.origin;
|
|
121915
121948
|
MAX_RNX_CLOUD_BUNDLE_BYTES = RNX_CLOUD_MAX_ARTIFACT_BYTES;
|
|
121916
121949
|
REMOTE_COMMAND = "peach remote";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2501 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2501 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "../esm-chunks/chunk-
|
|
1
|
+
/*! peach v0.1.2501 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "../esm-chunks/chunk-5Y2ZUQ37.mjs";
|
|
3
3
|
|
|
4
4
|
// src/host/fetch-proxy-overrides.ts
|
|
5
5
|
var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2501 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2501 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|