@namzu/cli 57.0.0 → 58.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (685) hide show
  1. package/CHANGELOG.md +142 -0
  2. package/README.md +5 -5
  3. package/dist/bin.js +1 -1
  4. package/dist/boot-narrative.d.ts.map +1 -1
  5. package/dist/browser/control.d.ts +25 -2
  6. package/dist/browser/control.d.ts.map +1 -1
  7. package/dist/chunks/{acp-KBPTK4GN.js → acp-OZG7H75P.js} +441 -205
  8. package/dist/chunks/acp-OZG7H75P.js.map +6 -0
  9. package/dist/chunks/{activity-command-JOED2VWN.js → activity-command-ZROH53CS.js} +14 -15
  10. package/dist/chunks/activity-command-ZROH53CS.js.map +6 -0
  11. package/dist/chunks/{add-66AQ7SKZ.js → add-DKSV5Y3C.js} +36 -34
  12. package/dist/chunks/add-DKSV5Y3C.js.map +6 -0
  13. package/dist/chunks/{agent-DL7YTL5B.js → agent-MSSMOEBP.js} +58 -48
  14. package/dist/chunks/agent-session-VCB6HX3E.js +89 -0
  15. package/dist/chunks/{apply-at-exit-5GUCOPX3.js → apply-at-exit-Z34ZOT4A.js} +9 -9
  16. package/dist/chunks/{apply-at-exit-5GUCOPX3.js.map → apply-at-exit-Z34ZOT4A.js.map} +1 -1
  17. package/dist/chunks/{archive-ED4CWEU2.js → archive-UMNSALTJ.js} +16 -13
  18. package/dist/chunks/archive-UMNSALTJ.js.map +6 -0
  19. package/dist/chunks/auth-2NEDWCS7.js +242 -0
  20. package/dist/chunks/auth-2NEDWCS7.js.map +6 -0
  21. package/dist/chunks/{bin-main-JDJ6LEOK.js → bin-main-2E6XD7MQ.js} +8 -8
  22. package/dist/chunks/{binding-NU3G3EBQ.js → binding-NAPEU62B.js} +3 -3
  23. package/dist/chunks/browser-M7U6GZOY.js +76 -0
  24. package/dist/chunks/browser-M7U6GZOY.js.map +6 -0
  25. package/dist/chunks/{chat-ISFH5CPZ.js → chat-34SAREPI.js} +17 -18
  26. package/dist/chunks/chat-34SAREPI.js.map +6 -0
  27. package/dist/chunks/{chunk-C4CUPDOU.js → chunk-27ICMJVV.js} +3 -3
  28. package/dist/chunks/{chunk-6XIPTDOH.js → chunk-2D5WW5KP.js} +2 -2
  29. package/dist/chunks/{chunk-T3VMBZEY.js → chunk-2GKFWJ3O.js} +7 -186
  30. package/dist/chunks/chunk-2GKFWJ3O.js.map +6 -0
  31. package/dist/chunks/{chunk-K3NVHXN7.js → chunk-2J2Z6S3V.js} +21 -21
  32. package/dist/chunks/{chunk-G3WCIRCZ.js → chunk-2PRVGX6U.js} +8 -8
  33. package/dist/chunks/chunk-2QJNPJOC.js +39 -0
  34. package/dist/chunks/chunk-2QJNPJOC.js.map +6 -0
  35. package/dist/chunks/{chunk-K5FGK5AP.js → chunk-32CPPPKX.js} +3 -3
  36. package/dist/chunks/{chunk-ETDOSJF7.js → chunk-3SBROSVS.js} +2 -2
  37. package/dist/chunks/{chunk-ZT3DLJQZ.js → chunk-3ZL6YBMT.js} +6 -6
  38. package/dist/chunks/chunk-4AWE33MD.js +186 -0
  39. package/dist/chunks/chunk-4AWE33MD.js.map +6 -0
  40. package/dist/chunks/{chunk-C534SIJI.js → chunk-4RCXY7WO.js} +2 -2
  41. package/dist/chunks/{chunk-IH5NEU2Y.js → chunk-4WLMPRGO.js} +4 -4
  42. package/dist/chunks/{chunk-IH5NEU2Y.js.map → chunk-4WLMPRGO.js.map} +1 -1
  43. package/dist/chunks/{chunk-NQ3MZ6N4.js → chunk-4YQJ262B.js} +2 -2
  44. package/dist/chunks/{chunk-WEL6L6DN.js → chunk-52DZTN4C.js} +5 -3
  45. package/dist/chunks/{chunk-QF4HGWRL.js → chunk-5564PCLT.js} +11 -9
  46. package/dist/chunks/chunk-5564PCLT.js.map +6 -0
  47. package/dist/chunks/{chunk-2TU3QQRG.js → chunk-5COLG33E.js} +35 -6
  48. package/dist/chunks/chunk-5COLG33E.js.map +6 -0
  49. package/dist/chunks/{chunk-MTSXDMJB.js → chunk-5GI7W4SM.js} +9 -9
  50. package/dist/chunks/{chunk-I7WXDTCF.js → chunk-5NIQMCRF.js} +2 -2
  51. package/dist/chunks/{chunk-JOORBY5L.js → chunk-5WS5Q2KW.js} +3 -3
  52. package/dist/chunks/{chunk-T5MBQXU2.js → chunk-655EBPZH.js} +36 -12
  53. package/dist/chunks/{chunk-T5MBQXU2.js.map → chunk-655EBPZH.js.map} +1 -1
  54. package/dist/chunks/{chunk-7EL5RPEU.js → chunk-66DFXMZG.js} +5 -5
  55. package/dist/chunks/{chunk-6SEDSZBH.js → chunk-6MMKNZYL.js} +3 -3
  56. package/dist/chunks/{chunk-Y3KKZ7HS.js → chunk-6QQVZXUE.js} +2 -2
  57. package/dist/chunks/{chunk-X2JFYB5A.js → chunk-6RBEIDSC.js} +3 -3
  58. package/dist/chunks/{chunk-IRCAPHCE.js → chunk-6V4VYVRZ.js} +2 -2
  59. package/dist/chunks/{chunk-QJYK566B.js → chunk-6ZWEKSAV.js} +7 -7
  60. package/dist/chunks/{chunk-AFNHI46Y.js → chunk-774DAIPO.js} +1188 -744
  61. package/dist/chunks/chunk-774DAIPO.js.map +6 -0
  62. package/dist/chunks/{chunk-F7ECENUK.js → chunk-7BSLOLTU.js} +2 -2
  63. package/dist/chunks/{chunk-TOADRNOV.js → chunk-7BXJPOEG.js} +4 -4
  64. package/dist/chunks/{chunk-BFTAE67C.js → chunk-7DERK6IR.js} +3 -3
  65. package/dist/chunks/{chunk-4KGXEARZ.js → chunk-7EASTT3H.js} +2 -2
  66. package/dist/chunks/{chunk-OP2GILCA.js → chunk-7LCU5IKH.js} +20 -20
  67. package/dist/chunks/{chunk-OP2GILCA.js.map → chunk-7LCU5IKH.js.map} +1 -1
  68. package/dist/chunks/{chunk-5PTXGBPL.js → chunk-7MYLYFIV.js} +2 -2
  69. package/dist/chunks/{chunk-KOVWQARO.js → chunk-7NAHUZAR.js} +2 -2
  70. package/dist/chunks/{chunk-GQU3OUV5.js → chunk-7NQLCFYX.js} +5 -5
  71. package/dist/chunks/{chunk-ICQYIDIR.js → chunk-7ROZ2N57.js} +35 -3
  72. package/dist/chunks/chunk-7ROZ2N57.js.map +6 -0
  73. package/dist/chunks/{chunk-SIG7WHBU.js → chunk-7YC42EXB.js} +5 -1
  74. package/dist/chunks/{chunk-SIG7WHBU.js.map → chunk-7YC42EXB.js.map} +1 -1
  75. package/dist/chunks/{chunk-JRIDJW3W.js → chunk-A5O5VTQM.js} +3 -3
  76. package/dist/chunks/{chunk-VFB4ZUOR.js → chunk-ADLNBLRA.js} +28 -16
  77. package/dist/chunks/chunk-ADLNBLRA.js.map +6 -0
  78. package/dist/chunks/{chunk-JB3UZ7JJ.js → chunk-BATWKQWV.js} +2 -2
  79. package/dist/chunks/{chunk-6JAWZGSH.js → chunk-CK47DTW6.js} +5 -5
  80. package/dist/chunks/{chunk-P7UV5M73.js → chunk-CSO7BHDJ.js} +2 -2
  81. package/dist/chunks/{chunk-ECDMJNZU.js → chunk-D42SQGEO.js} +2 -2
  82. package/dist/chunks/{chunk-DYCSVG2K.js → chunk-DIBXZBOP.js} +7 -7
  83. package/dist/chunks/{chunk-3ZHOM2L7.js → chunk-DZA7UXA2.js} +15 -63
  84. package/dist/chunks/chunk-DZA7UXA2.js.map +6 -0
  85. package/dist/chunks/{chunk-CJUK4IWQ.js → chunk-EFWF72V4.js} +3 -3
  86. package/dist/chunks/{chunk-A4I24ISL.js → chunk-ENNAZGUX.js} +3 -3
  87. package/dist/chunks/{chunk-5GRTRQTV.js → chunk-EOLXS2ZV.js} +5 -5
  88. package/dist/chunks/{chunk-QF2FZ2DM.js → chunk-ESHAWCBR.js} +43 -12
  89. package/dist/chunks/chunk-ESHAWCBR.js.map +6 -0
  90. package/dist/chunks/{chunk-YBAPUTER.js → chunk-F6NUMURW.js} +3 -3
  91. package/dist/chunks/{chunk-LD4COIFG.js → chunk-FJG7JN4W.js} +5 -5
  92. package/dist/chunks/{chunk-LD4COIFG.js.map → chunk-FJG7JN4W.js.map} +1 -1
  93. package/dist/chunks/{chunk-ZFQOF5A5.js → chunk-FZPIEOFR.js} +3 -3
  94. package/dist/chunks/{chunk-372SLS6Y.js → chunk-G7UGGWOR.js} +2 -2
  95. package/dist/chunks/{chunk-4PX62LQ2.js → chunk-GLZJBFDO.js} +4 -4
  96. package/dist/chunks/{chunk-O5YDY6XR.js → chunk-GVLU2YM7.js} +17 -20
  97. package/dist/chunks/{chunk-O5YDY6XR.js.map → chunk-GVLU2YM7.js.map} +1 -1
  98. package/dist/chunks/{chunk-QERO7OI6.js → chunk-HBGRWJU5.js} +13 -13
  99. package/dist/chunks/{chunk-DBXWOXG3.js → chunk-HGOU2QRN.js} +19 -19
  100. package/dist/chunks/{chunk-DBXWOXG3.js.map → chunk-HGOU2QRN.js.map} +1 -1
  101. package/dist/chunks/{chunk-BQR2C4RM.js → chunk-HICZARAY.js} +2 -2
  102. package/dist/chunks/{chunk-HQFAVCTF.js → chunk-HONSYTUC.js} +4 -4
  103. package/dist/chunks/{chunk-XYF26ZUO.js → chunk-HRKY4ARS.js} +13 -11
  104. package/dist/chunks/chunk-HRKY4ARS.js.map +6 -0
  105. package/dist/chunks/{chunk-X4W4DN3S.js → chunk-I5BNXO63.js} +2 -2
  106. package/dist/chunks/{chunk-RF6EIDPV.js → chunk-IBENEKM4.js} +27 -5
  107. package/dist/chunks/chunk-IBENEKM4.js.map +6 -0
  108. package/dist/chunks/{chunk-DID4WFOD.js → chunk-IH2JBJ6I.js} +4 -4
  109. package/dist/chunks/{chunk-5X4XLHLF.js → chunk-J4GPHTRN.js} +8 -8
  110. package/dist/chunks/{chunk-I5CWCNRN.js → chunk-JFA2XPTW.js} +5 -5
  111. package/dist/chunks/{chunk-IT2OFHF7.js → chunk-JSY23B3Q.js} +3 -3
  112. package/dist/chunks/{chunk-L2Q467T7.js → chunk-JX6O7Y55.js} +4 -4
  113. package/dist/chunks/{chunk-L2Q467T7.js.map → chunk-JX6O7Y55.js.map} +1 -1
  114. package/dist/chunks/{chunk-U77GVCK3.js → chunk-K5VLCRHY.js} +2 -2
  115. package/dist/chunks/chunk-K7ZQYJJE.js +197 -0
  116. package/dist/chunks/chunk-K7ZQYJJE.js.map +6 -0
  117. package/dist/chunks/{chunk-7AXLZKTB.js → chunk-KCBOIL5Q.js} +7 -7
  118. package/dist/chunks/{chunk-KE53UTUG.js → chunk-KIWLK2WZ.js} +7 -9
  119. package/dist/chunks/chunk-KIWLK2WZ.js.map +6 -0
  120. package/dist/chunks/chunk-L4LGUBYZ.js +167 -0
  121. package/dist/chunks/chunk-L4LGUBYZ.js.map +6 -0
  122. package/dist/chunks/{chunk-X7QC2Q7P.js → chunk-L5FCGDB7.js} +1674 -688
  123. package/dist/chunks/chunk-L5FCGDB7.js.map +6 -0
  124. package/dist/chunks/{chunk-LS5KVRMV.js → chunk-LM2OGSW5.js} +6 -6
  125. package/dist/chunks/{chunk-LS5KVRMV.js.map → chunk-LM2OGSW5.js.map} +1 -1
  126. package/dist/chunks/{chunk-QUI2ZAGY.js → chunk-LRUY5C6H.js} +83 -18
  127. package/dist/chunks/chunk-LRUY5C6H.js.map +6 -0
  128. package/dist/chunks/{chunk-QW3Y3RDE.js → chunk-MJ32RCFZ.js} +4 -4
  129. package/dist/chunks/{chunk-Q4LXBL4Z.js → chunk-MJJA277Z.js} +19 -4
  130. package/dist/chunks/{chunk-Q4LXBL4Z.js.map → chunk-MJJA277Z.js.map} +1 -1
  131. package/dist/chunks/{chunk-5TJZWGTZ.js → chunk-MOY2OERC.js} +463 -135
  132. package/dist/chunks/chunk-MOY2OERC.js.map +6 -0
  133. package/dist/chunks/{chunk-PHDA4JI7.js → chunk-MX3U5TBQ.js} +17 -6
  134. package/dist/chunks/chunk-MX3U5TBQ.js.map +6 -0
  135. package/dist/chunks/{chunk-WIO3JRB5.js → chunk-NBJ4OTXL.js} +8 -8
  136. package/dist/chunks/{chunk-BFYETM56.js → chunk-NFTQDITK.js} +91 -6
  137. package/dist/chunks/chunk-NFTQDITK.js.map +6 -0
  138. package/dist/chunks/{chunk-66ZXPQGB.js → chunk-NO3F3QQ3.js} +13 -13
  139. package/dist/chunks/{chunk-LJDAHRWI.js → chunk-NQYOMRPT.js} +2 -2
  140. package/dist/chunks/{chunk-WXCJTJK4.js → chunk-O6C4RETO.js} +3 -3
  141. package/dist/chunks/{chunk-W5TYUJI5.js → chunk-O6EDUJ77.js} +6 -6
  142. package/dist/chunks/{chunk-F7LHGSEQ.js → chunk-OD2PMTXS.js} +3 -3
  143. package/dist/chunks/{chunk-5LDYBGOZ.js → chunk-OGEOUETU.js} +3 -3
  144. package/dist/chunks/{chunk-WSO7YQLR.js → chunk-OY3UN3KD.js} +145 -3
  145. package/dist/chunks/{chunk-WSO7YQLR.js.map → chunk-OY3UN3KD.js.map} +2 -2
  146. package/dist/chunks/chunk-P6RYPNSD.js +435 -0
  147. package/dist/chunks/chunk-P6RYPNSD.js.map +6 -0
  148. package/dist/chunks/{chunk-MI6WMBDQ.js → chunk-PYTTGYZS.js} +3 -3
  149. package/dist/chunks/chunk-RHJOIAFS.js +201 -0
  150. package/dist/chunks/chunk-RHJOIAFS.js.map +6 -0
  151. package/dist/chunks/{chunk-U2MFIQ6X.js → chunk-RR7FS6SQ.js} +3 -3
  152. package/dist/chunks/{chunk-7O2WNQQZ.js → chunk-RTMX7IDM.js} +2 -2
  153. package/dist/chunks/{chunk-ZAPPY4VF.js → chunk-S4OEUN6F.js} +2 -2
  154. package/dist/chunks/{chunk-EXE7JBHE.js → chunk-SEVORRUA.js} +2 -2
  155. package/dist/chunks/{chunk-WCPKRDGR.js → chunk-TAIC3PC2.js} +3 -3
  156. package/dist/chunks/{chunk-AF4ILHID.js → chunk-TGLXWW5B.js} +3 -3
  157. package/dist/chunks/{chunk-4YN7VGLV.js → chunk-TJAUF5NX.js} +3 -3
  158. package/dist/chunks/{chunk-AWU5MYX3.js → chunk-TL535OCL.js} +29 -13
  159. package/dist/chunks/chunk-TL535OCL.js.map +6 -0
  160. package/dist/chunks/{chunk-E7RD32NX.js → chunk-TSU4F6DF.js} +2 -2
  161. package/dist/chunks/{chunk-MPIYLDWJ.js → chunk-TXMWKHYW.js} +2 -2
  162. package/dist/chunks/{chunk-6F3M3P3W.js → chunk-U4DBETHR.js} +807 -755
  163. package/dist/chunks/chunk-U4DBETHR.js.map +6 -0
  164. package/dist/chunks/{chunk-PYR7VRWF.js → chunk-UBGDYBSQ.js} +2 -2
  165. package/dist/chunks/{chunk-73VS7EXG.js → chunk-ULFR2FWA.js} +2 -2
  166. package/dist/chunks/{chunk-HXW5DQLU.js → chunk-UMPJ4VXN.js} +4 -4
  167. package/dist/chunks/{chunk-MN426ZWA.js → chunk-URZPVSHV.js} +4 -4
  168. package/dist/chunks/{chunk-7WDKN3QG.js → chunk-UXLQNJDR.js} +4 -4
  169. package/dist/chunks/{chunk-QS44GK4N.js → chunk-WEPINZBQ.js} +12 -4
  170. package/dist/chunks/{chunk-QS44GK4N.js.map → chunk-WEPINZBQ.js.map} +1 -1
  171. package/dist/chunks/{chunk-GWH6BOVE.js → chunk-XQZMTH3S.js} +12 -40
  172. package/dist/chunks/chunk-XQZMTH3S.js.map +6 -0
  173. package/dist/chunks/{chunk-SQ32S3OE.js → chunk-XWP64X6U.js} +6 -6
  174. package/dist/chunks/{chunk-YQOT7ABG.js → chunk-Y3NC6RIL.js} +4 -4
  175. package/dist/chunks/{chunk-LMPUBX5R.js → chunk-YEWJVAM4.js} +57 -9
  176. package/dist/chunks/chunk-YEWJVAM4.js.map +6 -0
  177. package/dist/chunks/{chunk-FNSWIOFJ.js → chunk-ZDMI3JSL.js} +26 -4
  178. package/dist/chunks/{chunk-FNSWIOFJ.js.map → chunk-ZDMI3JSL.js.map} +1 -1
  179. package/dist/chunks/{cli-runtime-2HOSJR5Y.js → cli-runtime-BLOWAO6Q.js} +34 -19
  180. package/dist/chunks/cli-runtime-BLOWAO6Q.js.map +6 -0
  181. package/dist/chunks/{commands-TKD5BHAC.js → commands-VWBRELWZ.js} +6 -6
  182. package/dist/chunks/{computer-FQRWTC6M.js → computer-6P3GAOV2.js} +15 -7
  183. package/dist/chunks/computer-6P3GAOV2.js.map +6 -0
  184. package/dist/chunks/{config-2JST7BZT.js → config-77NN5LSS.js} +20 -17
  185. package/dist/chunks/config-77NN5LSS.js.map +6 -0
  186. package/dist/chunks/{cost-AZAQ3AC5.js → cost-IVLAFD5T.js} +5 -5
  187. package/dist/chunks/{crash-report-IYMUJRDT.js → crash-report-CA3Y7LA6.js} +6 -6
  188. package/dist/chunks/{dist-5JRS362B.js → dist-3SGAVJFN.js} +2 -2
  189. package/dist/chunks/{dist-PYOYSQIZ.js → dist-5G52QS75.js} +193 -33
  190. package/dist/chunks/dist-5G52QS75.js.map +6 -0
  191. package/dist/chunks/{dist-S4GG5BOF.js → dist-7BSYEFE5.js} +2 -2
  192. package/dist/chunks/{dist-SPKR3SBF.js → dist-AM6FWCIJ.js} +10 -2
  193. package/dist/chunks/{dist-YGZEZT7E.js → dist-ISRJEZRF.js} +2 -2
  194. package/dist/chunks/{dist-BECOVIWQ.js → dist-PBFZXU4L.js} +2 -2
  195. package/dist/chunks/{dist-VQGHI5SR.js → dist-RDXEBTCL.js} +2 -2
  196. package/dist/chunks/{dist-NLY5ZLEK.js → dist-V43PPTPF.js} +2 -2
  197. package/dist/chunks/{doctor-MYN7YCXB.js → doctor-FGOCO7UR.js} +39 -39
  198. package/dist/chunks/{drain-IEZMA72M.js → drain-A3DLR5A4.js} +18 -18
  199. package/dist/chunks/{entry-SS5QYOOM.js → entry-4LHTI3VQ.js} +6 -6
  200. package/dist/chunks/{eval-4QK2EYXU.js → eval-IYWGGPWF.js} +12 -12
  201. package/dist/chunks/{eval-4QK2EYXU.js.map → eval-IYWGGPWF.js.map} +1 -1
  202. package/dist/chunks/{exec-Z6TIWDJM.js → exec-HWK44ZYI.js} +104 -60
  203. package/dist/chunks/exec-HWK44ZYI.js.map +6 -0
  204. package/dist/chunks/{extension-4SMB7XQP.js → extension-BP7Q3PFK.js} +5 -5
  205. package/dist/chunks/{github-X352BD5R.js → github-IF3JVVJF.js} +5 -1
  206. package/dist/chunks/github-IF3JVVJF.js.map +6 -0
  207. package/dist/chunks/{home-YYLBZ3E7.js → home-GR6YDAAE.js} +3 -3
  208. package/dist/chunks/{hooks-KVCP7AHB.js → hooks-KSSNBDF2.js} +22 -22
  209. package/dist/chunks/{hooks-report-7BAQ5FJD.js → hooks-report-H4JAHJXE.js} +18 -18
  210. package/dist/chunks/{host-CAZNAKUM.js → host-ISKJDJ7B.js} +10 -10
  211. package/dist/chunks/host-queries-CUG75GYD.js +37 -0
  212. package/dist/chunks/{installed-list-X7D2METU.js → installed-list-GPVOP4E3.js} +4 -4
  213. package/dist/chunks/{learn-BSA4OH3O.js → learn-AFNJQGOU.js} +18 -18
  214. package/dist/chunks/{learn-builtin-YIJE4KDM.js → learn-builtin-LUD6XO6W.js} +21 -21
  215. package/dist/chunks/{lifecycle-4CCVUYHX.js → lifecycle-TCRMEVJP.js} +31 -32
  216. package/dist/chunks/{list-Y365NWT5.js → list-4OJNF5N2.js} +16 -16
  217. package/dist/chunks/{live-3URICZBD.js → live-LJ76XHPK.js} +38 -38
  218. package/dist/chunks/{load-LXAWOITU.js → load-2ERMTCD4.js} +12 -10
  219. package/dist/chunks/{logs-OGG4QEIR.js → logs-DV6GC7PT.js} +4 -4
  220. package/dist/chunks/{mcp-VCZRILZ2.js → mcp-5VV24FGZ.js} +449 -61
  221. package/dist/chunks/mcp-5VV24FGZ.js.map +6 -0
  222. package/dist/chunks/mcp-serve-TT4Q7V55.js +311 -0
  223. package/dist/chunks/mcp-serve-TT4Q7V55.js.map +6 -0
  224. package/dist/chunks/{message-command-RN3TYTUE.js → message-command-6RHBI3R4.js} +56 -54
  225. package/dist/chunks/message-command-6RHBI3R4.js.map +6 -0
  226. package/dist/chunks/{open-S3T2QSFD.js → open-3VUS3XWX.js} +7 -7
  227. package/dist/chunks/{operator-tools-4FKDVXEJ.js → operator-tools-BZ5X5ZDE.js} +15 -16
  228. package/dist/chunks/operator-tools-BZ5X5ZDE.js.map +6 -0
  229. package/dist/chunks/{output-schema-JZS2DYJS.js → output-schema-2GHHC5ZZ.js} +3 -3
  230. package/dist/chunks/{pal-N4BQKNXH.js → pal-TT7X5JF3.js} +150 -15
  231. package/dist/chunks/pal-TT7X5JF3.js.map +6 -0
  232. package/dist/chunks/{peers-3QJCXMVT.js → peers-SJFCJTA6.js} +149 -19
  233. package/dist/chunks/peers-SJFCJTA6.js.map +6 -0
  234. package/dist/chunks/{peers-B46EOYXB.js → peers-SLFOET3O.js} +7 -7
  235. package/dist/chunks/{plugin-SJ3Y2P53.js → plugin-I35EQ4CC.js} +22 -18
  236. package/dist/chunks/plugin-I35EQ4CC.js.map +6 -0
  237. package/dist/chunks/{providers-6HCMKQUI.js → providers-MX47EUPL.js} +22 -19
  238. package/dist/chunks/providers-MX47EUPL.js.map +6 -0
  239. package/dist/chunks/{providers-AAGYOW7X.js → providers-SOFGNZ4F.js} +10 -10
  240. package/dist/chunks/{pty-Y6DQ3O7S.js → pty-3T7AE7ZA.js} +3 -3
  241. package/dist/chunks/resume-5JACRBQO.js +25 -0
  242. package/dist/chunks/{resume-command-GPX3ZFJG.js → resume-command-H4FOREZO.js} +4 -4
  243. package/dist/chunks/{running-XXZFJXM2.js → running-NONPWC5C.js} +4 -4
  244. package/dist/chunks/{schedule-36SDQUHA.js → schedule-BWR4NKGX.js} +245 -10
  245. package/dist/chunks/schedule-BWR4NKGX.js.map +6 -0
  246. package/dist/chunks/{send-3I5I445I.js → send-H27WTBLZ.js} +18 -18
  247. package/dist/chunks/send-person-NNGL2U4H.js +31 -0
  248. package/dist/chunks/{serve-CZDHGDZL.js → serve-4VIDXLEB.js} +2 -2
  249. package/dist/chunks/{service-2KVKUVPK.js → service-NVOIN2MV.js} +32 -33
  250. package/dist/chunks/service-NVOIN2MV.js.map +6 -0
  251. package/dist/chunks/{setting-cli-BIG2WZWH.js → setting-cli-ETVPDSRA.js} +13 -13
  252. package/dist/chunks/{skills-ROGIKQBK.js → skills-XAONTP56.js} +28 -25
  253. package/dist/chunks/skills-XAONTP56.js.map +6 -0
  254. package/dist/chunks/{start-check-WZ3L3FAC.js → start-check-A5FG7224.js} +2 -2
  255. package/dist/chunks/{startup-failure-Y6OKFLWB.js → startup-failure-6MZNIJXI.js} +2 -2
  256. package/dist/chunks/{state-EK4XKBK5.js → state-MVYWWBAA.js} +556 -26
  257. package/dist/chunks/state-MVYWWBAA.js.map +6 -0
  258. package/dist/chunks/{store-IOOFZ6PN.js → store-4PPSKMYT.js} +3 -3
  259. package/dist/chunks/{store-A6ZRPCAB.js → store-5K5HIPUT.js} +12 -13
  260. package/dist/chunks/{store-FLT5PL3C.js → store-6WG6CRWK.js} +4 -4
  261. package/dist/chunks/{store-NX2MC2JN.js → store-UPAOLS5B.js} +8 -8
  262. package/dist/chunks/{tui-DT36PST5.js → tui-MRMMX2TV.js} +99 -87
  263. package/dist/chunks/tui-MRMMX2TV.js.map +6 -0
  264. package/dist/chunks/{upgrade-AHGIHDGH.js → update-RMHLR4LI.js} +35 -35
  265. package/dist/chunks/{upgrade-AHGIHDGH.js.map → update-RMHLR4LI.js.map} +2 -2
  266. package/dist/chunks/{watch-AFI4NLCR.js → watch-3QQJ4XHX.js} +93 -89
  267. package/dist/chunks/watch-3QQJ4XHX.js.map +6 -0
  268. package/dist/chunks/{workspaces-QKVXLISC.js → workspaces-HEA2VNIH.js} +15 -20
  269. package/dist/chunks/workspaces-HEA2VNIH.js.map +6 -0
  270. package/dist/chunks/{worktree-NWJLCB5C.js → worktree-NAVT42R4.js} +26 -23
  271. package/dist/chunks/worktree-NAVT42R4.js.map +6 -0
  272. package/dist/cli-runtime.d.ts +3 -1
  273. package/dist/cli-runtime.d.ts.map +1 -1
  274. package/dist/cli.d.ts +15 -0
  275. package/dist/cli.d.ts.map +1 -1
  276. package/dist/commands/acp-browser-pane.d.ts +81 -0
  277. package/dist/commands/acp-browser-pane.d.ts.map +1 -0
  278. package/dist/commands/acp-provider-retry.d.ts +2 -1
  279. package/dist/commands/acp-provider-retry.d.ts.map +1 -1
  280. package/dist/commands/acp.d.ts +18 -1
  281. package/dist/commands/acp.d.ts.map +1 -1
  282. package/dist/commands/action-help.d.ts +37 -0
  283. package/dist/commands/action-help.d.ts.map +1 -0
  284. package/dist/commands/actions/auth.d.ts +3 -0
  285. package/dist/commands/actions/auth.d.ts.map +1 -0
  286. package/dist/commands/actions/browser.d.ts +3 -0
  287. package/dist/commands/actions/browser.d.ts.map +1 -0
  288. package/dist/commands/actions/extension.d.ts +3 -0
  289. package/dist/commands/actions/extension.d.ts.map +1 -0
  290. package/dist/commands/actions/mcp.d.ts +3 -0
  291. package/dist/commands/actions/mcp.d.ts.map +1 -0
  292. package/dist/commands/actions/pal.d.ts +3 -0
  293. package/dist/commands/actions/pal.d.ts.map +1 -0
  294. package/dist/commands/actions/peers.d.ts +3 -0
  295. package/dist/commands/actions/peers.d.ts.map +1 -0
  296. package/dist/commands/actions/schedule.d.ts +3 -0
  297. package/dist/commands/actions/schedule.d.ts.map +1 -0
  298. package/dist/commands/actions/small.d.ts +11 -0
  299. package/dist/commands/actions/small.d.ts.map +1 -0
  300. package/dist/commands/archive.d.ts.map +1 -1
  301. package/dist/commands/auth-status.d.ts +24 -0
  302. package/dist/commands/auth-status.d.ts.map +1 -0
  303. package/dist/commands/auth.d.ts +9 -0
  304. package/dist/commands/auth.d.ts.map +1 -0
  305. package/dist/commands/browser.d.ts.map +1 -1
  306. package/dist/commands/computer.d.ts.map +1 -1
  307. package/dist/commands/config.d.ts.map +1 -1
  308. package/dist/commands/desktop-host.d.ts +3 -3
  309. package/dist/commands/desktop-host.d.ts.map +1 -1
  310. package/dist/commands/exec-flags.d.ts +17 -3
  311. package/dist/commands/exec-flags.d.ts.map +1 -1
  312. package/dist/commands/exec-json.d.ts.map +1 -1
  313. package/dist/commands/exec.d.ts.map +1 -1
  314. package/dist/commands/extension.d.ts.map +1 -1
  315. package/dist/commands/github.d.ts.map +1 -1
  316. package/dist/commands/launch-extras.d.ts +48 -0
  317. package/dist/commands/launch-extras.d.ts.map +1 -0
  318. package/dist/commands/lazy.d.ts +3 -3
  319. package/dist/commands/lazy.d.ts.map +1 -1
  320. package/dist/commands/login.d.ts +1 -1
  321. package/dist/commands/manifest.d.ts +3 -4
  322. package/dist/commands/manifest.d.ts.map +1 -1
  323. package/dist/commands/mcp-serve.d.ts +16 -0
  324. package/dist/commands/mcp-serve.d.ts.map +1 -0
  325. package/dist/commands/mcp.d.ts.map +1 -1
  326. package/dist/commands/pal.d.ts.map +1 -1
  327. package/dist/commands/peers.d.ts.map +1 -1
  328. package/dist/commands/plugin.d.ts.map +1 -1
  329. package/dist/commands/providers.d.ts.map +1 -1
  330. package/dist/commands/registry.d.ts.map +1 -1
  331. package/dist/commands/run-flags.d.ts +10 -2
  332. package/dist/commands/run-flags.d.ts.map +1 -1
  333. package/dist/commands/schedule.d.ts.map +1 -1
  334. package/dist/commands/skills.d.ts.map +1 -1
  335. package/dist/commands/state.d.ts +11 -0
  336. package/dist/commands/state.d.ts.map +1 -1
  337. package/dist/commands/types.d.ts +9 -2
  338. package/dist/commands/types.d.ts.map +1 -1
  339. package/dist/commands/{upgrade-progress.d.ts → update-progress.d.ts} +3 -3
  340. package/dist/commands/update-progress.d.ts.map +1 -0
  341. package/dist/commands/{upgrade.d.ts → update.d.ts} +9 -9
  342. package/dist/commands/update.d.ts.map +1 -0
  343. package/dist/commands/workspaces.d.ts +1 -1
  344. package/dist/commands/workspaces.d.ts.map +1 -1
  345. package/dist/commands/worktree.d.ts.map +1 -1
  346. package/dist/computer/run.d.ts.map +1 -1
  347. package/dist/config/debug.d.ts.map +1 -1
  348. package/dist/config/hooks-report.d.ts +3 -1
  349. package/dist/config/hooks-report.d.ts.map +1 -1
  350. package/dist/config/load.d.ts +37 -0
  351. package/dist/config/load.d.ts.map +1 -1
  352. package/dist/config/schema.d.ts +15 -2
  353. package/dist/config/schema.d.ts.map +1 -1
  354. package/dist/config/settings-descriptors.d.ts +4 -0
  355. package/dist/config/settings-descriptors.d.ts.map +1 -1
  356. package/dist/config/turn-duration-default.d.ts +6 -0
  357. package/dist/config/turn-duration-default.d.ts.map +1 -0
  358. package/dist/context/doctrine.d.ts.map +1 -1
  359. package/dist/context/environment.d.ts +18 -0
  360. package/dist/context/environment.d.ts.map +1 -1
  361. package/dist/context/file-placement.d.ts.map +1 -1
  362. package/dist/context/project-tracker.d.ts +3 -0
  363. package/dist/context/project-tracker.d.ts.map +1 -1
  364. package/dist/context/system-prompt.d.ts +6 -0
  365. package/dist/context/system-prompt.d.ts.map +1 -1
  366. package/dist/index.js +39 -39
  367. package/dist/integrations/auto-update/apply.d.ts +1 -1
  368. package/dist/integrations/auto-update/apply.d.ts.map +1 -1
  369. package/dist/integrations/auto-update/policy.d.ts +1 -1
  370. package/dist/integrations/auto-update/policy.d.ts.map +1 -1
  371. package/dist/integrations/auto-update/state.d.ts +1 -1
  372. package/dist/integrations/auto-update/state.d.ts.map +1 -1
  373. package/dist/integrations/mcp/project-file.d.ts +16 -0
  374. package/dist/integrations/mcp/project-file.d.ts.map +1 -0
  375. package/dist/integrations/mcp/serve.d.ts +55 -0
  376. package/dist/integrations/mcp/serve.d.ts.map +1 -0
  377. package/dist/integrations/mcp/servers.d.ts +6 -0
  378. package/dist/integrations/mcp/servers.d.ts.map +1 -1
  379. package/dist/integrations/mcp/shared-file.d.ts +2 -1
  380. package/dist/integrations/mcp/shared-file.d.ts.map +1 -1
  381. package/dist/integrations/network/controller.d.ts.map +1 -1
  382. package/dist/integrations/network/format.d.ts.map +1 -1
  383. package/dist/integrations/network/runtime.d.ts +7 -0
  384. package/dist/integrations/network/runtime.d.ts.map +1 -1
  385. package/dist/integrations/network/types.d.ts +2 -0
  386. package/dist/integrations/network/types.d.ts.map +1 -1
  387. package/dist/integrations/npm-global.d.ts +2 -2
  388. package/dist/integrations/npm-global.d.ts.map +1 -1
  389. package/dist/integrations/outstanding/status.d.ts +4 -0
  390. package/dist/integrations/outstanding/status.d.ts.map +1 -1
  391. package/dist/integrations/providers/connections.d.ts +1 -1
  392. package/dist/integrations/providers/connections.d.ts.map +1 -1
  393. package/dist/integrations/providers/pending-login.d.ts +1 -1
  394. package/dist/integrations/providers/subscription-login.d.ts +1 -1
  395. package/dist/integrations/sessions/session-watch.d.ts +8 -1
  396. package/dist/integrations/sessions/session-watch.d.ts.map +1 -1
  397. package/dist/integrations/state/purge.d.ts +66 -0
  398. package/dist/integrations/state/purge.d.ts.map +1 -0
  399. package/dist/integrations/subagents/activity.d.ts +1 -1
  400. package/dist/integrations/subagents/agent-names.d.ts +1 -1
  401. package/dist/integrations/subagents/row-labels.d.ts +18 -0
  402. package/dist/integrations/subagents/row-labels.d.ts.map +1 -0
  403. package/dist/integrations/subagents/runtime.d.ts +8 -1
  404. package/dist/integrations/subagents/runtime.d.ts.map +1 -1
  405. package/dist/integrations/subagents/stop-guidance.d.ts +14 -0
  406. package/dist/integrations/subagents/stop-guidance.d.ts.map +1 -0
  407. package/dist/integrations/web/open-url.d.ts +1 -1
  408. package/dist/integrations/web/search.d.ts +1 -1
  409. package/dist/integrations/workflows/host.d.ts.map +1 -1
  410. package/dist/integrations/workflows/notice.d.ts +9 -0
  411. package/dist/integrations/workflows/notice.d.ts.map +1 -1
  412. package/dist/integrations/workflows/offering.d.ts +3 -2
  413. package/dist/integrations/workflows/offering.d.ts.map +1 -1
  414. package/dist/integrations/workflows/orphans.d.ts +17 -0
  415. package/dist/integrations/workflows/orphans.d.ts.map +1 -1
  416. package/dist/integrations/workflows/owners.d.ts +17 -0
  417. package/dist/integrations/workflows/owners.d.ts.map +1 -0
  418. package/dist/integrations/workflows/registry.d.ts +17 -2
  419. package/dist/integrations/workflows/registry.d.ts.map +1 -1
  420. package/dist/logging.d.ts +10 -1
  421. package/dist/logging.d.ts.map +1 -1
  422. package/dist/memory/screen-archive.d.ts +2 -0
  423. package/dist/memory/screen-archive.d.ts.map +1 -1
  424. package/dist/permissions/auto-classifier.d.ts.map +1 -1
  425. package/dist/permissions/launch.d.ts +1 -1
  426. package/dist/permissions/mode.d.ts +2 -2
  427. package/dist/permissions/path-rules.d.ts.map +1 -1
  428. package/dist/permissions/rules.d.ts +2 -0
  429. package/dist/permissions/rules.d.ts.map +1 -1
  430. package/dist/permissions/tool-flags.d.ts +5 -1
  431. package/dist/permissions/tool-flags.d.ts.map +1 -1
  432. package/dist/reminders/changed-files.d.ts.map +1 -1
  433. package/dist/reminders/frame.d.ts +1 -1
  434. package/dist/reminders/frame.d.ts.map +1 -1
  435. package/dist/reminders/hypermode.d.ts.map +1 -1
  436. package/dist/reminders/index.d.ts +3 -0
  437. package/dist/reminders/index.d.ts.map +1 -1
  438. package/dist/reminders/memory-nudge.d.ts +20 -0
  439. package/dist/reminders/memory-nudge.d.ts.map +1 -0
  440. package/dist/rounds/types.d.ts +6 -1
  441. package/dist/rounds/types.d.ts.map +1 -1
  442. package/dist/schedule/commands/add.d.ts.map +1 -1
  443. package/dist/schedule/fire/fire.d.ts +1 -1
  444. package/dist/schedule/fire/fire.d.ts.map +1 -1
  445. package/dist/tui/AgentExplorer.d.ts +11 -8
  446. package/dist/tui/AgentExplorer.d.ts.map +1 -1
  447. package/dist/tui/App.d.ts +2 -0
  448. package/dist/tui/App.d.ts.map +1 -1
  449. package/dist/tui/ChoicePicker.d.ts +7 -1
  450. package/dist/tui/ChoicePicker.d.ts.map +1 -1
  451. package/dist/tui/Composer.d.ts +1 -7
  452. package/dist/tui/Composer.d.ts.map +1 -1
  453. package/dist/tui/PendingInputPanel.d.ts +2 -0
  454. package/dist/tui/PendingInputPanel.d.ts.map +1 -1
  455. package/dist/tui/StatusBar.d.ts +8 -1
  456. package/dist/tui/StatusBar.d.ts.map +1 -1
  457. package/dist/tui/agent-calls.d.ts.map +1 -1
  458. package/dist/tui/agent-transcript-rows.d.ts +6 -1
  459. package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
  460. package/dist/tui/agent.d.ts +61 -6
  461. package/dist/tui/agent.d.ts.map +1 -1
  462. package/dist/tui/choice-selection.d.ts +3 -1
  463. package/dist/tui/choice-selection.d.ts.map +1 -1
  464. package/dist/tui/computer-use-live.d.ts +41 -0
  465. package/dist/tui/computer-use-live.d.ts.map +1 -0
  466. package/dist/tui/context-grid.d.ts +5 -0
  467. package/dist/tui/context-grid.d.ts.map +1 -1
  468. package/dist/tui/fullscreen/FullscreenTranscript.d.ts +3 -2
  469. package/dist/tui/fullscreen/FullscreenTranscript.d.ts.map +1 -1
  470. package/dist/tui/keypad-keys.d.ts +1 -1
  471. package/dist/tui/keypad-keys.d.ts.map +1 -1
  472. package/dist/tui/launch-settings.d.ts +2 -0
  473. package/dist/tui/launch-settings.d.ts.map +1 -1
  474. package/dist/tui/login-prompt.d.ts +1 -1
  475. package/dist/tui/notice-display.d.ts +8 -0
  476. package/dist/tui/notice-display.d.ts.map +1 -0
  477. package/dist/tui/outcome-line.d.ts.map +1 -1
  478. package/dist/tui/plain-interruption.d.ts +7 -0
  479. package/dist/tui/plain-interruption.d.ts.map +1 -1
  480. package/dist/tui/restored-rows.d.ts +2 -0
  481. package/dist/tui/restored-rows.d.ts.map +1 -1
  482. package/dist/tui/sign-in-watch.d.ts +31 -0
  483. package/dist/tui/sign-in-watch.d.ts.map +1 -0
  484. package/dist/tui/slashCommands.d.ts +11 -0
  485. package/dist/tui/slashCommands.d.ts.map +1 -1
  486. package/dist/tui/stopped-turn-line.d.ts +22 -0
  487. package/dist/tui/stopped-turn-line.d.ts.map +1 -0
  488. package/dist/tui/tidy-tool-output.d.ts.map +1 -1
  489. package/dist/tui/tool-presentation.d.ts +2 -0
  490. package/dist/tui/tool-presentation.d.ts.map +1 -1
  491. package/dist/tui/turn-duration-setting.d.ts +11 -0
  492. package/dist/tui/turn-duration-setting.d.ts.map +1 -0
  493. package/dist/tui/turn-interruption.d.ts +1 -1
  494. package/dist/tui/turn-interruption.d.ts.map +1 -1
  495. package/dist/tui/types.d.ts +13 -1
  496. package/dist/tui/types.d.ts.map +1 -1
  497. package/dist/tui/untrusted-display.d.ts +12 -0
  498. package/dist/tui/untrusted-display.d.ts.map +1 -0
  499. package/dist/tui/web-activity.d.ts +4 -2
  500. package/dist/tui/web-activity.d.ts.map +1 -1
  501. package/dist/usage-error.d.ts.map +1 -1
  502. package/package.json +5 -5
  503. package/skills/document/SKILL.md +22 -11
  504. package/skills/verify-change/SKILL.md +2 -1
  505. package/dist/chunks/acp-KBPTK4GN.js.map +0 -6
  506. package/dist/chunks/activity-command-JOED2VWN.js.map +0 -6
  507. package/dist/chunks/add-66AQ7SKZ.js.map +0 -6
  508. package/dist/chunks/agent-session-KQIXHDGU.js +0 -87
  509. package/dist/chunks/archive-ED4CWEU2.js.map +0 -6
  510. package/dist/chunks/browser-7DRWOIEZ.js +0 -31
  511. package/dist/chunks/browser-7DRWOIEZ.js.map +0 -6
  512. package/dist/chunks/chat-ISFH5CPZ.js.map +0 -6
  513. package/dist/chunks/chunk-2TU3QQRG.js.map +0 -6
  514. package/dist/chunks/chunk-3ZHOM2L7.js.map +0 -6
  515. package/dist/chunks/chunk-5TJZWGTZ.js.map +0 -6
  516. package/dist/chunks/chunk-6F3M3P3W.js.map +0 -6
  517. package/dist/chunks/chunk-AFNHI46Y.js.map +0 -6
  518. package/dist/chunks/chunk-AWU5MYX3.js.map +0 -6
  519. package/dist/chunks/chunk-BFYETM56.js.map +0 -6
  520. package/dist/chunks/chunk-GBOOHDIH.js +0 -94
  521. package/dist/chunks/chunk-GBOOHDIH.js.map +0 -6
  522. package/dist/chunks/chunk-GWH6BOVE.js.map +0 -6
  523. package/dist/chunks/chunk-ICQYIDIR.js.map +0 -6
  524. package/dist/chunks/chunk-KE53UTUG.js.map +0 -6
  525. package/dist/chunks/chunk-LMPUBX5R.js.map +0 -6
  526. package/dist/chunks/chunk-PHDA4JI7.js.map +0 -6
  527. package/dist/chunks/chunk-QF2FZ2DM.js.map +0 -6
  528. package/dist/chunks/chunk-QF4HGWRL.js.map +0 -6
  529. package/dist/chunks/chunk-QUI2ZAGY.js.map +0 -6
  530. package/dist/chunks/chunk-RF6EIDPV.js.map +0 -6
  531. package/dist/chunks/chunk-T3VMBZEY.js.map +0 -6
  532. package/dist/chunks/chunk-VFB4ZUOR.js.map +0 -6
  533. package/dist/chunks/chunk-X7QC2Q7P.js.map +0 -6
  534. package/dist/chunks/chunk-XYF26ZUO.js.map +0 -6
  535. package/dist/chunks/cli-runtime-2HOSJR5Y.js.map +0 -6
  536. package/dist/chunks/computer-FQRWTC6M.js.map +0 -6
  537. package/dist/chunks/config-2JST7BZT.js.map +0 -6
  538. package/dist/chunks/dist-PYOYSQIZ.js.map +0 -6
  539. package/dist/chunks/exec-Z6TIWDJM.js.map +0 -6
  540. package/dist/chunks/github-X352BD5R.js.map +0 -6
  541. package/dist/chunks/host-queries-NVNPXLV6.js +0 -38
  542. package/dist/chunks/login-QDMS62PW.js +0 -38
  543. package/dist/chunks/mcp-VCZRILZ2.js.map +0 -6
  544. package/dist/chunks/message-command-RN3TYTUE.js.map +0 -6
  545. package/dist/chunks/operator-tools-4FKDVXEJ.js.map +0 -6
  546. package/dist/chunks/pal-N4BQKNXH.js.map +0 -6
  547. package/dist/chunks/peers-3QJCXMVT.js.map +0 -6
  548. package/dist/chunks/plugin-SJ3Y2P53.js.map +0 -6
  549. package/dist/chunks/providers-6HCMKQUI.js.map +0 -6
  550. package/dist/chunks/resume-URQRK5DV.js +0 -26
  551. package/dist/chunks/schedule-36SDQUHA.js.map +0 -6
  552. package/dist/chunks/send-person-YWJEDJLC.js +0 -31
  553. package/dist/chunks/service-2KVKUVPK.js.map +0 -6
  554. package/dist/chunks/skills-ROGIKQBK.js.map +0 -6
  555. package/dist/chunks/state-EK4XKBK5.js.map +0 -6
  556. package/dist/chunks/store-NX2MC2JN.js.map +0 -6
  557. package/dist/chunks/tui-DT36PST5.js.map +0 -6
  558. package/dist/chunks/watch-AFI4NLCR.js.map +0 -6
  559. package/dist/chunks/workspaces-QKVXLISC.js.map +0 -6
  560. package/dist/chunks/worktree-NWJLCB5C.js.map +0 -6
  561. package/dist/commands/upgrade-progress.d.ts.map +0 -1
  562. package/dist/commands/upgrade.d.ts.map +0 -1
  563. /package/dist/chunks/{agent-DL7YTL5B.js.map → agent-MSSMOEBP.js.map} +0 -0
  564. /package/dist/chunks/{agent-session-KQIXHDGU.js.map → agent-session-VCB6HX3E.js.map} +0 -0
  565. /package/dist/chunks/{bin-main-JDJ6LEOK.js.map → bin-main-2E6XD7MQ.js.map} +0 -0
  566. /package/dist/chunks/{binding-NU3G3EBQ.js.map → binding-NAPEU62B.js.map} +0 -0
  567. /package/dist/chunks/{chunk-C4CUPDOU.js.map → chunk-27ICMJVV.js.map} +0 -0
  568. /package/dist/chunks/{chunk-6XIPTDOH.js.map → chunk-2D5WW5KP.js.map} +0 -0
  569. /package/dist/chunks/{chunk-K3NVHXN7.js.map → chunk-2J2Z6S3V.js.map} +0 -0
  570. /package/dist/chunks/{chunk-G3WCIRCZ.js.map → chunk-2PRVGX6U.js.map} +0 -0
  571. /package/dist/chunks/{chunk-K5FGK5AP.js.map → chunk-32CPPPKX.js.map} +0 -0
  572. /package/dist/chunks/{chunk-ETDOSJF7.js.map → chunk-3SBROSVS.js.map} +0 -0
  573. /package/dist/chunks/{chunk-ZT3DLJQZ.js.map → chunk-3ZL6YBMT.js.map} +0 -0
  574. /package/dist/chunks/{chunk-C534SIJI.js.map → chunk-4RCXY7WO.js.map} +0 -0
  575. /package/dist/chunks/{chunk-NQ3MZ6N4.js.map → chunk-4YQJ262B.js.map} +0 -0
  576. /package/dist/chunks/{chunk-WEL6L6DN.js.map → chunk-52DZTN4C.js.map} +0 -0
  577. /package/dist/chunks/{chunk-MTSXDMJB.js.map → chunk-5GI7W4SM.js.map} +0 -0
  578. /package/dist/chunks/{chunk-I7WXDTCF.js.map → chunk-5NIQMCRF.js.map} +0 -0
  579. /package/dist/chunks/{chunk-JOORBY5L.js.map → chunk-5WS5Q2KW.js.map} +0 -0
  580. /package/dist/chunks/{chunk-7EL5RPEU.js.map → chunk-66DFXMZG.js.map} +0 -0
  581. /package/dist/chunks/{chunk-6SEDSZBH.js.map → chunk-6MMKNZYL.js.map} +0 -0
  582. /package/dist/chunks/{chunk-Y3KKZ7HS.js.map → chunk-6QQVZXUE.js.map} +0 -0
  583. /package/dist/chunks/{chunk-X2JFYB5A.js.map → chunk-6RBEIDSC.js.map} +0 -0
  584. /package/dist/chunks/{chunk-IRCAPHCE.js.map → chunk-6V4VYVRZ.js.map} +0 -0
  585. /package/dist/chunks/{chunk-QJYK566B.js.map → chunk-6ZWEKSAV.js.map} +0 -0
  586. /package/dist/chunks/{chunk-F7ECENUK.js.map → chunk-7BSLOLTU.js.map} +0 -0
  587. /package/dist/chunks/{chunk-TOADRNOV.js.map → chunk-7BXJPOEG.js.map} +0 -0
  588. /package/dist/chunks/{chunk-BFTAE67C.js.map → chunk-7DERK6IR.js.map} +0 -0
  589. /package/dist/chunks/{chunk-4KGXEARZ.js.map → chunk-7EASTT3H.js.map} +0 -0
  590. /package/dist/chunks/{chunk-5PTXGBPL.js.map → chunk-7MYLYFIV.js.map} +0 -0
  591. /package/dist/chunks/{chunk-KOVWQARO.js.map → chunk-7NAHUZAR.js.map} +0 -0
  592. /package/dist/chunks/{chunk-GQU3OUV5.js.map → chunk-7NQLCFYX.js.map} +0 -0
  593. /package/dist/chunks/{chunk-JRIDJW3W.js.map → chunk-A5O5VTQM.js.map} +0 -0
  594. /package/dist/chunks/{chunk-JB3UZ7JJ.js.map → chunk-BATWKQWV.js.map} +0 -0
  595. /package/dist/chunks/{chunk-6JAWZGSH.js.map → chunk-CK47DTW6.js.map} +0 -0
  596. /package/dist/chunks/{chunk-P7UV5M73.js.map → chunk-CSO7BHDJ.js.map} +0 -0
  597. /package/dist/chunks/{chunk-ECDMJNZU.js.map → chunk-D42SQGEO.js.map} +0 -0
  598. /package/dist/chunks/{chunk-DYCSVG2K.js.map → chunk-DIBXZBOP.js.map} +0 -0
  599. /package/dist/chunks/{chunk-CJUK4IWQ.js.map → chunk-EFWF72V4.js.map} +0 -0
  600. /package/dist/chunks/{chunk-A4I24ISL.js.map → chunk-ENNAZGUX.js.map} +0 -0
  601. /package/dist/chunks/{chunk-5GRTRQTV.js.map → chunk-EOLXS2ZV.js.map} +0 -0
  602. /package/dist/chunks/{chunk-YBAPUTER.js.map → chunk-F6NUMURW.js.map} +0 -0
  603. /package/dist/chunks/{chunk-ZFQOF5A5.js.map → chunk-FZPIEOFR.js.map} +0 -0
  604. /package/dist/chunks/{chunk-372SLS6Y.js.map → chunk-G7UGGWOR.js.map} +0 -0
  605. /package/dist/chunks/{chunk-4PX62LQ2.js.map → chunk-GLZJBFDO.js.map} +0 -0
  606. /package/dist/chunks/{chunk-QERO7OI6.js.map → chunk-HBGRWJU5.js.map} +0 -0
  607. /package/dist/chunks/{chunk-BQR2C4RM.js.map → chunk-HICZARAY.js.map} +0 -0
  608. /package/dist/chunks/{chunk-HQFAVCTF.js.map → chunk-HONSYTUC.js.map} +0 -0
  609. /package/dist/chunks/{chunk-X4W4DN3S.js.map → chunk-I5BNXO63.js.map} +0 -0
  610. /package/dist/chunks/{chunk-DID4WFOD.js.map → chunk-IH2JBJ6I.js.map} +0 -0
  611. /package/dist/chunks/{chunk-5X4XLHLF.js.map → chunk-J4GPHTRN.js.map} +0 -0
  612. /package/dist/chunks/{chunk-I5CWCNRN.js.map → chunk-JFA2XPTW.js.map} +0 -0
  613. /package/dist/chunks/{chunk-IT2OFHF7.js.map → chunk-JSY23B3Q.js.map} +0 -0
  614. /package/dist/chunks/{chunk-U77GVCK3.js.map → chunk-K5VLCRHY.js.map} +0 -0
  615. /package/dist/chunks/{chunk-7AXLZKTB.js.map → chunk-KCBOIL5Q.js.map} +0 -0
  616. /package/dist/chunks/{chunk-QW3Y3RDE.js.map → chunk-MJ32RCFZ.js.map} +0 -0
  617. /package/dist/chunks/{chunk-WIO3JRB5.js.map → chunk-NBJ4OTXL.js.map} +0 -0
  618. /package/dist/chunks/{chunk-66ZXPQGB.js.map → chunk-NO3F3QQ3.js.map} +0 -0
  619. /package/dist/chunks/{chunk-LJDAHRWI.js.map → chunk-NQYOMRPT.js.map} +0 -0
  620. /package/dist/chunks/{chunk-WXCJTJK4.js.map → chunk-O6C4RETO.js.map} +0 -0
  621. /package/dist/chunks/{chunk-W5TYUJI5.js.map → chunk-O6EDUJ77.js.map} +0 -0
  622. /package/dist/chunks/{chunk-F7LHGSEQ.js.map → chunk-OD2PMTXS.js.map} +0 -0
  623. /package/dist/chunks/{chunk-5LDYBGOZ.js.map → chunk-OGEOUETU.js.map} +0 -0
  624. /package/dist/chunks/{chunk-MI6WMBDQ.js.map → chunk-PYTTGYZS.js.map} +0 -0
  625. /package/dist/chunks/{chunk-U2MFIQ6X.js.map → chunk-RR7FS6SQ.js.map} +0 -0
  626. /package/dist/chunks/{chunk-7O2WNQQZ.js.map → chunk-RTMX7IDM.js.map} +0 -0
  627. /package/dist/chunks/{chunk-ZAPPY4VF.js.map → chunk-S4OEUN6F.js.map} +0 -0
  628. /package/dist/chunks/{chunk-EXE7JBHE.js.map → chunk-SEVORRUA.js.map} +0 -0
  629. /package/dist/chunks/{chunk-WCPKRDGR.js.map → chunk-TAIC3PC2.js.map} +0 -0
  630. /package/dist/chunks/{chunk-AF4ILHID.js.map → chunk-TGLXWW5B.js.map} +0 -0
  631. /package/dist/chunks/{chunk-4YN7VGLV.js.map → chunk-TJAUF5NX.js.map} +0 -0
  632. /package/dist/chunks/{chunk-E7RD32NX.js.map → chunk-TSU4F6DF.js.map} +0 -0
  633. /package/dist/chunks/{chunk-MPIYLDWJ.js.map → chunk-TXMWKHYW.js.map} +0 -0
  634. /package/dist/chunks/{chunk-PYR7VRWF.js.map → chunk-UBGDYBSQ.js.map} +0 -0
  635. /package/dist/chunks/{chunk-73VS7EXG.js.map → chunk-ULFR2FWA.js.map} +0 -0
  636. /package/dist/chunks/{chunk-HXW5DQLU.js.map → chunk-UMPJ4VXN.js.map} +0 -0
  637. /package/dist/chunks/{chunk-MN426ZWA.js.map → chunk-URZPVSHV.js.map} +0 -0
  638. /package/dist/chunks/{chunk-7WDKN3QG.js.map → chunk-UXLQNJDR.js.map} +0 -0
  639. /package/dist/chunks/{chunk-SQ32S3OE.js.map → chunk-XWP64X6U.js.map} +0 -0
  640. /package/dist/chunks/{chunk-YQOT7ABG.js.map → chunk-Y3NC6RIL.js.map} +0 -0
  641. /package/dist/chunks/{commands-TKD5BHAC.js.map → commands-VWBRELWZ.js.map} +0 -0
  642. /package/dist/chunks/{cost-AZAQ3AC5.js.map → cost-IVLAFD5T.js.map} +0 -0
  643. /package/dist/chunks/{crash-report-IYMUJRDT.js.map → crash-report-CA3Y7LA6.js.map} +0 -0
  644. /package/dist/chunks/{dist-5JRS362B.js.map → dist-3SGAVJFN.js.map} +0 -0
  645. /package/dist/chunks/{dist-S4GG5BOF.js.map → dist-7BSYEFE5.js.map} +0 -0
  646. /package/dist/chunks/{dist-SPKR3SBF.js.map → dist-AM6FWCIJ.js.map} +0 -0
  647. /package/dist/chunks/{dist-YGZEZT7E.js.map → dist-ISRJEZRF.js.map} +0 -0
  648. /package/dist/chunks/{dist-BECOVIWQ.js.map → dist-PBFZXU4L.js.map} +0 -0
  649. /package/dist/chunks/{dist-VQGHI5SR.js.map → dist-RDXEBTCL.js.map} +0 -0
  650. /package/dist/chunks/{dist-NLY5ZLEK.js.map → dist-V43PPTPF.js.map} +0 -0
  651. /package/dist/chunks/{doctor-MYN7YCXB.js.map → doctor-FGOCO7UR.js.map} +0 -0
  652. /package/dist/chunks/{drain-IEZMA72M.js.map → drain-A3DLR5A4.js.map} +0 -0
  653. /package/dist/chunks/{entry-SS5QYOOM.js.map → entry-4LHTI3VQ.js.map} +0 -0
  654. /package/dist/chunks/{extension-4SMB7XQP.js.map → extension-BP7Q3PFK.js.map} +0 -0
  655. /package/dist/chunks/{home-YYLBZ3E7.js.map → home-GR6YDAAE.js.map} +0 -0
  656. /package/dist/chunks/{hooks-KVCP7AHB.js.map → hooks-KSSNBDF2.js.map} +0 -0
  657. /package/dist/chunks/{hooks-report-7BAQ5FJD.js.map → hooks-report-H4JAHJXE.js.map} +0 -0
  658. /package/dist/chunks/{host-CAZNAKUM.js.map → host-ISKJDJ7B.js.map} +0 -0
  659. /package/dist/chunks/{host-queries-NVNPXLV6.js.map → host-queries-CUG75GYD.js.map} +0 -0
  660. /package/dist/chunks/{installed-list-X7D2METU.js.map → installed-list-GPVOP4E3.js.map} +0 -0
  661. /package/dist/chunks/{learn-BSA4OH3O.js.map → learn-AFNJQGOU.js.map} +0 -0
  662. /package/dist/chunks/{learn-builtin-YIJE4KDM.js.map → learn-builtin-LUD6XO6W.js.map} +0 -0
  663. /package/dist/chunks/{lifecycle-4CCVUYHX.js.map → lifecycle-TCRMEVJP.js.map} +0 -0
  664. /package/dist/chunks/{list-Y365NWT5.js.map → list-4OJNF5N2.js.map} +0 -0
  665. /package/dist/chunks/{live-3URICZBD.js.map → live-LJ76XHPK.js.map} +0 -0
  666. /package/dist/chunks/{load-LXAWOITU.js.map → load-2ERMTCD4.js.map} +0 -0
  667. /package/dist/chunks/{logs-OGG4QEIR.js.map → logs-DV6GC7PT.js.map} +0 -0
  668. /package/dist/chunks/{login-QDMS62PW.js.map → open-3VUS3XWX.js.map} +0 -0
  669. /package/dist/chunks/{open-S3T2QSFD.js.map → output-schema-2GHHC5ZZ.js.map} +0 -0
  670. /package/dist/chunks/{output-schema-JZS2DYJS.js.map → peers-SLFOET3O.js.map} +0 -0
  671. /package/dist/chunks/{peers-B46EOYXB.js.map → providers-SOFGNZ4F.js.map} +0 -0
  672. /package/dist/chunks/{providers-AAGYOW7X.js.map → pty-3T7AE7ZA.js.map} +0 -0
  673. /package/dist/chunks/{pty-Y6DQ3O7S.js.map → resume-5JACRBQO.js.map} +0 -0
  674. /package/dist/chunks/{resume-URQRK5DV.js.map → resume-command-H4FOREZO.js.map} +0 -0
  675. /package/dist/chunks/{resume-command-GPX3ZFJG.js.map → running-NONPWC5C.js.map} +0 -0
  676. /package/dist/chunks/{running-XXZFJXM2.js.map → send-H27WTBLZ.js.map} +0 -0
  677. /package/dist/chunks/{send-3I5I445I.js.map → send-person-NNGL2U4H.js.map} +0 -0
  678. /package/dist/chunks/{serve-CZDHGDZL.js.map → serve-4VIDXLEB.js.map} +0 -0
  679. /package/dist/chunks/{send-person-YWJEDJLC.js.map → setting-cli-ETVPDSRA.js.map} +0 -0
  680. /package/dist/chunks/{setting-cli-BIG2WZWH.js.map → start-check-A5FG7224.js.map} +0 -0
  681. /package/dist/chunks/{startup-failure-Y6OKFLWB.js.map → startup-failure-6MZNIJXI.js.map} +0 -0
  682. /package/dist/chunks/{start-check-WZ3L3FAC.js.map → store-4PPSKMYT.js.map} +0 -0
  683. /package/dist/chunks/{store-A6ZRPCAB.js.map → store-5K5HIPUT.js.map} +0 -0
  684. /package/dist/chunks/{store-FLT5PL3C.js.map → store-6WG6CRWK.js.map} +0 -0
  685. /package/dist/chunks/{store-IOOFZ6PN.js.map → store-UPAOLS5B.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
  dispatchCliPalMessages
5
- } from "./chunk-MTSXDMJB.js";
5
+ } from "./chunk-5GI7W4SM.js";
6
6
  import {
7
7
  checkUserMcpServerSave,
8
8
  listEntryForUserMcpServer,
@@ -11,10 +11,10 @@ import {
11
11
  removeUserMcpServer,
12
12
  saveUserMcpServer,
13
13
  summarizeUserMcpServer
14
- } from "./chunk-WEL6L6DN.js";
14
+ } from "./chunk-52DZTN4C.js";
15
15
  import {
16
16
  decideHeadlessTrust
17
- } from "./chunk-MPIYLDWJ.js";
17
+ } from "./chunk-TXMWKHYW.js";
18
18
  import {
19
19
  conversationMarkdown,
20
20
  createExtensionsRpc,
@@ -29,8 +29,8 @@ import {
29
29
  startDesktopExtensions,
30
30
  stopDesktopExtensions,
31
31
  withKeyNote
32
- } from "./chunk-G3WCIRCZ.js";
33
- import "./chunk-6JAWZGSH.js";
32
+ } from "./chunk-2PRVGX6U.js";
33
+ import "./chunk-CK47DTW6.js";
34
34
  import "./chunk-6ITTTCLD.js";
