@namzu/cli 50.3.0 → 51.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 (321) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/dist/bin.js +1 -1
  3. package/dist/chunks/{acp-2T35QG5N.js → acp-I75ITR7W.js} +50 -50
  4. package/dist/chunks/{acp-2T35QG5N.js.map → acp-I75ITR7W.js.map} +1 -1
  5. package/dist/chunks/{activity-command-I3AIOI7D.js → activity-command-6RM3I3CG.js} +12 -12
  6. package/dist/chunks/{add-UGB46RWA.js → add-X25CBZQM.js} +19 -19
  7. package/dist/chunks/{agent-2667K2DP.js → agent-TIXCYM5Q.js} +40 -36
  8. package/dist/chunks/agent-session-YXYFEYXB.js +69 -0
  9. package/dist/chunks/{archive-3AAGSJMI.js → archive-UFBZQWFO.js} +11 -11
  10. package/dist/chunks/{bin-main-N76J3LXV.js → bin-main-5E4PLOSV.js} +7 -7
  11. package/dist/chunks/{binding-YGRSM4NK.js → binding-EGKCFUJN.js} +3 -3
  12. package/dist/chunks/{browser-55KWOLRE.js → browser-WSEOMG6B.js} +6 -6
  13. package/dist/chunks/{chat-2JCXYCK4.js → chat-XGURQIQN.js} +15 -15
  14. package/dist/chunks/{chunk-SDK374XH.js → chunk-2H2TQCA5.js} +3 -3
  15. package/dist/chunks/{chunk-RC3A3XQL.js → chunk-2MAMU7AX.js} +2 -2
  16. package/dist/chunks/{chunk-PMUGOF5V.js → chunk-2UELHX7A.js} +2 -2
  17. package/dist/chunks/{chunk-BKAGWRB7.js → chunk-354BWCU6.js} +2 -2
  18. package/dist/chunks/{chunk-2ADHYVB2.js → chunk-3I4UQCJZ.js} +2 -2
  19. package/dist/chunks/{chunk-MZI3ULZR.js → chunk-45LQJKMG.js} +4 -4
  20. package/dist/chunks/{chunk-P2CH7AHO.js → chunk-4JTXA7EU.js} +3 -3
  21. package/dist/chunks/{chunk-CKQSYJLF.js → chunk-4SQVWV4B.js} +5 -5
  22. package/dist/chunks/{chunk-DBPV2NYH.js → chunk-4ZWZ3UZ2.js} +2 -2
  23. package/dist/chunks/{chunk-KONJIEUP.js → chunk-55KDC7DM.js} +2 -2
  24. package/dist/chunks/{chunk-BFK5ZLTI.js → chunk-55LA4ARF.js} +3 -3
  25. package/dist/chunks/{chunk-H7GNPOE4.js → chunk-5FZDDFXS.js} +2 -2
  26. package/dist/chunks/{chunk-GMCZYW6K.js → chunk-5GWSNJUP.js} +5 -5
  27. package/dist/chunks/{chunk-IO6AH6S6.js → chunk-5JPQVU57.js} +2 -2
  28. package/dist/chunks/{chunk-HOBBN5HG.js → chunk-5MD7FSR4.js} +2 -2
  29. package/dist/chunks/{chunk-HHZYPDYM.js → chunk-6I7YVWWO.js} +4 -4
  30. package/dist/chunks/{chunk-W4BOQPYP.js → chunk-APKI7B7W.js} +304 -37
  31. package/dist/chunks/chunk-APKI7B7W.js.map +6 -0
  32. package/dist/chunks/{chunk-35KJUUIZ.js → chunk-B3XETKYI.js} +2 -2
  33. package/dist/chunks/{chunk-7HYNH2U5.js → chunk-B5AIMVRI.js} +2 -2
  34. package/dist/chunks/{chunk-2VKT4OPG.js → chunk-BMIFPELO.js} +6 -6
  35. package/dist/chunks/{chunk-2T3C6WAE.js → chunk-BMYWEYPI.js} +3 -3
  36. package/dist/chunks/{chunk-WHZO5JAN.js → chunk-BNEGQX4Q.js} +34 -34
  37. package/dist/chunks/{chunk-LJFJLXD5.js → chunk-C4YEWOFD.js} +4 -4
  38. package/dist/chunks/{chunk-M3BND4IS.js → chunk-DQW7UPXP.js} +2 -2
  39. package/dist/chunks/{chunk-V6W5ILRM.js → chunk-EBES22ZB.js} +20 -13
  40. package/dist/chunks/chunk-EBES22ZB.js.map +6 -0
  41. package/dist/chunks/{chunk-YEDLKZJU.js → chunk-ECYKNBHN.js} +10 -10
  42. package/dist/chunks/{chunk-GNBTKM54.js → chunk-EPKNYAR5.js} +2 -2
  43. package/dist/chunks/{chunk-LYTJJ2LG.js → chunk-EUMXN6FC.js} +4 -4
  44. package/dist/chunks/{chunk-7OYYEJXX.js → chunk-GBIYC3OF.js} +2 -2
  45. package/dist/chunks/{chunk-ZVAXTBZ4.js → chunk-GFFWXLQI.js} +13 -13
  46. package/dist/chunks/{chunk-UU6Z4RNI.js → chunk-GMAPTJ3G.js} +2 -2
  47. package/dist/chunks/{chunk-UGECQ2K7.js → chunk-GTFK7PLC.js} +4 -4
  48. package/dist/chunks/{chunk-JZVNLDXW.js → chunk-GVXKT3BV.js} +4 -4
  49. package/dist/chunks/{chunk-FPW3QSQD.js → chunk-I3DHWG5M.js} +3 -3
  50. package/dist/chunks/{chunk-IYUW2RAA.js → chunk-I4GTRFPK.js} +18 -2
  51. package/dist/chunks/{chunk-IYUW2RAA.js.map → chunk-I4GTRFPK.js.map} +1 -1
  52. package/dist/chunks/{chunk-QHNAT275.js → chunk-I6WKUIVX.js} +3 -3
  53. package/dist/chunks/{chunk-ULRP7FUP.js → chunk-J6EAQ4XD.js} +2 -2
  54. package/dist/chunks/{chunk-K6CL6T23.js → chunk-JQO2LGPA.js} +4 -4
  55. package/dist/chunks/{chunk-TPYEIOFB.js → chunk-KZTKHIP5.js} +2 -2
  56. package/dist/chunks/{chunk-RVWRZVRT.js → chunk-LM3JEI5Z.js} +2 -2
  57. package/dist/chunks/{chunk-3L7O76A5.js → chunk-LNVTSRF3.js} +4 -4
  58. package/dist/chunks/{chunk-HM3XROXV.js → chunk-LS2USKSX.js} +5 -5
  59. package/dist/chunks/{chunk-VZD5OAVF.js → chunk-MNMG5JGZ.js} +4 -4
  60. package/dist/chunks/{chunk-IDHX5QU5.js → chunk-MPHLRHG6.js} +2 -2
  61. package/dist/chunks/{chunk-CI2P6MWQ.js → chunk-NEMRZKU7.js} +2 -2
  62. package/dist/chunks/{chunk-MT2KWIQD.js → chunk-NGHCVY4T.js} +2 -2
  63. package/dist/chunks/{chunk-JXIZ23M4.js → chunk-NSIV6WEI.js} +2 -2
  64. package/dist/chunks/{chunk-RSMLOV7S.js → chunk-NYYG7HAY.js} +12 -12
  65. package/dist/chunks/{chunk-WBDMD7WY.js → chunk-O53XPCC5.js} +2 -2
  66. package/dist/chunks/{chunk-WBWDM4FM.js → chunk-OQCZ27OE.js} +2 -2
  67. package/dist/chunks/{chunk-7DCFWJDK.js → chunk-OY7K65K6.js} +9 -9
  68. package/dist/chunks/{chunk-QUADPKLH.js → chunk-PD2MTV6U.js} +4 -4
  69. package/dist/chunks/{chunk-AXB6T7KH.js → chunk-POGVGWKL.js} +6 -6
  70. package/dist/chunks/{chunk-TKXFM6UF.js → chunk-PYYCH65R.js} +13 -13
  71. package/dist/chunks/{chunk-TCOZSNNY.js → chunk-QZRV5EOA.js} +4 -4
  72. package/dist/chunks/{chunk-MVCDUAE3.js → chunk-R2K5AFBF.js} +3 -3
  73. package/dist/chunks/{chunk-KRGFQLGY.js → chunk-RWMWDV5U.js} +3 -3
  74. package/dist/chunks/{chunk-QAQBDQOO.js → chunk-SDIFKDGI.js} +3 -3
  75. package/dist/chunks/{chunk-7JPWIMTU.js → chunk-TC3E4SKI.js} +2 -2
  76. package/dist/chunks/{chunk-H734PAIA.js → chunk-TH3PVZT3.js} +2 -2
  77. package/dist/chunks/{chunk-VXZ4I76G.js → chunk-TUBA7HB2.js} +2 -2
  78. package/dist/chunks/{chunk-PP5FDOXX.js → chunk-TUNKUMWI.js} +3 -3
  79. package/dist/chunks/{chunk-5ISSWZYV.js → chunk-TW56AJLJ.js} +7 -7
  80. package/dist/chunks/{chunk-UDA4YOUW.js → chunk-UUZM4M2L.js} +150 -43
  81. package/dist/chunks/chunk-UUZM4M2L.js.map +6 -0
  82. package/dist/chunks/{chunk-G3R4GLH5.js → chunk-V6H2W6TZ.js} +3 -3
  83. package/dist/chunks/{chunk-L37OHUPQ.js → chunk-VIV4OF3E.js} +4 -4
  84. package/dist/chunks/{chunk-ENQ34C3Q.js → chunk-VRFKZSBH.js} +3 -3
  85. package/dist/chunks/{chunk-KUPDSMDC.js → chunk-W2PMDZWZ.js} +2 -2
  86. package/dist/chunks/{chunk-SWEP7MWK.js → chunk-W3M6GZTY.js} +3 -3
  87. package/dist/chunks/{chunk-I7DZMDL4.js → chunk-W7NCIPEV.js} +3 -3
  88. package/dist/chunks/{chunk-QKRGJPU6.js → chunk-WBCYE4JI.js} +2 -2
  89. package/dist/chunks/{chunk-S5HIHXZO.js → chunk-WQ2S6BUX.js} +3 -3
  90. package/dist/chunks/{chunk-2WSCH27F.js → chunk-WYGUFPCK.js} +9 -9
  91. package/dist/chunks/{chunk-KCRRCSBK.js → chunk-XBZJBXQY.js} +3 -3
  92. package/dist/chunks/{chunk-IWBRKHR3.js → chunk-Y36X5RRN.js} +3 -3
  93. package/dist/chunks/{chunk-QFECRPMQ.js → chunk-YICIG5QP.js} +4 -4
  94. package/dist/chunks/{chunk-4XONZ3IH.js → chunk-ZSNNS2V6.js} +3 -3
  95. package/dist/chunks/{chunk-JNPUGWLC.js → chunk-ZUDMNBWB.js} +6 -6
  96. package/dist/chunks/{chunk-B72UXUIV.js → chunk-ZXYCWNKE.js} +9 -9
  97. package/dist/chunks/{cli-runtime-WBHLU5Z2.js → cli-runtime-6YUL7KO4.js} +14 -14
  98. package/dist/chunks/{commands-Q5YVFT5H.js → commands-INKRVLL2.js} +5 -5
  99. package/dist/chunks/{crash-report-7B6INW5Z.js → crash-report-W2LEW2CB.js} +7 -7
  100. package/dist/chunks/{dist-CX6YZPQP.js → dist-2WHW47YN.js} +2 -2
  101. package/dist/chunks/{dist-XF4ALE5R.js → dist-32QKP26R.js} +2 -2
  102. package/dist/chunks/{dist-64A6FTG4.js → dist-CNCFMP4G.js} +2 -2
  103. package/dist/chunks/{dist-55O7DGZC.js → dist-G66KFB6L.js} +2 -2
  104. package/dist/chunks/{dist-DM56OGFI.js → dist-KNDQQ7NJ.js} +2 -2
  105. package/dist/chunks/{dist-JFEBD4RQ.js → dist-MSXSGG4O.js} +2 -2
  106. package/dist/chunks/{dist-JTKWJRF3.js → dist-UH4FMDFC.js} +2 -2
  107. package/dist/chunks/{dist-JXBZJMCJ.js → dist-YKMXFMEH.js} +2 -2
  108. package/dist/chunks/{doctor-J74VP3YF.js → doctor-GUQ55L7P.js} +16 -16
  109. package/dist/chunks/{drain-43YQMN3N.js → drain-W354CYLH.js} +9 -9
  110. package/dist/chunks/{entry-EBSTYPZD.js → entry-A6OLKTK4.js} +6 -6
  111. package/dist/chunks/{eval-6FWPUHTJ.js → eval-4WUEX4J2.js} +2 -2
  112. package/dist/chunks/{exec-3OL72UXM.js → exec-2GC33AL4.js} +37 -37
  113. package/dist/chunks/{github-VS24TC5M.js → github-VCUDZDGI.js} +2 -2
  114. package/dist/chunks/{home-S7VBBT2P.js → home-T4OIF6S7.js} +3 -3
  115. package/dist/chunks/{host-F6WQBUBZ.js → host-AVAUHFYK.js} +10 -10
  116. package/dist/chunks/{host-queries-PXLHY5OD.js → host-queries-DOTBOTRM.js} +15 -15
  117. package/dist/chunks/{learn-NNNC4PEC.js → learn-YMOECXWO.js} +11 -11
  118. package/dist/chunks/{learn-builtin-BDKIORNW.js → learn-builtin-BF6BC7VT.js} +14 -14
  119. package/dist/chunks/{lifecycle-6UXAIU2W.js → lifecycle-SCXNENNO.js} +29 -29
  120. package/dist/chunks/{list-RAVXA62R.js → list-A2TVECA4.js} +12 -12
  121. package/dist/chunks/{live-R457RDVD.js → live-GIKIVP5N.js} +15 -15
  122. package/dist/chunks/{login-XFL5R3F3.js → login-COY7ZU76.js} +13 -13
  123. package/dist/chunks/{logs-FHXX2ZYY.js → logs-HN5ED3XC.js} +4 -4
  124. package/dist/chunks/{mcp-GJYWIZDK.js → mcp-KMFXTAEG.js} +22 -22
  125. package/dist/chunks/{message-command-HLV22I75.js → message-command-XJCX6GEH.js} +42 -42
  126. package/dist/chunks/{open-52RISMYT.js → open-7CKFU4GZ.js} +8 -8
  127. package/dist/chunks/{operator-tools-KRVBU5DK.js → operator-tools-SBSUWAPM.js} +13 -13
  128. package/dist/chunks/{output-schema-TN574F4W.js → output-schema-OF7MU44K.js} +3 -3
  129. package/dist/chunks/{pal-F6UND6OQ.js → pal-ANABYPQI.js} +16 -16
  130. package/dist/chunks/{peers-VBFD7USO.js → peers-45ERDPKF.js} +6 -6
  131. package/dist/chunks/{peers-TJCZBKJN.js → peers-MQMTWBNF.js} +8 -8
  132. package/dist/chunks/{providers-WZ5ZDUB3.js → providers-U2VOQPIQ.js} +11 -11
  133. package/dist/chunks/{pty-KWFUBODN.js → pty-O3JUR6E6.js} +3 -3
  134. package/dist/chunks/resume-SAA3MLKU.js +23 -0
  135. package/dist/chunks/{resume-command-RVILL4QU.js → resume-command-CTK2KZBA.js} +5 -5
  136. package/dist/chunks/{schedule-3QGQRJB7.js → schedule-QPTZKLTX.js} +8 -8
  137. package/dist/chunks/{service-MI36D5ZK.js → service-HV3GCDHA.js} +29 -29
  138. package/dist/chunks/{skills-W5AH33BU.js → skills-2AT7ET7J.js} +9 -9
  139. package/dist/chunks/{start-check-567HOC4A.js → start-check-KLNGOTCH.js} +2 -2
  140. package/dist/chunks/{startup-failure-AXFS5D3F.js → startup-failure-LONKNDPE.js} +2 -2
  141. package/dist/chunks/{state-NYIQ2RRT.js → state-NH64B6V6.js} +3 -3
  142. package/dist/chunks/{store-LWOLZU4Z.js → store-3UO335CU.js} +6 -6
  143. package/dist/chunks/{store-LNGCY3CJ.js → store-FQVXZJIN.js} +3 -3
  144. package/dist/chunks/{store-BEOWOJIT.js → store-UK2654YC.js} +4 -4
  145. package/dist/chunks/{store-JUC4TU6P.js → store-XEDK3ESU.js} +10 -10
  146. package/dist/chunks/{tui-W7I4CLSF.js → tui-2PVEZMXJ.js} +288 -153
  147. package/dist/chunks/tui-2PVEZMXJ.js.map +6 -0
  148. package/dist/chunks/{upgrade-APJTDSEG.js → upgrade-ERUCYWMK.js} +7 -7
  149. package/dist/chunks/{workspaces-F6RNJXKR.js → workspaces-YIBJSUGI.js} +16 -16
  150. package/dist/chunks/{worktree-LE5FPYCK.js → worktree-4K2Y37SY.js} +13 -13
  151. package/dist/config/schema.d.ts +3 -2
  152. package/dist/config/schema.d.ts.map +1 -1
  153. package/dist/index.js +19 -19
  154. package/dist/integrations/decision/setup.d.ts +4 -1
  155. package/dist/integrations/decision/setup.d.ts.map +1 -1
  156. package/dist/integrations/workflows/host.d.ts.map +1 -1
  157. package/dist/integrations/workflows/offering.d.ts.map +1 -1
  158. package/dist/integrations/workflows/size.d.ts +21 -7
  159. package/dist/integrations/workflows/size.d.ts.map +1 -1
  160. package/dist/tui/AgentExplorer.d.ts +59 -8
  161. package/dist/tui/AgentExplorer.d.ts.map +1 -1
  162. package/dist/tui/App.d.ts +3 -0
  163. package/dist/tui/App.d.ts.map +1 -1
  164. package/dist/tui/PermissionOverlay.d.ts +15 -0
  165. package/dist/tui/PermissionOverlay.d.ts.map +1 -1
  166. package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
  167. package/dist/tui/agent.d.ts +21 -1
  168. package/dist/tui/agent.d.ts.map +1 -1
  169. package/dist/tui/permission-review.d.ts +22 -0
  170. package/dist/tui/permission-review.d.ts.map +1 -1
  171. package/dist/tui/terminal-display.d.ts +19 -0
  172. package/dist/tui/terminal-display.d.ts.map +1 -1
  173. package/package.json +8 -8
  174. package/skills/README.md +4 -0
  175. package/skills/browser-automation/SKILL.md +1 -1
  176. package/skills/review-changes/SKILL.md +63 -0
  177. package/skills/schedule-task/SKILL.md +1 -1
  178. package/skills/skill-creator/SKILL.md +1 -1
  179. package/skills/verify-change/SKILL.md +63 -0
  180. package/dist/chunks/agent-session-5KMMWJTY.js +0 -69
  181. package/dist/chunks/chunk-UDA4YOUW.js.map +0 -6
  182. package/dist/chunks/chunk-V6W5ILRM.js.map +0 -6
  183. package/dist/chunks/chunk-W4BOQPYP.js.map +0 -6
  184. package/dist/chunks/resume-FVNBMR6D.js +0 -23
  185. package/dist/chunks/tui-W7I4CLSF.js.map +0 -6
  186. /package/dist/chunks/{activity-command-I3AIOI7D.js.map → activity-command-6RM3I3CG.js.map} +0 -0
  187. /package/dist/chunks/{add-UGB46RWA.js.map → add-X25CBZQM.js.map} +0 -0
  188. /package/dist/chunks/{agent-2667K2DP.js.map → agent-TIXCYM5Q.js.map} +0 -0
  189. /package/dist/chunks/{agent-session-5KMMWJTY.js.map → agent-session-YXYFEYXB.js.map} +0 -0
  190. /package/dist/chunks/{archive-3AAGSJMI.js.map → archive-UFBZQWFO.js.map} +0 -0
  191. /package/dist/chunks/{bin-main-N76J3LXV.js.map → bin-main-5E4PLOSV.js.map} +0 -0
  192. /package/dist/chunks/{binding-YGRSM4NK.js.map → binding-EGKCFUJN.js.map} +0 -0
  193. /package/dist/chunks/{browser-55KWOLRE.js.map → browser-WSEOMG6B.js.map} +0 -0
  194. /package/dist/chunks/{chat-2JCXYCK4.js.map → chat-XGURQIQN.js.map} +0 -0
  195. /package/dist/chunks/{chunk-SDK374XH.js.map → chunk-2H2TQCA5.js.map} +0 -0
  196. /package/dist/chunks/{chunk-RC3A3XQL.js.map → chunk-2MAMU7AX.js.map} +0 -0
  197. /package/dist/chunks/{chunk-PMUGOF5V.js.map → chunk-2UELHX7A.js.map} +0 -0
  198. /package/dist/chunks/{chunk-BKAGWRB7.js.map → chunk-354BWCU6.js.map} +0 -0
  199. /package/dist/chunks/{chunk-2ADHYVB2.js.map → chunk-3I4UQCJZ.js.map} +0 -0
  200. /package/dist/chunks/{chunk-MZI3ULZR.js.map → chunk-45LQJKMG.js.map} +0 -0
  201. /package/dist/chunks/{chunk-P2CH7AHO.js.map → chunk-4JTXA7EU.js.map} +0 -0
  202. /package/dist/chunks/{chunk-CKQSYJLF.js.map → chunk-4SQVWV4B.js.map} +0 -0
  203. /package/dist/chunks/{chunk-DBPV2NYH.js.map → chunk-4ZWZ3UZ2.js.map} +0 -0
  204. /package/dist/chunks/{chunk-KONJIEUP.js.map → chunk-55KDC7DM.js.map} +0 -0
  205. /package/dist/chunks/{chunk-BFK5ZLTI.js.map → chunk-55LA4ARF.js.map} +0 -0
  206. /package/dist/chunks/{chunk-H7GNPOE4.js.map → chunk-5FZDDFXS.js.map} +0 -0
  207. /package/dist/chunks/{chunk-GMCZYW6K.js.map → chunk-5GWSNJUP.js.map} +0 -0
  208. /package/dist/chunks/{chunk-IO6AH6S6.js.map → chunk-5JPQVU57.js.map} +0 -0
  209. /package/dist/chunks/{chunk-HOBBN5HG.js.map → chunk-5MD7FSR4.js.map} +0 -0
  210. /package/dist/chunks/{chunk-HHZYPDYM.js.map → chunk-6I7YVWWO.js.map} +0 -0
  211. /package/dist/chunks/{chunk-35KJUUIZ.js.map → chunk-B3XETKYI.js.map} +0 -0
  212. /package/dist/chunks/{chunk-7HYNH2U5.js.map → chunk-B5AIMVRI.js.map} +0 -0
  213. /package/dist/chunks/{chunk-2VKT4OPG.js.map → chunk-BMIFPELO.js.map} +0 -0
  214. /package/dist/chunks/{chunk-2T3C6WAE.js.map → chunk-BMYWEYPI.js.map} +0 -0
  215. /package/dist/chunks/{chunk-WHZO5JAN.js.map → chunk-BNEGQX4Q.js.map} +0 -0
  216. /package/dist/chunks/{chunk-LJFJLXD5.js.map → chunk-C4YEWOFD.js.map} +0 -0
  217. /package/dist/chunks/{chunk-M3BND4IS.js.map → chunk-DQW7UPXP.js.map} +0 -0
  218. /package/dist/chunks/{chunk-YEDLKZJU.js.map → chunk-ECYKNBHN.js.map} +0 -0
  219. /package/dist/chunks/{chunk-GNBTKM54.js.map → chunk-EPKNYAR5.js.map} +0 -0
  220. /package/dist/chunks/{chunk-LYTJJ2LG.js.map → chunk-EUMXN6FC.js.map} +0 -0
  221. /package/dist/chunks/{chunk-7OYYEJXX.js.map → chunk-GBIYC3OF.js.map} +0 -0
  222. /package/dist/chunks/{chunk-ZVAXTBZ4.js.map → chunk-GFFWXLQI.js.map} +0 -0
  223. /package/dist/chunks/{chunk-UU6Z4RNI.js.map → chunk-GMAPTJ3G.js.map} +0 -0
  224. /package/dist/chunks/{chunk-UGECQ2K7.js.map → chunk-GTFK7PLC.js.map} +0 -0
  225. /package/dist/chunks/{chunk-JZVNLDXW.js.map → chunk-GVXKT3BV.js.map} +0 -0
  226. /package/dist/chunks/{chunk-FPW3QSQD.js.map → chunk-I3DHWG5M.js.map} +0 -0
  227. /package/dist/chunks/{chunk-QHNAT275.js.map → chunk-I6WKUIVX.js.map} +0 -0
  228. /package/dist/chunks/{chunk-ULRP7FUP.js.map → chunk-J6EAQ4XD.js.map} +0 -0
  229. /package/dist/chunks/{chunk-K6CL6T23.js.map → chunk-JQO2LGPA.js.map} +0 -0
  230. /package/dist/chunks/{chunk-TPYEIOFB.js.map → chunk-KZTKHIP5.js.map} +0 -0
  231. /package/dist/chunks/{chunk-RVWRZVRT.js.map → chunk-LM3JEI5Z.js.map} +0 -0
  232. /package/dist/chunks/{chunk-3L7O76A5.js.map → chunk-LNVTSRF3.js.map} +0 -0
  233. /package/dist/chunks/{chunk-HM3XROXV.js.map → chunk-LS2USKSX.js.map} +0 -0
  234. /package/dist/chunks/{chunk-VZD5OAVF.js.map → chunk-MNMG5JGZ.js.map} +0 -0
  235. /package/dist/chunks/{chunk-IDHX5QU5.js.map → chunk-MPHLRHG6.js.map} +0 -0
  236. /package/dist/chunks/{chunk-CI2P6MWQ.js.map → chunk-NEMRZKU7.js.map} +0 -0
  237. /package/dist/chunks/{chunk-MT2KWIQD.js.map → chunk-NGHCVY4T.js.map} +0 -0
  238. /package/dist/chunks/{chunk-JXIZ23M4.js.map → chunk-NSIV6WEI.js.map} +0 -0
  239. /package/dist/chunks/{chunk-RSMLOV7S.js.map → chunk-NYYG7HAY.js.map} +0 -0
  240. /package/dist/chunks/{chunk-WBDMD7WY.js.map → chunk-O53XPCC5.js.map} +0 -0
  241. /package/dist/chunks/{chunk-WBWDM4FM.js.map → chunk-OQCZ27OE.js.map} +0 -0
  242. /package/dist/chunks/{chunk-7DCFWJDK.js.map → chunk-OY7K65K6.js.map} +0 -0
  243. /package/dist/chunks/{chunk-QUADPKLH.js.map → chunk-PD2MTV6U.js.map} +0 -0
  244. /package/dist/chunks/{chunk-AXB6T7KH.js.map → chunk-POGVGWKL.js.map} +0 -0
  245. /package/dist/chunks/{chunk-TKXFM6UF.js.map → chunk-PYYCH65R.js.map} +0 -0
  246. /package/dist/chunks/{chunk-TCOZSNNY.js.map → chunk-QZRV5EOA.js.map} +0 -0
  247. /package/dist/chunks/{chunk-MVCDUAE3.js.map → chunk-R2K5AFBF.js.map} +0 -0
  248. /package/dist/chunks/{chunk-KRGFQLGY.js.map → chunk-RWMWDV5U.js.map} +0 -0
  249. /package/dist/chunks/{chunk-QAQBDQOO.js.map → chunk-SDIFKDGI.js.map} +0 -0
  250. /package/dist/chunks/{chunk-7JPWIMTU.js.map → chunk-TC3E4SKI.js.map} +0 -0
  251. /package/dist/chunks/{chunk-H734PAIA.js.map → chunk-TH3PVZT3.js.map} +0 -0
  252. /package/dist/chunks/{chunk-VXZ4I76G.js.map → chunk-TUBA7HB2.js.map} +0 -0
  253. /package/dist/chunks/{chunk-PP5FDOXX.js.map → chunk-TUNKUMWI.js.map} +0 -0
  254. /package/dist/chunks/{chunk-5ISSWZYV.js.map → chunk-TW56AJLJ.js.map} +0 -0
  255. /package/dist/chunks/{chunk-G3R4GLH5.js.map → chunk-V6H2W6TZ.js.map} +0 -0
  256. /package/dist/chunks/{chunk-L37OHUPQ.js.map → chunk-VIV4OF3E.js.map} +0 -0
  257. /package/dist/chunks/{chunk-ENQ34C3Q.js.map → chunk-VRFKZSBH.js.map} +0 -0
  258. /package/dist/chunks/{chunk-KUPDSMDC.js.map → chunk-W2PMDZWZ.js.map} +0 -0
  259. /package/dist/chunks/{chunk-SWEP7MWK.js.map → chunk-W3M6GZTY.js.map} +0 -0
  260. /package/dist/chunks/{chunk-I7DZMDL4.js.map → chunk-W7NCIPEV.js.map} +0 -0
  261. /package/dist/chunks/{chunk-QKRGJPU6.js.map → chunk-WBCYE4JI.js.map} +0 -0
  262. /package/dist/chunks/{chunk-S5HIHXZO.js.map → chunk-WQ2S6BUX.js.map} +0 -0
  263. /package/dist/chunks/{chunk-2WSCH27F.js.map → chunk-WYGUFPCK.js.map} +0 -0
  264. /package/dist/chunks/{chunk-KCRRCSBK.js.map → chunk-XBZJBXQY.js.map} +0 -0
  265. /package/dist/chunks/{chunk-IWBRKHR3.js.map → chunk-Y36X5RRN.js.map} +0 -0
  266. /package/dist/chunks/{chunk-QFECRPMQ.js.map → chunk-YICIG5QP.js.map} +0 -0
  267. /package/dist/chunks/{chunk-4XONZ3IH.js.map → chunk-ZSNNS2V6.js.map} +0 -0
  268. /package/dist/chunks/{chunk-JNPUGWLC.js.map → chunk-ZUDMNBWB.js.map} +0 -0
  269. /package/dist/chunks/{chunk-B72UXUIV.js.map → chunk-ZXYCWNKE.js.map} +0 -0
  270. /package/dist/chunks/{cli-runtime-WBHLU5Z2.js.map → cli-runtime-6YUL7KO4.js.map} +0 -0
  271. /package/dist/chunks/{commands-Q5YVFT5H.js.map → commands-INKRVLL2.js.map} +0 -0
  272. /package/dist/chunks/{crash-report-7B6INW5Z.js.map → crash-report-W2LEW2CB.js.map} +0 -0
  273. /package/dist/chunks/{dist-CX6YZPQP.js.map → dist-2WHW47YN.js.map} +0 -0
  274. /package/dist/chunks/{dist-XF4ALE5R.js.map → dist-32QKP26R.js.map} +0 -0
  275. /package/dist/chunks/{dist-64A6FTG4.js.map → dist-CNCFMP4G.js.map} +0 -0
  276. /package/dist/chunks/{dist-55O7DGZC.js.map → dist-G66KFB6L.js.map} +0 -0
  277. /package/dist/chunks/{dist-DM56OGFI.js.map → dist-KNDQQ7NJ.js.map} +0 -0
  278. /package/dist/chunks/{dist-JFEBD4RQ.js.map → dist-MSXSGG4O.js.map} +0 -0
  279. /package/dist/chunks/{dist-JTKWJRF3.js.map → dist-UH4FMDFC.js.map} +0 -0
  280. /package/dist/chunks/{dist-JXBZJMCJ.js.map → dist-YKMXFMEH.js.map} +0 -0
  281. /package/dist/chunks/{doctor-J74VP3YF.js.map → doctor-GUQ55L7P.js.map} +0 -0
  282. /package/dist/chunks/{drain-43YQMN3N.js.map → drain-W354CYLH.js.map} +0 -0
  283. /package/dist/chunks/{entry-EBSTYPZD.js.map → entry-A6OLKTK4.js.map} +0 -0
  284. /package/dist/chunks/{eval-6FWPUHTJ.js.map → eval-4WUEX4J2.js.map} +0 -0
  285. /package/dist/chunks/{exec-3OL72UXM.js.map → exec-2GC33AL4.js.map} +0 -0
  286. /package/dist/chunks/{github-VS24TC5M.js.map → github-VCUDZDGI.js.map} +0 -0
  287. /package/dist/chunks/{home-S7VBBT2P.js.map → home-T4OIF6S7.js.map} +0 -0
  288. /package/dist/chunks/{host-F6WQBUBZ.js.map → host-AVAUHFYK.js.map} +0 -0
  289. /package/dist/chunks/{host-queries-PXLHY5OD.js.map → host-queries-DOTBOTRM.js.map} +0 -0
  290. /package/dist/chunks/{learn-NNNC4PEC.js.map → learn-YMOECXWO.js.map} +0 -0
  291. /package/dist/chunks/{learn-builtin-BDKIORNW.js.map → learn-builtin-BF6BC7VT.js.map} +0 -0
  292. /package/dist/chunks/{lifecycle-6UXAIU2W.js.map → lifecycle-SCXNENNO.js.map} +0 -0
  293. /package/dist/chunks/{list-RAVXA62R.js.map → list-A2TVECA4.js.map} +0 -0
  294. /package/dist/chunks/{live-R457RDVD.js.map → live-GIKIVP5N.js.map} +0 -0
  295. /package/dist/chunks/{login-XFL5R3F3.js.map → login-COY7ZU76.js.map} +0 -0
  296. /package/dist/chunks/{logs-FHXX2ZYY.js.map → logs-HN5ED3XC.js.map} +0 -0
  297. /package/dist/chunks/{mcp-GJYWIZDK.js.map → mcp-KMFXTAEG.js.map} +0 -0
  298. /package/dist/chunks/{message-command-HLV22I75.js.map → message-command-XJCX6GEH.js.map} +0 -0
  299. /package/dist/chunks/{open-52RISMYT.js.map → open-7CKFU4GZ.js.map} +0 -0
  300. /package/dist/chunks/{operator-tools-KRVBU5DK.js.map → operator-tools-SBSUWAPM.js.map} +0 -0
  301. /package/dist/chunks/{output-schema-TN574F4W.js.map → output-schema-OF7MU44K.js.map} +0 -0
  302. /package/dist/chunks/{pal-F6UND6OQ.js.map → pal-ANABYPQI.js.map} +0 -0
  303. /package/dist/chunks/{peers-VBFD7USO.js.map → peers-45ERDPKF.js.map} +0 -0
  304. /package/dist/chunks/{peers-TJCZBKJN.js.map → peers-MQMTWBNF.js.map} +0 -0
  305. /package/dist/chunks/{providers-WZ5ZDUB3.js.map → providers-U2VOQPIQ.js.map} +0 -0
  306. /package/dist/chunks/{pty-KWFUBODN.js.map → pty-O3JUR6E6.js.map} +0 -0
  307. /package/dist/chunks/{resume-FVNBMR6D.js.map → resume-SAA3MLKU.js.map} +0 -0
  308. /package/dist/chunks/{resume-command-RVILL4QU.js.map → resume-command-CTK2KZBA.js.map} +0 -0
  309. /package/dist/chunks/{schedule-3QGQRJB7.js.map → schedule-QPTZKLTX.js.map} +0 -0
  310. /package/dist/chunks/{service-MI36D5ZK.js.map → service-HV3GCDHA.js.map} +0 -0
  311. /package/dist/chunks/{skills-W5AH33BU.js.map → skills-2AT7ET7J.js.map} +0 -0
  312. /package/dist/chunks/{start-check-567HOC4A.js.map → start-check-KLNGOTCH.js.map} +0 -0
  313. /package/dist/chunks/{startup-failure-AXFS5D3F.js.map → startup-failure-LONKNDPE.js.map} +0 -0
  314. /package/dist/chunks/{state-NYIQ2RRT.js.map → state-NH64B6V6.js.map} +0 -0
  315. /package/dist/chunks/{store-BEOWOJIT.js.map → store-3UO335CU.js.map} +0 -0
  316. /package/dist/chunks/{store-JUC4TU6P.js.map → store-FQVXZJIN.js.map} +0 -0
  317. /package/dist/chunks/{store-LNGCY3CJ.js.map → store-UK2654YC.js.map} +0 -0
  318. /package/dist/chunks/{store-LWOLZU4Z.js.map → store-XEDK3ESU.js.map} +0 -0
  319. /package/dist/chunks/{upgrade-APJTDSEG.js.map → upgrade-ERUCYWMK.js.map} +0 -0
  320. /package/dist/chunks/{workspaces-F6RNJXKR.js.map → workspaces-YIBJSUGI.js.map} +0 -0
  321. /package/dist/chunks/{worktree-LE5FPYCK.js.map → worktree-4K2Y37SY.js.map} +0 -0
