@staff0rd/assist 0.1143.1 → 0.1143.2

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 (606) hide show
  1. package/dist/acceptanceCriteria-CJ4GRITK.js +44 -0
  2. package/dist/activity-2SEJVUW5.js +73 -0
  3. package/dist/add-HXSZYGPR.js +51 -0
  4. package/dist/add-QQQ472AZ.js +250 -0
  5. package/dist/add-XWJN42HG.js +140 -0
  6. package/dist/addActivity-EZZ6TFDF.js +120 -0
  7. package/dist/addPhase-LOT43TS7.js +152 -0
  8. package/dist/addRule-J432LIS3.js +102 -0
  9. package/dist/addUserRule-XO2BNQFH.js +136 -0
  10. package/dist/adviceFragments-5XVE6JXX.js +41 -0
  11. package/dist/advise-E6QAZIMK.js +96 -0
  12. package/dist/analyze-2ECBFV3E.js +63 -0
  13. package/dist/ask-ESCDDQH5.js +47 -0
  14. package/dist/askCheck-EYZOXM6D.js +303 -0
  15. package/dist/askDesign-ZMHB4WKG.js +137 -0
  16. package/dist/askQuestion-EQV37YPA.js +149 -0
  17. package/dist/associateGithub-VYQUEKWJ.js +95 -0
  18. package/dist/associateJira-EUNZOJJC.js +83 -0
  19. package/dist/backup-3SNDW5JN.js +64 -0
  20. package/dist/blockCodeComments-PZHXN2WG.js +311 -0
  21. package/dist/branch-4YGQB3MS.js +98 -0
  22. package/dist/browserConsole-6ZRED7DG.js +50 -0
  23. package/dist/browserInspect-2IOKKWOF.js +42 -0
  24. package/dist/browserRun-JJVVNL6H.js +52 -0
  25. package/dist/browserSnapshot-Q3DUNUYP.js +32 -0
  26. package/dist/browserStatus-MEQAEC3K.js +38 -0
  27. package/dist/built-version +1 -1
  28. package/dist/chart-4G75ADCW.js +80 -0
  29. package/dist/check-QRHG4J7G.js +219 -0
  30. package/dist/checkBuildLocks-UBGUSNX5.js +9 -0
  31. package/dist/chunk-2DBSXFUE.js +40 -0
  32. package/dist/chunk-2DCOBBPI.js +50 -0
  33. package/dist/chunk-2EW62DM5.js +17 -0
  34. package/dist/chunk-2HT3GIJD.js +130 -0
  35. package/dist/chunk-2JYMVJGZ.js +21 -0
  36. package/dist/chunk-2KG6ZPX4.js +52 -0
  37. package/dist/chunk-2O7TIRCQ.js +39 -0
  38. package/dist/chunk-3E7RVOMC.js +27 -0
  39. package/dist/chunk-3FSX26XC.js +25 -0
  40. package/dist/chunk-3JXMQFUS.js +14 -0
  41. package/dist/chunk-3KLTYFPV.js +57 -0
  42. package/dist/chunk-3NK55YVZ.js +48 -0
  43. package/dist/chunk-3OMKOT6D.js +14 -0
  44. package/dist/chunk-3PM5JCHE.js +72 -0
  45. package/dist/chunk-3QKE2ONF.js +39 -0
  46. package/dist/chunk-3XQHTIHW.js +20 -0
  47. package/dist/chunk-4BVUY25U.js +21 -0
  48. package/dist/chunk-4GMAYXOS.js +18 -0
  49. package/dist/chunk-4HKB2TAG.js +11 -0
  50. package/dist/chunk-4JIXM5NT.js +21 -0
  51. package/dist/chunk-4L7TQE67.js +22 -0
  52. package/dist/chunk-4LFRCSJF.js +46 -0
  53. package/dist/chunk-4TIDERIW.js +12 -0
  54. package/dist/chunk-4VDWPVY6.js +258 -0
  55. package/dist/chunk-4XHBAEMS.js +37 -0
  56. package/dist/chunk-4Y4ADPEK.js +10 -0
  57. package/dist/chunk-4YAIQN3S.js +77 -0
  58. package/dist/chunk-4YHDWC5E.js +33 -0
  59. package/dist/chunk-547VKFOA.js +15 -0
  60. package/dist/chunk-54QTHCXV.js +12 -0
  61. package/dist/chunk-556BOFTS.js +44 -0
  62. package/dist/chunk-5G5VG5P7.js +14 -0
  63. package/dist/chunk-5JOVEUBS.js +17 -0
  64. package/dist/chunk-5KSIOK73.js +25 -0
  65. package/dist/chunk-5MFQ7T3G.js +40 -0
  66. package/dist/chunk-5PKWV3WT.js +8 -0
  67. package/dist/chunk-5VW2GS73.js +42 -0
  68. package/dist/chunk-5WQDLREX.js +40 -0
  69. package/dist/chunk-66EUBGD6.js +193 -0
  70. package/dist/chunk-6DGPQ67E.js +26 -0
  71. package/dist/chunk-6EYCU3MQ.js +41 -0
  72. package/dist/chunk-6G2ADBNV.js +19 -0
  73. package/dist/chunk-6H4DP3ZG.js +14 -0
  74. package/dist/chunk-6LI6DYBH.js +170 -0
  75. package/dist/chunk-6MNOEMDU.js +45 -0
  76. package/dist/chunk-6NDXAN45.js +90 -0
  77. package/dist/chunk-6NXP34PE.js +20 -0
  78. package/dist/chunk-6PF5BEEE.js +37 -0
  79. package/dist/chunk-6SOPR77J.js +12 -0
  80. package/dist/chunk-6T53CG7D.js +56 -0
  81. package/dist/chunk-7CEIET2O.js +31 -0
  82. package/dist/chunk-7DSWCPDZ.js +225 -0
  83. package/dist/chunk-7HMZTDGB.js +152 -0
  84. package/dist/chunk-7HNRCA3N.js +12 -0
  85. package/dist/chunk-7NPZZRMK.js +77 -0
  86. package/dist/chunk-7O466DJY.js +36 -0
  87. package/dist/chunk-7TT6C4IC.js +100 -0
  88. package/dist/chunk-7ZN4KX7V.js +26 -0
  89. package/dist/chunk-A5ELMTXR.js +143 -0
  90. package/dist/chunk-ABLDOQ4B.js +42 -0
  91. package/dist/chunk-ADIYP3KC.js +11 -0
  92. package/dist/chunk-ADLCDG2V.js +61 -0
  93. package/dist/chunk-AKF654AT.js +32 -0
  94. package/dist/chunk-ALAS5LZJ.js +22 -0
  95. package/dist/chunk-ANCYNQJA.js +16 -0
  96. package/dist/chunk-APS7GTRT.js +23 -0
  97. package/dist/chunk-APZ6ZTDA.js +8 -0
  98. package/dist/chunk-AVLELL42.js +34 -0
  99. package/dist/chunk-B3JSQA5D.js +25 -0
  100. package/dist/chunk-B5ZOANOD.js +51 -0
  101. package/dist/chunk-B6RAZW2L.js +14 -0
  102. package/dist/chunk-B7B26YPF.js +6 -0
  103. package/dist/chunk-BAHQJHYD.js +16 -0
  104. package/dist/chunk-BBXEZVRL.js +38 -0
  105. package/dist/chunk-BFQSGIN6.js +37 -0
  106. package/dist/chunk-BJDGVLYX.js +20 -0
  107. package/dist/chunk-BO5JCCC5.js +17 -0
  108. package/dist/chunk-BPZBZQEY.js +7450 -0
  109. package/dist/chunk-BV2V6RTH.js +89 -0
  110. package/dist/chunk-BVHK2VVT.js +31 -0
  111. package/dist/chunk-C3MGHR3N.js +25 -0
  112. package/dist/chunk-CDD4ZTG7.js +31 -0
  113. package/dist/chunk-CDU6M5IX.js +50 -0
  114. package/dist/chunk-CGYVYHMM.js +49 -0
  115. package/dist/chunk-CQQFVAGK.js +46 -0
  116. package/dist/chunk-CXJJGUTK.js +44 -0
  117. package/dist/chunk-D7UZLH36.js +8 -0
  118. package/dist/chunk-DBQTGW7F.js +48 -0
  119. package/dist/chunk-DIAC4XYA.js +29 -0
  120. package/dist/chunk-DISNKALJ.js +74 -0
  121. package/dist/chunk-DLNPUAH7.js +3932 -0
  122. package/dist/chunk-DS2YJZZY.js +34 -0
  123. package/dist/chunk-DZGYHAE7.js +31 -0
  124. package/dist/chunk-E36L7ASL.js +19 -0
  125. package/dist/chunk-E7AZAWIV.js +478 -0
  126. package/dist/chunk-EHRQ6OST.js +53 -0
  127. package/dist/chunk-EI42YEVC.js +208 -0
  128. package/dist/chunk-ENBVLWTC.js +25 -0
  129. package/dist/chunk-ENTJ2N5Y.js +34 -0
  130. package/dist/chunk-ERAGZGT5.js +166 -0
  131. package/dist/chunk-ERG23IG5.js +12 -0
  132. package/dist/chunk-EW2ZM2PC.js +6 -0
  133. package/dist/chunk-EYM57SNL.js +60 -0
  134. package/dist/chunk-F2LP5MBV.js +26 -0
  135. package/dist/chunk-FOPR6LRY.js +121 -0
  136. package/dist/chunk-FPWL4VRC.js +12 -0
  137. package/dist/chunk-FVZP4ULO.js +14 -0
  138. package/dist/chunk-FXGN4KLP.js +210 -0
  139. package/dist/chunk-FYYZG4GY.js +47 -0
  140. package/dist/chunk-G3ROBZ4I.js +31 -0
  141. package/dist/chunk-G44QYJ57.js +106 -0
  142. package/dist/chunk-GF4MNBOX.js +95 -0
  143. package/dist/chunk-GL5GKF5A.js +68 -0
  144. package/dist/chunk-GOGGPW2L.js +143 -0
  145. package/dist/chunk-GQF23TWI.js +14 -0
  146. package/dist/chunk-GRXFWFGP.js +49 -0
  147. package/dist/chunk-GVI4JSG7.js +13 -0
  148. package/dist/chunk-GVVK5XFZ.js +42 -0
  149. package/dist/chunk-GYAXLTV6.js +37 -0
  150. package/dist/chunk-H3WYQ2NE.js +15 -0
  151. package/dist/chunk-H6LFISSF.js +40 -0
  152. package/dist/chunk-HCANRBFK.js +19 -0
  153. package/dist/chunk-HHKS3UZB.js +16 -0
  154. package/dist/chunk-HKGCLAZ7.js +8 -0
  155. package/dist/chunk-HN7MFXZ7.js +46 -0
  156. package/dist/chunk-HSWDSL22.js +50 -0
  157. package/dist/chunk-HWUAJTHE.js +92 -0
  158. package/dist/chunk-HXBNHLL3.js +33 -0
  159. package/dist/chunk-I2ZQXBOS.js +108 -0
  160. package/dist/chunk-I3TEQBTO.js +88 -0
  161. package/dist/chunk-I5MLH7WJ.js +27 -0
  162. package/dist/chunk-IB543JQJ.js +70 -0
  163. package/dist/chunk-IBAO4LIZ.js +23 -0
  164. package/dist/chunk-IBPSXDUB.js +8 -0
  165. package/dist/chunk-IEK6CQQH.js +23 -0
  166. package/dist/chunk-IIFOAUOM.js +34 -0
  167. package/dist/chunk-IMKMNPRL.js +114 -0
  168. package/dist/chunk-INBM4BQQ.js +27 -0
  169. package/dist/chunk-IOKBCYSG.js +29 -0
  170. package/dist/chunk-IOYGR6YV.js +23 -0
  171. package/dist/chunk-IV7Z4UVQ.js +150 -0
  172. package/dist/chunk-IVBWOIGE.js +33 -0
  173. package/dist/chunk-IYTAHYEL.js +98 -0
  174. package/dist/chunk-IZBQH3LW.js +17 -0
  175. package/dist/chunk-J3C454L5.js +741 -0
  176. package/dist/chunk-J3GISX67.js +23 -0
  177. package/dist/chunk-JHBA5IZR.js +20 -0
  178. package/dist/chunk-JHIGA7GN.js +43 -0
  179. package/dist/chunk-JIWFLALZ.js +269 -0
  180. package/dist/chunk-JM57BCD6.js +30 -0
  181. package/dist/chunk-JNCFHWBK.js +30 -0
  182. package/dist/chunk-JNEYUOQ3.js +83 -0
  183. package/dist/chunk-JPM7HCLI.js +23 -0
  184. package/dist/chunk-JPRADR2E.js +10 -0
  185. package/dist/chunk-JRK7JDU4.js +30 -0
  186. package/dist/chunk-JVG5AJA2.js +29 -0
  187. package/dist/chunk-JVTCXR7C.js +72 -0
  188. package/dist/chunk-JW6QOUMN.js +18 -0
  189. package/dist/chunk-K45LIKCT.js +37 -0
  190. package/dist/chunk-K4T24UGW.js +18 -0
  191. package/dist/chunk-K4TQJQWA.js +44 -0
  192. package/dist/chunk-K5LOYASR.js +18 -0
  193. package/dist/chunk-K6NKWRK4.js +30 -0
  194. package/dist/chunk-KD2PWI4Z.js +48 -0
  195. package/dist/chunk-KGFZYUE2.js +54 -0
  196. package/dist/chunk-KHOVDX2Y.js +21 -0
  197. package/dist/chunk-KLEL6TMJ.js +22 -0
  198. package/dist/chunk-KNXHXMFT.js +77 -0
  199. package/dist/chunk-KP5S3FE5.js +13 -0
  200. package/dist/chunk-KUCVY5R7.js +40 -0
  201. package/dist/chunk-KY77XKAU.js +26 -0
  202. package/dist/chunk-L363MNYZ.js +14 -0
  203. package/dist/chunk-L73KKI5J.js +111 -0
  204. package/dist/chunk-LBAPKP6M.js +473 -0
  205. package/dist/chunk-LBPOEGTS.js +271 -0
  206. package/dist/chunk-LDVATRUW.js +23 -0
  207. package/dist/chunk-LFRSZIAS.js +13 -0
  208. package/dist/chunk-LKDW2GWH.js +9 -0
  209. package/dist/chunk-LMHILP5H.js +36 -0
  210. package/dist/chunk-LMUTL44M.js +58 -0
  211. package/dist/chunk-LOP6Y256.js +18 -0
  212. package/dist/chunk-LSBUNT4X.js +32 -0
  213. package/dist/chunk-M3O2BTJG.js +12 -0
  214. package/dist/chunk-M5YTH55B.js +284 -0
  215. package/dist/chunk-MBPVW7BY.js +63 -0
  216. package/dist/chunk-MELBVXKL.js +36 -0
  217. package/dist/chunk-MJ44T7R4.js +28 -0
  218. package/dist/chunk-MJ4RLQ5N.js +177 -0
  219. package/dist/chunk-MJLABLH5.js +58 -0
  220. package/dist/chunk-MODUPHYS.js +20 -0
  221. package/dist/chunk-MRUIXQXS.js +29 -0
  222. package/dist/chunk-MSCF3PKY.js +26 -0
  223. package/dist/chunk-MSKC2RCS.js +17 -0
  224. package/dist/chunk-MY4TNZNI.js +36 -0
  225. package/dist/chunk-N65VOEFI.js +23 -0
  226. package/dist/chunk-N755UYFK.js +58 -0
  227. package/dist/chunk-NBADZOXB.js +24 -0
  228. package/dist/chunk-NGTSPXSJ.js +9 -0
  229. package/dist/chunk-NGYZK6AF.js +18 -0
  230. package/dist/chunk-NH33OKZQ.js +23 -0
  231. package/dist/chunk-NOHNPOQK.js +49 -0
  232. package/dist/chunk-NPQGX4IO.js +16 -0
  233. package/dist/chunk-NQQVL7BY.js +56 -0
  234. package/dist/chunk-NWNODYLQ.js +25 -0
  235. package/dist/chunk-NYEGRDOK.js +191 -0
  236. package/dist/chunk-NZYSENRR.js +50 -0
  237. package/dist/chunk-O5JIFWMQ.js +39 -0
  238. package/dist/chunk-O6HFT23O.js +39 -0
  239. package/dist/chunk-OBC245PJ.js +39 -0
  240. package/dist/chunk-ODLSWRTS.js +21 -0
  241. package/dist/chunk-OGJ6AZK4.js +9 -0
  242. package/dist/chunk-ONODYZ2H.js +146 -0
  243. package/dist/chunk-ORSRBZ2X.js +15 -0
  244. package/dist/chunk-OU6Q5ZS3.js +16 -0
  245. package/dist/chunk-OZNYQOQK.js +25 -0
  246. package/dist/chunk-P253KAVC.js +75 -0
  247. package/dist/chunk-P26XSDFU.js +91 -0
  248. package/dist/chunk-P3RGVQ5B.js +12 -0
  249. package/dist/chunk-P7FVAGFQ.js +52 -0
  250. package/dist/chunk-PCF66ALO.js +39 -0
  251. package/dist/chunk-PD2BTMEY.js +598 -0
  252. package/dist/chunk-PGQK356A.js +22 -0
  253. package/dist/chunk-PIDKNOD6.js +25 -0
  254. package/dist/chunk-PIWSOEVM.js +63 -0
  255. package/dist/chunk-PRYIRRAS.js +21 -0
  256. package/dist/chunk-PURNABFX.js +22 -0
  257. package/dist/chunk-PXQTFJ2N.js +216 -0
  258. package/dist/chunk-PYACTCZ2.js +13 -0
  259. package/dist/chunk-PZAEU7LL.js +23 -0
  260. package/dist/chunk-Q35724GR.js +51 -0
  261. package/dist/chunk-Q7RUUXND.js +40 -0
  262. package/dist/chunk-Q7YVMIA3.js +32 -0
  263. package/dist/chunk-QAJUCN3A.js +76 -0
  264. package/dist/chunk-QJRCKXTM.js +38 -0
  265. package/dist/chunk-QKHOYKUQ.js +362 -0
  266. package/dist/chunk-QPRFHNX7.js +24 -0
  267. package/dist/chunk-QR7KY3Y6.js +19 -0
  268. package/dist/chunk-QU6OQZJ2.js +56 -0
  269. package/dist/chunk-QVQ2OJXX.js +144 -0
  270. package/dist/chunk-R2HLLDFE.js +36 -0
  271. package/dist/chunk-R72E45HQ.js +506 -0
  272. package/dist/chunk-RFMBA6WA.js +18 -0
  273. package/dist/chunk-RIMA7EFJ.js +35 -0
  274. package/dist/chunk-RNFWWESE.js +9 -0
  275. package/dist/chunk-ROBNJX4W.js +68 -0
  276. package/dist/chunk-ROCHUNJI.js +36 -0
  277. package/dist/chunk-RPRL6G4R.js +218 -0
  278. package/dist/chunk-RQFIPKKQ.js +187 -0
  279. package/dist/chunk-RSLB4ODM.js +30 -0
  280. package/dist/chunk-RTYIICCX.js +24 -0
  281. package/dist/chunk-RVABNGZW.js +46 -0
  282. package/dist/chunk-RXKI4XAU.js +21 -0
  283. package/dist/chunk-S4S2DD5Z.js +16 -0
  284. package/dist/chunk-S6FVZYHH.js +16 -0
  285. package/dist/chunk-S6XYTJU2.js +37 -0
  286. package/dist/chunk-SB4BG7PH.js +159 -0
  287. package/dist/chunk-SC4HAADN.js +224 -0
  288. package/dist/chunk-SDMBTSYP.js +15 -0
  289. package/dist/chunk-SDOEWLEE.js +22 -0
  290. package/dist/chunk-SEXIHLGA.js +16 -0
  291. package/dist/chunk-SOZZKFBX.js +171 -0
  292. package/dist/chunk-SSKHLBQB.js +15 -0
  293. package/dist/chunk-SW7FSLHP.js +26 -0
  294. package/dist/chunk-T2DY3T55.js +10 -0
  295. package/dist/chunk-T4TPIDXO.js +111 -0
  296. package/dist/chunk-T7ZPGAB5.js +192 -0
  297. package/dist/chunk-TA6KQ26I.js +43 -0
  298. package/dist/chunk-TCTX3UXU.js +19 -0
  299. package/dist/chunk-TJGF3Z72.js +12 -0
  300. package/dist/chunk-TK4AJIJZ.js +47 -0
  301. package/dist/chunk-TK4URTR6.js +104 -0
  302. package/dist/chunk-TQCCEWWN.js +89 -0
  303. package/dist/chunk-TUPSNHFZ.js +49 -0
  304. package/dist/chunk-TVQY3HPZ.js +43 -0
  305. package/dist/chunk-TZ5PVDAR.js +48 -0
  306. package/dist/chunk-U732RAGX.js +240 -0
  307. package/dist/chunk-UEWARAPX.js +37 -0
  308. package/dist/chunk-UGGH3MEX.js +26 -0
  309. package/dist/chunk-UJAMN3ML.js +85 -0
  310. package/dist/chunk-UJBW7FVI.js +384 -0
  311. package/dist/chunk-UJMXT5CS.js +855 -0
  312. package/dist/chunk-UN4ABKA7.js +48 -0
  313. package/dist/chunk-UP6QV5BJ.js +14 -0
  314. package/dist/chunk-US6TNW5V.js +28 -0
  315. package/dist/chunk-USKD27FY.js +11 -0
  316. package/dist/chunk-USVQT2SR.js +94 -0
  317. package/dist/chunk-UU77KEL6.js +20 -0
  318. package/dist/chunk-UXXJTR47.js +31 -0
  319. package/dist/chunk-UYD7R4HL.js +26 -0
  320. package/dist/chunk-VABNWHSE.js +31 -0
  321. package/dist/chunk-VAGZIGNN.js +54 -0
  322. package/dist/chunk-VDE2QVT4.js +14 -0
  323. package/dist/chunk-VDXS55BC.js +62 -0
  324. package/dist/chunk-VEZ3FL5H.js +16 -0
  325. package/dist/chunk-VF2SKQIN.js +79 -0
  326. package/dist/chunk-VPMI4LV2.js +25 -0
  327. package/dist/chunk-VRIT72KI.js +73 -0
  328. package/dist/chunk-VRQ4WDF7.js +22 -0
  329. package/dist/chunk-VUR35GB7.js +733 -0
  330. package/dist/chunk-W5FPQALS.js +36 -0
  331. package/dist/chunk-W64CKPAW.js +101 -0
  332. package/dist/chunk-W6UBSIJA.js +50 -0
  333. package/dist/chunk-W7TRZLEM.js +23 -0
  334. package/dist/chunk-WDODIKZ4.js +72 -0
  335. package/dist/chunk-WG3TXZMV.js +70 -0
  336. package/dist/chunk-WG4UDKA2.js +12 -0
  337. package/dist/chunk-WGV2ELBS.js +41 -0
  338. package/dist/chunk-WOGUXGZS.js +32 -0
  339. package/dist/chunk-WUG2UGQC.js +136 -0
  340. package/dist/chunk-WX5F66TN.js +438 -0
  341. package/dist/chunk-WXQ3EA5H.js +12 -0
  342. package/dist/chunk-WYNRHOR7.js +69 -0
  343. package/dist/chunk-WYVUP7Z3.js +33 -0
  344. package/dist/chunk-X44VETJF.js +13 -0
  345. package/dist/chunk-X6ETCS7E.js +656 -0
  346. package/dist/chunk-XA3VSUG6.js +72 -0
  347. package/dist/chunk-XADYGSUA.js +25 -0
  348. package/dist/chunk-XDIVXGPQ.js +73 -0
  349. package/dist/chunk-XEJODD6D.js +6 -0
  350. package/dist/chunk-XSJGIJEE.js +8 -0
  351. package/dist/chunk-XT3AOF2P.js +16 -0
  352. package/dist/chunk-XTPBXBZA.js +11 -0
  353. package/dist/chunk-XV2STPP6.js +45 -0
  354. package/dist/chunk-XV6BO5MK.js +28 -0
  355. package/dist/chunk-XXXMWMVQ.js +208 -0
  356. package/dist/chunk-XY5OS2GH.js +147 -0
  357. package/dist/chunk-XZFSW5AY.js +217 -0
  358. package/dist/chunk-Y2KEHWBZ.js +35 -0
  359. package/dist/chunk-Y3JV5CEL.js +19 -0
  360. package/dist/chunk-Y3R4C2P7.js +231 -0
  361. package/dist/chunk-YC3CIJQN.js +22 -0
  362. package/dist/chunk-YDA62L6J.js +147 -0
  363. package/dist/chunk-YIBSK5OC.js +13 -0
  364. package/dist/chunk-YJ72SXVD.js +12 -0
  365. package/dist/chunk-YKVLG4SZ.js +12 -0
  366. package/dist/chunk-YNHPTUHS.js +75 -0
  367. package/dist/chunk-YOFY27RM.js +10 -0
  368. package/dist/chunk-YPQ6OZFB.js +103 -0
  369. package/dist/chunk-YQ3CNWB3.js +54 -0
  370. package/dist/chunk-YS3HSXSJ.js +16 -0
  371. package/dist/chunk-YSNIMCKC.js +8 -0
  372. package/dist/chunk-YTIVOMM3.js +22 -0
  373. package/dist/chunk-YVL3NXEB.js +6 -0
  374. package/dist/chunk-YXXKT6LL.js +513 -0
  375. package/dist/chunk-YZ5KJFYU.js +8 -0
  376. package/dist/chunk-Z2YQQYCQ.js +64 -0
  377. package/dist/chunk-Z64YKE5O.js +208 -0
  378. package/dist/chunk-ZABRGL2F.js +45 -0
  379. package/dist/chunk-ZAMEG3EN.js +470 -0
  380. package/dist/chunk-ZDSSSQZZ.js +12 -0
  381. package/dist/chunk-ZFX4EZMW.js +20 -0
  382. package/dist/chunk-ZKVDVSCE.js +61 -0
  383. package/dist/chunk-ZLRZR64W.js +36 -0
  384. package/dist/chunk-ZLSFTNFJ.js +12 -0
  385. package/dist/chunk-ZMH7UZNP.js +14 -0
  386. package/dist/chunk-ZO7NYS25.js +18 -0
  387. package/dist/chunk-ZSHH4XS6.js +11 -0
  388. package/dist/chunk-ZWTRFLA6.js +31 -0
  389. package/dist/chunk-ZYE25KR3.js +12 -0
  390. package/dist/chunk-ZYK7V4PG.js +22 -0
  391. package/dist/clean-W43XKMR2.js +49 -0
  392. package/dist/cliHook-HA2YOEQG.js +96 -0
  393. package/dist/cliHookCheck-W66AII3A.js +74 -0
  394. package/dist/cloneRepo-LSIV3K3X.js +80 -0
  395. package/dist/closeSession-I2J2ICU4.js +30 -0
  396. package/dist/codeCommentConfirm-LGYBP6JX.js +69 -0
  397. package/dist/codeCommentSet-2YWQJXI2.js +115 -0
  398. package/dist/codexHook-YACIK7S3.js +200 -0
  399. package/dist/codexHookTrust-YYBCCR7P.js +59 -0
  400. package/dist/commands/sessions/web/bundle.js +1 -1
  401. package/dist/comment-R5MBHRIJ.js +46 -0
  402. package/dist/comment-SAOYKB2J.js +17 -0
  403. package/dist/commentIssue-PDIQVTZM.js +43 -0
  404. package/dist/comments-ABF3S3O5.js +56 -0
  405. package/dist/commit-ET4QBICB.js +511 -0
  406. package/dist/commits-QFWMYJC5.js +146 -0
  407. package/dist/configGet-42P4ONFD.js +94 -0
  408. package/dist/configImportRepos-ZIUYOKHH.js +142 -0
  409. package/dist/configImportUser-NWUPLRQE.js +177 -0
  410. package/dist/configKeys-HFGEHZBT.js +69 -0
  411. package/dist/configKeys-OGJBDYG6.js +73 -0
  412. package/dist/configList-CBYHO432.js +75 -0
  413. package/dist/configSet-3UHHWKDP.js +136 -0
  414. package/dist/configUnset-LYGRTYB3.js +121 -0
  415. package/dist/configure-ETWPCRNG.js +86 -0
  416. package/dist/coverage-G7J25BUX.js +17 -0
  417. package/dist/createIssue-AIQ3U4LC.js +357 -0
  418. package/dist/cyclomatic-7ZFTN5VN.js +18 -0
  419. package/dist/daemonStatus-YXGIS55D.js +112 -0
  420. package/dist/del-NHH7NU3Y.js +44 -0
  421. package/dist/deleteCommentCmd-SAG7WMDV.js +73 -0
  422. package/dist/denyAdd-YXXNFWMO.js +29 -0
  423. package/dist/denyList-IZVZEOSD.js +43 -0
  424. package/dist/denyRemove-4IUYBEMU.js +30 -0
  425. package/dist/deps-RSUOIZPE.js +117 -0
  426. package/dist/docsConfirm-2LAEAX3R.js +97 -0
  427. package/dist/docsUnlock-SCPIWHT5.js +93 -0
  428. package/dist/doctorNodes-JJ2EIU36.js +131 -0
  429. package/dist/done-ABRDBISM.js +92 -0
  430. package/dist/drainDaemon-LCQQ3EP4.js +96 -0
  431. package/dist/dropRetiredTables-JBLALSG5.js +31 -0
  432. package/dist/edit-CFPOK62A.js +133 -0
  433. package/dist/editHook-OWHBNL5T.js +388 -0
  434. package/dist/editIssue-C2G7D3VJ.js +281 -0
  435. package/dist/editIssueComment-5SIYQKI6.js +68 -0
  436. package/dist/exportBacklog-NGFOXXUG.js +24 -0
  437. package/dist/extension-YYRD5EM6.js +32 -0
  438. package/dist/extract-SGYOCBTT.js +688 -0
  439. package/dist/fixConflict-IPWVXZWO.js +66 -0
  440. package/dist/fixStructure-4UTN5ED6.js +436 -0
  441. package/dist/fixed-OTDA7M25.js +72 -0
  442. package/dist/forbiddenStrings-GVXIN7QW.js +88 -0
  443. package/dist/formatConfiguredCommands-WI25I2JJ.js +19 -0
  444. package/dist/getBacklogDir-AVGEKM42.js +18 -0
  445. package/dist/halstead-CMFRMXT6.js +18 -0
  446. package/dist/hardcodedColors-4NBF5Z53.js +61 -0
  447. package/dist/harnessFollowUps-PNR55PM4.js +87 -0
  448. package/dist/ignore-7E4ZV5XH.js +30 -0
  449. package/dist/importBacklog-FOGUOAIJ.js +228 -0
  450. package/dist/inSln-G4VRY7VM.js +22 -0
  451. package/dist/index.js +2832 -10
  452. package/dist/indexRules-65H3IE33.js +31 -0
  453. package/dist/init-2WH6WD64.js +9 -0
  454. package/dist/init-6Y2TC67U.js +23 -0
  455. package/dist/init-BELQ3LDU.js +25 -0
  456. package/dist/init-BNY2X74K.js +9 -0
  457. package/dist/init-PZIM2TEG.js +9 -0
  458. package/dist/inspect-OI5K5KSG.js +368 -0
  459. package/dist/jiraAuth-4Z5EVL7A.js +51 -0
  460. package/dist/launchMode-RBSRGUTI.js +85 -0
  461. package/dist/link-JDJBEJCL.js +124 -0
  462. package/dist/link-LYQZULAX.js +59 -0
  463. package/dist/linkNode-IZ7TMIBN.js +88 -0
  464. package/dist/lint-5AA42LMF.js +418 -0
  465. package/dist/list-BM6RD4CP.js +43 -0
  466. package/dist/list-GCJ6WCKC.js +34 -0
  467. package/dist/list-HCOU6YAY.js +28 -0
  468. package/dist/list-UXIZ6WY2.js +100 -0
  469. package/dist/list-ZR6AEAER.js +33 -0
  470. package/dist/list-ZVSHR4AA.js +113 -0
  471. package/dist/listComments-CTM5UMWI.js +203 -0
  472. package/dist/listModels-2US52LRW.js +74 -0
  473. package/dist/listNodes-HNKK3LEQ.js +54 -0
  474. package/dist/listRules-XBWM5DPH.js +41 -0
  475. package/dist/maintainability-P55FDYZW.js +19 -0
  476. package/dist/merge-MVMNYPO2.js +196 -0
  477. package/dist/mermaidExport-DKB3X763.js +108 -0
  478. package/dist/migrate-XZ562LTJ.js +37 -0
  479. package/dist/migrations-CSVJKLQC.js +206 -0
  480. package/dist/move-XAN7VFR4.js +63 -0
  481. package/dist/movePhase-AK3F6A6P.js +103 -0
  482. package/dist/moveRepo-P7LPCWIL.js +109 -0
  483. package/dist/netcap-FIHYF3LK.js +203 -0
  484. package/dist/netcapExtract-KAFERZ6V.js +462 -0
  485. package/dist/newCli-2HD56JUI.js +132 -0
  486. package/dist/newProject-5UN6N4MS.js +70 -0
  487. package/dist/next-FAAUSQLC.js +145 -0
  488. package/dist/next-H5RR3AHL.js +83 -0
  489. package/dist/noVenv-DONW2S6P.js +34 -0
  490. package/dist/nodeLogs-NNLS5TNI.js +64 -0
  491. package/dist/notify-NRLRUDFI.js +66 -0
  492. package/dist/permitCliReads-RSRMZMGS.js +313 -0
  493. package/dist/phaseDone-FBAQDO3S.js +99 -0
  494. package/dist/piHook-WAOTTSYE.js +89 -0
  495. package/dist/plan-GBSJWMXP.js +51 -0
  496. package/dist/postSlackMessage-SJQGYGJQ.js +21 -0
  497. package/dist/posted-ZNKIE73Q.js +76 -0
  498. package/dist/printComments-7ROHUEPO.js +169 -0
  499. package/dist/printExtensionUrl-IW2WTSNS.js +19 -0
  500. package/dist/prompts-SL6SHWOA.js +55 -0
  501. package/dist/propose-UAAUUCLA.js +307 -0
  502. package/dist/prs-2SRUKVTI.js +138 -0
  503. package/dist/prsSlackChannel-DY35HNQF.js +28 -0
  504. package/dist/prsStatus-6G3ZTK36.js +319 -0
  505. package/dist/pullIfConfigured-V2H6IFDQ.js +18 -0
  506. package/dist/raise-OBGNVBLZ.js +330 -0
  507. package/dist/raiseHelpText-6TECFMWR.js +148 -0
  508. package/dist/ravendbAuth-53OAERB3.js +147 -0
  509. package/dist/ravendbCollections-2NZYZR5P.js +35 -0
  510. package/dist/ravendbQuery-EY2XGKEK.js +89 -0
  511. package/dist/ravendbSetConnection-U7X27AIP.js +16 -0
  512. package/dist/readBodyArgument-NZG3GJMF.js +7 -0
  513. package/dist/readTime-23CA6JVM.js +168 -0
  514. package/dist/recordSlack-TZH2THZH.js +60 -0
  515. package/dist/redirect-G7WS7LDE.js +32 -0
  516. package/dist/refine-K4HJN4Y3.js +87 -0
  517. package/dist/refreshDocs-A5S2NQ5Z.js +65 -0
  518. package/dist/releasesConfigure-JA7QNAJF.js +211 -0
  519. package/dist/releasesList-EETLBTD2.js +39 -0
  520. package/dist/remove-CSUOZRGT.js +96 -0
  521. package/dist/remove-VIGXH42Y.js +43 -0
  522. package/dist/removePhase-S4WFO6PT.js +62 -0
  523. package/dist/rename-PM5VQUCY.js +96 -0
  524. package/dist/renameSession-IQ6RHQUJ.js +30 -0
  525. package/dist/renameSymbol-OOIIGF3B.js +78 -0
  526. package/dist/reply-4VV4LEYF.js +65 -0
  527. package/dist/reportCliError-6UDOLAIT.js +42 -0
  528. package/dist/repos-JP75ZTBU.js +130 -0
  529. package/dist/resolveHarness-A3F7CDF2.js +17 -0
  530. package/dist/resolveModel-GHXLN2T4.js +27 -0
  531. package/dist/restartDaemon-YSKQMKEQ.js +9 -0
  532. package/dist/restartNode-AAKYY7RP.js +59 -0
  533. package/dist/restructure-FJ3BME7E.js +760 -0
  534. package/dist/review-4XGSPYYJ.js +3870 -0
  535. package/dist/reviewPrComments-G7BLTDCB.js +80 -0
  536. package/dist/rewindPhase-D74DZJYB.js +82 -0
  537. package/dist/run-5GK74KHD.js +178 -0
  538. package/dist/run-E3IAT5WL.js +78 -0
  539. package/dist/runDaemon-7VRQFO4S.js +9284 -0
  540. package/dist/runExtract-IUEUT2IK.js +568 -0
  541. package/dist/runRefine-KCQDMHH7.js +99 -0
  542. package/dist/runScope-LCAGTKGG.js +39 -0
  543. package/dist/scan-ZYPLRIEG.js +74 -0
  544. package/dist/scheduleBackup-3UZQU67U.js +200 -0
  545. package/dist/schemaConfirm-BWQ37LUT.js +171 -0
  546. package/dist/schemaUnlock-6VDN2OVT.js +135 -0
  547. package/dist/screenshot-ARSOZ2M6.js +182 -0
  548. package/dist/search-JRE2KNWY.js +79 -0
  549. package/dist/seqAuth-6IPD5OPG.js +50 -0
  550. package/dist/seqQuery-HL6H4PMX.js +233 -0
  551. package/dist/seqSetConnection-IUCGBTON.js +30 -0
  552. package/dist/sessionOutput-NXHUXIKC.js +92 -0
  553. package/dist/setSessionStatus-HPHBUHVB.js +12 -0
  554. package/dist/setStatusCommand-WBRJ4BTB.js +61 -0
  555. package/dist/show-37KECDJB.js +327 -0
  556. package/dist/show-GL235RVD.js +186 -0
  557. package/dist/showClaudeCodeIcon-E4SAM3GN.js +12 -0
  558. package/dist/showCodexIcon-YUAKV4NI.js +11 -0
  559. package/dist/signExtension-7YGZ6OFR.js +182 -0
  560. package/dist/simulateDivergence-VB4UL4UR.js +27 -0
  561. package/dist/skip-ZZHUH3MU.js +76 -0
  562. package/dist/slack-74LWSKRK.js +221 -0
  563. package/dist/sloc-KPIIBOMR.js +18 -0
  564. package/dist/sqlAuth-IN4PYCIX.js +59 -0
  565. package/dist/sqlColumns-SNPMTHHK.js +50 -0
  566. package/dist/sqlMutate-4QC4IT4E.js +43 -0
  567. package/dist/sqlQuery-OAXPQJPY.js +53 -0
  568. package/dist/sqlSetConnection-UAX7TRB4.js +30 -0
  569. package/dist/sqlTables-ZM2PUJ7N.js +39 -0
  570. package/dist/star-2GG4JB3K.js +46 -0
  571. package/dist/start-BUUHD4ZQ.js +44 -0
  572. package/dist/startIssue-JSVKGZZR.js +135 -0
  573. package/dist/status-63OT6MGQ.js +38 -0
  574. package/dist/{chunk-W7ZLVOL6.js → statusLine-TK2QPCQO.js} +9 -4
  575. package/dist/stop-HG3UZOI6.js +52 -0
  576. package/dist/stopClaudeCodeIcon-P4AVHUOL.js +12 -0
  577. package/dist/stopCodexIcon-7O6D2SEH.js +11 -0
  578. package/dist/stopDaemon-XIYQ6SAW.js +8 -0
  579. package/dist/sync-HAAAJ4LC.js +826 -0
  580. package/dist/testflightAdd-MBJAAJGR.js +37 -0
  581. package/dist/unassignIssue-OXNUC2QQ.js +37 -0
  582. package/dist/unlink-TLLWWJIG.js +71 -0
  583. package/dist/unlinkNode-O7IZD5BN.js +41 -0
  584. package/dist/unstar-EEKVLJQI.js +46 -0
  585. package/dist/update-6NKPYHDT.js +72 -0
  586. package/dist/update-E72CS3ZO.js +160 -0
  587. package/dist/updateNode-FC4VXOHB.js +99 -0
  588. package/dist/updatePhase-USTBTRW4.js +163 -0
  589. package/dist/updatePlan-UIN3U6VU.js +315 -0
  590. package/dist/version-4E3HWTDD.js +47 -0
  591. package/dist/viewIssue-CYHIPCFO.js +36 -0
  592. package/dist/watchLoop-MV7DVGC6.js +30 -0
  593. package/dist/watchReport-A4W7UOAJ.js +23 -0
  594. package/dist/watchWait-FF65XUH2.js +538 -0
  595. package/dist/web-6YNOCOEQ.js +169 -0
  596. package/dist/web-L4OX5ZDA.js +178 -0
  597. package/dist/withPool-APJFDKR2.js +18 -0
  598. package/dist/wontdo-KOV5YLR6.js +52 -0
  599. package/dist/wontfix-UZTOERNG.js +79 -0
  600. package/dist/write-PH5YX6V5.js +132 -0
  601. package/dist/writeSignal-NGH5I4AX.js +8 -0
  602. package/package.json +1 -1
  603. package/dist/chunk-MYJJAJB7.js +0 -113
  604. package/dist/runCli-OSXLT6CQ.js +0 -65704
  605. package/dist/runStatusLine-6VBMFNUZ.js +0 -17
  606. package/dist/statusLine-PWO6JAR2.js +0 -7
