@namzu/cli 60.1.0 → 61.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 (554) hide show
  1. package/CHANGELOG.md +86 -0
  2. package/dist/bin.js +1 -1
  3. package/dist/chunks/{acp-6R4I2A3Q.js → acp-Q3IA5XHU.js} +294 -133
  4. package/dist/chunks/acp-Q3IA5XHU.js.map +6 -0
  5. package/dist/chunks/{activity-command-JU4HLIQJ.js → activity-command-PXOMQCVV.js} +14 -14
  6. package/dist/chunks/{add-S6JYKDI4.js → add-HIIKDZDN.js} +21 -21
  7. package/dist/chunks/{agent-E343AQV7.js → agent-5OM6GGWO.js} +55 -53
  8. package/dist/chunks/agent-session-MNEGO6RD.js +95 -0
  9. package/dist/chunks/{apply-at-exit-MEOJMGNT.js → apply-at-exit-2TUEV3TN.js} +7 -7
  10. package/dist/chunks/{archive-ZPWC7GZU.js → archive-ESYECN4Y.js} +12 -12
  11. package/dist/chunks/{auth-6NX4TMIG.js → auth-WA6ZXNXM.js} +12 -12
  12. package/dist/chunks/{bin-main-P3KAQDKC.js → bin-main-Y5FDOG2X.js} +8 -8
  13. package/dist/chunks/{binding-6QZVGFQ5.js → binding-7ZF533IJ.js} +3 -3
  14. package/dist/chunks/{browser-KK2U5524.js → browser-HFAVORW3.js} +7 -7
  15. package/dist/chunks/{chat-VEXJRSZN.js → chat-BVA2BLKE.js} +17 -17
  16. package/dist/chunks/{chunk-PS5SVAUJ.js → chunk-2SXME4FG.js} +2 -2
  17. package/dist/chunks/{chunk-VQZPXK4X.js → chunk-2ZA7XJ63.js} +3 -3
  18. package/dist/chunks/{chunk-452SL2Y4.js → chunk-3CEL5P45.js} +2 -2
  19. package/dist/chunks/{chunk-N5CCXOYK.js → chunk-3DCQNM64.js} +7 -7
  20. package/dist/chunks/{chunk-4KVYTHY7.js → chunk-3KCGBW3F.js} +3 -3
  21. package/dist/chunks/{chunk-66QIFMEO.js → chunk-3RDKZZQE.js} +2 -2
  22. package/dist/chunks/{chunk-ZHEEG3NS.js → chunk-5KRUNLE7.js} +2 -2
  23. package/dist/chunks/{chunk-PE4MWWUW.js → chunk-5M44QX4G.js} +3 -3
  24. package/dist/chunks/{chunk-C7E7YCRD.js → chunk-5VKCUXB2.js} +8 -6
  25. package/dist/chunks/chunk-5VKCUXB2.js.map +6 -0
  26. package/dist/chunks/{chunk-SXONHO4H.js → chunk-65ROGOIM.js} +9 -9
  27. package/dist/chunks/{chunk-HM7L5PM2.js → chunk-65ZRPJA5.js} +3 -3
  28. package/dist/chunks/{chunk-BA7KUG6V.js → chunk-6FGEPFFB.js} +2 -2
  29. package/dist/chunks/{chunk-32OIBGYI.js → chunk-6PEEUJSR.js} +10 -8
  30. package/dist/chunks/chunk-6PEEUJSR.js.map +6 -0
  31. package/dist/chunks/{chunk-44YG6EI4.js → chunk-6UWOG6FY.js} +4 -4
  32. package/dist/chunks/{chunk-2KVQVPJ7.js → chunk-6ZZQSHLH.js} +6 -6
  33. package/dist/chunks/{chunk-2KVQVPJ7.js.map → chunk-6ZZQSHLH.js.map} +1 -1
  34. package/dist/chunks/{chunk-AMYP2WPW.js → chunk-752F23K2.js} +8 -8
  35. package/dist/chunks/{chunk-DRSQTKDN.js → chunk-7BRCXPI3.js} +3 -3
  36. package/dist/chunks/{chunk-WOTA5FO5.js → chunk-7TPWEPUT.js} +3 -3
  37. package/dist/chunks/{chunk-PRJO4XM3.js → chunk-A42WH5C5.js} +2 -2
  38. package/dist/chunks/{chunk-RMOTHWPV.js → chunk-AAGA2PWL.js} +17 -6
  39. package/dist/chunks/chunk-AAGA2PWL.js.map +6 -0
  40. package/dist/chunks/{chunk-F5W4TNCR.js → chunk-AHV6BJED.js} +2 -2
  41. package/dist/chunks/{chunk-4CJ3HPOT.js → chunk-AYD4H6VV.js} +2 -2
  42. package/dist/chunks/{chunk-2DCOB33W.js → chunk-B7DL5QPS.js} +19 -6
  43. package/dist/chunks/chunk-B7DL5QPS.js.map +6 -0
  44. package/dist/chunks/{chunk-FK4MAZV2.js → chunk-BXUNIVZB.js} +13 -6
  45. package/dist/chunks/chunk-BXUNIVZB.js.map +6 -0
  46. package/dist/chunks/{chunk-J4PL65DJ.js → chunk-C3KDKOUV.js} +6 -6
  47. package/dist/chunks/{chunk-VWUTJ4EU.js → chunk-CJBRIESJ.js} +3 -3
  48. package/dist/chunks/{chunk-YWRRS7SO.js → chunk-COOEFXWT.js} +2 -2
  49. package/dist/chunks/{chunk-BJT37HR4.js → chunk-CQ2EGIRN.js} +301 -713
  50. package/dist/chunks/chunk-CQ2EGIRN.js.map +6 -0
  51. package/dist/chunks/{chunk-NVWD5XDT.js → chunk-DAZEYCY5.js} +2 -2
  52. package/dist/chunks/{chunk-4Y242BU4.js → chunk-DL5KZGQK.js} +5 -5
  53. package/dist/chunks/{chunk-O4EILTV6.js → chunk-DRYK66N3.js} +78 -25
  54. package/dist/chunks/chunk-DRYK66N3.js.map +6 -0
  55. package/dist/chunks/{chunk-RQAY7REG.js → chunk-EDAEDZ37.js} +3 -3
  56. package/dist/chunks/{chunk-QQ4S6MNH.js → chunk-EDLBZSB2.js} +1198 -305
  57. package/dist/chunks/chunk-EDLBZSB2.js.map +6 -0
  58. package/dist/chunks/{chunk-R6M6EIAH.js → chunk-EEBDKNNP.js} +4 -4
  59. package/dist/chunks/{chunk-GT22EDUB.js → chunk-EOLSGOXC.js} +6 -6
  60. package/dist/chunks/{chunk-O45DCUNX.js → chunk-EYFAHVYO.js} +2 -2
  61. package/dist/chunks/{chunk-NKHEBASJ.js → chunk-EZYMBETQ.js} +2 -2
  62. package/dist/chunks/{chunk-ME4LETA3.js → chunk-F5AHQ4RX.js} +2 -2
  63. package/dist/chunks/{chunk-MUSGZEFY.js → chunk-F5SG7JPB.js} +2 -2
  64. package/dist/chunks/{chunk-MK42KB72.js → chunk-FHKPEPTE.js} +4 -4
  65. package/dist/chunks/{chunk-XDUA6PBP.js → chunk-FHP4D55L.js} +2 -2
  66. package/dist/chunks/{chunk-WDKAL7EW.js → chunk-FIEADS4A.js} +2 -2
  67. package/dist/chunks/{chunk-K2EKXCLZ.js → chunk-G5NS6ASX.js} +3 -3
  68. package/dist/chunks/{chunk-I4RC6KQQ.js → chunk-GS7ST2VG.js} +19 -19
  69. package/dist/chunks/{chunk-XE6XT6R6.js → chunk-GSNTXEOD.js} +4 -4
  70. package/dist/chunks/{chunk-H6NTNPWD.js → chunk-HGBVFYQT.js} +4 -4
  71. package/dist/chunks/{chunk-D2R47LDH.js → chunk-HIJXZ6FI.js} +12 -12
  72. package/dist/chunks/{chunk-5F4DSPZC.js → chunk-HLYITQWD.js} +10 -10
  73. package/dist/chunks/{chunk-42JIZXVL.js → chunk-HN2NZD4E.js} +3 -88
  74. package/dist/chunks/chunk-HN2NZD4E.js.map +6 -0
  75. package/dist/chunks/{chunk-QCV3HH4P.js → chunk-HX3ENA3I.js} +2 -2
  76. package/dist/chunks/{chunk-HKRUNZVI.js → chunk-IWVJDG4L.js} +3 -3
  77. package/dist/chunks/{chunk-PZWSRAE7.js → chunk-J2ITWYQQ.js} +6 -6
  78. package/dist/chunks/{chunk-4BNCVR3U.js → chunk-JR3LFDKN.js} +2 -2
  79. package/dist/chunks/{chunk-BZR5PIFF.js → chunk-JRZSUEK4.js} +367 -176
  80. package/dist/chunks/chunk-JRZSUEK4.js.map +6 -0
  81. package/dist/chunks/{chunk-FMD4REZQ.js → chunk-K4PFUUP7.js} +47 -40
  82. package/dist/chunks/chunk-K4PFUUP7.js.map +6 -0
  83. package/dist/chunks/{chunk-TBJ6XU3T.js → chunk-KDOBJGF2.js} +3 -3
  84. package/dist/chunks/{chunk-EBBT2I5S.js → chunk-KDPGC66S.js} +30 -6
  85. package/dist/chunks/chunk-KDPGC66S.js.map +6 -0
  86. package/dist/chunks/{chunk-QNJXULU7.js → chunk-KKHZG7B2.js} +2 -2
  87. package/dist/chunks/{chunk-6W3UGXGG.js → chunk-KTSPKGEC.js} +4 -4
  88. package/dist/chunks/{chunk-BURGRQWO.js → chunk-KXBZ7P2A.js} +2 -2
  89. package/dist/chunks/{chunk-4473VICE.js → chunk-KZ5XYWKO.js} +3 -3
  90. package/dist/chunks/{chunk-EXJJLYZK.js → chunk-LKWENSPO.js} +7 -60
  91. package/dist/chunks/chunk-LKWENSPO.js.map +6 -0
  92. package/dist/chunks/{chunk-F7KOBJVW.js → chunk-LLVZON4J.js} +4 -4
  93. package/dist/chunks/{chunk-B4AOCHH6.js → chunk-LNMFADLE.js} +3 -3
  94. package/dist/chunks/{chunk-AC5P6W3G.js → chunk-ME7MQ4P2.js} +2 -2
  95. package/dist/chunks/{chunk-JJ72TLOA.js → chunk-MESE2QPT.js} +27 -30
  96. package/dist/chunks/chunk-MESE2QPT.js.map +6 -0
  97. package/dist/chunks/{chunk-FPC3K4TT.js → chunk-MHESN2FM.js} +3 -3
  98. package/dist/chunks/{chunk-SLTJNYOU.js → chunk-MKCZB324.js} +2 -2
  99. package/dist/chunks/{chunk-5IGEQN7L.js → chunk-NE55T7GN.js} +4 -4
  100. package/dist/chunks/{chunk-VG7245VJ.js → chunk-NI2YKSPW.js} +6 -6
  101. package/dist/chunks/{chunk-AYMB4AOZ.js → chunk-NQVSTOUH.js} +4 -4
  102. package/dist/chunks/chunk-NSU3TAZZ.js +74 -0
  103. package/dist/chunks/chunk-NSU3TAZZ.js.map +6 -0
  104. package/dist/chunks/{chunk-QGBR42TV.js → chunk-NVRUHQKC.js} +7 -7
  105. package/dist/chunks/{chunk-PAUMCJPX.js → chunk-O3AEUU3Q.js} +3 -3
  106. package/dist/chunks/{chunk-4DSUVT37.js → chunk-OG7MBIKO.js} +5 -5
  107. package/dist/chunks/{chunk-NBJ5PRAY.js → chunk-OGMRGX5M.js} +3 -3
  108. package/dist/chunks/{chunk-WJ6QRVL6.js → chunk-PFQQ6YFF.js} +2 -2
  109. package/dist/chunks/{chunk-CXW7I2S3.js → chunk-PHEL63BK.js} +2 -2
  110. package/dist/chunks/{chunk-YR3TWNIV.js → chunk-PJORD4FZ.js} +9 -9
  111. package/dist/chunks/{chunk-5ZLKTFU2.js → chunk-PSUJIMQV.js} +3 -3
  112. package/dist/chunks/{chunk-TBGKPWCL.js → chunk-PWSMXR6B.js} +9 -9
  113. package/dist/chunks/{chunk-PRRX5LNR.js → chunk-PYFAJB35.js} +2 -2
  114. package/dist/chunks/{chunk-BWD2TUI4.js → chunk-PYFGTXFQ.js} +5 -5
  115. package/dist/chunks/{chunk-EWPGU4HH.js → chunk-Q5H7EHCH.js} +314 -22
  116. package/dist/chunks/{chunk-EWPGU4HH.js.map → chunk-Q5H7EHCH.js.map} +2 -2
  117. package/dist/chunks/{chunk-BHQHTM3Z.js → chunk-QH4DQR57.js} +5 -5
  118. package/dist/chunks/{chunk-TTKMQW6B.js → chunk-QR5VVGWU.js} +3 -3
  119. package/dist/chunks/{chunk-UCML5ZXB.js → chunk-QR7GTBV3.js} +3 -3
  120. package/dist/chunks/{chunk-T7ILM666.js → chunk-R5BEMFDZ.js} +11 -11
  121. package/dist/chunks/{chunk-D4TXOX34.js → chunk-RQOE2MRO.js} +2 -2
  122. package/dist/chunks/chunk-RYOZ4HYY.js +1221 -0
  123. package/dist/chunks/chunk-RYOZ4HYY.js.map +6 -0
  124. package/dist/chunks/{chunk-6TUHWKXP.js → chunk-RZBIRLZ6.js} +6 -6
  125. package/dist/chunks/{chunk-GTUTBTOV.js → chunk-SLLKDPGZ.js} +3 -3
  126. package/dist/chunks/{chunk-6HYK4DDB.js → chunk-SXI6NW2H.js} +3 -3
  127. package/dist/chunks/{chunk-R2KAESOM.js → chunk-SYJRI5A4.js} +2 -2
  128. package/dist/chunks/{chunk-RKKU2RE4.js → chunk-T26HDLQS.js} +2 -2
  129. package/dist/chunks/{chunk-WYA4QWWE.js → chunk-TBQQRYS2.js} +5 -5
  130. package/dist/chunks/{chunk-IMMUS7IW.js → chunk-TFREQNR5.js} +20 -12
  131. package/dist/chunks/chunk-TFREQNR5.js.map +6 -0
  132. package/dist/chunks/{chunk-GPTYDM26.js → chunk-TQZSXYON.js} +8 -8
  133. package/dist/chunks/{chunk-D6PB3Z7Q.js → chunk-TSN7J4ZH.js} +2 -2
  134. package/dist/chunks/{chunk-Z5OG4HXI.js → chunk-TT3GLF32.js} +133 -89
  135. package/dist/chunks/chunk-TT3GLF32.js.map +6 -0
  136. package/dist/chunks/{chunk-PZLPACNY.js → chunk-TWTZKA46.js} +3 -3
  137. package/dist/chunks/{chunk-K7YZJV2X.js → chunk-U3OY3T54.js} +34 -16
  138. package/dist/chunks/chunk-U3OY3T54.js.map +6 -0
  139. package/dist/chunks/{chunk-MF3SFDBW.js → chunk-U6DACADN.js} +3 -3
  140. package/dist/chunks/chunk-UBDKPN27.js +150 -0
  141. package/dist/chunks/chunk-UBDKPN27.js.map +6 -0
  142. package/dist/chunks/{chunk-75YLZNZW.js → chunk-UDSY3L6M.js} +3 -3
  143. package/dist/chunks/{chunk-WPGVZMSU.js → chunk-UOU7PGPZ.js} +2 -2
  144. package/dist/chunks/{chunk-TSOZBRM6.js → chunk-UY5KPN7B.js} +2 -2
  145. package/dist/chunks/{chunk-DEAG4G5J.js → chunk-V3DMBRE3.js} +2 -2
  146. package/dist/chunks/{chunk-QBLHOG2F.js → chunk-V5K2AOLI.js} +3 -3
  147. package/dist/chunks/{chunk-TTFPWGIU.js → chunk-VAJPCN3B.js} +2 -2
  148. package/dist/chunks/{chunk-JECLB23L.js → chunk-VIURZHCB.js} +6 -6
  149. package/dist/chunks/{chunk-IQ44C7Y3.js → chunk-VOR32IWQ.js} +4 -4
  150. package/dist/chunks/{chunk-XNQY26AE.js → chunk-W3BDNKTN.js} +4 -4
  151. package/dist/chunks/{chunk-JRBFL6WT.js → chunk-W5GDQFZS.js} +2 -2
  152. package/dist/chunks/{chunk-FVIKYFYD.js → chunk-XWGWQBF7.js} +2 -2
  153. package/dist/chunks/{chunk-KSRN5Y2O.js → chunk-Y2HHHKBF.js} +165 -79
  154. package/dist/chunks/chunk-Y2HHHKBF.js.map +6 -0
  155. package/dist/chunks/{chunk-PLCWCIL4.js → chunk-Y5NGMUDN.js} +2 -2
  156. package/dist/chunks/{chunk-TMPP2DEY.js → chunk-YCODODZO.js} +4 -4
  157. package/dist/chunks/{chunk-HG2PPCAE.js → chunk-YENBRA7T.js} +3 -3
  158. package/dist/chunks/{chunk-HCQGZPVT.js → chunk-YHUAVEOM.js} +2 -2
  159. package/dist/chunks/{chunk-4ENL4VUO.js → chunk-YPNF7YFU.js} +4 -4
  160. package/dist/chunks/{chunk-IL4Y3JGT.js → chunk-ZCDOMHZU.js} +13 -13
  161. package/dist/chunks/{chunk-BNLIRJ3M.js → chunk-ZPOMLH5G.js} +4 -4
  162. package/dist/chunks/{cli-runtime-ZJKKIW4H.js → cli-runtime-5IXM6W6M.js} +22 -22
  163. package/dist/chunks/{commands-TQH5DD22.js → commands-LOMIOXZ3.js} +6 -6
  164. package/dist/chunks/{config-APYUJ5UW.js → config-UBOJ3N77.js} +12 -12
  165. package/dist/chunks/{cost-5YV27U7F.js → cost-LM34ZHBI.js} +5 -5
  166. package/dist/chunks/{crash-report-QVXU2YVL.js → crash-report-PTHJP6ZC.js} +6 -6
  167. package/dist/chunks/{dist-AOT4CEP5.js → dist-3P6YD6AW.js} +2 -2
  168. package/dist/chunks/{dist-H7CAJ3ZW.js → dist-3W2E4ZVU.js} +16 -2
  169. package/dist/chunks/{dist-Z2HW2SJR.js → dist-C7M5OJAH.js} +2 -2
  170. package/dist/chunks/{dist-2FSOLP72.js → dist-HJYAXRBL.js} +2 -2
  171. package/dist/chunks/{dist-IZGKRIWL.js → dist-LZAIP6RQ.js} +2 -2
  172. package/dist/chunks/{dist-J4UXFVYR.js → dist-TEFBDQUK.js} +2 -2
  173. package/dist/chunks/{dist-PZYMYR7N.js → dist-Y4YXKFL6.js} +3 -3
  174. package/dist/chunks/{dist-JHKRSGW6.js → dist-ZVUIWK64.js} +2 -2
  175. package/dist/chunks/{doctor-CM6UPXG5.js → doctor-LL6FW4DE.js} +40 -40
  176. package/dist/chunks/{drain-X6RURKKC.js → drain-AX2SKGAZ.js} +31 -31
  177. package/dist/chunks/drain-AX2SKGAZ.js.map +6 -0
  178. package/dist/chunks/{entry-QQDPY6ZL.js → entry-QT6CMKBN.js} +6 -6
  179. package/dist/chunks/{eval-GZA22B4I.js → eval-HKAAPPGO.js} +9 -9
  180. package/dist/chunks/{exec-3NE75Z6E.js → exec-DY3B5KGJ.js} +98 -52
  181. package/dist/chunks/exec-DY3B5KGJ.js.map +6 -0
  182. package/dist/chunks/{extension-N5IQNKVZ.js → extension-55PWXBQY.js} +6 -6
  183. package/dist/chunks/{home-I4FIB6FV.js → home-7KXFLNBX.js} +3 -3
  184. package/dist/chunks/{homes-WTMMXQ6G.js → homes-WYHCCBK6.js} +5 -5
  185. package/dist/chunks/{hooks-R42OTZDT.js → hooks-UZ46HYL4.js} +22 -22
  186. package/dist/chunks/{hooks-report-K6VOPVBR.js → hooks-report-RD53ZGON.js} +18 -18
  187. package/dist/chunks/{host-65UFBZJV.js → host-NUIEARM2.js} +11 -10
  188. package/dist/chunks/host-queries-OB7OWZI6.js +37 -0
  189. package/dist/chunks/{installed-list-7QIWVKLQ.js → installed-list-T3G757YK.js} +4 -4
  190. package/dist/chunks/{learn-NZXLKYV4.js → learn-MTQXTX6E.js} +17 -17
  191. package/dist/chunks/{learn-builtin-RC4XXVBS.js → learn-builtin-3SXUVV7J.js} +20 -20
  192. package/dist/chunks/{lifecycle-NLCZ6OPA.js → lifecycle-MFXCFSJP.js} +33 -30
  193. package/dist/chunks/{list-2U67CAWS.js → list-M6Y24N5J.js} +18 -18
  194. package/dist/chunks/{live-CWJ2NWUQ.js → live-UNUQSBVZ.js} +39 -39
  195. package/dist/chunks/{load-H52QQBVE.js → load-GA4OIEG4.js} +9 -9
  196. package/dist/chunks/{logs-ZIW3QFU4.js → logs-LUPWFBWF.js} +4 -4
  197. package/dist/chunks/{mcp-FNSMEMCM.js → mcp-4GD5Y5W7.js} +98 -36
  198. package/dist/chunks/mcp-4GD5Y5W7.js.map +6 -0
  199. package/dist/chunks/{mcp-serve-ZC2OKIPP.js → mcp-serve-RQKZQNPI.js} +17 -17
  200. package/dist/chunks/{message-command-IHZWL5GI.js → message-command-L5HAX56P.js} +59 -59
  201. package/dist/chunks/{open-AHDQMVXI.js → open-D6QESFR2.js} +7 -7
  202. package/dist/chunks/{operator-tools-P5R4TF6N.js → operator-tools-CFYHXAZS.js} +15 -15
  203. package/dist/chunks/{output-schema-Q5RWHNKE.js → output-schema-WV5RUG66.js} +3 -3
  204. package/dist/chunks/{pal-T42HU4AK.js → pal-JVR6ZLEI.js} +15 -15
  205. package/dist/chunks/{peers-5RYEA7IA.js → peers-EK24T2HF.js} +8 -7
  206. package/dist/chunks/{peers-7ZG3DEBO.js → peers-NCDTNFJV.js} +20 -19
  207. package/dist/chunks/peers-NCDTNFJV.js.map +6 -0
  208. package/dist/chunks/{plugin-DGEINYG5.js → plugin-RR4O7D6C.js} +108 -52
  209. package/dist/chunks/plugin-RR4O7D6C.js.map +6 -0
  210. package/dist/chunks/{providers-I24HYZXG.js → providers-2CLIPXQ2.js} +10 -10
  211. package/dist/chunks/{providers-BXXIM7EW.js → providers-RTRULUUS.js} +17 -17
  212. package/dist/chunks/{pty-WVKM6ATI.js → pty-OHLKFJFA.js} +3 -3
  213. package/dist/chunks/resume-5OWRUFUL.js +25 -0
  214. package/dist/chunks/{resume-command-4I47WN7T.js → resume-command-HIIEMJAT.js} +4 -4
  215. package/dist/chunks/{running-VID6BVT2.js → running-3BAWMUK4.js} +4 -4
  216. package/dist/chunks/{schedule-75IZH76Z.js → schedule-OW54ANKO.js} +12 -12
  217. package/dist/chunks/{send-QRYY2NCG.js → send-5NIU4WFY.js} +20 -19
  218. package/dist/chunks/send-person-RYBIVAML.js +33 -0
  219. package/dist/chunks/{service-B6BNESZB.js → service-MGZ4LEVY.js} +33 -30
  220. package/dist/chunks/service-MGZ4LEVY.js.map +6 -0
  221. package/dist/chunks/{setting-cli-O4YWOIU5.js → setting-cli-CHPHJSAM.js} +12 -12
  222. package/dist/chunks/{skills-PEMVX5C3.js → skills-6DNVYWKR.js} +26 -26
  223. package/dist/chunks/{start-check-EKRXJ5VE.js → start-check-MHUGGAYJ.js} +2 -2
  224. package/dist/chunks/{startup-failure-2UJKPNMR.js → startup-failure-R2AIVZYU.js} +2 -2
  225. package/dist/chunks/{state-X3MKUFYM.js → state-2WEGEDJ5.js} +19 -19
  226. package/dist/chunks/{store-VRKKFOYW.js → store-MCRRV4BB.js} +3 -3
  227. package/dist/chunks/{store-QFNY4BV4.js → store-RITSVC5A.js} +4 -4
  228. package/dist/chunks/{store-MK5IYBE5.js → store-UFRLA47W.js} +8 -8
  229. package/dist/chunks/{store-4OXWHFS5.js → store-WH3C3EPV.js} +12 -12
  230. package/dist/chunks/{tui-MI72TUST.js → tui-5QS4AAMU.js} +98 -96
  231. package/dist/chunks/tui-5QS4AAMU.js.map +6 -0
  232. package/dist/chunks/{update-ELZEXYIX.js → update-3VXQAKVL.js} +8 -8
  233. package/dist/chunks/{watch-HPINGMZZ.js → watch-PMFTONTW.js} +102 -100
  234. package/dist/chunks/watch-PMFTONTW.js.map +6 -0
  235. package/dist/chunks/{workspaces-3LB4SPPS.js → workspaces-N7A3JNL4.js} +16 -15
  236. package/dist/chunks/workspaces-N7A3JNL4.js.map +6 -0
  237. package/dist/chunks/{worktree-5CWUUWNO.js → worktree-6L5FLMVI.js} +24 -24
  238. package/dist/cli.d.ts.map +1 -1
  239. package/dist/commands/acp.d.ts +8 -1
  240. package/dist/commands/acp.d.ts.map +1 -1
  241. package/dist/commands/desktop-host-plugins.d.ts +28 -1
  242. package/dist/commands/desktop-host-plugins.d.ts.map +1 -1
  243. package/dist/commands/desktop-host.d.ts +20 -1
  244. package/dist/commands/desktop-host.d.ts.map +1 -1
  245. package/dist/commands/drain.d.ts.map +1 -1
  246. package/dist/commands/exec-browser.d.ts +19 -0
  247. package/dist/commands/exec-browser.d.ts.map +1 -0
  248. package/dist/commands/exec-flags.d.ts +11 -2
  249. package/dist/commands/exec-flags.d.ts.map +1 -1
  250. package/dist/commands/exec-json.d.ts.map +1 -1
  251. package/dist/commands/exec.d.ts.map +1 -1
  252. package/dist/commands/mcp.d.ts +16 -1
  253. package/dist/commands/mcp.d.ts.map +1 -1
  254. package/dist/commands/plugin-install.d.ts +6 -0
  255. package/dist/commands/plugin-install.d.ts.map +1 -1
  256. package/dist/commands/plugin-records.d.ts +3 -0
  257. package/dist/commands/plugin-records.d.ts.map +1 -1
  258. package/dist/commands/plugin.d.ts.map +1 -1
  259. package/dist/config/load.d.ts.map +1 -1
  260. package/dist/config/schema.d.ts +29 -3
  261. package/dist/config/schema.d.ts.map +1 -1
  262. package/dist/config/session-options.d.ts +116 -0
  263. package/dist/config/session-options.d.ts.map +1 -1
  264. package/dist/config/settings-descriptors.d.ts.map +1 -1
  265. package/dist/index.js +40 -40
  266. package/dist/integrations/archive/zip.d.ts +8 -1
  267. package/dist/integrations/archive/zip.d.ts.map +1 -1
  268. package/dist/integrations/mcp/plugin-remote.d.ts +4 -0
  269. package/dist/integrations/mcp/plugin-remote.d.ts.map +1 -1
  270. package/dist/integrations/peers/process-ancestry.d.ts +10 -0
  271. package/dist/integrations/peers/process-ancestry.d.ts.map +1 -1
  272. package/dist/integrations/plugins/fetch/archive.d.ts.map +1 -1
  273. package/dist/integrations/plugins/fetch/git.d.ts +13 -3
  274. package/dist/integrations/plugins/fetch/git.d.ts.map +1 -1
  275. package/dist/integrations/plugins/fetch/policy.d.ts +40 -0
  276. package/dist/integrations/plugins/fetch/policy.d.ts.map +1 -0
  277. package/dist/integrations/plugins/fetch/source.d.ts +8 -10
  278. package/dist/integrations/plugins/fetch/source.d.ts.map +1 -1
  279. package/dist/integrations/plugins/fetch/url.d.ts +16 -4
  280. package/dist/integrations/plugins/fetch/url.d.ts.map +1 -1
  281. package/dist/integrations/plugins/files.d.ts.map +1 -1
  282. package/dist/integrations/plugins/install-manifest.d.ts +11 -0
  283. package/dist/integrations/plugins/install-manifest.d.ts.map +1 -1
  284. package/dist/integrations/plugins/install-plan.d.ts.map +1 -1
  285. package/dist/integrations/plugins/install-preview.d.ts +1 -2
  286. package/dist/integrations/plugins/install-preview.d.ts.map +1 -1
  287. package/dist/integrations/plugins/install.d.ts.map +1 -1
  288. package/dist/integrations/plugins/installed-source.d.ts +25 -0
  289. package/dist/integrations/plugins/installed-source.d.ts.map +1 -1
  290. package/dist/integrations/plugins/inventory.d.ts.map +1 -1
  291. package/dist/integrations/plugins/remote-marketplace.d.ts +16 -2
  292. package/dist/integrations/plugins/remote-marketplace.d.ts.map +1 -1
  293. package/dist/integrations/plugins/runtime.d.ts.map +1 -1
  294. package/dist/integrations/plugins/surface.d.ts +3 -1
  295. package/dist/integrations/plugins/surface.d.ts.map +1 -1
  296. package/dist/integrations/plugins/update-compare.d.ts +3 -3
  297. package/dist/integrations/plugins/update-compare.d.ts.map +1 -1
  298. package/dist/integrations/plugins/validate.d.ts.map +1 -1
  299. package/dist/integrations/workflows/guidance.d.ts +12 -0
  300. package/dist/integrations/workflows/guidance.d.ts.map +1 -0
  301. package/dist/integrations/workflows/host.d.ts +3 -0
  302. package/dist/integrations/workflows/host.d.ts.map +1 -1
  303. package/dist/integrations/workflows/offering.d.ts +16 -1
  304. package/dist/integrations/workflows/offering.d.ts.map +1 -1
  305. package/dist/integrations/workflows/size.d.ts +17 -3
  306. package/dist/integrations/workflows/size.d.ts.map +1 -1
  307. package/dist/permissions/auto-classifier.d.ts.map +1 -1
  308. package/dist/permissions/send-floor.d.ts +7 -0
  309. package/dist/permissions/send-floor.d.ts.map +1 -1
  310. package/dist/reminders/hypermode.d.ts +6 -0
  311. package/dist/reminders/hypermode.d.ts.map +1 -1
  312. package/dist/reminders/index.d.ts +1 -0
  313. package/dist/reminders/index.d.ts.map +1 -1
  314. package/dist/schedule/fire/fire.d.ts.map +1 -1
  315. package/dist/schedule/policy.d.ts.map +1 -1
  316. package/dist/skills/skill-shell.d.ts +9 -5
  317. package/dist/skills/skill-shell.d.ts.map +1 -1
  318. package/dist/tui/AgentExplorer.d.ts +3 -2
  319. package/dist/tui/AgentExplorer.d.ts.map +1 -1
  320. package/dist/tui/App.d.ts.map +1 -1
  321. package/dist/tui/BackgroundJobsPanel.d.ts.map +1 -1
  322. package/dist/tui/ColouredText.d.ts +11 -0
  323. package/dist/tui/ColouredText.d.ts.map +1 -0
  324. package/dist/tui/LiveActivity.d.ts.map +1 -1
  325. package/dist/tui/Transcript.d.ts +7 -1
  326. package/dist/tui/Transcript.d.ts.map +1 -1
  327. package/dist/tui/agent-tokens.d.ts +7 -0
  328. package/dist/tui/agent-tokens.d.ts.map +1 -1
  329. package/dist/tui/agent-transcript-rows.d.ts +5 -1
  330. package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
  331. package/dist/tui/agent.d.ts +31 -4
  332. package/dist/tui/agent.d.ts.map +1 -1
  333. package/dist/tui/computer-use-screen-approval.d.ts +11 -1
  334. package/dist/tui/computer-use-screen-approval.d.ts.map +1 -1
  335. package/dist/tui/job-result-footer.d.ts +6 -1
  336. package/dist/tui/job-result-footer.d.ts.map +1 -1
  337. package/dist/tui/model-selection-intent.d.ts +5 -1
  338. package/dist/tui/model-selection-intent.d.ts.map +1 -1
  339. package/dist/tui/sgr-colour.d.ts +46 -0
  340. package/dist/tui/sgr-colour.d.ts.map +1 -0
  341. package/dist/tui/shell-cell.d.ts +1 -0
  342. package/dist/tui/shell-cell.d.ts.map +1 -1
  343. package/dist/tui/tidy-tool-output.d.ts +3 -3
  344. package/dist/tui/tidy-tool-output.d.ts.map +1 -1
  345. package/dist/tui/tool-end-rows.d.ts +2 -0
  346. package/dist/tui/tool-end-rows.d.ts.map +1 -1
  347. package/dist/tui/transcript-screen.d.ts.map +1 -1
  348. package/dist/tui/transcript-scroll.d.ts.map +1 -1
  349. package/package.json +4 -4
  350. package/skills/README.md +5 -0
  351. package/skills/workflow-authoring/SKILL.md +101 -0
  352. package/dist/chunks/acp-6R4I2A3Q.js.map +0 -6
  353. package/dist/chunks/agent-session-D6JIOCON.js +0 -95
  354. package/dist/chunks/chunk-2DCOB33W.js.map +0 -6
  355. package/dist/chunks/chunk-32OIBGYI.js.map +0 -6
  356. package/dist/chunks/chunk-42JIZXVL.js.map +0 -6
  357. package/dist/chunks/chunk-BJT37HR4.js.map +0 -6
  358. package/dist/chunks/chunk-BZR5PIFF.js.map +0 -6
  359. package/dist/chunks/chunk-C7E7YCRD.js.map +0 -6
  360. package/dist/chunks/chunk-EBBT2I5S.js.map +0 -6
  361. package/dist/chunks/chunk-EXJJLYZK.js.map +0 -6
  362. package/dist/chunks/chunk-FK4MAZV2.js.map +0 -6
  363. package/dist/chunks/chunk-FMD4REZQ.js.map +0 -6
  364. package/dist/chunks/chunk-IMMUS7IW.js.map +0 -6
  365. package/dist/chunks/chunk-JJ72TLOA.js.map +0 -6
  366. package/dist/chunks/chunk-K7YZJV2X.js.map +0 -6
  367. package/dist/chunks/chunk-KF6IKSF2.js +0 -472
  368. package/dist/chunks/chunk-KF6IKSF2.js.map +0 -6
  369. package/dist/chunks/chunk-KSRN5Y2O.js.map +0 -6
  370. package/dist/chunks/chunk-O4EILTV6.js.map +0 -6
  371. package/dist/chunks/chunk-QQ4S6MNH.js.map +0 -6
  372. package/dist/chunks/chunk-RMOTHWPV.js.map +0 -6
  373. package/dist/chunks/chunk-Z5OG4HXI.js.map +0 -6
  374. package/dist/chunks/drain-X6RURKKC.js.map +0 -6
  375. package/dist/chunks/exec-3NE75Z6E.js.map +0 -6
  376. package/dist/chunks/host-queries-L4PYE2BW.js +0 -37
  377. package/dist/chunks/mcp-FNSMEMCM.js.map +0 -6
  378. package/dist/chunks/peers-7ZG3DEBO.js.map +0 -6
  379. package/dist/chunks/plugin-DGEINYG5.js.map +0 -6
  380. package/dist/chunks/resume-F7JEDBHI.js +0 -25
  381. package/dist/chunks/send-person-VADQNJBN.js +0 -32
  382. package/dist/chunks/service-B6BNESZB.js.map +0 -6
  383. package/dist/chunks/tui-MI72TUST.js.map +0 -6
  384. package/dist/chunks/watch-HPINGMZZ.js.map +0 -6
  385. package/dist/chunks/workspaces-3LB4SPPS.js.map +0 -6
  386. /package/dist/chunks/{activity-command-JU4HLIQJ.js.map → activity-command-PXOMQCVV.js.map} +0 -0
  387. /package/dist/chunks/{add-S6JYKDI4.js.map → add-HIIKDZDN.js.map} +0 -0
  388. /package/dist/chunks/{agent-E343AQV7.js.map → agent-5OM6GGWO.js.map} +0 -0
  389. /package/dist/chunks/{agent-session-D6JIOCON.js.map → agent-session-MNEGO6RD.js.map} +0 -0
  390. /package/dist/chunks/{apply-at-exit-MEOJMGNT.js.map → apply-at-exit-2TUEV3TN.js.map} +0 -0
  391. /package/dist/chunks/{archive-ZPWC7GZU.js.map → archive-ESYECN4Y.js.map} +0 -0
  392. /package/dist/chunks/{auth-6NX4TMIG.js.map → auth-WA6ZXNXM.js.map} +0 -0
  393. /package/dist/chunks/{bin-main-P3KAQDKC.js.map → bin-main-Y5FDOG2X.js.map} +0 -0
  394. /package/dist/chunks/{binding-6QZVGFQ5.js.map → binding-7ZF533IJ.js.map} +0 -0
  395. /package/dist/chunks/{browser-KK2U5524.js.map → browser-HFAVORW3.js.map} +0 -0
  396. /package/dist/chunks/{chat-VEXJRSZN.js.map → chat-BVA2BLKE.js.map} +0 -0
  397. /package/dist/chunks/{chunk-PS5SVAUJ.js.map → chunk-2SXME4FG.js.map} +0 -0
  398. /package/dist/chunks/{chunk-VQZPXK4X.js.map → chunk-2ZA7XJ63.js.map} +0 -0
  399. /package/dist/chunks/{chunk-452SL2Y4.js.map → chunk-3CEL5P45.js.map} +0 -0
  400. /package/dist/chunks/{chunk-N5CCXOYK.js.map → chunk-3DCQNM64.js.map} +0 -0
  401. /package/dist/chunks/{chunk-4KVYTHY7.js.map → chunk-3KCGBW3F.js.map} +0 -0
  402. /package/dist/chunks/{chunk-66QIFMEO.js.map → chunk-3RDKZZQE.js.map} +0 -0
  403. /package/dist/chunks/{chunk-ZHEEG3NS.js.map → chunk-5KRUNLE7.js.map} +0 -0
  404. /package/dist/chunks/{chunk-PE4MWWUW.js.map → chunk-5M44QX4G.js.map} +0 -0
  405. /package/dist/chunks/{chunk-SXONHO4H.js.map → chunk-65ROGOIM.js.map} +0 -0
  406. /package/dist/chunks/{chunk-HM7L5PM2.js.map → chunk-65ZRPJA5.js.map} +0 -0
  407. /package/dist/chunks/{chunk-BA7KUG6V.js.map → chunk-6FGEPFFB.js.map} +0 -0
  408. /package/dist/chunks/{chunk-44YG6EI4.js.map → chunk-6UWOG6FY.js.map} +0 -0
  409. /package/dist/chunks/{chunk-AMYP2WPW.js.map → chunk-752F23K2.js.map} +0 -0
  410. /package/dist/chunks/{chunk-DRSQTKDN.js.map → chunk-7BRCXPI3.js.map} +0 -0
  411. /package/dist/chunks/{chunk-WOTA5FO5.js.map → chunk-7TPWEPUT.js.map} +0 -0
  412. /package/dist/chunks/{chunk-PRJO4XM3.js.map → chunk-A42WH5C5.js.map} +0 -0
  413. /package/dist/chunks/{chunk-F5W4TNCR.js.map → chunk-AHV6BJED.js.map} +0 -0
  414. /package/dist/chunks/{chunk-4CJ3HPOT.js.map → chunk-AYD4H6VV.js.map} +0 -0
  415. /package/dist/chunks/{chunk-J4PL65DJ.js.map → chunk-C3KDKOUV.js.map} +0 -0
  416. /package/dist/chunks/{chunk-VWUTJ4EU.js.map → chunk-CJBRIESJ.js.map} +0 -0
  417. /package/dist/chunks/{chunk-YWRRS7SO.js.map → chunk-COOEFXWT.js.map} +0 -0
  418. /package/dist/chunks/{chunk-NVWD5XDT.js.map → chunk-DAZEYCY5.js.map} +0 -0
  419. /package/dist/chunks/{chunk-4Y242BU4.js.map → chunk-DL5KZGQK.js.map} +0 -0
  420. /package/dist/chunks/{chunk-RQAY7REG.js.map → chunk-EDAEDZ37.js.map} +0 -0
  421. /package/dist/chunks/{chunk-R6M6EIAH.js.map → chunk-EEBDKNNP.js.map} +0 -0
  422. /package/dist/chunks/{chunk-GT22EDUB.js.map → chunk-EOLSGOXC.js.map} +0 -0
  423. /package/dist/chunks/{chunk-O45DCUNX.js.map → chunk-EYFAHVYO.js.map} +0 -0
  424. /package/dist/chunks/{chunk-NKHEBASJ.js.map → chunk-EZYMBETQ.js.map} +0 -0
  425. /package/dist/chunks/{chunk-ME4LETA3.js.map → chunk-F5AHQ4RX.js.map} +0 -0
  426. /package/dist/chunks/{chunk-MUSGZEFY.js.map → chunk-F5SG7JPB.js.map} +0 -0
  427. /package/dist/chunks/{chunk-MK42KB72.js.map → chunk-FHKPEPTE.js.map} +0 -0
  428. /package/dist/chunks/{chunk-XDUA6PBP.js.map → chunk-FHP4D55L.js.map} +0 -0
  429. /package/dist/chunks/{chunk-WDKAL7EW.js.map → chunk-FIEADS4A.js.map} +0 -0
  430. /package/dist/chunks/{chunk-K2EKXCLZ.js.map → chunk-G5NS6ASX.js.map} +0 -0
  431. /package/dist/chunks/{chunk-I4RC6KQQ.js.map → chunk-GS7ST2VG.js.map} +0 -0
  432. /package/dist/chunks/{chunk-XE6XT6R6.js.map → chunk-GSNTXEOD.js.map} +0 -0
  433. /package/dist/chunks/{chunk-H6NTNPWD.js.map → chunk-HGBVFYQT.js.map} +0 -0
  434. /package/dist/chunks/{chunk-D2R47LDH.js.map → chunk-HIJXZ6FI.js.map} +0 -0
  435. /package/dist/chunks/{chunk-5F4DSPZC.js.map → chunk-HLYITQWD.js.map} +0 -0
  436. /package/dist/chunks/{chunk-QCV3HH4P.js.map → chunk-HX3ENA3I.js.map} +0 -0
  437. /package/dist/chunks/{chunk-HKRUNZVI.js.map → chunk-IWVJDG4L.js.map} +0 -0
  438. /package/dist/chunks/{chunk-PZWSRAE7.js.map → chunk-J2ITWYQQ.js.map} +0 -0
  439. /package/dist/chunks/{chunk-4BNCVR3U.js.map → chunk-JR3LFDKN.js.map} +0 -0
  440. /package/dist/chunks/{chunk-TBJ6XU3T.js.map → chunk-KDOBJGF2.js.map} +0 -0
  441. /package/dist/chunks/{chunk-QNJXULU7.js.map → chunk-KKHZG7B2.js.map} +0 -0
  442. /package/dist/chunks/{chunk-6W3UGXGG.js.map → chunk-KTSPKGEC.js.map} +0 -0
  443. /package/dist/chunks/{chunk-BURGRQWO.js.map → chunk-KXBZ7P2A.js.map} +0 -0
  444. /package/dist/chunks/{chunk-4473VICE.js.map → chunk-KZ5XYWKO.js.map} +0 -0
  445. /package/dist/chunks/{chunk-F7KOBJVW.js.map → chunk-LLVZON4J.js.map} +0 -0
  446. /package/dist/chunks/{chunk-B4AOCHH6.js.map → chunk-LNMFADLE.js.map} +0 -0
  447. /package/dist/chunks/{chunk-AC5P6W3G.js.map → chunk-ME7MQ4P2.js.map} +0 -0
  448. /package/dist/chunks/{chunk-FPC3K4TT.js.map → chunk-MHESN2FM.js.map} +0 -0
  449. /package/dist/chunks/{chunk-SLTJNYOU.js.map → chunk-MKCZB324.js.map} +0 -0
  450. /package/dist/chunks/{chunk-5IGEQN7L.js.map → chunk-NE55T7GN.js.map} +0 -0
  451. /package/dist/chunks/{chunk-VG7245VJ.js.map → chunk-NI2YKSPW.js.map} +0 -0
  452. /package/dist/chunks/{chunk-AYMB4AOZ.js.map → chunk-NQVSTOUH.js.map} +0 -0
  453. /package/dist/chunks/{chunk-QGBR42TV.js.map → chunk-NVRUHQKC.js.map} +0 -0
  454. /package/dist/chunks/{chunk-PAUMCJPX.js.map → chunk-O3AEUU3Q.js.map} +0 -0
  455. /package/dist/chunks/{chunk-4DSUVT37.js.map → chunk-OG7MBIKO.js.map} +0 -0
  456. /package/dist/chunks/{chunk-NBJ5PRAY.js.map → chunk-OGMRGX5M.js.map} +0 -0
  457. /package/dist/chunks/{chunk-WJ6QRVL6.js.map → chunk-PFQQ6YFF.js.map} +0 -0
  458. /package/dist/chunks/{chunk-CXW7I2S3.js.map → chunk-PHEL63BK.js.map} +0 -0
  459. /package/dist/chunks/{chunk-YR3TWNIV.js.map → chunk-PJORD4FZ.js.map} +0 -0
  460. /package/dist/chunks/{chunk-5ZLKTFU2.js.map → chunk-PSUJIMQV.js.map} +0 -0
  461. /package/dist/chunks/{chunk-TBGKPWCL.js.map → chunk-PWSMXR6B.js.map} +0 -0
  462. /package/dist/chunks/{chunk-PRRX5LNR.js.map → chunk-PYFAJB35.js.map} +0 -0
  463. /package/dist/chunks/{chunk-BWD2TUI4.js.map → chunk-PYFGTXFQ.js.map} +0 -0
  464. /package/dist/chunks/{chunk-BHQHTM3Z.js.map → chunk-QH4DQR57.js.map} +0 -0
  465. /package/dist/chunks/{chunk-TTKMQW6B.js.map → chunk-QR5VVGWU.js.map} +0 -0
  466. /package/dist/chunks/{chunk-UCML5ZXB.js.map → chunk-QR7GTBV3.js.map} +0 -0
  467. /package/dist/chunks/{chunk-T7ILM666.js.map → chunk-R5BEMFDZ.js.map} +0 -0
  468. /package/dist/chunks/{chunk-D4TXOX34.js.map → chunk-RQOE2MRO.js.map} +0 -0
  469. /package/dist/chunks/{chunk-6TUHWKXP.js.map → chunk-RZBIRLZ6.js.map} +0 -0
  470. /package/dist/chunks/{chunk-GTUTBTOV.js.map → chunk-SLLKDPGZ.js.map} +0 -0
  471. /package/dist/chunks/{chunk-6HYK4DDB.js.map → chunk-SXI6NW2H.js.map} +0 -0
  472. /package/dist/chunks/{chunk-R2KAESOM.js.map → chunk-SYJRI5A4.js.map} +0 -0
  473. /package/dist/chunks/{chunk-RKKU2RE4.js.map → chunk-T26HDLQS.js.map} +0 -0
  474. /package/dist/chunks/{chunk-WYA4QWWE.js.map → chunk-TBQQRYS2.js.map} +0 -0
  475. /package/dist/chunks/{chunk-GPTYDM26.js.map → chunk-TQZSXYON.js.map} +0 -0
  476. /package/dist/chunks/{chunk-D6PB3Z7Q.js.map → chunk-TSN7J4ZH.js.map} +0 -0
  477. /package/dist/chunks/{chunk-PZLPACNY.js.map → chunk-TWTZKA46.js.map} +0 -0
  478. /package/dist/chunks/{chunk-MF3SFDBW.js.map → chunk-U6DACADN.js.map} +0 -0
  479. /package/dist/chunks/{chunk-75YLZNZW.js.map → chunk-UDSY3L6M.js.map} +0 -0
  480. /package/dist/chunks/{chunk-WPGVZMSU.js.map → chunk-UOU7PGPZ.js.map} +0 -0
  481. /package/dist/chunks/{chunk-TSOZBRM6.js.map → chunk-UY5KPN7B.js.map} +0 -0
  482. /package/dist/chunks/{chunk-DEAG4G5J.js.map → chunk-V3DMBRE3.js.map} +0 -0
  483. /package/dist/chunks/{chunk-QBLHOG2F.js.map → chunk-V5K2AOLI.js.map} +0 -0
  484. /package/dist/chunks/{chunk-TTFPWGIU.js.map → chunk-VAJPCN3B.js.map} +0 -0
  485. /package/dist/chunks/{chunk-JECLB23L.js.map → chunk-VIURZHCB.js.map} +0 -0
  486. /package/dist/chunks/{chunk-IQ44C7Y3.js.map → chunk-VOR32IWQ.js.map} +0 -0
  487. /package/dist/chunks/{chunk-XNQY26AE.js.map → chunk-W3BDNKTN.js.map} +0 -0
  488. /package/dist/chunks/{chunk-JRBFL6WT.js.map → chunk-W5GDQFZS.js.map} +0 -0
  489. /package/dist/chunks/{chunk-FVIKYFYD.js.map → chunk-XWGWQBF7.js.map} +0 -0
  490. /package/dist/chunks/{chunk-PLCWCIL4.js.map → chunk-Y5NGMUDN.js.map} +0 -0
  491. /package/dist/chunks/{chunk-TMPP2DEY.js.map → chunk-YCODODZO.js.map} +0 -0
  492. /package/dist/chunks/{chunk-HG2PPCAE.js.map → chunk-YENBRA7T.js.map} +0 -0
  493. /package/dist/chunks/{chunk-HCQGZPVT.js.map → chunk-YHUAVEOM.js.map} +0 -0
  494. /package/dist/chunks/{chunk-4ENL4VUO.js.map → chunk-YPNF7YFU.js.map} +0 -0
  495. /package/dist/chunks/{chunk-IL4Y3JGT.js.map → chunk-ZCDOMHZU.js.map} +0 -0
  496. /package/dist/chunks/{chunk-BNLIRJ3M.js.map → chunk-ZPOMLH5G.js.map} +0 -0
  497. /package/dist/chunks/{cli-runtime-ZJKKIW4H.js.map → cli-runtime-5IXM6W6M.js.map} +0 -0
  498. /package/dist/chunks/{commands-TQH5DD22.js.map → commands-LOMIOXZ3.js.map} +0 -0
  499. /package/dist/chunks/{config-APYUJ5UW.js.map → config-UBOJ3N77.js.map} +0 -0
  500. /package/dist/chunks/{cost-5YV27U7F.js.map → cost-LM34ZHBI.js.map} +0 -0
  501. /package/dist/chunks/{crash-report-QVXU2YVL.js.map → crash-report-PTHJP6ZC.js.map} +0 -0
  502. /package/dist/chunks/{dist-AOT4CEP5.js.map → dist-3P6YD6AW.js.map} +0 -0
  503. /package/dist/chunks/{dist-H7CAJ3ZW.js.map → dist-3W2E4ZVU.js.map} +0 -0
  504. /package/dist/chunks/{dist-Z2HW2SJR.js.map → dist-C7M5OJAH.js.map} +0 -0
  505. /package/dist/chunks/{dist-2FSOLP72.js.map → dist-HJYAXRBL.js.map} +0 -0
  506. /package/dist/chunks/{dist-IZGKRIWL.js.map → dist-LZAIP6RQ.js.map} +0 -0
  507. /package/dist/chunks/{dist-J4UXFVYR.js.map → dist-TEFBDQUK.js.map} +0 -0
  508. /package/dist/chunks/{dist-PZYMYR7N.js.map → dist-Y4YXKFL6.js.map} +0 -0
  509. /package/dist/chunks/{dist-JHKRSGW6.js.map → dist-ZVUIWK64.js.map} +0 -0
  510. /package/dist/chunks/{doctor-CM6UPXG5.js.map → doctor-LL6FW4DE.js.map} +0 -0
  511. /package/dist/chunks/{entry-QQDPY6ZL.js.map → entry-QT6CMKBN.js.map} +0 -0
  512. /package/dist/chunks/{eval-GZA22B4I.js.map → eval-HKAAPPGO.js.map} +0 -0
  513. /package/dist/chunks/{extension-N5IQNKVZ.js.map → extension-55PWXBQY.js.map} +0 -0
  514. /package/dist/chunks/{home-I4FIB6FV.js.map → home-7KXFLNBX.js.map} +0 -0
  515. /package/dist/chunks/{homes-WTMMXQ6G.js.map → homes-WYHCCBK6.js.map} +0 -0
  516. /package/dist/chunks/{hooks-R42OTZDT.js.map → hooks-UZ46HYL4.js.map} +0 -0
  517. /package/dist/chunks/{hooks-report-K6VOPVBR.js.map → hooks-report-RD53ZGON.js.map} +0 -0
  518. /package/dist/chunks/{host-65UFBZJV.js.map → host-NUIEARM2.js.map} +0 -0
  519. /package/dist/chunks/{host-queries-L4PYE2BW.js.map → host-queries-OB7OWZI6.js.map} +0 -0
  520. /package/dist/chunks/{installed-list-7QIWVKLQ.js.map → installed-list-T3G757YK.js.map} +0 -0
  521. /package/dist/chunks/{learn-NZXLKYV4.js.map → learn-MTQXTX6E.js.map} +0 -0
  522. /package/dist/chunks/{learn-builtin-RC4XXVBS.js.map → learn-builtin-3SXUVV7J.js.map} +0 -0
  523. /package/dist/chunks/{lifecycle-NLCZ6OPA.js.map → lifecycle-MFXCFSJP.js.map} +0 -0
  524. /package/dist/chunks/{list-2U67CAWS.js.map → list-M6Y24N5J.js.map} +0 -0
  525. /package/dist/chunks/{live-CWJ2NWUQ.js.map → live-UNUQSBVZ.js.map} +0 -0
  526. /package/dist/chunks/{load-H52QQBVE.js.map → load-GA4OIEG4.js.map} +0 -0
  527. /package/dist/chunks/{logs-ZIW3QFU4.js.map → logs-LUPWFBWF.js.map} +0 -0
  528. /package/dist/chunks/{mcp-serve-ZC2OKIPP.js.map → mcp-serve-RQKZQNPI.js.map} +0 -0
  529. /package/dist/chunks/{message-command-IHZWL5GI.js.map → message-command-L5HAX56P.js.map} +0 -0
  530. /package/dist/chunks/{open-AHDQMVXI.js.map → open-D6QESFR2.js.map} +0 -0
  531. /package/dist/chunks/{operator-tools-P5R4TF6N.js.map → operator-tools-CFYHXAZS.js.map} +0 -0
  532. /package/dist/chunks/{output-schema-Q5RWHNKE.js.map → output-schema-WV5RUG66.js.map} +0 -0
  533. /package/dist/chunks/{pal-T42HU4AK.js.map → pal-JVR6ZLEI.js.map} +0 -0
  534. /package/dist/chunks/{peers-5RYEA7IA.js.map → peers-EK24T2HF.js.map} +0 -0
  535. /package/dist/chunks/{providers-I24HYZXG.js.map → providers-2CLIPXQ2.js.map} +0 -0
  536. /package/dist/chunks/{providers-BXXIM7EW.js.map → providers-RTRULUUS.js.map} +0 -0
  537. /package/dist/chunks/{pty-WVKM6ATI.js.map → pty-OHLKFJFA.js.map} +0 -0
  538. /package/dist/chunks/{resume-F7JEDBHI.js.map → resume-5OWRUFUL.js.map} +0 -0
  539. /package/dist/chunks/{resume-command-4I47WN7T.js.map → resume-command-HIIEMJAT.js.map} +0 -0
  540. /package/dist/chunks/{running-VID6BVT2.js.map → running-3BAWMUK4.js.map} +0 -0
  541. /package/dist/chunks/{schedule-75IZH76Z.js.map → schedule-OW54ANKO.js.map} +0 -0
  542. /package/dist/chunks/{send-QRYY2NCG.js.map → send-5NIU4WFY.js.map} +0 -0
  543. /package/dist/chunks/{send-person-VADQNJBN.js.map → send-person-RYBIVAML.js.map} +0 -0
  544. /package/dist/chunks/{setting-cli-O4YWOIU5.js.map → setting-cli-CHPHJSAM.js.map} +0 -0
  545. /package/dist/chunks/{skills-PEMVX5C3.js.map → skills-6DNVYWKR.js.map} +0 -0
  546. /package/dist/chunks/{start-check-EKRXJ5VE.js.map → start-check-MHUGGAYJ.js.map} +0 -0
  547. /package/dist/chunks/{startup-failure-2UJKPNMR.js.map → startup-failure-R2AIVZYU.js.map} +0 -0
  548. /package/dist/chunks/{state-X3MKUFYM.js.map → state-2WEGEDJ5.js.map} +0 -0
  549. /package/dist/chunks/{store-4OXWHFS5.js.map → store-MCRRV4BB.js.map} +0 -0
  550. /package/dist/chunks/{store-MK5IYBE5.js.map → store-RITSVC5A.js.map} +0 -0
  551. /package/dist/chunks/{store-QFNY4BV4.js.map → store-UFRLA47W.js.map} +0 -0
  552. /package/dist/chunks/{store-VRKKFOYW.js.map → store-WH3C3EPV.js.map} +0 -0
  553. /package/dist/chunks/{update-ELZEXYIX.js.map → update-3VXQAKVL.js.map} +0 -0
  554. /package/dist/chunks/{worktree-5CWUUWNO.js.map → worktree-6L5FLMVI.js.map} +0 -0
