@claudiolabs/claudin 0.6.2 → 0.6.4

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 (853) hide show
  1. package/dist/chunks/AgentTool-0.6.4-rbaf1y65.mjs +1 -0
  2. package/dist/chunks/App-0.6.4-rq289jnp.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.6.4-7d5f28j9.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.6.4-phb69d3e.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.6.4-9bf4j0dx.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.6.4-62rbe590.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.4-5xv95y7k.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.6.4-7ng7n8ac.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.6.4-ydwpx8jz.mjs +3 -0
  10. package/dist/chunks/Doctor-0.6.4-r3nh0zs5.mjs +1 -0
  11. package/dist/chunks/Grove-0.6.4-8mwvr7ha.mjs +1 -0
  12. package/dist/chunks/ITermBackend-0.6.4-w345qte9.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-0.6.4-e1xk1r00.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-0.6.4-7pz7en7r.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-0.6.4-xgqr16p1.mjs +1 -0
  16. package/dist/chunks/Onboarding-0.6.4-2735sbgf.mjs +1 -0
  17. package/dist/chunks/ProviderManager-0.6.4-q840wtmd.mjs +1 -0
  18. package/dist/chunks/REPL-0.6.4-k1gbkvvz.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-0.6.4-mpzvada2.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-0.6.4-jctmc6zk.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-0.6.4-gq0hnh6t.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-0.6.4-21sqsahr.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-0.6.4-fjbh45wb.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-0.6.4-5w2x0jdm.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-0.6.4-5qd1qqs9.mjs +1 -0
  26. package/dist/chunks/TrustDialog-0.6.4-rj702s6d.mjs +1 -0
  27. package/dist/chunks/activeProvider-0.6.4-wdg63cg4.mjs +1 -0
  28. package/dist/chunks/add-dir-0.6.4-kchsbt43.mjs +1 -0
  29. package/dist/chunks/agents-0.6.4-99qwf49d.mjs +110 -0
  30. package/dist/chunks/agents-0.6.4-rdvzbjcr.mjs +3 -0
  31. package/dist/chunks/api-0.6.4-9emwrek2.mjs +1 -0
  32. package/dist/chunks/asciicast-0.6.4-v9b43g5d.mjs +1 -0
  33. package/dist/chunks/assistant-0.6.4-f4m6fp3b.mjs +1 -0
  34. package/dist/chunks/auth-0.6.4-767mww9n.mjs +1 -0
  35. package/dist/chunks/auth-0.6.4-sgz2927j.mjs +1 -0
  36. package/dist/chunks/autoMode-0.6.4-n865xxhg.mjs +48 -0
  37. package/dist/chunks/autoUpdater-0.6.4-bvb6j5ck.mjs +1 -0
  38. package/dist/chunks/backgroundHousekeeping-0.6.4-fercqr2y.mjs +1 -0
  39. package/dist/chunks/branch-0.6.4-0hvhjqr5.mjs +4 -0
  40. package/dist/chunks/bridgePointer-0.6.4-dgames2b.mjs +1 -0
  41. package/dist/chunks/btw-0.6.4-fprrp4ch.mjs +1 -0
  42. package/dist/chunks/buddy-0.6.4-0d1rrwbv.mjs +3 -0
  43. package/dist/chunks/cacache-0.6.4-6yj2mrct.mjs +1 -0
  44. package/dist/chunks/cache-probe-0.6.4-x5tn2a2e.mjs +21 -0
  45. package/dist/chunks/cacheStats-0.6.4-ar55ww2f.mjs +4 -0
  46. package/dist/chunks/caches-0.6.4-54fb2qc2.mjs +1 -0
  47. package/dist/chunks/claudeDesktop-0.6.4-h06j868n.mjs +1 -0
  48. package/dist/chunks/claudemd-0.6.4-35r4255p.mjs +1 -0
  49. package/dist/chunks/clear-0.6.4-6chw4mjb.mjs +1 -0
  50. package/dist/chunks/clearTerminal-0.6.4-81zcpvka.mjs +1 -0
  51. package/dist/chunks/cli-0.6.4-00191v0e.mjs +10 -0
  52. package/dist/chunks/cli-0.6.4-02v7f4p3.mjs +2 -0
  53. package/dist/chunks/cli-0.6.4-0gnhakty.mjs +42 -0
  54. package/dist/chunks/cli-0.6.4-0m6t3msa.mjs +2 -0
  55. package/dist/chunks/cli-0.6.4-0ngrseg8.mjs +15 -0
  56. package/dist/chunks/cli-0.6.4-167h8t8x.mjs +2 -0
  57. package/dist/chunks/cli-0.6.4-1ery4vpn.mjs +50 -0
  58. package/dist/chunks/cli-0.6.4-1k1e5y32.mjs +2 -0
  59. package/dist/chunks/cli-0.6.4-1mgm8ymv.mjs +3 -0
  60. package/dist/chunks/cli-0.6.4-1nzpzrfm.mjs +2 -0
  61. package/dist/chunks/cli-0.6.4-1qryxm4s.mjs +21 -0
  62. package/dist/chunks/cli-0.6.4-1s60014f.mjs +2 -0
  63. package/dist/chunks/cli-0.6.4-28pnb4ka.mjs +18 -0
  64. package/dist/chunks/cli-0.6.4-29860mke.mjs +2 -0
  65. package/dist/chunks/cli-0.6.4-2d65trmc.mjs +2 -0
  66. package/dist/chunks/cli-0.6.4-2dm4scsb.mjs +2 -0
  67. package/dist/chunks/cli-0.6.4-2dwdm1v9.mjs +2 -0
  68. package/dist/chunks/cli-0.6.4-2fqxn556.mjs +2 -0
  69. package/dist/chunks/cli-0.6.4-2mytx51g.mjs +16 -0
  70. package/dist/chunks/cli-0.6.4-2q70rra3.mjs +2 -0
  71. package/dist/chunks/cli-0.6.4-2qaa0gp3.mjs +2 -0
  72. package/dist/chunks/cli-0.6.4-2sh53v7p.mjs +7 -0
  73. package/dist/chunks/cli-0.6.4-2y7ay1jf.mjs +2 -0
  74. package/dist/chunks/cli-0.6.4-3d8syj43.mjs +15 -0
  75. package/dist/chunks/cli-0.6.4-3rqg480e.mjs +2 -0
  76. package/dist/chunks/cli-0.6.4-43y102gt.mjs +2 -0
  77. package/dist/chunks/cli-0.6.4-48fcth51.mjs +2 -0
  78. package/dist/chunks/cli-0.6.4-4b3h6h1j.mjs +2 -0
  79. package/dist/chunks/cli-0.6.4-4dtvmfyr.mjs +24 -0
  80. package/dist/chunks/cli-0.6.4-4g9qybcx.mjs +5324 -0
  81. package/dist/chunks/cli-0.6.4-4jc68p21.mjs +2 -0
  82. package/dist/chunks/cli-0.6.4-4mfc5kte.mjs +2 -0
  83. package/dist/chunks/cli-0.6.4-4qg60938.mjs +5 -0
  84. package/dist/chunks/cli-0.6.4-4qyz0e3r.mjs +2 -0
  85. package/dist/chunks/cli-0.6.4-55a83gct.mjs +2 -0
  86. package/dist/chunks/cli-0.6.4-5eshcq2g.mjs +2 -0
  87. package/dist/chunks/cli-0.6.4-5j8b83wg.mjs +2 -0
  88. package/dist/chunks/cli-0.6.4-6czv84g6.mjs +2 -0
  89. package/dist/chunks/cli-0.6.4-771h1906.mjs +2 -0
  90. package/dist/chunks/cli-0.6.4-78evvtpq.mjs +2 -0
  91. package/dist/chunks/cli-0.6.4-7djzrbzn.mjs +4 -0
  92. package/dist/chunks/cli-0.6.4-7htjg50k.mjs +2 -0
  93. package/dist/chunks/cli-0.6.4-7jvtehkv.mjs +2 -0
  94. package/dist/chunks/cli-0.6.4-7keg9eew.mjs +45 -0
  95. package/dist/chunks/cli-0.6.4-7xp2yhpq.mjs +2 -0
  96. package/dist/chunks/cli-0.6.4-89pes3g1.mjs +2 -0
  97. package/dist/chunks/cli-0.6.4-8jwbt311.mjs +4 -0
  98. package/dist/chunks/cli-0.6.4-95vk17cy.mjs +2 -0
  99. package/dist/chunks/cli-0.6.4-96m5w0az.mjs +2 -0
  100. package/dist/chunks/cli-0.6.4-9ab34q29.mjs +2 -0
  101. package/dist/chunks/cli-0.6.4-9j2480tb.mjs +3 -0
  102. package/dist/chunks/cli-0.6.4-9k5r0pfb.mjs +1 -0
  103. package/dist/chunks/cli-0.6.4-9wdpd5tf.mjs +2 -0
  104. package/dist/chunks/cli-0.6.4-9ydhssth.mjs +2 -0
  105. package/dist/chunks/cli-0.6.4-9z6f4aka.mjs +2 -0
  106. package/dist/chunks/cli-0.6.4-a1der2pe.mjs +2 -0
  107. package/dist/chunks/cli-0.6.4-a4wjm2rf.mjs +58 -0
  108. package/dist/chunks/cli-0.6.4-a7tb1zsc.mjs +3 -0
  109. package/dist/chunks/cli-0.6.4-aprgpdp6.mjs +2 -0
  110. package/dist/chunks/cli-0.6.4-bbsbw8kz.mjs +2 -0
  111. package/dist/chunks/cli-0.6.4-bgwzkgj9.mjs +2 -0
  112. package/dist/chunks/cli-0.6.4-btcax77x.mjs +2 -0
  113. package/dist/chunks/cli-0.6.4-bvrcy0gs.mjs +2 -0
  114. package/dist/chunks/cli-0.6.4-cgktpczq.mjs +2 -0
  115. package/dist/chunks/cli-0.6.4-cp53mw1m.mjs +2 -0
  116. package/dist/chunks/cli-0.6.4-cttwajrp.mjs +2 -0
  117. package/dist/chunks/cli-0.6.4-cxhs267r.mjs +2 -0
  118. package/dist/chunks/cli-0.6.4-cy7jqdcj.mjs +2 -0
  119. package/dist/chunks/cli-0.6.4-da88vvgh.mjs +2 -0
  120. package/dist/chunks/cli-0.6.4-dhyghbjg.mjs +2 -0
  121. package/dist/chunks/cli-0.6.4-dny0rntq.mjs +2 -0
  122. package/dist/chunks/cli-0.6.4-dtrjgbbz.mjs +2 -0
  123. package/dist/chunks/cli-0.6.4-dvh5yb9z.mjs +2 -0
  124. package/dist/chunks/cli-0.6.4-dz01y28k.mjs +133 -0
  125. package/dist/chunks/cli-0.6.4-dzer59m8.mjs +2 -0
  126. package/dist/chunks/cli-0.6.4-e0pqs0qg.mjs +4 -0
  127. package/dist/chunks/cli-0.6.4-e4nxzjbd.mjs +3 -0
  128. package/dist/chunks/cli-0.6.4-ehexec8h.mjs +2 -0
  129. package/dist/chunks/cli-0.6.4-ejrq8g7w.mjs +2 -0
  130. package/dist/chunks/cli-0.6.4-ekg42ba5.mjs +2 -0
  131. package/dist/chunks/cli-0.6.4-em2mfvpg.mjs +193 -0
  132. package/dist/chunks/cli-0.6.4-ex2d76ze.mjs +4 -0
  133. package/dist/chunks/cli-0.6.4-eykta4ak.mjs +2 -0
  134. package/dist/chunks/cli-0.6.4-f1ya630v.mjs +39 -0
  135. package/dist/chunks/cli-0.6.4-f51bqfv1.mjs +4 -0
  136. package/dist/chunks/cli-0.6.4-fg71wev8.mjs +2 -0
  137. package/dist/chunks/cli-0.6.4-fh1fzqd2.mjs +133 -0
  138. package/dist/chunks/cli-0.6.4-fhcsv0k7.mjs +2 -0
  139. package/dist/chunks/cli-0.6.4-fppw8yjy.mjs +2 -0
  140. package/dist/chunks/cli-0.6.4-g1kweb8j.mjs +17 -0
  141. package/dist/chunks/cli-0.6.4-g1qw18ad.mjs +2 -0
  142. package/dist/chunks/cli-0.6.4-g2a0w8wh.mjs +3 -0
  143. package/dist/chunks/cli-0.6.4-g37ywszt.mjs +2 -0
  144. package/dist/chunks/cli-0.6.4-gbc9szsq.mjs +20 -0
  145. package/dist/chunks/cli-0.6.4-gdvys9qy.mjs +2 -0
  146. package/dist/chunks/cli-0.6.4-ge6qg76s.mjs +18 -0
  147. package/dist/chunks/cli-0.6.4-ggxbtbd1.mjs +2 -0
  148. package/dist/chunks/cli-0.6.4-ghagvvva.mjs +2 -0
  149. package/dist/chunks/cli-0.6.4-gyb3cp0m.mjs +15 -0
  150. package/dist/chunks/cli-0.6.4-h2c5gxa3.mjs +2 -0
  151. package/dist/chunks/cli-0.6.4-h598qtx2.mjs +2 -0
  152. package/dist/chunks/cli-0.6.4-h9ncym59.mjs +2 -0
  153. package/dist/chunks/cli-0.6.4-hb3rny4x.mjs +3 -0
  154. package/dist/chunks/cli-0.6.4-hhaw00mw.mjs +2 -0
  155. package/dist/chunks/cli-0.6.4-hk0wy6ay.mjs +2 -0
  156. package/dist/chunks/cli-0.6.4-hrs590q0.mjs +2 -0
  157. package/dist/chunks/cli-0.6.4-hx250zvn.mjs +2 -0
  158. package/dist/chunks/cli-0.6.4-j61ta5y1.mjs +2 -0
  159. package/dist/chunks/cli-0.6.4-j7hr5rd4.mjs +2 -0
  160. package/dist/chunks/cli-0.6.4-jc2r75s6.mjs +2 -0
  161. package/dist/chunks/cli-0.6.4-jg4xm27s.mjs +2 -0
  162. package/dist/chunks/cli-0.6.4-jh0d8t91.mjs +9 -0
  163. package/dist/chunks/cli-0.6.4-jk0aqvhn.mjs +2 -0
  164. package/dist/chunks/cli-0.6.4-jmvxa7qj.mjs +2 -0
  165. package/dist/chunks/cli-0.6.4-jn11nc5a.mjs +2 -0
  166. package/dist/chunks/cli-0.6.4-jra8pavs.mjs +2 -0
  167. package/dist/chunks/cli-0.6.4-jrweqe5y.mjs +2 -0
  168. package/dist/chunks/cli-0.6.4-jvfz5yaf.mjs +2 -0
  169. package/dist/chunks/cli-0.6.4-k2azfhje.mjs +12 -0
  170. package/dist/chunks/cli-0.6.4-k498jsqp.mjs +9 -0
  171. package/dist/chunks/cli-0.6.4-k6a4gc0p.mjs +3 -0
  172. package/dist/chunks/cli-0.6.4-k76c1cdx.mjs +2 -0
  173. package/dist/chunks/cli-0.6.4-kkwh828j.mjs +2 -0
  174. package/dist/chunks/cli-0.6.4-ksf3bj49.mjs +2 -0
  175. package/dist/chunks/cli-0.6.4-kygb95p8.mjs +2 -0
  176. package/dist/chunks/cli-0.6.4-m0b0hm20.mjs +2 -0
  177. package/dist/chunks/cli-0.6.4-n3wmzz8w.mjs +2 -0
  178. package/dist/chunks/cli-0.6.4-n9mgjg26.mjs +2 -0
  179. package/dist/chunks/cli-0.6.4-nscxc6w9.mjs +2 -0
  180. package/dist/chunks/cli-0.6.4-p1yyrrqa.mjs +2 -0
  181. package/dist/chunks/cli-0.6.4-p56yx5pd.mjs +3 -0
  182. package/dist/chunks/cli-0.6.4-p7mvm2y6.mjs +5 -0
  183. package/dist/chunks/cli-0.6.4-pd75v1wy.mjs +6 -0
  184. package/dist/chunks/cli-0.6.4-pg577m2t.mjs +18 -0
  185. package/dist/chunks/cli-0.6.4-pjk8hxs1.mjs +4 -0
  186. package/dist/chunks/cli-0.6.4-pp4r33sa.mjs +4 -0
  187. package/dist/chunks/cli-0.6.4-pqdfmet2.mjs +4 -0
  188. package/dist/chunks/cli-0.6.4-prdj94yp.mjs +4 -0
  189. package/dist/chunks/cli-0.6.4-prv34fmj.mjs +2 -0
  190. package/dist/chunks/cli-0.6.4-q45r4rnd.mjs +2 -0
  191. package/dist/chunks/cli-0.6.4-qcpjz3yn.mjs +2 -0
  192. package/dist/chunks/cli-0.6.4-qxhfaxsk.mjs +2 -0
  193. package/dist/chunks/cli-0.6.4-rdtbn65d.mjs +2 -0
  194. package/dist/chunks/cli-0.6.4-rf4gtxa6.mjs +2 -0
  195. package/dist/chunks/cli-0.6.4-rqmfmwew.mjs +4 -0
  196. package/dist/chunks/cli-0.6.4-rw4dqk3e.mjs +2 -0
  197. package/dist/chunks/cli-0.6.4-s062axqp.mjs +67 -0
  198. package/dist/chunks/cli-0.6.4-sebyspe3.mjs +2 -0
  199. package/dist/chunks/cli-0.6.4-sg59x1y7.mjs +2 -0
  200. package/dist/chunks/cli-0.6.4-sk4r23n0.mjs +2 -0
  201. package/dist/chunks/cli-0.6.4-spysehd5.mjs +2 -0
  202. package/dist/chunks/cli-0.6.4-sz5jkrwv.mjs +8 -0
  203. package/dist/chunks/cli-0.6.4-t13eh9gb.mjs +2 -0
  204. package/dist/chunks/cli-0.6.4-t87tgqs2.mjs +2 -0
  205. package/dist/chunks/cli-0.6.4-tda6fzwk.mjs +2 -0
  206. package/dist/chunks/cli-0.6.4-tgtxrvzn.mjs +3 -0
  207. package/dist/chunks/cli-0.6.4-ttyv846t.mjs +2 -0
  208. package/dist/chunks/cli-0.6.4-v050kzdd.mjs +2 -0
  209. package/dist/chunks/cli-0.6.4-v2fsc12w.mjs +2 -0
  210. package/dist/chunks/cli-0.6.4-v3ym5bjk.mjs +2 -0
  211. package/dist/chunks/cli-0.6.4-vawbj80d.mjs +5 -0
  212. package/dist/chunks/cli-0.6.4-vekd5qeh.mjs +3 -0
  213. package/dist/chunks/cli-0.6.4-vg82smm8.mjs +24 -0
  214. package/dist/chunks/cli-0.6.4-vyqg6c95.mjs +3 -0
  215. package/dist/chunks/cli-0.6.4-vyyncn9y.mjs +34 -0
  216. package/dist/chunks/cli-0.6.4-wpzc8xj5.mjs +3 -0
  217. package/dist/chunks/cli-0.6.4-x0pe866a.mjs +2 -0
  218. package/dist/chunks/cli-0.6.4-x3pc9zn1.mjs +6 -0
  219. package/dist/chunks/cli-0.6.4-x6d6qxpg.mjs +2 -0
  220. package/dist/chunks/cli-0.6.4-x6npewbm.mjs +6 -0
  221. package/dist/chunks/cli-0.6.4-x7ss8dse.mjs +2 -0
  222. package/dist/chunks/cli-0.6.4-x84dfqja.mjs +2 -0
  223. package/dist/chunks/cli-0.6.4-xf6vdp7p.mjs +2 -0
  224. package/dist/chunks/cli-0.6.4-xgmmcr56.mjs +25 -0
  225. package/dist/chunks/cli-0.6.4-xh0mhy0q.mjs +2 -0
  226. package/dist/chunks/cli-0.6.4-xj949nnt.mjs +2 -0
  227. package/dist/chunks/cli-0.6.4-xm44y40c.mjs +2 -0
  228. package/dist/chunks/cli-0.6.4-y9nrcnx6.mjs +2 -0
  229. package/dist/chunks/cli-0.6.4-yak49q2f.mjs +12 -0
  230. package/dist/chunks/cli-0.6.4-ymgdd6a7.mjs +2 -0
  231. package/dist/chunks/cli-0.6.4-yrfkm9my.mjs +2 -0
  232. package/dist/chunks/cli-0.6.4-ysvx8vre.mjs +12 -0
  233. package/dist/chunks/cli-0.6.4-yxqfeka0.mjs +2 -0
  234. package/dist/chunks/cli-0.6.4-z0j0rsqe.mjs +2 -0
  235. package/dist/chunks/cli-0.6.4-z3hp0qzv.mjs +59 -0
  236. package/dist/chunks/cli-0.6.4-z63xq66c.mjs +2 -0
  237. package/dist/chunks/cli-0.6.4-zgzya3hb.mjs +17 -0
  238. package/dist/chunks/cli-0.6.4-zkfpt86n.mjs +2 -0
  239. package/dist/chunks/cli-0.6.4-zss3bwjp.mjs +2 -0
  240. package/dist/chunks/cli-0.6.4-ztqssjbf.mjs +2 -0
  241. package/dist/chunks/client-0.6.4-ba2mtgjd.mjs +1 -0
  242. package/dist/chunks/color-0.6.4-2g7drx0s.mjs +1 -0
  243. package/dist/chunks/compact-0.6.4-tnqd9mmn.mjs +3 -0
  244. package/dist/chunks/config-0.6.4-3bhr23pq.mjs +1 -0
  245. package/dist/chunks/config-0.6.4-x56wgtde.mjs +1 -0
  246. package/dist/chunks/constants-0.6.4-cy9scgrh.mjs +1 -0
  247. package/dist/chunks/context-0.6.4-sjcg7yxa.mjs +1 -0
  248. package/dist/chunks/context-noninteractive-0.6.4-630bqrtn.mjs +1 -0
  249. package/dist/chunks/conversation-0.6.4-4wkb13gm.mjs +1 -0
  250. package/dist/chunks/copilotHeaders-0.6.4-6ygmq0rm.mjs +1 -0
  251. package/dist/chunks/copy-0.6.4-bgxrhckq.mjs +9 -0
  252. package/dist/chunks/cost-0.6.4-w83wc8ng.mjs +1 -0
  253. package/dist/chunks/createSSHSession-0.6.4-xcjsx731.mjs +1 -0
  254. package/dist/chunks/createSession-0.6.4-wsz3r56j.mjs +1 -0
  255. package/dist/chunks/debug-0.6.4-98yk6kds.mjs +1 -0
  256. package/dist/chunks/defaultActionDeps-0.6.4-gnr6f4bm.mjs +1365 -0
  257. package/dist/chunks/desktop-0.6.4-hpbrkj08.mjs +1 -0
  258. package/dist/chunks/detectRepository-0.6.4-jtg1wvsa.mjs +1 -0
  259. package/dist/chunks/detection-0.6.4-dqwz1bq1.mjs +1 -0
  260. package/dist/chunks/diff-0.6.4-6mtph9me.mjs +1 -0
  261. package/dist/chunks/doctor-0.6.4-rhc37adv.mjs +1 -0
  262. package/dist/chunks/doctorDiagnostic-0.6.4-dwt35xp9.mjs +1 -0
  263. package/dist/chunks/earlyInput-0.6.4-gwc98r30.mjs +1 -0
  264. package/dist/chunks/effort-0.6.4-gat4neps.mjs +10 -0
  265. package/dist/chunks/envUtils-0.6.4-y2b3abdc.mjs +1 -0
  266. package/dist/chunks/environmentSelection-0.6.4-xxrzk7m6.mjs +1 -0
  267. package/dist/chunks/environments-0.6.4-h1v61wzy.mjs +1 -0
  268. package/dist/chunks/errors-0.6.4-ca74wb6q.mjs +1 -0
  269. package/dist/chunks/exampleCommands-0.6.4-g36htc09.mjs +1 -0
  270. package/dist/chunks/exit-0.6.4-z7yj01cx.mjs +1 -0
  271. package/dist/chunks/export-0.6.4-ffzrse4n.mjs +2 -0
  272. package/dist/chunks/extra-usage-0.6.4-d23skk9c.mjs +1 -0
  273. package/dist/chunks/extra-usage-noninteractive-0.6.4-0akfkh19.mjs +1 -0
  274. package/dist/chunks/fast-0.6.4-dy9ew4g1.mjs +1 -0
  275. package/dist/chunks/feedback-0.6.4-5pw5kr6j.mjs +14 -0
  276. package/dist/chunks/firstPartyEventLogger-0.6.4-58n8gvjr.mjs +1 -0
  277. package/dist/chunks/git-0.6.4-5p9es5sh.mjs +1 -0
  278. package/dist/chunks/githubModelsCredentials-0.6.4-c75tjtm6.mjs +1 -0
  279. package/dist/chunks/goal-0.6.4-05yfbtf5.mjs +4 -0
  280. package/dist/chunks/grove-0.6.4-3mxw3jbp.mjs +1 -0
  281. package/dist/chunks/growthbook-0.6.4-w1a2ja8q.mjs +1 -0
  282. package/dist/chunks/headless-0.6.4-1b8pxyk6.mjs +2 -0
  283. package/dist/chunks/heapdump-0.6.4-ckft18df.mjs +6 -0
  284. package/dist/chunks/help-0.6.4-1qswzq2t.mjs +1 -0
  285. package/dist/chunks/hookChains-0.6.4-mc6w2yn4.mjs +3 -0
  286. package/dist/chunks/hooks-0.6.4-zqycdaww.mjs +1 -0
  287. package/dist/chunks/hooks-0.6.4-zw8ak2ae.mjs +79 -0
  288. package/dist/chunks/ide-0.6.4-kjaythhf.mjs +3 -0
  289. package/dist/chunks/image-processor-napi-0.6.4-9n32xq4y.mjs +1 -0
  290. package/dist/chunks/index-0.6.4-1eqjmyfc.mjs +1 -0
  291. package/dist/chunks/index-0.6.4-5x2zgy8s.mjs +1 -0
  292. package/dist/chunks/index-0.6.4-6er8ykqb.mjs +1 -0
  293. package/dist/chunks/index-0.6.4-6z8pdxeg.mjs +1 -0
  294. package/dist/chunks/index-0.6.4-8gxkz67a.mjs +1 -0
  295. package/dist/chunks/index-0.6.4-ay6td6v7.mjs +1 -0
  296. package/dist/chunks/index-0.6.4-bf4fb2rv.mjs +1 -0
  297. package/dist/chunks/index-0.6.4-cs4qnyse.mjs +9 -0
  298. package/dist/chunks/index-0.6.4-d8a7z3cd.mjs +1 -0
  299. package/dist/chunks/index-0.6.4-e1xb3q84.mjs +1 -0
  300. package/dist/chunks/index-0.6.4-fapqkd13.mjs +30 -0
  301. package/dist/chunks/index-0.6.4-fsypm1g5.mjs +1 -0
  302. package/dist/chunks/index-0.6.4-j1dpgmwz.mjs +5 -0
  303. package/dist/chunks/index-0.6.4-k5z3btpk.mjs +1 -0
  304. package/dist/chunks/index-0.6.4-kv8v270h.mjs +1 -0
  305. package/dist/chunks/index-0.6.4-nn5ynnfb.mjs +2 -0
  306. package/dist/chunks/index-0.6.4-np003dn4.mjs +2 -0
  307. package/dist/chunks/index-0.6.4-qtcndy07.mjs +1 -0
  308. package/dist/chunks/index-0.6.4-s0gg7sga.mjs +1 -0
  309. package/dist/chunks/index-0.6.4-scbwf11t.mjs +9 -0
  310. package/dist/chunks/index-0.6.4-sqrhv68x.mjs +17 -0
  311. package/dist/chunks/index-0.6.4-w93mdh3w.mjs +1 -0
  312. package/dist/chunks/init-0.6.4-ccs2p8cg.mjs +1 -0
  313. package/dist/chunks/initReplBridge-0.6.4-7cnffgw6.mjs +1 -0
  314. package/dist/chunks/ink-0.6.4-kv9v236j.mjs +1 -0
  315. package/dist/chunks/insights-0.6.4-v475bskf.mjs +870 -0
  316. package/dist/chunks/install-0.6.4-9x6x6d7w.mjs +1 -0
  317. package/dist/chunks/install-github-app-0.6.4-e0hnh1ac.mjs +149 -0
  318. package/dist/chunks/install-slack-app-0.6.4-5m1bq4zr.mjs +1 -0
  319. package/dist/chunks/instrumentation-0.6.4-j0dm5kvt.mjs +1 -0
  320. package/dist/chunks/interactiveHelpers-0.6.4-trjfh09v.mjs +1 -0
  321. package/dist/chunks/keybindings-0.6.4-52xyg2q7.mjs +2 -0
  322. package/dist/chunks/knowledge-0.6.4-3pd8yspr.mjs +2 -0
  323. package/dist/chunks/latestVersionCache-0.6.4-6nv1r43c.mjs +1 -0
  324. package/dist/chunks/loadAgentsDir-0.6.4-2f1egc65.mjs +1 -0
  325. package/dist/chunks/loadPluginHooks-0.6.4-6bdefjx0.mjs +1 -0
  326. package/dist/chunks/loadPluginHooks-0.6.4-jg6hn8q1.mjs +1 -0
  327. package/dist/chunks/log-0.6.4-byx1v0aw.mjs +1 -0
  328. package/dist/chunks/main-0.6.4-7kgs4wzg.mjs +1 -0
  329. package/dist/chunks/managedEnv-0.6.4-seg7a473.mjs +1 -0
  330. package/dist/chunks/mcp-0.6.4-fme3jax5.mjs +17 -0
  331. package/dist/chunks/mcp-0.6.4-gw2k9j0s.mjs +4 -0
  332. package/dist/chunks/mcp-0.6.4-hz4ymzf8.mjs +1 -0
  333. package/dist/chunks/mcpb-0.6.4-rm87xg1m.mjs +1 -0
  334. package/dist/chunks/memory-0.6.4-hdem4rfy.mjs +3 -0
  335. package/dist/chunks/mobile-0.6.4-xga427dx.mjs +2 -0
  336. package/dist/chunks/model-0.6.4-e7swq7hs.mjs +1 -0
  337. package/dist/chunks/model-0.6.4-raaz0pn8.mjs +2 -0
  338. package/dist/chunks/node-0.6.4-2mhf46p7.mjs +12 -0
  339. package/dist/chunks/oauth-0.6.4-de05kmr6.mjs +1 -0
  340. package/dist/chunks/openaiShim-0.6.4-shaa1wsv.mjs +14 -0
  341. package/dist/chunks/output-style-0.6.4-gfd6r8hz.mjs +1 -0
  342. package/dist/chunks/package-D6422PQU-0.6.4-syh17p64.mjs +1 -0
  343. package/dist/chunks/parseConnectUrl-0.6.4-k2eex22j.mjs +1 -0
  344. package/dist/chunks/parser-0.6.4-43t4x7r9.mjs +1 -0
  345. package/dist/chunks/passes-0.6.4-tbj019p0.mjs +1 -0
  346. package/dist/chunks/permissions-0.6.4-d0fw76d7.mjs +3 -0
  347. package/dist/chunks/plan-0.6.4-084fq0kq.mjs +1 -0
  348. package/dist/chunks/plist-0.6.4-439zn1sw.mjs +1 -0
  349. package/dist/chunks/plugin-0.6.4-mnsbmvwr.mjs +29 -0
  350. package/dist/chunks/pluginStartupCheck-0.6.4-t2kn51a4.mjs +1 -0
  351. package/dist/chunks/plugins-0.6.4-630t2jf7.mjs +9 -0
  352. package/dist/chunks/preActionHook-0.6.4-gfadf2sk.mjs +2 -0
  353. package/dist/chunks/print-0.6.4-pw4vrnzd.mjs +57 -0
  354. package/dist/chunks/privacy-settings-0.6.4-b97bep23.mjs +1 -0
  355. package/dist/chunks/process-0.6.4-yewqx1g2.mjs +1 -0
  356. package/dist/chunks/processBashCommand-0.6.4-64reh5jq.mjs +1 -0
  357. package/dist/chunks/processSlashCommand-0.6.4-46w7k3kw.mjs +9 -0
  358. package/dist/chunks/prompt-0.6.4-1dfbspxp.mjs +1 -0
  359. package/dist/chunks/prompt-0.6.4-ax8j0qse.mjs +1 -0
  360. package/dist/chunks/prompts-0.6.4-avjtc7j4.mjs +1 -0
  361. package/dist/chunks/protocolHandler-0.6.4-z0382sns.mjs +13 -0
  362. package/dist/chunks/provider-0.6.4-dww4c5j2.mjs +2 -0
  363. package/dist/chunks/providerProfiles-0.6.4-phwwz4cg.mjs +1 -0
  364. package/dist/chunks/providerValidation-0.6.4-zctdw7r7.mjs +6 -0
  365. package/dist/chunks/rate-limit-options-0.6.4-sydaxbv7.mjs +1 -0
  366. package/dist/chunks/registerSubcommands-0.6.4-ejhhvkd5.mjs +34 -0
  367. package/dist/chunks/registry-0.6.4-kb0x4rx3.mjs +1 -0
  368. package/dist/chunks/release-notes-0.6.4-es6sgycw.mjs +5 -0
  369. package/dist/chunks/reload-plugins-0.6.4-z5560vpf.mjs +2 -0
  370. package/dist/chunks/remote-env-0.6.4-6ypd7mgt.mjs +1 -0
  371. package/dist/chunks/remoteBridgeCore-0.6.4-r2nre1by.mjs +1 -0
  372. package/dist/chunks/remoteSession-0.6.4-jhazvxam.mjs +1 -0
  373. package/dist/chunks/rename-0.6.4-wnm225zc.mjs +1 -0
  374. package/dist/chunks/replBridgeHandle-0.6.4-90waxyt2.mjs +1 -0
  375. package/dist/chunks/replLauncher-0.6.4-fqvqymes.mjs +1 -0
  376. package/dist/chunks/resume-0.6.4-2edgjvxb.mjs +2 -0
  377. package/dist/chunks/rewind-0.6.4-43tzjabn.mjs +1 -0
  378. package/dist/chunks/rootOptions-0.6.4-efwh7nb7.mjs +1 -0
  379. package/dist/chunks/sandbox-adapter-0.6.4-7ccq9g0r.mjs +1 -0
  380. package/dist/chunks/sandbox-toggle-0.6.4-ca6p1txa.mjs +1 -0
  381. package/dist/chunks/session-0.6.4-xqz0b6bv.mjs +2 -0
  382. package/dist/chunks/sessionDiscovery-0.6.4-zhn2re2r.mjs +1 -0
  383. package/dist/chunks/sessionFileAccessHooks-0.6.4-0s8vv82b.mjs +1 -0
  384. package/dist/chunks/sessionStorage-0.6.4-k27431kx.mjs +1 -0
  385. package/dist/chunks/settings-0.6.4-xg6qae4k.mjs +1 -0
  386. package/dist/chunks/setup-0.6.4-zc0wstra.mjs +5 -0
  387. package/dist/chunks/sinks-0.6.4-3rycgm4d.mjs +1 -0
  388. package/dist/chunks/skills-0.6.4-jwf0fht6.mjs +1 -0
  389. package/dist/chunks/startupProfiler-0.6.4-6c1wp85a.mjs +1 -0
  390. package/dist/chunks/startupUpdateCheck-0.6.4-xqbvq5b5.mjs +1 -0
  391. package/dist/chunks/state-0.6.4-p0ddysh2.mjs +1 -0
  392. package/dist/chunks/stats-0.6.4-hys6q4f4.mjs +6 -0
  393. package/dist/chunks/status-0.6.4-5f8q60ey.mjs +1 -0
  394. package/dist/chunks/stickers-0.6.4-tftjq5eh.mjs +1 -0
  395. package/dist/chunks/subprocessEnv-0.6.4-gz5jdaaq.mjs +1 -0
  396. package/dist/chunks/tasks-0.6.4-s9qwaetv.mjs +1 -0
  397. package/dist/chunks/teamHelpers-0.6.4-h72qp38f.mjs +1 -0
  398. package/dist/chunks/teammateModeSnapshot-0.6.4-ezcvghhw.mjs +1 -0
  399. package/dist/chunks/teleport-0.6.4-e668czw7.mjs +1 -0
  400. package/dist/chunks/terminalSetup-0.6.4-53azbkac.mjs +1 -0
  401. package/dist/chunks/theme-0.6.4-zhw8bpdv.mjs +1 -0
  402. package/dist/chunks/thinkback-0.6.4-cpckywc7.mjs +1 -0
  403. package/dist/chunks/thinkback-play-0.6.4-ke47vrva.mjs +1 -0
  404. package/dist/chunks/toolPool-0.6.4-whn705s5.mjs +1 -0
  405. package/dist/chunks/toolSearch-0.6.4-80h4rrgj.mjs +1 -0
  406. package/dist/chunks/tools-0.6.4-4kf64373.mjs +1 -0
  407. package/dist/chunks/trustedDevice-0.6.4-zbvda07m.mjs +1 -0
  408. package/dist/chunks/turndown.cjs-0.6.4-ghgzppms.mjs +69 -0
  409. package/dist/chunks/ultrareviewCommand-0.6.4-r028gcax.mjs +4 -0
  410. package/dist/chunks/update-0.6.4-a233wpzj.mjs +86 -0
  411. package/dist/chunks/upgrade-0.6.4-mx4jnstf.mjs +1 -0
  412. package/dist/chunks/upstreamproxy-0.6.4-4cmr0qtj.mjs +14 -0
  413. package/dist/chunks/url-handler-napi-0.6.4-vt0a3wdc.mjs +1 -0
  414. package/dist/chunks/usage-0.6.4-8kncs1zq.mjs +1 -0
  415. package/dist/chunks/util-0.6.4-afjsm52j.mjs +1 -0
  416. package/dist/chunks/utils-0.6.4-r5qbctxg.mjs +1 -0
  417. package/dist/chunks/vim-0.6.4-qb1hpv1s.mjs +1 -0
  418. package/dist/chunks/watcher-0.6.4-w81paz2g.mjs +1 -0
  419. package/dist/chunks/wiki-0.6.4-3wc3s65f.mjs +132 -0
  420. package/dist/chunks/worktree-0.6.4-hy75224j.mjs +1 -0
  421. package/dist/chunks/worktreeModeEnabled-0.6.4-7wyg7p08.mjs +1 -0
  422. package/dist/chunks/wrapper-0.6.4-vqj09efm.mjs +7 -0
  423. package/dist/claudin-vscode.vsix +0 -0
  424. package/dist/cli.mjs +2 -2
  425. package/package.json +1 -1
  426. package/dist/chunks/AgentTool-0.6.2-he5a0dam.mjs +0 -1
  427. package/dist/chunks/App-0.6.2-81hq55t1.mjs +0 -1
  428. package/dist/chunks/ApproveApiKey-0.6.2-08hjmc7a.mjs +0 -1
  429. package/dist/chunks/AssistantSessionChooser-0.6.2-0r37ejyw.mjs +0 -1
  430. package/dist/chunks/AutoModeOptInDialog-0.6.2-k5q2wq69.mjs +0 -1
  431. package/dist/chunks/BypassPermissionsModeDialog-0.6.2-q2vnf20c.mjs +0 -1
  432. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.2-nsje6vp4.mjs +0 -1
  433. package/dist/chunks/ConsoleOAuthFlow-0.6.2-0td2rsrs.mjs +0 -1
  434. package/dist/chunks/DiffDialog-0.6.2-6yg14gsy.mjs +0 -3
  435. package/dist/chunks/Doctor-0.6.2-3wbjtm02.mjs +0 -1
  436. package/dist/chunks/Grove-0.6.2-baqbhjjj.mjs +0 -1
  437. package/dist/chunks/ITermBackend-0.6.2-zmtwee85.mjs +0 -1
  438. package/dist/chunks/InvalidConfigDialog-0.6.2-yxzmem78.mjs +0 -1
  439. package/dist/chunks/InvalidSettingsDialog-0.6.2-fp9sq2qx.mjs +0 -1
  440. package/dist/chunks/MigrationDialog-0.6.2-yvf4s2y6.mjs +0 -1
  441. package/dist/chunks/Onboarding-0.6.2-y1rgs60d.mjs +0 -1
  442. package/dist/chunks/ProviderManager-0.6.2-cp0pxj1c.mjs +0 -1
  443. package/dist/chunks/REPL-0.6.2-ab1c9240.mjs +0 -1
  444. package/dist/chunks/ResumeConversation-0.6.2-sc3b5r7q.mjs +0 -1
  445. package/dist/chunks/SnapshotUpdateDialog-0.6.2-8sv3ddk7.mjs +0 -1
  446. package/dist/chunks/TeleportProgress-0.6.2-wa2hgv37.mjs +0 -1
  447. package/dist/chunks/TeleportRepoMismatchDialog-0.6.2-a3a7fv1a.mjs +0 -1
  448. package/dist/chunks/TeleportResumeWrapper-0.6.2-2n1ktp6n.mjs +0 -1
  449. package/dist/chunks/TmuxBackend-0.6.2-qbc4yk54.mjs +0 -9
  450. package/dist/chunks/ToolSearchTool-0.6.2-384g3ky4.mjs +0 -1
  451. package/dist/chunks/TrustDialog-0.6.2-egpnc3w1.mjs +0 -1
  452. package/dist/chunks/activeProvider-0.6.2-w0ja3pnw.mjs +0 -1
  453. package/dist/chunks/add-dir-0.6.2-srcrq97m.mjs +0 -1
  454. package/dist/chunks/agents-0.6.2-pwkawpda.mjs +0 -110
  455. package/dist/chunks/agents-0.6.2-v40vzjvy.mjs +0 -3
  456. package/dist/chunks/api-0.6.2-r9z30232.mjs +0 -1
  457. package/dist/chunks/asciicast-0.6.2-dtanhyb8.mjs +0 -1
  458. package/dist/chunks/assistant-0.6.2-29e26n3s.mjs +0 -1
  459. package/dist/chunks/auth-0.6.2-azq9yv0m.mjs +0 -1
  460. package/dist/chunks/auth-0.6.2-ndpcgcx5.mjs +0 -1
  461. package/dist/chunks/autoMode-0.6.2-w921k0xq.mjs +0 -48
  462. package/dist/chunks/autoUpdater-0.6.2-gwvkqpt8.mjs +0 -1
  463. package/dist/chunks/backgroundHousekeeping-0.6.2-7p2jxjem.mjs +0 -1
  464. package/dist/chunks/branch-0.6.2-tx9vvnkh.mjs +0 -4
  465. package/dist/chunks/bridgePointer-0.6.2-vm11xngr.mjs +0 -1
  466. package/dist/chunks/btw-0.6.2-s76cg2fz.mjs +0 -1
  467. package/dist/chunks/buddy-0.6.2-0ck2kabw.mjs +0 -3
  468. package/dist/chunks/cacache-0.6.2-c87f0fw9.mjs +0 -1
  469. package/dist/chunks/cache-probe-0.6.2-nhq6d99v.mjs +0 -21
  470. package/dist/chunks/cacheStats-0.6.2-wjqpder6.mjs +0 -4
  471. package/dist/chunks/caches-0.6.2-ckpe4m10.mjs +0 -1
  472. package/dist/chunks/claudeDesktop-0.6.2-9xry3zxj.mjs +0 -1
  473. package/dist/chunks/claudemd-0.6.2-eevm7pz1.mjs +0 -1
  474. package/dist/chunks/clear-0.6.2-301n503a.mjs +0 -1
  475. package/dist/chunks/clearTerminal-0.6.2-qgg50hxe.mjs +0 -1
  476. package/dist/chunks/cli-0.6.2-0cpmb5wg.mjs +0 -42
  477. package/dist/chunks/cli-0.6.2-0f9sh5z8.mjs +0 -4
  478. package/dist/chunks/cli-0.6.2-0p39svq8.mjs +0 -2
  479. package/dist/chunks/cli-0.6.2-1acc8mpr.mjs +0 -2
  480. package/dist/chunks/cli-0.6.2-1ahapm20.mjs +0 -2
  481. package/dist/chunks/cli-0.6.2-1b9hx344.mjs +0 -2
  482. package/dist/chunks/cli-0.6.2-1g0gmdck.mjs +0 -2
  483. package/dist/chunks/cli-0.6.2-1hrabb68.mjs +0 -3
  484. package/dist/chunks/cli-0.6.2-1wj8sm5y.mjs +0 -9
  485. package/dist/chunks/cli-0.6.2-1y907j57.mjs +0 -2
  486. package/dist/chunks/cli-0.6.2-22zkw0rp.mjs +0 -2
  487. package/dist/chunks/cli-0.6.2-26qywcgz.mjs +0 -2
  488. package/dist/chunks/cli-0.6.2-2aj7wfhk.mjs +0 -2
  489. package/dist/chunks/cli-0.6.2-2ewwghbe.mjs +0 -3
  490. package/dist/chunks/cli-0.6.2-2jg2f49s.mjs +0 -2
  491. package/dist/chunks/cli-0.6.2-2z19ppek.mjs +0 -15
  492. package/dist/chunks/cli-0.6.2-334vw6ys.mjs +0 -2
  493. package/dist/chunks/cli-0.6.2-3mpd0wjn.mjs +0 -2
  494. package/dist/chunks/cli-0.6.2-3r8vgmhb.mjs +0 -2
  495. package/dist/chunks/cli-0.6.2-3rgtxc9f.mjs +0 -2
  496. package/dist/chunks/cli-0.6.2-40pc2aj2.mjs +0 -2
  497. package/dist/chunks/cli-0.6.2-42d88f3r.mjs +0 -2
  498. package/dist/chunks/cli-0.6.2-43f0sknv.mjs +0 -2
  499. package/dist/chunks/cli-0.6.2-43qjtqa5.mjs +0 -2
  500. package/dist/chunks/cli-0.6.2-4a5t390f.mjs +0 -2
  501. package/dist/chunks/cli-0.6.2-4drhcx9k.mjs +0 -15
  502. package/dist/chunks/cli-0.6.2-4kcvb5en.mjs +0 -2
  503. package/dist/chunks/cli-0.6.2-4ke2trrq.mjs +0 -39
  504. package/dist/chunks/cli-0.6.2-4p9wa0p6.mjs +0 -5323
  505. package/dist/chunks/cli-0.6.2-4py7r63v.mjs +0 -2
  506. package/dist/chunks/cli-0.6.2-4r69ge5f.mjs +0 -59
  507. package/dist/chunks/cli-0.6.2-5d05m4xc.mjs +0 -2
  508. package/dist/chunks/cli-0.6.2-5jempndm.mjs +0 -133
  509. package/dist/chunks/cli-0.6.2-657fbmws.mjs +0 -2
  510. package/dist/chunks/cli-0.6.2-6bacgc39.mjs +0 -3
  511. package/dist/chunks/cli-0.6.2-6g0t3j91.mjs +0 -5
  512. package/dist/chunks/cli-0.6.2-6g8yfn0m.mjs +0 -2
  513. package/dist/chunks/cli-0.6.2-6kn7z0zj.mjs +0 -3
  514. package/dist/chunks/cli-0.6.2-6wk99hh1.mjs +0 -3
  515. package/dist/chunks/cli-0.6.2-73vnf2t2.mjs +0 -4
  516. package/dist/chunks/cli-0.6.2-74x1d5s0.mjs +0 -2
  517. package/dist/chunks/cli-0.6.2-7egesyh9.mjs +0 -4
  518. package/dist/chunks/cli-0.6.2-7rmm482v.mjs +0 -12
  519. package/dist/chunks/cli-0.6.2-7rmymgpp.mjs +0 -2
  520. package/dist/chunks/cli-0.6.2-7z82z1hp.mjs +0 -25
  521. package/dist/chunks/cli-0.6.2-83ennmm8.mjs +0 -21
  522. package/dist/chunks/cli-0.6.2-8ka8msyf.mjs +0 -2
  523. package/dist/chunks/cli-0.6.2-8ksqzwe8.mjs +0 -5
  524. package/dist/chunks/cli-0.6.2-8v8sktjd.mjs +0 -10
  525. package/dist/chunks/cli-0.6.2-8y3j75c7.mjs +0 -2
  526. package/dist/chunks/cli-0.6.2-974c5e67.mjs +0 -9
  527. package/dist/chunks/cli-0.6.2-9j01vvqt.mjs +0 -2
  528. package/dist/chunks/cli-0.6.2-9mwrq250.mjs +0 -3
  529. package/dist/chunks/cli-0.6.2-9n2g6k9w.mjs +0 -2
  530. package/dist/chunks/cli-0.6.2-9n9cpja7.mjs +0 -2
  531. package/dist/chunks/cli-0.6.2-9qtj477e.mjs +0 -2
  532. package/dist/chunks/cli-0.6.2-9w9nmx9s.mjs +0 -2
  533. package/dist/chunks/cli-0.6.2-9ybnhjj8.mjs +0 -4
  534. package/dist/chunks/cli-0.6.2-a8atyp18.mjs +0 -2
  535. package/dist/chunks/cli-0.6.2-ahaj5z3h.mjs +0 -2
  536. package/dist/chunks/cli-0.6.2-aq30pg47.mjs +0 -2
  537. package/dist/chunks/cli-0.6.2-aqxemf9h.mjs +0 -6
  538. package/dist/chunks/cli-0.6.2-b34y2qb7.mjs +0 -2
  539. package/dist/chunks/cli-0.6.2-b88e6p6d.mjs +0 -2
  540. package/dist/chunks/cli-0.6.2-b8r77v7s.mjs +0 -2
  541. package/dist/chunks/cli-0.6.2-bkff60ff.mjs +0 -2
  542. package/dist/chunks/cli-0.6.2-br678d1b.mjs +0 -8
  543. package/dist/chunks/cli-0.6.2-bvyhf16r.mjs +0 -2
  544. package/dist/chunks/cli-0.6.2-c05pfwbs.mjs +0 -2
  545. package/dist/chunks/cli-0.6.2-c3h0j3ad.mjs +0 -2
  546. package/dist/chunks/cli-0.6.2-c8bf5gfw.mjs +0 -4
  547. package/dist/chunks/cli-0.6.2-c9adbzc9.mjs +0 -2
  548. package/dist/chunks/cli-0.6.2-cvr4dbfz.mjs +0 -2
  549. package/dist/chunks/cli-0.6.2-d3evezft.mjs +0 -1
  550. package/dist/chunks/cli-0.6.2-d3y2w089.mjs +0 -2
  551. package/dist/chunks/cli-0.6.2-d3ykxc81.mjs +0 -2
  552. package/dist/chunks/cli-0.6.2-dbw96fj0.mjs +0 -12
  553. package/dist/chunks/cli-0.6.2-dr4gmq77.mjs +0 -2
  554. package/dist/chunks/cli-0.6.2-drm9vdbc.mjs +0 -2
  555. package/dist/chunks/cli-0.6.2-dv8abe56.mjs +0 -7
  556. package/dist/chunks/cli-0.6.2-dx6qfese.mjs +0 -2
  557. package/dist/chunks/cli-0.6.2-dy4zwces.mjs +0 -2
  558. package/dist/chunks/cli-0.6.2-e0x7vgkh.mjs +0 -2
  559. package/dist/chunks/cli-0.6.2-e26khw0m.mjs +0 -6
  560. package/dist/chunks/cli-0.6.2-e66qz53g.mjs +0 -2
  561. package/dist/chunks/cli-0.6.2-ea8z1e2e.mjs +0 -16
  562. package/dist/chunks/cli-0.6.2-erkq6kmj.mjs +0 -45
  563. package/dist/chunks/cli-0.6.2-ezn7w7ae.mjs +0 -5
  564. package/dist/chunks/cli-0.6.2-f8wbscq8.mjs +0 -2
  565. package/dist/chunks/cli-0.6.2-ffwsaj8h.mjs +0 -2
  566. package/dist/chunks/cli-0.6.2-fm1d3kkg.mjs +0 -2
  567. package/dist/chunks/cli-0.6.2-g1m1mc2w.mjs +0 -2
  568. package/dist/chunks/cli-0.6.2-g5akhdzk.mjs +0 -2
  569. package/dist/chunks/cli-0.6.2-g6c6hjc6.mjs +0 -6
  570. package/dist/chunks/cli-0.6.2-gjc0cfpe.mjs +0 -2
  571. package/dist/chunks/cli-0.6.2-gjcarfd4.mjs +0 -2
  572. package/dist/chunks/cli-0.6.2-gqbd9ax6.mjs +0 -2
  573. package/dist/chunks/cli-0.6.2-grf75vb7.mjs +0 -2
  574. package/dist/chunks/cli-0.6.2-h18w4nmy.mjs +0 -2
  575. package/dist/chunks/cli-0.6.2-h72p44ws.mjs +0 -24
  576. package/dist/chunks/cli-0.6.2-ha8qy3b0.mjs +0 -2
  577. package/dist/chunks/cli-0.6.2-hhjx89cr.mjs +0 -193
  578. package/dist/chunks/cli-0.6.2-hhyenxhe.mjs +0 -2
  579. package/dist/chunks/cli-0.6.2-hp1pwe62.mjs +0 -2
  580. package/dist/chunks/cli-0.6.2-hqmcear6.mjs +0 -2
  581. package/dist/chunks/cli-0.6.2-hs0y8na1.mjs +0 -34
  582. package/dist/chunks/cli-0.6.2-j05kmd43.mjs +0 -2
  583. package/dist/chunks/cli-0.6.2-j1nazgzc.mjs +0 -2
  584. package/dist/chunks/cli-0.6.2-jgh80hr1.mjs +0 -2
  585. package/dist/chunks/cli-0.6.2-jrb4f391.mjs +0 -15
  586. package/dist/chunks/cli-0.6.2-jrpted0b.mjs +0 -2
  587. package/dist/chunks/cli-0.6.2-jv7awz9n.mjs +0 -2
  588. package/dist/chunks/cli-0.6.2-k56bbmdp.mjs +0 -2
  589. package/dist/chunks/cli-0.6.2-k9v931hm.mjs +0 -2
  590. package/dist/chunks/cli-0.6.2-kbz4gdv0.mjs +0 -2
  591. package/dist/chunks/cli-0.6.2-kcf9h23h.mjs +0 -2
  592. package/dist/chunks/cli-0.6.2-kk5rmpf2.mjs +0 -4
  593. package/dist/chunks/cli-0.6.2-ky1drj50.mjs +0 -2
  594. package/dist/chunks/cli-0.6.2-mabejxsw.mjs +0 -4
  595. package/dist/chunks/cli-0.6.2-majp93c4.mjs +0 -2
  596. package/dist/chunks/cli-0.6.2-mqcsy5k1.mjs +0 -2
  597. package/dist/chunks/cli-0.6.2-n4v3wxhj.mjs +0 -3
  598. package/dist/chunks/cli-0.6.2-n9610c8k.mjs +0 -2
  599. package/dist/chunks/cli-0.6.2-ntj0k6z8.mjs +0 -2
  600. package/dist/chunks/cli-0.6.2-nw08h6z2.mjs +0 -2
  601. package/dist/chunks/cli-0.6.2-nwzye174.mjs +0 -2
  602. package/dist/chunks/cli-0.6.2-p0jszyht.mjs +0 -3
  603. package/dist/chunks/cli-0.6.2-p6w7n0bx.mjs +0 -58
  604. package/dist/chunks/cli-0.6.2-ptm65j7w.mjs +0 -2
  605. package/dist/chunks/cli-0.6.2-q45wdma3.mjs +0 -3
  606. package/dist/chunks/cli-0.6.2-q4pmjk86.mjs +0 -2
  607. package/dist/chunks/cli-0.6.2-qa6qbf36.mjs +0 -2
  608. package/dist/chunks/cli-0.6.2-qec7nrgw.mjs +0 -2
  609. package/dist/chunks/cli-0.6.2-qezxrvkk.mjs +0 -2
  610. package/dist/chunks/cli-0.6.2-qkzrj9jv.mjs +0 -2
  611. package/dist/chunks/cli-0.6.2-qpnzszt1.mjs +0 -2
  612. package/dist/chunks/cli-0.6.2-r4p904h3.mjs +0 -67
  613. package/dist/chunks/cli-0.6.2-r7j7h4hj.mjs +0 -2
  614. package/dist/chunks/cli-0.6.2-rde30n8x.mjs +0 -2
  615. package/dist/chunks/cli-0.6.2-rdfwysaf.mjs +0 -2
  616. package/dist/chunks/cli-0.6.2-red287ya.mjs +0 -2
  617. package/dist/chunks/cli-0.6.2-rjqa4vcn.mjs +0 -2
  618. package/dist/chunks/cli-0.6.2-rkp36r0y.mjs +0 -2
  619. package/dist/chunks/cli-0.6.2-rpxhzchp.mjs +0 -17
  620. package/dist/chunks/cli-0.6.2-rsw5s54e.mjs +0 -24
  621. package/dist/chunks/cli-0.6.2-s3xefpk2.mjs +0 -2
  622. package/dist/chunks/cli-0.6.2-s73x3nqc.mjs +0 -2
  623. package/dist/chunks/cli-0.6.2-sb3gjggk.mjs +0 -2
  624. package/dist/chunks/cli-0.6.2-sbjpxvg6.mjs +0 -2
  625. package/dist/chunks/cli-0.6.2-sbvnj6xm.mjs +0 -2
  626. package/dist/chunks/cli-0.6.2-sr4xyjmx.mjs +0 -133
  627. package/dist/chunks/cli-0.6.2-st7jwd3e.mjs +0 -2
  628. package/dist/chunks/cli-0.6.2-t038jmme.mjs +0 -3
  629. package/dist/chunks/cli-0.6.2-t3e59m32.mjs +0 -2
  630. package/dist/chunks/cli-0.6.2-t74yr8e7.mjs +0 -2
  631. package/dist/chunks/cli-0.6.2-t8yezjtz.mjs +0 -2
  632. package/dist/chunks/cli-0.6.2-tbbfz84c.mjs +0 -2
  633. package/dist/chunks/cli-0.6.2-tqq6q5x7.mjs +0 -2
  634. package/dist/chunks/cli-0.6.2-tqt8xgww.mjs +0 -50
  635. package/dist/chunks/cli-0.6.2-v1hjbt4b.mjs +0 -20
  636. package/dist/chunks/cli-0.6.2-v9brbf1x.mjs +0 -2
  637. package/dist/chunks/cli-0.6.2-vfdaj8xa.mjs +0 -2
  638. package/dist/chunks/cli-0.6.2-vg43sy4j.mjs +0 -2
  639. package/dist/chunks/cli-0.6.2-vqas2mhg.mjs +0 -2
  640. package/dist/chunks/cli-0.6.2-vqt5hqzr.mjs +0 -2
  641. package/dist/chunks/cli-0.6.2-vrv3r8v9.mjs +0 -18
  642. package/dist/chunks/cli-0.6.2-vys7e4x0.mjs +0 -2
  643. package/dist/chunks/cli-0.6.2-w0nwtgnn.mjs +0 -3
  644. package/dist/chunks/cli-0.6.2-w9trxbjc.mjs +0 -2
  645. package/dist/chunks/cli-0.6.2-wbg54yyk.mjs +0 -2
  646. package/dist/chunks/cli-0.6.2-wdtqrg29.mjs +0 -12
  647. package/dist/chunks/cli-0.6.2-wryj4wnr.mjs +0 -2
  648. package/dist/chunks/cli-0.6.2-x7zpbnzj.mjs +0 -2
  649. package/dist/chunks/cli-0.6.2-xnn1c5kd.mjs +0 -18
  650. package/dist/chunks/cli-0.6.2-y8g2xkqa.mjs +0 -2
  651. package/dist/chunks/cli-0.6.2-yep449sd.mjs +0 -17
  652. package/dist/chunks/cli-0.6.2-yjbsdf10.mjs +0 -2
  653. package/dist/chunks/cli-0.6.2-ymnp9sv9.mjs +0 -2
  654. package/dist/chunks/cli-0.6.2-ynamhrtk.mjs +0 -4
  655. package/dist/chunks/cli-0.6.2-yysvdabq.mjs +0 -2
  656. package/dist/chunks/cli-0.6.2-z00mtdgp.mjs +0 -4
  657. package/dist/chunks/cli-0.6.2-z1njvrn7.mjs +0 -3
  658. package/dist/chunks/cli-0.6.2-z2ftrcke.mjs +0 -4
  659. package/dist/chunks/cli-0.6.2-z3vr6hxb.mjs +0 -2
  660. package/dist/chunks/cli-0.6.2-z9kadqm6.mjs +0 -18
  661. package/dist/chunks/cli-0.6.2-zaahyems.mjs +0 -2
  662. package/dist/chunks/cli-0.6.2-zftyh47j.mjs +0 -2
  663. package/dist/chunks/cli-0.6.2-zqj8dk7m.mjs +0 -2
  664. package/dist/chunks/cli-0.6.2-zs4qp487.mjs +0 -2
  665. package/dist/chunks/client-0.6.2-8b0s065m.mjs +0 -1
  666. package/dist/chunks/color-0.6.2-jza3jez4.mjs +0 -1
  667. package/dist/chunks/compact-0.6.2-2jy7t4f4.mjs +0 -3
  668. package/dist/chunks/config-0.6.2-qjwjrd75.mjs +0 -1
  669. package/dist/chunks/config-0.6.2-xac3sjb7.mjs +0 -1
  670. package/dist/chunks/constants-0.6.2-gwzfwz81.mjs +0 -1
  671. package/dist/chunks/context-0.6.2-w965073f.mjs +0 -1
  672. package/dist/chunks/context-noninteractive-0.6.2-fcjaexgs.mjs +0 -1
  673. package/dist/chunks/conversation-0.6.2-19c4vdvz.mjs +0 -1
  674. package/dist/chunks/copilotHeaders-0.6.2-pad0tejv.mjs +0 -1
  675. package/dist/chunks/copy-0.6.2-p4jw9gbt.mjs +0 -9
  676. package/dist/chunks/cost-0.6.2-vhwgeqym.mjs +0 -1
  677. package/dist/chunks/createSSHSession-0.6.2-j2yf2qm6.mjs +0 -1
  678. package/dist/chunks/createSession-0.6.2-axgp009k.mjs +0 -1
  679. package/dist/chunks/debug-0.6.2-g2n0fqva.mjs +0 -1
  680. package/dist/chunks/defaultActionDeps-0.6.2-28650cn6.mjs +0 -1365
  681. package/dist/chunks/desktop-0.6.2-g4c5xzgr.mjs +0 -1
  682. package/dist/chunks/detectRepository-0.6.2-d1chqsq7.mjs +0 -1
  683. package/dist/chunks/detection-0.6.2-rtsr38x3.mjs +0 -1
  684. package/dist/chunks/diff-0.6.2-md180qh9.mjs +0 -1
  685. package/dist/chunks/doctor-0.6.2-g7yz0erc.mjs +0 -1
  686. package/dist/chunks/doctorDiagnostic-0.6.2-a82fkq4t.mjs +0 -1
  687. package/dist/chunks/earlyInput-0.6.2-7j71psy0.mjs +0 -1
  688. package/dist/chunks/effort-0.6.2-n6mb1qca.mjs +0 -10
  689. package/dist/chunks/envUtils-0.6.2-cgk2t66d.mjs +0 -1
  690. package/dist/chunks/environmentSelection-0.6.2-jxz6pef4.mjs +0 -1
  691. package/dist/chunks/environments-0.6.2-fe197syt.mjs +0 -1
  692. package/dist/chunks/errors-0.6.2-qwc8na5z.mjs +0 -1
  693. package/dist/chunks/exampleCommands-0.6.2-ts5qp1zd.mjs +0 -1
  694. package/dist/chunks/exit-0.6.2-ejt9v4r5.mjs +0 -1
  695. package/dist/chunks/export-0.6.2-7xzrp9f7.mjs +0 -2
  696. package/dist/chunks/extra-usage-0.6.2-4xbsq144.mjs +0 -1
  697. package/dist/chunks/extra-usage-noninteractive-0.6.2-dbw7cdb9.mjs +0 -1
  698. package/dist/chunks/fast-0.6.2-trs3hdhf.mjs +0 -1
  699. package/dist/chunks/feedback-0.6.2-ssmy63tw.mjs +0 -14
  700. package/dist/chunks/firstPartyEventLogger-0.6.2-8h0fye4z.mjs +0 -1
  701. package/dist/chunks/git-0.6.2-nt9s7t3d.mjs +0 -1
  702. package/dist/chunks/githubModelsCredentials-0.6.2-24hacezm.mjs +0 -1
  703. package/dist/chunks/goal-0.6.2-y7sqebpb.mjs +0 -4
  704. package/dist/chunks/grove-0.6.2-a2wgccag.mjs +0 -1
  705. package/dist/chunks/growthbook-0.6.2-0rhkaa7d.mjs +0 -1
  706. package/dist/chunks/headless-0.6.2-mqs7zsvy.mjs +0 -2
  707. package/dist/chunks/heapdump-0.6.2-4n8atcks.mjs +0 -6
  708. package/dist/chunks/help-0.6.2-c49svpae.mjs +0 -1
  709. package/dist/chunks/hookChains-0.6.2-44ps20xa.mjs +0 -3
  710. package/dist/chunks/hooks-0.6.2-27hpvpxf.mjs +0 -1
  711. package/dist/chunks/hooks-0.6.2-7ze1m2wq.mjs +0 -79
  712. package/dist/chunks/ide-0.6.2-4v9fdhr6.mjs +0 -3
  713. package/dist/chunks/image-processor-napi-0.6.2-a92myehv.mjs +0 -1
  714. package/dist/chunks/index-0.6.2-1kk3erm5.mjs +0 -9
  715. package/dist/chunks/index-0.6.2-21nak3ad.mjs +0 -1
  716. package/dist/chunks/index-0.6.2-2vns8v9p.mjs +0 -1
  717. package/dist/chunks/index-0.6.2-2wg5fkyq.mjs +0 -1
  718. package/dist/chunks/index-0.6.2-3g92ew8z.mjs +0 -1
  719. package/dist/chunks/index-0.6.2-4wsxzfzg.mjs +0 -1
  720. package/dist/chunks/index-0.6.2-88m8k4cp.mjs +0 -1
  721. package/dist/chunks/index-0.6.2-93bh3w93.mjs +0 -1
  722. package/dist/chunks/index-0.6.2-9e0qz384.mjs +0 -1
  723. package/dist/chunks/index-0.6.2-emm65q8h.mjs +0 -17
  724. package/dist/chunks/index-0.6.2-ff57yvh3.mjs +0 -1
  725. package/dist/chunks/index-0.6.2-g6xy97jv.mjs +0 -1
  726. package/dist/chunks/index-0.6.2-h37g7n0s.mjs +0 -9
  727. package/dist/chunks/index-0.6.2-h8jkf613.mjs +0 -5
  728. package/dist/chunks/index-0.6.2-jcsv5kp3.mjs +0 -1
  729. package/dist/chunks/index-0.6.2-jw83xhc8.mjs +0 -2
  730. package/dist/chunks/index-0.6.2-mehn31e3.mjs +0 -30
  731. package/dist/chunks/index-0.6.2-naw1d8mg.mjs +0 -2
  732. package/dist/chunks/index-0.6.2-qjs3rrrc.mjs +0 -1
  733. package/dist/chunks/index-0.6.2-qn0re7sj.mjs +0 -1
  734. package/dist/chunks/index-0.6.2-tftj6wdh.mjs +0 -1
  735. package/dist/chunks/index-0.6.2-ww1qy3cg.mjs +0 -1
  736. package/dist/chunks/init-0.6.2-47k2caay.mjs +0 -1
  737. package/dist/chunks/initReplBridge-0.6.2-sn29sxg9.mjs +0 -1
  738. package/dist/chunks/ink-0.6.2-dhg7s7qq.mjs +0 -1
  739. package/dist/chunks/insights-0.6.2-st861yg4.mjs +0 -870
  740. package/dist/chunks/install-0.6.2-webkhwz9.mjs +0 -1
  741. package/dist/chunks/install-github-app-0.6.2-dyf38saf.mjs +0 -149
  742. package/dist/chunks/install-slack-app-0.6.2-mkhq39jq.mjs +0 -1
  743. package/dist/chunks/instrumentation-0.6.2-8enws6w1.mjs +0 -1
  744. package/dist/chunks/interactiveHelpers-0.6.2-h3c63932.mjs +0 -1
  745. package/dist/chunks/keybindings-0.6.2-b4h5gr36.mjs +0 -2
  746. package/dist/chunks/knowledge-0.6.2-r7wzchg7.mjs +0 -2
  747. package/dist/chunks/latestVersionCache-0.6.2-29wtfvgy.mjs +0 -1
  748. package/dist/chunks/loadAgentsDir-0.6.2-6tmzy9fs.mjs +0 -1
  749. package/dist/chunks/loadPluginHooks-0.6.2-1qx97351.mjs +0 -1
  750. package/dist/chunks/loadPluginHooks-0.6.2-c4wpqz2j.mjs +0 -1
  751. package/dist/chunks/log-0.6.2-h02k5q0p.mjs +0 -1
  752. package/dist/chunks/main-0.6.2-51xvrsbq.mjs +0 -1
  753. package/dist/chunks/managedEnv-0.6.2-ma1dx63x.mjs +0 -1
  754. package/dist/chunks/mcp-0.6.2-j3m0e0bk.mjs +0 -17
  755. package/dist/chunks/mcp-0.6.2-n8yv335k.mjs +0 -4
  756. package/dist/chunks/mcp-0.6.2-zebf4vwt.mjs +0 -1
  757. package/dist/chunks/mcpb-0.6.2-egn2wk5t.mjs +0 -1
  758. package/dist/chunks/memory-0.6.2-vy2ka09s.mjs +0 -3
  759. package/dist/chunks/mobile-0.6.2-s8f6z7dq.mjs +0 -2
  760. package/dist/chunks/model-0.6.2-49f9g2vz.mjs +0 -2
  761. package/dist/chunks/model-0.6.2-pcd5ta0c.mjs +0 -1
  762. package/dist/chunks/node-0.6.2-40bknjza.mjs +0 -12
  763. package/dist/chunks/oauth-0.6.2-newhjxdv.mjs +0 -1
  764. package/dist/chunks/openaiShim-0.6.2-rjs9w27t.mjs +0 -14
  765. package/dist/chunks/output-style-0.6.2-n76v4e26.mjs +0 -1
  766. package/dist/chunks/package-D6422PQU-0.6.2-cymw10eg.mjs +0 -1
  767. package/dist/chunks/parseConnectUrl-0.6.2-qy2dp99f.mjs +0 -1
  768. package/dist/chunks/parser-0.6.2-xgg5gh3g.mjs +0 -1
  769. package/dist/chunks/passes-0.6.2-kadygcw6.mjs +0 -1
  770. package/dist/chunks/permissions-0.6.2-hv22h5gm.mjs +0 -3
  771. package/dist/chunks/plan-0.6.2-hzbsezab.mjs +0 -1
  772. package/dist/chunks/plist-0.6.2-hkq2x0x5.mjs +0 -1
  773. package/dist/chunks/plugin-0.6.2-pr48413e.mjs +0 -29
  774. package/dist/chunks/pluginStartupCheck-0.6.2-zfb8qack.mjs +0 -1
  775. package/dist/chunks/plugins-0.6.2-hx8jrngg.mjs +0 -9
  776. package/dist/chunks/preActionHook-0.6.2-pac7p55h.mjs +0 -2
  777. package/dist/chunks/print-0.6.2-ng7p0m66.mjs +0 -57
  778. package/dist/chunks/privacy-settings-0.6.2-awj1k33j.mjs +0 -1
  779. package/dist/chunks/process-0.6.2-7k26fk4b.mjs +0 -1
  780. package/dist/chunks/processBashCommand-0.6.2-379q2wr4.mjs +0 -1
  781. package/dist/chunks/processSlashCommand-0.6.2-7zk4c0n0.mjs +0 -9
  782. package/dist/chunks/prompt-0.6.2-c2vevj59.mjs +0 -1
  783. package/dist/chunks/prompt-0.6.2-szkc5jgm.mjs +0 -1
  784. package/dist/chunks/prompts-0.6.2-s8z9fmgq.mjs +0 -1
  785. package/dist/chunks/protocolHandler-0.6.2-wc5pcv21.mjs +0 -13
  786. package/dist/chunks/provider-0.6.2-nbcrfwt5.mjs +0 -2
  787. package/dist/chunks/providerProfiles-0.6.2-r9j184kz.mjs +0 -1
  788. package/dist/chunks/providerValidation-0.6.2-4h7yr0x2.mjs +0 -6
  789. package/dist/chunks/rate-limit-options-0.6.2-dbvvmtas.mjs +0 -1
  790. package/dist/chunks/registerSubcommands-0.6.2-w8y8efwa.mjs +0 -34
  791. package/dist/chunks/registry-0.6.2-8xcdw66w.mjs +0 -1
  792. package/dist/chunks/release-notes-0.6.2-xtnhsjps.mjs +0 -5
  793. package/dist/chunks/reload-plugins-0.6.2-hhgdgy2j.mjs +0 -2
  794. package/dist/chunks/remote-env-0.6.2-9tdvzj0q.mjs +0 -1
  795. package/dist/chunks/remoteBridgeCore-0.6.2-y9spfxbw.mjs +0 -1
  796. package/dist/chunks/remoteSession-0.6.2-pb3185rt.mjs +0 -1
  797. package/dist/chunks/rename-0.6.2-z5pwd75p.mjs +0 -1
  798. package/dist/chunks/replBridgeHandle-0.6.2-epcyvrf1.mjs +0 -1
  799. package/dist/chunks/replLauncher-0.6.2-yk4q9w0s.mjs +0 -1
  800. package/dist/chunks/resume-0.6.2-wwmdq5gh.mjs +0 -2
  801. package/dist/chunks/rewind-0.6.2-keb5hdgr.mjs +0 -1
  802. package/dist/chunks/rootOptions-0.6.2-hprbxscd.mjs +0 -1
  803. package/dist/chunks/sandbox-adapter-0.6.2-4ntc8ewv.mjs +0 -1
  804. package/dist/chunks/sandbox-toggle-0.6.2-5zdhe1qf.mjs +0 -1
  805. package/dist/chunks/session-0.6.2-k41jbqwf.mjs +0 -2
  806. package/dist/chunks/sessionDiscovery-0.6.2-x9rwtkey.mjs +0 -1
  807. package/dist/chunks/sessionFileAccessHooks-0.6.2-0ska7d2r.mjs +0 -1
  808. package/dist/chunks/sessionStorage-0.6.2-0brgsadt.mjs +0 -1
  809. package/dist/chunks/settings-0.6.2-cgwa4c0s.mjs +0 -1
  810. package/dist/chunks/setup-0.6.2-vqm3xhrr.mjs +0 -5
  811. package/dist/chunks/sinks-0.6.2-p6ftcdrs.mjs +0 -1
  812. package/dist/chunks/skills-0.6.2-87j1kdxj.mjs +0 -1
  813. package/dist/chunks/startupProfiler-0.6.2-173hw815.mjs +0 -1
  814. package/dist/chunks/startupUpdateCheck-0.6.2-4364mejf.mjs +0 -1
  815. package/dist/chunks/state-0.6.2-nymhw7ey.mjs +0 -1
  816. package/dist/chunks/stats-0.6.2-skm9nakv.mjs +0 -6
  817. package/dist/chunks/status-0.6.2-wfm0ahb8.mjs +0 -1
  818. package/dist/chunks/stickers-0.6.2-nze85ck5.mjs +0 -1
  819. package/dist/chunks/subprocessEnv-0.6.2-vktss3j3.mjs +0 -1
  820. package/dist/chunks/tasks-0.6.2-hfy99qn9.mjs +0 -1
  821. package/dist/chunks/teamHelpers-0.6.2-ep254ybc.mjs +0 -1
  822. package/dist/chunks/teammateModeSnapshot-0.6.2-ecyswt3z.mjs +0 -1
  823. package/dist/chunks/teleport-0.6.2-ve5pmdye.mjs +0 -1
  824. package/dist/chunks/terminalSetup-0.6.2-wxnysmg4.mjs +0 -1
  825. package/dist/chunks/theme-0.6.2-r6cak2qv.mjs +0 -1
  826. package/dist/chunks/thinkback-0.6.2-9svbgrtq.mjs +0 -1
  827. package/dist/chunks/thinkback-play-0.6.2-22rfv6x5.mjs +0 -1
  828. package/dist/chunks/toolPool-0.6.2-znz9vm50.mjs +0 -1
  829. package/dist/chunks/toolSearch-0.6.2-nsf80s0q.mjs +0 -1
  830. package/dist/chunks/tools-0.6.2-wcxfbgtv.mjs +0 -1
  831. package/dist/chunks/trustedDevice-0.6.2-ab0ftpnm.mjs +0 -1
  832. package/dist/chunks/turndown.cjs-0.6.2-g0zf33kq.mjs +0 -69
  833. package/dist/chunks/ultrareviewCommand-0.6.2-8c0jzztb.mjs +0 -4
  834. package/dist/chunks/update-0.6.2-p8edrwg4.mjs +0 -86
  835. package/dist/chunks/upgrade-0.6.2-wkscvr1z.mjs +0 -1
  836. package/dist/chunks/upstreamproxy-0.6.2-0bdt5gtr.mjs +0 -14
  837. package/dist/chunks/url-handler-napi-0.6.2-rgywhzs5.mjs +0 -1
  838. package/dist/chunks/usage-0.6.2-mkckbqy2.mjs +0 -1
  839. package/dist/chunks/util-0.6.2-yet75ms4.mjs +0 -1
  840. package/dist/chunks/utils-0.6.2-pedaa5s8.mjs +0 -1
  841. package/dist/chunks/vim-0.6.2-m8vm39s8.mjs +0 -1
  842. package/dist/chunks/watcher-0.6.2-apxj1t3y.mjs +0 -1
  843. package/dist/chunks/wiki-0.6.2-wztzwvgx.mjs +0 -132
  844. package/dist/chunks/worktree-0.6.2-jvbqmswq.mjs +0 -1
  845. package/dist/chunks/worktreeModeEnabled-0.6.2-bq8z3zp7.mjs +0 -1
  846. package/dist/chunks/wrapper-0.6.2-wwg8e756.mjs +0 -7
  847. /package/dist/chunks/{cli-0.6.2-7p1ykg1m.mjs → cli-0.6.4-0dsecg4e.mjs} +0 -0
  848. /package/dist/chunks/{cli-0.6.2-1e5p6hw6.mjs → cli-0.6.4-a772rm3j.mjs} +0 -0
  849. /package/dist/chunks/{cli-0.6.2-adegz2m3.mjs → cli-0.6.4-ms7sef7r.mjs} +0 -0
  850. /package/dist/chunks/{cli-0.6.2-hb4fz4pd.mjs → cli-0.6.4-p7q1dk2n.mjs} +0 -0
  851. /package/dist/chunks/{cli-0.6.2-hkgnx8g7.mjs → cli-0.6.4-pdn08sja.mjs} +0 -0
  852. /package/dist/chunks/{cli-0.6.2-3eaaj6e5.mjs → cli-0.6.4-sd36e6nd.mjs} +0 -0
  853. /package/dist/chunks/{cli-0.6.2-qk6j042k.mjs → cli-0.6.4-vs7kwtc6.mjs} +0 -0
