@namzu/cli 60.0.0 → 60.1.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 +36 -0
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-QLIZHXKX.js → acp-6R4I2A3Q.js} +2060 -245
- package/dist/chunks/acp-6R4I2A3Q.js.map +6 -0
- package/dist/chunks/{activity-command-IVAID3QG.js → activity-command-JU4HLIQJ.js} +14 -14
- package/dist/chunks/{add-W4VXIXR3.js → add-S6JYKDI4.js} +24 -24
- package/dist/chunks/{agent-3VVUFK46.js → agent-E343AQV7.js} +53 -50
- package/dist/chunks/agent-session-D6JIOCON.js +95 -0
- package/dist/chunks/{apply-at-exit-UW5DQZED.js → apply-at-exit-MEOJMGNT.js} +7 -7
- package/dist/chunks/{archive-VGG3TNKD.js → archive-ZPWC7GZU.js} +13 -13
- package/dist/chunks/{auth-XUAD35SY.js → auth-6NX4TMIG.js} +12 -12
- package/dist/chunks/{bin-main-3A5QPUJN.js → bin-main-P3KAQDKC.js} +8 -8
- package/dist/chunks/{binding-743KPSRO.js → binding-6QZVGFQ5.js} +3 -3
- package/dist/chunks/{browser-Y6PS3RBO.js → browser-KK2U5524.js} +7 -7
- package/dist/chunks/{chat-P3OKHK34.js → chat-VEXJRSZN.js} +17 -17
- package/dist/chunks/{chunk-AXCSETAX.js → chunk-2DCOB33W.js} +6 -6
- package/dist/chunks/{chunk-24PN4KZ7.js → chunk-2KVQVPJ7.js} +5 -5
- package/dist/chunks/chunk-32OIBGYI.js +188 -0
- package/dist/chunks/chunk-32OIBGYI.js.map +6 -0
- package/dist/chunks/{chunk-ITFIXESL.js → chunk-42JIZXVL.js} +4 -4
- package/dist/chunks/{chunk-44V3FNMT.js → chunk-4473VICE.js} +3 -3
- package/dist/chunks/{chunk-D5ORLKON.js → chunk-44YG6EI4.js} +4 -4
- package/dist/chunks/{chunk-OTNW5ZO6.js → chunk-452SL2Y4.js} +2 -2
- package/dist/chunks/{chunk-SR4DQPOI.js → chunk-4BNCVR3U.js} +2 -2
- package/dist/chunks/{chunk-IGZGAC75.js → chunk-4CJ3HPOT.js} +2 -2
- package/dist/chunks/{chunk-WWMSEDXA.js → chunk-4DSUVT37.js} +13 -10
- package/dist/chunks/chunk-4DSUVT37.js.map +6 -0
- package/dist/chunks/{chunk-TSHMH45O.js → chunk-4ENL4VUO.js} +4 -4
- package/dist/chunks/{chunk-ONVEH4H7.js → chunk-4KVYTHY7.js} +3 -3
- package/dist/chunks/{chunk-KBIVQ5RH.js → chunk-4Y242BU4.js} +5 -5
- package/dist/chunks/{chunk-2P427DDU.js → chunk-5F4DSPZC.js} +10 -10
- package/dist/chunks/{chunk-QI6XNUH6.js → chunk-5IGEQN7L.js} +4 -4
- package/dist/chunks/{chunk-5Y455HIT.js → chunk-5ZLKTFU2.js} +3 -3
- package/dist/chunks/{chunk-SNKDM7FT.js → chunk-66QIFMEO.js} +2 -2
- package/dist/chunks/{chunk-ATL46ZCR.js → chunk-6HYK4DDB.js} +3 -3
- package/dist/chunks/{chunk-D3OHAYMX.js → chunk-6TUHWKXP.js} +15 -6
- package/dist/chunks/chunk-6TUHWKXP.js.map +6 -0
- package/dist/chunks/{chunk-FISBMAF4.js → chunk-6W3UGXGG.js} +4 -4
- package/dist/chunks/{chunk-P2PWTXHD.js → chunk-75YLZNZW.js} +3 -3
- package/dist/chunks/{chunk-37S6BVTN.js → chunk-AC5P6W3G.js} +2 -2
- package/dist/chunks/chunk-AMYP2WPW.js +1055 -0
- package/dist/chunks/chunk-AMYP2WPW.js.map +6 -0
- package/dist/chunks/{chunk-XNALFKQ2.js → chunk-AYMB4AOZ.js} +4 -4
- package/dist/chunks/{chunk-ZFEDNTIB.js → chunk-B4AOCHH6.js} +3 -3
- package/dist/chunks/{chunk-7PD3LHIR.js → chunk-BA7KUG6V.js} +2 -2
- package/dist/chunks/{chunk-3JCHJOU3.js → chunk-BHQHTM3Z.js} +5 -5
- package/dist/chunks/chunk-BJT37HR4.js +3644 -0
- package/dist/chunks/chunk-BJT37HR4.js.map +6 -0
- package/dist/chunks/{chunk-52T26DYZ.js → chunk-BNLIRJ3M.js} +4 -4
- package/dist/chunks/{chunk-ZHRBJT5B.js → chunk-BURGRQWO.js} +2 -2
- package/dist/chunks/{chunk-3P5TQ3VZ.js → chunk-BWD2TUI4.js} +5 -5
- package/dist/chunks/{chunk-LQFUO2RZ.js → chunk-BZR5PIFF.js} +300 -292
- package/dist/chunks/chunk-BZR5PIFF.js.map +6 -0
- package/dist/chunks/{chunk-OK3QKISP.js → chunk-C7E7YCRD.js} +5 -5
- package/dist/chunks/{chunk-YMVJOKBZ.js → chunk-CXW7I2S3.js} +2 -2
- package/dist/chunks/{chunk-4KRQ6EWL.js → chunk-D2R47LDH.js} +121 -8
- package/dist/chunks/chunk-D2R47LDH.js.map +6 -0
- package/dist/chunks/chunk-D4TXOX34.js +342 -0
- package/dist/chunks/chunk-D4TXOX34.js.map +6 -0
- package/dist/chunks/{chunk-BJWJPQ66.js → chunk-D6PB3Z7Q.js} +2 -2
- package/dist/chunks/{chunk-FOS5YJED.js → chunk-DEAG4G5J.js} +2 -2
- package/dist/chunks/{chunk-DHQJRU7E.js → chunk-DRSQTKDN.js} +3 -3
- package/dist/chunks/chunk-EBBT2I5S.js +153 -0
- package/dist/chunks/chunk-EBBT2I5S.js.map +6 -0
- package/dist/chunks/{chunk-JAPP6DFJ.js → chunk-EWPGU4HH.js} +10 -364
- package/dist/chunks/chunk-EWPGU4HH.js.map +6 -0
- package/dist/chunks/{chunk-HNSJJXIO.js → chunk-EXJJLYZK.js} +3 -3
- package/dist/chunks/{chunk-L7DZ2QPD.js → chunk-F5W4TNCR.js} +2 -2
- package/dist/chunks/{chunk-XIBT7TAZ.js → chunk-F7KOBJVW.js} +4 -4
- package/dist/chunks/{chunk-XLWFT4QC.js → chunk-FK4MAZV2.js} +5 -5
- package/dist/chunks/{chunk-NIHIVQJS.js → chunk-FMD4REZQ.js} +41 -41
- package/dist/chunks/{chunk-NIHIVQJS.js.map → chunk-FMD4REZQ.js.map} +1 -1
- package/dist/chunks/{chunk-J2AH4QK4.js → chunk-FPC3K4TT.js} +3 -3
- package/dist/chunks/{chunk-RE5EUO3F.js → chunk-FVIKYFYD.js} +2 -2
- package/dist/chunks/{chunk-TN7MDKW2.js → chunk-GPTYDM26.js} +8 -8
- package/dist/chunks/{chunk-3APHAS77.js → chunk-GT22EDUB.js} +6 -6
- package/dist/chunks/{chunk-PGD2EYI7.js → chunk-GTUTBTOV.js} +3 -3
- package/dist/chunks/{chunk-ZY7N242I.js → chunk-H6NTNPWD.js} +4 -4
- package/dist/chunks/{chunk-2X53RSPY.js → chunk-HCQGZPVT.js} +2 -2
- package/dist/chunks/{chunk-BBBVDHRH.js → chunk-HG2PPCAE.js} +3 -3
- package/dist/chunks/{chunk-JR66BLKY.js → chunk-HKRUNZVI.js} +3 -3
- package/dist/chunks/{chunk-BBBFPJV3.js → chunk-HM7L5PM2.js} +3 -3
- package/dist/chunks/{chunk-2CP6CJXJ.js → chunk-I4RC6KQQ.js} +19 -19
- package/dist/chunks/{chunk-GRCEOMSP.js → chunk-IL4Y3JGT.js} +13 -13
- package/dist/chunks/{chunk-RYV4P5CO.js → chunk-IMMUS7IW.js} +278 -7
- package/dist/chunks/chunk-IMMUS7IW.js.map +6 -0
- package/dist/chunks/{chunk-HT6A5LCI.js → chunk-IQ44C7Y3.js} +33 -9
- package/dist/chunks/chunk-IQ44C7Y3.js.map +6 -0
- package/dist/chunks/{chunk-VUKFKBOO.js → chunk-J4PL65DJ.js} +6 -6
- package/dist/chunks/chunk-JANK2R3L.js +402 -0
- package/dist/chunks/chunk-JANK2R3L.js.map +6 -0
- package/dist/chunks/{chunk-TYD5K7MT.js → chunk-JECLB23L.js} +6 -6
- package/dist/chunks/{chunk-XVML5P53.js → chunk-JJ72TLOA.js} +15 -15
- package/dist/chunks/{chunk-FQ3DUX7L.js → chunk-JRBFL6WT.js} +2 -2
- package/dist/chunks/{chunk-UCDXXMAD.js → chunk-K2EKXCLZ.js} +3 -3
- package/dist/chunks/{chunk-MN3CC4AF.js → chunk-K7YZJV2X.js} +248 -24
- package/dist/chunks/chunk-K7YZJV2X.js.map +6 -0
- package/dist/chunks/chunk-KF6IKSF2.js +472 -0
- package/dist/chunks/chunk-KF6IKSF2.js.map +6 -0
- package/dist/chunks/{chunk-XS6GGF4E.js → chunk-KSRN5Y2O.js} +64 -45
- package/dist/chunks/chunk-KSRN5Y2O.js.map +6 -0
- package/dist/chunks/{chunk-JCK6FM7F.js → chunk-ME4LETA3.js} +2 -2
- package/dist/chunks/{chunk-2FP2UHZO.js → chunk-MF3SFDBW.js} +3 -3
- package/dist/chunks/{chunk-HA46XY4I.js → chunk-MK42KB72.js} +4 -4
- package/dist/chunks/{chunk-EYF7VILP.js → chunk-MUSGZEFY.js} +2 -2
- package/dist/chunks/{chunk-XAMOWP2G.js → chunk-N5CCXOYK.js} +7 -7
- package/dist/chunks/{chunk-DFOULHWV.js → chunk-NBJ5PRAY.js} +3 -3
- package/dist/chunks/{chunk-ZPWWUTSR.js → chunk-NKHEBASJ.js} +2 -2
- package/dist/chunks/{chunk-R6WB34IP.js → chunk-NVWD5XDT.js} +2 -2
- package/dist/chunks/{chunk-CQNVNHRL.js → chunk-O45DCUNX.js} +2 -2
- package/dist/chunks/{chunk-7MC2ACNB.js → chunk-O4EILTV6.js} +111 -20
- package/dist/chunks/chunk-O4EILTV6.js.map +6 -0
- package/dist/chunks/{chunk-OVJOSPJ5.js → chunk-PAUMCJPX.js} +3 -3
- package/dist/chunks/{chunk-E5GQTEDW.js → chunk-PE4MWWUW.js} +3 -3
- package/dist/chunks/{chunk-3533PAJJ.js → chunk-PLCWCIL4.js} +2 -2
- package/dist/chunks/{chunk-G4XSQIFF.js → chunk-PRJO4XM3.js} +2 -2
- package/dist/chunks/{chunk-6V6MRHZZ.js → chunk-PRRX5LNR.js} +2 -2
- package/dist/chunks/{chunk-LONNSCMP.js → chunk-PS5SVAUJ.js} +2 -2
- package/dist/chunks/chunk-PZLPACNY.js +407 -0
- package/dist/chunks/chunk-PZLPACNY.js.map +6 -0
- package/dist/chunks/{chunk-EN2E63G6.js → chunk-PZWSRAE7.js} +6 -6
- package/dist/chunks/{chunk-S6LFXBVK.js → chunk-QBLHOG2F.js} +3 -3
- package/dist/chunks/{chunk-4FMBST2N.js → chunk-QCV3HH4P.js} +2 -2
- package/dist/chunks/{chunk-R2TBZK62.js → chunk-QGBR42TV.js} +7 -7
- package/dist/chunks/{chunk-TFOFFJNY.js → chunk-QNJXULU7.js} +2 -2
- package/dist/chunks/{chunk-IOTYZLY5.js → chunk-QQ4S6MNH.js} +13548 -4076
- package/dist/chunks/chunk-QQ4S6MNH.js.map +6 -0
- package/dist/chunks/{chunk-PIUHVCR3.js → chunk-R2KAESOM.js} +2 -2
- package/dist/chunks/{chunk-G52WH6JI.js → chunk-R6M6EIAH.js} +4 -4
- package/dist/chunks/{chunk-2PEIKBGP.js → chunk-RKKU2RE4.js} +2 -2
- package/dist/chunks/{chunk-YHFKTEU6.js → chunk-RMOTHWPV.js} +2 -2
- package/dist/chunks/{chunk-ZX5C2ELY.js → chunk-RQAY7REG.js} +3 -3
- package/dist/chunks/{chunk-MXLAVYBS.js → chunk-SLTJNYOU.js} +2 -2
- package/dist/chunks/{chunk-JARQ4I4Q.js → chunk-SXONHO4H.js} +9 -9
- package/dist/chunks/{chunk-YWBOZNDX.js → chunk-T7ILM666.js} +11 -11
- package/dist/chunks/{chunk-OOIVZ5PA.js → chunk-TBGKPWCL.js} +9 -9
- package/dist/chunks/{chunk-M4LHZRTX.js → chunk-TBJ6XU3T.js} +3 -3
- package/dist/chunks/{chunk-UI3ELYQU.js → chunk-TMPP2DEY.js} +4 -4
- package/dist/chunks/{chunk-DLMDCCO7.js → chunk-TSOZBRM6.js} +2 -2
- package/dist/chunks/{chunk-7XLZPKOT.js → chunk-TTFPWGIU.js} +2 -2
- package/dist/chunks/{chunk-NCPOOJD4.js → chunk-TTKMQW6B.js} +3 -3
- package/dist/chunks/{chunk-S5GKG5GV.js → chunk-UCML5ZXB.js} +3 -3
- package/dist/chunks/{chunk-HAIG4TLP.js → chunk-VG7245VJ.js} +6 -6
- package/dist/chunks/{chunk-IXJ6A2XE.js → chunk-VQZPXK4X.js} +3 -3
- package/dist/chunks/{chunk-2MEBOBOM.js → chunk-VWUTJ4EU.js} +3 -3
- package/dist/chunks/{chunk-VJFBRQZ4.js → chunk-WDKAL7EW.js} +2 -2
- package/dist/chunks/{chunk-2ED34AXP.js → chunk-WJ6QRVL6.js} +2 -2
- package/dist/chunks/{chunk-CKMF72VE.js → chunk-WOTA5FO5.js} +3 -3
- package/dist/chunks/{chunk-QUUDXDDL.js → chunk-WPGVZMSU.js} +2 -2
- package/dist/chunks/{chunk-ULJAPIOG.js → chunk-WYA4QWWE.js} +181 -7
- package/dist/chunks/chunk-WYA4QWWE.js.map +6 -0
- package/dist/chunks/{chunk-EVJKQAZM.js → chunk-XDUA6PBP.js} +2 -2
- package/dist/chunks/{chunk-GVHUHRGI.js → chunk-XE6XT6R6.js} +4 -4
- package/dist/chunks/{chunk-QFJ5IWYL.js → chunk-XNQY26AE.js} +31 -131
- package/dist/chunks/chunk-XNQY26AE.js.map +6 -0
- package/dist/chunks/{chunk-LGUIDOA7.js → chunk-YR3TWNIV.js} +9 -9
- package/dist/chunks/{chunk-K4APHATW.js → chunk-YWRRS7SO.js} +2 -2
- package/dist/chunks/{chunk-F6YNTG3K.js → chunk-Z5OG4HXI.js} +26 -22
- package/dist/chunks/chunk-Z5OG4HXI.js.map +6 -0
- package/dist/chunks/{chunk-ESLOAQRL.js → chunk-ZHEEG3NS.js} +2 -2
- package/dist/chunks/{cli-runtime-SL6YG4EX.js → cli-runtime-ZJKKIW4H.js} +22 -22
- package/dist/chunks/{commands-XRQOUFRE.js → commands-TQH5DD22.js} +6 -6
- package/dist/chunks/{computer-6P3GAOV2.js → computer-WOU5WIIR.js} +2 -2
- package/dist/chunks/{config-W3ABQG5K.js → config-APYUJ5UW.js} +13 -13
- package/dist/chunks/{cost-ZKKW4JSZ.js → cost-5YV27U7F.js} +5 -5
- package/dist/chunks/{crash-report-Q2WAKIU5.js → crash-report-QVXU2YVL.js} +6 -6
- package/dist/chunks/{dist-JY4FIVBZ.js → dist-2FSOLP72.js} +2 -2
- package/dist/chunks/{dist-O2QP5QCU.js → dist-AOT4CEP5.js} +2 -2
- package/dist/chunks/{dist-OXSKWJNB.js → dist-H7CAJ3ZW.js} +44 -2
- package/dist/chunks/{dist-IPR6EVQM.js → dist-IZGKRIWL.js} +2 -2
- package/dist/chunks/{dist-WI7EX7ZF.js → dist-J4UXFVYR.js} +2 -2
- package/dist/chunks/{dist-YE6ADUZP.js → dist-JHKRSGW6.js} +2 -2
- package/dist/chunks/{dist-R4PUUPXV.js → dist-PZYMYR7N.js} +3 -3
- package/dist/chunks/{dist-VT4VSQTO.js → dist-Z2HW2SJR.js} +2 -2
- package/dist/chunks/{doctor-EUH7WGN6.js → doctor-CM6UPXG5.js} +40 -38
- package/dist/chunks/{drain-3DDY42KQ.js → drain-X6RURKKC.js} +17 -17
- package/dist/chunks/{entry-FNHGVOQM.js → entry-QQDPY6ZL.js} +6 -6
- package/dist/chunks/{eval-CFKAWR3B.js → eval-GZA22B4I.js} +9 -9
- package/dist/chunks/{exec-BR6L3C3T.js → exec-3NE75Z6E.js} +46 -45
- package/dist/chunks/exec-3NE75Z6E.js.map +6 -0
- package/dist/chunks/{extension-4VR722KH.js → extension-N5IQNKVZ.js} +6 -5
- package/dist/chunks/{github-IF3JVVJF.js → github-AUOENJUY.js} +2 -2
- package/dist/chunks/{home-JCDINY64.js → home-I4FIB6FV.js} +3 -3
- package/dist/chunks/{homes-53P37RPB.js → homes-WTMMXQ6G.js} +5 -5
- package/dist/chunks/{hooks-6EV4IEHU.js → hooks-R42OTZDT.js} +22 -21
- package/dist/chunks/hooks-R42OTZDT.js.map +6 -0
- package/dist/chunks/{hooks-report-OK5PIOSF.js → hooks-report-K6VOPVBR.js} +18 -17
- package/dist/chunks/{host-KF63UW3T.js → host-65UFBZJV.js} +10 -10
- package/dist/chunks/host-queries-L4PYE2BW.js +37 -0
- package/dist/chunks/{installed-list-QLVA6XBV.js → installed-list-7QIWVKLQ.js} +4 -4
- package/dist/chunks/{learn-XNVRCNGV.js → learn-NZXLKYV4.js} +17 -17
- package/dist/chunks/{learn-builtin-XABWBGRU.js → learn-builtin-RC4XXVBS.js} +20 -20
- package/dist/chunks/{lifecycle-K7REDQBN.js → lifecycle-NLCZ6OPA.js} +30 -30
- package/dist/chunks/{list-US5UDLON.js → list-2U67CAWS.js} +18 -18
- package/dist/chunks/{live-DNA4UB2B.js → live-CWJ2NWUQ.js} +39 -37
- package/dist/chunks/{load-2WCYASMC.js → load-H52QQBVE.js} +13 -9
- package/dist/chunks/{logs-ZF7YJNOC.js → logs-ZIW3QFU4.js} +4 -4
- package/dist/chunks/{mcp-FBJXQJ6I.js → mcp-FNSMEMCM.js} +145 -35
- package/dist/chunks/mcp-FNSMEMCM.js.map +6 -0
- package/dist/chunks/{mcp-serve-TTZ33VMY.js → mcp-serve-ZC2OKIPP.js} +17 -17
- package/dist/chunks/{message-command-FMT4APFA.js → message-command-IHZWL5GI.js} +59 -56
- package/dist/chunks/message-command-IHZWL5GI.js.map +6 -0
- package/dist/chunks/{open-I4YKGQSW.js → open-AHDQMVXI.js} +7 -7
- package/dist/chunks/{operator-tools-FC5JFH42.js → operator-tools-P5R4TF6N.js} +15 -15
- package/dist/chunks/{output-schema-KMYL2UB6.js → output-schema-Q5RWHNKE.js} +3 -3
- package/dist/chunks/{pal-UZFR42OY.js → pal-T42HU4AK.js} +15 -15
- package/dist/chunks/{peers-NM5HJGSR.js → peers-5RYEA7IA.js} +7 -7
- package/dist/chunks/{peers-V7XCJUFZ.js → peers-7ZG3DEBO.js} +19 -19
- package/dist/chunks/plugin-DGEINYG5.js +2958 -0
- package/dist/chunks/plugin-DGEINYG5.js.map +6 -0
- package/dist/chunks/{providers-BQ25F6LA.js → providers-BXXIM7EW.js} +18 -18
- package/dist/chunks/{providers-VS37WA3E.js → providers-I24HYZXG.js} +10 -10
- package/dist/chunks/{pty-NWEV3DSP.js → pty-WVKM6ATI.js} +3 -3
- package/dist/chunks/resume-F7JEDBHI.js +25 -0
- package/dist/chunks/{resume-command-KEXAVL6P.js → resume-command-4I47WN7T.js} +4 -4
- package/dist/chunks/{running-JLMG6IL4.js → running-VID6BVT2.js} +4 -4
- package/dist/chunks/{schedule-6ERJJOA3.js → schedule-75IZH76Z.js} +12 -12
- package/dist/chunks/{send-UXJ7GXKN.js → send-QRYY2NCG.js} +19 -19
- package/dist/chunks/send-person-VADQNJBN.js +32 -0
- package/dist/chunks/{service-NYJZCLH2.js → service-B6BNESZB.js} +30 -30
- package/dist/chunks/{setting-cli-ILFKSR4D.js → setting-cli-O4YWOIU5.js} +12 -12
- package/dist/chunks/skills-PEMVX5C3.js +604 -0
- package/dist/chunks/skills-PEMVX5C3.js.map +6 -0
- package/dist/chunks/{start-check-7GBRCGVJ.js → start-check-EKRXJ5VE.js} +2 -2
- package/dist/chunks/{startup-failure-UA32GGJB.js → startup-failure-2UJKPNMR.js} +2 -2
- package/dist/chunks/{state-SSRHEX5K.js → state-X3MKUFYM.js} +20 -20
- package/dist/chunks/{store-2GFZ5XXW.js → store-4OXWHFS5.js} +12 -12
- package/dist/chunks/{store-ROR7VTZ2.js → store-MK5IYBE5.js} +8 -8
- package/dist/chunks/{store-WRRTTRBT.js → store-QFNY4BV4.js} +4 -4
- package/dist/chunks/{store-MP5EB266.js → store-VRKKFOYW.js} +3 -3
- package/dist/chunks/{tui-2JTNW2G7.js → tui-MI72TUST.js} +96 -92
- package/dist/chunks/tui-MI72TUST.js.map +6 -0
- package/dist/chunks/{update-32IRH5TG.js → update-ELZEXYIX.js} +8 -8
- package/dist/chunks/{watch-PXPP5QXP.js → watch-HPINGMZZ.js} +100 -96
- package/dist/chunks/watch-HPINGMZZ.js.map +6 -0
- package/dist/chunks/{workspaces-4YXZSENL.js → workspaces-3LB4SPPS.js} +15 -15
- package/dist/chunks/{worktree-DJHBLFHZ.js → worktree-5CWUUWNO.js} +26 -22
- package/dist/chunks/worktree-5CWUUWNO.js.map +6 -0
- package/dist/commands/acp.d.ts +4 -2
- package/dist/commands/acp.d.ts.map +1 -1
- package/dist/commands/actions/mcp.d.ts.map +1 -1
- package/dist/commands/actions/small.d.ts.map +1 -1
- package/dist/commands/desktop-host-plugins.d.ts +321 -0
- package/dist/commands/desktop-host-plugins.d.ts.map +1 -0
- package/dist/commands/desktop-host-skills.d.ts +103 -0
- package/dist/commands/desktop-host-skills.d.ts.map +1 -0
- package/dist/commands/desktop-host.d.ts +230 -18
- package/dist/commands/desktop-host.d.ts.map +1 -1
- package/dist/commands/manifest.d.ts.map +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/plugin-install.d.ts +28 -0
- package/dist/commands/plugin-install.d.ts.map +1 -0
- package/dist/commands/plugin-records.d.ts +48 -0
- package/dist/commands/plugin-records.d.ts.map +1 -0
- package/dist/commands/plugin.d.ts.map +1 -1
- package/dist/commands/skills-manage.d.ts +32 -0
- package/dist/commands/skills-manage.d.ts.map +1 -0
- package/dist/commands/skills.d.ts.map +1 -1
- package/dist/config/load.d.ts +9 -0
- package/dist/config/load.d.ts.map +1 -1
- package/dist/config/schema.d.ts +7 -0
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/settings-descriptors.d.ts.map +1 -1
- package/dist/index.js +40 -38
- package/dist/integrations/archive/zip.d.ts +36 -0
- package/dist/integrations/archive/zip.d.ts.map +1 -0
- package/dist/integrations/extensions/package.d.ts +7 -16
- package/dist/integrations/extensions/package.d.ts.map +1 -1
- package/dist/integrations/mcp/all-servers.d.ts +30 -0
- package/dist/integrations/mcp/all-servers.d.ts.map +1 -0
- package/dist/integrations/mcp/plugin-remote.d.ts +141 -0
- package/dist/integrations/mcp/plugin-remote.d.ts.map +1 -0
- package/dist/integrations/mcp/project-approval.d.ts +29 -1
- package/dist/integrations/mcp/project-approval.d.ts.map +1 -1
- package/dist/integrations/mcp/server-listing.d.ts +7 -3
- package/dist/integrations/mcp/server-listing.d.ts.map +1 -1
- package/dist/integrations/mcp/servers.d.ts +6 -0
- package/dist/integrations/mcp/servers.d.ts.map +1 -1
- package/dist/integrations/mcp/user-config.d.ts +10 -0
- package/dist/integrations/mcp/user-config.d.ts.map +1 -1
- package/dist/integrations/plugins/enabled-records.d.ts +78 -0
- package/dist/integrations/plugins/enabled-records.d.ts.map +1 -0
- package/dist/integrations/plugins/fetch/archive.d.ts +15 -0
- package/dist/integrations/plugins/fetch/archive.d.ts.map +1 -0
- package/dist/integrations/plugins/fetch/git.d.ts +145 -0
- package/dist/integrations/plugins/fetch/git.d.ts.map +1 -0
- package/dist/integrations/plugins/fetch/index.d.ts +33 -0
- package/dist/integrations/plugins/fetch/index.d.ts.map +1 -0
- package/dist/integrations/plugins/fetch/source.d.ts +107 -0
- package/dist/integrations/plugins/fetch/source.d.ts.map +1 -0
- package/dist/integrations/plugins/fetch/url.d.ts +34 -0
- package/dist/integrations/plugins/fetch/url.d.ts.map +1 -0
- package/dist/integrations/plugins/files.d.ts +15 -3
- package/dist/integrations/plugins/files.d.ts.map +1 -1
- package/dist/integrations/plugins/hook-entries.d.ts +2 -0
- package/dist/integrations/plugins/hook-entries.d.ts.map +1 -1
- package/dist/integrations/plugins/install-manifest.d.ts +70 -0
- package/dist/integrations/plugins/install-manifest.d.ts.map +1 -0
- package/dist/integrations/plugins/install-plan.d.ts +119 -0
- package/dist/integrations/plugins/install-plan.d.ts.map +1 -0
- package/dist/integrations/plugins/install-preview.d.ts +24 -0
- package/dist/integrations/plugins/install-preview.d.ts.map +1 -0
- package/dist/integrations/plugins/install.d.ts +118 -0
- package/dist/integrations/plugins/install.d.ts.map +1 -0
- package/dist/integrations/plugins/installed-source.d.ts +80 -0
- package/dist/integrations/plugins/installed-source.d.ts.map +1 -0
- package/dist/integrations/plugins/inventory.d.ts +2 -1
- package/dist/integrations/plugins/inventory.d.ts.map +1 -1
- package/dist/integrations/plugins/json-state.d.ts +52 -0
- package/dist/integrations/plugins/json-state.d.ts.map +1 -0
- package/dist/integrations/plugins/manifest-details.d.ts +23 -0
- package/dist/integrations/plugins/manifest-details.d.ts.map +1 -0
- package/dist/integrations/plugins/marketplace.d.ts +111 -0
- package/dist/integrations/plugins/marketplace.d.ts.map +1 -0
- package/dist/integrations/plugins/records.d.ts +127 -0
- package/dist/integrations/plugins/records.d.ts.map +1 -0
- package/dist/integrations/plugins/remote-marketplace.d.ts +100 -0
- package/dist/integrations/plugins/remote-marketplace.d.ts.map +1 -0
- package/dist/integrations/plugins/runtime.d.ts +28 -0
- package/dist/integrations/plugins/runtime.d.ts.map +1 -1
- package/dist/integrations/plugins/surface.d.ts +126 -0
- package/dist/integrations/plugins/surface.d.ts.map +1 -0
- package/dist/integrations/plugins/update-compare.d.ts +18 -0
- package/dist/integrations/plugins/update-compare.d.ts.map +1 -0
- package/dist/integrations/plugins/validate.d.ts +50 -1
- package/dist/integrations/plugins/validate.d.ts.map +1 -1
- package/dist/integrations/subagents/definitions.d.ts +4 -0
- package/dist/integrations/subagents/definitions.d.ts.map +1 -1
- package/dist/integrations/trust/folder-grants.d.ts +21 -1
- package/dist/integrations/trust/folder-grants.d.ts.map +1 -1
- package/dist/rounds/types.d.ts +5 -0
- package/dist/rounds/types.d.ts.map +1 -1
- package/dist/skills/add.d.ts +104 -0
- package/dist/skills/add.d.ts.map +1 -0
- package/dist/skills/audit.d.ts +7 -1
- package/dist/skills/audit.d.ts.map +1 -1
- package/dist/skills/create.d.ts +19 -0
- package/dist/skills/create.d.ts.map +1 -0
- package/dist/skills/desktop-catalog.d.ts +64 -0
- package/dist/skills/desktop-catalog.d.ts.map +1 -0
- package/dist/skills/install.d.ts +73 -0
- package/dist/skills/install.d.ts.map +1 -0
- package/dist/skills/remove.d.ts +38 -0
- package/dist/skills/remove.d.ts.map +1 -0
- package/dist/skills/save.d.ts +2 -27
- package/dist/skills/save.d.ts.map +1 -1
- package/dist/skills/validate.d.ts +57 -0
- package/dist/skills/validate.d.ts.map +1 -0
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/Composer.d.ts +6 -10
- package/dist/tui/Composer.d.ts.map +1 -1
- package/dist/tui/PendingInputPanel.d.ts +4 -4
- package/dist/tui/PendingInputPanel.d.ts.map +1 -1
- package/dist/tui/TrustPrompt.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +11 -0
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/user-commands/store.d.ts +12 -0
- package/dist/user-commands/store.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/chunks/acp-QLIZHXKX.js.map +0 -6
- package/dist/chunks/agent-session-TXDHPZJX.js +0 -92
- package/dist/chunks/chunk-4KRQ6EWL.js.map +0 -6
- package/dist/chunks/chunk-4YUR4SIL.js +0 -116
- package/dist/chunks/chunk-4YUR4SIL.js.map +0 -6
- package/dist/chunks/chunk-7MC2ACNB.js.map +0 -6
- package/dist/chunks/chunk-D3OHAYMX.js.map +0 -6
- package/dist/chunks/chunk-F6YNTG3K.js.map +0 -6
- package/dist/chunks/chunk-HT6A5LCI.js.map +0 -6
- package/dist/chunks/chunk-IOTYZLY5.js.map +0 -6
- package/dist/chunks/chunk-JAPP6DFJ.js.map +0 -6
- package/dist/chunks/chunk-LQFUO2RZ.js.map +0 -6
- package/dist/chunks/chunk-MN3CC4AF.js.map +0 -6
- package/dist/chunks/chunk-QFJ5IWYL.js.map +0 -6
- package/dist/chunks/chunk-RHJOIAFS.js +0 -201
- package/dist/chunks/chunk-RHJOIAFS.js.map +0 -6
- package/dist/chunks/chunk-RYV4P5CO.js.map +0 -6
- package/dist/chunks/chunk-ULJAPIOG.js.map +0 -6
- package/dist/chunks/chunk-WWMSEDXA.js.map +0 -6
- package/dist/chunks/chunk-XS6GGF4E.js.map +0 -6
- package/dist/chunks/exec-BR6L3C3T.js.map +0 -6
- package/dist/chunks/hooks-6EV4IEHU.js.map +0 -6
- package/dist/chunks/host-queries-5ZWYD4VD.js +0 -37
- package/dist/chunks/mcp-FBJXQJ6I.js.map +0 -6
- package/dist/chunks/message-command-FMT4APFA.js.map +0 -6
- package/dist/chunks/plugin-UEPWXCB4.js +0 -1132
- package/dist/chunks/plugin-UEPWXCB4.js.map +0 -6
- package/dist/chunks/resume-Y7P3TAVG.js +0 -25
- package/dist/chunks/send-person-DLJU45IU.js +0 -32
- package/dist/chunks/skills-4HM2LPS4.js +0 -350
- package/dist/chunks/skills-4HM2LPS4.js.map +0 -6
- package/dist/chunks/tui-2JTNW2G7.js.map +0 -6
- package/dist/chunks/watch-PXPP5QXP.js.map +0 -6
- package/dist/chunks/worktree-DJHBLFHZ.js.map +0 -6
- /package/dist/chunks/{activity-command-IVAID3QG.js.map → activity-command-JU4HLIQJ.js.map} +0 -0
- /package/dist/chunks/{add-W4VXIXR3.js.map → add-S6JYKDI4.js.map} +0 -0
- /package/dist/chunks/{agent-3VVUFK46.js.map → agent-E343AQV7.js.map} +0 -0
- /package/dist/chunks/{agent-session-TXDHPZJX.js.map → agent-session-D6JIOCON.js.map} +0 -0
- /package/dist/chunks/{apply-at-exit-UW5DQZED.js.map → apply-at-exit-MEOJMGNT.js.map} +0 -0
- /package/dist/chunks/{archive-VGG3TNKD.js.map → archive-ZPWC7GZU.js.map} +0 -0
- /package/dist/chunks/{auth-XUAD35SY.js.map → auth-6NX4TMIG.js.map} +0 -0
- /package/dist/chunks/{bin-main-3A5QPUJN.js.map → bin-main-P3KAQDKC.js.map} +0 -0
- /package/dist/chunks/{binding-743KPSRO.js.map → binding-6QZVGFQ5.js.map} +0 -0
- /package/dist/chunks/{browser-Y6PS3RBO.js.map → browser-KK2U5524.js.map} +0 -0
- /package/dist/chunks/{chat-P3OKHK34.js.map → chat-VEXJRSZN.js.map} +0 -0
- /package/dist/chunks/{chunk-AXCSETAX.js.map → chunk-2DCOB33W.js.map} +0 -0
- /package/dist/chunks/{chunk-24PN4KZ7.js.map → chunk-2KVQVPJ7.js.map} +0 -0
- /package/dist/chunks/{chunk-ITFIXESL.js.map → chunk-42JIZXVL.js.map} +0 -0
- /package/dist/chunks/{chunk-44V3FNMT.js.map → chunk-4473VICE.js.map} +0 -0
- /package/dist/chunks/{chunk-D5ORLKON.js.map → chunk-44YG6EI4.js.map} +0 -0
- /package/dist/chunks/{chunk-OTNW5ZO6.js.map → chunk-452SL2Y4.js.map} +0 -0
- /package/dist/chunks/{chunk-SR4DQPOI.js.map → chunk-4BNCVR3U.js.map} +0 -0
- /package/dist/chunks/{chunk-IGZGAC75.js.map → chunk-4CJ3HPOT.js.map} +0 -0
- /package/dist/chunks/{chunk-TSHMH45O.js.map → chunk-4ENL4VUO.js.map} +0 -0
- /package/dist/chunks/{chunk-ONVEH4H7.js.map → chunk-4KVYTHY7.js.map} +0 -0
- /package/dist/chunks/{chunk-KBIVQ5RH.js.map → chunk-4Y242BU4.js.map} +0 -0
- /package/dist/chunks/{chunk-2P427DDU.js.map → chunk-5F4DSPZC.js.map} +0 -0
- /package/dist/chunks/{chunk-QI6XNUH6.js.map → chunk-5IGEQN7L.js.map} +0 -0
- /package/dist/chunks/{chunk-5Y455HIT.js.map → chunk-5ZLKTFU2.js.map} +0 -0
- /package/dist/chunks/{chunk-SNKDM7FT.js.map → chunk-66QIFMEO.js.map} +0 -0
- /package/dist/chunks/{chunk-ATL46ZCR.js.map → chunk-6HYK4DDB.js.map} +0 -0
- /package/dist/chunks/{chunk-FISBMAF4.js.map → chunk-6W3UGXGG.js.map} +0 -0
- /package/dist/chunks/{chunk-P2PWTXHD.js.map → chunk-75YLZNZW.js.map} +0 -0
- /package/dist/chunks/{chunk-37S6BVTN.js.map → chunk-AC5P6W3G.js.map} +0 -0
- /package/dist/chunks/{chunk-XNALFKQ2.js.map → chunk-AYMB4AOZ.js.map} +0 -0
- /package/dist/chunks/{chunk-ZFEDNTIB.js.map → chunk-B4AOCHH6.js.map} +0 -0
- /package/dist/chunks/{chunk-7PD3LHIR.js.map → chunk-BA7KUG6V.js.map} +0 -0
- /package/dist/chunks/{chunk-3JCHJOU3.js.map → chunk-BHQHTM3Z.js.map} +0 -0
- /package/dist/chunks/{chunk-52T26DYZ.js.map → chunk-BNLIRJ3M.js.map} +0 -0
- /package/dist/chunks/{chunk-ZHRBJT5B.js.map → chunk-BURGRQWO.js.map} +0 -0
- /package/dist/chunks/{chunk-3P5TQ3VZ.js.map → chunk-BWD2TUI4.js.map} +0 -0
- /package/dist/chunks/{chunk-OK3QKISP.js.map → chunk-C7E7YCRD.js.map} +0 -0
- /package/dist/chunks/{chunk-YMVJOKBZ.js.map → chunk-CXW7I2S3.js.map} +0 -0
- /package/dist/chunks/{chunk-BJWJPQ66.js.map → chunk-D6PB3Z7Q.js.map} +0 -0
- /package/dist/chunks/{chunk-FOS5YJED.js.map → chunk-DEAG4G5J.js.map} +0 -0
- /package/dist/chunks/{chunk-DHQJRU7E.js.map → chunk-DRSQTKDN.js.map} +0 -0
- /package/dist/chunks/{chunk-HNSJJXIO.js.map → chunk-EXJJLYZK.js.map} +0 -0
- /package/dist/chunks/{chunk-L7DZ2QPD.js.map → chunk-F5W4TNCR.js.map} +0 -0
- /package/dist/chunks/{chunk-XIBT7TAZ.js.map → chunk-F7KOBJVW.js.map} +0 -0
- /package/dist/chunks/{chunk-XLWFT4QC.js.map → chunk-FK4MAZV2.js.map} +0 -0
- /package/dist/chunks/{chunk-J2AH4QK4.js.map → chunk-FPC3K4TT.js.map} +0 -0
- /package/dist/chunks/{chunk-RE5EUO3F.js.map → chunk-FVIKYFYD.js.map} +0 -0
- /package/dist/chunks/{chunk-TN7MDKW2.js.map → chunk-GPTYDM26.js.map} +0 -0
- /package/dist/chunks/{chunk-3APHAS77.js.map → chunk-GT22EDUB.js.map} +0 -0
- /package/dist/chunks/{chunk-PGD2EYI7.js.map → chunk-GTUTBTOV.js.map} +0 -0
- /package/dist/chunks/{chunk-ZY7N242I.js.map → chunk-H6NTNPWD.js.map} +0 -0
- /package/dist/chunks/{chunk-2X53RSPY.js.map → chunk-HCQGZPVT.js.map} +0 -0
- /package/dist/chunks/{chunk-BBBVDHRH.js.map → chunk-HG2PPCAE.js.map} +0 -0
- /package/dist/chunks/{chunk-JR66BLKY.js.map → chunk-HKRUNZVI.js.map} +0 -0
- /package/dist/chunks/{chunk-BBBFPJV3.js.map → chunk-HM7L5PM2.js.map} +0 -0
- /package/dist/chunks/{chunk-2CP6CJXJ.js.map → chunk-I4RC6KQQ.js.map} +0 -0
- /package/dist/chunks/{chunk-GRCEOMSP.js.map → chunk-IL4Y3JGT.js.map} +0 -0
- /package/dist/chunks/{chunk-VUKFKBOO.js.map → chunk-J4PL65DJ.js.map} +0 -0
- /package/dist/chunks/{chunk-TYD5K7MT.js.map → chunk-JECLB23L.js.map} +0 -0
- /package/dist/chunks/{chunk-XVML5P53.js.map → chunk-JJ72TLOA.js.map} +0 -0
- /package/dist/chunks/{chunk-FQ3DUX7L.js.map → chunk-JRBFL6WT.js.map} +0 -0
- /package/dist/chunks/{chunk-UCDXXMAD.js.map → chunk-K2EKXCLZ.js.map} +0 -0
- /package/dist/chunks/{chunk-JCK6FM7F.js.map → chunk-ME4LETA3.js.map} +0 -0
- /package/dist/chunks/{chunk-2FP2UHZO.js.map → chunk-MF3SFDBW.js.map} +0 -0
- /package/dist/chunks/{chunk-HA46XY4I.js.map → chunk-MK42KB72.js.map} +0 -0
- /package/dist/chunks/{chunk-EYF7VILP.js.map → chunk-MUSGZEFY.js.map} +0 -0
- /package/dist/chunks/{chunk-XAMOWP2G.js.map → chunk-N5CCXOYK.js.map} +0 -0
- /package/dist/chunks/{chunk-DFOULHWV.js.map → chunk-NBJ5PRAY.js.map} +0 -0
- /package/dist/chunks/{chunk-ZPWWUTSR.js.map → chunk-NKHEBASJ.js.map} +0 -0
- /package/dist/chunks/{chunk-R6WB34IP.js.map → chunk-NVWD5XDT.js.map} +0 -0
- /package/dist/chunks/{chunk-CQNVNHRL.js.map → chunk-O45DCUNX.js.map} +0 -0
- /package/dist/chunks/{chunk-OVJOSPJ5.js.map → chunk-PAUMCJPX.js.map} +0 -0
- /package/dist/chunks/{chunk-E5GQTEDW.js.map → chunk-PE4MWWUW.js.map} +0 -0
- /package/dist/chunks/{chunk-3533PAJJ.js.map → chunk-PLCWCIL4.js.map} +0 -0
- /package/dist/chunks/{chunk-G4XSQIFF.js.map → chunk-PRJO4XM3.js.map} +0 -0
- /package/dist/chunks/{chunk-6V6MRHZZ.js.map → chunk-PRRX5LNR.js.map} +0 -0
- /package/dist/chunks/{chunk-LONNSCMP.js.map → chunk-PS5SVAUJ.js.map} +0 -0
- /package/dist/chunks/{chunk-EN2E63G6.js.map → chunk-PZWSRAE7.js.map} +0 -0
- /package/dist/chunks/{chunk-S6LFXBVK.js.map → chunk-QBLHOG2F.js.map} +0 -0
- /package/dist/chunks/{chunk-4FMBST2N.js.map → chunk-QCV3HH4P.js.map} +0 -0
- /package/dist/chunks/{chunk-R2TBZK62.js.map → chunk-QGBR42TV.js.map} +0 -0
- /package/dist/chunks/{chunk-TFOFFJNY.js.map → chunk-QNJXULU7.js.map} +0 -0
- /package/dist/chunks/{chunk-PIUHVCR3.js.map → chunk-R2KAESOM.js.map} +0 -0
- /package/dist/chunks/{chunk-G52WH6JI.js.map → chunk-R6M6EIAH.js.map} +0 -0
- /package/dist/chunks/{chunk-2PEIKBGP.js.map → chunk-RKKU2RE4.js.map} +0 -0
- /package/dist/chunks/{chunk-YHFKTEU6.js.map → chunk-RMOTHWPV.js.map} +0 -0
- /package/dist/chunks/{chunk-ZX5C2ELY.js.map → chunk-RQAY7REG.js.map} +0 -0
- /package/dist/chunks/{chunk-MXLAVYBS.js.map → chunk-SLTJNYOU.js.map} +0 -0
- /package/dist/chunks/{chunk-JARQ4I4Q.js.map → chunk-SXONHO4H.js.map} +0 -0
- /package/dist/chunks/{chunk-YWBOZNDX.js.map → chunk-T7ILM666.js.map} +0 -0
- /package/dist/chunks/{chunk-OOIVZ5PA.js.map → chunk-TBGKPWCL.js.map} +0 -0
- /package/dist/chunks/{chunk-M4LHZRTX.js.map → chunk-TBJ6XU3T.js.map} +0 -0
- /package/dist/chunks/{chunk-UI3ELYQU.js.map → chunk-TMPP2DEY.js.map} +0 -0
- /package/dist/chunks/{chunk-DLMDCCO7.js.map → chunk-TSOZBRM6.js.map} +0 -0
- /package/dist/chunks/{chunk-7XLZPKOT.js.map → chunk-TTFPWGIU.js.map} +0 -0
- /package/dist/chunks/{chunk-NCPOOJD4.js.map → chunk-TTKMQW6B.js.map} +0 -0
- /package/dist/chunks/{chunk-S5GKG5GV.js.map → chunk-UCML5ZXB.js.map} +0 -0
- /package/dist/chunks/{chunk-HAIG4TLP.js.map → chunk-VG7245VJ.js.map} +0 -0
- /package/dist/chunks/{chunk-IXJ6A2XE.js.map → chunk-VQZPXK4X.js.map} +0 -0
- /package/dist/chunks/{chunk-2MEBOBOM.js.map → chunk-VWUTJ4EU.js.map} +0 -0
- /package/dist/chunks/{chunk-VJFBRQZ4.js.map → chunk-WDKAL7EW.js.map} +0 -0
- /package/dist/chunks/{chunk-2ED34AXP.js.map → chunk-WJ6QRVL6.js.map} +0 -0
- /package/dist/chunks/{chunk-CKMF72VE.js.map → chunk-WOTA5FO5.js.map} +0 -0
- /package/dist/chunks/{chunk-QUUDXDDL.js.map → chunk-WPGVZMSU.js.map} +0 -0
- /package/dist/chunks/{chunk-EVJKQAZM.js.map → chunk-XDUA6PBP.js.map} +0 -0
- /package/dist/chunks/{chunk-GVHUHRGI.js.map → chunk-XE6XT6R6.js.map} +0 -0
- /package/dist/chunks/{chunk-LGUIDOA7.js.map → chunk-YR3TWNIV.js.map} +0 -0
- /package/dist/chunks/{chunk-K4APHATW.js.map → chunk-YWRRS7SO.js.map} +0 -0
- /package/dist/chunks/{chunk-ESLOAQRL.js.map → chunk-ZHEEG3NS.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-SL6YG4EX.js.map → cli-runtime-ZJKKIW4H.js.map} +0 -0
- /package/dist/chunks/{commands-XRQOUFRE.js.map → commands-TQH5DD22.js.map} +0 -0
- /package/dist/chunks/{computer-6P3GAOV2.js.map → computer-WOU5WIIR.js.map} +0 -0
- /package/dist/chunks/{config-W3ABQG5K.js.map → config-APYUJ5UW.js.map} +0 -0
- /package/dist/chunks/{cost-ZKKW4JSZ.js.map → cost-5YV27U7F.js.map} +0 -0
- /package/dist/chunks/{crash-report-Q2WAKIU5.js.map → crash-report-QVXU2YVL.js.map} +0 -0
- /package/dist/chunks/{dist-JY4FIVBZ.js.map → dist-2FSOLP72.js.map} +0 -0
- /package/dist/chunks/{dist-O2QP5QCU.js.map → dist-AOT4CEP5.js.map} +0 -0
- /package/dist/chunks/{dist-OXSKWJNB.js.map → dist-H7CAJ3ZW.js.map} +0 -0
- /package/dist/chunks/{dist-IPR6EVQM.js.map → dist-IZGKRIWL.js.map} +0 -0
- /package/dist/chunks/{dist-WI7EX7ZF.js.map → dist-J4UXFVYR.js.map} +0 -0
- /package/dist/chunks/{dist-YE6ADUZP.js.map → dist-JHKRSGW6.js.map} +0 -0
- /package/dist/chunks/{dist-R4PUUPXV.js.map → dist-PZYMYR7N.js.map} +0 -0
- /package/dist/chunks/{dist-VT4VSQTO.js.map → dist-Z2HW2SJR.js.map} +0 -0
- /package/dist/chunks/{doctor-EUH7WGN6.js.map → doctor-CM6UPXG5.js.map} +0 -0
- /package/dist/chunks/{drain-3DDY42KQ.js.map → drain-X6RURKKC.js.map} +0 -0
- /package/dist/chunks/{entry-FNHGVOQM.js.map → entry-QQDPY6ZL.js.map} +0 -0
- /package/dist/chunks/{eval-CFKAWR3B.js.map → eval-GZA22B4I.js.map} +0 -0
- /package/dist/chunks/{extension-4VR722KH.js.map → extension-N5IQNKVZ.js.map} +0 -0
- /package/dist/chunks/{github-IF3JVVJF.js.map → github-AUOENJUY.js.map} +0 -0
- /package/dist/chunks/{home-JCDINY64.js.map → home-I4FIB6FV.js.map} +0 -0
- /package/dist/chunks/{homes-53P37RPB.js.map → homes-WTMMXQ6G.js.map} +0 -0
- /package/dist/chunks/{hooks-report-OK5PIOSF.js.map → hooks-report-K6VOPVBR.js.map} +0 -0
- /package/dist/chunks/{host-KF63UW3T.js.map → host-65UFBZJV.js.map} +0 -0
- /package/dist/chunks/{host-queries-5ZWYD4VD.js.map → host-queries-L4PYE2BW.js.map} +0 -0
- /package/dist/chunks/{installed-list-QLVA6XBV.js.map → installed-list-7QIWVKLQ.js.map} +0 -0
- /package/dist/chunks/{learn-XNVRCNGV.js.map → learn-NZXLKYV4.js.map} +0 -0
- /package/dist/chunks/{learn-builtin-XABWBGRU.js.map → learn-builtin-RC4XXVBS.js.map} +0 -0
- /package/dist/chunks/{lifecycle-K7REDQBN.js.map → lifecycle-NLCZ6OPA.js.map} +0 -0
- /package/dist/chunks/{list-US5UDLON.js.map → list-2U67CAWS.js.map} +0 -0
- /package/dist/chunks/{live-DNA4UB2B.js.map → live-CWJ2NWUQ.js.map} +0 -0
- /package/dist/chunks/{load-2WCYASMC.js.map → load-H52QQBVE.js.map} +0 -0
- /package/dist/chunks/{logs-ZF7YJNOC.js.map → logs-ZIW3QFU4.js.map} +0 -0
- /package/dist/chunks/{mcp-serve-TTZ33VMY.js.map → mcp-serve-ZC2OKIPP.js.map} +0 -0
- /package/dist/chunks/{open-I4YKGQSW.js.map → open-AHDQMVXI.js.map} +0 -0
- /package/dist/chunks/{operator-tools-FC5JFH42.js.map → operator-tools-P5R4TF6N.js.map} +0 -0
- /package/dist/chunks/{output-schema-KMYL2UB6.js.map → output-schema-Q5RWHNKE.js.map} +0 -0
- /package/dist/chunks/{pal-UZFR42OY.js.map → pal-T42HU4AK.js.map} +0 -0
- /package/dist/chunks/{peers-NM5HJGSR.js.map → peers-5RYEA7IA.js.map} +0 -0
- /package/dist/chunks/{peers-V7XCJUFZ.js.map → peers-7ZG3DEBO.js.map} +0 -0
- /package/dist/chunks/{providers-BQ25F6LA.js.map → providers-BXXIM7EW.js.map} +0 -0
- /package/dist/chunks/{providers-VS37WA3E.js.map → providers-I24HYZXG.js.map} +0 -0
- /package/dist/chunks/{pty-NWEV3DSP.js.map → pty-WVKM6ATI.js.map} +0 -0
- /package/dist/chunks/{resume-Y7P3TAVG.js.map → resume-F7JEDBHI.js.map} +0 -0
- /package/dist/chunks/{resume-command-KEXAVL6P.js.map → resume-command-4I47WN7T.js.map} +0 -0
- /package/dist/chunks/{running-JLMG6IL4.js.map → running-VID6BVT2.js.map} +0 -0
- /package/dist/chunks/{schedule-6ERJJOA3.js.map → schedule-75IZH76Z.js.map} +0 -0
- /package/dist/chunks/{send-UXJ7GXKN.js.map → send-QRYY2NCG.js.map} +0 -0
- /package/dist/chunks/{send-person-DLJU45IU.js.map → send-person-VADQNJBN.js.map} +0 -0
- /package/dist/chunks/{service-NYJZCLH2.js.map → service-B6BNESZB.js.map} +0 -0
- /package/dist/chunks/{setting-cli-ILFKSR4D.js.map → setting-cli-O4YWOIU5.js.map} +0 -0
- /package/dist/chunks/{start-check-7GBRCGVJ.js.map → start-check-EKRXJ5VE.js.map} +0 -0
- /package/dist/chunks/{startup-failure-UA32GGJB.js.map → startup-failure-2UJKPNMR.js.map} +0 -0
- /package/dist/chunks/{state-SSRHEX5K.js.map → state-X3MKUFYM.js.map} +0 -0
- /package/dist/chunks/{store-2GFZ5XXW.js.map → store-4OXWHFS5.js.map} +0 -0
- /package/dist/chunks/{store-MP5EB266.js.map → store-MK5IYBE5.js.map} +0 -0
- /package/dist/chunks/{store-ROR7VTZ2.js.map → store-QFNY4BV4.js.map} +0 -0
- /package/dist/chunks/{store-WRRTTRBT.js.map → store-VRKKFOYW.js.map} +0 -0
- /package/dist/chunks/{update-32IRH5TG.js.map → update-ELZEXYIX.js.map} +0 -0
- /package/dist/chunks/{workspaces-4YXZSENL.js.map → workspaces-3LB4SPPS.js.map} +0 -0
|
@@ -2,10 +2,10 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
|
|
|
2
2
|
const require = __namzuCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
openWorktreeHookRuntime
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MF3SFDBW.js";
|
|
6
6
|
import {
|
|
7
7
|
selectDesktopBackend
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MUSGZEFY.js";
|
|
9
9
|
import {
|
|
10
10
|
NAMZU_COMPACT_WORDMARK,
|
|
11
11
|
NAMZU_WORDMARK,
|
|
@@ -23,25 +23,25 @@ import {
|
|
|
23
23
|
rewritePromptHistory,
|
|
24
24
|
seedPromptHistory,
|
|
25
25
|
trimPromptHistory
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-H6NTNPWD.js";
|
|
27
27
|
import {
|
|
28
28
|
changesBlock,
|
|
29
29
|
changesSinceConfirmed,
|
|
30
30
|
confirmationView,
|
|
31
31
|
describeChanges,
|
|
32
32
|
permissionsChanged
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-4BNCVR3U.js";
|
|
34
34
|
import {
|
|
35
35
|
hooksOf
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-BA7KUG6V.js";
|
|
37
37
|
import {
|
|
38
38
|
settleAnsweredPark
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-N5CCXOYK.js";
|
|
40
40
|
import {
|
|
41
41
|
DELIVERY_READ_LIMIT,
|
|
42
42
|
readSourceDeliveryPage,
|
|
43
43
|
takeSuppressedCount
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-JJ72TLOA.js";
|
|
45
45
|
import {
|
|
46
46
|
DEFAULT_MAX_ITERATIONS,
|
|
47
47
|
DEFAULT_TIMEOUT_MS,
|
|
@@ -52,14 +52,14 @@ import {
|
|
|
52
52
|
editedJob,
|
|
53
53
|
previewLines,
|
|
54
54
|
runsPerDay
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-GT22EDUB.js";
|
|
56
56
|
import {
|
|
57
57
|
callEndpoint,
|
|
58
58
|
readEndpoint
|
|
59
59
|
} from "./chunk-6YG7D7U4.js";
|
|
60
60
|
import {
|
|
61
61
|
displayState
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-SXONHO4H.js";
|
|
63
63
|
import {
|
|
64
64
|
visibleScheduleMessage
|
|
65
65
|
} from "./chunk-NADQQMMG.js";
|
|
@@ -71,18 +71,18 @@ import {
|
|
|
71
71
|
gateRefusal,
|
|
72
72
|
scriptShellUnavailableReason,
|
|
73
73
|
verifyScheduledScript
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-RQAY7REG.js";
|
|
75
75
|
import {
|
|
76
76
|
allowsCommands,
|
|
77
77
|
compileJobPolicy,
|
|
78
78
|
compileScriptCheckPolicy,
|
|
79
79
|
isPresetName
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-2KVQVPJ7.js";
|
|
81
81
|
import {
|
|
82
82
|
locateJob,
|
|
83
83
|
scheduleHomes,
|
|
84
84
|
severalLine
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-D6PB3Z7Q.js";
|
|
86
86
|
import {
|
|
87
87
|
AUTO_MODE_DEFAULT_NOTICE_BODY,
|
|
88
88
|
AUTO_MODE_DEFAULT_NOTICE_TITLE,
|
|
@@ -92,23 +92,23 @@ import {
|
|
|
92
92
|
hasAcknowledgedBypass,
|
|
93
93
|
hasSeenAutoModeDefaultNotice,
|
|
94
94
|
markAutoModeDefaultNoticeSeen
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-NKHEBASJ.js";
|
|
96
96
|
import {
|
|
97
97
|
applyFallbackFlag
|
|
98
98
|
} from "./chunk-RL2CTUF2.js";
|
|
99
99
|
import {
|
|
100
100
|
applyProviderFlags
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-FK4MAZV2.js";
|
|
102
102
|
import {
|
|
103
103
|
parkedRunWords,
|
|
104
104
|
resumeCommand
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-QNJXULU7.js";
|
|
106
106
|
import {
|
|
107
107
|
appendHistory,
|
|
108
108
|
nextFireOf,
|
|
109
109
|
readHistory,
|
|
110
110
|
readState
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-SLTJNYOU.js";
|
|
112
112
|
import {
|
|
113
113
|
PERSON_ONLY_OPS,
|
|
114
114
|
controlDispatch,
|
|
@@ -127,11 +127,11 @@ import {
|
|
|
127
127
|
secretForHome,
|
|
128
128
|
startControlServer,
|
|
129
129
|
writeControlInfo
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-DRSQTKDN.js";
|
|
131
131
|
import {
|
|
132
132
|
formatSessionList,
|
|
133
133
|
rowsFromLocalList
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-ME4LETA3.js";
|
|
135
135
|
import {
|
|
136
136
|
CLIPBOARD_KILL_SWITCH,
|
|
137
137
|
ClickCounter,
|
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
orderRange,
|
|
145
145
|
snapRange,
|
|
146
146
|
wordAt
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-NVWD5XDT.js";
|
|
148
148
|
import {
|
|
149
149
|
buildPeerTools,
|
|
150
150
|
openLivePeers,
|
|
@@ -152,34 +152,41 @@ import {
|
|
|
152
152
|
peerMailMessage,
|
|
153
153
|
resolvePeerRuntime,
|
|
154
154
|
runsUnderAny
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-EXJJLYZK.js";
|
|
156
156
|
import {
|
|
157
157
|
AUTO_CHOICE_ID,
|
|
158
158
|
PR_NONE,
|
|
159
159
|
PrPoller,
|
|
160
|
+
baseSkillState,
|
|
160
161
|
conversationMarkdown,
|
|
161
162
|
discoverContextLists,
|
|
163
|
+
formatTokenCost,
|
|
162
164
|
gatherContext,
|
|
163
165
|
generateTitle,
|
|
164
166
|
hasBothGroups,
|
|
165
167
|
isAutoChoice,
|
|
168
|
+
localSkillOverrideKeys,
|
|
166
169
|
messageTimeNote,
|
|
167
170
|
modelStep,
|
|
171
|
+
nextSkillState,
|
|
168
172
|
onExtensionState,
|
|
169
173
|
previousSentAt,
|
|
170
174
|
rawDetail,
|
|
171
175
|
rowSection,
|
|
176
|
+
saveSkillOverrides,
|
|
172
177
|
sectionHeading,
|
|
173
178
|
sharedExtensionHost,
|
|
179
|
+
skillListingTokens,
|
|
180
|
+
skillStateOf,
|
|
174
181
|
withAutoChoice,
|
|
175
182
|
writeConversationExport
|
|
176
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-D2R47LDH.js";
|
|
177
184
|
import {
|
|
178
185
|
tuiPalDefinition,
|
|
179
186
|
tuiPalEnvironment,
|
|
180
187
|
tuiPalOwner,
|
|
181
188
|
tuiPalPreferences
|
|
182
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-4Y242BU4.js";
|
|
183
190
|
import {
|
|
184
191
|
isModelOnlyContext,
|
|
185
192
|
runtimeContextRowLabel
|
|
@@ -191,10 +198,10 @@ import {
|
|
|
191
198
|
handedBackLines,
|
|
192
199
|
hypermodeRefusal,
|
|
193
200
|
outcomeNotice
|
|
194
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-42JIZXVL.js";
|
|
195
202
|
import {
|
|
196
203
|
defaultStartMode
|
|
197
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-DEAG4G5J.js";
|
|
198
205
|
import {
|
|
199
206
|
COMMAND_ROW_INDENT,
|
|
200
207
|
COMPACTED_HINT,
|
|
@@ -293,22 +300,22 @@ import {
|
|
|
293
300
|
webSettledLine,
|
|
294
301
|
withDebugDetail,
|
|
295
302
|
withoutUntrustedFrames
|
|
296
|
-
} from "./chunk-
|
|
303
|
+
} from "./chunk-KSRN5Y2O.js";
|
|
297
304
|
import {
|
|
298
305
|
openManagedWorktrees,
|
|
299
306
|
worktreeOpenHint
|
|
300
|
-
} from "./chunk-
|
|
307
|
+
} from "./chunk-K7YZJV2X.js";
|
|
301
308
|
import {
|
|
302
309
|
MCP_OUTPUT_CHARS,
|
|
303
310
|
boundedMcpText,
|
|
304
311
|
validatePromptArguments
|
|
305
|
-
} from "./chunk-
|
|
312
|
+
} from "./chunk-IMMUS7IW.js";
|
|
306
313
|
import {
|
|
307
314
|
openInBrowser
|
|
308
|
-
} from "./chunk-
|
|
315
|
+
} from "./chunk-PLCWCIL4.js";
|
|
309
316
|
import {
|
|
310
|
-
|
|
311
|
-
} from "./chunk-
|
|
317
|
+
readInstallManifest
|
|
318
|
+
} from "./chunk-KF6IKSF2.js";
|
|
312
319
|
import {
|
|
313
320
|
completionNotice,
|
|
314
321
|
countAgents,
|
|
@@ -318,10 +325,10 @@ import {
|
|
|
318
325
|
resumeCallText,
|
|
319
326
|
resumeReviewLines,
|
|
320
327
|
runTokens
|
|
321
|
-
} from "./chunk-
|
|
328
|
+
} from "./chunk-HG2PPCAE.js";
|
|
322
329
|
import {
|
|
323
330
|
describeBrowserStatus
|
|
324
|
-
} from "./chunk-
|
|
331
|
+
} from "./chunk-YWRRS7SO.js";
|
|
325
332
|
import {
|
|
326
333
|
MAY_BE_LIMITED_WINDOW_MS,
|
|
327
334
|
accountProductName,
|
|
@@ -333,19 +340,19 @@ import {
|
|
|
333
340
|
import {
|
|
334
341
|
beginSubscriptionLogin,
|
|
335
342
|
parsePastedInput
|
|
336
|
-
} from "./chunk-
|
|
343
|
+
} from "./chunk-BNLIRJ3M.js";
|
|
337
344
|
import {
|
|
338
345
|
API_KEY_ACCOUNT_PROVIDERS,
|
|
339
346
|
openCliAccounts,
|
|
340
347
|
storedAccountSignedIn
|
|
341
|
-
} from "./chunk-
|
|
348
|
+
} from "./chunk-BWD2TUI4.js";
|
|
342
349
|
import {
|
|
343
350
|
beginCodexDeviceLogin
|
|
344
|
-
} from "./chunk-
|
|
351
|
+
} from "./chunk-GTUTBTOV.js";
|
|
345
352
|
import {
|
|
346
353
|
claimPalConversation,
|
|
347
354
|
listPalConversations
|
|
348
|
-
} from "./chunk-
|
|
355
|
+
} from "./chunk-4ENL4VUO.js";
|
|
349
356
|
import {
|
|
350
357
|
ConversationIndexRefreshError,
|
|
351
358
|
activeConversationTurn,
|
|
@@ -396,15 +403,15 @@ import {
|
|
|
396
403
|
unarchiveConversation,
|
|
397
404
|
unchipPastedRanges,
|
|
398
405
|
widenOverChips
|
|
399
|
-
} from "./chunk-
|
|
406
|
+
} from "./chunk-VG7245VJ.js";
|
|
400
407
|
import {
|
|
401
408
|
bindAccount,
|
|
402
409
|
findAccountByName,
|
|
403
410
|
isDefaultAccountId
|
|
404
|
-
} from "./chunk-
|
|
411
|
+
} from "./chunk-PRRX5LNR.js";
|
|
405
412
|
import {
|
|
406
413
|
startAutoUpdate
|
|
407
|
-
} from "./chunk-
|
|
414
|
+
} from "./chunk-5IGEQN7L.js";
|
|
408
415
|
import {
|
|
409
416
|
BACKGROUND_SECTION_TITLES,
|
|
410
417
|
Box_default,
|
|
@@ -550,7 +557,7 @@ import {
|
|
|
550
557
|
wroteLineText,
|
|
551
558
|
wroteOf,
|
|
552
559
|
wroteRailText
|
|
553
|
-
} from "./chunk-
|
|
560
|
+
} from "./chunk-Z5OG4HXI.js";
|
|
554
561
|
import {
|
|
555
562
|
describeAllCredentialsLogout,
|
|
556
563
|
describeApiKeyLogout,
|
|
@@ -562,13 +569,13 @@ import {
|
|
|
562
569
|
import {
|
|
563
570
|
ARGUMENTS_TOKEN,
|
|
564
571
|
discoverUserCommands
|
|
565
|
-
} from "./chunk-
|
|
572
|
+
} from "./chunk-IQ44C7Y3.js";
|
|
566
573
|
import {
|
|
567
574
|
readManifest
|
|
568
575
|
} from "./chunk-AK2U3N2A.js";
|
|
569
576
|
import {
|
|
570
577
|
resolveNpmInvocation
|
|
571
|
-
} from "./chunk-
|
|
578
|
+
} from "./chunk-TSOZBRM6.js";
|
|
572
579
|
import {
|
|
573
580
|
capChoiceLines,
|
|
574
581
|
choiceDisplayText,
|
|
@@ -608,7 +615,7 @@ import {
|
|
|
608
615
|
describeCacheLifetime,
|
|
609
616
|
promptCacheTtl,
|
|
610
617
|
providerOffersCacheLifetime
|
|
611
|
-
} from "./chunk-
|
|
618
|
+
} from "./chunk-PE4MWWUW.js";
|
|
612
619
|
import {
|
|
613
620
|
CLICK_EXPAND_HINT,
|
|
614
621
|
CLICK_FOLD_HINT,
|
|
@@ -616,19 +623,15 @@ import {
|
|
|
616
623
|
DEFAULT_AGENT_WORKFLOW,
|
|
617
624
|
EXPAND_HINT,
|
|
618
625
|
NOT_SHOWN_LINE,
|
|
619
|
-
SAVE_SKILL_TOOL_NAME,
|
|
620
|
-
SKILL_CREATOR_SKILL,
|
|
621
626
|
StartupRefusal,
|
|
622
627
|
TURN_STOPPED_LINE,
|
|
623
628
|
WORKFLOW_BACKGROUND_NOTE,
|
|
624
629
|
WORKFLOW_TOOL_NAME,
|
|
625
630
|
allowsFor,
|
|
626
631
|
allowsForBatch,
|
|
627
|
-
buildSaveSkillTool,
|
|
628
632
|
clipText,
|
|
629
633
|
declinedLine,
|
|
630
634
|
describeAllows,
|
|
631
|
-
describeCollision,
|
|
632
635
|
displayPath as displayPath2,
|
|
633
636
|
explainFailure,
|
|
634
637
|
formatCompactCount,
|
|
@@ -636,21 +639,27 @@ import {
|
|
|
636
639
|
hiddenLinesHint,
|
|
637
640
|
isMachineError,
|
|
638
641
|
isSessionPlanPath,
|
|
639
|
-
learnSkillPrompt,
|
|
640
|
-
newSkillPrompt,
|
|
641
642
|
parseSlash,
|
|
642
643
|
resolveTurnGuards,
|
|
643
644
|
sameAllow,
|
|
644
645
|
sandboxRunsShellUnasked,
|
|
645
646
|
settledElapsed,
|
|
646
647
|
withoutCdToCwd
|
|
647
|
-
} from "./chunk-
|
|
648
|
+
} from "./chunk-EWPGU4HH.js";
|
|
649
|
+
import {
|
|
650
|
+
SAVE_SKILL_TOOL_NAME,
|
|
651
|
+
SKILL_CREATOR_SKILL,
|
|
652
|
+
buildSaveSkillTool,
|
|
653
|
+
describeCollision,
|
|
654
|
+
learnSkillPrompt,
|
|
655
|
+
newSkillPrompt
|
|
656
|
+
} from "./chunk-PZLPACNY.js";
|
|
648
657
|
import {
|
|
649
658
|
describePlainInterruption,
|
|
650
659
|
describeProviderWait,
|
|
651
660
|
isSelfMending,
|
|
652
661
|
isSpentAllowance
|
|
653
|
-
} from "./chunk-
|
|
662
|
+
} from "./chunk-VQZPXK4X.js";
|
|
654
663
|
import {
|
|
655
664
|
debugRequested
|
|
656
665
|
} from "./chunk-GNBMKISG.js";
|
|
@@ -662,23 +671,14 @@ import {
|
|
|
662
671
|
handoffContinuationNote,
|
|
663
672
|
refusalDetail,
|
|
664
673
|
retryAfterMs
|
|
665
|
-
} from "./chunk-
|
|
666
|
-
import {
|
|
667
|
-
TRACKED_LOCAL_SETTINGS,
|
|
668
|
-
ensureLocalConfigIgnored,
|
|
669
|
-
localSettingsPath,
|
|
670
|
-
localSettingsTracked,
|
|
671
|
-
logIgnoreOutcome,
|
|
672
|
-
moveLegacyLocalConfigOnce,
|
|
673
|
-
updateLocalSettings
|
|
674
|
-
} from "./chunk-R2TBZK62.js";
|
|
674
|
+
} from "./chunk-PS5SVAUJ.js";
|
|
675
675
|
import {
|
|
676
676
|
autoAvailable,
|
|
677
677
|
nextCycleMode,
|
|
678
678
|
permissionModeDescription,
|
|
679
679
|
permissionModeLabel,
|
|
680
680
|
permissionModeName
|
|
681
|
-
} from "./chunk-
|
|
681
|
+
} from "./chunk-452SL2Y4.js";
|
|
682
682
|
import {
|
|
683
683
|
paint,
|
|
684
684
|
rowTints,
|
|
@@ -687,18 +687,24 @@ import {
|
|
|
687
687
|
} from "./chunk-P65AXQPL.js";
|
|
688
688
|
import {
|
|
689
689
|
discoverAgentDefinitions
|
|
690
|
-
} from "./chunk-
|
|
690
|
+
} from "./chunk-4DSUVT37.js";
|
|
691
691
|
import {
|
|
692
692
|
readAgentHooks
|
|
693
|
-
} from "./chunk-
|
|
693
|
+
} from "./chunk-MK42KB72.js";
|
|
694
694
|
import {
|
|
695
695
|
readSkillHooks,
|
|
696
696
|
withoutSessionStart
|
|
697
|
-
} from "./chunk-
|
|
697
|
+
} from "./chunk-TBJ6XU3T.js";
|
|
698
|
+
import {
|
|
699
|
+
isPluginId,
|
|
700
|
+
readInstalledPlugins,
|
|
701
|
+
samePath,
|
|
702
|
+
splitPluginId
|
|
703
|
+
} from "./chunk-D4TXOX34.js";
|
|
698
704
|
import {
|
|
699
705
|
primaryProvider,
|
|
700
706
|
writePreferences
|
|
701
|
-
} from "./chunk-
|
|
707
|
+
} from "./chunk-IL4Y3JGT.js";
|
|
702
708
|
import {
|
|
703
709
|
apiKeyLogoutWord,
|
|
704
710
|
automaticChoice,
|
|
@@ -709,7 +715,7 @@ import {
|
|
|
709
715
|
hasApiCredential,
|
|
710
716
|
isApiKeyLogoutTarget,
|
|
711
717
|
signedInSubscriptionProviders
|
|
712
|
-
} from "./chunk-
|
|
718
|
+
} from "./chunk-K2EKXCLZ.js";
|
|
713
719
|
import {
|
|
714
720
|
isAnthropicOAuthToken
|
|
715
721
|
} from "./chunk-LPPFJYL6.js";
|
|
@@ -721,14 +727,14 @@ import {
|
|
|
721
727
|
loadSkillBody,
|
|
722
728
|
renderSkillRoster,
|
|
723
729
|
skillTierLabel
|
|
724
|
-
} from "./chunk-
|
|
730
|
+
} from "./chunk-6HYK4DDB.js";
|
|
725
731
|
import {
|
|
726
732
|
isTrusted,
|
|
727
733
|
isTrustedAtStateRoot,
|
|
728
734
|
startNewTrustList,
|
|
729
735
|
trustDir,
|
|
730
736
|
trustListProblem
|
|
731
|
-
} from "./chunk-
|
|
737
|
+
} from "./chunk-VWUTJ4EU.js";
|
|
732
738
|
import {
|
|
733
739
|
expandTabs,
|
|
734
740
|
scriptText,
|
|
@@ -737,19 +743,17 @@ import {
|
|
|
737
743
|
import {
|
|
738
744
|
DEFAULT_SHOW_TURN_DURATION,
|
|
739
745
|
getScreenModeNow
|
|
740
|
-
} from "./chunk-
|
|
746
|
+
} from "./chunk-2DCOB33W.js";
|
|
741
747
|
import {
|
|
742
748
|
deleteUserConfigValue,
|
|
743
749
|
setUserConfigValue
|
|
744
|
-
} from "./chunk-
|
|
750
|
+
} from "./chunk-6W3UGXGG.js";
|
|
745
751
|
import {
|
|
746
752
|
COMPOSER_TRIGGER_DEFAULTS,
|
|
747
753
|
COMPOSER_TRIGGER_IDS,
|
|
748
754
|
ConfigLoadError,
|
|
749
755
|
DEFAULT_WORKFLOW_SIZE_GUIDELINE,
|
|
750
756
|
LARGE_WORKFLOW_WARNING,
|
|
751
|
-
LOCAL_SETTINGS_FILE,
|
|
752
|
-
SKILL_OVERRIDE_STATES,
|
|
753
757
|
approveShownMcpServers,
|
|
754
758
|
browserCallOrigin,
|
|
755
759
|
browserSiteRuleFor,
|
|
@@ -779,7 +783,7 @@ import {
|
|
|
779
783
|
verdictOf,
|
|
780
784
|
withWorkflowKeywordSwitch,
|
|
781
785
|
writeConnection
|
|
782
|
-
} from "./chunk-
|
|
786
|
+
} from "./chunk-O4EILTV6.js";
|
|
783
787
|
import {
|
|
784
788
|
PROJECT_MCP_FILE,
|
|
785
789
|
parseMcpServerFile
|
|
@@ -821,10 +825,10 @@ import {
|
|
|
821
825
|
restrictToOwner,
|
|
822
826
|
writeStoredApiKey,
|
|
823
827
|
writeStoredGeminiApiKey
|
|
824
|
-
} from "./chunk-
|
|
828
|
+
} from "./chunk-AYMB4AOZ.js";
|
|
825
829
|
import {
|
|
826
830
|
namzuHomePath
|
|
827
|
-
} from "./chunk-
|
|
831
|
+
} from "./chunk-JRBFL6WT.js";
|
|
828
832
|
import {
|
|
829
833
|
stringWidth
|
|
830
834
|
} from "./chunk-U5UV2YRE.js";
|
|
@@ -883,6 +887,7 @@ import {
|
|
|
883
887
|
goalCostText,
|
|
884
888
|
goalTokensText,
|
|
885
889
|
hardenPeerRuntimeDir,
|
|
890
|
+
hookModuleConsentEntry,
|
|
886
891
|
hostCommandShell,
|
|
887
892
|
hostTimeZone,
|
|
888
893
|
installedCommandShellForDialect,
|
|
@@ -892,6 +897,7 @@ import {
|
|
|
892
897
|
isPeerRecordLive,
|
|
893
898
|
isReviewRefusalResult,
|
|
894
899
|
kernelHostCommands,
|
|
900
|
+
locateHookModule,
|
|
895
901
|
mustAskPerson,
|
|
896
902
|
newPasteNonce,
|
|
897
903
|
nextFireTime,
|
|
@@ -915,6 +921,7 @@ import {
|
|
|
915
921
|
resolveWorkflowLimits,
|
|
916
922
|
sanitizeName,
|
|
917
923
|
sanitizeRole,
|
|
924
|
+
scanHookModule,
|
|
918
925
|
sessionDisplayName,
|
|
919
926
|
sweepPrivateTempRoot,
|
|
920
927
|
systemClock,
|
|
@@ -926,7 +933,7 @@ import {
|
|
|
926
933
|
withAccountLock,
|
|
927
934
|
wrapUntrusted,
|
|
928
935
|
writePeerRecord
|
|
929
|
-
} from "./chunk-
|
|
936
|
+
} from "./chunk-QQ4S6MNH.js";
|
|
930
937
|
import {
|
|
931
938
|
__name,
|
|
932
939
|
__toESM
|
|
@@ -2421,7 +2428,7 @@ function useTerminalFocused(store = terminalFocus) {
|
|
|
2421
2428
|
__name(useTerminalFocused, "useTerminalFocused");
|
|
2422
2429
|
|
|
2423
2430
|
// src/tui/App.tsx
|
|
2424
|
-
import { existsSync as
|
|
2431
|
+
import { existsSync as existsSync5, rmSync as rmSync2 } from "node:fs";
|
|
2425
2432
|
import { homedir } from "node:os";
|
|
2426
2433
|
import { join as join18, relative as relative5, resolve as resolve9 } from "node:path";
|
|
2427
2434
|
var import_react30 = __toESM(require_react(), 1);
|
|
@@ -11948,7 +11955,7 @@ async function askSideQuestion(input) {
|
|
|
11948
11955
|
__name(askSideQuestion, "askSideQuestion");
|
|
11949
11956
|
|
|
11950
11957
|
// src/integrations/trust/folder-grants.ts
|
|
11951
|
-
import { readFileSync as readFileSync3, readdirSync } from "node:fs";
|
|
11958
|
+
import { existsSync as existsSync3, readFileSync as readFileSync3, readdirSync } from "node:fs";
|
|
11952
11959
|
import { isAbsolute as isAbsolute3, join as join9, relative as relative2, resolve as resolve2 } from "node:path";
|
|
11953
11960
|
var MAX_SHOWN_GRANT_RULES = 8;
|
|
11954
11961
|
var MAX_HOOK_RUNS_CHARS = 200;
|
|
@@ -12026,10 +12033,12 @@ function describePluginHooks(cwd) {
|
|
|
12026
12033
|
for (const name of names) {
|
|
12027
12034
|
const folder = join9(root, name);
|
|
12028
12035
|
const manifest = readObject(join9(folder, "plugin.json"));
|
|
12029
|
-
|
|
12030
|
-
|
|
12036
|
+
const common = manifest ? void 0 : readObject(join9(folder, ".claude-plugin", "plugin.json"));
|
|
12037
|
+
if (!manifest && !common && !existsSync3(join9(folder, "hooks", "hooks.json"))) continue;
|
|
12038
|
+
const named = manifest ?? common;
|
|
12039
|
+
const label = typeof named?.name === "string" ? named.name : name;
|
|
12031
12040
|
const files = ["hooks/hooks.json"];
|
|
12032
|
-
if (Array.isArray(manifest
|
|
12041
|
+
if (Array.isArray(manifest?.hooks)) {
|
|
12033
12042
|
for (const path of manifest.hooks) {
|
|
12034
12043
|
if (typeof path === "string" && path.toLowerCase().endsWith(".json")) files.push(path);
|
|
12035
12044
|
}
|
|
@@ -12042,7 +12051,7 @@ function describePluginHooks(cwd) {
|
|
|
12042
12051
|
const value = readObject(path);
|
|
12043
12052
|
if (value) blocks.push(value);
|
|
12044
12053
|
}
|
|
12045
|
-
if (manifest
|
|
12054
|
+
if (manifest?.hookEntries !== null && typeof manifest?.hookEntries === "object") {
|
|
12046
12055
|
blocks.push(manifest.hookEntries);
|
|
12047
12056
|
}
|
|
12048
12057
|
for (const block of blocks) {
|
|
@@ -12051,10 +12060,36 @@ function describePluginHooks(cwd) {
|
|
|
12051
12060
|
out.push({ event: grant.event, runs: `${grant.runs} (plugin ${label})` });
|
|
12052
12061
|
}
|
|
12053
12062
|
}
|
|
12063
|
+
const module = describePluginModule(folder, label);
|
|
12064
|
+
if (module !== void 0) out.push(module);
|
|
12054
12065
|
}
|
|
12055
12066
|
return out;
|
|
12056
12067
|
}
|
|
12057
12068
|
__name(describePluginHooks, "describePluginHooks");
|
|
12069
|
+
function describePluginModule(folder, label) {
|
|
12070
|
+
try {
|
|
12071
|
+
const located = locateHookModule(folder);
|
|
12072
|
+
if (located.kind === "refused") {
|
|
12073
|
+
return { event: `hooks module (plugin ${label})`, runs: `not run: ${located.message}` };
|
|
12074
|
+
}
|
|
12075
|
+
if (located.kind !== "found") return void 0;
|
|
12076
|
+
const scan = scanHookModule(folder, located.entry);
|
|
12077
|
+
const entry = hookModuleConsentEntry(label, scan);
|
|
12078
|
+
if (scan.refusals.length > 0) {
|
|
12079
|
+
return {
|
|
12080
|
+
event: `hooks module (plugin ${label})`,
|
|
12081
|
+
runs: `${located.entry} is not run: ${scan.refusals[0]?.message ?? "refused"}`
|
|
12082
|
+
};
|
|
12083
|
+
}
|
|
12084
|
+
return {
|
|
12085
|
+
event: `hooks module (plugin ${label})`,
|
|
12086
|
+
runs: `${located.entry} runs in an isolated worker: ${entry.lines.join("; ")}`
|
|
12087
|
+
};
|
|
12088
|
+
} catch {
|
|
12089
|
+
return void 0;
|
|
12090
|
+
}
|
|
12091
|
+
}
|
|
12092
|
+
__name(describePluginModule, "describePluginModule");
|
|
12058
12093
|
function describeSkillHooks(cwd) {
|
|
12059
12094
|
const out = [];
|
|
12060
12095
|
for (const skill of discoverSkills({ cwd })) {
|
|
@@ -12107,7 +12142,64 @@ function describeAgentHooks(cwd) {
|
|
|
12107
12142
|
return out;
|
|
12108
12143
|
}
|
|
12109
12144
|
__name(describeAgentHooks, "describeAgentHooks");
|
|
12110
|
-
function
|
|
12145
|
+
function describeMarketplaceSource(source) {
|
|
12146
|
+
if (source === null || typeof source !== "object") return "unknown";
|
|
12147
|
+
const s = source;
|
|
12148
|
+
const where = s.repo ?? s.url ?? s.path;
|
|
12149
|
+
return typeof where === "string" ? `${String(s.source)} ${plainAddress(where)}` : String(s.source);
|
|
12150
|
+
}
|
|
12151
|
+
__name(describeMarketplaceSource, "describeMarketplaceSource");
|
|
12152
|
+
function describePluginRecords(cwd, home) {
|
|
12153
|
+
const records = [];
|
|
12154
|
+
const marketplaces = [];
|
|
12155
|
+
const hooks = [];
|
|
12156
|
+
const installed = readInstalledPlugins(home);
|
|
12157
|
+
const here = /* @__PURE__ */ __name((id) => {
|
|
12158
|
+
if (installed.state === "unreadable") return false;
|
|
12159
|
+
return (installed.plugins.get(id) ?? []).some(
|
|
12160
|
+
(record3) => record3.scope === "user" || record3.projectPath !== void 0 && samePath(record3.projectPath, cwd)
|
|
12161
|
+
);
|
|
12162
|
+
}, "here");
|
|
12163
|
+
const layers = [
|
|
12164
|
+
["project", resolve2(cwd, ".namzu", "settings.json")],
|
|
12165
|
+
["local", resolve2(cwd, ".namzu", "settings.local.json")]
|
|
12166
|
+
];
|
|
12167
|
+
for (const [layer, path] of layers) {
|
|
12168
|
+
const file = readObject(path);
|
|
12169
|
+
if (!file) continue;
|
|
12170
|
+
const enabled2 = file.enabledPlugins;
|
|
12171
|
+
if (enabled2 !== null && typeof enabled2 === "object" && !Array.isArray(enabled2)) {
|
|
12172
|
+
for (const [id, value] of Object.entries(enabled2)) {
|
|
12173
|
+
if (!isPluginId(id) || typeof value !== "boolean") continue;
|
|
12174
|
+
const have = here(id);
|
|
12175
|
+
records.push({ id, layer, on: value, installed: have });
|
|
12176
|
+
if (!value || !have) continue;
|
|
12177
|
+
const manifest = readInstallManifest(home, id);
|
|
12178
|
+
const surface = manifest.state === "ok" ? manifest.manifest.surface.hooks : void 0;
|
|
12179
|
+
if (!Array.isArray(surface)) continue;
|
|
12180
|
+
for (const hook of surface) {
|
|
12181
|
+
if (hook === null || typeof hook !== "object") continue;
|
|
12182
|
+
const h = hook;
|
|
12183
|
+
if (typeof h.command !== "string") continue;
|
|
12184
|
+
hooks.push({
|
|
12185
|
+
event: typeof h.event === "string" ? h.event : "hook",
|
|
12186
|
+
runs: `${h.command.replace(/\s+/g, " ").slice(0, MAX_HOOK_RUNS_CHARS)} (plugin ${splitPluginId(id).name})`
|
|
12187
|
+
});
|
|
12188
|
+
}
|
|
12189
|
+
}
|
|
12190
|
+
}
|
|
12191
|
+
const declared = file.extraKnownMarketplaces;
|
|
12192
|
+
if (declared !== null && typeof declared === "object" && !Array.isArray(declared)) {
|
|
12193
|
+
for (const [name, entry] of Object.entries(declared)) {
|
|
12194
|
+
const source = entry !== null && typeof entry === "object" ? entry.source : void 0;
|
|
12195
|
+
marketplaces.push({ name, from: describeMarketplaceSource(source) });
|
|
12196
|
+
}
|
|
12197
|
+
}
|
|
12198
|
+
}
|
|
12199
|
+
return { records, marketplaces, hooks };
|
|
12200
|
+
}
|
|
12201
|
+
__name(describePluginRecords, "describePluginRecords");
|
|
12202
|
+
function readFolderGrants(cwd, home = resolveNamzuHome()) {
|
|
12111
12203
|
const allowRules = [];
|
|
12112
12204
|
const directories = [];
|
|
12113
12205
|
const hooks = [];
|
|
@@ -12133,6 +12225,15 @@ function readFolderGrants(cwd) {
|
|
|
12133
12225
|
}
|
|
12134
12226
|
}
|
|
12135
12227
|
hooks.push(...describePluginHooks(cwd));
|
|
12228
|
+
let pluginRecords = [];
|
|
12229
|
+
let marketplaces = [];
|
|
12230
|
+
try {
|
|
12231
|
+
const described = describePluginRecords(cwd, home);
|
|
12232
|
+
pluginRecords = described.records;
|
|
12233
|
+
marketplaces = described.marketplaces;
|
|
12234
|
+
hooks.push(...described.hooks);
|
|
12235
|
+
} catch {
|
|
12236
|
+
}
|
|
12136
12237
|
try {
|
|
12137
12238
|
hooks.push(...describeSkillHooks(cwd));
|
|
12138
12239
|
} catch {
|
|
@@ -12158,7 +12259,9 @@ function readFolderGrants(cwd) {
|
|
|
12158
12259
|
allowRules: [...new Set(allowRules)],
|
|
12159
12260
|
directories: [...new Set(directories)],
|
|
12160
12261
|
toolServers,
|
|
12161
|
-
hooks
|
|
12262
|
+
hooks,
|
|
12263
|
+
...pluginRecords.length > 0 ? { pluginRecords } : {},
|
|
12264
|
+
...marketplaces.length > 0 ? { marketplaces } : {}
|
|
12162
12265
|
};
|
|
12163
12266
|
}
|
|
12164
12267
|
__name(readFolderGrants, "readFolderGrants");
|
|
@@ -12708,93 +12811,6 @@ ${lines4.map((l) => `- ${l}`).join("\n")}`
|
|
|
12708
12811
|
}
|
|
12709
12812
|
};
|
|
12710
12813
|
|
|
12711
|
-
// src/skills/overrides.ts
|
|
12712
|
-
import { readFileSync as readFileSync4 } from "node:fs";
|
|
12713
|
-
var SKILL_STATE_CYCLE = SKILL_OVERRIDE_STATES.map((state) => state);
|
|
12714
|
-
function nextSkillState(state) {
|
|
12715
|
-
const index = SKILL_STATE_CYCLE.indexOf(state);
|
|
12716
|
-
return SKILL_STATE_CYCLE[(index + 1) % SKILL_STATE_CYCLE.length];
|
|
12717
|
-
}
|
|
12718
|
-
__name(nextSkillState, "nextSkillState");
|
|
12719
|
-
function skillStateOf(info) {
|
|
12720
|
-
if (info.disabled === true) return "off";
|
|
12721
|
-
return info.state ?? "on";
|
|
12722
|
-
}
|
|
12723
|
-
__name(skillStateOf, "skillStateOf");
|
|
12724
|
-
function baseSkillState(name, disabled, overrides, localKeys) {
|
|
12725
|
-
if (localKeys?.has(name)) return void 0;
|
|
12726
|
-
return overrides?.[name] ?? (disabled?.includes(name) ? "off" : "on");
|
|
12727
|
-
}
|
|
12728
|
-
__name(baseSkillState, "baseSkillState");
|
|
12729
|
-
function localSkillOverrideKeys(cwd) {
|
|
12730
|
-
try {
|
|
12731
|
-
const document = JSON.parse(readFileSync4(localSettingsPath(cwd), "utf8"));
|
|
12732
|
-
const skills = isRecord3(document) ? document.skills : void 0;
|
|
12733
|
-
const overrides = isRecord3(skills) ? skills.overrides : void 0;
|
|
12734
|
-
return new Set(isRecord3(overrides) ? Object.keys(overrides) : []);
|
|
12735
|
-
} catch {
|
|
12736
|
-
return /* @__PURE__ */ new Set();
|
|
12737
|
-
}
|
|
12738
|
-
}
|
|
12739
|
-
__name(localSkillOverrideKeys, "localSkillOverrideKeys");
|
|
12740
|
-
function skillListingChars(info) {
|
|
12741
|
-
return info.name.length + info.description.length;
|
|
12742
|
-
}
|
|
12743
|
-
__name(skillListingChars, "skillListingChars");
|
|
12744
|
-
function skillListingTokens(info) {
|
|
12745
|
-
return Math.round(skillListingChars(info) / CHARS_PER_TOKEN);
|
|
12746
|
-
}
|
|
12747
|
-
__name(skillListingTokens, "skillListingTokens");
|
|
12748
|
-
function formatTokenCost(tokens) {
|
|
12749
|
-
if (tokens < 20) return "< 20 tokens";
|
|
12750
|
-
return `~${Math.round(tokens / 10) * 10} tokens`;
|
|
12751
|
-
}
|
|
12752
|
-
__name(formatTokenCost, "formatTokenCost");
|
|
12753
|
-
function isRecord3(value) {
|
|
12754
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
12755
|
-
}
|
|
12756
|
-
__name(isRecord3, "isRecord");
|
|
12757
|
-
function saveSkillOverrides(cwd, changes, options = {}) {
|
|
12758
|
-
const names = Object.keys(changes);
|
|
12759
|
-
if (names.length === 0) return { ok: true, changed: 0 };
|
|
12760
|
-
if (!(options.trusted ?? isTrusted(cwd)))
|
|
12761
|
-
return {
|
|
12762
|
-
ok: false,
|
|
12763
|
-
message: "this folder is not trusted, so nothing was saved to its settings"
|
|
12764
|
-
};
|
|
12765
|
-
moveLegacyLocalConfigOnce(cwd);
|
|
12766
|
-
if (localSettingsTracked(cwd, { fresh: true }))
|
|
12767
|
-
return { ok: false, message: TRACKED_LOCAL_SETTINGS };
|
|
12768
|
-
const write = updateLocalSettings(cwd, (document) => {
|
|
12769
|
-
if (document.skills !== void 0 && !isRecord3(document.skills))
|
|
12770
|
-
return { error: `${LOCAL_SETTINGS_FILE} has a skills value that is not a table` };
|
|
12771
|
-
const skills = isRecord3(document.skills) ? { ...document.skills } : {};
|
|
12772
|
-
if (skills.overrides !== void 0 && !isRecord3(skills.overrides))
|
|
12773
|
-
return { error: `${LOCAL_SETTINGS_FILE} has a skills.overrides value that is not a table` };
|
|
12774
|
-
const overrides = isRecord3(skills.overrides) ? { ...skills.overrides } : {};
|
|
12775
|
-
for (const name of names) {
|
|
12776
|
-
const wanted = changes[name];
|
|
12777
|
-
if (wanted === null || wanted === void 0) delete overrides[name];
|
|
12778
|
-
else overrides[name] = wanted;
|
|
12779
|
-
}
|
|
12780
|
-
if (Object.keys(overrides).length > 0) skills.overrides = overrides;
|
|
12781
|
-
else skills.overrides = void 0;
|
|
12782
|
-
const next = { ...document };
|
|
12783
|
-
if (Object.values(skills).some((value) => value !== void 0)) {
|
|
12784
|
-
next.skills = Object.fromEntries(
|
|
12785
|
-
Object.entries(skills).filter(([, value]) => value !== void 0)
|
|
12786
|
-
);
|
|
12787
|
-
} else {
|
|
12788
|
-
next.skills = void 0;
|
|
12789
|
-
}
|
|
12790
|
-
return { document: Object.fromEntries(Object.entries(next).filter(([, v]) => v !== void 0)) };
|
|
12791
|
-
});
|
|
12792
|
-
if (write.error !== void 0) return { ok: false, message: write.error };
|
|
12793
|
-
void ensureLocalConfigIgnored(cwd).then(logIgnoreOutcome);
|
|
12794
|
-
return { ok: true, changed: names.length };
|
|
12795
|
-
}
|
|
12796
|
-
__name(saveSkillOverrides, "saveSkillOverrides");
|
|
12797
|
-
|
|
12798
12814
|
// src/skills/typed-command-load.ts
|
|
12799
12815
|
async function loadTypedCommand(load) {
|
|
12800
12816
|
let context;
|
|
@@ -15635,11 +15651,11 @@ function fitWithoutLibrary(input, format, limits) {
|
|
|
15635
15651
|
__name(fitWithoutLibrary, "fitWithoutLibrary");
|
|
15636
15652
|
|
|
15637
15653
|
// src/integrations/clipboard/wsl.ts
|
|
15638
|
-
import { readFileSync as
|
|
15654
|
+
import { readFileSync as readFileSync4 } from "node:fs";
|
|
15639
15655
|
var DEFAULT_WSL_MOUNT_ROOT = "/mnt/";
|
|
15640
15656
|
function readTextOrUndefined(path) {
|
|
15641
15657
|
try {
|
|
15642
|
-
return
|
|
15658
|
+
return readFileSync4(path, "utf8");
|
|
15643
15659
|
} catch {
|
|
15644
15660
|
return void 0;
|
|
15645
15661
|
}
|
|
@@ -20168,10 +20184,6 @@ function Composer({
|
|
|
20168
20184
|
return;
|
|
20169
20185
|
}
|
|
20170
20186
|
if (isAction("task:background", input, key) && onBackgroundCommand?.()) return;
|
|
20171
|
-
if (chordArmed && isChordAction("chat:sendNow", input, key) && onSendNow) {
|
|
20172
|
-
onSendNow();
|
|
20173
|
-
return;
|
|
20174
|
-
}
|
|
20175
20187
|
if (chordArmed && isChordAction("chat:killAgents", input, key) && onStopAllAgents) {
|
|
20176
20188
|
onStopAllAgents();
|
|
20177
20189
|
return;
|
|
@@ -20180,27 +20192,10 @@ function Composer({
|
|
|
20180
20192
|
openExternalEditor(pressedKeyLabel("chat:externalEditor", input, key, true));
|
|
20181
20193
|
return;
|
|
20182
20194
|
}
|
|
20183
|
-
if (queuedEdit) {
|
|
20184
|
-
const
|
|
20185
|
-
if (
|
|
20186
|
-
|
|
20187
|
-
if (loaded) {
|
|
20188
|
-
restoreDraft(loaded);
|
|
20189
|
-
return;
|
|
20190
|
-
}
|
|
20191
|
-
}
|
|
20192
|
-
if (queuedEdit.selected) {
|
|
20193
|
-
if (key.upArrow && !key.meta && !key.shift) {
|
|
20194
|
-
queuedEdit.onMove("up");
|
|
20195
|
-
return;
|
|
20196
|
-
}
|
|
20197
|
-
if (key.downArrow && !key.shift) {
|
|
20198
|
-
queuedEdit.onMove("down");
|
|
20199
|
-
return;
|
|
20200
|
-
}
|
|
20201
|
-
if (key.escape) return;
|
|
20202
|
-
queuedEdit.onLeave();
|
|
20203
|
-
} else if (empty && key.upArrow && !key.meta && !key.shift && queuedEdit.onMove("up")) {
|
|
20195
|
+
if (queuedEdit?.available && key.upArrow && !key.meta && !key.shift && valueRef.current.length === 0 && attachmentsRef.current.length === 0) {
|
|
20196
|
+
const taken = queuedEdit.onTakeAll();
|
|
20197
|
+
if (taken) {
|
|
20198
|
+
restoreDraft(taken);
|
|
20204
20199
|
return;
|
|
20205
20200
|
}
|
|
20206
20201
|
}
|
|
@@ -20256,7 +20251,7 @@ function Composer({
|
|
|
20256
20251
|
if (editPreviousTimerRef.current) setEditPreviousArmed(false);
|
|
20257
20252
|
disarmClear();
|
|
20258
20253
|
}
|
|
20259
|
-
if (vimOnRef.current && !vimBypass && historySearchRef.current === null &&
|
|
20254
|
+
if (vimOnRef.current && !vimBypass && historySearchRef.current === null && vimStep(input, key, hasLiveSuggestions))
|
|
20260
20255
|
return;
|
|
20261
20256
|
const submit = /* @__PURE__ */ __name((mode) => {
|
|
20262
20257
|
const pastes = pasteStoreRef.current;
|
|
@@ -20301,6 +20296,13 @@ function Composer({
|
|
|
20301
20296
|
}
|
|
20302
20297
|
return true;
|
|
20303
20298
|
}, "submit");
|
|
20299
|
+
if (chordArmed && isChordAction("chat:sendNow", input, key) && onSendNow) {
|
|
20300
|
+
const typed = valueRef.current.trim();
|
|
20301
|
+
const isCommand = shellRef.current || typed.startsWith("/");
|
|
20302
|
+
if (turnActive) submit("submit");
|
|
20303
|
+
if (!(turnActive && isCommand)) onSendNow();
|
|
20304
|
+
return;
|
|
20305
|
+
}
|
|
20304
20306
|
if (isAction("chat:newline", input, key) || input === "\n") {
|
|
20305
20307
|
const position2 = cursorRef.current;
|
|
20306
20308
|
editBuffer(
|
|
@@ -21264,8 +21266,8 @@ __name(ExtensionIndicatorRow, "ExtensionIndicatorRow");
|
|
|
21264
21266
|
var import_jsx_runtime20 = __toESM(require_jsx_runtime(), 1);
|
|
21265
21267
|
var PENDING_POINTER = "\u276F";
|
|
21266
21268
|
var SEND_NOW_HINT = "ctrl+x ctrl+s to send now";
|
|
21269
|
+
var QUEUED_HINT_LEAD = " \u23BF Queued";
|
|
21267
21270
|
var MAX_PREVIEW_CODEPOINTS = 400;
|
|
21268
|
-
var QUEUED_SUFFIX = " \xB7 after this reply";
|
|
21269
21271
|
var QUEUED_COMMAND_SUFFIX = " \xB7 Queued, runs after this reply";
|
|
21270
21272
|
var QUEUED_COMMAND_SHORT_SUFFIX = " \xB7 Queued";
|
|
21271
21273
|
function previewText(source) {
|
|
@@ -21296,10 +21298,9 @@ function allRows(pendingSteers, queued) {
|
|
|
21296
21298
|
...pendingSteers.map((item, index) => ({
|
|
21297
21299
|
key: `s${index}`,
|
|
21298
21300
|
item,
|
|
21299
|
-
queued: false
|
|
21300
|
-
queuedIndex: -1
|
|
21301
|
+
queued: false
|
|
21301
21302
|
})),
|
|
21302
|
-
...queued.map((item, index) => ({ key: `q${index}`, item, queued: true
|
|
21303
|
+
...queued.map((item, index) => ({ key: `q${index}`, item, queued: true }))
|
|
21303
21304
|
];
|
|
21304
21305
|
}
|
|
21305
21306
|
__name(allRows, "allRows");
|
|
@@ -21307,14 +21308,6 @@ function rowLimit(rows) {
|
|
|
21307
21308
|
return rows >= 30 ? 5 : rows >= 20 ? 3 : 1;
|
|
21308
21309
|
}
|
|
21309
21310
|
__name(rowLimit, "rowLimit");
|
|
21310
|
-
function windowStart(rows, limit, selectedQueued) {
|
|
21311
|
-
let start2 = Math.max(0, rows.length - limit);
|
|
21312
|
-
if (selectedQueued === null) return start2;
|
|
21313
|
-
const at = rows.findIndex((row2) => row2.queued && row2.queuedIndex === selectedQueued);
|
|
21314
|
-
if (at >= 0 && at < start2) start2 = at;
|
|
21315
|
-
return start2;
|
|
21316
|
-
}
|
|
21317
|
-
__name(windowStart, "windowStart");
|
|
21318
21311
|
function holdText(held2) {
|
|
21319
21312
|
if (held2.source === "operator-interrupt") {
|
|
21320
21313
|
return "Held after you stopped the reply \xB7 your next message runs first, then these";
|
|
@@ -21341,7 +21334,8 @@ function pendingInputPanelRows({
|
|
|
21341
21334
|
const total = pendingSteers.length + queued.length;
|
|
21342
21335
|
if (total === 0) return 0;
|
|
21343
21336
|
const limit = rowLimit(rows);
|
|
21344
|
-
|
|
21337
|
+
const shown = Math.min(limit, total);
|
|
21338
|
+
return shown * 2 - 1 + Number(total > limit) + hintRows2({ working, held: held2, rows });
|
|
21345
21339
|
}
|
|
21346
21340
|
__name(pendingInputPanelRows, "pendingInputPanelRows");
|
|
21347
21341
|
function PendingInputPanel({
|
|
@@ -21350,26 +21344,23 @@ function PendingInputPanel({
|
|
|
21350
21344
|
columns,
|
|
21351
21345
|
rows,
|
|
21352
21346
|
working = false,
|
|
21353
|
-
selectedQueued = null,
|
|
21354
21347
|
held: held2 = null
|
|
21355
21348
|
}) {
|
|
21356
21349
|
const list = allRows(pendingSteers, queued);
|
|
21357
21350
|
if (list.length === 0) return null;
|
|
21358
21351
|
const limit = rowLimit(rows);
|
|
21359
|
-
const start2 =
|
|
21352
|
+
const start2 = Math.max(0, list.length - limit);
|
|
21360
21353
|
const shown = list.slice(start2, start2 + limit);
|
|
21361
|
-
const width = Math.max(1, columns
|
|
21362
|
-
const
|
|
21363
|
-
|
|
21364
|
-
|
|
21365
|
-
|
|
21366
|
-
const chosen = row2.queued && row2.queuedIndex === selectedQueued;
|
|
21367
|
-
const lead = chosen || !selecting ? `${PENDING_POINTER} ` : " ";
|
|
21354
|
+
const width = Math.max(1, columns);
|
|
21355
|
+
const hint = held2 ? ` ${holdText(held2)}` : working && rows >= 16 ? `${QUEUED_HINT_LEAD} \xB7 ${SEND_NOW_HINT}` : null;
|
|
21356
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(Box_default, { flexDirection: "column", children: [
|
|
21357
|
+
shown.map((row2, index) => {
|
|
21358
|
+
const lead = `${PENDING_POINTER} `;
|
|
21368
21359
|
const files = attachmentSuffix(row2.item);
|
|
21369
21360
|
const text = previewText(row2.item.text) || (row2.item.attachmentCount ? "(attachment only)" : "(empty message)");
|
|
21370
21361
|
const room = Math.max(0, width - choiceDisplayWidth(lead));
|
|
21371
21362
|
const keep = Math.min(choiceDisplayWidth(text), 12) + choiceDisplayWidth(files);
|
|
21372
|
-
const suffixes = row2.item.command ? [QUEUED_COMMAND_SUFFIX, QUEUED_COMMAND_SHORT_SUFFIX] : [
|
|
21363
|
+
const suffixes = row2.item.command ? [QUEUED_COMMAND_SUFFIX, QUEUED_COMMAND_SHORT_SUFFIX] : [];
|
|
21373
21364
|
const tail2 = row2.queued ? suffixes.find((suffix) => room - keep >= choiceDisplayWidth(suffix)) ?? "" : "";
|
|
21374
21365
|
const shownFiles = truncateChoiceText(files, Math.max(0, room - choiceDisplayWidth(tail2)));
|
|
21375
21366
|
const shownText = truncateChoiceText(
|
|
@@ -21377,21 +21368,21 @@ function PendingInputPanel({
|
|
|
21377
21368
|
Math.max(0, room - choiceDisplayWidth(tail2) - choiceDisplayWidth(shownFiles))
|
|
21378
21369
|
);
|
|
21379
21370
|
const shownTail = tail2;
|
|
21380
|
-
const colour =
|
|
21371
|
+
const colour = theme.text.muted;
|
|
21381
21372
|
const tint = rowTints();
|
|
21382
|
-
const ground = tint === null ? {} : { backgroundColor:
|
|
21383
|
-
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(Text, { color: colour, wrap: "truncate-end", ...ground, children: [
|
|
21373
|
+
const ground = tint === null ? {} : { backgroundColor: tint.queued };
|
|
21374
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Box_default, { marginTop: index === 0 ? 0 : 1, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(Text, { color: colour, wrap: "truncate-end", ...ground, children: [
|
|
21384
21375
|
lead,
|
|
21385
21376
|
shownText,
|
|
21386
21377
|
shownFiles,
|
|
21387
21378
|
shownTail ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text, { dimColor: true, children: shownTail }) : null
|
|
21388
|
-
] }, row2.key);
|
|
21379
|
+
] }) }, row2.key);
|
|
21389
21380
|
}),
|
|
21390
21381
|
list.length > shown.length ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text, { color: theme.text.muted, dimColor: true, wrap: "truncate-end", children: truncateChoiceText(
|
|
21391
21382
|
` +${list.length - shown.length} more ${list.length - shown.length === 1 ? "message" : "messages"}`,
|
|
21392
21383
|
width
|
|
21393
21384
|
) }) : null,
|
|
21394
|
-
hint ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text, { color: theme.text.muted, dimColor: true, wrap: "truncate-end", children: truncateChoiceText(
|
|
21385
|
+
hint ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Text, { color: theme.text.muted, dimColor: true, wrap: "truncate-end", children: truncateChoiceText(hint, width) }) : null
|
|
21395
21386
|
] });
|
|
21396
21387
|
}
|
|
21397
21388
|
__name(PendingInputPanel, "PendingInputPanel");
|
|
@@ -26885,7 +26876,7 @@ function wrapHard(text, width) {
|
|
|
26885
26876
|
}
|
|
26886
26877
|
__name(wrapHard, "wrapHard");
|
|
26887
26878
|
function trustGrantLines(grants, columns) {
|
|
26888
|
-
if (!grants || grants.allowRules.length === 0 && grants.directories.length === 0 && grants.toolServers.length === 0 && grants.hooks.length === 0)
|
|
26879
|
+
if (!grants || grants.allowRules.length === 0 && grants.directories.length === 0 && grants.toolServers.length === 0 && grants.hooks.length === 0 && (grants.pluginRecords ?? []).length === 0 && (grants.marketplaces ?? []).length === 0)
|
|
26889
26880
|
return [];
|
|
26890
26881
|
const room = trustPathWidth(columns);
|
|
26891
26882
|
const lines4 = [];
|
|
@@ -26933,6 +26924,29 @@ function trustGrantLines(grants, columns) {
|
|
|
26933
26924
|
const more = grants.hooks.length - MAX_SHOWN_GRANT_RULES;
|
|
26934
26925
|
if (more > 0) lines4.push(` and ${more} more`);
|
|
26935
26926
|
}
|
|
26927
|
+
const records = grants.pluginRecords ?? [];
|
|
26928
|
+
if (records.length > 0) {
|
|
26929
|
+
lines4.push(`This folder's settings name ${countOf(records.length, "plugin", "plugins")}:`);
|
|
26930
|
+
for (const record3 of records.slice(0, MAX_SHOWN_GRANT_RULES)) {
|
|
26931
|
+
const state = !record3.on ? "turned off here" : record3.installed ? "installed on this computer" : "asked for here and not installed on this computer";
|
|
26932
|
+
lines4.push(...wrapHard(`${record3.id}: ${state}`, Math.max(1, room - 2)).map((l) => ` ${l}`));
|
|
26933
|
+
}
|
|
26934
|
+
const more = records.length - MAX_SHOWN_GRANT_RULES;
|
|
26935
|
+
if (more > 0) lines4.push(` and ${more} more`);
|
|
26936
|
+
}
|
|
26937
|
+
const declared = grants.marketplaces ?? [];
|
|
26938
|
+
if (declared.length > 0) {
|
|
26939
|
+
lines4.push(
|
|
26940
|
+
`This folder declares ${countOf(declared.length, "marketplace", "marketplaces")} (suggestions, none is added):`
|
|
26941
|
+
);
|
|
26942
|
+
for (const market of declared.slice(0, MAX_SHOWN_GRANT_RULES)) {
|
|
26943
|
+
lines4.push(
|
|
26944
|
+
...wrapHard(`${market.name}: ${market.from}`, Math.max(1, room - 2)).map((l) => ` ${l}`)
|
|
26945
|
+
);
|
|
26946
|
+
}
|
|
26947
|
+
const more = declared.length - MAX_SHOWN_GRANT_RULES;
|
|
26948
|
+
if (more > 0) lines4.push(` and ${more} more`);
|
|
26949
|
+
}
|
|
26936
26950
|
lines4.push(...wrapBalancedText(GRANTS_NOTICE, room));
|
|
26937
26951
|
return lines4;
|
|
26938
26952
|
}
|
|
@@ -27645,7 +27659,7 @@ import { utimes } from "node:fs/promises";
|
|
|
27645
27659
|
import { join as join14 } from "node:path";
|
|
27646
27660
|
|
|
27647
27661
|
// src/integrations/sessions/cleanup.ts
|
|
27648
|
-
import { readFileSync as
|
|
27662
|
+
import { readFileSync as readFileSync5, readdirSync as readdirSync2, writeFileSync as writeFileSync4 } from "node:fs";
|
|
27649
27663
|
import { lstat as lstat2, readdir, rm as rm3, stat as stat2 } from "node:fs/promises";
|
|
27650
27664
|
import { join as join13 } from "node:path";
|
|
27651
27665
|
var DEFAULT_CLEANUP_PERIOD_DAYS = 30;
|
|
@@ -27674,7 +27688,7 @@ function readCleanupPeriod(options = {}) {
|
|
|
27674
27688
|
__name(readCleanupPeriod, "readCleanupPeriod");
|
|
27675
27689
|
function readState2(path) {
|
|
27676
27690
|
try {
|
|
27677
|
-
const value = JSON.parse(
|
|
27691
|
+
const value = JSON.parse(readFileSync5(path, "utf8"));
|
|
27678
27692
|
if (typeof value !== "object" || value === null || Array.isArray(value)) return {};
|
|
27679
27693
|
const v = value;
|
|
27680
27694
|
return {
|
|
@@ -27710,7 +27724,7 @@ function scheduleBoundSessions(home) {
|
|
|
27710
27724
|
if (name.startsWith(".")) continue;
|
|
27711
27725
|
let text;
|
|
27712
27726
|
try {
|
|
27713
|
-
text =
|
|
27727
|
+
text = readFileSync5(join13(paths.jobs, name), "utf8");
|
|
27714
27728
|
} catch (error) {
|
|
27715
27729
|
if (error.code === "ENOENT") continue;
|
|
27716
27730
|
throw error;
|
|
@@ -28419,13 +28433,13 @@ async function fastModeVerdict(providerId, model, options = {}) {
|
|
|
28419
28433
|
if (tier === "ultrafast") {
|
|
28420
28434
|
return refuse("Ultrafast is not offered on Anthropic models. /fast turns on fast mode.");
|
|
28421
28435
|
}
|
|
28422
|
-
const { resolveFastModeVerdict: resolveFastModeVerdict2 } = await import("./dist-
|
|
28436
|
+
const { resolveFastModeVerdict: resolveFastModeVerdict2 } = await import("./dist-Z2HW2SJR.js");
|
|
28423
28437
|
const verdict2 = resolveFastModeVerdict2(model, now);
|
|
28424
28438
|
return verdict2.ok ? { ok: true, provider: "anthropic", tier: "fast", rate: { kind: "billing", multiplier: 2 } } : refuse(verdict2.reason);
|
|
28425
28439
|
}
|
|
28426
28440
|
if (!model) return refuse("Fast mode needs a model; pick one with /model.");
|
|
28427
28441
|
const otherHost = providerId === "openai" ? options.otherHost === void 0 ? openAIThirdPartyHost() ?? null : options.otherHost : null;
|
|
28428
|
-
const { resolveFastModeVerdict } = await import("./dist-
|
|
28442
|
+
const { resolveFastModeVerdict } = await import("./dist-PZYMYR7N.js");
|
|
28429
28443
|
const verdict = resolveFastModeVerdict({
|
|
28430
28444
|
route: providerId === "openai" ? "api" : "subscription",
|
|
28431
28445
|
model,
|
|
@@ -29786,7 +29800,7 @@ import { isAbsolute as isAbsolute4, relative as relative3, resolve as resolve4 }
|
|
|
29786
29800
|
|
|
29787
29801
|
// src/tui/schedule/loop-host.ts
|
|
29788
29802
|
import { randomBytes as randomBytes3 } from "node:crypto";
|
|
29789
|
-
import { readFileSync as
|
|
29803
|
+
import { readFileSync as readFileSync6 } from "node:fs";
|
|
29790
29804
|
var MAX_LOOPS = 20;
|
|
29791
29805
|
var LOOP_LIFETIME_MS = 7 * 24 * 60 * 60 * 1e3;
|
|
29792
29806
|
function loopSpec(interval, now) {
|
|
@@ -29818,7 +29832,7 @@ var SessionLoopScheduler = class {
|
|
|
29818
29832
|
this.#loops = [];
|
|
29819
29833
|
if (!file) return;
|
|
29820
29834
|
try {
|
|
29821
|
-
const parsed = JSON.parse(
|
|
29835
|
+
const parsed = JSON.parse(readFileSync6(file, "utf8"));
|
|
29822
29836
|
if (parsed.kind === "session-loops" && Array.isArray(parsed.loops)) {
|
|
29823
29837
|
const now = this.#now();
|
|
29824
29838
|
this.#loops = parsed.loops.filter(
|
|
@@ -30766,7 +30780,7 @@ async function prepareScheduledResume(input) {
|
|
|
30766
30780
|
__name(prepareScheduledResume, "prepareScheduledResume");
|
|
30767
30781
|
|
|
30768
30782
|
// src/tui/schedule/startup.ts
|
|
30769
|
-
import { readFileSync as
|
|
30783
|
+
import { readFileSync as readFileSync7 } from "node:fs";
|
|
30770
30784
|
import { join as join15 } from "node:path";
|
|
30771
30785
|
function ago(ms) {
|
|
30772
30786
|
if (ms < 36e5) return `${Math.max(1, Math.round(ms / 6e4))} min`;
|
|
@@ -30780,7 +30794,7 @@ function scheduleStartupLine(home, cwd, now = Date.now()) {
|
|
|
30780
30794
|
if (jobs.length === 0) return void 0;
|
|
30781
30795
|
let since = now - 24 * 36e5;
|
|
30782
30796
|
try {
|
|
30783
|
-
const seen = JSON.parse(
|
|
30797
|
+
const seen = JSON.parse(readFileSync7(paths.seen, "utf8"));
|
|
30784
30798
|
if (seen.lastSummaryAt) since = Date.parse(seen.lastSummaryAt);
|
|
30785
30799
|
} catch {
|
|
30786
30800
|
}
|
|
@@ -30841,7 +30855,7 @@ function scheduleStartupLine(home, cwd, now = Date.now()) {
|
|
|
30841
30855
|
);
|
|
30842
30856
|
} else if (manifest) {
|
|
30843
30857
|
try {
|
|
30844
|
-
const beat = JSON.parse(
|
|
30858
|
+
const beat = JSON.parse(readFileSync7(paths.heartbeat, "utf8"));
|
|
30845
30859
|
const age = beat.at ? now - Date.parse(beat.at) : Number.POSITIVE_INFINITY;
|
|
30846
30860
|
if (age > 9e4)
|
|
30847
30861
|
parts.push(
|
|
@@ -32120,7 +32134,7 @@ function setSkillSuggestions(on, opts = {}) {
|
|
|
32120
32134
|
__name(setSkillSuggestions, "setSkillSuggestions");
|
|
32121
32135
|
|
|
32122
32136
|
// src/tui/skills/suggestion-ledger.ts
|
|
32123
|
-
import { mkdirSync as mkdirSync5, readFileSync as
|
|
32137
|
+
import { mkdirSync as mkdirSync5, readFileSync as readFileSync8, renameSync as renameSync4, writeFileSync as writeFileSync5 } from "node:fs";
|
|
32124
32138
|
import { dirname as dirname2, join as join16 } from "node:path";
|
|
32125
32139
|
var SUGGESTION_IGNORE_LIMIT = 3;
|
|
32126
32140
|
var FRESH_LEDGER = { v: 1, unanswered: 0, stopped: false };
|
|
@@ -32130,7 +32144,7 @@ function suggestionLedgerPath(namzuHome) {
|
|
|
32130
32144
|
__name(suggestionLedgerPath, "suggestionLedgerPath");
|
|
32131
32145
|
function readSuggestionLedger(namzuHome) {
|
|
32132
32146
|
try {
|
|
32133
|
-
const raw = JSON.parse(
|
|
32147
|
+
const raw = JSON.parse(readFileSync8(suggestionLedgerPath(namzuHome), "utf8"));
|
|
32134
32148
|
const unanswered = typeof raw.unanswered === "number" && Number.isInteger(raw.unanswered) && raw.unanswered >= 0 ? raw.unanswered : 0;
|
|
32135
32149
|
return { v: 1, unanswered, stopped: raw.stopped === true };
|
|
32136
32150
|
} catch {
|
|
@@ -33185,7 +33199,7 @@ var EXIT_HINT_MS = 800;
|
|
|
33185
33199
|
|
|
33186
33200
|
// src/tui/extension-indicators.ts
|
|
33187
33201
|
var import_react23 = __toESM(require_react(), 1);
|
|
33188
|
-
import { existsSync as
|
|
33202
|
+
import { existsSync as existsSync4 } from "node:fs";
|
|
33189
33203
|
import { join as join17 } from "node:path";
|
|
33190
33204
|
function useExtensionIndicators() {
|
|
33191
33205
|
const [marks, setMarks] = (0, import_react23.useState)([]);
|
|
@@ -33194,7 +33208,7 @@ function useExtensionIndicators() {
|
|
|
33194
33208
|
let off;
|
|
33195
33209
|
let shared;
|
|
33196
33210
|
try {
|
|
33197
|
-
if (!
|
|
33211
|
+
if (!existsSync4(join17(namzuHomePath(), "extensions"))) return;
|
|
33198
33212
|
const host = sharedExtensionHost("cli");
|
|
33199
33213
|
shared = host;
|
|
33200
33214
|
const read = /* @__PURE__ */ __name(() => {
|
|
@@ -37238,12 +37252,6 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
37238
37252
|
);
|
|
37239
37253
|
if (line) pushMessage("system", line, false, CLOSING_GLYPH, void 0, tokenColor("text.muted"));
|
|
37240
37254
|
}, [subagents, workflowRuns, state, closingWaitVersion, pushMessage]);
|
|
37241
|
-
const [queueSelection, setQueueSelectionState] = (0, import_react30.useState)(null);
|
|
37242
|
-
const queueSelectionRef = (0, import_react30.useRef)(null);
|
|
37243
|
-
const setQueueSelection = (0, import_react30.useCallback)((next) => {
|
|
37244
|
-
queueSelectionRef.current = next;
|
|
37245
|
-
setQueueSelectionState(next);
|
|
37246
|
-
}, []);
|
|
37247
37255
|
const takeQueuedPrompt = (0, import_react30.useCallback)(
|
|
37248
37256
|
(index) => {
|
|
37249
37257
|
const pending = roundQueueRef.current.items();
|
|
@@ -37252,14 +37260,13 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
37252
37260
|
const remaining = [...pending.slice(0, index), ...pending.slice(index + 1)];
|
|
37253
37261
|
replaceQueued(remaining);
|
|
37254
37262
|
if (remaining.length === 0) setQueuePause(null);
|
|
37255
|
-
setQueueSelection(null);
|
|
37256
37263
|
return {
|
|
37257
37264
|
text: prompt.recallText ?? prompt.text,
|
|
37258
37265
|
...prompt.attachments ? { attachments: prompt.attachments } : {},
|
|
37259
37266
|
...prompt.triggers ? { triggers: prompt.triggers } : {}
|
|
37260
37267
|
};
|
|
37261
37268
|
},
|
|
37262
|
-
[replaceQueued, setQueuePause
|
|
37269
|
+
[replaceQueued, setQueuePause]
|
|
37263
37270
|
);
|
|
37264
37271
|
const recallQueuedPrompt = (0, import_react30.useCallback)(() => {
|
|
37265
37272
|
const pending = roundQueueRef.current.items();
|
|
@@ -37271,30 +37278,29 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
37271
37278
|
}
|
|
37272
37279
|
return takeQueuedPrompt(index);
|
|
37273
37280
|
}, [pushMessage, takeQueuedPrompt]);
|
|
37274
|
-
const
|
|
37275
|
-
(
|
|
37276
|
-
|
|
37277
|
-
|
|
37278
|
-
|
|
37279
|
-
|
|
37280
|
-
|
|
37281
|
-
|
|
37282
|
-
|
|
37283
|
-
|
|
37284
|
-
|
|
37285
|
-
|
|
37286
|
-
|
|
37287
|
-
|
|
37288
|
-
|
|
37289
|
-
);
|
|
37290
|
-
const
|
|
37291
|
-
const
|
|
37292
|
-
|
|
37293
|
-
|
|
37294
|
-
|
|
37295
|
-
|
|
37296
|
-
|
|
37297
|
-
}, [queued, setQueueSelection]);
|
|
37281
|
+
const takeAllPending = (0, import_react30.useCallback)(() => {
|
|
37282
|
+
const steers = activeTurnInboxRef.current?.withdraw() ?? [];
|
|
37283
|
+
const waiting2 = mergeUndeliveredLiveInput(roundQueueRef.current.items(), steers);
|
|
37284
|
+
const taken = waiting2.filter(isRecallableHumanPrompt);
|
|
37285
|
+
if (taken.length === 0) return null;
|
|
37286
|
+
const remaining = waiting2.filter((prompt) => !isRecallableHumanPrompt(prompt));
|
|
37287
|
+
replaceQueued(remaining);
|
|
37288
|
+
if (remaining.length === 0) setQueuePause(null);
|
|
37289
|
+
const attachments = taken.flatMap((prompt) => prompt.attachments ?? []);
|
|
37290
|
+
const triggers = [...new Set(taken.flatMap((prompt) => prompt.triggers ?? []))];
|
|
37291
|
+
return {
|
|
37292
|
+
text: taken.map((prompt) => prompt.recallText ?? prompt.text).join("\n"),
|
|
37293
|
+
...attachments.length > 0 ? { attachments } : {},
|
|
37294
|
+
...triggers.length > 0 ? { triggers } : {}
|
|
37295
|
+
};
|
|
37296
|
+
}, [replaceQueued, setQueuePause]);
|
|
37297
|
+
const takeAllPendingIntoBox = (0, import_react30.useCallback)(() => {
|
|
37298
|
+
const draft = takeAllPending();
|
|
37299
|
+
if (!draft) return false;
|
|
37300
|
+
composerDraftTokenRef.current += 1;
|
|
37301
|
+
setComposerDraft({ token: composerDraftTokenRef.current, ...draft });
|
|
37302
|
+
return true;
|
|
37303
|
+
}, [takeAllPending]);
|
|
37298
37304
|
const learningRef = (0, import_react30.useRef)({
|
|
37299
37305
|
generation: -1,
|
|
37300
37306
|
proposed: false,
|
|
@@ -38682,7 +38688,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
38682
38688
|
pushMessage("system", "Not changed.");
|
|
38683
38689
|
return;
|
|
38684
38690
|
}
|
|
38685
|
-
void import("./setting-cli-
|
|
38691
|
+
void import("./setting-cli-O4YWOIU5.js").then(({ planSettingChange }) => {
|
|
38686
38692
|
const plan = planSettingChange(picker.change.key, picker.change.text);
|
|
38687
38693
|
if (!plan.ok) {
|
|
38688
38694
|
pushMessage("system", plan.error);
|
|
@@ -40444,10 +40450,10 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
40444
40450
|
const progressId = pushMessage("system", "Reading spend\u2026");
|
|
40445
40451
|
try {
|
|
40446
40452
|
const [{ buildCostReport }, { renderSpend }, { systemClock: systemClock2 }, { resolveNamzuHome: resolveNamzuHome2 }] = await Promise.all([
|
|
40447
|
-
import("./cost-
|
|
40453
|
+
import("./cost-5YV27U7F.js"),
|
|
40448
40454
|
import("./render-QFCCPEEL.js"),
|
|
40449
40455
|
import("./day-CU5J7UAK.js"),
|
|
40450
|
-
import("./home-
|
|
40456
|
+
import("./home-I4FIB6FV.js")
|
|
40451
40457
|
]);
|
|
40452
40458
|
const report = await buildCostReport(days, {
|
|
40453
40459
|
home: resolveNamzuHome2(),
|
|
@@ -40473,7 +40479,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
|
|
|
40473
40479
|
doctorRunningRef.current = true;
|
|
40474
40480
|
const progressId = pushMessage("system", "Checking\u2026");
|
|
40475
40481
|
try {
|
|
40476
|
-
const { runLiveDoctor } = await import("./live-
|
|
40482
|
+
const { runLiveDoctor } = await import("./live-CWJ2NWUQ.js");
|
|
40477
40483
|
const { describePlainDoctor } = await import("./plain-report-U37TZYMU.js");
|
|
40478
40484
|
const report = await runLiveDoctor({
|
|
40479
40485
|
...ctxRef.current.telemetry ? { telemetry: ctxRef.current.telemetry } : {}
|
|
@@ -41943,7 +41949,7 @@ ${plain3(err)}`
|
|
|
41943
41949
|
const summary2 = buildPermissionSummary(review.text, {
|
|
41944
41950
|
cwd: ctxRef.current.cwd,
|
|
41945
41951
|
describeUiRef: /* @__PURE__ */ __name((ref) => reviewSessionRef.current?.describeComputerUseRef?.(ref), "describeUiRef"),
|
|
41946
|
-
fileExists: /* @__PURE__ */ __name((path) =>
|
|
41952
|
+
fileExists: /* @__PURE__ */ __name((path) => existsSync5(resolve9(ctxRef.current.cwd, path)), "fileExists"),
|
|
41947
41953
|
readText: /* @__PURE__ */ __name((path) => readReviewedFile(resolve9(ctxRef.current.cwd, path)), "readText"),
|
|
41948
41954
|
workflowLimits: resolveWorkflowLimits(ctxRef.current.workflow),
|
|
41949
41955
|
readWorkflowScript: /* @__PURE__ */ __name((path) => reviewSessionRef.current?.workflows?.readScript(path), "readWorkflowScript"),
|
|
@@ -43293,6 +43299,14 @@ ${jobLines2.map(([, line]) => `- ${line}`).join("\n")}`] : []
|
|
|
43293
43299
|
}
|
|
43294
43300
|
return delivered.map((input) => input.message);
|
|
43295
43301
|
},
|
|
43302
|
+
withdraw() {
|
|
43303
|
+
if (!inboxOpen || ac.signal.aborted || activeTurnInboxRef.current !== inbox) return [];
|
|
43304
|
+
const taken = inboxEntries.filter((input) => isRecallableHumanPrompt(input.prompt));
|
|
43305
|
+
if (taken.length === 0) return [];
|
|
43306
|
+
for (const input of taken) inboxEntries.splice(inboxEntries.indexOf(input), 1);
|
|
43307
|
+
setPendingSteers([...inboxEntries]);
|
|
43308
|
+
return taken;
|
|
43309
|
+
},
|
|
43296
43310
|
close() {
|
|
43297
43311
|
inboxOpen = false;
|
|
43298
43312
|
for (const wake of [...inputWaiters]) wake();
|
|
@@ -46452,7 +46466,7 @@ ${answered.context}` : promptText;
|
|
|
46452
46466
|
return;
|
|
46453
46467
|
}
|
|
46454
46468
|
case "config-setting": {
|
|
46455
|
-
void import("./setting-cli-
|
|
46469
|
+
void import("./setting-cli-O4YWOIU5.js").then((cli) => {
|
|
46456
46470
|
if (slash.text === void 0 && slash.clear !== true) {
|
|
46457
46471
|
try {
|
|
46458
46472
|
pushMessage("system", cli.describeSetting(slash.key));
|
|
@@ -48540,10 +48554,8 @@ ${answered.context}` : promptText;
|
|
|
48540
48554
|
void resumeActiveTurn({ explain: true });
|
|
48541
48555
|
return;
|
|
48542
48556
|
}
|
|
48543
|
-
if (key.escape &&
|
|
48544
|
-
setQueueSelection(null);
|
|
48557
|
+
if (key.escape && !vimOwnsEscapeRef.current && !composerHasDraft && !composerSearchingRef.current && takeAllPendingIntoBox())
|
|
48545
48558
|
return;
|
|
48546
|
-
}
|
|
48547
48559
|
if (key.escape && !vimOwnsEscapeRef.current && (abortRef.current || pendingModelSwitchRef.current)) {
|
|
48548
48560
|
interruptWithRow(true, { always: true });
|
|
48549
48561
|
return;
|
|
@@ -48879,7 +48891,6 @@ ${answered.context}` : promptText;
|
|
|
48879
48891
|
columns: Math.max(2, (terminal.columns ?? 80) - SCREEN_MARGIN),
|
|
48880
48892
|
rows: terminal.rows,
|
|
48881
48893
|
working: abortRef.current !== null,
|
|
48882
|
-
selectedQueued: queueSelection,
|
|
48883
48894
|
held: queuePause
|
|
48884
48895
|
}
|
|
48885
48896
|
) : null,
|
|
@@ -49180,11 +49191,8 @@ ${answered.context}` : promptText;
|
|
|
49180
49191
|
onRecallQueued: recallQueuedPrompt,
|
|
49181
49192
|
queuedHintCount,
|
|
49182
49193
|
queuedEdit: {
|
|
49183
|
-
available: queued.some(isRecallableHumanPrompt),
|
|
49184
|
-
|
|
49185
|
-
onMove: moveQueueSelection,
|
|
49186
|
-
onLoad: loadSelectedQueued,
|
|
49187
|
-
onLeave: /* @__PURE__ */ __name(() => setQueueSelection(null), "onLeave")
|
|
49194
|
+
available: queued.some(isRecallableHumanPrompt) || pendingSteers.some((input) => isRecallableHumanPrompt(input.prompt)),
|
|
49195
|
+
onTakeAll: takeAllPending
|
|
49188
49196
|
},
|
|
49189
49197
|
onSendNow: sendPendingNow,
|
|
49190
49198
|
onBackgroundCommand: backgroundRunningCommand,
|
|
@@ -49366,7 +49374,7 @@ __name(TranscriptFrame, "TranscriptFrame");
|
|
|
49366
49374
|
function hintForPhase(phase, state, hasDraft = false) {
|
|
49367
49375
|
if (phase === "probing") return "discovering providers\u2026";
|
|
49368
49376
|
if (phase === "unhealthy") return "esc or Ctrl+C exit";
|
|
49369
|
-
if (state !== "idle") return hasDraft ? "enter
|
|
49377
|
+
if (state !== "idle") return hasDraft ? "enter queue \xB7 tab after reply \xB7 esc interrupt" : "";
|
|
49370
49378
|
return "";
|
|
49371
49379
|
}
|
|
49372
49380
|
__name(hintForPhase, "hintForPhase");
|
|
@@ -49728,4 +49736,4 @@ export {
|
|
|
49728
49736
|
projectConversation,
|
|
49729
49737
|
App
|
|
49730
49738
|
};
|
|
49731
|
-
//# sourceMappingURL=chunk-
|
|
49739
|
+
//# sourceMappingURL=chunk-BZR5PIFF.js.map
|