peachsim 0.1.2422 → 0.1.2425
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/command-agent.ts +14 -15
- package/cli/commands/box.ts +33 -28
- package/cli/commands/canvas.ts +54 -0
- package/cli/commands/platform.ts +28 -27
- package/cli/commands/preview.ts +2 -1
- package/cli/outbound-endpoints.ts +141 -23
- 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 +114 -28
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +22 -1
- package/dist-lib/cloud-contract.mjs +20 -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 +27 -13
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +112 -26
- 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 +114 -28
- 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 +88 -59
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +22 -7
- 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 +25 -10
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- 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 +54 -53
- 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 +258 -150
- package/dist-lib/swift-compile.cjs +87 -16
- package/dist-lib/swift-compile.mjs +87 -16
- 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 +88 -17
- package/dist-lib/vite.cjs +25 -10
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +83 -2
- package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +9 -0
- package/dist-types/packages/peach-globals/src/canvasAgentContract.d.ts +8 -0
- package/dist-types/packages/peach-globals/src/index.d.ts +4 -2
- package/dist-types/packages/peach-globals/src/lockstepCaptureBridgeContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/replayBridgeContract.d.ts +12 -0
- package/dist-types/packages/peach-globals/src/sceneStreamBridgeContract.d.ts +5 -1
- package/kotlin/README.md +4 -3
- package/kotlin/sdk.tar.gz +0 -0
- package/kotlin/toolchain.json +2 -2
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes +2 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStore.h +2 -0
- package/sdk/ios/wasm/include/errno.h +10 -0
- package/src/agent-daemon-client.ts +1 -1
- package/src/agent-prompt.ts +1 -8
- package/src/canvas-agent-note-delivery.ts +2 -5
- package/src/canvas-groups.ts +11 -3
- package/src/cloud-contract.ts +31 -1
- package/src/swift-compile.ts +1 -1
- package/src/swift-guest-compile.ts +2 -0
- package/src/swift-guest-image-ledger.ts +37 -2
- package/src/swift-guest-source-inputs.ts +45 -6
- package/src/visit-parsed-program.ts +21 -6
- package/src/vite-plugin.ts +4 -1
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2425 | (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;
|
|
@@ -1173,7 +1173,7 @@ var init_src = __esm({
|
|
|
1173
1173
|
var runtime_companion_default;
|
|
1174
1174
|
var init_runtime_companion = __esm({
|
|
1175
1175
|
"runtime-companion.json"() {
|
|
1176
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
1176
|
+
runtime_companion_default = { abi: 1, sha256: "50f7ba9b5269b150a6bd2189f202e3cde6ecd829f705d24a70a88f13e6a92474", file: "node/cli-50f7ba9b5269b150a6bd2189f202e3cde6ecd829f705d24a70a88f13e6a92474.cjs" };
|
|
1177
1177
|
}
|
|
1178
1178
|
});
|
|
1179
1179
|
|
|
@@ -8174,19 +8174,34 @@ var init_nitro_source = __esm({
|
|
|
8174
8174
|
|
|
8175
8175
|
// src/visit-parsed-program.ts
|
|
8176
8176
|
function visitParsedProgram(program, visitor) {
|
|
8177
|
+
const enterByType = /* @__PURE__ */ new Map();
|
|
8178
|
+
const exitByType = /* @__PURE__ */ new Map();
|
|
8179
|
+
for (const key of Object.keys(visitor)) {
|
|
8180
|
+
const handler = Reflect.get(visitor, key);
|
|
8181
|
+
if (typeof handler !== "function") continue;
|
|
8182
|
+
const invoke = (node) => {
|
|
8183
|
+
handler(node);
|
|
8184
|
+
};
|
|
8185
|
+
if (key.endsWith(":exit")) exitByType.set(key.slice(0, -5), invoke);
|
|
8186
|
+
else enterByType.set(key, invoke);
|
|
8187
|
+
}
|
|
8188
|
+
if (enterByType.size === 0 && exitByType.size === 0) return;
|
|
8189
|
+
const hasExit = exitByType.size > 0;
|
|
8177
8190
|
function visit3(value) {
|
|
8178
8191
|
if (Array.isArray(value)) {
|
|
8179
|
-
for (
|
|
8192
|
+
for (let i = 0; i < value.length; i++) visit3(value[i]);
|
|
8180
8193
|
return;
|
|
8181
8194
|
}
|
|
8182
8195
|
if (!isRecord(value) || typeof value.type !== "string") return;
|
|
8183
8196
|
const keys = import_oxc_parser.visitorKeys[value.type];
|
|
8184
8197
|
if (!keys) return;
|
|
8185
|
-
const enter =
|
|
8186
|
-
if (
|
|
8187
|
-
for (
|
|
8188
|
-
|
|
8189
|
-
|
|
8198
|
+
const enter = enterByType.get(value.type);
|
|
8199
|
+
if (enter) enter(value);
|
|
8200
|
+
for (let i = 0; i < keys.length; i++) visit3(value[keys[i]]);
|
|
8201
|
+
if (hasExit) {
|
|
8202
|
+
const exit = exitByType.get(value.type);
|
|
8203
|
+
if (exit) exit(value);
|
|
8204
|
+
}
|
|
8190
8205
|
}
|
|
8191
8206
|
visit3(program);
|
|
8192
8207
|
}
|
|
@@ -10559,7 +10574,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
10559
10574
|
var init_swift_standin_digest = __esm({
|
|
10560
10575
|
"src/swift-standin-digest.ts"() {
|
|
10561
10576
|
"use strict";
|
|
10562
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
10577
|
+
STANDIN_SOURCE_DIGEST = true ? "3a0e0016967d34924d12848e05752d3902596cc16a0f603a5fda32cb024d02f8" : standinSourceDigest();
|
|
10563
10578
|
}
|
|
10564
10579
|
});
|
|
10565
10580
|
|
|
@@ -10807,14 +10822,14 @@ function canonicalLabel(label, from) {
|
|
|
10807
10822
|
const { repo, pkg } = splitLabel(from);
|
|
10808
10823
|
return `${repo ? `@@${repo}` : ""}//${pkg}:${label.replace(/^:/, "")}`;
|
|
10809
10824
|
}
|
|
10810
|
-
function readBazelAppTarget(buildFile,
|
|
10811
|
-
if (!
|
|
10825
|
+
function readBazelAppTarget(buildFile, targetName, configurationName, options = {}) {
|
|
10826
|
+
if (!targetName)
|
|
10812
10827
|
throw new Error(
|
|
10813
10828
|
`${buildFile}: pass --target with the ios_application the bazel package builds`
|
|
10814
10829
|
);
|
|
10815
10830
|
const root = import_node_fs20.default.realpathSync.native(workspaceRoot(import_node_fs20.default.realpathSync.native(buildFile)));
|
|
10816
10831
|
const pkg = import_node_path20.default.relative(root, import_node_path20.default.dirname(import_node_fs20.default.realpathSync.native(buildFile)));
|
|
10817
|
-
const label = `//${pkg.split(import_node_path20.default.sep).join("/")}:${
|
|
10832
|
+
const label = `//${pkg.split(import_node_path20.default.sep).join("/")}:${targetName}`;
|
|
10818
10833
|
const configuration = configurationName ?? "Debug";
|
|
10819
10834
|
const graph = bazelGraph(root, label, configuration);
|
|
10820
10835
|
const files = new BazelFiles(graph, root);
|
|
@@ -11050,7 +11065,7 @@ ${published.map(
|
|
|
11050
11065
|
const appModule = {
|
|
11051
11066
|
...named,
|
|
11052
11067
|
id: idOf(graph.app),
|
|
11053
|
-
name:
|
|
11068
|
+
name: targetName,
|
|
11054
11069
|
targetIdentity: graph.app.label,
|
|
11055
11070
|
targetDependencies: [
|
|
11056
11071
|
...new Set(appParts.flatMap(({ module: module2 }) => module2.targetDependencies))
|
|
@@ -11339,7 +11354,7 @@ ${published.map(
|
|
|
11339
11354
|
{
|
|
11340
11355
|
id: appModule.id,
|
|
11341
11356
|
sourceTarget: appModule.moduleName,
|
|
11342
|
-
productName: `${
|
|
11357
|
+
productName: `${targetName}.app`,
|
|
11343
11358
|
productType: "com.apple.product-type.application",
|
|
11344
11359
|
installName: null,
|
|
11345
11360
|
buildVersion: { platform: "iphonesimulator", minimumOS, sdk: null },
|
|
@@ -11383,7 +11398,7 @@ ${published.map(
|
|
|
11383
11398
|
binaryFrameworks,
|
|
11384
11399
|
sdkFrameworks,
|
|
11385
11400
|
packageResolved: [],
|
|
11386
|
-
appTargets: [
|
|
11401
|
+
appTargets: [targetName],
|
|
11387
11402
|
configuration,
|
|
11388
11403
|
settings: (key) => key === "PRODUCT_MODULE_NAME" ? appModule.moduleName : key === "IPHONEOS_DEPLOYMENT_TARGET" ? minimumOS : key === "PRODUCT_BUNDLE_IDENTIFIER" ? graph.app.attrs.get("bundle_id")?.value ?? "" : "",
|
|
11389
11404
|
cocoapods: null
|
|
@@ -12478,7 +12493,7 @@ function parseBuildSettings(block) {
|
|
|
12478
12493
|
}
|
|
12479
12494
|
return settings;
|
|
12480
12495
|
}
|
|
12481
|
-
function appTargetReleaseSettings(pbxproj,
|
|
12496
|
+
function appTargetReleaseSettings(pbxproj, targetName, infoPlistRelativePath) {
|
|
12482
12497
|
const configurationPattern = /\/\* (Release|Debug) \*\/ = \{/g;
|
|
12483
12498
|
const candidates = [];
|
|
12484
12499
|
let match;
|
|
@@ -12499,7 +12514,7 @@ function appTargetReleaseSettings(pbxproj, targetName2, infoPlistRelativePath) {
|
|
|
12499
12514
|
const normalized = plist5.replace(/^"|"$/g, "");
|
|
12500
12515
|
return normalized === infoPlistRelativePath || infoPlistRelativePath.endsWith(`/${normalized}`) || normalized.endsWith(`/${infoPlistRelativePath}`);
|
|
12501
12516
|
};
|
|
12502
|
-
const named = (settings) => resolveBuildSetting(settings.PRODUCT_NAME ?? "", settings) ===
|
|
12517
|
+
const named = (settings) => resolveBuildSetting(settings.PRODUCT_NAME ?? "", settings) === targetName;
|
|
12503
12518
|
return candidates.find(
|
|
12504
12519
|
(candidate) => candidate.name === "Release" && plistMatch(candidate.settings)
|
|
12505
12520
|
)?.settings ?? candidates.find(
|
|
@@ -12543,31 +12558,31 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
|
|
|
12543
12558
|
applicationTargetNames.add(match[1]);
|
|
12544
12559
|
}
|
|
12545
12560
|
}
|
|
12546
|
-
let
|
|
12561
|
+
let targetName = null;
|
|
12547
12562
|
if (iosTarget) {
|
|
12548
12563
|
if (applicationTargetNames.has(iosTarget)) {
|
|
12549
|
-
|
|
12564
|
+
targetName = iosTarget;
|
|
12550
12565
|
} else {
|
|
12551
12566
|
return null;
|
|
12552
12567
|
}
|
|
12553
12568
|
} else if (applicationTargetNames.size === 1) {
|
|
12554
|
-
|
|
12569
|
+
targetName = [...applicationTargetNames][0];
|
|
12555
12570
|
} else if (applicationTargetNames.size > 1) {
|
|
12556
12571
|
const delegateTargets = Object.keys(files).filter((path37) => !path37.includes("/Pods/")).map((path37) => path37.match(APP_DELEGATE_PATH_RE)?.[1]).filter(
|
|
12557
12572
|
(name2) => typeof name2 === "string" && applicationTargetNames.has(name2)
|
|
12558
12573
|
);
|
|
12559
12574
|
if (delegateTargets.length === 1) {
|
|
12560
|
-
|
|
12575
|
+
targetName = delegateTargets[0];
|
|
12561
12576
|
} else {
|
|
12562
12577
|
return null;
|
|
12563
12578
|
}
|
|
12564
12579
|
} else {
|
|
12565
12580
|
return null;
|
|
12566
12581
|
}
|
|
12567
|
-
const selectedTarget = targets.find((t) => t.name ===
|
|
12582
|
+
const selectedTarget = targets.find((t) => t.name === targetName);
|
|
12568
12583
|
const settings = {
|
|
12569
|
-
TARGET_NAME:
|
|
12570
|
-
PRODUCT_NAME:
|
|
12584
|
+
TARGET_NAME: targetName,
|
|
12585
|
+
PRODUCT_NAME: targetName
|
|
12571
12586
|
};
|
|
12572
12587
|
for (const obj of Object.values(objects)) {
|
|
12573
12588
|
if (isRecord(obj) && obj.isa === "PBXProject" && typeof obj.buildConfigurationList === "string") {
|
|
@@ -12603,8 +12618,8 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
|
|
|
12603
12618
|
} else {
|
|
12604
12619
|
const legacy = appTargetReleaseSettings(
|
|
12605
12620
|
pbxproj,
|
|
12606
|
-
|
|
12607
|
-
`${
|
|
12621
|
+
targetName,
|
|
12622
|
+
`${targetName}/Info.plist`
|
|
12608
12623
|
);
|
|
12609
12624
|
if (legacy) Object.assign(settings, legacy);
|
|
12610
12625
|
}
|
|
@@ -12615,7 +12630,7 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
|
|
|
12615
12630
|
plist5 = files[`ios/${normalized}`] ?? files[normalized] ?? Object.entries(files).find(([k]) => k.endsWith(`/${normalized}`))?.[1];
|
|
12616
12631
|
}
|
|
12617
12632
|
if (!plist5) {
|
|
12618
|
-
plist5 = files[`ios/${
|
|
12633
|
+
plist5 = files[`ios/${targetName}/Info.plist`] ?? files[`${targetName}/Info.plist`] ?? Object.entries(files).find(([k]) => k.endsWith(`/${targetName}/Info.plist`))?.[1];
|
|
12619
12634
|
}
|
|
12620
12635
|
if (!plist5) return null;
|
|
12621
12636
|
const bundleIdentifier = identityFieldFrom(
|
|
@@ -12639,7 +12654,7 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
|
|
|
12639
12654
|
settings,
|
|
12640
12655
|
plistString(plist5, "CFBundleName"),
|
|
12641
12656
|
settings.PRODUCT_NAME
|
|
12642
|
-
) ?? resolvedIdentityField(resolveBuildSetting(settings.PRODUCT_NAME ?? "", settings)) ?? resolvedIdentityField(
|
|
12657
|
+
) ?? resolvedIdentityField(resolveBuildSetting(settings.PRODUCT_NAME ?? "", settings)) ?? resolvedIdentityField(targetName);
|
|
12643
12658
|
if (!bundleName) return null;
|
|
12644
12659
|
const applicationName = identityFieldFrom(settings, plistString(plist5, "CFBundleDisplayName"), void 0) ?? bundleName;
|
|
12645
12660
|
const dictionary = parseInfoPlist(plist5);
|
|
@@ -12805,7 +12820,7 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
|
|
|
12805
12820
|
}
|
|
12806
12821
|
const rootModuleName = readRootModuleName(
|
|
12807
12822
|
Object.entries(files).filter(
|
|
12808
|
-
([path37]) => !path37.includes("/Pods/") && (/(?:^|\/)(?:ios\/)?AppDelegate\.(?:swift|mm|m)$/.test(path37) || path37.match(APP_DELEGATE_PATH_RE)?.[1] ===
|
|
12823
|
+
([path37]) => !path37.includes("/Pods/") && (/(?:^|\/)(?:ios\/)?AppDelegate\.(?:swift|mm|m)$/.test(path37) || path37.match(APP_DELEGATE_PATH_RE)?.[1] === targetName)
|
|
12809
12824
|
).map(([, source]) => source)
|
|
12810
12825
|
);
|
|
12811
12826
|
return {
|
|
@@ -13970,7 +13985,7 @@ var init_swift_compile = __esm({
|
|
|
13970
13985
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
13971
13986
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
13972
13987
|
).join("");
|
|
13973
|
-
compilerSourceDigest = true ? "
|
|
13988
|
+
compilerSourceDigest = true ? "714dbca336e958240697a0238ee5b0640b2b212c34df4843e82d0c1abe3e8c43" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
13974
13989
|
C_WORDS = new Set(
|
|
13975
13990
|
"auto bool break case char const continue default do double else enum extern false float for goto if inline int long register restrict return short signed sizeof static struct switch true typedef union unsigned void volatile while YES NO NULL nil Nil id self super instancetype".split(
|
|
13976
13991
|
" "
|
|
@@ -14445,10 +14460,10 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
14445
14460
|
phases.set(`id:${phaseId}`, phaseId);
|
|
14446
14461
|
}
|
|
14447
14462
|
}
|
|
14448
|
-
const phaseFiles = (reference,
|
|
14463
|
+
const phaseFiles = (reference, targetName) => {
|
|
14449
14464
|
const value = text2(reference);
|
|
14450
14465
|
if (value === void 0) return null;
|
|
14451
|
-
const key = value.startsWith("id:") || !
|
|
14466
|
+
const key = value.startsWith("id:") || !targetName ? value : `${targetName}/${value}`;
|
|
14452
14467
|
const phase = objects[phases.get(key) ?? ""];
|
|
14453
14468
|
return phase && typeof phase === "object" && !Array.isArray(phase) && Array.isArray(phase.files) ? phase.files : null;
|
|
14454
14469
|
};
|
|
@@ -15055,7 +15070,7 @@ function fileListEntries(file, absolute) {
|
|
|
15055
15070
|
}
|
|
15056
15071
|
function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
15057
15072
|
const { project, target, id: targetId } = ref;
|
|
15058
|
-
const
|
|
15073
|
+
const targetName = str2(target.name) ?? targetId;
|
|
15059
15074
|
const sources = /* @__PURE__ */ new Set();
|
|
15060
15075
|
const allSources = /* @__PURE__ */ new Set();
|
|
15061
15076
|
const headers = /* @__PURE__ */ new Set();
|
|
@@ -15128,7 +15143,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
15128
15143
|
for (const { file } of lists)
|
|
15129
15144
|
if (!import_node_fs23.default.existsSync(file))
|
|
15130
15145
|
throw new Error(
|
|
15131
|
-
`${
|
|
15146
|
+
`${targetName}: Run Script "${script}" missing file list ${file}`
|
|
15132
15147
|
);
|
|
15133
15148
|
const env = {
|
|
15134
15149
|
...process.env,
|
|
@@ -15224,7 +15239,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
15224
15239
|
const output2 = error instanceof Error ? `${error.message}
|
|
15225
15240
|
${"stdout" in error ? String(error.stdout) : ""}${"stderr" in error ? String(error.stderr) : ""}` : String(error);
|
|
15226
15241
|
throw new Error(
|
|
15227
|
-
`${
|
|
15242
|
+
`${targetName}: Run Script "${script}" failed preparing generated outputs:
|
|
15228
15243
|
${output2}`
|
|
15229
15244
|
);
|
|
15230
15245
|
}
|
|
@@ -15233,7 +15248,7 @@ ${output2}`
|
|
|
15233
15248
|
);
|
|
15234
15249
|
if (missing2.length > 0)
|
|
15235
15250
|
throw new Error(
|
|
15236
|
-
`${
|
|
15251
|
+
`${targetName}: Run Script "${script}" did not produce ${missing2.join(", ")}`
|
|
15237
15252
|
);
|
|
15238
15253
|
preparedSourcePhases.set(key, stamp);
|
|
15239
15254
|
preparedXcodePhase(
|
|
@@ -15265,7 +15280,7 @@ ${output2}`
|
|
|
15265
15280
|
if (options.requireSources === false) return;
|
|
15266
15281
|
const script = scriptForOutput.get(import_node_path25.default.normalize(file));
|
|
15267
15282
|
throw new Error(
|
|
15268
|
-
script ? `${
|
|
15283
|
+
script ? `${targetName}: missing generated source ${file} (Run Script "${script}" declares it in outputPaths; run the script or check in its output)` : `${targetName}: missing source ${file}`
|
|
15269
15284
|
);
|
|
15270
15285
|
}
|
|
15271
15286
|
allSources.add(file);
|
|
@@ -15288,7 +15303,7 @@ ${output2}`
|
|
|
15288
15303
|
);
|
|
15289
15304
|
if (runtimeInterfaceFiles.length > 0)
|
|
15290
15305
|
throw new Error(
|
|
15291
|
-
`${
|
|
15306
|
+
`${targetName}: Interface Builder compilation requires macOS and Xcode`
|
|
15292
15307
|
);
|
|
15293
15308
|
for (const file of interfaceFiles) resources.delete(file);
|
|
15294
15309
|
interfaceFiles.length = 0;
|
|
@@ -15304,7 +15319,7 @@ ${output2}`
|
|
|
15304
15319
|
import_node_path25.default.basename(file, import_node_path25.default.extname(file)) + extension
|
|
15305
15320
|
);
|
|
15306
15321
|
if (interfaceOutputs.has(output2))
|
|
15307
|
-
throw new Error(`${
|
|
15322
|
+
throw new Error(`${targetName}: duplicate Interface Builder output ${output2}`);
|
|
15308
15323
|
interfaceOutputs.add(output2);
|
|
15309
15324
|
const args = [
|
|
15310
15325
|
"ibtool",
|
|
@@ -15346,7 +15361,7 @@ ${output2}`
|
|
|
15346
15361
|
);
|
|
15347
15362
|
if (definitions.length > 0 && process.platform !== "darwin")
|
|
15348
15363
|
throw new Error(
|
|
15349
|
-
`${
|
|
15364
|
+
`${targetName}: intent definition code generation requires macOS and Xcode`
|
|
15350
15365
|
);
|
|
15351
15366
|
for (const definition of definitions) {
|
|
15352
15367
|
const configuredLanguage = settings("INTENTS_CODEGEN_LANGUAGE");
|
|
@@ -15591,8 +15606,8 @@ function readXcodeScheme(xcodeprojOrWorkspace, scheme) {
|
|
|
15591
15606
|
if (!name2) {
|
|
15592
15607
|
const declared = (project ? [project] : projects).flatMap(
|
|
15593
15608
|
(candidate) => projectTargets(candidate).flatMap((ref) => {
|
|
15594
|
-
const
|
|
15595
|
-
return
|
|
15609
|
+
const targetName = str2(ref.target.name);
|
|
15610
|
+
return targetName ? [targetName] : [];
|
|
15596
15611
|
})
|
|
15597
15612
|
);
|
|
15598
15613
|
throw new Error(
|
|
@@ -15677,9 +15692,9 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
15677
15692
|
);
|
|
15678
15693
|
return { xcodeproj, target, workspace: project.workspace };
|
|
15679
15694
|
}
|
|
15680
|
-
function readXcodeAppTarget(input,
|
|
15695
|
+
function readXcodeAppTarget(input, targetName, configurationName, options = {}) {
|
|
15681
15696
|
if (isBazelPackage(input))
|
|
15682
|
-
return readBazelAppTarget(input,
|
|
15697
|
+
return readBazelAppTarget(input, targetName, configurationName, options);
|
|
15683
15698
|
const xcodeprojOrWorkspace = import_node_fs23.default.realpathSync.native(input);
|
|
15684
15699
|
const workspace = xcodeprojOrWorkspace.endsWith(".xcworkspace") ? xcodeprojOrWorkspace : null;
|
|
15685
15700
|
const { listed, projects, projectAt, cocoapods } = workspaceProjects(
|
|
@@ -15688,22 +15703,22 @@ function readXcodeAppTarget(input, targetName2, configurationName, options = {})
|
|
|
15688
15703
|
);
|
|
15689
15704
|
const allTargets = projects.flatMap(projectTargets);
|
|
15690
15705
|
const appTargets = allTargets.filter(
|
|
15691
|
-
(ref) => options.frameworkMachOType ? ref.target.name ===
|
|
15706
|
+
(ref) => options.frameworkMachOType ? ref.target.name === targetName && FRAMEWORK_PRODUCTS.has(str2(ref.target.productType) ?? "") : isIosAppTarget(ref, options) || targetName !== void 0 && ref.target.name === targetName && ref.target.productType === APP_EXTENSION
|
|
15692
15707
|
);
|
|
15693
15708
|
const appTargetNames = appTargets.map((ref) => str2(ref.target.name) ?? ref.id);
|
|
15694
15709
|
const container = import_node_path25.default.basename(xcodeprojOrWorkspace);
|
|
15695
|
-
const named =
|
|
15710
|
+
const named = targetName ? appTargets.filter((ref) => ref.target.name === targetName) : appTargets;
|
|
15696
15711
|
if (named.length !== 1) {
|
|
15697
15712
|
if (options.frameworkMachOType)
|
|
15698
15713
|
throw new Error(
|
|
15699
|
-
`${container} must declare one framework target named ${
|
|
15714
|
+
`${container} must declare one framework target named ${targetName}`
|
|
15700
15715
|
);
|
|
15701
15716
|
if (appTargets.length === 0)
|
|
15702
15717
|
throw new Error(
|
|
15703
15718
|
`${container} has no application targets; open a project or workspace that contains one`
|
|
15704
15719
|
);
|
|
15705
15720
|
throw new Error(
|
|
15706
|
-
|
|
15721
|
+
targetName && named.length === 0 ? `${container} has no application target ${targetName}; it has ${appTargetNames.join(", ") || "none"}` : targetName ? `${container} has ${named.length} application targets named ${targetName}; open its .xcodeproj` : `${container} has ${appTargetNames.length} application targets (${appTargetNames.join(", ")}); pass --target`
|
|
15707
15722
|
);
|
|
15708
15723
|
}
|
|
15709
15724
|
const app = named[0];
|
|
@@ -18759,6 +18774,23 @@ init_cli_runtime();
|
|
|
18759
18774
|
|
|
18760
18775
|
// src/cloud-contract.ts
|
|
18761
18776
|
var AGENT_IDENTITY_MAX_CHARS = 200;
|
|
18777
|
+
var TEXT_FIELD_TYPE = /text ?(input|field)/i;
|
|
18778
|
+
function agentActionTarget(target) {
|
|
18779
|
+
if (!target) return void 0;
|
|
18780
|
+
const clean = (value) => {
|
|
18781
|
+
const text4 = value?.trim().replace(/\s+/g, " ");
|
|
18782
|
+
return text4 ? text4.slice(0, AGENT_IDENTITY_MAX_CHARS) : void 0;
|
|
18783
|
+
};
|
|
18784
|
+
const id = clean(target.id);
|
|
18785
|
+
const testID = clean(target.testID);
|
|
18786
|
+
const text3 = TEXT_FIELD_TYPE.test(target.type ?? "") ? void 0 : clean(target.text);
|
|
18787
|
+
if (!id && !testID && !text3) return void 0;
|
|
18788
|
+
return { ...id && { id }, ...testID && { testID }, ...text3 && { text: text3 } };
|
|
18789
|
+
}
|
|
18790
|
+
function agentActionTargetName(target) {
|
|
18791
|
+
const safe = agentActionTarget(target);
|
|
18792
|
+
return safe?.text ?? safe?.testID ?? safe?.id ?? null;
|
|
18793
|
+
}
|
|
18762
18794
|
var RNX_CLOUD_DESIGN_MAX_STORAGE_BYTES = 1024 * 1024;
|
|
18763
18795
|
var RNX_CLOUD_COMMAND_SCOPES = {
|
|
18764
18796
|
state: "read",
|
|
@@ -19492,23 +19524,19 @@ function isOpenPending() {
|
|
|
19492
19524
|
function clip(text3) {
|
|
19493
19525
|
return text3.length > AGENT_IDENTITY_MAX_CHARS ? `${text3.slice(0, AGENT_IDENTITY_MAX_CHARS - 1)}\u2026` : text3;
|
|
19494
19526
|
}
|
|
19495
|
-
function targetName(target) {
|
|
19496
|
-
const name2 = target?.text?.trim() || target?.testID?.trim() || target?.id?.trim();
|
|
19497
|
-
return name2 ? name2.replace(/\s+/g, " ") : null;
|
|
19498
|
-
}
|
|
19499
19527
|
function verb(action, target) {
|
|
19500
19528
|
return target ? `${action} ${target}` : action;
|
|
19501
19529
|
}
|
|
19502
19530
|
function describeStep(step) {
|
|
19503
19531
|
switch (step.type) {
|
|
19504
19532
|
case "tap":
|
|
19505
|
-
return verb("Tapping",
|
|
19533
|
+
return verb("Tapping", agentActionTargetName(step.target));
|
|
19506
19534
|
case "tapId":
|
|
19507
19535
|
return verb("Tapping", step.id);
|
|
19508
19536
|
case "doubleTap":
|
|
19509
19537
|
return "Double tapping";
|
|
19510
19538
|
case "longPress":
|
|
19511
|
-
return verb("Long pressing",
|
|
19539
|
+
return verb("Long pressing", agentActionTargetName(step.target));
|
|
19512
19540
|
case "drag":
|
|
19513
19541
|
return "Dragging";
|
|
19514
19542
|
case "pinch":
|
|
@@ -19551,9 +19579,9 @@ function describeStep(step) {
|
|
|
19551
19579
|
function describeCommand(command) {
|
|
19552
19580
|
switch (command.type) {
|
|
19553
19581
|
case "tap":
|
|
19554
|
-
return verb("Tapping",
|
|
19582
|
+
return verb("Tapping", agentActionTargetName(command.target));
|
|
19555
19583
|
case "longPress":
|
|
19556
|
-
return verb("Long pressing",
|
|
19584
|
+
return verb("Long pressing", agentActionTargetName(command.target));
|
|
19557
19585
|
case "keyboard":
|
|
19558
19586
|
return command.action === "dismiss" ? "Dismissing the keyboard" : command.action === "press" || command.action === "dispatchKey" ? "Pressing a key" : "Typing";
|
|
19559
19587
|
case "screenshot":
|
|
@@ -19568,6 +19596,9 @@ function describeCommand(command) {
|
|
|
19568
19596
|
return null;
|
|
19569
19597
|
}
|
|
19570
19598
|
}
|
|
19599
|
+
function cliAgentName(identityKey) {
|
|
19600
|
+
return readAgentId() ?? (process.env.PEACH_AGENT_ID?.trim() || formatLockOwner(identityKey));
|
|
19601
|
+
}
|
|
19571
19602
|
function commandAgent(command) {
|
|
19572
19603
|
const step = describeCommand(command);
|
|
19573
19604
|
if (!step) return void 0;
|
|
@@ -19577,9 +19608,7 @@ function commandAgent(command) {
|
|
|
19577
19608
|
if (!machine) return void 0;
|
|
19578
19609
|
return {
|
|
19579
19610
|
id: clip(identity2.key),
|
|
19580
|
-
name: clip(
|
|
19581
|
-
readAgentId() ?? (process.env.PEACH_AGENT_ID?.trim() || formatLockOwner(identity2.key))
|
|
19582
|
-
),
|
|
19611
|
+
name: clip(cliAgentName(identity2.key)),
|
|
19583
19612
|
machine: clip(machine),
|
|
19584
19613
|
step: clip(step)
|
|
19585
19614
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2425 | (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.2425 | (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;
|
|
@@ -51,19 +51,34 @@ function isRecord(value) {
|
|
|
51
51
|
|
|
52
52
|
// src/visit-parsed-program.ts
|
|
53
53
|
function visitParsedProgram(program, visitor) {
|
|
54
|
+
const enterByType = /* @__PURE__ */ new Map();
|
|
55
|
+
const exitByType = /* @__PURE__ */ new Map();
|
|
56
|
+
for (const key of Object.keys(visitor)) {
|
|
57
|
+
const handler = Reflect.get(visitor, key);
|
|
58
|
+
if (typeof handler !== "function") continue;
|
|
59
|
+
const invoke = (node) => {
|
|
60
|
+
handler(node);
|
|
61
|
+
};
|
|
62
|
+
if (key.endsWith(":exit")) exitByType.set(key.slice(0, -5), invoke);
|
|
63
|
+
else enterByType.set(key, invoke);
|
|
64
|
+
}
|
|
65
|
+
if (enterByType.size === 0 && exitByType.size === 0) return;
|
|
66
|
+
const hasExit = exitByType.size > 0;
|
|
54
67
|
function visit(value) {
|
|
55
68
|
if (Array.isArray(value)) {
|
|
56
|
-
for (
|
|
69
|
+
for (let i = 0; i < value.length; i++) visit(value[i]);
|
|
57
70
|
return;
|
|
58
71
|
}
|
|
59
72
|
if (!isRecord(value) || typeof value.type !== "string") return;
|
|
60
73
|
const keys = import_oxc_parser.visitorKeys[value.type];
|
|
61
74
|
if (!keys) return;
|
|
62
|
-
const enter =
|
|
63
|
-
if (
|
|
64
|
-
for (
|
|
65
|
-
|
|
66
|
-
|
|
75
|
+
const enter = enterByType.get(value.type);
|
|
76
|
+
if (enter) enter(value);
|
|
77
|
+
for (let i = 0; i < keys.length; i++) visit(value[keys[i]]);
|
|
78
|
+
if (hasExit) {
|
|
79
|
+
const exit = exitByType.get(value.type);
|
|
80
|
+
if (exit) exit(value);
|
|
81
|
+
}
|
|
67
82
|
}
|
|
68
83
|
visit(program);
|
|
69
84
|
}
|
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2425 | (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/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2425 | (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/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2425 | (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.2425 | (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.2425 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __esm = (fn, res) => function __init() {
|
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2425 | (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;
|
|
@@ -1892,7 +1892,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
1892
1892
|
var init_swift_standin_digest = __esm({
|
|
1893
1893
|
"src/swift-standin-digest.ts"() {
|
|
1894
1894
|
"use strict";
|
|
1895
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
1895
|
+
STANDIN_SOURCE_DIGEST = true ? "3a0e0016967d34924d12848e05752d3902596cc16a0f603a5fda32cb024d02f8" : standinSourceDigest();
|
|
1896
1896
|
}
|
|
1897
1897
|
});
|
|
1898
1898
|
|
|
@@ -9623,7 +9623,7 @@ var init_swift_compile = __esm({
|
|
|
9623
9623
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
9624
9624
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
9625
9625
|
).join("");
|
|
9626
|
-
compilerSourceDigest = true ? "
|
|
9626
|
+
compilerSourceDigest = true ? "714dbca336e958240697a0238ee5b0640b2b212c34df4843e82d0c1abe3e8c43" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
9627
9627
|
C_WORDS = new Set(
|
|
9628
9628
|
"auto bool break case char const continue default do double else enum extern false float for goto if inline int long register restrict return short signed sizeof static struct switch true typedef union unsigned void volatile while YES NO NULL nil Nil id self super instancetype".split(
|
|
9629
9629
|
" "
|
|
@@ -14672,19 +14672,34 @@ var init_public_brand = __esm({
|
|
|
14672
14672
|
|
|
14673
14673
|
// src/visit-parsed-program.ts
|
|
14674
14674
|
function visitParsedProgram(program, visitor) {
|
|
14675
|
+
const enterByType = /* @__PURE__ */ new Map();
|
|
14676
|
+
const exitByType = /* @__PURE__ */ new Map();
|
|
14677
|
+
for (const key of Object.keys(visitor)) {
|
|
14678
|
+
const handler = Reflect.get(visitor, key);
|
|
14679
|
+
if (typeof handler !== "function") continue;
|
|
14680
|
+
const invoke = (node) => {
|
|
14681
|
+
handler(node);
|
|
14682
|
+
};
|
|
14683
|
+
if (key.endsWith(":exit")) exitByType.set(key.slice(0, -5), invoke);
|
|
14684
|
+
else enterByType.set(key, invoke);
|
|
14685
|
+
}
|
|
14686
|
+
if (enterByType.size === 0 && exitByType.size === 0) return;
|
|
14687
|
+
const hasExit = exitByType.size > 0;
|
|
14675
14688
|
function visit3(value) {
|
|
14676
14689
|
if (Array.isArray(value)) {
|
|
14677
|
-
for (
|
|
14690
|
+
for (let i = 0; i < value.length; i++) visit3(value[i]);
|
|
14678
14691
|
return;
|
|
14679
14692
|
}
|
|
14680
14693
|
if (!isRecord(value) || typeof value.type !== "string") return;
|
|
14681
14694
|
const keys = import_oxc_parser.visitorKeys[value.type];
|
|
14682
14695
|
if (!keys) return;
|
|
14683
|
-
const enter =
|
|
14684
|
-
if (
|
|
14685
|
-
for (
|
|
14686
|
-
|
|
14687
|
-
|
|
14696
|
+
const enter = enterByType.get(value.type);
|
|
14697
|
+
if (enter) enter(value);
|
|
14698
|
+
for (let i = 0; i < keys.length; i++) visit3(value[keys[i]]);
|
|
14699
|
+
if (hasExit) {
|
|
14700
|
+
const exit = exitByType.get(value.type);
|
|
14701
|
+
if (exit) exit(value);
|
|
14702
|
+
}
|
|
14688
14703
|
}
|
|
14689
14704
|
visit3(program);
|
|
14690
14705
|
}
|
|
@@ -17602,7 +17617,7 @@ var init_node_http_fetch = __esm({
|
|
|
17602
17617
|
var runtime_companion_default;
|
|
17603
17618
|
var init_runtime_companion = __esm({
|
|
17604
17619
|
"runtime-companion.json"() {
|
|
17605
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
17620
|
+
runtime_companion_default = { abi: 1, sha256: "50f7ba9b5269b150a6bd2189f202e3cde6ecd829f705d24a70a88f13e6a92474", file: "node/cli-50f7ba9b5269b150a6bd2189f202e3cde6ecd829f705d24a70a88f13e6a92474.cjs" };
|
|
17606
17621
|
}
|
|
17607
17622
|
});
|
|
17608
17623
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2425 | (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;
|
|
@@ -4169,7 +4169,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
4169
4169
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
4170
4170
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
4171
4171
|
).join("");
|
|
4172
|
-
var compilerSourceDigest = true ? "
|
|
4172
|
+
var compilerSourceDigest = true ? "714dbca336e958240697a0238ee5b0640b2b212c34df4843e82d0c1abe3e8c43" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
4173
4173
|
var C_WORDS = new Set(
|
|
4174
4174
|
"auto bool break case char const continue default do double else enum extern false float for goto if inline int long register restrict return short signed sizeof static struct switch true typedef union unsigned void volatile while YES NO NULL nil Nil id self super instancetype".split(
|
|
4175
4175
|
" "
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2425 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -4422,7 +4422,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
4422
4422
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
4423
4423
|
(module) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module}"`
|
|
4424
4424
|
).join("");
|
|
4425
|
-
var compilerSourceDigest = true ? "
|
|
4425
|
+
var compilerSourceDigest = true ? "714dbca336e958240697a0238ee5b0640b2b212c34df4843e82d0c1abe3e8c43" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
4426
4426
|
var C_WORDS = new Set(
|
|
4427
4427
|
"auto bool break case char const continue default do double else enum extern false float for goto if inline int long register restrict return short signed sizeof static struct switch true typedef union unsigned void volatile while YES NO NULL nil Nil id self super instancetype".split(
|
|
4428
4428
|
" "
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2425 | (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;
|