@@ -1,2 +0,0 @@
1
- import{Hh as H,Jh as C}from"./cli-0.6.2-ahaj5z3h.mjs";import{Kh as k,Lh as y}from"./cli-0.6.2-w9trxbjc.mjs";import{G0 as X,I0 as Y,N0 as R}from"./cli-0.6.2-1b9hx344.mjs";import{P0 as G,Q0 as m}from"./cli-0.6.2-2ewwghbe.mjs";import{J4 as B,Y4 as f,r1 as w,s1 as E}from"./cli-0.6.2-ea8z1e2e.mjs";import{Ada as Q,Gba as S,Ida as D,Jba as j,cca as x}from"./cli-0.6.2-hhjx89cr.mjs";import{aga as V,bga as b}from"./cli-0.6.2-qec7nrgw.mjs";import{Koa as I,soa as W}from"./cli-0.6.2-xnn1c5kd.mjs";import{hpa as Z}from"./cli-0.6.2-3rgtxc9f.mjs";async function _(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests`;return(await W.post(J,L,{headers:K})).data}async function $(L,N){let{accessToken:P,orgUUID:K}=await X(),J={...Y(P),"x-organization-uuid":K},F=`${V().BASE_API_URL}/api/oauth/organizations/${K}/admin_requests/me?request_type=${L}`;for(let v of N)F+=`&statuses=${v}`;return(await W.get(F,{headers:J})).data}async function z(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests/eligibility?request_type=${L}`;return(await W.get(J,{headers:K})).data}var M=Z(()=>{I();b();R()});async function i(){if(!j().hasVisitedExtraUsage)S((J)=>({...J,hasVisitedExtraUsage:!0}));H();let L=B(),N=L==="team"||L==="enterprise";if(!w()&&N){let J;try{J=(await k())?.extra_usage}catch(F){Q(F)}if(J?.is_enabled&&J.monthly_limit===null)return{type:"message",value:"Your organization already has unlimited extra usage. No request needed."};try{if((await z("limit_increase"))?.is_allowed===!1)return{type:"message",value:"Please contact your admin to manage extra usage settings."}}catch(F){Q(F)}try{let F=await $("limit_increase",["pending","dismissed"]);if(F&&F.length>0)return{type:"message",value:"You have already submitted a request for extra usage to your admin."}}catch(F){Q(F)}try{return await _({request_type:"limit_increase",details:null}),{type:"message",value:J?.is_enabled?"Request sent to your admin to increase extra usage.":"Request sent to your admin to enable extra usage."}}catch(F){Q(F)}return{type:"message",value:"Please contact your admin to manage extra usage settings."}}let K=N?"https://claude.ai/admin-settings/usage":"https://claude.ai/settings/usage";try{let J=await G(K);return{type:"browser-opened",url:K,opened:J}}catch(J){return Q(J),{type:"message",value:`Failed to open browser. Please visit ${K} to manage extra usage.`}}}var A=Z(()=>{M();C();y();f();E();m();x();D()});
2
- export{i as Eh,A as Fh};
@@ -1,3 +0,0 @@
1
- import{RW as t,RY as o,_W as p,iY as j,jY as s,kY as F,mY as V}from"./cli-0.6.2-4r69ge5f.mjs";import{p0 as w,q0 as g,r0 as y}from"./cli-0.6.2-jrpted0b.mjs";import{D7 as _,E7 as n,w7 as $,x7 as a}from"./cli-0.6.2-hhjx89cr.mjs";import{dpa as i,hpa as v}from"./cli-0.6.2-3rgtxc9f.mjs";function l(J,q,M,G){return G=typeof G=="function"?G:void 0,J==null?J:_(J,q,M,G)}var b;var f=v(()=>{n();b=l});function x(J,q={}){let{showValues:M=!0,hideFunctions:G=!1,themeName:W="dark",treeCharColors:Q={}}=q,X=[],I=new WeakSet;function Z(Y,D){if(!D)return Y;return j(D,W)(Y)}function N(Y,D,S,A=0){if(typeof Y==="string"){X.push(D+Z(Y,Q.value));return}if(typeof Y!=="object"||Y===null){if(M){let H=String(Y);X.push(D+Z(H,Q.value))}return}if(I.has(Y)){X.push(D+Z("[Circular]",Q.value));return}I.add(Y);let L=Object.keys(Y).filter((H)=>{let E=Y[H];if(G&&typeof E==="function")return!1;return!0});L.forEach((H,E)=>{let U=Y[H],P=E===L.length-1,T=A===0&&E===0?"":D,u=P?R.lastBranch:R.branch,d=Z(u,Q.treeChar),C=H.trim()===""?"":Z(H,Q.key),B=T+d+(C?" "+C:""),z=H.trim()!=="";if(U&&typeof U==="object"&&I.has(U)){let K=Z("[Circular]",Q.value);X.push(B+(z?": ":B?" ":"")+K)}else if(U&&typeof U==="object"&&!Array.isArray(U)){X.push(B);let K=P?R.empty:R.line,k=Z(K,Q.treeChar),c=T+k+" ";N(U,c,P,A+1)}else if(Array.isArray(U))X.push(B+(z?": ":B?" ":"")+"[Array("+U.length+")]");else if(M){let K=typeof U==="function"?"[Function]":String(U),k=Z(K,Q.value);B+=(z?": ":B?" ":"")+k,X.push(B)}else X.push(B)})}let O=Object.keys(J);if(O.length===0)return Z("(empty)",Q.value);if(O.length===1&&O[0]!==void 0&&O[0].trim()===""&&typeof J[O[0]]==="string"){let Y=O[0],D=Z(R.lastBranch,Q.treeChar),S=Z(J[Y],Q.value);return D+" "+S}return N(J,"",!0),X.join(`
2
- `)}var R;var m=v(()=>{a();s();R={branch:$.lineUpDownRight,lastBranch:$.lineUpRight,line:$.lineVertical,empty:" "}});function r(J){let q={};return J.forEach((M)=>{if(!M.path){q[""]=M.message;return}let G=M.path.split("."),W=M.path;if(M.invalidValue!==null&&M.invalidValue!==void 0&&G.length>0){let Q=[];for(let X=0;X<G.length;X++){let I=G[X];if(!I)continue;let Z=parseInt(I,10);if(!isNaN(Z)&&X===G.length-1){let N;if(typeof M.invalidValue==="string")N=`"${M.invalidValue}"`;else if(M.invalidValue===null)N="null";else if(M.invalidValue===void 0)N="undefined";else N=String(M.invalidValue);Q.push(N)}else Q.push(I)}W=Q.join(".")}b(q,W,M.message,Object)}),q}function Hq(J){let q=h.c(9),{errors:M}=J,[G]=p();if(M.length===0)return null;let W,Q,X;if(q[0]!==M||q[1]!==G){let Z=M.reduce(Jq,{}),N=Object.keys(Z).sort();W=F,Q="column",X=N.map((O)=>{let Y=Z[O]||[];Y.sort(qq);let D=r(Y),S=new Map;Y.forEach((L)=>{if(L.suggestion||L.docLink){let H=`${L.suggestion||""}|${L.docLink||""}`;if(!S.has(H))S.set(H,{suggestion:L.suggestion,docLink:L.docLink})}});let A=x(D,{showValues:!0,themeName:G,treeCharColors:{treeChar:"inactive",key:"text",value:"inactive"}});return g(F,{flexDirection:"column",children:[w(V,{children:O}),w(F,{marginLeft:1,children:w(V,{dimColor:!0,children:A})}),S.size>0&&w(F,{flexDirection:"column",marginTop:1,children:Array.from(S.values()).map(e)})]},O)}),q[0]=M,q[1]=G,q[2]=W,q[3]=Q,q[4]=X}else W=q[2],Q=q[3],X=q[4];let I;if(q[5]!==W||q[6]!==Q||q[7]!==X)I=w(W,{flexDirection:Q,children:X}),q[5]=W,q[6]=Q,q[7]=X,q[8]=I;else I=q[8];return I}function e(J,q){return g(F,{flexDirection:"column",marginBottom:1,children:[J.suggestion&&w(V,{dimColor:!0,wrap:"wrap",children:J.suggestion}),J.docLink&&g(V,{dimColor:!0,wrap:"wrap",children:["Learn more: ",J.docLink]})]},`suggestion-pair-${q}`)}function qq(J,q){if(!J.path&&q.path)return-1;if(J.path&&!q.path)return 1;return(J.path||"").localeCompare(q.path||"")}function Jq(J,q){let M=q.file||"(file not specified)";if(!J[M])J[M]=[];return J[M].push(q),J}var h;var Mq=v(()=>{f();o();m();y();h=i(t(),1)});
3
- export{Hq as xf,Mq as yf};
@@ -1,2 +0,0 @@
1
- import{w0 as K,y0 as Z}from"./cli-0.6.2-1y907j57.mjs";import{B0 as Y,z0 as J}from"./cli-0.6.2-4a5t390f.mjs";import{D4 as F,E4 as G,G1 as B,L1 as W,Y4 as X,y4 as D}from"./cli-0.6.2-ea8z1e2e.mjs";import{aga as y,bga as Q}from"./cli-0.6.2-qec7nrgw.mjs";import{Koa as V,soa as z}from"./cli-0.6.2-xnn1c5kd.mjs";import{hpa as N}from"./cli-0.6.2-3rgtxc9f.mjs";async function P(){if(!F()||!G())return{};let w=D();if(w&&B(w.expiresAt))return null;let q=K();if(q.error)throw Error(`Auth error: ${q.error}`);let L={"Content-Type":"application/json","User-Agent":J(),...q.headers},M=`${y().BASE_API_URL}/api/oauth/usage`;return(await z.get(M,{headers:L,timeout:5000})).data}var _=N(()=>{V();Q();X();Z();Y();W()});
2
- export{P as Kh,_ as Lh};
@@ -1,2 +0,0 @@
1
- import{I8 as _,s8 as Q}from"./cli-0.6.2-hhjx89cr.mjs";import{ofa as I,pfa as X}from"./cli-0.6.2-d3ykxc81.mjs";import{eha as B,hha as V}from"./cli-0.6.2-g6c6hjc6.mjs";import{hpa as T}from"./cli-0.6.2-3rgtxc9f.mjs";function j(){A.clear()}async function P(){let f=await Y();if(!f)return null;if(f.host!=="github.com")return null;return`${f.owner}/${f.name}`}async function Y(){let f=I();if(A.has(f))return A.get(f)??null;try{let q=await Q();if(B(`Git remote URL: ${q}`),!q)return B("No git remote URL found"),A.set(f,null),null;let x=O(q);return B(`Parsed repository: ${x?`${x.host}/${x.owner}/${x.name}`:null} from URL: ${q}`),A.set(f,x),x}catch(q){return B(`Error detecting repository: ${q}`),A.set(f,null),null}}function S(){let f=A.get(I());if(!f||f.host!=="github.com")return null;return`${f.owner}/${f.name}`}function O(f){let q=f.trim(),x=q.match(/^git@([^:]+):([^/]+)\/([^/]+?)(?:\.git)?$/);if(x?.[1]&&x[2]&&x[3]){if(!N(x[1]))return null;return{host:x[1],owner:x[2],name:x[3]}}let z=q.match(/^(https?|ssh|git):\/\/(?:[^@]+@)?([^/:]+(?::\d+)?)\/([^/]+)\/([^/]+?)(?:\.git)?$/);if(z?.[1]&&z[2]&&z[3]&&z[4]){let E=z[1],J=z[2],K=J.split(":")[0]??"";if(!N(K))return null;return{host:E==="https"||E==="http"?J:K,owner:z[3],name:z[4]}}return null}function D(f){let q=f.trim(),x=O(q);if(x){if(x.host!=="github.com")return null;return`${x.owner}/${x.name}`}if(!q.includes("://")&&!q.includes("@")&&q.includes("/")){let z=q.split("/");if(z.length===2&&z[0]&&z[1]){let E=z[1].replace(/\.git$/,"");return`${z[0]}/${E}`}}return B(`Could not parse repository from: ${q}`),null}function N(f){if(!f.includes("."))return!1;let q=f.split(".").pop();if(!q)return!1;return/^[a-zA-Z]+$/.test(q)}var A;var Z=T(()=>{X();V();_();A=new Map});
2
- export{j as h7,P as i7,Y as j7,S as k7,O as l7,D as m7,Z as n7};
@@ -1,12 +0,0 @@
1
- import{Ff as $Z,Gf as uZ,Hf as fz}from"./cli-0.6.2-1ahapm20.mjs";import{Lg as GJ,Mg as Bz}from"./cli-0.6.2-j05kmd43.mjs";import{oh as HJ,ph as Vz}from"./cli-0.6.2-red287ya.mjs";import{$t as EQ,Dm as XQ,Fm as xZ,Fy as e0,Gi as _Z,Gy as gJ,Hi as TQ,Hy as mJ,Iy as nJ,JQ as VQ,Jx as pQ,Jy as yz,Kx as PX,MN as mQ,NQ as KQ,Pi as IJ,Pm as WQ,QQ as fZ,Qi as SJ,Rx as dQ,Sx as DX,Tm as uz,Tt as UQ,Ut as jQ,Vt as $Q,Wt as uQ,Xi as pJ,_t as MQ,aR as BQ,bO as nQ,dr as NJ,fO as iQ,fm as zQ,gO as lQ,gm as $z,hr as Uz,iO as nZ,jO as aQ,lO as g0,lu as fQ,mO as rQ,mj as mZ,nj as FX,nm as RQ,oO as eJ,om as wX,ou as AX,pO as ZQ,qO as oQ,rO as tQ,tO as OZ,uy as SZ,vy as hZ,wy as TZ,xy as dJ,yy as cQ,zy as cJ}from"./cli-0.6.2-4p9wa0p6.mjs";import{BS as OX,sS as xQ}from"./cli-0.6.2-rpxhzchp.mjs";import{ZV as FZ,_V as qJ,oW as YJ,sW as qz,tW as UZ,uW as NX}from"./cli-0.6.2-vfdaj8xa.mjs";import{HW as WJ,IW as Wz,OX as jZ,PX as Jz,RW as u0,RY as p0,dY as hQ,eY as KX,kY as b,lX as c0,lY as DQ,mY as g,nY as JX,pX as vZ}from"./cli-0.6.2-4r69ge5f.mjs";import{o0 as f0,p0 as B,q0 as $,r0 as F0}from"./cli-0.6.2-jrpted0b.mjs";import{s0 as S0}from"./cli-0.6.2-d3y2w089.mjs";import{O0 as VJ,P0 as BJ,Q0 as Yz}from"./cli-0.6.2-2ewwghbe.mjs";import{$3 as QZ,D4 as QQ,S3 as PQ,T3 as ZX,Y3 as JZ,Y4 as xz,t4 as JQ}from"./cli-0.6.2-ea8z1e2e.mjs";import{s5 as gZ,t5 as GX}from"./cli-0.6.2-aqxemf9h.mjs";import{$$ as LZ,Jba as DZ,P_ as LX,cca as HQ,haa as XJ,v_ as SQ,w7 as v0,x7 as zJ}from"./cli-0.6.2-hhjx89cr.mjs";import{Nda as PZ,Oda as TJ,Yda as ZZ,dea as hz}from"./cli-0.6.2-73vnf2t2.mjs";import{Bfa as KZ,Gfa as wZ,Hfa as NZ,Tfa as Dz,ofa as RZ,pfa as Rz}from"./cli-0.6.2-d3ykxc81.mjs";import{eha as m0,hha as ez}from"./cli-0.6.2-g6c6hjc6.mjs";import{Lha as IQ,Vha as HX}from"./cli-0.6.2-gqbd9ax6.mjs";import{Vma as kQ,yna as BX}from"./cli-0.6.2-42d88f3r.mjs";import{dpa as N0,hpa as L0}from"./cli-0.6.2-3rgtxc9f.mjs";function MZ(){if($0!==null)clearTimeout($0),$0=null;bZ=Date.now();for(let J of BZ)J()}function Qz(){if($0!==null)return;let J=Date.now()-bZ;if(J>=jZ){MZ();return}$0=setTimeout(MZ,jZ-J)}function iZ(){return EZ.useSyncExternalStore(s0.subscribe,s0.getSnapshot)}function TX(){return EZ.useSyncExternalStore(s0.subscribe,s0.getPresenceSnapshot)}var EZ,x0=null,BZ,$0=null,bZ=0,s0;var lZ=L0(()=>{Jz();EZ=N0(S0(),1),BZ=new Set;s0={update(J){let Z=x0;if(x0=J(Z),x0===Z)return;if(Z===null!==(x0===null))MZ();else Qz()},clear(){s0.update(()=>null)},read(){return x0},subscribe(J){return BZ.add(J),()=>{BZ.delete(J)}},getSnapshot(){return x0},getPresenceSnapshot(){return x0!==null},resetForTesting(){if($0!==null)clearTimeout($0),$0=null;x0=null,bZ=0,BZ.clear()}}});function sZ(J){let Z=HZ.c(6),{children:Q}=J,[z,X]=K0.useState(null),[W,q]=K0.useState(null),V;if(Z[0]!==Q||Z[1]!==W)V=B(oZ.Provider,{value:W,children:Q}),Z[0]=Q,Z[1]=W,Z[2]=V;else V=Z[2];let Y;if(Z[3]!==z||Z[4]!==V)Y=B(rZ.Provider,{value:X,children:B(tZ.Provider,{value:q,children:B(aZ.Provider,{value:z,children:V})})}),Z[3]=z,Z[4]=V,Z[5]=Y;else Y=Z[5];return Y}function eZ(){return K0.useContext(aZ)}function ZJ(){return K0.useContext(oZ)}function xX(J){let Z=HZ.c(8),Q=K0.useContext(rZ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];K0.useEffect(z,X),K0.useEffect(W,q)}function $X(J){let Z=HZ.c(8),Q=K0.useContext(tZ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];K0.useEffect(z,X),K0.useEffect(W,q)}var HZ,K0,aZ,rZ,oZ,tZ;var JJ=L0(()=>{F0();HZ=N0(u0(),1),K0=N0(S0(),1),aZ=K0.createContext(null),rZ=K0.createContext(null),oZ=K0.createContext(null),tZ=K0.createContext(null)});function GZ(J){return J.type==="attachment"&&Xz.has(J.attachment.type)}var zz,Xz;var CZ=L0(()=>{zz=["hook_success","hook_additional_context","hook_cancelled","command_permissions","agent_mention","budget_usd","critical_system_reminder","edited_image_file","edited_text_file","opened_file_in_ide","output_style","plan_mode","plan_mode_exit","plan_mode_reentry","structured_output","team_context","todo_reminder","context_efficiency","deferred_tools_delta","mcp_instructions_delta","companion_intro","token_usage","ultrathink_effort","max_turns_reached","task_reminder","auto_mode","auto_mode_exit","output_token_usage","pen_mode_enter","pen_mode_exit","verify_plan_reminder","current_session_memory","compaction_reminder","date_change","bash_git_instructions","claude_md_delta","git_status_delta","memory_delta","todo_reminder_delta"],Xz=new Set(zz)});import{fileURLToPath as Hz}from"url";function QW(J){let[Z,Q]=q0.useState(null),z=q0.useRef(J);z.current=J;let X=q0.useRef(null),W=q0.useCallback(()=>{Q(null)},[]),q=q0.useCallback((K)=>{let F=Math.max(0,K.getScrollHeight()-K.getViewportHeight());if(K.getScrollTop()+K.getPendingDelta()>=F)return;if(X.current===null)X.current=K.getScrollHeight(),Q(z.current)},[]),V=q0.useCallback((K)=>{if(!K)return;K.scrollToBottom()},[]);q0.useEffect(()=>{if(Z===null)X.current=null;else if(J<Z)X.current=null,Q(null)},[J,Z]);let Y=q0.useCallback((K,F)=>{if(Q((P)=>P===null?null:P+K),X.current!==null)X.current+=F},[]);return{dividerIndex:Z,dividerYRef:X,onScrollAway:q,onRepin:W,jumpToNew:V,shiftDivider:Y}}function Gz(J,Z){let Q=0,z=!1;for(let X=Z;X<J.length;X++){let W=J[X];if(W.type==="progress")continue;if(W.type==="assistant"&&!Lz(W))continue;let q=W.type==="assistant";if(q&&!z)Q++;z=q}return Q}function Lz(J){if(J.type!=="assistant")return!1;for(let Z of J.message.content)if(Z.type==="text"&&Z.text.trim()!=="")return!0;return!1}function zW(J,Z){if(Z===null)return;let Q=Z;while(Q<J.length&&(J[Q]?.type==="progress"||GZ(J[Q])))Q++;let z=J[Q]?.uuid;if(!z)return;let X=Gz(J,Z);return{firstUnseenUuid:z,count:Math.max(1,X)}}function XW(J){let Z=a0.c(47),{scrollable:Q,bottom:z,overlay:X,bottomFloat:W,modal:q,modalScrollRef:V,scrollRef:Y,dividerYRef:K,hidePill:F,hideSticky:P,newMessageCount:v,onPillClick:M}=J,S=F===void 0?!1:F,Z0=P===void 0?!1:P,d=v===void 0?0:v,{rows:O,columns:C}=FZ(),[_,w]=q0.useState(null),D;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))D={setStickyPrompt:w},Z[0]=D;else D=Z[0];let p=D,J0;if(Z[1]!==Y)J0=(h)=>Y?.current?.subscribe(h)??wz,Z[1]=Y,Z[2]=J0;else J0=Z[2];let E=J0,k;if(Z[3]!==K||Z[4]!==Y)k=()=>{let h=Y?.current,z0=K?.current;if(!h||z0==null)return!1;return h.getScrollTop()+h.getPendingDelta()+h.getViewportHeight()<z0},Z[3]=K,Z[4]=Y,Z[5]=k;else k=Z[5];let H0=q0.useSyncExternalStore(E,k),Y0;if(Z[6]===Symbol.for("react.memo_cache_sentinel"))Y0=[],Z[6]=Y0;else Y0=Z[6];if(q0.useLayoutEffect(Fz,Y0),c0()){let h=Z0?null:_,z0=h!=null&&h!=="clicked"&&X==null?h:null,Q0=h!=null&&X==null,X0;if(Z[7]!==z0)X0=z0&&B(Oz,{text:z0.text,onClick:z0.scrollTo}),Z[7]=z0,Z[8]=X0;else X0=Z[8];let O0=Q0?0:1,T;if(Z[9]!==Q)T=B(yZ,{value:p,children:Q}),Z[9]=Q,Z[10]=T;else T=Z[10];let i;if(Z[11]!==X||Z[12]!==Y||Z[13]!==T||Z[14]!==O0)i=$(GJ,{ref:Y,flexGrow:1,flexDirection:"column",paddingTop:O0,stickyScroll:!0,children:[T,X]}),Z[11]=X,Z[12]=Y,Z[13]=T,Z[14]=O0,Z[15]=i;else i=Z[15];let o;if(Z[16]!==S||Z[17]!==d||Z[18]!==M||Z[19]!==X||Z[20]!==H0)o=!S&&H0&&X==null&&B(Nz,{count:d,onClick:M}),Z[16]=S,Z[17]=d,Z[18]=M,Z[19]=X,Z[20]=H0,Z[21]=o;else o=Z[21];let t;if(Z[22]!==W)t=W!=null&&B(b,{position:"absolute",bottom:0,right:0,opaque:!0,children:W}),Z[22]=W,Z[23]=t;else t=Z[23];let I;if(Z[24]!==i||Z[25]!==o||Z[26]!==t||Z[27]!==X0)I=$(b,{flexGrow:1,flexDirection:"column",overflow:"hidden",children:[X0,i,o,t]}),Z[24]=i,Z[25]=o,Z[26]=t,Z[27]=X0,Z[28]=I;else I=Z[28];let W0,N;if(Z[29]===Symbol.for("react.memo_cache_sentinel"))W0=B(Az,{}),N=B(Pz,{}),Z[29]=W0,Z[30]=N;else W0=Z[29],N=Z[30];let U;if(Z[31]!==z)U=$(b,{flexDirection:"column",flexShrink:0,width:"100%",maxHeight:"50%",children:[W0,N,B(b,{flexDirection:"column",width:"100%",flexGrow:1,overflowY:"hidden",children:z})]}),Z[31]=z,Z[32]=U;else U=Z[32];let R;if(Z[33]!==C||Z[34]!==q||Z[35]!==V||Z[36]!==O)R=q!=null&&B(YJ,{value:{rows:O-QJ-1,columns:C-4,scrollRef:V??null},children:$(b,{position:"absolute",bottom:0,left:0,right:0,maxHeight:O-QJ,flexDirection:"column",overflow:"hidden",opaque:!0,children:[B(b,{flexShrink:0,children:B(g,{color:"permission",children:"▔".repeat(C)})}),B(b,{flexDirection:"column",paddingX:2,flexShrink:0,overflow:"hidden",children:q})]})}),Z[33]=C,Z[34]=q,Z[35]=V,Z[36]=O,Z[37]=R;else R=Z[37];let s;if(Z[38]!==I||Z[39]!==U||Z[40]!==R)s=$(sZ,{children:[I,U,R]}),Z[38]=I,Z[39]=U,Z[40]=R,Z[41]=s;else s=Z[41];return s}let l;if(Z[42]!==z||Z[43]!==q||Z[44]!==X||Z[45]!==Q)l=$(f0,{children:[Q,z,X,q]}),Z[42]=z,Z[43]=q,Z[44]=X,Z[45]=Q,Z[46]=l;else l=Z[46];return l}function Fz(){if(!c0())return;let J=WJ.get(process.stdout);if(!J)return;return J.onHyperlinkClick=Kz,()=>{J.onHyperlinkClick=void 0}}function Kz(J){if(J.startsWith("file:"))try{VJ(Hz(J))}catch{}else BJ(J)}function wz(){}function Nz(J){let Z=a0.c(10),{count:Q,onClick:z}=J,[X,W]=q0.useState(!1),q,V;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=()=>W(!0),V=()=>W(!1),Z[0]=q,Z[1]=V;else q=Z[0],V=Z[1];let Y=X?"userMessageBackgroundHover":"userMessageBackground",K;if(Z[2]!==Q)K=Q>0?`${Q} new ${LZ(Q,"message")}`:"Jump to bottom",Z[2]=Q,Z[3]=K;else K=Z[3];let F;if(Z[4]!==Y||Z[5]!==K)F=$(g,{backgroundColor:Y,dimColor:!0,children:[" ",K," ",v0.arrowDown," "]}),Z[4]=Y,Z[5]=K,Z[6]=F;else F=Z[6];let P;if(Z[7]!==z||Z[8]!==F)P=B(b,{position:"absolute",bottom:0,left:0,right:0,justifyContent:"center",children:B(b,{onClick:z,onMouseEnter:q,onMouseLeave:V,children:F})}),Z[7]=z,Z[8]=F,Z[9]=P;else P=Z[9];return P}function Oz(J){let Z=a0.c(8),{text:Q,onClick:z}=J,[X,W]=q0.useState(!1),q=X?"userMessageBackgroundHover":"userMessageBackground",V,Y;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))V=()=>W(!0),Y=()=>W(!1),Z[0]=V,Z[1]=Y;else V=Z[0],Y=Z[1];let K;if(Z[2]!==Q)K=$(g,{color:"subtle",wrap:"truncate-end",children:[v0.pointer," ",Q]}),Z[2]=Q,Z[3]=K;else K=Z[3];let F;if(Z[4]!==z||Z[5]!==q||Z[6]!==K)F=B(b,{flexShrink:0,width:"100%",height:1,paddingRight:1,backgroundColor:q,onClick:z,onMouseEnter:V,onMouseLeave:Y,children:K}),Z[4]=z,Z[5]=q,Z[6]=K,Z[7]=F;else F=Z[7];return F}function Az(){let J=a0.c(4),Z=eZ();if(!Z||Z.suggestions.length===0)return null;let Q;if(J[0]!==Z.maxColumnWidth||J[1]!==Z.selectedSuggestion||J[2]!==Z.suggestions)Q=B(b,{position:"absolute",bottom:"100%",left:0,right:0,paddingX:2,paddingTop:1,flexDirection:"column",opaque:!0,children:B(HJ,{suggestions:Z.suggestions,selectedSuggestion:Z.selectedSuggestion,maxColumnWidth:Z.maxColumnWidth,overlay:!0})}),J[0]=Z.maxColumnWidth,J[1]=Z.selectedSuggestion,J[2]=Z.suggestions,J[3]=Q;else Q=J[3];return Q}function Pz(){let J=a0.c(2),Z=ZJ();if(!Z)return null;let Q;if(J[0]!==Z)Q=B(b,{position:"absolute",bottom:"100%",left:0,right:0,opaque:!0,children:Z}),J[0]=Z,J[1]=Q;else Q=J[1];return Q}var a0,q0,QJ=2,yZ;var LJ=L0(()=>{zJ();qz();JJ();qJ();Bz();Wz();p0();Yz();vZ();XJ();CZ();Vz();F0();a0=N0(u0(),1),q0=N0(S0(),1),yZ=q0.createContext({setStickyPrompt:()=>{}})});function FJ(J,Z){for(let Q of J)if(!Z.has(Q))return!1;return!0}var KJ=()=>{};function wJ(J){if(J.type!=="user")return!1;let Z=J.message.content[0];if(Z?.type!=="text")return!1;if(!Z.text.includes(`<${KZ}`))return!1;if(_Z(Z.text,wZ)!=="completed")return!1;return _Z(Z.text,NZ)?.startsWith(NJ)??!1}function OJ(J,Z){if(!c0())return J;if(Z)return J;let Q=[],z=0;while(z<J.length){let X=J[z];if(wJ(X)){let W=0;while(z<J.length&&wJ(J[z]))W++,z++;if(W===1)Q.push(X);else Q.push({...X,message:{role:"user",content:[{type:"text",text:`<${KZ}><${wZ}>completed</${wZ}><${NZ}>${W} background commands completed</${NZ}></${KZ}>`}]}})}else Q.push(X),z++}return Q}var AJ=L0(()=>{Dz();Uz();vZ();OZ()});function PJ(J){return J.type==="system"&&J.subtype==="stop_hook_summary"&&J.hookLabel!==void 0}function DJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(PJ(z)){let X=z.hookLabel,W=[];while(Q<J.length){let q=J[Q];if(!PJ(q)||q.hookLabel!==X)break;W.push(q),Q++}if(W.length===1)Z.push(z);else Z.push({...z,hookCount:W.reduce((q,V)=>q+V.hookCount,0),hookInfos:W.flatMap((q)=>q.hookInfos),hookErrors:W.flatMap((q)=>q.hookErrors),preventedContinuation:W.some((q)=>q.preventedContinuation),hasOutput:W.some((q)=>q.hasOutput),totalDurationMs:Math.max(...W.map((q)=>q.totalDurationMs??0))})}else Z.push(z),Q++}return Z}var UJ=()=>{};function jJ(J){return J.type==="attachment"&&J.attachment.type==="task_status"&&J.attachment.taskType==="in_process_teammate"&&J.attachment.status==="completed"}function MJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(jJ(z)){let X=0;while(Q<J.length&&jJ(J[Q]))X++,Q++;if(X===1)Z.push(z);else Z.push({type:"attachment",uuid:z.uuid,timestamp:z.timestamp,attachment:{type:"teammate_shutdown_batch",count:X}})}else Z.push(z),Q++}return Z}var EJ=()=>{};function jz(J){let Z=bJ.get(J);if(!Z)Z=new Set(J.filter((Q)=>Q.renderGroupedToolUse).map((Q)=>Q.name)),bJ.set(J,Z);return Z}function kZ(J){if(J.type==="assistant"&&J.message.content[0]?.type==="tool_use"){let Z=J.message.content[0];return{messageId:J.message.id,toolUseId:Z.id,toolName:Z.name}}return null}function CJ(J,Z,Q=!1){if(Q)return{messages:J};let z=jz(Z),X=new Map;for(let F of J){let P=kZ(F);if(P&&z.has(P.toolName)){let v=`${P.messageId}:${P.toolName}`,M=X.get(v)??[];M.push(F),X.set(v,M)}}let W=new Map,q=new Set;for(let[F,P]of X)if(P.length>=2){W.set(F,P);for(let v of P){let M=kZ(v);if(M)q.add(M.toolUseId)}}let V=new Map;for(let F of J)if(F.type==="user"){for(let P of F.message.content)if(P.type==="tool_result"&&q.has(P.tool_use_id))V.set(P.tool_use_id,F)}let Y=[],K=new Set;for(let F of J){let P=kZ(F);if(P){let v=`${P.messageId}:${P.toolName}`,M=W.get(v);if(M){if(!K.has(v)){K.add(v);let S=M[0],Z0=[];for(let O of M){let C=O.message.content[0].id,_=V.get(C);if(_)Z0.push(_)}let d={type:"grouped_tool_use",toolName:P.toolName,messages:M,results:Z0,displayMessage:S,uuid:`grouped-${S.uuid}`,timestamp:S.timestamp,messageId:P.messageId};Y.push(d)}continue}}if(F.type==="user"){let v=F.message.content.filter((M)=>M.type==="tool_result");if(v.length>0){if(v.every((S)=>q.has(S.tool_use_id)))continue}}Y.push(F)}return{messages:Y}}var bJ;var vJ=L0(()=>{bJ=new WeakMap});function AZ(J){let Z=kJ.get(J);if(Z!==void 0)return Z;let Q=Mz(J).toLowerCase();return kJ.set(J,Q),Q}function Mz(J){let Z="";switch(J.type){case"user":{let X=J.message.content;if(typeof X==="string")Z=_J.has(X)?"":X;else{let W=[];for(let q of X)if(q.type==="text"){if(!_J.has(q.text))W.push(q.text)}else if(q.type==="tool_result")W.push(bz(J.toolUseResult));Z=W.join(`
2
- `)}break}case"assistant":{let X=J.message.content;if(Array.isArray(X))Z=X.flatMap((W)=>{if(W.type==="text")return[W.text];if(W.type==="tool_use")return[Ez(W.input)];return[]}).join(`
3
- `);break}case"attachment":{if(J.attachment.type==="relevant_memories")Z=J.attachment.memories.map((X)=>X.content).join(`
4
- `);else if(J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let X=J.attachment.prompt;Z=typeof X==="string"?X:X.flatMap((W)=>W.type==="text"?[W.text]:[]).join(`
5
- `)}break}case"collapsed_read_search":{if(J.relevantMemories)Z=J.relevantMemories.map((X)=>X.content).join(`
6
- `);break}default:break}let Q=Z,z=Q.indexOf("<system-reminder>");while(z>=0){let X=Q.indexOf(yJ,z);if(X<0)break;Q=Q.slice(0,z)+Q.slice(X+yJ.length),z=Q.indexOf("<system-reminder>")}return Q}function Ez(J){if(!J||typeof J!=="object")return"";let Z=J,Q=[];for(let z of["command","pattern","file_path","path","prompt","description","query","url","skill"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["args","files"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(" "))}return Q.join(`
7
- `)}function bz(J){if(!J||typeof J!=="object")return typeof J==="string"?J:"";let Z=J;if(typeof Z.stdout==="string"){let z=typeof Z.stderr==="string"?Z.stderr:"";return Z.stdout+(z?`
8
- `+z:"")}if(Z.file&&typeof Z.file==="object"&&typeof Z.file.content==="string")return Z.file.content;let Q=[];for(let z of["content","output","result","text","message"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["filenames","lines","results"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(`
9
- `))}return Q.join(`
10
- `)}var yJ="</system-reminder>",_J,kJ;var IZ=L0(()=>{OZ();_J=new Set([IJ,SJ]),kJ=new WeakMap});function RJ(J){let Z=hJ.c(5),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.type==="assistant"&&Q.message.model&&Q.message.content.some(Cz)))return null;let W=PZ(Q.message.model)+8,q;if(Z[0]!==Q.message.model)q=B(g,{dimColor:!0,children:Q.message.model}),Z[0]=Q.message.model,Z[1]=q;else q=Z[1];let V;if(Z[2]!==W||Z[3]!==q)V=B(b,{minWidth:W,children:q}),Z[2]=W,Z[3]=q,Z[4]=V;else V=Z[4];return V}function Cz(J){return J.type==="text"}var hJ;var xJ=L0(()=>{TJ();p0();F0();hJ=N0(u0(),1)});function uJ(J){let Z=$J.c(10),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.timestamp&&Q.type==="assistant"&&Q.message.content.some(vz)))return null;let W,q,V;if(Z[0]!==Q.timestamp)q=new Date(Q.timestamp).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0}),W=b,V=PZ(q),Z[0]=Q.timestamp,Z[1]=W,Z[2]=q,Z[3]=V;else W=Z[1],q=Z[2],V=Z[3];let Y;if(Z[4]!==q)Y=B(g,{dimColor:!0,children:q}),Z[4]=q,Z[5]=Y;else Y=Z[5];let K;if(Z[6]!==W||Z[7]!==V||Z[8]!==Y)K=B(W,{minWidth:V,children:Y}),Z[6]=W,Z[7]=V,Z[8]=Y,Z[9]=K;else K=Z[9];return K}function vz(J){return J.type==="text"}var $J;var fJ=L0(()=>{TJ();p0();F0();$J=N0(u0(),1)});function aJ(J,Z,Q,z){for(let X=Z+1;X<J.length;X++){let W=J[X];if(W?.type==="assistant"){let q=W.message.content[0];if(q?.type==="thinking"||q?.type==="redacted_thinking")continue;if(q?.type==="tool_use"){if(SZ(q.name,q.input,Q).isCollapsible)continue;if(z.has(q.id))continue}return!0}if(W?.type==="system"||W?.type==="attachment")continue;if(W?.type==="user"){if(W.message.content[0]?.type==="tool_result")continue}if(W?.type==="grouped_tool_use"){let q=W.messages[0]?.message.content[0]?.input;if(SZ(W.toolName,q,Q).isCollapsible)continue}return!0}return!1}function _z(J){let Z=iJ.c(64),{message:Q,isUserContinuation:z,hasContentAfter:X,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,streamingToolUseIDs:K,screen:F,canAnimate:P,onOpenRateLimitOptions:v,lastThinkingBlockId:M,latestBashOutputUUID:S,columns:Z0,isLoading:d,lookups:O}=J,C=F==="transcript",_=Q.type==="grouped_tool_use",w=Q.type==="collapsed_read_search",D;if(Z[0]!==X||Z[1]!==Y||Z[2]!==w||Z[3]!==d||Z[4]!==Q)D=w&&(TZ(Q,Y)||d&&!X),Z[0]=X,Z[1]=Y,Z[2]=w,Z[3]=d,Z[4]=Q,Z[5]=D;else D=Z[5];let p=D,J0;if(Z[6]!==w||Z[7]!==_||Z[8]!==Q)J0=_?Q.displayMessage:w?dJ(Q):Q,Z[6]=w,Z[7]=_,Z[8]=Q,Z[9]=J0;else J0=Z[9];let E=J0,k;if(Z[10]!==w||Z[11]!==_||Z[12]!==O||Z[13]!==Q)k=_||w?[]:ZQ(Q,O),Z[10]=w,Z[11]=_,Z[12]=O,Z[13]=Q,Z[14]=k;else k=Z[14];let H0=k,Y0;if(Z[15]!==Y||Z[16]!==w||Z[17]!==_||Z[18]!==O||Z[19]!==Q||Z[20]!==F||Z[21]!==K){let I=_||w?pJ:eJ(Q,O);Y0=tJ(Q,K,Y,I,F,O),Z[15]=Y,Z[16]=w,Z[17]=_,Z[18]=O,Z[19]=Q,Z[20]=F,Z[21]=K,Z[22]=Y0}else Y0=Z[22];let l=Y0,h=!1;if(P)if(_){let I;if(Z[23]!==Y||Z[24]!==Q.messages){let W0;if(Z[26]!==Y)W0=(N)=>{let U=N.message.content[0];return U?.type==="tool_use"&&Y.has(U.id)},Z[26]=Y,Z[27]=W0;else W0=Z[27];I=Q.messages.some(W0),Z[23]=Y,Z[24]=Q.messages,Z[25]=I}else I=Z[25];h=I}else if(w){let I;if(Z[28]!==Y||Z[29]!==Q)I=TZ(Q,Y),Z[28]=Y,Z[29]=Q,Z[30]=I;else I=Z[30];h=I}else{let I;if(Z[31]!==Y||Z[32]!==Q){let W0=g0(Q);I=!W0||Y.has(W0),Z[31]=Y,Z[32]=Q,Z[33]=I}else I=Z[33];h=I}let z0;if(Z[34]!==E||Z[35]!==C)z0=C&&E.type==="assistant"&&E.message.content.some(kz)&&(E.timestamp||E.message.model),Z[34]=E,Z[35]=C,Z[36]=z0;else z0=Z[36];let Q0=z0,X0=!Q0,O0=Q0?void 0:Z0,T;if(Z[37]!==q||Z[38]!==Y||Z[39]!==p||Z[40]!==l||Z[41]!==C||Z[42]!==z||Z[43]!==M||Z[44]!==S||Z[45]!==O||Z[46]!==Q||Z[47]!==v||Z[48]!==H0||Z[49]!==h||Z[50]!==X0||Z[51]!==O0||Z[52]!==W||Z[53]!==V)T=B(nJ,{message:Q,lookups:O,addMargin:X0,containerWidth:O0,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,progressMessagesForMessage:H0,shouldAnimate:h,shouldShowDot:!0,isTranscriptMode:C,isStatic:l,onOpenRateLimitOptions:v,isActiveCollapsedGroup:p,isUserContinuation:z,lastThinkingBlockId:M,latestBashOutputUUID:S}),Z[37]=q,Z[38]=Y,Z[39]=p,Z[40]=l,Z[41]=C,Z[42]=z,Z[43]=M,Z[44]=S,Z[45]=O,Z[46]=Q,Z[47]=v,Z[48]=H0,Z[49]=h,Z[50]=X0,Z[51]=O0,Z[52]=W,Z[53]=V,Z[54]=T;else T=Z[54];let i=T;if(!Q0){let I;if(Z[55]!==i)I=B(e0,{children:i}),Z[55]=i,Z[56]=I;else I=Z[56];return I}let o;if(Z[57]!==E||Z[58]!==C)o=$(b,{flexDirection:"row",justifyContent:"flex-end",gap:1,marginTop:1,children:[B(uJ,{message:E,isTranscriptMode:C}),B(RJ,{message:E,isTranscriptMode:C})]}),Z[57]=E,Z[58]=C,Z[59]=o;else o=Z[59];let t;if(Z[60]!==Z0||Z[61]!==i||Z[62]!==o)t=B(e0,{children:$(b,{width:Z0,flexDirection:"column",children:[o,i]})}),Z[60]=Z0,Z[61]=i,Z[62]=o,Z[63]=t;else t=Z[63];return t}function kz(J){return J.type==="text"}function Iz(J,Z){if(J.type==="grouped_tool_use")return J.messages.some((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return hZ(J).some((X)=>Z.has(X));let Q=g0(J);return!!Q&&Z.has(Q)}function Sz(J,Z){if(J.type==="grouped_tool_use")return J.messages.every((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return hZ(J).every((X)=>Z.has(X));if(J.type==="assistant"){let z=J.message.content[0];if(z?.type==="server_tool_use")return Z.has(z.id)}let Q=g0(J);return!Q||Z.has(Q)}function Tz(J,Z){if(J.message!==Z.message)return!1;if(J.screen!==Z.screen)return!1;if(J.verbose!==Z.verbose)return!1;if(J.message.type==="collapsed_read_search"&&Z.screen!=="transcript")return!1;if(J.columns!==Z.columns)return!1;let Q=J.latestBashOutputUUID===J.message.uuid,z=Z.latestBashOutputUUID===Z.message.uuid;if(Q!==z)return!1;if(J.lastThinkingBlockId!==Z.lastThinkingBlockId&&mJ(Z.message))return!1;let X=Iz(J.message,J.streamingToolUseIDs),W=Sz(J.message,J.lookups.resolvedToolUseIDs);if(X||!W)return!1;return!0}var iJ,lJ,rJ;var oJ=L0(()=>{p0();cJ();OZ();yz();xJ();sJ();fJ();gJ();F0();iJ=N0(u0(),1),lJ=N0(S0(),1);rJ=lJ.memo(_z,Tz)});import{relative as pz}from"path";function qQ(J){return lz.filter((Z)=>Z.isActive(J))}var dz,cz,gz,mz,nz,iz,lz;var YQ=L0(()=>{p0();BQ();zJ();Rz();hz();xz();fz();uz();$z();F0();dz={id:"large-memory-files",type:"warning",isActive:(J)=>fZ(J.memoryFiles).length>0,render:(J)=>{let Z=fZ(J.memoryFiles);return B(f0,{children:Z.map((Q)=>{let z=Q.path.startsWith(RZ())?pz(RZ(),Q.path):Q.path;return $(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Large ",B(g,{bold:!0,children:z})," will impact performance (",ZZ(Q.content.length)," chars >"," ",ZZ(VQ),")",B(g,{dimColor:!0,children:" · /memory to edit"})]})]},Q.path)})})}},cz={id:"claude-ai-external-token",type:"warning",isActive:()=>{let J=JZ();return QQ()&&(J.source==="ANTHROPIC_AUTH_TOKEN"||J.source==="apiKeyHelper")},render:()=>{let J=JZ();return $(b,{flexDirection:"row",marginTop:1,children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Using ",J.source," instead of Claude account subscription token. Either unset ",J.source,", or run `claude /logout`."]})]})}},gz={id:"api-key-conflict",type:"warning",isActive:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0});return!!JQ()&&(J==="ANTHROPIC_API_KEY"||J==="apiKeyHelper")},render:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0});return $(b,{flexDirection:"row",marginTop:1,children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Using ",J," instead of Anthropic Console key. Either unset ",J,", or run `claude /logout`."]})]})}},mz={id:"both-auth-methods",type:"warning",isActive:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0}),Z=JZ();return J!=="none"&&Z.source!=="none"&&!(J==="apiKeyHelper"&&Z.source==="apiKeyHelper")},render:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0}),Z=JZ();return $(b,{flexDirection:"column",marginTop:1,children:[$(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Both a token (",Z.source,") and an API key (",J,") are set. This may lead to unexpected behavior."]})]}),$(b,{flexDirection:"column",marginLeft:3,children:[$(g,{color:"warning",children:["· Trying to use"," ",Z.source==="claude.ai"?"claude.ai":Z.source,"?"," ",J==="ANTHROPIC_API_KEY"?'Unset the ANTHROPIC_API_KEY environment variable, or claude /logout then say "No" to the API key approval before login.':J==="apiKeyHelper"?"Unset the apiKeyHelper setting.":"claude /logout"]}),$(g,{color:"warning",children:["· Trying to use ",J,"?"," ",Z.source==="claude.ai"?"claude /logout to sign out of claude.ai.":`Unset the ${Z.source} environment variable.`]})]})]})}},nz={id:"large-agent-descriptions",type:"warning",isActive:(J)=>{return uZ(J.agentDefinitions)>$Z},render:(J)=>{let Z=uZ(J.agentDefinitions);return $(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Large cumulative agent descriptions will impact performance (~",ZZ(Z)," tokens >"," ",ZZ($Z),")",B(g,{dimColor:!0,children:" · /agents to manage"})]})]})}},iz={id:"jetbrains-plugin-install",type:"info",isActive:(J)=>{if(!XQ())return!1;if(!(J.config.autoInstallIdeExtension??!0))return!1;let Q=xZ();return Q!==null&&!zQ(Q)},render:()=>{let J=xZ(),Z=WQ(J);return $(b,{flexDirection:"row",gap:1,marginLeft:1,children:[B(g,{color:"ide",children:v0.arrowUp}),$(g,{children:["Install the ",B(g,{color:"ide",children:Z})," plugin from the JetBrains Marketplace:"," ",B(g,{bold:!0,children:"https://docs.claude.com/s/claude-code-jetbrains"})]})]})}},lz=[dz,nz,cz,gz,mz,iz]});async function az(){if(zZ)return zZ;return zZ=KQ().then((J)=>{XZ=J}).finally(()=>{zZ=null}),zZ}function LQ(J){let Z=GQ.c(8),{agentDefinitions:Q}=J===void 0?{}:J,[z,X]=r0.useState(XZ),W;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))W=()=>{if(XZ.length>0){X(XZ);return}az().then(()=>{X(XZ)})},Z[0]=W;else W=Z[0];r0.useEffect(W,[W]);let V={config:DZ(),agentDefinitions:Q,memoryFiles:z},Y=qQ(V);if(Y.length===0)return null;let K=b,F="column",P=1,v=Y.map((S)=>B(r0.Fragment,{children:S.render(V)},S.id)),M;if(Z[1]!==K||Z[2]!==v)M=B(K,{flexDirection:F,paddingLeft:P,children:v}),Z[1]=K,Z[2]=v,Z[3]=M;else M=Z[3];return M}var GQ,r0,XZ,zZ=null;var FQ=L0(()=>{p0();BQ();HQ();YQ();F0();GQ=N0(u0(),1),r0=N0(S0(),1),XZ=[]});function wQ(J,Z,Q){let z=m.useRef(new Map),X=m.useRef(0),W=m.useRef(0),q=m.useRef({arr:new Float64Array(0),version:-1,n:-1}),V=m.useRef(new Map),Y=m.useRef(new Map),K=m.useRef(Q),F=m.useRef(!1),P=m.useRef(null),v=m.useRef(0);if(K.current!==Q){let N=K.current/Q;K.current=Q;for(let[U,R]of z.current)z.current.set(U,Math.max(1,Math.round(R*N)));X.current++,F.current=!0,v.current=2}let M=v.current>0?P.current:null,S=m.useRef(0),Z0=m.useRef(null),d=m.useCallback((N)=>J.current?.subscribe(N)??sz,[J]);m.useSyncExternalStore(d,()=>{let N=J.current;if(!N)return NaN;let U=N.getScrollTop()+N.getPendingDelta(),R=Math.floor(U/tz);return N.isSticky()?~R:R});let O=J.current?.getScrollTop()??-1,C=J.current?.getPendingDelta()??0,_=J.current?.getViewportHeight()??0,w=J.current?.isSticky()??!0;m.useMemo(()=>{let N=new Set(Z),U=!1;for(let R of z.current.keys())if(!N.has(R))z.current.delete(R),U=!0;for(let R of Y.current.keys())if(!N.has(R))Y.current.delete(R);if(U)X.current++},[Z]);let D=Z.length;if(q.current.version!==X.current||q.current.n!==D){let N=q.current.arr.length>=D+1?q.current.arr:new Float64Array(D+1);N[0]=0;for(let U=0;U<D;U++)N[U+1]=N[U]+(z.current.get(Z[U])??rz);q.current={arr:N,version:X.current,n:D}}let p=q.current.arr,J0=p[D],E,k;if(M)[E,k]=M,E=Math.min(E,D),k=Math.min(k,D);else if(_===0||O<0)E=Math.max(0,D-oz),k=D;else{if(w){let V0=_+o0;E=D;while(E>0&&J0-p[E-1]<V0)E--;k=D}else{let V0=S.current,G0=_*3,M0=Math.min(O,O+C),n0=Math.max(O,O+C),y0=n0-M0,D0=y0>G0?C<0?n0-G0:M0:M0,T0=D0+Math.min(y0,G0),i0=Math.max(0,D0-V0),h0=T0-V0,b0=i0-o0;{let H=0,L=D;while(H<L){let A=H+L>>1;if(p[A+1]<=b0)H=A+1;else L=A}E=H}{let H=P.current;if(H&&H[0]<E)for(let L=H[0];L<Math.min(E,H[1]);L++){let A=Z[L];if(V.current.has(A)&&!z.current.has(A)){E=L;break}}}let l0=_+2*o0,t0=Math.min(D,E+WZ),_0=0;k=E;while(k<t0&&(_0<l0||p[k]<h0+_+o0))_0+=z.current.get(Z[k])??pZ,k++}let N=_+2*o0,U=Math.max(0,k-WZ),R=0;for(let V0=E;V0<k;V0++)R+=z.current.get(Z[V0])??pZ;while(E>U&&R<N)E--,R+=z.current.get(Z[E])??pZ;let s=P.current,A0=Math.abs(O-W.current)+Math.abs(C);if(s&&A0>_*2){let[V0,G0]=s;if(E<V0-qZ)E=V0-qZ;if(k>G0+qZ)k=G0+qZ;if(E>k)k=Math.min(E+qZ,D)}W.current=O}if(v.current>0)v.current--;else P.current=[E,k];let H0=m.useDeferredValue(E),Y0=m.useDeferredValue(k),l=E<H0?H0:E,h=k>Y0?Y0:k;if(l>h||w)l=E,h=k;if(C>0)h=k;if(h-l>WZ){let N=(p[l]+p[h])/2;if(O-S.current<N)h=l+WZ;else l=h-WZ}let z0=S.current,Q0=p[l],X0=l===0?0:Q0+z0,O0=h===D?1/0:Math.max(Q0,p[h]-_)+z0;m.useLayoutEffect(()=>{if(w)J.current?.setClampBounds(void 0,void 0);else J.current?.setClampBounds(X0,O0)}),m.useLayoutEffect(()=>{let N=Z0.current?.yogaNode;if(N&&N.getComputedWidth()>0)S.current=N.getComputedTop();if(F.current){F.current=!1;return}let U=!1;for(let[R,s]of V.current){let A0=s.yogaNode;if(!A0)continue;let V0=A0.getComputedHeight(),G0=z.current.get(R);if(V0>0){if(G0!==V0)z.current.set(R,V0),U=!0}else if(A0.getComputedWidth()>0&&G0!==0)z.current.set(R,0),U=!0}if(U)X.current++});let T=m.useCallback((N)=>{let U=Y.current.get(N);if(!U)U=(R)=>{if(R)V.current.set(N,R);else{let s=V.current.get(N)?.yogaNode;if(s&&!F.current){let A0=s.getComputedHeight();if((A0>0||s.getComputedWidth()>0)&&z.current.get(N)!==A0)z.current.set(N,A0),X.current++}V.current.delete(N)}},Y.current.set(N,U);return U},[]),i=m.useCallback((N)=>{let U=V.current.get(Z[N])?.yogaNode;if(!U||U.getComputedWidth()===0)return-1;return U.getComputedTop()},[Z]),o=m.useCallback((N)=>V.current.get(Z[N])??null,[Z]),t=m.useCallback((N)=>z.current.get(Z[N]),[Z]),I=m.useCallback((N)=>{let U=q.current;if(N<0||N>=U.n)return;J.current?.scrollTo(U.arr[N]+S.current)},[J]),W0=J0-p[h];return{range:[l,h],topSpacer:Q0,bottomSpacer:W0,measureRef:T,spacerRef:Z0,offsets:p,getItemTop:i,getItemElement:o,getItemHeight:t,scrollToIndex:I}}var m,rz=3,o0=80,oz=30,tz,pZ=1,WZ=300,qZ=25,sz=()=>{};var NQ=L0(()=>{m=N0(S0(),1),tz=o0>>1});function QX(J){let Z=OQ.get(J);if(Z!==void 0)return Z;let Q=AZ(J);return OQ.set(J,Q),Q}function XX(J){let Z=AQ.get(J);if(Z!==void 0)return Z;let Q=WX(J);return AQ.set(J,Q),Q}function WX(J){let Z=null;if(J.type==="user"){if(J.isMeta||J.isVisibleInTranscriptOnly)return null;let z=J.message.content[0];if(z?.type!=="text")return null;Z=z.text}else if(J.type==="attachment"&&J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let z=J.attachment.prompt;Z=typeof z==="string"?z:z.flatMap((X)=>X.type==="text"?[X.text]:[]).join(`
11
- `)}if(Z===null)return null;let Q=MQ(Z);if(Q.startsWith("<")||Q==="")return null;return Q}function qX(J){let Z=bQ.c(30),{itemKey:Q,msg:z,idx:X,measureRef:W,expanded:q,hovered:V,clickable:Y,onClickK:K,onEnterK:F,onLeaveK:P,renderItem:v}=J,M;if(Z[0]!==Q||Z[1]!==W)M=W(Q),Z[0]=Q,Z[1]=W,Z[2]=M;else M=Z[2];let S=q?"userMessageBackgroundHover":void 0,Z0=q?1:void 0,d;if(Z[3]!==Y||Z[4]!==z||Z[5]!==K)d=Y?(J0)=>K(z,J0.cellIsBlank):void 0,Z[3]=Y,Z[4]=z,Z[5]=K,Z[6]=d;else d=Z[6];let O;if(Z[7]!==Y||Z[8]!==Q||Z[9]!==F)O=Y?()=>F(Q):void 0,Z[7]=Y,Z[8]=Q,Z[9]=F,Z[10]=O;else O=Z[10];let C;if(Z[11]!==Y||Z[12]!==Q||Z[13]!==P)C=Y?()=>P(Q):void 0,Z[11]=Y,Z[12]=Q,Z[13]=P,Z[14]=C;else C=Z[14];let _=V&&!q?"text":void 0,w;if(Z[15]!==X||Z[16]!==z||Z[17]!==v)w=v(z,X),Z[15]=X,Z[16]=z,Z[17]=v,Z[18]=w;else w=Z[18];let D;if(Z[19]!==_||Z[20]!==w)D=B(DQ.Provider,{value:_,children:w}),Z[19]=_,Z[20]=w,Z[21]=D;else D=Z[21];let p;if(Z[22]!==M||Z[23]!==S||Z[24]!==Z0||Z[25]!==d||Z[26]!==O||Z[27]!==C||Z[28]!==D)p=B(b,{ref:M,flexDirection:"column",backgroundColor:S,paddingBottom:Z0,onClick:d,onMouseEnter:O,onMouseLeave:C,children:D}),Z[22]=M,Z[23]=S,Z[24]=Z0,Z[25]=d,Z[26]=O,Z[27]=C,Z[28]=D,Z[29]=p;else p=Z[29];return p}function CQ({messages:J,scrollRef:Z,columns:Q,itemKey:z,renderItem:X,onItemClick:W,isItemClickable:q,isItemExpanded:V,extractSearchText:Y=QX,trackStickyPrompt:K,selectedIndex:F,cursorNavRef:P,setCursor:v,jumpRef:M,onSearchMatchesChange:S,scanElement:Z0,setPositions:d}){let O=y.useRef([]),C=y.useRef(J),_=y.useRef(z);if(_.current!==z||J.length<O.current.length||J[0]!==C.current[0])O.current=J.map((H)=>z(H));else for(let H=O.current.length;H<J.length;H++)O.current.push(z(J[H]));C.current=J,_.current=z;let w=O.current,{range:D,topSpacer:p,bottomSpacer:J0,measureRef:E,spacerRef:k,offsets:H0,getItemTop:Y0,getItemElement:l,getItemHeight:h,scrollToIndex:z0}=wQ(Z,w,Q),[Q0,X0]=D,O0=y.useCallback((H)=>{if(h(H)===0)return!1;return UQ(J[H])},[h,J]);y.useImperativeHandle(P,()=>{let H=(u)=>v?.({uuid:u.uuid,msgType:u.type,expanded:!1,toolName:jQ(u)?.name}),L=F??-1,A=(u,n,r=O0)=>{for(let c=u;c>=0&&c<J.length;c+=n)if(r(c))return H(J[c]),!0;return!1},x=(u)=>O0(u)&&J[u].type==="user";return{enterCursor:()=>A(J.length-1,-1,x),navigatePrev:()=>A(L-1,-1),navigateNext:()=>{if(A(L+1,1))return;Z.current?.scrollToBottom(),v?.(null)},navigatePrevUser:()=>A(L-1,-1,x),navigateNextUser:()=>A(L+1,1,x),navigateTop:()=>A(0,1),navigateBottom:()=>A(J.length-1,-1),getSelected:()=>L>=0?J[L]??null:null}},[J,F,v,O0]);let T=y.useRef({offsets:H0,start:Q0,getItemElement:l,getItemTop:Y0,messages:J,scrollToIndex:z0});T.current={offsets:H0,start:Q0,getItemElement:l,getItemTop:Y0,messages:J,scrollToIndex:z0},y.useEffect(()=>{if(F===void 0)return;let H=T.current,L=H.getItemElement(F);if(L)Z.current?.scrollToElement(L,1);else H.scrollToIndex(F)},[F,Z]);let i=y.useRef(null),o=y.useRef({msgIdx:-1,positions:[]}),t=y.useRef(-1),I=y.useRef(0),W0=y.useRef(0),N=y.useRef(()=>{}),U=y.useRef(()=>{}),R=y.useRef({matches:[],ptr:0,screenOrd:0,prefixSum:[]}),s=y.useRef(-1),A0=y.useRef(!1);function V0(H){let L=T.current.getItemTop(H);return Math.max(0,L-dZ)}function G0(H){let L=Z.current,{msgIdx:A,positions:x}=o.current;if(!L||x.length===0||A<0){d?.(null);return}let u=Math.max(0,Math.min(H,x.length-1)),n=x[u],r=T.current.getItemTop(A),c=L.getViewportTop(),e=r-L.getScrollTop(),R0=L.getViewportHeight(),P0=c+e+n.row;if(P0<c||P0>=c+R0)L.scrollTo(Math.max(0,r+n.row-dZ)),e=r-L.getScrollTop(),P0=c+e+n.row;d?.({positions:x,rowOffset:c+e,currentIdx:u});let E0=R.current,U0=E0.prefixSum.at(-1)??0,j0=(E0.prefixSum[E0.ptr]??0)+u+1;S?.(U0,j0),m0(`highlight(i=${A}, ord=${u}/${x.length}): pos={row:${n.row},col:${n.col}} lo=${e} screenRow=${P0} badge=${j0}/${U0}`)}U.current=G0;let[M0,n0]=y.useState(0),y0=y.useCallback(()=>n0((H)=>H+1),[]);y.useEffect(()=>{let H=i.current;if(!H)return;let{idx:L,wantLast:A,tries:x}=H,u=Z.current;if(!u)return;let{getItemElement:n,getItemTop:r,scrollToIndex:c}=T.current,e=n(L),R0=e?.yogaNode?.getComputedHeight()??0;if(!e||R0===0){if(x>1){i.current=null,m0(`seek(i=${L}): no mount after scrollToIndex, skip`),N.current(A?-1:1);return}i.current={idx:L,wantLast:A,tries:x+1},c(L),y0();return}i.current=null,u.scrollTo(Math.max(0,r(L)-dZ));let P0=Z0?.(e)??[];if(o.current={msgIdx:L,positions:P0},m0(`seek(i=${L} t=${x}): ${P0.length} positions`),P0.length===0){if(++I.current>20){I.current=0;return}N.current(A?-1:1);return}I.current=0;let E0=A?P0.length-1:0;R.current.screenOrd=E0,t.current=-1,U.current(E0);let U0=W0.current;if(U0)W0.current=0,N.current(U0)},[M0]);function D0(H,L){let A=Z.current;if(!A)return;let x=T.current,{getItemElement:u,scrollToIndex:n}=x;if(H<0||H>=x.messages.length)return;d?.(null),o.current={msgIdx:-1,positions:[]},i.current={idx:H,wantLast:L,tries:0};let r=u(H),c=r?.yogaNode?.getComputedHeight()??0;if(r&&c>0)A.scrollTo(V0(H));else n(H);y0()}function T0(H){let L=R.current,{matches:A,prefixSum:x}=L,u=x.at(-1)??0;if(A.length===0)return;if(i.current){W0.current=H;return}if(t.current<0)t.current=L.ptr;let{positions:n}=o.current,r=L.screenOrd+H;if(r>=0&&r<n.length){L.screenOrd=r,G0(r),t.current=-1;return}let c=(L.ptr+H+A.length)%A.length;if(c===t.current){d?.(null),t.current=-1,m0(`step: wraparound at ptr=${c}, all ${A.length} msgs phantoms`);return}L.ptr=c,L.screenOrd=0,D0(A[c],H<0);let e=H<0?x[c+1]??u:x[c]+1;S?.(u,e)}N.current=T0,y.useImperativeHandle(M,()=>({jumpToIndex:(H)=>{let L=Z.current;if(L)L.scrollTo(V0(H))},setSearchQuery:(H)=>{i.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1,d?.(null);let L=H.toLowerCase(),A=[],x=[0];if(L){let U0=T.current.messages;for(let j0=0;j0<U0.length;j0++){let k0=Y(U0[j0]),G=k0.indexOf(L),j=0;while(G>=0)j++,G=k0.indexOf(L,G+L.length);if(j>0)A.push(j0),x.push(x.at(-1)+j)}}let u=x.at(-1),n=0,r=Z.current,{offsets:c,start:e,getItemTop:R0}=T.current,P0=R0(e),E0=P0>=0?P0-c[e]:0;if(A.length>0&&r){let U0=s.current>=0?s.current:r.getScrollTop(),j0=1/0;for(let k0=0;k0<A.length;k0++){let G=Math.abs(E0+c[A[k0]]-U0);if(G<=j0)j0=G,n=k0}m0(`setSearchQuery('${H}'): ${A.length} msgs · ptr=${n} msgIdx=${A[n]} curTop=${U0} origin=${E0}`)}if(R.current={matches:A,ptr:n,screenOrd:0,prefixSum:x},A.length>0)D0(A[n],!0);else if(s.current>=0&&r)r.scrollTo(s.current);S?.(u,A.length>0?x[n+1]??u:0)},nextMatch:()=>T0(1),prevMatch:()=>T0(-1),setAnchor:()=>{let H=Z.current;if(H)s.current=H.getScrollTop()},disarmSearch:()=>{d?.(null),i.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1},warmSearchIndex:async()=>{if(A0.current)return 0;let H=T.current.messages,L=500,A=0,x=performance.now();for(let n=0;n<H.length;n+=L){await PQ(0);let r=performance.now(),c=Math.min(n+L,H.length);for(let e=n;e<c;e++)Y(H[e]);A+=performance.now()-r}let u=Math.round(performance.now()-x);return m0(`warmSearchIndex: ${H.length} msgs · work=${Math.round(A)}ms wall=${u}ms chunks=${Math.ceil(H.length/L)}`),A0.current=!0,Math.round(A)}}),[Z]);let[i0,h0]=y.useState(null),b0=y.useRef({onItemClick:W,setHoveredKey:h0});b0.current={onItemClick:W,setHoveredKey:h0};let l0=y.useCallback((H,L)=>{let A=b0.current;if(!L&&A.onItemClick)A.onItemClick(H)},[]),t0=y.useCallback((H)=>{b0.current.setHoveredKey(H)},[]),_0=y.useCallback((H)=>{b0.current.setHoveredKey((L)=>L===H?null:L)},[]);return $(f0,{children:[B(b,{ref:k,height:p,flexShrink:0}),J.slice(Q0,X0).map((H,L)=>{let A=Q0+L,x=w[A],u=!!W&&(q?.(H)??!0),n=u&&i0===x,r=V?.(H);return B(qX,{itemKey:x,msg:H,idx:A,measureRef:E,expanded:r,hovered:n,clickable:u,onClickK:l0,onEnterK:t0,onLeaveK:_0,renderItem:X},x)}),J0>0&&B(b,{height:J0,flexShrink:0}),K&&B(VX,{messages:J,start:Q0,end:X0,offsets:H0,getItemTop:Y0,getItemElement:l,scrollRef:Z})]})}function VX({messages:J,start:Z,end:Q,offsets:z,getItemTop:X,getItemElement:W,scrollRef:q}){let{setStickyPrompt:V}=y.useContext(yZ),Y=y.useCallback((w)=>q.current?.subscribe(w)??YX,[q]);y.useSyncExternalStore(Y,()=>{let w=q.current;if(!w)return NaN;let D=w.getScrollTop()+w.getPendingDelta();return w.isSticky()?-1-D:D});let K=q.current?.isSticky()??!0,F=Math.max(0,(q.current?.getScrollTop()??0)+(q.current?.getPendingDelta()??0)),P=Z,v=-1;for(let w=Q-1;w>=Z;w--){let D=X(w);if(D>=0){if(D<F)break;v=D}P=w}let M=-1,S=null;if(P>0&&!K)for(let w=P-1;w>=0;w--){let D=XX(J[w]);if(D===null)continue;let p=X(w);if(p>=0&&p+1>=F)continue;M=w,S=D;break}let Z0=v>=0?v-z[P]:0,d=M>=0?Math.max(0,Z0+z[M]):-1,O=y.useRef({idx:-1,tries:0}),C=y.useRef("none"),_=y.useRef(-1);return y.useEffect(()=>{if(O.current.idx>=0)return;if(C.current==="armed"){C.current="force";return}let w=C.current==="force";if(C.current="none",!w&&_.current===M)return;if(_.current=M,S===null){V(null);return}let D=S.trimStart(),p=D.search(/\n\s*\n/),J0=(p>=0?D.slice(0,p):D).slice(0,zX).replace(/\s+/g," ").trim();if(J0===""){V(null);return}let E=M,k=d;V({text:J0,scrollTo:()=>{V("clicked"),C.current="armed";let H0=W(E);if(H0)q.current?.scrollToElement(H0,1);else q.current?.scrollTo(k),O.current={idx:E,tries:0}}})}),y.useEffect(()=>{if(O.current.idx<0)return;let w=W(O.current.idx);if(w)q.current?.scrollToElement(w,1),O.current={idx:-1,tries:0};else if(++O.current.tries>5)O.current={idx:-1,tries:0}}),null}var bQ,y,dZ=3,OQ,zX=500,AQ,YX=()=>{};var vQ=L0(()=>{NQ();p0();JX();LJ();ez();ZX();IZ();EQ();F0();bQ=N0(u0(),1),y=N0(S0(),1),OQ=new WeakMap;AQ=new WeakMap});function EX(J,Z){let Q=new Set(Z),z=new Set;return J.filter((X)=>{if(X.type==="system")return X.subtype!=="api_metrics";let W=X.message?.content[0];if(X.type==="assistant"){if(X.isApiErrorMessage)return!0;if(W?.type==="tool_use"&&W.name&&Q.has(W.name)){if("id"in W)z.add(W.id);return!0}return!1}if(X.type==="user"){if(W?.type==="tool_result")return W.tool_use_id!==void 0&&z.has(W.tool_use_id);return!X.isMeta}if(X.type==="attachment"){let q=X.attachment;return q?.type==="queued_command"&&q.commandMode==="prompt"&&!q.isMeta&&q.origin===void 0}return!1})}function bX(J,Z){let Q=new Set(Z),z=new Set,X=[],W=0;for(let q=0;q<J.length;q++){let V=J[q],Y=V.message?.content[0];if(V.type==="user"&&Y?.type!=="tool_result"&&!V.isMeta){W++;continue}if(V.type==="assistant"){if(Y?.type==="text")X[q]=W;else if(Y?.type==="tool_use"&&Y.name&&Q.has(Y.name))z.add(W)}}if(z.size===0)return J;return J.filter((q,V)=>{let Y=X[V];return Y===void 0||!z.has(Y)})}function yX(J,Z,Q=CX,z=vX){let X=Z.current,W=X?J.findIndex((Y)=>Y.uuid===X.uuid):-1,q=W>=0?W:X?Math.min(X.idx,Math.max(0,J.length-Q)):0;if(J.length-q>Q+z)q=J.length-Q;let V=J[q];if(V&&(X?.uuid!==V.uuid||X.idx!==q))Z.current={uuid:V.uuid,idx:q};else if(!V&&X)Z.current=null;return q}function _Q(J){return(J.type==="assistant"||J.type==="user"?g0(J):null)??J.uuid}function IX(J,Z){if(J.size!==Z.size)return!1;for(let Q of J)if(!Z.has(Q))return!1;return!0}function tJ(J,Z,Q,z,X,W){if(X==="transcript")return!0;switch(J.type){case"attachment":case"user":case"assistant":{if(J.type==="assistant"){let V=J.message.content[0];if(V?.type==="server_tool_use")return W.resolvedToolUseIDs.has(V.id)}let q=g0(J);if(!q)return!0;if(Z.has(q))return!1;if(Q.has(q))return!1;if(oQ(q,"PostToolUse",W))return!1;return FJ(z,W.resolvedToolUseIDs)}case"system":return J.subtype!=="api_error";case"grouped_tool_use":return J.messages.every((V)=>{let Y=V.message.content[0];return Y?.type==="tool_use"&&W.resolvedToolUseIDs.has(Y.id)});case"collapsed_read_search":return!1}}var gQ,YZ,f,UX,jX=null,yQ=null,MX=null,cZ=30,CX=200,vX=50,_X=({messages:J,tools:Z,commands:Q,verbose:z,toolJSX:X,toolUseConfirmQueue:W,inProgressToolUseIDs:q,isMessageSelectorVisible:V,conversationId:Y,screen:K,streamingToolUses:F,showAllInTranscript:P=!1,agentDefinitions:v,onOpenRateLimitOptions:M,hideLogo:S=!1,isLoading:Z0,hidePastThinking:d=!1,streamingThinking:O,hasStreamingText:C=!1,isBriefOnly:_=!1,unseenDivider:w,scrollRef:D,trackStickyPrompt:p,jumpRef:J0,onSearchMatchesChange:E,scanElement:k,setPositions:H0,disableRenderCap:Y0=!1,cursor:l=null,setCursor:h,cursorNavRef:z0,renderRange:Q0})=>{let{columns:X0}=FZ(),O0=RQ("transcript:toggleShowAll","Transcript","Ctrl+E"),T=f.useMemo(()=>nZ(J).filter(nQ),[J]),i=f.useMemo(()=>{if(!O)return!1;if(O.isStreaming)return!0;if(O.streamingEndedAt)return Date.now()-O.streamingEndedAt<30000;return!1},[O]),o=f.useMemo(()=>{if(!d)return null;if(i)return"streaming";for(let G=T.length-1;G>=0;G--){let j=T[G];if(j?.type==="assistant"){let B0=j.message.content;for(let a=B0.length-1;a>=0;a--)if(B0[a]?.type==="thinking")return`${j.uuid}:${a}`}else if(j?.type==="user"){if(!j.message.content.some((a)=>a.type==="tool_result"))return"no-thinking"}}return null},[T,d,i]),t=f.useMemo(()=>{for(let G=T.length-1;G>=0;G--){let j=T[G];if(j?.type==="user"){let B0=j.message.content;for(let a of B0)if(a.type==="text"){let w0=a.text;if(w0.startsWith("<bash-stdout")||w0.startsWith("<bash-stderr"))return j.uuid}}}return null},[T]),I=f.useMemo(()=>tQ(T),[T]),W0=f.useMemo(()=>F.filter((G)=>!q.has(G.contentBlock.id)&&!I.has(G.contentBlock.id)),[F,q,I]),N=f.useMemo(()=>W0.flatMap((G)=>{let j=mQ({content:[G.contentBlock]});return j.uuid=TQ(G.contentBlock.id,0),nZ([j])}),[W0]),U=K==="transcript",R=f.useMemo(()=>IQ(process.env.CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL),[]),s=D!=null&&!R,A0=U&&!P&&!s,V0=f.useRef(null),{collapsed:G0,lookups:M0,hasTruncatedMessages:n0,hiddenMessageCount:y0}=f.useMemo(()=>{let G=z||c0()?T:iQ(T,{includeSnipped:!0}),j=aQ(G.filter((I0)=>I0.type!=="progress").filter((I0)=>!GZ(I0)).filter((I0)=>lQ(I0,U)),N),B0=[yQ,MX].filter((I0)=>I0!==null),a=[yQ].filter((I0)=>I0!==null),w0=B0.length>0&&!U?_?EX(j,B0):a.length>0?bX(j,a):j:j,C0=A0?w0.slice(-cZ):w0,VZ=A0&&w0.length>cZ,{messages:d0}=CJ(C0,Z,z),sQ=OJ(DJ(MJ(cQ(d0,Z))),z),eQ=rQ(T,C0),Zz=j.length-cZ;return{collapsed:sQ,lookups:eQ,hasTruncatedMessages:VZ,hiddenMessageCount:Zz}},[z,T,U,N,A0,Z,_]),D0=f.useMemo(()=>{let j=!s&&!Y0?yX(G0,V0):0;return Q0?G0.slice(Q0[0],Q0[1]):j>0?G0.slice(j):G0},[G0,Q0,s,Y0]),T0=f.useMemo(()=>new Set(F.map((G)=>G.contentBlock.id)),[F]),i0=fQ((G)=>G.tasks),h0=M0.asyncLaunchedToolUseIDs,b0=f.useMemo(()=>{if(h0.size===0)return null;let G=new Set;for(let[j,B0]of h0){let a=i0?.[B0]?.status;if(a==="running"||a==="requested"||a==="queued")G.add(j)}return G.size>0?G:null},[i0,h0]),l0=f.useMemo(()=>{if(!b0)return q;let G=new Set(q);for(let j of b0)G.add(j);return G},[q,b0]),t0=f.useMemo(()=>{if(!w)return-1;let G=w.firstUnseenUuid.slice(0,24);return D0.findIndex((j)=>j.uuid.slice(0,24)===G)},[w,D0]),_0=f.useMemo(()=>{if(!l)return-1;return D0.findIndex((G)=>G.uuid===l.uuid)},[l,D0]),[H,L]=f.useState(()=>new Set),A=f.useCallback((G)=>{let j=_Q(G);L((B0)=>{let a=new Set(B0);if(a.has(j))a.delete(j);else a.add(j);return a})},[]),x=f.useCallback((G)=>H.size>0&&H.has(_Q(G)),[H]),u=f.useRef(M0);u.current=M0;let n=f.useCallback((G)=>{if(G.type==="collapsed_read_search")return!0;if(G.type==="assistant"){let w0=G.message.content[0];return w0!=null&&xQ(w0)&&w0.type==="advisor_tool_result"&&w0.content.type==="advisor_result"}if(G.type!=="user")return!1;let j=G.message.content[0];if(j?.type!=="tool_result"||j.is_error||!G.toolUseResult)return!1;let B0=u.current.toolUseByToolUseID.get(j.tool_use_id)?.name;return(B0?mZ(Z,B0):void 0)?.isResultTruncated?.(G.toolUseResult)??!1},[Z]),r=(!X||!!X.shouldContinueAnimation)&&!W.length&&!V,c=l0.size>0,{progress:e}=hQ(),R0=f.useRef(null),P0=DZ().terminalProgressBarEnabled&&!kQ()&&!(jX?.isProactiveActive()??!1);f.useEffect(()=>{let G=P0?c?"indeterminate":"completed":null;if(R0.current===G)return;R0.current=G,e(G)},[e,P0,c]),f.useEffect(()=>{return()=>e(null)},[e]);let E0=f.useCallback((G)=>`${G.uuid}-${Y}`,[Y]),U0=(G,j)=>{let B0=j>0?D0[j-1]?.type:void 0,a=G.type==="user"&&B0==="user",w0=G.type==="collapsed_read_search"&&(C||aJ(D0,j,Z,T0)),C0=E0(G),VZ=B(rJ,{message:G,isUserContinuation:a,hasContentAfter:w0,tools:Z,commands:Q,verbose:z||x(G)||l?.expanded===!0&&j===_0,inProgressToolUseIDs:l0,streamingToolUseIDs:T0,screen:K,canAnimate:r,onOpenRateLimitOptions:M,lastThinkingBlockId:o,latestBashOutputUUID:t,columns:X0,isLoading:Z0,lookups:M0},C0),d0=B($Q.Provider,{value:j===_0,children:VZ},C0);if(w&&j===t0)return[B(b,{marginTop:1,children:B(UZ,{title:`${w.count} new ${LZ(w.count,"message")}`,width:X0,color:"inactive"})},"unseen-divider"),d0];return d0},j0=f.useRef(new WeakMap),k0=f.useCallback((G)=>{let j=j0.current.get(G);if(j!==void 0)return j;let B0=AZ(G);if(G.type==="user"&&G.toolUseResult&&Array.isArray(G.message.content)){let w0=G.message.content.find((C0)=>C0.type==="tool_result");if(w0&&"tool_use_id"in w0){let C0=M0.toolUseByToolUseID.get(w0.tool_use_id),d0=(C0&&mZ(Z,C0.name))?.extractSearchText?.(G.toolUseResult);if(d0!==void 0)B0=d0}}let a=B0.toLowerCase();return j0.current.set(G,a),a},[Z,M0]);return $(f0,{children:[!S&&!(Q0&&Q0[0]>0)&&B(UX,{agentDefinitions:v}),n0&&B(UZ,{title:`${O0} to show ${gZ.bold(y0)} previous messages`,width:X0}),U&&P&&y0>0&&!Y0&&B(UZ,{title:`${O0} to hide ${gZ.bold(y0)} previous messages`,width:X0}),s?B(uQ.Provider,{value:!0,children:B(CQ,{messages:D0,scrollRef:D,columns:X0,itemKey:E0,renderItem:U0,onItemClick:A,isItemClickable:n,isItemExpanded:x,trackStickyPrompt:p,selectedIndex:_0>=0?_0:void 0,cursorNavRef:z0,setCursor:h,jumpRef:J0,onSearchMatchesChange:E,scanElement:k,setPositions:H0,extractSearchText:k0})}):D0.flatMap(U0),C&&!_&&B(kX,{}),i&&O&&!_&&B(b,{marginTop:1,children:B(dQ,{param:{type:"thinking",thinking:O.thinking},addMargin:!1,isTranscriptMode:!0,verbose:z,hideInTranscript:!1})})]})},kX=()=>{let J=iZ();if(!J)return null;return B(b,{alignItems:"flex-start",flexDirection:"row",marginTop:1,width:"100%",children:$(b,{flexDirection:"row",children:[B(b,{minWidth:2,children:B(g,{color:"text",children:SQ})}),B(b,{flexDirection:"column",children:B(pQ,{children:J})})]})})},g8;var sJ=L0(()=>{GX();KJ();BX();LX();qJ();KX();p0();wX();AX();FX();OX();AJ();UJ();cJ();EJ();HQ();HX();vZ();vJ();OZ();XJ();IZ();NX();PX();lZ();oJ();EQ();DX();CZ();gJ();FQ();vQ();F0();gQ=N0(u0(),1),YZ=N0(S0(),1),f=N0(S0(),1),UX=YZ.memo(function(Z){let Q=gQ.c(3),{agentDefinitions:z}=Z,X;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))X=null,Q[0]=X;else X=Q[0];let W;if(Q[1]!==z)W=B(e0,{children:$(b,{flexDirection:"column",gap:1,children:[X,B(YZ.Suspense,{fallback:null,children:B(LQ,{agentDefinitions:z})})]})}),Q[1]=z,Q[2]=W;else W=Q[2];return W});g8=YZ.memo(_X,(J,Z)=>{let Q=Object.keys(J);for(let z of Q){if(z==="onOpenRateLimitOptions"||z==="scrollRef"||z==="trackStickyPrompt"||z==="setCursor"||z==="cursorNavRef"||z==="jumpRef"||z==="onSearchMatchesChange"||z==="scanElement"||z==="setPositions")continue;if(J[z]!==Z[z]){if(z==="streamingToolUses"){let X=J.streamingToolUses,W=Z.streamingToolUses;if(X.length===W.length&&X.every((q,V)=>q.contentBlock===W[V]?.contentBlock))continue}if(z==="inProgressToolUseIDs"){if(IX(J.inProgressToolUseIDs,Z.inProgressToolUseIDs))continue}if(z==="unseenDivider"){let X=J.unseenDivider,W=Z.unseenDivider;if(X?.firstUnseenUuid===W?.firstUnseenUuid&&X?.count===W?.count)continue}if(z==="tools"){let X=J.tools,W=Z.tools;if(X.length===W.length&&X.every((q,V)=>q.name===W[V]?.name))continue}return!1}}return!0})});
12
- export{s0 as He,TX as Ie,lZ as Je,xX as Ke,$X as Le,JJ as Me,QW as Ne,zW as Oe,XW as Pe,LJ as Qe,g8 as Re,sJ as Se};
@@ -1,2 +0,0 @@
1
- import{hpa as V}from"./cli-0.6.2-3rgtxc9f.mjs";var k0,b;var T=V(()=>{k0=typeof global=="object"&&global&&global.Object===Object&&global,b=k0});var m0,y0,K;var z=V(()=>{T();m0=typeof self=="object"&&self&&self.Object===Object&&self,y0=b||m0||Function("return this")(),K=y0});var l0,B;var x=V(()=>{z();l0=K.Symbol,B=l0});function c0(q){var Z=v0.call(q,N),Q=q[N];try{q[N]=void 0;var Y=!0}catch(L){}var A=u0.call(q);if(Y)if(Z)q[N]=Q;else delete q[N];return A}var j,v0,u0,N,C;var f=V(()=>{x();j=Object.prototype,v0=j.hasOwnProperty,u0=j.toString,N=B?B.toStringTag:void 0;C=c0});function i0(q){return o0.call(q)}var h0,o0,g;var d=V(()=>{h0=Object.prototype,o0=h0.toString;g=i0});function s0(q){if(q==null)return q===void 0?r0:n0;return p&&p in Object(q)?C(q):g(q)}var n0="[object Null]",r0="[object Undefined]",p,k;var m=V(()=>{x();f();d();p=B?B.toStringTag:void 0;k=s0});function t0(q){var Z=typeof q;return q!=null&&(Z=="object"||Z=="function")}var G;var O=V(()=>{G=t0});function Qq(q){if(!G(q))return!1;var Z=k(q);return Z==e0||Z==qq||Z==a0||Z==Zq}var a0="[object AsyncFunction]",e0="[object Function]",qq="[object GeneratorFunction]",Zq="[object Proxy]",y;var l=V(()=>{m();O();y=Qq});var Vq,I;var v=V(()=>{z();Vq=K["__core-js_shared__"],I=Vq});function Yq(q){return!!u&&u in q}var u,c;var h=V(()=>{v();u=function(){var q=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||"");return q?"Symbol(src)_1."+q:""}();c=Yq});function Xq(q){if(q!=null){try{return Wq.call(q)}catch(Z){}try{return q+""}catch(Z){}}return""}var $q,Wq,o;var i=V(()=>{$q=Function.prototype,Wq=$q.toString;o=Xq});function Nq(q){if(!G(q)||c(q))return!1;var Z=y(q)?Lq:Bq;return Z.test(o(q))}var Kq,Bq,Jq,Uq,Eq,Aq,Lq,n;var r=V(()=>{l();h();O();i();Kq=/[\\^$.*+?()[\]{}|]/g,Bq=/^\[object .+?Constructor\]$/,Jq=Function.prototype,Uq=Object.prototype,Eq=Jq.toString,Aq=Uq.hasOwnProperty,Lq=RegExp("^"+Eq.call(Aq).replace(Kq,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");n=Nq});function wq(q,Z){return q==null?void 0:q[Z]}var s;var t=V(()=>{s=wq});function Fq(q,Z){var Q=s(q,Z);return n(Q)?Q:void 0}var D;var R=V(()=>{r();t();D=Fq});var Pq,$;var w=V(()=>{R();Pq=D(Object,"create"),$=Pq});function zq(){this.__data__=$?$(null):{},this.size=0}var a;var e=V(()=>{w();a=zq});function Gq(q){var Z=this.has(q)&&delete this.__data__[q];return this.size-=Z?1:0,Z}var q0;var Z0=V(()=>{q0=Gq});function Oq(q){var Z=this.__data__;if($){var Q=Z[q];return Q===Iq?void 0:Q}return xq.call(Z,q)?Z[q]:void 0}var Iq="__lodash_hash_undefined__",Dq,xq,Q0;var V0=V(()=>{w();Dq=Object.prototype,xq=Dq.hasOwnProperty;Q0=Oq});function Mq(q){var Z=this.__data__;return $?Z[q]!==void 0:Hq.call(Z,q)}var Rq,Hq,Y0;var $0=V(()=>{w();Rq=Object.prototype,Hq=Rq.hasOwnProperty;Y0=Mq});function Sq(q,Z){var Q=this.__data__;return this.size+=this.has(q)?0:1,Q[q]=$&&Z===void 0?_q:Z,this}var _q="__lodash_hash_undefined__",W0;var X0=V(()=>{w();W0=Sq});function J(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var H;var K0=V(()=>{e();Z0();V0();$0();X0();J.prototype.clear=a;J.prototype.delete=q0;J.prototype.get=Q0;J.prototype.has=Y0;J.prototype.set=W0;H=J});function bq(){this.__data__=[],this.size=0}var B0;var J0=V(()=>{B0=bq});function Tq(q,Z){return q===Z||q!==q&&Z!==Z}var U0;var E0=V(()=>{U0=Tq});function jq(q,Z){var Q=q.length;while(Q--)if(U0(q[Q][0],Z))return Q;return-1}var W;var F=V(()=>{E0();W=jq});function gq(q){var Z=this.__data__,Q=W(Z,q);if(Q<0)return!1;var Y=Z.length-1;if(Q==Y)Z.pop();else fq.call(Z,Q,1);return--this.size,!0}var Cq,fq,A0;var L0=V(()=>{F();Cq=Array.prototype,fq=Cq.splice;A0=gq});function dq(q){var Z=this.__data__,Q=W(Z,q);return Q<0?void 0:Z[Q][1]}var N0;var w0=V(()=>{F();N0=dq});function pq(q){return W(this.__data__,q)>-1}var F0;var P0=V(()=>{F();F0=pq});function kq(q,Z){var Q=this.__data__,Y=W(Q,q);if(Y<0)++this.size,Q.push([q,Z]);else Q[Y][1]=Z;return this}var z0;var G0=V(()=>{F();z0=kq});function U(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var I0;var D0=V(()=>{J0();L0();w0();P0();G0();U.prototype.clear=B0;U.prototype.delete=A0;U.prototype.get=N0;U.prototype.has=F0;U.prototype.set=z0;I0=U});var mq,x0;var O0=V(()=>{R();z();mq=D(K,"Map"),x0=mq});function yq(){this.size=0,this.__data__={hash:new H,map:new(x0||I0),string:new H}}var R0;var H0=V(()=>{K0();D0();O0();R0=yq});function lq(q){var Z=typeof q;return Z=="string"||Z=="number"||Z=="symbol"||Z=="boolean"?q!=="__proto__":q===null}var M0;var _0=V(()=>{M0=lq});function vq(q,Z){var Q=q.__data__;return M0(Z)?Q[typeof Z=="string"?"string":"hash"]:Q.map}var X;var P=V(()=>{_0();X=vq});function uq(q){var Z=X(this,q).delete(q);return this.size-=Z?1:0,Z}var S0;var b0=V(()=>{P();S0=uq});function cq(q){return X(this,q).get(q)}var T0;var j0=V(()=>{P();T0=cq});function hq(q){return X(this,q).has(q)}var C0;var f0=V(()=>{P();C0=hq});function oq(q,Z){var Q=X(this,q),Y=Q.size;return Q.set(q,Z),this.size+=Q.size==Y?0:1,this}var g0;var d0=V(()=>{P();g0=oq});function E(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var M;var p0=V(()=>{H0();b0();j0();f0();d0();E.prototype.clear=R0;E.prototype.delete=S0;E.prototype.get=T0;E.prototype.has=C0;E.prototype.set=g0;M=E});function _(q,Z){if(typeof q!="function"||Z!=null&&typeof Z!="function")throw TypeError(iq);var Q=function(){var Y=arguments,A=Z?Z.apply(this,Y):Y[0],L=Q.cache;if(L.has(A))return L.get(A);var S=q.apply(this,Y);return Q.cache=L.set(A,S)||L,S};return Q.cache=new(_.Cache||M),Q}var iq="Expected a function",j6;var nq=V(()=>{p0();_.Cache=M;j6=_});
2
- export{U0 as zna,E0 as Ana,I0 as Bna,D0 as Cna,b as Dna,T as Ena,K as Fna,z as Gna,B as Hna,x as Ina,k as Jna,m as Kna,G as Lna,O as Mna,y as Nna,l as Ona,o as Pna,i as Qna,D as Rna,R as Sna,x0 as Tna,O0 as Una,M as Vna,p0 as Wna,j6 as Xna,nq as Yna};
@@ -1,2 +0,0 @@
1
- import{$R as A,WR as N,XR as p,YR as F,_R as U}from"./cli-0.6.2-n9610c8k.mjs";import{Z4 as L,_4 as P,b5 as O,d5 as V,n5 as x,p5 as H,q5 as k}from"./cli-0.6.2-1wj8sm5y.mjs";import{Eaa as X,Jba as Z,Kaa as Y,Taa as K,c_ as I,cca as M,e_ as D}from"./cli-0.6.2-hhjx89cr.mjs";import{Lha as $,Vha as b}from"./cli-0.6.2-gqbd9ax6.mjs";import{hpa as G}from"./cli-0.6.2-3rgtxc9f.mjs";function R(q){if(!q||!process.env.ANTHROPIC_UNIX_SOCKET)return q||{};let{ANTHROPIC_UNIX_SOCKET:z,ANTHROPIC_BASE_URL:B,ANTHROPIC_API_KEY:Q,ANTHROPIC_AUTH_TOKEN:T,CLAUDE_CODE_OAUTH_TOKEN:f,...m}=q;return m}function _(q){if(!q)return{};if(!$(process.env.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST))return q;let z={};for(let[B,Q]of Object.entries(q))if(!F(B))z[B]=Q;return z}function h(q){if(!q||!W)return q||{};let z={};for(let[B,Q]of Object.entries(q))if(!W.has(B))z[B]=Q;return z}function J(q){return h(_(R(q)))}function r(){if(W===void 0)W=process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"?new Set(Object.keys(process.env)):null;Object.assign(process.env,J(Z().env));for(let z of w){if(z==="policySettings")continue;if(!I(z))continue;Object.assign(process.env,J(X(z)?.env))}N(),Object.assign(process.env,J(X("policySettings")?.env));let q=J(Y()?.env);for(let[z,B]of Object.entries(q))if(U.has(z.toUpperCase()))process.env[z]=B}function g(){Object.assign(process.env,J(Z().env)),Object.assign(process.env,J(Y()?.env)),L(),O(),H(),x()}var W,w;var j=G(()=>{p();P();M();b();A();V();k();D();K();w=["userSettings","flagSettings","policySettings"]});
2
- export{r as gc,g as hc,j as ic};
@@ -1,18 +0,0 @@
1
- import{Loa as A2,Moa as l5,Noa as b$,Ooa as e4,Poa as v$}from"./cli-0.6.2-dbw96fj0.mjs";import{dpa as y4,fpa as a0,gpa as f2,hpa as C,ipa as s0}from"./cli-0.6.2-3rgtxc9f.mjs";function f0($,Y){return function(){return $.apply(Y,arguments)}}var j4=()=>{};function E0($){return $!==null&&!H0($)&&$.constructor!==null&&!H0($.constructor)&&t($.constructor.isBuffer)&&$.constructor.isBuffer($)}function A6($){let Y;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)Y=ArrayBuffer.isView($);else Y=$&&$.buffer&&R1($.buffer);return Y}function u6(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;return{}}function g0($,Y,{allOwnKeys:Q=!1}={}){if($===null||typeof $>"u")return;let G,W;if(typeof $!=="object")$=[$];if(w0($))for(G=0,W=$.length;G<W;G++)Y.call(null,$[G],G,$);else{if(E0($))return;let Z=Q?Object.getOwnPropertyNames($):Object.keys($),X=Z.length,K;for(G=0;G<X;G++)K=Z[G],Y.call(null,$[K],K,$)}}function O1($,Y){if(E0($))return null;Y=Y.toLowerCase();let Q=Object.keys($),G=Q.length,W;while(G-- >0)if(W=Q[G],Y===W.toLowerCase())return W;return null}function k4(...$){let{caseless:Y,skipUndefined:Q}=H1(this)&&this||{},G={},W=(Z,X)=>{if(X==="__proto__"||X==="constructor"||X==="prototype")return;let K=Y&&typeof X==="string"&&O1(G,X)||X,M=x4(G,K)?G[K]:void 0;if(M4(M)&&M4(Z))G[K]=k4(M,Z);else if(M4(Z))G[K]=k4({},Z);else if(w0(Z))G[K]=Z.slice();else if(!Q||!H0(Z))G[K]=Z};for(let Z=0,X=$.length;Z<X;Z++){let K=$[Z];if(!K||E0(K))continue;if(g0(K,W),typeof K!=="object"||w0(K))continue;let M=Object.getOwnPropertySymbols(K);for(let z=0;z<M.length;z++){let N=M[z];if(X2.call(K,N))W(K[N],N)}}return G}function B2($){return!!($&&t($.append)&&$[C1]==="FormData"&&$[z4])}var E6,N4,z4,C1,B4,Q0=($)=>{return $=$.toLowerCase(),(Y)=>B4(Y)===$},V4=($)=>(Y)=>typeof Y===$,w0,H0,R1,j6,t,T1,h0=($)=>$!==null&&typeof $==="object",k6=($)=>$===!0||$===!1,M4=($)=>{if(B4($)!=="object")return!1;let Y=N4($);return(Y===null||Y===Object.prototype||Object.getPrototypeOf(Y)===null)&&!(C1 in $)&&!(z4 in $)},x6=($)=>{if(!h0($)||E0($))return!1;try{return Object.keys($).length===0&&Object.getPrototypeOf($)===Object.prototype}catch(Y){return!1}},b6,v6,y6=($)=>{return!!($&&typeof $.uri<"u")},m6=($)=>$&&typeof $.getParts<"u",f6,h6,g6=($)=>h0($)&&t($.pipe),_1,q1,d6=($)=>{if(!$)return!1;if(q1&&$ instanceof q1)return!0;let Y=N4($);if(!Y||Y===Object.prototype)return!1;if(!t($.append))return!1;let Q=B4($);return Q==="formdata"||Q==="object"&&t($.toString)&&$.toString()==="[object FormData]"},c6,p6,l6,i6,n6,a6=($)=>{return $.trim?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},U0,H1=($)=>!H0($)&&$!==U0,t6=($,Y,Q,{allOwnKeys:G}={})=>{return g0(Y,(W,Z)=>{if(Q&&t(W))Object.defineProperty($,Z,{__proto__:null,value:f0(W,Q),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty($,Z,{__proto__:null,value:W,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:G}),$},s6=($)=>{if($.charCodeAt(0)===65279)$=$.slice(1);return $},r6=($,Y,Q,G)=>{$.prototype=Object.create(Y.prototype,G),Object.defineProperty($.prototype,"constructor",{__proto__:null,value:$,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty($,"super",{__proto__:null,value:Y.prototype}),Q&&Object.assign($.prototype,Q)},o6=($,Y,Q,G)=>{let W,Z,X,K={};if(Y=Y||{},$==null)return Y;do{W=Object.getOwnPropertyNames($),Z=W.length;while(Z-- >0)if(X=W[Z],(!G||G(X,$,Y))&&!K[X])Y[X]=$[X],K[X]=!0;$=Q!==!1&&N4($)}while($&&(!Q||Q($,Y))&&$!==Object.prototype);return Y},e6=($,Y,Q)=>{if($=String($),Q===void 0||Q>$.length)Q=$.length;Q-=Y.length;let G=$.indexOf(Y,Q);return G!==-1&&G===Q},$2=($)=>{if(!$)return null;if(w0($))return $;let Y=$.length;if(!T1(Y))return null;let Q=Array(Y);while(Y-- >0)Q[Y]=$[Y];return Q},Y2,Q2=($,Y)=>{let G=($&&$[z4]).call($),W;while((W=G.next())&&!W.done){let Z=W.value;Y.call($,Z[0],Z[1])}},G2=($,Y)=>{let Q,G=[];while((Q=$.exec(Y))!==null)G.push(Q);return G},W2,Z2=($)=>{return $.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(Q,G,W){return G.toUpperCase()+W})},x4,X2,J2,E1=($,Y)=>{let Q=Object.getOwnPropertyDescriptors($),G={};g0(Q,(W,Z)=>{let X;if((X=Y(W,Z,$))!==!1)G[Z]=X||W}),Object.defineProperties($,G)},K2=($)=>{E1($,(Y,Q)=>{if(t($)&&["arguments","caller","callee"].includes(Q))return!1;let G=$[Q];if(!t(G))return;if(Y.enumerable=!1,"writable"in Y){Y.writable=!1;return}if(!Y.set)Y.set=()=>{throw Error("Can not rewrite read-only method '"+Q+"'")}})},M2=($,Y)=>{let Q={},G=(W)=>{W.forEach((Z)=>{Q[Z]=!0})};return w0($)?G($):G(String($).split(Y)),Q},N2=()=>{},z2=($,Y)=>{return $!=null&&Number.isFinite($=+$)?$:Y},V2=($)=>{let Y=new WeakSet,Q=(G)=>{if(h0(G)){if(Y.has(G))return;if(E0(G))return G;if(!("toJSON"in G)){Y.add(G);let W=w0(G)?[]:{};return g0(G,(Z,X)=>{let K=Q(Z);!H0(K)&&(W[X]=K)}),Y.delete(G),W}}return G};return Q($)},I2,F2=($)=>$&&(h0($)||t($))&&t($.then)&&t($.catch),A1,L2,U2=($)=>$!=null&&t($[z4]),J;var j=C(()=>{j4();({toString:E6}=Object.prototype),{getPrototypeOf:N4}=Object,{iterator:z4,toStringTag:C1}=Symbol,B4=(($)=>(Y)=>{let Q=E6.call(Y);return $[Q]||($[Q]=Q.slice(8,-1).toLowerCase())})(Object.create(null)),{isArray:w0}=Array,H0=V4("undefined");R1=Q0("ArrayBuffer");j6=V4("string"),t=V4("function"),T1=V4("number"),b6=Q0("Date"),v6=Q0("File"),f6=Q0("Blob"),h6=Q0("FileList");_1=u6(),q1=typeof _1.FormData<"u"?_1.FormData:void 0,c6=Q0("URLSearchParams"),[p6,l6,i6,n6]=["ReadableStream","Request","Response","Headers"].map(Q0);U0=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})();Y2=(($)=>{return(Y)=>{return $&&Y instanceof $}})(typeof Uint8Array<"u"&&N4(Uint8Array)),W2=Q0("HTMLFormElement"),x4=(({hasOwnProperty:$})=>(Y,Q)=>$.call(Y,Q))(Object.prototype),{propertyIsEnumerable:X2}=Object.prototype,J2=Q0("RegExp");I2=Q0("AsyncFunction"),A1=(($,Y)=>{if($)return setImmediate;return Y?((Q,G)=>{return U0.addEventListener("message",({source:W,data:Z})=>{if(W===U0&&Z===Q)G.length&&G.shift()()},!1),(W)=>{G.push(W),U0.postMessage(Q,"*")}})(`axios@${Math.random()}`,[]):(Q)=>setTimeout(Q)})(typeof setImmediate==="function",t(U0.postMessage)),L2=typeof queueMicrotask<"u"?queueMicrotask.bind(U0):typeof process<"u"&&process.nextTick||A1,J={isArray:w0,isArrayBuffer:R1,isBuffer:E0,isFormData:d6,isArrayBufferView:A6,isString:j6,isNumber:T1,isBoolean:k6,isObject:h0,isPlainObject:M4,isEmptyObject:x6,isReadableStream:p6,isRequest:l6,isResponse:i6,isHeaders:n6,isUndefined:H0,isDate:b6,isFile:v6,isReactNativeBlob:y6,isReactNative:m6,isBlob:f6,isRegExp:J2,isFunction:t,isStream:g6,isURLSearchParams:c6,isTypedArray:Y2,isFileList:h6,forEach:g0,merge:k4,extend:t6,trim:a6,stripBOM:s6,inherits:r6,toFlatObject:o6,kindOf:B4,kindOfTest:Q0,endsWith:e6,toArray:$2,forEachEntry:Q2,matchAll:G2,isHTMLForm:W2,hasOwnProperty:x4,hasOwnProp:x4,reduceDescriptors:E1,freezeMethods:K2,toObjectSet:M2,toCamelCase:Z2,noop:N2,toFiniteNumber:z2,findKey:O1,global:U0,isContextDefined:H1,isSpecCompliantForm:B2,toJSONObject:V2,isAsyncFn:I2,isThenable:F2,setImmediate:A1,asap:L2,isIterable:U2}});var w2,j1=($)=>{let Y={},Q,G,W;return $&&$.split(`
2
- `).forEach(function(X){if(W=X.indexOf(":"),Q=X.substring(0,W).trim().toLowerCase(),G=X.substring(W+1).trim(),!Q||Y[Q]&&w2[Q])return;if(Q==="set-cookie")if(Y[Q])Y[Q].push(G);else Y[Q]=[G];else Y[Q]=Y[Q]?Y[Q]+", "+G:G}),Y};var k1=C(()=>{j();w2=J.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"])});function S2($){let Y=0,Q=$.length;while(Y<Q){let G=$.charCodeAt(Y);if(G!==9&&G!==32)break;Y+=1}while(Q>Y){let G=$.charCodeAt(Q-1);if(G!==9&&G!==32)break;Q-=1}return Y===0&&Q===$.length?$:$.slice(Y,Q)}function b4($,Y){if(J.isArray($))return $.map((Q)=>b4(Q,Y));return S2(String($).replace(Y,""))}function A0($){let Y=Object.create(null);return J.forEach($.toJSON(),(Q,G)=>{Y[G]=_2(Q)}),Y}var D2,P2,x1=($)=>b4($,D2),_2=($)=>b4($,P2);var u0=C(()=>{j();D2=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),P2=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g")});function d0($){return $&&String($).trim().toLowerCase()}function I4($){if($===!1||$==null)return $;return J.isArray($)?$.map(I4):x1(String($))}function q2($){let Y=Object.create(null),Q=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,G;while(G=Q.exec($))Y[G[1]]=G[2];return Y}function v4($,Y,Q,G,W){if(J.isFunction(G))return G.call(this,Y,Q);if(W)Y=Q;if(!J.isString(Y))return;if(J.isString(G))return Y.indexOf(G)!==-1;if(J.isRegExp(G))return G.test(Y)}function R2($){return $.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Y,Q,G)=>{return Q.toUpperCase()+G})}function T2($,Y){let Q=J.toCamelCase(" "+Y);["get","set","has"].forEach((G)=>{Object.defineProperty($,G+Q,{__proto__:null,value:function(W,Z,X){return this[G].call(this,Y,W,Z,X)},configurable:!0})})}var b1,C2=($)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test($.trim()),c0,x;var G0=C(()=>{j();k1();u0();b1=Symbol("internals");c0=class c0{constructor($){$&&this.set($)}set($,Y,Q){let G=this;function W(X,K,M){let z=d0(K);if(!z)return;let N=J.findKey(G,z);if(!N||G[N]===void 0||M===!0||M===void 0&&G[N]!==!1)G[N||K]=I4(X)}let Z=(X,K)=>J.forEach(X,(M,z)=>W(M,z,K));if(J.isPlainObject($)||$ instanceof this.constructor)Z($,Y);else if(J.isString($)&&($=$.trim())&&!C2($))Z(j1($),Y);else if(J.isObject($)&&J.isIterable($)){let X={},K,M;for(let z of $){if(!J.isArray(z))throw TypeError("Object iterator must return a key-value pair");X[M=z[0]]=(K=X[M])?J.isArray(K)?[...K,z[1]]:[K,z[1]]:z[1]}Z(X,Y)}else $!=null&&W(Y,$,Q);return this}get($,Y){if($=d0($),$){let Q=J.findKey(this,$);if(Q){let G=this[Q];if(!Y)return G;if(Y===!0)return q2(G);if(J.isFunction(Y))return Y.call(this,G,Q);if(J.isRegExp(Y))return Y.exec(G);throw TypeError("parser must be boolean|regexp|function")}}}has($,Y){if($=d0($),$){let Q=J.findKey(this,$);return!!(Q&&this[Q]!==void 0&&(!Y||v4(this,this[Q],Q,Y)))}return!1}delete($,Y){let Q=this,G=!1;function W(Z){if(Z=d0(Z),Z){let X=J.findKey(Q,Z);if(X&&(!Y||v4(Q,Q[X],X,Y)))delete Q[X],G=!0}}if(J.isArray($))$.forEach(W);else W($);return G}clear($){let Y=Object.keys(this),Q=Y.length,G=!1;while(Q--){let W=Y[Q];if(!$||v4(this,this[W],W,$,!0))delete this[W],G=!0}return G}normalize($){let Y=this,Q={};return J.forEach(this,(G,W)=>{let Z=J.findKey(Q,W);if(Z){Y[Z]=I4(G),delete Y[W];return}let X=$?R2(W):String(W).trim();if(X!==W)delete Y[W];Y[X]=I4(G),Q[X]=!0}),this}concat(...$){return this.constructor.concat(this,...$)}toJSON($){let Y=Object.create(null);return J.forEach(this,(Q,G)=>{Q!=null&&Q!==!1&&(Y[G]=$&&J.isArray(Q)?Q.join(", "):Q)}),Y}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$,Y])=>$+": "+Y).join(`
3
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($){return $ instanceof this?$:new this($)}static concat($,...Y){let Q=new this($);return Y.forEach((G)=>Q.set(G)),Q}static accessor($){let Q=(this[b1]=this[b1]={accessors:{}}).accessors,G=this.prototype;function W(Z){let X=d0(Z);if(!Q[X])T2(G,Z),Q[X]=!0}return J.isArray($)?$.forEach(W):W($),this}};c0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(c0.prototype,({value:$},Y)=>{let Q=Y[0].toUpperCase()+Y.slice(1);return{get:()=>$,set(G){this[Q]=G}}});J.freezeMethods(c0);x=c0});function H2($){if(J.hasOwnProp($,"toJSON"))return!0;let Y=Object.getPrototypeOf($);while(Y&&Y!==Object.prototype){if(J.hasOwnProp(Y,"toJSON"))return!0;Y=Object.getPrototypeOf(Y)}return!1}function E2($,Y){let Q=new Set(Y.map((Z)=>String(Z).toLowerCase())),G=[],W=(Z)=>{if(Z===null||typeof Z!=="object")return Z;if(J.isBuffer(Z))return Z;if(G.indexOf(Z)!==-1)return;if(Z instanceof x)Z=Z.toJSON();G.push(Z);let X;if(J.isArray(Z))X=[],Z.forEach((K,M)=>{let z=W(K);if(!J.isUndefined(z))X[M]=z});else{if(!J.isPlainObject(Z)&&H2(Z))return G.pop(),Z;X=Object.create(null);for(let[K,M]of Object.entries(Z)){let z=Q.has(K.toLowerCase())?O2:W(M);if(!J.isUndefined(z))X[K]=z}}return G.pop(),X};return W($)}var O2="[REDACTED ****]",u,V;var r=C(()=>{j();G0();u=class u extends Error{static from($,Y,Q,G,W,Z){let X=new u($.message,Y||$.code,Q,G,W);if(X.cause=$,X.name=$.name,$.status!=null&&X.status==null)X.status=$.status;return Z&&Object.assign(X,Z),X}constructor($,Y,Q,G,W){super($);if(Object.defineProperty(this,"message",{__proto__:null,value:$,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,Y&&(this.code=Y),Q&&(this.config=Q),G&&(this.request=G),W)this.response=W,this.status=W.status}toJSON(){let $=this.config,Y=$&&J.hasOwnProp($,"redact")?$.redact:void 0,Q=J.isArray(Y)&&Y.length>0?E2($,Y):J.toJSONObject($);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Q,code:this.code,status:this.status}}};u.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";u.ERR_BAD_OPTION="ERR_BAD_OPTION";u.ECONNABORTED="ECONNABORTED";u.ETIMEDOUT="ETIMEDOUT";u.ECONNREFUSED="ECONNREFUSED";u.ERR_NETWORK="ERR_NETWORK";u.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";u.ERR_DEPRECATED="ERR_DEPRECATED";u.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";u.ERR_BAD_REQUEST="ERR_BAD_REQUEST";u.ERR_CANCELED="ERR_CANCELED";u.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";u.ERR_INVALID_URL="ERR_INVALID_URL";u.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";V=u});var v1,F4;var m4=C(()=>{v1=y4(A2(),1),F4=v1.default});function h4($){return J.isPlainObject($)||J.isArray($)}function y1($){return J.endsWith($,"[]")?$.slice(0,-2):$}function f4($,Y,Q){if(!$)return Y;return $.concat(Y).map(function(W,Z){return W=y1(W),!Q&&Z?"["+W+"]":W}).join(Q?".":"")}function j2($){return J.isArray($)&&!$.some(h4)}function x2($,Y,Q){if(!J.isObject($))throw TypeError("target must be an object");Y=Y||new(F4||FormData),Q=J.toFlatObject(Q,{metaTokens:!0,dots:!1,indexes:!1},!1,function(L,w){return!J.isUndefined(w[L])});let G=Q.metaTokens,W=Q.visitor||I,Z=Q.dots,X=Q.indexes,K=Q.Blob||typeof Blob<"u"&&Blob,M=Q.maxDepth===void 0?100:Q.maxDepth,z=K&&J.isSpecCompliantForm(Y);if(!J.isFunction(W))throw TypeError("visitor must be a function");function N(U){if(U===null)return"";if(J.isDate(U))return U.toISOString();if(J.isBoolean(U))return U.toString();if(!z&&J.isBlob(U))throw new V("Blob is not supported. Use a Buffer instead.");if(J.isArrayBuffer(U)||J.isTypedArray(U))return z&&typeof Blob==="function"?new Blob([U]):Buffer.from(U);return U}function I(U,L,w){let _=U;if(J.isReactNative(Y)&&J.isReactNativeBlob(U))return Y.append(f4(w,L,Z),N(U)),!1;if(U&&!w&&typeof U==="object"){if(J.endsWith(L,"{}"))L=G?L:L.slice(0,-2),U=JSON.stringify(U);else if(J.isArray(U)&&j2(U)||(J.isFileList(U)||J.endsWith(L,"[]"))&&(_=J.toArray(U)))return L=y1(L),_.forEach(function(O,f){!(J.isUndefined(O)||O===null)&&Y.append(X===!0?f4([L],f,Z):X===null?L:L+"[]",N(O))}),!1}if(h4(U))return!0;return Y.append(f4(w,L,Z),N(U)),!1}let B=[],F=Object.assign(k2,{defaultVisitor:I,convertValue:N,isVisitable:h4});function D(U,L,w=0){if(J.isUndefined(U))return;if(w>M)throw new V("Object is too deeply nested ("+w+" levels). Max depth: "+M,V.ERR_FORM_DATA_DEPTH_EXCEEDED);if(B.indexOf(U)!==-1)throw Error("Circular reference detected in "+L.join("."));B.push(U),J.forEach(U,function(R,O){if((!(J.isUndefined(R)||R===null)&&W.call(Y,R,J.isString(O)?O.trim():O,L,F))===!0)D(R,L?L.concat(O):[O],w+1)}),B.pop()}if(!J.isObject($))throw TypeError("data must be an object");return D($),Y}var k2,I0;var p0=C(()=>{j();r();m4();k2=J.toFlatObject(J,{},null,function(Y){return/^is[A-Z]/.test(Y)});I0=x2});function m1($){let Y={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent($).replace(/[!'()~]|%20/g,function(G){return Y[G]})}function f1($,Y){this._pairs=[],$&&I0($,this,Y)}var h1,g1;var u1=C(()=>{p0();h1=f1.prototype;h1.append=function(Y,Q){this._pairs.push([Y,Q])};h1.toString=function(Y){let Q=Y?function(G){return Y.call(this,G,m1)}:m1;return this._pairs.map(function(W){return Q(W[0])+"="+Q(W[1])},"").join("&")};g1=f1});function b2($){return encodeURIComponent($).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function S0($,Y,Q){if(!Y)return $;let G=Q&&Q.encode||b2,W=J.isFunction(Q)?{serialize:Q}:Q,Z=W&&W.serialize,X;if(Z)X=Z(Y,W);else X=J.isURLSearchParams(Y)?Y.toString():new g1(Y,W).toString(G);if(X){let K=$.indexOf("#");if(K!==-1)$=$.slice(0,K);$+=($.indexOf("?")===-1?"?":"&")+X}return $}var L4=C(()=>{j();u1()});class d1{constructor(){this.handlers=[]}use($,Y,Q){return this.handlers.push({fulfilled:$,rejected:Y,synchronous:Q?Q.synchronous:!1,runWhen:Q?Q.runWhen:null}),this.handlers.length-1}eject($){if(this.handlers[$])this.handlers[$]=null}clear(){if(this.handlers)this.handlers=[]}forEach($){J.forEach(this.handlers,function(Q){if(Q!==null)$(Q)})}}var g4;var c1=C(()=>{j();g4=d1});var F0;var l0=C(()=>{F0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1}});import v2 from"url";var p1;var l1=C(()=>{p1=v2.URLSearchParams});import y2 from"crypto";var u4="abcdefghijklmnopqrstuvwxyz",i1="0123456789",n1,m2=($=16,Y=n1.ALPHA_DIGIT)=>{let Q="",{length:G}=Y,W=new Uint32Array($);y2.randomFillSync(W);for(let Z=0;Z<$;Z++)Q+=Y[W[Z]%G];return Q},a1;var t1=C(()=>{l1();m4();n1={DIGIT:i1,ALPHA:u4,ALPHA_DIGIT:u4+u4.toUpperCase()+i1},a1={isNode:!0,classes:{URLSearchParams:p1,FormData:F4,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:n1,generateString:m2,protocols:["http","https","file","data"]}});var p4={};f2(p4,{origin:()=>u2,navigator:()=>d4,hasStandardBrowserWebWorkerEnv:()=>g2,hasStandardBrowserEnv:()=>h2,hasBrowserEnv:()=>c4});var c4,d4,h2,g2,u2;var s1=C(()=>{c4=typeof window<"u"&&typeof document<"u",d4=typeof navigator==="object"&&navigator||void 0,h2=c4&&(!d4||["ReactNative","NativeScript","NS"].indexOf(d4.product)<0),g2=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),u2=c4&&window.location.href||"http://localhost"});var H;var W0=C(()=>{t1();s1();H={...p4,...a1}});function l4($,Y){return I0($,new H.classes.URLSearchParams,{visitor:function(Q,G,W,Z){if(H.isNode&&J.isBuffer(Q))return this.append(G,Q.toString("base64")),!1;return Z.defaultVisitor.apply(this,arguments)},...Y})}var r1=C(()=>{j();p0();W0()});function d2($){return J.matchAll(/\w+|\[(\w*)]/g,$).map((Y)=>{return Y[0]==="[]"?"":Y[1]||Y[0]})}function c2($){let Y={},Q=Object.keys($),G,W=Q.length,Z;for(G=0;G<W;G++)Z=Q[G],Y[Z]=$[Z];return Y}function p2($){function Y(Q,G,W,Z){let X=Q[Z++];if(X==="__proto__")return!0;let K=Number.isFinite(+X),M=Z>=Q.length;if(X=!X&&J.isArray(W)?W.length:X,M){if(J.hasOwnProp(W,X))W[X]=J.isArray(W[X])?W[X].concat(G):[W[X],G];else W[X]=G;return!K}if(!J.hasOwnProp(W,X)||!J.isObject(W[X]))W[X]=[];if(Y(Q,G,W[X],Z)&&J.isArray(W[X]))W[X]=c2(W[X]);return!K}if(J.isFormData($)&&J.isFunction($.entries)){let Q={};return J.forEachEntry($,(G,W)=>{Y(d2(G),W,Q,0)}),Q}return null}var U4;var i4=C(()=>{j();U4=p2});function l2($,Y,Q){if(J.isString($))try{return(Y||JSON.parse)($),J.trim($)}catch(G){if(G.name!=="SyntaxError")throw G}return(Q||JSON.stringify)($)}var j0=($,Y)=>$!=null&&J.hasOwnProp($,Y)?$[Y]:void 0,n4,k0;var w4=C(()=>{j();r();l0();p0();r1();W0();i4();n4={transitional:F0,adapter:["xhr","http","fetch"],transformRequest:[function(Y,Q){let G=Q.getContentType()||"",W=G.indexOf("application/json")>-1,Z=J.isObject(Y);if(Z&&J.isHTMLForm(Y))Y=new FormData(Y);if(J.isFormData(Y))return W?JSON.stringify(U4(Y)):Y;if(J.isArrayBuffer(Y)||J.isBuffer(Y)||J.isStream(Y)||J.isFile(Y)||J.isBlob(Y)||J.isReadableStream(Y))return Y;if(J.isArrayBufferView(Y))return Y.buffer;if(J.isURLSearchParams(Y))return Q.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Y.toString();let K;if(Z){let M=j0(this,"formSerializer");if(G.indexOf("application/x-www-form-urlencoded")>-1)return l4(Y,M).toString();if((K=J.isFileList(Y))||G.indexOf("multipart/form-data")>-1){let z=j0(this,"env"),N=z&&z.FormData;return I0(K?{"files[]":Y}:Y,N&&new N,M)}}if(Z||W)return Q.setContentType("application/json",!1),l2(Y);return Y}],transformResponse:[function(Y){let Q=j0(this,"transitional")||n4.transitional,G=Q&&Q.forcedJSONParsing,W=j0(this,"responseType"),Z=W==="json";if(J.isResponse(Y)||J.isReadableStream(Y))return Y;if(Y&&J.isString(Y)&&(G&&!W||Z)){let K=!(Q&&Q.silentJSONParsing)&&Z;try{return JSON.parse(Y,j0(this,"parseReviver"))}catch(M){if(K){if(M.name==="SyntaxError")throw V.from(M,V.ERR_BAD_RESPONSE,this,null,j0(this,"response"));throw M}}}return Y}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:H.classes.FormData,Blob:H.classes.Blob},validateStatus:function(Y){return Y>=200&&Y<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch","query"],($)=>{n4.headers[$]={}});k0=n4});function i0($,Y){let Q=this||k0,G=Y||Q,W=x.from(G.headers),Z=G.data;return J.forEach($,function(K){Z=K.call(Q,Z,W.normalize(),Y?Y.status:void 0)}),W.normalize(),Z}var o1=C(()=>{j();w4();G0()});function n0($){return!!($&&$.__CANCEL__)}var a4=()=>{};var e1,o;var D0=C(()=>{r();e1=class e1 extends V{constructor($,Y,Q){super($==null?"canceled":$,V.ERR_CANCELED,Y,Q);this.name="CanceledError",this.__CANCEL__=!0}};o=e1});function z0($,Y,Q){let G=Q.config.validateStatus;if(!Q.status||!G||G(Q.status))$(Q);else Y(new V("Request failed with status code "+Q.status,Q.status>=400&&Q.status<500?V.ERR_BAD_REQUEST:V.ERR_BAD_RESPONSE,Q.config,Q.request,Q))}var S4=C(()=>{r()});function t4($){if(typeof $!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test($)}var $5=()=>{};function s4($,Y){return Y?$.replace(/\/?\/$/,"")+"/"+Y.replace(/^\/+/,""):$}var Y5=()=>{};function P0($,Y,Q){let G=!t4(Y);if($&&(G||Q===!1))return s4($,Y);return Y}var D4=C(()=>{$5();Y5()});var G5=a0((Q5)=>{Object.defineProperty(Q5,"__esModule",{value:!0});function i2($){return function(Y,Q){return new Promise((G,W)=>{$.call(this,Y,Q,(Z,X)=>{if(Z)W(Z);else G(X)})})}}Q5.default=i2});var X5=a0((o4,Z5)=>{var W5=o4&&o4.__importDefault||function($){return $&&$.__esModule?$:{default:$}},a2=s0("events"),t2=W5(e4()),s2=W5(G5()),t0=t2.default("agent-base");function r2($){return Boolean($)&&typeof $.addRequest==="function"}function r4(){let{stack:$}=Error();if(typeof $!=="string")return!1;return $.split(`
4
- `).some((Y)=>Y.indexOf("(https.js:")!==-1||Y.indexOf("node:https:")!==-1)}function P4($,Y){return new P4.Agent($,Y)}(function($){class Y extends a2.EventEmitter{constructor(Q,G){super();let W=G;if(typeof Q==="function")this.callback=Q;else if(Q)W=Q;if(this.timeout=null,W&&typeof W.timeout==="number")this.timeout=W.timeout;this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){if(typeof this.explicitDefaultPort==="number")return this.explicitDefaultPort;return r4()?443:80}set defaultPort(Q){this.explicitDefaultPort=Q}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return r4()?"https:":"http:"}set protocol(Q){this.explicitProtocol=Q}callback(Q,G,W){throw Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(Q,G){let W=Object.assign({},G);if(typeof W.secureEndpoint!=="boolean")W.secureEndpoint=r4();if(W.host==null)W.host="localhost";if(W.port==null)W.port=W.secureEndpoint?443:80;if(W.protocol==null)W.protocol=W.secureEndpoint?"https:":"http:";if(W.host&&W.path)delete W.path;delete W.agent,delete W.hostname,delete W._defaultAgent,delete W.defaultPort,delete W.createConnection,Q._last=!0,Q.shouldKeepAlive=!1;let Z=!1,X=null,K=W.timeout||this.timeout,M=(B)=>{if(Q._hadError)return;Q.emit("error",B),Q._hadError=!0},z=()=>{X=null,Z=!0;let B=Error(`A "socket" was not created for HTTP request before ${K}ms`);B.code="ETIMEOUT",M(B)},N=(B)=>{if(Z)return;if(X!==null)clearTimeout(X),X=null;M(B)},I=(B)=>{if(Z)return;if(X!=null)clearTimeout(X),X=null;if(r2(B)){t0("Callback returned another Agent instance %o",B.constructor.name),B.addRequest(Q,W);return}if(B){B.once("free",()=>{this.freeSocket(B,W)}),Q.onSocket(B);return}let F=Error(`no Duplex stream was returned to agent-base for \`${Q.method} ${Q.path}\``);M(F)};if(typeof this.callback!=="function"){M(Error("`callback` is not defined"));return}if(!this.promisifiedCallback)if(this.callback.length>=3)t0("Converting legacy callback function to promise"),this.promisifiedCallback=s2.default(this.callback);else this.promisifiedCallback=this.callback;if(typeof K==="number"&&K>0)X=setTimeout(z,K);if("port"in W&&typeof W.port!=="number")W.port=Number(W.port);try{t0("Resolving socket for %o request: %o",W.protocol,`${Q.method} ${Q.path}`),Promise.resolve(this.promisifiedCallback(Q,W)).then(I,N)}catch(B){Promise.reject(B).catch(N)}}freeSocket(Q,G){t0("Freeing socket %o %o",Q.constructor.name,G),Q.destroy()}destroy(){t0("Destroying agent %o",this.constructor.name)}}$.Agent=Y,$.prototype=$.Agent.prototype})(P4||(P4={}));Z5.exports=P4});var J5=a0((o0)=>{var o2=o0&&o0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(o0,"__esModule",{value:!0});var e2=o2(e4()),r0=e2.default("https-proxy-agent:parse-proxy-response");function $$($){return new Promise((Y,Q)=>{let G=0,W=[];function Z(){let I=$.read();if(I)N(I);else $.once("readable",Z)}function X(){$.removeListener("end",M),$.removeListener("error",z),$.removeListener("close",K),$.removeListener("readable",Z)}function K(I){r0("onclose had error %o",I)}function M(){r0("onend")}function z(I){X(),r0("onerror %o",I),Q(I)}function N(I){W.push(I),G+=I.length;let B=Buffer.concat(W,G);if(B.indexOf(`\r
5
- \r
6
- `)===-1){r0("have not received end of HTTP headers yet..."),Z();return}let D=B.toString("ascii",0,B.indexOf(`\r
7
- `)),U=+D.split(" ")[1];r0("got proxy server response: %o",D),Y({statusCode:U,buffered:B})}$.on("error",z),$.on("close",K),$.on("end",M),Z()})}o0.default=$$});var z5=a0((_0)=>{var Y$=_0&&_0.__awaiter||function($,Y,Q,G){function W(Z){return Z instanceof Q?Z:new Q(function(X){X(Z)})}return new(Q||(Q=Promise))(function(Z,X){function K(N){try{z(G.next(N))}catch(I){X(I)}}function M(N){try{z(G.throw(N))}catch(I){X(I)}}function z(N){N.done?Z(N.value):W(N.value).then(K,M)}z((G=G.apply($,Y||[])).next())})},x0=_0&&_0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(_0,"__esModule",{value:!0});var K5=x0(s0("net")),M5=x0(s0("tls")),Q$=x0(s0("url")),G$=x0(s0("assert")),W$=x0(e4()),Z$=X5(),X$=x0(J5()),e0=W$.default("https-proxy-agent:agent");class N5 extends Z$.Agent{constructor($){let Y;if(typeof $==="string")Y=Q$.default.parse($);else Y=$;if(!Y)throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");e0("creating new HttpsProxyAgent instance: %o",Y);super(Y);let Q=Object.assign({},Y);if(this.secureProxy=Y.secureProxy||M$(Q.protocol),Q.host=Q.hostname||Q.host,typeof Q.port==="string")Q.port=parseInt(Q.port,10);if(!Q.port&&Q.host)Q.port=this.secureProxy?443:80;if(this.secureProxy&&!("ALPNProtocols"in Q))Q.ALPNProtocols=["http 1.1"];if(Q.host&&Q.path)delete Q.path,delete Q.pathname;this.proxy=Q}callback($,Y){return Y$(this,void 0,void 0,function*(){let{proxy:Q,secureProxy:G}=this,W;if(G)e0("Creating `tls.Socket`: %o",Q),W=M5.default.connect(Q);else e0("Creating `net.Socket`: %o",Q),W=K5.default.connect(Q);let Z=Object.assign({},Q.headers),K=`CONNECT ${`${Y.host}:${Y.port}`} HTTP/1.1\r
8
- `;if(Q.auth)Z["Proxy-Authorization"]=`Basic ${Buffer.from(Q.auth).toString("base64")}`;let{host:M,port:z,secureEndpoint:N}=Y;if(!K$(z,N))M+=`:${z}`;Z.Host=M,Z.Connection="close";for(let U of Object.keys(Z))K+=`${U}: ${Z[U]}\r
9
- `;let I=X$.default(W);W.write(`${K}\r
10
- `);let{statusCode:B,buffered:F}=yield I;if(B===200){if($.once("socket",J$),Y.secureEndpoint){e0("Upgrading socket connection to TLS");let U=Y.servername||Y.host;return M5.default.connect(Object.assign(Object.assign({},N$(Y,"host","hostname","path","port")),{socket:W,servername:U}))}return W}W.destroy();let D=new K5.default.Socket({writable:!1});return D.readable=!0,$.once("socket",(U)=>{e0("replaying proxy buffer for failed request"),G$.default(U.listenerCount("data")>0),U.push(F),U.push(null)}),D})}}_0.default=N5;function J$($){$.resume()}function K$($,Y){return Boolean(!Y&&$===80||Y&&$===443)}function M$($){return typeof $==="string"?/^https:?$/i.test($):!1}function N$($,...Y){let Q={},G;for(G in $)if(!Y.includes(G))Q[G]=$[G];return Q}});var V5=a0((Q1,B5)=>{var z$=Q1&&Q1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},$1=z$(z5());function Y1($){return new $1.default($)}(function($){$.HttpsProxyAgent=$1.default,$.prototype=$1.default.prototype})(Y1||(Y1={}));B5.exports=Y1});var B0="1.17.0";var $4=()=>{};function Y4($){let Y=/^([-+\w]{1,25}):(?:\/\/)?/.exec($);return Y&&Y[1]||""}var G1=()=>{};function W1($,Y,Q){let G=Q&&Q.Blob||H.classes.Blob,W=Y4($);if(Y===void 0&&G)Y=!0;if(W==="data"){$=W.length?$.slice(W.length+1):$;let Z=B$.exec($);if(!Z)throw new V("Invalid URL",V.ERR_INVALID_URL);let X=Z[1],K=Z[2],M=Z[3]?"base64":"utf8",z=Z[4],N;if(X)N=K?X+K:X;else if(K)N="text/plain"+K;let I=Buffer.from(decodeURIComponent(z),M);if(Y){if(!G)throw new V("Blob is not supported",V.ERR_NOT_SUPPORT);return new G([I],{type:N})}return I}throw new V("Unsupported protocol "+W,V.ERR_NOT_SUPPORT)}var B$;var I5=C(()=>{r();G1();W0();B$=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/});import V$ from"stream";var Z1,F5,X1;var L5=C(()=>{j();Z1=Symbol("internals");F5=class F5 extends V$.Transform{constructor($){$=J.toFlatObject($,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(Q,G)=>{return!J.isUndefined(G[Q])});super({readableHighWaterMark:$.chunkSize});let Y=this[Z1]={timeWindow:$.timeWindow,chunkSize:$.chunkSize,maxRate:$.maxRate,minChunkSize:$.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(Q)=>{if(Q==="progress"){if(!Y.isCaptured)Y.isCaptured=!0}})}_read($){let Y=this[Z1];if(Y.onReadCallback)Y.onReadCallback();return super._read($)}_transform($,Y,Q){let G=this[Z1],W=G.maxRate,Z=this.readableHighWaterMark,X=G.timeWindow,K=1000/X,M=W/K,z=G.minChunkSize!==!1?Math.max(G.minChunkSize,M*0.01):0,N=(B,F)=>{let D=Buffer.byteLength(B);if(G.bytesSeen+=D,G.bytes+=D,G.isCaptured&&this.emit("progress",G.bytesSeen),this.push(B))process.nextTick(F);else G.onReadCallback=()=>{G.onReadCallback=null,process.nextTick(F)}},I=(B,F)=>{let D=Buffer.byteLength(B),U=null,L=Z,w,_=0;if(W){let R=Date.now();if(!G.ts||(_=R-G.ts)>=X)G.ts=R,w=M-G.bytes,G.bytes=w<0?-w:0,_=0;w=M-G.bytes}if(W){if(w<=0)return setTimeout(()=>{F(null,B)},X-_);if(w<L)L=w}if(L&&D>L&&D-L>z)U=B.subarray(L),B=B.subarray(0,L);N(B,U?()=>{process.nextTick(F,null,U)}:F)};I($,function B(F,D){if(F)return Q(F);if(D)I(D,B);else Q(null)})}};X1=F5});var U5,I$=async function*($){if($.stream)yield*$.stream();else if($.arrayBuffer)yield await $.arrayBuffer();else if($[U5])yield*$[U5]();else yield $},_4;var J1=C(()=>{({asyncIterator:U5}=Symbol),_4=I$});import F$ from"util";import{Readable as L$}from"stream";class w5{constructor($,Y){let{escapeName:Q}=this.constructor,G=J.isString(Y),W=`Content-Disposition: form-data; name="${Q($)}"${!G&&Y.name?`; filename="${Q(Y.name)}"`:""}${q0}`;if(G)Y=Q4.encode(String(Y).replace(/\r?\n|\r\n?/g,q0));else{let Z=String(Y.type||"application/octet-stream").replace(/[\r\n]/g,"");W+=`Content-Type: ${Z}${q0}`}this.headers=Q4.encode(W+q0),this.contentLength=G?Y.byteLength:Y.size,this.size=this.headers.byteLength+this.contentLength+S$,this.name=$,this.value=Y}async*encode(){yield this.headers;let{value:$}=this;if(J.isTypedArray($))yield $;else yield*_4($);yield w$}static escapeName($){return String($).replace(/[\r\n"]/g,(Y)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[Y])}}var U$,Q4,q0=`\r
11
- `,w$,S$=2,D$=($,Y,Q)=>{let{tag:G="form-data-boundary",size:W=25,boundary:Z=G+"-"+H.generateString(W,U$)}=Q||{};if(!J.isFormData($))throw TypeError("FormData instance required");if(Z.length<1||Z.length>70)throw Error("boundary must be 1-70 characters long");let X=Q4.encode("--"+Z+q0),K=Q4.encode("--"+Z+"--"+q0),M=K.byteLength,z=Array.from($.entries()).map(([I,B])=>{let F=new w5(I,B);return M+=F.size,F});M+=X.byteLength*z.length,M=J.toFiniteNumber(M);let N={"Content-Type":`multipart/form-data; boundary=${Z}`};if(Number.isFinite(M))N["Content-Length"]=M;return Y&&Y(N),L$.from(async function*(){for(let I of z)yield X,yield*I.encode();yield K}())},S5;var D5=C(()=>{j();J1();W0();U$=H.ALPHABET.ALPHA_DIGIT+"-_",Q4=typeof TextEncoder==="function"?new TextEncoder:new F$.TextEncoder,w$=Q4.encode(q0);S5=D$});import P$ from"stream";var P5,_5;var q5=C(()=>{P5=class P5 extends P$.Transform{__transform($,Y,Q){this.push($),Q()}_transform($,Y,Q){if($.length!==0){if(this._transform=this.__transform,$[0]!==120){let G=Buffer.alloc(2);G[0]=120,G[1]=156,this.push(G,Y)}}this.__transform($,Y,Q)}};_5=P5});import _$ from"http2";import q$ from"util";class C5{constructor(){this.sessions=Object.create(null)}getSession($,Y){Y=Object.assign({sessionTimeout:1000},Y);let Q=this.sessions[$];if(Q){let N=Q.length;for(let I=0;I<N;I++){let[B,F]=Q[I];if(!B.destroyed&&!B.closed&&q$.isDeepStrictEqual(F,Y))return B}}let G=_$.connect($,Y),W,Z,X=()=>{if(W)return;if(W=!0,Z)clearTimeout(Z),Z=null;let N=Q,I=N.length,B=I;while(B--)if(N[B][0]===G){if(I===1)delete this.sessions[$];else N.splice(B,1);if(!G.closed)G.close();return}},K=G.request,{sessionTimeout:M}=Y;if(M!=null){let N=0;G.request=function(){let I=K.apply(this,arguments);if(N++,Z)clearTimeout(Z),Z=null;return I.once("close",()=>{if(!--N)Z=setTimeout(()=>{Z=null,X()},M)}),I}}G.once("close",X);let z=[G,Y];return Q?Q.push(z):Q=this.sessions[$]=[z],G}}var R5;var T5=C(()=>{R5=C5});var C$=($,Y)=>{return J.isAsyncFn($)?function(...Q){let G=Q.pop();$.apply(this,Q).then((W)=>{try{Y?G(null,...Y(W)):G(null,W)}catch(Z){G(Z)}},G)}:$},O5;var H5=C(()=>{j();O5=C$});function K1($){let Y;try{Y=new URL($)}catch(Z){return!1}let Q=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!Q)return!1;if(Q==="*")return!0;let G=Number.parseInt(Y.port,10)||O$[Y.protocol.split(":",1)[0]]||0,W=A5(Y.hostname.toLowerCase());return Q.split(/[\s,]+/).some((Z)=>{if(!Z)return!1;let[X,K]=H$(Z);if(X=A5(X),!X)return!1;if(K&&K!==G)return!1;if(X.charAt(0)==="*")X=X.slice(1);if(X.charAt(0)===".")return W.endsWith(X);return W===X||E5(W)&&E5(X)})}var R$,j5=($)=>{let Y=$.split(".");if(Y.length!==4)return!1;if(Y[0]!=="127")return!1;return Y.every((Q)=>/^\d+$/.test(Q)&&Number(Q)>=0&&Number(Q)<=255)},T$=($)=>{if($==="::1")return!0;let Y=$.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(Y)return j5(Y[1]);let Q=$.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(Q){let W=parseInt(Q[1],16);return W>=32512&&W<=32767}let G=$.split(":");if(G.length===8){for(let W=0;W<7;W++)if(!/^0+$/.test(G[W]))return!1;return/^0*1$/.test(G[7])}return!1},E5=($)=>{if(!$)return!1;if(R$.has($))return!0;if(j5($))return!0;return T$($)},O$,H$=($)=>{let Y=$,Q=0;if(Y.charAt(0)==="["){let Z=Y.indexOf("]");if(Z!==-1){let X=Y.slice(1,Z),K=Y.slice(Z+1);if(K.charAt(0)===":"&&/^\d+$/.test(K.slice(1)))Q=Number.parseInt(K.slice(1),10);return[X,Q]}}let G=Y.indexOf(":"),W=Y.lastIndexOf(":");if(G!==-1&&G===W&&/^\d+$/.test(Y.slice(W+1)))Q=Number.parseInt(Y.slice(W+1),10),Y=Y.slice(0,W);return[Y,Q]},E$,A$,j$=($)=>{if(typeof $!=="string"||$.indexOf(":")===-1)return $;let Y=$.match(E$);if(Y)return Y[1];let Q=$.match(A$);if(Q){let G=parseInt(Q[1],16),W=parseInt(Q[2],16);return`${G>>8}.${G&255}.${W>>8}.${W&255}`}return $},A5=($)=>{if(!$)return $;if($.charAt(0)==="["&&$.charAt($.length-1)==="]")$=$.slice(1,-1);return j$($.replace(/\.+$/,""))};var k5=C(()=>{R$=new Set(["localhost"]),O$={http:80,https:443,ws:80,wss:443,ftp:21},E$=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,A$=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i});function k$($,Y){$=$||10;let Q=Array($),G=Array($),W=0,Z=0,X;return Y=Y!==void 0?Y:1000,function(M){let z=Date.now(),N=G[Z];if(!X)X=z;Q[W]=M,G[W]=z;let I=Z,B=0;while(I!==W)B+=Q[I++],I=I%$;if(W=(W+1)%$,W===Z)Z=(Z+1)%$;if(z-X<Y)return;let F=N&&z-N;return F?Math.round(B*1000/F):void 0}}var x5;var b5=C(()=>{x5=k$});function x$($,Y){let Q=0,G=1000/Y,W,Z,X=(z,N=Date.now())=>{if(Q=N,W=null,Z)clearTimeout(Z),Z=null;$(...z)};return[(...z)=>{let N=Date.now(),I=N-Q;if(I>=G)X(z,N);else if(W=z,!Z)Z=setTimeout(()=>{Z=null,X(W)},G-I)},()=>W&&X(W)]}var v5;var y5=C(()=>{v5=x$});var V0=($,Y,Q=3)=>{let G=0,W=x5(50,250);return v5((Z)=>{if(!Z||typeof Z.loaded!=="number")return;let X=Z.loaded,K=Z.lengthComputable?Z.total:void 0,M=K!=null?Math.min(X,K):X,z=Math.max(0,M-G),N=W(z);G=Math.max(G,M);let I={loaded:M,total:K,progress:K?M/K:void 0,bytes:z,rate:N?N:void 0,estimated:N&&K?(K-M)/N:void 0,event:Z,lengthComputable:K!=null,[Y?"download":"upload"]:!0};$(I)},Q)},b0=($,Y)=>{let Q=$!=null;return[(G)=>Y[0]({lengthComputable:Q,total:$,loaded:G}),Y[1]]},v0=($)=>(...Y)=>J.asap(()=>$(...Y));var q4=C(()=>{b5();y5();j()});function G4($){if(!$||typeof $!=="string")return 0;if(!$.startsWith("data:"))return 0;let Y=$.indexOf(",");if(Y<0)return 0;let Q=$.slice(5,Y),G=$.slice(Y+1);if(/;base64/i.test(Q)){let{length:X,length:K}=G;for(let F=0;F<K;F++)if(G.charCodeAt(F)===37&&F+2<K){let D=G.charCodeAt(F+1),U=G.charCodeAt(F+2);if((D>=48&&D<=57||D>=65&&D<=70||D>=97&&D<=102)&&(U>=48&&U<=57||U>=65&&U<=70||U>=97&&U<=102))X-=2,F+=2}let M=0,z=K-1,N=(F)=>F>=2&&G.charCodeAt(F-2)===37&&G.charCodeAt(F-1)===51&&(G.charCodeAt(F)===68||G.charCodeAt(F)===100);if(z>=0){if(G.charCodeAt(z)===61)M++,z--;else if(N(z))M++,z-=3}if(M===1&&z>=0){if(G.charCodeAt(z)===61)M++;else if(N(z))M++}let B=Math.floor(X/4)*3-(M||0);return B>0?B:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength==="function")return Buffer.byteLength(G,"utf8");let Z=0;for(let X=0,K=G.length;X<K;X++){let M=G.charCodeAt(X);if(M<128)Z+=1;else if(M<2048)Z+=2;else if(M>=55296&&M<=56319&&X+1<K){let z=G.charCodeAt(X+1);if(z>=56320&&z<=57343)Z+=4,X++;else Z+=3}else Z+=3}return Z}var M1=()=>{};import y$ from"http";import m$ from"https";import f$ from"http2";import h$ from"util";import{resolve as m5}from"path";import $0 from"zlib";import Z0 from"stream";import{EventEmitter as g$}from"events";function n$($,Y,Q){if(Q!=="content-only"){$.set(Y);return}Object.entries(Y).forEach(([G,W])=>{if(i$.includes(G.toLowerCase()))$.set(G,W)})}function t$($,Y){let Q=$.protocol+"//"+$.hostname+":"+($.port||"")+"#"+($.auth||""),G=Y?g5.get(Y)||g5.set(Y,new Map).get(Y):a$,W=G.get(Q);if(W)return W;let Z=Y&&Y.options?{...Y.options,...$}:$;if(W=new N1.default(Z),Y&&Y.options){let X={...Y.options},K=W.callback;W.callback=function(z,N){return K.call(this,z,{...X,...N})}}return W[r5]=!0,G.set(Q,W),W}function r$($,Y,Q){if($.beforeRedirects.proxy)$.beforeRedirects.proxy($);if($.beforeRedirects.auth)$.beforeRedirects.auth($);if($.beforeRedirects.config)$.beforeRedirects.config($,Y,Q)}function o5($,Y,Q,G,W){let Z=Y;if(!Z&&Z!==!1){let X=l5(Q);if(X){if(!K1(Q))Z=new URL(X)}}if(G&&$.headers){for(let X of Object.keys($.headers))if(X.toLowerCase()==="proxy-authorization")delete $.headers[X]}if(G&&$.agent&&$.agent[r5])$.agent=void 0;if(Z){let X=Z instanceof URL,K=(B)=>X||J.hasOwnProp(Z,B)?Z[B]:void 0,M=K("username"),z=K("password"),N=J.hasOwnProp(Z,"auth")?Z.auth:void 0;if(M)N=(M||"")+":"+(z||"");if(N){let B=typeof N==="object",F=B&&J.hasOwnProp(N,"username")?N.username:void 0,D=B&&J.hasOwnProp(N,"password")?N.password:void 0;if(Boolean(F||D))N=(F||"")+":"+(D||"");else if(B)throw new V("Invalid proxy authorization",V.ERR_BAD_OPTION,{proxy:Z})}if(s5.test($.protocol)){if(!(W instanceof N1.default)){let B=K("hostname")||K("host"),F=K("port"),D=K("protocol"),U=D?D.includes(":")?D:`${D}:`:"http:",L=B&&B.includes(":")&&!B.startsWith("[")?`[${B}]`:B,w=new URL(`${U}//${L}${F?":"+F:""}`),_={protocol:w.protocol,hostname:w.hostname.replace(/^\[|\]$/g,""),port:w.port,auth:N&&typeof N==="string"?N:void 0};if(w.protocol==="https:")_.ALPNProtocols=["http/1.1"];let R=t$(_,W);if($.agent=R,$.agents)$.agents.https=R}}else{if(N){let U=Buffer.from(N,"utf8").toString("base64");$.headers["Proxy-Authorization"]="Basic "+U}let B=!1;for(let U of Object.keys($.headers))if(U.toLowerCase()==="host"){B=!0;break}if(!B)$.headers.host=$.hostname+($.port?":"+$.port:"");let F=K("hostname")||K("host");$.hostname=F,$.host=F,$.port=K("port"),$.path=Q;let D=K("protocol");if(D)$.protocol=D.includes(":")?D:`${D}:`}}$.beforeRedirects.proxy=function(K){o5(K,Y,K.href,!0,W)}}var N1,i5,f5,u$,d$,n5,a5,t5,c$,p$,l$,s5,i$,h5,C4,r5,a$,g5,u5,d5=($)=>{if(!J.isString($))return $;try{return decodeURIComponent($)}catch(Y){return $}},c5=($,[Y,Q])=>{return $.on("end",Q).on("error",Q),Y},s$,o$,e$=($)=>{return new Promise((Y,Q)=>{let G,W,Z=(M,z)=>{if(W)return;W=!0,G&&G(M,z)},X=(M)=>{Z(M),Y(M)},K=(M)=>{Z(M,!0),Q(M)};$(X,K,(M)=>G=M).catch(K)})},$7=({address:$,family:Y})=>{if(!J.isString($))throw TypeError("address must be a string");return{address:$,family:Y||($.indexOf(".")<0?6:4)}},p5=($,Y)=>$7(J.isObject($)?$:{address:$,family:Y}),Y7,e5;var $6=C(()=>{j();S4();D4();L4();b$();$4();l0();r();D0();W0();I5();G0();L5();D5();J1();q5();T5();H5();k5();u0();q4();M1();N1=y4(V5(),1),i5=y4(v$(),1),f5={flush:$0.constants.Z_SYNC_FLUSH,finishFlush:$0.constants.Z_SYNC_FLUSH},u$={flush:$0.constants.BROTLI_OPERATION_FLUSH,finishFlush:$0.constants.BROTLI_OPERATION_FLUSH},d$={flush:$0.constants.ZSTD_e_flush,finishFlush:$0.constants.ZSTD_e_flush},n5=J.isFunction($0.createBrotliDecompress),a5=J.isFunction($0.createZstdDecompress),t5="gzip, compress, deflate"+(n5?", br":""),c$=t5+(a5?", zstd":""),{http:p$,https:l$}=i5.default,s5=/https:?/,i$=["content-type","content-length"];h5=Symbol("axios.http.socketListener"),C4=Symbol("axios.http.currentReq"),r5=Symbol("axios.http.installedTunnel"),a$=new Map,g5=new WeakMap;u5=H.protocols.map(($)=>{return $+":"}),s$=new R5;o$=typeof process<"u"&&J.kindOf(process)==="process",Y7={request($,Y){let Q=$.protocol+"//"+$.hostname+":"+($.port||($.protocol==="https:"?443:80)),{http2Options:G,headers:W}=$,Z=s$.getSession(Q,G),{HTTP2_HEADER_SCHEME:X,HTTP2_HEADER_METHOD:K,HTTP2_HEADER_PATH:M,HTTP2_HEADER_STATUS:z}=f$.constants,N={[X]:$.protocol.replace(":",""),[K]:$.method,[M]:$.path};J.forEach(W,(B,F)=>{F.charAt(0)!==":"&&(N[F]=B)});let I=Z.request(N);return I.once("response",(B)=>{let F=I;B=Object.assign({},B);let D=B[z];delete B[z],F.headers=B,F.statusCode=+D,Y(F)}),I}},e5=o$&&function(Y){return e$(async function(G,W,Z){let X=(q)=>J.hasOwnProp(Y,q)?Y[q]:void 0,K=X("transitional")||F0,M=X("data"),z=X("lookup"),N=X("family"),I=X("httpVersion");if(I===void 0)I=1;let B=X("http2Options"),F=X("responseType"),D=X("responseEncoding"),U=Y.method.toUpperCase(),L,w=!1,_,R;if(I=+I,Number.isNaN(I))throw TypeError(`Invalid protocol version: '${Y.httpVersion}' is not a number`);if(I!==1&&I!==2)throw TypeError(`Unsupported protocol version '${I}'`);let O=I===2;if(z){let q=O5(z,(S)=>J.isArray(S)?S:[S]);z=(S,P,A)=>{q(S,P,(T,b,i)=>{if(T)return A(T);let v=J.isArray(b)?b.map((e)=>p5(e)):[p5(b,i)];P.all?A(T,v):A(T,v[0].address,v[0].family)})}}let f=new g$;function g(q){try{f.emit("abort",!q||q.type?new o(null,Y,_):q)}catch(S){}}function J0(){if(R)clearTimeout(R),R=null}function y0(){let q=Y.timeout?"timeout of "+Y.timeout+"ms exceeded":"timeout exceeded";if(Y.timeoutErrorMessage)q=Y.timeoutErrorMessage;return new V(q,K.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,Y,_)}f.once("abort",W);let C0=()=>{if(J0(),Y.cancelToken)Y.cancelToken.unsubscribe(g);if(Y.signal)Y.signal.removeEventListener("abort",g);f.removeAllListeners()};if(Y.cancelToken||Y.signal){if(Y.cancelToken&&Y.cancelToken.subscribe(g),Y.signal)Y.signal.aborted?g():Y.signal.addEventListener("abort",g)}Z((q,S)=>{if(L=!0,J0(),S){w=!0,C0();return}let{data:P}=q;if(P instanceof Z0.Readable||P instanceof Z0.Duplex){let A=Z0.finished(P,()=>{A(),C0()})}else C0()});let Y0=P0(Y.baseURL,Y.url,Y.allowAbsoluteUrls),k=new URL(Y0,H.hasBrowserEnv?H.origin:void 0),K0=k.protocol||u5[0];if(K0==="data:"){if(Y.maxContentLength>-1){let S=String(Y.url||Y0||"");if(G4(S)>Y.maxContentLength)return W(new V("maxContentLength size of "+Y.maxContentLength+" exceeded",V.ERR_BAD_RESPONSE,Y))}let q;if(U!=="GET")return z0(G,W,{status:405,statusText:"method not allowed",headers:{},config:Y});try{q=W1(Y.url,F==="blob",{Blob:Y.env&&Y.env.Blob})}catch(S){throw V.from(S,V.ERR_BAD_REQUEST,Y)}if(F==="text"){if(q=q.toString(D),!D||D==="utf8")q=J.stripBOM(q)}else if(F==="stream")q=Z0.Readable.from(q);return z0(G,W,{data:q,status:200,statusText:"OK",headers:new x,config:Y})}if(u5.indexOf(K0)===-1)return W(new V("Unsupported protocol "+K0,V.ERR_BAD_REQUEST,Y));let d=x.from(Y.headers).normalize();d.set("User-Agent","axios/"+B0,!1);let{onUploadProgress:n,onDownloadProgress:L0}=Y,M0=Y.maxRate,R0=void 0,T0=void 0;if(J.isSpecCompliantForm(M)){let q=d.getContentType(/boundary=([-_\w\d]{10,70})/i);M=S5(M,(S)=>{d.set(S)},{tag:`axios-${B0}-boundary`,boundary:q&&q[1]||void 0})}else if(J.isFormData(M)&&J.isFunction(M.getHeaders)&&M.getHeaders!==Object.prototype.getHeaders){if(n$(d,M.getHeaders(),X("formDataHeaderPolicy")),!d.hasContentLength())try{let q=await h$.promisify(M.getLength).call(M);Number.isFinite(q)&&q>=0&&d.setContentLength(q)}catch(q){}}else if(J.isBlob(M)||J.isFile(M))M.size&&d.setContentType(M.type||"application/octet-stream"),d.setContentLength(M.size||0),M=Z0.Readable.from(_4(M));else if(M&&!J.isStream(M)){if(Buffer.isBuffer(M));else if(J.isArrayBuffer(M))M=Buffer.from(new Uint8Array(M));else if(J.isString(M))M=Buffer.from(M,"utf-8");else return W(new V("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",V.ERR_BAD_REQUEST,Y));if(d.setContentLength(M.length,!1),Y.maxBodyLength>-1&&M.length>Y.maxBodyLength)return W(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,Y))}let J4=J.toFiniteNumber(d.getContentLength());if(J.isArray(M0))R0=M0[0],T0=M0[1];else R0=T0=M0;if(M&&(n||R0)){if(!J.isStream(M))M=Z0.Readable.from(M,{objectMode:!1});M=Z0.pipeline([M,new X1({maxRate:J.toFiniteNumber(R0)})],J.noop),n&&M.on("progress",c5(M,b0(J4,V0(v0(n),!1,3))))}let c=void 0,p=X("auth");if(p){let q=p.username||"",S=p.password||"";c=q+":"+S}if(!c&&(k.username||k.password)){let q=d5(k.username),S=d5(k.password);c=q+":"+S}c&&d.delete("authorization");let N0;try{N0=S0(k.pathname+k.search,Y.params,Y.paramsSerializer).replace(/^\?/,"")}catch(q){let S=Error(q.message);return S.config=Y,S.url=Y.url,S.exists=!0,W(S)}d.set("Accept-Encoding",J.hasOwnProp(K,"advertiseZstdAcceptEncoding")&&K.advertiseZstdAcceptEncoding===!0?c$:t5,!1);let m=Object.assign(Object.create(null),{path:N0,method:U,headers:A0(d),agents:{http:Y.httpAgent,https:Y.httpsAgent},auth:c,protocol:K0,family:N,beforeRedirect:r$,beforeRedirects:Object.create(null),http2Options:B});!J.isUndefined(z)&&(m.lookup=z);let E=X("socketPath");if(E){if(typeof E!=="string")return W(new V("socketPath must be a string",V.ERR_BAD_OPTION_VALUE,Y));let q=X("allowedSocketPaths");if(q!=null){let S=Array.isArray(q)?q:[q],P=m5(E);if(!S.some((T)=>typeof T==="string"&&m5(T)===P))return W(new V(`socketPath "${E}" is not permitted by allowedSocketPaths`,V.ERR_BAD_OPTION_VALUE,Y))}m.socketPath=E}else m.hostname=k.hostname.startsWith("[")?k.hostname.slice(1,-1):k.hostname,m.port=k.port,o5(m,Y.proxy,K0+"//"+k.hostname+(k.port?":"+k.port:"")+m.path,!1,Y.httpsAgent);let l,K4=!1,O0=s5.test(m.protocol);if(m.agent==null)m.agent=O0?Y.httpsAgent:Y.httpAgent;if(O)l=Y7;else{let q=X("transport");if(q)l=q;else if(Y.maxRedirects===0)l=O0?m$:y$,K4=!0;else{if(Y.maxRedirects)m.maxRedirects=Y.maxRedirects;let S=X("beforeRedirect");if(S)m.beforeRedirects.config=S;if(c){let P=k.origin,A=c;m.beforeRedirects.auth=function(b){try{if(new URL(b.href).origin===P)b.auth=A}catch(i){}}}l=O0?l$:p$}}if(Y.maxBodyLength>-1)m.maxBodyLength=Y.maxBodyLength;else m.maxBodyLength=1/0;m.insecureHTTPParser=Boolean(X("insecureHTTPParser")),_=l.request(m,function(S){if(J0(),_.destroyed)return;let P=[S],A=J.toFiniteNumber(S.headers["content-length"]);if(L0||T0){let v=new X1({maxRate:J.toFiniteNumber(T0)});L0&&v.on("progress",c5(v,b0(A,V0(v0(L0),!0,3)))),P.push(v)}let T=S,b=S.req||_;if(Y.decompress!==!1&&S.headers["content-encoding"]){if(U==="HEAD"||S.statusCode===204)delete S.headers["content-encoding"];switch((S.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":P.push($0.createUnzip(f5)),delete S.headers["content-encoding"];break;case"deflate":P.push(new _5),P.push($0.createUnzip(f5)),delete S.headers["content-encoding"];break;case"br":if(n5)P.push($0.createBrotliDecompress(u$)),delete S.headers["content-encoding"];break;case"zstd":if(a5)P.push($0.createZstdDecompress(d$)),delete S.headers["content-encoding"];break}}T=P.length>1?Z0.pipeline(P,J.noop):P[0];let i={status:S.statusCode,statusText:S.statusMessage,headers:new x(S.headers),config:Y,request:b};if(F==="stream"){if(Y.maxContentLength>-1){let v=Y.maxContentLength,e=T;async function*m0(){let h=0;for await(let P1 of e){if(h+=P1.length,h>v)throw new V("maxContentLength size of "+v+" exceeded",V.ERR_BAD_RESPONSE,Y,b);yield P1}}T=Z0.Readable.from(m0(),{objectMode:!1})}i.data=T,z0(G,W,i)}else{let v=[],e=0;T.on("data",function(h){if(v.push(h),e+=h.length,Y.maxContentLength>-1&&e>Y.maxContentLength)w=!0,T.destroy(),g(new V("maxContentLength size of "+Y.maxContentLength+" exceeded",V.ERR_BAD_RESPONSE,Y,b))}),T.on("aborted",function(){if(w)return;let h=new V("stream has been aborted",V.ERR_BAD_RESPONSE,Y,b,i);T.destroy(h),W(h)}),T.on("error",function(h){if(w)return;W(V.from(h,null,Y,b,i))}),T.on("end",function(){try{let h=v.length===1?v[0]:Buffer.concat(v);if(F!=="arraybuffer"){if(h=h.toString(D),!D||D==="utf8")h=J.stripBOM(h)}i.data=h}catch(h){return W(V.from(h,null,Y,i.request,i))}z0(G,W,i)})}f.once("abort",(v)=>{if(!T.destroyed)T.emit("error",v),T.destroy()})}),f.once("abort",(q)=>{if(_.close)_.close();else _.destroy(q)}),_.on("error",function(S){W(V.from(S,null,Y,_))});let a=new Set;if(_.on("socket",function(S){if(S.setKeepAlive(!0,60000),!S[h5])S.on("error",function(A){let T=S[C4];if(T&&!T.destroyed)T.destroy(A)}),S[h5]=!0;S[C4]=_,a.add(S)}),_.once("close",function(){J0();for(let S of a)if(S[C4]===_)S[C4]=null;a.clear()}),Y.timeout){let q=parseInt(Y.timeout,10);if(Number.isNaN(q)){g(new V("error trying to parse `config.timeout` to int",V.ERR_BAD_OPTION_VALUE,Y,_));return}let S=function(){if(L)return;g(y0())};if(K4&&q>0)R=setTimeout(S,q);_.setTimeout(q,S)}else _.setTimeout(0);if(J.isStream(M)){let q=!1,S=!1;M.on("end",()=>{q=!0}),M.once("error",(A)=>{S=!0,_.destroy(A)}),M.on("close",()=>{if(!q&&!S)g(new o("Request stream has been aborted",Y,_))});let P=M;if(Y.maxBodyLength>-1&&Y.maxRedirects===0){let A=Y.maxBodyLength,T=0;P=Z0.pipeline([M,new Z0.Transform({transform(b,i,v){if(T+=b.length,T>A)return v(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,Y,_));v(null,b)}})],J.noop),P.on("error",(b)=>{if(!_.destroyed)_.destroy(b)})}P.pipe(_)}else M&&_.write(M),_.end()})}});var Y6;var Q6=C(()=>{W0();Y6=H.hasStandardBrowserEnv?(($,Y)=>(Q)=>{return Q=new URL(Q,H.origin),$.protocol===Q.protocol&&$.host===Q.host&&(Y||$.port===Q.port)})(new URL(H.origin),H.navigator&&/(msie|trident)/i.test(H.navigator.userAgent)):()=>!0});var G6;var W6=C(()=>{j();W0();G6=H.hasStandardBrowserEnv?{write($,Y,Q,G,W,Z,X){if(typeof document>"u")return;let K=[`${$}=${encodeURIComponent(Y)}`];if(J.isNumber(Q))K.push(`expires=${new Date(Q).toUTCString()}`);if(J.isString(G))K.push(`path=${G}`);if(J.isString(W))K.push(`domain=${W}`);if(Z===!0)K.push("secure");if(J.isString(X))K.push(`SameSite=${X}`);document.cookie=K.join("; ")},read($){if(typeof document>"u")return null;let Y=document.cookie.split(";");for(let Q=0;Q<Y.length;Q++){let G=Y[Q].replace(/^\s+/,""),W=G.indexOf("=");if(W!==-1&&G.slice(0,W)===$)return decodeURIComponent(G.slice(W+1))}return null},remove($){this.write($,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}}});function X0($,Y){Y=Y||{};let Q=Object.create(null);Object.defineProperty(Q,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function G(z,N,I,B){if(J.isPlainObject(z)&&J.isPlainObject(N))return J.merge.call({caseless:B},z,N);else if(J.isPlainObject(N))return J.merge({},N);else if(J.isArray(N))return N.slice();return N}function W(z,N,I,B){if(!J.isUndefined(N))return G(z,N,I,B);else if(!J.isUndefined(z))return G(void 0,z,I,B)}function Z(z,N){if(!J.isUndefined(N))return G(void 0,N)}function X(z,N){if(!J.isUndefined(N))return G(void 0,N);else if(!J.isUndefined(z))return G(void 0,z)}function K(z,N,I){if(J.hasOwnProp(Y,I))return G(z,N);else if(J.hasOwnProp($,I))return G(void 0,z)}let M={url:Z,method:Z,data:Z,baseURL:X,transformRequest:X,transformResponse:X,paramsSerializer:X,timeout:X,timeoutMessage:X,withCredentials:X,withXSRFToken:X,adapter:X,responseType:X,xsrfCookieName:X,xsrfHeaderName:X,onUploadProgress:X,onDownloadProgress:X,decompress:X,maxContentLength:X,maxBodyLength:X,beforeRedirect:X,transport:X,httpAgent:X,httpsAgent:X,cancelToken:X,socketPath:X,allowedSocketPaths:X,responseEncoding:X,validateStatus:K,headers:(z,N,I)=>W(Z6(z),Z6(N),I,!0)};return J.forEach(Object.keys({...$,...Y}),function(N){if(N==="__proto__"||N==="constructor"||N==="prototype")return;let I=J.hasOwnProp(M,N)?M[N]:W,B=J.hasOwnProp($,N)?$[N]:void 0,F=J.hasOwnProp(Y,N)?Y[N]:void 0,D=I(B,F,N);J.isUndefined(D)&&I!==K||(Q[N]=D)}),Q}var Z6=($)=>$ instanceof x?{...$}:$;var R4=C(()=>{j();G0()});function G7($,Y,Q){if(Q!=="content-only"){$.set(Y);return}Object.entries(Y).forEach(([G,W])=>{if(Q7.includes(G.toLowerCase()))$.set(G,W)})}function Z7($){let Y=X0({},$),Q=(B)=>J.hasOwnProp(Y,B)?Y[B]:void 0,G=Q("data"),W=Q("withXSRFToken"),Z=Q("xsrfHeaderName"),X=Q("xsrfCookieName"),K=Q("headers"),M=Q("auth"),z=Q("baseURL"),N=Q("allowAbsoluteUrls"),I=Q("url");if(Y.headers=K=x.from(K),Y.url=S0(P0(z,I,N),Q("params"),Q("paramsSerializer")),M)K.set("Authorization","Basic "+btoa((M.username||"")+":"+(M.password?W7(M.password):"")));if(J.isFormData(G)){if(H.hasStandardBrowserEnv||H.hasStandardBrowserWebWorkerEnv||J.isReactNative(G))K.setContentType(void 0);else if(J.isFunction(G.getHeaders))G7(K,G.getHeaders(),Q("formDataHeaderPolicy"))}if(H.hasStandardBrowserEnv){if(J.isFunction(W))W=W(Y);if(W===!0||W==null&&Y6(Y.url)){let F=Z&&X&&G6.read(X);if(F)K.set(Z,F)}}return Y}var Q7,W7=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Y,Q)=>String.fromCharCode(parseInt(Q,16))),T4;var z1=C(()=>{W0();j();Q6();W6();D4();R4();G0();L4();Q7=["content-type","content-length"];T4=Z7});var X7,X6;var J6=C(()=>{j();S4();l0();r();D0();G1();W0();G0();q4();z1();u0();X7=typeof XMLHttpRequest<"u",X6=X7&&function($){return new Promise(function(Q,G){let W=T4($),Z=W.data,X=x.from(W.headers).normalize(),{responseType:K,onUploadProgress:M,onDownloadProgress:z}=W,N,I,B,F,D;function U(){F&&F(),D&&D(),W.cancelToken&&W.cancelToken.unsubscribe(N),W.signal&&W.signal.removeEventListener("abort",N)}let L=new XMLHttpRequest;L.open(W.method.toUpperCase(),W.url,!0),L.timeout=W.timeout;function w(){if(!L)return;let R=x.from("getAllResponseHeaders"in L&&L.getAllResponseHeaders()),f={data:!K||K==="text"||K==="json"?L.responseText:L.response,status:L.status,statusText:L.statusText,headers:R,config:$,request:L};z0(function(J0){Q(J0),U()},function(J0){G(J0),U()},f),L=null}if("onloadend"in L)L.onloadend=w;else L.onreadystatechange=function(){if(!L||L.readyState!==4)return;if(L.status===0&&!(L.responseURL&&L.responseURL.startsWith("file:")))return;setTimeout(w)};if(L.onabort=function(){if(!L)return;G(new V("Request aborted",V.ECONNABORTED,$,L)),U(),L=null},L.onerror=function(O){let f=O&&O.message?O.message:"Network Error",g=new V(f,V.ERR_NETWORK,$,L);g.event=O||null,G(g),U(),L=null},L.ontimeout=function(){let O=W.timeout?"timeout of "+W.timeout+"ms exceeded":"timeout exceeded",f=W.transitional||F0;if(W.timeoutErrorMessage)O=W.timeoutErrorMessage;G(new V(O,f.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,$,L)),U(),L=null},Z===void 0&&X.setContentType(null),"setRequestHeader"in L)J.forEach(A0(X),function(O,f){L.setRequestHeader(f,O)});if(!J.isUndefined(W.withCredentials))L.withCredentials=!!W.withCredentials;if(K&&K!=="json")L.responseType=W.responseType;if(z)[B,D]=V0(z,!0),L.addEventListener("progress",B);if(M&&L.upload)[I,F]=V0(M),L.upload.addEventListener("progress",I),L.upload.addEventListener("loadend",F);if(W.cancelToken||W.signal){if(N=(R)=>{if(!L)return;G(!R||R.type?new o(null,$,L):R),L.abort(),U(),L=null},W.cancelToken&&W.cancelToken.subscribe(N),W.signal)W.signal.aborted?N():W.signal.addEventListener("abort",N)}let _=Y4(W.url);if(_&&!H.protocols.includes(_)){G(new V("Unsupported protocol "+_+":",V.ERR_BAD_REQUEST,$));return}L.send(Z||null)})}});var J7=($,Y)=>{if($=$?$.filter(Boolean):[],!Y&&!$.length)return;let Q=new AbortController,G=!1,W=function(M){if(!G){G=!0,X();let z=M instanceof Error?M:this.reason;Q.abort(z instanceof V?z:new o(z instanceof Error?z.message:z))}},Z=Y&&setTimeout(()=>{Z=null,W(new V(`timeout of ${Y}ms exceeded`,V.ETIMEDOUT))},Y),X=()=>{if(!$)return;Z&&clearTimeout(Z),Z=null,$.forEach((M)=>{M.unsubscribe?M.unsubscribe(W):M.removeEventListener("abort",W)}),$=null};$.forEach((M)=>M.addEventListener("abort",W));let{signal:K}=Q;return K.unsubscribe=()=>J.asap(X),K},K6;var M6=C(()=>{D0();r();j();K6=J7});var K7=function*($,Y){let Q=$.byteLength;if(!Y||Q<Y){yield $;return}let G=0,W;while(G<Q)W=G+Y,yield $.slice(G,W),G=W},M7=async function*($,Y){for await(let Q of N7($))yield*K7(Q,Y)},N7=async function*($){if($[Symbol.asyncIterator]){yield*$;return}let Y=$.getReader();try{for(;;){let{done:Q,value:G}=await Y.read();if(Q)break;yield G}}finally{await Y.cancel()}},B1=($,Y,Q,G)=>{let W=M7($,Y),Z=0,X,K=(M)=>{if(!X)X=!0,G&&G(M)};return new ReadableStream({async pull(M){try{let{done:z,value:N}=await W.next();if(z){K(),M.close();return}let I=N.byteLength;if(Q){let B=Z+=I;Q(B)}M.enqueue(new Uint8Array(N))}catch(z){throw K(z),z}},cancel(M){return K(M),W.return()}},{highWaterMark:2})};var N6=()=>{};var z6=65536,O4,z7=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Y,Q)=>String.fromCharCode(parseInt(Q,16))),B6=($)=>{if(!J.isString($))return $;try{return decodeURIComponent($)}catch(Y){return $}},V6=($,...Y)=>{try{return!!$(...Y)}catch(Q){return!1}},B7=($)=>{let Y=$.indexOf("://"),Q=$;if(Y!==-1)Q=Q.slice(Y+3);return Q.includes("@")||Q.includes(":")},V7=($)=>{let Y=J.global!==void 0&&J.global!==null?J.global:globalThis,{ReadableStream:Q,TextEncoder:G}=Y;$=J.merge.call({skipUndefined:!0},{Request:Y.Request,Response:Y.Response},$);let{fetch:W,Request:Z,Response:X}=$,K=W?O4(W):typeof fetch==="function",M=O4(Z),z=O4(X);if(!K)return!1;let N=K&&O4(Q),I=K&&(typeof G==="function"?((w)=>(_)=>w.encode(_))(new G):async(w)=>new Uint8Array(await new Z(w).arrayBuffer())),B=M&&N&&V6(()=>{let w=!1,_=new Z(H.origin,{body:new Q,method:"POST",get duplex(){return w=!0,"half"}}),R=_.headers.has("Content-Type");if(_.body!=null)_.body.cancel();return w&&!R}),F=z&&N&&V6(()=>J.isReadableStream(new X("").body)),D={stream:F&&((w)=>w.body)};K&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((w)=>{!D[w]&&(D[w]=(_,R)=>{let O=_&&_[w];if(O)return O.call(_);throw new V(`Response type '${w}' is not supported`,V.ERR_NOT_SUPPORT,R)})})})();let U=async(w)=>{if(w==null)return 0;if(J.isBlob(w))return w.size;if(J.isSpecCompliantForm(w))return(await new Z(H.origin,{method:"POST",body:w}).arrayBuffer()).byteLength;if(J.isArrayBufferView(w)||J.isArrayBuffer(w))return w.byteLength;if(J.isURLSearchParams(w))w=w+"";if(J.isString(w))return(await I(w)).byteLength},L=async(w,_)=>{let R=J.toFiniteNumber(w.getContentLength());return R==null?U(_):R};return async(w)=>{let{url:_,method:R,data:O,signal:f,cancelToken:g,timeout:J0,onDownloadProgress:y0,onUploadProgress:C0,responseType:Y0,headers:k,withCredentials:K0="same-origin",fetchOptions:d,maxContentLength:n,maxBodyLength:L0}=T4(w),M0=J.isNumber(n)&&n>-1,R0=J.isNumber(L0)&&L0>-1,T0=(E)=>J.hasOwnProp(w,E)?w[E]:void 0,J4=W||fetch;Y0=Y0?(Y0+"").toLowerCase():"text";let c=K6([f,g&&g.toAbortSignal()],J0),p=null,N0=c&&c.unsubscribe&&(()=>{c.unsubscribe()}),m;try{let E=void 0,l=T0("auth");if(l){let P=l.username||"",A=l.password||"";E={username:P,password:A}}if(B7(_)){let P=new URL(_,H.origin);if(!E&&(P.username||P.password)){let A=B6(P.username),T=B6(P.password);E={username:A,password:T}}if(P.username||P.password)P.username="",P.password="",_=P.href}if(E)k.delete("authorization"),k.set("Authorization","Basic "+btoa(z7((E.username||"")+":"+(E.password||""))));if(M0&&typeof _==="string"&&_.startsWith("data:")){if(G4(_)>n)throw new V("maxContentLength size of "+n+" exceeded",V.ERR_BAD_RESPONSE,w,p)}if(R0&&R!=="get"&&R!=="head"){let P=await L(k,O);if(typeof P==="number"&&isFinite(P)&&P>L0)throw new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,w,p)}if(C0&&B&&R!=="get"&&R!=="head"&&(m=await L(k,O))!==0){let P=new Z(_,{method:"POST",body:O,duplex:"half"}),A;if(J.isFormData(O)&&(A=P.headers.get("content-type")))k.setContentType(A);if(P.body){let[T,b]=b0(m,V0(v0(C0)));O=B1(P.body,z6,T,b)}}if(!J.isString(K0))K0=K0?"include":"omit";let K4=M&&"credentials"in Z.prototype;if(J.isFormData(O)){let P=k.getContentType();if(P&&/^multipart\/form-data/i.test(P)&&!/boundary=/i.test(P))k.delete("content-type")}k.set("User-Agent","axios/"+B0,!1);let O0={...d,signal:c,method:R.toUpperCase(),headers:A0(k.normalize()),body:O,duplex:"half",credentials:K4?K0:void 0};p=M&&new Z(_,O0);let a=await(M?J4(p,d):J4(_,O0));if(M0){let P=J.toFiniteNumber(a.headers.get("content-length"));if(P!=null&&P>n)throw new V("maxContentLength size of "+n+" exceeded",V.ERR_BAD_RESPONSE,w,p)}let q=F&&(Y0==="stream"||Y0==="response");if(F&&a.body&&(y0||M0||q&&N0)){let P={};["status","statusText","headers"].forEach((e)=>{P[e]=a[e]});let A=J.toFiniteNumber(a.headers.get("content-length")),[T,b]=y0&&b0(A,V0(v0(y0),!0))||[],i=0,v=(e)=>{if(M0){if(i=e,i>n)throw new V("maxContentLength size of "+n+" exceeded",V.ERR_BAD_RESPONSE,w,p)}T&&T(e)};a=new X(B1(a.body,z6,v,()=>{b&&b(),N0&&N0()}),P)}Y0=Y0||"text";let S=await D[J.findKey(D,Y0)||"text"](a,w);if(M0&&!F&&!q){let P;if(S!=null){if(typeof S.byteLength==="number")P=S.byteLength;else if(typeof S.size==="number")P=S.size;else if(typeof S==="string")P=typeof G==="function"?new G().encode(S).byteLength:S.length}if(typeof P==="number"&&P>n)throw new V("maxContentLength size of "+n+" exceeded",V.ERR_BAD_RESPONSE,w,p)}return!q&&N0&&N0(),await new Promise((P,A)=>{z0(P,A,{data:S,headers:x.from(a.headers),status:a.status,statusText:a.statusText,config:w,request:p})})}catch(E){if(N0&&N0(),c&&c.aborted&&c.reason instanceof V){let l=c.reason;throw l.config=w,p&&(l.request=p),E!==l&&(l.cause=E),l}if(E&&E.name==="TypeError"&&/Load failed|fetch/i.test(E.message))throw Object.assign(new V("Network Error",V.ERR_NETWORK,w,p,E&&E.response),{cause:E.cause||E});throw V.from(E,E&&E.code,w,p,E&&E.response)}}},I7,V1=($)=>{let Y=$&&$.env||{},{fetch:Q,Request:G,Response:W}=Y,Z=[G,W,Q],X=Z.length,K=X,M,z,N=I7;while(K--)M=Z[K],z=N.get(M),z===void 0&&N.set(M,z=K?new Map:V7(Y)),N=z;return z},kQ;var I6=C(()=>{W0();j();r();M6();N6();G0();q4();z1();S4();M1();$4();u0();({isFunction:O4}=J),I7=new Map,kQ=V1()});function U7($,Y){$=J.isArray($)?$:[$];let{length:Q}=$,G,W,Z={};for(let X=0;X<Q;X++){G=$[X];let K;if(W=G,!L7(G)){if(W=I1[(K=String(G)).toLowerCase()],W===void 0)throw new V(`Unknown adapter '${K}'`)}if(W&&(J.isFunction(W)||(W=W.get(Y))))break;Z[K||"#"+X]=W}if(!W){let X=Object.entries(Z).map(([M,z])=>`adapter ${M} `+(z===!1?"is not supported by the environment":"is not available in the build")),K=Q?X.length>1?`since :
12
- `+X.map(F6).join(`
13
- `):" "+F6(X[0]):"as no adapter specified";throw new V("There is no suitable adapter to dispatch the request "+K,"ERR_NOT_SUPPORT")}return W}var I1,F6=($)=>`- ${$}`,L7=($)=>J.isFunction($)||$===null||$===!1,H4;var F1=C(()=>{j();$6();J6();I6();r();I1={http:e5,xhr:X6,fetch:{get:V1}};J.forEach(I1,($,Y)=>{if($){try{Object.defineProperty($,"name",{__proto__:null,value:Y})}catch(Q){}Object.defineProperty($,"adapterName",{__proto__:null,value:Y})}});H4={getAdapter:U7,adapters:I1}});function L1($){if($.cancelToken)$.cancelToken.throwIfRequested();if($.signal&&$.signal.aborted)throw new o(null,$)}function E4($){if(L1($),$.headers=x.from($.headers),$.data=i0.call($,$.transformRequest),["post","put","patch"].indexOf($.method)!==-1)$.headers.setContentType("application/x-www-form-urlencoded",!1);return H4.getAdapter($.adapter||k0.adapter,$)($).then(function(G){L1($),$.response=G;try{G.data=i0.call($,$.transformResponse,G)}finally{delete $.response}return G.headers=x.from(G.headers),G},function(G){if(!n0(G)){if(L1($),G&&G.response){$.response=G.response;try{G.response.data=i0.call($,$.transformResponse,G.response)}finally{delete $.response}G.response.headers=x.from(G.response.headers)}}return Promise.reject(G)})}var L6=C(()=>{o1();a4();w4();D0();G0();F1()});function w7($,Y,Q){if(typeof $!=="object")throw new V("options must be an object",V.ERR_BAD_OPTION_VALUE);let G=Object.keys($),W=G.length;while(W-- >0){let Z=G[W],X=Object.prototype.hasOwnProperty.call(Y,Z)?Y[Z]:void 0;if(X){let K=$[Z],M=K===void 0||X(K,Z,$);if(M!==!0)throw new V("option "+Z+" must be "+M,V.ERR_BAD_OPTION_VALUE);continue}if(Q!==!0)throw new V("Unknown option "+Z,V.ERR_BAD_OPTION)}}var A4,U6,W4;var w6=C(()=>{$4();r();A4={};["object","boolean","number","function","string","symbol"].forEach(($,Y)=>{A4[$]=function(G){return typeof G===$||"a"+(Y<1?"n ":" ")+$}});U6={};A4.transitional=function(Y,Q,G){function W(Z,X){return"[Axios v"+B0+"] Transitional option '"+Z+"'"+X+(G?". "+G:"")}return(Z,X,K)=>{if(Y===!1)throw new V(W(X," has been removed"+(Q?" in "+Q:"")),V.ERR_DEPRECATED);if(Q&&!U6[X])U6[X]=!0,console.warn(W(X," has been deprecated since v"+Q+" and will be removed in the near future"));return Y?Y(Z,X,K):!0}};A4.spelling=function(Y){return(Q,G)=>{return console.warn(`${G} is likely a misspelling of ${Y}`),!0}};W4={assertOptions:w7,validators:A4}});class Z4{constructor($){this.defaults=$||{},this.interceptors={request:new g4,response:new g4}}async request($,Y){try{return await this._request($,Y)}catch(Q){if(Q instanceof Error){let G={};Error.captureStackTrace?Error.captureStackTrace(G):G=Error();let W=(()=>{if(!G.stack)return"";let Z=G.stack.indexOf(`
14
- `);return Z===-1?"":G.stack.slice(Z+1)})();try{if(!Q.stack)Q.stack=W;else if(W){let Z=W.indexOf(`
15
- `),X=Z===-1?-1:W.indexOf(`
16
- `,Z+1),K=X===-1?"":W.slice(X+1);if(!String(Q.stack).endsWith(K))Q.stack+=`
17
- `+W}}catch(Z){}}throw Q}}_request($,Y){if(typeof $==="string")Y=Y||{},Y.url=$;else Y=$||{};Y=X0(this.defaults,Y);let{transitional:Q,paramsSerializer:G,headers:W}=Y;if(Q!==void 0)W4.assertOptions(Q,{silentJSONParsing:s.transitional(s.boolean),forcedJSONParsing:s.transitional(s.boolean),clarifyTimeoutError:s.transitional(s.boolean),legacyInterceptorReqResOrdering:s.transitional(s.boolean),advertiseZstdAcceptEncoding:s.transitional(s.boolean)},!1);if(G!=null)if(J.isFunction(G))Y.paramsSerializer={serialize:G};else W4.assertOptions(G,{encode:s.function,serialize:s.function},!0);if(Y.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)Y.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else Y.allowAbsoluteUrls=!0;W4.assertOptions(Y,{baseUrl:s.spelling("baseURL"),withXsrfToken:s.spelling("withXSRFToken")},!0),Y.method=(Y.method||this.defaults.method||"get").toLowerCase();let Z=W&&J.merge(W.common,W[Y.method]);W&&J.forEach(["delete","get","head","post","put","patch","query","common"],(F)=>{delete W[F]}),Y.headers=x.concat(Z,W);let X=[],K=!0;this.interceptors.request.forEach(function(D){if(typeof D.runWhen==="function"&&D.runWhen(Y)===!1)return;K=K&&D.synchronous;let U=Y.transitional||F0;if(U&&U.legacyInterceptorReqResOrdering)X.unshift(D.fulfilled,D.rejected);else X.push(D.fulfilled,D.rejected)});let M=[];this.interceptors.response.forEach(function(D){M.push(D.fulfilled,D.rejected)});let z,N=0,I;if(!K){let F=[E4.bind(this),void 0];F.unshift(...X),F.push(...M),I=F.length,z=Promise.resolve(Y);while(N<I)z=z.then(F[N++],F[N++]);return z}I=X.length;let B=Y;while(N<I){let F=X[N++],D=X[N++];try{B=F(B)}catch(U){D.call(this,U);break}}try{z=E4.call(this,B)}catch(F){return Promise.reject(F)}N=0,I=M.length;while(N<I)z=z.then(M[N++],M[N++]);return z}getUri($){$=X0(this.defaults,$);let Y=P0($.baseURL,$.url,$.allowAbsoluteUrls);return S0(Y,$.params,$.paramsSerializer)}}var s,X4;var S6=C(()=>{j();L4();c1();L6();R4();D4();w6();G0();l0();s=W4.validators;J.forEach(["delete","get","head","options"],function(Y){Z4.prototype[Y]=function(Q,G){return this.request(X0(G||{},{method:Y,url:Q,data:(G||{}).data}))}});J.forEach(["post","put","patch","query"],function(Y){function Q(G){return function(Z,X,K){return this.request(X0(K||{},{method:Y,headers:G?{"Content-Type":"multipart/form-data"}:{},url:Z,data:X}))}}if(Z4.prototype[Y]=Q(),Y!=="query")Z4.prototype[Y+"Form"]=Q(!0)});X4=Z4});class U1{constructor($){if(typeof $!=="function")throw TypeError("executor must be a function.");let Y;this.promise=new Promise(function(W){Y=W});let Q=this;this.promise.then((G)=>{if(!Q._listeners)return;let W=Q._listeners.length;while(W-- >0)Q._listeners[W](G);Q._listeners=null}),this.promise.then=(G)=>{let W,Z=new Promise((X)=>{Q.subscribe(X),W=X}).then(G);return Z.cancel=function(){Q.unsubscribe(W)},Z},$(function(W,Z,X){if(Q.reason)return;Q.reason=new o(W,Z,X),Y(Q.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe($){if(this.reason){$(this.reason);return}if(this._listeners)this._listeners.push($);else this._listeners=[$]}unsubscribe($){if(!this._listeners)return;let Y=this._listeners.indexOf($);if(Y!==-1)this._listeners.splice(Y,1)}toAbortSignal(){let $=new AbortController,Y=(Q)=>{$.abort(Q)};return this.subscribe(Y),$.signal.unsubscribe=()=>this.unsubscribe(Y),$.signal}static source(){let $;return{token:new U1(function(G){$=G}),cancel:$}}}var D6;var P6=C(()=>{D0();D6=U1});function w1($){return function(Q){return $.apply(null,Q)}}var _6=()=>{};function S1($){return J.isObject($)&&$.isAxiosError===!0}var q6=C(()=>{j()});var D1,C6;var R6=C(()=>{D1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(D1).forEach(([$,Y])=>{D1[Y]=$});C6=D1});function T6($){let Y=new X4($),Q=f0(X4.prototype.request,Y);return J.extend(Q,X4.prototype,Y,{allOwnKeys:!0}),J.extend(Q,Y,null,{allOwnKeys:!0}),Q.create=function(W){return T6(X0($,W))},Q}var y,O6;var H6=C(()=>{j();j4();S6();R4();w4();i4();D0();P6();a4();$4();p0();r();_6();q6();G0();F1();R6();y=T6(k0);y.Axios=X4;y.CanceledError=o;y.CancelToken=D6;y.isCancel=n0;y.VERSION=B0;y.toFormData=I0;y.AxiosError=V;y.Cancel=y.CanceledError;y.all=function(Y){return Promise.all(Y)};y.spread=w1;y.isAxiosError=S1;y.mergeConfig=X0;y.AxiosHeaders=x;y.formToJSON=($)=>U4(J.isHTMLForm($)?new FormData($):$);y.getAdapter=H4.getAdapter;y.HttpStatusCode=C6;y.default=y;O6=y});var EG,AG,jG,kG,xG,bG,vG,yG,mG,fG,hG,gG,uG,dG,cG,pG,lG;var S7=C(()=>{H6();({Axios:EG,AxiosError:AG,CanceledError:jG,isCancel:kG,CancelToken:xG,VERSION:bG,all:vG,Cancel:yG,isAxiosError:mG,spread:fG,toFormData:hG,AxiosHeaders:gG,HttpStatusCode:uG,formToJSON:dG,getAdapter:cG,mergeConfig:pG,create:lG}=O6)});
18
- export{O6 as soa,EG as toa,AG as uoa,jG as voa,kG as woa,xG as xoa,bG as yoa,vG as zoa,yG as Aoa,mG as Boa,fG as Coa,hG as Doa,gG as Eoa,uG as Foa,dG as Goa,cG as Hoa,pG as Ioa,lG as Joa,S7 as Koa};
@@ -1,2 +0,0 @@
1
- import{hpa as g}from"./cli-0.6.2-3rgtxc9f.mjs";import{lstat as c,readdir as Cq,realpath as Mq,stat as Kq}from"node:fs/promises";import{join as Nq,relative as Hq,resolve as l,sep as Yq}from"node:path";import{Readable as Oq}from"node:stream";function i(q,J={}){let X=J.entryType||J.type;if(X==="both")X=H.FILE_DIR_TYPE;if(X)J.type=X;if(!q)throw Error("readdirp: root argument is required. Usage: readdirp(root, options)");else if(typeof q!=="string")throw TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");else if(X&&!o.includes(X))throw Error(`readdirp: Invalid type passed. Use one of ${o.join(", ")}`);return J.root=q,new u(J)}var H,_,h="READDIRP_RECURSIVE_ERROR",Iq,o,bq,Dq,Vq=(q)=>Iq.has(q.code),Lq,p=(q)=>!0,n=(q)=>{if(q===void 0)return p;if(typeof q==="function")return q;if(typeof q==="string"){let J=q.trim();return(X)=>X.basename===J}if(Array.isArray(q)){let J=q.map((X)=>X.trim());return(X)=>J.some((Q)=>X.basename===Q)}return p},u;var s=g(()=>{H={FILE_TYPE:"files",DIR_TYPE:"directories",FILE_DIR_TYPE:"files_directories",EVERYTHING_TYPE:"all"},_={root:".",fileFilter:(q)=>!0,directoryFilter:(q)=>!0,type:H.FILE_TYPE,lstat:!1,depth:2147483648,alwaysStat:!1,highWaterMark:4096};Object.freeze(_);Iq=new Set(["ENOENT","EPERM","EACCES","ELOOP",h]),o=[H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE],bq=new Set([H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE]),Dq=new Set([H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE]),Lq=process.platform==="win32";u=class u extends Oq{parents;reading;parent;_stat;_maxDepth;_wantsDir;_wantsFile;_wantsEverything;_root;_isDirent;_statsProp;_rdOptions;_fileFilter;_directoryFilter;constructor(q={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:q.highWaterMark});let J={..._,...q},{root:X,type:Q}=J;this._fileFilter=n(J.fileFilter),this._directoryFilter=n(J.directoryFilter);let Z=J.lstat?c:Kq;if(Lq)this._stat=(z)=>Z(z,{bigint:!0});else this._stat=Z;this._maxDepth=J.depth!=null&&Number.isSafeInteger(J.depth)?J.depth:_.depth,this._wantsDir=Q?bq.has(Q):!1,this._wantsFile=Q?Dq.has(Q):!1,this._wantsEverything=Q===H.EVERYTHING_TYPE,this._root=l(X),this._isDirent=!J.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(X,1)],this.reading=!1,this.parent=void 0}async _read(q){if(this.reading)return;this.reading=!0;try{while(!this.destroyed&&q>0){let J=this.parent,X=J&&J.files;if(X&&X.length>0){let{path:Q,depth:Z}=J,z=X.splice(0,q).map((G)=>this._formatEntry(G,Q)),$=await Promise.all(z);for(let G of $){if(!G)continue;if(this.destroyed)return;let U=await this._getEntryType(G);if(U==="directory"&&this._directoryFilter(G)){if(Z<=this._maxDepth)this.parents.push(this._exploreDir(G.fullPath,Z+1));if(this._wantsDir)this.push(G),q--}else if((U==="file"||this._includeAsFile(G))&&this._fileFilter(G)){if(this._wantsFile)this.push(G),q--}}}else{let Q=this.parents.pop();if(!Q){this.push(null);break}if(this.parent=await Q,this.destroyed)return}}}catch(J){this.destroy(J)}finally{this.reading=!1}}async _exploreDir(q,J){let X;try{X=await Cq(q,this._rdOptions)}catch(Q){this._onError(Q)}return{files:X,depth:J,path:q}}async _formatEntry(q,J){let X,Q=this._isDirent?q.name:q;try{let Z=l(Nq(J,Q));X={path:Hq(this._root,Z),fullPath:Z,basename:Q},X[this._statsProp]=this._isDirent?q:await this._stat(Z)}catch(Z){this._onError(Z);return}return X}_onError(q){if(Vq(q)&&!this.destroyed)this.emit("warn",q);else this.destroy(q)}async _getEntryType(q){if(!q&&this._statsProp in q)return"";let J=q[this._statsProp];if(J.isFile())return"file";if(J.isDirectory())return"directory";if(J&&J.isSymbolicLink()){let X=q.fullPath;try{let Q=await Mq(X),Z=await c(Q);if(Z.isFile())return"file";if(Z.isDirectory()){let z=Q.length;if(X.startsWith(Q)&&X.substr(z,1)===Yq){let $=Error(`Circular symlink detected: "${X}" points to "${Q}"`);return $.code=h,this._onError($)}return"directory"}}catch(Q){return this._onError(Q),""}}}_includeAsFile(q){let J=q&&q[this._statsProp];return J&&this._wantsEverything&&!J.isDirectory()}}});import{watch as Aq,unwatchFile as a,watchFile as Wq}from"node:fs";import{realpath as P,lstat as Fq,open as Rq,stat as e}from"node:fs/promises";import{type as Tq}from"node:os";import*as M from"node:path";function r(q,J,X,Q,Z){let z=($,G)=>{if(X(q),Z($,G,{watchedPath:q}),G&&q!==G)W(M.resolve(q,G),I,M.join(q,G))};try{return Aq(q,{persistent:J.persistent},z)}catch($){Q($);return}}class f{fsw;_boundHandleError;constructor(q){this.fsw=q,this._boundHandleError=(J)=>q._handleError(J)}_watchWithNodeFs(q,J){let X=this.fsw.options,Q=M.dirname(q),Z=M.basename(q);this.fsw._getWatchedDir(Q).add(Z);let $=M.resolve(q),G={persistent:X.persistent};if(!J)J=F;let U;if(X.usePolling){let x=X.interval!==X.binaryInterval;G.interval=x&&fq(Z)?X.binaryInterval:X.interval,U=dq(q,$,G,{listener:J,rawEmitter:this.fsw._emitRaw})}else U=mq(q,$,G,{listener:J,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw});return U}_handleFile(q,J,X){if(this.fsw.closed)return;let Q=M.dirname(q),Z=M.basename(q),z=this.fsw._getWatchedDir(Q),$=J;if(z.has(Z))return;let G=async(x,j)=>{if(!this.fsw._throttle(Sq,q,5))return;if(!j||j.mtimeMs===0)try{let k=await e(q);if(this.fsw.closed)return;let{atimeMs:K,mtimeMs:N}=k;if(!K||K<=N||N!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,k);if((gq||uq||Pq)&&$.ino!==k.ino){this.fsw._closeFile(x),$=k;let O=this._watchWithNodeFs(q,G);if(O)this.fsw._addPathCloser(x,O)}else $=k}catch(k){this.fsw._remove(Q,Z)}else if(z.has(Z)){let{atimeMs:k,mtimeMs:K}=j;if(!k||k<=K||K!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,j);$=j}},U=this._watchWithNodeFs(q,G);if(!(X&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(q)){if(!this.fsw._throttle(Y.ADD,q,0))return;this.fsw._emit(Y.ADD,q,J)}return U}async _handleSymlink(q,J,X,Q){if(this.fsw.closed)return;let Z=q.fullPath,z=this.fsw._getWatchedDir(J);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let $;try{$=await P(X)}catch(G){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;if(z.has(Q)){if(this.fsw._symlinkPaths.get(Z)!==$)this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.CHANGE,X,q.stats)}else z.add(Q),this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.ADD,X,q.stats);return this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(Z))return!0;this.fsw._symlinkPaths.set(Z,!0)}_handleRead(q,J,X,Q,Z,z,$){q=M.join(q,"");let G=Q?`${q}:${Q}`:q;if($=this.fsw._throttle("readdir",G,1000),!$)return;let U=this.fsw._getWatchedDir(X.path),x=new Set,j=this.fsw._readdirp(q,{fileFilter:(k)=>X.filterPath(k),directoryFilter:(k)=>X.filterDir(k)});if(!j)return;return j.on(_q,async(k)=>{if(this.fsw.closed){j=void 0;return}let K=k.path,N=M.join(q,K);if(x.add(K),k.stats.isSymbolicLink()&&await this._handleSymlink(k,q,N,K))return;if(this.fsw.closed){j=void 0;return}if(K===Q||!Q&&!U.has(K))this.fsw._incrReadyCount(),N=M.join(Z,M.relative(Z,N)),this._addToNodeFs(N,J,X,z+1)}).on(Y.ERROR,this._boundHandleError),new Promise((k,K)=>{if(!j)return K();j.once(w,()=>{if(this.fsw.closed){j=void 0;return}let N=$?$.clear():!1;if(k(void 0),U.getChildren().filter((O)=>{return O!==q&&!x.has(O)}).forEach((O)=>{this.fsw._remove(q,O)}),j=void 0,N)this._handleRead(q,!1,X,Q,Z,z,$)})})}async _handleDir(q,J,X,Q,Z,z,$){let G=this.fsw._getWatchedDir(M.dirname(q)),U=G.has(M.basename(q));if(!(X&&this.fsw.options.ignoreInitial)&&!Z&&!U)this.fsw._emit(Y.ADD_DIR,q,J);G.add(M.basename(q)),this.fsw._getWatchedDir(q);let x,j,k=this.fsw.options.depth;if((k==null||Q<=k)&&!this.fsw._symlinkPaths.has($)){if(!Z){if(await this._handleRead(q,X,z,Z,q,Q,x),this.fsw.closed)return}j=this._watchWithNodeFs(q,(K,N)=>{if(N&&N.mtimeMs===0)return;this._handleRead(K,!1,z,Z,q,Q,x)})}return j}async _addToNodeFs(q,J,X,Q,Z){let z=this.fsw._emitReady;if(this.fsw._isIgnored(q)||this.fsw.closed)return z(),!1;let $=this.fsw._getWatchHelpers(q);if(X)$.filterPath=(G)=>X.filterPath(G),$.filterDir=(G)=>X.filterDir(G);try{let G=await vq[$.statMethod]($.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored($.watchPath,G))return z(),!1;let U=this.fsw.options.followSymlinks,x;if(G.isDirectory()){let j=M.resolve(q),k=U?await P(q):q;if(this.fsw.closed)return;if(x=await this._handleDir($.watchPath,G,J,Q,Z,$,k),this.fsw.closed)return;if(j!==k&&k!==void 0)this.fsw._symlinkPaths.set(j,k)}else if(G.isSymbolicLink()){let j=U?await P(q):q;if(this.fsw.closed)return;let k=M.dirname($.watchPath);if(this.fsw._getWatchedDir(k).add($.watchPath),this.fsw._emit(Y.ADD,$.watchPath,G),x=await this._handleDir(k,G,J,Q,q,$,j),this.fsw.closed)return;if(j!==void 0)this.fsw._symlinkPaths.set(M.resolve(q),j)}else x=this._handleFile($.watchPath,G,J);if(z(),x)this.fsw._addPathCloser(q,x);return!1}catch(G){if(this.fsw._handleError(G))return z(),q}}}var _q="data",w="end",t="close",F=()=>{},R,E,gq,uq,Pq,qq,C,Y,Sq="watch",vq,I="listeners",L="errHandlers",b="rawEmitters",wq,Eq,fq=(q)=>Eq.has(M.extname(q).slice(1).toLowerCase()),v=(q,J)=>{if(q instanceof Set)q.forEach(J);else J(q)},D=(q,J,X)=>{let Q=q[J];if(!(Q instanceof Set))q[J]=Q=new Set([Q]);Q.add(X)},yq=(q)=>(J)=>{let X=q[J];if(X instanceof Set)X.clear();else delete q[J]},V=(q,J,X)=>{let Q=q[J];if(Q instanceof Set)Q.delete(X);else if(Q===X)delete q[J]},Jq=(q)=>q instanceof Set?q.size===0:!q,A,W=(q,J,X,Q,Z)=>{let z=A.get(q);if(!z)return;v(z[J],($)=>{$(X,Q,Z)})},mq=(q,J,X,Q)=>{let{listener:Z,errHandler:z,rawEmitter:$}=Q,G=A.get(J),U;if(!X.persistent){if(U=r(q,X,Z,z,$),!U)return;return U.close.bind(U)}if(G)D(G,I,Z),D(G,L,z),D(G,b,$);else{if(U=r(q,X,W.bind(null,J,I),z,W.bind(null,J,b)),!U)return;U.on(Y.ERROR,async(x)=>{let j=W.bind(null,J,L);if(G)G.watcherUnusable=!0;if(E&&x.code==="EPERM")try{await(await Rq(q,"r")).close(),j(x)}catch(k){}else j(x)}),G={listeners:Z,errHandlers:z,rawEmitters:$,watcher:U},A.set(J,G)}return()=>{if(V(G,I,Z),V(G,L,z),V(G,b,$),Jq(G.listeners))G.watcher.close(),A.delete(J),wq.forEach(yq(G)),G.watcher=void 0,Object.freeze(G)}},S,dq=(q,J,X,Q)=>{let{listener:Z,rawEmitter:z}=Q,$=S.get(J),G=$&&$.options;if(G&&(G.persistent<X.persistent||G.interval>X.interval))a(J),$=void 0;if($)D($,I,Z),D($,b,z);else $={listeners:Z,rawEmitters:z,options:X,watcher:Wq(J,X,(U,x)=>{v($.rawEmitters,(k)=>{k(Y.CHANGE,J,{curr:U,prev:x})});let j=U.mtimeMs;if(U.size!==x.size||j>x.mtimeMs||j===0)v($.listeners,(k)=>k(q,U))})},S.set(J,$);return()=>{if(V($,I,Z),V($,b,z),Jq($.listeners))S.delete(J),a(J),$.options=$.watcher=void 0,Object.freeze($)}};var Qq=g(()=>{R=process.platform,E=R==="win32",gq=R==="darwin",uq=R==="linux",Pq=R==="freebsd",qq=Tq()==="OS400",C={ALL:"all",READY:"ready",ADD:"add",CHANGE:"change",ADD_DIR:"addDir",UNLINK:"unlink",UNLINK_DIR:"unlinkDir",RAW:"raw",ERROR:"error"},Y=C,vq={lstat:Fq,stat:e},wq=[I,L,b],Eq=new Set(["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]),A=new Map;S=new Map});import{EventEmitter as cq}from"node:events";import{stat as lq,Stats as YJ}from"node:fs";import{readdir as oq,stat as pq}from"node:fs/promises";import*as B from"node:path";function T(q){return Array.isArray(q)?q:[q]}function eq(q){if(typeof q==="function")return q;if(typeof q==="string")return(J)=>q===J;if(q instanceof RegExp)return(J)=>q.test(J);if(typeof q==="object"&&q!==null)return(J)=>{if(q.path===J)return!0;if(q.recursive){let X=B.relative(q.path,J);if(!X)return!1;return!X.startsWith("..")&&!B.isAbsolute(X)}return!1};return()=>!1}function tq(q){if(typeof q!=="string")throw Error("string expected");q=B.normalize(q),q=q.replace(/\\/g,"/");let J=!1;if(q.startsWith("//"))J=!0;if(q=q.replace(Uq,"/"),J)q="/"+q;return q}function Xq(q,J,X){let Q=tq(J);for(let Z=0;Z<q.length;Z++){let z=q[Z];if(z(Q,X))return!0}return!1}function qJ(q,J){if(q==null)throw TypeError("anymatch: specify first argument");let Q=T(q).map((Z)=>eq(Z));if(J==null)return(Z,z)=>{return Xq(Q,Z,z)};return Xq(Q,J)}class kq{path;_removeWatcher;items;constructor(q,J){this.path=q,this._removeWatcher=J,this.items=new Set}add(q){let{items:J}=this;if(!J)return;if(q!==zq&&q!==hq)J.add(q)}async remove(q){let{items:J}=this;if(!J)return;if(J.delete(q),J.size>0)return;let X=this.path;try{await oq(X)}catch(Q){if(this._removeWatcher)this._removeWatcher(B.dirname(X),B.basename(X))}}has(q){let{items:J}=this;if(!J)return;return J.has(q)}getChildren(){let{items:q}=this;if(!q)return[];return[...q.values()]}dispose(){this.items.clear(),this.path="",this._removeWatcher=F,this.items=QJ,Object.freeze(this)}}class Bq{fsw;path;watchPath;fullWatchPath;dirParts;followSymlinks;statMethod;constructor(q,J,X){this.fsw=X;let Q=q;this.path=q=q.replace(rq,""),this.watchPath=Q,this.fullWatchPath=B.resolve(Q),this.dirParts=[],this.dirParts.forEach((Z)=>{if(Z.length>1)Z.pop()}),this.followSymlinks=J,this.statMethod=J?XJ:ZJ}entryPath(q){return B.join(this.watchPath,B.relative(this.watchPath,q.fullPath))}filterPath(q){let{stats:J}=q;if(J&&J.isSymbolicLink())return this.filterDir(q);let X=this.entryPath(q);return this.fsw._isntIgnored(X,J)&&this.fsw._hasReadPermissions(J)}filterDir(q){return this.fsw._isntIgnored(this.entryPath(q),q.stats)}}function $J(q,J={}){let X=new d(J);return X.add(q),X}var y="/",nq="//",zq=".",hq="..",iq="string",sq,Uq,aq,rq,m=(q)=>typeof q==="object"&&q!==null&&!(q instanceof RegExp),Zq=(q)=>{let J=T(q).flat();if(!J.every((X)=>typeof X===iq))throw TypeError(`Non-string provided as watch path: ${J}`);return J.map(xq)},$q=(q)=>{let J=q.replace(sq,y),X=!1;if(J.startsWith(nq))X=!0;if(J=J.replace(Uq,y),X)J=y+J;return J},xq=(q)=>$q(B.normalize($q(q))),Gq=(q="")=>(J)=>{if(typeof J==="string")return xq(B.isAbsolute(J)?J:B.join(q,J));else return J},JJ=(q,J)=>{if(B.isAbsolute(q))return q;return B.join(J,q)},QJ,XJ="stat",ZJ="lstat",d,DJ;var GJ=g(()=>{s();Qq();/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */sq=/\\/g,Uq=/\/\//g,aq=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,rq=/^\.[/\\]/;QJ=Object.freeze(new Set);d=class d extends cq{closed;options;_closers;_ignoredPaths;_throttled;_streams;_symlinkPaths;_watched;_pendingWrites;_pendingUnlinks;_readyCount;_emitReady;_closePromise;_userIgnored;_readyEmitted;_emitRaw;_boundRemove;_nodeFsHandler;constructor(q={}){super();this.closed=!1,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._streams=new Set,this._symlinkPaths=new Map,this._watched=new Map,this._pendingWrites=new Map,this._pendingUnlinks=new Map,this._readyCount=0,this._readyEmitted=!1;let J=q.awaitWriteFinish,X={stabilityThreshold:2000,pollInterval:100},Q={persistent:!0,ignoreInitial:!1,ignorePermissionErrors:!1,interval:100,binaryInterval:300,followSymlinks:!0,usePolling:!1,atomic:!0,...q,ignored:q.ignored?T(q.ignored):T([]),awaitWriteFinish:J===!0?X:typeof J==="object"?{...X,...J}:!1};if(qq)Q.usePolling=!0;if(Q.atomic===void 0)Q.atomic=!Q.usePolling;let Z=process.env.CHOKIDAR_USEPOLLING;if(Z!==void 0){let G=Z.toLowerCase();if(G==="false"||G==="0")Q.usePolling=!1;else if(G==="true"||G==="1")Q.usePolling=!0;else Q.usePolling=!!G}let z=process.env.CHOKIDAR_INTERVAL;if(z)Q.interval=Number.parseInt(z,10);let $=0;this._emitReady=()=>{if($++,$>=this._readyCount)this._emitReady=F,this._readyEmitted=!0,process.nextTick(()=>this.emit(C.READY))},this._emitRaw=(...G)=>this.emit(C.RAW,...G),this._boundRemove=this._remove.bind(this),this.options=Q,this._nodeFsHandler=new f(this),Object.freeze(Q)}_addIgnoredPath(q){if(m(q)){for(let J of this._ignoredPaths)if(m(J)&&J.path===q.path&&J.recursive===q.recursive)return}this._ignoredPaths.add(q)}_removeIgnoredPath(q){if(this._ignoredPaths.delete(q),typeof q==="string"){for(let J of this._ignoredPaths)if(m(J)&&J.path===q)this._ignoredPaths.delete(J)}}add(q,J,X){let{cwd:Q}=this.options;this.closed=!1,this._closePromise=void 0;let Z=Zq(q);if(Q)Z=Z.map((z)=>{return JJ(z,Q)});if(Z.forEach((z)=>{this._removeIgnoredPath(z)}),this._userIgnored=void 0,!this._readyCount)this._readyCount=0;return this._readyCount+=Z.length,Promise.all(Z.map(async(z)=>{let $=await this._nodeFsHandler._addToNodeFs(z,!X,void 0,0,J);if($)this._emitReady();return $})).then((z)=>{if(this.closed)return;z.forEach(($)=>{if($)this.add(B.dirname($),B.basename(J||$))})}),this}unwatch(q){if(this.closed)return this;let J=Zq(q),{cwd:X}=this.options;return J.forEach((Q)=>{if(!B.isAbsolute(Q)&&!this._closers.has(Q)){if(X)Q=B.join(X,Q);Q=B.resolve(Q)}if(this._closePath(Q),this._addIgnoredPath(Q),this._watched.has(Q))this._addIgnoredPath({path:Q,recursive:!0});this._userIgnored=void 0}),this}close(){if(this._closePromise)return this._closePromise;this.closed=!0,this.removeAllListeners();let q=[];return this._closers.forEach((J)=>J.forEach((X)=>{let Q=X();if(Q instanceof Promise)q.push(Q)})),this._streams.forEach((J)=>J.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((J)=>J.dispose()),this._closers.clear(),this._watched.clear(),this._streams.clear(),this._symlinkPaths.clear(),this._throttled.clear(),this._closePromise=q.length?Promise.all(q).then(()=>{return}):Promise.resolve(),this._closePromise}getWatched(){let q={};return this._watched.forEach((J,X)=>{let Z=(this.options.cwd?B.relative(this.options.cwd,X):X)||zq;q[Z]=J.getChildren().sort()}),q}emitWithAll(q,J){if(this.emit(q,...J),q!==C.ERROR)this.emit(C.ALL,q,...J)}async _emit(q,J,X){if(this.closed)return;let Q=this.options;if(E)J=B.normalize(J);if(Q.cwd)J=B.relative(Q.cwd,J);let Z=[J];if(X!=null)Z.push(X);let z=Q.awaitWriteFinish,$;if(z&&($=this._pendingWrites.get(J)))return $.lastChange=new Date,this;if(Q.atomic){if(q===C.UNLINK)return this._pendingUnlinks.set(J,[q,...Z]),setTimeout(()=>{this._pendingUnlinks.forEach((G,U)=>{this.emit(...G),this.emit(C.ALL,...G),this._pendingUnlinks.delete(U)})},typeof Q.atomic==="number"?Q.atomic:100),this;if(q===C.ADD&&this._pendingUnlinks.has(J))q=C.CHANGE,this._pendingUnlinks.delete(J)}if(z&&(q===C.ADD||q===C.CHANGE)&&this._readyEmitted){let G=(U,x)=>{if(U)q=C.ERROR,Z[0]=U,this.emitWithAll(q,Z);else if(x){if(Z.length>1)Z[1]=x;else Z.push(x);this.emitWithAll(q,Z)}};return this._awaitWriteFinish(J,z.stabilityThreshold,q,G),this}if(q===C.CHANGE){if(!this._throttle(C.CHANGE,J,50))return this}if(Q.alwaysStat&&X===void 0&&(q===C.ADD||q===C.ADD_DIR||q===C.CHANGE)){let G=Q.cwd?B.join(Q.cwd,J):J,U;try{U=await pq(G)}catch(x){}if(!U||this.closed)return;Z.push(U)}return this.emitWithAll(q,Z),this}_handleError(q){let J=q&&q.code;if(q&&J!=="ENOENT"&&J!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||J!=="EPERM"&&J!=="EACCES"))this.emit(C.ERROR,q);return q||this.closed}_throttle(q,J,X){if(!this._throttled.has(q))this._throttled.set(q,new Map);let Q=this._throttled.get(q);if(!Q)throw Error("invalid throttle");let Z=Q.get(J);if(Z)return Z.count++,!1;let z,$=()=>{let U=Q.get(J),x=U?U.count:0;if(Q.delete(J),clearTimeout(z),U)clearTimeout(U.timeoutObject);return x};z=setTimeout($,X);let G={timeoutObject:z,clear:$,count:0};return Q.set(J,G),G}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(q,J,X,Q){let Z=this.options.awaitWriteFinish;if(typeof Z!=="object")return;let z=Z.pollInterval,$,G=q;if(this.options.cwd&&!B.isAbsolute(q))G=B.join(this.options.cwd,q);let U=new Date,x=this._pendingWrites;function j(k){lq(G,(K,N)=>{if(K||!x.has(q)){if(K&&K.code!=="ENOENT")Q(K);return}let O=Number(new Date);if(k&&N.size!==k.size)x.get(q).lastChange=O;let jq=x.get(q);if(O-jq.lastChange>=J)x.delete(q),Q(void 0,N);else $=setTimeout(j,z,N)})}if(!x.has(q))x.set(q,{lastChange:U,cancelWait:()=>{return x.delete(q),clearTimeout($),X}}),$=setTimeout(j,z)}_isIgnored(q,J){if(this.options.atomic&&aq.test(q))return!0;if(!this._userIgnored){let{cwd:X}=this.options,Z=(this.options.ignored||[]).map(Gq(X)),$=[...[...this._ignoredPaths].map(Gq(X)),...Z];this._userIgnored=qJ($,void 0)}return this._userIgnored(q,J)}_isntIgnored(q,J){return!this._isIgnored(q,J)}_getWatchHelpers(q){return new Bq(q,this.options.followSymlinks,this)}_getWatchedDir(q){let J=B.resolve(q);if(!this._watched.has(J))this._watched.set(J,new kq(J,this._boundRemove));return this._watched.get(J)}_hasReadPermissions(q){if(this.options.ignorePermissionErrors)return!0;return Boolean(Number(q.mode)&256)}_remove(q,J,X){let Q=B.join(q,J),Z=B.resolve(Q);if(X=X!=null?X:this._watched.has(Q)||this._watched.has(Z),!this._throttle("remove",Q,100))return;if(!X&&this._watched.size===1)this.add(q,J,!0);this._getWatchedDir(Q).getChildren().forEach((k)=>this._remove(Q,k));let G=this._getWatchedDir(q),U=G.has(J);if(G.remove(J),this._symlinkPaths.has(Z))this._symlinkPaths.delete(Z);let x=Q;if(this.options.cwd)x=B.relative(this.options.cwd,Q);if(this.options.awaitWriteFinish&&this._pendingWrites.has(x)){if(this._pendingWrites.get(x).cancelWait()===C.ADD)return}this._watched.delete(Q),this._watched.delete(Z);let j=X?C.UNLINK_DIR:C.UNLINK;if(U&&!this._isIgnored(Q))this._emit(j,Q);this._closePath(Q)}_closePath(q){this._closeFile(q);let J=B.dirname(q);this._getWatchedDir(J).remove(B.basename(q))}_closeFile(q){let J=this._closers.get(q);if(!J)return;J.forEach((X)=>X()),this._closers.delete(q)}_addPathCloser(q,J){if(!J)return;let X=this._closers.get(q);if(!X)X=[],this._closers.set(q,X);X.push(J)}_readdirp(q,J){if(this.closed)return;let X={type:C.ALL,alwaysStat:!0,lstat:!0,...J,depth:0},Q=i(q,X);return this._streams.add(Q),Q.once(t,()=>{Q=void 0}),Q.once(w,()=>{if(Q)this._streams.delete(Q),Q=void 0}),Q}};DJ={watch:$J,FSWatcher:d}});
2
- export{Bq as rT,d as sT,$J as tT,DJ as uT,GJ as vT};