@namzu/cli 58.0.0 → 60.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (663) hide show
  1. package/CHANGELOG.md +142 -0
  2. package/README.md +1 -1
  3. package/dist/bin-main.d.ts.map +1 -1
  4. package/dist/bin.js +1 -1
  5. package/dist/chunks/{acp-OZG7H75P.js → acp-QLIZHXKX.js} +210 -74
  6. package/dist/chunks/acp-QLIZHXKX.js.map +6 -0
  7. package/dist/chunks/{activity-command-ZROH53CS.js → activity-command-IVAID3QG.js} +14 -14
  8. package/dist/chunks/{add-DKSV5Y3C.js → add-W4VXIXR3.js} +26 -24
  9. package/dist/chunks/add-W4VXIXR3.js.map +6 -0
  10. package/dist/chunks/{agent-MSSMOEBP.js → agent-3VVUFK46.js} +54 -49
  11. package/dist/chunks/agent-session-TXDHPZJX.js +92 -0
  12. package/dist/chunks/{apply-at-exit-Z34ZOT4A.js → apply-at-exit-UW5DQZED.js} +7 -7
  13. package/dist/chunks/{archive-UMNSALTJ.js → archive-VGG3TNKD.js} +12 -12
  14. package/dist/chunks/{auth-2NEDWCS7.js → auth-XUAD35SY.js} +12 -12
  15. package/dist/chunks/{bin-main-2E6XD7MQ.js → bin-main-3A5QPUJN.js} +51 -23
  16. package/dist/chunks/bin-main-3A5QPUJN.js.map +6 -0
  17. package/dist/chunks/{binding-NAPEU62B.js → binding-743KPSRO.js} +3 -3
  18. package/dist/chunks/{browser-M7U6GZOY.js → browser-Y6PS3RBO.js} +7 -7
  19. package/dist/chunks/{chat-34SAREPI.js → chat-P3OKHK34.js} +17 -17
  20. package/dist/chunks/{chunk-3ZL6YBMT.js → chunk-24PN4KZ7.js} +8 -7
  21. package/dist/chunks/{chunk-3ZL6YBMT.js.map → chunk-24PN4KZ7.js.map} +1 -1
  22. package/dist/chunks/{chunk-2J2Z6S3V.js → chunk-2CP6CJXJ.js} +23 -23
  23. package/dist/chunks/{chunk-5NIQMCRF.js → chunk-2ED34AXP.js} +2 -2
  24. package/dist/chunks/{chunk-PYTTGYZS.js → chunk-2FP2UHZO.js} +3 -3
  25. package/dist/chunks/{chunk-27ICMJVV.js → chunk-2MEBOBOM.js} +3 -3
  26. package/dist/chunks/{chunk-HBGRWJU5.js → chunk-2P427DDU.js} +10 -10
  27. package/dist/chunks/{chunk-D42SQGEO.js → chunk-2PEIKBGP.js} +2 -2
  28. package/dist/chunks/{dist-5G52QS75.js → chunk-2X53RSPY.js} +160 -15
  29. package/dist/chunks/chunk-2X53RSPY.js.map +6 -0
  30. package/dist/chunks/{chunk-I5BNXO63.js → chunk-3533PAJJ.js} +2 -2
  31. package/dist/chunks/{chunk-HICZARAY.js → chunk-37S6BVTN.js} +2 -2
  32. package/dist/chunks/{chunk-EOLXS2ZV.js → chunk-3APHAS77.js} +25 -7
  33. package/dist/chunks/chunk-3APHAS77.js.map +6 -0
  34. package/dist/chunks/{chunk-XQZMTH3S.js → chunk-3JCHJOU3.js} +5 -5
  35. package/dist/chunks/{chunk-JFA2XPTW.js → chunk-3P5TQ3VZ.js} +5 -5
  36. package/dist/chunks/{chunk-ENNAZGUX.js → chunk-44V3FNMT.js} +3 -3
  37. package/dist/chunks/{chunk-UBGDYBSQ.js → chunk-4FMBST2N.js} +2 -2
  38. package/dist/chunks/{chunk-2PRVGX6U.js → chunk-4KRQ6EWL.js} +8 -8
  39. package/dist/chunks/{chunk-TAIC3PC2.js → chunk-4YUR4SIL.js} +3 -3
  40. package/dist/chunks/{chunk-KCBOIL5Q.js → chunk-52T26DYZ.js} +4 -4
  41. package/dist/chunks/chunk-5OYJXSMZ.js +34 -0
  42. package/dist/chunks/chunk-5OYJXSMZ.js.map +6 -0
  43. package/dist/chunks/{chunk-F6NUMURW.js → chunk-5Y455HIT.js} +3 -3
  44. package/dist/chunks/{chunk-6V4VYVRZ.js → chunk-6V6MRHZZ.js} +2 -2
  45. package/dist/chunks/{chunk-ESHAWCBR.js → chunk-7MC2ACNB.js} +166 -17
  46. package/dist/chunks/chunk-7MC2ACNB.js.map +6 -0
  47. package/dist/chunks/{chunk-NQYOMRPT.js → chunk-7PD3LHIR.js} +2 -2
  48. package/dist/chunks/{chunk-2QJNPJOC.js → chunk-7XLZPKOT.js} +2 -2
  49. package/dist/chunks/{chunk-RR7FS6SQ.js → chunk-ATL46ZCR.js} +48 -16
  50. package/dist/chunks/chunk-ATL46ZCR.js.map +6 -0
  51. package/dist/chunks/{chunk-5COLG33E.js → chunk-AXCSETAX.js} +163 -11
  52. package/dist/chunks/chunk-AXCSETAX.js.map +6 -0
  53. package/dist/chunks/{chunk-A5O5VTQM.js → chunk-BBBFPJV3.js} +3 -3
  54. package/dist/chunks/{chunk-MJJA277Z.js → chunk-BBBVDHRH.js} +3 -3
  55. package/dist/chunks/chunk-BJWJPQ66.js +130 -0
  56. package/dist/chunks/chunk-BJWJPQ66.js.map +6 -0
  57. package/dist/chunks/{chunk-NFTQDITK.js → chunk-CKMF72VE.js} +3 -3
  58. package/dist/chunks/{chunk-G7UGGWOR.js → chunk-CQNVNHRL.js} +25 -6
  59. package/dist/chunks/chunk-CQNVNHRL.js.map +6 -0
  60. package/dist/chunks/{chunk-66DFXMZG.js → chunk-D3OHAYMX.js} +5 -5
  61. package/dist/chunks/{chunk-URZPVSHV.js → chunk-D5ORLKON.js} +4 -4
  62. package/dist/chunks/{chunk-7DERK6IR.js → chunk-DFOULHWV.js} +3 -3
  63. package/dist/chunks/{chunk-7LCU5IKH.js → chunk-DHQJRU7E.js} +88 -90
  64. package/dist/chunks/chunk-DHQJRU7E.js.map +6 -0
  65. package/dist/chunks/{chunk-FJG7JN4W.js → chunk-DLMDCCO7.js} +2 -2
  66. package/dist/chunks/{chunk-OGEOUETU.js → chunk-E5GQTEDW.js} +3 -3
  67. package/dist/chunks/{chunk-JR6EFL7G.js → chunk-EGGO56FY.js} +2 -1
  68. package/dist/chunks/{chunk-GVLU2YM7.js → chunk-EN2E63G6.js} +6 -6
  69. package/dist/chunks/{chunk-TXMWKHYW.js → chunk-ESLOAQRL.js} +2 -2
  70. package/dist/chunks/{chunk-7BSLOLTU.js → chunk-EVJKQAZM.js} +2 -2
  71. package/dist/chunks/{chunk-CSO7BHDJ.js → chunk-EYF7VILP.js} +2 -2
  72. package/dist/chunks/{chunk-LRUY5C6H.js → chunk-F6YNTG3K.js} +429 -53
  73. package/dist/chunks/chunk-F6YNTG3K.js.map +6 -0
  74. package/dist/chunks/{chunk-7BXJPOEG.js → chunk-FISBMAF4.js} +4 -4
  75. package/dist/chunks/{chunk-ULFR2FWA.js → chunk-FOS5YJED.js} +2 -2
  76. package/dist/chunks/{chunk-K5VLCRHY.js → chunk-FQ3DUX7L.js} +2 -2
  77. package/dist/chunks/{chunk-7ROZ2N57.js → chunk-G4XSQIFF.js} +2 -2
  78. package/dist/chunks/{chunk-IH2JBJ6I.js → chunk-G52WH6JI.js} +4 -4
  79. package/dist/chunks/{chunk-NO3F3QQ3.js → chunk-GRCEOMSP.js} +13 -13
  80. package/dist/chunks/{chunk-Y3NC6RIL.js → chunk-GVHUHRGI.js} +4 -4
  81. package/dist/chunks/{chunk-HONSYTUC.js → chunk-HA46XY4I.js} +11 -5
  82. package/dist/chunks/chunk-HA46XY4I.js.map +6 -0
  83. package/dist/chunks/{chunk-KIWLK2WZ.js → chunk-HAIG4TLP.js} +6 -6
  84. package/dist/chunks/{chunk-OD2PMTXS.js → chunk-HNSJJXIO.js} +37 -14
  85. package/dist/chunks/chunk-HNSJJXIO.js.map +6 -0
  86. package/dist/chunks/{chunk-MJ32RCFZ.js → chunk-HT6A5LCI.js} +76 -17
  87. package/dist/chunks/chunk-HT6A5LCI.js.map +6 -0
  88. package/dist/chunks/{chunk-7NAHUZAR.js → chunk-IGZGAC75.js} +2 -2
  89. package/dist/chunks/{chunk-L5FCGDB7.js → chunk-IOTYZLY5.js} +6476 -2523
  90. package/dist/chunks/chunk-IOTYZLY5.js.map +6 -0
  91. package/dist/chunks/{chunk-MX3U5TBQ.js → chunk-ITFIXESL.js} +8 -4
  92. package/dist/chunks/chunk-ITFIXESL.js.map +6 -0
  93. package/dist/chunks/{chunk-JX6O7Y55.js → chunk-IXJ6A2XE.js} +3 -3
  94. package/dist/chunks/{chunk-4WLMPRGO.js → chunk-J2AH4QK4.js} +3 -3
  95. package/dist/chunks/{chunk-TL535OCL.js → chunk-JAPP6DFJ.js} +96 -51
  96. package/dist/chunks/chunk-JAPP6DFJ.js.map +6 -0
  97. package/dist/chunks/{list-4OJNF5N2.js → chunk-JARQ4I4Q.js} +87 -60
  98. package/dist/chunks/chunk-JARQ4I4Q.js.map +6 -0
  99. package/dist/chunks/chunk-JCK6FM7F.js +220 -0
  100. package/dist/chunks/chunk-JCK6FM7F.js.map +6 -0
  101. package/dist/chunks/{chunk-655EBPZH.js → chunk-JR66BLKY.js} +3 -3
  102. package/dist/chunks/{chunk-ADLNBLRA.js → chunk-K4APHATW.js} +2 -2
  103. package/dist/chunks/{chunk-CK47DTW6.js → chunk-KBIVQ5RH.js} +5 -5
  104. package/dist/chunks/{chunk-7MYLYFIV.js → chunk-L7DZ2QPD.js} +2 -2
  105. package/dist/chunks/{chunk-5564PCLT.js → chunk-LGUIDOA7.js} +13 -12
  106. package/dist/chunks/chunk-LGUIDOA7.js.map +6 -0
  107. package/dist/chunks/{chunk-WEPINZBQ.js → chunk-LONNSCMP.js} +2 -2
  108. package/dist/chunks/{chunk-U4DBETHR.js → chunk-LQFUO2RZ.js} +3919 -1315
  109. package/dist/chunks/chunk-LQFUO2RZ.js.map +6 -0
  110. package/dist/chunks/{chunk-TGLXWW5B.js → chunk-M4LHZRTX.js} +8 -4
  111. package/dist/chunks/{chunk-TGLXWW5B.js.map → chunk-M4LHZRTX.js.map} +1 -1
  112. package/dist/chunks/{chunk-J4GPHTRN.js → chunk-MN3CC4AF.js} +8 -8
  113. package/dist/chunks/{chunk-7EASTT3H.js → chunk-MXLAVYBS.js} +3 -3
  114. package/dist/chunks/{chunk-FZPIEOFR.js → chunk-NCPOOJD4.js} +3 -3
  115. package/dist/chunks/{chunk-MOY2OERC.js → chunk-NIHIVQJS.js} +57 -40
  116. package/dist/chunks/chunk-NIHIVQJS.js.map +6 -0
  117. package/dist/chunks/{chunk-K7ZQYJJE.js → chunk-OK3QKISP.js} +5 -5
  118. package/dist/chunks/{chunk-2GKFWJ3O.js → chunk-ONVEH4H7.js} +3 -3
  119. package/dist/chunks/{chunk-5GI7W4SM.js → chunk-OOIVZ5PA.js} +11 -10
  120. package/dist/chunks/{chunk-5GI7W4SM.js.map → chunk-OOIVZ5PA.js.map} +1 -1
  121. package/dist/chunks/{chunk-4YQJ262B.js → chunk-OTNW5ZO6.js} +2 -2
  122. package/dist/chunks/{chunk-4AWE33MD.js → chunk-OVJOSPJ5.js} +5 -3
  123. package/dist/chunks/{chunk-4AWE33MD.js.map → chunk-OVJOSPJ5.js.map} +1 -1
  124. package/dist/chunks/{chunk-5WS5Q2KW.js → chunk-P2PWTXHD.js} +3 -3
  125. package/dist/chunks/{chunk-32CPPPKX.js → chunk-PGD2EYI7.js} +3 -3
  126. package/dist/chunks/{chunk-BATWKQWV.js → chunk-PIUHVCR3.js} +2 -2
  127. package/dist/chunks/{chunk-OY3UN3KD.js → chunk-QFJ5IWYL.js} +86 -5
  128. package/dist/chunks/chunk-QFJ5IWYL.js.map +6 -0
  129. package/dist/chunks/{chunk-LM2OGSW5.js → chunk-QI6XNUH6.js} +4 -4
  130. package/dist/chunks/{chunk-2D5WW5KP.js → chunk-QUUDXDDL.js} +2 -2
  131. package/dist/chunks/{chunk-6ZWEKSAV.js → chunk-R2TBZK62.js} +8 -7
  132. package/dist/chunks/{chunk-RTMX7IDM.js → chunk-R6WB34IP.js} +2 -2
  133. package/dist/chunks/{chunk-S4OEUN6F.js → chunk-RE5EUO3F.js} +2 -2
  134. package/dist/chunks/{chunk-ZDMI3JSL.js → chunk-RYV4P5CO.js} +80 -5
  135. package/dist/chunks/chunk-RYV4P5CO.js.map +6 -0
  136. package/dist/chunks/{chunk-6RBEIDSC.js → chunk-S5GKG5GV.js} +3 -3
  137. package/dist/chunks/{chunk-JSY23B3Q.js → chunk-S6LFXBVK.js} +74 -18
  138. package/dist/chunks/chunk-S6LFXBVK.js.map +6 -0
  139. package/dist/chunks/{chunk-3SBROSVS.js → chunk-SNKDM7FT.js} +2 -2
  140. package/dist/chunks/{chunk-4RCXY7WO.js → chunk-SR4DQPOI.js} +3 -3
  141. package/dist/chunks/{chunk-TSU4F6DF.js → chunk-TFOFFJNY.js} +3 -3
  142. package/dist/chunks/{chunk-NBJ4OTXL.js → chunk-TN7MDKW2.js} +8 -8
  143. package/dist/chunks/{chunk-UXLQNJDR.js → chunk-TSHMH45O.js} +4 -4
  144. package/dist/chunks/{chunk-XWP64X6U.js → chunk-TYD5K7MT.js} +6 -6
  145. package/dist/chunks/{chunk-TJAUF5NX.js → chunk-UCDXXMAD.js} +3 -3
  146. package/dist/chunks/{chunk-UMPJ4VXN.js → chunk-UI3ELYQU.js} +4 -4
  147. package/dist/chunks/{chunk-52DZTN4C.js → chunk-ULJAPIOG.js} +3 -3
  148. package/dist/chunks/{chunk-DZA7UXA2.js → chunk-VJFBRQZ4.js} +2 -2
  149. package/dist/chunks/{chunk-O6EDUJ77.js → chunk-VUKFKBOO.js} +6 -6
  150. package/dist/chunks/{chunk-7NQLCFYX.js → chunk-WWMSEDXA.js} +51 -17
  151. package/dist/chunks/chunk-WWMSEDXA.js.map +6 -0
  152. package/dist/chunks/{chunk-DIBXZBOP.js → chunk-XAMOWP2G.js} +15 -15
  153. package/dist/chunks/{chunk-6MMKNZYL.js → chunk-XIBT7TAZ.js} +26 -13
  154. package/dist/chunks/chunk-XIBT7TAZ.js.map +6 -0
  155. package/dist/chunks/{chunk-YEWJVAM4.js → chunk-XLWFT4QC.js} +5 -5
  156. package/dist/chunks/{chunk-GLZJBFDO.js → chunk-XNALFKQ2.js} +21 -7
  157. package/dist/chunks/chunk-XNALFKQ2.js.map +6 -0
  158. package/dist/chunks/{chunk-774DAIPO.js → chunk-XS6GGF4E.js} +3009 -445
  159. package/dist/chunks/chunk-XS6GGF4E.js.map +6 -0
  160. package/dist/chunks/{chunk-HGOU2QRN.js → chunk-XVML5P53.js} +21 -20
  161. package/dist/chunks/{chunk-HGOU2QRN.js.map → chunk-XVML5P53.js.map} +1 -1
  162. package/dist/chunks/{chunk-L4LGUBYZ.js → chunk-YHFKTEU6.js} +2 -2
  163. package/dist/chunks/{chunk-IBENEKM4.js → chunk-YMVJOKBZ.js} +13 -2
  164. package/dist/chunks/{chunk-IBENEKM4.js.map → chunk-YMVJOKBZ.js.map} +1 -1
  165. package/dist/chunks/{chunk-HRKY4ARS.js → chunk-YWBOZNDX.js} +13 -11
  166. package/dist/chunks/chunk-YWBOZNDX.js.map +6 -0
  167. package/dist/chunks/{chunk-O6C4RETO.js → chunk-ZFEDNTIB.js} +3 -3
  168. package/dist/chunks/{chunk-SEVORRUA.js → chunk-ZHRBJT5B.js} +2 -2
  169. package/dist/chunks/{chunk-6QQVZXUE.js → chunk-ZPWWUTSR.js} +2 -2
  170. package/dist/chunks/{chunk-EFWF72V4.js → chunk-ZX5C2ELY.js} +3 -3
  171. package/dist/chunks/{chunk-P6RYPNSD.js → chunk-ZY7N242I.js} +4 -4
  172. package/dist/chunks/{cli-runtime-BLOWAO6Q.js → cli-runtime-SL6YG4EX.js} +23 -23
  173. package/dist/chunks/{commands-VWBRELWZ.js → commands-XRQOUFRE.js} +6 -6
  174. package/dist/chunks/{config-77NN5LSS.js → config-W3ABQG5K.js} +12 -12
  175. package/dist/chunks/{cost-IVLAFD5T.js → cost-ZKKW4JSZ.js} +5 -5
  176. package/dist/chunks/{crash-report-CA3Y7LA6.js → crash-report-Q2WAKIU5.js} +6 -6
  177. package/dist/chunks/{dist-ISRJEZRF.js → dist-IPR6EVQM.js} +2 -2
  178. package/dist/chunks/{dist-3SGAVJFN.js → dist-JY4FIVBZ.js} +10 -2
  179. package/dist/chunks/{dist-3SGAVJFN.js.map → dist-JY4FIVBZ.js.map} +1 -1
  180. package/dist/chunks/{dist-7BSYEFE5.js → dist-O2QP5QCU.js} +2 -2
  181. package/dist/chunks/{dist-AM6FWCIJ.js → dist-OXSKWJNB.js} +146 -2
  182. package/dist/chunks/dist-R4PUUPXV.js +52 -0
  183. package/dist/chunks/{dist-V43PPTPF.js → dist-VT4VSQTO.js} +2 -2
  184. package/dist/chunks/{dist-RDXEBTCL.js → dist-WI7EX7ZF.js} +2 -2
  185. package/dist/chunks/{dist-PBFZXU4L.js → dist-YE6ADUZP.js} +2 -2
  186. package/dist/chunks/{doctor-FGOCO7UR.js → doctor-EUH7WGN6.js} +41 -40
  187. package/dist/chunks/{drain-A3DLR5A4.js → drain-3DDY42KQ.js} +19 -18
  188. package/dist/chunks/{drain-A3DLR5A4.js.map → drain-3DDY42KQ.js.map} +1 -1
  189. package/dist/chunks/{entry-4LHTI3VQ.js → entry-FNHGVOQM.js} +6 -6
  190. package/dist/chunks/{eval-IYWGGPWF.js → eval-CFKAWR3B.js} +9 -9
  191. package/dist/chunks/{exec-HWK44ZYI.js → exec-BR6L3C3T.js} +115 -50
  192. package/dist/chunks/exec-BR6L3C3T.js.map +6 -0
  193. package/dist/chunks/{extension-BP7Q3PFK.js → extension-4VR722KH.js} +5 -5
  194. package/dist/chunks/{home-GR6YDAAE.js → home-JCDINY64.js} +3 -3
  195. package/dist/chunks/homes-53P37RPB.js +24 -0
  196. package/dist/chunks/{hooks-KSSNBDF2.js → hooks-6EV4IEHU.js} +21 -21
  197. package/dist/chunks/{hooks-report-H4JAHJXE.js → hooks-report-OK5PIOSF.js} +17 -17
  198. package/dist/chunks/{host-ISKJDJ7B.js → host-KF63UW3T.js} +10 -10
  199. package/dist/chunks/host-queries-5ZWYD4VD.js +37 -0
  200. package/dist/chunks/{installed-list-GPVOP4E3.js → installed-list-QLVA6XBV.js} +4 -4
  201. package/dist/chunks/{learn-AFNJQGOU.js → learn-XNVRCNGV.js} +17 -17
  202. package/dist/chunks/{learn-builtin-LUD6XO6W.js → learn-builtin-XABWBGRU.js} +22 -21
  203. package/dist/chunks/{learn-builtin-LUD6XO6W.js.map → learn-builtin-XABWBGRU.js.map} +1 -1
  204. package/dist/chunks/{lifecycle-TCRMEVJP.js → lifecycle-K7REDQBN.js} +33 -32
  205. package/dist/chunks/list-US5UDLON.js +56 -0
  206. package/dist/chunks/{live-LJ76XHPK.js → live-DNA4UB2B.js} +40 -39
  207. package/dist/chunks/{load-2ERMTCD4.js → load-2WCYASMC.js} +9 -9
  208. package/dist/chunks/{logs-DV6GC7PT.js → logs-ZF7YJNOC.js} +5 -5
  209. package/dist/chunks/{mcp-5VV24FGZ.js → mcp-FBJXQJ6I.js} +21 -21
  210. package/dist/chunks/{mcp-serve-TT4Q7V55.js → mcp-serve-TTZ33VMY.js} +18 -18
  211. package/dist/chunks/{message-command-6RHBI3R4.js → message-command-FMT4APFA.js} +58 -55
  212. package/dist/chunks/message-command-FMT4APFA.js.map +6 -0
  213. package/dist/chunks/{open-3VUS3XWX.js → open-I4YKGQSW.js} +7 -7
  214. package/dist/chunks/{operator-tools-BZ5X5ZDE.js → operator-tools-FC5JFH42.js} +15 -15
  215. package/dist/chunks/{output-schema-2GHHC5ZZ.js → output-schema-KMYL2UB6.js} +3 -3
  216. package/dist/chunks/{pal-TT7X5JF3.js → pal-UZFR42OY.js} +15 -15
  217. package/dist/chunks/{peers-SLFOET3O.js → peers-NM5HJGSR.js} +7 -7
  218. package/dist/chunks/{peers-SJFCJTA6.js → peers-V7XCJUFZ.js} +85 -33
  219. package/dist/chunks/peers-V7XCJUFZ.js.map +6 -0
  220. package/dist/chunks/{plugin-I35EQ4CC.js → plugin-UEPWXCB4.js} +18 -17
  221. package/dist/chunks/plugin-UEPWXCB4.js.map +6 -0
  222. package/dist/chunks/{providers-MX47EUPL.js → providers-BQ25F6LA.js} +17 -17
  223. package/dist/chunks/{providers-SOFGNZ4F.js → providers-VS37WA3E.js} +10 -10
  224. package/dist/chunks/{pty-3T7AE7ZA.js → pty-NWEV3DSP.js} +3 -3
  225. package/dist/chunks/resume-Y7P3TAVG.js +25 -0
  226. package/dist/chunks/{resume-command-H4FOREZO.js → resume-command-KEXAVL6P.js} +5 -5
  227. package/dist/chunks/{running-NONPWC5C.js → running-JLMG6IL4.js} +4 -4
  228. package/dist/chunks/{schedule-BWR4NKGX.js → schedule-6ERJJOA3.js} +75 -33
  229. package/dist/chunks/schedule-6ERJJOA3.js.map +6 -0
  230. package/dist/chunks/{send-H27WTBLZ.js → send-UXJ7GXKN.js} +19 -18
  231. package/dist/chunks/send-person-DLJU45IU.js +32 -0
  232. package/dist/chunks/{service-NVOIN2MV.js → service-NYJZCLH2.js} +457 -80
  233. package/dist/chunks/service-NYJZCLH2.js.map +6 -0
  234. package/dist/chunks/{setting-cli-ETVPDSRA.js → setting-cli-ILFKSR4D.js} +12 -12
  235. package/dist/chunks/{skills-XAONTP56.js → skills-4HM2LPS4.js} +26 -25
  236. package/dist/chunks/skills-4HM2LPS4.js.map +6 -0
  237. package/dist/chunks/{start-check-A5FG7224.js → start-check-7GBRCGVJ.js} +2 -2
  238. package/dist/chunks/{startup-failure-6MZNIJXI.js → startup-failure-UA32GGJB.js} +2 -2
  239. package/dist/chunks/{state-MVYWWBAA.js → state-SSRHEX5K.js} +25 -23
  240. package/dist/chunks/state-SSRHEX5K.js.map +6 -0
  241. package/dist/chunks/{store-5K5HIPUT.js → store-2GFZ5XXW.js} +12 -12
  242. package/dist/chunks/{store-4PPSKMYT.js → store-MP5EB266.js} +3 -3
  243. package/dist/chunks/store-MP5EB266.js.map +6 -0
  244. package/dist/chunks/{store-UPAOLS5B.js → store-ROR7VTZ2.js} +8 -8
  245. package/dist/chunks/store-ROR7VTZ2.js.map +6 -0
  246. package/dist/chunks/{store-6WG6CRWK.js → store-WRRTTRBT.js} +12 -4
  247. package/dist/chunks/store-WRRTTRBT.js.map +6 -0
  248. package/dist/chunks/{tui-MRMMX2TV.js → tui-2JTNW2G7.js} +98 -92
  249. package/dist/chunks/tui-2JTNW2G7.js.map +6 -0
  250. package/dist/chunks/{update-RMHLR4LI.js → update-32IRH5TG.js} +8 -8
  251. package/dist/chunks/{watch-3QQJ4XHX.js → watch-PXPP5QXP.js} +102 -96
  252. package/dist/chunks/watch-PXPP5QXP.js.map +6 -0
  253. package/dist/chunks/{workspaces-HEA2VNIH.js → workspaces-4YXZSENL.js} +15 -15
  254. package/dist/chunks/{worktree-NAVT42R4.js → worktree-DJHBLFHZ.js} +21 -21
  255. package/dist/cli.d.ts.map +1 -1
  256. package/dist/commands/acp-desktop-question.d.ts +10 -7
  257. package/dist/commands/acp-desktop-question.d.ts.map +1 -1
  258. package/dist/commands/acp-screen-question.d.ts +6 -1
  259. package/dist/commands/acp-screen-question.d.ts.map +1 -1
  260. package/dist/commands/acp.d.ts +7 -0
  261. package/dist/commands/acp.d.ts.map +1 -1
  262. package/dist/commands/actions/schedule.d.ts.map +1 -1
  263. package/dist/commands/desktop-host.d.ts +3 -0
  264. package/dist/commands/desktop-host.d.ts.map +1 -1
  265. package/dist/commands/drain.d.ts.map +1 -1
  266. package/dist/commands/exec-json.d.ts.map +1 -1
  267. package/dist/commands/exec.d.ts.map +1 -1
  268. package/dist/commands/launch-extras.d.ts +1 -0
  269. package/dist/commands/launch-extras.d.ts.map +1 -1
  270. package/dist/commands/learn-builtin.d.ts.map +1 -1
  271. package/dist/commands/peers.d.ts +9 -1
  272. package/dist/commands/peers.d.ts.map +1 -1
  273. package/dist/commands/permission-preview.d.ts +2 -0
  274. package/dist/commands/permission-preview.d.ts.map +1 -1
  275. package/dist/commands/schedule.d.ts.map +1 -1
  276. package/dist/config/hook-common-shape.d.ts.map +1 -1
  277. package/dist/config/hooks-report.d.ts.map +1 -1
  278. package/dist/config/load.d.ts +3 -0
  279. package/dist/config/load.d.ts.map +1 -1
  280. package/dist/config/schema.d.ts +80 -0
  281. package/dist/config/schema.d.ts.map +1 -1
  282. package/dist/config/session-options.d.ts +1 -1
  283. package/dist/config/session-options.d.ts.map +1 -1
  284. package/dist/config/settings-descriptors.d.ts.map +1 -1
  285. package/dist/config/skill-hooks-reader.d.ts.map +1 -1
  286. package/dist/context/environment.d.ts +9 -0
  287. package/dist/context/environment.d.ts.map +1 -1
  288. package/dist/exit-process.d.ts +3 -0
  289. package/dist/exit-process.d.ts.map +1 -0
  290. package/dist/flush-stdio.d.ts +8 -0
  291. package/dist/flush-stdio.d.ts.map +1 -0
  292. package/dist/index.js +41 -40
  293. package/dist/integrations/decision/routing.d.ts +8 -0
  294. package/dist/integrations/decision/routing.d.ts.map +1 -1
  295. package/dist/integrations/extensions/host.d.ts.map +1 -1
  296. package/dist/integrations/extensions/query.d.ts +10 -0
  297. package/dist/integrations/extensions/query.d.ts.map +1 -1
  298. package/dist/integrations/extensions/supervisor.d.ts +14 -0
  299. package/dist/integrations/extensions/supervisor.d.ts.map +1 -1
  300. package/dist/integrations/images/generate-image.d.ts +47 -0
  301. package/dist/integrations/images/generate-image.d.ts.map +1 -0
  302. package/dist/integrations/images/image-access.d.ts +20 -0
  303. package/dist/integrations/images/image-access.d.ts.map +1 -0
  304. package/dist/integrations/mcp/servers.d.ts +36 -1
  305. package/dist/integrations/mcp/servers.d.ts.map +1 -1
  306. package/dist/integrations/network/computer-secret.d.ts +11 -0
  307. package/dist/integrations/network/computer-secret.d.ts.map +1 -0
  308. package/dist/integrations/network/format.d.ts +13 -9
  309. package/dist/integrations/network/format.d.ts.map +1 -1
  310. package/dist/integrations/network/policy.d.ts.map +1 -1
  311. package/dist/integrations/network/runtime.d.ts +2 -0
  312. package/dist/integrations/network/runtime.d.ts.map +1 -1
  313. package/dist/integrations/network/session-list.d.ts +77 -0
  314. package/dist/integrations/network/session-list.d.ts.map +1 -0
  315. package/dist/integrations/network/types.d.ts +3 -1
  316. package/dist/integrations/network/types.d.ts.map +1 -1
  317. package/dist/integrations/peers/runtime.d.ts +1 -0
  318. package/dist/integrations/peers/runtime.d.ts.map +1 -1
  319. package/dist/integrations/peers/send-once.d.ts +14 -3
  320. package/dist/integrations/peers/send-once.d.ts.map +1 -1
  321. package/dist/integrations/plugins/lifecycle-events.d.ts +10 -0
  322. package/dist/integrations/plugins/lifecycle-events.d.ts.map +1 -1
  323. package/dist/integrations/providers/harness-credentials.d.ts +5 -0
  324. package/dist/integrations/providers/harness-credentials.d.ts.map +1 -1
  325. package/dist/integrations/state/purge.d.ts.map +1 -1
  326. package/dist/integrations/subagents/activity.d.ts +20 -1
  327. package/dist/integrations/subagents/activity.d.ts.map +1 -1
  328. package/dist/integrations/subagents/agent-hooks.d.ts.map +1 -1
  329. package/dist/integrations/subagents/agent-names.d.ts +10 -6
  330. package/dist/integrations/subagents/agent-names.d.ts.map +1 -1
  331. package/dist/integrations/subagents/definitions.d.ts +8 -0
  332. package/dist/integrations/subagents/definitions.d.ts.map +1 -1
  333. package/dist/integrations/subagents/runtime.d.ts +41 -1
  334. package/dist/integrations/subagents/runtime.d.ts.map +1 -1
  335. package/dist/integrations/teams/colors.d.ts +31 -0
  336. package/dist/integrations/teams/colors.d.ts.map +1 -0
  337. package/dist/integrations/teams/enabled.d.ts +44 -0
  338. package/dist/integrations/teams/enabled.d.ts.map +1 -0
  339. package/dist/integrations/teams/host.d.ts +15 -0
  340. package/dist/integrations/teams/host.d.ts.map +1 -0
  341. package/dist/integrations/teams/runner.d.ts +278 -0
  342. package/dist/integrations/teams/runner.d.ts.map +1 -0
  343. package/dist/integrations/teams/view.d.ts +62 -0
  344. package/dist/integrations/teams/view.d.ts.map +1 -0
  345. package/dist/pals/agent-session.d.ts.map +1 -1
  346. package/dist/pals/dispatch.d.ts.map +1 -1
  347. package/dist/reminders/skills.d.ts.map +1 -1
  348. package/dist/schedule/commands/list.d.ts.map +1 -1
  349. package/dist/schedule/commands/service.d.ts +8 -0
  350. package/dist/schedule/commands/service.d.ts.map +1 -1
  351. package/dist/schedule/fire/fire.d.ts.map +1 -1
  352. package/dist/schedule/folder.d.ts +8 -1
  353. package/dist/schedule/folder.d.ts.map +1 -1
  354. package/dist/schedule/policy.d.ts.map +1 -1
  355. package/dist/schedule/service/homes.d.ts +56 -0
  356. package/dist/schedule/service/homes.d.ts.map +1 -0
  357. package/dist/schedule/service/move.d.ts +48 -0
  358. package/dist/schedule/service/move.d.ts.map +1 -0
  359. package/dist/schedule/service/names.d.ts +2 -1
  360. package/dist/schedule/service/names.d.ts.map +1 -1
  361. package/dist/schedule/service/registry.d.ts +6 -0
  362. package/dist/schedule/service/registry.d.ts.map +1 -1
  363. package/dist/schedule/service/target.d.ts +3 -1
  364. package/dist/schedule/service/target.d.ts.map +1 -1
  365. package/dist/skills/catalog.d.ts +21 -1
  366. package/dist/skills/catalog.d.ts.map +1 -1
  367. package/dist/skills/directory.d.ts.map +1 -1
  368. package/dist/skills/installed-list.d.ts +1 -1
  369. package/dist/skills/installed-list.d.ts.map +1 -1
  370. package/dist/skills/overrides.d.ts +56 -0
  371. package/dist/skills/overrides.d.ts.map +1 -0
  372. package/dist/skills/retired.d.ts +19 -0
  373. package/dist/skills/retired.d.ts.map +1 -0
  374. package/dist/skills/save-card.d.ts +42 -0
  375. package/dist/skills/save-card.d.ts.map +1 -0
  376. package/dist/skills/save.d.ts +12 -7
  377. package/dist/skills/save.d.ts.map +1 -1
  378. package/dist/skills/skill-hooks.d.ts +2 -2
  379. package/dist/skills/skill-hooks.d.ts.map +1 -1
  380. package/dist/skills/skill-shell.d.ts +99 -0
  381. package/dist/skills/skill-shell.d.ts.map +1 -0
  382. package/dist/skills/store.d.ts +27 -3
  383. package/dist/skills/store.d.ts.map +1 -1
  384. package/dist/skills/typed-command-load.d.ts +45 -0
  385. package/dist/skills/typed-command-load.d.ts.map +1 -0
  386. package/dist/skills/usage.d.ts +54 -0
  387. package/dist/skills/usage.d.ts.map +1 -0
  388. package/dist/tui/AgentExplorer.d.ts +73 -8
  389. package/dist/tui/AgentExplorer.d.ts.map +1 -1
  390. package/dist/tui/App.d.ts +10 -15
  391. package/dist/tui/App.d.ts.map +1 -1
  392. package/dist/tui/Checklist.d.ts +12 -0
  393. package/dist/tui/Checklist.d.ts.map +1 -1
  394. package/dist/tui/Composer.d.ts +6 -1
  395. package/dist/tui/Composer.d.ts.map +1 -1
  396. package/dist/tui/CopyPicker.d.ts +1 -3
  397. package/dist/tui/CopyPicker.d.ts.map +1 -1
  398. package/dist/tui/Markdown.d.ts +7 -1
  399. package/dist/tui/Markdown.d.ts.map +1 -1
  400. package/dist/tui/PermissionOverlay.d.ts +8 -1
  401. package/dist/tui/PermissionOverlay.d.ts.map +1 -1
  402. package/dist/tui/PluginScreen.d.ts +17 -0
  403. package/dist/tui/PluginScreen.d.ts.map +1 -0
  404. package/dist/tui/SaveSkillOverlay.d.ts +8 -0
  405. package/dist/tui/SaveSkillOverlay.d.ts.map +1 -1
  406. package/dist/tui/ScheduleReviewOverlay.d.ts +2 -0
  407. package/dist/tui/ScheduleReviewOverlay.d.ts.map +1 -1
  408. package/dist/tui/SkillsManager.d.ts +9 -0
  409. package/dist/tui/SkillsManager.d.ts.map +1 -0
  410. package/dist/tui/TaskList.d.ts +6 -2
  411. package/dist/tui/TaskList.d.ts.map +1 -1
  412. package/dist/tui/Transcript.d.ts.map +1 -1
  413. package/dist/tui/agent-transcript-rows.d.ts +4 -0
  414. package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
  415. package/dist/tui/agent.d.ts +92 -3
  416. package/dist/tui/agent.d.ts.map +1 -1
  417. package/dist/tui/box-rows.d.ts +35 -0
  418. package/dist/tui/box-rows.d.ts.map +1 -0
  419. package/dist/tui/computer-use-screen-approval.d.ts +18 -0
  420. package/dist/tui/computer-use-screen-approval.d.ts.map +1 -1
  421. package/dist/tui/copy-targets.d.ts +0 -13
  422. package/dist/tui/copy-targets.d.ts.map +1 -1
  423. package/dist/tui/generated-image-rows.d.ts +12 -0
  424. package/dist/tui/generated-image-rows.d.ts.map +1 -0
  425. package/dist/tui/markdown-wrap.d.ts +4 -0
  426. package/dist/tui/markdown-wrap.d.ts.map +1 -1
  427. package/dist/tui/permission-asks.d.ts +7 -0
  428. package/dist/tui/permission-asks.d.ts.map +1 -1
  429. package/dist/tui/permission-review.d.ts.map +1 -1
  430. package/dist/tui/plugin-screen.d.ts +243 -0
  431. package/dist/tui/plugin-screen.d.ts.map +1 -0
  432. package/dist/tui/plugin-view.d.ts +4 -0
  433. package/dist/tui/plugin-view.d.ts.map +1 -1
  434. package/dist/tui/resize-settle.d.ts +26 -0
  435. package/dist/tui/resize-settle.d.ts.map +1 -0
  436. package/dist/tui/restored-rows.d.ts +5 -1
  437. package/dist/tui/restored-rows.d.ts.map +1 -1
  438. package/dist/tui/schedule/host-commands.d.ts.map +1 -1
  439. package/dist/tui/shell-expansion-slot.d.ts +30 -0
  440. package/dist/tui/shell-expansion-slot.d.ts.map +1 -0
  441. package/dist/tui/skills/suggest-setting.d.ts +3 -3
  442. package/dist/tui/skills-manager.d.ts +145 -0
  443. package/dist/tui/skills-manager.d.ts.map +1 -0
  444. package/dist/tui/slashCommands.d.ts +9 -6
  445. package/dist/tui/slashCommands.d.ts.map +1 -1
  446. package/dist/tui/team-rows.d.ts +98 -0
  447. package/dist/tui/team-rows.d.ts.map +1 -0
  448. package/dist/tui/team-view.d.ts +169 -0
  449. package/dist/tui/team-view.d.ts.map +1 -0
  450. package/dist/tui/tidy-tool-output.d.ts.map +1 -1
  451. package/dist/tui/tool-end-rows.d.ts +1 -2
  452. package/dist/tui/tool-end-rows.d.ts.map +1 -1
  453. package/dist/tui/types.d.ts +24 -1
  454. package/dist/tui/types.d.ts.map +1 -1
  455. package/dist/user-commands/mcp-skill-commands.d.ts +21 -0
  456. package/dist/user-commands/mcp-skill-commands.d.ts.map +1 -0
  457. package/dist/user-commands/store.d.ts +24 -0
  458. package/dist/user-commands/store.d.ts.map +1 -1
  459. package/package.json +5 -5
  460. package/skills/README.md +14 -3
  461. package/skills/batch/SKILL.md +53 -0
  462. package/skills/commit/SKILL.md +46 -0
  463. package/skills/debug/SKILL.md +47 -0
  464. package/skills/deep-research/SKILL.md +102 -0
  465. package/skills/document/SKILL.md +20 -9
  466. package/skills/fewer-permission-prompts/SKILL.md +58 -0
  467. package/skills/pdf/SKILL.md +93 -0
  468. package/skills/pr/SKILL.md +50 -0
  469. package/skills/review-changes/SKILL.md +1 -1
  470. package/skills/run/SKILL.md +179 -0
  471. package/skills/run-skill-generator/SKILL.md +144 -0
  472. package/skills/security-review/SKILL.md +48 -0
  473. package/skills/simplify/SKILL.md +52 -0
  474. package/skills/skill-creator/SKILL.md +15 -6
  475. package/skills/update-config/SKILL.md +75 -0
  476. package/dist/chunks/acp-OZG7H75P.js.map +0 -6
  477. package/dist/chunks/add-DKSV5Y3C.js.map +0 -6
  478. package/dist/chunks/agent-session-VCB6HX3E.js +0 -89
  479. package/dist/chunks/bin-main-2E6XD7MQ.js.map +0 -6
  480. package/dist/chunks/chunk-5564PCLT.js.map +0 -6
  481. package/dist/chunks/chunk-5COLG33E.js.map +0 -6
  482. package/dist/chunks/chunk-6A4RDHHY.js +0 -10
  483. package/dist/chunks/chunk-6A4RDHHY.js.map +0 -6
  484. package/dist/chunks/chunk-6MMKNZYL.js.map +0 -6
  485. package/dist/chunks/chunk-774DAIPO.js.map +0 -6
  486. package/dist/chunks/chunk-7LCU5IKH.js.map +0 -6
  487. package/dist/chunks/chunk-7NQLCFYX.js.map +0 -6
  488. package/dist/chunks/chunk-EOLXS2ZV.js.map +0 -6
  489. package/dist/chunks/chunk-ESHAWCBR.js.map +0 -6
  490. package/dist/chunks/chunk-G7UGGWOR.js.map +0 -6
  491. package/dist/chunks/chunk-GLZJBFDO.js.map +0 -6
  492. package/dist/chunks/chunk-HONSYTUC.js.map +0 -6
  493. package/dist/chunks/chunk-HRKY4ARS.js.map +0 -6
  494. package/dist/chunks/chunk-JSY23B3Q.js.map +0 -6
  495. package/dist/chunks/chunk-L5FCGDB7.js.map +0 -6
  496. package/dist/chunks/chunk-LRUY5C6H.js.map +0 -6
  497. package/dist/chunks/chunk-MJ32RCFZ.js.map +0 -6
  498. package/dist/chunks/chunk-MOY2OERC.js.map +0 -6
  499. package/dist/chunks/chunk-MX3U5TBQ.js.map +0 -6
  500. package/dist/chunks/chunk-OD2PMTXS.js.map +0 -6
  501. package/dist/chunks/chunk-OY3UN3KD.js.map +0 -6
  502. package/dist/chunks/chunk-RR7FS6SQ.js.map +0 -6
  503. package/dist/chunks/chunk-TL535OCL.js.map +0 -6
  504. package/dist/chunks/chunk-U4DBETHR.js.map +0 -6
  505. package/dist/chunks/chunk-ZDMI3JSL.js.map +0 -6
  506. package/dist/chunks/dist-5G52QS75.js.map +0 -6
  507. package/dist/chunks/exec-HWK44ZYI.js.map +0 -6
  508. package/dist/chunks/host-queries-CUG75GYD.js +0 -37
  509. package/dist/chunks/list-4OJNF5N2.js.map +0 -6
  510. package/dist/chunks/message-command-6RHBI3R4.js.map +0 -6
  511. package/dist/chunks/peers-SJFCJTA6.js.map +0 -6
  512. package/dist/chunks/plugin-I35EQ4CC.js.map +0 -6
  513. package/dist/chunks/resume-5JACRBQO.js +0 -25
  514. package/dist/chunks/schedule-BWR4NKGX.js.map +0 -6
  515. package/dist/chunks/send-person-NNGL2U4H.js +0 -31
  516. package/dist/chunks/service-NVOIN2MV.js.map +0 -6
  517. package/dist/chunks/skills-XAONTP56.js.map +0 -6
  518. package/dist/chunks/state-MVYWWBAA.js.map +0 -6
  519. package/dist/chunks/tui-MRMMX2TV.js.map +0 -6
  520. package/dist/chunks/watch-3QQJ4XHX.js.map +0 -6
  521. package/skills/verify-change/SKILL.md +0 -64
  522. /package/dist/chunks/{activity-command-ZROH53CS.js.map → activity-command-IVAID3QG.js.map} +0 -0
  523. /package/dist/chunks/{agent-MSSMOEBP.js.map → agent-3VVUFK46.js.map} +0 -0
  524. /package/dist/chunks/{agent-session-VCB6HX3E.js.map → agent-session-TXDHPZJX.js.map} +0 -0
  525. /package/dist/chunks/{apply-at-exit-Z34ZOT4A.js.map → apply-at-exit-UW5DQZED.js.map} +0 -0
  526. /package/dist/chunks/{archive-UMNSALTJ.js.map → archive-VGG3TNKD.js.map} +0 -0
  527. /package/dist/chunks/{auth-2NEDWCS7.js.map → auth-XUAD35SY.js.map} +0 -0
  528. /package/dist/chunks/{binding-NAPEU62B.js.map → binding-743KPSRO.js.map} +0 -0
  529. /package/dist/chunks/{browser-M7U6GZOY.js.map → browser-Y6PS3RBO.js.map} +0 -0
  530. /package/dist/chunks/{chat-34SAREPI.js.map → chat-P3OKHK34.js.map} +0 -0
  531. /package/dist/chunks/{chunk-2J2Z6S3V.js.map → chunk-2CP6CJXJ.js.map} +0 -0
  532. /package/dist/chunks/{chunk-5NIQMCRF.js.map → chunk-2ED34AXP.js.map} +0 -0
  533. /package/dist/chunks/{chunk-PYTTGYZS.js.map → chunk-2FP2UHZO.js.map} +0 -0
  534. /package/dist/chunks/{chunk-27ICMJVV.js.map → chunk-2MEBOBOM.js.map} +0 -0
  535. /package/dist/chunks/{chunk-HBGRWJU5.js.map → chunk-2P427DDU.js.map} +0 -0
  536. /package/dist/chunks/{chunk-D42SQGEO.js.map → chunk-2PEIKBGP.js.map} +0 -0
  537. /package/dist/chunks/{chunk-I5BNXO63.js.map → chunk-3533PAJJ.js.map} +0 -0
  538. /package/dist/chunks/{chunk-HICZARAY.js.map → chunk-37S6BVTN.js.map} +0 -0
  539. /package/dist/chunks/{chunk-XQZMTH3S.js.map → chunk-3JCHJOU3.js.map} +0 -0
  540. /package/dist/chunks/{chunk-JFA2XPTW.js.map → chunk-3P5TQ3VZ.js.map} +0 -0
  541. /package/dist/chunks/{chunk-ENNAZGUX.js.map → chunk-44V3FNMT.js.map} +0 -0
  542. /package/dist/chunks/{chunk-UBGDYBSQ.js.map → chunk-4FMBST2N.js.map} +0 -0
  543. /package/dist/chunks/{chunk-2PRVGX6U.js.map → chunk-4KRQ6EWL.js.map} +0 -0
  544. /package/dist/chunks/{chunk-TAIC3PC2.js.map → chunk-4YUR4SIL.js.map} +0 -0
  545. /package/dist/chunks/{chunk-KCBOIL5Q.js.map → chunk-52T26DYZ.js.map} +0 -0
  546. /package/dist/chunks/{chunk-F6NUMURW.js.map → chunk-5Y455HIT.js.map} +0 -0
  547. /package/dist/chunks/{chunk-6V4VYVRZ.js.map → chunk-6V6MRHZZ.js.map} +0 -0
  548. /package/dist/chunks/{chunk-NQYOMRPT.js.map → chunk-7PD3LHIR.js.map} +0 -0
  549. /package/dist/chunks/{chunk-2QJNPJOC.js.map → chunk-7XLZPKOT.js.map} +0 -0
  550. /package/dist/chunks/{chunk-A5O5VTQM.js.map → chunk-BBBFPJV3.js.map} +0 -0
  551. /package/dist/chunks/{chunk-MJJA277Z.js.map → chunk-BBBVDHRH.js.map} +0 -0
  552. /package/dist/chunks/{chunk-NFTQDITK.js.map → chunk-CKMF72VE.js.map} +0 -0
  553. /package/dist/chunks/{chunk-66DFXMZG.js.map → chunk-D3OHAYMX.js.map} +0 -0
  554. /package/dist/chunks/{chunk-URZPVSHV.js.map → chunk-D5ORLKON.js.map} +0 -0
  555. /package/dist/chunks/{chunk-7DERK6IR.js.map → chunk-DFOULHWV.js.map} +0 -0
  556. /package/dist/chunks/{chunk-FJG7JN4W.js.map → chunk-DLMDCCO7.js.map} +0 -0
  557. /package/dist/chunks/{chunk-OGEOUETU.js.map → chunk-E5GQTEDW.js.map} +0 -0
  558. /package/dist/chunks/{chunk-JR6EFL7G.js.map → chunk-EGGO56FY.js.map} +0 -0
  559. /package/dist/chunks/{chunk-GVLU2YM7.js.map → chunk-EN2E63G6.js.map} +0 -0
  560. /package/dist/chunks/{chunk-TXMWKHYW.js.map → chunk-ESLOAQRL.js.map} +0 -0
  561. /package/dist/chunks/{chunk-7BSLOLTU.js.map → chunk-EVJKQAZM.js.map} +0 -0
  562. /package/dist/chunks/{chunk-CSO7BHDJ.js.map → chunk-EYF7VILP.js.map} +0 -0
  563. /package/dist/chunks/{chunk-7BXJPOEG.js.map → chunk-FISBMAF4.js.map} +0 -0
  564. /package/dist/chunks/{chunk-ULFR2FWA.js.map → chunk-FOS5YJED.js.map} +0 -0
  565. /package/dist/chunks/{chunk-K5VLCRHY.js.map → chunk-FQ3DUX7L.js.map} +0 -0
  566. /package/dist/chunks/{chunk-7ROZ2N57.js.map → chunk-G4XSQIFF.js.map} +0 -0
  567. /package/dist/chunks/{chunk-IH2JBJ6I.js.map → chunk-G52WH6JI.js.map} +0 -0
  568. /package/dist/chunks/{chunk-NO3F3QQ3.js.map → chunk-GRCEOMSP.js.map} +0 -0
  569. /package/dist/chunks/{chunk-Y3NC6RIL.js.map → chunk-GVHUHRGI.js.map} +0 -0
  570. /package/dist/chunks/{chunk-KIWLK2WZ.js.map → chunk-HAIG4TLP.js.map} +0 -0
  571. /package/dist/chunks/{chunk-7NAHUZAR.js.map → chunk-IGZGAC75.js.map} +0 -0
  572. /package/dist/chunks/{chunk-JX6O7Y55.js.map → chunk-IXJ6A2XE.js.map} +0 -0
  573. /package/dist/chunks/{chunk-4WLMPRGO.js.map → chunk-J2AH4QK4.js.map} +0 -0
  574. /package/dist/chunks/{chunk-655EBPZH.js.map → chunk-JR66BLKY.js.map} +0 -0
  575. /package/dist/chunks/{chunk-ADLNBLRA.js.map → chunk-K4APHATW.js.map} +0 -0
  576. /package/dist/chunks/{chunk-CK47DTW6.js.map → chunk-KBIVQ5RH.js.map} +0 -0
  577. /package/dist/chunks/{chunk-7MYLYFIV.js.map → chunk-L7DZ2QPD.js.map} +0 -0
  578. /package/dist/chunks/{chunk-WEPINZBQ.js.map → chunk-LONNSCMP.js.map} +0 -0
  579. /package/dist/chunks/{chunk-J4GPHTRN.js.map → chunk-MN3CC4AF.js.map} +0 -0
  580. /package/dist/chunks/{chunk-7EASTT3H.js.map → chunk-MXLAVYBS.js.map} +0 -0
  581. /package/dist/chunks/{chunk-FZPIEOFR.js.map → chunk-NCPOOJD4.js.map} +0 -0
  582. /package/dist/chunks/{chunk-K7ZQYJJE.js.map → chunk-OK3QKISP.js.map} +0 -0
  583. /package/dist/chunks/{chunk-2GKFWJ3O.js.map → chunk-ONVEH4H7.js.map} +0 -0
  584. /package/dist/chunks/{chunk-4YQJ262B.js.map → chunk-OTNW5ZO6.js.map} +0 -0
  585. /package/dist/chunks/{chunk-5WS5Q2KW.js.map → chunk-P2PWTXHD.js.map} +0 -0
  586. /package/dist/chunks/{chunk-32CPPPKX.js.map → chunk-PGD2EYI7.js.map} +0 -0
  587. /package/dist/chunks/{chunk-BATWKQWV.js.map → chunk-PIUHVCR3.js.map} +0 -0
  588. /package/dist/chunks/{chunk-LM2OGSW5.js.map → chunk-QI6XNUH6.js.map} +0 -0
  589. /package/dist/chunks/{chunk-2D5WW5KP.js.map → chunk-QUUDXDDL.js.map} +0 -0
  590. /package/dist/chunks/{chunk-6ZWEKSAV.js.map → chunk-R2TBZK62.js.map} +0 -0
  591. /package/dist/chunks/{chunk-RTMX7IDM.js.map → chunk-R6WB34IP.js.map} +0 -0
  592. /package/dist/chunks/{chunk-S4OEUN6F.js.map → chunk-RE5EUO3F.js.map} +0 -0
  593. /package/dist/chunks/{chunk-6RBEIDSC.js.map → chunk-S5GKG5GV.js.map} +0 -0
  594. /package/dist/chunks/{chunk-3SBROSVS.js.map → chunk-SNKDM7FT.js.map} +0 -0
  595. /package/dist/chunks/{chunk-4RCXY7WO.js.map → chunk-SR4DQPOI.js.map} +0 -0
  596. /package/dist/chunks/{chunk-TSU4F6DF.js.map → chunk-TFOFFJNY.js.map} +0 -0
  597. /package/dist/chunks/{chunk-NBJ4OTXL.js.map → chunk-TN7MDKW2.js.map} +0 -0
  598. /package/dist/chunks/{chunk-UXLQNJDR.js.map → chunk-TSHMH45O.js.map} +0 -0
  599. /package/dist/chunks/{chunk-XWP64X6U.js.map → chunk-TYD5K7MT.js.map} +0 -0
  600. /package/dist/chunks/{chunk-TJAUF5NX.js.map → chunk-UCDXXMAD.js.map} +0 -0
  601. /package/dist/chunks/{chunk-UMPJ4VXN.js.map → chunk-UI3ELYQU.js.map} +0 -0
  602. /package/dist/chunks/{chunk-52DZTN4C.js.map → chunk-ULJAPIOG.js.map} +0 -0
  603. /package/dist/chunks/{chunk-DZA7UXA2.js.map → chunk-VJFBRQZ4.js.map} +0 -0
  604. /package/dist/chunks/{chunk-O6EDUJ77.js.map → chunk-VUKFKBOO.js.map} +0 -0
  605. /package/dist/chunks/{chunk-DIBXZBOP.js.map → chunk-XAMOWP2G.js.map} +0 -0
  606. /package/dist/chunks/{chunk-YEWJVAM4.js.map → chunk-XLWFT4QC.js.map} +0 -0
  607. /package/dist/chunks/{chunk-L4LGUBYZ.js.map → chunk-YHFKTEU6.js.map} +0 -0
  608. /package/dist/chunks/{chunk-O6C4RETO.js.map → chunk-ZFEDNTIB.js.map} +0 -0
  609. /package/dist/chunks/{chunk-SEVORRUA.js.map → chunk-ZHRBJT5B.js.map} +0 -0
  610. /package/dist/chunks/{chunk-6QQVZXUE.js.map → chunk-ZPWWUTSR.js.map} +0 -0
  611. /package/dist/chunks/{chunk-EFWF72V4.js.map → chunk-ZX5C2ELY.js.map} +0 -0
  612. /package/dist/chunks/{chunk-P6RYPNSD.js.map → chunk-ZY7N242I.js.map} +0 -0
  613. /package/dist/chunks/{cli-runtime-BLOWAO6Q.js.map → cli-runtime-SL6YG4EX.js.map} +0 -0
  614. /package/dist/chunks/{commands-VWBRELWZ.js.map → commands-XRQOUFRE.js.map} +0 -0
  615. /package/dist/chunks/{config-77NN5LSS.js.map → config-W3ABQG5K.js.map} +0 -0
  616. /package/dist/chunks/{cost-IVLAFD5T.js.map → cost-ZKKW4JSZ.js.map} +0 -0
  617. /package/dist/chunks/{crash-report-CA3Y7LA6.js.map → crash-report-Q2WAKIU5.js.map} +0 -0
  618. /package/dist/chunks/{dist-ISRJEZRF.js.map → dist-IPR6EVQM.js.map} +0 -0
  619. /package/dist/chunks/{dist-7BSYEFE5.js.map → dist-O2QP5QCU.js.map} +0 -0
  620. /package/dist/chunks/{dist-AM6FWCIJ.js.map → dist-OXSKWJNB.js.map} +0 -0
  621. /package/dist/chunks/{doctor-FGOCO7UR.js.map → dist-R4PUUPXV.js.map} +0 -0
  622. /package/dist/chunks/{dist-V43PPTPF.js.map → dist-VT4VSQTO.js.map} +0 -0
  623. /package/dist/chunks/{dist-RDXEBTCL.js.map → dist-WI7EX7ZF.js.map} +0 -0
  624. /package/dist/chunks/{dist-PBFZXU4L.js.map → dist-YE6ADUZP.js.map} +0 -0
  625. /package/dist/chunks/{extension-BP7Q3PFK.js.map → doctor-EUH7WGN6.js.map} +0 -0
  626. /package/dist/chunks/{entry-4LHTI3VQ.js.map → entry-FNHGVOQM.js.map} +0 -0
  627. /package/dist/chunks/{eval-IYWGGPWF.js.map → eval-CFKAWR3B.js.map} +0 -0
  628. /package/dist/chunks/{home-GR6YDAAE.js.map → extension-4VR722KH.js.map} +0 -0
  629. /package/dist/chunks/{hooks-report-H4JAHJXE.js.map → home-JCDINY64.js.map} +0 -0
  630. /package/dist/chunks/{host-ISKJDJ7B.js.map → homes-53P37RPB.js.map} +0 -0
  631. /package/dist/chunks/{hooks-KSSNBDF2.js.map → hooks-6EV4IEHU.js.map} +0 -0
  632. /package/dist/chunks/{host-queries-CUG75GYD.js.map → hooks-report-OK5PIOSF.js.map} +0 -0
  633. /package/dist/chunks/{lifecycle-TCRMEVJP.js.map → host-KF63UW3T.js.map} +0 -0
  634. /package/dist/chunks/{live-LJ76XHPK.js.map → host-queries-5ZWYD4VD.js.map} +0 -0
  635. /package/dist/chunks/{installed-list-GPVOP4E3.js.map → installed-list-QLVA6XBV.js.map} +0 -0
  636. /package/dist/chunks/{learn-AFNJQGOU.js.map → learn-XNVRCNGV.js.map} +0 -0
  637. /package/dist/chunks/{load-2ERMTCD4.js.map → lifecycle-K7REDQBN.js.map} +0 -0
  638. /package/dist/chunks/{open-3VUS3XWX.js.map → list-US5UDLON.js.map} +0 -0
  639. /package/dist/chunks/{output-schema-2GHHC5ZZ.js.map → live-DNA4UB2B.js.map} +0 -0
  640. /package/dist/chunks/{peers-SLFOET3O.js.map → load-2WCYASMC.js.map} +0 -0
  641. /package/dist/chunks/{logs-DV6GC7PT.js.map → logs-ZF7YJNOC.js.map} +0 -0
  642. /package/dist/chunks/{mcp-5VV24FGZ.js.map → mcp-FBJXQJ6I.js.map} +0 -0
  643. /package/dist/chunks/{mcp-serve-TT4Q7V55.js.map → mcp-serve-TTZ33VMY.js.map} +0 -0
  644. /package/dist/chunks/{providers-SOFGNZ4F.js.map → open-I4YKGQSW.js.map} +0 -0
  645. /package/dist/chunks/{operator-tools-BZ5X5ZDE.js.map → operator-tools-FC5JFH42.js.map} +0 -0
  646. /package/dist/chunks/{pty-3T7AE7ZA.js.map → output-schema-KMYL2UB6.js.map} +0 -0
  647. /package/dist/chunks/{pal-TT7X5JF3.js.map → pal-UZFR42OY.js.map} +0 -0
  648. /package/dist/chunks/{resume-5JACRBQO.js.map → peers-NM5HJGSR.js.map} +0 -0
  649. /package/dist/chunks/{providers-MX47EUPL.js.map → providers-BQ25F6LA.js.map} +0 -0
  650. /package/dist/chunks/{resume-command-H4FOREZO.js.map → providers-VS37WA3E.js.map} +0 -0
  651. /package/dist/chunks/{running-NONPWC5C.js.map → pty-NWEV3DSP.js.map} +0 -0
  652. /package/dist/chunks/{send-H27WTBLZ.js.map → resume-Y7P3TAVG.js.map} +0 -0
  653. /package/dist/chunks/{send-person-NNGL2U4H.js.map → resume-command-KEXAVL6P.js.map} +0 -0
  654. /package/dist/chunks/{setting-cli-ETVPDSRA.js.map → running-JLMG6IL4.js.map} +0 -0
  655. /package/dist/chunks/{start-check-A5FG7224.js.map → send-UXJ7GXKN.js.map} +0 -0
  656. /package/dist/chunks/{store-4PPSKMYT.js.map → send-person-DLJU45IU.js.map} +0 -0
  657. /package/dist/chunks/{store-5K5HIPUT.js.map → setting-cli-ILFKSR4D.js.map} +0 -0
  658. /package/dist/chunks/{store-6WG6CRWK.js.map → start-check-7GBRCGVJ.js.map} +0 -0
  659. /package/dist/chunks/{startup-failure-6MZNIJXI.js.map → startup-failure-UA32GGJB.js.map} +0 -0
  660. /package/dist/chunks/{store-UPAOLS5B.js.map → store-2GFZ5XXW.js.map} +0 -0
  661. /package/dist/chunks/{update-RMHLR4LI.js.map → update-32IRH5TG.js.map} +0 -0
  662. /package/dist/chunks/{workspaces-HEA2VNIH.js.map → workspaces-4YXZSENL.js.map} +0 -0
  663. /package/dist/chunks/{worktree-NAVT42R4.js.map → worktree-DJHBLFHZ.js.map} +0 -0