35
35
  import {
36
36
  advertisedPromptModes,
@@ -40,17 +40,17 @@ import {
40
40
  outcomeLine,
41
41
  sessionOptionsFromConfig,
42
42
  turnOptionsFromConfig
43
- } from "./chunk-PHDA4JI7.js";
43
+ } from "./chunk-MX3U5TBQ.js";
44
44
  import {
45
45
  launchRefusal
46
- } from "./chunk-73VS7EXG.js";
46
+ } from "./chunk-ULFR2FWA.js";
47
47
  import {
48
48
  HeadlessScreen
49
49
  } from "./chunk-GWGIAZLZ.js";
50
50
  import "./chunk-6HTC5TQ3.js";
51
51
  import {
52
52
  palSessionEnvironment
53
- } from "./chunk-XYF26ZUO.js";
53
+ } from "./chunk-HRKY4ARS.js";
54
54
  import {
55
55
  FileCheckpointStore,
56
56
  IdleCompactor,
@@ -71,28 +71,31 @@ import {
71
71
  updateManagedMemory,
72
72
  validateComposerSendSettings,
73
73
  verifyCredential
74
- } from "./chunk-AFNHI46Y.js";
75
- import "./chunk-5X4XLHLF.js";
76
- import "./chunk-MN426ZWA.js";
77
- import "./chunk-FNSWIOFJ.js";
78
- import "./chunk-WCPKRDGR.js";
79
- import "./chunk-IT2OFHF7.js";
74
+ } from "./chunk-774DAIPO.js";
75
+ import "./chunk-J4GPHTRN.js";
76
+ import "./chunk-URZPVSHV.js";
77
+ import "./chunk-L4LGUBYZ.js";
78
+ import "./chunk-ZDMI3JSL.js";
79
+ import "./chunk-TAIC3PC2.js";
80
+ import "./chunk-JSY23B3Q.js";
80
81
  import {
81
82
  resolveProgressNudge
82
- } from "./chunk-Q4LXBL4Z.js";
83
- import "./chunk-YBAPUTER.js";
83
+ } from "./chunk-MJJA277Z.js";
84
+ import "./chunk-F6NUMURW.js";
85
+ import "./chunk-XQZMTH3S.js";
84
86
  import {
85
87
  findProject
86
- } from "./chunk-GWH6BOVE.js";
87
- import "./chunk-X4W4DN3S.js";
88
- import "./chunk-VFB4ZUOR.js";
88
+ } from "./chunk-2QJNPJOC.js";
89
+ import "./chunk-I5BNXO63.js";
90
+ import "./chunk-ADLNBLRA.js";
91
+ import "./chunk-DZA7UXA2.js";
89
92
  import "./chunk-YOWYTBJS.js";
