@namzu/cli 52.0.0 → 52.2.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 +44 -0
- package/dist/bin.d.ts +1 -0
- package/dist/bin.d.ts.map +1 -1
- package/dist/bin.js +8 -1
- package/dist/bin.js.map +2 -2
- package/dist/chunks/{acp-GZSHLVZX.js → acp-QNJODJHL.js} +87 -60
- package/dist/chunks/{acp-GZSHLVZX.js.map → acp-QNJODJHL.js.map} +1 -1
- package/dist/chunks/{activity-command-DRY4O6C7.js → activity-command-EXDEKDLZ.js} +12 -12
- package/dist/chunks/{add-RQBESQ6Z.js → add-L6FKDP7N.js} +21 -21
- package/dist/chunks/{agent-GLF7GLPC.js → agent-VJRVABX2.js} +40 -40
- package/dist/chunks/agent-session-JO5HEUHN.js +73 -0
- package/dist/chunks/{apply-at-exit-MWOSCJVT.js → apply-at-exit-OGSLNQHX.js} +8 -8
- package/dist/chunks/{archive-XU3MKNSL.js → archive-Z34VDKBO.js} +10 -10
- package/dist/chunks/bash-5556UNOY.js +404 -0
- package/dist/chunks/bash-5556UNOY.js.map +6 -0
- package/dist/chunks/{bin-main-IME4NTUN.js → bin-main-XIAVK2BK.js} +9 -9
- package/dist/chunks/{binding-OONLIEMY.js → binding-P5DCYNQG.js} +3 -3
- package/dist/chunks/{browser-XWMMPWJ4.js → browser-MEVCXUOS.js} +6 -6
- package/dist/chunks/c-SMQ2QLVV.js +304 -0
- package/dist/chunks/c-SMQ2QLVV.js.map +6 -0
- package/dist/chunks/{chat-4RCY7GY7.js → chat-AQICSI4M.js} +15 -15
- package/dist/chunks/{chunk-XO4RLPIW.js → chunk-2RYGHXYK.js} +2 -2
- package/dist/chunks/{chunk-VJ7ZCZQ4.js → chunk-33CQRXME.js} +9 -9
- package/dist/chunks/{chunk-TRFQXPTZ.js → chunk-467N452A.js} +2 -2
- package/dist/chunks/{chunk-M5CYA52R.js → chunk-46EO7Z5W.js} +4 -4
- package/dist/chunks/{chunk-YYSSVDZ3.js → chunk-474J6ZI2.js} +2 -2
- package/dist/chunks/{chunk-LOURGMN3.js → chunk-47E6HKJT.js} +4 -4
- package/dist/chunks/{chunk-JUCOHYKO.js → chunk-4I4BFAV4.js} +2 -2
- package/dist/chunks/{chunk-CD45JE7Q.js → chunk-4SC6RBFK.js} +27 -13
- package/dist/chunks/{chunk-CD45JE7Q.js.map → chunk-4SC6RBFK.js.map} +1 -1
- package/dist/chunks/{chunk-WDFOZDWA.js → chunk-4TS3KCPO.js} +2 -2
- package/dist/chunks/{chunk-TGAVBDVI.js → chunk-4XZ67B3M.js} +4 -4
- package/dist/chunks/{chunk-D4JAC2TS.js → chunk-5GP2SAXN.js} +4 -4
- package/dist/chunks/{chunk-TDERHZPK.js → chunk-625CBBTB.js} +3 -3
- package/dist/chunks/{chunk-LMTAEZBP.js → chunk-7OHK3TZD.js} +5 -5
- package/dist/chunks/{chunk-I5KVADDV.js → chunk-7OKLSYRU.js} +3 -3
- package/dist/chunks/{chunk-TGYT53PO.js → chunk-7UTSUGXV.js} +2 -2
- package/dist/chunks/{chunk-HQPVETKK.js → chunk-7ZC4ZAW4.js} +2 -2
- package/dist/chunks/{chunk-MLH6LIEQ.js → chunk-A54YZM6S.js} +20 -20
- package/dist/chunks/{chunk-ZXXBQLSF.js → chunk-AVPOO4NC.js} +3 -3
- package/dist/chunks/{chunk-JRGYUTXM.js → chunk-AXQRLXWR.js} +3 -3
- package/dist/chunks/{chunk-VH75W4CX.js → chunk-BCPKC2WP.js} +10 -10
- package/dist/chunks/{chunk-WDCBWZ6V.js → chunk-BWHOX7GQ.js} +2 -2
- package/dist/chunks/{chunk-IDEENHCZ.js → chunk-CA7QW5JY.js} +2 -2
- package/dist/chunks/{chunk-OCUUCP4P.js → chunk-CKL6DYHR.js} +6 -6
- package/dist/chunks/{chunk-RJSYFGYO.js → chunk-CKYZQOOB.js} +4 -4
- package/dist/chunks/{chunk-O4J3UD4C.js → chunk-CR4ERJTP.js} +2 -2
- package/dist/chunks/{chunk-CNYVQMBP.js → chunk-D6M3CBER.js} +5 -5
- package/dist/chunks/{chunk-UCISROX2.js → chunk-DC76BQGF.js} +3 -3
- package/dist/chunks/{chunk-DL3O5QZQ.js → chunk-DE5AFFGK.js} +2 -2
- package/dist/chunks/{chunk-V45XJDX3.js → chunk-DMUQFCYZ.js} +2 -2
- package/dist/chunks/{chunk-LVVLXBRD.js → chunk-DVYMOESJ.js} +2 -2
- package/dist/chunks/{chunk-IICA4Y2H.js → chunk-ET6Y6QTB.js} +2 -2
- package/dist/chunks/{chunk-3PZVYS7P.js → chunk-EY32VJBC.js} +2 -2
- package/dist/chunks/{chunk-GD57FLJ6.js → chunk-F2BM7LHM.js} +2 -2
- package/dist/chunks/{chunk-V7MBCAP3.js → chunk-F6S3IBNL.js} +2 -2
- package/dist/chunks/{chunk-HNRKSWL3.js → chunk-F7JDATG3.js} +4 -4
- package/dist/chunks/{chunk-VCMY2BUN.js → chunk-F7XHPIXJ.js} +2 -2
- package/dist/chunks/{chunk-SW6TWRX3.js → chunk-FOP7MQEU.js} +5 -5
- package/dist/chunks/{chunk-NJBOI7VM.js → chunk-FTVJAKCW.js} +6 -6
- package/dist/chunks/{chunk-ET7QIC7S.js → chunk-FZVZJQHL.js} +2 -2
- package/dist/chunks/{chunk-2WW5X746.js → chunk-G6MRTDJQ.js} +12 -12
- package/dist/chunks/{chunk-VL6N5AEF.js → chunk-G7KLFAVX.js} +2 -2
- package/dist/chunks/{chunk-VRORRHPK.js → chunk-HIPITBXZ.js} +3 -3
- package/dist/chunks/{chunk-ZHVKBXFG.js → chunk-IN5SOIH6.js} +2 -2
- package/dist/chunks/{chunk-GCE2OOL7.js → chunk-IZJ5JESH.js} +7 -7
- package/dist/chunks/{chunk-O7FEZN6I.js → chunk-JCIHE3LO.js} +5 -5
- package/dist/chunks/{chunk-LP5SU76P.js → chunk-KLUCQZAS.js} +3 -3
- package/dist/chunks/{chunk-SOUYLINA.js → chunk-LANIV6OQ.js} +3 -3
- package/dist/chunks/{chunk-NNRR53EW.js → chunk-LJNIEZAF.js} +30 -11
- package/dist/chunks/{chunk-NNRR53EW.js.map → chunk-LJNIEZAF.js.map} +1 -1
- package/dist/chunks/{chunk-USHPWAWT.js → chunk-M7LQ3C6L.js} +2 -2
- package/dist/chunks/{chunk-HUVJFACV.js → chunk-MVJXTG2V.js} +4 -4
- package/dist/chunks/{chunk-A4VNFRRT.js → chunk-MVVZHKSQ.js} +4 -4
- package/dist/chunks/{chunk-C2LZ4PQL.js → chunk-N4JROMUU.js} +2 -2
- package/dist/chunks/{chunk-PA7WI43E.js → chunk-NRFNUYVH.js} +5 -5
- package/dist/chunks/{chunk-WNBDXO6I.js → chunk-OBA275BH.js} +3 -3
- package/dist/chunks/{chunk-SUY6QMOD.js → chunk-OWTWCES3.js} +4 -4
- package/dist/chunks/{chunk-UAMQVGGR.js → chunk-PRTQ2L3O.js} +16 -16
- package/dist/chunks/{chunk-7OUUT33C.js → chunk-PVHTDN4J.js} +2 -2
- package/dist/chunks/{chunk-UHKIQA3I.js → chunk-QALDU3HZ.js} +3 -3
- package/dist/chunks/{chunk-NUY3X4CY.js → chunk-QWDCN75Y.js} +2 -2
- package/dist/chunks/{chunk-BMMQWTWB.js → chunk-R3BEW6BX.js} +40 -40
- package/dist/chunks/{chunk-FKSBLMS6.js → chunk-RX22HLIT.js} +2 -2
- package/dist/chunks/{chunk-QLDUL46Z.js → chunk-S2JWPUUH.js} +73 -1
- package/dist/chunks/chunk-S2JWPUUH.js.map +6 -0
- package/dist/chunks/{chunk-KOAA7NOL.js → chunk-SGFN62CP.js} +2 -2
- package/dist/chunks/{chunk-GDC23ATL.js → chunk-SONYUWOD.js} +3 -3
- package/dist/chunks/{chunk-5L3MNVYT.js → chunk-SRHEX5JB.js} +5945 -3142
- package/dist/chunks/chunk-SRHEX5JB.js.map +6 -0
- package/dist/chunks/{chunk-K4FUKV2K.js → chunk-SWUGIHFO.js} +2 -2
- package/dist/chunks/{chunk-VEMMS6US.js → chunk-SZXJSTKM.js} +4 -4
- package/dist/chunks/{chunk-6IMEYAUA.js → chunk-T2Q6B7IG.js} +6 -6
- package/dist/chunks/{chunk-3NFDOR4V.js → chunk-T6ZUFXGP.js} +3 -3
- package/dist/chunks/{chunk-Z6L2JR73.js → chunk-TITSLPYI.js} +18 -18
- package/dist/chunks/{chunk-37ECJXU5.js → chunk-TUFFLY74.js} +3 -3
- package/dist/chunks/{chunk-OCRCL6ZJ.js → chunk-TXLQW4AJ.js} +6 -6
- package/dist/chunks/{chunk-GZ44UQZS.js → chunk-U5LAYHN6.js} +6 -6
- package/dist/chunks/{chunk-EKYINJHR.js → chunk-UF6F2Z62.js} +3 -3
- package/dist/chunks/{chunk-TUZKXKTI.js → chunk-UKOCGHMU.js} +536 -105
- package/dist/chunks/chunk-UKOCGHMU.js.map +6 -0
- package/dist/chunks/{chunk-JJRAQRIM.js → chunk-USAVWSGJ.js} +3 -3
- package/dist/chunks/{chunk-C2OXXOZH.js → chunk-USDNK4TL.js} +9 -9
- package/dist/chunks/{chunk-ABFJZT7O.js → chunk-VAXTDL7E.js} +3 -3
- package/dist/chunks/{chunk-RYVQYNRB.js → chunk-VMKK6SOW.js} +2 -2
- package/dist/chunks/{chunk-5475JD4J.js → chunk-VYUMMKAA.js} +2 -2
- package/dist/chunks/{chunk-2IPDTDB3.js → chunk-WD2F6EO3.js} +69 -3
- package/dist/chunks/chunk-WD2F6EO3.js.map +6 -0
- package/dist/chunks/{chunk-QIMXI2SN.js → chunk-WG6CPS5G.js} +2 -2
- package/dist/chunks/{chunk-SG4UN7SW.js → chunk-WSEJK4WO.js} +4 -4
- package/dist/chunks/{chunk-UZIVRYFX.js → chunk-WZHS724Y.js} +2 -2
- package/dist/chunks/{chunk-CPVM2HQE.js → chunk-YFMR2PV7.js} +2 -2
- package/dist/chunks/{chunk-HI7YADBV.js → chunk-YLEBTBWP.js} +3 -3
- package/dist/chunks/{chunk-WLVE7H7P.js → chunk-YMMEAXUK.js} +5 -5
- package/dist/chunks/{chunk-FPX2KIKV.js → chunk-ZB5RBBVO.js} +3 -3
- package/dist/chunks/{chunk-FYWBIH72.js → chunk-ZDEQIXJX.js} +3 -3
- package/dist/chunks/{chunk-GQHWZGAE.js → chunk-ZI7BWTPK.js} +4 -4
- package/dist/chunks/{chunk-XKUDYXPE.js → chunk-ZIFCQKET.js} +3 -3
- package/dist/chunks/{chunk-7VPJL3ND.js → chunk-ZQIWZDPM.js} +2 -2
- package/dist/chunks/{cli-runtime-3WQF676K.js → cli-runtime-J5E5XM6I.js} +15 -15
- package/dist/chunks/{commands-DKOXQYR7.js → commands-VTKTL26Z.js} +5 -5
- package/dist/chunks/core-6GH4J4QJ.js +1647 -0
- package/dist/chunks/core-6GH4J4QJ.js.map +6 -0
- package/dist/chunks/{cost-V3ZZ5PC3.js → cost-IRSQA4W3.js} +3 -3
- package/dist/chunks/cpp-VMCZSFFM.js +553 -0
- package/dist/chunks/cpp-VMCZSFFM.js.map +6 -0
- package/dist/chunks/{crash-report-JMOZ5QU5.js → crash-report-4RK3TDIG.js} +6 -6
- package/dist/chunks/csharp-OVPHVEVY.js +410 -0
- package/dist/chunks/csharp-OVPHVEVY.js.map +6 -0
- package/dist/chunks/css-RIXPOU7U.js +947 -0
- package/dist/chunks/css-RIXPOU7U.js.map +6 -0
- package/dist/chunks/diff-IP3Y64PF.js +63 -0
- package/dist/chunks/diff-IP3Y64PF.js.map +6 -0
- package/dist/chunks/{dist-MUFRASQN.js → dist-3OXE5SY4.js} +2 -2
- package/dist/chunks/{dist-GZZLQHI2.js → dist-DZ7AVBME.js} +2 -2
- package/dist/chunks/{dist-BSXJR54N.js → dist-FFDAK4ES.js} +2 -2
- package/dist/chunks/{dist-AIJ7UHX2.js → dist-IX7VHPCS.js} +2 -2
- package/dist/chunks/{dist-EIWG5YKW.js → dist-MFNIF6PB.js} +2 -2
- package/dist/chunks/{dist-27XA44IS.js → dist-SRSREGI2.js} +2 -2
- package/dist/chunks/{dist-G6SC7KFR.js → dist-XGVPG3SE.js} +2 -2
- package/dist/chunks/{dist-TS3C3WUE.js → dist-ZWWZFMZ7.js} +2 -2
- package/dist/chunks/dockerfile-DVPABFVZ.js +44 -0
- package/dist/chunks/dockerfile-DVPABFVZ.js.map +6 -0
- package/dist/chunks/{doctor-SBCHAB7Y.js → doctor-TC5F3XFP.js} +37 -37
- package/dist/chunks/{drain-B52VN6MW.js → drain-VINUZDH4.js} +9 -9
- package/dist/chunks/{entry-P4XY3I3X.js → entry-UEPUPWGI.js} +7 -7
- package/dist/chunks/{eval-AR2LYGYX.js → eval-YTQCMDNP.js} +9 -9
- package/dist/chunks/{exec-5KC3ZHCI.js → exec-DGX427HX.js} +57 -57
- package/dist/chunks/go-RKN2IZ6A.js +164 -0
- package/dist/chunks/go-RKN2IZ6A.js.map +6 -0
- package/dist/chunks/graphql-2VQIML4V.js +80 -0
- package/dist/chunks/graphql-2VQIML4V.js.map +6 -0
- package/dist/chunks/{home-NVZ66WIV.js → home-LOZLKE2R.js} +3 -3
- package/dist/chunks/{host-VWE5ZCKS.js → host-KTD5OE67.js} +13 -13
- package/dist/chunks/{host-queries-UHWFAWSF.js → host-queries-JPW6LDTA.js} +15 -15
- package/dist/chunks/ini-W63MIP5J.js +126 -0
- package/dist/chunks/ini-W63MIP5J.js.map +6 -0
- package/dist/chunks/java-R4N7OXMG.js +265 -0
- package/dist/chunks/java-R4N7OXMG.js.map +6 -0
- package/dist/chunks/javascript-26OKUOUQ.js +712 -0
- package/dist/chunks/javascript-26OKUOUQ.js.map +6 -0
- package/dist/chunks/json-4GADDWNK.js +50 -0
- package/dist/chunks/json-4GADDWNK.js.map +6 -0
- package/dist/chunks/kotlin-MB7RKXOG.js +265 -0
- package/dist/chunks/kotlin-MB7RKXOG.js.map +6 -0
- package/dist/chunks/{learn-MAMS2KYE.js → learn-VUJQOB57.js} +11 -11
- package/dist/chunks/{learn-builtin-43ORMKQ6.js → learn-builtin-POKSGCNI.js} +14 -14
- package/dist/chunks/less-GNSNU2PC.js +1028 -0
- package/dist/chunks/less-GNSNU2PC.js.map +6 -0
- package/dist/chunks/{lifecycle-E6Q25NRN.js → lifecycle-7BOLGSXR.js} +30 -30
- package/dist/chunks/{list-A6ANPXZD.js → list-QTYDGVQY.js} +14 -14
- package/dist/chunks/{live-DOFBAOIW.js → live-WTDKDIAG.js} +36 -36
- package/dist/chunks/{login-ESRSKSQT.js → login-KTFS33SV.js} +12 -12
- package/dist/chunks/{logs-QC7HXNVC.js → logs-2RSTZ4Y5.js} +4 -4
- package/dist/chunks/lua-RNOSKZ3S.js +71 -0
- package/dist/chunks/lua-RNOSKZ3S.js.map +6 -0
- package/dist/chunks/makefile-ZK3QWG3U.js +81 -0
- package/dist/chunks/makefile-ZK3QWG3U.js.map +6 -0
- package/dist/chunks/markdown-JVOBZC3L.js +242 -0
- package/dist/chunks/markdown-JVOBZC3L.js.map +6 -0
- package/dist/chunks/{mcp-MT7GCZF4.js → mcp-6QVO6CF6.js} +22 -22
- package/dist/chunks/{message-command-4QGVKDZX.js → message-command-LZDQXRHW.js} +46 -46
- package/dist/chunks/objectivec-SSOLSTDI.js +253 -0
- package/dist/chunks/objectivec-SSOLSTDI.js.map +6 -0
- package/dist/chunks/{open-WQIOCAFI.js → open-PJI6LGEB.js} +8 -8
- package/dist/chunks/{operator-tools-FUYYWLBF.js → operator-tools-7WLNIRD3.js} +13 -13
- package/dist/chunks/{output-schema-DLSVAU3E.js → output-schema-PDWST74V.js} +3 -3
- package/dist/chunks/{pal-CH6K6AOY.js → pal-EHDMM5XR.js} +15 -15
- package/dist/chunks/{palette-CL5OOYGK.js → palette-GXE6GZA5.js} +4 -4
- package/dist/chunks/{peers-ACIYPSC6.js → peers-MCOSOVCD.js} +9 -9
- package/dist/chunks/{peers-422VQ3JB.js → peers-XXL4YN6O.js} +6 -6
- package/dist/chunks/perl-G647IKFY.js +495 -0
- package/dist/chunks/perl-G647IKFY.js.map +6 -0
- package/dist/chunks/php-KMB36QTV.js +611 -0
- package/dist/chunks/php-KMB36QTV.js.map +6 -0
- package/dist/chunks/php-template-56RLSWZJ.js +56 -0
- package/dist/chunks/php-template-56RLSWZJ.js.map +6 -0
- package/dist/chunks/{plugin-EBAMCU6V.js → plugin-JKJNFSF3.js} +9 -9
- package/dist/chunks/powershell-CPSUXW3K.js +266 -0
- package/dist/chunks/powershell-CPSUXW3K.js.map +6 -0
- package/dist/chunks/{providers-K6MMZPHW.js → providers-2NZ5YDHJ.js} +10 -10
- package/dist/chunks/{pty-C6X53LZE.js → pty-QYTCSD7G.js} +3 -3
- package/dist/chunks/python-OSTRJJHH.js +425 -0
- package/dist/chunks/python-OSTRJJHH.js.map +6 -0
- package/dist/chunks/python-repl-LLFK2MIA.js +35 -0
- package/dist/chunks/python-repl-LLFK2MIA.js.map +6 -0
- package/dist/chunks/r-CJCHZ5CO.js +220 -0
- package/dist/chunks/r-CJCHZ5CO.js.map +6 -0
- package/dist/chunks/resume-5MSYHNA7.js +23 -0
- package/dist/chunks/{resume-command-3KEUH3AR.js → resume-command-KXICGDCC.js} +4 -4
- package/dist/chunks/ruby-CFOXHYOD.js +423 -0
- package/dist/chunks/ruby-CFOXHYOD.js.map +6 -0
- package/dist/chunks/{running-2TVNHNEA.js → running-5FNI2UAN.js} +5 -5
- package/dist/chunks/rust-2CAQW5OE.js +323 -0
- package/dist/chunks/rust-2CAQW5OE.js.map +6 -0
- package/dist/chunks/{schedule-RXJBIGS4.js → schedule-BLLPDUT7.js} +8 -8
- package/dist/chunks/scss-BWFJU4ST.js +932 -0
- package/dist/chunks/scss-BWFJU4ST.js.map +6 -0
- package/dist/chunks/{send-5KYKCNQT.js → send-5B4ROQRC.js} +15 -15
- package/dist/chunks/{send-person-HM736POR.js → send-person-5CPYLU6J.js} +13 -13
- package/dist/chunks/{service-LLMVVVCA.js → service-E2JXIOD6.js} +30 -30
- package/dist/chunks/shell-DRNHCIHJ.js +34 -0
- package/dist/chunks/shell-DRNHCIHJ.js.map +6 -0
- package/dist/chunks/{skills-7DYMUJUD.js → skills-MJVSGTLM.js} +8 -8
- package/dist/chunks/sql-QPNQXTYW.js +655 -0
- package/dist/chunks/sql-QPNQXTYW.js.map +6 -0
- package/dist/chunks/{start-check-PIE4GVSL.js → start-check-NHTTM354.js} +2 -2
- package/dist/chunks/{startup-failure-IKD5HE4L.js → startup-failure-UCPXEDWH.js} +2 -2
- package/dist/chunks/{state-WI33ZG7L.js → state-FHGFEIF6.js} +2 -2
- package/dist/chunks/{store-MW7VWRCZ.js → store-PL3BXOPA.js} +3 -3
- package/dist/chunks/{store-TVYOLQXK.js → store-TVP3LZNP.js} +4 -4
- package/dist/chunks/{store-6MGC7SW4.js → store-TXC7F7KD.js} +10 -10
- package/dist/chunks/{store-Y6NIDPNM.js → store-XJXBG4MP.js} +6 -6
- package/dist/chunks/swift-VA7FJ27U.js +890 -0
- package/dist/chunks/swift-VA7FJ27U.js.map +6 -0
- package/dist/chunks/{tui-4TUZASW4.js → tui-MYBPZUMK.js} +91 -82
- package/dist/chunks/tui-MYBPZUMK.js.map +6 -0
- package/dist/chunks/typescript-AD6TOU6X.js +826 -0
- package/dist/chunks/typescript-AD6TOU6X.js.map +6 -0
- package/dist/chunks/{upgrade-YA5X3E2X.js → upgrade-LG2D66IY.js} +9 -9
- package/dist/chunks/vbnet-RRNEF3GL.js +143 -0
- package/dist/chunks/vbnet-RRNEF3GL.js.map +6 -0
- package/dist/chunks/wasm-4AFLPXP5.js +131 -0
- package/dist/chunks/wasm-4AFLPXP5.js.map +6 -0
- package/dist/chunks/{watch-AAYQFYRQ.js → watch-E5G5E7SZ.js} +146 -88
- package/dist/chunks/watch-E5G5E7SZ.js.map +6 -0
- package/dist/chunks/{workspaces-34E5ZLP7.js → workspaces-XNXMVP5C.js} +19 -19
- package/dist/chunks/{worktree-FYTSQWTW.js → worktree-2JUYAPLO.js} +12 -12
- package/dist/chunks/xml-FZC4FVGO.js +236 -0
- package/dist/chunks/xml-FZC4FVGO.js.map +6 -0
- package/dist/chunks/yaml-KHJI72O5.js +211 -0
- package/dist/chunks/yaml-KHJI72O5.js.map +6 -0
- package/dist/commands/watch.d.ts.map +1 -1
- package/dist/config/load.d.ts +1 -1
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +27 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/settings-descriptors.d.ts.map +1 -1
- package/dist/index.js +38 -38
- package/dist/integrations/sessions/watch-view.d.ts +10 -1
- package/dist/integrations/sessions/watch-view.d.ts.map +1 -1
- package/dist/integrations/subagents/runtime.d.ts.map +1 -1
- package/dist/no-color-env.d.ts +9 -0
- package/dist/no-color-env.d.ts.map +1 -0
- package/dist/tui/App.d.ts +10 -0
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/BackgroundAgentRows.d.ts.map +1 -1
- package/dist/tui/LiveActivity.d.ts +19 -1
- package/dist/tui/LiveActivity.d.ts.map +1 -1
- package/dist/tui/Markdown.d.ts +24 -3
- package/dist/tui/Markdown.d.ts.map +1 -1
- package/dist/tui/PendingInputPanel.d.ts.map +1 -1
- package/dist/tui/ReadSearchGroup.d.ts +1 -3
- package/dist/tui/ReadSearchGroup.d.ts.map +1 -1
- package/dist/tui/Transcript.d.ts +28 -0
- package/dist/tui/Transcript.d.ts.map +1 -1
- package/dist/tui/TranscriptScrollView.d.ts.map +1 -1
- package/dist/tui/agent-calls.d.ts +49 -0
- package/dist/tui/agent-calls.d.ts.map +1 -0
- package/dist/tui/agent-transcript-rows.d.ts +17 -0
- package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +4 -0
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/background-agents.d.ts +22 -2
- package/dist/tui/background-agents.d.ts.map +1 -1
- package/dist/tui/code-highlight.d.ts +222 -0
- package/dist/tui/code-highlight.d.ts.map +1 -0
- package/dist/tui/compaction-rows.d.ts +2 -0
- package/dist/tui/compaction-rows.d.ts.map +1 -1
- package/dist/tui/copy-targets.d.ts.map +1 -1
- package/dist/tui/foreground-handoff.d.ts +2 -0
- package/dist/tui/foreground-handoff.d.ts.map +1 -1
- package/dist/tui/fullscreen/FullscreenTranscript.d.ts +13 -1
- package/dist/tui/fullscreen/FullscreenTranscript.d.ts.map +1 -1
- package/dist/tui/fullscreen/glide.d.ts +87 -0
- package/dist/tui/fullscreen/glide.d.ts.map +1 -0
- package/dist/tui/fullscreen/layout.d.ts +11 -2
- package/dist/tui/fullscreen/layout.d.ts.map +1 -1
- package/dist/tui/fullscreen/markdown-rows.d.ts.map +1 -1
- package/dist/tui/fullscreen/paint.d.ts.map +1 -1
- package/dist/tui/fullscreen/rows.d.ts +8 -0
- package/dist/tui/fullscreen/rows.d.ts.map +1 -1
- package/dist/tui/fullscreen/selection.d.ts.map +1 -1
- package/dist/tui/fullscreen/viewport.d.ts +4 -1
- package/dist/tui/fullscreen/viewport.d.ts.map +1 -1
- package/dist/tui/index.d.ts.map +1 -1
- package/dist/tui/live-window.d.ts +8 -1
- package/dist/tui/live-window.d.ts.map +1 -1
- package/dist/tui/markdown-block-cache.d.ts +1 -1
- package/dist/tui/markdown-block-cache.d.ts.map +1 -1
- package/dist/tui/markdown-fence.d.ts +47 -0
- package/dist/tui/markdown-fence.d.ts.map +1 -0
- package/dist/tui/markdown-structure.d.ts +22 -0
- package/dist/tui/markdown-structure.d.ts.map +1 -1
- package/dist/tui/markdownParser.d.ts +43 -2
- package/dist/tui/markdownParser.d.ts.map +1 -1
- package/dist/tui/new-output.d.ts +60 -0
- package/dist/tui/new-output.d.ts.map +1 -0
- package/dist/tui/paint/cells.d.ts +31 -0
- package/dist/tui/paint/cells.d.ts.map +1 -0
- package/dist/tui/paint/live-paint.d.ts +117 -0
- package/dist/tui/paint/live-paint.d.ts.map +1 -0
- package/dist/tui/read-search-group.d.ts +29 -13
- package/dist/tui/read-search-group.d.ts.map +1 -1
- package/dist/tui/restored-rows.d.ts +26 -2
- package/dist/tui/restored-rows.d.ts.map +1 -1
- package/dist/tui/shell-cell.d.ts +23 -0
- package/dist/tui/shell-cell.d.ts.map +1 -1
- package/dist/tui/stream-flow.d.ts +152 -0
- package/dist/tui/stream-flow.d.ts.map +1 -0
- package/dist/tui/task-activity.d.ts +2 -0
- package/dist/tui/task-activity.d.ts.map +1 -1
- package/dist/tui/theme-launch.d.ts +2 -2
- package/dist/tui/theme-launch.d.ts.map +1 -1
- package/dist/tui/theme-palettes.d.ts +29 -0
- package/dist/tui/theme-palettes.d.ts.map +1 -1
- package/dist/tui/theme.d.ts +18 -0
- package/dist/tui/theme.d.ts.map +1 -1
- package/dist/tui/tool-end-rows.d.ts +11 -0
- package/dist/tui/tool-end-rows.d.ts.map +1 -1
- package/dist/tui/transcript-scroll.d.ts +16 -3
- package/dist/tui/transcript-scroll.d.ts.map +1 -1
- package/dist/tui/types.d.ts +28 -0
- package/dist/tui/types.d.ts.map +1 -1
- package/dist/tui/useReadSearchGroup.d.ts.map +1 -1
- package/dist/tui/working-line.d.ts +74 -0
- package/dist/tui/working-line.d.ts.map +1 -0
- package/package.json +6 -5
- package/dist/chunks/agent-session-EY2MHANW.js +0 -73
- package/dist/chunks/chunk-2IPDTDB3.js.map +0 -6
- package/dist/chunks/chunk-5L3MNVYT.js.map +0 -6
- package/dist/chunks/chunk-QLDUL46Z.js.map +0 -6
- package/dist/chunks/chunk-TUZKXKTI.js.map +0 -6
- package/dist/chunks/resume-EDZPKE73.js +0 -23
- package/dist/chunks/tui-4TUZASW4.js.map +0 -6
- package/dist/chunks/watch-AAYQFYRQ.js.map +0 -6
- package/dist/tui/stream-blocks.d.ts +0 -70
- package/dist/tui/stream-blocks.d.ts.map +0 -1
- /package/dist/chunks/{activity-command-DRY4O6C7.js.map → activity-command-EXDEKDLZ.js.map} +0 -0
- /package/dist/chunks/{add-RQBESQ6Z.js.map → add-L6FKDP7N.js.map} +0 -0
- /package/dist/chunks/{agent-GLF7GLPC.js.map → agent-VJRVABX2.js.map} +0 -0
- /package/dist/chunks/{agent-session-EY2MHANW.js.map → agent-session-JO5HEUHN.js.map} +0 -0
- /package/dist/chunks/{apply-at-exit-MWOSCJVT.js.map → apply-at-exit-OGSLNQHX.js.map} +0 -0
- /package/dist/chunks/{archive-XU3MKNSL.js.map → archive-Z34VDKBO.js.map} +0 -0
- /package/dist/chunks/{bin-main-IME4NTUN.js.map → bin-main-XIAVK2BK.js.map} +0 -0
- /package/dist/chunks/{binding-OONLIEMY.js.map → binding-P5DCYNQG.js.map} +0 -0
- /package/dist/chunks/{browser-XWMMPWJ4.js.map → browser-MEVCXUOS.js.map} +0 -0
- /package/dist/chunks/{chat-4RCY7GY7.js.map → chat-AQICSI4M.js.map} +0 -0
- /package/dist/chunks/{chunk-XO4RLPIW.js.map → chunk-2RYGHXYK.js.map} +0 -0
- /package/dist/chunks/{chunk-VJ7ZCZQ4.js.map → chunk-33CQRXME.js.map} +0 -0
- /package/dist/chunks/{chunk-TRFQXPTZ.js.map → chunk-467N452A.js.map} +0 -0
- /package/dist/chunks/{chunk-M5CYA52R.js.map → chunk-46EO7Z5W.js.map} +0 -0
- /package/dist/chunks/{chunk-YYSSVDZ3.js.map → chunk-474J6ZI2.js.map} +0 -0
- /package/dist/chunks/{chunk-LOURGMN3.js.map → chunk-47E6HKJT.js.map} +0 -0
- /package/dist/chunks/{chunk-JUCOHYKO.js.map → chunk-4I4BFAV4.js.map} +0 -0
- /package/dist/chunks/{chunk-WDFOZDWA.js.map → chunk-4TS3KCPO.js.map} +0 -0
- /package/dist/chunks/{chunk-TGAVBDVI.js.map → chunk-4XZ67B3M.js.map} +0 -0
- /package/dist/chunks/{chunk-D4JAC2TS.js.map → chunk-5GP2SAXN.js.map} +0 -0
- /package/dist/chunks/{chunk-TDERHZPK.js.map → chunk-625CBBTB.js.map} +0 -0
- /package/dist/chunks/{chunk-LMTAEZBP.js.map → chunk-7OHK3TZD.js.map} +0 -0
- /package/dist/chunks/{chunk-I5KVADDV.js.map → chunk-7OKLSYRU.js.map} +0 -0
- /package/dist/chunks/{chunk-TGYT53PO.js.map → chunk-7UTSUGXV.js.map} +0 -0
- /package/dist/chunks/{chunk-HQPVETKK.js.map → chunk-7ZC4ZAW4.js.map} +0 -0
- /package/dist/chunks/{chunk-MLH6LIEQ.js.map → chunk-A54YZM6S.js.map} +0 -0
- /package/dist/chunks/{chunk-ZXXBQLSF.js.map → chunk-AVPOO4NC.js.map} +0 -0
- /package/dist/chunks/{chunk-JRGYUTXM.js.map → chunk-AXQRLXWR.js.map} +0 -0
- /package/dist/chunks/{chunk-VH75W4CX.js.map → chunk-BCPKC2WP.js.map} +0 -0
- /package/dist/chunks/{chunk-WDCBWZ6V.js.map → chunk-BWHOX7GQ.js.map} +0 -0
- /package/dist/chunks/{chunk-IDEENHCZ.js.map → chunk-CA7QW5JY.js.map} +0 -0
- /package/dist/chunks/{chunk-OCUUCP4P.js.map → chunk-CKL6DYHR.js.map} +0 -0
- /package/dist/chunks/{chunk-RJSYFGYO.js.map → chunk-CKYZQOOB.js.map} +0 -0
- /package/dist/chunks/{chunk-O4J3UD4C.js.map → chunk-CR4ERJTP.js.map} +0 -0
- /package/dist/chunks/{chunk-CNYVQMBP.js.map → chunk-D6M3CBER.js.map} +0 -0
- /package/dist/chunks/{chunk-UCISROX2.js.map → chunk-DC76BQGF.js.map} +0 -0
- /package/dist/chunks/{chunk-DL3O5QZQ.js.map → chunk-DE5AFFGK.js.map} +0 -0
- /package/dist/chunks/{chunk-V45XJDX3.js.map → chunk-DMUQFCYZ.js.map} +0 -0
- /package/dist/chunks/{chunk-LVVLXBRD.js.map → chunk-DVYMOESJ.js.map} +0 -0
- /package/dist/chunks/{chunk-IICA4Y2H.js.map → chunk-ET6Y6QTB.js.map} +0 -0
- /package/dist/chunks/{chunk-3PZVYS7P.js.map → chunk-EY32VJBC.js.map} +0 -0
- /package/dist/chunks/{chunk-GD57FLJ6.js.map → chunk-F2BM7LHM.js.map} +0 -0
- /package/dist/chunks/{chunk-V7MBCAP3.js.map → chunk-F6S3IBNL.js.map} +0 -0
- /package/dist/chunks/{chunk-HNRKSWL3.js.map → chunk-F7JDATG3.js.map} +0 -0
- /package/dist/chunks/{chunk-VCMY2BUN.js.map → chunk-F7XHPIXJ.js.map} +0 -0
- /package/dist/chunks/{chunk-SW6TWRX3.js.map → chunk-FOP7MQEU.js.map} +0 -0
- /package/dist/chunks/{chunk-NJBOI7VM.js.map → chunk-FTVJAKCW.js.map} +0 -0
- /package/dist/chunks/{chunk-ET7QIC7S.js.map → chunk-FZVZJQHL.js.map} +0 -0
- /package/dist/chunks/{chunk-2WW5X746.js.map → chunk-G6MRTDJQ.js.map} +0 -0
- /package/dist/chunks/{chunk-VL6N5AEF.js.map → chunk-G7KLFAVX.js.map} +0 -0
- /package/dist/chunks/{chunk-VRORRHPK.js.map → chunk-HIPITBXZ.js.map} +0 -0
- /package/dist/chunks/{chunk-ZHVKBXFG.js.map → chunk-IN5SOIH6.js.map} +0 -0
- /package/dist/chunks/{chunk-GCE2OOL7.js.map → chunk-IZJ5JESH.js.map} +0 -0
- /package/dist/chunks/{chunk-O7FEZN6I.js.map → chunk-JCIHE3LO.js.map} +0 -0
- /package/dist/chunks/{chunk-LP5SU76P.js.map → chunk-KLUCQZAS.js.map} +0 -0
- /package/dist/chunks/{chunk-SOUYLINA.js.map → chunk-LANIV6OQ.js.map} +0 -0
- /package/dist/chunks/{chunk-USHPWAWT.js.map → chunk-M7LQ3C6L.js.map} +0 -0
- /package/dist/chunks/{chunk-HUVJFACV.js.map → chunk-MVJXTG2V.js.map} +0 -0
- /package/dist/chunks/{chunk-A4VNFRRT.js.map → chunk-MVVZHKSQ.js.map} +0 -0
- /package/dist/chunks/{chunk-C2LZ4PQL.js.map → chunk-N4JROMUU.js.map} +0 -0
- /package/dist/chunks/{chunk-PA7WI43E.js.map → chunk-NRFNUYVH.js.map} +0 -0
- /package/dist/chunks/{chunk-WNBDXO6I.js.map → chunk-OBA275BH.js.map} +0 -0
- /package/dist/chunks/{chunk-SUY6QMOD.js.map → chunk-OWTWCES3.js.map} +0 -0
- /package/dist/chunks/{chunk-UAMQVGGR.js.map → chunk-PRTQ2L3O.js.map} +0 -0
- /package/dist/chunks/{chunk-7OUUT33C.js.map → chunk-PVHTDN4J.js.map} +0 -0
- /package/dist/chunks/{chunk-UHKIQA3I.js.map → chunk-QALDU3HZ.js.map} +0 -0
- /package/dist/chunks/{chunk-NUY3X4CY.js.map → chunk-QWDCN75Y.js.map} +0 -0
- /package/dist/chunks/{chunk-BMMQWTWB.js.map → chunk-R3BEW6BX.js.map} +0 -0
- /package/dist/chunks/{chunk-FKSBLMS6.js.map → chunk-RX22HLIT.js.map} +0 -0
- /package/dist/chunks/{chunk-KOAA7NOL.js.map → chunk-SGFN62CP.js.map} +0 -0
- /package/dist/chunks/{chunk-GDC23ATL.js.map → chunk-SONYUWOD.js.map} +0 -0
- /package/dist/chunks/{chunk-K4FUKV2K.js.map → chunk-SWUGIHFO.js.map} +0 -0
- /package/dist/chunks/{chunk-VEMMS6US.js.map → chunk-SZXJSTKM.js.map} +0 -0
- /package/dist/chunks/{chunk-6IMEYAUA.js.map → chunk-T2Q6B7IG.js.map} +0 -0
- /package/dist/chunks/{chunk-3NFDOR4V.js.map → chunk-T6ZUFXGP.js.map} +0 -0
- /package/dist/chunks/{chunk-Z6L2JR73.js.map → chunk-TITSLPYI.js.map} +0 -0
- /package/dist/chunks/{chunk-37ECJXU5.js.map → chunk-TUFFLY74.js.map} +0 -0
- /package/dist/chunks/{chunk-OCRCL6ZJ.js.map → chunk-TXLQW4AJ.js.map} +0 -0
- /package/dist/chunks/{chunk-GZ44UQZS.js.map → chunk-U5LAYHN6.js.map} +0 -0
- /package/dist/chunks/{chunk-EKYINJHR.js.map → chunk-UF6F2Z62.js.map} +0 -0
- /package/dist/chunks/{chunk-JJRAQRIM.js.map → chunk-USAVWSGJ.js.map} +0 -0
- /package/dist/chunks/{chunk-C2OXXOZH.js.map → chunk-USDNK4TL.js.map} +0 -0
- /package/dist/chunks/{chunk-ABFJZT7O.js.map → chunk-VAXTDL7E.js.map} +0 -0
- /package/dist/chunks/{chunk-RYVQYNRB.js.map → chunk-VMKK6SOW.js.map} +0 -0
- /package/dist/chunks/{chunk-5475JD4J.js.map → chunk-VYUMMKAA.js.map} +0 -0
- /package/dist/chunks/{chunk-QIMXI2SN.js.map → chunk-WG6CPS5G.js.map} +0 -0
- /package/dist/chunks/{chunk-SG4UN7SW.js.map → chunk-WSEJK4WO.js.map} +0 -0
- /package/dist/chunks/{chunk-UZIVRYFX.js.map → chunk-WZHS724Y.js.map} +0 -0
- /package/dist/chunks/{chunk-CPVM2HQE.js.map → chunk-YFMR2PV7.js.map} +0 -0
- /package/dist/chunks/{chunk-HI7YADBV.js.map → chunk-YLEBTBWP.js.map} +0 -0
- /package/dist/chunks/{chunk-WLVE7H7P.js.map → chunk-YMMEAXUK.js.map} +0 -0
- /package/dist/chunks/{chunk-FPX2KIKV.js.map → chunk-ZB5RBBVO.js.map} +0 -0
- /package/dist/chunks/{chunk-FYWBIH72.js.map → chunk-ZDEQIXJX.js.map} +0 -0
- /package/dist/chunks/{chunk-GQHWZGAE.js.map → chunk-ZI7BWTPK.js.map} +0 -0
- /package/dist/chunks/{chunk-XKUDYXPE.js.map → chunk-ZIFCQKET.js.map} +0 -0
- /package/dist/chunks/{chunk-7VPJL3ND.js.map → chunk-ZQIWZDPM.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-3WQF676K.js.map → cli-runtime-J5E5XM6I.js.map} +0 -0
- /package/dist/chunks/{commands-DKOXQYR7.js.map → commands-VTKTL26Z.js.map} +0 -0
- /package/dist/chunks/{cost-V3ZZ5PC3.js.map → cost-IRSQA4W3.js.map} +0 -0
- /package/dist/chunks/{crash-report-JMOZ5QU5.js.map → crash-report-4RK3TDIG.js.map} +0 -0
- /package/dist/chunks/{dist-MUFRASQN.js.map → dist-3OXE5SY4.js.map} +0 -0
- /package/dist/chunks/{dist-GZZLQHI2.js.map → dist-DZ7AVBME.js.map} +0 -0
- /package/dist/chunks/{dist-BSXJR54N.js.map → dist-FFDAK4ES.js.map} +0 -0
- /package/dist/chunks/{dist-AIJ7UHX2.js.map → dist-IX7VHPCS.js.map} +0 -0
- /package/dist/chunks/{dist-EIWG5YKW.js.map → dist-MFNIF6PB.js.map} +0 -0
- /package/dist/chunks/{dist-27XA44IS.js.map → dist-SRSREGI2.js.map} +0 -0
- /package/dist/chunks/{dist-G6SC7KFR.js.map → dist-XGVPG3SE.js.map} +0 -0
- /package/dist/chunks/{dist-TS3C3WUE.js.map → dist-ZWWZFMZ7.js.map} +0 -0
- /package/dist/chunks/{doctor-SBCHAB7Y.js.map → doctor-TC5F3XFP.js.map} +0 -0
- /package/dist/chunks/{drain-B52VN6MW.js.map → drain-VINUZDH4.js.map} +0 -0
- /package/dist/chunks/{entry-P4XY3I3X.js.map → entry-UEPUPWGI.js.map} +0 -0
- /package/dist/chunks/{eval-AR2LYGYX.js.map → eval-YTQCMDNP.js.map} +0 -0
- /package/dist/chunks/{exec-5KC3ZHCI.js.map → exec-DGX427HX.js.map} +0 -0
- /package/dist/chunks/{home-NVZ66WIV.js.map → home-LOZLKE2R.js.map} +0 -0
- /package/dist/chunks/{host-VWE5ZCKS.js.map → host-KTD5OE67.js.map} +0 -0
- /package/dist/chunks/{host-queries-UHWFAWSF.js.map → host-queries-JPW6LDTA.js.map} +0 -0
- /package/dist/chunks/{learn-MAMS2KYE.js.map → learn-VUJQOB57.js.map} +0 -0
- /package/dist/chunks/{learn-builtin-43ORMKQ6.js.map → learn-builtin-POKSGCNI.js.map} +0 -0
- /package/dist/chunks/{lifecycle-E6Q25NRN.js.map → lifecycle-7BOLGSXR.js.map} +0 -0
- /package/dist/chunks/{list-A6ANPXZD.js.map → list-QTYDGVQY.js.map} +0 -0
- /package/dist/chunks/{live-DOFBAOIW.js.map → live-WTDKDIAG.js.map} +0 -0
- /package/dist/chunks/{login-ESRSKSQT.js.map → login-KTFS33SV.js.map} +0 -0
- /package/dist/chunks/{logs-QC7HXNVC.js.map → logs-2RSTZ4Y5.js.map} +0 -0
- /package/dist/chunks/{mcp-MT7GCZF4.js.map → mcp-6QVO6CF6.js.map} +0 -0
- /package/dist/chunks/{message-command-4QGVKDZX.js.map → message-command-LZDQXRHW.js.map} +0 -0
- /package/dist/chunks/{open-WQIOCAFI.js.map → open-PJI6LGEB.js.map} +0 -0
- /package/dist/chunks/{operator-tools-FUYYWLBF.js.map → operator-tools-7WLNIRD3.js.map} +0 -0
- /package/dist/chunks/{output-schema-DLSVAU3E.js.map → output-schema-PDWST74V.js.map} +0 -0
- /package/dist/chunks/{pal-CH6K6AOY.js.map → pal-EHDMM5XR.js.map} +0 -0
- /package/dist/chunks/{palette-CL5OOYGK.js.map → palette-GXE6GZA5.js.map} +0 -0
- /package/dist/chunks/{peers-ACIYPSC6.js.map → peers-MCOSOVCD.js.map} +0 -0
- /package/dist/chunks/{peers-422VQ3JB.js.map → peers-XXL4YN6O.js.map} +0 -0
- /package/dist/chunks/{plugin-EBAMCU6V.js.map → plugin-JKJNFSF3.js.map} +0 -0
- /package/dist/chunks/{providers-K6MMZPHW.js.map → providers-2NZ5YDHJ.js.map} +0 -0
- /package/dist/chunks/{pty-C6X53LZE.js.map → pty-QYTCSD7G.js.map} +0 -0
- /package/dist/chunks/{resume-EDZPKE73.js.map → resume-5MSYHNA7.js.map} +0 -0
- /package/dist/chunks/{resume-command-3KEUH3AR.js.map → resume-command-KXICGDCC.js.map} +0 -0
- /package/dist/chunks/{running-2TVNHNEA.js.map → running-5FNI2UAN.js.map} +0 -0
- /package/dist/chunks/{schedule-RXJBIGS4.js.map → schedule-BLLPDUT7.js.map} +0 -0
- /package/dist/chunks/{send-5KYKCNQT.js.map → send-5B4ROQRC.js.map} +0 -0
- /package/dist/chunks/{send-person-HM736POR.js.map → send-person-5CPYLU6J.js.map} +0 -0
- /package/dist/chunks/{service-LLMVVVCA.js.map → service-E2JXIOD6.js.map} +0 -0
- /package/dist/chunks/{skills-7DYMUJUD.js.map → skills-MJVSGTLM.js.map} +0 -0
- /package/dist/chunks/{start-check-PIE4GVSL.js.map → start-check-NHTTM354.js.map} +0 -0
- /package/dist/chunks/{startup-failure-IKD5HE4L.js.map → startup-failure-UCPXEDWH.js.map} +0 -0
- /package/dist/chunks/{state-WI33ZG7L.js.map → state-FHGFEIF6.js.map} +0 -0
- /package/dist/chunks/{store-6MGC7SW4.js.map → store-PL3BXOPA.js.map} +0 -0
- /package/dist/chunks/{store-MW7VWRCZ.js.map → store-TVP3LZNP.js.map} +0 -0
- /package/dist/chunks/{store-TVYOLQXK.js.map → store-TXC7F7KD.js.map} +0 -0
- /package/dist/chunks/{store-Y6NIDPNM.js.map → store-XJXBG4MP.js.map} +0 -0
- /package/dist/chunks/{upgrade-YA5X3E2X.js.map → upgrade-LG2D66IY.js.map} +0 -0
- /package/dist/chunks/{workspaces-34E5ZLP7.js.map → workspaces-XNXMVP5C.js.map} +0 -0
- /package/dist/chunks/{worktree-FYTSQWTW.js.map → worktree-2JUYAPLO.js.map} +0 -0
|
@@ -2,16 +2,23 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __namzuCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
openManagedWorktrees
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SZXJSTKM.js";
|
|
6
|
+
import {
|
|
7
|
+
connectMcpServers,
|
|
8
|
+
startMcpServers
|
|
9
|
+
} from "./chunk-ZI7BWTPK.js";
|
|
10
|
+
import {
|
|
11
|
+
openInBrowser
|
|
12
|
+
} from "./chunk-7UTSUGXV.js";
|
|
6
13
|
import {
|
|
7
14
|
PluginSettingsStore,
|
|
8
15
|
listMarkdownNames,
|
|
9
16
|
readPluginFileSources,
|
|
10
17
|
resolvePluginFileDirs
|
|
11
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-46EO7Z5W.js";
|
|
12
19
|
import {
|
|
13
20
|
createSessionSkillCatalog
|
|
14
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AVPOO4NC.js";
|
|
15
22
|
import {
|
|
16
23
|
KEY_MISMATCH_MESSAGE,
|
|
17
24
|
MAX_SCRIPT_BYTES,
|
|
@@ -35,23 +42,16 @@ import {
|
|
|
35
42
|
viewFromJournal,
|
|
36
43
|
workflowJournalKey,
|
|
37
44
|
writeEditableCopy
|
|
38
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-SWUGIHFO.js";
|
|
39
46
|
import {
|
|
40
47
|
runGeneratorCycle
|
|
41
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-YLEBTBWP.js";
|
|
42
49
|
import {
|
|
43
50
|
createSessionLearningFeed,
|
|
44
51
|
openLearningTarget,
|
|
45
52
|
readProjectGuidance,
|
|
46
53
|
withSessionLearningFeed
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import {
|
|
49
|
-
connectMcpServers,
|
|
50
|
-
startMcpServers
|
|
51
|
-
} from "./chunk-GQHWZGAE.js";
|
|
52
|
-
import {
|
|
53
|
-
openInBrowser
|
|
54
|
-
} from "./chunk-TGYT53PO.js";
|
|
54
|
+
} from "./chunk-MVVZHKSQ.js";
|
|
55
55
|
import {
|
|
56
56
|
createBrowserControl
|
|
57
57
|
} from "./chunk-WHODOMXA.js";
|
|
@@ -60,10 +60,10 @@ import {
|
|
|
60
60
|
} from "./chunk-YOWYTBJS.js";
|
|
61
61
|
import {
|
|
62
62
|
migrateAccountKeys
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-7OHK3TZD.js";
|
|
64
64
|
import {
|
|
65
65
|
openCliAccounts
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-FOP7MQEU.js";
|
|
67
67
|
import {
|
|
68
68
|
CredentialRefreshRejectedError,
|
|
69
69
|
CredentialWithdrawnError as CredentialWithdrawnError2,
|
|
@@ -71,16 +71,16 @@ import {
|
|
|
71
71
|
ensureFreshStoredCodexCredential,
|
|
72
72
|
readSubscriptionCredential,
|
|
73
73
|
sameOAuthCredential
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-MVJXTG2V.js";
|
|
75
75
|
import {
|
|
76
76
|
conversationLogPath,
|
|
77
77
|
ensureSessionStarted,
|
|
78
78
|
openConversationLog,
|
|
79
79
|
recordAccountBound
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-T2Q6B7IG.js";
|
|
81
81
|
import {
|
|
82
82
|
readIdentity
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-QALDU3HZ.js";
|
|
84
84
|
import {
|
|
85
85
|
INSTRUCTIONS_FILENAME,
|
|
86
86
|
MAX_CHARS_PER_FILE,
|
|
@@ -91,12 +91,12 @@ import {
|
|
|
91
91
|
} from "./chunk-JQIBPPOL.js";
|
|
92
92
|
import {
|
|
93
93
|
isDefaultAccountId
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-F2BM7LHM.js";
|
|
95
95
|
import {
|
|
96
96
|
createLazyCodeAnalysis,
|
|
97
97
|
promptCacheTtl,
|
|
98
98
|
setPromptCacheTtl
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-HIPITBXZ.js";
|
|
100
100
|
import {
|
|
101
101
|
DEFAULT_MAX_HOOK_REFUSALS,
|
|
102
102
|
SAVE_SKILL_TOOL_NAME,
|
|
@@ -106,16 +106,23 @@ import {
|
|
|
106
106
|
turnConfigFields,
|
|
107
107
|
withSandboxShell,
|
|
108
108
|
workingDirectoryProblem
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-7OKLSYRU.js";
|
|
110
110
|
import {
|
|
111
111
|
CHECK_HINT
|
|
112
112
|
} from "./chunk-BBTPD3DU.js";
|
|
113
|
+
import {
|
|
114
|
+
conversationInUseSentence,
|
|
115
|
+
minutesUntilFree
|
|
116
|
+
} from "./chunk-T6ZUFXGP.js";
|
|
117
|
+
import {
|
|
118
|
+
debugRequested
|
|
119
|
+
} from "./chunk-GNBMKISG.js";
|
|
113
120
|
import {
|
|
114
121
|
ensureLocalConfigIgnored,
|
|
115
122
|
logIgnoreOutcome,
|
|
116
123
|
probeCapabilities,
|
|
117
124
|
writeLocalAllows
|
|
118
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-4XZ67B3M.js";
|
|
119
126
|
import {
|
|
120
127
|
LOCAL_CONFIG_FILE,
|
|
121
128
|
configuredPassthroughTools,
|
|
@@ -126,56 +133,49 @@ import {
|
|
|
126
133
|
takeConfigWarnings,
|
|
127
134
|
unmatchedPassthroughTools,
|
|
128
135
|
workflowTokenCeiling
|
|
129
|
-
} from "./chunk-
|
|
130
|
-
import {
|
|
131
|
-
resolveGeneratorSettings
|
|
132
|
-
} from "./chunk-LCGXWCVU.js";
|
|
136
|
+
} from "./chunk-LJNIEZAF.js";
|
|
133
137
|
import {
|
|
134
138
|
compilePermissions,
|
|
135
139
|
isPathRuleTool,
|
|
136
140
|
pathRule,
|
|
137
141
|
pathRuleTools
|
|
138
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-TUFFLY74.js";
|
|
143
|
+
import {
|
|
144
|
+
resolveGeneratorSettings
|
|
145
|
+
} from "./chunk-LCGXWCVU.js";
|
|
139
146
|
import {
|
|
140
147
|
cliLogger
|
|
141
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-CA7QW5JY.js";
|
|
142
149
|
import {
|
|
143
150
|
readModelLaunchEnvironment
|
|
144
151
|
} from "./chunk-LVVD32KJ.js";
|
|
152
|
+
import {
|
|
153
|
+
formatSize,
|
|
154
|
+
homePath,
|
|
155
|
+
plural,
|
|
156
|
+
productName
|
|
157
|
+
} from "./chunk-6PWRKA5T.js";
|
|
145
158
|
import {
|
|
146
159
|
require_dist
|
|
147
160
|
} from "./chunk-KONYGNG6.js";
|
|
148
161
|
import {
|
|
149
162
|
isPermissionMode,
|
|
150
163
|
permissionModeLabel
|
|
151
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-CR4ERJTP.js";
|
|
152
165
|
import {
|
|
153
166
|
PERMISSION_MODE_NAMES
|
|
154
167
|
} from "./chunk-WMEZTDLT.js";
|
|
155
|
-
import {
|
|
156
|
-
conversationInUseSentence,
|
|
157
|
-
minutesUntilFree
|
|
158
|
-
} from "./chunk-3NFDOR4V.js";
|
|
159
|
-
import {
|
|
160
|
-
debugRequested
|
|
161
|
-
} from "./chunk-GNBMKISG.js";
|
|
162
|
-
import {
|
|
163
|
-
formatSize,
|
|
164
|
-
homePath,
|
|
165
|
-
plural,
|
|
166
|
-
productName
|
|
167
|
-
} from "./chunk-6PWRKA5T.js";
|
|
168
168
|
import {
|
|
169
169
|
diffColors,
|
|
170
170
|
theme
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-WD2F6EO3.js";
|
|
172
172
|
import {
|
|
173
173
|
stringWidth
|
|
174
174
|
} from "./chunk-U5UV2YRE.js";
|
|
175
175
|
import {
|
|
176
176
|
discoverSkills,
|
|
177
177
|
loadSkillBody
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-USAVWSGJ.js";
|
|
179
179
|
import {
|
|
180
180
|
chainCapabilityDisagreements,
|
|
181
181
|
chainPositionName,
|
|
@@ -187,7 +187,7 @@ import {
|
|
|
187
187
|
readPreferences,
|
|
188
188
|
resolveChainCapabilities,
|
|
189
189
|
unresolvedMembers
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-G6MRTDJQ.js";
|
|
191
191
|
import {
|
|
192
192
|
canSelectModel,
|
|
193
193
|
createGeminiAccessTokenResolver,
|
|
@@ -195,7 +195,7 @@ import {
|
|
|
195
195
|
findDetected,
|
|
196
196
|
hasApiCredential,
|
|
197
197
|
requiresCredentialForModel
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-OWTWCES3.js";
|
|
199
199
|
import {
|
|
200
200
|
activeZenCatalogue,
|
|
201
201
|
isOfferableModel
|
|
@@ -208,20 +208,20 @@ import {
|
|
|
208
208
|
import {
|
|
209
209
|
isAnthropicOAuthToken,
|
|
210
210
|
readCodexCredentialFile
|
|
211
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-2RYGHXYK.js";
|
|
212
212
|
import {
|
|
213
213
|
composeEnvironmentPrompt,
|
|
214
214
|
detectWsl,
|
|
215
215
|
environmentFactLines,
|
|
216
216
|
permissionSentence,
|
|
217
217
|
readEnvironmentFacts
|
|
218
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-G7KLFAVX.js";
|
|
219
219
|
import {
|
|
220
220
|
ensurePrivateStateDirectory
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-WG6CPS5G.js";
|
|
222
222
|
import {
|
|
223
223
|
namzuHomePath
|
|
224
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-F7XHPIXJ.js";
|
|
225
225
|
import {
|
|
226
226
|
AgentManager,
|
|
227
227
|
AgentRegistry,
|
|
@@ -415,7 +415,7 @@ import {
|
|
|
415
415
|
withModelWindowSuffixStripped,
|
|
416
416
|
withProviderFallback,
|
|
417
417
|
wrapUntrusted
|
|
418
|
-
} from "./chunk-
|
|
418
|
+
} from "./chunk-4SC6RBFK.js";
|
|
419
419
|
import {
|
|
420
420
|
__name,
|
|
421
421
|
__toESM
|
|
@@ -1044,6 +1044,7 @@ function compactResultLine(input) {
|
|
|
1044
1044
|
return parts.join(" \xB7 ");
|
|
1045
1045
|
}
|
|
1046
1046
|
__name(compactResultLine, "compactResultLine");
|
|
1047
|
+
var COMPACT_ABOVE_TEXT = "The messages above are summarized for the model";
|
|
1047
1048
|
var NOTHING_TO_COMPACT_TEXT = "Nothing to compact yet. The conversation is still short enough.";
|
|
1048
1049
|
var COMPACT_NOT_SAVED_TEXT = "This conversation could not be saved, so the summary lasts only until you quit.";
|
|
1049
1050
|
function approximate(tokens) {
|
|
@@ -1320,9 +1321,9 @@ function entryRows(entry, m, width, dim, colors, text2) {
|
|
|
1320
1321
|
const bg = backgroundOf(entry.kind, dim, colors);
|
|
1321
1322
|
const fg = bg === void 0 ? void 0 : text2;
|
|
1322
1323
|
const marker = MARKER[entry.kind];
|
|
1323
|
-
const
|
|
1324
|
-
const room = Math.max(1, width - m - 1 - (
|
|
1325
|
-
const pieces = wrapRuns(
|
|
1324
|
+
const words3 = wordRuns(entry, dim);
|
|
1325
|
+
const room = Math.max(1, width - m - 1 - (words3 ? marker.length : 2));
|
|
1326
|
+
const pieces = wrapRuns(words3 ?? [{ text: entry.code, mark: false }], room);
|
|
1326
1327
|
const note = entry.cut > 0 ? truncationNote(entry.cut) : "";
|
|
1327
1328
|
let noteRow = -1;
|
|
1328
1329
|
if (note) {
|
|
@@ -11686,7 +11687,9 @@ ${persona}` : persona || (readOnlyType !== void 0 ? READ_ONLY_PROMPTS.get(readOn
|
|
|
11686
11687
|
state: outcome.handle.state,
|
|
11687
11688
|
...workspaceData(outcome.handle),
|
|
11688
11689
|
wait_released: run_in_background ? "background" : "operator_input"
|
|
11689
|
-
}
|
|
11690
|
+
},
|
|
11691
|
+
// Only started: what the agent goes on to do is its own record.
|
|
11692
|
+
launched: true
|
|
11690
11693
|
};
|
|
11691
11694
|
}
|
|
11692
11695
|
return completedAgentResult(outcome.handle, publicTaskId(outcome.handle.taskId));
|
|
@@ -16652,15 +16655,15 @@ function namesCli(value) {
|
|
|
16652
16655
|
}
|
|
16653
16656
|
__name(namesCli, "namesCli");
|
|
16654
16657
|
function runsSend(command) {
|
|
16655
|
-
const
|
|
16656
|
-
if (
|
|
16657
|
-
const head =
|
|
16658
|
+
const words3 = command.words.slice(command.assignments);
|
|
16659
|
+
if (words3.length === 0) return null;
|
|
16660
|
+
const head = words3[0];
|
|
16658
16661
|
const headName = head !== void 0 && !head.expands ? commandName(head.value) : "";
|
|
16659
16662
|
if (TEXT_ONLY_HEADS.has(headName)) return null;
|
|
16660
|
-
const cli =
|
|
16663
|
+
const cli = words3.findIndex((word2) => !word2.expands && namesCli(word2.value));
|
|
16661
16664
|
if (cli >= 0) {
|
|
16662
|
-
for (let i = cli + 1; i <
|
|
16663
|
-
const word2 =
|
|
16665
|
+
for (let i = cli + 1; i < words3.length; i++) {
|
|
16666
|
+
const word2 = words3[i];
|
|
16664
16667
|
if (word2 === void 0) continue;
|
|
16665
16668
|
if (word2.expands)
|
|
16666
16669
|
return "it passes the CLI a word that expands at runtime, which could be `send`";
|
|
@@ -16671,7 +16674,7 @@ function runsSend(command) {
|
|
|
16671
16674
|
return null;
|
|
16672
16675
|
}
|
|
16673
16676
|
if (head?.expands) {
|
|
16674
|
-
const rest =
|
|
16677
|
+
const rest = words3.slice(1);
|
|
16675
16678
|
if (rest.some((word2) => !word2.expands && lower(word2.value) === "send"))
|
|
16676
16679
|
return "its program name expands at runtime and it is followed by `send`";
|
|
16677
16680
|
if (rest.some((word2) => word2.expands))
|
|
@@ -16681,10 +16684,10 @@ function runsSend(command) {
|
|
|
16681
16684
|
}
|
|
16682
16685
|
__name(runsSend, "runsSend");
|
|
16683
16686
|
function runsUnreadText(command) {
|
|
16684
|
-
const
|
|
16685
|
-
const nested = nestedShellCommand(
|
|
16687
|
+
const words3 = command.words.slice(command.assignments);
|
|
16688
|
+
const nested = nestedShellCommand(words3);
|
|
16686
16689
|
if (nested !== null && "payload" in nested) return false;
|
|
16687
|
-
return
|
|
16690
|
+
return words3.some((word2) => !word2.expands && UNREAD_RUNNERS.test(commandName(word2.value)));
|
|
16688
16691
|
}
|
|
16689
16692
|
__name(runsUnreadText, "runsUnreadText");
|
|
16690
16693
|
function textVariants(line) {
|
|
@@ -16823,9 +16826,9 @@ function programName(word2) {
|
|
|
16823
16826
|
}
|
|
16824
16827
|
__name(programName, "programName");
|
|
16825
16828
|
function twoWordPrefix(command) {
|
|
16826
|
-
const
|
|
16827
|
-
const [program, subcommand] =
|
|
16828
|
-
if (
|
|
16829
|
+
const words3 = command.trim().split(/\s+/).filter(Boolean);
|
|
16830
|
+
const [program, subcommand] = words3;
|
|
16831
|
+
if (words3.length < 2 || program === void 0 || subcommand === void 0) return void 0;
|
|
16829
16832
|
if (ASSIGNMENT.test(program)) return void 0;
|
|
16830
16833
|
if (!PLAIN_PROGRAM.test(program) || NO_PREFIX_PROGRAMS.has(programName(program))) return void 0;
|
|
16831
16834
|
if (!SUBCOMMAND.test(subcommand)) return void 0;
|
|
@@ -18122,13 +18125,12 @@ var EMPTY_GROUP = {
|
|
|
18122
18125
|
mcpLabels: [],
|
|
18123
18126
|
commands: []
|
|
18124
18127
|
};
|
|
18125
|
-
var HINT_INTERVAL_MS = 700;
|
|
18126
18128
|
var HINT_MAX_CHARS = 300;
|
|
18127
18129
|
function cap(text2) {
|
|
18128
18130
|
return text2.length > HINT_MAX_CHARS ? `${text2.slice(0, HINT_MAX_CHARS - 1)}\u2026` : text2;
|
|
18129
18131
|
}
|
|
18130
18132
|
__name(cap, "cap");
|
|
18131
|
-
function foldOp(state, op
|
|
18133
|
+
function foldOp(state, op) {
|
|
18132
18134
|
let next = state;
|
|
18133
18135
|
switch (op.kind) {
|
|
18134
18136
|
case "read":
|
|
@@ -18156,7 +18158,7 @@ function foldOp(state, op, now) {
|
|
|
18156
18158
|
break;
|
|
18157
18159
|
}
|
|
18158
18160
|
next = aloneOrNot(next);
|
|
18159
|
-
return op.hint === void 0 ? next : withHint(next, cap(op.hint)
|
|
18161
|
+
return op.hint === void 0 ? next : withHint(next, cap(op.hint));
|
|
18160
18162
|
}
|
|
18161
18163
|
__name(foldOp, "foldOp");
|
|
18162
18164
|
function holdsOnlyOneCommand(state) {
|
|
@@ -18173,26 +18175,16 @@ function isOneCommand(state) {
|
|
|
18173
18175
|
return state?.cell !== void 0 && holdsOnlyOneCommand(state);
|
|
18174
18176
|
}
|
|
18175
18177
|
__name(isOneCommand, "isOneCommand");
|
|
18176
|
-
function withHint(state, hint
|
|
18177
|
-
|
|
18178
|
-
const { hintQueued: _queued, ...rest } = state;
|
|
18179
|
-
return { ...rest, hintShown: hint, hintShownAt: now };
|
|
18180
|
-
}
|
|
18181
|
-
return { ...state, hintQueued: hint };
|
|
18178
|
+
function withHint(state, hint) {
|
|
18179
|
+
return { ...state, hintShown: hint };
|
|
18182
18180
|
}
|
|
18183
18181
|
__name(withHint, "withHint");
|
|
18184
|
-
function visibleHint(state
|
|
18185
|
-
if (state.hintQueued !== void 0 && state.hintShownAt !== void 0 && now - state.hintShownAt >= HINT_INTERVAL_MS) {
|
|
18186
|
-
return state.hintQueued;
|
|
18187
|
-
}
|
|
18182
|
+
function visibleHint(state) {
|
|
18188
18183
|
return state.hintShown;
|
|
18189
18184
|
}
|
|
18190
18185
|
__name(visibleHint, "visibleHint");
|
|
18191
18186
|
function hintRows(state) {
|
|
18192
|
-
|
|
18193
|
-
const shown = lines(state.hintShown);
|
|
18194
|
-
const held = lines(state.hintQueued);
|
|
18195
|
-
return held.join("\n").length > shown.join("\n").length ? held : shown;
|
|
18187
|
+
return state.hintShown === void 0 ? [] : state.hintShown.split("\n");
|
|
18196
18188
|
}
|
|
18197
18189
|
__name(hintRows, "hintRows");
|
|
18198
18190
|
function mergeGroups(a, b) {
|
|
@@ -18216,6 +18208,43 @@ var WORDS = {
|
|
|
18216
18208
|
run: { live: "running", done: "ran", one: "command", many: "commands" },
|
|
18217
18209
|
mcp: { live: "calling", done: "called" }
|
|
18218
18210
|
};
|
|
18211
|
+
var VCS_WORDS = {
|
|
18212
|
+
commit: { live: "making", done: "made", one: "commit", many: "commits" },
|
|
18213
|
+
amend: { live: "amending", done: "amended", one: "commit", many: "commits" },
|
|
18214
|
+
// The line cannot see a command's result, and a push or a merge that found nothing to do ends well
|
|
18215
|
+
// too: once over these say what was run, not what changed.
|
|
18216
|
+
push: {
|
|
18217
|
+
live: "pushing",
|
|
18218
|
+
done: "ran",
|
|
18219
|
+
one: "time",
|
|
18220
|
+
many: "times",
|
|
18221
|
+
doneNouns: ["push", "pushes"]
|
|
18222
|
+
},
|
|
18223
|
+
"create-branch": { live: "creating", done: "created", one: "branch", many: "branches" },
|
|
18224
|
+
"switch-branch": {
|
|
18225
|
+
live: "switching",
|
|
18226
|
+
done: "switched",
|
|
18227
|
+
one: "time",
|
|
18228
|
+
many: "times",
|
|
18229
|
+
names: "branches"
|
|
18230
|
+
},
|
|
18231
|
+
merge: {
|
|
18232
|
+
live: "merging",
|
|
18233
|
+
done: "ran",
|
|
18234
|
+
one: "branch",
|
|
18235
|
+
many: "branches",
|
|
18236
|
+
doneNouns: ["merge", "merges"]
|
|
18237
|
+
},
|
|
18238
|
+
rebase: {
|
|
18239
|
+
live: "rebasing",
|
|
18240
|
+
done: "ran",
|
|
18241
|
+
one: "time",
|
|
18242
|
+
many: "times",
|
|
18243
|
+
doneNouns: ["rebase", "rebases"]
|
|
18244
|
+
},
|
|
18245
|
+
"pr-open": { live: "opening", done: "opened", one: "pull request", many: "pull requests" },
|
|
18246
|
+
"pr-merge": { live: "merging", done: "merged", one: "pull request", many: "pull requests" }
|
|
18247
|
+
};
|
|
18219
18248
|
function groupParts(state, live) {
|
|
18220
18249
|
const parts = [];
|
|
18221
18250
|
if (state.searches > 0) {
|
|
@@ -18240,12 +18269,27 @@ function groupParts(state, live) {
|
|
|
18240
18269
|
});
|
|
18241
18270
|
}
|
|
18242
18271
|
if (state.commands.length > 0) {
|
|
18243
|
-
const
|
|
18244
|
-
|
|
18245
|
-
|
|
18246
|
-
|
|
18247
|
-
|
|
18248
|
-
|
|
18272
|
+
const { counts, absorbed } = vcsTally(state.commands);
|
|
18273
|
+
for (const action of VCS_ACTIONS) {
|
|
18274
|
+
const n = counts[action];
|
|
18275
|
+
if (n === 0) continue;
|
|
18276
|
+
const w = VCS_WORDS[action];
|
|
18277
|
+
parts.push({
|
|
18278
|
+
verb: live ? w.live : w.done,
|
|
18279
|
+
...w.names ? { names: w.names } : {},
|
|
18280
|
+
count: n,
|
|
18281
|
+
noun: live || !w.doneNouns ? n === 1 ? w.one : w.many : n === 1 ? w.doneNouns[0] : w.doneNouns[1]
|
|
18282
|
+
});
|
|
18283
|
+
}
|
|
18284
|
+
const plain2 = state.commands.length - absorbed;
|
|
18285
|
+
if (plain2 > 0) {
|
|
18286
|
+
const w = WORDS.run;
|
|
18287
|
+
parts.push({
|
|
18288
|
+
verb: live ? w.live : w.done,
|
|
18289
|
+
count: plain2,
|
|
18290
|
+
noun: plain2 === 1 ? w.one : w.many
|
|
18291
|
+
});
|
|
18292
|
+
}
|
|
18249
18293
|
}
|
|
18250
18294
|
if (state.mcpCalls > 0) {
|
|
18251
18295
|
const w = WORDS.mcp;
|
|
@@ -18338,8 +18382,13 @@ var LIST_COMMANDS = /* @__PURE__ */ new Set(["ls", "tree", "du"]);
|
|
|
18338
18382
|
var NEUTRAL_COMMANDS = /* @__PURE__ */ new Set(["echo", "printf", "true", "false", ":"]);
|
|
18339
18383
|
var SAFE_REDIRECT = /^(?:>&\d|&?>>?\s*\/dev\/null)(?=\s|$|[;|&])/;
|
|
18340
18384
|
function shellSegments(command) {
|
|
18341
|
-
|
|
18385
|
+
return splitShell(command)?.segments;
|
|
18386
|
+
}
|
|
18387
|
+
__name(shellSegments, "shellSegments");
|
|
18388
|
+
function splitShell(command) {
|
|
18389
|
+
const pieces = [];
|
|
18342
18390
|
let current = "";
|
|
18391
|
+
let op = "";
|
|
18343
18392
|
let quote = null;
|
|
18344
18393
|
for (let i = 0; i < command.length; i++) {
|
|
18345
18394
|
const ch = command.charAt(i);
|
|
@@ -18377,18 +18426,34 @@ function shellSegments(command) {
|
|
|
18377
18426
|
return void 0;
|
|
18378
18427
|
if (ch === "&" && next !== "&") return void 0;
|
|
18379
18428
|
if (ch === "|" || ch === ";" || ch === "&" || ch === "\n") {
|
|
18380
|
-
|
|
18381
|
-
|
|
18429
|
+
let found = ch;
|
|
18430
|
+
if ((ch === "|" || ch === "&") && next === ch) {
|
|
18431
|
+
found = ch + ch;
|
|
18432
|
+
i += 1;
|
|
18433
|
+
}
|
|
18434
|
+
pieces.push({ text: current, op });
|
|
18382
18435
|
current = "";
|
|
18436
|
+
op = found;
|
|
18383
18437
|
continue;
|
|
18384
18438
|
}
|
|
18385
18439
|
current += ch;
|
|
18386
18440
|
}
|
|
18387
18441
|
if (quote !== null) return void 0;
|
|
18388
|
-
|
|
18389
|
-
|
|
18390
|
-
|
|
18391
|
-
|
|
18442
|
+
pieces.push({ text: current, op });
|
|
18443
|
+
const segments = [];
|
|
18444
|
+
const joins = [];
|
|
18445
|
+
let pending = "";
|
|
18446
|
+
for (const piece of pieces) {
|
|
18447
|
+
if (piece.op !== "" && piece.op !== "&&" && pending === "") pending = piece.op;
|
|
18448
|
+
const text2 = piece.text.trim();
|
|
18449
|
+
if (text2.length === 0) continue;
|
|
18450
|
+
segments.push(text2);
|
|
18451
|
+
joins.push(segments.length === 1 ? "" : pending === "" ? piece.op : pending);
|
|
18452
|
+
pending = "";
|
|
18453
|
+
}
|
|
18454
|
+
return { segments, joins };
|
|
18455
|
+
}
|
|
18456
|
+
__name(splitShell, "splitShell");
|
|
18392
18457
|
function writesOrRuns(word2, segment) {
|
|
18393
18458
|
if (word2 === "find")
|
|
18394
18459
|
return /(^|\s)-(delete|exec|execdir|ok|okdir|fprint\w*|fls)(\s|$)/.test(segment);
|
|
@@ -18482,6 +18547,365 @@ function classifyCall(call) {
|
|
|
18482
18547
|
}
|
|
18483
18548
|
}
|
|
18484
18549
|
__name(classifyCall, "classifyCall");
|
|
18550
|
+
var VCS_ACTIONS = [
|
|
18551
|
+
"commit",
|
|
18552
|
+
"amend",
|
|
18553
|
+
"push",
|
|
18554
|
+
"create-branch",
|
|
18555
|
+
"switch-branch",
|
|
18556
|
+
"merge",
|
|
18557
|
+
"rebase",
|
|
18558
|
+
"pr-open",
|
|
18559
|
+
"pr-merge"
|
|
18560
|
+
];
|
|
18561
|
+
function words2(segment) {
|
|
18562
|
+
const out = [];
|
|
18563
|
+
let text2 = "";
|
|
18564
|
+
let quoted = false;
|
|
18565
|
+
let plainUntil = -1;
|
|
18566
|
+
let open5 = false;
|
|
18567
|
+
let quote = null;
|
|
18568
|
+
const mark = /* @__PURE__ */ __name(() => {
|
|
18569
|
+
quoted = true;
|
|
18570
|
+
if (plainUntil < 0) plainUntil = text2.length;
|
|
18571
|
+
}, "mark");
|
|
18572
|
+
for (let i = 0; i < segment.length; i++) {
|
|
18573
|
+
const ch = segment.charAt(i);
|
|
18574
|
+
if (quote !== null) {
|
|
18575
|
+
if (ch === quote) quote = null;
|
|
18576
|
+
else if (ch === "\\" && quote === '"' && i + 1 < segment.length) {
|
|
18577
|
+
text2 += segment.charAt(i + 1);
|
|
18578
|
+
i += 1;
|
|
18579
|
+
} else text2 += ch;
|
|
18580
|
+
continue;
|
|
18581
|
+
}
|
|
18582
|
+
if (ch === '"' || ch === "'") {
|
|
18583
|
+
mark();
|
|
18584
|
+
open5 = true;
|
|
18585
|
+
quote = ch;
|
|
18586
|
+
continue;
|
|
18587
|
+
}
|
|
18588
|
+
if (ch === "\\" && i + 1 < segment.length) {
|
|
18589
|
+
mark();
|
|
18590
|
+
open5 = true;
|
|
18591
|
+
text2 += segment.charAt(i + 1);
|
|
18592
|
+
i += 1;
|
|
18593
|
+
continue;
|
|
18594
|
+
}
|
|
18595
|
+
if (/\s/.test(ch)) {
|
|
18596
|
+
if (open5) out.push({ text: text2, quoted, plainUntil: plainUntil < 0 ? text2.length : plainUntil });
|
|
18597
|
+
text2 = "";
|
|
18598
|
+
quoted = false;
|
|
18599
|
+
plainUntil = -1;
|
|
18600
|
+
open5 = false;
|
|
18601
|
+
continue;
|
|
18602
|
+
}
|
|
18603
|
+
open5 = true;
|
|
18604
|
+
text2 += ch;
|
|
18605
|
+
}
|
|
18606
|
+
if (open5) out.push({ text: text2, quoted, plainUntil: plainUntil < 0 ? text2.length : plainUntil });
|
|
18607
|
+
return out;
|
|
18608
|
+
}
|
|
18609
|
+
__name(words2, "words");
|
|
18610
|
+
var ASSIGNMENT2 = /^[A-Za-z_][A-Za-z0-9_]*=/;
|
|
18611
|
+
function isFlag(word2) {
|
|
18612
|
+
return !word2.quoted && word2.text.length > 1 && word2.text.startsWith("-");
|
|
18613
|
+
}
|
|
18614
|
+
__name(isFlag, "isFlag");
|
|
18615
|
+
function longMatches(flag, full, minLength) {
|
|
18616
|
+
const name = flag.split("=")[0] ?? flag;
|
|
18617
|
+
return name.startsWith("--") && name.length >= minLength && full.startsWith(name);
|
|
18618
|
+
}
|
|
18619
|
+
__name(longMatches, "longMatches");
|
|
18620
|
+
var VALUE_OPTIONS = {
|
|
18621
|
+
commit: {
|
|
18622
|
+
short: "mFCct",
|
|
18623
|
+
long: [
|
|
18624
|
+
"--message",
|
|
18625
|
+
"--file",
|
|
18626
|
+
"--author",
|
|
18627
|
+
"--date",
|
|
18628
|
+
"--reuse-message",
|
|
18629
|
+
"--reedit-message",
|
|
18630
|
+
"--fixup",
|
|
18631
|
+
"--squash",
|
|
18632
|
+
"--cleanup",
|
|
18633
|
+
"--template",
|
|
18634
|
+
"--trailer"
|
|
18635
|
+
]
|
|
18636
|
+
},
|
|
18637
|
+
push: {
|
|
18638
|
+
short: "o",
|
|
18639
|
+
long: ["--push-option", "--repo", "--receive-pack", "--exec"]
|
|
18640
|
+
},
|
|
18641
|
+
merge: { short: "mFsX", long: ["--message", "--file", "--strategy", "--strategy-option"] },
|
|
18642
|
+
rebase: {
|
|
18643
|
+
short: "sXxC",
|
|
18644
|
+
long: ["--onto", "--strategy", "--strategy-option", "--exec"]
|
|
18645
|
+
},
|
|
18646
|
+
switch: { short: "cC", long: ["--conflict", "--create", "--force-create", "--orphan"] },
|
|
18647
|
+
checkout: { short: "bB", long: ["--conflict", "--orphan"] },
|
|
18648
|
+
branch: { short: "", long: [] },
|
|
18649
|
+
"gh-pr-create": {
|
|
18650
|
+
short: "tbBHlaromTpRF",
|
|
18651
|
+
long: [
|
|
18652
|
+
"--title",
|
|
18653
|
+
"--body",
|
|
18654
|
+
"--base",
|
|
18655
|
+
"--head",
|
|
18656
|
+
"--label",
|
|
18657
|
+
"--assignee",
|
|
18658
|
+
"--reviewer",
|
|
18659
|
+
"--milestone",
|
|
18660
|
+
"--project",
|
|
18661
|
+
"--template",
|
|
18662
|
+
"--repo",
|
|
18663
|
+
"--body-file",
|
|
18664
|
+
"--recover"
|
|
18665
|
+
]
|
|
18666
|
+
},
|
|
18667
|
+
"gh-pr-merge": {
|
|
18668
|
+
short: "tbFR",
|
|
18669
|
+
long: ["--subject", "--body", "--body-file", "--match-head-commit", "--author-email", "--repo"]
|
|
18670
|
+
}
|
|
18671
|
+
};
|
|
18672
|
+
function parseArgs(rest, table) {
|
|
18673
|
+
const spec = VALUE_OPTIONS[table] ?? { short: "", long: [] };
|
|
18674
|
+
const flags = [];
|
|
18675
|
+
const positional = [];
|
|
18676
|
+
const values = /* @__PURE__ */ new Map();
|
|
18677
|
+
let unsure = false;
|
|
18678
|
+
let onlyPaths = false;
|
|
18679
|
+
for (let i = 0; i < rest.length; i++) {
|
|
18680
|
+
const word2 = rest[i];
|
|
18681
|
+
if (!onlyPaths && !word2.quoted && word2.text === "--") {
|
|
18682
|
+
onlyPaths = true;
|
|
18683
|
+
continue;
|
|
18684
|
+
}
|
|
18685
|
+
if (!onlyPaths && isFlag(word2) && word2.text !== "-") {
|
|
18686
|
+
flags.push(word2.text);
|
|
18687
|
+
const long = word2.text.startsWith("--");
|
|
18688
|
+
const takes = long ? !word2.text.includes("=") && spec.long.some((name) => longMatches(word2.text, name, word2.text.length)) : /^-[A-Za-z]*$/.test(word2.text) && spec.short.includes(word2.text.charAt(word2.text.length - 1));
|
|
18689
|
+
if (takes && i + 1 < rest.length) {
|
|
18690
|
+
values.set(word2.text, rest[i + 1].text);
|
|
18691
|
+
i += 1;
|
|
18692
|
+
}
|
|
18693
|
+
continue;
|
|
18694
|
+
}
|
|
18695
|
+
if (/[$*?[]/.test(word2.text) || word2.text.startsWith("~")) unsure = true;
|
|
18696
|
+
positional.push(word2.text);
|
|
18697
|
+
}
|
|
18698
|
+
return { flags, positional, unsure, values };
|
|
18699
|
+
}
|
|
18700
|
+
__name(parseArgs, "parseArgs");
|
|
18701
|
+
function hasFlag(parsed, ...names) {
|
|
18702
|
+
return parsed.flags.some(
|
|
18703
|
+
(flag) => names.some(
|
|
18704
|
+
(name) => name.startsWith("--") ? longMatches(flag, name, 3) : flag === name || shortCluster(flag, name)
|
|
18705
|
+
)
|
|
18706
|
+
);
|
|
18707
|
+
}
|
|
18708
|
+
__name(hasFlag, "hasFlag");
|
|
18709
|
+
function shortCluster(flag, name) {
|
|
18710
|
+
return name.length === 2 && /^-[A-Za-z]+$/.test(flag) && !flag.startsWith("--") && flag.slice(1).includes(name.charAt(1));
|
|
18711
|
+
}
|
|
18712
|
+
__name(shortCluster, "shortCluster");
|
|
18713
|
+
var GIT_FLAGS = /* @__PURE__ */ new Set([
|
|
18714
|
+
"--no-pager",
|
|
18715
|
+
"-P",
|
|
18716
|
+
"--paginate",
|
|
18717
|
+
"-p",
|
|
18718
|
+
"--no-optional-locks",
|
|
18719
|
+
"--no-replace-objects",
|
|
18720
|
+
"--bare",
|
|
18721
|
+
"--literal-pathspecs",
|
|
18722
|
+
"--no-literal-pathspecs",
|
|
18723
|
+
"--glob-pathspecs",
|
|
18724
|
+
"--noglob-pathspecs",
|
|
18725
|
+
"--icase-pathspecs",
|
|
18726
|
+
"--no-advice"
|
|
18727
|
+
]);
|
|
18728
|
+
function readSegment(segment) {
|
|
18729
|
+
const all = words2(segment);
|
|
18730
|
+
let i = 0;
|
|
18731
|
+
while (i < all.length) {
|
|
18732
|
+
const word2 = all[i];
|
|
18733
|
+
const eq = word2.text.indexOf("=");
|
|
18734
|
+
if (ASSIGNMENT2.test(word2.text) && eq <= word2.plainUntil) i += 1;
|
|
18735
|
+
else break;
|
|
18736
|
+
}
|
|
18737
|
+
const head = all[i];
|
|
18738
|
+
if (head === void 0 || head.quoted) return { explained: false };
|
|
18739
|
+
if (head.text === "cd" || NEUTRAL_COMMANDS.has(head.text)) return { explained: true };
|
|
18740
|
+
if (head.text === "git") return readGit(all.slice(i + 1));
|
|
18741
|
+
if (head.text === "gh") return readGh(all.slice(i + 1));
|
|
18742
|
+
return { explained: false };
|
|
18743
|
+
}
|
|
18744
|
+
__name(readSegment, "readSegment");
|
|
18745
|
+
function readGit(rest) {
|
|
18746
|
+
let i = 0;
|
|
18747
|
+
for (; i < rest.length; i++) {
|
|
18748
|
+
const word2 = rest[i];
|
|
18749
|
+
if (word2.quoted) return { explained: false };
|
|
18750
|
+
if (word2.text === "-C") {
|
|
18751
|
+
i += 1;
|
|
18752
|
+
continue;
|
|
18753
|
+
}
|
|
18754
|
+
if (word2.text === "-c") {
|
|
18755
|
+
const value = rest[i + 1]?.text.toLowerCase() ?? "";
|
|
18756
|
+
if (value.startsWith("alias.")) return { explained: false };
|
|
18757
|
+
i += 1;
|
|
18758
|
+
continue;
|
|
18759
|
+
}
|
|
18760
|
+
if (word2.text === "--git-dir" || word2.text === "--work-tree" || word2.text === "--namespace") {
|
|
18761
|
+
i += 1;
|
|
18762
|
+
continue;
|
|
18763
|
+
}
|
|
18764
|
+
if (/^--(?:git-dir|work-tree|namespace)=/.test(word2.text) || GIT_FLAGS.has(word2.text)) continue;
|
|
18765
|
+
if (word2.text.startsWith("-")) return { explained: false };
|
|
18766
|
+
break;
|
|
18767
|
+
}
|
|
18768
|
+
const sub = rest[i];
|
|
18769
|
+
if (sub === void 0 || sub.quoted || /[$*?[~]/.test(sub.text)) return { explained: false };
|
|
18770
|
+
const parsed = parseArgs(rest.slice(i + 1), sub.text);
|
|
18771
|
+
const unknown = { explained: false };
|
|
18772
|
+
const harmless = { explained: true };
|
|
18773
|
+
if (HARMLESS_GIT.has(sub.text)) return harmless;
|
|
18774
|
+
if (parsed.unsure) return unknown;
|
|
18775
|
+
if (hasFlag(parsed, "--help", "-h")) return harmless;
|
|
18776
|
+
switch (sub.text) {
|
|
18777
|
+
case "commit":
|
|
18778
|
+
if (hasFlag(parsed, "--dry-run")) return harmless;
|
|
18779
|
+
return { action: amendLong(parsed) ? "amend" : "commit", explained: true };
|
|
18780
|
+
case "push":
|
|
18781
|
+
if (hasFlag(parsed, "--dry-run", "-n")) return harmless;
|
|
18782
|
+
if (hasFlag(parsed, "--delete", "-d", "--mirror")) return unknown;
|
|
18783
|
+
return { action: "push", explained: true };
|
|
18784
|
+
case "merge":
|
|
18785
|
+
if (hasFlag(parsed, "--abort", "--quit", "--continue")) return unknown;
|
|
18786
|
+
return { action: "merge", explained: true };
|
|
18787
|
+
case "rebase":
|
|
18788
|
+
if (hasFlag(
|
|
18789
|
+
parsed,
|
|
18790
|
+
"--abort",
|
|
18791
|
+
"--quit",
|
|
18792
|
+
"--continue",
|
|
18793
|
+
"--skip",
|
|
18794
|
+
"--edit-todo",
|
|
18795
|
+
"--show-current-patch"
|
|
18796
|
+
))
|
|
18797
|
+
return unknown;
|
|
18798
|
+
return { action: "rebase", explained: true };
|
|
18799
|
+
case "switch": {
|
|
18800
|
+
const make = ["-c", "-C", "--create", "--force-create"].find((f) => parsed.values.has(f));
|
|
18801
|
+
if (make !== void 0) return { action: "create-branch", explained: true };
|
|
18802
|
+
if (hasFlag(parsed, "--detach", "-d", "--orphan", "--create", "--force-create"))
|
|
18803
|
+
return unknown;
|
|
18804
|
+
return parsed.positional.length === 1 ? { action: "switch-branch", explained: true } : unknown;
|
|
18805
|
+
}
|
|
18806
|
+
case "checkout":
|
|
18807
|
+
return ["-b", "-B"].some((f) => parsed.values.has(f)) && !hasFlag(parsed, "--orphan") ? { action: "create-branch", explained: true } : unknown;
|
|
18808
|
+
case "branch":
|
|
18809
|
+
if (parsed.flags.length === 0 && parsed.positional.length >= 1 && parsed.positional.length <= 2)
|
|
18810
|
+
return { action: "create-branch", explained: true };
|
|
18811
|
+
return parsed.positional.length === 0 && parsed.flags.every((flag) => BRANCH_LIST_FLAGS.has(flag)) ? harmless : unknown;
|
|
18812
|
+
default:
|
|
18813
|
+
return unknown;
|
|
18814
|
+
}
|
|
18815
|
+
}
|
|
18816
|
+
__name(readGit, "readGit");
|
|
18817
|
+
var HARMLESS_GIT = /* @__PURE__ */ new Set([
|
|
18818
|
+
"add",
|
|
18819
|
+
"status",
|
|
18820
|
+
"diff",
|
|
18821
|
+
"log",
|
|
18822
|
+
"show",
|
|
18823
|
+
"fetch",
|
|
18824
|
+
"rev-parse",
|
|
18825
|
+
"rev-list",
|
|
18826
|
+
"ls-files",
|
|
18827
|
+
"ls-tree",
|
|
18828
|
+
"describe",
|
|
18829
|
+
"blame",
|
|
18830
|
+
"shortlog",
|
|
18831
|
+
"grep",
|
|
18832
|
+
"cat-file",
|
|
18833
|
+
"reflog"
|
|
18834
|
+
]);
|
|
18835
|
+
var BRANCH_LIST_FLAGS = /* @__PURE__ */ new Set([
|
|
18836
|
+
"-a",
|
|
18837
|
+
"--all",
|
|
18838
|
+
"-r",
|
|
18839
|
+
"--remotes",
|
|
18840
|
+
"-v",
|
|
18841
|
+
"-vv",
|
|
18842
|
+
"--verbose",
|
|
18843
|
+
"--list",
|
|
18844
|
+
"-l",
|
|
18845
|
+
"--show-current"
|
|
18846
|
+
]);
|
|
18847
|
+
function amendLong(parsed) {
|
|
18848
|
+
return parsed.flags.some((flag) => longMatches(flag, "--amend", 4));
|
|
18849
|
+
}
|
|
18850
|
+
__name(amendLong, "amendLong");
|
|
18851
|
+
function readGh(rest) {
|
|
18852
|
+
const first = rest[0];
|
|
18853
|
+
const second = rest[1];
|
|
18854
|
+
if (first === void 0 || first.quoted || first.text !== "pr") return { explained: false };
|
|
18855
|
+
if (second === void 0 || second.quoted) return { explained: false };
|
|
18856
|
+
const harmless = { explained: true };
|
|
18857
|
+
const unknown = { explained: false };
|
|
18858
|
+
if (GH_PR_HARMLESS.has(second.text)) return harmless;
|
|
18859
|
+
if (second.text !== "create" && second.text !== "merge") return unknown;
|
|
18860
|
+
const parsed = parseArgs(rest.slice(2), second.text === "create" ? "gh-pr-create" : "gh-pr-merge");
|
|
18861
|
+
if (parsed.unsure) return unknown;
|
|
18862
|
+
if (parsed.flags.some((flag) => flag === "--help" || flag === "-h")) return harmless;
|
|
18863
|
+
if (second.text === "create") {
|
|
18864
|
+
if (parsed.flags.includes("--dry-run")) return harmless;
|
|
18865
|
+
if (parsed.flags.some((flag) => flag === "--web" || flag === "-w")) return unknown;
|
|
18866
|
+
return { action: "pr-open", explained: true };
|
|
18867
|
+
}
|
|
18868
|
+
if (parsed.flags.some((flag) => flag === "--auto" || flag === "--disable-auto")) return unknown;
|
|
18869
|
+
return { action: "pr-merge", explained: true };
|
|
18870
|
+
}
|
|
18871
|
+
__name(readGh, "readGh");
|
|
18872
|
+
var GH_PR_HARMLESS = /* @__PURE__ */ new Set(["view", "list", "status", "checks", "diff"]);
|
|
18873
|
+
function vcsActions(command) {
|
|
18874
|
+
const split = splitShell(command);
|
|
18875
|
+
if (!split || split.segments.length === 0) return { actions: [], absorbed: false };
|
|
18876
|
+
if (split.joins.some((join20, index) => index > 0 && join20 !== "&&"))
|
|
18877
|
+
return { actions: [], absorbed: false };
|
|
18878
|
+
const actions = [];
|
|
18879
|
+
let explained = true;
|
|
18880
|
+
for (const segment of split.segments) {
|
|
18881
|
+
const read2 = readSegment(segment);
|
|
18882
|
+
if (read2.action !== void 0) actions.push(read2.action);
|
|
18883
|
+
if (!read2.explained) explained = false;
|
|
18884
|
+
}
|
|
18885
|
+
return { actions, absorbed: actions.length > 0 && explained };
|
|
18886
|
+
}
|
|
18887
|
+
__name(vcsActions, "vcsActions");
|
|
18888
|
+
function vcsTally(commands) {
|
|
18889
|
+
const counts = {
|
|
18890
|
+
commit: 0,
|
|
18891
|
+
amend: 0,
|
|
18892
|
+
push: 0,
|
|
18893
|
+
"create-branch": 0,
|
|
18894
|
+
"switch-branch": 0,
|
|
18895
|
+
merge: 0,
|
|
18896
|
+
rebase: 0,
|
|
18897
|
+
"pr-open": 0,
|
|
18898
|
+
"pr-merge": 0
|
|
18899
|
+
};
|
|
18900
|
+
let absorbed = 0;
|
|
18901
|
+
for (const command of commands) {
|
|
18902
|
+
const read2 = vcsActions(command);
|
|
18903
|
+
for (const action of read2.actions) counts[action] += 1;
|
|
18904
|
+
if (read2.absorbed) absorbed += 1;
|
|
18905
|
+
}
|
|
18906
|
+
return { counts, absorbed };
|
|
18907
|
+
}
|
|
18908
|
+
__name(vcsTally, "vcsTally");
|
|
18485
18909
|
|
|
18486
18910
|
// src/tui/tool-presentation.ts
|
|
18487
18911
|
var optionalText = /* @__PURE__ */ __name((value) => value === void 0 || typeof value === "string", "optionalText");
|
|
@@ -18876,11 +19300,11 @@ __name(clipRequestContext, "clipRequestContext");
|
|
|
18876
19300
|
async function createAgentSession(prefs, detectedProviders, options = {}) {
|
|
18877
19301
|
const modelEnvironment = readModelLaunchEnvironment();
|
|
18878
19302
|
if (options.palEnvironment) {
|
|
18879
|
-
const { createPalAgentSession } = await import("./agent-session-
|
|
19303
|
+
const { createPalAgentSession } = await import("./agent-session-JO5HEUHN.js");
|
|
18880
19304
|
return createPalAgentSession(prefs, detectedProviders, options);
|
|
18881
19305
|
}
|
|
18882
19306
|
let detected = detectedProviders;
|
|
18883
|
-
const { palAtWorkspace } = await import("./store-
|
|
19307
|
+
const { palAtWorkspace } = await import("./store-XJXBG4MP.js");
|
|
18884
19308
|
if (palAtWorkspace(options.cwd ?? process.cwd()))
|
|
18885
19309
|
throw new Error("This Pal requires its owned virtual computer. Open it with namzu pal chat.");
|
|
18886
19310
|
const commandArguments = builtinCommandArguments();
|
|
@@ -20164,7 +20588,7 @@ async function createAgentSession(prefs, detectedProviders, options = {}) {
|
|
|
20164
20588
|
);
|
|
20165
20589
|
toolsets.push(options.toolLoading === "eager" ? monitorToolset : deferred(monitorToolset));
|
|
20166
20590
|
}
|
|
20167
|
-
const operatorPals = await import("./operator-tools-
|
|
20591
|
+
const operatorPals = await import("./operator-tools-7WLNIRD3.js");
|
|
20168
20592
|
toolsets.push(
|
|
20169
20593
|
readyWhen(
|
|
20170
20594
|
toolset(
|
|
@@ -22954,7 +23378,13 @@ function toAgentEvent(event, presenter, readsOnly, cwd) {
|
|
|
22954
23378
|
});
|
|
22955
23379
|
return fold ? { fold } : {};
|
|
22956
23380
|
})(),
|
|
22957
|
-
...readsOnly?.(event.toolName, event.input) ? { readOnly: true } : {}
|
|
23381
|
+
...readsOnly?.(event.toolName, event.input) ? { readOnly: true } : {},
|
|
23382
|
+
...(() => {
|
|
23383
|
+
const asked = event.input?.timeout;
|
|
23384
|
+
if (event.toolName !== "bash" || typeof asked !== "number" || !(asked > 0)) return {};
|
|
23385
|
+
const applied = BashTool.inputSchema.safeParse({ command: "true", timeout: asked });
|
|
23386
|
+
return { timeoutMs: applied.success ? applied.data.timeout : asked };
|
|
23387
|
+
})()
|
|
22958
23388
|
};
|
|
22959
23389
|
case "tool_input_completed":
|
|
22960
23390
|
return event.inputTruncated ? {
|
|
@@ -22982,7 +23412,8 @@ function toAgentEvent(event, presenter, readsOnly, cwd) {
|
|
|
22982
23412
|
toolUseId: event.toolUseId,
|
|
22983
23413
|
toolName: event.toolName,
|
|
22984
23414
|
message: event.message,
|
|
22985
|
-
...event.fraction !== void 0 ? { fraction: event.fraction } : {}
|
|
23415
|
+
...event.fraction !== void 0 ? { fraction: event.fraction } : {},
|
|
23416
|
+
...event.outputLines !== void 0 ? { outputLines: event.outputLines } : {}
|
|
22986
23417
|
};
|
|
22987
23418
|
case "tool_completed": {
|
|
22988
23419
|
const shown = event.toolName.startsWith("mcp__") ? untrustedEnvelopeBody(event.result) ?? event.result : event.result;
|
|
@@ -23522,6 +23953,7 @@ export {
|
|
|
23522
23953
|
COMPACT_RESULT_HINT,
|
|
23523
23954
|
estimateHistoryTokens,
|
|
23524
23955
|
compactResultLine,
|
|
23956
|
+
COMPACT_ABOVE_TEXT,
|
|
23525
23957
|
NOTHING_TO_COMPACT_TEXT,
|
|
23526
23958
|
COMPACT_NOT_SAVED_TEXT,
|
|
23527
23959
|
compactionSummaryLines,
|
|
@@ -23599,7 +24031,6 @@ export {
|
|
|
23599
24031
|
projectTurnConversation,
|
|
23600
24032
|
resolveModelSwitch,
|
|
23601
24033
|
EMPTY_GROUP,
|
|
23602
|
-
HINT_INTERVAL_MS,
|
|
23603
24034
|
foldOp,
|
|
23604
24035
|
isOneCommand,
|
|
23605
24036
|
visibleHint,
|
|
@@ -23639,4 +24070,4 @@ export {
|
|
|
23639
24070
|
RESULT_SUMMARY_WHOLE_MAX,
|
|
23640
24071
|
resultSummaryLine
|
|
23641
24072
|
};
|
|
23642
|
-
//# sourceMappingURL=chunk-
|
|
24073
|
+
//# sourceMappingURL=chunk-UKOCGHMU.js.map
|