@@ -11,13 +11,13 @@ import {
11
11
  confirmationView,
12
12
  describeChanges,
13
13
  permissionsChanged
14
- } from "./chunk-DBPV2NYH.js";
14
+ } from "./chunk-4ZWZ3UZ2.js";
15
15
  import {
16
16
  visibleScheduleMessage
17
17
  } from "./chunk-NADQQMMG.js";
18
18
  import {
19
19
  selectDesktopBackend
20
- } from "./chunk-35KJUUIZ.js";
20
+ } from "./chunk-B3XETKYI.js";
21
21
  import {
22
22
  TURN_LIMIT_FIELDS,
23
23
  ThemeEpochContext,
@@ -54,10 +54,10 @@ import {
54
54
  turnLimitCommands,
55
55
  useThemeEpoch,
56
56
  useThemeSubscription
57
- } from "./chunk-ZVAXTBZ4.js";
57
+ } from "./chunk-GFFWXLQI.js";
58
58
  import {
59
59
  handleTerminationSignals
60
- } from "./chunk-BKAGWRB7.js";
60
+ } from "./chunk-354BWCU6.js";
61
61
  import "./chunk-R66H2G5R.js";
62
62
  import {
63
63
  describeAllCredentialsLogout,
@@ -69,16 +69,16 @@ import {
69
69
  } from "./chunk-MDK4RMBQ.js";
70
70
  import {
71
71
  applyProviderFlags
72
- } from "./chunk-ENQ34C3Q.js";
72
+ } from "./chunk-VRFKZSBH.js";
73
73
  import {
74
74
  reportCrash
75
- } from "./chunk-7JPWIMTU.js";
75
+ } from "./chunk-TC3E4SKI.js";
76
76
  import {
77
77
  BYPASS_CONSENT_BODY,
78
78
  BYPASS_CONSENT_TITLE,
79
79
  acknowledgeBypass,
80
80
  hasAcknowledgedBypass
81
- } from "./chunk-HOBBN5HG.js";
81
+ } from "./chunk-5MD7FSR4.js";
82
82
  import {
83
83
  applyFallbackFlag,
84
84
  capChoiceLines,
@@ -89,16 +89,16 @@ import {
89
89
  truncateChoiceText,
90
90
  wrapBalancedText,
91
91
  wrapChoiceText
92
- } from "./chunk-7HYNH2U5.js";
92
+ } from "./chunk-B5AIMVRI.js";
93
93
  import {
94
94
  settleAnsweredPark
95
- } from "./chunk-5ISSWZYV.js";
95
+ } from "./chunk-TW56AJLJ.js";
96
96
  import "./chunk-GWQEMJFS.js";