@@ -2,10 +2,10 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
2
2
  const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  openWorktreeHookRuntime
5
- } from "./chunk-MF3SFDBW.js";
5
+ } from "./chunk-U6DACADN.js";
6
6
  import {
7
7
  selectDesktopBackend
8
- } from "./chunk-MUSGZEFY.js";
8
+ } from "./chunk-F5SG7JPB.js";
9
9
  import {
10
10
  NAMZU_COMPACT_WORDMARK,
11
11
  NAMZU_WORDMARK,
@@ -23,25 +23,25 @@ import {
23
23
  rewritePromptHistory,
24
24
  seedPromptHistory,
25
25
  trimPromptHistory
26
- } from "./chunk-H6NTNPWD.js";
26
+ } from "./chunk-HGBVFYQT.js";
27
27
  import {
28
28
  changesBlock,
29
29
  changesSinceConfirmed,
30
30
  confirmationView,
31
31
  describeChanges,
32
32
  permissionsChanged
33
- } from "./chunk-4BNCVR3U.js";
33
+ } from "./chunk-JR3LFDKN.js";
34
34
  import {
35
35
  hooksOf
36
- } from "./chunk-BA7KUG6V.js";
36
+ } from "./chunk-6FGEPFFB.js";
37
37
  import {
38
38
  settleAnsweredPark
39
- } from "./chunk-N5CCXOYK.js";
39
+ } from "./chunk-3DCQNM64.js";
40
40
  import {
41
41
  DELIVERY_READ_LIMIT,
42
42
  readSourceDeliveryPage,
43
43
  takeSuppressedCount
44
- } from "./chunk-JJ72TLOA.js";
44
+ } from "./chunk-MESE2QPT.js";
45
45
  import {
46
46
  DEFAULT_MAX_ITERATIONS,
47
47
  DEFAULT_TIMEOUT_MS,
@@ -52,14 +52,14 @@ import {
52
52
  editedJob,
53
53
  previewLines,
54
54
  runsPerDay
55
- } from "./chunk-GT22EDUB.js";
55
+ } from "./chunk-EOLSGOXC.js";
56
56
  import {
57
57
  callEndpoint,
58
58
  readEndpoint
59
59
  } from "./chunk-6YG7D7U4.js";
