@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,319 @@
1
+ import {
2
+ isGhNotInstalled
3
+ } from "./chunk-2HT3GIJD.js";
4
+ import {
5
+ isDoNotMerge
6
+ } from "./chunk-NGTSPXSJ.js";
7
+ import "./chunk-DISNKALJ.js";
8
+
9
+ // src/commands/prs/status/fetchReviewThreads.ts
10
+ import { execFileSync } from "child_process";
11
+ var THREAD_QUERY = `query($owner: String!, $repo: String!, $prNumber: Int!) { repository(owner: $owner, name: $repo) { pullRequest(number: $prNumber) { reviewThreads(first: 100) { nodes { isResolved } } } } }`;
12
+ function fetchReviewThreads(org, repo, prNumber) {
13
+ const output = execFileSync(
14
+ "gh",
15
+ [
16
+ "api",
17
+ "graphql",
18
+ "-f",
19
+ `query=${THREAD_QUERY}`,
20
+ "-F",
21
+ `owner=${org}`,
22
+ "-F",
23
+ `repo=${repo}`,
24
+ "-F",
25
+ `prNumber=${prNumber}`
26
+ ],
27
+ { encoding: "utf8", stdio: ["ignore", "pipe", "pipe"] }
28
+ );
29
+ const nodes = JSON.parse(output)?.data?.repository?.pullRequest?.reviewThreads?.nodes;
30
+ if (!Array.isArray(nodes)) {
31
+ throw new Error("unexpected response from gh api graphql");
32
+ }
33
+ return nodes;
34
+ }
35
+
36
+ // src/commands/prs/status/countUnresolvedThreads.ts
37
+ function countUnresolvedThreads(org, repo, prNumber) {
38
+ try {
39
+ return fetchReviewThreads(org, repo, prNumber).filter(
40
+ (thread) => !thread.isResolved
41
+ ).length;
42
+ } catch {
43
+ return null;
44
+ }
45
+ }
46
+
47
+ // src/commands/prs/status/describeFetchError.ts
48
+ function firstLine(text) {
49
+ const line = text.split("\n").map((candidate) => candidate.trim()).find((candidate) => candidate.length > 0);
50
+ return line ?? null;
51
+ }
52
+ function stderrText(error) {
53
+ const stderr = error?.stderr;
54
+ if (typeof stderr === "string") return firstLine(stderr);
55
+ if (stderr instanceof Uint8Array) {
56
+ return firstLine(Buffer.from(stderr).toString("utf8"));
57
+ }
58
+ return null;
59
+ }
60
+ function describeFetchError(error) {
61
+ if (isGhNotInstalled(error)) {
62
+ return "GitHub CLI (gh) is not installed \u2014 see https://cli.github.com/";
63
+ }
64
+ const stderr = stderrText(error);
65
+ if (stderr) return stderr;
66
+ if (error instanceof Error) return firstLine(error.message) ?? error.message;
67
+ return String(error);
68
+ }
69
+
70
+ // src/commands/prs/status/fetchRepoPullRequests.ts
71
+ import { execSync } from "child_process";
72
+ var FIELDS = "number,title,url,author,isDraft,createdAt,updatedAt,reviewDecision,latestReviews,statusCheckRollup,mergeable";
73
+ function fetchRepoPullRequests(org, repo) {
74
+ const output = execSync(
75
+ `gh pr list --state open --json ${FIELDS} --limit 100 -R ${org}/${repo}`,
76
+ { encoding: "utf8", stdio: ["ignore", "pipe", "pipe"] }
77
+ );
78
+ const parsed = JSON.parse(output);
79
+ if (!Array.isArray(parsed)) {
80
+ throw new Error("unexpected response from gh pr list");
81
+ }
82
+ return parsed;
83
+ }
84
+
85
+ // src/commands/prs/status/parseRepoArgument.ts
86
+ var REPO_ARGUMENT = /^([A-Za-z0-9._-]+)\/([A-Za-z0-9._-]+)$/;
87
+ function parseRepoArgument(value) {
88
+ const match = REPO_ARGUMENT.exec(value.trim());
89
+ if (!match) return null;
90
+ return { org: match[1], repo: match[2] };
91
+ }
92
+
93
+ // src/commands/prs/status/summarisePrsStatus.ts
94
+ function summarisePrsStatus(repos) {
95
+ const summary = {
96
+ repos: repos.length,
97
+ open: 0,
98
+ excluded: 0,
99
+ pendingReview: 0,
100
+ changesRequested: 0,
101
+ failingChecks: 0,
102
+ readyToMerge: 0,
103
+ stale: 0
104
+ };
105
+ for (const pr of repos.flatMap((repo) => repo.pullRequests)) {
106
+ summary[pr.bucket]++;
107
+ if (pr.bucket === "excluded") continue;
108
+ summary.open++;
109
+ if (pr.isStale) summary.stale++;
110
+ }
111
+ return summary;
112
+ }
113
+
114
+ // src/commands/prs/status/bucketPr.ts
115
+ function isApproved(pr) {
116
+ if (pr.reviewDecision) return pr.reviewDecision === "APPROVED";
117
+ return pr.reviews.some((review) => review.state === "APPROVED");
118
+ }
119
+ function bucketPr(pr) {
120
+ if (pr.isDraft || pr.isDoNotMerge) return "excluded";
121
+ const failing = pr.checks.failing.length > 0 || pr.mergeable === "CONFLICTING";
122
+ const unresolved = (pr.unresolvedThreads ?? 0) > 0;
123
+ const changesRequested = pr.reviewDecision === "CHANGES_REQUESTED";
124
+ if (!failing && !unresolved && !changesRequested && !isApproved(pr)) {
125
+ return "pendingReview";
126
+ }
127
+ if (changesRequested || unresolved) return "changesRequested";
128
+ if (failing) return "failingChecks";
129
+ return "readyToMerge";
130
+ }
131
+
132
+ // src/commands/prs/status/describeAge.ts
133
+ function describeAge(timestamp, now = Date.now()) {
134
+ const parsed = new Date(timestamp).getTime();
135
+ if (Number.isNaN(parsed)) return { hours: null, label: "unknown" };
136
+ const hours = Math.max(0, Math.floor((now - parsed) / 36e5));
137
+ if (hours < 1) return { hours, label: "<1h" };
138
+ if (hours < 24) return { hours, label: `${hours}h` };
139
+ return { hours, label: `${Math.floor(hours / 24)}d` };
140
+ }
141
+
142
+ // src/commands/prs/status/summariseChecks.ts
143
+ var PASSING_CONCLUSIONS = /* @__PURE__ */ new Set(["SUCCESS", "NEUTRAL", "SKIPPED"]);
144
+ var PENDING_STATES = /* @__PURE__ */ new Set(["PENDING", "EXPECTED"]);
145
+ function checkName(check) {
146
+ return check.name?.trim() || check.context?.trim() || "unnamed check";
147
+ }
148
+ function isPending(check) {
149
+ if (check.status) return check.status !== "COMPLETED";
150
+ return PENDING_STATES.has(check.state ?? "");
151
+ }
152
+ function isFailing(check) {
153
+ if (check.status) return !PASSING_CONCLUSIONS.has(check.conclusion ?? "");
154
+ return !PASSING_CONCLUSIONS.has(check.state ?? "");
155
+ }
156
+ function summariseChecks(rollup) {
157
+ const summary = { failing: [], pending: [] };
158
+ for (const check of rollup ?? []) {
159
+ if (isPending(check)) summary.pending.push(checkName(check));
160
+ else if (isFailing(check)) summary.failing.push(checkName(check));
161
+ }
162
+ return summary;
163
+ }
164
+
165
+ // src/commands/prs/status/toPrStatus.ts
166
+ var STALE_HOURS = 168;
167
+ function toReviews(pr) {
168
+ return (pr.latestReviews ?? []).map((review) => ({
169
+ reviewer: review.author?.login ?? "unknown",
170
+ state: review.state ?? "UNKNOWN"
171
+ }));
172
+ }
173
+ function toPrStatus(pr, unresolvedThreads, now = Date.now()) {
174
+ const age = describeAge(pr.updatedAt, now);
175
+ const facts = {
176
+ number: pr.number,
177
+ title: pr.title,
178
+ url: pr.url,
179
+ author: pr.author?.login ?? "unknown",
180
+ isBot: pr.author?.is_bot === true,
181
+ isDraft: pr.isDraft === true,
182
+ isDoNotMerge: isDoNotMerge(pr.title),
183
+ createdAt: pr.createdAt,
184
+ updatedAt: pr.updatedAt,
185
+ age: age.label,
186
+ ageHours: age.hours,
187
+ reviewDecision: pr.reviewDecision || null,
188
+ reviews: toReviews(pr),
189
+ checks: summariseChecks(pr.statusCheckRollup),
190
+ mergeable: pr.mergeable || "UNKNOWN",
191
+ unresolvedThreads
192
+ };
193
+ return {
194
+ ...facts,
195
+ bucket: bucketPr(facts),
196
+ isStale: (age.hours ?? 0) >= STALE_HOURS
197
+ };
198
+ }
199
+
200
+ // src/commands/prs/status/buildPrsStatusReport.ts
201
+ function buildPrsStatusReport(repoArguments, now = Date.now()) {
202
+ const repos = [];
203
+ const errors = [];
204
+ for (const argument of repoArguments) {
205
+ const parsed = parseRepoArgument(argument);
206
+ if (!parsed) {
207
+ errors.push({
208
+ repo: argument,
209
+ error: "not an owner/repo argument"
210
+ });
211
+ continue;
212
+ }
213
+ const repo = `${parsed.org}/${parsed.repo}`;
214
+ try {
215
+ const pullRequests = fetchRepoPullRequests(parsed.org, parsed.repo).map(
216
+ (pr) => toPrStatus(
217
+ pr,
218
+ countUnresolvedThreads(parsed.org, parsed.repo, pr.number),
219
+ now
220
+ )
221
+ );
222
+ repos.push({ repo, pullRequests });
223
+ } catch (error) {
224
+ errors.push({ repo, error: describeFetchError(error) });
225
+ }
226
+ }
227
+ return { repos, errors, summary: summarisePrsStatus(repos) };
228
+ }
229
+
230
+ // src/commands/prs/status/printPrsStatus.ts
231
+ import chalk2 from "chalk";
232
+
233
+ // src/commands/prs/status/printPrStatus.ts
234
+ import chalk from "chalk";
235
+ function flags(pr) {
236
+ const markers = [];
237
+ if (pr.isDraft) markers.push("draft");
238
+ if (pr.isDoNotMerge) markers.push("do not merge");
239
+ if (pr.isBot) markers.push("bot");
240
+ return markers.length ? ` ${chalk.yellow(`[${markers.join(", ")}]`)}` : "";
241
+ }
242
+ function updated(pr) {
243
+ return pr.ageHours === null ? "updated unknown" : `updated ${pr.age} ago`;
244
+ }
245
+ function reviewLine(pr) {
246
+ if (!pr.reviewDecision && pr.reviews.length === 0) return null;
247
+ const reviewers = pr.reviews.map((review) => `${review.reviewer}: ${review.state}`).join(", ");
248
+ const decision = pr.reviewDecision ?? "no decision";
249
+ return reviewers ? `review: ${decision} | ${reviewers}` : `review: ${decision}`;
250
+ }
251
+ function checkLines(pr) {
252
+ const lines = [];
253
+ if (pr.checks.failing.length) {
254
+ lines.push(chalk.red(`failing: ${pr.checks.failing.join(", ")}`));
255
+ }
256
+ if (pr.checks.pending.length) {
257
+ lines.push(chalk.yellow(`pending: ${pr.checks.pending.join(", ")}`));
258
+ }
259
+ return lines;
260
+ }
261
+ function threadsLine(pr) {
262
+ if (pr.unresolvedThreads === null) {
263
+ return chalk.dim("unresolved comments: unknown");
264
+ }
265
+ if (pr.unresolvedThreads === 0) return null;
266
+ return chalk.yellow(`unresolved comments: ${pr.unresolvedThreads}`);
267
+ }
268
+ function mergeableLine(pr) {
269
+ if (pr.mergeable === "CONFLICTING") return chalk.red("conflicting");
270
+ if (pr.mergeable === "MERGEABLE") return null;
271
+ return chalk.dim(`mergeable: ${pr.mergeable.toLowerCase()}`);
272
+ }
273
+ function printPrStatus(pr) {
274
+ console.log(
275
+ ` ${chalk.cyan(`#${pr.number}`)} ${pr.title} ${chalk.dim(`(${pr.author}, ${updated(pr)})`)}${flags(pr)}`
276
+ );
277
+ const details = [
278
+ reviewLine(pr),
279
+ ...checkLines(pr),
280
+ threadsLine(pr),
281
+ mergeableLine(pr),
282
+ chalk.dim(pr.url)
283
+ ];
284
+ for (const detail of details) {
285
+ if (detail) console.log(` ${detail}`);
286
+ }
287
+ }
288
+
289
+ // src/commands/prs/status/printPrsStatus.ts
290
+ function printPrsStatus(report) {
291
+ for (const repo of report.repos) {
292
+ const count = repo.pullRequests.length;
293
+ console.log(`${chalk2.bold(repo.repo)} ${chalk2.dim(`(${count} open)`)}`);
294
+ for (const pr of repo.pullRequests) {
295
+ printPrStatus(pr);
296
+ }
297
+ if (count === 0) console.log(chalk2.dim(" no open pull requests"));
298
+ console.log();
299
+ }
300
+ if (report.errors.length === 0) return;
301
+ console.log(chalk2.bold("Errors"));
302
+ for (const failure of report.errors) {
303
+ console.log(` ${chalk2.red(failure.repo)}: ${failure.error}`);
304
+ }
305
+ console.log();
306
+ }
307
+
308
+ // src/commands/prs/prsStatus.ts
309
+ function prsStatus(repos, options) {
310
+ const report = buildPrsStatusReport(repos);
311
+ if (options.json) {
312
+ console.log(JSON.stringify(report, null, 2));
313
+ return;
314
+ }
315
+ printPrsStatus(report);
316
+ }
317
+ export {
318
+ prsStatus
319
+ };
@@ -0,0 +1,18 @@
1
+ import {
2
+ pullIfConfigured
3
+ } from "./chunk-SB4BG7PH.js";
4
+ import "./chunk-B3JSQA5D.js";
5
+ import "./chunk-QAJUCN3A.js";
6
+ import "./chunk-KGFZYUE2.js";
7
+ import "./chunk-LBAPKP6M.js";
8
+ import "./chunk-GRXFWFGP.js";
9
+ import "./chunk-TVQY3HPZ.js";
10
+ import "./chunk-CGYVYHMM.js";
11
+ import "./chunk-WXQ3EA5H.js";
12
+ import "./chunk-YXXKT6LL.js";
13
+ import "./chunk-USKD27FY.js";
14
+ import "./chunk-HN7MFXZ7.js";
15
+ import "./chunk-DZGYHAE7.js";
16
+ export {
17
+ pullIfConfigured
18
+ };
@@ -0,0 +1,330 @@
1
+ import {
2
+ announcePr
3
+ } from "./chunk-YTIVOMM3.js";
4
+ import {
5
+ buildPrBody,
6
+ parseScreenshotSpecs,
7
+ stageScreenshots,
8
+ validatePrContent
9
+ } from "./chunk-MJ4RLQ5N.js";
10
+ import {
11
+ appendScreenshots,
12
+ attachArgs,
13
+ runGhWithAttachments
14
+ } from "./chunk-ONODYZ2H.js";
15
+ import {
16
+ findCurrentPr,
17
+ findCurrentPrNumber,
18
+ getCurrentBranch
19
+ } from "./chunk-2HT3GIJD.js";
20
+ import "./chunk-ABLDOQ4B.js";
21
+ import "./chunk-AVLELL42.js";
22
+ import "./chunk-C3MGHR3N.js";
23
+ import {
24
+ startChainedSession
25
+ } from "./chunk-YS3HSXSJ.js";
26
+ import {
27
+ recordSessionRefs
28
+ } from "./chunk-PCF66ALO.js";
29
+ import "./chunk-UYD7R4HL.js";
30
+ import "./chunk-FVZP4ULO.js";
31
+ import {
32
+ resolveSessionItemId
33
+ } from "./chunk-FPWL4VRC.js";
34
+ import {
35
+ awaitPreviewApproval
36
+ } from "./chunk-RPRL6G4R.js";
37
+ import "./chunk-BAHQJHYD.js";
38
+ import "./chunk-B7B26YPF.js";
39
+ import "./chunk-PGQK356A.js";
40
+ import "./chunk-WG3TXZMV.js";
41
+ import "./chunk-S6FVZYHH.js";
42
+ import {
43
+ requestAssistSession
44
+ } from "./chunk-YC3CIJQN.js";
45
+ import "./chunk-2DCOBBPI.js";
46
+ import "./chunk-DISNKALJ.js";
47
+ import "./chunk-2EW62DM5.js";
48
+ import "./chunk-PD2BTMEY.js";
49
+ import "./chunk-3QKE2ONF.js";
50
+ import "./chunk-O5JIFWMQ.js";
51
+ import "./chunk-LMUTL44M.js";
52
+ import "./chunk-6NDXAN45.js";
53
+ import "./chunk-EW2ZM2PC.js";
54
+ import "./chunk-QKHOYKUQ.js";
55
+ import {
56
+ loadConfig
57
+ } from "./chunk-KGFZYUE2.js";
58
+ import "./chunk-LBAPKP6M.js";
59
+ import "./chunk-GRXFWFGP.js";
60
+ import "./chunk-TVQY3HPZ.js";
61
+ import "./chunk-CGYVYHMM.js";
62
+ import "./chunk-WXQ3EA5H.js";
63
+ import "./chunk-YXXKT6LL.js";
64
+ import "./chunk-USKD27FY.js";
65
+ import "./chunk-HN7MFXZ7.js";
66
+ import "./chunk-DZGYHAE7.js";
67
+ import "./chunk-UGGH3MEX.js";
68
+ import "./chunk-IEK6CQQH.js";
69
+
70
+ // src/commands/prs/buildValidatedBody.ts
71
+ function buildValidatedBody(options, usage) {
72
+ if (!options.title || !options.what || !options.why) {
73
+ console.error(usage);
74
+ process.exit(1);
75
+ }
76
+ const body = buildPrBody({
77
+ what: options.what,
78
+ why: options.why,
79
+ how: options.how,
80
+ resolves: options.resolves
81
+ });
82
+ validatePrContent(options.title, body);
83
+ return { title: options.title, body };
84
+ }
85
+
86
+ // src/commands/prs/placePr.ts
87
+ import { execFileSync } from "child_process";
88
+
89
+ // src/commands/prs/buildCreateArgs.ts
90
+ function buildCreateArgs(title, body, options, attachments = []) {
91
+ const args = [
92
+ "pr",
93
+ "create",
94
+ "--title",
95
+ title,
96
+ "--body",
97
+ body,
98
+ ...attachArgs(attachments)
99
+ ];
100
+ const valueFlags = [
101
+ ["--base", options.base],
102
+ ["--head", options.head],
103
+ ["--milestone", options.milestone]
104
+ ];
105
+ for (const [flag, value] of valueFlags) {
106
+ if (value) args.push(flag, value);
107
+ }
108
+ if (options.draft) args.push("--draft");
109
+ if (options.web) args.push("--web");
110
+ const repeatableFlags = [
111
+ ["--label", options.label],
112
+ ["--assignee", options.assignee],
113
+ ["--reviewer", options.reviewer]
114
+ ];
115
+ for (const [flag, values] of repeatableFlags) {
116
+ for (const value of values ?? []) {
117
+ args.push(flag, value);
118
+ }
119
+ }
120
+ return args;
121
+ }
122
+
123
+ // src/commands/prs/readSessionPrRef.ts
124
+ import { execSync } from "child_process";
125
+ function readSessionPrRef() {
126
+ try {
127
+ const branch = execSync("git rev-parse --abbrev-ref HEAD", {
128
+ encoding: "utf8",
129
+ stdio: ["pipe", "pipe", "pipe"]
130
+ }).trim();
131
+ if (!branch || branch === "HEAD") return null;
132
+ const pr = JSON.parse(
133
+ execSync(`gh pr view ${branch} --json number,title,url,state`, {
134
+ encoding: "utf8",
135
+ stdio: ["pipe", "pipe", "pipe"]
136
+ })
137
+ );
138
+ if (typeof pr.number !== "number") return null;
139
+ const ref = { kind: "pr", ref: String(pr.number) };
140
+ if (pr.title) ref.title = pr.title;
141
+ if (pr.url) ref.url = pr.url;
142
+ if (pr.state) ref.state = pr.state;
143
+ return ref;
144
+ } catch {
145
+ return null;
146
+ }
147
+ }
148
+
149
+ // src/commands/prs/recordPrActivity.ts
150
+ async function recordPrActivity() {
151
+ if (resolveSessionItemId() === null) return;
152
+ const pr = readSessionPrRef();
153
+ if (pr) await recordSessionRefs([pr]);
154
+ }
155
+
156
+ // src/commands/prs/buildEditArgs.ts
157
+ function buildEditArgs(number, title, body, attachments = []) {
158
+ return [
159
+ "pr",
160
+ "edit",
161
+ String(number),
162
+ "--title",
163
+ title,
164
+ "--body",
165
+ body,
166
+ ...attachArgs(attachments)
167
+ ];
168
+ }
169
+
170
+ // src/commands/prs/placePr.ts
171
+ function hasUpstream() {
172
+ try {
173
+ execFileSync(
174
+ "git",
175
+ ["rev-parse", "--abbrev-ref", "--symbolic-full-name", "@{u}"],
176
+ { stdio: "pipe" }
177
+ );
178
+ return true;
179
+ } catch {
180
+ return false;
181
+ }
182
+ }
183
+ function ensureBranchPushed() {
184
+ const args = hasUpstream() ? ["push"] : ["push", "--set-upstream", "origin", "HEAD"];
185
+ execFileSync("git", args, { stdio: "inherit" });
186
+ }
187
+ async function placePr(prNumber, title, body, options, attachments = []) {
188
+ const args = prNumber !== null ? buildEditArgs(prNumber, title, body, attachments) : buildCreateArgs(title, body, options, attachments);
189
+ try {
190
+ if (prNumber === null && !options.head) ensureBranchPushed();
191
+ } catch {
192
+ process.exit(1);
193
+ }
194
+ process.stdout.write(runGhWithAttachments(args, attachments));
195
+ await recordPrActivity();
196
+ }
197
+
198
+ // src/commands/prs/previewAndPlace.ts
199
+ import { randomUUID } from "crypto";
200
+
201
+ // src/commands/prs/chainReviewAndPost.ts
202
+ function chainReviewAndPost(prNumber, announce) {
203
+ const args = [
204
+ "review",
205
+ "--no-prompt",
206
+ "--submit",
207
+ String(prNumber),
208
+ "--address-comments"
209
+ ];
210
+ if (announce) args.push("--announce");
211
+ return startChainedSession(
212
+ `a Review + Post session for PR #${prNumber}`,
213
+ () => requestAssistSession(args, process.cwd(), { inPlace: true })
214
+ );
215
+ }
216
+
217
+ // src/commands/prs/chainAfterRaise.ts
218
+ async function chainAfterRaise(prNumber, choice) {
219
+ const review = choice.reviewAfter === true;
220
+ const announce = choice.announceAfter === true;
221
+ if (!review && !announce) return;
222
+ if (process.env.ASSIST_SESSION !== "1") return;
223
+ const number = resolvePrNumber(prNumber);
224
+ if (number === null) return;
225
+ if (review) await chainReviewAndPost(number, announce);
226
+ else await announcePr(number);
227
+ }
228
+ function resolvePrNumber(prNumber) {
229
+ if (prNumber !== null) return prNumber;
230
+ try {
231
+ const found = findCurrentPrNumber();
232
+ if (found === null) warn("no pull request found for the current branch");
233
+ return found;
234
+ } catch (error) {
235
+ warn(error instanceof Error ? error.message : String(error));
236
+ return null;
237
+ }
238
+ }
239
+ function warn(reason) {
240
+ console.error(`Warning: could not chain sessions after raising: ${reason}`);
241
+ }
242
+
243
+ // src/commands/prs/enableAutoMerge.ts
244
+ import { execFileSync as execFileSync2 } from "child_process";
245
+ function enableAutoMerge() {
246
+ try {
247
+ execFileSync2(
248
+ "gh",
249
+ ["pr", "merge", getCurrentBranch(), "--auto", "--squash"],
250
+ { stdio: "inherit" }
251
+ );
252
+ } catch (error) {
253
+ console.error(
254
+ `Warning: could not enable auto-merge: ${error instanceof Error ? error.message : String(error)}`
255
+ );
256
+ }
257
+ }
258
+
259
+ // src/commands/prs/previewAndPlace.ts
260
+ async function previewAndPlace(args) {
261
+ const decision = await awaitPreviewApproval("PR preview", {
262
+ sessionId: args.sessionId,
263
+ requestId: randomUUID(),
264
+ title: args.title,
265
+ body: args.body,
266
+ prNumber: args.prNumber,
267
+ draft: args.options.draft === true,
268
+ reviewAfter: args.reviewAfter,
269
+ screenshots: await stageScreenshots(args.screenshots)
270
+ });
271
+ const attachments = decision.screenshots ?? [];
272
+ const body = appendScreenshots(args.body, attachments);
273
+ const options = decision.draft === void 0 ? args.options : { ...args.options, draft: decision.draft };
274
+ await placePr(args.prNumber, args.title, body, options, attachments);
275
+ if (decision.autoMerge === true) enableAutoMerge();
276
+ await chainAfterRaise(args.prNumber, decision);
277
+ }
278
+
279
+ // src/commands/prs/resolveDraftState.ts
280
+ function resolveDraftState(options, command) {
281
+ const source = command?.getOptionValueSource?.("draft");
282
+ if (source === "cli" || source === "env") return options.draft === true;
283
+ return loadConfig().prs?.draft ?? false;
284
+ }
285
+
286
+ // src/commands/prs/raise.ts
287
+ var USAGE = "Usage: assist prs raise --title <title> --what <what> --why <why> [--how <how>] [--resolves <key>] [--screenshot '[Group/]Caption=path'] [--force]";
288
+ async function raise(options, command) {
289
+ const screenshots = parseScreenshotSpecs(options.screenshot);
290
+ const { title, body } = buildValidatedBody(options, USAGE);
291
+ const resolved = { ...options, draft: resolveDraftState(options, command) };
292
+ const existing = findOpenPrNumber();
293
+ const sessionId = process.env.ASSIST_SESSION_ID;
294
+ if (process.env.ASSIST_SESSION === "1" && sessionId) {
295
+ await previewAndPlace({
296
+ sessionId,
297
+ title,
298
+ body,
299
+ prNumber: existing,
300
+ options: resolved,
301
+ reviewAfter: loadConfig().prs?.reviewAfterRaise ?? true,
302
+ screenshots
303
+ });
304
+ return;
305
+ }
306
+ if (existing !== null && !options.force) {
307
+ console.error(
308
+ `Error: A pull request already exists for this branch (#${existing}). Pass --force to overwrite it, or use 'assist prs edit' to update individual sections.`
309
+ );
310
+ process.exit(1);
311
+ }
312
+ await placePr(
313
+ existing,
314
+ title,
315
+ appendScreenshots(body, screenshots),
316
+ resolved,
317
+ screenshots
318
+ );
319
+ }
320
+ function findOpenPrNumber() {
321
+ const pr = findCurrentPr();
322
+ if (pr === null || pr.state === "OPEN") return pr?.number ?? null;
323
+ console.error(
324
+ `Error: This branch's pull request #${pr.number} is already ${pr.state.toLowerCase()}. Move the work to a new branch (e.g. 'assist branch') and raise the PR from there.`
325
+ );
326
+ process.exit(1);
327
+ }
328
+ export {
329
+ raise
330
+ };