@maycombhq/atticus 2.0.0-beta.23 → 2.0.0-beta.25

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 (281) hide show
  1. package/dist/bin.js +3 -3
  2. package/dist/{chunk-S7GUZ45I.js → chunk-23QHP4JJ.js} +5 -3
  3. package/dist/{chunk-73V2OONC.js → chunk-2RABF6RT.js} +17 -15
  4. package/dist/{chunk-ENH6Z4TY.js → chunk-2ULVUSIP.js} +17 -17
  5. package/dist/{chunk-G6EFXTUO.js → chunk-2VN4TLGI.js} +7 -5
  6. package/dist/{chunk-ZSNOILL5.js → chunk-2Y5FJQSF.js} +1 -1
  7. package/dist/{chunk-YDCOZOER.js → chunk-334N6EI2.js} +20 -18
  8. package/dist/chunk-3D74UADA.js +22 -0
  9. package/dist/{chunk-63NFFAGI.js → chunk-3NA2VE45.js} +14 -12
  10. package/dist/{chunk-CJEBRJBS.js → chunk-3VC2XJ53.js} +6 -4
  11. package/dist/{chunk-7NQAGYK4.js → chunk-3WO7ASU7.js} +8 -8
  12. package/dist/{chunk-GM4EFHUX.js → chunk-4GWQVT2C.js} +19 -16
  13. package/dist/{chunk-SVGGMBJI.js → chunk-4PW5SRKJ.js} +15 -13
  14. package/dist/{chunk-27AJAKX7.js → chunk-4SS5ZK47.js} +3 -3
  15. package/dist/{chunk-PQQKZPBU.js → chunk-4U3JLIRC.js} +1 -1
  16. package/dist/{chunk-Z3H27OMV.js → chunk-4WIVTPGE.js} +6 -4
  17. package/dist/{chunk-XF6TSZW2.js → chunk-5267F4BS.js} +6 -4
  18. package/dist/chunk-5CPZIWIN.js +38 -0
  19. package/dist/{chunk-PWXB5GBB.js → chunk-5GLGLWAJ.js} +18 -16
  20. package/dist/{chunk-2QPJ4E4Z.js → chunk-5K6ZKHZR.js} +4 -2
  21. package/dist/{chunk-QZWRPQTI.js → chunk-5OVSDV77.js} +8 -6
  22. package/dist/{chunk-FJVUHQPS.js → chunk-5P4PNGPL.js} +26 -23
  23. package/dist/{chunk-M3EOFSPY.js → chunk-5R3FRI6H.js} +33 -29
  24. package/dist/{chunk-PNSSE7JM.js → chunk-5RDKQOY3.js} +25 -23
  25. package/dist/{chunk-KDJ2YKAZ.js → chunk-5RKN5QIX.js} +9 -7
  26. package/dist/{chunk-3EX5HCZD.js → chunk-5UJ7C7IH.js} +16 -14
  27. package/dist/{chunk-ZLQEQR3D.js → chunk-5WZV37WS.js} +8 -6
  28. package/dist/{chunk-OBUB3H72.js → chunk-62FMA437.js} +14 -12
  29. package/dist/{chunk-UALE35WK.js → chunk-6576X5BJ.js} +5 -3
  30. package/dist/{chunk-TXNSQ24G.js → chunk-6WYOJCB4.js} +3 -3
  31. package/dist/{chunk-TV56QLLV.js → chunk-77REYYY5.js} +5 -3
  32. package/dist/{chunk-QLQIFJP3.js → chunk-7AKJ2XTW.js} +19 -16
  33. package/dist/{chunk-2WUTCPPJ.js → chunk-7E3G5NCH.js} +17 -13
  34. package/dist/{chunk-FVYZ4Y52.js → chunk-7EAH2MFY.js} +5 -3
  35. package/dist/{chunk-PXW2RZGQ.js → chunk-7F4GZ7U2.js} +3 -3
  36. package/dist/{chunk-6RQOINER.js → chunk-7FUQAT2R.js} +6 -4
  37. package/dist/{chunk-AQRUQNFB.js → chunk-7HW2CMIN.js} +10 -8
  38. package/dist/{chunk-AGOLEMHK.js → chunk-7NLYSTEK.js} +10 -8
  39. package/dist/{chunk-YHMPDIRG.js → chunk-7QZDGM5V.js} +6 -4
  40. package/dist/{chunk-MEJ63LDG.js → chunk-7U6PBBXG.js} +11 -9
  41. package/dist/{chunk-UTPIFH4I.js → chunk-7UYRN4ON.js} +5 -3
  42. package/dist/{chunk-5OXKCH4Z.js → chunk-7X3WLAKP.js} +93 -40
  43. package/dist/{chunk-7IFTSAHP.js → chunk-7YFUNWFM.js} +10 -8
  44. package/dist/chunk-7YSMZEO3.js +55 -0
  45. package/dist/{chunk-RPQITJNX.js → chunk-A3AADMM2.js} +10 -8
  46. package/dist/{chunk-VK7WYA64.js → chunk-A3J75BO2.js} +14 -12
  47. package/dist/chunk-AENMOZMM.js +42 -0
  48. package/dist/{chunk-7K5OH45X.js → chunk-AGAFNUYZ.js} +87 -10
  49. package/dist/{chunk-VKTXFFOZ.js → chunk-AYWJMHSX.js} +5 -3
  50. package/dist/{chunk-3UHV76UD.js → chunk-B2U4AOZ5.js} +41 -38
  51. package/dist/chunk-BDKYHCGI.js +71 -0
  52. package/dist/{chunk-RQQYEDAC.js → chunk-BEDZNT62.js} +12 -9
  53. package/dist/{chunk-PGAMTKBI.js → chunk-BIQNPWGX.js} +6 -4
  54. package/dist/{chunk-LSHSDC6S.js → chunk-BJDVI5W6.js} +19 -17
  55. package/dist/{chunk-PFULMC2D.js → chunk-BMMTWRWE.js} +22 -20
  56. package/dist/{chunk-KT6Q44CA.js → chunk-BPDS7KUR.js} +27 -25
  57. package/dist/{chunk-7XYLNQFO.js → chunk-BS52P2CM.js} +13 -5
  58. package/dist/{chunk-TABH4RBZ.js → chunk-C5LX54QK.js} +16 -14
  59. package/dist/{chunk-NCLZJCXA.js → chunk-CB6H7MH2.js} +23 -21
  60. package/dist/{chunk-CZ2ZS7AT.js → chunk-CGVRLQAY.js} +2166 -326
  61. package/dist/{chunk-HJQVUOUL.js → chunk-CMUJSPP4.js} +13 -11
  62. package/dist/{chunk-CT6NINGR.js → chunk-CNF7D3A7.js} +3 -3
  63. package/dist/{chunk-BP33TBLI.js → chunk-CPFAWYVC.js} +9 -7
  64. package/dist/chunk-CQRFCWQV.js +45 -0
  65. package/dist/chunk-CTJHEG6A.js +97 -0
  66. package/dist/{chunk-SCT4CEF7.js → chunk-CVWKS6GO.js} +22 -20
  67. package/dist/chunk-D2CGJ7RR.js +46 -0
  68. package/dist/{chunk-K757G7AD.js → chunk-D45K3XKK.js} +19 -16
  69. package/dist/chunk-D7QIZLWB.js +38 -0
  70. package/dist/{chunk-YERAAEO4.js → chunk-DAHKLVHU.js} +15 -13
  71. package/dist/{chunk-OPWGPQ2N.js → chunk-DBVQEPZB.js} +8 -6
  72. package/dist/{chunk-T33TPFGI.js → chunk-DCPI3ETH.js} +24 -22
  73. package/dist/{chunk-RRQUQAXP.js → chunk-DJ4C5ELF.js} +5 -2
  74. package/dist/{chunk-RCG5IAAT.js → chunk-DLNQ3HUM.js} +12 -10
  75. package/dist/chunk-DM3H4V2G.js +62 -0
  76. package/dist/{chunk-EVTI22PQ.js → chunk-DMQJDHXG.js} +7 -4
  77. package/dist/{chunk-5VTIWEWP.js → chunk-DPZD7WVX.js} +4 -2
  78. package/dist/{chunk-WF3RCZNO.js → chunk-DYVUNT4O.js} +9 -7
  79. package/dist/{chunk-2UMSHYCB.js → chunk-E2OP6JNF.js} +26 -24
  80. package/dist/{chunk-6Y4FXOMI.js → chunk-E7PR4WMM.js} +24 -22
  81. package/dist/{chunk-TNCF26JK.js → chunk-EAGSM3XY.js} +14 -12
  82. package/dist/{chunk-X5ZHDSLU.js → chunk-EJGUEUXG.js} +25 -23
  83. package/dist/chunk-ELKTDXV3.js +67 -0
  84. package/dist/{chunk-T3FNG2H2.js → chunk-ELNIQYLR.js} +14 -12
  85. package/dist/{chunk-DHKDH464.js → chunk-ELNLHU7Y.js} +6 -4
  86. package/dist/{chunk-CA3DKO4D.js → chunk-EM7F6XEU.js} +4 -2
  87. package/dist/{chunk-K4OXYSGS.js → chunk-EP7ZBZLT.js} +7 -5
  88. package/dist/chunk-EPXYFJTY.js +278 -0
  89. package/dist/{chunk-MBYYQHPM.js → chunk-EUCATH2U.js} +6 -4
  90. package/dist/{chunk-73CC73I4.js → chunk-EXCXNDTQ.js} +1 -1
  91. package/dist/{chunk-SRTUETF5.js → chunk-EXGXCVWC.js} +24 -22
  92. package/dist/{chunk-BYBU2EIB.js → chunk-F36DIKJ3.js} +23 -21
  93. package/dist/{chunk-P22EPEBR.js → chunk-F4WKGX7K.js} +18 -16
  94. package/dist/{chunk-ZJGCGKA4.js → chunk-F56DNMDD.js} +5 -3
  95. package/dist/chunk-FJS2FZFZ.js +41 -0
  96. package/dist/{chunk-2YSD6E6V.js → chunk-FNP4M4VL.js} +42 -33
  97. package/dist/{chunk-B4AEL3RF.js → chunk-G3ZFEHCX.js} +21 -107
  98. package/dist/{chunk-XOMEQVLK.js → chunk-G5P7F6RQ.js} +5 -3
  99. package/dist/chunk-GAU2IFIC.js +33 -0
  100. package/dist/{chunk-XNFM6WUK.js → chunk-GAVEIYKH.js} +21 -18
  101. package/dist/{chunk-TUM52SOE.js → chunk-GD6FXN6R.js} +17 -15
  102. package/dist/{chunk-D6BVLTDV.js → chunk-GDGE7ZHC.js} +28 -26
  103. package/dist/{chunk-SYP56T2D.js → chunk-GIOOA2ZO.js} +7 -4
  104. package/dist/chunk-GLISHJ4G.js +21345 -0
  105. package/dist/chunk-GPOL5H3B.js +55 -0
  106. package/dist/{chunk-ZFHFC74B.js → chunk-GVOQJPKA.js} +20 -18
  107. package/dist/{chunk-G7VBMOZH.js → chunk-GX67TNFA.js} +3 -3
  108. package/dist/{chunk-VNIN7Q6Q.js → chunk-H75SPCAW.js} +18 -16
  109. package/dist/{chunk-J4CPHJUL.js → chunk-H7GAPNGQ.js} +29 -18
  110. package/dist/{chunk-X7ZKNSK4.js → chunk-HD72AL3L.js} +20 -18
  111. package/dist/{chunk-FBCVC2GJ.js → chunk-HHZ2ZKUD.js} +16 -13
  112. package/dist/{chunk-K4RNVDR4.js → chunk-HHZEXF7V.js} +8 -6
  113. package/dist/{chunk-OK6JGLE7.js → chunk-HR34F2AJ.js} +14 -12
  114. package/dist/{chunk-3MYBT62N.js → chunk-HU7VXMFV.js} +9 -7
  115. package/dist/{chunk-LPDTDFKA.js → chunk-HV3KPEFH.js} +18 -16
  116. package/dist/{chunk-4ETO2FXE.js → chunk-I2M7MXSV.js} +14 -12
  117. package/dist/{chunk-W3AZE7LN.js → chunk-IDTVBZQI.js} +3 -3
  118. package/dist/{chunk-BFL4PO64.js → chunk-IFDCCCEN.js} +6 -4
  119. package/dist/{chunk-3ZA3AK2D.js → chunk-IKRM64KR.js} +12 -10
  120. package/dist/{chunk-JMEWJPF2.js → chunk-IMTAHDME.js} +7 -7
  121. package/dist/{chunk-DCRYOMTM.js → chunk-IP6TSICI.js} +14 -12
  122. package/dist/{chunk-PT4USJNN.js → chunk-IW3QMW3X.js} +10 -8
  123. package/dist/{chunk-MLGWSBF4.js → chunk-IWQEZFVV.js} +261 -62
  124. package/dist/{chunk-C6ORPLCN.js → chunk-J65TN6QU.js} +7 -5
  125. package/dist/{chunk-QBMLBCQH.js → chunk-JCKKAELC.js} +16 -13
  126. package/dist/{chunk-XGO74QWR.js → chunk-JJEPU4VS.js} +7 -5
  127. package/dist/{chunk-BFMTGNAQ.js → chunk-JKEUPSCE.js} +5 -3
  128. package/dist/{chunk-HMZ2DRBC.js → chunk-JMOZ6K5A.js} +16 -5
  129. package/dist/{chunk-WZYM5M4U.js → chunk-JQGWP3SC.js} +19 -17
  130. package/dist/{chunk-ZR6J4QFQ.js → chunk-JWLABUXL.js} +13 -11
  131. package/dist/{chunk-EXJZBL5N.js → chunk-JXLUHMTC.js} +23 -21
  132. package/dist/{chunk-DSHRA72L.js → chunk-K373N5U6.js} +13 -11
  133. package/dist/{chunk-WYGTSZHR.js → chunk-K3OIBTCV.js} +16 -14
  134. package/dist/{chunk-BAY4K55I.js → chunk-K4C2DWOZ.js} +16 -13
  135. package/dist/{chunk-GOZLTLRY.js → chunk-K77ILFUQ.js} +4 -4
  136. package/dist/{chunk-4R3TO4VL.js → chunk-KFDOL2Y4.js} +19 -17
  137. package/dist/{chunk-T6MX7WXM.js → chunk-KGT5RIGE.js} +30 -13
  138. package/dist/{chunk-SWNKO4C4.js → chunk-KJPKIU2R.js} +29 -26
  139. package/dist/{chunk-T7IIEDA3.js → chunk-KN4UQJ7R.js} +6 -4
  140. package/dist/{chunk-AVMWESFZ.js → chunk-KW4DIXUL.js} +6 -3
  141. package/dist/{chunk-FRAEQVYN.js → chunk-KY3BUZYI.js} +24 -22
  142. package/dist/{chunk-FMJYKLDY.js → chunk-LGE6H4UP.js} +15 -8
  143. package/dist/{chunk-XAPXKFIS.js → chunk-LKRMVWXB.js} +33 -24
  144. package/dist/{chunk-BUUJ7N4O.js → chunk-LMNCRSER.js} +31 -11
  145. package/dist/{chunk-TMFMXQEN.js → chunk-LNGFTPU7.js} +22 -19
  146. package/dist/{chunk-N2YX6JMY.js → chunk-LOJGNSPA.js} +28 -23
  147. package/dist/{chunk-6ZSYLZ7O.js → chunk-LP5QGTCR.js} +3 -3
  148. package/dist/{chunk-S35DIFJH.js → chunk-LPXH2DA4.js} +19 -17
  149. package/dist/{chunk-FRCOKUU4.js → chunk-LQD3R6NZ.js} +9 -7
  150. package/dist/{chunk-FPBUTZI5.js → chunk-LZFKJ2BR.js} +3233 -22921
  151. package/dist/{chunk-TDSCKP3V.js → chunk-M6HI36T3.js} +2 -2
  152. package/dist/{chunk-SK5RVP7X.js → chunk-M7XNX5IC.js} +11 -9
  153. package/dist/{chunk-RGZFOKVO.js → chunk-MELS6T5J.js} +6 -4
  154. package/dist/{chunk-6NN36LVK.js → chunk-MJAIBPI5.js} +3 -3
  155. package/dist/{chunk-Y2H7X3VI.js → chunk-MJMEF7SD.js} +10 -8
  156. package/dist/{chunk-FTLYXMHA.js → chunk-MJOIMGS4.js} +7 -5
  157. package/dist/chunk-MLUHBVCI.js +45 -0
  158. package/dist/{chunk-JXAKYP45.js → chunk-MM5OAVSW.js} +27 -25
  159. package/dist/{chunk-6ZFF7XSL.js → chunk-MM7YWUBB.js} +6 -6
  160. package/dist/{chunk-S5GSQPIN.js → chunk-MN2XDLDM.js} +18 -16
  161. package/dist/{chunk-MNIPPBCT.js → chunk-MWOPED6I.js} +7 -5
  162. package/dist/{chunk-JFFKHIM6.js → chunk-MXPKXCGP.js} +1 -1
  163. package/dist/{chunk-IYNCSYU4.js → chunk-MZTU5L6S.js} +6 -4
  164. package/dist/{chunk-NAPHHWW2.js → chunk-N3OEBQTA.js} +3 -3
  165. package/dist/{chunk-PCCLVIDP.js → chunk-N6SSI6XO.js} +25 -22
  166. package/dist/{chunk-POSDBRKV.js → chunk-NB664KWQ.js} +28 -25
  167. package/dist/{chunk-Z3RAFU5B.js → chunk-NL6GIEJU.js} +17 -15
  168. package/dist/{chunk-ISG547IS.js → chunk-NMBHFSJQ.js} +24 -22
  169. package/dist/{chunk-CFUDAW3R.js → chunk-NMGFXT4S.js} +17 -15
  170. package/dist/{chunk-ZENHDXRZ.js → chunk-NPZ4KXIV.js} +20 -18
  171. package/dist/{chunk-CQ7RF4QN.js → chunk-NQLTWGF4.js} +6 -4
  172. package/dist/{chunk-KTNOBTV5.js → chunk-O6DJMDBR.js} +6 -4
  173. package/dist/{chunk-MH2ZK67S.js → chunk-OEUTV6EL.js} +15 -12
  174. package/dist/{chunk-CKVBDVIW.js → chunk-OMSH46JK.js} +6 -4
  175. package/dist/chunk-ONB7M2AF.js +52 -0
  176. package/dist/{chunk-QX4MAMUG.js → chunk-OOU4N2JQ.js} +136 -30
  177. package/dist/{chunk-4MYHETJ3.js → chunk-OW53P52N.js} +20 -18
  178. package/dist/{chunk-APDN6UOR.js → chunk-P4QTTCVK.js} +20 -18
  179. package/dist/{chunk-JSP73CDW.js → chunk-P56N3NPT.js} +8 -5
  180. package/dist/{chunk-CS4BMJLL.js → chunk-PCZ4C2V7.js} +7 -5
  181. package/dist/{chunk-A4JXVO5O.js → chunk-PGKCRK77.js} +10 -8
  182. package/dist/{chunk-RLZFL76D.js → chunk-PYVFLITV.js} +15 -13
  183. package/dist/{chunk-Z2D4P3R3.js → chunk-Q52KWTG5.js} +14 -12
  184. package/dist/{chunk-YD3KTW4H.js → chunk-Q6UYUCNS.js} +14 -12
  185. package/dist/chunk-QBK33722.js +51 -0
  186. package/dist/{chunk-L3RCQWVQ.js → chunk-QE444DZ2.js} +53 -26
  187. package/dist/{chunk-Y5IE6YKD.js → chunk-QEP4HTJE.js} +6 -4
  188. package/dist/{chunk-FSN6JFXB.js → chunk-QFOJ3UPU.js} +25 -19
  189. package/dist/{chunk-3424TLIJ.js → chunk-QQD25YNF.js} +12 -10
  190. package/dist/{chunk-HRS5O7VV.js → chunk-QSKY7FE3.js} +21 -17
  191. package/dist/{chunk-LO6Y7OTG.js → chunk-R6HJ4SDB.js} +10 -7
  192. package/dist/{chunk-QLWDIKO4.js → chunk-RFQW7XT3.js} +20 -17
  193. package/dist/{chunk-4GAB5ZOZ.js → chunk-RL7PETU6.js} +30 -26
  194. package/dist/{chunk-66AQ2JIU.js → chunk-ROVOAF2O.js} +13 -11
  195. package/dist/{chunk-UJF7PIMP.js → chunk-RSA5JJMN.js} +58 -34
  196. package/dist/{chunk-J32IPTVQ.js → chunk-RX56MZLX.js} +22 -20
  197. package/dist/chunk-S7I7SLZN.js +59 -0
  198. package/dist/{chunk-S6W3D5GS.js → chunk-S7UQFI4B.js} +29 -26
  199. package/dist/{chunk-TVQSXWWV.js → chunk-SBNBVUOF.js} +35 -33
  200. package/dist/{chunk-POEMZECG.js → chunk-SD3PGZSR.js} +1 -1
  201. package/dist/{chunk-EMVZIOOD.js → chunk-SEBBJQWK.js} +17 -15
  202. package/dist/{chunk-MWF4PXQR.js → chunk-SGTAQNOP.js} +37 -34
  203. package/dist/{chunk-HUGQZQ2K.js → chunk-SHWHRCMU.js} +9 -7
  204. package/dist/{chunk-POSZFDSQ.js → chunk-SRLUADSY.js} +6 -4
  205. package/dist/{chunk-J25YOUIZ.js → chunk-SXF66YNZ.js} +6 -4
  206. package/dist/{chunk-PRMUQUWN.js → chunk-T5QYYB5L.js} +16 -14
  207. package/dist/{chunk-OSYHGGL3.js → chunk-TAIYQDIV.js} +20 -18
  208. package/dist/{chunk-NROSSWMS.js → chunk-TIOYZDRB.js} +8 -6
  209. package/dist/{chunk-S6LW2RRC.js → chunk-TKCNJJ2S.js} +10 -8
  210. package/dist/{chunk-T6MAWL5P.js → chunk-TVFADTAT.js} +6 -4
  211. package/dist/{chunk-FMR2D3AZ.js → chunk-U4HZ5CXL.js} +8 -6
  212. package/dist/{chunk-XMUWPA56.js → chunk-U7F6E5M3.js} +27 -24
  213. package/dist/{chunk-FL344WQD.js → chunk-U7YZ3IRI.js} +6 -4
  214. package/dist/{chunk-OCQWSFJD.js → chunk-UCKG6UE7.js} +14 -12
  215. package/dist/{chunk-LM45GMMB.js → chunk-UCQB6NKS.js} +7 -7
  216. package/dist/{chunk-6SNTHK43.js → chunk-UI7ID4HG.js} +24 -19
  217. package/dist/{chunk-S5XFO4GY.js → chunk-UJ535VWR.js} +6 -4
  218. package/dist/chunk-UKMA5JFE.js +52 -0
  219. package/dist/{chunk-E3PDCQRH.js → chunk-UR6JGVX2.js} +299 -247
  220. package/dist/{chunk-IMZFOMVX.js → chunk-USH4VU5D.js} +5 -3
  221. package/dist/{chunk-V7PEHQZU.js → chunk-UTYL4XVA.js} +21 -19
  222. package/dist/{chunk-NC755EKE.js → chunk-UTZMF5CV.js} +1 -1
  223. package/dist/{chunk-FQVSLBTV.js → chunk-UVKJVTKX.js} +3 -3
  224. package/dist/{chunk-Q367UGYN.js → chunk-V7T6URII.js} +10 -8
  225. package/dist/{chunk-6RYB3EET.js → chunk-VAZYNF6I.js} +14 -12
  226. package/dist/{chunk-J2H7YG3K.js → chunk-VBJHIRKV.js} +5 -3
  227. package/dist/{chunk-QVVGJVVX.js → chunk-VOBG7BLB.js} +18 -16
  228. package/dist/{chunk-7XWJ6ED2.js → chunk-W2W7YCFL.js} +16 -13
  229. package/dist/{chunk-XFDDJQT7.js → chunk-WA644MUQ.js} +15 -13
  230. package/dist/{chunk-6NCPLIIP.js → chunk-WDJGJ3HV.js} +441 -365
  231. package/dist/chunk-WGOQZ4PQ.js +488 -0
  232. package/dist/{chunk-3EWKO457.js → chunk-WS7KBKP4.js} +8 -6
  233. package/dist/chunk-X7QLAUNS.js +47 -0
  234. package/dist/{chunk-4FLNCK6Q.js → chunk-XC5ZDFW7.js} +13 -11
  235. package/dist/{chunk-VRO7KSGL.js → chunk-XF5UMMQL.js} +23 -21
  236. package/dist/{chunk-WOMQQWTO.js → chunk-XM3JE4QY.js} +7 -5
  237. package/dist/{chunk-73GFVW2L.js → chunk-XP5DF5MC.js} +51 -14
  238. package/dist/{chunk-W5VYJWOG.js → chunk-XUCHGEF5.js} +25 -23
  239. package/dist/{chunk-AFBCNZRZ.js → chunk-XVQQ3BQS.js} +26 -24
  240. package/dist/{chunk-VJFXQISZ.js → chunk-XXJSGCDO.js} +13 -9
  241. package/dist/{chunk-WXVTYLVH.js → chunk-XY6FVBBV.js} +4 -4
  242. package/dist/{chunk-QAVRDONY.js → chunk-XZQBFF65.js} +121 -119
  243. package/dist/{chunk-LZVHP7CT.js → chunk-Y3J365UC.js} +7 -5
  244. package/dist/{chunk-GUGQSIQM.js → chunk-Y6KPWRZJ.js} +11 -9
  245. package/dist/{chunk-ZNHQGG7J.js → chunk-YAUMNRCB.js} +4 -4
  246. package/dist/{chunk-6R5VHR3N.js → chunk-YEGGQG5E.js} +9 -7
  247. package/dist/{chunk-LHH5KG5A.js → chunk-YGNQUFVZ.js} +3 -3
  248. package/dist/{chunk-CMB7FXHJ.js → chunk-YGS2YVF2.js} +16 -14
  249. package/dist/{chunk-IKAW2KJU.js → chunk-YRKAJ42V.js} +525 -287
  250. package/dist/{chunk-7YQBDE5W.js → chunk-Z3KEX7ON.js} +6 -4
  251. package/dist/{chunk-ZNTTW4IT.js → chunk-Z4N7BKLN.js} +7 -5
  252. package/dist/{chunk-75OMRKY2.js → chunk-ZD64ZR64.js} +7 -5
  253. package/dist/{chunk-3ASYYMOX.js → chunk-ZJQ64T6M.js} +10 -8
  254. package/dist/files.json +563 -547
  255. package/dist/packages/sdk/npm/index.js +5530 -4902
  256. package/dist/packages/ui/dist/assets/{elk-api-DxfAMOJq.js → elk-api-ts8TigYQ.js} +2 -2
  257. package/dist/packages/ui/dist/assets/index-CIfmX7DJ.css +1 -0
  258. package/dist/packages/ui/dist/assets/index-DNtpSfZS.js +63 -0
  259. package/dist/packages/ui/dist/index.html +2 -2
  260. package/package.json +3 -3
  261. package/dist/chunk-5MYE42AP.js +0 -43
  262. package/dist/chunk-5O7U67UA.js +0 -57
  263. package/dist/chunk-6JVPBGQG.js +0 -50
  264. package/dist/chunk-AHFQHPFF.js +0 -49
  265. package/dist/chunk-CXTG6AWM.js +0 -40
  266. package/dist/chunk-GPNMSX5H.js +0 -36
  267. package/dist/chunk-HMWJWYE2.js +0 -31
  268. package/dist/chunk-ICBGVVRI.js +0 -317
  269. package/dist/chunk-J2CDBSFP.js +0 -69
  270. package/dist/chunk-NKJDO4UC.js +0 -39
  271. package/dist/chunk-NOYOFYAJ.js +0 -59
  272. package/dist/chunk-OXXZZ7HQ.js +0 -50
  273. package/dist/chunk-P4YUT7W7.js +0 -45
  274. package/dist/chunk-RQSLHZ7T.js +0 -36
  275. package/dist/chunk-RYQ4JCFT.js +0 -65
  276. package/dist/chunk-UMCDODBX.js +0 -53
  277. package/dist/chunk-VJZI6KFP.js +0 -47
  278. package/dist/chunk-W4TNCEI4.js +0 -44
  279. package/dist/chunk-XLZAAAPX.js +0 -43
  280. package/dist/packages/ui/dist/assets/index-Buit9TfP.js +0 -62
  281. package/dist/packages/ui/dist/assets/index-Jyc9dFeZ.css +0 -1
