peachsim 0.1.1817 → 0.1.1821
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/agent-indicator-mode.ts +2 -1
- package/cli/commands/coverage-swift.ts +4 -3
- package/cli/commands/flow.ts +7 -0
- package/cli/commands/inspect/core.ts +14 -4
- package/cli/commands/inspect/wait-selector.ts +9 -1
- package/cli/commands/maestro-compare.ts +7 -0
- package/cli/commands/package.ts +5 -0
- package/cli/commands/screenshot-mode.ts +2 -1
- package/cli/commands/shell-boolean-mode.ts +7 -3
- package/cli/commands/shell-url.ts +4 -0
- package/cli/commands/show-touches-mode.ts +2 -1
- package/cli/commands/test.ts +3 -2
- package/cli/commands/three-mode.ts +2 -1
- package/cli/outbound-endpoints.ts +5 -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 +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 +2842 -3830
- 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 +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +1722 -1580
- 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 +2800 -3794
- package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
- 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 +32 -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 +28 -7
- package/dist-lib/native-app-identity-project.cjs +31 -6
- package/dist-lib/native-app-identity-project.mjs +295 -259
- 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 +29 -24
- package/dist-lib/public-origins-lib.json +100 -80
- 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 +8 -6
- package/dist-lib/sdk.mjs +8 -6
- package/dist-lib/skills.cjs +3192 -4150
- package/dist-lib/swift-compile.cjs +136 -29
- package/dist-lib/swift-compile.mjs +143 -34
- 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 +52 -6
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +2206 -2060
- package/dist-lib/vite.cjs +2 -2
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/ios/photoLibraryContract.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/render-worker/map-command-channel.d.ts +41 -0
- package/dist-types/packages/peach-engine/src/render-worker/mapServicesContract.d.ts +45 -0
- package/package.json +2 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes +1 -1
- package/sdk/ios/usr/include/module.modulemap +3 -0
- package/sdk/ios/usr/include/notify.modulemap +9 -0
- package/sdk/ios/usr/lib/swift/Darwin.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -0
- package/sdk/ios/usr/lib/swift/Dispatch.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1 -1
- package/sdk/ios/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios-simulator.swiftinterface +7 -1
- package/sdk/ios/usr/lib/swift/ObjectiveC.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1 -0
- package/sdk/ios/usr/lib/swift/SwiftUI.swiftmodule/arm64-apple-ios-simulator.swiftinterface +21 -0
- package/sdk/ios/usr/lib/swift/SwiftUICore.swiftmodule/arm64-apple-ios-simulator.swiftinterface +6 -1
- package/sdk/ios/wasm/include/__header_time.h +4 -0
- package/sdk/ios/wasm/include/pthread.h +2 -0
- package/sdk/ios/wasm/include/sys/mman.h +1 -1
- package/sdk/ios/wasm/include/sys/resource.h +31 -0
- package/sdk/ios/wasm/include/unistd.h +4 -0
- package/src/answeredNativePackages.ts +11 -9
- package/src/expo-discovery-cache.ts +69 -52
- package/src/expo-native-workspace.ts +3 -1
- package/src/expo-swift-host.ts +45 -7
- package/src/installed-native-libraries.ts +103 -20
- package/src/native-static-libraries.ts +69 -33
- package/src/nitro-adapter.ts +0 -9
- package/src/nitro-compile.ts +45 -16
- package/src/nitro-superset.ts +4 -5
- package/src/plist-bytes.ts +9 -0
- package/src/portable-expo-workspace.ts +4 -3
- package/src/react-native-bridge-modules.ts +11 -15
- package/src/swift-compile.ts +146 -18
- package/src/swift-cxx-reachable.ts +13 -0
- package/src/swift-distribution.ts +3 -4
- package/src/swift-host.ts +5 -3
- package/src/swift-installed-targets.ts +32 -14
- package/src/swift-native-pin.ts +45 -0
- package/src/swift-objc-compile.ts +23 -1
- package/src/swift-objc-standin.ts +4 -1
- package/src/swift-package-manifest.ts +2 -2
- package/src/swift-root-lock.ts +4 -3
- package/src/swift-standins.ts +5 -26
- package/src/swift-toolchain.ts +69 -12
- package/src/swift-wasm-prune.ts +1 -0
- package/src/swift-xcframework.ts +23 -12
- package/src/swiftContract.ts +2 -0
- package/src/swiftNativePinContract.ts +68 -0
- package/src/turbo-bundle.ts +14 -6
- package/src/turbo-compile.ts +76 -11
- package/src/turbo-source.ts +91 -15
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1821 | (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.1821 | (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.1821 | (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;
|
package/dist-lib/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1821 | (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;
|
|
@@ -256,7 +256,7 @@ function isSemanticQueryResult(value) {
|
|
|
256
256
|
}
|
|
257
257
|
function globRegex(glob) {
|
|
258
258
|
const escaped = glob.replace(/[.+^$(){}|[\]\\]/g, "\\$&");
|
|
259
|
-
return new RegExp(`^${escaped.replace(/\*/g, ".*").replace(/\?/g, ".")}$`, "
|
|
259
|
+
return new RegExp(`^${escaped.replace(/\*/g, ".*").replace(/\?/g, ".")}$`, "is");
|
|
260
260
|
}
|
|
261
261
|
function formatSemanticTree(nodes, opts = {}) {
|
|
262
262
|
const filter = opts.filter?.toLowerCase() ?? "";
|
|
@@ -1028,11 +1028,11 @@ async function inspectReadySnapshot(bridge, budgetMs, simId) {
|
|
|
1028
1028
|
result.polls === 1 && result.probe ? readyProbeIsReady(result.probe) : false
|
|
1029
1029
|
);
|
|
1030
1030
|
}
|
|
1031
|
-
async function sendSemanticWait(bridge, condition, timeoutMs, simId, transportMs = 1e3) {
|
|
1031
|
+
async function sendSemanticWait(bridge, condition, timeoutMs, simId, transportMs = 1e3, race) {
|
|
1032
1032
|
const start = Date.now();
|
|
1033
1033
|
for (let sent = 1; ; sent++) {
|
|
1034
1034
|
const remaining = Math.max(0, timeoutMs - (Date.now() - start));
|
|
1035
|
-
const slice = Math.min(SEMANTIC_WAIT_MAX_TIMEOUT_MS, remaining);
|
|
1035
|
+
const slice = Math.min(race?.sliceMs ?? SEMANTIC_WAIT_MAX_TIMEOUT_MS, remaining);
|
|
1036
1036
|
const result = await bridge.send(
|
|
1037
1037
|
{
|
|
1038
1038
|
type: "waitFor",
|
|
@@ -1041,7 +1041,7 @@ async function sendSemanticWait(bridge, condition, timeoutMs, simId, transportMs
|
|
|
1041
1041
|
},
|
|
1042
1042
|
{ timeoutMs: remaining + transportMs }
|
|
1043
1043
|
);
|
|
1044
|
-
if (result?.matched || result?.error || condition.type === "ready" && result?.probe?.externalError || slice === remaining)
|
|
1044
|
+
if (result?.matched || result?.error || condition.type === "ready" && result?.probe?.externalError || slice === remaining || race?.settled.aborted)
|
|
1045
1045
|
return sent === 1 ? result : { ...result, elapsedMs: Date.now() - start };
|
|
1046
1046
|
}
|
|
1047
1047
|
}
|
|
@@ -1129,7 +1129,9 @@ async function inspectWaitSelector(bridge, selector, timeoutMs = 5e3, opts = {})
|
|
|
1129
1129
|
selector
|
|
1130
1130
|
},
|
|
1131
1131
|
timeoutMs,
|
|
1132
|
-
void 0
|
|
1132
|
+
void 0,
|
|
1133
|
+
void 0,
|
|
1134
|
+
opts.race
|
|
1133
1135
|
);
|
|
1134
1136
|
if (result?.error) throw new Error(result.error);
|
|
1135
1137
|
if (result?.node && !isSimSemanticTree([result.node])) {
|
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1821 | (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);
|
|
@@ -143,7 +143,7 @@ function isSemanticQueryResult(value) {
|
|
|
143
143
|
}
|
|
144
144
|
function globRegex(glob) {
|
|
145
145
|
const escaped = glob.replace(/[.+^$(){}|[\]\\]/g, "\\$&");
|
|
146
|
-
return new RegExp(`^${escaped.replace(/\*/g, ".*").replace(/\?/g, ".")}$`, "
|
|
146
|
+
return new RegExp(`^${escaped.replace(/\*/g, ".*").replace(/\?/g, ".")}$`, "is");
|
|
147
147
|
}
|
|
148
148
|
function formatSemanticTree(nodes, opts = {}) {
|
|
149
149
|
const filter = opts.filter?.toLowerCase() ?? "";
|
|
@@ -915,11 +915,11 @@ async function inspectReadySnapshot(bridge, budgetMs, simId) {
|
|
|
915
915
|
result.polls === 1 && result.probe ? readyProbeIsReady(result.probe) : false
|
|
916
916
|
);
|
|
917
917
|
}
|
|
918
|
-
async function sendSemanticWait(bridge, condition, timeoutMs, simId, transportMs = 1e3) {
|
|
918
|
+
async function sendSemanticWait(bridge, condition, timeoutMs, simId, transportMs = 1e3, race) {
|
|
919
919
|
const start = Date.now();
|
|
920
920
|
for (let sent = 1; ; sent++) {
|
|
921
921
|
const remaining = Math.max(0, timeoutMs - (Date.now() - start));
|
|
922
|
-
const slice = Math.min(SEMANTIC_WAIT_MAX_TIMEOUT_MS, remaining);
|
|
922
|
+
const slice = Math.min(race?.sliceMs ?? SEMANTIC_WAIT_MAX_TIMEOUT_MS, remaining);
|
|
923
923
|
const result = await bridge.send(
|
|
924
924
|
{
|
|
925
925
|
type: "waitFor",
|
|
@@ -928,7 +928,7 @@ async function sendSemanticWait(bridge, condition, timeoutMs, simId, transportMs
|
|
|
928
928
|
},
|
|
929
929
|
{ timeoutMs: remaining + transportMs }
|
|
930
930
|
);
|
|
931
|
-
if (result?.matched || result?.error || condition.type === "ready" && result?.probe?.externalError || slice === remaining)
|
|
931
|
+
if (result?.matched || result?.error || condition.type === "ready" && result?.probe?.externalError || slice === remaining || race?.settled.aborted)
|
|
932
932
|
return sent === 1 ? result : { ...result, elapsedMs: Date.now() - start };
|
|
933
933
|
}
|
|
934
934
|
}
|
|
@@ -1016,7 +1016,9 @@ async function inspectWaitSelector(bridge, selector, timeoutMs = 5e3, opts = {})
|
|
|
1016
1016
|
selector
|
|
1017
1017
|
},
|
|
1018
1018
|
timeoutMs,
|
|
1019
|
-
void 0
|
|
1019
|
+
void 0,
|
|
1020
|
+
void 0,
|
|
1021
|
+
opts.race
|
|
1020
1022
|
);
|
|
1021
1023
|
if (result?.error) throw new Error(result.error);
|
|
1022
1024
|
if (result?.node && !isSimSemanticTree([result.node])) {
|