@claudiolabs/claudin 1.1.19 → 1.1.21

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 (905) hide show
  1. package/README.md +15 -0
  2. package/dist/chunks/AgentTool-1.1.21-enrxqdsb.mjs +1 -0
  3. package/dist/chunks/App-1.1.21-x1hrya65.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-1.1.21-q3rfm86r.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-1.1.21-djjt8wjf.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-1.1.21-8rxzv91c.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-1.1.21-2mv1yf69.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.21-qk8b7h6c.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-1.1.21-26vykmpr.mjs +1 -0
  10. package/dist/chunks/DiffDialog-1.1.21-3xgr69zd.mjs +6 -0
  11. package/dist/chunks/Doctor-1.1.21-yv90ebbh.mjs +1 -0
  12. package/dist/chunks/ExplorerDialog-1.1.21-xbb9damr.mjs +6 -0
  13. package/dist/chunks/ITermBackend-1.1.21-vghjz16w.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.1.21-s80vswk4.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.1.21-vcrwctz5.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.1.21-dx1ga7w0.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.1.21-v9s07bhb.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.1.21-r9zcajjp.mjs +1 -0
  19. package/dist/chunks/REPL-1.1.21-6jn26haf.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.1.21-s9pjbbba.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.1.21-e2efafxn.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.1.21-sbtxsq9w.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.1.21-jbdthnzv.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.1.21-rg1e4ya1.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.1.21-th8y0yfa.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.1.21-ns92ypnd.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.1.21-tk81657g.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.1.21-8b6473mc.mjs +1 -0
  29. package/dist/chunks/add-dir-1.1.21-y2qcrtjr.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.1.21-0c6btjcc.mjs +1 -0
  31. package/dist/chunks/agents-1.1.21-1t7q92hk.mjs +3 -0
  32. package/dist/chunks/agents-1.1.21-jppr4jq8.mjs +110 -0
  33. package/dist/chunks/api-1.1.21-g8sbqk15.mjs +1 -0
  34. package/dist/chunks/asciicast-1.1.21-bvqngtzz.mjs +1 -0
  35. package/dist/chunks/assistant-1.1.21-1zc3dwty.mjs +1 -0
  36. package/dist/chunks/auth-1.1.21-65a9bbnh.mjs +1 -0
  37. package/dist/chunks/auth-1.1.21-f0ghh3mq.mjs +1 -0
  38. package/dist/chunks/autoMode-1.1.21-n2a8t9t3.mjs +52 -0
  39. package/dist/chunks/autoModeSetup-1.1.21-9fx83p2j.mjs +44 -0
  40. package/dist/chunks/autoUpdater-1.1.21-52ky9ghk.mjs +1 -0
  41. package/dist/chunks/backgroundHousekeeping-1.1.21-j6t4h3jn.mjs +1 -0
  42. package/dist/chunks/branch-1.1.21-71gampws.mjs +4 -0
  43. package/dist/chunks/bridge-1.1.21-d1gzs1zz.mjs +2 -0
  44. package/dist/chunks/bridgeConfig-1.1.21-9pps44qe.mjs +1 -0
  45. package/dist/chunks/bridgeEnabled-1.1.21-50r8crvp.mjs +1 -0
  46. package/dist/chunks/bridgeMain-1.1.21-e92yewh9.mjs +88 -0
  47. package/dist/chunks/bridgePointer-1.1.21-ckngyn7x.mjs +1 -0
  48. package/dist/chunks/btw-1.1.21-aqj4z7z7.mjs +1 -0
  49. package/dist/chunks/buddy-1.1.21-74rtch74.mjs +3 -0
  50. package/dist/chunks/cache-probe-1.1.21-a8ne39rt.mjs +21 -0
  51. package/dist/chunks/cacheStats-1.1.21-pw082ztb.mjs +4 -0
  52. package/dist/chunks/caches-1.1.21-7s65hxx4.mjs +1 -0
  53. package/dist/chunks/claudeDesktop-1.1.21-0fp1r8xs.mjs +1 -0
  54. package/dist/chunks/claudemd-1.1.21-q4k3d1km.mjs +1 -0
  55. package/dist/chunks/clear-1.1.21-9jjttvr0.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.1.21-jr9rxdmx.mjs +1 -0
  57. package/dist/chunks/cli-1.1.21-03kdy8xc.mjs +2 -0
  58. package/dist/chunks/cli-1.1.21-04brya8b.mjs +2 -0
  59. package/dist/chunks/cli-1.1.21-0dp6e2at.mjs +2 -0
  60. package/dist/chunks/cli-1.1.21-0etv5x2s.mjs +2 -0
  61. package/dist/chunks/cli-1.1.21-0g1a3shp.mjs +2 -0
  62. package/dist/chunks/cli-1.1.21-0mn9qshg.mjs +2 -0
  63. package/dist/chunks/cli-1.1.21-0n54q1mb.mjs +12 -0
  64. package/dist/chunks/cli-1.1.21-0sqcznka.mjs +4 -0
  65. package/dist/chunks/cli-1.1.21-0w4y6zch.mjs +2 -0
  66. package/dist/chunks/cli-1.1.21-13kr6en7.mjs +2 -0
  67. package/dist/chunks/cli-1.1.21-15f55e7j.mjs +2 -0
  68. package/dist/chunks/cli-1.1.21-1a9968t0.mjs +3 -0
  69. package/dist/chunks/cli-1.1.21-1h90n4wy.mjs +2 -0
  70. package/dist/chunks/cli-1.1.21-1hdfkyjv.mjs +2 -0
  71. package/dist/chunks/cli-1.1.21-1mhmk0z3.mjs +2 -0
  72. package/dist/chunks/cli-1.1.21-1mxg753a.mjs +2 -0
  73. package/dist/chunks/cli-1.1.21-1y508j57.mjs +2 -0
  74. package/dist/chunks/cli-1.1.21-27a8sw98.mjs +2 -0
  75. package/dist/chunks/cli-1.1.21-29jp27ks.mjs +2 -0
  76. package/dist/chunks/cli-1.1.21-2b91fkp9.mjs +66 -0
  77. package/dist/chunks/cli-1.1.21-2cj3wv9s.mjs +3 -0
  78. package/dist/chunks/cli-1.1.21-2cqbdmfj.mjs +2 -0
  79. package/dist/chunks/cli-1.1.21-2gsy9rkt.mjs +7 -0
  80. package/dist/chunks/cli-1.1.21-2nezc8rm.mjs +2 -0
  81. package/dist/chunks/cli-1.1.21-2txzm68v.mjs +2 -0
  82. package/dist/chunks/cli-1.1.21-2zvrsnnb.mjs +15 -0
  83. package/dist/chunks/cli-1.1.21-36nmjsvc.mjs +3 -0
  84. package/dist/chunks/cli-1.1.21-3g5qq5vn.mjs +2 -0
  85. package/dist/chunks/cli-1.1.21-3n2szerd.mjs +2 -0
  86. package/dist/chunks/cli-1.1.21-3v1e2mge.mjs +3 -0
  87. package/dist/chunks/cli-1.1.21-3x0d0qkq.mjs +2 -0
  88. package/dist/chunks/cli-1.1.21-4010086n.mjs +39 -0
  89. package/dist/chunks/cli-1.1.21-4jzagkc6.mjs +2 -0
  90. package/dist/chunks/cli-1.1.21-4ka4k9j1.mjs +2 -0
  91. package/dist/chunks/cli-1.1.21-4s3mz86q.mjs +2 -0
  92. package/dist/chunks/cli-1.1.21-510h0rfd.mjs +2 -0
  93. package/dist/chunks/cli-1.1.21-5bxzgpbd.mjs +16 -0
  94. package/dist/chunks/cli-1.1.21-5jkvz9tr.mjs +2 -0
  95. package/dist/chunks/cli-1.1.21-5srfgw0e.mjs +2 -0
  96. package/dist/chunks/cli-1.1.21-5znk8g89.mjs +2 -0
  97. package/dist/chunks/cli-1.1.21-61eyxvr8.mjs +2 -0
  98. package/dist/chunks/cli-1.1.21-6drn6rpn.mjs +2 -0
  99. package/dist/chunks/cli-1.1.21-71yrrgxv.mjs +2 -0
  100. package/dist/chunks/cli-1.1.21-72p8ma2g.mjs +2 -0
  101. package/dist/chunks/cli-1.1.21-76ttz1tt.mjs +2 -0
  102. package/dist/chunks/cli-1.1.21-7bq44n89.mjs +2 -0
  103. package/dist/chunks/cli-1.1.21-7fymk48z.mjs +2 -0
  104. package/dist/chunks/cli-1.1.21-7gxr15wj.mjs +2 -0
  105. package/dist/chunks/cli-1.1.21-7q6ajew6.mjs +6 -0
  106. package/dist/chunks/cli-1.1.21-8022a544.mjs +3 -0
  107. package/dist/chunks/cli-1.1.21-811zr6vq.mjs +15 -0
  108. package/dist/chunks/cli-1.1.21-87rs5rvq.mjs +2 -0
  109. package/dist/chunks/cli-1.1.21-89hqsfpf.mjs +2 -0
  110. package/dist/chunks/cli-1.1.21-8db7fdfr.mjs +133 -0
  111. package/dist/chunks/cli-1.1.21-8f3dmt8c.mjs +2 -0
  112. package/dist/chunks/cli-1.1.21-8mbdp47n.mjs +34 -0
  113. package/dist/chunks/cli-1.1.21-8p4zm65z.mjs +4 -0
  114. package/dist/chunks/cli-1.1.21-8w2yv4xp.mjs +3 -0
  115. package/dist/chunks/cli-1.1.21-92zh5twv.mjs +2 -0
  116. package/dist/chunks/cli-1.1.21-93zvwec9.mjs +6 -0
  117. package/dist/chunks/cli-1.1.21-9fnv418t.mjs +24 -0
  118. package/dist/chunks/cli-1.1.21-9jq126pc.mjs +2 -0
  119. package/dist/chunks/cli-1.1.21-9za692z5.mjs +2 -0
  120. package/dist/chunks/cli-1.1.21-a6pwx2r1.mjs +2 -0
  121. package/dist/chunks/cli-1.1.21-aa0dfxt3.mjs +17 -0
  122. package/dist/chunks/cli-1.1.21-admbc6bh.mjs +2 -0
  123. package/dist/chunks/cli-1.1.21-adykpnkk.mjs +2 -0
  124. package/dist/chunks/cli-1.1.21-an07xgtv.mjs +25 -0
  125. package/dist/chunks/cli-1.1.21-arjp8fch.mjs +50 -0
  126. package/dist/chunks/cli-1.1.21-as9g92fa.mjs +4 -0
  127. package/dist/chunks/cli-1.1.21-atvca4b4.mjs +2 -0
  128. package/dist/chunks/cli-1.1.21-ayg2p1x9.mjs +133 -0
  129. package/dist/chunks/cli-1.1.21-b7q4e2tp.mjs +2 -0
  130. package/dist/chunks/cli-1.1.21-b7y0x2mz.mjs +3 -0
  131. package/dist/chunks/cli-1.1.21-b92n11f5.mjs +2 -0
  132. package/dist/chunks/cli-1.1.21-badssmqg.mjs +25 -0
  133. package/dist/chunks/cli-1.1.21-bbnxyfz6.mjs +4 -0
  134. package/dist/chunks/cli-1.1.21-bc6x1hhj.mjs +2 -0
  135. package/dist/chunks/cli-1.1.21-bjdtgm9x.mjs +2 -0
  136. package/dist/chunks/cli-1.1.21-bp86y1rn.mjs +2 -0
  137. package/dist/chunks/cli-1.1.21-c27qrh9k.mjs +2 -0
  138. package/dist/chunks/cli-1.1.21-cb82p9ss.mjs +24 -0
  139. package/dist/chunks/cli-1.1.21-ccarwr2t.mjs +2 -0
  140. package/dist/chunks/cli-1.1.21-cdk96yzq.mjs +2 -0
  141. package/dist/chunks/cli-1.1.21-cgspbjjg.mjs +2 -0
  142. package/dist/chunks/cli-1.1.21-cqsmyvsx.mjs +6 -0
  143. package/dist/chunks/cli-1.1.21-dvkgw1dj.mjs +4 -0
  144. package/dist/chunks/cli-1.1.21-e28mvxq4.mjs +2 -0
  145. package/dist/chunks/cli-1.1.21-e4qvgw9g.mjs +4 -0
  146. package/dist/chunks/cli-1.1.21-e8cbfmn6.mjs +2 -0
  147. package/dist/chunks/cli-1.1.21-ekphtr04.mjs +6 -0
  148. package/dist/chunks/cli-1.1.21-eqmp9rz1.mjs +2 -0
  149. package/dist/chunks/cli-1.1.21-er4j34m5.mjs +4 -0
  150. package/dist/chunks/cli-1.1.21-eray52nd.mjs +5426 -0
  151. package/dist/chunks/cli-1.1.21-ev8srpeg.mjs +18 -0
  152. package/dist/chunks/cli-1.1.21-exwxjwrp.mjs +17 -0
  153. package/dist/chunks/cli-1.1.21-f3caatgb.mjs +2 -0
  154. package/dist/chunks/cli-1.1.21-fbxz5jg5.mjs +21 -0
  155. package/dist/chunks/cli-1.1.21-fdf1j366.mjs +3 -0
  156. package/dist/chunks/cli-1.1.21-fn4xyb5w.mjs +2 -0
  157. package/dist/chunks/cli-1.1.21-ftenq1jj.mjs +24 -0
  158. package/dist/chunks/cli-1.1.21-fyryzam5.mjs +2 -0
  159. package/dist/chunks/cli-1.1.21-g2fr5c6z.mjs +3 -0
  160. package/dist/chunks/cli-1.1.21-g6wtm4qg.mjs +206 -0
  161. package/dist/chunks/cli-1.1.21-g7ve83cr.mjs +2 -0
  162. package/dist/chunks/cli-1.1.21-g9rmmx1z.mjs +6 -0
  163. package/dist/chunks/cli-1.1.21-gg6ksnw9.mjs +2 -0
  164. package/dist/chunks/cli-1.1.21-gyh1fxbr.mjs +20 -0
  165. package/dist/chunks/cli-1.1.21-h2y2n4jq.mjs +2 -0
  166. package/dist/chunks/cli-1.1.21-h82yh3wp.mjs +2 -0
  167. package/dist/chunks/cli-1.1.21-hdc9e0dr.mjs +2 -0
  168. package/dist/chunks/cli-1.1.21-hjkr35qk.mjs +2 -0
  169. package/dist/chunks/cli-1.1.21-hmex7wtk.mjs +4 -0
  170. package/dist/chunks/cli-1.1.21-hn93q5ch.mjs +1 -0
  171. package/dist/chunks/cli-1.1.21-j0qbp8ym.mjs +2 -0
  172. package/dist/chunks/cli-1.1.21-j5f9b05q.mjs +2 -0
  173. package/dist/chunks/cli-1.1.21-jkqtb9j1.mjs +2 -0
  174. package/dist/chunks/cli-1.1.21-jmrjkgt7.mjs +2 -0
  175. package/dist/chunks/cli-1.1.21-jqy3a4ze.mjs +9 -0
  176. package/dist/chunks/cli-1.1.21-kc7af745.mjs +5 -0
  177. package/dist/chunks/cli-1.1.21-kf8s641e.mjs +2 -0
  178. package/dist/chunks/cli-1.1.21-kkaftzqq.mjs +2 -0
  179. package/dist/chunks/cli-1.1.21-krwdkyza.mjs +18 -0
  180. package/dist/chunks/cli-1.1.21-kv15mvd0.mjs +3 -0
  181. package/dist/chunks/cli-1.1.21-m53y3ydn.mjs +2 -0
  182. package/dist/chunks/cli-1.1.21-m7dy7yxc.mjs +2 -0
  183. package/dist/chunks/cli-1.1.21-m84cxaww.mjs +2 -0
  184. package/dist/chunks/cli-1.1.21-mqxc9x6p.mjs +3 -0
  185. package/dist/chunks/cli-1.1.21-mysvm055.mjs +8 -0
  186. package/dist/chunks/cli-1.1.21-n00fkex6.mjs +15 -0
  187. package/dist/chunks/cli-1.1.21-nh0wz4ab.mjs +2 -0
  188. package/dist/chunks/cli-1.1.21-nqzn2wyp.mjs +2 -0
  189. package/dist/chunks/cli-1.1.21-ns0xhhjk.mjs +2 -0
  190. package/dist/chunks/cli-1.1.21-pbxjvmxd.mjs +2 -0
  191. package/dist/chunks/cli-1.1.21-phnkc3q1.mjs +2 -0
  192. package/dist/chunks/cli-1.1.21-pq9par9t.mjs +2 -0
  193. package/dist/chunks/cli-1.1.21-pqweg9t6.mjs +3 -0
  194. package/dist/chunks/cli-1.1.21-q2k4myze.mjs +2 -0
  195. package/dist/chunks/cli-1.1.21-q2xyk8fc.mjs +2 -0
  196. package/dist/chunks/cli-1.1.21-qgc6dd5n.mjs +2 -0
  197. package/dist/chunks/cli-1.1.21-qj7gkh71.mjs +2 -0
  198. package/dist/chunks/cli-1.1.21-qs47skyh.mjs +2 -0
  199. package/dist/chunks/cli-1.1.21-qvxw9ea2.mjs +2 -0
  200. package/dist/chunks/cli-1.1.21-qxx08ev5.mjs +2 -0
  201. package/dist/chunks/cli-1.1.21-qz8ykx4a.mjs +2 -0
  202. package/dist/chunks/cli-1.1.21-r90yap4s.mjs +4 -0
  203. package/dist/chunks/cli-1.1.21-rb0ytqxh.mjs +2 -0
  204. package/dist/chunks/cli-1.1.21-rtcccwys.mjs +2 -0
  205. package/dist/chunks/cli-1.1.21-rvm9rmen.mjs +2 -0
  206. package/dist/chunks/cli-1.1.21-rwr3npv8.mjs +2 -0
  207. package/dist/chunks/cli-1.1.21-s076czd6.mjs +60 -0
  208. package/dist/chunks/cli-1.1.21-sa93ge05.mjs +2 -0
  209. package/dist/chunks/cli-1.1.21-sk1w1xc8.mjs +2 -0
  210. package/dist/chunks/cli-1.1.21-sqrqvfx9.mjs +2 -0
  211. package/dist/chunks/cli-1.1.21-srp2gqhn.mjs +2 -0
  212. package/dist/chunks/cli-1.1.21-st3azfy2.mjs +2 -0
  213. package/dist/chunks/cli-1.1.21-syphtp6b.mjs +2 -0
  214. package/dist/chunks/cli-1.1.21-t4e7t3gb.mjs +2 -0
  215. package/dist/chunks/cli-1.1.21-tf5jnyct.mjs +2 -0
  216. package/dist/chunks/cli-1.1.21-tgkmdth7.mjs +3 -0
  217. package/dist/chunks/cli-1.1.21-tjgcqqx5.mjs +12 -0
  218. package/dist/chunks/cli-1.1.21-v8edsbtk.mjs +24 -0
  219. package/dist/chunks/cli-1.1.21-vb6krv5p.mjs +2 -0
  220. package/dist/chunks/cli-1.1.21-vbewc9m8.mjs +2 -0
  221. package/dist/chunks/cli-1.1.21-vgqvfdjj.mjs +45 -0
  222. package/dist/chunks/cli-1.1.21-vhz2g6dh.mjs +2 -0
  223. package/dist/chunks/cli-1.1.21-vpc12nrb.mjs +2 -0
  224. package/dist/chunks/cli-1.1.21-vqyps5tc.mjs +2 -0
  225. package/dist/chunks/cli-1.1.21-vtnh7am3.mjs +2 -0
  226. package/dist/chunks/cli-1.1.21-vtrbe9na.mjs +2 -0
  227. package/dist/chunks/cli-1.1.21-vyzdf2h8.mjs +2 -0
  228. package/dist/chunks/cli-1.1.21-w17d43nx.mjs +2 -0
  229. package/dist/chunks/cli-1.1.21-wermyahx.mjs +2 -0
  230. package/dist/chunks/cli-1.1.21-wq125rgf.mjs +2 -0
  231. package/dist/chunks/cli-1.1.21-wwrjy8z7.mjs +2 -0
  232. package/dist/chunks/cli-1.1.21-x34spqyp.mjs +2 -0
  233. package/dist/chunks/cli-1.1.21-x652vc6g.mjs +7 -0
  234. package/dist/chunks/cli-1.1.21-xa36je2k.mjs +2 -0
  235. package/dist/chunks/cli-1.1.21-xc1ka519.mjs +2 -0
  236. package/dist/chunks/cli-1.1.21-xds4bha6.mjs +2 -0
  237. package/dist/chunks/cli-1.1.21-xg5fsk6h.mjs +6 -0
  238. package/dist/chunks/cli-1.1.21-xkd51fv8.mjs +2 -0
  239. package/dist/chunks/cli-1.1.21-xngg1p8f.mjs +2 -0
  240. package/dist/chunks/cli-1.1.21-xrh2trhz.mjs +2 -0
  241. package/dist/chunks/cli-1.1.21-xsjr5sq9.mjs +2 -0
  242. package/dist/chunks/cli-1.1.21-xtdgxynh.mjs +9 -0
  243. package/dist/chunks/cli-1.1.21-xtysnd33.mjs +2 -0
  244. package/dist/chunks/cli-1.1.21-xx8dx3jd.mjs +4 -0
  245. package/dist/chunks/cli-1.1.21-y0d1dgzh.mjs +58 -0
  246. package/dist/chunks/cli-1.1.21-ybbcrjyr.mjs +2 -0
  247. package/dist/chunks/cli-1.1.21-ym854mnb.mjs +2 -0
  248. package/dist/chunks/cli-1.1.21-ymepfykz.mjs +2 -0
  249. package/dist/chunks/cli-1.1.21-ypkp1djh.mjs +5 -0
  250. package/dist/chunks/cli-1.1.21-yt2eqsfh.mjs +2 -0
  251. package/dist/chunks/cli-1.1.21-ytgz6a2f.mjs +2 -0
  252. package/dist/chunks/cli-1.1.21-yx5x54tp.mjs +2 -0
  253. package/dist/chunks/cli-1.1.21-yxj3mby7.mjs +2 -0
  254. package/dist/chunks/cli-1.1.21-yzg6k72r.mjs +2 -0
  255. package/dist/chunks/cli-1.1.21-z008y1nv.mjs +2 -0
  256. package/dist/chunks/cli-1.1.21-z3qkwz5y.mjs +2 -0
  257. package/dist/chunks/cli-1.1.21-z6tzkkrz.mjs +2 -0
  258. package/dist/chunks/cli-1.1.21-zmkcqsqx.mjs +42 -0
  259. package/dist/chunks/cli-1.1.21-zyz9s3k0.mjs +3 -0
  260. package/dist/chunks/client-1.1.21-2z9qpd9x.mjs +1 -0
  261. package/dist/chunks/color-1.1.21-hx6pdrvg.mjs +1 -0
  262. package/dist/chunks/compact-1.1.21-nwq0kqfv.mjs +3 -0
  263. package/dist/chunks/config-1.1.21-6a9bh364.mjs +1 -0
  264. package/dist/chunks/config-1.1.21-mk64wy1s.mjs +1 -0
  265. package/dist/chunks/constants-1.1.21-6t9m2kc1.mjs +1 -0
  266. package/dist/chunks/context-1.1.21-0q6bzccr.mjs +1 -0
  267. package/dist/chunks/context-noninteractive-1.1.21-4hsfsph7.mjs +1 -0
  268. package/dist/chunks/conversation-1.1.21-7b7x9kge.mjs +1 -0
  269. package/dist/chunks/copilotHeaders-1.1.21-h7jcrbjr.mjs +1 -0
  270. package/dist/chunks/copy-1.1.21-733m4ede.mjs +9 -0
  271. package/dist/chunks/cost-1.1.21-wygsny1s.mjs +1 -0
  272. package/dist/chunks/createSSHSession-1.1.21-xbfgy7b5.mjs +1 -0
  273. package/dist/chunks/createSession-1.1.21-mz06dkby.mjs +1 -0
  274. package/dist/chunks/debug-1.1.21-1mr7a9zd.mjs +1 -0
  275. package/dist/chunks/defaultActionDeps-1.1.21-vax6c0kp.mjs +1534 -0
  276. package/dist/chunks/desktop-1.1.21-pgp4t084.mjs +1 -0
  277. package/dist/chunks/detectRepository-1.1.21-4kgqz7gj.mjs +1 -0
  278. package/dist/chunks/detection-1.1.21-fpdqjz2w.mjs +1 -0
  279. package/dist/chunks/diff-1.1.21-eh8phe15.mjs +1 -0
  280. package/dist/chunks/doctor-1.1.21-qsk3dp6v.mjs +1 -0
  281. package/dist/chunks/doctorDiagnostic-1.1.21-vk3kxvax.mjs +1 -0
  282. package/dist/chunks/earlyInput-1.1.21-hhk47ba3.mjs +1 -0
  283. package/dist/chunks/effort-1.1.21-ekeecb10.mjs +13 -0
  284. package/dist/chunks/engine-1.1.21-d6pnpzs9.mjs +1 -0
  285. package/dist/chunks/envLessBridgeConfig-1.1.21-45xt8y53.mjs +1 -0
  286. package/dist/chunks/envUtils-1.1.21-602cy0p0.mjs +1 -0
  287. package/dist/chunks/environmentSelection-1.1.21-sdkr95ba.mjs +1 -0
  288. package/dist/chunks/environments-1.1.21-xc2zd8j5.mjs +1 -0
  289. package/dist/chunks/errors-1.1.21-zpsc24qr.mjs +1 -0
  290. package/dist/chunks/exampleCommands-1.1.21-wktrh3tf.mjs +1 -0
  291. package/dist/chunks/execFileNoThrow-1.1.21-h0jd5fma.mjs +1 -0
  292. package/dist/chunks/exit-1.1.21-s6bxy0s5.mjs +1 -0
  293. package/dist/chunks/explorer-1.1.21-yecddj8m.mjs +1 -0
  294. package/dist/chunks/export-1.1.21-b5aa7w8q.mjs +2 -0
  295. package/dist/chunks/extra-usage-1.1.21-ccmxd1ga.mjs +1 -0
  296. package/dist/chunks/extra-usage-noninteractive-1.1.21-jysky3gv.mjs +1 -0
  297. package/dist/chunks/fast-1.1.21-wdpp74vz.mjs +1 -0
  298. package/dist/chunks/feedback-1.1.21-gc3be80r.mjs +14 -0
  299. package/dist/chunks/firstPartyEventLogger-1.1.21-cs1b38yg.mjs +1 -0
  300. package/dist/chunks/git-1.1.21-ncfwpbjz.mjs +1 -0
  301. package/dist/chunks/githubModelsCredentials-1.1.21-qya4z4p9.mjs +1 -0
  302. package/dist/chunks/goal-1.1.21-a70wv2cb.mjs +4 -0
  303. package/dist/chunks/growthbook-1.1.21-hmscgg3x.mjs +1 -0
  304. package/dist/chunks/headless-1.1.21-dwdnz8rt.mjs +2 -0
  305. package/dist/chunks/heapdump-1.1.21-tvazwzf0.mjs +6 -0
  306. package/dist/chunks/help-1.1.21-c9hbdjta.mjs +1 -0
  307. package/dist/chunks/hookChains-1.1.21-acyv2xry.mjs +3 -0
  308. package/dist/chunks/hooks-1.1.21-cfmmnnah.mjs +1 -0
  309. package/dist/chunks/hooks-1.1.21-w12e5h5b.mjs +79 -0
  310. package/dist/chunks/ide-1.1.21-wywpj723.mjs +3 -0
  311. package/dist/chunks/image-processor-napi-1.1.21-yhb521r3.mjs +1 -0
  312. package/dist/chunks/inboundAttachments-1.1.21-kk58cty9.mjs +1 -0
  313. package/dist/chunks/index-1.1.21-3b6xa2yf.mjs +1 -0
  314. package/dist/chunks/index-1.1.21-3d6h7ke1.mjs +1 -0
  315. package/dist/chunks/index-1.1.21-57kd6ptp.mjs +1 -0
  316. package/dist/chunks/index-1.1.21-593vrygw.mjs +23 -0
  317. package/dist/chunks/index-1.1.21-5fmfkm8y.mjs +9 -0
  318. package/dist/chunks/index-1.1.21-6zxs2rfg.mjs +1 -0
  319. package/dist/chunks/index-1.1.21-8bhdk6jc.mjs +5 -0
  320. package/dist/chunks/index-1.1.21-adb7btws.mjs +1 -0
  321. package/dist/chunks/index-1.1.21-etcjfd99.mjs +1 -0
  322. package/dist/chunks/index-1.1.21-fy80jkp2.mjs +1 -0
  323. package/dist/chunks/index-1.1.21-hbxv4pgp.mjs +1 -0
  324. package/dist/chunks/index-1.1.21-hytfcvqs.mjs +1 -0
  325. package/dist/chunks/index-1.1.21-m0a3fv04.mjs +30 -0
  326. package/dist/chunks/index-1.1.21-m167t33s.mjs +1 -0
  327. package/dist/chunks/index-1.1.21-q5vrbm1a.mjs +1 -0
  328. package/dist/chunks/index-1.1.21-s1aj62xz.mjs +1 -0
  329. package/dist/chunks/index-1.1.21-srxg6mfj.mjs +1 -0
  330. package/dist/chunks/index-1.1.21-vcbqyp49.mjs +1 -0
  331. package/dist/chunks/index-1.1.21-wqh7rgwt.mjs +2 -0
  332. package/dist/chunks/index-1.1.21-xc8hadvs.mjs +9 -0
  333. package/dist/chunks/index-1.1.21-y0mjkxt4.mjs +1 -0
  334. package/dist/chunks/index-1.1.21-zn4zb4j6.mjs +2 -0
  335. package/dist/chunks/index-1.1.21-zphh9zyt.mjs +1 -0
  336. package/dist/chunks/init-1.1.21-3rsjrj70.mjs +1 -0
  337. package/dist/chunks/initReplBridge-1.1.21-t8zgkgkq.mjs +1 -0
  338. package/dist/chunks/ink-1.1.21-zrg02gjq.mjs +1 -0
  339. package/dist/chunks/insights-1.1.21-08rs6ycg.mjs +870 -0
  340. package/dist/chunks/install-1.1.21-fvsrnj75.mjs +1 -0
  341. package/dist/chunks/install-github-app-1.1.21-kbd8kwxx.mjs +149 -0
  342. package/dist/chunks/install-slack-app-1.1.21-pvac1nvj.mjs +1 -0
  343. package/dist/chunks/instrumentation-1.1.21-3ah0jawp.mjs +1 -0
  344. package/dist/chunks/interactiveHelpers-1.1.21-y8fy1vbg.mjs +1 -0
  345. package/dist/chunks/keybindings-1.1.21-wmvt9cka.mjs +2 -0
  346. package/dist/chunks/knowledge-1.1.21-z92hhppb.mjs +2 -0
  347. package/dist/chunks/latestVersionCache-1.1.21-cv8x9bkm.mjs +1 -0
  348. package/dist/chunks/loadAgentsDir-1.1.21-kwpyjgm3.mjs +1 -0
  349. package/dist/chunks/loadPluginHooks-1.1.21-m59wf0fn.mjs +1 -0
  350. package/dist/chunks/log-1.1.21-xwc604af.mjs +1 -0
  351. package/dist/chunks/main-1.1.21-mpr5depp.mjs +1 -0
  352. package/dist/chunks/managedEnv-1.1.21-nk3htdmq.mjs +1 -0
  353. package/dist/chunks/mcp-1.1.21-e7spj6dg.mjs +1 -0
  354. package/dist/chunks/mcp-1.1.21-mv23tsxc.mjs +17 -0
  355. package/dist/chunks/mcp-1.1.21-wa8c077q.mjs +4 -0
  356. package/dist/chunks/mcpb-1.1.21-bv8pwy9m.mjs +1 -0
  357. package/dist/chunks/memory-1.1.21-gqa797mn.mjs +72 -0
  358. package/dist/chunks/model-1.1.21-3dg8jye0.mjs +1 -0
  359. package/dist/chunks/model-1.1.21-3x98v8x4.mjs +2 -0
  360. package/dist/chunks/node-1.1.21-zxmyqm2z.mjs +14 -0
  361. package/dist/chunks/oauth-1.1.21-4ffdtf1q.mjs +1 -0
  362. package/dist/chunks/openaiShim-1.1.21-9p741891.mjs +14 -0
  363. package/dist/chunks/output-style-1.1.21-kxvx8zbe.mjs +1 -0
  364. package/dist/chunks/package-ZOVFJE7Z-1.1.21-myehvasc.mjs +1 -0
  365. package/dist/chunks/parseConnectUrl-1.1.21-dtjr5vb7.mjs +1 -0
  366. package/dist/chunks/parser-1.1.21-jaqdwq7t.mjs +1 -0
  367. package/dist/chunks/passes-1.1.21-g830qx07.mjs +1 -0
  368. package/dist/chunks/permissions-1.1.21-ec5a6xxt.mjs +3 -0
  369. package/dist/chunks/permissions-1.1.21-qdday4sh.mjs +1 -0
  370. package/dist/chunks/plan-1.1.21-f5qe7hem.mjs +1 -0
  371. package/dist/chunks/plist-1.1.21-y82gjgzs.mjs +1 -0
  372. package/dist/chunks/plugin-1.1.21-0kfwxmv2.mjs +29 -0
  373. package/dist/chunks/pluginStartupCheck-1.1.21-f5ddb5rc.mjs +1 -0
  374. package/dist/chunks/plugins-1.1.21-exphk1gb.mjs +9 -0
  375. package/dist/chunks/preActionHook-1.1.21-jhp4m01m.mjs +2 -0
  376. package/dist/chunks/print-1.1.21-rcjs5pc4.mjs +57 -0
  377. package/dist/chunks/process-1.1.21-03zz92gq.mjs +1 -0
  378. package/dist/chunks/processBashCommand-1.1.21-zey1mfgx.mjs +1 -0
  379. package/dist/chunks/processSlashCommand-1.1.21-cwxbh5pw.mjs +9 -0
  380. package/dist/chunks/prompt-1.1.21-49amsrvt.mjs +1 -0
  381. package/dist/chunks/prompt-1.1.21-gv2b1rk5.mjs +1 -0
  382. package/dist/chunks/prompts-1.1.21-hggxct4d.mjs +1 -0
  383. package/dist/chunks/protocolHandler-1.1.21-e974kgtb.mjs +13 -0
  384. package/dist/chunks/provider-1.1.21-xnprbehk.mjs +2 -0
  385. package/dist/chunks/providerProfiles-1.1.21-b4tnf9te.mjs +1 -0
  386. package/dist/chunks/providerValidation-1.1.21-0n0739n4.mjs +6 -0
  387. package/dist/chunks/rate-limit-options-1.1.21-s59gtr3x.mjs +1 -0
  388. package/dist/chunks/registerSubcommands-1.1.21-wb1mef7h.mjs +26 -0
  389. package/dist/chunks/registry-1.1.21-knz7xa0h.mjs +1 -0
  390. package/dist/chunks/release-notes-1.1.21-mvr373q4.mjs +5 -0
  391. package/dist/chunks/reload-plugins-1.1.21-b4czg147.mjs +2 -0
  392. package/dist/chunks/remote-env-1.1.21-dbnxeqkg.mjs +1 -0
  393. package/dist/chunks/remoteBridgeCore-1.1.21-fr3w35kv.mjs +1 -0
  394. package/dist/chunks/remoteSession-1.1.21-5fvz5bsw.mjs +1 -0
  395. package/dist/chunks/rename-1.1.21-6rvag2s4.mjs +1 -0
  396. package/dist/chunks/replBridgeHandle-1.1.21-tay6v7n4.mjs +1 -0
  397. package/dist/chunks/replLauncher-1.1.21-nzx71pts.mjs +1 -0
  398. package/dist/chunks/resume-1.1.21-mp3a9npp.mjs +2 -0
  399. package/dist/chunks/rewind-1.1.21-njh0btq2.mjs +1 -0
  400. package/dist/chunks/rootOptions-1.1.21-7j3b02hm.mjs +1 -0
  401. package/dist/chunks/runWorkflowHeadless-1.1.21-d1v7f1sh.mjs +10 -0
  402. package/dist/chunks/sandbox-adapter-1.1.21-1vd13wkq.mjs +1 -0
  403. package/dist/chunks/sandbox-toggle-1.1.21-c7fw2ksr.mjs +1 -0
  404. package/dist/chunks/session-1.1.21-9gpkxas1.mjs +2 -0
  405. package/dist/chunks/sessionDiscovery-1.1.21-w4676wtk.mjs +1 -0
  406. package/dist/chunks/sessionFileAccessHooks-1.1.21-ecwm1cfg.mjs +1 -0
  407. package/dist/chunks/sessionStorage-1.1.21-kan90ps9.mjs +1 -0
  408. package/dist/chunks/settings-1.1.21-4s7ew4vh.mjs +1 -0
  409. package/dist/chunks/setup-1.1.21-nmfqd6pa.mjs +12 -0
  410. package/dist/chunks/sinks-1.1.21-grwc3mac.mjs +1 -0
  411. package/dist/chunks/skills-1.1.21-c7mykz5q.mjs +1 -0
  412. package/dist/chunks/startupProfiler-1.1.21-mtr244kh.mjs +1 -0
  413. package/dist/chunks/startupUpdateCheck-1.1.21-k1569a6r.mjs +1 -0
  414. package/dist/chunks/state-1.1.21-006s6xsy.mjs +1 -0
  415. package/dist/chunks/stats-1.1.21-bdpn78b9.mjs +6 -0
  416. package/dist/chunks/status-1.1.21-dkepakb3.mjs +1 -0
  417. package/dist/chunks/stickers-1.1.21-xk8yr9yt.mjs +1 -0
  418. package/dist/chunks/subprocessEnv-1.1.21-tjx2d81b.mjs +1 -0
  419. package/dist/chunks/tasks-1.1.21-9qx5fz1q.mjs +1 -0
  420. package/dist/chunks/teamHelpers-1.1.21-pnhycdw4.mjs +1 -0
  421. package/dist/chunks/teammateModeSnapshot-1.1.21-279f713t.mjs +1 -0
  422. package/dist/chunks/teleport-1.1.21-t3yfsxqf.mjs +1 -0
  423. package/dist/chunks/terminalSetup-1.1.21-6t0x22pz.mjs +1 -0
  424. package/dist/chunks/theme-1.1.21-qp0w8xbb.mjs +1 -0
  425. package/dist/chunks/thinkback-1.1.21-my7w4nms.mjs +1 -0
  426. package/dist/chunks/thinkback-play-1.1.21-67cnrtz7.mjs +1 -0
  427. package/dist/chunks/toolPool-1.1.21-njaz40qd.mjs +1 -0
  428. package/dist/chunks/toolSearch-1.1.21-7b0wbg1q.mjs +1 -0
  429. package/dist/chunks/tools-1.1.21-zaawccjz.mjs +1 -0
  430. package/dist/chunks/trustedDevice-1.1.21-2h0kxwkb.mjs +1 -0
  431. package/dist/chunks/turndown.cjs-1.1.21-tajysy6v.mjs +69 -0
  432. package/dist/chunks/types-1.1.21-dpz3pqyf.mjs +1 -0
  433. package/dist/chunks/ultrareviewCommand-1.1.21-3r3a34tb.mjs +4 -0
  434. package/dist/chunks/update-1.1.21-v9n06gej.mjs +72 -0
  435. package/dist/chunks/upgrade-1.1.21-f40x8myx.mjs +1 -0
  436. package/dist/chunks/upload-1.1.21-x63yx03n.mjs +7 -0
  437. package/dist/chunks/upstreamproxy-1.1.21-4d1nmmca.mjs +14 -0
  438. package/dist/chunks/url-handler-napi-1.1.21-f8egwk04.mjs +1 -0
  439. package/dist/chunks/usage-1.1.21-ajfcrtj1.mjs +1 -0
  440. package/dist/chunks/util-1.1.21-raqpgawk.mjs +1 -0
  441. package/dist/chunks/utils-1.1.21-ae7844cz.mjs +1 -0
  442. package/dist/chunks/vim-1.1.21-stgjbrez.mjs +1 -0
  443. package/dist/chunks/watchLoop-1.1.21-3mrb2p44.mjs +13 -0
  444. package/dist/chunks/watcher-1.1.21-71vsydsx.mjs +1 -0
  445. package/dist/chunks/wiki-1.1.21-m8wt2ppx.mjs +132 -0
  446. package/dist/chunks/workflows-1.1.21-j7gtgean.mjs +1 -0
  447. package/dist/chunks/worktree-1.1.21-acv1xtvb.mjs +1 -0
  448. package/dist/chunks/worktreeModeEnabled-1.1.21-2sg0072j.mjs +1 -0
  449. package/dist/chunks/wrapper-1.1.21-zbvep84d.mjs +7 -0
  450. package/dist/cli.mjs +2 -2
  451. package/package.json +9 -9
  452. package/dist/chunks/AgentTool-1.1.19-ap09svyk.mjs +0 -1
  453. package/dist/chunks/App-1.1.19-k77n3357.mjs +0 -1
  454. package/dist/chunks/ApproveApiKey-1.1.19-tcembk4t.mjs +0 -1
  455. package/dist/chunks/AssistantSessionChooser-1.1.19-m4nrahdt.mjs +0 -1
  456. package/dist/chunks/AutoModeOptInDialog-1.1.19-taks8xn7.mjs +0 -1
  457. package/dist/chunks/BypassPermissionsModeDialog-1.1.19-yme7vhwa.mjs +0 -1
  458. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.19-tfvmz7pe.mjs +0 -1
  459. package/dist/chunks/ConsoleOAuthFlow-1.1.19-zkq642rw.mjs +0 -1
  460. package/dist/chunks/DiffDialog-1.1.19-2d75g9t9.mjs +0 -6
  461. package/dist/chunks/Doctor-1.1.19-0h26y250.mjs +0 -1
  462. package/dist/chunks/ExplorerDialog-1.1.19-664kb4w5.mjs +0 -6
  463. package/dist/chunks/ITermBackend-1.1.19-yebbvfbc.mjs +0 -1
  464. package/dist/chunks/InvalidConfigDialog-1.1.19-69vb23j7.mjs +0 -1
  465. package/dist/chunks/InvalidSettingsDialog-1.1.19-xd8y62c2.mjs +0 -1
  466. package/dist/chunks/MigrationDialog-1.1.19-1629rwte.mjs +0 -1
  467. package/dist/chunks/Onboarding-1.1.19-jpbdr4ek.mjs +0 -1
  468. package/dist/chunks/ProviderManager-1.1.19-gsjnpy2f.mjs +0 -1
  469. package/dist/chunks/REPL-1.1.19-pqppw8hp.mjs +0 -1
  470. package/dist/chunks/ResumeConversation-1.1.19-gvqa5kzm.mjs +0 -1
  471. package/dist/chunks/SnapshotUpdateDialog-1.1.19-jqd47gb8.mjs +0 -1
  472. package/dist/chunks/TeleportProgress-1.1.19-m9xykegt.mjs +0 -1
  473. package/dist/chunks/TeleportRepoMismatchDialog-1.1.19-4x4m771g.mjs +0 -1
  474. package/dist/chunks/TeleportResumeWrapper-1.1.19-4ywpbgq0.mjs +0 -1
  475. package/dist/chunks/TmuxBackend-1.1.19-znn3cy0j.mjs +0 -9
  476. package/dist/chunks/ToolSearchTool-1.1.19-z4htsqk6.mjs +0 -1
  477. package/dist/chunks/TrustDialog-1.1.19-fqjjhqxh.mjs +0 -1
  478. package/dist/chunks/activeProvider-1.1.19-sgb7b5wy.mjs +0 -1
  479. package/dist/chunks/add-dir-1.1.19-y55kbgfe.mjs +0 -1
  480. package/dist/chunks/agentTypes-1.1.19-cfvc6wt9.mjs +0 -1
  481. package/dist/chunks/agents-1.1.19-hc4xvq4r.mjs +0 -110
  482. package/dist/chunks/agents-1.1.19-k8kx3pej.mjs +0 -3
  483. package/dist/chunks/api-1.1.19-gbh2sz3k.mjs +0 -1
  484. package/dist/chunks/asciicast-1.1.19-6mnps2vx.mjs +0 -1
  485. package/dist/chunks/assistant-1.1.19-vmkknmbc.mjs +0 -1
  486. package/dist/chunks/auth-1.1.19-h46w2e1a.mjs +0 -1
  487. package/dist/chunks/auth-1.1.19-s68ybx6f.mjs +0 -1
  488. package/dist/chunks/autoMode-1.1.19-qpevvt9x.mjs +0 -52
  489. package/dist/chunks/autoModeSetup-1.1.19-63yyncht.mjs +0 -44
  490. package/dist/chunks/autoUpdater-1.1.19-vxn3t7f7.mjs +0 -1
  491. package/dist/chunks/backgroundHousekeeping-1.1.19-tg6rqb4x.mjs +0 -1
  492. package/dist/chunks/branch-1.1.19-e4gkb2sb.mjs +0 -4
  493. package/dist/chunks/bridge-1.1.19-zwf5vbc6.mjs +0 -2
  494. package/dist/chunks/bridgeConfig-1.1.19-wc27ha2s.mjs +0 -1
  495. package/dist/chunks/bridgeEnabled-1.1.19-6gq8j1d7.mjs +0 -1
  496. package/dist/chunks/bridgeMain-1.1.19-yzzr33jg.mjs +0 -88
  497. package/dist/chunks/bridgePointer-1.1.19-xdqatsm3.mjs +0 -1
  498. package/dist/chunks/btw-1.1.19-qkfvd0ms.mjs +0 -1
  499. package/dist/chunks/buddy-1.1.19-08xe7ppf.mjs +0 -3
  500. package/dist/chunks/cache-probe-1.1.19-w4a9xacm.mjs +0 -21
  501. package/dist/chunks/cacheStats-1.1.19-exn70h4b.mjs +0 -4
  502. package/dist/chunks/caches-1.1.19-d4jfvwhp.mjs +0 -1
  503. package/dist/chunks/claudeDesktop-1.1.19-kxx2an1b.mjs +0 -1
  504. package/dist/chunks/claudemd-1.1.19-xsbhz7tg.mjs +0 -1
  505. package/dist/chunks/clear-1.1.19-a1znba6q.mjs +0 -1
  506. package/dist/chunks/clearTerminal-1.1.19-ahv4wsvx.mjs +0 -1
  507. package/dist/chunks/cli-1.1.19-00q9c51a.mjs +0 -2
  508. package/dist/chunks/cli-1.1.19-00zv4s06.mjs +0 -2
  509. package/dist/chunks/cli-1.1.19-0cyysv3s.mjs +0 -2
  510. package/dist/chunks/cli-1.1.19-0m8cwm30.mjs +0 -2
  511. package/dist/chunks/cli-1.1.19-0n5vcvqz.mjs +0 -2
  512. package/dist/chunks/cli-1.1.19-0s56yqjm.mjs +0 -2
  513. package/dist/chunks/cli-1.1.19-0zq6911y.mjs +0 -2
  514. package/dist/chunks/cli-1.1.19-10jx9qt3.mjs +0 -2
  515. package/dist/chunks/cli-1.1.19-126eyddd.mjs +0 -2
  516. package/dist/chunks/cli-1.1.19-1mqhgz4n.mjs +0 -2
  517. package/dist/chunks/cli-1.1.19-25szxvwt.mjs +0 -2
  518. package/dist/chunks/cli-1.1.19-29wgse8t.mjs +0 -2
  519. package/dist/chunks/cli-1.1.19-2cb4p1hk.mjs +0 -2
  520. package/dist/chunks/cli-1.1.19-2jkn8w89.mjs +0 -2
  521. package/dist/chunks/cli-1.1.19-2rbw0277.mjs +0 -2
  522. package/dist/chunks/cli-1.1.19-2rnpr99c.mjs +0 -1
  523. package/dist/chunks/cli-1.1.19-2xxxjdpp.mjs +0 -2
  524. package/dist/chunks/cli-1.1.19-35evt5gy.mjs +0 -2
  525. package/dist/chunks/cli-1.1.19-38ya9kd8.mjs +0 -2
  526. package/dist/chunks/cli-1.1.19-3e9krkhy.mjs +0 -2
  527. package/dist/chunks/cli-1.1.19-3ep6p0sf.mjs +0 -2
  528. package/dist/chunks/cli-1.1.19-3jjgtf8t.mjs +0 -2
  529. package/dist/chunks/cli-1.1.19-3q0sj4zp.mjs +0 -3
  530. package/dist/chunks/cli-1.1.19-3tzh16np.mjs +0 -4
  531. package/dist/chunks/cli-1.1.19-3wwc3q32.mjs +0 -2
  532. package/dist/chunks/cli-1.1.19-3xpqyp64.mjs +0 -7
  533. package/dist/chunks/cli-1.1.19-48a6gxnh.mjs +0 -2
  534. package/dist/chunks/cli-1.1.19-4ba4a8jg.mjs +0 -9
  535. package/dist/chunks/cli-1.1.19-4dp1vkze.mjs +0 -2
  536. package/dist/chunks/cli-1.1.19-4hek4kyb.mjs +0 -2
  537. package/dist/chunks/cli-1.1.19-4n6cth1a.mjs +0 -2
  538. package/dist/chunks/cli-1.1.19-53hanqff.mjs +0 -2
  539. package/dist/chunks/cli-1.1.19-5a8wm97m.mjs +0 -2
  540. package/dist/chunks/cli-1.1.19-5eb8a4wn.mjs +0 -2
  541. package/dist/chunks/cli-1.1.19-5kaw3aa5.mjs +0 -2
  542. package/dist/chunks/cli-1.1.19-5xy2q2yt.mjs +0 -2
  543. package/dist/chunks/cli-1.1.19-5z5xyy4e.mjs +0 -34
  544. package/dist/chunks/cli-1.1.19-61nar796.mjs +0 -4
  545. package/dist/chunks/cli-1.1.19-61tem8qm.mjs +0 -2
  546. package/dist/chunks/cli-1.1.19-6jvzyjts.mjs +0 -3
  547. package/dist/chunks/cli-1.1.19-6mq64vhw.mjs +0 -3
  548. package/dist/chunks/cli-1.1.19-6pp1614z.mjs +0 -4
  549. package/dist/chunks/cli-1.1.19-6smqyzzn.mjs +0 -50
  550. package/dist/chunks/cli-1.1.19-779zeaga.mjs +0 -2
  551. package/dist/chunks/cli-1.1.19-7djbq218.mjs +0 -3
  552. package/dist/chunks/cli-1.1.19-7rmk4fz4.mjs +0 -2
  553. package/dist/chunks/cli-1.1.19-7s1yy832.mjs +0 -2
  554. package/dist/chunks/cli-1.1.19-7sfdatrg.mjs +0 -12
  555. package/dist/chunks/cli-1.1.19-7v3pjgvw.mjs +0 -5
  556. package/dist/chunks/cli-1.1.19-7zdwszrb.mjs +0 -2
  557. package/dist/chunks/cli-1.1.19-82vfm05a.mjs +0 -2
  558. package/dist/chunks/cli-1.1.19-89n0ppp5.mjs +0 -2
  559. package/dist/chunks/cli-1.1.19-8dpft679.mjs +0 -2
  560. package/dist/chunks/cli-1.1.19-8zwh2ky5.mjs +0 -2
  561. package/dist/chunks/cli-1.1.19-93bb0mpz.mjs +0 -2
  562. package/dist/chunks/cli-1.1.19-946kz0h0.mjs +0 -2
  563. package/dist/chunks/cli-1.1.19-96rdwb5m.mjs +0 -2
  564. package/dist/chunks/cli-1.1.19-99dfxebe.mjs +0 -2
  565. package/dist/chunks/cli-1.1.19-9a8d2pxp.mjs +0 -2
  566. package/dist/chunks/cli-1.1.19-9dkavmxz.mjs +0 -2
  567. package/dist/chunks/cli-1.1.19-9kbnb3tc.mjs +0 -2
  568. package/dist/chunks/cli-1.1.19-9nfxc159.mjs +0 -3
  569. package/dist/chunks/cli-1.1.19-9vf7tt9g.mjs +0 -2
  570. package/dist/chunks/cli-1.1.19-a26wdy1v.mjs +0 -24
  571. package/dist/chunks/cli-1.1.19-a32dnq28.mjs +0 -2
  572. package/dist/chunks/cli-1.1.19-a5hfs685.mjs +0 -45
  573. package/dist/chunks/cli-1.1.19-a6e1antc.mjs +0 -15
  574. package/dist/chunks/cli-1.1.19-a75p9zey.mjs +0 -2
  575. package/dist/chunks/cli-1.1.19-ac73knxp.mjs +0 -2
  576. package/dist/chunks/cli-1.1.19-acez5n0m.mjs +0 -24
  577. package/dist/chunks/cli-1.1.19-aj7yfbb6.mjs +0 -2
  578. package/dist/chunks/cli-1.1.19-awkva6qc.mjs +0 -24
  579. package/dist/chunks/cli-1.1.19-b7fbqawk.mjs +0 -2
  580. package/dist/chunks/cli-1.1.19-bg1d8zv9.mjs +0 -2
  581. package/dist/chunks/cli-1.1.19-bmy2183w.mjs +0 -2
  582. package/dist/chunks/cli-1.1.19-bxvvef3z.mjs +0 -2
  583. package/dist/chunks/cli-1.1.19-c8xs9vjb.mjs +0 -2
  584. package/dist/chunks/cli-1.1.19-cb7496nq.mjs +0 -5
  585. package/dist/chunks/cli-1.1.19-cc266ybe.mjs +0 -2
  586. package/dist/chunks/cli-1.1.19-cfgdvk8n.mjs +0 -12
  587. package/dist/chunks/cli-1.1.19-cjq368e9.mjs +0 -24
  588. package/dist/chunks/cli-1.1.19-cma77m08.mjs +0 -2
  589. package/dist/chunks/cli-1.1.19-cq5hegwz.mjs +0 -6
  590. package/dist/chunks/cli-1.1.19-csfx7v0e.mjs +0 -2
  591. package/dist/chunks/cli-1.1.19-d00hzr89.mjs +0 -2
  592. package/dist/chunks/cli-1.1.19-d1qdwt16.mjs +0 -2
  593. package/dist/chunks/cli-1.1.19-d2x1fpvn.mjs +0 -3
  594. package/dist/chunks/cli-1.1.19-d7wb13f8.mjs +0 -2
  595. package/dist/chunks/cli-1.1.19-dq0a7g9x.mjs +0 -2
  596. package/dist/chunks/cli-1.1.19-dt84yfk2.mjs +0 -206
  597. package/dist/chunks/cli-1.1.19-dw8jwdzq.mjs +0 -3
  598. package/dist/chunks/cli-1.1.19-dzbss10b.mjs +0 -3
  599. package/dist/chunks/cli-1.1.19-e4krk6kp.mjs +0 -2
  600. package/dist/chunks/cli-1.1.19-e5k83shq.mjs +0 -17
  601. package/dist/chunks/cli-1.1.19-ec5kkxdm.mjs +0 -2
  602. package/dist/chunks/cli-1.1.19-edv500a7.mjs +0 -25
  603. package/dist/chunks/cli-1.1.19-esk8qemt.mjs +0 -3
  604. package/dist/chunks/cli-1.1.19-eyhpgp73.mjs +0 -4
  605. package/dist/chunks/cli-1.1.19-f1g12hnb.mjs +0 -2
  606. package/dist/chunks/cli-1.1.19-f1vb0eyp.mjs +0 -2
  607. package/dist/chunks/cli-1.1.19-f6m8mqsf.mjs +0 -2
  608. package/dist/chunks/cli-1.1.19-fgfwa8xc.mjs +0 -2
  609. package/dist/chunks/cli-1.1.19-fqwvhznj.mjs +0 -2
  610. package/dist/chunks/cli-1.1.19-ftnf2s7k.mjs +0 -6
  611. package/dist/chunks/cli-1.1.19-g1bp4mfb.mjs +0 -2
  612. package/dist/chunks/cli-1.1.19-g70qb326.mjs +0 -2
  613. package/dist/chunks/cli-1.1.19-grvgykf5.mjs +0 -58
  614. package/dist/chunks/cli-1.1.19-gvdrxej7.mjs +0 -6
  615. package/dist/chunks/cli-1.1.19-gw9jb8fv.mjs +0 -2
  616. package/dist/chunks/cli-1.1.19-h5psdt4j.mjs +0 -2
  617. package/dist/chunks/cli-1.1.19-h6a1zywh.mjs +0 -2
  618. package/dist/chunks/cli-1.1.19-h6nqzwdx.mjs +0 -8
  619. package/dist/chunks/cli-1.1.19-hdmxb06r.mjs +0 -2
  620. package/dist/chunks/cli-1.1.19-hph7gbkv.mjs +0 -42
  621. package/dist/chunks/cli-1.1.19-hqbspnvc.mjs +0 -5419
  622. package/dist/chunks/cli-1.1.19-hr45csak.mjs +0 -3
  623. package/dist/chunks/cli-1.1.19-j9kyrhvv.mjs +0 -3
  624. package/dist/chunks/cli-1.1.19-jn7xm69z.mjs +0 -2
  625. package/dist/chunks/cli-1.1.19-k4gwmyp2.mjs +0 -17
  626. package/dist/chunks/cli-1.1.19-k5svbvzd.mjs +0 -2
  627. package/dist/chunks/cli-1.1.19-kc4rvbe3.mjs +0 -18
  628. package/dist/chunks/cli-1.1.19-kjbxevhz.mjs +0 -2
  629. package/dist/chunks/cli-1.1.19-kjhw0mpy.mjs +0 -6
  630. package/dist/chunks/cli-1.1.19-kxz28gf8.mjs +0 -21
  631. package/dist/chunks/cli-1.1.19-m8w4as34.mjs +0 -16
  632. package/dist/chunks/cli-1.1.19-m9vwd2bt.mjs +0 -2
  633. package/dist/chunks/cli-1.1.19-mam509fm.mjs +0 -2
  634. package/dist/chunks/cli-1.1.19-mn9sb0en.mjs +0 -2
  635. package/dist/chunks/cli-1.1.19-mqs96k5w.mjs +0 -4
  636. package/dist/chunks/cli-1.1.19-mrft54r6.mjs +0 -2
  637. package/dist/chunks/cli-1.1.19-n24w651m.mjs +0 -3
  638. package/dist/chunks/cli-1.1.19-n5xxe310.mjs +0 -133
  639. package/dist/chunks/cli-1.1.19-nb1256fg.mjs +0 -4
  640. package/dist/chunks/cli-1.1.19-nqznsj8y.mjs +0 -2
  641. package/dist/chunks/cli-1.1.19-nrpwj6d0.mjs +0 -3
  642. package/dist/chunks/cli-1.1.19-p1nzrjj5.mjs +0 -25
  643. package/dist/chunks/cli-1.1.19-p8pd4mmb.mjs +0 -2
  644. package/dist/chunks/cli-1.1.19-pdmgnq2h.mjs +0 -39
  645. package/dist/chunks/cli-1.1.19-pn1pyg9c.mjs +0 -2
  646. package/dist/chunks/cli-1.1.19-q2b2zy0e.mjs +0 -2
  647. package/dist/chunks/cli-1.1.19-q5kbe656.mjs +0 -2
  648. package/dist/chunks/cli-1.1.19-q7cjyz1z.mjs +0 -2
  649. package/dist/chunks/cli-1.1.19-qb3sg611.mjs +0 -2
  650. package/dist/chunks/cli-1.1.19-qvzf4mzn.mjs +0 -2
  651. package/dist/chunks/cli-1.1.19-qw2a73hz.mjs +0 -2
  652. package/dist/chunks/cli-1.1.19-r3km7nzk.mjs +0 -2
  653. package/dist/chunks/cli-1.1.19-r4qc48rf.mjs +0 -2
  654. package/dist/chunks/cli-1.1.19-rk4mqvc5.mjs +0 -2
  655. package/dist/chunks/cli-1.1.19-rkxy1dsw.mjs +0 -2
  656. package/dist/chunks/cli-1.1.19-ry92fd54.mjs +0 -7
  657. package/dist/chunks/cli-1.1.19-s3zhxkk4.mjs +0 -2
  658. package/dist/chunks/cli-1.1.19-sbrpsrtp.mjs +0 -4
  659. package/dist/chunks/cli-1.1.19-shgmqysk.mjs +0 -2
  660. package/dist/chunks/cli-1.1.19-shgqfcam.mjs +0 -2
  661. package/dist/chunks/cli-1.1.19-snq43w01.mjs +0 -6
  662. package/dist/chunks/cli-1.1.19-swfswrx1.mjs +0 -2
  663. package/dist/chunks/cli-1.1.19-t7yahhjv.mjs +0 -4
  664. package/dist/chunks/cli-1.1.19-t87ew64x.mjs +0 -2
  665. package/dist/chunks/cli-1.1.19-t9xz3682.mjs +0 -20
  666. package/dist/chunks/cli-1.1.19-tar53fbc.mjs +0 -15
  667. package/dist/chunks/cli-1.1.19-tefbgf43.mjs +0 -2
  668. package/dist/chunks/cli-1.1.19-tm3821yd.mjs +0 -2
  669. package/dist/chunks/cli-1.1.19-tqv8yds0.mjs +0 -2
  670. package/dist/chunks/cli-1.1.19-tw6zn01k.mjs +0 -2
  671. package/dist/chunks/cli-1.1.19-v35x8svk.mjs +0 -15
  672. package/dist/chunks/cli-1.1.19-v619rbr5.mjs +0 -59
  673. package/dist/chunks/cli-1.1.19-vbq3h0rr.mjs +0 -2
  674. package/dist/chunks/cli-1.1.19-vfed8ert.mjs +0 -2
  675. package/dist/chunks/cli-1.1.19-vgfqexte.mjs +0 -4
  676. package/dist/chunks/cli-1.1.19-vpabfve5.mjs +0 -6
  677. package/dist/chunks/cli-1.1.19-vr8jf7k6.mjs +0 -2
  678. package/dist/chunks/cli-1.1.19-vv09y4gs.mjs +0 -2
  679. package/dist/chunks/cli-1.1.19-vx87jjbs.mjs +0 -18
  680. package/dist/chunks/cli-1.1.19-vyqgdds6.mjs +0 -2
  681. package/dist/chunks/cli-1.1.19-w9tb5j4s.mjs +0 -2
  682. package/dist/chunks/cli-1.1.19-wrgbrnhw.mjs +0 -9
  683. package/dist/chunks/cli-1.1.19-wtkads83.mjs +0 -2
  684. package/dist/chunks/cli-1.1.19-wzm0j7nd.mjs +0 -133
  685. package/dist/chunks/cli-1.1.19-x1grwt9b.mjs +0 -2
  686. package/dist/chunks/cli-1.1.19-x522f12c.mjs +0 -2
  687. package/dist/chunks/cli-1.1.19-x6xnsxay.mjs +0 -2
  688. package/dist/chunks/cli-1.1.19-x86k1gy8.mjs +0 -2
  689. package/dist/chunks/cli-1.1.19-x8set46s.mjs +0 -2
  690. package/dist/chunks/cli-1.1.19-x9jccx03.mjs +0 -4
  691. package/dist/chunks/cli-1.1.19-xnas5w2g.mjs +0 -2
  692. package/dist/chunks/cli-1.1.19-xst2kbax.mjs +0 -2
  693. package/dist/chunks/cli-1.1.19-xvrj0zyj.mjs +0 -2
  694. package/dist/chunks/cli-1.1.19-y6p80wj3.mjs +0 -3
  695. package/dist/chunks/cli-1.1.19-ybe27dz9.mjs +0 -66
  696. package/dist/chunks/cli-1.1.19-ykspd2ax.mjs +0 -2
  697. package/dist/chunks/cli-1.1.19-ykvwaeht.mjs +0 -2
  698. package/dist/chunks/cli-1.1.19-yrjfmdg0.mjs +0 -2
  699. package/dist/chunks/cli-1.1.19-ys9280nx.mjs +0 -2
  700. package/dist/chunks/cli-1.1.19-yw33djbn.mjs +0 -2
  701. package/dist/chunks/cli-1.1.19-z9t89h8r.mjs +0 -2
  702. package/dist/chunks/cli-1.1.19-zcbfxmsm.mjs +0 -2
  703. package/dist/chunks/cli-1.1.19-zdb14mt2.mjs +0 -2
  704. package/dist/chunks/cli-1.1.19-zebz0x46.mjs +0 -2
  705. package/dist/chunks/cli-1.1.19-zg8m3n8n.mjs +0 -2
  706. package/dist/chunks/cli-1.1.19-zm9nhjfe.mjs +0 -2
  707. package/dist/chunks/cli-1.1.19-ztvzhgye.mjs +0 -2
  708. package/dist/chunks/cli-1.1.19-ztxdhvw3.mjs +0 -2
  709. package/dist/chunks/cli-1.1.19-zv4hb0hf.mjs +0 -2
  710. package/dist/chunks/client-1.1.19-rydegw5h.mjs +0 -1
  711. package/dist/chunks/color-1.1.19-p5265vaz.mjs +0 -1
  712. package/dist/chunks/compact-1.1.19-7c9mxrm8.mjs +0 -3
  713. package/dist/chunks/config-1.1.19-2wsgrxvp.mjs +0 -1
  714. package/dist/chunks/config-1.1.19-d62j9tgx.mjs +0 -1
  715. package/dist/chunks/constants-1.1.19-cyxrtszj.mjs +0 -1
  716. package/dist/chunks/context-1.1.19-mtt1t5p4.mjs +0 -1
  717. package/dist/chunks/context-noninteractive-1.1.19-xry25hh6.mjs +0 -1
  718. package/dist/chunks/conversation-1.1.19-y6cahyhg.mjs +0 -1
  719. package/dist/chunks/copilotHeaders-1.1.19-esh8mxyx.mjs +0 -1
  720. package/dist/chunks/copy-1.1.19-tyf8daxj.mjs +0 -9
  721. package/dist/chunks/cost-1.1.19-pvrac5v6.mjs +0 -1
  722. package/dist/chunks/createSSHSession-1.1.19-8jd28zhc.mjs +0 -1
  723. package/dist/chunks/createSession-1.1.19-88gw4fqs.mjs +0 -1
  724. package/dist/chunks/debug-1.1.19-xz3040cz.mjs +0 -1
  725. package/dist/chunks/defaultActionDeps-1.1.19-x39zq6wr.mjs +0 -1534
  726. package/dist/chunks/desktop-1.1.19-a40h3fh1.mjs +0 -1
  727. package/dist/chunks/detectRepository-1.1.19-g0rbffr6.mjs +0 -1
  728. package/dist/chunks/detection-1.1.19-kzpx83pk.mjs +0 -1
  729. package/dist/chunks/diff-1.1.19-g76zmzb1.mjs +0 -1
  730. package/dist/chunks/doctor-1.1.19-03zspk7d.mjs +0 -1
  731. package/dist/chunks/doctorDiagnostic-1.1.19-df18kr26.mjs +0 -1
  732. package/dist/chunks/earlyInput-1.1.19-n9y2y9sm.mjs +0 -1
  733. package/dist/chunks/effort-1.1.19-503r3dqe.mjs +0 -13
  734. package/dist/chunks/engine-1.1.19-0ad61bvx.mjs +0 -1
  735. package/dist/chunks/envLessBridgeConfig-1.1.19-qf1fj44h.mjs +0 -1
  736. package/dist/chunks/envUtils-1.1.19-8en4zy66.mjs +0 -1
  737. package/dist/chunks/environmentSelection-1.1.19-91hc6n75.mjs +0 -1
  738. package/dist/chunks/environments-1.1.19-tfjfkh09.mjs +0 -1
  739. package/dist/chunks/errors-1.1.19-fs48fz9y.mjs +0 -1
  740. package/dist/chunks/exampleCommands-1.1.19-pbb6kk50.mjs +0 -1
  741. package/dist/chunks/execFileNoThrow-1.1.19-m6am19yr.mjs +0 -1
  742. package/dist/chunks/exit-1.1.19-mqpwd363.mjs +0 -1
  743. package/dist/chunks/explorer-1.1.19-epqv5k1e.mjs +0 -1
  744. package/dist/chunks/export-1.1.19-t8tpvak9.mjs +0 -2
  745. package/dist/chunks/extra-usage-1.1.19-r9kte59s.mjs +0 -1
  746. package/dist/chunks/extra-usage-noninteractive-1.1.19-xnxm4sqt.mjs +0 -1
  747. package/dist/chunks/fast-1.1.19-c4n0rr8a.mjs +0 -1
  748. package/dist/chunks/feedback-1.1.19-7k5rya63.mjs +0 -14
  749. package/dist/chunks/firstPartyEventLogger-1.1.19-5bjmyd6a.mjs +0 -1
  750. package/dist/chunks/git-1.1.19-1njw7gwq.mjs +0 -1
  751. package/dist/chunks/githubModelsCredentials-1.1.19-k4csmysh.mjs +0 -1
  752. package/dist/chunks/goal-1.1.19-e08g4net.mjs +0 -4
  753. package/dist/chunks/growthbook-1.1.19-gw9m906y.mjs +0 -1
  754. package/dist/chunks/headless-1.1.19-gckc9qf1.mjs +0 -2
  755. package/dist/chunks/heapdump-1.1.19-cy0bczwr.mjs +0 -6
  756. package/dist/chunks/help-1.1.19-bbfsbt36.mjs +0 -1
  757. package/dist/chunks/hookChains-1.1.19-n01ssw8c.mjs +0 -3
  758. package/dist/chunks/hooks-1.1.19-488gkyjk.mjs +0 -1
  759. package/dist/chunks/hooks-1.1.19-b2x6yc66.mjs +0 -79
  760. package/dist/chunks/ide-1.1.19-zf9hpj81.mjs +0 -3
  761. package/dist/chunks/image-processor-napi-1.1.19-1m270wr0.mjs +0 -1
  762. package/dist/chunks/inboundAttachments-1.1.19-h4bsnn75.mjs +0 -1
  763. package/dist/chunks/index-1.1.19-06ccpd87.mjs +0 -1
  764. package/dist/chunks/index-1.1.19-263v6qeb.mjs +0 -1
  765. package/dist/chunks/index-1.1.19-2d944pv5.mjs +0 -1
  766. package/dist/chunks/index-1.1.19-7ngy3yfc.mjs +0 -9
  767. package/dist/chunks/index-1.1.19-apzfwtnm.mjs +0 -1
  768. package/dist/chunks/index-1.1.19-efdm8cp5.mjs +0 -30
  769. package/dist/chunks/index-1.1.19-exbss9tj.mjs +0 -1
  770. package/dist/chunks/index-1.1.19-f53qyqj8.mjs +0 -2
  771. package/dist/chunks/index-1.1.19-fae0sgd8.mjs +0 -5
  772. package/dist/chunks/index-1.1.19-g4rv8gvj.mjs +0 -2
  773. package/dist/chunks/index-1.1.19-ha3e4f70.mjs +0 -1
  774. package/dist/chunks/index-1.1.19-ht9s8yra.mjs +0 -9
  775. package/dist/chunks/index-1.1.19-j9awq55c.mjs +0 -1
  776. package/dist/chunks/index-1.1.19-jdvmsx9x.mjs +0 -1
  777. package/dist/chunks/index-1.1.19-ks262nbe.mjs +0 -1
  778. package/dist/chunks/index-1.1.19-mppepmze.mjs +0 -23
  779. package/dist/chunks/index-1.1.19-nthw1gda.mjs +0 -1
  780. package/dist/chunks/index-1.1.19-rs8fazy9.mjs +0 -1
  781. package/dist/chunks/index-1.1.19-sze2q9g5.mjs +0 -1
  782. package/dist/chunks/index-1.1.19-vkfm4msr.mjs +0 -1
  783. package/dist/chunks/index-1.1.19-vs2nyqte.mjs +0 -1
  784. package/dist/chunks/index-1.1.19-z8fcr2ec.mjs +0 -1
  785. package/dist/chunks/index-1.1.19-zy7mntdp.mjs +0 -1
  786. package/dist/chunks/init-1.1.19-8d53tmw6.mjs +0 -1
  787. package/dist/chunks/initReplBridge-1.1.19-p00njb6f.mjs +0 -1
  788. package/dist/chunks/ink-1.1.19-vr4g8jdg.mjs +0 -1
  789. package/dist/chunks/insights-1.1.19-6ag4d7qh.mjs +0 -870
  790. package/dist/chunks/install-1.1.19-74g8qyvc.mjs +0 -1
  791. package/dist/chunks/install-github-app-1.1.19-3nj645m2.mjs +0 -149
  792. package/dist/chunks/install-slack-app-1.1.19-sw02tcfh.mjs +0 -1
  793. package/dist/chunks/instrumentation-1.1.19-fshq5kr2.mjs +0 -1
  794. package/dist/chunks/interactiveHelpers-1.1.19-npmh2sbc.mjs +0 -1
  795. package/dist/chunks/keybindings-1.1.19-xy665r7j.mjs +0 -2
  796. package/dist/chunks/knowledge-1.1.19-e4pdfkhx.mjs +0 -2
  797. package/dist/chunks/latestVersionCache-1.1.19-fktnyx5h.mjs +0 -1
  798. package/dist/chunks/loadAgentsDir-1.1.19-j4732ykz.mjs +0 -1
  799. package/dist/chunks/loadPluginHooks-1.1.19-99a4nfjq.mjs +0 -1
  800. package/dist/chunks/log-1.1.19-y3spcye6.mjs +0 -1
  801. package/dist/chunks/main-1.1.19-06jy3aye.mjs +0 -1
  802. package/dist/chunks/managedEnv-1.1.19-19k3jdqh.mjs +0 -1
  803. package/dist/chunks/mcp-1.1.19-833sdc7d.mjs +0 -17
  804. package/dist/chunks/mcp-1.1.19-x0sfjzjt.mjs +0 -1
  805. package/dist/chunks/mcp-1.1.19-z5x59bca.mjs +0 -4
  806. package/dist/chunks/mcpb-1.1.19-bbswp853.mjs +0 -1
  807. package/dist/chunks/memory-1.1.19-d1ke4kha.mjs +0 -72
  808. package/dist/chunks/model-1.1.19-sm0ftpna.mjs +0 -1
  809. package/dist/chunks/model-1.1.19-v68fjcdh.mjs +0 -2
  810. package/dist/chunks/node-1.1.19-nj9qe6mk.mjs +0 -12
  811. package/dist/chunks/oauth-1.1.19-y016e4dk.mjs +0 -1
  812. package/dist/chunks/openaiShim-1.1.19-njr80kze.mjs +0 -14
  813. package/dist/chunks/output-style-1.1.19-rj9tfcg1.mjs +0 -1
  814. package/dist/chunks/package-KQCMZM5L-1.1.19-4f1z2hmg.mjs +0 -1
  815. package/dist/chunks/parseConnectUrl-1.1.19-qtk1xf04.mjs +0 -1
  816. package/dist/chunks/parser-1.1.19-sfrfy1dm.mjs +0 -1
  817. package/dist/chunks/passes-1.1.19-nhfrcsrb.mjs +0 -1
  818. package/dist/chunks/permissions-1.1.19-bfjnq5mz.mjs +0 -1
  819. package/dist/chunks/permissions-1.1.19-vzcjg874.mjs +0 -3
  820. package/dist/chunks/plan-1.1.19-qzr3m454.mjs +0 -1
  821. package/dist/chunks/plist-1.1.19-19wsvxjw.mjs +0 -1
  822. package/dist/chunks/plugin-1.1.19-p0h9mbar.mjs +0 -29
  823. package/dist/chunks/pluginStartupCheck-1.1.19-7pvtzbb1.mjs +0 -1
  824. package/dist/chunks/plugins-1.1.19-xrbe4y5a.mjs +0 -9
  825. package/dist/chunks/preActionHook-1.1.19-wfp4vavy.mjs +0 -2
  826. package/dist/chunks/print-1.1.19-rzw2njmz.mjs +0 -57
  827. package/dist/chunks/process-1.1.19-k7h4qsz0.mjs +0 -1
  828. package/dist/chunks/processBashCommand-1.1.19-p1ffejkb.mjs +0 -1
  829. package/dist/chunks/processSlashCommand-1.1.19-gy6nfdzs.mjs +0 -9
  830. package/dist/chunks/prompt-1.1.19-9aq4jr0c.mjs +0 -1
  831. package/dist/chunks/prompt-1.1.19-kkwb835d.mjs +0 -1
  832. package/dist/chunks/prompts-1.1.19-qq19kp1k.mjs +0 -1
  833. package/dist/chunks/protocolHandler-1.1.19-6n3sh10m.mjs +0 -13
  834. package/dist/chunks/provider-1.1.19-46f6x4wt.mjs +0 -2
  835. package/dist/chunks/providerProfiles-1.1.19-xxzvjngj.mjs +0 -1
  836. package/dist/chunks/providerValidation-1.1.19-t3qsn8f5.mjs +0 -6
  837. package/dist/chunks/rate-limit-options-1.1.19-j7xrp805.mjs +0 -1
  838. package/dist/chunks/registerSubcommands-1.1.19-v2jjs3tt.mjs +0 -26
  839. package/dist/chunks/registry-1.1.19-7chtcyjj.mjs +0 -1
  840. package/dist/chunks/release-notes-1.1.19-pbbxph7n.mjs +0 -5
  841. package/dist/chunks/reload-plugins-1.1.19-qgvazhrx.mjs +0 -2
  842. package/dist/chunks/remote-env-1.1.19-4ftd6zk8.mjs +0 -1
  843. package/dist/chunks/remoteBridgeCore-1.1.19-w92h77yd.mjs +0 -1
  844. package/dist/chunks/remoteSession-1.1.19-e5nd7ypy.mjs +0 -1
  845. package/dist/chunks/rename-1.1.19-zmextayk.mjs +0 -1
  846. package/dist/chunks/replBridgeHandle-1.1.19-4vqnj6br.mjs +0 -1
  847. package/dist/chunks/replLauncher-1.1.19-s2btrsvw.mjs +0 -1
  848. package/dist/chunks/resume-1.1.19-jn7pe69d.mjs +0 -2
  849. package/dist/chunks/rewind-1.1.19-rahxdd24.mjs +0 -1
  850. package/dist/chunks/rootOptions-1.1.19-hjwkw6vt.mjs +0 -1
  851. package/dist/chunks/runWorkflowHeadless-1.1.19-hjwsqxd5.mjs +0 -10
  852. package/dist/chunks/sandbox-adapter-1.1.19-4aqxxq3m.mjs +0 -1
  853. package/dist/chunks/sandbox-toggle-1.1.19-x2n1fkv0.mjs +0 -1
  854. package/dist/chunks/session-1.1.19-je5j810m.mjs +0 -2
  855. package/dist/chunks/sessionDiscovery-1.1.19-t595d3pg.mjs +0 -1
  856. package/dist/chunks/sessionFileAccessHooks-1.1.19-bng1xsd6.mjs +0 -1
  857. package/dist/chunks/sessionStorage-1.1.19-6agd7cfq.mjs +0 -1
  858. package/dist/chunks/settings-1.1.19-cpxbjwr6.mjs +0 -1
  859. package/dist/chunks/setup-1.1.19-11b5cjgj.mjs +0 -12
  860. package/dist/chunks/sinks-1.1.19-m4ce6s8b.mjs +0 -1
  861. package/dist/chunks/skills-1.1.19-scwgh73s.mjs +0 -1
  862. package/dist/chunks/startupProfiler-1.1.19-j0kpxw4n.mjs +0 -1
  863. package/dist/chunks/startupUpdateCheck-1.1.19-k05gx3h1.mjs +0 -1
  864. package/dist/chunks/state-1.1.19-r1dtdp9g.mjs +0 -1
  865. package/dist/chunks/stats-1.1.19-zwc97973.mjs +0 -6
  866. package/dist/chunks/status-1.1.19-8m7tf3e1.mjs +0 -1
  867. package/dist/chunks/stickers-1.1.19-51p3tyxv.mjs +0 -1
  868. package/dist/chunks/subprocessEnv-1.1.19-bq634ryk.mjs +0 -1
  869. package/dist/chunks/tasks-1.1.19-xtpcttgb.mjs +0 -1
  870. package/dist/chunks/teamHelpers-1.1.19-37de1g3x.mjs +0 -1
  871. package/dist/chunks/teammateModeSnapshot-1.1.19-0zaw34nq.mjs +0 -1
  872. package/dist/chunks/teleport-1.1.19-1yrce0fg.mjs +0 -1
  873. package/dist/chunks/terminalSetup-1.1.19-n3qgcbse.mjs +0 -1
  874. package/dist/chunks/theme-1.1.19-qfd87sgp.mjs +0 -1
  875. package/dist/chunks/thinkback-1.1.19-gss5am06.mjs +0 -1
  876. package/dist/chunks/thinkback-play-1.1.19-7j20scs3.mjs +0 -1
  877. package/dist/chunks/toolPool-1.1.19-tmtwkgcj.mjs +0 -1
  878. package/dist/chunks/toolSearch-1.1.19-01pt7axx.mjs +0 -1
  879. package/dist/chunks/tools-1.1.19-1y8gx9m2.mjs +0 -1
  880. package/dist/chunks/trustedDevice-1.1.19-d1avnq7v.mjs +0 -1
  881. package/dist/chunks/turndown.cjs-1.1.19-q8rxrnz3.mjs +0 -69
  882. package/dist/chunks/types-1.1.19-3n28bh66.mjs +0 -1
  883. package/dist/chunks/ultrareviewCommand-1.1.19-vhhfbsfg.mjs +0 -4
  884. package/dist/chunks/update-1.1.19-xzwgsapn.mjs +0 -72
  885. package/dist/chunks/upgrade-1.1.19-5ydc5rb9.mjs +0 -1
  886. package/dist/chunks/upload-1.1.19-evxky0ry.mjs +0 -7
  887. package/dist/chunks/upstreamproxy-1.1.19-6t7vnxjf.mjs +0 -14
  888. package/dist/chunks/url-handler-napi-1.1.19-zgpfdrf1.mjs +0 -1
  889. package/dist/chunks/usage-1.1.19-f61vnt3h.mjs +0 -1
  890. package/dist/chunks/util-1.1.19-yqzpdqqe.mjs +0 -1
  891. package/dist/chunks/utils-1.1.19-hhq6836h.mjs +0 -1
  892. package/dist/chunks/vim-1.1.19-k2aqex53.mjs +0 -1
  893. package/dist/chunks/watchLoop-1.1.19-e3ar1gjj.mjs +0 -13
  894. package/dist/chunks/watcher-1.1.19-09ahtfef.mjs +0 -1
  895. package/dist/chunks/wiki-1.1.19-h6tfdmnw.mjs +0 -132
  896. package/dist/chunks/workflows-1.1.19-kgd61yya.mjs +0 -1
  897. package/dist/chunks/worktree-1.1.19-8vn5pmy9.mjs +0 -1
  898. package/dist/chunks/worktreeModeEnabled-1.1.19-je6hz46c.mjs +0 -1
  899. package/dist/chunks/wrapper-1.1.19-dn4wk1mg.mjs +0 -7
  900. /package/dist/chunks/{cli-1.1.19-4tssw0qf.mjs → cli-1.1.21-7snn7kbs.mjs} +0 -0
  901. /package/dist/chunks/{cli-1.1.19-jepkkjbh.mjs → cli-1.1.21-7sx1arjq.mjs} +0 -0
  902. /package/dist/chunks/{cli-1.1.19-mnfgg84d.mjs → cli-1.1.21-cx7tkkx6.mjs} +0 -0
  903. /package/dist/chunks/{cli-1.1.19-j2p355hg.mjs → cli-1.1.21-ftamxg3e.mjs} +0 -0
  904. /package/dist/chunks/{cli-1.1.19-caqq41md.mjs → cli-1.1.21-rte0df0y.mjs} +0 -0
  905. /package/dist/chunks/{cli-1.1.19-er0hdy0x.mjs → cli-1.1.21-srd8n2bc.mjs} +0 -0