60
60
  import {
61
61
  displayState
62
- } from "./chunk-SXONHO4H.js";
62
+ } from "./chunk-65ROGOIM.js";
63
63
  import {
64
64
  visibleScheduleMessage
65
65
  } from "./chunk-NADQQMMG.js";
@@ -71,18 +71,18 @@ import {
71
71
  gateRefusal,
72
72
  scriptShellUnavailableReason,
73
73
  verifyScheduledScript
74
- } from "./chunk-RQAY7REG.js";
74
+ } from "./chunk-EDAEDZ37.js";
75
75
  import {
76
76
  allowsCommands,
77
77
  compileJobPolicy,
78
78
  compileScriptCheckPolicy,
79
79
  isPresetName
80
- } from "./chunk-2KVQVPJ7.js";
80
+ } from "./chunk-6ZZQSHLH.js";
81
81
  import {
82
82
  locateJob,
83
83
  scheduleHomes,
84
84
  severalLine
85
- } from "./chunk-D6PB3Z7Q.js";
85
+ } from "./chunk-TSN7J4ZH.js";
86
86
  import {
87
87
  AUTO_MODE_DEFAULT_NOTICE_BODY,
88
88
  AUTO_MODE_DEFAULT_NOTICE_TITLE,
@@ -92,23 +92,23 @@ import {
92
92
  hasAcknowledgedBypass,
93
93
  hasSeenAutoModeDefaultNotice,
94
94
  markAutoModeDefaultNoticeSeen
95
- } from "./chunk-NKHEBASJ.js";
95
+ } from "./chunk-EZYMBETQ.js";
96
96
  import {
97
97
  applyFallbackFlag
98
98
  } from "./chunk-RL2CTUF2.js";
