peachsim 0.1.2468 → 0.1.2470

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 (143) hide show
  1. package/cli/bridge-flow-runner.ts +1 -7
  2. package/cli/catalog/meta.ts +2 -0
  3. package/cli/command-agent.ts +2 -0
  4. package/cli/commands/camera.ts +46 -1
  5. package/cli/commands/inspect.ts +19 -8
  6. package/dist-lib/agent-daemon-client.cjs +1 -1
  7. package/dist-lib/agent-events.cjs +1 -1
  8. package/dist-lib/attached-projects.cjs +1 -1
  9. package/dist-lib/auth/shared-session.cjs +1 -1
  10. package/dist-lib/backend-origin.cjs +1 -1
  11. package/dist-lib/beta.cjs +1 -1
  12. package/dist-lib/beta.mjs +2 -2
  13. package/dist-lib/bridge-constants.cjs +1 -1
  14. package/dist-lib/bridge-contract-input.cjs +17 -1
  15. package/dist-lib/bridge-contract-input.mjs +5 -5
  16. package/dist-lib/bridge-contract.cjs +2 -1
  17. package/dist-lib/bridge-contract.mjs +3 -3
  18. package/dist-lib/bundle-channel.cjs +3 -3
  19. package/dist-lib/capture-contract.cjs +1 -1
  20. package/dist-lib/capture-contract.mjs +3 -3
  21. package/dist-lib/cloud-contract.cjs +1 -1
  22. package/dist-lib/cloud-contract.mjs +3 -3
  23. package/dist-lib/cloud-test-args.cjs +1 -1
  24. package/dist-lib/cloud-test-args.mjs +2 -2
  25. package/dist-lib/cloud.cjs +1 -1
  26. package/dist-lib/cloud.mjs +7 -7
  27. package/dist-lib/config.cjs +1 -1
  28. package/dist-lib/config.mjs +5 -5
  29. package/dist-lib/detox/index.cjs +10 -2
  30. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  31. package/dist-lib/esm-chunks/{acorn-JPH6DPOX.mjs → acorn-UYJCU4LQ.mjs} +3 -3
  32. package/dist-lib/esm-chunks/{chunk-NH3GVD4H.mjs → chunk-3LUHAGKN.mjs} +3 -3
  33. package/dist-lib/esm-chunks/{chunk-LK754YNG.mjs → chunk-5EVI2Q7R.mjs} +11 -11
  34. package/dist-lib/esm-chunks/{chunk-GNLLWI6F.mjs → chunk-62GDPPRK.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-HARKIU3B.mjs → chunk-63YE3HPT.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-FRUF45W2.mjs → chunk-ADSOZUR7.mjs} +2 -2
  37. package/dist-lib/esm-chunks/{chunk-76LLX7TK.mjs → chunk-BAJ5TJJJ.mjs} +2 -1
  38. package/dist-lib/esm-chunks/{chunk-G66WYWCJ.mjs → chunk-CZUHIYNB.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-RZSVYZOU.mjs → chunk-FEVD526T.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-ELL4WQJH.mjs → chunk-JCFAV27Q.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-EZCFNOMT.mjs → chunk-K75XVJ6M.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-PBAZG2SI.mjs → chunk-LI6FJRET.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-FXUNKCHX.mjs → chunk-OBHGZUZU.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-3UBXRP34.mjs → chunk-Q6BHZLJE.mjs} +19 -3
  45. package/dist-lib/esm-chunks/{chunk-TK2224PB.mjs → chunk-RTVCEFGY.mjs} +4 -4
  46. package/dist-lib/esm-chunks/{chunk-NLVZA3IC.mjs → chunk-SBGAGY36.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-MGPYTTHA.mjs → chunk-UATEBCVH.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-CWIJ3IQF.mjs → chunk-WYKU357M.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-4D7Z6LDM.mjs → chunk-XJBFYM6G.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-LJWLS53O.mjs → chunk-YHRVFO7U.mjs} +4 -4
  51. package/dist-lib/esm-chunks/{chunk-6HWLYEP6.mjs → chunk-ZIO5YODN.mjs} +1 -1
  52. package/dist-lib/esm-chunks/{metro-layout-parser-IJVRH3Y7.mjs → metro-layout-parser-O4IPDC42.mjs} +3 -3
  53. package/dist-lib/esm-chunks/{swift-package-prebuilt-EU6GFWOG.mjs → swift-package-prebuilt-4M7BXJ3C.mjs} +9 -9
  54. package/dist-lib/esm-chunks/{swift-sdk-app-module-MOF6CGSU.mjs → swift-sdk-app-module-LXZCH25K.mjs} +12 -12
  55. package/dist-lib/esm-chunks/{swift-sdk-image-OBZ4ZVPN.mjs → swift-sdk-image-OMB2EECT.mjs} +12 -12
  56. package/dist-lib/expo-swift-bundle.cjs +2 -2
  57. package/dist-lib/expo-swift-metadata.cjs +1 -1
  58. package/dist-lib/expo-swift-metadata.mjs +7 -7
  59. package/dist-lib/home-paths.cjs +1 -1
  60. package/dist-lib/host/bridge-host.cjs +3 -3
  61. package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
  62. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  63. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  64. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  65. package/dist-lib/host/websocket-proxy.cjs +1 -1
  66. package/dist-lib/index.cjs +9 -1
  67. package/dist-lib/kotlin-host.cjs +1 -1
  68. package/dist-lib/menu.cjs +1 -1
  69. package/dist-lib/menu.mjs +3 -3
  70. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  71. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  72. package/dist-lib/metro-production-bundle.cjs +1 -1
  73. package/dist-lib/metro-production-bundle.mjs +4 -4
  74. package/dist-lib/native-app-identity-project.cjs +1 -1
  75. package/dist-lib/native-app-identity-project.mjs +14 -14
  76. package/dist-lib/native-app-identity.cjs +1 -1
  77. package/dist-lib/native-app-identity.mjs +6 -6
  78. package/dist-lib/native-firebase-metadata.cjs +1 -1
  79. package/dist-lib/native-firebase-metadata.mjs +3 -3
  80. package/dist-lib/pdfium-raster.cjs +1 -1
  81. package/dist-lib/pdfium-raster.mjs +2 -2
  82. package/dist-lib/plist.cjs +1 -1
  83. package/dist-lib/plist.mjs +3 -3
  84. package/dist-lib/profiles.cjs +1 -1
  85. package/dist-lib/public-brand.cjs +1 -1
  86. package/dist-lib/public-origins-lib-esm.json +78 -75
  87. package/dist-lib/public-origins-lib.json +80 -69
  88. package/dist-lib/react-native-host-modules.cjs +1 -1
  89. package/dist-lib/react-native-host-modules.mjs +2 -2
  90. package/dist-lib/reap-browser.cjs +1 -1
  91. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  92. package/dist-lib/sdk.cjs +7 -1
  93. package/dist-lib/sdk.mjs +7 -7
  94. package/dist-lib/skills.cjs +27 -11
  95. package/dist-lib/swift-compile.cjs +1 -1
  96. package/dist-lib/swift-compile.mjs +9 -9
  97. package/dist-lib/swift-package.cjs +1 -1
  98. package/dist-lib/swift-package.mjs +3 -3
  99. package/dist-lib/swift-submit.cjs +1 -1
  100. package/dist-lib/swift-submit.mjs +5 -5
  101. package/dist-lib/swift-svg-raster.cjs +1 -1
  102. package/dist-lib/swift-svg-raster.mjs +2 -2
  103. package/dist-lib/swift-toolchain.cjs +1 -1
  104. package/dist-lib/swift.cjs +1 -1
  105. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  106. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  107. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  108. package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
  109. package/dist-lib/vendor/acorn.cjs +1 -1
  110. package/dist-lib/vendor/bplist-parser.cjs +1 -1
  111. package/dist-lib/vendor/ignore.cjs +1 -1
  112. package/dist-lib/vendor/magic-string.cjs +1 -1
  113. package/dist-lib/vendor/plist.cjs +1 -1
  114. package/dist-lib/vendor/smol-toml.cjs +1 -1
  115. package/dist-lib/vendor/stream-json.cjs +1 -1
  116. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  117. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  118. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  119. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  120. package/dist-lib/vendor/sucrase.cjs +1 -1
  121. package/dist-lib/vendor/terser.cjs +1 -1
  122. package/dist-lib/vendor/valibot.cjs +1 -1
  123. package/dist-lib/vendor/ws.cjs +1 -1
  124. package/dist-lib/vendor/zod.cjs +1 -1
  125. package/dist-lib/worklet-executable.cjs +1 -1
  126. package/dist-lib/worklet-executable.mjs +3 -3
  127. package/dist-types/packages/peach-engine/core-abi/style/style-schema.d.ts +3 -0
  128. package/dist-types/packages/peach-engine/src/engine/canvaskit/text.d.ts +1 -0
  129. package/dist-types/packages/peach-engine/src/engine/generated/node-record-contract.d.ts +2 -2
  130. package/dist-types/packages/peach-engine/src/engine/node.d.ts +2 -1
  131. package/dist-types/packages/peach-engine/src/engine/remote-display-protocol.d.ts +14 -3
  132. package/dist-types/packages/peach-engine/src/engine/types.d.ts +1 -0
  133. package/dist-types/packages/peach-engine/src/observability/diagnostics-sample.d.ts +2 -1
  134. package/dist-types/packages/peach-engine/src/observability/types.d.ts +7 -0
  135. package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +8 -4
  136. package/dist-types/packages/peach-globals/src/cameraInputBridgeContract.d.ts +12 -1
  137. package/dist-types/packages/peach-globals/src/eventBridgeContract.d.ts +2 -0
  138. package/dist-types/packages/peach-globals/src/index.d.ts +5 -2
  139. package/dist-types/packages/peach-globals/src/locationBridgeContract.d.ts +9 -0
  140. package/package.json +1 -1
  141. package/runtime-companion.json +1 -1
  142. package/src/bridge-contract-input.ts +6 -0
  143. package/src/bridge-contract.ts +13 -24
