@staff0rd/assist 0.1143.1 → 0.1143.3

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-XDHJ7CV5.js +120 -0
  7. package/dist/addPhase-XZO6BH26.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-YDAJA5NI.js +96 -0
  12. package/dist/analyze-2ECBFV3E.js +63 -0
  13. package/dist/ask-ESCDDQH5.js +47 -0
  14. package/dist/askCheck-WILQF3JN.js +303 -0
  15. package/dist/askDesign-RDIXLTMM.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-7NZ5K4AI.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-2DCOBBPI.js +50 -0
  32. package/dist/chunk-2EW62DM5.js +17 -0
  33. package/dist/chunk-2HT3GIJD.js +130 -0
  34. package/dist/chunk-2JYMVJGZ.js +21 -0
  35. package/dist/chunk-2KG6ZPX4.js +52 -0
  36. package/dist/chunk-2O7TIRCQ.js +39 -0
  37. package/dist/chunk-3E7RVOMC.js +27 -0
  38. package/dist/chunk-3FSX26XC.js +25 -0
  39. package/dist/chunk-3JXMQFUS.js +14 -0
  40. package/dist/chunk-3KLTYFPV.js +57 -0
  41. package/dist/chunk-3NK55YVZ.js +48 -0
  42. package/dist/chunk-3OMKOT6D.js +14 -0
  43. package/dist/chunk-3PM5JCHE.js +72 -0
  44. package/dist/chunk-3QKE2ONF.js +39 -0
  45. package/dist/chunk-3XQHTIHW.js +20 -0
  46. package/dist/chunk-43GYFW24.js +170 -0
  47. package/dist/chunk-46B7OBV4.js +21 -0
  48. package/dist/chunk-4BVUY25U.js +21 -0
  49. package/dist/chunk-4GMAYXOS.js +18 -0
  50. package/dist/chunk-4HKB2TAG.js +11 -0
  51. package/dist/chunk-4JIXM5NT.js +21 -0
  52. package/dist/chunk-4L7TQE67.js +22 -0
  53. package/dist/chunk-4TIDERIW.js +12 -0
  54. package/dist/chunk-4XHBAEMS.js +37 -0
  55. package/dist/chunk-4Y4ADPEK.js +10 -0
  56. package/dist/chunk-4YAIQN3S.js +77 -0
  57. package/dist/chunk-4YHDWC5E.js +33 -0
  58. package/dist/chunk-547VKFOA.js +15 -0
  59. package/dist/chunk-54QTHCXV.js +12 -0
  60. package/dist/chunk-556BOFTS.js +44 -0
  61. package/dist/chunk-5CCCIT5E.js +33 -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-6MNOEMDU.js +45 -0
  75. package/dist/chunk-6NDXAN45.js +90 -0
  76. package/dist/chunk-6NXP34PE.js +20 -0
  77. package/dist/chunk-6PF5BEEE.js +37 -0
  78. package/dist/chunk-6SOPR77J.js +12 -0
  79. package/dist/chunk-6T53CG7D.js +56 -0
  80. package/dist/chunk-7CEIET2O.js +31 -0
  81. package/dist/chunk-7DSWCPDZ.js +225 -0
  82. package/dist/chunk-7HNRCA3N.js +12 -0
  83. package/dist/chunk-7MUAIGYQ.js +56 -0
  84. package/dist/chunk-7NPZZRMK.js +77 -0
  85. package/dist/chunk-7O466DJY.js +36 -0
  86. package/dist/chunk-7TT6C4IC.js +100 -0
  87. package/dist/chunk-7ZN4KX7V.js +26 -0
  88. package/dist/chunk-ABLDOQ4B.js +42 -0
  89. package/dist/chunk-ADIYP3KC.js +11 -0
  90. package/dist/chunk-ADLCDG2V.js +61 -0
  91. package/dist/chunk-AKF654AT.js +32 -0
  92. package/dist/chunk-ALAS5LZJ.js +22 -0
  93. package/dist/chunk-ANCYNQJA.js +16 -0
  94. package/dist/chunk-APS7GTRT.js +23 -0
  95. package/dist/chunk-APZ6ZTDA.js +8 -0
  96. package/dist/chunk-AVLELL42.js +34 -0
  97. package/dist/chunk-AWAUWR2H.js +258 -0
  98. package/dist/chunk-B3JSQA5D.js +25 -0
  99. package/dist/chunk-B5ZOANOD.js +51 -0
  100. package/dist/chunk-B6RAZW2L.js +14 -0
  101. package/dist/chunk-B7B26YPF.js +6 -0
  102. package/dist/chunk-BAHQJHYD.js +16 -0
  103. package/dist/chunk-BBXEZVRL.js +38 -0
  104. package/dist/chunk-BFQSGIN6.js +37 -0
  105. package/dist/chunk-BJDGVLYX.js +20 -0
  106. package/dist/chunk-BO5JCCC5.js +17 -0
  107. package/dist/chunk-BV2V6RTH.js +89 -0
  108. package/dist/chunk-BVHK2VVT.js +31 -0
  109. package/dist/chunk-C3MGHR3N.js +25 -0
  110. package/dist/chunk-CDD4ZTG7.js +31 -0
  111. package/dist/chunk-CDU6M5IX.js +50 -0
  112. package/dist/chunk-CGYVYHMM.js +49 -0
  113. package/dist/chunk-CSQLE62N.js +7450 -0
  114. package/dist/chunk-CXJJGUTK.js +44 -0
  115. package/dist/chunk-D7UZLH36.js +8 -0
  116. package/dist/chunk-DBQTGW7F.js +48 -0
  117. package/dist/chunk-DIAC4XYA.js +29 -0
  118. package/dist/chunk-DISNKALJ.js +74 -0
  119. package/dist/chunk-DS2YJZZY.js +34 -0
  120. package/dist/chunk-DZGYHAE7.js +31 -0
  121. package/dist/chunk-E36L7ASL.js +19 -0
  122. package/dist/chunk-E7AZAWIV.js +478 -0
  123. package/dist/chunk-EF7AXKON.js +187 -0
  124. package/dist/chunk-EHRQ6OST.js +53 -0
  125. package/dist/chunk-ENBVLWTC.js +25 -0
  126. package/dist/chunk-ENTJ2N5Y.js +34 -0
  127. package/dist/chunk-ERAGZGT5.js +166 -0
  128. package/dist/chunk-ERG23IG5.js +12 -0
  129. package/dist/chunk-EW2ZM2PC.js +6 -0
  130. package/dist/chunk-EYM57SNL.js +60 -0
  131. package/dist/chunk-F2GXOU5H.js +171 -0
  132. package/dist/chunk-F2LP5MBV.js +26 -0
  133. package/dist/chunk-FFKJYEDJ.js +73 -0
  134. package/dist/chunk-FOPR6LRY.js +121 -0
  135. package/dist/chunk-FPWL4VRC.js +12 -0
  136. package/dist/chunk-FVZP4ULO.js +14 -0
  137. package/dist/chunk-FYYZG4GY.js +47 -0
  138. package/dist/chunk-G3ROBZ4I.js +31 -0
  139. package/dist/chunk-G44QYJ57.js +106 -0
  140. package/dist/chunk-GF4MNBOX.js +95 -0
  141. package/dist/chunk-GL5GKF5A.js +68 -0
  142. package/dist/chunk-GLIYWSW7.js +208 -0
  143. package/dist/chunk-GOGGPW2L.js +143 -0
  144. package/dist/chunk-GQF23TWI.js +14 -0
  145. package/dist/chunk-GQMP5NS4.js +15 -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-H6LFISSF.js +40 -0
  151. package/dist/chunk-HCANRBFK.js +19 -0
  152. package/dist/chunk-HHKS3UZB.js +16 -0
  153. package/dist/chunk-HKGCLAZ7.js +8 -0
  154. package/dist/chunk-HN7MFXZ7.js +46 -0
  155. package/dist/chunk-HSWDSL22.js +50 -0
  156. package/dist/chunk-I2ZQXBOS.js +108 -0
  157. package/dist/chunk-I3TEQBTO.js +88 -0
  158. package/dist/chunk-I5MLH7WJ.js +27 -0
  159. package/dist/chunk-IBPSXDUB.js +8 -0
  160. package/dist/chunk-IDFJE5DP.js +224 -0
  161. package/dist/chunk-IEK6CQQH.js +23 -0
  162. package/dist/chunk-IIFOAUOM.js +34 -0
  163. package/dist/chunk-IMKMNPRL.js +114 -0
  164. package/dist/chunk-INBM4BQQ.js +27 -0
  165. package/dist/chunk-IOKBCYSG.js +29 -0
  166. package/dist/chunk-IOYGR6YV.js +23 -0
  167. package/dist/chunk-IRUDR6GR.js +63 -0
  168. package/dist/chunk-IV7Z4UVQ.js +150 -0
  169. package/dist/chunk-IVBWOIGE.js +33 -0
  170. package/dist/chunk-IYTAHYEL.js +98 -0
  171. package/dist/chunk-IZBQH3LW.js +17 -0
  172. package/dist/chunk-J3C454L5.js +741 -0
  173. package/dist/chunk-J3GISX67.js +23 -0
  174. package/dist/chunk-J7XASX4N.js +733 -0
  175. package/dist/chunk-JHBA5IZR.js +20 -0
  176. package/dist/chunk-JHIGA7GN.js +43 -0
  177. package/dist/chunk-JIWFLALZ.js +269 -0
  178. package/dist/chunk-JM57BCD6.js +30 -0
  179. package/dist/chunk-JNCFHWBK.js +30 -0
  180. package/dist/chunk-JNEYUOQ3.js +83 -0
  181. package/dist/chunk-JPM7HCLI.js +23 -0
  182. package/dist/chunk-JPRADR2E.js +10 -0
  183. package/dist/chunk-JRK7JDU4.js +30 -0
  184. package/dist/chunk-JVG5AJA2.js +29 -0
  185. package/dist/chunk-JVTCXR7C.js +72 -0
  186. package/dist/chunk-JW6QOUMN.js +18 -0
  187. package/dist/chunk-K45LIKCT.js +37 -0
  188. package/dist/chunk-K4T24UGW.js +18 -0
  189. package/dist/chunk-K4TQJQWA.js +44 -0
  190. package/dist/chunk-K5LOYASR.js +18 -0
  191. package/dist/chunk-K6NKWRK4.js +30 -0
  192. package/dist/chunk-KD2PWI4Z.js +48 -0
  193. package/dist/chunk-KGFZYUE2.js +54 -0
  194. package/dist/chunk-KLEL6TMJ.js +22 -0
  195. package/dist/chunk-KNXHXMFT.js +77 -0
  196. package/dist/chunk-KP5S3FE5.js +13 -0
  197. package/dist/chunk-KUCVY5R7.js +40 -0
  198. package/dist/chunk-KY77XKAU.js +26 -0
  199. package/dist/chunk-L363MNYZ.js +14 -0
  200. package/dist/chunk-LBAPKP6M.js +473 -0
  201. package/dist/chunk-LBPOEGTS.js +271 -0
  202. package/dist/chunk-LDVATRUW.js +23 -0
  203. package/dist/chunk-LFRSZIAS.js +13 -0
  204. package/dist/chunk-LGMCQUJJ.js +40 -0
  205. package/dist/chunk-LKDW2GWH.js +9 -0
  206. package/dist/chunk-LMHILP5H.js +36 -0
  207. package/dist/chunk-LMUTL44M.js +58 -0
  208. package/dist/chunk-LOP6Y256.js +18 -0
  209. package/dist/chunk-LSBUNT4X.js +32 -0
  210. package/dist/chunk-M3O2BTJG.js +12 -0
  211. package/dist/chunk-M3QEBIQL.js +855 -0
  212. package/dist/chunk-MBPVW7BY.js +63 -0
  213. package/dist/chunk-MELBVXKL.js +36 -0
  214. package/dist/chunk-MJ44T7R4.js +28 -0
  215. package/dist/chunk-MJ4RLQ5N.js +177 -0
  216. package/dist/chunk-MJLABLH5.js +58 -0
  217. package/dist/chunk-MODUPHYS.js +20 -0
  218. package/dist/chunk-MRUIXQXS.js +29 -0
  219. package/dist/chunk-MSKC2RCS.js +17 -0
  220. package/dist/chunk-MY4TNZNI.js +36 -0
  221. package/dist/chunk-N65VOEFI.js +23 -0
  222. package/dist/chunk-N755UYFK.js +58 -0
  223. package/dist/chunk-NBADZOXB.js +24 -0
  224. package/dist/chunk-NGTSPXSJ.js +9 -0
  225. package/dist/chunk-NGYZK6AF.js +18 -0
  226. package/dist/chunk-NH33OKZQ.js +23 -0
  227. package/dist/chunk-NOHNPOQK.js +49 -0
  228. package/dist/chunk-NPQGX4IO.js +16 -0
  229. package/dist/chunk-NWNODYLQ.js +25 -0
  230. package/dist/chunk-NYEGRDOK.js +191 -0
  231. package/dist/chunk-NZYSENRR.js +50 -0
  232. package/dist/chunk-O5JIFWMQ.js +39 -0
  233. package/dist/chunk-O5NYB4W5.js +31 -0
  234. package/dist/chunk-O6GPPB6G.js +26 -0
  235. package/dist/chunk-O6HFT23O.js +39 -0
  236. package/dist/chunk-OBC245PJ.js +39 -0
  237. package/dist/chunk-ODLSWRTS.js +21 -0
  238. package/dist/chunk-OGJ6AZK4.js +9 -0
  239. package/dist/chunk-ONODYZ2H.js +146 -0
  240. package/dist/chunk-ORSRBZ2X.js +15 -0
  241. package/dist/chunk-OU6Q5ZS3.js +16 -0
  242. package/dist/chunk-OUT62LF4.js +111 -0
  243. package/dist/chunk-OZNYQOQK.js +25 -0
  244. package/dist/chunk-P253KAVC.js +75 -0
  245. package/dist/chunk-P26XSDFU.js +91 -0
  246. package/dist/chunk-P3RGVQ5B.js +12 -0
  247. package/dist/chunk-P7FVAGFQ.js +52 -0
  248. package/dist/chunk-PCF66ALO.js +39 -0
  249. package/dist/chunk-PD2BTMEY.js +598 -0
  250. package/dist/chunk-PGQK356A.js +22 -0
  251. package/dist/chunk-PIDKNOD6.js +25 -0
  252. package/dist/chunk-PNOSR4S4.js +152 -0
  253. package/dist/chunk-PRYIRRAS.js +21 -0
  254. package/dist/chunk-PURNABFX.js +22 -0
  255. package/dist/chunk-PXQTFJ2N.js +216 -0
  256. package/dist/chunk-PYACTCZ2.js +13 -0
  257. package/dist/chunk-PZAEU7LL.js +23 -0
  258. package/dist/chunk-Q35724GR.js +51 -0
  259. package/dist/chunk-Q55RN3EG.js +43 -0
  260. package/dist/chunk-Q7RUUXND.js +40 -0
  261. package/dist/chunk-Q7YVMIA3.js +32 -0
  262. package/dist/chunk-QAJUCN3A.js +76 -0
  263. package/dist/chunk-QDQ6A2MZ.js +23 -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-R33SW6V2.js +104 -0
  272. package/dist/chunk-R72E45HQ.js +506 -0
  273. package/dist/chunk-RFMBA6WA.js +18 -0
  274. package/dist/chunk-RIMA7EFJ.js +35 -0
  275. package/dist/chunk-RNFWWESE.js +9 -0
  276. package/dist/chunk-ROBNJX4W.js +68 -0
  277. package/dist/chunk-ROCHUNJI.js +36 -0
  278. package/dist/chunk-RPRL6G4R.js +218 -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-S3I6PZTN.js +438 -0
  284. package/dist/chunk-S4S2DD5Z.js +16 -0
  285. package/dist/chunk-S4Y7TLRT.js +12 -0
  286. package/dist/chunk-S6FVZYHH.js +16 -0
  287. package/dist/chunk-S6XYTJU2.js +37 -0
  288. package/dist/chunk-SB4BG7PH.js +159 -0
  289. package/dist/chunk-SDMBTSYP.js +15 -0
  290. package/dist/chunk-SDOEWLEE.js +22 -0
  291. package/dist/chunk-SEXIHLGA.js +16 -0
  292. package/dist/chunk-SSKHLBQB.js +15 -0
  293. package/dist/chunk-STUWMYJ3.js +3941 -0
  294. package/dist/chunk-SW7FSLHP.js +26 -0
  295. package/dist/chunk-T2DY3T55.js +10 -0
  296. package/dist/chunk-T4TPIDXO.js +111 -0
  297. package/dist/chunk-T5WE33UZ.js +70 -0
  298. package/dist/chunk-T7ZPGAB5.js +192 -0
  299. package/dist/chunk-TCTX3UXU.js +19 -0
  300. package/dist/chunk-TJGF3Z72.js +12 -0
  301. package/dist/chunk-TK4AJIJZ.js +47 -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-UJX7N737.js +101 -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-UYD7R4HL.js +26 -0
  319. package/dist/chunk-VABNWHSE.js +31 -0
  320. package/dist/chunk-VAGZIGNN.js +54 -0
  321. package/dist/chunk-VDE2QVT4.js +14 -0
  322. package/dist/chunk-VDXS55BC.js +62 -0
  323. package/dist/chunk-VEZ3FL5H.js +16 -0
  324. package/dist/chunk-VF2SKQIN.js +79 -0
  325. package/dist/chunk-VNPRH5XZ.js +143 -0
  326. package/dist/chunk-VPMI4LV2.js +25 -0
  327. package/dist/chunk-VQZVG7KJ.js +46 -0
  328. package/dist/chunk-VRQ4WDF7.js +22 -0
  329. package/dist/chunk-W5FPQALS.js +36 -0
  330. package/dist/chunk-W6UBSIJA.js +50 -0
  331. package/dist/chunk-W7TRZLEM.js +23 -0
  332. package/dist/chunk-WDODIKZ4.js +72 -0
  333. package/dist/chunk-WG3TXZMV.js +70 -0
  334. package/dist/chunk-WG4UDKA2.js +12 -0
  335. package/dist/chunk-WGV2ELBS.js +41 -0
  336. package/dist/chunk-WIG7VKXE.js +92 -0
  337. package/dist/chunk-WOGUXGZS.js +32 -0
  338. package/dist/chunk-WUG2UGQC.js +136 -0
  339. package/dist/chunk-WXQ3EA5H.js +12 -0
  340. package/dist/chunk-WYNRHOR7.js +69 -0
  341. package/dist/chunk-WYVUP7Z3.js +33 -0
  342. package/dist/chunk-X44VETJF.js +13 -0
  343. package/dist/chunk-X6ETCS7E.js +656 -0
  344. package/dist/chunk-XA3VSUG6.js +72 -0
  345. package/dist/chunk-XADYGSUA.js +25 -0
  346. package/dist/chunk-XDIVXGPQ.js +73 -0
  347. package/dist/chunk-XEJODD6D.js +6 -0
  348. package/dist/chunk-XGG4NZLE.js +210 -0
  349. package/dist/chunk-XSJGIJEE.js +8 -0
  350. package/dist/chunk-XT3AOF2P.js +16 -0
  351. package/dist/chunk-XTPBXBZA.js +11 -0
  352. package/dist/chunk-XV2STPP6.js +45 -0
  353. package/dist/chunk-XV6BO5MK.js +28 -0
  354. package/dist/chunk-XXXMWMVQ.js +208 -0
  355. package/dist/chunk-XY5OS2GH.js +147 -0
  356. package/dist/chunk-XZFSW5AY.js +217 -0
  357. package/dist/chunk-Y2KEHWBZ.js +35 -0
  358. package/dist/chunk-Y3JV5CEL.js +19 -0
  359. package/dist/chunk-Y3R4C2P7.js +231 -0
  360. package/dist/chunk-Y46IKU4U.js +46 -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-Z76MGO4R.js +284 -0
  379. package/dist/chunk-ZABRGL2F.js +45 -0
  380. package/dist/chunk-ZAMEG3EN.js +470 -0
  381. package/dist/chunk-ZDSSSQZZ.js +12 -0
  382. package/dist/chunk-ZFX4EZMW.js +20 -0
  383. package/dist/chunk-ZKVDVSCE.js +61 -0
  384. package/dist/chunk-ZLRZR64W.js +36 -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-QGUENERI.js +96 -0
  393. package/dist/cliHookCheck-VLLUDLZD.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-24HGGAM3.js +200 -0
  399. package/dist/codexHookTrust-YYBCCR7P.js +59 -0
  400. package/dist/commands/sessions/web/bundle.js +257 -257
  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-OWV2KIOD.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-KURLWXJF.js +131 -0
  429. package/dist/done-ZQCDA2OJ.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-YPYSRJLU.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-SW33MRTL.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-VKS5XM4V.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-OWWW2G36.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-XRXA7ZLN.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-WWYLIELZ.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-PYAPK2PU.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-NAJUWIFV.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-GAM4QS3V.js +59 -0
  533. package/dist/restructure-FJ3BME7E.js +760 -0
  534. package/dist/review-IXQ67Q2I.js +3870 -0
  535. package/dist/reviewPrComments-YELGPQIH.js +80 -0
  536. package/dist/rewindPhase-RKEURCE5.js +82 -0
  537. package/dist/run-JEUQGX5U.js +78 -0
  538. package/dist/run-KI7FYVOY.js +178 -0
  539. package/dist/runDaemon-WNUM5HUG.js +9292 -0
  540. package/dist/runExtract-IUEUT2IK.js +568 -0
  541. package/dist/runRefine-DWJATWCB.js +99 -0
  542. package/dist/runScope-LCAGTKGG.js +39 -0
  543. package/dist/scan-VM2LYP6W.js +74 -0
  544. package/dist/scheduleBackup-3UZQU67U.js +200 -0
  545. package/dist/schemaConfirm-WZCBGM7A.js +171 -0
  546. package/dist/schemaUnlock-JKXSG6BI.js +135 -0
  547. package/dist/screenshot-ARSOZ2M6.js +182 -0
  548. package/dist/search-HLB25O4S.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-65RGZKWW.js +327 -0
  556. package/dist/show-SPEIA7AL.js +186 -0
  557. package/dist/showClaudeCodeIcon-E4SAM3GN.js +12 -0
  558. package/dist/showCodexIcon-YUAKV4NI.js +11 -0
  559. package/dist/signExtension-VF34F7UR.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-4IYWN3MS.js +99 -0
  588. package/dist/updatePhase-USTBTRW4.js +163 -0
  589. package/dist/updatePlan-RV77RV4J.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-3X54NV64.js +178 -0
  596. package/dist/web-XW33SYEX.js +169 -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,438 @@