99
99
  import {
100
100
  applyProviderFlags
101
- } from "./chunk-FK4MAZV2.js";
101
+ } from "./chunk-BXUNIVZB.js";
102
102
  import {
103
103
  parkedRunWords,
104
104
  resumeCommand
105
- } from "./chunk-QNJXULU7.js";
105
+ } from "./chunk-KKHZG7B2.js";
106
106
  import {
107
107
  appendHistory,
108
108
  nextFireOf,
109
109
  readHistory,
110
110
  readState
111
- } from "./chunk-SLTJNYOU.js";
111
+ } from "./chunk-MKCZB324.js";
112
112
  import {
113
113
  PERSON_ONLY_OPS,
114
114
  controlDispatch,
@@ -127,11 +127,11 @@ import {
127
127
  secretForHome,
128
128
  startControlServer,
129
129
  writeControlInfo
130
- } from "./chunk-DRSQTKDN.js";
130
+ } from "./chunk-7BRCXPI3.js";
131
131
  import {
132
132
  formatSessionList,
133
133
  rowsFromLocalList
134
- } from "./chunk-ME4LETA3.js";
134
+ } from "./chunk-F5AHQ4RX.js";
135
135
  import {
136
136
  CLIPBOARD_KILL_SWITCH,
137
137
  ClickCounter,
@@ -144,15 +144,14 @@ import {
144
144
  orderRange,
145
145
  snapRange,
146
146
  wordAt
147
- } from "./chunk-NVWD5XDT.js";
147
+ } from "./chunk-DAZEYCY5.js";
148
148
  import {
149
149
  buildPeerTools,
150
150
  openLivePeers,
151
151
  peerMailLabel,
152
152
  peerMailMessage,
153
- resolvePeerRuntime,
154
- runsUnderAny
155
- } from "./chunk-EXJJLYZK.js";
153
+ resolvePeerRuntime
154
+ } from "./chunk-LKWENSPO.js";
156
155
  import {
157
156
  AUTO_CHOICE_ID,
158
157
  PR_NONE,
@@ -180,13 +179,13 @@ import {
180
179
  skillStateOf,
181
180
  withAutoChoice,
182
181
  writeConversationExport
183
- } from "./chunk-D2R47LDH.js";
182
+ } from "./chunk-HIJXZ6FI.js";
184
183
  import {
185
184
  tuiPalDefinition,
186
185
  tuiPalEnvironment,
187
186
  tuiPalOwner,
188
187
  tuiPalPreferences
189
- } from "./chunk-4Y242BU4.js";
188
+ } from "./chunk-DL5KZGQK.js";
190
189
  import {
191
190
  isModelOnlyContext,
192
191
  runtimeContextRowLabel
@@ -196,12 +195,19 @@ import {
196
195
  claimMismatchLine,
197
196
  goalEndingLine,
198
197
  handedBackLines,
199
- hypermodeRefusal,
200
198
  outcomeNotice
201
- } from "./chunk-42JIZXVL.js";
199
+ } from "./chunk-HN2NZD4E.js";
200
+ import {
201
+ HOSTS,
202
+ capabilityOptionsFromConfig,
203
+ hypermodeRefusal
204
+ } from "./chunk-UBDKPN27.js";
202
205
  import {
203
206
  defaultStartMode
204
- } from "./chunk-DEAG4G5J.js";
207
+ } from "./chunk-V3DMBRE3.js";
208
+ import {
209
+ runsUnderAny
210
+ } from "./chunk-NSU3TAZZ.js";
205
211
  import {
206
212
  COMMAND_ROW_INDENT,
207
213
  COMPACTED_HINT,
@@ -300,22 +306,22 @@ import {
300
306
  webSettledLine,
301
307
  withDebugDetail,
302
308
  withoutUntrustedFrames
303
- } from "./chunk-KSRN5Y2O.js";
309
+ } from "./chunk-Y2HHHKBF.js";
304
310
  import {
305
311
  openManagedWorktrees,
306
312
  worktreeOpenHint
307
- } from "./chunk-K7YZJV2X.js";
313
+ } from "./chunk-U3OY3T54.js";
308
314
  import {
309
315
  MCP_OUTPUT_CHARS,
310
316
  boundedMcpText,
311
317
  validatePromptArguments
312
- } from "./chunk-IMMUS7IW.js";
318
+ } from "./chunk-TFREQNR5.js";
313
319
  import {
314
320
  openInBrowser
315
- } from "./chunk-PLCWCIL4.js";
321
+ } from "./chunk-Y5NGMUDN.js";
316
322
  import {
317
323
  readInstallManifest
318
- } from "./chunk-KF6IKSF2.js";
324
+ } from "./chunk-RYOZ4HYY.js";
319
325
  import {
320
326
  completionNotice,
321
327
  countAgents,
@@ -325,10 +331,10 @@ import {
325
331
  resumeCallText,
326
332
  resumeReviewLines,
327
333
  runTokens
328
- } from "./chunk-HG2PPCAE.js";
334
+ } from "./chunk-YENBRA7T.js";
329
335
  import {
330
336
  describeBrowserStatus
331
- } from "./chunk-YWRRS7SO.js";
337
+ } from "./chunk-COOEFXWT.js";
332
338
  import {
333
339
  MAY_BE_LIMITED_WINDOW_MS,
334
340
  accountProductName,
@@ -340,19 +346,19 @@ import {
340
346
  import {
341
347
  beginSubscriptionLogin,
342
348
  parsePastedInput
343
- } from "./chunk-BNLIRJ3M.js";
349
+ } from "./chunk-ZPOMLH5G.js";
344
350
  import {
345
351
  API_KEY_ACCOUNT_PROVIDERS,
346
352
  openCliAccounts,
347
353
  storedAccountSignedIn
348
- } from "./chunk-BWD2TUI4.js";
354
+ } from "./chunk-PYFGTXFQ.js";
349
355
  import {
350
356
  beginCodexDeviceLogin
351
- } from "./chunk-GTUTBTOV.js";
357
+ } from "./chunk-SLLKDPGZ.js";
352
358
  import {
353
359
  claimPalConversation,
354
360
  listPalConversations
355
- } from "./chunk-4ENL4VUO.js";
361
+ } from "./chunk-YPNF7YFU.js";
356
362
  import {
357
363
  ConversationIndexRefreshError,
358
364
  activeConversationTurn,
@@ -403,15 +409,15 @@ import {
403
409
  unarchiveConversation,
404
410
  unchipPastedRanges,
405
411
  widenOverChips
406
- } from "./chunk-VG7245VJ.js";
412
+ } from "./chunk-NI2YKSPW.js";
407
413
  import {
408
414
  bindAccount,
409
415
  findAccountByName,
410
416
  isDefaultAccountId
411
- } from "./chunk-PRRX5LNR.js";
417
+ } from "./chunk-PYFAJB35.js";
412
418
  import {
413
419
  startAutoUpdate
414
- } from "./chunk-5IGEQN7L.js";
420
+ } from "./chunk-NE55T7GN.js";
415
421
  import {
416
422
  BACKGROUND_SECTION_TITLES,
417
423
  Box_default,
@@ -420,6 +426,7 @@ import {
420
426
  CLOSING_GLYPH,
421
427
  CONTINUATION_GLYPH,
422
428
  Checklist,
429
+ ColouredText,
423
430
  EMPTY_TEAM,
424
431
  END_WORDS,
425
432
  LiveActivity,
@@ -518,6 +525,7 @@ import {
518
525
  shellToneColor,
519
526
  shownTheme,
520
527
  slashTiming,
528
+ spentText,
521
529
  stoppedByUserNote,
522
530
  systemRowStyle,
523
531
  taskCallLabel,
@@ -557,7 +565,7 @@ import {
557
565
  wroteLineText,
558
566
  wroteOf,
559
567
  wroteRailText
560
- } from "./chunk-Z5OG4HXI.js";
568
+ } from "./chunk-TT3GLF32.js";
561
569
  import {
562
570
  describeAllCredentialsLogout,
563
571
  describeApiKeyLogout,
@@ -569,13 +577,13 @@ import {
569
577
  import {
570
578
  ARGUMENTS_TOKEN,
571
579
  discoverUserCommands
572
- } from "./chunk-IQ44C7Y3.js";
580
+ } from "./chunk-VOR32IWQ.js";
573
581
  import {
574
582
  readManifest
575
583
  } from "./chunk-AK2U3N2A.js";
576
584
  import {
577
585
  resolveNpmInvocation
578
- } from "./chunk-TSOZBRM6.js";
586
+ } from "./chunk-UY5KPN7B.js";
579
587
  import {
580
588
  capChoiceLines,
581
589
  choiceDisplayText,
@@ -615,7 +623,7 @@ import {
615
623
  describeCacheLifetime,
616
624
  promptCacheTtl,
617
625
  providerOffersCacheLifetime
618
- } from "./chunk-PE4MWWUW.js";
626
+ } from "./chunk-5M44QX4G.js";
619
627
  import {
620
628
  CLICK_EXPAND_HINT,
621
629
  CLICK_FOLD_HINT,
@@ -625,11 +633,12 @@ import {
625
633
  NOT_SHOWN_LINE,
626
634
  StartupRefusal,
627
635
  TURN_STOPPED_LINE,
628
- WORKFLOW_BACKGROUND_NOTE,
629
636
  WORKFLOW_TOOL_NAME,
630
637
  allowsFor,
631
638
  allowsForBatch,
632
639
  clipText,
640
+ colourLine,
641
+ colourLines,
633
642
  declinedLine,
634
643
  describeAllows,
635
644
  displayPath as displayPath2,
@@ -640,12 +649,16 @@ import {
640
649
  isMachineError,
641
650
  isSessionPlanPath,
642
651
  parseSlash,
652
+ plainOf,
643
653
  resolveTurnGuards,
644
654
  sameAllow,
645
655
  sandboxRunsShellUnasked,
646
656
  settledElapsed,
647
- withoutCdToCwd
648
- } from "./chunk-EWPGU4HH.js";
657
+ sgrSpans,
658
+ withoutCdToCwd,
659
+ workflowLaunchNote,
660
+ wrapColoured
661
+ } from "./chunk-Q5H7EHCH.js";
649
662
  import {
650
663
  SAVE_SKILL_TOOL_NAME,
651
664
  SKILL_CREATOR_SKILL,
@@ -653,13 +666,13 @@ import {
653
666
  describeCollision,
654
667
  learnSkillPrompt,
655
668
  newSkillPrompt
656
- } from "./chunk-PZLPACNY.js";
669
+ } from "./chunk-TWTZKA46.js";
657
670
  import {
658
671
  describePlainInterruption,
659
672
  describeProviderWait,
660
673
  isSelfMending,
661
674
  isSpentAllowance
662
- } from "./chunk-VQZPXK4X.js";
675
+ } from "./chunk-2ZA7XJ63.js";
663
676
  import {
664
677
  debugRequested
665
678
  } from "./chunk-GNBMKISG.js";
@@ -671,14 +684,14 @@ import {
671
684
  handoffContinuationNote,
672
685
  refusalDetail,
673
686
  retryAfterMs
674
- } from "./chunk-PS5SVAUJ.js";
687
+ } from "./chunk-2SXME4FG.js";
675
688
  import {
676
689
  autoAvailable,
677
690
  nextCycleMode,
678
691
  permissionModeDescription,
679
692
  permissionModeLabel,
680
693
  permissionModeName
681
- } from "./chunk-452SL2Y4.js";
694
+ } from "./chunk-3CEL5P45.js";
682
695
  import {
683
696
  paint,
684
697
  rowTints,
@@ -687,24 +700,24 @@ import {
687
700
  } from "./chunk-P65AXQPL.js";
688
701
  import {
689
702
  discoverAgentDefinitions
690
- } from "./chunk-4DSUVT37.js";
703
+ } from "./chunk-OG7MBIKO.js";
691
704
  import {
692
705
  readAgentHooks
693
- } from "./chunk-MK42KB72.js";
706
+ } from "./chunk-FHKPEPTE.js";
694
707
  import {
695
708
  readSkillHooks,
696
709
  withoutSessionStart
697
- } from "./chunk-TBJ6XU3T.js";
710
+ } from "./chunk-KDOBJGF2.js";
698
711
  import {
699
712
  isPluginId,
700
713
  readInstalledPlugins,
701
714
  samePath,
702
715
  splitPluginId
703
- } from "./chunk-D4TXOX34.js";
716
+ } from "./chunk-RQOE2MRO.js";
704
717
  import {
705
718
  primaryProvider,
706
719
  writePreferences
707
- } from "./chunk-IL4Y3JGT.js";
720
+ } from "./chunk-ZCDOMHZU.js";
708
721
  import {
709
722
  apiKeyLogoutWord,
710
723
  automaticChoice,
@@ -715,7 +728,7 @@ import {
715
728
  hasApiCredential,
716
729
  isApiKeyLogoutTarget,
717
730
  signedInSubscriptionProviders
718
- } from "./chunk-K2EKXCLZ.js";
731
+ } from "./chunk-G5NS6ASX.js";
719
732
  import {
720
733
  isAnthropicOAuthToken
721
734
  } from "./chunk-LPPFJYL6.js";
