peachsim 0.1.2268 → 0.1.2269

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/cli/commands/map.ts +1 -1
  2. package/cli/commands/screenshot.ts +10 -0
  3. package/cli/commands/upload.ts +4 -1
  4. package/dist-lib/agent-daemon-client.cjs +1 -1
  5. package/dist-lib/agent-events.cjs +1 -1
  6. package/dist-lib/attached-projects.cjs +1 -1
  7. package/dist-lib/auth/shared-session.cjs +1 -1
  8. package/dist-lib/backend-origin.cjs +1 -1
  9. package/dist-lib/beta.cjs +1 -1
  10. package/dist-lib/beta.mjs +1 -1
  11. package/dist-lib/bridge-constants.cjs +1 -1
  12. package/dist-lib/bridge-contract-input.cjs +1 -1
  13. package/dist-lib/bridge-contract-input.mjs +1 -1
  14. package/dist-lib/bridge-contract.cjs +1 -1
  15. package/dist-lib/bridge-contract.mjs +1 -1
  16. package/dist-lib/bundle-channel.cjs +20 -16
  17. package/dist-lib/capture-contract.cjs +1 -1
  18. package/dist-lib/capture-contract.mjs +1 -1
  19. package/dist-lib/cloud-contract.cjs +1 -1
  20. package/dist-lib/cloud-contract.mjs +1 -1
  21. package/dist-lib/cloud-test-args.cjs +1 -1
  22. package/dist-lib/cloud-test-args.mjs +1 -1
  23. package/dist-lib/cloud.cjs +1 -1
  24. package/dist-lib/cloud.mjs +1 -1
  25. package/dist-lib/config.cjs +1 -1
  26. package/dist-lib/config.mjs +1 -1
  27. package/dist-lib/detox/index.cjs +8 -4
  28. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  29. package/dist-lib/expo-swift-bundle.cjs +15 -11
  30. package/dist-lib/expo-swift-metadata.cjs +1 -1
  31. package/dist-lib/expo-swift-metadata.mjs +1 -1
  32. package/dist-lib/home-paths.cjs +1 -1
  33. package/dist-lib/host/bridge-host.cjs +22 -18
  34. package/dist-lib/host/fetch-proxy-handler.cjs +12 -9
  35. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  36. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  37. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  38. package/dist-lib/host/websocket-proxy.cjs +1 -1
  39. package/dist-lib/index.cjs +14 -11
  40. package/dist-lib/jump-to-source-babel.cjs +1 -1
  41. package/dist-lib/jump-to-source-native.cjs +1 -1
  42. package/dist-lib/kotlin-host.cjs +1 -1
  43. package/dist-lib/menu.cjs +1 -1
  44. package/dist-lib/menu.mjs +1 -1
  45. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  46. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  47. package/dist-lib/metro-production-bundle.cjs +1 -1
  48. package/dist-lib/metro-production-bundle.mjs +1 -1
  49. package/dist-lib/metro.cjs +12 -9
  50. package/dist-lib/native-app-identity-project.cjs +5 -1
  51. package/dist-lib/native-app-identity-project.mjs +5 -1
  52. package/dist-lib/native-app-identity.cjs +1 -1
  53. package/dist-lib/native-app-identity.mjs +1 -1
  54. package/dist-lib/native-firebase-metadata.cjs +1 -1
  55. package/dist-lib/native-firebase-metadata.mjs +1 -1
  56. package/dist-lib/pdfium-raster.cjs +1 -1
  57. package/dist-lib/pdfium-raster.mjs +1 -1
  58. package/dist-lib/plist.cjs +1 -1
  59. package/dist-lib/plist.mjs +1 -1
  60. package/dist-lib/profiles.cjs +1 -1
  61. package/dist-lib/public-brand.cjs +1 -1
  62. package/dist-lib/public-origins-lib-esm.json +24 -24
  63. package/dist-lib/public-origins-lib.json +55 -54
  64. package/dist-lib/react-native-host-modules.cjs +1 -1
  65. package/dist-lib/react-native-host-modules.mjs +1 -1
  66. package/dist-lib/reap-browser.cjs +1 -1
  67. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  68. package/dist-lib/sdk.cjs +1 -1
  69. package/dist-lib/sdk.mjs +1 -1
  70. package/dist-lib/skills.cjs +24 -20
  71. package/dist-lib/swift-compile.cjs +1 -1
  72. package/dist-lib/swift-compile.mjs +1 -1
  73. package/dist-lib/swift-package.cjs +1 -1
  74. package/dist-lib/swift-package.mjs +1 -1
  75. package/dist-lib/swift-submit.cjs +1 -1
  76. package/dist-lib/swift-submit.mjs +1 -1
  77. package/dist-lib/swift-toolchain.cjs +1 -1
  78. package/dist-lib/swift.cjs +1 -1
  79. package/dist-lib/vite-swift.cjs +7 -5
  80. package/dist-lib/vite.cjs +12 -9
  81. package/dist-lib/worklet-executable.cjs +1 -1
  82. package/dist-lib/worklet-executable.mjs +1 -1
  83. package/dist-types/packages/peach-engine/src/engine/paint-boundary-types.d.ts +2 -1
  84. package/dist-types/packages/peach-engine/src/preview/compress-node.d.ts +2 -1
  85. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +1 -0
  86. package/java-platform/licenses/openjdk.txt +6 -0
  87. package/kotlin/sdk.tar.gz +0 -0
  88. package/package.json +1 -1
  89. package/runtime-companion.json +1 -1
  90. package/src/answeredNativePackages.ts +16 -1
  91. package/src/native-package-slice-build.ts +17 -1
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2268 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/dist-lib/sdk.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2268 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/sdk.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2268 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2268 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -30179,16 +30179,20 @@ function peachAnsweredNativePackages() {
30179
30179
  const names = readPeachRuntimeJson(ANSWERED_NATIVE_PACKAGES_PATH);
30180
30180
  if (!Array.isArray(names) || !names.every((name3) => typeof name3 === "string"))
30181
30181
  throw new Error(`${ANSWERED_NATIVE_PACKAGES_PATH} must list package names`);
30182
- return new Set(names);
30182
+ const overridden = unansweredStore.getStore();
30183
+ if (!overridden || overridden.size === 0) return new Set(names);
30184
+ return new Set(names.filter((name3) => !overridden.has(name3)));
30183
30185
  }
