@namzu/cli 56.0.0 → 57.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (464) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/bin.js +1 -1
  3. package/dist/browser/control.d.ts +6 -0
  4. package/dist/browser/control.d.ts.map +1 -1
  5. package/dist/chunks/{acp-AKGPPJ3S.js → acp-DEH76VXL.js} +67 -63
  6. package/dist/chunks/acp-DEH76VXL.js.map +6 -0
  7. package/dist/chunks/{activity-command-IG2BDK6U.js → activity-command-GETWRD67.js} +14 -13
  8. package/dist/chunks/activity-command-GETWRD67.js.map +6 -0
  9. package/dist/chunks/{add-35VUZTRA.js → add-XFYJ6UZE.js} +20 -19
  10. package/dist/chunks/add-XFYJ6UZE.js.map +6 -0
  11. package/dist/chunks/{agent-R3HKE5PA.js → agent-FW4VC2AF.js} +46 -45
  12. package/dist/chunks/agent-session-2YJCVWPX.js +87 -0
  13. package/dist/chunks/{apply-at-exit-VLIRJYUY.js → apply-at-exit-OU2UXZCF.js} +7 -7
  14. package/dist/chunks/{archive-DNFSM35C.js → archive-PA5MDKXC.js} +12 -11
  15. package/dist/chunks/archive-PA5MDKXC.js.map +6 -0
  16. package/dist/chunks/{bin-main-L3CUUSWD.js → bin-main-RH4NLAPK.js} +8 -8
  17. package/dist/chunks/{binding-NU3G3EBQ.js → binding-ON644UJ3.js} +3 -3
  18. package/dist/chunks/{browser-7DRWOIEZ.js → browser-ZMNLA73K.js} +7 -7
  19. package/dist/chunks/{chat-KZ7F2SA4.js → chat-UNZSJZ6U.js} +17 -16
  20. package/dist/chunks/chat-UNZSJZ6U.js.map +6 -0
  21. package/dist/chunks/{chunk-G57EYBLG.js → chunk-233CEYFX.js} +2 -2
  22. package/dist/chunks/{chunk-VWMKODXN.js → chunk-2AEWJA4Y.js} +3 -3
  23. package/dist/chunks/{chunk-5CLGTVZA.js → chunk-2JFRYOBC.js} +9 -9
  24. package/dist/chunks/{chunk-VFB4ZUOR.js → chunk-2P2PDEZJ.js} +6 -2
  25. package/dist/chunks/chunk-2P2PDEZJ.js.map +6 -0
  26. package/dist/chunks/{chunk-MZKEUDTK.js → chunk-2ZPB4ZBP.js} +3 -3
  27. package/dist/chunks/{chunk-WSO7YQLR.js → chunk-3EH4PF5T.js} +3 -3
  28. package/dist/chunks/{chunk-XUDIPBHG.js → chunk-3HT7FQNG.js} +4 -4
  29. package/dist/chunks/{chunk-QS44GK4N.js → chunk-3Z5OXTDI.js} +11 -3
  30. package/dist/chunks/{chunk-QS44GK4N.js.map → chunk-3Z5OXTDI.js.map} +1 -1
  31. package/dist/chunks/{chunk-WUVCLGCH.js → chunk-4DNEDLBT.js} +429 -112
  32. package/dist/chunks/chunk-4DNEDLBT.js.map +6 -0
  33. package/dist/chunks/{chunk-ZAPPY4VF.js → chunk-4E2REC5O.js} +2 -2
  34. package/dist/chunks/{chunk-DSIG56HN.js → chunk-4LSSJKYK.js} +3 -3
  35. package/dist/chunks/{chunk-4KGXEARZ.js → chunk-4PFTZNS5.js} +2 -2
  36. package/dist/chunks/{chunk-UR5ZAF3W.js → chunk-5C6XCI24.js} +4 -4
  37. package/dist/chunks/{chunk-BAELALGK.js → chunk-5YTGRS7U.js} +7 -7
  38. package/dist/chunks/{chunk-2UWAMPLM.js → chunk-5ZPCQ2HL.js} +31 -261
  39. package/dist/chunks/chunk-5ZPCQ2HL.js.map +6 -0
  40. package/dist/chunks/chunk-6A4RDHHY.js +10 -0
  41. package/dist/chunks/chunk-6A4RDHHY.js.map +6 -0
  42. package/dist/chunks/{chunk-MPIYLDWJ.js → chunk-6BTNPDXR.js} +2 -2
  43. package/dist/chunks/{chunk-X7QC2Q7P.js → chunk-6CI5CHBT.js} +3 -3
  44. package/dist/chunks/{chunk-X7QC2Q7P.js.map → chunk-6CI5CHBT.js.map} +1 -1
  45. package/dist/chunks/{chunk-IFAYKVNV.js → chunk-6E4TDPXP.js} +5 -5
  46. package/dist/chunks/{chunk-I65REILS.js → chunk-6IWJ6JC6.js} +43 -39
  47. package/dist/chunks/chunk-6IWJ6JC6.js.map +6 -0
  48. package/dist/chunks/{chunk-ETDOSJF7.js → chunk-6MGRBXCW.js} +2 -2
  49. package/dist/chunks/chunk-6MQHDX7R.js +252 -0
  50. package/dist/chunks/chunk-6MQHDX7R.js.map +6 -0
  51. package/dist/chunks/{chunk-WVS54LXZ.js → chunk-6TCZN54R.js} +3 -3
  52. package/dist/chunks/{chunk-ZX67O4BI.js → chunk-6TF24TFD.js} +5 -5
  53. package/dist/chunks/{chunk-7CIGYRDF.js → chunk-763RT6Z5.js} +2 -2
  54. package/dist/chunks/{chunk-DIKHZYQE.js → chunk-77AYLILT.js} +3 -3
  55. package/dist/chunks/{chunk-QW3Y3RDE.js → chunk-7BF4FLOP.js} +4 -4
  56. package/dist/chunks/{chunk-FQF2Z26R.js → chunk-7T56MZIJ.js} +17 -18
  57. package/dist/chunks/chunk-7T56MZIJ.js.map +6 -0
  58. package/dist/chunks/{chunk-JB3UZ7JJ.js → chunk-ABELB4VO.js} +2 -2
  59. package/dist/chunks/{chunk-GK3PEC2Z.js → chunk-AF2QPFEQ.js} +3 -3
  60. package/dist/chunks/{chunk-ERZWDBCZ.js → chunk-AZXIYYVX.js} +9 -9
  61. package/dist/chunks/{chunk-ICQYIDIR.js → chunk-BJQ7WFWL.js} +2 -2
  62. package/dist/chunks/{chunk-DID4WFOD.js → chunk-BXAUUC2B.js} +4 -4
  63. package/dist/chunks/{chunk-RMNIXHIZ.js → chunk-C7ZKC7HY.js} +15 -10
  64. package/dist/chunks/{chunk-RMNIXHIZ.js.map → chunk-C7ZKC7HY.js.map} +1 -1
  65. package/dist/chunks/{chunk-2QIXJBYJ.js → chunk-CKYGPQVJ.js} +3 -3
  66. package/dist/chunks/{chunk-HQKZULFQ.js → chunk-CPDGXVVE.js} +3 -3
  67. package/dist/chunks/{chunk-PFUWZXID.js → chunk-D5N3SDNF.js} +19 -19
  68. package/dist/chunks/{chunk-IYAMSRVF.js → chunk-DGV6YSAW.js} +4 -4
  69. package/dist/chunks/{chunk-Z7W42CCB.js → chunk-DMHE6X3Y.js} +4 -4
  70. package/dist/chunks/{chunk-YY73RIUD.js → chunk-DOLGKZC5.js} +3 -3
  71. package/dist/chunks/{chunk-LXFM2ZI4.js → chunk-DRKCWJPR.js} +3 -3
  72. package/dist/chunks/{chunk-AVWL67NK.js → chunk-DROVNI2Y.js} +3 -3
  73. package/dist/chunks/{chunk-E7RD32NX.js → chunk-DT6PTS6H.js} +2 -2
  74. package/dist/chunks/{chunk-2CC7M7BG.js → chunk-ETBXU3OK.js} +4 -4
  75. package/dist/chunks/{chunk-73VS7EXG.js → chunk-FEP2R3XI.js} +2 -2
  76. package/dist/chunks/{chunk-FOTBRX3D.js → chunk-FNEQ77RJ.js} +4 -4
  77. package/dist/chunks/{chunk-URLTMKPB.js → chunk-FSAI4GDZ.js} +4 -4
  78. package/dist/chunks/{chunk-Z7QFIY4J.js → chunk-GJ6NI7JL.js} +79 -18
  79. package/dist/chunks/chunk-GJ6NI7JL.js.map +6 -0
  80. package/dist/chunks/{chunk-6RYQHZ3D.js → chunk-GPP4OXHP.js} +2 -2
  81. package/dist/chunks/{chunk-NGTBBJGS.js → chunk-GVWDNFIP.js} +3 -3
  82. package/dist/chunks/{chunk-6TPV3IDZ.js → chunk-GWLUXO4O.js} +2 -2
  83. package/dist/chunks/{chunk-IT2OFHF7.js → chunk-HEFLKPCT.js} +3 -3
  84. package/dist/chunks/{chunk-PYR7VRWF.js → chunk-HENM67TJ.js} +2 -2
  85. package/dist/chunks/{chunk-F7ECENUK.js → chunk-HIHHTWEU.js} +2 -2
  86. package/dist/chunks/{chunk-NQ3MZ6N4.js → chunk-ICIVSMA3.js} +2 -2
  87. package/dist/chunks/{chunk-WXCJTJK4.js → chunk-IMXTM75Q.js} +3 -3
  88. package/dist/chunks/{chunk-5PTXGBPL.js → chunk-IZYYWNP2.js} +2 -2
  89. package/dist/chunks/{chunk-QUXW5POH.js → chunk-J6QCR3SC.js} +7 -7
  90. package/dist/chunks/{chunk-KSLW4IDY.js → chunk-JCH7IWMU.js} +183 -94
  91. package/dist/chunks/chunk-JCH7IWMU.js.map +6 -0
  92. package/dist/chunks/{chunk-ZMIF5LLB.js → chunk-JDWCVWIQ.js} +3 -3
  93. package/dist/chunks/{chunk-U77GVCK3.js → chunk-KUIATFLN.js} +2 -2
  94. package/dist/chunks/chunk-LDU7AFNZ.js +437 -0
  95. package/dist/chunks/chunk-LDU7AFNZ.js.map +6 -0
  96. package/dist/chunks/{chunk-QHHIW2DO.js → chunk-LGPOJEZK.js} +5 -5
  97. package/dist/chunks/{chunk-DWBBRFZ7.js → chunk-LGVEASS7.js} +5 -5
  98. package/dist/chunks/{chunk-S3L4OEOQ.js → chunk-LWAGZIEA.js} +2 -2
  99. package/dist/chunks/{chunk-UJOESDTF.js → chunk-LXK7S2I2.js} +38 -11
  100. package/dist/chunks/chunk-LXK7S2I2.js.map +6 -0
  101. package/dist/chunks/{chunk-I7WXDTCF.js → chunk-M4XYHIA3.js} +2 -2
  102. package/dist/chunks/{chunk-MN426ZWA.js → chunk-M5LA652U.js} +3 -3
  103. package/dist/chunks/{chunk-L2Q467T7.js → chunk-MMJ6UURB.js} +4 -4
  104. package/dist/chunks/{chunk-L2Q467T7.js.map → chunk-MMJ6UURB.js.map} +1 -1
  105. package/dist/chunks/{chunk-LJDAHRWI.js → chunk-MOMSIAV4.js} +2 -2
  106. package/dist/chunks/{chunk-DNY5V3U4.js → chunk-MY6JV4BT.js} +6 -6
  107. package/dist/chunks/{chunk-RIPN3V52.js → chunk-N4YYJGMW.js} +9 -9
  108. package/dist/chunks/{chunk-Q3MHE2FS.js → chunk-NOHH27YE.js} +5 -5
  109. package/dist/chunks/{chunk-S5QTGWVW.js → chunk-NP4BQ7SB.js} +2 -2
  110. package/dist/chunks/{chunk-3IROIHVH.js → chunk-NV7RJBWA.js} +6 -6
  111. package/dist/chunks/{chunk-B6INBYCM.js → chunk-ORSFP3ZC.js} +13 -4
  112. package/dist/chunks/{chunk-B6INBYCM.js.map → chunk-ORSFP3ZC.js.map} +1 -1
  113. package/dist/chunks/{chunk-ZFQOF5A5.js → chunk-OZ55WTNZ.js} +3 -3
  114. package/dist/chunks/{chunk-ZK2BN55M.js → chunk-PI5ZZQVH.js} +3 -3
  115. package/dist/chunks/{chunk-U2MFIQ6X.js → chunk-PJF46DI6.js} +3 -3
  116. package/dist/chunks/{chunk-WHWWJ5ZZ.js → chunk-PK7M7VIU.js} +9 -9
  117. package/dist/chunks/{chunk-JSHC4XXN.js → chunk-PPCKNQOQ.js} +10 -10
  118. package/dist/chunks/{chunk-7WWZ43II.js → chunk-PYYDU2BC.js} +6 -6
  119. package/dist/chunks/{chunk-3LFZQWKS.js → chunk-QTQIHFYH.js} +3 -3
  120. package/dist/chunks/{chunk-LD4COIFG.js → chunk-R37C3PDS.js} +2 -2
  121. package/dist/chunks/{chunk-OP2GILCA.js → chunk-REYJHS2X.js} +2 -2
  122. package/dist/chunks/{chunk-345MVU2S.js → chunk-RP5HOVOW.js} +4 -4
  123. package/dist/chunks/{chunk-3MQNNDVL.js → chunk-RSO4LBHJ.js} +4 -4
  124. package/dist/chunks/{chunk-QHUNIREF.js → chunk-RYLQH5BB.js} +2 -2
  125. package/dist/chunks/{chunk-C4CUPDOU.js → chunk-S7YXINNY.js} +3 -3
  126. package/dist/chunks/{chunk-Y3KKZ7HS.js → chunk-SHFB4DZP.js} +2 -2
  127. package/dist/chunks/{chunk-RIMIUI5N.js → chunk-SKFBM6OJ.js} +5 -5
  128. package/dist/chunks/{chunk-B5MAFU7U.js → chunk-SM6UI33D.js} +3 -3
  129. package/dist/chunks/{chunk-K7OVG6OD.js → chunk-TBKSDYS4.js} +3 -3
  130. package/dist/chunks/{chunk-WDHICXRL.js → chunk-UILPXAKQ.js} +3 -3
  131. package/dist/chunks/{chunk-6AUNQQOG.js → chunk-VV6DYTFU.js} +5 -5
  132. package/dist/chunks/{chunk-IRCAPHCE.js → chunk-W6UOMYDX.js} +2 -2
  133. package/dist/chunks/{chunk-JBI4RJBG.js → chunk-WCAKWRZU.js} +3 -3
  134. package/dist/chunks/{chunk-KOVWQARO.js → chunk-WDROVY6V.js} +2 -2
  135. package/dist/chunks/{chunk-66ZXPQGB.js → chunk-WSQAVWIV.js} +13 -13
  136. package/dist/chunks/{chunk-5NST3JDD.js → chunk-WYBLTKBR.js} +6 -6
  137. package/dist/chunks/{chunk-DWS7VNPY.js → chunk-XF243FQN.js} +4 -4
  138. package/dist/chunks/{chunk-LXI5OWBB.js → chunk-Y62WSR5N.js} +8 -8
  139. package/dist/chunks/{chunk-JGGO6VUO.js → chunk-Z6LUWKV4.js} +8 -8
  140. package/dist/chunks/{chunk-BQR2C4RM.js → chunk-ZDGKFGVE.js} +2 -2
  141. package/dist/chunks/{chunk-GWHOZNU5.js → chunk-ZR3VZG37.js} +5 -5
  142. package/dist/chunks/{chunk-QOWHQZK3.js → chunk-ZWP5L7BV.js} +8 -8
  143. package/dist/chunks/{cli-runtime-W3EPW2FU.js → cli-runtime-66YC7XKZ.js} +16 -15
  144. package/dist/chunks/cli-runtime-66YC7XKZ.js.map +6 -0
  145. package/dist/chunks/{commands-TKD5BHAC.js → commands-R6WIMNZG.js} +6 -6
  146. package/dist/chunks/{config-NJ5X7ONF.js → config-BWAJ7XDA.js} +12 -11
  147. package/dist/chunks/config-BWAJ7XDA.js.map +6 -0
  148. package/dist/chunks/{cost-AZAQ3AC5.js → cost-MVUQ3UWP.js} +5 -5
  149. package/dist/chunks/{crash-report-IYMUJRDT.js → crash-report-ASOVDFQT.js} +6 -6
  150. package/dist/chunks/{dist-S4GG5BOF.js → dist-6BE2BTVP.js} +2 -2
  151. package/dist/chunks/{dist-VQGHI5SR.js → dist-DOHBDUFC.js} +2 -2
  152. package/dist/chunks/{dist-BECOVIWQ.js → dist-ERFNYYTR.js} +2 -2
  153. package/dist/chunks/{dist-YGZEZT7E.js → dist-IYSARJ7B.js} +2 -2
  154. package/dist/chunks/{dist-PYOYSQIZ.js → dist-NUCTP67R.js} +2 -2
  155. package/dist/chunks/{dist-NLY5ZLEK.js → dist-SQYPEQ4A.js} +2 -2
  156. package/dist/chunks/{dist-5JRS362B.js → dist-UTQTSM32.js} +2 -2
  157. package/dist/chunks/{dist-SPKR3SBF.js → dist-ZPPSUKEG.js} +2 -2
  158. package/dist/chunks/{doctor-33MQ75SC.js → doctor-J2BRJDVI.js} +38 -37
  159. package/dist/chunks/{drain-PKXZRH3I.js → drain-TGBUG6MO.js} +17 -16
  160. package/dist/chunks/drain-TGBUG6MO.js.map +6 -0
  161. package/dist/chunks/{entry-74LLQ7LK.js → entry-7QM6GODJ.js} +6 -6
  162. package/dist/chunks/{eval-3WNVSSEU.js → eval-274GGZ3M.js} +9 -8
  163. package/dist/chunks/eval-274GGZ3M.js.map +6 -0
  164. package/dist/chunks/{exec-LCURZKVX.js → exec-QOH5FQCM.js} +43 -42
  165. package/dist/chunks/exec-QOH5FQCM.js.map +6 -0
  166. package/dist/chunks/{extension-4SMB7XQP.js → extension-Y52E4FZR.js} +5 -5
  167. package/dist/chunks/{home-YYLBZ3E7.js → home-OGOBLYWY.js} +3 -3
  168. package/dist/chunks/{hooks-VN3PUKER.js → hooks-C6WM34FA.js} +21 -20
  169. package/dist/chunks/hooks-C6WM34FA.js.map +6 -0
  170. package/dist/chunks/{hooks-report-YNZEFEWK.js → hooks-report-FCLN3ERK.js} +17 -16
  171. package/dist/chunks/{host-45UQ2AQB.js → host-FUPSAICG.js} +10 -9
  172. package/dist/chunks/{host-queries-YZWNDM7Y.js → host-queries-YTND6J2W.js} +17 -16
  173. package/dist/chunks/{installed-list-X7D2METU.js → installed-list-3Z2UYHZL.js} +4 -4
  174. package/dist/chunks/{learn-HIK75Y7G.js → learn-EXNQYLI3.js} +16 -15
  175. package/dist/chunks/learn-EXNQYLI3.js.map +6 -0
  176. package/dist/chunks/{learn-builtin-TBXGLNDT.js → learn-builtin-C4ZAVNHA.js} +19 -18
  177. package/dist/chunks/learn-builtin-C4ZAVNHA.js.map +6 -0
  178. package/dist/chunks/{lifecycle-XHGYV4DN.js → lifecycle-4ZRBSEP2.js} +30 -28
  179. package/dist/chunks/{list-3PAZL62Z.js → list-2QV773EI.js} +15 -14
  180. package/dist/chunks/list-2QV773EI.js.map +6 -0
  181. package/dist/chunks/{live-IULJUZ7B.js → live-33QEKVAM.js} +37 -36
  182. package/dist/chunks/{load-WNSJB2SX.js → load-SYMNQIDR.js} +9 -8
  183. package/dist/chunks/{login-2257NTFP.js → login-KN5KQXOD.js} +12 -11
  184. package/dist/chunks/{logs-OGG4QEIR.js → logs-IW7PYTI2.js} +4 -4
  185. package/dist/chunks/{mcp-2W4LMTXG.js → mcp-HP3YRE3U.js} +20 -19
  186. package/dist/chunks/mcp-HP3YRE3U.js.map +6 -0
  187. package/dist/chunks/{message-command-P2J2Y67R.js → message-command-IFQSBBI5.js} +52 -51
  188. package/dist/chunks/message-command-IFQSBBI5.js.map +6 -0
  189. package/dist/chunks/{open-GBFEHHZI.js → open-3GVSPGUF.js} +7 -6
  190. package/dist/chunks/{operator-tools-USQJEOMB.js → operator-tools-HT7UNWNK.js} +15 -14
  191. package/dist/chunks/operator-tools-HT7UNWNK.js.map +6 -0
  192. package/dist/chunks/{output-schema-JZS2DYJS.js → output-schema-MKFI5PWR.js} +3 -3
  193. package/dist/chunks/{pal-FDPURPLW.js → pal-6KB3D324.js} +15 -14
  194. package/dist/chunks/pal-6KB3D324.js.map +6 -0
  195. package/dist/chunks/{peers-LB7P42DG.js → peers-4M45XTZO.js} +18 -17
  196. package/dist/chunks/peers-4M45XTZO.js.map +6 -0
  197. package/dist/chunks/{peers-5KIKJ6AI.js → peers-CGTVWK6B.js} +7 -6
  198. package/dist/chunks/{plugin-6TK7XVHB.js → plugin-FIVP6MGJ.js} +17 -16
  199. package/dist/chunks/plugin-FIVP6MGJ.js.map +6 -0
  200. package/dist/chunks/{providers-OKNFYTDR.js → providers-6634CTX7.js} +17 -16
  201. package/dist/chunks/providers-6634CTX7.js.map +6 -0
  202. package/dist/chunks/{providers-O6ZOHFGS.js → providers-Z3KLRJDW.js} +10 -9
  203. package/dist/chunks/{pty-Y6DQ3O7S.js → pty-GMA24QAT.js} +3 -3
  204. package/dist/chunks/resume-OEUL3DML.js +26 -0
  205. package/dist/chunks/{resume-command-GPX3ZFJG.js → resume-command-MXUIVG6T.js} +4 -4
  206. package/dist/chunks/{running-XXZFJXM2.js → running-HYMQGZMF.js} +4 -4
  207. package/dist/chunks/{schedule-4L2A5YVC.js → schedule-54POTO5A.js} +17 -11
  208. package/dist/chunks/schedule-54POTO5A.js.map +6 -0
  209. package/dist/chunks/{send-NYIKSL4A.js → send-IFZ7XPTF.js} +17 -16
  210. package/dist/chunks/send-person-YV7Y3N7V.js +31 -0
  211. package/dist/chunks/{service-HFAAA26G.js → service-Y5N7WIHV.js} +59 -336
  212. package/dist/chunks/service-Y5N7WIHV.js.map +6 -0
  213. package/dist/chunks/{setting-cli-ZCKDAPR6.js → setting-cli-CJMZHIMQ.js} +12 -11
  214. package/dist/chunks/{skills-UC6FL6E2.js → skills-VSVXQTY3.js} +23 -22
  215. package/dist/chunks/skills-VSVXQTY3.js.map +6 -0
  216. package/dist/chunks/{start-check-WIBMVYQN.js → start-check-MZGEYSQD.js} +2 -2
  217. package/dist/chunks/{startup-failure-Y6OKFLWB.js → startup-failure-QS7O3M62.js} +2 -2
  218. package/dist/chunks/{state-EK4XKBK5.js → state-IRA33PLY.js} +6 -6
  219. package/dist/chunks/{store-YCHVWYEU.js → store-5QOUJL3S.js} +12 -11
  220. package/dist/chunks/{store-FLT5PL3C.js → store-LIG46NWV.js} +4 -4
  221. package/dist/chunks/{store-IOOFZ6PN.js → store-N4CURUP2.js} +3 -3
  222. package/dist/chunks/{store-EDPZDEPP.js → store-VRWL26C2.js} +8 -7
  223. package/dist/chunks/{tui-WPD7RLDY.js → tui-KFWUIY7N.js} +84 -82
  224. package/dist/chunks/tui-KFWUIY7N.js.map +6 -0
  225. package/dist/chunks/{upgrade-HK65G2S7.js → upgrade-BIHZ3JJV.js} +8 -8
  226. package/dist/chunks/{watch-AVRJUABN.js → watch-OUI2U5YK.js} +87 -85
  227. package/dist/chunks/watch-OUI2U5YK.js.map +6 -0
  228. package/dist/chunks/{workspaces-VIASJHBY.js → workspaces-CB5DV4KR.js} +15 -14
  229. package/dist/chunks/workspaces-CB5DV4KR.js.map +6 -0
  230. package/dist/chunks/{worktree-JMAQAJ3P.js → worktree-PNG7MZV3.js} +21 -20
  231. package/dist/chunks/worktree-PNG7MZV3.js.map +6 -0
  232. package/dist/cli.d.ts.map +1 -1
  233. package/dist/commands/acp.d.ts.map +1 -1
  234. package/dist/config/load.d.ts.map +1 -1
  235. package/dist/config/schema.d.ts +14 -1
  236. package/dist/config/schema.d.ts.map +1 -1
  237. package/dist/config/settings-descriptors.d.ts +4 -0
  238. package/dist/config/settings-descriptors.d.ts.map +1 -1
  239. package/dist/config/turn-duration-default.d.ts +6 -0
  240. package/dist/config/turn-duration-default.d.ts.map +1 -0
  241. package/dist/context/environment.d.ts +12 -0
  242. package/dist/context/environment.d.ts.map +1 -1
  243. package/dist/index.js +38 -37
  244. package/dist/integrations/web/search.d.ts +2 -2
  245. package/dist/permissions/rules.d.ts +4 -1
  246. package/dist/permissions/rules.d.ts.map +1 -1
  247. package/dist/rounds/goal-guards.d.ts +4 -2
  248. package/dist/rounds/goal-guards.d.ts.map +1 -1
  249. package/dist/rounds/types.d.ts +6 -1
  250. package/dist/rounds/types.d.ts.map +1 -1
  251. package/dist/schedule/commands/service.d.ts.map +1 -1
  252. package/dist/schedule/service/index.d.ts.map +1 -1
  253. package/dist/schedule/service/registry.d.ts +11 -1
  254. package/dist/schedule/service/registry.d.ts.map +1 -1
  255. package/dist/schedule/service/target.d.ts.map +1 -1
  256. package/dist/tui/AgentExplorer.d.ts +15 -0
  257. package/dist/tui/AgentExplorer.d.ts.map +1 -1
  258. package/dist/tui/App.d.ts +2 -0
  259. package/dist/tui/App.d.ts.map +1 -1
  260. package/dist/tui/ChoicePicker.d.ts +7 -1
  261. package/dist/tui/ChoicePicker.d.ts.map +1 -1
  262. package/dist/tui/agent-transcript-rows.d.ts +6 -1
  263. package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
  264. package/dist/tui/agent.d.ts +7 -0
  265. package/dist/tui/agent.d.ts.map +1 -1
  266. package/dist/tui/choice-selection.d.ts +3 -1
  267. package/dist/tui/choice-selection.d.ts.map +1 -1
  268. package/dist/tui/computer-use-live.d.ts +41 -0
  269. package/dist/tui/computer-use-live.d.ts.map +1 -0
  270. package/dist/tui/plain-interruption.d.ts +7 -0
  271. package/dist/tui/plain-interruption.d.ts.map +1 -1
  272. package/dist/tui/restored-rows.d.ts +2 -0
  273. package/dist/tui/restored-rows.d.ts.map +1 -1
  274. package/dist/tui/sign-in-watch.d.ts +31 -0
  275. package/dist/tui/sign-in-watch.d.ts.map +1 -0
  276. package/dist/tui/slashCommands.d.ts +11 -0
  277. package/dist/tui/slashCommands.d.ts.map +1 -1
  278. package/dist/tui/turn-duration-setting.d.ts +11 -0
  279. package/dist/tui/turn-duration-setting.d.ts.map +1 -0
  280. package/dist/tui/turn-interruption.d.ts +1 -1
  281. package/dist/tui/turn-interruption.d.ts.map +1 -1
  282. package/dist/tui/types.d.ts +6 -0
  283. package/dist/tui/types.d.ts.map +1 -1
  284. package/package.json +5 -5
  285. package/dist/chunks/acp-AKGPPJ3S.js.map +0 -6
  286. package/dist/chunks/activity-command-IG2BDK6U.js.map +0 -6
  287. package/dist/chunks/add-35VUZTRA.js.map +0 -6
  288. package/dist/chunks/agent-session-KBWLF4P2.js +0 -86
  289. package/dist/chunks/archive-DNFSM35C.js.map +0 -6
  290. package/dist/chunks/chat-KZ7F2SA4.js.map +0 -6
  291. package/dist/chunks/chunk-2UWAMPLM.js.map +0 -6
  292. package/dist/chunks/chunk-FQF2Z26R.js.map +0 -6
  293. package/dist/chunks/chunk-I65REILS.js.map +0 -6
  294. package/dist/chunks/chunk-KSLW4IDY.js.map +0 -6
  295. package/dist/chunks/chunk-UJOESDTF.js.map +0 -6
  296. package/dist/chunks/chunk-VFB4ZUOR.js.map +0 -6
  297. package/dist/chunks/chunk-WUVCLGCH.js.map +0 -6
  298. package/dist/chunks/chunk-YU3WE6PC.js +0 -89
  299. package/dist/chunks/chunk-YU3WE6PC.js.map +0 -6
  300. package/dist/chunks/chunk-Z7QFIY4J.js.map +0 -6
  301. package/dist/chunks/cli-runtime-W3EPW2FU.js.map +0 -6
  302. package/dist/chunks/config-NJ5X7ONF.js.map +0 -6
  303. package/dist/chunks/drain-PKXZRH3I.js.map +0 -6
  304. package/dist/chunks/eval-3WNVSSEU.js.map +0 -6
  305. package/dist/chunks/exec-LCURZKVX.js.map +0 -6
  306. package/dist/chunks/hooks-VN3PUKER.js.map +0 -6
  307. package/dist/chunks/learn-HIK75Y7G.js.map +0 -6
  308. package/dist/chunks/learn-builtin-TBXGLNDT.js.map +0 -6
  309. package/dist/chunks/list-3PAZL62Z.js.map +0 -6
  310. package/dist/chunks/mcp-2W4LMTXG.js.map +0 -6
  311. package/dist/chunks/message-command-P2J2Y67R.js.map +0 -6
  312. package/dist/chunks/operator-tools-USQJEOMB.js.map +0 -6
  313. package/dist/chunks/pal-FDPURPLW.js.map +0 -6
  314. package/dist/chunks/peers-LB7P42DG.js.map +0 -6
  315. package/dist/chunks/plugin-6TK7XVHB.js.map +0 -6
  316. package/dist/chunks/providers-OKNFYTDR.js.map +0 -6
  317. package/dist/chunks/resume-R55DUVJF.js +0 -25
  318. package/dist/chunks/schedule-4L2A5YVC.js.map +0 -6
  319. package/dist/chunks/send-person-6OLWEW6R.js +0 -30
  320. package/dist/chunks/service-HFAAA26G.js.map +0 -6
  321. package/dist/chunks/skills-UC6FL6E2.js.map +0 -6
  322. package/dist/chunks/tui-WPD7RLDY.js.map +0 -6
  323. package/dist/chunks/watch-AVRJUABN.js.map +0 -6
  324. package/dist/chunks/workspaces-VIASJHBY.js.map +0 -6
  325. package/dist/chunks/worktree-JMAQAJ3P.js.map +0 -6
  326. /package/dist/chunks/{agent-R3HKE5PA.js.map → agent-FW4VC2AF.js.map} +0 -0
  327. /package/dist/chunks/{agent-session-KBWLF4P2.js.map → agent-session-2YJCVWPX.js.map} +0 -0
  328. /package/dist/chunks/{apply-at-exit-VLIRJYUY.js.map → apply-at-exit-OU2UXZCF.js.map} +0 -0
  329. /package/dist/chunks/{bin-main-L3CUUSWD.js.map → bin-main-RH4NLAPK.js.map} +0 -0
  330. /package/dist/chunks/{binding-NU3G3EBQ.js.map → binding-ON644UJ3.js.map} +0 -0
  331. /package/dist/chunks/{browser-7DRWOIEZ.js.map → browser-ZMNLA73K.js.map} +0 -0
  332. /package/dist/chunks/{chunk-G57EYBLG.js.map → chunk-233CEYFX.js.map} +0 -0
  333. /package/dist/chunks/{chunk-VWMKODXN.js.map → chunk-2AEWJA4Y.js.map} +0 -0
  334. /package/dist/chunks/{chunk-5CLGTVZA.js.map → chunk-2JFRYOBC.js.map} +0 -0
  335. /package/dist/chunks/{chunk-MZKEUDTK.js.map → chunk-2ZPB4ZBP.js.map} +0 -0
  336. /package/dist/chunks/{chunk-WSO7YQLR.js.map → chunk-3EH4PF5T.js.map} +0 -0
  337. /package/dist/chunks/{chunk-XUDIPBHG.js.map → chunk-3HT7FQNG.js.map} +0 -0
  338. /package/dist/chunks/{chunk-ZAPPY4VF.js.map → chunk-4E2REC5O.js.map} +0 -0
  339. /package/dist/chunks/{chunk-DSIG56HN.js.map → chunk-4LSSJKYK.js.map} +0 -0
  340. /package/dist/chunks/{chunk-4KGXEARZ.js.map → chunk-4PFTZNS5.js.map} +0 -0
  341. /package/dist/chunks/{chunk-UR5ZAF3W.js.map → chunk-5C6XCI24.js.map} +0 -0
  342. /package/dist/chunks/{chunk-BAELALGK.js.map → chunk-5YTGRS7U.js.map} +0 -0
  343. /package/dist/chunks/{chunk-MPIYLDWJ.js.map → chunk-6BTNPDXR.js.map} +0 -0
  344. /package/dist/chunks/{chunk-IFAYKVNV.js.map → chunk-6E4TDPXP.js.map} +0 -0
  345. /package/dist/chunks/{chunk-ETDOSJF7.js.map → chunk-6MGRBXCW.js.map} +0 -0
  346. /package/dist/chunks/{chunk-WVS54LXZ.js.map → chunk-6TCZN54R.js.map} +0 -0
  347. /package/dist/chunks/{chunk-ZX67O4BI.js.map → chunk-6TF24TFD.js.map} +0 -0
  348. /package/dist/chunks/{chunk-7CIGYRDF.js.map → chunk-763RT6Z5.js.map} +0 -0
  349. /package/dist/chunks/{chunk-DIKHZYQE.js.map → chunk-77AYLILT.js.map} +0 -0
  350. /package/dist/chunks/{chunk-QW3Y3RDE.js.map → chunk-7BF4FLOP.js.map} +0 -0
  351. /package/dist/chunks/{chunk-JB3UZ7JJ.js.map → chunk-ABELB4VO.js.map} +0 -0
  352. /package/dist/chunks/{chunk-GK3PEC2Z.js.map → chunk-AF2QPFEQ.js.map} +0 -0
  353. /package/dist/chunks/{chunk-ERZWDBCZ.js.map → chunk-AZXIYYVX.js.map} +0 -0
  354. /package/dist/chunks/{chunk-ICQYIDIR.js.map → chunk-BJQ7WFWL.js.map} +0 -0
  355. /package/dist/chunks/{chunk-DID4WFOD.js.map → chunk-BXAUUC2B.js.map} +0 -0
  356. /package/dist/chunks/{chunk-2QIXJBYJ.js.map → chunk-CKYGPQVJ.js.map} +0 -0
  357. /package/dist/chunks/{chunk-HQKZULFQ.js.map → chunk-CPDGXVVE.js.map} +0 -0
  358. /package/dist/chunks/{chunk-PFUWZXID.js.map → chunk-D5N3SDNF.js.map} +0 -0
  359. /package/dist/chunks/{chunk-IYAMSRVF.js.map → chunk-DGV6YSAW.js.map} +0 -0
  360. /package/dist/chunks/{chunk-Z7W42CCB.js.map → chunk-DMHE6X3Y.js.map} +0 -0
  361. /package/dist/chunks/{chunk-YY73RIUD.js.map → chunk-DOLGKZC5.js.map} +0 -0
  362. /package/dist/chunks/{chunk-LXFM2ZI4.js.map → chunk-DRKCWJPR.js.map} +0 -0
  363. /package/dist/chunks/{chunk-AVWL67NK.js.map → chunk-DROVNI2Y.js.map} +0 -0
  364. /package/dist/chunks/{chunk-E7RD32NX.js.map → chunk-DT6PTS6H.js.map} +0 -0
  365. /package/dist/chunks/{chunk-2CC7M7BG.js.map → chunk-ETBXU3OK.js.map} +0 -0
  366. /package/dist/chunks/{chunk-73VS7EXG.js.map → chunk-FEP2R3XI.js.map} +0 -0
  367. /package/dist/chunks/{chunk-FOTBRX3D.js.map → chunk-FNEQ77RJ.js.map} +0 -0
  368. /package/dist/chunks/{chunk-URLTMKPB.js.map → chunk-FSAI4GDZ.js.map} +0 -0
  369. /package/dist/chunks/{chunk-6RYQHZ3D.js.map → chunk-GPP4OXHP.js.map} +0 -0
  370. /package/dist/chunks/{chunk-NGTBBJGS.js.map → chunk-GVWDNFIP.js.map} +0 -0
  371. /package/dist/chunks/{chunk-6TPV3IDZ.js.map → chunk-GWLUXO4O.js.map} +0 -0
  372. /package/dist/chunks/{chunk-IT2OFHF7.js.map → chunk-HEFLKPCT.js.map} +0 -0
  373. /package/dist/chunks/{chunk-PYR7VRWF.js.map → chunk-HENM67TJ.js.map} +0 -0
  374. /package/dist/chunks/{chunk-F7ECENUK.js.map → chunk-HIHHTWEU.js.map} +0 -0
  375. /package/dist/chunks/{chunk-NQ3MZ6N4.js.map → chunk-ICIVSMA3.js.map} +0 -0
  376. /package/dist/chunks/{chunk-WXCJTJK4.js.map → chunk-IMXTM75Q.js.map} +0 -0
  377. /package/dist/chunks/{chunk-5PTXGBPL.js.map → chunk-IZYYWNP2.js.map} +0 -0
  378. /package/dist/chunks/{chunk-QUXW5POH.js.map → chunk-J6QCR3SC.js.map} +0 -0
  379. /package/dist/chunks/{chunk-ZMIF5LLB.js.map → chunk-JDWCVWIQ.js.map} +0 -0
  380. /package/dist/chunks/{chunk-U77GVCK3.js.map → chunk-KUIATFLN.js.map} +0 -0
  381. /package/dist/chunks/{chunk-QHHIW2DO.js.map → chunk-LGPOJEZK.js.map} +0 -0
  382. /package/dist/chunks/{chunk-DWBBRFZ7.js.map → chunk-LGVEASS7.js.map} +0 -0
  383. /package/dist/chunks/{chunk-S3L4OEOQ.js.map → chunk-LWAGZIEA.js.map} +0 -0
  384. /package/dist/chunks/{chunk-I7WXDTCF.js.map → chunk-M4XYHIA3.js.map} +0 -0
  385. /package/dist/chunks/{chunk-MN426ZWA.js.map → chunk-M5LA652U.js.map} +0 -0
  386. /package/dist/chunks/{chunk-LJDAHRWI.js.map → chunk-MOMSIAV4.js.map} +0 -0
  387. /package/dist/chunks/{chunk-DNY5V3U4.js.map → chunk-MY6JV4BT.js.map} +0 -0
  388. /package/dist/chunks/{chunk-RIPN3V52.js.map → chunk-N4YYJGMW.js.map} +0 -0
  389. /package/dist/chunks/{chunk-Q3MHE2FS.js.map → chunk-NOHH27YE.js.map} +0 -0
  390. /package/dist/chunks/{chunk-S5QTGWVW.js.map → chunk-NP4BQ7SB.js.map} +0 -0
  391. /package/dist/chunks/{chunk-3IROIHVH.js.map → chunk-NV7RJBWA.js.map} +0 -0
  392. /package/dist/chunks/{chunk-ZFQOF5A5.js.map → chunk-OZ55WTNZ.js.map} +0 -0
  393. /package/dist/chunks/{chunk-ZK2BN55M.js.map → chunk-PI5ZZQVH.js.map} +0 -0
  394. /package/dist/chunks/{chunk-U2MFIQ6X.js.map → chunk-PJF46DI6.js.map} +0 -0
  395. /package/dist/chunks/{chunk-WHWWJ5ZZ.js.map → chunk-PK7M7VIU.js.map} +0 -0
  396. /package/dist/chunks/{chunk-JSHC4XXN.js.map → chunk-PPCKNQOQ.js.map} +0 -0
  397. /package/dist/chunks/{chunk-7WWZ43II.js.map → chunk-PYYDU2BC.js.map} +0 -0
  398. /package/dist/chunks/{chunk-3LFZQWKS.js.map → chunk-QTQIHFYH.js.map} +0 -0
  399. /package/dist/chunks/{chunk-LD4COIFG.js.map → chunk-R37C3PDS.js.map} +0 -0
  400. /package/dist/chunks/{chunk-OP2GILCA.js.map → chunk-REYJHS2X.js.map} +0 -0
  401. /package/dist/chunks/{chunk-345MVU2S.js.map → chunk-RP5HOVOW.js.map} +0 -0
  402. /package/dist/chunks/{chunk-3MQNNDVL.js.map → chunk-RSO4LBHJ.js.map} +0 -0
  403. /package/dist/chunks/{chunk-QHUNIREF.js.map → chunk-RYLQH5BB.js.map} +0 -0
  404. /package/dist/chunks/{chunk-C4CUPDOU.js.map → chunk-S7YXINNY.js.map} +0 -0
  405. /package/dist/chunks/{chunk-Y3KKZ7HS.js.map → chunk-SHFB4DZP.js.map} +0 -0
  406. /package/dist/chunks/{chunk-RIMIUI5N.js.map → chunk-SKFBM6OJ.js.map} +0 -0
  407. /package/dist/chunks/{chunk-B5MAFU7U.js.map → chunk-SM6UI33D.js.map} +0 -0
  408. /package/dist/chunks/{chunk-K7OVG6OD.js.map → chunk-TBKSDYS4.js.map} +0 -0
  409. /package/dist/chunks/{chunk-WDHICXRL.js.map → chunk-UILPXAKQ.js.map} +0 -0
  410. /package/dist/chunks/{chunk-6AUNQQOG.js.map → chunk-VV6DYTFU.js.map} +0 -0
  411. /package/dist/chunks/{chunk-IRCAPHCE.js.map → chunk-W6UOMYDX.js.map} +0 -0
  412. /package/dist/chunks/{chunk-JBI4RJBG.js.map → chunk-WCAKWRZU.js.map} +0 -0
  413. /package/dist/chunks/{chunk-KOVWQARO.js.map → chunk-WDROVY6V.js.map} +0 -0
  414. /package/dist/chunks/{chunk-66ZXPQGB.js.map → chunk-WSQAVWIV.js.map} +0 -0
  415. /package/dist/chunks/{chunk-5NST3JDD.js.map → chunk-WYBLTKBR.js.map} +0 -0
  416. /package/dist/chunks/{chunk-DWS7VNPY.js.map → chunk-XF243FQN.js.map} +0 -0
  417. /package/dist/chunks/{chunk-LXI5OWBB.js.map → chunk-Y62WSR5N.js.map} +0 -0
  418. /package/dist/chunks/{chunk-JGGO6VUO.js.map → chunk-Z6LUWKV4.js.map} +0 -0
  419. /package/dist/chunks/{chunk-BQR2C4RM.js.map → chunk-ZDGKFGVE.js.map} +0 -0
  420. /package/dist/chunks/{chunk-GWHOZNU5.js.map → chunk-ZR3VZG37.js.map} +0 -0
  421. /package/dist/chunks/{chunk-QOWHQZK3.js.map → chunk-ZWP5L7BV.js.map} +0 -0
  422. /package/dist/chunks/{commands-TKD5BHAC.js.map → commands-R6WIMNZG.js.map} +0 -0
  423. /package/dist/chunks/{cost-AZAQ3AC5.js.map → cost-MVUQ3UWP.js.map} +0 -0
  424. /package/dist/chunks/{crash-report-IYMUJRDT.js.map → crash-report-ASOVDFQT.js.map} +0 -0
  425. /package/dist/chunks/{dist-S4GG5BOF.js.map → dist-6BE2BTVP.js.map} +0 -0
  426. /package/dist/chunks/{dist-VQGHI5SR.js.map → dist-DOHBDUFC.js.map} +0 -0
  427. /package/dist/chunks/{dist-BECOVIWQ.js.map → dist-ERFNYYTR.js.map} +0 -0
  428. /package/dist/chunks/{dist-YGZEZT7E.js.map → dist-IYSARJ7B.js.map} +0 -0
  429. /package/dist/chunks/{dist-PYOYSQIZ.js.map → dist-NUCTP67R.js.map} +0 -0
  430. /package/dist/chunks/{dist-NLY5ZLEK.js.map → dist-SQYPEQ4A.js.map} +0 -0
  431. /package/dist/chunks/{dist-5JRS362B.js.map → dist-UTQTSM32.js.map} +0 -0
  432. /package/dist/chunks/{dist-SPKR3SBF.js.map → dist-ZPPSUKEG.js.map} +0 -0
  433. /package/dist/chunks/{doctor-33MQ75SC.js.map → doctor-J2BRJDVI.js.map} +0 -0
  434. /package/dist/chunks/{entry-74LLQ7LK.js.map → entry-7QM6GODJ.js.map} +0 -0
  435. /package/dist/chunks/{extension-4SMB7XQP.js.map → extension-Y52E4FZR.js.map} +0 -0
  436. /package/dist/chunks/{home-YYLBZ3E7.js.map → home-OGOBLYWY.js.map} +0 -0
  437. /package/dist/chunks/{hooks-report-YNZEFEWK.js.map → hooks-report-FCLN3ERK.js.map} +0 -0
  438. /package/dist/chunks/{host-45UQ2AQB.js.map → host-FUPSAICG.js.map} +0 -0
  439. /package/dist/chunks/{host-queries-YZWNDM7Y.js.map → host-queries-YTND6J2W.js.map} +0 -0
  440. /package/dist/chunks/{installed-list-X7D2METU.js.map → installed-list-3Z2UYHZL.js.map} +0 -0
  441. /package/dist/chunks/{lifecycle-XHGYV4DN.js.map → lifecycle-4ZRBSEP2.js.map} +0 -0
  442. /package/dist/chunks/{live-IULJUZ7B.js.map → live-33QEKVAM.js.map} +0 -0
  443. /package/dist/chunks/{load-WNSJB2SX.js.map → load-SYMNQIDR.js.map} +0 -0
  444. /package/dist/chunks/{login-2257NTFP.js.map → login-KN5KQXOD.js.map} +0 -0
  445. /package/dist/chunks/{logs-OGG4QEIR.js.map → logs-IW7PYTI2.js.map} +0 -0
  446. /package/dist/chunks/{open-GBFEHHZI.js.map → open-3GVSPGUF.js.map} +0 -0
  447. /package/dist/chunks/{output-schema-JZS2DYJS.js.map → output-schema-MKFI5PWR.js.map} +0 -0
  448. /package/dist/chunks/{peers-5KIKJ6AI.js.map → peers-CGTVWK6B.js.map} +0 -0
  449. /package/dist/chunks/{providers-O6ZOHFGS.js.map → providers-Z3KLRJDW.js.map} +0 -0
  450. /package/dist/chunks/{pty-Y6DQ3O7S.js.map → pty-GMA24QAT.js.map} +0 -0
  451. /package/dist/chunks/{resume-R55DUVJF.js.map → resume-OEUL3DML.js.map} +0 -0
  452. /package/dist/chunks/{resume-command-GPX3ZFJG.js.map → resume-command-MXUIVG6T.js.map} +0 -0
  453. /package/dist/chunks/{running-XXZFJXM2.js.map → running-HYMQGZMF.js.map} +0 -0
  454. /package/dist/chunks/{send-NYIKSL4A.js.map → send-IFZ7XPTF.js.map} +0 -0
  455. /package/dist/chunks/{send-person-6OLWEW6R.js.map → send-person-YV7Y3N7V.js.map} +0 -0
  456. /package/dist/chunks/{setting-cli-ZCKDAPR6.js.map → setting-cli-CJMZHIMQ.js.map} +0 -0
  457. /package/dist/chunks/{start-check-WIBMVYQN.js.map → start-check-MZGEYSQD.js.map} +0 -0
  458. /package/dist/chunks/{startup-failure-Y6OKFLWB.js.map → startup-failure-QS7O3M62.js.map} +0 -0
  459. /package/dist/chunks/{state-EK4XKBK5.js.map → state-IRA33PLY.js.map} +0 -0
  460. /package/dist/chunks/{store-EDPZDEPP.js.map → store-5QOUJL3S.js.map} +0 -0
  461. /package/dist/chunks/{store-FLT5PL3C.js.map → store-LIG46NWV.js.map} +0 -0
  462. /package/dist/chunks/{store-IOOFZ6PN.js.map → store-N4CURUP2.js.map} +0 -0
  463. /package/dist/chunks/{store-YCHVWYEU.js.map → store-VRWL26C2.js.map} +0 -0
  464. /package/dist/chunks/{upgrade-HK65G2S7.js.map → upgrade-BIHZ3JJV.js.map} +0 -0
