@namzu/cli 52.0.0 → 52.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (511) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/bin.d.ts +1 -0
  3. package/dist/bin.d.ts.map +1 -1
  4. package/dist/bin.js +8 -1
  5. package/dist/bin.js.map +2 -2
  6. package/dist/chunks/{acp-GZSHLVZX.js → acp-QNJODJHL.js} +87 -60
  7. package/dist/chunks/{acp-GZSHLVZX.js.map → acp-QNJODJHL.js.map} +1 -1
  8. package/dist/chunks/{activity-command-DRY4O6C7.js → activity-command-EXDEKDLZ.js} +12 -12
  9. package/dist/chunks/{add-RQBESQ6Z.js → add-L6FKDP7N.js} +21 -21
  10. package/dist/chunks/{agent-GLF7GLPC.js → agent-VJRVABX2.js} +40 -40
  11. package/dist/chunks/agent-session-JO5HEUHN.js +73 -0
  12. package/dist/chunks/{apply-at-exit-MWOSCJVT.js → apply-at-exit-OGSLNQHX.js} +8 -8
  13. package/dist/chunks/{archive-XU3MKNSL.js → archive-Z34VDKBO.js} +10 -10
  14. package/dist/chunks/bash-5556UNOY.js +404 -0
  15. package/dist/chunks/bash-5556UNOY.js.map +6 -0
  16. package/dist/chunks/{bin-main-IME4NTUN.js → bin-main-XIAVK2BK.js} +9 -9
  17. package/dist/chunks/{binding-OONLIEMY.js → binding-P5DCYNQG.js} +3 -3
  18. package/dist/chunks/{browser-XWMMPWJ4.js → browser-MEVCXUOS.js} +6 -6
  19. package/dist/chunks/c-SMQ2QLVV.js +304 -0
  20. package/dist/chunks/c-SMQ2QLVV.js.map +6 -0
  21. package/dist/chunks/{chat-4RCY7GY7.js → chat-AQICSI4M.js} +15 -15
  22. package/dist/chunks/{chunk-XO4RLPIW.js → chunk-2RYGHXYK.js} +2 -2
  23. package/dist/chunks/{chunk-VJ7ZCZQ4.js → chunk-33CQRXME.js} +9 -9
  24. package/dist/chunks/{chunk-TRFQXPTZ.js → chunk-467N452A.js} +2 -2
  25. package/dist/chunks/{chunk-M5CYA52R.js → chunk-46EO7Z5W.js} +4 -4
  26. package/dist/chunks/{chunk-YYSSVDZ3.js → chunk-474J6ZI2.js} +2 -2
  27. package/dist/chunks/{chunk-LOURGMN3.js → chunk-47E6HKJT.js} +4 -4
  28. package/dist/chunks/{chunk-JUCOHYKO.js → chunk-4I4BFAV4.js} +2 -2
  29. package/dist/chunks/{chunk-CD45JE7Q.js → chunk-4SC6RBFK.js} +27 -13
  30. package/dist/chunks/{chunk-CD45JE7Q.js.map → chunk-4SC6RBFK.js.map} +1 -1
  31. package/dist/chunks/{chunk-WDFOZDWA.js → chunk-4TS3KCPO.js} +2 -2
  32. package/dist/chunks/{chunk-TGAVBDVI.js → chunk-4XZ67B3M.js} +4 -4
  33. package/dist/chunks/{chunk-D4JAC2TS.js → chunk-5GP2SAXN.js} +4 -4
  34. package/dist/chunks/{chunk-TDERHZPK.js → chunk-625CBBTB.js} +3 -3
  35. package/dist/chunks/{chunk-LMTAEZBP.js → chunk-7OHK3TZD.js} +5 -5
  36. package/dist/chunks/{chunk-I5KVADDV.js → chunk-7OKLSYRU.js} +3 -3
  37. package/dist/chunks/{chunk-TGYT53PO.js → chunk-7UTSUGXV.js} +2 -2
  38. package/dist/chunks/{chunk-HQPVETKK.js → chunk-7ZC4ZAW4.js} +2 -2
  39. package/dist/chunks/{chunk-MLH6LIEQ.js → chunk-A54YZM6S.js} +20 -20
  40. package/dist/chunks/{chunk-ZXXBQLSF.js → chunk-AVPOO4NC.js} +3 -3
  41. package/dist/chunks/{chunk-JRGYUTXM.js → chunk-AXQRLXWR.js} +3 -3
  42. package/dist/chunks/{chunk-VH75W4CX.js → chunk-BCPKC2WP.js} +10 -10
  43. package/dist/chunks/{chunk-WDCBWZ6V.js → chunk-BWHOX7GQ.js} +2 -2
  44. package/dist/chunks/{chunk-IDEENHCZ.js → chunk-CA7QW5JY.js} +2 -2
  45. package/dist/chunks/{chunk-OCUUCP4P.js → chunk-CKL6DYHR.js} +6 -6
  46. package/dist/chunks/{chunk-RJSYFGYO.js → chunk-CKYZQOOB.js} +4 -4
  47. package/dist/chunks/{chunk-O4J3UD4C.js → chunk-CR4ERJTP.js} +2 -2
  48. package/dist/chunks/{chunk-CNYVQMBP.js → chunk-D6M3CBER.js} +5 -5
  49. package/dist/chunks/{chunk-UCISROX2.js → chunk-DC76BQGF.js} +3 -3
  50. package/dist/chunks/{chunk-DL3O5QZQ.js → chunk-DE5AFFGK.js} +2 -2
  51. package/dist/chunks/{chunk-V45XJDX3.js → chunk-DMUQFCYZ.js} +2 -2
  52. package/dist/chunks/{chunk-LVVLXBRD.js → chunk-DVYMOESJ.js} +2 -2
  53. package/dist/chunks/{chunk-IICA4Y2H.js → chunk-ET6Y6QTB.js} +2 -2
  54. package/dist/chunks/{chunk-3PZVYS7P.js → chunk-EY32VJBC.js} +2 -2
  55. package/dist/chunks/{chunk-GD57FLJ6.js → chunk-F2BM7LHM.js} +2 -2
  56. package/dist/chunks/{chunk-V7MBCAP3.js → chunk-F6S3IBNL.js} +2 -2
  57. package/dist/chunks/{chunk-HNRKSWL3.js → chunk-F7JDATG3.js} +4 -4
  58. package/dist/chunks/{chunk-VCMY2BUN.js → chunk-F7XHPIXJ.js} +2 -2
  59. package/dist/chunks/{chunk-SW6TWRX3.js → chunk-FOP7MQEU.js} +5 -5
  60. package/dist/chunks/{chunk-NJBOI7VM.js → chunk-FTVJAKCW.js} +6 -6
  61. package/dist/chunks/{chunk-ET7QIC7S.js → chunk-FZVZJQHL.js} +2 -2
  62. package/dist/chunks/{chunk-2WW5X746.js → chunk-G6MRTDJQ.js} +12 -12
  63. package/dist/chunks/{chunk-VL6N5AEF.js → chunk-G7KLFAVX.js} +2 -2
  64. package/dist/chunks/{chunk-VRORRHPK.js → chunk-HIPITBXZ.js} +3 -3
  65. package/dist/chunks/{chunk-ZHVKBXFG.js → chunk-IN5SOIH6.js} +2 -2
  66. package/dist/chunks/{chunk-GCE2OOL7.js → chunk-IZJ5JESH.js} +7 -7
  67. package/dist/chunks/{chunk-O7FEZN6I.js → chunk-JCIHE3LO.js} +5 -5
  68. package/dist/chunks/{chunk-LP5SU76P.js → chunk-KLUCQZAS.js} +3 -3
  69. package/dist/chunks/{chunk-SOUYLINA.js → chunk-LANIV6OQ.js} +3 -3
  70. package/dist/chunks/{chunk-NNRR53EW.js → chunk-LJNIEZAF.js} +30 -11
  71. package/dist/chunks/{chunk-NNRR53EW.js.map → chunk-LJNIEZAF.js.map} +1 -1
  72. package/dist/chunks/{chunk-USHPWAWT.js → chunk-M7LQ3C6L.js} +2 -2
  73. package/dist/chunks/{chunk-HUVJFACV.js → chunk-MVJXTG2V.js} +4 -4
  74. package/dist/chunks/{chunk-A4VNFRRT.js → chunk-MVVZHKSQ.js} +4 -4
  75. package/dist/chunks/{chunk-C2LZ4PQL.js → chunk-N4JROMUU.js} +2 -2
  76. package/dist/chunks/{chunk-PA7WI43E.js → chunk-NRFNUYVH.js} +5 -5
  77. package/dist/chunks/{chunk-WNBDXO6I.js → chunk-OBA275BH.js} +3 -3
  78. package/dist/chunks/{chunk-SUY6QMOD.js → chunk-OWTWCES3.js} +4 -4
  79. package/dist/chunks/{chunk-UAMQVGGR.js → chunk-PRTQ2L3O.js} +16 -16
  80. package/dist/chunks/{chunk-7OUUT33C.js → chunk-PVHTDN4J.js} +2 -2
  81. package/dist/chunks/{chunk-UHKIQA3I.js → chunk-QALDU3HZ.js} +3 -3
  82. package/dist/chunks/{chunk-NUY3X4CY.js → chunk-QWDCN75Y.js} +2 -2
  83. package/dist/chunks/{chunk-BMMQWTWB.js → chunk-R3BEW6BX.js} +40 -40
  84. package/dist/chunks/{chunk-FKSBLMS6.js → chunk-RX22HLIT.js} +2 -2
  85. package/dist/chunks/{chunk-QLDUL46Z.js → chunk-S2JWPUUH.js} +73 -1
  86. package/dist/chunks/chunk-S2JWPUUH.js.map +6 -0
  87. package/dist/chunks/{chunk-KOAA7NOL.js → chunk-SGFN62CP.js} +2 -2
  88. package/dist/chunks/{chunk-GDC23ATL.js → chunk-SONYUWOD.js} +3 -3
  89. package/dist/chunks/{chunk-5L3MNVYT.js → chunk-SRHEX5JB.js} +5945 -3142
  90. package/dist/chunks/chunk-SRHEX5JB.js.map +6 -0
  91. package/dist/chunks/{chunk-K4FUKV2K.js → chunk-SWUGIHFO.js} +2 -2
  92. package/dist/chunks/{chunk-VEMMS6US.js → chunk-SZXJSTKM.js} +4 -4
  93. package/dist/chunks/{chunk-6IMEYAUA.js → chunk-T2Q6B7IG.js} +6 -6
  94. package/dist/chunks/{chunk-3NFDOR4V.js → chunk-T6ZUFXGP.js} +3 -3
  95. package/dist/chunks/{chunk-Z6L2JR73.js → chunk-TITSLPYI.js} +18 -18
  96. package/dist/chunks/{chunk-37ECJXU5.js → chunk-TUFFLY74.js} +3 -3
  97. package/dist/chunks/{chunk-OCRCL6ZJ.js → chunk-TXLQW4AJ.js} +6 -6
  98. package/dist/chunks/{chunk-GZ44UQZS.js → chunk-U5LAYHN6.js} +6 -6
  99. package/dist/chunks/{chunk-EKYINJHR.js → chunk-UF6F2Z62.js} +3 -3
  100. package/dist/chunks/{chunk-TUZKXKTI.js → chunk-UKOCGHMU.js} +536 -105
  101. package/dist/chunks/chunk-UKOCGHMU.js.map +6 -0
  102. package/dist/chunks/{chunk-JJRAQRIM.js → chunk-USAVWSGJ.js} +3 -3
  103. package/dist/chunks/{chunk-C2OXXOZH.js → chunk-USDNK4TL.js} +9 -9
  104. package/dist/chunks/{chunk-ABFJZT7O.js → chunk-VAXTDL7E.js} +3 -3
  105. package/dist/chunks/{chunk-RYVQYNRB.js → chunk-VMKK6SOW.js} +2 -2
  106. package/dist/chunks/{chunk-5475JD4J.js → chunk-VYUMMKAA.js} +2 -2
  107. package/dist/chunks/{chunk-2IPDTDB3.js → chunk-WD2F6EO3.js} +69 -3
  108. package/dist/chunks/chunk-WD2F6EO3.js.map +6 -0
  109. package/dist/chunks/{chunk-QIMXI2SN.js → chunk-WG6CPS5G.js} +2 -2
  110. package/dist/chunks/{chunk-SG4UN7SW.js → chunk-WSEJK4WO.js} +4 -4
  111. package/dist/chunks/{chunk-UZIVRYFX.js → chunk-WZHS724Y.js} +2 -2
  112. package/dist/chunks/{chunk-CPVM2HQE.js → chunk-YFMR2PV7.js} +2 -2
  113. package/dist/chunks/{chunk-HI7YADBV.js → chunk-YLEBTBWP.js} +3 -3
  114. package/dist/chunks/{chunk-WLVE7H7P.js → chunk-YMMEAXUK.js} +5 -5
  115. package/dist/chunks/{chunk-FPX2KIKV.js → chunk-ZB5RBBVO.js} +3 -3
  116. package/dist/chunks/{chunk-FYWBIH72.js → chunk-ZDEQIXJX.js} +3 -3
  117. package/dist/chunks/{chunk-GQHWZGAE.js → chunk-ZI7BWTPK.js} +4 -4
  118. package/dist/chunks/{chunk-XKUDYXPE.js → chunk-ZIFCQKET.js} +3 -3
  119. package/dist/chunks/{chunk-7VPJL3ND.js → chunk-ZQIWZDPM.js} +2 -2
  120. package/dist/chunks/{cli-runtime-3WQF676K.js → cli-runtime-J5E5XM6I.js} +15 -15
  121. package/dist/chunks/{commands-DKOXQYR7.js → commands-VTKTL26Z.js} +5 -5
  122. package/dist/chunks/core-6GH4J4QJ.js +1647 -0
  123. package/dist/chunks/core-6GH4J4QJ.js.map +6 -0
  124. package/dist/chunks/{cost-V3ZZ5PC3.js → cost-IRSQA4W3.js} +3 -3
  125. package/dist/chunks/cpp-VMCZSFFM.js +553 -0
  126. package/dist/chunks/cpp-VMCZSFFM.js.map +6 -0
  127. package/dist/chunks/{crash-report-JMOZ5QU5.js → crash-report-4RK3TDIG.js} +6 -6
  128. package/dist/chunks/csharp-OVPHVEVY.js +410 -0
  129. package/dist/chunks/csharp-OVPHVEVY.js.map +6 -0
  130. package/dist/chunks/css-RIXPOU7U.js +947 -0
  131. package/dist/chunks/css-RIXPOU7U.js.map +6 -0
  132. package/dist/chunks/diff-IP3Y64PF.js +63 -0
  133. package/dist/chunks/diff-IP3Y64PF.js.map +6 -0
  134. package/dist/chunks/{dist-MUFRASQN.js → dist-3OXE5SY4.js} +2 -2
  135. package/dist/chunks/{dist-GZZLQHI2.js → dist-DZ7AVBME.js} +2 -2
  136. package/dist/chunks/{dist-BSXJR54N.js → dist-FFDAK4ES.js} +2 -2
  137. package/dist/chunks/{dist-AIJ7UHX2.js → dist-IX7VHPCS.js} +2 -2
  138. package/dist/chunks/{dist-EIWG5YKW.js → dist-MFNIF6PB.js} +2 -2
  139. package/dist/chunks/{dist-27XA44IS.js → dist-SRSREGI2.js} +2 -2
  140. package/dist/chunks/{dist-G6SC7KFR.js → dist-XGVPG3SE.js} +2 -2
  141. package/dist/chunks/{dist-TS3C3WUE.js → dist-ZWWZFMZ7.js} +2 -2
  142. package/dist/chunks/dockerfile-DVPABFVZ.js +44 -0
  143. package/dist/chunks/dockerfile-DVPABFVZ.js.map +6 -0
  144. package/dist/chunks/{doctor-SBCHAB7Y.js → doctor-TC5F3XFP.js} +37 -37
  145. package/dist/chunks/{drain-B52VN6MW.js → drain-VINUZDH4.js} +9 -9
  146. package/dist/chunks/{entry-P4XY3I3X.js → entry-UEPUPWGI.js} +7 -7
  147. package/dist/chunks/{eval-AR2LYGYX.js → eval-YTQCMDNP.js} +9 -9
  148. package/dist/chunks/{exec-5KC3ZHCI.js → exec-DGX427HX.js} +57 -57
  149. package/dist/chunks/go-RKN2IZ6A.js +164 -0
  150. package/dist/chunks/go-RKN2IZ6A.js.map +6 -0
  151. package/dist/chunks/graphql-2VQIML4V.js +80 -0
  152. package/dist/chunks/graphql-2VQIML4V.js.map +6 -0
  153. package/dist/chunks/{home-NVZ66WIV.js → home-LOZLKE2R.js} +3 -3
  154. package/dist/chunks/{host-VWE5ZCKS.js → host-KTD5OE67.js} +13 -13
  155. package/dist/chunks/{host-queries-UHWFAWSF.js → host-queries-JPW6LDTA.js} +15 -15
  156. package/dist/chunks/ini-W63MIP5J.js +126 -0
  157. package/dist/chunks/ini-W63MIP5J.js.map +6 -0
  158. package/dist/chunks/java-R4N7OXMG.js +265 -0
  159. package/dist/chunks/java-R4N7OXMG.js.map +6 -0
  160. package/dist/chunks/javascript-26OKUOUQ.js +712 -0
  161. package/dist/chunks/javascript-26OKUOUQ.js.map +6 -0
  162. package/dist/chunks/json-4GADDWNK.js +50 -0
  163. package/dist/chunks/json-4GADDWNK.js.map +6 -0
  164. package/dist/chunks/kotlin-MB7RKXOG.js +265 -0
  165. package/dist/chunks/kotlin-MB7RKXOG.js.map +6 -0
  166. package/dist/chunks/{learn-MAMS2KYE.js → learn-VUJQOB57.js} +11 -11
  167. package/dist/chunks/{learn-builtin-43ORMKQ6.js → learn-builtin-POKSGCNI.js} +14 -14
  168. package/dist/chunks/less-GNSNU2PC.js +1028 -0
  169. package/dist/chunks/less-GNSNU2PC.js.map +6 -0
  170. package/dist/chunks/{lifecycle-E6Q25NRN.js → lifecycle-7BOLGSXR.js} +30 -30
  171. package/dist/chunks/{list-A6ANPXZD.js → list-QTYDGVQY.js} +14 -14
  172. package/dist/chunks/{live-DOFBAOIW.js → live-WTDKDIAG.js} +36 -36
  173. package/dist/chunks/{login-ESRSKSQT.js → login-KTFS33SV.js} +12 -12
  174. package/dist/chunks/{logs-QC7HXNVC.js → logs-2RSTZ4Y5.js} +4 -4
  175. package/dist/chunks/lua-RNOSKZ3S.js +71 -0
  176. package/dist/chunks/lua-RNOSKZ3S.js.map +6 -0
  177. package/dist/chunks/makefile-ZK3QWG3U.js +81 -0
  178. package/dist/chunks/makefile-ZK3QWG3U.js.map +6 -0
  179. package/dist/chunks/markdown-JVOBZC3L.js +242 -0
  180. package/dist/chunks/markdown-JVOBZC3L.js.map +6 -0
  181. package/dist/chunks/{mcp-MT7GCZF4.js → mcp-6QVO6CF6.js} +22 -22
  182. package/dist/chunks/{message-command-4QGVKDZX.js → message-command-LZDQXRHW.js} +46 -46
  183. package/dist/chunks/objectivec-SSOLSTDI.js +253 -0
  184. package/dist/chunks/objectivec-SSOLSTDI.js.map +6 -0
  185. package/dist/chunks/{open-WQIOCAFI.js → open-PJI6LGEB.js} +8 -8
  186. package/dist/chunks/{operator-tools-FUYYWLBF.js → operator-tools-7WLNIRD3.js} +13 -13
  187. package/dist/chunks/{output-schema-DLSVAU3E.js → output-schema-PDWST74V.js} +3 -3
  188. package/dist/chunks/{pal-CH6K6AOY.js → pal-EHDMM5XR.js} +15 -15
  189. package/dist/chunks/{palette-CL5OOYGK.js → palette-GXE6GZA5.js} +4 -4
  190. package/dist/chunks/{peers-ACIYPSC6.js → peers-MCOSOVCD.js} +9 -9
  191. package/dist/chunks/{peers-422VQ3JB.js → peers-XXL4YN6O.js} +6 -6
  192. package/dist/chunks/perl-G647IKFY.js +495 -0
  193. package/dist/chunks/perl-G647IKFY.js.map +6 -0
  194. package/dist/chunks/php-KMB36QTV.js +611 -0
  195. package/dist/chunks/php-KMB36QTV.js.map +6 -0
  196. package/dist/chunks/php-template-56RLSWZJ.js +56 -0
  197. package/dist/chunks/php-template-56RLSWZJ.js.map +6 -0
  198. package/dist/chunks/{plugin-EBAMCU6V.js → plugin-JKJNFSF3.js} +9 -9
  199. package/dist/chunks/powershell-CPSUXW3K.js +266 -0
  200. package/dist/chunks/powershell-CPSUXW3K.js.map +6 -0
  201. package/dist/chunks/{providers-K6MMZPHW.js → providers-2NZ5YDHJ.js} +10 -10
  202. package/dist/chunks/{pty-C6X53LZE.js → pty-QYTCSD7G.js} +3 -3
  203. package/dist/chunks/python-OSTRJJHH.js +425 -0
  204. package/dist/chunks/python-OSTRJJHH.js.map +6 -0
  205. package/dist/chunks/python-repl-LLFK2MIA.js +35 -0
  206. package/dist/chunks/python-repl-LLFK2MIA.js.map +6 -0
  207. package/dist/chunks/r-CJCHZ5CO.js +220 -0
  208. package/dist/chunks/r-CJCHZ5CO.js.map +6 -0
  209. package/dist/chunks/resume-5MSYHNA7.js +23 -0
  210. package/dist/chunks/{resume-command-3KEUH3AR.js → resume-command-KXICGDCC.js} +4 -4
  211. package/dist/chunks/ruby-CFOXHYOD.js +423 -0
  212. package/dist/chunks/ruby-CFOXHYOD.js.map +6 -0
  213. package/dist/chunks/{running-2TVNHNEA.js → running-5FNI2UAN.js} +5 -5
  214. package/dist/chunks/rust-2CAQW5OE.js +323 -0
  215. package/dist/chunks/rust-2CAQW5OE.js.map +6 -0
  216. package/dist/chunks/{schedule-RXJBIGS4.js → schedule-BLLPDUT7.js} +8 -8
  217. package/dist/chunks/scss-BWFJU4ST.js +932 -0
  218. package/dist/chunks/scss-BWFJU4ST.js.map +6 -0
  219. package/dist/chunks/{send-5KYKCNQT.js → send-5B4ROQRC.js} +15 -15
  220. package/dist/chunks/{send-person-HM736POR.js → send-person-5CPYLU6J.js} +13 -13
  221. package/dist/chunks/{service-LLMVVVCA.js → service-E2JXIOD6.js} +30 -30
  222. package/dist/chunks/shell-DRNHCIHJ.js +34 -0
  223. package/dist/chunks/shell-DRNHCIHJ.js.map +6 -0
  224. package/dist/chunks/{skills-7DYMUJUD.js → skills-MJVSGTLM.js} +8 -8
  225. package/dist/chunks/sql-QPNQXTYW.js +655 -0
  226. package/dist/chunks/sql-QPNQXTYW.js.map +6 -0
  227. package/dist/chunks/{start-check-PIE4GVSL.js → start-check-NHTTM354.js} +2 -2
  228. package/dist/chunks/{startup-failure-IKD5HE4L.js → startup-failure-UCPXEDWH.js} +2 -2
  229. package/dist/chunks/{state-WI33ZG7L.js → state-FHGFEIF6.js} +2 -2
  230. package/dist/chunks/{store-MW7VWRCZ.js → store-PL3BXOPA.js} +3 -3
  231. package/dist/chunks/{store-TVYOLQXK.js → store-TVP3LZNP.js} +4 -4
  232. package/dist/chunks/{store-6MGC7SW4.js → store-TXC7F7KD.js} +10 -10
  233. package/dist/chunks/{store-Y6NIDPNM.js → store-XJXBG4MP.js} +6 -6
  234. package/dist/chunks/swift-VA7FJ27U.js +890 -0
  235. package/dist/chunks/swift-VA7FJ27U.js.map +6 -0
  236. package/dist/chunks/{tui-4TUZASW4.js → tui-MYBPZUMK.js} +91 -82
  237. package/dist/chunks/tui-MYBPZUMK.js.map +6 -0
  238. package/dist/chunks/typescript-AD6TOU6X.js +826 -0
  239. package/dist/chunks/typescript-AD6TOU6X.js.map +6 -0
  240. package/dist/chunks/{upgrade-YA5X3E2X.js → upgrade-LG2D66IY.js} +9 -9
  241. package/dist/chunks/vbnet-RRNEF3GL.js +143 -0
  242. package/dist/chunks/vbnet-RRNEF3GL.js.map +6 -0
  243. package/dist/chunks/wasm-4AFLPXP5.js +131 -0
  244. package/dist/chunks/wasm-4AFLPXP5.js.map +6 -0
  245. package/dist/chunks/{watch-AAYQFYRQ.js → watch-E5G5E7SZ.js} +146 -88
  246. package/dist/chunks/watch-E5G5E7SZ.js.map +6 -0
  247. package/dist/chunks/{workspaces-34E5ZLP7.js → workspaces-XNXMVP5C.js} +19 -19
  248. package/dist/chunks/{worktree-FYTSQWTW.js → worktree-2JUYAPLO.js} +12 -12
  249. package/dist/chunks/xml-FZC4FVGO.js +236 -0
  250. package/dist/chunks/xml-FZC4FVGO.js.map +6 -0
  251. package/dist/chunks/yaml-KHJI72O5.js +211 -0
  252. package/dist/chunks/yaml-KHJI72O5.js.map +6 -0
  253. package/dist/commands/watch.d.ts.map +1 -1
  254. package/dist/config/load.d.ts +1 -1
  255. package/dist/config/load.d.ts.map +1 -1
  256. package/dist/config/schema.d.ts +27 -0
  257. package/dist/config/schema.d.ts.map +1 -1
  258. package/dist/config/settings-descriptors.d.ts.map +1 -1
  259. package/dist/index.js +38 -38
  260. package/dist/integrations/sessions/watch-view.d.ts +10 -1
  261. package/dist/integrations/sessions/watch-view.d.ts.map +1 -1
  262. package/dist/integrations/subagents/runtime.d.ts.map +1 -1
  263. package/dist/no-color-env.d.ts +9 -0
  264. package/dist/no-color-env.d.ts.map +1 -0
  265. package/dist/tui/App.d.ts +10 -0
  266. package/dist/tui/App.d.ts.map +1 -1
  267. package/dist/tui/BackgroundAgentRows.d.ts.map +1 -1
  268. package/dist/tui/LiveActivity.d.ts +19 -1
  269. package/dist/tui/LiveActivity.d.ts.map +1 -1
  270. package/dist/tui/Markdown.d.ts +24 -3
  271. package/dist/tui/Markdown.d.ts.map +1 -1
  272. package/dist/tui/PendingInputPanel.d.ts.map +1 -1
  273. package/dist/tui/ReadSearchGroup.d.ts +1 -3
  274. package/dist/tui/ReadSearchGroup.d.ts.map +1 -1
  275. package/dist/tui/Transcript.d.ts +28 -0
  276. package/dist/tui/Transcript.d.ts.map +1 -1
  277. package/dist/tui/TranscriptScrollView.d.ts.map +1 -1
  278. package/dist/tui/agent-calls.d.ts +49 -0
  279. package/dist/tui/agent-calls.d.ts.map +1 -0
  280. package/dist/tui/agent-transcript-rows.d.ts +17 -0
  281. package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
  282. package/dist/tui/agent.d.ts +4 -0
  283. package/dist/tui/agent.d.ts.map +1 -1
  284. package/dist/tui/background-agents.d.ts +22 -2
  285. package/dist/tui/background-agents.d.ts.map +1 -1
  286. package/dist/tui/code-highlight.d.ts +222 -0
  287. package/dist/tui/code-highlight.d.ts.map +1 -0
  288. package/dist/tui/compaction-rows.d.ts +2 -0
  289. package/dist/tui/compaction-rows.d.ts.map +1 -1
  290. package/dist/tui/copy-targets.d.ts.map +1 -1
  291. package/dist/tui/foreground-handoff.d.ts +2 -0
  292. package/dist/tui/foreground-handoff.d.ts.map +1 -1
  293. package/dist/tui/fullscreen/FullscreenTranscript.d.ts +13 -1
  294. package/dist/tui/fullscreen/FullscreenTranscript.d.ts.map +1 -1
  295. package/dist/tui/fullscreen/glide.d.ts +87 -0
  296. package/dist/tui/fullscreen/glide.d.ts.map +1 -0
  297. package/dist/tui/fullscreen/layout.d.ts +11 -2
  298. package/dist/tui/fullscreen/layout.d.ts.map +1 -1
  299. package/dist/tui/fullscreen/markdown-rows.d.ts.map +1 -1
  300. package/dist/tui/fullscreen/paint.d.ts.map +1 -1
  301. package/dist/tui/fullscreen/rows.d.ts +8 -0
  302. package/dist/tui/fullscreen/rows.d.ts.map +1 -1
  303. package/dist/tui/fullscreen/selection.d.ts.map +1 -1
  304. package/dist/tui/fullscreen/viewport.d.ts +4 -1
  305. package/dist/tui/fullscreen/viewport.d.ts.map +1 -1
  306. package/dist/tui/index.d.ts.map +1 -1
  307. package/dist/tui/live-window.d.ts +8 -1
  308. package/dist/tui/live-window.d.ts.map +1 -1
  309. package/dist/tui/markdown-block-cache.d.ts +1 -1
  310. package/dist/tui/markdown-block-cache.d.ts.map +1 -1
  311. package/dist/tui/markdown-fence.d.ts +47 -0
  312. package/dist/tui/markdown-fence.d.ts.map +1 -0
  313. package/dist/tui/markdown-structure.d.ts +22 -0
  314. package/dist/tui/markdown-structure.d.ts.map +1 -1
  315. package/dist/tui/markdownParser.d.ts +43 -2
  316. package/dist/tui/markdownParser.d.ts.map +1 -1
  317. package/dist/tui/new-output.d.ts +60 -0
  318. package/dist/tui/new-output.d.ts.map +1 -0
  319. package/dist/tui/paint/cells.d.ts +31 -0
  320. package/dist/tui/paint/cells.d.ts.map +1 -0
  321. package/dist/tui/paint/live-paint.d.ts +117 -0
  322. package/dist/tui/paint/live-paint.d.ts.map +1 -0
  323. package/dist/tui/read-search-group.d.ts +29 -13
  324. package/dist/tui/read-search-group.d.ts.map +1 -1
  325. package/dist/tui/restored-rows.d.ts +26 -2
  326. package/dist/tui/restored-rows.d.ts.map +1 -1
  327. package/dist/tui/shell-cell.d.ts +23 -0
  328. package/dist/tui/shell-cell.d.ts.map +1 -1
  329. package/dist/tui/stream-flow.d.ts +152 -0
  330. package/dist/tui/stream-flow.d.ts.map +1 -0
  331. package/dist/tui/task-activity.d.ts +2 -0
  332. package/dist/tui/task-activity.d.ts.map +1 -1
  333. package/dist/tui/theme-launch.d.ts +2 -2
  334. package/dist/tui/theme-launch.d.ts.map +1 -1
  335. package/dist/tui/theme-palettes.d.ts +29 -0
  336. package/dist/tui/theme-palettes.d.ts.map +1 -1
  337. package/dist/tui/theme.d.ts +18 -0
  338. package/dist/tui/theme.d.ts.map +1 -1
  339. package/dist/tui/tool-end-rows.d.ts +11 -0
  340. package/dist/tui/tool-end-rows.d.ts.map +1 -1
  341. package/dist/tui/transcript-scroll.d.ts +16 -3
  342. package/dist/tui/transcript-scroll.d.ts.map +1 -1
  343. package/dist/tui/types.d.ts +28 -0
  344. package/dist/tui/types.d.ts.map +1 -1
  345. package/dist/tui/useReadSearchGroup.d.ts.map +1 -1
  346. package/dist/tui/working-line.d.ts +74 -0
  347. package/dist/tui/working-line.d.ts.map +1 -0
  348. package/package.json +6 -5
  349. package/dist/chunks/agent-session-EY2MHANW.js +0 -73
  350. package/dist/chunks/chunk-2IPDTDB3.js.map +0 -6
  351. package/dist/chunks/chunk-5L3MNVYT.js.map +0 -6
  352. package/dist/chunks/chunk-QLDUL46Z.js.map +0 -6
  353. package/dist/chunks/chunk-TUZKXKTI.js.map +0 -6
  354. package/dist/chunks/resume-EDZPKE73.js +0 -23
  355. package/dist/chunks/tui-4TUZASW4.js.map +0 -6
  356. package/dist/chunks/watch-AAYQFYRQ.js.map +0 -6
  357. package/dist/tui/stream-blocks.d.ts +0 -70
  358. package/dist/tui/stream-blocks.d.ts.map +0 -1
  359. /package/dist/chunks/{activity-command-DRY4O6C7.js.map → activity-command-EXDEKDLZ.js.map} +0 -0
  360. /package/dist/chunks/{add-RQBESQ6Z.js.map → add-L6FKDP7N.js.map} +0 -0
  361. /package/dist/chunks/{agent-GLF7GLPC.js.map → agent-VJRVABX2.js.map} +0 -0
  362. /package/dist/chunks/{agent-session-EY2MHANW.js.map → agent-session-JO5HEUHN.js.map} +0 -0
  363. /package/dist/chunks/{apply-at-exit-MWOSCJVT.js.map → apply-at-exit-OGSLNQHX.js.map} +0 -0
  364. /package/dist/chunks/{archive-XU3MKNSL.js.map → archive-Z34VDKBO.js.map} +0 -0
  365. /package/dist/chunks/{bin-main-IME4NTUN.js.map → bin-main-XIAVK2BK.js.map} +0 -0
  366. /package/dist/chunks/{binding-OONLIEMY.js.map → binding-P5DCYNQG.js.map} +0 -0
  367. /package/dist/chunks/{browser-XWMMPWJ4.js.map → browser-MEVCXUOS.js.map} +0 -0
  368. /package/dist/chunks/{chat-4RCY7GY7.js.map → chat-AQICSI4M.js.map} +0 -0
  369. /package/dist/chunks/{chunk-XO4RLPIW.js.map → chunk-2RYGHXYK.js.map} +0 -0
  370. /package/dist/chunks/{chunk-VJ7ZCZQ4.js.map → chunk-33CQRXME.js.map} +0 -0
  371. /package/dist/chunks/{chunk-TRFQXPTZ.js.map → chunk-467N452A.js.map} +0 -0
  372. /package/dist/chunks/{chunk-M5CYA52R.js.map → chunk-46EO7Z5W.js.map} +0 -0
  373. /package/dist/chunks/{chunk-YYSSVDZ3.js.map → chunk-474J6ZI2.js.map} +0 -0
  374. /package/dist/chunks/{chunk-LOURGMN3.js.map → chunk-47E6HKJT.js.map} +0 -0
  375. /package/dist/chunks/{chunk-JUCOHYKO.js.map → chunk-4I4BFAV4.js.map} +0 -0
  376. /package/dist/chunks/{chunk-WDFOZDWA.js.map → chunk-4TS3KCPO.js.map} +0 -0
  377. /package/dist/chunks/{chunk-TGAVBDVI.js.map → chunk-4XZ67B3M.js.map} +0 -0
  378. /package/dist/chunks/{chunk-D4JAC2TS.js.map → chunk-5GP2SAXN.js.map} +0 -0
  379. /package/dist/chunks/{chunk-TDERHZPK.js.map → chunk-625CBBTB.js.map} +0 -0
  380. /package/dist/chunks/{chunk-LMTAEZBP.js.map → chunk-7OHK3TZD.js.map} +0 -0
  381. /package/dist/chunks/{chunk-I5KVADDV.js.map → chunk-7OKLSYRU.js.map} +0 -0
  382. /package/dist/chunks/{chunk-TGYT53PO.js.map → chunk-7UTSUGXV.js.map} +0 -0
  383. /package/dist/chunks/{chunk-HQPVETKK.js.map → chunk-7ZC4ZAW4.js.map} +0 -0
  384. /package/dist/chunks/{chunk-MLH6LIEQ.js.map → chunk-A54YZM6S.js.map} +0 -0
  385. /package/dist/chunks/{chunk-ZXXBQLSF.js.map → chunk-AVPOO4NC.js.map} +0 -0
  386. /package/dist/chunks/{chunk-JRGYUTXM.js.map → chunk-AXQRLXWR.js.map} +0 -0
  387. /package/dist/chunks/{chunk-VH75W4CX.js.map → chunk-BCPKC2WP.js.map} +0 -0
  388. /package/dist/chunks/{chunk-WDCBWZ6V.js.map → chunk-BWHOX7GQ.js.map} +0 -0
  389. /package/dist/chunks/{chunk-IDEENHCZ.js.map → chunk-CA7QW5JY.js.map} +0 -0
  390. /package/dist/chunks/{chunk-OCUUCP4P.js.map → chunk-CKL6DYHR.js.map} +0 -0
  391. /package/dist/chunks/{chunk-RJSYFGYO.js.map → chunk-CKYZQOOB.js.map} +0 -0
  392. /package/dist/chunks/{chunk-O4J3UD4C.js.map → chunk-CR4ERJTP.js.map} +0 -0
  393. /package/dist/chunks/{chunk-CNYVQMBP.js.map → chunk-D6M3CBER.js.map} +0 -0
  394. /package/dist/chunks/{chunk-UCISROX2.js.map → chunk-DC76BQGF.js.map} +0 -0
  395. /package/dist/chunks/{chunk-DL3O5QZQ.js.map → chunk-DE5AFFGK.js.map} +0 -0
  396. /package/dist/chunks/{chunk-V45XJDX3.js.map → chunk-DMUQFCYZ.js.map} +0 -0
  397. /package/dist/chunks/{chunk-LVVLXBRD.js.map → chunk-DVYMOESJ.js.map} +0 -0
  398. /package/dist/chunks/{chunk-IICA4Y2H.js.map → chunk-ET6Y6QTB.js.map} +0 -0
  399. /package/dist/chunks/{chunk-3PZVYS7P.js.map → chunk-EY32VJBC.js.map} +0 -0
  400. /package/dist/chunks/{chunk-GD57FLJ6.js.map → chunk-F2BM7LHM.js.map} +0 -0
  401. /package/dist/chunks/{chunk-V7MBCAP3.js.map → chunk-F6S3IBNL.js.map} +0 -0
  402. /package/dist/chunks/{chunk-HNRKSWL3.js.map → chunk-F7JDATG3.js.map} +0 -0
  403. /package/dist/chunks/{chunk-VCMY2BUN.js.map → chunk-F7XHPIXJ.js.map} +0 -0
  404. /package/dist/chunks/{chunk-SW6TWRX3.js.map → chunk-FOP7MQEU.js.map} +0 -0
  405. /package/dist/chunks/{chunk-NJBOI7VM.js.map → chunk-FTVJAKCW.js.map} +0 -0
  406. /package/dist/chunks/{chunk-ET7QIC7S.js.map → chunk-FZVZJQHL.js.map} +0 -0
  407. /package/dist/chunks/{chunk-2WW5X746.js.map → chunk-G6MRTDJQ.js.map} +0 -0
  408. /package/dist/chunks/{chunk-VL6N5AEF.js.map → chunk-G7KLFAVX.js.map} +0 -0
  409. /package/dist/chunks/{chunk-VRORRHPK.js.map → chunk-HIPITBXZ.js.map} +0 -0
  410. /package/dist/chunks/{chunk-ZHVKBXFG.js.map → chunk-IN5SOIH6.js.map} +0 -0
  411. /package/dist/chunks/{chunk-GCE2OOL7.js.map → chunk-IZJ5JESH.js.map} +0 -0
  412. /package/dist/chunks/{chunk-O7FEZN6I.js.map → chunk-JCIHE3LO.js.map} +0 -0
  413. /package/dist/chunks/{chunk-LP5SU76P.js.map → chunk-KLUCQZAS.js.map} +0 -0
  414. /package/dist/chunks/{chunk-SOUYLINA.js.map → chunk-LANIV6OQ.js.map} +0 -0
  415. /package/dist/chunks/{chunk-USHPWAWT.js.map → chunk-M7LQ3C6L.js.map} +0 -0
  416. /package/dist/chunks/{chunk-HUVJFACV.js.map → chunk-MVJXTG2V.js.map} +0 -0
  417. /package/dist/chunks/{chunk-A4VNFRRT.js.map → chunk-MVVZHKSQ.js.map} +0 -0
  418. /package/dist/chunks/{chunk-C2LZ4PQL.js.map → chunk-N4JROMUU.js.map} +0 -0
  419. /package/dist/chunks/{chunk-PA7WI43E.js.map → chunk-NRFNUYVH.js.map} +0 -0
  420. /package/dist/chunks/{chunk-WNBDXO6I.js.map → chunk-OBA275BH.js.map} +0 -0
  421. /package/dist/chunks/{chunk-SUY6QMOD.js.map → chunk-OWTWCES3.js.map} +0 -0
  422. /package/dist/chunks/{chunk-UAMQVGGR.js.map → chunk-PRTQ2L3O.js.map} +0 -0
  423. /package/dist/chunks/{chunk-7OUUT33C.js.map → chunk-PVHTDN4J.js.map} +0 -0
  424. /package/dist/chunks/{chunk-UHKIQA3I.js.map → chunk-QALDU3HZ.js.map} +0 -0
  425. /package/dist/chunks/{chunk-NUY3X4CY.js.map → chunk-QWDCN75Y.js.map} +0 -0
  426. /package/dist/chunks/{chunk-BMMQWTWB.js.map → chunk-R3BEW6BX.js.map} +0 -0
  427. /package/dist/chunks/{chunk-FKSBLMS6.js.map → chunk-RX22HLIT.js.map} +0 -0
  428. /package/dist/chunks/{chunk-KOAA7NOL.js.map → chunk-SGFN62CP.js.map} +0 -0
  429. /package/dist/chunks/{chunk-GDC23ATL.js.map → chunk-SONYUWOD.js.map} +0 -0
  430. /package/dist/chunks/{chunk-K4FUKV2K.js.map → chunk-SWUGIHFO.js.map} +0 -0
  431. /package/dist/chunks/{chunk-VEMMS6US.js.map → chunk-SZXJSTKM.js.map} +0 -0
  432. /package/dist/chunks/{chunk-6IMEYAUA.js.map → chunk-T2Q6B7IG.js.map} +0 -0
  433. /package/dist/chunks/{chunk-3NFDOR4V.js.map → chunk-T6ZUFXGP.js.map} +0 -0
  434. /package/dist/chunks/{chunk-Z6L2JR73.js.map → chunk-TITSLPYI.js.map} +0 -0
  435. /package/dist/chunks/{chunk-37ECJXU5.js.map → chunk-TUFFLY74.js.map} +0 -0
  436. /package/dist/chunks/{chunk-OCRCL6ZJ.js.map → chunk-TXLQW4AJ.js.map} +0 -0
  437. /package/dist/chunks/{chunk-GZ44UQZS.js.map → chunk-U5LAYHN6.js.map} +0 -0
  438. /package/dist/chunks/{chunk-EKYINJHR.js.map → chunk-UF6F2Z62.js.map} +0 -0
  439. /package/dist/chunks/{chunk-JJRAQRIM.js.map → chunk-USAVWSGJ.js.map} +0 -0
  440. /package/dist/chunks/{chunk-C2OXXOZH.js.map → chunk-USDNK4TL.js.map} +0 -0
  441. /package/dist/chunks/{chunk-ABFJZT7O.js.map → chunk-VAXTDL7E.js.map} +0 -0
  442. /package/dist/chunks/{chunk-RYVQYNRB.js.map → chunk-VMKK6SOW.js.map} +0 -0
  443. /package/dist/chunks/{chunk-5475JD4J.js.map → chunk-VYUMMKAA.js.map} +0 -0
  444. /package/dist/chunks/{chunk-QIMXI2SN.js.map → chunk-WG6CPS5G.js.map} +0 -0
  445. /package/dist/chunks/{chunk-SG4UN7SW.js.map → chunk-WSEJK4WO.js.map} +0 -0
  446. /package/dist/chunks/{chunk-UZIVRYFX.js.map → chunk-WZHS724Y.js.map} +0 -0
  447. /package/dist/chunks/{chunk-CPVM2HQE.js.map → chunk-YFMR2PV7.js.map} +0 -0
  448. /package/dist/chunks/{chunk-HI7YADBV.js.map → chunk-YLEBTBWP.js.map} +0 -0
  449. /package/dist/chunks/{chunk-WLVE7H7P.js.map → chunk-YMMEAXUK.js.map} +0 -0
  450. /package/dist/chunks/{chunk-FPX2KIKV.js.map → chunk-ZB5RBBVO.js.map} +0 -0
  451. /package/dist/chunks/{chunk-FYWBIH72.js.map → chunk-ZDEQIXJX.js.map} +0 -0
  452. /package/dist/chunks/{chunk-GQHWZGAE.js.map → chunk-ZI7BWTPK.js.map} +0 -0
  453. /package/dist/chunks/{chunk-XKUDYXPE.js.map → chunk-ZIFCQKET.js.map} +0 -0
  454. /package/dist/chunks/{chunk-7VPJL3ND.js.map → chunk-ZQIWZDPM.js.map} +0 -0
  455. /package/dist/chunks/{cli-runtime-3WQF676K.js.map → cli-runtime-J5E5XM6I.js.map} +0 -0
  456. /package/dist/chunks/{commands-DKOXQYR7.js.map → commands-VTKTL26Z.js.map} +0 -0
  457. /package/dist/chunks/{cost-V3ZZ5PC3.js.map → cost-IRSQA4W3.js.map} +0 -0
  458. /package/dist/chunks/{crash-report-JMOZ5QU5.js.map → crash-report-4RK3TDIG.js.map} +0 -0
  459. /package/dist/chunks/{dist-MUFRASQN.js.map → dist-3OXE5SY4.js.map} +0 -0
  460. /package/dist/chunks/{dist-GZZLQHI2.js.map → dist-DZ7AVBME.js.map} +0 -0
  461. /package/dist/chunks/{dist-BSXJR54N.js.map → dist-FFDAK4ES.js.map} +0 -0
  462. /package/dist/chunks/{dist-AIJ7UHX2.js.map → dist-IX7VHPCS.js.map} +0 -0
  463. /package/dist/chunks/{dist-EIWG5YKW.js.map → dist-MFNIF6PB.js.map} +0 -0
  464. /package/dist/chunks/{dist-27XA44IS.js.map → dist-SRSREGI2.js.map} +0 -0
  465. /package/dist/chunks/{dist-G6SC7KFR.js.map → dist-XGVPG3SE.js.map} +0 -0
  466. /package/dist/chunks/{dist-TS3C3WUE.js.map → dist-ZWWZFMZ7.js.map} +0 -0
  467. /package/dist/chunks/{doctor-SBCHAB7Y.js.map → doctor-TC5F3XFP.js.map} +0 -0
  468. /package/dist/chunks/{drain-B52VN6MW.js.map → drain-VINUZDH4.js.map} +0 -0
  469. /package/dist/chunks/{entry-P4XY3I3X.js.map → entry-UEPUPWGI.js.map} +0 -0
  470. /package/dist/chunks/{eval-AR2LYGYX.js.map → eval-YTQCMDNP.js.map} +0 -0
  471. /package/dist/chunks/{exec-5KC3ZHCI.js.map → exec-DGX427HX.js.map} +0 -0
  472. /package/dist/chunks/{home-NVZ66WIV.js.map → home-LOZLKE2R.js.map} +0 -0
  473. /package/dist/chunks/{host-VWE5ZCKS.js.map → host-KTD5OE67.js.map} +0 -0
  474. /package/dist/chunks/{host-queries-UHWFAWSF.js.map → host-queries-JPW6LDTA.js.map} +0 -0
  475. /package/dist/chunks/{learn-MAMS2KYE.js.map → learn-VUJQOB57.js.map} +0 -0
  476. /package/dist/chunks/{learn-builtin-43ORMKQ6.js.map → learn-builtin-POKSGCNI.js.map} +0 -0
  477. /package/dist/chunks/{lifecycle-E6Q25NRN.js.map → lifecycle-7BOLGSXR.js.map} +0 -0
  478. /package/dist/chunks/{list-A6ANPXZD.js.map → list-QTYDGVQY.js.map} +0 -0
  479. /package/dist/chunks/{live-DOFBAOIW.js.map → live-WTDKDIAG.js.map} +0 -0
  480. /package/dist/chunks/{login-ESRSKSQT.js.map → login-KTFS33SV.js.map} +0 -0
  481. /package/dist/chunks/{logs-QC7HXNVC.js.map → logs-2RSTZ4Y5.js.map} +0 -0
  482. /package/dist/chunks/{mcp-MT7GCZF4.js.map → mcp-6QVO6CF6.js.map} +0 -0
  483. /package/dist/chunks/{message-command-4QGVKDZX.js.map → message-command-LZDQXRHW.js.map} +0 -0
  484. /package/dist/chunks/{open-WQIOCAFI.js.map → open-PJI6LGEB.js.map} +0 -0
  485. /package/dist/chunks/{operator-tools-FUYYWLBF.js.map → operator-tools-7WLNIRD3.js.map} +0 -0
  486. /package/dist/chunks/{output-schema-DLSVAU3E.js.map → output-schema-PDWST74V.js.map} +0 -0
  487. /package/dist/chunks/{pal-CH6K6AOY.js.map → pal-EHDMM5XR.js.map} +0 -0
  488. /package/dist/chunks/{palette-CL5OOYGK.js.map → palette-GXE6GZA5.js.map} +0 -0
  489. /package/dist/chunks/{peers-ACIYPSC6.js.map → peers-MCOSOVCD.js.map} +0 -0
  490. /package/dist/chunks/{peers-422VQ3JB.js.map → peers-XXL4YN6O.js.map} +0 -0
  491. /package/dist/chunks/{plugin-EBAMCU6V.js.map → plugin-JKJNFSF3.js.map} +0 -0
  492. /package/dist/chunks/{providers-K6MMZPHW.js.map → providers-2NZ5YDHJ.js.map} +0 -0
  493. /package/dist/chunks/{pty-C6X53LZE.js.map → pty-QYTCSD7G.js.map} +0 -0
  494. /package/dist/chunks/{resume-EDZPKE73.js.map → resume-5MSYHNA7.js.map} +0 -0
  495. /package/dist/chunks/{resume-command-3KEUH3AR.js.map → resume-command-KXICGDCC.js.map} +0 -0
  496. /package/dist/chunks/{running-2TVNHNEA.js.map → running-5FNI2UAN.js.map} +0 -0
  497. /package/dist/chunks/{schedule-RXJBIGS4.js.map → schedule-BLLPDUT7.js.map} +0 -0
  498. /package/dist/chunks/{send-5KYKCNQT.js.map → send-5B4ROQRC.js.map} +0 -0
  499. /package/dist/chunks/{send-person-HM736POR.js.map → send-person-5CPYLU6J.js.map} +0 -0
  500. /package/dist/chunks/{service-LLMVVVCA.js.map → service-E2JXIOD6.js.map} +0 -0
  501. /package/dist/chunks/{skills-7DYMUJUD.js.map → skills-MJVSGTLM.js.map} +0 -0
  502. /package/dist/chunks/{start-check-PIE4GVSL.js.map → start-check-NHTTM354.js.map} +0 -0
  503. /package/dist/chunks/{startup-failure-IKD5HE4L.js.map → startup-failure-UCPXEDWH.js.map} +0 -0
  504. /package/dist/chunks/{state-WI33ZG7L.js.map → state-FHGFEIF6.js.map} +0 -0
  505. /package/dist/chunks/{store-6MGC7SW4.js.map → store-PL3BXOPA.js.map} +0 -0
  506. /package/dist/chunks/{store-MW7VWRCZ.js.map → store-TVP3LZNP.js.map} +0 -0
  507. /package/dist/chunks/{store-TVYOLQXK.js.map → store-TXC7F7KD.js.map} +0 -0
  508. /package/dist/chunks/{store-Y6NIDPNM.js.map → store-XJXBG4MP.js.map} +0 -0
  509. /package/dist/chunks/{upgrade-YA5X3E2X.js.map → upgrade-LG2D66IY.js.map} +0 -0
  510. /package/dist/chunks/{workspaces-34E5ZLP7.js.map → workspaces-XNXMVP5C.js.map} +0 -0
  511. /package/dist/chunks/{worktree-FYTSQWTW.js.map → worktree-2JUYAPLO.js.map} +0 -0