@@ -0,0 +1,243 @@
1
+ /**
2
+ * The `/plugin` screen as data: the tab row, what each tab lists, the cursor,
3
+ * the search, a detail view per row, one pure step per key, and how a line is
4
+ * laid out in a given width.
5
+ *
6
+ * The component (`PluginScreen.tsx`) only draws what this returns, and App only
7
+ * forwards keys and carries out the one thing a key can ask the session for
8
+ * (`effect`). Nothing here reads a file or the session: everything it shows
9
+ * arrives in `ScreenInputs`, so each tab, each key and each width is testable
10
+ * without a terminal.
11
+ *
12
+ * Tabs: Installed (tool servers, plugins, skills), Errors (what failed to
13
+ * load, with what to do about it) and Stats (what each skill costs the
14
+ * listing and how often it has been used). A Discover or Marketplaces tab is
15
+ * not here: Namzu reads plugins from two folders and has no catalog to list.
16
+ */
17
+ import type { McpServersConfig } from '../integrations/mcp/servers.js';
18
+ import type { CliPluginInfo } from '../integrations/plugins/runtime.js';
19
+ import { type SkillState } from '../skills/overrides.js';
20
+ import { type SkillInfo } from '../skills/store.js';
21
+ import { type SkillUsage, type SkillUse } from '../skills/usage.js';
22
+ export type PluginTab = 'installed' | 'errors' | 'stats';
23
+ export declare const PLUGIN_TABS: readonly {
24
+ readonly id: PluginTab;
25
+ readonly label: string;
26
+ }[];
27
+ export interface McpInput {
28
+ readonly connected: readonly {
29
+ readonly name: string;
30
+ readonly toolCount: number;
31
+ readonly tools: readonly string[];
32
+ }[];
33
+ readonly failed: readonly {
34
+ readonly name: string;
35
+ readonly reason: string;
36
+ }[];
37
+ readonly pending?: readonly string[];
38
+ }
39
+ /** Everything the screen shows, as the host read it when the screen opened or changed. */
40
+ export interface ScreenInputs {
41
+ readonly mcp: McpInput | null;
42
+ /** The configured tool servers, for the command or address a detail view shows. */
43
+ readonly mcpServers?: McpServersConfig;
44
+ readonly plugins: readonly CliPluginInfo[];
45
+ /** Why no plugin is loaded when none is: plugin loading off, discovery off, nothing found. */
46
+ readonly pluginsNote?: string;
47
+ readonly skills: readonly SkillInfo[];
48
+ readonly usage: SkillUsage;
49
+ readonly now: number;
50
+ }
51
+ export type ItemKind = 'mcp' | 'plugin' | 'skill';
52
+ export type McpStatus = 'connected' | 'connecting' | 'failed';
53
+ export interface McpItem {
54
+ readonly kind: 'mcp';
55
+ readonly id: string;
56
+ readonly name: string;
57
+ readonly status: McpStatus;
58
+ readonly reason?: string;
59
+ readonly tools: readonly string[];
60
+ /** The command line or address, without its credentials. */
61
+ readonly where?: string;
62
+ }
63
+ export interface PluginItem {
64
+ readonly kind: 'plugin';
65
+ readonly id: string;
66
+ readonly name: string;
67
+ readonly plugin: CliPluginInfo;
68
+ }
69
+ export interface SkillItem {
70
+ readonly kind: 'skill';
71
+ readonly id: string;
72
+ readonly name: string;
73
+ readonly place: string;
74
+ readonly tokens: number;
75
+ readonly state: SkillState;
76
+ readonly description: string;
77
+ readonly path: string;
78
+ readonly problem?: string;
79
+ readonly use?: SkillUse;
80
+ }
81
+ export type ScreenItem = McpItem | PluginItem | SkillItem;
82
+ /** A section of the Installed tab: its heading, the rows under it, and a line for when there are none. */
83
+ export interface Section {
84
+ readonly title: string;
85
+ readonly items: readonly ScreenItem[];
86
+ readonly empty?: string;
87
+ }
88
+ export declare function itemsOf(inputs: ScreenInputs): readonly ScreenItem[];
89
+ export interface PluginScreenState {
90
+ readonly tab: PluginTab;
91
+ readonly inputs: ScreenInputs;
92
+ readonly query: string;
93
+ /** Typed characters go to the search box. */
94
+ readonly searching: boolean;
95
+ /** The selected row's id on Installed; the first visible row when it is filtered out. */
96
+ readonly selected: string | undefined;
97
+ /** The row whose detail view is open. */
98
+ readonly detail: string | undefined;
99
+ /** The cursor over a detail view's actions. */
100
+ readonly action: number;
101
+ /** A detail view's tool list is open. */
102
+ readonly toolsOpen: boolean;
103
+ /** First line shown on Errors and Stats, which scroll instead of selecting. */
104
+ readonly scroll: number;
105
+ /** One line the last key left, shown above the footer. */
106
+ readonly notice?: string;
107
+ /** A change is being made: keys wait. */
108
+ readonly busy?: string;
109
+ }
110
+ export declare function openScreen(inputs: ScreenInputs, tab?: PluginTab): PluginScreenState;
111
+ /** The same screen over fresher inputs: tab, search and cursor kept where they still make sense. */
112
+ export declare function refreshScreen(state: PluginScreenState, inputs: ScreenInputs): PluginScreenState;
113
+ export declare function visibleItems(state: PluginScreenState): readonly ScreenItem[];
114
+ /** The Installed tab's sections in order, with a section left out when the search empties it. */
115
+ export declare function sections(state: PluginScreenState): readonly Section[];
116
+ export declare function selectedIndex(state: PluginScreenState): number;
117
+ export declare function selectedItem(state: PluginScreenState): ScreenItem | undefined;
118
+ export declare function detailItem(state: PluginScreenState): ScreenItem | undefined;
119
+ export type DetailAction = 'view-tools' | 'enable' | 'disable' | 'remember' | 'back';
120
+ export interface DetailActionRow {
121
+ readonly id: DetailAction;
122
+ readonly label: string;
123
+ readonly disabled?: string;
124
+ }
125
+ export declare function detailActions(item: ScreenItem, toolsOpen: boolean): readonly DetailActionRow[];
126
+ /** A detail view's text lines, unwrapped: `Label: value`, or a heading. */
127
+ export declare function detailLines(item: ScreenItem, toolsOpen: boolean, now: number): readonly string[];
128
+ export interface ErrorEntry {
129
+ readonly title: string;
130
+ readonly message: string;
131
+ readonly guidance: string;
132
+ }
133
+ /** What failed to load, as one entry each, with what to do about it. */
134
+ export declare function errorEntries(inputs: ScreenInputs): readonly ErrorEntry[];
135
+ export interface StatsRow {
136
+ readonly name: string;
137
+ readonly place: string;
138
+ /** The one-line listing cost, `-` when the skill is not in the listing. */
139
+ readonly context: string;
140
+ readonly sevenDay: string;
141
+ readonly uses: string;
142
+ readonly last: string;
143
+ }
144
+ /** The skills with their figures, the least used first (the ones to look at), then by name. */
145
+ export declare function statsRows(inputs: ScreenInputs): readonly StatsRow[];
146
+ /** How many skills are in the listing and have never been loaded. */
147
+ export declare function unusedInListing(inputs: ScreenInputs): number;
148
+ /** The explanation lines under the Stats table. */
149
+ export declare function statsNotes(inputs: ScreenInputs): readonly string[];
150
+ export interface ScreenKey {
151
+ readonly input: string;
152
+ readonly up?: boolean;
153
+ readonly down?: boolean;
154
+ readonly left?: boolean;
155
+ readonly right?: boolean;
156
+ readonly pageUp?: boolean;
157
+ readonly pageDown?: boolean;
158
+ readonly home?: boolean;
159
+ readonly end?: boolean;
160
+ readonly escape?: boolean;
161
+ readonly return?: boolean;
162
+ readonly backspace?: boolean;
163
+ readonly delete?: boolean;
164
+ readonly ctrl?: boolean;
165
+ readonly meta?: boolean;
166
+ }
167
+ /** What a key asks the session for. App carries it out and then calls `refreshScreen`. */
168
+ export type ScreenEffect = {
169
+ readonly kind: 'plugin-enable';
170
+ readonly name: string;
171
+ readonly enabled: boolean;
172
+ } | {
173
+ readonly kind: 'plugin-remember';
174
+ readonly name: string;
175
+ };
176
+ export interface ScreenStep {
177
+ readonly state: PluginScreenState;
178
+ readonly close: boolean;
179
+ readonly effect?: ScreenEffect;
180
+ }
181
+ /** One key on the screen. `maxScroll` is how far Errors or Stats can scroll; the component knows its height. */
182
+ export declare function step(state: PluginScreenState, key: ScreenKey, maxScroll?: number): ScreenStep;
183
+ /** Marks a row while a change to it is waiting, and what to say. */
184
+ export declare function waiting(state: PluginScreenState, message: string | undefined): PluginScreenState;
185
+ /** The screen after a change failed or finished: the notice says which. */
186
+ export declare function withNotice(state: PluginScreenState, notice: string | undefined): PluginScreenState;
187
+ /** The mark before a row: a tick when it is on, a ring when it is off, `!` when it failed, `·` while it connects. */
188
+ export declare function markOf(item: ScreenItem): string;
189
+ /** The words after the kind: place, cost and use for a skill; scope and counts for a plugin; status for a server. */
190
+ export declare function metaParts(item: ScreenItem, now: number): readonly string[];
191
+ export interface ItemLayout {
192
+ readonly lead: string;
193
+ /** The name, padded to the name column. */
194
+ readonly name: string;
195
+ /** The kind word, padded. */
196
+ readonly kind: string;
197
+ readonly meta: string;
198
+ }
199
+ /** The widest name column the rows ask for, leaving the meta its place. */
200
+ export declare function nameColumn(items: readonly ScreenItem[], width: number): number;
201
+ /**
202
+ * One row in `width` cells. When the meta does not fit it loses whole trailing
203
+ * parts; when even the first part does not fit, the name gives up cells down
204
+ * to a floor before the meta is cut mid-word. Never wider than `width`.
205
+ */
206
+ export declare function layoutItem(item: ScreenItem, selected: boolean, nameWidth: number, width: number, now: number): ItemLayout;
207
+ /** One line of the Installed list: a heading, a row, a note under an empty heading, or a gap. */
208
+ export type ListLine = {
209
+ readonly kind: 'heading';
210
+ readonly text: string;
211
+ } | {
212
+ readonly kind: 'item';
213
+ readonly item: ScreenItem;
214
+ } | {
215
+ readonly kind: 'note';
216
+ readonly text: string;
217
+ } | {
218
+ readonly kind: 'gap';
219
+ };
220
+ /** The Installed tab flattened to lines, with a gap before each heading but the first. */
221
+ export declare function listLines(state: PluginScreenState): readonly ListLine[];
222
+ /** How many list lines fit in `terminalRows`, with the tab row, search box, footnote and footer counted. */
223
+ export declare function lineBudget(terminalRows: number): number;
224
+ /** The tab row: `Plugins Installed Errors Stats` with the active tab marked by the component. */
225
+ export declare const TITLE = "Plugins";
226
+ /** A detail view's lines, wrapped to `width`; a continuation line is indented under its label. */
227
+ export declare function wrappedDetail(lines: readonly string[], width: number): readonly string[];
228
+ export interface StatsColumn {
229
+ readonly id: 'name' | 'place' | 'context' | 'sevenDay' | 'uses' | 'last';
230
+ readonly title: string;
231
+ readonly width: number;
232
+ readonly right: boolean;
233
+ }
234
+ /** The columns that fit `width`: Source goes first, then 7d tokens, and the name takes what is left. */
235
+ export declare function statsColumns(rows: readonly StatsRow[], width: number): readonly StatsColumn[];
236
+ /** One table line in `width` cells: the header when `row` is undefined. */
237
+ export declare function statsLine(columns: readonly StatsColumn[], row: StatsRow | undefined): string;
238
+ export declare function screenHints(state: PluginScreenState): readonly {
239
+ readonly text: string;
240
+ readonly short: string;
241
+ readonly rank: number;
242
+ }[];
243
+ //# sourceMappingURL=plugin-screen.d.ts.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KAAK,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,CAWxF;AAMD,MAAM,WAAW,WAAW;IAC3B,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAAA;IACxE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;CACvB;AAED,wGAAwG;AACxG,wBAAgB,YAAY,CAAC,IAAI,EAAE,SAAS,QAAQ,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,WAAW,EAAE,CAsC7F;AAED,2EAA2E;AAC3E,wBAAgB,SAAS,CAAC,OAAO,EAAE,SAAS,WAAW,EAAE,EAAE,GAAG,EAAE,QAAQ,GAAG,SAAS,GAAG,MAAM,CAU5F;AAMD,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB,GAAG,SAAS;IAC/D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACrB,EAAE,CAgCF"}
@@ -3,7 +3,11 @@ import type { CliPluginInfo } from '../integrations/plugins/runtime.js';
3
3
  import type { ChoicePickerOption } from './ChoicePicker.js';