97
97
  import {
98
98
  DELIVERY_READ_LIMIT,
99
99
  readSourceDeliveryPage,
100
100
  takeSuppressedCount
101
- } from "./chunk-TKXFM6UF.js";
101
+ } from "./chunk-PYYCH65R.js";
102
102
  import {
103
103
  DEFAULT_MAX_ITERATIONS,
104
104
  DEFAULT_TIMEOUT_MS,
@@ -111,29 +111,29 @@ import {
111
111
  runsPerDay,
112
112
  scriptShellUnavailableReason,
113
113
  verifyScheduledScript
114
- } from "./chunk-LJFJLXD5.js";
114
+ } from "./chunk-C4YEWOFD.js";
115
115
  import {
116
116
  callsCount
117
117
  } from "./chunk-HFY2647W.js";
118
- import "./chunk-TPYEIOFB.js";
118
+ import "./chunk-KZTKHIP5.js";
119
119
  import {
120
120
  allowsCommands,
121
121
  compileJobPolicy,
122
122
  compileScriptCheckPolicy,
123
123
  isPresetName
124
- } from "./chunk-3L7O76A5.js";
124
+ } from "./chunk-LNVTSRF3.js";
125
125
  import "./chunk-XEUQN4JC.js";
126
126
  import {
127
127
  formatResumeShellCommand,
128
128
  parkedRunWords,
129
129
  resumeCommand
130
- } from "./chunk-IWBRKHR3.js";
130
+ } from "./chunk-Y36X5RRN.js";
131
131
  import {
132
132
  appendHistory,
133
133
  nextFireOf,
134
134
  readHistory,
135
135
  readState
136
- } from "./chunk-M3BND4IS.js";
136
+ } from "./chunk-DQW7UPXP.js";
137
137
  import {
138
138
  callEndpoint,
139
139
  readEndpoint
@@ -156,7 +156,7 @@ import {
156
156
  snapRange,
157
157
  wordAt,
158
158
  workspacesSignal
159
- } from "./chunk-2ADHYVB2.js";
159
+ } from "./chunk-3I4UQCJZ.js";
160
160
  import {
161
161
  motionAllowed,
162
162
  reducedMotion,
@@ -175,7 +175,7 @@ import {
175
175
  openLivePeers,
176
176
  peerMailLabel,
177
177
  peerMailMessage
178
- } from "./chunk-KRGFQLGY.js";
178
+ } from "./chunk-RWMWDV5U.js";
179
179
  import {
180
180
  AUTO_CHOICE_ID,
181
181
  NOTHING_TOLD,
@@ -191,13 +191,13 @@ import {
191
191
  sectionHeading,
192
192
  withAutoChoice,
193
193
  writeConversationExport
194
- } from "./chunk-MZI3ULZR.js";
194
+ } from "./chunk-45LQJKMG.js";
195
195
  import {
196
196
  tuiPalDefinition,
197
197
  tuiPalEnvironment,
198
198
  tuiPalOwner,
199
199
  tuiPalPreferences
200
- } from "./chunk-GMCZYW6K.js";
200
+ } from "./chunk-5GWSNJUP.js";
201
201
  import {
202
202
  isModelOnlyContext,
203
203
  runtimeContextLabel
@@ -205,14 +205,14 @@ import {
205
205
  import {
206
206
  deleteUserConfigValue,
207
207
  setUserConfigValue
208
- } from "./chunk-SWEP7MWK.js";
209
- import "./chunk-S5HIHXZO.js";
210
- import "./chunk-YEDLKZJU.js";
211
- import "./chunk-JNPUGWLC.js";
208
+ } from "./chunk-W3M6GZTY.js";
209
+ import "./chunk-WQ2S6BUX.js";
210
+ import "./chunk-ECYKNBHN.js";
211
+ import "./chunk-ZUDMNBWB.js";
212
212
  import {
213
213
  claimPalConversation,
214
214
  listPalConversations
215
- } from "./chunk-HHZYPDYM.js";
215
+ } from "./chunk-6I7YVWWO.js";
216
216
  import {
217
217
  CLICK_EXPAND_HINT,
218
218
  CLICK_FOLD_HINT,
@@ -295,7 +295,9 @@ import {
295
295
  probeAgentSession,
296
296
  proposedBody,
297
297
  readMemory,
298
+ readableServiceText,
298
299
  recordedMemories,
300
+ refusesQuestionField,
299
301
  renderCheckpoints,
300
302
  renderMemoryDetail,
301
303
  renderMemoryReport,
@@ -320,12 +322,12 @@ import {
320
322
  webLiveStatus,
321
323
  webSettledLine,
322
324
  withDebugDetail
323
- } from "./chunk-UDA4YOUW.js";
325
+ } from "./chunk-UUZM4M2L.js";
324
326
  import {
325
327
  openManagedWorktrees,
326
328
  worktreeOpenHint
327
- } from "./chunk-VZD5OAVF.js";
328
- import "./chunk-G3R4GLH5.js";
329
+ } from "./chunk-MNMG5JGZ.js";
330
+ import "./chunk-V6H2W6TZ.js";
329
331
  import {
330
332
  SAVE_SKILL_TOOL_NAME,
331
333
  SKILL_CREATOR_SKILL,
@@ -349,25 +351,25 @@ import {
349
351
  runTokens,
350
352
  sandboxRunsShellUnasked,
351
353
  settledElapsed
352
- } from "./chunk-P2CH7AHO.js";
353
- import "./chunk-FPW3QSQD.js";
354
- import "./chunk-QUADPKLH.js";
354
+ } from "./chunk-4JTXA7EU.js";
355
+ import "./chunk-I3DHWG5M.js";
356
+ import "./chunk-PD2MTV6U.js";
355
357
  import {
356
358
  MCP_OUTPUT_CHARS,
357
359
  boundedMcpText,
358
360
  validatePromptArguments
359
- } from "./chunk-K6CL6T23.js";
361
+ } from "./chunk-JQO2LGPA.js";
360
362
  import {
361
363
  openInBrowser
362
- } from "./chunk-H734PAIA.js";
364
+ } from "./chunk-TH3PVZT3.js";
363
365
  import {
364
366
  describePlainInterruption,
365
367
  describeProviderWait,
366
368
  describeProviderWaitClock,
367
369
  isSelfMending,
368
370
  isSpentAllowance
369
- } from "./chunk-UGECQ2K7.js";
370
- import "./chunk-TCOZSNNY.js";
371
+ } from "./chunk-GTFK7PLC.js";
372
+ import "./chunk-QZRV5EOA.js";
371
373
  import {
372
374
  describeBrowserStatus
373
375
  } from "./chunk-WHODOMXA.js";