@@ -0,0 +1,117 @@
1
+ /**
2
+ * Paints the default screen's live region by what changed.
3
+ *
4
+ * Ink in its plain mode erases the whole live region and writes it again on every frame,
5
+ * and on a resize the app used to clear the terminal and its scrollback and print the whole
6
+ * conversation again. This stream sits between Ink and the terminal and takes over the
7
+ * writing, so that:
8
+ *
9
+ * - a frame writes only the rows, and inside a row only the cells, that differ from what is
10
+ * on screen, and nothing at all when nothing differs;
11
+ * - frames are painted at most `FRAME_MS` apart; the ones in between are folded into the
12
+ * next, and rows meant to be printed once above the region are kept, in order;
13
+ * - a resize is taken from Ink until it has settled, then the region is erased by the number
14
+ * of rows the terminal made of it at the new width, and one whole frame is drawn. Rows
15
+ * already printed above are never touched;
16
+ * - leaving shows the cursor and leaves it at the start of a line under the last frame,
17
+ * also when the process ends without unmounting and when it is continued after a stop.
18
+ *
19
+ * What Ink writes in its plain mode is, between `ESC[?2026h` and `ESC[?2026l`, either one
20
+ * part (the erase of the last frame and the frame) or several (the erase, text to print once,
21
+ * the frame). The frame is the last text part. Ink's own erase counts are ignored: this
22
+ * module keeps its own model of what is on screen. A block of any other shape is passed
23
+ * through whole and the model is dropped.
24
+ *
25
+ * The default screen only. Fullscreen redraws on the alternate screen and keeps Ink's own
26
+ * writer.
27
+ */
28
+ /** The most paints a second. */
29
+ export declare const FRAMES_PER_SECOND = 12;
30
+ export declare const FRAME_MS: number;
31
+ /** A resize is acted on this long after the last event of a burst. */
32
+ export declare const RESIZE_SETTLE_MS = 150;
33
+ /** After Ink is told the new size, frames are held this long so the one drawn at that size lands. */
34
+ export declare const RESIZE_HOLD_MS = 100;
35
+ export interface LivePaintTimers {
36
+ now(): number;
37
+ set(run: () => void, ms: number): unknown;
38
+ clear(handle: unknown): void;
39
+ }
40
+ export interface LivePaintOptions {
41
+ /** Whether Ink's output is being mirrored elsewhere (the workspaces screen): written as Ink wrote it. */
42
+ readonly bypass?: () => boolean;
43
+ readonly timers?: LivePaintTimers;
44
+ /** The process the hooks go on; none for a test that has its own. */
45
+ readonly process?: Pick<NodeJS.Process, 'on' | 'off'> | null;
46
+ }
47
+ export interface LivePaint {
48
+ /** What Ink is mounted on. */
49
+ readonly stream: NodeJS.WriteStream;
50
+ /** Paints whatever is waiting, now. */
51
+ flush(): void;
52
+ /** Paints what is waiting, shows the cursor, and lets go of the terminal. */
53
+ dispose(): void;
54
+ }
55
+ /**
56
+ * The write that turns the rows on screen into `next`: a cursor at the start of the line
57
+ * under `shown`, and left at the start of the line under `next`.
58
+ */
59
+ export declare function paintChange(shown: readonly string[], next: readonly string[]): string;
60
+ /**
61
+ * Whether a frame that is shorter than the one on screen only lost rows above its bottom: the rows
62
+ * above its last one are the old frame's rows at the same distance from the end. The working line,
63
+ * the live end of a reply, the plan and the calls above the input box leave this way when a turn
64
+ * ends (the last row, the status line, is not compared: it says other things between turns); a
65
+ * menu closing under the box does not.
66
+ */
67
+ export declare function lostRowsAbove(shown: readonly string[], next: readonly string[]): boolean;
68
+ /**
69
+ * A region that kept its height while it lost rows above its bottom: the screen holds `height`
70
+ * rows however many rows Ink draws, and the blank rows that make up the difference lie just above
71
+ * the last `suffix` rows (the input box and the status line), so the box keeps its place.
72
+ */
73
+ export interface Pin {
74
+ readonly height: number;
75
+ /** The rows Ink last drew, without the blank rows. */
76
+ readonly ink: readonly string[];
77
+ readonly suffix: number;
78
+ }
79
+ /** `rows` with the blank rows of `pin` put above its last `suffix` rows. */
80
+ export declare function pinnedRows(rows: readonly string[], pin: Pin | null): readonly string[];
81
+ /**
82
+ * The turn ended: the working line, the plan and the calls are about to leave the live region.
83
+ * With `NAMZU_BOX_AT_BOTTOM=1` in the environment, the next time the region gets shorter by rows
84
+ * above its bottom it keeps its height, so the input box stays where it was while the turn ran.
85
+ * Without it (the default) the box rests where the shorter region ends, right under the last
86
+ * reply. Called from the render that shows the idle state, so it is known before the frame that
87
+ * shrinks is painted.
88
+ */
89
+ export declare function noteTurnEnded(): void;
90
+ /** A turn began: nothing is waiting to be pinned. */
91
+ export declare function noteTurnStarted(): void;
92
+ /**
93
+ * What the pin is after a frame. A region that loses rows above its bottom right after a turn
94
+ * ended (`start`) starts one, at the height it had; while it lasts, frames of the same height change the rows in place and a frame
95
+ * that is taller or shorter with the same last rows keeps the height; any other frame (a menu
96
+ * opening, a taller region than the pinned height) lets it go, and so does a resize or a clear.
97
+ */
98
+ export declare function nextPin(pin: Pin | null, shown: readonly string[], rows: readonly string[], screenRows: number, start: boolean): Pin | null;
99
+ /**
100
+ * What starts the terminal UI on a fresh line without erasing anything: nothing shows when the cursor
101
+ * is already at the start of a line; when a program left it mid-line, a mark ends that line (as shells
102
+ * do) and the cursor lands at the start of the next one. Never a newline written blindly, which
103
+ * would leave a blank line under every normal launch.
104
+ */
105
+ export declare function startOnFreshLine(columns: number): string;
106
+ /**
107
+ * How many lines at the start of `all` are already in the terminal's scrollback. A terminal that
108
+ * is made shorter than the region it holds pushes the region's top rows into scrollback before
109
+ * they can be erased; when the lines about to be written start with exactly those rows (the rows
110
+ * of the old region, then the ones printed since), writing them again would print them twice.
111
+ * Zero when the terminal did not do that or the lines are not those rows.
112
+ */
113
+ export declare function linesAlreadyScrolled(shown: readonly string[], all: readonly string[], regionRows: number, screenRows: number, columns: number): number;
114
+ /** How many rows `rows` take on a terminal `columns` wide that has reflowed them. */
115
+ export declare function reflowedRows(rows: readonly string[], columns: number): number;
116
+ export declare function createLivePaint(target: NodeJS.WriteStream, options?: LivePaintOptions): LivePaint;
117
+ //# sourceMappingURL=live-paint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"live-paint.d.ts","sourceRoot":"","sources":["../../../src/tui/paint/live-paint.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAeH,gCAAgC;AAChC,eAAO,MAAM,iBAAiB,KAAK,CAAA;AACnC,eAAO,MAAM,QAAQ,QAA2B,CAAA;AAChD,sEAAsE;AACtE,eAAO,MAAM,gBAAgB,MAAM,CAAA;AACnC,qGAAqG;AACrG,eAAO,MAAM,cAAc,MAAM,CAAA;AAYjC,MAAM,WAAW,eAAe;IAC/B,GAAG,IAAI,MAAM,CAAA;IACb,GAAG,CAAC,GAAG,EAAE,MAAM,IAAI,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAA;IACzC,KAAK,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAA;CAC5B;AAED,MAAM,WAAW,gBAAgB;IAChC,yGAAyG;IACzG,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,OAAO,CAAA;IAC/B,QAAQ,CAAC,MAAM,CAAC,EAAE,eAAe,CAAA;IACjC,qEAAqE;IACrE,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,GAAG,KAAK,CAAC,GAAG,IAAI,CAAA;CAC5D;AAED,MAAM,WAAW,SAAS;IACzB,8BAA8B;IAC9B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,WAAW,CAAA;IACn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AM,EAClB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,GACb,MAAM,CAQR;AAED,qFAAqF;AACrF,wBAAgB,YAAY,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAK7E;AAED,wBAAgB,eAAe,CAC9B,MAAM,EAAE,MAAM,CAAC,WAAW,EAC1B,OAAO,GAAE,gBAAqB,GAC5B,SAAS,CAiVX"}
@@ -46,29 +46,21 @@ export interface GroupState {
46
46
  readonly commands: readonly string[];
47
47
  /** The row of the one command, while the group holds that and nothing else. */
48
48
  readonly cell?: CommandCell;
49
- /** The hint on screen, and the newest one held back until the interval ends. */
49
+ /** The newest call's hint, drawn under the line while the group is open. */
50
50
  readonly hintShown?: string;
51
- readonly hintShownAt?: number;
52
- readonly hintQueued?: string;
53
51
  }
