peachsim 0.1.1899 → 0.1.1902

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 (106) hide show
  1. package/README.md +2 -2
  2. package/cli/account-gate.ts +1 -1
  3. package/cli/app-stubs.ts +1 -1
  4. package/cli/commands/box/checkout-plane.ts +1 -1
  5. package/cli/commands/box/search-command.ts +1 -1
  6. package/cli/commands/perf-record.ts +1 -1
  7. package/dist-lib/agent-daemon-client.cjs +1 -1
  8. package/dist-lib/agent-events.cjs +1 -1
  9. package/dist-lib/attached-projects.cjs +1 -1
  10. package/dist-lib/auth/shared-session.cjs +1 -1
  11. package/dist-lib/backend-origin.cjs +1 -1
  12. package/dist-lib/beta.cjs +1 -1
  13. package/dist-lib/beta.mjs +1 -1
  14. package/dist-lib/bridge-constants.cjs +1 -1
  15. package/dist-lib/bridge-contract-input.cjs +1 -1
  16. package/dist-lib/bridge-contract-input.mjs +1 -1
  17. package/dist-lib/bridge-contract.cjs +1 -1
  18. package/dist-lib/bridge-contract.mjs +1 -1
  19. package/dist-lib/bundle-channel.cjs +128 -58
  20. package/dist-lib/capture-contract.cjs +1 -1
  21. package/dist-lib/capture-contract.mjs +1 -1
  22. package/dist-lib/cloud-contract.cjs +1 -1
  23. package/dist-lib/cloud-contract.mjs +1 -1
  24. package/dist-lib/cloud-test-args.cjs +1 -1
  25. package/dist-lib/cloud-test-args.mjs +1 -1
  26. package/dist-lib/cloud.cjs +1 -1
  27. package/dist-lib/cloud.mjs +1 -1
  28. package/dist-lib/config.cjs +1 -1
  29. package/dist-lib/config.mjs +1 -1
  30. package/dist-lib/detox/index.cjs +1 -1
  31. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  32. package/dist-lib/expo-swift-bundle.cjs +49 -33
  33. package/dist-lib/expo-swift-metadata.cjs +1 -1
  34. package/dist-lib/expo-swift-metadata.mjs +1 -1
  35. package/dist-lib/home-paths.cjs +1 -1
  36. package/dist-lib/host/bridge-host.cjs +138 -69
  37. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  38. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  39. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  40. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  41. package/dist-lib/host/websocket-proxy.cjs +1 -1
  42. package/dist-lib/index.cjs +31 -30
  43. package/dist-lib/jump-to-source-babel.cjs +1 -1
  44. package/dist-lib/jump-to-source-native.cjs +1 -1
  45. package/dist-lib/kotlin-host.cjs +1 -1
  46. package/dist-lib/menu.cjs +1 -1
  47. package/dist-lib/menu.mjs +1 -1
  48. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  49. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  50. package/dist-lib/metro-production-bundle.cjs +1 -1
  51. package/dist-lib/metro-production-bundle.mjs +1 -1
  52. package/dist-lib/metro.cjs +29 -28
  53. package/dist-lib/native-app-identity-project.cjs +21 -20
  54. package/dist-lib/native-app-identity-project.mjs +21 -20
  55. package/dist-lib/native-app-identity.cjs +1 -1
  56. package/dist-lib/native-app-identity.mjs +1 -1
  57. package/dist-lib/native-firebase-metadata.cjs +1 -1
  58. package/dist-lib/native-firebase-metadata.mjs +1 -1
  59. package/dist-lib/pdfium-raster.cjs +1 -1
  60. package/dist-lib/pdfium-raster.mjs +1 -1
  61. package/dist-lib/plist.cjs +1 -1
  62. package/dist-lib/plist.mjs +1 -1
  63. package/dist-lib/profiles.cjs +1 -1
  64. package/dist-lib/public-brand.cjs +1 -1
  65. package/dist-lib/public-origins-lib-esm.json +24 -24
  66. package/dist-lib/public-origins-lib.json +53 -53
  67. package/dist-lib/react-native-host-modules.cjs +1 -1
  68. package/dist-lib/react-native-host-modules.mjs +1 -1
  69. package/dist-lib/reap-browser.cjs +1 -1
  70. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  71. package/dist-lib/sdk.cjs +1 -1
  72. package/dist-lib/sdk.mjs +1 -1
  73. package/dist-lib/skills.cjs +173 -103
  74. package/dist-lib/swift-compile.cjs +25 -9
  75. package/dist-lib/swift-compile.mjs +25 -9
  76. package/dist-lib/swift-package.cjs +1 -1
  77. package/dist-lib/swift-package.mjs +1 -1
  78. package/dist-lib/swift-submit.cjs +1 -1
  79. package/dist-lib/swift-submit.mjs +1 -1
  80. package/dist-lib/swift-toolchain.cjs +3 -3
  81. package/dist-lib/swift.cjs +1 -1
  82. package/dist-lib/vite-swift.cjs +35 -19
  83. package/dist-lib/vite.cjs +1 -1
  84. package/dist-lib/worklet-executable.cjs +1 -1
  85. package/dist-lib/worklet-executable.mjs +1 -1
  86. package/kotlin/README.md +4 -4
  87. package/kotlin/sdk.tar.gz +0 -0
  88. package/package.json +1 -1
  89. package/src/assetCatalogContract.ts +1 -1
  90. package/src/bundle-channel.mjs +1 -1
  91. package/src/config.ts +2 -2
  92. package/src/device-catalog.ts +4 -4
  93. package/src/expo-native-prebuilt.ts +1 -1
  94. package/src/nitro-adapter.ts +1 -1
  95. package/src/nitro-dependencies.ts +1 -1
  96. package/src/settingsContract.ts +1 -1
  97. package/src/swift-compile.ts +23 -4
  98. package/src/swift-darwin-records.ts +1 -1
  99. package/src/swift-distribution-contract.ts +1 -1
  100. package/src/swift-distribution.ts +1 -1
  101. package/src/swift-guest-compile.ts +7 -1
  102. package/src/swift-guest-link.ts +3 -2
  103. package/src/swift-toolchain.ts +3 -2
  104. package/src/turbo-codegen-intake.ts +3 -0
  105. package/src/turbo-compile.ts +1 -0
  106. package/src/turbo-source.ts +62 -2
