peachsim 0.1.2441 → 0.1.2442
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/README.md +4 -2
- package/detox/index.ts +20 -1
- package/dist-lib/agent-daemon-client.cjs +2 -2
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +42 -22
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +17 -5
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-FRQNHKFC.mjs → acorn-D5YJOCIH.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-VAQJQDWI.mjs → chunk-2WXLADPB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QYYJESMK.mjs → chunk-AAUTS54C.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PMGJ7FLI.mjs → chunk-CHX6MVMJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DJMWTW2B.mjs → chunk-COWKF3A3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZCMAKWHN.mjs → chunk-DGMP72J3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NPLEBOWJ.mjs → chunk-DSGMAFCS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-O4EOBXAP.mjs → chunk-HBINLWOI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IRMC5BCX.mjs → chunk-IL72GVD2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-VCAJFWZD.mjs → chunk-MYQU622L.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4ZRMJ5YO.mjs → chunk-NPSA7CAZ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4BZ3Z3IQ.mjs → chunk-NZRT4DMX.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-QUBR7LHU.mjs → chunk-PTLTHUGX.mjs} +37 -13
- package/dist-lib/esm-chunks/{chunk-ABMB3G7I.mjs → chunk-Q3B6RI26.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-BAYRN7ZL.mjs → chunk-QUCZFE4Q.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6A6JEVIF.mjs → chunk-QZBKRPVC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-XO5GX4PI.mjs → chunk-S6SCCQXW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4HEUXQGM.mjs → chunk-VIB2KS3Z.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-ORYS5CC4.mjs → chunk-ZTXYR22R.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-AUAVE5VL.mjs → metro-layout-parser-BIIH3PF6.mjs} +3 -3
- package/dist-lib/expo-swift-bundle.cjs +41 -15
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +45 -25
- package/dist-lib/host/fetch-proxy-handler.cjs +6 -12
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +2 -2
- package/dist-lib/index.cjs +2 -2
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +14 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +12 -12
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +64 -64
- package/dist-lib/public-origins-lib-static.json +1 -1
- package/dist-lib/public-origins-lib.json +112 -66
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +7 -7
- package/dist-lib/skills.cjs +55 -35
- package/dist-lib/swift-compile.cjs +33 -9
- package/dist-lib/swift-compile.mjs +8 -8
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +5 -5
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +14770 -0
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +2790 -0
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/bplist-parser.cjs +1 -1
- package/dist-lib/vendor/ignore.cjs +1 -1
- package/dist-lib/vendor/jiti.cjs +32732 -0
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/plist.cjs +1 -1
- package/dist-lib/vendor/prism.wasm +0 -0
- package/dist-lib/vendor/smol-toml.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +3710 -0
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/package.json +25 -6
- package/src/jump-to-source-native.ts +1 -0
- package/src/oxc-parser-peer.ts +12 -0
- package/src/podspec-prism.ts +7 -1
- package/src/swift-compile.ts +38 -8
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2442 | (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;
|
|
@@ -6351,7 +6351,7 @@ var init_supported_native_packages = __esm({
|
|
|
6351
6351
|
"react-native-lan-port-scanner",
|
|
6352
6352
|
// seam+coverage
|
|
6353
6353
|
"react-native-launch-arguments",
|
|
6354
|
-
// coverage
|
|
6354
|
+
// seam+coverage
|
|
6355
6355
|
"react-native-legal",
|
|
6356
6356
|
// semantic-proof+seam
|
|
6357
6357
|
"react-native-libsodium",
|
|
@@ -8001,7 +8001,7 @@ var init_registry = __esm({
|
|
|
8001
8001
|
{
|
|
8002
8002
|
range: ">=4.0.0",
|
|
8003
8003
|
coverage: 1,
|
|
8004
|
-
note: "
|
|
8004
|
+
note: "published JavaScript parses and caches the launch argument dictionary provided by the preview host",
|
|
8005
8005
|
working: "LaunchArguments.value<T>()"
|
|
8006
8006
|
}
|
|
8007
8007
|
]
|
|
@@ -12080,9 +12080,9 @@ var init_registry = __esm({
|
|
|
12080
12080
|
{
|
|
12081
12081
|
range: ">=3.0.0",
|
|
12082
12082
|
coverage: 0.75,
|
|
12083
|
-
note: "
|
|
12084
|
-
working: "
|
|
12085
|
-
missing: "
|
|
12083
|
+
note: "published Passkey JavaScript determines support from the device OS version. The native bridge delegates credential requests to the browser WebAuthn owner.",
|
|
12084
|
+
working: "credential creation and assertion, platform and cross-platform selection for creation, extension payloads, credential signals, and explicit rejection when WebAuthn is unavailable",
|
|
12085
|
+
missing: "iOS-specific immediate credential selection, forced assertion authenticator selection, and hardware behavior that the browser does not expose"
|
|
12086
12086
|
}
|
|
12087
12087
|
]
|
|
12088
12088
|
},
|
|
@@ -31886,7 +31886,9 @@ var init_pod_graph_specifications = __esm({
|
|
|
31886
31886
|
function prism() {
|
|
31887
31887
|
if (exports2) return exports2;
|
|
31888
31888
|
const bytes = typeof __PEACH_PRISM_WASM__ === "string" ? Buffer.from(__PEACH_PRISM_WASM__, "base64") : import_node_fs17.default.readFileSync(
|
|
31889
|
-
(0, import_node_module.createRequire)(__sootsim_import_meta_url).resolve(
|
|
31889
|
+
(0, import_node_module.createRequire)(__sootsim_import_meta_url).resolve(
|
|
31890
|
+
true ? "peachsim/vendor/prism.wasm" : "@ruby/prism/src/prism.wasm"
|
|
31891
|
+
)
|
|
31890
31892
|
);
|
|
31891
31893
|
let memory = null;
|
|
31892
31894
|
const EBADF = 8;
|
|
@@ -31933,7 +31935,7 @@ var init_podspec_prism = __esm({
|
|
|
31933
31935
|
import_node_crypto7 = require("node:crypto");
|
|
31934
31936
|
import_node_fs17 = __toESM(require("node:fs"), 1);
|
|
31935
31937
|
import_node_module = require("node:module");
|
|
31936
|
-
import_parsePrism = require("
|
|
31938
|
+
import_parsePrism = require("peachsim/vendor/@ruby/prism/src/parsePrism.js");
|
|
31937
31939
|
RubySyntaxError = class extends Error {
|
|
31938
31940
|
};
|
|
31939
31941
|
exports2 = null;
|
|
@@ -34623,7 +34625,7 @@ var init_podspec_ruby = __esm({
|
|
|
34623
34625
|
import_node_crypto8 = require("node:crypto");
|
|
34624
34626
|
import_node_fs18 = __toESM(require("node:fs"), 1);
|
|
34625
34627
|
import_node_path12 = __toESM(require("node:path"), 1);
|
|
34626
|
-
N = __toESM(require("
|
|
34628
|
+
N = __toESM(require("peachsim/vendor/@ruby/prism/src/nodes.js"), 1);
|
|
34627
34629
|
init_podspec_prism();
|
|
34628
34630
|
UnsupportedRuby = class extends Error {
|
|
34629
34631
|
};
|
|
@@ -49248,7 +49250,7 @@ var init_app_config = __esm({
|
|
|
49248
49250
|
"use strict";
|
|
49249
49251
|
import_node_fs33 = require("node:fs");
|
|
49250
49252
|
import_node_path29 = __toESM(require("node:path"), 1);
|
|
49251
|
-
import_jiti = require("jiti");
|
|
49253
|
+
import_jiti = require("peachsim/vendor/jiti");
|
|
49252
49254
|
init_app_project();
|
|
49253
49255
|
init_app_stubs();
|
|
49254
49256
|
init_config();
|
|
@@ -49492,13 +49494,13 @@ var init_swift_standin_digest = __esm({
|
|
|
49492
49494
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
49493
49495
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
49494
49496
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
49495
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
49497
|
+
STANDIN_SOURCE_DIGEST = true ? "420f8c4f781572c3c44024d8ff6179ebb2496ed860764ce77dbcb9250dfe20ad" : standinSourceDigest();
|
|
49496
49498
|
}
|
|
49497
49499
|
});
|
|
49498
49500
|
|
|
49499
49501
|
// src/expo-native-compiler-digest.ts
|
|
49500
49502
|
function expoNativeCompilerDigestValue() {
|
|
49501
|
-
return true ? "
|
|
49503
|
+
return true ? "3e8fe9ffda4be4b34b27b8625184f164ae16034e248705a9dacdb82bf81971d2" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
49502
49504
|
}
|
|
49503
49505
|
var import_node_crypto19;
|
|
49504
49506
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -64588,6 +64590,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
64588
64590
|
}
|
|
64589
64591
|
continue;
|
|
64590
64592
|
}
|
|
64593
|
+
const textualIncludes = entries.map(([file]) => file).filter((file) => /\.(?:inc|inl|ipp|def)$/.test(file));
|
|
64591
64594
|
native.set(target.name, {
|
|
64592
64595
|
path: target.path,
|
|
64593
64596
|
includeDirectory: import_node_path57.default.join(layout2.root, includes),
|
|
@@ -64595,7 +64598,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
64595
64598
|
lateSources: late.map(([file]) => file.slice(prefix.length)),
|
|
64596
64599
|
exclude: [
|
|
64597
64600
|
...late.map(([file]) => file.slice(prefix.length)),
|
|
64598
|
-
...
|
|
64601
|
+
...textualIncludes.map((file) => file.slice(prefix.length))
|
|
64599
64602
|
],
|
|
64600
64603
|
...late.length > 0 ? {
|
|
64601
64604
|
late: {
|
|
@@ -64606,13 +64609,36 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
64606
64609
|
}
|
|
64607
64610
|
} : {}
|
|
64608
64611
|
});
|
|
64609
|
-
if (late.length
|
|
64610
|
-
|
|
64611
|
-
|
|
64612
|
-
|
|
64612
|
+
if (late.length === 0) {
|
|
64613
|
+
const headers = import_node_path57.default.posix.join(target.path, target.publicHeadersPath ?? "include");
|
|
64614
|
+
const fragments = textualIncludes.filter(
|
|
64615
|
+
(file) => headers === "." || file.startsWith(`${headers}/`)
|
|
64616
|
+
);
|
|
64617
|
+
const name3 = swiftTargetModuleName(target.name);
|
|
64618
|
+
const map2 = import_node_path57.default.posix.join(headers, "module.modulemap");
|
|
64619
|
+
if (fragments.length > 0 && !Object.hasOwn(input.files, map2) && !files2.has(import_node_path57.default.join(layout2.root, map2)) && !Object.hasOwn(input.files, import_node_path57.default.posix.join(headers, `${name3}.h`)) && !Object.hasOwn(input.files, import_node_path57.default.posix.join(headers, name3, `${name3}.h`)))
|
|
64620
|
+
stageTargetFile(
|
|
64621
|
+
target.name,
|
|
64622
|
+
import_node_path57.default.join(layout2.root, map2),
|
|
64623
|
+
[
|
|
64624
|
+
`module ${name3} {`,
|
|
64625
|
+
' umbrella "."',
|
|
64626
|
+
...fragments.map(
|
|
64627
|
+
(file) => ` textual header ${JSON.stringify(import_node_path57.default.posix.relative(headers, file))}`
|
|
64628
|
+
),
|
|
64629
|
+
" export *",
|
|
64630
|
+
"}",
|
|
64631
|
+
""
|
|
64632
|
+
].join("\n")
|
|
64633
|
+
);
|
|
64634
|
+
continue;
|
|
64635
|
+
}
|
|
64636
|
+
files2.set(
|
|
64637
|
+
import_node_path57.default.join(layout2.root, target.path, "PeachSwiftImplementation/module.modulemap"),
|
|
64638
|
+
`module ${swiftTargetModuleName(`${target.name}SwiftImplementation`)} { export * }
|
|
64613
64639
|
`
|
|
64614
|
-
|
|
64615
|
-
if (
|
|
64640
|
+
);
|
|
64641
|
+
if (entries.some(
|
|
64616
64642
|
([file, contents2]) => file.endsWith("/module.modulemap") && moduleMapName(contents2) === swiftTargetModuleName(target.name)
|
|
64617
64643
|
))
|
|
64618
64644
|
continue;
|
|
@@ -67034,7 +67060,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
67034
67060
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
67035
67061
|
MULTI_MANIFEST_VERSION = 72;
|
|
67036
67062
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
67037
|
-
compilerSourceDigest = true ? "
|
|
67063
|
+
compilerSourceDigest = true ? "ff32cc71088e14ace82447127edb06417dff9ada03e57efef920cc2b92a46239" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
67038
67064
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
67039
67065
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
67040
67066
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -115302,7 +115328,7 @@ var init_nitro_superset = __esm({
|
|
|
115302
115328
|
init_nitroContract();
|
|
115303
115329
|
init_swift_standin_digest();
|
|
115304
115330
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
115305
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
115331
|
+
NITRO_COMPILER_DIGEST = true ? "56643f8d73ca4838b5234057e53442c1eae68c01a04258a057b105158501e3a1" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
115306
115332
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
115307
115333
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
115308
115334
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -118119,7 +118145,7 @@ var init_one_native_source = __esm({
|
|
|
118119
118145
|
import_node_module20 = require("node:module");
|
|
118120
118146
|
import_node_path132 = __toESM(require("node:path"), 1);
|
|
118121
118147
|
import_node_url7 = require("node:url");
|
|
118122
|
-
import_ws = require("ws");
|
|
118148
|
+
import_ws = require("peachsim/vendor/ws");
|
|
118123
118149
|
init_backend_origin();
|
|
118124
118150
|
init_kotlinDiscoveryContract();
|
|
118125
118151
|
init_one_widget_metadata();
|
|
@@ -124176,12 +124202,6 @@ var init_stub_manifest = __esm({
|
|
|
124176
124202
|
runtimeTier: "none",
|
|
124177
124203
|
buildResolvers: ["vite", "dep-prebundle"]
|
|
124178
124204
|
},
|
|
124179
|
-
reactNativeLaunchArguments: {
|
|
124180
|
-
specifier: "react-native-launch-arguments",
|
|
124181
|
-
stubFile: "react-native-launch-arguments.ts",
|
|
124182
|
-
runtimeTier: "core",
|
|
124183
|
-
buildResolvers: ["vite"]
|
|
124184
|
-
},
|
|
124185
124205
|
expoWinterFetch: {
|
|
124186
124206
|
specifier: "expo/build/winter/fetch/index",
|
|
124187
124207
|
stubFile: "expo-winter-fetch.ts",
|
|
@@ -127739,7 +127759,7 @@ var init_websocket_proxy = __esm({
|
|
|
127739
127759
|
import_https2 = require("https");
|
|
127740
127760
|
import_net2 = require("net");
|
|
127741
127761
|
import_tls = require("tls");
|
|
127742
|
-
import_ws2 = require("ws");
|
|
127762
|
+
import_ws2 = require("peachsim/vendor/ws");
|
|
127743
127763
|
init_backend_origin();
|
|
127744
127764
|
init_bridge_constants();
|
|
127745
127765
|
init_is_record();
|
|
@@ -133096,7 +133116,7 @@ var init_bridge_host = __esm({
|
|
|
133096
133116
|
import_http4 = require("http");
|
|
133097
133117
|
import_os3 = __toESM(require("os"), 1);
|
|
133098
133118
|
import_path5 = __toESM(require("path"), 1);
|
|
133099
|
-
import_ws3 = require("ws");
|
|
133119
|
+
import_ws3 = require("peachsim/vendor/ws");
|
|
133100
133120
|
init_automatic_update_policy();
|
|
133101
133121
|
init_bridge_constants();
|
|
133102
133122
|
init_bridge_contract();
|
|
@@ -136116,7 +136136,7 @@ var init_ws_bridge = __esm({
|
|
|
136116
136136
|
"use strict";
|
|
136117
136137
|
import_node_fs159 = __toESM(require("node:fs"), 1);
|
|
136118
136138
|
import_node_path162 = __toESM(require("node:path"), 1);
|
|
136119
|
-
import_ws4 = require("ws");
|
|
136139
|
+
import_ws4 = require("peachsim/vendor/ws");
|
|
136120
136140
|
init_bridge_constants();
|
|
136121
136141
|
init_bridge_contract();
|
|
136122
136142
|
init_cli_constants();
|
|
@@ -146390,7 +146410,7 @@ var init_runtime = __esm({
|
|
|
146390
146410
|
"use strict";
|
|
146391
146411
|
import_fs14 = __toESM(require("fs"), 1);
|
|
146392
146412
|
init_src();
|
|
146393
|
-
import_ws5 = require("ws");
|
|
146413
|
+
import_ws5 = require("peachsim/vendor/ws");
|
|
146394
146414
|
init_app_config();
|
|
146395
146415
|
init_cli_runtime();
|
|
146396
146416
|
init_home_paths();
|
|
@@ -160053,7 +160073,7 @@ var init_kotlin = __esm({
|
|
|
160053
160073
|
import_node_fs181 = __toESM(require("node:fs"), 1);
|
|
160054
160074
|
import_node_http3 = __toESM(require("node:http"), 1);
|
|
160055
160075
|
import_node_path182 = __toESM(require("node:path"), 1);
|
|
160056
|
-
import_ws6 = require("ws");
|
|
160076
|
+
import_ws6 = require("peachsim/vendor/ws");
|
|
160057
160077
|
init_device_catalog();
|
|
160058
160078
|
init_guest_bundle();
|
|
160059
160079
|
init_kotlin_app();
|
|
@@ -160380,7 +160400,7 @@ var init_swift = __esm({
|
|
|
160380
160400
|
import_node_fs182 = __toESM(require("node:fs"), 1);
|
|
160381
160401
|
import_node_http4 = __toESM(require("node:http"), 1);
|
|
160382
160402
|
import_node_path183 = __toESM(require("node:path"), 1);
|
|
160383
|
-
import_ws7 = require("ws");
|
|
160403
|
+
import_ws7 = require("peachsim/vendor/ws");
|
|
160384
160404
|
init_backend_origin();
|
|
160385
160405
|
init_swift_submit();
|
|
160386
160406
|
init_swiftDiscoveryContract();
|
|
@@ -162462,7 +162482,7 @@ var init_control = __esm({
|
|
|
162462
162482
|
init_src2();
|
|
162463
162483
|
init_androidAutolinkingContract();
|
|
162464
162484
|
init_androidRootModuleContract();
|
|
162465
|
-
import_ws8 = require("ws");
|
|
162485
|
+
import_ws8 = require("peachsim/vendor/ws");
|
|
162466
162486
|
init_agent_identity();
|
|
162467
162487
|
init_launch_permissions();
|
|
162468
162488
|
init_app_config();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2442 | (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;
|
|
@@ -14149,7 +14149,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
14149
14149
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
14150
14150
|
var MULTI_MANIFEST_VERSION = 72;
|
|
14151
14151
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
14152
|
-
var compilerSourceDigest = true ? "
|
|
14152
|
+
var compilerSourceDigest = true ? "ff32cc71088e14ace82447127edb06417dff9ada03e57efef920cc2b92a46239" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
14153
14153
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
14154
14154
|
const hash = (0, import_node_crypto18.createHash)("sha256");
|
|
14155
14155
|
hash.update(`swift-compile
|
|
@@ -16876,6 +16876,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
16876
16876
|
}
|
|
16877
16877
|
continue;
|
|
16878
16878
|
}
|
|
16879
|
+
const textualIncludes = entries.map(([file]) => file).filter((file) => /\.(?:inc|inl|ipp|def)$/.test(file));
|
|
16879
16880
|
native.set(target.name, {
|
|
16880
16881
|
path: target.path,
|
|
16881
16882
|
includeDirectory: import_node_path32.default.join(layout2.root, includes),
|
|
@@ -16883,7 +16884,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
16883
16884
|
lateSources: late.map(([file]) => file.slice(prefix.length)),
|
|
16884
16885
|
exclude: [
|
|
16885
16886
|
...late.map(([file]) => file.slice(prefix.length)),
|
|
16886
|
-
...
|
|
16887
|
+
...textualIncludes.map((file) => file.slice(prefix.length))
|
|
16887
16888
|
],
|
|
16888
16889
|
...late.length > 0 ? {
|
|
16889
16890
|
late: {
|
|
@@ -16894,13 +16895,36 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
16894
16895
|
}
|
|
16895
16896
|
} : {}
|
|
16896
16897
|
});
|
|
16897
|
-
if (late.length
|
|
16898
|
-
|
|
16899
|
-
|
|
16900
|
-
|
|
16901
|
-
`
|
|
16898
|
+
if (late.length === 0) {
|
|
16899
|
+
const headers = import_node_path32.default.posix.join(target.path, target.publicHeadersPath ?? "include");
|
|
16900
|
+
const fragments = textualIncludes.filter(
|
|
16901
|
+
(file) => headers === "." || file.startsWith(`${headers}/`)
|
|
16902
16902
|
);
|
|
16903
|
-
|
|
16903
|
+
const name2 = swiftTargetModuleName(target.name);
|
|
16904
|
+
const map = import_node_path32.default.posix.join(headers, "module.modulemap");
|
|
16905
|
+
if (fragments.length > 0 && !Object.hasOwn(input.files, map) && !files.has(import_node_path32.default.join(layout2.root, map)) && !Object.hasOwn(input.files, import_node_path32.default.posix.join(headers, `${name2}.h`)) && !Object.hasOwn(input.files, import_node_path32.default.posix.join(headers, name2, `${name2}.h`)))
|
|
16906
|
+
stageTargetFile(
|
|
16907
|
+
target.name,
|
|
16908
|
+
import_node_path32.default.join(layout2.root, map),
|
|
16909
|
+
[
|
|
16910
|
+
`module ${name2} {`,
|
|
16911
|
+
' umbrella "."',
|
|
16912
|
+
...fragments.map(
|
|
16913
|
+
(file) => ` textual header ${JSON.stringify(import_node_path32.default.posix.relative(headers, file))}`
|
|
16914
|
+
),
|
|
16915
|
+
" export *",
|
|
16916
|
+
"}",
|
|
16917
|
+
""
|
|
16918
|
+
].join("\n")
|
|
16919
|
+
);
|
|
16920
|
+
continue;
|
|
16921
|
+
}
|
|
16922
|
+
files.set(
|
|
16923
|
+
import_node_path32.default.join(layout2.root, target.path, "PeachSwiftImplementation/module.modulemap"),
|
|
16924
|
+
`module ${swiftTargetModuleName(`${target.name}SwiftImplementation`)} { export * }
|
|
16925
|
+
`
|
|
16926
|
+
);
|
|
16927
|
+
if (entries.some(
|
|
16904
16928
|
([file, contents2]) => file.endsWith("/module.modulemap") && moduleMapName(contents2) === swiftTargetModuleName(target.name)
|
|
16905
16929
|
))
|
|
16906
16930
|
continue;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2442 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
FOUNDATION_IMPLICIT_MODULES,
|
|
4
4
|
MULTI_MANIFEST_VERSION,
|
|
@@ -60,13 +60,13 @@ import {
|
|
|
60
60
|
withoutSwiftDeclarations,
|
|
61
61
|
wrapUIApplicationMainEntry,
|
|
62
62
|
writeSwiftProject
|
|
63
|
-
} from "./esm-chunks/chunk-
|
|
64
|
-
import "./esm-chunks/chunk-
|
|
65
|
-
import "./esm-chunks/chunk-
|
|
66
|
-
import "./esm-chunks/chunk-
|
|
67
|
-
import "./esm-chunks/chunk-
|
|
68
|
-
import "./esm-chunks/chunk-
|
|
69
|
-
import "./esm-chunks/chunk-
|
|
63
|
+
} from "./esm-chunks/chunk-PTLTHUGX.mjs";
|
|
64
|
+
import "./esm-chunks/chunk-S6SCCQXW.mjs";
|
|
65
|
+
import "./esm-chunks/chunk-QUCZFE4Q.mjs";
|
|
66
|
+
import "./esm-chunks/chunk-MYQU622L.mjs";
|
|
67
|
+
import "./esm-chunks/chunk-QZBKRPVC.mjs";
|
|
68
|
+
import "./esm-chunks/chunk-ZTXYR22R.mjs";
|
|
69
|
+
import "./esm-chunks/chunk-AAUTS54C.mjs";
|
|
70
70
|
export {
|
|
71
71
|
FOUNDATION_IMPLICIT_MODULES,
|
|
72
72
|
MULTI_MANIFEST_VERSION,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2442 | (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.2442 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
4
4
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
swiftResourceBundles,
|
|
32
32
|
swiftTargetModuleName,
|
|
33
33
|
withoutGlogModuleMap
|
|
34
|
-
} from "./esm-chunks/chunk-
|
|
35
|
-
import "./esm-chunks/chunk-
|
|
34
|
+
} from "./esm-chunks/chunk-S6SCCQXW.mjs";
|
|
35
|
+
import "./esm-chunks/chunk-AAUTS54C.mjs";
|
|
36
36
|
export {
|
|
37
37
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
38
38
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2442 | (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,12 +1,12 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2442 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftMetalLibrarySources
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-QUCZFE4Q.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-MYQU622L.mjs";
|
|
6
6
|
import {
|
|
7
7
|
isRecord
|
|
8
|
-
} from "./esm-chunks/chunk-
|
|
9
|
-
import "./esm-chunks/chunk-
|
|
8
|
+
} from "./esm-chunks/chunk-ZTXYR22R.mjs";
|
|
9
|
+
import "./esm-chunks/chunk-AAUTS54C.mjs";
|
|
10
10
|
|
|
11
11
|
// src/swift-submit.ts
|
|
12
12
|
var SWIFT_COMPILE_PATH = "/api/swift-compile";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2442 | (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/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2442 | (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.2442 | (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;
|