@@ -1,2 +0,0 @@
1
- import{DZ as u2,H1 as e2,MZ as Z,a1 as Y,c1 as u}from"./cli-1.1.19-v619rbr5.mjs";import{d4 as t,e4 as o,f4 as U}from"./cli-1.1.19-25szxvwt.mjs";import{Iba as X,Kba as j}from"./cli-1.1.19-dt84yfk2.mjs";import{gta as s}from"./cli-1.1.19-cc266ybe.mjs";e2();j();U();var Q=s(u2(),1),K=58;function c2(){let l=Q.c(35),[e]=Z();if(X.terminal==="Apple_Terminal"){let c;if(l[0]!==e)c=t(t2,{theme:e,welcomeMessage:"Welcome to Claudin"}),l[0]=e,l[1]=c;else c=l[1];return c}if(["light","light-daltonized","light-ansi"].includes(e)){let c,O,R,k,A,a,I,i,V;if(l[2]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","1.1.19"," "]})]}),O=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),R=t(u,{children:" "}),k=t(u,{children:" "}),A=t(u,{children:" "}),a=t(u,{children:" ░░░░░░ "}),I=t(u,{children:" ░░░ ░░░░░░░░░░ "}),i=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),V=t(u,{children:" "}),l[2]=c,l[3]=O,l[4]=R,l[5]=k,l[6]=A,l[7]=a,l[8]=I,l[9]=i,l[10]=V;else c=l[2],O=l[3],R=l[4],k=l[5],A=l[6],a=l[7],I=l[8],i=l[9],V=l[10];let M;if(l[11]===Symbol.for("react.memo_cache_sentinel"))M=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),l[11]=M;else M=l[11];let E,W;if(l[12]===Symbol.for("react.memo_cache_sentinel"))E=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),W=t(u,{children:" ▒▒ ██ ▒"}),l[12]=E,l[13]=W;else E=l[12],W=l[13];let N;if(l[14]===Symbol.for("react.memo_cache_sentinel"))N=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ▒▒░░▒▒ ▒ ▒▒"]}),l[14]=N;else N=l[14];let L;if(l[15]===Symbol.for("react.memo_cache_sentinel"))L=o(u,{children:[" ",t(u,{color:"clawd_body",backgroundColor:"clawd_background",children:"██▄█████▄██"})," ▒▒ ▒▒ "]}),l[15]=L;else L=l[15];let P;if(l[16]===Symbol.for("react.memo_cache_sentinel"))P=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ░ ▒ "]}),l[16]=P;else P=l[16];let v;if(l[17]===Symbol.for("react.memo_cache_sentinel"))v=t(Y,{width:K,children:o(u,{children:[c,O,R,k,A,a,I,i,V,M,E,W,N,L,P,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"……………………………………………………………………░…………………………▒…………"]})]})}),l[17]=v;else v=l[17];return v}let B,r,D,T,d,m,n;if(l[18]===Symbol.for("react.memo_cache_sentinel"))B=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","1.1.19"," "]})]}),r=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),D=t(u,{children:" "}),T=t(u,{children:" * █████▓▓░ "}),d=t(u,{children:" * ███▓░ ░░ "}),m=t(u,{children:" ░░░░░░ ███▓░ "}),n=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),l[18]=B,l[19]=r,l[20]=D,l[21]=T,l[22]=d,l[23]=m,l[24]=n;else B=l[18],r=l[19],D=l[20],T=l[21],d=l[22],m=l[23],n=l[24];let b,f,_,y,h;if(l[25]===Symbol.for("react.memo_cache_sentinel"))_=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),y=t(u,{children:" ░▓▓███▓▓░ "}),h=t(u,{dimColor:!0,children:" * ░░░░ "}),b=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),f=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),l[25]=b,l[26]=f,l[27]=_,l[28]=y,l[29]=h;else b=l[25],f=l[26],_=l[27],y=l[28],h=l[29];let C;if(l[30]===Symbol.for("react.memo_cache_sentinel"))C=t(u,{color:"clawd_body",children:" █████████ "}),l[30]=C;else C=l[30];let S;if(l[31]===Symbol.for("react.memo_cache_sentinel"))S=o(u,{children:[" ",C," ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),l[31]=S;else S=l[31];let w;if(l[32]===Symbol.for("react.memo_cache_sentinel"))w=o(u,{children:[" ",t(u,{color:"clawd_body",children:"██▄█████▄██"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),l[32]=w;else w=l[32];let g;if(l[33]===Symbol.for("react.memo_cache_sentinel"))g=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," * "]}),l[33]=g;else g=l[33];let p;if(l[34]===Symbol.for("react.memo_cache_sentinel"))p=t(Y,{width:K,children:o(u,{children:[B,r,D,T,d,m,n,_,y,h,b,f,S,w,g,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"………………………………………………………………………………………………………………"]})]})}),l[34]=p;else p=l[34];return p}function t2(l){let e=Q.c(44),{theme:B,welcomeMessage:r}=l;if(["light","light-daltonized","light-ansi"].includes(B)){let a;if(e[0]!==r)a=o(u,{color:"claude",children:[r," "]}),e[0]=r,e[1]=a;else a=e[1];let I;if(e[2]===Symbol.for("react.memo_cache_sentinel"))I=o(u,{dimColor:!0,children:["v","1.1.19"," "]}),e[2]=I;else I=e[2];let i;if(e[3]!==a)i=o(u,{children:[a,I]}),e[3]=a,e[4]=i;else i=e[4];let V,M,E,W,N,L,P,v;if(e[5]===Symbol.for("react.memo_cache_sentinel"))E=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),W=t(u,{children:" "}),N=t(u,{children:" "}),L=t(u,{children:" "}),P=t(u,{children:" ░░░░░░ "}),v=t(u,{children:" ░░░ ░░░░░░░░░░ "}),V=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),M=t(u,{children:" "}),e[5]=V,e[6]=M,e[7]=E,e[8]=W,e[9]=N,e[10]=L,e[11]=P,e[12]=v;else V=e[5],M=e[6],E=e[7],W=e[8],N=e[9],L=e[10],P=e[11],v=e[12];let z;if(e[13]===Symbol.for("react.memo_cache_sentinel"))z=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),e[13]=z;else z=e[13];let $,x,H;if(e[14]===Symbol.for("react.memo_cache_sentinel"))$=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),x=t(u,{children:" ▒▒ ██ ▒"}),H=t(u,{children:" ▒▒░░▒▒ ▒ ▒▒"}),e[14]=$,e[15]=x,e[16]=H;else $=e[14],x=e[15],H=e[16];let q;if(e[17]===Symbol.for("react.memo_cache_sentinel"))q=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"})," ▒▒ ▒▒ "]}),e[17]=q;else q=e[17];let F;if(e[18]===Symbol.for("react.memo_cache_sentinel"))F=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," ░ ▒ "]}),e[18]=F;else F=e[18];let G;if(e[19]===Symbol.for("react.memo_cache_sentinel"))G=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"……………………………………………………………………░…………………………▒…………"]}),e[19]=G;else G=e[19];let J;if(e[20]!==i)J=t(Y,{width:K,children:o(u,{children:[i,E,W,N,L,P,v,V,M,z,$,x,H,q,F,G]})}),e[20]=i,e[21]=J;else J=e[21];return J}let T;if(e[22]!==r)T=o(u,{color:"claude",children:[r," "]}),e[22]=r,e[23]=T;else T=e[23];let d;if(e[24]===Symbol.for("react.memo_cache_sentinel"))d=o(u,{dimColor:!0,children:["v","1.1.19"," "]}),e[24]=d;else d=e[24];let m;if(e[25]!==T)m=o(u,{children:[T,d]}),e[25]=T,e[26]=m;else m=e[26];let n,b,f,_,y,h;if(e[27]===Symbol.for("react.memo_cache_sentinel"))n=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),b=t(u,{children:" "}),f=t(u,{children:" * █████▓▓░ "}),_=t(u,{children:" * ███▓░ ░░ "}),y=t(u,{children:" ░░░░░░ ███▓░ "}),h=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),e[27]=n,e[28]=b,e[29]=f,e[30]=_,e[31]=y,e[32]=h;else n=e[27],b=e[28],f=e[29],_=e[30],y=e[31],h=e[32];let C,S,w,g,p;if(e[33]===Symbol.for("react.memo_cache_sentinel"))C=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),S=t(u,{children:" ░▓▓███▓▓░ "}),w=t(u,{dimColor:!0,children:" * ░░░░ "}),g=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),p=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),e[33]=C,e[34]=S,e[35]=w,e[36]=g,e[37]=p;else C=e[33],S=e[34],w=e[35],g=e[36],p=e[37];let c;if(e[38]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[" ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),e[38]=c;else c=e[38];let O;if(e[39]===Symbol.for("react.memo_cache_sentinel"))O=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),e[39]=O;else O=e[39];let R;if(e[40]===Symbol.for("react.memo_cache_sentinel"))R=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," * "]}),e[40]=R;else R=e[40];let k;if(e[41]===Symbol.for("react.memo_cache_sentinel"))k=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"………………………………………………………………………………………………………………"]}),e[41]=k;else k=e[41];let A;if(e[42]!==m)A=t(Y,{width:K,children:o(u,{children:[m,n,b,f,_,y,h,C,S,w,g,p,c,O,R,k]})}),e[42]=m,e[43]=A;else A=e[43];return A}
2
- export{c2 as ba};
@@ -1,2 +0,0 @@
1
- import{BG as Y,DG as p,ko as X,lo as h}from"./cli-1.1.19-hqbspnvc.mjs";import{DZ as v,H1 as D,c1 as B}from"./cli-1.1.19-v619rbr5.mjs";import{d4 as I,e4 as J,f4 as W}from"./cli-1.1.19-25szxvwt.mjs";import{_ea as U,wfa as b}from"./cli-1.1.19-dt84yfk2.mjs";import{gta as G}from"./cli-1.1.19-cc266ybe.mjs";D();b();p();h();W();var Z=G(v(),1);function C(S){let k=Z.c(17),{customApiKeyTruncated:q,onDone:L}=S,M;if(k[0]!==q||k[1]!==L)M=function(f){k:switch(f){case"yes":{U((z)=>({...z,customApiKeyResponses:{...z.customApiKeyResponses,approved:[...z.customApiKeyResponses?.approved??[],q]}})),L(!0);break k}case"no":U((z)=>({...z,customApiKeyResponses:{...z.customApiKeyResponses,rejected:[...z.customApiKeyResponses?.rejected??[],q]}})),L(!1)}},k[0]=q,k[1]=L,k[2]=M;else M=k[2];let w=M,E;if(k[3]!==w)E=()=>w("no"),k[3]=w,k[4]=E;else E=k[4];let N;if(k[5]===Symbol.for("react.memo_cache_sentinel"))N=I(B,{bold:!0,children:"ANTHROPIC_API_KEY"}),k[5]=N;else N=k[5];let F;if(k[6]!==q)F=J(B,{children:[N,J(B,{children:[": sk-ant-...",q]})]}),k[6]=q,k[7]=F;else F=k[7];let O;if(k[8]===Symbol.for("react.memo_cache_sentinel"))O=I(B,{children:"Do you want to use this API key?"}),k[8]=O;else O=k[8];let P;if(k[9]===Symbol.for("react.memo_cache_sentinel"))P={label:"Yes",value:"yes"},k[9]=P;else P=k[9];let Q;if(k[10]===Symbol.for("react.memo_cache_sentinel"))Q=[P,{label:J(B,{children:["No (",I(B,{bold:!0,children:"recommended"}),")"]}),value:"no"}],k[10]=Q;else Q=k[10];let H;if(k[11]!==w)H=I(Y,{defaultValue:"no",defaultFocusValue:"no",options:Q,onChange:(V)=>w(V),onCancel:()=>w("no")}),k[11]=w,k[12]=H;else H=k[12];let R;if(k[13]!==E||k[14]!==F||k[15]!==H)R=J(X,{title:"Detected a custom API key in your environment",color:"warning",onCancel:E,children:[F,O,H]}),k[13]=E,k[14]=F,k[15]=H,k[16]=R;else R=k[16];return R}
2
- export{C as aa};
@@ -1,4 +0,0 @@
1
- import{ig as IJ,jg as bQ}from"./cli-1.1.19-dzbss10b.mjs";import{tg as eq,ug as sq,vg as aJ}from"./cli-1.1.19-ry92fd54.mjs";import{wg as AJ,xg as OQ}from"./cli-1.1.19-q7cjyz1z.mjs";import{yg as vJ,zg as AQ}from"./cli-1.1.19-ec5kkxdm.mjs";import{Ag as nq,Bg as rJ}from"./cli-1.1.19-rkxy1dsw.mjs";import{Cg as wq,Dg as tq,Eg as oJ}from"./cli-1.1.19-mam509fm.mjs";import{Fg as bJ,Gg as hQ}from"./cli-1.1.19-4n6cth1a.mjs";import{$t as UJ,$x as g,CJ as hJ,DJ as OJ,EJ as WQ,Jo as NJ,Ko as BQ,QT as Fq,TT as ZJ,WT as zJ,Zt as BJ,_t as UQ,aR as QJ,au as wJ,bu as wQ,cR as qQ,cy as FQ,dH as kq,eH as RQ,ep as h,fH as LJ,fU as QQ,fp as lq,gH as PJ,hH as WJ,iH as PQ,ky as pq,ly as jq,ny as _q,oy as jJ,qR as Iq,tR as JQ}from"./cli-1.1.19-hqbspnvc.mjs";import{QU as FJ,SU as HJ,VU as HQ}from"./cli-1.1.19-tar53fbc.mjs";import{CW as LQ,yW as RJ}from"./cli-1.1.19-ykspd2ax.mjs";import{CY as XJ,DY as XQ,GY as yJ,HY as yQ,PY as Cq,QY as NQ}from"./cli-1.1.19-d7wb13f8.mjs";import{DZ as Oq,H1 as bq,a1 as N,c1 as Q}from"./cli-1.1.19-v619rbr5.mjs";import{c4 as R,d4 as K,e4 as Z,f4 as c}from"./cli-1.1.19-25szxvwt.mjs";import{g4 as VQ}from"./cli-1.1.19-5kaw3aa5.mjs";import{H6 as oq,O6 as KJ,f7 as iq,v7 as VJ,w7 as KQ}from"./cli-1.1.19-m8w4as34.mjs";import{Taa as YQ,Zda as GJ,kea as GQ,lda as aq,mda as gJ,pda as Aq,waa as Mq,x_ as $,xda as xJ,y_ as zQ}from"./cli-1.1.19-dt84yfk2.mjs";import{Kla as YJ,Vla as ZQ}from"./cli-1.1.19-5eb8a4wn.mjs";import{Fna as Hq,yra as rq}from"./cli-1.1.19-gw9jb8fv.mjs";import{gta as Bq,kta as Uq}from"./cli-1.1.19-cc266ybe.mjs";function Tq(){let J=dq.c(2);if(!pq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=_q();if(G.length===0){V=null;break q}let Y=G.filter(cJ),X=G.filter(TJ);q=Z(N,{flexDirection:"column",marginTop:1,marginBottom:1,children:[K(Q,{bold:!0,color:Y.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(N,{children:[K(Q,{dimColor:!0,children:"Location: "}),K(Q,{dimColor:!0,children:jq()})]}),Z(N,{marginLeft:1,flexDirection:"column",marginTop:1,children:[Y.map(dJ),X.map(_J)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function _J(J,q){return Z(N,{flexDirection:"column",children:[Z(N,{children:[K(Q,{dimColor:!0,children:"└ "}),K(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&K(N,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function dJ(J,q){return Z(N,{flexDirection:"column",children:[Z(N,{children:[K(Q,{dimColor:!0,children:"└ "}),K(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&K(N,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function TJ(J){return J.severity==="warning"}function cJ(J){return J.severity==="error"}var dq;var cq=Uq(()=>{bq();jJ();c();dq=Bq(Oq(),1)});function gq(){let J=$q.c(2);if(!h.isSupportedPlatform())return null;if(!h.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=h.checkDependencies(),Y=G.errors.length>0,X=G.warnings.length>0;if(!Y&&!X){V=null;break q}q=Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",K(Q,{color:Y?"error":"warning",children:Y?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map($J),G.warnings.map(lJ),Y&&K(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function lJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function $J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var $q;var xq=Uq(()=>{bq();lq();c();$q=Bq(Oq(),1)});async function iJ(){let J=zJ(await ZJ());if(J.length===0)return null;let q=J.sort((G,Y)=>Y.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${Fq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${Fq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:Fq}}async function nJ(J){if(!J)return null;let q=tq(J);if(q<=wq)return null;let V=J.activeAgents.filter((Y)=>Y.source!=="built-in").map((Y)=>{let X=`${Y.agentType}: ${Y.whenToUse}`;return{name:Y.agentType,tokens:Iq(X)}}).sort((Y,X)=>X.tokens-Y.tokens),G=V.slice(0,5).map((Y)=>`${Y.name}: ~${Y.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${wq.toLocaleString()})`,details:G,currentValue:q,threshold:wq}}async function eJ(J,q,V){let G=J.filter((Y)=>Y.isMcp);if(G.length===0)return null;try{let Y=oq(),{mcpToolTokens:X,mcpToolDetails:U}=await QJ(J,q,V,Y);if(X<=l)return null;let B=new Map;for(let L of U){let x=L.name.split("__")[1]||"unknown",y=B.get(x)||{count:0,tokens:0};B.set(x,{count:y.count+1,tokens:y.tokens+L.tokens})}let H=Array.from(B.entries()).sort((L,w)=>w[1].tokens-L[1].tokens),z=H.slice(0,5).map(([L,w])=>`${L}: ${w.count} tools (~${w.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(Y){let X=G.reduce((U,B)=>{let H=(B.name?.length||0)+B.description.length;return U+Iq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function sJ(J){let q=await J(),V=h.isSandboxingEnabled()&&h.isAutoAllowBashIfSandboxedEnabled(),G=nq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let Y=G.flatMap((X)=>[`${aq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${Aq(G.length,"unreachable permission rule")} detected`,details:Y,currentValue:G.length,threshold:0}}async function tJ(){let J=Hq(),{findings:q}=await eq({root:J});if(q.length===0)return null;let V=q.filter((Y)=>Y.severity==="error"),G=q.map((Y)=>`${sq(J,Y.file)}: ${Y.message}`);return{type:"rule_files",severity:V.length>0?"error":"warning",message:`${q.length} rule ${Aq(q.length,"file problem")} detected`,details:G,currentValue:q.length,threshold:0}}async function qJ(J,q,V){let[G,Y,X,U,B]=await Promise.all([iJ(),nJ(q),eJ(J,V,q),sJ(V),tJ()]);return{claudeMdWarning:G,agentWarning:Y,mcpWarning:X,unreachableRulesWarning:U,ruleFilesWarning:B}}var l=25000;var JJ=Uq(()=>{rq();JQ();qQ();QQ();iq();gJ();rJ();aJ();lq();oJ();xJ()});import{join as vq}from"path";function IQ(J){let q=Dq.c(8),{promise:V}=J,G=F.use(V);if(!G.latest){let B;if(q[0]===Symbol.for("react.memo_cache_sentinel"))B=K(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=B;else B=q[0];return B}let Y;if(q[1]!==G.stable)Y=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=Y;else Y=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let U;if(q[5]!==Y||q[6]!==X)U=Z(R,{children:[Y,X]}),q[5]=Y,q[6]=X,q[7]=U;else U=q[7];return U}function xZ(J){let q=Dq.c(84),{onDone:V}=J,G=g(rQ),Y=g(xQ),X=g(gQ),U=g($Q);yJ();let B;if(q[0]!==Y)B=Y||[],q[0]=Y,q[1]=B;else B=q[1];let H=B,[z,L]=F.useState(null),[w,x]=F.useState(null),[y,MJ]=F.useState(null),[W,Sq]=F.useState(null),Rq=vJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=kq().then(cQ),q[2]=r;else r=q[2];let CJ=r,kJ=GJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Rq)a=Rq.filter(TQ),q[3]=Rq,q[4]=a;else a=q[4];let o=a,i;if(q[5]===Symbol.for("react.memo_cache_sentinel"))i=[{name:"BASH_MAX_OUTPUT_LENGTH",default:wJ,upperLimit:UJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:OJ,upperLimit:hJ},{name:"CLAUDIN_MAX_OUTPUT_TOKENS",...VJ(KJ())}].map(dQ).filter(_Q),q[5]=i;else i=q[5];let Eq=i,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{kq().then(L),(async()=>{let P=vq(YJ(),"agents"),fq=vq(Hq(),".claudin","agents"),{activeAgents:uq,allAgents:DJ,failedFiles:mq}=G,[SJ,EJ]=await Promise.all([Mq(P),Mq(fq)]),fJ={activeAgents:uq.map(jQ),userAgentsDir:P,projectAgentsDir:fq,userDirExists:SJ,projectDirExists:EJ,failedFiles:mq};x(fJ);let uJ=await qJ(H,{activeAgents:uq,allAgents:DJ,failedFiles:mq},async()=>X);if(MJ(uJ),LJ()){let hq=vq(RJ(),"claude","locks"),mJ=WJ(hq),pJ=PJ(hq);Sq({enabled:!0,locks:pJ,locksDir:hq,staleLocksCleaned:mJ})}else Sq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];F.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claudin diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(XJ(qq,Jq),!z){let P;if(q[16]===Symbol.for("react.memo_cache_sentinel"))P=K(Cq,{children:K(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=P;else P=q[16];return P}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=K(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let b;if(q[21]!==z.packageManager)b=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=b;else b=q[22];let A;if(q[23]!==z.installationPath)A=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=A;else A=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let v;if(q[27]!==z.configInstallMethod)v=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=v;else v=q[28];let Lq=z.ripgrepStatus.working?"OK":"Not working",Pq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",M;if(q[29]!==Lq||q[30]!==Pq)M=Z(Q,{children:["└ Search: ",Lq," (",Pq,")"]}),q[29]=Lq,q[30]=Pq,q[31]=M;else M=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(R,{children:[K(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
2
- `)[0]]}),K(Q,{dimColor:!0,children:z.recommendation.split(`
3
- `)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(R,{children:[K(Q,{}),K(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(pQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let D;if(q[36]!==z.warnings)D=z.warnings.length>0&&Z(R,{children:[K(Q,{}),z.warnings.map(mQ)]}),q[36]=z.warnings,q[37]=D;else D=q[37];let S;if(q[38]!==o)S=o.length>0&&Z(N,{flexDirection:"column",marginTop:1,marginBottom:1,children:[K(Q,{bold:!0,children:"Invalid Settings"}),K(IJ,{errors:o})]}),q[38]=o,q[39]=S;else S=q[39];let E;if(q[40]!==O||q[41]!==b||q[42]!==A||q[43]!==I||q[44]!==v||q[45]!==M||q[46]!==C||q[47]!==k||q[48]!==D||q[49]!==S)E=Z(N,{flexDirection:"column",children:[Qq,O,b,A,I,v,M,C,k,D,S]}),q[40]=O,q[41]=b,q[42]=A,q[43]=I,q[44]=v,q[45]=M,q[46]=C,q[47]=k,q[48]=D,q[49]=S,q[50]=E;else E=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=K(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let Wq=z.packageManager?"Managed by package manager":z.autoUpdates,f;if(q[52]!==Wq)f=Z(Q,{children:["└ Auto-updates:"," ",Wq]}),q[52]=Wq,q[53]=f;else f=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",kJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=K(F.Suspense,{fallback:null,children:K(IQ,{promise:CJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==f||q[59]!==u)m=Z(N,{flexDirection:"column",children:[Zq,f,u,zq,Yq]}),q[58]=f,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=K(gq,{}),Kq=K(bJ,{}),Vq=K(Tq,{}),Xq=Eq.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Environment Variables"}),Eq.map(uQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==W)p=W?.enabled&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Version Locks"}),W.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",W.staleLocksCleaned," stale lock(s)"]}),W.locks.length===0?K(Q,{dimColor:!0,children:"└ No active version locks"}):W.locks.map(fQ)]}),q[65]=W,q[66]=p;else p=q[66];let j;if(q[67]!==w)j=w?.failedFiles&&w.failedFiles.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",w.failedFiles.length," agent file(s):"]}),w.failedFiles.map(EQ)]}),q[67]=w,q[68]=j;else j=q[68];let _;if(q[69]!==U)_=U.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",U.length," plugin error(s) detected:"]}),U.map(SQ)]}),q[69]=U,q[70]=_;else _=q[70];let d;if(q[71]!==y)d=y?.unreachableRulesWarning&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.unreachableRulesWarning.message]})]}),y.unreachableRulesWarning.details.map(DQ)]}),q[71]=y,q[72]=d;else d=q[72];let T;if(q[73]!==y)T=y&&(y.claudeMdWarning||y.agentWarning||y.mcpWarning||y.ruleFilesWarning)&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Context Usage Warnings"}),y.claudeMdWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),y.claudeMdWarning.details.map(kQ)]}),y.agentWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),y.agentWarning.details.map(CQ)]}),y.mcpWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),y.mcpWarning.details.map(MQ)]}),y.ruleFilesWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:y.ruleFilesWarning.severity==="error"?"error":"warning",children:[$.warning," ",y.ruleFilesWarning.message]})]}),Z(Q,{children:[" ","└ Rules:"]}),y.ruleFilesWarning.details.map(vQ)]})]}),q[73]=y,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=K(N,{children:K(AJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==E||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Cq,{children:[E,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=E,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function vQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function CQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function kQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function DQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function SQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",NJ(J)]},q)}function EQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function fQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?K(Q,{children:"(running)"}):K(Q,{color:"warning",children:"(stale)"})]},q)}function uQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",K(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function mQ(J,q){return Z(N,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function pQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function jQ(J){return{agentType:J.agentType,source:J.source}}function _Q(J){return J.status!=="valid"}function dQ(J){let q=process.env[J.name],V=BJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function TQ(J){return J.mcpErrorMetadata===void 0}function cQ(J){return(J.installationType==="native"?HJ:FJ)().catch(lQ)}function lQ(){return{latest:null,stable:null}}function $Q(J){return J.plugins.errors}function gQ(J){return J.toolPermissionContext}function xQ(J){return J.mcp.tools}function rQ(J){return J.agentDefinitions}var Dq,F;var aQ=Uq(()=>{zQ();cq();hQ();KQ();iq();ZQ();rq();NQ();OQ();xq();bQ();AQ();yQ();bq();XQ();FQ();BQ();HQ();JJ();RQ();UQ();YQ();PQ();GQ();wQ();WQ();LQ();c();Dq=Bq(Oq(),1),F=Bq(VQ(),1)});
4
- export{xZ as gg,aQ as hg};
@@ -1,6 +0,0 @@
1
- import{Usa as M0,Vsa as H0}from"./cli-1.1.19-kjbxevhz.mjs";import{hta as L0,ita as J,kta as R0,lta as E}from"./cli-1.1.19-cc266ybe.mjs";var u_=J((Ch,b_)=>{var T=1000,$=T*60,O=$*60,U=O*24,rS=U*7,sS=U*365.25;b_.exports=function(_,S){S=S||{};var z=typeof _;if(z==="string"&&_.length>0)return aS(_);else if(z==="number"&&isFinite(_))return S.long?_0(_):eS(_);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(_))};function aS(_){if(_=String(_),_.length>100)return;var S=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(_);if(!S)return;var z=parseFloat(S[1]),h=(S[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return z*sS;case"weeks":case"week":case"w":return z*rS;case"days":case"day":case"d":return z*U;case"hours":case"hour":case"hrs":case"hr":case"h":return z*O;case"minutes":case"minute":case"mins":case"min":case"m":return z*$;case"seconds":case"second":case"secs":case"sec":case"s":return z*T;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return z;default:return}}function eS(_){var S=Math.abs(_);if(S>=U)return Math.round(_/U)+"d";if(S>=O)return Math.round(_/O)+"h";if(S>=$)return Math.round(_/$)+"m";if(S>=T)return Math.round(_/T)+"s";return _+"ms"}function _0(_){var S=Math.abs(_);if(S>=U)return t(_,S,U,"day");if(S>=O)return t(_,S,O,"hour");if(S>=$)return t(_,S,$,"minute");if(S>=T)return t(_,S,T,"second");return _+" ms"}function t(_,S,z,h){var K=S>=z*1.5;return Math.round(_/z)+" "+h+(K?"s":"")}});var J_=J((Ih,m_)=>{function z0(_){z.debug=z,z.default=z,z.coerce=M,z.disable=W,z.enable=K,z.enabled=V,z.humanize=u_(),z.destroy=F,Object.keys(_).forEach((Z)=>{z[Z]=_[Z]}),z.names=[],z.skips=[],z.formatters={};function S(Z){let Y=0;for(let G=0;G<Z.length;G++)Y=(Y<<5)-Y+Z.charCodeAt(G),Y|=0;return z.colors[Math.abs(Y)%z.colors.length]}z.selectColor=S;function z(Z){let Y,G=null,L,x;function H(...N){if(!H.enabled)return;let A=H,n=Number(new Date),lS=n-(Y||n);if(A.diff=lS,A.prev=Y,A.curr=n,Y=n,N[0]=z.coerce(N[0]),typeof N[0]!=="string")N.unshift("%O");let l=0;N[0]=N[0].replace(/%([a-zA-Z%])/g,(Z_,tS)=>{if(Z_==="%%")return"%";l++;let g_=z.formatters[tS];if(typeof g_==="function"){let oS=N[l];Z_=g_.call(A,oS),N.splice(l,1),l--}return Z_}),z.formatArgs.call(A,N),(A.log||z.log).apply(A,N)}if(H.namespace=Z,H.useColors=z.useColors(),H.color=z.selectColor(Z),H.extend=h,H.destroy=z.destroy,Object.defineProperty(H,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(G!==null)return G;if(L!==z.namespaces)L=z.namespaces,x=z.enabled(Z);return x},set:(N)=>{G=N}}),typeof z.init==="function")z.init(H);return H}function h(Z,Y){let G=z(this.namespace+(typeof Y>"u"?":":Y)+Z);return G.log=this.log,G}function K(Z){z.save(Z),z.namespaces=Z,z.names=[],z.skips=[];let Y=(typeof Z==="string"?Z:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let G of Y)if(G[0]==="-")z.skips.push(G.slice(1));else z.names.push(G)}function Q(Z,Y){let G=0,L=0,x=-1,H=0;while(G<Z.length)if(L<Y.length&&(Y[L]===Z[G]||Y[L]==="*"))if(Y[L]==="*")x=L,H=G,L++;else G++,L++;else if(x!==-1)L=x+1,H++,G=H;else return!1;while(L<Y.length&&Y[L]==="*")L++;return L===Y.length}function W(){let Z=[...z.names,...z.skips.map((Y)=>"-"+Y)].join(",");return z.enable(""),Z}function V(Z){for(let Y of z.skips)if(Q(Z,Y))return!1;for(let Y of z.names)if(Q(Z,Y))return!0;return!1}function M(Z){if(Z instanceof Error)return Z.stack||Z.message;return Z}function F(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return z.enable(z.load()),z}m_.exports=z0});var i_=J((p_,o)=>{p_.formatArgs=h0;p_.save=K0;p_.load=Q0;p_.useColors=S0;p_.storage=Z0();p_.destroy=(()=>{let _=!1;return()=>{if(!_)_=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();p_.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function S0(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let _;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(_=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(_[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function h0(_){if(_[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+_[0]+(this.useColors?"%c ":" ")+"+"+o.exports.humanize(this.diff),!this.useColors)return;let S="color: "+this.color;_.splice(1,0,S,"color: inherit");let z=0,h=0;_[0].replace(/%[a-zA-Z%]/g,(K)=>{if(K==="%%")return;if(z++,K==="%c")h=z}),_.splice(h,0,S)}p_.log=console.debug||console.log||(()=>{});function K0(_){try{if(_)p_.storage.setItem("debug",_);else p_.storage.removeItem("debug")}catch(S){}}function Q0(){let _;try{_=p_.storage.getItem("debug")||p_.storage.getItem("DEBUG")}catch(S){}if(!_&&typeof process<"u"&&"env"in process)_=process.env.DEBUG;return _}function Z0(){try{return localStorage}catch(_){}}o.exports=J_()(p_);var{formatters:J0}=o.exports;J0.j=function(_){try{return JSON.stringify(_)}catch(S){return"[UnexpectedJSONParseError]: "+S.message}}});var l_=J((c_,s)=>{var q0=E("tty"),r=E("util");c_.init=U0;c_.log=E0;c_.formatArgs=N0;c_.save=D0;c_.load=A0;c_.useColors=w0;c_.destroy=r.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");c_.colors=[6,2,3,4,5,1];try{let _=(H0(),L0(M0));if(_&&(_.stderr||_).level>=2)c_.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(_){}c_.inspectOpts=Object.keys(process.env).filter((_)=>{return/^debug_/i.test(_)}).reduce((_,S)=>{let z=S.substring(6).toLowerCase().replace(/_([a-z])/g,(K,Q)=>{return Q.toUpperCase()}),h=process.env[S];if(/^(yes|on|true|enabled)$/i.test(h))h=!0;else if(/^(no|off|false|disabled)$/i.test(h))h=!1;else if(h==="null")h=null;else h=Number(h);return _[z]=h,_},{});function w0(){return"colors"in c_.inspectOpts?Boolean(c_.inspectOpts.colors):q0.isatty(process.stderr.fd)}function N0(_){let{namespace:S,useColors:z}=this;if(z){let h=this.color,K="\x1B[3"+(h<8?h:"8;5;"+h),Q=` ${K};1m${S} \x1B[0m`;_[0]=Q+_[0].split(`
2
- `).join(`
3
- `+Q),_.push(K+"m+"+s.exports.humanize(this.diff)+"\x1B[0m")}else _[0]=x0()+S+" "+_[0]}function x0(){if(c_.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function E0(..._){return process.stderr.write(r.formatWithOptions(c_.inspectOpts,..._)+`
4
- `)}function D0(_){if(_)process.env.DEBUG=_;else delete process.env.DEBUG}function A0(){return process.env.DEBUG}function U0(_){_.inspectOpts={};let S=Object.keys(c_.inspectOpts);for(let z=0;z<S.length;z++)_.inspectOpts[S[z]]=c_.inspectOpts[S[z]]}s.exports=J_()(c_);var{formatters:d_}=s.exports;d_.o=function(_){return this.inspectOpts.colors=this.useColors,r.inspect(_,this.inspectOpts).split(`
5
- `).map((S)=>S.trim()).join(" ")};d_.O=function(_){return this.inspectOpts.colors=this.useColors,r.inspect(_,this.inspectOpts)}});var t_=J((Oh,Y_)=>{if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)Y_.exports=i_();else Y_.exports=l_()});function y0(_){try{return new URL(_)}catch{return null}}function Rh(_){var S=(typeof _==="string"?y0(_):_)||{},z=S.protocol,h=S.host,K=S.port;if(typeof h!=="string"||!h||typeof z!=="string")return"";if(z=z.split(":",1)[0],h=h.replace(/:\d*$/,""),K=parseInt(K)||P0[z]||0,!k0(h,K))return"";var Q=W_(z+"_proxy")||W_("all_proxy");if(Q&&Q.indexOf("://")===-1)Q=z+"://"+Q;return Q}function k0(_,S){var z=W_("no_proxy").toLowerCase();if(!z)return!0;if(z==="*")return!1;return z.split(/[,\s]/).every(function(h){if(!h)return!0;var K=h.match(/^(.+):(\d+)$/),Q=K?K[1]:h,W=K?parseInt(K[2]):0;if(W&&W!==S)return!0;if(!/^[.*]/.test(Q))return _!==Q;if(Q.charAt(0)==="*")Q=Q.slice(1);return!_.endsWith(Q)})}function W_(_){return process.env[_.toLowerCase()]||process.env[_.toUpperCase()]||""}var P0;var v0=R0(()=>{P0={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443}});var r_=J((yh,o_)=>{var b;o_.exports=function(){if(!b){try{b=t_()("follow-redirects")}catch(_){}if(typeof b!=="function")b=function(){}}b.apply(null,arguments)}});var a0=J((kh,x_)=>{var m=E("url"),u=m.URL,g0=E("http"),b0=E("https"),X_=E("stream").Writable,L_=E("assert"),s_=r_();(function(){var S=typeof process<"u",z=typeof window<"u"&&typeof document<"u",h=C(Error.captureStackTrace);if(!S&&(z||!h))console.warn("The follow-redirects package should be excluded from browser builds.")})();var M_=!1;try{L_(new u(""))}catch(_){M_=_.code==="ERR_INVALID_URL"}var u0=["Authorization","Proxy-Authorization","Cookie"],m0=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],H_=["abort","aborted","connect","error","socket","timeout"],q_=Object.create(null);H_.forEach(function(_){q_[_]=function(S,z,h){this._redirectable.emit(_,S,z,h)}});var G_=p("ERR_INVALID_URL","Invalid URL",TypeError),V_=p("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),p0=p("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",V_),i0=p("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),d0=p("ERR_STREAM_WRITE_AFTER_END","write after end"),c0=X_.prototype.destroy||e_;function w(_,S){if(X_.call(this),this._sanitizeOptions(_),this._options=_,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],S)this.on("response",S);var z=this;this._onNativeResponse=function(h){try{z._processResponse(h)}catch(K){z.emit("error",K instanceof V_?K:new V_({cause:K}))}},this._headerFilter=new RegExp("^(?:"+u0.concat(_.sensitiveHeaders).map(s0).join("|")+")$","i"),this._performRequest()}w.prototype=Object.create(X_.prototype);w.prototype.abort=function(){N_(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};w.prototype.destroy=function(_){return N_(this._currentRequest,_),c0.call(this,_),this};w.prototype.write=function(_,S,z){if(this._ending)throw new d0;if(!j(_)&&!o0(_))throw TypeError("data should be a string, Buffer or Uint8Array");if(C(S))z=S,S=null;if(_.length===0){if(z)z();return}if(this._requestBodyLength+_.length<=this._options.maxBodyLength)this._requestBodyLength+=_.length,this._requestBodyBuffers.push({data:_,encoding:S}),this._currentRequest.write(_,S,z);else this.emit("error",new i0),this.abort()};w.prototype.end=function(_,S,z){if(C(_))z=_,_=S=null;else if(C(S))z=S,S=null;if(!_)this._ended=this._ending=!0,this._currentRequest.end(null,null,z);else{var h=this,K=this._currentRequest;this.write(_,S,function(){h._ended=!0,K.end(null,null,z)}),this._ending=!0}};w.prototype.setHeader=function(_,S){this._options.headers[_]=S,this._currentRequest.setHeader(_,S)};w.prototype.removeHeader=function(_){delete this._options.headers[_],this._currentRequest.removeHeader(_)};w.prototype.setTimeout=function(_,S){var z=this;function h(W){W.setTimeout(_),W.removeListener("timeout",W.destroy),W.addListener("timeout",W.destroy)}function K(W){if(z._timeout)clearTimeout(z._timeout);z._timeout=setTimeout(function(){z.emit("timeout"),Q()},_),h(W)}function Q(){if(z._timeout)clearTimeout(z._timeout),z._timeout=null;if(z.removeListener("abort",Q),z.removeListener("error",Q),z.removeListener("response",Q),z.removeListener("close",Q),S)z.removeListener("timeout",S);if(!z.socket)z._currentRequest.removeListener("socket",K)}if(S)this.on("timeout",S);if(this.socket)K(this.socket);else this._currentRequest.once("socket",K);return this.on("socket",h),this.on("abort",Q),this.on("error",Q),this.on("response",Q),this.on("close",Q),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(_){w.prototype[_]=function(S,z){return this._currentRequest[_](S,z)}});["aborted","connection","socket"].forEach(function(_){Object.defineProperty(w.prototype,_,{get:function(){return this._currentRequest[_]}})});w.prototype._sanitizeOptions=function(_){if(!_.headers)_.headers={};if(!t0(_.sensitiveHeaders))_.sensitiveHeaders=[];if(_.host){if(!_.hostname)_.hostname=_.host;delete _.host}if(!_.pathname&&_.path){var S=_.path.indexOf("?");if(S<0)_.pathname=_.path;else _.pathname=_.path.substring(0,S),_.search=_.path.substring(S)}};w.prototype._performRequest=function(){var _=this._options.protocol,S=this._options.nativeProtocols[_];if(!S)throw TypeError("Unsupported protocol "+_);if(this._options.agents){var z=_.slice(0,-1);this._options.agent=this._options.agents[z]}var h=this._currentRequest=S.request(this._options,this._onNativeResponse);h._redirectable=this;for(var K of H_)h.on(K,q_[K]);if(this._currentUrl=/^\//.test(this._options.path)?m.format(this._options):this._options.path,this._isRedirect){var Q=0,W=this,V=this._requestBodyBuffers;(function M(F){if(h===W._currentRequest){if(F)W.emit("error",F);else if(Q<V.length){var Z=V[Q++];if(!h.finished)h.write(Z.data,Z.encoding,M)}else if(W._ended)h.end()}})()}};w.prototype._processResponse=function(_){var S=_.statusCode;if(this._options.trackRedirects)this._redirects.push({url:this._currentUrl,headers:_.headers,statusCode:S});var z=_.headers.location;if(!z||this._options.followRedirects===!1||S<300||S>=400){_.responseUrl=this._currentUrl,_.redirects=this._redirects,this.emit("response",_),this._requestBodyBuffers=[];return}if(N_(this._currentRequest),_.destroy(),++this._redirectCount>this._options.maxRedirects)throw new p0;var h,K=this._options.beforeRedirect;if(K)h=Object.assign({Host:_.req.getHeader("host")},this._options.headers);var Q=this._options.method;if((S===301||S===302)&&this._options.method==="POST"||S===303&&!/^(?:GET|HEAD)$/.test(this._options.method))this._options.method="GET",this._requestBodyBuffers=[],B_(/^content-/i,this._options.headers);var W=B_(/^host$/i,this._options.headers),V=w_(this._currentUrl),M=W||V.host,F=/^\w+:/.test(z)?this._currentUrl:m.format(Object.assign(V,{host:M})),Z=n0(z,F);if(s_("redirecting to",Z.href),this._isRedirect=!0,F_(Z,this._options),Z.protocol!==V.protocol&&Z.protocol!=="https:"||Z.host!==M&&!l0(Z.host,M))B_(this._headerFilter,this._options.headers);if(C(K)){var Y={headers:_.headers,statusCode:S},G={url:F,method:Q,headers:h};K(this._options,Y,G),this._sanitizeOptions(this._options)}this._performRequest()};function a_(_){var S={maxRedirects:21,maxBodyLength:10485760},z={};return Object.keys(_).forEach(function(h){var K=h+":",Q=z[K]=_[h],W=S[h]=Object.create(Q);function V(F,Z,Y){if(r0(F))F=F_(F);else if(j(F))F=F_(w_(F));else Y=Z,Z=_z(F),F={protocol:K};if(C(Z))Y=Z,Z=null;if(Z=Object.assign({maxRedirects:S.maxRedirects,maxBodyLength:S.maxBodyLength},F,Z),Z.nativeProtocols=z,!j(Z.host)&&!j(Z.hostname))Z.hostname="::1";return L_.equal(Z.protocol,K,"protocol mismatch"),s_("options",Z),new w(Z,Y)}function M(F,Z,Y){var G=W.request(F,Z,Y);return G.end(),G}Object.defineProperties(W,{request:{value:V,configurable:!0,enumerable:!0,writable:!0},get:{value:M,configurable:!0,enumerable:!0,writable:!0}})}),S}function e_(){}function w_(_){var S;if(M_)S=new u(_);else if(S=_z(m.parse(_)),!j(S.protocol))throw new G_({input:_});return S}function n0(_,S){return M_?new u(_,S):w_(m.resolve(S,_))}function _z(_){if(/^\[/.test(_.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(_.hostname))throw new G_({input:_.href||_});if(/^\[/.test(_.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(_.host))throw new G_({input:_.href||_});return _}function F_(_,S){var z=S||{};for(var h of m0)z[h]=_[h];if(z.hostname.startsWith("["))z.hostname=z.hostname.slice(1,-1);if(z.port!=="")z.port=Number(z.port);return z.path=z.search?z.pathname+z.search:z.pathname,z}function B_(_,S){var z;for(var h in S)if(_.test(h))z=S[h],delete S[h];return z===null||typeof z>"u"?void 0:String(z).trim()}function p(_,S,z){function h(K){if(C(Error.captureStackTrace))Error.captureStackTrace(this,this.constructor);Object.assign(this,K||{}),this.code=_,this.message=this.cause?S+": "+this.cause.message:S}return h.prototype=new(z||Error),Object.defineProperties(h.prototype,{constructor:{value:h,enumerable:!1},name:{value:"Error ["+_+"]",enumerable:!1}}),h}function N_(_,S){for(var z of H_)_.removeListener(z,q_[z]);_.on("error",e_),_.destroy(S)}function l0(_,S){L_(j(_)&&j(S));var z=_.length-S.length-1;return z>0&&_[z]==="."&&_.endsWith(S)}function t0(_){return _ instanceof Array}function j(_){return typeof _==="string"||_ instanceof String}function C(_){return typeof _==="function"}function o0(_){return typeof _==="object"&&"length"in _}function r0(_){return u&&_ instanceof u}function s0(_){return _.replace(/[\]\\/()*+?.$]/g,"\\$&")}x_.exports=a_({http:g0,https:b0});x_.exports.wrap=a_});var hz=J((vh,Sz)=>{var zz=E("stream").Stream,e0=E("util");Sz.exports=D;function D(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e0.inherits(D,zz);D.create=function(_,S){var z=new this;S=S||{};for(var h in S)z[h]=S[h];z.source=_;var K=_.emit;if(_.emit=function(){return z._handleEmit(arguments),K.apply(_,arguments)},_.on("error",function(){}),z.pauseStream)_.pause();return z};Object.defineProperty(D.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});D.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};D.prototype.resume=function(){if(!this._released)this.release();this.source.resume()};D.prototype.pause=function(){this.source.pause()};D.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(_){this.emit.apply(this,_)}.bind(this)),this._bufferedEvents=[]};D.prototype.pipe=function(){var _=zz.prototype.pipe.apply(this,arguments);return this.resume(),_};D.prototype._handleEmit=function(_){if(this._released){this.emit.apply(this,_);return}if(_[0]==="data")this.dataSize+=_[1].length,this._checkIfMaxDataSizeExceeded();this._bufferedEvents.push(_)};D.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded)return;if(this.dataSize<=this.maxDataSize)return;this._maxDataSizeExceeded=!0;var _="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",Error(_))}});var z1=J((gh,Zz)=>{var _1=E("util"),Qz=E("stream").Stream,Kz=hz();Zz.exports=X;function X(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}_1.inherits(X,Qz);X.create=function(_){var S=new this;_=_||{};for(var z in _)S[z]=_[z];return S};X.isStreamLike=function(_){return typeof _!=="function"&&typeof _!=="string"&&typeof _!=="boolean"&&typeof _!=="number"&&!Buffer.isBuffer(_)};X.prototype.append=function(_){var S=X.isStreamLike(_);if(S){if(!(_ instanceof Kz)){var z=Kz.create(_,{maxDataSize:1/0,pauseStream:this.pauseStreams});_.on("data",this._checkDataSize.bind(this)),_=z}if(this._handleErrors(_),this.pauseStreams)_.pause()}return this._streams.push(_),this};X.prototype.pipe=function(_,S){return Qz.prototype.pipe.call(this,_,S),this.resume(),_};X.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};X.prototype._realGetNext=function(){var _=this._streams.shift();if(typeof _>"u"){this.end();return}if(typeof _!=="function"){this._pipeNext(_);return}var S=_;S(function(z){var h=X.isStreamLike(z);if(h)z.on("data",this._checkDataSize.bind(this)),this._handleErrors(z);this._pipeNext(z)}.bind(this))};X.prototype._pipeNext=function(_){this._currentStream=_;var S=X.isStreamLike(_);if(S){_.on("end",this._getNext.bind(this)),_.pipe(this,{end:!1});return}var z=_;this.write(z),this._getNext()};X.prototype._handleErrors=function(_){var S=this;_.on("error",function(z){S._emitError(z)})};X.prototype.write=function(_){this.emit("data",_)};X.prototype.pause=function(){if(!this.pauseStreams)return;if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};X.prototype.resume=function(){if(!this._released)this._released=!0,this.writable=!0,this._getNext();if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};X.prototype.end=function(){this._reset(),this.emit("end")};X.prototype.destroy=function(){this._reset(),this.emit("close")};X.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};X.prototype._checkDataSize=function(){if(this._updateDataSize(),this.dataSize<=this.maxDataSize)return;var _="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(Error(_))};X.prototype._updateDataSize=function(){this.dataSize=0;var _=this;if(this._streams.forEach(function(S){if(!S.dataSize)return;_.dataSize+=S.dataSize}),this._currentStream&&this._currentStream.dataSize)this.dataSize+=this._currentStream.dataSize};X.prototype._emitError=function(_){this._reset(),this.emit("error",_)}});var Yz=J((bh,Jz)=>{Jz.exports=S1;function S1(_){var S=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(S)S(_);else setTimeout(_,0)}});var E_=J((uh,Bz)=>{var Wz=Yz();Bz.exports=h1;function h1(_){var S=!1;return Wz(function(){S=!0}),function(h,K){if(S)_(h,K);else Wz(function(){_(h,K)})}}});var D_=J((mh,Gz)=>{Gz.exports=K1;function K1(_){Object.keys(_.jobs).forEach(Q1.bind(_)),_.jobs={}}function Q1(_){if(typeof this.jobs[_]=="function")this.jobs[_]()}});var A_=J((ph,Fz)=>{var Vz=E_(),Z1=D_();Fz.exports=J1;function J1(_,S,z,h){var K=z.keyedList?z.keyedList[z.index]:z.index;z.jobs[K]=Y1(S,K,_[K],function(Q,W){if(!(K in z.jobs))return;if(delete z.jobs[K],Q)Z1(z);else z.results[K]=W;h(Q,z.results)})}function Y1(_,S,z,h){var K;if(_.length==2)K=_(z,Vz(h));else K=_(z,S,Vz(h));return K}});var U_=J((ih,Xz)=>{Xz.exports=W1;function W1(_,S){var z=!Array.isArray(_),h={index:0,keyedList:z||S?Object.keys(_):null,jobs:{},results:z?{}:[],size:z?Object.keys(_).length:_.length};if(S)h.keyedList.sort(z?S:function(K,Q){return S(_[K],_[Q])});return h}});var f_=J((dh,Lz)=>{var B1=D_(),G1=E_();Lz.exports=V1;function V1(_){if(!Object.keys(this.jobs).length)return;this.index=this.size,B1(this),G1(_)(null,this.results)}});var Hz=J((ch,Mz)=>{var F1=A_(),X1=U_(),L1=f_();Mz.exports=M1;function M1(_,S,z){var h=X1(_);while(h.index<(h.keyedList||_).length)F1(_,S,h,function(K,Q){if(K){z(K,Q);return}if(Object.keys(h.jobs).length===0){z(null,h.results);return}}),h.index++;return L1.bind(h,z)}});var j_=J((nh,a)=>{var qz=A_(),H1=U_(),q1=f_();a.exports=w1;a.exports.ascending=wz;a.exports.descending=N1;function w1(_,S,z,h){var K=H1(_,z);return qz(_,S,K,function Q(W,V){if(W){h(W,V);return}if(K.index++,K.index<(K.keyedList||_).length){qz(_,S,K,Q);return}h(null,K.results)}),q1.bind(K,h)}function wz(_,S){return _<S?-1:_>S?1:0}function N1(_,S){return-1*wz(_,S)}});var xz=J((lh,Nz)=>{var x1=j_();Nz.exports=E1;function E1(_,S,z){return x1(_,S,null,z)}});var D1=J((th,Ez)=>{Ez.exports={parallel:Hz(),serial:xz(),serialOrdered:j_()}});var C_=J((oh,Dz)=>{Dz.exports=Object});var Uz=J((rh,Az)=>{Az.exports=Error});var jz=J((sh,fz)=>{fz.exports=EvalError});var Iz=J((ah,Cz)=>{Cz.exports=RangeError});var $z=J((eh,Tz)=>{Tz.exports=ReferenceError});var Rz=J((_2,Oz)=>{Oz.exports=SyntaxError});var e=J((z2,Pz)=>{Pz.exports=TypeError});var kz=J((S2,yz)=>{yz.exports=URIError});var gz=J((h2,vz)=>{vz.exports=Math.abs});var uz=J((K2,bz)=>{bz.exports=Math.floor});var pz=J((Q2,mz)=>{mz.exports=Math.max});var dz=J((Z2,iz)=>{iz.exports=Math.min});var nz=J((J2,cz)=>{cz.exports=Math.pow});var tz=J((Y2,lz)=>{lz.exports=Math.round});var rz=J((W2,oz)=>{oz.exports=Number.isNaN||function(S){return S!==S}});var az=J((B2,sz)=>{var A1=rz();sz.exports=function(S){if(A1(S)||S===0)return S;return S<0?-1:1}});var _S=J((G2,ez)=>{ez.exports=Object.getOwnPropertyDescriptor});var I_=J((V2,zS)=>{var __=_S();if(__)try{__([],"length")}catch(_){__=null}zS.exports=__});var hS=J((F2,SS)=>{var z_=Object.defineProperty||!1;if(z_)try{z_({},"a",{value:1})}catch(_){z_=!1}SS.exports=z_});var T_=J((X2,KS)=>{KS.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var S={},z=Symbol("test"),h=Object(z);if(typeof z==="string")return!1;if(Object.prototype.toString.call(z)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(h)!=="[object Symbol]")return!1;var K=42;S[z]=K;for(var Q in S)return!1;if(typeof Object.keys==="function"&&Object.keys(S).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(S).length!==0)return!1;var W=Object.getOwnPropertySymbols(S);if(W.length!==1||W[0]!==z)return!1;if(!Object.prototype.propertyIsEnumerable.call(S,z))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var V=Object.getOwnPropertyDescriptor(S,z);if(V.value!==K||V.enumerable!==!0)return!1}return!0}});var JS=J((L2,ZS)=>{var QS=typeof Symbol<"u"&&Symbol,U1=T_();ZS.exports=function(){if(typeof QS!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof QS("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return U1()}});var $_=J((M2,YS)=>{YS.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var O_=J((H2,WS)=>{var f1=C_();WS.exports=f1.getPrototypeOf||null});var VS=J((q2,GS)=>{var j1="Function.prototype.bind called on incompatible ",C1=Object.prototype.toString,I1=Math.max,T1="[object Function]",BS=function(S,z){var h=[];for(var K=0;K<S.length;K+=1)h[K]=S[K];for(var Q=0;Q<z.length;Q+=1)h[Q+S.length]=z[Q];return h},$1=function(S,z){var h=[];for(var K=z||0,Q=0;K<S.length;K+=1,Q+=1)h[Q]=S[K];return h},O1=function(_,S){var z="";for(var h=0;h<_.length;h+=1)if(z+=_[h],h+1<_.length)z+=S;return z};GS.exports=function(S){var z=this;if(typeof z!=="function"||C1.apply(z)!==T1)throw TypeError(j1+z);var h=$1(arguments,1),K,Q=function(){if(this instanceof K){var Z=z.apply(this,BS(h,arguments));if(Object(Z)===Z)return Z;return this}return z.apply(S,BS(h,arguments))},W=I1(0,z.length-h.length),V=[];for(var M=0;M<W;M++)V[M]="$"+M;if(K=Function("binder","return function ("+O1(V,",")+"){ return binder.apply(this,arguments); }")(Q),z.prototype){var F=function(){};F.prototype=z.prototype,K.prototype=new F,F.prototype=null}return K}});var R=J((w2,FS)=>{var R1=VS();FS.exports=Function.prototype.bind||R1});var S_=J((N2,XS)=>{XS.exports=Function.prototype.call});var R_=J((x2,LS)=>{LS.exports=Function.prototype.apply});var HS=J((E2,MS)=>{MS.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var wS=J((D2,qS)=>{var P1=R(),y1=R_(),k1=S_(),v1=HS();qS.exports=v1||P1.call(k1,y1)});var xS=J((A2,NS)=>{var g1=R(),b1=e(),u1=S_(),m1=wS();NS.exports=function(S){if(S.length<1||typeof S[0]!=="function")throw new b1("a function is required");return m1(g1,u1,S)}});var jS=J((U2,fS)=>{var p1=xS(),ES=I_(),AS;try{AS=[].__proto__===Array.prototype}catch(_){if(!_||typeof _!=="object"||!("code"in _)||_.code!=="ERR_PROTO_ACCESS")throw _}var P_=!!AS&&ES&&ES(Object.prototype,"__proto__"),US=Object,DS=US.getPrototypeOf;fS.exports=P_&&typeof P_.get==="function"?p1([P_.get]):typeof DS==="function"?function(S){return DS(S==null?S:US(S))}:!1});var OS=J((f2,$S)=>{var CS=$_(),IS=O_(),TS=jS();$S.exports=CS?function(S){return CS(S)}:IS?function(S){if(!S||typeof S!=="object"&&typeof S!=="function")throw TypeError("getProto: not an object");return IS(S)}:TS?function(S){return TS(S)}:null});var PS=J((j2,RS)=>{var i1=Function.prototype.call,d1=Object.prototype.hasOwnProperty,c1=R();RS.exports=c1.call(i1,d1)});var uS=J((C2,bS)=>{var B,n1=C_(),l1=Uz(),t1=jz(),o1=Iz(),r1=$z(),v=Rz(),k=e(),s1=kz(),a1=gz(),e1=uz(),_h=pz(),zh=dz(),Sh=nz(),hh=tz(),Kh=az(),vS=Function,y_=function(_){try{return vS('"use strict"; return ('+_+").constructor;")()}catch(S){}},i=I_(),Qh=hS(),k_=function(){throw new k},Zh=i?function(){try{return arguments.callee,k_}catch(_){try{return i(arguments,"callee").get}catch(S){return k_}}}():k_,P=JS()(),q=OS(),Jh=O_(),Yh=$_(),gS=R_(),d=S_(),y={},Wh=typeof Uint8Array>"u"||!q?B:q(Uint8Array),I={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?B:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?B:ArrayBuffer,"%ArrayIteratorPrototype%":P&&q?q([][Symbol.iterator]()):B,"%AsyncFromSyncIteratorPrototype%":B,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":typeof Atomics>"u"?B:Atomics,"%BigInt%":typeof BigInt>"u"?B:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?B:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?B:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?B:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":l1,"%eval%":eval,"%EvalError%":t1,"%Float16Array%":typeof Float16Array>"u"?B:Float16Array,"%Float32Array%":typeof Float32Array>"u"?B:Float32Array,"%Float64Array%":typeof Float64Array>"u"?B:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?B:FinalizationRegistry,"%Function%":vS,"%GeneratorFunction%":y,"%Int8Array%":typeof Int8Array>"u"?B:Int8Array,"%Int16Array%":typeof Int16Array>"u"?B:Int16Array,"%Int32Array%":typeof Int32Array>"u"?B:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P&&q?q(q([][Symbol.iterator]())):B,"%JSON%":typeof JSON==="object"?JSON:B,"%Map%":typeof Map>"u"?B:Map,"%MapIteratorPrototype%":typeof Map>"u"||!P||!q?B:q(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n1,"%Object.getOwnPropertyDescriptor%":i,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?B:Promise,"%Proxy%":typeof Proxy>"u"?B:Proxy,"%RangeError%":o1,"%ReferenceError%":r1,"%Reflect%":typeof Reflect>"u"?B:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?B:Set,"%SetIteratorPrototype%":typeof Set>"u"||!P||!q?B:q(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?B:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P&&q?q(""[Symbol.iterator]()):B,"%Symbol%":P?Symbol:B,"%SyntaxError%":v,"%ThrowTypeError%":Zh,"%TypedArray%":Wh,"%TypeError%":k,"%Uint8Array%":typeof Uint8Array>"u"?B:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?B:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?B:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?B:Uint32Array,"%URIError%":s1,"%WeakMap%":typeof WeakMap>"u"?B:WeakMap,"%WeakRef%":typeof WeakRef>"u"?B:WeakRef,"%WeakSet%":typeof WeakSet>"u"?B:WeakSet,"%Function.prototype.call%":d,"%Function.prototype.apply%":gS,"%Object.defineProperty%":Qh,"%Object.getPrototypeOf%":Jh,"%Math.abs%":a1,"%Math.floor%":e1,"%Math.max%":_h,"%Math.min%":zh,"%Math.pow%":Sh,"%Math.round%":hh,"%Math.sign%":Kh,"%Reflect.getPrototypeOf%":Yh};if(q)try{null.error}catch(_){v_=q(q(_)),I["%Error.prototype%"]=v_}var v_,Bh=function _(S){var z;if(S==="%AsyncFunction%")z=y_("async function () {}");else if(S==="%GeneratorFunction%")z=y_("function* () {}");else if(S==="%AsyncGeneratorFunction%")z=y_("async function* () {}");else if(S==="%AsyncGenerator%"){var h=_("%AsyncGeneratorFunction%");if(h)z=h.prototype}else if(S==="%AsyncIteratorPrototype%"){var K=_("%AsyncGenerator%");if(K&&q)z=q(K.prototype)}return I[S]=z,z},yS={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},c=R(),h_=PS(),Gh=c.call(d,Array.prototype.concat),Vh=c.call(gS,Array.prototype.splice),kS=c.call(d,String.prototype.replace),K_=c.call(d,String.prototype.slice),Fh=c.call(d,RegExp.prototype.exec),Xh=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Lh=/\\(\\)?/g,Mh=function(S){var z=K_(S,0,1),h=K_(S,-1);if(z==="%"&&h!=="%")throw new v("invalid intrinsic syntax, expected closing `%`");else if(h==="%"&&z!=="%")throw new v("invalid intrinsic syntax, expected opening `%`");var K=[];return kS(S,Xh,function(Q,W,V,M){K[K.length]=V?kS(M,Lh,"$1"):W||Q}),K},Hh=function(S,z){var h=S,K;if(h_(yS,h))K=yS[h],h="%"+K[0]+"%";if(h_(I,h)){var Q=I[h];if(Q===y)Q=Bh(h);if(typeof Q>"u"&&!z)throw new k("intrinsic "+S+" exists, but is not available. Please file an issue!");return{alias:K,name:h,value:Q}}throw new v("intrinsic "+S+" does not exist!")};bS.exports=function(S,z){if(typeof S!=="string"||S.length===0)throw new k("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof z!=="boolean")throw new k('"allowMissing" argument must be a boolean');if(Fh(/^%?[^%]*%?$/,S)===null)throw new v("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var h=Mh(S),K=h.length>0?h[0]:"",Q=Hh("%"+K+"%",z),W=Q.name,V=Q.value,M=!1,F=Q.alias;if(F)K=F[0],Vh(h,Gh([0,1],F));for(var Z=1,Y=!0;Z<h.length;Z+=1){var G=h[Z],L=K_(G,0,1),x=K_(G,-1);if((L==='"'||L==="'"||L==="`"||(x==='"'||x==="'"||x==="`"))&&L!==x)throw new v("property names with quotes must have matching quotes");if(G==="constructor"||!Y)M=!0;if(K+="."+G,W="%"+K+"%",h_(I,W))V=I[W];else if(V!=null){if(!(G in V)){if(!z)throw new k("base intrinsic for "+S+" exists, but the property is not available.");return}if(i&&Z+1>=h.length){var H=i(V,G);if(Y=!!H,Y&&"get"in H&&!("originalValue"in H.get))V=H.get;else V=V[G]}else Y=h_(V,G),V=V[G];if(Y&&!M)I[W]=V}}return V}});var pS=J((I2,mS)=>{var qh=T_();mS.exports=function(){return qh()&&!!Symbol.toStringTag}});var dS=J((T2,iS)=>{var wh=Function.prototype.call,Nh=Object.prototype.hasOwnProperty,xh=R();iS.exports=xh.call(wh,Nh)});var fh=J(($2,nS)=>{var Eh=uS(),cS=Eh("%Object.defineProperty%",!0),Dh=pS()(),Ah=dS(),Uh=e(),Q_=Dh?Symbol.toStringTag:null;nS.exports=function(S,z){var h=arguments.length>2&&!!arguments[2]&&arguments[2].force,K=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof h<"u"&&typeof h!=="boolean"||typeof K<"u"&&typeof K!=="boolean")throw new Uh("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");if(Q_&&(h||!Ah(S,Q_)))if(cS)cS(S,Q_,{configurable:!K,enumerable:!1,value:z,writable:!1});else S[Q_]=z}});
6
- export{z1 as Lsa,D1 as Msa,R as Nsa,fh as Osa,Rh as Psa,v0 as Qsa,t_ as Rsa,a0 as Ssa};
@@ -1,2 +0,0 @@
1
- import{Zja as X,aka as z}from"./cli-1.1.19-bg1d8zv9.mjs";import{Fka as Z,Kka as O,ala as $,dla as P}from"./cli-1.1.19-cq5hegwz.mjs";import{Ala as Y,Hla as H}from"./cli-1.1.19-eyhpgp73.mjs";import{kta as x}from"./cli-1.1.19-cc266ybe.mjs";function y(q){return q.replace(w,(K,J,Q)=>{if(Q.length<F)return`"${J}":"[REDACTED]"`;let V=`${Q.slice(0,8)}...${Q.slice(-4)}`;return`"${J}":"${V}"`})}function U(q){let K=q.replace(/\n/g,"\\n");if(K.length<=W)return K;return K.slice(0,W)+`... (${K.length} chars)`}function j(q){let K=typeof q==="string"?q:Z(q),J=y(K);if(J.length<=W)return J;return J.slice(0,W)+`... (${J.length} chars)`}function h(q){let K=Y(q);if(q&&typeof q==="object"&&"response"in q){let J=q.response;if(J?.data&&typeof J.data==="object"){let Q=J.data,V=typeof Q.message==="string"?Q.message:typeof Q.error==="object"&&Q.error&&("message"in Q.error)&&typeof Q.error.message==="string"?Q.error.message:void 0;if(V)return`${K}: ${V}`}}return K}function m(q){if(q&&typeof q==="object"&&"response"in q&&q.response&&typeof q.response.status==="number")return q.response.status;return}function D(q){if(!q||typeof q!=="object")return;if("message"in q&&typeof q.message==="string")return q.message;if("error"in q&&q.error!==null&&typeof q.error==="object"&&"message"in q.error&&typeof q.error.message==="string")return q.error.message;return}function L(q,K,J){if(K)$(K);X("",{reason:q,...J!==void 0&&{v2:J}})}var W=2000,k,w,F=16;var A=x(()=>{z();P();H();O();k=["session_ingress_token","environment_secret","access_token","secret","token"],w=new RegExp(`"(${k.join("|")})"\\s*:\\s*"([^"]*)"`,"g")});
2
- export{U as pf,j as qf,h as rf,m as sf,D as tf,L as uf,A as vf};
@@ -1,2 +0,0 @@
1
- import{$x as S,ay as Pq,cy as uq,ko as Hq,lo as _q}from"./cli-1.1.19-hqbspnvc.mjs";import{CY as Yq,DY as jq}from"./cli-1.1.19-d7wb13f8.mjs";import{$0 as Cq,DZ as n,H1 as a,JZ as o,KZ as Oq,_0 as M,a1 as G,c1 as W,g1 as kq}from"./cli-1.1.19-v619rbr5.mjs";import{c4 as Kq,d4 as V,e4 as H,f4 as j}from"./cli-1.1.19-25szxvwt.mjs";import{g4 as Aq}from"./cli-1.1.19-5kaw3aa5.mjs";import{$5 as Vq,X5 as Qq,Z5 as g,_5 as u,b6 as T,e6 as Wq,g6 as Xq,o6 as Zq,p6 as hq,u6 as r,x6 as $,y6 as Dq}from"./cli-1.1.19-m8w4as34.mjs";import{k9 as l,l9 as Bq}from"./cli-1.1.19-kjhw0mpy.mjs";import{Qba as f,Wda as Jq,bfa as s,fca as Nq,kea as Iq,wfa as Rq}from"./cli-1.1.19-dt84yfk2.mjs";import{rha as zq,zha as Lq}from"./cli-1.1.19-nb1256fg.mjs";import{Zja as m,aka as Uq}from"./cli-1.1.19-bg1d8zv9.mjs";import{gta as x,kta as i}from"./cli-1.1.19-cc266ybe.mjs";function e(z){let q=t.c(2),{cooldown:J}=z;if(J){let X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=V(W,{color:"promptBorder",dimColor:!0,children:f}),q[0]=X;else X=q[0];return X}let Q;if(q[1]===Symbol.for("react.memo_cache_sentinel"))Q=V(W,{color:"fastMode",children:f}),q[1]=Q;else Q=q[1];return Q}function _(z=!0,q=!1){if(!z)return f;let J=o(s().theme);if(q)return l.dim(M("promptBorder",J)(f));return M("fastMode",J)(f)}var t;var qq=i(()=>{Bq();Nq();a();Rq();Oq();Cq();j();t=x(n(),1)});function b(z,q){if(Xq(),Jq("userSettings",{fastMode:z?!0:void 0}),z)q((J)=>{let Q=!T(J.mainLoopModel);return{...J,...Q?{mainLoopModel:Vq(),mainLoopModelForSession:null}:{},fastMode:!0}});else q((J)=>({...J,fastMode:!1}))}function mq(z){let q=wq.c(30),{onDone:J,unavailableReason:Q}=z,X=S(Fq),k=S(vq),Y=Pq(),[Z,fq]=yq.useState(k??!1),B;if(q[0]===Symbol.for("react.memo_cache_sentinel"))B=Wq(),q[0]=B;else B=q[0];let N=B,d=N.status==="cooldown",K=Q!==null,R;if(q[1]===Symbol.for("react.memo_cache_sentinel"))R=$(r(!0)),q[1]=R;else R=q[1];let p=R,O;if(q[2]!==Z||q[3]!==K||q[4]!==X||q[5]!==J||q[6]!==Y)O=function(){if(K)return;if(b(Z,Y),m("",{enabled:Z,source:"picker"}),Z){let F=_(Z),Gq=!T(X)?` · model set to ${u}`:"";J(`${F} Fast mode ON${Gq} · ${p}`)}else Y(cq),J("Fast mode OFF")},q[2]=Z,q[3]=K,q[4]=X,q[5]=J,q[6]=Y,q[7]=O;else O=q[7];let c=O,C;if(q[8]!==k||q[9]!==K||q[10]!==J||q[11]!==Y)C=function(){if(K){if(k)b(!1,Y);J("Fast mode OFF",{display:"system"});return}let F=k?`${_()} Kept Fast mode ON`:"Kept Fast mode OFF";J(F,{display:"system"})},q[8]=k,q[9]=K,q[10]=J,q[11]=Y,q[12]=C;else C=q[12];let v=C,U;if(q[13]!==K)U=function(){if(K)return;fq(Tq)},q[13]=K,q[14]=U;else U=q[14];let P=U,L;if(q[15]!==c||q[16]!==P)L={"confirm:yes":c,"confirm:nextField":P,"confirm:next":P,"confirm:previous":P,"confirm:cycleMode":P,"confirm:toggle":P},q[15]=c,q[16]=P,q[17]=L;else L=q[17];let I;if(q[18]===Symbol.for("react.memo_cache_sentinel"))I={context:"Confirmation"},q[18]=I;else I=q[18];Yq(L,I);let h;if(q[19]===Symbol.for("react.memo_cache_sentinel"))h=H(W,{children:[V(e,{cooldown:d})," Fast mode (research preview)"]}),q[19]=h;else h=q[19];let Eq=h,w;if(q[20]!==K)w=(E)=>E.pending?H(W,{children:["Press ",E.keyName," again to exit"]}):K?V(W,{children:"Esc to cancel"}):V(W,{children:"Tab to toggle · Enter to confirm · Esc to cancel"}),q[20]=K,q[21]=w;else w=q[21];let y;if(q[22]!==Z||q[23]!==Q)y=Q?V(G,{marginLeft:2,children:V(W,{color:"error",children:Q})}):H(Kq,{children:[V(G,{flexDirection:"column",gap:0,marginLeft:2,children:H(G,{flexDirection:"row",gap:2,children:[V(W,{bold:!0,children:"Fast mode"}),V(W,{color:Z?"fastMode":void 0,bold:Z,children:Z?"ON ":"OFF"}),V(W,{dimColor:!0,children:p})]})}),d&&N.status==="cooldown"&&V(G,{marginLeft:2,children:H(W,{color:"warning",children:[N.reason==="overloaded"?"Fast mode overloaded and is temporarily unavailable":"You've hit your fast limit"," · resets in ",zq(N.resetAt-Date.now(),{hideTrailingZeros:!0})]})})]}),q[22]=Z,q[23]=Q,q[24]=y;else y=q[24];let D;if(q[25]===Symbol.for("react.memo_cache_sentinel"))D=H(W,{dimColor:!0,children:["Learn more:"," ",V(kq,{url:"https://code.claude.com/docs/en/fast-mode",children:"https://code.claude.com/docs/en/fast-mode"})]}),q[25]=D;else D=q[25];let A;if(q[26]!==v||q[27]!==y||q[28]!==w)A=H(Hq,{title:Eq,subtitle:`High-speed mode for ${u}. Billed as extra usage at a premium rate. Separate rate limits apply.`,onCancel:v,color:"fastMode",inputGuide:w,children:[y,D]}),q[26]=v,q[27]=y,q[28]=w,q[29]=A;else A=q[29];return A}function Tq(z){return!z}function cq(z){return{...z,fastMode:!1}}function vq(z){return z.fastMode}function Fq(z){return z.mainLoopModel}async function Mq(z,q,J){let Q=g();if(Q)return`Fast mode unavailable: ${Q}`;let{mainLoopModel:X}=q();if(b(z,J),m("",{enabled:z,source:"shortcut"}),z){let k=_(!0),Y=!T(X)?` · model set to ${u}`:"",Z=$(r(!0));return`${k} Fast mode ON${Y} · ${Z}`}else return"Fast mode OFF"}async function Qz(z,q,J){if(!Qq())return null;await Zq();let Q=J?.trim().toLowerCase();if(Q==="on"||Q==="off"){let k=await Mq(Q==="on",q.getAppState,q.setAppState);return z(k),null}let X=g();return m("",{unavailable_reason:X??""}),V(mq,{onDone:z,unavailableReason:X})}var wq,yq;var xq=i(()=>{_q();qq();a();jq();Uq();uq();hq();Lq();Dq();Iq();j();wq=x(n(),1),yq=x(Aq(),1)});
2
- export{_ as fe,qq as ge,mq as he,Qz as ie,xq as je};
@@ -1,18 +0,0 @@
1
- import{Se as kZ,Ye as XX}from"./cli-1.1.19-ac73knxp.mjs";import{af as YZ,bf as SQ}from"./cli-1.1.19-35evt5gy.mjs";import{$x as zJ,AB as pZ,AE as hX,At as CX,BB as ZX,BG as g0,CG as QX,Dk as d0,Dw as HQ,Dy as KZ,Ek as mJ,Ey as iQ,FI as mZ,Gl as GQ,Hk as cZ,II as kJ,Ik as tQ,Il as MX,JI as JZ,Js as aZ,Jw as yX,KI as OJ,LI as NJ,MI as ZZ,Ms as RX,NI as QZ,Nk as r0,Ns as TJ,OI as XZ,OK as $0,On as PJ,Os as fQ,Pk as VZ,Pn as DQ,QI as m0,Qk as LJ,RI as _0,RK as RZ,Rq as MZ,SA as R0,SI as UJ,TA as i0,TB as IX,UA as qJ,UB as DX,Uq as lQ,Ux as NQ,VA as BX,VR as lZ,Vs as L0,Vx as bX,_R as iZ,ao as VQ,ay as FQ,bo as EX,co as l,cy as AX,cz as HZ,do as A0,dt as hQ,dz as rQ,eS as fZ,go as Z0,gz as a0,hI as NZ,ho as B0,hz as yZ,iI as FZ,it as c0,jI as s0,kk as WZ,ko as n,lI as MJ,lo as I0,lt as vQ,oF as PQ,rF as vX,vG as OQ,xt as WQ,yG as SX,zE as RQ}from"./cli-1.1.19-hqbspnvc.mjs";import{CY as G0,DY as S0,nY as QJ,oY as nZ}from"./cli-1.1.19-d7wb13f8.mjs";import{DZ as F0,H1 as q0,MZ as l0,a1 as y,c1 as W,g1 as JJ,q1 as wZ}from"./cli-1.1.19-v619rbr5.mjs";import{s3 as vJ,z3 as KX}from"./cli-1.1.19-8zwh2ky5.mjs";import{c4 as o,d4 as q,e4 as N,f4 as $}from"./cli-1.1.19-25szxvwt.mjs";import{g4 as o0}from"./cli-1.1.19-5kaw3aa5.mjs";import{D4 as MQ,t4 as pJ}from"./cli-1.1.19-3jjgtf8t.mjs";import{F4 as DJ,G4 as JX}from"./cli-1.1.19-6jvzyjts.mjs";import{K7 as HJ,L7 as wQ,U4 as tJ,V4 as IQ}from"./cli-1.1.19-m8w4as34.mjs";import{$ba as w0,$ca as uZ,Wga as eJ,_ba as z0,ada as dZ,cda as eQ,cha as BQ,fca as p0,pda as Q0,qaa as qQ,raa as M0,taa as yJ,x_ as t0,xda as IJ,y_ as TZ}from"./cli-1.1.19-dt84yfk2.mjs";import{kha as K0,nha as b0,pha as oZ,rha as e0,sha as x0,zha as v0}from"./cli-1.1.19-nb1256fg.mjs";import{aia as sJ,mia as AQ}from"./cli-1.1.19-x6xnsxay.mjs";import{Zja as t,aka as _J}from"./cli-1.1.19-bg1d8zv9.mjs";import{Qka as $Z,Ska as FX,ala as D0,dla as cJ}from"./cli-1.1.19-cq5hegwz.mjs";import{Ala as h0,Hla as aJ}from"./cli-1.1.19-eyhpgp73.mjs";import{gta as J0,hta as RJ,jta as $J,kta as a}from"./cli-1.1.19-cc266ybe.mjs";function u0(Q){return typeof Q==="object"&&Q!==null&&"type"in Q&&Q.type==="local_agent"}function GJ(Q){return{...Q,retain:!1,messages:void 0,diskLoaded:!1,evictAfter:TJ(Q.status)?Date.now()+LQ:void 0}}function VJ(Q,J){t("",{}),J((Z)=>{let X=Z.tasks[Q],z=Z.viewingAgentTaskId,Y=z!==void 0?Z.tasks[z]:void 0,V=z!==void 0&&z!==Q&&u0(Y)&&Y.retain,G=u0(X)&&(!X.retain||X.evictAfter!==void 0),F=Z.viewingAgentTaskId!==Q||Z.viewSelectionMode!=="viewing-agent";if(!G&&!F&&!V)return Z;let R=Z.tasks;if(V||G){if(R={...Z.tasks},V)R[z]=GJ(Y);if(G)R[Q]={...X,retain:!0,evictAfter:void 0}}return{...Z,viewingAgentTaskId:Q,viewSelectionMode:"viewing-agent",tasks:R}})}function WJ(Q){t("",{}),Q((J)=>{let Z=J.viewingAgentTaskId,X={...J,viewingAgentTaskId:void 0,viewSelectionMode:"none"};if(Z===void 0)return J.viewSelectionMode==="none"?J:X;let z=J.tasks[Z];if(!u0(z)||!z.retain)return X;return{...X,tasks:{...J.tasks,[Z]:GJ(z)}}})}function xX(Q,J){J((Z)=>{let X=Z.tasks[Q];if(!u0(X))return Z;if(X.status==="running")return X.abortController?.abort(),Z;if(X.evictAfter===0)return Z;let z=Z.viewingAgentTaskId===Q;return{...Z,tasks:{...Z.tasks,[Q]:{...GJ(X),evictAfter:0}},...z&&{viewingAgentTaskId:void 0,viewSelectionMode:"none"}}})}var LQ=30000;var uJ=a(()=>{_J();fQ()});class xJ{exitPlanCalls=[];results=new Map;rejectedIds=new Set;terminated=null;rescanAfterRejection=!1;everSeenPending=!1;get rejectCount(){return this.rejectedIds.size}get hasPendingPlan(){let Q=this.exitPlanCalls.findLast((J)=>!this.rejectedIds.has(J));return Q!==void 0&&!this.results.has(Q)}ingest(Q){for(let X of Q)if(X.type==="assistant")for(let z of X.message.content){if(z.type!=="tool_use")continue;let Y=z;if(Y.name===d0)this.exitPlanCalls.push(Y.id)}else if(X.type==="user"){let z=X.message.content;if(!Array.isArray(z))continue;for(let Y of z)if(Y.type==="tool_result")this.results.set(Y.tool_use_id,Y)}else if(X.type==="result"&&X.subtype!=="success")this.terminated={subtype:X.subtype};let J=Q.length>0||this.rescanAfterRejection;this.rescanAfterRejection=!1;let Z=null;if(J){for(let X=this.exitPlanCalls.length-1;X>=0;X--){let z=this.exitPlanCalls[X];if(this.rejectedIds.has(z))continue;let Y=this.results.get(z);if(!Y)Z={kind:"pending"};else if(Y.is_error===!0){let V=CQ(Y.content);Z=V!==null?{kind:"teleport",plan:V}:{kind:"rejected",id:z}}else Z={kind:"approved",plan:yQ(Y.content)};break}if(Z?.kind==="approved"||Z?.kind==="teleport")return Z}if(Z?.kind==="rejected")this.rejectedIds.add(Z.id),this.rescanAfterRejection=!0;if(this.terminated)return{kind:"terminated",subtype:this.terminated.subtype};if(Z?.kind==="rejected")return Z;if(Z?.kind==="pending")return this.everSeenPending=!0,Z;return{kind:"unchanged"}}}async function rJ(Q,J,Z,X){let z=Date.now()+J,Y=new xJ,V=null,G=0,F="running";while(Date.now()<z){if(X?.())throw new N0("poll stopped by caller","stopped",Y.rejectCount);let R,O;try{let f=await kJ(Q,V);R=f.newEvents,V=f.lastEventId,O=f.sessionStatus,G=0}catch(f){if(!pJ(f)||++G>=KQ)throw new N0(f instanceof Error?f.message:String(f),"network_or_unknown",Y.rejectCount,{cause:f});await HJ(dJ);continue}let P;try{P=Y.ingest(R)}catch(f){throw new N0(f instanceof Error?f.message:String(f),"extract_marker_missing",Y.rejectCount)}if(P.kind==="approved")return{plan:P.plan,rejectCount:Y.rejectCount,executionTarget:"remote"};if(P.kind==="teleport")return{plan:P.plan,rejectCount:Y.rejectCount,executionTarget:"local"};if(P.kind==="terminated")throw new N0(`remote session ended (${P.subtype}) before plan approval`,"terminated",Y.rejectCount);let U=(O==="idle"||O==="requires_action")&&R.length===0,w=Y.hasPendingPlan?"plan_ready":U?"needs_input":"running";if(w!==F)D0(`[ultraplan] phase ${F} → ${w}`),F=w,Z?.(w);await HJ(dJ)}throw new N0(Y.everSeenPending?`no approval after ${J/1000}s`:`ExitPlanMode never reached after ${J/1000}s (the remote container failed to start, or session ID mismatch?)`,Y.everSeenPending?"timeout_pending":"timeout_no_plan",Y.rejectCount)}function lJ(Q){return typeof Q==="string"?Q:Array.isArray(Q)?Q.map((J)=>("text"in J)?J.text:"").join(""):""}function CQ(Q){let J=lJ(Q),Z=`${EQ}
2
- `,X=J.indexOf(Z);if(X===-1)return null;return J.slice(X+Z.length).trimEnd()}function yQ(Q){let J=lJ(Q),Z=[`## Approved Plan (edited by user):
3
- `,`## Approved Plan:
4
- `];for(let X of Z){let z=J.indexOf(X);if(z!==-1)return J.slice(z+X.length).trimEnd()}throw Error(`ExitPlanMode approved but tool_result has no "## Approved Plan:" marker — remote may have hit the empty-plan or isAgent branch. Content preview: ${J.slice(0,200)}`)}var dJ=3000,KQ=5,N0,EQ="__ULTRAPLAN_TELEPORT_LOCAL__";var iJ=a(()=>{mJ();cJ();wQ();MQ();NJ();N0=class N0 extends Error{reason;rejectCount;constructor(Q,J,Z,X){super(Q,X);this.reason=J;this.rejectCount=Z;this.name="UltraplanPollError"}}});var oJ={};$J(oJ,{default:()=>bQ});var bQ=`This is a planning prompt stub.
5
- `;var nJ=()=>{};function gQ(){return sJ("tengu_ultraplan_model",tJ.opus46.firstParty)}function uQ(Q,J){let Z=[];if(J)Z.push("Here is a draft plan to refine:","",J,"");if(Z.push(TQ),Q)Z.push("",Q);return Z.join(`
6
- `)}function dQ(Q,J,Z,X,z){let Y=Date.now(),V=!1;(async()=>{try{let{plan:G,rejectCount:F,executionTarget:R}=await rJ(J,jQ,(O)=>{if(O==="needs_input")t("",{});c0(Q,z,(P)=>{if(P.status!=="running")return P;let U=O==="running"?void 0:O;return P.ultraplanPhase===U?P:{...P,ultraplanPhase:U}})},()=>X().tasks?.[Q]?.status!=="running");if(t("",{duration_ms:Date.now()-Y,plan_length:G.length,reject_count:F,execution_target:R}),R==="remote"){if(X().tasks?.[Q]?.status!=="running")return;c0(Q,z,(P)=>P.status!=="running"?P:{...P,status:"completed",endTime:Date.now()}),z((P)=>P.ultraplanSessionUrl===Z?{...P,ultraplanSessionUrl:void 0}:P),L0({value:[`Ultraplan approved — executing in Claude Code on the web. Follow along at: ${Z}`,"","Results will land as a pull request when the remote session finishes. There is nothing to do here."].join(`
7
- `),mode:"task-notification"})}else z((O)=>{let P=O.tasks?.[Q];if(!P||P.status!=="running")return O;return{...O,ultraplanPendingChoice:{plan:G,sessionId:J,taskId:Q}}})}catch(G){if(X().tasks?.[Q]?.status!=="running")return;V=!0,t("",{duration_ms:Date.now()-Y,reason:G instanceof N0?G.reason:"network_or_unknown",reject_count:G instanceof N0?G.rejectCount:void 0}),L0({value:`Ultraplan failed: ${h0(G)}
8
-
9
- Session: ${Z}`,mode:"task-notification"}),OJ(J).catch((R)=>D0(`ultraplan archive failed: ${String(R)}`)),z((R)=>R.ultraplanSessionUrl===Z?{...R,ultraplanSessionUrl:void 0}:R)}finally{if(V)c0(Q,z,(G)=>G.status!=="running"?G:{...G,status:"failed",endTime:Date.now()})}})()}function cQ(Q){let J=Q?`${YZ} `:"";return`${z0} ultraplan
10
- ${J}Starting Claude Code on the web…`}function pQ(Q){return`${z0} ultraplan · Monitor progress in Claude Code on the web ${Q}
11
- You can continue working — when the ${z0} fills, press ↓ to view results`}function qZ(Q){return Q?`ultraplan: already polling. Open ${Q} to check status, or wait for the plan to land here.`:"ultraplan: already launching. Please wait for the session to start."}async function fJ(Q,J,Z){await m0.kill(Q,Z),Z((z)=>z.ultraplanSessionUrl||z.ultraplanPendingChoice||z.ultraplanLaunching?{...z,ultraplanSessionUrl:void 0,ultraplanPendingChoice:void 0,ultraplanLaunching:void 0}:z);let X=PJ(J,process.env.SESSION_INGRESS_URL);L0({value:`Ultraplan stopped.
12
-
13
- Session: ${X}`,mode:"task-notification"}),L0({value:"The user stopped the ultraplan session above. Do not respond to the stop notification — wait for their next message.",mode:"task-notification",isMeta:!0})}async function mQ(Q){let{blurb:J,seedPlan:Z,getAppState:X,setAppState:z,signal:Y,disconnectedBridge:V,onSessionReady:G}=Q,{ultraplanSessionUrl:F,ultraplanLaunching:R}=X();if(F||R)return t("",{reason:F?"already_polling":"already_launching"}),qZ(F);if(!J&&!Z)return['Usage: /ultraplan \\<prompt\\>, or include "ultraplan" anywhere',"in your prompt","","Advanced multi-agent plan mode with our most powerful model","(Opus). Runs in Claude Code on the web. When the plan is ready,","you can execute it in the web session or send it back here.","Terminal stays free while the remote plans.","Requires /login.","",`Terms: ${zZ}`].join(`
14
- `);return z((O)=>O.ultraplanLaunching?O:{...O,ultraplanLaunching:!0}),kQ({blurb:J,seedPlan:Z,getAppState:X,setAppState:z,signal:Y,onSessionReady:G}),cQ(V)}async function kQ(Q){let{blurb:J,seedPlan:Z,getAppState:X,setAppState:z,signal:Y,onSessionReady:V}=Q,G;try{let F=gQ(),R=await ZZ();if(!R.eligible){t("",{reason:"precondition",precondition_errors:R.errors.map((C)=>C.type).join(",")});let L=R.errors.map(QZ).join(`
15
- `);L0({value:`ultraplan: cannot launch remote session —
16
- ${L}`,mode:"task-notification"});return}let O=uQ(J,Z),P,U=await JZ({initialMessage:O,description:J||"Refine local plan",model:F,permissionMode:"plan",ultraplan:!0,signal:Y,useDefaultEnvironment:!0,onBundleFail:(L)=>{P=L}});if(!U){t("",{reason:P?"bundle_fail":"teleport_null"}),L0({value:`ultraplan: session creation failed${P?` — ${P}`:""}. See --debug for details.`,mode:"task-notification"});return}G=U.id;let w=PJ(U.id,process.env.SESSION_INGRESS_URL);z((L)=>({...L,ultraplanSessionUrl:w,ultraplanLaunching:void 0})),V?.(pQ(w)),t("",{has_seed_plan:Boolean(Z),model:F});let{taskId:f}=XZ({remoteTaskType:"ultraplan",session:{id:U.id,title:J||"Ultraplan"},command:J,context:{abortController:new AbortController,getAppState:X,setAppState:z},isUltraplan:!0});dQ(f,U.id,w,X,z)}catch(F){if(eJ(F),t("",{reason:"unexpected_error"}),L0({value:`ultraplan: unexpected error — ${h0(F)}`,mode:"task-notification"}),G)OJ(G).catch((R)=>D0("ultraplan: failed to archive orphaned session",R)),z((R)=>R.ultraplanSessionUrl?{...R,ultraplanSessionUrl:void 0}:R)}finally{z((F)=>F.ultraplanLaunching?{...F,ultraplanLaunching:void 0}:F)}}var jQ=1800000,zZ="https://code.claude.com/docs/en/claude-code-on-the-web",FJ,_Q,TQ,xQ=async(Q,J,Z)=>{let X=Z.trim();if(!X){let V=await mQ({blurb:X,getAppState:J.getAppState,setAppState:J.setAppState,signal:J.abortController.signal});return Q(V,{display:"system"}),null}let{ultraplanSessionUrl:z,ultraplanLaunching:Y}=J.getAppState();if(z||Y)return t("",{reason:z?"already_polling":"already_launching"}),Q(qZ(z),{display:"system"}),null;return J.setAppState((V)=>({...V,ultraplanLaunchPending:{blurb:X}})),Q(void 0,{display:"skip"}),null},NY;var GZ=a(()=>{SQ();p0();DQ();AQ();_J();UJ();cJ();aJ();BQ();hQ();IQ();vQ();NJ();iJ();FJ=(nJ(),RJ(oJ)),_Q=(typeof FJ==="string"?FJ:FJ.default).trimEnd(),TQ=_Q;NY={type:"local-jsx",name:"ultraplan",description:`~10–30 min · Claude Code on the web drafts an advanced plan you can edit and approve. See ${zZ}`,argumentHint:"<prompt>",isEnabled:()=>!1,load:()=>Promise.resolve({call:xQ})}});function k0(Q,J,Z){let X=VZ(J,Q.toolName);if(!X)return Q.toolName;try{let z=X.inputSchema.safeParse(Q.input),Y=z.success?z.data:{},V=X.userFacingName(Y);if(!V)return Q.toolName;let G=X.renderToolUseMessage(Y,{theme:Z,verbose:!1});if(G)return N(W,{children:[V,"(",G,")"]});return V}catch{return Q.toolName}}var wJ=a(()=>{q0();LJ();$()});function OZ(Q){let J=PZ.c(54),{agent:Z,onDone:X,onKillAgent:z,onBack:Y}=Q,[V]=l0(),G;if(J[0]===Symbol.for("react.memo_cache_sentinel"))G=$0(r0()),J[0]=G;else G=J[0];let F=G,R=R0(Z.startTime,Z.status==="running",1000,Z.totalPausedMs??0),O;if(J[1]!==X)O={"confirm:yes":X},J[1]=X,J[2]=O;else O=J[2];let P;if(J[3]===Symbol.for("react.memo_cache_sentinel"))P={context:"Confirmation"},J[3]=P;else P=J[3];G0(O,P);let U;if(J[4]!==Z.status||J[5]!==Y||J[6]!==X||J[7]!==z)U=(S)=>{if(S.key===" ")S.preventDefault(),X();else if(S.key==="left"&&Y)S.preventDefault(),Y();else if(S.key==="x"&&Z.status==="running"&&z)S.preventDefault(),z()},J[4]=Z.status,J[5]=Y,J[6]=X,J[7]=z,J[8]=U;else U=J[8];let w=U,f;if(J[9]!==Z.prompt)f=WZ(Z.prompt,"plan"),J[9]=Z.prompt,J[10]=f;else f=J[10];let L=f,C=Z.prompt.length>300?Z.prompt.substring(0,297)+"…":Z.prompt,E=Z.result?.totalTokens??Z.progress?.tokenCount,A=Z.result?.totalToolUseCount??Z.progress?.toolUseCount,h=Z.selectedAgent?.agentType??"agent",D=Z.description||"Async agent",I;if(J[11]!==h||J[12]!==D)I=N(W,{children:[h," ›"," ",D]}),J[11]=h,J[12]=D,J[13]=I;else I=J[13];let K=I,B;if(J[14]!==Z.status)B=Z.status!=="running"&&N(W,{color:FZ(Z.status),children:[NZ(Z.status)," ",Z.status==="completed"?"Completed":Z.status==="failed"?"Failed":"Stopped"," · "]}),J[14]=Z.status,J[15]=B;else B=J[15];let p;if(J[16]!==E)p=E!==void 0&&E>0&&N(o,{children:[" · ",x0(E)," tokens"]}),J[16]=E,J[17]=p;else p=J[17];let d;if(J[18]!==A)d=A!==void 0&&A>0&&N(o,{children:[" ","· ",A," ",A===1?"tool":"tools"]}),J[18]=A,J[19]=d;else d=J[19];let j;if(J[20]!==R||J[21]!==p||J[22]!==d)j=N(W,{dimColor:!0,children:[R,p,d]}),J[20]=R,J[21]=p,J[22]=d,J[23]=j;else j=J[23];let x;if(J[24]!==j||J[25]!==B)x=N(W,{children:[B,j]}),J[24]=j,J[25]=B,J[26]=x;else x=J[26];let c=x,v;if(J[27]!==Z.status||J[28]!==Y||J[29]!==z)v=(S)=>S.pending?N(W,{children:["Press ",S.keyName," again to exit"]}):N(Z0,{children:[Y&&q(l,{shortcut:"←",action:"go back"}),q(l,{shortcut:"Esc/Enter/Space",action:"close"}),Z.status==="running"&&z&&q(l,{shortcut:"x",action:"stop"})]}),J[27]=Z.status,J[28]=Y,J[29]=z,J[30]=v;else v=J[30];let b;if(J[31]!==Z.progress||J[32]!==Z.status||J[33]!==V)b=Z.status==="running"&&Z.progress?.recentActivities&&Z.progress.recentActivities.length>0&&N(y,{flexDirection:"column",children:[q(W,{bold:!0,dimColor:!0,children:"Progress"}),Z.progress.recentActivities.map((S,k)=>N(W,{dimColor:k<Z.progress.recentActivities.length-1,wrap:"truncate-end",children:[k===Z.progress.recentActivities.length-1?"› ":" ",k0(S,F,V)]},k))]}),J[31]=Z.progress,J[32]=Z.status,J[33]=V,J[34]=b;else b=J[34];let m;if(J[35]!==C||J[36]!==L)m=L?q(y,{marginTop:1,children:q(HZ,{addMargin:!1,planContent:L})}):N(y,{flexDirection:"column",marginTop:1,children:[q(W,{bold:!0,dimColor:!0,children:"Prompt"}),q(W,{wrap:"wrap",children:C})]}),J[35]=C,J[36]=L,J[37]=m;else m=J[37];let T;if(J[38]!==Z.error||J[39]!==Z.status)T=Z.status==="failed"&&Z.error&&N(y,{flexDirection:"column",marginTop:1,children:[q(W,{bold:!0,color:"error",children:"Error"}),q(W,{color:"error",wrap:"wrap",children:Z.error})]}),J[38]=Z.error,J[39]=Z.status,J[40]=T;else T=J[40];let _;if(J[41]!==b||J[42]!==m||J[43]!==T)_=N(y,{flexDirection:"column",children:[b,m,T]}),J[41]=b,J[42]=m,J[43]=T,J[44]=_;else _=J[44];let g;if(J[45]!==X||J[46]!==c||J[47]!==v||J[48]!==_||J[49]!==K)g=q(n,{title:K,subtitle:c,onCancel:X,color:"background",inputGuide:v,children:_}),J[45]=X,J[46]=c,J[47]=v,J[48]=_,J[49]=K,J[50]=g;else g=J[50];let u;if(J[51]!==w||J[52]!==g)u=q(y,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:w,children:g}),J[51]=w,J[52]=g,J[53]=u;else u=J[53];return u}var PZ;var UZ=a(()=>{i0();q0();S0();LJ();RZ();v0();fZ();B0();I0();A0();rQ();wJ();MJ();$();PZ=J0(F0(),1)});function bJ(Q,J,Z,X){if(!Q)return`${J} found · ${Z} verified`;if(Q==="synthesizing"){let z=[`${Z} verified`];if(X>0)z.push(`${X} refuted`);return z.push("deduping"),z.join(" · ")}if(Q==="verifying"){let z=[`${J} found`,`${Z} verified`];if(X>0)z.push(`${X} refuted`);return z.join(" · ")}return J>0?`${J} found`:"finding"}function KJ(Q){let J=n0.c(5),{text:Z,phase:X}=Q,z=X===void 0?0:X,Y;if(J[0]!==Z)Y=[...Z],J[0]=Z,J[1]=Y;else Y=J[1];let V;if(J[2]!==z||J[3]!==Y)V=q(o,{children:Y.map((G,F)=>q(W,{color:MZ(F+z),children:G},F))}),J[2]=z,J[3]=Y,J[4]=V;else V=J[4];return V}function EJ(Q,J,Z){let X=CJ.useRef(Q),z=CJ.useRef(J);if(Z||Q<X.current)X.current=Q;else if(Q>X.current&&J!==z.current)X.current+=1,z.current=J;return X.current}function $Q(Q){let J=n0.c(15),{session:Z}=Q,z=KZ().prefersReducedMotion??!1,Y=Z.reviewProgress,V=Z.status==="running",[,G]=wZ(V&&!z?LZ:null),F=Y?.bugsFound??0,R=Y?.bugsVerified??0,O=Y?.bugsRefuted??0,P=z||!V,U=EJ(F,G,P),w=EJ(R,G,P),f=EJ(O,G,P),L=Math.floor(G/(LZ*3))%7;if(Z.status==="completed"){let B;if(J[0]===Symbol.for("react.memo_cache_sentinel"))B=N(o,{children:[N(W,{color:"background",children:[w0," "]}),q(KJ,{text:"ultrareview",phase:0}),q(W,{dimColor:!0,children:" ready · shift+↓ to view"})]}),J[0]=B;else B=J[0];return B}if(Z.status==="failed"){let B;if(J[1]===Symbol.for("react.memo_cache_sentinel"))B=N(o,{children:[N(W,{color:"background",children:[w0," "]}),q(KJ,{text:"ultrareview",phase:0}),N(W,{color:"error",dimColor:!0,children:[" · ","error"]})]}),J[1]=B;else B=J[1];return B}let C;if(J[2]!==U||J[3]!==Y||J[4]!==f||J[5]!==w)C=!Y?"setting up":bJ(Y.stage,U,w,f),J[2]=U,J[3]=Y,J[4]=f,J[5]=w,J[6]=C;else C=J[6];let E=C,A;if(J[7]===Symbol.for("react.memo_cache_sentinel"))A=N(W,{color:"background",children:[z0," "]}),J[7]=A;else A=J[7];let h=V?L:0,D;if(J[8]!==h)D=q(KJ,{text:"ultrareview",phase:h}),J[8]=h,J[9]=D;else D=J[9];let I;if(J[10]!==E)I=N(W,{dimColor:!0,children:[" · ",E]}),J[10]=E,J[11]=I;else I=J[11];let K;if(J[12]!==D||J[13]!==I)K=N(o,{children:[A,D,I]}),J[12]=D,J[13]=I,J[14]=K;else K=J[14];return K}function j0(Q){let J=n0.c(11),{session:Z}=Q;if(Z.isRemoteReview){let G;if(J[0]!==Z)G=q($Q,{session:Z}),J[0]=Z,J[1]=G;else G=J[1];return G}if(Z.status==="completed"){let G;if(J[2]===Symbol.for("react.memo_cache_sentinel"))G=q(W,{bold:!0,color:"success",dimColor:!0,children:"done"}),J[2]=G;else G=J[2];return G}if(Z.status==="failed"){let G;if(J[3]===Symbol.for("react.memo_cache_sentinel"))G=q(W,{bold:!0,color:"error",dimColor:!0,children:"error"}),J[3]=G;else G=J[3];return G}if(!Z.todoList.length){let G;if(J[4]!==Z.status)G=N(W,{dimColor:!0,children:[Z.status,"…"]}),J[4]=Z.status,J[5]=G;else G=J[5];return G}let X;if(J[6]!==Z.todoList)X=M0(Z.todoList,oQ),J[6]=Z.todoList,J[7]=X;else X=J[7];let z=X,Y=Z.todoList.length,V;if(J[8]!==z||J[9]!==Y)V=N(W,{dimColor:!0,children:[z,"/",Y]}),J[8]=z,J[9]=Y,J[10]=V;else V=J[10];return V}function oQ(Q){return Q.status==="completed"}var n0,CJ,LZ=80;var AJ=a(()=>{p0();iQ();q0();yJ();lQ();$();n0=J0(F0(),1),CJ=J0(o0(),1)});function P0(Q){let J=BJ.c(4),{status:Z,label:X,suffix:z}=Q,Y=X??Z,V=Z==="completed"?"success":Z==="failed"?"error":Z==="killed"?"warning":void 0,G;if(J[0]!==V||J[1]!==Y||J[2]!==z)G=N(W,{color:V,dimColor:!0,children:["(",Y,z,")"]}),J[0]=V,J[1]=Y,J[2]=z,J[3]=G;else G=J[3];return G}function EZ(Q){let J=BJ.c(4),{shell:Z}=Q;switch(Z.status){case"completed":{let X;if(J[0]===Symbol.for("react.memo_cache_sentinel"))X=q(P0,{status:"completed",label:"done"}),J[0]=X;else X=J[0];return X}case"failed":{let X;if(J[1]===Symbol.for("react.memo_cache_sentinel"))X=q(P0,{status:"failed",label:"error"}),J[1]=X;else X=J[1];return X}case"killed":{let X;if(J[2]===Symbol.for("react.memo_cache_sentinel"))X=q(P0,{status:"killed",label:"stopped"}),J[2]=X;else X=J[2];return X}case"running":case"pending":{let X;if(J[3]===Symbol.for("react.memo_cache_sentinel"))X=q(P0,{status:"running"}),J[3]=X;else X=J[3];return X}}}var BJ;var CZ=a(()=>{q0();$();BJ=J0(F0(),1)});function AZ(Q){let J=bZ.c(92),{task:Z,maxActivityWidth:X}=Q,z=X??40;switch(Z.type){case"local_bash":{let Y=Z.kind==="monitor"?Z.description:Z.command,V;if(J[0]!==z||J[1]!==Y)V=b0(Y,z,!0),J[0]=z,J[1]=Y,J[2]=V;else V=J[2];let G;if(J[3]!==Z)G=q(EZ,{shell:Z}),J[3]=Z,J[4]=G;else G=J[4];let F;if(J[5]!==V||J[6]!==G)F=N(W,{children:[V," ",G]}),J[5]=V,J[6]=G,J[7]=F;else F=J[7];return F}case"remote_agent":{if(Z.isRemoteReview){let U;if(J[8]!==Z)U=q(W,{children:q(j0,{session:Z})}),J[8]=Z,J[9]=U;else U=J[9];return U}let V=Z.status==="running"||Z.status==="pending"?z0:w0,G;if(J[10]!==V)G=N(W,{dimColor:!0,children:[V," "]}),J[10]=V,J[11]=G;else G=J[11];let F;if(J[12]!==z||J[13]!==Z.title)F=b0(Z.title,z,!0),J[12]=z,J[13]=Z.title,J[14]=F;else F=J[14];let R;if(J[15]===Symbol.for("react.memo_cache_sentinel"))R=q(W,{dimColor:!0,children:" · "}),J[15]=R;else R=J[15];let O;if(J[16]!==Z)O=q(j0,{session:Z}),J[16]=Z,J[17]=O;else O=J[17];let P;if(J[18]!==G||J[19]!==F||J[20]!==O)P=N(W,{children:[G,F,R,O]}),J[18]=G,J[19]=F,J[20]=O,J[21]=P;else P=J[21];return P}case"local_agent":{let Y;if(J[22]!==z||J[23]!==Z.description)Y=b0(Z.description,z,!0),J[22]=z,J[23]=Z.description,J[24]=Y;else Y=J[24];let V=Z.status==="completed"?"done":void 0,G=Z.status==="completed"&&!Z.notified?", unread":void 0,F;if(J[25]!==V||J[26]!==G||J[27]!==Z.status)F=q(P0,{status:Z.status,label:V,suffix:G}),J[25]=V,J[26]=G,J[27]=Z.status,J[28]=F;else F=J[28];let R;if(J[29]!==Y||J[30]!==F)R=N(W,{children:[Y," ",F]}),J[29]=Y,J[30]=F,J[31]=R;else R=J[31];return R}case"in_process_teammate":{let Y,V,G,F,R,O;if(J[32]!==z||J[33]!==Z){let w=s0(Z);V=W;let f;if(J[40]!==Z.identity.color)f=a0(Z.identity.color),J[40]=Z.identity.color,J[41]=f;else f=J[41];if(J[42]!==f||J[43]!==Z.identity.agentName)O=N(W,{color:f,children:["@",Z.identity.agentName]}),J[42]=f,J[43]=Z.identity.agentName,J[44]=O;else O=J[44];Y=W,G=!0,F=": ",R=b0(w,z,!0),J[32]=z,J[33]=Z,J[34]=Y,J[35]=V,J[36]=G,J[37]=F,J[38]=R,J[39]=O}else Y=J[34],V=J[35],G=J[36],F=J[37],R=J[38],O=J[39];let P;if(J[45]!==Y||J[46]!==G||J[47]!==F||J[48]!==R)P=N(Y,{dimColor:G,children:[F,R]}),J[45]=Y,J[46]=G,J[47]=F,J[48]=R,J[49]=P;else P=J[49];let U;if(J[50]!==V||J[51]!==O||J[52]!==P)U=N(V,{children:[O,P]}),J[50]=V,J[51]=O,J[52]=P,J[53]=U;else U=J[53];return U}case"local_workflow":{let Y=Z.workflowName??Z.summary??Z.description,V;if(J[54]!==z||J[55]!==Y)V=b0(Y,z,!0),J[54]=z,J[55]=Y,J[56]=V;else V=J[56];let G;if(J[57]!==Z.agentCount||J[58]!==Z.status)G=Z.status==="running"?`${Z.agentCount} ${Q0(Z.agentCount,"agent")}`:Z.status==="completed"?"done":void 0,J[57]=Z.agentCount,J[58]=Z.status,J[59]=G;else G=J[59];let F=Z.status==="completed"&&!Z.notified?", unread":void 0,R;if(J[60]!==G||J[61]!==F||J[62]!==Z.status)R=q(P0,{status:Z.status,label:G,suffix:F}),J[60]=G,J[61]=F,J[62]=Z.status,J[63]=R;else R=J[63];let O;if(J[64]!==V||J[65]!==R)O=N(W,{children:[V," ",R]}),J[64]=V,J[65]=R,J[66]=O;else O=J[66];return O}case"monitor_mcp":{let Y;if(J[67]!==z||J[68]!==Z.description)Y=b0(Z.description,z,!0),J[67]=z,J[68]=Z.description,J[69]=Y;else Y=J[69];let V=Z.status==="completed"?"done":void 0,G=Z.status==="completed"&&!Z.notified?", unread":void 0,F;if(J[70]!==V||J[71]!==G||J[72]!==Z.status)F=q(P0,{status:Z.status,label:V,suffix:G}),J[70]=V,J[71]=G,J[72]=Z.status,J[73]=F;else F=J[73];let R;if(J[74]!==Y||J[75]!==F)R=N(W,{children:[Y," ",F]}),J[74]=Y,J[75]=F,J[76]=R;else R=J[76];return R}case"dream":{let Y=Z.filesTouched.length,V;if(J[77]!==Y||J[78]!==Z.phase||J[79]!==Z.sessionsReviewing)V=Z.phase==="updating"&&Y>0?`${Y} ${Q0(Y,"file")}`:`${Z.sessionsReviewing} ${Q0(Z.sessionsReviewing,"session")}`,J[77]=Y,J[78]=Z.phase,J[79]=Z.sessionsReviewing,J[80]=V;else V=J[80];let G=V,F;if(J[81]!==G||J[82]!==Z.phase)F=N(W,{dimColor:!0,children:["· ",Z.phase," · ",G]}),J[81]=G,J[82]=Z.phase,J[83]=F;else F=J[83];let R=Z.status==="completed"?"done":void 0,O=Z.status==="completed"&&!Z.notified?", unread":void 0,P;if(J[84]!==R||J[85]!==O||J[86]!==Z.status)P=q(P0,{status:Z.status,label:R,suffix:O}),J[84]=R,J[85]=O,J[86]=Z.status,J[87]=P;else P=J[87];let U;if(J[88]!==F||J[89]!==P||J[90]!==Z.description)U=N(W,{children:[Z.description," ",F," ",P]}),J[88]=F,J[89]=P,J[90]=Z.description,J[91]=U;else U=J[91];return U}}}var bZ;var BZ=a(()=>{q0();v0();yZ();IJ();p0();AJ();CZ();MJ();$();bZ=J0(F0(),1)});function DZ(Q){let J=IZ.c(70),{task:Z,onDone:X,onBack:z,onKill:Y}=Q,V=R0(Z.startTime,Z.status==="running",1000,0),G;if(J[0]!==X)G={"confirm:yes":X},J[0]=X,J[1]=G;else G=J[1];let F;if(J[2]===Symbol.for("react.memo_cache_sentinel"))F={context:"Confirmation"},J[2]=F;else F=J[2];G0(G,F);let R;if(J[3]!==z||J[4]!==X||J[5]!==Y||J[6]!==Z.status)R=(b)=>{if(b.key===" ")b.preventDefault(),X();else if(b.key==="left"&&z)b.preventDefault(),z();else if(b.key==="x"&&Z.status==="running"&&Y)b.preventDefault(),Y()},J[3]=z,J[4]=X,J[5]=Y,J[6]=Z.status,J[7]=R;else R=J[7];let O=R,P,U,w,f,L,C,E,A,h,D,I,K,B,p,d,j;if(J[8]!==V||J[9]!==O||J[10]!==z||J[11]!==X||J[12]!==Y||J[13]!==Z.filesTouched.length||J[14]!==Z.sessionsReviewing||J[15]!==Z.status||J[16]!==Z.turns){let b=Z.turns.filter(sQ),m=b.slice(-nQ),T=b.length-m.length;w=y,E="column",A=0,h=!0,D=O,U=n,d="Memory consolidation";let _=Z.sessionsReviewing,g;if(J[33]!==Z.sessionsReviewing)g=Q0(Z.sessionsReviewing,"session"),J[33]=Z.sessionsReviewing,J[34]=g;else g=J[34];let u;if(J[35]!==Z.filesTouched.length)u=Z.filesTouched.length>0&&N(o,{children:[" ","· ",Z.filesTouched.length," ",Q0(Z.filesTouched.length,"file")," touched"]}),J[35]=Z.filesTouched.length,J[36]=u;else u=J[36];if(J[37]!==V||J[38]!==g||J[39]!==u||J[40]!==Z.sessionsReviewing)j=N(W,{dimColor:!0,children:[V," · reviewing ",_," ",g,u]}),J[37]=V,J[38]=g,J[39]=u,J[40]=Z.sessionsReviewing,J[41]=j;else j=J[41];if(f=X,L="background",J[42]!==z||J[43]!==Y||J[44]!==Z.status)C=(k)=>k.pending?N(W,{children:["Press ",k.keyName," again to exit"]}):N(Z0,{children:[z&&q(l,{shortcut:"←",action:"go back"}),q(l,{shortcut:"Esc/Enter/Space",action:"close"}),Z.status==="running"&&Y&&q(l,{shortcut:"x",action:"stop"})]}),J[42]=z,J[43]=Y,J[44]=Z.status,J[45]=C;else C=J[45];P=y,I="column",K=1;let S;if(J[46]===Symbol.for("react.memo_cache_sentinel"))S=q(W,{bold:!0,children:"Status:"}),J[46]=S;else S=J[46];if(J[47]!==Z.status)B=N(W,{children:[S," ",Z.status==="running"?q(W,{color:"background",children:"running"}):Z.status==="completed"?q(W,{color:"success",children:Z.status}):q(W,{color:"error",children:Z.status})]}),J[47]=Z.status,J[48]=B;else B=J[48];p=m.length===0?q(W,{dimColor:!0,children:Z.status==="running"?"Starting…":"(no text output)"}):N(o,{children:[T>0&&N(W,{dimColor:!0,children:["(",T," earlier ",Q0(T,"turn"),")"]}),m.map(aQ)]}),J[8]=V,J[9]=O,J[10]=z,J[11]=X,J[12]=Y,J[13]=Z.filesTouched.length,J[14]=Z.sessionsReviewing,J[15]=Z.status,J[16]=Z.turns,J[17]=P,J[18]=U,J[19]=w,J[20]=f,J[21]=L,J[22]=C,J[23]=E,J[24]=A,J[25]=h,J[26]=D,J[27]=I,J[28]=K,J[29]=B,J[30]=p,J[31]=d,J[32]=j}else P=J[17],U=J[18],w=J[19],f=J[20],L=J[21],C=J[22],E=J[23],A=J[24],h=J[25],D=J[26],I=J[27],K=J[28],B=J[29],p=J[30],d=J[31],j=J[32];let x;if(J[49]!==P||J[50]!==I||J[51]!==K||J[52]!==B||J[53]!==p)x=N(P,{flexDirection:I,gap:K,children:[B,p]}),J[49]=P,J[50]=I,J[51]=K,J[52]=B,J[53]=p,J[54]=x;else x=J[54];let c;if(J[55]!==U||J[56]!==f||J[57]!==L||J[58]!==C||J[59]!==x||J[60]!==d||J[61]!==j)c=q(U,{title:d,subtitle:j,onCancel:f,color:L,inputGuide:C,children:x}),J[55]=U,J[56]=f,J[57]=L,J[58]=C,J[59]=x,J[60]=d,J[61]=j,J[62]=c;else c=J[62];let v;if(J[63]!==w||J[64]!==E||J[65]!==A||J[66]!==h||J[67]!==D||J[68]!==c)v=q(w,{flexDirection:E,tabIndex:A,autoFocus:h,onKeyDown:D,children:c}),J[63]=w,J[64]=E,J[65]=A,J[66]=h,J[67]=D,J[68]=c,J[69]=v;else v=J[69];return v}function aQ(Q,J){return N(y,{flexDirection:"column",children:[q(W,{wrap:"wrap",children:Q.text}),Q.toolUseCount>0&&N(W,{dimColor:!0,children:[" ","(",Q.toolUseCount," ",Q0(Q.toolUseCount,"tool"),")"]})]},J)}function sQ(Q){return Q.text!==""}var IZ,nQ=6;var hZ=a(()=>{i0();q0();S0();IJ();B0();I0();A0();$();IZ=J0(F0(),1)});function SZ(Q){let J=vZ.c(63),{teammate:Z,onDone:X,onKill:z,onBack:Y,onForeground:V}=Q,[G]=l0(),F;if(J[0]===Symbol.for("react.memo_cache_sentinel"))F=$0(r0()),J[0]=F;else F=J[0];let R=F,O=R0(Z.startTime,Z.status==="running",1000,Z.totalPausedMs??0),P;if(J[1]!==X)P={"confirm:yes":X},J[1]=X,J[2]=P;else P=J[2];let U;if(J[3]===Symbol.for("react.memo_cache_sentinel"))U={context:"Confirmation"},J[3]=U;else U=J[3];G0(P,U);let w;if(J[4]!==Y||J[5]!==X||J[6]!==V||J[7]!==z||J[8]!==Z.status)w=(M)=>{if(M.key===" ")M.preventDefault(),X();else if(M.key==="left"&&Y)M.preventDefault(),Y();else if(M.key==="x"&&Z.status==="running"&&z)M.preventDefault(),z();else if(M.key==="f"&&Z.status==="running"&&V)M.preventDefault(),V()},J[4]=Y,J[5]=X,J[6]=V,J[7]=z,J[8]=Z.status,J[9]=w;else w=J[9];let f=w,L;if(J[10]!==Z)L=s0(Z),J[10]=Z,J[11]=L;else L=J[11];let C=L,E=Z.result?.totalTokens??Z.progress?.tokenCount,A=Z.result?.totalToolUseCount??Z.progress?.toolUseCount,h;if(J[12]!==Z.prompt)h=K0(Z.prompt,300),J[12]=Z.prompt,J[13]=h;else h=J[13];let D=h,I;if(J[14]!==Z.identity.color)I=a0(Z.identity.color),J[14]=Z.identity.color,J[15]=I;else I=J[15];let K;if(J[16]!==I||J[17]!==Z.identity.agentName)K=N(W,{color:I,children:["@",Z.identity.agentName]}),J[16]=I,J[17]=Z.identity.agentName,J[18]=K;else K=J[18];let B;if(J[19]!==C)B=C&&N(W,{dimColor:!0,children:[" (",C,")"]}),J[19]=C,J[20]=B;else B=J[20];let p;if(J[21]!==K||J[22]!==B)p=N(W,{children:[K,B]}),J[21]=K,J[22]=B,J[23]=p;else p=J[23];let d=p,j;if(J[24]!==Z.status)j=Z.status!=="running"&&N(W,{color:Z.status==="completed"?"success":Z.status==="killed"?"warning":"error",children:[Z.status==="completed"?"Completed":Z.status==="failed"?"Failed":"Stopped"," · "]}),J[24]=Z.status,J[25]=j;else j=J[25];let x;if(J[26]!==E)x=E!==void 0&&E>0&&N(o,{children:[" · ",x0(E)," tokens"]}),J[26]=E,J[27]=x;else x=J[27];let c;if(J[28]!==A)c=A!==void 0&&A>0&&N(o,{children:[" ","· ",A," ",A===1?"tool":"tools"]}),J[28]=A,J[29]=c;else c=J[29];let v;if(J[30]!==O||J[31]!==x||J[32]!==c)v=N(W,{dimColor:!0,children:[O,x,c]}),J[30]=O,J[31]=x,J[32]=c,J[33]=v;else v=J[33];let b;if(J[34]!==j||J[35]!==v)b=N(W,{children:[j,v]}),J[34]=j,J[35]=v,J[36]=b;else b=J[36];let m=b,T;if(J[37]!==Y||J[38]!==V||J[39]!==z||J[40]!==Z.status)T=(M)=>M.pending?N(W,{children:["Press ",M.keyName," again to exit"]}):N(Z0,{children:[Y&&q(l,{shortcut:"←",action:"go back"}),q(l,{shortcut:"Esc/Enter/Space",action:"close"}),Z.status==="running"&&z&&q(l,{shortcut:"x",action:"stop"}),Z.status==="running"&&V&&q(l,{shortcut:"f",action:"foreground"})]}),J[37]=Y,J[38]=V,J[39]=z,J[40]=Z.status,J[41]=T;else T=J[41];let _;if(J[42]!==Z.progress||J[43]!==Z.status||J[44]!==G)_=Z.status==="running"&&Z.progress?.recentActivities&&Z.progress.recentActivities.length>0&&N(y,{flexDirection:"column",children:[q(W,{bold:!0,dimColor:!0,children:"Progress"}),Z.progress.recentActivities.map((M,r)=>N(W,{dimColor:r<Z.progress.recentActivities.length-1,wrap:"truncate-end",children:[r===Z.progress.recentActivities.length-1?"› ":" ",k0(M,R,G)]},r))]}),J[42]=Z.progress,J[43]=Z.status,J[44]=G,J[45]=_;else _=J[45];let g;if(J[46]===Symbol.for("react.memo_cache_sentinel"))g=q(W,{bold:!0,dimColor:!0,children:"Prompt"}),J[46]=g;else g=J[46];let u;if(J[47]!==D)u=N(y,{flexDirection:"column",marginTop:1,children:[g,q(W,{wrap:"wrap",children:D})]}),J[47]=D,J[48]=u;else u=J[48];let S;if(J[49]!==Z.error||J[50]!==Z.status)S=Z.status==="failed"&&Z.error&&N(y,{flexDirection:"column",marginTop:1,children:[q(W,{bold:!0,color:"error",children:"Error"}),q(W,{color:"error",wrap:"wrap",children:Z.error})]}),J[49]=Z.error,J[50]=Z.status,J[51]=S;else S=J[51];let k;if(J[52]!==X||J[53]!==m||J[54]!==T||J[55]!==_||J[56]!==u||J[57]!==S||J[58]!==d)k=N(n,{title:d,subtitle:m,onCancel:X,color:"background",inputGuide:T,children:[_,u,S]}),J[52]=X,J[53]=m,J[54]=T,J[55]=_,J[56]=u,J[57]=S,J[58]=d,J[59]=k;else k=J[59];let H;if(J[60]!==f||J[61]!==k)H=q(y,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:f,children:k}),J[60]=f,J[61]=k,J[62]=H;else H=J[62];return H}var vZ;var jZ=a(()=>{i0();q0();S0();LJ();RZ();v0();yZ();B0();I0();A0();wJ();MJ();$();vZ=J0(F0(),1)});function YX(Q,J){if(Q===d0)return"Review the plan in Claude Code on the web";if(!J||typeof J!=="object")return Q;if(Q===cZ&&"questions"in J){let Z=J.questions;if(Array.isArray(Z)&&Z[0]&&typeof Z[0]==="object"){let X="question"in Z[0]&&typeof Z[0].question==="string"&&Z[0].question?Z[0].question:("header"in Z[0])&&typeof Z[0].header==="string"?Z[0].header:null;if(X){let z=X.replace(/\s+/g," ").trim();return`Answer in browser: ${K0(z,50)}`}}}for(let Z of Object.values(J))if(typeof Z==="string"&&Z.trim()){let X=Z.replace(/\s+/g," ").trim();return`${Q} ${K0(X,60)}`}return Q}function GX(Q){let J=ZJ.c(70),{session:Z,onDone:X,onBack:z,onKill:Y}=Q,V=Z.status==="running"||Z.status==="pending",G=Z.ultraplanPhase,F=V?G?zX[G]:"running":Z.status,R=R0(Z.startTime,V,1000,0,Z.endTime),O=0,P=0,U=null;for(let X0 of Z.log){if(X0.type!=="assistant")continue;for(let e of X0.message.content){if(e.type!=="tool_use")continue;if(P++,U=e,e.name===uZ||e.name===dZ)O++}}let w=1+O,f;if(J[0]!==U)f=U?YX(U.name,U.input):null,J[0]=U,J[1]=f;else f=J[1];let L;if(J[2]!==P||J[3]!==w||J[4]!==f)L={agentsWorking:w,toolCalls:P,lastToolCall:f},J[2]=P,J[3]=w,J[4]=f,J[5]=L;else L=J[5];let{agentsWorking:C,toolCalls:E,lastToolCall:A}=L,h;if(J[6]!==Z.sessionId)h=_0(Z.sessionId),J[6]=Z.sessionId,J[7]=h;else h=J[7];let D=h,I;if(J[8]!==z||J[9]!==X)I=z??(()=>X("Remote session details dismissed",{display:"system"})),J[8]=z,J[9]=X,J[10]=I;else I=J[10];let K=I,[B,p]=O0.useState(!1);if(B){let X0;if(J[11]===Symbol.for("react.memo_cache_sentinel"))X0=()=>p(!1),J[11]=X0;else X0=J[11];let e;if(J[12]===Symbol.for("react.memo_cache_sentinel"))e=q(W,{dimColor:!0,children:"This will terminate the Claude Code on the web session."}),J[12]=e;else e=J[12];let y0;if(J[13]===Symbol.for("react.memo_cache_sentinel"))y0={label:"Terminate session",value:"stop"},J[13]=y0;else y0=J[13];let i;if(J[14]===Symbol.for("react.memo_cache_sentinel"))i=[y0,{label:"Back",value:"back"}],J[14]=i;else i=J[14];let f0;if(J[15]!==K||J[16]!==Y)f0=q(n,{title:"Stop ultraplan?",onCancel:X0,color:"background",children:N(y,{flexDirection:"column",gap:1,children:[e,q(g0,{options:i,onChange:(T0)=>{if(T0==="stop")Y?.(),K();else p(!1)}})]})}),J[15]=K,J[16]=Y,J[17]=f0;else f0=J[17];return f0}let d=G==="plan_ready"?w0:z0,j;if(J[18]!==d)j=N(W,{color:"background",children:[d," "]}),J[18]=d,J[19]=j;else j=J[19];let x;if(J[20]===Symbol.for("react.memo_cache_sentinel"))x=q(W,{bold:!0,children:"ultraplan"}),J[20]=x;else x=J[20];let c;if(J[21]!==R||J[22]!==F)c=N(W,{dimColor:!0,children:[" · ",R," · ",F]}),J[21]=R,J[22]=F,J[23]=c;else c=J[23];let v;if(J[24]!==j||J[25]!==c)v=N(W,{children:[j,x,c]}),J[24]=j,J[25]=c,J[26]=v;else v=J[26];let b;if(J[27]!==G)b=G==="plan_ready"&&N(W,{color:"success",children:[t0.tick," "]}),J[27]=G,J[28]=b;else b=J[28];let m;if(J[29]!==C)m=Q0(C,"agent"),J[29]=C,J[30]=m;else m=J[30];let T=G?qX[G]:"working",_;if(J[31]!==E)_=Q0(E,"call"),J[31]=E,J[32]=_;else _=J[32];let g;if(J[33]!==C||J[34]!==b||J[35]!==m||J[36]!==T||J[37]!==_||J[38]!==E)g=N(W,{children:[b,C," ",m," ",T," · ",E," tool"," ",_]}),J[33]=C,J[34]=b,J[35]=m,J[36]=T,J[37]=_,J[38]=E,J[39]=g;else g=J[39];let u;if(J[40]!==A)u=A&&q(W,{dimColor:!0,children:A}),J[40]=A,J[41]=u;else u=J[41];let S;if(J[42]!==D)S=q(W,{dimColor:!0,children:D}),J[42]=D,J[43]=S;else S=J[43];let k;if(J[44]!==D||J[45]!==S)k=q(JJ,{url:D,children:S}),J[44]=D,J[45]=S,J[46]=k;else k=J[46];let H;if(J[47]===Symbol.for("react.memo_cache_sentinel"))H={label:"Review in Claude Code on the web",value:"open"},J[47]=H;else H=J[47];let M;if(J[48]!==Y||J[49]!==V)M=Y&&V?[{label:"Stop ultraplan",value:"stop"}]:[],J[48]=Y,J[49]=V,J[50]=M;else M=J[50];let r;if(J[51]===Symbol.for("react.memo_cache_sentinel"))r={label:"Back",value:"back"},J[51]=r;else r=J[51];let s;if(J[52]!==M)s=[H,...M,r],J[52]=M,J[53]=s;else s=J[53];let Y0;if(J[54]!==K||J[55]!==X||J[56]!==D)Y0=(X0)=>{switch(X0){case"open":{DJ(D),X();return}case"stop":{p(!0);return}case"back":{K();return}}},J[54]=K,J[55]=X,J[56]=D,J[57]=Y0;else Y0=J[57];let W0;if(J[58]!==s||J[59]!==Y0)W0=q(g0,{options:s,onChange:Y0}),J[58]=s,J[59]=Y0,J[60]=W0;else W0=J[60];let H0;if(J[61]!==g||J[62]!==u||J[63]!==k||J[64]!==W0)H0=N(y,{flexDirection:"column",gap:1,children:[g,u,k,W0]}),J[61]=g,J[62]=u,J[63]=k,J[64]=W0,J[65]=H0;else H0=J[65];let C0;if(J[66]!==K||J[67]!==v||J[68]!==H0)C0=q(n,{title:v,onCancel:K,color:"background",children:H0}),J[66]=K,J[67]=v,J[68]=H0,J[69]=C0;else C0=J[69];return C0}function VX(Q){let J=ZJ.c(15),{stage:Z,completed:X,hasProgress:z}=Q,Y;if(J[0]!==Z)Y=Z?gZ.indexOf(Z):-1,J[0]=Z,J[1]=Y;else Y=J[1];let V=Y,G=!X&&!z,F;if(J[2]!==G)F=G?q(W,{color:"background",children:"Setup"}):q(W,{dimColor:!0,children:"Setup"}),J[2]=G,J[3]=F;else F=J[3];let R;if(J[4]===Symbol.for("react.memo_cache_sentinel"))R=q(W,{dimColor:!0,children:" → "}),J[4]=R;else R=J[4];let O;if(J[5]!==X||J[6]!==V||J[7]!==G)O=gZ.map((w,f)=>{let L=!X&&!G&&f===V;return N(O0.default.Fragment,{children:[f>0&&q(W,{dimColor:!0,children:" → "}),L?q(W,{color:"background",children:_Z[w]}):q(W,{dimColor:!0,children:_Z[w]})]},w)}),J[5]=X,J[6]=V,J[7]=G,J[8]=O;else O=J[8];let P;if(J[9]!==X)P=X&&q(W,{color:"success",children:" ✓"}),J[9]=X,J[10]=P;else P=J[10];let U;if(J[11]!==F||J[12]!==O||J[13]!==P)U=N(W,{children:[F,R,O,P]}),J[11]=F,J[12]=O,J[13]=P,J[14]=U;else U=J[14];return U}function WX(Q){let J=Q.reviewProgress;if(!J)return Q.status==="completed"?"done":"setting up";let Z=J.bugsVerified,X=J.bugsRefuted??0;if(Q.status==="completed"){let z=[`${Z} ${Q0(Z,"finding")}`];if(X>0)z.push(`${X} refuted`);return z.join(" · ")}return bJ(J.stage,J.bugsFound,Z,X)}function HX(Q){let J=ZJ.c(56),{session:Z,onDone:X,onBack:z,onKill:Y}=Q,V=Z.status==="completed",G=Z.status==="running"||Z.status==="pending",[F,R]=O0.useState(!1),O=R0(Z.startTime,G,1000,0,Z.endTime),P;if(J[0]!==X)P=()=>X("Remote session details dismissed",{display:"system"}),J[0]=X,J[1]=P;else P=J[1];let U=P,w=z??U,f;if(J[2]!==Z.sessionId)f=_0(Z.sessionId),J[2]=Z.sessionId,J[3]=f;else f=J[3];let L=f,C=V?"ready":G?"running":Z.status;if(F){let k;if(J[4]===Symbol.for("react.memo_cache_sentinel"))k=()=>R(!1),J[4]=k;else k=J[4];let H;if(J[5]===Symbol.for("react.memo_cache_sentinel"))H=q(W,{dimColor:!0,children:"This archives the remote session and stops local tracking. The review will not complete and any findings so far are discarded."}),J[5]=H;else H=J[5];let M;if(J[6]===Symbol.for("react.memo_cache_sentinel"))M={label:"Stop ultrareview",value:"stop"},J[6]=M;else M=J[6];let r;if(J[7]===Symbol.for("react.memo_cache_sentinel"))r=[M,{label:"Back",value:"back"}],J[7]=r;else r=J[7];let s;if(J[8]!==w||J[9]!==Y)s=q(n,{title:"Stop ultrareview?",onCancel:k,color:"background",children:N(y,{flexDirection:"column",gap:1,children:[H,q(g0,{options:r,onChange:(Y0)=>{if(Y0==="stop")Y?.(),w();else R(!1)}})]})}),J[8]=w,J[9]=Y,J[10]=s;else s=J[10];return s}let E;if(J[11]!==V||J[12]!==Y||J[13]!==G)E=V?[{label:"Open in Claude Code on the web",value:"open"},{label:"Dismiss",value:"dismiss"}]:[{label:"Open in Claude Code on the web",value:"open"},...Y&&G?[{label:"Stop ultrareview",value:"stop"}]:[],{label:"Back",value:"back"}],J[11]=V,J[12]=Y,J[13]=G,J[14]=E;else E=J[14];let A=E,h;if(J[15]!==w||J[16]!==U||J[17]!==X||J[18]!==L)h=(k)=>{J:switch(k){case"open":{DJ(L),X();break J}case"stop":{R(!0);break J}case"back":{w();break J}case"dismiss":U()}},J[15]=w,J[16]=U,J[17]=X,J[18]=L,J[19]=h;else h=J[19];let D=h,I=V?w0:z0,K;if(J[20]!==I)K=N(W,{color:"background",children:[I," "]}),J[20]=I,J[21]=K;else K=J[21];let B;if(J[22]===Symbol.for("react.memo_cache_sentinel"))B=q(W,{bold:!0,children:"ultrareview"}),J[22]=B;else B=J[22];let p;if(J[23]!==O||J[24]!==C)p=N(W,{dimColor:!0,children:[" · ",O," · ",C]}),J[23]=O,J[24]=C,J[25]=p;else p=J[25];let d;if(J[26]!==K||J[27]!==p)d=N(W,{children:[K,B,p]}),J[26]=K,J[27]=p,J[28]=d;else d=J[28];let j=Z.reviewProgress?.stage,x=!!Z.reviewProgress,c;if(J[29]!==V||J[30]!==j||J[31]!==x)c=q(VX,{stage:j,completed:V,hasProgress:x}),J[29]=V,J[30]=j,J[31]=x,J[32]=c;else c=J[32];let v;if(J[33]!==Z)v=WX(Z),J[33]=Z,J[34]=v;else v=J[34];let b;if(J[35]!==v)b=q(W,{children:v}),J[35]=v,J[36]=b;else b=J[36];let m;if(J[37]!==L)m=q(W,{dimColor:!0,children:L}),J[37]=L,J[38]=m;else m=J[38];let T;if(J[39]!==L||J[40]!==m)T=q(JJ,{url:L,children:m}),J[39]=L,J[40]=m,J[41]=T;else T=J[41];let _;if(J[42]!==b||J[43]!==T)_=N(y,{flexDirection:"column",children:[b,T]}),J[42]=b,J[43]=T,J[44]=_;else _=J[44];let g;if(J[45]!==D||J[46]!==A)g=q(g0,{options:A,onChange:D}),J[45]=D,J[46]=A,J[47]=g;else g=J[47];let u;if(J[48]!==c||J[49]!==_||J[50]!==g)u=N(y,{flexDirection:"column",gap:1,children:[c,_,g]}),J[48]=c,J[49]=_,J[50]=g,J[51]=u;else u=J[51];let S;if(J[52]!==w||J[53]!==u||J[54]!==d)S=q(n,{title:d,onCancel:w,color:"background",inputGuide:NX,children:u}),J[52]=w,J[53]=u,J[54]=d,J[55]=S;else S=J[55];return S}function NX(Q){return Q.pending?N(W,{children:["Press ",Q.keyName," again to exit"]}):N(Z0,{children:[q(l,{shortcut:"Enter",action:"select"}),q(l,{shortcut:"Esc",action:"go back"})]})}function xZ({session:Q,toolUseContext:J,onDone:Z,onBack:X,onKill:z}){let[Y,V]=O0.useState(!1),[G,F]=O0.useState(null),R=O0.useMemo(()=>{if(Q.isUltraplan||Q.isRemoteReview)return[];return lZ(kZ(Q.log)).filter((L)=>L.type!=="progress").slice(-3)},[Q]);if(Q.isUltraplan)return q(GX,{session:Q,onDone:Z,onBack:X,onKill:z});if(Q.isRemoteReview)return q(HX,{session:Q,onDone:Z,onBack:X,onKill:z});let O=()=>Z("Remote session details dismissed",{display:"system"}),P=(L)=>{if(L.key===" ")L.preventDefault(),Z("Remote session details dismissed",{display:"system"});else if(L.key==="left"&&X)L.preventDefault(),X();else if(L.key==="t"&&!Y)L.preventDefault(),U();else if(L.key==="return")L.preventDefault(),O()};async function U(){V(!0),F(null);try{await mZ(Q.sessionId)}catch(L){F(h0(L))}finally{V(!1)}}let w=K0(Q.title,50),f=Q.status==="pending"?"starting":Q.status;return q(y,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:P,children:N(n,{title:"Remote session details",onCancel:O,color:"background",inputGuide:(L)=>L.pending?N(W,{children:["Press ",L.keyName," again to exit"]}):N(Z0,{children:[X&&q(l,{shortcut:"←",action:"go back"}),q(l,{shortcut:"Esc/Enter/Space",action:"close"}),!Y&&q(l,{shortcut:"t",action:"teleport"})]}),children:[N(y,{flexDirection:"column",children:[N(W,{children:[q(W,{bold:!0,children:"Status"}),":"," ",f==="running"||f==="starting"?q(W,{color:"background",children:f}):f==="completed"?q(W,{color:"success",children:f}):q(W,{color:"error",children:f})]}),N(W,{children:[q(W,{bold:!0,children:"Runtime"}),":"," ",e0((Q.endTime??Date.now())-Q.startTime)]}),N(W,{wrap:"truncate-end",children:[q(W,{bold:!0,children:"Title"}),": ",w]}),N(W,{children:[q(W,{bold:!0,children:"Progress"}),":"," ",q(j0,{session:Q})]}),N(W,{children:[q(W,{bold:!0,children:"Session URL"}),":"," ",q(JJ,{url:_0(Q.sessionId),children:q(W,{dimColor:!0,children:_0(Q.sessionId)})})]})]}),Q.log.length>0&&N(y,{flexDirection:"column",marginTop:1,children:[N(W,{children:[q(W,{bold:!0,children:"Recent messages"}),":"]}),q(y,{flexDirection:"column",height:10,overflowY:"hidden",children:R.map((L,C)=>q(pZ,{message:L,lookups:iZ,addMargin:C>0,tools:J.options.tools,commands:J.options.commands,verbose:J.options.verbose,inProgressToolUseIDs:new Set,progressMessagesForMessage:[],shouldAnimate:!1,shouldShowDot:!1,style:"condensed",isTranscriptMode:!1,isStatic:!0},C))}),q(y,{marginTop:1,children:N(W,{dimColor:!0,italic:!0,children:["Showing last ",R.length," of ",Q.log.length," ","messages"]})})]}),G&&q(y,{marginTop:1,children:N(W,{color:"error",children:["Teleport failed: ",G]})}),Y&&q(W,{color:"background",children:"Teleporting to session…"})]})})}var ZJ,O0,zX,qX,gZ,_Z;var rZ=a(()=>{TZ();p0();i0();q0();UJ();eQ();tQ();mJ();JX();aJ();v0();XX();fZ();IJ();NJ();QX();B0();I0();A0();ZX();AJ();$();ZJ=J0(F0(),1),O0=J0(o0(),1);zX={needs_input:"input required",plan_ready:"ready"},qX={needs_input:"waiting",plan_ready:"done"};gZ=["finding","verifying","synthesizing"],_Z={finding:"Find",verifying:"Verify",synthesizing:"Dedupe"}});async function sZ(Q){let J=aZ(Q.id);try{let Z=await $Z(J,PX);return{content:Z.content,bytesTotal:Z.bytesTotal}}catch{return{content:"",bytesTotal:0}}}function eZ(Q){let J=hJ.c(57),{shell:Z,onDone:X,onKillShell:z,onBack:Y}=Q,{columns:V}=QJ(),G;if(J[0]!==Z)G=()=>sZ(Z),J[0]=Z,J[1]=G;else G=J[1];let[F,R]=V0.useState(G),O=V0.useDeferredValue(F),P;if(J[2]!==Z)P=()=>{if(Z.status!=="running")return;let r=setInterval(OX,1000,R,Z);return()=>clearInterval(r)},J[2]=Z,J[3]=P;else P=J[3];let U;if(J[4]!==Z.id||J[5]!==Z.status)U=[Z.id,Z.status],J[4]=Z.id,J[5]=Z.status,J[6]=U;else U=J[6];V0.useEffect(P,U);let w;if(J[7]!==X)w=()=>X("Shell details dismissed",{display:"system"}),J[7]=X,J[8]=w;else w=J[8];let f=w,L;if(J[9]!==f)L={"confirm:yes":f},J[9]=f,J[10]=L;else L=J[10];let C;if(J[11]===Symbol.for("react.memo_cache_sentinel"))C={context:"Confirmation"},J[11]=C;else C=J[11];G0(L,C);let E;if(J[12]!==Y||J[13]!==X||J[14]!==z||J[15]!==Z.status)E=(r)=>{if(r.key===" ")r.preventDefault(),X("Shell details dismissed",{display:"system"});else if(r.key==="left"&&Y)r.preventDefault(),Y();else if(r.key==="x"&&Z.status==="running"&&z)r.preventDefault(),z()},J[12]=Y,J[13]=X,J[14]=z,J[15]=Z.status,J[16]=E;else E=J[16];let A=E,h=Z.kind==="monitor",D;if(J[17]!==Z.command)D=K0(Z.command,280),J[17]=Z.command,J[18]=D;else D=J[18];let I=D,K=h?"Monitor details":"Shell details",B;if(J[19]!==Y||J[20]!==z||J[21]!==Z.status)B=(r)=>r.pending?N(W,{children:["Press ",r.keyName," again to exit"]}):N(Z0,{children:[Y&&q(l,{shortcut:"←",action:"go back"}),q(l,{shortcut:"Esc/Enter/Space",action:"close"}),Z.status==="running"&&z&&q(l,{shortcut:"x",action:"stop"})]}),J[19]=Y,J[20]=z,J[21]=Z.status,J[22]=B;else B=J[22];let p;if(J[23]===Symbol.for("react.memo_cache_sentinel"))p=q(W,{bold:!0,children:"Status:"}),J[23]=p;else p=J[23];let d;if(J[24]!==Z.result||J[25]!==Z.status)d=N(W,{children:[p," ",Z.status==="running"?N(W,{color:"background",children:[Z.status,Z.result?.code!==void 0&&` (exit code: ${Z.result.code})`]}):Z.status==="completed"?N(W,{color:"success",children:[Z.status,Z.result?.code!==void 0&&` (exit code: ${Z.result.code})`]}):N(W,{color:"error",children:[Z.status,Z.result?.code!==void 0&&` (exit code: ${Z.result.code})`]})]}),J[24]=Z.result,J[25]=Z.status,J[26]=d;else d=J[26];let j;if(J[27]===Symbol.for("react.memo_cache_sentinel"))j=q(W,{bold:!0,children:"Runtime:"}),J[27]=j;else j=J[27];let x;if(J[28]!==Z.endTime)x=Z.endTime??Date.now(),J[28]=Z.endTime,J[29]=x;else x=J[29];let c=x-Z.startTime,v;if(J[30]!==c)v=e0(c),J[30]=c,J[31]=v;else v=J[31];let b;if(J[32]!==v)b=N(W,{children:[j," ",v]}),J[32]=v,J[33]=b;else b=J[33];let m=h?"Script:":"Command:",T;if(J[34]!==m)T=q(W,{bold:!0,children:m}),J[34]=m,J[35]=T;else T=J[35];let _;if(J[36]!==I||J[37]!==T)_=N(W,{wrap:"wrap",children:[T," ",I]}),J[36]=I,J[37]=T,J[38]=_;else _=J[38];let g;if(J[39]!==d||J[40]!==b||J[41]!==_)g=N(y,{flexDirection:"column",children:[d,b,_]}),J[39]=d,J[40]=b,J[41]=_,J[42]=g;else g=J[42];let u;if(J[43]===Symbol.for("react.memo_cache_sentinel"))u=q(W,{bold:!0,children:"Output:"}),J[43]=u;else u=J[43];let S;if(J[44]===Symbol.for("react.memo_cache_sentinel"))S=q(W,{dimColor:!0,children:"Loading output…"}),J[44]=S;else S=J[44];let k;if(J[45]!==V||J[46]!==O)k=N(y,{flexDirection:"column",children:[u,q(V0.Suspense,{fallback:S,children:q(UX,{outputPromise:O,columns:V})})]}),J[45]=V,J[46]=O,J[47]=k;else k=J[47];let H;if(J[48]!==f||J[49]!==B||J[50]!==g||J[51]!==k||J[52]!==K)H=N(n,{title:K,onCancel:f,color:"background",inputGuide:B,children:[g,k]}),J[48]=f,J[49]=B,J[50]=g,J[51]=k,J[52]=K,J[53]=H;else H=J[53];let M;if(J[54]!==A||J[55]!==H)M=q(y,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:A,children:H}),J[54]=A,J[55]=H,J[56]=M;else M=J[56];return M}function OX(Q,J){return Q(sZ(J))}function UX(Q){let J=hJ.c(19),{outputPromise:Z,columns:X}=Q,{content:z,bytesTotal:Y}=V0.use(Z);if(!z){let L;if(J[0]===Symbol.for("react.memo_cache_sentinel"))L=q(W,{dimColor:!0,children:"No output available"}),J[0]=L;else L=J[0];return L}let V,G;if(J[1]!==Y||J[2]!==z){let L=[],C=z.length;for(let E=0;E<10&&C>0;E++){let A=z.lastIndexOf(`
17
- `,C-1);L.push(A+1),C=A}L.reverse(),V=Y>z.length,G=[];for(let E=0;E<L.length;E++){let A=L[E],h=E<L.length-1?L[E+1]-1:z.length,D=z.slice(A,h);if(D)G.push(D)}J[1]=Y,J[2]=z,J[3]=V,J[4]=G}else V=J[3],G=J[4];let F=X-6,R;if(J[5]!==G)R=G.map(fX),J[5]=G,J[6]=R;else R=J[6];let O;if(J[7]!==F||J[8]!==R)O=q(y,{borderStyle:"round",paddingX:1,flexDirection:"column",height:12,maxWidth:F,children:R}),J[7]=F,J[8]=R,J[9]=O;else O=J[9];let P=`Showing ${G.length} lines`,U;if(J[10]!==Y||J[11]!==V)U=V?` of ${oZ(Y)}`:"",J[10]=Y,J[11]=V,J[12]=U;else U=J[12];let w;if(J[13]!==P||J[14]!==U)w=N(W,{dimColor:!0,italic:!0,children:[P,U]}),J[13]=P,J[14]=U,J[15]=w;else w=J[15];let f;if(J[16]!==O||J[17]!==w)f=N(o,{children:[O,w]}),J[16]=O,J[17]=w,J[18]=f;else f=J[18];return f}function fX(Q,J){return q(W,{wrap:"truncate-end",children:Q},J)}var hJ,V0,PX=8192;var tZ=a(()=>{nZ();q0();S0();v0();FX();RX();B0();I0();A0();$();hJ=J0(F0(),1),V0=J0(o0(),1)});var JQ={};$J(JQ,{default:()=>wX});var LX=()=>null,wX;var ZQ=a(()=>{wX=LX});function gX(Q,J){return Object.values(Q??{}).filter(qJ).filter((X)=>!(X.type==="local_agent"&&X.id===J))}function jq({onDone:Q,toolUseContext:J,initialDetailTaskId:Z}){let X=zJ((H)=>H.tasks),z=zJ((H)=>H.foregroundedTaskId),Y=zJ((H)=>H.expandedView)==="teammates",V=FQ(),G=VQ("chat:killAgents","Chat","ctrl+x ctrl+k"),F=X,R=U0.useRef(!1),[O,P]=U0.useState(()=>{if(Z)return R.current=!0,{mode:"detail",itemId:Z};let H=gX(F,z);if(H.length===1)return R.current=!0,{mode:"detail",itemId:H[0].id};return{mode:"list"}}),[U,w]=U0.useState(0);OQ("background-tasks-dialog");let{bashTasks:f,remoteSessions:L,agentTasks:C,teammateTasks:E,workflowTasks:A,mcpMonitors:h,dreamTasks:D,allSelectableItems:I}=U0.useMemo(()=>{let r=Object.values(F??{}).filter(qJ).map(_X).sort((i,f0)=>{let T0=i.status,gJ=f0.status;if(T0==="running"&&gJ!=="running")return-1;if(T0!=="running"&&gJ==="running")return 1;let UQ="task"in i?i.task.startTime:0;return("task"in f0?f0.task.startTime:0)-UQ}),s=r.filter((i)=>i.type==="local_bash"),Y0=r.filter((i)=>i.type==="remote_agent"),W0=r.filter((i)=>i.type==="local_agent"&&i.id!==z),H0=r.filter((i)=>i.type==="local_workflow"),C0=r.filter((i)=>i.type==="monitor_mcp"),X0=r.filter((i)=>i.type==="dream"),e=Y?[]:r.filter((i)=>i.type==="in_process_teammate"),y0=e.length>0?[{id:"__leader__",type:"leader",label:`@${vJ}`,status:"running"}]:[];return{bashTasks:s,remoteSessions:Y0,agentTasks:W0,workflowTasks:H0,mcpMonitors:C0,dreamTasks:X0,teammateTasks:[...y0,...e],allSelectableItems:[...y0,...e,...s,...C0,...Y0,...W0,...H0,...X0]}},[F,z,Y]),K=I[U]??null;G0({"confirm:previous":()=>w((H)=>Math.max(0,H-1)),"confirm:next":()=>w((H)=>Math.min(I.length-1,H+1)),"confirm:yes":()=>{let H=I[U];if(H)if(H.type==="leader")WJ(V),Q("Viewing leader",{display:"system"});else P({mode:"detail",itemId:H.id})}},{context:"Confirmation",isActive:O.mode==="list"});let B=(H)=>{if(O.mode!=="list")return;if(H.key==="left"){H.preventDefault(),Q("Background tasks dialog dismissed",{display:"system"});return}let M=I[U];if(!M)return;if(H.key==="x"){if(H.preventDefault(),M.type==="local_bash"&&M.status==="running")p(M.id);else if(M.type==="local_agent"&&M.status==="running")d(M.id);else if(M.type==="in_process_teammate"&&M.status==="running")j(M.id);else if(M.type==="local_workflow"&&M.status==="running"&&XJ)XJ(M.id,V);else if(M.type==="monitor_mcp"&&M.status==="running"&&YJ)YJ(M.id,V);else if(M.type==="dream"&&M.status==="running")x(M.id);else if(M.type==="remote_agent"&&M.status==="running")if(M.task.isUltraplan)fJ(M.id,M.task.sessionId,V);else c(M.id)}if(H.key==="f"){if(M.type==="in_process_teammate"&&M.status==="running")H.preventDefault(),VJ(M.id,V),Q("Viewing teammate",{display:"system"});else if(M.type==="leader")H.preventDefault(),WJ(V),Q("Viewing leader",{display:"system"})}};async function p(H){await WQ.kill(H,V)}async function d(H){await PQ.kill(H,V)}async function j(H){await HQ.kill(H,V)}async function x(H){await RQ.kill(H,V)}async function c(H){await m0.kill(H,V)}let v=NQ(Q);U0.useEffect(()=>{if(O.mode!=="list"){let M=(F??{})[O.itemId];if(!M||M.type!=="local_workflow"&&!qJ(M))if(R.current)v("Background tasks dialog dismissed",{display:"system"});else P({mode:"list"})}let H=I.length;if(U>=H&&H>0)w(H-1)},[O,F,U,I,v]);let b=()=>{if(R.current&&I.length<=1)Q("Background tasks dialog dismissed",{display:"system"});else R.current=!1,P({mode:"list"})};if(O.mode!=="list"&&F){let H=F[O.itemId];if(!H)return null;switch(H.type){case"local_bash":return q(eZ,{shell:H,onDone:Q,onKillShell:()=>void p(H.id),onBack:b},`shell-${H.id}`);case"local_agent":return q(OZ,{agent:H,onDone:Q,onKillAgent:()=>void d(H.id),onBack:b},`agent-${H.id}`);case"remote_agent":return q(xZ,{session:H,onDone:Q,toolUseContext:J,onBack:b,onKill:H.status!=="running"?void 0:H.isUltraplan?()=>void fJ(H.id,H.sessionId,V):()=>void c(H.id)},`session-${H.id}`);case"in_process_teammate":return q(SZ,{teammate:H,onDone:Q,onKill:H.status==="running"?()=>void j(H.id):void 0,onBack:b,onForeground:H.status==="running"?()=>{VJ(H.id,V),Q("Viewing teammate",{display:"system"})}:void 0},`teammate-${H.id}`);case"local_workflow":if(!QQ)return null;return q(QQ,{workflow:H,onDone:Q,onKill:H.status==="running"&&XJ?()=>XJ(H.id,V):void 0,onSkipAgent:H.status==="running"&&XQ?(M)=>XQ(H.id,M,V):void 0,onRetryAgent:H.status==="running"&&YQ?(M)=>YQ(H.id,M,V):void 0,onBack:b},`workflow-${H.id}`);case"monitor_mcp":if(!zQ)return null;return q(zQ,{task:H,onKill:H.status==="running"&&YJ?()=>YJ(H.id,V):void 0,onBack:b},`monitor-mcp-${H.id}`);case"dream":return q(DZ,{task:H,onDone:()=>Q("Background tasks dialog dismissed",{display:"system"}),onBack:b,onKill:H.status==="running"?()=>void x(H.id):void 0},`dream-${H.id}`)}}let m=M0(f,(H)=>H.status==="running"),T=M0(L,(H)=>H.status==="running"||H.status==="pending")+M0(C,(H)=>H.status==="running"),_=M0(E,(H)=>H.status==="running"),g=qQ([..._>0?[N(W,{children:[_," ",_!==1?"agents":"agent"]},"teammates")]:[],...m>0?[N(W,{children:[m," ",m!==1?"active shells":"active shell"]},"shells")]:[],...T>0?[N(W,{children:[T," ",T!==1?"active agents":"active agent"]},"agents")]:[]],(H)=>q(W,{children:" · "},`separator-${H}`)),u=[q(l,{shortcut:"↑/↓",action:"select"},"upDown"),q(l,{shortcut:"Enter",action:"view"},"enter"),...K?.type==="in_process_teammate"&&K.status==="running"?[q(l,{shortcut:"f",action:"foreground"},"foreground")]:[],...(K?.type==="local_bash"||K?.type==="local_agent"||K?.type==="in_process_teammate"||K?.type==="local_workflow"||K?.type==="monitor_mcp"||K?.type==="dream"||K?.type==="remote_agent")&&K.status==="running"?[q(l,{shortcut:"x",action:"stop"},"kill")]:[],...C.some((H)=>H.status==="running")?[q(l,{shortcut:G,action:"stop all agents"},"kill-all")]:[],q(l,{shortcut:"←/Esc",action:"close"},"esc")],S=()=>Q("Background tasks dialog dismissed",{display:"system"});function k(H){if(H.pending)return N(W,{children:["Press ",H.keyName," again to exit"]});return q(Z0,{children:u})}return q(y,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:B,children:q(n,{title:"Background tasks",subtitle:q(o,{children:g}),onCancel:S,color:"background",inputGuide:k,children:I.length===0?q(W,{dimColor:!0,children:"No tasks currently running"}):N(y,{flexDirection:"column",children:[E.length>0&&N(y,{flexDirection:"column",children:[(f.length>0||L.length>0||C.length>0)&&N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Agents"]})," (",M0(E,(H)=>H.type!=="leader"),")"]}),q(y,{flexDirection:"column",children:q(TX,{teammateTasks:E,currentSelectionId:K?.id})})]}),f.length>0&&N(y,{flexDirection:"column",marginTop:E.length>0?1:0,children:[(E.length>0||L.length>0||C.length>0)&&N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Shells"]})," (",f.length,")"]}),q(y,{flexDirection:"column",children:f.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})]}),h.length>0&&N(y,{flexDirection:"column",marginTop:E.length>0||f.length>0?1:0,children:[N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Monitors"]})," (",h.length,")"]}),q(y,{flexDirection:"column",children:h.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})]}),L.length>0&&N(y,{flexDirection:"column",marginTop:E.length>0||f.length>0||h.length>0?1:0,children:[N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Remote agents"]})," (",L.length,")"]}),q(y,{flexDirection:"column",children:L.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})]}),C.length>0&&N(y,{flexDirection:"column",marginTop:E.length>0||f.length>0||h.length>0||L.length>0?1:0,children:[N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Local agents"]})," (",C.length,")"]}),q(y,{flexDirection:"column",children:C.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})]}),A.length>0&&N(y,{flexDirection:"column",marginTop:E.length>0||f.length>0||h.length>0||L.length>0||C.length>0?1:0,children:[N(W,{dimColor:!0,children:[N(W,{bold:!0,children:[" ","Workflows"]})," (",A.length,")"]}),q(y,{flexDirection:"column",children:A.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})]}),D.length>0&&q(y,{flexDirection:"column",marginTop:E.length>0||f.length>0||h.length>0||L.length>0||C.length>0||A.length>0?1:0,children:q(y,{flexDirection:"column",children:D.map((H)=>q(E0,{item:H,isSelected:H.id===K?.id},H.id))})})]})})})}function _X(Q){switch(Q.type){case"local_bash":return{id:Q.id,type:"local_bash",label:Q.kind==="monitor"?Q.description:Q.command,status:Q.status,task:Q};case"remote_agent":return{id:Q.id,type:"remote_agent",label:Q.title,status:Q.status,task:Q};case"local_agent":return{id:Q.id,type:"local_agent",label:Q.description,status:Q.status,task:Q};case"in_process_teammate":return{id:Q.id,type:"in_process_teammate",label:`@${Q.identity.agentName}`,status:Q.status,task:Q};case"local_workflow":return{id:Q.id,type:"local_workflow",label:Q.summary??Q.description,status:Q.status,task:Q};case"monitor_mcp":return{id:Q.id,type:"monitor_mcp",label:Q.description,status:Q.status,task:Q};case"dream":return{id:Q.id,type:"dream",label:Q.description,status:Q.status,task:Q};default:throw Error(`toListItem: unhandled task type ${String(Q.type)}`)}}function E0(Q){let J=SJ.c(14),{item:Z,isSelected:X}=Q,{columns:z}=QJ(),Y=Math.max(30,z-26),V;if(J[0]===Symbol.for("react.memo_cache_sentinel"))V=GQ(),J[0]=V;else V=J[0];let G=V,F=G&&X,R=X?t0.pointer+" ":" ",O;if(J[1]!==F||J[2]!==R)O=q(W,{dimColor:F,children:R}),J[1]=F,J[2]=R,J[3]=O;else O=J[3];let P=X&&!G?"suggestion":void 0,U;if(J[4]!==Z.task||J[5]!==Z.type||J[6]!==Y)U=Z.type==="leader"?N(W,{children:["@",vJ]}):q(AZ,{task:Z.task,maxActivityWidth:Y}),J[4]=Z.task,J[5]=Z.type,J[6]=Y,J[7]=U;else U=J[7];let w;if(J[8]!==P||J[9]!==U)w=q(W,{color:P,children:U}),J[8]=P,J[9]=U,J[10]=w;else w=J[10];let f;if(J[11]!==O||J[12]!==w)f=N(y,{flexDirection:"row",children:[O,w]}),J[11]=O,J[12]=w,J[13]=f;else f=J[13];return f}function TX(Q){let J=SJ.c(3),{teammateTasks:Z,currentSelectionId:X}=Q,z;if(J[0]!==X||J[1]!==Z){let Y=Z.filter(dX),V=Z.filter(uX),G=new Map;for(let R of V){let O=R.task.identity.teamName,P=G.get(O);if(P)P.push(R);else G.set(O,[R])}let F=[...G.entries()];z=q(o,{children:F.map((R)=>{let[O,P]=R,U=P.length+Y.length;return N(y,{flexDirection:"column",children:[N(W,{dimColor:!0,children:[" ","Team: ",O," (",U,")"]}),Y.map((w)=>q(E0,{item:w,isSelected:w.id===X},`${w.id}-${O}`)),P.map((w)=>q(E0,{item:w,isSelected:w.id===X},w.id))]},O)})}),J[0]=X,J[1]=Z,J[2]=z}else z=J[2];return z}function uX(Q){return Q.type==="in_process_teammate"}function dX(Q){return Q.type==="leader"}var SJ,U0,QQ=null,jJ=null,XJ,XQ,YQ,jX,YJ,zQ;var cX=a(()=>{TZ();MX();bX();nZ();AX();uJ();hX();yX();vX();CX();UJ();BX();yJ();KX();GZ();SX();q0();S0();EX();yJ();B0();I0();A0();UZ();BZ();hZ();jZ();rZ();tZ();$();SJ=J0(F0(),1),U0=J0(o0(),1),XJ=jJ?.killWorkflowTask??null,XQ=jJ?.skipWorkflowAgent??null,YQ=jJ?.retryWorkflowAgent??null,jX=(DX(),RJ(IX)),YJ=jX?.killMonitorMcp??null,zQ=(ZQ(),RJ(JQ)).MonitorMcpDetailDialog});
18
- export{VJ as Je,WJ as Ke,xX as Le,uJ as Me,fJ as Ne,mQ as Oe,GZ as Pe,jq as Qe,cX as Re};
@@ -1,2 +0,0 @@
1
- import{_e as F,bf as A}from"./cli-1.1.19-35evt5gy.mjs";import{qf as D,tf as H,vf as _}from"./cli-1.1.19-vr8jf7k6.mjs";import{Ksa as P,ssa as U}from"./cli-1.1.19-awkva6qc.mjs";P();_();A();var R="environments-2025-11-01",O=/^[a-zA-Z0-9_-]+$/;function j(J,K){if(!J||!O.test(J))throw Error(`Invalid ${K}: contains unsafe characters`);return J}class L extends Error{status;errorType;constructor(J,K,Z){super(J);this.name="BridgeFatalError",this.status=K,this.errorType=Z}}function y(J){function K(q){J.onDebug?.(q)}let Z=0,V=100;function X(q){let z={Authorization:`Bearer ${q}`,"Content-Type":"application/json","anthropic-version":"2023-06-01","anthropic-beta":R,"x-environment-runner-version":J.runnerVersion},W=J.getTrustedDeviceToken?.();if(W)z["X-Trusted-Device-Token"]=W;return z}function C(){let q=J.getAccessToken();if(!q)throw Error(F);return q}async function M(q,z){let W=C(),Q=await q(W);if(Q.status!==401)return Q;if(!J.onAuth401)return K(`[bridge:api] ${z}: 401 received, no refresh handler`),Q;if(K(`[bridge:api] ${z}: 401 received, attempting token refresh`),await J.onAuth401(W)){K(`[bridge:api] ${z}: Token refreshed, retrying request`);let $=C(),N=await q($);if(N.status!==401)return N;K(`[bridge:api] ${z}: Retry after refresh also got 401`)}else K(`[bridge:api] ${z}: Token refresh failed`);return Q}return{async registerBridgeEnvironment(q){K(`[bridge:api] POST /v1/environments/bridge bridgeId=${q.bridgeId}`);let z=await M((W)=>U.post(`${J.baseUrl}/v1/environments/bridge`,{machine_name:q.machineName,directory:q.dir,branch:q.branch,git_repo_url:q.gitRepoUrl,max_sessions:q.maxSessions,metadata:{worker_type:q.workerType},...q.reuseEnvironmentId&&{environment_id:q.reuseEnvironmentId}},{headers:X(W),timeout:15000,validateStatus:(Q)=>Q<500}),"Registration");return G(z.status,z.data,"Registration"),K(`[bridge:api] POST /v1/environments/bridge -> ${z.status} environment_id=${z.data.environment_id}`),K(`[bridge:api] >>> ${D({machine_name:q.machineName,directory:q.dir,branch:q.branch,git_repo_url:q.gitRepoUrl,max_sessions:q.maxSessions,metadata:{worker_type:q.workerType}})}`),K(`[bridge:api] <<< ${D(z.data)}`),z.data},async pollForWork(q,z,W,Q){j(q,"environmentId");let Y=Z;Z=0;let $=await U.get(`${J.baseUrl}/v1/environments/${q}/work/poll`,{headers:X(z),params:Q!==void 0?{reclaim_older_than_ms:Q}:void 0,timeout:1e4,signal:W,validateStatus:(N)=>N<500});if(G($.status,$.data,"Poll"),!$.data){if(Z=Y+1,Z===1||Z%V===0)K(`[bridge:api] GET .../work/poll -> ${$.status} (no work, ${Z} consecutive empty polls)`);return null}return K(`[bridge:api] GET .../work/poll -> ${$.status} workId=${$.data.id} type=${$.data.data?.type}${$.data.data?.id?` sessionId=${$.data.data.id}`:""}`),K(`[bridge:api] <<< ${D($.data)}`),$.data},async acknowledgeWork(q,z,W){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/ack`);let Q=await U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/ack`,{},{headers:X(W),timeout:1e4,validateStatus:(Y)=>Y<500});G(Q.status,Q.data,"Acknowledge"),K(`[bridge:api] POST .../work/${z}/ack -> ${Q.status}`)},async stopWork(q,z,W){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/stop force=${W}`);let Q=await M((Y)=>U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/stop`,{force:W},{headers:X(Y),timeout:1e4,validateStatus:($)=>$<500}),"StopWork");G(Q.status,Q.data,"StopWork"),K(`[bridge:api] POST .../work/${z}/stop -> ${Q.status}`)},async deregisterEnvironment(q){j(q,"environmentId"),K(`[bridge:api] DELETE /v1/environments/bridge/${q}`);let z=await M((W)=>U.delete(`${J.baseUrl}/v1/environments/bridge/${q}`,{headers:X(W),timeout:1e4,validateStatus:(Q)=>Q<500}),"Deregister");G(z.status,z.data,"Deregister"),K(`[bridge:api] DELETE /v1/environments/bridge/${q} -> ${z.status}`)},async archiveSession(q){j(q,"sessionId"),K(`[bridge:api] POST /v1/sessions/${q}/archive`);let z=await M((W)=>U.post(`${J.baseUrl}/v1/sessions/${q}/archive`,{},{headers:X(W),timeout:1e4,validateStatus:(Q)=>Q<500}),"ArchiveSession");if(z.status===409){K(`[bridge:api] POST /v1/sessions/${q}/archive -> 409 (already archived)`);return}G(z.status,z.data,"ArchiveSession"),K(`[bridge:api] POST /v1/sessions/${q}/archive -> ${z.status}`)},async reconnectSession(q,z){j(q,"environmentId"),j(z,"sessionId"),K(`[bridge:api] POST /v1/environments/${q}/bridge/reconnect session_id=${z}`);let W=await M((Q)=>U.post(`${J.baseUrl}/v1/environments/${q}/bridge/reconnect`,{session_id:z},{headers:X(Q),timeout:1e4,validateStatus:(Y)=>Y<500}),"ReconnectSession");G(W.status,W.data,"ReconnectSession"),K(`[bridge:api] POST .../bridge/reconnect -> ${W.status}`)},async heartbeatWork(q,z,W){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/heartbeat`);let Q=await U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/heartbeat`,{},{headers:X(W),timeout:1e4,validateStatus:(Y)=>Y<500});return G(Q.status,Q.data,"Heartbeat"),K(`[bridge:api] POST .../work/${z}/heartbeat -> ${Q.status} lease_extended=${Q.data.lease_extended} state=${Q.data.state}`),Q.data},async sendPermissionResponseEvent(q,z,W){j(q,"sessionId"),K(`[bridge:api] POST /v1/sessions/${q}/events type=${z.type}`);let Q=await U.post(`${J.baseUrl}/v1/sessions/${q}/events`,{events:[z]},{headers:X(W),timeout:1e4,validateStatus:(Y)=>Y<500});G(Q.status,Q.data,"SendPermissionResponseEvent"),K(`[bridge:api] POST /v1/sessions/${q}/events -> ${Q.status}`),K(`[bridge:api] >>> ${D({events:[z]})}`),K(`[bridge:api] <<< ${D(Q.data)}`)}}}function G(J,K,Z){if(J===200||J===204)return;let V=H(K),X=B(K);switch(J){case 401:throw new L(`${Z}: Authentication failed (401)${V?`: ${V}`:""}. ${F}`,401,X);case 403:throw new L(S(X)?"Remote Control session has expired. Please restart with `claudin remote-control` or /remote-control.":`${Z}: Access denied (403)${V?`: ${V}`:""}. Check your organization permissions.`,403,X);case 404:throw new L(V??`${Z}: Not found (404). Remote Control may not be available for this organization.`,404,X);case 410:throw new L(V??"Remote Control session has expired. Please restart with `claudin remote-control` or /remote-control.",410,X??"environment_expired");case 429:throw Error(`${Z}: Rate limited (429). Polling too frequently.`);default:throw Error(`${Z}: Failed with status ${J}${V?`: ${V}`:""}`)}}function S(J){if(!J)return!1;return J.includes("expired")||J.includes("lifetime")}function E(J){if(J.status!==403)return!1;return J.message.includes("external_poll_sessions")||J.message.includes("environments:manage")}function B(J){if(J&&typeof J==="object"){if("error"in J&&J.error&&typeof J.error==="object"&&"type"in J.error&&typeof J.error.type==="string")return J.error.type}return}function T(J){let K=new AbortController;function Z(){K.abort(),K=new AbortController}function V(){let X=new AbortController,C=()=>X.abort();if(J.aborted||K.signal.aborted)return X.abort(),{signal:X.signal,cleanup:()=>{}};J.addEventListener("abort",C,{once:!0});let M=K.signal;return M.addEventListener("abort",C,{once:!0}),{signal:X.signal,cleanup:()=>{J.removeEventListener("abort",C),M.removeEventListener("abort",C)}}}return{signal:V,wake:Z}}
2
- export{j as sb,L as tb,y as ub,S as vb,E as wb,T as xb};
@@ -1,2 +0,0 @@
1
- import{kta as o}from"./cli-1.1.19-cc266ybe.mjs";var t=3,n=1,i=32,_="generativelanguage.googleapis.com",s,c="api.kimi.com",p,r,a,E;var e=o(()=>{s=new Set(["api.moonshot.ai","api.moonshot.cn"]),p=new Set(["api.z.ai","open.bigmodel.cn","bigmodel.cn","api.zhipuai.cn","opencode.ai"]),r=new Set(["api.deepseek.com"]),a={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},E=["api_key","key","token","access_token","refresh_token","signature","sig","secret","password","authorization"]});
2
- export{t as u9,n as v9,i as w9,_ as x9,s as y9,c as z9,p as A9,r as B9,a as C9,E as D9,e as E9};
@@ -1,9 +0,0 @@
1
- import{bta as V_,cta as su,eta as K_,fta as f_}from"./cli-1.1.19-e5k83shq.mjs";import{ita as H,lta as $_}from"./cli-1.1.19-cc266ybe.mjs";var W_=H((k_)=>{var z_=$_("node:stream"),v=V_(),K=f_(),q=K_(),m=(_)=>_?.body instanceof z_.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,G_=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],J_=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],X_=["TimeoutError","RequestTimeout","RequestTimeoutException"],C_=[500,502,503,504],d_=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Z_=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],A=(_)=>_?.$retryable!==void 0,p=(_)=>G_.includes(_.name),y=(_)=>_.$metadata?.clockSkewCorrected,s=(_)=>{let u=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return u.has(_.message)},J=(_)=>_.$metadata?.httpStatusCode===429||J_.includes(_.name)||_.$retryable?.throttling==!0,X=(_,u=0)=>A(_)||y(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||X_.includes(_.name)||d_.includes(_?.code||"")||Z_.includes(_?.code||"")||C_.includes(_.$metadata?.httpStatusCode||0)||s(_)||o(_)||_.cause!==void 0&&u<=10&&X(_.cause,u+1),a=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let u=_.$metadata.httpStatusCode;if(500<=u&&u<=599&&!X(_))return!0;return!1}return!1};function o(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var e=100,Q=20000,t=500,Z=500,r=5,__=10,g=1,c="amz-sdk-invocation-id",w="amz-sdk-request";function u_(_,u){if(!K.HttpResponse.isInstance(_))return;for(let E of Object.keys(_.headers)){let O=E.toLowerCase();if(O==="retry-after"){let T=_.headers[E],b=NaN;if(T.endsWith("GMT"))try{b=(q.parseRfc7231DateTime(T).getTime()-Date.now())/1000}catch(L){u?.trace?.("Failed to parse retry-after header"),u?.trace?.(L)}else if(T.match(/ GMT, ((\d+)|(\d+\.\d+))$/))b=Number(T.match(/ GMT, ([\d.]+)$/)?.[1]);else if(T.match(/^((\d+)|(\d+\.\d+))$/))b=Number(T);else if(Date.parse(T)>=Date.now())b=(Date.parse(T)-Date.now())/1000;if(isNaN(b))return;return new Date(Date.now()+b*1000)}else if(O==="x-amz-retry-after"){let T=_.headers[E],b=Number(T);if(isNaN(b)){u?.trace?.(`Failed to parse x-amz-retry-after=${T}`);return}return new Date(Date.now()+b)}}}function H_(_,u){return u_(_,u)}var E_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function O_(_){return(u)=>(E,O)=>async(T)=>{let b=await u.retryStrategy(),L=await u.maxAttempts();if(Q_(b)){b=b;let N=await b.acquireInitialRetryToken((O.partition_id??"")+(O.__retryLongPoll?":longpoll":"")),j=Error(),Y=0,F=0,{request:I}=T,R=K.HttpRequest.isInstance(I);if(R)I.headers[c]=q.v4();while(!0)try{if(R)I.headers[w]=`attempt=${Y+1}; max=${L}`;let{response:V,output:z}=await E(T);return b.recordSuccess(N),z.$metadata.attempts=Y+1,z.$metadata.totalRetryDelay=F,{response:V,output:z}}catch(V){let z=c_(V,u.logger);if(j=E_(V),R&&_(I))throw(O.logger instanceof v.NoOpLogger?console:O.logger)?.warn("An error was encountered in a non-retryable streaming request."),j;try{N=await b.refreshRetryTokenForRetry(N,z)}catch(x){if(typeof x.$backoff==="number")await l(x.$backoff);if(!j.$metadata)j.$metadata={};throw j.$metadata.attempts=Y+1,j.$metadata.totalRetryDelay=F,j}Y=N.getRetryCount();let k=N.getRetryDelay();F+=k,await l(k)}}else{if(b=b,b?.mode)O.userAgent=[...O.userAgent||[],["cfg/retry-mode",b.mode]];return b.retry(E,T)}}}var l=(_)=>new Promise((u)=>setTimeout(u,_)),Q_=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",c_=(_,u)=>{let E={error:_,errorType:w_(_)},O=u_(_.$response,u);if(O)E.retryAfterHint=O;return E},w_=(_)=>{if(J(_))return"THROTTLING";if(X(_))return"TRANSIENT";if(a(_))return"SERVER_ERROR";return"CLIENT_ERROR"},b_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function B_(_){let u=O_(_);return(E)=>({applyToStack:(O)=>{O.add(u(E),b_)}})}class C{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let u;this.updateMeasuredRate();let E=_;if(E?.errorType==="THROTTLING"||J(E?.error??_)){let b=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=b,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),u=this.cubicThrottle(b),this.enableTokenBucket()}else this.calculateTimeWindow(),u=this.cubicSuccess(this.getCurrentTimeInSeconds());let T=Math.min(u,2*this.measuredTxRate);this.updateTokenBucketRate(T)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let u=(_-this.availableTokens)/this.fillRate*1000;await new Promise((E)=>C.setTimeoutFn(E,u)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let u=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+u),this.lastTimestamp=_}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(_){return this.getPrecise(_*this.beta)}cubicSuccess(_){return this.getPrecise(this.scaleConstant*Math.pow(_-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(_){this.refillTokenBucket(),this.fillRate=Math.max(_,this.minFillRate),this.maxCapacity=Math.max(_,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),u=Math.floor(_*2)/2;if(this.requestCount++,u>this.lastTxRateBucket){let E=this.requestCount/(u-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(E*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=u}}getPrecise(_){return parseFloat(_.toFixed(8))}}class M{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return M.v2026?50:100}static throttlingDelay(){return M.v2026?1000:500}static cost(){return M.v2026?14:5}static throttlingCost(){return M.v2026?5:10}static modifiedCostType(){return M.v2026?"THROTTLING":"TRANSIENT"}}class T_{x=M.delay();computeNextBackoffDelay(_){let u=Math.random(),E=2,O=u*Math.min(this.x*2**_,Q);return Math.floor(O)}setDelayBase(_){this.x=_}}class h{delay;count;cost;longPoll;constructor(_,u,E,O){this.delay=_,this.count=u,this.cost=E,this.longPoll=O}getRetryCount(){return this.count}getRetryDelay(){return Math.min(Q,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}k_.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(k_.RETRY_MODES||(k_.RETRY_MODES={}));var $=3,Y_=k_.RETRY_MODES.STANDARD,d={incompatible:1,attempts:2,capacity:3},G=class{mode=k_.RETRY_MODES.STANDARD;capacity=Z;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(u){if(typeof u==="number")this.maxAttemptsProvider=async()=>u;else if(typeof u==="function")this.maxAttemptsProvider=u;else if(u&&typeof u==="object")this.maxAttemptsProvider=async()=>u.maxAttempts,this.baseDelay=u.baseDelay,this.retryBackoffStrategy=u.backoff;this.maxAttemptsProvider??=async()=>$,this.baseDelay??=M.delay(),this.retryBackoffStrategy??=new T_}async acquireInitialRetryToken(u){return new h(M.delay(),0,void 0,M.v2026&&u.includes(":longpoll"))}async refreshRetryTokenForRetry(u,E){let O=await this.getMaxAttempts(),T=this.retryCode(u,E,O),b=T===0,L=u.isLongPoll?.();if(b||L){let N=E.errorType;this.retryBackoffStrategy.setDelayBase(N==="THROTTLING"?M.throttlingDelay():this.baseDelay);let j=this.retryBackoffStrategy.computeNextBackoffDelay(u.getRetryCount()),Y=j;if(E.retryAfterHint instanceof Date)Y=Math.max(j,Math.min(E.retryAfterHint.getTime()-Date.now(),j+5000));if(!b)throw Object.assign(Error("No retry token available"),{$backoff:M.v2026&&T===d.capacity&&L?Y:0});else{let F=this.getCapacityCost(N);return this.capacity-=F,new h(Y,u.getRetryCount()+1,F,u.isLongPoll?.()??!1)}}throw Error("No retry token available")}recordSuccess(u){this.capacity=Math.min(Z,this.capacity+(u.getRetryCost()??g))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(u){return console.warn(`Max attempts provider could not resolve. Using default of ${$}`),$}}retryCode(u,E,O){let T=u.getRetryCount()+1,b=this.isRetryableError(E.errorType)?0:d.incompatible,L=T<O?0:d.attempts,N=this.capacity>=this.getCapacityCost(E.errorType)?0:d.capacity;return b||L||N}getCapacityCost(u){return u===M.modifiedCostType()?M.throttlingCost():M.cost()}isRetryableError(u){return u==="THROTTLING"||u==="TRANSIENT"}},j_=class{mode=k_.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(u,E){let{rateLimiter:O}=E??{};this.rateLimiter=O??new C,this.standardRetryStrategy=E?new G({maxAttempts:typeof u==="number"?u:3,...E}):new G(u)}async acquireInitialRetryToken(u){let E=await this.standardRetryStrategy.acquireInitialRetryToken(u);return await this.rateLimiter.getSendToken(),E}async refreshRetryTokenForRetry(u,E){this.rateLimiter.updateClientSendingRate(E);let O=await this.standardRetryStrategy.refreshRetryTokenForRetry(u,E);return await this.rateLimiter.getSendToken(),O}recordSuccess(u){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(u)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class P_ extends G{computeNextBackoffDelay;constructor(_,u=M.delay()){super(typeof _==="function"?_:async()=>_);if(typeof u==="number")this.computeNextBackoffDelay=()=>u;else this.computeNextBackoffDelay=u}async refreshRetryTokenForRetry(_,u){let E=await super.refreshRetryTokenForRetry(_,u);return E.getRetryDelay=()=>this.computeNextBackoffDelay(E.getRetryCount()),E}}var v_=(_,u)=>{let E=_,O=g,T=r,b=__,L=_,N=(I)=>I.name==="TimeoutError"?b:T,j=(I)=>N(I)<=L;return Object.freeze({hasRetryTokens:j,retrieveRetryTokens:(I)=>{if(!j(I))throw Error("No retry token available");let R=N(I);return L-=R,R},releaseRetryTokens:(I)=>{L+=I??O,L=Math.min(L,E)}})},L_=(_,u)=>Math.floor(Math.min(Q,Math.random()*2**u*_)),N_=(_)=>{if(!_)return!1;return A(_)||p(_)||J(_)||X(_)};class n{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=k_.RETRY_MODES.STANDARD;constructor(_,u){this.maxAttemptsProvider=_,this.retryDecider=u?.retryDecider??N_,this.delayDecider=u?.delayDecider??L_,this.retryQuota=u?.retryQuota??v_(Z)}shouldRetry(_,u,E){return u<E&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(u){_=$}return _}async retry(_,u,E){let O,T=0,b=0,L=await this.getMaxAttempts(),{request:N}=u;if(K.HttpRequest.isInstance(N))N.headers[c]=q.v4();while(!0)try{if(K.HttpRequest.isInstance(N))N.headers[w]=`attempt=${T+1}; max=${L}`;if(E?.beforeRequest)await E.beforeRequest();let{response:j,output:Y}=await _(u);if(E?.afterRequest)E.afterRequest(j);return this.retryQuota.releaseRetryTokens(O),Y.$metadata.attempts=T+1,Y.$metadata.totalRetryDelay=b,{response:j,output:Y}}catch(j){let Y=E_(j);if(T++,this.shouldRetry(Y,T,L)){O=this.retryQuota.retrieveRetryTokens(Y);let F=this.delayDecider(J(Y)?t:e,T),I=h_(Y.$response),R=Math.max(I||0,F);b+=R,await new Promise((V)=>setTimeout(V,R));continue}if(!Y.$metadata)Y.$metadata={};throw Y.$metadata.attempts=T,Y.$metadata.totalRetryDelay=b,Y}}}var h_=(_)=>{if(!K.HttpResponse.isInstance(_))return;let u=Object.keys(_.headers).find((b)=>b.toLowerCase()==="retry-after");if(!u)return;let E=_.headers[u],O=Number(E);if(!Number.isNaN(O))return O*1000;return new Date(E).getTime()-Date.now()};class M_ extends n{rateLimiter;constructor(_,u){let{rateLimiter:E,...O}=u??{};super(_,O);this.rateLimiter=E??new C,this.mode=k_.RETRY_MODES.ADAPTIVE}async retry(_,u){return super.retry(_,u,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(E)=>{this.rateLimiter.updateClientSendingRate(E)}})}}var S="AWS_MAX_ATTEMPTS",i="max_attempts",S_={environmentVariableSelector:(_)=>{let u=_[S];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Environment variable ${S} mast be a number, got "${u}"`);return E},configFileSelector:(_)=>{let u=_[i];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Shared config file entry ${i} mast be a number, got "${u}"`);return E},default:$},i_=(_)=>{let{retryStrategy:u,retryMode:E}=_,O=v.normalizeProvider(_.maxAttempts??$),T=u?Promise.resolve(u):void 0,b=async()=>await v.normalizeProvider(E)()===k_.RETRY_MODES.ADAPTIVE?new j_(O):new G(O);return Object.assign(_,{maxAttempts:O,retryStrategy:()=>T??=b()})},U_="AWS_RETRY_MODE",I_="retry_mode",q_={environmentVariableSelector:(_)=>_[U_],configFileSelector:(_)=>_[I_],default:Y_},F_=()=>(_)=>async(u)=>{let{request:E}=u;if(K.HttpRequest.isInstance(E))delete E.headers[c],delete E.headers[w];return _(u)},R_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},A_=(_)=>({applyToStack:(u)=>{u.addRelativeTo(F_(),R_)}}),g_=O_(m),n_=B_(m);k_.AdaptiveRetryStrategy=j_;k_.CONFIG_MAX_ATTEMPTS=i;k_.CONFIG_RETRY_MODE=I_;k_.ConfiguredRetryStrategy=P_;k_.DEFAULT_MAX_ATTEMPTS=$;k_.DEFAULT_RETRY_DELAY_BASE=e;k_.DEFAULT_RETRY_MODE=Y_;k_.DefaultRateLimiter=C;k_.DeprecatedAdaptiveRetryStrategy=M_;k_.DeprecatedStandardRetryStrategy=n;k_.ENV_MAX_ATTEMPTS=S;k_.ENV_RETRY_MODE=U_;k_.INITIAL_RETRY_TOKENS=Z;k_.INVOCATION_ID_HEADER=c;k_.MAXIMUM_RETRY_DELAY=Q;k_.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=S_;k_.NODE_RETRY_MODE_CONFIG_OPTIONS=q_;k_.NO_RETRY_INCREMENT=g;k_.REQUEST_HEADER=w;k_.RETRY_COST=r;k_.Retry=M;k_.StandardRetryStrategy=G;k_.THROTTLING_RETRY_DELAY_BASE=t;k_.TIMEOUT_RETRY_COST=__;k_.defaultDelayDecider=L_;k_.defaultRetryDecider=N_;k_.getOmitRetryHeadersPlugin=A_;k_.getRetryAfterHint=H_;k_.getRetryPlugin=n_;k_.isBrowserNetworkError=s;k_.isClockSkewCorrectedError=y;k_.isClockSkewError=p;k_.isNodeJsHttp2TransientError=o;k_.isRetryableByTrait=A;k_.isServerError=a;k_.isThrottlingError=J;k_.isTransientError=X;k_.omitRetryHeadersMiddleware=F_;k_.omitRetryHeadersMiddlewareOptions=R_;k_.resolveRetryConfig=i_;k_.retryMiddleware=g_;k_.retryMiddlewareOptions=b_});var D_=H((P)=>{Object.defineProperty(P,"__esModule",{value:!0});P.TIMEOUT_RETRY_COST=P.THROTTLING_RETRY_DELAY_BASE=P.Retry=P.RETRY_MODES=P.RETRY_COST=P.NO_RETRY_INCREMENT=P.REQUEST_HEADER=P.MAXIMUM_RETRY_DELAY=P.INVOCATION_ID_HEADER=P.INITIAL_RETRY_TOKENS=P.DEFAULT_RETRY_MODE=P.DEFAULT_RETRY_DELAY_BASE=P.DEFAULT_MAX_ATTEMPTS=P.StandardRetryStrategy=P.DefaultRateLimiter=P.ConfiguredRetryStrategy=P.AdaptiveRetryStrategy=void 0;var U=W_();Object.defineProperty(P,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return U.AdaptiveRetryStrategy}});Object.defineProperty(P,"ConfiguredRetryStrategy",{enumerable:!0,get:function(){return U.ConfiguredRetryStrategy}});Object.defineProperty(P,"DefaultRateLimiter",{enumerable:!0,get:function(){return U.DefaultRateLimiter}});Object.defineProperty(P,"StandardRetryStrategy",{enumerable:!0,get:function(){return U.StandardRetryStrategy}});Object.defineProperty(P,"DEFAULT_MAX_ATTEMPTS",{enumerable:!0,get:function(){return U.DEFAULT_MAX_ATTEMPTS}});Object.defineProperty(P,"DEFAULT_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_DELAY_BASE}});Object.defineProperty(P,"DEFAULT_RETRY_MODE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_MODE}});Object.defineProperty(P,"INITIAL_RETRY_TOKENS",{enumerable:!0,get:function(){return U.INITIAL_RETRY_TOKENS}});Object.defineProperty(P,"INVOCATION_ID_HEADER",{enumerable:!0,get:function(){return U.INVOCATION_ID_HEADER}});Object.defineProperty(P,"MAXIMUM_RETRY_DELAY",{enumerable:!0,get:function(){return U.MAXIMUM_RETRY_DELAY}});Object.defineProperty(P,"REQUEST_HEADER",{enumerable:!0,get:function(){return U.REQUEST_HEADER}});Object.defineProperty(P,"NO_RETRY_INCREMENT",{enumerable:!0,get:function(){return U.NO_RETRY_INCREMENT}});Object.defineProperty(P,"RETRY_COST",{enumerable:!0,get:function(){return U.RETRY_COST}});Object.defineProperty(P,"RETRY_MODES",{enumerable:!0,get:function(){return U.RETRY_MODES}});Object.defineProperty(P,"Retry",{enumerable:!0,get:function(){return U.Retry}});Object.defineProperty(P,"THROTTLING_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.THROTTLING_RETRY_DELAY_BASE}});Object.defineProperty(P,"TIMEOUT_RETRY_COST",{enumerable:!0,get:function(){return U.TIMEOUT_RETRY_COST}})});var yu=H((gu)=>{var wu=D_(),B={warningEmitted:!1},Bu=(_)=>{if(_&&!B.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){B.warningEmitted=!0;return}let u=parseInt(_.substring(1,_.indexOf("."))),E=22;if(u<E)B.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
2
- versions published after the first week of January 2027
3
- will require node >=${E}. You are running node ${_}.
4
-
5
- To continue receiving updates to AWS services, bug fixes,
6
- and security updates please upgrade to node >=${E}.
7
-
8
- More information can be found at: https://a.co/c895JFp`)}},vu=()=>(_,u)=>async(E)=>{return u.__retryLongPoll=!0,_(E)},hu={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},Su=(_)=>({applyToStack:(u)=>{u.add(vu(),hu)}});function iu(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}wu.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function qu(_,u,E){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[u]=E}function Au(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}gu.emitWarningIfUnsupportedVersion=Bu;gu.getLongPollPlugin=Su;gu.setCredentialFeature=iu;gu.setFeature=qu;gu.setTokenFeature=Au;gu.state=B});var ou=H((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.memoize=D.fromStatic=D.chain=D.TokenProviderError=D.CredentialsProviderError=D.ProviderError=void 0;var f=su();Object.defineProperty(D,"ProviderError",{enumerable:!0,get:function(){return f.ProviderError}});Object.defineProperty(D,"CredentialsProviderError",{enumerable:!0,get:function(){return f.CredentialsProviderError}});Object.defineProperty(D,"TokenProviderError",{enumerable:!0,get:function(){return f.TokenProviderError}});Object.defineProperty(D,"chain",{enumerable:!0,get:function(){return f.chain}});Object.defineProperty(D,"fromStatic",{enumerable:!0,get:function(){return f.fromValue}});Object.defineProperty(D,"memoize",{enumerable:!0,get:function(){return f.memoize}})});
9
- export{W_ as Wsa,D_ as Xsa,yu as Ysa,ou as Zsa};
@@ -1,2 +0,0 @@
1
- import{O_ as z,Q_ as H,Wga as C,cha as J}from"./cli-1.1.19-dt84yfk2.mjs";H();J();var K=/https:\/\/[^\s]+\/pull\/\d+/;function M(q){try{let k=JSON.parse(q);if(!Array.isArray(k))return[];return k.filter((v)=>typeof v==="object"&&v!==null&&typeof v.number==="number")}catch(k){return C(`failed to parse gh issue list output: ${k instanceof Error?k.message:String(k)}`),[]}}function O(q){let k=q.trim(),v=k.lastIndexOf("/");return v===-1?k||"main":k.slice(v+1)||"main"}function Q(q){let k=q.match(K);if(k)return k[0];let v=q.trim();return/^https?:\/\/\S+$/.test(v)?v:null}async function W(q){let{stdout:k,code:v,error:A}=await z("gh",["issue","list","--label",q,"--state","open","--json","number,title,body,updatedAt"]);if(v!==0){if(A)C(`gh issue list failed: ${A}`);return[]}return M(k)}async function X(){let{stdout:q,code:k}=await z("git",["rev-parse","--abbrev-ref","origin/HEAD"]);if(k!==0)return"main";return O(q)}async function Y(){let{stdout:q,code:k}=await z("git",["status","--porcelain"]);if(k!==0)return!1;return q.trim().length>0}async function Z(q){let k=await z("git",["add","-A"]);if(k.code!==0)return C(`git add failed: ${k.error??k.stderr}`),!1;let v=await z("git",["commit","-m",q]);if(v.code!==0)return C(`git commit failed: ${v.error??v.stderr}`),!1;return!0}async function $(q){let{code:k,stderr:v,error:A}=await z("git",["push","-u","origin",q]);if(k!==0)return C(`git push failed: ${A??v}`),!1;return!0}async function B(q){let{stdout:k,code:v,stderr:A,error:G}=await z("gh",["pr","create","--base",q.base,"--head",q.head,"--title",q.title,"--body-file",q.bodyFile]);if(v!==0)return C(`gh pr create failed: ${G??A}`),null;return Q(k)}async function D(q,k){let{code:v,stderr:A,error:G}=await z("gh",["issue","comment",String(q),"--body",k]);if(v!==0)return C(`gh issue comment failed: ${G??A}`),!1;return!0}
2
- export{W as a,X as b,Y as c,Z as d,$ as e,B as f,D as g};