package/README.md CHANGED
@@ -425,7 +425,7 @@ files the same error fields in the issue queue. Peach never sends source, file p
425
425
  identity, screenshots, or recordings as diagnostics. Cloud commands such as
426
426
  login, upload, billing, issue reporting, generated flows, and screenshot decks
427
427
  contact their documented service only when explicitly invoked. The complete
428
- enforced network contract is in [`specs/rnx-privacy.md`](../../specs/rnx-privacy.md).
428
+ enforced network contract is in [`specs/peach/privacy.md`](../../specs/peach/privacy.md).
429
429
 
430
430
  `peach daemon uninstall` removes the machine daemon: it stops current and legacy
431
431
  launchd / systemd services and removes their logs, launcher, and generated
@@ -638,7 +638,7 @@ module.exports = withPeach(config, {
638
638
  Without resolved merged output, Android permissions contain only the explicit
639
639
  Expo `android.permissions` set minus `android.blockedPermissions`. Defaults,
640
640
  plugins and linked library additions require completed merged output. See the
641
- [native identity contract](../../specs/sootsim-engine/native-app-identity.md).
641
+ [native identity contract](../../specs/peach/engine/native-app-identity.md).
642
642
 
643
643
  The URL helpers request ordinary Metro graphs: `dev=false&minify=true` for
644
644
  production and `dev=true&minify=false` for development.
@@ -4,7 +4,7 @@
4
4
  // on our side; a credential the server rejects stops at once.
5
5
  //
6
6
  // the gate is the shipped CLI's: a source checkout is our own private tree, and
7
- // its CI runs from source with no account (specs/peach-onboarding/keys.md).
7
+ // its CI runs from source with no account (specs/peach/onboarding/keys.md).
8
8
 
9
9
  import { createHash } from 'node:crypto'
10
10
  import { existsSync, readFileSync } from 'node:fs'
package/cli/app-stubs.ts CHANGED
@@ -1,4 +1,4 @@
1
- // native stubs keyed by the package they answer (specs/peach-app-stubs.md):
1
+ // native stubs keyed by the package they answer (specs/peach/app-stubs.md):
2
2
  // the app's peach.config.ts `packages`, installed `peach-stub-<package>`
3
3
  // packages, and a library's own `peach` field, lowered into the engine's
4
4
  // nativeModules / nativeViews wire slots.
@@ -53,7 +53,7 @@ const LIST_FILES_TIMEOUT_MS = 10_000
53
53
 
54
54
  // the same busy machine fails this call in two ways that are both a failed
55
55
  // READ rather than an answer: the spawn raises, and a child exits 0 having
56
- // written nothing. docs/testing.md measured the second one directly on
56
+ // written nothing. docs/infra/testing.md measured the second one directly on
57
57
  // 2026-08-27 under CPU oversubscription, where a git child exited 0 with empty
58
58
  // stdout while the very next `/bin/echo` read back fine.
59
59
  //
@@ -46,7 +46,7 @@ const SEARCH_DEADLINE_MS = 20_000
46
46
  * stayed alive, with no one able to say which event never arrived, so nothing
47
47
  * that waits on a child event can be trusted to settle. A timer in this process
48
48
  * cannot be missed, so it is the authority and the kill is a side effect.
49
- * See docs/testing.md.
49
+ * See docs/infra/testing.md.
50
50
  */
51
51
  function runGitGrep(args: string[], cwd: string) {
52
52
  return new Promise<{ stdout: string; stderr: string; exitCode: number }>((resolve) => {
@@ -2,7 +2,7 @@ import { writeFileSync } from 'node:fs'
2
2
  // `peach perf record`: drives the sim page's Performance recorder, the same
3
3
  // one the devtools Performance tab drives, so a recording started here shows
4
4
  // in the pane and the other way round.
5
- // contract: specs/sootsim-performance/profiler.md
5
+ // contract: specs/peach/performance/profiler.md
6
6
  import { encodeProfileTrace } from '@peach/globals/profile-trace'
7
7
  import {
8
8
  PROFILER_CATEGORIES,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1899 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1902 | (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.1899 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1902 | (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.1899 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1902 | (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.1899 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1902 | (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.1899 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1902 | (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/beta.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1899 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1902 | (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/beta.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1899 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1902 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/beta.ts
4
4
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1899 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1902 | (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.1899 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1902 | (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.1899 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1902 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var SIM_LONG_PRESS_MAX_MS = 5e3;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1899 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1902 | (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.1899 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1902 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var REFUSED_PERFORM_STEP_TYPES = [