@claudiolabs/claudin 1.0.3 → 1.0.5

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 (903) hide show
  1. package/dist/chunks/AgentTool-1.0.5-bve72qn3.mjs +1 -0
  2. package/dist/chunks/App-1.0.5-b1ptk818.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.0.5-d73v27vk.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.0.5-m4g9ve5w.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.0.5-1fhw47s3.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.0.5-2ftcd34q.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.5-vvt3qmd3.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.0.5-5tbav27h.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.0.5-wfmfaq5y.mjs +7 -0
  10. package/dist/chunks/Doctor-1.0.5-aqtamd4t.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.0.5-fcek5ayb.mjs +6 -0
  12. package/dist/chunks/Grove-1.0.5-s0g6h4ad.mjs +1 -0
  13. package/dist/chunks/ITermBackend-1.0.5-8mefb31y.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.0.5-yg1pp4kj.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.0.5-ehfvv8xr.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.0.5-3g1wgttr.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.0.5-5xmfzaxp.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.0.5-js8agmz4.mjs +1 -0
  19. package/dist/chunks/REPL-1.0.5-cbty14yx.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.0.5-tk06qwet.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.0.5-dw798fgm.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.0.5-e9ecn6bv.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.0.5-73c21yk8.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.0.5-5z8kf91x.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.0.5-ymwpv5sa.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.0.5-sr892kpq.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.0.5-m1cpcqn6.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.0.5-472zrw1v.mjs +1 -0
  29. package/dist/chunks/add-dir-1.0.5-ge50ybwk.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.0.5-3zacry7t.mjs +1 -0
  31. package/dist/chunks/agents-1.0.5-v6mp2y4s.mjs +3 -0
  32. package/dist/chunks/agents-1.0.5-wv6r8bz8.mjs +110 -0
  33. package/dist/chunks/api-1.0.5-7ycxccha.mjs +1 -0
  34. package/dist/chunks/asciicast-1.0.5-hekxdzwx.mjs +1 -0
  35. package/dist/chunks/assistant-1.0.5-z18w3et3.mjs +1 -0
  36. package/dist/chunks/auth-1.0.5-2m7h1jf6.mjs +1 -0
  37. package/dist/chunks/auth-1.0.5-dpr47wdh.mjs +1 -0
  38. package/dist/chunks/autoMode-1.0.5-ydsnyr10.mjs +48 -0
  39. package/dist/chunks/autoUpdater-1.0.5-qk4kweea.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.0.5-m33sas71.mjs +1 -0
  41. package/dist/chunks/branch-1.0.5-e7g32mca.mjs +4 -0
  42. package/dist/chunks/bridge-1.0.5-vw1vdqpn.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.0.5-ws0123wb.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.0.5-319ckfdw.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.0.5-9s4j62gn.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.0.5-tmrgtd3x.mjs +1 -0
  47. package/dist/chunks/btw-1.0.5-vx6jpr7g.mjs +1 -0
  48. package/dist/chunks/buddy-1.0.5-1p0vvmht.mjs +3 -0
  49. package/dist/chunks/cacache-1.0.5-wjkzfh58.mjs +1 -0
  50. package/dist/chunks/cache-probe-1.0.5-5nq882mh.mjs +21 -0
  51. package/dist/chunks/cacheStats-1.0.5-wrrdeke5.mjs +4 -0
  52. package/dist/chunks/caches-1.0.5-v8k4exyq.mjs +1 -0
  53. package/dist/chunks/claudeDesktop-1.0.5-gvxyj4xd.mjs +1 -0
  54. package/dist/chunks/claudemd-1.0.5-3jqbm6dg.mjs +1 -0
  55. package/dist/chunks/clear-1.0.5-ydrbv5sa.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.0.5-2xv2cmn3.mjs +1 -0
  57. package/dist/chunks/cli-1.0.5-03wgbmm2.mjs +20 -0
  58. package/dist/chunks/cli-1.0.5-0k6kyvrp.mjs +4 -0
  59. package/dist/chunks/cli-1.0.5-0qaqmxjt.mjs +24 -0
  60. package/dist/chunks/cli-1.0.5-0qw6t36m.mjs +2 -0
  61. package/dist/chunks/cli-1.0.5-0rec9csa.mjs +2 -0
  62. package/dist/chunks/cli-1.0.5-0s0v1gg0.mjs +2 -0
  63. package/dist/chunks/cli-1.0.5-0sq2vybw.mjs +2 -0
  64. package/dist/chunks/cli-1.0.5-0trf2gsb.mjs +3 -0
  65. package/dist/chunks/cli-1.0.5-0ye9svdt.mjs +2 -0
  66. package/dist/chunks/cli-1.0.5-0zrj33nk.mjs +4 -0
  67. package/dist/chunks/cli-1.0.5-123rr4tv.mjs +17 -0
  68. package/dist/chunks/cli-1.0.5-13h520vn.mjs +2 -0
  69. package/dist/chunks/cli-1.0.5-15332510.mjs +18 -0
  70. package/dist/chunks/cli-1.0.5-15xp9y4j.mjs +2 -0
  71. package/dist/chunks/cli-1.0.5-1b29x90m.mjs +2 -0
  72. package/dist/chunks/cli-1.0.5-1ca2a1kb.mjs +2 -0
  73. package/dist/chunks/cli-1.0.5-1ngdnte5.mjs +2 -0
  74. package/dist/chunks/cli-1.0.5-1z04v9fp.mjs +2 -0
  75. package/dist/chunks/cli-1.0.5-229sbfzz.mjs +15 -0
  76. package/dist/chunks/cli-1.0.5-29rk70p9.mjs +2 -0
  77. package/dist/chunks/cli-1.0.5-2aw9s99e.mjs +6 -0
  78. package/dist/chunks/cli-1.0.5-2hp8c4re.mjs +2 -0
  79. package/dist/chunks/cli-1.0.5-2j3w0k8p.mjs +3 -0
  80. package/dist/chunks/cli-1.0.5-2s6yzh9g.mjs +2 -0
  81. package/dist/chunks/cli-1.0.5-2x0kgr9z.mjs +2 -0
  82. package/dist/chunks/cli-1.0.5-39mk3dk2.mjs +9 -0
  83. package/dist/chunks/cli-1.0.5-39veaqd7.mjs +2 -0
  84. package/dist/chunks/cli-1.0.5-3c8dt3cc.mjs +12 -0
  85. package/dist/chunks/cli-1.0.5-3dcw9ffw.mjs +2 -0
  86. package/dist/chunks/cli-1.0.5-3mmky5x7.mjs +67 -0
  87. package/dist/chunks/cli-1.0.5-3qaq54xf.mjs +2 -0
  88. package/dist/chunks/cli-1.0.5-41vyz0qd.mjs +18 -0
  89. package/dist/chunks/cli-1.0.5-45wvp02j.mjs +2 -0
  90. package/dist/chunks/cli-1.0.5-46363jdw.mjs +34 -0
  91. package/dist/chunks/cli-1.0.5-4az3eg5n.mjs +2 -0
  92. package/dist/chunks/cli-1.0.5-4cf0c00c.mjs +2 -0
  93. package/dist/chunks/cli-1.0.5-4h3763ep.mjs +2 -0
  94. package/dist/chunks/cli-1.0.5-4xvkzkh8.mjs +2 -0
  95. package/dist/chunks/cli-1.0.5-4zswwdgs.mjs +2 -0
  96. package/dist/chunks/cli-1.0.5-53d6wywt.mjs +2 -0
  97. package/dist/chunks/cli-1.0.5-57axxb5t.mjs +9 -0
  98. package/dist/chunks/cli-1.0.5-57w7a5bs.mjs +3 -0
  99. package/dist/chunks/cli-1.0.5-5bxyzsp6.mjs +2 -0
  100. package/dist/chunks/cli-1.0.5-5d3y804x.mjs +2 -0
  101. package/dist/chunks/cli-1.0.5-5j8nqcrs.mjs +2 -0
  102. package/dist/chunks/cli-1.0.5-5mk9wvxw.mjs +4 -0
  103. package/dist/chunks/cli-1.0.5-5mnf7pdd.mjs +2 -0
  104. package/dist/chunks/cli-1.0.5-5r2pnj92.mjs +2 -0
  105. package/dist/chunks/cli-1.0.5-5r37hkj4.mjs +2 -0
  106. package/dist/chunks/cli-1.0.5-5zqq0zy7.mjs +2 -0
  107. package/dist/chunks/cli-1.0.5-6bbza4by.mjs +2 -0
  108. package/dist/chunks/cli-1.0.5-6dxc5313.mjs +2 -0
  109. package/dist/chunks/cli-1.0.5-6shb2frf.mjs +2 -0
  110. package/dist/chunks/cli-1.0.5-73mr16hn.mjs +2 -0
  111. package/dist/chunks/cli-1.0.5-77gpdsqr.mjs +2 -0
  112. package/dist/chunks/cli-1.0.5-7b347m92.mjs +59 -0
  113. package/dist/chunks/cli-1.0.5-7vf1pr3c.mjs +2 -0
  114. package/dist/chunks/cli-1.0.5-84039hcz.mjs +2 -0
  115. package/dist/chunks/cli-1.0.5-8arg550h.mjs +2 -0
  116. package/dist/chunks/cli-1.0.5-8b04xvpj.mjs +15 -0
  117. package/dist/chunks/cli-1.0.5-8d1k2x24.mjs +3 -0
  118. package/dist/chunks/cli-1.0.5-8dg2y6tg.mjs +3 -0
  119. package/dist/chunks/cli-1.0.5-8mfjh9vw.mjs +2 -0
  120. package/dist/chunks/cli-1.0.5-8rzb2qem.mjs +17 -0
  121. package/dist/chunks/cli-1.0.5-8vatjwa7.mjs +5 -0
  122. package/dist/chunks/cli-1.0.5-8xf656w6.mjs +2 -0
  123. package/dist/chunks/cli-1.0.5-96fnr7xq.mjs +2 -0
  124. package/dist/chunks/cli-1.0.5-9c0hvxqx.mjs +2 -0
  125. package/dist/chunks/cli-1.0.5-9m4a2113.mjs +199 -0
  126. package/dist/chunks/cli-1.0.5-9n44f77w.mjs +2 -0
  127. package/dist/chunks/cli-1.0.5-9p4aamqf.mjs +2 -0
  128. package/dist/chunks/cli-1.0.5-9q1kjzxh.mjs +50 -0
  129. package/dist/chunks/cli-1.0.5-a09d7qpj.mjs +2 -0
  130. package/dist/chunks/cli-1.0.5-a0zsx9k5.mjs +6 -0
  131. package/dist/chunks/cli-1.0.5-a1fg3j9y.mjs +4 -0
  132. package/dist/chunks/cli-1.0.5-a3w7xpt0.mjs +2 -0
  133. package/dist/chunks/cli-1.0.5-a4weds6b.mjs +12 -0
  134. package/dist/chunks/cli-1.0.5-ackn9tdr.mjs +12 -0
  135. package/dist/chunks/cli-1.0.5-ax3758yk.mjs +2 -0
  136. package/dist/chunks/cli-1.0.5-axhexev2.mjs +4 -0
  137. package/dist/chunks/cli-1.0.5-b1qrxf5t.mjs +2 -0
  138. package/dist/chunks/cli-1.0.5-b9bacpp4.mjs +2 -0
  139. package/dist/chunks/cli-1.0.5-bbvr04n3.mjs +2 -0
  140. package/dist/chunks/cli-1.0.5-bbwvchab.mjs +3 -0
  141. package/dist/chunks/cli-1.0.5-bdad6ney.mjs +2 -0
  142. package/dist/chunks/cli-1.0.5-br28xg7b.mjs +2 -0
  143. package/dist/chunks/cli-1.0.5-br7w7ze2.mjs +2 -0
  144. package/dist/chunks/cli-1.0.5-c7k0f8wp.mjs +3 -0
  145. package/dist/chunks/cli-1.0.5-c91dt7xk.mjs +2 -0
  146. package/dist/chunks/cli-1.0.5-c96fh05p.mjs +3 -0
  147. package/dist/chunks/cli-1.0.5-cqyc6p8s.mjs +2 -0
  148. package/dist/chunks/cli-1.0.5-d2f5wztt.mjs +2 -0
  149. package/dist/chunks/cli-1.0.5-d8mbbnv3.mjs +2 -0
  150. package/dist/chunks/cli-1.0.5-d94fzt0m.mjs +1 -0
  151. package/dist/chunks/cli-1.0.5-das3386n.mjs +2 -0
  152. package/dist/chunks/cli-1.0.5-dcqw85vj.mjs +2 -0
  153. package/dist/chunks/cli-1.0.5-des22ges.mjs +15 -0
  154. package/dist/chunks/cli-1.0.5-dvcx4amk.mjs +2 -0
  155. package/dist/chunks/cli-1.0.5-dxz3143j.mjs +2 -0
  156. package/dist/chunks/cli-1.0.5-ea6p97zd.mjs +2 -0
  157. package/dist/chunks/cli-1.0.5-edajpjmg.mjs +2 -0
  158. package/dist/chunks/cli-1.0.5-en031fdr.mjs +2 -0
  159. package/dist/chunks/cli-1.0.5-ezk8ma1j.mjs +2 -0
  160. package/dist/chunks/cli-1.0.5-f27mhrw6.mjs +45 -0
  161. package/dist/chunks/cli-1.0.5-f6bn3jxz.mjs +2 -0
  162. package/dist/chunks/cli-1.0.5-f7xkakb1.mjs +18 -0
  163. package/dist/chunks/cli-1.0.5-fa0mqzrq.mjs +133 -0
  164. package/dist/chunks/cli-1.0.5-fa2wnwya.mjs +2 -0
  165. package/dist/chunks/cli-1.0.5-fag58qwa.mjs +2 -0
  166. package/dist/chunks/cli-1.0.5-g21rt29j.mjs +2 -0
  167. package/dist/chunks/cli-1.0.5-g9s591pn.mjs +2 -0
  168. package/dist/chunks/cli-1.0.5-gdb1jgqb.mjs +2 -0
  169. package/dist/chunks/cli-1.0.5-gkss5w7t.mjs +2 -0
  170. package/dist/chunks/cli-1.0.5-gw52qb5c.mjs +2 -0
  171. package/dist/chunks/cli-1.0.5-ha9p17yw.mjs +24 -0
  172. package/dist/chunks/cli-1.0.5-hgadanc5.mjs +2 -0
  173. package/dist/chunks/cli-1.0.5-hq3f080w.mjs +5471 -0
  174. package/dist/chunks/cli-1.0.5-hz1nj3xh.mjs +2 -0
  175. package/dist/chunks/cli-1.0.5-j2w9p7gf.mjs +6 -0
  176. package/dist/chunks/cli-1.0.5-j4hpefm6.mjs +25 -0
  177. package/dist/chunks/cli-1.0.5-jaf04yn4.mjs +2 -0
  178. package/dist/chunks/cli-1.0.5-jcd8tadh.mjs +2 -0
  179. package/dist/chunks/cli-1.0.5-jewqmvp6.mjs +2 -0
  180. package/dist/chunks/cli-1.0.5-jmw0tc8t.mjs +2 -0
  181. package/dist/chunks/cli-1.0.5-jqnmxwxw.mjs +2 -0
  182. package/dist/chunks/cli-1.0.5-k0gvkh49.mjs +2 -0
  183. package/dist/chunks/cli-1.0.5-k8de6zdd.mjs +4 -0
  184. package/dist/chunks/cli-1.0.5-k9jqdbmm.mjs +2 -0
  185. package/dist/chunks/cli-1.0.5-kcp28c4h.mjs +2 -0
  186. package/dist/chunks/cli-1.0.5-kjy5f3kr.mjs +2 -0
  187. package/dist/chunks/cli-1.0.5-m5af0s7r.mjs +2 -0
  188. package/dist/chunks/cli-1.0.5-mekqm9qg.mjs +133 -0
  189. package/dist/chunks/cli-1.0.5-mffe7dsb.mjs +2 -0
  190. package/dist/chunks/cli-1.0.5-mmdqsfz9.mjs +2 -0
  191. package/dist/chunks/cli-1.0.5-mnqb7gd5.mjs +2 -0
  192. package/dist/chunks/cli-1.0.5-mq33s4f9.mjs +2 -0
  193. package/dist/chunks/cli-1.0.5-mt5e9at7.mjs +2 -0
  194. package/dist/chunks/cli-1.0.5-n37mkdyd.mjs +2 -0
  195. package/dist/chunks/cli-1.0.5-nc61pjy8.mjs +2 -0
  196. package/dist/chunks/cli-1.0.5-nfbvan59.mjs +25 -0
  197. package/dist/chunks/cli-1.0.5-nhdp3yej.mjs +24 -0
  198. package/dist/chunks/cli-1.0.5-nmdv34f7.mjs +3 -0
  199. package/dist/chunks/cli-1.0.5-nzt3xk1m.mjs +2 -0
  200. package/dist/chunks/cli-1.0.5-pbm5zpv9.mjs +2 -0
  201. package/dist/chunks/cli-1.0.5-pj7yrrt0.mjs +39 -0
  202. package/dist/chunks/cli-1.0.5-pnn57nb8.mjs +2 -0
  203. package/dist/chunks/cli-1.0.5-q2fxy9jm.mjs +2 -0
  204. package/dist/chunks/cli-1.0.5-q8fmarwj.mjs +2 -0
  205. package/dist/chunks/cli-1.0.5-qj14h4d5.mjs +2 -0
  206. package/dist/chunks/cli-1.0.5-qmzb3pc8.mjs +2 -0
  207. package/dist/chunks/cli-1.0.5-qsbpj1m9.mjs +2 -0
  208. package/dist/chunks/cli-1.0.5-qxw23b51.mjs +2 -0
  209. package/dist/chunks/cli-1.0.5-qy05mbzq.mjs +2 -0
  210. package/dist/chunks/cli-1.0.5-rh55zzfg.mjs +3 -0
  211. package/dist/chunks/cli-1.0.5-rky5xqh5.mjs +2 -0
  212. package/dist/chunks/cli-1.0.5-rva2hgpp.mjs +2 -0
  213. package/dist/chunks/cli-1.0.5-rzs07ec3.mjs +16 -0
  214. package/dist/chunks/cli-1.0.5-serj5ewd.mjs +2 -0
  215. package/dist/chunks/cli-1.0.5-sfkkcf3p.mjs +5 -0
  216. package/dist/chunks/cli-1.0.5-sj2231f1.mjs +2 -0
  217. package/dist/chunks/cli-1.0.5-snbkdqfy.mjs +12 -0
  218. package/dist/chunks/cli-1.0.5-ssayw5dp.mjs +2 -0
  219. package/dist/chunks/cli-1.0.5-ssx4mcjx.mjs +2 -0
  220. package/dist/chunks/cli-1.0.5-stpcz7ba.mjs +2 -0
  221. package/dist/chunks/cli-1.0.5-t1pv236j.mjs +2 -0
  222. package/dist/chunks/cli-1.0.5-t25yws3j.mjs +3 -0
  223. package/dist/chunks/cli-1.0.5-t5wec35j.mjs +2 -0
  224. package/dist/chunks/cli-1.0.5-t8qp4fth.mjs +2 -0
  225. package/dist/chunks/cli-1.0.5-taz16hsd.mjs +2 -0
  226. package/dist/chunks/cli-1.0.5-tdwgmc3m.mjs +2 -0
  227. package/dist/chunks/cli-1.0.5-tek59n3h.mjs +4 -0
  228. package/dist/chunks/cli-1.0.5-tk21thw2.mjs +2 -0
  229. package/dist/chunks/cli-1.0.5-tmwsjg05.mjs +3 -0
  230. package/dist/chunks/cli-1.0.5-tw2jj3xn.mjs +4 -0
  231. package/dist/chunks/cli-1.0.5-tx7namj9.mjs +2 -0
  232. package/dist/chunks/cli-1.0.5-v5nyz2nh.mjs +7 -0
  233. package/dist/chunks/cli-1.0.5-vgd5ajrc.mjs +2 -0
  234. package/dist/chunks/cli-1.0.5-vh4hke14.mjs +2 -0
  235. package/dist/chunks/cli-1.0.5-vr3tqxgz.mjs +6 -0
  236. package/dist/chunks/cli-1.0.5-vtt9zkqz.mjs +6 -0
  237. package/dist/chunks/cli-1.0.5-waf9kawe.mjs +2 -0
  238. package/dist/chunks/cli-1.0.5-war5e8jj.mjs +58 -0
  239. package/dist/chunks/cli-1.0.5-wp9990nf.mjs +8 -0
  240. package/dist/chunks/cli-1.0.5-wpdpq47d.mjs +2 -0
  241. package/dist/chunks/cli-1.0.5-wzmh1e3n.mjs +21 -0
  242. package/dist/chunks/cli-1.0.5-x4aspz9g.mjs +2 -0
  243. package/dist/chunks/cli-1.0.5-xmnks1wk.mjs +2 -0
  244. package/dist/chunks/cli-1.0.5-xy058mns.mjs +2 -0
  245. package/dist/chunks/cli-1.0.5-xzx7ww5a.mjs +2 -0
  246. package/dist/chunks/cli-1.0.5-y4j32yy1.mjs +2 -0
  247. package/dist/chunks/cli-1.0.5-y8q3qk2n.mjs +4 -0
  248. package/dist/chunks/cli-1.0.5-y9379vp6.mjs +42 -0
  249. package/dist/chunks/cli-1.0.5-yaaee8wg.mjs +2 -0
  250. package/dist/chunks/cli-1.0.5-yfjm1eph.mjs +2 -0
  251. package/dist/chunks/cli-1.0.5-yq73wx8x.mjs +2 -0
  252. package/dist/chunks/cli-1.0.5-yt947a9v.mjs +2 -0
  253. package/dist/chunks/cli-1.0.5-yxd38q26.mjs +2 -0
  254. package/dist/chunks/cli-1.0.5-z06twq6c.mjs +2 -0
  255. package/dist/chunks/cli-1.0.5-zdrbe6rt.mjs +2 -0
  256. package/dist/chunks/cli-1.0.5-zp32zjhm.mjs +4 -0
  257. package/dist/chunks/cli-1.0.5-zs2strnh.mjs +3 -0
  258. package/dist/chunks/client-1.0.5-rd1mh2vy.mjs +1 -0
  259. package/dist/chunks/color-1.0.5-hjzv1n2a.mjs +1 -0
  260. package/dist/chunks/compact-1.0.5-81vnpv7d.mjs +3 -0
  261. package/dist/chunks/config-1.0.5-9db05sjq.mjs +1 -0
  262. package/dist/chunks/config-1.0.5-pcp10a6q.mjs +1 -0
  263. package/dist/chunks/constants-1.0.5-f4c4qr3a.mjs +1 -0
  264. package/dist/chunks/context-1.0.5-qxhhzswn.mjs +1 -0
  265. package/dist/chunks/context-noninteractive-1.0.5-w3wzde6f.mjs +1 -0
  266. package/dist/chunks/conversation-1.0.5-gwye53an.mjs +1 -0
  267. package/dist/chunks/copilotHeaders-1.0.5-qte7542r.mjs +1 -0
  268. package/dist/chunks/copy-1.0.5-n3qtexaa.mjs +9 -0
  269. package/dist/chunks/cost-1.0.5-pmt9ayyg.mjs +1 -0
  270. package/dist/chunks/createSSHSession-1.0.5-5sb3bnzy.mjs +1 -0
  271. package/dist/chunks/createSession-1.0.5-dfm8hhfc.mjs +1 -0
  272. package/dist/chunks/debug-1.0.5-xgx7qarm.mjs +1 -0
  273. package/dist/chunks/defaultActionDeps-1.0.5-e8gvpvpb.mjs +1446 -0
  274. package/dist/chunks/desktop-1.0.5-rcebn8xa.mjs +1 -0
  275. package/dist/chunks/detectRepository-1.0.5-majzdhqr.mjs +1 -0
  276. package/dist/chunks/detection-1.0.5-nwd2wdt1.mjs +1 -0
  277. package/dist/chunks/diff-1.0.5-qkbawtb9.mjs +1 -0
  278. package/dist/chunks/doctor-1.0.5-7c7dfkyd.mjs +1 -0
  279. package/dist/chunks/doctorDiagnostic-1.0.5-6dhpn9ad.mjs +1 -0
  280. package/dist/chunks/earlyInput-1.0.5-m307gdk2.mjs +1 -0
  281. package/dist/chunks/effort-1.0.5-mmb54xfb.mjs +10 -0
  282. package/dist/chunks/engine-1.0.5-21jbdq4a.mjs +1 -0
  283. package/dist/chunks/envLessBridgeConfig-1.0.5-thartncn.mjs +1 -0
  284. package/dist/chunks/envUtils-1.0.5-6h3fhr7p.mjs +1 -0
  285. package/dist/chunks/environmentSelection-1.0.5-73gtendd.mjs +1 -0
  286. package/dist/chunks/environments-1.0.5-8xw6d6j8.mjs +1 -0
  287. package/dist/chunks/errors-1.0.5-rh227te7.mjs +1 -0
  288. package/dist/chunks/exampleCommands-1.0.5-vc1bjjfa.mjs +1 -0
  289. package/dist/chunks/exit-1.0.5-8bmam0gp.mjs +1 -0
  290. package/dist/chunks/explorer-1.0.5-27hbdb4y.mjs +1 -0
  291. package/dist/chunks/export-1.0.5-qb4e6wgw.mjs +2 -0
  292. package/dist/chunks/extra-usage-1.0.5-qf4ys9xa.mjs +1 -0
  293. package/dist/chunks/extra-usage-noninteractive-1.0.5-01h4dw8s.mjs +1 -0
  294. package/dist/chunks/fast-1.0.5-z6da3emr.mjs +1 -0
  295. package/dist/chunks/feedback-1.0.5-8h41wppb.mjs +14 -0
  296. package/dist/chunks/firstPartyEventLogger-1.0.5-ejz7gbmd.mjs +1 -0
  297. package/dist/chunks/git-1.0.5-gd77z9dj.mjs +1 -0
  298. package/dist/chunks/githubModelsCredentials-1.0.5-pycfj4ra.mjs +1 -0
  299. package/dist/chunks/goal-1.0.5-597qt6ck.mjs +4 -0
  300. package/dist/chunks/grove-1.0.5-dmprx7yf.mjs +1 -0
  301. package/dist/chunks/growthbook-1.0.5-jykx4r6s.mjs +1 -0
  302. package/dist/chunks/headless-1.0.5-sp1ag189.mjs +2 -0
  303. package/dist/chunks/heapdump-1.0.5-ppawz5xc.mjs +6 -0
  304. package/dist/chunks/help-1.0.5-ssa4dsqb.mjs +1 -0
  305. package/dist/chunks/hookChains-1.0.5-fanx5gyv.mjs +3 -0
  306. package/dist/chunks/hooks-1.0.5-nesxgy40.mjs +79 -0
  307. package/dist/chunks/hooks-1.0.5-xxmgpdqs.mjs +1 -0
  308. package/dist/chunks/ide-1.0.5-t8pjrph1.mjs +3 -0
  309. package/dist/chunks/image-processor-napi-1.0.5-vj7jxp0t.mjs +1 -0
  310. package/dist/chunks/inboundAttachments-1.0.5-mj36hm3y.mjs +1 -0
  311. package/dist/chunks/index-1.0.5-0s2793w0.mjs +1 -0
  312. package/dist/chunks/index-1.0.5-17ma05he.mjs +9 -0
  313. package/dist/chunks/index-1.0.5-2qwz1g69.mjs +1 -0
  314. package/dist/chunks/index-1.0.5-6c1zzb3s.mjs +2 -0
  315. package/dist/chunks/index-1.0.5-6cyrja0k.mjs +17 -0
  316. package/dist/chunks/index-1.0.5-a1mdxka4.mjs +1 -0
  317. package/dist/chunks/index-1.0.5-b4yxa4hz.mjs +1 -0
  318. package/dist/chunks/index-1.0.5-bcjvf75y.mjs +5 -0
  319. package/dist/chunks/index-1.0.5-bkbqdz2d.mjs +1 -0
  320. package/dist/chunks/index-1.0.5-fv7vmb9s.mjs +1 -0
  321. package/dist/chunks/index-1.0.5-fzevsz2p.mjs +1 -0
  322. package/dist/chunks/index-1.0.5-jyat0nmw.mjs +30 -0
  323. package/dist/chunks/index-1.0.5-k8ytwfn6.mjs +1 -0
  324. package/dist/chunks/index-1.0.5-m2qg60zx.mjs +9 -0
  325. package/dist/chunks/index-1.0.5-mb1e2tw0.mjs +1 -0
  326. package/dist/chunks/index-1.0.5-pr0vcv57.mjs +1 -0
  327. package/dist/chunks/index-1.0.5-q15hb5x2.mjs +1 -0
  328. package/dist/chunks/index-1.0.5-v6svrtrp.mjs +2 -0
  329. package/dist/chunks/index-1.0.5-wqb3fxw6.mjs +1 -0
  330. package/dist/chunks/index-1.0.5-wr2ed66w.mjs +1 -0
  331. package/dist/chunks/index-1.0.5-xv2c1a8h.mjs +1 -0
  332. package/dist/chunks/index-1.0.5-ybth5k4d.mjs +1 -0
  333. package/dist/chunks/index-1.0.5-zq60qv39.mjs +1 -0
  334. package/dist/chunks/init-1.0.5-rw3dzwk6.mjs +1 -0
  335. package/dist/chunks/initReplBridge-1.0.5-2p0aksez.mjs +1 -0
  336. package/dist/chunks/ink-1.0.5-w7yrpcsr.mjs +1 -0
  337. package/dist/chunks/insights-1.0.5-tqe68js7.mjs +870 -0
  338. package/dist/chunks/install-1.0.5-kmfenneg.mjs +1 -0
  339. package/dist/chunks/install-github-app-1.0.5-5pn3prw1.mjs +149 -0
  340. package/dist/chunks/install-slack-app-1.0.5-t743pzep.mjs +1 -0
  341. package/dist/chunks/instrumentation-1.0.5-gefw0bqs.mjs +1 -0
  342. package/dist/chunks/interactiveHelpers-1.0.5-t5jn3wtn.mjs +1 -0
  343. package/dist/chunks/keybindings-1.0.5-ve8shte3.mjs +2 -0
  344. package/dist/chunks/knowledge-1.0.5-v0ccyfkh.mjs +2 -0
  345. package/dist/chunks/latestVersionCache-1.0.5-dpky86fy.mjs +1 -0
  346. package/dist/chunks/loadAgentsDir-1.0.5-e49hf38y.mjs +1 -0
  347. package/dist/chunks/loadPluginHooks-1.0.5-47cekn3c.mjs +1 -0
  348. package/dist/chunks/loadPluginHooks-1.0.5-myfzepet.mjs +1 -0
  349. package/dist/chunks/log-1.0.5-7rz3pg37.mjs +1 -0
  350. package/dist/chunks/main-1.0.5-z3ezh5sk.mjs +1 -0
  351. package/dist/chunks/managedEnv-1.0.5-ne8x2gq4.mjs +1 -0
  352. package/dist/chunks/mcp-1.0.5-42xrpvz4.mjs +1 -0
  353. package/dist/chunks/mcp-1.0.5-79tkap1k.mjs +17 -0
  354. package/dist/chunks/mcp-1.0.5-q5ah99mh.mjs +4 -0
  355. package/dist/chunks/mcpb-1.0.5-kkp095ks.mjs +1 -0
  356. package/dist/chunks/memory-1.0.5-hkrp659t.mjs +3 -0
  357. package/dist/chunks/model-1.0.5-9e6c5g1q.mjs +1 -0
  358. package/dist/chunks/model-1.0.5-wd9fxg66.mjs +2 -0
  359. package/dist/chunks/node-1.0.5-3veffyfp.mjs +12 -0
  360. package/dist/chunks/oauth-1.0.5-9fx2fya6.mjs +1 -0
  361. package/dist/chunks/openaiShim-1.0.5-08gya990.mjs +14 -0
  362. package/dist/chunks/output-style-1.0.5-9xkmhcdq.mjs +1 -0
  363. package/dist/chunks/package-ZZWOLTXM-1.0.5-gxfc7sy3.mjs +1 -0
  364. package/dist/chunks/parseConnectUrl-1.0.5-krsghz4a.mjs +1 -0
  365. package/dist/chunks/parser-1.0.5-7t9d9wzc.mjs +1 -0
  366. package/dist/chunks/passes-1.0.5-rwpd568s.mjs +1 -0
  367. package/dist/chunks/permissions-1.0.5-fshr608a.mjs +1 -0
  368. package/dist/chunks/permissions-1.0.5-k96fm9x7.mjs +3 -0
  369. package/dist/chunks/plan-1.0.5-r5w68ara.mjs +1 -0
  370. package/dist/chunks/plist-1.0.5-24f4gwnf.mjs +1 -0
  371. package/dist/chunks/plugin-1.0.5-y6pp7kx3.mjs +29 -0
  372. package/dist/chunks/pluginStartupCheck-1.0.5-8nh5hbt9.mjs +1 -0
  373. package/dist/chunks/plugins-1.0.5-v258fznm.mjs +9 -0
  374. package/dist/chunks/preActionHook-1.0.5-v8k5485v.mjs +2 -0
  375. package/dist/chunks/print-1.0.5-f2xwn7zm.mjs +57 -0
  376. package/dist/chunks/privacy-settings-1.0.5-pt9ca6xm.mjs +1 -0
  377. package/dist/chunks/process-1.0.5-w2r6hpk2.mjs +1 -0
  378. package/dist/chunks/processBashCommand-1.0.5-p9zzmpbz.mjs +1 -0
  379. package/dist/chunks/processSlashCommand-1.0.5-zq638t0f.mjs +9 -0
  380. package/dist/chunks/prompt-1.0.5-022q69g7.mjs +1 -0
  381. package/dist/chunks/prompt-1.0.5-w6bzght3.mjs +1 -0
  382. package/dist/chunks/prompts-1.0.5-2jd8x52w.mjs +1 -0
  383. package/dist/chunks/protocolHandler-1.0.5-9dj5ttvz.mjs +13 -0
  384. package/dist/chunks/provider-1.0.5-asz70246.mjs +2 -0
  385. package/dist/chunks/providerProfiles-1.0.5-fmjm6rmc.mjs +1 -0
  386. package/dist/chunks/providerValidation-1.0.5-vjf0w50r.mjs +6 -0
  387. package/dist/chunks/rate-limit-options-1.0.5-anb80s86.mjs +1 -0
  388. package/dist/chunks/registerSubcommands-1.0.5-np4qg7pc.mjs +34 -0
  389. package/dist/chunks/registry-1.0.5-a71bk5mm.mjs +1 -0
  390. package/dist/chunks/release-notes-1.0.5-zja63x3b.mjs +5 -0
  391. package/dist/chunks/reload-plugins-1.0.5-hy5tmbm4.mjs +2 -0
  392. package/dist/chunks/remote-env-1.0.5-v6v39266.mjs +1 -0
  393. package/dist/chunks/remoteBridgeCore-1.0.5-v63qwqmd.mjs +1 -0
  394. package/dist/chunks/remoteSession-1.0.5-vkfszpj3.mjs +1 -0
  395. package/dist/chunks/rename-1.0.5-25sfvv9d.mjs +1 -0
  396. package/dist/chunks/replBridgeHandle-1.0.5-ygv6rga6.mjs +1 -0
  397. package/dist/chunks/replLauncher-1.0.5-dg2xcz4s.mjs +1 -0
  398. package/dist/chunks/resume-1.0.5-d2qc9f4c.mjs +2 -0
  399. package/dist/chunks/rewind-1.0.5-0217cv78.mjs +1 -0
  400. package/dist/chunks/rootOptions-1.0.5-g7ks8eqz.mjs +1 -0
  401. package/dist/chunks/sandbox-adapter-1.0.5-ccxp12rr.mjs +1 -0
  402. package/dist/chunks/sandbox-toggle-1.0.5-nwdw5616.mjs +1 -0
  403. package/dist/chunks/session-1.0.5-q5797h37.mjs +2 -0
  404. package/dist/chunks/sessionDiscovery-1.0.5-0xp7x0xt.mjs +1 -0
  405. package/dist/chunks/sessionFileAccessHooks-1.0.5-h3c95s74.mjs +1 -0
  406. package/dist/chunks/sessionStorage-1.0.5-hdjx72aj.mjs +1 -0
  407. package/dist/chunks/settings-1.0.5-s1p6gvx3.mjs +1 -0
  408. package/dist/chunks/setup-1.0.5-wgvjraw0.mjs +5 -0
  409. package/dist/chunks/sinks-1.0.5-a1w5a6t0.mjs +1 -0
  410. package/dist/chunks/skills-1.0.5-mpx8e6j0.mjs +1 -0
  411. package/dist/chunks/startupProfiler-1.0.5-gk3c4m36.mjs +1 -0
  412. package/dist/chunks/startupUpdateCheck-1.0.5-7h9whg0v.mjs +1 -0
  413. package/dist/chunks/state-1.0.5-nxqyqbt7.mjs +1 -0
  414. package/dist/chunks/stats-1.0.5-ybfs5e01.mjs +6 -0
  415. package/dist/chunks/status-1.0.5-4b21a8e7.mjs +1 -0
  416. package/dist/chunks/stickers-1.0.5-6zfbgzqv.mjs +1 -0
  417. package/dist/chunks/subprocessEnv-1.0.5-9s2b5kcv.mjs +1 -0
  418. package/dist/chunks/tasks-1.0.5-w4yd35x4.mjs +1 -0
  419. package/dist/chunks/teamHelpers-1.0.5-nzbm1gz9.mjs +1 -0
  420. package/dist/chunks/teammateModeSnapshot-1.0.5-x3mxd173.mjs +1 -0
  421. package/dist/chunks/teleport-1.0.5-7qdheca5.mjs +1 -0
  422. package/dist/chunks/terminalSetup-1.0.5-djj61vc3.mjs +1 -0
  423. package/dist/chunks/theme-1.0.5-e6df6c8c.mjs +1 -0
  424. package/dist/chunks/thinkback-1.0.5-9kdkqxre.mjs +1 -0
  425. package/dist/chunks/thinkback-play-1.0.5-4e9s86bt.mjs +1 -0
  426. package/dist/chunks/toolPool-1.0.5-7jpezecz.mjs +1 -0
  427. package/dist/chunks/toolSearch-1.0.5-7sy8x8xa.mjs +1 -0
  428. package/dist/chunks/tools-1.0.5-6e5kvcns.mjs +1 -0
  429. package/dist/chunks/trustedDevice-1.0.5-mwdq4ek8.mjs +1 -0
  430. package/dist/chunks/turndown.cjs-1.0.5-b9pa0x3a.mjs +69 -0
  431. package/dist/chunks/types-1.0.5-4bz2q6qd.mjs +1 -0
  432. package/dist/chunks/ultrareviewCommand-1.0.5-1qqxxn0s.mjs +4 -0
  433. package/dist/chunks/update-1.0.5-ayakya21.mjs +88 -0
  434. package/dist/chunks/upgrade-1.0.5-hykkyrmf.mjs +1 -0
  435. package/dist/chunks/upload-1.0.5-3385nhw4.mjs +7 -0
  436. package/dist/chunks/upstreamproxy-1.0.5-mhns1vq6.mjs +14 -0
  437. package/dist/chunks/url-handler-napi-1.0.5-2r7rh6c4.mjs +1 -0
  438. package/dist/chunks/usage-1.0.5-vdj6w59v.mjs +1 -0
  439. package/dist/chunks/util-1.0.5-ygactfqm.mjs +1 -0
  440. package/dist/chunks/utils-1.0.5-wnkavpty.mjs +1 -0
  441. package/dist/chunks/vim-1.0.5-410rh6vr.mjs +1 -0
  442. package/dist/chunks/watcher-1.0.5-99dvd0dj.mjs +1 -0
  443. package/dist/chunks/wiki-1.0.5-3mvgvxc5.mjs +132 -0
  444. package/dist/chunks/workflows-1.0.5-zcs9n7bt.mjs +1 -0
  445. package/dist/chunks/worktree-1.0.5-1v2pb5xs.mjs +1 -0
  446. package/dist/chunks/worktreeModeEnabled-1.0.5-s5fw9pgq.mjs +1 -0
  447. package/dist/chunks/wrapper-1.0.5-k624rfy1.mjs +7 -0
  448. package/dist/cli.mjs +2 -2
  449. package/package.json +9 -9
  450. package/dist/chunks/AgentTool-1.0.3-7mvf1vaw.mjs +0 -1
  451. package/dist/chunks/App-1.0.3-rd1a3qee.mjs +0 -1
  452. package/dist/chunks/ApproveApiKey-1.0.3-1kr4x8qz.mjs +0 -1
  453. package/dist/chunks/AssistantSessionChooser-1.0.3-6cmgq2a9.mjs +0 -1
  454. package/dist/chunks/AutoModeOptInDialog-1.0.3-jezz3mfx.mjs +0 -1
  455. package/dist/chunks/BypassPermissionsModeDialog-1.0.3-y7vw80jm.mjs +0 -1
  456. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.3-rs8yq1c5.mjs +0 -1
  457. package/dist/chunks/ConsoleOAuthFlow-1.0.3-55e4vff7.mjs +0 -1
  458. package/dist/chunks/DiffDialog-1.0.3-2b6eqw5g.mjs +0 -7
  459. package/dist/chunks/Doctor-1.0.3-6vjhs9b3.mjs +0 -1
  460. package/dist/chunks/ExplorerDialog-1.0.3-me5rpqw8.mjs +0 -6
  461. package/dist/chunks/Grove-1.0.3-axq3s1g5.mjs +0 -1
  462. package/dist/chunks/ITermBackend-1.0.3-6w5z9f9y.mjs +0 -1
  463. package/dist/chunks/InvalidConfigDialog-1.0.3-q3qy4tjv.mjs +0 -1
  464. package/dist/chunks/InvalidSettingsDialog-1.0.3-7bnq71sp.mjs +0 -1
  465. package/dist/chunks/MigrationDialog-1.0.3-xjk5h2s1.mjs +0 -1
  466. package/dist/chunks/Onboarding-1.0.3-93mejgdx.mjs +0 -1
  467. package/dist/chunks/ProviderManager-1.0.3-gstyvce6.mjs +0 -1
  468. package/dist/chunks/REPL-1.0.3-h7gm3vzm.mjs +0 -1
  469. package/dist/chunks/ResumeConversation-1.0.3-q1sb18zb.mjs +0 -1
  470. package/dist/chunks/SnapshotUpdateDialog-1.0.3-ng8qnwzb.mjs +0 -1
  471. package/dist/chunks/TeleportProgress-1.0.3-5p8450wg.mjs +0 -1
  472. package/dist/chunks/TeleportRepoMismatchDialog-1.0.3-emssa846.mjs +0 -1
  473. package/dist/chunks/TeleportResumeWrapper-1.0.3-pdnj8z74.mjs +0 -1
  474. package/dist/chunks/TmuxBackend-1.0.3-qw12jfae.mjs +0 -9
  475. package/dist/chunks/ToolSearchTool-1.0.3-p2fdhkr4.mjs +0 -1
  476. package/dist/chunks/TrustDialog-1.0.3-w1yd56gg.mjs +0 -1
  477. package/dist/chunks/activeProvider-1.0.3-hcr43mtn.mjs +0 -1
  478. package/dist/chunks/add-dir-1.0.3-cfd5fdz5.mjs +0 -1
  479. package/dist/chunks/agentTypes-1.0.3-rhr2n817.mjs +0 -1
  480. package/dist/chunks/agents-1.0.3-00vpd5nr.mjs +0 -110
  481. package/dist/chunks/agents-1.0.3-0qny02r7.mjs +0 -3
  482. package/dist/chunks/api-1.0.3-j9q39zt3.mjs +0 -1
  483. package/dist/chunks/asciicast-1.0.3-4rdpqkbh.mjs +0 -1
  484. package/dist/chunks/assistant-1.0.3-8swg0237.mjs +0 -1
  485. package/dist/chunks/auth-1.0.3-4d3vbcf3.mjs +0 -1
  486. package/dist/chunks/auth-1.0.3-se4vwfcj.mjs +0 -1
  487. package/dist/chunks/autoMode-1.0.3-32zd86wp.mjs +0 -48
  488. package/dist/chunks/autoUpdater-1.0.3-nda09wdz.mjs +0 -1
  489. package/dist/chunks/backgroundHousekeeping-1.0.3-rwrt9v08.mjs +0 -1
  490. package/dist/chunks/branch-1.0.3-tzbvkn13.mjs +0 -4
  491. package/dist/chunks/bridge-1.0.3-fsq0q4x5.mjs +0 -2
  492. package/dist/chunks/bridgeConfig-1.0.3-16bw4j5m.mjs +0 -1
  493. package/dist/chunks/bridgeEnabled-1.0.3-2md5ck83.mjs +0 -1
  494. package/dist/chunks/bridgeMain-1.0.3-betf2hdx.mjs +0 -88
  495. package/dist/chunks/bridgePointer-1.0.3-mtfty38e.mjs +0 -1
  496. package/dist/chunks/btw-1.0.3-7vqng7en.mjs +0 -1
  497. package/dist/chunks/buddy-1.0.3-k48yw852.mjs +0 -3
  498. package/dist/chunks/cacache-1.0.3-y014wcx7.mjs +0 -1
  499. package/dist/chunks/cache-probe-1.0.3-vw577099.mjs +0 -21
  500. package/dist/chunks/cacheStats-1.0.3-2dj0n9cy.mjs +0 -4
  501. package/dist/chunks/caches-1.0.3-syrefgh1.mjs +0 -1
  502. package/dist/chunks/claudeDesktop-1.0.3-1k9dgm8c.mjs +0 -1
  503. package/dist/chunks/claudemd-1.0.3-902h9g16.mjs +0 -1
  504. package/dist/chunks/clear-1.0.3-yfnxvynd.mjs +0 -1
  505. package/dist/chunks/clearTerminal-1.0.3-kxq1nevx.mjs +0 -1
  506. package/dist/chunks/cli-1.0.3-02ax2rf7.mjs +0 -2
  507. package/dist/chunks/cli-1.0.3-087x46pf.mjs +0 -2
  508. package/dist/chunks/cli-1.0.3-0e99ksxk.mjs +0 -2
  509. package/dist/chunks/cli-1.0.3-0tgbymg8.mjs +0 -2
  510. package/dist/chunks/cli-1.0.3-0x26wvgj.mjs +0 -1
  511. package/dist/chunks/cli-1.0.3-0x2am4t7.mjs +0 -2
  512. package/dist/chunks/cli-1.0.3-10cqqc79.mjs +0 -2
  513. package/dist/chunks/cli-1.0.3-13m8868e.mjs +0 -2
  514. package/dist/chunks/cli-1.0.3-13wf4a0v.mjs +0 -2
  515. package/dist/chunks/cli-1.0.3-1462khnb.mjs +0 -3
  516. package/dist/chunks/cli-1.0.3-17cer107.mjs +0 -2
  517. package/dist/chunks/cli-1.0.3-19d1ckqm.mjs +0 -4
  518. package/dist/chunks/cli-1.0.3-1f00zm8y.mjs +0 -2
  519. package/dist/chunks/cli-1.0.3-1grrrgvh.mjs +0 -4
  520. package/dist/chunks/cli-1.0.3-1h08z2rm.mjs +0 -2
  521. package/dist/chunks/cli-1.0.3-1m413b59.mjs +0 -2
  522. package/dist/chunks/cli-1.0.3-1psnx21q.mjs +0 -2
  523. package/dist/chunks/cli-1.0.3-1v65dc93.mjs +0 -2
  524. package/dist/chunks/cli-1.0.3-1w2x2m43.mjs +0 -2
  525. package/dist/chunks/cli-1.0.3-24y7s5hp.mjs +0 -2
  526. package/dist/chunks/cli-1.0.3-2aw6f2z9.mjs +0 -2
  527. package/dist/chunks/cli-1.0.3-2h7k9bdx.mjs +0 -2
  528. package/dist/chunks/cli-1.0.3-2wzvc8te.mjs +0 -5471
  529. package/dist/chunks/cli-1.0.3-2zpv5t2p.mjs +0 -2
  530. package/dist/chunks/cli-1.0.3-3gkwhy62.mjs +0 -2
  531. package/dist/chunks/cli-1.0.3-3gtteknj.mjs +0 -2
  532. package/dist/chunks/cli-1.0.3-3j050hfw.mjs +0 -3
  533. package/dist/chunks/cli-1.0.3-3qfh5ykd.mjs +0 -2
  534. package/dist/chunks/cli-1.0.3-3wcccg4j.mjs +0 -2
  535. package/dist/chunks/cli-1.0.3-3wpp9k2f.mjs +0 -3
  536. package/dist/chunks/cli-1.0.3-3y945bqk.mjs +0 -2
  537. package/dist/chunks/cli-1.0.3-4eym93f1.mjs +0 -2
  538. package/dist/chunks/cli-1.0.3-4m0kzrq4.mjs +0 -199
  539. package/dist/chunks/cli-1.0.3-4qaa3xp4.mjs +0 -2
  540. package/dist/chunks/cli-1.0.3-4s8hd1qa.mjs +0 -12
  541. package/dist/chunks/cli-1.0.3-4x2bjq7b.mjs +0 -2
  542. package/dist/chunks/cli-1.0.3-5hpdm52h.mjs +0 -4
  543. package/dist/chunks/cli-1.0.3-5j5mv1qy.mjs +0 -2
  544. package/dist/chunks/cli-1.0.3-5kneybr4.mjs +0 -2
  545. package/dist/chunks/cli-1.0.3-5psnr7wf.mjs +0 -16
  546. package/dist/chunks/cli-1.0.3-5rg4rmk2.mjs +0 -6
  547. package/dist/chunks/cli-1.0.3-5w74xeth.mjs +0 -3
  548. package/dist/chunks/cli-1.0.3-607t5t97.mjs +0 -2
  549. package/dist/chunks/cli-1.0.3-627y4tma.mjs +0 -2
  550. package/dist/chunks/cli-1.0.3-63tn3q21.mjs +0 -2
  551. package/dist/chunks/cli-1.0.3-63xjee3t.mjs +0 -3
  552. package/dist/chunks/cli-1.0.3-6sgbgf1x.mjs +0 -4
  553. package/dist/chunks/cli-1.0.3-6x84yw4b.mjs +0 -21
  554. package/dist/chunks/cli-1.0.3-7ecz7qjw.mjs +0 -2
  555. package/dist/chunks/cli-1.0.3-7m0nfffq.mjs +0 -2
  556. package/dist/chunks/cli-1.0.3-7m2f8bwk.mjs +0 -2
  557. package/dist/chunks/cli-1.0.3-7p7gfek3.mjs +0 -3
  558. package/dist/chunks/cli-1.0.3-82ky54w7.mjs +0 -15
  559. package/dist/chunks/cli-1.0.3-87me6r9c.mjs +0 -2
  560. package/dist/chunks/cli-1.0.3-8a694ts0.mjs +0 -6
  561. package/dist/chunks/cli-1.0.3-8bz64j3f.mjs +0 -2
  562. package/dist/chunks/cli-1.0.3-8hw15ers.mjs +0 -2
  563. package/dist/chunks/cli-1.0.3-8rjp7dng.mjs +0 -2
  564. package/dist/chunks/cli-1.0.3-960aw98y.mjs +0 -2
  565. package/dist/chunks/cli-1.0.3-9xcgbd0g.mjs +0 -2
  566. package/dist/chunks/cli-1.0.3-9z1asbvz.mjs +0 -3
  567. package/dist/chunks/cli-1.0.3-a3rf1bbw.mjs +0 -2
  568. package/dist/chunks/cli-1.0.3-a630qcdb.mjs +0 -2
  569. package/dist/chunks/cli-1.0.3-ancybhm3.mjs +0 -2
  570. package/dist/chunks/cli-1.0.3-apbdyngz.mjs +0 -2
  571. package/dist/chunks/cli-1.0.3-ar488ss1.mjs +0 -2
  572. package/dist/chunks/cli-1.0.3-ar8bq7h9.mjs +0 -4
  573. package/dist/chunks/cli-1.0.3-ax2geagm.mjs +0 -18
  574. package/dist/chunks/cli-1.0.3-axzmfbvp.mjs +0 -2
  575. package/dist/chunks/cli-1.0.3-ay89chqh.mjs +0 -2
  576. package/dist/chunks/cli-1.0.3-b14b158b.mjs +0 -2
  577. package/dist/chunks/cli-1.0.3-b6f61s9v.mjs +0 -2
  578. package/dist/chunks/cli-1.0.3-b72086ew.mjs +0 -2
  579. package/dist/chunks/cli-1.0.3-b7n67qhm.mjs +0 -24
  580. package/dist/chunks/cli-1.0.3-bct9r8s9.mjs +0 -25
  581. package/dist/chunks/cli-1.0.3-bg3frggm.mjs +0 -5
  582. package/dist/chunks/cli-1.0.3-bkdmbm3w.mjs +0 -2
  583. package/dist/chunks/cli-1.0.3-bnd3wvym.mjs +0 -2
  584. package/dist/chunks/cli-1.0.3-bqdxh2fe.mjs +0 -2
  585. package/dist/chunks/cli-1.0.3-bte3v6bp.mjs +0 -3
  586. package/dist/chunks/cli-1.0.3-c38hr99q.mjs +0 -2
  587. package/dist/chunks/cli-1.0.3-c4trbm3y.mjs +0 -2
  588. package/dist/chunks/cli-1.0.3-c570dde7.mjs +0 -24
  589. package/dist/chunks/cli-1.0.3-ca8qx0d6.mjs +0 -2
  590. package/dist/chunks/cli-1.0.3-cnb1yved.mjs +0 -2
  591. package/dist/chunks/cli-1.0.3-cs5pqncv.mjs +0 -2
  592. package/dist/chunks/cli-1.0.3-cty1pfv3.mjs +0 -2
  593. package/dist/chunks/cli-1.0.3-d7597p9k.mjs +0 -133
  594. package/dist/chunks/cli-1.0.3-d8zhnzt9.mjs +0 -2
  595. package/dist/chunks/cli-1.0.3-djd4asp9.mjs +0 -25
  596. package/dist/chunks/cli-1.0.3-dyh4d1gw.mjs +0 -2
  597. package/dist/chunks/cli-1.0.3-e0s97hx3.mjs +0 -20
  598. package/dist/chunks/cli-1.0.3-e1qcabjm.mjs +0 -2
  599. package/dist/chunks/cli-1.0.3-e26nnnjx.mjs +0 -2
  600. package/dist/chunks/cli-1.0.3-e315jy0y.mjs +0 -2
  601. package/dist/chunks/cli-1.0.3-ejb4xe2y.mjs +0 -2
  602. package/dist/chunks/cli-1.0.3-em2a0n4h.mjs +0 -2
  603. package/dist/chunks/cli-1.0.3-emmwm5h6.mjs +0 -2
  604. package/dist/chunks/cli-1.0.3-epk9wqmc.mjs +0 -2
  605. package/dist/chunks/cli-1.0.3-eqxge5cb.mjs +0 -45
  606. package/dist/chunks/cli-1.0.3-eta6q17m.mjs +0 -2
  607. package/dist/chunks/cli-1.0.3-exj8yag8.mjs +0 -2
  608. package/dist/chunks/cli-1.0.3-f2qcezq1.mjs +0 -2
  609. package/dist/chunks/cli-1.0.3-f8ekk6mr.mjs +0 -2
  610. package/dist/chunks/cli-1.0.3-fdd1g4sk.mjs +0 -2
  611. package/dist/chunks/cli-1.0.3-fdye5tvt.mjs +0 -2
  612. package/dist/chunks/cli-1.0.3-g5w729g4.mjs +0 -2
  613. package/dist/chunks/cli-1.0.3-gbhfrtsf.mjs +0 -2
  614. package/dist/chunks/cli-1.0.3-gjvc6q8v.mjs +0 -2
  615. package/dist/chunks/cli-1.0.3-gpjv1akn.mjs +0 -12
  616. package/dist/chunks/cli-1.0.3-gthgjdv8.mjs +0 -2
  617. package/dist/chunks/cli-1.0.3-gwdntjh3.mjs +0 -2
  618. package/dist/chunks/cli-1.0.3-h2pjt4e4.mjs +0 -4
  619. package/dist/chunks/cli-1.0.3-hg04k516.mjs +0 -3
  620. package/dist/chunks/cli-1.0.3-hgghr2w8.mjs +0 -2
  621. package/dist/chunks/cli-1.0.3-htx4273d.mjs +0 -39
  622. package/dist/chunks/cli-1.0.3-hyc32vmv.mjs +0 -2
  623. package/dist/chunks/cli-1.0.3-hz5a6e6w.mjs +0 -2
  624. package/dist/chunks/cli-1.0.3-j62yk6x8.mjs +0 -2
  625. package/dist/chunks/cli-1.0.3-j72ztden.mjs +0 -2
  626. package/dist/chunks/cli-1.0.3-j99s8jgs.mjs +0 -2
  627. package/dist/chunks/cli-1.0.3-jmvq43wb.mjs +0 -6
  628. package/dist/chunks/cli-1.0.3-jr2ya39g.mjs +0 -2
  629. package/dist/chunks/cli-1.0.3-k99msp02.mjs +0 -17
  630. package/dist/chunks/cli-1.0.3-kesrsh8z.mjs +0 -59
  631. package/dist/chunks/cli-1.0.3-khw95075.mjs +0 -2
  632. package/dist/chunks/cli-1.0.3-km8m7h3t.mjs +0 -2
  633. package/dist/chunks/cli-1.0.3-kwe8av2x.mjs +0 -2
  634. package/dist/chunks/cli-1.0.3-m45p13pd.mjs +0 -2
  635. package/dist/chunks/cli-1.0.3-mkse8qp1.mjs +0 -3
  636. package/dist/chunks/cli-1.0.3-mv5a0w14.mjs +0 -12
  637. package/dist/chunks/cli-1.0.3-n0jxa1cv.mjs +0 -4
  638. package/dist/chunks/cli-1.0.3-n28tqrv0.mjs +0 -2
  639. package/dist/chunks/cli-1.0.3-n2h9jvgm.mjs +0 -2
  640. package/dist/chunks/cli-1.0.3-n99q1npz.mjs +0 -2
  641. package/dist/chunks/cli-1.0.3-n9tzv3mz.mjs +0 -2
  642. package/dist/chunks/cli-1.0.3-nama3pwj.mjs +0 -7
  643. package/dist/chunks/cli-1.0.3-nm63mrtv.mjs +0 -2
  644. package/dist/chunks/cli-1.0.3-nr5rgce9.mjs +0 -2
  645. package/dist/chunks/cli-1.0.3-ntywpqre.mjs +0 -2
  646. package/dist/chunks/cli-1.0.3-nw89kd8a.mjs +0 -2
  647. package/dist/chunks/cli-1.0.3-p7nbs20a.mjs +0 -24
  648. package/dist/chunks/cli-1.0.3-pc93arct.mjs +0 -10
  649. package/dist/chunks/cli-1.0.3-pf8dk52a.mjs +0 -67
  650. package/dist/chunks/cli-1.0.3-phh30dq0.mjs +0 -4
  651. package/dist/chunks/cli-1.0.3-pxw9n4f7.mjs +0 -5
  652. package/dist/chunks/cli-1.0.3-q4vc2dm9.mjs +0 -3
  653. package/dist/chunks/cli-1.0.3-q6m5azm3.mjs +0 -2
  654. package/dist/chunks/cli-1.0.3-q9hw6148.mjs +0 -2
  655. package/dist/chunks/cli-1.0.3-qd5c6ph5.mjs +0 -34
  656. package/dist/chunks/cli-1.0.3-qkkqjcsh.mjs +0 -2
  657. package/dist/chunks/cli-1.0.3-r274tqxg.mjs +0 -2
  658. package/dist/chunks/cli-1.0.3-r2amtv3x.mjs +0 -3
  659. package/dist/chunks/cli-1.0.3-ra9brq66.mjs +0 -2
  660. package/dist/chunks/cli-1.0.3-rapppvd0.mjs +0 -2
  661. package/dist/chunks/cli-1.0.3-rc9yjwv4.mjs +0 -15
  662. package/dist/chunks/cli-1.0.3-rfvvw9yn.mjs +0 -58
  663. package/dist/chunks/cli-1.0.3-rhaqdnqw.mjs +0 -2
  664. package/dist/chunks/cli-1.0.3-rpry44n3.mjs +0 -2
  665. package/dist/chunks/cli-1.0.3-rxtfhp4n.mjs +0 -2
  666. package/dist/chunks/cli-1.0.3-ryfy7hya.mjs +0 -2
  667. package/dist/chunks/cli-1.0.3-s6n9xdgm.mjs +0 -5
  668. package/dist/chunks/cli-1.0.3-sb9pchh2.mjs +0 -6
  669. package/dist/chunks/cli-1.0.3-sz2d376e.mjs +0 -2
  670. package/dist/chunks/cli-1.0.3-t52dqqw2.mjs +0 -2
  671. package/dist/chunks/cli-1.0.3-t7mfsbh1.mjs +0 -133
  672. package/dist/chunks/cli-1.0.3-t7p3714v.mjs +0 -2
  673. package/dist/chunks/cli-1.0.3-tjewxa84.mjs +0 -2
  674. package/dist/chunks/cli-1.0.3-v0jtfqtw.mjs +0 -9
  675. package/dist/chunks/cli-1.0.3-v658mswv.mjs +0 -12
  676. package/dist/chunks/cli-1.0.3-vnwqmpyv.mjs +0 -2
  677. package/dist/chunks/cli-1.0.3-vqm63ckk.mjs +0 -2
  678. package/dist/chunks/cli-1.0.3-vr8tazcf.mjs +0 -2
  679. package/dist/chunks/cli-1.0.3-vw5m6hn3.mjs +0 -3
  680. package/dist/chunks/cli-1.0.3-vzm5gxzn.mjs +0 -2
  681. package/dist/chunks/cli-1.0.3-w3a4tnk3.mjs +0 -2
  682. package/dist/chunks/cli-1.0.3-w72bc0zg.mjs +0 -2
  683. package/dist/chunks/cli-1.0.3-w9dcn8sx.mjs +0 -2
  684. package/dist/chunks/cli-1.0.3-wf8jkyyp.mjs +0 -15
  685. package/dist/chunks/cli-1.0.3-wmtj5kj7.mjs +0 -2
  686. package/dist/chunks/cli-1.0.3-wpb05eg5.mjs +0 -50
  687. package/dist/chunks/cli-1.0.3-wv4vx65k.mjs +0 -2
  688. package/dist/chunks/cli-1.0.3-x1ngfkk5.mjs +0 -42
  689. package/dist/chunks/cli-1.0.3-xarnzm58.mjs +0 -2
  690. package/dist/chunks/cli-1.0.3-xf2r8496.mjs +0 -2
  691. package/dist/chunks/cli-1.0.3-xqmjjmss.mjs +0 -4
  692. package/dist/chunks/cli-1.0.3-xsmba4r1.mjs +0 -17
  693. package/dist/chunks/cli-1.0.3-xw1fyqpe.mjs +0 -2
  694. package/dist/chunks/cli-1.0.3-y0fz9qyb.mjs +0 -4
  695. package/dist/chunks/cli-1.0.3-yb5yjqa8.mjs +0 -2
  696. package/dist/chunks/cli-1.0.3-ycvmgeh4.mjs +0 -2
  697. package/dist/chunks/cli-1.0.3-ykkvdac6.mjs +0 -2
  698. package/dist/chunks/cli-1.0.3-ynf2sj5r.mjs +0 -2
  699. package/dist/chunks/cli-1.0.3-z3c0nwg5.mjs +0 -2
  700. package/dist/chunks/cli-1.0.3-z3f4pmp1.mjs +0 -2
  701. package/dist/chunks/cli-1.0.3-zan6y0m1.mjs +0 -18
  702. package/dist/chunks/cli-1.0.3-zfe21fjj.mjs +0 -2
  703. package/dist/chunks/cli-1.0.3-znxwm9ta.mjs +0 -2
  704. package/dist/chunks/cli-1.0.3-zqp5x3gh.mjs +0 -18
  705. package/dist/chunks/cli-1.0.3-ztgxqn0g.mjs +0 -8
  706. package/dist/chunks/cli-1.0.3-zzg0y9xx.mjs +0 -2
  707. package/dist/chunks/client-1.0.3-qkqk8q23.mjs +0 -1
  708. package/dist/chunks/color-1.0.3-x0qygswm.mjs +0 -1
  709. package/dist/chunks/compact-1.0.3-kyfmj07z.mjs +0 -3
  710. package/dist/chunks/config-1.0.3-0b1mgzs5.mjs +0 -1
  711. package/dist/chunks/config-1.0.3-nmpdbdfy.mjs +0 -1
  712. package/dist/chunks/constants-1.0.3-wk9v349h.mjs +0 -1
  713. package/dist/chunks/context-1.0.3-6sarjqp3.mjs +0 -1
  714. package/dist/chunks/context-noninteractive-1.0.3-vs9yx061.mjs +0 -1
  715. package/dist/chunks/conversation-1.0.3-v4s0g3dx.mjs +0 -1
  716. package/dist/chunks/copilotHeaders-1.0.3-5vdf973f.mjs +0 -1
  717. package/dist/chunks/copy-1.0.3-575pc6gc.mjs +0 -9
  718. package/dist/chunks/cost-1.0.3-gkgmq84a.mjs +0 -1
  719. package/dist/chunks/createSSHSession-1.0.3-bsdf1x69.mjs +0 -1
  720. package/dist/chunks/createSession-1.0.3-q2t2afxn.mjs +0 -1
  721. package/dist/chunks/debug-1.0.3-q3y4bbdd.mjs +0 -1
  722. package/dist/chunks/defaultActionDeps-1.0.3-kxgwjas7.mjs +0 -1446
  723. package/dist/chunks/desktop-1.0.3-v790cfzv.mjs +0 -1
  724. package/dist/chunks/detectRepository-1.0.3-t6x6ycq0.mjs +0 -1
  725. package/dist/chunks/detection-1.0.3-3r29qbs1.mjs +0 -1
  726. package/dist/chunks/diff-1.0.3-43a1txqm.mjs +0 -1
  727. package/dist/chunks/doctor-1.0.3-ywj8c1z9.mjs +0 -1
  728. package/dist/chunks/doctorDiagnostic-1.0.3-c3f3hz3m.mjs +0 -1
  729. package/dist/chunks/earlyInput-1.0.3-0qxwnkvm.mjs +0 -1
  730. package/dist/chunks/effort-1.0.3-28cxc122.mjs +0 -10
  731. package/dist/chunks/engine-1.0.3-y0pybv8z.mjs +0 -1
  732. package/dist/chunks/envLessBridgeConfig-1.0.3-gv54g11x.mjs +0 -1
  733. package/dist/chunks/envUtils-1.0.3-cjfgncek.mjs +0 -1
  734. package/dist/chunks/environmentSelection-1.0.3-c2qe9j1s.mjs +0 -1
  735. package/dist/chunks/environments-1.0.3-cvrm8nvn.mjs +0 -1
  736. package/dist/chunks/errors-1.0.3-jzcpdeb5.mjs +0 -1
  737. package/dist/chunks/exampleCommands-1.0.3-kjfprmrt.mjs +0 -1
  738. package/dist/chunks/exit-1.0.3-fbms8wkm.mjs +0 -1
  739. package/dist/chunks/explorer-1.0.3-8k5jhgjf.mjs +0 -1
  740. package/dist/chunks/export-1.0.3-4r98t7vv.mjs +0 -2
  741. package/dist/chunks/extra-usage-1.0.3-m17gcwmh.mjs +0 -1
  742. package/dist/chunks/extra-usage-noninteractive-1.0.3-papt6k1h.mjs +0 -1
  743. package/dist/chunks/fast-1.0.3-4atx5cja.mjs +0 -1
  744. package/dist/chunks/feedback-1.0.3-n2sjaka5.mjs +0 -14
  745. package/dist/chunks/firstPartyEventLogger-1.0.3-3ew36pwn.mjs +0 -1
  746. package/dist/chunks/git-1.0.3-tpyzsser.mjs +0 -1
  747. package/dist/chunks/githubModelsCredentials-1.0.3-a3scfsy1.mjs +0 -1
  748. package/dist/chunks/goal-1.0.3-rd7mxw5e.mjs +0 -4
  749. package/dist/chunks/grove-1.0.3-bwz91hx8.mjs +0 -1
  750. package/dist/chunks/growthbook-1.0.3-nr5dtynh.mjs +0 -1
  751. package/dist/chunks/headless-1.0.3-9kzxdtz3.mjs +0 -2
  752. package/dist/chunks/heapdump-1.0.3-hj74he6b.mjs +0 -6
  753. package/dist/chunks/help-1.0.3-e1qcej38.mjs +0 -1
  754. package/dist/chunks/hookChains-1.0.3-xtvdrx5t.mjs +0 -3
  755. package/dist/chunks/hooks-1.0.3-gfndfx5p.mjs +0 -79
  756. package/dist/chunks/hooks-1.0.3-mhatacpg.mjs +0 -1
  757. package/dist/chunks/ide-1.0.3-f60d1x9s.mjs +0 -3
  758. package/dist/chunks/image-processor-napi-1.0.3-crxm4gpq.mjs +0 -1
  759. package/dist/chunks/inboundAttachments-1.0.3-3b75nzd7.mjs +0 -1
  760. package/dist/chunks/index-1.0.3-15ym353c.mjs +0 -1
  761. package/dist/chunks/index-1.0.3-1tyen96a.mjs +0 -1
  762. package/dist/chunks/index-1.0.3-22c46a9g.mjs +0 -1
  763. package/dist/chunks/index-1.0.3-293khy5y.mjs +0 -1
  764. package/dist/chunks/index-1.0.3-3zrx6rcy.mjs +0 -1
  765. package/dist/chunks/index-1.0.3-4g5be32x.mjs +0 -5
  766. package/dist/chunks/index-1.0.3-5h227bav.mjs +0 -17
  767. package/dist/chunks/index-1.0.3-83nb50h7.mjs +0 -1
  768. package/dist/chunks/index-1.0.3-f3xy16k0.mjs +0 -1
  769. package/dist/chunks/index-1.0.3-fp6xhcab.mjs +0 -2
  770. package/dist/chunks/index-1.0.3-gecs01pd.mjs +0 -1
  771. package/dist/chunks/index-1.0.3-gwt3epj3.mjs +0 -30
  772. package/dist/chunks/index-1.0.3-gyr3x3wv.mjs +0 -9
  773. package/dist/chunks/index-1.0.3-j1rfqkax.mjs +0 -1
  774. package/dist/chunks/index-1.0.3-k6ze856z.mjs +0 -1
  775. package/dist/chunks/index-1.0.3-n8qxa0er.mjs +0 -1
  776. package/dist/chunks/index-1.0.3-pa0eqyya.mjs +0 -1
  777. package/dist/chunks/index-1.0.3-qacj9f9z.mjs +0 -1
  778. package/dist/chunks/index-1.0.3-tvpvnw2t.mjs +0 -1
  779. package/dist/chunks/index-1.0.3-w0d2skgw.mjs +0 -2
  780. package/dist/chunks/index-1.0.3-w6sndqyw.mjs +0 -9
  781. package/dist/chunks/index-1.0.3-z42381sj.mjs +0 -1
  782. package/dist/chunks/index-1.0.3-zfk75xdr.mjs +0 -1
  783. package/dist/chunks/init-1.0.3-1756vwh2.mjs +0 -1
  784. package/dist/chunks/initReplBridge-1.0.3-a00zpxtn.mjs +0 -1
  785. package/dist/chunks/ink-1.0.3-yq6e6m8b.mjs +0 -1
  786. package/dist/chunks/insights-1.0.3-4s3xgv9x.mjs +0 -870
  787. package/dist/chunks/install-1.0.3-zttqn1ez.mjs +0 -1
  788. package/dist/chunks/install-github-app-1.0.3-f0rmxqcw.mjs +0 -149
  789. package/dist/chunks/install-slack-app-1.0.3-sbd9833d.mjs +0 -1
  790. package/dist/chunks/instrumentation-1.0.3-hnskcn2k.mjs +0 -1
  791. package/dist/chunks/interactiveHelpers-1.0.3-t12dtkh1.mjs +0 -1
  792. package/dist/chunks/keybindings-1.0.3-retrpee2.mjs +0 -2
  793. package/dist/chunks/knowledge-1.0.3-gdpwz5kr.mjs +0 -2
  794. package/dist/chunks/latestVersionCache-1.0.3-kas0b0h1.mjs +0 -1
  795. package/dist/chunks/loadAgentsDir-1.0.3-wsevcydg.mjs +0 -1
  796. package/dist/chunks/loadPluginHooks-1.0.3-18zgr57f.mjs +0 -1
  797. package/dist/chunks/loadPluginHooks-1.0.3-2t4gydwe.mjs +0 -1
  798. package/dist/chunks/log-1.0.3-wzytzthn.mjs +0 -1
  799. package/dist/chunks/main-1.0.3-jzwehebm.mjs +0 -1
  800. package/dist/chunks/managedEnv-1.0.3-b8asa751.mjs +0 -1
  801. package/dist/chunks/mcp-1.0.3-aff6b6ct.mjs +0 -1
  802. package/dist/chunks/mcp-1.0.3-pjr3rvfk.mjs +0 -4
  803. package/dist/chunks/mcp-1.0.3-wfak1jpw.mjs +0 -17
  804. package/dist/chunks/mcpb-1.0.3-0s8ak7b1.mjs +0 -1
  805. package/dist/chunks/memory-1.0.3-esv79kf8.mjs +0 -3
  806. package/dist/chunks/model-1.0.3-9b4d36sd.mjs +0 -1
  807. package/dist/chunks/model-1.0.3-bh1t2s45.mjs +0 -2
  808. package/dist/chunks/node-1.0.3-gj4wsp3b.mjs +0 -12
  809. package/dist/chunks/oauth-1.0.3-q2zcdghm.mjs +0 -1
  810. package/dist/chunks/openaiShim-1.0.3-k03vgybb.mjs +0 -14
  811. package/dist/chunks/output-style-1.0.3-2vknbjw5.mjs +0 -1
  812. package/dist/chunks/package-ZZWOLTXM-1.0.3-g12q6fnk.mjs +0 -1
  813. package/dist/chunks/parseConnectUrl-1.0.3-7vrzj6hy.mjs +0 -1
  814. package/dist/chunks/parser-1.0.3-avw926ew.mjs +0 -1
  815. package/dist/chunks/passes-1.0.3-bgjyqscj.mjs +0 -1
  816. package/dist/chunks/permissions-1.0.3-8fj46mx3.mjs +0 -3
  817. package/dist/chunks/permissions-1.0.3-qpmk7fsa.mjs +0 -1
  818. package/dist/chunks/plan-1.0.3-emxq5t72.mjs +0 -1
  819. package/dist/chunks/plist-1.0.3-33z3k5gn.mjs +0 -1
  820. package/dist/chunks/plugin-1.0.3-eqxkeh3r.mjs +0 -29
  821. package/dist/chunks/pluginStartupCheck-1.0.3-3hbbay3q.mjs +0 -1
  822. package/dist/chunks/plugins-1.0.3-x021vefh.mjs +0 -9
  823. package/dist/chunks/preActionHook-1.0.3-5yyvhhra.mjs +0 -2
  824. package/dist/chunks/print-1.0.3-w721s1pr.mjs +0 -57
  825. package/dist/chunks/privacy-settings-1.0.3-v2vqkwdn.mjs +0 -1
  826. package/dist/chunks/process-1.0.3-xedhq816.mjs +0 -1
  827. package/dist/chunks/processBashCommand-1.0.3-mtgqq8k6.mjs +0 -1
  828. package/dist/chunks/processSlashCommand-1.0.3-2qxyq7z2.mjs +0 -9
  829. package/dist/chunks/prompt-1.0.3-3n87zkg4.mjs +0 -1
  830. package/dist/chunks/prompt-1.0.3-rt6xvwpb.mjs +0 -1
  831. package/dist/chunks/prompts-1.0.3-q1yewrxr.mjs +0 -1
  832. package/dist/chunks/protocolHandler-1.0.3-bsnsh8x6.mjs +0 -13
  833. package/dist/chunks/provider-1.0.3-gm23bmqy.mjs +0 -2
  834. package/dist/chunks/providerProfiles-1.0.3-cg05fwn8.mjs +0 -1
  835. package/dist/chunks/providerValidation-1.0.3-vma7539c.mjs +0 -6
  836. package/dist/chunks/rate-limit-options-1.0.3-q65cq335.mjs +0 -1
  837. package/dist/chunks/registerSubcommands-1.0.3-xv60j2ty.mjs +0 -34
  838. package/dist/chunks/registry-1.0.3-9n67m1rh.mjs +0 -1
  839. package/dist/chunks/release-notes-1.0.3-ves4zn7s.mjs +0 -5
  840. package/dist/chunks/reload-plugins-1.0.3-nj3rm6xw.mjs +0 -2
  841. package/dist/chunks/remote-env-1.0.3-ygbzc1qs.mjs +0 -1
  842. package/dist/chunks/remoteBridgeCore-1.0.3-z9c657ax.mjs +0 -1
  843. package/dist/chunks/remoteSession-1.0.3-7em2b627.mjs +0 -1
  844. package/dist/chunks/rename-1.0.3-090y3y3t.mjs +0 -1
  845. package/dist/chunks/replBridgeHandle-1.0.3-j72w7cv1.mjs +0 -1
  846. package/dist/chunks/replLauncher-1.0.3-jae5j1mr.mjs +0 -1
  847. package/dist/chunks/resume-1.0.3-b3yd0r0t.mjs +0 -2
  848. package/dist/chunks/rewind-1.0.3-qbxx991g.mjs +0 -1
  849. package/dist/chunks/rootOptions-1.0.3-5pvysebe.mjs +0 -1
  850. package/dist/chunks/sandbox-adapter-1.0.3-kzem4pfm.mjs +0 -1
  851. package/dist/chunks/sandbox-toggle-1.0.3-r0qyz4ph.mjs +0 -1
  852. package/dist/chunks/session-1.0.3-26qz9f9c.mjs +0 -2
  853. package/dist/chunks/sessionDiscovery-1.0.3-98fyhqzq.mjs +0 -1
  854. package/dist/chunks/sessionFileAccessHooks-1.0.3-g99vbb96.mjs +0 -1
  855. package/dist/chunks/sessionStorage-1.0.3-jbkq2y35.mjs +0 -1
  856. package/dist/chunks/settings-1.0.3-6hq9y9yg.mjs +0 -1
  857. package/dist/chunks/setup-1.0.3-8fxs3q79.mjs +0 -5
  858. package/dist/chunks/sinks-1.0.3-wjm4jwph.mjs +0 -1
  859. package/dist/chunks/skills-1.0.3-es2gwcs0.mjs +0 -1
  860. package/dist/chunks/startupProfiler-1.0.3-0zgy31z8.mjs +0 -1
  861. package/dist/chunks/startupUpdateCheck-1.0.3-17h3qh51.mjs +0 -1
  862. package/dist/chunks/state-1.0.3-7hxpebf0.mjs +0 -1
  863. package/dist/chunks/stats-1.0.3-mpa5ehmt.mjs +0 -6
  864. package/dist/chunks/status-1.0.3-3z7dn1ax.mjs +0 -1
  865. package/dist/chunks/stickers-1.0.3-mqdqscgw.mjs +0 -1
  866. package/dist/chunks/subprocessEnv-1.0.3-3zwx5k40.mjs +0 -1
  867. package/dist/chunks/tasks-1.0.3-fqyr9vwc.mjs +0 -1
  868. package/dist/chunks/teamHelpers-1.0.3-5rsk5yqn.mjs +0 -1
  869. package/dist/chunks/teammateModeSnapshot-1.0.3-v1270wf3.mjs +0 -1
  870. package/dist/chunks/teleport-1.0.3-4h0ww2kz.mjs +0 -1
  871. package/dist/chunks/terminalSetup-1.0.3-ern1ss4f.mjs +0 -1
  872. package/dist/chunks/theme-1.0.3-2zckbr2z.mjs +0 -1
  873. package/dist/chunks/thinkback-1.0.3-ckd0bxaf.mjs +0 -1
  874. package/dist/chunks/thinkback-play-1.0.3-6a53gc4n.mjs +0 -1
  875. package/dist/chunks/toolPool-1.0.3-w2xh8dvp.mjs +0 -1
  876. package/dist/chunks/toolSearch-1.0.3-w1f68ss0.mjs +0 -1
  877. package/dist/chunks/tools-1.0.3-7dyfg9gn.mjs +0 -1
  878. package/dist/chunks/trustedDevice-1.0.3-a34x8ydx.mjs +0 -1
  879. package/dist/chunks/turndown.cjs-1.0.3-jvqgvj65.mjs +0 -69
  880. package/dist/chunks/types-1.0.3-hrfpk0vp.mjs +0 -1
  881. package/dist/chunks/ultrareviewCommand-1.0.3-731x0mwt.mjs +0 -4
  882. package/dist/chunks/update-1.0.3-kxwpbp8h.mjs +0 -86
  883. package/dist/chunks/upgrade-1.0.3-0p7p2zsn.mjs +0 -1
  884. package/dist/chunks/upload-1.0.3-1fek6fh7.mjs +0 -7
  885. package/dist/chunks/upstreamproxy-1.0.3-g566qagg.mjs +0 -14
  886. package/dist/chunks/url-handler-napi-1.0.3-na9t0zcw.mjs +0 -1
  887. package/dist/chunks/usage-1.0.3-xdj3rkft.mjs +0 -1
  888. package/dist/chunks/util-1.0.3-5gfrxrz4.mjs +0 -1
  889. package/dist/chunks/utils-1.0.3-2mzjq8fj.mjs +0 -1
  890. package/dist/chunks/vim-1.0.3-9ckf66ks.mjs +0 -1
  891. package/dist/chunks/watcher-1.0.3-8pgwgknj.mjs +0 -1
  892. package/dist/chunks/wiki-1.0.3-hy2ve502.mjs +0 -132
  893. package/dist/chunks/workflows-1.0.3-phe0mv82.mjs +0 -1
  894. package/dist/chunks/worktree-1.0.3-pnma10rk.mjs +0 -1
  895. package/dist/chunks/worktreeModeEnabled-1.0.3-0hhtbd8p.mjs +0 -1
  896. package/dist/chunks/wrapper-1.0.3-jrm58k5e.mjs +0 -7
  897. /package/dist/chunks/{cli-1.0.3-adgwsvq3.mjs → cli-1.0.5-1awwev3c.mjs} +0 -0
  898. /package/dist/chunks/{cli-1.0.3-hn2qw1pk.mjs → cli-1.0.5-8344sc95.mjs} +0 -0
  899. /package/dist/chunks/{cli-1.0.3-cf280jvq.mjs → cli-1.0.5-a9bz757z.mjs} +0 -0
  900. /package/dist/chunks/{cli-1.0.3-25zd2770.mjs → cli-1.0.5-d6yzpr8m.mjs} +0 -0
  901. /package/dist/chunks/{cli-1.0.3-qf5pjy0v.mjs → cli-1.0.5-dhjms3v7.mjs} +0 -0
  902. /package/dist/chunks/{cli-1.0.3-77dec30x.mjs → cli-1.0.5-kv00w626.mjs} +0 -0
  903. /package/dist/chunks/{cli-1.0.3-43683395.mjs → cli-1.0.5-sszjr8x2.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{OF as h,QF as I,Yn as g,Zn as k}from"./cli-1.0.5-hq3f080w.mjs";import{J0 as _,JY as S,e0 as s}from"./cli-1.0.5-7b347m92.mjs";import{q3 as c,r3 as m,s3 as T}from"./cli-1.0.5-jcd8tadh.mjs";import{Qda as b,mea as P}from"./cli-1.0.5-9m4a2113.mjs";import{vra as D}from"./cli-1.0.5-73mr16hn.mjs";_();P();I();k();T();var v=D(S(),1);function E(C){let e=v.c(17),{customApiKeyTruncated:o,onDone:p}=C,r;if(e[0]!==o||e[1]!==p)r=function(R){e:switch(R){case"yes":{b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,approved:[...n.customApiKeyResponses?.approved??[],o]}})),p(!0);break e}case"no":b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,rejected:[...n.customApiKeyResponses?.rejected??[],o]}})),p(!1)}},e[0]=o,e[1]=p,e[2]=r;else r=e[2];let t=r,l;if(e[3]!==t)l=()=>t("no"),e[3]=t,e[4]=l;else l=e[4];let f;if(e[5]===Symbol.for("react.memo_cache_sentinel"))f=c(s,{bold:!0,children:"ANTHROPIC_API_KEY"}),e[5]=f;else f=e[5];let i;if(e[6]!==o)i=m(s,{children:[f,m(s,{children:[": sk-ant-...",o]})]}),e[6]=o,e[7]=i;else i=e[7];let u;if(e[8]===Symbol.for("react.memo_cache_sentinel"))u=c(s,{children:"Do you want to use this API key?"}),e[8]=u;else u=e[8];let y;if(e[9]===Symbol.for("react.memo_cache_sentinel"))y={label:"Yes",value:"yes"},e[9]=y;else y=e[9];let d;if(e[10]===Symbol.for("react.memo_cache_sentinel"))d=[y,{label:m(s,{children:["No (",c(s,{bold:!0,children:"recommended"}),")"]}),value:"no"}],e[10]=d;else d=e[10];let a;if(e[11]!==t)a=c(h,{defaultValue:"no",defaultFocusValue:"no",options:d,onChange:(K)=>t(K),onCancel:()=>t("no")}),e[11]=t,e[12]=a;else a=e[12];let A;if(e[13]!==l||e[14]!==i||e[15]!==a)A=m(g,{title:"Detected a custom API key in your environment",color:"warning",onCancel:l,children:[i,u,a]}),e[13]=l,e[14]=i,e[15]=a,e[16]=A;else A=e[16];return A}
