peachsim 0.1.2400 → 0.1.2401

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 (105) hide show
  1. package/README.md +2 -2
  2. package/cli/bin.ts +1 -1
  3. package/cli/catalog/content.ts +520 -0
  4. package/cli/catalog/index.ts +4 -0
  5. package/cli/catalog/meta.ts +3881 -0
  6. package/cli/catalog/renderers.ts +659 -0
  7. package/cli/catalog/routes.ts +237 -0
  8. package/cli/catalog/types.ts +96 -0
  9. package/cli/commands/inspect.ts +3 -3
  10. package/cli/commands/record.ts +1 -1
  11. package/cli/dev-build-freshness.ts +1 -0
  12. package/cli/help-core.ts +6 -6
  13. package/cli/hidden-runtime-alias.ts +1 -1
  14. package/cli/parse-args.ts +1 -1
  15. package/dist-lib/agent-daemon-client.cjs +1 -1
  16. package/dist-lib/agent-events.cjs +1 -1
  17. package/dist-lib/attached-projects.cjs +1 -1
  18. package/dist-lib/auth/shared-session.cjs +1 -1
  19. package/dist-lib/backend-origin.cjs +1 -1
  20. package/dist-lib/beta.cjs +1 -1
  21. package/dist-lib/beta.mjs +1 -1
  22. package/dist-lib/bridge-constants.cjs +1 -1
  23. package/dist-lib/bridge-contract-input.cjs +1 -1
  24. package/dist-lib/bridge-contract-input.mjs +1 -1
  25. package/dist-lib/bridge-contract.cjs +1 -1
  26. package/dist-lib/bridge-contract.mjs +1 -1
  27. package/dist-lib/bundle-channel.cjs +32 -32
  28. package/dist-lib/capture-contract.cjs +1 -1
  29. package/dist-lib/capture-contract.mjs +1 -1
  30. package/dist-lib/cloud-contract.cjs +1 -1
  31. package/dist-lib/cloud-contract.mjs +1 -1
  32. package/dist-lib/cloud-test-args.cjs +1 -1
  33. package/dist-lib/cloud-test-args.mjs +1 -1
  34. package/dist-lib/cloud.cjs +1 -1
  35. package/dist-lib/cloud.mjs +1 -1
  36. package/dist-lib/config.cjs +1 -1
  37. package/dist-lib/config.mjs +1 -1
  38. package/dist-lib/detox/index.cjs +1 -1
  39. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  40. package/dist-lib/expo-swift-bundle.cjs +31 -31
  41. package/dist-lib/expo-swift-metadata.cjs +1 -1
  42. package/dist-lib/expo-swift-metadata.mjs +1 -1
  43. package/dist-lib/home-paths.cjs +1 -1
  44. package/dist-lib/host/bridge-host.cjs +32 -32
  45. package/dist-lib/host/fetch-proxy-handler.cjs +43 -40
  46. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  47. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  48. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  49. package/dist-lib/host/websocket-proxy.cjs +1 -1
  50. package/dist-lib/index.cjs +47 -44
  51. package/dist-lib/jump-to-source-babel.cjs +1 -1
  52. package/dist-lib/jump-to-source-native.cjs +1 -1
  53. package/dist-lib/kotlin-host.cjs +1 -1
  54. package/dist-lib/menu.cjs +1 -1
  55. package/dist-lib/menu.mjs +1 -1
  56. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  57. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  58. package/dist-lib/metro-production-bundle.cjs +1 -1
  59. package/dist-lib/metro-production-bundle.mjs +1 -1
  60. package/dist-lib/metro.cjs +52 -49
  61. package/dist-lib/native-app-identity-project.cjs +22 -19
  62. package/dist-lib/native-app-identity-project.mjs +4 -3
  63. package/dist-lib/native-app-identity.cjs +1 -1
  64. package/dist-lib/native-app-identity.mjs +1 -1
  65. package/dist-lib/native-firebase-metadata.cjs +1 -1
  66. package/dist-lib/native-firebase-metadata.mjs +1 -1
  67. package/dist-lib/pdfium-raster.cjs +1 -1
  68. package/dist-lib/pdfium-raster.mjs +1 -1
  69. package/dist-lib/plist.cjs +1 -1
  70. package/dist-lib/plist.mjs +1 -1
  71. package/dist-lib/profiles.cjs +1 -1
  72. package/dist-lib/public-brand.cjs +1 -1
  73. package/dist-lib/public-origins-lib-esm.json +24 -24
  74. package/dist-lib/public-origins-lib.json +59 -59
  75. package/dist-lib/react-native-host-modules.cjs +1 -1
  76. package/dist-lib/react-native-host-modules.mjs +1 -1
  77. package/dist-lib/reap-browser.cjs +1 -1
  78. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  79. package/dist-lib/sdk.cjs +1 -1
  80. package/dist-lib/sdk.mjs +1 -1
  81. package/dist-lib/skills.cjs +47 -47
  82. package/dist-lib/swift-compile.cjs +28 -30
  83. package/dist-lib/swift-compile.mjs +24 -26
  84. package/dist-lib/swift-package.cjs +1 -1
  85. package/dist-lib/swift-package.mjs +1 -1
  86. package/dist-lib/swift-submit.cjs +1 -1
  87. package/dist-lib/swift-submit.mjs +1 -1
  88. package/dist-lib/swift-toolchain.cjs +1 -1
  89. package/dist-lib/swift.cjs +1 -1
  90. package/dist-lib/vite-swift.cjs +29 -31
  91. package/dist-lib/vite.cjs +38 -35
  92. package/dist-lib/worklet-executable.cjs +1 -1
  93. package/dist-lib/worklet-executable.mjs +1 -1
  94. package/kotlin/sdk.tar.gz +0 -0
  95. package/kotlin/toolchain.json +2 -2
  96. package/package.json +1 -3
  97. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GKState.h +78 -0
  98. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GKStateMachine.h +69 -0
  99. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKit.apinotes +269 -0
  100. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKit.h +15 -0
  101. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKitBase.h +38 -0
  102. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Modules/module.modulemap +6 -0
  103. package/src/wasm-optimize.ts +23 -24
  104. package/src/worklets-babel.ts +2 -6
  105. package/cli/registry.ts +0 -2