54
52
  export declare const EMPTY_GROUP: GroupState;
55
- /** The shown hint changes at most this often; the first one is immediate. */
56
- export declare const HINT_INTERVAL_MS = 700;
57
53
  /** A hint is cut at this many characters. */
58
54
  export declare const HINT_MAX_CHARS = 300;
59
55
  /** Add one call. Counts only ever go up, so a failed call never makes a number drop. */
60
- export declare function foldOp(state: GroupState, op: FoldOp, now: number): GroupState;
56
+ export declare function foldOp(state: GroupState, op: FoldOp): GroupState;
61
57
  /** A group that is one command and nothing else: drawn as that command's row. */
62
58
  export declare function isOneCommand(state: GroupState | undefined): state is GroupState & {
63
59
  readonly cell: CommandCell;
64
60
  };
65
- /** The hint to draw at `now`: the shown one, or the held one once its interval has passed. */
66
- export declare function visibleHint(state: GroupState, now: number): string | undefined;
67
- /**
68
- * The rows of the hint under a live group, for the height estimate: the longest
69
- * of the hint on screen and the one held for its interval, so the estimate is
70
- * right whichever shows.
71
- */
61
+ /** The hint to draw: the latest item the open group has started. */
62
+ export declare function visibleHint(state: GroupState): string | undefined;
63
+ /** The rows of the hint under a live group, for the height estimate. */
72
64
  export declare function hintRows(state: GroupState): readonly string[];