90
- import "./chunk-WSO7YQLR.js";
93
+ import "./chunk-OY3UN3KD.js";
91
94
  import "./chunk-NUGPLXVK.js";
92
- import "./chunk-7AXLZKTB.js";
95
+ import "./chunk-KCBOIL5Q.js";
93
96
  import "./chunk-SD25ASC7.js";
94
- import "./chunk-I5CWCNRN.js";
95
- import "./chunk-K5FGK5AP.js";
97
+ import "./chunk-JFA2XPTW.js";
98
+ import "./chunk-32CPPPKX.js";
96
99
  import {
97
100
  cliPalComputerStatus,
98
101
  cliPalScreen,
@@ -105,19 +108,19 @@ import {
105
108
  startCliPalComputer,
106
109
  stopCliPalComputer,
107
110
  takeOverCliPalComputer
108
- } from "./chunk-JOORBY5L.js";
111
+ } from "./chunk-5WS5Q2KW.js";
109
112
  import "./chunk-ZWA2JRJV.js";
110
113
  import {
111
114
  cliPalActivitySubscriptionPolicy,
112
115
  cliPalActivitySubscriptionStore,
113
116
  cliPalCommunicationPolicy,
114
117
  cliPalCommunicationStore
115
- } from "./chunk-W5TYUJI5.js";
118
+ } from "./chunk-O6EDUJ77.js";
116
119
  import {
117
120
  claimPalConversation,
118
121
  listPalConversations,
119
122
  palConversationBinding
120
- } from "./chunk-7WDKN3QG.js";
123
+ } from "./chunk-UXLQNJDR.js";
121
124
  import {
122
125
  archiveConversation,
123
126
  closeSessions,
@@ -139,14 +142,13 @@ import {
139
142
  storedAssistantPhase,
140
143
  titlesOf,
141
144
  unarchiveConversation
142
- } from "./chunk-KE53UTUG.js";
143
- import "./chunk-GBOOHDIH.js";
145
+ } from "./chunk-KIWLK2WZ.js";
144
146
  import {
145
147
  INSTRUCTIONS_FILENAME,
146
148
  MAX_BYTES_TO_READ,
147
149
  MAX_CHARS_PER_FILE,
148
150
  cliProjectRoot
149
- } from "./chunk-BFYETM56.js";
151
+ } from "./chunk-NFTQDITK.js";
150
152
  import {
151
153
  cliPalStore,
152
154
  createPal,
@@ -156,15 +158,15 @@ import {
156
158
  listPals,
157
159
  palAtWorkspace,
158
160
  updatePal
159
- } from "./chunk-HXW5DQLU.js";
161
+ } from "./chunk-UMPJ4VXN.js";
160
162
  import {
161
163
  buildCostReport
162
- } from "./chunk-WXCJTJK4.js";
163
- import "./chunk-BQR2C4RM.js";
164
+ } from "./chunk-O6C4RETO.js";
165
+ import "./chunk-HICZARAY.js";
164
166
  import "./chunk-LYUY2FK2.js";