@@ -0,0 +1,237 @@
1
+ // generated by scripts/generate/peach-cli-docs.ts; edit cli/meta.ts instead.
2
+ import type { CliDocsRoute } from './types'
3
+
4
+ export const sootsimCliDocsRoutes: CliDocsRoute[] = [
5
+ {
6
+ title: 'Overview',
7
+ route: '/docs/peach/cli',
8
+ },
9
+ {
10
+ title: 'test',
11
+ route: '/docs/peach/cli/test',
12
+ },
13
+ {
14
+ title: 'cleanup',
15
+ route: '/docs/peach/cli/cleanup',
16
+ },
17
+ {
18
+ title: 'record',
19
+ route: '/docs/peach/cli/record',
20
+ },
21
+ {
22
+ title: 'storage',
23
+ route: '/docs/peach/cli/storage',
24
+ },
25
+ {
26
+ title: 'permissions',
27
+ route: '/docs/peach/cli/permissions',
28
+ },
29
+ {
30
+ title: 'location',
31
+ route: '/docs/peach/cli/location',
32
+ },
33
+ {
34
+ title: 'push',
35
+ route: '/docs/peach/cli/push',
36
+ },
37
+ {
38
+ title: 'state',
39
+ route: '/docs/peach/cli/state',
40
+ },
41
+ {
42
+ title: 'defaults',
43
+ route: '/docs/peach/cli/defaults',
44
+ },
45
+ {
46
+ title: 'reset',
47
+ route: '/docs/peach/cli/reset',
48
+ },
49
+ {
50
+ title: 'camera',
51
+ route: '/docs/peach/cli/camera',
52
+ },
53
+ {
54
+ title: 'perf',
55
+ route: '/docs/peach/cli/perf',
56
+ },
57
+ {
58
+ title: 'describe',
59
+ route: '/docs/peach/cli/describe',
60
+ },
61
+ {
62
+ title: 'find',
63
+ route: '/docs/peach/cli/find',
64
+ },
65
+ {
66
+ title: 'assert',
67
+ route: '/docs/peach/cli/assert',
68
+ },
69
+ {
70
+ title: 'screenshot',
71
+ route: '/docs/peach/cli/screenshot',
72
+ },
73
+ {
74
+ title: 'get',
75
+ route: '/docs/peach/cli/get',
76
+ },
77
+ {
78
+ title: 'do',
79
+ route: '/docs/peach/cli/do',
80
+ },
81
+ {
82
+ title: 'wait',
83
+ route: '/docs/peach/cli/wait',
84
+ },
85
+ {
86
+ title: 'shell',
87
+ route: '/docs/peach/cli/shell',
88
+ },
89
+ {
90
+ title: 'mode',
91
+ route: '/docs/peach/cli/mode',
92
+ },
93
+ {
94
+ title: 'device',
95
+ route: '/docs/peach/cli/device',
96
+ },
97
+ {
98
+ title: 'network',
99
+ route: '/docs/peach/cli/network',
100
+ },
101
+ {
102
+ title: 'logs',
103
+ route: '/docs/peach/cli/logs',
104
+ },
105
+ {
106
+ title: 'debug',
107
+ route: '/docs/peach/cli/debug',
108
+ },
109
+ {
110
+ title: 'what-happened',
111
+ route: '/docs/peach/cli/what-happened',
112
+ },
113
+ {
114
+ title: 'timeline',
115
+ route: '/docs/peach/cli/timeline',
116
+ },
117
+ {
118
+ title: 'ios',
119
+ route: '/docs/peach/cli/ios',
120
+ },
121
+ {
122
+ title: 'android',
123
+ route: '/docs/peach/cli/android',
124
+ },
125
+ {
126
+ title: 'stream',
127
+ route: '/docs/peach/cli/stream',
128
+ },
129
+ {
130
+ title: 'remote',
131
+ route: '/docs/peach/cli/remote',
132
+ },
133
+ {
134
+ title: 'open',
135
+ route: '/docs/peach/cli/open',
136
+ },
137
+ {
138
+ title: 'preview',
139
+ route: '/docs/peach/cli/preview',
140
+ },
141
+ {
142
+ title: 'package',
143
+ route: '/docs/peach/cli/package',
144
+ },
145
+ {
146
+ title: 'map',
147
+ route: '/docs/peach/cli/map',
148
+ },
149
+ {
150
+ title: 'canvas',
151
+ route: '/docs/peach/cli/canvas',
152
+ },
153
+ {
154
+ title: 'list',
155
+ route: '/docs/peach/cli/list',
156
+ },
157
+ {
158
+ title: 'use',
159
+ route: '/docs/peach/cli/use',
160
+ },
161
+ {
162
+ title: 'skill',
163
+ route: '/docs/peach/cli/skill',
164
+ },
165
+ {
166
+ title: 'claim',
167
+ route: '/docs/peach/cli/claim',
168
+ },
169
+ {
170
+ title: 'agent',
171
+ route: '/docs/peach/cli/agent',
172
+ },
173
+ {
174
+ title: 'close',
175
+ route: '/docs/peach/cli/close',
176
+ },
177
+ {
178
+ title: 'setup',
179
+ route: '/docs/peach/cli/setup',
180
+ },
181
+ {
182
+ title: 'doctor',
183
+ route: '/docs/peach/cli/doctor',
184
+ },
185
+ {
186
+ title: 'compat',
187
+ route: '/docs/peach/cli/compat',
188
+ },
189
+ {
190
+ title: 'project-report',
191
+ route: '/docs/peach/cli/project-report',
192
+ },
193
+ {
194
+ title: 'support',
195
+ route: '/docs/peach/cli/support',
196
+ },
197
+ {
198
+ title: 'desktop',
199
+ route: '/docs/peach/cli/desktop',
200
+ },
201
+ {
202
+ title: 'daemon',
203
+ route: '/docs/peach/cli/daemon',
204
+ },
205
+ {
206
+ title: 'version',
207
+ route: '/docs/peach/cli/version',
208
+ },
209
+ {
210
+ title: 'upgrade',
211
+ route: '/docs/peach/cli/upgrade',
212
+ },
213
+ {
214
+ title: 'serve',
215
+ route: '/docs/peach/cli/serve',
216
+ },
217
+ {
218
+ title: 'runtime',
219
+ route: '/docs/peach/cli/runtime',
220
+ },
221
+ {
222
+ title: 'auth',
223
+ route: '/docs/peach/cli/auth',
224
+ },
225
+ {
226
+ title: 'login',
227
+ route: '/docs/peach/cli/login',
228
+ },
229
+ {
230
+ title: 'logout',
231
+ route: '/docs/peach/cli/logout',
232
+ },
233
+ {
234
+ title: 'config',
235
+ route: '/docs/peach/cli/config',
236
+ },
237
+ ]
@@ -0,0 +1,96 @@
1
+ export interface CliDocRenderContext {
2
+ bridgePort: number
3
+ defaultShellUrl: string
4
+ }
5
+
6
+ export interface CliGlobalFlagMeta {
7
+ flag: string
8
+ description: string
9
+ }
10
+
11
+ export interface CliOptionMeta {
12
+ flag: string
13
+ description: string
14
+ hidden?: boolean
15
+ }
16
+
17
+ export interface CliExampleMeta {
18
+ command: string
19
+ description?: string
20
+ hidden?: boolean
21
+ }
22
+
23
+ export interface CliCommandMeta {
24
+ id: string
25
+ slug: string
26
+ navTitle: string
27
+ title: string
28
+ description: string
29
+ summary: string
30
+ order: number
31
+ usage: string[]
32
+ aliases?: string[]
33
+ options?: CliOptionMeta[]
34
+ examples?: CliExampleMeta[]
35
+ related?: string[]
36
+ hidden?: boolean
37
+ // excludes a command from the generated website navigation until its
38
+ // dedicated reference page lands; terminal help stays available.
39
+ docsPending?: boolean
40
+ // when set, the command currently fails fast at runtime. `--help` renders
41
+ // this as a prominent banner above usage so the options/examples (kept for
42
+ // when the rework lands) don't read as working invocations.
43
+ unsupported?: string
44
+ }
45
+
46
+ // lightweight help entry for individual runtime verbs (tap, describe, type, etc.)
47
+ // surfaced when a grouping-verb --help falls through to a specific inner
48
+ // verb — e.g. `peach do tap --help` renders the tap entry here.
49
+ //
50
+ // grouping-verb help (peach do --help, peach get --help) is *also* built
51
+ // from these entries: each entry declares its parent group via `group` and
52
+ // optionally a `subgroup` so related verbs cluster visually instead of
53
+ // collapsing into one flat list.
54
+ export interface CliInspectVerbMeta {
55
+ verb: string
56
+ description: string
57
+ usage: string[]
58
+ examples?: CliExampleMeta[]
59
+ notes?: string
60
+ // parent grouping verb. drives which grouping-verb --help screen lists it.
61
+ // one of: 'do', 'get', 'debug', 'wait', 'shell', 'describe', 'find'.
62
+ group?: string
63
+ // optional cluster inside a group (e.g. 'targeting', 'text input',
64
+ // 'gestures', 'lifecycle') so the group help renders visual subheaders.
65
+ subgroup?: string
66
+ // one-line summary used specifically in the grouping-verb list.
67
+ // usually terser than `description`.
68
+ shortDescription?: string
69
+ // cross-references to related verbs, rendered as "see also" on the per-
70
+ // verb help screen. values are verb names that exist in the registry.
71
+ seeAlso?: string[]
72
+ // flag-level options. when present, per-verb --help renders them as an
73
+ // options table (same shape as CliCommandMeta.options) and the grouping
74
+ // list renders a compact "flags:" hint under the verb.
75
+ options?: CliOptionMeta[]
76
+ // sort key inside a subgroup. ties fall back to registry order.
77
+ order?: number
78
+ }
79
+
80
+ export interface CliDocSection {
81
+ title: string
82
+ body: string
83
+ }
84
+
85
+ export interface CliOverviewSection extends CliDocSection {}
86
+
87
+ export interface CliDocPage {
88
+ slug: string
89
+ content: string
90
+ }
91
+
92
+ export interface CliDocsRoute {
93
+ title: string
94
+ route: string
95
+ pending?: boolean
96
+ }
@@ -1,6 +1,4 @@
1
1
  import { Script } from 'node:vm'
