@staff0rd/assist 0.1180.1 → 0.1181.0
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.
- package/dist/.build-files +321 -312
- package/dist/{acceptanceCriteria-4XVIJTAJ.js → acceptanceCriteria-FLKLUHRM.js} +3 -3
- package/dist/{add-T7XGQM6A.js → add-2HU7IFVK.js} +19 -19
- package/dist/{add-FZPNVFR6.js → add-JTT7SYLD.js} +9 -9
- package/dist/{add-53CFIDL5.js → add-X5XZOF5D.js} +15 -17
- package/dist/{addActivity-IZ7GM45P.js → addActivity-LQRZAU4B.js} +18 -19
- package/dist/{addPhase-FXSFPLLL.js → addPhase-EQ4KN2KX.js} +22 -22
- package/dist/{advise-7IBDZ6I3.js → advise-MDUPXOZN.js} +9 -9
- package/dist/{analyze-DCIOBJ6W.js → analyze-HITOWBLY.js} +8 -8
- package/dist/{askCheck-KV7JOBWY.js → askCheck-JCJ3CKBH.js} +23 -23
- package/dist/{askDesign-YO4XD6V6.js → askDesign-DBUPRQRL.js} +6 -6
- package/dist/{askQuestion-OH6U3E2H.js → askQuestion-5ZAG2BLA.js} +3 -3
- package/dist/{associateGithub-ZYQVUURY.js → associateGithub-YJB4Y5WH.js} +14 -16
- package/dist/{associateJira-2IXMETQL.js → associateJira-S4QII5CS.js} +14 -16
- package/dist/{backup-WX52Q6CW.js → backup-DPULICRH.js} +10 -10
- package/dist/{blockCodeComments-F7XS7R7M.js → blockCodeComments-3ZKDO7HR.js} +3 -3
- package/dist/{branch-WSA5UQ2N.js → branch-3Z5TU6QI.js} +16 -16
- package/dist/built-version +1 -1
- package/dist/{chunk-6XKIP5T5.js → chunk-2A45NMCL.js} +1 -1
- package/dist/{chunk-P5WAIK25.js → chunk-2FK5COQT.js} +1 -1
- package/dist/{chunk-TYX4TQNO.js → chunk-2POPQVT5.js} +5 -0
- package/dist/{chunk-MYTJYNTC.js → chunk-3W4Q57KM.js} +2 -2
- package/dist/{chunk-SNJR5XUP.js → chunk-3XFGUDFI.js} +1 -1
- package/dist/{chunk-KB3SQI6B.js → chunk-46AUR324.js} +2 -2
- package/dist/{chunk-MRL6EXO5.js → chunk-46TKFHYG.js} +1 -1
- package/dist/{chunk-VJVB33OD.js → chunk-4JQ7EMEY.js} +5 -5
- package/dist/{chunk-2UA2V7VG.js → chunk-4RIPWJT5.js} +1 -1
- package/dist/{chunk-Q5X3UQ2H.js → chunk-55HDU2L2.js} +1 -1
- package/dist/{chunk-CYRXKHG3.js → chunk-5BBYDV46.js} +5 -5
- package/dist/{chunk-7YSOBLG2.js → chunk-5BDVREVD.js} +1 -1
- package/dist/{chunk-IKV3OOIU.js → chunk-5NHDE3ZH.js} +1 -1
- package/dist/{chunk-UWCJOQAB.js → chunk-6GEOHD3Q.js} +2 -2
- package/dist/{chunk-TFSDBATP.js → chunk-6OURFIED.js} +1 -1
- package/dist/{chunk-OTX4O4NF.js → chunk-6P6J3L5F.js} +4 -4
- package/dist/chunk-6Z7XJJNZ.js +8 -0
- package/dist/{chunk-XL6O3CLW.js → chunk-75AGXVCY.js} +2 -2
- package/dist/{chunk-KN6GJPWS.js → chunk-7FHYJQRQ.js} +1 -1
- package/dist/{chunk-ZT22PU6Z.js → chunk-A2J7V5CY.js} +26 -36
- package/dist/{chunk-Z7ENC7OG.js → chunk-AECSCH4R.js} +1 -1
- package/dist/{chunk-A4C55UZC.js → chunk-AEDF2LCO.js} +1 -1
- package/dist/{chunk-Q2CYQLCG.js → chunk-AODN5R7L.js} +1 -1
- package/dist/{chunk-G5H3UC2E.js → chunk-ATATFQ4C.js} +1 -1
- package/dist/{chunk-FOEL3ZWP.js → chunk-AWPYXTCV.js} +1 -1
- package/dist/{chunk-4QNGLRBK.js → chunk-BF4SX5XG.js} +12 -47
- package/dist/{chunk-XNEJ67YC.js → chunk-BFY2JOUL.js} +2 -2
- package/dist/chunk-BI6FQU3N.js +330 -0
- package/dist/{chunk-AYA2RK4D.js → chunk-BSRQYKLL.js} +1 -1
- package/dist/{chunk-A4BNQA2E.js → chunk-BXANORUX.js} +1 -1
- package/dist/{chunk-J3LOGNJV.js → chunk-C4HH5KIV.js} +1 -1
- package/dist/{chunk-QCYBRYNU.js → chunk-C7VWMDKW.js} +5 -5
- package/dist/{chunk-I6VFZETU.js → chunk-CE56L3HC.js} +1 -1
- package/dist/{chunk-K7ZAW37F.js → chunk-CIME6ZVX.js} +1 -1
- package/dist/{chunk-GHIGA5OO.js → chunk-COVJ6KFD.js} +1 -36
- package/dist/{chunk-Z62UPSFB.js → chunk-CX2PGGIW.js} +3 -3
- package/dist/{chunk-IXGBWDE3.js → chunk-D7EKNAIL.js} +1 -1
- package/dist/{chunk-WUW2TFGY.js → chunk-DEWZBK7G.js} +1 -1
- package/dist/{chunk-5DLZ4IEA.js → chunk-DFUY7QQB.js} +1 -1
- package/dist/{chunk-KZLBUWJN.js → chunk-DJ6XDGDA.js} +1 -1
- package/dist/{chunk-OYBJBYK2.js → chunk-DMAXROSE.js} +7 -7
- package/dist/{chunk-SSDDLSCZ.js → chunk-DMFIET7U.js} +3 -3
- package/dist/{chunk-R5IPJ6FB.js → chunk-EA4K7ALH.js} +1 -1
- package/dist/{chunk-YMWRG6KP.js → chunk-EBS5KT26.js} +1 -1
- package/dist/{chunk-QAYUL5IA.js → chunk-EGHUOQR6.js} +1 -1
- package/dist/{chunk-NS3OYXQL.js → chunk-EJDPSXRR.js} +2 -2
- package/dist/{chunk-EXORBOKS.js → chunk-F4XCHVD7.js} +1 -0
- package/dist/{chunk-J7JHGFR7.js → chunk-FBFFEWRX.js} +1 -1
- package/dist/{chunk-DMP736PC.js → chunk-FOA4HVW5.js} +1 -1
- package/dist/{chunk-L2FHQ6IR.js → chunk-G5CQNJIF.js} +1 -1
- package/dist/{chunk-GW2BK2PS.js → chunk-GAWJT4AD.js} +1 -1
- package/dist/{chunk-T3RCWAWC.js → chunk-GG5VACLX.js} +1 -1
- package/dist/{chunk-TN457Y6J.js → chunk-H2AFCYRR.js} +3 -3
- package/dist/{chunk-ES7STDKR.js → chunk-H7POEH22.js} +2 -2
- package/dist/{chunk-AVQ4UCSW.js → chunk-HSDSWXRM.js} +1 -1
- package/dist/{chunk-656PT7XB.js → chunk-HXYVAIAG.js} +1 -1
- package/dist/{chunk-BSHQKSHH.js → chunk-ICG3ZKTO.js} +2 -2
- package/dist/{chunk-OJG3DDNF.js → chunk-IDTV3YLU.js} +1 -1
- package/dist/{chunk-LDLIR7BH.js → chunk-IPAUA7K7.js} +1 -1
- package/dist/{chunk-MJPX6KMX.js → chunk-IWFM4Z7W.js} +1 -1
- package/dist/{chunk-E2WIWA2P.js → chunk-JAGY4QUE.js} +2 -2
- package/dist/{chunk-LWBZVONA.js → chunk-JNZZCHK7.js} +1 -1
- package/dist/{chunk-2A5EEHZO.js → chunk-JOPVPSE7.js} +14 -12
- package/dist/{chunk-XGNQSIZR.js → chunk-JRYAKXP7.js} +2 -2
- package/dist/{chunk-SU4H4LOJ.js → chunk-JSNQKMY2.js} +1 -1
- package/dist/{chunk-SBKHFUK6.js → chunk-JXXDGQDA.js} +289 -328
- package/dist/{chunk-WMU5TTTN.js → chunk-JZQ7GD7R.js} +3 -3
- package/dist/{chunk-D7M6JOIH.js → chunk-KDH4MEQM.js} +3 -3
- package/dist/{chunk-S7MPFR5P.js → chunk-KNRK4XIM.js} +3 -3
- package/dist/{chunk-O42PHQKR.js → chunk-KNV5KHGD.js} +1 -1
- package/dist/{chunk-L4QB4GFZ.js → chunk-KTTXOSNI.js} +1 -1
- package/dist/{chunk-JICOELOW.js → chunk-L7DNPIJW.js} +1 -1
- package/dist/chunk-LFZQMX5H.js +38 -0
- package/dist/{chunk-4IAHWH4T.js → chunk-LGAAB6XW.js} +5 -5
- package/dist/{chunk-W2SVVIX2.js → chunk-LV7CSY7C.js} +1 -1
- package/dist/{chunk-T6GVBGAD.js → chunk-LVJEHSK6.js} +1 -1
- package/dist/{chunk-HSXURYJT.js → chunk-LZ7L2NLS.js} +1 -1
- package/dist/{chunk-63P4DIOK.js → chunk-MLE3TRAN.js} +2 -2
- package/dist/{chunk-HPWDLQBG.js → chunk-MLERFQMF.js} +1 -1
- package/dist/{chunk-T2BK6RAR.js → chunk-MYH4MQX2.js} +13 -1
- package/dist/{chunk-YK4GHAS7.js → chunk-MZ723L3M.js} +1 -1
- package/dist/{chunk-SRWFZ7BB.js → chunk-N2SLCM35.js} +1 -1
- package/dist/{chunk-6KTUYDKE.js → chunk-NCBBUKK3.js} +97 -55
- package/dist/{chunk-7ALT4YQ5.js → chunk-NI2MWAPP.js} +1 -1
- package/dist/{chunk-2I7DIDNZ.js → chunk-NT2NEXYJ.js} +3 -3
- package/dist/{chunk-DPFEBSY6.js → chunk-O4OZ5AWE.js} +20 -7
- package/dist/{chunk-TCTQ6NHB.js → chunk-OH3U3TVH.js} +1 -1
- package/dist/{chunk-7GUBVMDQ.js → chunk-OHGHP7ZX.js} +1 -1
- package/dist/chunk-OTCLPDCV.js +23 -0
- package/dist/{chunk-XM2X2OJM.js → chunk-OX2NIH7D.js} +2 -2
- package/dist/{chunk-LTRVWKT5.js → chunk-P23ZWXGY.js} +3 -2
- package/dist/{chunk-5JZO5JUK.js → chunk-P5WTDOX6.js} +2 -2
- package/dist/{chunk-6HRYZPSB.js → chunk-PB33WANQ.js} +5 -5
- package/dist/{chunk-GYSPRTVC.js → chunk-PC7WQHNP.js} +5 -5
- package/dist/{chunk-DSBUUSPW.js → chunk-PKSSJOSU.js} +2 -2
- package/dist/{chunk-DRYGS5VW.js → chunk-PX5NZMZE.js} +16 -4
- package/dist/{chunk-WAT5PZDP.js → chunk-QJWBSQBP.js} +116 -116
- package/dist/{chunk-GS34PJHP.js → chunk-QLS4OPRA.js} +3 -0
- package/dist/{chunk-CY73DO2R.js → chunk-QV63A5FN.js} +4 -4
- package/dist/{chunk-TCSDT7IH.js → chunk-QW2RFAM7.js} +11 -1
- package/dist/{chunk-22HHIGLN.js → chunk-QXIB7RUJ.js} +3 -3
- package/dist/{chunk-D4UGYXYG.js → chunk-R4T3LMQB.js} +12 -12
- package/dist/{chunk-J3EHBEWA.js → chunk-RI5R26VT.js} +2 -2
- package/dist/{chunk-Z7QZLBDU.js → chunk-RQBHSXJM.js} +3 -3
- package/dist/{chunk-U4CKXQBA.js → chunk-SIJH22YH.js} +7 -7
- package/dist/{chunk-FZIYYKUT.js → chunk-SQX66MN6.js} +9 -8
- package/dist/{chunk-AD4F6XNC.js → chunk-SSV3LA2E.js} +3 -3
- package/dist/{chunk-U74NC6XW.js → chunk-SV6V52FL.js} +1 -1
- package/dist/{chunk-LIVS62R5.js → chunk-SWCHACNU.js} +4 -4
- package/dist/chunk-T4V7CRSJ.js +58 -0
- package/dist/{chunk-5TXIIP3B.js → chunk-T7KCVG44.js} +1 -1
- package/dist/{chunk-VQXMUIM3.js → chunk-TSA2X3T5.js} +4 -4
- package/dist/{chunk-EJY7JLEI.js → chunk-TSZZEGKF.js} +1 -1
- package/dist/{chunk-GSGDH4KW.js → chunk-TWPKKQRI.js} +11 -11
- package/dist/{chunk-3RJRNU6F.js → chunk-U3MNI4IW.js} +2 -2
- package/dist/{chunk-Z2YQTWRN.js → chunk-UCTEGD7M.js} +1 -1
- package/dist/{chunk-DZQGGM7S.js → chunk-UKO64UKG.js} +2 -2
- package/dist/{chunk-JJBU7MWV.js → chunk-V32YJXLE.js} +9 -5
- package/dist/{chunk-6N6UCHEL.js → chunk-V45NF4DZ.js} +1 -1
- package/dist/{chunk-FOU7VOLU.js → chunk-VA576CKS.js} +1 -1
- package/dist/chunk-VVUYBY6D.js +16 -0
- package/dist/{chunk-AQCKW362.js → chunk-VYSH7YED.js} +1 -1
- package/dist/{chunk-OPXXAU66.js → chunk-W3KOWOFR.js} +2 -2
- package/dist/{chunk-5USZQNLN.js → chunk-W4XIQT44.js} +1 -1
- package/dist/{chunk-G3DTXM2T.js → chunk-WBKEVDZ6.js} +1 -1
- package/dist/{chunk-N4OFYMMC.js → chunk-WEPQMH2X.js} +1 -1
- package/dist/{chunk-3KY7I7PK.js → chunk-WJ3SPOMO.js} +2 -2
- package/dist/{chunk-EVOEJEOP.js → chunk-WOQJYO7I.js} +3 -3
- package/dist/{chunk-C75QIF3D.js → chunk-WRSL4R3I.js} +27 -8
- package/dist/{chunk-XBMRKNFH.js → chunk-WXTBAGAR.js} +2 -2
- package/dist/{chunk-SHUZT5ZH.js → chunk-WZ5NGEP2.js} +2 -2
- package/dist/{chunk-C5CZW4Z5.js → chunk-XI3WAFFQ.js} +81 -81
- package/dist/{chunk-SN27WMGF.js → chunk-XMAFKQ2T.js} +23 -10
- package/dist/{chunk-H62CCG2H.js → chunk-XQNV6F74.js} +1 -1
- package/dist/chunk-YFF3TI37.js +23 -0
- package/dist/{chunk-GLYBLIXC.js → chunk-YJE2WTYI.js} +9 -9
- package/dist/{chunk-V62QL3YM.js → chunk-YQ6Z6GTY.js} +1 -1
- package/dist/{chunk-6WCWOYOL.js → chunk-YSGD5JCA.js} +1 -1
- package/dist/{chunk-6ZGQIHS3.js → chunk-Z42WW7WR.js} +2 -2
- package/dist/{chunk-Z6IO2T2Q.js → chunk-ZBE76KOT.js} +1 -1
- package/dist/{chunk-YKL7VLIQ.js → chunk-ZBLXDYGO.js} +1 -1
- package/dist/{chunk-M2BML2O5.js → chunk-ZGLYAU3P.js} +1 -1
- package/dist/{chunk-M3H4DFO7.js → chunk-ZO7QYWSC.js} +1 -1
- package/dist/{chunk-SGOEJPHS.js → chunk-ZOG72VJ5.js} +1 -1
- package/dist/{chunk-PKBHPB2K.js → chunk-ZSDCXYYA.js} +1 -1
- package/dist/{chunk-DNHL6EE2.js → chunk-ZWLTGPSD.js} +1 -1
- package/dist/{cliHook-ZZNLRKVB.js → cliHook-FGUQDWDO.js} +19 -19
- package/dist/{cliHookCheck-SOHVS2VI.js → cliHookCheck-5W5SRKHM.js} +7 -7
- package/dist/{cloneRepo-A7R6AID7.js → cloneRepo-WYMOQ6HN.js} +3 -3
- package/dist/{codexHook-WQQSCE3J.js → codexHook-EBHHOS3N.js} +22 -22
- package/dist/commands/sessions/web/bundle.js +437 -431
- package/dist/{comment-K24CACAS.js → comment-5NZM3RQR.js} +14 -16
- package/dist/{comment-O7CAONH7.js → comment-GDQRDDFY.js} +2 -2
- package/dist/{comments-QW7HT2EA.js → comments-DRP6WYRC.js} +13 -15
- package/dist/{commit-YNLAOFMH.js → commit-RQSCSKDT.js} +18 -18
- package/dist/{configGet-GG54G33V.js → configGet-FWYLGU55.js} +23 -23
- package/dist/{configImportRepos-PYUMSPJW.js → configImportRepos-QB5ZFZWD.js} +20 -20
- package/dist/{configImportUser-X3FFOKD4.js → configImportUser-IAO2R5F7.js} +23 -23
- package/dist/{configKeys-WEYOD24B.js → configKeys-EKO4UEYF.js} +6 -6
- package/dist/{configKeys-UMNRPWU4.js → configKeys-RW7X7XTV.js} +6 -6
- package/dist/{configList-7D3HRZQS.js → configList-VVLV66AP.js} +12 -12
- package/dist/{configSet-M2PQCRIQ.js → configSet-4WU64F2P.js} +29 -29
- package/dist/{configUnset-LAKLVDWN.js → configUnset-6HGW46VY.js} +19 -19
- package/dist/{configure-DM6VOXFY.js → configure-MM25OZ33.js} +3 -3
- package/dist/{cyclomatic-HK6IYCSV.js → cyclomatic-UNT432CK.js} +5 -5
- package/dist/{del-SD3MV4IF.js → del-F7OMMCID.js} +13 -15
- package/dist/{deleteCommentCmd-PKWPEK22.js → deleteCommentCmd-3HKL42TF.js} +14 -16
- package/dist/{denyAdd-FEWDIXM3.js → denyAdd-IBFRJVMG.js} +4 -4
- package/dist/{denyList-7J3LTLR5.js → denyList-C34C36PY.js} +3 -3
- package/dist/{denyRemove-NVJGU7LX.js → denyRemove-6VHKTUTI.js} +4 -4
- package/dist/{docsConfirm-6BAKZZNU.js → docsConfirm-OLF7ATQC.js} +19 -21
- package/dist/{docsScreenshots-JXKO3PAW.js → docsScreenshots-S2DJ3C44.js} +13 -15
- package/dist/{docsUnlock-3SB5KOBM.js → docsUnlock-4Z57S7Z2.js} +13 -14
- package/dist/{doctorNodes-3CXTMFRV.js → doctorNodes-N5IY46KY.js} +11 -11
- package/dist/{done-LZE2BNGD.js → done-X46X6AQ6.js} +24 -23
- package/dist/{editHook-5S7IO6WT.js → editHook-RG5FVEUW.js} +23 -23
- package/dist/{exportBacklog-HDXO4ZCJ.js → exportBacklog-DK77QLQL.js} +10 -10
- package/dist/{fixConflict-O3ABHFA3.js → fixConflict-PKR5QGBB.js} +12 -11
- package/dist/{fixed-S3Z2N64I.js → fixed-MSMTZMFQ.js} +3 -3
- package/dist/{forbiddenStrings-BWOE7PI3.js → forbiddenStrings-6VXJP7ZQ.js} +3 -3
- package/dist/{formatConfiguredCommands-ELL5GZFG.js → formatConfiguredCommands-CERMSBD4.js} +6 -6
- package/dist/{getBacklogDir-HTZSVZFD.js → getBacklogDir-OYCBBVXZ.js} +4 -4
- package/dist/{halstead-ZRGJKNXG.js → halstead-3JGYK4ML.js} +5 -5
- package/dist/{hardcodedColors-WCSCBNK4.js → hardcodedColors-Y3V6AAAL.js} +3 -3
- package/dist/{harnessFollowUps-T62QUENQ.js → harnessFollowUps-5EDAKKA7.js} +13 -15
- package/dist/{importBacklog-VSLX6E2U.js → importBacklog-VKVQKYH6.js} +9 -9
- package/dist/index.js +248 -202
- package/dist/{init-3W6VDFYH.js → init-KPTRYRE2.js} +5 -5
- package/dist/{init-33ABIRJY.js → init-ZFV6R34S.js} +4 -4
- package/dist/{inspect-BSJANZDD.js → inspect-ZKXVKPOZ.js} +5 -5
- package/dist/landPhase-GHSECSHW.js +88 -0
- package/dist/{launchMode-WYJB2BNT.js → launchMode-ZKJCTXOV.js} +48 -38
- package/dist/{link-MSKTO3DP.js → link-7DYOFYOE.js} +13 -15
- package/dist/{link-R6N5BXVY.js → link-JZA6OMHP.js} +3 -3
- package/dist/{linkNode-EBEAPVOH.js → linkNode-MFH7DVQU.js} +8 -8
- package/dist/{list-PBO4JWTG.js → list-4364VCMP.js} +10 -10
- package/dist/{list-FMXSJXKN.js → list-BMRIZWUY.js} +5 -5
- package/dist/{list-7DKGYVDR.js → list-CVKIV3K5.js} +6 -6
- package/dist/{list-KCRFN746.js → list-HTZJUTS7.js} +22 -22
- package/dist/{list-NBMGWHOJ.js → list-P6LSXTKZ.js} +3 -3
- package/dist/{list-4K5ZEIXZ.js → list-PTCQS6QP.js} +9 -9
- package/dist/{listModels-SN7RKE2K.js → listModels-BHYU6CJF.js} +4 -4
- package/dist/{listNodes-XI5MIOSD.js → listNodes-HBXZWCNS.js} +5 -5
- package/dist/{maintainability-PLLLT623.js → maintainability-DNGIZAP4.js} +5 -5
- package/dist/{mermaidExport-XMSUZF5A.js → mermaidExport-DGVH57HM.js} +3 -3
- package/dist/{migrate-SFQUJKBU.js → migrate-R6FJ63AX.js} +8 -8
- package/dist/{migrations-UZ4K5FAW.js → migrations-WFMW4JES.js} +4 -4
- package/dist/{move-574YOPNL.js → move-CC3HBV5Z.js} +3 -3
- package/dist/{movePhase-FNPTP24W.js → movePhase-O7OZX5VO.js} +23 -18
- package/dist/{moveRepo-S76NCNZQ.js → moveRepo-XBOTGKGK.js} +13 -15
- package/dist/{newCli-H5BC3E6V.js → newCli-T73OIC2M.js} +9 -9
- package/dist/{newProject-4BQW764D.js → newProject-JT6OMUJX.js} +4 -4
- package/dist/{next-ZPRYBU62.js → next-4ZFXCWIO.js} +5 -5
- package/dist/{next-MQFXMLA5.js → next-V2SV5TD3.js} +46 -36
- package/dist/{nodeLogs-VMRAGJRE.js → nodeLogs-OFXOAHCJ.js} +5 -5
- package/dist/{notify-NPB6NGRQ.js → notify-XJXIHERA.js} +3 -3
- package/dist/phaseDone-Q654PSRR.js +173 -0
- package/dist/{piHook-R3B54GHP.js → piHook-IFT2N55C.js} +19 -19
- package/dist/{plan-PENTAUMU.js → plan-6YGSOJNG.js} +13 -15
- package/dist/{postSlackMessage-T5CDKB43.js → postSlackMessage-L7EPBSSI.js} +4 -4
- package/dist/{posted-LVLQS22S.js → posted-7NFS3N4H.js} +5 -5
- package/dist/{propose-XW6EQLD7.js → propose-AZ5BUX22.js} +25 -25
- package/dist/{prsSlackChannel-2BGDU2OT.js → prsSlackChannel-VWYPTOYH.js} +3 -3
- package/dist/{pullIfConfigured-HLH62E2Q.js → pullIfConfigured-OFHDKUOE.js} +4 -4
- package/dist/{raise-SJOUT66E.js → raise-X2QA5FGK.js} +14 -14
- package/dist/{raiseHelpText-BGDTTYVF.js → raiseHelpText-7DFLXEU7.js} +3 -3
- package/dist/{ravendbAuth-DMW6756Q.js → ravendbAuth-JCMJRLCO.js} +4 -4
- package/dist/{ravendbCollections-UZA53NU2.js → ravendbCollections-3FKCZO6I.js} +4 -4
- package/dist/{ravendbQuery-ATHPRVNM.js → ravendbQuery-7CXAATKR.js} +4 -4
- package/dist/{ravendbSetConnection-2FEQCIOH.js → ravendbSetConnection-7SD4IJ5W.js} +4 -4
- package/dist/{readTime-YAPQWGHV.js → readTime-B7IWGQBK.js} +3 -3
- package/dist/{recordSlack-JFA2DYG2.js → recordSlack-6GI5PG6N.js} +11 -11
- package/dist/{refine-7HZCPKSN.js → refine-KLLDBG2K.js} +50 -40
- package/dist/{refreshDocs-XMDLGJ26.js → refreshDocs-EQFOBQX6.js} +14 -16
- package/dist/{releasesConfigure-ZKOYLGO2.js → releasesConfigure-GG4DN3ZX.js} +17 -17
- package/dist/{releasesList-AK7WCENZ.js → releasesList-7MFBQGJY.js} +3 -3
- package/dist/{remove-4NQB2CTB.js → remove-3IGWPHHU.js} +16 -16
- package/dist/{remove-GM5PCN4X.js → remove-NUYPNAOA.js} +9 -9
- package/dist/{removePhase-N4RZJINB.js → removePhase-GA72LSRL.js} +17 -19
- package/dist/{reportCliError-ZCQQQLEH.js → reportCliError-FNYNM3Z7.js} +6 -6
- package/dist/{repos-SMM7S3DI.js → repos-7ICHUS7E.js} +4 -4
- package/dist/{resolveHarness-DXX7FKH6.js → resolveHarness-C5TMFYBS.js} +4 -4
- package/dist/{resolveModel-K5YVSBDX.js → resolveModel-MH6ZEWBI.js} +4 -4
- package/dist/{restartDaemon-RJXH5GLO.js → restartDaemon-WE6RTEVN.js} +5 -5
- package/dist/{restartNode-YG5RCVXZ.js → restartNode-HE32CL2M.js} +11 -11
- package/dist/{restructure-TRORUCQH.js → restructure-FEZVBMMG.js} +3 -3
- package/dist/{review-23HBP3AI.js → review-SO5T6NAX.js} +55 -54
- package/dist/{reviewPrComments-4BGL4BHW.js → reviewPrComments-GSRXICOE.js} +12 -11
- package/dist/{rewindPhase-PN5O2LB4.js → rewindPhase-CXASEYYS.js} +29 -27
- package/dist/{rulesAdd-LPXSRMLT.js → rulesAdd-GTSX6UKS.js} +22 -22
- package/dist/{run-FXN3PCKB.js → run-A7LQ6OMR.js} +43 -33
- package/dist/{run-G7TOM3FB.js → run-YIWDPH2I.js} +49 -39
- package/dist/{runDaemon-QGL63ZWC.js → runDaemon-3LVAUYKP.js} +55 -48
- package/dist/{runExtract-T4LVUHYN.js → runExtract-WTDQSZZZ.js} +25 -25
- package/dist/runParallelPhase-XEG4OME5.js +196 -0
- package/dist/{runRefine-FAZOTS2Y.js → runRefine-EKYR3KCH.js} +51 -41
- package/dist/{runScope-HZD2G5FP.js → runScope-KMXWSGKM.js} +7 -7
- package/dist/{scan-F6OZVACL.js → scan-AZIPFEWO.js} +14 -14
- package/dist/{scheduleBackup-K56TI26O.js → scheduleBackup-CNXIEIZS.js} +3 -3
- package/dist/{schemaConfirm-YDSTD6UP.js → schemaConfirm-C5MQYUS7.js} +22 -23
- package/dist/{schemaUnlock-4WWITN4Z.js → schemaUnlock-U3UF5N7H.js} +23 -24
- package/dist/{screenshot-YDCUYTQD.js → screenshot-F5WLI3IG.js} +3 -3
- package/dist/{search-XBJI2OHU.js → search-B4LW6DPC.js} +21 -21
- package/dist/{seqAuth-5OGV32GR.js → seqAuth-ZDVVMXPL.js} +4 -4
- package/dist/{seqQuery-IH6QCBCA.js → seqQuery-FISJPGAP.js} +7 -7
- package/dist/{seqSetConnection-HOLKSM7V.js → seqSetConnection-CEUUZGWN.js} +7 -7
- package/dist/{setStatusCommand-TWW47ATK.js → setStatusCommand-LGPGWPZU.js} +13 -15
- package/dist/{show-RUUX3CLL.js → show-GDYG6Z3T.js} +21 -21
- package/dist/{show-SIDZZQZM.js → show-PMHYKFHM.js} +8 -8
- package/dist/{signExtension-EZLCQZQ4.js → signExtension-H3IL7263.js} +1 -1
- package/dist/{skip-TUZ7J2NL.js → skip-RVS3ENSL.js} +17 -17
- package/dist/{slack-I4UW7Z4B.js → slack-SXXZ66Z7.js} +9 -9
- package/dist/{sloc-OOY2FWLE.js → sloc-CWGS6IVZ.js} +5 -5
- package/dist/{sqlAuth-ZITR23FB.js → sqlAuth-QDI4NBTJ.js} +7 -7
- package/dist/{sqlColumns-EGC7P4WX.js → sqlColumns-P7PU272W.js} +5 -5
- package/dist/{sqlMutate-HMT322JG.js → sqlMutate-7IATINKP.js} +5 -5
- package/dist/{sqlQuery-NSMW5PR6.js → sqlQuery-3WOQO3C4.js} +5 -5
- package/dist/{sqlSetConnection-FRZHQG7Q.js → sqlSetConnection-YWCKHWWC.js} +4 -4
- package/dist/{sqlTables-E4WHJK54.js → sqlTables-U73736CH.js} +5 -5
- package/dist/{star-KRF3HLIN.js → star-CP6NNIEB.js} +15 -17
- package/dist/{start-WJIBMX3T.js → start-K5UIPVEU.js} +13 -15
- package/dist/{status-LOQILNRT.js → status-KWBZOVTH.js} +9 -9
- package/dist/{stop-4DI3DEHU.js → stop-7IGMJJGV.js} +23 -17
- package/dist/{sync-BWEW4JW3.js → sync-A6FUE5M3.js} +3 -3
- package/dist/{testflightAdd-E3MXCY2K.js → testflightAdd-I7S6CD2D.js} +3 -3
- package/dist/{unlink-ALSXDDRC.js → unlink-G44Z6Y43.js} +13 -15
- package/dist/{unlinkNode-GDQFJCB5.js → unlinkNode-7QBVKD6A.js} +7 -7
- package/dist/{unstar-7JVHXMRD.js → unstar-2CWCILXK.js} +15 -17
- package/dist/{update-EBJWHSVX.js → update-D7NHJ5MB.js} +5 -5
- package/dist/{update-CA527PR3.js → update-IZ5MHZJA.js} +13 -15
- package/dist/{updateNode-OILKMLP3.js → updateNode-5ADCDAMM.js} +12 -12
- package/dist/{updatePhase-PEMXC7RT.js → updatePhase-Y6DUY2DG.js} +16 -18
- package/dist/{updatePlan-ZPOZ5LBK.js → updatePlan-DLEMOZMS.js} +23 -23
- package/dist/{version-XOOSBN3H.js → version-5CAEM4ZS.js} +5 -5
- package/dist/{watchWait-TN4TMYG6.js → watchWait-EWZRDVA4.js} +11 -11
- package/dist/{web-WGTNZ77V.js → web-4RE3ERSK.js} +91 -89
- package/dist/{web-MGZQEBV3.js → web-BRNL5ERI.js} +91 -89
- package/dist/{withPool-SF72TCC2.js → withPool-YUB4XOGQ.js} +6 -6
- package/dist/{wontdo-DTLIBIU2.js → wontdo-M32ZQ2CC.js} +14 -16
- package/dist/{write-RSUC5HX7.js → write-CV263CMW.js} +5 -5
- package/dist/{writeSignal-SCNJ2WAJ.js → writeSignal-RXEOI7SK.js} +2 -2
- package/package.json +1 -1
- package/dist/phaseDone-WTVOP4Z2.js +0 -107
- package/dist/{chunk-TM3TO23X.js → chunk-IQGY6BGN.js} +3 -3
- package/dist/{createIssue-FGHP6XJV.js → createIssue-DYV4QFFA.js} +6 -6
- package/dist/{editIssueComment-MMW2F4TM.js → editIssueComment-NDFSJN3G.js} +3 -3
- package/dist/{reply-GTYV733P.js → reply-TP5KOGGN.js} +3 -3
- package/dist/{startIssue-JSVKGZZR.js → startIssue-J6TPWJIB.js} +1 -1
- package/dist/{wontfix-ORNEHNPO.js → wontfix-3U7LZF2M.js} +3 -3
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
items,
|
|
3
3
|
phaseUsage,
|
|
4
4
|
planPhases
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V32YJXLE.js";
|
|
6
6
|
|
|
7
7
|
// src/commands/backlog/loadItemSummaries.ts
|
|
8
8
|
import { asc, eq } from "drizzle-orm";
|
|
@@ -16,22 +16,36 @@ function planPhaseCounts(orm) {
|
|
|
16
16
|
}).from(planPhases).groupBy(planPhases.itemId).as("plan_phase_counts");
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
// src/shared/db/planPhaseRuns.ts
|
|
20
|
+
import { isNotNull, sql as sql2 } from "drizzle-orm";
|
|
21
|
+
function planPhaseRuns(orm) {
|
|
22
|
+
return orm.select({
|
|
23
|
+
itemId: planPhases.itemId,
|
|
24
|
+
running: sql2`array_agg(${planPhases.idx} + 1) filter (where ${planPhases.runState} = 'running')`.as(
|
|
25
|
+
"running_phases"
|
|
26
|
+
),
|
|
27
|
+
done: sql2`array_agg(${planPhases.idx} + 1) filter (where ${planPhases.runState} = 'done')`.as(
|
|
28
|
+
"done_phases"
|
|
29
|
+
)
|
|
30
|
+
}).from(planPhases).where(isNotNull(planPhases.runState)).groupBy(planPhases.itemId).as("plan_phase_runs");
|
|
31
|
+
}
|
|
32
|
+
|
|
19
33
|
// src/shared/db/phaseUsageTotals.ts
|
|
20
|
-
import { sql as
|
|
34
|
+
import { sql as sql3 } from "drizzle-orm";
|
|
21
35
|
function phaseUsageTotals(orm) {
|
|
22
36
|
return orm.select({
|
|
23
37
|
itemId: phaseUsage.itemId,
|
|
24
|
-
recordedPhases:
|
|
25
|
-
tokensUp:
|
|
38
|
+
recordedPhases: sql3`count(*)::int`.as("recorded_phases"),
|
|
39
|
+
tokensUp: sql3`sum(${phaseUsage.tokensUp})::bigint`.as(
|
|
26
40
|
"total_tokens_up"
|
|
27
41
|
),
|
|
28
|
-
tokensDown:
|
|
42
|
+
tokensDown: sql3`sum(${phaseUsage.tokensDown})::bigint`.as(
|
|
29
43
|
"total_tokens_down"
|
|
30
44
|
),
|
|
31
|
-
activeMs:
|
|
45
|
+
activeMs: sql3`sum(${phaseUsage.activeMs})::bigint`.as(
|
|
32
46
|
"total_active_ms"
|
|
33
47
|
),
|
|
34
|
-
peakContextPct:
|
|
48
|
+
peakContextPct: sql3`max(${phaseUsage.peakContextPct})`.as(
|
|
35
49
|
"max_peak_context_pct"
|
|
36
50
|
)
|
|
37
51
|
}).from(phaseUsage).groupBy(phaseUsage.itemId).as("usage_totals");
|
|
@@ -50,6 +64,8 @@ function rowToItemSummary(row) {
|
|
|
50
64
|
githubIssue: row.githubIssue ?? void 0,
|
|
51
65
|
currentPhase: row.currentPhase ?? void 0,
|
|
52
66
|
totalPhases: (row.planPhaseCount || 1) + 1,
|
|
67
|
+
...row.runningPhases?.length && { runningPhases: row.runningPhases },
|
|
68
|
+
...row.donePhases?.length && { donePhases: row.donePhases },
|
|
53
69
|
usageTotal: row.tokensUp == null ? void 0 : {
|
|
54
70
|
tokensUp: Number(row.tokensUp),
|
|
55
71
|
tokensDown: Number(row.tokensDown),
|
|
@@ -63,6 +79,7 @@ function rowToItemSummary(row) {
|
|
|
63
79
|
async function loadItemSummaries(orm, origin) {
|
|
64
80
|
const usageTotals = phaseUsageTotals(orm);
|
|
65
81
|
const phaseCounts = planPhaseCounts(orm);
|
|
82
|
+
const phaseRuns = planPhaseRuns(orm);
|
|
66
83
|
const rows = await orm.select({
|
|
67
84
|
id: items.id,
|
|
68
85
|
origin: items.origin,
|
|
@@ -74,11 +91,13 @@ async function loadItemSummaries(orm, origin) {
|
|
|
74
91
|
githubIssue: items.githubIssue,
|
|
75
92
|
currentPhase: items.currentPhase,
|
|
76
93
|
planPhaseCount: phaseCounts.count,
|
|
94
|
+
runningPhases: phaseRuns.running,
|
|
95
|
+
donePhases: phaseRuns.done,
|
|
77
96
|
tokensUp: usageTotals.tokensUp,
|
|
78
97
|
tokensDown: usageTotals.tokensDown,
|
|
79
98
|
activeMs: usageTotals.activeMs,
|
|
80
99
|
peakContextPct: usageTotals.peakContextPct
|
|
81
|
-
}).from(items).leftJoin(usageTotals, eq(usageTotals.itemId, items.id)).leftJoin(phaseCounts, eq(phaseCounts.itemId, items.id)).where(origin === void 0 ? void 0 : eq(items.origin, origin)).orderBy(asc(items.id));
|
|
100
|
+
}).from(items).leftJoin(usageTotals, eq(usageTotals.itemId, items.id)).leftJoin(phaseCounts, eq(phaseCounts.itemId, items.id)).leftJoin(phaseRuns, eq(phaseRuns.itemId, items.id)).where(origin === void 0 ? void 0 : eq(items.origin, origin)).orderBy(asc(items.id));
|
|
82
101
|
return rows.map(rowToItemSummary);
|
|
83
102
|
}
|
|
84
103
|
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk-EM5TGZYD.js";
|
|
5
5
|
import {
|
|
6
6
|
harnessAdapter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XI3WAFFQ.js";
|
|
8
8
|
import {
|
|
9
9
|
isCodex
|
|
10
10
|
} from "./chunk-D7UZLH36.js";
|
|
11
11
|
import {
|
|
12
12
|
loadConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EGHUOQR6.js";
|
|
14
14
|
|
|
15
15
|
// src/shared/runOneShotPrompt.ts
|
|
16
16
|
var OneShotUnavailableError = class extends Error {
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-APZ6ZTDA.js";
|
|
4
4
|
import {
|
|
5
5
|
loadRawYaml
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HXYVAIAG.js";
|
|
7
7
|
import {
|
|
8
8
|
assistConfigSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QLS4OPRA.js";
|
|
10
10
|
|
|
11
11
|
// src/shared/resolveRunConfigs.ts
|
|
12
12
|
import { dirname, relative, resolve as resolve3 } from "path";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-DIAC4XYA.js";
|
|
7
7
|
import {
|
|
8
8
|
readLitellmConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-46TKFHYG.js";
|
|
10
10
|
import {
|
|
11
11
|
spawnInherit
|
|
12
12
|
} from "./chunk-W7TRZLEM.js";
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
} from "./chunk-XDIVXGPQ.js";
|
|
36
36
|
import {
|
|
37
37
|
declaredNode
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-IWFM4Z7W.js";
|
|
39
39
|
import {
|
|
40
40
|
loadConfig
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-EGHUOQR6.js";
|
|
42
42
|
import {
|
|
43
43
|
connectToDaemon
|
|
44
44
|
} from "./chunk-Q6PZLPK4.js";
|
|
@@ -49,6 +49,77 @@ import {
|
|
|
49
49
|
promptConfirm
|
|
50
50
|
} from "./chunk-6DGPQ67E.js";
|
|
51
51
|
|
|
52
|
+
// src/commands/sessions/daemon/ensureHooksSettings.ts
|
|
53
|
+
import { mkdirSync, writeFileSync } from "fs";
|
|
54
|
+
import { dirname } from "path";
|
|
55
|
+
var SET_STATUS = "assist sessions set-status";
|
|
56
|
+
function running(source) {
|
|
57
|
+
return `${SET_STATUS} running --source ${source}`;
|
|
58
|
+
}
|
|
59
|
+
function waiting(source) {
|
|
60
|
+
return `${SET_STATUS} waiting --source ${source}`;
|
|
61
|
+
}
|
|
62
|
+
function ackWaiting(source) {
|
|
63
|
+
return `${SET_STATUS} waiting --source ${source} --ack`;
|
|
64
|
+
}
|
|
65
|
+
function on(command, matcher) {
|
|
66
|
+
const hooks = [{ type: "command", command }];
|
|
67
|
+
return [matcher == null ? { hooks } : { matcher, hooks }];
|
|
68
|
+
}
|
|
69
|
+
var ASK_USER_QUESTION = "AskUserQuestion";
|
|
70
|
+
var NOT_ASK_USER_QUESTION = `^(?!${ASK_USER_QUESTION}$).*`;
|
|
71
|
+
var hooksSettings = {
|
|
72
|
+
theme: "auto",
|
|
73
|
+
hooks: {
|
|
74
|
+
UserPromptSubmit: on(running("prompt")),
|
|
75
|
+
PreToolUse: [
|
|
76
|
+
...on(waiting("pretool"), ASK_USER_QUESTION),
|
|
77
|
+
...on(running("pretool"), NOT_ASK_USER_QUESTION)
|
|
78
|
+
],
|
|
79
|
+
PostToolUse: on(running("posttool")),
|
|
80
|
+
Stop: on(ackWaiting("stop")),
|
|
81
|
+
Notification: on(ackWaiting("notification")),
|
|
82
|
+
PermissionRequest: on(ackWaiting("permission"))
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
function ensureHooksSettings() {
|
|
86
|
+
const path15 = daemonPaths.hooksSettings;
|
|
87
|
+
mkdirSync(dirname(path15), { recursive: true });
|
|
88
|
+
writeFileSync(path15, JSON.stringify(hooksSettings, null, 2));
|
|
89
|
+
return path15;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// src/shared/spawnClaude.ts
|
|
93
|
+
function withoutResumeSession(options) {
|
|
94
|
+
if (!options?.resumeSessionId) return options;
|
|
95
|
+
const { resumeSessionId: _resumeSessionId, ...rest } = options;
|
|
96
|
+
return rest;
|
|
97
|
+
}
|
|
98
|
+
function spawnClaude(prompt, options = {}) {
|
|
99
|
+
const args = [
|
|
100
|
+
"--settings",
|
|
101
|
+
ensureHooksSettings(),
|
|
102
|
+
...buildArgs(prompt, options)
|
|
103
|
+
];
|
|
104
|
+
const permissionMode = options.permissionMode ?? (options.allowEdits ? "auto" : void 0);
|
|
105
|
+
if (permissionMode) {
|
|
106
|
+
args.push("--permission-mode", permissionMode);
|
|
107
|
+
}
|
|
108
|
+
if (options.model && !options.resumeSessionId) {
|
|
109
|
+
args.push("--model", options.model);
|
|
110
|
+
}
|
|
111
|
+
return spawnInherit("claude", args);
|
|
112
|
+
}
|
|
113
|
+
function buildArgs(prompt, options) {
|
|
114
|
+
if (options.resumeSessionId) {
|
|
115
|
+
return prompt ? ["--resume", options.resumeSessionId, prompt] : ["--resume", options.resumeSessionId];
|
|
116
|
+
}
|
|
117
|
+
if (options.sessionId) {
|
|
118
|
+
return prompt ? ["--session-id", options.sessionId, prompt] : ["--session-id", options.sessionId];
|
|
119
|
+
}
|
|
120
|
+
return prompt ? [prompt] : [];
|
|
121
|
+
}
|
|
122
|
+
|
|
52
123
|
// src/commands/sessions/shared/findTranscriptPathSync.ts
|
|
53
124
|
import * as fs from "fs";
|
|
54
125
|
import * as path2 from "path";
|
|
@@ -106,46 +177,6 @@ function hasTranscriptOnDisk(session) {
|
|
|
106
177
|
return !!session.cwd && !!session.claudeSessionId && !!findTranscriptPathSync(session.cwd, session.claudeSessionId);
|
|
107
178
|
}
|
|
108
179
|
|
|
109
|
-
// src/commands/sessions/daemon/ensureHooksSettings.ts
|
|
110
|
-
import { mkdirSync, writeFileSync } from "fs";
|
|
111
|
-
import { dirname } from "path";
|
|
112
|
-
var SET_STATUS = "assist sessions set-status";
|
|
113
|
-
function running(source) {
|
|
114
|
-
return `${SET_STATUS} running --source ${source}`;
|
|
115
|
-
}
|
|
116
|
-
function waiting(source) {
|
|
117
|
-
return `${SET_STATUS} waiting --source ${source}`;
|
|
118
|
-
}
|
|
119
|
-
function ackWaiting(source) {
|
|
120
|
-
return `${SET_STATUS} waiting --source ${source} --ack`;
|
|
121
|
-
}
|
|
122
|
-
function on(command, matcher) {
|
|
123
|
-
const hooks = [{ type: "command", command }];
|
|
124
|
-
return [matcher == null ? { hooks } : { matcher, hooks }];
|
|
125
|
-
}
|
|
126
|
-
var ASK_USER_QUESTION = "AskUserQuestion";
|
|
127
|
-
var NOT_ASK_USER_QUESTION = `^(?!${ASK_USER_QUESTION}$).*`;
|
|
128
|
-
var hooksSettings = {
|
|
129
|
-
theme: "auto",
|
|
130
|
-
hooks: {
|
|
131
|
-
UserPromptSubmit: on(running("prompt")),
|
|
132
|
-
PreToolUse: [
|
|
133
|
-
...on(waiting("pretool"), ASK_USER_QUESTION),
|
|
134
|
-
...on(running("pretool"), NOT_ASK_USER_QUESTION)
|
|
135
|
-
],
|
|
136
|
-
PostToolUse: on(running("posttool")),
|
|
137
|
-
Stop: on(ackWaiting("stop")),
|
|
138
|
-
Notification: on(ackWaiting("notification")),
|
|
139
|
-
PermissionRequest: on(ackWaiting("permission"))
|
|
140
|
-
}
|
|
141
|
-
};
|
|
142
|
-
function ensureHooksSettings() {
|
|
143
|
-
const path15 = daemonPaths.hooksSettings;
|
|
144
|
-
mkdirSync(dirname(path15), { recursive: true });
|
|
145
|
-
writeFileSync(path15, JSON.stringify(hooksSettings, null, 2));
|
|
146
|
-
return path15;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
180
|
// src/commands/sessions/daemon/spawnPty.ts
|
|
150
181
|
import { existsSync as existsSync3 } from "fs";
|
|
151
182
|
import * as pty from "node-pty";
|
|
@@ -298,10 +329,10 @@ function refuseMissingCwd(cwd, sessionId) {
|
|
|
298
329
|
}
|
|
299
330
|
|
|
300
331
|
// src/commands/sessions/daemon/spawnClaude.ts
|
|
301
|
-
function
|
|
302
|
-
return spawnPty(
|
|
332
|
+
function spawnClaude2(opts2 = {}) {
|
|
333
|
+
return spawnPty(buildArgs2(opts2), opts2.cwd, opts2.sessionId);
|
|
303
334
|
}
|
|
304
|
-
function
|
|
335
|
+
function buildArgs2(opts2) {
|
|
305
336
|
const base = ["claude", "--settings", ensureHooksSettings()];
|
|
306
337
|
if (opts2.appendSystemPromptFile)
|
|
307
338
|
base.push("--append-system-prompt-file", opts2.appendSystemPromptFile);
|
|
@@ -509,37 +540,6 @@ async function findSessionJsonlPath(sessionId) {
|
|
|
509
540
|
return null;
|
|
510
541
|
}
|
|
511
542
|
|
|
512
|
-
// src/shared/spawnClaude.ts
|
|
513
|
-
function withoutResumeSession(options) {
|
|
514
|
-
if (!options?.resumeSessionId) return options;
|
|
515
|
-
const { resumeSessionId: _resumeSessionId, ...rest } = options;
|
|
516
|
-
return rest;
|
|
517
|
-
}
|
|
518
|
-
function spawnClaude2(prompt, options = {}) {
|
|
519
|
-
const args = [
|
|
520
|
-
"--settings",
|
|
521
|
-
ensureHooksSettings(),
|
|
522
|
-
...buildArgs2(prompt, options)
|
|
523
|
-
];
|
|
524
|
-
const permissionMode = options.permissionMode ?? (options.allowEdits ? "auto" : void 0);
|
|
525
|
-
if (permissionMode) {
|
|
526
|
-
args.push("--permission-mode", permissionMode);
|
|
527
|
-
}
|
|
528
|
-
if (options.model && !options.resumeSessionId) {
|
|
529
|
-
args.push("--model", options.model);
|
|
530
|
-
}
|
|
531
|
-
return spawnInherit("claude", args);
|
|
532
|
-
}
|
|
533
|
-
function buildArgs2(prompt, options) {
|
|
534
|
-
if (options.resumeSessionId) {
|
|
535
|
-
return prompt ? ["--resume", options.resumeSessionId, prompt] : ["--resume", options.resumeSessionId];
|
|
536
|
-
}
|
|
537
|
-
if (options.sessionId) {
|
|
538
|
-
return prompt ? ["--session-id", options.sessionId, prompt] : ["--session-id", options.sessionId];
|
|
539
|
-
}
|
|
540
|
-
return prompt ? [prompt] : [];
|
|
541
|
-
}
|
|
542
|
-
|
|
543
543
|
// src/shared/harnessAdapters/buildSlashCommand.ts
|
|
544
544
|
function buildSlashCommand(slashCommand, description) {
|
|
545
545
|
const trimmed = description?.trim();
|
|
@@ -2031,17 +2031,17 @@ var claudeAdapter = {
|
|
|
2031
2031
|
interruptedTasks: claudeInterruptedTasks
|
|
2032
2032
|
},
|
|
2033
2033
|
toolOperations: claudeToolOperations,
|
|
2034
|
-
launchSkill: (skill, args, { conversationId, allowEdits, model }) =>
|
|
2034
|
+
launchSkill: (skill, args, { conversationId, allowEdits, model }) => spawnClaude(buildSlashCommand(skill, args), {
|
|
2035
2035
|
allowEdits: allowEdits ?? true,
|
|
2036
2036
|
sessionId: conversationId,
|
|
2037
2037
|
model
|
|
2038
2038
|
}),
|
|
2039
|
-
launchPrompt: (prompt, { conversationId, allowEdits, model }) =>
|
|
2039
|
+
launchPrompt: (prompt, { conversationId, allowEdits, model }) => spawnClaude(prompt, {
|
|
2040
2040
|
allowEdits: allowEdits ?? true,
|
|
2041
2041
|
sessionId: conversationId,
|
|
2042
2042
|
model
|
|
2043
2043
|
}),
|
|
2044
|
-
resume: (conversationId, nudge, { allowEdits }) =>
|
|
2044
|
+
resume: (conversationId, nudge, { allowEdits }) => spawnClaude(nudge, {
|
|
2045
2045
|
allowEdits: allowEdits ?? true,
|
|
2046
2046
|
resumeSessionId: conversationId
|
|
2047
2047
|
}),
|
|
@@ -2054,7 +2054,7 @@ var claudeAdapter = {
|
|
|
2054
2054
|
appendSystemPromptFile,
|
|
2055
2055
|
auto,
|
|
2056
2056
|
model
|
|
2057
|
-
}) =>
|
|
2057
|
+
}) => spawnClaude2({
|
|
2058
2058
|
prompt,
|
|
2059
2059
|
cwd,
|
|
2060
2060
|
sessionId,
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
} from "./chunk-YS3HSXSJ.js";
|
|
4
4
|
import {
|
|
5
5
|
dependsOnError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OHGHP7ZX.js";
|
|
7
7
|
import {
|
|
8
8
|
requestAssistSession
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-F4XCHVD7.js";
|
|
10
10
|
import {
|
|
11
11
|
REVIEW_PHASE_NAME
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PX5NZMZE.js";
|
|
13
13
|
import {
|
|
14
14
|
serializeManualChecks
|
|
15
15
|
} from "./chunk-QNVYNVAM.js";
|
|
16
16
|
import {
|
|
17
17
|
toStoredDependsOn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NCBBUKK3.js";
|
|
19
19
|
import {
|
|
20
20
|
formatItemId
|
|
21
21
|
} from "./chunk-N65VOEFI.js";
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
items,
|
|
24
24
|
planPhases,
|
|
25
25
|
planTasks
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-V32YJXLE.js";
|
|
27
27
|
|
|
28
28
|
// src/commands/backlog/updatePlan/replacePlan.ts
|
|
29
|
-
import { eq } from "drizzle-orm";
|
|
29
|
+
import { eq as eq2 } from "drizzle-orm";
|
|
30
30
|
|
|
31
31
|
// src/commands/backlog/updatePlan/clampCurrentPhase.ts
|
|
32
32
|
function clampCurrentPhase(currentPhase, phaseCount) {
|
|
@@ -34,11 +34,23 @@ function clampCurrentPhase(currentPhase, phaseCount) {
|
|
|
34
34
|
return Math.min(currentPhase, phaseCount);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
// src/commands/backlog/updatePlan/loadRunStatesByName.ts
|
|
38
|
+
import { eq } from "drizzle-orm";
|
|
39
|
+
async function loadRunStatesByName(db, itemId) {
|
|
40
|
+
const rows = await db.select({
|
|
41
|
+
name: planPhases.name,
|
|
42
|
+
runState: planPhases.runState,
|
|
43
|
+
runToken: planPhases.runToken
|
|
44
|
+
}).from(planPhases).where(eq(planPhases.itemId, itemId));
|
|
45
|
+
return new Map(rows.map(({ name, ...run }) => [name, run]));
|
|
46
|
+
}
|
|
47
|
+
|
|
37
48
|
// src/commands/backlog/updatePlan/replacePlan.ts
|
|
38
49
|
async function replacePlan(orm, itemId, phases, currentPhase) {
|
|
39
50
|
await orm.transaction(async (tx) => {
|
|
40
|
-
await tx
|
|
41
|
-
await tx.delete(
|
|
51
|
+
const runStates = await loadRunStatesByName(tx, itemId);
|
|
52
|
+
await tx.delete(planTasks).where(eq2(planTasks.itemId, itemId));
|
|
53
|
+
await tx.delete(planPhases).where(eq2(planPhases.itemId, itemId));
|
|
42
54
|
if (phases.length > 0) {
|
|
43
55
|
await tx.insert(planPhases).values(
|
|
44
56
|
phases.map((phase, idx) => ({
|
|
@@ -46,7 +58,8 @@ async function replacePlan(orm, itemId, phases, currentPhase) {
|
|
|
46
58
|
idx,
|
|
47
59
|
name: phase.name,
|
|
48
60
|
manualChecks: serializeManualChecks(phase.manualChecks),
|
|
49
|
-
dependsOn: toStoredDependsOn(phase.dependsOn, idx)
|
|
61
|
+
dependsOn: toStoredDependsOn(phase.dependsOn, idx),
|
|
62
|
+
...runStates.get(phase.name)
|
|
50
63
|
}))
|
|
51
64
|
);
|
|
52
65
|
}
|
|
@@ -57,7 +70,7 @@ async function replacePlan(orm, itemId, phases, currentPhase) {
|
|
|
57
70
|
if (currentPhase === void 0) return;
|
|
58
71
|
const clamped = clampCurrentPhase(currentPhase, phases.length);
|
|
59
72
|
if (clamped === currentPhase) return;
|
|
60
|
-
await tx.update(items).set({ currentPhase: clamped }).where(
|
|
73
|
+
await tx.update(items).set({ currentPhase: clamped }).where(eq2(items.id, itemId));
|
|
61
74
|
});
|
|
62
75
|
}
|
|
63
76
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
appendDaemonLog
|
|
3
|
+
} from "./chunk-5H7EHZ3J.js";
|
|
4
|
+
import {
|
|
5
|
+
items
|
|
6
|
+
} from "./chunk-V32YJXLE.js";
|
|
7
|
+
|
|
8
|
+
// src/commands/backlog/updateCurrentPhase.ts
|
|
9
|
+
import { eq } from "drizzle-orm";
|
|
10
|
+
async function updateCurrentPhase(orm, id, phase) {
|
|
11
|
+
const [existing] = await orm.select({ currentPhase: items.currentPhase }).from(items).where(eq(items.id, id)).limit(1);
|
|
12
|
+
await orm.update(items).set({ currentPhase: phase }).where(eq(items.id, id));
|
|
13
|
+
const previous = existing?.currentPhase;
|
|
14
|
+
if (previous != null && phase < previous) {
|
|
15
|
+
appendDaemonLog(
|
|
16
|
+
`backlog item ${id}: currentPhase moved backward ${previous} -> ${phase}`
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
updateCurrentPhase
|
|
23
|
+
};
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
setNestedValue
|
|
3
|
-
} from "./chunk-B5ZOANOD.js";
|
|
4
1
|
import {
|
|
5
2
|
isGlobalOnlyConfigKey,
|
|
6
3
|
notPerRepoKeyMessage
|
|
@@ -8,23 +5,26 @@ import {
|
|
|
8
5
|
import {
|
|
9
6
|
resolveSharedRepoBlock,
|
|
10
7
|
saveSharedRepoBlock
|
|
11
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QV63A5FN.js";
|
|
12
9
|
import {
|
|
13
10
|
validateConfig
|
|
14
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KNRK4XIM.js";
|
|
12
|
+
import {
|
|
13
|
+
setNestedValue
|
|
14
|
+
} from "./chunk-B5ZOANOD.js";
|
|
15
15
|
import {
|
|
16
16
|
getDb
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-V32YJXLE.js";
|
|
18
18
|
import {
|
|
19
19
|
loadProjectConfig,
|
|
20
20
|
saveConfig
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EGHUOQR6.js";
|
|
22
22
|
import {
|
|
23
23
|
SHARED_REPO_CONFIG_SOURCE
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HXYVAIAG.js";
|
|
25
25
|
import {
|
|
26
26
|
repoConfigSchema
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QLS4OPRA.js";
|
|
28
28
|
|
|
29
29
|
// src/commands/config/parseRepoScopeFlag.ts
|
|
30
30
|
var REPO_SCOPE_FLAGS = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lookupConversation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UCTEGD7M.js";
|
|
4
4
|
import {
|
|
5
5
|
harnessAdapter,
|
|
6
6
|
readTranscriptTail
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XI3WAFFQ.js";
|
|
8
8
|
|
|
9
9
|
// src/commands/sessions/shared/targetConversationEvents.ts
|
|
10
10
|
async function targetConversationEvents(cwd, target) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
decideToolOperations,
|
|
3
3
|
logPolicyDeny
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BF4SX5XG.js";
|
|
5
5
|
import "./chunk-CDU6M5IX.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-LIVS62R5.js";
|
|
6
|
+
import "./chunk-SWCHACNU.js";
|
|
8
7
|
import "./chunk-CUOHHT2F.js";
|
|
9
8
|
import {
|
|
10
9
|
currentExecutionIdentity
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-AWPYXTCV.js";
|
|
11
|
+
import "./chunk-JAGY4QUE.js";
|
|
13
12
|
import "./chunk-VDXS55BC.js";
|
|
14
13
|
import "./chunk-ZMH7UZNP.js";
|
|
14
|
+
import "./chunk-HKGCLAZ7.js";
|
|
15
15
|
import "./chunk-FPWL4VRC.js";
|
|
16
16
|
import "./chunk-H63MI5HI.js";
|
|
17
17
|
import "./chunk-XJTXAL22.js";
|
|
@@ -19,19 +19,19 @@ import {
|
|
|
19
19
|
readStdin
|
|
20
20
|
} from "./chunk-NGYZK6AF.js";
|
|
21
21
|
import "./chunk-M6MAQU3Z.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-RI5R26VT.js";
|
|
23
23
|
import "./chunk-GIHVMELY.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-V32YJXLE.js";
|
|
25
|
+
import "./chunk-UKO64UKG.js";
|
|
26
|
+
import "./chunk-ZBLXDYGO.js";
|
|
27
|
+
import "./chunk-U3MNI4IW.js";
|
|
28
|
+
import "./chunk-D7EKNAIL.js";
|
|
29
29
|
import {
|
|
30
30
|
claudeAdapter
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-XI3WAFFQ.js";
|
|
32
32
|
import "./chunk-MRUIXQXS.js";
|
|
33
33
|
import "./chunk-DIAC4XYA.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-46TKFHYG.js";
|
|
35
35
|
import "./chunk-W7TRZLEM.js";
|
|
36
36
|
import "./chunk-P26XSDFU.js";
|
|
37
37
|
import "./chunk-IBPSXDUB.js";
|
|
@@ -43,17 +43,17 @@ import {
|
|
|
43
43
|
} from "./chunk-BFQSGIN6.js";
|
|
44
44
|
import "./chunk-D7UZLH36.js";
|
|
45
45
|
import "./chunk-EW2ZM2PC.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-MYH4MQX2.js";
|
|
47
47
|
import "./chunk-XDIVXGPQ.js";
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-JNZZCHK7.js";
|
|
49
|
+
import "./chunk-IWFM4Z7W.js";
|
|
50
|
+
import "./chunk-EGHUOQR6.js";
|
|
51
|
+
import "./chunk-HXYVAIAG.js";
|
|
52
52
|
import "./chunk-GRXFWFGP.js";
|
|
53
53
|
import "./chunk-TVQY3HPZ.js";
|
|
54
54
|
import "./chunk-CGYVYHMM.js";
|
|
55
55
|
import "./chunk-WXQ3EA5H.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-QLS4OPRA.js";
|
|
57
57
|
import "./chunk-USKD27FY.js";
|
|
58
58
|
import "./chunk-HN7MFXZ7.js";
|
|
59
59
|
import "./chunk-DZGYHAE7.js";
|