@staff0rd/assist 0.1180.3 → 0.1181.1

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 (328) hide show
  1. package/dist/.build-files +320 -311
  2. package/dist/{acceptanceCriteria-4XVIJTAJ.js → acceptanceCriteria-FLKLUHRM.js} +3 -3
  3. package/dist/{add-5C3F6HZL.js → add-4HFUSI4W.js} +17 -18
  4. package/dist/{add-FVSMCVD2.js → add-G7MNBFJ3.js} +13 -16
  5. package/dist/{add-Z6Q7E56N.js → add-TELAFB2P.js} +7 -8
  6. package/dist/{addActivity-MKOYMTAD.js → addActivity-TQ4RVH5G.js} +16 -18
  7. package/dist/{addPhase-5XP6BFFW.js → addPhase-Q37GAOZK.js} +20 -21
  8. package/dist/{advise-7IBDZ6I3.js → advise-MDUPXOZN.js} +9 -9
  9. package/dist/{analyze-DCIOBJ6W.js → analyze-HITOWBLY.js} +8 -8
  10. package/dist/{askCheck-TEJY63G4.js → askCheck-MMVCIXQN.js} +21 -22
  11. package/dist/{askDesign-YO4XD6V6.js → askDesign-DBUPRQRL.js} +6 -6
  12. package/dist/{askQuestion-OH6U3E2H.js → askQuestion-5ZAG2BLA.js} +3 -3
  13. package/dist/{associateGithub-HIDQNC35.js → associateGithub-EMFUV67S.js} +12 -15
  14. package/dist/{associateJira-4NRDD7NF.js → associateJira-5O64LTTX.js} +12 -15
  15. package/dist/{backup-A2YWJJKE.js → backup-FHD5CKOT.js} +8 -9
  16. package/dist/{blockCodeComments-F7XS7R7M.js → blockCodeComments-3ZKDO7HR.js} +3 -3
  17. package/dist/{branch-Y7MN6ZD4.js → branch-XLGZMLWK.js} +14 -15
  18. package/dist/built-version +1 -1
  19. package/dist/{chunk-6XKIP5T5.js → chunk-2A45NMCL.js} +1 -1
  20. package/dist/{chunk-K7INMZZS.js → chunk-2CN7NINH.js} +5 -5
  21. package/dist/{chunk-7UIRJH7J.js → chunk-2E5N4QKZ.js} +1 -1
  22. package/dist/{chunk-33MYGCAU.js → chunk-2KDVWQDO.js} +1 -1
  23. package/dist/{chunk-CE3F46AS.js → chunk-2NBSG6KY.js} +1 -1
  24. package/dist/{chunk-VPFYLZLP.js → chunk-2O4P5JBF.js} +2 -2
  25. package/dist/{chunk-TYX4TQNO.js → chunk-2POPQVT5.js} +5 -0
  26. package/dist/{chunk-MSWU3D26.js → chunk-3A6IYQOI.js} +1 -1
  27. package/dist/{chunk-DRYHQLDE.js → chunk-3O7FY4S4.js} +5 -5
  28. package/dist/{chunk-SNJR5XUP.js → chunk-3XFGUDFI.js} +1 -1
  29. package/dist/{chunk-7CY2N76K.js → chunk-3XM5IMYZ.js} +1 -1
  30. package/dist/{chunk-MRL6EXO5.js → chunk-46TKFHYG.js} +1 -1
  31. package/dist/{chunk-PN4LGKS5.js → chunk-4R4OLYPU.js} +12 -12
  32. package/dist/{chunk-2UA2V7VG.js → chunk-4RIPWJT5.js} +1 -1
  33. package/dist/{chunk-RR2M3HMM.js → chunk-526CP4JW.js} +97 -55
  34. package/dist/{chunk-Q5X3UQ2H.js → chunk-55HDU2L2.js} +1 -1
  35. package/dist/{chunk-CYRXKHG3.js → chunk-5BBYDV46.js} +5 -5
  36. package/dist/{chunk-7YSOBLG2.js → chunk-5BDVREVD.js} +1 -1
  37. package/dist/{chunk-PXGKL2RO.js → chunk-5I32MJ4U.js} +27 -8
  38. package/dist/{chunk-IKV3OOIU.js → chunk-5NHDE3ZH.js} +1 -1
  39. package/dist/{chunk-UWCJOQAB.js → chunk-6GEOHD3Q.js} +2 -2
  40. package/dist/{chunk-EF5AIG6C.js → chunk-6KCAUR7W.js} +1 -1
  41. package/dist/{chunk-OTX4O4NF.js → chunk-6P6J3L5F.js} +4 -4
  42. package/dist/{chunk-NGQELG7J.js → chunk-6TUF6FAH.js} +5 -5
  43. package/dist/chunk-6Z7XJJNZ.js +8 -0
  44. package/dist/chunk-77ZO7CRV.js +38 -0
  45. package/dist/{chunk-XKPRJXTG.js → chunk-7KDFFRZ5.js} +2 -2
  46. package/dist/{chunk-ZT22PU6Z.js → chunk-A2J7V5CY.js} +26 -36
  47. package/dist/{chunk-YAFQ26BW.js → chunk-AAL3FXIC.js} +3 -3
  48. package/dist/{chunk-Z7ENC7OG.js → chunk-AECSCH4R.js} +1 -1
  49. package/dist/{chunk-A4C55UZC.js → chunk-AEDF2LCO.js} +1 -1
  50. package/dist/{chunk-CO3NJU7A.js → chunk-AH2DWTN6.js} +1 -1
  51. package/dist/{chunk-Q2CYQLCG.js → chunk-AODN5R7L.js} +1 -1
  52. package/dist/{chunk-G5H3UC2E.js → chunk-ATATFQ4C.js} +1 -1
  53. package/dist/{chunk-FOEL3ZWP.js → chunk-AWPYXTCV.js} +1 -1
  54. package/dist/{chunk-DN6LZ7YX.js → chunk-AYLKHJSY.js} +4 -4
  55. package/dist/{chunk-6APEOHZB.js → chunk-BCT2N7IO.js} +1 -1
  56. package/dist/{chunk-XNEJ67YC.js → chunk-BFY2JOUL.js} +2 -2
  57. package/dist/{chunk-AYA2RK4D.js → chunk-BSRQYKLL.js} +1 -1
  58. package/dist/{chunk-A4BNQA2E.js → chunk-BXANORUX.js} +1 -1
  59. package/dist/{chunk-J3LOGNJV.js → chunk-C4HH5KIV.js} +1 -1
  60. package/dist/{chunk-GNS5NLLV.js → chunk-C4LVSWFV.js} +3 -3
  61. package/dist/{chunk-SZKW2JGM.js → chunk-CCIEXNXQ.js} +4 -4
  62. package/dist/{chunk-K7ZAW37F.js → chunk-CIME6ZVX.js} +1 -1
  63. package/dist/{chunk-FJXDA5VK.js → chunk-CKFSZKPM.js} +7 -7
  64. package/dist/{chunk-NTSBGYVF.js → chunk-COVJ6KFD.js} +1 -36
  65. package/dist/{chunk-Z62UPSFB.js → chunk-CX2PGGIW.js} +3 -3
  66. package/dist/{chunk-IXGBWDE3.js → chunk-D7EKNAIL.js} +1 -1
  67. package/dist/{chunk-RCBV4YUC.js → chunk-DP6H7P2T.js} +1 -1
  68. package/dist/{chunk-MOYCNVNF.js → chunk-DUMLNS7U.js} +5 -5
  69. package/dist/{chunk-QN6PWJPA.js → chunk-E7SKAAJV.js} +2 -2
  70. package/dist/{chunk-YMWRG6KP.js → chunk-EBS5KT26.js} +1 -1
  71. package/dist/{chunk-QAYUL5IA.js → chunk-EGHUOQR6.js} +1 -1
  72. package/dist/chunk-EWUVIEWI.js +330 -0
  73. package/dist/{chunk-EXORBOKS.js → chunk-F4XCHVD7.js} +1 -0
  74. package/dist/{chunk-J7JHGFR7.js → chunk-FBFFEWRX.js} +1 -1
  75. package/dist/{chunk-DMP736PC.js → chunk-FOA4HVW5.js} +1 -1
  76. package/dist/chunk-FZYYHZ3P.js +77 -0
  77. package/dist/{chunk-GW2BK2PS.js → chunk-GAWJT4AD.js} +1 -1
  78. package/dist/{chunk-CLORR46B.js → chunk-GERREUE3.js} +14 -12
  79. package/dist/{chunk-B3DD6SYV.js → chunk-HFYMHBBQ.js} +1 -1
  80. package/dist/{chunk-AVQ4UCSW.js → chunk-HSDSWXRM.js} +1 -1
  81. package/dist/{chunk-656PT7XB.js → chunk-HXYVAIAG.js} +1 -1
  82. package/dist/{chunk-Z7VD6YI4.js → chunk-I32WFA5L.js} +23 -10
  83. package/dist/{chunk-TAJUIUPN.js → chunk-I46HJFIV.js} +2 -2
  84. package/dist/{chunk-BSHQKSHH.js → chunk-ICG3ZKTO.js} +2 -2
  85. package/dist/{chunk-OJG3DDNF.js → chunk-IDTV3YLU.js} +1 -1
  86. package/dist/{chunk-63DTHEC6.js → chunk-IPM3TM7Y.js} +1 -1
  87. package/dist/{chunk-MJPX6KMX.js → chunk-IWFM4Z7W.js} +1 -1
  88. package/dist/{chunk-E2WIWA2P.js → chunk-JAGY4QUE.js} +2 -2
  89. package/dist/{chunk-67MT3SVA.js → chunk-JCS2K4B6.js} +289 -328
  90. package/dist/{chunk-LWBZVONA.js → chunk-JNZZCHK7.js} +1 -1
  91. package/dist/{chunk-XGNQSIZR.js → chunk-JRYAKXP7.js} +2 -2
  92. package/dist/{chunk-SU4H4LOJ.js → chunk-JSNQKMY2.js} +1 -1
  93. package/dist/chunk-JV6A7AQQ.js +58 -0
  94. package/dist/{chunk-WMU5TTTN.js → chunk-JZQ7GD7R.js} +3 -3
  95. package/dist/{chunk-IBTFQWLB.js → chunk-KKMH5XSS.js} +10 -76
  96. package/dist/{chunk-S7MPFR5P.js → chunk-KNRK4XIM.js} +3 -3
  97. package/dist/{chunk-O42PHQKR.js → chunk-KNV5KHGD.js} +1 -1
  98. package/dist/{chunk-L4QB4GFZ.js → chunk-KTTXOSNI.js} +1 -1
  99. package/dist/{chunk-JICOELOW.js → chunk-L7DNPIJW.js} +1 -1
  100. package/dist/{chunk-W2SVVIX2.js → chunk-LV7CSY7C.js} +1 -1
  101. package/dist/{chunk-T6GVBGAD.js → chunk-LVJEHSK6.js} +1 -1
  102. package/dist/{chunk-HSXURYJT.js → chunk-LZ7L2NLS.js} +1 -1
  103. package/dist/{chunk-63P4DIOK.js → chunk-MLE3TRAN.js} +2 -2
  104. package/dist/{chunk-HPWDLQBG.js → chunk-MLERFQMF.js} +1 -1
  105. package/dist/{chunk-YK4GHAS7.js → chunk-MZ723L3M.js} +1 -1
  106. package/dist/{chunk-SRWFZ7BB.js → chunk-N2SLCM35.js} +1 -1
  107. package/dist/{chunk-FZY6XSWU.js → chunk-NDMLQYWD.js} +11 -11
  108. package/dist/{chunk-TSQXTGJH.js → chunk-NHZHMGYI.js} +1 -1
  109. package/dist/{chunk-7ALT4YQ5.js → chunk-NI2MWAPP.js} +1 -1
  110. package/dist/{chunk-BWCKJRU7.js → chunk-OBGC7IYQ.js} +2 -2
  111. package/dist/{chunk-TCTQ6NHB.js → chunk-OH3U3TVH.js} +1 -1
  112. package/dist/{chunk-IGBD7UIW.js → chunk-OLPYEUKR.js} +1 -1
  113. package/dist/{chunk-VXZGLP2I.js → chunk-ONFQ4O4Z.js} +3 -3
  114. package/dist/{chunk-GS73UAZO.js → chunk-OOPGHXOR.js} +1 -1
  115. package/dist/{chunk-PCYD6QNH.js → chunk-ORVXGPJF.js} +3 -3
  116. package/dist/chunk-OTCLPDCV.js +23 -0
  117. package/dist/{chunk-LTRVWKT5.js → chunk-P23ZWXGY.js} +3 -2
  118. package/dist/{chunk-5JZO5JUK.js → chunk-P5WTDOX6.js} +2 -2
  119. package/dist/{chunk-6HRYZPSB.js → chunk-PB33WANQ.js} +5 -5
  120. package/dist/{chunk-DRYGS5VW.js → chunk-PX5NZMZE.js} +16 -4
  121. package/dist/{chunk-GS34PJHP.js → chunk-QLS4OPRA.js} +3 -0
  122. package/dist/{chunk-JDAUCFBC.js → chunk-QVFQY67H.js} +1 -1
  123. package/dist/{chunk-22HHIGLN.js → chunk-QXIB7RUJ.js} +3 -3
  124. package/dist/{chunk-MQALQUCH.js → chunk-R73UVMXT.js} +2 -2
  125. package/dist/{chunk-J3EHBEWA.js → chunk-RI5R26VT.js} +2 -2
  126. package/dist/{chunk-Z7QZLBDU.js → chunk-RQBHSXJM.js} +3 -3
  127. package/dist/{chunk-U4CKXQBA.js → chunk-SIJH22YH.js} +7 -7
  128. package/dist/{chunk-FZIYYKUT.js → chunk-SQX66MN6.js} +9 -8
  129. package/dist/{chunk-U74NC6XW.js → chunk-SV6V52FL.js} +1 -1
  130. package/dist/{chunk-F43666KK.js → chunk-T32NIFSK.js} +4 -4
  131. package/dist/{chunk-5TXIIP3B.js → chunk-T7KCVG44.js} +1 -1
  132. package/dist/{chunk-43QJFQIE.js → chunk-TFRIMNI5.js} +11 -1
  133. package/dist/{chunk-TNPQF2VS.js → chunk-TUMXMBNL.js} +15 -48
  134. package/dist/{chunk-3RJRNU6F.js → chunk-U3MNI4IW.js} +2 -2
  135. package/dist/{chunk-Z2YQTWRN.js → chunk-UCTEGD7M.js} +1 -1
  136. package/dist/{chunk-CPPZRIIM.js → chunk-V36IOPTQ.js} +116 -116
  137. package/dist/{chunk-DWHPR5UE.js → chunk-V3ZEDLNI.js} +1 -1
  138. package/dist/{chunk-6N6UCHEL.js → chunk-V45NF4DZ.js} +1 -1
  139. package/dist/{chunk-FOU7VOLU.js → chunk-VA576CKS.js} +1 -1
  140. package/dist/chunk-VEVCEV6N.js +23 -0
  141. package/dist/{chunk-AJLUETNS.js → chunk-VNI7USDF.js} +9 -9
  142. package/dist/chunk-VVUYBY6D.js +16 -0
  143. package/dist/{chunk-OPXXAU66.js → chunk-W3KOWOFR.js} +2 -2
  144. package/dist/{chunk-5USZQNLN.js → chunk-W4XIQT44.js} +1 -1
  145. package/dist/{chunk-G3DTXM2T.js → chunk-WBKEVDZ6.js} +1 -1
  146. package/dist/{chunk-N4OFYMMC.js → chunk-WEPQMH2X.js} +1 -1
  147. package/dist/{chunk-EVOEJEOP.js → chunk-WOQJYO7I.js} +3 -3
  148. package/dist/{chunk-XBMRKNFH.js → chunk-WXTBAGAR.js} +2 -2
  149. package/dist/{chunk-SHUZT5ZH.js → chunk-WZ5NGEP2.js} +2 -2
  150. package/dist/{chunk-C5CZW4Z5.js → chunk-XI3WAFFQ.js} +81 -81
  151. package/dist/{chunk-MFRFQR7Z.js → chunk-XICMER2N.js} +20 -7
  152. package/dist/{chunk-H62CCG2H.js → chunk-XQNV6F74.js} +1 -1
  153. package/dist/{chunk-QDPHRCBD.js → chunk-XU7DLMY6.js} +3 -3
  154. package/dist/{chunk-76RNWPHY.js → chunk-YAVERF4M.js} +2 -2
  155. package/dist/{chunk-6WCWOYOL.js → chunk-YSGD5JCA.js} +1 -1
  156. package/dist/{chunk-EDOA7RDL.js → chunk-YUUOCOZC.js} +2 -2
  157. package/dist/{chunk-UKO64UKG.js → chunk-YYZZK53J.js} +35 -5
  158. package/dist/{chunk-6ZGQIHS3.js → chunk-Z42WW7WR.js} +2 -2
  159. package/dist/{chunk-M3H4DFO7.js → chunk-ZO7QYWSC.js} +1 -1
  160. package/dist/{chunk-SGOEJPHS.js → chunk-ZOG72VJ5.js} +1 -1
  161. package/dist/{chunk-PKBHPB2K.js → chunk-ZSDCXYYA.js} +1 -1
  162. package/dist/{chunk-DNHL6EE2.js → chunk-ZWLTGPSD.js} +1 -1
  163. package/dist/{chunk-PDW2OIPN.js → chunk-ZYQPTGM5.js} +1 -1
  164. package/dist/{cliHook-C5PCEGUN.js → cliHook-5QSCBKRV.js} +18 -18
  165. package/dist/{cliHookCheck-SOHVS2VI.js → cliHookCheck-5W5SRKHM.js} +7 -7
  166. package/dist/{cloneRepo-A7R6AID7.js → cloneRepo-WYMOQ6HN.js} +3 -3
  167. package/dist/{codexHook-4N3OPIX4.js → codexHook-XI2RI7MC.js} +21 -21
  168. package/dist/commands/sessions/web/bundle.js +437 -431
  169. package/dist/{comment-NPQP2WSJ.js → comment-CIN3R73R.js} +12 -15
  170. package/dist/{comment-O7CAONH7.js → comment-GDQRDDFY.js} +2 -2
  171. package/dist/{comments-CFARWPQR.js → comments-6HCKNGKK.js} +11 -14
  172. package/dist/{commit-CMXNL4WN.js → commit-ONTJIV5L.js} +19 -18
  173. package/dist/{configGet-4A7ONNPR.js → configGet-BIJANWET.js} +21 -22
  174. package/dist/{configImportRepos-GV46GC6Y.js → configImportRepos-FRTW7HMS.js} +18 -19
  175. package/dist/{configImportUser-EWBVYP5Q.js → configImportUser-DVVHZY2Z.js} +21 -22
  176. package/dist/{configKeys-WEYOD24B.js → configKeys-EKO4UEYF.js} +6 -6
  177. package/dist/{configKeys-UMNRPWU4.js → configKeys-RW7X7XTV.js} +6 -6
  178. package/dist/{configList-LHHXOQMQ.js → configList-V3DYVSC6.js} +10 -11
  179. package/dist/{configSet-4VUHL76P.js → configSet-53CWRB4M.js} +27 -28
  180. package/dist/{configUnset-UZZ4FW6A.js → configUnset-NUCSPBI5.js} +17 -18
  181. package/dist/{configure-DM6VOXFY.js → configure-MM25OZ33.js} +3 -3
  182. package/dist/{cyclomatic-HK6IYCSV.js → cyclomatic-UNT432CK.js} +5 -5
  183. package/dist/{del-5HZPB3JS.js → del-YUWG56KD.js} +11 -14
  184. package/dist/{deleteCommentCmd-FPZJERHZ.js → deleteCommentCmd-NLBUCTJK.js} +12 -15
  185. package/dist/{denyAdd-FEWDIXM3.js → denyAdd-IBFRJVMG.js} +4 -4
  186. package/dist/{denyList-7J3LTLR5.js → denyList-C34C36PY.js} +3 -3
  187. package/dist/{denyRemove-NVJGU7LX.js → denyRemove-6VHKTUTI.js} +4 -4
  188. package/dist/{docsConfirm-L7BWX7NT.js → docsConfirm-IMVZ2J7K.js} +17 -20
  189. package/dist/{docsScreenshots-GD4N4QSK.js → docsScreenshots-P7XLJ2NL.js} +11 -14
  190. package/dist/{docsUnlock-V7LVHVB4.js → docsUnlock-TCFPSMYF.js} +11 -13
  191. package/dist/{doctorNodes-CGLCXVII.js → doctorNodes-CCOK7ZZC.js} +11 -11
  192. package/dist/{done-G3UQCYCD.js → done-PJPIKUNJ.js} +22 -22
  193. package/dist/{editHook-HME7ZZ6F.js → editHook-AMMQYLKF.js} +22 -22
  194. package/dist/{exportBacklog-O4KFMPD4.js → exportBacklog-PTP537PD.js} +8 -9
  195. package/dist/{fixConflict-O3ABHFA3.js → fixConflict-PKR5QGBB.js} +12 -11
  196. package/dist/{fixed-S3Z2N64I.js → fixed-MSMTZMFQ.js} +3 -3
  197. package/dist/{forbiddenStrings-BWOE7PI3.js → forbiddenStrings-6VXJP7ZQ.js} +3 -3
  198. package/dist/{formatConfiguredCommands-ELL5GZFG.js → formatConfiguredCommands-CERMSBD4.js} +6 -6
  199. package/dist/{getBacklogDir-HTZSVZFD.js → getBacklogDir-OYCBBVXZ.js} +4 -4
  200. package/dist/{halstead-ZRGJKNXG.js → halstead-3JGYK4ML.js} +5 -5
  201. package/dist/{hardcodedColors-WCSCBNK4.js → hardcodedColors-Y3V6AAAL.js} +3 -3
  202. package/dist/{harnessFollowUps-7XI3W3C2.js → harnessFollowUps-H6F5J66L.js} +11 -14
  203. package/dist/{importBacklog-GQKVA54Q.js → importBacklog-XJV7GAE4.js} +7 -8
  204. package/dist/index.js +247 -201
  205. package/dist/{init-3W6VDFYH.js → init-KPTRYRE2.js} +5 -5
  206. package/dist/{init-33ABIRJY.js → init-ZFV6R34S.js} +4 -4
  207. package/dist/{inspect-BSJANZDD.js → inspect-ZKXVKPOZ.js} +5 -5
  208. package/dist/landPhase-GHSECSHW.js +88 -0
  209. package/dist/{launchMode-A5OETRY3.js → launchMode-276DE56B.js} +46 -37
  210. package/dist/{link-7W3PLDQQ.js → link-ILRXDMCE.js} +11 -14
  211. package/dist/{link-R6N5BXVY.js → link-JZA6OMHP.js} +3 -3
  212. package/dist/{linkNode-EBEAPVOH.js → linkNode-MFH7DVQU.js} +8 -8
  213. package/dist/{list-FMXSJXKN.js → list-BMRIZWUY.js} +5 -5
  214. package/dist/{list-7DKGYVDR.js → list-CVKIV3K5.js} +6 -6
  215. package/dist/{list-UHMSDBQH.js → list-MYOS6YJ5.js} +8 -9
  216. package/dist/{list-NBMGWHOJ.js → list-P6LSXTKZ.js} +3 -3
  217. package/dist/{list-27VB5RWS.js → list-PKRTHRKE.js} +20 -21
  218. package/dist/{list-Z5B3BHIW.js → list-ZW2TD7ZP.js} +7 -8
  219. package/dist/{listModels-SN7RKE2K.js → listModels-BHYU6CJF.js} +4 -4
  220. package/dist/{listNodes-XI5MIOSD.js → listNodes-HBXZWCNS.js} +5 -5
  221. package/dist/{maintainability-PLLLT623.js → maintainability-DNGIZAP4.js} +5 -5
  222. package/dist/{mermaidExport-XMSUZF5A.js → mermaidExport-DGVH57HM.js} +3 -3
  223. package/dist/migrate-RBIBYZOG.js +142 -0
  224. package/dist/{migrations-4K3QIW4U.js → migrations-WFMW4JES.js} +3 -3
  225. package/dist/{move-574YOPNL.js → move-CC3HBV5Z.js} +3 -3
  226. package/dist/{movePhase-2RM6ALGS.js → movePhase-K7V2CWBG.js} +21 -17
  227. package/dist/{moveRepo-SZZ3FN3W.js → moveRepo-BRJGDKO2.js} +11 -14
  228. package/dist/{newCli-H5BC3E6V.js → newCli-T73OIC2M.js} +9 -9
  229. package/dist/{newProject-4BQW764D.js → newProject-JT6OMUJX.js} +4 -4
  230. package/dist/{next-ZPRYBU62.js → next-4ZFXCWIO.js} +5 -5
  231. package/dist/{next-RETQ5LQH.js → next-VR2EY65U.js} +44 -35
  232. package/dist/{nodeLogs-VMRAGJRE.js → nodeLogs-OFXOAHCJ.js} +5 -5
  233. package/dist/{notify-NPB6NGRQ.js → notify-XJXIHERA.js} +3 -3
  234. package/dist/phaseDone-HWIM72IA.js +172 -0
  235. package/dist/{piHook-SV7GZEZI.js → piHook-YEJ7KBRL.js} +18 -18
  236. package/dist/{plan-GQRH2EVL.js → plan-WYRRDWCM.js} +11 -14
  237. package/dist/{postSlackMessage-T5CDKB43.js → postSlackMessage-L7EPBSSI.js} +4 -4
  238. package/dist/{posted-LVLQS22S.js → posted-7NFS3N4H.js} +5 -5
  239. package/dist/{propose-EQIBNZ4X.js → propose-FHJ5GX6S.js} +23 -24
  240. package/dist/{prsSlackChannel-2BGDU2OT.js → prsSlackChannel-VWYPTOYH.js} +3 -3
  241. package/dist/{pullIfConfigured-HLH62E2Q.js → pullIfConfigured-OFHDKUOE.js} +4 -4
  242. package/dist/{raise-7XXFBPJ3.js → raise-CYGCKUWV.js} +12 -13
  243. package/dist/{raiseHelpText-BGDTTYVF.js → raiseHelpText-7DFLXEU7.js} +3 -3
  244. package/dist/{ravendbAuth-DMW6756Q.js → ravendbAuth-JCMJRLCO.js} +4 -4
  245. package/dist/{ravendbCollections-UZA53NU2.js → ravendbCollections-3FKCZO6I.js} +4 -4
  246. package/dist/{ravendbQuery-ATHPRVNM.js → ravendbQuery-7CXAATKR.js} +4 -4
  247. package/dist/{ravendbSetConnection-2FEQCIOH.js → ravendbSetConnection-7SD4IJ5W.js} +4 -4
  248. package/dist/{readTime-YAPQWGHV.js → readTime-B7IWGQBK.js} +3 -3
  249. package/dist/{recordSlack-WLY24456.js → recordSlack-MKTZ7UJP.js} +9 -10
  250. package/dist/{refine-Y7IQQ2MW.js → refine-XTJKIU26.js} +48 -39
  251. package/dist/{refreshDocs-PMEOMUZG.js → refreshDocs-KJAKUFSP.js} +12 -15
  252. package/dist/{releasesConfigure-AUNSZGV6.js → releasesConfigure-4JFE42CF.js} +15 -16
  253. package/dist/{releasesList-AK7WCENZ.js → releasesList-7MFBQGJY.js} +3 -3
  254. package/dist/{remove-NKLJ2W7S.js → remove-7E754SWY.js} +7 -8
  255. package/dist/{remove-FUFBAVBQ.js → remove-MDIVQEKU.js} +14 -15
  256. package/dist/{removePhase-CODAQO4U.js → removePhase-OI4UOLJH.js} +15 -18
  257. package/dist/{reportCliError-ZCQQQLEH.js → reportCliError-FNYNM3Z7.js} +6 -6
  258. package/dist/{repos-SMM7S3DI.js → repos-7ICHUS7E.js} +4 -4
  259. package/dist/{resolveHarness-DXX7FKH6.js → resolveHarness-C5TMFYBS.js} +4 -4
  260. package/dist/{resolveModel-K5YVSBDX.js → resolveModel-MH6ZEWBI.js} +4 -4
  261. package/dist/{restartDaemon-RJXH5GLO.js → restartDaemon-WE6RTEVN.js} +5 -5
  262. package/dist/{restartNode-LACPJFGY.js → restartNode-SNFKQLGV.js} +11 -11
  263. package/dist/{restructure-TRORUCQH.js → restructure-FEZVBMMG.js} +3 -3
  264. package/dist/{review-RQWNTEPL.js → review-XCQADKWL.js} +53 -53
  265. package/dist/{reviewPrComments-4BGL4BHW.js → reviewPrComments-GSRXICOE.js} +12 -11
  266. package/dist/{rewindPhase-E4ZRJVUC.js → rewindPhase-RQTTF7KV.js} +27 -26
  267. package/dist/{rulesAdd-3OTOBGQ3.js → rulesAdd-3VY2X24V.js} +20 -21
  268. package/dist/{run-NDCRZBY5.js → run-H34EBLTZ.js} +41 -32
  269. package/dist/{run-RW3XRBUT.js → run-IF3O744N.js} +47 -38
  270. package/dist/{runDaemon-CVDCEV4M.js → runDaemon-AI4PWS54.js} +53 -47
  271. package/dist/{runExtract-PEEVCEON.js → runExtract-QEN52IBC.js} +23 -24
  272. package/dist/runParallelPhase-QOZ4RDOY.js +195 -0
  273. package/dist/{runRefine-JCY3Q6FT.js → runRefine-EVU2SXOH.js} +49 -40
  274. package/dist/{runScope-HZD2G5FP.js → runScope-KMXWSGKM.js} +7 -7
  275. package/dist/{scan-YZLNKZPZ.js → scan-FMYNFFN4.js} +12 -13
  276. package/dist/{scheduleBackup-K56TI26O.js → scheduleBackup-CNXIEIZS.js} +3 -3
  277. package/dist/{schemaConfirm-HEAJUWZI.js → schemaConfirm-PFTU37KG.js} +20 -22
  278. package/dist/{schemaUnlock-FWJIHNAY.js → schemaUnlock-ZJBIGSY3.js} +21 -23
  279. package/dist/{screenshot-YDCUYTQD.js → screenshot-F5WLI3IG.js} +3 -3
  280. package/dist/{search-4OX3PY46.js → search-YH4WAZ6Y.js} +19 -20
  281. package/dist/{seqAuth-5OGV32GR.js → seqAuth-ZDVVMXPL.js} +4 -4
  282. package/dist/{seqQuery-IH6QCBCA.js → seqQuery-FISJPGAP.js} +7 -7
  283. package/dist/{seqSetConnection-HOLKSM7V.js → seqSetConnection-CEUUZGWN.js} +7 -7
  284. package/dist/{setStatusCommand-P4YVAF24.js → setStatusCommand-4DYSYNO3.js} +11 -14
  285. package/dist/{show-YOGLLI6Q.js → show-GJG53Q2D.js} +19 -20
  286. package/dist/{show-SIDZZQZM.js → show-PMHYKFHM.js} +8 -8
  287. package/dist/{signExtension-XGPUOWHI.js → signExtension-VAMFQ4IY.js} +1 -1
  288. package/dist/{skip-AVCAEOTQ.js → skip-UINZFV2Q.js} +15 -16
  289. package/dist/{slack-I4UW7Z4B.js → slack-SXXZ66Z7.js} +9 -9
  290. package/dist/{sloc-OOY2FWLE.js → sloc-CWGS6IVZ.js} +5 -5
  291. package/dist/{sqlAuth-ZITR23FB.js → sqlAuth-QDI4NBTJ.js} +7 -7
  292. package/dist/{sqlColumns-EGC7P4WX.js → sqlColumns-P7PU272W.js} +5 -5
  293. package/dist/{sqlMutate-HMT322JG.js → sqlMutate-7IATINKP.js} +5 -5
  294. package/dist/{sqlQuery-NSMW5PR6.js → sqlQuery-3WOQO3C4.js} +5 -5
  295. package/dist/{sqlSetConnection-FRZHQG7Q.js → sqlSetConnection-YWCKHWWC.js} +4 -4
  296. package/dist/{sqlTables-E4WHJK54.js → sqlTables-U73736CH.js} +5 -5
  297. package/dist/{star-3N2X3NQ3.js → star-QGBVREHY.js} +13 -16
  298. package/dist/{start-NZDHCFM2.js → start-ZNRAGOBN.js} +11 -14
  299. package/dist/{status-HJM4RFP7.js → status-2AHI43D2.js} +7 -8
  300. package/dist/{stop-E4YORU2S.js → stop-DE2TPCSR.js} +21 -16
  301. package/dist/{sync-BWEW4JW3.js → sync-A6FUE5M3.js} +3 -3
  302. package/dist/{testflightAdd-E3MXCY2K.js → testflightAdd-I7S6CD2D.js} +3 -3
  303. package/dist/{unlink-OV63HQAM.js → unlink-XDOPGFMY.js} +11 -14
  304. package/dist/{unlinkNode-GDQFJCB5.js → unlinkNode-7QBVKD6A.js} +7 -7
  305. package/dist/{unstar-GLDU5DJL.js → unstar-TSRGDVDC.js} +13 -16
  306. package/dist/{update-HY4KNBAQ.js → update-3IJHSG6Z.js} +11 -14
  307. package/dist/{update-EBJWHSVX.js → update-D7NHJ5MB.js} +5 -5
  308. package/dist/{updateNode-VGGDM4YP.js → updateNode-64JC3BZ5.js} +12 -12
  309. package/dist/{updatePhase-7Q3TLPDC.js → updatePhase-EZZWFIMT.js} +14 -17
  310. package/dist/{updatePlan-4A24ZJ4C.js → updatePlan-33GMRJZR.js} +21 -22
  311. package/dist/{version-XOOSBN3H.js → version-5CAEM4ZS.js} +5 -5
  312. package/dist/{watchWait-TN4TMYG6.js → watchWait-EWZRDVA4.js} +11 -11
  313. package/dist/{web-JQWHTJYE.js → web-CCFLR4F2.js} +89 -88
  314. package/dist/{web-DRXXSIAC.js → web-J4V53MDL.js} +89 -88
  315. package/dist/{withPool-SF72TCC2.js → withPool-YUB4XOGQ.js} +6 -6
  316. package/dist/{wontdo-PZX7HVFI.js → wontdo-IP45DALP.js} +12 -15
  317. package/dist/{write-RSUC5HX7.js → write-CV263CMW.js} +5 -5
  318. package/dist/{writeSignal-SCNJ2WAJ.js → writeSignal-RXEOI7SK.js} +2 -2
  319. package/package.json +1 -1
  320. package/dist/chunk-ZBLXDYGO.js +0 -39
  321. package/dist/migrate-MBYE5NOV.js +0 -37
  322. package/dist/phaseDone-FA6RS2DP.js +0 -107
  323. package/dist/{chunk-TM3TO23X.js → chunk-IQGY6BGN.js} +3 -3
  324. package/dist/{createIssue-FGHP6XJV.js → createIssue-DYV4QFFA.js} +6 -6
  325. package/dist/{editIssueComment-MMW2F4TM.js → editIssueComment-NDFSJN3G.js} +3 -3
  326. package/dist/{reply-GTYV733P.js → reply-TP5KOGGN.js} +3 -3
  327. package/dist/{startIssue-JSVKGZZR.js → startIssue-J6TPWJIB.js} +1 -1
  328. package/dist/{wontfix-ORNEHNPO.js → wontfix-3U7LZF2M.js} +3 -3
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  validateConfig
3
- } from "./chunk-S7MPFR5P.js";
3
+ } from "./chunk-KNRK4XIM.js";
4
4
  import {
5
5
  sendToDaemonAwaitAck
6
6
  } from "./chunk-A2XSU5K6.js";