@@ -2,7 +2,7 @@ import { createRequire as __namzuCreateRequire } from 'node:module';
2
2
  const require = __namzuCreateRequire(import.meta.url);
3
3
  import {
4
4
  openWorktreeHookRuntime
5
- } from "./chunk-DIKHZYQE.js";
5
+ } from "./chunk-77AYLILT.js";
6
6
  import {
7
7
  NAMZU_COMPACT_WORDMARK,
8
8
  NAMZU_WORDMARK,
@@ -14,27 +14,27 @@ import {
14
14
  confirmationView,
15
15
  describeChanges,
16
16
  permissionsChanged
17
- } from "./chunk-QHUNIREF.js";
17
+ } from "./chunk-RYLQH5BB.js";
18
18
  import {
19
19
  visibleScheduleMessage
20
20
  } from "./chunk-NADQQMMG.js";
21
21
  import {
22
22
  selectDesktopBackend
23
- } from "./chunk-S3L4OEOQ.js";
23
+ } from "./chunk-LWAGZIEA.js";
24
24
  import {
25
25
  hooksOf
26
- } from "./chunk-LJDAHRWI.js";
26
+ } from "./chunk-MOMSIAV4.js";
27
27
  import {
28
28
  applyProviderFlags
29
- } from "./chunk-ZX67O4BI.js";
29
+ } from "./chunk-6TF24TFD.js";
30
30
  import {
31
31
  settleAnsweredPark
32
- } from "./chunk-QUXW5POH.js";
32
+ } from "./chunk-J6QCR3SC.js";
33
33
  import {
34
34
  DELIVERY_READ_LIMIT,
35
35
  readSourceDeliveryPage,
36
36
  takeSuppressedCount
37
- } from "./chunk-FQF2Z26R.js";
37
+ } from "./chunk-7T56MZIJ.js";
38
38
  import {
39
39
  DEFAULT_MAX_ITERATIONS,
40
40
  DEFAULT_TIMEOUT_MS,
@@ -45,7 +45,7 @@ import {
45
45
  editedJob,
46
46
  previewLines,
47
47
  runsPerDay
48
- } from "./chunk-IFAYKVNV.js";
48
+ } from "./chunk-6E4TDPXP.js";
49
49
  import {
50
50
  callsCount
51
51
  } from "./chunk-OG2MLME3.js";
