peachsim 0.1.2247 → 0.1.2248

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 (94) hide show
  1. package/cli/bin.ts +5 -0
  2. package/cli/cloud-dispatch.ts +2 -0
  3. package/cli/commands/control.ts +2 -2
  4. package/cli/commands/coverage-swift.ts +3 -3
  5. package/cli/commands/shell-url.ts +6 -0
  6. package/cli/commands/skills.ts +6 -3
  7. package/dist-lib/agent-daemon-client.cjs +1 -29
  8. package/dist-lib/agent-events.cjs +1 -1
  9. package/dist-lib/attached-projects.cjs +1 -10
  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 +4161 -4502
  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 +2 -309
  31. package/dist-lib/dev-bundle-resolution.cjs +1 -12
  32. package/dist-lib/expo-swift-bundle.cjs +3440 -3835
  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 +4237 -4653
  37. package/dist-lib/host/fetch-proxy-handler.cjs +97 -713
  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 +639 -1110
  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 +3 -24
  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 -10
  51. package/dist-lib/metro-production-bundle.mjs +1 -12
  52. package/dist-lib/metro.cjs +546 -975
  53. package/dist-lib/native-app-identity-project.cjs +299 -592
  54. package/dist-lib/native-app-identity-project.mjs +11 -232
  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 +28 -96
  66. package/dist-lib/public-origins-lib.json +172 -1058
  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 -34
  71. package/dist-lib/sdk.cjs +1 -1
  72. package/dist-lib/sdk.mjs +1 -1
  73. package/dist-lib/skills.cjs +4777 -5307
  74. package/dist-lib/swift-compile.cjs +1054 -1085
  75. package/dist-lib/swift-compile.mjs +2 -28
  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 +1 -1
  81. package/dist-lib/swift.cjs +1 -1
  82. package/dist-lib/vite-swift.cjs +1425 -1639
  83. package/dist-lib/vite.cjs +173 -763
  84. package/dist-lib/worklet-executable.cjs +1 -1
  85. package/dist-lib/worklet-executable.mjs +1 -1
  86. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +3 -0
  87. package/dist-types/packages/peach-engine/src/settings/duo-fold-bus.d.ts +10 -2
  88. package/kotlin/sdk.tar.gz +0 -0
  89. package/package.json +1 -1
  90. package/runtime-companion.json +1 -1
  91. package/src/kotlin-module.ts +3 -3
  92. package/src/swift-coverage/provenance.ts +4 -4
  93. package/src/swift-objc-sdk.ts +34 -21
  94. package/src/swift-objc-standin.ts +7 -7
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2247 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2248 | (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.2247 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/react-native-host-modules.ts
4
4
  var REACT_NATIVE_PASSTHROUGH_SPECIFIERS = [
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2247 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2248 | (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.2247 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2248 | (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;
@@ -32,12 +32,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
32
32
  ));
33
33
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
34
34
 
35
- // <define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>
36
- var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
37
- "<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
38
- }
39
- });
40
-
41
35
  // src/node-http-fetch.ts
42
36
  var node_http_fetch_exports = {};