7
7
  import {
8
8
  loadGlobalConfigRaw,
9
9
  saveGlobalConfig
10
- } from "./chunk-QAYUL5IA.js";
10
+ } from "./chunk-EGHUOQR6.js";
11
11
  import {
12
12
  SSH_LINK_RETIRED
13
- } from "./chunk-GS34PJHP.js";
13
+ } from "./chunk-QLS4OPRA.js";
14
14
  import {
15
15
  isDaemonRunning
16
16
  } from "./chunk-Q6PZLPK4.js";
@@ -2,7 +2,7 @@ import {
2
2
  getGlobalConfigPath,
3
3
  loadRawYaml,
4
4
  projectConfigPathFrom
5
- } from "./chunk-656PT7XB.js";
5
+ } from "./chunk-HXYVAIAG.js";
6
6
 
7
7
  // src/shared/db/MissingDatabaseUrlError.ts
8
8
  var DATABASE_URL_ENV = "ASSIST_DATABASE_URL";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  metadata
3
- } from "./chunk-F43666KK.js";
3
+ } from "./chunk-T32NIFSK.js";
4
4
 
5
5
  // src/shared/db/readInboxLastScan.ts
6
6
  import { eq } from "drizzle-orm";
@@ -1,3 +1,7 @@
1
+ import {
2
+ tailscaleCli,
3
+ tailscaleStatus
4
+ } from "./chunk-DS2YJZZY.js";
1
5
  import {
2
6
  buildHello,
3
7
  connectLinkWebSocket,
@@ -5,16 +9,12 @@ import {
5
9
  isHello,
6
10
  linkVersionCheck,
7
11
  negotiateProtocol
8
- } from "./chunk-VXZGLP2I.js";
12
+ } from "./chunk-ONFQ4O4Z.js";
9
13
  import {
10
14
  describePeerError,
11
15
  fetchPeerJson,
12
16
  peerErrorCode
13
17
  } from "./chunk-VABNWHSE.js";