@@ -54,13 +54,13 @@ import {
54
54
  gateRefusal,
55
55
  scriptShellUnavailableReason,
56
56
  verifyScheduledScript
57
- } from "./chunk-ZK2BN55M.js";
57
+ } from "./chunk-PI5ZZQVH.js";
58
58
  import {
59
59
  allowsCommands,
60
60
  compileJobPolicy,
61
61
  compileScriptCheckPolicy,
62
62
  isPresetName
63
- } from "./chunk-DWBBRFZ7.js";
63
+ } from "./chunk-LGVEASS7.js";
64
64
  import {
65
65
  callEndpoint,
66
66
  readEndpoint
@@ -74,20 +74,20 @@ import {
74
74
  hasAcknowledgedBypass,
75
75
  hasSeenAutoModeDefaultNotice,
76
76
  markAutoModeDefaultNoticeSeen
77
- } from "./chunk-Y3KKZ7HS.js";
77
+ } from "./chunk-SHFB4DZP.js";
78
78
  import {
79
79
  applyFallbackFlag
80
80
  } from "./chunk-RL2CTUF2.js";
81
81
  import {
82
82
  parkedRunWords,
83
83
  resumeCommand
84
- } from "./chunk-E7RD32NX.js";
84
+ } from "./chunk-DT6PTS6H.js";
85
85
  import {
86
86
  appendHistory,
87
87
  nextFireOf,
88
88
  readHistory,
89
89
  readState
90
- } from "./chunk-4KGXEARZ.js";
90
+ } from "./chunk-4PFTZNS5.js";
91
91
  import {
92
92
  PERSON_ONLY_OPS,
93
93
  controlDispatch,
@@ -105,7 +105,7 @@ import {
105
105
  renderPeersScreen,
106
106
  startControlServer,
107
107
  writeControlInfo
108
- } from "./chunk-OP2GILCA.js";
108
+ } from "./chunk-REYJHS2X.js";
109
109
  import {
110
110
  CLIPBOARD_KILL_SWITCH,
111
111
  ClickCounter,
@@ -118,7 +118,7 @@ import {
118
118
  orderRange,
119
119
  snapRange,
120
120
  wordAt
121
- } from "./chunk-G57EYBLG.js";
121
+ } from "./chunk-233CEYFX.js";
122
122
  import {
123
123
  buildPeerTools,
124
124
  openLivePeers,
@@ -126,7 +126,7 @@ import {
126
126
  peerMailMessage,
127
127
  resolvePeerRuntime,
128
128
  runsUnderAny
129
- } from "./chunk-WDHICXRL.js";
129
+ } from "./chunk-UILPXAKQ.js";
130
130
  import {
131
131
  AUTO_CHOICE_ID,
132
132
  PR_NONE,
@@ -147,13 +147,13 @@ import {
147
147
  sharedExtensionHost,
148
148
  withAutoChoice,
149
149
  writeConversationExport
150
- } from "./chunk-JGGO6VUO.js";
150
+ } from "./chunk-Z6LUWKV4.js";
151
151
  import {
152
152
  tuiPalDefinition,
153
153
  tuiPalEnvironment,
154
154
  tuiPalOwner,
155
155
  tuiPalPreferences
156
- } from "./chunk-Q3MHE2FS.js";
156
+ } from "./chunk-NOHH27YE.js";
157
157
  import {
158
158
  isModelOnlyContext,
159
159
  runtimeContextRowLabel
@@ -165,10 +165,10 @@ import {
165
165
  handedBackLines,
166
166
  hypermodeRefusal,
167
167
  outcomeNotice
168
- } from "./chunk-DWS7VNPY.js";
168
+ } from "./chunk-XF243FQN.js";
169
169
  import {
170
170
  defaultStartMode
171
- } from "./chunk-73VS7EXG.js";
171
+ } from "./chunk-FEP2R3XI.js";
172
172
  import {
173
173
  COMMAND_ROW_INDENT,
174
174
  COMPACTED_HINT,
@@ -260,16 +260,16 @@ import {
260
260
  webLiveStatus,
261
261
  webSettledLine,
262
262
  withDebugDetail
263
- } from "./chunk-KSLW4IDY.js";
263
+ } from "./chunk-JCH7IWMU.js";
264
264
  import {
265
265
  openManagedWorktrees,
266
266
  worktreeOpenHint
267
- } from "./chunk-LXI5OWBB.js";
267
+ } from "./chunk-Y62WSR5N.js";
268
268
  import {
269
269
  MCP_OUTPUT_CHARS,
270
270
  boundedMcpText,
271
271
  validatePromptArguments
272
- } from "./chunk-FOTBRX3D.js";
272
+ } from "./chunk-FNEQ77RJ.js";
273
273
  import {
274
274
  completionNotice,
275
275
  countAgents,
@@ -279,13 +279,13 @@ import {
279
279
  resumeCallText,
280
280
  resumeReviewLines,
281
281
  runTokens
282
- } from "./chunk-DSIG56HN.js";
282
+ } from "./chunk-4LSSJKYK.js";
283
283
  import {
284
284
  openInBrowser
285
- } from "./chunk-6TPV3IDZ.js";
285
+ } from "./chunk-GWLUXO4O.js";
286
286
  import {
287
287
  describeBrowserStatus
288
- } from "./chunk-VFB4ZUOR.js";
288
+ } from "./chunk-2P2PDEZJ.js";
289
289
  import {
290
290
  MAY_BE_LIMITED_WINDOW_MS,
291
291
  accountProductName,
@@ -297,19 +297,19 @@ import {
297
297
  import {
298
298
  beginSubscriptionLogin,
299
299
  parsePastedInput
300
- } from "./chunk-3MQNNDVL.js";
300
+ } from "./chunk-RSO4LBHJ.js";
301
301
  import {
302
302
  API_KEY_ACCOUNT_PROVIDERS,
303
303
  openCliAccounts,
304
304
  storedAccountSignedIn
305
- } from "./chunk-6AUNQQOG.js";
305
+ } from "./chunk-VV6DYTFU.js";
306
306
  import {
307
307
  beginCodexDeviceLogin
308
- } from "./chunk-MZKEUDTK.js";
308
+ } from "./chunk-2ZPB4ZBP.js";
309
309
  import {
310
310
  claimPalConversation,
311
311
  listPalConversations
312
- } from "./chunk-UR5ZAF3W.js";
312
+ } from "./chunk-5C6XCI24.js";
313
313
  import {
314
314
  ConversationIndexRefreshError,
315
315
  activeConversationTurn,
@@ -361,15 +361,15 @@ import {
361
361
  unarchiveConversation,
362
362
  unchipPastedRanges,
363
363
  widenOverChips
364
- } from "./chunk-DNY5V3U4.js";
364
+ } from "./chunk-MY6JV4BT.js";
365
365
  import {
366
366
  bindAccount,
367
367
  findAccountByName,
368
368
  isDefaultAccountId
369
- } from "./chunk-IRCAPHCE.js";
369
+ } from "./chunk-W6UOMYDX.js";
370
370
  import {
371
371
  startAutoUpdate
372
- } from "./chunk-2CC7M7BG.js";
372
+ } from "./chunk-ETBXU3OK.js";
373
373
  import {
374
374
  readManifest
375
375
  } from "./chunk-AK2U3N2A.js";