165
167
  import {
166
168
  accountForProvider
167
- } from "./chunk-IRCAPHCE.js";
169
+ } from "./chunk-6V4VYVRZ.js";
168
170
  import {
169
171
  flushCompileCacheWhenIdle
170
172
  } from "./chunk-SOIP273Z.js";
@@ -177,23 +179,23 @@ import {
177
179
  } from "./chunk-JEW7RLYH.js";
178
180
  import {
179
181
  warnBroadAllowRules
180
- } from "./chunk-BFTAE67C.js";
182
+ } from "./chunk-7DERK6IR.js";
181
183
  import "./chunk-EDOJTQQU.js";
182
- import "./chunk-5LDYBGOZ.js";
184
+ import "./chunk-OGEOUETU.js";
183
185
  import {
184
186
  displayPath
185
- } from "./chunk-AWU5MYX3.js";
187
+ } from "./chunk-TL535OCL.js";
186
188
  import "./chunk-ZKCOQZ3U.js";
187
189
  import "./chunk-BBTPD3DU.js";
188
- import "./chunk-L2Q467T7.js";
190
+ import "./chunk-JX6O7Y55.js";
189
191
  import "./chunk-GNBMKISG.js";
190
192
  import {
191
193
  handoffContinuationNote
192
- } from "./chunk-QS44GK4N.js";
193
- import "./chunk-QJYK566B.js";
194
+ } from "./chunk-WEPINZBQ.js";
195
+ import "./chunk-6ZWEKSAV.js";
194
196
  import {
195
197
  isPermissionMode
196
- } from "./chunk-NQ3MZ6N4.js";
198
+ } from "./chunk-4YQJ262B.js";
197
199
  import "./chunk-P65AXQPL.js";
