peachsim 0.1.2158 → 0.1.2172

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 (131) hide show
  1. package/README.md +7 -1
  2. package/cli/app-catalog.ts +22 -15
  3. package/cli/bridge-flow-runner.ts +8 -7
  4. package/cli/commands/cleanup.ts +4 -2
  5. package/cli/commands/control.ts +2 -1
  6. package/cli/commands/kotlin.ts +2 -2
  7. package/cli/commands/package.ts +22 -7
  8. package/cli/commands/shell-url.ts +4 -2
  9. package/cli/native-input.ts +1 -1
  10. package/cli/outbound-endpoints.ts +13 -2
  11. package/dist-lib/agent-daemon-client.cjs +1 -1
  12. package/dist-lib/agent-events.cjs +1 -1
  13. package/dist-lib/attached-projects.cjs +2 -3
  14. package/dist-lib/auth/shared-session.cjs +2 -3
  15. package/dist-lib/backend-origin.cjs +1 -1
  16. package/dist-lib/beta.cjs +1 -1
  17. package/dist-lib/beta.mjs +1 -1
  18. package/dist-lib/bridge-constants.cjs +1 -1
  19. package/dist-lib/bridge-contract-input.cjs +1 -1
  20. package/dist-lib/bridge-contract-input.mjs +1 -1
  21. package/dist-lib/bridge-contract.cjs +1 -1
  22. package/dist-lib/bridge-contract.mjs +1 -1
  23. package/dist-lib/bundle-channel.cjs +3643 -3306
  24. package/dist-lib/capture-contract.cjs +1 -1
  25. package/dist-lib/capture-contract.mjs +1 -1
  26. package/dist-lib/cloud-contract.cjs +1 -1
  27. package/dist-lib/cloud-contract.mjs +1 -1
  28. package/dist-lib/cloud-test-args.cjs +1 -1
  29. package/dist-lib/cloud-test-args.mjs +1 -1
  30. package/dist-lib/cloud.cjs +1 -1
  31. package/dist-lib/cloud.mjs +1 -1
  32. package/dist-lib/config.cjs +1 -1
  33. package/dist-lib/config.mjs +1 -1
  34. package/dist-lib/detox/index.cjs +6 -5
  35. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  36. package/dist-lib/expo-swift-bundle.cjs +4228 -8528
  37. package/dist-lib/expo-swift-metadata.cjs +5 -1
  38. package/dist-lib/expo-swift-metadata.mjs +5 -1
  39. package/dist-lib/home-paths.cjs +2 -3
  40. package/dist-lib/host/bridge-host.cjs +4566 -4253
  41. package/dist-lib/host/fetch-proxy-handler.cjs +35 -15
  42. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  43. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  44. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  45. package/dist-lib/host/websocket-proxy.cjs +1 -1
  46. package/dist-lib/index.cjs +195 -155
  47. package/dist-lib/jump-to-source-babel.cjs +1 -1
  48. package/dist-lib/jump-to-source-native.cjs +1 -1
  49. package/dist-lib/kotlin-host.cjs +12 -7
  50. package/dist-lib/menu.cjs +1 -1
  51. package/dist-lib/menu.mjs +1 -1
  52. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  53. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  54. package/dist-lib/metro-production-bundle.cjs +1 -1
  55. package/dist-lib/metro-production-bundle.mjs +1 -1
  56. package/dist-lib/metro.cjs +42 -16
  57. package/dist-lib/native-app-identity-project.cjs +10 -5
  58. package/dist-lib/native-app-identity-project.mjs +10 -5
  59. package/dist-lib/native-app-identity.cjs +9 -1
  60. package/dist-lib/native-app-identity.mjs +9 -1
  61. package/dist-lib/native-firebase-metadata.cjs +1 -1
  62. package/dist-lib/native-firebase-metadata.mjs +1 -1
  63. package/dist-lib/pdfium-raster.cjs +1 -1
  64. package/dist-lib/pdfium-raster.mjs +1 -1
  65. package/dist-lib/plist.cjs +1 -1
  66. package/dist-lib/plist.mjs +1 -1
  67. package/dist-lib/profiles.cjs +2 -3
  68. package/dist-lib/public-brand.cjs +1 -1
  69. package/dist-lib/public-origins-lib-esm.json +24 -24
  70. package/dist-lib/public-origins-lib.json +99 -78
  71. package/dist-lib/react-native-host-modules.cjs +1 -1
  72. package/dist-lib/react-native-host-modules.mjs +1 -1
  73. package/dist-lib/reap-browser.cjs +4 -2
  74. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  75. package/dist-lib/sdk.cjs +1 -1
  76. package/dist-lib/sdk.mjs +1 -1
  77. package/dist-lib/skills.cjs +5760 -5116
  78. package/dist-lib/swift-compile.cjs +22 -11
  79. package/dist-lib/swift-compile.mjs +22 -11
  80. package/dist-lib/swift-package.cjs +1 -1
  81. package/dist-lib/swift-package.mjs +1 -1
  82. package/dist-lib/swift-submit.cjs +1 -1
  83. package/dist-lib/swift-submit.mjs +1 -1
  84. package/dist-lib/swift-toolchain.cjs +1 -1
  85. package/dist-lib/swift.cjs +1 -1
  86. package/dist-lib/vite-swift.cjs +31 -15
  87. package/dist-lib/vite.cjs +119 -85
  88. package/dist-lib/worklet-executable.cjs +1 -1
  89. package/dist-lib/worklet-executable.mjs +1 -1
  90. package/dist-types/packages/peach-engine/src/engine/inspect-info.d.ts +0 -1
  91. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +3 -1
  92. package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +9 -1
  93. package/dist-types/packages/peach-engine/src/render-worker/ui-frame-clock.d.ts +26 -0
  94. package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +2 -2
  95. package/dist-types/packages/peach-engine/src/render-worker/worklet-sab.d.ts +1 -6
  96. package/kotlin/README.md +5 -0
  97. package/kotlin/sdk.tar.gz +0 -0
  98. package/package.json +2 -1
  99. package/runtime-companion.json +1 -1
  100. package/src/answeredNativePackages.ts +1 -5
  101. package/src/disk-cleanup.ts +44 -1
  102. package/src/expo-native-compiler-digest.ts +2 -0
  103. package/src/expo-native-workspace.ts +61 -16
  104. package/src/expo-swift-host.ts +64 -53
  105. package/src/expoSwiftContract.ts +6 -0
  106. package/src/home-activity.ts +124 -0
  107. package/src/home-paths.ts +1 -2
  108. package/src/installed-native-build-options.ts +27 -3
  109. package/src/kotlin-app.ts +156 -31
  110. package/src/kotlin-compose-bom.ts +64 -0
  111. package/src/kotlin-host.ts +12 -3
  112. package/src/kotlin-version-catalog.ts +77 -0
  113. package/src/native-app-identity-project.ts +3 -0
  114. package/src/native-app-identity.ts +15 -0
  115. package/src/native-git.ts +12 -0
  116. package/src/native-prebuilt.ts +11 -2
  117. package/src/nitro-compile.ts +12 -4
  118. package/src/one-native-app-catalog.ts +59 -0
  119. package/src/one-sdk-preparation.ts +53 -8
  120. package/src/react-native-core-digest.ts +24 -0
  121. package/src/react-native-core.ts +239 -0
  122. package/src/reap-browser.ts +3 -1
  123. package/src/swift-compile.ts +6 -5
  124. package/src/swift-packages.ts +2 -0
  125. package/src/swift-standins.ts +6 -5
  126. package/src/swift-wasm-prune.ts +20 -2
  127. package/src/turbo-bundle.ts +1 -1
  128. package/src/turbo-compile.ts +27 -6
  129. package/src/turbo-source.ts +29 -9
  130. package/src/vite-plugin-one.ts +8 -5
  131. package/src/one-native-app-accent.ts +0 -32
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2158 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2172 | (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;
@@ -127,6 +127,10 @@ function isNativeAppIdentity(value) {
127
127
  if (descriptions !== void 0 && !isRecord(descriptions)) return false;
128
128
  if (value.infoPlistStrings !== void 0 && (!isRecord(value.infoPlistStrings) || !Object.values(value.infoPlistStrings).every((entry) => typeof entry === "string")))
129
129
  return false;
130
+ if (value.infoPlistBooleans !== void 0 && (!isRecord(value.infoPlistBooleans) || !Object.values(value.infoPlistBooleans).every(
131
+ (entry) => typeof entry === "boolean"
132
+ )))
133
+ return false;
130
134
  if (value.urlQuerySchemes !== void 0 && !Array.isArray(value.urlQuerySchemes))
131
135
  return false;
132
136
  if (value.appIntentIdentifiers !== void 0 && (!Array.isArray(value.appIntentIdentifiers) || !value.appIntentIdentifiers.every((identifier) => typeof identifier === "string")))
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2158 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2172 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../peach-globals/src/bundle-global-footer.ts
4
4
  function findBundleFooter(source, prefix) {
@@ -97,6 +97,10 @@ function isNativeAppIdentity(value) {
97
97
  if (descriptions !== void 0 && !isRecord(descriptions)) return false;
98
98
  if (value.infoPlistStrings !== void 0 && (!isRecord(value.infoPlistStrings) || !Object.values(value.infoPlistStrings).every((entry) => typeof entry === "string")))
99
99
  return false;
100
+ if (value.infoPlistBooleans !== void 0 && (!isRecord(value.infoPlistBooleans) || !Object.values(value.infoPlistBooleans).every(
101
+ (entry) => typeof entry === "boolean"
102
+ )))
103
+ return false;
100
104
  if (value.urlQuerySchemes !== void 0 && !Array.isArray(value.urlQuerySchemes))
101
105
  return false;
102
106
  if (value.appIntentIdentifiers !== void 0 && (!Array.isArray(value.appIntentIdentifiers) || !value.appIntentIdentifiers.every((identifier) => typeof identifier === "string")))
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2158 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2172 | (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;
@@ -114,8 +114,7 @@ function ambientHomeDir() {
114
114
  }
115
115
  function rnxHomeDir() {
116
116
  const override = process.env[PEACH_HOME_ENV];
117
- if (override && override.length > 0) return import_node_path.default.resolve(override);
118
- return ambientHomeDir();
117
+ return override && override.length > 0 ? import_node_path.default.resolve(override) : ambientHomeDir();
119
118
  }
120
119
  function peachSwiftSdksDir() {
121
120
  return process.env.PEACH_SWIFT_SDKS_PATH ?? import_node_path.default.join(rnxHomeDir(), "swift", "sdks");