peachsim 0.1.2252 → 0.1.2255
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/compat.ts +1 -1
- package/cli/commands/control.ts +1 -1
- package/cli/commands/package.ts +1 -1
- package/cli/commands/runtime.ts +1 -1
- package/cli/commands/upgrade.ts +2 -5
- package/cli/commands/version.ts +1 -1
- package/cli/native-input.ts +1 -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 +2927 -2218
- 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 +16 -1
- package/dist-lib/config.mjs +14 -1
- package/dist-lib/detox/index.cjs +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +3110 -2402
- 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 +2995 -2275
- package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
- 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 +2785 -2643
- 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 +3 -2
- 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 +126 -42
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -3
- 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 +126 -114
- 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 +3454 -2736
- package/dist-lib/swift-compile.cjs +97 -31
- package/dist-lib/swift-compile.mjs +100 -31
- 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 +2203 -1517
- package/dist-lib/vite.cjs +4804 -3498
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/config.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +33 -1
- package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/lockstepCaptureBridgeContract.d.ts +11 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/wasm/include/__typedef_time_t.h +5 -0
- package/sdk/ios/wasm/include/ifaddrs.h +75 -0
- package/sdk/ios/wasm/include/machine/_types.h +1 -1
- package/sdk/ios/wasm/include/pthread.h +4 -0
- package/sdk/ios/wasm/include/unistd.h +2 -0
- package/{cli → src}/app-config.ts +5 -5
- package/src/bundle-channel.mjs +1 -1
- package/src/config.ts +29 -0
- package/src/core-data-entity-classes.ts +2 -2
- package/src/core-data-model.ts +681 -0
- package/src/expo-swift-host.ts +1 -1
- package/src/kotlin-host.ts +2 -1
- package/src/metro-plugin.ts +1 -3
- package/src/nitro-adapter.lock.json +236 -236
- package/src/nitro-bundle.ts +1 -1
- package/src/nitro-superset.lock.json +4 -4
- package/src/plist-bytes.ts +113 -0
- package/src/runtime-delivery.ts +3 -2
- package/src/swift-compile.ts +8 -1
- package/src/swift-distribution.lock.json +11 -11
- package/src/swift-guest-image-ledger.ts +2 -1
- package/src/swift-host.ts +18 -3
- package/src/turbo-bundle.ts +1 -1
- package/src/turbo-runtime.lock.json +20 -20
- package/src/vite-plugin-one.ts +68 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2255 | (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.2255 | (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.2255 | (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.2255 | (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.2255 | (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.2255 | (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;
|
|
@@ -24,6 +24,7 @@ var config_exports = {};
|
|
|
24
24
|
__export(config_exports, {
|
|
25
25
|
PEACH_CONFIGURED_FILES_HOOK: () => PEACH_CONFIGURED_FILES_HOOK,
|
|
26
26
|
PEACH_CONFIG_QUERY_PARAM: () => PEACH_CONFIG_QUERY_PARAM,
|
|
27
|
+
PEACH_WORKSPACE_MODULE_MARKER: () => PEACH_WORKSPACE_MODULE_MARKER,
|
|
27
28
|
applyPeachConfigToUrl: () => applyPeachConfigToUrl,
|
|
28
29
|
collectConfiguredFileModules: () => collectConfiguredFileModules,
|
|
29
30
|
createPeachBundleConfigFooter: () => createPeachBundleConfigFooter,
|
|
@@ -32,6 +33,7 @@ __export(config_exports, {
|
|
|
32
33
|
hasPeachConfig: () => hasPeachConfig,
|
|
33
34
|
isPackageStubs: () => isPackageStubs,
|
|
34
35
|
isPeachConfig: () => isPeachConfig,
|
|
36
|
+
matchConfigModule: () => matchConfigModule,
|
|
35
37
|
mergePeachConfig: () => mergePeachConfig,
|
|
36
38
|
readNativeRenderer: () => readNativeRenderer,
|
|
37
39
|
readPeachBundleConfig: () => readPeachBundleConfig,
|
|
@@ -92,6 +94,17 @@ function readNativeRenderer(value) {
|
|
|
92
94
|
if (value === "paper" || value === "fabric") return value;
|
|
93
95
|
throw new Error("nativeRenderer must be paper or fabric");
|
|
94
96
|
}
|
|
97
|
+
var PEACH_WORKSPACE_MODULE_MARKER = "__peach_workspace_module";
|
|
98
|
+
function matchConfigModule(name, modules) {
|
|
99
|
+
const entries = Object.entries(modules).sort((a, b) => b[0].length - a[0].length);
|
|
100
|
+
const modulePath = name.startsWith("/") ? name : `/${name}`;
|
|
101
|
+
for (const [pattern, resolution] of entries) {
|
|
102
|
+
if (modulePath.includes(`/${pattern}/`) || modulePath.endsWith(`/${pattern}`) || modulePath.endsWith(`/${pattern}.js`) || modulePath.endsWith(`/${pattern}.ts`) || modulePath.endsWith(`/${pattern}.tsx`)) {
|
|
103
|
+
return { pattern, resolution };
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
return void 0;
|
|
107
|
+
}
|
|
95
108
|
function isHybridObjectAnswer(answer) {
|
|
96
109
|
return answer === "unsupported" || isRecord(answer) && typeof answer.file === "string" && answer.file.length > 0;
|
|
97
110
|
}
|
|
@@ -255,6 +268,7 @@ function applyPeachConfigToUrl(url, config) {
|
|
|
255
268
|
0 && (module.exports = {
|
|
256
269
|
PEACH_CONFIGURED_FILES_HOOK,
|
|
257
270
|
PEACH_CONFIG_QUERY_PARAM,
|
|
271
|
+
PEACH_WORKSPACE_MODULE_MARKER,
|
|
258
272
|
applyPeachConfigToUrl,
|
|
259
273
|
collectConfiguredFileModules,
|
|
260
274
|
createPeachBundleConfigFooter,
|
|
@@ -263,6 +277,7 @@ function applyPeachConfigToUrl(url, config) {
|
|
|
263
277
|
hasPeachConfig,
|
|
264
278
|
isPackageStubs,
|
|
265
279
|
isPeachConfig,
|
|
280
|
+
matchConfigModule,
|
|
266
281
|
mergePeachConfig,
|
|
267
282
|
readNativeRenderer,
|
|
268
283
|
readPeachBundleConfig,
|
package/dist-lib/config.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2255 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// ../contrast-runtime-delivery/src/version.ts
|
|
4
4
|
function isValidRuntimeVersion(value) {
|
|
@@ -52,6 +52,17 @@ function readNativeRenderer(value) {
|
|
|
52
52
|
if (value === "paper" || value === "fabric") return value;
|
|
53
53
|
throw new Error("nativeRenderer must be paper or fabric");
|
|
54
54
|
}
|
|
55
|
+
var PEACH_WORKSPACE_MODULE_MARKER = "__peach_workspace_module";
|
|
56
|
+
function matchConfigModule(name, modules) {
|
|
57
|
+
const entries = Object.entries(modules).sort((a, b) => b[0].length - a[0].length);
|
|
58
|
+
const modulePath = name.startsWith("/") ? name : `/${name}`;
|
|
59
|
+
for (const [pattern, resolution] of entries) {
|
|
60
|
+
if (modulePath.includes(`/${pattern}/`) || modulePath.endsWith(`/${pattern}`) || modulePath.endsWith(`/${pattern}.js`) || modulePath.endsWith(`/${pattern}.ts`) || modulePath.endsWith(`/${pattern}.tsx`)) {
|
|
61
|
+
return { pattern, resolution };
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
return void 0;
|
|
65
|
+
}
|
|
55
66
|
function isHybridObjectAnswer(answer) {
|
|
56
67
|
return answer === "unsupported" || isRecord(answer) && typeof answer.file === "string" && answer.file.length > 0;
|
|
57
68
|
}
|
|
@@ -214,6 +225,7 @@ function applyPeachConfigToUrl(url, config) {
|
|
|
214
225
|
export {
|
|
215
226
|
PEACH_CONFIGURED_FILES_HOOK,
|
|
216
227
|
PEACH_CONFIG_QUERY_PARAM,
|
|
228
|
+
PEACH_WORKSPACE_MODULE_MARKER,
|
|
217
229
|
applyPeachConfigToUrl,
|
|
218
230
|
collectConfiguredFileModules,
|
|
219
231
|
createPeachBundleConfigFooter,
|
|
@@ -222,6 +234,7 @@ export {
|
|
|
222
234
|
hasPeachConfig,
|
|
223
235
|
isPackageStubs,
|
|
224
236
|
isPeachConfig,
|
|
237
|
+
matchConfigModule,
|
|
225
238
|
mergePeachConfig,
|
|
226
239
|
readNativeRenderer,
|
|
227
240
|
readPeachBundleConfig,
|
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2255 | (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,7 @@ 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: "04d02b55743de5e2ad5423d864a6f1757158967c1a77df55455bb98d4d2435af", file: "node/cli-04d02b55743de5e2ad5423d864a6f1757158967c1a77df55455bb98d4d2435af.cjs" };
|
|
2479
2479
|
|
|
2480
2480
|
// src/runtime-assets.ts
|
|
2481
2481
|
var import_fs = __toESM(require("fs"), 1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2255 | (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;
|