2
+ export{E as u};
@@ -0,0 +1,18 @@
1
+ import{bra as r$,cra as N6,dra as XQ,era as M1,fra as KQ}from"./cli-1.0.5-a4weds6b.mjs";import{Ara as K4,vra as n4,xra as J4,yra as Z8,zra as T}from"./cli-1.0.5-73mr16hn.mjs";function t0($,Q){return function(){return $.apply(Q,arguments)}}var c4=()=>{};function f0($){return $!==null&&!m0($)&&$.constructor!==null&&!m0($.constructor)&&o($.constructor.isBuffer)&&$.constructor.isBuffer($)}function r6($){let Q;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)Q=ArrayBuffer.isView($);else Q=$&&$.buffer&&h1($.buffer);return Q}function K$(){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 e0($,Q,{allOwnKeys:Y=!1}={}){if($===null||typeof $>"u")return;let W,G;if(typeof $!=="object")$=[$];if(P0($))for(W=0,G=$.length;W<G;W++)Q.call(null,$[W],W,$);else{if(f0($))return;let J=Y?Object.getOwnPropertyNames($):Object.keys($),Z=J.length,z;for(W=0;W<Z;W++)z=J[W],Q.call(null,$[z],z,$)}}function u1($,Q){if(f0($))return null;Q=Q.toLowerCase();let Y=Object.keys($),W=Y.length,G;while(W-- >0)if(G=Y[W],Q===G.toLowerCase())return G;return null}function d4(...$){let{caseless:Q,skipUndefined:Y}=c1(this)&&this||{},W={},G=(J,Z)=>{if(Z==="__proto__"||Z==="constructor"||Z==="prototype")return;let z=Q&&typeof Z==="string"&&u1(W,Z)||Z,K=T4(W,z)?W[z]:void 0;if(_4(K)&&_4(J))W[z]=d4(K,J);else if(_4(J))W[z]=d4({},J);else if(P0(J))W[z]=J.slice();else if(!Y||!m0(J))W[z]=J};for(let J=0,Z=$.length;J<Z;J++){let z=$[J];if(!z||f0(z))continue;if(e0(z,G),typeof z!=="object"||P0(z))continue;let K=Object.getOwnPropertySymbols(z);for(let N=0;N<K.length;N++){let M=K[N];if(O$.call(z,M))G(z[M],M)}}return W}function b$($){return!!($&&o($.append)&&$[f1]==="FormData"&&$[o0])}var s6,y0,o0,f1,T4,r0=($,Q)=>{let Y=$,W=[];while(Y!=null&&Y!==Object.prototype){if(W.indexOf(Y)!==-1)return!1;if(W.push(Y),T4(Y,Q))return!0;Y=y0(Y)}return!1},t6=($,Q)=>$!=null&&r0($,Q)?$[Q]:void 0,l4,W0=($)=>{return $=$.toLowerCase(),(Q)=>l4(Q)===$},R4=($)=>(Q)=>typeof Q===$,P0,m0,h1,o6,o,g1,h0=($)=>$!==null&&typeof $==="object",e6=($)=>$===!0||$===!1,_4=($)=>{if(!h0($))return!1;let Q=y0($);return(Q===null||Q===Object.prototype||y0(Q)===null)&&!r0($,f1)&&!r0($,o0)},$$=($)=>{if(!h0($)||f0($))return!1;try{return Object.keys($).length===0&&Object.getPrototypeOf($)===Object.prototype}catch(Q){return!1}},Q$,Y$,W$=($)=>{return!!($&&typeof $.uri<"u")},G$=($)=>$&&typeof $.getParts<"u",Z$,J$,X$=($)=>h0($)&&o($.pipe),y1,m1,z$=($)=>{if(!$)return!1;if(m1&&$ instanceof m1)return!0;let Q=y0($);if(!Q||Q===Object.prototype)return!1;if(!o($.append))return!1;let Y=l4($);return Y==="formdata"||Y==="object"&&o($.toString)&&$.toString()==="[object FormData]"},N$,M$,B$,V$,I$,F$=($)=>{return $.trim?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},q0,c1=($)=>!m0($)&&$!==q0,U$=($,Q,Y,{allOwnKeys:W}={})=>{return e0(Q,(G,J)=>{if(Y&&o(G))Object.defineProperty($,J,{__proto__:null,value:t0(G,Y),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty($,J,{__proto__:null,value:G,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:W}),$},L$=($)=>{if($.charCodeAt(0)===65279)$=$.slice(1);return $},w$=($,Q,Y,W)=>{$.prototype=Object.create(Q.prototype,W),Object.defineProperty($.prototype,"constructor",{__proto__:null,value:$,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty($,"super",{__proto__:null,value:Q.prototype}),Y&&Object.assign($.prototype,Y)},S$=($,Q,Y,W)=>{let G,J,Z,z={};if(Q=Q||{},$==null)return Q;do{G=Object.getOwnPropertyNames($),J=G.length;while(J-- >0)if(Z=G[J],(!W||W(Z,$,Q))&&!z[Z])Q[Z]=$[Z],z[Z]=!0;$=Y!==!1&&y0($)}while($&&(!Y||Y($,Q))&&$!==Object.prototype);return Q},D$=($,Q,Y)=>{if($=String($),Y===void 0||Y>$.length)Y=$.length;Y-=Q.length;let W=$.indexOf(Q,Y);return W!==-1&&W===Y},_$=($)=>{if(!$)return null;if(P0($))return $;let Q=$.length;if(!g1(Q))return null;let Y=Array(Q);while(Q-- >0)Y[Q]=$[Q];return Y},T$,R$=($,Q)=>{let W=($&&$[o0]).call($),G;while((G=W.next())&&!G.done){let J=G.value;Q.call($,J[0],J[1])}},q$=($,Q)=>{let Y,W=[];while((Y=$.exec(Q))!==null)W.push(Y);return W},P$,C$=($)=>{return $.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(Y,W,G){return W.toUpperCase()+G})},O$,H$,d1=($,Q)=>{let Y=Object.getOwnPropertyDescriptors($),W={};e0(Y,(G,J)=>{let Z;if((Z=Q(G,J,$))!==!1)W[J]=Z||G}),Object.defineProperties($,W)},E$=($)=>{d1($,(Q,Y)=>{if(o($)&&["arguments","caller","callee"].includes(Y))return!1;let W=$[Y];if(!o(W))return;if(Q.enumerable=!1,"writable"in Q){Q.writable=!1;return}if(!Q.set)Q.set=()=>{throw Error("Can not rewrite read-only method '"+Y+"'")}})},A$=($,Q)=>{let Y={},W=(G)=>{G.forEach((J)=>{Y[J]=!0})};return P0($)?W($):W(String($).split(Q)),Y},j$=()=>{},k$=($,Q)=>{return $!=null&&Number.isFinite($=+$)?$:Q},x$=($)=>{let Q=new WeakSet,Y=(W)=>{if(h0(W)){if(Q.has(W))return;if(f0(W))return W;if(!("toJSON"in W)){Q.add(W);let G=P0(W)?[]:{};return e0(W,(J,Z)=>{let z=Y(J);!m0(z)&&(G[Z]=z)}),Q.delete(W),G}}return W};return Y($)},v$,y$=($)=>$&&(h0($)||o($))&&o($.then)&&o($.catch),l1,m$,p1=($)=>$!=null&&o($[o0]),f$=($)=>$!=null&&r0($,o0)&&p1($),X;var x=T(()=>{c4();({toString:s6}=Object.prototype),{getPrototypeOf:y0}=Object,{iterator:o0,toStringTag:f1}=Symbol,T4=(({hasOwnProperty:$})=>(Q,Y)=>$.call(Q,Y))(Object.prototype),l4=(($)=>(Q)=>{let Y=s6.call(Q);return $[Y]||($[Y]=Y.slice(8,-1).toLowerCase())})(Object.create(null)),{isArray:P0}=Array,m0=R4("undefined");h1=W0("ArrayBuffer");o6=R4("string"),o=R4("function"),g1=R4("number"),Q$=W0("Date"),Y$=W0("File"),Z$=W0("Blob"),J$=W0("FileList");y1=K$(),m1=typeof y1.FormData<"u"?y1.FormData:void 0,N$=W0("URLSearchParams"),[M$,B$,V$,I$]=["ReadableStream","Request","Response","Headers"].map(W0);q0=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})();T$=(($)=>{return(Q)=>{return $&&Q instanceof $}})(typeof Uint8Array<"u"&&y0(Uint8Array)),P$=W0("HTMLFormElement"),{propertyIsEnumerable:O$}=Object.prototype,H$=W0("RegExp");v$=W0("AsyncFunction"),l1=(($,Q)=>{if($)return setImmediate;return Q?((Y,W)=>{return q0.addEventListener("message",({source:G,data:J})=>{if(G===q0&&J===Y)W.length&&W.shift()()},!1),(G)=>{W.push(G),q0.postMessage(Y,"*")}})(`axios@${Math.random()}`,[]):(Y)=>setTimeout(Y)})(typeof setImmediate==="function",o(q0.postMessage)),m$=typeof queueMicrotask<"u"?queueMicrotask.bind(q0):typeof process<"u"&&process.nextTick||l1,X={isArray:P0,isArrayBuffer:h1,isBuffer:f0,isFormData:z$,isArrayBufferView:r6,isString:o6,isNumber:g1,isBoolean:e6,isObject:h0,isPlainObject:_4,isEmptyObject:$$,isReadableStream:M$,isRequest:B$,isResponse:V$,isHeaders:I$,isUndefined:m0,isDate:Q$,isFile:Y$,isReactNativeBlob:W$,isReactNative:G$,isBlob:Z$,isRegExp:H$,isFunction:o,isStream:X$,isURLSearchParams:N$,isTypedArray:T$,isFileList:J$,forEach:e0,merge:d4,extend:U$,trim:F$,stripBOM:L$,inherits:w$,toFlatObject:S$,kindOf:l4,kindOfTest:W0,endsWith:D$,toArray:_$,forEachEntry:R$,matchAll:q$,isHTMLForm:P$,hasOwnProperty:T4,hasOwnProp:T4,hasOwnInPrototypeChain:r0,getSafeProp:t6,reduceDescriptors:d1,freezeMethods:E$,toObjectSet:A$,toCamelCase:C$,noop:j$,toFiniteNumber:k$,findKey:u1,global:q0,isContextDefined:c1,isSpecCompliantForm:b$,toJSONObject:x$,isAsyncFn:v$,isThenable:y$,setImmediate:l1,asap:m$,isIterable:p1,isSafeIterable:f$}});var h$,i1=($)=>{let Q={},Y,W,G;return $&&$.split(`
2
+ `).forEach(function(Z){if(G=Z.indexOf(":"),Y=Z.substring(0,G).trim().toLowerCase(),W=Z.substring(G+1).trim(),!Y||Q[Y]&&h$[Y])return;if(Y==="set-cookie")if(Q[Y])Q[Y].push(W);else Q[Y]=[W];else Q[Y]=Q[Y]?Q[Y]+", "+W:W}),Q};var n1=T(()=>{x();h$=X.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 g$($){let Q=0,Y=$.length;while(Q<Y){let W=$.charCodeAt(Q);if(W!==9&&W!==32)break;Q+=1}while(Y>Q){let W=$.charCodeAt(Y-1);if(W!==9&&W!==32)break;Y-=1}return Q===0&&Y===$.length?$:$.slice(Q,Y)}function p4($,Q){if(X.isArray($))return $.map((Y)=>p4(Y,Q));return g$(String($).replace(Q,""))}function g0($){let Q=Object.create(null);return X.forEach($.toJSON(),(Y,W)=>{Q[W]=d$(Y)}),Q}var u$,c$,a1=($)=>p4($,u$),d$=($)=>p4($,c$);var $4=T(()=>{x();u$=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),c$=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g")});function Q4($){return $&&String($).trim().toLowerCase()}function q4($){if($===!1||$==null)return $;return X.isArray($)?$.map(q4):a1(String($))}function l$($){let Q=Object.create(null),Y=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,W;while(W=Y.exec($))Q[W[1]]=W[2];return Q}function i4($,Q,Y,W,G){if(X.isFunction(W))return W.call(this,Q,Y);if(G)Q=Y;if(!X.isString(Q))return;if(X.isString(W))return Q.indexOf(W)!==-1;if(X.isRegExp(W))return W.test(Q)}function i$($){return $.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Q,Y,W)=>{return Y.toUpperCase()+W})}function n$($,Q){let Y=X.toCamelCase(" "+Q);["get","set","has"].forEach((W)=>{Object.defineProperty($,W+Y,{__proto__:null,value:function(G,J,Z){return this[W].call(this,Q,G,J,Z)},configurable:!0})})}var s1,p$=($)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test($.trim()),Y4,y;var G0=T(()=>{x();n1();$4();s1=Symbol("internals");Y4=class Y4{constructor($){$&&this.set($)}set($,Q,Y){let W=this;function G(Z,z,K){let N=Q4(z);if(!N)return;let M=X.findKey(W,N);if(!M||W[M]===void 0||K===!0||K===void 0&&W[M]!==!1)W[M||z]=q4(Z)}let J=(Z,z)=>X.forEach(Z,(K,N)=>G(K,N,z));if(X.isPlainObject($)||$ instanceof this.constructor)J($,Q);else if(X.isString($)&&($=$.trim())&&!p$($))J(i1($),Q);else if(X.isObject($)&&X.isSafeIterable($)){let Z=Object.create(null),z,K;for(let N of $){if(!X.isArray(N))throw TypeError("Object iterator must return a key-value pair");if(K=N[0],X.hasOwnProp(Z,K))z=Z[K],Z[K]=X.isArray(z)?[...z,N[1]]:[z,N[1]];else Z[K]=N[1]}J(Z,Q)}else $!=null&&G(Q,$,Y);return this}get($,Q){if($=Q4($),$){let Y=X.findKey(this,$);if(Y){let W=this[Y];if(!Q)return W;if(Q===!0)return l$(W);if(X.isFunction(Q))return Q.call(this,W,Y);if(X.isRegExp(Q))return Q.exec(W);throw TypeError("parser must be boolean|regexp|function")}}}has($,Q){if($=Q4($),$){let Y=X.findKey(this,$);return!!(Y&&this[Y]!==void 0&&(!Q||i4(this,this[Y],Y,Q)))}return!1}delete($,Q){let Y=this,W=!1;function G(J){if(J=Q4(J),J){let Z=X.findKey(Y,J);if(Z&&(!Q||i4(Y,Y[Z],Z,Q)))delete Y[Z],W=!0}}if(X.isArray($))$.forEach(G);else G($);return W}clear($){let Q=Object.keys(this),Y=Q.length,W=!1;while(Y--){let G=Q[Y];if(!$||i4(this,this[G],G,$,!0))delete this[G],W=!0}return W}normalize($){let Q=this,Y={};return X.forEach(this,(W,G)=>{let J=X.findKey(Y,G);if(J){Q[J]=q4(W),delete Q[G];return}let Z=$?i$(G):String(G).trim();if(Z!==G)delete Q[G];Q[Z]=q4(W),Y[Z]=!0}),this}concat(...$){return this.constructor.concat(this,...$)}toJSON($){let Q=Object.create(null);return X.forEach(this,(Y,W)=>{Y!=null&&Y!==!1&&(Q[W]=$&&X.isArray(Y)?Y.join(", "):Y)}),Q}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$,Q])=>$+": "+Q).join(`
3
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($){return $ instanceof this?$:new this($)}static concat($,...Q){let Y=new this($);return Q.forEach((W)=>Y.set(W)),Y}static accessor($){let Y=(this[s1]=this[s1]={accessors:{}}).accessors,W=this.prototype;function G(J){let Z=Q4(J);if(!Y[Z])n$(W,J),Y[Z]=!0}return X.isArray($)?$.forEach(G):G($),this}};Y4.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);X.reduceDescriptors(Y4.prototype,({value:$},Q)=>{let Y=Q[0].toUpperCase()+Q.slice(1);return{get:()=>$,set(W){this[Y]=W}}});X.freezeMethods(Y4);y=Y4});function s$($){if(X.hasOwnProp($,"toJSON"))return!0;let Q=Object.getPrototypeOf($);while(Q&&Q!==Object.prototype){if(X.hasOwnProp(Q,"toJSON"))return!0;Q=Object.getPrototypeOf(Q)}return!1}function t$($,Q){let Y=new Set(Q.map((J)=>String(J).toLowerCase())),W=[],G=(J)=>{if(J===null||typeof J!=="object")return J;if(X.isBuffer(J))return J;if(W.indexOf(J)!==-1)return;if(J instanceof y)J=J.toJSON();W.push(J);let Z;if(X.isArray(J))Z=[],J.forEach((z,K)=>{let N=G(z);if(!X.isUndefined(N))Z[K]=N});else{if(!X.isPlainObject(J)&&s$(J))return W.pop(),J;Z=Object.create(null);for(let[z,K]of Object.entries(J)){let N=Y.has(z.toLowerCase())?a$:G(K);if(!X.isUndefined(N))Z[z]=N}}return W.pop(),Z};return G($)}var a$="[REDACTED ****]",a,V;var t=T(()=>{x();G0();a=class a extends Error{static from($,Q,Y,W,G,J){let Z=new a($.message,Q||$.code,Y,W,G);if(Object.defineProperty(Z,"cause",{__proto__:null,value:$,writable:!0,enumerable:!1,configurable:!0}),Z.name=$.name,$.status!=null&&Z.status==null)Z.status=$.status;return J&&Object.assign(Z,J),Z}constructor($,Q,Y,W,G){super($);if(Object.defineProperty(this,"message",{__proto__:null,value:$,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,Q&&(this.code=Q),Y&&(this.config=Y),W&&(this.request=W),G)this.response=G,this.status=G.status}toJSON(){let $=this.config,Q=$&&X.hasOwnProp($,"redact")?$.redact:void 0,Y=X.isArray(Q)&&Q.length>0?t$($,Q):X.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:Y,code:this.code,status:this.status}}};a.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";a.ERR_BAD_OPTION="ERR_BAD_OPTION";a.ECONNABORTED="ECONNABORTED";a.ETIMEDOUT="ETIMEDOUT";a.ECONNREFUSED="ECONNREFUSED";a.ERR_NETWORK="ERR_NETWORK";a.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";a.ERR_DEPRECATED="ERR_DEPRECATED";a.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";a.ERR_BAD_REQUEST="ERR_BAD_REQUEST";a.ERR_CANCELED="ERR_CANCELED";a.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";a.ERR_INVALID_URL="ERR_INVALID_URL";a.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";V=a});var t1,P4;var a4=T(()=>{t1=n4(r$(),1),P4=t1.default});function t4($){return X.isPlainObject($)||X.isArray($)}function r1($){return X.endsWith($,"[]")?$.slice(0,-2):$}function s4($,Q,Y){if(!$)return Q;return $.concat(Q).map(function(G,J){return G=r1(G),!Y&&J?"["+G+"]":G}).join(Y?".":"")}function o$($){return X.isArray($)&&!$.some(t4)}function $8($,Q,Y){if(!X.isObject($))throw TypeError("target must be an object");Q=Q||new(P4||FormData),Y=X.toFlatObject(Y,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,R){return!X.isUndefined(R[_])});let W=Y.metaTokens,G=Y.visitor||S,J=Y.dots,Z=Y.indexes,z=Y.Blob||typeof Blob<"u"&&Blob,K=Y.maxDepth===void 0?r4:Y.maxDepth,N=z&&X.isSpecCompliantForm(Q),M=[];if(!X.isFunction(G))throw TypeError("visitor must be a function");function B(F){if(F===null)return"";if(X.isDate(F))return F.toISOString();if(X.isBoolean(F))return F.toString();if(!N&&X.isBlob(F))throw new V("Blob is not supported. Use a Buffer instead.");if(X.isArrayBuffer(F)||X.isTypedArray(F)){if(N&&typeof z==="function")return new z([F]);if(typeof Buffer<"u")return Buffer.from(F);throw new V("Blob is not supported. Use a Buffer instead.",V.ERR_NOT_SUPPORT)}return F}function I(F){if(F>K)throw new V("Object is too deeply nested ("+F+" levels). Max depth: "+K,V.ERR_FORM_DATA_DEPTH_EXCEEDED)}function U(F,_){if(K===1/0)return JSON.stringify(F);let R=[];return JSON.stringify(F,function(v,k){if(!X.isObject(k))return k;while(R.length&&R[R.length-1]!==this)R.pop();return R.push(k),I(_+R.length-1),k})}function S(F,_,R){let O=F;if(X.isReactNative(Q)&&X.isReactNativeBlob(F))return Q.append(s4(R,_,J),B(F)),!1;if(F&&!R&&typeof F==="object"){if(X.endsWith(_,"{}"))_=W?_:_.slice(0,-2),F=U(F,1);else if(X.isArray(F)&&o$(F)||(X.isFileList(F)||X.endsWith(_,"[]"))&&(O=X.toArray(F)))return _=r1(_),O.forEach(function(k,K0){!(X.isUndefined(k)||k===null)&&Q.append(Z===!0?s4([_],K0,J):Z===null?_:_+"[]",B(k))}),!1}if(t4(F))return!0;return Q.append(s4(R,_,J),B(F)),!1}let q=Object.assign(e$,{defaultVisitor:S,convertValue:B,isVisitable:t4});function L(F,_,R=0){if(X.isUndefined(F))return;if(I(R),M.indexOf(F)!==-1)throw Error("Circular reference detected in "+_.join("."));M.push(F),X.forEach(F,function(v,k){if((!(X.isUndefined(v)||v===null)&&G.call(Q,v,X.isString(k)?k.trim():k,_,q))===!0)L(v,_?_.concat(k):[k],R+1)}),M.pop()}if(!X.isObject($))throw TypeError("data must be an object");return L($),Q}var r4=100,e$,S0;var u0=T(()=>{x();t();a4();e$=X.toFlatObject(X,{},null,function(Q){return/^is[A-Z]/.test(Q)});S0=$8});function o1($){let Q={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent($).replace(/[!'()~]|%20/g,function(W){return Q[W]})}function e1($,Q){this._pairs=[],$&&S0($,this,Q)}var $5,Q5;var Y5=T(()=>{u0();$5=e1.prototype;$5.append=function(Q,Y){this._pairs.push([Q,Y])};$5.toString=function(Q){let Y=Q?(W)=>Q.call(this,W,o1):o1;return this._pairs.map(function(G){return Y(G[0])+"="+Y(G[1])},"").join("&")};Q5=e1});function Q8($){return encodeURIComponent($).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function C0($,Q,Y){if(!Q)return $;$=$||"";let W=X.isFunction(Y)?{serialize:Y}:Y,G=X.getSafeProp(W,"encode")||Q8,J=X.getSafeProp(W,"serialize"),Z;if(J)Z=J(Q,W);else Z=X.isURLSearchParams(Q)?Q.toString():new Q5(Q,W).toString(G);if(Z){let z=$.indexOf("#");if(z!==-1)$=$.slice(0,z);$+=($.indexOf("?")===-1?"?":"&")+Z}return $}var C4=T(()=>{x();Y5()});class W5{constructor(){this.handlers=[]}use($,Q,Y){return this.handlers.push({fulfilled:$,rejected:Q,synchronous:Y?Y.synchronous:!1,runWhen:Y?Y.runWhen:null}),this.handlers.length-1}eject($){if(this.handlers[$])this.handlers[$]=null}clear(){if(this.handlers)this.handlers=[]}forEach($){X.forEach(this.handlers,function(Y){if(Y!==null)$(Y)})}}var o4;var G5=T(()=>{x();o4=W5});var D0;var W4=T(()=>{D0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0}});import Y8 from"url";var Z5;var J5=T(()=>{Z5=Y8.URLSearchParams});import W8 from"crypto";var e4="abcdefghijklmnopqrstuvwxyz",X5="0123456789",K5,G8=($=16,Q=K5.ALPHA_DIGIT)=>{let Y="",{length:W}=Q,G=new Uint32Array($);W8.randomFillSync(G);for(let J=0;J<$;J++)Y+=Q[G[J]%W];return Y},z5;var N5=T(()=>{J5();a4();K5={DIGIT:X5,ALPHA:e4,ALPHA_DIGIT:e4+e4.toUpperCase()+X5},z5={isNode:!0,classes:{URLSearchParams:Z5,FormData:P4,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:K5,generateString:G8,protocols:["http","https","file","data"]}});var Y1={};Z8(Y1,{origin:()=>K8,navigator:()=>$1,hasStandardBrowserWebWorkerEnv:()=>X8,hasStandardBrowserEnv:()=>J8,hasBrowserEnv:()=>Q1});var Q1,$1,J8,X8,K8;var M5=T(()=>{Q1=typeof window<"u"&&typeof document<"u",$1=typeof navigator==="object"&&navigator||void 0,J8=Q1&&(!$1||["ReactNative","NativeScript","NS"].indexOf($1.product)<0),X8=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),K8=Q1&&window.location.href||"http://localhost"});var j;var Z0=T(()=>{N5();M5();j={...Y1,...z5}});function W1($,Q){return S0($,new j.classes.URLSearchParams,{visitor:function(Y,W,G,J){if(j.isNode&&X.isBuffer(Y))return this.append(W,Y.toString("base64")),!1;return J.defaultVisitor.apply(this,arguments)},...Q})}var B5=T(()=>{x();u0();Z0()});function I5($){if($>V5)throw new V("FormData field is too deeply nested ("+$+" levels). Max depth: "+V5,V.ERR_FORM_DATA_DEPTH_EXCEEDED)}function z8($){let Q=[],Y=/\w+|\[(\w*)]/g,W;while((W=Y.exec($))!==null)I5(Q.length),Q.push(W[0]==="[]"?"":W[1]||W[0]);return Q}function N8($){let Q={},Y=Object.keys($),W,G=Y.length,J;for(W=0;W<G;W++)J=Y[W],Q[J]=$[J];return Q}function M8($){function Q(Y,W,G,J){I5(J);let Z=Y[J++];if(Z==="__proto__")return!0;let z=Number.isFinite(+Z),K=J>=Y.length;if(Z=!Z&&X.isArray(G)?G.length:Z,K){if(X.hasOwnProp(G,Z))G[Z]=X.isArray(G[Z])?G[Z].concat(W):[G[Z],W];else G[Z]=W;return!z}if(!X.hasOwnProp(G,Z)||!X.isObject(G[Z]))G[Z]=[];if(Q(Y,W,G[Z],J)&&X.isArray(G[Z]))G[Z]=N8(G[Z]);return!z}if(X.isFormData($)&&X.isFunction($.entries)){let Y={};return X.forEachEntry($,(W,G)=>{Q(z8(W),G,Y,0)}),Y}return null}var V5,O4;var G1=T(()=>{x();t();u0();V5=r4;O4=M8});function B8($,Q,Y){if(X.isString($))try{return(Q||JSON.parse)($),X.trim($)}catch(W){if(W.name!=="SyntaxError")throw W}return(Y||JSON.stringify)($)}var c0=($,Q)=>$!=null&&X.hasOwnProp($,Q)?$[Q]:void 0,Z1,d0;var H4=T(()=>{x();t();W4();u0();B5();Z0();G1();Z1={transitional:D0,adapter:["xhr","http","fetch"],transformRequest:[function(Q,Y){let W=Y.getContentType()||"",G=W.indexOf("application/json")>-1,J=X.isObject(Q);if(J&&X.isHTMLForm(Q))Q=new FormData(Q);if(X.isFormData(Q))return G?JSON.stringify(O4(Q)):Q;if(X.isArrayBuffer(Q)||X.isBuffer(Q)||X.isStream(Q)||X.isFile(Q)||X.isBlob(Q)||X.isReadableStream(Q))return Q;if(X.isArrayBufferView(Q))return Q.buffer;if(X.isURLSearchParams(Q))return Y.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Q.toString();let z;if(J){let K=c0(this,"formSerializer");if(W.indexOf("application/x-www-form-urlencoded")>-1)return W1(Q,K).toString();if((z=X.isFileList(Q))||W.indexOf("multipart/form-data")>-1){let N=c0(this,"env"),M=N&&N.FormData;return S0(z?{"files[]":Q}:Q,M&&new M,K)}}if(J||G)return Y.setContentType("application/json",!1),B8(Q);return Q}],transformResponse:[function(Q){let Y=c0(this,"transitional")||Z1.transitional,W=Y&&Y.forcedJSONParsing,G=c0(this,"responseType"),J=G==="json";if(X.isResponse(Q)||X.isReadableStream(Q))return Q;if(Q&&X.isString(Q)&&(W&&!G||J)){let z=!(Y&&Y.silentJSONParsing)&&J;try{return JSON.parse(Q,c0(this,"parseReviver"))}catch(K){if(z){if(K.name==="SyntaxError")throw V.from(K,V.ERR_BAD_RESPONSE,this,null,c0(this,"response"));throw K}}}return Q}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:j.classes.FormData,Blob:j.classes.Blob},validateStatus:function(Q){return Q>=200&&Q<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch","query"],($)=>{Z1.headers[$]={}});d0=Z1});function G4($,Q){let Y=this||d0,W=Q||Y,G=y.from(W.headers),J=W.data;return X.forEach($,function(z){J=z.call(Y,J,G.normalize(),Q?Q.status:void 0)}),G.normalize(),J}var F5=T(()=>{x();H4();G0()});function Z4($){return!!($&&$.__CANCEL__)}var J1=()=>{};var U5,$0;var O0=T(()=>{t();U5=class U5 extends V{constructor($,Q,Y){super($==null?"canceled":$,V.ERR_CANCELED,Q,Y);this.name="CanceledError",this.__CANCEL__=!0}};$0=U5});function M0($,Q,Y){let W=Y.config.validateStatus;if(!Y.status||!W||W(Y.status))$(Y);else Q(new V("Request failed with status code "+Y.status,Y.status>=400&&Y.status<500?V.ERR_BAD_REQUEST:V.ERR_BAD_RESPONSE,Y.config,Y.request,Y))}var E4=T(()=>{t()});function X1($){if(typeof $!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test($)}var L5=()=>{};function K1($,Q){return Q?$.replace(/\/?\/$/,"")+"/"+Q.replace(/^\/+/,""):$}var w5=()=>{};function F8($){let Q=0;while(Q<$.length&&$.charCodeAt(Q)<=32)Q++;return $.slice(Q)}function U8($){return F8($).replace(I8,"")}function S5($,Q){if(typeof $==="string"&&V8.test(U8($)))throw new V('Invalid URL: missing "//" after protocol',V.ERR_INVALID_URL,Q)}function H0($,Q,Y,W){S5(Q,W);let G=!X1(Q);if($&&(G||Y===!1))return S5($,W),K1($,Q);return Q}var V8,I8;var A4=T(()=>{t();L5();w5();V8=/^https?:(?!\/\/)/i,I8=/[\t\n\r]/g});var _5=J4((D5)=>{Object.defineProperty(D5,"__esModule",{value:!0});function L8($){return function(Q,Y){return new Promise((W,G)=>{$.call(this,Q,Y,(J,Z)=>{if(J)G(J);else W(Z)})})}}D5.default=L8});var q5=J4((N1,R5)=>{var T5=N1&&N1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},S8=K4("events"),D8=T5(M1()),_8=T5(_5()),X4=D8.default("agent-base");function T8($){return Boolean($)&&typeof $.addRequest==="function"}function z1(){let{stack:$}=Error();if(typeof $!=="string")return!1;return $.split(`
4
+ `).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}function j4($,Q){return new j4.Agent($,Q)}(function($){class Q extends S8.EventEmitter{constructor(Y,W){super();let G=W;if(typeof Y==="function")this.callback=Y;else if(Y)G=Y;if(this.timeout=null,G&&typeof G.timeout==="number")this.timeout=G.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 z1()?443:80}set defaultPort(Y){this.explicitDefaultPort=Y}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return z1()?"https:":"http:"}set protocol(Y){this.explicitProtocol=Y}callback(Y,W,G){throw Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(Y,W){let G=Object.assign({},W);if(typeof G.secureEndpoint!=="boolean")G.secureEndpoint=z1();if(G.host==null)G.host="localhost";if(G.port==null)G.port=G.secureEndpoint?443:80;if(G.protocol==null)G.protocol=G.secureEndpoint?"https:":"http:";if(G.host&&G.path)delete G.path;delete G.agent,delete G.hostname,delete G._defaultAgent,delete G.defaultPort,delete G.createConnection,Y._last=!0,Y.shouldKeepAlive=!1;let J=!1,Z=null,z=G.timeout||this.timeout,K=(I)=>{if(Y._hadError)return;Y.emit("error",I),Y._hadError=!0},N=()=>{Z=null,J=!0;let I=Error(`A "socket" was not created for HTTP request before ${z}ms`);I.code="ETIMEOUT",K(I)},M=(I)=>{if(J)return;if(Z!==null)clearTimeout(Z),Z=null;K(I)},B=(I)=>{if(J)return;if(Z!=null)clearTimeout(Z),Z=null;if(T8(I)){X4("Callback returned another Agent instance %o",I.constructor.name),I.addRequest(Y,G);return}if(I){I.once("free",()=>{this.freeSocket(I,G)}),Y.onSocket(I);return}let U=Error(`no Duplex stream was returned to agent-base for \`${Y.method} ${Y.path}\``);K(U)};if(typeof this.callback!=="function"){K(Error("`callback` is not defined"));return}if(!this.promisifiedCallback)if(this.callback.length>=3)X4("Converting legacy callback function to promise"),this.promisifiedCallback=_8.default(this.callback);else this.promisifiedCallback=this.callback;if(typeof z==="number"&&z>0)Z=setTimeout(N,z);if("port"in G&&typeof G.port!=="number")G.port=Number(G.port);try{X4("Resolving socket for %o request: %o",G.protocol,`${Y.method} ${Y.path}`),Promise.resolve(this.promisifiedCallback(Y,G)).then(B,M)}catch(I){Promise.reject(I).catch(M)}}freeSocket(Y,W){X4("Freeing socket %o %o",Y.constructor.name,W),Y.destroy()}destroy(){X4("Destroying agent %o",this.constructor.name)}}$.Agent=Q,$.prototype=$.Agent.prototype})(j4||(j4={}));R5.exports=j4});var P5=J4((N4)=>{var R8=N4&&N4.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(N4,"__esModule",{value:!0});var q8=R8(M1()),z4=q8.default("https-proxy-agent:parse-proxy-response");function P8($){return new Promise((Q,Y)=>{let W=0,G=[];function J(){let B=$.read();if(B)M(B);else $.once("readable",J)}function Z(){$.removeListener("end",K),$.removeListener("error",N),$.removeListener("close",z),$.removeListener("readable",J)}function z(B){z4("onclose had error %o",B)}function K(){z4("onend")}function N(B){Z(),z4("onerror %o",B),Y(B)}function M(B){G.push(B),W+=B.length;let I=Buffer.concat(G,W);if(I.indexOf(`\r
5
+ \r
6
+ `)===-1){z4("have not received end of HTTP headers yet..."),J();return}let S=I.toString("ascii",0,I.indexOf(`\r
7
+ `)),q=+S.split(" ")[1];z4("got proxy server response: %o",S),Q({statusCode:q,buffered:I})}$.on("error",N),$.on("close",z),$.on("end",K),J()})}N4.default=P8});var E5=J4((E0)=>{var C8=E0&&E0.__awaiter||function($,Q,Y,W){function G(J){return J instanceof Y?J:new Y(function(Z){Z(J)})}return new(Y||(Y=Promise))(function(J,Z){function z(M){try{N(W.next(M))}catch(B){Z(B)}}function K(M){try{N(W.throw(M))}catch(B){Z(B)}}function N(M){M.done?J(M.value):G(M.value).then(z,K)}N((W=W.apply($,Q||[])).next())})},l0=E0&&E0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(E0,"__esModule",{value:!0});var C5=l0(K4("net")),O5=l0(K4("tls")),O8=l0(K4("url")),H8=l0(K4("assert")),E8=l0(M1()),A8=q5(),j8=l0(P5()),M4=E8.default("https-proxy-agent:agent");class H5 extends A8.Agent{constructor($){let Q;if(typeof $==="string")Q=O8.default.parse($);else Q=$;if(!Q)throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");M4("creating new HttpsProxyAgent instance: %o",Q);super(Q);let Y=Object.assign({},Q);if(this.secureProxy=Q.secureProxy||x8(Y.protocol),Y.host=Y.hostname||Y.host,typeof Y.port==="string")Y.port=parseInt(Y.port,10);if(!Y.port&&Y.host)Y.port=this.secureProxy?443:80;if(this.secureProxy&&!("ALPNProtocols"in Y))Y.ALPNProtocols=["http 1.1"];if(Y.host&&Y.path)delete Y.path,delete Y.pathname;this.proxy=Y}callback($,Q){return C8(this,void 0,void 0,function*(){let{proxy:Y,secureProxy:W}=this,G;if(W)M4("Creating `tls.Socket`: %o",Y),G=O5.default.connect(Y);else M4("Creating `net.Socket`: %o",Y),G=C5.default.connect(Y);let J=Object.assign({},Y.headers),z=`CONNECT ${`${Q.host}:${Q.port}`} HTTP/1.1\r
8
+ `;if(Y.auth)J["Proxy-Authorization"]=`Basic ${Buffer.from(Y.auth).toString("base64")}`;let{host:K,port:N,secureEndpoint:M}=Q;if(!b8(N,M))K+=`:${N}`;J.Host=K,J.Connection="close";for(let q of Object.keys(J))z+=`${q}: ${J[q]}\r
9
+ `;let B=j8.default(G);G.write(`${z}\r
10
+ `);let{statusCode:I,buffered:U}=yield B;if(I===200){if($.once("socket",k8),Q.secureEndpoint){M4("Upgrading socket connection to TLS");let q=Q.servername||Q.host;return O5.default.connect(Object.assign(Object.assign({},v8(Q,"host","hostname","path","port")),{socket:G,servername:q}))}return G}G.destroy();let S=new C5.default.Socket({writable:!1});return S.readable=!0,$.once("socket",(q)=>{M4("replaying proxy buffer for failed request"),H8.default(q.listenerCount("data")>0),q.push(U),q.push(null)}),S})}}E0.default=H5;function k8($){$.resume()}function b8($,Q){return Boolean(!Q&&$===80||Q&&$===443)}function x8($){return typeof $==="string"?/^https:?$/i.test($):!1}function v8($,...Q){let Y={},W;for(W in $)if(!Q.includes(W))Y[W]=$[W];return Y}});var j5=J4((I1,A5)=>{var y8=I1&&I1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},B1=y8(E5());function V1($){return new B1.default($)}(function($){$.HttpsProxyAgent=B1.default,$.prototype=B1.default.prototype})(V1||(V1={}));A5.exports=V1});var I0="1.18.1";var B4=()=>{};function V4($){let Q=/^([-+\w]{1,25}):(?:\/\/)?/.exec($);return Q&&Q[1]||""}var F1=()=>{};function U1($,Q,Y){let W=Y&&Y.Blob||j.classes.Blob,G=V4($);if(Q===void 0&&W)Q=!0;if(G==="data"){$=G.length?$.slice(G.length+1):$;let J=m8.exec($);if(!J)throw new V("Invalid URL",V.ERR_INVALID_URL);let Z=J[1],z=J[2],K=J[3]?"base64":"utf8",N=J[4],M="";if(Z)M=z?Z+z:Z;else if(z)M="text/plain"+z;let B=K==="base64"?Buffer.from(N,"base64"):Buffer.from(decodeURIComponent(N),K);if(Q){if(!W)throw new V("Blob is not supported",V.ERR_NOT_SUPPORT);return new W([B],{type:M})}return B}throw new V("Unsupported protocol "+G,V.ERR_NOT_SUPPORT)}var m8;var k5=T(()=>{t();F1();Z0();m8=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/});import f8 from"stream";var L1,b5,w1;var x5=T(()=>{x();L1=Symbol("internals");b5=class b5 extends f8.Transform{constructor($){$=X.toFlatObject($,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(Y,W)=>{return!X.isUndefined(W[Y])});super({readableHighWaterMark:$.chunkSize});let Q=this[L1]={timeWindow:$.timeWindow,chunkSize:$.chunkSize,maxRate:$.maxRate,minChunkSize:$.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(Y)=>{if(Y==="progress"){if(!Q.isCaptured)Q.isCaptured=!0}})}_read($){let Q=this[L1];if(Q.onReadCallback)Q.onReadCallback();return super._read($)}_transform($,Q,Y){let W=this[L1],G=W.maxRate,J=this.readableHighWaterMark,Z=W.timeWindow,z=1000/Z,K=G/z,N=W.minChunkSize!==!1?Math.max(W.minChunkSize,K*0.01):0,M=(I,U)=>{let S=Buffer.byteLength(I);if(W.bytesSeen+=S,W.bytes+=S,W.isCaptured&&this.emit("progress",W.bytesSeen),this.push(I))process.nextTick(U);else W.onReadCallback=()=>{W.onReadCallback=null,process.nextTick(U)}},B=(I,U)=>{let S=Buffer.byteLength(I),q=null,L=J,F,_=0;if(G){let R=Date.now();if(!W.ts||(_=R-W.ts)>=Z)W.ts=R,F=K-W.bytes,W.bytes=F<0?-F:0,_=0;F=K-W.bytes}if(G){if(F<=0)return setTimeout(()=>{U(null,I)},Z-_);if(F<L)L=F}if(L&&S>L&&S-L>N)q=I.subarray(L),I=I.subarray(0,L);M(I,q?()=>{process.nextTick(U,null,q)}:U)};B($,function I(U,S){if(U)return Y(U);if(S)B(S,I);else Y(null)})}};w1=b5});var v5,h8=async function*($){if($.stream)yield*$.stream();else if($.arrayBuffer)yield await $.arrayBuffer();else if($[v5])yield*$[v5]();else yield $},k4;var S1=T(()=>{({asyncIterator:v5}=Symbol),k4=h8});import g8 from"util";import{Readable as u8}from"stream";class y5{constructor($,Q){let{escapeName:Y}=this.constructor,W=X.isString(Q),G=`Content-Disposition: form-data; name="${Y($)}"${!W&&Q.name?`; filename="${Y(Q.name)}"`:""}${A0}`;if(W)Q=I4.encode(String(Q).replace(/\r?\n|\r\n?/g,A0));else{let J=String(Q.type||"application/octet-stream").replace(/[\r\n]/g,"");G+=`Content-Type: ${J}${A0}`}this.headers=I4.encode(G+A0),this.contentLength=W?Q.byteLength:Q.size,this.size=this.headers.byteLength+this.contentLength+l8,this.name=$,this.value=Q}async*encode(){yield this.headers;let{value:$}=this;if(X.isTypedArray($))yield $;else yield*k4($);yield d8}static escapeName($){return String($).replace(/[\r\n"]/g,(Q)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[Q])}}var c8,I4,A0=`\r
11
+ `,d8,l8=2,p8=($,Q,Y)=>{let{tag:W="form-data-boundary",size:G=25,boundary:J=W+"-"+j.generateString(G,c8)}=Y||{};if(!X.isFormData($))throw TypeError("FormData instance required");if(J.length<1||J.length>70)throw Error("boundary must be 1-70 characters long");let Z=I4.encode("--"+J+A0),z=I4.encode("--"+J+"--"+A0),K=z.byteLength,N=Array.from($.entries()).map(([B,I])=>{let U=new y5(B,I);return K+=U.size,U});K+=Z.byteLength*N.length,K=X.toFiniteNumber(K);let M={"Content-Type":`multipart/form-data; boundary=${J}`};if(Number.isFinite(K))M["Content-Length"]=K;return Q&&Q(M),u8.from(async function*(){for(let B of N)yield Z,yield*B.encode();yield z}())},m5;var f5=T(()=>{x();S1();Z0();c8=j.ALPHABET.ALPHA_DIGIT+"-_",I4=typeof TextEncoder==="function"?new TextEncoder:new g8.TextEncoder,d8=I4.encode(A0);m5=p8});import i8 from"stream";var h5,g5;var u5=T(()=>{h5=class h5 extends i8.Transform{__transform($,Q,Y){this.push($),Y()}_transform($,Q,Y){if($.length!==0){if(this._transform=this.__transform,$[0]!==120){let W=Buffer.alloc(2);W[0]=120,W[1]=156,this.push(W,Q)}}this.__transform($,Q,Y)}};g5=h5});import n8 from"http2";import a8 from"util";class c5{constructor(){this.sessions=Object.create(null)}getSession($,Q){Q=Object.assign({sessionTimeout:1000},Q);let Y=this.sessions[$];if(Y){let M=Y.length;for(let B=0;B<M;B++){let[I,U]=Y[B];if(!I.destroyed&&!I.closed&&a8.isDeepStrictEqual(U,Q))return I}}let W=n8.connect($,Q),G,J,Z=()=>{if(G)return;if(G=!0,J)clearTimeout(J),J=null;let M=Y,B=M.length,I=B;while(I--)if(M[I][0]===W){if(B===1)delete this.sessions[$];else M.splice(I,1);if(!W.closed)W.close();return}},z=W.request,{sessionTimeout:K}=Q;if(K!=null){let M=0;W.request=function(){let B=z.apply(this,arguments);if(M++,J)clearTimeout(J),J=null;return B.once("close",()=>{if(!--M)J=setTimeout(()=>{J=null,Z()},K)}),B}}W.once("close",Z);let N=[W,Q];return Y?Y.push(N):Y=this.sessions[$]=[N],W}}var d5;var l5=T(()=>{d5=c5});var s8=($,Q)=>{return X.isAsyncFn($)?function(...Y){let W=Y.pop();$.apply(this,Y).then((G)=>{try{Q?W(null,...Q(G)):W(null,G)}catch(J){W(J)}},W)}:$},p5;var i5=T(()=>{x();p5=s8});function _1($){let Q;try{Q=new URL($)}catch(J){return!1}let Y=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!Y)return!1;if(Y==="*")return!0;let W=Number.parseInt(Q.port,10)||e8[Q.protocol.split(":",1)[0]]||0,G=a5(Q.hostname.toLowerCase());return Y.split(/[\s,]+/).some((J)=>{if(!J)return!1;let[Z,z]=$Q(J);if(Z=a5(Z),!Z)return!1;if(z&&z!==W)return!1;if(Z.charAt(0)==="*")Z=Z.slice(1);if(Z.charAt(0)===".")return G.endsWith(Z);return G===Z||n5(G)&&n5(Z)})}var t8,s5=($)=>{let Q=$.split(".");if(Q.length!==4)return!1;if(Q[0]!=="127")return!1;return Q.every((Y)=>/^\d+$/.test(Y)&&Number(Y)>=0&&Number(Y)<=255)},D1=($)=>/^0{1,4}$/.test($),r8=($)=>{if($==="::")return!0;let Q=$.indexOf("::");if(Q!==-1){if(Q!==$.lastIndexOf("::"))return!1;let W=$.slice(0,Q),G=$.slice(Q+2),J=W?W.split(":"):[],Z=G?G.split(":"):[];return J.length+Z.length<8&&J.every(D1)&&Z.every(D1)}let Y=$.split(":");return Y.length===8&&Y.every(D1)},o8=($)=>{if($==="::1")return!0;let Q=$.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(Q)return s5(Q[1]);let Y=$.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(Y){let G=parseInt(Y[1],16);return G>=32512&&G<=32767}let W=$.split(":");if(W.length===8){for(let G=0;G<7;G++)if(!/^0+$/.test(W[G]))return!1;return/^0*1$/.test(W[7])}return!1},n5=($)=>{if(!$)return!1;if(t8.has($))return!0;if(s5($))return!0;if(r8($))return!0;return o8($)},e8,$Q=($)=>{let Q=$,Y=0;if(Q.charAt(0)==="["){let J=Q.indexOf("]");if(J!==-1){let Z=Q.slice(1,J),z=Q.slice(J+1);if(z.charAt(0)===":"&&/^\d+$/.test(z.slice(1)))Y=Number.parseInt(z.slice(1),10);return[Z,Y]}}let W=Q.indexOf(":"),G=Q.lastIndexOf(":");if(W!==-1&&W===G&&/^\d+$/.test(Q.slice(G+1)))Y=Number.parseInt(Q.slice(G+1),10),Q=Q.slice(0,G);return[Q,Y]},QQ,YQ,WQ=($)=>{if(typeof $!=="string"||$.indexOf(":")===-1)return $;let Q=$.match(QQ);if(Q)return Q[1];let Y=$.match(YQ);if(Y){let W=parseInt(Y[1],16),G=parseInt(Y[2],16);return`${W>>8}.${W&255}.${G>>8}.${G&255}`}return $},a5=($)=>{if(!$)return $;if($.charAt(0)==="["&&$.charAt($.length-1)==="]")$=$.slice(1,-1);return WQ($.replace(/\.+$/,""))};var t5=T(()=>{t8=new Set(["localhost","0.0.0.0"]),e8={http:80,https:443,ws:80,wss:443,ftp:21},QQ=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,YQ=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i});function GQ($,Q){$=$||10;let Y=Array($),W=Array($),G=0,J=0,Z;return Q=Q!==void 0?Q:1000,function(K){let N=Date.now(),M=W[J];if(!Z)Z=N;Y[G]=K,W[G]=N;let B=J,I=0;while(B!==G)I+=Y[B++],B=B%$;if(G=(G+1)%$,G===J)J=(J+1)%$;if(N-Z<Q)return;let U=M&&N-M;return U?Math.round(I*1000/U):void 0}}var r5;var o5=T(()=>{r5=GQ});function ZQ($,Q){let Y=0,W=1000/Q,G,J,Z=(N,M=Date.now())=>{if(Y=M,G=null,J)clearTimeout(J),J=null;$(...N)};return[(...N)=>{let M=Date.now(),B=M-Y;if(B>=W)Z(N,M);else if(G=N,!J)J=setTimeout(()=>{J=null,Z(G)},W-B)},()=>G&&Z(G)]}var e5;var $6=T(()=>{e5=ZQ});var F0=($,Q,Y=3)=>{let W=0,G=r5(50,250);return e5((J)=>{if(!J||typeof J.loaded!=="number")return;let Z=J.loaded,z=J.lengthComputable?J.total:void 0,K=z!=null?Math.min(Z,z):Z,N=Math.max(0,K-W),M=G(N);W=Math.max(W,K);let B={loaded:K,total:z,progress:z?K/z:void 0,bytes:N,rate:M?M:void 0,estimated:M&&z?(z-K)/M:void 0,event:J,lengthComputable:z!=null,[Q?"download":"upload"]:!0};$(B)},Y)},p0=($,Q)=>{let Y=$!=null;return[(W)=>Q[0]({lengthComputable:Y,total:$,loaded:W}),Q[1]]},i0=($)=>(...Q)=>X.asap(()=>$(...Q));var b4=T(()=>{o5();$6();x()});function F4($){if(!$||typeof $!=="string")return 0;if(!$.startsWith("data:"))return 0;let Q=$.indexOf(",");if(Q<0)return 0;let Y=$.slice(5,Q),W=$.slice(Q+1);if(/;base64/i.test(Y)){let{length:Z,length:z}=W;for(let U=0;U<z;U++)if(W.charCodeAt(U)===37&&U+2<z){let S=W.charCodeAt(U+1),q=W.charCodeAt(U+2);if(x4(S)&&x4(q))Z-=2,U+=2}let K=0,N=z-1,M=(U)=>U>=2&&W.charCodeAt(U-2)===37&&W.charCodeAt(U-1)===51&&(W.charCodeAt(U)===68||W.charCodeAt(U)===100);if(N>=0){if(W.charCodeAt(N)===61)K++,N--;else if(M(N))K++,N-=3}if(K===1&&N>=0){if(W.charCodeAt(N)===61)K++;else if(M(N))K++}let I=Math.floor(Z/4)*3-(K||0);return I>0?I:0}let J=0;for(let Z=0,z=W.length;Z<z;Z++){let K=W.charCodeAt(Z);if(K===37&&JQ(W,Z,z))J+=1,Z+=2;else if(K<128)J+=1;else if(K<2048)J+=2;else if(K>=55296&&K<=56319&&Z+1<z){let N=W.charCodeAt(Z+1);if(N>=56320&&N<=57343)J+=4,Z++;else J+=3}else J+=3}return J}var x4=($)=>$>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102,JQ=($,Q,Y)=>Q+2<Y&&x4($.charCodeAt(Q+1))&&x4($.charCodeAt(Q+2));var T1=()=>{};import M6 from"http";import B6 from"https";import zQ from"http2";import NQ from"util";import{resolve as Q6}from"path";import Y0 from"zlib";import J0 from"stream";import{EventEmitter as MQ}from"events";function wQ($,Q,Y){if(Y!=="content-only"){$.set(Q);return}Object.entries(Q).forEach(([W,G])=>{if(LQ.includes(W.toLowerCase()))$.set(W,G)})}function DQ($=process.versions&&process.versions.node){if(!$)return!1;let[Q,Y]=$.split(".").map((W)=>Number(W));if(!Number.isInteger(Q)||!Number.isInteger(Y))return!1;if(Q>24)return!0;return Z6[Q]!=null&&Y>=Z6[Q]}function _Q($,Q=process.versions&&process.versions.node){if(!DQ(Q))return!1;let Y=$&&$.options;return Boolean(Y&&X.hasOwnProp(Y,"proxyEnv")&&Y.proxyEnv!=null)}function TQ($,Q,Y){return q1.test($.protocol)?Y||B6.globalAgent:Q||M6.globalAgent}function RQ($,Q){let Y=$.protocol+"//"+$.hostname+":"+($.port||"")+"#"+($.auth||""),W=Q?G6.get(Q)||G6.set(Q,new Map).get(Q):SQ,G=W.get(Y);if(G)return G;let J=Q&&Q.options?{...Q.options,...$}:$;if(G=new R1.default(J),Q&&Q.options){let Z={...Q.options},z=G.callback;G.callback=function(N,M){return z.call(this,N,{...Z,...M})}}return G[L6]=!0,W.set(Y,G),G}function PQ($,Q,Y){if($.beforeRedirects.proxy)$.beforeRedirects.proxy($);if($.beforeRedirects.auth)$.beforeRedirects.auth($);if($.beforeRedirects.sensitiveHeaders)$.beforeRedirects.sensitiveHeaders($,Y);if($.beforeRedirects.config)$.beforeRedirects.config($,Q,Y)}function CQ($,Q){if(!$)return;Object.keys($).forEach((Y)=>{if(Q.has(Y.toLowerCase()))delete $[Y]})}function OQ($,Q){if(!Q)return!1;try{return new URL(Q.url).origin===new URL($.href).origin}catch(Y){return!1}}function w6($,Q,Y,W,G,J){let Z=Q,z=TQ($,J,G);if(!Z&&Z!==!1&&!_Q(z)){let K=N6(Y);if(K){if(!_1(Y))Z=new URL(K)}}if(W&&$.headers){for(let K of Object.keys($.headers))if(K.toLowerCase()==="proxy-authorization")delete $.headers[K]}if(W&&$.agent&&$.agent[L6])$.agent=void 0;if(Z){let K=Z instanceof URL,N=(S)=>K||X.hasOwnProp(Z,S)?Z[S]:void 0,M=N("username"),B=N("password"),I=X.hasOwnProp(Z,"auth")?Z.auth:void 0;if(M)I=(M||"")+":"+(B||"");if(I){let S=typeof I==="object",q=S&&X.hasOwnProp(I,"username")?I.username:void 0,L=S&&X.hasOwnProp(I,"password")?I.password:void 0;if(Boolean(q||L))I=(q||"")+":"+(L||"");else if(S)throw new V("Invalid proxy authorization",V.ERR_BAD_OPTION,{proxy:Z})}if(q1.test($.protocol)){if(!(G instanceof R1.default)){let S=N("hostname")||N("host"),q=N("port"),L=N("protocol"),F=L?L.includes(":")?L:`${L}:`:"http:",_=S&&S.includes(":")&&!S.startsWith("[")?`[${S}]`:S,R=new URL(`${F}//${_}${q?":"+q:""}`),O={protocol:R.protocol,hostname:R.hostname.replace(/^\[|\]$/g,""),port:R.port,auth:I&&typeof I==="string"?I:void 0};if(R.protocol==="https:")O.ALPNProtocols=["http/1.1"];let v=RQ(O,G);if($.agent=v,$.agents)$.agents.https=v}}else{if(I){let F=Buffer.from(I,"utf8").toString("base64");$.headers["Proxy-Authorization"]="Basic "+F}let S=!1;for(let F of Object.keys($.headers))if(F.toLowerCase()==="host"){S=!0;break}if(!S)$.headers.host=$.hostname+($.port?":"+$.port:"");let q=N("hostname")||N("host");$.hostname=q,$.host=q,$.port=N("port"),$.path=Y;let L=N("protocol");if(L)$.protocol=L.includes(":")?L:`${L}:`}}$.beforeRedirects.proxy=function(N){w6(N,Q,N.href,!0,G,J)}}var R1,V6,Y6,BQ,VQ,I6,F6,U6,IQ,FQ,UQ,q1,LQ,W6,v4,L6,SQ,G6,Z6,J6,X6=($)=>{if(!X.isString($))return $;try{return decodeURIComponent($)}catch(Q){return $}},K6=($,[Q,Y])=>{return $.on("end",Y).on("error",Y),Q},qQ,HQ,EQ=($)=>{return new Promise((Q,Y)=>{let W,G,J=(K,N)=>{if(G)return;G=!0,W&&W(K,N)},Z=(K)=>{J(K),Q(K)},z=(K)=>{J(K,!0),Y(K)};$(Z,z,(K)=>W=K).catch(z)})},AQ=({address:$,family:Q})=>{if(!X.isString($))throw TypeError("address must be a string");return{address:$,family:Q||($.indexOf(".")<0?6:4)}},z6=($,Q)=>AQ(X.isObject($)?$:{address:$,family:Q}),jQ,S6;var D6=T(()=>{x();E4();A4();C4();XQ();B4();W4();t();O0();Z0();k5();G0();x5();f5();S1();u5();l5();i5();t5();$4();b4();T1();R1=n4(j5(),1),V6=n4(KQ(),1),Y6={flush:Y0.constants.Z_SYNC_FLUSH,finishFlush:Y0.constants.Z_SYNC_FLUSH},BQ={flush:Y0.constants.BROTLI_OPERATION_FLUSH,finishFlush:Y0.constants.BROTLI_OPERATION_FLUSH},VQ={flush:Y0.constants.ZSTD_e_flush,finishFlush:Y0.constants.ZSTD_e_flush},I6=X.isFunction(Y0.createBrotliDecompress),F6=X.isFunction(Y0.createZstdDecompress),U6="gzip, compress, deflate"+(I6?", br":""),IQ=U6+(F6?", zstd":""),{http:FQ,https:UQ}=V6.default,q1=/https:?/,LQ=["content-type","content-length"];W6=Symbol("axios.http.socketListener"),v4=Symbol("axios.http.currentReq"),L6=Symbol("axios.http.installedTunnel"),SQ=new Map,G6=new WeakMap,Z6={22:21,24:5};J6=j.protocols.map(($)=>{return $+":"}),qQ=new d5;HQ=typeof process<"u"&&X.kindOf(process)==="process",jQ={request($,Q){let Y=$.protocol+"//"+$.hostname+":"+($.port||($.protocol==="https:"?443:80)),{http2Options:W,headers:G}=$,J=qQ.getSession(Y,W),{HTTP2_HEADER_SCHEME:Z,HTTP2_HEADER_METHOD:z,HTTP2_HEADER_PATH:K,HTTP2_HEADER_STATUS:N}=zQ.constants,M={[Z]:$.protocol.replace(":",""),[z]:$.method,[K]:$.path};X.forEach(G,(I,U)=>{U.charAt(0)!==":"&&(M[U]=I)});let B=J.request(M);return B.once("response",(I)=>{let U=B;I=Object.assign({},I);let S=I[N];delete I[N],U.headers=I,U.statusCode=+S,Q(U)}),B}},S6=HQ&&function(Q){return EQ(async function(W,G,J){let Z=(D)=>X.getSafeProp(Q,D),z=Z("transitional")||D0,K=Z("data"),N=Z("lookup"),M=Z("family"),B=Z("httpVersion");if(B===void 0)B=1;let I=Z("http2Options"),U=Z("httpAgent"),S=Z("httpsAgent"),q=Z("proxy"),L=Z("responseType"),F=Z("responseEncoding"),_=Z("socketPath"),R=Z("method").toUpperCase(),O=Z("maxRedirects"),v=Z("maxBodyLength"),k=Z("maxContentLength"),K0=Z("decompress"),j0,U0=!1,E,e;if(B=+B,Number.isNaN(B))throw TypeError(`Invalid protocol version: '${Q.httpVersion}' is not a number`);if(B!==1&&B!==2)throw TypeError(`Unsupported protocol version '${B}'`);let k0=B===2;if(N){let D=p5(N,(w)=>X.isArray(w)?w:[w]);N=(w,H,h)=>{D(w,H,(C,l,s)=>{if(C)return h(C);let u=X.isArray(l)?l.map((v0)=>z6(v0)):[z6(l,s)];H.all?h(C,u):h(C,u[0].address,u[0].family)})}}let L0=new MQ;function c(D){try{L0.emit("abort",!D||D.type?new $0(null,Q,E):D)}catch(w){}}function B0(){if(e)clearTimeout(e),e=null}function _0(){let D=Z("timeout"),w=D?"timeout of "+D+"ms exceeded":"timeout exceeded",H=Z("timeoutErrorMessage");if(H)w=H;return new V(w,z.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,Q,E)}L0.once("abort",G);let T0=()=>{if(B0(),Q.cancelToken)Q.cancelToken.unsubscribe(c);if(Q.signal)Q.signal.removeEventListener("abort",c);L0.removeAllListeners()};if(Q.cancelToken||Q.signal){if(Q.cancelToken&&Q.cancelToken.subscribe(c),Q.signal)Q.signal.aborted?c():Q.signal.addEventListener("abort",c)}J((D,w)=>{if(j0=!0,B0(),w){U0=!0,T0();return}let{data:H}=D;if(H instanceof J0.Readable||H instanceof J0.Duplex){let h=J0.finished(H,()=>{h(),T0()})}else T0()});let S4=H0(Z("baseURL"),Z("url"),Z("allowAbsoluteUrls"),Q),D4=_?"http://localhost":j.hasBrowserEnv?j.origin:void 0,m=new URL(S4,D4),f=m.protocol||J6[0];if(f==="data:"){if(k>-1){let w=String(Z("url")||S4||"");if(F4(w)>k)return G(new V("maxContentLength size of "+k+" exceeded",V.ERR_BAD_RESPONSE,Q))}let D;if(R!=="GET")return M0(W,G,{status:405,statusText:"method not allowed",headers:{},config:Q});try{D=U1(Z("url"),L==="blob",{Blob:Q.env&&Q.env.Blob})}catch(w){throw V.from(w,V.ERR_BAD_REQUEST,Q)}if(L==="text"){if(D=D.toString(F),!F||F==="utf8")D=X.stripBOM(D)}else if(L==="stream")D=J0.Readable.from(D);return M0(W,G,{data:D,status:200,statusText:"OK",headers:new y,config:Q})}if(J6.indexOf(f)===-1)return G(new V("Unsupported protocol "+f,V.ERR_BAD_REQUEST,Q));let g=y.from(Q.headers).normalize();g.set("User-Agent","axios/"+I0,!1);let{onUploadProgress:z0,onDownloadProgress:V0}=Q,R0=Q.maxRate,A=void 0,i=void 0;if(X.isSpecCompliantForm(K)){let D=g.getContentType(/boundary=([-_\w\d]{10,70})/i);K=m5(K,(w)=>{g.set(w)},{tag:`axios-${I0}-boundary`,boundary:D&&D[1]||void 0})}else if(X.isFormData(K)&&X.isFunction(K.getHeaders)&&K.getHeaders!==Object.prototype.getHeaders){if(wQ(g,K.getHeaders(),Z("formDataHeaderPolicy")),!g.hasContentLength())try{let D=await NQ.promisify(K.getLength).call(K);Number.isFinite(D)&&D>=0&&g.setContentLength(D)}catch(D){}}else if(X.isBlob(K)||X.isFile(K))K.size&&g.setContentType(K.type||"application/octet-stream"),g.setContentLength(K.size||0),K=J0.Readable.from(k4(K));else if(K&&!X.isStream(K)){if(Buffer.isBuffer(K));else if(X.isArrayBuffer(K))K=Buffer.from(new Uint8Array(K));else if(X.isString(K))K=Buffer.from(K,"utf-8");else return G(new V("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",V.ERR_BAD_REQUEST,Q));if(g.setContentLength(K.length,!1),v>-1&&K.length>v)return G(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,Q))}let b0=X.toFiniteNumber(g.getContentLength());if(X.isArray(R0))A=R0[0],i=R0[1];else A=i=R0;if(K&&(z0||A)){if(!X.isStream(K))K=J0.Readable.from(K,{objectMode:!1});K=J0.pipeline([K,new w1({maxRate:X.toFiniteNumber(A)})],X.noop),z0&&K.on("progress",K6(K,p0(b0,F0(i0(z0),!1,3))))}let N0=void 0,n0=Z("auth");if(n0){let D=X.getSafeProp(n0,"username")||"",w=X.getSafeProp(n0,"password")||"";N0=D+":"+w}if(!N0&&(m.username||m.password)){let D=X6(m.username),w=X6(m.password);N0=D+":"+w}N0&&g.delete("authorization");let a0;try{a0=C0(m.pathname+m.search,Z("params"),Z("paramsSerializer")).replace(/^\?/,"")}catch(D){return G(V.from(D,V.ERR_BAD_REQUEST,Q,null,null,{url:Z("url"),exists:!0}))}g.set("Accept-Encoding",X.hasOwnProp(z,"advertiseZstdAcceptEncoding")&&z.advertiseZstdAcceptEncoding===!0?IQ:U6,!1);let b=Object.assign(Object.create(null),{path:a0,method:R,headers:g0(g),agents:{http:U,https:S},auth:N0,protocol:f,family:M,beforeRedirect:PQ,beforeRedirects:Object.create(null),http2Options:I});if(!X.isUndefined(N)&&(b.lookup=N),_){if(typeof _!=="string")return G(new V("socketPath must be a string",V.ERR_BAD_OPTION_VALUE,Q));let D=Z("allowedSocketPaths");if(D!=null){let w=Array.isArray(D)?D:[D],H=Q6(_);if(!w.some((C)=>typeof C==="string"&&Q6(C)===H))return G(new V(`socketPath "${_}" is not permitted by allowedSocketPaths`,V.ERR_BAD_OPTION_VALUE,Q))}b.socketPath=_}else b.hostname=m.hostname.startsWith("[")?m.hostname.slice(1,-1):m.hostname,b.port=m.port,w6(b,q,f+"//"+m.hostname+(m.port?":"+m.port:"")+b.path,!1,S,U);let w0,x0=!1,Q0=!1,P=q1.test(b.protocol);if(b.agent==null)b.agent=P?S:U;if(k0)w0=jQ;else{let D=Z("transport");if(D)w0=D;else if(O===0)w0=P?B6:M6,x0=!0;else{if(Q0=!0,b.sensitiveHeaders=[],O)b.maxRedirects=O;let w=Z("beforeRedirect");if(w)b.beforeRedirects.config=w;if(N0){let h=m.origin,C=N0;b.beforeRedirects.auth=function(s){try{if(new URL(s.href).origin===h)s.auth=C}catch(u){}}}let H=Z("sensitiveHeaders");if(H!=null){if(!X.isArray(H))return G(new V("sensitiveHeaders must be an array of strings",V.ERR_BAD_OPTION_VALUE,Q));let h=new Set;for(let C of H){if(!X.isString(C))return G(new V("sensitiveHeaders must be an array of strings",V.ERR_BAD_OPTION_VALUE,Q));h.add(C.toLowerCase())}if(h.size)b.sensitiveHeaders=Array.from(h),b.beforeRedirects.sensitiveHeaders=function(l,s){if(!OQ(l,s))CQ(l.headers,h)}}w0=P?UQ:FQ}}if(v>-1)b.maxBodyLength=v;else b.maxBodyLength=1/0;b.insecureHTTPParser=Boolean(Z("insecureHTTPParser")),E=w0.request(b,function(w){if(B0(),E.destroyed)return;let H=[w],h=X.toFiniteNumber(w.headers["content-length"]);if(V0||i){let u=new w1({maxRate:X.toFiniteNumber(i)});V0&&u.on("progress",K6(u,p0(h,F0(i0(V0),!0,3)))),H.push(u)}let C=w,l=w.req||E;if(K0!==!1&&w.headers["content-encoding"]){if(R==="HEAD"||w.statusCode===204)delete w.headers["content-encoding"];switch((w.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":H.push(Y0.createUnzip(Y6)),delete w.headers["content-encoding"];break;case"deflate":H.push(new g5),H.push(Y0.createUnzip(Y6)),delete w.headers["content-encoding"];break;case"br":if(I6)H.push(Y0.createBrotliDecompress(BQ)),delete w.headers["content-encoding"];break;case"zstd":if(F6)H.push(Y0.createZstdDecompress(VQ)),delete w.headers["content-encoding"];break}}C=H.length>1?J0.pipeline(H,X.noop):H[0];let s={status:w.statusCode,statusText:w.statusMessage,headers:new y(w.headers),config:Q,request:l};if(L==="stream"){if(k>-1){let u=k,v0=C;async function*s0(){let p=0;for await(let v1 of v0){if(p+=v1.length,p>u)throw new V("maxContentLength size of "+u+" exceeded",V.ERR_BAD_RESPONSE,Q,l);yield v1}}C=J0.Readable.from(s0(),{objectMode:!1})}s.data=C,M0(W,G,s)}else{let u=[],v0=0;C.on("data",function(p){if(u.push(p),v0+=p.length,k>-1&&v0>k)U0=!0,C.destroy(),c(new V("maxContentLength size of "+k+" exceeded",V.ERR_BAD_RESPONSE,Q,l))}),C.on("aborted",function(){if(U0)return;let p=new V("stream has been aborted",V.ERR_BAD_RESPONSE,Q,l,s);C.destroy(p),G(p)}),C.on("error",function(p){if(U0)return;G(V.from(p,null,Q,l,s))}),C.on("end",function(){try{let p=u.length===1?u[0]:Buffer.concat(u);if(L!=="arraybuffer"){if(p=p.toString(F),!F||F==="utf8")p=X.stripBOM(p)}s.data=p}catch(p){return G(V.from(p,null,Q,s.request,s))}M0(W,G,s)})}L0.once("abort",(u)=>{if(!C.destroyed)C.emit("error",u),C.destroy()})}),L0.once("abort",(D)=>{if(E.close)E.close();else E.destroy(D)}),E.on("error",function(w){G(V.from(w,null,Q,E))});let n=new Set;if(E.on("socket",function(w){if(typeof w.setKeepAlive==="function")w.setKeepAlive(!0,60000);if(!w[W6])w.on("error",function(h){let C=w[v4];if(C&&!C.destroyed)C.destroy(h)}),w[W6]=!0;w[v4]=E,n.add(w)}),E.once("close",function(){B0();for(let w of n)if(w[v4]===E)w[v4]=null;n.clear()}),Z("timeout")){let D=parseInt(Z("timeout"),10);if(Number.isNaN(D)){c(new V("error trying to parse `config.timeout` to int",V.ERR_BAD_OPTION_VALUE,Q,E));return}let w=function(){if(j0)return;c(_0())};if(x0&&D>0)e=setTimeout(w,D);E.setTimeout(D,w)}else E.setTimeout(0);if(X.isStream(K)){let D=!1,w=!1;K.on("end",()=>{D=!0}),K.once("error",(h)=>{w=!0,E.destroy(h)}),K.on("close",()=>{if(!D&&!w)c(new $0("Request stream has been aborted",Q,E))});let H=K;if(v>-1&&!Q0){let h=v,C=0;H=J0.pipeline([K,new J0.Transform({transform(l,s,u){if(C+=l.length,C>h)return u(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,Q,E));u(null,l)}})],X.noop),H.on("error",(l)=>{if(!E.destroyed)E.destroy(l)})}H.pipe(E)}else K&&E.write(K),E.end()})}});var _6;var T6=T(()=>{Z0();_6=j.hasStandardBrowserEnv?(($,Q)=>(Y)=>{return Y=new URL(Y,j.origin),$.protocol===Y.protocol&&$.host===Y.host&&(Q||$.port===Y.port)})(new URL(j.origin),j.navigator&&/(msie|trident)/i.test(j.navigator.userAgent)):()=>!0});var R6;var q6=T(()=>{x();Z0();R6=j.hasStandardBrowserEnv?{write($,Q,Y,W,G,J,Z){if(typeof document>"u")return;let z=[`${$}=${encodeURIComponent(Q)}`];if(X.isNumber(Y))z.push(`expires=${new Date(Y).toUTCString()}`);if(X.isString(W))z.push(`path=${W}`);if(X.isString(G))z.push(`domain=${G}`);if(J===!0)z.push("secure");if(X.isString(Z))z.push(`SameSite=${Z}`);document.cookie=z.join("; ")},read($){if(typeof document>"u")return null;let Q=document.cookie.split(";");for(let Y=0;Y<Q.length;Y++){let W=Q[Y].replace(/^\s+/,""),G=W.indexOf("=");if(G!==-1&&W.slice(0,G)===$)try{return decodeURIComponent(W.slice(G+1))}catch(J){return W.slice(G+1)}}return null},remove($){this.write($,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}}});function X0($,Q){$=$||{},Q=Q||{};let Y=Object.create(null);Object.defineProperty(Y,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function W(M,B,I,U){if(X.isPlainObject(M)&&X.isPlainObject(B))return X.merge.call({caseless:U},M,B);else if(X.isPlainObject(B))return X.merge({},B);else if(X.isArray(B))return B.slice();return B}function G(M,B,I,U){if(!X.isUndefined(B))return W(M,B,I,U);else if(!X.isUndefined(M))return W(void 0,M,I,U)}function J(M,B){if(!X.isUndefined(B))return W(void 0,B)}function Z(M,B){if(!X.isUndefined(B))return W(void 0,B);else if(!X.isUndefined(M))return W(void 0,M)}function z(M){let B=X.hasOwnProp(Q,"transitional")?Q.transitional:void 0;if(!X.isUndefined(B))if(X.isPlainObject(B)){if(X.hasOwnProp(B,M))return B[M]}else return;let I=X.hasOwnProp($,"transitional")?$.transitional:void 0;if(X.isPlainObject(I)&&X.hasOwnProp(I,M))return I[M];return}function K(M,B,I){if(X.hasOwnProp(Q,I))return W(M,B);else if(X.hasOwnProp($,I))return W(void 0,M)}let N={url:J,method:J,data:J,baseURL:Z,transformRequest:Z,transformResponse:Z,paramsSerializer:Z,timeout:Z,timeoutMessage:Z,withCredentials:Z,withXSRFToken:Z,adapter:Z,responseType:Z,xsrfCookieName:Z,xsrfHeaderName:Z,onUploadProgress:Z,onDownloadProgress:Z,decompress:Z,maxContentLength:Z,maxBodyLength:Z,beforeRedirect:Z,transport:Z,httpAgent:Z,httpsAgent:Z,cancelToken:Z,socketPath:Z,allowedSocketPaths:Z,responseEncoding:Z,validateStatus:K,headers:(M,B,I)=>G(P6(M),P6(B),I,!0)};if(X.forEach(Object.keys({...$,...Q}),function(B){if(B==="__proto__"||B==="constructor"||B==="prototype")return;let I=X.hasOwnProp(N,B)?N[B]:G,U=X.hasOwnProp($,B)?$[B]:void 0,S=X.hasOwnProp(Q,B)?Q[B]:void 0,q=I(U,S,B);X.isUndefined(q)&&I!==K||(Y[B]=q)}),X.hasOwnProp(Q,"validateStatus")&&X.isUndefined(Q.validateStatus)&&z("validateStatusUndefinedResolves")===!1)if(X.hasOwnProp($,"validateStatus"))Y.validateStatus=W(void 0,$.validateStatus);else delete Y.validateStatus;return Y}var P6=($)=>$ instanceof y?{...$}:$;var y4=T(()=>{x();G0()});function bQ($,Q,Y){if(Y!=="content-only"){$.set(Q);return}Object.entries(Q||{}).forEach(([W,G])=>{if(kQ.includes(W.toLowerCase()))$.set(W,G)})}function vQ($){let Q=X0({},$),Y=(I)=>X.hasOwnProp(Q,I)?Q[I]:void 0,W=Y("data"),G=Y("withXSRFToken"),J=Y("xsrfHeaderName"),Z=Y("xsrfCookieName"),z=Y("headers"),K=Y("auth"),N=Y("baseURL"),M=Y("allowAbsoluteUrls"),B=Y("url");if(Q.headers=z=y.from(z),Q.url=C0(H0(N,B,M,Q),Y("params"),Y("paramsSerializer")),K){let I=X.getSafeProp(K,"username")||"",U=X.getSafeProp(K,"password")||"";try{z.set("Authorization","Basic "+btoa(I+":"+(U?xQ(U):"")))}catch(S){throw V.from(S,V.ERR_BAD_OPTION_VALUE,$)}}if(X.isFormData(W)){if(j.hasStandardBrowserEnv||j.hasStandardBrowserWebWorkerEnv||X.isReactNative(W))z.setContentType(void 0);else if(X.isFunction(W.getHeaders))bQ(z,W.getHeaders(),Y("formDataHeaderPolicy"))}if(j.hasStandardBrowserEnv){if(X.isFunction(G))G=G(Q);if(G===!0||G==null&&_6(Q.url)){let U=J&&Z&&R6.read(Z);if(U)z.set(J,U)}}return Q}var kQ,xQ=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Q,Y)=>String.fromCharCode(parseInt(Y,16))),m4;var P1=T(()=>{Z0();x();t();T6();q6();A4();y4();G0();C4();kQ=["content-type","content-length"];m4=vQ});var yQ,C6;var O6=T(()=>{x();E4();W4();t();O0();F1();Z0();G0();b4();P1();$4();yQ=typeof XMLHttpRequest<"u",C6=yQ&&function($){return new Promise(function(Y,W){let G=m4($),J=G.data,Z=y.from(G.headers).normalize(),{responseType:z,onUploadProgress:K,onDownloadProgress:N}=G,M,B,I,U,S;function q(){U&&U(),S&&S(),G.cancelToken&&G.cancelToken.unsubscribe(M),G.signal&&G.signal.removeEventListener("abort",M)}let L=new XMLHttpRequest;L.open(G.method.toUpperCase(),G.url,!0),L.timeout=G.timeout;function F(){if(!L)return;let R=y.from("getAllResponseHeaders"in L&&L.getAllResponseHeaders()),v={data:!z||z==="text"||z==="json"?L.responseText:L.response,status:L.status,statusText:L.statusText,headers:R,config:$,request:L};M0(function(K0){Y(K0),q()},function(K0){W(K0),q()},v),L=null}if("onloadend"in L)L.onloadend=F;else L.onreadystatechange=function(){if(!L||L.readyState!==4)return;if(L.status===0&&!(L.responseURL&&L.responseURL.startsWith("file:")))return;setTimeout(F)};if(L.onabort=function(){if(!L)return;W(new V("Request aborted",V.ECONNABORTED,$,L)),q(),L=null},L.onerror=function(O){let v=O&&O.message?O.message:"Network Error",k=new V(v,V.ERR_NETWORK,$,L);k.event=O||null,W(k),q(),L=null},L.ontimeout=function(){let O=G.timeout?"timeout of "+G.timeout+"ms exceeded":"timeout exceeded",v=G.transitional||D0;if(G.timeoutErrorMessage)O=G.timeoutErrorMessage;W(new V(O,v.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,$,L)),q(),L=null},J===void 0&&Z.setContentType(null),"setRequestHeader"in L)X.forEach(g0(Z),function(O,v){L.setRequestHeader(v,O)});if(!X.isUndefined(G.withCredentials))L.withCredentials=!!G.withCredentials;if(z&&z!=="json")L.responseType=G.responseType;if(N)[I,S]=F0(N,!0),L.addEventListener("progress",I);if(K&&L.upload)[B,U]=F0(K),L.upload.addEventListener("progress",B),L.upload.addEventListener("loadend",U);if(G.cancelToken||G.signal){if(M=(R)=>{if(!L)return;W(!R||R.type?new $0(null,$,L):R),L.abort(),q(),L=null},G.cancelToken&&G.cancelToken.subscribe(M),G.signal)G.signal.aborted?M():G.signal.addEventListener("abort",M)}let _=V4(G.url);if(_&&!j.protocols.includes(_)){W(new V("Unsupported protocol "+_+":",V.ERR_BAD_REQUEST,$)),q();return}L.send(J||null)})}});var mQ=($,Q)=>{if($=$?$.filter(Boolean):[],!Q&&!$.length)return;let Y=new AbortController,W=!1,G=function(K){if(!W){W=!0,Z();let N=K instanceof Error?K:this.reason;Y.abort(N instanceof V?N:new $0(N instanceof Error?N.message:N))}},J=Q&&setTimeout(()=>{J=null,G(new V(`timeout of ${Q}ms exceeded`,V.ETIMEDOUT))},Q),Z=()=>{if(!$)return;J&&clearTimeout(J),J=null,$.forEach((K)=>{K.unsubscribe?K.unsubscribe(G):K.removeEventListener("abort",G)}),$=null};$.forEach((K)=>K.addEventListener("abort",G,{once:!0}));let{signal:z}=Y;return z.unsubscribe=()=>X.asap(Z),z},H6;var E6=T(()=>{O0();t();x();H6=mQ});var fQ=function*($,Q){let Y=$.byteLength;if(!Q||Y<Q){yield $;return}let W=0,G;while(W<Y)G=W+Q,yield $.slice(W,G),W=G},hQ=async function*($,Q){for await(let Y of gQ($))yield*fQ(Y,Q)},gQ=async function*($){if($[Symbol.asyncIterator]){yield*$;return}let Q=$.getReader();try{for(;;){let{done:Y,value:W}=await Q.read();if(Y)break;yield W}}finally{await Q.cancel()}},C1=($,Q,Y,W)=>{let G=hQ($,Q),J=0,Z,z=(K)=>{if(!Z)Z=!0,W&&W(K)};return new ReadableStream({async pull(K){try{let{done:N,value:M}=await G.next();if(N){z(),K.close();return}let B=M.byteLength;if(Y){let I=J+=B;Y(I)}K.enqueue(new Uint8Array(M))}catch(N){throw z(N),N}},cancel(K){return z(K),G.return()}},{highWaterMark:2})};var A6=()=>{};var j6=65536,f4,uQ=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Q,Y)=>String.fromCharCode(parseInt(Y,16))),k6=($)=>{if(!X.isString($))return $;try{return decodeURIComponent($)}catch(Q){return $}},b6=($,...Q)=>{try{return!!$(...Q)}catch(Y){return!1}},cQ=($)=>{let Q=$.indexOf("://"),Y=$;if(Q!==-1)Y=Y.slice(Q+3);return Y.includes("@")||Y.includes(":")},dQ=($)=>{let Q=X.global!==void 0&&X.global!==null?X.global:globalThis,{ReadableStream:Y,TextEncoder:W}=Q;$=X.merge.call({skipUndefined:!0},{Request:Q.Request,Response:Q.Response},$);let{fetch:G,Request:J,Response:Z}=$,z=G?f4(G):typeof fetch==="function",K=f4(J),N=f4(Z);if(!z)return!1;let M=z&&f4(Y),B=z&&(typeof W==="function"?((F)=>(_)=>F.encode(_))(new W):async(F)=>new Uint8Array(await new J(F).arrayBuffer())),I=K&&M&&b6(()=>{let F=!1,_=new J(j.origin,{body:new Y,method:"POST",get duplex(){return F=!0,"half"}}),R=_.headers.has("Content-Type");if(_.body!=null)_.body.cancel();return F&&!R}),U=N&&M&&b6(()=>X.isReadableStream(new Z("").body)),S={stream:U&&((F)=>F.body)};z&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((F)=>{!S[F]&&(S[F]=(_,R)=>{let O=_&&_[F];if(O)return O.call(_);throw new V(`Response type '${F}' is not supported`,V.ERR_NOT_SUPPORT,R)})})})();let q=async(F)=>{if(F==null)return 0;if(X.isBlob(F))return F.size;if(X.isSpecCompliantForm(F))return(await new J(j.origin,{method:"POST",body:F}).arrayBuffer()).byteLength;if(X.isArrayBufferView(F)||X.isArrayBuffer(F))return F.byteLength;if(X.isURLSearchParams(F))F=F+"";if(X.isString(F))return(await B(F)).byteLength},L=async(F,_)=>{let R=X.toFiniteNumber(F.getContentLength());return R==null?q(_):R};return async(F)=>{let{url:_,method:R,data:O,signal:v,cancelToken:k,timeout:K0,onDownloadProgress:j0,onUploadProgress:U0,responseType:E,headers:e,withCredentials:k0="same-origin",fetchOptions:L0,maxContentLength:c,maxBodyLength:B0}=m4(F),_0=X.isNumber(c)&&c>-1,T0=X.isNumber(B0)&&B0>-1,S4=(A)=>X.hasOwnProp(F,A)?F[A]:void 0,D4=G||fetch;E=E?(E+"").toLowerCase():"text";let m=H6([v,k&&k.toAbortSignal()],K0),f=null,g=m&&m.unsubscribe&&(()=>{m.unsubscribe()}),z0,V0=null,R0=()=>new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,F,f);try{let A=void 0,i=S4("auth");if(i){let P=X.getSafeProp(i,"username")||"",n=X.getSafeProp(i,"password")||"";A={username:P,password:n}}if(cQ(_)){let P=new URL(_,j.origin);if(!A&&(P.username||P.password)){let n=k6(P.username),D=k6(P.password);A={username:n,password:D}}if(P.username||P.password)P.username="",P.password="",_=P.href}if(A)e.delete("authorization"),e.set("Authorization","Basic "+btoa(uQ((A.username||"")+":"+(A.password||""))));if(_0&&typeof _==="string"&&_.startsWith("data:")){if(F4(_)>c)throw new V("maxContentLength size of "+c+" exceeded",V.ERR_BAD_RESPONSE,F,f)}if(T0&&R!=="get"&&R!=="head"){let P=await q(O);if(typeof P==="number"&&isFinite(P)){if(z0=P,P>B0)throw R0()}}let b0=T0&&(X.isReadableStream(O)||X.isStream(O)),N0=(P,n,D)=>C1(P,j6,(w)=>{if(T0&&w>B0)throw V0=R0();n&&n(w)},D);if(I&&R!=="get"&&R!=="head"&&(U0||b0)){if(z0=z0==null?await L(e,O):z0,z0!==0||b0){let P=new J(_,{method:"POST",body:O,duplex:"half"}),n;if(X.isFormData(O)&&(n=P.headers.get("content-type")))e.setContentType(n);if(P.body){let[D,w]=U0&&p0(z0,F0(i0(U0)))||[];O=N0(P.body,D,w)}}}else if(b0&&!K&&M&&R!=="get"&&R!=="head")O=N0(O);else if(b0&&K&&!I&&R!=="get"&&R!=="head")throw new V("Stream request bodies are not supported by the current fetch implementation",V.ERR_NOT_SUPPORT,F,f);if(!X.isString(k0))k0=k0?"include":"omit";let n0=K&&"credentials"in J.prototype;if(X.isFormData(O)){let P=e.getContentType();if(P&&/^multipart\/form-data/i.test(P)&&!/boundary=/i.test(P))e.delete("content-type")}e.set("User-Agent","axios/"+I0,!1);let a0={...L0,signal:m,method:R.toUpperCase(),headers:g0(e.normalize()),body:O,duplex:"half",credentials:n0?k0:void 0};f=K&&new J(_,a0);let b=await(K?D4(f,L0):D4(_,a0)),w0=y.from(b.headers);if(_0){let P=X.toFiniteNumber(w0.getContentLength());if(P!=null&&P>c)throw new V("maxContentLength size of "+c+" exceeded",V.ERR_BAD_RESPONSE,F,f)}let x0=U&&(E==="stream"||E==="response");if(U&&b.body&&(j0||_0||x0&&g)){let P={};["status","statusText","headers"].forEach((C)=>{P[C]=b[C]});let n=X.toFiniteNumber(w0.getContentLength()),[D,w]=j0&&p0(n,F0(i0(j0),!0))||[],H=0,h=(C)=>{if(_0){if(H=C,H>c)throw new V("maxContentLength size of "+c+" exceeded",V.ERR_BAD_RESPONSE,F,f)}D&&D(C)};b=new Z(C1(b.body,j6,h,()=>{w&&w(),g&&g()}),P)}E=E||"text";let Q0=await S[X.findKey(S,E)||"text"](b,F);if(_0&&!U&&!x0){let P;if(Q0!=null){if(typeof Q0.byteLength==="number")P=Q0.byteLength;else if(typeof Q0.size==="number")P=Q0.size;else if(typeof Q0==="string")P=typeof W==="function"?new W().encode(Q0).byteLength:Q0.length}if(typeof P==="number"&&P>c)throw new V("maxContentLength size of "+c+" exceeded",V.ERR_BAD_RESPONSE,F,f)}return!x0&&g&&g(),await new Promise((P,n)=>{M0(P,n,{data:Q0,headers:y.from(b.headers),status:b.status,statusText:b.statusText,config:F,request:f})})}catch(A){if(g&&g(),m&&m.aborted&&m.reason instanceof V){let i=m.reason;if(i.config=F,f&&(i.request=f),A!==i)Object.defineProperty(i,"cause",{__proto__:null,value:A,writable:!0,enumerable:!1,configurable:!0});throw i}if(V0)throw f&&!V0.request&&(V0.request=f),V0;if(A instanceof V)throw f&&!A.request&&(A.request=f),A;if(A&&A.name==="TypeError"&&/Load failed|fetch/i.test(A.message)){let i=new V("Network Error",V.ERR_NETWORK,F,f,A&&A.response);throw Object.defineProperty(i,"cause",{__proto__:null,value:A.cause||A,writable:!0,enumerable:!1,configurable:!0}),i}throw V.from(A,A&&A.code,F,f,A&&A.response)}}},lQ,O1=($)=>{let Q=$&&$.env||{},{fetch:Y,Request:W,Response:G}=Q,J=[W,G,Y],Z=J.length,z=Z,K,N,M=lQ;while(z--)K=J[z],N=M.get(K),N===void 0&&M.set(K,N=z?new Map:dQ(Q)),M=N;return N},B9;var x6=T(()=>{Z0();x();t();E6();A6();G0();b4();P1();E4();T1();B4();$4();({isFunction:f4}=X),lQ=new Map,B9=O1()});function nQ($,Q){$=X.isArray($)?$:[$];let{length:Y}=$,W,G,J={};for(let Z=0;Z<Y;Z++){W=$[Z];let z;if(G=W,!iQ(W)){if(G=H1[(z=String(W)).toLowerCase()],G===void 0)throw new V(`Unknown adapter '${z}'`)}if(G&&(X.isFunction(G)||(G=G.get(Q))))break;J[z||"#"+Z]=G}if(!G){let Z=Object.entries(J).map(([K,N])=>`adapter ${K} `+(N===!1?"is not supported by the environment":"is not available in the build")),z=Y?Z.length>1?`since :
12
+ `+Z.map(v6).join(`
13
+ `):" "+v6(Z[0]):"as no adapter specified";throw new V("There is no suitable adapter to dispatch the request "+z,V.ERR_NOT_SUPPORT)}return G}var H1,v6=($)=>`- ${$}`,iQ=($)=>X.isFunction($)||$===null||$===!1,h4;var E1=T(()=>{x();D6();O6();x6();t();H1={http:S6,xhr:C6,fetch:{get:O1}};X.forEach(H1,($,Q)=>{if($){try{Object.defineProperty($,"name",{__proto__:null,value:Q})}catch(Y){}Object.defineProperty($,"adapterName",{__proto__:null,value:Q})}});h4={getAdapter:nQ,adapters:H1}});function A1($){if($.cancelToken)$.cancelToken.throwIfRequested();if($.signal&&$.signal.aborted)throw new $0(null,$)}function g4($){if(A1($),$.headers=y.from($.headers),$.data=G4.call($,$.transformRequest),["post","put","patch"].indexOf($.method)!==-1)$.headers.setContentType("application/x-www-form-urlencoded",!1);return h4.getAdapter($.adapter||d0.adapter,$)($).then(function(W){A1($),$.response=W;try{W.data=G4.call($,$.transformResponse,W)}finally{delete $.response}return W.headers=y.from(W.headers),W},function(W){if(!Z4(W)){if(A1($),W&&W.response){$.response=W.response;try{W.response.data=G4.call($,$.transformResponse,W.response)}finally{delete $.response}W.response.headers=y.from(W.response.headers)}}return Promise.reject(W)})}var y6=T(()=>{F5();J1();H4();O0();G0();E1()});function aQ($,Q,Y){if(typeof $!=="object"||$===null)throw new V("options must be an object",V.ERR_BAD_OPTION_VALUE);let W=Object.keys($),G=W.length;while(G-- >0){let J=W[G],Z=Object.prototype.hasOwnProperty.call(Q,J)?Q[J]:void 0;if(Z){let z=$[J],K=z===void 0||Z(z,J,$);if(K!==!0)throw new V("option "+J+" must be "+K,V.ERR_BAD_OPTION_VALUE);continue}if(Y!==!0)throw new V("Unknown option "+J,V.ERR_BAD_OPTION)}}var u4,m6,U4;var f6=T(()=>{B4();t();u4={};["object","boolean","number","function","string","symbol"].forEach(($,Q)=>{u4[$]=function(W){return typeof W===$||"a"+(Q<1?"n ":" ")+$}});m6={};u4.transitional=function(Q,Y,W){function G(J,Z){return"[Axios v"+I0+"] Transitional option '"+J+"'"+Z+(W?". "+W:"")}return(J,Z,z)=>{if(Q===!1)throw new V(G(Z," has been removed"+(Y?" in "+Y:"")),V.ERR_DEPRECATED);if(Y&&!m6[Z])m6[Z]=!0,console.warn(G(Z," has been deprecated since v"+Y+" and will be removed in the near future"));return Q?Q(J,Z,z):!0}};u4.spelling=function(Q){return(Y,W)=>{return console.warn(`${W} is likely a misspelling of ${Q}`),!0}};U4={assertOptions:aQ,validators:u4}});class L4{constructor($){this.defaults=$||{},this.interceptors={request:new o4,response:new o4}}async request($,Q){try{return await this._request($,Q)}catch(Y){if(Y instanceof Error){let W={};Error.captureStackTrace?Error.captureStackTrace(W):W=Error();let G=(()=>{if(!W.stack)return"";let J=W.stack.indexOf(`
14
+ `);return J===-1?"":W.stack.slice(J+1)})();try{if(!Y.stack)Y.stack=G;else if(G){let J=G.indexOf(`
15
+ `),Z=J===-1?-1:G.indexOf(`
16
+ `,J+1),z=Z===-1?"":G.slice(Z+1);if(!String(Y.stack).endsWith(z))Y.stack+=`
17
+ `+G}}catch(J){}}throw Y}}_request($,Q){if(typeof $==="string")Q=Q||{},Q.url=$;else Q=$||{};Q=X0(this.defaults,Q);let{transitional:Y,paramsSerializer:W,headers:G}=Q;if(Y!==void 0)U4.assertOptions(Y,{silentJSONParsing:r.transitional(r.boolean),forcedJSONParsing:r.transitional(r.boolean),clarifyTimeoutError:r.transitional(r.boolean),legacyInterceptorReqResOrdering:r.transitional(r.boolean),advertiseZstdAcceptEncoding:r.transitional(r.boolean),validateStatusUndefinedResolves:r.transitional(r.boolean)},!1);if(W!=null)if(X.isFunction(W))Q.paramsSerializer={serialize:W};else U4.assertOptions(W,{encode:r.function,serialize:r.function},!0);if(Q.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)Q.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else Q.allowAbsoluteUrls=!0;U4.assertOptions(Q,{baseUrl:r.spelling("baseURL"),withXsrfToken:r.spelling("withXSRFToken")},!0),Q.method=(Q.method||this.defaults.method||"get").toLowerCase();let J=G&&X.merge(G.common,G[Q.method]);G&&X.forEach(["delete","get","head","post","put","patch","query","common"],(U)=>{delete G[U]}),Q.headers=y.concat(J,G);let Z=[],z=!0;this.interceptors.request.forEach(function(S){if(typeof S.runWhen==="function"&&S.runWhen(Q)===!1)return;z=z&&S.synchronous;let q=Q.transitional||D0;if(q&&q.legacyInterceptorReqResOrdering)Z.unshift(S.fulfilled,S.rejected);else Z.push(S.fulfilled,S.rejected)});let K=[];this.interceptors.response.forEach(function(S){K.push(S.fulfilled,S.rejected)});let N,M=0,B;if(!z){let U=[g4.bind(this),void 0];U.unshift(...Z),U.push(...K),B=U.length,N=Promise.resolve(Q);while(M<B)N=N.then(U[M++],U[M++]);return N}B=Z.length;let I=Q;while(M<B){let U=Z[M++],S=Z[M++];try{I=U(I)}catch(q){S.call(this,q);break}}try{N=g4.call(this,I)}catch(U){return Promise.reject(U)}M=0,B=K.length;while(M<B)N=N.then(K[M++],K[M++]);return N}getUri($){$=X0(this.defaults,$);let Q=H0($.baseURL,$.url,$.allowAbsoluteUrls,$);return C0(Q,$.params,$.paramsSerializer)}}var r,w4;var h6=T(()=>{x();C4();G5();y6();y4();A4();f6();G0();W4();r=U4.validators;X.forEach(["delete","get","head","options"],function(Q){L4.prototype[Q]=function(Y,W){return this.request(X0(W||{},{method:Q,url:Y,data:W&&X.hasOwnProp(W,"data")?W.data:void 0}))}});X.forEach(["post","put","patch","query"],function(Q){function Y(W){return function(J,Z,z){return this.request(X0(z||{},{method:Q,headers:W?{"Content-Type":"multipart/form-data"}:{},url:J,data:Z}))}}if(L4.prototype[Q]=Y(),Q!=="query")L4.prototype[Q+"Form"]=Y(!0)});w4=L4});class j1{constructor($){if(typeof $!=="function")throw TypeError("executor must be a function.");let Q;this.promise=new Promise(function(G){Q=G});let Y=this;this.promise.then((W)=>{if(!Y._listeners)return;let G=Y._listeners.length;while(G-- >0)Y._listeners[G](W);Y._listeners=null}),this.promise.then=(W)=>{let G,J=new Promise((Z)=>{Y.subscribe(Z),G=Z}).then(W);return J.cancel=function(){Y.unsubscribe(G)},J},$(function(G,J,Z){if(Y.reason)return;Y.reason=new $0(G,J,Z),Q(Y.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 Q=this._listeners.indexOf($);if(Q!==-1)this._listeners.splice(Q,1)}toAbortSignal(){let $=new AbortController,Q=(Y)=>{$.abort(Y)};return this.subscribe(Q),$.signal.unsubscribe=()=>this.unsubscribe(Q),$.signal}static source(){let $;return{token:new j1(function(W){$=W}),cancel:$}}}var g6;var u6=T(()=>{O0();g6=j1});function k1($){return function(Y){return $.apply(null,Y)}}var c6=()=>{};function b1($){return X.isObject($)&&$.isAxiosError===!0}var d6=T(()=>{x()});var x1,l6;var p6=T(()=>{x1={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(x1).forEach(([$,Q])=>{x1[Q]=$});l6=x1});function i6($){let Q=new w4($),Y=t0(w4.prototype.request,Q);return X.extend(Y,w4.prototype,Q,{allOwnKeys:!0}),X.extend(Y,Q,null,{allOwnKeys:!0}),Y.create=function(G){return i6(X0($,G))},Y}var d,n6;var a6=T(()=>{x();c4();h6();y4();H4();G1();O0();u6();J1();B4();u0();t();c6();d6();G0();E1();p6();d=i6(d0);d.Axios=w4;d.CanceledError=$0;d.CancelToken=g6;d.isCancel=Z4;d.VERSION=I0;d.toFormData=S0;d.AxiosError=V;d.Cancel=d.CanceledError;d.all=function(Q){return Promise.all(Q)};d.spread=k1;d.isAxiosError=b1;d.mergeConfig=X0;d.AxiosHeaders=y;d.formToJSON=($)=>O4(X.isHTMLForm($)?new FormData($):$);d.getAdapter=h4.getAdapter;d.HttpStatusCode=l6;d.default=d;n6=d});var z2,N2,M2,B2,V2,I2,F2,U2,L2,w2,S2,D2,_2,T2,R2,q2,P2;var sQ=T(()=>{a6();({Axios:z2,AxiosError:N2,CanceledError:M2,isCancel:B2,CancelToken:V2,VERSION:I2,all:F2,Cancel:U2,isAxiosError:L2,spread:w2,toFormData:S2,AxiosHeaders:D2,HttpStatusCode:_2,formToJSON:T2,getAdapter:R2,mergeConfig:q2,create:P2}=n6)});
18
+ export{n6 as Kqa,z2 as Lqa,N2 as Mqa,M2 as Nqa,B2 as Oqa,V2 as Pqa,I2 as Qqa,F2 as Rqa,U2 as Sqa,L2 as Tqa,w2 as Uqa,S2 as Vqa,D2 as Wqa,_2 as Xqa,T2 as Yqa,R2 as Zqa,q2 as _qa,P2 as $qa,sQ as ara};
@@ -0,0 +1,2 @@
1
+ import{DL as M,FL as P,KL as m,LL as h,PL as c,jp as L,kp as D,lp as O,op as _,pp as S,qL as R,uL as b,xL as w}from"./cli-1.0.5-hq3f080w.mjs";import{Bba as x,Jba as T,Kfa as N,Nca as B,Pca as A,Sca as C,Sfa as j,ada as E}from"./cli-1.0.5-9m4a2113.mjs";import{Cha as U,Dha as v}from"./cli-1.0.5-br28xg7b.mjs";import{sja as G,vja as F}from"./cli-1.0.5-a0zsx9k5.mjs";import{zra as y}from"./cli-1.0.5-73mr16hn.mjs";import{join as I}from"path";async function qq(){let q=C(),z=[],W=L();for(let[K,Q]of Object.entries(W))if(K.includes("@")&&Q)z.push(K);if(q.enabledPlugins)for(let[K,Q]of Object.entries(q.enabledPlugins)){if(!K.includes("@"))continue;let J=z.indexOf(K);if(Q){if(J===-1)z.push(K)}else if(J!==-1)z.splice(J,1)}return z}function zq(){let q=new Map,z=L();for(let[K,Q]of Object.entries(z)){if(!K.includes("@"))continue;if(Q===!0)q.set(K,"flag");else if(Q===!1)q.delete(K)}let W=[{scope:"managed",source:"policySettings"},{scope:"user",source:"userSettings"},{scope:"project",source:"projectSettings"},{scope:"local",source:"localSettings"},{scope:"flag",source:"flagSettings"}];for(let{scope:K,source:Q}of W){let J=B(Q);if(!J?.enabledPlugins)continue;for(let[V,Y]of Object.entries(J.enabledPlugins)){if(!V.includes("@"))continue;if(V in z&&z[V]!==Y)G(`Plugin ${V} from --add-dir (${z[V]}) overridden by ${Q} (${Y})`);if(Y===!0)q.set(V,K);else if(Y===!1)q.delete(V)}}return G(`Found ${q.size} enabled plugins with scopes: ${Array.from(q.entries()).map(([K,Q])=>`${K}(${Q})`).join(", ")}`),q}function Jq(q){return q!=="flag"}function Kq(q){return O[q]}async function p(){M().catch((W)=>{N(W)});let q=w(),z=Object.keys(q.plugins);return G(`Found ${z.length} installed plugins`),z}async function Qq(q){try{let z=await p(),W=q.filter((J)=>!z.includes(J));return(await Promise.all(W.map(async(J)=>{try{let V=await R(J);return{pluginId:J,found:V!==null&&V!==void 0}}catch(V){return G(`Failed to check plugin ${J} in marketplace: ${V}`),{pluginId:J,found:!1}}}))).filter(({found:J})=>J).map(({pluginId:J})=>J)}catch(z){return N(z),[]}}async function Vq(q,z,W="user"){let K=W!=="user"?U():void 0,Q=_(W),J=B(Q),V={...J?.enabledPlugins},Y=[],k=[];for(let H=0;H<q.length;H++){let X=q[H];if(!X)continue;if(z)z(X,H+1,q.length);try{let Z=await R(X);if(!Z){k.push({name:X,error:"Plugin not found in any marketplace"});continue}let{entry:$,marketplaceInstallLocation:f}=Z;if(!x($.source))await m(X,$,W,K);else h({pluginId:X,installPath:I(f,$.source),version:$.version},W,K);V[X]=!0,Y.push(X)}catch(Z){let $=Z instanceof Error?Z.message:String(Z);k.push({name:X,error:$}),N(Z)}}return A(Q,{...J,enabledPlugins:V}),{installed:Y,failed:k}}var a=y(()=>{v();F();j();E();D();P();b();S();c();T()});
2
+ export{qq as Zd,zq as _d,Jq as $d,Kq as ae,p as be,Qq as ce,Vq as de,a as ee};
@@ -0,0 +1,34 @@
1
+ import{J0 as IT,a0 as X,g0 as JT,h0 as ST}from"./cli-1.0.5-7b347m92.mjs";import{t8 as K,u8 as VT}from"./cli-1.0.5-vr3tqxgz.mjs";import{$$ as FT,Baa as Q,Daa as UT,Kfa as H,P$ as s,Qda as z,R9 as Y,R_ as BT,S_ as _T,Sfa as n,T9 as o,Tda as V,W$ as XT,Zda as l,_da as d,caa as qT,daa as OT,mea as D,rda as f,tda as YT}from"./cli-1.0.5-9m4a2113.mjs";import{Cha as E,Dha as QT}from"./cli-1.0.5-br28xg7b.mjs";import{Xia as GT,Yia as $T,aja as zT,eja as P,ija as KT}from"./cli-1.0.5-a0zsx9k5.mjs";import{Xja as u,Zja as LT}from"./cli-1.0.5-k8de6zdd.mjs";import{nqa as r,oqa as ZT}from"./cli-1.0.5-7vf1pr3c.mjs";import{zra as I}from"./cli-1.0.5-73mr16hn.mjs";function m(){let T=f(E(),P().existsSync)!==null,w=s(E());return[{key:"workspace",text:"Ask Claude to create a new app or clone a repository",isComplete:!1,isCompletable:!0,isEnabled:w},{key:"claudemd",text:"Set up repo instructions (/init creates AGENTS.md or updates existing CLAUDE.md; either file counts)",isComplete:T,isCompletable:!0,isEnabled:!w}]}function M(){return m().filter(({isCompletable:T,isEnabled:w})=>T&&w).every(({isComplete:T})=>T)}var k=I(()=>{QT();XT();KT();YT()});function a(){if(l().hasCompletedProjectOnboarding)return;if(M())d((T)=>({...T,hasCompletedProjectOnboarding:!0}))}var fT;var h=I(()=>{ZT();D();k();k();fT=r(()=>{let T=l();if(T.hasCompletedProjectOnboarding||T.projectOnboardingSeenCount>=4||process.env.IS_DEMO)return!1;return!M()})});import{stat as i}from"fs/promises";import{homedir as xT}from"os";import{join as HT}from"path";function RT(T){z((w)=>({...w,appleTerminalSetupInProgress:!0,appleTerminalBackupPath:T}))}function L(){z((T)=>({...T,appleTerminalSetupInProgress:!1}))}function WT(){let T=V();return{inProgress:T.appleTerminalSetupInProgress??!1,backupPath:T.appleTerminalBackupPath||null}}function _(){return HT(xT(),"Library","Preferences","com.apple.Terminal.plist")}async function t(){let T=_(),w=`${T}.bak`;try{let{code:v}=await Y("defaults",["export","com.apple.Terminal",T]);if(v!==0)return null;try{await i(T)}catch{return null}return await Y("defaults",["export","com.apple.Terminal",w]),RT(w),w}catch(v){return H(v),null}}async function e(){let{inProgress:T,backupPath:w}=WT();if(!T)return{status:"no_backup"};if(!w)return L(),{status:"no_backup"};try{await i(w)}catch{return L(),{status:"no_backup"}}try{let{code:v}=await Y("defaults",["import","com.apple.Terminal",w]);if(v!==0)return{status:"failed",backupPath:w};return await Y("killall",["cfprefsd"]),L(),{status:"restored"}}catch(v){return H(Error(`Failed to restore Terminal.app settings with: ${v}`)),L(),{status:"failed",backupPath:w}}}var TT=I(()=>{D();o();n()});import{randomBytes as y}from"crypto";import{copyFile as N,mkdir as c,readFile as p,writeFile as C}from"fs/promises";import{homedir as g,platform as A}from"os";import{dirname as MT,join as R}from"path";import{pathToFileURL as AT}from"url";function jT(){let T=process.env.VSCODE_GIT_ASKPASS_MAIN??"",w=process.env.PATH??"";return T.includes(".vscode-server")||T.includes(".cursor-server")||T.includes(".windsurf-server")||w.includes(".vscode-server")||w.includes(".cursor-server")||w.includes(".windsurf-server")}function Ww(){if(!Q.terminal||!(Q.terminal in j))return null;return j[Q.terminal]??null}function Z(T){if(!JT())return T;return`\x1B]8;;${AT(T).href}\x07${T}\x1B]8;;\x07`}function uT(){return A()==="darwin"&&Q.terminal==="Apple_Terminal"||Q.terminal==="vscode"||Q.terminal==="cursor"||Q.terminal==="windsurf"||Q.terminal==="alacritty"||Q.terminal==="zed"}async function ET(T){let w="";switch(Q.terminal){case"Apple_Terminal":w=await kT(T);break;case"vscode":w=await b("VSCode",T);break;case"cursor":w=await b("Cursor",T);break;case"windsurf":w=await b("Windsurf",T);break;case"alacritty":w=await lT(T);break;case"zed":w=await DT(T);break;case null:break}return z((v)=>{if(["vscode","cursor","windsurf","alacritty","zed"].includes(Q.terminal??"")){if(v.shiftEnterKeyBindingInstalled===!0)return v;return{...v,shiftEnterKeyBindingInstalled:!0}}else if(Q.terminal==="Apple_Terminal"){if(v.optionAsMetaKeyInstalled===!0)return v;return{...v,optionAsMetaKeyInstalled:!0}}return v}),a(),w}function Lw(){return V().shiftEnterKeyBindingInstalled===!0}function zw(){return V().hasUsedBackslashReturn===!0}function Vw(){if(!V().hasUsedBackslashReturn)z((w)=>({...w,hasUsedBackslashReturn:!0}))}async function _w(T,w,v){if(Q.terminal&&Q.terminal in j){let $=`Shift+Enter is natively supported in ${j[Q.terminal]}.
2
+
3
+ No configuration needed. Just use Shift+Enter to add newlines.`;return T($),null}if(!uT()){let $=Q.terminal||"your current terminal",B=BT(),J="";if(B==="macos")J=` • macOS: Apple Terminal
4
+ `;else if(B==="windows")J=` • Windows: Windows Terminal
5
+ `;let F=`Terminal setup cannot be run from ${$}.
6
+
7
+ This command configures a convenient Shift+Enter shortcut for multi-line prompts.
8
+ ${K.dim("Note: You can already use backslash (\\\\) + return to add newlines.")}
9
+
10
+ To set up the shortcut (optional):
11
+ 1. Exit tmux/screen temporarily
12
+ 2. Run /terminal-setup directly in one of these terminals:
13
+ ${J} • IDE: VSCode, Cursor, Windsurf, Zed
14
+ • Other: Alacritty
15
+ 3. Return to tmux/screen - settings will persist
16
+
17
+ ${K.dim("Note: iTerm2, WezTerm, Ghostty, Kitty, and Warp support Shift+Enter natively.")}`;return T(F),null}let q=await ET(w.options.theme);return T(q),null}async function b(T="VSCode",w){if(jT())return`${X("warning",w)(`Cannot install keybindings from a remote ${T} session.`)}${G}${G}${T} keybindings must be installed on your local machine, not the remote server.${G}${G}To install the Shift+Enter keybinding:${G}1. Open ${T} on your local machine (not connected to remote)${G}2. Open the Command Palette (Cmd/Ctrl+Shift+P) → "Preferences: Open Keyboard Shortcuts (JSON)"${G}3. Add this keybinding (the file must be a JSON array):${G}${G}${K.dim(`[
18
+ {
19
+ "key": "shift+enter",
20
+ "command": "workbench.action.terminal.sendSequence",
21
+ "args": { "text": "\\u001b\\r" },
22
+ "when": "terminalFocus"
23
+ }
24
+ ]`)}${G}`;let v=T==="VSCode"?"Code":T,q=R(g(),A()==="win32"?R("AppData","Roaming",v,"User"):A()==="darwin"?R("Library","Application Support",v,"User"):R(".config",v,"User")),$=R(q,"keybindings.json");try{await c(q,{recursive:!0});let B="[]",J=[],F=!1;try{B=await p($,{encoding:"utf-8"}),F=!0,J=FT(B)??[]}catch(x){if(!u(x))throw x}if(F){let x=y(4).toString("hex"),S=`${$}.${x}.bak`;try{await N($,S)}catch{return`${X("warning",w)(`Error backing up existing ${T} terminal keybindings. Bailing out.`)}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(S)}`)}${G}`}}if(J.find((x)=>x.key==="shift+enter"&&x.command==="workbench.action.terminal.sendSequence"&&x.when==="terminalFocus"))return`${X("warning",w)(`Found existing ${T} terminal Shift+Enter key binding. Remove it to continue.`)}${G}${K.dim(`See ${Z($)}`)}${G}`;let U=qT(B,{key:"shift+enter",command:"workbench.action.terminal.sendSequence",args:{text:"\x1B\r"},when:"terminalFocus"});return await C($,U,{encoding:"utf-8"}),`${X("success",w)(`Installed ${T} terminal Shift+Enter key binding`)}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(B){throw H(B),Error(`Failed to install ${T} terminal Shift+Enter key binding`)}}async function wT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':useOptionAsMetaKey bool true`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':useOptionAsMetaKey true`,_()]);if(v!==0)return H(Error(`Failed to enable Option as Meta key for Terminal.app profile: ${T}`)),!1}return!0}async function vT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':Bell bool false`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':Bell false`,_()]);if(v!==0)return H(Error(`Failed to disable audio bell for Terminal.app profile: ${T}`)),!1}return!0}async function kT(T){try{if(!await t())throw Error("Failed to create backup of Terminal.app preferences, bailing out");let{stdout:v,code:q}=await Y("defaults",["read","com.apple.Terminal","Default Window Settings"]);if(q!==0||!v.trim())throw Error("Failed to read default Terminal.app profile");let{stdout:$,code:B}=await Y("defaults",["read","com.apple.Terminal","Startup Window Settings"]);if(B!==0||!$.trim())throw Error("Failed to read startup Terminal.app profile");let J=!1,F=v.trim(),W=await wT(F),O=await vT(F);if(W||O)J=!0;let U=$.trim();if(U!==F){let x=await wT(U),S=await vT(U);if(x||S)J=!0}if(!J)throw Error("Failed to enable Option as Meta key or disable audio bell for any Terminal.app profile");return await Y("killall",["cfprefsd"]),L(),`${X("success",T)("Configured Terminal.app settings:")}${G}${X("success",T)('- Enabled "Use Option as Meta key"')}${G}${X("success",T)("- Switched to visual bell")}${G}${K.dim("Option+Enter will now enter a newline.")}${G}${K.dim("You must restart Terminal.app for changes to take effect.",T)}${G}`}catch(w){H(w);let v=await e(),q="Failed to enable Option as Meta key for Terminal.app.";if(v.status==="restored")throw Error(`${q} Your settings have been restored from backup.`);else if(v.status==="failed")throw Error(`${q} Restoring from backup failed, try manually with: defaults import com.apple.Terminal ${v.backupPath}`);else throw Error(`${q} No backup was available to restore from.`)}}async function lT(T){let v=[],q=process.env.XDG_CONFIG_HOME;if(q)v.push(R(q,"alacritty","alacritty.toml"));else v.push(R(g(),".config","alacritty","alacritty.toml"));if(A()==="win32"){let F=process.env.APPDATA;if(F)v.push(R(F,"alacritty","alacritty.toml"))}let $=null,B="",J=!1;for(let F of v)try{B=await p(F,{encoding:"utf-8"}),$=F,J=!0;break}catch(W){if(!u(W))throw W}if(!$)$=v[0]??null;if(!$)throw Error("No valid config path found for Alacritty");try{if(J){if(B.includes('mods = "Shift"')&&B.includes('key = "Return"'))return`${X("warning",T)("Found existing Alacritty Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z($)}`)}${G}`;let W=y(4).toString("hex"),O=`${$}.${W}.bak`;try{await N($,O)}catch{return`${X("warning",T)("Error backing up existing Alacritty config. Bailing out.")}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(O)}`)}${G}`}}else await c(MT($),{recursive:!0});let F=B;if(B&&!B.endsWith(`
25
+ `))F+=`
26
+ `;return F+=`
27
+ [[keyboard.bindings]]
28
+ key = "Return"
29
+ mods = "Shift"
30
+ chars = "\\u001B\\r"
31
+ `,await C($,F,{encoding:"utf-8"}),`${X("success",T)("Installed Alacritty Shift+Enter key binding")}${G}${X("success",T)("You may need to restart Alacritty for changes to take effect")}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(F){throw H(F),Error("Failed to install Alacritty Shift+Enter key binding")}}async function DT(T){let w=R(g(),".config","zed"),v=R(w,"keymap.json");try{await c(w,{recursive:!0});let q="[]",$=!1;try{q=await p(v,{encoding:"utf-8"}),$=!0}catch(J){if(!u(J))throw J}if($){if(q.includes("shift-enter"))return`${X("warning",T)("Found existing Zed Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z(v)}`)}${G}`;let J=y(4).toString("hex"),F=`${v}.${J}.bak`;try{await N(v,F)}catch{return`${X("warning",T)("Error backing up existing Zed keymap. Bailing out.")}${G}${K.dim(`See ${Z(v)}`)}${G}${K.dim(`Backup path: ${Z(F)}`)}${G}`}}let B;try{if(B=$T(q),!Array.isArray(B))B=[]}catch{B=[]}return B.push({context:"Terminal",bindings:{"shift-enter":["terminal::SendText","\x1B\r"]}}),await C(v,GT(B,null,2)+`
32
+ `,{encoding:"utf-8"}),`${X("success",T)("Installed Zed Shift+Enter key binding")}${G}${K.dim(`See ${Z(v)}`)}${G}`}catch(q){throw H(q),Error("Failed to install Zed Shift+Enter key binding")}}var G=`
33
+ `,j;var bT=I(()=>{VT();ST();IT();h();TT();D();UT();LT();o();OT();n();_T();zT();j={ghostty:"Ghostty",kitty:"Kitty","iTerm.app":"iTerm2",WezTerm:"WezTerm",WarpTerminal:"Warp"}});
34
+ export{a as dY,h as eY,e as fY,TT as gY,Ww as hY,uT as iY,ET as jY,Lw as kY,zw as lY,Vw as mY,_w as nY,bT as oY};
@@ -0,0 +1,2 @@
1
+ import{yra as Q,zra as U}from"./cli-1.0.5-73mr16hn.mjs";var w={};Q(w,{default:()=>x,createSupportsColor:()=>K});import M from"node:process";import V from"node:os";import O from"node:tty";function z(q,B=globalThis.Deno?globalThis.Deno.args:M.argv){let D=q.startsWith("-")?"":q.length===1?"-":"--",E=B.indexOf(D+q),G=B.indexOf("--");return E!==-1&&(G===-1||E<G)}function X(){if(!("FORCE_COLOR"in j))return;if(j.FORCE_COLOR==="true")return 1;if(j.FORCE_COLOR==="false")return 0;if(j.FORCE_COLOR.length===0)return 1;let q=Math.min(Number.parseInt(j.FORCE_COLOR,10),3);if(![0,1,2,3].includes(q))return;return q}function Z(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function $(q,{streamIsTTY:B,sniffFlags:D=!0}={}){let E=X();if(E!==void 0)H=E;let G=D?H:E;if(G===0)return 0;if(D){if(z("color=16m")||z("color=full")||z("color=truecolor"))return 3;if(z("color=256"))return 2}if("TF_BUILD"in j&&"AGENT_NAME"in j)return 1;if(q&&!B&&G===void 0)return 0;let J=G||0;if(j.TERM==="dumb")return J;if(M.platform==="win32"){let A=V.release().split(".");if(Number(A[0])>=10&&Number(A[2])>=10586)return Number(A[2])>=14931?3:2;return 1}if("CI"in j){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((A)=>(A in j)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((A)=>(A in j))||j.CI_NAME==="codeship")return 1;return J}if("TEAMCITY_VERSION"in j)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(j.TEAMCITY_VERSION)?1:0;if(j.COLORTERM==="truecolor")return 3;if(j.TERM==="xterm-kitty")return 3;if(j.TERM==="xterm-ghostty")return 3;if(j.TERM==="wezterm")return 3;if("TERM_PROGRAM"in j){let A=Number.parseInt((j.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(j.TERM_PROGRAM){case"iTerm.app":return A>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(j.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(j.TERM))return 1;if("COLORTERM"in j)return 1;return J}function K(q,B={}){let D=$(q,{streamIsTTY:q&&q.isTTY,...B});return Z(D)}var j,H,b,x;var L=U(()=>{({env:j}=M);if(z("no-color")||z("no-colors")||z("color=false")||z("color=never"))H=0;else if(z("color")||z("colors")||z("color=true")||z("color=always"))H=1;b={stdout:K({isTTY:O.isatty(1)}),stderr:K({isTTY:O.isatty(2)})},x=b});
2
+ export{K as gra,w as hra,L as ira};
@@ -0,0 +1,2 @@
1
+ import{lF as R,mF as E,nF as l,oF as i,pF as c,qF as w,rF as O,vF as y,wF as e}from"./cli-1.0.5-hq3f080w.mjs";import{tX as x,uX as s}from"./cli-1.0.5-ax3758yk.mjs";import{J0 as K,JY as n,TZ as j,UZ as r,c0 as k,e0 as W,y0 as Q}from"./cli-1.0.5-7b347m92.mjs";import{p3 as A,q3 as V,r3 as D,s3 as v}from"./cli-1.0.5-jcd8tadh.mjs";import{t3 as t}from"./cli-1.0.5-t8qp4fth.mjs";import{vra as q,zra as p}from"./cli-1.0.5-73mr16hn.mjs";function X1(J){let b=S.c(17),{query:$,placeholder:N,isFocused:Z,isTerminalFocused:H,prefix:g,width:P,cursorOffset:_,borderless:Y}=J,G=N===void 0?"Search…":N,h=g===void 0?"⌕":g,L=Y===void 0?!1:Y,B=_??$.length,m=L?void 0:"round",z=Z?"suggestion":void 0,d=!Z,F=L?0:1,T=!Z,X;if(b[0]!==Z||b[1]!==H||b[2]!==B||b[3]!==G||b[4]!==$)X=Z?V(A,{children:$?H?D(A,{children:[V(W,{children:$.slice(0,B)}),V(W,{inverse:!0,children:B<$.length?$[B]:" "}),B<$.length&&V(W,{children:$.slice(B+1)})]}):V(W,{children:$}):H?D(A,{children:[V(W,{inverse:!0,children:G.charAt(0)}),V(W,{dimColor:!0,children:G.slice(1)})]}):V(W,{dimColor:!0,children:G})}):$?V(W,{children:$}):V(W,{children:G}),b[0]=Z,b[1]=H,b[2]=B,b[3]=G,b[4]=$,b[5]=X;else X=b[5];let M;if(b[6]!==h||b[7]!==T||b[8]!==X)M=D(W,{dimColor:T,children:[h," ",X]}),b[6]=h,b[7]=T,b[8]=X,b[9]=M;else M=b[9];let I;if(b[10]!==M||b[11]!==m||b[12]!==z||b[13]!==d||b[14]!==F||b[15]!==P)I=V(k,{flexShrink:0,borderStyle:m,borderColor:z,borderDimColor:d,paddingX:F,width:P,children:M}),b[10]=M,b[11]=m,b[12]=z,b[13]=d,b[14]=F,b[15]=P,b[16]=I;else I=b[16];return I}var S;var u=p(()=>{K();v();S=q(n(),1)});function d1(J){if(J.ctrl&&(J.key==="k"||J.key==="u"||J.key==="w"))return!0;if(J.meta&&J.key==="backspace")return!0;return!1}function T1(J){return(J.ctrl||J.meta)&&J.key==="y"}function W1({isActive:J,onExit:b,onCancel:$,onExitUp:N,columns:Z,passthroughCtrlKeys:H=[],initialQuery:g="",backspaceExitsOnEmpty:P=!0}){let{columns:_}=x(),Y=Z??_,[G,h]=U.useState(g),[L,B]=U.useState(g.length),m=U.useCallback((d)=>{h(d),B(d.length)},[]),z=(d)=>{if(!J)return;let F=y.fromText(G,Y,L);if(d.ctrl&&H.includes(d.key.toLowerCase()))return;if(!d1(d))l();if(!T1(d))O();if(d.key==="return"||d.key==="down"){d.preventDefault(),b();return}if(d.key==="up"){if(d.preventDefault(),N)N();return}if(d.key==="escape"){if(d.preventDefault(),$)$();else if(G.length>0)h(""),B(0);else b();return}if(d.key==="backspace"){if(d.preventDefault(),d.meta){let{cursor:X,killed:M}=F.deleteWordBefore();R(M,"prepend"),h(X.text),B(X.offset);return}if(G.length===0){if(P)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}if(d.key==="delete"){d.preventDefault();let T=F.del();h(T.text),B(T.offset);return}if(d.key==="left"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.prevWord();B(T.offset);return}if(d.key==="right"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.nextWord();B(T.offset);return}if(d.key==="left"){d.preventDefault();let T=F.left();B(T.offset);return}if(d.key==="right"){d.preventDefault();let T=F.right();B(T.offset);return}if(d.key==="home"){d.preventDefault(),B(0);return}if(d.key==="end"){d.preventDefault(),B(G.length);return}if(d.ctrl){switch(d.preventDefault(),d.key.toLowerCase()){case"a":B(0);return;case"e":B(G.length);return;case"b":B(F.left().offset);return;case"f":B(F.right().offset);return;case"d":{if(G.length===0){($??b)();return}let T=F.del();h(T.text),B(T.offset);return}case"h":{if(G.length===0){if(P)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}case"k":{let{cursor:T,killed:X}=F.deleteToLineEnd();R(X,"append"),h(T.text),B(T.offset);return}case"u":{let{cursor:T,killed:X}=F.deleteToLineStart();R(X,"prepend"),h(T.text),B(T.offset);return}case"w":{let{cursor:T,killed:X}=F.deleteWordBefore();R(X,"prepend"),h(T.text),B(T.offset);return}case"y":{let T=E();if(T.length>0){let X=F.offset,M=F.insert(T);i(X,T.length),h(M.text),B(M.offset)}return}case"g":case"c":if($){$();return}}return}if(d.meta){switch(d.preventDefault(),d.key.toLowerCase()){case"b":B(F.prevWord().offset);return;case"f":B(F.nextWord().offset);return;case"d":{let T=F.deleteWordAfter();h(T.text),B(T.offset);return}case"y":{let T=c();if(T){let{text:X,start:M,length:I}=T,f=G.slice(0,M),a=G.slice(M+I),C=f+X+a,o=M+X.length;w(X.length),h(C),B(o)}return}}return}if(d.key==="tab")return;if(d.key.length>=1&&!b1.has(d.key)){d.preventDefault();let T=F.insert(d.key);h(T.text),B(T.offset)}};return Q((d,F,T)=>{z(new j(T.keypress))},{isActive:J}),{query:G,setQuery:m,cursorOffset:L,handleKeyDown:z}}var U,b1;var B1=p(()=>{r();K();e();s();U=q(t(),1);b1=new Set(["pageup","pagedown","insert","wheelup","wheeldown","mouse","f1","f2","f3","f4","f5","f6","f7","f8","f9","f10","f11","f12"])});
2
+ export{X1 as hh,u as ih,W1 as jh,B1 as kh};
@@ -0,0 +1,2 @@
1
+ import{J4 as j,M4 as I,T6 as b,U6 as c,Z7 as d,z7 as f}from"./cli-1.0.5-rzs07ec3.mjs";import{q9 as F,r9 as D}from"./cli-1.0.5-vh4hke14.mjs";import{Kfa as y,Sfa as T}from"./cli-1.0.5-9m4a2113.mjs";import{wha as $,xha as R,yha as _,zha as E}from"./cli-1.0.5-3mmky5x7.mjs";import{nia as q,oia as m}from"./cli-1.0.5-8xf656w6.mjs";import{Xia as M,aja as U,sja as W,vja as z}from"./cli-1.0.5-a0zsx9k5.mjs";import{Rja as k,Sja as Y,Zja as O}from"./cli-1.0.5-k8de6zdd.mjs";import{Kqa as X,ara as h}from"./cli-1.0.5-41vyz0qd.mjs";import{zra as A}from"./cli-1.0.5-73mr16hn.mjs";import{randomUUID as l}from"crypto";function p(J){if(!X.isAxiosError(J))return!1;if(!J.response)return!0;if(J.response.status>=500)return!0;return!1}async function u(J,B){let N;for(let K=0;K<=x;K++)try{return await X.get(J,B)}catch(Q){if(N=Q,!p(Q))throw Q;if(K>=x)throw W(`Teleport request failed after ${K+1} attempts: ${Y(Q)}`),Q;let V=S[K]??2000;W(`Teleport request failed (attempt ${K+1}/${x+1}), retrying in ${V}ms: ${Y(Q)}`),await b(V)}throw N}async function C(){let J=f()?.accessToken;if(J===void 0)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let B=await j();if(!B)throw Error("Unable to get organization UUID");return{accessToken:J,orgUUID:B}}async function NJ(){let{accessToken:J,orgUUID:B}=await C(),N=`${q().BASE_API_URL}/v1/sessions`;try{let K={...L(J),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},Q=await u(N,{headers:K});if(Q.status!==200)throw Error(`Failed to fetch code sessions: ${Q.statusText}`);return Q.data.data.map((Z)=>{let v=Z.session_context.sources.find((G)=>G.type==="git_repository"),H=null;if(v?.url){let G=F(v.url);if(G){let[w,P]=G.split("/");if(w&&P)H={name:P,owner:{login:w},default_branch:v.revision||void 0}}}return{id:Z.id,title:Z.title||"Untitled",description:"",status:Z.session_status,repo:H,turns:[],created_at:Z.created_at,updated_at:Z.updated_at}})}catch(K){let Q=k(K);throw y(Q),K}}function L(J){return{Authorization:`Bearer ${J}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"}}async function WJ(J){let{accessToken:B,orgUUID:N}=await C(),K=`${q().BASE_API_URL}/v1/sessions/${J}`,Q={...L(B),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":N},V=await X.get(K,{headers:Q,timeout:15000,validateStatus:(Z)=>Z<500});if(V.status!==200){let v=V.data?.error?.message;if(V.status===404)throw Error(`Session not found: ${J}`);if(V.status===401)throw Error("Session expired. Please run /login to sign in again.");throw Error(v||`Failed to fetch session: ${V.status} ${V.statusText}`)}return V.data}function GJ(J){return J.session_context.outcomes?.find((N)=>N.type==="git_repository")?.git_info?.branches[0]}async function vJ(J,B,N){try{let{accessToken:K,orgUUID:Q}=await C(),V=`${q().BASE_API_URL}/v1/sessions/${J}/events`,Z={...L(K),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":Q},H={events:[{uuid:N?.uuid??l(),session_id:J,type:"user",parent_tool_use_id:null,message:{role:"user",content:B}}]};W(`[sendEventToRemoteSession] Sending event to session ${J}`);let G=await X.post(V,H,{headers:Z,validateStatus:(w)=>w<500,timeout:30000});if(G.status===200||G.status===201)return W(`[sendEventToRemoteSession] Successfully sent event to session ${J}`),!0;return W(`[sendEventToRemoteSession] Failed with status ${G.status}: ${M(G.data)}`),!1}catch(K){return W(`[sendEventToRemoteSession] Error: ${Y(K)}`),!1}}async function XJ(J,B){try{let{accessToken:N,orgUUID:K}=await C(),Q=`${q().BASE_API_URL}/v1/sessions/${J}`,V={...L(N),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":K};W(`[updateSessionTitle] Updating title for session ${J}: "${B}"`);let Z=await X.patch(Q,{title:B},{headers:V,validateStatus:(v)=>v<500});if(Z.status===200)return W(`[updateSessionTitle] Successfully updated title for session ${J}`),!0;return W(`[updateSessionTitle] Failed with status ${Z.status}: ${M(Z.data)}`),!1}catch(N){return W(`[updateSessionTitle] Error: ${Y(N)}`),!1}}var S,x,$J="ccr-byoc-2025-07-29",BJ;var g=A(()=>{h();m();I();R();d();z();D();O();E();T();c();U();S=[2000,4000,8000,16000],x=S.length;BJ=_(()=>$.object({id:$.string(),title:$.string(),description:$.string(),status:$.enum(["idle","working","waiting","completed","archived","cancelled","rejected"]),repo:$.object({name:$.string(),owner:$.object({login:$.string()}),default_branch:$.string().optional()}).nullable(),turns:$.array($.string()),created_at:$.string(),updated_at:$.string()}))});
2
+ export{$J as D3,p as E3,u as F3,BJ as G3,C as H3,NJ as I3,L as J3,WJ as K3,GJ as L3,vJ as M3,XJ as N3,g as O3};
@@ -0,0 +1,2 @@
1
+ import{Uo as Z,Zo as G}from"./cli-1.0.5-hq3f080w.mjs";import{Kfa as X,Sfa as R}from"./cli-1.0.5-9m4a2113.mjs";import{Xia as v,Yia as B,aja as A,eja as C,ija as M,sja as U,vja as O}from"./cli-1.0.5-a0zsx9k5.mjs";import{zra as b}from"./cli-1.0.5-73mr16hn.mjs";import{randomBytes as L}from"crypto";import{readFile as N,rename as S,unlink as T,writeFile as _}from"fs/promises";import{join as E}from"path";function Y(){return E(Z(),j)}function k(q){let x=B(q);if(typeof x!=="object"||x===null||!("plugins"in x)||typeof x.plugins!=="object"||x.plugins===null)return{};let z=x.plugins,J={};for(let[Q,K]of Object.entries(z))if(K&&typeof K==="object"&&"flaggedAt"in K&&typeof K.flaggedAt==="string"){let $={flaggedAt:K.flaggedAt};if("seenAt"in K&&typeof K.seenAt==="string")$.seenAt=K.seenAt;J[Q]=$}return J}async function V(){try{let q=await N(Y(),{encoding:"utf-8"});return k(q)}catch{return{}}}async function W(q){let x=Y(),z=`${x}.${L(8).toString("hex")}.tmp`;try{await C().mkdir(Z());let J=v({plugins:q},null,2);await _(z,J,{encoding:"utf-8",mode:384}),await S(z,x),H=q}catch(J){X(J);try{await T(z)}catch{}}}async function o(){let q=await V(),x=Date.now(),z=!1;for(let[J,Q]of Object.entries(q))if(Q.seenAt&&x-new Date(Q.seenAt).getTime()>=f)delete q[J],z=!0;if(H=q,z)await W(q)}function c(){return H??{}}async function p(q){if(H===null)H=await V();let x={...H,[q]:{flaggedAt:new Date().toISOString()}};await W(x),U(`Flagged plugin: ${q}`)}async function d(q){if(H===null)H=await V();let x=new Date().toISOString(),z=!1,J={...H};for(let Q of q){let K=J[Q];if(K&&!K.seenAt)J[Q]={...K,seenAt:x},z=!0}if(z)await W(J)}async function g(q){if(H===null)H=await V();if(!(q in H))return;let{[q]:x,...z}=H;H=z,await W(z)}var j="flagged-plugins.json",f=172800000,H=null;var w=b(()=>{O();M();R();A();G()});
2
+ export{o as xd,c as yd,p as zd,d as Ad,g as Bd,w as Cd};
@@ -0,0 +1,2 @@
1
+ import{ar as _,pT as z}from"./cli-1.0.5-hq3f080w.mjs";import{C3 as f}from"./cli-1.0.5-n37mkdyd.mjs";import{U6 as k,Z7 as A,n4 as K}from"./cli-1.0.5-rzs07ec3.mjs";import{P9 as L,P_ as T,ada as v,mea as x,qaa as W}from"./cli-1.0.5-9m4a2113.mjs";import{cha as H}from"./cli-1.0.5-pnn57nb8.mjs";import{vha as b,xha as Q,yha as q,zha as V}from"./cli-1.0.5-3mmky5x7.mjs";import{oia as w}from"./cli-1.0.5-8xf656w6.mjs";import{sia as O}from"./cli-1.0.5-t1pv236j.mjs";import{Zja as U}from"./cli-1.0.5-k8de6zdd.mjs";import{Ola as X,Qpa as B}from"./cli-1.0.5-q8fmarwj.mjs";import{zra as G}from"./cli-1.0.5-73mr16hn.mjs";var Z,$;var J=G(()=>{Q();V();Z=q(()=>b.object({entries:b.record(b.string(),b.string())})),$=q(()=>b.object({userId:b.string(),version:b.number(),lastModified:b.string(),checksum:b.string(),content:Z()}))});var Y=G(()=>{B();w();A();z();x();L();U();T();K();W();v();X();k();f();H();O();_();J()});
2
+ export{Y as Dd};
@@ -0,0 +1,2 @@
1
+ import{yw as o,zw as n}from"./cli-1.0.5-hq3f080w.mjs";import{zra as e}from"./cli-1.0.5-73mr16hn.mjs";function i(m){t.setState(()=>[...m])}var t,r=()=>t.getState(),d;var s=e(()=>{n();t=o([]),d=t.subscribe});
2
+ export{r as Gd,d as Hd,i as Id,s as Jd};
@@ -0,0 +1,9 @@
1
+ import{qra as V_,rra as su,tra as K_,ura as f_}from"./cli-1.0.5-123rr4tv.mjs";import{Ara as $_,xra as H}from"./cli-1.0.5-73mr16hn.mjs";var W_=H((k_)=>{var z_=$_("node:stream"),v=V_(),K=f_(),q=K_(),m=(_)=>_?.body instanceof z_.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,G_=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],J_=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],X_=["TimeoutError","RequestTimeout","RequestTimeoutException"],C_=[500,502,503,504],d_=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Z_=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],A=(_)=>_?.$retryable!==void 0,p=(_)=>G_.includes(_.name),y=(_)=>_.$metadata?.clockSkewCorrected,s=(_)=>{let u=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return u.has(_.message)},J=(_)=>_.$metadata?.httpStatusCode===429||J_.includes(_.name)||_.$retryable?.throttling==!0,X=(_,u=0)=>A(_)||y(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||X_.includes(_.name)||d_.includes(_?.code||"")||Z_.includes(_?.code||"")||C_.includes(_.$metadata?.httpStatusCode||0)||s(_)||o(_)||_.cause!==void 0&&u<=10&&X(_.cause,u+1),a=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let u=_.$metadata.httpStatusCode;if(500<=u&&u<=599&&!X(_))return!0;return!1}return!1};function o(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var e=100,Q=20000,t=500,Z=500,r=5,__=10,g=1,c="amz-sdk-invocation-id",w="amz-sdk-request";function u_(_,u){if(!K.HttpResponse.isInstance(_))return;for(let E of Object.keys(_.headers)){let O=E.toLowerCase();if(O==="retry-after"){let T=_.headers[E],b=NaN;if(T.endsWith("GMT"))try{b=(q.parseRfc7231DateTime(T).getTime()-Date.now())/1000}catch(L){u?.trace?.("Failed to parse retry-after header"),u?.trace?.(L)}else if(T.match(/ GMT, ((\d+)|(\d+\.\d+))$/))b=Number(T.match(/ GMT, ([\d.]+)$/)?.[1]);else if(T.match(/^((\d+)|(\d+\.\d+))$/))b=Number(T);else if(Date.parse(T)>=Date.now())b=(Date.parse(T)-Date.now())/1000;if(isNaN(b))return;return new Date(Date.now()+b*1000)}else if(O==="x-amz-retry-after"){let T=_.headers[E],b=Number(T);if(isNaN(b)){u?.trace?.(`Failed to parse x-amz-retry-after=${T}`);return}return new Date(Date.now()+b)}}}function H_(_,u){return u_(_,u)}var E_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function O_(_){return(u)=>(E,O)=>async(T)=>{let b=await u.retryStrategy(),L=await u.maxAttempts();if(Q_(b)){b=b;let N=await b.acquireInitialRetryToken((O.partition_id??"")+(O.__retryLongPoll?":longpoll":"")),j=Error(),Y=0,F=0,{request:I}=T,R=K.HttpRequest.isInstance(I);if(R)I.headers[c]=q.v4();while(!0)try{if(R)I.headers[w]=`attempt=${Y+1}; max=${L}`;let{response:V,output:z}=await E(T);return b.recordSuccess(N),z.$metadata.attempts=Y+1,z.$metadata.totalRetryDelay=F,{response:V,output:z}}catch(V){let z=c_(V,u.logger);if(j=E_(V),R&&_(I))throw(O.logger instanceof v.NoOpLogger?console:O.logger)?.warn("An error was encountered in a non-retryable streaming request."),j;try{N=await b.refreshRetryTokenForRetry(N,z)}catch(x){if(typeof x.$backoff==="number")await l(x.$backoff);if(!j.$metadata)j.$metadata={};throw j.$metadata.attempts=Y+1,j.$metadata.totalRetryDelay=F,j}Y=N.getRetryCount();let k=N.getRetryDelay();F+=k,await l(k)}}else{if(b=b,b?.mode)O.userAgent=[...O.userAgent||[],["cfg/retry-mode",b.mode]];return b.retry(E,T)}}}var l=(_)=>new Promise((u)=>setTimeout(u,_)),Q_=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",c_=(_,u)=>{let E={error:_,errorType:w_(_)},O=u_(_.$response,u);if(O)E.retryAfterHint=O;return E},w_=(_)=>{if(J(_))return"THROTTLING";if(X(_))return"TRANSIENT";if(a(_))return"SERVER_ERROR";return"CLIENT_ERROR"},b_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function B_(_){let u=O_(_);return(E)=>({applyToStack:(O)=>{O.add(u(E),b_)}})}class C{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let u;this.updateMeasuredRate();let E=_;if(E?.errorType==="THROTTLING"||J(E?.error??_)){let b=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=b,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),u=this.cubicThrottle(b),this.enableTokenBucket()}else this.calculateTimeWindow(),u=this.cubicSuccess(this.getCurrentTimeInSeconds());let T=Math.min(u,2*this.measuredTxRate);this.updateTokenBucketRate(T)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let u=(_-this.availableTokens)/this.fillRate*1000;await new Promise((E)=>C.setTimeoutFn(E,u)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let u=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+u),this.lastTimestamp=_}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(_){return this.getPrecise(_*this.beta)}cubicSuccess(_){return this.getPrecise(this.scaleConstant*Math.pow(_-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(_){this.refillTokenBucket(),this.fillRate=Math.max(_,this.minFillRate),this.maxCapacity=Math.max(_,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),u=Math.floor(_*2)/2;if(this.requestCount++,u>this.lastTxRateBucket){let E=this.requestCount/(u-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(E*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=u}}getPrecise(_){return parseFloat(_.toFixed(8))}}class M{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return M.v2026?50:100}static throttlingDelay(){return M.v2026?1000:500}static cost(){return M.v2026?14:5}static throttlingCost(){return M.v2026?5:10}static modifiedCostType(){return M.v2026?"THROTTLING":"TRANSIENT"}}class T_{x=M.delay();computeNextBackoffDelay(_){let u=Math.random(),E=2,O=u*Math.min(this.x*2**_,Q);return Math.floor(O)}setDelayBase(_){this.x=_}}class h{delay;count;cost;longPoll;constructor(_,u,E,O){this.delay=_,this.count=u,this.cost=E,this.longPoll=O}getRetryCount(){return this.count}getRetryDelay(){return Math.min(Q,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}k_.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(k_.RETRY_MODES||(k_.RETRY_MODES={}));var $=3,Y_=k_.RETRY_MODES.STANDARD,d={incompatible:1,attempts:2,capacity:3},G=class{mode=k_.RETRY_MODES.STANDARD;capacity=Z;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(u){if(typeof u==="number")this.maxAttemptsProvider=async()=>u;else if(typeof u==="function")this.maxAttemptsProvider=u;else if(u&&typeof u==="object")this.maxAttemptsProvider=async()=>u.maxAttempts,this.baseDelay=u.baseDelay,this.retryBackoffStrategy=u.backoff;this.maxAttemptsProvider??=async()=>$,this.baseDelay??=M.delay(),this.retryBackoffStrategy??=new T_}async acquireInitialRetryToken(u){return new h(M.delay(),0,void 0,M.v2026&&u.includes(":longpoll"))}async refreshRetryTokenForRetry(u,E){let O=await this.getMaxAttempts(),T=this.retryCode(u,E,O),b=T===0,L=u.isLongPoll?.();if(b||L){let N=E.errorType;this.retryBackoffStrategy.setDelayBase(N==="THROTTLING"?M.throttlingDelay():this.baseDelay);let j=this.retryBackoffStrategy.computeNextBackoffDelay(u.getRetryCount()),Y=j;if(E.retryAfterHint instanceof Date)Y=Math.max(j,Math.min(E.retryAfterHint.getTime()-Date.now(),j+5000));if(!b)throw Object.assign(Error("No retry token available"),{$backoff:M.v2026&&T===d.capacity&&L?Y:0});else{let F=this.getCapacityCost(N);return this.capacity-=F,new h(Y,u.getRetryCount()+1,F,u.isLongPoll?.()??!1)}}throw Error("No retry token available")}recordSuccess(u){this.capacity=Math.min(Z,this.capacity+(u.getRetryCost()??g))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(u){return console.warn(`Max attempts provider could not resolve. Using default of ${$}`),$}}retryCode(u,E,O){let T=u.getRetryCount()+1,b=this.isRetryableError(E.errorType)?0:d.incompatible,L=T<O?0:d.attempts,N=this.capacity>=this.getCapacityCost(E.errorType)?0:d.capacity;return b||L||N}getCapacityCost(u){return u===M.modifiedCostType()?M.throttlingCost():M.cost()}isRetryableError(u){return u==="THROTTLING"||u==="TRANSIENT"}},j_=class{mode=k_.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(u,E){let{rateLimiter:O}=E??{};this.rateLimiter=O??new C,this.standardRetryStrategy=E?new G({maxAttempts:typeof u==="number"?u:3,...E}):new G(u)}async acquireInitialRetryToken(u){let E=await this.standardRetryStrategy.acquireInitialRetryToken(u);return await this.rateLimiter.getSendToken(),E}async refreshRetryTokenForRetry(u,E){this.rateLimiter.updateClientSendingRate(E);let O=await this.standardRetryStrategy.refreshRetryTokenForRetry(u,E);return await this.rateLimiter.getSendToken(),O}recordSuccess(u){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(u)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class P_ extends G{computeNextBackoffDelay;constructor(_,u=M.delay()){super(typeof _==="function"?_:async()=>_);if(typeof u==="number")this.computeNextBackoffDelay=()=>u;else this.computeNextBackoffDelay=u}async refreshRetryTokenForRetry(_,u){let E=await super.refreshRetryTokenForRetry(_,u);return E.getRetryDelay=()=>this.computeNextBackoffDelay(E.getRetryCount()),E}}var v_=(_,u)=>{let E=_,O=g,T=r,b=__,L=_,N=(I)=>I.name==="TimeoutError"?b:T,j=(I)=>N(I)<=L;return Object.freeze({hasRetryTokens:j,retrieveRetryTokens:(I)=>{if(!j(I))throw Error("No retry token available");let R=N(I);return L-=R,R},releaseRetryTokens:(I)=>{L+=I??O,L=Math.min(L,E)}})},L_=(_,u)=>Math.floor(Math.min(Q,Math.random()*2**u*_)),N_=(_)=>{if(!_)return!1;return A(_)||p(_)||J(_)||X(_)};class n{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=k_.RETRY_MODES.STANDARD;constructor(_,u){this.maxAttemptsProvider=_,this.retryDecider=u?.retryDecider??N_,this.delayDecider=u?.delayDecider??L_,this.retryQuota=u?.retryQuota??v_(Z)}shouldRetry(_,u,E){return u<E&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(u){_=$}return _}async retry(_,u,E){let O,T=0,b=0,L=await this.getMaxAttempts(),{request:N}=u;if(K.HttpRequest.isInstance(N))N.headers[c]=q.v4();while(!0)try{if(K.HttpRequest.isInstance(N))N.headers[w]=`attempt=${T+1}; max=${L}`;if(E?.beforeRequest)await E.beforeRequest();let{response:j,output:Y}=await _(u);if(E?.afterRequest)E.afterRequest(j);return this.retryQuota.releaseRetryTokens(O),Y.$metadata.attempts=T+1,Y.$metadata.totalRetryDelay=b,{response:j,output:Y}}catch(j){let Y=E_(j);if(T++,this.shouldRetry(Y,T,L)){O=this.retryQuota.retrieveRetryTokens(Y);let F=this.delayDecider(J(Y)?t:e,T),I=h_(Y.$response),R=Math.max(I||0,F);b+=R,await new Promise((V)=>setTimeout(V,R));continue}if(!Y.$metadata)Y.$metadata={};throw Y.$metadata.attempts=T,Y.$metadata.totalRetryDelay=b,Y}}}var h_=(_)=>{if(!K.HttpResponse.isInstance(_))return;let u=Object.keys(_.headers).find((b)=>b.toLowerCase()==="retry-after");if(!u)return;let E=_.headers[u],O=Number(E);if(!Number.isNaN(O))return O*1000;return new Date(E).getTime()-Date.now()};class M_ extends n{rateLimiter;constructor(_,u){let{rateLimiter:E,...O}=u??{};super(_,O);this.rateLimiter=E??new C,this.mode=k_.RETRY_MODES.ADAPTIVE}async retry(_,u){return super.retry(_,u,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(E)=>{this.rateLimiter.updateClientSendingRate(E)}})}}var S="AWS_MAX_ATTEMPTS",i="max_attempts",S_={environmentVariableSelector:(_)=>{let u=_[S];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Environment variable ${S} mast be a number, got "${u}"`);return E},configFileSelector:(_)=>{let u=_[i];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Shared config file entry ${i} mast be a number, got "${u}"`);return E},default:$},i_=(_)=>{let{retryStrategy:u,retryMode:E}=_,O=v.normalizeProvider(_.maxAttempts??$),T=u?Promise.resolve(u):void 0,b=async()=>await v.normalizeProvider(E)()===k_.RETRY_MODES.ADAPTIVE?new j_(O):new G(O);return Object.assign(_,{maxAttempts:O,retryStrategy:()=>T??=b()})},U_="AWS_RETRY_MODE",I_="retry_mode",q_={environmentVariableSelector:(_)=>_[U_],configFileSelector:(_)=>_[I_],default:Y_},F_=()=>(_)=>async(u)=>{let{request:E}=u;if(K.HttpRequest.isInstance(E))delete E.headers[c],delete E.headers[w];return _(u)},R_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},A_=(_)=>({applyToStack:(u)=>{u.addRelativeTo(F_(),R_)}}),g_=O_(m),n_=B_(m);k_.AdaptiveRetryStrategy=j_;k_.CONFIG_MAX_ATTEMPTS=i;k_.CONFIG_RETRY_MODE=I_;k_.ConfiguredRetryStrategy=P_;k_.DEFAULT_MAX_ATTEMPTS=$;k_.DEFAULT_RETRY_DELAY_BASE=e;k_.DEFAULT_RETRY_MODE=Y_;k_.DefaultRateLimiter=C;k_.DeprecatedAdaptiveRetryStrategy=M_;k_.DeprecatedStandardRetryStrategy=n;k_.ENV_MAX_ATTEMPTS=S;k_.ENV_RETRY_MODE=U_;k_.INITIAL_RETRY_TOKENS=Z;k_.INVOCATION_ID_HEADER=c;k_.MAXIMUM_RETRY_DELAY=Q;k_.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=S_;k_.NODE_RETRY_MODE_CONFIG_OPTIONS=q_;k_.NO_RETRY_INCREMENT=g;k_.REQUEST_HEADER=w;k_.RETRY_COST=r;k_.Retry=M;k_.StandardRetryStrategy=G;k_.THROTTLING_RETRY_DELAY_BASE=t;k_.TIMEOUT_RETRY_COST=__;k_.defaultDelayDecider=L_;k_.defaultRetryDecider=N_;k_.getOmitRetryHeadersPlugin=A_;k_.getRetryAfterHint=H_;k_.getRetryPlugin=n_;k_.isBrowserNetworkError=s;k_.isClockSkewCorrectedError=y;k_.isClockSkewError=p;k_.isNodeJsHttp2TransientError=o;k_.isRetryableByTrait=A;k_.isServerError=a;k_.isThrottlingError=J;k_.isTransientError=X;k_.omitRetryHeadersMiddleware=F_;k_.omitRetryHeadersMiddlewareOptions=R_;k_.resolveRetryConfig=i_;k_.retryMiddleware=g_;k_.retryMiddlewareOptions=b_});var D_=H((P)=>{Object.defineProperty(P,"__esModule",{value:!0});P.TIMEOUT_RETRY_COST=P.THROTTLING_RETRY_DELAY_BASE=P.Retry=P.RETRY_MODES=P.RETRY_COST=P.NO_RETRY_INCREMENT=P.REQUEST_HEADER=P.MAXIMUM_RETRY_DELAY=P.INVOCATION_ID_HEADER=P.INITIAL_RETRY_TOKENS=P.DEFAULT_RETRY_MODE=P.DEFAULT_RETRY_DELAY_BASE=P.DEFAULT_MAX_ATTEMPTS=P.StandardRetryStrategy=P.DefaultRateLimiter=P.ConfiguredRetryStrategy=P.AdaptiveRetryStrategy=void 0;var U=W_();Object.defineProperty(P,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return U.AdaptiveRetryStrategy}});Object.defineProperty(P,"ConfiguredRetryStrategy",{enumerable:!0,get:function(){return U.ConfiguredRetryStrategy}});Object.defineProperty(P,"DefaultRateLimiter",{enumerable:!0,get:function(){return U.DefaultRateLimiter}});Object.defineProperty(P,"StandardRetryStrategy",{enumerable:!0,get:function(){return U.StandardRetryStrategy}});Object.defineProperty(P,"DEFAULT_MAX_ATTEMPTS",{enumerable:!0,get:function(){return U.DEFAULT_MAX_ATTEMPTS}});Object.defineProperty(P,"DEFAULT_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_DELAY_BASE}});Object.defineProperty(P,"DEFAULT_RETRY_MODE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_MODE}});Object.defineProperty(P,"INITIAL_RETRY_TOKENS",{enumerable:!0,get:function(){return U.INITIAL_RETRY_TOKENS}});Object.defineProperty(P,"INVOCATION_ID_HEADER",{enumerable:!0,get:function(){return U.INVOCATION_ID_HEADER}});Object.defineProperty(P,"MAXIMUM_RETRY_DELAY",{enumerable:!0,get:function(){return U.MAXIMUM_RETRY_DELAY}});Object.defineProperty(P,"REQUEST_HEADER",{enumerable:!0,get:function(){return U.REQUEST_HEADER}});Object.defineProperty(P,"NO_RETRY_INCREMENT",{enumerable:!0,get:function(){return U.NO_RETRY_INCREMENT}});Object.defineProperty(P,"RETRY_COST",{enumerable:!0,get:function(){return U.RETRY_COST}});Object.defineProperty(P,"RETRY_MODES",{enumerable:!0,get:function(){return U.RETRY_MODES}});Object.defineProperty(P,"Retry",{enumerable:!0,get:function(){return U.Retry}});Object.defineProperty(P,"THROTTLING_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.THROTTLING_RETRY_DELAY_BASE}});Object.defineProperty(P,"TIMEOUT_RETRY_COST",{enumerable:!0,get:function(){return U.TIMEOUT_RETRY_COST}})});var yu=H((gu)=>{var wu=D_(),B={warningEmitted:!1},Bu=(_)=>{if(_&&!B.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){B.warningEmitted=!0;return}let u=parseInt(_.substring(1,_.indexOf("."))),E=22;if(u<E)B.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
2
+ versions published after the first week of January 2027
3
+ will require node >=${E}. You are running node ${_}.
4
+
5
+ To continue receiving updates to AWS services, bug fixes,
6
+ and security updates please upgrade to node >=${E}.
7
+
8
+ More information can be found at: https://a.co/c895JFp`)}},vu=()=>(_,u)=>async(E)=>{return u.__retryLongPoll=!0,_(E)},hu={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},Su=(_)=>({applyToStack:(u)=>{u.add(vu(),hu)}});function iu(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}wu.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function qu(_,u,E){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[u]=E}function Au(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}gu.emitWarningIfUnsupportedVersion=Bu;gu.getLongPollPlugin=Su;gu.setCredentialFeature=iu;gu.setFeature=qu;gu.setTokenFeature=Au;gu.state=B});var ou=H((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.memoize=D.fromStatic=D.chain=D.TokenProviderError=D.CredentialsProviderError=D.ProviderError=void 0;var f=su();Object.defineProperty(D,"ProviderError",{enumerable:!0,get:function(){return f.ProviderError}});Object.defineProperty(D,"CredentialsProviderError",{enumerable:!0,get:function(){return f.CredentialsProviderError}});Object.defineProperty(D,"TokenProviderError",{enumerable:!0,get:function(){return f.TokenProviderError}});Object.defineProperty(D,"chain",{enumerable:!0,get:function(){return f.chain}});Object.defineProperty(D,"fromStatic",{enumerable:!0,get:function(){return f.fromValue}});Object.defineProperty(D,"memoize",{enumerable:!0,get:function(){return f.memoize}})});
9
+ export{W_ as jra,D_ as kra,yu as lra,ou as mra};
@@ -0,0 +1,3 @@
1
+ import{E1 as k,G1 as w}from"./cli-1.0.5-96fnr7xq.mjs";import{F7 as j,Z7 as v}from"./cli-1.0.5-rzs07ec3.mjs";import{Sga as d,bha as h,cha as s}from"./cli-1.0.5-pnn57nb8.mjs";import{nka as q}from"./cli-1.0.5-1z04v9fp.mjs";import{zra as p}from"./cli-1.0.5-73mr16hn.mjs";function m(){return y()||!!process.env.CLAUDE_BRIDGE_OAUTH_TOKEN}function x(){return m()}async function O(){return x()}async function P(){if(!m())return"Remote Control needs an Anthropic web login (a claude.ai OAuth token with the user:profile scope). Run `/provider` and sign in with your claude.ai account. Note: an inference API key alone is not enough — the bridge token is separate.";return null}function y(){try{return j()}catch{return!1}}function Q(){return d("tengu_bridge_repl_v2",!1)}function R(){return d("tengu_bridge_repl_v2_cse_shim_enabled",!0)}function U(){{let b=h("tengu_bridge_min_version",{minVersion:"0.0.0"});if(b.minVersion&&k("99.0.0",b.minVersion))return`Your version of Claudin (99.0.0) is too old for Remote Control.
2
+ Version ${b.minVersion} or higher is required. Run \`claudin update\` to update.`}return null}function W(){return!1}function X(){return!1}var z=p(()=>{s();v();q();w()});
3
+ export{x as eW,O as fW,P as gW,Q as hW,R as iW,U as jW,W as kW,X as lW,z as mW};
@@ -0,0 +1,2 @@
1
+ import{Bx as g,Cx as Zf,Ex as _f,Yn as Xf,Zn as Uf}from"./cli-1.0.5-hq3f080w.mjs";import{IX as Wf,JX as Tf}from"./cli-1.0.5-ax3758yk.mjs";import{J0 as a,JY as n,PY as s,QY as If,a0 as F,b0 as cf,c0 as r,e0 as q,i0 as Vf}from"./cli-1.0.5-7b347m92.mjs";import{p3 as Qf,q3 as H,r3 as X,s3 as T}from"./cli-1.0.5-jcd8tadh.mjs";import{t3 as Rf}from"./cli-1.0.5-t8qp4fth.mjs";import{B5 as Jf,C5 as hf,H5 as M,K5 as p,L5 as Ef,i5 as Nf,k5 as b,l5 as _,m5 as Hf,o5 as j,r5 as qf,t5 as zf}from"./cli-1.0.5-rzs07ec3.mjs";import{t8 as i,u8 as yf}from"./cli-1.0.5-vr3tqxgz.mjs";import{Jaa as w,Pca as Gf,Tda as l,_aa as Bf,ada as Cf,mea as Pf}from"./cli-1.0.5-9m4a2113.mjs";import{fga as mf,nga as Of}from"./cli-1.0.5-0k6kyvrp.mjs";import{pia as D,sia as Lf}from"./cli-1.0.5-t1pv236j.mjs";import{vra as x,zra as o}from"./cli-1.0.5-73mr16hn.mjs";function e(m){let f=t.c(2),{cooldown:G}=m;if(G){let z;if(f[0]===Symbol.for("react.memo_cache_sentinel"))z=H(q,{color:"promptBorder",dimColor:!0,children:w}),f[0]=z;else z=f[0];return z}let N;if(f[1]===Symbol.for("react.memo_cache_sentinel"))N=H(q,{color:"fastMode",children:w}),f[1]=N;else N=f[1];return N}function U(m=!0,f=!1){if(!m)return w;let G=s(l().theme);if(f)return i.dim(F("promptBorder",G)(w));return F("fastMode",G)(w)}var t;var ff=o(()=>{yf();Bf();a();Pf();If();cf();T();t=x(n(),1)});function S(m,f){if(zf(),Gf("userSettings",{fastMode:m?!0:void 0}),m)f((G)=>{let N=!j(G.mainLoopModel);return{...G,...N?{mainLoopModel:Hf(),mainLoopModelForSession:null}:{},fastMode:!0}});else f((G)=>({...G,fastMode:!1}))}function Df(m){let f=kf.c(30),{onDone:G,unavailableReason:N}=m,z=g(vf),V=g(Af),W=Zf(),[J,wf]=Kf.useState(V??!1),y;if(f[0]===Symbol.for("react.memo_cache_sentinel"))y=qf(),f[0]=y;else y=f[0];let B=y,$=B.status==="cooldown",Q=N!==null,P;if(f[1]===Symbol.for("react.memo_cache_sentinel"))P=p(M(!0)),f[1]=P;else P=f[1];let d=P,I;if(f[2]!==J||f[3]!==Q||f[4]!==z||f[5]!==G||f[6]!==W)I=function(){if(Q)return;if(S(J,W),D("tengu_fast_mode_toggled",{enabled:J,source:"picker"}),J){let v=U(J),rf=!j(z)?` · model set to ${_}`:"";G(`${v} Fast mode ON${rf} · ${d}`)}else W(uf),G("Fast mode OFF")},f[2]=J,f[3]=Q,f[4]=z,f[5]=G,f[6]=W,f[7]=I;else I=f[7];let u=I,c;if(f[8]!==V||f[9]!==Q||f[10]!==G||f[11]!==W)c=function(){if(Q){if(V)S(!1,W);G("Fast mode OFF",{display:"system"});return}let v=V?`${U()} Kept Fast mode ON`:"Kept Fast mode OFF";G(v,{display:"system"})},f[8]=V,f[9]=Q,f[10]=G,f[11]=W,f[12]=c;else c=f[12];let A=c,L;if(f[13]!==Q)L=function(){if(Q)return;wf(jf)},f[13]=Q,f[14]=L;else L=f[14];let Z=L,O;if(f[15]!==u||f[16]!==Z)O={"confirm:yes":u,"confirm:nextField":Z,"confirm:next":Z,"confirm:previous":Z,"confirm:cycleMode":Z,"confirm:toggle":Z},f[15]=u,f[16]=Z,f[17]=O;else O=f[17];let C;if(f[18]===Symbol.for("react.memo_cache_sentinel"))C={context:"Confirmation"},f[18]=C;else C=f[18];Wf(O,C);let h;if(f[19]===Symbol.for("react.memo_cache_sentinel"))h=X(q,{children:[H(e,{cooldown:$})," Fast mode (research preview)"]}),f[19]=h;else h=f[19];let Yf=h,k;if(f[20]!==Q)k=(Y)=>Y.pending?X(q,{children:["Press ",Y.keyName," again to exit"]}):Q?H(q,{children:"Esc to cancel"}):H(q,{children:"Tab to toggle · Enter to confirm · Esc to cancel"}),f[20]=Q,f[21]=k;else k=f[21];let K;if(f[22]!==J||f[23]!==N)K=N?H(r,{marginLeft:2,children:H(q,{color:"error",children:N})}):X(Qf,{children:[H(r,{flexDirection:"column",gap:0,marginLeft:2,children:X(r,{flexDirection:"row",gap:2,children:[H(q,{bold:!0,children:"Fast mode"}),H(q,{color:J?"fastMode":void 0,bold:J,children:J?"ON ":"OFF"}),H(q,{dimColor:!0,children:d})]})}),$&&B.status==="cooldown"&&H(r,{marginLeft:2,children:X(q,{color:"warning",children:[B.reason==="overloaded"?"Fast mode overloaded and is temporarily unavailable":"You've hit your fast limit"," · resets in ",mf(B.resetAt-Date.now(),{hideTrailingZeros:!0})]})})]}),f[22]=J,f[23]=N,f[24]=K;else K=f[24];let E;if(f[25]===Symbol.for("react.memo_cache_sentinel"))E=X(q,{dimColor:!0,children:["Learn more:"," ",H(Vf,{url:"https://code.claude.com/docs/en/fast-mode",children:"https://code.claude.com/docs/en/fast-mode"})]}),f[25]=E;else E=f[25];let R;if(f[26]!==A||f[27]!==K||f[28]!==k)R=X(Xf,{title:Yf,subtitle:`High-speed mode for ${_}. Billed as extra usage at a premium rate. Separate rate limits apply.`,onCancel:A,color:"fastMode",inputGuide:k,children:[K,E]}),f[26]=A,f[27]=K,f[28]=k,f[29]=R;else R=f[29];return R}function jf(m){return!m}function uf(m){return{...m,fastMode:!1}}function Af(m){return m.fastMode}function vf(m){return m.mainLoopModel}async function Ff(m,f,G){let N=b();if(N)return`Fast mode unavailable: ${N}`;let{mainLoopModel:z}=f();if(S(m,G),D("tengu_fast_mode_toggled",{enabled:m,source:"shortcut"}),m){let V=U(!0),W=!j(z)?` · model set to ${_}`:"",J=p(M(!0));return`${V} Fast mode ON${W} · ${J}`}else return"Fast mode OFF"}async function H0(m,f,G){if(!Nf())return null;await Jf();let N=G?.trim().toLowerCase();if(N==="on"||N==="off"){let V=await Ff(N==="on",f.getAppState,f.setAppState);return m(V),null}let z=b();return D("tengu_fast_mode_picker_shown",{unavailable_reason:z??""}),H(Df,{onDone:m,unavailableReason:z})}var kf,Kf;var xf=o(()=>{Uf();ff();a();Tf();Lf();_f();hf();Of();Ef();Cf();T();kf=x(n(),1),Kf=x(Rf(),1)});
2
+ export{U as le,ff as me,Df as ne,H0 as oe,xf as pe};
@@ -0,0 +1,2 @@
1
+ import{dka as w,nka as F}from"./cli-1.0.5-1z04v9fp.mjs";import{zra as D}from"./cli-1.0.5-73mr16hn.mjs";function Q(b){z=b}function V(){let b=z?.()??{};if(!w(process.env.CLAUDE_CODE_SUBPROCESS_ENV_SCRUB))return Object.keys(b).length>0?{...process.env,...b}:process.env;let d={...process.env,...b};for(let q of J)delete d[q],delete d[`INPUT_${q}`];return d}var J,z;var L=D(()=>{F();J=["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_FOUNDRY_API_KEY","ANTHROPIC_CUSTOM_HEADERS","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_TRACES_HEADERS","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","GOOGLE_APPLICATION_CREDENTIALS","AZURE_CLIENT_SECRET","AZURE_CLIENT_CERTIFICATE_PATH","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","ACTIONS_RUNTIME_TOKEN","ACTIONS_RUNTIME_URL","ALL_INPUTS","OVERRIDE_GITHUB_TOKEN","DEFAULT_WORKFLOW_TOKEN","SSH_SIGNING_KEY"]});
2
+ export{Q as AU,V as BU,L as CU};
@@ -0,0 +1,2 @@
1
+ import{Tda as P,mea as y}from"./cli-1.0.5-9m4a2113.mjs";import{zra as U}from"./cli-1.0.5-73mr16hn.mjs";var j,D,G,M,N,Y,C,_,R,f,E,I,k,A,b,h,m,p,u,T,w,L,O,X,$,e;var W=U(()=>{j=["common","uncommon","rare","epic","legendary"],D=String.fromCharCode,G=D(100,117,99,107),M=D(103,111,111,115,101),N=D(98,108,111,98),Y=D(99,97,116),C=D(100,114,97,103,111,110),_=D(111,99,116,111,112,117,115),R=D(111,119,108),f=D(112,101,110,103,117,105,110),E=D(116,117,114,116,108,101),I=D(115,110,97,105,108),k=D(103,104,111,115,116),A=D(97,120,111,108,111,116,108),b=D(99,97,112,121,98,97,114,97),h=D(99,97,99,116,117,115),m=D(114,111,98,111,116),p=D(114,97,98,98,105,116),u=D(109,117,115,104,114,111,111,109),T=D(99,104,111,110,107),w=[G,M,N,Y,C,_,R,f,E,I,k,A,b,h,m,p,u,T],L=["·","✦","×","◉","@","°"],O=["none","crown","tophat","propeller","halo","wizard","beanie","tinyduck"],X=["DEBUGGING","PATIENCE","CHAOS","WISDOM","SNARK"],$={common:60,uncommon:25,rare:10,epic:4,legendary:1},e={common:"inactive",uncommon:"success",rare:"permission",epic:"autoAccept",legendary:"warning"}});function v(q){let z=q>>>0;return function(){z|=0,z=z+1831565813|0;let B=Math.imul(z^z>>>15,1|z);return B=B+Math.imul(B^B>>>7,61|B)^B,((B^B>>>14)>>>0)/4294967296}}function F(q){if(typeof Bun<"u")return Number(BigInt(Bun.hash(q))&0xffffffffn);let z=2166136261;for(let B=0;B<q.length;B++)z^=q.charCodeAt(B),z=Math.imul(z,16777619);return z>>>0}function K(q,z){return z[Math.floor(q()*z.length)]}function S(q){let z=Object.values($).reduce((J,Q)=>J+Q,0),B=q()*z;for(let J of j)if(B-=$[J],B<0)return J;return"common"}function i(q,z){let B=d[z],J=K(q,X),Q=K(q,X);while(Q===J)Q=K(q,X);let Z={};for(let V of X)if(V===J)Z[V]=Math.min(100,B+50+Math.floor(q()*30));else if(V===Q)Z[V]=Math.max(1,B-10+Math.floor(q()*15));else Z[V]=B+Math.floor(q()*40);return Z}function H(q){let z=S(q);return{bones:{rarity:z,species:K(q,w),eye:K(q,L),hat:z==="common"?"none":K(q,O),shiny:q()<0.01,stats:i(q,z)},inspirationSeed:Math.floor(q()*1e9)}}function l(q){let z=q+c;if(x?.key===z)return x.value;let B=H(v(F(z)));return x={key:z,value:B},B}function a(q){return H(v(F(q)))}function s(){let q=P();return q.oauthAccount?.accountUuid??q.userID??"anon"}function r(){let q=P().companion;if(!q)return;let{bones:z}=l(s());return{...q,...z}}var d,c="friend-2026-401",x;var g=U(()=>{y();W();d={common:5,uncommon:15,rare:25,epic:35,legendary:50}});
2
+ export{G as qW,M as rW,N as sW,Y as tW,C as uW,_ as vW,R as wW,f as xW,E as yW,I as zW,k as AW,A as BW,b as CW,h as DW,m as EW,p as FW,u as GW,T as HW,e as IW,W as JW,a as KW,s as LW,r as MW,g as NW};
@@ -0,0 +1,4 @@
1
+ import{Ko as IJ,LQ as UJ,Mo as pJ,Wi as cJ,iR as jJ,jR as $V,wK as DJ,xK as BJ,yK as lJ}from"./cli-1.0.5-hq3f080w.mjs";import{Kfa as G,P_ as mJ,S9 as p,Sca as m,Sfa as dJ,T9 as fJ,Tda as YJ,Y_ as NJ,a$ as gJ,ada as uJ,m_ as WJ,mea as hJ,r_ as l}from"./cli-1.0.5-9m4a2113.mjs";import{Cha as U,Dha as PJ}from"./cli-1.0.5-br28xg7b.mjs";import{pia as f,sia as SJ}from"./cli-1.0.5-t1pv236j.mjs";import{eja as VJ,ija as bJ,sja as Q,vja as kJ}from"./cli-1.0.5-a0zsx9k5.mjs";import{Sja as JJ,Zja as yJ}from"./cli-1.0.5-k8de6zdd.mjs";import{Pla as qJ,Qla as zJ}from"./cli-1.0.5-q8fmarwj.mjs";import{vra as wJ,zra as _J}from"./cli-1.0.5-73mr16hn.mjs";class c{paths=[];lowerPaths=[];charBits=new Int32Array(0);pathLens=new Uint16Array(0);topLevelCache=null;readyCount=0;loadFromFileList(J){let W=new Set,Z=[];for(let V of J)if(V.length>0&&!W.has(V))W.add(V),Z.push(V);this.buildIndex(Z)}loadFromFileListAsync(J){let W=()=>{},Z=new Promise((Y)=>{W=Y}),V=this.buildAsync(J,W);return{queryable:Z,done:V}}async buildAsync(J,W){let Z=new Set,V=[],Y=performance.now();for(let X=0;X<J.length;X++){let _=J[X];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if((X&255)===255&&performance.now()-Y>4)await b(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let $=!0;for(let X=0;X<V.length;X++)if(this.indexPath(X),(X&255)===255&&performance.now()-Y>4){if(this.readyCount=X+1,$)W(),$=!1;await b(),Y=performance.now()}this.readyCount=V.length,W()}buildIndex(J){this.resetArrays(J);for(let W=0;W<J.length;W++)this.indexPath(W);this.readyCount=J.length}resetArrays(J){let W=J.length;this.paths=J,this.lowerPaths=Array(W),this.charBits=new Int32Array(W),this.pathLens=new Uint16Array(W),this.readyCount=0,this.topLevelCache=LJ(J,100)}indexPath(J){let W=this.paths[J].toLowerCase();this.lowerPaths[J]=W;let Z=W.length;this.pathLens[J]=Z;let V=0;for(let Y=0;Y<Z;Y++){let $=W.charCodeAt(Y);if($>=97&&$<=122)V|=1<<$-97}this.charBits[J]=V}search(J,W){if(W<=0)return[];if(J.length===0){if(this.topLevelCache)return this.topLevelCache.slice(0,W);return[]}let Z=J!==J.toLowerCase(),V=Z?J:J.toLowerCase(),Y=Math.min(V.length,64),$=Array(Y),X=0;for(let M=0;M<Y;M++){let B=V.charAt(M);$[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)X|=1<<E-97}let _=Y*24+8+32,H=[],N=-1/0,{paths:I,lowerPaths:q,charBits:x,pathLens:j,readyCount:g}=this;J:for(let M=0;M<g;M++){if((x[M]&X)!==X)continue;let B=Z?I[M]:q[M],E=B.indexOf($[0]);if(E===-1)continue;y[0]=E;let C=0,u=0,h=E;for(let A=1;A<Y;A++){if(E=B.indexOf($[A],h+1),E===-1)continue J;y[A]=E;let F=E-h-1;if(F===0)u+=4;else C+=3+F*1;h=E}if(H.length===W&&_+u-C<=N)continue;let S=I[M],vJ=j[M],T=Y*16+u-C;T+=HJ(S,y[0],!0);for(let A=1;A<Y;A++)T+=HJ(S,y[A],!1);if(T+=Math.max(0,32-(vJ>>2)),H.length<W){if(H.push({path:S,fuzzScore:T}),H.length===W)H.sort((A,F)=>A.fuzzScore-F.fuzzScore),N=H[0].fuzzScore}else if(T>N){let A=0,F=H.length;while(A<F){let d=A+F>>1;if(H[d].fuzzScore<T)A=d+1;else F=d}H.splice(A,0,{path:S,fuzzScore:T}),H.shift(),N=H[0].fuzzScore}}H.sort((M,B)=>B.fuzzScore-M.fuzzScore);let D=H.length,w=Math.max(D,1),z=Array(D);for(let M=0;M<D;M++){let B=H[M].path,E=M/w,C=B.includes("test")?Math.min(E*1.05,1):E;z[M]={path:B,score:C}}return z}}function HJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(RJ(V))return 8;if(GJ(V)&&CJ(J.charCodeAt(W)))return 6;return 0}function RJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function GJ(J){return J>=97&&J<=122}function CJ(J){return J>=65&&J<=90}function b(){return new Promise((J)=>setImmediate(J))}function LJ(J,W){let Z=new Set;for(let Y of J){let $=Y.length;for(let _=0;_<Y.length;_++){let H=Y.charCodeAt(_);if(H===47||H===92){$=_;break}}let X=Y.slice(0,$);if(X.length>0){if(Z.add(X),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,$)=>{let X=Y.length-$.length;if(X!==0)return X;return Y<$?-1:Y>$?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var QJ=4,y;var MJ=_J(()=>{y=new Int32Array(64)});import{statSync as nJ}from"fs";import*as O from"path";function n(){if(!K)K=new c;return K}function vV(){K=null,v=null,R++,k=null,L=[],$J=[],XJ=[],ZJ.clear(),s=null,o=null,a=0,i=null,r=null,P=null}function xJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let $=J[Y];for(let X=0;X<$.length;X++)V=(V^$.charCodeAt(X))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let $=0;$<Y.length;$++)V=(V^Y.charCodeAt($))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function sJ(){let J=WJ(U());if(!J)return null;try{return nJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function OJ(J,W,Z){if(Z===W)return J;return J.map((V)=>{let Y=O.join(W,V);return O.relative(Z,Y)})}async function oJ(J){if(J.length===0)return;if(!K||L.length===0)return;let W=await FJ(J),Z=[...L,...$J,...XJ,...J,...W],V=xJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await K.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${L.length} tracked + ${J.length} untracked files`)}async function EJ(J,W){let Z=`${J}:${W}`;if(o===Z)return s;let V=VJ(),Y=[".ignore",".rgignore"],$=[...new Set([J,W])],X=KJ.default(),_=!1,H=$.flatMap((q)=>Y.map((x)=>O.join(q,x))),N=await Promise.all(H.map((q)=>V.readFile(q,{encoding:"utf8"}).catch(()=>null)));for(let[q,x]of N.entries()){if(x===null)continue;X.add(x),_=!0,Q(`[FileIndex] loaded ignore patterns from ${H[q]}`)}let I=_?X:null;return s=I,o=Z,I}async function aJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=WJ(U());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=U(),$=Date.now(),X=await p(l(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-$}ms`),X.code!==0)return Q(`[FileIndex] git ls-files failed (code=${X.code}, stderr=${X.stderr}), falling back to ripgrep`),null;let _=X.stdout.trim().split(`
2
+ `).filter(Boolean),H=OJ(_,V,Y),N=await EJ(V,Y);if(N){let q=H.length;H=N.filter(H),Q(`[FileIndex] applied ignore patterns: ${q} -> ${H.length} files`)}L=H;let I=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${H.length} tracked files in ${I}ms`),f("tengu_file_suggestions_git_ls_files",{file_count:H.length,tracked_count:H.length,untracked_count:0,duration_ms:I}),!k){let q=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],x=R;k=p(l(),q,{timeout:1e4,cwd:V}).then(async(j)=>{if(x!==R)return;if(j.code===0){let g=j.stdout.trim().split(`
3
+ `).filter(Boolean),D=OJ(g,V,Y),w=await EJ(V,Y);if(w&&D.length>0){let z=D.length;D=w.filter(D),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${D.length} files`)}Q(`[FileIndex] background untracked fetch: ${D.length} files`),oJ(D)}}).catch((j)=>{Q(`[FileIndex] background untracked fetch failed: ${j}`)}).finally(()=>{k=null})}return H}catch(Y){return Q(`[FileIndex] git ls-files error: ${JJ(Y)}`),null}}async function FJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(iJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>QJ)await b(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function iJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let $=O.dirname(J[Y]);while($!=="."&&!V.has($)){let X=O.dirname($);if(X===$)break;V.add($),$=X}}}async function rJ(J){return(await Promise.all(DJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function tJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await aJ(J,W);if(Z!==null)return Q(`[FileIndex] using git ls-files result (${Z.length} files)`),Z;return Q("[FileIndex] git ls-files returned null, falling back to ripgrep"),TJ(J,W)}async function TJ(J,W){let Z=Date.now(),V=["--files","--follow","--hidden","--glob","!.git/","--glob","!.svn/","--glob","!.hg/","--glob","!.bzr/","--glob","!.jj/","--glob","!.sl/"];if(!W)V.push("--no-ignore-vcs");let $=(await IJ(V,".",J)).map((_)=>O.relative(U(),_)),X=Date.now()-Z;return Q(`[FileIndex] ripgrep: ${$.length} files in ${X}ms`),f("tengu_file_suggestions_ripgrep",{file_count:$.length,duration_ms:X}),$}async function RV(){let J=AbortSignal.timeout(1e4),W=m(),Z=YJ(),V=W.respectGitignore??Z.respectGitignore??!0;try{return await TJ(J,V)}catch(Y){return G(Y),[]}}async function eJ(){let J=AbortSignal.timeout(1e4),W=n();try{let Z=m(),V=YJ(),Y=Z.respectGitignore??V.respectGitignore??!0,$=U(),[X,_]=await Promise.all([tJ(J,Y),rJ($)]);$J=_;let H=[...X,..._],N=await FJ(H);XJ=N;let I=[...N,...H],q=xJ(I);if(q!==r)await W.loadFromFileListAsync(I).done,r=q,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){G(Z)}return W}function JV(J,W){let Z=Math.min(J.length,W.length),V=0;while(V<Z&&J[V]===W[V])V++;return J.substring(0,V)}function GV(J){if(J.length===0)return"";let W=J.map((V)=>V.displayText),Z=W[0];for(let V=1;V<W.length;V++){let Y=W[V];if(Z=JV(Z,Y),Z==="")return""}return Z}function t(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function VV(J,W){return J.search(W,e).map((V)=>t(V.path,V.score))}function AJ(){if(v)return;let J=sJ();if(K){if(!(J!==null&&J!==i)&&Date.now()-a<WV)return}let W=R,Z=Date.now();n(),v=eJ().then((V)=>{if(W!==R)return V;return v=null,ZJ.emit(),i=J,a=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${JJ(V)}`),G(V),W===R)v=null;return n()})}async function YV(){let J=VJ(),W=U();try{let Z=await J.readdir(W);return Z.sort((V,Y)=>{let $=V.isDirectory(),X=Y.isDirectory();if($!==X)return $?-1:1;let _=V.name.startsWith("."),H=Y.name.startsWith(".");if(_!==H)return _?-1:1;return V.name.toLowerCase().localeCompare(Y.name.toLowerCase())}),Z.map((V)=>{let Y=O.join(W,V.name),$=O.relative(W,Y);return V.isDirectory()?$+O.sep:$})}catch(Z){return G(Z),[]}}async function CV(J,W=!1){if(!J&&!W)return[];if(m().fileSuggestion?.type==="command"){let V={...UJ(),query:J};return(await jJ(V)).slice(0,e).map(t)}if(J===""||J==="."||J==="./"){let V=await YV();return AJ(),V.slice(0,e).map(t)}let Z=Date.now();try{let V=v!==null;AJ();let Y=J,$="."+O.sep;if(J.startsWith($))Y=J.substring(2);if(Y.startsWith("~"))Y=NJ(Y);let X=K?VV(K,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${X.length} results in ${_}ms (${V?"partial":"full"} index)`),f("tengu_file_suggestions_query",{duration_ms:_,cache_hit:!V,result_count:X.length,query_length:J.length}),X}catch(V){return G(V),[]}}function LV(J,W,Z,V,Y,$){let X=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+X+W.substring(V+Z.length);Y(_);let H=V+X.length;$(H)}var KJ,K=null,v=null,ZJ,jV,R=0,k=null,L,$J,XJ,s=null,o=null,a=0,i=null,r=null,P=null,e=100,WV=5000;var ZV=_J(()=>{lJ();MJ();SJ();hJ();PJ();kJ();yJ();fJ();bJ();mJ();$V();dJ();gJ();pJ();uJ();zJ();KJ=wJ(cJ(),1);ZJ=qJ(),jV=ZJ.subscribe,L=[],$J=[],XJ=[]});
4
+ export{c as ai,MJ as bi,jV as ci,vV as di,RV as ei,GV as fi,AJ as gi,CV as hi,LV as ii,ZV as ji};
@@ -0,0 +1,2 @@
1
+ import{zra as b}from"./cli-1.0.5-73mr16hn.mjs";var j=86400000,k="Remote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",q="Error: You must be logged in to use Remote Control.\n\nRemote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",w="Remote Control disconnected.";var g=()=>{};
2
+ export{j as df,k as ef,q as ff,w as gf,g as hf};
@@ -0,0 +1,2 @@
1
+ import{Gh as v,Hh as i}from"./cli-1.0.5-g9s591pn.mjs";import{Ih as E,Jh as t}from"./cli-1.0.5-t5wec35j.mjs";import{tX as b,uX as s}from"./cli-1.0.5-ax3758yk.mjs";import{J0 as m,c0 as L,e0 as X}from"./cli-1.0.5-7b347m92.mjs";import{q3 as $,s3 as F}from"./cli-1.0.5-jcd8tadh.mjs";import{t3 as d}from"./cli-1.0.5-t8qp4fth.mjs";import{A9 as C,B9 as n}from"./cli-1.0.5-9m4a2113.mjs";import{Xfa as O,Yfa as l,Zfa as P,_fa as k,nga as o}from"./cli-1.0.5-0k6kyvrp.mjs";import{vra as g,zra as a}from"./cli-1.0.5-73mr16hn.mjs";function Kq(J,q,H){if(J.startsWith("file-"))return H?v(q):"+";if(J.startsWith("mcp-resource-"))return"◇";if(J.startsWith("agent-"))return"*";return"+"}function Oq(J){return J.startsWith("file-")||J.startsWith("mcp-resource-")||J.startsWith("agent-")}function Qq(J){let q=J.metadata?.type;return q==="directory"||q==="file"}function Zq({suggestions:J,selectedSuggestion:q,maxColumnWidth:H,overlay:K}){let{rows:A}=b(),Y=A-2,G=Y>=e?Math.min(qq,Y):Math.max(1,Y);if(J.length===0)return null;let w=H??Math.max(...J.map((Q)=>O(Q.displayText)))+5,V=Math.max(0,Math.min(q-Math.floor(G/2),J.length-G)),U=Math.min(V+G,J.length),Z=J.slice(V,U);return $(L,{flexDirection:"column",justifyContent:K?void 0:"flex-end",children:Z.map((Q)=>$(Yq,{item:Q,maxColumnWidth:w,isSelected:Q.id===J[q]?.id},`${Q.id}:${Q.id===J[q]?.id?"selected":"idle"}`))})}var _,e=8,qq=15,y,Jq=" ",B,j,Yq,Mq;var $q=a(()=>{n();s();l();m();i();o();t();F();_=g(d(),1),y=`${C.pointer} `,B=O(y),j=E();Yq=_.memo(function({item:q,maxColumnWidth:H,isSelected:K}){let A=b().columns,Y=K?y:Jq,G=K?"suggestion":void 0,w=K?"inverseText":void 0;if(Oq(q.id)){let D=Kq(q.id,q.displayText,j),I=!K,x=q.id.startsWith("file-"),c=q.id.startsWith("mcp-resource-"),Aq=2,Gq=4,R=q.description?3:0,z;if(x){let N=q.description?Math.min(20,O(q.description)):0,r=A-B-2-4-R-N;z=P(q.displayText,r)}else if(c)z=k(q.displayText,30);else z=q.displayText;let u=A-B-2-O(z)-R-4,M;if(q.description){let N=k(q.description.replace(/\s+/g," "),Math.max(0,u));M=`${Y}${D} ${z} - ${N}`}else M=`${Y}${D} ${z}`;return $(L,{width:"100%",opaque:!0,backgroundColor:G,children:$(X,{color:w,dimColor:I,bold:K,wrap:"truncate",children:M})})}let V=Math.floor(A*0.4),U=Math.min(H??O(q.displayText)+5,V),Z=q.displayText;if(O(Z)>U-2)Z=k(Z,U-2);let Q=Qq(q)?`${j?v(q.displayText):"+"} `:"",W=Y+Q+Z+" ".repeat(Math.max(0,U-O(Z))),f=q.tag?`[${q.tag}] `:"",S=O(f),h=Math.max(0,A-B-U-S-4),p=q.description?k(q.description.replace(/\s+/g," "),h):"",T=`${W}${f}${p}`;return $(L,{width:"100%",opaque:!0,backgroundColor:G,children:$(X,{color:w,dimColor:!K,bold:K,wrap:"truncate",children:T})})});Mq=_.memo(Zq)});
2
+ export{Zq as Bh,Mq as Ch,$q as Dh};
@@ -0,0 +1,2 @@
1
+ import{Ah as fq,xh as e}from"./cli-1.0.5-9c0hvxqx.mjs";import{Bh as t,Dh as Hq}from"./cli-1.0.5-5r2pnj92.mjs";import{EF as r,FF as kq,OF as n,PF as Mq,Qn as S,Rn as Nq,Sn as g,Tn as Vq,Un as $,Vn as Wq,Yn as i,Zn as Yq,kO as o,lO as s,mO as Oq}from"./cli-1.0.5-hq3f080w.mjs";import{HX as u,JX as Zq}from"./cli-1.0.5-ax3758yk.mjs";import{J0 as Xq,JY as Qq,c0 as M,e0 as F,w0 as c,x0 as Uq}from"./cli-1.0.5-7b347m92.mjs";import{q3 as L,r3 as R,s3 as l}from"./cli-1.0.5-jcd8tadh.mjs";import{t3 as Lq}from"./cli-1.0.5-t8qp4fth.mjs";import{A9 as d,B9 as Jq}from"./cli-1.0.5-9m4a2113.mjs";import{vra as a,zra as Gq}from"./cli-1.0.5-73mr16hn.mjs";function qq(){let Z=T.c(1),q;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=L(F,{dimColor:!0,children:"Claude Code will be able to read files in this directory and make edits when auto-accept edits is on."}),Z[0]=q;else q=Z[0];return q}function wq(Z){let q=T.c(5),{path:X}=Z,Q;if(q[0]!==X)Q=L(F,{color:"permission",children:X}),q[0]=X,q[1]=Q;else Q=q[1];let N;if(q[2]===Symbol.for("react.memo_cache_sentinel"))N=L(qq,{}),q[2]=N;else N=q[2];let J;if(q[3]!==Q)J=R(M,{flexDirection:"column",paddingX:2,gap:1,children:[Q,N]}),q[3]=Q,q[4]=J;else J=q[4];return J}function Kq(Z){let q=T.c(14),{value:X,onChange:Q,onSubmit:N,error:J,suggestions:V,selectedSuggestion:w}=Z,k;if(q[0]===Symbol.for("react.memo_cache_sentinel"))k=L(F,{children:"Enter the path to the directory:"}),q[0]=k;else k=q[0];let Y;if(q[1]!==Q||q[2]!==N||q[3]!==X)Y=L(M,{borderDimColor:!0,borderStyle:"round",marginY:1,paddingLeft:1,children:L(r,{showCursor:!0,placeholder:`Directory path${d.ellipsis}`,value:X,onChange:Q,onSubmit:N,columns:80,cursorOffset:X.length,onChangeCursorOffset:Aq})}),q[1]=Q,q[2]=N,q[3]=X,q[4]=Y;else Y=q[4];let W;if(q[5]!==w||q[6]!==V)W=V.length>0&&L(M,{marginBottom:1,children:L(t,{suggestions:V,selectedSuggestion:w})}),q[5]=w,q[6]=V,q[7]=W;else W=q[7];let U;if(q[8]!==J)U=J&&L(F,{color:"error",children:J}),q[8]=J,q[9]=U;else U=q[9];let O;if(q[10]!==Y||q[11]!==W||q[12]!==U)O=R(M,{flexDirection:"column",children:[k,Y,W,U]}),q[10]=Y,q[11]=W,q[12]=U,q[13]=O;else O=q[13];return O}function Aq(){}function lq(Z){let q=T.c(34),{onAddDirectory:X,onCancel:Q,permissionContext:N,directoryPath:J}=Z,[V,w]=H.useState(""),[k,Y]=H.useState(null),W;if(q[0]===Symbol.for("react.memo_cache_sentinel"))W=[],q[0]=W;else W=q[0];let[U,O]=H.useState(W),[f,B]=H.useState(0),v;if(q[1]===Symbol.for("react.memo_cache_sentinel"))v=async(z)=>{if(!z){O([]),B(0);return}let G=await e(z);O(G),B(0)},q[1]=v;else v=q[1];let I=c(v,100),C,P;if(q[2]!==I||q[3]!==V)C=()=>{I(V)},P=[V,I],q[2]=I,q[3]=V,q[4]=C,q[5]=P;else C=q[4],P=q[5];H.useEffect(C,P);let m;if(q[6]===Symbol.for("react.memo_cache_sentinel"))m=(z)=>{let G=z.id+"/";w(G),Y(null)},q[6]=m;else m=q[6];let zq=m,_;if(q[7]!==X||q[8]!==N)_=async(z)=>{let G=await o(z,N);if(G.resultType==="success")X(G.absolutePath,!1);else Y(s(G))},q[7]=X,q[8]=N,q[9]=_;else _=q[9];let K=_,D;if(q[10]===Symbol.for("react.memo_cache_sentinel"))D={context:"Settings"},q[10]=D;else D=q[10];u("confirm:no",Q,D);let b;if(q[11]!==K||q[12]!==f||q[13]!==U)b=(z)=>{if(U.length>0){if(z.key==="tab"){z.preventDefault();let G=U[f];if(G)zq(G);return}if(z.key==="return"){z.preventDefault();let G=U[f];if(G)K(G.id+"/");return}if(z.key==="up"||z.ctrl&&z.key==="p"){z.preventDefault(),B((G)=>G<=0?U.length-1:G-1);return}if(z.key==="down"||z.ctrl&&z.key==="n"){z.preventDefault(),B((G)=>G>=U.length-1?0:G+1);return}}},q[11]=K,q[12]=f,q[13]=U,q[14]=b;else b=q[14];let x=b,j;if(q[15]!==J||q[16]!==X||q[17]!==Q)j=(z)=>{if(!J)return;let G=z;q:switch(G){case"yes-session":{X(J,!1);break q}case"yes-remember":{X(J,!0);break q}case"no":Q()}},q[15]=J,q[16]=X,q[17]=Q,q[18]=j;else j=q[18];let y=j,p=J?void 0:Eq,A;if(q[19]!==V||q[20]!==J||q[21]!==k||q[22]!==y||q[23]!==K||q[24]!==f||q[25]!==U)A=J?R(M,{flexDirection:"column",gap:1,children:[L(wq,{path:J}),L(n,{options:Rq,onChange:y,onCancel:()=>y("no")})]}):R(M,{flexDirection:"column",gap:1,marginX:2,children:[L(qq,{}),L(Kq,{value:V,onChange:w,onSubmit:K,error:k,suggestions:U,selectedSuggestion:f})]}),q[19]=V,q[20]=J,q[21]=k,q[22]=y,q[23]=K,q[24]=f,q[25]=U,q[26]=A;else A=q[26];let E;if(q[27]!==Q||q[28]!==p||q[29]!==A)E=L(i,{title:"Add directory to workspace",onCancel:Q,color:"permission",isCancelActive:!1,inputGuide:p,children:A}),q[27]=Q,q[28]=p,q[29]=A,q[30]=E;else E=q[30];let h;if(q[31]!==x||q[32]!==E)h=L(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:x,children:E}),q[31]=x,q[32]=E,q[33]=h;else h=q[33];return h}function Eq(Z){return Z.pending?R(F,{children:["Press ",Z.keyName," again to exit"]}):R($,{children:[L(S,{shortcut:"Tab",action:"complete"}),L(S,{shortcut:"Enter",action:"add"}),L(g,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})}var T,H,Rq;var Fq=Gq(()=>{Jq();Uq();Oq();kq();Xq();Zq();fq();Vq();Mq();Wq();Yq();Nq();Hq();l();T=a(Qq(),1),H=a(Lq(),1),Rq=[{value:"yes-session",label:"Yes, for this session"},{value:"yes-remember",label:"Yes, and remember this directory"},{value:"no",label:"No"}]});
2
+ export{lq as vh,Fq as wh};
@@ -0,0 +1,2 @@
1
+ import{Id as x,Jd as o}from"./cli-1.0.5-53d6wywt.mjs";import{$y as u,DK as O,EC as M,EK as a,Gz as K,Iz as m,KC as l,PK as R,SK as i,Uy as $,VL as W,Vy as d,YL as t,Zy as y,dp as Y,fp as g,mu as Z,su as v}from"./cli-1.0.5-hq3f080w.mjs";import{Kfa as X,Sfa as h}from"./cli-1.0.5-9m4a2113.mjs";import{sja as I,vja as c}from"./cli-1.0.5-a0zsx9k5.mjs";import{Sja as V,Zja as f}from"./cli-1.0.5-k8de6zdd.mjs";import{Qpa as _,Zla as U}from"./cli-1.0.5-q8fmarwj.mjs";import{zra as C}from"./cli-1.0.5-73mr16hn.mjs";async function Lj(w){I("refreshActivePlugins: clearing all plugin caches"),R(),K();let G=await W(),[E,F]=await Promise.all([O(),Z(U())]),{enabled:z,disabled:B,errors:H}=G;x(E);let[P,S]=await Promise.all([Promise.all(z.map(async(j)=>{if(j.mcpServers)return Object.keys(j.mcpServers).length;let q=await Y(j,H);if(q)j.mcpServers=q;return q?Object.keys(q).length:0})),Promise.all(z.map(async(j)=>{if(j.lspServers)return Object.keys(j.lspServers).length;let q=await $(j,H);if(q)j.lspServers=q;return q?Object.keys(q).length:0}))]),J=P.reduce((j,q)=>j+q,0),L=S.reduce((j,q)=>j+q,0);w((j)=>({...j,plugins:{...j.plugins,enabled:z,disabled:B,commands:[],errors:n(j.plugins.errors,H),needsRefresh:!1},agentDefinitions:F,mcp:{...j.mcp,pluginReconnectKey:j.mcp.pluginReconnectKey+1}})),y();let N=!1;try{await M()}catch(j){N=!0,X(j),I(`refreshActivePlugins: loadPluginHooks failed: ${V(j)}`)}let Q=z.reduce((j,q)=>{if(!q.hooksConfig)return j;return j+Object.values(q.hooksConfig).reduce((k,A)=>k+(A?.reduce((D,b)=>D+b.hooks.length,0)??0),0)},0);return I(`refreshActivePlugins: ${z.length} enabled, ${E.length} commands, ${F.allAgents.length} agents, ${Q} hooks, ${J} MCP, ${L} LSP`),{enabled_count:z.length,disabled_count:B.length,command_count:E.length,agent_count:F.allAgents.length,hook_count:Q,mcp_count:J,lsp_count:L,error_count:H.length+(N?1:0),agentDefinitions:F,pluginCommands:E}}function n(w,G){let E=w.filter((B)=>B.source==="lsp-manager"||B.source.startsWith("plugin:")),F=new Set(G.map(T));return[...E.filter((B)=>!F.has(T(B))),...G]}function T(w){return w.type==="generic-error"?`generic-error:${w.source}:${w.error}`:`${w.type}:${w.source}`}var p=C(()=>{_();u();o();v();c();f();h();i();a();l();d();g();m();t()});
2
+ export{Lj as Ed,p as Fd};
@@ -0,0 +1,2 @@
1
+ import{$t as T,Uw as U,Vw as V,Yw as f,_t as R,au as $}from"./cli-1.0.5-hq3f080w.mjs";import{O5 as Q,P5 as _}from"./cli-1.0.5-rzs07ec3.mjs";import{Kfa as G,Sfa as Z,gaa as L,naa as Y}from"./cli-1.0.5-9m4a2113.mjs";import{zra as X}from"./cli-1.0.5-73mr16hn.mjs";function S(q,j){let z=new Map;for(let x of j)z.set(x.agentType,x);let H=new Set,J=[];for(let x of q){let K=`${x.agentType}:${x.source}`;if(H.has(K))continue;H.add(K);let E=z.get(x.agentType),W=E&&E.source!==x.source?E.source:void 0;J.push({...x,overriddenBy:W})}return J}function I(q){let j=q.model||U();if(!j)return;if(j==="inherit")return"inherit";if(j==="haiku"||j==="sonnet"||j==="opus"){try{if(!V())return"inherit";if(!Q(j))return"inherit"}catch(z){G(z)}return j}return T(j,`agent:${q.agentType}`,{getAvailableModelIds:R,logDebug:()=>{},logErr:G})??j}function N(q){return L(q).toLowerCase()}function P(q,j){return q.agentType.localeCompare(j.agentType,void 0,{sensitivity:"base"})}var O;var h=X(()=>{f();_();Z();Y();$();O=[{label:"User agents",source:"userSettings"},{label:"Project agents",source:"projectSettings"},{label:"Local agents",source:"localSettings"},{label:"Managed agents",source:"policySettings"},{label:"Plugin agents",source:"plugin"},{label:"CLI arg agents",source:"flagSettings"},{label:"Built-in agents",source:"built-in"}]});
2
+ export{O as Xc,S as Yc,I as Zc,N as _c,P as $c,h as ad};
@@ -0,0 +1,2 @@
1
+ import{P_ as x,Z9 as X,b_ as k,t_ as Y}from"./cli-1.0.5-9m4a2113.mjs";import{nga as $}from"./cli-1.0.5-0k6kyvrp.mjs";import{zra as Z}from"./cli-1.0.5-73mr16hn.mjs";import{stat as I}from"fs/promises";import{join as Q,sep as P}from"path";async function H(J){let q=await Y(J);if(!q)return;let K=await X(q),[z,B]=await Promise.all([V(Q(q,"FETCH_HEAD")),K?V(Q(K,"FETCH_HEAD")):Promise.resolve(void 0)]);if(z&&B)return z>B?z:B;return z??B}async function V(J){try{let{mtime:q}=await I(J);return q}catch{return}}var M=Z(()=>{$();k();x()});
2
+ export{H as eb,M as fb};
@@ -0,0 +1,2 @@
1
+ import{AM as k,GM as V,gM as C,qM as N,zM as $}from"./cli-1.0.5-hq3f080w.mjs";import{J0 as D,JY as P,c0 as f,e0 as t,i0 as v}from"./cli-1.0.5-7b347m92.mjs";import{q3 as n,r3 as i,s3 as M}from"./cli-1.0.5-jcd8tadh.mjs";import{vra as w,zra as L}from"./cli-1.0.5-73mr16hn.mjs";function W(o){let e=b.c(26),{scope:r,parsingErrors:s,warnings:m}=o,a=s.length>0,g=m.length>0;if(!a&&!g)return null;let p;if(e[0]!==a||e[1]!==g)p=(a||g)&&i(t,{color:a?"error":"warning",children:["[",a?"Failed to parse":"Contains warnings","]"," "]}),e[0]=a,e[1]=g,e[2]=p;else p=e[2];let c;if(e[3]!==r)c=k(r),e[3]=r,e[4]=c;else c=e[4];let l;if(e[5]!==c)l=n(t,{children:c}),e[5]=c,e[6]=l;else l=e[6];let u;if(e[7]!==p||e[8]!==l)u=i(f,{children:[p,l]}),e[7]=p,e[8]=l,e[9]=u;else u=e[9];let E;if(e[10]===Symbol.for("react.memo_cache_sentinel"))E=n(t,{dimColor:!0,children:"Location: "}),e[10]=E;else E=e[10];let h;if(e[11]!==r)h=$(r),e[11]=r,e[12]=h;else h=e[12];let d;if(e[13]!==h)d=i(f,{children:[E,n(t,{dimColor:!0,children:h})]}),e[13]=h,e[14]=d;else d=e[14];let T;if(e[15]!==s)T=s.map(F),e[15]=s,e[16]=T;else T=e[16];let _;if(e[17]!==m)_=m.map(x),e[17]=m,e[18]=_;else _=e[18];let y;if(e[19]!==T||e[20]!==_)y=i(f,{marginLeft:1,flexDirection:"column",children:[T,_]}),e[19]=T,e[20]=_,e[21]=y;else y=e[21];let S;if(e[22]!==y||e[23]!==u||e[24]!==d)S=i(f,{flexDirection:"column",marginTop:1,children:[u,d,y]}),e[22]=y,e[23]=u,e[24]=d,e[25]=S;else S=e[25];return S}function x(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"warning",children:"[Warning]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`warning-${e}`)}function F(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"error",children:"[Error]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`error-${e}`)}function J(){let o=b.c(6),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e={scope:"user",config:C("user")},o[0]=e;else e=o[0];let r;if(o[1]===Symbol.for("react.memo_cache_sentinel"))r={scope:"project",config:C("project")},o[1]=r;else r=o[1];let s;if(o[2]===Symbol.for("react.memo_cache_sentinel"))s={scope:"local",config:C("local")},o[2]=s;else s=o[2];let m;if(o[3]===Symbol.for("react.memo_cache_sentinel"))m=[e,r,s,{scope:"enterprise",config:C("enterprise")}],o[3]=m;else m=o[3];let a=m,g=a.some(q),p=a.some(R);if(!g&&!p)return null;let c;if(o[4]===Symbol.for("react.memo_cache_sentinel"))c=n(t,{bold:!0,children:"MCP Config Diagnostics"}),o[4]=c;else c=o[4];let l;if(o[5]===Symbol.for("react.memo_cache_sentinel"))l=i(f,{flexDirection:"column",marginTop:1,marginBottom:1,children:[c,n(f,{marginTop:1,children:i(t,{dimColor:!0,children:["For help configuring MCP servers, see:"," ",n(v,{url:"https://code.claude.com/docs/en/mcp",children:"https://code.claude.com/docs/en/mcp"})]})}),a.map(A)]}),o[5]=l;else l=o[5];return l}function A(o){let{scope:e,config:r}=o;return n(W,{scope:e,parsingErrors:B(r.errors,"fatal"),warnings:B(r.errors,"warning")},e)}function R(o){let{config:e}=o;return B(e.errors,"warning").length>0}function q(o){let{config:e}=o;return B(e.errors,"fatal").length>0}function B(o,e){return o.filter((r)=>r.mcpErrorMetadata?.severity===e)}var b;var z=L(()=>{N();V();D();M();b=w(P(),1)});
2
+ export{J as xg,z as yg};
@@ -0,0 +1,2 @@
1
+ import{createRequire as w}from"node:module";var p=Object.create;var{getPrototypeOf:q,defineProperty:k,getOwnPropertyNames:m,getOwnPropertyDescriptor:r}=Object,n=Object.prototype.hasOwnProperty;function o(a){return this[a]}var s,t,z=(a,b,c)=>{var d=a!=null&&typeof a==="object";if(d){var h=b?s??=new WeakMap:t??=new WeakMap,g=h.get(a);if(g)return g}c=a!=null?p(q(a)):{};let e=b||!a||!a.__esModule?k(c,"default",{value:a,enumerable:!0}):c;for(let f of m(a))if(!n.call(e,f))k(e,f,{get:o.bind(a,f),enumerable:!0});if(d)h.set(a,e);return e},A=(a)=>{var b=(l??=new WeakMap).get(a),c;if(b)return b;if(b=k({},"__esModule",{value:!0}),a&&typeof a==="object"||typeof a==="function"){for(var d of m(a))if(!n.call(b,d))k(b,d,{get:o.bind(a,d),enumerable:!(c=r(a,d))||c.enumerable})}return l.set(a,b),b},l,B=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var u=(a)=>a;function v(a,b){this[a]=u.bind(null,b)}var C=(a,b)=>{for(var c in b)k(a,c,{get:b[c],enumerable:!0,configurable:!0,set:v.bind(b,c)})};var D=(a,b)=>()=>(a&&(b=a(a=0)),b);var F=w(import.meta.url),x=Symbol.dispose||Symbol.for("Symbol.dispose"),y=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),G=(a,b,c)=>{if(b!=null){if(typeof b!=="object"&&typeof b!=="function")throw TypeError('Object expected to be assigned to "using" declaration');var d;if(c)d=b[y];if(d===void 0)d=b[x];if(typeof d!=="function")throw TypeError("Object not disposable");a.push([c,d,b])}else if(c)a.push([c]);return b},H=(a,b,c)=>{var d=typeof SuppressedError==="function"?SuppressedError:function(e,f,i,j){return j=Error(i),j.name="SuppressedError",j.error=e,j.suppressed=f,j},h=(e)=>b=c?new d(e,b,"An error was suppressed during disposal"):(c=!0,e),g=(e)=>{while(e=a.pop())try{var f=e[1]&&e[1].call(e[2]);if(e[0])return Promise.resolve(f).then(g,(i)=>(h(i),g()))}catch(i){h(i)}if(c)throw b};return g()};
2
+ export{z as vra,A as wra,B as xra,C as yra,D as zra,F as Ara,G as Bra,H as Cra};
@@ -0,0 +1,2 @@
1
+ import{Ji as H,Li as C}from"./cli-1.0.5-tdwgmc3m.mjs";import{Mi as k,Ni as y}from"./cli-1.0.5-mffe7dsb.mjs";import{H3 as X,J3 as Y,O3 as R}from"./cli-1.0.5-4h3763ep.mjs";import{Q3 as G,R3 as m}from"./cli-1.0.5-tmwsjg05.mjs";import{K7 as B,Z7 as f,s4 as w,t4 as E}from"./cli-1.0.5-rzs07ec3.mjs";import{Kfa as Q,Qda as S,Sfa as D,Tda as j,mea as x}from"./cli-1.0.5-9m4a2113.mjs";import{nia as V,oia as b}from"./cli-1.0.5-8xf656w6.mjs";import{Kqa as W,ara as I}from"./cli-1.0.5-41vyz0qd.mjs";import{zra as Z}from"./cli-1.0.5-73mr16hn.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 Gi,A as Hi};