@@ -3483,13 +3483,7 @@ export class SootSimBridgeFlowRunner {
3483
3483
  })
3484
3484
  }
3485
3485
  await this.waitForTree(120000)
3486
- const result = await this.callTest<{ ok: boolean; error?: string }>(
3487
- 'openDeepLink',
3488
- link,
3489
- )
3490
- if (!result?.ok) {
3491
- throw new Error(`openLink failed: ${result?.error || 'no test bridge'}`)
3492
- }
3486
+ await this.bridge.send({ type: 'openUrl', simId: this.opts.simId, url: link })
3493
3487
  this.appStopped = false
3494
3488
  this.firstLaunchDone = true
3495
3489
  }
@@ -915,6 +915,8 @@ export const cliCommandMetas: CliCommandMeta[] = [
915
915
  'peach shell window [get | <x> <y> [width] [height] | scale <physical|point|pixel|fit>] [--scale <mode>] [--animate | --duration <ms>] [--linear] [--sim <id>] [--json]',
916
916
  'peach shell lock',
917
917
  'peach shell shake',
918
+ 'peach shell ring',
919
+ 'peach shell silent',
918
920
  ],
919
921
  examples: [
920
922
  example('peach shell launch photos'),
@@ -58,6 +58,8 @@ function describeStep(step: PerformStep): string | null {
58
58
  return 'Using the keyboard'
59
59
  case 'openUrl':
60
60
  return 'Opening a link'
61
+ case 'deviceHardware':
62
+ return step.action === 'shake' ? 'Shaking the device' : 'Setting ring mode'
61
63
  case 'setOrientation':
62
64
  return `Rotating to ${step.orientation}`
63
65
  case 'incrementElement':
@@ -7,6 +7,7 @@ import { createHash, randomUUID } from 'node:crypto'
7
7
  import { createReadStream } from 'node:fs'
8
8
  import fs from 'node:fs/promises'
9
9
  import path from 'node:path'
10
+ import { CAMERA_INPUT_MAX_BYTES } from '@peach/globals'
10
11
  import { cameraFixturesDir } from '../../src/home-paths'
11
12
  import { printBridgeFailureDiagnostics } from '../bridge-diagnostics'
12
13
  import {
@@ -26,12 +27,16 @@ peach camera — control the simulator camera source
26
27
 
27
28
  usage:
28
29
  peach camera play <file> [--loop] [--rate <number>]
30
+ peach camera photo <file>
31
+ peach camera test-pattern
29
32
  peach camera stop
30
33
  peach camera status [--json]
31
34
  peach do scan <text> [--format <web-format>]
32
35
 
33
36
  subcommands:
34
37
  play <file> replace the active camera source with a local video fixture
38
+ photo <file> feed the camera a JPEG, PNG or WebP
39
+ test-pattern feed the camera a test pattern
35
40
  stop clear fixture mode and restore the live camera source
36
41
  status report live, fixture, or idle source state
37
42
  scan <text> inject a synthetic barcode result into an active scan session
@@ -79,7 +84,9 @@ function printCameraResult(result: CameraResult, json: boolean): void {
79
84
  console.log(JSON.stringify(result))
80
85
  return
81
86
  }
82
- if (result.source === 'fixture') {
87
+ if (result.input) {
88
+ console.log(` camera source: ${result.input.label ?? result.input.mode}`)
89
+ } else if (result.source === 'fixture') {
83
90
  console.log(
84
91
  ` camera source: fixture (${result.url ?? 'unknown url'}, ${
85
92
  result.loop ? 'looping' : 'once'
@@ -161,6 +168,44 @@ export async function runCamera(
161
168
  return result.ok ? 0 : 1
162
169
  }
163
170
 
171
+ if (subcommand === 'test-pattern') {
172
+ const result = await sendCameraCommand(bridge, { action: 'test-pattern' })
173
+ printCameraResult(result, json)
174
+ return result.ok ? 0 : 1
175
+ }
176
+
177
+ if (subcommand === 'photo') {
178
+ const input = positional[1]
179
+ if (!input) throw new Error('Usage: peach camera photo <file>')
180
+ const extension = path.extname(input).toLowerCase()
181
+ const mimeType =
182
+ extension === '.png'
183
+ ? 'image/png'
184
+ : extension === '.webp'
185
+ ? 'image/webp'
186
+ : extension === '.jpg' || extension === '.jpeg'
187
+ ? 'image/jpeg'
188
+ : null
189
+ if (!mimeType) throw new Error('Choose a JPEG, PNG or WebP')
190
+ const file = await fs.open(input)
191
+ try {
192
+ const stat = await file.stat()
193
+ if (!stat.isFile() || stat.size < 1 || stat.size > CAMERA_INPUT_MAX_BYTES) {
194
+ throw new Error('Choose a nonempty image file up to 1 MiB')
195
+ }
196
+ const result = await sendCameraCommand(bridge, {
197
+ action: 'photo',
198
+ mimeType,
199
+ data: (await file.readFile()).toString('base64'),
200
+ label: path.basename(input).slice(0, 256),
201
+ })
202
+ printCameraResult(result, json)
203
+ return result.ok ? 0 : 1
204
+ } finally {
205
+ await file.close()
206
+ }
207
+ }
208
+
164
209
  if (subcommand === 'play') {
165
210
  const input = positional[1]
166
211
  if (!input) {
@@ -821,10 +821,17 @@ async function requireVisualKeyboard(bridge: WsBridge, actionLabel: string) {
821
821
 
822
822
  async function runShellVisualCommand(
823
823
  bridge: WsBridge,
824
- action: 'appearance' | 'lock' | 'shake',
824
+ action: 'appearance' | 'lock' | 'shake' | 'ring' | 'silent',
825
825
  value?: string,
826
826
  ) {
827
827
  if (action === 'appearance') {
828
+ if (bridge.plane === 'cloud') {
829
+ if (value !== 'light' && value !== 'dark') {
830
+ throw new Error('Choose light or dark for a hosted simulator')
831
+ }
832
+ const result = await bridge.send({ type: 'setAppearance', appearance: value })
833
+ return { ok: result?.appearance === value, applied: result?.appearance }
834
+ }
828
835
  return bridge.send({
829
836
  type: 'evaluate',
830
837
  code: `(async () => {
@@ -859,13 +866,11 @@ async function runShellVisualCommand(
859
866
  })
860
867
  }
861
868
 
862
- return bridge.send({
863
- type: 'evaluate',
864
- code: `(async () => {
865
- globalThis.dispatchEvent(new CustomEvent('sootsim:shake'))
866
- return { ok: true, action: 'shake' }
867
- })()`,
869
+ const result: PerformResult = await bridge.send({
870
+ type: 'perform',
871
+ steps: [{ type: 'deviceHardware', action }],
868
872
  })
873
+ return { ok: result.ok, action }
869
874
  }
870
875
 
871
876
  function keyCodeToVisualKey(code: string) {
@@ -3049,6 +3054,7 @@ export async function runInspect(args: string[], opts: InspectOptions) {
3049
3054
  inspect or set native desktop window frame and scale mode
3050
3055
  lock toggle device lock state
3051
3056
  shake trigger the simulator shake gesture
3057
+ ring | silent set the device's ring mode
3052
3058
 
3053
3059
  examples:
3054
3060
  ${inspectCommand('shell')} launch photos
@@ -3204,7 +3210,12 @@ export async function runInspect(args: string[], opts: InspectOptions) {
3204
3210
  const applied = (result as { applied?: string } | null)?.applied ?? mode
3205
3211
  console.log(` appearance: ${applied}`)
3206
3212
  }
3207
- } else if (shellCmd === 'lock' || shellCmd === 'shake') {
3213
+ } else if (
3214
+ shellCmd === 'lock' ||
3215
+ shellCmd === 'shake' ||
3216
+ shellCmd === 'ring' ||
3217
+ shellCmd === 'silent'
3218
+ ) {
3208
3219
  const result = await runShellVisualCommand(bridge, shellCmd)
3209
3220
  ok = !!result?.ok
3210
3221
  state = { [shellCmd]: result }
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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,5 +1,5 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-EZCFNOMT.mjs";
1
+ /*! peach v0.1.2470 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-K75XVJ6M.mjs";
3
3
 
4
4
  // src/beta.ts
5
5
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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;
@@ -42,6 +42,17 @@ __export(bridge_contract_input_exports, {
42
42
  });
43
43
  module.exports = __toCommonJS(bridge_contract_input_exports);
44
44
 
45
+ // ../peach-globals/src/globalsContract.ts
46
+ var LEGACY_ALIAS_MARKER = Symbol.for("sootsim.legacy-aliases-installed");
47
+
48
+ // ../peach-globals/src/nativeViewContract.ts
49
+ var SOOTSIM_NATIVE_PUBLIC_INSTANCE = Symbol.for("sootsim.nativePublicInstance");
50
+
51
+ // ../peach-globals/src/eventBridgeContract.ts
52
+ function isDeviceHardwareAction(value) {
53
+ return value === "shake" || value === "ring" || value === "silent";
54
+ }
55
+
45
56
  // src/bridge-contract.ts
46
57
  var SIM_LONG_PRESS_MAX_MS = 5e3;
47
58
 
@@ -330,6 +341,11 @@ function parsePerformStep(value, index) {
330
341
  }
331
342
  case "deviceInfo":
332
343
  return { type };
344
+ case "deviceHardware":
345
+ if (!isDeviceHardwareAction(step.action)) {
346
+ validationFailure(`${path}.action`, "must be shake, ring or silent");
347
+ }
348
+ return { type, action: step.action };
333
349
  case "buttonDown":
334
350
  case "buttonUp": {
335
351
  const button = step.button === void 0 ? void 0 : stringValue(step.button, `${path}.button`);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  BridgeInputError,
4
4
  SEMANTIC_WAIT_MAX_TIMEOUT_MS,
@@ -17,10 +17,10 @@ import {
17
17
  parseSemanticWaitOptions,
18
18
  parseStateOptions,
19
19
  parseTapTarget
20
- } from "./esm-chunks/chunk-3UBXRP34.mjs";
21
- import "./esm-chunks/chunk-76LLX7TK.mjs";
22
- import "./esm-chunks/chunk-6HWLYEP6.mjs";
23
- import "./esm-chunks/chunk-EZCFNOMT.mjs";
20
+ } from "./esm-chunks/chunk-Q6BHZLJE.mjs";
21
+ import "./esm-chunks/chunk-BAJ5TJJJ.mjs";
22
+ import "./esm-chunks/chunk-ZIO5YODN.mjs";
23
+ import "./esm-chunks/chunk-K75XVJ6M.mjs";
24
24
  export {
25
25
  BridgeInputError,
26
26
  SEMANTIC_WAIT_MAX_TIMEOUT_MS,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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;
@@ -98,6 +98,7 @@ function performStepRefusal(type) {
98
98
  case "toggleKeyboard":
99
99
  case "openUrl":
100
100
  case "deviceInfo":
101
+ case "deviceHardware":
101
102
  case "wait":
102
103
  case "waitFor":
103
104
  return null;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  HEADLESS_TENANT_FETCH_HUNG_MARKER,
4
4
  REFUSED_PERFORM_STEP_TYPES,
@@ -13,8 +13,8 @@ import {
13
13
  readyProbeHasContent,
14
14
  readyProbeIsReady,
15
15
  refusedPerformStepReason
16
- } from "./esm-chunks/chunk-76LLX7TK.mjs";
17
- import "./esm-chunks/chunk-EZCFNOMT.mjs";
16
+ } from "./esm-chunks/chunk-BAJ5TJJJ.mjs";
17
+ import "./esm-chunks/chunk-K75XVJ6M.mjs";
18
18
  export {
19
19
  HEADLESS_TENANT_FETCH_HUNG_MARKER,
20
20
  REFUSED_PERFORM_STEP_TYPES,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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;
@@ -1297,7 +1297,7 @@ var init_src = __esm({
1297
1297
  var runtime_companion_default;
1298
1298
  var init_runtime_companion = __esm({
1299
1299
  "runtime-companion.json"() {
1300
- runtime_companion_default = { abi: 1, sha256: "ccccb88de85b136640e26a11829ae110f023a06499947b513105951c7d6aae0f", file: "node/cli-ccccb88de85b136640e26a11829ae110f023a06499947b513105951c7d6aae0f.cjs" };
1300
+ runtime_companion_default = { abi: 1, sha256: "e7f1c9e8915dde6d33182604db7b13e169aa5c1b29cbe8f575b24818535e0b9f", file: "node/cli-e7f1c9e8915dde6d33182604db7b13e169aa5c1b29cbe8f575b24818535e0b9f.cjs" };
1301
1301
  }
1302
1302
  });
1303
1303
 
@@ -101926,7 +101926,7 @@ var init_expo_eager_seam_contract = __esm({
101926
101926
 
101927
101927
  // src/expo-native-compiler-digest.ts
101928
101928
  function expoNativeCompilerDigestValue() {
101929
- return true ? "6e4e2f6ad18c41d8dae4d2fb7cba87cadb087ace85fdaed8ccfd93a34e3b11cc" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
101929
+ return true ? "2badd86d88c9798ab81e61f7e99ab4fa5730086643d5f4f62c6f1b31a81068e5" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
101930
101930
  }
101931
101931
  var import_node_crypto75;
101932
101932
  var init_expo_native_compiler_digest = __esm({
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  RNX_SCREEN_CAPTURE_VERSION,
4
4
  describeInvalidScreenCapture,
@@ -10,8 +10,8 @@ import {
10
10
  rnxRasterFrames,
11
11
  rnxRasterRegionRequests,
12
12
  selectRnxRasterNodeIds
13
- } from "./esm-chunks/chunk-ELL4WQJH.mjs";
14
- import "./esm-chunks/chunk-EZCFNOMT.mjs";
13
+ } from "./esm-chunks/chunk-JCFAV27Q.mjs";
14
+ import "./esm-chunks/chunk-K75XVJ6M.mjs";
15
15
  export {
16
16
  RNX_SCREEN_CAPTURE_VERSION,
17
17
  describeInvalidScreenCapture,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  AGENT_IDENTITY_MAX_CHARS,
4
4
  RNX_CLOUD_ALL_COMMAND_SCOPES,
@@ -31,8 +31,8 @@ import {
31
31
  readRnxLaunchUrl,
32
32
  rnxCloudCommandScope,
33
33
  rnxCloudScopesAllowCommand
34
- } from "./esm-chunks/chunk-CWIJ3IQF.mjs";
35
- import "./esm-chunks/chunk-EZCFNOMT.mjs";
34
+ } from "./esm-chunks/chunk-WYKU357M.mjs";
35
+ import "./esm-chunks/chunk-K75XVJ6M.mjs";
36
36
  export {
37
37
  AGENT_IDENTITY_MAX_CHARS,
38
38
  RNX_CLOUD_ALL_COMMAND_SCOPES,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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,5 +1,5 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-EZCFNOMT.mjs";
1
+ /*! peach v0.1.2470 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-K75XVJ6M.mjs";
3
3
 
4
4
  // src/cloud-test-args.ts
5
5
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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,10 +1,10 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  sleep
4
- } from "./esm-chunks/chunk-G66WYWCJ.mjs";
4
+ } from "./esm-chunks/chunk-CZUHIYNB.mjs";
5
5
  import {
6
6
  isRnxScreenCapture
7
- } from "./esm-chunks/chunk-ELL4WQJH.mjs";
7
+ } from "./esm-chunks/chunk-JCFAV27Q.mjs";
8
8
  import {
9
9
  RNX_CLOUD_COMMAND_TYPES,
10
10
  RNX_CLOUD_MAX_ARTIFACT_BYTES,
@@ -14,16 +14,16 @@ import {
14
14
  isRnxCloudCommandType,
15
15
  rnxCloudCommandScope,
16
16
  rnxCloudScopesAllowCommand
17
- } from "./esm-chunks/chunk-CWIJ3IQF.mjs";
17
+ } from "./esm-chunks/chunk-WYKU357M.mjs";
18
18
  import {
19
19
  rnxPublicBrand
20
- } from "./esm-chunks/chunk-FXUNKCHX.mjs";
20
+ } from "./esm-chunks/chunk-OBHGZUZU.mjs";
21
21
  import {
22
22
  isRecord
23
- } from "./esm-chunks/chunk-6HWLYEP6.mjs";
23
+ } from "./esm-chunks/chunk-ZIO5YODN.mjs";
24
24
  import {
25
25
  __publicField
26
- } from "./esm-chunks/chunk-EZCFNOMT.mjs";
26
+ } from "./esm-chunks/chunk-K75XVJ6M.mjs";
27
27
 
28
28
  // src/backend-origin.ts
29
29
  var NativeURL = globalThis.URL;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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,14 +1,14 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isValidRuntimeVersion
4
- } from "./esm-chunks/chunk-MGPYTTHA.mjs";
4
+ } from "./esm-chunks/chunk-UATEBCVH.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./esm-chunks/chunk-PBAZG2SI.mjs";
7
+ } from "./esm-chunks/chunk-LI6FJRET.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./esm-chunks/chunk-6HWLYEP6.mjs";
11
- import "./esm-chunks/chunk-EZCFNOMT.mjs";
10
+ } from "./esm-chunks/chunk-ZIO5YODN.mjs";
11
+ import "./esm-chunks/chunk-K75XVJ6M.mjs";
12
12
 
13
13
  // src/nativeViewSourceContract.ts
14
14
  function isNativeViewSource(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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;
@@ -1223,6 +1223,12 @@ function commandWritesSim(msg) {
1223
1223
  return WRITE_COMMAND_TYPES.has(msg.type);
1224
1224
  }
1225
1225
 
1226
+ // ../peach-globals/src/globalsContract.ts
1227
+ var LEGACY_ALIAS_MARKER = Symbol.for("sootsim.legacy-aliases-installed");
1228
+
1229
+ // ../peach-globals/src/nativeViewContract.ts
1230
+ var SOOTSIM_NATIVE_PUBLIC_INSTANCE = Symbol.for("sootsim.nativePublicInstance");
1231
+
1226
1232
  // src/is-record.ts
1227
1233
  function isRecord(value) {
1228
1234
  return typeof value === "object" && value !== null && !Array.isArray(value);
@@ -2510,7 +2516,7 @@ function isValidRuntimeVersion(value) {
2510
2516
  }
2511
2517
 
2512
2518
  // runtime-companion.json
2513
- var runtime_companion_default = { abi: 1, sha256: "ccccb88de85b136640e26a11829ae110f023a06499947b513105951c7d6aae0f", file: "node/cli-ccccb88de85b136640e26a11829ae110f023a06499947b513105951c7d6aae0f.cjs" };
2519
+ var runtime_companion_default = { abi: 1, sha256: "e7f1c9e8915dde6d33182604db7b13e169aa5c1b29cbe8f575b24818535e0b9f", file: "node/cli-e7f1c9e8915dde6d33182604db7b13e169aa5c1b29cbe8f575b24818535e0b9f.cjs" };
2514
2520
 
2515
2521
  // src/answeredNativePackages.ts
2516
2522
  var import_node_async_hooks = require("node:async_hooks");
@@ -5391,6 +5397,8 @@ function describeStep(step) {
5391
5397
  return "Using the keyboard";
5392
5398
  case "openUrl":
5393
5399
  return "Opening a link";
5400
+ case "deviceHardware":
5401
+ return step.action === "shake" ? "Shaking the device" : "Setting ring mode";
5394
5402
  case "setOrientation":
5395
5403
  return `Rotating to ${step.orientation}`;
5396
5404
  case "incrementElement":
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (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.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  Node,
4
4
  Parser,
@@ -22,8 +22,8 @@ import {
22
22
  types,
23
23
  types$1,
24
24
  version
25
- } from "./chunk-GNLLWI6F.mjs";
26
- import "./chunk-EZCFNOMT.mjs";
25
+ } from "./chunk-62GDPPRK.mjs";
26
+ import "./chunk-K75XVJ6M.mjs";
27
27
  export {
28
28
  Node,
29
29
  Parser,
@@ -1,7 +1,7 @@
1
- /*! peach v0.1.2468 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2470 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  swiftModuleToolchain
4
- } from "./chunk-TK2224PB.mjs";
4
+ } from "./chunk-RTVCEFGY.mjs";
5
5
  import {
6
6
  DARWIN_RECORDS_PREFIX,
7
7
  KEEP_WASM_NAMES,
@@ -32,7 +32,7 @@ import {
32
32
  unslottedFunctions,
33
33
  wasmSections,
34
34
  withSwiftRootLock
35
- } from "./chunk-LK754YNG.mjs";
35
+ } from "./chunk-5EVI2Q7R.mjs";
36
36
 
37
37
  // src/swift-sdk-image.ts
38
38
  import { execFile } from "node:child_process";