@claudiolabs/claudin 1.0.8 → 1.0.9

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 (917) hide show
  1. package/README.md +1 -0
  2. package/dist/chunks/AgentTool-1.0.9-pn7bw6yv.mjs +1 -0
  3. package/dist/chunks/App-1.0.9-4evjz5w2.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-1.0.9-bbb6t3r9.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-1.0.9-133vee5x.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-1.0.9-1bgty08c.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-1.0.9-acyyj7ky.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.9-8d430r75.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-1.0.9-6ew6r9f6.mjs +1 -0
  10. package/dist/chunks/DiffDialog-1.0.9-ze7bee5g.mjs +7 -0
  11. package/dist/chunks/Doctor-1.0.9-xy0g4b33.mjs +1 -0
  12. package/dist/chunks/ExplorerDialog-1.0.9-3yjz2cvs.mjs +6 -0
  13. package/dist/chunks/Grove-1.0.9-96nwpafr.mjs +1 -0
  14. package/dist/chunks/ITermBackend-1.0.9-ywr7fk06.mjs +1 -0
  15. package/dist/chunks/InvalidConfigDialog-1.0.9-2q4w4j4t.mjs +1 -0
  16. package/dist/chunks/InvalidSettingsDialog-1.0.9-z37xr3zw.mjs +1 -0
  17. package/dist/chunks/MigrationDialog-1.0.9-z7j3qhg7.mjs +1 -0
  18. package/dist/chunks/Onboarding-1.0.9-gtxm4j8b.mjs +1 -0
  19. package/dist/chunks/ProviderManager-1.0.9-1mdk6qz8.mjs +1 -0
  20. package/dist/chunks/REPL-1.0.9-8b6q2gzd.mjs +1 -0
  21. package/dist/chunks/ResumeConversation-1.0.9-e0r40skb.mjs +1 -0
  22. package/dist/chunks/SnapshotUpdateDialog-1.0.9-02v56nb9.mjs +1 -0
  23. package/dist/chunks/TeleportProgress-1.0.9-bdgqerzr.mjs +1 -0
  24. package/dist/chunks/TeleportRepoMismatchDialog-1.0.9-vtm223ky.mjs +1 -0
  25. package/dist/chunks/TeleportResumeWrapper-1.0.9-bmyks5dc.mjs +1 -0
  26. package/dist/chunks/TmuxBackend-1.0.9-ns6fj8sv.mjs +9 -0
  27. package/dist/chunks/ToolSearchTool-1.0.9-98prvmmb.mjs +1 -0
  28. package/dist/chunks/TrustDialog-1.0.9-br4q9mkd.mjs +1 -0
  29. package/dist/chunks/activeProvider-1.0.9-5nxztxpg.mjs +1 -0
  30. package/dist/chunks/add-dir-1.0.9-ypva61t4.mjs +1 -0
  31. package/dist/chunks/agentTypes-1.0.9-x07mx3dr.mjs +1 -0
  32. package/dist/chunks/agents-1.0.9-3mfx5p6a.mjs +3 -0
  33. package/dist/chunks/agents-1.0.9-8srfrkqw.mjs +110 -0
  34. package/dist/chunks/api-1.0.9-797pjvs1.mjs +1 -0
  35. package/dist/chunks/asciicast-1.0.9-2jnc8jtk.mjs +1 -0
  36. package/dist/chunks/assistant-1.0.9-1ryssrnh.mjs +1 -0
  37. package/dist/chunks/auth-1.0.9-9xadhd5v.mjs +1 -0
  38. package/dist/chunks/auth-1.0.9-q57mj8gk.mjs +1 -0
  39. package/dist/chunks/autoMode-1.0.9-rz4pssbt.mjs +48 -0
  40. package/dist/chunks/autoUpdater-1.0.9-kx1fdq56.mjs +1 -0
  41. package/dist/chunks/backgroundHousekeeping-1.0.9-5c1na5cn.mjs +1 -0
  42. package/dist/chunks/branch-1.0.9-2857desd.mjs +4 -0
  43. package/dist/chunks/bridge-1.0.9-a2875hps.mjs +2 -0
  44. package/dist/chunks/bridgeConfig-1.0.9-pqqgvm77.mjs +1 -0
  45. package/dist/chunks/bridgeEnabled-1.0.9-z4rqrrb8.mjs +1 -0
  46. package/dist/chunks/bridgeMain-1.0.9-e08pefvd.mjs +88 -0
  47. package/dist/chunks/bridgePointer-1.0.9-zt50pndw.mjs +1 -0
  48. package/dist/chunks/btw-1.0.9-55ev3ghy.mjs +1 -0
  49. package/dist/chunks/buddy-1.0.9-6z68f6ex.mjs +3 -0
  50. package/dist/chunks/cacache-1.0.9-h1eketz5.mjs +1 -0
  51. package/dist/chunks/cache-probe-1.0.9-78r0f324.mjs +21 -0
  52. package/dist/chunks/cacheStats-1.0.9-4t8zwh7m.mjs +4 -0
  53. package/dist/chunks/caches-1.0.9-8vpcw0da.mjs +1 -0
  54. package/dist/chunks/claudeDesktop-1.0.9-7vwfj2q3.mjs +1 -0
  55. package/dist/chunks/claudemd-1.0.9-cd1jnewp.mjs +1 -0
  56. package/dist/chunks/clear-1.0.9-881ynng5.mjs +1 -0
  57. package/dist/chunks/clearTerminal-1.0.9-saxb5je9.mjs +1 -0
  58. package/dist/chunks/cli-1.0.9-01cy14p7.mjs +2 -0
  59. package/dist/chunks/cli-1.0.9-03tgqcyj.mjs +2 -0
  60. package/dist/chunks/cli-1.0.9-06kd11jd.mjs +2 -0
  61. package/dist/chunks/cli-1.0.9-0e6g8sye.mjs +4 -0
  62. package/dist/chunks/cli-1.0.9-0f3ex0vg.mjs +15 -0
  63. package/dist/chunks/cli-1.0.9-0xhf29zj.mjs +2 -0
  64. package/dist/chunks/cli-1.0.9-0xr97fha.mjs +4 -0
  65. package/dist/chunks/cli-1.0.9-11j6h2p2.mjs +2 -0
  66. package/dist/chunks/cli-1.0.9-11tj558a.mjs +2 -0
  67. package/dist/chunks/cli-1.0.9-13q9fkxq.mjs +2 -0
  68. package/dist/chunks/cli-1.0.9-19gz2k9q.mjs +3 -0
  69. package/dist/chunks/cli-1.0.9-1adzaxwy.mjs +2 -0
  70. package/dist/chunks/cli-1.0.9-1de7bab0.mjs +2 -0
  71. package/dist/chunks/cli-1.0.9-1f0bxa2a.mjs +18 -0
  72. package/dist/chunks/cli-1.0.9-1hcdwdyw.mjs +133 -0
  73. package/dist/chunks/cli-1.0.9-1p61fppv.mjs +2 -0
  74. package/dist/chunks/cli-1.0.9-1pe38ex2.mjs +2 -0
  75. package/dist/chunks/cli-1.0.9-1t8pkgtd.mjs +2 -0
  76. package/dist/chunks/cli-1.0.9-25kh81st.mjs +18 -0
  77. package/dist/chunks/cli-1.0.9-2a1jman4.mjs +3 -0
  78. package/dist/chunks/cli-1.0.9-2gdex17t.mjs +2 -0
  79. package/dist/chunks/cli-1.0.9-2hgg2mnb.mjs +2 -0
  80. package/dist/chunks/cli-1.0.9-2ncvyz2r.mjs +45 -0
  81. package/dist/chunks/cli-1.0.9-2prerh1s.mjs +2 -0
  82. package/dist/chunks/cli-1.0.9-2y9fcheg.mjs +2 -0
  83. package/dist/chunks/cli-1.0.9-3bdkmcp9.mjs +18 -0
  84. package/dist/chunks/cli-1.0.9-3ccxr1d8.mjs +2 -0
  85. package/dist/chunks/cli-1.0.9-3espt55t.mjs +20 -0
  86. package/dist/chunks/cli-1.0.9-3k1w3fc0.mjs +2 -0
  87. package/dist/chunks/cli-1.0.9-3mv7thfe.mjs +21 -0
  88. package/dist/chunks/cli-1.0.9-3n2084tg.mjs +2 -0
  89. package/dist/chunks/cli-1.0.9-3wmanrzv.mjs +2 -0
  90. package/dist/chunks/cli-1.0.9-3wn7m4cv.mjs +3 -0
  91. package/dist/chunks/cli-1.0.9-3ye1460y.mjs +2 -0
  92. package/dist/chunks/cli-1.0.9-42ww2d94.mjs +2 -0
  93. package/dist/chunks/cli-1.0.9-49sanx9h.mjs +2 -0
  94. package/dist/chunks/cli-1.0.9-4fdvygwb.mjs +25 -0
  95. package/dist/chunks/cli-1.0.9-4kjme82s.mjs +2 -0
  96. package/dist/chunks/cli-1.0.9-4vrbbav9.mjs +2 -0
  97. package/dist/chunks/cli-1.0.9-4yksn92y.mjs +2 -0
  98. package/dist/chunks/cli-1.0.9-51rze21n.mjs +2 -0
  99. package/dist/chunks/cli-1.0.9-537n2cda.mjs +2 -0
  100. package/dist/chunks/cli-1.0.9-593a1k2m.mjs +17 -0
  101. package/dist/chunks/cli-1.0.9-5afn268n.mjs +34 -0
  102. package/dist/chunks/cli-1.0.9-601tsydg.mjs +2 -0
  103. package/dist/chunks/cli-1.0.9-625zsef6.mjs +2 -0
  104. package/dist/chunks/cli-1.0.9-6424zmgd.mjs +2 -0
  105. package/dist/chunks/cli-1.0.9-67c9vgsq.mjs +5492 -0
  106. package/dist/chunks/cli-1.0.9-68er5cff.mjs +3 -0
  107. package/dist/chunks/cli-1.0.9-6q0e7nk4.mjs +3 -0
  108. package/dist/chunks/cli-1.0.9-6x8m34y6.mjs +67 -0
  109. package/dist/chunks/cli-1.0.9-6yxsfcyh.mjs +2 -0
  110. package/dist/chunks/cli-1.0.9-71jbnxs0.mjs +4 -0
  111. package/dist/chunks/cli-1.0.9-7exncgt2.mjs +4 -0
  112. package/dist/chunks/cli-1.0.9-7gewnt7b.mjs +2 -0
  113. package/dist/chunks/cli-1.0.9-7xt7m2q5.mjs +2 -0
  114. package/dist/chunks/cli-1.0.9-806xk0g7.mjs +2 -0
  115. package/dist/chunks/cli-1.0.9-81zj78t2.mjs +2 -0
  116. package/dist/chunks/cli-1.0.9-89yxpmpq.mjs +3 -0
  117. package/dist/chunks/cli-1.0.9-8f06bgf9.mjs +4 -0
  118. package/dist/chunks/cli-1.0.9-8g8n5ceb.mjs +2 -0
  119. package/dist/chunks/cli-1.0.9-8j4fe1qz.mjs +2 -0
  120. package/dist/chunks/cli-1.0.9-912srhxc.mjs +2 -0
  121. package/dist/chunks/cli-1.0.9-963yvtxd.mjs +2 -0
  122. package/dist/chunks/cli-1.0.9-9jyyb7zx.mjs +12 -0
  123. package/dist/chunks/cli-1.0.9-9p6ww1a0.mjs +2 -0
  124. package/dist/chunks/cli-1.0.9-9yr5whta.mjs +26 -0
  125. package/dist/chunks/cli-1.0.9-a0zm3d1g.mjs +2 -0
  126. package/dist/chunks/cli-1.0.9-aasy7y47.mjs +2 -0
  127. package/dist/chunks/cli-1.0.9-ajhbq50f.mjs +2 -0
  128. package/dist/chunks/cli-1.0.9-awxee62m.mjs +2 -0
  129. package/dist/chunks/cli-1.0.9-ayjdc0qr.mjs +2 -0
  130. package/dist/chunks/cli-1.0.9-az9m58wa.mjs +2 -0
  131. package/dist/chunks/cli-1.0.9-b029w2p8.mjs +2 -0
  132. package/dist/chunks/cli-1.0.9-b11n0pyq.mjs +9 -0
  133. package/dist/chunks/cli-1.0.9-b38km1fw.mjs +2 -0
  134. package/dist/chunks/cli-1.0.9-b78v72rn.mjs +2 -0
  135. package/dist/chunks/cli-1.0.9-bas5sqzw.mjs +2 -0
  136. package/dist/chunks/cli-1.0.9-bd7743tj.mjs +2 -0
  137. package/dist/chunks/cli-1.0.9-bg3jgpj8.mjs +2 -0
  138. package/dist/chunks/cli-1.0.9-bqcs2981.mjs +4 -0
  139. package/dist/chunks/cli-1.0.9-c05x7nfj.mjs +3 -0
  140. package/dist/chunks/cli-1.0.9-c5n2kbdv.mjs +17 -0
  141. package/dist/chunks/cli-1.0.9-cc6btq9c.mjs +2 -0
  142. package/dist/chunks/cli-1.0.9-cdc3drzy.mjs +2 -0
  143. package/dist/chunks/cli-1.0.9-ch1ca19q.mjs +2 -0
  144. package/dist/chunks/cli-1.0.9-cthzntz1.mjs +2 -0
  145. package/dist/chunks/cli-1.0.9-cymry1xw.mjs +2 -0
  146. package/dist/chunks/cli-1.0.9-d8rq80ph.mjs +2 -0
  147. package/dist/chunks/cli-1.0.9-dbs656rx.mjs +133 -0
  148. package/dist/chunks/cli-1.0.9-dg55k2hn.mjs +2 -0
  149. package/dist/chunks/cli-1.0.9-dg8j07p1.mjs +2 -0
  150. package/dist/chunks/cli-1.0.9-dp3xhncn.mjs +2 -0
  151. package/dist/chunks/cli-1.0.9-dvbfpdtc.mjs +24 -0
  152. package/dist/chunks/cli-1.0.9-e2f6b83v.mjs +2 -0
  153. package/dist/chunks/cli-1.0.9-e2mjjvjc.mjs +2 -0
  154. package/dist/chunks/cli-1.0.9-e491drav.mjs +2 -0
  155. package/dist/chunks/cli-1.0.9-e8n90m9g.mjs +2 -0
  156. package/dist/chunks/cli-1.0.9-ea0y4mww.mjs +2 -0
  157. package/dist/chunks/cli-1.0.9-eb7ne7cx.mjs +2 -0
  158. package/dist/chunks/cli-1.0.9-eeyg3kcg.mjs +4 -0
  159. package/dist/chunks/cli-1.0.9-efmzhqag.mjs +2 -0
  160. package/dist/chunks/cli-1.0.9-ej3ahs6j.mjs +199 -0
  161. package/dist/chunks/cli-1.0.9-eq3sypj3.mjs +2 -0
  162. package/dist/chunks/cli-1.0.9-erz57dtz.mjs +6 -0
  163. package/dist/chunks/cli-1.0.9-ez2pcj03.mjs +2 -0
  164. package/dist/chunks/cli-1.0.9-fejr36z6.mjs +2 -0
  165. package/dist/chunks/cli-1.0.9-fhj3g7hg.mjs +2 -0
  166. package/dist/chunks/cli-1.0.9-fkbdtr1w.mjs +3 -0
  167. package/dist/chunks/cli-1.0.9-fkfc8k86.mjs +2 -0
  168. package/dist/chunks/cli-1.0.9-fvw201bt.mjs +2 -0
  169. package/dist/chunks/cli-1.0.9-fw4bsz0q.mjs +2 -0
  170. package/dist/chunks/cli-1.0.9-fx0e9bkg.mjs +2 -0
  171. package/dist/chunks/cli-1.0.9-g8mgmpkc.mjs +2 -0
  172. package/dist/chunks/cli-1.0.9-gctz0hyw.mjs +24 -0
  173. package/dist/chunks/cli-1.0.9-ge04svda.mjs +2 -0
  174. package/dist/chunks/cli-1.0.9-gh82pj8t.mjs +50 -0
  175. package/dist/chunks/cli-1.0.9-gjta07sd.mjs +2 -0
  176. package/dist/chunks/cli-1.0.9-gsgbywct.mjs +25 -0
  177. package/dist/chunks/cli-1.0.9-gvp958jh.mjs +2 -0
  178. package/dist/chunks/cli-1.0.9-h5kwp1cf.mjs +2 -0
  179. package/dist/chunks/cli-1.0.9-ha9fdhs8.mjs +2 -0
  180. package/dist/chunks/cli-1.0.9-hf6frb0e.mjs +9 -0
  181. package/dist/chunks/cli-1.0.9-htsk8rvv.mjs +42 -0
  182. package/dist/chunks/cli-1.0.9-j02z8apf.mjs +2 -0
  183. package/dist/chunks/cli-1.0.9-j2832pm5.mjs +2 -0
  184. package/dist/chunks/cli-1.0.9-j297swbj.mjs +2 -0
  185. package/dist/chunks/cli-1.0.9-j500vd5e.mjs +2 -0
  186. package/dist/chunks/cli-1.0.9-j6fwd0mg.mjs +3 -0
  187. package/dist/chunks/cli-1.0.9-jcnmjs31.mjs +2 -0
  188. package/dist/chunks/cli-1.0.9-jfgy2jk6.mjs +5 -0
  189. package/dist/chunks/cli-1.0.9-jktrmswp.mjs +2 -0
  190. package/dist/chunks/cli-1.0.9-jmxz57bg.mjs +2 -0
  191. package/dist/chunks/cli-1.0.9-jq2h9s5r.mjs +2 -0
  192. package/dist/chunks/cli-1.0.9-jwye26tm.mjs +2 -0
  193. package/dist/chunks/cli-1.0.9-k7xzs5f3.mjs +2 -0
  194. package/dist/chunks/cli-1.0.9-k9k4mjr2.mjs +58 -0
  195. package/dist/chunks/cli-1.0.9-kfge7dzc.mjs +3 -0
  196. package/dist/chunks/cli-1.0.9-kw7p06w2.mjs +2 -0
  197. package/dist/chunks/cli-1.0.9-m6k5afpm.mjs +3 -0
  198. package/dist/chunks/cli-1.0.9-mx0hp5fn.mjs +2 -0
  199. package/dist/chunks/cli-1.0.9-n2eds51d.mjs +2 -0
  200. package/dist/chunks/cli-1.0.9-nc1t91tt.mjs +15 -0
  201. package/dist/chunks/cli-1.0.9-nm7ds98w.mjs +2 -0
  202. package/dist/chunks/cli-1.0.9-nz0skfsg.mjs +6 -0
  203. package/dist/chunks/cli-1.0.9-p3a08x10.mjs +2 -0
  204. package/dist/chunks/cli-1.0.9-ppa9xdxq.mjs +2 -0
  205. package/dist/chunks/cli-1.0.9-pxkbc8zc.mjs +2 -0
  206. package/dist/chunks/cli-1.0.9-q38wwdnj.mjs +2 -0
  207. package/dist/chunks/cli-1.0.9-q3fzs7rd.mjs +59 -0
  208. package/dist/chunks/cli-1.0.9-q3xyfb3x.mjs +2 -0
  209. package/dist/chunks/cli-1.0.9-q6e8xnkz.mjs +2 -0
  210. package/dist/chunks/cli-1.0.9-qb618hw7.mjs +2 -0
  211. package/dist/chunks/cli-1.0.9-qjey3ysx.mjs +3 -0
  212. package/dist/chunks/cli-1.0.9-qpvnvfac.mjs +2 -0
  213. package/dist/chunks/cli-1.0.9-qyfx57wb.mjs +2 -0
  214. package/dist/chunks/cli-1.0.9-r4ysx5t8.mjs +2 -0
  215. package/dist/chunks/cli-1.0.9-rd2hz2r7.mjs +2 -0
  216. package/dist/chunks/cli-1.0.9-rh1x9xts.mjs +2 -0
  217. package/dist/chunks/cli-1.0.9-rhvh1vdg.mjs +39 -0
  218. package/dist/chunks/cli-1.0.9-rjq71gw8.mjs +2 -0
  219. package/dist/chunks/cli-1.0.9-rm8ssvm7.mjs +2 -0
  220. package/dist/chunks/cli-1.0.9-rpw6qq2j.mjs +2 -0
  221. package/dist/chunks/cli-1.0.9-s6nk6s0k.mjs +2 -0
  222. package/dist/chunks/cli-1.0.9-sbbswdzj.mjs +2 -0
  223. package/dist/chunks/cli-1.0.9-sbm5c6f2.mjs +2 -0
  224. package/dist/chunks/cli-1.0.9-sjqe138z.mjs +16 -0
  225. package/dist/chunks/cli-1.0.9-sx5z6m5d.mjs +24 -0
  226. package/dist/chunks/cli-1.0.9-t4qshvc1.mjs +12 -0
  227. package/dist/chunks/cli-1.0.9-t80qhn8j.mjs +8 -0
  228. package/dist/chunks/cli-1.0.9-t8c5khak.mjs +2 -0
  229. package/dist/chunks/cli-1.0.9-tbzbnv01.mjs +2 -0
  230. package/dist/chunks/cli-1.0.9-tcn5dpwj.mjs +6 -0
  231. package/dist/chunks/cli-1.0.9-tcszykvk.mjs +2 -0
  232. package/dist/chunks/cli-1.0.9-th90br16.mjs +2 -0
  233. package/dist/chunks/cli-1.0.9-tkk94r4t.mjs +4 -0
  234. package/dist/chunks/cli-1.0.9-tv64yqec.mjs +2 -0
  235. package/dist/chunks/cli-1.0.9-tzke31bj.mjs +12 -0
  236. package/dist/chunks/cli-1.0.9-v1ymh1ej.mjs +7 -0
  237. package/dist/chunks/cli-1.0.9-v770djrd.mjs +2 -0
  238. package/dist/chunks/cli-1.0.9-vcf21zvy.mjs +2 -0
  239. package/dist/chunks/cli-1.0.9-vhcxraj8.mjs +2 -0
  240. package/dist/chunks/cli-1.0.9-vvwt9bfb.mjs +2 -0
  241. package/dist/chunks/cli-1.0.9-w1yvav1x.mjs +2 -0
  242. package/dist/chunks/cli-1.0.9-w5dyqxqk.mjs +2 -0
  243. package/dist/chunks/cli-1.0.9-wcm9r8rn.mjs +2 -0
  244. package/dist/chunks/cli-1.0.9-wk087awy.mjs +2 -0
  245. package/dist/chunks/cli-1.0.9-wm0q00hf.mjs +3 -0
  246. package/dist/chunks/cli-1.0.9-wny75xk9.mjs +2 -0
  247. package/dist/chunks/cli-1.0.9-x06kapeh.mjs +2 -0
  248. package/dist/chunks/cli-1.0.9-x3vqg6qp.mjs +2 -0
  249. package/dist/chunks/cli-1.0.9-x4t4nqd2.mjs +4 -0
  250. package/dist/chunks/cli-1.0.9-x4tngp24.mjs +5 -0
  251. package/dist/chunks/cli-1.0.9-x8ty0z67.mjs +12 -0
  252. package/dist/chunks/cli-1.0.9-xd6wrh53.mjs +2 -0
  253. package/dist/chunks/cli-1.0.9-xe8dc6qb.mjs +2 -0
  254. package/dist/chunks/cli-1.0.9-xtwh19d1.mjs +1 -0
  255. package/dist/chunks/cli-1.0.9-xx44tx6h.mjs +2 -0
  256. package/dist/chunks/cli-1.0.9-xyzdk3z1.mjs +2 -0
  257. package/dist/chunks/cli-1.0.9-y0zax3d9.mjs +2 -0
  258. package/dist/chunks/cli-1.0.9-y1db6cvh.mjs +2 -0
  259. package/dist/chunks/cli-1.0.9-y7sdjd9n.mjs +2 -0
  260. package/dist/chunks/cli-1.0.9-ymbxfv5d.mjs +6 -0
  261. package/dist/chunks/cli-1.0.9-ympvk0av.mjs +6 -0
  262. package/dist/chunks/cli-1.0.9-z8ywz3b3.mjs +3 -0
  263. package/dist/chunks/cli-1.0.9-z9a1abx1.mjs +15 -0
  264. package/dist/chunks/cli-1.0.9-zd316ka9.mjs +2 -0
  265. package/dist/chunks/cli-1.0.9-zqr8aygv.mjs +2 -0
  266. package/dist/chunks/cli-1.0.9-zrphfr1b.mjs +4 -0
  267. package/dist/chunks/client-1.0.9-6ytq8zpq.mjs +1 -0
  268. package/dist/chunks/color-1.0.9-6fzgjvkk.mjs +1 -0
  269. package/dist/chunks/compact-1.0.9-zezrh8xr.mjs +3 -0
  270. package/dist/chunks/config-1.0.9-wvjbx4ke.mjs +1 -0
  271. package/dist/chunks/config-1.0.9-wvne91f5.mjs +1 -0
  272. package/dist/chunks/constants-1.0.9-2fzrexcb.mjs +1 -0
  273. package/dist/chunks/context-1.0.9-ygv4e0ng.mjs +1 -0
  274. package/dist/chunks/context-noninteractive-1.0.9-jn0d4nj0.mjs +1 -0
  275. package/dist/chunks/conversation-1.0.9-gg4v7nyy.mjs +1 -0
  276. package/dist/chunks/copilotHeaders-1.0.9-eyzv69et.mjs +1 -0
  277. package/dist/chunks/copy-1.0.9-1spbc1fd.mjs +9 -0
  278. package/dist/chunks/cost-1.0.9-axf868g8.mjs +1 -0
  279. package/dist/chunks/createSSHSession-1.0.9-zp88fdrv.mjs +1 -0
  280. package/dist/chunks/createSession-1.0.9-6xv9ygwy.mjs +1 -0
  281. package/dist/chunks/debug-1.0.9-j00wf57e.mjs +1 -0
  282. package/dist/chunks/defaultActionDeps-1.0.9-yzqemm6t.mjs +1446 -0
  283. package/dist/chunks/desktop-1.0.9-zq6w2b8s.mjs +1 -0
  284. package/dist/chunks/detectRepository-1.0.9-mjzbbps4.mjs +1 -0
  285. package/dist/chunks/detection-1.0.9-yjvmg8pn.mjs +1 -0
  286. package/dist/chunks/diff-1.0.9-68dbevx4.mjs +1 -0
  287. package/dist/chunks/doctor-1.0.9-xgwzb4yw.mjs +1 -0
  288. package/dist/chunks/doctorDiagnostic-1.0.9-p8be86qt.mjs +1 -0
  289. package/dist/chunks/earlyInput-1.0.9-a7f6p18j.mjs +1 -0
  290. package/dist/chunks/effort-1.0.9-zv46qr82.mjs +10 -0
  291. package/dist/chunks/engine-1.0.9-zm715gn8.mjs +1 -0
  292. package/dist/chunks/envLessBridgeConfig-1.0.9-pbgxdbt9.mjs +1 -0
  293. package/dist/chunks/envUtils-1.0.9-jvdj5nsn.mjs +1 -0
  294. package/dist/chunks/environmentSelection-1.0.9-32y4kxzx.mjs +1 -0
  295. package/dist/chunks/environments-1.0.9-rapbbhdb.mjs +1 -0
  296. package/dist/chunks/errors-1.0.9-mr00r6m7.mjs +1 -0
  297. package/dist/chunks/exampleCommands-1.0.9-d9kwjybb.mjs +1 -0
  298. package/dist/chunks/execFileNoThrow-1.0.9-17y7nf7n.mjs +1 -0
  299. package/dist/chunks/exit-1.0.9-a8dgmc5m.mjs +1 -0
  300. package/dist/chunks/explorer-1.0.9-rr21y6bg.mjs +1 -0
  301. package/dist/chunks/export-1.0.9-m63465sz.mjs +2 -0
  302. package/dist/chunks/extra-usage-1.0.9-jyvmfa3x.mjs +1 -0
  303. package/dist/chunks/extra-usage-noninteractive-1.0.9-jr4xqktt.mjs +1 -0
  304. package/dist/chunks/fast-1.0.9-944nf8hg.mjs +1 -0
  305. package/dist/chunks/feedback-1.0.9-c6qydbzp.mjs +14 -0
  306. package/dist/chunks/firstPartyEventLogger-1.0.9-25ey9wf6.mjs +1 -0
  307. package/dist/chunks/git-1.0.9-se8gx0p4.mjs +1 -0
  308. package/dist/chunks/githubModelsCredentials-1.0.9-14n5qqvf.mjs +1 -0
  309. package/dist/chunks/goal-1.0.9-v5bwyvtb.mjs +4 -0
  310. package/dist/chunks/grove-1.0.9-twka7z5j.mjs +1 -0
  311. package/dist/chunks/growthbook-1.0.9-mghtxr31.mjs +1 -0
  312. package/dist/chunks/headless-1.0.9-m319gz5s.mjs +2 -0
  313. package/dist/chunks/heapdump-1.0.9-zk05f03w.mjs +6 -0
  314. package/dist/chunks/help-1.0.9-fjdspdd3.mjs +1 -0
  315. package/dist/chunks/hookChains-1.0.9-1p47yp2s.mjs +3 -0
  316. package/dist/chunks/hooks-1.0.9-gsae7evr.mjs +79 -0
  317. package/dist/chunks/hooks-1.0.9-ryra9j7e.mjs +1 -0
  318. package/dist/chunks/ide-1.0.9-5xk8pvc3.mjs +3 -0
  319. package/dist/chunks/image-processor-napi-1.0.9-m8xt10vv.mjs +1 -0
  320. package/dist/chunks/inboundAttachments-1.0.9-tv4b8ex4.mjs +1 -0
  321. package/dist/chunks/index-1.0.9-0mep6p2e.mjs +1 -0
  322. package/dist/chunks/index-1.0.9-41fkayp7.mjs +1 -0
  323. package/dist/chunks/index-1.0.9-4kgb526x.mjs +1 -0
  324. package/dist/chunks/index-1.0.9-6yrhew13.mjs +17 -0
  325. package/dist/chunks/index-1.0.9-90m3hak5.mjs +1 -0
  326. package/dist/chunks/index-1.0.9-93jbt8ts.mjs +1 -0
  327. package/dist/chunks/index-1.0.9-9ryfj4pb.mjs +1 -0
  328. package/dist/chunks/index-1.0.9-cq06g7a0.mjs +1 -0
  329. package/dist/chunks/index-1.0.9-f7brqkkr.mjs +1 -0
  330. package/dist/chunks/index-1.0.9-hvkdhsta.mjs +1 -0
  331. package/dist/chunks/index-1.0.9-jk2fhj8t.mjs +9 -0
  332. package/dist/chunks/index-1.0.9-kcnhr8fy.mjs +2 -0
  333. package/dist/chunks/index-1.0.9-kgymjzxf.mjs +1 -0
  334. package/dist/chunks/index-1.0.9-n9ganzdc.mjs +1 -0
  335. package/dist/chunks/index-1.0.9-p2kz6wm8.mjs +2 -0
  336. package/dist/chunks/index-1.0.9-q3kvfren.mjs +1 -0
  337. package/dist/chunks/index-1.0.9-qvjyptep.mjs +30 -0
  338. package/dist/chunks/index-1.0.9-sy14c383.mjs +1 -0
  339. package/dist/chunks/index-1.0.9-w84j6099.mjs +9 -0
  340. package/dist/chunks/index-1.0.9-xfjgkms3.mjs +1 -0
  341. package/dist/chunks/index-1.0.9-ystczwgk.mjs +1 -0
  342. package/dist/chunks/index-1.0.9-ythrtswh.mjs +5 -0
  343. package/dist/chunks/index-1.0.9-ytvws96r.mjs +1 -0
  344. package/dist/chunks/init-1.0.9-dk6ce4ec.mjs +1 -0
  345. package/dist/chunks/initReplBridge-1.0.9-xyxharkg.mjs +1 -0
  346. package/dist/chunks/ink-1.0.9-sj61qpy1.mjs +1 -0
  347. package/dist/chunks/insights-1.0.9-kc18bxsj.mjs +870 -0
  348. package/dist/chunks/install-1.0.9-41n1cava.mjs +1 -0
  349. package/dist/chunks/install-github-app-1.0.9-d0jrca5q.mjs +149 -0
  350. package/dist/chunks/install-slack-app-1.0.9-sgvf9xhe.mjs +1 -0
  351. package/dist/chunks/instrumentation-1.0.9-k55h305p.mjs +1 -0
  352. package/dist/chunks/interactiveHelpers-1.0.9-edx0pwv2.mjs +1 -0
  353. package/dist/chunks/keybindings-1.0.9-3j7rmqad.mjs +2 -0
  354. package/dist/chunks/knowledge-1.0.9-a0yrjtaw.mjs +2 -0
  355. package/dist/chunks/latestVersionCache-1.0.9-vaxbjn5a.mjs +1 -0
  356. package/dist/chunks/loadAgentsDir-1.0.9-5v5xmfae.mjs +1 -0
  357. package/dist/chunks/loadPluginHooks-1.0.9-jkz1yssz.mjs +1 -0
  358. package/dist/chunks/loadPluginHooks-1.0.9-ymdjzq3r.mjs +1 -0
  359. package/dist/chunks/log-1.0.9-zkpyqa3m.mjs +1 -0
  360. package/dist/chunks/main-1.0.9-h2389xyv.mjs +1 -0
  361. package/dist/chunks/managedEnv-1.0.9-m1nbgm9w.mjs +1 -0
  362. package/dist/chunks/mcp-1.0.9-0pffb151.mjs +4 -0
  363. package/dist/chunks/mcp-1.0.9-7te57n7g.mjs +1 -0
  364. package/dist/chunks/mcp-1.0.9-zx01gh7r.mjs +17 -0
  365. package/dist/chunks/mcpb-1.0.9-01pgh57h.mjs +1 -0
  366. package/dist/chunks/memory-1.0.9-t9n2z13b.mjs +3 -0
  367. package/dist/chunks/model-1.0.9-a1hweteq.mjs +1 -0
  368. package/dist/chunks/model-1.0.9-jpjmt8a2.mjs +2 -0
  369. package/dist/chunks/node-1.0.9-p2k460a4.mjs +12 -0
  370. package/dist/chunks/oauth-1.0.9-zjepvezc.mjs +1 -0
  371. package/dist/chunks/openaiShim-1.0.9-gapf03nh.mjs +14 -0
  372. package/dist/chunks/output-style-1.0.9-ssjrzh6q.mjs +1 -0
  373. package/dist/chunks/package-ZZWOLTXM-1.0.9-z6aewhjx.mjs +1 -0
  374. package/dist/chunks/parseConnectUrl-1.0.9-7gq7343s.mjs +1 -0
  375. package/dist/chunks/parser-1.0.9-pke5bjkh.mjs +1 -0
  376. package/dist/chunks/passes-1.0.9-r3ydzpyv.mjs +1 -0
  377. package/dist/chunks/permissions-1.0.9-97jpkg18.mjs +1 -0
  378. package/dist/chunks/permissions-1.0.9-c4jx0pxn.mjs +3 -0
  379. package/dist/chunks/plan-1.0.9-z3j9hsww.mjs +1 -0
  380. package/dist/chunks/plist-1.0.9-2acqr7kv.mjs +1 -0
  381. package/dist/chunks/plugin-1.0.9-z1m6zzew.mjs +29 -0
  382. package/dist/chunks/pluginStartupCheck-1.0.9-41sskjk2.mjs +1 -0
  383. package/dist/chunks/plugins-1.0.9-6tptm5qm.mjs +9 -0
  384. package/dist/chunks/preActionHook-1.0.9-wecvzns1.mjs +2 -0
  385. package/dist/chunks/print-1.0.9-dqymva6x.mjs +57 -0
  386. package/dist/chunks/privacy-settings-1.0.9-zyecjx4p.mjs +1 -0
  387. package/dist/chunks/process-1.0.9-2w0fkryd.mjs +1 -0
  388. package/dist/chunks/processBashCommand-1.0.9-4s05h1bj.mjs +1 -0
  389. package/dist/chunks/processSlashCommand-1.0.9-5tvxytqm.mjs +9 -0
  390. package/dist/chunks/prompt-1.0.9-nb76g2sv.mjs +1 -0
  391. package/dist/chunks/prompt-1.0.9-va3886b6.mjs +1 -0
  392. package/dist/chunks/prompts-1.0.9-m9dxdech.mjs +1 -0
  393. package/dist/chunks/protocolHandler-1.0.9-xnnv5p87.mjs +13 -0
  394. package/dist/chunks/provider-1.0.9-cvmd8h1d.mjs +2 -0
  395. package/dist/chunks/providerProfiles-1.0.9-9g0pwem4.mjs +1 -0
  396. package/dist/chunks/providerValidation-1.0.9-3rgdk5ee.mjs +6 -0
  397. package/dist/chunks/rate-limit-options-1.0.9-vk9xmrr9.mjs +1 -0
  398. package/dist/chunks/registerSubcommands-1.0.9-5jz3t4qr.mjs +34 -0
  399. package/dist/chunks/registry-1.0.9-9mvkaffy.mjs +1 -0
  400. package/dist/chunks/release-notes-1.0.9-6r7p97mn.mjs +5 -0
  401. package/dist/chunks/reload-plugins-1.0.9-xdhvgqpn.mjs +2 -0
  402. package/dist/chunks/remote-env-1.0.9-9htaxz0y.mjs +1 -0
  403. package/dist/chunks/remoteBridgeCore-1.0.9-xgvn82tp.mjs +1 -0
  404. package/dist/chunks/remoteSession-1.0.9-7s48fkf7.mjs +1 -0
  405. package/dist/chunks/rename-1.0.9-j3rs23m1.mjs +1 -0
  406. package/dist/chunks/replBridgeHandle-1.0.9-f67nzh9x.mjs +1 -0
  407. package/dist/chunks/replLauncher-1.0.9-gxjrsm7t.mjs +1 -0
  408. package/dist/chunks/resume-1.0.9-9f2xh9ad.mjs +2 -0
  409. package/dist/chunks/rewind-1.0.9-2tjbaa5s.mjs +1 -0
  410. package/dist/chunks/rootOptions-1.0.9-s35d4dq8.mjs +1 -0
  411. package/dist/chunks/runWorkflowHeadless-1.0.9-qzevh0jq.mjs +10 -0
  412. package/dist/chunks/sandbox-adapter-1.0.9-7vzjdzm5.mjs +1 -0
  413. package/dist/chunks/sandbox-toggle-1.0.9-q22mn3qe.mjs +1 -0
  414. package/dist/chunks/session-1.0.9-hnswn4q3.mjs +2 -0
  415. package/dist/chunks/sessionDiscovery-1.0.9-ap3h87gt.mjs +1 -0
  416. package/dist/chunks/sessionFileAccessHooks-1.0.9-266mnj7x.mjs +1 -0
  417. package/dist/chunks/sessionStorage-1.0.9-kdgvfddk.mjs +1 -0
  418. package/dist/chunks/settings-1.0.9-1avp22jd.mjs +1 -0
  419. package/dist/chunks/setup-1.0.9-v2ar4w15.mjs +5 -0
  420. package/dist/chunks/sinks-1.0.9-03y6p189.mjs +1 -0
  421. package/dist/chunks/skills-1.0.9-7m3bv7w4.mjs +1 -0
  422. package/dist/chunks/startupProfiler-1.0.9-3pbpjpsx.mjs +1 -0
  423. package/dist/chunks/startupUpdateCheck-1.0.9-r287g8qr.mjs +1 -0
  424. package/dist/chunks/state-1.0.9-5vj2cfb7.mjs +1 -0
  425. package/dist/chunks/stats-1.0.9-5wpymg6m.mjs +6 -0
  426. package/dist/chunks/status-1.0.9-zcea5prt.mjs +1 -0
  427. package/dist/chunks/stickers-1.0.9-01r7j7ce.mjs +1 -0
  428. package/dist/chunks/subprocessEnv-1.0.9-mknwnjve.mjs +1 -0
  429. package/dist/chunks/tasks-1.0.9-cenyj69d.mjs +1 -0
  430. package/dist/chunks/teamHelpers-1.0.9-7hr689j5.mjs +1 -0
  431. package/dist/chunks/teammateModeSnapshot-1.0.9-r6bjthhg.mjs +1 -0
  432. package/dist/chunks/teleport-1.0.9-3a8fh64n.mjs +1 -0
  433. package/dist/chunks/terminalSetup-1.0.9-dbp1dey3.mjs +1 -0
  434. package/dist/chunks/theme-1.0.9-he0pz8e5.mjs +1 -0
  435. package/dist/chunks/thinkback-1.0.9-taf9vg12.mjs +1 -0
  436. package/dist/chunks/thinkback-play-1.0.9-11em8wf4.mjs +1 -0
  437. package/dist/chunks/toolPool-1.0.9-r3vtdta9.mjs +1 -0
  438. package/dist/chunks/toolSearch-1.0.9-kwvr4k8b.mjs +1 -0
  439. package/dist/chunks/tools-1.0.9-2tg8nvhb.mjs +1 -0
  440. package/dist/chunks/trustedDevice-1.0.9-0q7ygrn2.mjs +1 -0
  441. package/dist/chunks/turndown.cjs-1.0.9-579kp1mn.mjs +69 -0
  442. package/dist/chunks/types-1.0.9-8q18d5tt.mjs +1 -0
  443. package/dist/chunks/ultrareviewCommand-1.0.9-9ejdt7py.mjs +4 -0
  444. package/dist/chunks/update-1.0.9-85n1z4v4.mjs +88 -0
  445. package/dist/chunks/upgrade-1.0.9-7q7cawa0.mjs +1 -0
  446. package/dist/chunks/upload-1.0.9-51kq9qt0.mjs +7 -0
  447. package/dist/chunks/upstreamproxy-1.0.9-59ykzeyj.mjs +14 -0
  448. package/dist/chunks/url-handler-napi-1.0.9-x7vgzkpg.mjs +1 -0
  449. package/dist/chunks/usage-1.0.9-z798edp5.mjs +1 -0
  450. package/dist/chunks/util-1.0.9-7kephmmr.mjs +1 -0
  451. package/dist/chunks/utils-1.0.9-ek4v8a00.mjs +1 -0
  452. package/dist/chunks/vim-1.0.9-kj0qj8nh.mjs +1 -0
  453. package/dist/chunks/watchLoop-1.0.9-r1awam6x.mjs +13 -0
  454. package/dist/chunks/watcher-1.0.9-9j8zqhdf.mjs +1 -0
  455. package/dist/chunks/wiki-1.0.9-w9wz311p.mjs +132 -0
  456. package/dist/chunks/workflows-1.0.9-9bwm4jqm.mjs +1 -0
  457. package/dist/chunks/worktree-1.0.9-wnbd6zc9.mjs +1 -0
  458. package/dist/chunks/worktreeModeEnabled-1.0.9-wjt137fb.mjs +1 -0
  459. package/dist/chunks/wrapper-1.0.9-dykv81xe.mjs +7 -0
  460. package/dist/cli.mjs +2 -2
  461. package/dist/help-workflow.txt +12 -0
  462. package/dist/help.txt +1 -0
  463. package/package.json +9 -9
  464. package/dist/chunks/AgentTool-1.0.8-eje3a59q.mjs +0 -1
  465. package/dist/chunks/App-1.0.8-d2xvppcs.mjs +0 -1
  466. package/dist/chunks/ApproveApiKey-1.0.8-46gxh8v1.mjs +0 -1
  467. package/dist/chunks/AssistantSessionChooser-1.0.8-14hqa3x1.mjs +0 -1
  468. package/dist/chunks/AutoModeOptInDialog-1.0.8-wbj2exgg.mjs +0 -1
  469. package/dist/chunks/BypassPermissionsModeDialog-1.0.8-qw286z98.mjs +0 -1
  470. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.8-d7f3p2f2.mjs +0 -1
  471. package/dist/chunks/ConsoleOAuthFlow-1.0.8-pz9144b6.mjs +0 -1
  472. package/dist/chunks/DiffDialog-1.0.8-kekremjy.mjs +0 -7
  473. package/dist/chunks/Doctor-1.0.8-y6yd83ya.mjs +0 -1
  474. package/dist/chunks/ExplorerDialog-1.0.8-sde0qmj8.mjs +0 -6
  475. package/dist/chunks/Grove-1.0.8-vaqh13j1.mjs +0 -1
  476. package/dist/chunks/ITermBackend-1.0.8-pyx0hrdr.mjs +0 -1
  477. package/dist/chunks/InvalidConfigDialog-1.0.8-9xkjpkdq.mjs +0 -1
  478. package/dist/chunks/InvalidSettingsDialog-1.0.8-sg0zxdxs.mjs +0 -1
  479. package/dist/chunks/MigrationDialog-1.0.8-sa3w4fkf.mjs +0 -1
  480. package/dist/chunks/Onboarding-1.0.8-j2grnf78.mjs +0 -1
  481. package/dist/chunks/ProviderManager-1.0.8-rhr4npaj.mjs +0 -1
  482. package/dist/chunks/REPL-1.0.8-r0frprp1.mjs +0 -1
  483. package/dist/chunks/ResumeConversation-1.0.8-y8q8w4g5.mjs +0 -1
  484. package/dist/chunks/SnapshotUpdateDialog-1.0.8-6r0afvcw.mjs +0 -1
  485. package/dist/chunks/TeleportProgress-1.0.8-8k0msa15.mjs +0 -1
  486. package/dist/chunks/TeleportRepoMismatchDialog-1.0.8-3y1gzb63.mjs +0 -1
  487. package/dist/chunks/TeleportResumeWrapper-1.0.8-sr835vjm.mjs +0 -1
  488. package/dist/chunks/TmuxBackend-1.0.8-j4ewgs24.mjs +0 -9
  489. package/dist/chunks/ToolSearchTool-1.0.8-g3jtn9j5.mjs +0 -1
  490. package/dist/chunks/TrustDialog-1.0.8-6fmeeyg3.mjs +0 -1
  491. package/dist/chunks/activeProvider-1.0.8-07gr4v39.mjs +0 -1
  492. package/dist/chunks/add-dir-1.0.8-zp69mch9.mjs +0 -1
  493. package/dist/chunks/agentTypes-1.0.8-0tz8xbhq.mjs +0 -1
  494. package/dist/chunks/agents-1.0.8-7b7qbe1b.mjs +0 -3
  495. package/dist/chunks/agents-1.0.8-hcpq0qtv.mjs +0 -110
  496. package/dist/chunks/api-1.0.8-99jqr2rt.mjs +0 -1
  497. package/dist/chunks/asciicast-1.0.8-hdy3b2tb.mjs +0 -1
  498. package/dist/chunks/assistant-1.0.8-wf6vgaxz.mjs +0 -1
  499. package/dist/chunks/auth-1.0.8-by49xah8.mjs +0 -1
  500. package/dist/chunks/auth-1.0.8-jhga5hc5.mjs +0 -1
  501. package/dist/chunks/autoMode-1.0.8-9hknbsrn.mjs +0 -48
  502. package/dist/chunks/autoUpdater-1.0.8-n0axyces.mjs +0 -1
  503. package/dist/chunks/backgroundHousekeeping-1.0.8-tthnkm6t.mjs +0 -1
  504. package/dist/chunks/branch-1.0.8-v0vyzjd1.mjs +0 -4
  505. package/dist/chunks/bridge-1.0.8-9em7eyw2.mjs +0 -2
  506. package/dist/chunks/bridgeConfig-1.0.8-rc3gw5mw.mjs +0 -1
  507. package/dist/chunks/bridgeEnabled-1.0.8-mmzmxjzj.mjs +0 -1
  508. package/dist/chunks/bridgeMain-1.0.8-kys2mqca.mjs +0 -88
  509. package/dist/chunks/bridgePointer-1.0.8-ky397f5d.mjs +0 -1
  510. package/dist/chunks/btw-1.0.8-ppch37et.mjs +0 -1
  511. package/dist/chunks/buddy-1.0.8-3j0jmxqv.mjs +0 -3
  512. package/dist/chunks/cacache-1.0.8-npx6886e.mjs +0 -1
  513. package/dist/chunks/cache-probe-1.0.8-q0q9v06f.mjs +0 -21
  514. package/dist/chunks/cacheStats-1.0.8-8g3sbes5.mjs +0 -4
  515. package/dist/chunks/caches-1.0.8-c44ykbdq.mjs +0 -1
  516. package/dist/chunks/claudeDesktop-1.0.8-3718a4er.mjs +0 -1
  517. package/dist/chunks/claudemd-1.0.8-mrm97672.mjs +0 -1
  518. package/dist/chunks/clear-1.0.8-60s1dmkm.mjs +0 -1
  519. package/dist/chunks/clearTerminal-1.0.8-s7tt8cvq.mjs +0 -1
  520. package/dist/chunks/cli-1.0.8-0g25h6r5.mjs +0 -3
  521. package/dist/chunks/cli-1.0.8-0j3a18cb.mjs +0 -2
  522. package/dist/chunks/cli-1.0.8-0w29g9sk.mjs +0 -4
  523. package/dist/chunks/cli-1.0.8-1r6dnkqd.mjs +0 -45
  524. package/dist/chunks/cli-1.0.8-1ss6x3zt.mjs +0 -2
  525. package/dist/chunks/cli-1.0.8-1tmgp7jd.mjs +0 -2
  526. package/dist/chunks/cli-1.0.8-2tcfa3h7.mjs +0 -26
  527. package/dist/chunks/cli-1.0.8-2tqdqypv.mjs +0 -2
  528. package/dist/chunks/cli-1.0.8-2tz4jekt.mjs +0 -2
  529. package/dist/chunks/cli-1.0.8-2vmb9a3w.mjs +0 -2
  530. package/dist/chunks/cli-1.0.8-2yyas23w.mjs +0 -2
  531. package/dist/chunks/cli-1.0.8-330tdbma.mjs +0 -2
  532. package/dist/chunks/cli-1.0.8-34678988.mjs +0 -2
  533. package/dist/chunks/cli-1.0.8-3cz8c904.mjs +0 -2
  534. package/dist/chunks/cli-1.0.8-3j90qb52.mjs +0 -2
  535. package/dist/chunks/cli-1.0.8-3tw1xf7y.mjs +0 -2
  536. package/dist/chunks/cli-1.0.8-3vh4nftm.mjs +0 -7
  537. package/dist/chunks/cli-1.0.8-3w4np76x.mjs +0 -2
  538. package/dist/chunks/cli-1.0.8-45e9fjb4.mjs +0 -21
  539. package/dist/chunks/cli-1.0.8-4a1exx1w.mjs +0 -2
  540. package/dist/chunks/cli-1.0.8-4vzmdadp.mjs +0 -2
  541. package/dist/chunks/cli-1.0.8-4wgaqcjn.mjs +0 -42
  542. package/dist/chunks/cli-1.0.8-53cy4zte.mjs +0 -34
  543. package/dist/chunks/cli-1.0.8-592dqckn.mjs +0 -12
  544. package/dist/chunks/cli-1.0.8-5awx1w8e.mjs +0 -25
  545. package/dist/chunks/cli-1.0.8-5dyqgt8m.mjs +0 -15
  546. package/dist/chunks/cli-1.0.8-5gn5a7p3.mjs +0 -2
  547. package/dist/chunks/cli-1.0.8-5mzwqxg2.mjs +0 -5
  548. package/dist/chunks/cli-1.0.8-5r4z4nzj.mjs +0 -9
  549. package/dist/chunks/cli-1.0.8-5wfqemy1.mjs +0 -17
  550. package/dist/chunks/cli-1.0.8-5wwge1jc.mjs +0 -3
  551. package/dist/chunks/cli-1.0.8-628ypgq9.mjs +0 -4
  552. package/dist/chunks/cli-1.0.8-63tfdt8q.mjs +0 -2
  553. package/dist/chunks/cli-1.0.8-693zfwne.mjs +0 -2
  554. package/dist/chunks/cli-1.0.8-6fz5dc6p.mjs +0 -2
  555. package/dist/chunks/cli-1.0.8-6hge9cq0.mjs +0 -2
  556. package/dist/chunks/cli-1.0.8-6q1p5cvf.mjs +0 -2
  557. package/dist/chunks/cli-1.0.8-74y9exyb.mjs +0 -2
  558. package/dist/chunks/cli-1.0.8-74zbkhyt.mjs +0 -67
  559. package/dist/chunks/cli-1.0.8-75t3aews.mjs +0 -2
  560. package/dist/chunks/cli-1.0.8-75ta9404.mjs +0 -2
  561. package/dist/chunks/cli-1.0.8-7b6c3csb.mjs +0 -2
  562. package/dist/chunks/cli-1.0.8-7khq3d03.mjs +0 -2
  563. package/dist/chunks/cli-1.0.8-7p8001bq.mjs +0 -2
  564. package/dist/chunks/cli-1.0.8-7tm0v9g4.mjs +0 -2
  565. package/dist/chunks/cli-1.0.8-845srnq2.mjs +0 -2
  566. package/dist/chunks/cli-1.0.8-8aa4g8k7.mjs +0 -9
  567. package/dist/chunks/cli-1.0.8-8bymhd85.mjs +0 -2
  568. package/dist/chunks/cli-1.0.8-8d0pym8n.mjs +0 -4
  569. package/dist/chunks/cli-1.0.8-8eace15k.mjs +0 -2
  570. package/dist/chunks/cli-1.0.8-8f8079r1.mjs +0 -2
  571. package/dist/chunks/cli-1.0.8-8g4cyspe.mjs +0 -2
  572. package/dist/chunks/cli-1.0.8-9az1bj5r.mjs +0 -2
  573. package/dist/chunks/cli-1.0.8-9cg23m77.mjs +0 -2
  574. package/dist/chunks/cli-1.0.8-9d98s5n7.mjs +0 -2
  575. package/dist/chunks/cli-1.0.8-9e91trv9.mjs +0 -4
  576. package/dist/chunks/cli-1.0.8-9fsgsfsr.mjs +0 -2
  577. package/dist/chunks/cli-1.0.8-9kjmxaz9.mjs +0 -2
  578. package/dist/chunks/cli-1.0.8-9ten5rvg.mjs +0 -3
  579. package/dist/chunks/cli-1.0.8-9y02shjc.mjs +0 -6
  580. package/dist/chunks/cli-1.0.8-a227an7n.mjs +0 -4
  581. package/dist/chunks/cli-1.0.8-a5h5dhvb.mjs +0 -2
  582. package/dist/chunks/cli-1.0.8-a95nzf63.mjs +0 -3
  583. package/dist/chunks/cli-1.0.8-aac9erft.mjs +0 -18
  584. package/dist/chunks/cli-1.0.8-abdc5b5p.mjs +0 -12
  585. package/dist/chunks/cli-1.0.8-acrtv429.mjs +0 -2
  586. package/dist/chunks/cli-1.0.8-ah0px9dq.mjs +0 -2
  587. package/dist/chunks/cli-1.0.8-apm2cwth.mjs +0 -2
  588. package/dist/chunks/cli-1.0.8-b1a558ty.mjs +0 -2
  589. package/dist/chunks/cli-1.0.8-b3rgrfhx.mjs +0 -2
  590. package/dist/chunks/cli-1.0.8-bce7mfng.mjs +0 -2
  591. package/dist/chunks/cli-1.0.8-bf89pdxw.mjs +0 -3
  592. package/dist/chunks/cli-1.0.8-by017547.mjs +0 -2
  593. package/dist/chunks/cli-1.0.8-c1m2f995.mjs +0 -2
  594. package/dist/chunks/cli-1.0.8-ch5nmk6z.mjs +0 -6
  595. package/dist/chunks/cli-1.0.8-ckzwfn2p.mjs +0 -2
  596. package/dist/chunks/cli-1.0.8-cnp4f1p9.mjs +0 -2
  597. package/dist/chunks/cli-1.0.8-cvanywgv.mjs +0 -4
  598. package/dist/chunks/cli-1.0.8-czw324tt.mjs +0 -2
  599. package/dist/chunks/cli-1.0.8-djnb6kg8.mjs +0 -2
  600. package/dist/chunks/cli-1.0.8-dnyn56hh.mjs +0 -2
  601. package/dist/chunks/cli-1.0.8-dtv7cx85.mjs +0 -2
  602. package/dist/chunks/cli-1.0.8-e1je8bbg.mjs +0 -2
  603. package/dist/chunks/cli-1.0.8-e1rqh3t5.mjs +0 -6
  604. package/dist/chunks/cli-1.0.8-e226v5zv.mjs +0 -2
  605. package/dist/chunks/cli-1.0.8-ebmqnhat.mjs +0 -2
  606. package/dist/chunks/cli-1.0.8-ecej8h97.mjs +0 -2
  607. package/dist/chunks/cli-1.0.8-eqnts1fr.mjs +0 -8
  608. package/dist/chunks/cli-1.0.8-erf5fgz4.mjs +0 -133
  609. package/dist/chunks/cli-1.0.8-erzw5831.mjs +0 -133
  610. package/dist/chunks/cli-1.0.8-evcjjrhq.mjs +0 -2
  611. package/dist/chunks/cli-1.0.8-ewrnp0r9.mjs +0 -2
  612. package/dist/chunks/cli-1.0.8-ezvghx0v.mjs +0 -2
  613. package/dist/chunks/cli-1.0.8-f149d1z0.mjs +0 -2
  614. package/dist/chunks/cli-1.0.8-f46gq37z.mjs +0 -2
  615. package/dist/chunks/cli-1.0.8-fch83jc9.mjs +0 -2
  616. package/dist/chunks/cli-1.0.8-fmf0f85n.mjs +0 -2
  617. package/dist/chunks/cli-1.0.8-fnnr43c2.mjs +0 -2
  618. package/dist/chunks/cli-1.0.8-fnwydrx1.mjs +0 -3
  619. package/dist/chunks/cli-1.0.8-frbc2pan.mjs +0 -2
  620. package/dist/chunks/cli-1.0.8-fs06q8cs.mjs +0 -2
  621. package/dist/chunks/cli-1.0.8-g2934g2e.mjs +0 -2
  622. package/dist/chunks/cli-1.0.8-g8tpbbvt.mjs +0 -3
  623. package/dist/chunks/cli-1.0.8-g9h4ay1q.mjs +0 -2
  624. package/dist/chunks/cli-1.0.8-gmf61bcb.mjs +0 -2
  625. package/dist/chunks/cli-1.0.8-gsr9wqaw.mjs +0 -39
  626. package/dist/chunks/cli-1.0.8-gv80trp6.mjs +0 -2
  627. package/dist/chunks/cli-1.0.8-h44d6jh3.mjs +0 -2
  628. package/dist/chunks/cli-1.0.8-hbgss955.mjs +0 -2
  629. package/dist/chunks/cli-1.0.8-hgreyqck.mjs +0 -2
  630. package/dist/chunks/cli-1.0.8-hkkcv1tv.mjs +0 -2
  631. package/dist/chunks/cli-1.0.8-htq95mje.mjs +0 -2
  632. package/dist/chunks/cli-1.0.8-hy7rca6f.mjs +0 -3
  633. package/dist/chunks/cli-1.0.8-jy0q2dkm.mjs +0 -2
  634. package/dist/chunks/cli-1.0.8-jy7hzejg.mjs +0 -2
  635. package/dist/chunks/cli-1.0.8-k7vkjf05.mjs +0 -2
  636. package/dist/chunks/cli-1.0.8-k90vtehz.mjs +0 -2
  637. package/dist/chunks/cli-1.0.8-ke76gxzw.mjs +0 -199
  638. package/dist/chunks/cli-1.0.8-kfv9esqs.mjs +0 -3
  639. package/dist/chunks/cli-1.0.8-kh51d8mn.mjs +0 -2
  640. package/dist/chunks/cli-1.0.8-kxhxnt9t.mjs +0 -2
  641. package/dist/chunks/cli-1.0.8-kzrdbzd1.mjs +0 -2
  642. package/dist/chunks/cli-1.0.8-kzyrncv0.mjs +0 -2
  643. package/dist/chunks/cli-1.0.8-m2w20tkx.mjs +0 -2
  644. package/dist/chunks/cli-1.0.8-m6fhqq8r.mjs +0 -2
  645. package/dist/chunks/cli-1.0.8-m9cg4s2e.mjs +0 -2
  646. package/dist/chunks/cli-1.0.8-mbhxente.mjs +0 -2
  647. package/dist/chunks/cli-1.0.8-mhhby5pn.mjs +0 -6
  648. package/dist/chunks/cli-1.0.8-mn87n778.mjs +0 -2
  649. package/dist/chunks/cli-1.0.8-mrepsey6.mjs +0 -12
  650. package/dist/chunks/cli-1.0.8-n2thtekm.mjs +0 -2
  651. package/dist/chunks/cli-1.0.8-n4rd5y17.mjs +0 -2
  652. package/dist/chunks/cli-1.0.8-nmrvp3xa.mjs +0 -2
  653. package/dist/chunks/cli-1.0.8-nyq2vcvp.mjs +0 -18
  654. package/dist/chunks/cli-1.0.8-p2tp1j0a.mjs +0 -2
  655. package/dist/chunks/cli-1.0.8-p4egaq4j.mjs +0 -5
  656. package/dist/chunks/cli-1.0.8-p8h84zc9.mjs +0 -3
  657. package/dist/chunks/cli-1.0.8-pbxke3zm.mjs +0 -24
  658. package/dist/chunks/cli-1.0.8-pemd6sje.mjs +0 -2
  659. package/dist/chunks/cli-1.0.8-pzesgrb2.mjs +0 -2
  660. package/dist/chunks/cli-1.0.8-q2myd223.mjs +0 -2
  661. package/dist/chunks/cli-1.0.8-q6x8n8kc.mjs +0 -2
  662. package/dist/chunks/cli-1.0.8-qbrw3wf3.mjs +0 -3
  663. package/dist/chunks/cli-1.0.8-qcf0zmve.mjs +0 -50
  664. package/dist/chunks/cli-1.0.8-qhcghw02.mjs +0 -2
  665. package/dist/chunks/cli-1.0.8-qjcxwb3c.mjs +0 -2
  666. package/dist/chunks/cli-1.0.8-qss5sph3.mjs +0 -59
  667. package/dist/chunks/cli-1.0.8-qzqze1a1.mjs +0 -2
  668. package/dist/chunks/cli-1.0.8-r3ecr05v.mjs +0 -2
  669. package/dist/chunks/cli-1.0.8-r4zbpasa.mjs +0 -24
  670. package/dist/chunks/cli-1.0.8-rdd0jr2h.mjs +0 -2
  671. package/dist/chunks/cli-1.0.8-rg1csg40.mjs +0 -2
  672. package/dist/chunks/cli-1.0.8-rh93fw0p.mjs +0 -2
  673. package/dist/chunks/cli-1.0.8-rna8rhza.mjs +0 -2
  674. package/dist/chunks/cli-1.0.8-rnkrr7ma.mjs +0 -2
  675. package/dist/chunks/cli-1.0.8-rxf0zjys.mjs +0 -2
  676. package/dist/chunks/cli-1.0.8-rxfx9v7j.mjs +0 -2
  677. package/dist/chunks/cli-1.0.8-s5kcxz2r.mjs +0 -4
  678. package/dist/chunks/cli-1.0.8-s6nsgb78.mjs +0 -2
  679. package/dist/chunks/cli-1.0.8-sbf6n56q.mjs +0 -2
  680. package/dist/chunks/cli-1.0.8-se674t5h.mjs +0 -4
  681. package/dist/chunks/cli-1.0.8-secda9xj.mjs +0 -2
  682. package/dist/chunks/cli-1.0.8-sqbaxhfc.mjs +0 -16
  683. package/dist/chunks/cli-1.0.8-swq5n54q.mjs +0 -2
  684. package/dist/chunks/cli-1.0.8-swts6q29.mjs +0 -2
  685. package/dist/chunks/cli-1.0.8-szvwf6r4.mjs +0 -2
  686. package/dist/chunks/cli-1.0.8-t5jg9csm.mjs +0 -2
  687. package/dist/chunks/cli-1.0.8-tdhxr84n.mjs +0 -3
  688. package/dist/chunks/cli-1.0.8-tfjhtagk.mjs +0 -2
  689. package/dist/chunks/cli-1.0.8-tpazbzcz.mjs +0 -2
  690. package/dist/chunks/cli-1.0.8-tq72b6bb.mjs +0 -2
  691. package/dist/chunks/cli-1.0.8-tqf6s7ht.mjs +0 -58
  692. package/dist/chunks/cli-1.0.8-tz68cg1p.mjs +0 -2
  693. package/dist/chunks/cli-1.0.8-v1rafynv.mjs +0 -2
  694. package/dist/chunks/cli-1.0.8-v75s19rg.mjs +0 -2
  695. package/dist/chunks/cli-1.0.8-vb0by9ay.mjs +0 -2
  696. package/dist/chunks/cli-1.0.8-vhjjjs1z.mjs +0 -24
  697. package/dist/chunks/cli-1.0.8-vka62cmh.mjs +0 -2
  698. package/dist/chunks/cli-1.0.8-vvy0bc0g.mjs +0 -1
  699. package/dist/chunks/cli-1.0.8-vztgm8r0.mjs +0 -2
  700. package/dist/chunks/cli-1.0.8-w5wjckph.mjs +0 -25
  701. package/dist/chunks/cli-1.0.8-w6atgaqw.mjs +0 -2
  702. package/dist/chunks/cli-1.0.8-wm0h5bqt.mjs +0 -3
  703. package/dist/chunks/cli-1.0.8-x1387pp6.mjs +0 -2
  704. package/dist/chunks/cli-1.0.8-x2z1s2gm.mjs +0 -2
  705. package/dist/chunks/cli-1.0.8-x3bjpevp.mjs +0 -12
  706. package/dist/chunks/cli-1.0.8-x4hcncpt.mjs +0 -2
  707. package/dist/chunks/cli-1.0.8-xcqdbka0.mjs +0 -2
  708. package/dist/chunks/cli-1.0.8-xhz9dm09.mjs +0 -2
  709. package/dist/chunks/cli-1.0.8-xka5xbz5.mjs +0 -2
  710. package/dist/chunks/cli-1.0.8-xv5yp3w6.mjs +0 -2
  711. package/dist/chunks/cli-1.0.8-xxrng2p1.mjs +0 -15
  712. package/dist/chunks/cli-1.0.8-xzp5af2t.mjs +0 -2
  713. package/dist/chunks/cli-1.0.8-y7jd923h.mjs +0 -2
  714. package/dist/chunks/cli-1.0.8-yb3vesbt.mjs +0 -4
  715. package/dist/chunks/cli-1.0.8-yc4a0111.mjs +0 -20
  716. package/dist/chunks/cli-1.0.8-ycxmnmhs.mjs +0 -3
  717. package/dist/chunks/cli-1.0.8-ykwgcdbt.mjs +0 -5476
  718. package/dist/chunks/cli-1.0.8-yzc0z6ex.mjs +0 -2
  719. package/dist/chunks/cli-1.0.8-z49w3x0w.mjs +0 -4
  720. package/dist/chunks/cli-1.0.8-z6x3zsb0.mjs +0 -2
  721. package/dist/chunks/cli-1.0.8-z79r5re2.mjs +0 -17
  722. package/dist/chunks/cli-1.0.8-z7v2b551.mjs +0 -2
  723. package/dist/chunks/cli-1.0.8-z96bbp08.mjs +0 -6
  724. package/dist/chunks/cli-1.0.8-zh2ygfav.mjs +0 -2
  725. package/dist/chunks/cli-1.0.8-zjckzq5j.mjs +0 -18
  726. package/dist/chunks/cli-1.0.8-znefv1yp.mjs +0 -2
  727. package/dist/chunks/cli-1.0.8-zza8ns8c.mjs +0 -15
  728. package/dist/chunks/client-1.0.8-n7dt1rfw.mjs +0 -1
  729. package/dist/chunks/color-1.0.8-jxfasz8x.mjs +0 -1
  730. package/dist/chunks/compact-1.0.8-jnbzy2qh.mjs +0 -3
  731. package/dist/chunks/config-1.0.8-p850nj3c.mjs +0 -1
  732. package/dist/chunks/config-1.0.8-xg117aq2.mjs +0 -1
  733. package/dist/chunks/constants-1.0.8-ms4fbs66.mjs +0 -1
  734. package/dist/chunks/context-1.0.8-tb27h7kb.mjs +0 -1
  735. package/dist/chunks/context-noninteractive-1.0.8-1ry2t8be.mjs +0 -1
  736. package/dist/chunks/conversation-1.0.8-v96pn05v.mjs +0 -1
  737. package/dist/chunks/copilotHeaders-1.0.8-cs9jt8ks.mjs +0 -1
  738. package/dist/chunks/copy-1.0.8-g8d8msxn.mjs +0 -9
  739. package/dist/chunks/cost-1.0.8-kx2ejbds.mjs +0 -1
  740. package/dist/chunks/createSSHSession-1.0.8-2wvpn7y4.mjs +0 -1
  741. package/dist/chunks/createSession-1.0.8-ecm6dynn.mjs +0 -1
  742. package/dist/chunks/debug-1.0.8-cphv9b4j.mjs +0 -1
  743. package/dist/chunks/defaultActionDeps-1.0.8-2k34bnzt.mjs +0 -1446
  744. package/dist/chunks/desktop-1.0.8-w6qk81xg.mjs +0 -1
  745. package/dist/chunks/detectRepository-1.0.8-q2e17deh.mjs +0 -1
  746. package/dist/chunks/detection-1.0.8-adg3pmtx.mjs +0 -1
  747. package/dist/chunks/diff-1.0.8-kcsv429q.mjs +0 -1
  748. package/dist/chunks/doctor-1.0.8-4807n5ga.mjs +0 -1
  749. package/dist/chunks/doctorDiagnostic-1.0.8-thmvp0a8.mjs +0 -1
  750. package/dist/chunks/earlyInput-1.0.8-hhf06cvs.mjs +0 -1
  751. package/dist/chunks/effort-1.0.8-k9jy349z.mjs +0 -10
  752. package/dist/chunks/engine-1.0.8-swnh66g9.mjs +0 -1
  753. package/dist/chunks/envLessBridgeConfig-1.0.8-8066f8x3.mjs +0 -1
  754. package/dist/chunks/envUtils-1.0.8-hvdz25s8.mjs +0 -1
  755. package/dist/chunks/environmentSelection-1.0.8-dgef2ag8.mjs +0 -1
  756. package/dist/chunks/environments-1.0.8-8kxx7cf7.mjs +0 -1
  757. package/dist/chunks/errors-1.0.8-yrb0dfde.mjs +0 -1
  758. package/dist/chunks/exampleCommands-1.0.8-2fp656s9.mjs +0 -1
  759. package/dist/chunks/exit-1.0.8-axxrxks1.mjs +0 -1
  760. package/dist/chunks/explorer-1.0.8-txzsk7g4.mjs +0 -1
  761. package/dist/chunks/export-1.0.8-yxhs2z6f.mjs +0 -2
  762. package/dist/chunks/extra-usage-1.0.8-mkde8ry2.mjs +0 -1
  763. package/dist/chunks/extra-usage-noninteractive-1.0.8-zq1zsj4c.mjs +0 -1
  764. package/dist/chunks/fast-1.0.8-dm74897t.mjs +0 -1
  765. package/dist/chunks/feedback-1.0.8-wnsh14ya.mjs +0 -14
  766. package/dist/chunks/firstPartyEventLogger-1.0.8-xp13dv5e.mjs +0 -1
  767. package/dist/chunks/git-1.0.8-emhr4f0a.mjs +0 -1
  768. package/dist/chunks/githubModelsCredentials-1.0.8-q88vb6k1.mjs +0 -1
  769. package/dist/chunks/goal-1.0.8-vx7pfbph.mjs +0 -4
  770. package/dist/chunks/grove-1.0.8-4vn920ab.mjs +0 -1
  771. package/dist/chunks/growthbook-1.0.8-ktn0scz1.mjs +0 -1
  772. package/dist/chunks/headless-1.0.8-kgkf00rm.mjs +0 -2
  773. package/dist/chunks/heapdump-1.0.8-e5g8ycqp.mjs +0 -6
  774. package/dist/chunks/help-1.0.8-g5kftejd.mjs +0 -1
  775. package/dist/chunks/hookChains-1.0.8-jnd1g9vp.mjs +0 -3
  776. package/dist/chunks/hooks-1.0.8-d343gmd5.mjs +0 -1
  777. package/dist/chunks/hooks-1.0.8-xq482xcs.mjs +0 -79
  778. package/dist/chunks/ide-1.0.8-4veg8hzd.mjs +0 -3
  779. package/dist/chunks/image-processor-napi-1.0.8-93bk96t4.mjs +0 -1
  780. package/dist/chunks/inboundAttachments-1.0.8-zkj9tf58.mjs +0 -1
  781. package/dist/chunks/index-1.0.8-0pnvq37m.mjs +0 -2
  782. package/dist/chunks/index-1.0.8-1pa1v81a.mjs +0 -1
  783. package/dist/chunks/index-1.0.8-464f1j1b.mjs +0 -1
  784. package/dist/chunks/index-1.0.8-4zsx151v.mjs +0 -1
  785. package/dist/chunks/index-1.0.8-7wqrymcz.mjs +0 -2
  786. package/dist/chunks/index-1.0.8-8qzz6s1v.mjs +0 -1
  787. package/dist/chunks/index-1.0.8-91cpv5tb.mjs +0 -9
  788. package/dist/chunks/index-1.0.8-9x499a6f.mjs +0 -1
  789. package/dist/chunks/index-1.0.8-aqm7z1xs.mjs +0 -1
  790. package/dist/chunks/index-1.0.8-bha1edzd.mjs +0 -1
  791. package/dist/chunks/index-1.0.8-bhzqmht2.mjs +0 -1
  792. package/dist/chunks/index-1.0.8-dh80510b.mjs +0 -1
  793. package/dist/chunks/index-1.0.8-hdnvwr7c.mjs +0 -1
  794. package/dist/chunks/index-1.0.8-ht187zbt.mjs +0 -17
  795. package/dist/chunks/index-1.0.8-jj36eqgv.mjs +0 -1
  796. package/dist/chunks/index-1.0.8-p16qr0gk.mjs +0 -1
  797. package/dist/chunks/index-1.0.8-pejsn3j4.mjs +0 -1
  798. package/dist/chunks/index-1.0.8-pzn6kwcz.mjs +0 -1
  799. package/dist/chunks/index-1.0.8-szryar06.mjs +0 -9
  800. package/dist/chunks/index-1.0.8-thkaetpe.mjs +0 -5
  801. package/dist/chunks/index-1.0.8-tnpscb0d.mjs +0 -1
  802. package/dist/chunks/index-1.0.8-xxdv7dxk.mjs +0 -1
  803. package/dist/chunks/index-1.0.8-z5xdfxxw.mjs +0 -30
  804. package/dist/chunks/init-1.0.8-krd7wa3v.mjs +0 -1
  805. package/dist/chunks/initReplBridge-1.0.8-ftx1k41m.mjs +0 -1
  806. package/dist/chunks/ink-1.0.8-pteq28sp.mjs +0 -1
  807. package/dist/chunks/insights-1.0.8-mb2z8g5h.mjs +0 -870
  808. package/dist/chunks/install-1.0.8-s99z78an.mjs +0 -1
  809. package/dist/chunks/install-github-app-1.0.8-r07c7fc8.mjs +0 -149
  810. package/dist/chunks/install-slack-app-1.0.8-mq0zjdf6.mjs +0 -1
  811. package/dist/chunks/instrumentation-1.0.8-00jpcry8.mjs +0 -1
  812. package/dist/chunks/interactiveHelpers-1.0.8-3z1ey7fr.mjs +0 -1
  813. package/dist/chunks/keybindings-1.0.8-wenkty39.mjs +0 -2
  814. package/dist/chunks/knowledge-1.0.8-cjdkk8mb.mjs +0 -2
  815. package/dist/chunks/latestVersionCache-1.0.8-rncrmhd0.mjs +0 -1
  816. package/dist/chunks/loadAgentsDir-1.0.8-9ry9xbfw.mjs +0 -1
  817. package/dist/chunks/loadPluginHooks-1.0.8-5e422tv0.mjs +0 -1
  818. package/dist/chunks/loadPluginHooks-1.0.8-gw0mb3vq.mjs +0 -1
  819. package/dist/chunks/log-1.0.8-bhyqzqd4.mjs +0 -1
  820. package/dist/chunks/main-1.0.8-sv9em0tk.mjs +0 -1
  821. package/dist/chunks/managedEnv-1.0.8-ey5201g9.mjs +0 -1
  822. package/dist/chunks/mcp-1.0.8-0wkq1z2f.mjs +0 -1
  823. package/dist/chunks/mcp-1.0.8-hft3ww8h.mjs +0 -17
  824. package/dist/chunks/mcp-1.0.8-k2y8akh4.mjs +0 -4
  825. package/dist/chunks/mcpb-1.0.8-6d4d5qg6.mjs +0 -1
  826. package/dist/chunks/memory-1.0.8-bhfq1tpv.mjs +0 -3
  827. package/dist/chunks/model-1.0.8-9x1n1hs4.mjs +0 -2
  828. package/dist/chunks/model-1.0.8-f30q5v3y.mjs +0 -1
  829. package/dist/chunks/node-1.0.8-z64w4mf3.mjs +0 -12
  830. package/dist/chunks/oauth-1.0.8-7vjm8xxp.mjs +0 -1
  831. package/dist/chunks/openaiShim-1.0.8-dxqbym7v.mjs +0 -14
  832. package/dist/chunks/output-style-1.0.8-j3vsn3xx.mjs +0 -1
  833. package/dist/chunks/package-ZZWOLTXM-1.0.8-57wby5pw.mjs +0 -1
  834. package/dist/chunks/parseConnectUrl-1.0.8-fa21hp3j.mjs +0 -1
  835. package/dist/chunks/parser-1.0.8-eddksp6m.mjs +0 -1
  836. package/dist/chunks/passes-1.0.8-82cxmwxv.mjs +0 -1
  837. package/dist/chunks/permissions-1.0.8-9qwtkcvw.mjs +0 -1
  838. package/dist/chunks/permissions-1.0.8-hkpezdb6.mjs +0 -3
  839. package/dist/chunks/plan-1.0.8-t7cypg7z.mjs +0 -1
  840. package/dist/chunks/plist-1.0.8-tx4wgdc5.mjs +0 -1
  841. package/dist/chunks/plugin-1.0.8-fpfj5qcx.mjs +0 -29
  842. package/dist/chunks/pluginStartupCheck-1.0.8-htw7er4z.mjs +0 -1
  843. package/dist/chunks/plugins-1.0.8-89t24bsm.mjs +0 -9
  844. package/dist/chunks/preActionHook-1.0.8-caxsc3mp.mjs +0 -2
  845. package/dist/chunks/print-1.0.8-491vxbzs.mjs +0 -57
  846. package/dist/chunks/privacy-settings-1.0.8-m25zra7r.mjs +0 -1
  847. package/dist/chunks/process-1.0.8-3tzpsdmr.mjs +0 -1
  848. package/dist/chunks/processBashCommand-1.0.8-czb8ax1e.mjs +0 -1
  849. package/dist/chunks/processSlashCommand-1.0.8-z2qz58yf.mjs +0 -9
  850. package/dist/chunks/prompt-1.0.8-2bbvxeh7.mjs +0 -1
  851. package/dist/chunks/prompt-1.0.8-ftnsddxg.mjs +0 -1
  852. package/dist/chunks/prompts-1.0.8-7jmnssxc.mjs +0 -1
  853. package/dist/chunks/protocolHandler-1.0.8-y3rebjd9.mjs +0 -13
  854. package/dist/chunks/provider-1.0.8-zrx7vyqk.mjs +0 -2
  855. package/dist/chunks/providerProfiles-1.0.8-n4b3xs5v.mjs +0 -1
  856. package/dist/chunks/providerValidation-1.0.8-j9gx7a1v.mjs +0 -6
  857. package/dist/chunks/rate-limit-options-1.0.8-084n6z58.mjs +0 -1
  858. package/dist/chunks/registerSubcommands-1.0.8-e9k91bmz.mjs +0 -34
  859. package/dist/chunks/registry-1.0.8-p8bc2ppg.mjs +0 -1
  860. package/dist/chunks/release-notes-1.0.8-wdtevpan.mjs +0 -5
  861. package/dist/chunks/reload-plugins-1.0.8-crrx8jkj.mjs +0 -2
  862. package/dist/chunks/remote-env-1.0.8-yb4czxha.mjs +0 -1
  863. package/dist/chunks/remoteBridgeCore-1.0.8-cg38st7c.mjs +0 -1
  864. package/dist/chunks/remoteSession-1.0.8-g9cx4dmb.mjs +0 -1
  865. package/dist/chunks/rename-1.0.8-c263drxy.mjs +0 -1
  866. package/dist/chunks/replBridgeHandle-1.0.8-51065xd1.mjs +0 -1
  867. package/dist/chunks/replLauncher-1.0.8-n5f7d6tk.mjs +0 -1
  868. package/dist/chunks/resume-1.0.8-20r9g9a8.mjs +0 -2
  869. package/dist/chunks/rewind-1.0.8-1shxcx6h.mjs +0 -1
  870. package/dist/chunks/rootOptions-1.0.8-v3mryhnd.mjs +0 -1
  871. package/dist/chunks/sandbox-adapter-1.0.8-db8n3sf2.mjs +0 -1
  872. package/dist/chunks/sandbox-toggle-1.0.8-8ysakwfc.mjs +0 -1
  873. package/dist/chunks/session-1.0.8-nf98ege7.mjs +0 -2
  874. package/dist/chunks/sessionDiscovery-1.0.8-j7e3zz3z.mjs +0 -1
  875. package/dist/chunks/sessionFileAccessHooks-1.0.8-tywx0fhs.mjs +0 -1
  876. package/dist/chunks/sessionStorage-1.0.8-3jncs1jd.mjs +0 -1
  877. package/dist/chunks/settings-1.0.8-ferv6mr5.mjs +0 -1
  878. package/dist/chunks/setup-1.0.8-r7jm4921.mjs +0 -5
  879. package/dist/chunks/sinks-1.0.8-w2zqhs5t.mjs +0 -1
  880. package/dist/chunks/skills-1.0.8-c2re0407.mjs +0 -1
  881. package/dist/chunks/startupProfiler-1.0.8-m7x42s2c.mjs +0 -1
  882. package/dist/chunks/startupUpdateCheck-1.0.8-hnq9gbsm.mjs +0 -1
  883. package/dist/chunks/state-1.0.8-mszmr9fy.mjs +0 -1
  884. package/dist/chunks/stats-1.0.8-xah6pcq3.mjs +0 -6
  885. package/dist/chunks/status-1.0.8-cb5dxyy1.mjs +0 -1
  886. package/dist/chunks/stickers-1.0.8-vr13mnk0.mjs +0 -1
  887. package/dist/chunks/subprocessEnv-1.0.8-rqxgszbc.mjs +0 -1
  888. package/dist/chunks/tasks-1.0.8-v1meznm5.mjs +0 -1
  889. package/dist/chunks/teamHelpers-1.0.8-zs8qgyey.mjs +0 -1
  890. package/dist/chunks/teammateModeSnapshot-1.0.8-828qsec1.mjs +0 -1
  891. package/dist/chunks/teleport-1.0.8-aszfnv2s.mjs +0 -1
  892. package/dist/chunks/terminalSetup-1.0.8-9n57sf46.mjs +0 -1
  893. package/dist/chunks/theme-1.0.8-da67zfgn.mjs +0 -1
  894. package/dist/chunks/thinkback-1.0.8-p4ne9wck.mjs +0 -1
  895. package/dist/chunks/thinkback-play-1.0.8-kz09z4aa.mjs +0 -1
  896. package/dist/chunks/toolPool-1.0.8-rbawjenc.mjs +0 -1
  897. package/dist/chunks/toolSearch-1.0.8-drw7db57.mjs +0 -1
  898. package/dist/chunks/tools-1.0.8-51cw7jhr.mjs +0 -1
  899. package/dist/chunks/trustedDevice-1.0.8-y6484dbh.mjs +0 -1
  900. package/dist/chunks/turndown.cjs-1.0.8-07rx7x03.mjs +0 -69
  901. package/dist/chunks/types-1.0.8-svkpkerr.mjs +0 -1
  902. package/dist/chunks/ultrareviewCommand-1.0.8-fxpy87j7.mjs +0 -4
  903. package/dist/chunks/update-1.0.8-r5hsx0vn.mjs +0 -88
  904. package/dist/chunks/upgrade-1.0.8-rfjr944q.mjs +0 -1
  905. package/dist/chunks/upload-1.0.8-xb3qq931.mjs +0 -7
  906. package/dist/chunks/upstreamproxy-1.0.8-enmg2k32.mjs +0 -14
  907. package/dist/chunks/url-handler-napi-1.0.8-4xafghrm.mjs +0 -1
  908. package/dist/chunks/usage-1.0.8-x3yk026j.mjs +0 -1
  909. package/dist/chunks/util-1.0.8-g8szktmn.mjs +0 -1
  910. package/dist/chunks/utils-1.0.8-qkwh1by0.mjs +0 -1
  911. package/dist/chunks/vim-1.0.8-qv0fhjmv.mjs +0 -1
  912. package/dist/chunks/watcher-1.0.8-y0ye7hc6.mjs +0 -1
  913. package/dist/chunks/wiki-1.0.8-3ydvpt0c.mjs +0 -132
  914. package/dist/chunks/workflows-1.0.8-1fj4wp4z.mjs +0 -1
  915. package/dist/chunks/worktree-1.0.8-x68tgvcc.mjs +0 -1
  916. package/dist/chunks/worktreeModeEnabled-1.0.8-3e98qmek.mjs +0 -1
  917. package/dist/chunks/wrapper-1.0.8-atewpqqc.mjs +0 -7