14
- import {
15
- tailscaleCli,
16
- tailscaleStatus
17
- } from "./chunk-DS2YJZZY.js";
18
18
 
19
19
  // src/commands/sessions/nodes/probePeerHello.ts
20
20
  var HELLO_TIMEOUT_MS = 5e3;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  updateStarred
3
- } from "./chunk-6APEOHZB.js";
3
+ } from "./chunk-BCT2N7IO.js";
4
4
  import {
5
5
  getReady
6
- } from "./chunk-RR2M3HMM.js";
6
+ } from "./chunk-526CP4JW.js";
7
7
  import {
8
8
  formatItemId,
9
9
  parseItemId
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  authoredPhases
3
- } from "./chunk-SRWFZ7BB.js";
3
+ } from "./chunk-N2SLCM35.js";
4
4
 
5
5
  // src/commands/backlog/resolvePlan.ts
6
6
  function resolvePlan(item) {
@@ -5,7 +5,7 @@ import {
5
5
  loadRawYaml,
6
6
  projectConfigPathFrom,
7
7
  projectConfigWritePathFrom
8
- } from "./chunk-656PT7XB.js";
8
+ } from "./chunk-HXYVAIAG.js";
9
9
 
10
10
  // src/shared/loadConfig.ts
11
11
  import { mkdirSync, writeFileSync } from "fs";