@@ -15,16 +15,18 @@ import {
15
15
  inAcpSession,
16
16
  proposalsSnapshot,
17
17
  undoBatch
18
- } from "./chunk-FSN6JFXB.js";
19
- import "./chunk-PXW2RZGQ.js";
20
- import "./chunk-73GFVW2L.js";
21
- import "./chunk-XOMEQVLK.js";
22
- import "./chunk-CZ2ZS7AT.js";
23
- import "./chunk-G6EFXTUO.js";
24
- import "./chunk-PQQKZPBU.js";
25
- import "./chunk-3EWKO457.js";
26
- import "./chunk-FPBUTZI5.js";
27
- import "./chunk-B4AEL3RF.js";
18
+ } from "./chunk-QFOJ3UPU.js";
19
+ import "./chunk-7F4GZ7U2.js";
20
+ import "./chunk-XP5DF5MC.js";
21
+ import "./chunk-G5P7F6RQ.js";
22
+ import "./chunk-CGVRLQAY.js";
23
+ import "./chunk-2VN4TLGI.js";
24
+ import "./chunk-4U3JLIRC.js";
25
+ import "./chunk-WS7KBKP4.js";
26
+ import "./chunk-GLISHJ4G.js";
27
+ import "./chunk-G3ZFEHCX.js";
28
+ import "./chunk-LZFKJ2BR.js";
29
+ import "./chunk-CTJHEG6A.js";
28
30
  import "./chunk-BQGDB6ZL.js";