198
200
  import {
199
201
  TERMINAL_MARKER,
@@ -205,18 +207,18 @@ import {
205
207
  loadHostPty,
206
208
  processesCarrying,
207
209
  quietConptyHelper
208
- } from "./chunk-KOVWQARO.js";
210
+ } from "./chunk-7NAHUZAR.js";
209
211
  import {
210
212
  CLI_VERSION
211
213
  } from "./chunk-HE7WUOX2.js";
212
214
  import "./chunk-OH6TB27S.js";
213
- import "./chunk-GQU3OUV5.js";
214
- import "./chunk-HQFAVCTF.js";
215
+ import "./chunk-7NQLCFYX.js";
216
+ import "./chunk-HONSYTUC.js";
215
217
  import {
216
218
  PluginSettingsStore
217
- } from "./chunk-7EL5RPEU.js";
218
- import "./chunk-AF4ILHID.js";
219
- import "./chunk-66ZXPQGB.js";
219
+ } from "./chunk-66DFXMZG.js";
220
+ import "./chunk-TGLXWW5B.js";
221
+ import "./chunk-NO3F3QQ3.js";
220
222
  import {
221
223
  automaticKind,
222
224
  canSelectModel,
@@ -226,20 +228,20 @@ import {
226
228
  removeProviderKey,
227
229
  saveProviderKey,
228
230
  typedKeyProvider
229
- } from "./chunk-4YN7VGLV.js";
231
+ } from "./chunk-TJAUF5NX.js";
230
232
  import {
231
233
  isOfferableModel
232
234
  } from "./chunk-4QIWRKJO.js";
233
235
  import "./chunk-KTPFUCRU.js";
234
236
  import "./chunk-LPPFJYL6.js";
235
- import "./chunk-U2MFIQ6X.js";
236
- import "./chunk-6XIPTDOH.js";
237
+ import "./chunk-RR7FS6SQ.js";
238
+ import "./chunk-2D5WW5KP.js";
237
239
  import {
238
240
  isTrusted,
239
241
  isTrustedAtStateRoot,
240
242
  trustDir,
241
243
  untrustDir
242
- } from "./chunk-C4CUPDOU.js";
244
+ } from "./chunk-27ICMJVV.js";
243
245
  import "./chunk-24V2WEKR.js";
244
246
  import {
245
247
  systemClock
@@ -249,11 +251,11 @@ import {
249
251
  checkSetting,
250
252
  readSettings,
251
253
  writeSetting
252
- } from "./chunk-2TU3QQRG.js";
254
+ } from "./chunk-5COLG33E.js";
253
255
  import {
254
256
  userConfigPath
255
- } from "./chunk-TOADRNOV.js";
256
- import "./chunk-ZAPPY4VF.js";
257
+ } from "./chunk-7BXJPOEG.js";
258
+ import "./chunk-S4OEUN6F.js";
257
259
  import {
258
260
  approveShownMcpServers,
259
261
  compileBrowserSites,
@@ -262,34 +264,34 @@ import {
262
264
  loadConfig,
263
265
  pendingProjectMcpServers,
264
266
  withBrowserSiteRules
265
- } from "./chunk-QF2FZ2DM.js";
267
+ } from "./chunk-ESHAWCBR.js";
266
268
  import "./chunk-5WORROIE.js";
267
269
  import {
268
270
  compilePermissionLayers,
269
271
  permissionLayersOf,
270
272
  warnLegacyMcpPermissionNames
271
- } from "./chunk-T5MBQXU2.js";
273
+ } from "./chunk-655EBPZH.js";
272
274
  import "./chunk-WMEZTDLT.js";
273
275
  import "./chunk-LCGXWCVU.js";
274
- import "./chunk-SIG7WHBU.js";
276
+ import "./chunk-7YC42EXB.js";
275
277
  import "./chunk-LVVD32KJ.js";
276
278
  import "./chunk-GMUWAUKQ.js";
277
279
  import "./chunk-PJ6IEIKJ.js";
278
280
  import {
279
281
  cliLogger
280
- } from "./chunk-ICQYIDIR.js";
282
+ } from "./chunk-7ROZ2N57.js";
281
283
  import "./chunk-G6YSAHKC.js";
282
284
  import {
283
285
  canonicalProjectPath
284
286
  } from "./chunk-JORONMD3.js";
285
287
  import {
286
288
  StateFileUnreadableError
287
- } from "./chunk-5PTXGBPL.js";
288
- import "./chunk-4PX62LQ2.js";
289
- import "./chunk-RF6EIDPV.js";
289
+ } from "./chunk-7MYLYFIV.js";
290
+ import "./chunk-GLZJBFDO.js";
291
+ import "./chunk-IBENEKM4.js";
290
292
  import "./chunk-WRPEQ3KP.js";
291
293
  import "./chunk-A6RHRNY2.js";
292
- import "./chunk-U77GVCK3.js";
294
+ import "./chunk-K5VLCRHY.js";
293
295
  import "./chunk-U5UV2YRE.js";
294
296
  import "./chunk-PHW6PWIJ.js";
295
297
  import {
@@ -337,7 +339,7 @@ import {
337
339
  selectAssistantText,
338
340
  turnHolder,
339
341
  withSessionChildMarker
340
- } from "./chunk-X7QC2Q7P.js";
342
+ } from "./chunk-L5FCGDB7.js";
341
343
  import {
342
344
  __name
343
345
  } from "./chunk-76FLAFCG.js";
