@namzu/cli 57.1.0 → 59.0.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 +247 -0
- package/README.md +5 -5
- package/dist/bin-main.d.ts.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/boot-narrative.d.ts.map +1 -1
- package/dist/browser/control.d.ts +19 -2
- package/dist/browser/control.d.ts.map +1 -1
- package/dist/chunks/{acp-DEH76VXL.js → acp-AQUZCZSO.js} +581 -212
- package/dist/chunks/acp-AQUZCZSO.js.map +6 -0
- package/dist/chunks/{activity-command-GETWRD67.js → activity-command-Y3A6GIFW.js} +14 -15
- package/dist/chunks/activity-command-Y3A6GIFW.js.map +6 -0
- package/dist/chunks/{add-XFYJ6UZE.js → add-DWFKSOYI.js} +42 -38
- package/dist/chunks/add-DWFKSOYI.js.map +6 -0
- package/dist/chunks/{agent-FW4VC2AF.js → agent-Z6PJYBAO.js} +63 -48
- package/dist/chunks/agent-session-WXWW7E5M.js +92 -0
- package/dist/chunks/{apply-at-exit-OU2UXZCF.js → apply-at-exit-SHGR2BAB.js} +9 -9
- package/dist/chunks/{apply-at-exit-OU2UXZCF.js.map → apply-at-exit-SHGR2BAB.js.map} +1 -1
- package/dist/chunks/{archive-PA5MDKXC.js → archive-KYXU4AZZ.js} +16 -13
- package/dist/chunks/archive-KYXU4AZZ.js.map +6 -0
- package/dist/chunks/auth-R3RCZZ7U.js +242 -0
- package/dist/chunks/auth-R3RCZZ7U.js.map +6 -0
- package/dist/chunks/{bin-main-RH4NLAPK.js → bin-main-DUZFYUCJ.js} +51 -23
- package/dist/chunks/bin-main-DUZFYUCJ.js.map +6 -0
- package/dist/chunks/{binding-ON644UJ3.js → binding-5UJYMFMU.js} +3 -3
- package/dist/chunks/browser-7CFZ6BZS.js +76 -0
- package/dist/chunks/browser-7CFZ6BZS.js.map +6 -0
- package/dist/chunks/{chat-UNZSJZ6U.js → chat-BELD32ZP.js} +17 -18
- package/dist/chunks/chat-BELD32ZP.js.map +6 -0
- package/dist/chunks/{chunk-IMXTM75Q.js → chunk-23D5IXMW.js} +3 -3
- package/dist/chunks/{chunk-PYYDU2BC.js → chunk-24EZWZDZ.js} +6 -6
- package/dist/chunks/{chunk-WDROVY6V.js → chunk-2EVP6BX4.js} +2 -2
- package/dist/chunks/{chunk-M4XYHIA3.js → chunk-2KC52MDS.js} +2 -2
- package/dist/chunks/{chunk-GVWDNFIP.js → chunk-2VP2Q657.js} +3 -3
- package/dist/chunks/{chunk-Z6LUWKV4.js → chunk-3ETXWTV4.js} +8 -8
- package/dist/chunks/{chunk-3Z5OXTDI.js → chunk-3PH6F6Z3.js} +3 -3
- package/dist/chunks/{chunk-7T56MZIJ.js → chunk-3RLKUXXG.js} +24 -23
- package/dist/chunks/{chunk-7T56MZIJ.js.map → chunk-3RLKUXXG.js.map} +1 -1
- package/dist/chunks/{chunk-6MQHDX7R.js → chunk-44MFZJ24.js} +32 -5
- package/dist/chunks/chunk-44MFZJ24.js.map +6 -0
- package/dist/chunks/{chunk-LGPOJEZK.js → chunk-4BAXYUZQ.js} +51 -17
- package/dist/chunks/chunk-4BAXYUZQ.js.map +6 -0
- package/dist/chunks/{chunk-GWLUXO4O.js → chunk-4RW7GDJ4.js} +2 -2
- package/dist/chunks/{chunk-PJF46DI6.js → chunk-4TIUY3Q6.js} +15 -5
- package/dist/chunks/chunk-4TIUY3Q6.js.map +6 -0
- package/dist/chunks/{chunk-NP4BQ7SB.js → chunk-4TJ7AGQO.js} +2 -2
- package/dist/chunks/{chunk-Y62WSR5N.js → chunk-567CSU37.js} +8 -8
- package/dist/chunks/{chunk-DGV6YSAW.js → chunk-5HMJ3DYR.js} +4 -4
- package/dist/chunks/{chunk-6CI5CHBT.js → chunk-5JVKE4LB.js} +7765 -2889
- package/dist/chunks/chunk-5JVKE4LB.js.map +6 -0
- package/dist/chunks/chunk-5OYJXSMZ.js +34 -0
- package/dist/chunks/chunk-5OYJXSMZ.js.map +6 -0
- package/dist/chunks/{chunk-DT6PTS6H.js → chunk-6CSJRIUZ.js} +3 -3
- package/dist/chunks/{chunk-HEFLKPCT.js → chunk-6IOZY2AB.js} +41 -7
- package/dist/chunks/chunk-6IOZY2AB.js.map +6 -0
- package/dist/chunks/{chunk-R37C3PDS.js → chunk-6YXHH5JW.js} +5 -5
- package/dist/chunks/{chunk-R37C3PDS.js.map → chunk-6YXHH5JW.js.map} +1 -1
- package/dist/chunks/chunk-73HWWJYC.js +130 -0
- package/dist/chunks/chunk-73HWWJYC.js.map +6 -0
- package/dist/chunks/{chunk-5YTGRS7U.js → chunk-7J23SPSX.js} +7 -7
- package/dist/chunks/{chunk-LDU7AFNZ.js → chunk-7LDUPEXP.js} +25 -6
- package/dist/chunks/chunk-7LDUPEXP.js.map +6 -0
- package/dist/chunks/chunk-7Y4RR47U.js +197 -0
- package/dist/chunks/chunk-7Y4RR47U.js.map +6 -0
- package/dist/chunks/{chunk-SIG7WHBU.js → chunk-7YC42EXB.js} +5 -1
- package/dist/chunks/{chunk-SIG7WHBU.js.map → chunk-7YC42EXB.js.map} +1 -1
- package/dist/chunks/{chunk-ORSFP3ZC.js → chunk-ABKURT35.js} +36 -12
- package/dist/chunks/{chunk-ORSFP3ZC.js.map → chunk-ABKURT35.js.map} +1 -1
- package/dist/chunks/{chunk-SM6UI33D.js → chunk-ACO3LTRT.js} +8 -4
- package/dist/chunks/{chunk-SM6UI33D.js.map → chunk-ACO3LTRT.js.map} +1 -1
- package/dist/chunks/{chunk-SKFBM6OJ.js → chunk-AEXGGJUW.js} +5 -5
- package/dist/chunks/{chunk-BXAUUC2B.js → chunk-AIQKSTVJ.js} +4 -4
- package/dist/chunks/{chunk-6IWJ6JC6.js → chunk-ATCVFWXD.js} +476 -135
- package/dist/chunks/chunk-ATCVFWXD.js.map +6 -0
- package/dist/chunks/{chunk-3HT7FQNG.js → chunk-CEZW3NVM.js} +4 -4
- package/dist/chunks/{chunk-KUIATFLN.js → chunk-CG5CGXNF.js} +2 -2
- package/dist/chunks/{chunk-HENM67TJ.js → chunk-CNSKJ3DZ.js} +2 -2
- package/dist/chunks/{chunk-W6UOMYDX.js → chunk-CQFWLYTK.js} +2 -2
- package/dist/chunks/{chunk-DMHE6X3Y.js → chunk-D35UCVTK.js} +12 -40
- package/dist/chunks/chunk-D35UCVTK.js.map +6 -0
- package/dist/chunks/{chunk-FNEQ77RJ.js → chunk-D3SCA6NT.js} +102 -5
- package/dist/chunks/chunk-D3SCA6NT.js.map +6 -0
- package/dist/chunks/{chunk-7BF4FLOP.js → chunk-D6XZ4ZAV.js} +76 -17
- package/dist/chunks/chunk-D6XZ4ZAV.js.map +6 -0
- package/dist/chunks/{chunk-M5LA652U.js → chunk-DGYMR4WJ.js} +4 -4
- package/dist/chunks/{chunk-ABELB4VO.js → chunk-DJKWBSVM.js} +2 -2
- package/dist/chunks/{chunk-HIHHTWEU.js → chunk-DJTCZSSY.js} +2 -2
- package/dist/chunks/{chunk-VV6DYTFU.js → chunk-DKSFQRUM.js} +5 -5
- package/dist/chunks/{chunk-ETBXU3OK.js → chunk-DRWJTADQ.js} +6 -6
- package/dist/chunks/{chunk-ETBXU3OK.js.map → chunk-DRWJTADQ.js.map} +1 -1
- package/dist/chunks/{chunk-SHFB4DZP.js → chunk-E4RVHFV6.js} +2 -2
- package/dist/chunks/{chunk-NV7RJBWA.js → chunk-E65IWYTT.js} +6 -6
- package/dist/chunks/{chunk-N4YYJGMW.js → chunk-E6FMAE5Q.js} +11 -10
- package/dist/chunks/{chunk-N4YYJGMW.js.map → chunk-E6FMAE5Q.js.map} +1 -1
- package/dist/chunks/{chunk-PI5ZZQVH.js → chunk-EA6YICQ7.js} +3 -3
- package/dist/chunks/{chunk-JR6EFL7G.js → chunk-EGGO56FY.js} +2 -1
- package/dist/chunks/{chunk-TBKSDYS4.js → chunk-ESIICAI3.js} +3 -3
- package/dist/chunks/{chunk-MOMSIAV4.js → chunk-FEOS7UZ2.js} +2 -2
- package/dist/chunks/{chunk-AZXIYYVX.js → chunk-FK5C7SHM.js} +172 -34
- package/dist/chunks/chunk-FK5C7SHM.js.map +6 -0
- package/dist/chunks/{chunk-JDWCVWIQ.js → chunk-FMQCPAKR.js} +3 -3
- package/dist/chunks/{chunk-2JFRYOBC.js → chunk-FRGOWO6N.js} +11 -9
- package/dist/chunks/chunk-FRGOWO6N.js.map +6 -0
- package/dist/chunks/{chunk-2AEWJA4Y.js → chunk-G5LPTLLY.js} +4 -4
- package/dist/chunks/{chunk-2AEWJA4Y.js.map → chunk-G5LPTLLY.js.map} +1 -1
- package/dist/chunks/chunk-G76POTWW.js +188 -0
- package/dist/chunks/chunk-G76POTWW.js.map +6 -0
- package/dist/chunks/{chunk-2ZPB4ZBP.js → chunk-GEVWZWLM.js} +3 -3
- package/dist/chunks/chunk-GQ6WXY3M.js +435 -0
- package/dist/chunks/chunk-GQ6WXY3M.js.map +6 -0
- package/dist/chunks/{chunk-5ZPCQ2HL.js → chunk-GUK47JTV.js} +21 -7
- package/dist/chunks/chunk-GUK47JTV.js.map +6 -0
- package/dist/chunks/{chunk-4DNEDLBT.js → chunk-HGTOAMV6.js} +2444 -1383
- package/dist/chunks/chunk-HGTOAMV6.js.map +6 -0
- package/dist/chunks/{chunk-WSQAVWIV.js → chunk-HW2QBNAA.js} +13 -13
- package/dist/chunks/{chunk-ZR3VZG37.js → chunk-IJ6Z6FNY.js} +7 -186
- package/dist/chunks/chunk-IJ6Z6FNY.js.map +6 -0
- package/dist/chunks/{chunk-DOLGKZC5.js → chunk-IRAG3YXW.js} +5 -3
- package/dist/chunks/{chunk-77AYLILT.js → chunk-J5E4DV6R.js} +3 -3
- package/dist/chunks/{chunk-6TCZN54R.js → chunk-JPM3JXZB.js} +3 -3
- package/dist/chunks/{chunk-6BTNPDXR.js → chunk-JRWUIW4J.js} +2 -2
- package/dist/chunks/{chunk-3EH4PF5T.js → chunk-JUDJGDYX.js} +228 -5
- package/dist/chunks/chunk-JUDJGDYX.js.map +6 -0
- package/dist/chunks/chunk-JZTTOZRG.js +167 -0
- package/dist/chunks/chunk-JZTTOZRG.js.map +6 -0
- package/dist/chunks/{chunk-CKYGPQVJ.js → chunk-KBLYZ7L7.js} +3 -3
- package/dist/chunks/{chunk-6MGRBXCW.js → chunk-KETRBV2E.js} +2 -2
- package/dist/chunks/{chunk-C7ZKC7HY.js → chunk-KHGY6QJR.js} +160 -19
- package/dist/chunks/chunk-KHGY6QJR.js.map +6 -0
- package/dist/chunks/{chunk-RSO4LBHJ.js → chunk-KPOOM7QT.js} +7 -7
- package/dist/chunks/{chunk-WCAKWRZU.js → chunk-KVNL7XA6.js} +3 -3
- package/dist/chunks/{chunk-4LSSJKYK.js → chunk-LB4HC5U7.js} +19 -4
- package/dist/chunks/{chunk-4LSSJKYK.js.map → chunk-LB4HC5U7.js.map} +1 -1
- package/dist/chunks/{chunk-4PFTZNS5.js → chunk-LWJJDERP.js} +3 -3
- package/dist/chunks/{chunk-2P2PDEZJ.js → chunk-LXJW3ZYI.js} +24 -16
- package/dist/chunks/chunk-LXJW3ZYI.js.map +6 -0
- package/dist/chunks/{chunk-LGVEASS7.js → chunk-MDBUSIPW.js} +9 -8
- package/dist/chunks/{chunk-LGVEASS7.js.map → chunk-MDBUSIPW.js.map} +1 -1
- package/dist/chunks/{chunk-763RT6Z5.js → chunk-MDVYEFTI.js} +2 -2
- package/dist/chunks/{chunk-DROVNI2Y.js → chunk-MF57EX7H.js} +3 -3
- package/dist/chunks/{chunk-J6QCR3SC.js → chunk-MF5KTVGJ.js} +15 -15
- package/dist/chunks/{chunk-XF243FQN.js → chunk-MRZHTIE7.js} +21 -6
- package/dist/chunks/chunk-MRZHTIE7.js.map +6 -0
- package/dist/chunks/{chunk-S7YXINNY.js → chunk-O2PZDA5H.js} +3 -3
- package/dist/chunks/{chunk-PK7M7VIU.js → chunk-OA7QKUCM.js} +13 -13
- package/dist/chunks/{chunk-MY6JV4BT.js → chunk-OH7EYW3T.js} +7 -9
- package/dist/chunks/chunk-OH7EYW3T.js.map +6 -0
- package/dist/chunks/{chunk-GJ6NI7JL.js → chunk-OOJP5BEK.js} +408 -50
- package/dist/chunks/chunk-OOJP5BEK.js.map +6 -0
- package/dist/chunks/{chunk-JCH7IWMU.js → chunk-OQWLQUO7.js} +3680 -877
- package/dist/chunks/chunk-OQWLQUO7.js.map +6 -0
- package/dist/chunks/{chunk-LXK7S2I2.js → chunk-OSC47PCX.js} +157 -11
- package/dist/chunks/chunk-OSC47PCX.js.map +6 -0
- package/dist/chunks/{chunk-ZDGKFGVE.js → chunk-P4TCLMD6.js} +2 -2
- package/dist/chunks/{chunk-WYBLTKBR.js → chunk-P725GKKG.js} +17 -20
- package/dist/chunks/{chunk-WYBLTKBR.js.map → chunk-P725GKKG.js.map} +1 -1
- package/dist/chunks/{chunk-IZYYWNP2.js → chunk-PFVYYH6O.js} +2 -2
- package/dist/chunks/{chunk-RP5HOVOW.js → chunk-PKFXIWVX.js} +4 -4
- package/dist/chunks/{chunk-ZWP5L7BV.js → chunk-PQT7624W.js} +8 -8
- package/dist/chunks/{chunk-DRKCWJPR.js → chunk-Q6PZODSV.js} +26 -13
- package/dist/chunks/chunk-Q6PZODSV.js.map +6 -0
- package/dist/chunks/{chunk-FEP2R3XI.js → chunk-QTHG6UPU.js} +2 -2
- package/dist/chunks/{chunk-MMJ6UURB.js → chunk-QZTTIL3A.js} +3 -3
- package/dist/chunks/chunk-RHJOIAFS.js +201 -0
- package/dist/chunks/chunk-RHJOIAFS.js.map +6 -0
- package/dist/chunks/{chunk-LWAGZIEA.js → chunk-RZKIZTPA.js} +2 -2
- package/dist/chunks/{chunk-QTQIHFYH.js → chunk-S7FE35WQ.js} +3 -3
- package/dist/chunks/{chunk-233CEYFX.js → chunk-SS6IJAPA.js} +2 -2
- package/dist/chunks/chunk-SSPHAILP.js +39 -0
- package/dist/chunks/chunk-SSPHAILP.js.map +6 -0
- package/dist/chunks/{chunk-5C6XCI24.js → chunk-TORIEDBN.js} +4 -4
- package/dist/chunks/{chunk-6E4TDPXP.js → chunk-TP7DRQXE.js} +25 -7
- package/dist/chunks/chunk-TP7DRQXE.js.map +6 -0
- package/dist/chunks/{chunk-OZ55WTNZ.js → chunk-TRRKG642.js} +3 -3
- package/dist/chunks/{dist-NUCTP67R.js → chunk-TYNAB5GR.js} +351 -46
- package/dist/chunks/chunk-TYNAB5GR.js.map +6 -0
- package/dist/chunks/{chunk-D5N3SDNF.js → chunk-UFGLSUGU.js} +25 -25
- package/dist/chunks/{list-2QV773EI.js → chunk-UL6MZ5OM.js} +87 -60
- package/dist/chunks/chunk-UL6MZ5OM.js.map +6 -0
- package/dist/chunks/{chunk-RYLQH5BB.js → chunk-VE4XIWDW.js} +3 -3
- package/dist/chunks/{chunk-GPP4OXHP.js → chunk-VJHENTNB.js} +2 -2
- package/dist/chunks/{chunk-3ZHOM2L7.js → chunk-VL6Z2OMG.js} +15 -63
- package/dist/chunks/chunk-VL6Z2OMG.js.map +6 -0
- package/dist/chunks/{chunk-6TF24TFD.js → chunk-VSNV3U2B.js} +57 -9
- package/dist/chunks/chunk-VSNV3U2B.js.map +6 -0
- package/dist/chunks/{chunk-PPCKNQOQ.js → chunk-W4S4ZBXX.js} +15 -11
- package/dist/chunks/chunk-W4S4ZBXX.js.map +6 -0
- package/dist/chunks/{chunk-AF2QPFEQ.js → chunk-W752G3FM.js} +3 -3
- package/dist/chunks/{chunk-REYJHS2X.js → chunk-WGC5DJEW.js} +106 -108
- package/dist/chunks/chunk-WGC5DJEW.js.map +6 -0
- package/dist/chunks/{chunk-FSAI4GDZ.js → chunk-WSDZIJNK.js} +11 -5
- package/dist/chunks/chunk-WSDZIJNK.js.map +6 -0
- package/dist/chunks/chunk-WW3AU2YN.js +220 -0
- package/dist/chunks/chunk-WW3AU2YN.js.map +6 -0
- package/dist/chunks/{chunk-UILPXAKQ.js → chunk-WXYRLTRY.js} +37 -14
- package/dist/chunks/chunk-WXYRLTRY.js.map +6 -0
- package/dist/chunks/{chunk-BFYETM56.js → chunk-XJALHM5Z.js} +91 -6
- package/dist/chunks/chunk-XJALHM5Z.js.map +6 -0
- package/dist/chunks/{chunk-4E2REC5O.js → chunk-XLXPPVUT.js} +2 -2
- package/dist/chunks/{chunk-BJQ7WFWL.js → chunk-XVOPQCPD.js} +35 -3
- package/dist/chunks/chunk-XVOPQCPD.js.map +6 -0
- package/dist/chunks/{chunk-NOHH27YE.js → chunk-YNWPC3HO.js} +5 -5
- package/dist/chunks/{chunk-ICIVSMA3.js → chunk-ZQGCZYAE.js} +2 -2
- package/dist/chunks/{cli-runtime-66YC7XKZ.js → cli-runtime-P6LCHPBA.js} +35 -20
- package/dist/chunks/cli-runtime-P6LCHPBA.js.map +6 -0
- package/dist/chunks/{commands-R6WIMNZG.js → commands-BNHIQVYO.js} +6 -6
- package/dist/chunks/{computer-FQRWTC6M.js → computer-6P3GAOV2.js} +15 -7
- package/dist/chunks/computer-6P3GAOV2.js.map +6 -0
- package/dist/chunks/{config-BWAJ7XDA.js → config-ZMXMX2WY.js} +20 -17
- package/dist/chunks/config-ZMXMX2WY.js.map +6 -0
- package/dist/chunks/{cost-MVUQ3UWP.js → cost-BJKADKEZ.js} +5 -5
- package/dist/chunks/{crash-report-ASOVDFQT.js → crash-report-OJHGVRD7.js} +6 -6
- package/dist/chunks/{dist-6BE2BTVP.js → dist-43XWK3LF.js} +2 -2
- package/dist/chunks/dist-4LEGETQA.js +52 -0
- package/dist/chunks/{dist-ZPPSUKEG.js → dist-4ZPDHZOX.js} +150 -2
- package/dist/chunks/{dist-SQYPEQ4A.js → dist-ADQAO5C3.js} +2 -2
- package/dist/chunks/{dist-DOHBDUFC.js → dist-BGJEX527.js} +2 -2
- package/dist/chunks/{dist-ERFNYYTR.js → dist-FMFNU4M3.js} +2 -2
- package/dist/chunks/{dist-IYSARJ7B.js → dist-NCBDELMI.js} +2 -2
- package/dist/chunks/{dist-UTQTSM32.js → dist-PMSBTFU5.js} +10 -2
- package/dist/chunks/{dist-UTQTSM32.js.map → dist-PMSBTFU5.js.map} +1 -1
- package/dist/chunks/{doctor-J2BRJDVI.js → doctor-AIYB27QY.js} +42 -41
- package/dist/chunks/{drain-TGBUG6MO.js → drain-PYKX4QNR.js} +20 -19
- package/dist/chunks/{drain-TGBUG6MO.js.map → drain-PYKX4QNR.js.map} +1 -1
- package/dist/chunks/{entry-7QM6GODJ.js → entry-HM5E7KCD.js} +6 -6
- package/dist/chunks/{eval-274GGZ3M.js → eval-H4NKZYVV.js} +12 -12
- package/dist/chunks/{eval-274GGZ3M.js.map → eval-H4NKZYVV.js.map} +1 -1
- package/dist/chunks/{exec-QOH5FQCM.js → exec-2PRVZNUX.js} +174 -65
- package/dist/chunks/exec-2PRVZNUX.js.map +6 -0
- package/dist/chunks/{extension-Y52E4FZR.js → extension-4233XOZW.js} +5 -5
- package/dist/chunks/{github-X352BD5R.js → github-IF3JVVJF.js} +5 -1
- package/dist/chunks/github-IF3JVVJF.js.map +6 -0
- package/dist/chunks/{home-OGOBLYWY.js → home-AZY7APF6.js} +3 -3
- package/dist/chunks/homes-WL6LAAY5.js +24 -0
- package/dist/chunks/{hooks-C6WM34FA.js → hooks-AK5S4YUS.js} +22 -22
- package/dist/chunks/{hooks-report-FCLN3ERK.js → hooks-report-NJLGBWN3.js} +18 -18
- package/dist/chunks/{host-FUPSAICG.js → host-SX3QC5FN.js} +10 -10
- package/dist/chunks/host-queries-HBW7AW44.js +37 -0
- package/dist/chunks/{installed-list-3Z2UYHZL.js → installed-list-44QXUJFE.js} +4 -4
- package/dist/chunks/{learn-EXNQYLI3.js → learn-LW4DLSGZ.js} +18 -18
- package/dist/chunks/{learn-builtin-C4ZAVNHA.js → learn-builtin-4RV2XDH4.js} +23 -22
- package/dist/chunks/{learn-builtin-C4ZAVNHA.js.map → learn-builtin-4RV2XDH4.js.map} +1 -1
- package/dist/chunks/{lifecycle-4ZRBSEP2.js → lifecycle-AJCHTSAF.js} +34 -34
- package/dist/chunks/list-DT7AJVPX.js +56 -0
- package/dist/chunks/{live-33QEKVAM.js → live-Z6HZFXPW.js} +41 -40
- package/dist/chunks/{load-SYMNQIDR.js → load-454TJBPW.js} +12 -10
- package/dist/chunks/{logs-IW7PYTI2.js → logs-GRUSUSL7.js} +5 -5
- package/dist/chunks/{mcp-HP3YRE3U.js → mcp-AFLRDYNN.js} +449 -61
- package/dist/chunks/mcp-AFLRDYNN.js.map +6 -0
- package/dist/chunks/mcp-serve-NNWP4IES.js +311 -0
- package/dist/chunks/mcp-serve-NNWP4IES.js.map +6 -0
- package/dist/chunks/{message-command-IFQSBBI5.js → message-command-ZR2JQBBU.js} +59 -54
- package/dist/chunks/message-command-ZR2JQBBU.js.map +6 -0
- package/dist/chunks/{open-3GVSPGUF.js → open-Z3BELFL7.js} +7 -7
- package/dist/chunks/{operator-tools-HT7UNWNK.js → operator-tools-PN3SPQ3C.js} +15 -16
- package/dist/chunks/operator-tools-PN3SPQ3C.js.map +6 -0
- package/dist/chunks/{output-schema-MKFI5PWR.js → output-schema-DSR56W6A.js} +3 -3
- package/dist/chunks/{pal-6KB3D324.js → pal-ZOH5ILEV.js} +150 -15
- package/dist/chunks/pal-ZOH5ILEV.js.map +6 -0
- package/dist/chunks/{peers-CGTVWK6B.js → peers-LXNB4QSL.js} +7 -7
- package/dist/chunks/{peers-4M45XTZO.js → peers-WINODTEB.js} +216 -34
- package/dist/chunks/peers-WINODTEB.js.map +6 -0
- package/dist/chunks/{plugin-FIVP6MGJ.js → plugin-MLHZ42NZ.js} +23 -18
- package/dist/chunks/plugin-MLHZ42NZ.js.map +6 -0
- package/dist/chunks/{providers-Z3KLRJDW.js → providers-AVECY67I.js} +10 -10
- package/dist/chunks/{providers-6634CTX7.js → providers-UOTUEQOJ.js} +22 -19
- package/dist/chunks/providers-UOTUEQOJ.js.map +6 -0
- package/dist/chunks/{pty-GMA24QAT.js → pty-GW2YC23H.js} +3 -3
- package/dist/chunks/resume-AYWSKWEX.js +25 -0
- package/dist/chunks/{resume-command-MXUIVG6T.js → resume-command-FXT3KGLC.js} +5 -5
- package/dist/chunks/{running-HYMQGZMF.js → running-3NLAODZ7.js} +4 -4
- package/dist/chunks/schedule-TTQUT45H.js +559 -0
- package/dist/chunks/schedule-TTQUT45H.js.map +6 -0
- package/dist/chunks/{send-IFZ7XPTF.js → send-FRNTRW2M.js} +19 -18
- package/dist/chunks/send-person-57F5RJA7.js +32 -0
- package/dist/chunks/{serve-CZDHGDZL.js → serve-4VIDXLEB.js} +2 -2
- package/dist/chunks/{service-Y5N7WIHV.js → service-TCKPUGL5.js} +459 -83
- package/dist/chunks/service-TCKPUGL5.js.map +6 -0
- package/dist/chunks/{setting-cli-CJMZHIMQ.js → setting-cli-HGYOIGC6.js} +13 -13
- package/dist/chunks/{skills-VSVXQTY3.js → skills-ICVGYWBH.js} +29 -25
- package/dist/chunks/skills-ICVGYWBH.js.map +6 -0
- package/dist/chunks/{start-check-MZGEYSQD.js → start-check-C5VJXVPY.js} +2 -2
- package/dist/chunks/{startup-failure-QS7O3M62.js → startup-failure-YQSEQRNQ.js} +2 -2
- package/dist/chunks/{state-IRA33PLY.js → state-2DBTSDEP.js} +560 -28
- package/dist/chunks/state-2DBTSDEP.js.map +6 -0
- package/dist/chunks/{store-5QOUJL3S.js → store-CZGKLVTT.js} +12 -13
- package/dist/chunks/{store-LIG46NWV.js → store-JJKCDY7Y.js} +6 -4
- package/dist/chunks/{store-VRWL26C2.js → store-RJZCW2MI.js} +8 -8
- package/dist/chunks/store-RJZCW2MI.js.map +6 -0
- package/dist/chunks/{store-N4CURUP2.js → store-S4BT3ESJ.js} +3 -3
- package/dist/chunks/store-S4BT3ESJ.js.map +6 -0
- package/dist/chunks/{tui-KFWUIY7N.js → tui-Q7ED7VFI.js} +110 -92
- package/dist/chunks/tui-Q7ED7VFI.js.map +6 -0
- package/dist/chunks/{upgrade-BIHZ3JJV.js → update-G7D3YCH5.js} +35 -35
- package/dist/chunks/{upgrade-BIHZ3JJV.js.map → update-G7D3YCH5.js.map} +2 -2
- package/dist/chunks/{watch-OUI2U5YK.js → watch-EON3IWRY.js} +104 -94
- package/dist/chunks/watch-EON3IWRY.js.map +6 -0
- package/dist/chunks/{workspaces-CB5DV4KR.js → workspaces-O6S2OTDL.js} +15 -20
- package/dist/chunks/workspaces-O6S2OTDL.js.map +6 -0
- package/dist/chunks/{worktree-PNG7MZV3.js → worktree-A2DNXLOT.js} +26 -23
- package/dist/chunks/worktree-A2DNXLOT.js.map +6 -0
- package/dist/cli-runtime.d.ts +3 -1
- package/dist/cli-runtime.d.ts.map +1 -1
- package/dist/cli.d.ts +15 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/commands/acp-browser-pane.d.ts +81 -0
- package/dist/commands/acp-browser-pane.d.ts.map +1 -0
- package/dist/commands/acp-desktop-question.d.ts +10 -7
- package/dist/commands/acp-desktop-question.d.ts.map +1 -1
- package/dist/commands/acp-provider-retry.d.ts +2 -1
- package/dist/commands/acp-provider-retry.d.ts.map +1 -1
- package/dist/commands/acp-screen-question.d.ts +6 -1
- package/dist/commands/acp-screen-question.d.ts.map +1 -1
- package/dist/commands/acp.d.ts +25 -1
- package/dist/commands/acp.d.ts.map +1 -1
- package/dist/commands/action-help.d.ts +37 -0
- package/dist/commands/action-help.d.ts.map +1 -0
- package/dist/commands/actions/auth.d.ts +3 -0
- package/dist/commands/actions/auth.d.ts.map +1 -0
- package/dist/commands/actions/browser.d.ts +3 -0
- package/dist/commands/actions/browser.d.ts.map +1 -0
- package/dist/commands/actions/extension.d.ts +3 -0
- package/dist/commands/actions/extension.d.ts.map +1 -0
- package/dist/commands/actions/mcp.d.ts +3 -0
- package/dist/commands/actions/mcp.d.ts.map +1 -0
- package/dist/commands/actions/pal.d.ts +3 -0
- package/dist/commands/actions/pal.d.ts.map +1 -0
- package/dist/commands/actions/peers.d.ts +3 -0
- package/dist/commands/actions/peers.d.ts.map +1 -0
- package/dist/commands/actions/schedule.d.ts +3 -0
- package/dist/commands/actions/schedule.d.ts.map +1 -0
- package/dist/commands/actions/small.d.ts +11 -0
- package/dist/commands/actions/small.d.ts.map +1 -0
- package/dist/commands/archive.d.ts.map +1 -1
- package/dist/commands/auth-status.d.ts +24 -0
- package/dist/commands/auth-status.d.ts.map +1 -0
- package/dist/commands/auth.d.ts +9 -0
- package/dist/commands/auth.d.ts.map +1 -0
- package/dist/commands/browser.d.ts.map +1 -1
- package/dist/commands/computer.d.ts.map +1 -1
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/desktop-host.d.ts +6 -3
- package/dist/commands/desktop-host.d.ts.map +1 -1
- package/dist/commands/drain.d.ts.map +1 -1
- package/dist/commands/exec-flags.d.ts +17 -3
- package/dist/commands/exec-flags.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/extension.d.ts.map +1 -1
- package/dist/commands/github.d.ts.map +1 -1
- package/dist/commands/launch-extras.d.ts +49 -0
- package/dist/commands/launch-extras.d.ts.map +1 -0
- package/dist/commands/lazy.d.ts +3 -3
- package/dist/commands/lazy.d.ts.map +1 -1
- package/dist/commands/learn-builtin.d.ts.map +1 -1
- package/dist/commands/login.d.ts +1 -1
- package/dist/commands/manifest.d.ts +3 -4
- package/dist/commands/manifest.d.ts.map +1 -1
- package/dist/commands/mcp-serve.d.ts +16 -0
- package/dist/commands/mcp-serve.d.ts.map +1 -0
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/pal.d.ts.map +1 -1
- package/dist/commands/peers.d.ts +9 -1
- package/dist/commands/peers.d.ts.map +1 -1
- package/dist/commands/permission-preview.d.ts +2 -0
- package/dist/commands/permission-preview.d.ts.map +1 -1
- package/dist/commands/plugin.d.ts.map +1 -1
- package/dist/commands/providers.d.ts.map +1 -1
- package/dist/commands/registry.d.ts.map +1 -1
- package/dist/commands/run-flags.d.ts +10 -2
- package/dist/commands/run-flags.d.ts.map +1 -1
- package/dist/commands/schedule.d.ts.map +1 -1
- package/dist/commands/skills.d.ts.map +1 -1
- package/dist/commands/state.d.ts +11 -0
- package/dist/commands/state.d.ts.map +1 -1
- package/dist/commands/types.d.ts +9 -2
- package/dist/commands/types.d.ts.map +1 -1
- package/dist/commands/{upgrade-progress.d.ts → update-progress.d.ts} +3 -3
- package/dist/commands/update-progress.d.ts.map +1 -0
- package/dist/commands/{upgrade.d.ts → update.d.ts} +9 -9
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/workspaces.d.ts +1 -1
- package/dist/commands/workspaces.d.ts.map +1 -1
- package/dist/commands/worktree.d.ts.map +1 -1
- package/dist/computer/run.d.ts.map +1 -1
- package/dist/config/debug.d.ts.map +1 -1
- package/dist/config/hook-common-shape.d.ts.map +1 -1
- package/dist/config/hooks-report.d.ts +3 -1
- package/dist/config/hooks-report.d.ts.map +1 -1
- package/dist/config/load.d.ts +40 -0
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +70 -2
- 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/config/skill-hooks-reader.d.ts.map +1 -1
- package/dist/context/doctrine.d.ts.map +1 -1
- package/dist/context/environment.d.ts +15 -0
- package/dist/context/environment.d.ts.map +1 -1
- package/dist/context/file-placement.d.ts.map +1 -1
- package/dist/context/project-tracker.d.ts +3 -0
- package/dist/context/project-tracker.d.ts.map +1 -1
- package/dist/context/system-prompt.d.ts +6 -0
- package/dist/context/system-prompt.d.ts.map +1 -1
- package/dist/exit-process.d.ts +3 -0
- package/dist/exit-process.d.ts.map +1 -0
- package/dist/flush-stdio.d.ts +8 -0
- package/dist/flush-stdio.d.ts.map +1 -0
- package/dist/index.js +42 -41
- package/dist/integrations/auto-update/apply.d.ts +1 -1
- package/dist/integrations/auto-update/apply.d.ts.map +1 -1
- package/dist/integrations/auto-update/policy.d.ts +1 -1
- package/dist/integrations/auto-update/policy.d.ts.map +1 -1
- package/dist/integrations/auto-update/state.d.ts +1 -1
- package/dist/integrations/auto-update/state.d.ts.map +1 -1
- package/dist/integrations/decision/routing.d.ts +8 -0
- package/dist/integrations/decision/routing.d.ts.map +1 -1
- package/dist/integrations/extensions/host.d.ts.map +1 -1
- package/dist/integrations/extensions/query.d.ts +10 -0
- package/dist/integrations/extensions/query.d.ts.map +1 -1
- package/dist/integrations/extensions/supervisor.d.ts +14 -0
- package/dist/integrations/extensions/supervisor.d.ts.map +1 -1
- package/dist/integrations/images/generate-image.d.ts +47 -0
- package/dist/integrations/images/generate-image.d.ts.map +1 -0
- package/dist/integrations/images/image-access.d.ts +20 -0
- package/dist/integrations/images/image-access.d.ts.map +1 -0
- package/dist/integrations/mcp/project-file.d.ts +16 -0
- package/dist/integrations/mcp/project-file.d.ts.map +1 -0
- package/dist/integrations/mcp/serve.d.ts +55 -0
- package/dist/integrations/mcp/serve.d.ts.map +1 -0
- package/dist/integrations/mcp/servers.d.ts +42 -1
- package/dist/integrations/mcp/servers.d.ts.map +1 -1
- package/dist/integrations/mcp/shared-file.d.ts +2 -1
- package/dist/integrations/mcp/shared-file.d.ts.map +1 -1
- package/dist/integrations/network/computer-secret.d.ts +11 -0
- package/dist/integrations/network/computer-secret.d.ts.map +1 -0
- package/dist/integrations/network/controller.d.ts.map +1 -1
- package/dist/integrations/network/format.d.ts +13 -9
- package/dist/integrations/network/format.d.ts.map +1 -1
- package/dist/integrations/network/policy.d.ts.map +1 -1
- package/dist/integrations/network/runtime.d.ts +9 -0
- package/dist/integrations/network/runtime.d.ts.map +1 -1
- package/dist/integrations/network/session-list.d.ts +77 -0
- package/dist/integrations/network/session-list.d.ts.map +1 -0
- package/dist/integrations/network/types.d.ts +5 -1
- package/dist/integrations/network/types.d.ts.map +1 -1
- package/dist/integrations/npm-global.d.ts +2 -2
- package/dist/integrations/npm-global.d.ts.map +1 -1
- package/dist/integrations/outstanding/status.d.ts +4 -0
- package/dist/integrations/outstanding/status.d.ts.map +1 -1
- package/dist/integrations/peers/runtime.d.ts +1 -0
- package/dist/integrations/peers/runtime.d.ts.map +1 -1
- package/dist/integrations/peers/send-once.d.ts +14 -3
- package/dist/integrations/peers/send-once.d.ts.map +1 -1
- package/dist/integrations/plugins/lifecycle-events.d.ts +10 -0
- package/dist/integrations/plugins/lifecycle-events.d.ts.map +1 -1
- package/dist/integrations/providers/connections.d.ts +1 -1
- package/dist/integrations/providers/connections.d.ts.map +1 -1
- package/dist/integrations/providers/harness-credentials.d.ts +5 -0
- package/dist/integrations/providers/harness-credentials.d.ts.map +1 -1
- package/dist/integrations/providers/pending-login.d.ts +1 -1
- package/dist/integrations/providers/subscription-login.d.ts +1 -1
- package/dist/integrations/sessions/session-watch.d.ts +8 -1
- package/dist/integrations/sessions/session-watch.d.ts.map +1 -1
- package/dist/integrations/state/purge.d.ts +66 -0
- package/dist/integrations/state/purge.d.ts.map +1 -0
- package/dist/integrations/subagents/activity.d.ts +21 -2
- package/dist/integrations/subagents/activity.d.ts.map +1 -1
- package/dist/integrations/subagents/agent-hooks.d.ts.map +1 -1
- package/dist/integrations/subagents/agent-names.d.ts +10 -6
- package/dist/integrations/subagents/agent-names.d.ts.map +1 -1
- package/dist/integrations/subagents/definitions.d.ts +8 -0
- package/dist/integrations/subagents/definitions.d.ts.map +1 -1
- package/dist/integrations/subagents/row-labels.d.ts +18 -0
- package/dist/integrations/subagents/row-labels.d.ts.map +1 -0
- package/dist/integrations/subagents/runtime.d.ts +49 -2
- package/dist/integrations/subagents/runtime.d.ts.map +1 -1
- package/dist/integrations/subagents/stop-guidance.d.ts +14 -0
- package/dist/integrations/subagents/stop-guidance.d.ts.map +1 -0
- package/dist/integrations/teams/colors.d.ts +31 -0
- package/dist/integrations/teams/colors.d.ts.map +1 -0
- package/dist/integrations/teams/enabled.d.ts +44 -0
- package/dist/integrations/teams/enabled.d.ts.map +1 -0
- package/dist/integrations/teams/host.d.ts +15 -0
- package/dist/integrations/teams/host.d.ts.map +1 -0
- package/dist/integrations/teams/runner.d.ts +278 -0
- package/dist/integrations/teams/runner.d.ts.map +1 -0
- package/dist/integrations/teams/view.d.ts +62 -0
- package/dist/integrations/teams/view.d.ts.map +1 -0
- package/dist/integrations/web/open-url.d.ts +1 -1
- package/dist/integrations/web/search.d.ts +1 -1
- package/dist/integrations/workflows/host.d.ts.map +1 -1
- package/dist/integrations/workflows/notice.d.ts +9 -0
- package/dist/integrations/workflows/notice.d.ts.map +1 -1
- package/dist/integrations/workflows/offering.d.ts +3 -2
- package/dist/integrations/workflows/offering.d.ts.map +1 -1
- package/dist/integrations/workflows/orphans.d.ts +17 -0
- package/dist/integrations/workflows/orphans.d.ts.map +1 -1
- package/dist/integrations/workflows/owners.d.ts +17 -0
- package/dist/integrations/workflows/owners.d.ts.map +1 -0
- package/dist/integrations/workflows/registry.d.ts +17 -2
- package/dist/integrations/workflows/registry.d.ts.map +1 -1
- package/dist/logging.d.ts +10 -1
- package/dist/logging.d.ts.map +1 -1
- package/dist/memory/screen-archive.d.ts +2 -0
- package/dist/memory/screen-archive.d.ts.map +1 -1
- package/dist/pals/agent-session.d.ts.map +1 -1
- package/dist/pals/dispatch.d.ts.map +1 -1
- package/dist/permissions/auto-classifier.d.ts.map +1 -1
- package/dist/permissions/launch.d.ts +1 -1
- package/dist/permissions/mode.d.ts +2 -2
- package/dist/permissions/path-rules.d.ts.map +1 -1
- package/dist/permissions/rules.d.ts +2 -0
- package/dist/permissions/rules.d.ts.map +1 -1
- package/dist/permissions/tool-flags.d.ts +5 -1
- package/dist/permissions/tool-flags.d.ts.map +1 -1
- package/dist/reminders/changed-files.d.ts.map +1 -1
- package/dist/reminders/frame.d.ts +1 -1
- package/dist/reminders/frame.d.ts.map +1 -1
- package/dist/reminders/hypermode.d.ts.map +1 -1
- package/dist/reminders/index.d.ts +3 -0
- package/dist/reminders/index.d.ts.map +1 -1
- package/dist/reminders/memory-nudge.d.ts +20 -0
- package/dist/reminders/memory-nudge.d.ts.map +1 -0
- package/dist/schedule/commands/add.d.ts.map +1 -1
- package/dist/schedule/commands/list.d.ts.map +1 -1
- package/dist/schedule/commands/service.d.ts +8 -0
- package/dist/schedule/commands/service.d.ts.map +1 -1
- package/dist/schedule/fire/fire.d.ts +1 -1
- package/dist/schedule/fire/fire.d.ts.map +1 -1
- package/dist/schedule/folder.d.ts +8 -1
- package/dist/schedule/folder.d.ts.map +1 -1
- package/dist/schedule/policy.d.ts.map +1 -1
- package/dist/schedule/service/homes.d.ts +56 -0
- package/dist/schedule/service/homes.d.ts.map +1 -0
- package/dist/schedule/service/move.d.ts +48 -0
- package/dist/schedule/service/move.d.ts.map +1 -0
- package/dist/schedule/service/names.d.ts +2 -1
- package/dist/schedule/service/names.d.ts.map +1 -1
- package/dist/schedule/service/registry.d.ts +6 -0
- package/dist/schedule/service/registry.d.ts.map +1 -1
- package/dist/schedule/service/target.d.ts +3 -1
- package/dist/schedule/service/target.d.ts.map +1 -1
- package/dist/skills/catalog.d.ts +7 -0
- package/dist/skills/catalog.d.ts.map +1 -1
- package/dist/skills/directory.d.ts.map +1 -1
- package/dist/skills/retired.d.ts +19 -0
- package/dist/skills/retired.d.ts.map +1 -0
- package/dist/skills/save-card.d.ts +42 -0
- package/dist/skills/save-card.d.ts.map +1 -0
- package/dist/skills/save.d.ts +25 -1
- package/dist/skills/save.d.ts.map +1 -1
- package/dist/skills/skill-hooks.d.ts +2 -2
- package/dist/skills/skill-hooks.d.ts.map +1 -1
- package/dist/skills/skill-shell.d.ts +99 -0
- package/dist/skills/skill-shell.d.ts.map +1 -0
- package/dist/skills/store.d.ts +7 -0
- package/dist/skills/store.d.ts.map +1 -1
- package/dist/skills/typed-command-load.d.ts +45 -0
- package/dist/skills/typed-command-load.d.ts.map +1 -0
- package/dist/tui/AgentExplorer.d.ts +82 -29
- package/dist/tui/AgentExplorer.d.ts.map +1 -1
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/Checklist.d.ts +12 -0
- package/dist/tui/Checklist.d.ts.map +1 -1
- package/dist/tui/Composer.d.ts +6 -7
- package/dist/tui/Composer.d.ts.map +1 -1
- package/dist/tui/CopyPicker.d.ts +1 -3
- package/dist/tui/CopyPicker.d.ts.map +1 -1
- package/dist/tui/Markdown.d.ts +7 -1
- package/dist/tui/Markdown.d.ts.map +1 -1
- package/dist/tui/PendingInputPanel.d.ts +2 -0
- package/dist/tui/PendingInputPanel.d.ts.map +1 -1
- package/dist/tui/PermissionOverlay.d.ts +8 -1
- package/dist/tui/PermissionOverlay.d.ts.map +1 -1
- package/dist/tui/ScheduleReviewOverlay.d.ts +2 -0
- package/dist/tui/ScheduleReviewOverlay.d.ts.map +1 -1
- package/dist/tui/StatusBar.d.ts +8 -1
- package/dist/tui/StatusBar.d.ts.map +1 -1
- package/dist/tui/TaskList.d.ts +6 -2
- package/dist/tui/TaskList.d.ts.map +1 -1
- package/dist/tui/Transcript.d.ts.map +1 -1
- package/dist/tui/agent-calls.d.ts.map +1 -1
- package/dist/tui/agent-transcript-rows.d.ts +4 -0
- package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +139 -8
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/box-rows.d.ts +35 -0
- package/dist/tui/box-rows.d.ts.map +1 -0
- package/dist/tui/computer-use-screen-approval.d.ts +18 -0
- package/dist/tui/computer-use-screen-approval.d.ts.map +1 -1
- package/dist/tui/context-grid.d.ts +5 -0
- package/dist/tui/context-grid.d.ts.map +1 -1
- package/dist/tui/copy-targets.d.ts +0 -13
- package/dist/tui/copy-targets.d.ts.map +1 -1
- package/dist/tui/fullscreen/FullscreenTranscript.d.ts +3 -2
- package/dist/tui/fullscreen/FullscreenTranscript.d.ts.map +1 -1
- package/dist/tui/generated-image-rows.d.ts +12 -0
- package/dist/tui/generated-image-rows.d.ts.map +1 -0
- package/dist/tui/keypad-keys.d.ts +1 -1
- package/dist/tui/keypad-keys.d.ts.map +1 -1
- package/dist/tui/launch-settings.d.ts +2 -0
- package/dist/tui/launch-settings.d.ts.map +1 -1
- package/dist/tui/login-prompt.d.ts +1 -1
- package/dist/tui/markdown-wrap.d.ts +4 -0
- package/dist/tui/markdown-wrap.d.ts.map +1 -1
- package/dist/tui/notice-display.d.ts +8 -0
- package/dist/tui/notice-display.d.ts.map +1 -0
- package/dist/tui/outcome-line.d.ts.map +1 -1
- package/dist/tui/permission-asks.d.ts +7 -0
- package/dist/tui/permission-asks.d.ts.map +1 -1
- package/dist/tui/permission-review.d.ts.map +1 -1
- package/dist/tui/resize-settle.d.ts +26 -0
- package/dist/tui/resize-settle.d.ts.map +1 -0
- package/dist/tui/restored-rows.d.ts +5 -1
- package/dist/tui/restored-rows.d.ts.map +1 -1
- package/dist/tui/schedule/host-commands.d.ts.map +1 -1
- package/dist/tui/shell-expansion-slot.d.ts +30 -0
- package/dist/tui/shell-expansion-slot.d.ts.map +1 -0
- package/dist/tui/slashCommands.d.ts +8 -5
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/tui/stopped-turn-line.d.ts +22 -0
- package/dist/tui/stopped-turn-line.d.ts.map +1 -0
- package/dist/tui/team-rows.d.ts +98 -0
- package/dist/tui/team-rows.d.ts.map +1 -0
- package/dist/tui/team-view.d.ts +169 -0
- package/dist/tui/team-view.d.ts.map +1 -0
- package/dist/tui/tidy-tool-output.d.ts.map +1 -1
- package/dist/tui/tool-end-rows.d.ts +1 -2
- package/dist/tui/tool-end-rows.d.ts.map +1 -1
- package/dist/tui/tool-presentation.d.ts +2 -0
- package/dist/tui/tool-presentation.d.ts.map +1 -1
- package/dist/tui/types.d.ts +31 -2
- package/dist/tui/types.d.ts.map +1 -1
- package/dist/tui/untrusted-display.d.ts +12 -0
- package/dist/tui/untrusted-display.d.ts.map +1 -0
- package/dist/tui/web-activity.d.ts +4 -2
- package/dist/tui/web-activity.d.ts.map +1 -1
- package/dist/usage-error.d.ts.map +1 -1
- package/dist/user-commands/mcp-skill-commands.d.ts +21 -0
- package/dist/user-commands/mcp-skill-commands.d.ts.map +1 -0
- package/dist/user-commands/store.d.ts +24 -0
- package/dist/user-commands/store.d.ts.map +1 -1
- package/package.json +8 -8
- package/skills/README.md +14 -3
- package/skills/batch/SKILL.md +53 -0
- package/skills/commit/SKILL.md +46 -0
- package/skills/debug/SKILL.md +47 -0
- package/skills/deep-research/SKILL.md +102 -0
- package/skills/document/SKILL.md +40 -18
- package/skills/fewer-permission-prompts/SKILL.md +58 -0
- package/skills/pdf/SKILL.md +93 -0
- package/skills/pr/SKILL.md +50 -0
- package/skills/review-changes/SKILL.md +1 -1
- package/skills/run/SKILL.md +179 -0
- package/skills/run-skill-generator/SKILL.md +144 -0
- package/skills/security-review/SKILL.md +48 -0
- package/skills/simplify/SKILL.md +52 -0
- package/skills/skill-creator/SKILL.md +15 -6
- package/skills/update-config/SKILL.md +75 -0
- package/dist/chunks/acp-DEH76VXL.js.map +0 -6
- package/dist/chunks/activity-command-GETWRD67.js.map +0 -6
- package/dist/chunks/add-XFYJ6UZE.js.map +0 -6
- package/dist/chunks/agent-session-2YJCVWPX.js +0 -87
- package/dist/chunks/archive-PA5MDKXC.js.map +0 -6
- package/dist/chunks/bin-main-RH4NLAPK.js.map +0 -6
- package/dist/chunks/browser-ZMNLA73K.js +0 -31
- package/dist/chunks/browser-ZMNLA73K.js.map +0 -6
- package/dist/chunks/chat-UNZSJZ6U.js.map +0 -6
- package/dist/chunks/chunk-2JFRYOBC.js.map +0 -6
- package/dist/chunks/chunk-2P2PDEZJ.js.map +0 -6
- package/dist/chunks/chunk-3EH4PF5T.js.map +0 -6
- package/dist/chunks/chunk-3ZHOM2L7.js.map +0 -6
- package/dist/chunks/chunk-4DNEDLBT.js.map +0 -6
- package/dist/chunks/chunk-5ZPCQ2HL.js.map +0 -6
- package/dist/chunks/chunk-6A4RDHHY.js +0 -10
- package/dist/chunks/chunk-6A4RDHHY.js.map +0 -6
- package/dist/chunks/chunk-6CI5CHBT.js.map +0 -6
- package/dist/chunks/chunk-6E4TDPXP.js.map +0 -6
- package/dist/chunks/chunk-6IWJ6JC6.js.map +0 -6
- package/dist/chunks/chunk-6MQHDX7R.js.map +0 -6
- package/dist/chunks/chunk-6TF24TFD.js.map +0 -6
- package/dist/chunks/chunk-7BF4FLOP.js.map +0 -6
- package/dist/chunks/chunk-AZXIYYVX.js.map +0 -6
- package/dist/chunks/chunk-BFYETM56.js.map +0 -6
- package/dist/chunks/chunk-BJQ7WFWL.js.map +0 -6
- package/dist/chunks/chunk-C7ZKC7HY.js.map +0 -6
- package/dist/chunks/chunk-CPDGXVVE.js +0 -94
- package/dist/chunks/chunk-CPDGXVVE.js.map +0 -6
- package/dist/chunks/chunk-DMHE6X3Y.js.map +0 -6
- package/dist/chunks/chunk-DRKCWJPR.js.map +0 -6
- package/dist/chunks/chunk-FNEQ77RJ.js.map +0 -6
- package/dist/chunks/chunk-FSAI4GDZ.js.map +0 -6
- package/dist/chunks/chunk-GJ6NI7JL.js.map +0 -6
- package/dist/chunks/chunk-HEFLKPCT.js.map +0 -6
- package/dist/chunks/chunk-JCH7IWMU.js.map +0 -6
- package/dist/chunks/chunk-LDU7AFNZ.js.map +0 -6
- package/dist/chunks/chunk-LGPOJEZK.js.map +0 -6
- package/dist/chunks/chunk-LXK7S2I2.js.map +0 -6
- package/dist/chunks/chunk-MY6JV4BT.js.map +0 -6
- package/dist/chunks/chunk-PJF46DI6.js.map +0 -6
- package/dist/chunks/chunk-PPCKNQOQ.js.map +0 -6
- package/dist/chunks/chunk-REYJHS2X.js.map +0 -6
- package/dist/chunks/chunk-UILPXAKQ.js.map +0 -6
- package/dist/chunks/chunk-XF243FQN.js.map +0 -6
- package/dist/chunks/chunk-ZR3VZG37.js.map +0 -6
- package/dist/chunks/cli-runtime-66YC7XKZ.js.map +0 -6
- package/dist/chunks/computer-FQRWTC6M.js.map +0 -6
- package/dist/chunks/config-BWAJ7XDA.js.map +0 -6
- package/dist/chunks/dist-NUCTP67R.js.map +0 -6
- package/dist/chunks/exec-QOH5FQCM.js.map +0 -6
- package/dist/chunks/github-X352BD5R.js.map +0 -6
- package/dist/chunks/host-queries-YTND6J2W.js +0 -38
- package/dist/chunks/list-2QV773EI.js.map +0 -6
- package/dist/chunks/login-KN5KQXOD.js +0 -38
- package/dist/chunks/mcp-HP3YRE3U.js.map +0 -6
- package/dist/chunks/message-command-IFQSBBI5.js.map +0 -6
- package/dist/chunks/operator-tools-HT7UNWNK.js.map +0 -6
- package/dist/chunks/pal-6KB3D324.js.map +0 -6
- package/dist/chunks/peers-4M45XTZO.js.map +0 -6
- package/dist/chunks/plugin-FIVP6MGJ.js.map +0 -6
- package/dist/chunks/providers-6634CTX7.js.map +0 -6
- package/dist/chunks/resume-OEUL3DML.js +0 -26
- package/dist/chunks/schedule-54POTO5A.js +0 -282
- package/dist/chunks/schedule-54POTO5A.js.map +0 -6
- package/dist/chunks/send-person-YV7Y3N7V.js +0 -31
- package/dist/chunks/service-Y5N7WIHV.js.map +0 -6
- package/dist/chunks/skills-VSVXQTY3.js.map +0 -6
- package/dist/chunks/state-IRA33PLY.js.map +0 -6
- package/dist/chunks/tui-KFWUIY7N.js.map +0 -6
- package/dist/chunks/watch-OUI2U5YK.js.map +0 -6
- package/dist/chunks/workspaces-CB5DV4KR.js.map +0 -6
- package/dist/chunks/worktree-PNG7MZV3.js.map +0 -6
- package/dist/commands/upgrade-progress.d.ts.map +0 -1
- package/dist/commands/upgrade.d.ts.map +0 -1
- package/skills/verify-change/SKILL.md +0 -63
- /package/dist/chunks/{agent-FW4VC2AF.js.map → agent-Z6PJYBAO.js.map} +0 -0
- /package/dist/chunks/{agent-session-2YJCVWPX.js.map → agent-session-WXWW7E5M.js.map} +0 -0
- /package/dist/chunks/{binding-ON644UJ3.js.map → binding-5UJYMFMU.js.map} +0 -0
- /package/dist/chunks/{chunk-IMXTM75Q.js.map → chunk-23D5IXMW.js.map} +0 -0
- /package/dist/chunks/{chunk-PYYDU2BC.js.map → chunk-24EZWZDZ.js.map} +0 -0
- /package/dist/chunks/{chunk-WDROVY6V.js.map → chunk-2EVP6BX4.js.map} +0 -0
- /package/dist/chunks/{chunk-M4XYHIA3.js.map → chunk-2KC52MDS.js.map} +0 -0
- /package/dist/chunks/{chunk-GVWDNFIP.js.map → chunk-2VP2Q657.js.map} +0 -0
- /package/dist/chunks/{chunk-Z6LUWKV4.js.map → chunk-3ETXWTV4.js.map} +0 -0
- /package/dist/chunks/{chunk-3Z5OXTDI.js.map → chunk-3PH6F6Z3.js.map} +0 -0
- /package/dist/chunks/{chunk-GWLUXO4O.js.map → chunk-4RW7GDJ4.js.map} +0 -0
- /package/dist/chunks/{chunk-NP4BQ7SB.js.map → chunk-4TJ7AGQO.js.map} +0 -0
- /package/dist/chunks/{chunk-Y62WSR5N.js.map → chunk-567CSU37.js.map} +0 -0
- /package/dist/chunks/{chunk-DGV6YSAW.js.map → chunk-5HMJ3DYR.js.map} +0 -0
- /package/dist/chunks/{chunk-DT6PTS6H.js.map → chunk-6CSJRIUZ.js.map} +0 -0
- /package/dist/chunks/{chunk-5YTGRS7U.js.map → chunk-7J23SPSX.js.map} +0 -0
- /package/dist/chunks/{chunk-SKFBM6OJ.js.map → chunk-AEXGGJUW.js.map} +0 -0
- /package/dist/chunks/{chunk-BXAUUC2B.js.map → chunk-AIQKSTVJ.js.map} +0 -0
- /package/dist/chunks/{chunk-3HT7FQNG.js.map → chunk-CEZW3NVM.js.map} +0 -0
- /package/dist/chunks/{chunk-KUIATFLN.js.map → chunk-CG5CGXNF.js.map} +0 -0
- /package/dist/chunks/{chunk-HENM67TJ.js.map → chunk-CNSKJ3DZ.js.map} +0 -0
- /package/dist/chunks/{chunk-W6UOMYDX.js.map → chunk-CQFWLYTK.js.map} +0 -0
- /package/dist/chunks/{chunk-M5LA652U.js.map → chunk-DGYMR4WJ.js.map} +0 -0
- /package/dist/chunks/{chunk-ABELB4VO.js.map → chunk-DJKWBSVM.js.map} +0 -0
- /package/dist/chunks/{chunk-HIHHTWEU.js.map → chunk-DJTCZSSY.js.map} +0 -0
- /package/dist/chunks/{chunk-VV6DYTFU.js.map → chunk-DKSFQRUM.js.map} +0 -0
- /package/dist/chunks/{chunk-SHFB4DZP.js.map → chunk-E4RVHFV6.js.map} +0 -0
- /package/dist/chunks/{chunk-NV7RJBWA.js.map → chunk-E65IWYTT.js.map} +0 -0
- /package/dist/chunks/{chunk-PI5ZZQVH.js.map → chunk-EA6YICQ7.js.map} +0 -0
- /package/dist/chunks/{chunk-JR6EFL7G.js.map → chunk-EGGO56FY.js.map} +0 -0
- /package/dist/chunks/{chunk-TBKSDYS4.js.map → chunk-ESIICAI3.js.map} +0 -0
- /package/dist/chunks/{chunk-MOMSIAV4.js.map → chunk-FEOS7UZ2.js.map} +0 -0
- /package/dist/chunks/{chunk-JDWCVWIQ.js.map → chunk-FMQCPAKR.js.map} +0 -0
- /package/dist/chunks/{chunk-2ZPB4ZBP.js.map → chunk-GEVWZWLM.js.map} +0 -0
- /package/dist/chunks/{chunk-WSQAVWIV.js.map → chunk-HW2QBNAA.js.map} +0 -0
- /package/dist/chunks/{chunk-DOLGKZC5.js.map → chunk-IRAG3YXW.js.map} +0 -0
- /package/dist/chunks/{chunk-77AYLILT.js.map → chunk-J5E4DV6R.js.map} +0 -0
- /package/dist/chunks/{chunk-6TCZN54R.js.map → chunk-JPM3JXZB.js.map} +0 -0
- /package/dist/chunks/{chunk-6BTNPDXR.js.map → chunk-JRWUIW4J.js.map} +0 -0
- /package/dist/chunks/{chunk-CKYGPQVJ.js.map → chunk-KBLYZ7L7.js.map} +0 -0
- /package/dist/chunks/{chunk-6MGRBXCW.js.map → chunk-KETRBV2E.js.map} +0 -0
- /package/dist/chunks/{chunk-RSO4LBHJ.js.map → chunk-KPOOM7QT.js.map} +0 -0
- /package/dist/chunks/{chunk-WCAKWRZU.js.map → chunk-KVNL7XA6.js.map} +0 -0
- /package/dist/chunks/{chunk-4PFTZNS5.js.map → chunk-LWJJDERP.js.map} +0 -0
- /package/dist/chunks/{chunk-763RT6Z5.js.map → chunk-MDVYEFTI.js.map} +0 -0
- /package/dist/chunks/{chunk-DROVNI2Y.js.map → chunk-MF57EX7H.js.map} +0 -0
- /package/dist/chunks/{chunk-J6QCR3SC.js.map → chunk-MF5KTVGJ.js.map} +0 -0
- /package/dist/chunks/{chunk-S7YXINNY.js.map → chunk-O2PZDA5H.js.map} +0 -0
- /package/dist/chunks/{chunk-PK7M7VIU.js.map → chunk-OA7QKUCM.js.map} +0 -0
- /package/dist/chunks/{chunk-ZDGKFGVE.js.map → chunk-P4TCLMD6.js.map} +0 -0
- /package/dist/chunks/{chunk-IZYYWNP2.js.map → chunk-PFVYYH6O.js.map} +0 -0
- /package/dist/chunks/{chunk-RP5HOVOW.js.map → chunk-PKFXIWVX.js.map} +0 -0
- /package/dist/chunks/{chunk-ZWP5L7BV.js.map → chunk-PQT7624W.js.map} +0 -0
- /package/dist/chunks/{chunk-FEP2R3XI.js.map → chunk-QTHG6UPU.js.map} +0 -0
- /package/dist/chunks/{chunk-MMJ6UURB.js.map → chunk-QZTTIL3A.js.map} +0 -0
- /package/dist/chunks/{chunk-LWAGZIEA.js.map → chunk-RZKIZTPA.js.map} +0 -0
- /package/dist/chunks/{chunk-QTQIHFYH.js.map → chunk-S7FE35WQ.js.map} +0 -0
- /package/dist/chunks/{chunk-233CEYFX.js.map → chunk-SS6IJAPA.js.map} +0 -0
- /package/dist/chunks/{chunk-5C6XCI24.js.map → chunk-TORIEDBN.js.map} +0 -0
- /package/dist/chunks/{chunk-OZ55WTNZ.js.map → chunk-TRRKG642.js.map} +0 -0
- /package/dist/chunks/{chunk-D5N3SDNF.js.map → chunk-UFGLSUGU.js.map} +0 -0
- /package/dist/chunks/{chunk-RYLQH5BB.js.map → chunk-VE4XIWDW.js.map} +0 -0
- /package/dist/chunks/{chunk-GPP4OXHP.js.map → chunk-VJHENTNB.js.map} +0 -0
- /package/dist/chunks/{chunk-AF2QPFEQ.js.map → chunk-W752G3FM.js.map} +0 -0
- /package/dist/chunks/{chunk-4E2REC5O.js.map → chunk-XLXPPVUT.js.map} +0 -0
- /package/dist/chunks/{chunk-NOHH27YE.js.map → chunk-YNWPC3HO.js.map} +0 -0
- /package/dist/chunks/{chunk-ICIVSMA3.js.map → chunk-ZQGCZYAE.js.map} +0 -0
- /package/dist/chunks/{commands-R6WIMNZG.js.map → commands-BNHIQVYO.js.map} +0 -0
- /package/dist/chunks/{cost-MVUQ3UWP.js.map → cost-BJKADKEZ.js.map} +0 -0
- /package/dist/chunks/{crash-report-ASOVDFQT.js.map → crash-report-OJHGVRD7.js.map} +0 -0
- /package/dist/chunks/{dist-6BE2BTVP.js.map → dist-43XWK3LF.js.map} +0 -0
- /package/dist/chunks/{dist-ZPPSUKEG.js.map → dist-4LEGETQA.js.map} +0 -0
- /package/dist/chunks/{doctor-J2BRJDVI.js.map → dist-4ZPDHZOX.js.map} +0 -0
- /package/dist/chunks/{dist-SQYPEQ4A.js.map → dist-ADQAO5C3.js.map} +0 -0
- /package/dist/chunks/{dist-DOHBDUFC.js.map → dist-BGJEX527.js.map} +0 -0
- /package/dist/chunks/{dist-ERFNYYTR.js.map → dist-FMFNU4M3.js.map} +0 -0
- /package/dist/chunks/{dist-IYSARJ7B.js.map → dist-NCBDELMI.js.map} +0 -0
- /package/dist/chunks/{extension-Y52E4FZR.js.map → doctor-AIYB27QY.js.map} +0 -0
- /package/dist/chunks/{entry-7QM6GODJ.js.map → entry-HM5E7KCD.js.map} +0 -0
- /package/dist/chunks/{home-OGOBLYWY.js.map → extension-4233XOZW.js.map} +0 -0
- /package/dist/chunks/{hooks-report-FCLN3ERK.js.map → home-AZY7APF6.js.map} +0 -0
- /package/dist/chunks/{host-FUPSAICG.js.map → homes-WL6LAAY5.js.map} +0 -0
- /package/dist/chunks/{hooks-C6WM34FA.js.map → hooks-AK5S4YUS.js.map} +0 -0
- /package/dist/chunks/{host-queries-YTND6J2W.js.map → hooks-report-NJLGBWN3.js.map} +0 -0
- /package/dist/chunks/{lifecycle-4ZRBSEP2.js.map → host-SX3QC5FN.js.map} +0 -0
- /package/dist/chunks/{live-33QEKVAM.js.map → host-queries-HBW7AW44.js.map} +0 -0
- /package/dist/chunks/{installed-list-3Z2UYHZL.js.map → installed-list-44QXUJFE.js.map} +0 -0
- /package/dist/chunks/{learn-EXNQYLI3.js.map → learn-LW4DLSGZ.js.map} +0 -0
- /package/dist/chunks/{load-SYMNQIDR.js.map → lifecycle-AJCHTSAF.js.map} +0 -0
- /package/dist/chunks/{login-KN5KQXOD.js.map → list-DT7AJVPX.js.map} +0 -0
- /package/dist/chunks/{open-3GVSPGUF.js.map → live-Z6HZFXPW.js.map} +0 -0
- /package/dist/chunks/{output-schema-MKFI5PWR.js.map → load-454TJBPW.js.map} +0 -0
- /package/dist/chunks/{logs-IW7PYTI2.js.map → logs-GRUSUSL7.js.map} +0 -0
- /package/dist/chunks/{peers-CGTVWK6B.js.map → open-Z3BELFL7.js.map} +0 -0
- /package/dist/chunks/{providers-Z3KLRJDW.js.map → output-schema-DSR56W6A.js.map} +0 -0
- /package/dist/chunks/{pty-GMA24QAT.js.map → peers-LXNB4QSL.js.map} +0 -0
- /package/dist/chunks/{resume-OEUL3DML.js.map → providers-AVECY67I.js.map} +0 -0
- /package/dist/chunks/{resume-command-MXUIVG6T.js.map → pty-GW2YC23H.js.map} +0 -0
- /package/dist/chunks/{running-HYMQGZMF.js.map → resume-AYWSKWEX.js.map} +0 -0
- /package/dist/chunks/{send-IFZ7XPTF.js.map → resume-command-FXT3KGLC.js.map} +0 -0
- /package/dist/chunks/{send-person-YV7Y3N7V.js.map → running-3NLAODZ7.js.map} +0 -0
- /package/dist/chunks/{setting-cli-CJMZHIMQ.js.map → send-FRNTRW2M.js.map} +0 -0
- /package/dist/chunks/{start-check-MZGEYSQD.js.map → send-person-57F5RJA7.js.map} +0 -0
- /package/dist/chunks/{serve-CZDHGDZL.js.map → serve-4VIDXLEB.js.map} +0 -0
- /package/dist/chunks/{store-5QOUJL3S.js.map → setting-cli-HGYOIGC6.js.map} +0 -0
- /package/dist/chunks/{store-LIG46NWV.js.map → start-check-C5VJXVPY.js.map} +0 -0
- /package/dist/chunks/{startup-failure-QS7O3M62.js.map → startup-failure-YQSEQRNQ.js.map} +0 -0
- /package/dist/chunks/{store-N4CURUP2.js.map → store-CZGKLVTT.js.map} +0 -0
- /package/dist/chunks/{store-VRWL26C2.js.map → store-JJKCDY7Y.js.map} +0 -0
|
@@ -43,6 +43,81 @@ import {
|
|
|
43
43
|
__name
|
|
44
44
|
} from "./chunk-76FLAFCG.js";
|
|
45
45
|
|
|
46
|
+
// src/commands/action-help.ts
|
|
47
|
+
var HELP_FLAG = { flag: "-h, --help", description: "Show this help." };
|
|
48
|
+
function usageLine(area, action) {
|
|
49
|
+
const words = [`namzu ${area}`, ...action.path];
|
|
50
|
+
if (action.operands) words.push(action.operands);
|
|
51
|
+
if (action.flags && action.flags.length > 0) words.push("[options]");
|
|
52
|
+
return words.join(" ");
|
|
53
|
+
}
|
|
54
|
+
__name(usageLine, "usageLine");
|
|
55
|
+
function renderActionHelp(area, action) {
|
|
56
|
+
const rows = [...action.flags ?? [], HELP_FLAG];
|
|
57
|
+
const width = Math.max(...rows.map((r) => r.flag.length));
|
|
58
|
+
return [
|
|
59
|
+
usageLine(area, action),
|
|
60
|
+
"",
|
|
61
|
+
action.summary,
|
|
62
|
+
"",
|
|
63
|
+
"Options:",
|
|
64
|
+
...rows.map((r) => ` ${r.flag.padEnd(width)} ${r.description}`),
|
|
65
|
+
"",
|
|
66
|
+
"Example:",
|
|
67
|
+
` ${action.example}`,
|
|
68
|
+
"",
|
|
69
|
+
`namzu ${area} --help lists every ${area} command.`
|
|
70
|
+
].join("\n");
|
|
71
|
+
}
|
|
72
|
+
__name(renderActionHelp, "renderActionHelp");
|
|
73
|
+
function listing(rows) {
|
|
74
|
+
const width = Math.max(...rows.map(([head]) => head.length));
|
|
75
|
+
return rows.map(([head, text]) => ` ${head.padEnd(width)} ${text}`);
|
|
76
|
+
}
|
|
77
|
+
__name(listing, "listing");
|
|
78
|
+
function renderActionIndex(area, actions) {
|
|
79
|
+
const rows = actions.map((a) => [
|
|
80
|
+
[...a.path, ...a.operands ? [a.operands] : []].join(" "),
|
|
81
|
+
a.summary
|
|
82
|
+
]);
|
|
83
|
+
return ["Actions:", ...listing(rows), "", `namzu ${area} <action> --help for details.`].join("\n");
|
|
84
|
+
}
|
|
85
|
+
__name(renderActionIndex, "renderActionIndex");
|
|
86
|
+
function renderGroup(area, group, actions) {
|
|
87
|
+
const rows = actions.filter((a) => a.path.length > 1 && a.path[0] === group).map((a) => [
|
|
88
|
+
[...a.path.slice(1), ...a.operands ? [a.operands] : []].join(" "),
|
|
89
|
+
a.summary
|
|
90
|
+
]);
|
|
91
|
+
return [
|
|
92
|
+
`namzu ${area} ${group} <action>`,
|
|
93
|
+
"",
|
|
94
|
+
"Actions:",
|
|
95
|
+
...listing(rows),
|
|
96
|
+
"",
|
|
97
|
+
`namzu ${area} ${group} <action> --help for details.`
|
|
98
|
+
].join("\n");
|
|
99
|
+
}
|
|
100
|
+
__name(renderGroup, "renderGroup");
|
|
101
|
+
function resolveActionHelp(area, actions, args) {
|
|
102
|
+
const words = [];
|
|
103
|
+
for (const arg of args) {
|
|
104
|
+
if (arg.startsWith("-")) break;
|
|
105
|
+
words.push(arg);
|
|
106
|
+
}
|
|
107
|
+
let best;
|
|
108
|
+
for (const action of actions) {
|
|
109
|
+
const fits = action.path.every((word, i) => words[i] === word);
|
|
110
|
+
if (fits && (best === void 0 || action.path.length > best.path.length)) best = action;
|
|
111
|
+
}
|
|
112
|
+
if (best !== void 0) return renderActionHelp(area, best);
|
|
113
|
+
const group = words[0];
|
|
114
|
+
if (group !== void 0 && actions.some((a) => a.path.length > 1 && a.path[0] === group)) {
|
|
115
|
+
return renderGroup(area, group, actions);
|
|
116
|
+
}
|
|
117
|
+
return void 0;
|
|
118
|
+
}
|
|
119
|
+
__name(resolveActionHelp, "resolveActionHelp");
|
|
120
|
+
|
|
46
121
|
// src/commands/lazy.ts
|
|
47
122
|
function lazyCommand(meta, load) {
|
|
48
123
|
let loaded;
|
|
@@ -75,13 +150,18 @@ __name(registerCommand, "registerCommand");
|
|
|
75
150
|
function registerCommandOrLazy(program, def, opts) {
|
|
76
151
|
const resolve2 = /* @__PURE__ */ __name(async () => isLazyCommand(def) ? def.load() : def, "resolve");
|
|
77
152
|
const cmd = program.command(def.name).description(def.description);
|
|
78
|
-
if (def.aliases) cmd.aliases([...def.aliases]);
|
|
79
153
|
if (def.passThrough) {
|
|
80
154
|
cmd.helpOption(false).allowUnknownOption(true).passThroughOptions(true).argument("[args...]").action(async (args) => {
|
|
81
155
|
const rawArgs = args ?? [];
|
|
82
156
|
const real = await resolve2();
|
|
83
|
-
|
|
84
|
-
|
|
157
|
+
const dash = rawArgs.indexOf("--");
|
|
158
|
+
const head = dash === -1 ? rawArgs : rawArgs.slice(0, dash);
|
|
159
|
+
if (real.help !== void 0 && head.some((a) => a === "--help" || a === "-h")) {
|
|
160
|
+
const actions = real.actions;
|
|
161
|
+
const text = actions === void 0 ? real.help : resolveActionHelp(real.name, actions, rawArgs) ?? `${real.help.trimEnd()}
|
|
162
|
+
|
|
163
|
+
${renderActionIndex(real.name, actions)}`;
|
|
164
|
+
opts.getContext().formatter.print({ text });
|
|
85
165
|
opts.setExitCode(0);
|
|
86
166
|
return;
|
|
87
167
|
}
|
|
@@ -149,7 +229,7 @@ function formatUsageError(text, columns) {
|
|
|
149
229
|
if (index === 0 && !/[.!?:]$/.test(sentence)) sentence = `${sentence}.`;
|
|
150
230
|
return sentence;
|
|
151
231
|
});
|
|
152
|
-
const points = lines.length > 1 || /\bhelp\b/i.test(text) || /`namzu [^`]+`/.test(text);
|
|
232
|
+
const points = lines.length > 1 || /\bhelp\b/i.test(text) || /`namzu [^`]+`/.test(text) || /` is now `/.test(text);
|
|
153
233
|
const body = (points ? lines : [...lines, HELP_POINTER]).flatMap(
|
|
154
234
|
(line) => wrapAtWords(line, width)
|
|
155
235
|
);
|
|
@@ -165,7 +245,7 @@ var acpCommand = lazyCommand(
|
|
|
165
245
|
description: "Speak the agent-client protocol over this process\u2019s stdio",
|
|
166
246
|
passThrough: true
|
|
167
247
|
},
|
|
168
|
-
async () => (await import("./acp-
|
|
248
|
+
async () => (await import("./acp-AQUZCZSO.js")).acpCommand
|
|
169
249
|
);
|
|
170
250
|
var computerCommand = lazyCommand(
|
|
171
251
|
{
|
|
@@ -173,17 +253,15 @@ var computerCommand = lazyCommand(
|
|
|
173
253
|
description: "Check and set up the computer Pals run on (Windows)",
|
|
174
254
|
passThrough: true
|
|
175
255
|
},
|
|
176
|
-
async () => (await import("./computer-
|
|
256
|
+
async () => (await import("./computer-6P3GAOV2.js")).computerCommand
|
|
177
257
|
);
|
|
178
258
|
var workspacesCommand = lazyCommand(
|
|
179
259
|
{
|
|
180
260
|
name: "workspaces",
|
|
181
|
-
// The name from before the rename; deprecated, removed in the next major.
|
|
182
|
-
aliases: ["spaces"],
|
|
183
261
|
description: "Run Namzu sessions side by side in one terminal (preview)",
|
|
184
262
|
passThrough: true
|
|
185
263
|
},
|
|
186
|
-
async () => (await import("./workspaces-
|
|
264
|
+
async () => (await import("./workspaces-O6S2OTDL.js")).workspacesCommand
|
|
187
265
|
);
|
|
188
266
|
var archiveCommand = lazyCommand(
|
|
189
267
|
{
|
|
@@ -191,7 +269,7 @@ var archiveCommand = lazyCommand(
|
|
|
191
269
|
description: "List or restore archived conversations in this project",
|
|
192
270
|
passThrough: true
|
|
193
271
|
},
|
|
194
|
-
async () => (await import("./archive-
|
|
272
|
+
async () => (await import("./archive-KYXU4AZZ.js")).archiveCommand
|
|
195
273
|
);
|
|
196
274
|
var costCommand = lazyCommand(
|
|
197
275
|
{
|
|
@@ -199,7 +277,7 @@ var costCommand = lazyCommand(
|
|
|
199
277
|
description: "Show spend across conversations by day and model, from the session logs",
|
|
200
278
|
passThrough: true
|
|
201
279
|
},
|
|
202
|
-
async () => (await import("./cost-
|
|
280
|
+
async () => (await import("./cost-BJKADKEZ.js")).costCommand
|
|
203
281
|
);
|
|
204
282
|
var peersCommand = lazyCommand(
|
|
205
283
|
{
|
|
@@ -207,7 +285,7 @@ var peersCommand = lazyCommand(
|
|
|
207
285
|
description: "List and message live terminals, and manage your Namzu network of machines",
|
|
208
286
|
passThrough: true
|
|
209
287
|
},
|
|
210
|
-
async () => (await import("./peers-
|
|
288
|
+
async () => (await import("./peers-WINODTEB.js")).peersCommand
|
|
211
289
|
);
|
|
212
290
|
var watchCommand = lazyCommand(
|
|
213
291
|
{
|
|
@@ -215,7 +293,7 @@ var watchCommand = lazyCommand(
|
|
|
215
293
|
description: "Follow a running or finished session from another terminal, read-only",
|
|
216
294
|
passThrough: true
|
|
217
295
|
},
|
|
218
|
-
async () => (await import("./watch-
|
|
296
|
+
async () => (await import("./watch-EON3IWRY.js")).watchCommand
|
|
219
297
|
);
|
|
220
298
|
var sendCommand = lazyCommand(
|
|
221
299
|
{
|
|
@@ -223,7 +301,7 @@ var sendCommand = lazyCommand(
|
|
|
223
301
|
description: "Say something to a running session from another terminal",
|
|
224
302
|
passThrough: true
|
|
225
303
|
},
|
|
226
|
-
async () => (await import("./send-
|
|
304
|
+
async () => (await import("./send-FRNTRW2M.js")).sendCommand
|
|
227
305
|
);
|
|
228
306
|
var doctorCommand = lazyCommand(
|
|
229
307
|
{
|
|
@@ -231,16 +309,15 @@ var doctorCommand = lazyCommand(
|
|
|
231
309
|
description: "Run health checks against the local Namzu environment",
|
|
232
310
|
passThrough: true
|
|
233
311
|
},
|
|
234
|
-
async () => (await import("./doctor-
|
|
312
|
+
async () => (await import("./doctor-AIYB27QY.js")).doctorCommand
|
|
235
313
|
);
|
|
236
314
|
var execCommand = lazyCommand(
|
|
237
315
|
{
|
|
238
316
|
name: "exec",
|
|
239
|
-
aliases: ["e"],
|
|
240
317
|
description: "Run a single prompt headlessly: print the reply, or stream events with --json",
|
|
241
318
|
passThrough: true
|
|
242
319
|
},
|
|
243
|
-
async () => (await import("./exec-
|
|
320
|
+
async () => (await import("./exec-2PRVZNUX.js")).execCommand
|
|
244
321
|
);
|
|
245
322
|
var learnCommand = lazyCommand(
|
|
246
323
|
{
|
|
@@ -248,7 +325,7 @@ var learnCommand = lazyCommand(
|
|
|
248
325
|
description: "Learn from what conversations kept, now; list or undo what was learned",
|
|
249
326
|
passThrough: true
|
|
250
327
|
},
|
|
251
|
-
async () => (await import("./learn-
|
|
328
|
+
async () => (await import("./learn-LW4DLSGZ.js")).learnCommand
|
|
252
329
|
);
|
|
253
330
|
var learningCommand = lazyCommand(
|
|
254
331
|
{
|
|
@@ -256,27 +333,19 @@ var learningCommand = lazyCommand(
|
|
|
256
333
|
description: "Inspect learning experiments and the observations they start from",
|
|
257
334
|
passThrough: true
|
|
258
335
|
},
|
|
259
|
-
async () => (await import("./learn-
|
|
336
|
+
async () => (await import("./learn-LW4DLSGZ.js")).learningCommand
|
|
260
337
|
);
|
|
261
|
-
var
|
|
338
|
+
var authCommand = lazyCommand(
|
|
262
339
|
{
|
|
263
|
-
name: "
|
|
264
|
-
description: "Sign in
|
|
340
|
+
name: "auth",
|
|
341
|
+
description: "Sign in or out of a provider, and see which credentials are stored",
|
|
265
342
|
passThrough: true
|
|
266
343
|
},
|
|
267
|
-
async () => (await import("./
|
|
268
|
-
);
|
|
269
|
-
var logoutCommand = lazyCommand(
|
|
270
|
-
{
|
|
271
|
-
name: "logout",
|
|
272
|
-
description: "Remove a credential namzu stored on this machine.",
|
|
273
|
-
passThrough: true
|
|
274
|
-
},
|
|
275
|
-
async () => (await import("./login-KN5KQXOD.js")).logoutCommand
|
|
344
|
+
async () => (await import("./auth-R3RCZZ7U.js")).authCommand
|
|
276
345
|
);
|
|
277
346
|
var mcpCommand = lazyCommand(
|
|
278
347
|
{ name: "mcp", description: "Manage user tool servers", passThrough: true },
|
|
279
|
-
async () => (await import("./mcp-
|
|
348
|
+
async () => (await import("./mcp-AFLRDYNN.js")).mcpCommand
|
|
280
349
|
);
|
|
281
350
|
var drainCommand = lazyCommand(
|
|
282
351
|
{
|
|
@@ -284,11 +353,11 @@ var drainCommand = lazyCommand(
|
|
|
284
353
|
description: "Continue a turn another process left behind (one pass, then exit)",
|
|
285
354
|
passThrough: true
|
|
286
355
|
},
|
|
287
|
-
async () => (await import("./drain-
|
|
356
|
+
async () => (await import("./drain-PYKX4QNR.js")).drainCommand
|
|
288
357
|
);
|
|
289
358
|
var evalCommand = lazyCommand(
|
|
290
359
|
{ name: "eval", description: "Run eval suites and set an exit code", passThrough: true },
|
|
291
|
-
async () => (await import("./eval-
|
|
360
|
+
async () => (await import("./eval-H4NKZYVV.js")).evalCommand
|
|
292
361
|
);
|
|
293
362
|
var historyCommand = lazyCommand(
|
|
294
363
|
{
|
|
@@ -296,7 +365,7 @@ var historyCommand = lazyCommand(
|
|
|
296
365
|
description: "Print a session's persisted messages as JSON (for host UIs)",
|
|
297
366
|
passThrough: true
|
|
298
367
|
},
|
|
299
|
-
async () => (await import("./host-queries-
|
|
368
|
+
async () => (await import("./host-queries-HBW7AW44.js")).historyCommand
|
|
300
369
|
);
|
|
301
370
|
var pluginCommand = lazyCommand(
|
|
302
371
|
{
|
|
@@ -304,7 +373,7 @@ var pluginCommand = lazyCommand(
|
|
|
304
373
|
description: "Check a plugin folder without running anything from it",
|
|
305
374
|
passThrough: true
|
|
306
375
|
},
|
|
307
|
-
async () => (await import("./plugin-
|
|
376
|
+
async () => (await import("./plugin-MLHZ42NZ.js")).pluginCommand
|
|
308
377
|
);
|
|
309
378
|
var extensionCommand = lazyCommand(
|
|
310
379
|
{
|
|
@@ -312,7 +381,7 @@ var extensionCommand = lazyCommand(
|
|
|
312
381
|
description: "Add, read and control extensions: signed programs that list what they ask for",
|
|
313
382
|
passThrough: true
|
|
314
383
|
},
|
|
315
|
-
async () => (await import("./extension-
|
|
384
|
+
async () => (await import("./extension-4233XOZW.js")).extensionCommand
|
|
316
385
|
);
|
|
317
386
|
var hooksCommand = lazyCommand(
|
|
318
387
|
{
|
|
@@ -320,7 +389,7 @@ var hooksCommand = lazyCommand(
|
|
|
320
389
|
description: "Say what runs by itself in a folder: hooks, where from, and whether they are on",
|
|
321
390
|
passThrough: true
|
|
322
391
|
},
|
|
323
|
-
async () => (await import("./hooks-
|
|
392
|
+
async () => (await import("./hooks-AK5S4YUS.js")).hooksCommand
|
|
324
393
|
);
|
|
325
394
|
var configCommand = lazyCommand(
|
|
326
395
|
{
|
|
@@ -328,7 +397,7 @@ var configCommand = lazyCommand(
|
|
|
328
397
|
description: "List, read and change the settings Desktop shows, in your user config file",
|
|
329
398
|
passThrough: true
|
|
330
399
|
},
|
|
331
|
-
async () => (await import("./config-
|
|
400
|
+
async () => (await import("./config-ZMXMX2WY.js")).configCommand
|
|
332
401
|
);
|
|
333
402
|
var skillsCommand = lazyCommand(
|
|
334
403
|
{
|
|
@@ -336,7 +405,7 @@ var skillsCommand = lazyCommand(
|
|
|
336
405
|
description: "List skills available to a working directory",
|
|
337
406
|
passThrough: true
|
|
338
407
|
},
|
|
339
|
-
async () => (await import("./skills-
|
|
408
|
+
async () => (await import("./skills-ICVGYWBH.js")).skillsCommand
|
|
340
409
|
);
|
|
341
410
|
var providersCommand = lazyCommand(
|
|
342
411
|
{
|
|
@@ -344,22 +413,22 @@ var providersCommand = lazyCommand(
|
|
|
344
413
|
description: "List providers and their models",
|
|
345
414
|
passThrough: true
|
|
346
415
|
},
|
|
347
|
-
async () => (await import("./providers-
|
|
416
|
+
async () => (await import("./providers-UOTUEQOJ.js")).providersCommand
|
|
348
417
|
);
|
|
349
|
-
var
|
|
418
|
+
var updateCommand = lazyCommand(
|
|
350
419
|
{
|
|
351
|
-
name: "
|
|
420
|
+
name: "update",
|
|
352
421
|
description: "Update the active global Namzu installation",
|
|
353
422
|
passThrough: true
|
|
354
423
|
},
|
|
355
|
-
async () => (await import("./
|
|
424
|
+
async () => (await import("./update-G7D3YCH5.js")).updateCommand
|
|
356
425
|
);
|
|
357
426
|
var serveCommand = lazyCommand(
|
|
358
427
|
{
|
|
359
428
|
name: "serve",
|
|
360
|
-
description: "
|
|
429
|
+
description: "Print a note on why Namzu needs no server and how sessions run"
|
|
361
430
|
},
|
|
362
|
-
async () => (await import("./serve-
|
|
431
|
+
async () => (await import("./serve-4VIDXLEB.js")).serveCommand
|
|
363
432
|
);
|
|
364
433
|
var stateCommand = lazyCommand(
|
|
365
434
|
{
|
|
@@ -367,7 +436,7 @@ var stateCommand = lazyCommand(
|
|
|
367
436
|
description: "Inspect local Namzu state, or move what an earlier Namzu left in a project",
|
|
368
437
|
passThrough: true
|
|
369
438
|
},
|
|
370
|
-
async () => (await import("./state-
|
|
439
|
+
async () => (await import("./state-2DBTSDEP.js")).stateCommand
|
|
371
440
|
);
|
|
372
441
|
var scheduleCommand = lazyCommand(
|
|
373
442
|
{
|
|
@@ -375,7 +444,7 @@ var scheduleCommand = lazyCommand(
|
|
|
375
444
|
description: "Scheduled jobs that run while namzu is closed, and the service that runs them",
|
|
376
445
|
passThrough: true
|
|
377
446
|
},
|
|
378
|
-
async () => (await import("./schedule-
|
|
447
|
+
async () => (await import("./schedule-TTQUT45H.js")).scheduleCommand
|
|
379
448
|
);
|
|
380
449
|
var browserCommand = lazyCommand(
|
|
381
450
|
{
|
|
@@ -383,7 +452,7 @@ var browserCommand = lazyCommand(
|
|
|
383
452
|
description: "Browser profiles for the browser tools: sign in, list, status, install, remove",
|
|
384
453
|
passThrough: true
|
|
385
454
|
},
|
|
386
|
-
async () => (await import("./browser-
|
|
455
|
+
async () => (await import("./browser-7CFZ6BZS.js")).browserCommand
|
|
387
456
|
);
|
|
388
457
|
var githubCommand = lazyCommand(
|
|
389
458
|
{
|
|
@@ -391,7 +460,7 @@ var githubCommand = lazyCommand(
|
|
|
391
460
|
description: "Run Namzu from GitHub Actions: install workflows that answer mentions and review pull requests",
|
|
392
461
|
passThrough: true
|
|
393
462
|
},
|
|
394
|
-
async () => (await import("./github-
|
|
463
|
+
async () => (await import("./github-IF3JVVJF.js")).githubCommand
|
|
395
464
|
);
|
|
396
465
|
function createLazyPalCommand(resumeCommand) {
|
|
397
466
|
return lazyCommand(
|
|
@@ -400,7 +469,7 @@ function createLazyPalCommand(resumeCommand) {
|
|
|
400
469
|
description: "Create and operate persistent Pals with their own local virtual computers",
|
|
401
470
|
passThrough: true
|
|
402
471
|
},
|
|
403
|
-
async () => (await import("./pal-
|
|
472
|
+
async () => (await import("./pal-ZOH5ILEV.js")).createPalCommand(resumeCommand)
|
|
404
473
|
);
|
|
405
474
|
}
|
|
406
475
|
__name(createLazyPalCommand, "createLazyPalCommand");
|
|
@@ -411,7 +480,7 @@ function createLazyWorktreeCommand(open) {
|
|
|
411
480
|
description: "Create, fork, list and resume managed Git worktrees",
|
|
412
481
|
passThrough: true
|
|
413
482
|
},
|
|
414
|
-
async () => (await import("./worktree-
|
|
483
|
+
async () => (await import("./worktree-A2DNXLOT.js")).createWorktreeCommand(open)
|
|
415
484
|
);
|
|
416
485
|
}
|
|
417
486
|
__name(createLazyWorktreeCommand, "createLazyWorktreeCommand");
|
|
@@ -419,6 +488,11 @@ __name(createLazyWorktreeCommand, "createLazyWorktreeCommand");
|
|
|
419
488
|
// src/cli.ts
|
|
420
489
|
var PER_RUN_FLAG_KEYS = /* @__PURE__ */ new Set([
|
|
421
490
|
"appendSystemPrompt",
|
|
491
|
+
"systemPrompt",
|
|
492
|
+
"tools",
|
|
493
|
+
"name",
|
|
494
|
+
"mcpConfig",
|
|
495
|
+
"strictMcpConfig",
|
|
422
496
|
"allowedTools",
|
|
423
497
|
"disallowedTools",
|
|
424
498
|
"fallbackModel",
|
|
@@ -436,7 +510,7 @@ function addLaunchOptions(command) {
|
|
|
436
510
|
).option(
|
|
437
511
|
"--dangerously-skip-permissions",
|
|
438
512
|
"Start in bypass mode: run tools without asking, except for what always needs a person. Only use in a sandbox or a folder you fully trust."
|
|
439
|
-
).option(
|
|
513
|
+
).option(
|
|
440
514
|
"--allow-dangerously-skip-permissions",
|
|
441
515
|
"Let Shift+Tab reach bypass mode, without starting in it."
|
|
442
516
|
).option(
|
|
@@ -475,11 +549,39 @@ function addLaunchOptions(command) {
|
|
|
475
549
|
).addOption(
|
|
476
550
|
new Option(
|
|
477
551
|
"--permission-mode <mode>",
|
|
478
|
-
"Permission mode for this launch only; wins over --
|
|
552
|
+
"Permission mode for this launch only; wins over --dangerously-skip-permissions. auto lets a second model check each call; bypass runs without asking. /permissions changes it from inside."
|
|
479
553
|
).choices(PERMISSION_MODE_NAMES)
|
|
480
554
|
).option(
|
|
481
555
|
"--append-system-prompt <text|@file>",
|
|
482
556
|
"Add standing instructions for this launch only; @file reads them from a file. They go after the cached part of the prompt, so the cache is untouched."
|
|
557
|
+
).option(
|
|
558
|
+
"--system-prompt <text|@file>",
|
|
559
|
+
"Replace Namzu\u2019s own system prompt text for this launch only; @file reads it from a file. Tools, --append-system-prompt, project instructions and memory still apply."
|
|
560
|
+
).option(
|
|
561
|
+
"--tools <list>",
|
|
562
|
+
'Offer only these tools to the model, e.g. "read edit bash"; "" offers none and "default" offers all. Unlike --allowed-tools this removes tools; it is not a permission rule.'
|
|
563
|
+
).option(
|
|
564
|
+
"-n, --name <name>",
|
|
565
|
+
"Name this conversation; the name shows in /resume and in the terminal title."
|
|
566
|
+
).option(
|
|
567
|
+
"--bare",
|
|
568
|
+
"Minimal start: no hooks, plugins, project instruction files, saved memory notes, learning, code index, background catalogue refresh or update check. See docs/cli/launch-flags.md."
|
|
569
|
+
).option(
|
|
570
|
+
"--teams",
|
|
571
|
+
"Let the Agent tool start named teammates for this launch only (the same as the teams.enabled setting or NAMZU_TEAMS=1). Off in one-shot runs. NAMZU_TEAMS=0 still stops them."
|
|
572
|
+
).option(
|
|
573
|
+
"--debug-file <path>",
|
|
574
|
+
"Write every log record, debug level included, to this file; what appears on screen keeps its usual level. The folders of the path are created."
|
|
575
|
+
).option(
|
|
576
|
+
"--settings <file-or-json>",
|
|
577
|
+
"Add one settings layer for this launch, from a JSON file or an inline JSON object. It wins over your user and project settings and loses to flags."
|
|
578
|
+
).option(
|
|
579
|
+
"--mcp-config <file-or-json>",
|
|
580
|
+
"Add the tool servers in this JSON file (or inline JSON) for this launch; repeatable.",
|
|
581
|
+
collectFlagValue
|
|
582
|
+
).option(
|
|
583
|
+
"--strict-mcp-config",
|
|
584
|
+
"Use only the tool servers named by --mcp-config; none of the configured or project ones start."
|
|
483
585
|
).option(
|
|
484
586
|
"--allowed-tools <list>",
|
|
485
587
|
'Allow these tools without asking for this launch, e.g. "edit bash(git status*)"; repeatable. A deny rule still wins.',
|
|
@@ -510,10 +612,17 @@ function addLaunchOptions(command) {
|
|
|
510
612
|
__name(addLaunchOptions, "addLaunchOptions");
|
|
511
613
|
var EX_USAGE = 64;
|
|
512
614
|
var REMOVED_COMMANDS = {
|
|
615
|
+
spaces: "`namzu spaces` is now `namzu workspaces`.",
|
|
616
|
+
e: "`namzu e` is now `namzu exec`.",
|
|
617
|
+
"config reset": "`namzu config reset` is now `namzu config unset`.",
|
|
618
|
+
"--yolo": "`--yolo` is now `--dangerously-skip-permissions`.",
|
|
513
619
|
run: '`namzu run` was replaced by `namzu exec "<prompt>"`, which takes the same options.',
|
|
514
620
|
"run-stream": '`namzu run-stream` was replaced by `namzu exec --json "<prompt>"`, which emits the same events.',
|
|
515
621
|
"skills-json": "This command is now `namzu skills list --json`.",
|
|
516
|
-
"providers-json": "This command is now `namzu providers list --json`."
|
|
622
|
+
"providers-json": "This command is now `namzu providers list --json`.",
|
|
623
|
+
upgrade: "`namzu upgrade` is now `namzu update`.",
|
|
624
|
+
login: "`namzu login` is now `namzu auth login`.",
|
|
625
|
+
logout: "`namzu logout` is now `namzu auth logout`."
|
|
517
626
|
};
|
|
518
627
|
var CATALOGUE_REFRESH_COMMANDS = /* @__PURE__ */ new Set(["exec", "acp", "drain"]);
|
|
519
628
|
function opensSessions(name) {
|
|
@@ -522,6 +631,8 @@ function opensSessions(name) {
|
|
|
522
631
|
__name(opensSessions, "opensSessions");
|
|
523
632
|
async function runCli(opts) {
|
|
524
633
|
let exitCode = 0;
|
|
634
|
+
let helpArgv = opts.argv;
|
|
635
|
+
let setAsideHome;
|
|
525
636
|
const setExitCode = /* @__PURE__ */ __name((code) => {
|
|
526
637
|
exitCode = code;
|
|
527
638
|
}, "setExitCode");
|
|
@@ -555,7 +666,10 @@ async function runCli(opts) {
|
|
|
555
666
|
if (rt === void 0) throw new Error("the CLI runtime is used before a command started");
|
|
556
667
|
return rt;
|
|
557
668
|
}, "runtime");
|
|
558
|
-
const program = new Command().name("namzu").description("Operator CLI for the Namzu agent platform").
|
|
669
|
+
const program = new Command().name("namzu").description("Operator CLI for the Namzu agent platform").argument(
|
|
670
|
+
"[prompt]",
|
|
671
|
+
"First message of the interactive session, sent as a plain prompt (never a slash command). With -p it is answered without opening the session."
|
|
672
|
+
).version(CLI_VERSION, "-V, --version", "Print version and exit").addOption(
|
|
559
673
|
new Option("-f, --format <type>", "Output format: text, json, yaml").choices([
|
|
560
674
|
"text",
|
|
561
675
|
"json",
|
|
@@ -568,22 +682,17 @@ async function runCli(opts) {
|
|
|
568
682
|
"--log-format <format>",
|
|
569
683
|
"Log record format for exec/drain/TUI-flush output: pretty (default) or json. namzu exec --json always writes json, regardless of this flag."
|
|
570
684
|
).choices(["pretty", "json"])
|
|
571
|
-
).addOption(
|
|
572
|
-
new Option(
|
|
573
|
-
"--max-budget-usd <amount>",
|
|
574
|
-
"Spend limit in dollars. It belongs to a headless run: pass it after exec."
|
|
575
|
-
).hideHelp()
|
|
576
685
|
).option(
|
|
577
|
-
"--
|
|
578
|
-
|
|
579
|
-
).option("-c, --continue", "Continue the most recent conversation in this directory.").option(
|
|
686
|
+
"-p, --print",
|
|
687
|
+
'Answer one prompt and exit, without opening the session: `namzu -p "<prompt>"` is `namzu exec "<prompt>"`. It takes the options of `namzu exec`, such as --output-format text|json|stream-json, --input-format text|stream-json and --max-budget-usd; piped input is read the same way. See `namzu exec --help`.'
|
|
688
|
+
).addOption(new Option("--output-format <format>", "Needs -p.").hideHelp()).addOption(new Option("--input-format <format>", "Needs -p.").hideHelp()).addOption(new Option("--max-budget-usd <amount>", "Needs -p.").hideHelp()).addOption(new Option("--message <text>", 'First message; use namzu "<text>".').hideHelp()).option("-c, --continue", "Continue the most recent conversation in this directory.").option(
|
|
580
689
|
"-r, --resume [value]",
|
|
581
690
|
"Resume a conversation by id or exact title; with no value, or a value that matches no title, open the picker (the value pre-filters it)."
|
|
582
691
|
).option(
|
|
583
692
|
"--from-pr [value]",
|
|
584
693
|
"Open the picker with only the conversations linked to a pull request; a number or address narrows it to that one."
|
|
585
694
|
).hook("preAction", async (command, action) => {
|
|
586
|
-
rt ??= await import("./cli-runtime-
|
|
695
|
+
rt ??= await import("./cli-runtime-P6LCHPBA.js");
|
|
587
696
|
if (action.name() === "resume") {
|
|
588
697
|
for (const option of action.options) {
|
|
589
698
|
const key = option.attributeName();
|
|
@@ -601,54 +710,90 @@ async function runCli(opts) {
|
|
|
601
710
|
if (usesCustomNetwork(process.env)) {
|
|
602
711
|
await (await import("./install-F6PU4SYH.js")).installNetwork();
|
|
603
712
|
}
|
|
604
|
-
const
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
"fallbackModel",
|
|
618
|
-
"maxBudgetUsd",
|
|
619
|
-
"maxOutputTokens",
|
|
620
|
-
"account"
|
|
621
|
-
].filter((key) => command.opts()[key] !== void 0);
|
|
622
|
-
if (launchOnly.length > 0 && !["namzu", "resume"].includes(action.name())) {
|
|
623
|
-
const flags = launchOnly.map(
|
|
624
|
-
(key) => `--${key.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`)}`
|
|
625
|
-
);
|
|
626
|
-
const perRun = launchOnly.some((key) => PER_RUN_FLAG_KEYS.has(key));
|
|
627
|
-
command.error(
|
|
628
|
-
action.name() === "exec" || action.name() === "drain" && !perRun ? `${flags.join(", ")} before the command apply to the interactive TUI; for ${action.name()}, pass them after it: namzu ${action.name()} ${flags[0]} <value> "<prompt>".` : `${flags.join(", ")} apply to the interactive TUI, not this subcommand.`,
|
|
629
|
-
{ exitCode: EX_USAGE, code: "commander.invalidArgument" }
|
|
630
|
-
);
|
|
631
|
-
}
|
|
632
|
-
if (action.name() === "resume" && (command.opts().continue !== void 0 || command.opts().resume !== void 0 || command.opts().fromPr !== void 0))
|
|
633
|
-
command.error(
|
|
634
|
-
"--continue, --resume and --from-pr choose a conversation to open; `namzu resume <conversation-id>` already names one.",
|
|
635
|
-
{ exitCode: EX_USAGE, code: "commander.invalidArgument" }
|
|
636
|
-
);
|
|
637
|
-
if (action.name() === "resume" && command.opts().message !== void 0)
|
|
638
|
-
command.error(
|
|
639
|
-
"--message is the first message of a new conversation; it is not sent when resuming one.",
|
|
640
|
-
{ exitCode: EX_USAGE, code: "commander.invalidArgument" }
|
|
641
|
-
);
|
|
642
|
-
if (command.opts().outputSchema && !["namzu", "resume"].includes(action.name())) {
|
|
643
|
-
command.error(
|
|
644
|
-
action.name() === "exec" ? '--output-schema before the command applies to the interactive TUI; for exec, pass it after: namzu exec --output-schema <file> "<prompt>".' : "--output-schema applies to the interactive TUI and to exec, not this subcommand.",
|
|
645
|
-
{
|
|
713
|
+
const launchValues = command.opts();
|
|
714
|
+
const layers = runtime().launchLayersFor(launchValues);
|
|
715
|
+
if ("error" in layers)
|
|
716
|
+
return command.error(layers.error, {
|
|
717
|
+
exitCode: EX_USAGE,
|
|
718
|
+
code: "commander.invalidArgument"
|
|
719
|
+
});
|
|
720
|
+
launchLayers = layers.layers;
|
|
721
|
+
if (launchValues.debugFile !== void 0) {
|
|
722
|
+
try {
|
|
723
|
+
runtime().openDebugFile(launchValues.debugFile);
|
|
724
|
+
} catch (error) {
|
|
725
|
+
command.error(error.message, {
|
|
646
726
|
exitCode: EX_USAGE,
|
|
647
727
|
code: "commander.invalidArgument"
|
|
648
|
-
}
|
|
649
|
-
|
|
728
|
+
});
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
if (!asksForHelp(helpArgv)) {
|
|
732
|
+
const launchOnly = [
|
|
733
|
+
"provider",
|
|
734
|
+
"model",
|
|
735
|
+
"effort",
|
|
736
|
+
"fast",
|
|
737
|
+
"permissionMode",
|
|
738
|
+
"message",
|
|
739
|
+
"continue",
|
|
740
|
+
"resume",
|
|
741
|
+
"fromPr",
|
|
742
|
+
"appendSystemPrompt",
|
|
743
|
+
"systemPrompt",
|
|
744
|
+
"tools",
|
|
745
|
+
"name",
|
|
746
|
+
"mcpConfig",
|
|
747
|
+
"strictMcpConfig",
|
|
748
|
+
"allowedTools",
|
|
749
|
+
"disallowedTools",
|
|
750
|
+
"fallbackModel",
|
|
751
|
+
"maxOutputTokens",
|
|
752
|
+
"account"
|
|
753
|
+
].filter((key) => command.opts()[key] !== void 0);
|
|
754
|
+
if (launchOnly.length > 0 && !["namzu", "resume"].includes(action.name())) {
|
|
755
|
+
const flags = launchOnly.map(
|
|
756
|
+
(key) => `--${key.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`)}`
|
|
757
|
+
);
|
|
758
|
+
const perRun = launchOnly.some((key) => PER_RUN_FLAG_KEYS.has(key));
|
|
759
|
+
command.error(
|
|
760
|
+
action.name() === "exec" || action.name() === "drain" && !perRun ? `${flags.join(", ")} before the command apply to the interactive TUI; for ${action.name()}, pass them after it: namzu ${action.name()} ${flags[0]} <value> "<prompt>".` : `${flags.join(", ")} apply to the interactive TUI, not this subcommand.`,
|
|
761
|
+
{ exitCode: EX_USAGE, code: "commander.invalidArgument" }
|
|
762
|
+
);
|
|
763
|
+
}
|
|
764
|
+
if (action.name() === "resume" && (command.opts().continue !== void 0 || command.opts().resume !== void 0 || command.opts().fromPr !== void 0))
|
|
765
|
+
command.error(
|
|
766
|
+
"--continue, --resume and --from-pr choose a conversation to open; `namzu resume <conversation-id>` already names one.",
|
|
767
|
+
{ exitCode: EX_USAGE, code: "commander.invalidArgument" }
|
|
768
|
+
);
|
|
769
|
+
if (action.name() === "resume" && command.opts().message !== void 0)
|
|
770
|
+
command.error(
|
|
771
|
+
"The first message starts a new conversation; it is not sent when resuming one.",
|
|
772
|
+
{ exitCode: EX_USAGE, code: "commander.invalidArgument" }
|
|
773
|
+
);
|
|
774
|
+
const needsPrint = [
|
|
775
|
+
["outputFormat", "--output-format"],
|
|
776
|
+
["inputFormat", "--input-format"],
|
|
777
|
+
["maxBudgetUsd", "--max-budget-usd"]
|
|
778
|
+
].filter(([key]) => command.opts()[key] !== void 0);
|
|
779
|
+
if (needsPrint.length > 0) {
|
|
780
|
+
const names = needsPrint.map(([, flag]) => flag);
|
|
781
|
+
command.error(
|
|
782
|
+
`${names.join(", ")} ${names.length === 1 ? "needs" : "need"} -p: namzu -p ${names[0]} <value> "<prompt>". For a subcommand, write it after the command.`,
|
|
783
|
+
{ exitCode: EX_USAGE, code: "commander.invalidArgument" }
|
|
784
|
+
);
|
|
785
|
+
}
|
|
786
|
+
if (command.opts().outputSchema && !["namzu", "resume"].includes(action.name())) {
|
|
787
|
+
command.error(
|
|
788
|
+
action.name() === "exec" ? '--output-schema before the command applies to the interactive TUI; for exec, pass it after: namzu exec --output-schema <file> "<prompt>".' : "--output-schema applies to the interactive TUI and to exec, not this subcommand.",
|
|
789
|
+
{
|
|
790
|
+
exitCode: EX_USAGE,
|
|
791
|
+
code: "commander.invalidArgument"
|
|
792
|
+
}
|
|
793
|
+
);
|
|
794
|
+
}
|
|
650
795
|
}
|
|
651
|
-
if (opensSessions(action.name())) {
|
|
796
|
+
if (opensSessions(action.name()) && !asksForHelp(helpArgv)) {
|
|
652
797
|
beginCatalogueRefresh(getBootstrapContext().config);
|
|
653
798
|
}
|
|
654
799
|
}).enablePositionalOptions(true).exitOverride().showHelpAfterError(false).configureOutput({
|
|
@@ -687,14 +832,17 @@ async function runCli(opts) {
|
|
|
687
832
|
formatter: createFormatter(format, { quiet }),
|
|
688
833
|
config: { ...fileConfig, format, quiet },
|
|
689
834
|
configDebug,
|
|
690
|
-
logging
|
|
835
|
+
logging,
|
|
836
|
+
...globalOpts.bare === true ? { bare: true } : {}
|
|
691
837
|
};
|
|
692
838
|
}, "buildContext");
|
|
839
|
+
let launchLayers = [];
|
|
693
840
|
const selectedConfigOpts = /* @__PURE__ */ __name((cwd) => {
|
|
694
841
|
const profile = program.opts().profile;
|
|
695
842
|
return {
|
|
696
843
|
...profile !== void 0 ? { profile } : {},
|
|
697
|
-
...cwd !== void 0 ? { cwd } : {}
|
|
844
|
+
...cwd !== void 0 ? { cwd } : {},
|
|
845
|
+
...launchLayers.length > 0 ? { launchLayers } : {}
|
|
698
846
|
};
|
|
699
847
|
}, "selectedConfigOpts");
|
|
700
848
|
let bootstrapCtx = null;
|
|
@@ -789,8 +937,7 @@ async function runCli(opts) {
|
|
|
789
937
|
execCommand,
|
|
790
938
|
learnCommand,
|
|
791
939
|
learningCommand,
|
|
792
|
-
|
|
793
|
-
logoutCommand,
|
|
940
|
+
authCommand,
|
|
794
941
|
mcpCommand,
|
|
795
942
|
drainCommand,
|
|
796
943
|
evalCommand,
|
|
@@ -802,7 +949,7 @@ async function runCli(opts) {
|
|
|
802
949
|
skillsCommand,
|
|
803
950
|
workspacesCommand,
|
|
804
951
|
providersCommand,
|
|
805
|
-
|
|
952
|
+
updateCommand,
|
|
806
953
|
serveCommand,
|
|
807
954
|
stateCommand,
|
|
808
955
|
scheduleCommand,
|
|
@@ -811,18 +958,19 @@ async function runCli(opts) {
|
|
|
811
958
|
githubCommand
|
|
812
959
|
]) {
|
|
813
960
|
registerCommandOrLazy(program, def, {
|
|
814
|
-
getContext: def === learnCommand || def === learningCommand ? getLearningContext : def === stateCommand || def === worktreeCommand || def === mcpCommand || def === archiveCommand || def === costCommand ? getRecoveryContext : def === palCommand || def === computerCommand || def === acpCommand || def === execCommand || def === drainCommand || def === skillsCommand || def === hooksCommand || def === configCommand || def === extensionCommand || def === pluginCommand || def ===
|
|
961
|
+
getContext: def === learnCommand || def === learningCommand ? getLearningContext : def === stateCommand || def === worktreeCommand || def === mcpCommand || def === archiveCommand || 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,
|
|
815
962
|
setExitCode
|
|
816
963
|
});
|
|
817
964
|
}
|
|
965
|
+
let launchPrompt;
|
|
818
966
|
const launchInteractiveTui = /* @__PURE__ */ __name(async (initialConversationId, pickConversation = false) => {
|
|
819
967
|
if (process.stdout.isTTY) {
|
|
820
968
|
const launchOpts = program.opts();
|
|
821
969
|
let conversationId = initialConversationId;
|
|
822
970
|
let openResumePicker = pickConversation ? {} : void 0;
|
|
823
971
|
if (conversationId === void 0 && (launchOpts.continue || launchOpts.resume !== void 0 || launchOpts.fromPr !== void 0)) {
|
|
824
|
-
const { resolveTuiResume } = await import("./resume-
|
|
825
|
-
const { openSessions, closeSessions } = await import("./store-
|
|
972
|
+
const { resolveTuiResume } = await import("./resume-AYWSKWEX.js");
|
|
973
|
+
const { openSessions, closeSessions } = await import("./store-CZGKLVTT.js");
|
|
826
974
|
let sessions = null;
|
|
827
975
|
try {
|
|
828
976
|
sessions = await openSessions(process.cwd());
|
|
@@ -855,7 +1003,7 @@ async function runCli(opts) {
|
|
|
855
1003
|
...outcome.pr === void 0 ? {} : { pr: outcome.pr }
|
|
856
1004
|
};
|
|
857
1005
|
}
|
|
858
|
-
const structuredOutput = launchOpts.outputSchema ? (await import("./output-schema-
|
|
1006
|
+
const structuredOutput = launchOpts.outputSchema ? (await import("./output-schema-DSR56W6A.js")).loadOutputSchema(
|
|
859
1007
|
resolve(process.cwd(), launchOpts.outputSchema)
|
|
860
1008
|
) : void 0;
|
|
861
1009
|
if (launchOpts.maxBudgetUsd !== void 0) {
|
|
@@ -868,6 +1016,8 @@ async function runCli(opts) {
|
|
|
868
1016
|
const runFlags = runtime().resolveRunFlags(
|
|
869
1017
|
{
|
|
870
1018
|
appendSystemPrompt: launchOpts.appendSystemPrompt ?? null,
|
|
1019
|
+
systemPrompt: launchOpts.systemPrompt ?? null,
|
|
1020
|
+
tools: launchOpts.tools ?? null,
|
|
871
1021
|
allowedTools: launchOpts.allowedTools ?? [],
|
|
872
1022
|
disallowedTools: launchOpts.disallowedTools ?? [],
|
|
873
1023
|
fallbackModels: launchOpts.fallbackModel ?? []
|
|
@@ -879,7 +1029,7 @@ async function runCli(opts) {
|
|
|
879
1029
|
setExitCode(EX_USAGE);
|
|
880
1030
|
return;
|
|
881
1031
|
}
|
|
882
|
-
const skipPermissions = Boolean(launchOpts.dangerouslySkipPermissions
|
|
1032
|
+
const skipPermissions = Boolean(launchOpts.dangerouslySkipPermissions);
|
|
883
1033
|
const permissionPlanFor = /* @__PURE__ */ __name((config) => runtime().planLaunchMode({
|
|
884
1034
|
permissionModeFlag: launchOpts.permissionMode,
|
|
885
1035
|
skipPermissions,
|
|
@@ -915,8 +1065,8 @@ async function runCli(opts) {
|
|
|
915
1065
|
const provider = (launchOpts.provider ?? modelEnvironment.provider)?.trim();
|
|
916
1066
|
let launchAccount;
|
|
917
1067
|
if (launchOpts.account !== void 0) {
|
|
918
|
-
const { openCliAccounts } = await import("./open-
|
|
919
|
-
const { findAccountByName } = await import("./binding-
|
|
1068
|
+
const { openCliAccounts } = await import("./open-Z3BELFL7.js");
|
|
1069
|
+
const { findAccountByName } = await import("./binding-5UJYMFMU.js");
|
|
920
1070
|
let found;
|
|
921
1071
|
try {
|
|
922
1072
|
found = findAccountByName(openCliAccounts().registry, launchOpts.account);
|
|
@@ -953,12 +1103,29 @@ async function runCli(opts) {
|
|
|
953
1103
|
...launchOpts.fast !== true && savedConfig.fast === true ? { savedFast: true } : {},
|
|
954
1104
|
...!effort && savedConfig.effort ? { savedEffort: savedConfig.effort } : {},
|
|
955
1105
|
...launchPlan.source === "launch-flag" || launchPlan.source === "config-default" ? { permissionMode: launchPlan.mode } : {},
|
|
956
|
-
...
|
|
1106
|
+
...launchPrompt?.trim() ? { message: launchPrompt } : {},
|
|
1107
|
+
...launchOpts.name?.trim() ? { name: launchOpts.name.trim() } : {},
|
|
957
1108
|
...launchOpts.fallbackModel?.length ? { fallbackModels: launchOpts.fallbackModel } : {}
|
|
958
1109
|
};
|
|
959
1110
|
const commandCtx = getBootstrapContext();
|
|
960
1111
|
beginCatalogueRefresh(commandCtx.config);
|
|
1112
|
+
const mcpCheck = runtime().launchMcpServers(
|
|
1113
|
+
commandCtx.config.mcpServers,
|
|
1114
|
+
launchOpts.mcpConfig ?? [],
|
|
1115
|
+
launchOpts.strictMcpConfig === true
|
|
1116
|
+
);
|
|
1117
|
+
if ("error" in mcpCheck) {
|
|
1118
|
+
commandCtx.formatter.error({ message: mcpCheck.error });
|
|
1119
|
+
setExitCode(EX_USAGE);
|
|
1120
|
+
return;
|
|
1121
|
+
}
|
|
961
1122
|
const buildTuiContext = /* @__PURE__ */ __name((resolvedCtx, cwd) => {
|
|
1123
|
+
const launchMcp = runtime().launchMcpServers(
|
|
1124
|
+
resolvedCtx.config.mcpServers,
|
|
1125
|
+
launchOpts.mcpConfig ?? [],
|
|
1126
|
+
launchOpts.strictMcpConfig === true
|
|
1127
|
+
);
|
|
1128
|
+
if ("error" in launchMcp) throw new Error(launchMcp.error);
|
|
962
1129
|
runtime().warnLegacyMcpPermissionNames(resolvedCtx.config.permissions);
|
|
963
1130
|
runtime().warnBroadAllowRules(cwd, runtime().cliLogger());
|
|
964
1131
|
const permissions = runtime().compilePermissionLayers(
|
|
@@ -1000,6 +1167,9 @@ async function runCli(opts) {
|
|
|
1000
1167
|
// may name a default of its own or switch auto off.
|
|
1001
1168
|
permissionSource: launchPlan.source === "auto-default" && fullPlan?.source !== "auto-default" ? "default" : launchPlan.source,
|
|
1002
1169
|
...runFlags.appendSystem ? { appendSystem: runFlags.appendSystem } : {},
|
|
1170
|
+
...runFlags.replaceSystem ? { replaceSystem: runFlags.replaceSystem } : {},
|
|
1171
|
+
...runFlags.onlyTools ? { onlyTools: runFlags.onlyTools } : {},
|
|
1172
|
+
...launchOpts.bare === true ? { bare: true } : {},
|
|
1003
1173
|
// The project's own file may close bypass or auto for its folder, so the
|
|
1004
1174
|
// door is recomputed from the full configuration.
|
|
1005
1175
|
bypassAvailable: fullPlan?.bypassAvailable === true,
|
|
@@ -1012,7 +1182,8 @@ async function runCli(opts) {
|
|
|
1012
1182
|
logging: resolvedCtx.logging,
|
|
1013
1183
|
...conversationId ? { initialConversationId: conversationId } : {},
|
|
1014
1184
|
...openResumePicker ? { openResumePicker } : {},
|
|
1015
|
-
...
|
|
1185
|
+
...launchMcp.servers ? { mcpServers: launchMcp.servers } : {},
|
|
1186
|
+
...resolvedCtx.config.disableMcpSkills === true ? { disableMcpSkills: true } : {},
|
|
1016
1187
|
...resolvedCtx.config.plugins ? { plugins: resolvedCtx.config.plugins } : {},
|
|
1017
1188
|
...resolvedCtx.config.skills ? { skills: resolvedCtx.config.skills } : {},
|
|
1018
1189
|
...resolvedCtx.config.composerTriggers ? { composerTriggers: resolvedCtx.config.composerTriggers } : {},
|
|
@@ -1025,6 +1196,7 @@ async function runCli(opts) {
|
|
|
1025
1196
|
...resolvedCtx.config.smallModel ? { smallModel: resolvedCtx.config.smallModel } : {},
|
|
1026
1197
|
...resolvedCtx.config.hooks ? { hooks: resolvedCtx.config.hooks } : {},
|
|
1027
1198
|
...hookSwitch(resolvedCtx.config) ? { hooksSwitch: hookSwitch(resolvedCtx.config) } : {},
|
|
1199
|
+
...resolvedCtx.config.disableSkillShellExecution === true ? { skillShellDisabled: true } : {},
|
|
1028
1200
|
...resolvedCtx.config.statusLine ? { statusLine: resolvedCtx.config.statusLine } : {},
|
|
1029
1201
|
...resolvedCtx.config.compaction ? { compaction: resolvedCtx.config.compaction } : {},
|
|
1030
1202
|
...resolvedCtx.config.memory ? { memory: resolvedCtx.config.memory } : {},
|
|
@@ -1048,10 +1220,14 @@ async function runCli(opts) {
|
|
|
1048
1220
|
...resolvedCtx.config.sandbox ? { sandbox: resolvedCtx.config.sandbox } : {},
|
|
1049
1221
|
...resolvedCtx.config.decision ? { decision: resolvedCtx.config.decision } : {},
|
|
1050
1222
|
...resolvedCtx.config.codeAnalysis ? { codeAnalysis: resolvedCtx.config.codeAnalysis } : {},
|
|
1223
|
+
...resolvedCtx.config.imageGeneration ? { imageGeneration: resolvedCtx.config.imageGeneration } : {},
|
|
1224
|
+
readTeams: /* @__PURE__ */ __name(() => refreshTrustedProjectContext(commandCtx, cwd).config.teams, "readTeams"),
|
|
1225
|
+
readImageGenerationEnabled: /* @__PURE__ */ __name(() => refreshTrustedProjectContext(commandCtx, cwd).config.imageGeneration?.enabled !== false, "readImageGenerationEnabled"),
|
|
1051
1226
|
...resolvedCtx.config.computerUse ? { computerUse: resolvedCtx.config.computerUse } : {},
|
|
1052
1227
|
// Read again from the files each turn: the setting is changed in `/config` or
|
|
1053
1228
|
// Settings while a conversation is open, and applies from the next message.
|
|
1054
1229
|
readComputerUseEnabled: /* @__PURE__ */ __name(() => refreshTrustedProjectContext(commandCtx, cwd).config.computerUse?.enabled === true, "readComputerUseEnabled"),
|
|
1230
|
+
readBrowserWindows: /* @__PURE__ */ __name(() => refreshTrustedProjectContext(commandCtx, cwd).config.computerUse?.browserWindows ?? "ask", "readBrowserWindows"),
|
|
1055
1231
|
...resolvedCtx.config.progressNudge ? { progressNudge: resolvedCtx.config.progressNudge } : {},
|
|
1056
1232
|
// A configured `routing` block makes Auto an available choice;
|
|
1057
1233
|
// `model: auto` makes it the default, and only when nothing pins a
|
|
@@ -1078,7 +1254,7 @@ async function runCli(opts) {
|
|
|
1078
1254
|
tuiCtx,
|
|
1079
1255
|
(cwd) => buildTuiContext(resolveTrustedProjectContext(commandCtx, cwd), cwd)
|
|
1080
1256
|
);
|
|
1081
|
-
const { launchTui } = await import("./tui-
|
|
1257
|
+
const { launchTui } = await import("./tui-Q7ED7VFI.js");
|
|
1082
1258
|
const resumeCommand = launchOpts.outputSchema ? [
|
|
1083
1259
|
...opts.resumeCommand ?? ["namzu"],
|
|
1084
1260
|
"--output-schema",
|
|
@@ -1104,7 +1280,7 @@ async function runCli(opts) {
|
|
|
1104
1280
|
await launchInteractiveTui(void 0, true);
|
|
1105
1281
|
return;
|
|
1106
1282
|
}
|
|
1107
|
-
const { scheduledSessionElsewhere } = await import("./resume-command-
|
|
1283
|
+
const { scheduledSessionElsewhere } = await import("./resume-command-FXT3KGLC.js");
|
|
1108
1284
|
const elsewhere = scheduledSessionElsewhere(
|
|
1109
1285
|
runtime().resolveNamzuHome(),
|
|
1110
1286
|
conversationId,
|
|
@@ -1121,19 +1297,53 @@ async function runCli(opts) {
|
|
|
1121
1297
|
}
|
|
1122
1298
|
await launchInteractiveTui(conversationId);
|
|
1123
1299
|
});
|
|
1124
|
-
program.
|
|
1300
|
+
program.command("help").description("Show help for a command: namzu help <command> [action...]").argument("[command]").argument("[action...]");
|
|
1301
|
+
program.action(async (prompt) => {
|
|
1302
|
+
const hidden = program.opts().message;
|
|
1303
|
+
const given = [prompt, hidden, promptAfterDashes].filter((text) => text !== void 0);
|
|
1304
|
+
if (given.length > 1)
|
|
1305
|
+
program.error('Give the first message once: namzu "<text>".', {
|
|
1306
|
+
exitCode: EX_USAGE,
|
|
1307
|
+
code: "commander.invalidArgument"
|
|
1308
|
+
});
|
|
1309
|
+
launchPrompt = prompt ?? hidden ?? promptAfterDashes;
|
|
1125
1310
|
await launchInteractiveTui();
|
|
1126
1311
|
});
|
|
1312
|
+
let argv = opts.argv;
|
|
1313
|
+
let promptAfterDashes;
|
|
1314
|
+
const dashed = dashedPrompt(program, argv.slice(2));
|
|
1315
|
+
if (dashed !== void 0) {
|
|
1316
|
+
argv = argv.slice(0, 2 + dashed.index);
|
|
1317
|
+
promptAfterDashes = dashed.prompt;
|
|
1318
|
+
}
|
|
1319
|
+
const printed = printModeArgs(program, argv.slice(2));
|
|
1320
|
+
if (printed !== void 0) argv = [...argv.slice(0, 2), ...printed];
|
|
1321
|
+
else {
|
|
1322
|
+
const hoisted = hoistExecLaunchFlags(program, argv.slice(2));
|
|
1323
|
+
if (hoisted !== void 0) argv = [...argv.slice(0, 2), ...hoisted];
|
|
1324
|
+
}
|
|
1127
1325
|
try {
|
|
1128
|
-
const
|
|
1129
|
-
|
|
1130
|
-
|
|
1326
|
+
const helpOf = helpTarget(program, argv);
|
|
1327
|
+
argv = [...rewriteHelpCommand(program, argv)];
|
|
1328
|
+
helpArgv = argv;
|
|
1329
|
+
if (asksForHelp(argv) && process.env.NAMZU_HOME !== void 0) {
|
|
1330
|
+
setAsideHome = { value: process.env.NAMZU_HOME };
|
|
1331
|
+
delete process.env.NAMZU_HOME;
|
|
1332
|
+
}
|
|
1333
|
+
const hint = removedSpellingHint(program, argv.slice(2));
|
|
1334
|
+
if (hint !== void 0) {
|
|
1131
1335
|
program.error(hint, {
|
|
1132
1336
|
exitCode: EX_USAGE,
|
|
1133
1337
|
code: "commander.unknownCommand"
|
|
1134
1338
|
});
|
|
1135
1339
|
}
|
|
1136
|
-
|
|
1340
|
+
if (helpOf !== void 0 && !isCommandName(program, helpOf)) {
|
|
1341
|
+
program.error(`unknown command '${helpOf}'`, {
|
|
1342
|
+
exitCode: EX_USAGE,
|
|
1343
|
+
code: "commander.unknownCommand"
|
|
1344
|
+
});
|
|
1345
|
+
}
|
|
1346
|
+
await program.parseAsync(argv, { from: "node" });
|
|
1137
1347
|
return exitCode;
|
|
1138
1348
|
} catch (err) {
|
|
1139
1349
|
if (err instanceof CommanderError) {
|
|
@@ -1156,16 +1366,98 @@ namzu will not start with an explicit config value it cannot honour. ${remediati
|
|
|
1156
1366
|
);
|
|
1157
1367
|
return EXIT_BAD_CONFIG;
|
|
1158
1368
|
}
|
|
1159
|
-
const { reportCrash } = await import("./crash-report-
|
|
1369
|
+
const { reportCrash } = await import("./crash-report-OJHGVRD7.js");
|
|
1160
1370
|
process.stderr.write(reportCrash(err));
|
|
1161
1371
|
return EXIT_INTERNAL_ERROR;
|
|
1162
1372
|
} finally {
|
|
1373
|
+
if (setAsideHome !== void 0) process.env.NAMZU_HOME = setAsideHome.value;
|
|
1163
1374
|
catalogueRefresh?.cancel();
|
|
1164
1375
|
await (await otlpExport)?.shutdown();
|
|
1165
1376
|
}
|
|
1166
1377
|
}
|
|
1167
1378
|
__name(runCli, "runCli");
|
|
1168
|
-
|
|
1379
|
+
var PRINT_ROOT_FLAGS = /* @__PURE__ */ new Set([
|
|
1380
|
+
"-q",
|
|
1381
|
+
"--quiet",
|
|
1382
|
+
"-v",
|
|
1383
|
+
"--verbose",
|
|
1384
|
+
"--debug",
|
|
1385
|
+
"--bare",
|
|
1386
|
+
"--teams"
|
|
1387
|
+
]);
|
|
1388
|
+
var PRINT_ROOT_VALUE_FLAGS = /* @__PURE__ */ new Set([
|
|
1389
|
+
"-f",
|
|
1390
|
+
"--format",
|
|
1391
|
+
"--log-format",
|
|
1392
|
+
"--settings",
|
|
1393
|
+
"--debug-file"
|
|
1394
|
+
]);
|
|
1395
|
+
function printModeArgs(program, args) {
|
|
1396
|
+
const end = args.indexOf("--");
|
|
1397
|
+
const head = end === -1 ? args : args.slice(0, end);
|
|
1398
|
+
if (!head.some((arg) => arg === "-p" || arg === "--print")) return void 0;
|
|
1399
|
+
const first = firstRootOperand(program, head);
|
|
1400
|
+
if (first !== void 0 && isCommandName(program, first)) return void 0;
|
|
1401
|
+
if (first !== void 0 && Object.hasOwn(REMOVED_COMMANDS, first)) return void 0;
|
|
1402
|
+
const root = [];
|
|
1403
|
+
const rest = [];
|
|
1404
|
+
for (let i = 0; i < head.length; i++) {
|
|
1405
|
+
const arg = head[i];
|
|
1406
|
+
if (PRINT_ROOT_FLAGS.has(arg)) root.push(arg);
|
|
1407
|
+
else if (PRINT_ROOT_VALUE_FLAGS.has(arg)) {
|
|
1408
|
+
root.push(arg);
|
|
1409
|
+
if (i + 1 < head.length) root.push(head[++i]);
|
|
1410
|
+
} else if (arg.startsWith("--format=") || arg.startsWith("--log-format=") || arg.startsWith("--settings=") || arg.startsWith("--debug-file="))
|
|
1411
|
+
root.push(arg);
|
|
1412
|
+
else rest.push(arg);
|
|
1413
|
+
}
|
|
1414
|
+
return [...root, "exec", ...rest, ...args.slice(head.length)];
|
|
1415
|
+
}
|
|
1416
|
+
__name(printModeArgs, "printModeArgs");
|
|
1417
|
+
function hoistExecLaunchFlags(program, args) {
|
|
1418
|
+
let at = -1;
|
|
1419
|
+
for (let i = 0; i < args.length; i++) {
|
|
1420
|
+
if (args[i] === "--") return void 0;
|
|
1421
|
+
if (args[i] === "exec" && firstRootOperand(program, args.slice(0, i + 1)) === "exec") {
|
|
1422
|
+
at = i;
|
|
1423
|
+
break;
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
if (at === -1) return void 0;
|
|
1427
|
+
const end = args.indexOf("--", at);
|
|
1428
|
+
const tail = end === -1 ? args.slice(at + 1) : args.slice(at + 1, end);
|
|
1429
|
+
const moved = [];
|
|
1430
|
+
const kept = [];
|
|
1431
|
+
for (let i = 0; i < tail.length; i++) {
|
|
1432
|
+
const arg = tail[i];
|
|
1433
|
+
if (arg === "--bare" || arg === "--teams") moved.push(arg);
|
|
1434
|
+
else if (arg === "--settings" || arg === "--debug-file") {
|
|
1435
|
+
moved.push(arg);
|
|
1436
|
+
if (i + 1 < tail.length) moved.push(tail[++i]);
|
|
1437
|
+
} else if (arg.startsWith("--settings=") || arg.startsWith("--debug-file=")) moved.push(arg);
|
|
1438
|
+
else kept.push(arg);
|
|
1439
|
+
}
|
|
1440
|
+
if (moved.length === 0) return void 0;
|
|
1441
|
+
return [...args.slice(0, at), ...moved, "exec", ...kept, ...end === -1 ? [] : args.slice(end)];
|
|
1442
|
+
}
|
|
1443
|
+
__name(hoistExecLaunchFlags, "hoistExecLaunchFlags");
|
|
1444
|
+
function isCommandName(program, name) {
|
|
1445
|
+
return program.commands.some(
|
|
1446
|
+
(command) => command.name() === name || command.aliases().includes(name)
|
|
1447
|
+
);
|
|
1448
|
+
}
|
|
1449
|
+
__name(isCommandName, "isCommandName");
|
|
1450
|
+
function dashedPrompt(program, args) {
|
|
1451
|
+
const index = args.indexOf("--");
|
|
1452
|
+
if (index === -1) return void 0;
|
|
1453
|
+
const before = args.slice(0, index);
|
|
1454
|
+
if (firstRootOperand(program, before) !== void 0) return void 0;
|
|
1455
|
+
if (before.some((arg) => arg === "-p" || arg === "--print")) return void 0;
|
|
1456
|
+
if (args.length !== index + 2) return void 0;
|
|
1457
|
+
return { index, prompt: args[index + 1] };
|
|
1458
|
+
}
|
|
1459
|
+
__name(dashedPrompt, "dashedPrompt");
|
|
1460
|
+
function firstRootOperandIndex(program, args) {
|
|
1169
1461
|
const takesValue = /* @__PURE__ */ __name((flag) => {
|
|
1170
1462
|
if (flag === "-h" || flag === "--help") return false;
|
|
1171
1463
|
const option = program.options.find((o) => o.long === flag || o.short === flag);
|
|
@@ -1188,11 +1480,60 @@ function firstRootOperand(program, args) {
|
|
|
1188
1480
|
if (value && arg.length === 2) i++;
|
|
1189
1481
|
continue;
|
|
1190
1482
|
}
|
|
1191
|
-
return
|
|
1483
|
+
return i;
|
|
1484
|
+
}
|
|
1485
|
+
return void 0;
|
|
1486
|
+
}
|
|
1487
|
+
__name(firstRootOperandIndex, "firstRootOperandIndex");
|
|
1488
|
+
function removedSpellingHint(program, args) {
|
|
1489
|
+
const end = args.indexOf("--");
|
|
1490
|
+
const head = end === -1 ? args : args.slice(0, end);
|
|
1491
|
+
const sawYolo = head.some((a) => a === "--yolo" || a.startsWith("--yolo="));
|
|
1492
|
+
const visible = sawYolo ? head.filter((a) => a !== "--yolo" && !a.startsWith("--yolo=")) : head;
|
|
1493
|
+
const at = firstRootOperandIndex(program, visible);
|
|
1494
|
+
const name = at === void 0 ? void 0 : visible[at];
|
|
1495
|
+
if (name !== void 0) {
|
|
1496
|
+
const byName = REMOVED_COMMANDS[name];
|
|
1497
|
+
if (byName !== void 0) return byName;
|
|
1498
|
+
const action = visible[at + 1];
|
|
1499
|
+
const byAction = action === void 0 ? void 0 : REMOVED_COMMANDS[`${name} ${action}`];
|
|
1500
|
+
if (byAction !== void 0) return byAction;
|
|
1192
1501
|
}
|
|
1502
|
+
if (sawYolo) return REMOVED_COMMANDS["--yolo"];
|
|
1193
1503
|
return void 0;
|
|
1194
1504
|
}
|
|
1505
|
+
__name(removedSpellingHint, "removedSpellingHint");
|
|
1506
|
+
function rewriteHelpCommand(program, argv) {
|
|
1507
|
+
const args = argv.slice(2);
|
|
1508
|
+
const at = firstRootOperandIndex(program, args);
|
|
1509
|
+
if (at === void 0 || args[at] !== "help") return argv;
|
|
1510
|
+
const before = args.slice(0, at);
|
|
1511
|
+
const rest = args.slice(at + 1).filter((a) => a !== "--help" && a !== "-h");
|
|
1512
|
+
const target = rest[0];
|
|
1513
|
+
const known = target !== void 0 && program.commands.some((c) => c.name() === target);
|
|
1514
|
+
const tail = target === void 0 || known ? [...rest, "--help"] : rest;
|
|
1515
|
+
return [...argv.slice(0, 2), ...before, ...tail];
|
|
1516
|
+
}
|
|
1517
|
+
__name(rewriteHelpCommand, "rewriteHelpCommand");
|
|
1518
|
+
function helpTarget(program, argv) {
|
|
1519
|
+
const args = argv.slice(2);
|
|
1520
|
+
const at = firstRootOperandIndex(program, args);
|
|
1521
|
+
if (at === void 0 || args[at] !== "help") return void 0;
|
|
1522
|
+
return args.slice(at + 1).find((a) => a !== "--help" && a !== "-h");
|
|
1523
|
+
}
|
|
1524
|
+
__name(helpTarget, "helpTarget");
|
|
1525
|
+
function firstRootOperand(program, args) {
|
|
1526
|
+
const at = firstRootOperandIndex(program, args);
|
|
1527
|
+
return at === void 0 ? void 0 : args[at];
|
|
1528
|
+
}
|
|
1195
1529
|
__name(firstRootOperand, "firstRootOperand");
|
|
1530
|
+
function asksForHelp(argv) {
|
|
1531
|
+
const args = argv.slice(2);
|
|
1532
|
+
const end = args.indexOf("--");
|
|
1533
|
+
const head = end === -1 ? args : args.slice(0, end);
|
|
1534
|
+
return head.includes("--help") || head.includes("-h");
|
|
1535
|
+
}
|
|
1536
|
+
__name(asksForHelp, "asksForHelp");
|
|
1196
1537
|
function mapCommanderError(err) {
|
|
1197
1538
|
switch (err.code) {
|
|
1198
1539
|
case "commander.helpDisplayed":
|
|
@@ -1219,4 +1560,4 @@ export {
|
|
|
1219
1560
|
registerAll,
|
|
1220
1561
|
runCli
|
|
1221
1562
|
};
|
|
1222
|
-
//# sourceMappingURL=chunk-
|
|
1563
|
+
//# sourceMappingURL=chunk-ATCVFWXD.js.map
|