2
- import { getCliInspectVerbMeta } from '@peach/skills/cli'
3
- import { renderCliCommandHelp, renderCliGroupHelp } from '@peach/skills/cli/renderers'
4
2
  import { DEFAULT_SOOTSIM_BRIDGE_PORT } from '../../src/bridge-constants'
5
3
  import { DEFAULT_SOOTSIM_SHELL_URL } from '../../src/cli-constants'
6
4
  import { sleep } from '../../src/sleep'
@@ -11,6 +9,8 @@ import {
11
9
  buildSampleColorEval,
12
10
  type SampleRect,
13
11
  } from '../browser-evals'
12
+ import { getCliInspectVerbMeta } from '../catalog'
13
+ import { renderCliCommandHelp, renderCliGroupHelp } from '../catalog/renderers'
14
14
  import { getCliIdentityKey } from '../current-sim'
15
15
  import { rememberFlowCandidate } from '../flow-session'
16
16
  import { maybeHint } from '../hints'
@@ -1053,7 +1053,7 @@ export async function runInspect(args: string[], opts: InspectOptions) {
1053
1053
  }
1054
1054
 
1055
1055
  if (!subcommand || args.includes('--help') || args.includes('-h')) {
1056
- // help output comes from the registry in packages/peach-skills, so every help surface reads one source.
1056
+ // help output comes from the registry in packages/peachsim/cli/catalog, so every help surface reads one source.
1057
1057
  const docContext = {
1058
1058
  bridgePort: DEFAULT_SOOTSIM_BRIDGE_PORT,
1059
1059
  defaultShellUrl: DEFAULT_SOOTSIM_SHELL_URL,
@@ -219,7 +219,7 @@ function readRepoScope(args: string[]): RepoScope {
219
219
 
220
220
  export async function runRecord(args: string[], opts: RecordOptions) {
221
221
  // note: `--help` / `-h` never reach here — bin.ts intercepts them and
222
- // renders the registry-driven help page (packages/peach-skills meta.ts).
222
+ // renders the registry-driven help page (packages/peachsim/cli/catalog meta.ts).
223
223
 
224
224
  const sub = findRecordSubcommand(args)
225
225
  if (sub) {
@@ -65,6 +65,7 @@ const PEACHSIM_ENGINE_INPUTS = [
65
65
  ]
66
66
 
67
67
  const ENGINE_SOURCES = [
68
+ 'conformance-corpus/peach-engine/fixtures',
68
69
  'packages/peach-engine/src',
69
70
  'packages/peach-engine/public',
70
71
  'packages/peach-engine/vendor',
package/cli/help-core.ts CHANGED
@@ -1,13 +1,13 @@
1
- import { cliCommandMetas } from '@peach/skills/cli'
2
- import {
3
- renderCliCommandHelp,
4
- renderCliGroupHelp,
5
- renderCliIndexHelp,
6
- } from '@peach/skills/cli/renderers'
7
1
  import {
8
2
  DEFAULT_SOOTSIM_BRIDGE_PORT,
9
3
  DEFAULT_SOOTSIM_BRIDGE_URL,
10
4
  } from '../src/bridge-constants'
5
+ import { cliCommandMetas } from './catalog'
6
+ import {
7
+ renderCliCommandHelp,
8
+ renderCliGroupHelp,
9
+ renderCliIndexHelp,
10
+ } from './catalog/renderers'
11
11
  import {
12
12
  getRnxCommandAvailability,
13
13
  getRnxFirstPositional,
@@ -1,4 +1,4 @@
1
- import { getCliInspectVerbMetaByPath } from '@peach/skills/cli'
1
+ import { getCliInspectVerbMetaByPath } from './catalog'
2
2
  import type { ParsedArgs } from './parse-args'
3
3
 
4
4
  const HIDDEN_RUNTIME_ALIAS_GROUPS = ['do', 'get'] as const
package/cli/parse-args.ts CHANGED
@@ -78,7 +78,7 @@ export const HYPHENATED_GROUPING_VERBS = new Set(['do', 'get', 'wait', 'shell',
78
78
 
79
79
  // known commands — if first positional arg matches, it's a command.
80
80
  // every entry here must have a `cliCommandMetas` entry in
81
- // `packages/peach-skills/src/cli/meta.ts`, so help, website docs,
81
+ // `packages/peachsim/cli/catalog/meta.ts`, so help, website docs,
82
82
  // and agent skills can never drift from what the parser accepts.
83
83
  export const COMMANDS = new Set(RNX_NODE_COMMAND_NAMES)
84
84
 
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var REFUSED_PERFORM_STEP_TYPES = [
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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;
@@ -29340,7 +29340,7 @@ var init_wasm_narrow_boundary = __esm({
29340
29340
  async function runWasmOpt(file, output2, optimize, skipPasses, binary2) {
29341
29341
  const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
29342
29342
  const requestedCores = Number(process.env.BINARYEN_CORES);
29343
- const environment = { ...process.env, WASM_OPT_PATH: binary2 };
29343
+ const environment = { ...process.env };
29344
29344
  if (Number.isInteger(admittedCores) && admittedCores > 0)
29345
29345
  environment.BINARYEN_CORES = String(
29346
29346
  Number.isInteger(requestedCores) && requestedCores > 0 ? Math.min(admittedCores, requestedCores) : admittedCores
@@ -29354,7 +29354,7 @@ async function runWasmOpt(file, output2, optimize, skipPasses, binary2) {
29354
29354
  const thunks = `${output2}.thunks.wat`;
29355
29355
  (0, import_node_fs35.writeFileSync)(guest, narrowed.module);
29356
29356
  (0, import_node_fs35.writeFileSync)(thunks, narrowed.thunks);
29357
- await (0, import_node_util3.promisify)(import_node_child_process20.execFile)(
29357
+ await runBinaryen(
29358
29358
  (0, import_node_path34.join)((0, import_node_path34.dirname)(binary2), "wasm-merge"),
29359
29359
  [
29360
29360
  ...features,
@@ -29372,39 +29372,39 @@ async function runWasmOpt(file, output2, optimize, skipPasses, binary2) {
29372
29372
  (0, import_node_fs35.rmSync)(guest);
29373
29373
  (0, import_node_fs35.rmSync)(thunks);
29374
29374
  }
29375
- const result = await (0, import_wasm_opt.wasmOpt)(
29376
- [
29377
- ...LOWERING,
29378
- ...optimize ? ["-Oz"] : [],
29379
- ...names,
29380
- ...skipPasses.flatMap((pass) => ["--skip-pass", pass]),
29381
- ...features,
29382
- narrowed ? merged : file,
29383
- "-o",
29384
- output2
29385
- ],
29386
- { env: environment }
29387
- );
29388
- if (narrowed) (0, import_node_fs35.rmSync)(merged);
29389
- if (result.status !== 0)
29390
- throw new Error(`wasm-opt exited ${result.status}: ${result.stderr}`);
29375
+ try {
29376
+ await runBinaryen(
29377
+ binary2,
29378
+ [
29379
+ ...LOWERING,
29380
+ ...optimize ? ["-Oz"] : [],
29381
+ ...names,
29382
+ ...skipPasses.flatMap((pass) => ["--skip-pass", pass]),
29383
+ ...features,
29384
+ narrowed ? merged : file,
29385
+ "-o",
29386
+ output2
29387
+ ],
29388
+ { env: environment, maxBuffer: Infinity }
29389
+ );
29390
+ } finally {
29391
+ if (narrowed) (0, import_node_fs35.rmSync)(merged);
29392
+ }
29391
29393
  }
29392
29394
  async function installWasmOpt() {
29393
- if (import_wasm_opt.BINARYEN_VERSION !== PINNED_BINARYEN_VERSION)
29394
- throw new Error("the Binaryen release pins must match the wasm-opt package");
29395
29395
  const platform2 = `${process.platform}-${process.arch}`;
29396
29396
  const release = BINARYEN_RELEASES.get(platform2);
29397
29397
  if (!release) throw new Error(`no pinned Binaryen release for ${platform2}`);
29398
- const destDir = (0, import_node_path34.join)(rnxHomeDir(), "tools", "binaryen", import_wasm_opt.BINARYEN_VERSION, platform2);
29398
+ const destDir = (0, import_node_path34.join)(rnxHomeDir(), "tools", "binaryen", BINARYEN_VERSION, platform2);
29399
29399
  const binary2 = (0, import_node_path34.join)(destDir, "bin", "wasm-opt");
29400
29400
  if (!(0, import_node_fs35.existsSync)(binary2))
29401
29401
  await installVerifiedTarball({
29402
- url: `https://github.com/WebAssembly/binaryen/releases/download/version_${import_wasm_opt.BINARYEN_VERSION}/binaryen-version_${import_wasm_opt.BINARYEN_VERSION}-${release.asset}.tar.gz`,
29402
+ url: `https://github.com/WebAssembly/binaryen/releases/download/version_${BINARYEN_VERSION}/binaryen-version_${BINARYEN_VERSION}-${release.asset}.tar.gz`,
29403
29403
  digest: { algorithm: "sha256", encoding: "hex", value: release.sha256 },
29404
29404
  destDir,
29405
29405
  installedMarker: "bin/wasm-opt",
29406
29406
  stripComponents: 1,
29407
- label: `Binaryen ${import_wasm_opt.BINARYEN_VERSION}`
29407
+ label: `Binaryen ${BINARYEN_VERSION}`
29408
29408
  });
29409
29409
  return binary2;
29410
29410
  }
@@ -29417,7 +29417,7 @@ async function lowerWasm(file, output2, options) {
29417
29417
  await installWasmOpt()
29418
29418
  );
29419
29419
  }
29420
- var import_node_child_process20, import_node_fs35, import_node_path34, import_node_util3, import_wasm_opt, FEATURES, KEEP_WASM_NAMES, LOWERING, WASM_LOWER_IDENTITY, PINNED_BINARYEN_VERSION, BINARYEN_RELEASES;
29420
+ var import_node_child_process20, import_node_fs35, import_node_path34, import_node_util3, FEATURES, KEEP_WASM_NAMES, LOWERING, BINARYEN_VERSION, runBinaryen, WASM_LOWER_IDENTITY, BINARYEN_RELEASES;
29421
29421
  var init_wasm_optimize = __esm({
29422
29422
  "src/wasm-optimize.ts"() {
29423
29423
  "use strict";
@@ -29426,7 +29426,6 @@ var init_wasm_optimize = __esm({
29426
29426
  import_node_path34 = require("node:path");
29427
29427
  import_node_util3 = require("node:util");
29428
29428
  init_src();
29429
- import_wasm_opt = require("wasm-opt");
29430
29429
  init_admitted_mac_build();
29431
29430
  init_home_paths();
29432
29431
  init_wasm_narrow_boundary();
@@ -29445,8 +29444,9 @@ var init_wasm_optimize = __esm({
29445
29444
  ];
29446
29445
  KEEP_WASM_NAMES = process.env.PEACH_SWIFT_NAMES === "1";
29447
29446
  LOWERING = ["--memory64-lowering", "--table64-lowering"];
29448
- WASM_LOWER_IDENTITY = `binaryen ${import_wasm_opt.BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
29449
- PINNED_BINARYEN_VERSION = "132";
29447
+ BINARYEN_VERSION = "132";
29448
+ runBinaryen = (0, import_node_util3.promisify)(import_node_child_process20.execFile);
29449
+ WASM_LOWER_IDENTITY = `binaryen ${BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
29450
29450
  BINARYEN_RELEASES = /* @__PURE__ */ new Map([
29451
29451
  [
29452
29452
  "linux-x64",
@@ -35976,7 +35976,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
35976
35976
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
35977
35977
  MULTI_MANIFEST_VERSION = 69;
35978
35978
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
35979
- compilerSourceDigest = true ? "a7c6b86fa906ddaed892a77b892771eb00a88c3e16a8cbbc5da264ba641b523a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
35979
+ compilerSourceDigest = true ? "e9903c7ebf2ae396a07925e2a04b37ce38e5f1731c5bc94f6f0e83a9d6bc2cbf" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
35980
35980
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
35981
35981
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
35982
35982
  cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
@@ -50531,7 +50531,7 @@ var init_swift_standin_digest = __esm({
50531
50531
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
50532
50532
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
50533
50533
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
50534
- STANDIN_SOURCE_DIGEST = true ? "fec4f05a294fbb68be2ff982a65c3f9a221683428d10495c67265397e1901461" : standinSourceDigest();
50534
+ STANDIN_SOURCE_DIGEST = true ? "452e58b6d6a9ad1b373b2d6df2ddb32802505c8bd43da19f49858f006a4f0464" : standinSourceDigest();
50535
50535
  }
50536
50536
  });
50537
50537
 
@@ -64867,7 +64867,7 @@ var init_nitro_superset = __esm({
64867
64867
  init_nitroContract();
64868
64868
  init_swift_standin_digest();
64869
64869
  NITRO_SUPERSET_ENTRY_NAME = "superset";
64870
- NITRO_COMPILER_DIGEST = true ? "805beb73b5810b9cfdb66e9b0a02ed57bd77e5a5bab85b9c829600892edbe614" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
64870
+ NITRO_COMPILER_DIGEST = true ? "0ee082c55c7987b7a437615cb187f9688fc9c6f93887dab00cf2566a462c1b27" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
64871
64871
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
64872
64872
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
64873
64873
  published = /* @__PURE__ */ new Map();
@@ -66106,7 +66106,7 @@ var init_expo_native_compiler_digest = __esm({
66106
66106
 
66107
66107
  // src/expo-native-prebuilt.ts
66108
66108
  function expoNativeCompilerDigestValue() {
66109
- return true ? "d59519b13642fd00ca4460f8e3f16f606ab1a9a7a7fb2fc2b2df56c5e9c710f0" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
66109
+ return true ? "a9ec5c8c45c8fd26c4fc913361bf75fe125d800f96d12f8b2a0662dba43eaa08" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
66110
66110
  }
66111
66111
  function readSources(value) {
66112
66112
  const sources = isRecord(value) ? value.sources : null;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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;