1
+ import {
2
+ mapAsync
3
+ } from "./chunk-2JYMVJGZ.js";
4
+ import {
5
+ launchBlocker
6
+ } from "./chunk-NWNODYLQ.js";
7
+ import {
8
+ INBOX_LAST_SCAN_KEY,
9
+ inboxConnectorRun,
10
+ inboxScanSchema,
11
+ readInboxLastScan
12
+ } from "./chunk-EHRQ6OST.js";
13
+ import {
14
+ inboxMessages,
15
+ jobRuns,
16
+ metadata
17
+ } from "./chunk-PD2BTMEY.js";
18
+ import {
19
+ emptyScanUsage,
20
+ harnessAdapter,
21
+ scanUsageTokens
22
+ } from "./chunk-STUWMYJ3.js";
23
+ import {
24
+ inboxFeature
25
+ } from "./chunk-PXQTFJ2N.js";
26
+
27
+ // src/shared/formatTokens.ts
28
+ function formatTokens(n) {
29
+ if (n < 1e3) return String(n);
30
+ if (n < 1e6) return `${(n / 1e3).toFixed(1)}k`;
31
+ return `${(n / 1e6).toFixed(1)}M`;
32
+ }
33
+
34
+ // src/commands/inbox/formatScanCost.ts
35
+ function formatScanCost(costUsd) {
36
+ return `$${costUsd.toFixed(2)}`;
37
+ }
38
+
39
+ // src/commands/inbox/formatScanUsage.ts
40
+ function formatScanUsage(usage) {
41
+ const tokens = `${formatTokens(scanUsageTokens(usage))} tokens`;
42
+ return usage.costUsd === null ? tokens : `${tokens} \xB7 ${formatScanCost(usage.costUsd)}`;
43
+ }
44
+
45
+ // src/commands/inbox/inboxScanBlocker.ts
46
+ function inboxScanBlocker(harness) {
47
+ return launchBlocker(harnessAdapter(harness), inboxFeature);
48
+ }
49
+
50
+ // src/shared/db/upsertInboxMessages.ts
51
+ async function upsertInboxMessages(orm, messages) {
52
+ if (messages.length === 0) return 0;
53
+ const inserted = await orm.insert(inboxMessages).values(messages).onConflictDoNothing({
54
+ target: [inboxMessages.source, inboxMessages.messageId]
55
+ }).returning({ messageId: inboxMessages.messageId });
56
+ return inserted.length;
57
+ }
58
+
59
+ // src/shared/db/writeInboxLastScan.ts
60
+ async function writeInboxLastScan(orm, at) {
61
+ const value = at.toISOString();
62
+ await orm.insert(metadata).values({ key: INBOX_LAST_SCAN_KEY, value }).onConflictDoUpdate({ target: metadata.key, set: { value } });
63
+ }
64
+
65
+ // src/commands/inbox/addScanUsage.ts
66
+ function sumNullable(a, b) {
67
+ return a === null && b === null ? null : (a ?? 0) + (b ?? 0);
68
+ }
69
+ function addScanUsage(a, b) {
70
+ return {
71
+ input: a.input + b.input,
72
+ output: a.output + b.output,
73
+ cacheRead: a.cacheRead + b.cacheRead,
74
+ cacheWrite: a.cacheWrite + b.cacheWrite,
75
+ costUsd: sumNullable(a.costUsd, b.costUsd),
76
+ durationMs: sumNullable(a.durationMs, b.durationMs)
77
+ };
78
+ }
79
+
80
+ // src/commands/inbox/inboxFlagInstructions.ts
81
+ function inboxFlagInstructions() {
82
+ return [
83
+ "Do not flag purely automated messages with no person-written message to me: bots, apps, CI, calendars, ticketing, monitoring, newsletters or mailing lists.",
84
+ `A notification email that relays a message a person wrote to me (such as a Teams chat @mention or reply, "<Name> mentioned you in your chat") is a person's message, not an automated one: judge the relayed message like any other and flag it when it needs my reply or action, even when it comes from a no-reply address.`,
85
+ "Flag messages a person wrote to me that need me to reply or act. That includes messages that hand me something to act on without asking a question, such as a credential or secret to retrieve, a document to review, or a deadline to meet.",
86
+ "Judge each message on its full content, never on a search snippet alone.",
87
+ "",
88
+ "For each flagged message return:",
89
+ '- source: "gmail" or "slack"',
90
+ "- messageId: the Gmail message id, or for Slack <channel_id>:<message ts>",
91
+ "- sender: the sender's name; for a relayed message, the person who wrote it, never the notification address or service",
92
+ "- summary: one sentence on the reply or action it needs from me",
93
+ "- link: the Gmail message viewUrl or the Slack permalink",
94
+ "- receivedAt: when it was sent, as an ISO 8601 timestamp",
95
+ "",
96
+ "Return an empty messages array when nothing needs my reply or action."
97
+ ];
98
+ }
99
+
100
+ // src/commands/inbox/buildInboxScanPrompt.ts
101
+ function buildInboxScanPrompt(since) {
102
+ const sinceUnix = Math.floor(since.getTime() / 1e3);
103
+ return [
104
+ "Triage my Gmail and Slack for messages a person wrote to me that need my reply or action.",
105
+ "You are read-only: never label, mark read, react to, reply to or otherwise change any message.",
106
+ "",
107
+ "Gmail:",
108
+ '- Call search_threads with query "in:inbox is:unread" (page through all results).',
109
+ "- Call get_thread with messageFormat PLAIN_TEXT on each thread.",
110
+ "- Consider the latest unread message in each thread.",
111
+ "",
112
+ `Slack (only messages since ${since.toISOString()}, unix ${sinceUnix}):`,
113
+ `- Call slack_search_public_and_private with filters "is:dm" and after "${sinceUnix}".`,
114
+ `- Call slack_search_public_and_private with keywords ["<@MY_USER_ID>"] and after "${sinceUnix}", where MY_USER_ID is the logged-in user id from the tool description.`,
115
+ "- Skip messages I wrote myself.",
116
+ "- For a message in a thread, call slack_read_thread and skip it if I have replied in that thread after it.",
117
+ "",
118
+ ...inboxFlagInstructions()
119
+ ].join("\n");
120
+ }
121
+
122
+ // src/commands/inbox/buildInboxThreadsPrompt.ts
123
+ function buildInboxThreadsPrompt(threadIds) {
124
+ return [
125
+ "Triage these unread threads from my Gmail inbox for messages that need my reply or action.",
126
+ "You are read-only: never label, mark read, reply to or otherwise change any message.",
127
+ "",
128
+ "Call get_thread with messageFormat PLAIN_TEXT on every one of these thread ids, and consider the latest unread message in each:",
129
+ ...threadIds.map((id) => `- ${id}`),
130
+ "",
131
+ ...inboxFlagInstructions()
132
+ ].join("\n");
133
+ }
134
+
135
+ // src/commands/inbox/openedThreadId.ts
136
+ var BODILESS_FORMATS = /* @__PURE__ */ new Set(["MINIMAL", "METADATA_ONLY"]);
137
+ function openedThreadId(input) {
138
+ const { threadId, messageFormat } = input ?? {};
139
+ if (typeof threadId !== "string") return void 0;
140
+ return typeof messageFormat === "string" && BODILESS_FORMATS.has(messageFormat) ? void 0 : threadId;
141
+ }
142
+
143
+ // src/commands/inbox/searchResultThreadIds.ts
144
+ function items(value) {
145
+ return Array.isArray(value) ? value : [];
146
+ }
147
+ function searchResultThreadIds(text) {
148
+ try {
149
+ const { threads } = JSON.parse(text);
150
+ return items(threads).map((thread) => thread.id).filter((id) => typeof id === "string");
151
+ } catch {
152
+ return [];
153
+ }
154
+ }
155
+
156
+ // src/commands/inbox/createGmailCoverage.ts
157
+ function createGmailCoverage() {
158
+ const searches = /* @__PURE__ */ new Set();
159
+ const found = /* @__PURE__ */ new Set();
160
+ const opened = /* @__PURE__ */ new Set();
161
+ return {
162
+ onEvent(event) {
163
+ if (event.type === "toolCall") {
164
+ if (event.tool === "gmail.searchThreads") searches.add(event.callId);
165
+ else if (event.tool === "gmail.getThread") {
166
+ const id = openedThreadId(event.input);
167
+ if (id) opened.add(id);
168
+ }
169
+ } else if (event.type === "toolResult" && searches.has(event.callId))
170
+ for (const id of searchResultThreadIds(event.text)) found.add(id);
171
+ },
172
+ current: () => ({ found: [...found], opened: [...opened] })
173
+ };
174
+ }
175
+
176
+ // src/commands/inbox/describeInboxScanTool.ts
177
+ function pick(input, keys) {
178
+ return keys.map((key) => input[key]).filter(
179
+ (value) => typeof value === "string" || typeof value === "number"
180
+ ).map(String);
181
+ }
182
+ function describeInboxScanTool(input) {
183
+ return pick(input, [
184
+ "query",
185
+ "thread_id",
186
+ "threadId",
187
+ "channel_id",
188
+ "message_ts"
189
+ ]).join(" ");
190
+ }
191
+
192
+ // src/commands/inbox/inboxProgressEvent.ts
193
+ var MAX_TEXT = 500;
194
+ function inboxProgressEvent(event) {
195
+ const at = (/* @__PURE__ */ new Date()).toISOString();
196
+ const tokens = "tokens" in event && event.tokens !== void 0 ? { tokens: event.tokens } : {};
197
+ if (event.type === "toolCall")
198
+ return {
199
+ at,
200
+ kind: "tool",
201
+ label: event.label,
202
+ detail: describeInboxScanTool(event.input),
203
+ ...tokens
204
+ };
205
+ if (event.type === "text")
206
+ return {
207
+ at,
208
+ kind: "text",
209
+ label: "Assistant",
210
+ detail: truncate(event.text),
211
+ ...tokens
212
+ };
213
+ return void 0;
214
+ }
215
+ function truncate(text) {
216
+ const trimmed = text.trim();
217
+ return trimmed.length <= MAX_TEXT ? trimmed : `${trimmed.slice(0, MAX_TEXT - 1)}\u2026`;
218
+ }
219
+
220
+ // src/commands/inbox/parseInboxScanOutput.ts
221
+ import { z } from "zod";
222
+ function parseInboxScanOutput(output) {
223
+ const parsed = inboxScanSchema.safeParse(output);
224
+ if (!parsed.success)
225
+ throw new Error(
226
+ `Inbox scan returned malformed output: ${z.prettifyError(parsed.error)}`
227
+ );
228
+ return parsed.data.messages;
229
+ }
230
+
231
+ // src/commands/inbox/runInboxScanPass.ts
232
+ async function runInboxScanPass(adapter, { prompt, tools }, {
233
+ onEvent = () => {
234
+ },
235
+ onUsage = () => {
236
+ },
237
+ onModel = () => {
238
+ }
239
+ } = {}) {
240
+ const coverage = createGmailCoverage();
241
+ const handle = (event) => {
242
+ coverage.onEvent(event);
243
+ if (event.type === "model") onModel(event.model);
244
+ else if (event.type === "usage") onUsage(event.usage);
245
+ const progress = inboxProgressEvent(event);
246
+ if (progress) onEvent(progress);
247
+ };
248
+ const result = await inboxConnectorRun(adapter, prompt, tools, handle);
249
+ return {
250
+ messages: parseInboxScanOutput(result.output),
251
+ usage: result.usage,
252
+ threads: coverage.current()
253
+ };
254
+ }
255
+
256
+ // src/commands/inbox/scanUnopenedThreads.ts
257
+ var BATCH_SIZE = 25;
258
+ var CONCURRENCY = 4;
259
+ var MAX_ATTEMPTS = 2;
260
+ function chunk(items2, size) {
261
+ return Array.from(
262
+ { length: Math.ceil(items2.length / size) },
263
+ (_, i) => items2.slice(i * size, (i + 1) * size)
264
+ );
265
+ }
266
+ function errorEvent(detail) {
267
+ return {
268
+ at: (/* @__PURE__ */ new Date()).toISOString(),
269
+ kind: "error",
270
+ label: "Gmail",
271
+ detail
272
+ };
273
+ }
274
+ async function scanUnopenedThreads(threadIds, scanThreads, onEvent = () => {
275
+ }) {
276
+ const messages = [];
277
+ let pending = threadIds;
278
+ for (let attempt = 0; attempt < MAX_ATTEMPTS && pending.length; attempt++) {
279
+ const results = await mapAsync(
280
+ chunk(pending, BATCH_SIZE),
281
+ CONCURRENCY,
282
+ (batch) => scanThreads(batch).catch((error) => {
283
+ onEvent(
284
+ errorEvent(error instanceof Error ? error.message : String(error))
285
+ );
286
+ return void 0;
287
+ })
288
+ );
289
+ const opened = new Set(results.flatMap((r) => r?.threads.opened ?? []));
290
+ messages.push(...results.flatMap((r) => r?.messages ?? []));
291
+ pending = pending.filter((id) => !opened.has(id));
292
+ }
293
+ if (pending.length)
294
+ onEvent(
295
+ errorEvent(
296
+ `${pending.length} unread thread(s) never opened: ${pending.join(" ")}`
297
+ )
298
+ );
299
+ return messages;
300
+ }
301
+
302
+ // src/commands/inbox/scanInboxWithCoverage.ts
303
+ async function scanInboxWithCoverage(adapter, since, listener) {
304
+ const runs = [];
305
+ const total = () => runs.reduce(addScanUsage, emptyScanUsage());
306
+ const run = async (pass) => {
307
+ const slot = runs.push(emptyScanUsage()) - 1;
308
+ const result = await runInboxScanPass(adapter, pass, {
309
+ ...listener,
310
+ onUsage: (usage) => {
311
+ runs[slot] = usage;
312
+ listener.onUsage?.(total());
313
+ }
314
+ });
315
+ runs[slot] = result.usage;
316
+ return result;
317
+ };
318
+ const main = await run({
319
+ prompt: buildInboxScanPrompt(since),
320
+ tools: [
321
+ "gmail.searchThreads",
322
+ "gmail.getThread",
323
+ "slack.search",
324
+ "slack.readThread"
325
+ ]
326
+ });
327
+ const opened = new Set(main.threads.opened);
328
+ const followUp = await scanUnopenedThreads(
329
+ main.threads.found.filter((id) => !opened.has(id)),
330
+ (threadIds) => run({
331
+ prompt: buildInboxThreadsPrompt(threadIds),
332
+ tools: ["gmail.getThread"]
333
+ }),
334
+ listener.onEvent
335
+ );
336
+ return { messages: [...main.messages, ...followUp], usage: total() };
337
+ }
338
+
339
+ // src/shared/db/finishJobRun.ts
340
+ import { eq } from "drizzle-orm";
341
+ async function finishJobRun(db, id, result) {
342
+ await db.update(jobRuns).set(result).where(eq(jobRuns.id, id));
343
+ }
344
+
345
+ // src/shared/db/startJobRun.ts
346
+ async function startJobRun(db, run) {
347
+ const [row] = await db.insert(jobRuns).values({ ...run, status: "running" }).returning({ id: jobRuns.id });
348
+ return row.id;
349
+ }
350
+
351
+ // src/commands/inbox/withInboxScanJob.ts
352
+ function usageColumns(usage) {
353
+ return {
354
+ inputTokens: usage.input,
355
+ outputTokens: usage.output,
356
+ cacheReadTokens: usage.cacheRead,
357
+ cacheWriteTokens: usage.cacheWrite,
358
+ costUsd: usage.costUsd
359
+ };
360
+ }
361
+ async function withInboxScanJob(orm, trigger, listener, scan) {
362
+ const startedAt = /* @__PURE__ */ new Date();
363
+ const id = await startJobRun(orm, { kind: "inbox-scan", trigger, startedAt });
364
+ let usage = emptyScanUsage();
365
+ let model = null;
366
+ const finish = (status, detail) => {
367
+ const finishedAt = /* @__PURE__ */ new Date();
368
+ return finishJobRun(orm, id, {
369
+ status,
370
+ finishedAt,
371
+ durationMs: finishedAt.getTime() - startedAt.getTime(),
372
+ model,
373
+ ...usageColumns(usage),
374
+ detail
375
+ });
376
+ };
377
+ try {
378
+ const result = await scan({
379
+ ...listener,
380
+ onUsage: (next) => {
381
+ usage = next;
382
+ listener.onUsage?.(next);
383
+ },
384
+ onModel: (next) => {
385
+ model = next;
386
+ listener.onModel?.(next);
387
+ }
388
+ });
389
+ usage = result.usage;
390
+ await finish("finished", `${result.flagged} flagged \xB7 ${result.added} new`);
391
+ return result;
392
+ } catch (error) {
393
+ const message = error instanceof Error ? error.message : String(error);
394
+ await finish("failed", message).catch(() => {
395
+ });
396
+ throw error;
397
+ }
398
+ }
399
+
400
+ // src/commands/inbox/runInboxScan.ts
401
+ var FIRST_SCAN_LOOKBACK_MS = 24 * 60 * 6e4;
402
+ function toRow(message) {
403
+ const receivedAt = message.receivedAt ? new Date(message.receivedAt) : void 0;
404
+ return {
405
+ source: message.source,
406
+ messageId: message.messageId,
407
+ sender: message.sender,
408
+ summary: message.summary,
409
+ link: message.link,
410
+ receivedAt: receivedAt && !Number.isNaN(receivedAt.getTime()) ? receivedAt : null
411
+ };
412
+ }
413
+ async function runInboxScan(orm, {
414
+ trigger,
415
+ adapter = harnessAdapter(void 0),
416
+ wrap = (_since, run) => run(),
417
+ ...listener
418
+ }) {
419
+ const blocker = launchBlocker(adapter, inboxFeature);
420
+ if (blocker) throw new Error(blocker);
421
+ return withInboxScanJob(orm, trigger, listener, async (tracked) => {
422
+ const startedAt = /* @__PURE__ */ new Date();
423
+ const since = await readInboxLastScan(orm) ?? new Date(startedAt.getTime() - FIRST_SCAN_LOOKBACK_MS);
424
+ const { messages, usage } = await wrap(
425
+ since,
426
+ () => scanInboxWithCoverage(adapter, since, tracked)
427
+ );
428
+ const added = await upsertInboxMessages(orm, messages.map(toRow));
429
+ await writeInboxLastScan(orm, startedAt);
430
+ return { flagged: messages.length, added, usage };
431
+ });
432
+ }
433
+
434
+ export {
435
+ formatScanUsage,
436
+ inboxScanBlocker,
437
+ runInboxScan
438
+ };
@@ -0,0 +1,16 @@
1
+ import {
2
+ legacyDefaultHarness
3
+ } from "./chunk-K6NKWRK4.js";
4
+
5
+ // src/commands/backlog/phaseUnlockRef.ts
6
+ function phaseUnlockSuffix(harness) {
7
+ return !harness || harness === legacyDefaultHarness ? "" : `:${harness}`;
8
+ }
9
+ function phaseUnlockRef(phase, harness) {
10
+ return `phase-${phase}${phaseUnlockSuffix(harness)}`;
11
+ }
12
+
13
+ export {
14
+ phaseUnlockSuffix,
15
+ phaseUnlockRef
16
+ };
@@ -0,0 +1,12 @@
1
+ import {
2
+ REVIEW_PHASE_NAME
3
+ } from "./chunk-IDFJE5DP.js";
4
+
5
+ // src/commands/backlog/authoredPhases.ts
6
+ function authoredPhases(plan) {
7
+ return plan.at(-1)?.name === REVIEW_PHASE_NAME ? plan.slice(0, -1) : plan;
8
+ }
9
+
10
+ export {
11
+ authoredPhases
12
+ };
@@ -0,0 +1,16 @@
1
+ // src/shared/stagedAttachmentsDir.ts
2
+ import { homedir } from "os";
3
+ import { join } from "path";
4
+ var stagedAttachmentsDir = join(homedir(), ".assist", "attachments");
5
+
6
+ // src/shared/isStagedAttachmentPath.ts
7
+ import { isAbsolute, relative, resolve, sep } from "path";
8
+ function isStagedAttachmentPath(path) {
9
+ const rel = relative(stagedAttachmentsDir, resolve(path));
10
+ return rel !== "" && rel !== ".." && !rel.startsWith(`..${sep}`) && !isAbsolute(rel);
11
+ }
12
+
13
+ export {
14
+ stagedAttachmentsDir,
15
+ isStagedAttachmentPath
16
+ };
@@ -0,0 +1,37 @@
1
+ // src/commands/prs/fetchThreadIds.ts
2
+ import { execFileSync } from "child_process";
3
+ var THREAD_QUERY = `query($owner: String!, $repo: String!, $prNumber: Int!) { repository(owner: $owner, name: $repo) { pullRequest(number: $prNumber) { reviewThreads(first: 100) { nodes { id isResolved comments(first: 100) { nodes { databaseId } } } } } } }`;
4
+ function fetchThreadIds(org, repo, prNumber) {
5
+ const result = execFileSync(
6
+ "gh",
7
+ [
8
+ "api",
9
+ "graphql",
10
+ "-f",
11
+ `query=${THREAD_QUERY}`,
12
+ "-F",
13
+ `owner=${org}`,
14
+ "-F",
15
+ `repo=${repo}`,
16
+ "-F",
17
+ `prNumber=${prNumber}`
18
+ ],
19
+ { encoding: "utf8" }
20
+ );
21
+ const response = JSON.parse(result);
22
+ const threadMap = /* @__PURE__ */ new Map();
23
+ const resolvedThreadIds = /* @__PURE__ */ new Set();
24
+ for (const thread of response.data.repository.pullRequest.reviewThreads.nodes) {
25
+ if (thread.isResolved) {
26
+ resolvedThreadIds.add(thread.id);
27
+ }
28
+ for (const comment of thread.comments.nodes) {
29
+ threadMap.set(comment.databaseId, thread.id);
30
+ }
31
+ }
32
+ return { threadMap, resolvedThreadIds };
33
+ }
34
+
35
+ export {
36
+ fetchThreadIds
37
+ };
@@ -0,0 +1,159 @@
1
+ import {
2
+ remoteDefaultBranch
3
+ } from "./chunk-B3JSQA5D.js";
4
+ import {
5
+ loadConfig
6
+ } from "./chunk-KGFZYUE2.js";
7
+
8
+ // src/shared/pullIfConfigured.ts
9
+ import { execSync as execSync4 } from "child_process";
10
+ import chalk3 from "chalk";
11
+
12
+ // src/shared/catchUpToRemoteDefault.ts
13
+ import { execSync as execSync3 } from "child_process";
14
+ import chalk2 from "chalk";
15
+
16
+ // src/shared/fastForwardTo.ts
17
+ import { execSync as execSync2 } from "child_process";
18
+ import chalk from "chalk";
19
+
20
+ // src/shared/waitForIndexUnlocked.ts
21
+ import { execSync } from "child_process";
22
+ import { existsSync } from "fs";
23
+ import { resolve } from "path";
24
+ var POLL_MS = 200;
25
+ function indexLockPath() {
26
+ try {
27
+ const rel = execSync("git rev-parse --git-path index.lock", {
28
+ encoding: "utf8",
29
+ stdio: ["ignore", "pipe", "ignore"]
30
+ }).trim();
31
+ return rel ? resolve(rel) : void 0;
32
+ } catch {
33
+ return void 0;
34
+ }
35
+ }
36
+ function sleepSync(ms) {
37
+ Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, ms);
38
+ }
39
+ function waitForIndexUnlocked(timeoutMs) {
40
+ const lock = indexLockPath();
41
+ if (!lock) return true;
42
+ const deadline = Date.now() + timeoutMs;
43
+ while (existsSync(lock)) {
44
+ if (Date.now() >= deadline) return false;
45
+ sleepSync(POLL_MS);
46
+ }
47
+ return true;
48
+ }
49
+
50
+ // src/shared/fastForwardTo.ts
51
+ var MERGE_ATTEMPTS = 3;
52
+ var LOCK_WAIT_MS = 1e4;
53
+ function fastForwardTo(ref) {
54
+ for (let attempt = 1; ; attempt++) {
55
+ waitForIndexUnlocked(LOCK_WAIT_MS);
56
+ try {
57
+ execSync2(`git merge --ff-only ${ref}`, {
58
+ stdio: ["inherit", "inherit", "pipe"]
59
+ });
60
+ return;
61
+ } catch (error) {
62
+ const stderr = String(error.stderr ?? "");
63
+ process.stderr.write(stderr);
64
+ if (attempt >= MERGE_ATTEMPTS || !stderr.includes("index.lock"))
65
+ throw error;
66
+ console.warn(
67
+ chalk.yellow("git index.lock is held by another process; retrying.")
68
+ );
69
+ }
70
+ }
71
+ }
72
+
73
+ // src/shared/catchUpToRemoteDefault.ts
74
+ async function catchUpToRemoteDefault() {
75
+ try {
76
+ execSync3("git fetch", { stdio: "inherit" });
77
+ } catch {
78
+ skip("git fetch failed");
79
+ return;
80
+ }
81
+ const ref = `origin/${await remoteDefaultBranch(process.cwd())}`;
82
+ if (!succeeds(`git rev-parse --verify --quiet ${ref}`)) {
83
+ skip(`the current branch has no upstream and there is no ${ref}`);
84
+ return;
85
+ }
86
+ if (!succeeds(`git merge-base --is-ancestor HEAD ${ref}`)) {
87
+ skip(
88
+ `the current branch has no upstream and has commits of its own not on ${ref}`
89
+ );
90
+ return;
91
+ }
92
+ try {
93
+ fastForwardTo(ref);
94
+ } catch {
95
+ console.error(chalk2.red(`git fast-forward to ${ref} failed; aborting.`));
96
+ process.exit(1);
97
+ }
98
+ }
99
+ function skip(reason) {
100
+ console.warn(chalk2.yellow(`git pull skipped: ${reason}. Continuing.`));
101
+ }
102
+ function succeeds(command) {
103
+ try {
104
+ execSync3(command, { stdio: "ignore" });
105
+ return true;
106
+ } catch {
107
+ return false;
108
+ }
109
+ }
110
+
111
+ // src/shared/pullIfConfigured.ts
112
+ async function pullIfConfigured() {
113
+ const config = loadConfig();
114
+ if (!config.commit?.pull) return;
115
+ if (hasLocalChanges()) {
116
+ console.warn(
117
+ chalk3.yellow(
118
+ "git pull skipped: working copy has local changes. Continuing."
119
+ )
120
+ );
121
+ return;
122
+ }
123
+ if (!hasUpstream()) {
124
+ await catchUpToRemoteDefault();
125
+ return;
126
+ }
127
+ try {
128
+ execSync4("git fetch", { stdio: "inherit" });
129
+ fastForwardTo("@{u}");
130
+ } catch {
131
+ console.error(chalk3.red("git fast-forward to upstream failed; aborting."));
132
+ process.exit(1);
133
+ }
134
+ }
135
+ function hasUpstream() {
136
+ try {
137
+ execSync4("git rev-parse --abbrev-ref --symbolic-full-name @{upstream}", {
138
+ encoding: "utf8",
139
+ stdio: ["ignore", "pipe", "ignore"]
140
+ });
141
+ return true;
142
+ } catch {
143
+ return false;
144
+ }
145
+ }
146
+ function hasLocalChanges() {
147
+ try {
148
+ const status = execSync4("git status --porcelain", {
149
+ encoding: "utf8"
150
+ });
151
+ return status.trim().length > 0;
152
+ } catch {
153
+ return false;
154
+ }
155
+ }
156
+
157
+ export {
158
+ pullIfConfigured
159
+ };
@@ -0,0 +1,15 @@
1
+ import {
2
+ runGhOrThrow
3
+ } from "./chunk-JHBA5IZR.js";
4
+
5
+ // src/commands/github/issue/assignIssueToSelf.ts
6
+ function assignIssueToSelf(number, repo) {
7
+ runGhOrThrow(
8
+ ["issue", "edit", String(number), "--repo", repo, "--add-assignee", "@me"],
9
+ `Could not assign ${repo}#${number} to you`
10
+ );
11
+ }
12
+
13
+ export {
14
+ assignIssueToSelf
15
+ };