29
31
  import "./chunk-TV45EUGM.js";
30
32
  export {
@@ -9,7 +9,7 @@ import {
9
9
  matrixMarkdown,
10
10
  traceMatrix,
11
11
  writeTraceFindings
12
- } from "./chunk-EMVZIOOD.js";
12
+ } from "./chunk-SEBBJQWK.js";
13
13
  import {
14
14
  table
15
15
  } from "./chunk-VOGCSYOI.js";
@@ -23,7 +23,7 @@ import {
23
23
  driftMarkdown,
24
24
  pipelineSnippet,
25
25
  repoDrift
26
- } from "./chunk-ZR6J4QFQ.js";
26
+ } from "./chunk-JWLABUXL.js";
27
27
  import {
28
28
  GlossaryError,
29
29
  aliasDecision,
@@ -34,13 +34,13 @@ import {
34
34
  resolveTermId,
35
35
  scanGlossary,
36
36
  writeDecisions
37
- } from "./chunk-IKAW2KJU.js";
38
- import {
39
- createGit
40
- } from "./chunk-3EWKO457.js";
37
+ } from "./chunk-YRKAJ42V.js";
41
38
  import {
42
39
  runtimeForCli
43
- } from "./chunk-3424TLIJ.js";
40
+ } from "./chunk-QQD25YNF.js";
41
+ import {
42
+ createGit
43
+ } from "./chunk-WS7KBKP4.js";
44
44
 