@@ -494,10 +494,10 @@ import {
494
494
  wroteLineText,
495
495
  wroteOf,
496
496
  wroteRailText
497
- } from "./chunk-Z7QFIY4J.js";
497
+ } from "./chunk-GJ6NI7JL.js";
498
498
  import {
499
499
  discoverUserCommands
500
- } from "./chunk-QW3Y3RDE.js";
500
+ } from "./chunk-7BF4FLOP.js";
501
501
  import {
502
502
  describeAllCredentialsLogout,
503
503
  describeApiKeyLogout,
@@ -508,7 +508,7 @@ import {
508
508
  } from "./chunk-MDK4RMBQ.js";
509
509
  import {
510
510
  resolveNpmInvocation
511
- } from "./chunk-LD4COIFG.js";
511
+ } from "./chunk-R37C3PDS.js";
512
512
  import {
513
513
  capChoiceLines,
514
514
  choiceDisplayText,
@@ -548,7 +548,7 @@ import {
548
548
  describeCacheLifetime,
549
549
  promptCacheTtl,
550
550
  providerOffersCacheLifetime
551
- } from "./chunk-AVWL67NK.js";
551
+ } from "./chunk-DROVNI2Y.js";
552
552
  import {
553
553
  CLICK_EXPAND_HINT,
554
554
  CLICK_FOLD_HINT,
@@ -584,13 +584,13 @@ import {
584
584
  sandboxRunsShellUnasked,
585
585
  settledElapsed,
586
586
  withoutCdToCwd
587
- } from "./chunk-ERZWDBCZ.js";
587
+ } from "./chunk-AZXIYYVX.js";
588
588
  import {
589
589
  describePlainInterruption,
590
590
  describeProviderWait,
591
591
  isSelfMending,
592
592
  isSpentAllowance
593
- } from "./chunk-L2Q467T7.js";
593
+ } from "./chunk-MMJ6UURB.js";
594
594
  import {
595
595
  debugRequested
596
596
  } from "./chunk-GNBMKISG.js";
