@maycombhq/atticus 2.0.0-beta.10 → 2.0.0-beta.12

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 (235) hide show
  1. package/dist/bin.js +3 -3
  2. package/dist/{chunk-AY2IUF4K.js → chunk-22GLUHGE.js} +659 -73
  3. package/dist/{chunk-CIUHAHM6.js → chunk-2A24BNRZ.js} +8 -8
  4. package/dist/{chunk-2RX7PI2Y.js → chunk-2ELFEKOO.js} +4 -4
  5. package/dist/{chunk-QKEFZRHS.js → chunk-2P6IHSRO.js} +17 -17
  6. package/dist/chunk-2Q2YBAR5.js +40 -0
  7. package/dist/{chunk-7DUDLVFJ.js → chunk-2VQLFNBO.js} +20 -20
  8. package/dist/{chunk-E3Z67HRK.js → chunk-3256EDLL.js} +4 -4
  9. package/dist/{chunk-OIU657QQ.js → chunk-34BCKMBS.js} +4 -4
  10. package/dist/{chunk-UR7RMZ3R.js → chunk-34NWVIBC.js} +2 -2
  11. package/dist/{chunk-6VBXAGJX.js → chunk-36KD4OGC.js} +14 -14
  12. package/dist/{chunk-I7IWQIEB.js → chunk-3CFBU2O6.js} +4 -4
  13. package/dist/{chunk-OSGQW2Z6.js → chunk-3JLTN3Y7.js} +8 -8
  14. package/dist/{chunk-FOGG4AUR.js → chunk-3M7QBKKG.js} +25 -7
  15. package/dist/{chunk-UF7TAFJM.js → chunk-3RP34PYV.js} +18 -18
  16. package/dist/{chunk-YLAJAI2W.js → chunk-3ZKLWM5Y.js} +11 -11
  17. package/dist/{chunk-LTQANUDH.js → chunk-47HPZ34V.js} +25 -25
  18. package/dist/chunk-4BPROPGG.js +45 -0
  19. package/dist/{chunk-Y4BRGOJR.js → chunk-4G56W6H7.js} +13 -10
  20. package/dist/{chunk-YXJ4XOHF.js → chunk-4HIQ2FTI.js} +4 -4
  21. package/dist/{chunk-AJJK7GLO.js → chunk-4HTILEXW.js} +3 -3
  22. package/dist/{chunk-OJLRFGBP.js → chunk-4Q2PGM5T.js} +78 -15
  23. package/dist/{chunk-GR6YKM55.js → chunk-4RDW2X43.js} +108 -14
  24. package/dist/{chunk-23M2LUYM.js → chunk-4VOG5H2K.js} +1 -1
  25. package/dist/chunk-5CSZTVXH.js +34 -0
  26. package/dist/{chunk-65C57N7P.js → chunk-5FFMJMVH.js} +19 -19
  27. package/dist/{chunk-XNYNEEBR.js → chunk-5GGGAI5C.js} +18 -18
  28. package/dist/{chunk-IUD3ME4E.js → chunk-5H46QFSL.js} +4 -4
  29. package/dist/{chunk-KIHOIVST.js → chunk-5ION6STH.js} +3 -3
  30. package/dist/chunk-5M3CLAOV.js +39 -0
  31. package/dist/chunk-5OACMWWI.js +886 -0
  32. package/dist/{chunk-2HMWX4T6.js → chunk-6ENDKY52.js} +11 -11
  33. package/dist/{chunk-OS7PQ35Z.js → chunk-6FG7QKJC.js} +22 -22
  34. package/dist/{chunk-FEZE6NIA.js → chunk-6JV3YHRR.js} +18 -18
  35. package/dist/{chunk-WGZWR4RF.js → chunk-6ROZRBWH.js} +5 -5
  36. package/dist/{chunk-WARBF2KY.js → chunk-6S27MUQQ.js} +10 -6
  37. package/dist/{chunk-TZDSDDSV.js → chunk-72DY5NCN.js} +2 -2
  38. package/dist/chunk-76QVBNEM.js +37 -0
  39. package/dist/{chunk-N4QZJJVB.js → chunk-77UOXZVM.js} +5 -5
  40. package/dist/{chunk-LVGBKKSM.js → chunk-7AXMUE2U.js} +15 -15
  41. package/dist/{chunk-FJCFYKVO.js → chunk-7TEQF64E.js} +196 -76
  42. package/dist/{chunk-IDGSU7JF.js → chunk-7TH6I6TL.js} +9 -9
  43. package/dist/{chunk-ZONE6E3Z.js → chunk-7UKETVPW.js} +2 -2
  44. package/dist/{chunk-XKS6THI5.js → chunk-7VNEDDCC.js} +2 -2
  45. package/dist/{chunk-BMHGA7WD.js → chunk-A5GY2EWH.js} +12 -12
  46. package/dist/{chunk-E3JYO547.js → chunk-AEZ3EICK.js} +20 -20
  47. package/dist/{chunk-7F2RUWPU.js → chunk-ARLH2ZMD.js} +1 -1
  48. package/dist/{chunk-VKMTFIWS.js → chunk-AYVLEB55.js} +18 -18
  49. package/dist/chunk-B6X5PJSA.js +320 -0
  50. package/dist/{chunk-JMSEEBN4.js → chunk-BRCDEGNE.js} +1 -1
  51. package/dist/{chunk-67J3VZBA.js → chunk-BSVTNNUK.js} +5 -5
  52. package/dist/{chunk-3GTZ2OON.js → chunk-BTOGAUWX.js} +20 -11
  53. package/dist/{chunk-4SVJNVEE.js → chunk-BXBCMGIQ.js} +2 -0
  54. package/dist/chunk-BXP2Q4TD.js +48 -0
  55. package/dist/{chunk-XPEEICAO.js → chunk-BZRWJUB4.js} +15 -15
  56. package/dist/{chunk-MH5OCRUM.js → chunk-CH6LUQLD.js} +2 -2
  57. package/dist/{chunk-T6USVBEJ.js → chunk-CIIRPLI6.js} +5 -5
  58. package/dist/chunk-CJXM6SG4.js +339 -0
  59. package/dist/{chunk-5XDNUJ4P.js → chunk-CQD26SMZ.js} +4 -2
  60. package/dist/{chunk-7TGYNOXD.js → chunk-CW5SEPUT.js} +7 -7
  61. package/dist/{chunk-5KTOPOEP.js → chunk-CWSZP2LU.js} +25 -25
  62. package/dist/chunk-CXK27ZUY.js +32 -0
  63. package/dist/{chunk-YGKYFMSL.js → chunk-CXY4YDXS.js} +3 -3
  64. package/dist/{chunk-R64GLVBO.js → chunk-DDZZXVQ5.js} +10 -10
  65. package/dist/{chunk-7YYEKTYF.js → chunk-DGZXJO5I.js} +8 -8
  66. package/dist/{chunk-IV7BCWWN.js → chunk-DONCF2XC.js} +3 -3
  67. package/dist/{chunk-RRVT4MPS.js → chunk-DPNCAFMB.js} +18 -18
  68. package/dist/{chunk-UBWCUP3G.js → chunk-DQKNOHUZ.js} +2 -2
  69. package/dist/{chunk-NGPU2ARF.js → chunk-DW4BM73R.js} +1 -1
  70. package/dist/{chunk-PEF5OEMB.js → chunk-DWN7RSNQ.js} +4 -4
  71. package/dist/{chunk-KC5DROFC.js → chunk-DWYPYVPJ.js} +14 -14
  72. package/dist/{chunk-B7434AE2.js → chunk-E73QLYK7.js} +24 -3
  73. package/dist/{chunk-EX6ZXS5K.js → chunk-EE3UNC44.js} +4 -4
  74. package/dist/chunk-EJDZEK22.js +53 -0
  75. package/dist/{chunk-ISNZYKAS.js → chunk-ENZWVTTN.js} +21 -21
  76. package/dist/{chunk-ROTY5J2L.js → chunk-EREL3TQG.js} +1 -1
  77. package/dist/{chunk-ZZXF6OOJ.js → chunk-ESGIBN3S.js} +2 -2
  78. package/dist/{chunk-YGR6OCHQ.js → chunk-EU7VTBAI.js} +8 -14
  79. package/dist/chunk-F5GA6G3U.js +48 -0
  80. package/dist/{chunk-JAA53T23.js → chunk-F6FGIYPT.js} +20 -20
  81. package/dist/{chunk-NPCD54I7.js → chunk-FAET4BB6.js} +8 -5
  82. package/dist/{chunk-YPBQNJHA.js → chunk-FBFSTYAB.js} +8 -8
  83. package/dist/{chunk-OEI7LVRP.js → chunk-FEBYMFZA.js} +24 -24
  84. package/dist/chunk-FMV6IZ3P.js +54 -0
  85. package/dist/{chunk-F7UQR4ZX.js → chunk-FQ6IBYFC.js} +3 -3
  86. package/dist/{chunk-J5LHDJU4.js → chunk-FSJMFPA3.js} +7 -7
  87. package/dist/chunk-GFZ5MIQG.js +47 -0
  88. package/dist/{chunk-LK44ULGI.js → chunk-GHSVJNVL.js} +104 -11
  89. package/dist/{chunk-LRS573EX.js → chunk-GKPOCUQR.js} +12 -7
  90. package/dist/{chunk-LDKUC2QJ.js → chunk-GLSNVC67.js} +17 -17
  91. package/dist/{chunk-47QE246J.js → chunk-GMDOXWIS.js} +5 -5
  92. package/dist/{chunk-5MI2SEV5.js → chunk-GN5ZLSLD.js} +3 -3
  93. package/dist/{chunk-JQ7XQPQS.js → chunk-GUNBOZ75.js} +4 -4
  94. package/dist/{chunk-HHUFVJF7.js → chunk-GYS64N6F.js} +6 -6
  95. package/dist/{chunk-AKJTKMXU.js → chunk-HIQWJ6JZ.js} +5 -5
  96. package/dist/{chunk-6GNS32SI.js → chunk-HJ52XDST.js} +4 -4
  97. package/dist/{chunk-2KDSXJFJ.js → chunk-HJUEQERG.js} +34 -7
  98. package/dist/chunk-HKGQUOQ3.js +88 -0
  99. package/dist/chunk-HP32HUWR.js +41 -0
  100. package/dist/{chunk-R4TBNKKC.js → chunk-HY2VVVFZ.js} +1249 -610
  101. package/dist/{chunk-G5SFOH7P.js → chunk-I2PNEG3M.js} +38 -23
  102. package/dist/{chunk-Y5PZHS4K.js → chunk-INCECZ2E.js} +5 -5
  103. package/dist/{chunk-RK6MKKKP.js → chunk-ISXNWUG7.js} +1 -1
  104. package/dist/{chunk-73VPWF5R.js → chunk-ITJ7ST5E.js} +4 -4
  105. package/dist/{chunk-5IALSMZ2.js → chunk-J3VAFDEX.js} +14 -14
  106. package/dist/chunk-JGLZUQVN.js +29 -0
  107. package/dist/{chunk-5XN76FTF.js → chunk-JLIEAQP4.js} +5 -5
  108. package/dist/{chunk-MGVYVW7Q.js → chunk-JQG4VO47.js} +1 -1
  109. package/dist/chunk-JXXQHETS.js +130 -0
  110. package/dist/{chunk-APSVL2AI.js → chunk-KNGESBFW.js} +15 -15
  111. package/dist/{chunk-7UKVYFQ2.js → chunk-KUYA2E7M.js} +8 -8
  112. package/dist/{chunk-WLIIQ2A4.js → chunk-KY2ZHTBJ.js} +7 -7
  113. package/dist/{chunk-YPIEYQF4.js → chunk-L4UIKAWD.js} +6 -6
  114. package/dist/chunk-LDUJ6NIT.js +247 -0
  115. package/dist/{chunk-5YIBJXGB.js → chunk-LTLR4JZJ.js} +10 -10
  116. package/dist/{chunk-IZNSAEBX.js → chunk-MFRPLAOH.js} +2 -2
  117. package/dist/{chunk-6GWHKMQR.js → chunk-MH7UBG47.js} +4 -4
  118. package/dist/{chunk-4GZXS6S2.js → chunk-MLAACAES.js} +278 -17
  119. package/dist/{chunk-D3PO4DOZ.js → chunk-MMB2OHUY.js} +4 -2
  120. package/dist/{chunk-DDAHCPGA.js → chunk-MNCQ2GL7.js} +12 -12
  121. package/dist/{chunk-UYYN2IUZ.js → chunk-MNUZX67F.js} +6 -6
  122. package/dist/{chunk-YFSSNGLR.js → chunk-MQHYCS6A.js} +32 -29
  123. package/dist/{chunk-MKRBG5EF.js → chunk-MRLCNXXR.js} +1 -1
  124. package/dist/{chunk-BUYJL3GJ.js → chunk-NBQO75XT.js} +1 -1
  125. package/dist/{chunk-GXJVY6WT.js → chunk-NCONDPHH.js} +5 -5
  126. package/dist/{chunk-ZP4FJHR4.js → chunk-NHS55U7T.js} +18 -18
  127. package/dist/{chunk-CRE4BJHM.js → chunk-NL6XQZSV.js} +23 -23
  128. package/dist/{chunk-YVLMBAYE.js → chunk-NSJ6ZR2A.js} +3 -3
  129. package/dist/{chunk-XRO65C7V.js → chunk-NTNJNRHW.js} +8 -6
  130. package/dist/{chunk-FTV6I76U.js → chunk-NTTXTLCQ.js} +25 -25
  131. package/dist/chunk-NWL7XEQ4.js +37 -0
  132. package/dist/{chunk-CNKGYDMG.js → chunk-NWXY3B4R.js} +23 -23
  133. package/dist/{chunk-52R2YXP5.js → chunk-O5W4ECUY.js} +16 -16
  134. package/dist/{chunk-OGRWQ562.js → chunk-O6ILVBYB.js} +2 -2
  135. package/dist/{chunk-BJPMKJTL.js → chunk-OJAJXU65.js} +102 -2
  136. package/dist/{chunk-FZL2HNWP.js → chunk-OMH3I5BH.js} +3 -3
  137. package/dist/{chunk-MF7QH4AX.js → chunk-P6UJ22XR.js} +5 -5
  138. package/dist/{chunk-HE4ZQXZM.js → chunk-P76AW3PA.js} +309 -15
  139. package/dist/{chunk-GZ4TKR3Q.js → chunk-PCCPXWJC.js} +48 -139
  140. package/dist/{chunk-6TJCUYC5.js → chunk-PGFRXGHA.js} +3 -3
  141. package/dist/{chunk-NIXVDQVO.js → chunk-PJRMMWU4.js} +2 -2
  142. package/dist/{chunk-X4W4XXWP.js → chunk-PKJ3K3GM.js} +5 -5
  143. package/dist/{chunk-KM2FBM3T.js → chunk-PVW2N63M.js} +302 -55
  144. package/dist/{chunk-Y7KBQ4BD.js → chunk-Q55UP5EZ.js} +22 -22
  145. package/dist/{chunk-7URGP4DD.js → chunk-QAFMLBPF.js} +12 -12
  146. package/dist/{chunk-KIAI6PWL.js → chunk-QEZSA2O7.js} +17 -17
  147. package/dist/{chunk-PKCMRPPB.js → chunk-QJ3OX7OC.js} +33 -27
  148. package/dist/{chunk-6EDQE7GO.js → chunk-QL4VNY4U.js} +2 -2
  149. package/dist/{chunk-6JLPXDWN.js → chunk-QR65C3DV.js} +5 -5
  150. package/dist/{chunk-ILFKECGI.js → chunk-QXGOEP44.js} +4 -4
  151. package/dist/chunk-QY7RGTUP.js +326 -0
  152. package/dist/{chunk-PGKHJYOB.js → chunk-RA64IK43.js} +1 -1
  153. package/dist/{chunk-XB5RFZHH.js → chunk-RLJDYLID.js} +12 -12
  154. package/dist/{chunk-AWECWW5Y.js → chunk-RMLUZYEA.js} +13 -11
  155. package/dist/chunk-RSVBX6A3.js +54 -0
  156. package/dist/chunk-RZWZO2JQ.js +42 -0
  157. package/dist/chunk-S5LSDXV4.js +40 -0
  158. package/dist/{chunk-TM7LC37P.js → chunk-SAC6FNKR.js} +181 -117
  159. package/dist/{chunk-DPHCFZ7W.js → chunk-SCBU46AJ.js} +3 -3
  160. package/dist/{chunk-EZIUFEN6.js → chunk-SGNHNN3G.js} +12 -12
  161. package/dist/{chunk-XKZHAD6Y.js → chunk-SHAAGH3T.js} +15 -15
  162. package/dist/chunk-SK5OYWIY.js +122 -0
  163. package/dist/{chunk-FR7JPYBD.js → chunk-SNSFQ47W.js} +12 -12
  164. package/dist/{chunk-FV5YFR6I.js → chunk-SSL6JMPA.js} +9 -9
  165. package/dist/{chunk-XEG3FE2R.js → chunk-TA2ZNDYD.js} +1 -1
  166. package/dist/{chunk-JF2NSTFO.js → chunk-TEHH47TG.js} +3 -3
  167. package/dist/{chunk-W5OYJMBT.js → chunk-TEZSZ24W.js} +5 -5
  168. package/dist/{chunk-SS66Q4VE.js → chunk-TH526O6E.js} +12 -12
  169. package/dist/{chunk-R6B6XAKK.js → chunk-TIAPEYWI.js} +4 -4
  170. package/dist/chunk-TLCRIAU3.js +44 -0
  171. package/dist/{chunk-FMKKVWZD.js → chunk-TQYBXDVH.js} +2 -2
  172. package/dist/chunk-TV4CGNEY.js +43 -0
  173. package/dist/{chunk-QICFHVRW.js → chunk-TVSNWIAM.js} +8 -6
  174. package/dist/{chunk-CHC5FKTU.js → chunk-TWHZU36X.js} +1 -1
  175. package/dist/{chunk-BMCKL3VQ.js → chunk-TXV2AYZB.js} +24 -24
  176. package/dist/{chunk-577AJVRS.js → chunk-U25OX22K.js} +2039 -289
  177. package/dist/{chunk-7EKESFWV.js → chunk-U4NNG3ES.js} +11 -11
  178. package/dist/{chunk-XQ3YIV5R.js → chunk-U5T4A2QV.js} +6 -6
  179. package/dist/{chunk-2XM6PYQQ.js → chunk-UT5OA7KA.js} +43 -11
  180. package/dist/{chunk-BXIX7S7O.js → chunk-V3VCUSQ6.js} +15 -15
  181. package/dist/{chunk-4QUQEBFT.js → chunk-V5XV3JSP.js} +6 -6
  182. package/dist/{chunk-F7YL2RZ4.js → chunk-VF4VOPMB.js} +23 -23
  183. package/dist/{chunk-3QAKDIEU.js → chunk-VLDM4QZM.js} +23 -23
  184. package/dist/chunk-VP5H6DII.js +34 -0
  185. package/dist/{chunk-N3NBWIYQ.js → chunk-VRYQJZFL.js} +10 -9
  186. package/dist/{chunk-FQSRHTTC.js → chunk-VS6FS472.js} +15 -15
  187. package/dist/{chunk-YMOJD5BO.js → chunk-VTMIRRIZ.js} +3 -3
  188. package/dist/{chunk-4PJADZRR.js → chunk-VXSJKWB7.js} +16 -16
  189. package/dist/{chunk-MTAUZW2Z.js → chunk-WE5VMPUP.js} +216 -106
  190. package/dist/{chunk-ZE3P35DA.js → chunk-WEG7DY5K.js} +9 -9
  191. package/dist/{chunk-V2TH46ZY.js → chunk-WIF7A6JU.js} +12 -12
  192. package/dist/{chunk-GFXLPJWY.js → chunk-WM4N2L4T.js} +2 -2
  193. package/dist/{chunk-XIWYUQZQ.js → chunk-X64BFQ3R.js} +9 -9
  194. package/dist/{chunk-QWVBEK4P.js → chunk-XJRC3ZDI.js} +13 -13
  195. package/dist/{chunk-F2FOQLJ7.js → chunk-XVIVWG7B.js} +6 -6
  196. package/dist/{chunk-XTVDAHH2.js → chunk-Y3ZKT6IF.js} +5 -5
  197. package/dist/{chunk-62YMDXY6.js → chunk-YURIUFKF.js} +16 -16
  198. package/dist/{chunk-HKTUIMH4.js → chunk-YY2WGL6S.js} +3 -3
  199. package/dist/{chunk-BDEKREZH.js → chunk-Z2BA4NNR.js} +3 -3
  200. package/dist/{chunk-MTEBM4Y4.js → chunk-Z47YGBUY.js} +19 -12
  201. package/dist/chunk-Z4JSRKNR.js +41 -0
  202. package/dist/{chunk-G2E5MNYP.js → chunk-Z53ZB34U.js} +7 -7
  203. package/dist/{chunk-NNUASOAA.js → chunk-ZBOPIYOY.js} +12 -12
  204. package/dist/{chunk-7GB4ZRE2.js → chunk-ZBQCLKTH.js} +12 -12
  205. package/dist/chunk-ZGI7DNJ6.js +38 -0
  206. package/dist/{chunk-P3TKKBAH.js → chunk-ZPT4QX3J.js} +4 -4
  207. package/dist/chunk-ZS47PQ3O.js +41 -0
  208. package/dist/{chunk-PIVKU64W.js → chunk-ZTIMXVV5.js} +2 -2
  209. package/dist/{chunk-T4RTWMJD.js → chunk-ZYASEL7K.js} +5 -5
  210. package/dist/files.json +469 -417
  211. package/dist/packages/sdk/npm/index.js +2309 -1983
  212. package/dist/packages/ui/dist/assets/{elk-api-Mo5w5xCa.js → elk-api-D2NcYpUJ.js} +2 -2
  213. package/dist/packages/ui/dist/assets/{index-Bp3XhPHX.css → index-C0JEkXyN.css} +1 -1
  214. package/dist/packages/ui/dist/assets/index-CT7skl01.js +29 -0
  215. package/dist/packages/ui/dist/index.html +2 -2
  216. package/package.json +4 -4
  217. package/dist/chunk-26PLPSQW.js +0 -48
  218. package/dist/chunk-2G4DFUWJ.js +0 -43
  219. package/dist/chunk-2M6WXO73.js +0 -38
  220. package/dist/chunk-5F3RJCHB.js +0 -45
  221. package/dist/chunk-B2VSVN4P.js +0 -34
  222. package/dist/chunk-B3O52AUQ.js +0 -275
  223. package/dist/chunk-CITDNDIZ.js +0 -53
  224. package/dist/chunk-DAQBIK5G.js +0 -47
  225. package/dist/chunk-DZRQDNPT.js +0 -34
  226. package/dist/chunk-FLOEZA6K.js +0 -29
  227. package/dist/chunk-FNHSVBRA.js +0 -48
  228. package/dist/chunk-FPGVOSOG.js +0 -41
  229. package/dist/chunk-FZ2E5LGK.js +0 -54
  230. package/dist/chunk-HB6XSGI6.js +0 -131
  231. package/dist/chunk-HUZQDKQK.js +0 -48
  232. package/dist/chunk-L4VJ4ETL.js +0 -41
  233. package/dist/chunk-XPCWQXTY.js +0 -37
  234. package/dist/chunk-YIEOFHOL.js +0 -30
  235. package/dist/packages/ui/dist/assets/index-DM212ZbV.js +0 -29