45
45
  // packages/cli/dist/quality-commands.js
46
46
  import { appendFile, mkdir, writeFile } from "node:fs/promises";
@@ -11,19 +11,21 @@ import {
11
11
  editRepoBuild,
12
12
  editRepoDescription,
13
13
  repoBranches
14
- } from "./chunk-BP33TBLI.js";
15
- import "./chunk-IKAW2KJU.js";
16
- import "./chunk-CZ2ZS7AT.js";
17
- import "./chunk-4GAB5ZOZ.js";
18
- import "./chunk-A4JXVO5O.js";
19
- import "./chunk-TDSCKP3V.js";
20
- import "./chunk-G6EFXTUO.js";
21
- import "./chunk-PQQKZPBU.js";
22
- import "./chunk-3EWKO457.js";
23
- import "./chunk-3424TLIJ.js";
14
+ } from "./chunk-CPFAWYVC.js";
15
+ import "./chunk-YRKAJ42V.js";
16
+ import "./chunk-CGVRLQAY.js";
17
+ import "./chunk-RL7PETU6.js";
18
+ import "./chunk-PGKCRK77.js";
19
+ import "./chunk-M6HI36T3.js";
20
+ import "./chunk-2VN4TLGI.js";
21
+ import "./chunk-4U3JLIRC.js";
22
+ import "./chunk-QQD25YNF.js";
24
23
  import "./chunk-QA4O2GGC.js";