@@ -432,9 +434,9 @@ function createLimitsFeed(options) {
432
434
  if (sources.length === 0) return;
433
435
  await Promise.all(sources.map((source) => readOne(source, false)));
434
436
  const view = await build();
435
- const text4 = JSON.stringify(view);
436
- if (text4 === lastSent) return;
437
- lastSent = text4;
437
+ const text5 = JSON.stringify(view);
438
+ if (text5 === lastSent) return;
439
+ lastSent = text5;
438
440
  try {
439
441
  options.notify(LIMITS_NOTIFICATION, { ...view });
440
442
  } catch {
@@ -581,12 +583,12 @@ __name(readPluginInventory, "readPluginInventory");
581
583
  import { randomUUID } from "node:crypto";
582
584
  var CLICK_ID = /^[A-Za-z0-9_-]{8,80}$/u;
583
585
  function plainFailure(name, error) {
584
- const text4 = error instanceof Error ? error.message : String(error);
585
- if (/busy in another conversation/iu.test(text4))
586
+ const text5 = error instanceof Error ? error.message : String(error);
587
+ if (/busy in another conversation/iu.test(text5))
586
588
  return `${name} is busy. It will read your message at its next step.`;
587
- if (/model provider/iu.test(text4))
589
+ if (/model provider/iu.test(text5))
588
590
  return `${name} has no model chosen yet. Choose one in ${name}\u2019s settings, then start it again.`;
589
- if (/refused|explicit go/iu.test(text4))
591
+ if (/refused|explicit go/iu.test(text5))
590
592
  return `${name} could not be started: your go was not accepted. Try again.`;
591
593
  return `${name} could not be started. Try again in a moment.`;
592
594
  }
@@ -910,11 +912,11 @@ var OutputRing = class {
910
912
  get end() {
911
913
  return this.total;
912
914
  }
913
- append(text4) {
914
- if (text4.length === 0) return this.total;
915
- this.chunks.push({ start: this.total, text: text4 });
916
- this.total += text4.length;
917
- this.retained += text4.length;
915
+ append(text5) {
916
+ if (text5.length === 0) return this.total;
917
+ this.chunks.push({ start: this.total, text: text5 });
918
+ this.total += text5.length;
919
+ this.retained += text5.length;
918
920
  while (this.retained > this.capacity) {
919
921
  const first = this.chunks[0];
920
922
  if (!first) break;
@@ -1113,15 +1115,15 @@ var TerminalManager = class {
1113
1115
  });
1114
1116
  }
1115
1117
  flush(terminal) {
1116
- const text4 = terminal.pending;
1117
- if (text4 === "") return;
1118
+ const text5 = terminal.pending;
1119
+ if (text5 === "") return;
1118
1120
  let offset = terminal.pendingStart;
1119
1121
  terminal.pending = "";
1120
- for (let at = 0; at < text4.length; ) {
1121
- let end = Math.min(text4.length, at + TERMINAL_LIMITS.maxChunk);
1122
- const last = text4.charCodeAt(end - 1);
1123
- if (end < text4.length && last >= 55296 && last <= 56319) end -= 1;
1124
- const data = text4.slice(at, end);
1122
+ for (let at = 0; at < text5.length; ) {
1123
+ let end = Math.min(text5.length, at + TERMINAL_LIMITS.maxChunk);
1124
+ const last = text5.charCodeAt(end - 1);
1125
+ if (end < text5.length && last >= 55296 && last <= 56319) end -= 1;
1126
+ const data = text5.slice(at, end);
1125
1127
  this.options.emit({ type: "data", params: { terminalId: terminal.id, offset, data } });
1126
1128
  offset += data.length;
1127
1129
  at = end;
@@ -1452,6 +1454,209 @@ function createTerminalHost(options) {
1452
1454
  }
1453
1455
  __name(createTerminalHost, "createTerminalHost");
1454
1456
 
1457
+ // src/commands/acp-browser-pane.ts
1458
+ var BROWSER_PANE_CAPABILITY = "namzu/browser-pane";
1459
+ var BROWSER_PANE_METHODS = {
1460
+ open: "namzu/browser/pane/open",
1461
+ cdp: "namzu/browser/pane/cdp",
1462
+ close: "namzu/browser/pane/close",
1463
+ event: "namzu/browser/pane/event",
1464
+ state: "namzu/browser/pane/state"
1465
+ };
1466
+ var BROWSER_PANE_SERVED_METHODS = [
1467
+ BROWSER_PANE_METHODS.event,
1468
+ BROWSER_PANE_METHODS.state
1469
+ ];
1470
+ var text3 = /* @__PURE__ */ __name((value) => typeof value === "string" && value !== "" && value.length <= 400 ? value : void 0, "text");
1471
+ function object(value) {
1472
+ return value && typeof value === "object" && !Array.isArray(value) ? value : void 0;
1473
+ }
1474
+ __name(object, "object");
1475
+ function createAcpPaneLink(connection) {
1476
+ const channels = /* @__PURE__ */ new Set();
1477
+ let closed;
1478
+ class Channel {
1479
+ constructor(sessionId, rules) {
1480
+ this.sessionId = sessionId;
1481
+ this.rules = rules;
1482
+ }
1483
+ sessionId;
1484
+ rules;
1485
+ static {
1486
+ __name(this, "Channel");
1487
+ }
1488
+ events = /* @__PURE__ */ new Set();
1489
+ added = /* @__PURE__ */ new Set();
1490
+ gone = /* @__PURE__ */ new Set();
1491
+ closes = /* @__PURE__ */ new Set();
1492
+ opened;
1493
+ primary;
1494
+ tabs = /* @__PURE__ */ new Set();
1495
+ holder = "agent";
1496
+ done = false;
1497
+ control() {
1498
+ return this.holder;
1499
+ }
1500
+ ask(method, params) {
1501
+ if (this.done || closed !== void 0)
1502
+ return Promise.reject(new Error("The Browser pane is not connected."));
1503
+ channels.add(this);
1504
+ return connection.ask(method, { sessionId: this.sessionId, ...params });
1505
+ }
1506
+ listTabs() {
1507
+ this.opened ??= this.ask(BROWSER_PANE_METHODS.open, {
1508
+ ...this.rules !== void 0 ? { rules: this.rules } : {}
1509
+ }).then((reply) => {
1510
+ const tabId = text3(object(reply)?.tabId);
1511
+ if (!tabId) throw new Error("The Browser pane did not name the tab it opened.");
1512
+ this.primary = tabId;
1513
+ this.tabs.add(tabId);
1514
+ return [{ tabId }];
1515
+ });
1516
+ return this.opened.then(() => [...this.tabs].map((tabId) => ({ tabId })));
1517
+ }
1518
+ async cdp(tabId, method, params, sessionId) {
1519
+ const reply = await this.ask(BROWSER_PANE_METHODS.cdp, {
1520
+ tabId,
1521
+ method,
1522
+ ...params !== void 0 ? { params } : {},
1523
+ ...sessionId !== void 0 ? { cdpSessionId: sessionId } : {}
1524
+ });
1525
+ const answer = object(reply);
1526
+ return answer && "result" in answer ? answer.result : reply;
1527
+ }
1528
+ onEvent(listener) {
1529
+ this.events.add(listener);
1530
+ return () => this.events.delete(listener);
1531
+ }
1532
+ onTabAdded(listener) {
1533
+ this.added.add(listener);
1534
+ return () => this.added.delete(listener);
1535
+ }
1536
+ onTabClosed(listener) {
1537
+ this.gone.add(listener);
1538
+ return () => this.gone.delete(listener);
1539
+ }
1540
+ onClose(listener) {
1541
+ this.closes.add(listener);
1542
+ return () => this.closes.delete(listener);
1543
+ }
1544
+ // The first tab stays: it is the one the conversation always has, and the host has nowhere
1545
+ // to go if it is closed. A tab a page opened can be closed.
1546
+ async closeTab(tabId) {
1547
+ if (tabId === this.primary)
1548
+ throw new Error(
1549
+ "The Browser pane keeps this conversation\u2019s first tab open. Open another address in it instead."
1550
+ );
1551
+ await this.ask(BROWSER_PANE_METHODS.close, { tabId });
1552
+ this.forget(tabId);
1553
+ }
1554
+ async close() {
1555
+ if (this.done) return;
1556
+ const wasOpen = this.opened !== void 0 && closed === void 0;
1557
+ this.done = true;
1558
+ channels.delete(this);
1559
+ if (wasOpen)
1560
+ await connection.ask(BROWSER_PANE_METHODS.close, {
1561
+ sessionId: this.sessionId,
1562
+ release: true
1563
+ }).catch(() => void 0);
1564
+ }
1565
+ // ---- What the application says ----------------------------------------------------------
1566
+ forget(tabId) {
1567
+ if (!this.tabs.delete(tabId)) return;
1568
+ for (const listener of [...this.gone]) listener(tabId);
1569
+ }
1570
+ receive(body) {
1571
+ if (this.done) return;
1572
+ const tabId = text3(body.tabId);
1573
+ if (!tabId) return;
1574
+ switch (body.kind) {
1575
+ case "cdp": {
1576
+ const method = text3(body.method);
1577
+ if (!method) return;
1578
+ const sessionId = text3(body.cdpSessionId);
1579
+ const event = {
1580
+ tabId,
1581
+ method,
1582
+ ...body.params !== void 0 ? { params: body.params } : {},
1583
+ ...sessionId ? { sessionId } : {}
1584
+ };
1585
+ for (const listener of [...this.events]) listener(event);
1586
+ return;
1587
+ }
1588
+ case "tab-added":
1589
+ if (this.tabs.has(tabId)) return;
1590
+ this.tabs.add(tabId);
1591
+ for (const listener of [...this.added]) listener({ tabId });
1592
+ return;
1593
+ case "tab-closed":
1594
+ case "detached":
1595
+ this.forget(tabId);
1596
+ }
1597
+ }
1598
+ setControl(state) {
1599
+ this.holder = state;
1600
+ }
1601
+ fail(reason) {
1602
+ if (this.done) return;
1603
+ this.done = true;
1604
+ channels.delete(this);
1605
+ for (const listener of [...this.closes]) listener(reason);
1606
+ }
1607
+ }
1608
+ const forSession = /* @__PURE__ */ __name((params) => {
1609
+ const id2 = text3(params.sessionId);
1610
+ return id2 ? [...channels].filter((channel) => channel.sessionId === id2) : [];
1611
+ }, "forSession");
1612
+ return {
1613
+ available: /* @__PURE__ */ __name(() => closed === void 0 && connection.offers(BROWSER_PANE_CAPABILITY), "available"),
1614
+ channel: /* @__PURE__ */ __name((sessionId, rules) => new Channel(sessionId, rules), "channel"),
1615
+ extensions: {
1616
+ [BROWSER_PANE_METHODS.event]: (params) => {
1617
+ for (const channel of forSession(params)) channel.receive(params);
1618
+ return null;
1619
+ },
1620
+ [BROWSER_PANE_METHODS.state]: (params) => {
1621
+ const state = params.state === "person" ? "person" : params.state === "agent" ? "agent" : void 0;
1622
+ if (state) for (const channel of forSession(params)) channel.setControl(state);
1623
+ return null;
1624
+ }
1625
+ },
1626
+ close: /* @__PURE__ */ __name((reason) => {
1627
+ if (closed !== void 0) return;
1628
+ closed = reason ?? "The connection to the app closed.";
1629
+ for (const channel of [...channels]) channel.fail(closed);
1630
+ }, "close")
1631
+ };
1632
+ }
1633
+ __name(createAcpPaneLink, "createAcpPaneLink");
1634
+ function hostOfKey(key) {
1635
+ const match = /^https?:\/\/((?:\*\.)?[^:/]+)(?::(?:\*|\d+))?$/.exec(key);
1636
+ return match?.[1]?.toLowerCase();
1637
+ }
1638
+ __name(hostOfKey, "hostOfKey");
1639
+ function paneSiteRules(sites) {
1640
+ const deny = /* @__PURE__ */ new Set();
1641
+ const allow = /* @__PURE__ */ new Set();
1642
+ let defaultLevel = "ask";
1643
+ for (const [key, level] of Object.entries(sites)) {
1644
+ if (key === "*") {
1645
+ defaultLevel = level;
1646
+ continue;
1647
+ }
1648
+ const host = hostOfKey(key);
1649
+ if (!host) return void 0;
1650
+ if (level === "deny") deny.add(host);
1651
+ else allow.add(host);
1652
+ }
1653
+ if (defaultLevel === "deny") {
1654
+ return allow.size > 0 ? { allow: [...allow], ...deny.size ? { deny: [...deny] } : {} } : { deny: ["*"] };
1655
+ }
1656
+ return deny.size > 0 ? { deny: [...deny] } : {};
1657
+ }
1658
+ __name(paneSiteRules, "paneSiteRules");
1659
+
1455
1660
  // src/commands/acp-desktop-question.ts
1456
1661
  import { randomUUID as randomUUID3 } from "node:crypto";
1457
1662
  var QUESTION_NOTIFICATION = "namzu/session/question";
@@ -1602,10 +1807,10 @@ function claudeJson(value) {
1602
1807
  if (typeof item === "number" && Number.isFinite(item)) return item;
1603
1808
  if (typeof item === "string" && item.length <= 1e6) return item;
1604
1809
  if (Array.isArray(item)) return Object.freeze(item.map((part) => copy(part, depth + 1)));
1605
- const object = claudeRecord(item);
1606
- if (object) {
1810
+ const object2 = claudeRecord(item);
1811
+ if (object2) {
1607
1812
  const result2 = Object.fromEntries(
1608
- Object.entries(object).map(([key, part]) => {
1813
+ Object.entries(object2).map(([key, part]) => {
1609
1814
  if (key.length > 4096) throw new Error("The native tool input is too large.");
1610
1815
  return [key, copy(part, depth + 1)];
1611
1816
  })
@@ -1795,9 +2000,9 @@ var ClaudeTurnProjection = class {
1795
2000
  });
1796
2001
  }
1797
2002
  text(message) {
1798
- const text4 = [...message.blocks.entries()].sort(([left], [right]) => left - right).filter(([, block]) => block.type === "text").map(([, block]) => block.text).join("");
1799
- if (text4.length > 1e6) throw new Error("The native message is too large.");
1800
- return text4;
2003
+ const text5 = [...message.blocks.entries()].sort(([left], [right]) => left - right).filter(([, block]) => block.type === "text").map(([, block]) => block.text).join("");
2004
+ if (text5.length > 1e6) throw new Error("The native message is too large.");
2005
+ return text5;
1801
2006
  }
1802
2007
  reasoning(message, index, block) {
1803
2008
  if (block.reasoningCompleted) return;
@@ -2211,8 +2416,8 @@ function startHarnessProcess(command, options) {
2211
2416
  fail(error instanceof Error ? error : new Error("Harness frame handling failed."));
2212
2417
  });
2213
2418
  }, "frame");
2214
- const consume = /* @__PURE__ */ __name((text4) => {
2215
- buffer += text4;
2419
+ const consume = /* @__PURE__ */ __name((text5) => {
2420
+ buffer += text5;
2216
2421
  let newline = buffer.indexOf("\n");
2217
2422
  while (newline !== -1) {
2218
2423
  const line = buffer.slice(0, newline);
@@ -3001,26 +3206,26 @@ function codexItemEvents(turn, raw, completed) {
3001
3206
  const identity = { ...turn, nativeItemId };
3002
3207
  if (item.type === "agentMessage") {
3003
3208
  if (!completed) return [{ ...identity, kind: "message-started" }];
3004
- const text4 = typeof item.text === "string" ? item.text : "";
3209
+ const text5 = typeof item.text === "string" ? item.text : "";
3005
3210
  const phase = item.phase === "commentary" || item.phase === "final_answer" ? item.phase : void 0;
3006
3211
  return [
3007
3212
  {
3008
3213
  ...identity,
3009
3214
  kind: "message-completed",
3010
- content: text4,
3011
- parts: [{ id: nativeItemId, text: text4, phase }],
3215
+ content: text5,
3216
+ parts: [{ id: nativeItemId, text: text5, phase }],
3012
3217
  stopReason: "end_turn"
3013
3218
  }
3014
3219
  ];
3015
3220
  }
3016
3221
  if (item.type === "reasoning") {
3017
3222
  const summary = Array.isArray(item.summary) ? item.summary.filter((part) => typeof part === "string") : [];
3018
- return (summary.length ? summary : [""]).map((text4, index) => ({
3223
+ return (summary.length ? summary : [""]).map((text5, index) => ({
3019
3224
  ...identity,
3020
3225
  kind: "reasoning",
3021
3226
  blockId: `${nativeItemId}:${index}`,
3022
3227
  status: completed ? "completed" : "pending",
3023
- ...text4 ? { text: text4 } : {}
3228
+ ...text5 ? { text: text5 } : {}
3024
3229
  }));
3025
3230
  }
3026
3231
  let name;
@@ -3431,15 +3636,15 @@ var CodexConnection = class {
3431
3636
  const nativeItemId = codexString(params.itemId);
3432
3637
  if (nativeItemId && typeof params.delta === "string") {
3433
3638
  const blockId = `${nativeItemId}:${String(params.summaryIndex ?? 0)}`;
3434
- const text4 = (this.reasoning.get(blockId) ?? "") + params.delta;
3435
- this.reasoning.set(blockId, text4);
3639
+ const text5 = (this.reasoning.get(blockId) ?? "") + params.delta;
3640
+ this.reasoning.set(blockId, text5);
3436
3641
  await this.emit({
3437
3642
  ...turn,
3438
3643
  nativeItemId,
3439
3644
  kind: "reasoning",
3440
3645
  blockId,
3441
3646
  status: "pending",
3442
- text: text4
3647
+ text: text5
3443
3648
  });
3444
3649
  }
3445
3650
  } else if (method === "item/commandExecution/outputDelta" || method === "item/fileChange/outputDelta") {
@@ -4803,12 +5008,12 @@ function plainCommitMessage(files) {
4803
5008
  __name(plainCommitMessage, "plainCommitMessage");
4804
5009
  function cleanCommitMessage(reply) {
4805
5010
  if (!reply) return void 0;
4806
- let text4 = reply.trim();
4807
- const fenced = /^```[a-z]*\s*([\s\S]*?)\s*```$/iu.exec(text4);
4808
- if (fenced?.[1] !== void 0) text4 = fenced[1].trim();
4809
- text4 = text4.replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f\u007f]/gu, "").replace(/^["'`]+|["'`]+$/gu, "").trim();
4810
- if (text4 === "") return void 0;
4811
- return text4.slice(0, COMMIT_MESSAGE_MAX);
5011
+ let text5 = reply.trim();
5012
+ const fenced = /^```[a-z]*\s*([\s\S]*?)\s*```$/iu.exec(text5);
5013
+ if (fenced?.[1] !== void 0) text5 = fenced[1].trim();
5014
+ text5 = text5.replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f\u007f]/gu, "").replace(/^["'`]+|["'`]+$/gu, "").trim();
5015
+ if (text5 === "") return void 0;
5016
+ return text5.slice(0, COMMIT_MESSAGE_MAX);
4812
5017
  }
4813
5018
  __name(cleanCommitMessage, "cleanCommitMessage");
4814
5019
  var IN_PROGRESS = [
@@ -4828,16 +5033,16 @@ function createProjectCommit(options) {
4828
5033
  return false;
4829
5034
  }
4830
5035
  });
4831
- const text4 = /* @__PURE__ */ __name(async (args, cwd) => (await git(args, cwd)).stdout, "text");
5036
+ const text5 = /* @__PURE__ */ __name(async (args, cwd) => (await git(args, cwd)).stdout, "text");
4832
5037
  const inProgress = /* @__PURE__ */ __name(async (cwd) => {
4833
- const dir = (await text4(["rev-parse", "--absolute-git-dir"], cwd)).trim();
5038
+ const dir = (await text5(["rev-parse", "--absolute-git-dir"], cwd)).trim();
4834
5039
  for (const name of IN_PROGRESS)
4835
5040
  if (await exists(join5(dir, name)))
4836
5041
  return "A merge, rebase, cherry-pick or revert is in progress here. Finish it first.";
4837
5042
  return void 0;
4838
5043
  }, "inProgress");
4839
- const fingerprint = /* @__PURE__ */ __name(async (cwd, entry) => entry.state === "deleted" ? "deleted" : (await text4(["hash-object", "--", entry.path], cwd)).trim(), "fingerprint");
4840
- const changed = /* @__PURE__ */ __name(async (cwd) => parseStatus(await text4(["status", "--porcelain=v1", "-z", "--untracked-files=all"], cwd)), "changed");
5044
+ const fingerprint = /* @__PURE__ */ __name(async (cwd, entry) => entry.state === "deleted" ? "deleted" : (await text5(["hash-object", "--", entry.path], cwd)).trim(), "fingerprint");
5045
+ const changed = /* @__PURE__ */ __name(async (cwd) => parseStatus(await text5(["status", "--porcelain=v1", "-z", "--untracked-files=all"], cwd)), "changed");
4841
5046
  return {
4842
5047
  async preview(cwd, sessionPaths, sessionId) {
4843
5048
  const empty = /* @__PURE__ */ __name((blocker2) => ({
@@ -4853,7 +5058,7 @@ function createProjectCommit(options) {
4853
5058
  if (!options.isTrusted(cwd)) return empty("Trust this folder to commit in it.");
4854
5059
  let status;
4855
5060
  try {
4856
- await text4(["rev-parse", "--git-dir"], cwd);
5061
+ await text5(["rev-parse", "--git-dir"], cwd);
4857
5062
  status = await changed(cwd);
4858
5063
  } catch {
4859
5064
  return empty("Commit needs a Git repository.");
@@ -4869,7 +5074,7 @@ function createProjectCommit(options) {
4869
5074
  let branch = null;
4870
5075
  let detached = false;
4871
5076
  try {
4872
- branch = (await text4(["symbolic-ref", "--short", "-q", "HEAD"], cwd)).trim() || null;
5077
+ branch = (await text5(["symbolic-ref", "--short", "-q", "HEAD"], cwd)).trim() || null;
4873
5078
  } catch {
4874
5079
  detached = true;
4875
5080
  }
@@ -4943,8 +5148,8 @@ function createProjectCommit(options) {
4943
5148
  const output = failure.output;
4944
5149
  throw new CommitRefused(output ? output.slice(0, 2e3) : "Git could not make the commit.");
4945
5150
  }
4946
- const hash = (await text4(["rev-parse", "--short", "HEAD"], cwd)).trim();
4947
- const subject = (await text4(["log", "-1", "--format=%s"], cwd)).trim();
5151
+ const hash = (await text5(["rev-parse", "--short", "HEAD"], cwd)).trim();
5152
+ const subject = (await text5(["log", "-1", "--format=%s"], cwd)).trim();
4948
5153
  return { hash, subject };
4949
5154
  }
4950
5155
  };
@@ -5124,8 +5329,8 @@ var ONE_LINE = /[\r\n\t]+/g;
5124
5329
  var clip = /* @__PURE__ */ __name((value, max) => value.replace(ONE_LINE, " ").trim().slice(0, max), "clip");
5125
5330
  function detailOf(name, spec) {
5126
5331
  const summary = summarizeUserMcpServer({ name, spec });
5127
- const text4 = summary.transport === "http" ? summary.endpoint : summary.command;
5128
- return text4 ? clip(text4, 200) : void 0;
5332
+ const text5 = summary.transport === "http" ? summary.endpoint : summary.command;
5333
+ return text5 ? clip(text5, 200) : void 0;
5129
5334
  }
5130
5335
  __name(detailOf, "detailOf");
5131
5336
  function listMcpServers(options) {
@@ -5670,8 +5875,8 @@ function palPublicAssistantText(message) {
5670
5875
  return content.trim() ? content : void 0;
5671
5876
  const delivered = message.textParts.filter((part) => part.phase !== "commentary");
5672
5877
  if (!delivered.length) return void 0;
5673
- const text4 = selectAssistantText(delivered);
5674
- return text4.trim() ? text4 : void 0;
5878
+ const text5 = selectAssistantText(delivered);
5879
+ return text5.trim() ? text5 : void 0;
5675
5880
  }
5676
5881
  __name(palPublicAssistantText, "palPublicAssistantText");
5677
5882
 
@@ -5868,11 +6073,11 @@ function parseNameStatus(data, truncated = false) {
5868
6073
  return out;
5869
6074
  }
5870
6075
  __name(parseNameStatus, "parseNameStatus");
5871
- function countLines(text4) {
5872
- if (text4.length === 0) return 0;
6076
+ function countLines(text5) {
6077
+ if (text5.length === 0) return 0;
5873
6078
  let count = 0;
5874
- for (let index = text4.indexOf("\n"); index !== -1; index = text4.indexOf("\n", index + 1)) count++;
5875
- return text4.endsWith("\n") ? count : count + 1;
6079
+ for (let index = text5.indexOf("\n"); index !== -1; index = text5.indexOf("\n", index + 1)) count++;
6080
+ return text5.endsWith("\n") ? count : count + 1;
5876
6081
  }
5877
6082
  __name(countLines, "countLines");
5878
6083
  var decoder = new TextDecoder("utf-8", { fatal: true, ignoreBOM: true });
@@ -6049,10 +6254,10 @@ function createProjectChanges(options = {}) {
6049
6254
  const sides = [head.bytes, after].map((bytes) => bytes === null ? null : decodeText(bytes));
6050
6255
  if (sides.some((side) => side !== null && "binary" in side))
6051
6256
  return { before: null, after: null, binary: true, truncated: false };
6052
- const text4 = /* @__PURE__ */ __name((side) => side && "text" in side ? side.text : null, "text");
6257
+ const text5 = /* @__PURE__ */ __name((side) => side && "text" in side ? side.text : null, "text");
6053
6258
  return {
6054
- before: text4(sides[0]),
6055
- after: text4(sides[1]),
6259
+ before: text5(sides[0]),
6260
+ after: text5(sides[1]),
6056
6261
  binary: false,
6057
6262
  truncated: false
6058
6263
  };
@@ -6079,7 +6284,7 @@ var MEMORY_TEXT_MAX = 8e3;
6079
6284
  var MEMORY_TITLE_MAX = 120;
6080
6285
  var MEMORY_SUMMARY_MAX = 240;
6081
6286
  var EXCERPT_MAX = 400;
6082
- var revisionOf = /* @__PURE__ */ __name((text4) => createHash3("sha256").update(text4).digest("hex"), "revisionOf");
6287
+ var revisionOf = /* @__PURE__ */ __name((text5) => createHash3("sha256").update(text5).digest("hex"), "revisionOf");
6083
6288
  function instructionsPath() {
6084
6289
  return join7(resolveNamzuHome(), INSTRUCTIONS_FILENAME);
6085
6290
  }
@@ -6094,15 +6299,15 @@ function readStandingInstructions() {
6094
6299
  }
6095
6300
  if (!stat6.isFile() || stat6.size > MAX_BYTES_TO_READ)
6096
6301
  return { text: "", limit: MAX_CHARS_PER_FILE, revision: revisionOf(""), locked: true };
6097
- const text4 = readFileSync(file, "utf8");
6098
- return { text: text4, limit: MAX_CHARS_PER_FILE, revision: revisionOf(text4) };
6302
+ const text5 = readFileSync(file, "utf8");
6303
+ return { text: text5, limit: MAX_CHARS_PER_FILE, revision: revisionOf(text5) };
6099
6304
  }
6100
6305
  __name(readStandingInstructions, "readStandingInstructions");
6101
- function writeStandingInstructions(text4, revision2) {
6102
- if (typeof text4 !== "string") throw new Error("Invalid text.");
6306
+ function writeStandingInstructions(text5, revision2) {
6307
+ if (typeof text5 !== "string") throw new Error("Invalid text.");
6103
6308
  if (revision2 !== void 0 && (typeof revision2 !== "string" || revision2.length > 200))
6104
6309
  throw new Error("Invalid revision.");
6105
- if (text4.length > MAX_CHARS_PER_FILE)
6310
+ if (text5.length > MAX_CHARS_PER_FILE)
6106
6311
  throw new Error(`Standing instructions can hold ${MAX_CHARS_PER_FILE} characters.`);
6107
6312
  const file = instructionsPath();
6108
6313
  if (lstatSafe(file) && !lstatSync2(file).isFile())
@@ -6111,20 +6316,20 @@ function writeStandingInstructions(text4, revision2) {
6111
6316
  const now = readStandingInstructions();
6112
6317
  if (now.revision !== revision2) return { ...now, changed: true };
6113
6318
  }
6114
- if (text4.trim() === "") {
6319
+ if (text5.trim() === "") {
6115
6320
  if (lstatSafe(file)) unlinkSync(file);
6116
6321
  return { text: "", limit: MAX_CHARS_PER_FILE, revision: revisionOf("") };
6117
6322
  }
6118
6323
  mkdirSync(resolveNamzuHome(), { recursive: true, mode: 448 });
6119
6324
  const staging = `${file}.${process.pid}.tmp`;
6120
6325
  try {
6121
- writeFileSync(staging, text4, { encoding: "utf8", mode: 384 });
6326
+ writeFileSync(staging, text5, { encoding: "utf8", mode: 384 });
6122
6327
  renameSync(staging, file);
6123
6328
  } catch (error) {
6124
6329
  if (lstatSafe(staging)) unlinkSync(staging);
6125
6330
  throw error;
6126
6331
  }
6127
- return { text: text4, limit: MAX_CHARS_PER_FILE, revision: revisionOf(text4) };
6332
+ return { text: text5, limit: MAX_CHARS_PER_FILE, revision: revisionOf(text5) };
6128
6333
  }
6129
6334
  __name(writeStandingInstructions, "writeStandingInstructions");
6130
6335
  function lstatSafe(file) {
@@ -6157,8 +6362,8 @@ async function openStore(cwd) {
6157
6362
  return new MarkdownMemoryStore({ directory });
6158
6363
  }
6159
6364
  __name(openStore, "openStore");
6160
- var flat = /* @__PURE__ */ __name((text4, max) => {
6161
- const line = text4.replace(/\s+/g, " ").trim();
6365
+ var flat = /* @__PURE__ */ __name((text5, max) => {
6366
+ const line = text5.replace(/\s+/g, " ").trim();
6162
6367
  return line.length > max ? `${line.slice(0, max - 1)}\u2026` : line;
6163
6368
  }, "flat");
6164
6369
  function target(params) {
@@ -6235,19 +6440,19 @@ function createMemoryHost(cwd, pal) {
6235
6440
  refusePal();
6236
6441
  only(params, ["id", "revision", "text", "title"], "memory");
6237
6442
  const item = target(params);
6238
- const { text: text4, title: title2 } = params;
6239
- if (typeof text4 !== "string" || text4.trim() === "" || text4.length > MEMORY_TEXT_MAX)
6443
+ const { text: text5, title: title2 } = params;
6444
+ if (typeof text5 !== "string" || text5.trim() === "" || text5.length > MEMORY_TEXT_MAX)
6240
6445
  throw new Error("Invalid text.");
6241
6446
  if (title2 !== void 0 && (typeof title2 !== "string" || title2.trim() === "" || title2.length > MEMORY_TITLE_MAX))
6242
6447
  throw new Error("Invalid title.");
6243
6448
  const store = await openStore(cwd);
6244
6449
  if (!store) return { outcome: "gone" };
6245
6450
  const outcome = await updateManagedMemory(store, item, {
6246
- content: text4,
6451
+ content: text5,
6247
6452
  ...title2 === void 0 ? {} : { title: title2.trim() },
6248
- summary: flat(text4, MEMORY_SUMMARY_MAX),
6453
+ summary: flat(text5, MEMORY_SUMMARY_MAX),
6249
6454
  // The index line every later prompt carries must not keep the wording that was replaced.
6250
- description: flat(text4, MEMORY_SUMMARY_MAX)
6455
+ description: flat(text5, MEMORY_SUMMARY_MAX)
6251
6456
  });
6252
6457
  return { outcome };
6253
6458
  }, "namzu/memory/update"),
@@ -6365,21 +6570,21 @@ function userServersAnswer(name) {
6365
6570
  };
6366
6571
  }
6367
6572
  __name(userServersAnswer, "userServersAnswer");
6368
- function text3(params, key, max = 400) {
6573
+ function text4(params, key, max = 400) {
6369
6574
  const value = params[key];
6370
6575
  if (typeof value !== "string" || !value.trim() || value.length > max)
6371
6576
  throw new Error(`Invalid ${key}.`);
6372
6577
  return value;
6373
6578
  }
6374
- __name(text3, "text");
6579
+ __name(text4, "text");
6375
6580
  function session(params) {
6376
- const value = text3(params, "sessionId");
6581
+ const value = text4(params, "sessionId");
6377
6582
  if (!isEntityId(value, "session")) throw new Error("Invalid conversation id.");
6378
6583
  return value;
6379
6584
  }
6380
6585
  __name(session, "session");
6381
6586
  function undoTurnId(params) {
6382
- const turnId = text3(params, "turnId");
6587
+ const turnId = text4(params, "turnId");
6383
6588
  if (!isEntityId(turnId, "turn")) throw new Error("Invalid turn.");
6384
6589
  return turnId;
6385
6590
  }
@@ -6946,7 +7151,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
6946
7151
  const ownedSession = /* @__PURE__ */ __name((params) => withState((state) => ownedSessionIn(params, state)), "ownedSession");
6947
7152
  const ownedReadSession = /* @__PURE__ */ __name((params) => withReadScope((state) => ownedSessionIn(params, state)), "ownedReadSession");
6948
7153
  const ownedPal = /* @__PURE__ */ __name((params) => {
6949
- const id2 = text3(params, "palId");
7154
+ const id2 = text4(params, "palId");
6950
7155
  if (!isTrusted(cwd) || pal()?.id !== id2)
6951
7156
  throw new Error("This Pal does not own the current workspace.");
6952
7157
  return id2;
@@ -7032,7 +7237,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7032
7237
  "namzu/conversations/input/status": /* @__PURE__ */ __name(async (params) => {
7033
7238
  if (Object.keys(params).some((key) => !["sessionId", "scopeId"].includes(key)))
7034
7239
  throw new Error("Live input status accepts only sessionId and scopeId.");
7035
- const scopeId = params.scopeId === void 0 ? void 0 : text3(params, "scopeId");
7240
+ const scopeId = params.scopeId === void 0 ? void 0 : text4(params, "scopeId");
7036
7241
  return withReadScope(
7037
7242
  async (state) => liveInputStatus(await liveOwner(params, state), scopeId, state)
7038
7243
  );
@@ -7043,9 +7248,9 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7043
7248
  ))
7044
7249
  throw new Error("Live input accepts only sessionId, scopeId, inputId and prompt.");
7045
7250
  const input = {
7046
- scopeId: text3(params, "scopeId"),
7047
- inputId: text3(params, "inputId"),
7048
- prompt: text3(params, "prompt", 1e6)
7251
+ scopeId: text4(params, "scopeId"),
7252
+ inputId: text4(params, "inputId"),
7253
+ prompt: text4(params, "prompt", 1e6)
7049
7254
  };
7050
7255
  return withReadScope(
7051
7256
  async (state) => liveInput(await liveOwner(params, state), input, state)
@@ -7085,7 +7290,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7085
7290
  "Undo accepts only sessionId, turnId, planToken, resolutions and alsoUndoLater."
7086
7291
  );
7087
7292
  const turnId = undoTurnId(params);
7088
- const planToken = text3(params, "planToken", 200);
7293
+ const planToken = text4(params, "planToken", 200);
7089
7294
  const resolutions = params.resolutions === void 0 ? void 0 : undoResolutions(params.resolutions);
7090
7295
  const alsoUndoLater = undoFlag(params, "alsoUndoLater");
7091
7296
  return withReadScope(
@@ -7110,8 +7315,8 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7110
7315
  "Retry accepts only the original turn, checkpoint and explicit settings; send a new message after the turn settles."
7111
7316
  );
7112
7317
  const id2 = await ownedSession(params);
7113
- const turnId = text3(params, "turnId");
7114
- const checkpointId = text3(params, "checkpointId");
7318
+ const turnId = text4(params, "turnId");
7319
+ const checkpointId = text4(params, "checkpointId");
7115
7320
  if (!isEntityId(turnId, "turn") || !isEntityId(checkpointId, "checkpoint"))
7116
7321
  throw new Error("Invalid retry turn or checkpoint.");
7117
7322
  return retrySession(
@@ -7131,7 +7336,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7131
7336
  "Closing a paused turn accepts only the conversation, its turn and whether its message goes back to the person."
7132
7337
  );
7133
7338
  const id2 = await ownedSession(params);
7134
- const turnId = params.turnId === void 0 ? void 0 : text3(params, "turnId");
7339
+ const turnId = params.turnId === void 0 ? void 0 : text4(params, "turnId");
7135
7340
  if (turnId !== void 0 && !isEntityId(turnId, "turn"))
7136
7341
  throw new Error("Invalid turn.");
7137
7342
  if (params.withdrawMessages !== void 0 && typeof params.withdrawMessages !== "boolean")
@@ -7160,12 +7365,12 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7160
7365
  if (pal()) throw new Error("External engines are available in normal conversations only.");
7161
7366
  const harness = runtime;
7162
7367
  if (!harness.selectHarness) throw new Error("Update Namzu to use external engines.");
7163
- return harness.selectHarness(await ownedSession(params), text3(params, "engine"));
7368
+ return harness.selectHarness(await ownedSession(params), text4(params, "engine"));
7164
7369
  }, "namzu/harnesses/select"),
7165
7370
  "namzu/harnesses/release": /* @__PURE__ */ __name(async (params) => {
7166
7371
  const harness = runtime;
7167
7372
  if (!harness.releaseHarness) return { released: false };
7168
- await harness.releaseHarness(text3(params, "engine"));
7373
+ await harness.releaseHarness(text4(params, "engine"));
7169
7374
  return { released: true };
7170
7375
  }, "namzu/harnesses/release"),
7171
7376
  "namzu/project/status": /* @__PURE__ */ __name(() => ({
@@ -7175,9 +7380,9 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7175
7380
  }), "namzu/project/status"),
7176
7381
  ...createDesktopPalCommunicationExtensions({ cwd, withState }),
7177
7382
  "namzu/pals/list": /* @__PURE__ */ __name(() => listPals(), "namzu/pals/list"),
7178
- "namzu/pals/get": /* @__PURE__ */ __name((params) => getPal(text3(params, "id")), "namzu/pals/get"),
7383
+ "namzu/pals/get": /* @__PURE__ */ __name((params) => getPal(text4(params, "id")), "namzu/pals/get"),
7179
7384
  "namzu/pals/create": /* @__PURE__ */ __name((params) => createPal({
7180
- name: text3(params, "name", 80),
7385
+ name: text4(params, "name", 80),
7181
7386
  ...params.purpose === void 0 ? {} : { purpose: params.purpose },
7182
7387
  ...params.model === void 0 ? {} : { model: params.model },
7183
7388
  ...params.appearance === void 0 ? {} : { appearance: params.appearance }
@@ -7185,7 +7390,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7185
7390
  "namzu/pals/update": /* @__PURE__ */ __name(async (params) => {
7186
7391
  if (!Number.isSafeInteger(params.expectedRevision) || params.expectedRevision < 1)
7187
7392
  throw new Error("Invalid Pal revision.");
7188
- const id2 = text3(params, "id");
7393
+ const id2 = text4(params, "id");
7189
7394
  if (pal()?.id === id2 && (await getCliPalRuntime()).busy(id2))
7190
7395
  throw new Error("Stop this Pal\u2019s active work before changing it.");
7191
7396
  return updatePal(id2, params.expectedRevision, {
@@ -7199,7 +7404,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7199
7404
  "namzu/pals/delete": /* @__PURE__ */ __name(async (params) => {
7200
7405
  if (!params || typeof params !== "object" || Array.isArray(params) || Object.keys(params).some((key) => key !== "id" && key !== "expectedRevision"))
7201
7406
  throw new Error("Invalid Pal deletion request.");
7202
- const id2 = text3(params, "id");
7407
+ const id2 = text4(params, "id");
7203
7408
  if (!/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/u.test(id2))
7204
7409
  throw new Error("Invalid Pal id.");
7205
7410
  const expectedRevision = params.expectedRevision;
@@ -7220,27 +7425,27 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7220
7425
  "namzu/pals/computer/stop": /* @__PURE__ */ __name((params) => stopCliPalComputer(ownedPal(params)), "namzu/pals/computer/stop"),
7221
7426
  "namzu/pals/computer/screen": /* @__PURE__ */ __name((params) => cliPalScreen(
7222
7427
  ownedPal(params),
7223
- params.generation === void 0 ? void 0 : text3(params, "generation", 16)
7428
+ params.generation === void 0 ? void 0 : text4(params, "generation", 16)
7224
7429
  ), "namzu/pals/computer/screen"),
7225
- "namzu/pals/computer/stream": /* @__PURE__ */ __name((params) => cliPalScreenStream(ownedPal(params), text3(params, "generation", 16)), "namzu/pals/computer/stream"),
7226
- "namzu/pals/computer/take_over": /* @__PURE__ */ __name((params) => takeOverCliPalComputer(ownedPal(params), text3(params, "generation", 16)), "namzu/pals/computer/take_over"),
7227
- "namzu/pals/computer/return_control": /* @__PURE__ */ __name((params) => returnCliPalComputerControl(ownedPal(params), text3(params, "generation", 16)), "namzu/pals/computer/return_control"),
7430
+ "namzu/pals/computer/stream": /* @__PURE__ */ __name((params) => cliPalScreenStream(ownedPal(params), text4(params, "generation", 16)), "namzu/pals/computer/stream"),
7431
+ "namzu/pals/computer/take_over": /* @__PURE__ */ __name((params) => takeOverCliPalComputer(ownedPal(params), text4(params, "generation", 16)), "namzu/pals/computer/take_over"),
7432
+ "namzu/pals/computer/return_control": /* @__PURE__ */ __name((params) => returnCliPalComputerControl(ownedPal(params), text4(params, "generation", 16)), "namzu/pals/computer/return_control"),
7228
7433
  "namzu/pals/computer/input": /* @__PURE__ */ __name((params) => executeCliPalComputerInput(
7229
7434
  ownedPal(params),
7230
- text3(params, "generation", 16),
7435
+ text4(params, "generation", 16),
7231
7436
  params.input
7232
7437
  ), "namzu/pals/computer/input"),
7233
7438
  ...palInboxStart ? {
7234
7439
  "namzu/pals/inbox/status": /* @__PURE__ */ __name(async (params) => palInboxStart.status(ownedPal(params)), "namzu/pals/inbox/status"),
7235
- "namzu/pals/inbox/start": /* @__PURE__ */ __name(async (params) => palInboxStart.start(ownedPal(params), text3(params, "clickId", 80)), "namzu/pals/inbox/start")
7440
+ "namzu/pals/inbox/start": /* @__PURE__ */ __name(async (params) => palInboxStart.start(ownedPal(params), text4(params, "clickId", 80)), "namzu/pals/inbox/start")
7236
7441
  } : {},
7237
7442
  "namzu/pals/conversations/claim": /* @__PURE__ */ __name(async (params) => {
7238
7443
  if (!isTrusted(cwd)) throw new Error("This Pal workspace is not trusted.");
7239
- return claimPalConversation(cwd, text3(params, "palId"), session(params));
7444
+ return claimPalConversation(cwd, text4(params, "palId"), session(params));
7240
7445
  }, "namzu/pals/conversations/claim"),
7241
- "namzu/pals/conversations/list": /* @__PURE__ */ __name((params) => listPalConversations(cwd, text3(params, "palId")), "namzu/pals/conversations/list"),
7446
+ "namzu/pals/conversations/list": /* @__PURE__ */ __name((params) => listPalConversations(cwd, text4(params, "palId")), "namzu/pals/conversations/list"),
7242
7447
  "namzu/project/trust": /* @__PURE__ */ __name((params) => {
7243
- if (params.confirmed !== true || text3(params, "cwd", 32768) !== cwd)
7448
+ if (params.confirmed !== true || text4(params, "cwd", 32768) !== cwd)
7244
7449
  throw new Error("Folder confirmation does not match this project.");
7245
7450
  try {
7246
7451
  trustDir(cwd);
@@ -7252,7 +7457,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7252
7457
  return { cwd, trusted: true };
7253
7458
  }, "namzu/project/trust"),
7254
7459
  "namzu/project/untrust": /* @__PURE__ */ __name((params) => {
7255
- if (params.confirmed !== true || text3(params, "cwd", 32768) !== cwd)
7460
+ if (params.confirmed !== true || text4(params, "cwd", 32768) !== cwd)
7256
7461
  throw new Error("Folder confirmation does not match this project.");
7257
7462
  const result = untrustDir(cwd);
7258
7463
  return { cwd, ...result, trusted: isTrusted(cwd) };
@@ -7282,7 +7487,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7282
7487
  "namzu/conversations/search": /* @__PURE__ */ __name(async (params = {}) => {
7283
7488
  if (!params || typeof params !== "object" || Array.isArray(params) || Object.keys(params).some((key) => key !== "query" && key !== "limit"))
7284
7489
  throw new Error("Invalid conversation search request.");
7285
- const query = text3(params, "query", SEARCH_QUERY_MAX).trim();
7490
+ const query = text4(params, "query", SEARCH_QUERY_MAX).trim();
7286
7491
  const limit = params.limit === void 0 ? 20 : params.limit;
7287
7492
  if (typeof limit !== "number" || !Number.isInteger(limit) || limit < 1 || limit > 50)
7288
7493
  throw new Error("A search returns between 1 and 50 conversations.");
@@ -7546,7 +7751,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7546
7751
  "namzu/skills/list": /* @__PURE__ */ __name(async (params = {}) => {
7547
7752
  if (!params || typeof params !== "object" || Array.isArray(params) || Object.keys(params).length > 0)
7548
7753
  throw new Error("Invalid skills request.");
7549
- const { listInstalledSkills } = await import("./installed-list-X7D2METU.js");
7754
+ const { listInstalledSkills } = await import("./installed-list-GPVOP4E3.js");
7550
7755
  return { skills: listInstalledSkills({ cwd, includeProject: isTrusted(cwd) && !pal() }) };
7551
7756
  }, "namzu/skills/list"),
7552
7757
  /** The tool servers in the user's own config file, as the Settings form edits them. */
@@ -7575,7 +7780,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7575
7780
  ...args ? { args } : {},
7576
7781
  ...typeof params.url === "string" ? { url: params.url } : {}
7577
7782
  };
7578
- const name = text3(params, "name", 64);
7783
+ const name = text4(params, "name", 64);
7579
7784
  if (params.dryRun === true) checkUserMcpServerSave(params.mode, name, input);
7580
7785
  else saveUserMcpServer(params.mode, name, input);
7581
7786
  return userServersAnswer();
@@ -7584,7 +7789,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7584
7789
  if (pal()) throw new Error("Pals do not change the host settings.");
7585
7790
  if (!params || typeof params !== "object" || Object.keys(params).some((key) => key !== "name"))
7586
7791
  throw new Error("Removing a tool server names only the server.");
7587
- removeUserMcpServer(text3(params, "name", 64));
7792
+ removeUserMcpServer(text4(params, "name", 64));
7588
7793
  return userServersAnswer();
7589
7794
  }, "namzu/mcp/remove-user-server"),
7590
7795
  /**
@@ -7596,7 +7801,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7596
7801
  "namzu/hooks/list": /* @__PURE__ */ __name(async (params = {}) => {
7597
7802
  if (!params || typeof params !== "object" || Array.isArray(params) || Object.keys(params).length > 0)
7598
7803
  throw new Error("Invalid hooks request.");
7599
- const { describeFolderHooks } = await import("./hooks-report-7BAQ5FJD.js");
7804
+ const { describeFolderHooks } = await import("./hooks-report-H4JAHJXE.js");
7600
7805
  return describeFolderHooks({ cwd, trusted: isTrusted(cwd) });
7601
7806
  }, "namzu/hooks/list"),
7602
7807
  /** Approves servers `.mcp.json` declared, as they were listed, the way `namzu mcp approve` does. */
@@ -7609,7 +7814,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7609
7814
  throw new Error("Choose the tool servers to approve.");
7610
7815
  const checked = shown.map((item) => {
7611
7816
  const row2 = item && typeof item === "object" ? item : {};
7612
- return { name: text3(row2, "name", 64), fingerprint: text3(row2, "fingerprint", 128) };
7817
+ return { name: text4(row2, "name", 64), fingerprint: text4(row2, "fingerprint", 128) };
7613
7818
  });
7614
7819
  return { approved: approveListedMcpServers(cwd, checked) };
7615
7820
  }, "namzu/mcp/approve"),
@@ -7672,14 +7877,14 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7672
7877
  };
7673
7878
  }, "namzu/providers/status"),
7674
7879
  "namzu/providers/models": /* @__PURE__ */ __name((params) => {
7675
- const provider = text3(params, "provider");
7880
+ const provider = text4(params, "provider");
7676
7881
  if (params.sessionId === void 0) return runtime.models(provider);
7677
7882
  session(params);
7678
7883
  return ownedReadSession(params).then((id2) => runtime.models(provider, id2));
7679
7884
  }, "namzu/providers/models"),
7680
7885
  "namzu/providers/settings": /* @__PURE__ */ __name(async (params) => runtime.modelSettings(
7681
- text3(params, "provider"),
7682
- text3(params, "model"),
7886
+ text4(params, "provider"),
7887
+ text4(params, "model"),
7683
7888
  params.sessionId === void 0 ? void 0 : await ownedReadSession(params)
7684
7889
  ), "namzu/providers/settings"),
7685
7890
  "namzu/plugins/list": /* @__PURE__ */ __name(async (params) => {
@@ -7698,7 +7903,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7698
7903
  if (typeof params.enabled !== "boolean") throw new Error("Invalid plugin choice.");
7699
7904
  return runtime.setPluginEnabled(
7700
7905
  await ownedSession(params),
7701
- text3(params, "name"),
7906
+ text4(params, "name"),
7702
7907
  params.enabled,
7703
7908
  cwd
7704
7909
  );
@@ -7707,8 +7912,8 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7707
7912
  if (!isTrusted(cwd)) throw new Error("Trust this folder first.");
7708
7913
  await runtime.selectProvider(
7709
7914
  await ownedSession(params),
7710
- text3(params, "provider"),
7711
- params.model === void 0 ? void 0 : text3(params, "model")
7915
+ text4(params, "provider"),
7916
+ params.model === void 0 ? void 0 : text4(params, "model")
7712
7917
  );
7713
7918
  return { selected: true };
7714
7919
  }, "namzu/providers/select"),
@@ -7722,7 +7927,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7722
7927
  "namzu/providers/save_key": /* @__PURE__ */ __name(async (params) => {
7723
7928
  if (Object.keys(params).some((key) => !["provider", "apiKey"].includes(key)))
7724
7929
  throw new Error("Saving a key accepts only the provider and the key.");
7725
- return runtime.saveProviderKey(text3(params, "provider"), text3(params, "apiKey", 4096));
7930
+ return runtime.saveProviderKey(text4(params, "provider"), text4(params, "apiKey", 4096));
7726
7931
  }, "namzu/providers/save_key"),
7727
7932
  "namzu/config/get": /* @__PURE__ */ __name(() => {
7728
7933
  if (pal()) throw new Error("Pals do not read the host settings.");
@@ -7735,15 +7940,15 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7735
7940
  if (params.dryRun !== void 0 && typeof params.dryRun !== "boolean")
7736
7941
  throw new Error("dryRun is true or false.");
7737
7942
  if (params.dryRun === true) {
7738
- checkSetting({ path: text3(params, "path"), value: params.value });
7943
+ checkSetting({ path: text4(params, "path"), value: params.value });
7739
7944
  return readSettings();
7740
7945
  }
7741
- writeSetting({ path: text3(params, "path"), value: params.value });
7946
+ writeSetting({ path: text4(params, "path"), value: params.value });
7742
7947
  return readSettings();
7743
7948
  }, "namzu/config/set"),
7744
7949
  "namzu/providers/refresh": /* @__PURE__ */ __name(() => runtime.refreshProviders(), "namzu/providers/refresh"),
7745
- "namzu/providers/remove_key": /* @__PURE__ */ __name(async (params) => runtime.removeProviderKey(text3(params, "provider")), "namzu/providers/remove_key"),
7746
- "namzu/providers/test": /* @__PURE__ */ __name(async (params) => runtime.testProvider(text3(params, "provider")), "namzu/providers/test"),
7950
+ "namzu/providers/remove_key": /* @__PURE__ */ __name(async (params) => runtime.removeProviderKey(text4(params, "provider")), "namzu/providers/remove_key"),
7951
+ "namzu/providers/test": /* @__PURE__ */ __name(async (params) => runtime.testProvider(text4(params, "provider")), "namzu/providers/test"),
7747
7952
  /** Where this conversation's context window goes; null until the engine has reported one. */
7748
7953
  "namzu/session/context": /* @__PURE__ */ __name(async (params) => {
7749
7954
  const request = readContextRequest(params);
@@ -7772,7 +7977,7 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7772
7977
  "namzu/session/set-permission-mode": /* @__PURE__ */ __name(async (params) => {
7773
7978
  if (Object.keys(params).some((key) => !["sessionId", "mode"].includes(key)))
7774
7979
  throw new Error("Setting the mode accepts only sessionId and mode.");
7775
- const mode = text3(params, "mode");
7980
+ const mode = text4(params, "mode");
7776
7981
  if (!isPermissionMode(mode)) throw new Error("Invalid permission mode.");
7777
7982
  return runtime.setPermissionMode(
7778
7983
  await ownedSession(params),
@@ -7788,15 +7993,15 @@ function createDesktopHostExtensions(runtime, directory, publishedSessionCwd, re
7788
7993
  const sessionId = await ownedSession(params);
7789
7994
  runtime.answerQuestion(
7790
7995
  sessionId,
7791
- text3(params, "requestId"),
7996
+ text4(params, "requestId"),
7792
7997
  params.answer
7793
7998
  );
7794
7999
  return { answered: true };
7795
8000
  }
7796
8001
  } : {},
7797
8002
  "namzu/jobs/list": /* @__PURE__ */ __name(async (params) => runtime.jobs(await ownedReadSession(params)), "namzu/jobs/list"),
7798
- "namzu/jobs/read": /* @__PURE__ */ __name(async (params) => runtime.readJob(await ownedReadSession(params), text3(params, "jobId")), "namzu/jobs/read"),
7799
- "namzu/jobs/stop": /* @__PURE__ */ __name(async (params) => runtime.stopJob(await ownedSession(params), text3(params, "jobId")), "namzu/jobs/stop")
8003
+ "namzu/jobs/read": /* @__PURE__ */ __name(async (params) => runtime.readJob(await ownedReadSession(params), text4(params, "jobId")), "namzu/jobs/read"),
8004
+ "namzu/jobs/stop": /* @__PURE__ */ __name(async (params) => runtime.stopJob(await ownedSession(params), text4(params, "jobId")), "namzu/jobs/stop")
7800
8005
  };
7801
8006
  }
7802
8007
  __name(createDesktopHostExtensions, "createDesktopHostExtensions");
@@ -7813,8 +8018,8 @@ __name(productName, "productName");
7813
8018
  function desktopModelCatalogue(listing, defaultModel, currentModel, allowModel, providerLabel = "The provider") {
7814
8019
  if (listing.kind !== "ok") {
7815
8020
  const name = productName(providerLabel);
7816
- const object = providerLabel === "The provider" ? "the provider" : name;
7817
- const notice = listing.kind === "unsupported" ? `${name} doesn\u2019t publish a list of its models.` : listing.kind === "timeout" ? `${name} didn\u2019t answer in time, so its models can\u2019t be listed. Try again.` : listing.failure === "authentication" ? `${name} didn\u2019t accept your key or sign-in, so its models can\u2019t be listed. Check it in Settings.` : listing.failure === "credential-unavailable" ? `The sign-in for ${object} is no longer available on this computer. Sign in again or choose another provider.` : `Namzu couldn\u2019t reach ${object} to list its models. Check your connection, then try again.`;
8021
+ const object2 = providerLabel === "The provider" ? "the provider" : name;
8022
+ const notice = listing.kind === "unsupported" ? `${name} doesn\u2019t publish a list of its models.` : listing.kind === "timeout" ? `${name} didn\u2019t answer in time, so its models can\u2019t be listed. Try again.` : listing.failure === "authentication" ? `${name} didn\u2019t accept your key or sign-in, so its models can\u2019t be listed. Check it in Settings.` : listing.failure === "credential-unavailable" ? `The sign-in for ${object2} is no longer available on this computer. Sign in again or choose another provider.` : `Namzu couldn\u2019t reach ${object2} to list its models. Check your connection, then try again.`;
7818
8023
  return { models: [], notice };
7819
8024
  }
7820
8025
  const seen = /* @__PURE__ */ new Set();
@@ -8443,11 +8648,11 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
8443
8648
  const presenter = {
8444
8649
  presentCall: /* @__PURE__ */ __name((toolName, input) => activeRecord?.session.presenter.presentCall(toolName, input) ?? {
8445
8650
  kind: "generic",
8446
- label: genericLabel(input)
8651
+ label: genericLabel(input) || toolName
8447
8652
  }, "presentCall"),
8448
8653
  presentResult: /* @__PURE__ */ __name((toolName, input, result) => activeRecord?.session.presenter.presentResult(toolName, input, result) ?? {
8449
8654
  kind: "generic",
8450
- label: genericLabel(input)
8655
+ label: genericLabel(input) || toolName
8451
8656
  }, "presentResult")
8452
8657
  };
8453
8658
  const sharedProbe = /* @__PURE__ */ __name(() => {
@@ -8593,13 +8798,16 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
8593
8798
  const palEnvironment = palBinding && palRuntime ? palSessionEnvironment(palRuntime, palBinding.definition, sessionId) : void 0;
8594
8799
  const browserConfig = projectCtx.config.browser;
8595
8800
  const browserSites = runtimeOptions.computerUse === true && !palEnvironment && browserConfig?.enabled !== false ? compileBrowserSites(browserConfig?.sites) : void 0;
8596
- const computerOn = runtimeOptions.computerUse === true && !palEnvironment && computerUseEnabled(projectCtx.config);
8801
+ const computerOn = runtimeOptions.computerUse === true && !palEnvironment;
8597
8802
  candidate = await deps.createSession(prefs, probe.detected, {
8598
8803
  ...palEnvironment ? { palEnvironment } : {},
8599
8804
  // The host PC, for the desktop only. A Pal conversation has its own
8600
8805
  // computer behind the same tool name, so it never gets both.
8601
8806
  ...computerOn ? {
8602
8807
  enableComputerUse: true,
8808
+ computerUseSwitch: /* @__PURE__ */ __name(() => computerUseEnabled(
8809
+ (deps.refreshProjectContext ?? deps.resolveProjectContext)(bootstrapCtx, cwd).config
8810
+ ), "computerUseSwitch"),
8603
8811
  ...runtimeOptions.observeComputer ? {
8604
8812
  onComputerObservation: /* @__PURE__ */ __name((seen) => runtimeOptions.observeComputer?.(sessionId, seen), "onComputerObservation")
8605
8813
  } : {}
@@ -8636,7 +8844,16 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
8636
8844
  ...browserConfig?.signInDetection ? { signInDetection: browserConfig.signInDetection } : {},
8637
8845
  // A person is here to answer: a sign-in page is put to them, not left to a command.
8638
8846
  ...questionRelay && !palEnvironment ? { askPersonToSignIn: true } : {},
8639
- ...conversationState ? { home: conversationState.root } : {}
8847
+ ...conversationState ? { home: conversationState.root } : {},
8848
+ // The app's Browser pane first, where it offered one and the rules can be
8849
+ // said as host patterns; a browser set to never show a window stays its own.
8850
+ ...runtimeOptions.browserPane && browserConfig?.headless !== "always" ? (() => {
8851
+ const link = runtimeOptions.browserPane;
8852
+ const rules = paneSiteRules(browserSites.sites);
8853
+ return link && rules ? {
8854
+ pane: /* @__PURE__ */ __name(() => link.available() ? link.channel(sessionId, rules) : void 0, "pane")
8855
+ } : {};
8856
+ })() : {}
8640
8857
  }
8641
8858
  } : {},
8642
8859
  // Every key the configuration sets for a session, through the one function
@@ -8903,7 +9120,7 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
8903
9120
  if (event.kind === "paused") {
8904
9121
  record2.retrySettings = { ...original, turnId: event.turnId };
8905
9122
  const browser = record2.session.browser;
8906
- if (event.handoff && browser?.status().headless)
9123
+ if (event.handoff && browser?.status().headless && browser.status().where !== "pane")
8907
9124
  void browser.release().catch(() => {
8908
9125
  });
8909
9126
  }
@@ -9259,10 +9476,8 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
9259
9476
  if (!status.retry) {
9260
9477
  if (!status.handoff) return status;
9261
9478
  const browser = record2?.session.browser?.status();
9262
- return browser ? {
9263
- ...status,
9264
- handoff: { ...status.handoff, window: browser.headless ? "none" : "visible" }
9265
- } : status;
9479
+ const window = browser ? handoffWindow(browser) : void 0;
9480
+ return window ? { ...status, handoff: { ...status.handoff, window } } : status;
9266
9481
  }
9267
9482
  const blocked = /* @__PURE__ */ __name((notice) => ({
9268
9483
  notice,
@@ -9664,9 +9879,9 @@ function createCliAcpRuntime(bootstrapCtx, deps = DEFAULT_RUNTIME_DEPS, runtimeO
9664
9879
  readText: /* @__PURE__ */ __name(async (path) => {
9665
9880
  const known = files.get(path);
9666
9881
  if (known !== void 0) return known;
9667
- const text4 = await readFile3(path, "utf8");
9668
- files.set(path, text4);
9669
- return text4;
9882
+ const text5 = await readFile3(path, "utf8");
9883
+ files.set(path, text5);
9884
+ return text5;
9670
9885
  }, "readText")
9671
9886
  });
9672
9887
  return buildContextReport({
@@ -9733,7 +9948,16 @@ function acpKernelFacts(desktop) {
9733
9948
  };
9734
9949
  }
9735
9950
  __name(acpKernelFacts, "acpKernelFacts");
9736
- function desktopServerExtensions(runtime, cwd, server, palInboxStart, terminals, limits, extensions) {
9951
+ var NO_BROWSER_PANE_EXTENSIONS = Object.fromEntries(
9952
+ BROWSER_PANE_SERVED_METHODS.map((name) => [name, () => null])
9953
+ );
9954
+ function handoffWindow(browser) {
9955
+ if (browser.where === "pane") return "pane";
9956
+ if (browser.prefersPane === true && browser.where !== "own") return void 0;
9957
+ return browser.headless ? "none" : "visible";
9958
+ }
9959
+ __name(handoffWindow, "handoffWindow");
9960
+ function desktopServerExtensions(runtime, cwd, server, palInboxStart, terminals, limits, extensions, browserPane) {
9737
9961
  return {
9738
9962
  ...createDesktopHostExtensions(
9739
9963
  runtime,
@@ -9746,6 +9970,9 @@ function desktopServerExtensions(runtime, cwd, server, palInboxStart, terminals,
9746
9970
  limits
9747
9971
  ),
9748
9972
  ...terminals?.extensions,
9973
+ // What the app says about the agent's tab in its Browser pane. Always listed, so the app
9974
+ // can tell this engine takes them; nothing is sent unless the app offered the pane.
9975
+ ...browserPane?.extensions ?? NO_BROWSER_PANE_EXTENSIONS,
9749
9976
  ...extensions ?? createExtensionsRpc(() => sharedExtensionHost("desktop"))
9750
9977
  };
9751
9978
  }
@@ -9771,9 +9998,14 @@ async function runAcpCommand(ctx, desktop = false) {
9771
9998
  notify: announce,
9772
9999
  now: /* @__PURE__ */ __name(() => Date.now(), "now")
9773
10000
  }) : void 0;
10001
+ const paneLink = desktop ? createAcpPaneLink({
10002
+ offers: /* @__PURE__ */ __name((capability) => server.clientOffers(capability), "offers"),
10003
+ ask: /* @__PURE__ */ __name((method, params) => server.askClient(method, params), "ask")
10004
+ }) : void 0;
9774
10005
  const runtime = withCliHarnesses(
9775
10006
  createCliAcpRuntime(ctx, DEFAULT_RUNTIME_DEPS, {
9776
10007
  computerUse: desktop,
10008
+ ...paneLink ? { browserPane: paneLink } : {},
9777
10009
  ...desktop ? {
9778
10010
  observeComputer: /* @__PURE__ */ __name((id2, seen) => announce(COMPUTER_FRAME_NOTIFICATION, { sessionId: id2, ...seen }), "observeComputer")
9779
10011
  } : {},
@@ -9835,7 +10067,9 @@ async function runAcpCommand(ctx, desktop = false) {
9835
10067
  },
9836
10068
  palInboxStart,
9837
10069
  terminals,
9838
- limitsFeed
10070
+ limitsFeed,
10071
+ void 0,
10072
+ paneLink
9839
10073
  )
9840
10074
  } : {}
9841
10075
  });
@@ -9860,6 +10094,7 @@ async function runAcpCommand(ctx, desktop = false) {
9860
10094
  } finally {
9861
10095
  announcing = false;
9862
10096
  announcingUsage = false;
10097
+ paneLink?.close("The app closed its connection to this engine.");
9863
10098
  usageFeed?.close();
9864
10099
  try {
9865
10100
  if (desktop) await stopDesktopExtensions();
@@ -9897,8 +10132,9 @@ export {
9897
10132
  closeAcpResources,
9898
10133
  createCliAcpRuntime,
9899
10134
  desktopServerExtensions,
10135
+ handoffWindow,
9900
10136
  parseAcpArgs,
9901
10137
  resolveAcpSession,
9902
10138
  runAcpCommand
9903
10139
  };
9904
- //# sourceMappingURL=acp-KBPTK4GN.js.map
10140
+ //# sourceMappingURL=acp-OZG7H75P.js.map