@@ -379,7 +381,7 @@ import {
379
381
  handoffContinuationNote,
380
382
  refusalDetail,
381
383
  retryAfterMs
382
- } from "./chunk-SDK374XH.js";
384
+ } from "./chunk-2H2TQCA5.js";
383
385
  import {
384
386
  MAY_BE_LIMITED_WINDOW_MS,
385
387
  accountProductName,
@@ -399,11 +401,12 @@ import {
399
401
  permissionModeDescription,
400
402
  permissionModeLabel,
401
403
  permissionModeName
402
- } from "./chunk-WBWDM4FM.js";
404
+ } from "./chunk-OQCZ27OE.js";
403
405
  import {
404
406
  expandTabs,
407
+ scriptText,
405
408
  terminalDisplayText
406
- } from "./chunk-IYUW2RAA.js";
409
+ } from "./chunk-I4GTRFPK.js";
407
410
  import {
408
411
  NO_SKILLS_FOUND,
409
412
  composeSkillsPrompt,
@@ -411,25 +414,25 @@ import {
411
414
  loadSkillBody,
412
415
  renderSkillRoster,
413
416
  skillTierLabel
414
- } from "./chunk-QHNAT275.js";
417
+ } from "./chunk-I6WKUIVX.js";
415
418
  import "./chunk-ZWA2JRJV.js";