@@ -727,14 +740,14 @@ import {
727
740
  loadSkillBody,
728
741
  renderSkillRoster,
729
742
  skillTierLabel
730
- } from "./chunk-6HYK4DDB.js";
743
+ } from "./chunk-SXI6NW2H.js";
731
744
  import {
732
745
  isTrusted,
733
746
  isTrustedAtStateRoot,
734
747
  startNewTrustList,
735
748
  trustDir,
736
749
  trustListProblem
737
- } from "./chunk-VWUTJ4EU.js";
750
+ } from "./chunk-CJBRIESJ.js";
738
751
  import {
739
752
  expandTabs,
740
753
  scriptText,
@@ -743,16 +756,19 @@ import {
743
756
  import {
744
757
  DEFAULT_SHOW_TURN_DURATION,
745
758
  getScreenModeNow
746
- } from "./chunk-2DCOB33W.js";
759
+ } from "./chunk-B7DL5QPS.js";
747
760
  import {
748
761
  deleteUserConfigValue,
749
762
  setUserConfigValue
750
- } from "./chunk-6W3UGXGG.js";
763
+ } from "./chunk-KTSPKGEC.js";
751
764
  import {
752
765
  COMPOSER_TRIGGER_DEFAULTS,
753
766
  COMPOSER_TRIGGER_IDS,
754
767
  ConfigLoadError,
755
- DEFAULT_WORKFLOW_SIZE_GUIDELINE,
768
+ LARGE_WORKFLOW_GLYPH,
769
+ LARGE_WORKFLOW_NOTICE_KEY,
770
+ LARGE_WORKFLOW_NOTICE_MS,
771
+ LARGE_WORKFLOW_STATUS_NOTICE,
756
772
  LARGE_WORKFLOW_WARNING,
757
773
  approveShownMcpServers,
758
774
  browserCallOrigin,
@@ -780,10 +796,11 @@ import {
780
796
  resolveComposerTriggers,
781
797
  saveDecisionKey,
782
798
  shouldOfferDecisionSetup,
799
+ sizeGuidelineLabel,
783
800
  verdictOf,
784
801
  withWorkflowKeywordSwitch,
785
802
  writeConnection
786
- } from "./chunk-O4EILTV6.js";
803
+ } from "./chunk-DRYK66N3.js";
787
804
  import {
788
805
  PROJECT_MCP_FILE,
789
806
  parseMcpServerFile
@@ -825,10 +842,10 @@ import {
825
842
  restrictToOwner,
826
843
  writeStoredApiKey,
827
844
  writeStoredGeminiApiKey
828
- } from "./chunk-AYMB4AOZ.js";
845
+ } from "./chunk-NQVSTOUH.js";
829
846
  import {
830
847
  namzuHomePath
831
- } from "./chunk-JRBFL6WT.js";
848
+ } from "./chunk-W5GDQFZS.js";
832
849
  import {
833
850
  stringWidth
834
851
  } from "./chunk-U5UV2YRE.js";