@@ -0,0 +1,72 @@
1
+ import {
2
+ editEnforcement
3
+ } from "./chunk-GVVK5XFZ.js";
4
+
5
+ // src/shared/harnessAdapters/reviewFeatures.ts
6
+ var reviewerFeature = {
7
+ id: "reviewer",
8
+ label: "Code reviewer",
9
+ requires: ["oneShot.structured"]
10
+ };
11
+ var reviewSynthesisFeature = {
12
+ id: "reviewSynthesis",
13
+ label: "Review synthesis",
14
+ requires: ["oneShot.structured"]
15
+ };
16
+ var reviewRefineFeature = {
17
+ id: "reviewRefine",
18
+ label: "Review & refine",
19
+ requires: ["launch.terminal", ...editEnforcement]
20
+ };
21
+ var reviewApplyFeature = {
22
+ id: "reviewApply",
23
+ label: "Review & apply",
24
+ requires: ["launch.terminal", ...editEnforcement]
25
+ };
26
+ var reviewBacklogFeature = {
27
+ id: "reviewBacklog",
28
+ label: "Review & backlog",
29
+ requires: ["skills.native", "launch.terminal", ...editEnforcement]
30
+ };
31
+ var reviewCheckoutFeature = {
32
+ id: "reviewCheckout",
33
+ label: "PR checkout session",
34
+ requires: ["launch.terminal", ...editEnforcement]
35
+ };
36
+ var highLevelReviewFeature = {
37
+ id: "highLevelReview",
38
+ label: "High-level review",
39
+ requires: [
40
+ "skills.native",
41
+ "launch.terminal",
42
+ "tasks.notifyOnExit",
43
+ ...editEnforcement
44
+ ]
45
+ };
46
+ var highLevelGlobsFeature = {
47
+ id: "highLevelGlobs",
48
+ label: "High-level review glob proposals",
49
+ requires: ["oneShot.text"]
50
+ };
51
+ var reviewFeatures = [
52
+ reviewerFeature,
53
+ reviewSynthesisFeature,
54
+ reviewRefineFeature,
55
+ reviewApplyFeature,
56
+ reviewBacklogFeature,
57
+ reviewCheckoutFeature,
58
+ highLevelReviewFeature,
59
+ highLevelGlobsFeature
60
+ ];
61
+
62
+ export {
63
+ reviewerFeature,
64
+ reviewSynthesisFeature,
65
+ reviewRefineFeature,
66
+ reviewApplyFeature,
67
+ reviewBacklogFeature,
68
+ reviewCheckoutFeature,
69
+ highLevelReviewFeature,
70
+ highLevelGlobsFeature,
71
+ reviewFeatures
72
+ };
@@ -0,0 +1,25 @@
1
+ import {
2
+ findTsConfig
3
+ } from "./chunk-JNEYUOQ3.js";
4
+
5
+ // src/commands/refactor/extract/loadProjectFile.ts
6
+ import path from "path";
7
+ import chalk from "chalk";
8
+ import { Project } from "ts-morph";
9
+ function loadProjectFile(file) {
10
+ const sourcePath = path.resolve(file);
11
+ const tsConfigPath = findTsConfig(sourcePath);
12
+ const project = new Project({
13
+ tsConfigFilePath: tsConfigPath
14
+ });
15
+ const sourceFile = project.getSourceFile(sourcePath);
16
+ if (!sourceFile) {
17
+ console.log(chalk.red(`File not found in project: ${file}`));
18
+ process.exit(1);
19
+ }
20
+ return { project, sourceFile };
21
+ }
22
+
23
+ export {
24
+ loadProjectFile
25
+ };
@@ -0,0 +1,73 @@
1
+ // src/shared/harnesses.ts
2
+ import * as os from "os";
3
+ import * as path from "path";
4
+
5
+ // src/shared/checkCliAvailable.ts
6
+ import { execSync } from "child_process";
7
+ function checkCliAvailable(cli) {
8
+ const binary = cli.split(/\s+/)[0];
9
+ const opts = {
10
+ encoding: "utf8",
11
+ stdio: ["ignore", "pipe", "pipe"],
12
+ windowsHide: true
13
+ };
14
+ try {
15
+ execSync(`command -v ${binary}`, opts);
16
+ return true;
17
+ } catch {
18
+ try {
19
+ execSync(`where ${binary}`, opts);
20
+ return true;
21
+ } catch {
22
+ return false;
23
+ }
24
+ }
25
+ }
26
+
27
+ // src/shared/harnesses.ts
28
+ var claudeHarness = {
29
+ kind: "claude",
30
+ command: "claude",
31
+ homeDir: path.join(os.homedir(), ".claude"),
32
+ sync: {
33
+ commandDest: (name) => path.join("skills", name, "SKILL.md"),
34
+ designPromptDest: "design-system-prompt.md",
35
+ designSkillDest: (name) => path.join("skills", `${name}.md`),
36
+ nativeDesignSkills: false
37
+ }
38
+ };
39
+ var harnesses = {
40
+ claude: claudeHarness,
41
+ "claude-sdk": { ...claudeHarness, kind: "claude-sdk" },
42
+ codex: {
43
+ kind: "codex",
44
+ command: "codex",
45
+ homeDir: path.join(os.homedir(), ".codex"),
46
+ sync: {
47
+ commandDest: (name) => path.join("skills", name, "SKILL.md"),
48
+ designPromptDest: path.join("assist", "design-system-prompt.md"),
49
+ designSkillDest: (name) => path.join("skills", name, "SKILL.md"),
50
+ nativeDesignSkills: true
51
+ }
52
+ },
53
+ pi: {
54
+ kind: "pi",
55
+ command: "pi",
56
+ homeDir: path.join(os.homedir(), ".pi", "agent"),
57
+ sync: {
58
+ commandDest: (name) => path.join("prompts", `${name}.md`),
59
+ designPromptDest: path.join("assist", "design-system-prompt.md"),
60
+ designSkillDest: (name) => path.join("assist", "design-skills", `${name}.md`),
61
+ nativeDesignSkills: false
62
+ }
63
+ }
64
+ };
65
+ function isHarnessAvailable(kind) {
66
+ return checkCliAvailable(harnesses[kind].command);
67
+ }
68
+
69
+ export {
70
+ checkCliAvailable,
71
+ harnesses,
72
+ isHarnessAvailable
73
+ };
@@ -0,0 +1,6 @@
1
+ // src/commands/github/issue/fixStructure/types.ts
2
+ var defaultTypeChain = ["Epic", "Story", "Subtask"];
3
+
4
+ export {
5
+ defaultTypeChain
6
+ };
@@ -0,0 +1,8 @@
1
+ // src/commands/backlog/dump/DumpTable.ts
2
+ var DUMP_FORMAT = "assist-backlog-dump";
3
+ var DUMP_VERSION = 1;
4
+
5
+ export {
6
+ DUMP_FORMAT,
7
+ DUMP_VERSION
8
+ };
@@ -0,0 +1,16 @@
1
+ import {
2
+ parseAzureDevopsRemote
3
+ } from "./chunk-PIDKNOD6.js";
4
+ import {
5
+ remoteUrl
6
+ } from "./chunk-TVQY3HPZ.js";
7
+
8
+ // src/commands/review/azureDevopsRemote.ts
9
+ function azureDevopsRemote(cwd) {
10
+ const url = remoteUrl(cwd).url;
11
+ return url ? parseAzureDevopsRemote(url) : null;
12
+ }
13
+
14
+ export {
15
+ azureDevopsRemote
16
+ };
@@ -0,0 +1,11 @@
1
+ // src/commands/prs/isNotFound.ts
2
+ function isNotFound(error) {
3
+ if (error instanceof Error) {
4
+ return error.message.includes("HTTP 404") || error.message.includes("Could not resolve to a PullRequest");
5
+ }
6
+ return false;
7
+ }
8
+
9
+ export {
10
+ isNotFound
11
+ };
@@ -0,0 +1,45 @@
1
+ // src/commands/watch/resolveUpstream.ts
2
+ import { execFileSync } from "child_process";
3
+ function runGit(args, cwd) {
4
+ return execFileSync("git", args, {
5
+ encoding: "utf8",
6
+ stdio: ["pipe", "pipe", "pipe"],
7
+ cwd,
8
+ windowsHide: true
9
+ }).trim();
10
+ }
11
+ function resolveUpstream(cwd) {
12
+ try {
13
+ runGit(["rev-parse", "--is-inside-work-tree"], cwd);
14
+ } catch {
15
+ throw new Error(
16
+ "not a git repository \u2014 run assist watch wait from inside a repo"
17
+ );
18
+ }
19
+ let branch;
20
+ try {
21
+ branch = runGit(["symbolic-ref", "--quiet", "--short", "HEAD"], cwd);
22
+ } catch {
23
+ throw new Error(
24
+ "HEAD is detached \u2014 check out a branch before waiting on its upstream"
25
+ );
26
+ }
27
+ try {
28
+ return {
29
+ branch,
30
+ upstream: runGit(
31
+ ["rev-parse", "--abbrev-ref", "--symbolic-full-name", "@{u}"],
32
+ cwd
33
+ )
34
+ };
35
+ } catch {
36
+ throw new Error(
37
+ `branch "${branch}" has no upstream \u2014 set one with: git push -u origin ${branch}`
38
+ );
39
+ }
40
+ }
41
+
42
+ export {
43
+ runGit,
44
+ resolveUpstream
45
+ };
@@ -0,0 +1,28 @@
1
+ // src/commands/watch/decideLap.ts
2
+ var RELAUNCH_CODES = /* @__PURE__ */ new Set([0, 2, 4]);
3
+ function decideLap(end, interrupted) {
4
+ if (interrupted) return { kind: "exit", code: 130 };
5
+ if (end.code === null) return { kind: "relaunch" };
6
+ if (RELAUNCH_CODES.has(end.code)) return { kind: "relaunch" };
7
+ return { kind: "exit", code: end.code };
8
+ }
9
+
10
+ // src/commands/watch/runWatchLap.ts
11
+ import { spawn } from "child_process";
12
+ var WATCH_LAP_ARGS = ["watch", "wait", "--pull", "--build"];
13
+ function runWatchLap() {
14
+ return new Promise((resolve, reject) => {
15
+ const assistFromPath = spawn("assist", WATCH_LAP_ARGS, {
16
+ stdio: "inherit",
17
+ shell: process.platform === "win32"
18
+ });
19
+ assistFromPath.on("close", (code, signal) => resolve({ code, signal }));
20
+ assistFromPath.on("error", reject);
21
+ });
22
+ }
23
+
24
+ export {
25
+ decideLap,
26
+ WATCH_LAP_ARGS,
27
+ runWatchLap
28
+ };
@@ -0,0 +1,208 @@
1
+ import {
2
+ parseMaintainabilityOverride
3
+ } from "./chunk-4JIXM5NT.js";
4
+ import {
5
+ calculateCyclomaticComplexity,
6
+ calculateHalstead,
7
+ countSloc,
8
+ forEachFunction,
9
+ withSourceFiles
10
+ } from "./chunk-JIWFLALZ.js";
11
+
12
+ // src/commands/complexity/maintainability/aggregateResults.ts
13
+ function aggregateResults(fileMetrics) {
14
+ const results = [];
15
+ for (const [file, metrics] of fileMetrics) {
16
+ if (metrics.functions.length === 0) continue;
17
+ const avgMaintainability = metrics.functions.reduce((a, b) => a + b, 0) / metrics.functions.length;
18
+ const minMaintainability = Math.min(...metrics.functions);
19
+ results.push({
20
+ file,
21
+ avgMaintainability,
22
+ minMaintainability,
23
+ override: metrics.override
24
+ });
25
+ }
26
+ results.sort((a, b) => a.minMaintainability - b.minMaintainability);
27
+ return results;
28
+ }
29
+
30
+ // src/commands/complexity/maintainability/collectFileMetrics.ts
31
+ import fs from "fs";
32
+
33
+ // src/commands/complexity/maintainability/calculateMaintainabilityIndex.ts
34
+ function calculateMaintainabilityIndex(halsteadVolume, cyclomaticComplexity, sloc) {
35
+ if (halsteadVolume === 0 || sloc === 0) {
36
+ return 100;
37
+ }
38
+ const mi = 171 - 5.2 * Math.log(halsteadVolume) - 0.23 * cyclomaticComplexity - 16.2 * Math.log(sloc);
39
+ return Math.max(0, Math.min(100, mi));
40
+ }
41
+
42
+ // src/commands/complexity/maintainability/collectFileMetrics.ts
43
+ function collectFileMetrics(files) {
44
+ const fileMetrics = /* @__PURE__ */ new Map();
45
+ for (const file of files) {
46
+ const content = fs.readFileSync(file, "utf8");
47
+ fileMetrics.set(file, {
48
+ sloc: countSloc(content),
49
+ functions: [],
50
+ override: parseMaintainabilityOverride(content)
51
+ });
52
+ }
53
+ forEachFunction(files, (file, _name, node) => {
54
+ const metrics = fileMetrics.get(file);
55
+ if (metrics) {
56
+ const complexity = calculateCyclomaticComplexity(node);
57
+ const halstead = calculateHalstead(node);
58
+ const mi = calculateMaintainabilityIndex(
59
+ halstead.volume,
60
+ complexity,
61
+ metrics.sloc
62
+ );
63
+ metrics.functions.push(mi);
64
+ }
65
+ });
66
+ return fileMetrics;
67
+ }
68
+
69
+ // src/commands/complexity/maintainability/displayMaintainabilityResults.ts
70
+ import chalk4 from "chalk";
71
+
72
+ // src/commands/complexity/maintainability/formatResultLine.ts
73
+ import chalk from "chalk";
74
+ function formatResultLine(entry, failing) {
75
+ const { file, avgMaintainability, minMaintainability, override } = entry;
76
+ const name = failing ? chalk.red(file) : chalk.white(file);
77
+ const suffix = override !== void 0 ? chalk.magenta(` (override: ${override})`) : "";
78
+ return `${name} \u2192 avg: ${chalk.cyan(avgMaintainability.toFixed(1))}, min: ${chalk.yellow(minMaintainability.toFixed(1))}${suffix}`;
79
+ }
80
+
81
+ // src/commands/complexity/maintainability/getMaintainabilityGitState.ts
82
+ import { execSync } from "child_process";
83
+ import path from "path";
84
+ function git(command) {
85
+ return execSync(command, { encoding: "utf8" });
86
+ }
87
+ function toAbsolute(root, repoRelative) {
88
+ return path.resolve(root, repoRelative);
89
+ }
90
+ function collectShrunkFiles(root) {
91
+ const shrunk = /* @__PURE__ */ new Set();
92
+ const numstat = git("git diff --numstat HEAD").trim();
93
+ if (numstat === "") return shrunk;
94
+ for (const line of numstat.split("\n")) {
95
+ const [addedRaw, removedRaw, ...rest] = line.split(" ");
96
+ const file = rest.join(" ");
97
+ const added = Number.parseInt(addedRaw, 10);
98
+ const removed = Number.parseInt(removedRaw, 10);
99
+ if (Number.isNaN(added) || Number.isNaN(removed)) continue;
100
+ if (removed > added) shrunk.add(toAbsolute(root, file));
101
+ }
102
+ return shrunk;
103
+ }
104
+ function hasNewSourceFile() {
105
+ const status = git("git status --porcelain --untracked-files=all").trim();
106
+ if (status === "") return false;
107
+ for (const line of status.split("\n")) {
108
+ const code = line.slice(0, 2);
109
+ const file = line.slice(3);
110
+ const isNew = code.includes("A") || code.includes("?");
111
+ if (isNew && (file.endsWith(".ts") || file.endsWith(".tsx"))) return true;
112
+ }
113
+ return false;
114
+ }
115
+ function getMaintainabilityGitState() {
116
+ try {
117
+ const root = git("git rev-parse --show-toplevel").trim();
118
+ return {
119
+ shrunkFiles: collectShrunkFiles(root),
120
+ newFileCreated: hasNewSourceFile()
121
+ };
122
+ } catch {
123
+ return { shrunkFiles: /* @__PURE__ */ new Set(), newFileCreated: false };
124
+ }
125
+ }
126
+
127
+ // src/commands/complexity/maintainability/printMaintainabilityFailure.ts
128
+ import path2 from "path";
129
+ import chalk2 from "chalk";
130
+ var extractTemplate = "assist refactor extract <file> <functionName> <destination> --apply";
131
+ function remediationLine(entry) {
132
+ return ` ${chalk2.bold(entry.file)}
133
+ Pick a responsibility and extract it:
134
+ ${chalk2.cyan(extractTemplate)}`;
135
+ }
136
+ function cheatLine(entry, gitState) {
137
+ const shrank = gitState.shrunkFiles.has(path2.resolve(entry.file));
138
+ if (!shrank || gitState.newFileCreated) return "";
139
+ return `
140
+ ${chalk2.red("\u2717 You shrank existing lines in this file without creating a new file. That cannot clear the gate \u2014 extract a responsibility to a new file.")}`;
141
+ }
142
+ function printMaintainabilityFailure(failing, gitState) {
143
+ const blocks = failing.map((entry) => `${remediationLine(entry)}${cheatLine(entry, gitState)}`).join("\n");
144
+ console.error(
145
+ chalk2.red(
146
+ `
147
+ Fail: ${failing.length} file(s) below threshold \u2192 extract a responsibility to a new file.
148
+
149
+ ${blocks}
150
+
151
+ ${chalk2.bold("Diagnose and fix one file at a time.")} Only a new file (Write) or 'assist refactor extract' clears this gate \u2014 editing the existing lines does not.`
152
+ )
153
+ );
154
+ }
155
+
156
+ // src/commands/complexity/maintainability/printMaintainabilityFormula.ts
157
+ import chalk3 from "chalk";
158
+ var MI_FORMULA = "171 - 5.2*ln(HalsteadVolume) - 0.23*CyclomaticComplexity - 16.2*ln(SLOC), clamped 0-100";
159
+ function printMaintainabilityFormula() {
160
+ console.log(chalk3.dim(MI_FORMULA));
161
+ }
162
+
163
+ // src/commands/complexity/maintainability/displayMaintainabilityResults.ts
164
+ function displayMaintainabilityResults(results, threshold, gitState = getMaintainabilityGitState()) {
165
+ const gating = threshold !== void 0 || results.some((r) => r.override !== void 0);
166
+ if (!gating) {
167
+ printMaintainabilityFormula();
168
+ for (const entry of results) console.log(formatResultLine(entry, false));
169
+ console.log(chalk4.dim(`
170
+ Analyzed ${results.length} files`));
171
+ return;
172
+ }
173
+ const failing = results.filter((r) => {
174
+ const limit = r.override ?? threshold;
175
+ return limit !== void 0 && r.minMaintainability < limit;
176
+ });
177
+ if (failing.length === 0) {
178
+ console.log(chalk4.green("All files pass maintainability threshold"));
179
+ }
180
+ const passingOverrides = results.filter(
181
+ (r) => r.override !== void 0 && !failing.includes(r)
182
+ );
183
+ for (const entry of passingOverrides)
184
+ console.log(formatResultLine(entry, false));
185
+ console.log(chalk4.dim(`
186
+ Analyzed ${results.length} files`));
187
+ if (failing.length > 0) {
188
+ printMaintainabilityFailure(failing, gitState);
189
+ process.exit(1);
190
+ }
191
+ }
192
+
193
+ // src/commands/complexity/maintainability.ts
194
+ async function maintainability(pattern = "**/*.ts", options = {}) {
195
+ withSourceFiles(
196
+ pattern,
197
+ (files) => {
198
+ const fileMetrics = collectFileMetrics(files);
199
+ const results = aggregateResults(fileMetrics);
200
+ displayMaintainabilityResults(results, options.threshold);
201
+ },
202
+ options.ignore ?? []
203
+ );
204
+ }
205
+
206
+ export {
207
+ maintainability
208
+ };
@@ -0,0 +1,147 @@
1
+ import {
2
+ azCliProblem
3
+ } from "./chunk-UN4ABKA7.js";
4
+ import {
5
+ getCurrentBranch
6
+ } from "./chunk-2HT3GIJD.js";
7
+
8
+ // src/commands/prs/azureDevops/azureDevopsThreadRequests.ts
9
+ function prRoute(pr) {
10
+ return {
11
+ project: pr.project,
12
+ repositoryId: pr.repo,
13
+ pullRequestId: pr.prId
14
+ };
15
+ }
16
+ var azureDevopsThreadRequests = {
17
+ list(pr) {
18
+ return {
19
+ org: pr.org,
20
+ resource: "pullRequestThreads",
21
+ routeParameters: prRoute(pr)
22
+ };
23
+ },
24
+ reply(pr, threadId, content) {
25
+ return {
26
+ org: pr.org,
27
+ resource: "pullRequestThreadComments",
28
+ routeParameters: { ...prRoute(pr), threadId },
29
+ method: "POST",
30
+ body: { content, commentType: 1 }
31
+ };
32
+ },
33
+ status(pr, threadId, status) {
34
+ return {
35
+ org: pr.org,
36
+ resource: "pullRequestThreads",
37
+ routeParameters: { ...prRoute(pr), threadId },
38
+ method: "PATCH",
39
+ body: { status }
40
+ };
41
+ }
42
+ };
43
+
44
+ // src/commands/prs/azureDevops/currentAzureDevopsPr.ts
45
+ import { execFileSync } from "child_process";
46
+ function findPrForBranch(repo, branch) {
47
+ const stdout = execFileSync(
48
+ "az",
49
+ [
50
+ "repos",
51
+ "pr",
52
+ "list",
53
+ "--source-branch",
54
+ branch,
55
+ "--status",
56
+ "active",
57
+ "--org",
58
+ `https://dev.azure.com/${repo.org}`,
59
+ "--project",
60
+ repo.project,
61
+ "--repository",
62
+ repo.repo,
63
+ "--query",
64
+ "[0].pullRequestId",
65
+ "--only-show-errors",
66
+ "-o",
67
+ "tsv"
68
+ ],
69
+ { encoding: "utf8", stdio: ["ignore", "pipe", "pipe"], windowsHide: true }
70
+ );
71
+ return Number.parseInt(stdout.trim(), 10);
72
+ }
73
+ function currentAzureDevopsPr(repo) {
74
+ const prId = findPrForBranch(repo, getCurrentBranch());
75
+ if (Number.isNaN(prId)) {
76
+ console.error("Error: No pull request found for the current branch.");
77
+ process.exit(1);
78
+ }
79
+ return { ...repo, prId };
80
+ }
81
+
82
+ // src/commands/prs/azureDevops/failAzureDevops.ts
83
+ function errorOutput(error) {
84
+ const stderr = error.stderr?.toString();
85
+ if (stderr?.trim()) return stderr.trim();
86
+ return error instanceof Error ? error.message : String(error);
87
+ }
88
+ function failAzureDevops(error) {
89
+ console.error(`Error: ${azCliProblem(error) ?? errorOutput(error)}`);
90
+ process.exit(1);
91
+ }
92
+
93
+ // src/commands/prs/azureDevops/invokeAzDevops.ts
94
+ import { execFileSync as execFileSync2 } from "child_process";
95
+ import { mkdtempSync, rmSync, writeFileSync } from "fs";
96
+ import { tmpdir } from "os";
97
+ import { join } from "path";
98
+ function azDevopsInvokeArgs(request, inFile) {
99
+ return [
100
+ "devops",
101
+ "invoke",
102
+ "--area",
103
+ "git",
104
+ "--resource",
105
+ request.resource,
106
+ "--route-parameters",
107
+ ...Object.entries(request.routeParameters).map(
108
+ ([key, value]) => `${key}=${value}`
109
+ ),
110
+ "--org",
111
+ `https://dev.azure.com/${request.org}`,
112
+ "--api-version",
113
+ "7.1",
114
+ "--http-method",
115
+ request.method ?? "GET",
116
+ ...inFile ? ["--in-file", inFile] : [],
117
+ "--only-show-errors",
118
+ "-o",
119
+ "json"
120
+ ];
121
+ }
122
+ function runAz(args) {
123
+ const stdout = execFileSync2("az", args, {
124
+ encoding: "utf8",
125
+ stdio: ["ignore", "pipe", "pipe"],
126
+ windowsHide: true
127
+ });
128
+ return stdout.trim() ? JSON.parse(stdout) : null;
129
+ }
130
+ function invokeAzDevops(request) {
131
+ if (request.body === void 0) return runAz(azDevopsInvokeArgs(request));
132
+ const dir = mkdtempSync(join(tmpdir(), "assist-az-"));
133
+ const inFile = join(dir, "body.json");
134
+ try {
135
+ writeFileSync(inFile, JSON.stringify(request.body));
136
+ return runAz(azDevopsInvokeArgs(request, inFile));
137
+ } finally {
138
+ rmSync(dir, { recursive: true, force: true });
139
+ }
140
+ }
141
+
142
+ export {
143
+ azureDevopsThreadRequests,
144
+ currentAzureDevopsPr,
145
+ failAzureDevops,
146
+ invokeAzDevops
147
+ };