@@ -3,17 +3,27 @@ import { fileURLToPath as __atticusFileURLToPath } from "node:url";
3
3
  var require = __atticusCreateRequire(import.meta.url);
4
4
  var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
5
5
  var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
6
+ import {
7
+ onboardingQueue,
8
+ queueWhy,
9
+ reasonOf
10
+ } from "./chunk-SK5OYWIY.js";
6
11
  import {
7
12
  houseUntaughtOf,
8
13
  houseUntaughtWords
9
- } from "./chunk-I7IWQIEB.js";
14
+ } from "./chunk-3CFBU2O6.js";
10
15
  import {
11
16
  repoIdKey
12
17
  } from "./chunk-MKFYQQ5Q.js";
13
18
  import {
14
19
  onboardingView
15
- } from "./chunk-2RX7PI2Y.js";
20
+ } from "./chunk-2ELFEKOO.js";
21
+ import {
22
+ catalogSources
23
+ } from "./chunk-HJUEQERG.js";
16
24
  import {
25
+ checkoutOf,
26
+ conventionsAt,
17
27
  loadReadPlan,
18
28
  partOfWords,
19
29
  readCostOf,
@@ -21,83 +31,70 @@ import {
21
31
  readPlanProgress,
22
32
  readPlanRelOf,
23
33
  tokensWords
24
- } from "./chunk-HE4ZQXZM.js";
25
- import {
26
- catalogSources
27
- } from "./chunk-2KDSXJFJ.js";
28
- import {
29
- checkoutOf,
30
- conventionsAt
31
- } from "./chunk-B3O52AUQ.js";
34
+ } from "./chunk-P76AW3PA.js";
32
35
  import {
33
36
  isMetarepo,
34
37
  notMetarepo
35
38
  } from "./chunk-3G4YI4ZU.js";