43
37
  __export(node_http_fetch_exports, {
@@ -132,7 +126,6 @@ var import_node_http, import_node_https, import_node_stream, import_node_zlib, B
132
126
  var init_node_http_fetch = __esm({
133
127
  "src/node-http-fetch.ts"() {
134
128
  "use strict";
135
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
136
129
  import_node_http = __toESM(require("node:http"), 1);
137
130
  import_node_https = __toESM(require("node:https"), 1);
138
131
  import_node_stream = require("node:stream");
@@ -162,7 +155,6 @@ __export(dev_server_scanner_exports, {
162
155
  scanListeningProcesses: () => scanListeningProcesses
163
156
  });
164
157
  module.exports = __toCommonJS(dev_server_scanner_exports);
165
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
166
158
  var import_child_process = require("child_process");
167
159
  var import_promises2 = require("fs/promises");
168
160
  var import_http = __toESM(require("http"), 1);
@@ -172,7 +164,6 @@ var import_node_os = require("node:os");
172
164
  var import_node_path3 = require("node:path");
173
165
 
174
166
  // src/backend-origin.ts
175
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
176
167
  var NativeURL = globalThis.URL;
177
168
  var LOOPBACK_PROBE_HOSTNAMES = ["127.0.0.1", "::1"];
178
169
  function normalizeHostname(hostname) {
@@ -188,24 +179,11 @@ function isLoopbackHost(hostname) {
188
179
  return normalized === "localhost" || normalized.endsWith(".localhost") || normalized === "0.0.0.0" || normalized === "::1" || /^127(?:\.\d{1,3}){3}$/.test(normalized);
189
180
  }
190
181
 
191
- // src/config.ts
192
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
193
-
194
- // ../contrast-runtime-delivery/src/version.ts
195
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
196
-
197
- // ../peach-globals/src/bundle-global-footer.ts
198
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
199
-
200
182
  // src/is-record.ts
201
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
202
183
  function isRecord(value) {
203
184
  return typeof value === "object" && value !== null && !Array.isArray(value);
204
185
  }
205
186
 
206
- // src/nativeViewSourceContract.ts
207
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
208
-
209
187
  // src/config.ts
210
188
  var PEACH_CONFIG_QUERY_PARAM = "peachConfig";
211
189
  function hasOwnKeys(value) {
@@ -225,11 +203,7 @@ function applyPeachConfigToUrl(url, config) {
225
203
  return parsed.toString();
226
204
  }
227
205
 
228
- // src/dev-bundle-resolution.ts
229
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
230
-
231
206
  // src/expo-manifest-body.ts
232
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
233
207
  function parseExpoManifestBody(body) {
234
208
  const opening = /^(--[^\r\n]+)\r?\n/.exec(body);
235
209
  if (!opening) return JSON.parse(body);
@@ -251,7 +225,6 @@ function readExpoManifestFields(manifest) {
251
225
  }
252
226
 
253
227
  // src/native-dev-bundle-url.ts
254
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
255
228
  function isAbsoluteHttpUrl(url) {
256
229
  return /^https?:\/\//i.test(url);
257
230
  }
@@ -381,7 +354,6 @@ async function fetchDevManifest(baseUrl, pageOrigin, options = {}) {
381
354
  }
382
355
 
383
356
  // src/kotlinDiscoveryContract.ts
384
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
385
357
  var KOTLIN_DISCOVERY_PATH = "/__peach/kotlin-host";
386
358
  var KOTLIN_GUEST_PATH = "/__peach/kotlin-guest.js";
387
359
  function parseKotlinHostDiscovery(value) {
@@ -396,7 +368,6 @@ function parseKotlinHostDiscovery(value) {
396
368
  }
397
369
 
398
370
  // src/oneWidgetContract.ts
399
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
400
371
  var HOME_WIDGET_FAMILIES = [
401
372
  "systemSmall",
402
373
  "systemMedium",
@@ -480,12 +451,10 @@ function configuredWidgetFromScan(value, bundleUrl) {
480
451
  }
481
452
 
482
453
  // src/settings-bundle.ts
483
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
484
454
  var import_promises = require("node:fs/promises");
485
455
  var import_node_path = require("node:path");
486
456
 
487
457
  // src/plist.ts
488
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
489
458
  var import_plist = __toESM(require("plist"), 1);
490
459
  function parsePlistSource(source) {
491
460
  return import_plist.default.parse(source);
@@ -809,7 +778,6 @@ function __resetAppSettingsBundleCacheForTests() {
809
778
  }
810
779
 
811
780
  // src/swiftDiscoveryContract.ts
812
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
813
781
  var SWIFT_DISCOVERY_PATH = "/__peach/swift-host";
814
782
  var SWIFT_GUEST_PATH = "/__peach/swift-guest.js";
815
783
  var SWIFT_ICON_PATH = "/__peach/swift-icon";
@@ -826,7 +794,6 @@ function parseSwiftHostDiscovery(value) {
826
794
  }
827
795
 
828
796
  // scripts/optional-demo-registry.ts
829
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
830
797
  var import_node_fs = require("node:fs");
831
798
  var import_node_path2 = require("node:path");
832
799
  var import_node_url = require("node:url");
package/dist-lib/sdk.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2247 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/sdk.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2247 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);