25
- import "./chunk-FPBUTZI5.js";
26
- import "./chunk-B4AEL3RF.js";
24
+ import "./chunk-WS7KBKP4.js";
25
+ import "./chunk-GLISHJ4G.js";
26
+ import "./chunk-G3ZFEHCX.js";
27
+ import "./chunk-LZFKJ2BR.js";
28
+ import "./chunk-CTJHEG6A.js";
27
29
  import "./chunk-BQGDB6ZL.js";
28
30
  import "./chunk-TV45EUGM.js";
29
31
  export {
@@ -10,17 +10,19 @@ import {
10
10
  scoreRepo,
11
11
  scoreSpecs,
12
12
  scoreVerifier
13
- } from "./chunk-6SNTHK43.js";
13
+ } from "./chunk-UI7ID4HG.js";
14
14
  import {
15
15
  readCatalog
16
- } from "./chunk-IKAW2KJU.js";
16
+ } from "./chunk-YRKAJ42V.js";
17
17
  import {
18
18
  ScanVerifyProposal,
19
- external_exports,
20
19
  parseFacts,
21
20
  readEstateJoins,
22
21
  readRepoSpec
23
- } from "./chunk-FPBUTZI5.js";
22
+ } from "./chunk-GLISHJ4G.js";
23
+ import {
24
+ external_exports
25
+ } from "./chunk-LZFKJ2BR.js";
24
26
  import {
25
27
  require_dist
26
28
  } from "./chunk-BQGDB6ZL.js";