30184
- var import_node_fs12, import_node_path8, ANSWERED_NATIVE_PACKAGES_PATH;
30186
+ var import_node_async_hooks, import_node_fs12, import_node_path8, ANSWERED_NATIVE_PACKAGES_PATH, unansweredStore;
30185
30187
  var init_answeredNativePackages = __esm({
30186
30188
  "src/answeredNativePackages.ts"() {
30187
30189
  "use strict";
30190
+ import_node_async_hooks = require("node:async_hooks");
30188
30191
  import_node_fs12 = require("node:fs");
30189
30192
  import_node_path8 = require("node:path");
30190
30193
  init_runtime_assets();
30191
30194
  ANSWERED_NATIVE_PACKAGES_PATH = "node/answered-native-packages.json";
30195
+ unansweredStore = new import_node_async_hooks.AsyncLocalStorage();
30192
30196
  }
30193
30197
  });
30194
30198
 
@@ -66184,7 +66188,7 @@ var init_swift_standin_digest = __esm({
66184
66188
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
66185
66189
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
66186
66190
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
66187
- STANDIN_SOURCE_DIGEST = true ? "711ac18b001b49b9011ddfa823fbd3dd5f51d1f420f25bc1403ad388ae1fa028" : standinSourceDigest();
66191
+ STANDIN_SOURCE_DIGEST = true ? "f548e83c6abe8dd5a2c941c3e6dda49428b276f3d10495535e97a14aca44c0cc" : standinSourceDigest();
66188
66192
  }
66189
66193
  });
66190
66194
 