@@ -0,0 +1,330 @@
1
+ import {
2
+ backlogPhaseActivity,
3
+ recordPhaseSession
4
+ } from "./chunk-77ZO7CRV.js";
5
+ import {
6
+ resumeNudge
7
+ } from "./chunk-7NZOH4LN.js";
8
+ import {
9
+ HARNESS_SPAWN_FAILED,
10
+ awaitHarness
11
+ } from "./chunk-ZYK7V4PG.js";
12
+ import {
13
+ preassignedId
14
+ } from "./chunk-EEFDZ4FS.js";
15
+ import {
16
+ emitActivity
17
+ } from "./chunk-4YAIQN3S.js";
18
+ import {
19
+ setSessionStatus
20
+ } from "./chunk-7KDF6H4R.js";
21
+ import {
22
+ appendDaemonLog
23
+ } from "./chunk-5H7EHZ3J.js";
24
+ import {
25
+ appendComment
26
+ } from "./chunk-HFYMHBBQ.js";
27
+ import {
28
+ buildPhasePrompt
29
+ } from "./chunk-PX5NZMZE.js";
30
+ import {
31
+ getReady
32
+ } from "./chunk-526CP4JW.js";
33
+ import {
34
+ loadItem
35
+ } from "./chunk-TFRIMNI5.js";
36
+ import {
37
+ phaseUsage
38
+ } from "./chunk-T32NIFSK.js";
39
+ import {
40
+ harnessAdapter
41
+ } from "./chunk-XI3WAFFQ.js";
42
+ import {
43
+ getSignalPath
44
+ } from "./chunk-P23ZWXGY.js";
45
+ import {
46
+ recordSignalOwner
47
+ } from "./chunk-SQX66MN6.js";
48
+ import {
49
+ exitOnCancel
50
+ } from "./chunk-SSKHLBQB.js";
51
+
52
+ // src/commands/backlog/watchForMarker.ts
53
+ import { existsSync as existsSync2, unwatchFile, watchFile } from "fs";
54
+
55
+ // src/commands/backlog/readSignal.ts
56
+ import { existsSync, readFileSync } from "fs";
57
+ function readSignal() {
58
+ const path = getSignalPath();
59
+ if (!path || !existsSync(path)) return void 0;
60
+ try {
61
+ return JSON.parse(readFileSync(path, "utf8"));
62
+ } catch {
63
+ return void 0;
64
+ }
65
+ }
66
+
67
+ // src/commands/backlog/watchForMarker.ts
68
+ function watchForMarker(child, options) {
69
+ let killed = false;
70
+ const statusPath = getSignalPath();
71
+ if (!statusPath) return { killedOnMarker: () => killed };
72
+ watchFile(statusPath, { interval: 1e3 }, () => {
73
+ if (!existsSync2(statusPath)) return;
74
+ const signal = readSignal();
75
+ if (!signal) return;
76
+ if (signal.event === "done" && !options?.actOnDone) return;
77
+ unwatchFile(statusPath);
78
+ killed = true;
79
+ child.kill("SIGTERM");
80
+ });
81
+ return { killedOnMarker: () => killed };
82
+ }
83
+ function stopWatching() {
84
+ const statusPath = getSignalPath();
85
+ if (statusPath) unwatchFile(statusPath);
86
+ }
87
+
88
+ // src/commands/backlog/resolvePhaseResult.ts
89
+ import { existsSync as existsSync3, unlinkSync } from "fs";
90
+ import chalk from "chalk";
91
+
92
+ // src/commands/backlog/handleIncompletePhase.ts
93
+ import enquirer from "enquirer";
94
+ async function handleIncompletePhase() {
95
+ const { action } = await exitOnCancel(
96
+ enquirer.prompt({
97
+ type: "select",
98
+ name: "action",
99
+ message: "Phase was not marked complete. What would you like to do?",
100
+ choices: ["Retry this phase", "Skip to next phase", "Abort"]
101
+ })
102
+ );
103
+ if (action === "Retry this phase") return "retry";
104
+ if (action === "Skip to next phase") return "skip";
105
+ return "abort";
106
+ }
107
+
108
+ // src/commands/backlog/resolvePhaseResult.ts
109
+ function cleanupSignal() {
110
+ const statusPath = getSignalPath();
111
+ if (statusPath && existsSync3(statusPath)) {
112
+ unlinkSync(statusPath);
113
+ }
114
+ }
115
+ async function isTerminalStatus(itemId) {
116
+ const { orm } = await getReady();
117
+ const item = await loadItem(orm, itemId);
118
+ return item?.status === "done" || item?.status === "wontdo";
119
+ }
120
+ async function resolvePhaseResult(phaseIndex, itemId) {
121
+ const signalPath = getSignalPath();
122
+ if (!signalPath || !existsSync3(signalPath)) {
123
+ if (await isTerminalStatus(itemId)) return { kind: "abort" };
124
+ const action = await handleIncompletePhase();
125
+ if (action === "abort") return { kind: "abort" };
126
+ return action === "skip" ? { kind: "skip" } : { kind: "retry" };
127
+ }
128
+ const signal = readSignal();
129
+ cleanupSignal();
130
+ if (signal?.event === "cancel") {
131
+ console.log(chalk.yellow("\nPhase cancelled."));
132
+ return { kind: "abort" };
133
+ }
134
+ if (signal?.event === "rewind") {
135
+ const targetPhase = signal.targetPhase;
136
+ const targetPhaseNumber = targetPhase + 1;
137
+ console.log(chalk.yellow(`
138
+ Rewinding to phase ${targetPhaseNumber}.`));
139
+ return { kind: "rewind", targetPhase };
140
+ }
141
+ const phaseNumber = phaseIndex + 1;
142
+ console.log(chalk.green(`
143
+ Phase ${phaseNumber} completed.`));
144
+ return { kind: "advance" };
145
+ }
146
+
147
+ // src/commands/backlog/executePhase.ts
148
+ import chalk3 from "chalk";
149
+
150
+ // src/commands/backlog/launchPhaseHarness.ts
151
+ async function launchPhaseHarness(prompt, spawnOptions, context, harness) {
152
+ const adapter = harnessAdapter(harness);
153
+ const cwd = process.cwd();
154
+ const { allowEdits, resumeSessionId, sessionId, model } = spawnOptions;
155
+ const { child, done } = resumeSessionId ? adapter.resume(resumeSessionId, prompt, { cwd, allowEdits }) : adapter.launchPrompt(prompt, {
156
+ cwd,
157
+ allowEdits,
158
+ conversationId: sessionId,
159
+ model
160
+ });
161
+ watchForMarker(child);
162
+ const exitCode = await awaitHarness(done, context, adapter.label);
163
+ stopWatching();
164
+ return exitCode;
165
+ }
166
+
167
+ // src/commands/backlog/launchPhaseSession.ts
168
+ function launchPhaseSession(item, phaseNumber, phase, phaseLabel, claudeSessionId, spawnOptions) {
169
+ const harness = spawnOptions?.harness;
170
+ const { harness: _harness, ...phaseOptions } = spawnOptions ?? {};
171
+ const resumeSessionId = phaseOptions.resumeSessionId;
172
+ return launchPhaseHarness(
173
+ resumeSessionId ? resumeNudge() : buildPhasePrompt(item, phaseNumber, phase, harness),
174
+ resumeSessionId ? phaseOptions : { ...phaseOptions, sessionId: claudeSessionId },
175
+ phaseLabel,
176
+ harness
177
+ );
178
+ }
179
+
180
+ // src/commands/backlog/preparePhaseSession.ts
181
+ import { randomUUID } from "crypto";
182
+
183
+ // src/commands/backlog/persistPhaseSession.ts
184
+ import os from "os";
185
+ async function persistPhaseSession(itemId, phaseIdx, claudeSessionId) {
186
+ try {
187
+ const { orm } = await getReady();
188
+ await recordPhaseSession(
189
+ orm,
190
+ itemId,
191
+ phaseIdx,
192
+ claudeSessionId,
193
+ os.hostname(),
194
+ os.userInfo().username
195
+ );
196
+ } catch (error) {
197
+ console.error(
198
+ `Failed to record phase session for item ${itemId} phase ${phaseIdx}:`,
199
+ error
200
+ );
201
+ }
202
+ }
203
+
204
+ // src/shared/db/recordPhaseSessionId.ts
205
+ async function recordPhaseSessionId(db, itemId, phaseIdx, claudeSessionId) {
206
+ await db.insert(phaseUsage).values({ itemId, phaseIdx, claudeSessionId }).onConflictDoUpdate({
207
+ target: [phaseUsage.itemId, phaseUsage.phaseIdx],
208
+ set: { claudeSessionId }
209
+ });
210
+ }
211
+
212
+ // src/commands/backlog/persistPhaseSessionId.ts
213
+ async function persistPhaseSessionId(itemId, phaseIdx, claudeSessionId) {
214
+ try {
215
+ const { orm } = await getReady();
216
+ await recordPhaseSessionId(orm, itemId, phaseIdx, claudeSessionId);
217
+ } catch {
218
+ }
219
+ }
220
+
221
+ // src/commands/backlog/reportPhaseActivity.ts
222
+ function reportPhaseActivity(item, phaseNumber, totalPhases, phase, identity) {
223
+ emitActivity({
224
+ ...backlogPhaseActivity(item, phaseNumber, totalPhases, phase.name),
225
+ ...identity
226
+ });
227
+ }
228
+
229
+ // src/commands/backlog/verifyResumeConversation.ts
230
+ import chalk2 from "chalk";
231
+ async function verifyResumeConversation(itemId, resumeSessionId, phaseLabel, harness) {
232
+ if (await harnessAdapter(harness).conversation.locate(resumeSessionId))
233
+ return true;
234
+ const message = `${phaseLabel}: resume found no conversation for session ${resumeSessionId}; phase not advanced`;
235
+ console.error(chalk2.red(`
236
+ ${message}`));
237
+ appendDaemonLog(`backlog run ${itemId}: ${message}`);
238
+ try {
239
+ const { orm } = await getReady();
240
+ await appendComment(orm, itemId, `Resume failed \u2014 ${message}`);
241
+ } catch {
242
+ }
243
+ return false;
244
+ }
245
+
246
+ // src/commands/backlog/verifyPhaseResume.ts
247
+ async function verifyPhaseResume(itemId, resumeSessionId, phaseLabel, harness) {
248
+ if (!await verifyResumeConversation(
249
+ itemId,
250
+ resumeSessionId,
251
+ phaseLabel,
252
+ harness
253
+ ))
254
+ return false;
255
+ cleanupSignal();
256
+ return true;
257
+ }
258
+
259
+ // src/commands/backlog/preparePhaseSession.ts
260
+ async function preparePhaseSession(item, phase, phaseIndex, phaseNumber, totalPhases, phaseLabel, spawnOptions) {
261
+ const resumeSessionId = spawnOptions?.resumeSessionId;
262
+ const adapter = harnessAdapter(spawnOptions?.harness);
263
+ const claudeSessionId = resumeSessionId ?? preassignedId(adapter) ?? randomUUID();
264
+ if (resumeSessionId && !await verifyPhaseResume(
265
+ item.id,
266
+ resumeSessionId,
267
+ phaseLabel,
268
+ spawnOptions?.harness
269
+ )) {
270
+ return void 0;
271
+ }
272
+ reportPhaseActivity(
273
+ item,
274
+ phaseNumber,
275
+ totalPhases,
276
+ phase,
277
+ adapter.activityIdentity(claudeSessionId, resumeSessionId)
278
+ );
279
+ if (!resumeSessionId) {
280
+ await persistPhaseSessionId(item.id, phaseIndex, claudeSessionId);
281
+ }
282
+ await persistPhaseSession(item.id, phaseIndex, claudeSessionId);
283
+ return { claudeSessionId };
284
+ }
285
+
286
+ // src/commands/backlog/executePhase.ts
287
+ async function executePhase(item, phaseIndex, phases, spawnOptions, totalPhases = phases.length, ownsRunSignals = true) {
288
+ const phase = phases[phaseIndex];
289
+ const phaseNumber = phaseIndex + 1;
290
+ console.log(
291
+ chalk3.bold(
292
+ `
293
+ --- Phase ${phaseNumber}/${totalPhases}: ${phase.name} ---
294
+ `
295
+ )
296
+ );
297
+ process.env.ASSIST_SESSION_ID ??= String(process.pid);
298
+ process.env.ASSIST_BACKLOG_ITEM_ID = String(item.id);
299
+ if (ownsRunSignals) recordSignalOwner(item.id);
300
+ const phaseLabel = `phase ${phaseNumber}/${totalPhases}`;
301
+ const phaseSession = await preparePhaseSession(
302
+ item,
303
+ phase,
304
+ phaseIndex,
305
+ phaseNumber,
306
+ totalPhases,
307
+ phaseLabel,
308
+ spawnOptions
309
+ );
310
+ if (!phaseSession) return { kind: "abort" };
311
+ const exitCode = await launchPhaseSession(
312
+ item,
313
+ phaseNumber,
314
+ phase,
315
+ phaseLabel,
316
+ phaseSession.claudeSessionId,
317
+ spawnOptions
318
+ );
319
+ if (exitCode === HARNESS_SPAWN_FAILED) return { kind: "abort" };
320
+ void setSessionStatus("running");
321
+ return await resolvePhaseResult(phaseIndex, item.id);
322
+ }
323
+
324
+ export {
325
+ readSignal,
326
+ watchForMarker,
327
+ stopWatching,
328
+ cleanupSignal,
329
+ executePhase
330
+ };
@@ -10,6 +10,7 @@ function requestAssistSession(assistArgs, cwd, options) {
10
10
  assistArgs,
11
11
  cwd,
12
12
  inPlace: options?.inPlace === true,
13
+ ...options?.startPoint && { startPoint: options.startPoint },
13
14
  // A bare launchedFrom pins the launch to this daemon, so a node-targeted launch drops it.
14
15
  ...node ? { node } : {
15
16
  launchedFrom: options?.launchedFrom ?? process.env.ASSIST_SESSION_ID
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-EM5TGZYD.js";
5
5
  import {
6
6
  harnessAdapter
7
- } from "./chunk-C5CZW4Z5.js";
7
+ } from "./chunk-XI3WAFFQ.js";
8
8
  import {
9
9
  activeHarness
10
10
  } from "./chunk-BFQSGIN6.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-K45LIKCT.js";
7
7
  import {
8
8
  loadConfig
9
- } from "./chunk-QAYUL5IA.js";
9
+ } from "./chunk-EGHUOQR6.js";
10
10
 
