peachsim 0.1.2268 → 0.1.2269
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/map.ts +1 -1
- package/cli/commands/screenshot.ts +10 -0
- package/cli/commands/upload.ts +4 -1
- 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 +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/bundle-channel.cjs +20 -16
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +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/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +8 -4
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +15 -11
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +22 -18
- package/dist-lib/host/fetch-proxy-handler.cjs +12 -9
- 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 +14 -11
- 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 +12 -9
- package/dist-lib/native-app-identity-project.cjs +5 -1
- package/dist-lib/native-app-identity-project.mjs +5 -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/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.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/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +55 -54
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- 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 +1 -1
- package/dist-lib/skills.cjs +24 -20
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +1 -1
- 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 -5
- package/dist-lib/vite.cjs +12 -9
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/paint-boundary-types.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/preview/compress-node.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +1 -0
- package/java-platform/licenses/openjdk.txt +6 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/answeredNativePackages.ts +16 -1
- package/src/native-package-slice-build.ts +17 -1
package/cli/commands/map.ts
CHANGED
|
@@ -178,7 +178,7 @@ async function captureTo(
|
|
|
178
178
|
opts: { port?: number; verbose?: boolean },
|
|
179
179
|
): Promise<void> {
|
|
180
180
|
mkdirSync(dirname(pngPath), { recursive: true })
|
|
181
|
-
await runScreenshot(['--output', pngPath], opts)
|
|
181
|
+
await runScreenshot(['--output', pngPath, '--refuse-error-screen'], opts)
|
|
182
182
|
if (!existsSync(pngPath)) throw new Error(`screenshot did not write ${pngPath}`)
|
|
183
183
|
}
|
|
184
184
|
|
|
@@ -53,6 +53,9 @@ options:
|
|
|
53
53
|
--shell-only capture only the shell chrome, no tenant content
|
|
54
54
|
--allow-loading capture after caller-owned readiness checks even when
|
|
55
55
|
visible app copy matches a generic loading phrase
|
|
56
|
+
--refuse-error-screen
|
|
57
|
+
fail instead of capturing the red error screen of an app
|
|
58
|
+
that failed to load (peach map uses it)
|
|
56
59
|
--area x,y,w,h crop to a logical peach rect
|
|
57
60
|
--id <testID> crop to a node's bounding box
|
|
58
61
|
--text <text> crop to a node found by text content
|
|
@@ -81,6 +84,7 @@ examples:
|
|
|
81
84
|
}
|
|
82
85
|
|
|
83
86
|
const allowLoading = args.includes('--allow-loading')
|
|
87
|
+
const refuseErrorScreen = args.includes('--refuse-error-screen')
|
|
84
88
|
const withFrame = resolveFrameMode(args)
|
|
85
89
|
const layers = resolveLayers(args)
|
|
86
90
|
|
|
@@ -103,6 +107,7 @@ examples:
|
|
|
103
107
|
'--no-shell',
|
|
104
108
|
'--shell-only',
|
|
105
109
|
'--allow-loading',
|
|
110
|
+
'--refuse-error-screen',
|
|
106
111
|
],
|
|
107
112
|
stripValueFlags: ['--output', '--area', '--id', '--text'],
|
|
108
113
|
})
|
|
@@ -146,6 +151,7 @@ examples:
|
|
|
146
151
|
withFrame,
|
|
147
152
|
layers,
|
|
148
153
|
allowLoading,
|
|
154
|
+
refuseErrorScreen,
|
|
149
155
|
opts.verbose === true || args.includes('--verbose') || args.includes('-v'),
|
|
150
156
|
)
|
|
151
157
|
} catch (err) {
|
|
@@ -200,6 +206,7 @@ async function captureViaBridge(
|
|
|
200
206
|
withFrame: boolean,
|
|
201
207
|
layers: 'full' | 'tenant' | 'shell' | undefined,
|
|
202
208
|
allowLoading: boolean,
|
|
209
|
+
refuseErrorScreen: boolean,
|
|
203
210
|
verbose: boolean,
|
|
204
211
|
) {
|
|
205
212
|
// --verbose names the phase a slow capture spent its time in.
|
|
@@ -262,6 +269,8 @@ async function captureViaBridge(
|
|
|
262
269
|
// needs, and it is the only screen that app will ever paint. capture it,
|
|
263
270
|
// and say plainly what it is so nobody blesses it as a baseline.
|
|
264
271
|
if (!readiness.ready && readiness.externalError) {
|
|
272
|
+
if (refuseErrorScreen)
|
|
273
|
+
throw new Error(`the app failed to load: ${readiness.externalError}`)
|
|
265
274
|
process.stderr.write(
|
|
266
275
|
` ⚠ capturing an ERROR screen. the app failed to load: ${readiness.externalError}\n` +
|
|
267
276
|
' this is failure evidence, not app content. never use it as a baseline.\n\n',
|
|
@@ -392,6 +401,7 @@ const SCREENSHOT_BOOLEAN_FLAGS = new Set([
|
|
|
392
401
|
'--no-shell',
|
|
393
402
|
'--shell-only',
|
|
394
403
|
'--allow-loading',
|
|
404
|
+
'--refuse-error-screen',
|
|
395
405
|
])
|
|
396
406
|
const SCREENSHOT_VALUE_FLAGS = new Set([
|
|
397
407
|
'--output',
|
package/cli/commands/upload.ts
CHANGED
|
@@ -1117,7 +1117,10 @@ export async function runUpload(
|
|
|
1117
1117
|
// minifies in the node build container, and stores one canonical brotli
|
|
1118
1118
|
// bundle. assets stay gzip below.
|
|
1119
1119
|
const bundleBr = bundleBytes
|
|
1120
|
-
? getCliRuntime().preview_compress_node.brotliBundle(
|
|
1120
|
+
? getCliRuntime().preview_compress_node.brotliBundle(
|
|
1121
|
+
bundleBytes,
|
|
1122
|
+
getCliRuntime().preview_compress_node.UPLOAD_BROTLI_QUALITY,
|
|
1123
|
+
)
|
|
1121
1124
|
: undefined
|
|
1122
1125
|
const identityBytes = bundleBytes ?? sceneBytes
|
|
1123
1126
|
if (!identityBytes) throw new Error('upload requires a bundle or scene recording')
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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.2269 | (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,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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.2269 | (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.2269 | (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;
|
package/dist-lib/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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;
|
package/dist-lib/beta.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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;
|
|
@@ -1000,16 +1000,20 @@ function peachAnsweredNativePackages() {
|
|
|
1000
1000
|
const names = readPeachRuntimeJson(ANSWERED_NATIVE_PACKAGES_PATH);
|
|
1001
1001
|
if (!Array.isArray(names) || !names.every((name3) => typeof name3 === "string"))
|
|
1002
1002
|
throw new Error(`${ANSWERED_NATIVE_PACKAGES_PATH} must list package names`);
|
|
1003
|
-
|
|
1003
|
+
const overridden = unansweredStore.getStore();
|
|
1004
|
+
if (!overridden || overridden.size === 0) return new Set(names);
|
|
1005
|
+
return new Set(names.filter((name3) => !overridden.has(name3)));
|
|
1004
1006
|
}
|
|
1005
|
-
var import_node_fs5, import_node_path4, ANSWERED_NATIVE_PACKAGES_PATH;
|
|
1007
|
+
var import_node_async_hooks, import_node_fs5, import_node_path4, ANSWERED_NATIVE_PACKAGES_PATH, unansweredStore;
|
|
1006
1008
|
var init_answeredNativePackages = __esm({
|
|
1007
1009
|
"src/answeredNativePackages.ts"() {
|
|
1008
1010
|
"use strict";
|
|
1011
|
+
import_node_async_hooks = require("node:async_hooks");
|
|
1009
1012
|
import_node_fs5 = require("node:fs");
|
|
1010
1013
|
import_node_path4 = require("node:path");
|
|
1011
1014
|
init_runtime_assets();
|
|
1012
1015
|
ANSWERED_NATIVE_PACKAGES_PATH = "node/answered-native-packages.json";
|
|
1016
|
+
unansweredStore = new import_node_async_hooks.AsyncLocalStorage();
|
|
1013
1017
|
}
|
|
1014
1018
|
});
|
|
1015
1019
|
|
|
@@ -44780,7 +44784,7 @@ var init_swift_standin_digest = __esm({
|
|
|
44780
44784
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
44781
44785
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
44782
44786
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
44783
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
44787
|
+
STANDIN_SOURCE_DIGEST = true ? "f548e83c6abe8dd5a2c941c3e6dda49428b276f3d10495535e97a14aca44c0cc" : standinSourceDigest();
|
|
44784
44788
|
}
|
|
44785
44789
|
});
|
|
44786
44790
|
|
|
@@ -51891,11 +51895,11 @@ function scopedArtifact(project2, entry, moduleRoot, signal) {
|
|
|
51891
51895
|
project2.building = { stamp, promise: fresh, signal };
|
|
51892
51896
|
return fresh;
|
|
51893
51897
|
}
|
|
51894
|
-
var
|
|
51898
|
+
var import_node_async_hooks2, import_node_child_process43, import_node_crypto40, import_node_fs80, import_node_os16, import_node_path79, RESOURCE_PATH, ICU_PATH, SKIP_ROOT_DIRS, NATIVE_DESCRIPTOR, NATIVE_GLUE, SwiftMissingModulesError, sharedProjects, projectScope, projects, sharedSourceEntries, sourceEntries, sharedXcodeProjects, xcodeProjects, preparedScriptInputs, emptyWasmAssembly, XCODE_APP_DIR, XCODE_FRAMEWORKS_DIR, XCODE_PACKAGES_DIR, layoutScope, HOSTED_LIMITS, LOCAL_LIMITS, inputLimits, RESOURCE_CONTENT_TYPES, API_GAP_PATTERNS, IOS_SDK_FRAMEWORKS;
|
|
51895
51899
|
var init_swift_host = __esm({
|
|
51896
51900
|
"src/swift-host.ts"() {
|
|
51897
51901
|
"use strict";
|
|
51898
|
-
|
|
51902
|
+
import_node_async_hooks2 = require("node:async_hooks");
|
|
51899
51903
|
import_node_child_process43 = require("node:child_process");
|
|
51900
51904
|
import_node_crypto40 = require("node:crypto");
|
|
51901
51905
|
import_node_fs80 = __toESM(require("node:fs"), 1);
|
|
@@ -51937,7 +51941,7 @@ var init_swift_host = __esm({
|
|
|
51937
51941
|
SwiftMissingModulesError = class extends Error {
|
|
51938
51942
|
};
|
|
51939
51943
|
sharedProjects = /* @__PURE__ */ new Map();
|
|
51940
|
-
projectScope = new
|
|
51944
|
+
projectScope = new import_node_async_hooks2.AsyncLocalStorage();
|
|
51941
51945
|
projects = () => projectScope.getStore()?.projects ?? sharedProjects;
|
|
51942
51946
|
sharedSourceEntries = /* @__PURE__ */ new Map();
|
|
51943
51947
|
sourceEntries = () => projectScope.getStore()?.sourceEntries ?? sharedSourceEntries;
|
|
@@ -51948,7 +51952,7 @@ var init_swift_host = __esm({
|
|
|
51948
51952
|
XCODE_APP_DIR = "__app__";
|
|
51949
51953
|
XCODE_FRAMEWORKS_DIR = "__frameworks__";
|
|
51950
51954
|
XCODE_PACKAGES_DIR = SWIFT_REMOTE_PACKAGES_DIR;
|
|
51951
|
-
layoutScope = new
|
|
51955
|
+
layoutScope = new import_node_async_hooks2.AsyncLocalStorage();
|
|
51952
51956
|
HOSTED_LIMITS = {
|
|
51953
51957
|
sourceBytes: MAX_SWIFT_COMPILE_SOURCE_BYTES,
|
|
51954
51958
|
resources: MAX_SWIFT_COMPILE_RESOURCES,
|
|
@@ -57389,7 +57393,7 @@ var init_nitro_superset = __esm({
|
|
|
57389
57393
|
init_nitroContract();
|
|
57390
57394
|
init_swift_standin_digest();
|
|
57391
57395
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
57392
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
57396
|
+
NITRO_COMPILER_DIGEST = true ? "abb290654ae6f789e24c9e7423d16008cd5aea040e0e07bb86b9b3e94f6e15b8" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
57393
57397
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
57394
57398
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
57395
57399
|
published = /* @__PURE__ */ new Map();
|
|
@@ -58606,7 +58610,7 @@ var init_expo_native_compiler_digest = __esm({
|
|
|
58606
58610
|
|
|
58607
58611
|
// src/expo-native-prebuilt.ts
|
|
58608
58612
|
function expoNativeCompilerDigestValue() {
|
|
58609
|
-
return true ? "
|
|
58613
|
+
return true ? "dc9231a527fdc6ab4d8537af070a2c12b41a0e558ffe49d321ba058383d2f9c6" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
58610
58614
|
}
|
|
58611
58615
|
function readSources(value) {
|
|
58612
58616
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -62343,11 +62347,11 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
62343
62347
|
throw failure2;
|
|
62344
62348
|
}
|
|
62345
62349
|
}
|
|
62346
|
-
var
|
|
62350
|
+
var import_node_async_hooks3, import_node_child_process47, import_node_crypto51, import_node_fs98, import_node_module15, import_node_os19, import_node_path96, import_node_url6, import_node_util17, run7, scriptEnv, EXPO_SWIFT_ENTRY, WITNESS_BATCH, traceStore, discoveryCache, preparedCache, savedFs, ignoredRoots, ownTemporaryRoots, preparedExpoSwift, openPreparations, ExpoSwiftLinkRefusal;
|
|
62347
62351
|
var init_expo_swift_host = __esm({
|
|
62348
62352
|
"src/expo-swift-host.ts"() {
|
|
62349
62353
|
"use strict";
|
|
62350
|
-
|
|
62354
|
+
import_node_async_hooks3 = require("node:async_hooks");
|
|
62351
62355
|
import_node_child_process47 = require("node:child_process");
|
|
62352
62356
|
import_node_crypto51 = require("node:crypto");
|
|
62353
62357
|
import_node_fs98 = __toESM(require("node:fs"), 1);
|
|
@@ -62390,7 +62394,7 @@ var init_expo_swift_host = __esm({
|
|
|
62390
62394
|
scriptEnv = { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: "1" };
|
|
62391
62395
|
EXPO_SWIFT_ENTRY = "Sources/PeachExpoApp/PeachExpoEntry.swift";
|
|
62392
62396
|
WITNESS_BATCH = 200;
|
|
62393
|
-
traceStore = new
|
|
62397
|
+
traceStore = new import_node_async_hooks3.AsyncLocalStorage();
|
|
62394
62398
|
discoveryCache = /* @__PURE__ */ new Map();
|
|
62395
62399
|
preparedCache = /* @__PURE__ */ new Map();
|
|
62396
62400
|
savedFs = null;
|
|
@@ -66058,7 +66062,7 @@ var import_node_path5 = require("node:path");
|
|
|
66058
66062
|
init_src();
|
|
66059
66063
|
|
|
66060
66064
|
// runtime-companion.json
|
|
66061
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
66065
|
+
var runtime_companion_default = { abi: 1, sha256: "d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677", file: "node/cli-d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677.cjs" };
|
|
66062
66066
|
|
|
66063
66067
|
// src/cli-runtime.ts
|
|
66064
66068
|
init_answeredNativePackages();
|
|
@@ -69435,7 +69439,7 @@ init_bundleAssets();
|
|
|
69435
69439
|
init_expo_native_workspace();
|
|
69436
69440
|
|
|
69437
69441
|
// src/host/staged-host-files.ts
|
|
69438
|
-
var
|
|
69442
|
+
var import_node_async_hooks4 = require("node:async_hooks");
|
|
69439
69443
|
var import_node_crypto57 = require("node:crypto");
|
|
69440
69444
|
var import_node_fs108 = __toESM(require("node:fs"), 1);
|
|
69441
69445
|
var import_node_path107 = __toESM(require("node:path"), 1);
|
|
@@ -69504,7 +69508,7 @@ var EXTENSION_BY_MIME = new Map([
|
|
|
69504
69508
|
|
|
69505
69509
|
// src/host/staged-host-files.ts
|
|
69506
69510
|
init_home_paths();
|
|
69507
|
-
var stagedCapture = new
|
|
69511
|
+
var stagedCapture = new import_node_async_hooks4.AsyncLocalStorage();
|
|
69508
69512
|
async function captureStagedHostFiles(prepare2) {
|
|
69509
69513
|
const names = /* @__PURE__ */ new Set();
|
|
69510
69514
|
const value = await stagedCapture.run(names, prepare2);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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;
|
package/dist-lib/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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;
|
package/dist-lib/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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;
|
package/dist-lib/config.mjs
CHANGED
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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;
|
|
@@ -2475,7 +2475,10 @@ function isValidRuntimeVersion(value) {
|
|
|
2475
2475
|
}
|
|
2476
2476
|
|
|
2477
2477
|
// runtime-companion.json
|
|
2478
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
2478
|
+
var runtime_companion_default = { abi: 1, sha256: "d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677", file: "node/cli-d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677.cjs" };
|
|
2479
|
+
|
|
2480
|
+
// src/answeredNativePackages.ts
|
|
2481
|
+
var import_node_async_hooks = require("node:async_hooks");
|
|
2479
2482
|
|
|
2480
2483
|
// src/runtime-assets.ts
|
|
2481
2484
|
var import_fs = __toESM(require("fs"), 1);
|
|
@@ -2520,6 +2523,7 @@ function resolveActiveRuntimeRoot() {
|
|
|
2520
2523
|
}
|
|
2521
2524
|
|
|
2522
2525
|
// src/answeredNativePackages.ts
|
|
2526
|
+
var unansweredStore = new import_node_async_hooks.AsyncLocalStorage();
|
|
2523
2527
|
function peachRuntimeRoot() {
|
|
2524
2528
|
const root = resolveDevCheckoutRuntimeAssetRoot() ?? resolveActiveRuntimeRoot();
|
|
2525
2529
|
if (!root) throw new Error("No Peach runtime installed; run `peach runtime install`");
|
|
@@ -2641,7 +2645,7 @@ var import_zod = require("zod");
|
|
|
2641
2645
|
var DEFAULT_ORIGIN = peachPublicBrand.origin;
|
|
2642
2646
|
|
|
2643
2647
|
// cli/run-rnx.ts
|
|
2644
|
-
var
|
|
2648
|
+
var import_node_async_hooks2 = require("node:async_hooks");
|
|
2645
2649
|
var PeachExit = class extends Error {
|
|
2646
2650
|
code;
|
|
2647
2651
|
reason;
|
|
@@ -2652,7 +2656,7 @@ var PeachExit = class extends Error {
|
|
|
2652
2656
|
this.reason = reason;
|
|
2653
2657
|
}
|
|
2654
2658
|
};
|
|
2655
|
-
var sinks = new
|
|
2659
|
+
var sinks = new import_node_async_hooks2.AsyncLocalStorage();
|
|
2656
2660
|
function peachExit(code, reason) {
|
|
2657
2661
|
throw new PeachExit(code, reason);
|
|
2658
2662
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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.2269 | (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;
|
|
@@ -873,16 +873,20 @@ function peachAnsweredNativePackages() {
|
|
|
873
873
|
const names = readPeachRuntimeJson(ANSWERED_NATIVE_PACKAGES_PATH);
|
|
874
874
|
if (!Array.isArray(names) || !names.every((name3) => typeof name3 === "string"))
|
|
875
875
|
throw new Error(`${ANSWERED_NATIVE_PACKAGES_PATH} must list package names`);
|
|
876
|
-
|
|
876
|
+
const overridden = unansweredStore.getStore();
|
|
877
|
+
if (!overridden || overridden.size === 0) return new Set(names);
|
|
878
|
+
return new Set(names.filter((name3) => !overridden.has(name3)));
|
|
877
879
|
}
|
|
878
|
-
var import_node_fs6, import_node_path5, ANSWERED_NATIVE_PACKAGES_PATH;
|
|
880
|
+
var import_node_async_hooks, import_node_fs6, import_node_path5, ANSWERED_NATIVE_PACKAGES_PATH, unansweredStore;
|
|
879
881
|
var init_answeredNativePackages = __esm({
|
|
880
882
|
"src/answeredNativePackages.ts"() {
|
|
881
883
|
"use strict";
|
|
884
|
+
import_node_async_hooks = require("node:async_hooks");
|
|
882
885
|
import_node_fs6 = require("node:fs");
|
|
883
886
|
import_node_path5 = require("node:path");
|
|
884
887
|
init_runtime_assets();
|
|
885
888
|
ANSWERED_NATIVE_PACKAGES_PATH = "node/answered-native-packages.json";
|
|
889
|
+
unansweredStore = new import_node_async_hooks.AsyncLocalStorage();
|
|
886
890
|
}
|
|
887
891
|
});
|
|
888
892
|
|
|
@@ -29273,7 +29277,7 @@ var init_swift_standin_digest = __esm({
|
|
|
29273
29277
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
29274
29278
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
29275
29279
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
29276
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
29280
|
+
STANDIN_SOURCE_DIGEST = true ? "f548e83c6abe8dd5a2c941c3e6dda49428b276f3d10495535e97a14aca44c0cc" : standinSourceDigest();
|
|
29277
29281
|
}
|
|
29278
29282
|
});
|
|
29279
29283
|
|
|
@@ -40265,11 +40269,11 @@ function scopedArtifact(project, entry, moduleRoot, signal) {
|
|
|
40265
40269
|
project.building = { stamp, promise: fresh, signal };
|
|
40266
40270
|
return fresh;
|
|
40267
40271
|
}
|
|
40268
|
-
var
|
|
40272
|
+
var import_node_async_hooks2, import_node_child_process42, import_node_crypto40, import_node_fs80, import_node_os16, import_node_path77, RESOURCE_PATH, ICU_PATH, SKIP_ROOT_DIRS, NATIVE_DESCRIPTOR, NATIVE_GLUE, SwiftMissingModulesError, sharedProjects, projectScope, projects, sharedSourceEntries, sourceEntries, sharedXcodeProjects, xcodeProjects, preparedScriptInputs, emptyWasmAssembly, XCODE_APP_DIR, XCODE_FRAMEWORKS_DIR, XCODE_PACKAGES_DIR, layoutScope, HOSTED_LIMITS, LOCAL_LIMITS, inputLimits, RESOURCE_CONTENT_TYPES, API_GAP_PATTERNS, IOS_SDK_FRAMEWORKS;
|
|
40269
40273
|
var init_swift_host = __esm({
|
|
40270
40274
|
"src/swift-host.ts"() {
|
|
40271
40275
|
"use strict";
|
|
40272
|
-
|
|
40276
|
+
import_node_async_hooks2 = require("node:async_hooks");
|
|
40273
40277
|
import_node_child_process42 = require("node:child_process");
|
|
40274
40278
|
import_node_crypto40 = require("node:crypto");
|
|
40275
40279
|
import_node_fs80 = __toESM(require("node:fs"), 1);
|
|
@@ -40311,7 +40315,7 @@ var init_swift_host = __esm({
|
|
|
40311
40315
|
SwiftMissingModulesError = class extends Error {
|
|
40312
40316
|
};
|
|
40313
40317
|
sharedProjects = /* @__PURE__ */ new Map();
|
|
40314
|
-
projectScope = new
|
|
40318
|
+
projectScope = new import_node_async_hooks2.AsyncLocalStorage();
|
|
40315
40319
|
projects = () => projectScope.getStore()?.projects ?? sharedProjects;
|
|
40316
40320
|
sharedSourceEntries = /* @__PURE__ */ new Map();
|
|
40317
40321
|
sourceEntries = () => projectScope.getStore()?.sourceEntries ?? sharedSourceEntries;
|
|
@@ -40322,7 +40326,7 @@ var init_swift_host = __esm({
|
|
|
40322
40326
|
XCODE_APP_DIR = "__app__";
|
|
40323
40327
|
XCODE_FRAMEWORKS_DIR = "__frameworks__";
|
|
40324
40328
|
XCODE_PACKAGES_DIR = SWIFT_REMOTE_PACKAGES_DIR;
|
|
40325
|
-
layoutScope = new
|
|
40329
|
+
layoutScope = new import_node_async_hooks2.AsyncLocalStorage();
|
|
40326
40330
|
HOSTED_LIMITS = {
|
|
40327
40331
|
sourceBytes: MAX_SWIFT_COMPILE_SOURCE_BYTES,
|
|
40328
40332
|
resources: MAX_SWIFT_COMPILE_RESOURCES,
|
|
@@ -44967,7 +44971,7 @@ __export(expo_swift_bundle_exports, {
|
|
|
44967
44971
|
module.exports = __toCommonJS(expo_swift_bundle_exports);
|
|
44968
44972
|
|
|
44969
44973
|
// src/expo-swift-host.ts
|
|
44970
|
-
var
|
|
44974
|
+
var import_node_async_hooks3 = require("node:async_hooks");
|
|
44971
44975
|
var import_node_child_process46 = require("node:child_process");
|
|
44972
44976
|
var import_node_crypto44 = require("node:crypto");
|
|
44973
44977
|
var import_node_fs86 = __toESM(require("node:fs"), 1);
|
|
@@ -50324,7 +50328,7 @@ init_swift_native_pin();
|
|
|
50324
50328
|
init_xcode_project();
|
|
50325
50329
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
50326
50330
|
function expoNativeCompilerDigestValue() {
|
|
50327
|
-
return true ? "
|
|
50331
|
+
return true ? "dc9231a527fdc6ab4d8537af070a2c12b41a0e558ffe49d321ba058383d2f9c6" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
50328
50332
|
}
|
|
50329
50333
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
50330
50334
|
function readSources(value) {
|
|
@@ -51140,7 +51144,7 @@ var run7 = (0, import_node_util17.promisify)(import_node_child_process46.execFil
|
|
|
51140
51144
|
var scriptEnv = { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: "1" };
|
|
51141
51145
|
var EXPO_SWIFT_ENTRY = "Sources/PeachExpoApp/PeachExpoEntry.swift";
|
|
51142
51146
|
var WITNESS_BATCH = 200;
|
|
51143
|
-
var traceStore = new
|
|
51147
|
+
var traceStore = new import_node_async_hooks3.AsyncLocalStorage();
|
|
51144
51148
|
var discoveryCache = /* @__PURE__ */ new Map();
|
|
51145
51149
|
var preparedCache = /* @__PURE__ */ new Map();
|
|
51146
51150
|
var savedFs = null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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;
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2269 | (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;
|