@@ -66640,7 +66644,7 @@ var init_package_tree_digest = __esm({
66640
66644
 
66641
66645
  // src/expo-native-prebuilt.ts
66642
66646
  function expoNativeCompilerDigestValue() {
66643
- return true ? "0c7b8eb4e71003ca5db9ff4cdc14faf78c00f0730c4244aa0557c4ca343acf58" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
66647
+ return true ? "dc9231a527fdc6ab4d8537af070a2c12b41a0e558ffe49d321ba058383d2f9c6" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
66644
66648
  }
66645
66649
  function readSources(value) {
66646
66650
  const sources = isRecord(value) ? value.sources : null;
@@ -78694,11 +78698,11 @@ function disposeSwiftProject(packagePath, signal) {
78694
78698
  xcodeProjects().delete(packagePath);
78695
78699
  sourceEntries().delete(packagePath);
78696
78700
  }
78697
- var import_node_async_hooks, import_node_child_process47, import_node_crypto45, import_node_fs87, import_node_os17, import_node_path83, ARTIFACT_PATH, RESOURCE_PATH, ICU_PATH, SKIP_ROOT_DIRS, NATIVE_DESCRIPTOR, NATIVE_GLUE, SwiftMissingModulesError, sharedProjects, projectScope, projects, sharedSourceEntries, sourceEntries, sharedXcodeProjects, xcodeProjects, preparedScriptInputs, emptyWasmAssembly, XCODE_APP_DIR, XCODE_FRAMEWORKS_DIR, XCODE_PACKAGES_DIR, layoutScope, HOSTED_LIMITS, LOCAL_LIMITS, inputLimits, RESOURCE_CONTENT_TYPES, API_GAP_PATTERNS, IOS_SDK_FRAMEWORKS;
78701
+ var import_node_async_hooks2, import_node_child_process47, import_node_crypto45, import_node_fs87, import_node_os17, import_node_path83, ARTIFACT_PATH, RESOURCE_PATH, ICU_PATH, SKIP_ROOT_DIRS, NATIVE_DESCRIPTOR, NATIVE_GLUE, SwiftMissingModulesError, sharedProjects, projectScope, projects, sharedSourceEntries, sourceEntries, sharedXcodeProjects, xcodeProjects, preparedScriptInputs, emptyWasmAssembly, XCODE_APP_DIR, XCODE_FRAMEWORKS_DIR, XCODE_PACKAGES_DIR, layoutScope, HOSTED_LIMITS, LOCAL_LIMITS, inputLimits, RESOURCE_CONTENT_TYPES, API_GAP_PATTERNS, IOS_SDK_FRAMEWORKS;
78698
78702
  var init_swift_host = __esm({
78699
78703
  "src/swift-host.ts"() {
78700
78704
  "use strict";
78701
- import_node_async_hooks = require("node:async_hooks");
78705
+ import_node_async_hooks2 = require("node:async_hooks");
78702
78706
  import_node_child_process47 = require("node:child_process");
78703
78707
  import_node_crypto45 = require("node:crypto");
78704
78708
  import_node_fs87 = __toESM(require("node:fs"), 1);
@@ -78741,7 +78745,7 @@ var init_swift_host = __esm({
78741
78745
  SwiftMissingModulesError = class extends Error {
78742
78746
  };
78743
78747
  sharedProjects = /* @__PURE__ */ new Map();
78744
- projectScope = new import_node_async_hooks.AsyncLocalStorage();
78748
+ projectScope = new import_node_async_hooks2.AsyncLocalStorage();
78745
78749
  projects = () => projectScope.getStore()?.projects ?? sharedProjects;
78746
78750
  sharedSourceEntries = /* @__PURE__ */ new Map();
78747
78751
  sourceEntries = () => projectScope.getStore()?.sourceEntries ?? sharedSourceEntries;
@@ -78752,7 +78756,7 @@ var init_swift_host = __esm({
78752
78756
  XCODE_APP_DIR = "__app__";
78753
78757
  XCODE_FRAMEWORKS_DIR = "__frameworks__";
78754
78758
  XCODE_PACKAGES_DIR = SWIFT_REMOTE_PACKAGES_DIR;
78755
- layoutScope = new import_node_async_hooks.AsyncLocalStorage();
78759
+ layoutScope = new import_node_async_hooks2.AsyncLocalStorage();
78756
78760
  HOSTED_LIMITS = {
78757
78761
  sourceBytes: MAX_SWIFT_COMPILE_SOURCE_BYTES,
78758
78762
  resources: MAX_SWIFT_COMPILE_RESOURCES,
@@ -86598,11 +86602,11 @@ async function handleExpoSwiftRequest(req, res) {
86598
86602
  }
86599
86603
  return true;
86600
86604
  }
86601
- var import_node_async_hooks2, import_node_child_process51, import_node_crypto50, import_node_fs96, import_node_module15, import_node_os19, import_node_path92, import_node_url6, import_node_util17, run8, scriptEnv, EXPO_SWIFT_ROUTE, EXPO_SWIFT_ENTRY, WITNESS_BATCH, traceStore, discoveryCache, preparedCache, savedFs, ignoredRoots, ownTemporaryRoots, compiling, preparedExpoSwift, openPreparations, ExpoSwiftLinkRefusal;
86605
+ var import_node_async_hooks3, import_node_child_process51, import_node_crypto50, import_node_fs96, import_node_module15, import_node_os19, import_node_path92, import_node_url6, import_node_util17, run8, scriptEnv, EXPO_SWIFT_ROUTE, EXPO_SWIFT_ENTRY, WITNESS_BATCH, traceStore, discoveryCache, preparedCache, savedFs, ignoredRoots, ownTemporaryRoots, compiling, preparedExpoSwift, openPreparations, ExpoSwiftLinkRefusal;
86602
86606
  var init_expo_swift_host = __esm({
86603
86607
  "src/expo-swift-host.ts"() {
86604
86608
  "use strict";
86605
- import_node_async_hooks2 = require("node:async_hooks");
86609
+ import_node_async_hooks3 = require("node:async_hooks");
86606
86610
  import_node_child_process51 = require("node:child_process");
86607
86611
  import_node_crypto50 = require("node:crypto");
86608
86612
  import_node_fs96 = __toESM(require("node:fs"), 1);
@@ -86646,7 +86650,7 @@ var init_expo_swift_host = __esm({
86646
86650
  EXPO_SWIFT_ROUTE = "/__peach/expo-swift";
86647
86651
  EXPO_SWIFT_ENTRY = "Sources/PeachExpoApp/PeachExpoEntry.swift";
86648
86652
  WITNESS_BATCH = 200;
86649
- traceStore = new import_node_async_hooks2.AsyncLocalStorage();
86653
+ traceStore = new import_node_async_hooks3.AsyncLocalStorage();
86650
86654
  discoveryCache = /* @__PURE__ */ new Map();
86651
86655
  preparedCache = /* @__PURE__ */ new Map();
86652
86656
  savedFs = null;
@@ -86942,18 +86946,18 @@ async function handleStagedHostFileRequest(req, res) {
86942
86946
  throw error;
86943
86947
  }
86944
86948
  }
86945
- var import_node_async_hooks3, import_node_crypto51, import_node_fs97, import_node_path93, stagedCapture, STAGED_PREFIX, STAGED_NAME, METRO_INDEX_NAME, STAGED_RETENTION_MS;
86949
+ var import_node_async_hooks4, import_node_crypto51, import_node_fs97, import_node_path93, stagedCapture, STAGED_PREFIX, STAGED_NAME, METRO_INDEX_NAME, STAGED_RETENTION_MS;
86946
86950
  var init_staged_host_files = __esm({
86947
86951
  "src/host/staged-host-files.ts"() {
86948
86952
  "use strict";
86949
- import_node_async_hooks3 = require("node:async_hooks");
86953
+ import_node_async_hooks4 = require("node:async_hooks");
86950
86954
  import_node_crypto51 = require("node:crypto");
86951
86955
  import_node_fs97 = __toESM(require("node:fs"), 1);
86952
86956
  import_node_path93 = __toESM(require("node:path"), 1);
86953
86957
  init_uttype_mime();
86954
86958
  init_home_paths();
86955
86959
  init_launchMetadataContract();
86956
- stagedCapture = new import_node_async_hooks3.AsyncLocalStorage();
86960
+ stagedCapture = new import_node_async_hooks4.AsyncLocalStorage();
86957
86961
  STAGED_PREFIX = "/__peach/staged/";
86958
86962
  STAGED_NAME = /^([a-f0-9]{64})(\.[a-z0-9]{1,10})?$/;
86959
86963
  METRO_INDEX_NAME = /^metro-([a-f0-9]{64})$/;
@@ -88107,7 +88111,7 @@ var init_nitro_superset = __esm({
88107
88111
  init_nitroContract();
88108
88112
  init_swift_standin_digest();
88109
88113
  NITRO_SUPERSET_ENTRY_NAME = "superset";
88110
- NITRO_COMPILER_DIGEST = true ? "279b234bcb016af66f6c96d6750b196b96467a2ed007f51f8b6a8b3008a126b0" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
88114
+ NITRO_COMPILER_DIGEST = true ? "abb290654ae6f789e24c9e7423d16008cd5aea040e0e07bb86b9b3e94f6e15b8" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
88111
88115
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
88112
88116
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
88113
88117
  published2 = /* @__PURE__ */ new Map();
@@ -88815,7 +88819,7 @@ var init_one_sdk_bundle = __esm({
88815
88819
  var runtime_companion_default;
88816
88820
  var init_runtime_companion = __esm({
88817
88821
  "runtime-companion.json"() {
88818
- runtime_companion_default = { abi: 1, sha256: "e93e06ad59ffc08685ad0273fa479b7bcf943306a1e7d39f0116f30238a944c2", file: "node/cli-e93e06ad59ffc08685ad0273fa479b7bcf943306a1e7d39f0116f30238a944c2.cjs" };
88822
+ runtime_companion_default = { abi: 1, sha256: "d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677", file: "node/cli-d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677.cjs" };
88819
88823
  }
88820
88824
  });
88821
88825
 
@@ -100760,11 +100764,11 @@ function rethrowIfExit(error) {
100760
100764
  function peachExit(code, reason) {
100761
100765
  throw new PeachExit(code, reason);
100762
100766
  }
100763
- var import_node_async_hooks4, PeachExit, sinks, rnxExit;
100767
+ var import_node_async_hooks5, PeachExit, sinks, rnxExit;
100764
100768
  var init_run_rnx = __esm({
100765
100769
  "cli/run-rnx.ts"() {
100766
100770
  "use strict";
100767
- import_node_async_hooks4 = require("node:async_hooks");
100771
+ import_node_async_hooks5 = require("node:async_hooks");
100768
100772
  PeachExit = class extends Error {
100769
100773
  code;
100770
100774
  reason;
@@ -100775,7 +100779,7 @@ var init_run_rnx = __esm({
100775
100779
  this.reason = reason;
100776
100780
  }
100777
100781
  };
100778
- sinks = new import_node_async_hooks4.AsyncLocalStorage();
100782
+ sinks = new import_node_async_hooks5.AsyncLocalStorage();
100779
100783
  rnxExit = peachExit;
100780
100784
  }
100781
100785
  });
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2268 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2268 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2268 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2268 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function swiftManifestSettings(target) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2268 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2268 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/is-record.ts
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2268 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2268 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2268 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -22710,7 +22710,7 @@ function compileSwiftProjectOnce(input, options) {
22710
22710
  }
22711
22711
 
22712
22712
  // src/swift-host.ts
22713
- var import_node_async_hooks = require("node:async_hooks");
22713
+ var import_node_async_hooks2 = require("node:async_hooks");
22714
22714
  var import_node_child_process35 = require("node:child_process");
22715
22715
  var import_node_crypto30 = require("node:crypto");
22716
22716
  var import_node_fs55 = __toESM(require("node:fs"), 1);
@@ -28011,6 +28011,7 @@ async function ensureLinuxBrowserLibraries(executablePath, browser) {
28011
28011
  }
28012
28012
 
28013
28013
  // src/answeredNativePackages.ts
28014
+ var import_node_async_hooks = require("node:async_hooks");
28014
28015
  var import_node_fs35 = require("node:fs");
28015
28016
  var import_node_path35 = require("node:path");
28016
28017
 
@@ -28057,6 +28058,7 @@ function resolveActiveRuntimeRoot() {
28057
28058
  }
28058
28059
 
28059
28060
  // src/answeredNativePackages.ts
28061
+ var unansweredStore = new import_node_async_hooks.AsyncLocalStorage();
28060
28062
  function peachRuntimeRoot() {
28061
28063
  const root = resolveDevCheckoutRuntimeAssetRoot() ?? resolveActiveRuntimeRoot();
28062
28064
  if (!root) throw new Error("No Peach runtime installed; run `peach runtime install`");
@@ -32414,7 +32416,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
32414
32416
  return hash.digest("hex");
32415
32417
  }
32416
32418
  var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
32417
- var STANDIN_SOURCE_DIGEST = true ? "711ac18b001b49b9011ddfa823fbd3dd5f51d1f420f25bc1403ad388ae1fa028" : standinSourceDigest();
32419
+ var STANDIN_SOURCE_DIGEST = true ? "f548e83c6abe8dd5a2c941c3e6dda49428b276f3d10495535e97a14aca44c0cc" : standinSourceDigest();
32418
32420
 
32419
32421
  // src/swift-standins.ts
32420
32422
  var import_node_child_process31 = require("node:child_process");
@@ -37695,7 +37697,7 @@ function nativeSourceFiles(packagePath) {
37695
37697
  var SwiftMissingModulesError = class extends Error {
37696
37698
  };
37697
37699
  var sharedProjects = /* @__PURE__ */ new Map();
37698
- var projectScope = new import_node_async_hooks.AsyncLocalStorage();
37700
+ var projectScope = new import_node_async_hooks2.AsyncLocalStorage();
37699
37701
  var projects = () => projectScope.getStore()?.projects ?? sharedProjects;
37700
37702
  var sharedSourceEntries = /* @__PURE__ */ new Map();
37701
37703
  var sourceEntries = () => projectScope.getStore()?.sourceEntries ?? sharedSourceEntries;
@@ -37967,7 +37969,7 @@ function xcodeInputKey(layout2, file, relative2) {
37967
37969
  import_node_path55.default.relative(checkouts, file).split(import_node_path55.default.sep).join("/")
37968
37970
  ) : relative2 === ".." || relative2.startsWith("../") ? import_node_path55.default.posix.join("external", file.split(import_node_path55.default.sep).join("/")) : relative2;
37969
37971
  }
37970
- var layoutScope = new import_node_async_hooks.AsyncLocalStorage();
37972
+ var layoutScope = new import_node_async_hooks2.AsyncLocalStorage();
37971
37973
  async function withXcodeLayout(root, run5) {
37972
37974
  const scope2 = /* @__PURE__ */ new Map();
37973
37975
  return layoutScope.run(scope2, async () => {
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2268 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -2742,7 +2742,7 @@ var init_src = __esm({
2742
2742
  var runtime_companion_default;
2743
2743
  var init_runtime_companion = __esm({
2744
2744
  "runtime-companion.json"() {
2745
- runtime_companion_default = { abi: 1, sha256: "e93e06ad59ffc08685ad0273fa479b7bcf943306a1e7d39f0116f30238a944c2", file: "node/cli-e93e06ad59ffc08685ad0273fa479b7bcf943306a1e7d39f0116f30238a944c2.cjs" };
2745
+ runtime_companion_default = { abi: 1, sha256: "d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677", file: "node/cli-d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677.cjs" };
2746
2746
  }
2747
2747
  });
2748
2748
 
@@ -2966,10 +2966,13 @@ function peachRuntimeRoot() {
2966
2966
  if (!root) throw new Error("No Peach runtime installed; run `peach runtime install`");
2967
2967
  return root;
2968
2968
  }
2969
+ var import_node_async_hooks, unansweredStore;
2969
2970
  var init_answeredNativePackages = __esm({
2970
2971
  "src/answeredNativePackages.ts"() {
2971
2972
  "use strict";
2973
+ import_node_async_hooks = require("node:async_hooks");
2972
2974
  init_runtime_assets();
2975
+ unansweredStore = new import_node_async_hooks.AsyncLocalStorage();
2973
2976
  }
2974
2977
  });
2975
2978
 
@@ -3097,7 +3100,7 @@ var STANDIN_SOURCE_DIGEST;
3097
3100
  var init_swift_standin_digest = __esm({
3098
3101
  "src/swift-standin-digest.ts"() {
3099
3102
  "use strict";
3100
- STANDIN_SOURCE_DIGEST = true ? "711ac18b001b49b9011ddfa823fbd3dd5f51d1f420f25bc1403ad388ae1fa028" : standinSourceDigest();
3103
+ STANDIN_SOURCE_DIGEST = true ? "f548e83c6abe8dd5a2c941c3e6dda49428b276f3d10495535e97a14aca44c0cc" : standinSourceDigest();
3101
3104
  }
3102
3105
  });
3103
3106
 
@@ -5377,11 +5380,11 @@ var init_swift_standin_config = __esm({
5377
5380
  });
5378
5381
 
5379
5382
  // src/swift-host.ts
5380
- var import_node_async_hooks, projectScope, layoutScope, IOS_SDK_FRAMEWORKS;
5383
+ var import_node_async_hooks2, projectScope, layoutScope, IOS_SDK_FRAMEWORKS;
5381
5384
  var init_swift_host = __esm({
5382
5385
  "src/swift-host.ts"() {
5383
5386
  "use strict";
5384
- import_node_async_hooks = require("node:async_hooks");
5387
+ import_node_async_hooks2 = require("node:async_hooks");
5385
5388
  init_bundleAssets();
5386
5389
  init_stringCatalog();
5387
5390
  init_core_data_entity_classes();
@@ -5410,8 +5413,8 @@ var init_swift_host = __esm({
5410
5413
  init_swiftContract();
5411
5414
  init_swiftContract();
5412
5415
  init_xcode_project();
5413
- projectScope = new import_node_async_hooks.AsyncLocalStorage();
5414
- layoutScope = new import_node_async_hooks.AsyncLocalStorage();
5416
+ projectScope = new import_node_async_hooks2.AsyncLocalStorage();
5417
+ layoutScope = new import_node_async_hooks2.AsyncLocalStorage();
5415
5418
  IOS_SDK_FRAMEWORKS = new Set(ios_sdk_frameworks_default.frameworks);
5416
5419
  }
5417
5420
  });
@@ -9639,7 +9642,7 @@ init_xcode_project();
9639
9642
  var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
9640
9643
 
9641
9644
  // src/expo-swift-host.ts
9642
- var import_node_async_hooks2 = require("node:async_hooks");
9645
+ var import_node_async_hooks3 = require("node:async_hooks");
9643
9646
  var import_node_child_process14 = require("node:child_process");
9644
9647
  var import_node_util10 = require("node:util");
9645
9648
  init_answeredNativePackages();
@@ -9715,7 +9718,7 @@ init_swift_toolchain();
9715
9718
  init_turbo_source();
9716
9719
  var run7 = (0, import_node_util10.promisify)(import_node_child_process14.execFile);
9717
9720
  var scriptEnv = { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: "1" };
9718
- var traceStore = new import_node_async_hooks2.AsyncLocalStorage();
9721
+ var traceStore = new import_node_async_hooks3.AsyncLocalStorage();
9719
9722
  var openPreparations = new NativePreparationReceipts();
9720
9723
 
9721
9724
  // src/expo-pod-prebuilt.ts
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2268 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2268 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2269 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
@@ -20,7 +20,7 @@ export interface HostNative {
20
20
  _peach_layer_motion_configure(maxBytes: number): void;
21
21
  _peach_shadow_motion_configure(maskSigma: number, holdMs: number): void;
22
22
  _peach_host_record(id: number, count: number, external: number): void;
23
- _peach_host_stamp(id: number, stamp: number, font: number, originX: number, originY: number, dpr: number): void;
23
+ _peach_host_stamp(id: number, stamp: number, font: number, originX: number, originY: number, dpr: number, swiftUIOpacity: number): void;
24
24
  _peach_host_release(id: number): number;
25
25
  _peach_host_release_caches(id: number): number;
26
26
  _peach_host_cached(id: number): number;
@@ -95,6 +95,7 @@ export interface PaintBoundaryState {
95
95
  recordedAtColorScheme: 'light' | 'dark' | null;
96
96
  recordedAtFontGeneration: number;
97
97
  recordedAtDeviceScale: number;
98
+ recordedAtSwiftUIOpacity: number;
98
99
  recording: boolean;
99
100
  recordedAtTreeVersion: number;
100
101
  records: number;
@@ -1,2 +1,3 @@
1
1
  export declare const BUNDLE_BROTLI_QUALITY = 9;
2
- export declare function brotliBundle(bytes: Uint8Array | Buffer): Buffer;
2
+ export declare const UPLOAD_BROTLI_QUALITY = 5;
3
+ export declare function brotliBundle(bytes: Uint8Array | Buffer, quality?: number): Buffer;
@@ -507,6 +507,7 @@ export interface CompositorSurfacePaintStats {
507
507
  } | null;
508
508
  hasLiveFrames: boolean;
509
509
  paints: number;
510
+ heldPaints: number;
510
511
  paused: boolean;
511
512
  awaitingBoundTree: boolean;
512
513
  needsPaint: boolean;
@@ -43,6 +43,12 @@ members of JCP JSR-166 Expert Group and released to the public domain, as explai
43
43
  http://creativecommons.org/publicdomain/zero/1.0/
44
44
  Copyright (c) 1994, 2023, Oracle and/or its affiliates. All rights reserved.
45
45
 
46
+ The overlay's java/nio/channels and sun/nio/ch files, with java/io FileInputStream.java and
47
+ FileOutputStream.java, port Android's ojluni sources of those names (android17-release).
48
+ Copyright (c) 1994, 2021, Oracle and/or its affiliates. All rights reserved.
49
+ Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
50
+ Copyright (C) 2014 The Android Open Source Project
51
+
46
52
  This code is free software; you can redistribute it and/or modify it
47
53
  under the terms of the GNU General Public License version 2 only, as
48
54
  published by the Free Software Foundation. Oracle designates these
package/kotlin/sdk.tar.gz CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.2268",
3
+ "version": "0.1.2269",
4
4
  "description": "Vite and Metro plugins, testing drivers, and SDK exports for peach.",
5
5
  "author": "Tamagui LLC",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -1 +1 @@
1
- {"abi":1,"sha256":"e93e06ad59ffc08685ad0273fa479b7bcf943306a1e7d39f0116f30238a944c2","file":"node/cli-e93e06ad59ffc08685ad0273fa479b7bcf943306a1e7d39f0116f30238a944c2.cjs"}
1
+ {"abi":1,"sha256":"d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677","file":"node/cli-d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677.cjs"}
@@ -1,3 +1,4 @@
1
+ import { AsyncLocalStorage } from 'node:async_hooks'
1
2
  import { readFileSync } from 'node:fs'
2
3
  import { join } from 'node:path'
3
4
  import {
@@ -9,6 +10,18 @@ import {
9
10
  // CLI built from newer source never skips compiling one its runtime lacks.
10
11
  export const ANSWERED_NATIVE_PACKAGES_PATH = 'node/answered-native-packages.json'
11
12
 
13
+ const unansweredStore = new AsyncLocalStorage<ReadonlySet<string>>()
14
+
15
+ /** temporarily omits named packages from the answered set within the callback scope. */
16
+ export function withUnansweredNativePackages<T>(
17
+ packageNames: Iterable<string>,
18
+ fn: () => T,
19
+ ): T {
20
+ const merged = new Set(unansweredStore.getStore())
21
+ for (const name of packageNames) merged.add(name)
22
+ return unansweredStore.run(merged, fn)
23
+ }
24
+
12
25
  // the companion and the answered packages come from the runtime the host
13
26
  // serves: inside the dev checkout that is the dev build `build:peachsim:cli`
14
27
  // copied them beside, unless PEACH_HOME stages a runtime, as a release replay
@@ -35,5 +48,7 @@ export function peachAnsweredNativePackages(): ReadonlySet<string> {
35
48
  const names = readPeachRuntimeJson(ANSWERED_NATIVE_PACKAGES_PATH)
36
49
  if (!Array.isArray(names) || !names.every((name) => typeof name === 'string'))
37
50
  throw new Error(`${ANSWERED_NATIVE_PACKAGES_PATH} must list package names`)
38
- return new Set(names)
51
+ const overridden = unansweredStore.getStore()
52
+ if (!overridden || overridden.size === 0) return new Set(names)
53
+ return new Set(names.filter((name) => !overridden.has(name)))
39
54
  }
@@ -4,7 +4,10 @@ import fs from 'node:fs'
4
4
  import { createRequire } from 'node:module'
5
5
  import os from 'node:os'
6
6
  import path from 'node:path'
7
- import { peachAnsweredNativePackages } from './answeredNativePackages'
7
+ import {
8
+ peachAnsweredNativePackages,
9
+ withUnansweredNativePackages,
10
+ } from './answeredNativePackages'
8
11
  import { expoPodInputs, expoPodPackages } from './expo-pod-prebuilt'
9
12
  import { isRecord } from './is-record'
10
13
  import {
@@ -62,7 +65,13 @@ function resolveReactNativeRoot(appRoot: string): string {
62
65
  export async function detectNativePackageKinds(
63
66
  appRoot: string,
64
67
  packageName?: string,
68
+ opts?: { includeAnswered?: readonly string[] },
65
69
  ): Promise<DetectedNativePackage[]> {
70
+ if (opts?.includeAnswered && opts.includeAnswered.length > 0) {
71
+ return withUnansweredNativePackages(opts.includeAnswered, () =>
72
+ detectNativePackageKinds(appRoot, packageName),
73
+ )
74
+ }
66
75
  const realRoot = fs.realpathSync(appRoot)
67
76
  const answered = peachAnsweredNativePackages()
68
77
  const detected: DetectedNativePackage[] = []
@@ -168,7 +177,14 @@ export async function buildNativePackageSlice(opts: {
168
177
  projectRoot?: string
169
178
  iosTarget?: string
170
179
  configuration?: NitroBuildConfiguration
180
+ includeAnswered?: boolean
171
181
  }): Promise<LoadedNativePackageSlice | null> {
182
+ if (opts.includeAnswered) {
183
+ const { includeAnswered: _ignored, ...rest } = opts
184
+ return withUnansweredNativePackages([opts.packageName], () =>
185
+ buildNativePackageSlice(rest),
186
+ )
187
+ }
172
188
  const appRoot = fs.realpathSync(opts.appRoot)
173
189
  const projectRoot = opts.projectRoot ? fs.realpathSync(opts.projectRoot) : appRoot
174
190
  const moduleRoot = opts.moduleRoot ?? (await swiftDistributionRoot())