73
65
  /** Two groups that sat next to each other, as one. Hints belong to a live run and are dropped. */
74
66
  export declare function mergeGroups(a: GroupState, b: GroupState): GroupState;
@@ -126,5 +118,29 @@ export interface FoldCall {
126
118
  }
127
119
  /** What a call is to the fold, or undefined when it stays a row of its own. */
128
120
  export declare function classifyCall(call: FoldCall): FoldOp | undefined;
121
+ /** What a version-control command did, for the counted line. */
122
+ export type VcsAction = 'commit' | 'amend' | 'push' | 'create-branch' | 'switch-branch' | 'merge' | 'rebase' | 'pr-open' | 'pr-merge';
123
+ /** The actions in the order the line prints them. */
124
+ export declare const VCS_ACTIONS: readonly VcsAction[];
125
+ /**
126
+ * The version-control actions one successful command line took, and whether
127
+ * the line is nothing but those and harmless pieces around them (so it needs
128
+ * no place of its own in the "ran N commands" count).
129
+ *
130
+ * Only a command word of `git` or `gh` counts, read from the unquoted text
131
+ * after environment assignments and global options; text inside quotes is
132
+ * never a command. Only a chain joined by `&&` is read, because with `;`, `||`
133
+ * or a pipe a successful end does not say every piece succeeded. Anything not
134
+ * known stays a plain command: when in doubt, count less.
135
+ */
136
+ export declare function vcsActions(command: string): {
137
+ readonly actions: readonly VcsAction[];
138
+ readonly absorbed: boolean;
139
+ };
140
+ /** The actions of every command in a group, counted, and how many commands those commands account for. */
141
+ export declare function vcsTally(commands: readonly string[]): {
142
+ readonly counts: Readonly<Record<VcsAction, number>>;
143
+ readonly absorbed: number;
144
+ };
129
145
  export {};
