peachsim 0.1.727 → 0.1.729

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 (74) hide show
  1. package/cli/commands/preview.ts +236 -8
  2. package/cli/commands/skills.ts +41 -3
  3. package/cli/outbound-endpoints.ts +6 -4
  4. package/dist-lib/agent-daemon-client.cjs +1 -1
  5. package/dist-lib/agent-events.cjs +1 -1
  6. package/dist-lib/agent-identity.cjs +1 -1
  7. package/dist-lib/agent-sessions.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 +1 -1
  13. package/dist-lib/bridge-constants.cjs +1 -1
  14. package/dist-lib/bridge-contract-input.cjs +1 -1
  15. package/dist-lib/bridge-contract-input.mjs +1 -1
  16. package/dist-lib/bridge-contract.cjs +1 -1
  17. package/dist-lib/bridge-contract.mjs +1 -1
  18. package/dist-lib/capture-contract.cjs +1 -1
  19. package/dist-lib/capture-contract.mjs +1 -1
  20. package/dist-lib/cli-constants.cjs +1 -1
  21. package/dist-lib/cloud-contract.cjs +1 -1
  22. package/dist-lib/cloud-contract.mjs +1 -1
  23. package/dist-lib/cloud-test-args.cjs +1 -1
  24. package/dist-lib/cloud-test-args.mjs +1 -1
  25. package/dist-lib/cloud.cjs +1 -1
  26. package/dist-lib/cloud.mjs +1 -1
  27. package/dist-lib/config.cjs +1 -1
  28. package/dist-lib/detox/index.cjs +1 -1
  29. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  30. package/dist-lib/home-paths.cjs +1 -1
  31. package/dist-lib/host/bridge-host.cjs +178 -3
  32. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  33. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  34. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  35. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  36. package/dist-lib/host/websocket-proxy.cjs +1 -1
  37. package/dist-lib/index.cjs +1 -1
  38. package/dist-lib/jump-to-source-babel.cjs +1 -1
  39. package/dist-lib/jump-to-source-native.cjs +1 -1
  40. package/dist-lib/kotlin-host.cjs +1 -1
  41. package/dist-lib/menu.cjs +1 -1
  42. package/dist-lib/menu.mjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  44. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  45. package/dist-lib/metro-production-bundle.cjs +1 -1
  46. package/dist-lib/metro-production-bundle.mjs +1 -1
  47. package/dist-lib/metro.cjs +1 -1
  48. package/dist-lib/native-app-identity.cjs +1 -1
  49. package/dist-lib/native-app-identity.mjs +1 -1
  50. package/dist-lib/native-firebase-metadata.cjs +1 -1
  51. package/dist-lib/native-firebase-metadata.mjs +1 -1
  52. package/dist-lib/plist.cjs +1 -1
  53. package/dist-lib/plist.mjs +1 -1
  54. package/dist-lib/profiles.cjs +1 -1
  55. package/dist-lib/public-brand.cjs +1 -1
  56. package/dist-lib/react-native-host-modules.cjs +1 -1
  57. package/dist-lib/react-native-host-modules.mjs +1 -1
  58. package/dist-lib/render-mode.cjs +1 -1
  59. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  60. package/dist-lib/sdk.cjs +1 -1
  61. package/dist-lib/sdk.mjs +1 -1
  62. package/dist-lib/skills.cjs +264 -64
  63. package/dist-lib/swift-compile.cjs +180 -3
  64. package/dist-lib/swift-compile.mjs +179 -3
  65. package/dist-lib/swift-package.cjs +1 -1
  66. package/dist-lib/swift-package.mjs +1 -1
  67. package/dist-lib/swift-submit.cjs +1 -1
  68. package/dist-lib/swift-submit.mjs +1 -1
  69. package/dist-lib/swift-toolchain.cjs +1 -1
  70. package/dist-lib/swift.cjs +1 -1
  71. package/dist-lib/vite-swift.cjs +178 -3
  72. package/dist-lib/vite.cjs +1 -1
  73. package/package.json +1 -1
  74. package/src/swift-compile.ts +215 -2
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.727 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (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;
@@ -37,6 +37,7 @@ __export(swift_compile_exports, {
37
37
  compileSwiftProjectUnit: () => compileSwiftProjectUnit,
38
38
  compileTargets: () => compileTargets,
39
39
  emitSwiftPackageManifest: () => emitSwiftPackageManifest,
40
+ lowerAnyObjectDoubleValue: () => lowerAnyObjectDoubleValue,
40
41
  prepareSwiftDependency: () => prepareSwiftDependency,
41
42
  swiftArtifactHash: () => swiftArtifactHash,
42
43
  swiftDistributionAt: () => swiftDistributionAt,
@@ -392,6 +393,7 @@ var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
392
393
  Accelerate: [],
393
394
  CryptoKit: [],
394
395
  CommonCrypto: [],
396
+ CoreText: [],
395
397
  Security: [],
396
398
  TikTokBusinessSDK: [],
397
399
  nSure: [],
@@ -436,7 +438,7 @@ var ONE_IMPLICIT_FLAGS = ', "-Xfrontend", "-import-module", "-Xfrontend", "One"'
436
438
  var MULTI_MANIFEST_VERSION = 10;
437
439
  function swiftArtifactHash(input, release, moduleRoot) {
438
440
  const hash = (0, import_node_crypto2.createHash)("sha256");
439
- hash.update(`swift-compile/v13
441
+ hash.update(`swift-compile/v14
440
442
  ${release}
441
443
  `);
442
444
  if (input.oneModule) hash.update("one-module\n");
@@ -741,6 +743,180 @@ function liftExtensionOverrides(source) {
741
743
  out = out.slice(0, at) + insert + out.slice(at + remove);
742
744
  return out;
743
745
  }
746
+ function lowerAnyObjectDoubleValue(source) {
747
+ const masked = swiftCodeMask(source);
748
+ const names = /* @__PURE__ */ new Set();
749
+ const binding = /(?:\blet\b|\bvar\b)\s+([A-Za-z_]\w*)\s*=[^\n;{}]*?\bas[?!]?\s*AnyObject\??(?=\s*(?:[,;{]|\belse\b|$))/gm;
750
+ const declared = /(?:\blet\b|\bvar\b)\s+([A-Za-z_]\w*)\s*:\s*AnyObject\b/g;
751
+ const parameter = /[(,]\s*(?:[A-Za-z_]\w*\s+)?([A-Za-z_]\w*)\s*:\s*AnyObject\??(?=\s*[,)=])/g;
752
+ for (const pattern of [binding, declared, parameter]) {
753
+ pattern.lastIndex = 0;
754
+ for (let found = pattern.exec(masked); found; found = pattern.exec(masked))
755
+ names.add(found[1]);
756
+ }
757
+ const edits = [];
758
+ const member = /\.\s*doubleValue\b/g;
759
+ let hit;
760
+ while ((hit = member.exec(masked)) !== null) {
761
+ const memberEnd = hit.index + hit[0].length;
762
+ let j = hit.index - 1;
763
+ while (j >= 0 && /\s/.test(masked[j])) j--;
764
+ if (masked[j] === "?" || masked[j] === "!") {
765
+ j--;
766
+ while (j >= 0 && /\s/.test(masked[j])) j--;
767
+ }
768
+ if (masked[j] === ")") {
769
+ const close = j;
770
+ let depth = 0;
771
+ let open = -1;
772
+ for (let k = close; k >= 0; k--) {
773
+ if (masked[k] === ")") depth++;
774
+ else if (masked[k] === "(" && --depth === 0) {
775
+ open = k;
776
+ break;
777
+ }
778
+ }
779
+ if (open === -1) continue;
780
+ const inner = masked.slice(open + 1, close);
781
+ const cast = /^(?:\s*(?:try\b|await\b))*\s*([\s\S]*?)\bas[?!]?\s*AnyObject\??\s*$/.exec(inner);
782
+ if (!cast) continue;
783
+ const expression = source.slice(open + 1, open + 1 + cast[1].length).replace(/\s+$/, "");
784
+ const hoisted = /^\s*((?:try\b\s*|await\s*)+)([\s\S]*)$/.exec(expression);
785
+ edits.push([
786
+ open,
787
+ memberEnd - open,
788
+ `${hoisted ? hoisted[1] : ""}_objcNumber(${hoisted ? hoisted[2] : expression})`
789
+ ]);
790
+ continue;
791
+ }
792
+ const head = masked.slice(0, j + 1);
793
+ const selfed = /(?:^|[^\w$])self\s*\.\s*([A-Za-z_]\w*)$/.exec(head);
794
+ if (selfed) {
795
+ if (!names.has(selfed[1])) continue;
796
+ const receiver = selfed[0].replace(/^[^\w$]+/, "");
797
+ edits.push([
798
+ j + 1 - receiver.length,
799
+ memberEnd - (j + 1 - receiver.length),
800
+ `_objcNumber(${receiver})`
801
+ ]);
802
+ continue;
803
+ }
804
+ const named = /([A-Za-z_]\w*)$/.exec(head);
805
+ if (!named || !names.has(named[1])) continue;
806
+ const nameStart = j + 1 - named[1].length;
807
+ let before = nameStart - 1;
808
+ while (before >= 0 && /\s/.test(masked[before])) before--;
809
+ if (masked[before] === ".") continue;
810
+ edits.push([nameStart, memberEnd - nameStart, `_objcNumber(${named[1]})`]);
811
+ }
812
+ let out = source;
813
+ for (const [at, remove, insert] of edits.sort((a, b) => b[0] - a[0]))
814
+ out = out.slice(0, at) + insert + out.slice(at + remove);
815
+ return out;
816
+ }
817
+ function swiftCodeMask(source) {
818
+ const chars = source.split("");
819
+ const blank = (from, to) => {
820
+ for (let i = Math.max(0, from); i < Math.min(to, chars.length); i++)
821
+ if (chars[i] !== "\n") chars[i] = " ";
822
+ };
823
+ const hashesAt = (at) => {
824
+ let end = at;
825
+ while (source[end] === "#") end++;
826
+ return end - at;
827
+ };
828
+ const scanString = (quote, hashes) => {
829
+ const multiline = source.startsWith('"""', quote);
830
+ let i = quote + (multiline ? 3 : 1);
831
+ const keep = [];
832
+ const quoteEnd = (at) => {
833
+ const mark = multiline ? '"""' : '"';
834
+ return source.startsWith(mark, at) && source.startsWith("#".repeat(hashes), at + mark.length);
835
+ };
836
+ while (i < chars.length) {
837
+ if (source[i] === "\\" && source.startsWith("#".repeat(hashes), i + 1) && source[i + 1 + hashes] === "(") {
838
+ const codeStart = i + 2 + hashes;
839
+ const codeEnd = scanCode(codeStart, true);
840
+ keep.push([codeStart, codeEnd]);
841
+ i = codeEnd + 1;
842
+ continue;
843
+ }
844
+ if (quoteEnd(i)) {
845
+ const close = i + (multiline ? 3 : 1) + hashes;
846
+ let cursor = quote - hashes;
847
+ for (const [from, to] of [...keep, [close, close]])
848
+ if (from > cursor) {
849
+ blank(cursor, from);
850
+ cursor = to;
851
+ } else cursor = Math.max(cursor, to);
852
+ return close;
853
+ }
854
+ i++;
855
+ }
856
+ blank(quote - hashes, chars.length);
857
+ return chars.length;
858
+ };
859
+ const scanCode = (i, nested) => {
860
+ let parens = 0;
861
+ while (i < chars.length) {
862
+ const char = source[i];
863
+ if (char === "/" && source[i + 1] === "/") {
864
+ const end = source.indexOf("\n", i);
865
+ blank(i, end === -1 ? chars.length : end);
866
+ i = end === -1 ? chars.length : end;
867
+ continue;
868
+ }
869
+ if (char === "/" && source[i + 1] === "*") {
870
+ let j = i + 2;
871
+ let depth = 1;
872
+ while (j < chars.length && depth > 0) {
873
+ if (source.startsWith("/*", j)) {
874
+ depth++;
875
+ j += 2;
876
+ } else if (source.startsWith("*/", j)) {
877
+ depth--;
878
+ j += 2;
879
+ } else j++;
880
+ }
881
+ blank(i, j);
882
+ i = j;
883
+ continue;
884
+ }
885
+ if (char === "#") {
886
+ const hashes = hashesAt(i);
887
+ const at = i + hashes;
888
+ if (source[at] === '"') {
889
+ i = scanString(at, hashes);
890
+ continue;
891
+ }
892
+ if (hashes > 0 && source[at] === "/") {
893
+ const mark = "#".repeat(hashes);
894
+ let j = at + 1;
895
+ while (j < chars.length && !(source[j] === "/" && source.startsWith(mark, j + 1)))
896
+ j++;
897
+ blank(i, Math.min(chars.length, j + 1 + hashes));
898
+ i = Math.min(chars.length, j + 1 + hashes);
899
+ continue;
900
+ }
901
+ i++;
902
+ continue;
903
+ }
904
+ if (char === '"') {
905
+ i = scanString(i, 0);
906
+ continue;
907
+ }
908
+ if (char === "(") parens++;
909
+ else if (char === ")") {
910
+ if (nested && parens === 0) return i;
911
+ parens--;
912
+ }
913
+ i++;
914
+ }
915
+ return i;
916
+ };
917
+ scanCode(0, false);
918
+ return chars.join("");
919
+ }
744
920
  function swiftSourceAsIOS(original) {
745
921
  const source = liftExtensionOverrides(original);
746
922
  const { lineStarts, tokens } = swiftCodeScan(source);
@@ -815,7 +991,7 @@ function swiftSourceAsIOS(original) {
815
991
  out += conditioned.slice(copied, at) + replacement;
816
992
  copied = at + match[0].length;
817
993
  }
818
- return out + conditioned.slice(copied);
994
+ return lowerAnyObjectDoubleValue(out + conditioned.slice(copied));
819
995
  }
820
996
  function swiftCodeScan(source) {
821
997
  const starts = /* @__PURE__ */ new Set();
@@ -1155,6 +1331,7 @@ function compileSwiftProjectUnit(input, options) {
1155
1331
  compileSwiftProjectUnit,
1156
1332
  compileTargets,
1157
1333
  emitSwiftPackageManifest,
1334
+ lowerAnyObjectDoubleValue,
1158
1335
  prepareSwiftDependency,
1159
1336
  swiftArtifactHash,
1160
1337
  swiftDistributionAt,
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.727 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import { execFile as execFile2 } from "node:child_process";
@@ -352,6 +352,7 @@ var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
352
352
  Accelerate: [],
353
353
  CryptoKit: [],
354
354
  CommonCrypto: [],
355
+ CoreText: [],
355
356
  Security: [],
356
357
  TikTokBusinessSDK: [],
357
358
  nSure: [],
@@ -396,7 +397,7 @@ var ONE_IMPLICIT_FLAGS = ', "-Xfrontend", "-import-module", "-Xfrontend", "One"'
396
397
  var MULTI_MANIFEST_VERSION = 10;
397
398
  function swiftArtifactHash(input, release, moduleRoot) {
398
399
  const hash = createHash2("sha256");
399
- hash.update(`swift-compile/v13
400
+ hash.update(`swift-compile/v14
400
401
  ${release}
401
402
  `);
402
403
  if (input.oneModule) hash.update("one-module\n");
@@ -701,6 +702,180 @@ function liftExtensionOverrides(source) {
701
702
  out = out.slice(0, at) + insert + out.slice(at + remove);
702
703
  return out;
703
704
  }
705
+ function lowerAnyObjectDoubleValue(source) {
706
+ const masked = swiftCodeMask(source);
707
+ const names = /* @__PURE__ */ new Set();
708
+ const binding = /(?:\blet\b|\bvar\b)\s+([A-Za-z_]\w*)\s*=[^\n;{}]*?\bas[?!]?\s*AnyObject\??(?=\s*(?:[,;{]|\belse\b|$))/gm;
709
+ const declared = /(?:\blet\b|\bvar\b)\s+([A-Za-z_]\w*)\s*:\s*AnyObject\b/g;
710
+ const parameter = /[(,]\s*(?:[A-Za-z_]\w*\s+)?([A-Za-z_]\w*)\s*:\s*AnyObject\??(?=\s*[,)=])/g;
711
+ for (const pattern of [binding, declared, parameter]) {
712
+ pattern.lastIndex = 0;
713
+ for (let found = pattern.exec(masked); found; found = pattern.exec(masked))
714
+ names.add(found[1]);
715
+ }
716
+ const edits = [];
717
+ const member = /\.\s*doubleValue\b/g;
718
+ let hit;
719
+ while ((hit = member.exec(masked)) !== null) {
720
+ const memberEnd = hit.index + hit[0].length;
721
+ let j = hit.index - 1;
722
+ while (j >= 0 && /\s/.test(masked[j])) j--;
723
+ if (masked[j] === "?" || masked[j] === "!") {
724
+ j--;
725
+ while (j >= 0 && /\s/.test(masked[j])) j--;
726
+ }
727
+ if (masked[j] === ")") {
728
+ const close = j;
729
+ let depth = 0;
730
+ let open = -1;
731
+ for (let k = close; k >= 0; k--) {
732
+ if (masked[k] === ")") depth++;
733
+ else if (masked[k] === "(" && --depth === 0) {
734
+ open = k;
735
+ break;
736
+ }
737
+ }
738
+ if (open === -1) continue;
739
+ const inner = masked.slice(open + 1, close);
740
+ const cast = /^(?:\s*(?:try\b|await\b))*\s*([\s\S]*?)\bas[?!]?\s*AnyObject\??\s*$/.exec(inner);
741
+ if (!cast) continue;
742
+ const expression = source.slice(open + 1, open + 1 + cast[1].length).replace(/\s+$/, "");
743
+ const hoisted = /^\s*((?:try\b\s*|await\s*)+)([\s\S]*)$/.exec(expression);
744
+ edits.push([
745
+ open,
746
+ memberEnd - open,
747
+ `${hoisted ? hoisted[1] : ""}_objcNumber(${hoisted ? hoisted[2] : expression})`
748
+ ]);
749
+ continue;
750
+ }
751
+ const head = masked.slice(0, j + 1);
752
+ const selfed = /(?:^|[^\w$])self\s*\.\s*([A-Za-z_]\w*)$/.exec(head);
753
+ if (selfed) {
754
+ if (!names.has(selfed[1])) continue;
755
+ const receiver = selfed[0].replace(/^[^\w$]+/, "");
756
+ edits.push([
757
+ j + 1 - receiver.length,
758
+ memberEnd - (j + 1 - receiver.length),
759
+ `_objcNumber(${receiver})`
760
+ ]);
761
+ continue;
762
+ }
763
+ const named = /([A-Za-z_]\w*)$/.exec(head);
764
+ if (!named || !names.has(named[1])) continue;
765
+ const nameStart = j + 1 - named[1].length;
766
+ let before = nameStart - 1;
767
+ while (before >= 0 && /\s/.test(masked[before])) before--;
768
+ if (masked[before] === ".") continue;
769
+ edits.push([nameStart, memberEnd - nameStart, `_objcNumber(${named[1]})`]);
770
+ }
771
+ let out = source;
772
+ for (const [at, remove, insert] of edits.sort((a, b) => b[0] - a[0]))
773
+ out = out.slice(0, at) + insert + out.slice(at + remove);
774
+ return out;
775
+ }
776
+ function swiftCodeMask(source) {
777
+ const chars = source.split("");
778
+ const blank = (from, to) => {
779
+ for (let i = Math.max(0, from); i < Math.min(to, chars.length); i++)
780
+ if (chars[i] !== "\n") chars[i] = " ";
781
+ };
782
+ const hashesAt = (at) => {
783
+ let end = at;
784
+ while (source[end] === "#") end++;
785
+ return end - at;
786
+ };
787
+ const scanString = (quote, hashes) => {
788
+ const multiline = source.startsWith('"""', quote);
789
+ let i = quote + (multiline ? 3 : 1);
790
+ const keep = [];
791
+ const quoteEnd = (at) => {
792
+ const mark = multiline ? '"""' : '"';
793
+ return source.startsWith(mark, at) && source.startsWith("#".repeat(hashes), at + mark.length);
794
+ };
795
+ while (i < chars.length) {
796
+ if (source[i] === "\\" && source.startsWith("#".repeat(hashes), i + 1) && source[i + 1 + hashes] === "(") {
797
+ const codeStart = i + 2 + hashes;
798
+ const codeEnd = scanCode(codeStart, true);
799
+ keep.push([codeStart, codeEnd]);
800
+ i = codeEnd + 1;
801
+ continue;
802
+ }
803
+ if (quoteEnd(i)) {
804
+ const close = i + (multiline ? 3 : 1) + hashes;
805
+ let cursor = quote - hashes;
806
+ for (const [from, to] of [...keep, [close, close]])
807
+ if (from > cursor) {
808
+ blank(cursor, from);
809
+ cursor = to;
810
+ } else cursor = Math.max(cursor, to);
811
+ return close;
812
+ }
813
+ i++;
814
+ }
815
+ blank(quote - hashes, chars.length);
816
+ return chars.length;
817
+ };
818
+ const scanCode = (i, nested) => {
819
+ let parens = 0;
820
+ while (i < chars.length) {
821
+ const char = source[i];
822
+ if (char === "/" && source[i + 1] === "/") {
823
+ const end = source.indexOf("\n", i);
824
+ blank(i, end === -1 ? chars.length : end);
825
+ i = end === -1 ? chars.length : end;
826
+ continue;
827
+ }
828
+ if (char === "/" && source[i + 1] === "*") {
829
+ let j = i + 2;
830
+ let depth = 1;
831
+ while (j < chars.length && depth > 0) {
832
+ if (source.startsWith("/*", j)) {
833
+ depth++;
834
+ j += 2;
835
+ } else if (source.startsWith("*/", j)) {
836
+ depth--;
837
+ j += 2;
838
+ } else j++;
839
+ }
840
+ blank(i, j);
841
+ i = j;
842
+ continue;
843
+ }
844
+ if (char === "#") {
845
+ const hashes = hashesAt(i);
846
+ const at = i + hashes;
847
+ if (source[at] === '"') {
848
+ i = scanString(at, hashes);
849
+ continue;
850
+ }
851
+ if (hashes > 0 && source[at] === "/") {
852
+ const mark = "#".repeat(hashes);
853
+ let j = at + 1;
854
+ while (j < chars.length && !(source[j] === "/" && source.startsWith(mark, j + 1)))
855
+ j++;
856
+ blank(i, Math.min(chars.length, j + 1 + hashes));
857
+ i = Math.min(chars.length, j + 1 + hashes);
858
+ continue;
859
+ }
860
+ i++;
861
+ continue;
862
+ }
863
+ if (char === '"') {
864
+ i = scanString(i, 0);
865
+ continue;
866
+ }
867
+ if (char === "(") parens++;
868
+ else if (char === ")") {
869
+ if (nested && parens === 0) return i;
870
+ parens--;
871
+ }
872
+ i++;
873
+ }
874
+ return i;
875
+ };
876
+ scanCode(0, false);
877
+ return chars.join("");
878
+ }
704
879
  function swiftSourceAsIOS(original) {
705
880
  const source = liftExtensionOverrides(original);
706
881
  const { lineStarts, tokens } = swiftCodeScan(source);
@@ -775,7 +950,7 @@ function swiftSourceAsIOS(original) {
775
950
  out += conditioned.slice(copied, at) + replacement;
776
951
  copied = at + match[0].length;
777
952
  }
778
- return out + conditioned.slice(copied);
953
+ return lowerAnyObjectDoubleValue(out + conditioned.slice(copied));
779
954
  }
780
955
  function swiftCodeScan(source) {
781
956
  const starts = /* @__PURE__ */ new Set();
@@ -1114,6 +1289,7 @@ export {
1114
1289
  compileSwiftProjectUnit,
1115
1290
  compileTargets,
1116
1291
  emitSwiftPackageManifest,
1292
+ lowerAnyObjectDoubleValue,
1117
1293
  prepareSwiftDependency,
1118
1294
  swiftArtifactHash,
1119
1295
  swiftDistributionAt,
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.727 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (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.727 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (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.727 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (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.727 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (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.727 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (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.727 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (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;