416
419
  import "./chunk-NUGPLXVK.js";
417
420
  import {
418
421
  beginSubscriptionLogin,
419
422
  parsePastedInput
420
- } from "./chunk-CKQSYJLF.js";
423
+ } from "./chunk-4SQVWV4B.js";
421
424
  import {
422
425
  apiKeyLogoutWord,
423
426
  isApiKeyLogoutTarget
424
- } from "./chunk-PP5FDOXX.js";
427
+ } from "./chunk-TUNKUMWI.js";
425
428
  import {
426
429
  API_KEY_ACCOUNT_PROVIDERS,
427
430
  openCliAccounts,
428
431
  storedAccountSignedIn
429
- } from "./chunk-HM3XROXV.js";
432
+ } from "./chunk-LS2USKSX.js";
430
433
  import {
431
434
  beginCodexDeviceLogin
432
- } from "./chunk-QFECRPMQ.js";
435
+ } from "./chunk-YICIG5QP.js";
433
436
  import {
434
437
  ConversationIndexRefreshError,
435
438
  activeConversationTurn,
@@ -459,29 +462,29 @@ import {
459
462
  typedTextOf,
460
463
  unansweredReviewPark,
461
464
  unarchiveConversation
462
- } from "./chunk-2VKT4OPG.js";
463
- import "./chunk-KCRRCSBK.js";
465
+ } from "./chunk-BMIFPELO.js";
466
+ import "./chunk-XBZJBXQY.js";
464
467
  import "./chunk-JQIBPPOL.js";
465
- import "./chunk-JZVNLDXW.js";
468
+ import "./chunk-GVXKT3BV.js";
466
469
  import {
467
470
  isTrusted,
468
471
  trustDir
469
- } from "./chunk-VXZ4I76G.js";
472
+ } from "./chunk-TUBA7HB2.js";
470
473
  import {
471
474
  bindAccount,
472
475
  findAccountByName,
473
476
  isDefaultAccountId
474
- } from "./chunk-IO6AH6S6.js";
477
+ } from "./chunk-5JPQVU57.js";
475
478
  import {
476
479
  startAutoUpdate
477
- } from "./chunk-4XONZ3IH.js";
480
+ } from "./chunk-ZSNNS2V6.js";
478
481
  import {
479
482
  resolveNpmInvocation
480
- } from "./chunk-7OYYEJXX.js";
483
+ } from "./chunk-GBIYC3OF.js";
481
484
  import {
482
485
  readManifest
483
486
  } from "./chunk-AK2U3N2A.js";
484
- import "./chunk-I7DZMDL4.js";
487
+ import "./chunk-W7NCIPEV.js";
485
488
  import {
486
489
  ScheduleConflictError,
487
490
  confirmationHolds,
@@ -510,14 +513,14 @@ import {
510
513
  describeCacheLifetime,
511
514
  promptCacheTtl,
512
515
  providerOffersCacheLifetime
513
- } from "./chunk-BFK5ZLTI.js";
516
+ } from "./chunk-55LA4ARF.js";
514
517
  import "./chunk-OH6TB27S.js";