130
146
  //# sourceMappingURL=read-search-group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"read-search-group.d.ts","sourceRoot":"","sources":["../../src/tui/read-search-group.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAElD,oCAAoC;AACpC,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,CAAA;AAEjE;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC3B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UAAU,CAAA;AAEb,qDAAqD;AACrD,eAAO,MAAM,WAAW,EAAE,SAAS,SAAS,EAU3C,CAAA;AAwXD;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG;IAC5C,QAAQ,CAAC,OAAO,EAAE,SAAS,SAAS,EAAE,CAAA;IACtC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;CAC1B,CAaA;AAED,0GAA0G;AAC1G,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG;IACtD,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,CAAA;IACpD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;CACzB,CAmBA"}
@@ -105,7 +105,31 @@ export declare function numberDetailRows(rows: readonly TranscriptMessage[]): re
105
105
  /** What an agent that ended leaves in the conversation, as the live run wrote it. */
106
106
  export declare function agentCompletionRows(agent: SubagentActivity,
107
107
  /** The reason this agent's last failure notice gave: the same reason again reads `failed again`. */
108
- previousFailure?: string): readonly ToolRow[];
108
+ previousFailure?: string,
109
+ /** Whether a waited-on agent's Done row opens to its calls (`tui.agentCalls`). */
110
+ withCalls?: boolean): readonly ToolRow[];
111
+ /**
112
+ * The waited-on agents of a settled batch that one block stands for: two or
113
+ * more that completed and handed their result back inline, once nothing in the
114
+ * batch is still running. Empty otherwise (a lone one keeps its Done row, and a
115
+ * failed or stopped one always keeps its own row).
116
+ */
117
+ export declare function blockedAgents(members: readonly SubagentActivity[],
118
+ /** `tui.agentCalls`: off keeps every agent's own rows. */
119
+ enabled?: boolean): readonly SubagentActivity[];
120
+ /**
121
+ * Whether a waited-on agent that has finished writes nothing yet: it is one of several in a batch
122
+ * that still has a member running, and the batch ends as one block (or each keeps its Done row).
123
+ * Never with `tui.agentCalls` off, which keeps each agent's own rows as they end.
124
+ */
125
+ export declare function holdsForBatch(agent: SubagentActivity, members: readonly SubagentActivity[], batchStillLive: boolean, enabled?: boolean): boolean;
126
+ /**
127
+ * What a batch leaves when it has settled: its receipt (left out when the
128
+ * block says the same thing) and the block of the waited-on agents that
129
+ * finished. The live run and a reopened conversation both build the rows here,
130
+ * so the two cannot differ.
131
+ */
132
+ export declare function settledBatchRows(members: readonly SubagentActivity[], enabled?: boolean): readonly ToolRow[];
109
133
  /** The launch receipt of one batch of agents. */