36
39
  import {
37
40
  readChangeTasks
38
- } from "./chunk-IDGSU7JF.js";
41
+ } from "./chunk-7TH6I6TL.js";
39
42
  import {
40
43
  ASSISTANT_FORMATS,
41
44
  probedAssistant,
42
45
  readProbes,
46
+ rulesLacking,
43
47
  whatRunsWhere
44
- } from "./chunk-LK44ULGI.js";
48
+ } from "./chunk-GHSVJNVL.js";
45
49
  import {
46
50
  metarepoOpenSpec,
47
51
  openspecProgress,
48
52
  readNeeds,
49
53
  seedCollisions
50
- } from "./chunk-KC5DROFC.js";
54
+ } from "./chunk-DWYPYVPJ.js";
51
55
  import {
52
56
  readChangeFiles
53
- } from "./chunk-47QE246J.js";
57
+ } from "./chunk-GMDOXWIS.js";
54
58
  import {
55
59
  changeStore,
56
60
  loadChangePolicy,
57
61
  stageCompletion
58
- } from "./chunk-XQ3YIV5R.js";
62
+ } from "./chunk-U5T4A2QV.js";
59
63
  import {
60
- estateRepos,
61
- joinReposOf,
62
- outsideSystems,
63
64
  readCatalog
64
- } from "./chunk-AY2IUF4K.js";
65
+ } from "./chunk-22GLUHGE.js";
65
66
  import {
66
67
  readKnowledge,
67
68
  snapshotDates,
68
69
  workingDays
69
- } from "./chunk-6JLPXDWN.js";
70
+ } from "./chunk-QR65C3DV.js";
70
71
  import {
71
72
  baseClonePath
72
- } from "./chunk-PGKHJYOB.js";
73
+ } from "./chunk-RA64IK43.js";
73
74
  import {
74
75
  stepClassOfNextStep
75
- } from "./chunk-5XDNUJ4P.js";
76
+ } from "./chunk-CQD26SMZ.js";
76
77
  import {
77
78
  ScanVerifyProposal,
78
79
  catalogDirOf,
79
80
  changesDirOf,
80
- factIdPart,
81
81
  factsDirOf,
82
82
  factsFileOf,
83
83
  factsRelOf,
84
84
  fastPathOf,
85
85
  headFromFiles,
86
86
  isAdopted,
87
- joinConventions,
88
- joinFacts,
89
87
  listQuestions,
90
88
  loadOrgPack,
91
89
  orderQuestions,
92
90
  orgPackDirOf,
93
- parseFacts,
94
91
  proposalsDirOf,
95
92
  questionWeights,
96
93
  readRepoSpec,
97
94
  readSpecFindings,
98
95
  require_dist,
99
96
  stepModelsOf
100
- } from "./chunk-577AJVRS.js";
97
+ } from "./chunk-U25OX22K.js";
101
98
  import {
102
99
  __toESM
103
100
  } from "./chunk-TV45EUGM.js";