515
518
  import {
516
519
  COMPOSER_TRIGGER_DEFAULTS,
517
520
  COMPOSER_TRIGGER_IDS,
518
521
  ConfigLoadError,
522
+ DEFAULT_WORKFLOW_SIZE_GUIDELINE,
519
523
  LARGE_WORKFLOW_WARNING,
520
- LARGE_WORKFLOW_WARNING_SHORT,
521
524
  approveShownMcpServers,
522
525
  browserCallOrigin,
523
526
  browserSiteRuleFor,
@@ -527,7 +530,8 @@ import {
527
530
  decisionStatusLine,
528
531
  fingerprintMcpServer,
529
532
  formatConfigSource,
530
- isLargeRun,
533
+ largeRunNotice,
534
+ largeRunReason,
531
535
  loadConfigWithProvenance,
532
536
  pendingProjectMcpServers,
533
537
  pendingServersMessage,
@@ -540,14 +544,14 @@ import {
540
544
  saveDecisionKey,
541
545
  shouldOfferDecisionSetup,
542
546
  writeConnection
543
- } from "./chunk-V6W5ILRM.js";
547
+ } from "./chunk-EBES22ZB.js";
544
548
  import "./chunk-KONYGNG6.js";
545
549
  import "./chunk-LCGXWCVU.js";
546
- import "./chunk-QAQBDQOO.js";
550
+ import "./chunk-SDIFKDGI.js";
547
551
  import {
548
552
  contextLogging,
549
553
  installCliLogging
550
- } from "./chunk-JXIZ23M4.js";
554
+ } from "./chunk-NSIV6WEI.js";
551
555
  import {
552
556
  PROJECT_MCP_FILE,
553
557
  parseMcpServerFile
@@ -577,7 +581,7 @@ import {
577
581
  import {
578
582
  primaryProvider,
579
583
  writePreferences
580
- } from "./chunk-RSMLOV7S.js";
584
+ } from "./chunk-NYYG7HAY.js";
581
585
  import {
582
586
  automaticChoice,
583
587
  automaticKind,
@@ -586,7 +590,7 @@ import {
586
590
  discoverProviders,
587
591
  hasApiCredential,
588
592
  signedInSubscriptionProviders
589
- } from "./chunk-L37OHUPQ.js";
593
+ } from "./chunk-VIV4OF3E.js";
590
594
  import "./chunk-4QIWRKJO.js";
591
595
  import {
592
596
  ALL_PROVIDER_IDS,
@@ -600,9 +604,9 @@ import "./chunk-RI2KAZJO.js";
600
604
  import {
601
605
  isAnthropicOAuthToken,
602
606
  readCodexCredentialFile
603
- } from "./chunk-PMUGOF5V.js";
604
- import "./chunk-UU6Z4RNI.js";
605
- import "./chunk-GNBTKM54.js";
607
+ } from "./chunk-2UELHX7A.js";
608
+ import "./chunk-GMAPTJ3G.js";
609
+ import "./chunk-EPKNYAR5.js";
606
610
  import "./chunk-JORONMD3.js";
607
611
  import {
608
612
  apiKeysPath,
@@ -621,10 +625,10 @@ import {
621
625
  readStoredSubscriptionCredential,
622
626
  writeStoredApiKey,
623
627
  writeStoredGeminiApiKey
624
- } from "./chunk-RC3A3XQL.js";
628
+ } from "./chunk-2MAMU7AX.js";
625
629
  import {
626
630
  namzuHomePath
627
- } from "./chunk-KUPDSMDC.js";
631
+ } from "./chunk-W2PMDZWZ.js";
628
632
  import {
629
633
  ACCEPT_EDITS_TOOLS,
630
634
  AccountRegistryError,
@@ -681,7 +685,7 @@ import {
681
685
  validateTimeZone,
682
686
  wakeBudgetFromEnv,
683
687
  wrapUntrusted
684
- } from "./chunk-W4BOQPYP.js";
688
+ } from "./chunk-APKI7B7W.js";
685
689
  import {
686
690
  __commonJS,
687
691
  __export,
@@ -34445,16 +34449,22 @@ __name(railWorkflows, "railWorkflows");
34445
34449
  function runRailWorkflow(run4, agents, large) {
34446
34450
  const facts = runRailFacts(run4);
34447
34451
  const counts2 = countAgents(run4);
34448
- const isLarge = large !== void 0 && run4.status === "running" && isLargeRun({
34452
+ const largeWhy = large !== void 0 && run4.status === "running" ? largeRunReason({
34449
34453
  scheduledAgents: counts2.total,
34450
34454
  startedAgents: counts2.total - counts2.queued,
34451
34455
  totalTokens: facts.tokens ?? 0,
34452
34456
  hypermode: large.hypermode,
34453
- ...large.configuredGuideline !== void 0 ? { configuredGuideline: large.configuredGuideline } : {},
34457
+ ...large.guideline !== void 0 ? { guideline: large.guideline } : {},
34454
34458
  ...large.env !== void 0 ? { env: large.env } : {}
34455
- });
34459
+ }) : void 0;
34460
+ const runningPhases = run4.status === "running" ? run4.phases.filter(
34461
+ (phase) => run4.agents.some(
34462
+ (agent) => agent.phaseIndex === phase.index && agent.status === "running"
34463
+ )
34464
+ ).map((phase) => phase.title) : [];
34456
34465
  return {
34457
- ...isLarge ? { large: true } : {},
34466
+ ...largeWhy ? { large: true, largeWhy } : {},
34467
+ ...runningPhases.length > 0 ? { runningPhases } : {},
34458
34468
  id: run4.groupId,
34459
34469
  focusId: `${WORKFLOW_FOCUS_PREFIX}${run4.groupId}`,
34460
34470
  name: run4.name,
@@ -34525,44 +34535,45 @@ function railWorkflowBulletColor(workflow) {
34525
34535
  return workflow.failed > 0 ? theme.status.error : void 0;
34526
34536
  }
34527
34537
  __name(railWorkflowBulletColor, "railWorkflowBulletColor");
34528
- var WORKFLOW_BAR_WIDTHS = [20, 12, 8];
34538
+ var WORKFLOW_BAR_WIDTHS = [20, 12, 8, 4];
34529
34539
  function railProgressBar(done, total, width) {
34530
34540
  const filled = total <= 0 ? 0 : Math.max(0, Math.min(width, Math.floor(done * width / total)));
34531
34541
  return ["\u25B0".repeat(filled), "\u25B1".repeat(width - filled)];
34532
34542
  }
34533
34543
  __name(railProgressBar, "railProgressBar");
34544
+ var RAIL_PHASE_TITLE_WIDTH = 18;
34545
+ function railPhaseTexts(titles) {
34546
+ const shown = (titles ?? []).map((title) => truncateChoiceText(terminalDisplayText(oneLine(title)), RAIL_PHASE_TITLE_WIDTH)).filter((title) => title.length > 0);
34547
+ if (shown.length === 0) return [];
34548
+ const more = /* @__PURE__ */ __name((count2) => count2 > 0 ? ` +${count2} more` : "", "more");
34549
+ const [first = "", second] = shown;
34550
+ if (second === void 0) return [first];
34551
+ return [`${first}, ${second}${more(shown.length - 2)}`, `${first}${more(shown.length - 1)}`];
34552
+ }
34553
+ __name(railPhaseTexts, "railPhaseTexts");
34534
34554
  function workflowRowVariants(workflow, now) {
34535
34555
  const count2 = `${workflow.done}/${workflow.total}`;
34536
34556
  const elapsed2 = formatElapsed(Math.max(0, (workflow.endedAt ?? now) - workflow.startedAt));
34537
34557
  const spent = workflow.tokens === void 0 ? void 0 : formatCompactCount(workflow.tokens);
34558
+ const tokens = spent && `\u2193 ${spent} tokens`;
34559
+ const warning = workflow.large ? LARGE_WORKFLOW_WARNING : void 0;
34538
34560
  const join13 = /* @__PURE__ */ __name((parts) => parts.filter((part) => part !== void 0).join(" \xB7 "), "join");
34539
- const [wide, mid, narrow] = WORKFLOW_BAR_WIDTHS;
34540
- const warned = workflow.large ? [
34541
- {
34542
- barWidth: wide,
34543
- text: join13([count2, elapsed2, spent && `\u2193 ${spent} tokens`, LARGE_WORKFLOW_WARNING])
34544
- },
34545
- {
34546
- barWidth: wide,
34547
- text: join13([count2, elapsed2, spent && `\u2193 ${spent} tokens`, LARGE_WORKFLOW_WARNING_SHORT])
34548
- },
34549
- {
34550
- barWidth: wide,
34551
- text: join13([elapsed2, spent && `\u2193 ${spent}`, LARGE_WORKFLOW_WARNING_SHORT])
34552
- }
34553
- ] : [];
34561
+ const [wide, ...narrower] = WORKFLOW_BAR_WIDTHS;
34562
+ const few = WORKFLOW_BAR_WIDTHS[WORKFLOW_BAR_WIDTHS.length - 1];
34554
34563
  const variants = [
34555
- ...warned,
34556
- {
34564
+ ...railPhaseTexts(workflow.runningPhases).map((phases) => ({
34557
34565
  barWidth: wide,
34558
- text: join13([count2, elapsed2, spent && `\u2193 ${spent} tokens`])
34559
- },
34560
- { barWidth: wide, text: join13([elapsed2, spent && `\u2193 ${spent} tokens`]) },
34561
- { barWidth: wide, text: join13([elapsed2, spent && `\u2193 ${spent}`]) },
34562
- { barWidth: wide, text: join13([spent && `\u2193 ${spent}`]) },
34563
- { barWidth: mid, text: join13([spent && `\u2193 ${spent}`]) },
34564
- { barWidth: narrow, text: join13([spent && `\u2193 ${spent}`]) },
34565
- { barWidth: narrow, text: "" }
34566
+ text: join13([count2, elapsed2, tokens, warning, phases])
34567
+ })),
34568
+ { barWidth: wide, text: join13([count2, elapsed2, tokens, warning]) },
34569
+ ...narrower.map((barWidth) => ({
34570
+ barWidth,
34571
+ text: join13([count2, elapsed2, tokens, warning])
34572
+ })),
34573
+ { barWidth: few, text: join13([count2, elapsed2, warning]) },
34574
+ { barWidth: few, text: join13([count2, elapsed2]) },
34575
+ { barWidth: 0, text: join13([count2, elapsed2]) },
34576
+ { barWidth: 0, text: count2 }
34566
34577
  ];
34567
34578
  return variants.filter(
34568
34579
  (variant, index) => variants.findIndex(
@@ -34576,15 +34587,19 @@ var WORKFLOW_ROW_GAP = 2;
34576
34587
  function layoutWorkflowRow(workflow, now, columns, nameWidth) {
34577
34588
  const variants = workflowRowVariants(workflow, now);
34578
34589
  const room = Math.max(1, columns - RAIL_PREFIX_CELLS - 2);
34579
- const wanted = Math.min(8, nameWidth);
34580
34590
  const widthOf2 = /* @__PURE__ */ __name((variant) => WORKFLOW_ROW_GAP + variant.barWidth + (variant.text ? 2 + stringWidth(variant.text) : 0), "widthOf");
34581
- for (const variant of variants) {
34582
- if (room - widthOf2(variant) >= wanted) {
34583
- return { variant, nameWidth: Math.min(nameWidth, room - widthOf2(variant)) };
34584
- }
34585
- }
34591
+ const barred = variants.filter((variant) => variant.barWidth > 0);
34592
+ const whole = barred.find((variant) => room - widthOf2(variant) >= nameWidth);
34593
+ if (whole) return { variant: whole, nameWidth };
34594
+ const wanted = Math.min(8, nameWidth);
34595
+ const cutAt = /* @__PURE__ */ __name((variant) => Math.min(nameWidth, room - widthOf2(variant)), "cutAt");
34596
+ const shortest = barred[barred.length - 1];
34597
+ if (shortest && cutAt(shortest) >= wanted)
34598
+ return { variant: shortest, nameWidth: cutAt(shortest) };
34599
+ const bare = variants.find((variant) => variant.barWidth === 0 && cutAt(variant) >= wanted);
34600
+ if (bare) return { variant: bare, nameWidth: cutAt(bare) };
34586
34601
  const last = variants[variants.length - 1];
34587
- return { variant: last, nameWidth: Math.max(1, room - widthOf2(last)) };
34602
+ return { variant: last, nameWidth: Math.max(1, cutAt(last)) };
34588
34603
  }
34589
34604
  __name(layoutWorkflowRow, "layoutWorkflowRow");
34590
34605
  function railDescription(agent) {
@@ -34773,6 +34788,17 @@ function railShowsMain(agentCount, viewingId, compact2 = false) {
34773
34788
  return compact2 || agentCount > 0 || viewingId !== void 0 && viewingId !== null;
34774
34789
  }
34775
34790
  __name(railShowsMain, "railShowsMain");
34791
+ function railTypedText(input, key) {
34792
+ if (input.length === 0 || key.ctrl || key.meta) return void 0;
34793
+ if (key.escape || key.return || key.tab || key.backspace || key.delete || key.upArrow || key.downArrow || key.leftArrow || key.rightArrow || key.pageUp || key.pageDown || key.home || key.end)
34794
+ return void 0;
34795
+ return /[\u0000-\u001f\u007f]/.test(input) ? void 0 : input;
34796
+ }
34797
+ __name(railTypedText, "railTypedText");
34798
+ function detailLogLineCount(terminalRows) {
34799
+ return terminalRows >= 30 ? 3 : terminalRows >= 24 ? 1 : 0;
34800
+ }
34801
+ __name(detailLogLineCount, "detailLogLineCount");
34776
34802
  var RAIL_STOP_ALL_CHORD = "ctrl+x ctrl+k";
34777
34803
  var RAIL_HINT_CHORD_COLUMNS = 90;
34778
34804
  function railHint(selected, columns, runningAgents = 0, viewedId) {
@@ -35075,7 +35101,10 @@ function WorkflowDetail({
35075
35101
  const leftInner = 5 + leftTitleCells + 1 + countCells + 1;
35076
35102
  const rightInner = boxWidth - 3 - leftInner;
35077
35103
  const sideBySide = columns >= DETAIL_WIDE_COLUMNS && rightInner >= 24;
35078
- const recentLogs = (workflow.logs ?? []).slice(-(terminalRows >= 30 ? 3 : terminalRows >= 24 ? 1 : 0)).map((line) => terminalDisplayText(oneLine(line)));
35104
+ const logLines = detailLogLineCount(terminalRows);
35105
+ const recentLogs = (logLines === 0 ? [] : (workflow.logs ?? []).slice(-logLines)).map(
35106
+ (line) => terminalDisplayText(oneLine(line))
35107
+ );
35079
35108
  const header = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
35080
35109
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { color: theme.border.default, wrap: "truncate-end", children: "\u2500".repeat(columns) }),
35081
35110
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Box_default, { paddingX: 1, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, { color: theme.text.primary, bold: true, wrap: "truncate-end", children: title }) }),
@@ -35647,7 +35676,7 @@ function expandTabs3(line) {
35647
35676
  }
35648
35677
  __name(expandTabs3, "expandTabs");
35649
35678
  function oneLine(text) {
35650
- return terminalDisplayText(text).replace(/\r?\n/g, " \u21B5 ").replace(/\t/g, " \u21E5 ");
35679
+ return scriptText(text, { newline: " \u21B5 ", tab: " \u21E5 " });
35651
35680
  }
35652
35681
  __name(oneLine, "oneLine");
35653
35682
  function agentCounterText(agent) {
@@ -36403,11 +36432,12 @@ function workflowAgentProgress(counts2) {
36403
36432
  return `${counts2.done}/${counts2.total} ${counts2.total === 1 ? "agent" : "agents"}`;
36404
36433
  }
36405
36434
  __name(workflowAgentProgress, "workflowAgentProgress");
36435
+ var WORKFLOW_NAME_CELLS = 48;
36406
36436
  function workflowNotice(workflow, now = Date.now()) {
36407
36437
  const word = endWord(workflow.status);
36408
36438
  const elapsed2 = formatElapsed(Math.max(0, (workflow.endedAt ?? now) - workflow.startedAt));
36409
36439
  const parts = [
36410
- `Workflow ${oneLine2(workflow.name)} ${word}`,
36440
+ `Workflow ${scriptText(workflow.name, { maxCells: WORKFLOW_NAME_CELLS })} ${word}`,
36411
36441
  elapsed2,
36412
36442
  ...workflow.total > 0 ? [workflowAgentTotal(workflow.total)] : [],
36413
36443
  ...workflow.tokens !== void 0 ? [`${formatCompactCount(workflow.tokens)} tokens`] : []
@@ -36451,7 +36481,7 @@ function finalAnswer(agent) {
36451
36481
  }
36452
36482
  __name(finalAnswer, "finalAnswer");
36453
36483
  function oneLine2(text) {
36454
- return terminalDisplayText(text).replace(/\r?\n/g, " ").replace(/\t/g, " ");
36484
+ return scriptText(text);
36455
36485
  }
36456
36486
  __name(oneLine2, "oneLine");
36457
36487
 
@@ -36614,6 +36644,24 @@ function permissionReviewPageRows(terminalRows) {
36614
36644
  return Math.min(24, Math.max(PERMISSION_REVIEW_PAGE_ROWS, rows - 18));
36615
36645
  }
36616
36646
  __name(permissionReviewPageRows, "permissionReviewPageRows");
36647
+ var WORKFLOW_REVIEW_FURNITURE_ROWS = 8;
36648
+ var WORKFLOW_REVIEW_ABOVE_ROWS = 4;
36649
+ var WORKFLOW_REVIEW_MAX_PAGE_ROWS = 30;
36650
+ function workflowReviewPageRows(terminalRows, answerCount = 2) {
36651
+ const rows = terminalRows ?? 24;
36652
+ return Math.min(
36653
+ WORKFLOW_REVIEW_MAX_PAGE_ROWS,
36654
+ Math.max(
36655
+ PERMISSION_REVIEW_PAGE_ROWS,
36656
+ rows - WORKFLOW_REVIEW_FURNITURE_ROWS - answerCount - WORKFLOW_REVIEW_ABOVE_ROWS
36657
+ )
36658
+ );
36659
+ }
36660
+ __name(workflowReviewPageRows, "workflowReviewPageRows");
36661
+ function reviewPageRows(calls, terminalRows, answerCount = 2) {
36662
+ return calls.length === 1 && calls[0]?.name === "workflow" ? workflowReviewPageRows(terminalRows, answerCount) : permissionReviewPageRows(terminalRows);
36663
+ }
36664
+ __name(reviewPageRows, "reviewPageRows");
36617
36665
  function permissionReviewRefusal(_reason) {
36618
36666
  return "Refused: this tool batch contains input the interactive permission protocol cannot represent exactly. Use JSON-compatible input or add an explicit allow rule after reviewing the operation another way.";
36619
36667
  }
@@ -36942,7 +36990,16 @@ function buildPermissionSummary(review, context = {}) {
36942
36990
  };
36943
36991
  }
36944
36992
  const expanded = calls.some((call) => call.readable.expandedLines !== void 0);
36993
+ const only = calls.length === 1 ? calls[0] : void 0;
36994
+ const asBatch = /* @__PURE__ */ __name((call, lines2) => [
36995
+ `1. ${call.name}${call.isDestructive ? " \xB7 destructive" : ""}${withheldMark(context, 0)}`,
36996
+ ...lines2.map((line) => ` ${line}`)
36997
+ ].join("\n"), "asBatch");
36945
36998
  return {
36999
+ ...only?.readable.headLines && only.readable.shortLines ? {
37000
+ headText: asBatch(only, only.readable.headLines),
37001
+ shortText: asBatch(only, only.readable.shortLines)
37002
+ } : {},
36946
37003
  ...compactText !== void 0 ? { compactText } : {},
36947
37004
  text: calls.map(
36948
37005
  (call, index) => [
@@ -37107,40 +37164,58 @@ function summarizeWorkflow(input, context) {
37107
37164
  const script = typeof input.script === "string" ? input.script : typeof input.scriptPath === "string" ? context.readWorkflowScript?.(input.scriptPath) : void 0;
37108
37165
  if (script === void 0) return null;
37109
37166
  if (input.description !== void 0 && typeof input.description !== "string") return null;
37110
- const head = [];
37167
+ const lead = [];
37168
+ const named = [];
37169
+ const phaseLines = [];
37170
+ const phaseTitles = [];
37171
+ const phaseDetails = [];
37172
+ const shownAs = [];
37111
37173
  if (typeof input.resumeFromRunId === "string") {
37112
37174
  const review = context.describeWorkflowResume?.(input.resumeFromRunId, script);
37113
- head.push(
37175
+ lead.push(
37114
37176
  ...review ? resumeReviewLines(review) : [`Resumes run ${oneLine3(input.resumeFromRunId)} (its journal could not be read here)`]
37115
37177
  );
37116
37178
  }
37117
37179
  try {
37118
37180
  const meta = parseWorkflowMeta(script);
37119
- head.push(...readableField("Workflow", meta.name));
37120
- head.push(...readableField("Purpose", meta.description));
37181
+ named.push(...readableField("Workflow", meta.name));
37182
+ named.push(...readableField("Purpose", meta.description));
37121
37183
  if (meta.phases.length > 0) {
37122
- head.push("Phases:");
37184
+ phaseLines.push("Phases:");
37123
37185
  for (const [index, phase] of meta.phases.entries()) {
37124
- head.push(
37125
- ` ${index + 1}. ${oneLine3(phase.title)}${phase.detail ? ` \u2014 ${oneLine3(phase.detail)}` : ""}`
37186
+ const title = oneLine3(phase.title);
37187
+ phaseLines.push(
37188
+ ` ${index + 1}. ${title}${phase.detail ? ` \u2014 ${oneLine3(phase.detail)}` : ""}`
37126
37189
  );
37190
+ phaseTitles.push(`${index + 1}. ${title}`);
37191
+ if (phase.detail) phaseDetails.push(` ${index + 1}. ${title} \u2014 ${oneLine3(phase.detail)}`);
37127
37192
  }
37128
37193
  } else {
37129
- head.push("Phases: none declared");
37194
+ phaseLines.push("Phases: none declared");
37195
+ phaseTitles.push("");
37130
37196
  }
37131
37197
  } catch (error) {
37132
- head.push(
37198
+ named.push(
37133
37199
  `Workflow: its name could not be read (${error instanceof WorkflowScriptError ? error.message : "unreadable"})`
37134
37200
  );
37135
37201
  }
37136
37202
  if (typeof input.description === "string" && input.description.length > 0) {
37137
- head.push(...readableField("Shown as", input.description));
37203
+ shownAs.push(...readableField("Shown as", input.description));
37138
37204
  }
37139
37205
  const limits = context.workflowLimits ?? resolveWorkflowLimits();
37140
- head.push(
37206
+ const limitLines = [
37141
37207
  `Agents: up to ${limits.maxConcurrency} at a time, ${limits.maxAgents} in all, each with the same tools and approval rules as an Agent call`,
37142
37208
  "Runs in the background; you can stop it from the rail or /workflows"
37143
- );
37209
+ ];
37210
+ const head = [...lead, ...named, ...phaseLines, ...shownAs, ...limitLines];
37211
+ const shortHead = [
37212
+ ...lead,
37213
+ ...named,
37214
+ ...phaseTitles[0] === "" ? phaseLines : phaseTitles.length > 0 ? [`Phases: ${phaseTitles.join(" \xB7 ")}`] : [],
37215
+ ...limitLines,
37216
+ ...phaseDetails.length > 0 ? ["Phase details:", ...phaseDetails] : [],
37217
+ ...shownAs
37218
+ ];
37144
37219
  const argsText = input.args === void 0 ? void 0 : JSON.stringify(input.args);
37145
37220
  const argsClipped = argsText !== void 0 && argsText.length > WORKFLOW_ARGS_PREVIEW_CHARS;
37146
37221
  const argsFor = /* @__PURE__ */ __name((whole) => argsText === void 0 ? [] : [
@@ -37157,14 +37232,16 @@ function summarizeWorkflow(input, context) {
37157
37232
  const hidden = scriptLines.length - shown.length;
37158
37233
  const body = /* @__PURE__ */ __name((lines2) => lines2.map((line) => ` ${line}`), "body");
37159
37234
  const count2 = `Script \xB7 ${scriptLines.length} line${scriptLines.length === 1 ? "" : "s"}`;
37235
+ const tail2 = [
37236
+ ...argsFor(false),
37237
+ count2,
37238
+ ...body(shown),
37239
+ ...hidden > 0 ? [` \u2026 ${hidden} more line${hidden === 1 ? "" : "s"} (d shows all of it)`] : []
37240
+ ];
37160
37241
  return {
37161
- lines: [
37162
- ...head,
37163
- ...argsFor(false),
37164
- count2,
37165
- ...body(shown),
37166
- ...hidden > 0 ? [` \u2026 ${hidden} more line${hidden === 1 ? "" : "s"} (d shows all of it)`] : []
37167
- ],
37242
+ lines: [...head, ...tail2],
37243
+ headLines: head,
37244
+ shortLines: [...shortHead, ...tail2],
37168
37245
  // Always present: `d` reads the script itself, line by line, never the
37169
37246
  // wire envelope, however short the script is.
37170
37247
  expandedLines: [...head, ...argsFor(true), count2, ...body(scriptLines)],
@@ -40583,13 +40660,11 @@ function realTimeout2(ms) {
40583
40660
  }
40584
40661
  __name(realTimeout2, "realTimeout");
40585
40662
  function isQuestionShapeError(error) {
40586
- return error instanceof DecisionError && error.status === 400 && /(missing|null|required).*(instructions|criteria)|(instructions|criteria).*(missing|null|required)/i.test(
40587
- error.message
40588
- );
40663
+ return refusesQuestionField(error, ["instructions", "criteria"]);
40589
40664
  }
40590
40665
  __name(isQuestionShapeError, "isQuestionShapeError");
40591
40666
  function explainConnectionFailure(error, timedOut) {
40592
- const said = /* @__PURE__ */ __name((e) => sanitizeServiceText(e.message, 200), "said");
40667
+ const said = /* @__PURE__ */ __name((e) => sanitizeServiceText(readableServiceText(e.message), 200), "said");
40593
40668
  if (timedOut) return `no answer within ${CONNECTION_TEST_TIMEOUT_MS / 1e3} s`;
40594
40669
  if (error instanceof DecisionError) {
40595
40670
  if (error.status === 401 || error.status === 403)
@@ -46322,6 +46397,16 @@ function rowColor2(text, detailsOpen) {
46322
46397
  return theme.text.primary;
46323
46398
  }
46324
46399
  __name(rowColor2, "rowColor");
46400
+ function permissionReviewSource(args) {
46401
+ const { summary: summary2, review, detailsOpen, single: single2, columns, pageRows: pageRows2 } = args;
46402
+ if (detailsOpen)
46403
+ return summary2.expandedText !== void 0 ? readableBody(summary2.expandedText, single2) : review;
46404
+ if (summary2.compactText !== void 0) return summary2.compactText;
46405
+ if (single2 && summary2.shortText !== void 0 && summary2.headText !== void 0 && permissionReviewRows(readableBody(summary2.headText, single2), columns).length > pageRows2)
46406
+ return readableBody(summary2.shortText, single2);
46407
+ return readableBody(summary2.text, single2);
46408
+ }
46409
+ __name(permissionReviewSource, "permissionReviewSource");
46325
46410
  function PermissionOverlay({
46326
46411
  toolCalls,
46327
46412
  review,
@@ -46343,19 +46428,8 @@ function PermissionOverlay({
46343
46428
  withheld = [],
46344
46429
  endsTurn = false
46345
46430
  }) {
46346
- const pageRows2 = Math.max(1, permissionReviewPageRows(terminalRows));
46347
46431
  const single2 = toolCalls.length === 1;
46348
46432
  const compact2 = !detailsOpen && summary2.compactText !== void 0;
46349
- const source = detailsOpen ? summary2.expandedText !== void 0 ? readableBody(summary2.expandedText, single2) : review : summary2.compactText ?? readableBody(summary2.text, single2);
46350
- const scriptView = summary2.expandedText !== void 0;
46351
- const rows = permissionReviewRows(source, columns);
46352
- const maxOffset = Math.max(0, rows.length - pageRows2);
46353
- const offset = Math.min(Math.max(0, reviewOffset), maxOffset);
46354
- const visibleRows = rows.slice(offset, offset + pageRows2);
46355
- const paged = rows.length > pageRows2;
46356
- const first = rows.length === 0 ? 0 : offset + 1;
46357
- const last = Math.min(rows.length, offset + pageRows2);
46358
- const destructive = toolCalls.some((call) => call.isDestructive);
46359
46433
  const sharing = screenConsent !== void 0;
46360
46434
  const answerOptions = {
46361
46435
  batchOnly,
@@ -46367,6 +46441,25 @@ function PermissionOverlay({
46367
46441
  ...rememberWhere ? { rememberWhere } : {}
46368
46442
  };
46369
46443
  const answers = permissionAnswers(toolCalls, answerOptions);
46444
+ const answerCount = answers.length;
46445
+ const pageRows2 = Math.max(1, reviewPageRows(toolCalls, terminalRows, answerCount));
46446
+ const source = permissionReviewSource({
46447
+ summary: summary2,
46448
+ review,
46449
+ detailsOpen,
46450
+ single: single2,
46451
+ columns,
46452
+ pageRows: pageRows2
46453
+ });
46454
+ const scriptView = summary2.expandedText !== void 0;
46455
+ const rows = permissionReviewRows(source, columns);
46456
+ const maxOffset = Math.max(0, rows.length - pageRows2);
46457
+ const offset = Math.min(Math.max(0, reviewOffset), maxOffset);
46458
+ const visibleRows = rows.slice(offset, offset + pageRows2);
46459
+ const paged = rows.length > pageRows2;
46460
+ const first = rows.length === 0 ? 0 : offset + 1;
46461
+ const last = Math.min(rows.length, offset + pageRows2);
46462
+ const destructive = toolCalls.some((call) => call.isDestructive);
46370
46463
  const choices2 = answers.map((answer) => answer.label);
46371
46464
  const onRefusal = answers[choice2]?.kind === "reject";
46372
46465
  const offersEdits = answers.some((answer) => answer.kind === "approve-edits");
@@ -46439,8 +46532,8 @@ function PermissionOverlay({
46439
46532
  ] : [
46440
46533
  // The arrow keys are the first of the answer keys to go: enter and y / n
46441
46534
  // still answer, and the list shows which row is selected.
46442
- { text: "\u2191\u2193 select", rank: 3 },
46443
- { text: "enter confirm", rank: 5 },
46535
+ { text: "\u2191\u2193 select", rank: scriptView ? 2 : 3 },
46536
+ { text: "enter confirm", rank: scriptView ? 7 : 5 },
46444
46537
  {
46445
46538
  text: "y / n answer",
46446
46539
  short: "y / n",
@@ -46458,8 +46551,10 @@ function PermissionOverlay({
46458
46551
  text: `d ${scriptView ? detailsOpen ? "collapse" : "script" : detailsOpen ? "readable" : compact2 ? "instructions" : "view input"}`,
46459
46552
  short: `d ${scriptView ? detailsOpen ? "collapse" : "script" : detailsOpen ? "readable" : compact2 ? "full" : "input"}`,
46460
46553
  // The only way to the exact input: it outranks the stop hint,
46461
- // whose key works without being shown.
46462
- rank: 5
46554
+ // whose key works without being shown. On a workflow review it
46555
+ // also outlasts `esc cancel`: nothing else shows the whole
46556
+ // script, and Escape cancels without its hint.
46557
+ rank: scriptView ? 6 : 5
46463
46558
  },
46464
46559
  // On the No row the way to give a reason is the one hint that cannot be
46465
46560
  // guessed, so it outlasts the arrows and the stop key. Last of its rank,
@@ -51713,7 +51808,7 @@ async function fastModeBlocker(providerId, model, now = Date.now(), otherHost =
51713
51808
  return `Fast mode is offered on the vendor's own endpoint only, and requests here go to ${otherHost}.`;
51714
51809
  }
51715
51810
  if (!model) return "Fast mode needs a model; pick one with /model.";
51716
- const { resolveFastModeVerdict } = await import("./dist-JTKWJRF3.js");
51811
+ const { resolveFastModeVerdict } = await import("./dist-UH4FMDFC.js");
51717
51812
  const verdict = resolveFastModeVerdict(model, now);
51718
51813
  return verdict.ok ? void 0 : verdict.reason;
51719
51814
  }
@@ -61962,7 +62057,10 @@ ${blocks.join("\n\n")}`;
61962
62057
  if (picker.mode === "run") {
61963
62058
  setCopyPicker(null);
61964
62059
  composerDraftTokenRef.current += 1;
61965
- setComposerDraft({ token: composerDraftTokenRef.current, text: `!${target.text}` });
62060
+ setComposerDraft({
62061
+ token: composerDraftTokenRef.current,
62062
+ text: `!${target.text}`
62063
+ });
61966
62064
  pushMessage(
61967
62065
  "system",
61968
62066
  "The command is in the prompt: press Enter to run it, or edit it first."
@@ -63363,7 +63461,7 @@ ${blocks.join("\n\n")}`;
63363
63461
  doctorRunningRef.current = true;
63364
63462
  const progressId = pushMessage("system", "Checking\u2026");
63365
63463
  try {
63366
- const { runLiveDoctor } = await import("./live-R457RDVD.js");
63464
+ const { runLiveDoctor } = await import("./live-GIKIVP5N.js");
63367
63465
  const { describePlainDoctor } = await import("./plain-report-XVPBQDLE.js");
63368
63466
  const report = await runLiveDoctor({
63369
63467
  ...ctxRef.current.telemetry ? { telemetry: ctxRef.current.telemetry } : {}
@@ -69752,9 +69850,25 @@ ${plugins.map((plugin) => {
69752
69850
  return;
69753
69851
  }
69754
69852
  if (permission && (key.pageUp || key.pageDown || key.home || key.end)) {
69755
- const source = permissionDetailsOpenRef.current ? permission.review : permission.summary.compactText ?? permission.summary.text;
69756
- const count2 = permissionReviewRows(source, terminal.columns).length;
69757
- const pageRows2 = Math.max(1, permissionReviewPageRows(terminal.rows));
69853
+ const answerCount = permissionAnswers(
69854
+ permission.toolCalls,
69855
+ permissionAnswerOptions(permission)
69856
+ ).length;
69857
+ const pageRows2 = Math.max(
69858
+ 1,
69859
+ reviewPageRows(permission.toolCalls, terminal.rows, answerCount)
69860
+ );
69861
+ const count2 = permissionReviewRows(
69862
+ permissionReviewSource({
69863
+ summary: permission.summary,
69864
+ review: permission.review,
69865
+ detailsOpen: permissionDetailsOpenRef.current,
69866
+ single: permission.toolCalls.length === 1,
69867
+ columns: terminal.columns,
69868
+ pageRows: pageRows2
69869
+ }),
69870
+ terminal.columns
69871
+ ).length;
69758
69872
  const maxOffset = Math.max(0, count2 - pageRows2);
69759
69873
  const current = Math.min(permissionReviewOffsetRef.current, maxOffset);
69760
69874
  const next = key.home ? 0 : key.end ? maxOffset : key.pageUp ? Math.max(0, current - pageRows2) : Math.min(maxOffset, current + pageRows2);
@@ -70007,6 +70121,17 @@ ${plugins.map((plugin) => {
70007
70121
  return;
70008
70122
  } else {
70009
70123
  setRailFocus(null);
70124
+ const typed = railTypedText(input, key);
70125
+ if (typed !== void 0) {
70126
+ if (!composerHasDraftRef.current) {
70127
+ composerDraftTokenRef.current += 1;
70128
+ setComposerDraft({
70129
+ token: composerDraftTokenRef.current,
70130
+ text: typed
70131
+ });
70132
+ }
70133
+ return;
70134
+ }
70010
70135
  }
70011
70136
  }
70012
70137
  if (isAction("app:toggleTodos", input, key)) {
@@ -70460,9 +70585,19 @@ ${plugins.map((plugin) => {
70460
70585
  railRowsRef.current = liveSubagents;
70461
70586
  const liveWorkflows = railWorkflows(subagents, railNow, dismissedAgents, workflowRuns, {
70462
70587
  hypermode,
70463
- ...ctxRef.current.workflow?.sizeGuideline !== void 0 ? { configuredGuideline: ctxRef.current.workflow.sizeGuideline } : {},
70588
+ guideline: ctxRef.current.workflow?.sizeGuideline ?? DEFAULT_WORKFLOW_SIZE_GUIDELINE,
70464
70589
  env: process.env
70465
70590
  });
70591
+ const largeRunsToldRef = (0, import_react62.useRef)(/* @__PURE__ */ new Set());
70592
+ const largeRunKey = liveWorkflows.filter((flow) => flow.large && flow.runId !== void 0).map((flow) => flow.runId).join(",");
70593
+ (0, import_react62.useEffect)(() => {
70594
+ for (const flow of railWorkflowsRef.current) {
70595
+ if (!flow.large || !flow.largeWhy || flow.runId === void 0) continue;
70596
+ if (largeRunsToldRef.current.has(flow.runId)) continue;
70597
+ largeRunsToldRef.current.add(flow.runId);
70598
+ pushSystem("notice", largeRunNotice(flow.name, flow.largeWhy));
70599
+ }
70600
+ }, [largeRunKey, pushSystem]);
70466
70601
  const backgroundGroups = liveGroups(subagents, isWorkflowRunAgent);
70467
70602
  const closingWait = closingWaitRef.current;
70468
70603
  const backgroundWaitText = closingWait !== null && state === "idle" ? backgroundWaitLine(
@@ -71126,7 +71261,7 @@ function workflowRunOption(run4) {
71126
71261
  ...tokens > 0 ? [`${formatCompactCount(tokens)} tokens`] : [],
71127
71262
  relativeStart(run4.startedAt)
71128
71263
  ];
71129
- return { label: run4.name, description: columns.join(" \xB7 ") };
71264
+ return { label: scriptText(run4.name, { maxCells: 48 }), description: columns.join(" \xB7 ") };
71130
71265
  }
71131
71266
  __name(workflowRunOption, "workflowRunOption");
71132
71267
  function relativeStart(startedAt) {
@@ -72187,7 +72322,7 @@ async function launchTui(ctx, options = {}) {
72187
72322
  current: null
72188
72323
  };
72189
72324
  const workspacesEntry = /* @__PURE__ */ __name(() => {
72190
- workspaces.current ??= import("./entry-EBSTYPZD.js").then(
72325
+ workspaces.current ??= import("./entry-A6OLKTK4.js").then(
72191
72326
  (m) => m.createWorkspacesEntry({
72192
72327
  proxy,
72193
72328
  realOut: process.stdout,
@@ -72417,4 +72552,4 @@ react/cjs/react-jsx-runtime.development.js:
72417
72552
  * LICENSE file in the root directory of this source tree.
72418
72553
  *)
72419
72554
  */
72420
- //# sourceMappingURL=tui-W7I4CLSF.js.map
72555
+ //# sourceMappingURL=tui-2PVEZMXJ.js.map