@@ -602,14 +602,14 @@ import {
602
602
  handoffContinuationNote,
603
603
  refusalDetail,
604
604
  retryAfterMs
605
- } from "./chunk-QS44GK4N.js";
605
+ } from "./chunk-3Z5OXTDI.js";
606
606
  import {
607
607
  autoAvailable,
608
608
  nextCycleMode,
609
609
  permissionModeDescription,
610
610
  permissionModeLabel,
611
611
  permissionModeName
612
- } from "./chunk-NQ3MZ6N4.js";
612
+ } from "./chunk-ICIVSMA3.js";
613
613
  import {
614
614
  paint,
615
615
  rowTints,
@@ -618,18 +618,18 @@ import {
618
618
  } from "./chunk-P65AXQPL.js";
619
619
  import {
620
620
  discoverAgentDefinitions
621
- } from "./chunk-QHHIW2DO.js";
621
+ } from "./chunk-LGPOJEZK.js";
622
622
  import {
623
623
  readAgentHooks
624
- } from "./chunk-URLTMKPB.js";
624
+ } from "./chunk-FSAI4GDZ.js";
625
625
  import {
626
626
  readSkillHooks,
627
627
  withoutSessionStart
628
- } from "./chunk-B5MAFU7U.js";
628
+ } from "./chunk-SM6UI33D.js";
629
629
  import {
630
630
  primaryProvider,
631
631
  writePreferences
632
- } from "./chunk-66ZXPQGB.js";
632
+ } from "./chunk-WSQAVWIV.js";
633
633
  import {
634
634
  apiKeyLogoutWord,
635
635
  automaticChoice,
@@ -640,7 +640,7 @@ import {
640
640
  hasApiCredential,
641
641
  isApiKeyLogoutTarget,
642
642
  signedInSubscriptionProviders
643
- } from "./chunk-2QIXJBYJ.js";
643
+ } from "./chunk-CKYGPQVJ.js";
644
644
  import {
645
645
  isAnthropicOAuthToken
646
646
  } from "./chunk-LPPFJYL6.js";
@@ -651,26 +651,27 @@ import {
651
651
  loadSkillBody,
652
652
  renderSkillRoster,
653
653
  skillTierLabel
654
- } from "./chunk-U2MFIQ6X.js";
654
+ } from "./chunk-PJF46DI6.js";
655
655
  import {
656
656
  isTrusted,
657
657
  isTrustedAtStateRoot,
658
658
  startNewTrustList,
659
659
  trustDir,
660
660
  trustListProblem
661
- } from "./chunk-C4CUPDOU.js";
661
+ } from "./chunk-S7YXINNY.js";
662
662
  import {
663
663
  expandTabs,
664
664
  scriptText,
665
665
  terminalDisplayText
666
666
  } from "./chunk-I4GTRFPK.js";
667
667
  import {
668
+ DEFAULT_SHOW_TURN_DURATION,
668
669
  getScreenModeNow
669
- } from "./chunk-UJOESDTF.js";
670
+ } from "./chunk-LXK7S2I2.js";
670
671
  import {
671
672
  deleteUserConfigValue,
672
673
  setUserConfigValue
673
- } from "./chunk-XUDIPBHG.js";
674
+ } from "./chunk-3HT7FQNG.js";
674
675
  import {
675
676
  COMPOSER_TRIGGER_DEFAULTS,
676
677
  COMPOSER_TRIGGER_IDS,
@@ -706,7 +707,7 @@ import {
706
707
  verdictOf,
707
708
  withWorkflowKeywordSwitch,
708
709
  writeConnection
709
- } from "./chunk-RMNIXHIZ.js";
710
+ } from "./chunk-C7ZKC7HY.js";
710
711
  import {
711
712
  PROJECT_MCP_FILE,
712
713
  parseMcpServerFile
@@ -748,10 +749,10 @@ import {
748
749
  restrictToOwner,
749
750
  writeStoredApiKey,
750
751
  writeStoredGeminiApiKey
751
- } from "./chunk-2UWAMPLM.js";
752
+ } from "./chunk-5ZPCQ2HL.js";
752
753
  import {
753
754
  namzuHomePath
754
- } from "./chunk-U77GVCK3.js";
755
+ } from "./chunk-KUIATFLN.js";
755
756
  import {
756
757
  stringWidth
757
758
  } from "./chunk-U5UV2YRE.js";
