peachsim 0.1.822 → 0.1.823

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/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/agent-identity.cjs +1 -1
  4. package/dist-lib/agent-sessions.cjs +1 -1
  5. package/dist-lib/attached-projects.cjs +1 -1
  6. package/dist-lib/auth/shared-session.cjs +1 -1
  7. package/dist-lib/backend-origin.cjs +1 -1
  8. package/dist-lib/beta.cjs +1 -1
  9. package/dist-lib/beta.mjs +1 -1
  10. package/dist-lib/bridge-constants.cjs +1 -1
  11. package/dist-lib/bridge-contract-input.cjs +1 -1
  12. package/dist-lib/bridge-contract-input.mjs +1 -1
  13. package/dist-lib/bridge-contract.cjs +1 -1
  14. package/dist-lib/bridge-contract.mjs +1 -1
  15. package/dist-lib/bundle-channel.cjs +169 -44
  16. package/dist-lib/capture-contract.cjs +1 -1
  17. package/dist-lib/capture-contract.mjs +1 -1
  18. package/dist-lib/cli-constants.cjs +1 -1
  19. package/dist-lib/cloud-contract.cjs +1 -1
  20. package/dist-lib/cloud-contract.mjs +1 -1
  21. package/dist-lib/cloud-test-args.cjs +1 -1
  22. package/dist-lib/cloud-test-args.mjs +1 -1
  23. package/dist-lib/cloud.cjs +1 -1
  24. package/dist-lib/cloud.mjs +1 -1
  25. package/dist-lib/config.cjs +1 -1
  26. package/dist-lib/detox/index.cjs +1 -1
  27. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  28. package/dist-lib/expo-swift-bundle.cjs +169 -44
  29. package/dist-lib/expo-swift-metadata.cjs +1 -1
  30. package/dist-lib/expo-swift-metadata.mjs +1 -1
  31. package/dist-lib/home-paths.cjs +1 -1
  32. package/dist-lib/host/bridge-host.cjs +169 -44
  33. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  34. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  35. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  36. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  37. package/dist-lib/host/websocket-proxy.cjs +1 -1
  38. package/dist-lib/index.cjs +1 -1
  39. package/dist-lib/jump-to-source-babel.cjs +1 -1
  40. package/dist-lib/jump-to-source-native.cjs +1 -1
  41. package/dist-lib/kotlin-host.cjs +1 -1
  42. package/dist-lib/menu.cjs +1 -1
  43. package/dist-lib/menu.mjs +1 -1
  44. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  45. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  46. package/dist-lib/metro-production-bundle.cjs +1 -1
  47. package/dist-lib/metro-production-bundle.mjs +1 -1
  48. package/dist-lib/metro.cjs +1 -1
  49. package/dist-lib/native-app-identity.cjs +1 -1
  50. package/dist-lib/native-app-identity.mjs +1 -1
  51. package/dist-lib/native-firebase-metadata.cjs +1 -1
  52. package/dist-lib/native-firebase-metadata.mjs +1 -1
  53. package/dist-lib/plist.cjs +1 -1
  54. package/dist-lib/plist.mjs +1 -1
  55. package/dist-lib/profiles.cjs +1 -1
  56. package/dist-lib/public-brand.cjs +1 -1
  57. package/dist-lib/react-native-host-modules.cjs +1 -1
  58. package/dist-lib/react-native-host-modules.mjs +1 -1
  59. package/dist-lib/render-mode.cjs +1 -1
  60. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  61. package/dist-lib/sdk.cjs +1 -1
  62. package/dist-lib/sdk.mjs +1 -1
  63. package/dist-lib/skills.cjs +169 -44
  64. package/dist-lib/swift-compile.cjs +169 -44
  65. package/dist-lib/swift-compile.mjs +169 -44
  66. package/dist-lib/swift-package.cjs +1 -1
  67. package/dist-lib/swift-package.mjs +1 -1
  68. package/dist-lib/swift-submit.cjs +1 -1
  69. package/dist-lib/swift-submit.mjs +1 -1
  70. package/dist-lib/swift-toolchain.cjs +1 -1
  71. package/dist-lib/swift.cjs +1 -1
  72. package/dist-lib/vite-swift.cjs +169 -44
  73. package/dist-lib/vite.cjs +1 -1
  74. package/dist-lib/worklet-executable.cjs +1 -1
  75. package/dist-lib/worklet-executable.mjs +1 -1
  76. package/package.json +1 -1
  77. package/src/swift-compile.ts +183 -48
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/beta.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/beta.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (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
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (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
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (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
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1226,10 +1226,25 @@ function tableProtocolConformances(sources) {
1226
1226
  for (const source of sources) {
1227
1227
  const code = swiftCodeMask(source);
1228
1228
  for (const owner of code.matchAll(
1229
- /\b(?:class|extension)\s+([A-Za-z_]\w*)\s*:\s*([^{}]+)\{/g
1229
+ /\b(?:class|extension|protocol)\s+(?!(?:func|var)\b)([A-Za-z_]\w*)([^{}]*)\{/g
1230
1230
  )) {
1231
+ const header = owner[2];
1232
+ let depth = 0;
1233
+ let colon = -1;
1234
+ for (let at = 0; at < header.length; at++) {
1235
+ if (header[at] === "<") depth++;
1236
+ else if (header[at] === ">") depth--;
1237
+ else if (header[at] === ":" && depth === 0) {
1238
+ colon = at;
1239
+ break;
1240
+ }
1241
+ }
1242
+ if (colon === -1) continue;
1231
1243
  const inherited = parents.get(owner[1]) ?? /* @__PURE__ */ new Set();
1232
- for (const type of owner[2].matchAll(/\b[A-Za-z_]\w*\b/g)) inherited.add(type[0]);
1244
+ for (const type of splitTopLevel(header.slice(colon + 1).split(/\bwhere\b/)[0])) {
1245
+ const name2 = /^\s*(?:[A-Za-z_]\w*\.)*([A-Za-z_]\w*)/.exec(type)?.[1];
1246
+ if (name2 && !type.includes("<")) inherited.add(name2);
1247
+ }
1233
1248
  parents.set(owner[1], inherited);
1234
1249
  }
1235
1250
  }
@@ -1253,47 +1268,148 @@ function tableProtocolConformances(sources) {
1253
1268
  function lowerTableProtocolMethods(source, conformances) {
1254
1269
  const code = swiftCodeMask(source);
1255
1270
  const dataSource = {
1256
- numberOfRowsInSection: "tableView:numberOfRowsInSection:",
1257
- cellForRowAt: "tableView:cellForRowAtIndexPath:",
1258
- titleForHeaderInSection: "tableView:titleForHeaderInSection:",
1259
- titleForFooterInSection: "tableView:titleForFooterInSection:",
1260
- canEditRowAt: "tableView:canEditRowAtIndexPath:",
1261
- commit: "tableView:commitEditingStyle:forRowAtIndexPath:"
1271
+ numberOfRowsInSection: [
1272
+ "tableView:numberOfRowsInSection:",
1273
+ "_:UITableView,numberOfRowsInSection:Int->Int"
1274
+ ],
1275
+ cellForRowAt: [
1276
+ "tableView:cellForRowAtIndexPath:",
1277
+ "_:UITableView,cellForRowAt:IndexPath->UITableViewCell"
1278
+ ],
1279
+ titleForHeaderInSection: [
1280
+ "tableView:titleForHeaderInSection:",
1281
+ "_:UITableView,titleForHeaderInSection:Int->String?"
1282
+ ],
1283
+ titleForFooterInSection: [
1284
+ "tableView:titleForFooterInSection:",
1285
+ "_:UITableView,titleForFooterInSection:Int->String?"
1286
+ ],
1287
+ canEditRowAt: [
1288
+ "tableView:canEditRowAtIndexPath:",
1289
+ "_:UITableView,canEditRowAt:IndexPath->Bool"
1290
+ ],
1291
+ commit: [
1292
+ "tableView:commitEditingStyle:forRowAtIndexPath:",
1293
+ "_:UITableView,commit:UITableViewCell.EditingStyle,forRowAt:IndexPath->Void"
1294
+ ]
1262
1295
  };
1263
1296
  const delegate = {
1264
- willDisplay: "tableView:willDisplayCell:forRowAtIndexPath:",
1265
- didEndDisplaying: "tableView:didEndDisplayingCell:forRowAtIndexPath:",
1266
- heightForRowAt: "tableView:heightForRowAtIndexPath:",
1267
- estimatedHeightForRowAt: "tableView:estimatedHeightForRowAtIndexPath:",
1268
- heightForHeaderInSection: "tableView:heightForHeaderInSection:",
1269
- heightForFooterInSection: "tableView:heightForFooterInSection:",
1270
- estimatedHeightForHeaderInSection: "tableView:estimatedHeightForHeaderInSection:",
1271
- estimatedHeightForFooterInSection: "tableView:estimatedHeightForFooterInSection:",
1272
- viewForHeaderInSection: "tableView:viewForHeaderInSection:",
1273
- viewForFooterInSection: "tableView:viewForFooterInSection:",
1274
- willDisplayHeaderView: "tableView:willDisplayHeaderView:forSection:",
1275
- willDisplayFooterView: "tableView:willDisplayFooterView:forSection:",
1276
- didEndDisplayingHeaderView: "tableView:didEndDisplayingHeaderView:forSection:",
1277
- didEndDisplayingFooterView: "tableView:didEndDisplayingFooterView:forSection:",
1278
- shouldHighlightRowAt: "tableView:shouldHighlightRowAtIndexPath:",
1279
- didHighlightRowAt: "tableView:didHighlightRowAtIndexPath:",
1280
- didUnhighlightRowAt: "tableView:didUnhighlightRowAtIndexPath:",
1281
- willSelectRowAt: "tableView:willSelectRowAtIndexPath:",
1282
- willDeselectRowAt: "tableView:willDeselectRowAtIndexPath:",
1283
- didSelectRowAt: "tableView:didSelectRowAtIndexPath:",
1284
- didDeselectRowAt: "tableView:didDeselectRowAtIndexPath:",
1285
- accessoryButtonTappedForRowWith: "tableView:accessoryButtonTappedForRowWithIndexPath:",
1286
- editingStyleForRowAt: "tableView:editingStyleForRowAtIndexPath:",
1287
- leadingSwipeActionsConfigurationForRowAt: "tableView:leadingSwipeActionsConfigurationForRowAtIndexPath:",
1288
- trailingSwipeActionsConfigurationForRowAt: "tableView:trailingSwipeActionsConfigurationForRowAtIndexPath:",
1289
- willBeginEditingRowAt: "tableView:willBeginEditingRowAtIndexPath:",
1290
- didEndEditingRowAt: "tableView:didEndEditingRowAtIndexPath:"
1297
+ willDisplay: [
1298
+ "tableView:willDisplayCell:forRowAtIndexPath:",
1299
+ "_:UITableView,willDisplay:UITableViewCell,forRowAt:IndexPath->Void"
1300
+ ],
1301
+ didEndDisplaying: [
1302
+ "tableView:didEndDisplayingCell:forRowAtIndexPath:",
1303
+ "_:UITableView,didEndDisplaying:UITableViewCell,forRowAt:IndexPath->Void"
1304
+ ],
1305
+ heightForRowAt: [
1306
+ "tableView:heightForRowAtIndexPath:",
1307
+ "_:UITableView,heightForRowAt:IndexPath->CGFloat"
1308
+ ],
1309
+ estimatedHeightForRowAt: [
1310
+ "tableView:estimatedHeightForRowAtIndexPath:",
1311
+ "_:UITableView,estimatedHeightForRowAt:IndexPath->CGFloat"
1312
+ ],
1313
+ heightForHeaderInSection: [
1314
+ "tableView:heightForHeaderInSection:",
1315
+ "_:UITableView,heightForHeaderInSection:Int->CGFloat"
1316
+ ],
1317
+ heightForFooterInSection: [
1318
+ "tableView:heightForFooterInSection:",
1319
+ "_:UITableView,heightForFooterInSection:Int->CGFloat"
1320
+ ],
1321
+ estimatedHeightForHeaderInSection: [
1322
+ "tableView:estimatedHeightForHeaderInSection:",
1323
+ "_:UITableView,estimatedHeightForHeaderInSection:Int->CGFloat"
1324
+ ],
1325
+ estimatedHeightForFooterInSection: [
1326
+ "tableView:estimatedHeightForFooterInSection:",
1327
+ "_:UITableView,estimatedHeightForFooterInSection:Int->CGFloat"
1328
+ ],
1329
+ viewForHeaderInSection: [
1330
+ "tableView:viewForHeaderInSection:",
1331
+ "_:UITableView,viewForHeaderInSection:Int->UIView?"
1332
+ ],
1333
+ viewForFooterInSection: [
1334
+ "tableView:viewForFooterInSection:",
1335
+ "_:UITableView,viewForFooterInSection:Int->UIView?"
1336
+ ],
1337
+ willDisplayHeaderView: [
1338
+ "tableView:willDisplayHeaderView:forSection:",
1339
+ "_:UITableView,willDisplayHeaderView:UIView,forSection:Int->Void"
1340
+ ],
1341
+ willDisplayFooterView: [
1342
+ "tableView:willDisplayFooterView:forSection:",
1343
+ "_:UITableView,willDisplayFooterView:UIView,forSection:Int->Void"
1344
+ ],
1345
+ didEndDisplayingHeaderView: [
1346
+ "tableView:didEndDisplayingHeaderView:forSection:",
1347
+ "_:UITableView,didEndDisplayingHeaderView:UIView,forSection:Int->Void"
1348
+ ],
1349
+ didEndDisplayingFooterView: [
1350
+ "tableView:didEndDisplayingFooterView:forSection:",
1351
+ "_:UITableView,didEndDisplayingFooterView:UIView,forSection:Int->Void"
1352
+ ],
1353
+ shouldHighlightRowAt: [
1354
+ "tableView:shouldHighlightRowAtIndexPath:",
1355
+ "_:UITableView,shouldHighlightRowAt:IndexPath->Bool"
1356
+ ],
1357
+ didHighlightRowAt: [
1358
+ "tableView:didHighlightRowAtIndexPath:",
1359
+ "_:UITableView,didHighlightRowAt:IndexPath->Void"
1360
+ ],
1361
+ didUnhighlightRowAt: [
1362
+ "tableView:didUnhighlightRowAtIndexPath:",
1363
+ "_:UITableView,didUnhighlightRowAt:IndexPath->Void"
1364
+ ],
1365
+ willSelectRowAt: [
1366
+ "tableView:willSelectRowAtIndexPath:",
1367
+ "_:UITableView,willSelectRowAt:IndexPath->IndexPath?"
1368
+ ],
1369
+ willDeselectRowAt: [
1370
+ "tableView:willDeselectRowAtIndexPath:",
1371
+ "_:UITableView,willDeselectRowAt:IndexPath->IndexPath?"
1372
+ ],
1373
+ didSelectRowAt: [
1374
+ "tableView:didSelectRowAtIndexPath:",
1375
+ "_:UITableView,didSelectRowAt:IndexPath->Void"
1376
+ ],
1377
+ didDeselectRowAt: [
1378
+ "tableView:didDeselectRowAtIndexPath:",
1379
+ "_:UITableView,didDeselectRowAt:IndexPath->Void"
1380
+ ],
1381
+ accessoryButtonTappedForRowWith: [
1382
+ "tableView:accessoryButtonTappedForRowWithIndexPath:",
1383
+ "_:UITableView,accessoryButtonTappedForRowWith:IndexPath->Void"
1384
+ ],
1385
+ editingStyleForRowAt: [
1386
+ "tableView:editingStyleForRowAtIndexPath:",
1387
+ "_:UITableView,editingStyleForRowAt:IndexPath->UITableViewCell.EditingStyle"
1388
+ ],
1389
+ leadingSwipeActionsConfigurationForRowAt: [
1390
+ "tableView:leadingSwipeActionsConfigurationForRowAtIndexPath:",
1391
+ "_:UITableView,leadingSwipeActionsConfigurationForRowAt:IndexPath->UISwipeActionsConfiguration?"
1392
+ ],
1393
+ trailingSwipeActionsConfigurationForRowAt: [
1394
+ "tableView:trailingSwipeActionsConfigurationForRowAtIndexPath:",
1395
+ "_:UITableView,trailingSwipeActionsConfigurationForRowAt:IndexPath->UISwipeActionsConfiguration?"
1396
+ ],
1397
+ willBeginEditingRowAt: [
1398
+ "tableView:willBeginEditingRowAtIndexPath:",
1399
+ "_:UITableView,willBeginEditingRowAt:IndexPath->Void"
1400
+ ],
1401
+ didEndEditingRowAt: [
1402
+ "tableView:didEndEditingRowAtIndexPath:",
1403
+ "_:UITableView,didEndEditingRowAt:IndexPath?->Void"
1404
+ ]
1291
1405
  };
1292
1406
  const braces = [...code.matchAll(/[{}]/g)].map((match) => match.index);
1293
1407
  const edits = [];
1294
1408
  for (const owner of code.matchAll(/\b(?:class|extension)\s+([A-Za-z_]\w*)[^{}]*\{/g)) {
1295
1409
  const conforms = conformances.get(owner[1]);
1296
1410
  if (!conforms) continue;
1411
+ if (/^\s*</.test(owner[0].slice(owner[0].indexOf(owner[1]) + owner[1].length)))
1412
+ continue;
1297
1413
  const selectors = {
1298
1414
  ...conforms.has("UITableViewDataSource") ? dataSource : {},
1299
1415
  ...conforms.has("UITableViewDelegate") ? delegate : {}
@@ -1317,15 +1433,24 @@ function lowerTableProtocolMethods(source, conformances) {
1317
1433
  if (/\b(?:override|static|class)\b|@(?:objc|ObjC|IBAction)\b/.test(attributes))
1318
1434
  continue;
1319
1435
  let selector;
1320
- if (conforms.has("UITableViewDataSource") && /^func\s+numberOfSections\s*\(\s*in\s+\w+\s*:\s*(?:UIKit\.)?UITableView\s*\)/.test(
1436
+ const method = /^func\s+(tableView|numberOfSections)\s*\(([^()]*)\)\s*(?:->\s*([\w.?!]+|\(\s*\)))?\s*$/.exec(
1321
1437
  signature
1322
- ))
1323
- selector = "numberOfSectionsInTableView:";
1324
- else {
1325
- const match = /^func\s+tableView\s*\(\s*_\s+\w+\s*:\s*(?:UIKit\.)?UITableView\s*,\s*(\w+)\b/.exec(
1326
- signature
1327
- );
1328
- if (match) selector = selectors[match[1]];
1438
+ );
1439
+ if (method) {
1440
+ const parameters = splitTopLevel(method[2]).map((parameter) => {
1441
+ const match = /^(?:(\w+)\s+)?(\w+)\s*:\s*([\w.?]+)\s*$/.exec(parameter);
1442
+ return match ? `${match[1] ?? match[2]}:${match[3]}` : "";
1443
+ }).join(",").replace(/\b(?:UIKit|UIKitCore|Foundation|CoreGraphics|Swift)\./g, "");
1444
+ const result2 = (method[3] ?? "Void").replace(/\(\s*\)/, "Void").replaceAll("!", "?").replace(/\b(?:UIKit|UIKitCore|Foundation|CoreGraphics|Swift)\./g, "");
1445
+ if (method[1] === "numberOfSections") {
1446
+ if (conforms.has("UITableViewDataSource") && parameters === "in:UITableView" && result2 === "Int")
1447
+ selector = "numberOfSectionsInTableView:";
1448
+ } else {
1449
+ const label = /^_:UITableView,(\w+):/.exec(parameters)?.[1];
1450
+ const requirement = label ? selectors[label] : void 0;
1451
+ if (requirement && `${parameters}->${result2}` === requirement[1])
1452
+ selector = requirement[0];
1453
+ }
1329
1454
  }
1330
1455
  if (selector)
1331
1456
  edits.push([
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var RNX_CLOUD_MAX_ARTIFACT_BYTES = 20 * 1024 * 1024;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/cloud-test-args.ts
4
4
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (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);
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.822 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.823 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;