110
134
  export declare function agentLaunchRow(members: readonly SubagentActivity[]): ToolRow;
111
135
  /** The line a settled workflow leaves. */
@@ -115,6 +139,6 @@ export declare function workflowClosingRow(workflow: Parameters<typeof workflowN
115
139
  * children are known. A marker left by the projection says which turn's
116
140
  * agents go where; a marker whose agents are not (yet) known stays.
117
141
  */
118
- export declare function withSavedAgentRows(rows: readonly TranscriptMessage[], agents: readonly SubagentActivity[], nextId: () => string): readonly TranscriptMessage[];
142
+ export declare function withSavedAgentRows(rows: readonly TranscriptMessage[], agents: readonly SubagentActivity[], nextId: () => string, calls?: boolean): readonly TranscriptMessage[];
119
143
  export {};
120
144
  //# sourceMappingURL=restored-rows.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"restored-rows.d.ts","sourceRoot":"","sources":["../../src/tui/restored-rows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEX,OAAO,EAEP,aAAa,EACb,QAAQ,EAER,aAAa,EACb,WAAW,EACX,MAAM,YAAY,CAAA;AASnB,OAAO,EAEN,KAAK,gBAAgB,EACrB,MAAM,uCAAuC,CAAA;AAK9C,OAAO,EAON,cAAc,EACd,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAE,KAAK,UAAU,EAAoC,MAAM,sBAAsB,CAAA;AACxF,OAAO,EACN,KAAK,gBAAgB,EAErB,KAAK,cAAc,EAInB,MAAM,mBAAmB,CAAA;AAG1B,OAAO,EAAqB,KAAK,OAAO,EAA+B,MAAM,oBAAoB,CAAA;AAEjG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY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O,CAO5E;AAED,0CAA0C;AAC1C,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO,CAa1F;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CACjC,IAAI,EAAE,SAAS,iBAAiB,EAAE,EAClC,MAAM,EAAE,SAAS,gBAAgB,EAAE,EACnC,MAAM,EAAE,MAAM,MAAM,EACpB,KAAK,UAAO,GACV,SAAS,iBAAiB,EAAE,CA4C9B"}
@@ -100,6 +100,29 @@ export declare function shellCollapses(shell: ShellOutput | undefined): boolean;
100
100
  export declare function shellPlainLines(shell: ShellOutput): string[];
101
101
  /** The live rows under a running call's header. `tail` is the output seen so far. */
102
102
  export declare function shellRunningRows(tail: readonly string[], elapsed: string, timeout?: string): ShellRow[];
103
+ /** A time limit as a person says it: `30s`, `2m`, `1m 30s`. */
104
+ export declare function formatLimit(ms: number): string;
105
+ export interface ShellFooterInput {
106
+ readonly elapsed: string;
107
+ /** The limit the call asked for, in ms; absent when it asked for none. */
108
+ readonly timeoutMs?: number | undefined;
109
+ /** Lines of output so far, as the tool counted them; absent when it does not count. */
110
+ readonly outputLines?: number | undefined;
111
+ /** Output rows the live view shows. */
112
+ readonly shownRows: number;
113
+ /** The words for moving the command to the background, when that is possible now. */
114
+ readonly backgroundHint?: string | undefined;
115
+ /** Say `Running…` first: there is no output row above to say the command is alive. */
116
+ readonly leadRunning?: boolean | undefined;
117
+ }
118
+ /**
119
+ * The one dim line under a running command's output. It is there from the
120
+ * first moment and keeps its place, so nothing under it moves: the clock, the
121
+ * limit when one is set, how many lines the command has printed and how many of
122
+ * them are above the rows shown, and the background hint on the same line when
123
+ * it applies.
124
+ */
125
+ export declare function shellFooter(input: ShellFooterInput): string;
103
126
  /** Colour of one shell result row. */
104
127
  export declare function shellToneColor(tone: ShellTone): string;
105
128
  //# sourceMappingURL=shell-cell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sh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AuF;IACvF,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzC,uCAAuC;IACvC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,qFAAqF;IACrF,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5C,sFAAsF;IACtF,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAC1C;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,GAAG,MAAM,CAY3D;AAED,sCAAsC;AACtC,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAStD"}
@@ -0,0 +1,152 @@
1
+ /**
2
+ * How a reply is drawn while it is being written.
3
+ *
4
+ * ## Two halves
5
+ *
6
+ * **What is drawn of the tail.** {@link tailView} takes the text of the reply
7
+ * that is not printed yet and returns what may be drawn of it now: the text as
8
+ * far as it is decided, and nothing past that. Nothing that could still become
9
+ * something else is drawn as what it is not (see the rule per construct on
10
+ * `tailView`), so no raw marker is shown and then replaced.
11
+ *
12
+ * **What is printed.** {@link freezeMore} finds the part of the tail that is
13
+ * final, and cuts it off into a {@link PrintedChunk}. A chunk is rendered by
14
+ * the same Markdown the whole reply used to be rendered by, told only how it
15
+ * joins the one before it, so the rows of all the chunks together are the rows
16
+ * the whole reply has. `stream-flow.test.tsx` renders a corpus both ways and
17
+ * holds the two equal at every position.
18
+ *
19
+ * Pure, so every rule here is a test rather than a hope.
20
+ */
21
+ import type { CodeFlow } from './code-highlight.js';
22
+ import type { MdBlockType, PrintedChunk, TranscriptMessage } from './types.js';
23
+ /** The tail is redrawn at most this often: about twelve times a second. */
24
+ export declare const PACE_MS = 80;
25
+ export type PaceDecision = {
26
+ readonly action: 'flush';
27
+ } | {
28
+ readonly action: 'arm';
29
+ readonly delay: number;
30
+ } | {
31
+ readonly action: 'wait';
32
+ };
33
+ /**
34
+ * What to do with text that has just arrived.
35
+ *
36
+ * Flush at once when the last redraw was long enough ago, so the first words of
37
+ * a reply appear with no wait; otherwise arm the one timer that carries
38
+ * everything arriving before it to the next redraw. The timer exists only while
39
+ * something is waiting: with nothing arriving there is nothing to fire.
40
+ */
41
+ export declare function paceDecision(now: number, lastFlushAt: number | undefined, timerArmed: boolean): PaceDecision;
42
+ /**
43
+ * What the printing of a reply needs of the syntax colouring, handed in by the screen
44
+ * that has it (`code-highlight.ts`): this module reads nothing of the highlighter itself.
45
+ */
46
+ export interface CodeHooks {
47
+ /** False while the grammar of that language is still being read: its rows are not printed yet. */
48
+ readonly ready: (lang: string | undefined) => boolean;
49
+ /** What the code after `lines` starts from, given what it started from before them. */
50
+ readonly next: (lang: string | undefined, flow: CodeFlow, lines: readonly string[]) => CodeFlow;
51
+ /** Lines of the reply that have just ended: start reading the grammars of the fences among them. */
52
+ readonly opened: (lines: string) => void;
53
+ }
54
+ export interface FlowContext {
55
+ /** Freeze and print finished parts. Off in fullscreen and raw mode. */
56
+ readonly freeze: boolean;
57
+ /** Cells the reply's text has (the transcript's content width). */
58
+ readonly width: number;
59
+ /** Terminal height, to bound the live part. */
60
+ readonly rows: number;
61
+ readonly hyperlinks: boolean;
62
+ /** The syntax colouring, when the screen draws it. */
63
+ readonly code?: CodeHooks;
64
+ }
65
+ /**
66
+ * The height a reply's live part reckons with: the terminal's, less the rows the live region
67
+ * holds besides it (the plan under the working line, the running calls, a queued message).
68
+ * Without that the part kept live plus these rows could be as tall as the terminal.
69
+ */
70
+ export declare function flowRows(terminalRows: number, otherRows: number): number;
71
+ /** Where the tail begins: how it joins what was printed before it. */
72
+ export interface TailState {
73
+ readonly join: 'block' | 'text' | 'code';
74
+ readonly lang?: string;
75
+ /** The opening fence line of the block a `code` tail continues. */
76
+ readonly fence?: string;
77
+ /** The block before the tail's first block, for the blank row between them. */
78
+ readonly lead: MdBlockType | null;
79
+ /** What the code in the tail starts from; see `PrintedChunk.next`. */
80
+ readonly flow?: CodeFlow;
81
+ }
82
+ export declare function tailStateOf(printed: readonly PrintedChunk[] | undefined): TailState;
83
+ export declare function printedLength(printed: readonly PrintedChunk[] | undefined): number;
84
+ /** A reply that is only prose and code: the one kind that is cut into printed parts. */
85
+ export declare function isPlainReply(m: TranscriptMessage): boolean;
86
+ /**
87
+ * Cut the final parts off the tail, as many chunks as there are.
88
+ *
89
+ * Returns the new list of chunks, or `undefined` when nothing froze.
90
+ */
91
+ export declare function freezeMore(content: string, printed: readonly PrintedChunk[], ctx: FlowContext): readonly PrintedChunk[] | undefined;
92
+ /** `m` with `delta` appended, and whatever has become final printed. */
93
+ export declare function appendReply(m: TranscriptMessage, delta: string, ctx: FlowContext | undefined): TranscriptMessage;
94
+ export declare function chunksText(printed: readonly PrintedChunk[]): string;
95
+ /**
96
+ * What of the tail may be drawn while the reply is still being written.
97
+ *
98
+ * The rule per construct (a held thing is not drawn at all, never drawn as the
99
+ * source it will stop being):
100
+ *
101
+ * - prose (a paragraph, a list item, a heading, a quote): whole words; the
102
+ * word still arriving waits for its space;
103
+ * - an opening `` ` ``, `[`, `**`, `*`, `__` or `_` that has not closed: the
104
+ * text from it on waits for its closer (the reader pairs a lone `*` with a
105
+ * later one wherever it stands, so a lone `*` waits too; a wait is let go
106
+ * after 300 characters, past which it is taken for a literal);
107
+ * - a line of only `-`, `*`, `_`, `+`, `=`, digits (with `.` or `)`) or `#`,
108
+ * still arriving: waits until the line ends or text follows, since it may be
109
+ * a rule, a list marker, a heading or an underline;
110
+ * - the first one or two characters of a fence (`` ` `` or `~`) at the start of a
111
+ * line: wait, since a third makes the line a fence;
112
+ * - a fence opener line: waits for its end (it may be inline code); inside an
113
+ * open fence the code is drawn as code a line at a time;
114
+ * - a table: its header waits for the separator line to end; then the header
115
+ * and every complete row are drawn and a half-written row waits;
116
+ * - the end of the turn holds nothing: the caller draws the whole text.
117
+ */
118
+ export declare function tailView(tail: string, state: TailState): string;
119
+ /**
120
+ * A reply cut off in a table. Its last row, if it was still being written, is not a row: drawn as one
121
+ * its missing cells would read as empty data. The table ends at its last whole row, and what was written
122
+ * of the unfinished one stays under it as a line of plain text (it is what the model wrote, and it is in
123
+ * the record). A whole last row, a finished table and anything that is not a table are kept as they are.
124
+ */
125
+ export declare function endTableAtWholeRow(content: string): string;
126
+ /** The pieces a message is drawn from: printed chunks, then the live tail. */
127
+ export interface ReplyPiece {
128
+ readonly text: string;
129
+ readonly join: 'block' | 'text' | 'code';
130
+ readonly lang?: string;
131
+ readonly fence?: string;
132
+ readonly lead: MdBlockType | null;
133
+ readonly first: boolean;
134
+ /** What this part's code starts from; absent where the reply is printed without syntax colour. */
135
+ readonly flow?: CodeFlow;
136
+ }
137
+ export declare function printedPieces(printed: readonly PrintedChunk[]): ReplyPiece[];
138
+ /**
139
+ * The part of a reply that is not printed: the live tail while it streams, the
140
+ * rest of it once it has finished. `undefined` when there is nothing to draw.
141
+ */
142
+ export declare function tailPiece(message: TranscriptMessage): ReplyPiece | undefined;
143
+ /** Said under a reply whose printed parts could not be taken back. */
144
+ export declare const DROPPED_REPLY_NOTICE = "The reply above was dropped; the answer starts again below.";
145
+ /**
146
+ * A reply whose request started over. One that has printed nothing is removed.
147
+ * Parts already printed are in the scrollback and cannot be taken back: the
148
+ * reply stays as written, ends where it was, and a notice says it was dropped,
149
+ * so the screen does not read as the same answer twice.
150
+ */
151
+ export declare function voidReply(messages: readonly TranscriptMessage[], abandoned: string, note: () => TranscriptMessage): TranscriptMessage[];
152
+ //# sourceMappingURL=stream-flow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stream-flow.d.ts","sourceRoot":"","sources":["../../src/tui/stream-flow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAOnD,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE9E,2EAA2E;AAC3E,eA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B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;IACxC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CAAA;IACjC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;IACvB,kGAAkG;IAClG,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAA;CACxB;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,SAAS,YAAY,EAAE,GAAG,UAAU,EAAE,CAe5E;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,OAAO,EAAE,iBAAiB,GAAG,UAAU,GAAG,SAAS,CAkB5E;AAED,sEAAsE;AACtE,eAAO,MAAM,oBAAoB,gEAAgE,CAAA;AAEjG;;;;;GAKG;AACH,wBAAgB,SAAS,CACxB,QAAQ,EAAE,SAAS,iBAAiB,EAAE,EACtC,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,iBAAiB,GAC3B,iBAAiB,EAAE,CAIrB"}
@@ -20,6 +20,8 @@
20
20
  import { type ChecklistItem } from './Checklist.js';
21
21
  import type { TranscriptMessage } from './types.js';
22
22
  export declare function isTaskTool(toolName: string): boolean;
23
+ /** What the working detail says while a planning call runs: plain words, never the call's own text. */
24
+ export declare function taskCallLabel(toolName: string): string;
23
25
  export type TaskOperationKind = 'added' | 'started' | 'completed' | 'failed' | 'reopened' | 'renamed' | 'removed';
24
26
  export interface TaskOperation {
25
27
  readonly kind: TaskOperationKind;
@@ -1 +1 @@
1
- {"version":3,"file":"task-activity.d.ts","sourceRoot":"","sources":["../../src/tui/task-activity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,KAAK,aAAa,EAA2C,MAAM,gB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* The theme, motion and code colour the terminal UI starts with, from the user config.
3
3
  * For `auto`, the terminal is asked for its background colour once, before the
4
4
  * UI takes over the keyboard; no answer within a moment means the environment's
5
5
  * hint, then dark.
@@ -12,5 +12,5 @@ export declare const BACKGROUND_QUERY_WAIT_MS = 250;
12
12
  * Returns nothing to wait for unless the terminal has to be asked, so the
13
13
  * ordinary start does not yield before the UI mounts.
14
14
  */
15
- export declare function applyLaunchTheme(tui: Pick<TuiConfig, 'theme' | 'reducedMotion'> | undefined, streams: BackgroundQueryStreams | undefined, env?: NodeJS.ProcessEnv): Promise<void> | undefined;
15
+ export declare function applyLaunchTheme(tui: Pick<TuiConfig, 'theme' | 'reducedMotion' | 'syntaxHighlight'> | undefined, streams: BackgroundQueryStreams | undefined, env?: NodeJS.ProcessEnv): Promise<void> | undefined;
16
16
  //# sourceMappingURL=theme-launch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"theme-launch.d.ts","sourceRoot":"","sources":["../../src/tui/theme-launch.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAEpD,OAAO,EACN,KAAK,sBAAsB,EAG3B,MAAM,mBAAmB,CAAA;AAG1B,gEAAgE;AAChE,eAAO,MAAM,wBAAwB,MAAM,CAAA;AAE3C;;;GAGG;AACH,wBAAgB,gBAAgB,CAC/B,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,eAAe,CAAC,GAAG,SAAS,EAC3D,OAAO,EAAE,sBAAsB,GAAG,SAAS,EAC3C,GAAG,GAAE,MAAM,CAAC,UAAwB,GAClC,OAAO,CAAC,IAAI,CAAC,GAAG,SAAS,CAgB3B"}
1
+ {"version":3,"file":"theme-launch.d.ts","sourceRoot":"","sources":["../../src/tui/theme-launch.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAGpD,OAAO,EACN,KAAK,sBAAsB,EAG3B,MAAM,mBAAmB,CAAA;AAG1B,gEAAgE;AAChE,eAAO,MAAM,wBAAwB,MAAM,CAAA;AAE3C;;;GAGG;AACH,wBAAgB,gBAAgB,CAC/B,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,eAAe,GAAG,iBAAiB,CAAC,GAAG,SAAS,EAC/E,OAAO,EAAE,sBAAsB,GAAG,SAAS,EAC3C,GAAG,GAAE,MAAM,CAAC,UAAwB,GAClC,OAAO,CAAC,IAAI,CAAC,GAAG,SAAS,CAiB3B"}
@@ -69,6 +69,26 @@ export interface SemanticColors {
69
69
  readonly default: string;
70
70
  readonly focus: string;
71
71
  };
72
+ /**
73
+ * The colours of syntax in a fenced code block. Every other character of a block
74
+ * that has a language is drawn in `text.primary`; a block without one stays in
75
+ * one accent colour. `added` and `removed` colour a whole line of a diff block,
76
+ * which also begins with `+` or `-`, so the colour is never the only sign.
77
+ */
78
+ readonly code: {
79
+ readonly keyword: string;
80
+ readonly string: string;
81
+ readonly number: string;
82
+ readonly comment: string;
83
+ /** The name of a function, method or attribute. */
84
+ readonly name: string;
85
+ /** The name of a type or class. */
86
+ readonly type: string;
87
+ /** `true`, `null` and the other literal values. */
88
+ readonly literal: string;
89
+ readonly added: string;
90
+ readonly removed: string;
91
+ };
72
92
  /**
73
93
  * The working line's three letter states: already swept, the sweep's edge and
74
94
  * not yet reached. `rgb` is where the stall tint starts from; absent for a
@@ -99,6 +119,15 @@ export interface SemanticColors {
99
119
  };
100
120
  /** The hypermode glow on the composer's rule: three steps, light to deep. */
101
121
  readonly glow: readonly [string, string, string];
122
+ /**
123
+ * The quiet background behind the person's own message, and behind one that is
124
+ * queued and not yet sent (greyer). Empty means no tint: the named-colour
125
+ * palettes follow the terminal's own scheme and paint no background of theirs.
126
+ */
127
+ readonly tint: {
128
+ readonly user: string;
129
+ readonly queued: string;
130
+ };
102
131
  /** Diff row backgrounds: for a terminal with 24-bit colour, and for every other one. */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AAClF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,YAAY,GAAG,SAAS,CAG1E;AAED,kFAAkF;AAClF,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAKhG"}
@@ -24,6 +24,17 @@ export declare const DIFF_COLORS_TRUECOLOR: DiffColors;
24
24
  export declare const DIFF_COLORS_ANSI: DiffColors;
25
25
  /** Whether the terminal says it draws 24-bit colour. */
26
26
  export declare function reportsTruecolor(env?: NodeJS.ProcessEnv): boolean;
27
+ /**
28
+ * Whether the terminal draws a background tint at all: 256 colours or more, and
29
+ * not asked to go without (`NO_COLOR`, `FORCE_COLOR=0`, a dumb terminal, a CI run
30
+ * that did not force colour). Where it does not, a row looks as it always did.
31
+ */
32
+ export declare function drawsTint(env?: NodeJS.ProcessEnv): boolean;
33
+ /** The backgrounds behind the person's message and a queued one; null where none is drawn. */
34
+ export declare function rowTints(env?: NodeJS.ProcessEnv): {
35
+ readonly user: string;
36
+ readonly queued: string;
37
+ } | null;
27
38
  /** The diff colours the active theme draws on this terminal. */
28
39
  export declare function diffColors(env?: NodeJS.ProcessEnv): DiffColors;
29
40
  /** The colour groups a row may name by token. */
@@ -41,4 +52,11 @@ export declare function tokenColor(token: ThemeToken): string;
41
52
  /** The colour to draw: a stored token is looked up in the active theme, any other colour is kept. */
42
53
  export declare function paint(color: string): string;
43
54
  export declare function paint(color: string | undefined): string | undefined;
55
+ /** A tint (`rgb(r,g,b)` or `ansi256(n)`) as the escape that sets it as the background; '' for any other. */
56
+ export declare function tintEscape(tint: string): string;
57
+ /**
58
+ * The escape that sets a theme colour (`ansi256(n)`, `rgb(r,g,b)` or a named colour) as the
59
+ * foreground; '' for any other. For output that is written to the terminal as it is, outside Ink.
60
+ */
61
+ export declare function foregroundEscape(color: string): string;
44
62
  //# sourceMappingURL=theme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"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