4
4
  export declare function pluginOption(plugin: CliPluginInfo): ChoicePickerOption;
5
5
  export declare function pluginSummary(plugin: CliPluginInfo): string;
6
+ /** The lines that describe one plugin, without the closing hint `/plugins` adds. */
7
+ export declare function pluginDetailRows(plugin: CliPluginInfo): readonly string[];
6
8
  export declare function pluginDetails(plugin: CliPluginInfo): string;
7
9
  export declare function pluginStartupState(plugin: CliPluginInfo): string;
10
+ /** Why no plugin is loaded, in one sentence a person can act on. */
11
+ export declare function noPluginsReason(config: PluginConfig | undefined): string;
8
12
  export declare function emptyPluginReport(config: PluginConfig | undefined, cwd: string): string;
9
13
  //# sourceMappingURL=plugin-view.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin-view.d.ts","sourceRoot":"","sources":["../../src/tui/plugin-view.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAEvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAG3D,wBAAgB,YAAY,CAAC,MAAM,EAAE,aAAa,GAAG,kBAAkB,CAOtE;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAM3D;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAkB3D;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAMhE;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAqBvF"}
1
+ {"version":3,"file":"plugin-view.d.ts","sourceRoot":"","sources":["../../src/tui/plugin-view.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAEvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAG3D,wBAAgB,YAAY,CAAC,MAAM,EAAE,aAAa,GAAG,kBAAkB,CAOtE;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAM3D;AAED,oFAAoF;AACpF,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,aAAa,GAAG,SAAS,MAAM,EAAE,CAgBzE;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAK3D;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAMhE;AAED,oEAAoE;AACpE,wBAAgB,eAAe,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,GAAG,MAAM,CASxE;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAcvF"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Resize settling for the fullscreen view.
3
+ *
4
+ * A resize leaves Ink's line diff out of step with the terminal, so one empty
5
+ * frame and a terminal clear are drawn once the size has stopped changing, and
6
+ * the next frame is drawn whole. The empty frame is never drawn while resize events keep
7
+ * arriving: a window drag sends them faster than any fixed wait, and blanking
8
+ * on every event would leave the screen black for the whole drag. During the
9
+ * drag the renderer keeps drawing real frames at the new size.
10
+ */
11
+ /** Quiet time after the last size change before the clean-slate frame. */
12
+ export declare const FULLSCREEN_RESIZE_QUIET_MS = 250;
13
+ /** Longer than the renderer's frame interval, so the empty frame is drawn. */
14
+ export declare const FULLSCREEN_RESIZE_BLANK_MS = 60;
15
+ export interface ResizeSettler {
16
+ /** A size change was seen. Cancels a pending or showing blank and waits for quiet. */
17
+ resized(): void;
18
+ dispose(): void;
19
+ }
20
+ /** Clear the whole terminal and home the cursor. The alternate screen has no scrollback to lose. */
21
+ export declare const CLEAR_SCREEN = "\u001B[2J\u001B[H";
22
+ export declare function createResizeSettler(setBlank: (blank: boolean) => void, clearScreen: () => void, timers?: {
23
+ set: (fn: () => void, ms: number) => unknown;
24
+ clear: (handle: unknown) => void;
25
+ }): ResizeSettler;
26
+ //# sourceMappingURL=resize-settle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resize-settle.d.ts","sourceRoot":"","sources":["../../src/tui/resize-settle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,0EAA0E;AAC1E,eAAO,MAAM,0BAA0B,MAAM,CAAA;AAE7C,8EAA8E;AAC9E,eAAO,MAAM,0BAA0B,KAAK,CAAA;AAE5C,MAAM,WAAW,aAAa;IAC7B,sFAAsF;IACtF,OAAO,IAAI,IAAI,CAAA;IACf,OAAO,IAAI,IAAI,CAAA;CACf;AAED,oGAAoG;AACpG,eAAO,MAAM,YAAY,sBAAkB,CAAA;AAE3C,wBAAgB,mBAAmB,CAClC,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,EAClC,WAAW,EAAE,MAAM,IAAI,EACvB,MAAM,GAAE;IACP,GAAG,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,EAAE,EAAE,EAAE,MAAM,KAAK,OAAO,CAAA;IAC5C,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAA;CAIhC,GACC,aAAa,CA8Bf"}
@@ -117,6 +117,8 @@ export declare function agentCompletionRows(agent: SubagentActivity,
117
117
  previousFailure?: string,
118
118
  /** Whether a waited-on agent's Done row opens to its calls (`tui.agentCalls`). */
119
119
  withCalls?: boolean): readonly ToolRow[];
120
+ /** The one row a teammate that went idle leaves in the lead's conversation, with its last answer behind Ctrl+O. */
121
+ export declare function teammateIdleRows(agent: SubagentActivity, text: string): readonly ToolRow[];
120
122
  /**
121
123
  * The waited-on agents of a settled batch that one block stands for: two or
122
124
  * more that completed and handed their result back inline, once nothing in the
@@ -138,7 +140,9 @@ export declare function holdsForBatch(agent: SubagentActivity, members: readonly
138
140
  * finished. The live run and a reopened conversation both build the rows here,
139
141
  * so the two cannot differ.
140
142
  */
141
- export declare function settledBatchRows(members: readonly SubagentActivity[], enabled?: boolean): readonly ToolRow[];
143
+ export declare function settledBatchRows(members: readonly SubagentActivity[], enabled?: boolean,
144
+ /** True for a teammate: its launch does not say where to follow it, the team's rail already does. */
145
+ isTeammate?: (member: SubagentActivity) => boolean): readonly ToolRow[];
142
146
  /** The launch receipt of one batch of agents. */
143
147
  export declare function agentLaunchRow(members: readonly SubagentActivity[]): ToolRow;
144
148
  /** The line a settled workflow leaves. */
@@ -1 +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E,GAAG,SAAS,CAU5E;AAED,wBAAsB,kBAAkB,CACvC,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,GAAG,EAAE,sBAAsB,GACzB,OAAO,CAAC,IAAI,CAAC,CAyNf;AAKD,wBAAsB,cAAc,CACnC,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,KAAK,EAAE,oBAAoB,EAC3B,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GACzB,OAAO,CAAC,IAAI,CAAC,CAuDf"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Where a typed command's expanded text waits between the two passes of its
3
+ * line: the first pass runs the shell commands the text holds, then submits
4
+ * the same line again, and the second pass picks the text up.
5
+ *
6
+ * The text is good for that one resubmission. If the line is turned aside on
7
+ * the way (queued behind a busy turn, blocked), nothing picks it up, and the
8
+ * same line typed later must run its commands again, not reuse old output.
9
+ */
10
+ export interface ShellExpansionEntry {
11
+ readonly line: string;
12
+ readonly text: string;
13
+ used: boolean;
14
+ }
15
+ export interface ShellExpansionSlot {
16
+ /** The entry now held, for `settle`. */
17
+ put(line: string, text: string): ShellExpansionEntry;
18
+ /** The text kept for this exact line, marking it picked up. */
19
+ take(line: string): string | undefined;
20
+ /** Whether the held text is for this line (a second pass, however it ends). */
21
+ holds(line: string): boolean;
22
+ /**
23
+ * Called right after the resubmission returns: an entry nobody picked up
24
+ * was turned aside, so it is dropped.
25
+ */
26
+ settle(entry: ShellExpansionEntry): void;
27
+ clear(): void;
28
+ }
29
+ export declare function createShellExpansionSlot(): ShellExpansionSlot;
30
+ //# sourceMappingURL=shell-expansion-slot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shell-expansion-slot.d.ts","sourceRoot":"","sources":["../../src/tui/shell-expansion-slot.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,MAAM,WAAW,mBAAmB;IACnC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,OAAO,CAAA;CACb;AAED,MAAM,WAAW,kBAAkB;IAClC,wCAAwC;IACxC,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,mBAAmB,CAAA;IACpD,+DAA+D;IAC/D,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;IACtC,+EAA+E;IAC/E,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;IAC5B;;;OAGG;IACH,MAAM,CAAC,KAAK,EAAE,mBAAmB,GAAG,IAAI,CAAA;IACxC,KAAK,IAAI,IAAI,CAAA;CACb;AAED,wBAAgB,wBAAwB,IAAI,kBAAkB,CAoB7D"}
@@ -2,9 +2,9 @@
2
2
  * `/skills save off|on`: write `skills.suggest` to the user config, then read
3
3
  * the whole cascade back and say whether the value will take effect.
4
4
  *
5
- * The cascade replaces a top-level key whole, so a `skills` block in the
6
- * project file, a selected profile or the managed file hides the user file's
7
- * `skills.suggest` entirely (and the environment never sets it). Writing the
5
+ * The `skills` table merges key by key across the cascade, so only a project
6
+ * file, a selected profile or the managed file that sets `skills.suggest`
7
+ * itself outranks the user file (the environment never sets it). Writing the
8
8
  * user file and saying "done" would then be false the next time namzu starts.
9
9
  * The running session follows the operator's choice either way; the message
10
10
  * says so, and names the file that wins later.
@@ -0,0 +1,145 @@
1
+ /**
2
+ * The `/skills` screen as data: the rows, the cursor, the search and the sort,
3
+ * one pure step per key, and how a row is laid out in a given width.
4
+ *
5
+ * The component (`SkillsManager.tsx`) only draws what this returns, and App
6
+ * only forwards keys and saves when the screen closes, so everything a key does
7
+ * is testable without a terminal. Nothing here touches a file: `pendingChanges`
8
+ * says what the screen would write, and the host writes it.
9
+ */
10
+ import { type SkillState } from '../skills/overrides.js';
11
+ import { type SkillInfo } from '../skills/store.js';
12
+ export interface ManagerRow {
13
+ readonly name: string;
14
+ readonly description: string;
15
+ /** What the screen shows now. */
16
+ readonly state: SkillState;
17
+ /** What the roster said when the screen opened. */
18
+ readonly initial: SkillState;
19
+ /** What the layers under the project's local file give: a saved change that lands here removes its key. */
20
+ readonly base: SkillState | undefined;
21
+ /** Where the skill lives, as the listings word it (`user`, `project`, `built-in`). */
22
+ readonly place: string;
23
+ readonly tokens: number;
24
+ /** Why the row cannot be changed (a file that does not parse), when it cannot. */
25
+ readonly locked?: string;
26
+ /** What is worth saying about the row when it is selected. */
27
+ readonly note?: string;
28
+ }
29
+ export type ManagerSort = 'default' | 'tokens';
30
+ export interface ManagerState {
31
+ readonly rows: readonly ManagerRow[];
32
+ /** The selected skill's name; the first visible row when it is filtered out. */
33
+ readonly selected: string | undefined;
34
+ readonly query: string;
35
+ /** Typed characters go to the search box. */
36
+ readonly searching: boolean;
37
+ readonly sort: ManagerSort;
38
+ }
39
+ /** The mark before a name: a tick for a skill the model can still be told about or the operator can run, a ring for off. */
40
+ export declare const MARK_ON = "\u2713";
41
+ export declare const MARK_OFF = "\u25EF";
42
+ /** The rows for a roster, in the default order: where it lives, then name. */
43
+ export declare function openManager(skills: readonly SkillInfo[], disabled: readonly string[] | undefined, overrides?: Readonly<Record<string, SkillState>>, localKeys?: ReadonlySet<string>): ManagerState;
44
+ /** The rows on screen: filtered, then in the chosen order (largest first by tokens, ties as before). */
45
+ export declare function visibleRows(state: ManagerState): readonly ManagerRow[];
46
+ /** Index of the selected row among the visible ones; 0 when it is filtered out. */
47
+ export declare function selectedIndex(state: ManagerState): number;
48
+ /** `16 skills`, `3 of 16 skills`, with ` · sorted by tokens` after `t`. */
49
+ export declare function subtitle(state: ManagerState): string;
50
+ /** What the key line of `SkillsManager` receives from App. */
51
+ export interface ManagerKey {
52
+ readonly input: string;
53
+ readonly up?: boolean;
54
+ readonly down?: boolean;
55
+ readonly pageUp?: boolean;
56
+ readonly pageDown?: boolean;
57
+ readonly home?: boolean;
58
+ readonly end?: boolean;
59
+ readonly escape?: boolean;
60
+ readonly return?: boolean;
61
+ readonly backspace?: boolean;
62
+ readonly delete?: boolean;
63
+ readonly ctrl?: boolean;
64
+ readonly meta?: boolean;
65
+ }
66
+ export interface ManagerStep {
67
+ readonly state: ManagerState;
68
+ /** Esc on the list: the host saves and closes. */
69
+ readonly close: boolean;
70
+ }
71
+ /** One key on the screen. */
72
+ export declare function manage(state: ManagerState, key: ManagerKey): ManagerStep;
73
+ /**
74
+ * What the screen would save, keyed by skill name: the state to write, or `null`
75
+ * to take the key out because the new state is what the layers below already
76
+ * give. A row left where it started is not in the answer, so a full round of
77
+ * Space changes nothing.
78
+ */
79
+ export declare function pendingChanges(state: ManagerState): Record<string, SkillState | null>;
80
+ /** The transcript row the screen leaves when it closes. */
81
+ export declare function closingLine(changed: number, failure: string | undefined): {
82
+ readonly text: string;
83
+ readonly failed: boolean;
84
+ };
85
+ export interface RowLayout {
86
+ /** `❯ ✓ ` or ` ◯ `: cursor and mark. */
87
+ readonly lead: string;
88
+ /** The name, padded to the name column. */
89
+ readonly name: string;
90
+ readonly meta: string;
91
+ }
92
+ /** The words after a name: `[state · ]place · cost`, or `locked · place` for a row that cannot change. */
93
+ export declare function metaParts(row: ManagerRow): readonly string[];
94
+ /** The widest name column the visible rows ask for. */
95
+ export declare function nameColumn(rows: readonly ManagerRow[], width: number): number;
96
+ /**
97
+ * One row in `width` cells. The name column is fixed by the caller; when the
98
+ * meta does not fit it loses whole trailing parts (cost first), and when even
99
+ * the place does not fit, the name gives up cells down to a floor before the
100
+ * meta is cut mid-word. The result is never wider than `width`.
101
+ */
102
+ export declare function layoutRow(row: ManagerRow, selected: boolean, nameWidth: number, width: number): RowLayout;
103
+ /** How many rows fit in `terminalRows` once the title, search box, footnote and footer are counted. */
104
+ export declare function rowBudget(terminalRows: number): number;
105
+ /** The footer's hints, in the words the screen uses. */
106
+ export declare const MANAGER_HINTS: readonly [{
107
+ readonly text: "↑/↓ to navigate";
108
+ readonly short: "↑/↓";
109
+ readonly rank: 5;
110
+ }, {
111
+ readonly text: "Space to change";
112
+ readonly short: "Space change";
113
+ readonly rank: 5;
114
+ }, {
115
+ readonly text: "/ to search";
116
+ readonly short: "/ search";
117
+ readonly rank: 3;
118
+ }, {
119
+ readonly text: "t to sort";
120
+ readonly short: "t sort";
121
+ readonly rank: 2;
122
+ }, {
123
+ readonly text: "Esc to close";
124
+ readonly short: "Esc";
125
+ readonly rank: 5;
126
+ }];
127
+ /** The footer while the search box has the keys. */
128
+ export declare const MANAGER_SEARCH_HINTS: readonly [{
129
+ readonly text: "Type to search";
130
+ readonly short: "Type";
131
+ readonly rank: 3;
132
+ }, {
133
+ readonly text: "↑/↓ to navigate";
134
+ readonly short: "↑/↓";
135
+ readonly rank: 4;
136
+ }, {
137
+ readonly text: "Enter to keep";
138
+ readonly short: "Enter";
139
+ readonly rank: 4;
140
+ }, {
141
+ readonly text: "Esc to clear";
142
+ readonly short: "Esc";
143
+ readonly rank: 5;
144
+ }];
145
+ //# sourceMappingURL=skills-manager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skills-manager.d.ts","sourceRoot":"","sources":["../../src/tui/skills-manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACN,KAAK,UAAU,EAMf,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,KAAK,SAAS,EAAgC,MAAM,oBAAoB,CAAA;AAOjF,MAAM,WAAW,UAAU;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,iCAAiC;IACjC,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAA;IAC1B,mDAAmD;IACnD,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAA;IAC5B,2GAA2G;IAC3G,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,CAAA;IACrC,sFAAsF;IACtF,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;I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IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACrB;AASD,0GAA0G;AAC1G,wBAAgB,SAAS,CAAC,GAAG,EAAE,UAAU,GAAG,SAAS,MAAM,EAAE,CAQ5D;AAED,uDAAuD;AACvD,wBAAgB,UAAU,CAAC,IAAI,EAAE,SAAS,UAAU,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAM7E;AAMD;;;;;GAKG;AACH,wBAAgB,SAAS,CACxB,GAAG,EAAE,UAAU,EACf,QAAQ,EAAE,OAAO,EACjB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,GACX,SAAS,CAeX;AAED,uGAAuG;AACvG,wBAAgB,SAAS,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAEtD;AAED,wDAAwD;AACxD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;EAMhB,CAAA;AAEV,oDAAoD;AACpD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;EAKvB,CAAA"}
@@ -38,7 +38,7 @@ import type { HooksConfig } from '../config/schema.js';
38
38
  import type { SandboxSummary } from '../context/sandbox.js';
39
39
  import type { HookActivity } from '../integrations/plugins/hook-activity.js';
40
40
  import { type PermissionMode } from '../permissions/mode.js';
41
- import { type UserCommand } from '../user-commands/store.js';
41
+ import { type ShellExpansion, type UserCommand } from '../user-commands/store.js';
42
42
  import { type ModelRunDeclaration } from './model-run.js';
43
43
  import { type ParsedSlash, parseSlash } from './slash-parse.js';
44
44
  import type { ThemeSetting } from './theme-palettes.js';
@@ -68,6 +68,11 @@ export type SlashAction = {
68
68
  kind: 'peers';
69
69
  args: readonly string[];
70
70
  }
71
+ /** `/team`: the teammates and the team's tasks, or stop one. */
72
+ | {
73
+ kind: 'team';
74
+ args: readonly string[];
75
+ }
71
76
  /** Open the list of this conversation's workflow runs. */
72
77
  | {
73
78
  kind: 'workflows';
@@ -253,7 +258,7 @@ export type SlashAction = {
253
258
  list: boolean;
254
259
  name?: string;
255
260
  } | {
256
- kind: 'skill-picker';
261
+ kind: 'skills-manager';
257
262
  } | {
258
263
  kind: 'load-skill';
259
264
  name: string;
@@ -350,10 +355,6 @@ export type SlashAction = {
350
355
  | {
351
356
  kind: 'copy';
352
357
  }
353
- /** Put a command from the latest answer in the prompt, after `!`, to run it. */
354
- | {
355
- kind: 'run';
356
- }
357
358
  /** Toggle or explicitly select copy-friendly plain transcript rendering. */
358
359
  | {
359
360
  kind: 'raw';
@@ -437,6 +438,8 @@ export type SlashAction = {
437
438
  commandArgs: string;
438
439
  commandSource: string;
439
440
  };
441
+ /** The text still holds shell commands: run them (`session.skillShell`) before it goes on. */
442
+ shell?: ShellExpansion;
440
443
  }
441
444
  /**
442
445
  * Sign in to a subscription without leaving namzu.