11
11
  // src/commands/devlog/resolveDevDir.ts
12
12
  import chalk from "chalk";
@@ -0,0 +1,77 @@
1
+ import {
2
+ phaseUnlockSuffix
3
+ } from "./chunk-CUOHHT2F.js";
4
+ import {
5
+ currentExecutionIdentity,
6
+ getSchemaSessionApprovalPath
7
+ } from "./chunk-AWPYXTCV.js";
8
+ import {
9
+ closeDb,
10
+ getDb,
11
+ itemGitRefs,
12
+ items
13
+ } from "./chunk-T32NIFSK.js";
14
+
15
+ // src/commands/schema/isSchemaLocked.ts
16
+ import { existsSync, readFileSync } from "fs";
17
+
18
+ // src/commands/backlog/hasOpenPhaseUnlock.ts
19
+ import { and, eq, notInArray, sql } from "drizzle-orm";
20
+ async function hasOpenPhaseUnlock(itemId, kind, harness) {
21
+ const orm = await getDb();
22
+ const suffix = phaseUnlockSuffix(harness);
23
+ const [row] = await orm.select({ itemId: itemGitRefs.itemId }).from(itemGitRefs).innerJoin(items, eq(items.id, itemGitRefs.itemId)).where(
24
+ and(
25
+ eq(itemGitRefs.itemId, itemId),
26
+ eq(itemGitRefs.kind, kind),
27
+ eq(
28
+ itemGitRefs.ref,
29
+ sql`'phase-' || coalesce(${items.currentPhase}, 1) || ${suffix}`
30
+ ),
31
+ notInArray(items.status, ["done", "wontdo"])
32
+ )
33
+ ).limit(1);
34
+ return row !== void 0;
35
+ }
36
+
37
+ // src/commands/schema/isSchemaLocked.ts
38
+ function approvalMatches(path, identity) {
39
+ try {
40
+ const approval = JSON.parse(
41
+ readFileSync(path, "utf8")
42
+ );
43
+ const conversation = approval.conversationId ?? approval.claudeSessionId;
44
+ if (approval.harness !== void 0 && approval.harness !== identity.harness)
45
+ return false;
46
+ return conversation === void 0 || conversation === identity.conversationId;
47
+ } catch {
48
+ return false;
49
+ }
50
+ }
51
+ function hasSessionApproval(identity) {
52
+ const { harness, conversationId } = identity;
53
+ if (!conversationId) return false;
54
+ const path = getSchemaSessionApprovalPath({ harness, conversationId });
55
+ return path !== void 0 && existsSync(path) && approvalMatches(path, identity);
56
+ }
57
+ async function isSchemaLocked(identity = currentExecutionIdentity()) {
58
+ if (!identity) return false;
59
+ if (identity.itemId === null) return !hasSessionApproval(identity);
60
+ try {
61
+ return !await hasOpenPhaseUnlock(
62
+ identity.itemId,
63
+ "schema-unlock",
64
+ identity.harness
65
+ );
66
+ } catch {
67
+ return true;
68
+ } finally {
69
+ await closeDb().catch(() => {
70
+ });
71
+ }
72
+ }
73
+
74
+ export {
75
+ hasOpenPhaseUnlock,
76
+ isSchemaLocked
77
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init
3
- } from "./chunk-G3DTXM2T.js";
3
+ } from "./chunk-WBKEVDZ6.js";
4
4
  import {
5
5
  init as init2
6
6
  } from "./chunk-T7ZPGAB5.js";