@@ -115,7 +117,7 @@ var pct = (x) => `${Math.round(x * 100)}%`;
115
117
  async function benchRun(o, io) {
116
118
  try {
117
119
  const { dir, cache, repos } = await load(o);
118
- const { main } = await import("./chunk-QAVRDONY.js");
120
+ const { main } = await import("./chunk-XZQBFF65.js");
119
121
  const quiet = { out: () => {
120
122
  }, err: () => {
121
123
  } };
@@ -435,7 +437,7 @@ function printSpecScores(scores, none, passes, cache, io) {
435
437
  async function benchSurvey(o, io) {
436
438
  try {
437
439
  const { cache, repos } = await load(o);
438
- const { main } = await import("./chunk-QAVRDONY.js");
440
+ const { main } = await import("./chunk-XZQBFF65.js");
439
441
  const quiet = { out: () => {
440
442
  }, err: () => {
441
443
  } };
@@ -483,7 +485,7 @@ $1- ${mode}`), "utf8");
483
485
  async function benchVerify(o, io, deps = {}) {
484
486
  try {
485
487
  const { cache, repos } = await load(o);
486
- const { main } = await import("./chunk-QAVRDONY.js");
488
+ const { main } = await import("./chunk-XZQBFF65.js");
487
489
  const quiet = { out: () => {
488
490
  }, err: () => {
489
491
  } };
@@ -510,7 +512,7 @@ async function benchVerify(o, io, deps = {}) {
510
512
  const capture = { out: (l) => lines.push(l), err: (l) => lines.push(l) };
511
513
  let code;
512
514
  if (deps.runtime) {
513
- const { scanVerify } = await import("./chunk-POSDBRKV.js");
515
+ const { scanVerify } = await import("./chunk-NB664KWQ.js");
514
516
  code = await scanVerify(path, path, {}, { runtime: deps.runtime, ...deps.now ? { now: deps.now } : {} }, capture);
515
517
  } else
516
518
  code = await main(["scan", "verify", path, "--root", path, ...o.mode ? ["--mode", o.mode] : []], capture);
@@ -17,7 +17,7 @@ import {
17
17
  parseNewFile,
18
18
  rerunOf,
19
19
  usesOf
20
- } from "./chunk-CA3DKO4D.js";
20
+ } from "./chunk-EM7F6XEU.js";
21
21
  import {
22
22
  CriticError,
23
23
  MERGED_FLOWS,
@@ -49,18 +49,7 @@ import {
49
49
  triggerReason,
50
50
  waitingLenses,
51
51
  writeQuarantineItems
52
- } from "./chunk-D6BVLTDV.js";
53
- import {
54
- GAP_STEP,
55
- candidateRef,
56
- contextToolBox,
57
- defaultCodeDir,
58
- gapNameOf,
59
- gapQuestion,
60
- namesInCode,
61
- nodesById,
62
- openIndex
63
- } from "./chunk-RCG5IAAT.js";
52
+ } from "./chunk-GDGE7ZHC.js";
64
53
  import {
65
54
  changeFolder,
66
55
  changeFootprint,
@@ -78,21 +67,32 @@ import {
78
67
  stageCommand,
79
68
  testPlanFor,
80
69
  wroteThis
81
- } from "./chunk-WZYM5M4U.js";
70
+ } from "./chunk-JQGWP3SC.js";
82
71
  import {
83
72
  ARTIFACT_STAGE,
84
73
  archiveRefuses,
85
74
  artifactsOfStage,
86
75
  createOpenSpec
87
- } from "./chunk-NC755EKE.js";
76
+ } from "./chunk-UTZMF5CV.js";
88
77
  import {
89
78
  AdapterError,
90
79
  createAdapters,
91
80
  fileStepStore
92
- } from "./chunk-FL344WQD.js";
81
+ } from "./chunk-U7YZ3IRI.js";
82
+ import {
83
+ GAP_STEP,
84
+ candidateRef,
85
+ contextToolBox,
86
+ defaultCodeDir,
87
+ gapNameOf,
88
+ gapQuestion,
89
+ namesInCode,
90
+ nodesById,
91
+ openIndex
92
+ } from "./chunk-DLNQ3HUM.js";
93
93
  import {
94
94
  readCatalog
95
- } from "./chunk-IKAW2KJU.js";
95
+ } from "./chunk-YRKAJ42V.js";
96
96
  import {
97
97
  CONFLICT_STEP,
98
98
  checkQuote,
@@ -111,17 +111,17 @@ import {
111
111
  snapshotPages,
112
112
  syncSources,
113
113
  workingDays
114
- } from "./chunk-4GAB5ZOZ.js";
114
+ } from "./chunk-RL7PETU6.js";
115
115
  import {
116
116
  changeInputSources,
117
117
  citedParts,
118
118
  heldOutInputs,
119
119
  readServiceRequestExports,
120
120
  readWorkItemExports
121
- } from "./chunk-A4JXVO5O.js";
121
+ } from "./chunk-PGKCRK77.js";
122
122
  import {
123
123
  readDocument
124
- } from "./chunk-TDSCKP3V.js";
124
+ } from "./chunk-M6HI36T3.js";
125
125
  import {
126
126
  APPLIES_SPEC,
127
127
  ASKS_CHECK_SPEC,
@@ -144,43 +144,24 @@ import {
144
144
  toRunSummary,
145
145
  verdictOf,
146
146
  wrapData
147
- } from "./chunk-3424TLIJ.js";
147
+ } from "./chunk-QQD25YNF.js";
148
148
  import {
149
- AgentDefinition,
150
149
  JOINED_BY_AI,
151
150
  JOIN_GUESS_FLAGS,
152
- KNOWLEDGE_KINDS,
153
- Procedure,
154
- QUESTION_SCHEMA_VERSION,
155
- Question,
156
- QuestionDraft,
157
- RecordId,
158
- RuntimeKind,
159
- ServiceRequestTemplate,
160
- answerByWords,
161
151
  answerText,
162
152
  answerWords,
163
- authorityRank,
164
153
  catalogDirOf,
165
154
  changesDirOf,
166
155
  changesRelOf,
167
- componentTypeRulesText,
168
- effectiveComponentTypes,
169
156
  estimateTokens,
170
- external_exports,
171
157
  factsDirOf,
172
158
  fileJudgments,
173
- gateRoundLimit,
174
159
  identifierWords,
175
160
  inputsDirOf,
176
- isAiBy,
177
161
  isSecretPath,
178
162
  judgmentKey,
179
- knowledgeKindOf,
180
163
  listQuestions,
181
- loadOrgPack,
182
164
  makeJudgment,
183
- normalizePath,
184
165
  openspecDirOf,
185
166
  orgPackDirOf,
186
167
  orgPackRelOf,
@@ -197,22 +178,43 @@ import {
197
178
  readRepoSpec,
198
179
  redactSecrets,
199
180
  retireQuestion,
200
- retrievalOf,
201
181
  runsDirOf,
202
182
  runsRelOf,
203
183
  serializeRecord,
204
- specTemplateFor,
205
184
  specsDirOf,
206
185
  stateDirOf,
207
186
  taskBranch,
208
187
  toCanonicalYaml,
209
188
  writeQuestion
210
- } from "./chunk-FPBUTZI5.js";
189
+ } from "./chunk-GLISHJ4G.js";
211
190
  import {
212
191
  QUICK_WRITE_LOCK,
213
192
  withSharedFileLock,
214
193
  writeFileAtomic
215
- } from "./chunk-B4AEL3RF.js";
194
+ } from "./chunk-G3ZFEHCX.js";
195
+ import {
196
+ AgentDefinition,
197
+ KNOWLEDGE_KINDS,
198
+ Procedure,
199
+ QUESTION_SCHEMA_VERSION,
200
+ Question,
201
+ QuestionDraft,
202
+ RecordId,
203
+ RuntimeKind,
204
+ ServiceRequestTemplate,
205
+ answerByWords,
206
+ authorityRank,
207
+ componentTypeRulesText,
208
+ effectiveComponentTypes,
209
+ external_exports,
210
+ gateRoundLimit,
211
+ isAiBy,
212
+ knowledgeKindOf,
213
+ loadOrgPack,
214
+ normalizePath,
215
+ retrievalOf,
216
+ specTemplateFor
217
+ } from "./chunk-LZFKJ2BR.js";
216
218
  import {
217
219
  require_dist
218
220
  } from "./chunk-BQGDB6ZL.js";
@@ -4238,7 +4240,7 @@ async function gapsOf(root, change, unknown) {
4238
4240
  return out;
4239
4241
  }
4240
4242
  async function codeReaders() {
4241
- const x = await import("./chunk-J25YOUIZ.js");
4243
+ const x = await import("./chunk-SXF66YNZ.js");
4242
4244
  return {
4243
4245
  outline: (path, text4) => x.declarationOutline(path, text4),
4244
4246
  outlines: (path) => x.syntaxLanguageOf(path) !== void 0
@@ -17736,6 +17738,14 @@ import { join as join28 } from "node:path";
17736
17738
  var import_yaml24 = __toESM(require_dist(), 1);
17737
17739
  var Id4 = external_exports.string().regex(/^[a-z0-9][a-z0-9._-]*$/, "an id is lower case: letters, digits, . _ -");
17738
17740
  var text3 = () => external_exports.string().trim().min(1).max(500);
17741
+ var RunsOn = external_exports.object({
17742
+ system: Id4.optional(),
17743
+ platform: external_exports.string().trim().min(1).optional(),
17744
+ cloud: external_exports.string().trim().min(1).optional(),
17745
+ framework: external_exports.string().trim().min(1).optional(),
17746
+ /** What the new box is (ADR 0180): one of the organisation's component types. */
17747
+ type: Id4.optional()
17748
+ });
17739
17749
  var From = external_exports.object({
17740
17750
  component: Id4,
17741
17751
  /** The flow the step goes on; left out when the component has one flow, or a new one is named. */
@@ -17749,15 +17759,7 @@ var From = external_exports.object({
17749
17759
  what: text3(),
17750
17760
  entry: external_exports.string().trim().min(1).optional()
17751
17761
  }),
17752
- /** A component the catalog doesn't have yet: where it runs (ADR 0132), drawn as a new box. */
17753
- runsOn: external_exports.object({
17754
- system: Id4.optional(),
17755
- platform: external_exports.string().trim().min(1).optional(),
17756
- cloud: external_exports.string().trim().min(1).optional(),
17757
- framework: external_exports.string().trim().min(1).optional(),
17758
- /** What the new box is (ADR 0180): one of the organisation's component types. */
17759
- type: Id4.optional()
17760
- }).optional()
17762
+ runsOn: RunsOn.optional()
17761
17763
  }).optional()
17762
17764
  });
17763
17765
  var Stroke = external_exports.discriminatedUnion("kind", [
@@ -17809,7 +17811,27 @@ var Stroke = external_exports.discriminatedUnion("kind", [
17809
17811
  * ADR 0189: a component taken away by the change: every flow of it today is removed (one
17810
17812
  * remove delta per flow, each carrying the stroke's mark, so Undo takes them all back).
17811
17813
  */
17812
- external_exports.object({ kind: external_exports.literal("retire"), component: Id4, why: text3() })
17814
+ external_exports.object({ kind: external_exports.literal("retire"), component: Id4, why: text3() }),
17815
+ /**
17816
+ * ADR 0193: a component absorbed into another (new or existing): each flow of it today moves
17817
+ * to the other with the same trigger, entry and steps, its own flows are removed, and every
17818
+ * step of today's map that calls it calls the other at the same entry, so callers' contracts
17819
+ * don't change. One stroke: every part carries its mark, so one Undo takes it all back.
17820
+ */
17821
+ external_exports.object({
17822
+ kind: external_exports.literal("absorb"),
17823
+ component: Id4,
17824
+ into: external_exports.object({
17825
+ component: Id4,
17826
+ runsOn: RunsOn.optional(),
17827
+ /**
17828
+ * A path the moved flows' entries go under on the target ("/legacy-cards"), so components
17829
+ * that serve the same paths can merge; callers are sent to the prefixed path.
17830
+ */
17831
+ prefix: external_exports.string().regex(/^\/[A-Za-z0-9._~{}/-]*[A-Za-z0-9._~}-]$/, "a path prefix: starts with /, no trailing /").optional()
17832
+ }),
17833
+ why: text3()
17834
+ })
17813
17835
  ]);
17814
17836
  var slug5 = (s) => s.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "").slice(0, 60);
17815
17837
  var DRAWN = "drawn on the canvas";
@@ -18046,13 +18068,15 @@ function applyStroke(deltas, stroke, estate, by, strokeId = newStrokeId()) {
18046
18068
  ];
18047
18069
  return { deltas: all2, changed: flows.map((f) => f.flow.id) };
18048
18070
  }
18071
+ case "absorb":
18072
+ return absorbStroke(before, stroke, estate, by, why);
18049
18073
  case "undo": {
18050
- const retired2 = before.find((x) => x.flow === stroke.flow && x.change === "remove");
18051
- const rid = retired2 ? strokeIdOf(retired2) : void 0;
18074
+ const marked = before.find((x) => x.flow === stroke.flow && strokeIdOf(x) !== void 0);
18075
+ const rid = marked ? strokeIdOf(marked) : before.find((x) => x.flow === stroke.flow)?.steps.map((s2) => strokeIdOf(s2)).find((id2) => id2 !== void 0 && before.some((x) => strokeIdOf(x) === id2));
18052
18076
  if (rid)
18053
18077
  return {
18054
- deltas: before.filter((x) => !(x.change === "remove" && strokeIdOf(x) === rid)),
18055
- changed: before.filter((x) => x.change === "remove" && strokeIdOf(x) === rid).map((x) => x.flow)
18078
+ deltas: before.filter((x) => strokeIdOf(x) !== rid).map((x) => ({ ...x, steps: x.steps.filter((y) => strokeIdOf(y) !== rid) })).filter((x) => !(x.steps.length === 0 && isDrawnDelta(x))),
18079
+ changed: before.filter((x) => strokeIdOf(x) === rid || x.steps.some((y) => strokeIdOf(y) === rid)).map((x) => x.flow)
18056
18080
  };
18057
18081
  const d = before.find((x) => x.flow === stroke.flow);
18058
18082
  const s = d?.steps[stroke.index];
@@ -18069,25 +18093,200 @@ function applyStroke(deltas, stroke, estate, by, strokeId = newStrokeId()) {
18069
18093
  }
18070
18094
  }
18071
18095
  }
18096
+ var markedWhy = (why, reason) => {
18097
+ const room = 500 - why("").length;
18098
+ return why(reason.length > room ? `${reason.slice(0, Math.max(0, room - 1))}\u2026` : reason);
18099
+ };
18100
+ function entryOf(flow, estate) {
18101
+ const ref2 = flow.trigger.ref;
18102
+ if (!ref2)
18103
+ return void 0;
18104
+ const r = estate.byId?.get(ref2);
18105
+ if (r?.kind === "Endpoint" && typeof r.pathOrTopic === "string")
18106
+ return typeof r.method === "string" && r.method ? `${r.method} ${r.pathOrTopic}` : r.pathOrTopic;
18107
+ return ref2;
18108
+ }
18109
+ function absorbStroke(before, stroke, estate, by, why) {
18110
+ const a = stroke.component;
18111
+ const b = stroke.into.component;
18112
+ const fail = (problem) => ({ deltas: before, changed: [], problem });
18113
+ if (a === b)
18114
+ return fail(`${a} can't be absorbed into itself.`);
18115
+ const flows = estate.flows.filter((f) => f.flow.component === a);
18116
+ const callers = estate.flows.flatMap((f) => f.flow.component === a ? [] : f.flow.steps.flatMap((s, i) => s.to?.component === a ? [{ f, step: i + 1, s }] : []));
18117
+ if (!flows.length && !callers.length)
18118
+ return fail(estate.ids.has(a) ? `${a} has no flow and no caller on today's map, so there is nothing of it to absorb yet.` : `${a} isn't a component of today's map.`);
18119
+ const ABSORBED = /^Absorbs (\S+) into (\S+?)[: ]/;
18120
+ const earlier = before.filter((d) => d.change === "remove" && ABSORBED.exec(d.why)?.[1] === a);
18121
+ const earlierInto = earlier.map((d) => ABSORBED.exec(d.why)[2]).find((x) => x !== void 0);
18122
+ if (earlierInto && earlierInto !== b)
18123
+ return fail(`${a} is absorbed into ${earlierInto} already in this change: absorb it there, or take that back first.`);
18124
+ const movedBefore = new Set(earlier.map((d) => d.flow));
18125
+ const retargetedBefore = (flow, step) => before.some((d) => d.flow === flow && d.steps.some((x) => x.op === "remove" && x.step === step && (x.why ?? "").startsWith(`${a} is absorbed into ${b}`)));
18126
+ if (earlierInto) {
18127
+ const pendingFlows = flows.filter((f) => !movedBefore.has(f.flow.id));
18128
+ const pendingCallers = callers.filter((c) => !retargetedBefore(c.f.flow.id, c.step));
18129
+ if (!pendingFlows.length && !pendingCallers.length)
18130
+ return fail(`${a} is absorbed into ${b} already, and the map shows nothing new of it since.`);
18131
+ flows.splice(0, flows.length, ...pendingFlows);
18132
+ callers.splice(0, callers.length, ...pendingCallers);
18133
+ }
18134
+ const removed = flows.filter((f) => before.some((d) => d.flow === f.flow.id && d.change === "remove"));
18135
+ if (removed.length)
18136
+ return fail(`${removed.map((f) => f.flow.id).join(", ")} ${removed.length === 1 ? "is" : "are"} changed in this change already: take that back first, then absorb ${a}.`);
18137
+ const prefix = stroke.into.prefix;
18138
+ const endpointOf2 = (e) => {
18139
+ const r = estate.byId?.get(e);
18140
+ return r?.kind === "Endpoint" && typeof r.pathOrTopic === "string" ? typeof r.method === "string" && r.method ? `${r.method} ${r.pathOrTopic}` : r.pathOrTopic : e;
18141
+ };
18142
+ const landed = (e) => {
18143
+ if (!prefix)
18144
+ return e;
18145
+ const m = /^([A-Z]+)\s+(\/.*)$/.exec(endpointOf2(e));
18146
+ return m ? `${m[1]} ${prefix}${m[2]}` : e;
18147
+ };
18148
+ const key3 = (e) => e.replace(/\s+/g, " ").trim().toLowerCase();
18149
+ const served = /* @__PURE__ */ new Set();
18150
+ for (const f of estate.flows)
18151
+ if (f.flow.component === b) {
18152
+ const e = entryOf(f.flow, estate);
18153
+ if (e)
18154
+ served.add(key3(e));
18155
+ }
18156
+ for (const d of before)
18157
+ if (d.change === "new" && d.trigger?.entry && (d.runsOn?.component === b || d.flow.startsWith(`${b}.`)))
18158
+ served.add(key3(d.trigger.entry));
18159
+ for (const f of flows) {
18160
+ const raw = entryOf(f.flow, estate);
18161
+ const e = raw ? landed(raw) : void 0;
18162
+ if (e && served.has(key3(e)))
18163
+ return fail(`${b} has a flow at ${e} already: a second flow can't take the same entry. Give the absorb a prefix (into.prefix: /something), take that one back, or absorb ${a} into another component.`);
18164
+ if (e)
18165
+ served.add(key3(e));
18166
+ }
18167
+ const busy = flows.filter((f) => before.some((d) => d.flow === f.flow.id));
18168
+ if (busy.length)
18169
+ return fail(`${busy.map((f) => f.flow.id).join(", ")} ${busy.length === 1 ? "is" : "are"} changed in this change already: take that back first, then absorb ${a}.`);
18170
+ const known = estate.ids.has(b) || estate.flows.some((f) => f.flow.component === b);
18171
+ const repo = repoOf(estate, b) ?? b;
18172
+ const taken = /* @__PURE__ */ new Set([
18173
+ ...estate.ids,
18174
+ ...estate.flows.map((f) => f.flow.id),
18175
+ ...before.map((d) => d.flow)
18176
+ ]);
18177
+ const idFor = (flow) => {
18178
+ const local = flow.startsWith(`${a}.`) ? flow.slice(a.length + 1) : slug5(flow);
18179
+ let id = `${b}.${local}`;
18180
+ for (let n = 2; taken.has(id); n++)
18181
+ id = `${b}.${local}-${n}`;
18182
+ taken.add(id);
18183
+ return id;
18184
+ };
18185
+ let all2 = [...before];
18186
+ const changed = [];
18187
+ for (const f of flows) {
18188
+ const raw = entryOf(f.flow, estate);
18189
+ const entry = raw ? landed(raw) : void 0;
18190
+ const id = idFor(f.flow.id);
18191
+ all2.push({
18192
+ schemaVersion: FLOW_DELTA_SCHEMA_VERSION,
18193
+ flow: id,
18194
+ repo,
18195
+ change: "new",
18196
+ name: f.flow.name,
18197
+ trigger: {
18198
+ kind: f.flow.trigger.kind,
18199
+ what: f.flow.trigger.what,
18200
+ ...entry ? { entry } : {}
18201
+ },
18202
+ why: markedWhy(why, `Absorbs ${a} into ${b} (flow ${f.flow.id}): ${stroke.why}`),
18203
+ ...!known || stroke.into.runsOn ? { runsOn: { component: b, ...stroke.into.runsOn ?? {} } } : {},
18204
+ steps: f.flow.steps.map((s) => ({
18205
+ op: "add",
18206
+ kind: s.kind,
18207
+ what: s.what,
18208
+ ...s.to ? {
18209
+ to: {
18210
+ component: s.to.component === a ? b : s.to.component,
18211
+ entry: s.to.component === a ? landed(s.to.entry) : s.to.entry,
18212
+ new: false
18213
+ }
18214
+ } : {},
18215
+ ...s.store ? { store: { table: s.store.table, columns: [...s.store.columns], new: false } } : {},
18216
+ ...s.data ? { fields: s.data } : {},
18217
+ ...s.repeats ? { repeats: s.repeats } : {},
18218
+ why: why()
18219
+ }))
18220
+ });
18221
+ all2.push({
18222
+ schemaVersion: FLOW_DELTA_SCHEMA_VERSION,
18223
+ flow: f.flow.id,
18224
+ repo: f.repo,
18225
+ change: "remove",
18226
+ why: markedWhy(why, `Absorbs ${a} into ${b}: ${stroke.why}`),
18227
+ steps: []
18228
+ });
18229
+ changed.push(id, f.flow.id);
18230
+ }
18231
+ for (const c of callers) {
18232
+ let d = all2.find((x) => x.flow === c.f.flow.id);
18233
+ if (d?.change === "remove")
18234
+ continue;
18235
+ if (d?.steps.some((s) => s.op !== "add" && s.step === c.step))
18236
+ return fail(`Step ${c.step} of ${c.f.flow.id} is changed already in this change: take that back first, then absorb ${a}.`);
18237
+ if (!d) {
18238
+ d = {
18239
+ schemaVersion: FLOW_DELTA_SCHEMA_VERSION,
18240
+ flow: c.f.flow.id,
18241
+ repo: c.f.repo,
18242
+ change: "modify",
18243
+ why: deltaWhy(by),
18244
+ steps: []
18245
+ };
18246
+ all2 = [...all2, d];
18247
+ }
18248
+ const flow = d.flow;
18249
+ const reason = `${a} is absorbed into ${b}`;
18250
+ all2 = all2.map((x) => x.flow === flow ? {
18251
+ ...x,
18252
+ steps: [
18253
+ ...x.steps,
18254
+ { op: "remove", step: c.step, why: why(reason) },
18255
+ {
18256
+ op: "add",
18257
+ after: c.step,
18258
+ kind: c.s.kind,
18259
+ what: c.s.what,
18260
+ to: { component: b, entry: landed(c.s.to.entry), new: false },
18261
+ why: why(reason)
18262
+ }
18263
+ ]
18264
+ } : x);
18265
+ changed.push(flow);
18266
+ }
18267
+ return { deltas: all2, changed: [...new Set(changed)] };
18268
+ }
18072
18269
  function drawnStrokes(deltas) {
18073
18270
  const out = [];
18074
18271
  const seen = /* @__PURE__ */ new Set();
18272
+ const whole = new Set(deltas.map((d) => strokeIdOf(d)).filter((id) => id !== void 0));
18075
18273
  for (const d of deltas) {
18076
- const rid = d.change === "remove" ? strokeIdOf(d) : void 0;
18274
+ const rid = strokeIdOf(d);
18077
18275
  if (rid && !seen.has(rid)) {
18078
18276
  seen.add(rid);
18079
18277
  const by = drawnBy(d);
18278
+ const absorbed = /^Absorbs (\S+) into (\S+?)[: ]/.exec(d.why);
18080
18279
  const component = /^Retires (\S+?):/.exec(d.why)?.[1];
18081
18280
  out.push({
18082
18281
  flow: d.flow,
18083
18282
  index: 0,
18084
- what: `retired ${component ?? d.flow}`,
18283
+ what: absorbed ? `absorbed ${absorbed[1]} into ${absorbed[2]}` : `retired ${component ?? d.flow}`,
18085
18284
  ...by ? { by } : {}
18086
18285
  });
18087
18286
  }
18088
18287
  d.steps.forEach((s, index) => {
18089
18288
  const id = strokeIdOf(s);
18090
- if (!id || seen.has(id))
18289
+ if (!id || seen.has(id) || whole.has(id))
18091
18290
  return;
18092
18291
  seen.add(id);
18093
18292
  const pair = d.steps.find((y, j) => j !== index && strokeIdOf(y) === id);
@@ -8,24 +8,26 @@ import {
8
8
  } from "./chunk-VOGCSYOI.js";
9
9
  import {
10
10
  readCatalog
11
- } from "./chunk-IKAW2KJU.js";
11
+ } from "./chunk-YRKAJ42V.js";
12
12
  import {
13
13
  TriageError,
14
14
  buildTriage,
15
15
  classify,
16
16
  scanInputs
17
- } from "./chunk-A4JXVO5O.js";
17
+ } from "./chunk-PGKCRK77.js";
18
18
  import {
19
19
  readDrawio,
20
20
  reconcile
21
- } from "./chunk-TDSCKP3V.js";
21
+ } from "./chunk-M6HI36T3.js";
22
22
  import {
23
23
  inputsDirOf,
24
- loadOrgPack,
25
24
  orgPackDirOf,
26
25
  recordPath,
27
26
  serializeRecord
28
- } from "./chunk-FPBUTZI5.js";
27
+ } from "./chunk-GLISHJ4G.js";
28
+ import {
29
+ loadOrgPack
30
+ } from "./chunk-LZFKJ2BR.js";
29
31
 
30
32
  // packages/cli/dist/intake-commands.js
31
33
  import { createHash } from "node:crypto";