@namzu/cli 63.2.0 → 63.3.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/CHANGELOG.md +57 -0
- package/README.md +36 -36
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-XC6FTO64.js → acp-J3TMCBRY.js} +242 -184
- package/dist/chunks/acp-J3TMCBRY.js.map +6 -0
- package/dist/chunks/{activity-command-PIH63SRU.js → activity-command-X25POZ3R.js} +15 -15
- package/dist/chunks/{add-CWIB4XVU.js → add-HL4MO6R2.js} +38 -38
- package/dist/chunks/{agent-CNRZCXHY.js → agent-MHH4MGYB.js} +67 -65
- package/dist/chunks/agent-session-OC32VSS6.js +107 -0
- package/dist/chunks/{apply-at-exit-CMRH3GQN.js → apply-at-exit-ADWMDFFQ.js} +7 -7
- package/dist/chunks/{archive-DPZ3PWUU.js → archive-6X2FED3E.js} +14 -14
- package/dist/chunks/{auth-JAKMDE4X.js → auth-KRORFNAA.js} +64 -27
- package/dist/chunks/auth-KRORFNAA.js.map +6 -0
- package/dist/chunks/{bin-main-V6PBLHRK.js → bin-main-74KBBJNG.js} +10 -9
- package/dist/chunks/bin-main-74KBBJNG.js.map +6 -0
- package/dist/chunks/{binding-UHJZD5Z3.js → binding-OXJ5TL6T.js} +3 -3
- package/dist/chunks/{browser-2QBVPHCB.js → browser-DFLZNRRZ.js} +7 -7
- package/dist/chunks/{chat-DJEP53BA.js → chat-PPSFN5JK.js} +18 -18
- package/dist/chunks/{chunk-4JKWOO7I.js → chunk-23AYRMS2.js} +4 -4
- package/dist/chunks/{chunk-5U4IA3HS.js → chunk-2AUUX6VA.js} +19 -1
- package/dist/chunks/chunk-2AUUX6VA.js.map +6 -0
- package/dist/chunks/{chunk-MUQOV75B.js → chunk-2H75JWKG.js} +3 -3
- package/dist/chunks/{chunk-NEOVE6D5.js → chunk-2JKQ6BFI.js} +2 -2
- package/dist/chunks/{chunk-UZVJQEYT.js → chunk-2KJUKF2E.js} +6 -6
- package/dist/chunks/{chunk-IYBVVKSB.js → chunk-2QGSHJ4Y.js} +3 -3
- package/dist/chunks/{chunk-ZNSVRCPH.js → chunk-2R6Z32IU.js} +3 -3
- package/dist/chunks/{chunk-7FGITTVH.js → chunk-2USTJGLA.js} +5 -5
- package/dist/chunks/{chunk-EIIJLF6W.js → chunk-333RR5BA.js} +4 -4
- package/dist/chunks/{chunk-MCIYCR57.js → chunk-33TGFQ2U.js} +5 -5
- package/dist/chunks/{chunk-C4RV2D57.js → chunk-3FFV4OSR.js} +4 -4
- package/dist/chunks/{chunk-QI4IEHLE.js → chunk-3QXUETDN.js} +4 -4
- package/dist/chunks/{chunk-4VTRURM6.js → chunk-3TLDTD6R.js} +14 -14
- package/dist/chunks/{chunk-ONEBRD5O.js → chunk-4ASXGRP5.js} +3 -3
- package/dist/chunks/{chunk-ZFOZVUUJ.js → chunk-4JPZYI6M.js} +2 -2
- package/dist/chunks/{chunk-7L3PTSKY.js → chunk-4OWFI7ZE.js} +16 -9
- package/dist/chunks/chunk-4OWFI7ZE.js.map +6 -0
- package/dist/chunks/{chunk-RBJDS73T.js → chunk-4TPXEWD5.js} +3 -3
- package/dist/chunks/{chunk-XJ4APISC.js → chunk-4U6TAYDK.js} +65 -12
- package/dist/chunks/chunk-4U6TAYDK.js.map +6 -0
- package/dist/chunks/chunk-4VKLCPVW.js +526 -0
- package/dist/chunks/chunk-4VKLCPVW.js.map +6 -0
- package/dist/chunks/{chunk-VVMI6HQM.js → chunk-554DVVVR.js} +611 -214
- package/dist/chunks/chunk-554DVVVR.js.map +6 -0
- package/dist/chunks/{chunk-COOW2AWX.js → chunk-5GJWIDVU.js} +3 -3
- package/dist/chunks/{chunk-RXFFBB7A.js → chunk-5PQHBLZI.js} +3 -3
- package/dist/chunks/{chunk-GMUWAUKQ.js → chunk-5UARTCJW.js} +2 -2
- package/dist/chunks/{chunk-Q5SAOE7Q.js → chunk-5XROCBT5.js} +9 -9
- package/dist/chunks/{chunk-WI6IGTC4.js → chunk-5YOREQIA.js} +3 -3
- package/dist/chunks/{chunk-4E5KFKJA.js → chunk-6CL7TQOC.js} +5 -5
- package/dist/chunks/{chunk-5B4BXZCI.js → chunk-75RHEPE7.js} +36 -3
- package/dist/chunks/chunk-75RHEPE7.js.map +6 -0
- package/dist/chunks/{chunk-N5YRJQPS.js → chunk-7RCI6OBE.js} +2 -2
- package/dist/chunks/{chunk-SIMI4VB7.js → chunk-7WPF7ATU.js} +3 -3
- package/dist/chunks/{chunk-DKZAHG7B.js → chunk-AAN4XLUD.js} +4 -4
- package/dist/chunks/{chunk-LDJXUI3Q.js → chunk-BB2RJOFI.js} +11 -11
- package/dist/chunks/{chunk-KGCHR4TQ.js → chunk-BBNACUZ3.js} +1527 -676
- package/dist/chunks/chunk-BBNACUZ3.js.map +6 -0
- package/dist/chunks/{chunk-ESWXNISI.js → chunk-BCHHHNLK.js} +2 -2
- package/dist/chunks/{chunk-C6JX3GVK.js → chunk-BUQCQMXH.js} +3 -3
- package/dist/chunks/{chunk-VLWMMDBY.js → chunk-COSMRH2Q.js} +5 -5
- package/dist/chunks/{chunk-4VMFD7UC.js → chunk-CPZEJQ2Z.js} +4 -4
- package/dist/chunks/{chunk-3AKPBYMA.js → chunk-DCVWFBYB.js} +2 -2
- package/dist/chunks/{chunk-ADGTOEHA.js → chunk-DD3BJ4GM.js} +9 -9
- package/dist/chunks/{chunk-4H2RPAXN.js → chunk-DKTU6RWO.js} +5 -5
- package/dist/chunks/{chunk-OWKPJJKH.js → chunk-EODC62SI.js} +4 -4
- package/dist/chunks/{chunk-IVTYJBJF.js → chunk-EOHPS7LC.js} +7 -7
- package/dist/chunks/{chunk-2LZAZAWT.js → chunk-EPSLHLT3.js} +8 -8
- package/dist/chunks/{chunk-SHUKR2A5.js → chunk-FAQQGJ2Z.js} +3 -3
- package/dist/chunks/{chunk-OQFX532E.js → chunk-FJPM4YAO.js} +4 -4
- package/dist/chunks/{chunk-TPMF64WM.js → chunk-FZSM7DSH.js} +11 -11
- package/dist/chunks/{chunk-MMQGQ7BJ.js → chunk-G3V2OKYP.js} +5 -5
- package/dist/chunks/{chunk-6WPK5S6Z.js → chunk-G4OR74MC.js} +10 -10
- package/dist/chunks/{chunk-TV7UBGX2.js → chunk-GCOTJ6XY.js} +147 -3
- package/dist/chunks/chunk-GCOTJ6XY.js.map +6 -0
- package/dist/chunks/{chunk-QWUHCBDT.js → chunk-HXZA5UUN.js} +2 -2
- package/dist/chunks/{chunk-2AWKLDCQ.js → chunk-IDIVB67E.js} +2 -2
- package/dist/chunks/{chunk-IISM3GHE.js → chunk-ISI36EUS.js} +3 -3
- package/dist/chunks/{chunk-SNHJJI52.js → chunk-IUMOIQKL.js} +10 -10
- package/dist/chunks/{chunk-P5LQ4NRD.js → chunk-J4NFH5T2.js} +2 -2
- package/dist/chunks/{chunk-HYHHGMBC.js → chunk-J6JBHNNR.js} +2 -2
- package/dist/chunks/{chunk-UGBHE6ZS.js → chunk-JCY3OPTY.js} +7 -7
- package/dist/chunks/{chunk-S76POTJP.js → chunk-JD7EWFIJ.js} +6 -6
- package/dist/chunks/chunk-JKMOMRIV.js +564 -0
- package/dist/chunks/chunk-JKMOMRIV.js.map +6 -0
- package/dist/chunks/{chunk-2K7EIRI2.js → chunk-JOVKHMJS.js} +8 -8
- package/dist/chunks/{chunk-GOKGPFXK.js → chunk-JQ7HNIBS.js} +6 -6
- package/dist/chunks/{chunk-I3HOLAAO.js → chunk-JSWFUARY.js} +3 -3
- package/dist/chunks/{chunk-NTUKFINL.js → chunk-JU3P3ZJJ.js} +3 -3
- package/dist/chunks/{chunk-ZLMO5YL4.js → chunk-JWBS363M.js} +2 -2
- package/dist/chunks/{chunk-HZGT5EHL.js → chunk-JXBSJNUF.js} +2 -2
- package/dist/chunks/{chunk-X6LDRLVN.js → chunk-JZTNWODR.js} +8 -8
- package/dist/chunks/{chunk-HJHZJKAD.js → chunk-K4AUROOC.js} +2 -2
- package/dist/chunks/{chunk-RL2CTUF2.js → chunk-KFFW7EYQ.js} +2 -2
- package/dist/chunks/{chunk-SEW4KEZ5.js → chunk-KGKVNHFC.js} +4 -4
- package/dist/chunks/{chunk-SOZSIDCY.js → chunk-KLIJLSWF.js} +2 -2
- package/dist/chunks/{chunk-ZZ7A2Y7O.js → chunk-LA6FHUOG.js} +4 -2
- package/dist/chunks/chunk-LA6FHUOG.js.map +6 -0
- package/dist/chunks/{chunk-BS3KGJJZ.js → chunk-LJFDFGFU.js} +8 -8
- package/dist/chunks/{chunk-O3T5CJQG.js → chunk-LZPPIRJW.js} +4 -4
- package/dist/chunks/{chunk-H624ADJH.js → chunk-MHEYQD24.js} +2 -2
- package/dist/chunks/{chunk-44KWXPBG.js → chunk-MM7HGD6H.js} +2 -2
- package/dist/chunks/{chunk-C56FUSQH.js → chunk-N4KE47J2.js} +2 -2
- package/dist/chunks/{chunk-QNRBLNA3.js → chunk-N4USZWBA.js} +3 -3
- package/dist/chunks/{chunk-GCLZEMDF.js → chunk-OIFFABSH.js} +4 -4
- package/dist/chunks/{chunk-NRR2SMR6.js → chunk-OKFU62GA.js} +3 -3
- package/dist/chunks/{chunk-G6YSAHKC.js → chunk-OWPDRJ6S.js} +2 -2
- package/dist/chunks/{chunk-LCZWTKIB.js → chunk-P4WMRT5Q.js} +2 -2
- package/dist/chunks/{chunk-EHKWQ7IS.js → chunk-PGHGBSS2.js} +2 -2
- package/dist/chunks/{chunk-OA76OH27.js → chunk-PLPVXHTM.js} +21 -21
- package/dist/chunks/{chunk-KE2RFCTY.js → chunk-PMA5NXWF.js} +6 -6
- package/dist/chunks/{chunk-VBG357AO.js → chunk-PP7AG46K.js} +293 -105
- package/dist/chunks/chunk-PP7AG46K.js.map +6 -0
- package/dist/chunks/{chunk-5RA5FZDM.js → chunk-PSRWFKFX.js} +2 -2
- package/dist/chunks/{chunk-NXFB5AP5.js → chunk-PTUICVCN.js} +5 -5
- package/dist/chunks/{chunk-YOPTDWON.js → chunk-Q23JN3PA.js} +3 -2
- package/dist/chunks/{chunk-YOPTDWON.js.map → chunk-Q23JN3PA.js.map} +1 -1
- package/dist/chunks/{chunk-ZIF4GK2U.js → chunk-Q5THGA3N.js} +2 -2
- package/dist/chunks/{chunk-AUDTDXWX.js → chunk-Q6NWIY5D.js} +35 -15
- package/dist/chunks/chunk-Q6NWIY5D.js.map +6 -0
- package/dist/chunks/{chunk-5SRVOPRS.js → chunk-QTR6UU63.js} +2 -2
- package/dist/chunks/{chunk-2YPRONTU.js → chunk-RBRBYXJX.js} +259 -103
- package/dist/chunks/chunk-RBRBYXJX.js.map +6 -0
- package/dist/chunks/{chunk-7BNKRTXM.js → chunk-RIVPA5TG.js} +5 -5
- package/dist/chunks/{chunk-HPUVBU7G.js → chunk-RQYSVELQ.js} +2 -2
- package/dist/chunks/{chunk-RKAZUYKY.js → chunk-RWSHMPFM.js} +2 -2
- package/dist/chunks/{chunk-CQNIP7QC.js → chunk-RZ3HYPV4.js} +6 -6
- package/dist/chunks/{chunk-3OHJYUFP.js → chunk-SCGWXYZW.js} +84 -37
- package/dist/chunks/chunk-SCGWXYZW.js.map +6 -0
- package/dist/chunks/{chunk-AFYS4U45.js → chunk-SDWOSB3L.js} +2 -2
- package/dist/chunks/{chunk-AT42FHTY.js → chunk-SPKNKEW5.js} +4 -4
- package/dist/chunks/{chunk-UUMISHVL.js → chunk-SQDZZCQJ.js} +2 -2
- package/dist/chunks/{chunk-KFB4RMNZ.js → chunk-SRNS347K.js} +2 -2
- package/dist/chunks/{chunk-GUOCXE6V.js → chunk-SX7FXWTB.js} +3 -3
- package/dist/chunks/{chunk-HS7PPGS3.js → chunk-T34DMFOM.js} +19 -7
- package/dist/chunks/chunk-T34DMFOM.js.map +6 -0
- package/dist/chunks/{chunk-WGN4AUAW.js → chunk-T6FMC7R5.js} +3 -3
- package/dist/chunks/{chunk-SHW5NXAS.js → chunk-TDCHFQVU.js} +2 -2
- package/dist/chunks/{chunk-6AINAG3P.js → chunk-TGQWC44Q.js} +2 -2
- package/dist/chunks/{chunk-XPTCRZ6F.js → chunk-TIM7OEJN.js} +3 -3
- package/dist/chunks/{chunk-MNQL7ZAW.js → chunk-TLSFOP3I.js} +170 -24
- package/dist/chunks/chunk-TLSFOP3I.js.map +6 -0
- package/dist/chunks/{chunk-TAPWAMDX.js → chunk-TO5ROEIW.js} +9 -9
- package/dist/chunks/{chunk-QTGW6FJG.js → chunk-TTBXKYFP.js} +6 -6
- package/dist/chunks/{chunk-757LAANV.js → chunk-TXCQMW7F.js} +5 -5
- package/dist/chunks/{chunk-WD5XJ5ZU.js → chunk-UCF6H5BB.js} +2 -2
- package/dist/chunks/{chunk-5ER7BU54.js → chunk-UP3ATLU6.js} +3 -3
- package/dist/chunks/{chunk-E5LJN2DV.js → chunk-UTC325FB.js} +3 -3
- package/dist/chunks/{chunk-A2GT47E2.js → chunk-V2DQFFLG.js} +1486 -1370
- package/dist/chunks/chunk-V2DQFFLG.js.map +6 -0
- package/dist/chunks/{chunk-C3UATI2T.js → chunk-VH647IFM.js} +2 -2
- package/dist/chunks/{chunk-5K6GFGCD.js → chunk-VMWPRI2S.js} +3 -3
- package/dist/chunks/{chunk-PTBKVAHY.js → chunk-VWJOJJNQ.js} +6 -6
- package/dist/chunks/{chunk-QVUF2FSM.js → chunk-W3QW6SK6.js} +13 -13
- package/dist/chunks/{chunk-P5UUY56J.js → chunk-W4EKIBRD.js} +3 -3
- package/dist/chunks/{chunk-SC3GK5QC.js → chunk-WMWRRDO2.js} +13 -13
- package/dist/chunks/{chunk-5TSOB5RI.js → chunk-WNBIAOXA.js} +2 -2
- package/dist/chunks/{chunk-Q7NB7LRR.js → chunk-WQL7MEOD.js} +2 -2
- package/dist/chunks/{chunk-335D56LG.js → chunk-X2LYTBDH.js} +3 -3
- package/dist/chunks/{chunk-OLX3IUKN.js → chunk-X4TVUANR.js} +9 -9
- package/dist/chunks/{chunk-EGRSUSP4.js → chunk-XBX3T6YY.js} +10 -10
- package/dist/chunks/{chunk-Z4UCKCEQ.js → chunk-XC6G27M2.js} +2 -2
- package/dist/chunks/{chunk-RXVJEZSV.js → chunk-XGH3FZ76.js} +2 -2
- package/dist/chunks/{chunk-6GCYUKNK.js → chunk-XK7NQIZA.js} +4 -4
- package/dist/chunks/{chunk-BHO3RAXS.js → chunk-XNMJLM5W.js} +12 -12
- package/dist/chunks/{chunk-G5MD6XCV.js → chunk-XORYHNZ3.js} +10 -10
- package/dist/chunks/{chunk-NJUB2ADX.js → chunk-XRAVC5W6.js} +36 -10
- package/dist/chunks/chunk-XRAVC5W6.js.map +6 -0
- package/dist/chunks/{chunk-EW2YVKTN.js → chunk-XTMUUGTN.js} +2 -2
- package/dist/chunks/{chunk-DO5JIP3I.js → chunk-Y36ZTLIJ.js} +4 -4
- package/dist/chunks/{chunk-NUMKSEG4.js → chunk-YCPK5ZTB.js} +3 -3
- package/dist/chunks/{chunk-HXINZ7D3.js → chunk-YRQ5PI7O.js} +3 -3
- package/dist/chunks/{chunk-V5DZWA6R.js → chunk-YVQE7BQ7.js} +242 -707
- package/dist/chunks/chunk-YVQE7BQ7.js.map +6 -0
- package/dist/chunks/{chunk-ORXNYBJU.js → chunk-YXR3LVZE.js} +3 -3
- package/dist/chunks/{chunk-4ABPUIBF.js → chunk-YYGE5EWH.js} +3 -3
- package/dist/chunks/{chunk-RJINNWMH.js → chunk-YZ6UKIKL.js} +4 -4
- package/dist/chunks/{chunk-L45TVHRJ.js → chunk-Z75IWPPX.js} +7 -7
- package/dist/chunks/{chunk-XNVZ6BPI.js → chunk-ZAQFM5BR.js} +6 -6
- package/dist/chunks/{chunk-FDLXZRE4.js → chunk-ZDJWREOA.js} +5 -5
- package/dist/chunks/{chunk-UGTDCLS5.js → chunk-ZKTDZOCC.js} +2 -2
- package/dist/chunks/{chunk-QHJJ333E.js → chunk-ZQL7XFSE.js} +8 -8
- package/dist/chunks/{cli-runtime-FK3WLEHC.js → cli-runtime-ZKBJFWOI.js} +29 -29
- package/dist/chunks/{commands-UVEHHHUD.js → commands-3WI6F2YZ.js} +6 -6
- package/dist/chunks/completion-shells-FUAKFK5A.js +167 -0
- package/dist/chunks/completion-shells-FUAKFK5A.js.map +6 -0
- package/dist/chunks/{computer-GABH2PJF.js → computer-WEEMTZUV.js} +2 -2
- package/dist/chunks/{config-PUASBICJ.js → config-E6UPAUGU.js} +19 -18
- package/dist/chunks/config-E6UPAUGU.js.map +6 -0
- package/dist/chunks/{cost-S6LUVWMS.js → cost-557HKPZ4.js} +5 -5
- package/dist/chunks/{crash-report-WSCK3UQK.js → crash-report-J47RFQ5T.js} +8 -8
- package/dist/chunks/{debug-DX3SZNDB.js → debug-WJJFYSZF.js} +21 -15
- package/dist/chunks/debug-WJJFYSZF.js.map +6 -0
- package/dist/chunks/{desktop-host-schedule-tool-X5AYUZMV.js → desktop-host-schedule-tool-IOOJNMPQ.js} +36 -36
- package/dist/chunks/{dist-WBDFP2PT.js → dist-665VSCM2.js} +2 -2
- package/dist/chunks/{dist-NJJDM4QY.js → dist-AQO44B7K.js} +2 -2
- package/dist/chunks/{dist-3GV6WNET.js → dist-D2RTUX7F.js} +24 -2
- package/dist/chunks/{dist-BFD35FTG.js → dist-JLTZUUMS.js} +2 -2
- package/dist/chunks/{dist-X7QK25WG.js → dist-L5C6AOXZ.js} +2 -2
- package/dist/chunks/{dist-K64KWQUG.js → dist-OIM6DSGL.js} +12 -2
- package/dist/chunks/{dist-K64KWQUG.js.map → dist-OIM6DSGL.js.map} +1 -1
- package/dist/chunks/{dist-AAPFBZPA.js → dist-SEISKEDK.js} +3 -3
- package/dist/chunks/{dist-XLMKK2FY.js → dist-VQVXULA5.js} +2 -2
- package/dist/chunks/doctor-ZRPCR5DP.js +104 -0
- package/dist/chunks/{drain-2WIWFYU3.js → drain-NHR22ZM6.js} +86 -30
- package/dist/chunks/drain-NHR22ZM6.js.map +6 -0
- package/dist/chunks/{entry-KSTSU23A.js → entry-TPBKHAWV.js} +6 -6
- package/dist/chunks/{eval-QJQ7H4E7.js → eval-HKBQQXOD.js} +53 -35
- package/dist/chunks/{eval-QJQ7H4E7.js.map → eval-HKBQQXOD.js.map} +1 -1
- package/dist/chunks/{exec-J55XOCSL.js → exec-R5U6FFFE.js} +138 -98
- package/dist/chunks/exec-R5U6FFFE.js.map +6 -0
- package/dist/chunks/{extension-3YMXVKLS.js → extension-KJJ7XNR4.js} +5 -5
- package/dist/chunks/{feed-66TKSG2Y.js → feed-LQNVF7M6.js} +4 -4
- package/dist/chunks/{github-7JHAZZC3.js → github-LMMBAQWI.js} +3 -3
- package/dist/chunks/{home-RJERCCZS.js → home-D7JCGXQE.js} +3 -3
- package/dist/chunks/{homes-P5UAFUPZ.js → homes-EKTHOMXX.js} +6 -6
- package/dist/chunks/{hooks-U2Z463DN.js → hooks-IT2ZUPG6.js} +27 -27
- package/dist/chunks/{hooks-report-FIPQINVZ.js → hooks-report-A7F26EDM.js} +23 -23
- package/dist/chunks/{host-IWAXBSUX.js → host-FS2RMOHW.js} +13 -13
- package/dist/chunks/{host-queries-3IRCFZ74.js → host-queries-OJXR2XYT.js} +18 -18
- package/dist/chunks/index-project-2UUHV7X3.js +134 -0
- package/dist/chunks/index-project-2UUHV7X3.js.map +6 -0
- package/dist/chunks/{installed-list-IBGMBHUJ.js → installed-list-27KYS56I.js} +4 -4
- package/dist/chunks/{launch-UHLESLJC.js → launch-33I3O7VJ.js} +32 -32
- package/dist/chunks/{learn-TQHDWYWB.js → learn-G5UEINB6.js} +18 -18
- package/dist/chunks/{learn-builtin-2OY2YL6U.js → learn-builtin-Y5FIKQSV.js} +21 -21
- package/dist/chunks/{lifecycle-ECBTALQV.js → lifecycle-NJQ7FIK2.js} +47 -47
- package/dist/chunks/{list-GECT7X6E.js → list-UKBQESKU.js} +24 -24
- package/dist/chunks/live-3YNFFWY5.js +103 -0
- package/dist/chunks/{load-LFCACQWA.js → load-KDS3CW6R.js} +14 -14
- package/dist/chunks/{logs-55HJKNP6.js → logs-3XKNKFY2.js} +5 -5
- package/dist/chunks/{mcp-XUKNYMSO.js → mcp-B2ZVGJQE.js} +31 -31
- package/dist/chunks/{mcp-serve-XYNR3BNJ.js → mcp-serve-DH63SWUH.js} +22 -22
- package/dist/chunks/{message-command-QF7YMZDH.js → message-command-KRDDHWLA.js} +73 -71
- package/dist/chunks/message-command-KRDDHWLA.js.map +6 -0
- package/dist/chunks/{notes-TQTBT2ZZ.js → notes-ZCY7LTUD.js} +6 -6
- package/dist/chunks/{open-CDLLQS4B.js → open-A4H4HWGO.js} +8 -8
- package/dist/chunks/{operator-tools-XAFRSL26.js → operator-tools-EH6R2JQC.js} +16 -16
- package/dist/chunks/{output-schema-5KOV6OJ6.js → output-schema-2NSAYRBS.js} +3 -3
- package/dist/chunks/{pal-7XHBGZ4S.js → pal-EANL2OUH.js} +17 -17
- package/dist/chunks/{peers-2MJG2EON.js → peers-H3ANL6XB.js} +9 -9
- package/dist/chunks/{peers-FJNLC7ZV.js → peers-W5KEFXN6.js} +25 -24
- package/dist/chunks/peers-W5KEFXN6.js.map +6 -0
- package/dist/chunks/{pending-4FM6EO26.js → pending-TRLAK2BR.js} +7 -7
- package/dist/chunks/{plugin-5J3GMENO.js → plugin-RAY3J2G2.js} +33 -32
- package/dist/chunks/plugin-RAY3J2G2.js.map +6 -0
- package/dist/chunks/{proposals-BGOU7KAM.js → proposals-YB3YJOPW.js} +39 -39
- package/dist/chunks/{providers-6PVAW2M3.js → providers-JA3AF524.js} +20 -20
- package/dist/chunks/{providers-ZFUFVRRD.js → providers-LVD7T5JI.js} +12 -12
- package/dist/chunks/{pty-3WHZDZXY.js → pty-66OF4YNF.js} +3 -3
- package/dist/chunks/resume-W4JBH2A7.js +28 -0
- package/dist/chunks/{resume-command-4VQ5ZTNJ.js → resume-command-J3VONMB5.js} +5 -5
- package/dist/chunks/{running-QT5QIYNC.js → running-5GQPD6OM.js} +4 -4
- package/dist/chunks/{say-JISSL5GL.js → say-7GQSUSTD.js} +21 -21
- package/dist/chunks/{schedule-5VVP4D3W.js → schedule-LMXNNMAZ.js} +16 -16
- package/dist/chunks/{send-F7EBK2UQ.js → send-Z35YQVV2.js} +20 -20
- package/dist/chunks/send-person-TIM427ZP.js +39 -0
- package/dist/chunks/{servers-WVOZNOUM.js → servers-4QP7GKOK.js} +8 -8
- package/dist/chunks/{service-7QGHSF2V.js → service-U244Z3VG.js} +48 -48
- package/dist/chunks/{session-options-WW5IDZEZ.js → session-options-ODKOXNAT.js} +5 -5
- package/dist/chunks/{setting-cli-AC5BEDWA.js → setting-cli-H5UKKB4F.js} +18 -17
- package/dist/chunks/{skills-QQ74IBRB.js → skills-ELR2D7WU.js} +33 -33
- package/dist/chunks/{source-deliveries-C2DRS4H6.js → source-deliveries-CI5K5DJQ.js} +20 -20
- package/dist/chunks/{start-check-5L262F53.js → start-check-JYINXXEG.js} +2 -2
- package/dist/chunks/{startup-failure-4PLTFEVA.js → startup-failure-G3HSW2U3.js} +2 -2
- package/dist/chunks/{state-BTF5VEKZ.js → state-EDIR4EM2.js} +25 -25
- package/dist/chunks/{store-WECWJFQV.js → store-4HJUNR5E.js} +3 -3
- package/dist/chunks/{store-WOSPWPH2.js → store-6SNBHHJA.js} +4 -4
- package/dist/chunks/{store-RTWBXAKA.js → store-ADMKKWZF.js} +13 -13
- package/dist/chunks/{store-OTVBA4G2.js → store-IKXRGI2L.js} +9 -9
- package/dist/chunks/{tui-EWG7SLNZ.js → tui-AKXFDXNZ.js} +122 -120
- package/dist/chunks/tui-AKXFDXNZ.js.map +6 -0
- package/dist/chunks/{update-7FGJLU2B.js → update-TYCWQEHZ.js} +315 -34
- package/dist/chunks/update-TYCWQEHZ.js.map +6 -0
- package/dist/chunks/{watch-KKQKQKA6.js → watch-RQYBCHYR.js} +124 -122
- package/dist/chunks/watch-RQYBCHYR.js.map +6 -0
- package/dist/chunks/{windows-home-VPSYQVOZ.js → windows-home-IZGCRSW7.js} +5 -5
- package/dist/chunks/{workspaces-7DZS6QLA.js → workspaces-6KGOMHCM.js} +30 -30
- package/dist/chunks/{worktree-XZ5Y74RZ.js → worktree-O7RSM3PC.js} +33 -33
- package/dist/cli.d.ts.map +1 -1
- package/dist/commands/acp.d.ts.map +1 -1
- package/dist/commands/action-help.d.ts +1 -1
- package/dist/commands/action-help.d.ts.map +1 -1
- package/dist/commands/actions/small.d.ts +1 -0
- package/dist/commands/actions/small.d.ts.map +1 -1
- package/dist/commands/auth-status.d.ts +1 -1
- package/dist/commands/auth-status.d.ts.map +1 -1
- package/dist/commands/auth.d.ts.map +1 -1
- package/dist/commands/completion-shells.d.ts +8 -0
- package/dist/commands/completion-shells.d.ts.map +1 -0
- package/dist/commands/completion.d.ts +6 -0
- package/dist/commands/completion.d.ts.map +1 -0
- package/dist/commands/debug.d.ts.map +1 -1
- package/dist/commands/desktop-chat-workspace.d.ts +25 -0
- package/dist/commands/desktop-chat-workspace.d.ts.map +1 -0
- package/dist/commands/desktop-host.d.ts.map +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/drain.d.ts +19 -1
- package/dist/commands/drain.d.ts.map +1 -1
- package/dist/commands/eval.d.ts.map +1 -1
- package/dist/commands/exec-json.d.ts.map +1 -1
- package/dist/commands/exec.d.ts.map +1 -1
- package/dist/commands/index-project.d.ts +3 -0
- package/dist/commands/index-project.d.ts.map +1 -0
- package/dist/commands/manifest.d.ts +1 -0
- package/dist/commands/manifest.d.ts.map +1 -1
- package/dist/commands/registry.d.ts +1 -0
- package/dist/commands/registry.d.ts.map +1 -1
- package/dist/commands/update-migrate.d.ts +39 -0
- package/dist/commands/update-migrate.d.ts.map +1 -0
- package/dist/commands/update.d.ts +8 -0
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +9 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/session-options.d.ts +1 -1
- package/dist/config/session-options.d.ts.map +1 -1
- package/dist/config/settings-descriptors.d.ts.map +1 -1
- package/dist/doctor/checks/chain.d.ts.map +1 -1
- package/dist/doctor/checks/credentials.d.ts.map +1 -1
- package/dist/doctor/checks/updates.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +58 -57
- package/dist/integrations/auto-update/apply.d.ts.map +1 -1
- package/dist/integrations/auto-update/install-kind.d.ts +13 -0
- package/dist/integrations/auto-update/install-kind.d.ts.map +1 -1
- package/dist/integrations/auto-update/install-plan.d.ts +40 -0
- package/dist/integrations/auto-update/install-plan.d.ts.map +1 -0
- package/dist/integrations/auto-update/status.d.ts +8 -0
- package/dist/integrations/auto-update/status.d.ts.map +1 -1
- package/dist/integrations/auto-update/updater.d.ts.map +1 -1
- package/dist/integrations/images/generate-image.d.ts +2 -0
- package/dist/integrations/images/generate-image.d.ts.map +1 -1
- package/dist/integrations/providers/discover.d.ts +1 -0
- package/dist/integrations/providers/discover.d.ts.map +1 -1
- package/dist/integrations/providers/gemini-credentials.d.ts +2 -0
- package/dist/integrations/providers/gemini-credentials.d.ts.map +1 -1
- package/dist/integrations/semantic-search/chunk.d.ts +9 -0
- package/dist/integrations/semantic-search/chunk.d.ts.map +1 -0
- package/dist/integrations/semantic-search/consent.d.ts +4 -0
- package/dist/integrations/semantic-search/consent.d.ts.map +1 -0
- package/dist/integrations/semantic-search/embedding.d.ts +14 -0
- package/dist/integrations/semantic-search/embedding.d.ts.map +1 -0
- package/dist/integrations/semantic-search/index.d.ts +30 -0
- package/dist/integrations/semantic-search/index.d.ts.map +1 -0
- package/dist/integrations/semantic-search/tool.d.ts +3 -0
- package/dist/integrations/semantic-search/tool.d.ts.map +1 -0
- package/dist/integrations/sessions/uncheckpointed-turn.d.ts +47 -0
- package/dist/integrations/sessions/uncheckpointed-turn.d.ts.map +1 -0
- package/dist/plan/approval.d.ts +8 -6
- package/dist/plan/approval.d.ts.map +1 -1
- package/dist/plan/exit-plan-mode-tool.d.ts.map +1 -1
- package/dist/plan/handover.d.ts +23 -0
- package/dist/plan/handover.d.ts.map +1 -0
- package/dist/rounds/types.d.ts +2 -0
- package/dist/rounds/types.d.ts.map +1 -1
- package/dist/sdk-peer.js +23 -1
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/Composer.d.ts +3 -1
- package/dist/tui/Composer.d.ts.map +1 -1
- package/dist/tui/PlanApprovalOverlay.d.ts +2 -2
- package/dist/tui/PlanApprovalOverlay.d.ts.map +1 -1
- package/dist/tui/StatusBar.d.ts +1 -7
- package/dist/tui/StatusBar.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +21 -1
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/computer-use-enable-offer.d.ts.map +1 -1
- package/dist/tui/message-closes-ask.d.ts +14 -0
- package/dist/tui/message-closes-ask.d.ts.map +1 -0
- package/dist/tui/plain-failure.d.ts.map +1 -1
- package/dist/tui/slash-argument-completion.d.ts +37 -0
- package/dist/tui/slash-argument-completion.d.ts.map +1 -0
- package/dist/tui/slashCommands.d.ts +3 -1
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/tui/types.d.ts +1 -0
- package/dist/tui/types.d.ts.map +1 -1
- package/dist/usage-error.d.ts +0 -10
- package/dist/usage-error.d.ts.map +1 -1
- package/package.json +15 -15
- package/dist/chunks/acp-XC6FTO64.js.map +0 -6
- package/dist/chunks/agent-session-LYNJM6TP.js +0 -105
- package/dist/chunks/auth-JAKMDE4X.js.map +0 -6
- package/dist/chunks/bin-main-V6PBLHRK.js.map +0 -6
- package/dist/chunks/chunk-2YPRONTU.js.map +0 -6
- package/dist/chunks/chunk-3OHJYUFP.js.map +0 -6
- package/dist/chunks/chunk-5B4BXZCI.js.map +0 -6
- package/dist/chunks/chunk-5U4IA3HS.js.map +0 -6
- package/dist/chunks/chunk-7L3PTSKY.js.map +0 -6
- package/dist/chunks/chunk-A2GT47E2.js.map +0 -6
- package/dist/chunks/chunk-AUDTDXWX.js.map +0 -6
- package/dist/chunks/chunk-HS7PPGS3.js.map +0 -6
- package/dist/chunks/chunk-KGCHR4TQ.js.map +0 -6
- package/dist/chunks/chunk-MNQL7ZAW.js.map +0 -6
- package/dist/chunks/chunk-NJUB2ADX.js.map +0 -6
- package/dist/chunks/chunk-TV7UBGX2.js.map +0 -6
- package/dist/chunks/chunk-V5DZWA6R.js.map +0 -6
- package/dist/chunks/chunk-VBG357AO.js.map +0 -6
- package/dist/chunks/chunk-VVMI6HQM.js.map +0 -6
- package/dist/chunks/chunk-XJ4APISC.js.map +0 -6
- package/dist/chunks/chunk-ZZ7A2Y7O.js.map +0 -6
- package/dist/chunks/config-PUASBICJ.js.map +0 -6
- package/dist/chunks/debug-DX3SZNDB.js.map +0 -6
- package/dist/chunks/doctor-CPX7KDGR.js +0 -103
- package/dist/chunks/drain-2WIWFYU3.js.map +0 -6
- package/dist/chunks/exec-J55XOCSL.js.map +0 -6
- package/dist/chunks/live-LDWIFGRI.js +0 -102
- package/dist/chunks/message-command-QF7YMZDH.js.map +0 -6
- package/dist/chunks/peers-FJNLC7ZV.js.map +0 -6
- package/dist/chunks/plugin-5J3GMENO.js.map +0 -6
- package/dist/chunks/resume-IQMUIIBO.js +0 -28
- package/dist/chunks/send-person-LHJCPCAT.js +0 -39
- package/dist/chunks/tui-EWG7SLNZ.js.map +0 -6
- package/dist/chunks/update-7FGJLU2B.js.map +0 -6
- package/dist/chunks/watch-KKQKQKA6.js.map +0 -6
- /package/dist/chunks/{activity-command-PIH63SRU.js.map → activity-command-X25POZ3R.js.map} +0 -0
- /package/dist/chunks/{add-CWIB4XVU.js.map → add-HL4MO6R2.js.map} +0 -0
- /package/dist/chunks/{agent-CNRZCXHY.js.map → agent-MHH4MGYB.js.map} +0 -0
- /package/dist/chunks/{agent-session-LYNJM6TP.js.map → agent-session-OC32VSS6.js.map} +0 -0
- /package/dist/chunks/{apply-at-exit-CMRH3GQN.js.map → apply-at-exit-ADWMDFFQ.js.map} +0 -0
- /package/dist/chunks/{archive-DPZ3PWUU.js.map → archive-6X2FED3E.js.map} +0 -0
- /package/dist/chunks/{binding-UHJZD5Z3.js.map → binding-OXJ5TL6T.js.map} +0 -0
- /package/dist/chunks/{browser-2QBVPHCB.js.map → browser-DFLZNRRZ.js.map} +0 -0
- /package/dist/chunks/{chat-DJEP53BA.js.map → chat-PPSFN5JK.js.map} +0 -0
- /package/dist/chunks/{chunk-4JKWOO7I.js.map → chunk-23AYRMS2.js.map} +0 -0
- /package/dist/chunks/{chunk-MUQOV75B.js.map → chunk-2H75JWKG.js.map} +0 -0
- /package/dist/chunks/{chunk-NEOVE6D5.js.map → chunk-2JKQ6BFI.js.map} +0 -0
- /package/dist/chunks/{chunk-UZVJQEYT.js.map → chunk-2KJUKF2E.js.map} +0 -0
- /package/dist/chunks/{chunk-IYBVVKSB.js.map → chunk-2QGSHJ4Y.js.map} +0 -0
- /package/dist/chunks/{chunk-ZNSVRCPH.js.map → chunk-2R6Z32IU.js.map} +0 -0
- /package/dist/chunks/{chunk-7FGITTVH.js.map → chunk-2USTJGLA.js.map} +0 -0
- /package/dist/chunks/{chunk-EIIJLF6W.js.map → chunk-333RR5BA.js.map} +0 -0
- /package/dist/chunks/{chunk-MCIYCR57.js.map → chunk-33TGFQ2U.js.map} +0 -0
- /package/dist/chunks/{chunk-C4RV2D57.js.map → chunk-3FFV4OSR.js.map} +0 -0
- /package/dist/chunks/{chunk-QI4IEHLE.js.map → chunk-3QXUETDN.js.map} +0 -0
- /package/dist/chunks/{chunk-4VTRURM6.js.map → chunk-3TLDTD6R.js.map} +0 -0
- /package/dist/chunks/{chunk-ONEBRD5O.js.map → chunk-4ASXGRP5.js.map} +0 -0
- /package/dist/chunks/{chunk-ZFOZVUUJ.js.map → chunk-4JPZYI6M.js.map} +0 -0
- /package/dist/chunks/{chunk-RBJDS73T.js.map → chunk-4TPXEWD5.js.map} +0 -0
- /package/dist/chunks/{chunk-COOW2AWX.js.map → chunk-5GJWIDVU.js.map} +0 -0
- /package/dist/chunks/{chunk-RXFFBB7A.js.map → chunk-5PQHBLZI.js.map} +0 -0
- /package/dist/chunks/{chunk-GMUWAUKQ.js.map → chunk-5UARTCJW.js.map} +0 -0
- /package/dist/chunks/{chunk-Q5SAOE7Q.js.map → chunk-5XROCBT5.js.map} +0 -0
- /package/dist/chunks/{chunk-WI6IGTC4.js.map → chunk-5YOREQIA.js.map} +0 -0
- /package/dist/chunks/{chunk-4E5KFKJA.js.map → chunk-6CL7TQOC.js.map} +0 -0
- /package/dist/chunks/{chunk-N5YRJQPS.js.map → chunk-7RCI6OBE.js.map} +0 -0
- /package/dist/chunks/{chunk-SIMI4VB7.js.map → chunk-7WPF7ATU.js.map} +0 -0
- /package/dist/chunks/{chunk-DKZAHG7B.js.map → chunk-AAN4XLUD.js.map} +0 -0
- /package/dist/chunks/{chunk-LDJXUI3Q.js.map → chunk-BB2RJOFI.js.map} +0 -0
- /package/dist/chunks/{chunk-ESWXNISI.js.map → chunk-BCHHHNLK.js.map} +0 -0
- /package/dist/chunks/{chunk-C6JX3GVK.js.map → chunk-BUQCQMXH.js.map} +0 -0
- /package/dist/chunks/{chunk-VLWMMDBY.js.map → chunk-COSMRH2Q.js.map} +0 -0
- /package/dist/chunks/{chunk-4VMFD7UC.js.map → chunk-CPZEJQ2Z.js.map} +0 -0
- /package/dist/chunks/{chunk-3AKPBYMA.js.map → chunk-DCVWFBYB.js.map} +0 -0
- /package/dist/chunks/{chunk-ADGTOEHA.js.map → chunk-DD3BJ4GM.js.map} +0 -0
- /package/dist/chunks/{chunk-4H2RPAXN.js.map → chunk-DKTU6RWO.js.map} +0 -0
- /package/dist/chunks/{chunk-OWKPJJKH.js.map → chunk-EODC62SI.js.map} +0 -0
- /package/dist/chunks/{chunk-IVTYJBJF.js.map → chunk-EOHPS7LC.js.map} +0 -0
- /package/dist/chunks/{chunk-2LZAZAWT.js.map → chunk-EPSLHLT3.js.map} +0 -0
- /package/dist/chunks/{chunk-SHUKR2A5.js.map → chunk-FAQQGJ2Z.js.map} +0 -0
- /package/dist/chunks/{chunk-OQFX532E.js.map → chunk-FJPM4YAO.js.map} +0 -0
- /package/dist/chunks/{chunk-TPMF64WM.js.map → chunk-FZSM7DSH.js.map} +0 -0
- /package/dist/chunks/{chunk-MMQGQ7BJ.js.map → chunk-G3V2OKYP.js.map} +0 -0
- /package/dist/chunks/{chunk-6WPK5S6Z.js.map → chunk-G4OR74MC.js.map} +0 -0
- /package/dist/chunks/{chunk-QWUHCBDT.js.map → chunk-HXZA5UUN.js.map} +0 -0
- /package/dist/chunks/{chunk-2AWKLDCQ.js.map → chunk-IDIVB67E.js.map} +0 -0
- /package/dist/chunks/{chunk-IISM3GHE.js.map → chunk-ISI36EUS.js.map} +0 -0
- /package/dist/chunks/{chunk-SNHJJI52.js.map → chunk-IUMOIQKL.js.map} +0 -0
- /package/dist/chunks/{chunk-P5LQ4NRD.js.map → chunk-J4NFH5T2.js.map} +0 -0
- /package/dist/chunks/{chunk-HYHHGMBC.js.map → chunk-J6JBHNNR.js.map} +0 -0
- /package/dist/chunks/{chunk-UGBHE6ZS.js.map → chunk-JCY3OPTY.js.map} +0 -0
- /package/dist/chunks/{chunk-S76POTJP.js.map → chunk-JD7EWFIJ.js.map} +0 -0
- /package/dist/chunks/{chunk-2K7EIRI2.js.map → chunk-JOVKHMJS.js.map} +0 -0
- /package/dist/chunks/{chunk-GOKGPFXK.js.map → chunk-JQ7HNIBS.js.map} +0 -0
- /package/dist/chunks/{chunk-I3HOLAAO.js.map → chunk-JSWFUARY.js.map} +0 -0
- /package/dist/chunks/{chunk-NTUKFINL.js.map → chunk-JU3P3ZJJ.js.map} +0 -0
- /package/dist/chunks/{chunk-ZLMO5YL4.js.map → chunk-JWBS363M.js.map} +0 -0
- /package/dist/chunks/{chunk-HZGT5EHL.js.map → chunk-JXBSJNUF.js.map} +0 -0
- /package/dist/chunks/{chunk-X6LDRLVN.js.map → chunk-JZTNWODR.js.map} +0 -0
- /package/dist/chunks/{chunk-HJHZJKAD.js.map → chunk-K4AUROOC.js.map} +0 -0
- /package/dist/chunks/{chunk-RL2CTUF2.js.map → chunk-KFFW7EYQ.js.map} +0 -0
- /package/dist/chunks/{chunk-SEW4KEZ5.js.map → chunk-KGKVNHFC.js.map} +0 -0
- /package/dist/chunks/{chunk-SOZSIDCY.js.map → chunk-KLIJLSWF.js.map} +0 -0
- /package/dist/chunks/{chunk-BS3KGJJZ.js.map → chunk-LJFDFGFU.js.map} +0 -0
- /package/dist/chunks/{chunk-O3T5CJQG.js.map → chunk-LZPPIRJW.js.map} +0 -0
- /package/dist/chunks/{chunk-H624ADJH.js.map → chunk-MHEYQD24.js.map} +0 -0
- /package/dist/chunks/{chunk-44KWXPBG.js.map → chunk-MM7HGD6H.js.map} +0 -0
- /package/dist/chunks/{chunk-C56FUSQH.js.map → chunk-N4KE47J2.js.map} +0 -0
- /package/dist/chunks/{chunk-QNRBLNA3.js.map → chunk-N4USZWBA.js.map} +0 -0
- /package/dist/chunks/{chunk-GCLZEMDF.js.map → chunk-OIFFABSH.js.map} +0 -0
- /package/dist/chunks/{chunk-NRR2SMR6.js.map → chunk-OKFU62GA.js.map} +0 -0
- /package/dist/chunks/{chunk-G6YSAHKC.js.map → chunk-OWPDRJ6S.js.map} +0 -0
- /package/dist/chunks/{chunk-LCZWTKIB.js.map → chunk-P4WMRT5Q.js.map} +0 -0
- /package/dist/chunks/{chunk-EHKWQ7IS.js.map → chunk-PGHGBSS2.js.map} +0 -0
- /package/dist/chunks/{chunk-OA76OH27.js.map → chunk-PLPVXHTM.js.map} +0 -0
- /package/dist/chunks/{chunk-KE2RFCTY.js.map → chunk-PMA5NXWF.js.map} +0 -0
- /package/dist/chunks/{chunk-5RA5FZDM.js.map → chunk-PSRWFKFX.js.map} +0 -0
- /package/dist/chunks/{chunk-NXFB5AP5.js.map → chunk-PTUICVCN.js.map} +0 -0
- /package/dist/chunks/{chunk-ZIF4GK2U.js.map → chunk-Q5THGA3N.js.map} +0 -0
- /package/dist/chunks/{chunk-5SRVOPRS.js.map → chunk-QTR6UU63.js.map} +0 -0
- /package/dist/chunks/{chunk-7BNKRTXM.js.map → chunk-RIVPA5TG.js.map} +0 -0
- /package/dist/chunks/{chunk-HPUVBU7G.js.map → chunk-RQYSVELQ.js.map} +0 -0
- /package/dist/chunks/{chunk-RKAZUYKY.js.map → chunk-RWSHMPFM.js.map} +0 -0
- /package/dist/chunks/{chunk-CQNIP7QC.js.map → chunk-RZ3HYPV4.js.map} +0 -0
- /package/dist/chunks/{chunk-AFYS4U45.js.map → chunk-SDWOSB3L.js.map} +0 -0
- /package/dist/chunks/{chunk-AT42FHTY.js.map → chunk-SPKNKEW5.js.map} +0 -0
- /package/dist/chunks/{chunk-UUMISHVL.js.map → chunk-SQDZZCQJ.js.map} +0 -0
- /package/dist/chunks/{chunk-KFB4RMNZ.js.map → chunk-SRNS347K.js.map} +0 -0
- /package/dist/chunks/{chunk-GUOCXE6V.js.map → chunk-SX7FXWTB.js.map} +0 -0
- /package/dist/chunks/{chunk-WGN4AUAW.js.map → chunk-T6FMC7R5.js.map} +0 -0
- /package/dist/chunks/{chunk-SHW5NXAS.js.map → chunk-TDCHFQVU.js.map} +0 -0
- /package/dist/chunks/{chunk-6AINAG3P.js.map → chunk-TGQWC44Q.js.map} +0 -0
- /package/dist/chunks/{chunk-XPTCRZ6F.js.map → chunk-TIM7OEJN.js.map} +0 -0
- /package/dist/chunks/{chunk-TAPWAMDX.js.map → chunk-TO5ROEIW.js.map} +0 -0
- /package/dist/chunks/{chunk-QTGW6FJG.js.map → chunk-TTBXKYFP.js.map} +0 -0
- /package/dist/chunks/{chunk-757LAANV.js.map → chunk-TXCQMW7F.js.map} +0 -0
- /package/dist/chunks/{chunk-WD5XJ5ZU.js.map → chunk-UCF6H5BB.js.map} +0 -0
- /package/dist/chunks/{chunk-5ER7BU54.js.map → chunk-UP3ATLU6.js.map} +0 -0
- /package/dist/chunks/{chunk-E5LJN2DV.js.map → chunk-UTC325FB.js.map} +0 -0
- /package/dist/chunks/{chunk-C3UATI2T.js.map → chunk-VH647IFM.js.map} +0 -0
- /package/dist/chunks/{chunk-5K6GFGCD.js.map → chunk-VMWPRI2S.js.map} +0 -0
- /package/dist/chunks/{chunk-PTBKVAHY.js.map → chunk-VWJOJJNQ.js.map} +0 -0
- /package/dist/chunks/{chunk-QVUF2FSM.js.map → chunk-W3QW6SK6.js.map} +0 -0
- /package/dist/chunks/{chunk-P5UUY56J.js.map → chunk-W4EKIBRD.js.map} +0 -0
- /package/dist/chunks/{chunk-SC3GK5QC.js.map → chunk-WMWRRDO2.js.map} +0 -0
- /package/dist/chunks/{chunk-5TSOB5RI.js.map → chunk-WNBIAOXA.js.map} +0 -0
- /package/dist/chunks/{chunk-Q7NB7LRR.js.map → chunk-WQL7MEOD.js.map} +0 -0
- /package/dist/chunks/{chunk-335D56LG.js.map → chunk-X2LYTBDH.js.map} +0 -0
- /package/dist/chunks/{chunk-OLX3IUKN.js.map → chunk-X4TVUANR.js.map} +0 -0
- /package/dist/chunks/{chunk-EGRSUSP4.js.map → chunk-XBX3T6YY.js.map} +0 -0
- /package/dist/chunks/{chunk-Z4UCKCEQ.js.map → chunk-XC6G27M2.js.map} +0 -0
- /package/dist/chunks/{chunk-RXVJEZSV.js.map → chunk-XGH3FZ76.js.map} +0 -0
- /package/dist/chunks/{chunk-6GCYUKNK.js.map → chunk-XK7NQIZA.js.map} +0 -0
- /package/dist/chunks/{chunk-BHO3RAXS.js.map → chunk-XNMJLM5W.js.map} +0 -0
- /package/dist/chunks/{chunk-G5MD6XCV.js.map → chunk-XORYHNZ3.js.map} +0 -0
- /package/dist/chunks/{chunk-EW2YVKTN.js.map → chunk-XTMUUGTN.js.map} +0 -0
- /package/dist/chunks/{chunk-DO5JIP3I.js.map → chunk-Y36ZTLIJ.js.map} +0 -0
- /package/dist/chunks/{chunk-NUMKSEG4.js.map → chunk-YCPK5ZTB.js.map} +0 -0
- /package/dist/chunks/{chunk-HXINZ7D3.js.map → chunk-YRQ5PI7O.js.map} +0 -0
- /package/dist/chunks/{chunk-ORXNYBJU.js.map → chunk-YXR3LVZE.js.map} +0 -0
- /package/dist/chunks/{chunk-4ABPUIBF.js.map → chunk-YYGE5EWH.js.map} +0 -0
- /package/dist/chunks/{chunk-RJINNWMH.js.map → chunk-YZ6UKIKL.js.map} +0 -0
- /package/dist/chunks/{chunk-L45TVHRJ.js.map → chunk-Z75IWPPX.js.map} +0 -0
- /package/dist/chunks/{chunk-XNVZ6BPI.js.map → chunk-ZAQFM5BR.js.map} +0 -0
- /package/dist/chunks/{chunk-FDLXZRE4.js.map → chunk-ZDJWREOA.js.map} +0 -0
- /package/dist/chunks/{chunk-UGTDCLS5.js.map → chunk-ZKTDZOCC.js.map} +0 -0
- /package/dist/chunks/{chunk-QHJJ333E.js.map → chunk-ZQL7XFSE.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-FK3WLEHC.js.map → cli-runtime-ZKBJFWOI.js.map} +0 -0
- /package/dist/chunks/{commands-UVEHHHUD.js.map → commands-3WI6F2YZ.js.map} +0 -0
- /package/dist/chunks/{computer-GABH2PJF.js.map → computer-WEEMTZUV.js.map} +0 -0
- /package/dist/chunks/{cost-S6LUVWMS.js.map → cost-557HKPZ4.js.map} +0 -0
- /package/dist/chunks/{crash-report-WSCK3UQK.js.map → crash-report-J47RFQ5T.js.map} +0 -0
- /package/dist/chunks/{desktop-host-schedule-tool-X5AYUZMV.js.map → desktop-host-schedule-tool-IOOJNMPQ.js.map} +0 -0
- /package/dist/chunks/{dist-WBDFP2PT.js.map → dist-665VSCM2.js.map} +0 -0
- /package/dist/chunks/{dist-NJJDM4QY.js.map → dist-AQO44B7K.js.map} +0 -0
- /package/dist/chunks/{dist-3GV6WNET.js.map → dist-D2RTUX7F.js.map} +0 -0
- /package/dist/chunks/{dist-BFD35FTG.js.map → dist-JLTZUUMS.js.map} +0 -0
- /package/dist/chunks/{dist-X7QK25WG.js.map → dist-L5C6AOXZ.js.map} +0 -0
- /package/dist/chunks/{dist-AAPFBZPA.js.map → dist-SEISKEDK.js.map} +0 -0
- /package/dist/chunks/{dist-XLMKK2FY.js.map → dist-VQVXULA5.js.map} +0 -0
- /package/dist/chunks/{doctor-CPX7KDGR.js.map → doctor-ZRPCR5DP.js.map} +0 -0
- /package/dist/chunks/{entry-KSTSU23A.js.map → entry-TPBKHAWV.js.map} +0 -0
- /package/dist/chunks/{extension-3YMXVKLS.js.map → extension-KJJ7XNR4.js.map} +0 -0
- /package/dist/chunks/{feed-66TKSG2Y.js.map → feed-LQNVF7M6.js.map} +0 -0
- /package/dist/chunks/{github-7JHAZZC3.js.map → github-LMMBAQWI.js.map} +0 -0
- /package/dist/chunks/{home-RJERCCZS.js.map → home-D7JCGXQE.js.map} +0 -0
- /package/dist/chunks/{homes-P5UAFUPZ.js.map → homes-EKTHOMXX.js.map} +0 -0
- /package/dist/chunks/{hooks-U2Z463DN.js.map → hooks-IT2ZUPG6.js.map} +0 -0
- /package/dist/chunks/{hooks-report-FIPQINVZ.js.map → hooks-report-A7F26EDM.js.map} +0 -0
- /package/dist/chunks/{host-IWAXBSUX.js.map → host-FS2RMOHW.js.map} +0 -0
- /package/dist/chunks/{host-queries-3IRCFZ74.js.map → host-queries-OJXR2XYT.js.map} +0 -0
- /package/dist/chunks/{installed-list-IBGMBHUJ.js.map → installed-list-27KYS56I.js.map} +0 -0
- /package/dist/chunks/{launch-UHLESLJC.js.map → launch-33I3O7VJ.js.map} +0 -0
- /package/dist/chunks/{learn-TQHDWYWB.js.map → learn-G5UEINB6.js.map} +0 -0
- /package/dist/chunks/{learn-builtin-2OY2YL6U.js.map → learn-builtin-Y5FIKQSV.js.map} +0 -0
- /package/dist/chunks/{lifecycle-ECBTALQV.js.map → lifecycle-NJQ7FIK2.js.map} +0 -0
- /package/dist/chunks/{list-GECT7X6E.js.map → list-UKBQESKU.js.map} +0 -0
- /package/dist/chunks/{live-LDWIFGRI.js.map → live-3YNFFWY5.js.map} +0 -0
- /package/dist/chunks/{load-LFCACQWA.js.map → load-KDS3CW6R.js.map} +0 -0
- /package/dist/chunks/{logs-55HJKNP6.js.map → logs-3XKNKFY2.js.map} +0 -0
- /package/dist/chunks/{mcp-XUKNYMSO.js.map → mcp-B2ZVGJQE.js.map} +0 -0
- /package/dist/chunks/{mcp-serve-XYNR3BNJ.js.map → mcp-serve-DH63SWUH.js.map} +0 -0
- /package/dist/chunks/{notes-TQTBT2ZZ.js.map → notes-ZCY7LTUD.js.map} +0 -0
- /package/dist/chunks/{open-CDLLQS4B.js.map → open-A4H4HWGO.js.map} +0 -0
- /package/dist/chunks/{operator-tools-XAFRSL26.js.map → operator-tools-EH6R2JQC.js.map} +0 -0
- /package/dist/chunks/{output-schema-5KOV6OJ6.js.map → output-schema-2NSAYRBS.js.map} +0 -0
- /package/dist/chunks/{pal-7XHBGZ4S.js.map → pal-EANL2OUH.js.map} +0 -0
- /package/dist/chunks/{peers-2MJG2EON.js.map → peers-H3ANL6XB.js.map} +0 -0
- /package/dist/chunks/{pending-4FM6EO26.js.map → pending-TRLAK2BR.js.map} +0 -0
- /package/dist/chunks/{proposals-BGOU7KAM.js.map → proposals-YB3YJOPW.js.map} +0 -0
- /package/dist/chunks/{providers-6PVAW2M3.js.map → providers-JA3AF524.js.map} +0 -0
- /package/dist/chunks/{providers-ZFUFVRRD.js.map → providers-LVD7T5JI.js.map} +0 -0
- /package/dist/chunks/{pty-3WHZDZXY.js.map → pty-66OF4YNF.js.map} +0 -0
- /package/dist/chunks/{resume-IQMUIIBO.js.map → resume-W4JBH2A7.js.map} +0 -0
- /package/dist/chunks/{resume-command-4VQ5ZTNJ.js.map → resume-command-J3VONMB5.js.map} +0 -0
- /package/dist/chunks/{running-QT5QIYNC.js.map → running-5GQPD6OM.js.map} +0 -0
- /package/dist/chunks/{say-JISSL5GL.js.map → say-7GQSUSTD.js.map} +0 -0
- /package/dist/chunks/{schedule-5VVP4D3W.js.map → schedule-LMXNNMAZ.js.map} +0 -0
- /package/dist/chunks/{send-F7EBK2UQ.js.map → send-Z35YQVV2.js.map} +0 -0
- /package/dist/chunks/{send-person-LHJCPCAT.js.map → send-person-TIM427ZP.js.map} +0 -0
- /package/dist/chunks/{servers-WVOZNOUM.js.map → servers-4QP7GKOK.js.map} +0 -0
- /package/dist/chunks/{service-7QGHSF2V.js.map → service-U244Z3VG.js.map} +0 -0
- /package/dist/chunks/{session-options-WW5IDZEZ.js.map → session-options-ODKOXNAT.js.map} +0 -0
- /package/dist/chunks/{setting-cli-AC5BEDWA.js.map → setting-cli-H5UKKB4F.js.map} +0 -0
- /package/dist/chunks/{skills-QQ74IBRB.js.map → skills-ELR2D7WU.js.map} +0 -0
- /package/dist/chunks/{source-deliveries-C2DRS4H6.js.map → source-deliveries-CI5K5DJQ.js.map} +0 -0
- /package/dist/chunks/{start-check-5L262F53.js.map → start-check-JYINXXEG.js.map} +0 -0
- /package/dist/chunks/{startup-failure-4PLTFEVA.js.map → startup-failure-G3HSW2U3.js.map} +0 -0
- /package/dist/chunks/{state-BTF5VEKZ.js.map → state-EDIR4EM2.js.map} +0 -0
- /package/dist/chunks/{store-OTVBA4G2.js.map → store-4HJUNR5E.js.map} +0 -0
- /package/dist/chunks/{store-RTWBXAKA.js.map → store-6SNBHHJA.js.map} +0 -0
- /package/dist/chunks/{store-WECWJFQV.js.map → store-ADMKKWZF.js.map} +0 -0
- /package/dist/chunks/{store-WOSPWPH2.js.map → store-IKXRGI2L.js.map} +0 -0
- /package/dist/chunks/{windows-home-VPSYQVOZ.js.map → windows-home-IZGCRSW7.js.map} +0 -0
- /package/dist/chunks/{workspaces-7DZS6QLA.js.map → workspaces-6KGOMHCM.js.map} +0 -0
- /package/dist/chunks/{worktree-XZ5Y74RZ.js.map → worktree-O7RSM3PC.js.map} +0 -0
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-MRDJXO22.js";
|
|
28
28
|
import {
|
|
29
29
|
applySettingsEnv
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BCHHHNLK.js";
|
|
31
31
|
import {
|
|
32
32
|
REASONING_EFFORT_LEVELS,
|
|
33
33
|
positiveTokenCount,
|
|
@@ -41,6 +41,9 @@ import {
|
|
|
41
41
|
EXIT_BAD_CONFIG,
|
|
42
42
|
EXIT_INTERNAL_ERROR
|
|
43
43
|
} from "./chunk-24V2WEKR.js";
|
|
44
|
+
import {
|
|
45
|
+
stringWidth
|
|
46
|
+
} from "./chunk-U5UV2YRE.js";
|
|
44
47
|
import {
|
|
45
48
|
createFormatter,
|
|
46
49
|
isFormatName
|
|
@@ -58,8 +61,68 @@ import {
|
|
|
58
61
|
__name
|
|
59
62
|
} from "./chunk-76FLAFCG.js";
|
|
60
63
|
|
|
64
|
+
// src/usage-error.ts
|
|
65
|
+
var HELP_POINTER = "Run namzu --help to see what is available.";
|
|
66
|
+
function wrapAtWords(line, width) {
|
|
67
|
+
if (width < 1 || stringWidth(line) <= width) return [line];
|
|
68
|
+
const rows = [];
|
|
69
|
+
const indent = /^\s*/.exec(line)?.[0] ?? "";
|
|
70
|
+
let current = "";
|
|
71
|
+
for (const word of line.trim().split(/\s+/)) {
|
|
72
|
+
if (current === "") current = `${indent}${word}`;
|
|
73
|
+
else if (stringWidth(current) + 1 + stringWidth(word) <= width) current += ` ${word}`;
|
|
74
|
+
else {
|
|
75
|
+
rows.push(current);
|
|
76
|
+
current = `${indent}${word}`;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
if (current !== "") rows.push(current);
|
|
80
|
+
return rows;
|
|
81
|
+
}
|
|
82
|
+
__name(wrapAtWords, "wrapAtWords");
|
|
83
|
+
function flagName(spelled) {
|
|
84
|
+
return /--[\w-]+/.exec(spelled)?.[0] ?? spelled.split(/[ ,]/)[0] ?? spelled;
|
|
85
|
+
}
|
|
86
|
+
__name(flagName, "flagName");
|
|
87
|
+
function plainer(first) {
|
|
88
|
+
const invalid = /^option '([^']+)' argument '(.*)' is invalid\.(?: Allowed choices are (.+)\.)?$/.exec(first);
|
|
89
|
+
if (invalid) {
|
|
90
|
+
const choices = invalid[3] ? ` Choose one of ${invalid[3]}.` : "";
|
|
91
|
+
return `\u201C${invalid[2]}\u201D is not a valid value for ${flagName(invalid[1] ?? "")}.${choices}`;
|
|
92
|
+
}
|
|
93
|
+
const missing = /^option '([^']+)' argument missing$/.exec(first);
|
|
94
|
+
if (missing) return `${flagName(missing[1] ?? "")} needs a value.`;
|
|
95
|
+
return first;
|
|
96
|
+
}
|
|
97
|
+
__name(plainer, "plainer");
|
|
98
|
+
function formatUsageError(text, columns) {
|
|
99
|
+
const width = Math.min(Math.max(columns ?? 80, 20), 100);
|
|
100
|
+
const lines = text.trim().split("\n").map((line, index) => {
|
|
101
|
+
let sentence = index === 0 ? plainer(line.replace(/^error:\s*/i, "")) : line;
|
|
102
|
+
if (index === 0 && /^[a-z]/.test(sentence)) {
|
|
103
|
+
sentence = `${sentence.charAt(0).toUpperCase()}${sentence.slice(1)}`;
|
|
104
|
+
}
|
|
105
|
+
if (index === 0 && !/[.!?:]$/.test(sentence)) sentence = `${sentence}.`;
|
|
106
|
+
return sentence;
|
|
107
|
+
});
|
|
108
|
+
const points = lines.length > 1 || /\bhelp\b/i.test(text) || /`namzu [^`]+`/.test(text) || /` is now `/.test(text);
|
|
109
|
+
const body = (points ? lines : [...lines, HELP_POINTER]).flatMap(
|
|
110
|
+
(line) => wrapAtWords(line, width)
|
|
111
|
+
);
|
|
112
|
+
return `${body.join("\n")}
|
|
113
|
+
`;
|
|
114
|
+
}
|
|
115
|
+
__name(formatUsageError, "formatUsageError");
|
|
116
|
+
|
|
61
117
|
// src/commands/action-help.ts
|
|
62
|
-
var HELP_FLAG = {
|
|
118
|
+
var HELP_FLAG = {
|
|
119
|
+
flag: "-h, --help",
|
|
120
|
+
description: "Show this help."
|
|
121
|
+
};
|
|
122
|
+
function flagNames(flag) {
|
|
123
|
+
return [...flag.matchAll(/(?:^|[\s,|])(--?[A-Za-z][\w-]*)/g)].map((m) => m[1]);
|
|
124
|
+
}
|
|
125
|
+
__name(flagNames, "flagNames");
|
|
63
126
|
function usageLine(area, action) {
|
|
64
127
|
const words = [`namzu ${area}`, ...action.path];
|
|
65
128
|
if (action.operands) words.push(action.operands);
|
|
@@ -67,16 +130,18 @@ function usageLine(area, action) {
|
|
|
67
130
|
return words.join(" ");
|
|
68
131
|
}
|
|
69
132
|
__name(usageLine, "usageLine");
|
|
70
|
-
function renderActionHelp(area, action) {
|
|
133
|
+
function renderActionHelp(area, action, columns = process.stdout.columns ?? 80) {
|
|
71
134
|
const rows = [...action.flags ?? [], HELP_FLAG];
|
|
72
|
-
const width = Math.max(...rows.map((r) => r.flag.length));
|
|
73
135
|
return [
|
|
74
136
|
usageLine(area, action),
|
|
75
137
|
"",
|
|
76
138
|
action.summary,
|
|
77
139
|
"",
|
|
78
140
|
"Options:",
|
|
79
|
-
...
|
|
141
|
+
...listing(
|
|
142
|
+
rows.map((r) => [r.flag, r.description]),
|
|
143
|
+
columns
|
|
144
|
+
),
|
|
80
145
|
"",
|
|
81
146
|
"Example:",
|
|
82
147
|
` ${action.example}`,
|
|
@@ -85,9 +150,18 @@ function renderActionHelp(area, action) {
|
|
|
85
150
|
].join("\n");
|
|
86
151
|
}
|
|
87
152
|
__name(renderActionHelp, "renderActionHelp");
|
|
88
|
-
function listing(rows) {
|
|
89
|
-
const
|
|
90
|
-
|
|
153
|
+
function listing(rows, columns = process.stdout.columns ?? 80) {
|
|
154
|
+
const termWidth = Math.max(0, ...rows.map(([term]) => stringWidth(term)));
|
|
155
|
+
const inline = columns - termWidth - 4 >= 12;
|
|
156
|
+
const descriptionColumn = inline ? termWidth + 4 : 4;
|
|
157
|
+
const indent = " ".repeat(descriptionColumn);
|
|
158
|
+
return rows.flatMap(([term, text]) => {
|
|
159
|
+
const [first, ...rest] = wrapAtWords(text, columns - descriptionColumn);
|
|
160
|
+
const label = ` ${term}`;
|
|
161
|
+
const continuation = rest.map((line) => indent + line);
|
|
162
|
+
if (!inline) return [label, indent + first, ...continuation];
|
|
163
|
+
return [label + " ".repeat(descriptionColumn - stringWidth(label)) + first, ...continuation];
|
|
164
|
+
});
|
|
91
165
|
}
|
|
92
166
|
__name(listing, "listing");
|
|
93
167
|
function renderActionIndex(area, actions) {
|
|
@@ -158,6 +232,11 @@ function isLazyCommand(def) {
|
|
|
158
232
|
__name(isLazyCommand, "isLazyCommand");
|
|
159
233
|
|
|
160
234
|
// src/commands/registry.ts
|
|
235
|
+
var commandDefinitions = /* @__PURE__ */ new WeakMap();
|
|
236
|
+
function resolveCommandDefinition(command) {
|
|
237
|
+
return commandDefinitions.get(command)?.();
|
|
238
|
+
}
|
|
239
|
+
__name(resolveCommandDefinition, "resolveCommandDefinition");
|
|
161
240
|
function registerCommand(program, def, opts) {
|
|
162
241
|
registerCommandOrLazy(program, def, opts);
|
|
163
242
|
}
|
|
@@ -165,6 +244,7 @@ __name(registerCommand, "registerCommand");
|
|
|
165
244
|
function registerCommandOrLazy(program, def, opts) {
|
|
166
245
|
const resolve2 = /* @__PURE__ */ __name(async () => isLazyCommand(def) ? def.load() : def, "resolve");
|
|
167
246
|
const cmd = program.command(def.name).description(def.description);
|
|
247
|
+
commandDefinitions.set(cmd, resolve2);
|
|
168
248
|
if (def.passThrough) {
|
|
169
249
|
cmd.helpOption(false).allowUnknownOption(true).passThroughOptions(true).argument("[args...]").action(async (args) => {
|
|
170
250
|
const rawArgs = args ?? [];
|
|
@@ -200,58 +280,109 @@ __name(registerAll, "registerAll");
|
|
|
200
280
|
// src/cli.ts
|
|
201
281
|
import { resolve } from "node:path";
|
|
202
282
|
|
|
203
|
-
// src/
|
|
204
|
-
var
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
if (current.length > 0) rows.push(current);
|
|
219
|
-
return rows;
|
|
283
|
+
// src/commands/completion.ts
|
|
284
|
+
var SHELLS = ["bash", "zsh", "fish", "powershell"];
|
|
285
|
+
var INSTALL = [
|
|
286
|
+
"Bash: source <(namzu completion bash)",
|
|
287
|
+
"Zsh: autoload -Uz compinit && compinit && source <(namzu completion zsh)",
|
|
288
|
+
"Fish: mkdir -p ~/.config/fish/completions && namzu completion fish > ~/.config/fish/completions/namzu.fish",
|
|
289
|
+
"PowerShell: namzu completion powershell | Out-String | Invoke-Expression",
|
|
290
|
+
"",
|
|
291
|
+
"For future sessions, put the Bash, Zsh or PowerShell line in your shell profile.",
|
|
292
|
+
"Fish loads the saved file automatically."
|
|
293
|
+
].join("\n");
|
|
294
|
+
function isShell(value) {
|
|
295
|
+
return SHELLS.some((shell) => shell === value);
|
|
220
296
|
}
|
|
221
|
-
__name(
|
|
222
|
-
function
|
|
223
|
-
|
|
297
|
+
__name(isShell, "isShell");
|
|
298
|
+
function defaultShell(value) {
|
|
299
|
+
const name = value?.split(/[/\\]/).at(-1)?.toLowerCase().replace(/\.exe$/, "");
|
|
300
|
+
if (name === "pwsh") return "powershell";
|
|
301
|
+
return name && isShell(name) ? name : "bash";
|
|
224
302
|
}
|
|
225
|
-
__name(
|
|
226
|
-
function
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
303
|
+
__name(defaultShell, "defaultShell");
|
|
304
|
+
function registerCompletion(program) {
|
|
305
|
+
return program.command("completion").description("Print a shell completion script").argument("[shell]", `${SHELLS.join(", ")} (defaults to SHELL or bash)`).addHelpText("after", `
|
|
306
|
+
Install in your shell
|
|
307
|
+
|
|
308
|
+
${INSTALL}`).action(async (requested, _options, command) => {
|
|
309
|
+
const shell = requested ?? defaultShell(process.env.SHELL);
|
|
310
|
+
if (!isShell(shell)) {
|
|
311
|
+
command.error(`Unknown shell '${shell}'. Choose ${SHELLS.join(", ")}.`, {
|
|
312
|
+
exitCode: 64,
|
|
313
|
+
code: "commander.invalidArgument"
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
command.configureOutput().writeOut?.(await completionScript(program, shell));
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
__name(registerCompletion, "registerCompletion");
|
|
320
|
+
function legacyFlagSpecs(help, command, hasActions) {
|
|
321
|
+
const specs = [];
|
|
322
|
+
const usage = `namzu ${command} `;
|
|
323
|
+
for (const line of help.split("\n")) {
|
|
324
|
+
const entry = line.trimStart();
|
|
325
|
+
if (line !== entry && /^--?\w/.test(entry)) {
|
|
326
|
+
specs.push(entry.split(/ {2,}/, 1)[0] ?? "");
|
|
327
|
+
} else if (!hasActions) {
|
|
328
|
+
const synopsis = entry.replace(/^Usage:\s+/, "");
|
|
329
|
+
if (synopsis.startsWith(usage)) {
|
|
330
|
+
const operands = synopsis.slice(usage.length).split(" -- ", 1)[0] ?? "";
|
|
331
|
+
specs.push(operands.replaceAll("[", " "));
|
|
332
|
+
}
|
|
333
|
+
}
|
|
231
334
|
}
|
|
232
|
-
|
|
233
|
-
if (missing) return `${flagName(missing[1] ?? "")} needs a value.`;
|
|
234
|
-
return first;
|
|
335
|
+
return specs;
|
|
235
336
|
}
|
|
236
|
-
__name(
|
|
237
|
-
function
|
|
238
|
-
const
|
|
239
|
-
const
|
|
240
|
-
|
|
241
|
-
if (
|
|
242
|
-
|
|
337
|
+
__name(legacyFlagSpecs, "legacyFlagSpecs");
|
|
338
|
+
async function completionScript(program, shell) {
|
|
339
|
+
const nodes = /* @__PURE__ */ new Map();
|
|
340
|
+
const node = /* @__PURE__ */ __name((path) => {
|
|
341
|
+
const existing = nodes.get(path);
|
|
342
|
+
if (existing) return existing;
|
|
343
|
+
const created = { words: /* @__PURE__ */ new Set(), flags: /* @__PURE__ */ new Set() };
|
|
344
|
+
nodes.set(path, created);
|
|
345
|
+
return created;
|
|
346
|
+
}, "node");
|
|
347
|
+
const addFlags = /* @__PURE__ */ __name((at, specs) => {
|
|
348
|
+
for (const spec of specs) {
|
|
349
|
+
for (const name of flagNames(spec)) at.flags.add(name);
|
|
243
350
|
}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
351
|
+
}, "addFlags");
|
|
352
|
+
const visit = /* @__PURE__ */ __name(async (command, path) => {
|
|
353
|
+
const at = node(path);
|
|
354
|
+
const help = command.createHelp();
|
|
355
|
+
addFlags(
|
|
356
|
+
at,
|
|
357
|
+
help.visibleOptions(command).map((option) => option.flags)
|
|
358
|
+
);
|
|
359
|
+
const def = await resolveCommandDefinition(command);
|
|
360
|
+
if (def?.passThrough) addFlags(at, ["-h, --help"]);
|
|
361
|
+
if (def?.help !== void 0) {
|
|
362
|
+
addFlags(at, legacyFlagSpecs(def.help, def.name, def.actions !== void 0));
|
|
363
|
+
}
|
|
364
|
+
for (const action of def?.actions ?? []) {
|
|
365
|
+
let prefix = path;
|
|
366
|
+
for (const word of action.path) {
|
|
367
|
+
node(prefix).words.add(word);
|
|
368
|
+
prefix = `${prefix} ${word}`;
|
|
369
|
+
addFlags(node(prefix), ["-h, --help"]);
|
|
370
|
+
}
|
|
371
|
+
addFlags(node(prefix), action.flags?.map((flag) => flag.flag) ?? []);
|
|
372
|
+
}
|
|
373
|
+
for (const child of help.visibleCommands(command)) {
|
|
374
|
+
const name = child.name();
|
|
375
|
+
at.words.add(name);
|
|
376
|
+
await visit(child, path === "" ? name : `${path} ${name}`);
|
|
377
|
+
}
|
|
378
|
+
}, "visit");
|
|
379
|
+
await visit(program, "");
|
|
380
|
+
for (const shellName of SHELLS) node("completion").words.add(shellName);
|
|
381
|
+
const required = program.options.filter((option) => option.required).flatMap((option) => flagNames(option.flags));
|
|
382
|
+
const { renderCompletion } = await import("./completion-shells-FUAKFK5A.js");
|
|
383
|
+
return renderCompletion(shell, nodes, required);
|
|
253
384
|
}
|
|
254
|
-
__name(
|
|
385
|
+
__name(completionScript, "completionScript");
|
|
255
386
|
|
|
256
387
|
// src/commands/manifest.ts
|
|
257
388
|
var acpCommand = lazyCommand(
|
|
@@ -260,7 +391,7 @@ var acpCommand = lazyCommand(
|
|
|
260
391
|
description: "Speak the agent-client protocol over this process\u2019s stdio",
|
|
261
392
|
passThrough: true
|
|
262
393
|
},
|
|
263
|
-
async () => (await import("./acp-
|
|
394
|
+
async () => (await import("./acp-J3TMCBRY.js")).acpCommand
|
|
264
395
|
);
|
|
265
396
|
var computerCommand = lazyCommand(
|
|
266
397
|
{
|
|
@@ -268,7 +399,7 @@ var computerCommand = lazyCommand(
|
|
|
268
399
|
description: "Check and set up the computer Pals run on (Windows)",
|
|
269
400
|
passThrough: true
|
|
270
401
|
},
|
|
271
|
-
async () => (await import("./computer-
|
|
402
|
+
async () => (await import("./computer-WEEMTZUV.js")).computerCommand
|
|
272
403
|
);
|
|
273
404
|
var agentsCommand = lazyCommand(
|
|
274
405
|
{
|
|
@@ -276,7 +407,7 @@ var agentsCommand = lazyCommand(
|
|
|
276
407
|
description: "Open the agents screen: workspaces, their sessions and each session\u2019s agents",
|
|
277
408
|
passThrough: true
|
|
278
409
|
},
|
|
279
|
-
async () => (await import("./workspaces-
|
|
410
|
+
async () => (await import("./workspaces-6KGOMHCM.js")).agentsCommand
|
|
280
411
|
);
|
|
281
412
|
var workspacesCommand = lazyCommand(
|
|
282
413
|
{
|
|
@@ -284,7 +415,7 @@ var workspacesCommand = lazyCommand(
|
|
|
284
415
|
description: "Run Namzu sessions side by side in one terminal (preview)",
|
|
285
416
|
passThrough: true
|
|
286
417
|
},
|
|
287
|
-
async () => (await import("./workspaces-
|
|
418
|
+
async () => (await import("./workspaces-6KGOMHCM.js")).workspacesCommand
|
|
288
419
|
);
|
|
289
420
|
var archiveCommand = lazyCommand(
|
|
290
421
|
{
|
|
@@ -292,7 +423,7 @@ var archiveCommand = lazyCommand(
|
|
|
292
423
|
description: "List or restore archived conversations in this project",
|
|
293
424
|
passThrough: true
|
|
294
425
|
},
|
|
295
|
-
async () => (await import("./archive-
|
|
426
|
+
async () => (await import("./archive-6X2FED3E.js")).archiveCommand
|
|
296
427
|
);
|
|
297
428
|
var costCommand = lazyCommand(
|
|
298
429
|
{
|
|
@@ -300,7 +431,7 @@ var costCommand = lazyCommand(
|
|
|
300
431
|
description: "Show spend across conversations by day and model, from the session logs",
|
|
301
432
|
passThrough: true
|
|
302
433
|
},
|
|
303
|
-
async () => (await import("./cost-
|
|
434
|
+
async () => (await import("./cost-557HKPZ4.js")).costCommand
|
|
304
435
|
);
|
|
305
436
|
var peersCommand = lazyCommand(
|
|
306
437
|
{
|
|
@@ -308,7 +439,7 @@ var peersCommand = lazyCommand(
|
|
|
308
439
|
description: "List and message live terminals, and manage your Namzu network of machines",
|
|
309
440
|
passThrough: true
|
|
310
441
|
},
|
|
311
|
-
async () => (await import("./peers-
|
|
442
|
+
async () => (await import("./peers-W5KEFXN6.js")).peersCommand
|
|
312
443
|
);
|
|
313
444
|
var watchCommand = lazyCommand(
|
|
314
445
|
{
|
|
@@ -316,7 +447,7 @@ var watchCommand = lazyCommand(
|
|
|
316
447
|
description: "Follow a running or finished session from another terminal, read-only",
|
|
317
448
|
passThrough: true
|
|
318
449
|
},
|
|
319
|
-
async () => (await import("./watch-
|
|
450
|
+
async () => (await import("./watch-RQYBCHYR.js")).watchCommand
|
|
320
451
|
);
|
|
321
452
|
var sendCommand = lazyCommand(
|
|
322
453
|
{
|
|
@@ -324,7 +455,7 @@ var sendCommand = lazyCommand(
|
|
|
324
455
|
description: "Say something to a running session from another terminal",
|
|
325
456
|
passThrough: true
|
|
326
457
|
},
|
|
327
|
-
async () => (await import("./send-
|
|
458
|
+
async () => (await import("./send-Z35YQVV2.js")).sendCommand
|
|
328
459
|
);
|
|
329
460
|
var debugCommand = lazyCommand(
|
|
330
461
|
{
|
|
@@ -332,7 +463,7 @@ var debugCommand = lazyCommand(
|
|
|
332
463
|
description: "Look at how Namzu itself behaves; `startup` shows what the last starts spent time on",
|
|
333
464
|
passThrough: true
|
|
334
465
|
},
|
|
335
|
-
async () => (await import("./debug-
|
|
466
|
+
async () => (await import("./debug-WJJFYSZF.js")).debugCommand
|
|
336
467
|
);
|
|
337
468
|
var doctorCommand = lazyCommand(
|
|
338
469
|
{
|
|
@@ -340,7 +471,7 @@ var doctorCommand = lazyCommand(
|
|
|
340
471
|
description: "Run health checks against the local Namzu environment",
|
|
341
472
|
passThrough: true
|
|
342
473
|
},
|
|
343
|
-
async () => (await import("./doctor-
|
|
474
|
+
async () => (await import("./doctor-ZRPCR5DP.js")).doctorCommand
|
|
344
475
|
);
|
|
345
476
|
var execCommand = lazyCommand(
|
|
346
477
|
{
|
|
@@ -348,7 +479,7 @@ var execCommand = lazyCommand(
|
|
|
348
479
|
description: "Run a single prompt headlessly: print the reply, or stream events with --json",
|
|
349
480
|
passThrough: true
|
|
350
481
|
},
|
|
351
|
-
async () => (await import("./exec-
|
|
482
|
+
async () => (await import("./exec-R5U6FFFE.js")).execCommand
|
|
352
483
|
);
|
|
353
484
|
var learnCommand = lazyCommand(
|
|
354
485
|
{
|
|
@@ -356,7 +487,7 @@ var learnCommand = lazyCommand(
|
|
|
356
487
|
description: "Learn from what conversations kept, now; list or undo what was learned",
|
|
357
488
|
passThrough: true
|
|
358
489
|
},
|
|
359
|
-
async () => (await import("./learn-
|
|
490
|
+
async () => (await import("./learn-G5UEINB6.js")).learnCommand
|
|
360
491
|
);
|
|
361
492
|
var learningCommand = lazyCommand(
|
|
362
493
|
{
|
|
@@ -364,7 +495,7 @@ var learningCommand = lazyCommand(
|
|
|
364
495
|
description: "Inspect learning experiments and the observations they start from",
|
|
365
496
|
passThrough: true
|
|
366
497
|
},
|
|
367
|
-
async () => (await import("./learn-
|
|
498
|
+
async () => (await import("./learn-G5UEINB6.js")).learningCommand
|
|
368
499
|
);
|
|
369
500
|
var authCommand = lazyCommand(
|
|
370
501
|
{
|
|
@@ -372,11 +503,11 @@ var authCommand = lazyCommand(
|
|
|
372
503
|
description: "Sign in or out of a provider, and see which credentials are stored",
|
|
373
504
|
passThrough: true
|
|
374
505
|
},
|
|
375
|
-
async () => (await import("./auth-
|
|
506
|
+
async () => (await import("./auth-KRORFNAA.js")).authCommand
|
|
376
507
|
);
|
|
377
508
|
var mcpCommand = lazyCommand(
|
|
378
509
|
{ name: "mcp", description: "Manage user tool servers", passThrough: true },
|
|
379
|
-
async () => (await import("./mcp-
|
|
510
|
+
async () => (await import("./mcp-B2ZVGJQE.js")).mcpCommand
|
|
380
511
|
);
|
|
381
512
|
var drainCommand = lazyCommand(
|
|
382
513
|
{
|
|
@@ -384,11 +515,11 @@ var drainCommand = lazyCommand(
|
|
|
384
515
|
description: "Continue a turn another process left behind (one pass, then exit)",
|
|
385
516
|
passThrough: true
|
|
386
517
|
},
|
|
387
|
-
async () => (await import("./drain-
|
|
518
|
+
async () => (await import("./drain-NHR22ZM6.js")).drainCommand
|
|
388
519
|
);
|
|
389
520
|
var evalCommand = lazyCommand(
|
|
390
521
|
{ name: "eval", description: "Run eval suites and set an exit code", passThrough: true },
|
|
391
|
-
async () => (await import("./eval-
|
|
522
|
+
async () => (await import("./eval-HKBQQXOD.js")).evalCommand
|
|
392
523
|
);
|
|
393
524
|
var historyCommand = lazyCommand(
|
|
394
525
|
{
|
|
@@ -396,7 +527,7 @@ var historyCommand = lazyCommand(
|
|
|
396
527
|
description: "Print a session's persisted messages as JSON (for host UIs)",
|
|
397
528
|
passThrough: true
|
|
398
529
|
},
|
|
399
|
-
async () => (await import("./host-queries-
|
|
530
|
+
async () => (await import("./host-queries-OJXR2XYT.js")).historyCommand
|
|
400
531
|
);
|
|
401
532
|
var pluginCommand = lazyCommand(
|
|
402
533
|
{
|
|
@@ -404,7 +535,7 @@ var pluginCommand = lazyCommand(
|
|
|
404
535
|
description: "Check a plugin folder, install plugins from folders and files, and list, inspect, update and remove them",
|
|
405
536
|
passThrough: true
|
|
406
537
|
},
|
|
407
|
-
async () => (await import("./plugin-
|
|
538
|
+
async () => (await import("./plugin-RAY3J2G2.js")).pluginCommand
|
|
408
539
|
);
|
|
409
540
|
var extensionCommand = lazyCommand(
|
|
410
541
|
{
|
|
@@ -412,7 +543,7 @@ var extensionCommand = lazyCommand(
|
|
|
412
543
|
description: "Add, read and control extensions: signed programs that list what they ask for",
|
|
413
544
|
passThrough: true
|
|
414
545
|
},
|
|
415
|
-
async () => (await import("./extension-
|
|
546
|
+
async () => (await import("./extension-KJJ7XNR4.js")).extensionCommand
|
|
416
547
|
);
|
|
417
548
|
var hooksCommand = lazyCommand(
|
|
418
549
|
{
|
|
@@ -420,7 +551,7 @@ var hooksCommand = lazyCommand(
|
|
|
420
551
|
description: "Say what runs by itself in a folder: hooks, where from, and whether they are on",
|
|
421
552
|
passThrough: true
|
|
422
553
|
},
|
|
423
|
-
async () => (await import("./hooks-
|
|
554
|
+
async () => (await import("./hooks-IT2ZUPG6.js")).hooksCommand
|
|
424
555
|
);
|
|
425
556
|
var configCommand = lazyCommand(
|
|
426
557
|
{
|
|
@@ -428,7 +559,7 @@ var configCommand = lazyCommand(
|
|
|
428
559
|
description: "List, read and change the settings Desktop shows, in your user config file",
|
|
429
560
|
passThrough: true
|
|
430
561
|
},
|
|
431
|
-
async () => (await import("./config-
|
|
562
|
+
async () => (await import("./config-E6UPAUGU.js")).configCommand
|
|
432
563
|
);
|
|
433
564
|
var skillsCommand = lazyCommand(
|
|
434
565
|
{
|
|
@@ -436,7 +567,7 @@ var skillsCommand = lazyCommand(
|
|
|
436
567
|
description: "List skills available to a working directory",
|
|
437
568
|
passThrough: true
|
|
438
569
|
},
|
|
439
|
-
async () => (await import("./skills-
|
|
570
|
+
async () => (await import("./skills-ELR2D7WU.js")).skillsCommand
|
|
440
571
|
);
|
|
441
572
|
var providersCommand = lazyCommand(
|
|
442
573
|
{
|
|
@@ -444,7 +575,7 @@ var providersCommand = lazyCommand(
|
|
|
444
575
|
description: "List providers and their models",
|
|
445
576
|
passThrough: true
|
|
446
577
|
},
|
|
447
|
-
async () => (await import("./providers-
|
|
578
|
+
async () => (await import("./providers-JA3AF524.js")).providersCommand
|
|
448
579
|
);
|
|
449
580
|
var updateCommand = lazyCommand(
|
|
450
581
|
{
|
|
@@ -452,7 +583,7 @@ var updateCommand = lazyCommand(
|
|
|
452
583
|
description: "Update the active global Namzu installation",
|
|
453
584
|
passThrough: true
|
|
454
585
|
},
|
|
455
|
-
async () => (await import("./update-
|
|
586
|
+
async () => (await import("./update-TYCWQEHZ.js")).updateCommand
|
|
456
587
|
);
|
|
457
588
|
var serveCommand = lazyCommand(
|
|
458
589
|
{
|
|
@@ -461,13 +592,21 @@ var serveCommand = lazyCommand(
|
|
|
461
592
|
},
|
|
462
593
|
async () => (await import("./serve-4VIDXLEB.js")).serveCommand
|
|
463
594
|
);
|
|
595
|
+
var indexCommand = lazyCommand(
|
|
596
|
+
{
|
|
597
|
+
name: "index",
|
|
598
|
+
description: "Inspect or control the semantic code index",
|
|
599
|
+
passThrough: true
|
|
600
|
+
},
|
|
601
|
+
async () => (await import("./index-project-2UUHV7X3.js")).indexCommand
|
|
602
|
+
);
|
|
464
603
|
var stateCommand = lazyCommand(
|
|
465
604
|
{
|
|
466
605
|
name: "state",
|
|
467
606
|
description: "Inspect local Namzu state, or move what an earlier Namzu left in a project",
|
|
468
607
|
passThrough: true
|
|
469
608
|
},
|
|
470
|
-
async () => (await import("./state-
|
|
609
|
+
async () => (await import("./state-EDIR4EM2.js")).stateCommand
|
|
471
610
|
);
|
|
472
611
|
var scheduleCommand = lazyCommand(
|
|
473
612
|
{
|
|
@@ -475,7 +614,7 @@ var scheduleCommand = lazyCommand(
|
|
|
475
614
|
description: "Scheduled jobs that run while namzu is closed, and the service that runs them",
|
|
476
615
|
passThrough: true
|
|
477
616
|
},
|
|
478
|
-
async () => (await import("./schedule-
|
|
617
|
+
async () => (await import("./schedule-LMXNNMAZ.js")).scheduleCommand
|
|
479
618
|
);
|
|
480
619
|
var browserCommand = lazyCommand(
|
|
481
620
|
{
|
|
@@ -483,7 +622,7 @@ var browserCommand = lazyCommand(
|
|
|
483
622
|
description: "Browser profiles for the browser tools: sign in, list, status, install, remove",
|
|
484
623
|
passThrough: true
|
|
485
624
|
},
|
|
486
|
-
async () => (await import("./browser-
|
|
625
|
+
async () => (await import("./browser-DFLZNRRZ.js")).browserCommand
|
|
487
626
|
);
|
|
488
627
|
var githubCommand = lazyCommand(
|
|
489
628
|
{
|
|
@@ -491,7 +630,7 @@ var githubCommand = lazyCommand(
|
|
|
491
630
|
description: "Run Namzu from GitHub Actions: install workflows that answer mentions and review pull requests",
|
|
492
631
|
passThrough: true
|
|
493
632
|
},
|
|
494
|
-
async () => (await import("./github-
|
|
633
|
+
async () => (await import("./github-LMMBAQWI.js")).githubCommand
|
|
495
634
|
);
|
|
496
635
|
function createLazyPalCommand(resumeCommand) {
|
|
497
636
|
return lazyCommand(
|
|
@@ -500,7 +639,7 @@ function createLazyPalCommand(resumeCommand) {
|
|
|
500
639
|
description: "Create and operate persistent Pals with their own local virtual computers",
|
|
501
640
|
passThrough: true
|
|
502
641
|
},
|
|
503
|
-
async () => (await import("./pal-
|
|
642
|
+
async () => (await import("./pal-EANL2OUH.js")).createPalCommand(resumeCommand)
|
|
504
643
|
);
|
|
505
644
|
}
|
|
506
645
|
__name(createLazyPalCommand, "createLazyPalCommand");
|
|
@@ -511,7 +650,7 @@ function createLazyWorktreeCommand(open) {
|
|
|
511
650
|
description: "Create, fork, list and resume managed Git worktrees",
|
|
512
651
|
passThrough: true
|
|
513
652
|
},
|
|
514
|
-
async () => (await import("./worktree-
|
|
653
|
+
async () => (await import("./worktree-O7RSM3PC.js")).createWorktreeCommand(open)
|
|
515
654
|
);
|
|
516
655
|
}
|
|
517
656
|
__name(createLazyWorktreeCommand, "createLazyWorktreeCommand");
|
|
@@ -731,7 +870,8 @@ async function runCli(opts) {
|
|
|
731
870
|
"--from-pr [value]",
|
|
732
871
|
"Open the picker with only the conversations linked to a pull request; a number or address narrows it to that one."
|
|
733
872
|
).hook("preAction", async (command, action) => {
|
|
734
|
-
|
|
873
|
+
if (action === completionCommand) return;
|
|
874
|
+
rt ??= await startupTime("cli_setup.runtime_import", () => import("./cli-runtime-ZKBJFWOI.js"));
|
|
735
875
|
if (action.name() === "resume") {
|
|
736
876
|
for (const option of action.options) {
|
|
737
877
|
const key = option.attributeName();
|
|
@@ -839,7 +979,7 @@ async function runCli(opts) {
|
|
|
839
979
|
}
|
|
840
980
|
if (action.name() === "exec" && command.opts().worktree !== void 0 && !asksForHelp(helpArgv)) {
|
|
841
981
|
const requested = command.opts().worktree;
|
|
842
|
-
const { prepareLaunchWorktree } = await import("./launch-
|
|
982
|
+
const { prepareLaunchWorktree } = await import("./launch-33I3O7VJ.js");
|
|
843
983
|
try {
|
|
844
984
|
printWorktree = await prepareLaunchWorktree(
|
|
845
985
|
process.cwd(),
|
|
@@ -860,11 +1000,12 @@ async function runCli(opts) {
|
|
|
860
1000
|
if (opensSessions(action.name()) && !asksForHelp(helpArgv)) {
|
|
861
1001
|
beginCatalogueRefresh(getBootstrapContext().config);
|
|
862
1002
|
}
|
|
863
|
-
}).enablePositionalOptions(true).exitOverride().showHelpAfterError(false).configureOutput({
|
|
1003
|
+
}).enablePositionalOptions(true).configureHelp({ displayWidth: stringWidth }).exitOverride().showHelpAfterError(false).configureOutput({
|
|
864
1004
|
// Commander's one-line complaint becomes sentences, wrapped, with a way forward.
|
|
865
1005
|
outputError: /* @__PURE__ */ __name((text, write) => write(formatUsageError(text, process.stderr.columns)), "outputError")
|
|
866
1006
|
});
|
|
867
1007
|
addLaunchOptions(program);
|
|
1008
|
+
let execJsonRun = false;
|
|
868
1009
|
const buildContext = /* @__PURE__ */ __name((load) => {
|
|
869
1010
|
const globalOpts = program.opts();
|
|
870
1011
|
const { config: loadedConfig, provenance } = load();
|
|
@@ -896,7 +1037,7 @@ async function runCli(opts) {
|
|
|
896
1037
|
verbose: globalOpts.verbose,
|
|
897
1038
|
quiet: globalOpts.quiet
|
|
898
1039
|
}),
|
|
899
|
-
format: runtime().resolveLogFormat({ logFormat: globalOpts.logFormat })
|
|
1040
|
+
format: execJsonRun ? "json" : runtime().resolveLogFormat({ logFormat: globalOpts.logFormat })
|
|
900
1041
|
};
|
|
901
1042
|
return {
|
|
902
1043
|
formatter: createFormatter(format, { quiet }),
|
|
@@ -1025,6 +1166,7 @@ async function runCli(opts) {
|
|
|
1025
1166
|
providersCommand,
|
|
1026
1167
|
updateCommand,
|
|
1027
1168
|
serveCommand,
|
|
1169
|
+
indexCommand,
|
|
1028
1170
|
stateCommand,
|
|
1029
1171
|
scheduleCommand,
|
|
1030
1172
|
browserCommand,
|
|
@@ -1032,7 +1174,7 @@ async function runCli(opts) {
|
|
|
1032
1174
|
githubCommand
|
|
1033
1175
|
]) {
|
|
1034
1176
|
registerCommandOrLazy(program, def, {
|
|
1035
|
-
getContext: def === learnCommand || def === learningCommand ? getLearningContext : def === stateCommand || def === worktreeCommand || def === mcpCommand || def === archiveCommand || def === debugCommand || def === costCommand ? getRecoveryContext : def === palCommand || def === computerCommand || def === acpCommand || def === execCommand || def === drainCommand || def === skillsCommand || def === hooksCommand || def === configCommand || def === extensionCommand || def === pluginCommand || def === updateCommand || def === scheduleCommand || def === browserCommand || def === githubCommand ? getBootstrapContext : getContext,
|
|
1177
|
+
getContext: def === learnCommand || def === learningCommand ? getLearningContext : def === stateCommand || def === indexCommand || def === worktreeCommand || def === mcpCommand || def === archiveCommand || def === debugCommand || def === costCommand ? getRecoveryContext : def === palCommand || def === computerCommand || def === acpCommand || def === execCommand || def === drainCommand || def === skillsCommand || def === hooksCommand || def === configCommand || def === extensionCommand || def === pluginCommand || def === updateCommand || def === scheduleCommand || def === browserCommand || def === githubCommand ? getBootstrapContext : getContext,
|
|
1036
1178
|
setExitCode
|
|
1037
1179
|
});
|
|
1038
1180
|
}
|
|
@@ -1058,7 +1200,7 @@ async function runCli(opts) {
|
|
|
1058
1200
|
setExitCode(EX_USAGE);
|
|
1059
1201
|
return;
|
|
1060
1202
|
}
|
|
1061
|
-
const { prepareLaunchWorktree, LaunchWorktreeError } = await import("./launch-
|
|
1203
|
+
const { prepareLaunchWorktree, LaunchWorktreeError } = await import("./launch-33I3O7VJ.js");
|
|
1062
1204
|
let target;
|
|
1063
1205
|
try {
|
|
1064
1206
|
target = await prepareLaunchWorktree(
|
|
@@ -1091,8 +1233,8 @@ async function runCli(opts) {
|
|
|
1091
1233
|
let conversationId = initialConversationId;
|
|
1092
1234
|
let openResumePicker = pickConversation ? {} : void 0;
|
|
1093
1235
|
if (conversationId === void 0 && (launchOpts.continue || launchOpts.resume !== void 0 || launchOpts.fromPr !== void 0)) {
|
|
1094
|
-
const { resolveTuiResume } = await import("./resume-
|
|
1095
|
-
const { openSessions, closeSessions } = await import("./store-
|
|
1236
|
+
const { resolveTuiResume } = await import("./resume-W4JBH2A7.js");
|
|
1237
|
+
const { openSessions, closeSessions } = await import("./store-ADMKKWZF.js");
|
|
1096
1238
|
let sessions = null;
|
|
1097
1239
|
try {
|
|
1098
1240
|
sessions = await openSessions(process.cwd());
|
|
@@ -1125,7 +1267,7 @@ async function runCli(opts) {
|
|
|
1125
1267
|
...outcome.pr === void 0 ? {} : { pr: outcome.pr }
|
|
1126
1268
|
};
|
|
1127
1269
|
}
|
|
1128
|
-
const structuredOutput = launchOpts.outputSchema ? (await import("./output-schema-
|
|
1270
|
+
const structuredOutput = launchOpts.outputSchema ? (await import("./output-schema-2NSAYRBS.js")).loadOutputSchema(
|
|
1129
1271
|
resolve(process.cwd(), launchOpts.outputSchema)
|
|
1130
1272
|
) : void 0;
|
|
1131
1273
|
if (launchOpts.maxBudgetUsd !== void 0) {
|
|
@@ -1187,8 +1329,8 @@ async function runCli(opts) {
|
|
|
1187
1329
|
const provider = (launchOpts.provider ?? modelEnvironment.provider)?.trim();
|
|
1188
1330
|
let launchAccount;
|
|
1189
1331
|
if (launchOpts.account !== void 0) {
|
|
1190
|
-
const { openCliAccounts } = await import("./open-
|
|
1191
|
-
const { findAccountByName } = await import("./binding-
|
|
1332
|
+
const { openCliAccounts } = await import("./open-A4H4HWGO.js");
|
|
1333
|
+
const { findAccountByName } = await import("./binding-OXJ5TL6T.js");
|
|
1192
1334
|
let found;
|
|
1193
1335
|
try {
|
|
1194
1336
|
found = findAccountByName(openCliAccounts().registry, launchOpts.account);
|
|
@@ -1242,7 +1384,7 @@ async function runCli(opts) {
|
|
|
1242
1384
|
setExitCode(EX_USAGE);
|
|
1243
1385
|
return;
|
|
1244
1386
|
}
|
|
1245
|
-
const { sessionOptionsFromConfig } = await import("./session-options-
|
|
1387
|
+
const { sessionOptionsFromConfig } = await import("./session-options-ODKOXNAT.js");
|
|
1246
1388
|
const buildTuiContext = /* @__PURE__ */ __name((resolvedCtx, cwd) => {
|
|
1247
1389
|
applyPromptSettings(promptSettingsFromOptions(resolvedCtx.config));
|
|
1248
1390
|
const launchMcp = runtime().launchMcpServers(
|
|
@@ -1357,6 +1499,7 @@ async function runCli(opts) {
|
|
|
1357
1499
|
...resolvedCtx.config.respectGitignore === false ? { respectGitignore: false } : {},
|
|
1358
1500
|
...resolvedCtx.config.sandbox ? { sandbox: resolvedCtx.config.sandbox } : {},
|
|
1359
1501
|
...resolvedCtx.config.decision ? { decision: resolvedCtx.config.decision } : {},
|
|
1502
|
+
...resolvedCtx.config.semanticSearch ? { semanticSearch: resolvedCtx.config.semanticSearch } : {},
|
|
1360
1503
|
...resolvedCtx.config.codeAnalysis ? { codeAnalysis: resolvedCtx.config.codeAnalysis } : {},
|
|
1361
1504
|
...resolvedCtx.config.imageGeneration ? { imageGeneration: resolvedCtx.config.imageGeneration } : {},
|
|
1362
1505
|
readTeams: /* @__PURE__ */ __name(() => refreshTrustedProjectContext(commandCtx, cwd).config.teams, "readTeams"),
|
|
@@ -1387,7 +1530,7 @@ async function runCli(opts) {
|
|
|
1387
1530
|
...resolvedCtx.config.updates ? { updates: resolvedCtx.config.updates } : {}
|
|
1388
1531
|
};
|
|
1389
1532
|
}, "buildTuiContext");
|
|
1390
|
-
void import("./windows-home-
|
|
1533
|
+
void import("./windows-home-IZGCRSW7.js").then((mod) => mod.primeWindowsHome()).catch(() => void 0);
|
|
1391
1534
|
const tuiCtx = buildTuiContext(commandCtx, process.cwd());
|
|
1392
1535
|
bindTrustedProjectContext(
|
|
1393
1536
|
tuiCtx,
|
|
@@ -1395,7 +1538,7 @@ async function runCli(opts) {
|
|
|
1395
1538
|
);
|
|
1396
1539
|
const { launchTui } = await startupTime(
|
|
1397
1540
|
"cli_setup.tui_import",
|
|
1398
|
-
() => import("./tui-
|
|
1541
|
+
() => import("./tui-AKXFDXNZ.js")
|
|
1399
1542
|
);
|
|
1400
1543
|
startupSince("cli_setup", "main");
|
|
1401
1544
|
flushCompileCacheWhenIdle();
|
|
@@ -1424,7 +1567,7 @@ async function runCli(opts) {
|
|
|
1424
1567
|
await launchInteractiveTui(void 0, true);
|
|
1425
1568
|
return;
|
|
1426
1569
|
}
|
|
1427
|
-
const { scheduledSessionElsewhere } = await import("./resume-command-
|
|
1570
|
+
const { scheduledSessionElsewhere } = await import("./resume-command-J3VONMB5.js");
|
|
1428
1571
|
const elsewhere = scheduledSessionElsewhere(
|
|
1429
1572
|
runtime().resolveNamzuHome(),
|
|
1430
1573
|
conversationId,
|
|
@@ -1442,6 +1585,7 @@ async function runCli(opts) {
|
|
|
1442
1585
|
await launchInteractiveTui(conversationId);
|
|
1443
1586
|
});
|
|
1444
1587
|
program.command("help").description("Show help for a command: namzu help <command> [action...]").argument("[command]").argument("[action...]");
|
|
1588
|
+
const completionCommand = registerCompletion(program);
|
|
1445
1589
|
program.action(async (prompt) => {
|
|
1446
1590
|
const hidden = program.opts().message;
|
|
1447
1591
|
const given = [prompt, hidden, promptAfterDashes].filter((text) => text !== void 0);
|
|
@@ -1466,6 +1610,7 @@ async function runCli(opts) {
|
|
|
1466
1610
|
const hoisted = hoistExecLaunchFlags(program, argv.slice(2));
|
|
1467
1611
|
if (hoisted !== void 0) argv = [...argv.slice(0, 2), ...hoisted];
|
|
1468
1612
|
}
|
|
1613
|
+
execJsonRun = runsExecJson(program, argv.slice(2));
|
|
1469
1614
|
try {
|
|
1470
1615
|
const helpOf = helpTarget(program, argv);
|
|
1471
1616
|
argv = [...rewriteHelpCommand(program, argv)];
|
|
@@ -1510,7 +1655,7 @@ namzu will not start with an explicit config value it cannot honour. ${remediati
|
|
|
1510
1655
|
);
|
|
1511
1656
|
return EXIT_BAD_CONFIG;
|
|
1512
1657
|
}
|
|
1513
|
-
const { reportCrash } = await import("./crash-report-
|
|
1658
|
+
const { reportCrash } = await import("./crash-report-J47RFQ5T.js");
|
|
1514
1659
|
process.stderr.write(reportCrash(err));
|
|
1515
1660
|
return EXIT_INTERNAL_ERROR;
|
|
1516
1661
|
} finally {
|
|
@@ -1605,6 +1750,17 @@ function hoistExecLaunchFlags(program, args) {
|
|
|
1605
1750
|
return [...before, ...moved, "exec", ...carried, ...kept, ...end === -1 ? [] : args.slice(end)];
|
|
1606
1751
|
}
|
|
1607
1752
|
__name(hoistExecLaunchFlags, "hoistExecLaunchFlags");
|
|
1753
|
+
function runsExecJson(program, args) {
|
|
1754
|
+
const end = args.indexOf("--");
|
|
1755
|
+
const head = end === -1 ? args : args.slice(0, end);
|
|
1756
|
+
const at = firstRootOperandIndex(program, head);
|
|
1757
|
+
if (at === void 0 || head[at] !== "exec") return false;
|
|
1758
|
+
const rest = head.slice(at + 1);
|
|
1759
|
+
return rest.some(
|
|
1760
|
+
(arg, i) => arg === "--json" || arg === "--output-format=stream-json" || arg === "--output-format" && rest[i + 1] === "stream-json"
|
|
1761
|
+
);
|
|
1762
|
+
}
|
|
1763
|
+
__name(runsExecJson, "runsExecJson");
|
|
1608
1764
|
function isCommandName(program, name) {
|
|
1609
1765
|
return program.commands.some(
|
|
1610
1766
|
(command) => command.name() === name || command.aliases().includes(name)
|
|
@@ -1724,4 +1880,4 @@ export {
|
|
|
1724
1880
|
registerAll,
|
|
1725
1881
|
runCli
|
|
1726
1882
|
};
|
|
1727
|
-
//# sourceMappingURL=chunk-
|
|
1883
|
+
//# sourceMappingURL=chunk-RBRBYXJX.js.map
|