@@ -1,16 +1,21 @@
1
1
  import {
2
2
  next
3
- } from "./chunk-DRYHQLDE.js";
3
+ } from "./chunk-3O7FY4S4.js";
4
4
  import {
5
5
  pullIfConfigured
6
- } from "./chunk-Q2CYQLCG.js";
6
+ } from "./chunk-AODN5R7L.js";
7
+ import {
8
+ run
9
+ } from "./chunk-JCS2K4B6.js";
10
+ import {
11
+ launchBlocker
12
+ } from "./chunk-AFQMD7AO.js";
7
13
  import {
8
14
  cleanupSignal,
9
15
  readSignal,
10
- run,
11
16
  stopWatching,
12
17
  watchForMarker
13
- } from "./chunk-67MT3SVA.js";
18
+ } from "./chunk-EWUVIEWI.js";
14
19
  import {
15
20
  resumeNudge
16
21
  } from "./chunk-7NZOH4LN.js";
@@ -24,22 +29,19 @@ import {
24
29
  import {
25
30
  emitActivity
26
31
  } from "./chunk-4YAIQN3S.js";
27
- import {
28
- launchBlocker
29
- } from "./chunk-AFQMD7AO.js";
30
32
  import {
31
33
  isBlocked
32
- } from "./chunk-H62CCG2H.js";
34
+ } from "./chunk-XQNV6F74.js";
33
35
  import {
34
36
  loadItemSummaries
35
- } from "./chunk-PXGKL2RO.js";
37
+ } from "./chunk-5I32MJ4U.js";
36
38
  import {
37
39
  getOrigin,
38
40
  getReady
39
- } from "./chunk-RR2M3HMM.js";
41
+ } from "./chunk-526CP4JW.js";
40
42
  import {
41
43
  loadItem
42
- } from "./chunk-43QJFQIE.js";
44
+ } from "./chunk-TFRIMNI5.js";
43
45
  import {
44
46
  InvalidItemIdError,
45
47
  formatItemId,
@@ -47,7 +49,7 @@ import {
47
49
  } from "./chunk-N65VOEFI.js";
48
50
  import {
49
51
  harnessAdapter
50
- } from "./chunk-C5CZW4Z5.js";
52
+ } from "./chunk-XI3WAFFQ.js";
51
53
 
52
54
  // src/commands/backlog/launchMode.ts
53
55
  import chalk3 from "chalk";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  comments
3
- } from "./chunk-F43666KK.js";
3
+ } from "./chunk-T32NIFSK.js";
4
4
 
5
5
  // src/commands/backlog/appendComment.ts
6
6
  import { sql } from "drizzle-orm";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readConfigCacheFile
3
- } from "./chunk-656PT7XB.js";
3
+ } from "./chunk-HXYVAIAG.js";
4
4
 
5
5
  // src/shared/readUserConfigCache.ts
6
6
  function readUserConfigCache() {
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-CGYVYHMM.js";
7
7
  import {
8
8
  assistConfigSchema
9
- } from "./chunk-GS34PJHP.js";
9
+ } from "./chunk-QLS4OPRA.js";
10
10
 
11
11
  // src/shared/deepMergeRawConfig.ts
12
12
  function isPlainObject(value) {