@@ -761,7 +762,6 @@ import {
761
762
  AuthorizationGate,
762
763
  CompactionRefusedError,
763
764
  DECLINED_TOOL_CALL_FEEDBACK,
764
- DEFAULT_GOAL_CHECK_IN_ROUNDS,
765
765
  DEFAULT_GOAL_STALL_ROUNDS,
766
766
  DiskMessageFeedbackStore,
767
767
  DiskSessionLeaseStore,
@@ -853,7 +853,7 @@ import {
853
853
  withAccountLock,
854
854
  wrapUntrusted,
855
855
  writePeerRecord
856
- } from "./chunk-X7QC2Q7P.js";
856
+ } from "./chunk-6CI5CHBT.js";
857
857
  import {
858
858
  __name,
859
859
  __toESM
@@ -12003,12 +12003,13 @@ __name(admissionBlocked, "admissionBlocked");
12003
12003
 
12004
12004
  // src/rounds/goal-guards.ts
12005
12005
  var DEFAULT_CLI_GOAL_MAX_ROUNDS = 1e3;
12006
+ var DEFAULT_CLI_GOAL_CHECK_IN_ROUNDS = 0;
12006
12007
  function goalDefaults(config) {
12007
12008
  return {
12008
12009
  maxGoalRounds: config?.maxRounds ?? DEFAULT_CLI_GOAL_MAX_ROUNDS,
12009
12010
  guards: {
12010
12011
  stallRounds: config?.stallRounds ?? DEFAULT_GOAL_STALL_ROUNDS,
12011
- checkInEvery: config?.checkInEvery ?? DEFAULT_GOAL_CHECK_IN_ROUNDS,
12012
+ checkInEvery: config?.checkInEvery ?? DEFAULT_CLI_GOAL_CHECK_IN_ROUNDS,
12012
12013
  ...config?.tokenBudget !== void 0 ? { tokenBudget: config.tokenBudget } : {}
12013
12014
  }
12014
12015
  };
@@ -12131,11 +12132,8 @@ function mergeUndeliveredLiveInput(queued, undelivered) {
12131
12132
  return merged;
12132
12133
  }
12133
12134
  __name(mergeUndeliveredLiveInput, "mergeUndeliveredLiveInput");
12134
- function humanPromptMeta(attachedFiles, live = false) {
12135
- const parts = [];
12136
- if (attachedFiles > 0) parts.push(`${attachedFiles} file${attachedFiles > 1 ? "s" : ""} attached`);
12137
- if (live) parts.push("sent while working");
12138
- return parts.length > 0 ? parts.join(" \xB7 ") : void 0;
12135
+ function humanPromptMeta(attachedFiles) {
12136
+ return attachedFiles > 0 ? `${attachedFiles} file${attachedFiles > 1 ? "s" : ""} attached` : void 0;
12139
12137
  }
12140
12138
  __name(humanPromptMeta, "humanPromptMeta");
12141
12139
  function goalRoundPrompt(authority) {
@@ -12629,6 +12627,11 @@ var PHASE_DETAIL_LINE_BUDGET = 3;
12629
12627
  var REPLAYED_TRANSCRIPT_NOTICE = "Replayed from the saved record. This agent has finished and cannot be continued.";
12630
12628
  var COCKPIT_CHROME_ROWS = 2;
12631
12629
  var DETAIL_CHROME_ROWS = 8;
12630
+ function detailChromeRows(sideBySide) {
12631
+ return sideBySide ? DETAIL_CHROME_ROWS : DETAIL_CHROME_ROWS - 1;
12632
+ }
12633
+ __name(detailChromeRows, "detailChromeRows");
12634
+ var DETAIL_MIN_LIST_ROWS = 2;
12632
12635
  var DETAIL_MIN_ROWS = 4;
12633
12636
  var DETAIL_BELOW_ROWS = 9;
12634
12637
  function workflowDetailHeight(rows, fullscreen, below = DETAIL_BELOW_ROWS) {
@@ -12639,6 +12642,72 @@ function workflowDetailHeight(rows, fullscreen, below = DETAIL_BELOW_ROWS) {
12639
12642
  return Math.max(DETAIL_MIN_ROWS, height);
12640
12643
  }
12641
12644
  __name(workflowDetailHeight, "workflowDetailHeight");
12645
+ var DETAIL_FLOOR_ROWS = 8;
12646
+ function detailGeometry(workflow, phases, columns) {
12647
+ const boxWidth = columns - 2;
12648
+ const leftTitleCells = Math.min(
12649
+ 22,
12650
+ Math.max(6, ...phases.map((item) => stringWidth(oneLine3(phaseTitle(item)))))
12651
+ );
12652
+ const countCells = Math.max(
12653
+ 3,
12654
+ ...phases.map(
12655
+ (item) => phaseCount(item, workflow.runStatus === "stopped").length + phaseFailedTail(item).length
12656
+ )
12657
+ );
12658
+ const leftInner = 5 + leftTitleCells + 1 + countCells + 1;
12659
+ const rightInner = boxWidth - 3 - leftInner;
12660
+ return { leftInner, rightInner, sideBySide: columns >= DETAIL_WIDE_COLUMNS && rightInner >= 24 };
12661
+ }
12662
+ __name(detailGeometry, "detailGeometry");
12663
+ function workflowDetailContentRows(workflow, phases, selectedPhaseIndex, level, terminalRows, terminalColumns) {
12664
+ const columns = Math.max(20, terminalColumns);
12665
+ const logLines = Math.min(detailLogLineCount(terminalRows), workflow.logs?.length ?? 0);
12666
+ const phase = phases[selectedPhaseIndex];
12667
+ const agentCount = phase?.agents.length ?? 0;
12668
+ const { rightInner, sideBySide } = detailGeometry(workflow, phases, columns);
12669
+ let list;
12670
+ if (sideBySide) {
12671
+ const detailLines = level === 1 && phase?.detail ? wrapPhaseDetailLines(phase.detail, rightInner - 2).slice(0, PHASE_DETAIL_LINE_BUDGET) : [];
12672
+ list = Math.max(
12673
+ phases.length,
12674
+ agentCount + (detailLines.length > 0 ? detailLines.length + 1 : 0)
12675
+ );
12676
+ } else {
12677
+ const detailLines = level === 1 && terminalRows >= 20 && phase?.detail ? wrapPhaseDetailLines(phase.detail, columns - 4).slice(0, PHASE_DETAIL_LINE_BUDGET) : [];
12678
+ list = Math.max(phases.length + detailLines.length, agentCount);
12679
+ }
12680
+ return detailChromeRows(sideBySide) + logLines + Math.max(DETAIL_MIN_LIST_ROWS, list);
12681
+ }
12682
+ __name(workflowDetailContentRows, "workflowDetailContentRows");
12683
+ function sizeWorkflowDetail(cap3, contentRows) {
12684
+ return Math.min(cap3, Math.max(DETAIL_FLOOR_ROWS, contentRows));
12685
+ }
12686
+ __name(sizeWorkflowDetail, "sizeWorkflowDetail");
12687
+ function cockpitDetailHeight(agents, runs, selectedPhaseId, focus, terminalRows, terminalColumns, cap3) {
12688
+ if (focus === "workflows") return cap3;
12689
+ const workflows = agentWorkflows(agents, runs);
12690
+ const workflow = workflows.find(
12691
+ (item) => item.phases.some((phase) => phase.id === selectedPhaseId)
12692
+ );
12693
+ if (!workflow) return cap3;
12694
+ const index = Math.max(
12695
+ 0,
12696
+ workflow.phases.findIndex((phase) => phase.id === selectedPhaseId)
12697
+ );
12698
+ return sizeWorkflowDetail(
12699
+ cap3,
12700
+ workflowDetailContentRows(
12701
+ workflow,
12702
+ workflow.phases,
12703
+ index,
12704
+ focus === "agents" ? 2 : 1,
12705
+ terminalRows,
12706
+ terminalColumns
12707
+ )
12708
+ );
12709
+ }
12710
+ __name(cockpitDetailHeight, "cockpitDetailHeight");
12642
12711
  var graphemes2 = new Intl.Segmenter(void 0, { granularity: "grapheme" });
12643
12712
  function AgentNarrationBand({ lines: lines3 }) {
12644
12713
  if (lines3.length === 0) return null;
@@ -13418,9 +13487,21 @@ function WorkflowDetail({
13418
13487
  now
13419
13488
  }) {
13420
13489
  const columns = Math.max(20, terminalColumns);
13490
+ const chromeRows = detailChromeRows(detailGeometry(workflow, phases, columns).sideBySide);
13421
13491
  const loggedLines = workflow.logs?.length ?? 0;
13422
- const logLines = height === void 0 ? detailLogLineCount(terminalRows) : Math.min(detailLogLineCount(terminalRows), Math.max(0, height - 12), loggedLines);
13423
- const pageSize2 = height === void 0 ? workflowDetailPageSize(terminalRows) : Math.max(2, height - DETAIL_CHROME_ROWS - logLines);
13492
+ const logLines = height === void 0 ? detailLogLineCount(terminalRows) : Math.min(
13493
+ detailLogLineCount(terminalRows),
13494
+ // A list of fewer than four rows leaves its spare rows to the log lines.
13495
+ Math.max(
13496
+ 0,
13497
+ height - chromeRows - Math.min(
13498
+ 4,
13499
+ Math.max(phases.length, phases[selectedPhaseIndex]?.agents.length ?? 0, 1)
13500
+ )
13501
+ ),
13502
+ loggedLines
13503
+ );
13504
+ const pageSize2 = height === void 0 ? workflowDetailPageSize(terminalRows) : Math.max(DETAIL_MIN_LIST_ROWS, height - chromeRows - logLines);
13424
13505
  const phase = phases[selectedPhaseIndex];
13425
13506
  const isRun = workflow.runId !== void 0;
13426
13507
  const settled2 = workflow.agents.filter((agent) => agent.status === "completed").length;
@@ -13476,7 +13557,7 @@ function WorkflowDetail({
13476
13557
  text: outcome === "done" ? "\u2714" : outcome === "failed" || outcome === "skipped" ? "\u2718" : String(index + 1)
13477
13558
  };
13478
13559
  }, "phaseGlyph");
13479
- const boxWidth = columns - 2;
13560
+ const { leftInner, rightInner, sideBySide } = detailGeometry(workflow, phases, columns);
13480
13561
  const leftTitleCells = Math.min(
13481
13562
  22,
13482
13563
  Math.max(6, ...phases.map((item) => stringWidth(oneLine3(phaseTitle(item)))))
@@ -13487,9 +13568,6 @@ function WorkflowDetail({
13487
13568
  (item) => phaseCount(item, workflow.runStatus === "stopped").length + phaseFailedTail(item).length
13488
13569
  )
13489
13570
  );
13490
- const leftInner = 5 + leftTitleCells + 1 + countCells + 1;
13491
- const rightInner = boxWidth - 3 - leftInner;
13492
- const sideBySide = columns >= DETAIL_WIDE_COLUMNS && rightInner >= 24;
13493
13571
  const recentLogs = (logLines === 0 ? [] : (workflow.logs ?? []).slice(-logLines)).map(
13494
13572
  (line) => terminalDisplayText(oneLine3(line))
13495
13573
  );
@@ -14330,10 +14408,11 @@ function choicePickerWindowSize({
14330
14408
  rule = false,
14331
14409
  windowSize = SELECTION_WINDOW_SIZE,
14332
14410
  rowHeight: givenRowHeight,
14333
- detailRows = 0
14411
+ detailRows = 0,
14412
+ bodyRows = 0
14334
14413
  }) {
14335
14414
  const availableRows = Math.max(6, rows - 4);
14336
- const furnitureRows = 4 + Number(searchable) + Number(notice) + Number(selectedDescription) + Number(rule) + detailRows;
14415
+ const furnitureRows = 4 + Number(searchable) + Number(notice) + Number(selectedDescription) + Number(rule) + detailRows + bodyRows;
14337
14416
  const rowHeight2 = givenRowHeight ?? (columns < 70 ? 2 : 1);
14338
14417
  return Math.max(1, Math.min(windowSize, Math.floor((availableRows - furnitureRows) / rowHeight2)));
14339
14418
  }
@@ -14341,6 +14420,11 @@ __name(choicePickerWindowSize, "choicePickerWindowSize");
14341
14420
 
14342
14421
  // src/tui/ChoicePicker.tsx
14343
14422
  var import_jsx_runtime14 = __toESM(require_jsx_runtime(), 1);
14423
+ function capBody(lines3, max) {
14424
+ if (lines3.length <= max) return lines3;
14425
+ return [...lines3.slice(0, max - 1), `\u2026 ${lines3.length - (max - 1)} more lines`];
14426
+ }
14427
+ __name(capBody, "capBody");
14344
14428
  var SELECTED_DESCRIPTION_LINES = 8;
14345
14429
  var STACKED_DESCRIPTION_LINES = 2;
14346
14430
  function ChoicePicker({
@@ -14348,6 +14432,7 @@ function ChoicePicker({
14348
14432
  title,
14349
14433
  notice,
14350
14434
  subtitle,
14435
+ body,
14351
14436
  hints,
14352
14437
  options,
14353
14438
  selected,
@@ -14379,7 +14464,9 @@ function ChoicePicker({
14379
14464
  Math.max(1, contentWidth - 4)
14380
14465
  ), "wholeDescription");
14381
14466
  const detailRows = !describeSelected ? 0 : stacked ? SELECTED_DESCRIPTION_LINES - STACKED_DESCRIPTION_LINES : Math.max(0, ...options.map((option) => wholeDescription(option).length));
14467
+ const bodyLines = capBody(body ?? [], Math.max(3, terminal.rows - 14));
14382
14468
  const pageSize2 = choicePickerWindowSize({
14469
+ bodyRows: bodyLines.length,
14383
14470
  rowHeight: stacked ? 1 + Math.max(1, ...options.map((option) => stackedDescription(option).length)) : 1,
14384
14471
  rows: terminal.rows,
14385
14472
  columns,
@@ -14431,6 +14518,10 @@ function ChoicePicker({
14431
14518
  /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Text, { color: theme.text.muted, children: count2 })
14432
14519
  ] }),
14433
14520
  subtitle ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Text, { color: theme.text.muted, children: truncateChoiceText(subtitle, contentWidth) }) : null,
14521
+ bodyLines.map((line, lineIndex) => (
14522
+ // biome-ignore lint/suspicious/noArrayIndexKey: a body line has no identity beyond its position.
14523
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Text, { color: theme.text.secondary, children: line.length === 0 ? " " : truncateChoiceText(line, contentWidth) }, `b-${lineIndex}`)
14524
+ )),
14434
14525
  query !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Text, { color: query.length > 0 ? theme.text.primary : theme.text.muted, children: truncateChoiceText(`Search: ${query || searchPlaceholder}`, contentWidth) }) : null,
14435
14526
  notice ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Text, { color: theme.status.warn, children: truncateChoiceText(notice, contentWidth) }) : null,
14436
14527
  visible.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Text, { color: theme.text.muted, children: "No matching options" }) : null,
@@ -26662,13 +26753,13 @@ async function fastModeVerdict(providerId, model, options = {}) {
26662
26753
  if (tier === "ultrafast") {
26663
26754
  return refuse("Ultrafast is not offered on Anthropic models. /fast turns on fast mode.");
26664
26755
  }
26665
- const { resolveFastModeVerdict: resolveFastModeVerdict2 } = await import("./dist-NLY5ZLEK.js");
26756
+ const { resolveFastModeVerdict: resolveFastModeVerdict2 } = await import("./dist-SQYPEQ4A.js");
26666
26757
  const verdict2 = resolveFastModeVerdict2(model, now);
26667
26758
  return verdict2.ok ? { ok: true, provider: "anthropic", tier: "fast", rate: { kind: "billing", multiplier: 2 } } : refuse(verdict2.reason);
26668
26759
  }
26669
26760
  if (!model) return refuse("Fast mode needs a model; pick one with /model.");
26670
26761
  const otherHost = providerId === "openai" ? options.otherHost === void 0 ? openAIThirdPartyHost() ?? null : options.otherHost : null;
26671
- const { resolveFastModeVerdict } = await import("./dist-PYOYSQIZ.js");
26762
+ const { resolveFastModeVerdict } = await import("./dist-NUCTP67R.js");
26672
26763
  const verdict = resolveFastModeVerdict({
26673
26764
  route: providerId === "openai" ? "api" : "subscription",
26674
26765
  model,
@@ -30500,6 +30591,35 @@ function describeComposerTriggers(enabledNow, opts = {}) {
30500
30591
  }
30501
30592
  __name(describeComposerTriggers, "describeComposerTriggers");
30502
30593
 
30594
+ // src/tui/turn-duration-setting.ts
30595
+ function describeTurnDuration(on) {
30596
+ return on ? "Turn duration is on: each reply ends with how long it took and when it finished. /config showTurnDuration off turns it off." : "Turn duration is off: replies end without the time line. /config showTurnDuration on turns it back on.";
30597
+ }
30598
+ __name(describeTurnDuration, "describeTurnDuration");
30599
+ function setShowTurnDuration(on, opts = {}) {
30600
+ try {
30601
+ setUserConfigValue(["tui", "showTurnDuration"], on, {
30602
+ ...opts.home ? { home: opts.home } : {},
30603
+ ...opts.env ? { env: opts.env } : {}
30604
+ });
30605
+ } catch (error) {
30606
+ return `${explainFailure(error, "Could not save that setting.")} This conversation ${on ? "shows" : "hides"} the turn duration until it ends.`;
30607
+ }
30608
+ const saved = describeTurnDuration(on);
30609
+ let resolved;
30610
+ try {
30611
+ resolved = loadConfigWithProvenance(opts);
30612
+ } catch (error) {
30613
+ return `${saved} ${explainFailure(error, "Could not check the other config files.")} This conversation follows your choice.`;
30614
+ }
30615
+ const effective = resolved.config.tui?.showTurnDuration ?? DEFAULT_SHOW_TURN_DURATION;
30616
+ if (effective === on) return saved;
30617
+ const source = resolved.provenance.tui;
30618
+ const winner = source ? formatConfigSource(source) : "another config layer";
30619
+ return `${saved} But ${winner} turns it ${effective ? "on" : "off"}, so from the next start it will be ${effective ? "on" : "off"}; this conversation follows your choice.`;
30620
+ }
30621
+ __name(setShowTurnDuration, "setShowTurnDuration");
30622
+
30503
30623
  // src/tui/typed-input.ts
30504
30624
  function typedInputOf(prompt) {
30505
30625
  if (prompt.kind !== "human" || prompt.skillFlow === true) return void 0;
@@ -31131,22 +31251,23 @@ function describeBrowserHandoff(handoff, browser) {
31131
31251
  if (detail.cause === "http-auth") {
31132
31252
  if (browser && !browser.headless) {
31133
31253
  return `${lead}
31134
- Check access to ${origin} in the browser window (profile ${profile}). If authentication succeeds, press Enter to continue, or Esc to stop.`;
31254
+ Check access to ${origin} in the browser window (profile ${profile}). If authentication succeeds, press Enter to continue, type a message to answer instead, or press Esc to stop.`;
31135
31255
  }
31136
31256
  return `${lead}
31137
31257
  This browser has no window, so Namzu closed it to free the profile. In another terminal run:
31138
31258
  ${command}
31139
- Check access in the window it opens, then close it. If authentication succeeds, press Enter here to continue, or Esc to stop.`;
31259
+ Check access in the window it opens, then close it. If authentication succeeds, press Enter here to continue, type a message to answer instead, or press Esc to stop.`;
31140
31260
  }
31141
31261
  if (browser && !browser.headless) {
31142
31262
  const verb = AT_THE_WINDOW[detail.cause ?? ""] ?? "sign in to";
31143
31263
  return `${lead}
31144
- ${verb.charAt(0).toUpperCase()}${verb.slice(1)} ${origin} in the browser window (profile ${profile}), then press Enter to continue, or Esc to stop.`;
31264
+ ${verb.charAt(0).toUpperCase()}${verb.slice(1)} ${origin} in the browser window (profile ${profile}), then press Enter to continue, type a message to answer instead, or press Esc to stop.
31265
+ This is Namzu's own browser profile, not the browser you use every day, so a sign-in there is not visible here. It is remembered for next time.`;
31145
31266
  }
31146
31267
  return `${lead}
31147
31268
  This browser has no window, so Namzu closed it to free the profile. In another terminal run:
31148
31269
  ${command}
31149
- sign in in the window it opens, close it, then press Enter here to continue, or Esc to stop.`;
31270
+ sign in in the window it opens, close it, then press Enter here to continue, type a message to answer instead, or press Esc to stop.`;
31150
31271
  }
31151
31272
  __name(describeBrowserHandoff, "describeBrowserHandoff");
31152
31273
  function browserSiteNotes(toolCalls, browser) {
@@ -31812,7 +31933,8 @@ function createRestoredTurnWriter(messages, nextId, options) {
31812
31933
  Math.max(0, turn.endedAt - turn.startedAt),
31813
31934
  stand,
31814
31935
  new Date(turn.endedAt),
31815
- turn.agentTokens
31936
+ turn.agentTokens,
31937
+ options.showTurnDuration ?? DEFAULT_SHOW_TURN_DURATION
31816
31938
  ) : void 0;
31817
31939
  if (line)
31818
31940
  rows.push({
@@ -32124,6 +32246,47 @@ function describeShellEscape(command, result) {
32124
32246
  }
32125
32247
  __name(describeShellEscape, "describeShellEscape");
32126
32248
 
32249
+ // src/tui/sign-in-watch.ts
32250
+ var SIGNIN_POLL_MS = 3e3;
32251
+ var SIGNIN_WATCH_MS = 10 * 6e4;
32252
+ var SIGNIN_CLEARED_LOOKS = 2;
32253
+ var SIGNIN_AUTO_RESUME_CAP = 2;
32254
+ function startSignInWatch(options) {
32255
+ const pollMs = options.pollMs ?? SIGNIN_POLL_MS;
32256
+ let stopped = false;
32257
+ let looking = false;
32258
+ let cleared = 0;
32259
+ const finish = /* @__PURE__ */ __name(() => {
32260
+ stopped = true;
32261
+ clearInterval(poll);
32262
+ clearTimeout(limit);
32263
+ }, "finish");
32264
+ const poll = setInterval(() => {
32265
+ if (stopped || looking) return;
32266
+ if (options.ready && !options.ready()) {
32267
+ cleared = 0;
32268
+ return;
32269
+ }
32270
+ looking = true;
32271
+ void options.peek().catch(() => "unknown").then((answer) => {
32272
+ looking = false;
32273
+ if (stopped) return;
32274
+ cleared = answer === "cleared" ? cleared + 1 : 0;
32275
+ if (cleared >= SIGNIN_CLEARED_LOOKS) {
32276
+ finish();
32277
+ options.onCleared();
32278
+ }
32279
+ });
32280
+ }, pollMs);
32281
+ const limit = setTimeout(() => {
32282
+ if (stopped) return;
32283
+ finish();
32284
+ options.onTimeout();
32285
+ }, options.watchMs ?? SIGNIN_WATCH_MS);
32286
+ return finish;
32287
+ }
32288
+ __name(startSignInWatch, "startSignInWatch");
32289
+
32127
32290
  // src/tui/status-line/output.ts
32128
32291
  var ESC3 = "\\x1b";
32129
32292
  var BEL = "\\x07";
@@ -33171,7 +33334,8 @@ function projectConversation(messages, nextId, readableUserTexts = [], restore)
33171
33334
  ...restore?.trail ? { trail: restore.trail } : {},
33172
33335
  ...restore?.cwd ? { cwd: restore.cwd } : {},
33173
33336
  ...restore?.cannotTellReason ? { cannotTellReason: restore.cannotTellReason } : {},
33174
- ...restore?.telling ? { telling: restore.telling } : {}
33337
+ ...restore?.telling ? { telling: restore.telling } : {},
33338
+ ...restore?.showTurnDuration !== void 0 ? { showTurnDuration: restore.showTurnDuration } : {}
33175
33339
  });
33176
33340
  const out = [];
33177
33341
  for (const message of messages) {
@@ -33909,6 +34073,10 @@ ${blocks.join("\n\n")}`;
33909
34073
  peersRef.current?.publish();
33910
34074
  }, []);
33911
34075
  const autoResumeAttemptRef = (0, import_react30.useRef)(0);
34076
+ const signInAutoResumesRef = (0, import_react30.useRef)(0);
34077
+ const signInWatchGaveUpRef = (0, import_react30.useRef)(null);
34078
+ const signInWatchStartRef = (0, import_react30.useRef)(null);
34079
+ const pausedTurnMayBeWaitingRef = (0, import_react30.useRef)(false);
33912
34080
  const selfMendingPauseRowRef = (0, import_react30.useRef)(new SelfMendingPauseRow());
33913
34081
  const [, setAutoResumeTick] = (0, import_react30.useState)(0);
33914
34082
  const composerDraftTokenRef = (0, import_react30.useRef)(0);
@@ -35064,7 +35232,13 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
35064
35232
  closingWaitRef.current = null;
35065
35233
  setClosingWaitVersion((version2) => version2 + 1);
35066
35234
  if (wait.silent === true) return;
35067
- const line = settleLine(Math.max(0, Date.now() - wait.since - wait.pausedMs), mine, /* @__PURE__ */ new Date());
35235
+ const line = settleLine(
35236
+ Math.max(0, Date.now() - wait.since - wait.pausedMs),
35237
+ mine,
35238
+ /* @__PURE__ */ new Date(),
35239
+ void 0,
35240
+ showTurnDurationRef.current
35241
+ );
35068
35242
  if (line) pushMessage("system", line, false, CLOSING_GLYPH, void 0, tokenColor("text.muted"));
35069
35243
  }, [subagents, workflowRuns, state, closingWaitVersion, pushMessage]);
35070
35244
  const [queueSelection, setQueueSelectionState] = (0, import_react30.useState)(null);
@@ -35166,6 +35340,10 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
35166
35340
  recapOnRef.current = recapOn;
35167
35341
  const [spinnerTipsOverride, setSpinnerTipsOverride] = (0, import_react30.useState)();
35168
35342
  const spinnerTipsOn = spinnerTipsOverride ?? ctx.tui?.spinnerTips !== false;
35343
+ const [turnDurationOverride, setTurnDurationOverride] = (0, import_react30.useState)();
35344
+ const showTurnDuration = turnDurationOverride ?? ctx.tui?.showTurnDuration ?? DEFAULT_SHOW_TURN_DURATION;
35345
+ const showTurnDurationRef = (0, import_react30.useRef)(showTurnDuration);
35346
+ showTurnDurationRef.current = showTurnDuration;
35169
35347
  const turnToolCallsRef = (0, import_react30.useRef)(0);
35170
35348
  const spinnerTip = useSpinnerTip({
35171
35349
  store: tipHistory,
@@ -36401,7 +36579,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
36401
36579
  pushMessage("system", "Not changed.");
36402
36580
  return;
36403
36581
  }
36404
- void import("./setting-cli-ZCKDAPR6.js").then(({ planSettingChange }) => {
36582
+ void import("./setting-cli-CJMZHIMQ.js").then(({ planSettingChange }) => {
36405
36583
  const plan = planSettingChange(picker.change.key, picker.change.text);
36406
36584
  if (!plan.ok) {
36407
36585
  pushMessage("system", plan.error);
@@ -36720,6 +36898,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
36720
36898
  cwd: ctxRef.current.cwd,
36721
36899
  attachmentDir: attachmentDirOf(sessions, asSessionId(requestedConversationId)),
36722
36900
  ...cannotTellReasonRef.current ? { cannotTellReason: cannotTellReasonRef.current } : {},
36901
+ showTurnDuration: showTurnDurationRef.current,
36723
36902
  onTold: /* @__PURE__ */ __name((telling) => {
36724
36903
  outcomeToldRef.current = { id: requestedConversationId, telling };
36725
36904
  }, "onTold")
@@ -36910,8 +37089,11 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
36910
37089
  flushLearnedRef.current();
36911
37090
  }, "onLearned")
36912
37091
  },
36913
- // Off until the user's own settings turn it on (`computerUse.enabled`).
36914
- enableComputerUse: activeCtx.computerUse?.enabled === true,
37092
+ // Offered here; whether it is on is the user's own setting
37093
+ // (`computerUse.enabled`, off until they turn it on), read at the top
37094
+ // of every turn so a change applies from the next message.
37095
+ enableComputerUse: true,
37096
+ computerUseSwitch: activeCtx.readComputerUseEnabled ?? (() => activeCtx.computerUse?.enabled === true),
36915
37097
  ...activeCtx.computerUse?.deniedApps?.length ? { deniedComputerApps: activeCtx.computerUse.deniedApps } : {},
36916
37098
  // The terminal is watched live: the quiet-stretch nudge, unless the
36917
37099
  // config turned it off.
@@ -37854,23 +38036,31 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
37854
38036
  return;
37855
38037
  }
37856
38038
  await session.abandonTurn(active.turnId, reason);
38039
+ setHandoffPark(null);
38040
+ pausedTurnMayBeWaitingRef.current = false;
37857
38041
  pushMessage("system", PAUSED_TURN_LINES.abandoned);
37858
38042
  } catch (err) {
37859
38043
  pushSystem("error", explainFailure(err, "Couldn\u2019t stop the paused reply."));
37860
38044
  }
37861
38045
  },
37862
- [pushMessage, session, state, pushSystem]
38046
+ [pushMessage, session, state, pushSystem, setHandoffPark]
37863
38047
  );
37864
38048
  const applyEventRef = (0, import_react30.useRef)(null);
37865
38049
  const resumeActiveTurn = (0, import_react30.useCallback)(
37866
38050
  async (resume) => {
37867
38051
  const sessions = sessionsRef.current;
37868
38052
  const scope = scopeRef.current;
37869
- if (!sessions || !scope || !conversationMaterializedRef.current || !session?.hasProvider)
38053
+ if (!sessions || !scope || !conversationMaterializedRef.current || !session?.hasProvider) {
38054
+ if (resume?.explain)
38055
+ pushMessage("system", "Nothing to continue here: this conversation has no reply yet.");
37870
38056
  return false;
38057
+ }
37871
38058
  const resumedSessionId = scope.sessionId;
37872
38059
  const active = await activeConversationTurn(sessions, resumedSessionId).catch(() => void 0);
37873
- if (!active) return false;
38060
+ if (!active) {
38061
+ if (resume?.explain) pushMessage("system", "Nothing to continue here: no reply is paused.");
38062
+ return false;
38063
+ }
37874
38064
  if (abortRef.current || state !== "idle") {
37875
38065
  pushMessage(
37876
38066
  "system",
@@ -37891,6 +38081,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
37891
38081
  return true;
37892
38082
  }
37893
38083
  setHandoffPark(null);
38084
+ pausedTurnMayBeWaitingRef.current = false;
37894
38085
  const ac = new AbortController();
37895
38086
  abortRef.current = ac;
37896
38087
  replyCutOffRef.current = false;
@@ -37952,7 +38143,12 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
37952
38143
  // The skills the operator has on, as a new turn carries them.
37953
38144
  extraSystem: composeSkillsPrompt(activeSkills) || void 0,
37954
38145
  ...resume?.handoffReason ? {
37955
- systemNote: handoffContinuationNote(resume.handoffReason)
38146
+ systemNote: handoffContinuationNote(
38147
+ resume.handoffReason,
38148
+ void 0,
38149
+ void 0,
38150
+ resume.operatorNote
38151
+ )
37956
38152
  } : {}
37957
38153
  }
37958
38154
  })) {
@@ -38036,6 +38232,53 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
38036
38232
  const timer = setInterval(() => setAutoResumeTick((n) => n + 1), 1e3);
38037
38233
  return () => clearInterval(timer);
38038
38234
  }, [autoResumeAt]);
38235
+ const signInPark = handoffPark?.browserSignIn ? handoffPark : void 0;
38236
+ const signInWatchTurn = signInPark?.turnId;
38237
+ const signInWatchOn = ctx.browser?.signInWatch !== false;
38238
+ const resumeActiveTurnRef = (0, import_react30.useRef)(resumeActiveTurn);
38239
+ resumeActiveTurnRef.current = resumeActiveTurn;
38240
+ const pushMessageRef = (0, import_react30.useRef)(pushMessage);
38241
+ pushMessageRef.current = pushMessage;
38242
+ (0, import_react30.useEffect)(() => {
38243
+ if (signInWatchTurn === void 0) signInWatchStartRef.current = null;
38244
+ if (signInWatchTurn === void 0 || !signInWatchOn) return;
38245
+ if (signInWatchGaveUpRef.current === signInWatchTurn) return;
38246
+ if (phase !== "ready" || state !== "idle") return;
38247
+ const control = browserControlRef.current;
38248
+ if (!control || control.status().headless) return;
38249
+ const startedAt = signInWatchStartRef.current?.turnId === signInWatchTurn ? signInWatchStartRef.current.at : Date.now();
38250
+ signInWatchStartRef.current = { turnId: signInWatchTurn, at: startedAt };
38251
+ const remaining = SIGNIN_WATCH_MS - (Date.now() - startedAt);
38252
+ if (remaining <= 0) return;
38253
+ return startSignInWatch({
38254
+ watchMs: remaining,
38255
+ peek: /* @__PURE__ */ __name(() => control.peekSignIn(), "peek"),
38256
+ ready: /* @__PURE__ */ __name(() => handoffParkRef.current?.turnId === signInWatchTurn && !composerHasDraftRef.current && !abortRef.current, "ready"),
38257
+ onTimeout: /* @__PURE__ */ __name(() => {
38258
+ if (handoffParkRef.current?.turnId !== signInWatchTurn) return;
38259
+ signInWatchGaveUpRef.current = signInWatchTurn;
38260
+ pushMessageRef.current(
38261
+ "system",
38262
+ "Still waiting for you to sign in. Press Enter when you have, or Esc to stop."
38263
+ );
38264
+ }, "onTimeout"),
38265
+ onCleared: /* @__PURE__ */ __name(() => {
38266
+ const parked = handoffParkRef.current;
38267
+ if (parked?.turnId !== signInWatchTurn || parked.reason === void 0) return;
38268
+ if (signInAutoResumesRef.current >= SIGNIN_AUTO_RESUME_CAP) {
38269
+ signInWatchGaveUpRef.current = signInWatchTurn;
38270
+ pushMessageRef.current(
38271
+ "system",
38272
+ "Stopped checking for your sign-in. Press Enter when you have signed in, or Esc to stop."
38273
+ );
38274
+ return;
38275
+ }
38276
+ signInAutoResumesRef.current += 1;
38277
+ pushMessageRef.current("system", "Looks like you signed in. Continuing.");
38278
+ void resumeActiveTurnRef.current({ handoffReason: parked.reason, automatic: true });
38279
+ }, "onCleared")
38280
+ });
38281
+ }, [signInPark, signInWatchTurn, signInWatchOn, phase, state]);
38039
38282
  const openResumePicker = (0, import_react30.useCallback)(
38040
38283
  async (query, pr) => {
38041
38284
  const sessions = sessionsRef.current ?? await ensureSessions().then(() => sessionsRef.current);
@@ -38102,10 +38345,10 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
38102
38345
  const progressId = pushMessage("system", "Reading spend\u2026");
38103
38346
  try {
38104
38347
  const [{ buildCostReport }, { renderSpend }, { systemClock: systemClock2 }, { resolveNamzuHome: resolveNamzuHome2 }] = await Promise.all([
38105
- import("./cost-AZAQ3AC5.js"),
38348
+ import("./cost-MVUQ3UWP.js"),
38106
38349
  import("./render-QFCCPEEL.js"),
38107
38350
  import("./day-CU5J7UAK.js"),
38108
- import("./home-YYLBZ3E7.js")
38351
+ import("./home-OGOBLYWY.js")
38109
38352
  ]);
38110
38353
  const report = await buildCostReport(days, {
38111
38354
  home: resolveNamzuHome2(),
@@ -38131,7 +38374,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
38131
38374
  doctorRunningRef.current = true;
38132
38375
  const progressId = pushMessage("system", "Checking\u2026");
38133
38376
  try {
38134
- const { runLiveDoctor } = await import("./live-IULJUZ7B.js");
38377
+ const { runLiveDoctor } = await import("./live-33QEKVAM.js");
38135
38378
  const { describePlainDoctor } = await import("./plain-report-U37TZYMU.js");
38136
38379
  const report = await runLiveDoctor({
38137
38380
  ...ctxRef.current.telemetry ? { telemetry: ctxRef.current.telemetry } : {}
@@ -38427,6 +38670,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
38427
38670
  cwd: ctxRef.current.cwd,
38428
38671
  attachmentDir: attachmentDirOf(sessions, conv.id),
38429
38672
  ...cannotTellReasonRef.current ? { cannotTellReason: cannotTellReasonRef.current } : {},
38673
+ showTurnDuration: showTurnDurationRef.current,
38430
38674
  onTold: /* @__PURE__ */ __name((telling) => {
38431
38675
  outcomeToldRef.current = { id: conv.id, telling };
38432
38676
  }, "onTold")
@@ -38439,6 +38683,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
38439
38683
  cancelPendingModelSwitch();
38440
38684
  conversationGenRef.current += 1;
38441
38685
  setHandoffPark(null);
38686
+ pausedTurnMayBeWaitingRef.current = false;
38442
38687
  autoResumeAttemptRef.current = 0;
38443
38688
  selfMendingPauseRowRef.current.forget();
38444
38689
  resetSubagentActivity();
@@ -38594,6 +38839,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
38594
38839
  cancelPendingModelSwitch();
38595
38840
  conversationGenRef.current += 1;
38596
38841
  setHandoffPark(null);
38842
+ pausedTurnMayBeWaitingRef.current = false;
38597
38843
  autoResumeAttemptRef.current = 0;
38598
38844
  selfMendingPauseRowRef.current.forget();
38599
38845
  resetSubagentActivity();
@@ -39379,6 +39625,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
39379
39625
  setMessages(
39380
39626
  projectConversation(forked.messages, nextId, readablePrefix, {
39381
39627
  cwd: ctxRef.current.cwd,
39628
+ showTurnDuration: showTurnDurationRef.current,
39382
39629
  attachmentDir: attachmentDirOf(sessions, forked.id)
39383
39630
  })
39384
39631
  );
@@ -39472,6 +39719,7 @@ ${AUTO_MODE_DEFAULT_NOTICE_BODY}`,
39472
39719
  setMessages(
39473
39720
  projectConversation(result.messages, nextId, readable, {
39474
39721
  cwd: ctxRef.current.cwd,
39722
+ showTurnDuration: showTurnDurationRef.current,
39475
39723
  ...sessionsRef.current && scopeRef.current ? { attachmentDir: attachmentDirOf(sessionsRef.current, scopeRef.current.sessionId) } : {}
39476
39724
  })
39477
39725
  );
@@ -40418,7 +40666,13 @@ ${plain2(err)}`
40418
40666
  };
40419
40667
  setClosingWaitVersion((version2) => version2 + 1);
40420
40668
  }
40421
- const closing = closingWaitRef.current === null && (delegated.length > 0 || st.completed) ? settleLine(Date.now() - since - pausedMs, delegated, /* @__PURE__ */ new Date()) : void 0;
40669
+ const closing = closingWaitRef.current === null && (delegated.length > 0 || st.completed) ? settleLine(
40670
+ Date.now() - since - pausedMs,
40671
+ delegated,
40672
+ /* @__PURE__ */ new Date(),
40673
+ void 0,
40674
+ showTurnDurationRef.current
40675
+ ) : void 0;
40422
40676
  for (const agent of delegated) endedWorkflowTurnsRef.current.add(agent.workflowId);
40423
40677
  flushWorkflowNotices();
40424
40678
  if (st.planChanged && tasksRef.current.length > 0) {
@@ -40452,9 +40706,11 @@ ${plain2(err)}`
40452
40706
  const browserNotice = describeBrowserHandoff(event.handoff, browserStatus);
40453
40707
  if (browserNotice && browser && browserStatus?.headless) void browser.release();
40454
40708
  pushSystem("warning", browserNotice ?? describePlainInterruption(event, plainOptions()));
40709
+ pausedTurnMayBeWaitingRef.current = true;
40455
40710
  setHandoffPark({
40456
40711
  turnId: event.turnId,
40457
- reason: event.handoff.reason
40712
+ reason: event.handoff.reason,
40713
+ ...browserNotice && browserStatus && !browserStatus.headless && event.handoff.detail?.cause !== "http-auth" ? { browserSignIn: true } : {}
40458
40714
  });
40459
40715
  } else {
40460
40716
  const pauseText = describePlainInterruption(event, plainOptions());
@@ -40894,7 +41150,7 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
40894
41150
  void 0,
40895
41151
  void 0,
40896
41152
  void 0,
40897
- humanPromptMeta(input.attachedFiles, true),
41153
+ humanPromptMeta(input.attachedFiles),
40898
41154
  void 0,
40899
41155
  void 0,
40900
41156
  void 0,
@@ -42318,8 +42574,30 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
42318
42574
  }
42319
42575
  setViewNotice(void 0);
42320
42576
  }
42321
- setHandoffPark(null);
42577
+ const parkedForPerson = handoffParkRef.current;
42578
+ if (parkedForPerson?.reason !== void 0 && !parkedForPerson.spentAllowance && meta.source === "composer" && !attachments?.length && !value.trimStart().startsWith("/") && // `!` and `#` are the operator acting directly, not an answer.
42579
+ shellEscapeCommand(value) === null && !value.startsWith("#") && phase === "ready" && state === "idle" && !abortRef.current) {
42580
+ const answer = value.trim();
42581
+ if (answer.length > 0) {
42582
+ setHandoffPark(null);
42583
+ pausedTurnMayBeWaitingRef.current = false;
42584
+ autoResumeAttemptRef.current = 0;
42585
+ signInAutoResumesRef.current = 0;
42586
+ selfMendingPauseRowRef.current.forget();
42587
+ setHistory((prev) => [...prev, value]);
42588
+ recordSentPrompt(sessionsRef.current, scopeRef.current?.sessionId, value, meta.pasted);
42589
+ pushMessage("user", answer);
42590
+ void resumeActiveTurn({
42591
+ handoffReason: parkedForPerson.reason,
42592
+ operatorNote: answer,
42593
+ explain: true
42594
+ });
42595
+ return;
42596
+ }
42597
+ }
42598
+ if (!(handoffParkRef.current && value.trimStart().startsWith("/"))) setHandoffPark(null);
42322
42599
  autoResumeAttemptRef.current = 0;
42600
+ signInAutoResumesRef.current = 0;
42323
42601
  selfMendingPauseRowRef.current.forget();
42324
42602
  const fromLoop = meta.source === "operator-loop" || meta.source === "model-loop";
42325
42603
  keybindingDraftRef.current = meta.source === "keybinding" ? meta.draft ?? null : null;
@@ -42577,6 +42855,7 @@ ${jobLines.map(([, line]) => `- ${line}`).join("\n")}`] : []
42577
42855
  }
42578
42856
  }
42579
42857
  const heldLocal = peers.held();
42858
+ let screen;
42580
42859
  if (!summary2) {
42581
42860
  const local = `Peer messaging ${peers.enabled ? "on" : "off"} \xB7 ${peers.pending} pending
42582
42861
  ${localList.map((peer) => `${peer.self ? "This terminal" : peer.title} [${peer.ref}] \xB7 ${peer.state} \xB7 ${peer.permission_mode}${peer.accepts_messages ? "" : " \xB7 not accepting messages"}`).join("\n")}`;
@@ -42584,21 +42863,17 @@ ${localList.map((peer) => `${peer.self ? "This terminal" : peer.title} [${peer.r
42584
42863
  ${network.decision.text}` : "";
42585
42864
  const held2 = heldLocal.length ? `
42586
42865
  Held (${heldLocal.length}): ${heldLocal.map((item) => `${item.fromName} \xB7 ${item.reason}`).join("; ")}` : "";
42587
- pushMessage("system", `${local}${off}${held2}`);
42588
- if (heldLocal.length === 0) return;
42866
+ screen = `${local}${off}${held2}`;
42589
42867
  } else {
42590
- pushMessage(
42591
- "system",
42592
- renderPeersScreen({
42593
- summary: summary2,
42594
- roster,
42595
- selfRef: peers.ref,
42596
- heldLocal,
42597
- now: Date.now(),
42598
- // The row sits after the two-column mark, and the scroll view keeps a margin.
42599
- columns: (terminal.columns ?? 80) - 4
42600
- })
42601
- );
42868
+ screen = renderPeersScreen({
42869
+ summary: summary2,
42870
+ roster,
42871
+ selfRef: peers.ref,
42872
+ heldLocal,
42873
+ now: Date.now(),
42874
+ // The picker draws it inside its frame, two columns of padding and a margin in.
42875
+ columns: (terminal.columns ?? 80) - SCREEN_MARGIN - 4
42876
+ });
42602
42877
  }
42603
42878
  const actions = peersActions(
42604
42879
  summary2 ?? {
@@ -42614,11 +42889,15 @@ Held (${heldLocal.length}): ${heldLocal.map((item) => `${item.fromName} \xB7 ${i
42614
42889
  },
42615
42890
  heldLocal
42616
42891
  );
42617
- if (actions.length === 0) return;
42892
+ if (actions.length === 0) {
42893
+ pushMessage("system", screen);
42894
+ return;
42895
+ }
42618
42896
  setSelectedChoice(0);
42619
42897
  setChoicePicker({
42620
42898
  kind: "peers-network",
42621
42899
  title: "Waiting for you",
42900
+ body: screen.split("\n"),
42622
42901
  actions,
42623
42902
  values: actions.map((_, index) => String(index)),
42624
42903
  options: actions.map((action) => describeAction(action))
@@ -42809,6 +43088,11 @@ Held (${heldLocal.length}): ${heldLocal.map((item) => `${item.fromName} \xB7 ${i
42809
43088
  label: "Tips",
42810
43089
  description: spinnerTipsOn ? "On \xB7 one short tip shows under the working row. Select to turn off." : "Off \xB7 no tip under the working row. Select to turn on."
42811
43090
  },
43091
+ {
43092
+ name: `config showTurnDuration ${showTurnDuration ? "off" : "on"}`,
43093
+ label: "Show turn duration",
43094
+ description: showTurnDuration ? "On \xB7 each reply ends with how long it took and when it finished. Select to turn off." : "Off \xB7 no time line after a reply. Select to turn on."
43095
+ },
42812
43096
  {
42813
43097
  name: "config sources",
42814
43098
  label: "Setting sources",
@@ -43960,7 +44244,7 @@ ${answered.context}` : slash.text;
43960
44244
  return;
43961
44245
  }
43962
44246
  case "config-setting": {
43963
- void import("./setting-cli-ZCKDAPR6.js").then((cli) => {
44247
+ void import("./setting-cli-CJMZHIMQ.js").then((cli) => {
43964
44248
  if (slash.text === void 0 && slash.clear !== true) {
43965
44249
  try {
43966
44250
  pushMessage("system", cli.describeSetting(slash.key));
@@ -44022,6 +44306,22 @@ ${answered.context}` : slash.text;
44022
44306
  );
44023
44307
  return;
44024
44308
  }
44309
+ case "turn-duration": {
44310
+ if (slash.on === "list") {
44311
+ pushMessage("system", describeTurnDuration(showTurnDuration));
44312
+ return;
44313
+ }
44314
+ const profile = ctx.configDebug?.selectedProfile?.name;
44315
+ setTurnDurationOverride(slash.on);
44316
+ pushMessage(
44317
+ "system",
44318
+ setShowTurnDuration(slash.on, {
44319
+ cwd: ctx.cwd,
44320
+ ...profile ? { profile } : {}
44321
+ })
44322
+ );
44323
+ return;
44324
+ }
44025
44325
  case "fast-mode": {
44026
44326
  void applyFastMode(slash.tier);
44027
44327
  return;
@@ -45879,6 +46179,8 @@ ${answered.context}` : slash.text;
45879
46179
  (key.return && !composerHasDraft || key.escape && !vimOwnsEscapeRef.current)) {
45880
46180
  const parked = handoffParkRef.current;
45881
46181
  setHandoffPark(null);
46182
+ pausedTurnMayBeWaitingRef.current = false;
46183
+ signInAutoResumesRef.current = 0;
45882
46184
  if (parked.spentAllowance) {
45883
46185
  if (key.return) accountActionsRef.current?.open(parked.spentAllowance);
45884
46186
  return;
@@ -45886,10 +46188,15 @@ ${answered.context}` : slash.text;
45886
46188
  if (key.return) {
45887
46189
  autoResumeAttemptRef.current = 0;
45888
46190
  selfMendingPauseRowRef.current.forget();
45889
- void resumeActiveTurn({ handoffReason: parked.reason });
46191
+ void resumeActiveTurn({ handoffReason: parked.reason, explain: true });
45890
46192
  } else void abandonActiveTurn("The operator stopped the turn a tool paused for them.");
45891
46193
  return;
45892
46194
  }
46195
+ if (key.return && !composerHasDraft && !handoffParkRef.current && phase === "ready" && state === "idle" && !abortRef.current && pausedTurnMayBeWaitingRef.current) {
46196
+ pausedTurnMayBeWaitingRef.current = false;
46197
+ void resumeActiveTurn({ explain: true });
46198
+ return;
46199
+ }
45893
46200
  if (key.escape && queueSelectionRef.current !== null) {
45894
46201
  setQueueSelection(null);
45895
46202
  return;
@@ -45980,7 +46287,7 @@ ${answered.context}` : slash.text;
45980
46287
  const currentNotice = notices.current;
45981
46288
  const noticeIsImmediate = currentNotice?.priority === "immediate";
45982
46289
  const noticeIsCritical = noticeHoldsFooter(currentNotice, boxOwnsKeys);
45983
- const statusHint = exitHint ? `Press ${exitHint} again to exit` : noticeIsImmediate ? void 0 : conversationMutation === "fork" ? "forking conversation \u2014 input is paused" : conversationMutation === "edit" ? "branching before prompt \u2014 input is paused" : conversationMutation === "archive" ? "archiving conversation \u2014 input is paused" : conversationMutation === "new" ? "starting a fresh conversation \u2014 input is paused" : compacting ? "compacting conversation \u2014 input is paused" : boxOwnsKeys ? void 0 : handoffPark && phase === "ready" && state === "idle" && !composerHasDraft ? handoffPark.spentAllowance ? CONTINUE_WITH_ANOTHER_ACCOUNT : handoffPark.autoResume ? `trying again in ${formatSpan(Math.max(0, handoffPark.autoResume.at - Date.now()))} \xB7 enter try now \xB7 esc stop` : "enter continue \xB7 esc stop" : goalStatus && phase === "ready" && state === "idle" ? void 0 : hintForPhase(phase, state, composerHasDraft);
46290
+ const statusHint = exitHint ? `Press ${exitHint} again to exit` : noticeIsImmediate ? void 0 : conversationMutation === "fork" ? "forking conversation \u2014 input is paused" : conversationMutation === "edit" ? "branching before prompt \u2014 input is paused" : conversationMutation === "archive" ? "archiving conversation \u2014 input is paused" : conversationMutation === "new" ? "starting a fresh conversation \u2014 input is paused" : compacting ? "compacting conversation \u2014 input is paused" : boxOwnsKeys ? void 0 : handoffPark && phase === "ready" && state === "idle" && !composerHasDraft ? handoffPark.spentAllowance ? CONTINUE_WITH_ANOTHER_ACCOUNT : handoffPark.autoResume ? `trying again in ${formatSpan(Math.max(0, handoffPark.autoResume.at - Date.now()))} \xB7 enter try now \xB7 esc stop` : "enter continue \xB7 or type a message \xB7 esc stop" : goalStatus && phase === "ready" && state === "idle" ? void 0 : hintForPhase(phase, state, composerHasDraft);
45984
46291
  const permissionSource = reviewSource(permission, scopeRef.current?.sessionId);
45985
46292
  const permissionOwner = permissionSource ? subagents.find((agent) => agent.sessionId === permissionSource) : void 0;
45986
46293
  const permissionSourceLabel = permissionSource ? permissionOwner ? `from the ${permissionOwner.description} agent` : "from another agent" : void 0;
@@ -46015,11 +46322,20 @@ ${answered.context}` : slash.text;
46015
46322
  const childSurfaceOpen = agentSurface !== null && viewingAgent === void 0 || transcriptScreen || jobSurface !== null;
46016
46323
  const replyRunningNow = !compacting && (state === "thinking" || state === "tool" || pendingModelSwitchRef.current !== null) || handoffPark !== null && state === "idle";
46017
46324
  const workflowDetailOpen = showComposerSurface && permission === null && scheduleReviewPrompt === null && agentSurface?.kind === "cockpit" && !transcriptScreen && jobSurface === null;
46018
- const detailRows = workflowDetailHeight(
46325
+ const detailCap = workflowDetailHeight(
46019
46326
  terminal.rows,
46020
46327
  fullscreen !== void 0,
46021
46328
  composerBoxRows + 1 + (extensionMarks.length > 0 ? 1 : 0) + 4
46022
46329
  );
46330
+ const detailRows = workflowDetailOpen && agentSurface?.kind === "cockpit" ? cockpitDetailHeight(
46331
+ subagents,
46332
+ workflowRuns,
46333
+ agentSurface.selectedPhaseId,
46334
+ agentSurface.focus,
46335
+ terminal.rows,
46336
+ terminal.columns,
46337
+ detailCap
46338
+ ) : detailCap;
46023
46339
  const viewRailRows = liveSubagents.length > 0 || liveWorkflows.length > 0 ? 1 + (railShowsMain(liveSubagents.length, viewingAgent?.viewId) ? 1 : 0) + Math.min(liveSubagents.length, AGENT_RAIL_WINDOW) + (liveSubagents.length > AGENT_RAIL_WINDOW ? 1 : 0) + liveWorkflows.length : 0;
46024
46340
  viewRailRowsRef.current = viewRailRows;
46025
46341
  const viewPageRows = agentViewPageRows(terminal.rows, viewRailRows);
@@ -46341,6 +46657,7 @@ ${answered.context}` : slash.text;
46341
46657
  subtitle: choicePicker.subtitle,
46342
46658
  hints: workflowRunsHints(workflowPickerCanStop, workflowPickerCanResume)
46343
46659
  } : {},
46660
+ ...choicePicker.kind === "peers-network" && choicePicker.body ? { body: choicePicker.body } : {},
46344
46661
  ...choicePicker.kind === "account" ? { hints: ACCOUNT_PICKER_HINTS } : {},
46345
46662
  options: filterChoiceOptions(choicePicker.options, choiceQuery),
46346
46663
  describeSelected: choicePicker.kind === "user-question" || choicePicker.kind === "peers-network",
@@ -47072,4 +47389,4 @@ export {
47072
47389
  projectConversation,
47073
47390
  App
47074
47391
  };
47075
- //# sourceMappingURL=chunk-WUVCLGCH.js.map
47392
+ //# sourceMappingURL=chunk-4DNEDLBT.js.map