peachsim 0.1.769 → 0.1.771

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 (77) hide show
  1. package/cli/main.ts +5 -1
  2. package/cli/outbound-endpoints.ts +14 -0
  3. package/dist-lib/agent-daemon-client.cjs +1 -1
  4. package/dist-lib/agent-events.cjs +1 -1
  5. package/dist-lib/agent-identity.cjs +1 -1
  6. package/dist-lib/agent-sessions.cjs +1 -1
  7. package/dist-lib/attached-projects.cjs +1 -1
  8. package/dist-lib/auth/shared-session.cjs +1 -1
  9. package/dist-lib/backend-origin.cjs +1 -1
  10. package/dist-lib/beta.cjs +1 -1
  11. package/dist-lib/beta.mjs +1 -1
  12. package/dist-lib/bridge-constants.cjs +1 -1
  13. package/dist-lib/bridge-contract-input.cjs +1 -1
  14. package/dist-lib/bridge-contract-input.mjs +1 -1
  15. package/dist-lib/bridge-contract.cjs +1 -1
  16. package/dist-lib/bridge-contract.mjs +1 -1
  17. package/dist-lib/capture-contract.cjs +1 -1
  18. package/dist-lib/capture-contract.mjs +1 -1
  19. package/dist-lib/cli-constants.cjs +1 -1
  20. package/dist-lib/cloud-contract.cjs +1 -1
  21. package/dist-lib/cloud-contract.mjs +1 -1
  22. package/dist-lib/cloud-test-args.cjs +1 -1
  23. package/dist-lib/cloud-test-args.mjs +1 -1
  24. package/dist-lib/cloud.cjs +1 -1
  25. package/dist-lib/cloud.mjs +1 -1
  26. package/dist-lib/config.cjs +1 -1
  27. package/dist-lib/detox/index.cjs +1 -1
  28. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  29. package/dist-lib/home-paths.cjs +1 -1
  30. package/dist-lib/host/bridge-host.cjs +563 -439
  31. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  32. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  33. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  34. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  35. package/dist-lib/host/websocket-proxy.cjs +1 -1
  36. package/dist-lib/index.cjs +1 -1
  37. package/dist-lib/jump-to-source-babel.cjs +1 -1
  38. package/dist-lib/jump-to-source-native.cjs +1 -1
  39. package/dist-lib/kotlin-host.cjs +1 -1
  40. package/dist-lib/menu.cjs +1 -1
  41. package/dist-lib/menu.mjs +1 -1
  42. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  44. package/dist-lib/metro-production-bundle.cjs +1 -1
  45. package/dist-lib/metro-production-bundle.mjs +1 -1
  46. package/dist-lib/metro.cjs +1 -1
  47. package/dist-lib/native-app-identity.cjs +1 -1
  48. package/dist-lib/native-app-identity.mjs +1 -1
  49. package/dist-lib/native-firebase-metadata.cjs +1 -1
  50. package/dist-lib/native-firebase-metadata.mjs +1 -1
  51. package/dist-lib/plist.cjs +1 -1
  52. package/dist-lib/plist.mjs +1 -1
  53. package/dist-lib/profiles.cjs +1 -1
  54. package/dist-lib/public-brand.cjs +1 -1
  55. package/dist-lib/react-native-host-modules.cjs +1 -1
  56. package/dist-lib/react-native-host-modules.mjs +1 -1
  57. package/dist-lib/render-mode.cjs +1 -1
  58. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  59. package/dist-lib/sdk.cjs +1 -1
  60. package/dist-lib/sdk.mjs +1 -1
  61. package/dist-lib/skills.cjs +832 -701
  62. package/dist-lib/swift-compile.cjs +18 -4
  63. package/dist-lib/swift-compile.mjs +17 -4
  64. package/dist-lib/swift-package.cjs +1 -1
  65. package/dist-lib/swift-package.mjs +1 -1
  66. package/dist-lib/swift-submit.cjs +1 -1
  67. package/dist-lib/swift-submit.mjs +1 -1
  68. package/dist-lib/swift-toolchain.cjs +1 -1
  69. package/dist-lib/swift.cjs +1 -1
  70. package/dist-lib/vite-swift.cjs +396 -272
  71. package/dist-lib/vite.cjs +1 -1
  72. package/package.json +1 -1
  73. package/src/swift-binary-modules.ts +116 -0
  74. package/src/swift-compile.ts +28 -3
  75. package/src/swift-host.ts +28 -4
  76. package/src/swift-package-manifest.ts +3 -0
  77. package/src/swift-packages.ts +32 -4
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.769 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.771 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -39,6 +39,7 @@ __export(swift_compile_exports, {
39
39
  emitSwiftPackageManifest: () => emitSwiftPackageManifest,
40
40
  lowerAVAssetURLCluster: () => lowerAVAssetURLCluster,
41
41
  lowerAnyObjectDoubleValue: () => lowerAnyObjectDoubleValue,
42
+ lowerNSValueTimeBox: () => lowerNSValueTimeBox,
42
43
  missingSwiftModules: () => missingSwiftModules,
43
44
  objcExtensionMemberIndex: () => objcExtensionMemberIndex,
44
45
  prepareSwiftDependency: () => prepareSwiftDependency,
@@ -594,7 +595,7 @@ var ONE_IMPLICIT_FLAGS = ', "-Xfrontend", "-import-module", "-Xfrontend", "One"'
594
595
  var MULTI_MANIFEST_VERSION = 11;
595
596
  function swiftArtifactHash(input, release, moduleRoot) {
596
597
  const hash = (0, import_node_crypto2.createHash)("sha256");
597
- hash.update(`swift-compile/v17
598
+ hash.update(`swift-compile/v18
598
599
  ${release}
599
600
  `);
600
601
  if (input.oneModule) hash.update("one-module\n");
@@ -1125,6 +1126,18 @@ function lowerAVAssetURLCluster(source) {
1125
1126
  out = out.slice(0, at) + insert + out.slice(at + remove);
1126
1127
  return out;
1127
1128
  }
1129
+ function lowerNSValueTimeBox(source) {
1130
+ const masked = swiftCodeMask(source);
1131
+ const pattern = /\bNSValue\s*\(\s*time\s*:/g;
1132
+ const edits = [];
1133
+ let hit;
1134
+ while ((hit = pattern.exec(masked)) !== null)
1135
+ edits.push([hit.index, "NSValue".length, "NSValue.boxedTime"]);
1136
+ let out = source;
1137
+ for (const [at, remove, insert] of edits.sort((a, b) => b[0] - a[0]))
1138
+ out = out.slice(0, at) + insert + out.slice(at + remove);
1139
+ return out;
1140
+ }
1128
1141
  function swiftCodeMask(source) {
1129
1142
  const chars = source.split("");
1130
1143
  const blank = (from, to) => {
@@ -1328,8 +1341,8 @@ function swiftSourceAsIOS(original, extraObjCExtensions) {
1328
1341
  out += conditioned.slice(copied, at) + replacement;
1329
1342
  copied = at + match[0].length;
1330
1343
  }
1331
- return lowerAVAssetURLCluster(
1332
- lowerAnyObjectDoubleValue(out + conditioned.slice(copied))
1344
+ return lowerNSValueTimeBox(
1345
+ lowerAVAssetURLCluster(lowerAnyObjectDoubleValue(out + conditioned.slice(copied)))
1333
1346
  );
1334
1347
  }
1335
1348
  function swiftApplicationEntry(file, source) {
@@ -1713,6 +1726,7 @@ function compileSwiftProjectUnit(input, options) {
1713
1726
  emitSwiftPackageManifest,
1714
1727
  lowerAVAssetURLCluster,
1715
1728
  lowerAnyObjectDoubleValue,
1729
+ lowerNSValueTimeBox,
1716
1730
  missingSwiftModules,
1717
1731
  objcExtensionMemberIndex,
1718
1732
  prepareSwiftDependency,
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.769 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.771 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import { execFile as execFile2, execFileSync } from "node:child_process";
@@ -546,7 +546,7 @@ var ONE_IMPLICIT_FLAGS = ', "-Xfrontend", "-import-module", "-Xfrontend", "One"'
546
546
  var MULTI_MANIFEST_VERSION = 11;
547
547
  function swiftArtifactHash(input, release, moduleRoot) {
548
548
  const hash = createHash2("sha256");
549
- hash.update(`swift-compile/v17
549
+ hash.update(`swift-compile/v18
550
550
  ${release}
551
551
  `);
552
552
  if (input.oneModule) hash.update("one-module\n");
@@ -1077,6 +1077,18 @@ function lowerAVAssetURLCluster(source) {
1077
1077
  out = out.slice(0, at) + insert + out.slice(at + remove);
1078
1078
  return out;
1079
1079
  }
1080
+ function lowerNSValueTimeBox(source) {
1081
+ const masked = swiftCodeMask(source);
1082
+ const pattern = /\bNSValue\s*\(\s*time\s*:/g;
1083
+ const edits = [];
1084
+ let hit;
1085
+ while ((hit = pattern.exec(masked)) !== null)
1086
+ edits.push([hit.index, "NSValue".length, "NSValue.boxedTime"]);
1087
+ let out = source;
1088
+ for (const [at, remove, insert] of edits.sort((a, b) => b[0] - a[0]))
1089
+ out = out.slice(0, at) + insert + out.slice(at + remove);
1090
+ return out;
1091
+ }
1080
1092
  function swiftCodeMask(source) {
1081
1093
  const chars = source.split("");
1082
1094
  const blank = (from, to) => {
@@ -1280,8 +1292,8 @@ function swiftSourceAsIOS(original, extraObjCExtensions) {
1280
1292
  out += conditioned.slice(copied, at) + replacement;
1281
1293
  copied = at + match[0].length;
1282
1294
  }
1283
- return lowerAVAssetURLCluster(
1284
- lowerAnyObjectDoubleValue(out + conditioned.slice(copied))
1295
+ return lowerNSValueTimeBox(
1296
+ lowerAVAssetURLCluster(lowerAnyObjectDoubleValue(out + conditioned.slice(copied)))
1285
1297
  );
1286
1298
  }
1287
1299
  function swiftApplicationEntry(file, source) {
@@ -1664,6 +1676,7 @@ export {
1664
1676
  emitSwiftPackageManifest,
1665
1677
  lowerAVAssetURLCluster,
1666
1678
  lowerAnyObjectDoubleValue,
1679
+ lowerNSValueTimeBox,
1667
1680
  missingSwiftModules,
1668
1681
  objcExtensionMemberIndex,
1669
1682
  prepareSwiftDependency,
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.769 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.771 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.769 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.771 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function isSwiftManifestFile(file) {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.769 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.771 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.769 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.771 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-submit.ts
4
4
  var SWIFT_COMPILE_PATH = "/api/swift-compile";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.769 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.771 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.769 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.771 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;