@@ -105,107 +102,8 @@ import {
105
102
  // packages/cli/dist/next-commands.js
106
103
  var import_yaml = __toESM(require_dist(), 1);
107
104
  import { existsSync } from "node:fs";
108
- import { readdir, readFile as readFile2 } from "node:fs/promises";
109
- import { join as join2 } from "node:path";
110
-
111
- // packages/cli/dist/onboarding-queue.js
112
- import { readFile } from "node:fs/promises";
105
+ import { readdir, readFile } from "node:fs/promises";
113
106
  import { join } from "node:path";
114
- var reasonOf = (r) => r.started ? "started" : r.callers?.length ? "called" : r.gateway ? "gateway" : r.places ? "places" : "next";
115
- function queueOrder(a, b) {
116
- const rank = (r) => ["started", "called", "gateway", "places", "next"].indexOf(reasonOf(r));
117
- return rank(a) - rank(b) || (b.callers?.length ?? 0) - (a.callers?.length ?? 0) || Number(!!b.gateway) - Number(!!a.gateway) || a.index - b.index;
118
- }
119
- function queueWhy(r) {
120
- const callers = r.callers ?? [];
121
- const named = callers.length > 3 ? `${callers.slice(0, 3).join(", ")} and ${callers.length - 3} more` : callers.join(", ");
122
- switch (reasonOf(r)) {
123
- case "started":
124
- return "Its read is under way: finish it first.";
125
- case "called":
126
- return `${callers.length} read ${callers.length === 1 ? "repo calls" : "repos call"} it (${named})${r.gateway ? ", and it is a gateway" : ""}: read it next and ${callers.length === 1 ? "that link lands" : "those links land"}.`;
127
- case "gateway":
128
- return "It is a gateway (its manifest type): the calls through it join once it is read, so it goes before its callers.";
129
- case "places":
130
- return "It is a deploy or config repo (its manifest type): its Routes and values say where other repos are reached, so their links land once it is read.";
131
- default:
132
- return "Nothing read yet calls it: in the manifests' order.";
133
- }
134
- }
135
- var firstLine = (e) => String(e?.message ?? e).split("\n")[0];
136
- function callersOf(op, read, waiting) {
137
- const out = /* @__PURE__ */ new Map();
138
- if (!read.length || !waiting.length)
139
- return /* @__PURE__ */ new Map();
140
- const manifests = estateRepos(op);
141
- const byTarget = /* @__PURE__ */ new Map();
142
- for (const id of waiting) {
143
- const m = manifests.find((r) => r.id === id);
144
- byTarget.set(factIdPart(id), id);
145
- if (m?.component)
146
- byTarget.set(factIdPart(m.component), id);
147
- for (const mod of m?.modules ?? [])
148
- byTarget.set(factIdPart(mod.component), id);
149
- }
150
- const repos = joinReposOf(op, [
151
- ...read,
152
- ...waiting.filter((id) => !read.some((r) => r.repo === id)).map((repo) => ({ repo, facts: [] }))
153
- ]);
154
- const join3 = joinFacts({ repos, outside: outsideSystems(op), ...joinConventions(op) });
155
- for (const m of join3.misses) {
156
- const to = byTarget.get(factIdPart(m.target));
157
- if (!to || to === m.call.repo)
158
- continue;
159
- out.set(to, (out.get(to) ?? /* @__PURE__ */ new Set()).add(m.call.repo));
160
- }
161
- return new Map([...out].map(([k, v]) => [k, [...v].sort()]));
162
- }
163
- async function onboardingQueue(root, waiting) {
164
- const problems = [];
165
- let op;
166
- try {
167
- op = await loadOrgPack(orgPackDirOf(root));
168
- } catch (e) {
169
- problems.push({ file: "org-pack", message: firstLine(e) });
170
- }
171
- const manifests = op ? estateRepos(op) : [];
172
- const ids = waiting.map((w) => w.repo);
173
- let callers = /* @__PURE__ */ new Map();
174
- if (op) {
175
- const read = [];
176
- for (const m of manifests) {
177
- const text = await readFile(join(factsDirOf(root), `${m.id}.jsonl`), "utf8").catch(() => void 0);
178
- if (!text?.trim())
179
- continue;
180
- const p = parseFacts(text);
181
- if (p.ok)
182
- read.push({ repo: m.id, facts: p.facts });
183
- }
184
- try {
185
- callers = callersOf(op, read, ids);
186
- } catch (e) {
187
- problems.push({
188
- file: "facts",
189
- message: `the join couldn't rank the queue: ${firstLine(e)}`
190
- });
191
- }
192
- }
193
- const queue = waiting.map((w, index) => {
194
- const m = manifests.find((r) => r.id === w.repo);
195
- const by = callers.get(w.repo) ?? [];
196
- return {
197
- repo: w.repo,
198
- index,
199
- ...w.started ? { started: true } : {},
200
- ...m && /^gateway(-|$)/.test(m.type) ? { gateway: true } : {},
201
- ...m && /^(deploy|config)(-|$)/.test(m.type) ? { places: true } : {},
202
- ...by.length ? { callers: by } : {}
203
- };
204
- }).sort(queueOrder);
205
- return { queue, problems };
206
- }
207
-
208
- // packages/cli/dist/next-commands.js
209
107
  var METAREPO = "metarepo";
210
108
  var DRAFTING = ["feature", "architecture", "stories"];
211
109
  var draftingAt = (s) => DRAFTING.indexOf(s);
@@ -216,7 +114,7 @@ var canMoveOn = (state) => {
216
114
  var STALE_DAYS = 14;
217
115
  var plural = (n, one, many = `${one}s`) => `${n} ${n === 1 ? one : many}`;
218
116
  async function verifyState(root, repo) {
219
- const text = await readFile2(join2(proposalsDirOf(root), "scan", `${repo}.yaml`), "utf8").catch(() => void 0);
117
+ const text = await readFile(join(proposalsDirOf(root), "scan", `${repo}.yaml`), "utf8").catch(() => void 0);
220
118
  if (text === void 0)
221
119
  return "none";
222
120
  const p = ScanVerifyProposal.safeParse((0, import_yaml.parse)(text));
@@ -229,7 +127,7 @@ async function verifyState(root, repo) {
229
127
  return "done";
230
128
  }
231
129
  async function staleOf(root, repo) {
232
- const text = await readFile2(join2(factsDirOf(root), `${repo}.verify.yaml`), "utf8").catch(() => void 0);
130
+ const text = await readFile(join(factsDirOf(root), `${repo}.verify.yaml`), "utf8").catch(() => void 0);
233
131
  let facts;
234
132
  try {
235
133
  const c = (0, import_yaml.parse)(text ?? "")?.commit;
@@ -256,9 +154,9 @@ async function readNextState(root) {
256
154
  const problems = [...view.problems];
257
155
  const repos = [];
258
156
  const factIds = (await readdir(factsDirOf(root)).catch(() => [])).map((n) => factsFileOf(n)).flatMap((f) => f?.facts ? [f.repo] : []);
259
- const fromFacts = catalogSources((await readCatalog(join2(catalogDirOf(root), "generated"), { cacheRoot: root })).records);
157
+ const fromFacts = catalogSources((await readCatalog(join(catalogDirOf(root), "generated"), { cacheRoot: root })).records);
260
158
  for (const r of view.repos) {
261
- const hasFacts = existsSync(join2(factsDirOf(root), `${r.id}.jsonl`));
159
+ const hasFacts = existsSync(join(factsDirOf(root), `${r.id}.jsonl`));
262
160
  const near = hasFacts ? [] : factIds.filter((x) => x !== r.id && repoIdKey(x) === repoIdKey(r.id)).sort().map((x) => ({ id: x, file: `${factsRelOf(root)}/${x}.jsonl` }));
263
161
  const spec = await readRepoSpec(root, r.id, { cacheRoot: root });
264
162
  problems.push(...spec.problems);
@@ -267,6 +165,7 @@ async function readNextState(root) {
267
165
  const planFile = await loadReadPlan(root, r.id);
268
166
  const mapped = !!spec.header?.template.startsWith("facts@") || (fromFacts.get(r.id)?.facts ?? 0) > 0;
269
167
  const stale = mapped && hasFacts ? await staleOf(root, r.id) : void 0;
168
+ const rules = hasFacts && r.cloned && !await staleOf(root, r.id) ? rulesLacking(planFile?.rules) : [];
270
169
  repos.push({
271
170
  id: r.id,
272
171
  cloned: r.cloned,
@@ -279,6 +178,7 @@ async function readNextState(root) {
279
178
  described: !r.description ? "none" : r.description.trust === "suggested" ? "draft" : "said",
280
179
  ...mapped ? { facts: true } : {},
281
180
  ...stale ? { stale } : {},
181
+ ...rules.length ? { rules } : {},
282
182
  ...planFile ? { cost: readCostOf(planFile) } : {},
283
183
  ...hasFacts ? { read: true } : {},
284
184
  ...near.length ? { nearFacts: near } : {},
@@ -338,9 +238,9 @@ async function readNextState(root) {
338
238
  const names = new Set(op.profiles.flatMap((p) => (p.profile?.systems ?? []).flatMap((x) => [x.name, ...x.aliases])).map((n) => n.toLowerCase()));
339
239
  const missing = knowledge.items.filter((i) => (i.kind === "Product" && i.productKind === "product" || i.kind === "Party" && i.partyKind === "vendor" && !!i.quote) && ![i.name, ...i.aliases].some((n) => names.has(n.toLowerCase()))).length;
340
240
  let draft;
341
- for (const f of await readdir(join2(proposalsDirOf(root), "orgpack")).catch(() => []))
241
+ for (const f of await readdir(join(proposalsDirOf(root), "orgpack")).catch(() => []))
342
242
  if (f.endsWith(".yaml")) {
343
- const d = (0, import_yaml.parse)(await readFile2(join2(proposalsDirOf(root), "orgpack", f), "utf8"));
243
+ const d = (0, import_yaml.parse)(await readFile(join(proposalsDirOf(root), "orgpack", f), "utf8"));
344
244
  if (d?.platform && d.proposals?.length)
345
245
  draft = { platform: d.platform, proposals: d.proposals.length };
346
246
  }
@@ -359,7 +259,7 @@ async function readNextState(root) {
359
259
  try {
360
260
  for (const c of await changeStore(root).list()) {
361
261
  const clash = clashes.filter((x) => x.change === c.id).map(({ seed, repo, capability, flow }) => ({ seed, repo, capability, flow }));
362
- const files = await readChangeFiles(join2(changesDirOf(root), c.id)).catch(() => void 0);
262
+ const files = await readChangeFiles(join(changesDirOf(root), c.id)).catch(() => void 0);
363
263
  const stagesDone = (await stageCompletion({ root, policy }, c)).filter((s) => s.state === "done").map((s) => s.stage);
364
264
  const needs = await readNeeds(root, c.id);
365
265
  const open2 = needs?.needs.filter((n) => n.status === "open") ?? [];
@@ -380,13 +280,13 @@ async function readNextState(root) {
380
280
  id: c.id,
381
281
  state: c.state,
382
282
  tasks: files ? readChangeTasks(files).map((t) => ({ id: t.id, repo: t.repo, done: t.done })) : [],
383
- feature: existsSync(join2(changesDirOf(root), c.id, "feature.yaml")),
283
+ feature: existsSync(join(changesDirOf(root), c.id, "feature.yaml")),
384
284
  ...stagesDone.length ? { stagesDone } : {},
385
285
  ...progress?.next ? { openspecStage: progress.next } : {},
386
286
  ...clash.length ? { seedCollisions: clash } : {},
387
287
  ...await isFast(root, c, types) ? {
388
288
  fast: true,
389
- .../^state: done$/m.test(await readFile2(join2(changesDirOf(root), c.id, "stage", "small.yaml"), "utf8").catch(() => "")) ? { fastDone: true } : {}
289
+ .../^state: done$/m.test(await readFile(join(changesDirOf(root), c.id, "stage", "small.yaml"), "utf8").catch(() => "")) ? { fastDone: true } : {}
390
290
  } : {},
391
291
  ...needs ? {
392
292
  needs: {
@@ -415,10 +315,10 @@ async function readNextState(root) {
415
315
  }
416
316
  var UNDER_WAY = /* @__PURE__ */ new Set(["drafting", "waiting", "questions", "stopped"]);
417
317
  async function stageInProgress(root, change) {
418
- const dir = join2(changesDirOf(root), change, "stage");
318
+ const dir = join(changesDirOf(root), change, "stage");
419
319
  let newest;
420
320
  for (const f of (await readdir(dir).catch(() => [])).filter((x) => x.endsWith(".yaml"))) {
421
- const loop = await readFile2(join2(dir, f), "utf8").then((t) => {
321
+ const loop = await readFile(join(dir, f), "utf8").then((t) => {
422
322
  try {
423
323
  return (0, import_yaml.parse)(t);
424
324
  } catch {
@@ -435,7 +335,7 @@ async function isFast(root, c, types) {
435
335
  const type = types.find((t) => t.id === c.type);
436
336
  if (!type || type.size !== "small" && !type.smallWhenBriefSays)
437
337
  return false;
438
- const brief = await readFile2(join2(changesDirOf(root), c.id, "brief.md"), "utf8").catch(() => "");
338
+ const brief = await readFile(join(changesDirOf(root), c.id, "brief.md"), "utf8").catch(() => "");
439
339
  return fastPathOf(type, brief).fast;
440
340
  }
441
341
  function stageOf(state) {
@@ -681,6 +581,15 @@ function nextSteps(s) {
681
581
  why: `${r.id}'s clone moved past its facts' commit (facts ${r.stale.facts.slice(0, 12)}, clone ${r.stale.head.slice(0, 12)}): atticus estate fresh says how many facts to read again; your assistant reads only the files that changed.`,
682
582
  repo: r.id
683
583
  });
584
+ for (const r of s.repos.filter((x) => x.cloned && x.read && x.rules?.length))
585
+ out.push({
586
+ step: "rules",
587
+ command: `atticus map ${r.id} --rules`,
588
+ slash: `/atticus-map ${r.id} --rules`,
589
+ where: METAREPO,
590
+ why: `${r.id} was read before reading rules added since (${r.rules.join(", ")}): your assistant reads only the files they apply to, for what they ask, and atticus verify ${r.id} records the rules. atticus map --all --stale tops up every such repo.`,
591
+ repo: r.id
592
+ });
684
593
  const cloned = s.repos.filter((r) => r.cloned && !r.facts && r.scanned);
685
594
  for (const r of cloned.filter((x) => !x.settings))
686
595
  out.push({
@@ -9,9 +9,9 @@ import {
9
9
  reExecForMemory,
10
10
  roomGuard,
11
11
  streamFacts
12
- } from "./chunk-7F2RUWPU.js";
13
- import "./chunk-577AJVRS.js";
14
- import "./chunk-D3PO4DOZ.js";
12
+ } from "./chunk-ARLH2ZMD.js";
13
+ import "./chunk-U25OX22K.js";
14
+ import "./chunk-MMB2OHUY.js";
15
15
  import "./chunk-TV45EUGM.js";
16
16
  export {
17
17
  NoRoomError,
@@ -5,13 +5,13 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
5
5
  var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
6
6
  import {
7
7
  parseXml
8
- } from "./chunk-UR7RMZ3R.js";
8
+ } from "./chunk-34NWVIBC.js";
9
9
  import {
10
10
  ZipError,
11
11
  peekZip,
12
12
  readZip,
13
13
  require_dist
14
- } from "./chunk-577AJVRS.js";
14
+ } from "./chunk-U25OX22K.js";
15
15
  import {
16
16
  __toESM
17
17
  } from "./chunk-TV45EUGM.js";
@@ -5,25 +5,25 @@ var __atticusUrl = (p) => new URL("./" + p, import.meta.url).href;
5
5
  var __atticusPath = (p) => __atticusFileURLToPath(__atticusUrl(p));
6
6
  import {
7
7
  targetFlowsOf
8
- } from "./chunk-67J3VZBA.js";
8
+ } from "./chunk-BSVTNNUK.js";
9
9
  import {
10
10
  estimateChange,
11
11
  loadRelease,
12
12
  releaseForecast
13
- } from "./chunk-5YIBJXGB.js";
13
+ } from "./chunk-LTLR4JZJ.js";
14
14
  import {
15
15
  gateStatus,
16
16
  reviewedGates
17
- } from "./chunk-47QE246J.js";
17
+ } from "./chunk-GMDOXWIS.js";
18
18
  import {
19
19
  detectConflicts,
20
20
  outsideSystemsOf
21
- } from "./chunk-XQ3YIV5R.js";
21
+ } from "./chunk-U5T4A2QV.js";
22
22
  import {
23
23
  loadEstimates,
24
24
  loadOrgPack,
25
25
  orgPackDirOf
26
- } from "./chunk-577AJVRS.js";
26
+ } from "./chunk-U25OX22K.js";
27
27
 
28
28
  // packages/cli/dist/change-estimate.js
29
29
  import { relative, sep } from "node:path";