@@ -1,2 +0,0 @@
1
- import{td as XJ,ud as mJ}from"./cli-1.0.8-f149d1z0.mjs";import{Yh as JJ,Zh as dJ}from"./cli-1.0.8-tqf6s7ht.mjs";import{AD as e,Am as OJ,BD as pJ,BG as o,CG as s,DG as FJ,GQ as P,Hk as BJ,Hn as h,MN as I,Oy as i,Py as TJ,TS as bJ,Ul as c,Xl as HJ,YE as n,Yw as x,ZE as vJ,eD as LJ,im as a,nm as RJ,uD as yJ,um as l,vD as DJ,xG as T,yj as g}from"./cli-1.0.8-ykwgcdbt.mjs";import{o6 as WJ}from"./cli-1.0.8-sqbaxhfc.mjs";import{Afa as AJ,Ifa as B,Qfa as H,Rca as f,Zca as u,_ca as _J,jda as MJ,u$ as VJ,zfa as O}from"./cli-1.0.8-ke76gxzw.mjs";import{aha as YJ}from"./cli-1.0.8-a5h5dhvb.mjs";import{Bha as zJ}from"./cli-1.0.8-acrtv429.mjs";import{nia as R,qia as y}from"./cli-1.0.8-gmf61bcb.mjs";import{_ia as QJ,cja as V,gja as UJ,qja as m,tja as NJ}from"./cli-1.0.8-z96bbp08.mjs";import{Xja as C}from"./cli-1.0.8-0w29g9sk.mjs";import{_ja as U,lka as wJ}from"./cli-1.0.8-swts6q29.mjs";import{Fna as b,Opa as j,Wma as F}from"./cli-1.0.8-c1m2f995.mjs";import{ura as jJ}from"./cli-1.0.8-by017547.mjs";pJ();dJ();j();YJ();y();I();BJ();h();VJ();zJ();C();H();P();WJ();QJ();x();I();h();H();C();P();x();LJ();function D(){}j();y();AJ();NJ();wJ();UJ();TJ();MJ();H();o();vJ();RJ();bJ();FJ();_J();OJ();HJ();import{join as Q}from"path";var SJ=30;function L(){let K=((f()||{}).cleanupPeriodDays??SJ)*24*60*60*1000;return new Date(Date.now()-K)}function r(X,J){return{messages:X.messages+J.messages,errors:X.errors+J.errors}}function kJ(X){let J=X.split(".")[0].replace(/T(\d{2})-(\d{2})-(\d{2})-(\d{3})Z/,"T$1:$2:$3.$4Z");return new Date(J)}async function p(X,J,K){let $={messages:0,errors:0};try{let G=await V().readdir(X);for(let Z of G)try{if(kJ(Z.name)<J)if(await V().unlink(Q(X,Z.name)),K)$.messages++;else $.errors++}catch(Y){B(Y)}}catch(G){if(G instanceof Error&&"code"in G&&G.code!=="ENOENT")B(G)}return $}async function EJ(){let X=V(),J=L(),K=O.errors(),$=O.baseLogs(),G=await p(K,J,!1);try{let Z;try{Z=await X.readdir($)}catch{return G}let Y=Z.filter((q)=>q.isDirectory()&&q.name.startsWith("mcp-logs-")).map((q)=>Q($,q.name));for(let q of Y)G=r(G,await p(q,J,!0)),await z(q,X)}catch(Z){if(Z instanceof Error&&"code"in Z&&Z.code!=="ENOENT")B(Z)}return G}async function w(X,J,K){if((await K.stat(X)).mtime<J)return await K.unlink(X),!0;return!1}async function z(X,J){try{await J.rmdir(X)}catch{}}async function CJ(){let X=L(),J={messages:0,errors:0},K=g(),$=V(),G;try{G=await $.readdir(K)}catch{return J}for(let Z of G){if(!Z.isDirectory())continue;let Y=Q(K,Z.name),q;try{q=await $.readdir(Y)}catch{J.errors++;continue}for(let W of q)if(W.isFile()){if(!W.name.endsWith(".jsonl")&&!W.name.endsWith(".cast"))continue;try{if(await w(Q(Y,W.name),X,$))J.messages++}catch{J.errors++}}else if(W.isDirectory()){let M=Q(Y,W.name),N=Q(M,l),S;try{S=await $.readdir(N)}catch{await z(M,$);continue}for(let _ of S)if(_.isFile())try{if(await w(Q(N,_.name),X,$))J.messages++}catch{J.errors++}else if(_.isDirectory()){let A=Q(N,_.name),k;try{k=await $.readdir(A)}catch{continue}for(let E of k){if(!E.isFile())continue;try{if(await w(Q(A,E.name),X,$))J.messages++}catch{J.errors++}}await z(A,$)}await z(N,$),await z(M,$)}await z(Y,$)}return J}async function d(X,J,K=!0){let $=L(),G={messages:0,errors:0},Z=V(),Y;try{Y=await Z.readdir(X)}catch{return G}for(let q of Y){if(!q.isFile()||!q.name.endsWith(J))continue;try{if(await w(Q(X,q.name),$,Z))G.messages++}catch{G.errors++}}if(K)await z(X,Z);return G}async function hJ(){let X=a(),J=await d(X,".md"),K=Q(U(),"plans");if(K!==X){let $=await d(K,".md");return r(J,$)}return J}async function xJ(){let X=L(),J={messages:0,errors:0},K=V();try{let $=U(),G=Q($,"file-history"),Z;try{Z=await K.readdir(G)}catch{return J}let Y=Z.filter((q)=>q.isDirectory()).map((q)=>Q(G,q.name));await Promise.all(Y.map(async(q)=>{try{if((await K.stat(q)).mtime<X)await K.rm(q,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}})),await z(G,K)}catch($){B($)}return J}async function IJ(){let X=L(),J={messages:0,errors:0},K=V();try{let $=U(),G=Q($,"session-env"),Z;try{Z=await K.readdir(G)}catch{return J}let Y=Z.filter((q)=>q.isDirectory()).map((q)=>Q(G,q.name));for(let q of Y)try{if((await K.stat(q)).mtime<X)await K.rm(q,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}await z(G,K)}catch($){B($)}return J}async function PJ(){let X=L(),J={messages:0,errors:0},K=V(),$=Q(U(),"debug"),G;try{G=await K.readdir($)}catch{return J}for(let Z of G){if(!Z.isFile()||!Z.name.endsWith(".txt")||Z.name==="latest")continue;try{if(await w(Q($,Z.name),X,K))J.messages++}catch{J.errors++}}return J}async function t(){let{errors:X}=s();if(X.length>0&&u("cleanupPeriodDays")){m("Skipping cleanup: settings have validation errors but cleanupPeriodDays was explicitly set. Fix settings errors to enable cleanup.");return}await EJ(),await CJ(),await hJ(),await xJ(),await IJ(),await PJ(),await i(),await n(L());let J=await c(L());if(J>0)R("tengu_worktree_cleanup",{removed:J})}o();mJ();var fJ=(DJ(),jJ(yJ));var v=600000;function sX(){JJ(),D(),fJ.initExtractMemories(),e(),XJ();let X=!0;async function J(){if(b()&&F()>Date.now()-60000){setTimeout(J,v).unref();return}if(X)X=!1,await t();if(b()&&F()>Date.now()-60000){setTimeout(J,v).unref();return}await T()}setTimeout(J,v).unref()}
2
- export{sX as La};
@@ -1,4 +0,0 @@
1
- import{kg as LJ,lg as WQ}from"./cli-1.0.8-9ten5rvg.mjs";import{mg as hJ,ng as RQ}from"./cli-1.0.8-7b6c3csb.mjs";import{og as PJ,pg as hQ}from"./cli-1.0.8-f46gq37z.mjs";import{qg as aq,rg as lJ}from"./cli-1.0.8-v75s19rg.mjs";import{sg as Fq,tg as iq,ug as $J}from"./cli-1.0.8-330tdbma.mjs";import{vg as WJ,wg as HQ}from"./cli-1.0.8-r3ecr05v.mjs";import{$s as KJ,CP as eq,Cx as yQ,EP as iJ,Kx as uq,Lx as mq,NI as HJ,Nx as pq,OI as RJ,Ox as fJ,PI as wQ,Qo as P,Ro as Tq,SP as Aq,VP as oJ,WS as wq,_S as sq,at as VQ,bT as tq,bt as VJ,ct as XJ,dt as XQ,nT as nJ,oG as vq,pG as BQ,qG as UJ,rG as FJ,sG as wJ,tG as FQ,to as GJ,uo as KQ,zx as g}from"./cli-1.0.8-ykwgcdbt.mjs";import{XT as yJ,ZT as NJ,aU as NQ}from"./cli-1.0.8-zza8ns8c.mjs";import{EV as BJ,IV as UQ}from"./cli-1.0.8-y7jd923h.mjs";import{GX as zJ,HX as zQ,KX as YJ,LX as YQ,TX as Mq,UX as GQ}from"./cli-1.0.8-apm2cwth.mjs";import{H0 as Oq,HY as Pq,a0 as y,c0 as Q}from"./cli-1.0.8-qss5sph3.mjs";import{n3 as h,o3 as Y,p3 as Z,q3 as c}from"./cli-1.0.8-qzqze1a1.mjs";import{r3 as ZQ}from"./cli-1.0.8-rna8rhza.mjs";import{C6 as ZJ,D6 as QQ,R5 as rq,o6 as cJ}from"./cli-1.0.8-sqbaxhfc.mjs";import{Qca as QJ,U$ as qQ,_ca as JQ,cca as gq,dca as dJ,gca as xq,oca as TJ,x$ as Iq,y9 as $,z9 as tJ}from"./cli-1.0.8-ke76gxzw.mjs";import{_ja as JJ,lka as sJ}from"./cli-1.0.8-swts6q29.mjs";import{Opa as eJ,Xla as qJ}from"./cli-1.0.8-c1m2f995.mjs";import{tra as Bq,xra as Uq}from"./cli-1.0.8-by017547.mjs";function _q(){let J=jq.c(2);if(!uq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=pq();if(G.length===0){V=null;break q}let K=G.filter(pJ),X=G.filter(mJ);q=Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,color:K.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(y,{children:[Y(Q,{dimColor:!0,children:"Location: "}),Y(Q,{dimColor:!0,children:mq()})]}),Z(y,{marginLeft:1,flexDirection:"column",marginTop:1,children:[K.map(uJ),X.map(EJ)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function EJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function uJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function mJ(J){return J.severity==="warning"}function pJ(J){return J.severity==="error"}var jq;var dq=Uq(()=>{Oq();fJ();c();jq=Bq(Pq(),1)});function lq(){let J=cq.c(2);if(!P.isSupportedPlatform())return null;if(!P.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=P.checkDependencies(),K=G.errors.length>0,X=G.warnings.length>0;if(!K&&!X){V=null;break q}q=Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",Y(Q,{color:K?"error":"warning",children:K?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map(_J),G.warnings.map(jJ),K&&Y(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function jJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function _J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var cq;var $q=Uq(()=>{Oq();Tq();c();cq=Bq(Pq(),1)});async function gJ(){let J=tq(await sq());if(J.length===0)return null;let q=J.sort((G,K)=>K.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${wq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${wq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:wq}}async function xJ(J){if(!J)return null;let q=iq(J);if(q<=Fq)return null;let V=J.activeAgents.filter((K)=>K.source!=="built-in").map((K)=>{let X=`${K.agentType}: ${K.whenToUse}`;return{name:K.agentType,tokens:Aq(X)}}).sort((K,X)=>X.tokens-K.tokens),G=V.slice(0,5).map((K)=>`${K.name}: ~${K.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${Fq.toLocaleString()})`,details:G,currentValue:q,threshold:Fq}}async function rJ(J,q,V){let G=J.filter((K)=>K.isMcp);if(G.length===0)return null;try{let K=rq(),{mcpToolTokens:X,mcpToolDetails:B}=await eq(J,q,V,K);if(X<=l)return null;let U=new Map;for(let R of B){let x=R.name.split("__")[1]||"unknown",N=U.get(x)||{count:0,tokens:0};U.set(x,{count:N.count+1,tokens:N.tokens+R.tokens})}let H=Array.from(U.entries()).sort((R,F)=>F[1].tokens-R[1].tokens),z=H.slice(0,5).map(([R,F])=>`${R}: ${F.count} tools (~${F.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(K){let X=G.reduce((B,U)=>{let H=(U.name?.length||0)+U.description.length;return B+Aq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function aJ(J){let q=await J(),V=P.isSandboxingEnabled()&&P.isAutoAllowBashIfSandboxedEnabled(),G=aq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let K=G.flatMap((X)=>[`${gq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${xq(G.length,"unreachable permission rule")} detected`,details:K,currentValue:G.length,threshold:0}}async function oq(J,q,V){let[G,K,X,B]=await Promise.all([gJ(),xJ(q),rJ(J,V,q),aJ(V)]);return{claudeMdWarning:G,agentWarning:K,mcpWarning:X,unreachableRulesWarning:B}}var l=25000;var nq=Uq(()=>{oJ();iJ();nJ();cJ();dJ();lJ();Tq();$J();TJ()});import{join as bq}from"path";function LQ(J){let q=Cq.c(8),{promise:V}=J,G=w.use(V);if(!G.latest){let U;if(q[0]===Symbol.for("react.memo_cache_sentinel"))U=Y(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=U;else U=q[0];return U}let K;if(q[1]!==G.stable)K=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=K;else K=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let B;if(q[5]!==K||q[6]!==X)B=Z(h,{children:[K,X]}),q[5]=K,q[6]=X,q[7]=B;else B=q[7];return B}function pZ(J){let q=Cq.c(84),{onDone:V}=J,G=g(TQ),K=g(dQ),X=g(_Q),B=g(jQ);YJ();let U;if(q[0]!==K)U=K||[],q[0]=K,q[1]=U;else U=q[1];let H=U,[z,R]=w.useState(null),[F,x]=w.useState(null),[N,OJ]=w.useState(null),[L,kq]=w.useState(null),Hq=PJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=vq().then(mQ),q[2]=r;else r=q[2];let AJ=r,bJ=QJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Hq)a=Hq.filter(uQ),q[3]=Hq,q[4]=a;else a=q[4];let i=a,o;if(q[5]===Symbol.for("react.memo_cache_sentinel"))o=[{name:"BASH_MAX_OUTPUT_LENGTH",default:XJ,upperLimit:VJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:RJ,upperLimit:HJ},{name:"CLAUDE_CODE_MAX_OUTPUT_TOKENS",...ZJ("claude-opus-4-8")}].map(EQ).filter(fQ),q[5]=o;else o=q[5];let Dq=o,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{vq().then(R),(async()=>{let W=bq(JJ(),"agents"),Sq=bq(qJ(),".claudin","agents"),{activeAgents:fq,allAgents:IJ,failedFiles:Eq}=G,[MJ,vJ]=await Promise.all([Iq(W),Iq(Sq)]),CJ={activeAgents:fq.map(SQ),userAgentsDir:W,projectAgentsDir:Sq,userDirExists:MJ,projectDirExists:vJ,failedFiles:Eq};x(CJ);let kJ=await oq(H,{activeAgents:fq,allAgents:IJ,failedFiles:Eq},async()=>X);if(OJ(kJ),UJ()){let Lq=bq(BJ(),"claude","locks"),DJ=wJ(Lq),SJ=FJ(Lq);kq({enabled:!0,locks:SJ,locksDir:Lq,staleLocksCleaned:DJ})}else kq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];w.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claude Code diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(zJ(qq,Jq),!z){let W;if(q[16]===Symbol.for("react.memo_cache_sentinel"))W=Y(Mq,{children:Y(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=W;else W=q[16];return W}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=Y(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let A;if(q[21]!==z.packageManager)A=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=A;else A=q[22];let b;if(q[23]!==z.installationPath)b=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=b;else b=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let M;if(q[27]!==z.configInstallMethod)M=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=M;else M=q[28];let Rq=z.ripgrepStatus.working?"OK":"Not working",Wq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",v;if(q[29]!==Rq||q[30]!==Wq)v=Z(Q,{children:["└ Search: ",Rq," (",Wq,")"]}),q[29]=Rq,q[30]=Wq,q[31]=v;else v=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(h,{children:[Y(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
2
- `)[0]]}),Y(Q,{dimColor:!0,children:z.recommendation.split(`
3
- `)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(h,{children:[Y(Q,{}),Y(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(DQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let D;if(q[36]!==z.warnings)D=z.warnings.length>0&&Z(h,{children:[Y(Q,{}),z.warnings.map(kQ)]}),q[36]=z.warnings,q[37]=D;else D=q[37];let S;if(q[38]!==i)S=i.length>0&&Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,children:"Invalid Settings"}),Y(LJ,{errors:i})]}),q[38]=i,q[39]=S;else S=q[39];let f;if(q[40]!==O||q[41]!==A||q[42]!==b||q[43]!==I||q[44]!==M||q[45]!==v||q[46]!==C||q[47]!==k||q[48]!==D||q[49]!==S)f=Z(y,{flexDirection:"column",children:[Qq,O,A,b,I,M,v,C,k,D,S]}),q[40]=O,q[41]=A,q[42]=b,q[43]=I,q[44]=M,q[45]=v,q[46]=C,q[47]=k,q[48]=D,q[49]=S,q[50]=f;else f=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=Y(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let hq=z.packageManager?"Managed by package manager":z.autoUpdates,E;if(q[52]!==hq)E=Z(Q,{children:["└ Auto-updates:"," ",hq]}),q[52]=hq,q[53]=E;else E=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",bJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=Y(w.Suspense,{fallback:null,children:Y(LQ,{promise:AJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==E||q[59]!==u)m=Z(y,{flexDirection:"column",children:[Zq,E,u,zq,Yq]}),q[58]=E,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=Y(lq,{}),Kq=Y(WJ,{}),Vq=Y(_q,{}),Xq=Dq.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Environment Variables"}),Dq.map(CQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==L)p=L?.enabled&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Version Locks"}),L.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",L.staleLocksCleaned," stale lock(s)"]}),L.locks.length===0?Y(Q,{dimColor:!0,children:"└ No active version locks"}):L.locks.map(vQ)]}),q[65]=L,q[66]=p;else p=q[66];let j;if(q[67]!==F)j=F?.failedFiles&&F.failedFiles.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",F.failedFiles.length," agent file(s):"]}),F.failedFiles.map(MQ)]}),q[67]=F,q[68]=j;else j=q[68];let _;if(q[69]!==B)_=B.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",B.length," plugin error(s) detected:"]}),B.map(IQ)]}),q[69]=B,q[70]=_;else _=q[70];let d;if(q[71]!==N)d=N?.unreachableRulesWarning&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.unreachableRulesWarning.message]})]}),N.unreachableRulesWarning.details.map(bQ)]}),q[71]=N,q[72]=d;else d=q[72];let T;if(q[73]!==N)T=N&&(N.claudeMdWarning||N.agentWarning||N.mcpWarning)&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Context Usage Warnings"}),N.claudeMdWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),N.claudeMdWarning.details.map(AQ)]}),N.agentWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),N.agentWarning.details.map(OQ)]}),N.mcpWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),N.mcpWarning.details.map(PQ)]})]}),q[73]=N,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=Y(y,{children:Y(hJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==f||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Mq,{children:[f,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=f,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function PQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function OQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function AQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function bQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function IQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",GJ(J)]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function vQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?Y(Q,{children:"(running)"}):Y(Q,{color:"warning",children:"(stale)"})]},q)}function CQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",Y(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function kQ(J,q){return Z(y,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function DQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function SQ(J){return{agentType:J.agentType,source:J.source}}function fQ(J){return J.status!=="valid"}function EQ(J){let q=process.env[J.name],V=KJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function uQ(J){return J.mcpErrorMetadata===void 0}function mQ(J){return(J.installationType==="native"?NJ:yJ)().catch(pQ)}function pQ(){return{latest:null,stable:null}}function jQ(J){return J.plugins.errors}function _Q(J){return J.toolPermissionContext}function dQ(J){return J.mcp.tools}function TQ(J){return J.agentDefinitions}var Cq,w;var cQ=Uq(()=>{tJ();dq();HQ();QQ();sJ();eJ();GQ();RQ();$q();WQ();hQ();YQ();Oq();zQ();yQ();KQ();NQ();nq();BQ();VQ();qQ();FQ();JQ();XQ();wQ();UQ();c();Cq=Bq(Pq(),1),w=Bq(ZQ(),1)});
4
- export{pZ as ig,cQ as jg};
@@ -1,2 +0,0 @@
1
- import{H0 as e2,HY as u2,QY as Z,a0 as Y,c0 as u}from"./cli-1.0.8-qss5sph3.mjs";import{o3 as t,p3 as o,q3 as U}from"./cli-1.0.8-qzqze1a1.mjs";import{Baa as j,zaa as X}from"./cli-1.0.8-ke76gxzw.mjs";import{tra as s}from"./cli-1.0.8-by017547.mjs";e2();j();U();var Q=s(u2(),1),K=58;function c2(){let l=Q.c(35),[e]=Z();if(X.terminal==="Apple_Terminal"){let c;if(l[0]!==e)c=t(t2,{theme:e,welcomeMessage:"Welcome to Claudin"}),l[0]=e,l[1]=c;else c=l[1];return c}if(["light","light-daltonized","light-ansi"].includes(e)){let c,R,k,p,A,a,I,i,M;if(l[2]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","1.0.8"," "]})]}),R=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),k=t(u,{children:" "}),p=t(u,{children:" "}),A=t(u,{children:" "}),a=t(u,{children:" ░░░░░░ "}),I=t(u,{children:" ░░░ ░░░░░░░░░░ "}),i=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),M=t(u,{children:" "}),l[2]=c,l[3]=R,l[4]=k,l[5]=p,l[6]=A,l[7]=a,l[8]=I,l[9]=i,l[10]=M;else c=l[2],R=l[3],k=l[4],p=l[5],A=l[6],a=l[7],I=l[8],i=l[9],M=l[10];let V;if(l[11]===Symbol.for("react.memo_cache_sentinel"))V=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),l[11]=V;else V=l[11];let E,N;if(l[12]===Symbol.for("react.memo_cache_sentinel"))E=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),N=t(u,{children:" ▒▒ ██ ▒"}),l[12]=E,l[13]=N;else E=l[12],N=l[13];let W;if(l[14]===Symbol.for("react.memo_cache_sentinel"))W=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ▒▒░░▒▒ ▒ ▒▒"]}),l[14]=W;else W=l[14];let L;if(l[15]===Symbol.for("react.memo_cache_sentinel"))L=o(u,{children:[" ",t(u,{color:"clawd_body",backgroundColor:"clawd_background",children:"██▄█████▄██"})," ▒▒ ▒▒ "]}),l[15]=L;else L=l[15];let v;if(l[16]===Symbol.for("react.memo_cache_sentinel"))v=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ░ ▒ "]}),l[16]=v;else v=l[16];let B;if(l[17]===Symbol.for("react.memo_cache_sentinel"))B=t(Y,{width:K,children:o(u,{children:[c,R,k,p,A,a,I,i,M,V,E,N,W,L,v,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"……………………………………………………………………░…………………………▒…………"]})]})}),l[17]=B;else B=l[17];return B}let D,r,P,T,d,m,n;if(l[18]===Symbol.for("react.memo_cache_sentinel"))D=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","1.0.8"," "]})]}),r=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),P=t(u,{children:" "}),T=t(u,{children:" * █████▓▓░ "}),d=t(u,{children:" * ███▓░ ░░ "}),m=t(u,{children:" ░░░░░░ ███▓░ "}),n=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),l[18]=D,l[19]=r,l[20]=P,l[21]=T,l[22]=d,l[23]=m,l[24]=n;else D=l[18],r=l[19],P=l[20],T=l[21],d=l[22],m=l[23],n=l[24];let b,f,_,y,h;if(l[25]===Symbol.for("react.memo_cache_sentinel"))_=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),y=t(u,{children:" ░▓▓███▓▓░ "}),h=t(u,{dimColor:!0,children:" * ░░░░ "}),b=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),f=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),l[25]=b,l[26]=f,l[27]=_,l[28]=y,l[29]=h;else b=l[25],f=l[26],_=l[27],y=l[28],h=l[29];let C;if(l[30]===Symbol.for("react.memo_cache_sentinel"))C=t(u,{color:"clawd_body",children:" █████████ "}),l[30]=C;else C=l[30];let S;if(l[31]===Symbol.for("react.memo_cache_sentinel"))S=o(u,{children:[" ",C," ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),l[31]=S;else S=l[31];let w;if(l[32]===Symbol.for("react.memo_cache_sentinel"))w=o(u,{children:[" ",t(u,{color:"clawd_body",children:"██▄█████▄██"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),l[32]=w;else w=l[32];let g;if(l[33]===Symbol.for("react.memo_cache_sentinel"))g=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," * "]}),l[33]=g;else g=l[33];let O;if(l[34]===Symbol.for("react.memo_cache_sentinel"))O=t(Y,{width:K,children:o(u,{children:[D,r,P,T,d,m,n,_,y,h,b,f,S,w,g,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"………………………………………………………………………………………………………………"]})]})}),l[34]=O;else O=l[34];return O}function t2(l){let e=Q.c(44),{theme:D,welcomeMessage:r}=l;if(["light","light-daltonized","light-ansi"].includes(D)){let a;if(e[0]!==r)a=o(u,{color:"claude",children:[r," "]}),e[0]=r,e[1]=a;else a=e[1];let I;if(e[2]===Symbol.for("react.memo_cache_sentinel"))I=o(u,{dimColor:!0,children:["v","1.0.8"," "]}),e[2]=I;else I=e[2];let i;if(e[3]!==a)i=o(u,{children:[a,I]}),e[3]=a,e[4]=i;else i=e[4];let M,V,E,N,W,L,v,B;if(e[5]===Symbol.for("react.memo_cache_sentinel"))E=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),N=t(u,{children:" "}),W=t(u,{children:" "}),L=t(u,{children:" "}),v=t(u,{children:" ░░░░░░ "}),B=t(u,{children:" ░░░ ░░░░░░░░░░ "}),M=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),V=t(u,{children:" "}),e[5]=M,e[6]=V,e[7]=E,e[8]=N,e[9]=W,e[10]=L,e[11]=v,e[12]=B;else M=e[5],V=e[6],E=e[7],N=e[8],W=e[9],L=e[10],v=e[11],B=e[12];let z;if(e[13]===Symbol.for("react.memo_cache_sentinel"))z=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),e[13]=z;else z=e[13];let $,x,H;if(e[14]===Symbol.for("react.memo_cache_sentinel"))$=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),x=t(u,{children:" ▒▒ ██ ▒"}),H=t(u,{children:" ▒▒░░▒▒ ▒ ▒▒"}),e[14]=$,e[15]=x,e[16]=H;else $=e[14],x=e[15],H=e[16];let q;if(e[17]===Symbol.for("react.memo_cache_sentinel"))q=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"})," ▒▒ ▒▒ "]}),e[17]=q;else q=e[17];let F;if(e[18]===Symbol.for("react.memo_cache_sentinel"))F=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," ░ ▒ "]}),e[18]=F;else F=e[18];let G;if(e[19]===Symbol.for("react.memo_cache_sentinel"))G=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"……………………………………………………………………░…………………………▒…………"]}),e[19]=G;else G=e[19];let J;if(e[20]!==i)J=t(Y,{width:K,children:o(u,{children:[i,E,N,W,L,v,B,M,V,z,$,x,H,q,F,G]})}),e[20]=i,e[21]=J;else J=e[21];return J}let T;if(e[22]!==r)T=o(u,{color:"claude",children:[r," "]}),e[22]=r,e[23]=T;else T=e[23];let d;if(e[24]===Symbol.for("react.memo_cache_sentinel"))d=o(u,{dimColor:!0,children:["v","1.0.8"," "]}),e[24]=d;else d=e[24];let m;if(e[25]!==T)m=o(u,{children:[T,d]}),e[25]=T,e[26]=m;else m=e[26];let n,b,f,_,y,h;if(e[27]===Symbol.for("react.memo_cache_sentinel"))n=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),b=t(u,{children:" "}),f=t(u,{children:" * █████▓▓░ "}),_=t(u,{children:" * ███▓░ ░░ "}),y=t(u,{children:" ░░░░░░ ███▓░ "}),h=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),e[27]=n,e[28]=b,e[29]=f,e[30]=_,e[31]=y,e[32]=h;else n=e[27],b=e[28],f=e[29],_=e[30],y=e[31],h=e[32];let C,S,w,g,O;if(e[33]===Symbol.for("react.memo_cache_sentinel"))C=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),S=t(u,{children:" ░▓▓███▓▓░ "}),w=t(u,{dimColor:!0,children:" * ░░░░ "}),g=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),O=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),e[33]=C,e[34]=S,e[35]=w,e[36]=g,e[37]=O;else C=e[33],S=e[34],w=e[35],g=e[36],O=e[37];let c;if(e[38]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[" ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),e[38]=c;else c=e[38];let R;if(e[39]===Symbol.for("react.memo_cache_sentinel"))R=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),e[39]=R;else R=e[39];let k;if(e[40]===Symbol.for("react.memo_cache_sentinel"))k=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," * "]}),e[40]=k;else k=e[40];let p;if(e[41]===Symbol.for("react.memo_cache_sentinel"))p=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"………………………………………………………………………………………………………………"]}),e[41]=p;else p=e[41];let A;if(e[42]!==m)A=t(Y,{width:K,children:o(u,{children:[m,n,b,f,_,y,h,C,S,w,g,O,c,R,k,p]})}),e[42]=m,e[43]=A;else A=e[43];return A}
2
- export{c2 as W};
@@ -1,17 +0,0 @@
1
- import{K6 as x,Q6 as K}from"./cli-1.0.8-sqbaxhfc.mjs";import{Qca as w,_ca as J}from"./cli-1.0.8-ke76gxzw.mjs";import{Qga as v,aha as I}from"./cli-1.0.8-a5h5dhvb.mjs";import{bka as q,lka as G}from"./cli-1.0.8-swts6q29.mjs";import{xra as z}from"./cli-1.0.8-by017547.mjs";function W(b){return b.type==="advisor_tool_result"||b.type==="server_tool_use"&&b.name==="advisor"}function j(){return v("tengu_sage_compass",{})}function k(){if(q(process.env.CLAUDE_CODE_DISABLE_ADVISOR_TOOL))return!1;if(!x())return!1;return j().enabled??!1}function N(){return k()&&(j().canUserConfigure??!1)}function X(){let b=j();return k()&&!N()&&b.baseModel&&b.advisorModel?{baseModel:b.baseModel,advisorModel:b.advisorModel}:void 0}function Z(b){let h=b.toLowerCase();return h.includes("opus-4-8")||h.includes("opus-4-7")||h.includes("opus-4-6")||h.includes("sonnet-5")||h.includes("sonnet-4-6")}function $(b){let h=b.toLowerCase();return h.includes("opus-4-8")||h.includes("opus-4-7")||h.includes("opus-4-6")||h.includes("sonnet-5")||h.includes("sonnet-4-6")}function B(){if(!k())return;return w().advisorModel}function D(b){let h=b.iterations;if(!h)return[];return h.filter((y)=>y.type==="advisor_message")}var F=`# Advisor Tool
2
-
3
- You have access to an \`advisor\` tool backed by a stronger reviewer model. It takes NO parameters -- when you call it, your entire conversation history is automatically forwarded. The advisor sees the task, every tool call you've made, every result you've seen.
4
-
5
- Call advisor BEFORE substantive work -- before writing code, before committing to an interpretation, before building on an assumption. If the task requires orientation first (finding files, reading code, seeing what's there), do that, then call advisor. Orientation is not substantive work. Writing, editing, and declaring an answer are.
6
-
7
- Also call advisor:
8
- - When you believe the task is complete. BEFORE this call, make your deliverable durable: write the file, stage the change, save the result. The advisor call takes time; if the session ends during it, a durable result persists and an unwritten one doesn't.
9
- - When stuck -- errors recurring, approach not converging, results that don't fit.
10
- - When considering a change of approach.
11
-
12
- On tasks longer than a few steps, call advisor at least once before committing to an approach and once before declaring done. On short reactive tasks where the next action is dictated by tool output you just read, you don't need to keep calling -- the advisor adds most of its value on the first call, before the approach crystallizes.
13
-
14
- Give the advice serious weight. If you follow a step and it fails empirically, or you have primary-source evidence that contradicts a specific claim (the file says X, the code does Y), adapt. A passing self-test is not evidence the advice is wrong -- it's evidence your test doesn't check what the advice is checking.
15
-
16
- If you've already retrieved data pointing one way and the advisor points another: don't silently switch. Surface the conflict in one more advisor call -- "I found X, you suggest Y, which constraint breaks the tie?" The advisor saw your evidence but may have underweighted it; a reconcile call is cheaper than committing to the wrong branch.`;var O=z(()=>{I();K();G();J()});
17
- export{W as oU,k as pU,N as qU,X as rU,Z as sU,$ as tU,B as uU,D as vU,F as wU,O as xU};
@@ -1,2 +0,0 @@
1
- import{BL as M,DL as P,IL as m,JL as h,NL as c,hp as L,ip as D,jp as O,mp as _,np as S,oL as R,sL as b,vL as w}from"./cli-1.0.8-ykwgcdbt.mjs";import{Hba as T,Ifa as N,Lca as B,Nca as A,Qca as C,Qfa as j,_ca as E,zba as x}from"./cli-1.0.8-ke76gxzw.mjs";import{Aha as U,Bha as v}from"./cli-1.0.8-acrtv429.mjs";import{qja as G,tja as F}from"./cli-1.0.8-z96bbp08.mjs";import{xra as y}from"./cli-1.0.8-by017547.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 Xd,zq as Yd,Jq as Zd,Kq as _d,p as $d,Qq as ae,Vq as be,a as ce};
@@ -1,6 +0,0 @@
1
- import{wja as ZX,zja as y8}from"./cli-1.0.8-kzyrncv0.mjs";import{Rja as r,Xja as R8}from"./cli-1.0.8-0w29g9sk.mjs";import{_ja as $X,bka as NJ,lka as j8}from"./cli-1.0.8-swts6q29.mjs";import{$ka as hX,Aka as $Q,Bka as cX,Eka as JQ,Fka as pX,Gka as g,Hka as oJ,Ika as n,Jka as LQ,Mka as pQ,Nka as v6,Opa as sQ,Qka as l,Rka as wQ,Rla as XX,Ska as w,Tka as kQ,Wka as yJ,Xka as OX,Yka as h,Zka as vJ,_ka as tJ,ala as hJ,bla as wX,cla as y,dla as OJ,ela as gQ,fla as m6,ila as O,jla as GJ,mka as dQ,nka as P6,ska as qJ,tka as oX,wka as eJ,xka as fX,yka as fQ,zka as T6}from"./cli-1.0.8-c1m2f995.mjs";import{$pa as L,Ppa as SJ,Qpa as CX,Vpa as cJ,Wpa as TX,Xpa as HJ,Ypa as J6,aqa as XJ,fqa as LJ,gqa as zX,lqa as V,mqa as xJ}from"./cli-1.0.8-3cz8c904.mjs";import{Ara as W,wra as uJ,xra as U,zra as N}from"./cli-1.0.8-by017547.mjs";function zJ({writeFn:J,flushIntervalMs:Q=1000,maxBufferSize:X=100,maxBufferBytes:$=1/0,immediateMode:Y=!1}){let Z=[],q=0,H=null,G=null;function I(){if(H)clearTimeout(H),H=null}function B(){if(G)J(G.join("")),G=null;if(Z.length===0)return;J(Z.join("")),Z=[],q=0,I()}function M(){if(!H)H=setTimeout(B,Q)}function F(){if(G){G.push(...Z),Z=[],q=0,I();return}let x=Z;Z=[],q=0,I(),G=x,setImmediate(()=>{let v=G;if(G=null,v)J(v.join(""))})}return{write(x){if(Y){J(x);return}if(Z.push(x),q+=x.length,M(),Z.length>=X||q>=$)F()},flush:B,dispose(){B()}}}var BJ=()=>{};function IJ(J){return t.add(J),()=>t.delete(J)}async function r8(){await Promise.all(Array.from(t).map((J)=>J()))}var t;var CJ=U(()=>{t=new Set});function WX(J){let Q=[],X=J.match(/^MCP server ["']([^"']+)["']/);if(X&&X[1])Q.push("mcp"),Q.push(X[1].toLowerCase());else{let Z=J.match(/^([^:[]+):/);if(Z&&Z[1])Q.push(Z[1].trim().toLowerCase())}let $=J.match(/^\[([^\]]+)]/);if($&&$[1])Q.push($[1].trim().toLowerCase());if(J.toLowerCase().includes("1p event:"))Q.push("1p");let Y=J.match(/:\s*([^:]+?)(?:\s+(?:type|mode|status|event))?:/);if(Y&&Y[1]){let Z=Y[1].trim().toLowerCase();if(Z.length<30&&!Z.includes(" "))Q.push(Z)}return Array.from(new Set(Q))}function EX(J,Q){if(!Q)return!0;if(J.length===0)return!1;if(Q.isExclusive)return!J.some((X)=>Q.exclude.includes(X));else return J.some((X)=>Q.include.includes(X))}function VJ(J,Q){if(!Q)return!0;let X=WX(J);return EX(X,Q)}var FJ;var DJ=U(()=>{xJ();FJ=V((J)=>{if(!J||J.trim()==="")return null;let Q=J.split(",").map((Z)=>Z.trim()).filter(Boolean);if(Q.length===0)return null;let X=Q.some((Z)=>Z.startsWith("!")),$=Q.some((Z)=>!Z.startsWith("!"));if(X&&$)return null;let Y=Q.map((Z)=>Z.replace(/^!/,"").toLowerCase());return{include:X?[]:Y,exclude:X?Y:[],isExclusive:X}})});function MX(J,Q){var X=-1,$=J==null?0:J.length;while(++X<$)if(Q(J[X],X,J)===!1)break;return J}var RJ;var AJ=U(()=>{RJ=MX});var BX,e;var _J=U(()=>{zX();BX=function(){try{var J=LJ(Object,"defineProperty");return J({},"",{}),J}catch(Q){}}(),e=BX});function IX(J,Q,X){if(Q=="__proto__"&&e)e(J,Q,{configurable:!0,enumerable:!0,value:X,writable:!0});else J[Q]=X}var m;var JJ=U(()=>{_J();m=IX});function VX(J,Q,X){var $=J[Q];if(!(FX.call(J,Q)&&SJ($,X))||X===void 0&&!(Q in J))m(J,Q,X)}var xX,FX,j;var QJ=U(()=>{JJ();CX();xX=Object.prototype,FX=xX.hasOwnProperty;j=VX});function DX(J,Q,X,$){var Y=!X;X||(X={});var Z=-1,q=Q.length;while(++Z<q){var H=Q[Z],G=$?$(X[H],J[H],H,X,J):void 0;if(G===void 0)G=J[H];if(Y)m(X,H,G);else j(X,H,G)}return X}var R;var k=U(()=>{QJ();JJ();R=DX});function RX(J,Q){return J&&R(Q,y(Q),J)}var wJ;var kJ=U(()=>{k();OJ();wJ=RX});function AX(J){var Q=[];if(J!=null)for(var X in Object(J))Q.push(X);return Q}var PJ;var TJ=U(()=>{PJ=AX});function SX(J){if(!L(J))return PJ(J);var Q=h(J),X=[];for(var $ in J)if(!($=="constructor"&&(Q||!_X.call(J,$))))X.push($);return X}var LX,_X,mJ;var jJ=U(()=>{XJ();vJ();TJ();LX=Object.prototype,_X=LX.hasOwnProperty;mJ=SX});function kX(J){return hJ(J)?yJ(J,!0):mJ(J)}var _;var d=U(()=>{OX();jJ();wX();_=kX});function PX(J,Q){return J&&R(Q,_(Q),J)}var dJ;var fJ=U(()=>{k();d();dJ=PX});var p={};uJ(p,{default:()=>$J});function mX(J,Q){if(Q)return J.slice();var X=J.length,$=bJ?bJ(X):new J.constructor(X);return J.copy($),$}var nJ,pJ,vX,gJ,bJ,$J;var lJ=U(()=>{TX();nJ=typeof p=="object"&&p&&!p.nodeType&&p,pJ=nJ&&typeof f=="object"&&f&&!f.nodeType&&f,vX=pJ&&pJ.exports===nJ,gJ=vX?cJ.Buffer:void 0,bJ=gJ?gJ.allocUnsafe:void 0;$J=mX});function jX(J,Q){var X=-1,$=J.length;Q||(Q=Array($));while(++X<$)Q[X]=J[X];return Q}var iJ;var rJ=U(()=>{iJ=jX});function yX(J,Q){return R(J,g(J),Q)}var sJ;var aJ=U(()=>{k();oJ();sJ=yX});var dX,b;var ZJ=U(()=>{hX();dX=tJ(Object.getPrototypeOf,Object),b=dX});var gX,bX,u;var YJ=U(()=>{fX();ZJ();oJ();pX();gX=Object.getOwnPropertySymbols,bX=!gX?JQ:function(J){var Q=[];while(J)eJ(Q,g(J)),J=b(J);return Q},u=bX});function uX(J,Q){return R(J,u(J),Q)}var QQ;var XQ=U(()=>{k();YJ();QQ=uX});function nX(J){return $Q(J,_,u)}var ZQ;var YQ=U(()=>{cX();YJ();d();ZQ=nX});function rX(J){var Q=J.length,X=new J.constructor(Q);if(Q&&typeof J[0]=="string"&&iX.call(J,"index"))X.index=J.index,X.input=J.input;return X}var lX,iX,qQ;var HQ=U(()=>{lX=Object.prototype,iX=lX.hasOwnProperty;qQ=rX});function sX(J){var Q=new J.constructor(J.byteLength);return new qJ(Q).set(new qJ(J)),Q}var S;var c=U(()=>{oX();S=sX});function aX(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.byteLength)}var GQ;var KQ=U(()=>{c();GQ=aX});function eX(J){var Q=new J.constructor(J.source,tX.exec(J));return Q.lastIndex=J.lastIndex,Q}var tX,UQ;var NQ=U(()=>{tX=/\w*$/;UQ=eX});function Q6(J){return EQ?Object(EQ.call(J)):{}}var WQ,EQ,MQ;var zQ=U(()=>{J6();WQ=HJ?HJ.prototype:void 0,EQ=WQ?WQ.valueOf:void 0;MQ=Q6});function X6(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.length)}var BQ;var IQ=U(()=>{c();BQ=X6});function D6(J,Q,X){var $=J.constructor;switch(Q){case N6:return S(J);case $6:case Z6:return new $(+J);case W6:return GQ(J,X);case E6:case M6:case z6:case B6:case I6:case C6:case x6:case F6:case V6:return BQ(J,X);case Y6:return new $;case q6:case K6:return new $(J);case H6:return UQ(J);case G6:return new $;case U6:return MQ(J)}}var $6="[object Boolean]",Z6="[object Date]",Y6="[object Map]",q6="[object Number]",H6="[object RegExp]",G6="[object Set]",K6="[object String]",U6="[object Symbol]",N6="[object ArrayBuffer]",W6="[object DataView]",E6="[object Float32Array]",M6="[object Float64Array]",z6="[object Int8Array]",B6="[object Int16Array]",I6="[object Int32Array]",C6="[object Uint8Array]",x6="[object Uint8ClampedArray]",F6="[object Uint16Array]",V6="[object Uint32Array]",CQ;var xQ=U(()=>{c();KQ();NQ();zQ();IQ();CQ=D6});var FQ,R6,VQ;var DQ=U(()=>{XJ();FQ=Object.create,R6=function(){function J(){}return function(Q){if(!L(Q))return{};if(FQ)return FQ(Q);J.prototype=Q;var X=new J;return J.prototype=void 0,X}}(),VQ=R6});function A6(J){return typeof J.constructor=="function"&&!h(J)?VQ(b(J)):{}}var RQ;var AQ=U(()=>{DQ();ZJ();vJ();RQ=A6});function _6(J){return n(J)&&O(J)==L6}var L6="[object Map]",_Q;var SQ=U(()=>{GJ();LQ();_Q=_6});var OQ,S6,PQ;var TQ=U(()=>{SQ();wQ();kQ();OQ=w&&w.isMap,S6=OQ?l(OQ):_Q,PQ=S6});function w6(J){return n(J)&&O(J)==O6}var O6="[object Set]",vQ;var mQ=U(()=>{GJ();LQ();vQ=w6});var jQ,k6,yQ;var hQ=U(()=>{mQ();wQ();kQ();jQ=w&&w.isSet,k6=jQ?l(jQ):vQ,yQ=k6});function i(J,Q,X,$,Y,Z){var q,H=Q&j6,G=Q&y6,I=Q&h6;if(X)q=Y?X(J,$,Y,Z):X(J);if(q!==void 0)return q;if(!L(J))return J;var B=fQ(J);if(B){if(q=qQ(J),!H)return iJ(J,q)}else{var M=O(J),F=M==uQ||M==b6;if(pQ(J))return $J(J,H);if(M==cQ||M==bQ||F&&!Y){if(q=G||F?{}:RQ(J),!H)return G?QQ(J,dJ(q,J)):sJ(J,wJ(q,J))}else{if(!z[M])return Y?J:{};q=CQ(J,M,H)}}Z||(Z=new dQ);var x=Z.get(J);if(x)return x;if(Z.set(J,q),yQ(J))J.forEach(function(D){q.add(i(D,Q,X,D,J,Z))});else if(PQ(J))J.forEach(function(D,A){q.set(A,i(D,Q,X,A,J,Z))});var v=I?G?ZQ:gQ:G?_:y,MJ=B?void 0:v(J);return RJ(MJ||J,function(D,A){if(MJ)A=D,D=J[A];j(q,A,i(D,Q,X,A,J,Z))}),q}var j6=1,y6=2,h6=4,bQ="[object Arguments]",d6="[object Array]",f6="[object Boolean]",p6="[object Date]",g6="[object Error]",uQ="[object Function]",b6="[object GeneratorFunction]",u6="[object Map]",c6="[object Number]",cQ="[object Object]",n6="[object RegExp]",l6="[object Set]",i6="[object String]",r6="[object Symbol]",o6="[object WeakMap]",s6="[object ArrayBuffer]",a6="[object DataView]",t6="[object Float32Array]",e6="[object Float64Array]",J8="[object Int8Array]",Q8="[object Int16Array]",X8="[object Int32Array]",$8="[object Uint8Array]",Z8="[object Uint8ClampedArray]",Y8="[object Uint16Array]",q8="[object Uint32Array]",z,nQ;var lQ=U(()=>{P6();AJ();QJ();kJ();fJ();lJ();rJ();aJ();XQ();m6();YQ();GJ();HQ();xQ();AQ();T6();v6();TQ();XJ();hQ();OJ();d();z={};z[bQ]=z[d6]=z[s6]=z[a6]=z[f6]=z[p6]=z[t6]=z[e6]=z[J8]=z[Q8]=z[X8]=z[u6]=z[c6]=z[cQ]=z[n6]=z[l6]=z[i6]=z[r6]=z[$8]=z[Z8]=z[Y8]=z[q8]=!0;z[g6]=z[uQ]=z[o6]=!1;nQ=i});function K8(J){return nQ(J,H8|G8)}var H8=1,G8=4,iQ;var rQ=U(()=>{lQ();iQ=K8});var V8={};uJ(V8,{writeFileSync_DEPRECATED:()=>F8,slowLogging:()=>E,jsonStringify:()=>KJ,jsonParse:()=>I8,cloneDeep:()=>x8,clone:()=>C8,callerFrame:()=>M8,SLOW_OPERATION_THRESHOLD_MS:()=>E8});import{closeSync as U8,writeFileSync as oQ,fsyncSync as N8,openSync as W8}from"fs";function M8(J){if(!J)return"";for(let Q of J.split(`
2
- `)){if(Q.includes("slowOperations"))continue;let X=Q.match(/([^/\\]+?):(\d+):\d+\)?$/);if(X)return` @ ${X[1]}:${X[2]}`}return""}function B8(){return z8}function KJ(J,Q,X){let Y=[];try{const $=N(Y,E`JSON.stringify(${J})`,0);return JSON.stringify(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}}function C8(J,Q){let $=[];try{const X=N($,E`structuredClone(${J})`,0);return structuredClone(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}}function x8(J){let X=[];try{const Q=N(X,E`cloneDeep(${J})`,0);return iQ(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}}function F8(J,Q,X){let Z=[];try{const $=N(Z,E`fs.writeFileSync(${J}, ${Q})`,0);let Y=X!==null&&typeof X==="object"&&"flush"in X&&X.flush===!0;if(Y){let I=typeof X==="object"&&"encoding"in X?X.encoding:void 0,B=typeof X==="object"&&"mode"in X?X.mode:void 0,M;try{M=W8(J,"w",B),oQ(M,Q,{encoding:I??void 0}),N8(M)}finally{if(M!==void 0)U8(M)}}else oQ(J,Q,X)}catch(q){var H=q,G=1}finally{W(Z,H,G)}}var E8,z8,E,I8=(J,Q)=>{let $=[];try{const X=N($,E`JSON.parse(${J})`,0);return typeof Q>"u"?JSON.parse(J):JSON.parse(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}};var UJ=U(()=>{rQ();sQ();aQ();E8=(()=>{let J=process.env.CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MS;if(J!==void 0){let Q=Number(J);if(!Number.isNaN(Q)&&Q>=0)return Q}return 1/0})();z8={[Symbol.dispose](){}};E=B8});import*as K from"fs";import{mkdir as A8,open as o,readdir as L8,readFile as tQ,copyFile as _8,rename as S8,rmdir as O8,rm as w8,stat as k8,unlink as P8}from"fs/promises";import{homedir as eQ}from"os";import*as C from"path";function JX(J,Q){if(Q.startsWith("//")||Q.startsWith("\\\\"))return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};try{let X=J.lstatSync(Q);if(X.isFIFO()||X.isSocket()||X.isCharacterDevice()||X.isBlockDevice())return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};let $=J.realpathSync(Q);return{resolvedPath:$,isSymlink:$!==Q,isCanonical:!0}}catch(X){return{resolvedPath:Q,isSymlink:!1,isCanonical:!1}}}function H1(J,Q,X){let{resolvedPath:$}=JX(J,Q);if(X.has($))return!0;return X.add($),!1}function T8(J,Q){let X=Q,$=[];while(X!==C.dirname(X)){let Y;try{Y=J.lstatSync(X)}catch{$.unshift(C.basename(X)),X=C.dirname(X);continue}if(Y.isSymbolicLink())try{let Z=J.realpathSync(X);return $.length===0?Z:C.join(Z,...$)}catch{let Z=J.readlinkSync(X),q=C.isAbsolute(Z)?Z:C.resolve(C.dirname(X),Z);return $.length===0?q:C.join(q,...$)}try{let Z=J.realpathSync(X);if(Z!==X)return $.length===0?Z:C.join(Z,...$)}catch{}return}return}function G1(J){let Q=J;if(Q==="~")Q=eQ().normalize("NFC");else if(Q.startsWith("~/"))Q=C.join(eQ().normalize("NFC"),Q.slice(2));let X=new Set,$=s();if(X.add(Q),Q.startsWith("//")||Q.startsWith("\\\\"))return Array.from(X);try{let q=Q,H=new Set,G=40;for(let I=0;I<G;I++){if(H.has(q))break;if(H.add(q),!$.existsSync(q)){if(q===Q){let x=T8($,Q);if(x!==void 0)X.add(x)}break}let B=$.lstatSync(q);if(B.isFIFO()||B.isSocket()||B.isCharacterDevice()||B.isBlockDevice())break;if(!B.isSymbolicLink())break;let M=$.readlinkSync(q),F=C.isAbsolute(M)?M:C.resolve(C.dirname(q),M);X.add(F),q=F}}catch{}let{resolvedPath:Y,isSymlink:Z}=JX($,Q);if(Z&&Y!==Q)X.add(Y);return Array.from(X)}function s(){return m8}async function K1(J,Q,X){let G=[];try{const $=N(G,await o(J,"r"),1);let Y=(await $.stat()).size;if(Y<=Q)return null;let Z=Math.min(Y-Q,X);let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await $.read(q,H,Z-H,Q+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:Y}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function U1(J,Q){let G=[];try{const X=N(G,await o(J,"r"),1);let $=(await X.stat()).size;if($===0)return{content:"",bytesRead:0,bytesTotal:0};let Y=Math.max(0,$-Q);let Z=$-Y;let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await X.read(q,H,Z-H,Y+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:$}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function*N1(J){let X=await o(J,"r");try{let Y=(await X.stat()).size,Z=Buffer.alloc(0),q=Buffer.alloc(4096);while(Y>0){let H=Math.min(4096,Y);Y-=H,await X.read(q,0,H,Y);let G=Buffer.concat([q.subarray(0,H),Z]),I=G.indexOf(10);if(I===-1){Z=G;continue}Z=Buffer.from(G.subarray(0,I));let B=G.toString("utf8",I+1).split(`
3
- `);for(let M=B.length-1;M>=0;M--){let F=B[M];if(F)yield F}}if(Z.length>0)yield Z.toString("utf8")}finally{await X.close()}}var v8,m8;var QX=U(()=>{R8();UJ();v8={cwd(){return process.cwd()},existsSync(J){let X=[];try{const Q=N(X,E`fs.existsSync(${J})`,0);return K.existsSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},async stat(J){return k8(J)},async readdir(J){return L8(J,{withFileTypes:!0})},async unlink(J){return P8(J)},async rmdir(J){return O8(J)},async rm(J,Q){return w8(J,Q)},async mkdir(J,Q){try{await A8(J,{recursive:!0,...Q})}catch(X){if(r(X)!=="EEXIST")throw X}},async readFile(J,Q){return tQ(J,{encoding:Q.encoding})},async rename(J,Q){return S8(J,Q)},async copyFile(J,Q){let $=[];try{const X=N($,E`fs.copyFile(${J} → ${Q})`,0);return _8(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},statSync(J){let X=[];try{const Q=N(X,E`fs.statSync(${J})`,0);return K.statSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},lstatSync(J){let X=[];try{const Q=N(X,E`fs.lstatSync(${J})`,0);return K.lstatSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readFileSync(J,Q){let $=[];try{const X=N($,E`fs.readFileSync(${J})`,0);return K.readFileSync(J,{encoding:Q.encoding})}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},readFileBytesSync(J){let X=[];try{const Q=N(X,E`fs.readFileBytesSync(${J})`,0);return K.readFileSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readSync(J,Q){let Y=[];try{const X=N(Y,E`fs.readSync(${J}, ${Q.length} bytes)`,0);let $=void 0;try{$=K.openSync(J,"r");let G=Buffer.alloc(Q.length),I=K.readSync($,G,0,Q.length,0);return{buffer:G,bytesRead:I}}finally{if($)K.closeSync($)}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},appendFileSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.appendFileSync(${J}, ${Q.length} chars)`,0);if(X?.mode!==void 0)try{let G=K.openSync(J,"ax",X.mode);try{K.appendFileSync(G,Q)}finally{K.closeSync(G)}return}catch(G){if(r(G)!=="EEXIST")throw G}K.appendFileSync(J,Q)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},copyFileSync(J,Q){let $=[];try{const X=N($,E`fs.copyFileSync(${J} → ${Q})`,0);K.copyFileSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},unlinkSync(J){let X=[];try{const Q=N(X,E`fs.unlinkSync(${J})`,0);K.unlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},renameSync(J,Q){let $=[];try{const X=N($,E`fs.renameSync(${J} → ${Q})`,0);K.renameSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},linkSync(J,Q){let $=[];try{const X=N($,E`fs.linkSync(${J} → ${Q})`,0);K.linkSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},symlinkSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.symlinkSync(${J} → ${Q})`,0);K.symlinkSync(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readlinkSync(J){let X=[];try{const Q=N(X,E`fs.readlinkSync(${J})`,0);return K.readlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},realpathSync(J){let X=[];try{const Q=N(X,E`fs.realpathSync(${J})`,0);return K.realpathSync(J).normalize("NFC")}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},mkdirSync(J,Q){let Y=[];try{const X=N(Y,E`fs.mkdirSync(${J})`,0);let $={recursive:!0};if(Q?.mode!==void 0)$.mode=Q.mode;try{K.mkdirSync(J,$)}catch(G){if(r(G)!=="EEXIST")throw G}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readdirSync(J){let X=[];try{const Q=N(X,E`fs.readdirSync(${J})`,0);return K.readdirSync(J,{withFileTypes:!0})}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readdirStringSync(J){let X=[];try{const Q=N(X,E`fs.readdirStringSync(${J})`,0);return K.readdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},isDirEmptySync(J){let $=[];try{const Q=N($,E`fs.isDirEmptySync(${J})`,0);let X=this.readdirSync(J);return X.length===0}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},rmdirSync(J){let X=[];try{const Q=N(X,E`fs.rmdirSync(${J})`,0);K.rmdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},rmSync(J,Q){let $=[];try{const X=N($,E`fs.rmSync(${J})`,0);K.rmSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},createWriteStream(J){return K.createWriteStream(J)},async readFileBytes(J,Q){if(Q===void 0)return tQ(J);let X=await o(J,"r");try{let{size:$}=await X.stat(),Y=Math.min($,Q),Z=Buffer.allocUnsafe(Y),q=0;while(q<Y){let{bytesRead:H}=await X.read(Z,q,Y-q,q);if(H===0)break;q+=H}return q<Y?Z.subarray(0,q):Z}finally{await X.close()}}},m8=v8});import{appendFile as h8,mkdir as d8,symlink as f8,unlink as p8}from"fs/promises";import{dirname as YX,join as qX}from"path";function L1(){let J=T();return HX=!0,T.cache.clear?.(),J}function u8(J){if(!T())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let Q=b8();return VJ(J,Q)}function _1(J){EJ=J}function S1(){return EJ}async function c8(J,Q,X,$){if(J)await d8(Q,{recursive:!0}).catch(()=>{});await h8(X,$),NX()}function n8(){}function l8(){if(!P){let J=null;P=zJ({writeFn:(Q)=>{let X=UX(),$=YX(X),Y=J!==$;if(J=$,T()){if(Y)try{s().mkdirSync($)}catch{}s().appendFileSync(X,Q),NX();return}a=a.then(c8.bind(null,Y,$,X,Q)).catch(n8)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:T()}),IJ(async()=>{P?.dispose(),await a})}return P}async function O1(){P?.flush(),await a}function D8(J,{level:Q}={level:"debug"}){if(WJ[Q]<WJ[g8()])return;if(!u8(J))return;if(EJ&&J.includes(`
4
- `))J=KJ(J);let $=`${new Date().toISOString()} [${Q.toUpperCase()}] ${J.trim()}
5
- `;if(GX()){ZX($);return}l8().write($)}function UX(){return KX()??process.env.CLAUDE_CODE_DEBUG_LOGS_DIR??qX($X(),"debug",`${XX()}.txt`)}function w1(J,Q){}var WJ,g8,HX=!1,T,b8,GX,KX,EJ=!1,P=null,a,NX;var aQ=U(()=>{xJ();sQ();BJ();CJ();DJ();j8();QX();y8();UJ();WJ={verbose:0,debug:1,info:2,warn:3,error:4},g8=V(()=>{let J=process.env.CLAUDE_CODE_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(J&&Object.hasOwn(WJ,J))return J;return"debug"}),T=V(()=>{return HX||NJ(process.env.DEBUG)||NJ(process.env.DEBUG_SDK)||process.argv.includes("--debug")||process.argv.includes("-d")||GX()||process.argv.some((J)=>J.startsWith("--debug="))||KX()!==null});b8=V(()=>{let J=process.argv.find((X)=>X.startsWith("--debug="));if(!J)return null;let Q=J.substring(8);return FJ(Q)}),GX=V(()=>{return process.argv.includes("--debug-to-stderr")||process.argv.includes("-D")}),KX=V(()=>{for(let J=0;J<process.argv.length;J++){let Q=process.argv[J];if(Q.startsWith("--debug-file="))return Q.substring(13);if(Q==="--debug-file"&&J+1<process.argv.length)return process.argv[J+1]}return null});a=Promise.resolve();NX=V(async()=>{try{let J=UX(),Q=YX(J),X=qX(Q,"latest");await p8(X).catch(()=>{}),await f8(J,X)}catch{}})});
6
- export{zJ as ria,BJ as sia,IJ as tia,r8 as uia,CJ as via,e as wia,_J as xia,m as yia,JJ as zia,j as Aia,QJ as Bia,R as Cia,k as Dia,_ as Eia,d as Fia,$J as Gia,lJ as Hia,iJ as Iia,rJ as Jia,b as Kia,ZJ as Lia,ZQ as Mia,YQ as Nia,BQ as Oia,IQ as Pia,RQ as Qia,AQ as Ria,nQ as Sia,lQ as Tia,E as Uia,KJ as Via,I8 as Wia,C8 as Xia,F8 as Yia,V8 as Zia,UJ as _ia,JX as $ia,H1 as aja,G1 as bja,s as cja,K1 as dja,U1 as eja,N1 as fja,QX as gja,g8 as hja,T as ija,L1 as jja,b8 as kja,GX as lja,KX as mja,_1 as nja,S1 as oja,O1 as pja,D8 as qja,UX as rja,w1 as sja,aQ as tja};
@@ -1,2 +0,0 @@
1
- import{Gi as R,Ii as y,Ji as v}from"./cli-1.0.8-75t3aews.mjs";import{H0 as E,HY as c,c0 as K}from"./cli-1.0.8-qss5sph3.mjs";import{n3 as O,o3 as N,p3 as M,q3 as U}from"./cli-1.0.8-qzqze1a1.mjs";import{r3 as G}from"./cli-1.0.8-rna8rhza.mjs";import{Rda as L,kea as b}from"./cli-1.0.8-ke76gxzw.mjs";import{$fa as Z,lga as W}from"./cli-1.0.8-s5kcxz2r.mjs";import{qia as p}from"./cli-1.0.8-gmf61bcb.mjs";import{tra as F,xra as j}from"./cli-1.0.8-by017547.mjs";function f(){let q=R();if(!q||!q.available||q.granted)return!1;return y(q)!==null}function r(){if(!f())return!1;let q=L();if(q.hasVisitedExtraUsage)return!1;if((q.overageCreditUpsellSeenCount??0)>=T)return!1;return!0}function C(q){return`${q} in extra usage for third-party apps · /extra-usage`}function w(q){return`${q} in extra usage`}function n(q){let k=S.c(8),{maxWidth:z,twoLine:P}=q,Q,H;if(k[0]!==z||k[1]!==P){H=Symbol.for("react.early_return_sentinel");k:{let A=R();if(!A){H=null;break k}let V=y(A);if(!V){H=null;break k}if(P){let I=w(V),J;if(k[4]!==z)J=z?Z(_,z):_,k[4]=z,k[5]=J;else J=k[5];let Y;if(k[6]!==J)Y=N(K,{dimColor:!0,children:J}),k[6]=J,k[7]=Y;else Y=k[7];H=M(O,{children:[N(K,{color:"claude",children:z?Z(I,z):I}),Y]});break k}let B=C(V),X=z?Z(B,z):B,D=Math.min(w(V).length,X.length);Q=M(K,{dimColor:!0,children:[N(K,{color:"claude",children:X.slice(0,D)}),X.slice(D)]})}k[0]=z,k[1]=P,k[2]=Q,k[3]=H}else Q=k[2],H=k[3];if(H!==Symbol.for("react.early_return_sentinel"))return H;return Q}var S,$,T=3,_="On us. Works on third-party apps · /extra-usage";var l=j(()=>{E();p();v();b();W();U();S=F(c(),1),$=F(G(),1)});
2
- export{f as Lg,r as Mg,n as Ng,l as Og};
@@ -1,18 +0,0 @@
1
- import{$qa as r$,ara as N6,bra as XQ,cra as M1,dra as KQ}from"./cli-1.0.8-592dqckn.mjs";import{tra as n4,vra as J4,wra as Z8,xra as T,yra as K4}from"./cli-1.0.8-by017547.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 Iqa,z2 as Jqa,N2 as Kqa,M2 as Lqa,B2 as Mqa,V2 as Nqa,I2 as Oqa,F2 as Pqa,U2 as Qqa,L2 as Rqa,w2 as Sqa,S2 as Tqa,D2 as Uqa,_2 as Vqa,T2 as Wqa,R2 as Xqa,q2 as Yqa,P2 as Zqa,sQ as _qa};
@@ -1,2 +0,0 @@
1
- import{xra as M}from"./cli-1.0.8-by017547.mjs";function P(j){return j.message?.role??j.role}function G(j){return j.message?j.message.content:j.content}function K(j){if(!j||typeof j!=="object")return!1;if(j.type==="image")return!0;if(j.type==="tool_result"&&Array.isArray(j.content))return j.content.some((q)=>K(q));return!1}function Q(j){if(!Array.isArray(j))return!1;return j.some((q)=>K(q))}function U(j){if(!Array.isArray(j)||j.length===0)return!1;return j.every((q)=>{let w=q;return w&&typeof w==="object"&&w.type==="tool_result"})}function V(j){let q=j[j.length-1];if(!q||typeof q!=="object")return"user";if(P(q)!=="user")return"agent";if(U(G(q)))return"agent";return"user"}function W(j){return j.some((q)=>Q(G(q)))}function X(j){let q={"x-initiator":V(j)};if(W(j))q["Copilot-Vision-Request"]="true";return q}function Z(j,q={}){return(w,B)=>{let E=new Headers(B?.headers);for(let[z,F]of Object.entries(q))if(!E.has(z))E.set(z,F);try{if(typeof B?.body==="string"){let z=JSON.parse(B.body);if(Array.isArray(z?.messages))for(let[F,L]of Object.entries(X(z.messages)))E.set(F,L)}}catch{}return j(w,{...B,headers:E})}}var Y=()=>{};
2
- export{V as ui,W as vi,X as wi,Z as xi,Y as yi};
@@ -1,15 +0,0 @@
1
- import{B1 as r,E1 as OJ}from"./cli-1.0.8-74y9exyb.mjs";import{Baa as _J,Ifa as q,Oda as N,Q9 as W,Qca as o,Qfa as f,R9 as D,_ca as MJ,kea as P,zaa as v}from"./cli-1.0.8-ke76gxzw.mjs";import{nia as A,qia as GJ}from"./cli-1.0.8-gmf61bcb.mjs";import{Via as k,Wia as L,_ia as F,cja as O,gja as I,qja as K,tja as BJ}from"./cli-1.0.8-z96bbp08.mjs";import{Aja as i,Rja as M,Sja as _,Vja as p,Xja as x}from"./cli-1.0.8-0w29g9sk.mjs";import{_ja as B,lka as b}from"./cli-1.0.8-swts6q29.mjs";import{xra as w}from"./cli-1.0.8-by017547.mjs";import{access as E,chmod as ZJ,writeFile as $J}from"fs/promises";import{homedir as m}from"os";import{join as y}from"path";function U(){return y(B(),"local")}function qJ(J=m()){return y(J,".claude","local")}function d(J){let Q=J?.homeDir??m(),Y=J?.configHomeDir??B();return Array.from(new Set([y(Y,"local"),qJ(Q)]))}function u(J){return[y(J,"node_modules",".bin","claudin"),y(J,"node_modules",".bin","claude")]}function KJ(J){let Q=J.replace(/\\+/g,"/");return Q.includes("/.claudin/local/node_modules/")||Q.includes("/.claude/local/node_modules/")}function V(){return y(U(),"claudin")}function uJ(){return KJ(process.argv[1]||"")}async function C(J,Q,Y){try{return await $J(J,Q,{encoding:"utf8",flag:"wx",mode:Y}),!0}catch(Z){if(M(Z)==="EEXIST")return!1;throw Z}}async function WJ(){try{let J=U();await O().mkdir(J),await C(y(J,"package.json"),k({name:"claudin-local",version:"0.0.1",private:!0},null,2));let Q=V();if(await C(Q,`#!/bin/sh
2
- exec "${J}/node_modules/.bin/claudin" "$@"`,493))await ZJ(Q,493);return!0}catch(J){return q(J),!1}}async function hJ(J,Q){try{if(!await WJ())return"install_failed";let Z=await W("npm",["install",`@claudiolabs/claudin@${Q?Q:J==="stable"?"stable":"latest"}`],{cwd:U(),maxBuffer:1e6});if(Z.code!==0){let $=Error(`Failed to install Claude CLI package: ${Z.stderr}`);return q($),Z.code===190?"in_progress":"install_failed"}return N(($)=>({...$,installMethod:"local"})),"success"}catch(Y){return q(Y),"install_failed"}}async function pJ(){for(let J of d())for(let Q of u(J))try{return await E(Q),!0}catch{}return!1}async function cJ(){for(let J of d())for(let Q of u(J))try{return await E(Q),J}catch{}return null}function gJ(){let J=process.env.SHELL||"";if(J.includes("zsh"))return"zsh";if(J.includes("bash"))return"bash";if(J.includes("fish"))return"fish";return"unknown"}var h=w(()=>{P();b();x();D();I();f();F()});import{open as XJ,readFile as zJ,stat as HJ}from"fs/promises";import{homedir as c}from"os";import{join as T}from"path";function S(J){let Q=J?.homedir??c(),Z=(J?.env??process.env).ZDOTDIR||Q;return{zsh:T(Z,".zshrc"),bash:T(Q,".bashrc"),fish:T(Q,".config/fish/config.fish")}}function n(J){let Q=!1;return{filtered:J.filter((Z)=>{if(g.test(Z)){let $=Z.match(/alias\s+claude\s*=\s*["']([^"']+)["']/);if(!$)$=Z.match(/alias\s+claude\s*=\s*([^#\n]+)/);if($&&$[1]){if($[1].trim()===V())return Q=!0,!1}}return!0}),hadAlias:Q}}async function j(J){try{return(await zJ(J,{encoding:"utf8"})).split(`
3
- `)}catch(Q){if(p(Q))return null;throw Q}}async function s(J,Q){let Y=await XJ(J,"w");try{await Y.writeFile(Q.join(`
4
- `),{encoding:"utf8"}),await Y.datasync()}finally{await Y.close()}}async function yJ(J){let Q=S(J);for(let Y of Object.values(Q)){let Z=await j(Y);if(!Z)continue;for(let $ of Z)if(g.test($)){let z=$.match(/alias\s+claude=["']?([^"'\s]+)/);if(z&&z[1])return z[1]}}return null}async function oJ(J){let Q=await yJ(J);if(!Q)return null;let Y=J?.homedir??c(),Z=Q.startsWith("~")?Q.replace("~",Y):Q;try{let $=await HJ(Z);if($.isFile()||$.isSymbolicLink())return Q}catch{}return null}var g;var a=w(()=>{x();h();g=/^\s*alias\s+claude\s*=/});import{constants as e}from"fs";import{access as JJ,stat as vJ,writeFile as t}from"fs/promises";import{homedir as X}from"os";import{join as R}from"path";function QJ(){let J=process.argv[1]||"";if(J.includes("/.bun/install/global/"))return!0;let Q=process.env.BUN_INSTALL;if(Q&&J.startsWith(Q))return!0;return!1}async function RJ(){let J=await W("bun",["pm","ls","-g"],{cwd:X()});if(J.code!==0)return!1;return J.stdout.includes("@claudiolabs/claudin")}function xJ(){let J=process.env.BUN_INSTALL||R(X(),".bun");return R(J,"install","global","node_modules","@claudiolabs/claudin")}async function UJ(J,Q){let Y=await W("node",[J],{cwd:Q});if(Y.code===0)return!0;if(!wJ.test(Y.error??""))return q(new G(`Skipped postinstall failed under node: ${Y.stdout} ${Y.stderr}`)),!1;let Z=await W("bun",[J],{cwd:Q});if(Z.code===0)return!0;return q(new G(`Skipped postinstall failed under bun: ${Z.stdout} ${Z.stderr}`)),!1}async function VJ(){let J=xJ(),Q=R(J,"install.cjs"),Y=R(J,"bin","claudin.exe");try{await JJ(Q,e.F_OK)}catch(Z){if(!_(Z))q(Z);return!1}try{if((await vJ(Y)).size>NJ)return!1}catch(Z){if(!_(Z))return q(Z),!1}if(!await UJ(Q,J))return!1;return K("update: repaired Bun global launcher via install.cjs"),!0}async function OQ(){}async function vQ(){return}async function RQ(){return}function NQ(J){let Y=o()?.minimumVersion;if(!Y)return!1;let Z=!r(J,Y);if(Z)K(`Skipping update to ${J} - below minimumVersion ${Y}`);return Z}function YJ(){return R(B(),".update.lock")}async function TJ(){let J=O(),Q=YJ();try{let Y=await J.stat(Q);if(Date.now()-Y.mtimeMs<l)return!1;try{let $=await J.stat(Q);if(Date.now()-$.mtimeMs<l)return!1;await J.unlink(Q)}catch($){if(!_($))return q($),!1}}catch(Y){if(!_(Y))return q(Y),!1}try{return await t(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch(Y){let Z=M(Y);if(Z==="EEXIST")return!1;if(Z==="ENOENT")try{return await J.mkdir(B()),await t(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch($){if(M($)==="EEXIST")return!1;return q($),!1}return q(Y),!1}}async function SJ(){let J=O(),Q=YJ();try{if(await J.readFile(Q,{encoding:"utf8"})===`${process.pid}`)await J.unlink(Q)}catch(Y){if(_(Y))return;q(Y)}}async function jJ(){let J=v.isRunningWithBun()||QJ(),Q=null;if(J)Q=await W("bun",["pm","bin","-g"],{cwd:X()});else Q=await W("npm",["-g","config","get","prefix"],{cwd:X()});if(Q.code!==0)return q(Error(`Failed to check ${J?"bun":"npm"} permissions`)),null;return Q.stdout.trim()}async function AJ(){try{let J=await jJ();if(!J)return{hasPermissions:!1,npmPrefix:null};try{return await JJ(J,e.W_OK),{hasPermissions:!0,npmPrefix:J}}catch{return q(new G("Insufficient permissions for global npm install.")),{hasPermissions:!1,npmPrefix:J}}}catch(J){return q(J),{hasPermissions:!1,npmPrefix:null}}}async function wQ(J,Q={}){let Y=J==="stable"?"stable":"latest",Z=Q.timeoutMs??5000,$=await W("npm",["view",`@claudiolabs/claudin@${Y}`,"version","--prefer-online"],{abortSignal:AbortSignal.timeout(Z),cwd:X()});if($.code!==0){if(K(`npm view failed with code ${$.code}`),$.stderr)K(`npm stderr: ${$.stderr.trim()}`);else K("npm stderr: (empty)");if($.stdout)K(`npm stdout: ${$.stdout.trim()}`);return null}return $.stdout.trim()}async function xQ(){let J=await W("npm",["view","@claudiolabs/claudin","dist-tags","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(5000),cwd:X()});if(J.code!==0)return K(`npm view dist-tags failed with code ${J.code}`),{latest:null,stable:null};try{let Q=L(J.stdout.trim());return{latest:typeof Q.latest==="string"?Q.latest:null,stable:typeof Q.stable==="string"?Q.stable:null}}catch(Q){return K(`Failed to parse dist-tags: ${Q}`),{latest:null,stable:null}}}async function UQ(J){return null}async function VQ(){return{latest:null,stable:null}}async function TQ(J){let Y=await W("npm",["view","@claudiolabs/claudin","versions","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(30000),cwd:X()});if(Y.code!==0){if(K(`npm view versions failed with code ${Y.code}`),Y.stderr)K(`npm stderr: ${Y.stderr.trim()}`);return[]}try{return L(Y.stdout.trim()).slice(-J).reverse()}catch(Z){return K(`Failed to parse version history: ${Z}`),[]}}async function SQ(J){if(!await TJ())return q(new G("Another process is currently installing an update")),A("tengu_auto_updater_lock_contention",{pid:process.pid,currentVersion:"99.0.0"}),"in_progress";try{if(await LJ(),!v.isRunningWithBun()&&v.isNpmFromWindowsPath())return q(Error("Windows NPM detected in WSL environment")),A("tengu_auto_updater_windows_npm_in_wsl",{currentVersion:"99.0.0"}),console.error(`
5
- Error: Windows NPM detected in WSL
6
-
7
- You're running Claude Code in WSL but using the Windows NPM installation from /mnt/c/.
8
- This configuration is not supported for updates.
9
-
10
- To fix this issue:
11
- 1. Install Node.js within your Linux distribution: e.g. sudo apt install nodejs npm
12
- 2. Make sure Linux NPM is in your PATH before the Windows version
13
- 3. Try updating again with 'claude update'
14
- `),"install_failed";let{hasPermissions:Q}=await AJ();if(!Q)return"no_permissions";let Y=J?`@claudiolabs/claudin@${J}`:"@claudiolabs/claudin",Z=v.isRunningWithBun()||QJ()?"bun":"npm",z=await W(Z,Z==="npm"?["install","-g","--force",Y]:["install","-g",Y],{cwd:X()});if(z.code!==0){let H=new G(`Failed to install new version of claude: ${z.stdout} ${z.stderr}`);return q(H),"install_failed"}if(Z==="npm"&&await RJ()){let H=await W("bun",["install","-g",Y],{cwd:X()});if(H.code!==0)q(new G(`Failed to update bun global install: ${H.stdout} ${H.stderr}`))}return await VJ(),N((H)=>({...H,installMethod:"global"})),"success"}finally{await SJ()}}async function LJ(){let J=S();for(let[,Q]of Object.entries(J))try{let Y=await j(Q);if(!Y)continue;let{filtered:Z,hadAlias:$}=n(Y);if($)await s(Q,Z),K(`Removed claude alias from ${Q}`)}catch(Y){K(`Failed to remove alias from ${Q}: ${Y}`,{level:"error"})}}var G,NJ=4096,wJ,l=300000;var CJ=w(()=>{GJ();P();BJ();_J();b();x();D();I();f();OJ();MJ();a();F();G=class G extends i{};wJ=/ENOENT/i});
15
- export{uJ as CT,hJ as DT,pJ as ET,cJ as FT,gJ as GT,h as HT,S as IT,n as JT,j as KT,s as LT,yJ as MT,oJ as NT,a as OT,VJ as PT,OQ as QT,vQ as RT,RQ as ST,NQ as TT,YJ as UT,AJ as VT,wQ as WT,xQ as XT,UQ as YT,VQ as ZT,TQ as _T,SQ as $T,CJ as aU};
@@ -1 +0,0 @@
1
- import{A4 as c,B4 as d,C4 as e,D4 as f,E4 as g,F4 as h,G4 as i,H4 as j,I4 as k,J4 as l,K4 as m,y4 as a,z4 as b}from"./cli-1.0.8-sqbaxhfc.mjs";import"./cli-1.0.8-abdc5b5p.mjs";import"./cli-1.0.8-9y02shjc.mjs";import"./cli-1.0.8-erzw5831.mjs";import"./cli-1.0.8-fch83jc9.mjs";import"./cli-1.0.8-ke76gxzw.mjs";import"./cli-1.0.8-s5kcxz2r.mjs";import"./cli-1.0.8-2vmb9a3w.mjs";import"./cli-1.0.8-czw324tt.mjs";import"./cli-1.0.8-a5h5dhvb.mjs";import"./cli-1.0.8-74zbkhyt.mjs";import"./cli-1.0.8-acrtv429.mjs";import"./cli-1.0.8-2yyas23w.mjs";import"./cli-1.0.8-gmf61bcb.mjs";import"./cli-1.0.8-z96bbp08.mjs";import"./cli-1.0.8-kzyrncv0.mjs";import"./cli-1.0.8-0w29g9sk.mjs";import"./cli-1.0.8-swts6q29.mjs";import"./cli-1.0.8-c1m2f995.mjs";import"./cli-1.0.8-3cz8c904.mjs";import"./cli-1.0.8-4wgaqcjn.mjs";import"./cli-1.0.8-zjckzq5j.mjs";import"./cli-1.0.8-592dqckn.mjs";import"./cli-1.0.8-7khq3d03.mjs";import"./cli-1.0.8-by017547.mjs";m();export{l as storeOAuthAccountInfo,a as shouldUseClaudeAIAuth,e as refreshOAuthToken,k as populateOAuthAccountInfoIfNeeded,b as parseScopes,h as isOAuthTokenExpired,j as getOrganizationUUID,i as fetchProfileInfo,f as fetchAndStoreUserRoles,d as exchangeCodeForTokens,g as createAndStoreApiKey,c as buildAuthUrl};
@@ -1 +0,0 @@
1
- import{TS as f,Tt as w,Xt as Z,mS as H,zj as F}from"./cli-1.0.8-ykwgcdbt.mjs";import"./cli-1.0.8-g9h4ay1q.mjs";import"./cli-1.0.8-4a1exx1w.mjs";import"./cli-1.0.8-zza8ns8c.mjs";import"./cli-1.0.8-kzrdbzd1.mjs";import"./cli-1.0.8-m6fhqq8r.mjs";import"./cli-1.0.8-z79r5re2.mjs";import"./cli-1.0.8-xzp5af2t.mjs";import"./cli-1.0.8-evcjjrhq.mjs";import"./cli-1.0.8-k7vkjf05.mjs";import"./cli-1.0.8-m2w20tkx.mjs";import"./cli-1.0.8-y7jd923h.mjs";import"./cli-1.0.8-sbf6n56q.mjs";import"./cli-1.0.8-3tw1xf7y.mjs";import"./cli-1.0.8-qbrw3wf3.mjs";import"./cli-1.0.8-dnyn56hh.mjs";import"./cli-1.0.8-pzesgrb2.mjs";import"./cli-1.0.8-pbxke3zm.mjs";import{iX as K,qX as Y}from"./cli-1.0.8-5gn5a7p3.mjs";import"./cli-1.0.8-apm2cwth.mjs";import"./cli-1.0.8-53cy4zte.mjs";import"./cli-1.0.8-qss5sph3.mjs";import"./cli-1.0.8-5wwge1jc.mjs";import"./cli-1.0.8-m9cg4s2e.mjs";import"./cli-1.0.8-74y9exyb.mjs";import"./cli-1.0.8-rxf0zjys.mjs";import"./cli-1.0.8-0j3a18cb.mjs";import"./cli-1.0.8-x2z1s2gm.mjs";import"./cli-1.0.8-e1rqh3t5.mjs";import"./cli-1.0.8-9kjmxaz9.mjs";import"./cli-1.0.8-tfjhtagk.mjs";import"./cli-1.0.8-w6atgaqw.mjs";import"./cli-1.0.8-mhhby5pn.mjs";import"./cli-1.0.8-qzqze1a1.mjs";import"./cli-1.0.8-rna8rhza.mjs";import"./cli-1.0.8-mbhxente.mjs";import"./cli-1.0.8-7tm0v9g4.mjs";import"./cli-1.0.8-szvwf6r4.mjs";import"./cli-1.0.8-g8tpbbvt.mjs";import"./cli-1.0.8-sqbaxhfc.mjs";import"./cli-1.0.8-abdc5b5p.mjs";import"./cli-1.0.8-9y02shjc.mjs";import"./cli-1.0.8-erzw5831.mjs";import"./cli-1.0.8-fch83jc9.mjs";import"./cli-1.0.8-hgreyqck.mjs";import"./cli-1.0.8-ke76gxzw.mjs";import"./cli-1.0.8-s5kcxz2r.mjs";import"./cli-1.0.8-2vmb9a3w.mjs";import"./cli-1.0.8-czw324tt.mjs";import"./cli-1.0.8-a5h5dhvb.mjs";import"./cli-1.0.8-74zbkhyt.mjs";import"./cli-1.0.8-acrtv429.mjs";import"./cli-1.0.8-2yyas23w.mjs";import"./cli-1.0.8-gmf61bcb.mjs";import"./cli-1.0.8-z96bbp08.mjs";import"./cli-1.0.8-kzyrncv0.mjs";import"./cli-1.0.8-0w29g9sk.mjs";import"./cli-1.0.8-swts6q29.mjs";import{Opa as X,Rla as B}from"./cli-1.0.8-c1m2f995.mjs";import"./cli-1.0.8-3cz8c904.mjs";import"./cli-1.0.8-4wgaqcjn.mjs";import"./cli-1.0.8-zjckzq5j.mjs";import"./cli-1.0.8-592dqckn.mjs";import"./cli-1.0.8-7khq3d03.mjs";import{xra as W}from"./cli-1.0.8-by017547.mjs";async function h(q,J,y){if(K())return q("Cannot set color: This session is a swarm teammate. Teammate colors are assigned by the team leader.",{display:"system"}),null;if(!y||y.trim()===""){let b=w.join(", ");return q(`Please provide a color. Available colors: ${b}, default`,{display:"system"}),null}let k=y.trim().toLowerCase();if($.includes(k)){let b=B(),V=F();return await H(b,"default",V),J.setAppState((z)=>({...z,standaloneAgentContext:{...z.standaloneAgentContext,name:z.standaloneAgentContext?.name??"",color:void 0}})),q("Session color reset to default",{display:"system"}),null}if(!w.includes(k)){let b=w.join(", ");return q(`Invalid color "${k}". Available colors: ${b}, default`,{display:"system"}),null}let Q=B(),U=F();return await H(Q,k,U),J.setAppState((b)=>({...b,standaloneAgentContext:{...b.standaloneAgentContext,name:b.standaloneAgentContext?.name??"",color:k}})),q(`Session color set to: ${k}`,{display:"system"}),null}var $;var M=W(()=>{X();Z();f();Y();$=["default","reset","none","gray","grey"]});M();export{h as call};
@@ -1,3 +0,0 @@
1
- import{Aw as m,BP as qj,Cw as N,Ew as a,FO as o,GQ as wj,HB as f,HO as P,IO as e,OC as Y,PC as I,Px as U,QC as Z,Qx as r,RC as $,SC as O,TC as _,VC as n,eI as y,fI as c,hR as zj,ly as b,my as x,nO as B,oO as s,qT as R,rT as W,sP as l,sQ as C,sT as Hj,tO as k,tw as A,vw as u,zw as X}from"./cli-1.0.8-ykwgcdbt.mjs";import"./cli-1.0.8-g9h4ay1q.mjs";import"./cli-1.0.8-4a1exx1w.mjs";import"./cli-1.0.8-zza8ns8c.mjs";import"./cli-1.0.8-kzrdbzd1.mjs";import"./cli-1.0.8-m6fhqq8r.mjs";import"./cli-1.0.8-z79r5re2.mjs";import"./cli-1.0.8-xzp5af2t.mjs";import"./cli-1.0.8-evcjjrhq.mjs";import"./cli-1.0.8-k7vkjf05.mjs";import"./cli-1.0.8-m2w20tkx.mjs";import"./cli-1.0.8-y7jd923h.mjs";import"./cli-1.0.8-sbf6n56q.mjs";import"./cli-1.0.8-3tw1xf7y.mjs";import"./cli-1.0.8-qbrw3wf3.mjs";import"./cli-1.0.8-dnyn56hh.mjs";import"./cli-1.0.8-pzesgrb2.mjs";import"./cli-1.0.8-pbxke3zm.mjs";import"./cli-1.0.8-5gn5a7p3.mjs";import"./cli-1.0.8-apm2cwth.mjs";import"./cli-1.0.8-53cy4zte.mjs";import"./cli-1.0.8-qss5sph3.mjs";import"./cli-1.0.8-5wwge1jc.mjs";import"./cli-1.0.8-m9cg4s2e.mjs";import"./cli-1.0.8-74y9exyb.mjs";import"./cli-1.0.8-rxf0zjys.mjs";import"./cli-1.0.8-0j3a18cb.mjs";import"./cli-1.0.8-x2z1s2gm.mjs";import"./cli-1.0.8-e1rqh3t5.mjs";import"./cli-1.0.8-9kjmxaz9.mjs";import"./cli-1.0.8-tfjhtagk.mjs";import"./cli-1.0.8-w6atgaqw.mjs";import"./cli-1.0.8-mhhby5pn.mjs";import"./cli-1.0.8-qzqze1a1.mjs";import"./cli-1.0.8-rna8rhza.mjs";import"./cli-1.0.8-mbhxente.mjs";import"./cli-1.0.8-7tm0v9g4.mjs";import"./cli-1.0.8-szvwf6r4.mjs";import"./cli-1.0.8-g8tpbbvt.mjs";import"./cli-1.0.8-sqbaxhfc.mjs";import"./cli-1.0.8-abdc5b5p.mjs";import{r8 as h,s8 as p}from"./cli-1.0.8-9y02shjc.mjs";import"./cli-1.0.8-erzw5831.mjs";import"./cli-1.0.8-fch83jc9.mjs";import"./cli-1.0.8-hgreyqck.mjs";import{Ifa as D,Qfa as g}from"./cli-1.0.8-ke76gxzw.mjs";import"./cli-1.0.8-s5kcxz2r.mjs";import"./cli-1.0.8-2vmb9a3w.mjs";import"./cli-1.0.8-czw324tt.mjs";import"./cli-1.0.8-a5h5dhvb.mjs";import"./cli-1.0.8-74zbkhyt.mjs";import"./cli-1.0.8-acrtv429.mjs";import"./cli-1.0.8-2yyas23w.mjs";import"./cli-1.0.8-gmf61bcb.mjs";import"./cli-1.0.8-z96bbp08.mjs";import"./cli-1.0.8-kzyrncv0.mjs";import{Oja as v,Xja as E}from"./cli-1.0.8-0w29g9sk.mjs";import"./cli-1.0.8-swts6q29.mjs";import{Opa as i,Uma as T}from"./cli-1.0.8-c1m2f995.mjs";import"./cli-1.0.8-3cz8c904.mjs";import"./cli-1.0.8-4wgaqcjn.mjs";import"./cli-1.0.8-zjckzq5j.mjs";import"./cli-1.0.8-592dqckn.mjs";import"./cli-1.0.8-7khq3d03.mjs";import{xra as M}from"./cli-1.0.8-by017547.mjs";async function t(q,j,H,w){j.onCompactProgress?.({type:"hooks_start",hookType:"pre_compact"}),j.setSDKStatus?.("compacting");try{let[z,J]=await Promise.all([f({trigger:"manual",customInstructions:H||null},j.abortController.signal),d(j,q)]),Q=O(H,z.newCustomInstructions);j.setStreamMode?.("requesting"),j.setResponseLength?.(()=>0),j.onCompactProgress?.({type:"compact_start"});let K=await w.reactiveCompactOnPromptTooLong(q,J,{customInstructions:Q,trigger:"manual"});if(!K.ok)switch(K.reason){case"too_few_groups":throw Error(Y);case"aborted":throw Error(I);case"exhausted":case"error":case"media_unstrippable":throw Error(Z)}k(void 0);let F=$(K.result);B(void 0,F,j.contentReplacementState),X(),W.cache.clear?.();let V=[z.userDisplayMessage,K.result.userDisplayMessage].filter(Boolean).join(`
2
- `)||void 0;return{type:"compact",compactionResult:{...K.result,userDisplayMessage:V},displayText:L(j,V)}}finally{j.setStreamMode?.("requesting"),j.setResponseLength?.(()=>0),j.onCompactProgress?.({type:"compact_end"}),j.setSDKStatus?.(null)}}function L(q,j){let H=b("tip"),w=U("app:toggleTranscript","Global","ctrl+o"),z=[...q.options.verbose?[]:[`(${w} to see full summary)`],...j?[j]:[],...H?[H]:[]];return h.dim("Compacted "+z.join(`
3
- `))}async function d(q,j){let H=q.getAppState(),w=await l(q.options.tools,q.options.mainLoopModel,Array.from(H.toolPermissionContext.additionalWorkingDirectories.keys()),q.options.mcpClients),z=y({mainThreadAgentDefinition:void 0,toolUseContext:q,customSystemPrompt:q.options.customSystemPrompt,defaultSystemPrompt:w,appendSystemPrompt:q.options.appendSystemPrompt}),[J,Q]=await Promise.all([W(),R()]);return{systemPrompt:z,userContext:J,systemContext:Q,toolUseContext:q,forkContextMessages:j}}var G=null,Aj=async(q,j)=>{let{abortController:H}=j,{messages:w}=j;if(w=C(w),w.length===0)throw Error("No messages to compact");let z=q.trim();try{if(!z){let V=await P(w,j.agentId);if(V){W.cache.clear?.();let S=$(V);return B(void 0,S,j.contentReplacementState),A(j.options.querySource??"compact",j.agentId),T(),X(),{type:"compact",compactionResult:V,displayText:L(j)}}}if(G?.isReactiveOnlyMode())return await t(w,j,z,G);let Q=(await N(w,j)).messages,K=await _(Q,j,await d(j,Q),!1,z,!1);k(void 0),X(),W.cache.clear?.();let F=$(K);return B(void 0,F,j.contentReplacementState),{type:"compact",compactionResult:K,displayText:L(j,K.userDisplayMessage)}}catch(J){if(H.signal.aborted)throw Error("Compaction canceled.");else if(v(J,Y))throw Error(Y);else if(v(J,Z))throw Error(Z);else throw D(J),Error(`Error during compaction: ${J}`)}};var jj=M(()=>{p();i();qj();Hj();r();u();n();m();a();s();e();o();E();zj();g();wj();x();c()});jj();export{Aj as call};
@@ -1 +0,0 @@
1
- import{$da as B,Cda as c,Dda as d,Eda as e,Fda as f,Gda as g,Hda as h,Ida as i,Jda as j,Kda as k,Lda as l,Mda as m,Nda as n,Oda as o,Pda as p,Qda as q,Rda as r,Sda as s,Tda as t,Uda as u,Vda as v,Wda as w,Xda as x,Yda as y,Zda as z,_da as A,aea as C,bea as D,cea as E,dea as F,eea as G,fea as H,gea as I,hea as J,iea as K,jea as L,kea as M,sda as a,tda as b}from"./cli-1.0.8-ke76gxzw.mjs";import"./cli-1.0.8-s5kcxz2r.mjs";import"./cli-1.0.8-2vmb9a3w.mjs";import"./cli-1.0.8-czw324tt.mjs";import"./cli-1.0.8-a5h5dhvb.mjs";import"./cli-1.0.8-74zbkhyt.mjs";import"./cli-1.0.8-acrtv429.mjs";import"./cli-1.0.8-2yyas23w.mjs";import"./cli-1.0.8-gmf61bcb.mjs";import"./cli-1.0.8-z96bbp08.mjs";import"./cli-1.0.8-kzyrncv0.mjs";import"./cli-1.0.8-0w29g9sk.mjs";import"./cli-1.0.8-swts6q29.mjs";import"./cli-1.0.8-c1m2f995.mjs";import"./cli-1.0.8-3cz8c904.mjs";import"./cli-1.0.8-4wgaqcjn.mjs";import"./cli-1.0.8-by017547.mjs";M();export{A as shouldSkipPluginAutoupdate,o as saveGlobalConfig,y as saveCurrentProjectConfig,h as resetTrustDialogAcceptedCacheForTesting,l as resetProjectConfigForTests,k as resetGlobalConfigForTests,E as recordFirstStartTime,n as onGlobalConfigChange,m as isProjectConfigKey,j as isPathTrusted,f as isGlobalConfigKey,u as isConfigReadingAllowed,z as isAutoUpdaterDisabled,H as getUserClaudeRulesDir,s as getRemoteControlAtStartup,w as getProjectPathForConfig,D as getOrCreateUserID,F as getMemoryPath,G as getManagedClaudeRulesDir,p as getGlobalConfigWriteCount,r as getGlobalConfig,t as getCustomApiKeyStatus,x as getCurrentProjectConfig,C as getAutoUpdaterDisabledReason,B as formatAutoUpdaterDisabledReason,v as enableConfigs,i as checkHasTrustDialogAccepted,J as _wouldLoseAuthStateForTesting,L as _setGlobalConfigCacheForTesting,I as _getConfigForTesting,K as _buildWrittenGlobalConfig,c as SHOW_CACHE_STATS_MODES,g as PROJECT_CONFIG_KEYS,a as NOTIFICATION_CHANNELS,e as GLOBAL_CONFIG_KEYS,b as EDITOR_MODES,d as DEFAULT_GLOBAL_CONFIG,q as CONFIG_WRITE_DISPLAY_THRESHOLD};
@@ -1 +0,0 @@
1
- import{Hg as f,Ig as q}from"./cli-1.0.8-a95nzf63.mjs";import"./cli-1.0.8-fnnr43c2.mjs";import"./cli-1.0.8-zh2ygfav.mjs";import"./cli-1.0.8-v1rafynv.mjs";import"./cli-1.0.8-jy7hzejg.mjs";import"./cli-1.0.8-6fz5dc6p.mjs";import"./cli-1.0.8-63tfdt8q.mjs";import"./cli-1.0.8-6q1p5cvf.mjs";import"./cli-1.0.8-mn87n778.mjs";import"./cli-1.0.8-75t3aews.mjs";import"./cli-1.0.8-8eace15k.mjs";import"./cli-1.0.8-ykwgcdbt.mjs";import"./cli-1.0.8-g9h4ay1q.mjs";import"./cli-1.0.8-4a1exx1w.mjs";import"./cli-1.0.8-zza8ns8c.mjs";import"./cli-1.0.8-kzrdbzd1.mjs";import"./cli-1.0.8-m6fhqq8r.mjs";import"./cli-1.0.8-z79r5re2.mjs";import"./cli-1.0.8-xzp5af2t.mjs";import"./cli-1.0.8-evcjjrhq.mjs";import"./cli-1.0.8-k7vkjf05.mjs";import"./cli-1.0.8-m2w20tkx.mjs";import"./cli-1.0.8-y7jd923h.mjs";import"./cli-1.0.8-sbf6n56q.mjs";import"./cli-1.0.8-3tw1xf7y.mjs";import"./cli-1.0.8-qbrw3wf3.mjs";import"./cli-1.0.8-dnyn56hh.mjs";import"./cli-1.0.8-pzesgrb2.mjs";import"./cli-1.0.8-pbxke3zm.mjs";import"./cli-1.0.8-5gn5a7p3.mjs";import"./cli-1.0.8-apm2cwth.mjs";import"./cli-1.0.8-53cy4zte.mjs";import"./cli-1.0.8-qss5sph3.mjs";import"./cli-1.0.8-5wwge1jc.mjs";import"./cli-1.0.8-m9cg4s2e.mjs";import"./cli-1.0.8-74y9exyb.mjs";import"./cli-1.0.8-rxf0zjys.mjs";import"./cli-1.0.8-0j3a18cb.mjs";import"./cli-1.0.8-x2z1s2gm.mjs";import"./cli-1.0.8-e1rqh3t5.mjs";import"./cli-1.0.8-9kjmxaz9.mjs";import"./cli-1.0.8-tfjhtagk.mjs";import"./cli-1.0.8-w6atgaqw.mjs";import"./cli-1.0.8-mhhby5pn.mjs";import{o3 as d,q3 as b}from"./cli-1.0.8-qzqze1a1.mjs";import"./cli-1.0.8-rna8rhza.mjs";import"./cli-1.0.8-mbhxente.mjs";import"./cli-1.0.8-7tm0v9g4.mjs";import"./cli-1.0.8-szvwf6r4.mjs";import"./cli-1.0.8-g8tpbbvt.mjs";import"./cli-1.0.8-sqbaxhfc.mjs";import"./cli-1.0.8-abdc5b5p.mjs";import"./cli-1.0.8-9y02shjc.mjs";import"./cli-1.0.8-erzw5831.mjs";import"./cli-1.0.8-fch83jc9.mjs";import"./cli-1.0.8-hgreyqck.mjs";import"./cli-1.0.8-ke76gxzw.mjs";import"./cli-1.0.8-s5kcxz2r.mjs";import"./cli-1.0.8-2vmb9a3w.mjs";import"./cli-1.0.8-czw324tt.mjs";import"./cli-1.0.8-a5h5dhvb.mjs";import"./cli-1.0.8-74zbkhyt.mjs";import"./cli-1.0.8-acrtv429.mjs";import"./cli-1.0.8-2yyas23w.mjs";import"./cli-1.0.8-gmf61bcb.mjs";import"./cli-1.0.8-z96bbp08.mjs";import"./cli-1.0.8-kzyrncv0.mjs";import"./cli-1.0.8-0w29g9sk.mjs";import"./cli-1.0.8-swts6q29.mjs";import"./cli-1.0.8-c1m2f995.mjs";import"./cli-1.0.8-3cz8c904.mjs";import"./cli-1.0.8-4wgaqcjn.mjs";import"./cli-1.0.8-zjckzq5j.mjs";import"./cli-1.0.8-592dqckn.mjs";import"./cli-1.0.8-7khq3d03.mjs";import{xra as l}from"./cli-1.0.8-by017547.mjs";var y=async(h,k)=>{return d(f,{onClose:h,context:k,defaultTab:"Config"})};var v=l(()=>{q();b()});v();export{y as call};
@@ -1 +0,0 @@
1
- import{A8 as g,B8 as h,C8 as i,D8 as j,E8 as k,F8 as l,u8 as a,v8 as b,w8 as c,x8 as d,y8 as e,z8 as f}from"./cli-1.0.8-fch83jc9.mjs";import"./cli-1.0.8-by017547.mjs";l();export{k as SENSITIVE_URL_QUERY_PARAM_NAMES,f as MOONSHOT_API_HOSTS,g as KIMI_CODE_API_HOST,h as GLM_API_HOSTS,a as GITHUB_COPILOT_BASE,b as GITHUB_429_MAX_RETRIES,d as GITHUB_429_MAX_DELAY_SEC,c as GITHUB_429_BASE_DELAY_SEC,e as GEMINI_API_HOST,i as DEEPSEEK_API_HOSTS,j as COPILOT_HEADERS};
@@ -1 +0,0 @@
1
- import{oh as O0,ph as Hv}from"./cli-1.0.8-xv5yp3w6.mjs";import{Cw as p0,DP as g0,EP as lv,Ew as dv,GQ as cv,Xi as b0,Yi as r0,Zi as w0,_i as a0,dj as Y0,ej as o0,rk as L0,sQ as m0,sk as e0}from"./cli-1.0.8-ykwgcdbt.mjs";import"./cli-1.0.8-g9h4ay1q.mjs";import"./cli-1.0.8-4a1exx1w.mjs";import"./cli-1.0.8-zza8ns8c.mjs";import"./cli-1.0.8-kzrdbzd1.mjs";import"./cli-1.0.8-m6fhqq8r.mjs";import"./cli-1.0.8-z79r5re2.mjs";import"./cli-1.0.8-xzp5af2t.mjs";import"./cli-1.0.8-evcjjrhq.mjs";import"./cli-1.0.8-k7vkjf05.mjs";import"./cli-1.0.8-m2w20tkx.mjs";import"./cli-1.0.8-y7jd923h.mjs";import"./cli-1.0.8-sbf6n56q.mjs";import"./cli-1.0.8-3tw1xf7y.mjs";import"./cli-1.0.8-qbrw3wf3.mjs";import"./cli-1.0.8-dnyn56hh.mjs";import"./cli-1.0.8-pzesgrb2.mjs";import"./cli-1.0.8-pbxke3zm.mjs";import"./cli-1.0.8-5gn5a7p3.mjs";import{KX as k0,LX as pv}from"./cli-1.0.8-apm2cwth.mjs";import"./cli-1.0.8-53cy4zte.mjs";import{H0 as F0,HY as S0,a0 as H,c0 as z,w0 as u0}from"./cli-1.0.8-qss5sph3.mjs";import"./cli-1.0.8-5wwge1jc.mjs";import"./cli-1.0.8-m9cg4s2e.mjs";import"./cli-1.0.8-74y9exyb.mjs";import"./cli-1.0.8-rxf0zjys.mjs";import"./cli-1.0.8-0j3a18cb.mjs";import"./cli-1.0.8-x2z1s2gm.mjs";import"./cli-1.0.8-e1rqh3t5.mjs";import"./cli-1.0.8-9kjmxaz9.mjs";import"./cli-1.0.8-tfjhtagk.mjs";import"./cli-1.0.8-w6atgaqw.mjs";import"./cli-1.0.8-mhhby5pn.mjs";import{o3 as K,p3 as Z,q3 as T}from"./cli-1.0.8-qzqze1a1.mjs";import{r3 as kv}from"./cli-1.0.8-rna8rhza.mjs";import"./cli-1.0.8-mbhxente.mjs";import"./cli-1.0.8-7tm0v9g4.mjs";import"./cli-1.0.8-szvwf6r4.mjs";import"./cli-1.0.8-g8tpbbvt.mjs";import"./cli-1.0.8-sqbaxhfc.mjs";import"./cli-1.0.8-abdc5b5p.mjs";import"./cli-1.0.8-9y02shjc.mjs";import"./cli-1.0.8-erzw5831.mjs";import"./cli-1.0.8-fch83jc9.mjs";import"./cli-1.0.8-hgreyqck.mjs";import{G$ as Z0,U$ as I0,eaa as y0,laa as Vv,oca as Yv,y9 as P0,z9 as Kv}from"./cli-1.0.8-ke76gxzw.mjs";import{fga as V,lga as V0}from"./cli-1.0.8-s5kcxz2r.mjs";import"./cli-1.0.8-2vmb9a3w.mjs";import"./cli-1.0.8-czw324tt.mjs";import"./cli-1.0.8-a5h5dhvb.mjs";import"./cli-1.0.8-74zbkhyt.mjs";import"./cli-1.0.8-acrtv429.mjs";import"./cli-1.0.8-2yyas23w.mjs";import"./cli-1.0.8-gmf61bcb.mjs";import"./cli-1.0.8-z96bbp08.mjs";import"./cli-1.0.8-kzyrncv0.mjs";import"./cli-1.0.8-0w29g9sk.mjs";import"./cli-1.0.8-swts6q29.mjs";import"./cli-1.0.8-c1m2f995.mjs";import"./cli-1.0.8-3cz8c904.mjs";import"./cli-1.0.8-4wgaqcjn.mjs";import"./cli-1.0.8-zjckzq5j.mjs";import"./cli-1.0.8-592dqckn.mjs";import"./cli-1.0.8-7khq3d03.mjs";import{tra as q0,xra as X0}from"./cli-1.0.8-by017547.mjs";function D0(J){let v=[];return Jv(J,v),Qv(J,v),Zv(J,v),zv(J,v),Wv(J,v),v.sort((Q,X)=>{if(Q.severity!==X.severity)return Q.severity==="warning"?-1:1;return(X.savingsTokens??0)-(Q.savingsTokens??0)}),v}function Jv(J,v){if(J.percentage>=h0)v.push({severity:"warning",title:`Context is ${J.percentage}% full`,detail:J.isAutoCompactEnabled?"Autocompact will trigger soon, which discards older messages. Use /compact now to control what gets kept.":"Autocompact is disabled. Use /compact to free space, or enable autocompact in /config."})}function Qv(J,v){if(!J.messageBreakdown)return;for(let Q of J.messageBreakdown.toolCallsByType){let X=Q.callTokens+Q.resultTokens,U=X/J.rawMaxTokens*100;if(U<N0||X<U0)continue;let W=Xv(Q.name,X,U);if(W)v.push(W)}}function Xv(J,v,Q){let X=V(v);switch(J){case b0:return{severity:"warning",title:`Bash results using ${X} tokens (${Q.toFixed(0)}%)`,detail:"Pipe output through head, tail, or grep to reduce result size. Avoid cat on large files — use Read with offset/limit instead.",savingsTokens:Math.floor(v*0.5)};case Y0:return{severity:"info",title:`Read results using ${X} tokens (${Q.toFixed(0)}%)`,detail:"Use offset and limit parameters to read only the sections you need. Avoid re-reading entire files when you only need a few lines.",savingsTokens:Math.floor(v*0.3)};case w0:return{severity:"info",title:`Grep results using ${X} tokens (${Q.toFixed(0)}%)`,detail:"Add more specific patterns or use the glob or type parameter to narrow file types. Consider Glob for file discovery instead of Grep.",savingsTokens:Math.floor(v*0.3)};case L0:return{severity:"info",title:`WebFetch results using ${X} tokens (${Q.toFixed(0)}%)`,detail:"Web page content can be very large. Consider extracting only the specific information needed.",savingsTokens:Math.floor(v*0.4)};default:if(Q>=20)return{severity:"info",title:`${J} using ${X} tokens (${Q.toFixed(0)}%)`,detail:"This tool is consuming a significant portion of context.",savingsTokens:Math.floor(v*0.2)};return null}}function Zv(J,v){if(!J.messageBreakdown)return;let X=J.messageBreakdown.toolCallsByType.find((F)=>F.name===Y0);if(!X)return;let U=X.callTokens+X.resultTokens,W=U/J.rawMaxTokens*100,Y=X.resultTokens/J.rawMaxTokens*100;if(W>=N0&&U>=U0)return;if(Y>=s0&&X.resultTokens>=U0)v.push({severity:"info",title:`File reads using ${V(X.resultTokens)} tokens (${Y.toFixed(0)}%)`,detail:"If you are re-reading files, consider referencing earlier reads. Use offset/limit for large files.",savingsTokens:Math.floor(X.resultTokens*0.3)})}function zv(J,v){let Q=J.memoryFiles.reduce((U,W)=>U+W.tokens,0),X=Q/J.rawMaxTokens*100;if(X>=t0&&Q>=vv){let U=[...J.memoryFiles].sort((W,Y)=>Y.tokens-W.tokens).slice(0,3).map((W)=>{return`${Z0(W.path)} (${V(W.tokens)})`}).join(", ");v.push({severity:"info",title:`Memory files using ${V(Q)} tokens (${X.toFixed(0)}%)`,detail:`Largest: ${U}. Use /memory to review and prune stale entries.`,savingsTokens:Math.floor(Q*0.3)})}}function Wv(J,v){if(!J.isAutoCompactEnabled&&J.percentage>=50&&J.percentage<h0)v.push({severity:"info",title:"Autocompact is disabled",detail:"Without autocompact, you will hit context limits and lose the conversation. Enable it in /config or use /compact manually."})}var N0=15,U0=1e4,s0=5,h0=80,t0=5,vv=5000;var C0=X0(()=>{r0();o0();a0();e0();I0();V0()});function f0(J){let v=A0.c(5),{suggestions:Q}=J;if(Q.length===0)return null;let X;if(v[0]===Symbol.for("react.memo_cache_sentinel"))X=K(z,{bold:!0,children:"Suggestions"}),v[0]=X;else X=v[0];let U;if(v[1]!==Q)U=Q.map(Uv),v[1]=Q,v[2]=U;else U=v[2];let W;if(v[3]!==U)W=Z(H,{flexDirection:"column",marginTop:1,children:[X,U]}),v[3]=U,v[4]=W;else W=v[4];return W}function Uv(J,v){return Z(H,{flexDirection:"column",marginTop:v===0?0:1,children:[Z(H,{children:[K(O0,{status:J.severity,withSpace:!0}),K(z,{bold:!0,children:J.title}),J.savingsTokens?Z(z,{dimColor:!0,children:[" ",P0.arrowRight," save ~",V(J.savingsTokens)]}):null]}),K(H,{marginLeft:2,children:K(z,{dimColor:!0,children:J.detail})})]},v)}var A0;var M0=X0(()=>{Kv();F0();V0();Hv();T();A0=q0(S0(),1)});function $(J,v){return J===v.length-1?"└":"├"}function qv(){let J=G0.c(2);return null}function B0(J){let v=new Map;for(let X of J){let U=y0(X.source),W=v.get(U)||[];W.push(X),v.set(U,W)}for(let[X,U]of v.entries())v.set(X,U.sort((W,Y)=>Y.tokens-W.tokens));let Q=new Map;for(let X of Fv){let U=v.get(X);if(U)Q.set(X,U)}return Q}function R0(J){let v=G0.c(87),{data:Q}=J,{categories:X,totalTokens:U,rawMaxTokens:W,percentage:Y,gridRows:F,model:G,memoryFiles:I,mcpTools:q,deferredBuiltinTools:x,systemTools:r,systemPromptSections:a,agents:o,skills:n,messageBreakdown:W0}=Q,h,D,C,P,b,S,O,A,w,L;if(v[0]!==X||v[1]!==F||v[2]!==q||v[3]!==G||v[4]!==Y||v[5]!==W||v[6]!==r||v[7]!==x||v[8]!==U){let j0=x===void 0?[]:x,l0=X.filter(uv),s;if(v[19]!==X)s=X.some(Ev),v[19]=X,v[20]=s;else s=v[20];let _=s,c0=j0.length>0,p=X.find(Rv);if(D=H,O="column",A=1,v[21]===Symbol.for("react.memo_cache_sentinel"))w=K(z,{bold:!0,children:"Context Usage"}),v[21]=w;else w=v[21];let d;if(v[22]!==F)d=F.map(Bv),v[22]=F,v[23]=d;else d=v[23];let g;if(v[24]!==d)g=K(H,{flexDirection:"column",flexShrink:0,marginLeft:-1,children:d}),v[24]=d,v[25]=g;else g=v[25];let m;if(v[26]!==U)m=V(U),v[26]=U,v[27]=m;else m=v[27];let j;if(v[28]!==W)j=V(W),v[28]=W,v[29]=j;else j=v[29];let l;if(v[30]!==G||v[31]!==Y||v[32]!==m||v[33]!==j)l=Z(z,{dimColor:!0,children:[G," · ",m,"/",j," ","tokens (",Y,"%)"]}),v[30]=G,v[31]=Y,v[32]=m,v[33]=j,v[34]=l;else l=v[34];let t,v0,J0;if(v[35]===Symbol.for("react.memo_cache_sentinel"))t=K(qv,{}),v0=K(z,{children:" "}),J0=K(z,{dimColor:!0,italic:!0,children:"Estimated usage by category"}),v[35]=t,v[36]=v0,v[37]=J0;else t=v[35],v0=v[36],J0=v[37];let Q0;if(v[38]!==W)Q0=(N,i0)=>{let T0=V(N.tokens),$0=N.isDeferred?"N/A":`${(N.tokens/W*100).toFixed(1)}%`,n0=N.name===z0,_0=N.name,x0=N.isDeferred?" ":n0?"⛝":"⛁";return Z(H,{children:[K(z,{color:N.color,children:x0}),Z(z,{children:[" ",_0,": "]}),Z(z,{dimColor:!0,children:[T0," tokens (",$0,")"]})]},i0)},v[38]=W,v[39]=Q0;else Q0=v[39];let K0=l0.map(Q0),c;if(v[40]!==X||v[41]!==W)c=(X.find(Mv)?.tokens??0)>0&&Z(H,{children:[K(z,{dimColor:!0,children:"⛶"}),K(z,{children:" Free space: "}),Z(z,{dimColor:!0,children:[V(X.find(fv)?.tokens||0)," ","(",((X.find(Av)?.tokens||0)/W*100).toFixed(1),"%)"]})]}),v[40]=X,v[41]=W,v[42]=c;else c=v[42];let H0=p&&p.tokens>0&&Z(H,{children:[K(z,{color:p.color,children:"⛝"}),Z(z,{dimColor:!0,children:[" ",p.name,": "]}),Z(z,{dimColor:!0,children:[V(p.tokens)," tokens (",(p.tokens/W*100).toFixed(1),"%)"]})]}),i;if(v[43]!==l||v[44]!==K0||v[45]!==c||v[46]!==H0)i=Z(H,{flexDirection:"column",gap:0,flexShrink:0,children:[l,t,v0,J0,K0,c,H0]}),v[43]=l,v[44]=K0,v[45]=c,v[46]=H0,v[47]=i;else i=v[47];if(v[48]!==g||v[49]!==i)L=Z(H,{flexDirection:"row",gap:2,children:[g,i]}),v[48]=g,v[49]=i,v[50]=L;else L=v[50];if(h=H,C="column",P=-1,v[51]!==_||v[52]!==q)b=q.length>0&&Z(H,{flexDirection:"column",marginTop:1,children:[Z(H,{children:[K(z,{bold:!0,children:"MCP tools"}),Z(z,{dimColor:!0,children:[" ","· /mcp",_?" (loaded on-demand)":""]})]}),q.some(Ov)&&Z(H,{flexDirection:"column",marginTop:1,children:[K(z,{dimColor:!0,children:"Loaded"}),q.filter(Sv).map(Pv)]}),_&&q.some(Cv)&&Z(H,{flexDirection:"column",marginTop:1,children:[K(z,{dimColor:!0,children:"Available"}),q.filter(Dv).map(hv)]}),!_&&q.map(Nv)]}),v[51]=_,v[52]=q,v[53]=b;else b=v[53];S=(r&&r.length>0||c0)&&!1,v[0]=X,v[1]=F,v[2]=q,v[3]=G,v[4]=Y,v[5]=W,v[6]=r,v[7]=x,v[8]=U,v[9]=h,v[10]=D,v[11]=C,v[12]=P,v[13]=b,v[14]=S,v[15]=O,v[16]=A,v[17]=w,v[18]=L}else h=v[9],D=v[10],C=v[11],P=v[12],b=v[13],S=v[14],O=v[15],A=v[16],w=v[17],L=v[18];let f;if(v[54]!==a)f=a&&a.length>0&&!1,v[54]=a,v[55]=f;else f=v[55];let M;if(v[56]!==o)M=o.length>0&&Z(H,{flexDirection:"column",marginTop:1,children:[Z(H,{children:[K(z,{bold:!0,children:"Custom agents"}),K(z,{dimColor:!0,children:" · /agents"})]}),Array.from(B0(o).entries()).map(wv)]}),v[56]=o,v[57]=M;else M=v[57];let B;if(v[58]!==I)B=I.length>0&&Z(H,{flexDirection:"column",marginTop:1,children:[Z(H,{children:[K(z,{bold:!0,children:"Memory files"}),K(z,{dimColor:!0,children:" · /memory"})]}),I.map(bv)]}),v[58]=I,v[59]=B;else B=v[59];let y;if(v[60]!==n)y=n&&n.tokens>0&&Z(H,{flexDirection:"column",marginTop:1,children:[Z(H,{children:[K(z,{bold:!0,children:"Skills"}),K(z,{dimColor:!0,children:" · /skills"})]}),Array.from(B0(n.skillFrontmatter).entries()).map(Gv)]}),v[60]=n,v[61]=y;else y=v[61];let R;if(v[62]!==W0)R=W0&&!1,v[62]=W0,v[63]=R;else R=v[63];let E;if(v[64]!==h||v[65]!==f||v[66]!==M||v[67]!==B||v[68]!==y||v[69]!==R||v[70]!==C||v[71]!==P||v[72]!==b||v[73]!==S)E=Z(h,{flexDirection:C,marginLeft:P,children:[b,S,f,M,B,y,R]}),v[64]=h,v[65]=f,v[66]=M,v[67]=B,v[68]=y,v[69]=R,v[70]=C,v[71]=P,v[72]=b,v[73]=S,v[74]=E;else E=v[74];let u;if(v[75]!==Q)u=D0(Q),v[75]=Q,v[76]=u;else u=v[76];let k;if(v[77]!==u)k=K(f0,{suggestions:u}),v[77]=u,v[78]=k;else k=v[78];let e;if(v[79]!==D||v[80]!==E||v[81]!==k||v[82]!==O||v[83]!==A||v[84]!==w||v[85]!==L)e=Z(D,{flexDirection:O,paddingLeft:A,children:[w,L,E,k]}),v[79]=D,v[80]=E,v[81]=k,v[82]=O,v[83]=A,v[84]=w,v[85]=L,v[86]=e;else e=v[86];return e}function Gv(J){let[v,Q]=J;return Z(H,{flexDirection:"column",marginTop:1,children:[K(z,{dimColor:!0,children:v}),Q.map(Iv)]},v)}function Iv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",J.name,": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function bv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",Z0(J.path),": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function wv(J){let[v,Q]=J;return Z(H,{flexDirection:"column",marginTop:1,children:[K(z,{dimColor:!0,children:v}),Q.map(Lv)]},v)}function Lv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",J.agentType,": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function Nv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",J.name,": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function hv(J,v,Q){return K(H,{children:Z(z,{dimColor:!0,children:[$(v,Q)," ",J.name]})},v)}function Dv(J){return!J.isLoaded}function Cv(J){return!J.isLoaded}function Pv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",J.name,": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function Sv(J){return J.isLoaded}function Ov(J){return J.isLoaded}function Av(J){return J.name==="Free space"}function fv(J){return J.name==="Free space"}function Mv(J){return J.name==="Free space"}function Bv(J,v){return K(H,{flexDirection:"row",children:J.map(yv)},v)}function yv(J,v){if(J.categoryName==="Free space")return K(z,{dimColor:!0,children:"⛶ "},v);if(J.categoryName===z0)return K(z,{color:J.color,children:"⛝ "},v);return K(z,{color:J.color,children:J.squareFullness>=0.7?"⛁ ":"⛀ "},v)}function Rv(J){return J.name===z0}function Ev(J){return J.isDeferred&&J.name.includes("MCP")}function uv(J){return J.tokens>0&&J.name!=="Free space"&&J.name!==z0&&!J.isDeferred}var G0,z0="Autocompact buffer",Fv;var E0=X0(()=>{F0();C0();I0();V0();Vv();Yv();M0();T();G0=q0(S0(),1);Fv=["Project","User","Managed","Plugin","Built-in"]});function gv({data:J,onDone:v}){let Q=d0.useCallback(()=>v("Context dialog dismissed",{display:"system"}),[v]),X=k0(Q);return u0((U,W)=>{if(W.escape||W.return)Q()}),Z(H,{flexDirection:"column",children:[K(R0,{data:J}),K(z,{dimColor:!0,children:X.pending?`Press ${X.keyName} again to exit`:"Press esc or enter to close"})]})}function mv(J){return m0(J)}async function LJ(J,v){let{messages:Q,getAppState:X,options:{mainLoopModel:U,tools:W}}=v,Y=mv(Q),{messages:F}=await p0(Y),G=process.stdout.columns||80,I=X(),q=await g0(F,U,async()=>I.toolPermissionContext,W,I.agentDefinitions,G,v,void 0,Y);return K(gv,{data:q,onDone:J})}var d0;var jv=X0(()=>{F0();E0();pv();dv();lv();cv();T();d0=q0(kv(),1)});jv();export{LJ as call};
@@ -1 +0,0 @@
1
- import{qh as a,rh as b,sh as c}from"./cli-1.0.8-gsr9wqaw.mjs";import"./cli-1.0.8-ykwgcdbt.mjs";import"./cli-1.0.8-g9h4ay1q.mjs";import"./cli-1.0.8-4a1exx1w.mjs";import"./cli-1.0.8-zza8ns8c.mjs";import"./cli-1.0.8-kzrdbzd1.mjs";import"./cli-1.0.8-m6fhqq8r.mjs";import"./cli-1.0.8-z79r5re2.mjs";import"./cli-1.0.8-xzp5af2t.mjs";import"./cli-1.0.8-evcjjrhq.mjs";import"./cli-1.0.8-k7vkjf05.mjs";import"./cli-1.0.8-m2w20tkx.mjs";import"./cli-1.0.8-y7jd923h.mjs";import"./cli-1.0.8-sbf6n56q.mjs";import"./cli-1.0.8-3tw1xf7y.mjs";import"./cli-1.0.8-qbrw3wf3.mjs";import"./cli-1.0.8-dnyn56hh.mjs";import"./cli-1.0.8-pzesgrb2.mjs";import"./cli-1.0.8-pbxke3zm.mjs";import"./cli-1.0.8-5gn5a7p3.mjs";import"./cli-1.0.8-apm2cwth.mjs";import"./cli-1.0.8-53cy4zte.mjs";import"./cli-1.0.8-qss5sph3.mjs";import"./cli-1.0.8-5wwge1jc.mjs";import"./cli-1.0.8-m9cg4s2e.mjs";import"./cli-1.0.8-74y9exyb.mjs";import"./cli-1.0.8-rxf0zjys.mjs";import"./cli-1.0.8-0j3a18cb.mjs";import"./cli-1.0.8-x2z1s2gm.mjs";import"./cli-1.0.8-e1rqh3t5.mjs";import"./cli-1.0.8-9kjmxaz9.mjs";import"./cli-1.0.8-tfjhtagk.mjs";import"./cli-1.0.8-w6atgaqw.mjs";import"./cli-1.0.8-mhhby5pn.mjs";import"./cli-1.0.8-qzqze1a1.mjs";import"./cli-1.0.8-rna8rhza.mjs";import"./cli-1.0.8-mbhxente.mjs";import"./cli-1.0.8-7tm0v9g4.mjs";import"./cli-1.0.8-szvwf6r4.mjs";import"./cli-1.0.8-g8tpbbvt.mjs";import"./cli-1.0.8-sqbaxhfc.mjs";import"./cli-1.0.8-abdc5b5p.mjs";import"./cli-1.0.8-9y02shjc.mjs";import"./cli-1.0.8-erzw5831.mjs";import"./cli-1.0.8-fch83jc9.mjs";import"./cli-1.0.8-hgreyqck.mjs";import"./cli-1.0.8-ke76gxzw.mjs";import"./cli-1.0.8-s5kcxz2r.mjs";import"./cli-1.0.8-2vmb9a3w.mjs";import"./cli-1.0.8-czw324tt.mjs";import"./cli-1.0.8-a5h5dhvb.mjs";import"./cli-1.0.8-74zbkhyt.mjs";import"./cli-1.0.8-acrtv429.mjs";import"./cli-1.0.8-2yyas23w.mjs";import"./cli-1.0.8-gmf61bcb.mjs";import"./cli-1.0.8-z96bbp08.mjs";import"./cli-1.0.8-kzyrncv0.mjs";import"./cli-1.0.8-0w29g9sk.mjs";import"./cli-1.0.8-swts6q29.mjs";import"./cli-1.0.8-c1m2f995.mjs";import"./cli-1.0.8-3cz8c904.mjs";import"./cli-1.0.8-4wgaqcjn.mjs";import"./cli-1.0.8-zjckzq5j.mjs";import"./cli-1.0.8-592dqckn.mjs";import"./cli-1.0.8-7khq3d03.mjs";import"./cli-1.0.8-by017547.mjs";c();export{a as collectContextData,b as call};