@@ -933,7 +950,7 @@ import {
933
950
  withAccountLock,
934
951
  wrapUntrusted,
935
952
  writePeerRecord
936
- } from "./chunk-QQ4S6MNH.js";
953
+ } from "./chunk-EDLBZSB2.js";
937
954
  import {
938
955
  __name,
939
956
  __toESM
@@ -1235,9 +1252,9 @@ function grammarState(word) {
1235
1252
  return state.status === "failed" ? "plain" : state.status;
1236
1253
  }
1237
1254
  __name(grammarState, "grammarState");
1238
- async function whenGrammarsSettle(words2) {
1255
+ async function whenGrammarsSettle(words3) {
1239
1256
  const waits = [];
1240
- for (const word of words2) {
1257
+ for (const word of words3) {
1241
1258
  if (!enabled || !colourWanted()) return;
1242
1259
  const id = grammarOf(word);
1243
1260
  if (id === void 0) continue;
@@ -1505,7 +1522,7 @@ function continuation(source, read) {
1505
1522
  return open.length > OPEN_LIMIT ? STOPPED : open;
1506
1523
  }
1507
1524
  __name(continuation, "continuation");
1508
- function colourLines(word, lines4, flow = NO_FLOW) {
1525
+ function colourLines2(word, lines4, flow = NO_FLOW) {
1509
1526
  if (!enabled || !colourWanted() || flow.above === STOPPED) return void 0;
1510
1527
  const id = grammarOf(word);
1511
1528
  if (id === void 0 || states.get(id)?.status !== "ready" || !core) return void 0;
@@ -1546,7 +1563,7 @@ function colourLines(word, lines4, flow = NO_FLOW) {
1546
1563
  remember(key, result);
1547
1564
  return result;
1548
1565
  }
1549
- __name(colourLines, "colourLines");
1566
+ __name(colourLines2, "colourLines");
1550
1567
  function remember(key, result) {
1551
1568
  if (key.length > FINISHED_CHARS / 4) return;
1552
1569
  finished.set(key, result);
@@ -1564,7 +1581,7 @@ function flowAfter(word, flow, lines4) {
1564
1581
  if (flow.above === STOPPED) return { above: STOPPED, ...base };
1565
1582
  if (grammarOf(word) === void 0) return { above: "", ...base };
1566
1583
  if (colourableLines(lines4, flow, word) < lines4.length) return { above: STOPPED, ...base };
1567
- return { above: colourLines(word, lines4, flow)?.above ?? "", ...base };
1584
+ return { above: colourLines2(word, lines4, flow)?.above ?? "", ...base };
1568
1585
  }
1569
1586
  __name(flowAfter, "flowAfter");
1570
1587
  function runsForPieces(line, runs, pieces2) {
@@ -4406,14 +4423,17 @@ function backgroundJobOutputRows(output, columns) {
4406
4423
  if (!output) return ["No output available"];
4407
4424
  const bytes = Buffer.from(output.chunk, "utf8");
4408
4425
  const omittedHere = Math.max(0, bytes.length - MAX_VISIBLE_OUTPUT_BYTES);
4409
- const latest = bytes.subarray(omittedHere).toString("utf8").replace(/\n$/u, "");
4426
+ const latest = colourLines(bytes.subarray(omittedHere).toString("utf8").replace(/\n$/u, ""));
4410
4427
  const lines4 = [
4411
4428
  ...output.droppedBytes > 0 ? [`Earlier output was dropped (${formatSize(output.droppedBytes)}).`] : [],
4412
4429
  ...omittedHere > 0 ? [`Showing the latest ${formatSize(MAX_VISIBLE_OUTPUT_BYTES)}.`] : [],
4413
- latest.length > 0 ? latest : "No output available"
4430
+ ...latest.some((line) => line.length > 0) ? latest : ["No output available"]
4414
4431
  ];
4415
- return permissionReviewRows(lines4.join("\n").replace(/\t/gu, " "), columns).map(
4416
- (row2) => row2.text
4432
+ return lines4.flatMap(
4433
+ (line) => wrapColoured(
4434
+ line.replace(/\t/gu, " "),
4435
+ (plain3) => permissionReviewRows(plain3, columns).map((row2) => row2.text)
4436
+ )
4417
4437
  );
4418
4438
  }
4419
4439
  __name(backgroundJobOutputRows, "backgroundJobOutputRows");
@@ -4640,7 +4660,15 @@ function BackgroundJobsPanel({
4640
4660
  earlierOutputOmitted ? "Output: (earlier output not shown)" : "Output:",
4641
4661
  innerColumns
4642
4662
  ) }),
4643
- shownOutput.map((row2) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { color: theme.text.secondary, wrap: "truncate-end", children: row2.text || " " }, row2.index)),
4663
+ shownOutput.map((row2) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
4664
+ ColouredText,
4665
+ {
4666
+ text: row2.text || " ",
4667
+ color: theme.text.secondary,
4668
+ wrap: "truncate-end"
4669
+ },
4670
+ row2.index
4671
+ )),
4644
4672
  notice ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { color: theme.status.warn, wrap: "truncate-end", children: truncateChoiceText(notice, innerColumns) }) : null,
4645
4673
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { color: theme.text.muted, wrap: "truncate-end", children: footer })
4646
4674
  ] });
@@ -5831,7 +5859,7 @@ function CodeLines({
5831
5859
  }) {
5832
5860
  (0, import_react3.useSyncExternalStore)(subscribeGrammars, grammarVersion);
5833
5861
  grammarState(lang);
5834
- const coloured = colourLines(lang, lines4, { above, block, spent });
5862
+ const coloured = colourLines2(lang, lines4, { above, block, spent });
5835
5863
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: lines4.map((line, i) => {
5836
5864
  const runs = coloured?.lines[i];
5837
5865
  const key = `c-${i}`;
@@ -7360,7 +7388,7 @@ ${message.thinking}`);
7360
7388
  const body = [
7361
7389
  message.content,
7362
7390
  ...message.detail ?? [],
7363
- ...message.shell ? [...message.shell.stdout, ...message.shell.stderr] : []
7391
+ ...message.shell ? [...message.shell.stdout, ...message.shell.stderr].map(plainOf) : []
7364
7392
  ].join("\n");
7365
7393
  out.push(`${who}${stamp ? ` (${stamp})` : ""}:
7366
7394
  ${body}`);
@@ -7544,9 +7572,7 @@ function RawMessageRow({
7544
7572
  const fullHeader = message.shell?.fullHeader;
7545
7573
  const text = [
7546
7574
  `${fullHeader !== void 0 ? terminalDisplayText(fullHeader) : content}${message.meta ? `${metaSeparator(message.meta)}${terminalDisplayText(message.meta)}` : ""}`,
7547
- ...message.shell ? shellResultRows(message.shell, { expanded: true }).map(
7548
- (row2) => terminalDisplayText(row2.text)
7549
- ) : [],
7575
+ ...message.shell ? shellResultRows(message.shell, { expanded: true }).map((row2) => plainOf(row2.text)) : [],
7550
7576
  ...(message.checklist ?? []).map(checklistLine),
7551
7577
  ...message.detail && message.detail.length > 0 && !message.shell ? ["", ...message.detail.map(terminalDisplayText)] : []
7552
7578
  ].join("\n");
@@ -7778,7 +7804,7 @@ function ShellBlock({
7778
7804
  // biome-ignore lint/suspicious/noArrayIndexKey: these rows have no local state; expansion replaces their text in place.
7779
7805
  /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Box_default, { flexDirection: "row", children: [
7780
7806
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Box_default, { width: RESULT_GUTTER_WIDTH, flexShrink: 0, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Text, { color: theme.text.muted, children: i === 0 ? "\u23BF" : " " }) }),
7781
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Box_default, { flexGrow: 1, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Text, { color: shellToneColor(row2.tone), wrap: "wrap", children: row2.text.length > 0 ? fitHintPlain(
7807
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Box_default, { flexGrow: 1, children: row2.text.includes("\x1B") ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(ColouredText, { text: row2.text, color: shellToneColor(row2.tone), wrap: "wrap" }) : /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Text, { color: shellToneColor(row2.tone), wrap: "wrap", children: row2.text.length > 0 ? fitHintPlain(
7782
7808
  terminalDisplayText(row2.text),
7783
7809
  Math.max(10, width - SHELL_RESULT_INDENT)
7784
7810
  ) : " " }) })
@@ -7875,13 +7901,20 @@ function renderedDetailLines(message, columns, hint) {
7875
7901
  return [...checklist, ...renderedBodyLines(message, columns, hint)];
7876
7902
  }
7877
7903
  __name(renderedDetailLines, "renderedDetailLines");
7904
+ function renderedShellRows(message, columns, hint) {
7905
+ if (!message.shell) return null;
7906
+ return shellResultRows(message.shell, {
7907
+ expanded: message.detailExpanded === true,
7908
+ ...hint !== void 0 ? { hint } : {},
7909
+ ...message.shell.byLine === true && columns !== void 0 ? { width: shellBodyWidth(Math.max(10, columns - 4)) } : {}
7910
+ });
7911
+ }
7912
+ __name(renderedShellRows, "renderedShellRows");
7878
7913
  function renderedBodyLines(message, columns, hint) {
7879
7914
  if (message.shell) {
7880
- return shellResultRows(message.shell, {
7881
- expanded: message.detailExpanded === true,
7882
- ...hint !== void 0 ? { hint } : {},
7883
- ...message.shell.byLine === true && columns !== void 0 ? { width: shellBodyWidth(Math.max(10, columns - 4)) } : {}
7884
- }).map((row2) => " ".repeat(SHELL_RESULT_INDENT) + terminalDisplayText(row2.text));
7915
+ return (renderedShellRows(message, columns, hint) ?? []).map(
7916
+ (row2) => " ".repeat(SHELL_RESULT_INDENT) + terminalDisplayText(plainOf(row2.text))
7917
+ );
7885
7918
  }
7886
7919
  const lines4 = message.detail;
7887
7920
  if (!lines4 || lines4.length === 0 || message.activity !== void 0 && !message.detailExpanded)
@@ -8561,14 +8594,14 @@ function head(news) {
8561
8594
  return null;
8562
8595
  }
8563
8596
  __name(head, "head");
8564
- function newOutputHint(columns, news, words2) {
8597
+ function newOutputHint(columns, news, words3) {
8565
8598
  const h = head(news);
8566
8599
  const ladder = h ? [
8567
- `${h.full} \xB7 \u2193 ${words2.long} \xB7 ${words2.key}`,
8568
- `${h.full} \xB7 \u2193 ${words2.short} \xB7 ${words2.key}`,
8569
- `${h.short} \xB7 \u2193 ${words2.short}`,
8570
- ...news.count > 0 ? [`${news.count} new \u2193`, `${news.count}`] : [`\u2193 ${words2.short}`, "\u2193"]
8571
- ] : [`\u2193 ${words2.long} \xB7 ${words2.key}`, `\u2193 ${words2.short} \xB7 ${words2.key}`, `\u2193 ${words2.short}`, "\u2193"];
8600
+ `${h.full} \xB7 \u2193 ${words3.long} \xB7 ${words3.key}`,
8601
+ `${h.full} \xB7 \u2193 ${words3.short} \xB7 ${words3.key}`,
8602
+ `${h.short} \xB7 \u2193 ${words3.short}`,
8603
+ ...news.count > 0 ? [`${news.count} new \u2193`, `${news.count}`] : [`\u2193 ${words3.short}`, "\u2193"]
8604
+ ] : [`\u2193 ${words3.long} \xB7 ${words3.key}`, `\u2193 ${words3.short} \xB7 ${words3.key}`, `\u2193 ${words3.short}`, "\u2193"];
8572
8605
  return ladder.find((label) => choiceDisplayWidth(label) <= columns) ?? null;
8573
8606
  }
8574
8607
  __name(newOutputHint, "newOutputHint");
@@ -8937,6 +8970,8 @@ function messageScrollRows(asked, hasPrev, width, options = {}) {
8937
8970
  );
8938
8971
  const plainLines = message.statusRows ? [] : renderedDetailLines(message);
8939
8972
  const wordedLines = message.statusRows || options.hint === void 0 ? plainLines : renderedDetailLines(message, void 0, options.hint);
8973
+ const shellRows = message.statusRows ? null : renderedShellRows(message, void 0, options.hint);
8974
+ const plainShellRows = shellRows && options.hint !== void 0 ? renderedShellRows(message) : shellRows;
8940
8975
  const columns = width + GUTTER;
8941
8976
  const drawn = message.statusRows ? null : renderedDiffRows(message, columns);
8942
8977
  const drawnWorded = drawn && options.hint !== void 0 ? renderedDiffRows(message, columns, options.hint) : drawn;
@@ -8955,6 +8990,10 @@ function messageScrollRows(asked, hasPrev, width, options = {}) {
8955
8990
  ];
8956
8991
  const text = spans.map((span) => span.text).join("");
8957
8992
  return { text, hint: viewRowText(worded) !== viewRowText(row2), spans };
8993
+ }) : shellRows ? shellRows.flatMap((row2, i) => {
8994
+ const plainRow2 = plainShellRows?.[i];
8995
+ const hinted2 = plainRow2 !== void 0 && plainOf(plainRow2.text) !== plainOf(row2.text);
8996
+ return shellRowDetail(row2.text, width + GUTTER, hinted2);
8958
8997
  }) : wordedLines.flatMap(
8959
8998
  (line, i) => wrapChoiceText(
8960
8999
  fitHintPlain(line.length > 0 ? line : " ", width + GUTTER),
@@ -9007,6 +9046,28 @@ function messageScrollRows(asked, hasPrev, width, options = {}) {
9007
9046
  return { hinted, gap: wantsGap ? { glyph: " ", glyphColor, text: "", color } : null, rows };
9008
9047
  }
9009
9048
  __name(messageScrollRows, "messageScrollRows");
9049
+ function shellRowDetail(text, columns, hint) {
9050
+ const indent = " ".repeat(SHELL_RESULT_INDENT);
9051
+ const room = Math.max(4, columns - SHELL_RESULT_INDENT);
9052
+ const wrap3 = /* @__PURE__ */ __name((plain3) => [
9053
+ ...wrapChoiceText(fitHintPlain(plain3.length > 0 ? plain3 : " ", room), room)
9054
+ ], "wrap");
9055
+ if (!text.includes("\x1B")) {
9056
+ return wrap3(text).map((row2) => ({ text: `${indent}${row2}`, hint }));
9057
+ }
9058
+ return wrapColoured(text, wrap3).map((row2) => {
9059
+ const spans = [
9060
+ { text: indent },
9061
+ ...sgrSpans(row2).map((span) => ({
9062
+ text: span.text,
9063
+ ...span.style.fg ? { color: span.style.fg } : {},
9064
+ ...span.style.bg ? { background: span.style.bg } : {}
9065
+ }))
9066
+ ];
9067
+ return { text: spans.map((span) => span.text).join(""), hint, spans };
9068
+ });
9069
+ }
9070
+ __name(shellRowDetail, "shellRowDetail");
9010
9071
  function fitSpans(spans, columns) {
9011
9072
  const out = [];
9012
9073
  let used = 0;
@@ -9250,10 +9311,10 @@ function wrapWord(rows, word, columns) {
9250
9311
  __name(wrapWord, "wrapWord");
9251
9312
  function wrapOne(line, columns) {
9252
9313
  const text = expandTabs2(line);
9253
- const words2 = text.split(" ");
9254
- const lengths = words2.map((word) => stringWidth(word));
9314
+ const words3 = text.split(" ");
9315
+ const lengths = words3.map((word) => stringWidth(word));
9255
9316
  const rows = [""];
9256
- words2.forEach((word, index) => {
9317
+ words3.forEach((word, index) => {
9257
9318
  let rowLength = stringWidth(rows[rows.length - 1]);
9258
9319
  const length = lengths[index];
9259
9320
  if (index !== 0) {
@@ -9391,7 +9452,7 @@ function blockRows(block, width, color, italic, spent) {
9391
9452
  const pad4 = codePad(indent);
9392
9453
  const lines4 = block.lines.length > 0 ? block.lines : [""];
9393
9454
  grammarState(block.lang);
9394
- const coloured = colourLines(block.lang, lines4, { above: "", block: 0, spent });
9455
+ const coloured = colourLines2(block.lang, lines4, { above: "", block: 0, spent });
9395
9456
  return lines4.flatMap(
9396
9457
  (line, n) => keptLineRows(line, coloured?.lines[n], width - indent, indent, pad4)
9397
9458
  );
@@ -9676,7 +9737,7 @@ var ReplyRows = class {
9676
9737
  for (const made of rows) rowsOf2.push(this.wrap(made, first + rowsOf2.length));
9677
9738
  }, "into");
9678
9739
  if (code.volatileFor !== code.headVersion) {
9679
- const coloured = colourLines(code.lang, code.head, {
9740
+ const coloured = colourLines2(code.lang, code.head, {
9680
9741
  above: "",
9681
9742
  block: 0,
9682
9743
  spent: code.spentBefore
@@ -12083,7 +12144,7 @@ function describePluginModule(folder, label) {
12083
12144
  }
12084
12145
  return {
12085
12146
  event: `hooks module (plugin ${label})`,
12086
- runs: `${located.entry} runs in an isolated worker: ${entry.lines.join("; ")}`
12147
+ runs: `${located.entry} runs in a worker with your permissions: ${entry.lines.join("; ")}`
12087
12148
  };
12088
12149
  } catch {
12089
12150
  return void 0;
@@ -13616,6 +13677,7 @@ function runRailWorkflow(run4, agents, large) {
13616
13677
  totalTokens: facts.tokens ?? 0,
13617
13678
  hypermode: large.hypermode,
13618
13679
  ...large.guideline !== void 0 ? { guideline: large.guideline } : {},
13680
+ ...large.sizeWarningTokens !== void 0 ? { sizeWarningTokens: large.sizeWarningTokens } : {},
13619
13681
  ...large.env !== void 0 ? { env: large.env } : {}
13620
13682
  }) : void 0;
13621
13683
  const runningPhases = run4.status === "running" ? run4.phases.filter(
@@ -13734,13 +13796,13 @@ var WORKFLOW_TIERS = (() => {
13734
13796
  { barWidth: wide, fields: all },
13735
13797
  ...narrower.map((barWidth) => ({ barWidth, fields: all })),
13736
13798
  { barWidth: few, fields: ["count", "elapsed", "warning"] },
13737
- { barWidth: few, fields: ["count", "elapsed"] },
13738
- { barWidth: 0, fields: ["count", "elapsed"] },
13739
- { barWidth: 0, fields: ["count"] }
13799
+ { barWidth: few, fields: ["count", "elapsed", "mark"] },
13800
+ { barWidth: 0, fields: ["count", "elapsed", "mark"] },
13801
+ { barWidth: 0, fields: ["count", "mark"] }
13740
13802
  ];
13741
13803
  })();
13742
13804
  function workflowFacts(workflow, now) {
13743
- const tokens = wroteRailText(workflow.outputTokens)?.replace(/(\d\.\d)0M/, "$1M");
13805
+ const tokens = spentText(workflow.tokens) ?? wroteRailText(workflow.outputTokens)?.replace(/(\d\.\d)0M/, "$1M");
13744
13806
  return {
13745
13807
  fields: {
13746
13808
  // The counter is the agents that finished over every agent; a failure turns
@@ -13748,7 +13810,7 @@ function workflowFacts(workflow, now) {
13748
13810
  count: `${workflow.done}/${workflow.total}`,
13749
13811
  elapsed: railWorkflowElapsed(Math.max(0, (workflow.endedAt ?? now) - workflow.startedAt)),
13750
13812
  ...tokens !== void 0 ? { tokens } : {},
13751
- ...workflow.large ? { warning: LARGE_WORKFLOW_WARNING } : {}
13813
+ ...workflow.large ? { warning: LARGE_WORKFLOW_WARNING, mark: LARGE_WORKFLOW_GLYPH } : {}
13752
13814
  },
13753
13815
  phases: railPhaseTexts(workflow.runningPhases)
13754
13816
  };
@@ -15070,10 +15132,10 @@ function phaseStatus(agents) {
15070
15132
  __name(phaseStatus, "phaseStatus");
15071
15133
  function wrapPhaseDetailLines(text, width) {
15072
15134
  const safeWidth = Math.max(1, width);
15073
- const words2 = oneLine3(text).split(" ").filter((word) => word.length > 0);
15135
+ const words3 = oneLine3(text).split(" ").filter((word) => word.length > 0);
15074
15136
  const lines4 = [];
15075
15137
  let line = "";
15076
- for (const word of words2) {
15138
+ for (const word of words3) {
15077
15139
  const candidate = line ? `${line} ${word}` : word;
15078
15140
  if (line && stringWidth(candidate) > safeWidth) {
15079
15141
  lines4.push(line);
@@ -15279,11 +15341,11 @@ __name(BrandHeader, "BrandHeader");
15279
15341
 
15280
15342
  // src/tui/choice-selection.ts
15281
15343
  function filterChoiceOptions(options, query) {
15282
- const words2 = query.normalize("NFKC").toLowerCase().trim().split(/\s+/).filter(Boolean);
15283
- if (words2.length === 0) return options;
15344
+ const words3 = query.normalize("NFKC").toLowerCase().trim().split(/\s+/).filter(Boolean);
15345
+ if (words3.length === 0) return options;
15284
15346
  return options.filter((option) => {
15285
15347
  const text = [option.label, option.description, option.searchText ?? ""].join(" ").normalize("NFKC").toLowerCase();
15286
- return words2.every((word) => text.includes(word));
15348
+ return words3.every((word) => text.includes(word));
15287
15349
  });
15288
15350
  }
15289
15351
  __name(filterChoiceOptions, "filterChoiceOptions");
@@ -16624,6 +16686,72 @@ function parseModelSelectionIntent(text) {
16624
16686
  }
16625
16687
  __name(parseModelSelectionIntent, "parseModelSelectionIntent");
16626
16688
  var normalized = /* @__PURE__ */ __name((id) => id.trim().toLowerCase().replace(/[_\s]+/g, "-"), "normalized");
16689
+ var FAMILY_ALIASES = /* @__PURE__ */ new Set(["sonnet", "opus", "haiku"]);
16690
+ var words = /* @__PURE__ */ __name((id) => normalized(id).split(/[^a-z0-9]+/u).filter(Boolean), "words");
16691
+ function versionOf(id) {
16692
+ return words(id).filter((word) => /^\d{1,4}$/u.test(word)).map(Number);
16693
+ }
16694
+ __name(versionOf, "versionOf");
16695
+ function compareVersions(a, b) {
16696
+ for (let i = 0; i < Math.max(a.length, b.length); i++) {
16697
+ const diff = (a[i] ?? -1) - (b[i] ?? -1);
16698
+ if (diff !== 0) return diff;
16699
+ }
16700
+ return 0;
16701
+ }
16702
+ __name(compareVersions, "compareVersions");
16703
+ function newestOfFamily(family, candidates) {
16704
+ let best;
16705
+ for (const candidate of candidates) {
16706
+ if (!words(candidate.model).includes(family)) continue;
16707
+ if (best === void 0) {
16708
+ best = candidate;
16709
+ continue;
16710
+ }
16711
+ const order = compareVersions(versionOf(candidate.model), versionOf(best.model));
16712
+ const dated = /* @__PURE__ */ __name((id) => words(id).some((word) => /^\d{6,}$/u.test(word)), "dated");
16713
+ if (order > 0 || order === 0 && (dated(best.model) && !dated(candidate.model) ? true : dated(best.model) === dated(candidate.model) && candidate.model.length < best.model.length)) {
16714
+ best = candidate;
16715
+ }
16716
+ }
16717
+ return best;
16718
+ }
16719
+ __name(newestOfFamily, "newestOfFamily");
16720
+ function withinOneEdit(a, b) {
16721
+ if (a === b) return true;
16722
+ if (Math.abs(a.length - b.length) > 1) return false;
16723
+ let i = 0;
16724
+ while (i < a.length && i < b.length && a[i] === b[i]) i++;
16725
+ if (a.length === b.length) return a.slice(i + 1) === b.slice(i + 1);
16726
+ return a.length > b.length ? a.slice(i + 1) === b.slice(i) : a.slice(i) === b.slice(i + 1);
16727
+ }
16728
+ __name(withinOneEdit, "withinOneEdit");
16729
+ function closeSuggestion(needle, candidates, current) {
16730
+ const label = /* @__PURE__ */ __name((item) => item.provider === current ? item.model : `${item.provider}/${item.model}`, "label");
16731
+ const own = [...candidates].sort(
16732
+ (a, b) => Number(b.provider === current) - Number(a.provider === current)
16733
+ );
16734
+ for (const item of own) {
16735
+ const id = normalized(item.model);
16736
+ const bare = id.slice(id.lastIndexOf("/") + 1);
16737
+ if (withinOneEdit(needle, id) || withinOneEdit(needle, bare)) return label(item);
16738
+ }
16739
+ if (/\d/.test(needle)) {
16740
+ const starts = own.filter((item) => normalized(item.model).startsWith(`${needle}-`));
16741
+ const ids = new Set(starts.map((item) => item.model));
16742
+ if (ids.size === 1 && starts[0]) return label(starts[0]);
16743
+ }
16744
+ return void 0;
16745
+ }
16746
+ __name(closeSuggestion, "closeSuggestion");
16747
+ function stemsOf(needle) {
16748
+ const stems = [];
16749
+ for (const ending of ["ya", "ye", "a", "e"]) {
16750
+ if (needle.endsWith(ending)) stems.push(needle.slice(0, -ending.length).replace(/['’]$/, ""));
16751
+ }
16752
+ return stems;
16753
+ }
16754
+ __name(stemsOf, "stemsOf");
16627
16755
  async function resolveModelSelectionIntent(query, options) {
16628
16756
  const selectedProvider = options.detected.find(
16629
16757
  ({ entry }) => query.toLowerCase().startsWith(`${entry.id}/`)
@@ -16631,6 +16759,8 @@ async function resolveModelSelectionIntent(query, options) {
16631
16759
  const modelQuery = selectedProvider ? query.slice(selectedProvider.length + 1) : query;
16632
16760
  const candidates = [];
16633
16761
  let unavailable2 = false;
16762
+ let readable = 0;
16763
+ const unlisted = [];
16634
16764
  const seen = /* @__PURE__ */ new Set();
16635
16765
  await Promise.all(
16636
16766
  options.detected.map(async (detected) => {
@@ -16642,8 +16772,10 @@ async function resolveModelSelectionIntent(query, options) {
16642
16772
  const listing = await options.describeModels(detected.entry.id, detected, options.signal);
16643
16773
  if (listing.kind !== "ok") {
16644
16774
  unavailable2 = true;
16775
+ unlisted.push(detected.entry.id);
16645
16776
  return;
16646
16777
  }
16778
+ readable += 1;
16647
16779
  for (const item of listing.models) {
16648
16780
  if (canSelectModel(detected.entry, detected.apiKey, item.id))
16649
16781
  candidates.push({ provider: detected.entry.id, model: item.id });
@@ -16651,6 +16783,7 @@ async function resolveModelSelectionIntent(query, options) {
16651
16783
  } catch {
16652
16784
  options.signal?.throwIfAborted();
16653
16785
  unavailable2 = true;
16786
+ unlisted.push(detected.entry.id);
16654
16787
  }
16655
16788
  })
16656
16789
  );
@@ -16661,10 +16794,7 @@ async function resolveModelSelectionIntent(query, options) {
16661
16794
  (item) => /\d/.test(needle) && normalized(item.model).endsWith(`-${needle}`)
16662
16795
  );
16663
16796
  if (matches3.length === 0) {
16664
- const stems = /* @__PURE__ */ new Set();
16665
- for (const ending of ["ya", "ye", "a", "e"]) {
16666
- if (needle.endsWith(ending)) stems.add(needle.slice(0, -ending.length).replace(/['’]$/, ""));
16667
- }
16797
+ const stems = new Set(stemsOf(needle));
16668
16798
  exact = candidates.filter((item) => stems.has(normalized(item.model)));
16669
16799
  matches3 = exact.length > 0 ? exact : candidates.filter(
16670
16800
  (item) => [...stems].some(
@@ -16672,18 +16802,36 @@ async function resolveModelSelectionIntent(query, options) {
16672
16802
  )
16673
16803
  );
16674
16804
  }
16805
+ if (matches3.length === 0) {
16806
+ const aliasProvider = selectedProvider ?? options.currentProvider;
16807
+ const own = candidates.filter((item) => item.provider === aliasProvider);
16808
+ const names = [needle, ...stemsOf(needle)];
16809
+ const family = names.find((name) => FAMILY_ALIASES.has(name));
16810
+ let pick;
16811
+ if (family !== void 0) pick = newestOfFamily(family, own);
16812
+ else if (names.includes("default")) {
16813
+ const fallback = options.detected.find(({ entry }) => entry.id === aliasProvider)?.entry.defaultModel;
16814
+ pick = own.find((item) => normalized(item.model) === normalized(fallback ?? ""));
16815
+ }
16816
+ if (pick) {
16817
+ exact = [pick];
16818
+ matches3 = [pick];
16819
+ }
16820
+ }
16675
16821
  const currentExact = exact.filter((item) => item.provider === options.currentProvider);
16676
16822
  if (currentExact.length === 1) matches3 = currentExact;
16677
16823
  const unique = [
16678
16824
  ...new Map(matches3.map((item) => [`${item.provider}:${item.model}`, item])).values()
16679
16825
  ];
16680
- if (unique.length === 1 && (!unavailable2 || exact.length > 0)) {
16681
- const match = unique[0];
16682
- if (match) return { kind: "resolved", selection: { id: match.provider, model: match.model } };
16826
+ const only = unique.length === 1 ? unique[0] : void 0;
16827
+ if (only && (!unavailable2 || exact.length > 0 || only.provider === options.currentProvider)) {
16828
+ return { kind: "resolved", selection: { id: only.provider, model: only.model } };
16683
16829
  }
16830
+ const suggestion = unique.length === 0 ? closeSuggestion(needle, candidates, options.currentProvider) : void 0;
16831
+ const didYouMean = suggestion ? ` Did you mean ${suggestion}?` : "";
16684
16832
  return {
16685
16833
  kind: "rejected",
16686
- reason: unique.length > 1 ? `"${query}" matches more than one model, so nothing changed. Use /model to pick one.` : unavailable2 ? `Couldn\u2019t check "${query}" against the model lists right now, so the model was not changed. Use /model to pick one.` : `No model called "${query}" is available to you, so the model was not changed. Use /model to see what is.`,
16834
+ reason: unique.length > 1 ? `"${query}" matches more than one model, so nothing changed. Use /model to pick one.` : unavailable2 && readable > 0 ? `No model called "${query}" is in the model lists that could be read (could not read: ${unlisted.join(", ")}), so the model was not changed.${didYouMean} Use /model to pick one.` : unavailable2 ? `Couldn\u2019t check "${query}" against the model lists right now, so the model was not changed. Use /model to pick one.` : `No model called "${query}" is available to you, so the model was not changed.${didYouMean} Use /model to see what is.`,
16687
16835
  ...unique.length > 0 ? { choices: unique.slice(0, 8) } : {}
16688
16836
  };
16689
16837
  }
@@ -17261,14 +17409,14 @@ function compilePattern(source) {
17261
17409
  }
17262
17410
  __name(compilePattern, "compilePattern");
17263
17411
  function firstWords(pattern) {
17264
- const words2 = /* @__PURE__ */ new Set();
17412
+ const words3 = /* @__PURE__ */ new Set();
17265
17413
  for (const index of closure(pattern.states, [pattern.start])) {
17266
17414
  for (const edge of pattern.states[index]?.edges ?? []) {
17267
17415
  if (edge.atom.kind !== "word") return null;
17268
- words2.add(edge.atom.text);
17416
+ words3.add(edge.atom.text);
17269
17417
  }
17270
17418
  }
17271
- return words2;
17419
+ return words3;
17272
17420
  }
17273
17421
  __name(firstWords, "firstWords");
17274
17422
  function closure(states2, seeds) {
@@ -17452,11 +17600,11 @@ function detectTriggers(draft, registry, context, options = {}) {
17452
17600
  return EMPTY_DETECTION;
17453
17601
  if (draft.length > MAX_SCANNED_DRAFT) return { hits: [], onlyTriggers: false, paused: "too-long" };
17454
17602
  const analysis = analyze(draft);
17455
- const words2 = analysis.tokens.map((token) => token.text);
17603
+ const words3 = analysis.tokens.map((token) => token.text);
17456
17604
  const hits = [];
17457
17605
  const armedTokens = /* @__PURE__ */ new Set();
17458
17606
  for (const trigger of registry.triggers) {
17459
- const found = bestCandidate(trigger, analysis, words2, options.stats);
17607
+ const found = bestCandidate(trigger, analysis, words3, options.stats);
17460
17608
  if (!found) continue;
17461
17609
  const start2 = analysis.tokens[found.first]?.start ?? 0;
17462
17610
  const end = analysis.tokens[found.last]?.end ?? start2;
@@ -17486,7 +17634,7 @@ function detectTriggers(draft, registry, context, options = {}) {
17486
17634
  return { hits, onlyTriggers };
17487
17635
  }
17488
17636
  __name(detectTriggers, "detectTriggers");
17489
- function bestCandidate(trigger, analysis, words2, stats) {
17637
+ function bestCandidate(trigger, analysis, words3, stats) {
17490
17638
  const candidates = [];
17491
17639
  const { tokens } = analysis;
17492
17640
  for (let index = 0; index < tokens.length; index += 1) {
@@ -17496,7 +17644,7 @@ function bestCandidate(trigger, analysis, words2, stats) {
17496
17644
  candidates.push({ first: index, last: index, strict: keywordIsStrict(analysis, index) });
17497
17645
  }
17498
17646
  for (const phrase of trigger.phrases) {
17499
- const match = matchAt(phrase.pattern, words2, index, stats)[0];
17647
+ const match = matchAt(phrase.pattern, words3, index, stats)[0];
17500
17648
  if (!match) continue;
17501
17649
  const first = match.start;
17502
17650
  const last = match.end - 1;
@@ -21557,9 +21705,9 @@ function commandLineOfInput(input) {
21557
21705
  if (input === null || typeof input !== "object") return "a command";
21558
21706
  const { name, args } = input;
21559
21707
  if (typeof name !== "string") return "a command";
21560
- const words2 = [name, ...Array.isArray(args) ? args.filter((a) => typeof a === "string") : []].join(" ").split(/\s+/u).filter((word) => word.length > 0);
21561
- if (words2[0]?.startsWith("/")) words2[0] = words2[0].slice(1);
21562
- return `/${words2.join(" ")}`;
21708
+ const words3 = [name, ...Array.isArray(args) ? args.filter((a) => typeof a === "string") : []].join(" ").split(/\s+/u).filter((word) => word.length > 0);
21709
+ if (words3[0]?.startsWith("/")) words3[0] = words3[0].slice(1);
21710
+ return `/${words3.join(" ")}`;
21563
21711
  }
21564
21712
  __name(commandLineOfInput, "commandLineOfInput");
21565
21713
  function modelOfInput(input) {
@@ -21935,11 +22083,11 @@ __name(sessionCredential, "sessionCredential");
21935
22083
 
21936
22084
  // src/tui/model-search.ts
21937
22085
  function filterModelChoices(choices2, query, headings) {
21938
- const words2 = query.normalize("NFKC").toLowerCase().trim().split(/\s+/).filter(Boolean);
21939
- if (words2.length === 0) return choices2;
22086
+ const words3 = query.normalize("NFKC").toLowerCase().trim().split(/\s+/).filter(Boolean);
22087
+ if (words3.length === 0) return choices2;
21940
22088
  return choices2.filter((choice2) => {
21941
22089
  const text = `${choice2.id} ${choice2.label} ${choice2.note ?? ""} ${headings?.get(choice2.id) ?? ""}`.normalize("NFKC").toLowerCase();
21942
- return words2.every((word) => text.includes(word));
22090
+ return words3.every((word) => text.includes(word));
21943
22091
  });
21944
22092
  }
21945
22093
  __name(filterModelChoices, "filterModelChoices");
@@ -23295,8 +23443,8 @@ function HintLines({
23295
23443
  color
23296
23444
  }) {
23297
23445
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_jsx_runtime22.Fragment, { children: wrapChoiceText(text, width).map((line, at) => {
23298
- const words2 = line.split(" ");
23299
- const key = words2.indexOf(keyLetter);
23446
+ const words3 = line.split(" ");
23447
+ const key = words3.indexOf(keyLetter);
23300
23448
  if (key < 0) {
23301
23449
  return (
23302
23450
  // biome-ignore lint/suspicious/noArrayIndexKey: these rows have no identity of their own and hold no state, so the index is the key.
@@ -23306,9 +23454,9 @@ function HintLines({
23306
23454
  return (
23307
23455
  // biome-ignore lint/suspicious/noArrayIndexKey: these rows have no identity of their own and hold no state, so the index is the key.
23308
23456
  /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(Text, { color, children: [
23309
- `${words2.slice(0, key).join(" ")}${key > 0 ? " " : ""}`,
23457
+ `${words3.slice(0, key).join(" ")}${key > 0 ? " " : ""}`,
23310
23458
  /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Text, { color: theme.accent.system, children: keyLetter }),
23311
- key < words2.length - 1 ? ` ${words2.slice(key + 1).join(" ")}` : ""
23459
+ key < words3.length - 1 ? ` ${words3.slice(key + 1).join(" ")}` : ""
23312
23460
  ] }, at)
23313
23461
  );
23314
23462
  }) });
@@ -23828,8 +23976,8 @@ __name(refreshScreen, "refreshScreen");
23828
23976
  function matches(item, query) {
23829
23977
  const needle = query.trim().toLowerCase();
23830
23978
  if (needle === "") return true;
23831
- const words2 = item.kind === "skill" ? [item.name, "skill", item.place, item.description] : item.kind === "plugin" ? [item.name, "plugin", item.plugin.scope, item.plugin.description] : [item.name, "mcp", "tool server", item.status];
23832
- return words2.some((text) => text.toLowerCase().includes(needle));
23979
+ const words3 = item.kind === "skill" ? [item.name, "skill", item.place, item.description] : item.kind === "plugin" ? [item.name, "plugin", item.plugin.scope, item.plugin.description] : [item.name, "mcp", "tool server", item.status];
23980
+ return words3.some((text) => text.toLowerCase().includes(needle));
23833
23981
  }
23834
23982
  __name(matches, "matches");
23835
23983
  function visibleItems(state) {
@@ -24885,8 +25033,8 @@ function onlyLinkedToPullRequest(conversations, filter) {
24885
25033
  }
24886
25034
  __name(onlyLinkedToPullRequest, "onlyLinkedToPullRequest");
24887
25035
  function filterConversations(conversations, query) {
24888
- const words2 = query.toLowerCase().split(/\s+/).filter(Boolean);
24889
- if (words2.length === 0) return conversations;
25036
+ const words3 = query.toLowerCase().split(/\s+/).filter(Boolean);
25037
+ if (words3.length === 0) return conversations;
24890
25038
  return conversations.filter((conversation) => {
24891
25039
  const haystack = [
24892
25040
  conversation.title,
@@ -24894,7 +25042,7 @@ function filterConversations(conversations, query) {
24894
25042
  conversation.preview,
24895
25043
  conversation.pr ? `pr #${conversation.pr.number} ${conversation.pr.repository}` : void 0
24896
25044
  ].filter((part) => typeof part === "string").join("\n").toLowerCase();
24897
- return words2.every((word) => haystack.includes(word));
25045
+ return words3.every((word) => haystack.includes(word));
24898
25046
  });
24899
25047
  }
24900
25048
  __name(filterConversations, "filterConversations");
@@ -28080,7 +28228,7 @@ function isUrl(token) {
28080
28228
  return /^[a-z][a-z0-9+.-]*:\/\//i.test(token);
28081
28229
  }
28082
28230
  __name(isUrl, "isUrl");
28083
- function words(text) {
28231
+ function words2(text) {
28084
28232
  const out = [];
28085
28233
  for (const raw of text.split(/\s+/)) {
28086
28234
  const token = strip(raw);
@@ -28099,7 +28247,7 @@ function words(text) {
28099
28247
  }
28100
28248
  return out;
28101
28249
  }
28102
- __name(words, "words");
28250
+ __name(words2, "words");
28103
28251
  function looksLikeKey(token) {
28104
28252
  return KEY_SHAPE.test(token) && !isUrl(token) && /[0-9]/.test(token);
28105
28253
  }
@@ -28107,7 +28255,7 @@ __name(looksLikeKey, "looksLikeKey");
28107
28255
  function parseAzurePaste(input) {
28108
28256
  const endpoint = normalizeAzureEndpoint(input);
28109
28257
  let deployment = DEPLOYMENT_IN_URL.exec(input)?.[1];
28110
- const tokens = words(input);
28258
+ const tokens = words2(input);
28111
28259
  const labelled = [];
28112
28260
  let sawLabel = false;
28113
28261
  for (let i = 0; i < tokens.length; i += 1) {
@@ -28433,13 +28581,13 @@ async function fastModeVerdict(providerId, model, options = {}) {
28433
28581
  if (tier === "ultrafast") {
28434
28582
  return refuse("Ultrafast is not offered on Anthropic models. /fast turns on fast mode.");
28435
28583
  }
28436
- const { resolveFastModeVerdict: resolveFastModeVerdict2 } = await import("./dist-Z2HW2SJR.js");
28584
+ const { resolveFastModeVerdict: resolveFastModeVerdict2 } = await import("./dist-C7M5OJAH.js");
28437
28585
  const verdict2 = resolveFastModeVerdict2(model, now);
28438
28586
  return verdict2.ok ? { ok: true, provider: "anthropic", tier: "fast", rate: { kind: "billing", multiplier: 2 } } : refuse(verdict2.reason);
28439
28587
  }
28440
28588
  if (!model) return refuse("Fast mode needs a model; pick one with /model.");
28441
28589
  const otherHost = providerId === "openai" ? options.otherHost === void 0 ? openAIThirdPartyHost() ?? null : options.otherHost : null;
28442
- const { resolveFastModeVerdict } = await import("./dist-PZYMYR7N.js");
28590
+ const { resolveFastModeVerdict } = await import("./dist-Y4YXKFL6.js");
28443
28591
  const verdict = resolveFastModeVerdict({
28444
28592
  route: providerId === "openai" ? "api" : "subscription",
28445
28593
  model,
@@ -28768,7 +28916,7 @@ __name(usageNumber, "usageNumber");
28768
28916
  function workflowLine(text) {
28769
28917
  const head2 = WORKFLOW_HEAD.exec(text);
28770
28918
  if (!head2) return void 0;
28771
- const word = head2[2] === "completed" ? "finished" : head2[2] === "failed" ? "failed" : "stopped";
28919
+ const word = head2[2] === "was stopped" ? "stopped" : head2[2];
28772
28920
  const usage = USAGE.exec(text)?.[1] ?? "";
28773
28921
  const duration = /duration: ([^,<]+)/.exec(usage)?.[1]?.trim();
28774
28922
  const agents = usageNumber(usage, "agents");
@@ -29419,8 +29567,8 @@ function formatToolCall(toolName, summary2, standalone = false) {
29419
29567
  const plain3 = plainConnectorSummary(summary2);
29420
29568
  return plain3.length > 0 ? `${label}(${plain3})` : label;
29421
29569
  }
29422
- const words2 = toolName.replace(/[_-]+/g, " ");
29423
- const display = DISPLAY_NAMES[toolName.toLowerCase()] ?? (words2.length > 0 ? words2[0]?.toUpperCase() + words2.slice(1) : words2);
29570
+ const words3 = toolName.replace(/[_-]+/g, " ");
29571
+ const display = DISPLAY_NAMES[toolName.toLowerCase()] ?? (words3.length > 0 ? words3[0]?.toUpperCase() + words3.slice(1) : words3);
29424
29572
  return summary2.length > 0 ? `${display}(${summary2})` : display;
29425
29573
  }
29426
29574
  __name(formatToolCall, "formatToolCall");
@@ -29611,7 +29759,7 @@ function toolEndRows(event, start2, ctx) {
29611
29759
  glyph: "\u25CF",
29612
29760
  glyphColor: tokenColor("accent.assistant")
29613
29761
  },
29614
- { role: "tool", content: WORKFLOW_BACKGROUND_NOTE, glyph: "\u23BF" }
29762
+ { role: "tool", content: workflowLaunchNote(ctx.workflowSizeGuideline), glyph: "\u23BF" }
29615
29763
  ]);
29616
29764
  }
29617
29765
  if (event.isError && event.toolName === WORKFLOW_TOOL_NAME && event.output !== void 0) {
@@ -38688,7 +38836,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
38688
38836
  pushMessage("system", "Not changed.");
38689
38837
  return;
38690
38838
  }
38691
- void import("./setting-cli-O4YWOIU5.js").then(({ planSettingChange }) => {
38839
+ void import("./setting-cli-CHPHJSAM.js").then(({ planSettingChange }) => {
38692
38840
  const plan = planSettingChange(picker.change.key, picker.change.text);
38693
38841
  if (!plan.ok) {
38694
38842
  pushMessage("system", plan.error);
@@ -39184,10 +39332,28 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
39184
39332
  // Offered here; whether it is on is the user's own setting
39185
39333
  // (`computerUse.enabled`, off until they turn it on), read at the top
39186
39334
  // of every turn so a change applies from the next message.
39187
- enableComputerUse: true,
39188
- computerUseSwitch: activeCtx.readComputerUseEnabled ?? (() => activeCtx.computerUse?.enabled === true),
39189
- ...activeCtx.computerUse?.deniedApps?.length ? { deniedComputerApps: activeCtx.computerUse.deniedApps } : {},
39190
- ...activeCtx.readBrowserWindows ? { readBrowserWindows: activeCtx.readBrowserWindows } : activeCtx.computerUse?.browserWindows ? { browserWindows: activeCtx.computerUse.browserWindows } : {},
39335
+ // The same function every other entry point reads these with, over the three
39336
+ // readers the launch gave: each turn sees the settings files as they are now.
39337
+ ...capabilityOptionsFromConfig(
39338
+ {
39339
+ ...activeCtx.computerUse ? { computerUse: activeCtx.computerUse } : {},
39340
+ ...activeCtx.imageGeneration ? { imageGeneration: activeCtx.imageGeneration } : {}
39341
+ },
39342
+ HOSTS.terminal,
39343
+ () => ({
39344
+ computerUse: {
39345
+ ...activeCtx.computerUse,
39346
+ enabled: (activeCtx.readComputerUseEnabled ?? (() => activeCtx.computerUse?.enabled === true))(),
39347
+ ...activeCtx.readBrowserWindows ? { browserWindows: activeCtx.readBrowserWindows() } : {}
39348
+ },
39349
+ ...activeCtx.readImageGenerationEnabled ? {
39350
+ imageGeneration: {
39351
+ ...activeCtx.imageGeneration,
39352
+ enabled: activeCtx.readImageGenerationEnabled()
39353
+ }
39354
+ } : activeCtx.imageGeneration ? { imageGeneration: activeCtx.imageGeneration } : {}
39355
+ })
39356
+ ),
39191
39357
  // The terminal is watched live: the quiet-stretch nudge, unless the
39192
39358
  // config turned it off.
39193
39359
  ...(() => {
@@ -39200,7 +39366,6 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
39200
39366
  // The code index tool: on unless the config switched it off.
39201
39367
  ...activeCtx.codeAnalysis?.enabled === false ? {} : { codeAnalysis: activeCtx.codeAnalysis ?? {} },
39202
39368
  ...activeCtx.imageGeneration ? { imageGeneration: activeCtx.imageGeneration } : {},
39203
- ...activeCtx.readImageGenerationEnabled ? { readImageGenerationEnabled: activeCtx.readImageGenerationEnabled } : {},
39204
39369
  rules: activeCtx.rules,
39205
39370
  ...activeCtx.appendSystem ? { appendSystem: activeCtx.appendSystem } : {},
39206
39371
  ...activeCtx.replaceSystem ? { replaceSystem: activeCtx.replaceSystem } : {},
@@ -40450,10 +40615,10 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
40450
40615
  const progressId = pushMessage("system", "Reading spend\u2026");
40451
40616
  try {
40452
40617
  const [{ buildCostReport }, { renderSpend }, { systemClock: systemClock2 }, { resolveNamzuHome: resolveNamzuHome2 }] = await Promise.all([
40453
- import("./cost-5YV27U7F.js"),
40618
+ import("./cost-LM34ZHBI.js"),
40454
40619
  import("./render-QFCCPEEL.js"),
40455
40620
  import("./day-CU5J7UAK.js"),
40456
- import("./home-I4FIB6FV.js")
40621
+ import("./home-7KXFLNBX.js")
40457
40622
  ]);
40458
40623
  const report = await buildCostReport(days, {
40459
40624
  home: resolveNamzuHome2(),
@@ -40479,7 +40644,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
40479
40644
  doctorRunningRef.current = true;
40480
40645
  const progressId = pushMessage("system", "Checking\u2026");
40481
40646
  try {
40482
- const { runLiveDoctor } = await import("./live-CWJ2NWUQ.js");
40647
+ const { runLiveDoctor } = await import("./live-UNUQSBVZ.js");
40483
40648
  const { describePlainDoctor } = await import("./plain-report-U37TZYMU.js");
40484
40649
  const report = await runLiveDoctor({
40485
40650
  ...ctxRef.current.telemetry ? { telemetry: ctxRef.current.telemetry } : {}
@@ -42413,9 +42578,12 @@ ${plain3(err)}`
42413
42578
  const { fraction: _fraction, ...withoutFraction } = current;
42414
42579
  const updated = {
42415
42580
  ...withoutFraction,
42416
- progress: event.message,
42581
+ // The one-line status is plain; the tail keeps the colour the command printed.
42582
+ progress: plainOf(colourLine(event.message)),
42417
42583
  ...current.command !== void 0 ? {
42418
- tail: [...current.tail ?? [], event.message].slice(-SHELL_LIVE_LINES)
42584
+ tail: [...current.tail ?? [], colourLine(event.message)].slice(
42585
+ -SHELL_LIVE_LINES
42586
+ )
42419
42587
  } : {},
42420
42588
  ...event.fraction !== void 0 ? { fraction: event.fraction } : {},
42421
42589
  ...event.outputLines !== void 0 ? { outputLines: event.outputLines } : {}
@@ -42485,7 +42653,10 @@ ${plain3(err)}`
42485
42653
  ...done ? { elapsedMs: Date.now() - done.startedAt } : {},
42486
42654
  hasPlan: tasksRef.current.length > 0,
42487
42655
  cwd: ctxRef.current.cwd,
42488
- stoppedByPerson: stoppedAtPromptRef.current.delete(event.toolUseId)
42656
+ stoppedByPerson: stoppedAtPromptRef.current.delete(event.toolUseId),
42657
+ ...sizeGuidelineLabel(ctxRef.current.workflow?.sizeGuideline) !== void 0 ? {
42658
+ workflowSizeGuideline: ctxRef.current.workflow?.sizeGuideline
42659
+ } : {}
42489
42660
  });
42490
42661
  if (built.kind === "task-block") {
42491
42662
  } else if (built.kind === "rows") {
@@ -43402,6 +43573,7 @@ ${jobLines2.map(([, line]) => `- ${line}`).join("\n")}`] : []
43402
43573
  }, "liveModel"),
43403
43574
  ...ctxRef.current.refusalFallback ? { refusalFallback: ctxRef.current.refusalFallback } : {},
43404
43575
  ...turnTriggers.includes("workflow") ? { workflow: true } : {},
43576
+ ...turnTriggers.includes("workflow") || turnTriggers.includes("hypermode") ? { workflowGuidance: true } : {},
43405
43577
  // Read at every iteration, so an after-turn trigger a steer
43406
43578
  // binds to this turn is said from the next one on.
43407
43579
  hostContext: /* @__PURE__ */ __name(() => [
@@ -44900,7 +45072,7 @@ ${jobLines2.map(([, line]) => `- ${line}`).join("\n")}`] : []
44900
45072
  return;
44901
45073
  }
44902
45074
  const network = networkRef.current;
44903
- const [verb, target, ...words2] = slash.args;
45075
+ const [verb, target, ...words3] = slash.args;
44904
45076
  const fail = /* @__PURE__ */ __name((error, what) => pushSystem("error", explainFailure(error, what)), "fail");
44905
45077
  if (verb === "on" || verb === "off") {
44906
45078
  peers.setEnabled(verb === "on");
@@ -44908,17 +45080,17 @@ ${jobLines2.map(([, line]) => `- ${line}`).join("\n")}`] : []
44908
45080
  "system",
44909
45081
  `Peer messaging is ${verb}; ${plural(peers.pending, "message")} pending.`
44910
45082
  );
44911
- } else if (verb === "send" && target && words2.length) {
44912
- void peers.send(target, words2.join(" ")).then(
45083
+ } else if (verb === "send" && target && words3.length) {
45084
+ void peers.send(target, words3.join(" ")).then(
44913
45085
  (receipt) => pushMessage(
44914
45086
  "system",
44915
45087
  `Peer message ${receipt.status}: ${receipt.reason ?? "accepted in the receiving inbox"}`
44916
45088
  )
44917
45089
  ).catch((error) => fail(error, "Peer message failed."));
44918
- } else if (verb === "role" && target && (words2.length > 0 || target === "clear")) {
45090
+ } else if (verb === "role" && target && (words3.length > 0 || target === "clear")) {
44919
45091
  const clearing = target === "clear";
44920
- const where = clearing ? words2.join(" ") : target;
44921
- const text = clearing ? null : words2.join(" ");
45092
+ const where = clearing ? words3.join(" ") : target;
45093
+ const text = clearing ? null : words3.join(" ");
44922
45094
  if (!where)
44923
45095
  pushMessage(
44924
45096
  "system",
@@ -44932,7 +45104,7 @@ ${jobLines2.map(([, line]) => `- ${line}`).join("\n")}`] : []
44932
45104
  )
44933
45105
  ).catch((error) => fail(error, "Could not set the role."));
44934
45106
  } else if ((verb === "allow" || verb === "deny") && target) {
44935
- const query = [target, ...words2].join(" ");
45107
+ const query = [target, ...words3].join(" ");
44936
45108
  const control = network?.control;
44937
45109
  if (!control) pushMessage("system", "Your Namzu network is not running.");
44938
45110
  else
@@ -44943,7 +45115,7 @@ ${jobLines2.map(([, line]) => `- ${line}`).join("\n")}`] : []
44943
45115
  )
44944
45116
  ).catch((error) => fail(error, "That request could not be decided."));
44945
45117
  } else if (verb === "remove" && target) {
44946
- const cascade = words2.includes("--and-its-admissions");
45118
+ const cascade = words3.includes("--and-its-admissions");
44947
45119
  const control = network?.control;
44948
45120
  if (!control) pushMessage("system", "Your Namzu network is not running.");
44949
45121
  else
@@ -44957,10 +45129,10 @@ ${jobLines2.map(([, line]) => `- ${line}`).join("\n")}`] : []
44957
45129
  const control = network?.control;
44958
45130
  if (!control) pushMessage("system", "Your Namzu network is not running.");
44959
45131
  else
44960
- void control.rename([target, ...words2].join(" ")).then(
45132
+ void control.rename([target, ...words3].join(" ")).then(
44961
45133
  () => pushMessage(
44962
45134
  "system",
44963
- `This machine is now called ${[target, ...words2].join(" ")}. \`namzu peers rename\` also keeps it for the next start.`
45135
+ `This machine is now called ${[target, ...words3].join(" ")}. \`namzu peers rename\` also keeps it for the next start.`
44964
45136
  )
44965
45137
  ).catch((error) => fail(error, "The machine could not be renamed."));
44966
45138
  } else if (verb === "cancel") {
@@ -46016,7 +46188,7 @@ ${plugins.map((plugin) => {
46016
46188
  ...shell.allowedTools ? { allowedTools: shell.allowedTools } : {},
46017
46189
  ...shell.directory ? { directory: shell.directory } : {},
46018
46190
  // The mode as it is now: plan and strict refuse here as they do for `bash`.
46019
- mode: permissionModeRef.current,
46191
+ mode: /* @__PURE__ */ __name(() => permissionModeRef.current, "mode"),
46020
46192
  signal: appLifetime.signal
46021
46193
  }), "expand")
46022
46194
  } : {}
@@ -46466,7 +46638,7 @@ ${answered.context}` : promptText;
46466
46638
  return;
46467
46639
  }
46468
46640
  case "config-setting": {
46469
- void import("./setting-cli-O4YWOIU5.js").then((cli) => {
46641
+ void import("./setting-cli-CHPHJSAM.js").then((cli) => {
46470
46642
  if (slash.text === void 0 && slash.clear !== true) {
46471
46643
  try {
46472
46644
  pushMessage("system", cli.describeSetting(slash.key));
@@ -48470,6 +48642,12 @@ ${answered.context}` : promptText;
48470
48642
  if (/^[1-9]$/.test(input)) {
48471
48643
  const index = Number(input) - 1;
48472
48644
  if (options[index]) applyVisibleChoice(index);
48645
+ return;
48646
+ }
48647
+ if (picker.kind === "reasoning-effort" && picker.selectedSession !== void 0 && !key.ctrl && !key.meta && /^\/\S*$/.test(input)) {
48648
+ setChoicePicker(null);
48649
+ composerDraftTokenRef.current += 1;
48650
+ setComposerDraft({ token: composerDraftTokenRef.current, text: input });
48473
48651
  }
48474
48652
  return;
48475
48653
  }
@@ -48600,7 +48778,8 @@ ${answered.context}` : promptText;
48600
48778
  teamFoldedRef.current = teamRail?.plan.folded ?? 0;
48601
48779
  const liveWorkflows = railWorkflows(subagents, railNow, dismissedAgents, workflowRuns, {
48602
48780
  hypermode,
48603
- guideline: ctxRef.current.workflow?.sizeGuideline ?? DEFAULT_WORKFLOW_SIZE_GUIDELINE,
48781
+ ...ctxRef.current.workflow?.sizeGuideline !== void 0 ? { guideline: ctxRef.current.workflow.sizeGuideline } : {},
48782
+ ...ctxRef.current.workflow?.sizeWarningTokens !== void 0 ? { sizeWarningTokens: ctxRef.current.workflow.sizeWarningTokens } : {},
48604
48783
  env: process.env
48605
48784
  });
48606
48785
  const largeRunsToldRef = (0, import_react30.useRef)(/* @__PURE__ */ new Set());
@@ -48613,6 +48792,18 @@ ${answered.context}` : promptText;
48613
48792
  pushSystem("notice", largeRunNotice(flow.name, flow.largeWhy));
48614
48793
  }
48615
48794
  }, [largeRunKey, pushSystem]);
48795
+ const anyLargeRun = liveWorkflows.some((flow) => flow.large);
48796
+ (0, import_react30.useEffect)(() => {
48797
+ if (anyLargeRun)
48798
+ addNotice({
48799
+ key: LARGE_WORKFLOW_NOTICE_KEY,
48800
+ text: LARGE_WORKFLOW_STATUS_NOTICE,
48801
+ tone: "warn",
48802
+ priority: "medium",
48803
+ timeoutMs: LARGE_WORKFLOW_NOTICE_MS
48804
+ });
48805
+ else removeNotice(LARGE_WORKFLOW_NOTICE_KEY);
48806
+ }, [anyLargeRun, addNotice, removeNotice]);
48616
48807
  const closingWait = closingWaitRef.current;
48617
48808
  const backgroundWaitText = closingWait !== null && state === "idle" ? backgroundWaitLine(
48618
48809
  pendingBackgroundAgents(
@@ -49722,7 +49913,7 @@ export {
49722
49913
  setSyntaxHighlight,
49723
49914
  whenGrammarsSettle,
49724
49915
  languagesIn,
49725
- colourLines,
49916
+ colourLines2 as colourLines,
49726
49917
  openingFence,
49727
49918
  closesFence,
49728
49919
  stripFenceIndent,
@@ -49736,4 +49927,4 @@ export {
49736
49927
  projectConversation,
49737
49928
  App
49738
49929
  };
49739
- //# sourceMappingURL=chunk-BZR5PIFF.js.map
49930
+ //# sourceMappingURL=chunk-JRZSUEK4.js.map