@claudiolabs/claudin 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (853) hide show
  1. package/dist/chunks/AgentTool-0.6.3-w39w1tm9.mjs +1 -0
  2. package/dist/chunks/App-0.6.3-bf23q7fe.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.6.3-kmctgnz2.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.6.3-0ep3n5s0.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.6.3-vxra859t.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.6.3-sw13k2p8.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.3-60awaqwr.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.6.3-kk7w26bg.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.6.3-xvx07sv4.mjs +3 -0
  10. package/dist/chunks/Doctor-0.6.3-4jwxgrk8.mjs +1 -0
  11. package/dist/chunks/Grove-0.6.3-g8cwnttq.mjs +1 -0
  12. package/dist/chunks/ITermBackend-0.6.3-jdkqh9bh.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-0.6.3-0k9mawc3.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-0.6.3-j8rff6m8.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-0.6.3-car6y4n7.mjs +1 -0
  16. package/dist/chunks/Onboarding-0.6.3-m7danhhz.mjs +1 -0
  17. package/dist/chunks/ProviderManager-0.6.3-pwe3440b.mjs +1 -0
  18. package/dist/chunks/REPL-0.6.3-fgapj6pt.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-0.6.3-8m1y0n85.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-0.6.3-btb0czta.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-0.6.3-0cvtw4gc.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-0.6.3-3ns6hahg.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-0.6.3-82jmwxw0.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-0.6.3-ampabjvv.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-0.6.3-8nqsgt07.mjs +1 -0
  26. package/dist/chunks/TrustDialog-0.6.3-vd2hj09s.mjs +1 -0
  27. package/dist/chunks/activeProvider-0.6.3-b2vqxf8h.mjs +1 -0
  28. package/dist/chunks/add-dir-0.6.3-g1q6rzd5.mjs +1 -0
  29. package/dist/chunks/agents-0.6.3-q5xaz38q.mjs +3 -0
  30. package/dist/chunks/agents-0.6.3-x369fczx.mjs +110 -0
  31. package/dist/chunks/api-0.6.3-c8cpd5e4.mjs +1 -0
  32. package/dist/chunks/asciicast-0.6.3-ph0g3j31.mjs +1 -0
  33. package/dist/chunks/assistant-0.6.3-zzx692bw.mjs +1 -0
  34. package/dist/chunks/auth-0.6.3-4t0t2nkn.mjs +1 -0
  35. package/dist/chunks/auth-0.6.3-s9a1xnxb.mjs +1 -0
  36. package/dist/chunks/autoMode-0.6.3-aha41tt9.mjs +48 -0
  37. package/dist/chunks/autoUpdater-0.6.3-nknpfabv.mjs +1 -0
  38. package/dist/chunks/backgroundHousekeeping-0.6.3-t18m5mxn.mjs +1 -0
  39. package/dist/chunks/branch-0.6.3-mm6nsq5m.mjs +4 -0
  40. package/dist/chunks/bridgePointer-0.6.3-96b73p4h.mjs +1 -0
  41. package/dist/chunks/btw-0.6.3-3ad5s4cs.mjs +1 -0
  42. package/dist/chunks/buddy-0.6.3-fv2jmxew.mjs +3 -0
  43. package/dist/chunks/cacache-0.6.3-8n06prq8.mjs +1 -0
  44. package/dist/chunks/cache-probe-0.6.3-vwte845g.mjs +21 -0
  45. package/dist/chunks/cacheStats-0.6.3-3knz38ev.mjs +4 -0
  46. package/dist/chunks/caches-0.6.3-ab262f7m.mjs +1 -0
  47. package/dist/chunks/claudeDesktop-0.6.3-sw2jgmfw.mjs +1 -0
  48. package/dist/chunks/claudemd-0.6.3-ppznmrv5.mjs +1 -0
  49. package/dist/chunks/clear-0.6.3-q5ygewg2.mjs +1 -0
  50. package/dist/chunks/clearTerminal-0.6.3-k13xzp29.mjs +1 -0
  51. package/dist/chunks/cli-0.6.3-0cpgmzyt.mjs +2 -0
  52. package/dist/chunks/cli-0.6.3-0d5cxdkq.mjs +2 -0
  53. package/dist/chunks/cli-0.6.3-0f2ybbnq.mjs +2 -0
  54. package/dist/chunks/cli-0.6.3-0xzsm005.mjs +2 -0
  55. package/dist/chunks/cli-0.6.3-1hr1gfgx.mjs +2 -0
  56. package/dist/chunks/cli-0.6.3-20mtfrec.mjs +2 -0
  57. package/dist/chunks/cli-0.6.3-2seqm104.mjs +4 -0
  58. package/dist/chunks/cli-0.6.3-2znr1dn6.mjs +2 -0
  59. package/dist/chunks/cli-0.6.3-307m09be.mjs +3 -0
  60. package/dist/chunks/cli-0.6.3-32ma4ryx.mjs +58 -0
  61. package/dist/chunks/cli-0.6.3-3k3fr10v.mjs +2 -0
  62. package/dist/chunks/cli-0.6.3-3sga01kt.mjs +2 -0
  63. package/dist/chunks/cli-0.6.3-40mx2zxs.mjs +2 -0
  64. package/dist/chunks/cli-0.6.3-4jyjt985.mjs +2 -0
  65. package/dist/chunks/cli-0.6.3-4n393st8.mjs +2 -0
  66. package/dist/chunks/cli-0.6.3-4tqk3dby.mjs +12 -0
  67. package/dist/chunks/cli-0.6.3-4y6pfyfp.mjs +2 -0
  68. package/dist/chunks/cli-0.6.3-4z9781g7.mjs +2 -0
  69. package/dist/chunks/cli-0.6.3-4zj0d42m.mjs +18 -0
  70. package/dist/chunks/cli-0.6.3-5nfphar2.mjs +3 -0
  71. package/dist/chunks/cli-0.6.3-5pxyd9b0.mjs +4 -0
  72. package/dist/chunks/cli-0.6.3-5rwq19xb.mjs +2 -0
  73. package/dist/chunks/cli-0.6.3-5t2m3g99.mjs +2 -0
  74. package/dist/chunks/cli-0.6.3-6a21y020.mjs +2 -0
  75. package/dist/chunks/cli-0.6.3-6ax8m5hv.mjs +6 -0
  76. package/dist/chunks/cli-0.6.3-6cgyr2zy.mjs +4 -0
  77. package/dist/chunks/cli-0.6.3-6cvpnccg.mjs +4 -0
  78. package/dist/chunks/cli-0.6.3-6ee9dyyg.mjs +3 -0
  79. package/dist/chunks/cli-0.6.3-6h30fzt5.mjs +17 -0
  80. package/dist/chunks/cli-0.6.3-6n6gtkcy.mjs +2 -0
  81. package/dist/chunks/cli-0.6.3-6njpepxe.mjs +2 -0
  82. package/dist/chunks/cli-0.6.3-6yfw5hn3.mjs +2 -0
  83. package/dist/chunks/cli-0.6.3-7adzjn5q.mjs +34 -0
  84. package/dist/chunks/cli-0.6.3-7g460zkw.mjs +2 -0
  85. package/dist/chunks/cli-0.6.3-7qg9g8tc.mjs +2 -0
  86. package/dist/chunks/cli-0.6.3-81rrwwcp.mjs +2 -0
  87. package/dist/chunks/cli-0.6.3-8cn32ma4.mjs +2 -0
  88. package/dist/chunks/cli-0.6.3-8dsgn7hp.mjs +2 -0
  89. package/dist/chunks/cli-0.6.3-8ea1a14z.mjs +2 -0
  90. package/dist/chunks/cli-0.6.3-8ggghhkx.mjs +2 -0
  91. package/dist/chunks/cli-0.6.3-8qad2cfe.mjs +3 -0
  92. package/dist/chunks/cli-0.6.3-8syjpqfr.mjs +4 -0
  93. package/dist/chunks/cli-0.6.3-92dx7xfh.mjs +2 -0
  94. package/dist/chunks/cli-0.6.3-92mddczk.mjs +2 -0
  95. package/dist/chunks/cli-0.6.3-97118c51.mjs +2 -0
  96. package/dist/chunks/cli-0.6.3-99kq55gd.mjs +2 -0
  97. package/dist/chunks/cli-0.6.3-99tcx5qw.mjs +2 -0
  98. package/dist/chunks/cli-0.6.3-9swe2gr2.mjs +45 -0
  99. package/dist/chunks/cli-0.6.3-a9z41xw7.mjs +2 -0
  100. package/dist/chunks/cli-0.6.3-aa0b2a2r.mjs +2 -0
  101. package/dist/chunks/cli-0.6.3-aazxr34f.mjs +2 -0
  102. package/dist/chunks/cli-0.6.3-aexkp8kj.mjs +2 -0
  103. package/dist/chunks/cli-0.6.3-ajqkhkc8.mjs +3 -0
  104. package/dist/chunks/cli-0.6.3-apnw4sqn.mjs +2 -0
  105. package/dist/chunks/cli-0.6.3-ar7px1cs.mjs +3 -0
  106. package/dist/chunks/cli-0.6.3-aw337kkj.mjs +3 -0
  107. package/dist/chunks/cli-0.6.3-b773k4ts.mjs +2 -0
  108. package/dist/chunks/cli-0.6.3-b8vfg8at.mjs +2 -0
  109. package/dist/chunks/cli-0.6.3-bcqjyxwt.mjs +2 -0
  110. package/dist/chunks/cli-0.6.3-be9988sa.mjs +67 -0
  111. package/dist/chunks/cli-0.6.3-bm4fb040.mjs +2 -0
  112. package/dist/chunks/cli-0.6.3-bv459f1w.mjs +50 -0
  113. package/dist/chunks/cli-0.6.3-cbyjhbhd.mjs +2 -0
  114. package/dist/chunks/cli-0.6.3-ce093xrt.mjs +2 -0
  115. package/dist/chunks/cli-0.6.3-cfgaczs0.mjs +9 -0
  116. package/dist/chunks/cli-0.6.3-cn73stdt.mjs +2 -0
  117. package/dist/chunks/cli-0.6.3-cry1qz3j.mjs +2 -0
  118. package/dist/chunks/cli-0.6.3-ct7rzynk.mjs +25 -0
  119. package/dist/chunks/cli-0.6.3-cz70v0dc.mjs +193 -0
  120. package/dist/chunks/cli-0.6.3-dcddpada.mjs +2 -0
  121. package/dist/chunks/cli-0.6.3-djx10r48.mjs +2 -0
  122. package/dist/chunks/cli-0.6.3-dv7ypjqm.mjs +42 -0
  123. package/dist/chunks/cli-0.6.3-dx1n041e.mjs +4 -0
  124. package/dist/chunks/cli-0.6.3-e56v1kt5.mjs +2 -0
  125. package/dist/chunks/cli-0.6.3-ee53b5tf.mjs +2 -0
  126. package/dist/chunks/cli-0.6.3-efydy6w2.mjs +2 -0
  127. package/dist/chunks/cli-0.6.3-ejr47y1x.mjs +2 -0
  128. package/dist/chunks/cli-0.6.3-eqnnyg8r.mjs +10 -0
  129. package/dist/chunks/cli-0.6.3-es8pf0wd.mjs +5 -0
  130. package/dist/chunks/cli-0.6.3-eytmae68.mjs +2 -0
  131. package/dist/chunks/cli-0.6.3-f2hnrcvv.mjs +2 -0
  132. package/dist/chunks/cli-0.6.3-f6vwjwer.mjs +2 -0
  133. package/dist/chunks/cli-0.6.3-fdr38m0k.mjs +2 -0
  134. package/dist/chunks/cli-0.6.3-fdye25f4.mjs +21 -0
  135. package/dist/chunks/cli-0.6.3-fhets69t.mjs +2 -0
  136. package/dist/chunks/cli-0.6.3-fws87r5f.mjs +2 -0
  137. package/dist/chunks/cli-0.6.3-fz79skca.mjs +133 -0
  138. package/dist/chunks/cli-0.6.3-g48fakzt.mjs +4 -0
  139. package/dist/chunks/cli-0.6.3-g4gt6qj9.mjs +18 -0
  140. package/dist/chunks/cli-0.6.3-g4y759q5.mjs +2 -0
  141. package/dist/chunks/cli-0.6.3-g7nc10fr.mjs +2 -0
  142. package/dist/chunks/cli-0.6.3-g7yry9cm.mjs +2 -0
  143. package/dist/chunks/cli-0.6.3-gcncppqh.mjs +2 -0
  144. package/dist/chunks/cli-0.6.3-gm6gpvcp.mjs +2 -0
  145. package/dist/chunks/cli-0.6.3-gmb75jnx.mjs +2 -0
  146. package/dist/chunks/cli-0.6.3-grerfrmn.mjs +2 -0
  147. package/dist/chunks/cli-0.6.3-gywe2011.mjs +2 -0
  148. package/dist/chunks/cli-0.6.3-gz3mwtfc.mjs +15 -0
  149. package/dist/chunks/cli-0.6.3-h1yy6vwa.mjs +3 -0
  150. package/dist/chunks/cli-0.6.3-h9dw5s07.mjs +2 -0
  151. package/dist/chunks/cli-0.6.3-h9pgh5g6.mjs +3 -0
  152. package/dist/chunks/cli-0.6.3-hccmsmnq.mjs +2 -0
  153. package/dist/chunks/cli-0.6.3-hz8r1b9m.mjs +2 -0
  154. package/dist/chunks/cli-0.6.3-jc158pav.mjs +3 -0
  155. package/dist/chunks/cli-0.6.3-jh5sabys.mjs +2 -0
  156. package/dist/chunks/cli-0.6.3-jwkcjnvk.mjs +2 -0
  157. package/dist/chunks/cli-0.6.3-k2n0q631.mjs +39 -0
  158. package/dist/chunks/cli-0.6.3-k5rdtkfr.mjs +3 -0
  159. package/dist/chunks/cli-0.6.3-kay5e0jz.mjs +2 -0
  160. package/dist/chunks/cli-0.6.3-kfn8srsd.mjs +2 -0
  161. package/dist/chunks/cli-0.6.3-kwnp45kq.mjs +2 -0
  162. package/dist/chunks/cli-0.6.3-kz9egvgw.mjs +5323 -0
  163. package/dist/chunks/cli-0.6.3-m74nx2m5.mjs +2 -0
  164. package/dist/chunks/cli-0.6.3-mc6kp3j9.mjs +18 -0
  165. package/dist/chunks/cli-0.6.3-mcmskrq3.mjs +7 -0
  166. package/dist/chunks/cli-0.6.3-mwmvdr0y.mjs +2 -0
  167. package/dist/chunks/cli-0.6.3-mwvq805r.mjs +2 -0
  168. package/dist/chunks/cli-0.6.3-n0nvqsep.mjs +2 -0
  169. package/dist/chunks/cli-0.6.3-n2d97bhc.mjs +2 -0
  170. package/dist/chunks/cli-0.6.3-n3f5zh7x.mjs +2 -0
  171. package/dist/chunks/cli-0.6.3-n95caxs7.mjs +6 -0
  172. package/dist/chunks/cli-0.6.3-nawttnnp.mjs +16 -0
  173. package/dist/chunks/cli-0.6.3-ny9veqgk.mjs +2 -0
  174. package/dist/chunks/cli-0.6.3-p3cb5wr9.mjs +4 -0
  175. package/dist/chunks/cli-0.6.3-p6tkk7cq.mjs +2 -0
  176. package/dist/chunks/cli-0.6.3-pj26ahpb.mjs +15 -0
  177. package/dist/chunks/cli-0.6.3-pqq8j8h2.mjs +2 -0
  178. package/dist/chunks/cli-0.6.3-przsjt5w.mjs +2 -0
  179. package/dist/chunks/cli-0.6.3-pt8n31ph.mjs +2 -0
  180. package/dist/chunks/cli-0.6.3-q35m6zsh.mjs +2 -0
  181. package/dist/chunks/cli-0.6.3-qh59pqrb.mjs +2 -0
  182. package/dist/chunks/cli-0.6.3-qj1bfrer.mjs +15 -0
  183. package/dist/chunks/cli-0.6.3-qse47680.mjs +5 -0
  184. package/dist/chunks/cli-0.6.3-qt063vx3.mjs +2 -0
  185. package/dist/chunks/cli-0.6.3-r08n6yst.mjs +2 -0
  186. package/dist/chunks/cli-0.6.3-r0chaj0m.mjs +2 -0
  187. package/dist/chunks/cli-0.6.3-r0pavcpp.mjs +2 -0
  188. package/dist/chunks/cli-0.6.3-r8snnnev.mjs +2 -0
  189. package/dist/chunks/cli-0.6.3-r9spk5d9.mjs +2 -0
  190. package/dist/chunks/cli-0.6.3-razq4hma.mjs +2 -0
  191. package/dist/chunks/cli-0.6.3-rbhgbyc8.mjs +24 -0
  192. package/dist/chunks/cli-0.6.3-rcd74wx6.mjs +9 -0
  193. package/dist/chunks/cli-0.6.3-rha5x3b1.mjs +2 -0
  194. package/dist/chunks/cli-0.6.3-rm69szc5.mjs +2 -0
  195. package/dist/chunks/cli-0.6.3-rxzhhezk.mjs +2 -0
  196. package/dist/chunks/cli-0.6.3-ry8ff2h4.mjs +4 -0
  197. package/dist/chunks/cli-0.6.3-rz3jyy54.mjs +133 -0
  198. package/dist/chunks/cli-0.6.3-rzva33s6.mjs +2 -0
  199. package/dist/chunks/cli-0.6.3-s12drscf.mjs +2 -0
  200. package/dist/chunks/cli-0.6.3-sxj65pz4.mjs +2 -0
  201. package/dist/chunks/cli-0.6.3-syb9w8h5.mjs +2 -0
  202. package/dist/chunks/cli-0.6.3-sz0yt1ax.mjs +59 -0
  203. package/dist/chunks/cli-0.6.3-te71cc6c.mjs +8 -0
  204. package/dist/chunks/cli-0.6.3-tjykjtxh.mjs +6 -0
  205. package/dist/chunks/cli-0.6.3-v3fjzj8a.mjs +12 -0
  206. package/dist/chunks/cli-0.6.3-vcpzn6r6.mjs +2 -0
  207. package/dist/chunks/cli-0.6.3-vdzjz0qm.mjs +2 -0
  208. package/dist/chunks/cli-0.6.3-ve8f981m.mjs +3 -0
  209. package/dist/chunks/cli-0.6.3-vp1zy3b1.mjs +2 -0
  210. package/dist/chunks/cli-0.6.3-vsvcyfnd.mjs +17 -0
  211. package/dist/chunks/cli-0.6.3-w038em13.mjs +2 -0
  212. package/dist/chunks/cli-0.6.3-w3rq9jx1.mjs +2 -0
  213. package/dist/chunks/cli-0.6.3-wfrn6z2y.mjs +24 -0
  214. package/dist/chunks/cli-0.6.3-whtn6spz.mjs +2 -0
  215. package/dist/chunks/cli-0.6.3-wr2sys6k.mjs +2 -0
  216. package/dist/chunks/cli-0.6.3-wvdzc276.mjs +1 -0
  217. package/dist/chunks/cli-0.6.3-wwmrkyrs.mjs +20 -0
  218. package/dist/chunks/cli-0.6.3-wws3zqpm.mjs +2 -0
  219. package/dist/chunks/cli-0.6.3-x6f1pr27.mjs +2 -0
  220. package/dist/chunks/cli-0.6.3-x78bwn0g.mjs +5 -0
  221. package/dist/chunks/cli-0.6.3-xe5mxfxe.mjs +2 -0
  222. package/dist/chunks/cli-0.6.3-xewp168m.mjs +2 -0
  223. package/dist/chunks/cli-0.6.3-y1aakb6y.mjs +2 -0
  224. package/dist/chunks/cli-0.6.3-y1mm0v8x.mjs +2 -0
  225. package/dist/chunks/cli-0.6.3-y30hptm0.mjs +2 -0
  226. package/dist/chunks/cli-0.6.3-y61armem.mjs +2 -0
  227. package/dist/chunks/cli-0.6.3-y8ymw6ed.mjs +2 -0
  228. package/dist/chunks/cli-0.6.3-yk56wjb7.mjs +2 -0
  229. package/dist/chunks/cli-0.6.3-ym6dcvjc.mjs +2 -0
  230. package/dist/chunks/cli-0.6.3-ymhjs7dc.mjs +2 -0
  231. package/dist/chunks/cli-0.6.3-ysazbe18.mjs +2 -0
  232. package/dist/chunks/cli-0.6.3-ywk23cbf.mjs +2 -0
  233. package/dist/chunks/cli-0.6.3-z19b5v43.mjs +2 -0
  234. package/dist/chunks/cli-0.6.3-z6sz55zd.mjs +2 -0
  235. package/dist/chunks/cli-0.6.3-z8vc44s1.mjs +2 -0
  236. package/dist/chunks/cli-0.6.3-zd6bnvyc.mjs +4 -0
  237. package/dist/chunks/cli-0.6.3-zmn1fgaa.mjs +2 -0
  238. package/dist/chunks/cli-0.6.3-zqvgfprs.mjs +2 -0
  239. package/dist/chunks/cli-0.6.3-zy0jc7vm.mjs +12 -0
  240. package/dist/chunks/cli-0.6.3-zyrsvq59.mjs +2 -0
  241. package/dist/chunks/client-0.6.3-6pn9sb4n.mjs +1 -0
  242. package/dist/chunks/color-0.6.3-2hpfj774.mjs +1 -0
  243. package/dist/chunks/compact-0.6.3-dnwdmmz1.mjs +3 -0
  244. package/dist/chunks/config-0.6.3-tjhtvb07.mjs +1 -0
  245. package/dist/chunks/config-0.6.3-z2wgyz10.mjs +1 -0
  246. package/dist/chunks/constants-0.6.3-qha9fz15.mjs +1 -0
  247. package/dist/chunks/context-0.6.3-vka61j1y.mjs +1 -0
  248. package/dist/chunks/context-noninteractive-0.6.3-eztt7zsf.mjs +1 -0
  249. package/dist/chunks/conversation-0.6.3-2ek3hdrq.mjs +1 -0
  250. package/dist/chunks/copilotHeaders-0.6.3-62c0y07g.mjs +1 -0
  251. package/dist/chunks/copy-0.6.3-gekdww8z.mjs +9 -0
  252. package/dist/chunks/cost-0.6.3-a2yhjbn3.mjs +1 -0
  253. package/dist/chunks/createSSHSession-0.6.3-5tn04mse.mjs +1 -0
  254. package/dist/chunks/createSession-0.6.3-kyn5dc4w.mjs +1 -0
  255. package/dist/chunks/debug-0.6.3-66czfwwr.mjs +1 -0
  256. package/dist/chunks/defaultActionDeps-0.6.3-x9wk9j9m.mjs +1365 -0
  257. package/dist/chunks/desktop-0.6.3-p8kgbeab.mjs +1 -0
  258. package/dist/chunks/detectRepository-0.6.3-8698wvb5.mjs +1 -0
  259. package/dist/chunks/detection-0.6.3-1y7661gd.mjs +1 -0
  260. package/dist/chunks/diff-0.6.3-mk0y1bzd.mjs +1 -0
  261. package/dist/chunks/doctor-0.6.3-xvwcr7dp.mjs +1 -0
  262. package/dist/chunks/doctorDiagnostic-0.6.3-th9mec17.mjs +1 -0
  263. package/dist/chunks/earlyInput-0.6.3-642zt7fp.mjs +1 -0
  264. package/dist/chunks/effort-0.6.3-zvkntxpn.mjs +10 -0
  265. package/dist/chunks/envUtils-0.6.3-yazqghf2.mjs +1 -0
  266. package/dist/chunks/environmentSelection-0.6.3-0bcr6rhg.mjs +1 -0
  267. package/dist/chunks/environments-0.6.3-2tyy264w.mjs +1 -0
  268. package/dist/chunks/errors-0.6.3-65brz247.mjs +1 -0
  269. package/dist/chunks/exampleCommands-0.6.3-ktqksq57.mjs +1 -0
  270. package/dist/chunks/exit-0.6.3-0ce6gh5m.mjs +1 -0
  271. package/dist/chunks/export-0.6.3-e2mjekav.mjs +2 -0
  272. package/dist/chunks/extra-usage-0.6.3-hqp8h6yy.mjs +1 -0
  273. package/dist/chunks/extra-usage-noninteractive-0.6.3-rfyx9kw2.mjs +1 -0
  274. package/dist/chunks/fast-0.6.3-1jg7ysjx.mjs +1 -0
  275. package/dist/chunks/feedback-0.6.3-1tb6qds2.mjs +14 -0
  276. package/dist/chunks/firstPartyEventLogger-0.6.3-c9kfz0k1.mjs +1 -0
  277. package/dist/chunks/git-0.6.3-vzgvhd0s.mjs +1 -0
  278. package/dist/chunks/githubModelsCredentials-0.6.3-9qcrf80c.mjs +1 -0
  279. package/dist/chunks/goal-0.6.3-mf91z3fg.mjs +4 -0
  280. package/dist/chunks/grove-0.6.3-mmn276sp.mjs +1 -0
  281. package/dist/chunks/growthbook-0.6.3-4p9xew93.mjs +1 -0
  282. package/dist/chunks/headless-0.6.3-qgmxgj70.mjs +2 -0
  283. package/dist/chunks/heapdump-0.6.3-2w4fe2zs.mjs +6 -0
  284. package/dist/chunks/help-0.6.3-wf4xf793.mjs +1 -0
  285. package/dist/chunks/hookChains-0.6.3-q342m95f.mjs +3 -0
  286. package/dist/chunks/hooks-0.6.3-0r48akk8.mjs +79 -0
  287. package/dist/chunks/hooks-0.6.3-r14ya7wn.mjs +1 -0
  288. package/dist/chunks/ide-0.6.3-ad8afpp9.mjs +3 -0
  289. package/dist/chunks/image-processor-napi-0.6.3-tva04ya1.mjs +1 -0
  290. package/dist/chunks/index-0.6.3-0hyrtrrm.mjs +9 -0
  291. package/dist/chunks/index-0.6.3-0vhzk5yx.mjs +5 -0
  292. package/dist/chunks/index-0.6.3-1ykp8wv0.mjs +2 -0
  293. package/dist/chunks/index-0.6.3-2bzz31fe.mjs +1 -0
  294. package/dist/chunks/index-0.6.3-55v75g6w.mjs +1 -0
  295. package/dist/chunks/index-0.6.3-6rpbscw7.mjs +17 -0
  296. package/dist/chunks/index-0.6.3-7mch7z3a.mjs +1 -0
  297. package/dist/chunks/index-0.6.3-858y11er.mjs +1 -0
  298. package/dist/chunks/index-0.6.3-a40sh9ap.mjs +1 -0
  299. package/dist/chunks/index-0.6.3-aj0c98mr.mjs +1 -0
  300. package/dist/chunks/index-0.6.3-b9fkqrrw.mjs +1 -0
  301. package/dist/chunks/index-0.6.3-f5732qxw.mjs +1 -0
  302. package/dist/chunks/index-0.6.3-f5w18za6.mjs +1 -0
  303. package/dist/chunks/index-0.6.3-f6h116cn.mjs +2 -0
  304. package/dist/chunks/index-0.6.3-htq5dpvs.mjs +30 -0
  305. package/dist/chunks/index-0.6.3-hv4mfh2n.mjs +1 -0
  306. package/dist/chunks/index-0.6.3-kadhv0zg.mjs +9 -0
  307. package/dist/chunks/index-0.6.3-tsd8ykv3.mjs +1 -0
  308. package/dist/chunks/index-0.6.3-w2hywyvr.mjs +1 -0
  309. package/dist/chunks/index-0.6.3-wk9kzbcz.mjs +1 -0
  310. package/dist/chunks/index-0.6.3-ygqhtfnf.mjs +1 -0
  311. package/dist/chunks/index-0.6.3-yvah3e6g.mjs +1 -0
  312. package/dist/chunks/init-0.6.3-xaeb8hxb.mjs +1 -0
  313. package/dist/chunks/initReplBridge-0.6.3-nmmr7v8v.mjs +1 -0
  314. package/dist/chunks/ink-0.6.3-6m2sw7dq.mjs +1 -0
  315. package/dist/chunks/insights-0.6.3-6b93b8nm.mjs +870 -0
  316. package/dist/chunks/install-0.6.3-y9zek66z.mjs +1 -0
  317. package/dist/chunks/install-github-app-0.6.3-899pnvtd.mjs +149 -0
  318. package/dist/chunks/install-slack-app-0.6.3-f8saspck.mjs +1 -0
  319. package/dist/chunks/instrumentation-0.6.3-defghs68.mjs +1 -0
  320. package/dist/chunks/interactiveHelpers-0.6.3-7ec0qnvv.mjs +1 -0
  321. package/dist/chunks/keybindings-0.6.3-eh7rjbha.mjs +2 -0
  322. package/dist/chunks/knowledge-0.6.3-a7pn2e1w.mjs +2 -0
  323. package/dist/chunks/latestVersionCache-0.6.3-vf3mkz2d.mjs +1 -0
  324. package/dist/chunks/loadAgentsDir-0.6.3-ykqa9b2g.mjs +1 -0
  325. package/dist/chunks/loadPluginHooks-0.6.3-jxaehczd.mjs +1 -0
  326. package/dist/chunks/loadPluginHooks-0.6.3-mfka3vhj.mjs +1 -0
  327. package/dist/chunks/log-0.6.3-g789gq0t.mjs +1 -0
  328. package/dist/chunks/main-0.6.3-50ac806r.mjs +1 -0
  329. package/dist/chunks/managedEnv-0.6.3-q5zxn368.mjs +1 -0
  330. package/dist/chunks/mcp-0.6.3-4x3akzq5.mjs +4 -0
  331. package/dist/chunks/mcp-0.6.3-e3me04x4.mjs +17 -0
  332. package/dist/chunks/mcp-0.6.3-z1ebxf4w.mjs +1 -0
  333. package/dist/chunks/mcpb-0.6.3-sh1jp60e.mjs +1 -0
  334. package/dist/chunks/memory-0.6.3-03636fpt.mjs +3 -0
  335. package/dist/chunks/mobile-0.6.3-xz0z3r1b.mjs +2 -0
  336. package/dist/chunks/model-0.6.3-s0ftwaqt.mjs +1 -0
  337. package/dist/chunks/model-0.6.3-yzwee2pm.mjs +2 -0
  338. package/dist/chunks/node-0.6.3-ne7h3hdm.mjs +12 -0
  339. package/dist/chunks/oauth-0.6.3-vxgkeqfx.mjs +1 -0
  340. package/dist/chunks/openaiShim-0.6.3-4y4sanm3.mjs +14 -0
  341. package/dist/chunks/output-style-0.6.3-y1p13wj7.mjs +1 -0
  342. package/dist/chunks/package-D6422PQU-0.6.3-x4wa2xz2.mjs +1 -0
  343. package/dist/chunks/parseConnectUrl-0.6.3-her0fmnw.mjs +1 -0
  344. package/dist/chunks/parser-0.6.3-c46sjdq2.mjs +1 -0
  345. package/dist/chunks/passes-0.6.3-egz6jv5r.mjs +1 -0
  346. package/dist/chunks/permissions-0.6.3-8bgzzv8a.mjs +3 -0
  347. package/dist/chunks/plan-0.6.3-2fftma7h.mjs +1 -0
  348. package/dist/chunks/plist-0.6.3-h310zzhq.mjs +1 -0
  349. package/dist/chunks/plugin-0.6.3-5vjh0ct6.mjs +29 -0
  350. package/dist/chunks/pluginStartupCheck-0.6.3-jqsmye9d.mjs +1 -0
  351. package/dist/chunks/plugins-0.6.3-feg1sfss.mjs +9 -0
  352. package/dist/chunks/preActionHook-0.6.3-7zkaatsy.mjs +2 -0
  353. package/dist/chunks/print-0.6.3-q8j3mpqd.mjs +57 -0
  354. package/dist/chunks/privacy-settings-0.6.3-7td307c8.mjs +1 -0
  355. package/dist/chunks/process-0.6.3-xfesfn5r.mjs +1 -0
  356. package/dist/chunks/processBashCommand-0.6.3-jh7fc2p4.mjs +1 -0
  357. package/dist/chunks/processSlashCommand-0.6.3-bf00222w.mjs +9 -0
  358. package/dist/chunks/prompt-0.6.3-2n702z0c.mjs +1 -0
  359. package/dist/chunks/prompt-0.6.3-61gvwdqd.mjs +1 -0
  360. package/dist/chunks/prompts-0.6.3-gctcm2tt.mjs +1 -0
  361. package/dist/chunks/protocolHandler-0.6.3-nkgq5zh2.mjs +13 -0
  362. package/dist/chunks/provider-0.6.3-dz35mvz8.mjs +2 -0
  363. package/dist/chunks/providerProfiles-0.6.3-sc68wn0p.mjs +1 -0
  364. package/dist/chunks/providerValidation-0.6.3-tz2xs2w2.mjs +6 -0
  365. package/dist/chunks/rate-limit-options-0.6.3-q18p5fyf.mjs +1 -0
  366. package/dist/chunks/registerSubcommands-0.6.3-68qc2fq7.mjs +34 -0
  367. package/dist/chunks/registry-0.6.3-ftde6jbj.mjs +1 -0
  368. package/dist/chunks/release-notes-0.6.3-sape6p4t.mjs +5 -0
  369. package/dist/chunks/reload-plugins-0.6.3-1ww9raz4.mjs +2 -0
  370. package/dist/chunks/remote-env-0.6.3-3ck8cv8d.mjs +1 -0
  371. package/dist/chunks/remoteBridgeCore-0.6.3-5s27069y.mjs +1 -0
  372. package/dist/chunks/remoteSession-0.6.3-h9rgyr6h.mjs +1 -0
  373. package/dist/chunks/rename-0.6.3-f6d3tb9q.mjs +1 -0
  374. package/dist/chunks/replBridgeHandle-0.6.3-03kbs579.mjs +1 -0
  375. package/dist/chunks/replLauncher-0.6.3-m72mhx4g.mjs +1 -0
  376. package/dist/chunks/resume-0.6.3-ddb3xb3e.mjs +2 -0
  377. package/dist/chunks/rewind-0.6.3-rr4jn9nq.mjs +1 -0
  378. package/dist/chunks/rootOptions-0.6.3-z0z2w1ta.mjs +1 -0
  379. package/dist/chunks/sandbox-adapter-0.6.3-h9z3rn4v.mjs +1 -0
  380. package/dist/chunks/sandbox-toggle-0.6.3-1z9yck8k.mjs +1 -0
  381. package/dist/chunks/session-0.6.3-697bvb39.mjs +2 -0
  382. package/dist/chunks/sessionDiscovery-0.6.3-k3n13gqg.mjs +1 -0
  383. package/dist/chunks/sessionFileAccessHooks-0.6.3-kgecz2s9.mjs +1 -0
  384. package/dist/chunks/sessionStorage-0.6.3-04ceqntr.mjs +1 -0
  385. package/dist/chunks/settings-0.6.3-1wnc9skg.mjs +1 -0
  386. package/dist/chunks/setup-0.6.3-7eq77dy4.mjs +5 -0
  387. package/dist/chunks/sinks-0.6.3-ph10xa21.mjs +1 -0
  388. package/dist/chunks/skills-0.6.3-sk53kf9f.mjs +1 -0
  389. package/dist/chunks/startupProfiler-0.6.3-mmnjxrje.mjs +1 -0
  390. package/dist/chunks/startupUpdateCheck-0.6.3-0hwcpdc7.mjs +1 -0
  391. package/dist/chunks/state-0.6.3-e3zvped3.mjs +1 -0
  392. package/dist/chunks/stats-0.6.3-8wqbhpqy.mjs +6 -0
  393. package/dist/chunks/status-0.6.3-xjt0xtzy.mjs +1 -0
  394. package/dist/chunks/stickers-0.6.3-vs74c03z.mjs +1 -0
  395. package/dist/chunks/subprocessEnv-0.6.3-5dg03vx3.mjs +1 -0
  396. package/dist/chunks/tasks-0.6.3-dxy60zkj.mjs +1 -0
  397. package/dist/chunks/teamHelpers-0.6.3-jqpd5tn3.mjs +1 -0
  398. package/dist/chunks/teammateModeSnapshot-0.6.3-fpdghs7t.mjs +1 -0
  399. package/dist/chunks/teleport-0.6.3-46bbcspy.mjs +1 -0
  400. package/dist/chunks/terminalSetup-0.6.3-ww94vcqs.mjs +1 -0
  401. package/dist/chunks/theme-0.6.3-kjdtgstr.mjs +1 -0
  402. package/dist/chunks/thinkback-0.6.3-1txnapj2.mjs +1 -0
  403. package/dist/chunks/thinkback-play-0.6.3-96tda7vb.mjs +1 -0
  404. package/dist/chunks/toolPool-0.6.3-0e12cvy1.mjs +1 -0
  405. package/dist/chunks/toolSearch-0.6.3-d1pppx0c.mjs +1 -0
  406. package/dist/chunks/tools-0.6.3-w0rtmt3t.mjs +1 -0
  407. package/dist/chunks/trustedDevice-0.6.3-qap15xhb.mjs +1 -0
  408. package/dist/chunks/turndown.cjs-0.6.3-9pgbeyf6.mjs +69 -0
  409. package/dist/chunks/ultrareviewCommand-0.6.3-v4wvkr58.mjs +4 -0
  410. package/dist/chunks/update-0.6.3-6tah7v14.mjs +86 -0
  411. package/dist/chunks/upgrade-0.6.3-mtpg4ynr.mjs +1 -0
  412. package/dist/chunks/upstreamproxy-0.6.3-fg6qwves.mjs +14 -0
  413. package/dist/chunks/url-handler-napi-0.6.3-4zzkq08v.mjs +1 -0
  414. package/dist/chunks/usage-0.6.3-1b3cmsnk.mjs +1 -0
  415. package/dist/chunks/util-0.6.3-e72k34ck.mjs +1 -0
  416. package/dist/chunks/utils-0.6.3-ahkqyjmy.mjs +1 -0
  417. package/dist/chunks/vim-0.6.3-r0f9g732.mjs +1 -0
  418. package/dist/chunks/watcher-0.6.3-5xzd92av.mjs +1 -0
  419. package/dist/chunks/wiki-0.6.3-ytee2j21.mjs +132 -0
  420. package/dist/chunks/worktree-0.6.3-cmybg2s4.mjs +1 -0
  421. package/dist/chunks/worktreeModeEnabled-0.6.3-8k06dfjq.mjs +1 -0
  422. package/dist/chunks/wrapper-0.6.3-hct87zwr.mjs +7 -0
  423. package/dist/claudin-vscode.vsix +0 -0
  424. package/dist/cli.mjs +2 -2
  425. package/package.json +1 -1
  426. package/dist/chunks/AgentTool-0.6.2-he5a0dam.mjs +0 -1
  427. package/dist/chunks/App-0.6.2-81hq55t1.mjs +0 -1
  428. package/dist/chunks/ApproveApiKey-0.6.2-08hjmc7a.mjs +0 -1
  429. package/dist/chunks/AssistantSessionChooser-0.6.2-0r37ejyw.mjs +0 -1
  430. package/dist/chunks/AutoModeOptInDialog-0.6.2-k5q2wq69.mjs +0 -1
  431. package/dist/chunks/BypassPermissionsModeDialog-0.6.2-q2vnf20c.mjs +0 -1
  432. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.2-nsje6vp4.mjs +0 -1
  433. package/dist/chunks/ConsoleOAuthFlow-0.6.2-0td2rsrs.mjs +0 -1
  434. package/dist/chunks/DiffDialog-0.6.2-6yg14gsy.mjs +0 -3
  435. package/dist/chunks/Doctor-0.6.2-3wbjtm02.mjs +0 -1
  436. package/dist/chunks/Grove-0.6.2-baqbhjjj.mjs +0 -1
  437. package/dist/chunks/ITermBackend-0.6.2-zmtwee85.mjs +0 -1
  438. package/dist/chunks/InvalidConfigDialog-0.6.2-yxzmem78.mjs +0 -1
  439. package/dist/chunks/InvalidSettingsDialog-0.6.2-fp9sq2qx.mjs +0 -1
  440. package/dist/chunks/MigrationDialog-0.6.2-yvf4s2y6.mjs +0 -1
  441. package/dist/chunks/Onboarding-0.6.2-y1rgs60d.mjs +0 -1
  442. package/dist/chunks/ProviderManager-0.6.2-cp0pxj1c.mjs +0 -1
  443. package/dist/chunks/REPL-0.6.2-ab1c9240.mjs +0 -1
  444. package/dist/chunks/ResumeConversation-0.6.2-sc3b5r7q.mjs +0 -1
  445. package/dist/chunks/SnapshotUpdateDialog-0.6.2-8sv3ddk7.mjs +0 -1
  446. package/dist/chunks/TeleportProgress-0.6.2-wa2hgv37.mjs +0 -1
  447. package/dist/chunks/TeleportRepoMismatchDialog-0.6.2-a3a7fv1a.mjs +0 -1
  448. package/dist/chunks/TeleportResumeWrapper-0.6.2-2n1ktp6n.mjs +0 -1
  449. package/dist/chunks/TmuxBackend-0.6.2-qbc4yk54.mjs +0 -9
  450. package/dist/chunks/ToolSearchTool-0.6.2-384g3ky4.mjs +0 -1
  451. package/dist/chunks/TrustDialog-0.6.2-egpnc3w1.mjs +0 -1
  452. package/dist/chunks/activeProvider-0.6.2-w0ja3pnw.mjs +0 -1
  453. package/dist/chunks/add-dir-0.6.2-srcrq97m.mjs +0 -1
  454. package/dist/chunks/agents-0.6.2-pwkawpda.mjs +0 -110
  455. package/dist/chunks/agents-0.6.2-v40vzjvy.mjs +0 -3
  456. package/dist/chunks/api-0.6.2-r9z30232.mjs +0 -1
  457. package/dist/chunks/asciicast-0.6.2-dtanhyb8.mjs +0 -1
  458. package/dist/chunks/assistant-0.6.2-29e26n3s.mjs +0 -1
  459. package/dist/chunks/auth-0.6.2-azq9yv0m.mjs +0 -1
  460. package/dist/chunks/auth-0.6.2-ndpcgcx5.mjs +0 -1
  461. package/dist/chunks/autoMode-0.6.2-w921k0xq.mjs +0 -48
  462. package/dist/chunks/autoUpdater-0.6.2-gwvkqpt8.mjs +0 -1
  463. package/dist/chunks/backgroundHousekeeping-0.6.2-7p2jxjem.mjs +0 -1
  464. package/dist/chunks/branch-0.6.2-tx9vvnkh.mjs +0 -4
  465. package/dist/chunks/bridgePointer-0.6.2-vm11xngr.mjs +0 -1
  466. package/dist/chunks/btw-0.6.2-s76cg2fz.mjs +0 -1
  467. package/dist/chunks/buddy-0.6.2-0ck2kabw.mjs +0 -3
  468. package/dist/chunks/cacache-0.6.2-c87f0fw9.mjs +0 -1
  469. package/dist/chunks/cache-probe-0.6.2-nhq6d99v.mjs +0 -21
  470. package/dist/chunks/cacheStats-0.6.2-wjqpder6.mjs +0 -4
  471. package/dist/chunks/caches-0.6.2-ckpe4m10.mjs +0 -1
  472. package/dist/chunks/claudeDesktop-0.6.2-9xry3zxj.mjs +0 -1
  473. package/dist/chunks/claudemd-0.6.2-eevm7pz1.mjs +0 -1
  474. package/dist/chunks/clear-0.6.2-301n503a.mjs +0 -1
  475. package/dist/chunks/clearTerminal-0.6.2-qgg50hxe.mjs +0 -1
  476. package/dist/chunks/cli-0.6.2-0cpmb5wg.mjs +0 -42
  477. package/dist/chunks/cli-0.6.2-0f9sh5z8.mjs +0 -4
  478. package/dist/chunks/cli-0.6.2-0p39svq8.mjs +0 -2
  479. package/dist/chunks/cli-0.6.2-1acc8mpr.mjs +0 -2
  480. package/dist/chunks/cli-0.6.2-1ahapm20.mjs +0 -2
  481. package/dist/chunks/cli-0.6.2-1b9hx344.mjs +0 -2
  482. package/dist/chunks/cli-0.6.2-1g0gmdck.mjs +0 -2
  483. package/dist/chunks/cli-0.6.2-1hrabb68.mjs +0 -3
  484. package/dist/chunks/cli-0.6.2-1wj8sm5y.mjs +0 -9
  485. package/dist/chunks/cli-0.6.2-1y907j57.mjs +0 -2
  486. package/dist/chunks/cli-0.6.2-22zkw0rp.mjs +0 -2
  487. package/dist/chunks/cli-0.6.2-26qywcgz.mjs +0 -2
  488. package/dist/chunks/cli-0.6.2-2aj7wfhk.mjs +0 -2
  489. package/dist/chunks/cli-0.6.2-2ewwghbe.mjs +0 -3
  490. package/dist/chunks/cli-0.6.2-2jg2f49s.mjs +0 -2
  491. package/dist/chunks/cli-0.6.2-2z19ppek.mjs +0 -15
  492. package/dist/chunks/cli-0.6.2-334vw6ys.mjs +0 -2
  493. package/dist/chunks/cli-0.6.2-3mpd0wjn.mjs +0 -2
  494. package/dist/chunks/cli-0.6.2-3r8vgmhb.mjs +0 -2
  495. package/dist/chunks/cli-0.6.2-3rgtxc9f.mjs +0 -2
  496. package/dist/chunks/cli-0.6.2-40pc2aj2.mjs +0 -2
  497. package/dist/chunks/cli-0.6.2-42d88f3r.mjs +0 -2
  498. package/dist/chunks/cli-0.6.2-43f0sknv.mjs +0 -2
  499. package/dist/chunks/cli-0.6.2-43qjtqa5.mjs +0 -2
  500. package/dist/chunks/cli-0.6.2-4a5t390f.mjs +0 -2
  501. package/dist/chunks/cli-0.6.2-4drhcx9k.mjs +0 -15
  502. package/dist/chunks/cli-0.6.2-4kcvb5en.mjs +0 -2
  503. package/dist/chunks/cli-0.6.2-4ke2trrq.mjs +0 -39
  504. package/dist/chunks/cli-0.6.2-4p9wa0p6.mjs +0 -5323
  505. package/dist/chunks/cli-0.6.2-4py7r63v.mjs +0 -2
  506. package/dist/chunks/cli-0.6.2-4r69ge5f.mjs +0 -59
  507. package/dist/chunks/cli-0.6.2-5d05m4xc.mjs +0 -2
  508. package/dist/chunks/cli-0.6.2-5jempndm.mjs +0 -133
  509. package/dist/chunks/cli-0.6.2-657fbmws.mjs +0 -2
  510. package/dist/chunks/cli-0.6.2-6bacgc39.mjs +0 -3
  511. package/dist/chunks/cli-0.6.2-6g0t3j91.mjs +0 -5
  512. package/dist/chunks/cli-0.6.2-6g8yfn0m.mjs +0 -2
  513. package/dist/chunks/cli-0.6.2-6kn7z0zj.mjs +0 -3
  514. package/dist/chunks/cli-0.6.2-6wk99hh1.mjs +0 -3
  515. package/dist/chunks/cli-0.6.2-73vnf2t2.mjs +0 -4
  516. package/dist/chunks/cli-0.6.2-74x1d5s0.mjs +0 -2
  517. package/dist/chunks/cli-0.6.2-7egesyh9.mjs +0 -4
  518. package/dist/chunks/cli-0.6.2-7rmm482v.mjs +0 -12
  519. package/dist/chunks/cli-0.6.2-7rmymgpp.mjs +0 -2
  520. package/dist/chunks/cli-0.6.2-7z82z1hp.mjs +0 -25
  521. package/dist/chunks/cli-0.6.2-83ennmm8.mjs +0 -21
  522. package/dist/chunks/cli-0.6.2-8ka8msyf.mjs +0 -2
  523. package/dist/chunks/cli-0.6.2-8ksqzwe8.mjs +0 -5
  524. package/dist/chunks/cli-0.6.2-8v8sktjd.mjs +0 -10
  525. package/dist/chunks/cli-0.6.2-8y3j75c7.mjs +0 -2
  526. package/dist/chunks/cli-0.6.2-974c5e67.mjs +0 -9
  527. package/dist/chunks/cli-0.6.2-9j01vvqt.mjs +0 -2
  528. package/dist/chunks/cli-0.6.2-9mwrq250.mjs +0 -3
  529. package/dist/chunks/cli-0.6.2-9n2g6k9w.mjs +0 -2
  530. package/dist/chunks/cli-0.6.2-9n9cpja7.mjs +0 -2
  531. package/dist/chunks/cli-0.6.2-9qtj477e.mjs +0 -2
  532. package/dist/chunks/cli-0.6.2-9w9nmx9s.mjs +0 -2
  533. package/dist/chunks/cli-0.6.2-9ybnhjj8.mjs +0 -4
  534. package/dist/chunks/cli-0.6.2-a8atyp18.mjs +0 -2
  535. package/dist/chunks/cli-0.6.2-ahaj5z3h.mjs +0 -2
  536. package/dist/chunks/cli-0.6.2-aq30pg47.mjs +0 -2
  537. package/dist/chunks/cli-0.6.2-aqxemf9h.mjs +0 -6
  538. package/dist/chunks/cli-0.6.2-b34y2qb7.mjs +0 -2
  539. package/dist/chunks/cli-0.6.2-b88e6p6d.mjs +0 -2
  540. package/dist/chunks/cli-0.6.2-b8r77v7s.mjs +0 -2
  541. package/dist/chunks/cli-0.6.2-bkff60ff.mjs +0 -2
  542. package/dist/chunks/cli-0.6.2-br678d1b.mjs +0 -8
  543. package/dist/chunks/cli-0.6.2-bvyhf16r.mjs +0 -2
  544. package/dist/chunks/cli-0.6.2-c05pfwbs.mjs +0 -2
  545. package/dist/chunks/cli-0.6.2-c3h0j3ad.mjs +0 -2
  546. package/dist/chunks/cli-0.6.2-c8bf5gfw.mjs +0 -4
  547. package/dist/chunks/cli-0.6.2-c9adbzc9.mjs +0 -2
  548. package/dist/chunks/cli-0.6.2-cvr4dbfz.mjs +0 -2
  549. package/dist/chunks/cli-0.6.2-d3evezft.mjs +0 -1
  550. package/dist/chunks/cli-0.6.2-d3y2w089.mjs +0 -2
  551. package/dist/chunks/cli-0.6.2-d3ykxc81.mjs +0 -2
  552. package/dist/chunks/cli-0.6.2-dbw96fj0.mjs +0 -12
  553. package/dist/chunks/cli-0.6.2-dr4gmq77.mjs +0 -2
  554. package/dist/chunks/cli-0.6.2-drm9vdbc.mjs +0 -2
  555. package/dist/chunks/cli-0.6.2-dv8abe56.mjs +0 -7
  556. package/dist/chunks/cli-0.6.2-dx6qfese.mjs +0 -2
  557. package/dist/chunks/cli-0.6.2-dy4zwces.mjs +0 -2
  558. package/dist/chunks/cli-0.6.2-e0x7vgkh.mjs +0 -2
  559. package/dist/chunks/cli-0.6.2-e26khw0m.mjs +0 -6
  560. package/dist/chunks/cli-0.6.2-e66qz53g.mjs +0 -2
  561. package/dist/chunks/cli-0.6.2-ea8z1e2e.mjs +0 -16
  562. package/dist/chunks/cli-0.6.2-erkq6kmj.mjs +0 -45
  563. package/dist/chunks/cli-0.6.2-ezn7w7ae.mjs +0 -5
  564. package/dist/chunks/cli-0.6.2-f8wbscq8.mjs +0 -2
  565. package/dist/chunks/cli-0.6.2-ffwsaj8h.mjs +0 -2
  566. package/dist/chunks/cli-0.6.2-fm1d3kkg.mjs +0 -2
  567. package/dist/chunks/cli-0.6.2-g1m1mc2w.mjs +0 -2
  568. package/dist/chunks/cli-0.6.2-g5akhdzk.mjs +0 -2
  569. package/dist/chunks/cli-0.6.2-g6c6hjc6.mjs +0 -6
  570. package/dist/chunks/cli-0.6.2-gjc0cfpe.mjs +0 -2
  571. package/dist/chunks/cli-0.6.2-gjcarfd4.mjs +0 -2
  572. package/dist/chunks/cli-0.6.2-gqbd9ax6.mjs +0 -2
  573. package/dist/chunks/cli-0.6.2-grf75vb7.mjs +0 -2
  574. package/dist/chunks/cli-0.6.2-h18w4nmy.mjs +0 -2
  575. package/dist/chunks/cli-0.6.2-h72p44ws.mjs +0 -24
  576. package/dist/chunks/cli-0.6.2-ha8qy3b0.mjs +0 -2
  577. package/dist/chunks/cli-0.6.2-hhjx89cr.mjs +0 -193
  578. package/dist/chunks/cli-0.6.2-hhyenxhe.mjs +0 -2
  579. package/dist/chunks/cli-0.6.2-hp1pwe62.mjs +0 -2
  580. package/dist/chunks/cli-0.6.2-hqmcear6.mjs +0 -2
  581. package/dist/chunks/cli-0.6.2-hs0y8na1.mjs +0 -34
  582. package/dist/chunks/cli-0.6.2-j05kmd43.mjs +0 -2
  583. package/dist/chunks/cli-0.6.2-j1nazgzc.mjs +0 -2
  584. package/dist/chunks/cli-0.6.2-jgh80hr1.mjs +0 -2
  585. package/dist/chunks/cli-0.6.2-jrb4f391.mjs +0 -15
  586. package/dist/chunks/cli-0.6.2-jrpted0b.mjs +0 -2
  587. package/dist/chunks/cli-0.6.2-jv7awz9n.mjs +0 -2
  588. package/dist/chunks/cli-0.6.2-k56bbmdp.mjs +0 -2
  589. package/dist/chunks/cli-0.6.2-k9v931hm.mjs +0 -2
  590. package/dist/chunks/cli-0.6.2-kbz4gdv0.mjs +0 -2
  591. package/dist/chunks/cli-0.6.2-kcf9h23h.mjs +0 -2
  592. package/dist/chunks/cli-0.6.2-kk5rmpf2.mjs +0 -4
  593. package/dist/chunks/cli-0.6.2-ky1drj50.mjs +0 -2
  594. package/dist/chunks/cli-0.6.2-mabejxsw.mjs +0 -4
  595. package/dist/chunks/cli-0.6.2-majp93c4.mjs +0 -2
  596. package/dist/chunks/cli-0.6.2-mqcsy5k1.mjs +0 -2
  597. package/dist/chunks/cli-0.6.2-n4v3wxhj.mjs +0 -3
  598. package/dist/chunks/cli-0.6.2-n9610c8k.mjs +0 -2
  599. package/dist/chunks/cli-0.6.2-ntj0k6z8.mjs +0 -2
  600. package/dist/chunks/cli-0.6.2-nw08h6z2.mjs +0 -2
  601. package/dist/chunks/cli-0.6.2-nwzye174.mjs +0 -2
  602. package/dist/chunks/cli-0.6.2-p0jszyht.mjs +0 -3
  603. package/dist/chunks/cli-0.6.2-p6w7n0bx.mjs +0 -58
  604. package/dist/chunks/cli-0.6.2-ptm65j7w.mjs +0 -2
  605. package/dist/chunks/cli-0.6.2-q45wdma3.mjs +0 -3
  606. package/dist/chunks/cli-0.6.2-q4pmjk86.mjs +0 -2
  607. package/dist/chunks/cli-0.6.2-qa6qbf36.mjs +0 -2
  608. package/dist/chunks/cli-0.6.2-qec7nrgw.mjs +0 -2
  609. package/dist/chunks/cli-0.6.2-qezxrvkk.mjs +0 -2
  610. package/dist/chunks/cli-0.6.2-qkzrj9jv.mjs +0 -2
  611. package/dist/chunks/cli-0.6.2-qpnzszt1.mjs +0 -2
  612. package/dist/chunks/cli-0.6.2-r4p904h3.mjs +0 -67
  613. package/dist/chunks/cli-0.6.2-r7j7h4hj.mjs +0 -2
  614. package/dist/chunks/cli-0.6.2-rde30n8x.mjs +0 -2
  615. package/dist/chunks/cli-0.6.2-rdfwysaf.mjs +0 -2
  616. package/dist/chunks/cli-0.6.2-red287ya.mjs +0 -2
  617. package/dist/chunks/cli-0.6.2-rjqa4vcn.mjs +0 -2
  618. package/dist/chunks/cli-0.6.2-rkp36r0y.mjs +0 -2
  619. package/dist/chunks/cli-0.6.2-rpxhzchp.mjs +0 -17
  620. package/dist/chunks/cli-0.6.2-rsw5s54e.mjs +0 -24
  621. package/dist/chunks/cli-0.6.2-s3xefpk2.mjs +0 -2
  622. package/dist/chunks/cli-0.6.2-s73x3nqc.mjs +0 -2
  623. package/dist/chunks/cli-0.6.2-sb3gjggk.mjs +0 -2
  624. package/dist/chunks/cli-0.6.2-sbjpxvg6.mjs +0 -2
  625. package/dist/chunks/cli-0.6.2-sbvnj6xm.mjs +0 -2
  626. package/dist/chunks/cli-0.6.2-sr4xyjmx.mjs +0 -133
  627. package/dist/chunks/cli-0.6.2-st7jwd3e.mjs +0 -2
  628. package/dist/chunks/cli-0.6.2-t038jmme.mjs +0 -3
  629. package/dist/chunks/cli-0.6.2-t3e59m32.mjs +0 -2
  630. package/dist/chunks/cli-0.6.2-t74yr8e7.mjs +0 -2
  631. package/dist/chunks/cli-0.6.2-t8yezjtz.mjs +0 -2
  632. package/dist/chunks/cli-0.6.2-tbbfz84c.mjs +0 -2
  633. package/dist/chunks/cli-0.6.2-tqq6q5x7.mjs +0 -2
  634. package/dist/chunks/cli-0.6.2-tqt8xgww.mjs +0 -50
  635. package/dist/chunks/cli-0.6.2-v1hjbt4b.mjs +0 -20
  636. package/dist/chunks/cli-0.6.2-v9brbf1x.mjs +0 -2
  637. package/dist/chunks/cli-0.6.2-vfdaj8xa.mjs +0 -2
  638. package/dist/chunks/cli-0.6.2-vg43sy4j.mjs +0 -2
  639. package/dist/chunks/cli-0.6.2-vqas2mhg.mjs +0 -2
  640. package/dist/chunks/cli-0.6.2-vqt5hqzr.mjs +0 -2
  641. package/dist/chunks/cli-0.6.2-vrv3r8v9.mjs +0 -18
  642. package/dist/chunks/cli-0.6.2-vys7e4x0.mjs +0 -2
  643. package/dist/chunks/cli-0.6.2-w0nwtgnn.mjs +0 -3
  644. package/dist/chunks/cli-0.6.2-w9trxbjc.mjs +0 -2
  645. package/dist/chunks/cli-0.6.2-wbg54yyk.mjs +0 -2
  646. package/dist/chunks/cli-0.6.2-wdtqrg29.mjs +0 -12
  647. package/dist/chunks/cli-0.6.2-wryj4wnr.mjs +0 -2
  648. package/dist/chunks/cli-0.6.2-x7zpbnzj.mjs +0 -2
  649. package/dist/chunks/cli-0.6.2-xnn1c5kd.mjs +0 -18
  650. package/dist/chunks/cli-0.6.2-y8g2xkqa.mjs +0 -2
  651. package/dist/chunks/cli-0.6.2-yep449sd.mjs +0 -17
  652. package/dist/chunks/cli-0.6.2-yjbsdf10.mjs +0 -2
  653. package/dist/chunks/cli-0.6.2-ymnp9sv9.mjs +0 -2
  654. package/dist/chunks/cli-0.6.2-ynamhrtk.mjs +0 -4
  655. package/dist/chunks/cli-0.6.2-yysvdabq.mjs +0 -2
  656. package/dist/chunks/cli-0.6.2-z00mtdgp.mjs +0 -4
  657. package/dist/chunks/cli-0.6.2-z1njvrn7.mjs +0 -3
  658. package/dist/chunks/cli-0.6.2-z2ftrcke.mjs +0 -4
  659. package/dist/chunks/cli-0.6.2-z3vr6hxb.mjs +0 -2
  660. package/dist/chunks/cli-0.6.2-z9kadqm6.mjs +0 -18
  661. package/dist/chunks/cli-0.6.2-zaahyems.mjs +0 -2
  662. package/dist/chunks/cli-0.6.2-zftyh47j.mjs +0 -2
  663. package/dist/chunks/cli-0.6.2-zqj8dk7m.mjs +0 -2
  664. package/dist/chunks/cli-0.6.2-zs4qp487.mjs +0 -2
  665. package/dist/chunks/client-0.6.2-8b0s065m.mjs +0 -1
  666. package/dist/chunks/color-0.6.2-jza3jez4.mjs +0 -1
  667. package/dist/chunks/compact-0.6.2-2jy7t4f4.mjs +0 -3
  668. package/dist/chunks/config-0.6.2-qjwjrd75.mjs +0 -1
  669. package/dist/chunks/config-0.6.2-xac3sjb7.mjs +0 -1
  670. package/dist/chunks/constants-0.6.2-gwzfwz81.mjs +0 -1
  671. package/dist/chunks/context-0.6.2-w965073f.mjs +0 -1
  672. package/dist/chunks/context-noninteractive-0.6.2-fcjaexgs.mjs +0 -1
  673. package/dist/chunks/conversation-0.6.2-19c4vdvz.mjs +0 -1
  674. package/dist/chunks/copilotHeaders-0.6.2-pad0tejv.mjs +0 -1
  675. package/dist/chunks/copy-0.6.2-p4jw9gbt.mjs +0 -9
  676. package/dist/chunks/cost-0.6.2-vhwgeqym.mjs +0 -1
  677. package/dist/chunks/createSSHSession-0.6.2-j2yf2qm6.mjs +0 -1
  678. package/dist/chunks/createSession-0.6.2-axgp009k.mjs +0 -1
  679. package/dist/chunks/debug-0.6.2-g2n0fqva.mjs +0 -1
  680. package/dist/chunks/defaultActionDeps-0.6.2-28650cn6.mjs +0 -1365
  681. package/dist/chunks/desktop-0.6.2-g4c5xzgr.mjs +0 -1
  682. package/dist/chunks/detectRepository-0.6.2-d1chqsq7.mjs +0 -1
  683. package/dist/chunks/detection-0.6.2-rtsr38x3.mjs +0 -1
  684. package/dist/chunks/diff-0.6.2-md180qh9.mjs +0 -1
  685. package/dist/chunks/doctor-0.6.2-g7yz0erc.mjs +0 -1
  686. package/dist/chunks/doctorDiagnostic-0.6.2-a82fkq4t.mjs +0 -1
  687. package/dist/chunks/earlyInput-0.6.2-7j71psy0.mjs +0 -1
  688. package/dist/chunks/effort-0.6.2-n6mb1qca.mjs +0 -10
  689. package/dist/chunks/envUtils-0.6.2-cgk2t66d.mjs +0 -1
  690. package/dist/chunks/environmentSelection-0.6.2-jxz6pef4.mjs +0 -1
  691. package/dist/chunks/environments-0.6.2-fe197syt.mjs +0 -1
  692. package/dist/chunks/errors-0.6.2-qwc8na5z.mjs +0 -1
  693. package/dist/chunks/exampleCommands-0.6.2-ts5qp1zd.mjs +0 -1
  694. package/dist/chunks/exit-0.6.2-ejt9v4r5.mjs +0 -1
  695. package/dist/chunks/export-0.6.2-7xzrp9f7.mjs +0 -2
  696. package/dist/chunks/extra-usage-0.6.2-4xbsq144.mjs +0 -1
  697. package/dist/chunks/extra-usage-noninteractive-0.6.2-dbw7cdb9.mjs +0 -1
  698. package/dist/chunks/fast-0.6.2-trs3hdhf.mjs +0 -1
  699. package/dist/chunks/feedback-0.6.2-ssmy63tw.mjs +0 -14
  700. package/dist/chunks/firstPartyEventLogger-0.6.2-8h0fye4z.mjs +0 -1
  701. package/dist/chunks/git-0.6.2-nt9s7t3d.mjs +0 -1
  702. package/dist/chunks/githubModelsCredentials-0.6.2-24hacezm.mjs +0 -1
  703. package/dist/chunks/goal-0.6.2-y7sqebpb.mjs +0 -4
  704. package/dist/chunks/grove-0.6.2-a2wgccag.mjs +0 -1
  705. package/dist/chunks/growthbook-0.6.2-0rhkaa7d.mjs +0 -1
  706. package/dist/chunks/headless-0.6.2-mqs7zsvy.mjs +0 -2
  707. package/dist/chunks/heapdump-0.6.2-4n8atcks.mjs +0 -6
  708. package/dist/chunks/help-0.6.2-c49svpae.mjs +0 -1
  709. package/dist/chunks/hookChains-0.6.2-44ps20xa.mjs +0 -3
  710. package/dist/chunks/hooks-0.6.2-27hpvpxf.mjs +0 -1
  711. package/dist/chunks/hooks-0.6.2-7ze1m2wq.mjs +0 -79
  712. package/dist/chunks/ide-0.6.2-4v9fdhr6.mjs +0 -3
  713. package/dist/chunks/image-processor-napi-0.6.2-a92myehv.mjs +0 -1
  714. package/dist/chunks/index-0.6.2-1kk3erm5.mjs +0 -9
  715. package/dist/chunks/index-0.6.2-21nak3ad.mjs +0 -1
  716. package/dist/chunks/index-0.6.2-2vns8v9p.mjs +0 -1
  717. package/dist/chunks/index-0.6.2-2wg5fkyq.mjs +0 -1
  718. package/dist/chunks/index-0.6.2-3g92ew8z.mjs +0 -1
  719. package/dist/chunks/index-0.6.2-4wsxzfzg.mjs +0 -1
  720. package/dist/chunks/index-0.6.2-88m8k4cp.mjs +0 -1
  721. package/dist/chunks/index-0.6.2-93bh3w93.mjs +0 -1
  722. package/dist/chunks/index-0.6.2-9e0qz384.mjs +0 -1
  723. package/dist/chunks/index-0.6.2-emm65q8h.mjs +0 -17
  724. package/dist/chunks/index-0.6.2-ff57yvh3.mjs +0 -1
  725. package/dist/chunks/index-0.6.2-g6xy97jv.mjs +0 -1
  726. package/dist/chunks/index-0.6.2-h37g7n0s.mjs +0 -9
  727. package/dist/chunks/index-0.6.2-h8jkf613.mjs +0 -5
  728. package/dist/chunks/index-0.6.2-jcsv5kp3.mjs +0 -1
  729. package/dist/chunks/index-0.6.2-jw83xhc8.mjs +0 -2
  730. package/dist/chunks/index-0.6.2-mehn31e3.mjs +0 -30
  731. package/dist/chunks/index-0.6.2-naw1d8mg.mjs +0 -2
  732. package/dist/chunks/index-0.6.2-qjs3rrrc.mjs +0 -1
  733. package/dist/chunks/index-0.6.2-qn0re7sj.mjs +0 -1
  734. package/dist/chunks/index-0.6.2-tftj6wdh.mjs +0 -1
  735. package/dist/chunks/index-0.6.2-ww1qy3cg.mjs +0 -1
  736. package/dist/chunks/init-0.6.2-47k2caay.mjs +0 -1
  737. package/dist/chunks/initReplBridge-0.6.2-sn29sxg9.mjs +0 -1
  738. package/dist/chunks/ink-0.6.2-dhg7s7qq.mjs +0 -1
  739. package/dist/chunks/insights-0.6.2-st861yg4.mjs +0 -870
  740. package/dist/chunks/install-0.6.2-webkhwz9.mjs +0 -1
  741. package/dist/chunks/install-github-app-0.6.2-dyf38saf.mjs +0 -149
  742. package/dist/chunks/install-slack-app-0.6.2-mkhq39jq.mjs +0 -1
  743. package/dist/chunks/instrumentation-0.6.2-8enws6w1.mjs +0 -1
  744. package/dist/chunks/interactiveHelpers-0.6.2-h3c63932.mjs +0 -1
  745. package/dist/chunks/keybindings-0.6.2-b4h5gr36.mjs +0 -2
  746. package/dist/chunks/knowledge-0.6.2-r7wzchg7.mjs +0 -2
  747. package/dist/chunks/latestVersionCache-0.6.2-29wtfvgy.mjs +0 -1
  748. package/dist/chunks/loadAgentsDir-0.6.2-6tmzy9fs.mjs +0 -1
  749. package/dist/chunks/loadPluginHooks-0.6.2-1qx97351.mjs +0 -1
  750. package/dist/chunks/loadPluginHooks-0.6.2-c4wpqz2j.mjs +0 -1
  751. package/dist/chunks/log-0.6.2-h02k5q0p.mjs +0 -1
  752. package/dist/chunks/main-0.6.2-51xvrsbq.mjs +0 -1
  753. package/dist/chunks/managedEnv-0.6.2-ma1dx63x.mjs +0 -1
  754. package/dist/chunks/mcp-0.6.2-j3m0e0bk.mjs +0 -17
  755. package/dist/chunks/mcp-0.6.2-n8yv335k.mjs +0 -4
  756. package/dist/chunks/mcp-0.6.2-zebf4vwt.mjs +0 -1
  757. package/dist/chunks/mcpb-0.6.2-egn2wk5t.mjs +0 -1
  758. package/dist/chunks/memory-0.6.2-vy2ka09s.mjs +0 -3
  759. package/dist/chunks/mobile-0.6.2-s8f6z7dq.mjs +0 -2
  760. package/dist/chunks/model-0.6.2-49f9g2vz.mjs +0 -2
  761. package/dist/chunks/model-0.6.2-pcd5ta0c.mjs +0 -1
  762. package/dist/chunks/node-0.6.2-40bknjza.mjs +0 -12
  763. package/dist/chunks/oauth-0.6.2-newhjxdv.mjs +0 -1
  764. package/dist/chunks/openaiShim-0.6.2-rjs9w27t.mjs +0 -14
  765. package/dist/chunks/output-style-0.6.2-n76v4e26.mjs +0 -1
  766. package/dist/chunks/package-D6422PQU-0.6.2-cymw10eg.mjs +0 -1
  767. package/dist/chunks/parseConnectUrl-0.6.2-qy2dp99f.mjs +0 -1
  768. package/dist/chunks/parser-0.6.2-xgg5gh3g.mjs +0 -1
  769. package/dist/chunks/passes-0.6.2-kadygcw6.mjs +0 -1
  770. package/dist/chunks/permissions-0.6.2-hv22h5gm.mjs +0 -3
  771. package/dist/chunks/plan-0.6.2-hzbsezab.mjs +0 -1
  772. package/dist/chunks/plist-0.6.2-hkq2x0x5.mjs +0 -1
  773. package/dist/chunks/plugin-0.6.2-pr48413e.mjs +0 -29
  774. package/dist/chunks/pluginStartupCheck-0.6.2-zfb8qack.mjs +0 -1
  775. package/dist/chunks/plugins-0.6.2-hx8jrngg.mjs +0 -9
  776. package/dist/chunks/preActionHook-0.6.2-pac7p55h.mjs +0 -2
  777. package/dist/chunks/print-0.6.2-ng7p0m66.mjs +0 -57
  778. package/dist/chunks/privacy-settings-0.6.2-awj1k33j.mjs +0 -1
  779. package/dist/chunks/process-0.6.2-7k26fk4b.mjs +0 -1
  780. package/dist/chunks/processBashCommand-0.6.2-379q2wr4.mjs +0 -1
  781. package/dist/chunks/processSlashCommand-0.6.2-7zk4c0n0.mjs +0 -9
  782. package/dist/chunks/prompt-0.6.2-c2vevj59.mjs +0 -1
  783. package/dist/chunks/prompt-0.6.2-szkc5jgm.mjs +0 -1
  784. package/dist/chunks/prompts-0.6.2-s8z9fmgq.mjs +0 -1
  785. package/dist/chunks/protocolHandler-0.6.2-wc5pcv21.mjs +0 -13
  786. package/dist/chunks/provider-0.6.2-nbcrfwt5.mjs +0 -2
  787. package/dist/chunks/providerProfiles-0.6.2-r9j184kz.mjs +0 -1
  788. package/dist/chunks/providerValidation-0.6.2-4h7yr0x2.mjs +0 -6
  789. package/dist/chunks/rate-limit-options-0.6.2-dbvvmtas.mjs +0 -1
  790. package/dist/chunks/registerSubcommands-0.6.2-w8y8efwa.mjs +0 -34
  791. package/dist/chunks/registry-0.6.2-8xcdw66w.mjs +0 -1
  792. package/dist/chunks/release-notes-0.6.2-xtnhsjps.mjs +0 -5
  793. package/dist/chunks/reload-plugins-0.6.2-hhgdgy2j.mjs +0 -2
  794. package/dist/chunks/remote-env-0.6.2-9tdvzj0q.mjs +0 -1
  795. package/dist/chunks/remoteBridgeCore-0.6.2-y9spfxbw.mjs +0 -1
  796. package/dist/chunks/remoteSession-0.6.2-pb3185rt.mjs +0 -1
  797. package/dist/chunks/rename-0.6.2-z5pwd75p.mjs +0 -1
  798. package/dist/chunks/replBridgeHandle-0.6.2-epcyvrf1.mjs +0 -1
  799. package/dist/chunks/replLauncher-0.6.2-yk4q9w0s.mjs +0 -1
  800. package/dist/chunks/resume-0.6.2-wwmdq5gh.mjs +0 -2
  801. package/dist/chunks/rewind-0.6.2-keb5hdgr.mjs +0 -1
  802. package/dist/chunks/rootOptions-0.6.2-hprbxscd.mjs +0 -1
  803. package/dist/chunks/sandbox-adapter-0.6.2-4ntc8ewv.mjs +0 -1
  804. package/dist/chunks/sandbox-toggle-0.6.2-5zdhe1qf.mjs +0 -1
  805. package/dist/chunks/session-0.6.2-k41jbqwf.mjs +0 -2
  806. package/dist/chunks/sessionDiscovery-0.6.2-x9rwtkey.mjs +0 -1
  807. package/dist/chunks/sessionFileAccessHooks-0.6.2-0ska7d2r.mjs +0 -1
  808. package/dist/chunks/sessionStorage-0.6.2-0brgsadt.mjs +0 -1
  809. package/dist/chunks/settings-0.6.2-cgwa4c0s.mjs +0 -1
  810. package/dist/chunks/setup-0.6.2-vqm3xhrr.mjs +0 -5
  811. package/dist/chunks/sinks-0.6.2-p6ftcdrs.mjs +0 -1
  812. package/dist/chunks/skills-0.6.2-87j1kdxj.mjs +0 -1
  813. package/dist/chunks/startupProfiler-0.6.2-173hw815.mjs +0 -1
  814. package/dist/chunks/startupUpdateCheck-0.6.2-4364mejf.mjs +0 -1
  815. package/dist/chunks/state-0.6.2-nymhw7ey.mjs +0 -1
  816. package/dist/chunks/stats-0.6.2-skm9nakv.mjs +0 -6
  817. package/dist/chunks/status-0.6.2-wfm0ahb8.mjs +0 -1
  818. package/dist/chunks/stickers-0.6.2-nze85ck5.mjs +0 -1
  819. package/dist/chunks/subprocessEnv-0.6.2-vktss3j3.mjs +0 -1
  820. package/dist/chunks/tasks-0.6.2-hfy99qn9.mjs +0 -1
  821. package/dist/chunks/teamHelpers-0.6.2-ep254ybc.mjs +0 -1
  822. package/dist/chunks/teammateModeSnapshot-0.6.2-ecyswt3z.mjs +0 -1
  823. package/dist/chunks/teleport-0.6.2-ve5pmdye.mjs +0 -1
  824. package/dist/chunks/terminalSetup-0.6.2-wxnysmg4.mjs +0 -1
  825. package/dist/chunks/theme-0.6.2-r6cak2qv.mjs +0 -1
  826. package/dist/chunks/thinkback-0.6.2-9svbgrtq.mjs +0 -1
  827. package/dist/chunks/thinkback-play-0.6.2-22rfv6x5.mjs +0 -1
  828. package/dist/chunks/toolPool-0.6.2-znz9vm50.mjs +0 -1
  829. package/dist/chunks/toolSearch-0.6.2-nsf80s0q.mjs +0 -1
  830. package/dist/chunks/tools-0.6.2-wcxfbgtv.mjs +0 -1
  831. package/dist/chunks/trustedDevice-0.6.2-ab0ftpnm.mjs +0 -1
  832. package/dist/chunks/turndown.cjs-0.6.2-g0zf33kq.mjs +0 -69
  833. package/dist/chunks/ultrareviewCommand-0.6.2-8c0jzztb.mjs +0 -4
  834. package/dist/chunks/update-0.6.2-p8edrwg4.mjs +0 -86
  835. package/dist/chunks/upgrade-0.6.2-wkscvr1z.mjs +0 -1
  836. package/dist/chunks/upstreamproxy-0.6.2-0bdt5gtr.mjs +0 -14
  837. package/dist/chunks/url-handler-napi-0.6.2-rgywhzs5.mjs +0 -1
  838. package/dist/chunks/usage-0.6.2-mkckbqy2.mjs +0 -1
  839. package/dist/chunks/util-0.6.2-yet75ms4.mjs +0 -1
  840. package/dist/chunks/utils-0.6.2-pedaa5s8.mjs +0 -1
  841. package/dist/chunks/vim-0.6.2-m8vm39s8.mjs +0 -1
  842. package/dist/chunks/watcher-0.6.2-apxj1t3y.mjs +0 -1
  843. package/dist/chunks/wiki-0.6.2-wztzwvgx.mjs +0 -132
  844. package/dist/chunks/worktree-0.6.2-jvbqmswq.mjs +0 -1
  845. package/dist/chunks/worktreeModeEnabled-0.6.2-bq8z3zp7.mjs +0 -1
  846. package/dist/chunks/wrapper-0.6.2-wwg8e756.mjs +0 -7
  847. /package/dist/chunks/{cli-0.6.2-qk6j042k.mjs → cli-0.6.3-1h3a97cb.mjs} +0 -0
  848. /package/dist/chunks/{cli-0.6.2-hb4fz4pd.mjs → cli-0.6.3-29t031py.mjs} +0 -0
  849. /package/dist/chunks/{cli-0.6.2-hkgnx8g7.mjs → cli-0.6.3-4k4zf43b.mjs} +0 -0
  850. /package/dist/chunks/{cli-0.6.2-7p1ykg1m.mjs → cli-0.6.3-94pqfzn3.mjs} +0 -0
  851. /package/dist/chunks/{cli-0.6.2-3eaaj6e5.mjs → cli-0.6.3-dvsz6151.mjs} +0 -0
  852. /package/dist/chunks/{cli-0.6.2-adegz2m3.mjs → cli-0.6.3-ecnnpsad.mjs} +0 -0
  853. /package/dist/chunks/{cli-0.6.2-1e5p6hw6.mjs → cli-0.6.3-v522ej7z.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{Pda as U,Xda as m,d9 as F,h9 as f,m8 as K,n8 as E}from"./cli-0.6.3-cz70v0dc.mjs";import{Dfa as v,Efa as x}from"./cli-0.6.3-0xzsm005.mjs";import{fha as D,jha as g}from"./cli-0.6.3-tjykjtxh.mjs";import{wpa as S}from"./cli-0.6.3-qh59pqrb.mjs";import{basename as H,dirname as b,join as I,sep as O}from"path";function _(q,B){if(!q)return{directory:B||v(),prefix:""};let G=F(q,B);if(q.endsWith("/")||q.endsWith(O))return{directory:G,prefix:""};let N=b(G),J=H(q);return{directory:N,prefix:J}}async function k(q){let B=Z.get(q);if(B)return B;try{let J=(await D().readdir(q)).filter((M)=>M.isDirectory()&&!M.name.startsWith(".")).map((M)=>({name:M.name,path:I(q,M.name),type:"directory"})).slice(0,100);return Z.set(q,J),J}catch(G){return U(G),[]}}async function P(q,B={}){let{basePath:G=v(),maxResults:N=10}=B,{directory:J,prefix:M}=_(q,G),V=await k(J),z=M.toLowerCase();return V.filter((X)=>X.name.toLowerCase().startsWith(z)).slice(0,N).map((X)=>({id:X.path,displayText:X.name+"/",description:"directory",metadata:{type:"directory"}}))}function o(q){return q.startsWith("~/")||q.startsWith("/")||q.startsWith("./")||q.startsWith("../")||q==="~"||q==="."||q===".."}async function u(q,B=!1){let G=`${q}:${B}`,N=A.get(G);if(N)return N;try{let V=(await D().readdir(q)).filter((z)=>B||!z.name.startsWith(".")).map((z)=>({name:z.name,path:I(q,z.name),type:z.isDirectory()?"directory":"file"})).sort((z,W)=>{if(z.type==="directory"&&W.type!=="directory")return-1;if(z.type!=="directory"&&W.type==="directory")return 1;return z.name.localeCompare(W.name)}).slice(0,100);return A.set(G,V),V}catch(J){return U(J),[]}}async function h(q,B={}){let{basePath:G=v(),maxResults:N=10,includeFiles:J=!0,includeHidden:M=!1}=B,{directory:V,prefix:z}=_(q,G),W=await u(V,M),X=z.toLowerCase(),j=W.filter((Q)=>{if(!J&&Q.type==="file")return!1;return Q.name.toLowerCase().startsWith(X)}).slice(0,N),w=q.includes("/")||q.includes(O),Y="";if(w){let Q=q.lastIndexOf("/"),$=q.lastIndexOf(O),L=Math.max(Q,$);Y=q.substring(0,L+1)}if(Y.startsWith("./")||Y.startsWith("."+O))Y=Y.slice(2);return j.map((Q)=>{let $=Y+Q.name;return{id:$,displayText:Q.type==="directory"?$+"/":$,metadata:{type:Q.type}}})}var R=500,T=300000,Z,A;var C=S(()=>{E();x();g();m();f();Z=new K({max:R,ttl:T}),A=new K({max:R,ttl:T})});
2
+ export{P as sh,o as th,h as uh,C as vh};
@@ -0,0 +1,2 @@
1
+ import{Nna as H,Uja as z,Yja as B}from"./cli-0.6.3-g7nc10fr.mjs";import{wpa as x}from"./cli-0.6.3-qh59pqrb.mjs";import{AsyncLocalStorage as I}from"async_hooks";function Q(E,F){return D.run(E,F)}function J(){return D.getStore()??B()}function R(){try{return J()}catch{return z()}}var D;var K=x(()=>{H();D=new I});var U="command-name",V="command-message",W="command-args",X="bash-input",Y="bash-stdout",Z="bash-stderr",$="local-command-stdout",j="local-command-stderr",q="local-command-caveat",A,G="tick",L="task-notification",_="task-id",b="tool-use-id",k="task-type",p="output-file",v="status",C="summary",O="worktree",y="worktreePath",S="worktreeBranch",f="remote-review",m="remote-review-progress",u="teammate-message",h="channel",l="fork-boilerplate",w="Your directive: ",g,d;var M=x(()=>{A=["bash-input","bash-stdout","bash-stderr","local-command-stdout","local-command-stderr","local-command-caveat"],g=["help","-h","--help"],d=["list","show","display","current","view","get","check","describe","print","version","about","status","?"]});
2
+ export{Q as Bfa,J as Cfa,R as Dfa,K as Efa,U as Ffa,V as Gfa,W as Hfa,X as Ifa,Y as Jfa,Z as Kfa,$ as Lfa,j as Mfa,q as Nfa,A as Ofa,G as Pfa,L as Qfa,_ as Rfa,b as Sfa,k as Tfa,p as Ufa,v as Vfa,C as Wfa,O as Xfa,y as Yfa,S as Zfa,f as _fa,m as $fa,u as aga,h as bga,l as cga,w as dga,g as ega,d as fga,M as gga};
@@ -0,0 +1,2 @@
1
+ import{wu as o,xu as n}from"./cli-0.6.3-kz9egvgw.mjs";import{wpa as e}from"./cli-0.6.3-qh59pqrb.mjs";function i(m){t.setState(()=>[...m])}var t,r=()=>t.getState(),d;var s=e(()=>{n();t=o([]),d=t.subscribe});
2
+ export{r as ad,d as bd,i as cd,s as dd};
@@ -0,0 +1,2 @@
1
+ import{wpa as $}from"./cli-0.6.3-qh59pqrb.mjs";function w(z){return z>=48&&z<=126}var d,Y="\x1B",h="\x07",j=";",H;var L=$(()=>{d={NUL:0,SOH:1,STX:2,ETX:3,EOT:4,ENQ:5,ACK:6,BEL:7,BS:8,HT:9,LF:10,VT:11,FF:12,CR:13,SO:14,SI:15,DLE:16,DC1:17,DC2:18,DC3:19,DC4:20,NAK:21,SYN:22,ETB:23,CAN:24,EM:25,SUB:26,ESC:27,FS:28,GS:29,RS:30,US:31,DEL:127},H={CSI:91,OSC:93,DCS:80,APC:95,PM:94,SOS:88,ST:92}});function x(z){return z>=Z.PARAM_START&&z<=Z.PARAM_END}function A(z){return z>=Z.INTERMEDIATE_START&&z<=Z.INTERMEDIATE_END}function N(z){return z>=Z.FINAL_START&&z<=Z.FINAL_END}function J(...z){if(z.length===0)return B;if(z.length===1)return`${B}${z[0]}`;let Q=z.slice(0,-1),V=z[z.length-1];return`${B}${Q.join(j)}${V}`}function k(z=1){return z===0?"":J(z,"A")}function X(z=1){return z===0?"":J(z,"B")}function D(z=1){return z===0?"":J(z,"C")}function M(z=1){return z===0?"":J(z,"D")}function R(z){return J(z,"G")}function C(z,Q){return J(z,Q,"H")}function S(z,Q){let V="";if(z<0)V+=M(-z);else if(z>0)V+=D(z);if(Q<0)V+=k(-Q);else if(Q>0)V+=X(Q);return V}function E(z){if(z<=0)return"";let Q="";for(let V=0;V<z;V++)if(Q+=F,V<z-1)Q+=k(1);return Q+=W,Q}function y(z=1){return z===0?"":J(z,"S")}function a(z=1){return z===0?"":J(z,"T")}function n(z,Q){return J(z,Q,"r")}var B,Z,g,I,_,u,W,q,b,l,F,K,o,c,t,r,i,e,s,zz,Jz,Qz;var v=$(()=>{L();B=Y+String.fromCharCode(H.CSI),Z={PARAM_START:48,PARAM_END:63,INTERMEDIATE_START:32,INTERMEDIATE_END:47,FINAL_START:64,FINAL_END:126};g={CUU:65,CUD:66,CUF:67,CUB:68,CNL:69,CPL:70,CHA:71,CUP:72,CHT:73,VPA:100,HVP:102,ED:74,EL:75,ECH:88,IL:76,DL:77,ICH:64,DCH:80,SU:83,SD:84,SM:104,RM:108,SGR:109,DSR:110,DECSCUSR:113,DECSTBM:114,SCOSC:115,SCORC:117,CBT:90},I=["toEnd","toStart","all","scrollback"],_=["toEnd","toStart","all"],u=[{style:"block",blinking:!0},{style:"block",blinking:!0},{style:"block",blinking:!1},{style:"underline",blinking:!0},{style:"underline",blinking:!1},{style:"bar",blinking:!0},{style:"bar",blinking:!1}];W=J("G");q=J("H");b=J("s"),l=J("u"),F=J(2,"K"),K=J(2,"J"),o=J(3,"J");c=J("r"),t=J("200~"),r=J("201~"),i=J("I"),e=J("O"),s=J(">1u"),zz=J("<u"),Jz=J(">4;2m"),Qz=J(">4m")});function U(){return process.platform==="win32"&&!!process.env.WT_SESSION}function p(){if(process.env.TERM_PROGRAM==="mintty")return!0;if(process.platform==="win32"&&process.env.MSYSTEM)return!0;return!1}function G(){if(U())return!0;if(process.platform==="win32"&&process.env.TERM_PROGRAM==="vscode"&&process.env.TERM_PROGRAM_VERSION)return!0;if(p())return!0;return!1}function T(){if(process.platform==="win32"&&!G())return K+P;return K+q}var P,$z;var f=$(()=>{v();P=J(0,"f");$z=T()});
2
+ export{d as lZ,Y as mZ,h as nZ,j as oZ,H as pZ,w as qZ,L as rZ,x as sZ,A as tZ,N as uZ,J as vZ,g as wZ,I as xZ,_ as yZ,u as zZ,R as AZ,C as BZ,q as CZ,S as DZ,K as EZ,E as FZ,y as GZ,a as HZ,n as IZ,c as JZ,t as KZ,r as LZ,i as MZ,e as NZ,s as OZ,zz as PZ,Jz as QZ,Qz as RZ,v as SZ,T as TZ,$z as UZ,f as VZ};
@@ -0,0 +1,4 @@
1
+ import{Goa as Y,roa as K}from"./cli-0.6.3-dv7ypjqm.mjs";import{wpa as X}from"./cli-0.6.3-qh59pqrb.mjs";function T(j){return j instanceof Q||j instanceof K||j instanceof Error&&j.name==="AbortError"}function D(j,z){return j instanceof Error&&j.message===z}function U(j){return j instanceof Error?j:Error(String(j))}function B(j){return j instanceof Error?j.message:String(j)}function V(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function O(j){return V(j)==="ENOENT"}function P(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function R(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
2
+ `),H=G[0]??j.message,J=G.slice(1).filter((W)=>W.trim().startsWith("at "));if(J.length<=z)return j.stack;return[H,...J.slice(0,z)].join(`
3
+ `)}function b(j){let z=V(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function N(j){let z=B(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var Z,_,Q,$,q,v,w;var I=X(()=>{Y();Z=class Z extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};_=class _ extends Error{};Q=class Q extends Error{constructor(j){super(j);this.name="AbortError"}};$=class $ extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};q=class q extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};v=class v extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};w=class w extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
4
+ export{Z as Dha,_ as Eha,Q as Fha,T as Gha,$ as Hha,q as Iha,v as Jha,w as Kha,D as Lha,U as Mha,B as Nha,V as Oha,O as Pha,P as Qha,R as Rha,b as Sha,N as Tha,I as Uha};
@@ -0,0 +1,2 @@
1
+ import{wpa as t}from"./cli-0.6.3-qh59pqrb.mjs";var r,i=(s,e)=>function(){return e||(0,s[r(s)[0]])((e={exports:{}}).exports,e),e.exports},n;var a=t(()=>{r=Object.getOwnPropertyNames,n=i({"package.json"(s,e){e.exports={name:"@mendable/firecrawl-js",version:"4.25.2",description:"JavaScript SDK for Firecrawl API",main:"dist/index.js",types:"dist/index.d.ts",exports:{"./package.json":"./package.json",".":{import:"./dist/index.js",default:"./dist/index.cjs"}},type:"module",scripts:{build:"tsup","build-and-publish":"pnpm run build && pnpm publish --access public","publish-beta":"pnpm run build && pnpm publish --access public --tag beta",test:"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/e2e/v2/*.test.ts --detectOpenHandles","test:unit":"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/unit/v2/*.test.ts"},repository:{type:"git",url:"git+https://github.com/firecrawl/firecrawl.git"},author:"Mendable.ai",license:"MIT",dependencies:{axios:"1.16.1",firecrawl:"4.16.0","typescript-event-target":"^1.1.1",zod:"^3.23.8","zod-to-json-schema":"^3.23.0"},bugs:{url:"https://github.com/firecrawl/firecrawl/issues"},homepage:"https://github.com/firecrawl/firecrawl#readme",devDependencies:{"@jest/globals":"^30.2.0","@types/dotenv":"^8.2.0","@types/jest":"^30.0.0","@types/mocha":"^10.0.6","@types/node":"^20.12.12","@types/uuid":"^9.0.8",dotenv:"^16.4.5",jest:"^30.2.0","ts-jest":"^29.4.5",tsup:"^8.5.0",typescript:"^5.4.5",uuid:"^9.0.1"},keywords:["firecrawl","mendable","crawler","web","scraper","api","sdk"],engines:{node:">=22.0.0"},pnpm:{overrides:{"@isaacs/brace-expansion@<=5.0.0":">=5.0.1","minimatch@<10.2.3":">=10.2.3","rollup@<4.59.0":">=4.59.0","picomatch@<4.0.4":">=4.0.4",handlebars:">=4.7.9","brace-expansion":">=5.0.6","axios@>=1.0.0 <1.16.0":"1.16.1","follow-redirects@<1.16.0":">=1.16.0 <2.0.0"}}}}})});
2
+ export{n as oh,a as ph};
@@ -0,0 +1,3 @@
1
+ import{I as G0}from"./cli-0.6.3-z19b5v43.mjs";import{ca as p0}from"./cli-0.6.3-ajqkhkc8.mjs";import{sb as E0}from"./cli-0.6.3-rm69szc5.mjs";import{xb as k0}from"./cli-0.6.3-s12drscf.mjs";import{$b as P0,bc as Fc}from"./cli-0.6.3-y1mm0v8x.mjs";import{ec as N,fc as uc}from"./cli-0.6.3-wr2sys6k.mjs";import{hc as Q0,ic as hc}from"./cli-0.6.3-8ea1a14z.mjs";import{Dc as n0,Ec as x0}from"./cli-0.6.3-aazxr34f.mjs";import{$Q as O0,Am as p,BE as Y,Bm as K0,CE as M0,Cm as f0,Cu as l0,DE as Z0,Dm as N0,EE as Mc,Em as i0,Fm as d0,Im as W,Jm as j,UJ as _0,cK as j0,jR as b0,kF as y0,kP as d,lF as _c,lR as B0,mP as W0,oP as Ic,oR as ac,pD as Y0,qK as u0,rR as D0,sE as m0,sK as r0,tD as lc,tE as g0,tR as Tc,uE as r,wE as A0,yu as X}from"./cli-0.6.3-kz9egvgw.mjs";import{AY as y,EY as g,dX as G,dZ as x,uX as X0,yX as oc,yY as c0}from"./cli-0.6.3-sz0yt1ax.mjs";import{C0 as e,D0 as m,E0 as U,F0 as C}from"./cli-0.6.3-r0pavcpp.mjs";import{A1 as mc,c2 as J0,d2 as nc,w1 as H0}from"./cli-0.6.3-nawttnnp.mjs";import{Ada as z0,Dda as ic,Pba as V0,Vaa as V,Vba as s,Yba as t,Zaa as J,_ba as q0,aba as w0,cba as U0,gba as k,rca as I0}from"./cli-0.6.3-cz70v0dc.mjs";import{Cea as cc,xea as R}from"./cli-0.6.3-p3cb5wr9.mjs";import{Afa as fc,mfa as C0,ufa as L0}from"./cli-0.6.3-pqq8j8h2.mjs";import{rga as q,tga as E}from"./cli-0.6.3-ywk23cbf.mjs";import{wha as $0}from"./cli-0.6.3-tjykjtxh.mjs";import{_ha as K,fia as R0,iia as e0}from"./cli-0.6.3-vp1zy3b1.mjs";import{Bma as T0,Nna as v0,vka as a0}from"./cli-0.6.3-g7nc10fr.mjs";import{spa as D,xpa as L}from"./cli-0.6.3-qh59pqrb.mjs";E();Ic();v0();import{appendFileSync as Rc}from"fs";Tc();oc();M0();fc();ic();lc();E();k();A0();j();var $=D(G(),1);x();C();var S=D(G(),1);function P(){let f=S.c(1),c;if(f[0]===Symbol.for("react.memo_cache_sentinel"))c=U(y,{children:["MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the"," ",m(g,{url:"https://code.claude.com/docs/en/mcp",children:"MCP documentation"}),"."]}),f[0]=c;else c=f[0];return c}C();function v(f){let c=$.c(13),{serverName:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(T){q("tengu_mcp_dialog_choice",{choice:T});c:switch(T){case"yes":case"yes_all":{let H=(J()||{}).enabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{enabledMcpjsonServers:[...H,i]});if(T==="yes_all")V("localSettings",{enableAllProjectMcpServers:!0});n();break c}case"no":{let H=(J()||{}).disabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{disabledMcpjsonServers:[...H,i]});n()}}},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u=`New MCP server found in .mcp.json: ${i}`,M;if(c[3]!==l)M=()=>l("no"),c[3]=l,c[4]=M;else M=c[4];let I;if(c[5]===Symbol.for("react.memo_cache_sentinel"))I=m(P,{}),c[5]=I;else I=c[5];let o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=[{label:"Use this and all future MCP servers in this project",value:"yes_all"},{label:"Use this MCP server",value:"yes"},{label:"Continue without using this MCP server",value:"no"}],c[6]=o;else o=c[6];let h;if(c[7]!==l)h=m(r,{options:o,onChange:(a)=>l(a),onCancel:()=>l("no")}),c[7]=l,c[8]=h;else h=c[8];let F;if(c[9]!==u||c[10]!==M||c[11]!==h)F=U(W,{title:u,color:"warning",onCancel:M,children:[I,h]}),c[9]=u,c[10]=M,c[11]=h,c[12]=F;else F=c[12];return F}x0();E();x();k();N0();g0();d0();j();K0();var h0=D(G(),1);C();function o0(f){let c=h0.c(21),{serverNames:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(O){let Z=J()||{},s0=Z.enabledMcpjsonServers||[],t0=Z.disabledMcpjsonServers||[],[b,B]=n0(i,(Q)=>O.includes(Q));if(q("tengu_mcp_multidialog_choice",{approved:b.length,rejected:B.length}),b.length>0){let Q=[...new Set([...s0,...b])];V("localSettings",{enabledMcpjsonServers:Q})}if(B.length>0){let Q=[...new Set([...t0,...B])];V("localSettings",{disabledMcpjsonServers:Q})}n()},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u;if(c[3]!==n||c[4]!==i)u=()=>{let O=(J()||{}).disabledMcpjsonServers||[],Z=[...new Set([...O,...i])];V("localSettings",{disabledMcpjsonServers:Z}),n()},c[3]=n,c[4]=i,c[5]=u;else u=c[5];let M=u,I=`${i.length} new MCP servers found in .mcp.json`,o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=m(P,{}),c[6]=o;else o=c[6];let h;if(c[7]!==i)h=i.map(S0),c[7]=i,c[8]=h;else h=c[8];let F;if(c[9]!==M||c[10]!==l||c[11]!==i||c[12]!==h)F=m(m0,{options:h,defaultValue:i,onSubmit:l,onCancel:M,hideIndexes:!0}),c[9]=M,c[10]=l,c[11]=i,c[12]=h,c[13]=F;else F=c[13];let a;if(c[14]!==M||c[15]!==I||c[16]!==F)a=U(W,{title:I,subtitle:"Select any you wish to enable.",color:"warning",onCancel:M,hideInputGuide:!0,children:[o,F]}),c[14]=M,c[15]=I,c[16]=F,c[17]=a;else a=c[17];let T;if(c[18]===Symbol.for("react.memo_cache_sentinel"))T=m(c0,{paddingX:1,children:m(y,{dimColor:!0,italic:!0,children:U(i0,{children:[m(p,{shortcut:"Space",action:"select"}),m(p,{shortcut:"Enter",action:"confirm"}),m(f0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"reject all"})]})})}),c[18]=T;else T=c[18];let w;if(c[19]!==a)w=U(e,{children:[a,T]}),c[19]=a,c[20]=w;else w=c[20];return w}function S0(f){return{label:f,value:f}}M0();l0();j0();r0();C();async function F0(f){let{servers:c}=_0("project"),i=Object.keys(c).filter((n)=>u0(n)==="pending");if(i.length===0)return;await new Promise((n)=>{let _=()=>void n();if(i.length===1&&i[0]!==void 0){let l=i[0];f.render(m(X,{children:m(Y,{children:m(v,{serverName:l,onDone:_})})}))}else f.render(m(X,{children:m(Y,{children:m(o0,{serverNames:i,onDone:_})})}))})}l0();uc();nc();ac();I0();Fc();I0();$0();e0();class A{frameDurations=[];firstRenderTime;lastRenderTime;record(f){let c=performance.now();if(this.firstRenderTime===void 0)this.firstRenderTime=c;this.lastRenderTime=c,this.frameDurations.push(f)}getMetrics(){if(this.frameDurations.length===0||this.firstRenderTime===void 0||this.lastRenderTime===void 0)return;let f=this.lastRenderTime-this.firstRenderTime;if(f<=0)return;let i=this.frameDurations.length/(f/1000),n=this.frameDurations.slice().sort((M,I)=>I-M),_=Math.max(0,Math.ceil(n.length*0.01)-1),l=n[_],u=l>0?1000/l:0;return{averageFps:Math.round(i*100)/100,low1PctFps:Math.round(u*100)/100}}}hc();mc();Mc();_c();k();cc();C();function Cc(){s((f)=>({...f,hasCompletedOnboarding:!0,lastOnboardingVersion:"99.0.0"}))}function Lc(f,c){return new Promise((i)=>{let n=(_)=>void i(_);f.render(c(n))})}async function Gf(f,c,i){return wc(f,c,{color:"error",beforeExit:i})}async function wc(f,c,i){let{Text:n}=await import("./ink-0.6.3-6m2sw7dq.mjs"),_=i?.color,l=i?.exitCode??1;f.render(_?m(n,{color:_,children:c}):m(n,{children:c})),f.unmount(),await i?.beforeExit?.(),process.exit(l)}function z(f,c,i){return Lc(f,(n)=>m(X,{onChangeAppState:i?.onChangeAppState,children:m(Y,{children:c(n)})}))}async function Ef(f,c){f.render(c),G0(),await f.waitUntilExit(),await W0(0)}async function kf(f,c,i,n,_){if(K(!1)||process.env.IS_DEMO)return!1;R("setupScreens_start");let l=H0(),u=!1;if(P0()){let{MigrationDialog:o}=await import("./MigrationDialog-0.6.3-car6y4n7.mjs");await z(f,(h)=>m(o,{onDone:()=>void h()}))}let M=t();if(l&&(!M.theme||!M.hasCompletedOnboarding)){u=!0;let{Onboarding:o}=await import("./Onboarding-0.6.3-m7danhhz.mjs");await z(f,(h)=>m(o,{onDone:()=>{Cc(),h()}}),{onChangeAppState:N})}if(!K(process.env.CLAUBBIT)){if(l&&!V0()){let{TrustDialog:o}=await import("./TrustDialog-0.6.3-vd2hj09s.mjs");await z(f,(h)=>m(o,{commands:n,onDone:h}))}if(T0(!0),R("setupScreens_after_trust_accepted"),L0(),C0(),D0(),R("setupScreens_after_growthbook_kick"),l){let{errors:o}=y0();if(o.length===0)await F0(f);R("setupScreens_after_mcp_approvals");let h=await B0();if(R("setupScreens_after_claudemd_check"),h){let F=b0(await O0(!0)),{ClaudeMdExternalIncludesDialog:a}=await import("./ClaudeMdExternalIncludesDialog-0.6.3-60awaqwr.mjs");await z(f,(T)=>m(a,{onDone:T,isStandaloneDialog:!0,externalIncludes:F}))}}}E0(),Q0(),R("setupScreens_after_env_applied"),setImmediate(()=>p0());let I=await Y0();if(R("setupScreens_after_grove_check"),I){R("setupScreens_grove_block_enter");let{GroveDialog:o}=await import("./Grove-0.6.3-g8cwnttq.mjs");if(await z(f,(F)=>m(o,{showIfAlreadyViewed:!1,location:u?"onboarding":"policy_update_modal",onDone:F}))==="escape")return q("tengu_grove_policy_exited",{}),d(0),!1}{let o=z0();R("setupScreens_after_tryGetActiveProvider");let h=o?.transport==="anthropic"?o.apiKey?.trim():void 0;if(h&&!R0()){let F=J0(h),a=q0(F);if(R("setupScreens_after_keyStatus"),a==="new"){let{ApproveApiKey:T}=await import("./ApproveApiKey-0.6.3-kmctgnz2.mjs");await z(f,(w)=>m(T,{customApiKeyTruncated:F,onDone:w}),{onChangeAppState:N})}}}if(R("setupScreens_after_custom_api_key"),(c==="bypassPermissions"||i)&&!w0()){let{BypassPermissionsModeDialog:o}=await import("./BypassPermissionsModeDialog-0.6.3-sw13k2p8.mjs");await z(f,(h)=>m(o,{onAccept:h}))}if(c==="auto"&&!U0()){let{AutoModeOptInDialog:o}=await import("./AutoModeOptInDialog-0.6.3-vxra859t.mjs");await z(f,(h)=>m(o,{onAccept:h,onDecline:()=>d(1),declineExits:!0}))}return R("setupScreens_end"),u}function pf(f){let c=0,i=Z0(f);if(i.stdin)q("tengu_stdin_interactive",{});let n=new A,_=k0();a0(_);let l=process.env.CLAUDE_CODE_FRAME_TIMING_LOG;return{getFpsMetrics:()=>n.getMetrics(),stats:_,renderOptions:{...i,onFrame:(u)=>{if(n.record(u.durationMs),_.observe("frame_duration_ms",u.durationMs),l&&u.phases){let M=JSON.stringify({total:u.durationMs,...u.phases,rss:process.memoryUsage.rss(),cpu:process.cpuUsage()})+`
2
+ `;Rc(l,M)}if(X0())return;for(let M of u.flickers){if(M.reason==="resize")continue;let I=Date.now();if(I-c<1000)q("tengu_flicker",{desiredHeight:M.desiredHeight,actualHeight:M.availableHeight,reason:M.reason});c=I}}}}}
3
+ export{Cc as A,Lc as B,Gf as C,wc as D,z as E,Ef as F,kf as G,pf as H};
@@ -0,0 +1,58 @@
1
+ import{$N as F,HO as a,Vv as U,Xv as h,ei as $,hi as m,jB as A,kB as p,oO as L,uz as k,vz as I}from"./cli-0.6.3-kz9egvgw.mjs";import{g1 as O,h1 as f}from"./cli-0.6.3-nawttnnp.mjs";import{fha as S,jha as E}from"./cli-0.6.3-tjykjtxh.mjs";import{Sha as b,Uha as T}from"./cli-0.6.3-2seqm104.mjs";import{Xha as y,iia as C}from"./cli-0.6.3-vp1zy3b1.mjs";import{wpa as N}from"./cli-0.6.3-qh59pqrb.mjs";import{join as P}from"path";function D(){return`IMPORTANT: This message and these instructions are NOT part of the actual user conversation. Do NOT include any references to "documentation updates", "magic docs", or these update instructions in the document content.
2
+
3
+ Based on the user conversation above (EXCLUDING this documentation update instruction message), update the Magic Doc file to incorporate any NEW learnings, insights, or information that would be valuable to preserve.
4
+
5
+ The file {{docPath}} has already been read for you. Here are its current contents:
6
+ <current_doc_content>
7
+ {{docContents}}
8
+ </current_doc_content>
9
+
10
+ Document title: {{docTitle}}
11
+ {{customInstructions}}
12
+
13
+ Your ONLY task is to use the Edit tool to update the documentation file if there is substantial new information to add, then stop. You can make multiple edits (update multiple sections as needed) - make all Edit tool calls in parallel in a single message. If there's nothing substantial to add, simply respond with a brief explanation and do not call any tools.
14
+
15
+ CRITICAL RULES FOR EDITING:
16
+ - Preserve the Magic Doc header exactly as-is: # MAGIC DOC: {{docTitle}}
17
+ - If there's an italicized line immediately after the header, preserve it exactly as-is
18
+ - Keep the document CURRENT with the latest state of the codebase - this is NOT a changelog or history
19
+ - Update information IN-PLACE to reflect the current state - do NOT append historical notes or track changes over time
20
+ - Remove or replace outdated information rather than adding "Previously..." or "Updated to..." notes
21
+ - Clean up or DELETE sections that are no longer relevant or don't align with the document's purpose
22
+ - Fix obvious errors: typos, grammar mistakes, broken formatting, incorrect information, or confusing statements
23
+ - Keep the document well organized: use clear headings, logical section order, consistent formatting, and proper nesting
24
+
25
+ DOCUMENTATION PHILOSOPHY - READ CAREFULLY:
26
+ - BE TERSE. High signal only. No filler words or unnecessary elaboration.
27
+ - Documentation is for OVERVIEWS, ARCHITECTURE, and ENTRY POINTS - not detailed code walkthroughs
28
+ - Do NOT duplicate information that's already obvious from reading the source code
29
+ - Do NOT document every function, parameter, or line number reference
30
+ - Focus on: WHY things exist, HOW components connect, WHERE to start reading, WHAT patterns are used
31
+ - Skip: detailed implementation steps, exhaustive API docs, play-by-play narratives
32
+
33
+ What TO document:
34
+ - High-level architecture and system design
35
+ - Non-obvious patterns, conventions, or gotchas
36
+ - Key entry points and where to start reading code
37
+ - Important design decisions and their rationale
38
+ - Critical dependencies or integration points
39
+ - References to related files, docs, or code (like a wiki) - help readers navigate to relevant context
40
+
41
+ What NOT to document:
42
+ - Anything obvious from reading the code itself
43
+ - Exhaustive lists of files, functions, or parameters
44
+ - Step-by-step implementation details
45
+ - Low-level code mechanics
46
+ - Information already in CLAUDE.md or other project docs
47
+
48
+ Use the Edit tool with file_path: {{docPath}}
49
+
50
+ REMEMBER: Only update if there is substantial new information. The Magic Doc header (# MAGIC DOC: {{docTitle}}) must remain unchanged.`}async function g(){let w=S(),z=P(y(),"magic-docs","prompt.md");try{return await w.readFile(z,{encoding:"utf-8"})}catch{return D()}}function M(w,z){return w.replace(/\{\{(\w+)\}\}/g,(B,J)=>Object.prototype.hasOwnProperty.call(z,J)?z[J]:B)}async function R(w,z,B,J){let Y=await g(),K=J?`
51
+
52
+ DOCUMENT-SPECIFIC UPDATE INSTRUCTIONS:
53
+ The document author has provided specific instructions for how this file should be updated. Pay extra attention to these instructions and follow them carefully:
54
+
55
+ "${J}"
56
+
57
+ These instructions take priority over the general rules below. Make sure your updates align with these specific guidelines.`:"";return M(Y,{docContents:w,docPath:z,docTitle:B,customInstructions:K})}var j=N(()=>{C();E()});function Xw(){G.clear()}function d(w){let z=w.match(u);if(!z||!z[1])return null;let B=z[1].trim(),J=z.index+z[0].length,K=w.slice(J).match(/^\s*\n(?:\s*\n)?(.+?)(?:\n|$)/);if(K&&K[1]){let X=K[1].match(r);if(X&&X[1]){let Z=X[1].trim();return{title:B,instructions:Z}}}return{title:B}}function l(){return{agentType:"magic-docs",whenToUse:"Update Magic Docs",tools:[$],model:"sonnet",source:"built-in",baseDir:"built-in",getSystemPrompt:()=>""}}async function i(w,z){let{messages:B,systemPrompt:J,userContext:Y,systemContext:K,toolUseContext:V}=z,X=U(V.readFileState);X.delete(w.path);let Z={...V,readFileState:X},q="";try{let W=(await A.call({file_path:w.path},Z)).data;if(W.type==="text")q=W.file.content}catch(Q){if(b(Q)||Q instanceof Error&&Q.message.startsWith("File does not exist")){G.delete(w.path);return}throw Q}let H=d(q);if(!H){G.delete(w.path);return}let _=await R(q,w.path,H.title,H.instructions),x=async(Q,W)=>{if(Q.name===$&&typeof W==="object"&&W!==null&&"file_path"in W){let v=W.file_path;if(typeof v==="string"&&v===w.path)return{behavior:"allow",updatedInput:W}}return{behavior:"deny",message:`only ${$} is allowed for ${w.path}`,decisionReason:{type:"other",reason:`only ${$} is allowed`}}};for await(let Q of k({agentDefinition:l(),promptMessages:[F({content:_})],toolUseContext:Z,canUseTool:x,isAsync:!0,forkContextMessages:B,querySource:"magic_docs",override:{systemPrompt:J,userContext:Y,systemContext:K},availableTools:Z.options.tools}));}async function Zw(){}var u,r,G,Yw;var s=N(()=>{I();m();p();T();h();a();f();j();u=/^#\s*MAGIC\s+DOC:\s*(.+)$/im,r=/^[_*](.+?)[_*]\s*$/m,G=new Map;Yw=O(async function(w){let{messages:z,querySource:B}=w;if(B!=="repl_main_thread")return;if(L(z))return;if(G.size===0)return;for(let K of Array.from(G.values()))await i(K,w)})});
58
+ export{Xw as lh,Zw as mh,s as nh};
@@ -0,0 +1,2 @@
1
+ import{sh as e,vh as fq}from"./cli-0.6.3-0f2ybbnq.mjs";import{wh as t,yh as Hq}from"./cli-0.6.3-bcqjyxwt.mjs";import{$L as s,Am as S,Bm as Nq,Cm as g,Dm as Vq,Em as $,Fm as Wq,Im as i,Jm as Yq,_L as o,aM as Oq,kE as r,lE as kq,uE as n,vE as Mq}from"./cli-0.6.3-kz9egvgw.mjs";import{BW as Zq,zW as u}from"./cli-0.6.3-sxj65pz4.mjs";import{AY as F,SY as c,TY as Uq,dX as Qq,dZ as Xq,yY as M}from"./cli-0.6.3-sz0yt1ax.mjs";import{D0 as L,E0 as R,F0 as l}from"./cli-0.6.3-r0pavcpp.mjs";import{G0 as Lq}from"./cli-0.6.3-ysazbe18.mjs";import{K7 as d,L7 as Jq}from"./cli-0.6.3-cz70v0dc.mjs";import{spa as a,wpa as Gq}from"./cli-0.6.3-qh59pqrb.mjs";function qq(){let Z=T.c(1),q;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=L(F,{dimColor:!0,children:"Claude Code will be able to read files in this directory and make edits when auto-accept edits is on."}),Z[0]=q;else q=Z[0];return q}function wq(Z){let q=T.c(5),{path:X}=Z,Q;if(q[0]!==X)Q=L(F,{color:"permission",children:X}),q[0]=X,q[1]=Q;else Q=q[1];let N;if(q[2]===Symbol.for("react.memo_cache_sentinel"))N=L(qq,{}),q[2]=N;else N=q[2];let J;if(q[3]!==Q)J=R(M,{flexDirection:"column",paddingX:2,gap:1,children:[Q,N]}),q[3]=Q,q[4]=J;else J=q[4];return J}function Kq(Z){let q=T.c(14),{value:X,onChange:Q,onSubmit:N,error:J,suggestions:V,selectedSuggestion:w}=Z,k;if(q[0]===Symbol.for("react.memo_cache_sentinel"))k=L(F,{children:"Enter the path to the directory:"}),q[0]=k;else k=q[0];let Y;if(q[1]!==Q||q[2]!==N||q[3]!==X)Y=L(M,{borderDimColor:!0,borderStyle:"round",marginY:1,paddingLeft:1,children:L(r,{showCursor:!0,placeholder:`Directory path${d.ellipsis}`,value:X,onChange:Q,onSubmit:N,columns:80,cursorOffset:X.length,onChangeCursorOffset:Aq})}),q[1]=Q,q[2]=N,q[3]=X,q[4]=Y;else Y=q[4];let W;if(q[5]!==w||q[6]!==V)W=V.length>0&&L(M,{marginBottom:1,children:L(t,{suggestions:V,selectedSuggestion:w})}),q[5]=w,q[6]=V,q[7]=W;else W=q[7];let U;if(q[8]!==J)U=J&&L(F,{color:"error",children:J}),q[8]=J,q[9]=U;else U=q[9];let O;if(q[10]!==Y||q[11]!==W||q[12]!==U)O=R(M,{flexDirection:"column",children:[k,Y,W,U]}),q[10]=Y,q[11]=W,q[12]=U,q[13]=O;else O=q[13];return O}function Aq(){}function lq(Z){let q=T.c(34),{onAddDirectory:X,onCancel:Q,permissionContext:N,directoryPath:J}=Z,[V,w]=H.useState(""),[k,Y]=H.useState(null),W;if(q[0]===Symbol.for("react.memo_cache_sentinel"))W=[],q[0]=W;else W=q[0];let[U,O]=H.useState(W),[f,B]=H.useState(0),v;if(q[1]===Symbol.for("react.memo_cache_sentinel"))v=async(z)=>{if(!z){O([]),B(0);return}let G=await e(z);O(G),B(0)},q[1]=v;else v=q[1];let I=c(v,100),C,P;if(q[2]!==I||q[3]!==V)C=()=>{I(V)},P=[V,I],q[2]=I,q[3]=V,q[4]=C,q[5]=P;else C=q[4],P=q[5];H.useEffect(C,P);let m;if(q[6]===Symbol.for("react.memo_cache_sentinel"))m=(z)=>{let G=z.id+"/";w(G),Y(null)},q[6]=m;else m=q[6];let zq=m,_;if(q[7]!==X||q[8]!==N)_=async(z)=>{let G=await o(z,N);if(G.resultType==="success")X(G.absolutePath,!1);else Y(s(G))},q[7]=X,q[8]=N,q[9]=_;else _=q[9];let K=_,D;if(q[10]===Symbol.for("react.memo_cache_sentinel"))D={context:"Settings"},q[10]=D;else D=q[10];u("confirm:no",Q,D);let b;if(q[11]!==K||q[12]!==f||q[13]!==U)b=(z)=>{if(U.length>0){if(z.key==="tab"){z.preventDefault();let G=U[f];if(G)zq(G);return}if(z.key==="return"){z.preventDefault();let G=U[f];if(G)K(G.id+"/");return}if(z.key==="up"||z.ctrl&&z.key==="p"){z.preventDefault(),B((G)=>G<=0?U.length-1:G-1);return}if(z.key==="down"||z.ctrl&&z.key==="n"){z.preventDefault(),B((G)=>G>=U.length-1?0:G+1);return}}},q[11]=K,q[12]=f,q[13]=U,q[14]=b;else b=q[14];let x=b,j;if(q[15]!==J||q[16]!==X||q[17]!==Q)j=(z)=>{if(!J)return;let G=z;q:switch(G){case"yes-session":{X(J,!1);break q}case"yes-remember":{X(J,!0);break q}case"no":Q()}},q[15]=J,q[16]=X,q[17]=Q,q[18]=j;else j=q[18];let y=j,p=J?void 0:Eq,A;if(q[19]!==V||q[20]!==J||q[21]!==k||q[22]!==y||q[23]!==K||q[24]!==f||q[25]!==U)A=J?R(M,{flexDirection:"column",gap:1,children:[L(wq,{path:J}),L(n,{options:Rq,onChange:y,onCancel:()=>y("no")})]}):R(M,{flexDirection:"column",gap:1,marginX:2,children:[L(qq,{}),L(Kq,{value:V,onChange:w,onSubmit:K,error:k,suggestions:U,selectedSuggestion:f})]}),q[19]=V,q[20]=J,q[21]=k,q[22]=y,q[23]=K,q[24]=f,q[25]=U,q[26]=A;else A=q[26];let E;if(q[27]!==Q||q[28]!==p||q[29]!==A)E=L(i,{title:"Add directory to workspace",onCancel:Q,color:"permission",isCancelActive:!1,inputGuide:p,children:A}),q[27]=Q,q[28]=p,q[29]=A,q[30]=E;else E=q[30];let h;if(q[31]!==x||q[32]!==E)h=L(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:x,children:E}),q[31]=x,q[32]=E,q[33]=h;else h=q[33];return h}function Eq(Z){return Z.pending?R(F,{children:["Press ",Z.keyName," again to exit"]}):R($,{children:[L(S,{shortcut:"Tab",action:"complete"}),L(S,{shortcut:"Enter",action:"add"}),L(g,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})}var T,H,Rq;var Fq=Gq(()=>{Jq();Uq();Oq();kq();Xq();Zq();fq();Vq();Mq();Wq();Yq();Nq();Hq();l();T=a(Qq(),1),H=a(Lq(),1),Rq=[{value:"yes-session",label:"Yes, for this session"},{value:"yes-remember",label:"Yes, and remember this directory"},{value:"no",label:"No"}]});
2
+ export{lq as qh,Fq as rh};
@@ -0,0 +1,2 @@
1
+ import{wpa as q}from"./cli-0.6.3-qh59pqrb.mjs";function x(k){j=[k,...j.slice(0,v-1)]}function y(){return j}var j,v=20;var w=q(()=>{j=[]});
2
+ export{x as Bd,y as Cd,w as Dd};
@@ -0,0 +1,2 @@
1
+ import{AW as x,BW as d}from"./cli-0.6.3-sxj65pz4.mjs";import{PY as y,QY as g}from"./cli-0.6.3-sz0yt1ax.mjs";import{G0 as S}from"./cli-0.6.3-ysazbe18.mjs";import{$0 as t,U0 as w,W0 as F}from"./cli-0.6.3-syb9w8h5.mjs";import{R4 as m,U4 as W,X4 as b,k5 as s}from"./cli-0.6.3-nawttnnp.mjs";import{Pda as E,Vba as f,Xda as r,Yba as L,rca as n,sba as P,tba as i}from"./cli-0.6.3-cz70v0dc.mjs";import{pga as A,qga as a}from"./cli-0.6.3-mwvq805r.mjs";import{tha as G,wha as u}from"./cli-0.6.3-tjykjtxh.mjs";import{Hoa as U,Zoa as o}from"./cli-0.6.3-4zj0d42m.mjs";import{spa as k,wpa as K}from"./cli-0.6.3-qh59pqrb.mjs";function v(z,N,J){let Q=Z.useRef(0),V=Z.useRef(void 0),X=Z.useCallback(()=>{if(V.current)clearTimeout(V.current),V.current=void 0},[]);return Z.useEffect(()=>{return()=>{X()}},[X]),Z.useCallback(()=>{let Y=Date.now();if(Y-Q.current<=T&&V.current!==void 0)X(),z(!1),N();else J?.(),z(!0),X(),V.current=setTimeout((j,H)=>{j(!1),H.current=void 0},T,z,V);Q.current=Y},[z,N,J,X])}var Z,T=800;var R=K(()=>{Z=k(S(),1)});function C(z,N,J,Q=!0){let{exit:V}=y(),[X,Y]=$.useState({pending:!1,keyName:null}),q=$.useMemo(()=>J??V,[J,V]),M=v((_)=>Y({pending:_,keyName:"Ctrl-C"}),q),j=v((_)=>Y({pending:_,keyName:"Ctrl-D"}),q),H=$.useCallback(()=>{if(N?.())return;M()},[M,N]),O=$.useCallback(()=>{j()},[j]),c=$.useMemo(()=>({"app:interrupt":H,"app:exit":O}),[H,O]);return z(c,{context:"Global",isActive:Q}),X}var $;var I=K(()=>{g();R();$=k(S(),1)});function Gz(z,N,J){return C(x,N,z,J)}var l=K(()=>{d();I()});async function e(z="claude_code_guest_pass"){let{accessToken:N,orgUUID:J}=await w(),Q={...F(N),"x-organization-uuid":J},V=`${A().BASE_API_URL}/api/oauth/organizations/${J}/referral/eligibility`;return(await U.get(V,{headers:Q,params:{campaign:z},timeout:5000})).data}async function vz(z="claude_code_guest_pass"){let{accessToken:N,orgUUID:J}=await w(),Q={...F(N),"x-organization-uuid":J},V=`${A().BASE_API_URL}/api/oauth/organizations/${J}/referral/redemptions`;return(await U.get(V,{headers:Q,params:{campaign:z},timeout:1e4})).data}function p(){return!!(W()?.organizationUuid&&m()&&b()==="max")}function Az(){if(!p())return{eligible:!1,needsRefresh:!1,hasCache:!1};let z=W()?.organizationUuid;if(!z)return{eligible:!1,needsRefresh:!1,hasCache:!1};let J=L().passesEligibilityCache?.[z];if(!J)return{eligible:!1,needsRefresh:!0,hasCache:!1};let{eligible:Q,timestamp:V}=J,Y=Date.now()-V>h;return{eligible:Q,needsRefresh:Y,hasCache:!0}}function Uz(z){let N=zz[z.currency]??`${z.currency} `,J=z.amount_minor_units/100,Q=J%1===0?J.toString():J.toFixed(2);return`${N}${Q}`}function wz(){let z=W()?.organizationUuid;if(!z)return null;return L().passesEligibilityCache?.[z]?.referrer_reward??null}function Fz(){let z=W()?.organizationUuid;if(!z)return null;return L().passesEligibilityCache?.[z]?.remaining_passes??null}async function D(){if(B)return G("Passes: Reusing in-flight eligibility fetch"),B;let z=W()?.organizationUuid;if(!z)return null;return B=(async()=>{try{let N=await e(),J={...N,timestamp:Date.now()};return f((Q)=>({...Q,passesEligibilityCache:{...Q.passesEligibilityCache,[z]:J}})),G(`Passes eligibility cached for org ${z}: ${N.eligible}`),N}catch(N){return G("Failed to fetch and cache passes eligibility"),E(N),null}finally{B=null}})(),B}async function Jz(){if(!p())return null;let z=W()?.organizationUuid;if(!z)return null;let J=L().passesEligibilityCache?.[z],Q=Date.now();if(!J)return G("Passes: No cache, fetching eligibility in background (command unavailable this session)"),D(),null;if(Q-J.timestamp>h){G("Passes: Cache stale, returning cached data and refreshing in background"),D();let{timestamp:Y,...q}=J;return q}G("Passes: Using fresh cached eligibility data");let{timestamp:V,...X}=J;return X}async function Oz(){if(P())return;Jz()}var h=86400000,B=null,zz;var Nz=K(()=>{o();a();s();n();u();r();i();t();zz={USD:"$",EUR:"€",GBP:"£",BRL:"R$",CAD:"CA$",AUD:"A$",NZD:"NZ$",SGD:"S$"}});
2
+ export{v as iV,R as jV,Gz as kV,l as lV,vz as mV,Az as nV,Uz as oV,wz as pV,Fz as qV,Jz as rV,Oz as sV,Nz as tV};
@@ -0,0 +1,2 @@
1
+ import{Im as y,Jm as p,uE as O,wE as j}from"./cli-0.6.3-kz9egvgw.mjs";import{AY as I,EY as R,dX as S,dZ as v,yY as F}from"./cli-0.6.3-sz0yt1ax.mjs";import{D0 as Z,E0 as N,F0 as U}from"./cli-0.6.3-r0pavcpp.mjs";import{G0 as d}from"./cli-0.6.3-ysazbe18.mjs";import{Vaa as M,gba as E}from"./cli-0.6.3-cz70v0dc.mjs";import{rga as H,tga as b}from"./cli-0.6.3-ywk23cbf.mjs";import{spa as k}from"./cli-0.6.3-qh59pqrb.mjs";b();v();E();j();p();U();var T=k(S(),1),h=k(d(),1),x="Auto mode lets Claude handle permission prompts automatically — Claude checks each tool call for risky actions and prompt injection before executing. Actions Claude identifies as safe are executed, while actions Claude identifies as risky are blocked and Claude may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. Claude can make mistakes that allow harmful commands to run, it's recommended to only use in isolated environments. Shift+Tab to change mode.";function l(A){let f=T.c(18),{onAccept:J,onDecline:q,declineExits:C}=A,K;if(f[0]===Symbol.for("react.memo_cache_sentinel"))K=[],f[0]=K;else K=f[0];h.default.useEffect(_,K);let Q;if(f[1]!==J||f[2]!==q)Q=function(m){f:switch(m){case"accept":{H("tengu_auto_mode_opt_in_dialog_accept",{}),M("userSettings",{skipAutoPermissionPrompt:!0}),J();break f}case"accept-default":{H("tengu_auto_mode_opt_in_dialog_accept_default",{}),M("userSettings",{skipAutoPermissionPrompt:!0,permissions:{defaultMode:"auto"}}),J();break f}case"decline":H("tengu_auto_mode_opt_in_dialog_decline",{}),q()}},f[1]=J,f[2]=q,f[3]=Q;else Q=f[3];let B=Q,V;if(f[4]===Symbol.for("react.memo_cache_sentinel"))V=N(F,{flexDirection:"column",gap:1,children:[Z(I,{children:x}),Z(R,{url:"https://code.claude.com/docs/en/security"})]}),f[4]=V;else V=f[4];let W;if(f[5]===Symbol.for("react.memo_cache_sentinel"))W=[{label:"Yes, and make it my default mode",value:"accept-default"}],f[5]=W;else W=f[5];let X;if(f[6]===Symbol.for("react.memo_cache_sentinel"))X={label:"Yes, enable auto mode",value:"accept"},f[6]=X;else X=f[6];let L=C?"No, exit":"No, go back",w;if(f[7]!==L)w=[...W,X,{label:L,value:"decline"}],f[7]=L,f[8]=w;else w=f[8];let z;if(f[9]!==B)z=(P)=>B(P),f[9]=B,f[10]=z;else z=f[10];let G;if(f[11]!==q||f[12]!==w||f[13]!==z)G=Z(O,{options:w,onChange:z,onCancel:q}),f[11]=q,f[12]=w,f[13]=z,f[14]=G;else G=f[14];let Y;if(f[15]!==q||f[16]!==G)Y=N(y,{title:"Enable auto mode?",color:"warning",onCancel:q,children:[V,G]}),f[15]=q,f[16]=G,f[17]=Y;else Y=f[17];return Y}function _(){H("tengu_auto_mode_opt_in_dialog_shown",{})}
2
+ export{x as fb,l as gb};
@@ -0,0 +1,2 @@
1
+ import{dX as f}from"./cli-0.6.3-sz0yt1ax.mjs";import{D0 as p,F0 as c}from"./cli-0.6.3-r0pavcpp.mjs";import{G0 as M}from"./cli-0.6.3-ysazbe18.mjs";import{spa as o}from"./cli-0.6.3-qh59pqrb.mjs";c();var n=o(f(),1),r=o(M(),1),d=r.createContext(void 0);function a(F){let e=n.c(3),{getFpsMetrics:s,children:i}=F,t;if(e[0]!==i||e[1]!==s)t=p(d.Provider,{value:s,children:i}),e[0]=i,e[1]=s,e[2]=t;else t=e[2];return t}function l(){return r.useContext(d)}
2
+ export{a as zb,l as Ab};
@@ -0,0 +1,12 @@
1
+ import{Ff as $Z,Gf as uZ,Hf as fz}from"./cli-0.6.3-x6f1pr27.mjs";import{Ug as GJ,Vg as Bz}from"./cli-0.6.3-r9spk5d9.mjs";import{xh as HJ,yh as Vz}from"./cli-0.6.3-bcqjyxwt.mjs";import{$Q as KQ,$i as SJ,AO as rQ,CO as eJ,Cu as AX,DO as ZQ,EO as oQ,FO as tQ,HO as OZ,Iy as SZ,Jy as hZ,Ky as TZ,Ly as dJ,My as cQ,Ny as cJ,Om as XQ,Qm as xZ,Ri as _Z,Si as TQ,Ty as e0,Uy as gJ,Vy as mJ,Wy as nJ,XQ as VQ,Xx as pQ,Xy as yz,Yx as PX,_N as mQ,_i as IJ,_m as WQ,cR as fZ,cn as uz,cu as UQ,du as jQ,dy as dQ,eu as $Q,ey as DX,fu as uQ,gj as pJ,ju as MQ,ku as EQ,oR as BQ,or as NJ,pO as nQ,qm as zQ,rm as $z,sr as Uz,tO as iQ,uO as lQ,wO as nZ,xO as aQ,xj as mZ,yj as FX,ym as RQ,zO as g0,zm as wX,zu as fQ}from"./cli-0.6.3-kz9egvgw.mjs";import{GS as xQ,PS as OX}from"./cli-0.6.3-vsvcyfnd.mjs";import{CW as YJ,GW as qz,HW as UZ,IW as NX,lW as FZ,mW as qJ}from"./cli-0.6.3-sxj65pz4.mjs";import{AY as g,BY as JX,DX as vZ,VW as WJ,WW as Wz,aY as jZ,bY as Jz,dX as u0,dZ as p0,rY as hQ,sY as KX,yY as b,zX as c0,zY as DQ}from"./cli-0.6.3-sz0yt1ax.mjs";import{C0 as f0,D0 as B,E0 as $,F0}from"./cli-0.6.3-r0pavcpp.mjs";import{G0 as S0}from"./cli-0.6.3-ysazbe18.mjs";import{a1 as VJ,b1 as BJ,c1 as Yz}from"./cli-0.6.3-8qad2cfe.mjs";import{H4 as JQ,R4 as QQ,e4 as PQ,f4 as ZX,k4 as JZ,k5 as xz,n4 as QZ}from"./cli-0.6.3-nawttnnp.mjs";import{G5 as gZ,H5 as GX}from"./cli-0.6.3-6ax8m5hv.mjs";import{J_ as SQ,K7 as v0,L7 as zJ,Yba as DZ,c$ as LX,oaa as LZ,rca as HQ,waa as XJ}from"./cli-0.6.3-cz70v0dc.mjs";import{aea as PZ,bea as TJ,lea as ZZ,sea as hz}from"./cli-0.6.3-p3cb5wr9.mjs";import{Dfa as RZ,Efa as Rz,Qfa as KZ,Vfa as wZ,Wfa as NZ,gga as Dz}from"./cli-0.6.3-0xzsm005.mjs";import{tha as m0,wha as ez}from"./cli-0.6.3-tjykjtxh.mjs";import{_ha as IQ,iia as HX}from"./cli-0.6.3-vp1zy3b1.mjs";import{Nna as BX,ina as kQ}from"./cli-0.6.3-g7nc10fr.mjs";import{spa as N0,wpa as L0}from"./cli-0.6.3-qh59pqrb.mjs";function MZ(){if($0!==null)clearTimeout($0),$0=null;bZ=Date.now();for(let J of BZ)J()}function Qz(){if($0!==null)return;let J=Date.now()-bZ;if(J>=jZ){MZ();return}$0=setTimeout(MZ,jZ-J)}function iZ(){return EZ.useSyncExternalStore(s0.subscribe,s0.getSnapshot)}function TX(){return EZ.useSyncExternalStore(s0.subscribe,s0.getPresenceSnapshot)}var EZ,x0=null,BZ,$0=null,bZ=0,s0;var lZ=L0(()=>{Jz();EZ=N0(S0(),1),BZ=new Set;s0={update(J){let Z=x0;if(x0=J(Z),x0===Z)return;if(Z===null!==(x0===null))MZ();else Qz()},clear(){s0.update(()=>null)},read(){return x0},subscribe(J){return BZ.add(J),()=>{BZ.delete(J)}},getSnapshot(){return x0},getPresenceSnapshot(){return x0!==null},resetForTesting(){if($0!==null)clearTimeout($0),$0=null;x0=null,bZ=0,BZ.clear()}}});function sZ(J){let Z=HZ.c(6),{children:Q}=J,[z,X]=K0.useState(null),[W,q]=K0.useState(null),V;if(Z[0]!==Q||Z[1]!==W)V=B(oZ.Provider,{value:W,children:Q}),Z[0]=Q,Z[1]=W,Z[2]=V;else V=Z[2];let Y;if(Z[3]!==z||Z[4]!==V)Y=B(rZ.Provider,{value:X,children:B(tZ.Provider,{value:q,children:B(aZ.Provider,{value:z,children:V})})}),Z[3]=z,Z[4]=V,Z[5]=Y;else Y=Z[5];return Y}function eZ(){return K0.useContext(aZ)}function ZJ(){return K0.useContext(oZ)}function xX(J){let Z=HZ.c(8),Q=K0.useContext(rZ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];K0.useEffect(z,X),K0.useEffect(W,q)}function $X(J){let Z=HZ.c(8),Q=K0.useContext(tZ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];K0.useEffect(z,X),K0.useEffect(W,q)}var HZ,K0,aZ,rZ,oZ,tZ;var JJ=L0(()=>{F0();HZ=N0(u0(),1),K0=N0(S0(),1),aZ=K0.createContext(null),rZ=K0.createContext(null),oZ=K0.createContext(null),tZ=K0.createContext(null)});function GZ(J){return J.type==="attachment"&&Xz.has(J.attachment.type)}var zz,Xz;var CZ=L0(()=>{zz=["hook_success","hook_additional_context","hook_cancelled","command_permissions","agent_mention","budget_usd","critical_system_reminder","edited_image_file","edited_text_file","opened_file_in_ide","output_style","plan_mode","plan_mode_exit","plan_mode_reentry","structured_output","team_context","todo_reminder","context_efficiency","deferred_tools_delta","mcp_instructions_delta","companion_intro","token_usage","ultrathink_effort","max_turns_reached","task_reminder","auto_mode","auto_mode_exit","output_token_usage","pen_mode_enter","pen_mode_exit","verify_plan_reminder","current_session_memory","compaction_reminder","date_change","bash_git_instructions","claude_md_delta","git_status_delta","memory_delta","todo_reminder_delta"],Xz=new Set(zz)});import{fileURLToPath as Hz}from"url";function QW(J){let[Z,Q]=q0.useState(null),z=q0.useRef(J);z.current=J;let X=q0.useRef(null),W=q0.useCallback(()=>{Q(null)},[]),q=q0.useCallback((K)=>{let F=Math.max(0,K.getScrollHeight()-K.getViewportHeight());if(K.getScrollTop()+K.getPendingDelta()>=F)return;if(X.current===null)X.current=K.getScrollHeight(),Q(z.current)},[]),V=q0.useCallback((K)=>{if(!K)return;K.scrollToBottom()},[]);q0.useEffect(()=>{if(Z===null)X.current=null;else if(J<Z)X.current=null,Q(null)},[J,Z]);let Y=q0.useCallback((K,F)=>{if(Q((P)=>P===null?null:P+K),X.current!==null)X.current+=F},[]);return{dividerIndex:Z,dividerYRef:X,onScrollAway:q,onRepin:W,jumpToNew:V,shiftDivider:Y}}function Gz(J,Z){let Q=0,z=!1;for(let X=Z;X<J.length;X++){let W=J[X];if(W.type==="progress")continue;if(W.type==="assistant"&&!Lz(W))continue;let q=W.type==="assistant";if(q&&!z)Q++;z=q}return Q}function Lz(J){if(J.type!=="assistant")return!1;for(let Z of J.message.content)if(Z.type==="text"&&Z.text.trim()!=="")return!0;return!1}function zW(J,Z){if(Z===null)return;let Q=Z;while(Q<J.length&&(J[Q]?.type==="progress"||GZ(J[Q])))Q++;let z=J[Q]?.uuid;if(!z)return;let X=Gz(J,Z);return{firstUnseenUuid:z,count:Math.max(1,X)}}function XW(J){let Z=a0.c(47),{scrollable:Q,bottom:z,overlay:X,bottomFloat:W,modal:q,modalScrollRef:V,scrollRef:Y,dividerYRef:K,hidePill:F,hideSticky:P,newMessageCount:v,onPillClick:M}=J,S=F===void 0?!1:F,Z0=P===void 0?!1:P,d=v===void 0?0:v,{rows:O,columns:C}=FZ(),[_,w]=q0.useState(null),D;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))D={setStickyPrompt:w},Z[0]=D;else D=Z[0];let p=D,J0;if(Z[1]!==Y)J0=(h)=>Y?.current?.subscribe(h)??wz,Z[1]=Y,Z[2]=J0;else J0=Z[2];let E=J0,k;if(Z[3]!==K||Z[4]!==Y)k=()=>{let h=Y?.current,z0=K?.current;if(!h||z0==null)return!1;return h.getScrollTop()+h.getPendingDelta()+h.getViewportHeight()<z0},Z[3]=K,Z[4]=Y,Z[5]=k;else k=Z[5];let H0=q0.useSyncExternalStore(E,k),Y0;if(Z[6]===Symbol.for("react.memo_cache_sentinel"))Y0=[],Z[6]=Y0;else Y0=Z[6];if(q0.useLayoutEffect(Fz,Y0),c0()){let h=Z0?null:_,z0=h!=null&&h!=="clicked"&&X==null?h:null,Q0=h!=null&&X==null,X0;if(Z[7]!==z0)X0=z0&&B(Oz,{text:z0.text,onClick:z0.scrollTo}),Z[7]=z0,Z[8]=X0;else X0=Z[8];let O0=Q0?0:1,T;if(Z[9]!==Q)T=B(yZ,{value:p,children:Q}),Z[9]=Q,Z[10]=T;else T=Z[10];let i;if(Z[11]!==X||Z[12]!==Y||Z[13]!==T||Z[14]!==O0)i=$(GJ,{ref:Y,flexGrow:1,flexDirection:"column",paddingTop:O0,stickyScroll:!0,children:[T,X]}),Z[11]=X,Z[12]=Y,Z[13]=T,Z[14]=O0,Z[15]=i;else i=Z[15];let o;if(Z[16]!==S||Z[17]!==d||Z[18]!==M||Z[19]!==X||Z[20]!==H0)o=!S&&H0&&X==null&&B(Nz,{count:d,onClick:M}),Z[16]=S,Z[17]=d,Z[18]=M,Z[19]=X,Z[20]=H0,Z[21]=o;else o=Z[21];let t;if(Z[22]!==W)t=W!=null&&B(b,{position:"absolute",bottom:0,right:0,opaque:!0,children:W}),Z[22]=W,Z[23]=t;else t=Z[23];let I;if(Z[24]!==i||Z[25]!==o||Z[26]!==t||Z[27]!==X0)I=$(b,{flexGrow:1,flexDirection:"column",overflow:"hidden",children:[X0,i,o,t]}),Z[24]=i,Z[25]=o,Z[26]=t,Z[27]=X0,Z[28]=I;else I=Z[28];let W0,N;if(Z[29]===Symbol.for("react.memo_cache_sentinel"))W0=B(Az,{}),N=B(Pz,{}),Z[29]=W0,Z[30]=N;else W0=Z[29],N=Z[30];let U;if(Z[31]!==z)U=$(b,{flexDirection:"column",flexShrink:0,width:"100%",maxHeight:"50%",children:[W0,N,B(b,{flexDirection:"column",width:"100%",flexGrow:1,overflowY:"hidden",children:z})]}),Z[31]=z,Z[32]=U;else U=Z[32];let R;if(Z[33]!==C||Z[34]!==q||Z[35]!==V||Z[36]!==O)R=q!=null&&B(YJ,{value:{rows:O-QJ-1,columns:C-4,scrollRef:V??null},children:$(b,{position:"absolute",bottom:0,left:0,right:0,maxHeight:O-QJ,flexDirection:"column",overflow:"hidden",opaque:!0,children:[B(b,{flexShrink:0,children:B(g,{color:"permission",children:"▔".repeat(C)})}),B(b,{flexDirection:"column",paddingX:2,flexShrink:0,overflow:"hidden",children:q})]})}),Z[33]=C,Z[34]=q,Z[35]=V,Z[36]=O,Z[37]=R;else R=Z[37];let s;if(Z[38]!==I||Z[39]!==U||Z[40]!==R)s=$(sZ,{children:[I,U,R]}),Z[38]=I,Z[39]=U,Z[40]=R,Z[41]=s;else s=Z[41];return s}let l;if(Z[42]!==z||Z[43]!==q||Z[44]!==X||Z[45]!==Q)l=$(f0,{children:[Q,z,X,q]}),Z[42]=z,Z[43]=q,Z[44]=X,Z[45]=Q,Z[46]=l;else l=Z[46];return l}function Fz(){if(!c0())return;let J=WJ.get(process.stdout);if(!J)return;return J.onHyperlinkClick=Kz,()=>{J.onHyperlinkClick=void 0}}function Kz(J){if(J.startsWith("file:"))try{VJ(Hz(J))}catch{}else BJ(J)}function wz(){}function Nz(J){let Z=a0.c(10),{count:Q,onClick:z}=J,[X,W]=q0.useState(!1),q,V;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=()=>W(!0),V=()=>W(!1),Z[0]=q,Z[1]=V;else q=Z[0],V=Z[1];let Y=X?"userMessageBackgroundHover":"userMessageBackground",K;if(Z[2]!==Q)K=Q>0?`${Q} new ${LZ(Q,"message")}`:"Jump to bottom",Z[2]=Q,Z[3]=K;else K=Z[3];let F;if(Z[4]!==Y||Z[5]!==K)F=$(g,{backgroundColor:Y,dimColor:!0,children:[" ",K," ",v0.arrowDown," "]}),Z[4]=Y,Z[5]=K,Z[6]=F;else F=Z[6];let P;if(Z[7]!==z||Z[8]!==F)P=B(b,{position:"absolute",bottom:0,left:0,right:0,justifyContent:"center",children:B(b,{onClick:z,onMouseEnter:q,onMouseLeave:V,children:F})}),Z[7]=z,Z[8]=F,Z[9]=P;else P=Z[9];return P}function Oz(J){let Z=a0.c(8),{text:Q,onClick:z}=J,[X,W]=q0.useState(!1),q=X?"userMessageBackgroundHover":"userMessageBackground",V,Y;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))V=()=>W(!0),Y=()=>W(!1),Z[0]=V,Z[1]=Y;else V=Z[0],Y=Z[1];let K;if(Z[2]!==Q)K=$(g,{color:"subtle",wrap:"truncate-end",children:[v0.pointer," ",Q]}),Z[2]=Q,Z[3]=K;else K=Z[3];let F;if(Z[4]!==z||Z[5]!==q||Z[6]!==K)F=B(b,{flexShrink:0,width:"100%",height:1,paddingRight:1,backgroundColor:q,onClick:z,onMouseEnter:V,onMouseLeave:Y,children:K}),Z[4]=z,Z[5]=q,Z[6]=K,Z[7]=F;else F=Z[7];return F}function Az(){let J=a0.c(4),Z=eZ();if(!Z||Z.suggestions.length===0)return null;let Q;if(J[0]!==Z.maxColumnWidth||J[1]!==Z.selectedSuggestion||J[2]!==Z.suggestions)Q=B(b,{position:"absolute",bottom:"100%",left:0,right:0,paddingX:2,paddingTop:1,flexDirection:"column",opaque:!0,children:B(HJ,{suggestions:Z.suggestions,selectedSuggestion:Z.selectedSuggestion,maxColumnWidth:Z.maxColumnWidth,overlay:!0})}),J[0]=Z.maxColumnWidth,J[1]=Z.selectedSuggestion,J[2]=Z.suggestions,J[3]=Q;else Q=J[3];return Q}function Pz(){let J=a0.c(2),Z=ZJ();if(!Z)return null;let Q;if(J[0]!==Z)Q=B(b,{position:"absolute",bottom:"100%",left:0,right:0,opaque:!0,children:Z}),J[0]=Z,J[1]=Q;else Q=J[1];return Q}var a0,q0,QJ=2,yZ;var LJ=L0(()=>{zJ();qz();JJ();qJ();Bz();Wz();p0();Yz();vZ();XJ();CZ();Vz();F0();a0=N0(u0(),1),q0=N0(S0(),1),yZ=q0.createContext({setStickyPrompt:()=>{}})});function FJ(J,Z){for(let Q of J)if(!Z.has(Q))return!1;return!0}var KJ=()=>{};function wJ(J){if(J.type!=="user")return!1;let Z=J.message.content[0];if(Z?.type!=="text")return!1;if(!Z.text.includes(`<${KZ}`))return!1;if(_Z(Z.text,wZ)!=="completed")return!1;return _Z(Z.text,NZ)?.startsWith(NJ)??!1}function OJ(J,Z){if(!c0())return J;if(Z)return J;let Q=[],z=0;while(z<J.length){let X=J[z];if(wJ(X)){let W=0;while(z<J.length&&wJ(J[z]))W++,z++;if(W===1)Q.push(X);else Q.push({...X,message:{role:"user",content:[{type:"text",text:`<${KZ}><${wZ}>completed</${wZ}><${NZ}>${W} background commands completed</${NZ}></${KZ}>`}]}})}else Q.push(X),z++}return Q}var AJ=L0(()=>{Dz();Uz();vZ();OZ()});function PJ(J){return J.type==="system"&&J.subtype==="stop_hook_summary"&&J.hookLabel!==void 0}function DJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(PJ(z)){let X=z.hookLabel,W=[];while(Q<J.length){let q=J[Q];if(!PJ(q)||q.hookLabel!==X)break;W.push(q),Q++}if(W.length===1)Z.push(z);else Z.push({...z,hookCount:W.reduce((q,V)=>q+V.hookCount,0),hookInfos:W.flatMap((q)=>q.hookInfos),hookErrors:W.flatMap((q)=>q.hookErrors),preventedContinuation:W.some((q)=>q.preventedContinuation),hasOutput:W.some((q)=>q.hasOutput),totalDurationMs:Math.max(...W.map((q)=>q.totalDurationMs??0))})}else Z.push(z),Q++}return Z}var UJ=()=>{};function jJ(J){return J.type==="attachment"&&J.attachment.type==="task_status"&&J.attachment.taskType==="in_process_teammate"&&J.attachment.status==="completed"}function MJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(jJ(z)){let X=0;while(Q<J.length&&jJ(J[Q]))X++,Q++;if(X===1)Z.push(z);else Z.push({type:"attachment",uuid:z.uuid,timestamp:z.timestamp,attachment:{type:"teammate_shutdown_batch",count:X}})}else Z.push(z),Q++}return Z}var EJ=()=>{};function jz(J){let Z=bJ.get(J);if(!Z)Z=new Set(J.filter((Q)=>Q.renderGroupedToolUse).map((Q)=>Q.name)),bJ.set(J,Z);return Z}function kZ(J){if(J.type==="assistant"&&J.message.content[0]?.type==="tool_use"){let Z=J.message.content[0];return{messageId:J.message.id,toolUseId:Z.id,toolName:Z.name}}return null}function CJ(J,Z,Q=!1){if(Q)return{messages:J};let z=jz(Z),X=new Map;for(let F of J){let P=kZ(F);if(P&&z.has(P.toolName)){let v=`${P.messageId}:${P.toolName}`,M=X.get(v)??[];M.push(F),X.set(v,M)}}let W=new Map,q=new Set;for(let[F,P]of X)if(P.length>=2){W.set(F,P);for(let v of P){let M=kZ(v);if(M)q.add(M.toolUseId)}}let V=new Map;for(let F of J)if(F.type==="user"){for(let P of F.message.content)if(P.type==="tool_result"&&q.has(P.tool_use_id))V.set(P.tool_use_id,F)}let Y=[],K=new Set;for(let F of J){let P=kZ(F);if(P){let v=`${P.messageId}:${P.toolName}`,M=W.get(v);if(M){if(!K.has(v)){K.add(v);let S=M[0],Z0=[];for(let O of M){let C=O.message.content[0].id,_=V.get(C);if(_)Z0.push(_)}let d={type:"grouped_tool_use",toolName:P.toolName,messages:M,results:Z0,displayMessage:S,uuid:`grouped-${S.uuid}`,timestamp:S.timestamp,messageId:P.messageId};Y.push(d)}continue}}if(F.type==="user"){let v=F.message.content.filter((M)=>M.type==="tool_result");if(v.length>0){if(v.every((S)=>q.has(S.tool_use_id)))continue}}Y.push(F)}return{messages:Y}}var bJ;var vJ=L0(()=>{bJ=new WeakMap});function AZ(J){let Z=kJ.get(J);if(Z!==void 0)return Z;let Q=Mz(J).toLowerCase();return kJ.set(J,Q),Q}function Mz(J){let Z="";switch(J.type){case"user":{let X=J.message.content;if(typeof X==="string")Z=_J.has(X)?"":X;else{let W=[];for(let q of X)if(q.type==="text"){if(!_J.has(q.text))W.push(q.text)}else if(q.type==="tool_result")W.push(bz(J.toolUseResult));Z=W.join(`
2
+ `)}break}case"assistant":{let X=J.message.content;if(Array.isArray(X))Z=X.flatMap((W)=>{if(W.type==="text")return[W.text];if(W.type==="tool_use")return[Ez(W.input)];return[]}).join(`
3
+ `);break}case"attachment":{if(J.attachment.type==="relevant_memories")Z=J.attachment.memories.map((X)=>X.content).join(`
4
+ `);else if(J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let X=J.attachment.prompt;Z=typeof X==="string"?X:X.flatMap((W)=>W.type==="text"?[W.text]:[]).join(`
5
+ `)}break}case"collapsed_read_search":{if(J.relevantMemories)Z=J.relevantMemories.map((X)=>X.content).join(`
6
+ `);break}default:break}let Q=Z,z=Q.indexOf("<system-reminder>");while(z>=0){let X=Q.indexOf(yJ,z);if(X<0)break;Q=Q.slice(0,z)+Q.slice(X+yJ.length),z=Q.indexOf("<system-reminder>")}return Q}function Ez(J){if(!J||typeof J!=="object")return"";let Z=J,Q=[];for(let z of["command","pattern","file_path","path","prompt","description","query","url","skill"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["args","files"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(" "))}return Q.join(`
7
+ `)}function bz(J){if(!J||typeof J!=="object")return typeof J==="string"?J:"";let Z=J;if(typeof Z.stdout==="string"){let z=typeof Z.stderr==="string"?Z.stderr:"";return Z.stdout+(z?`
8
+ `+z:"")}if(Z.file&&typeof Z.file==="object"&&typeof Z.file.content==="string")return Z.file.content;let Q=[];for(let z of["content","output","result","text","message"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["filenames","lines","results"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(`
9
+ `))}return Q.join(`
10
+ `)}var yJ="</system-reminder>",_J,kJ;var IZ=L0(()=>{OZ();_J=new Set([IJ,SJ]),kJ=new WeakMap});function RJ(J){let Z=hJ.c(5),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.type==="assistant"&&Q.message.model&&Q.message.content.some(Cz)))return null;let W=PZ(Q.message.model)+8,q;if(Z[0]!==Q.message.model)q=B(g,{dimColor:!0,children:Q.message.model}),Z[0]=Q.message.model,Z[1]=q;else q=Z[1];let V;if(Z[2]!==W||Z[3]!==q)V=B(b,{minWidth:W,children:q}),Z[2]=W,Z[3]=q,Z[4]=V;else V=Z[4];return V}function Cz(J){return J.type==="text"}var hJ;var xJ=L0(()=>{TJ();p0();F0();hJ=N0(u0(),1)});function uJ(J){let Z=$J.c(10),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.timestamp&&Q.type==="assistant"&&Q.message.content.some(vz)))return null;let W,q,V;if(Z[0]!==Q.timestamp)q=new Date(Q.timestamp).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0}),W=b,V=PZ(q),Z[0]=Q.timestamp,Z[1]=W,Z[2]=q,Z[3]=V;else W=Z[1],q=Z[2],V=Z[3];let Y;if(Z[4]!==q)Y=B(g,{dimColor:!0,children:q}),Z[4]=q,Z[5]=Y;else Y=Z[5];let K;if(Z[6]!==W||Z[7]!==V||Z[8]!==Y)K=B(W,{minWidth:V,children:Y}),Z[6]=W,Z[7]=V,Z[8]=Y,Z[9]=K;else K=Z[9];return K}function vz(J){return J.type==="text"}var $J;var fJ=L0(()=>{TJ();p0();F0();$J=N0(u0(),1)});function aJ(J,Z,Q,z){for(let X=Z+1;X<J.length;X++){let W=J[X];if(W?.type==="assistant"){let q=W.message.content[0];if(q?.type==="thinking"||q?.type==="redacted_thinking")continue;if(q?.type==="tool_use"){if(SZ(q.name,q.input,Q).isCollapsible)continue;if(z.has(q.id))continue}return!0}if(W?.type==="system"||W?.type==="attachment")continue;if(W?.type==="user"){if(W.message.content[0]?.type==="tool_result")continue}if(W?.type==="grouped_tool_use"){let q=W.messages[0]?.message.content[0]?.input;if(SZ(W.toolName,q,Q).isCollapsible)continue}return!0}return!1}function _z(J){let Z=iJ.c(64),{message:Q,isUserContinuation:z,hasContentAfter:X,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,streamingToolUseIDs:K,screen:F,canAnimate:P,onOpenRateLimitOptions:v,lastThinkingBlockId:M,latestBashOutputUUID:S,columns:Z0,isLoading:d,lookups:O}=J,C=F==="transcript",_=Q.type==="grouped_tool_use",w=Q.type==="collapsed_read_search",D;if(Z[0]!==X||Z[1]!==Y||Z[2]!==w||Z[3]!==d||Z[4]!==Q)D=w&&(TZ(Q,Y)||d&&!X),Z[0]=X,Z[1]=Y,Z[2]=w,Z[3]=d,Z[4]=Q,Z[5]=D;else D=Z[5];let p=D,J0;if(Z[6]!==w||Z[7]!==_||Z[8]!==Q)J0=_?Q.displayMessage:w?dJ(Q):Q,Z[6]=w,Z[7]=_,Z[8]=Q,Z[9]=J0;else J0=Z[9];let E=J0,k;if(Z[10]!==w||Z[11]!==_||Z[12]!==O||Z[13]!==Q)k=_||w?[]:ZQ(Q,O),Z[10]=w,Z[11]=_,Z[12]=O,Z[13]=Q,Z[14]=k;else k=Z[14];let H0=k,Y0;if(Z[15]!==Y||Z[16]!==w||Z[17]!==_||Z[18]!==O||Z[19]!==Q||Z[20]!==F||Z[21]!==K){let I=_||w?pJ:eJ(Q,O);Y0=tJ(Q,K,Y,I,F,O),Z[15]=Y,Z[16]=w,Z[17]=_,Z[18]=O,Z[19]=Q,Z[20]=F,Z[21]=K,Z[22]=Y0}else Y0=Z[22];let l=Y0,h=!1;if(P)if(_){let I;if(Z[23]!==Y||Z[24]!==Q.messages){let W0;if(Z[26]!==Y)W0=(N)=>{let U=N.message.content[0];return U?.type==="tool_use"&&Y.has(U.id)},Z[26]=Y,Z[27]=W0;else W0=Z[27];I=Q.messages.some(W0),Z[23]=Y,Z[24]=Q.messages,Z[25]=I}else I=Z[25];h=I}else if(w){let I;if(Z[28]!==Y||Z[29]!==Q)I=TZ(Q,Y),Z[28]=Y,Z[29]=Q,Z[30]=I;else I=Z[30];h=I}else{let I;if(Z[31]!==Y||Z[32]!==Q){let W0=g0(Q);I=!W0||Y.has(W0),Z[31]=Y,Z[32]=Q,Z[33]=I}else I=Z[33];h=I}let z0;if(Z[34]!==E||Z[35]!==C)z0=C&&E.type==="assistant"&&E.message.content.some(kz)&&(E.timestamp||E.message.model),Z[34]=E,Z[35]=C,Z[36]=z0;else z0=Z[36];let Q0=z0,X0=!Q0,O0=Q0?void 0:Z0,T;if(Z[37]!==q||Z[38]!==Y||Z[39]!==p||Z[40]!==l||Z[41]!==C||Z[42]!==z||Z[43]!==M||Z[44]!==S||Z[45]!==O||Z[46]!==Q||Z[47]!==v||Z[48]!==H0||Z[49]!==h||Z[50]!==X0||Z[51]!==O0||Z[52]!==W||Z[53]!==V)T=B(nJ,{message:Q,lookups:O,addMargin:X0,containerWidth:O0,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,progressMessagesForMessage:H0,shouldAnimate:h,shouldShowDot:!0,isTranscriptMode:C,isStatic:l,onOpenRateLimitOptions:v,isActiveCollapsedGroup:p,isUserContinuation:z,lastThinkingBlockId:M,latestBashOutputUUID:S}),Z[37]=q,Z[38]=Y,Z[39]=p,Z[40]=l,Z[41]=C,Z[42]=z,Z[43]=M,Z[44]=S,Z[45]=O,Z[46]=Q,Z[47]=v,Z[48]=H0,Z[49]=h,Z[50]=X0,Z[51]=O0,Z[52]=W,Z[53]=V,Z[54]=T;else T=Z[54];let i=T;if(!Q0){let I;if(Z[55]!==i)I=B(e0,{children:i}),Z[55]=i,Z[56]=I;else I=Z[56];return I}let o;if(Z[57]!==E||Z[58]!==C)o=$(b,{flexDirection:"row",justifyContent:"flex-end",gap:1,marginTop:1,children:[B(uJ,{message:E,isTranscriptMode:C}),B(RJ,{message:E,isTranscriptMode:C})]}),Z[57]=E,Z[58]=C,Z[59]=o;else o=Z[59];let t;if(Z[60]!==Z0||Z[61]!==i||Z[62]!==o)t=B(e0,{children:$(b,{width:Z0,flexDirection:"column",children:[o,i]})}),Z[60]=Z0,Z[61]=i,Z[62]=o,Z[63]=t;else t=Z[63];return t}function kz(J){return J.type==="text"}function Iz(J,Z){if(J.type==="grouped_tool_use")return J.messages.some((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return hZ(J).some((X)=>Z.has(X));let Q=g0(J);return!!Q&&Z.has(Q)}function Sz(J,Z){if(J.type==="grouped_tool_use")return J.messages.every((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return hZ(J).every((X)=>Z.has(X));if(J.type==="assistant"){let z=J.message.content[0];if(z?.type==="server_tool_use")return Z.has(z.id)}let Q=g0(J);return!Q||Z.has(Q)}function Tz(J,Z){if(J.message!==Z.message)return!1;if(J.screen!==Z.screen)return!1;if(J.verbose!==Z.verbose)return!1;if(J.message.type==="collapsed_read_search"&&Z.screen!=="transcript")return!1;if(J.columns!==Z.columns)return!1;let Q=J.latestBashOutputUUID===J.message.uuid,z=Z.latestBashOutputUUID===Z.message.uuid;if(Q!==z)return!1;if(J.lastThinkingBlockId!==Z.lastThinkingBlockId&&mJ(Z.message))return!1;let X=Iz(J.message,J.streamingToolUseIDs),W=Sz(J.message,J.lookups.resolvedToolUseIDs);if(X||!W)return!1;return!0}var iJ,lJ,rJ;var oJ=L0(()=>{p0();cJ();OZ();yz();xJ();sJ();fJ();gJ();F0();iJ=N0(u0(),1),lJ=N0(S0(),1);rJ=lJ.memo(_z,Tz)});import{relative as pz}from"path";function qQ(J){return lz.filter((Z)=>Z.isActive(J))}var dz,cz,gz,mz,nz,iz,lz;var YQ=L0(()=>{p0();BQ();zJ();Rz();hz();xz();fz();uz();$z();F0();dz={id:"large-memory-files",type:"warning",isActive:(J)=>fZ(J.memoryFiles).length>0,render:(J)=>{let Z=fZ(J.memoryFiles);return B(f0,{children:Z.map((Q)=>{let z=Q.path.startsWith(RZ())?pz(RZ(),Q.path):Q.path;return $(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Large ",B(g,{bold:!0,children:z})," will impact performance (",ZZ(Q.content.length)," chars >"," ",ZZ(VQ),")",B(g,{dimColor:!0,children:" · /memory to edit"})]})]},Q.path)})})}},cz={id:"claude-ai-external-token",type:"warning",isActive:()=>{let J=JZ();return QQ()&&(J.source==="ANTHROPIC_AUTH_TOKEN"||J.source==="apiKeyHelper")},render:()=>{let J=JZ();return $(b,{flexDirection:"row",marginTop:1,children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Using ",J.source," instead of Claude account subscription token. Either unset ",J.source,", or run `claude /logout`."]})]})}},gz={id:"api-key-conflict",type:"warning",isActive:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0});return!!JQ()&&(J==="ANTHROPIC_API_KEY"||J==="apiKeyHelper")},render:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0});return $(b,{flexDirection:"row",marginTop:1,children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Using ",J," instead of Anthropic Console key. Either unset ",J,", or run `claude /logout`."]})]})}},mz={id:"both-auth-methods",type:"warning",isActive:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0}),Z=JZ();return J!=="none"&&Z.source!=="none"&&!(J==="apiKeyHelper"&&Z.source==="apiKeyHelper")},render:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0}),Z=JZ();return $(b,{flexDirection:"column",marginTop:1,children:[$(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Both a token (",Z.source,") and an API key (",J,") are set. This may lead to unexpected behavior."]})]}),$(b,{flexDirection:"column",marginLeft:3,children:[$(g,{color:"warning",children:["· Trying to use"," ",Z.source==="claude.ai"?"claude.ai":Z.source,"?"," ",J==="ANTHROPIC_API_KEY"?'Unset the ANTHROPIC_API_KEY environment variable, or claude /logout then say "No" to the API key approval before login.':J==="apiKeyHelper"?"Unset the apiKeyHelper setting.":"claude /logout"]}),$(g,{color:"warning",children:["· Trying to use ",J,"?"," ",Z.source==="claude.ai"?"claude /logout to sign out of claude.ai.":`Unset the ${Z.source} environment variable.`]})]})]})}},nz={id:"large-agent-descriptions",type:"warning",isActive:(J)=>{return uZ(J.agentDefinitions)>$Z},render:(J)=>{let Z=uZ(J.agentDefinitions);return $(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Large cumulative agent descriptions will impact performance (~",ZZ(Z)," tokens >"," ",ZZ($Z),")",B(g,{dimColor:!0,children:" · /agents to manage"})]})]})}},iz={id:"jetbrains-plugin-install",type:"info",isActive:(J)=>{if(!XQ())return!1;if(!(J.config.autoInstallIdeExtension??!0))return!1;let Q=xZ();return Q!==null&&!zQ(Q)},render:()=>{let J=xZ(),Z=WQ(J);return $(b,{flexDirection:"row",gap:1,marginLeft:1,children:[B(g,{color:"ide",children:v0.arrowUp}),$(g,{children:["Install the ",B(g,{color:"ide",children:Z})," plugin from the JetBrains Marketplace:"," ",B(g,{bold:!0,children:"https://docs.claude.com/s/claude-code-jetbrains"})]})]})}},lz=[dz,nz,cz,gz,mz,iz]});async function az(){if(zZ)return zZ;return zZ=KQ().then((J)=>{XZ=J}).finally(()=>{zZ=null}),zZ}function LQ(J){let Z=GQ.c(8),{agentDefinitions:Q}=J===void 0?{}:J,[z,X]=r0.useState(XZ),W;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))W=()=>{if(XZ.length>0){X(XZ);return}az().then(()=>{X(XZ)})},Z[0]=W;else W=Z[0];r0.useEffect(W,[W]);let V={config:DZ(),agentDefinitions:Q,memoryFiles:z},Y=qQ(V);if(Y.length===0)return null;let K=b,F="column",P=1,v=Y.map((S)=>B(r0.Fragment,{children:S.render(V)},S.id)),M;if(Z[1]!==K||Z[2]!==v)M=B(K,{flexDirection:F,paddingLeft:P,children:v}),Z[1]=K,Z[2]=v,Z[3]=M;else M=Z[3];return M}var GQ,r0,XZ,zZ=null;var FQ=L0(()=>{p0();BQ();HQ();YQ();F0();GQ=N0(u0(),1),r0=N0(S0(),1),XZ=[]});function wQ(J,Z,Q){let z=m.useRef(new Map),X=m.useRef(0),W=m.useRef(0),q=m.useRef({arr:new Float64Array(0),version:-1,n:-1}),V=m.useRef(new Map),Y=m.useRef(new Map),K=m.useRef(Q),F=m.useRef(!1),P=m.useRef(null),v=m.useRef(0);if(K.current!==Q){let N=K.current/Q;K.current=Q;for(let[U,R]of z.current)z.current.set(U,Math.max(1,Math.round(R*N)));X.current++,F.current=!0,v.current=2}let M=v.current>0?P.current:null,S=m.useRef(0),Z0=m.useRef(null),d=m.useCallback((N)=>J.current?.subscribe(N)??sz,[J]);m.useSyncExternalStore(d,()=>{let N=J.current;if(!N)return NaN;let U=N.getScrollTop()+N.getPendingDelta(),R=Math.floor(U/tz);return N.isSticky()?~R:R});let O=J.current?.getScrollTop()??-1,C=J.current?.getPendingDelta()??0,_=J.current?.getViewportHeight()??0,w=J.current?.isSticky()??!0;m.useMemo(()=>{let N=new Set(Z),U=!1;for(let R of z.current.keys())if(!N.has(R))z.current.delete(R),U=!0;for(let R of Y.current.keys())if(!N.has(R))Y.current.delete(R);if(U)X.current++},[Z]);let D=Z.length;if(q.current.version!==X.current||q.current.n!==D){let N=q.current.arr.length>=D+1?q.current.arr:new Float64Array(D+1);N[0]=0;for(let U=0;U<D;U++)N[U+1]=N[U]+(z.current.get(Z[U])??rz);q.current={arr:N,version:X.current,n:D}}let p=q.current.arr,J0=p[D],E,k;if(M)[E,k]=M,E=Math.min(E,D),k=Math.min(k,D);else if(_===0||O<0)E=Math.max(0,D-oz),k=D;else{if(w){let V0=_+o0;E=D;while(E>0&&J0-p[E-1]<V0)E--;k=D}else{let V0=S.current,G0=_*3,M0=Math.min(O,O+C),n0=Math.max(O,O+C),y0=n0-M0,D0=y0>G0?C<0?n0-G0:M0:M0,T0=D0+Math.min(y0,G0),i0=Math.max(0,D0-V0),h0=T0-V0,b0=i0-o0;{let H=0,L=D;while(H<L){let A=H+L>>1;if(p[A+1]<=b0)H=A+1;else L=A}E=H}{let H=P.current;if(H&&H[0]<E)for(let L=H[0];L<Math.min(E,H[1]);L++){let A=Z[L];if(V.current.has(A)&&!z.current.has(A)){E=L;break}}}let l0=_+2*o0,t0=Math.min(D,E+WZ),_0=0;k=E;while(k<t0&&(_0<l0||p[k]<h0+_+o0))_0+=z.current.get(Z[k])??pZ,k++}let N=_+2*o0,U=Math.max(0,k-WZ),R=0;for(let V0=E;V0<k;V0++)R+=z.current.get(Z[V0])??pZ;while(E>U&&R<N)E--,R+=z.current.get(Z[E])??pZ;let s=P.current,A0=Math.abs(O-W.current)+Math.abs(C);if(s&&A0>_*2){let[V0,G0]=s;if(E<V0-qZ)E=V0-qZ;if(k>G0+qZ)k=G0+qZ;if(E>k)k=Math.min(E+qZ,D)}W.current=O}if(v.current>0)v.current--;else P.current=[E,k];let H0=m.useDeferredValue(E),Y0=m.useDeferredValue(k),l=E<H0?H0:E,h=k>Y0?Y0:k;if(l>h||w)l=E,h=k;if(C>0)h=k;if(h-l>WZ){let N=(p[l]+p[h])/2;if(O-S.current<N)h=l+WZ;else l=h-WZ}let z0=S.current,Q0=p[l],X0=l===0?0:Q0+z0,O0=h===D?1/0:Math.max(Q0,p[h]-_)+z0;m.useLayoutEffect(()=>{if(w)J.current?.setClampBounds(void 0,void 0);else J.current?.setClampBounds(X0,O0)}),m.useLayoutEffect(()=>{let N=Z0.current?.yogaNode;if(N&&N.getComputedWidth()>0)S.current=N.getComputedTop();if(F.current){F.current=!1;return}let U=!1;for(let[R,s]of V.current){let A0=s.yogaNode;if(!A0)continue;let V0=A0.getComputedHeight(),G0=z.current.get(R);if(V0>0){if(G0!==V0)z.current.set(R,V0),U=!0}else if(A0.getComputedWidth()>0&&G0!==0)z.current.set(R,0),U=!0}if(U)X.current++});let T=m.useCallback((N)=>{let U=Y.current.get(N);if(!U)U=(R)=>{if(R)V.current.set(N,R);else{let s=V.current.get(N)?.yogaNode;if(s&&!F.current){let A0=s.getComputedHeight();if((A0>0||s.getComputedWidth()>0)&&z.current.get(N)!==A0)z.current.set(N,A0),X.current++}V.current.delete(N)}},Y.current.set(N,U);return U},[]),i=m.useCallback((N)=>{let U=V.current.get(Z[N])?.yogaNode;if(!U||U.getComputedWidth()===0)return-1;return U.getComputedTop()},[Z]),o=m.useCallback((N)=>V.current.get(Z[N])??null,[Z]),t=m.useCallback((N)=>z.current.get(Z[N]),[Z]),I=m.useCallback((N)=>{let U=q.current;if(N<0||N>=U.n)return;J.current?.scrollTo(U.arr[N]+S.current)},[J]),W0=J0-p[h];return{range:[l,h],topSpacer:Q0,bottomSpacer:W0,measureRef:T,spacerRef:Z0,offsets:p,getItemTop:i,getItemElement:o,getItemHeight:t,scrollToIndex:I}}var m,rz=3,o0=80,oz=30,tz,pZ=1,WZ=300,qZ=25,sz=()=>{};var NQ=L0(()=>{m=N0(S0(),1),tz=o0>>1});function QX(J){let Z=OQ.get(J);if(Z!==void 0)return Z;let Q=AZ(J);return OQ.set(J,Q),Q}function XX(J){let Z=AQ.get(J);if(Z!==void 0)return Z;let Q=WX(J);return AQ.set(J,Q),Q}function WX(J){let Z=null;if(J.type==="user"){if(J.isMeta||J.isVisibleInTranscriptOnly)return null;let z=J.message.content[0];if(z?.type!=="text")return null;Z=z.text}else if(J.type==="attachment"&&J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let z=J.attachment.prompt;Z=typeof z==="string"?z:z.flatMap((X)=>X.type==="text"?[X.text]:[]).join(`
11
+ `)}if(Z===null)return null;let Q=MQ(Z);if(Q.startsWith("<")||Q==="")return null;return Q}function qX(J){let Z=bQ.c(30),{itemKey:Q,msg:z,idx:X,measureRef:W,expanded:q,hovered:V,clickable:Y,onClickK:K,onEnterK:F,onLeaveK:P,renderItem:v}=J,M;if(Z[0]!==Q||Z[1]!==W)M=W(Q),Z[0]=Q,Z[1]=W,Z[2]=M;else M=Z[2];let S=q?"userMessageBackgroundHover":void 0,Z0=q?1:void 0,d;if(Z[3]!==Y||Z[4]!==z||Z[5]!==K)d=Y?(J0)=>K(z,J0.cellIsBlank):void 0,Z[3]=Y,Z[4]=z,Z[5]=K,Z[6]=d;else d=Z[6];let O;if(Z[7]!==Y||Z[8]!==Q||Z[9]!==F)O=Y?()=>F(Q):void 0,Z[7]=Y,Z[8]=Q,Z[9]=F,Z[10]=O;else O=Z[10];let C;if(Z[11]!==Y||Z[12]!==Q||Z[13]!==P)C=Y?()=>P(Q):void 0,Z[11]=Y,Z[12]=Q,Z[13]=P,Z[14]=C;else C=Z[14];let _=V&&!q?"text":void 0,w;if(Z[15]!==X||Z[16]!==z||Z[17]!==v)w=v(z,X),Z[15]=X,Z[16]=z,Z[17]=v,Z[18]=w;else w=Z[18];let D;if(Z[19]!==_||Z[20]!==w)D=B(DQ.Provider,{value:_,children:w}),Z[19]=_,Z[20]=w,Z[21]=D;else D=Z[21];let p;if(Z[22]!==M||Z[23]!==S||Z[24]!==Z0||Z[25]!==d||Z[26]!==O||Z[27]!==C||Z[28]!==D)p=B(b,{ref:M,flexDirection:"column",backgroundColor:S,paddingBottom:Z0,onClick:d,onMouseEnter:O,onMouseLeave:C,children:D}),Z[22]=M,Z[23]=S,Z[24]=Z0,Z[25]=d,Z[26]=O,Z[27]=C,Z[28]=D,Z[29]=p;else p=Z[29];return p}function CQ({messages:J,scrollRef:Z,columns:Q,itemKey:z,renderItem:X,onItemClick:W,isItemClickable:q,isItemExpanded:V,extractSearchText:Y=QX,trackStickyPrompt:K,selectedIndex:F,cursorNavRef:P,setCursor:v,jumpRef:M,onSearchMatchesChange:S,scanElement:Z0,setPositions:d}){let O=y.useRef([]),C=y.useRef(J),_=y.useRef(z);if(_.current!==z||J.length<O.current.length||J[0]!==C.current[0])O.current=J.map((H)=>z(H));else for(let H=O.current.length;H<J.length;H++)O.current.push(z(J[H]));C.current=J,_.current=z;let w=O.current,{range:D,topSpacer:p,bottomSpacer:J0,measureRef:E,spacerRef:k,offsets:H0,getItemTop:Y0,getItemElement:l,getItemHeight:h,scrollToIndex:z0}=wQ(Z,w,Q),[Q0,X0]=D,O0=y.useCallback((H)=>{if(h(H)===0)return!1;return UQ(J[H])},[h,J]);y.useImperativeHandle(P,()=>{let H=(u)=>v?.({uuid:u.uuid,msgType:u.type,expanded:!1,toolName:jQ(u)?.name}),L=F??-1,A=(u,n,r=O0)=>{for(let c=u;c>=0&&c<J.length;c+=n)if(r(c))return H(J[c]),!0;return!1},x=(u)=>O0(u)&&J[u].type==="user";return{enterCursor:()=>A(J.length-1,-1,x),navigatePrev:()=>A(L-1,-1),navigateNext:()=>{if(A(L+1,1))return;Z.current?.scrollToBottom(),v?.(null)},navigatePrevUser:()=>A(L-1,-1,x),navigateNextUser:()=>A(L+1,1,x),navigateTop:()=>A(0,1),navigateBottom:()=>A(J.length-1,-1),getSelected:()=>L>=0?J[L]??null:null}},[J,F,v,O0]);let T=y.useRef({offsets:H0,start:Q0,getItemElement:l,getItemTop:Y0,messages:J,scrollToIndex:z0});T.current={offsets:H0,start:Q0,getItemElement:l,getItemTop:Y0,messages:J,scrollToIndex:z0},y.useEffect(()=>{if(F===void 0)return;let H=T.current,L=H.getItemElement(F);if(L)Z.current?.scrollToElement(L,1);else H.scrollToIndex(F)},[F,Z]);let i=y.useRef(null),o=y.useRef({msgIdx:-1,positions:[]}),t=y.useRef(-1),I=y.useRef(0),W0=y.useRef(0),N=y.useRef(()=>{}),U=y.useRef(()=>{}),R=y.useRef({matches:[],ptr:0,screenOrd:0,prefixSum:[]}),s=y.useRef(-1),A0=y.useRef(!1);function V0(H){let L=T.current.getItemTop(H);return Math.max(0,L-dZ)}function G0(H){let L=Z.current,{msgIdx:A,positions:x}=o.current;if(!L||x.length===0||A<0){d?.(null);return}let u=Math.max(0,Math.min(H,x.length-1)),n=x[u],r=T.current.getItemTop(A),c=L.getViewportTop(),e=r-L.getScrollTop(),R0=L.getViewportHeight(),P0=c+e+n.row;if(P0<c||P0>=c+R0)L.scrollTo(Math.max(0,r+n.row-dZ)),e=r-L.getScrollTop(),P0=c+e+n.row;d?.({positions:x,rowOffset:c+e,currentIdx:u});let E0=R.current,U0=E0.prefixSum.at(-1)??0,j0=(E0.prefixSum[E0.ptr]??0)+u+1;S?.(U0,j0),m0(`highlight(i=${A}, ord=${u}/${x.length}): pos={row:${n.row},col:${n.col}} lo=${e} screenRow=${P0} badge=${j0}/${U0}`)}U.current=G0;let[M0,n0]=y.useState(0),y0=y.useCallback(()=>n0((H)=>H+1),[]);y.useEffect(()=>{let H=i.current;if(!H)return;let{idx:L,wantLast:A,tries:x}=H,u=Z.current;if(!u)return;let{getItemElement:n,getItemTop:r,scrollToIndex:c}=T.current,e=n(L),R0=e?.yogaNode?.getComputedHeight()??0;if(!e||R0===0){if(x>1){i.current=null,m0(`seek(i=${L}): no mount after scrollToIndex, skip`),N.current(A?-1:1);return}i.current={idx:L,wantLast:A,tries:x+1},c(L),y0();return}i.current=null,u.scrollTo(Math.max(0,r(L)-dZ));let P0=Z0?.(e)??[];if(o.current={msgIdx:L,positions:P0},m0(`seek(i=${L} t=${x}): ${P0.length} positions`),P0.length===0){if(++I.current>20){I.current=0;return}N.current(A?-1:1);return}I.current=0;let E0=A?P0.length-1:0;R.current.screenOrd=E0,t.current=-1,U.current(E0);let U0=W0.current;if(U0)W0.current=0,N.current(U0)},[M0]);function D0(H,L){let A=Z.current;if(!A)return;let x=T.current,{getItemElement:u,scrollToIndex:n}=x;if(H<0||H>=x.messages.length)return;d?.(null),o.current={msgIdx:-1,positions:[]},i.current={idx:H,wantLast:L,tries:0};let r=u(H),c=r?.yogaNode?.getComputedHeight()??0;if(r&&c>0)A.scrollTo(V0(H));else n(H);y0()}function T0(H){let L=R.current,{matches:A,prefixSum:x}=L,u=x.at(-1)??0;if(A.length===0)return;if(i.current){W0.current=H;return}if(t.current<0)t.current=L.ptr;let{positions:n}=o.current,r=L.screenOrd+H;if(r>=0&&r<n.length){L.screenOrd=r,G0(r),t.current=-1;return}let c=(L.ptr+H+A.length)%A.length;if(c===t.current){d?.(null),t.current=-1,m0(`step: wraparound at ptr=${c}, all ${A.length} msgs phantoms`);return}L.ptr=c,L.screenOrd=0,D0(A[c],H<0);let e=H<0?x[c+1]??u:x[c]+1;S?.(u,e)}N.current=T0,y.useImperativeHandle(M,()=>({jumpToIndex:(H)=>{let L=Z.current;if(L)L.scrollTo(V0(H))},setSearchQuery:(H)=>{i.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1,d?.(null);let L=H.toLowerCase(),A=[],x=[0];if(L){let U0=T.current.messages;for(let j0=0;j0<U0.length;j0++){let k0=Y(U0[j0]),G=k0.indexOf(L),j=0;while(G>=0)j++,G=k0.indexOf(L,G+L.length);if(j>0)A.push(j0),x.push(x.at(-1)+j)}}let u=x.at(-1),n=0,r=Z.current,{offsets:c,start:e,getItemTop:R0}=T.current,P0=R0(e),E0=P0>=0?P0-c[e]:0;if(A.length>0&&r){let U0=s.current>=0?s.current:r.getScrollTop(),j0=1/0;for(let k0=0;k0<A.length;k0++){let G=Math.abs(E0+c[A[k0]]-U0);if(G<=j0)j0=G,n=k0}m0(`setSearchQuery('${H}'): ${A.length} msgs · ptr=${n} msgIdx=${A[n]} curTop=${U0} origin=${E0}`)}if(R.current={matches:A,ptr:n,screenOrd:0,prefixSum:x},A.length>0)D0(A[n],!0);else if(s.current>=0&&r)r.scrollTo(s.current);S?.(u,A.length>0?x[n+1]??u:0)},nextMatch:()=>T0(1),prevMatch:()=>T0(-1),setAnchor:()=>{let H=Z.current;if(H)s.current=H.getScrollTop()},disarmSearch:()=>{d?.(null),i.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1},warmSearchIndex:async()=>{if(A0.current)return 0;let H=T.current.messages,L=500,A=0,x=performance.now();for(let n=0;n<H.length;n+=L){await PQ(0);let r=performance.now(),c=Math.min(n+L,H.length);for(let e=n;e<c;e++)Y(H[e]);A+=performance.now()-r}let u=Math.round(performance.now()-x);return m0(`warmSearchIndex: ${H.length} msgs · work=${Math.round(A)}ms wall=${u}ms chunks=${Math.ceil(H.length/L)}`),A0.current=!0,Math.round(A)}}),[Z]);let[i0,h0]=y.useState(null),b0=y.useRef({onItemClick:W,setHoveredKey:h0});b0.current={onItemClick:W,setHoveredKey:h0};let l0=y.useCallback((H,L)=>{let A=b0.current;if(!L&&A.onItemClick)A.onItemClick(H)},[]),t0=y.useCallback((H)=>{b0.current.setHoveredKey(H)},[]),_0=y.useCallback((H)=>{b0.current.setHoveredKey((L)=>L===H?null:L)},[]);return $(f0,{children:[B(b,{ref:k,height:p,flexShrink:0}),J.slice(Q0,X0).map((H,L)=>{let A=Q0+L,x=w[A],u=!!W&&(q?.(H)??!0),n=u&&i0===x,r=V?.(H);return B(qX,{itemKey:x,msg:H,idx:A,measureRef:E,expanded:r,hovered:n,clickable:u,onClickK:l0,onEnterK:t0,onLeaveK:_0,renderItem:X},x)}),J0>0&&B(b,{height:J0,flexShrink:0}),K&&B(VX,{messages:J,start:Q0,end:X0,offsets:H0,getItemTop:Y0,getItemElement:l,scrollRef:Z})]})}function VX({messages:J,start:Z,end:Q,offsets:z,getItemTop:X,getItemElement:W,scrollRef:q}){let{setStickyPrompt:V}=y.useContext(yZ),Y=y.useCallback((w)=>q.current?.subscribe(w)??YX,[q]);y.useSyncExternalStore(Y,()=>{let w=q.current;if(!w)return NaN;let D=w.getScrollTop()+w.getPendingDelta();return w.isSticky()?-1-D:D});let K=q.current?.isSticky()??!0,F=Math.max(0,(q.current?.getScrollTop()??0)+(q.current?.getPendingDelta()??0)),P=Z,v=-1;for(let w=Q-1;w>=Z;w--){let D=X(w);if(D>=0){if(D<F)break;v=D}P=w}let M=-1,S=null;if(P>0&&!K)for(let w=P-1;w>=0;w--){let D=XX(J[w]);if(D===null)continue;let p=X(w);if(p>=0&&p+1>=F)continue;M=w,S=D;break}let Z0=v>=0?v-z[P]:0,d=M>=0?Math.max(0,Z0+z[M]):-1,O=y.useRef({idx:-1,tries:0}),C=y.useRef("none"),_=y.useRef(-1);return y.useEffect(()=>{if(O.current.idx>=0)return;if(C.current==="armed"){C.current="force";return}let w=C.current==="force";if(C.current="none",!w&&_.current===M)return;if(_.current=M,S===null){V(null);return}let D=S.trimStart(),p=D.search(/\n\s*\n/),J0=(p>=0?D.slice(0,p):D).slice(0,zX).replace(/\s+/g," ").trim();if(J0===""){V(null);return}let E=M,k=d;V({text:J0,scrollTo:()=>{V("clicked"),C.current="armed";let H0=W(E);if(H0)q.current?.scrollToElement(H0,1);else q.current?.scrollTo(k),O.current={idx:E,tries:0}}})}),y.useEffect(()=>{if(O.current.idx<0)return;let w=W(O.current.idx);if(w)q.current?.scrollToElement(w,1),O.current={idx:-1,tries:0};else if(++O.current.tries>5)O.current={idx:-1,tries:0}}),null}var bQ,y,dZ=3,OQ,zX=500,AQ,YX=()=>{};var vQ=L0(()=>{NQ();p0();JX();LJ();ez();ZX();IZ();EQ();F0();bQ=N0(u0(),1),y=N0(S0(),1),OQ=new WeakMap;AQ=new WeakMap});function EX(J,Z){let Q=new Set(Z),z=new Set;return J.filter((X)=>{if(X.type==="system")return X.subtype!=="api_metrics";let W=X.message?.content[0];if(X.type==="assistant"){if(X.isApiErrorMessage)return!0;if(W?.type==="tool_use"&&W.name&&Q.has(W.name)){if("id"in W)z.add(W.id);return!0}return!1}if(X.type==="user"){if(W?.type==="tool_result")return W.tool_use_id!==void 0&&z.has(W.tool_use_id);return!X.isMeta}if(X.type==="attachment"){let q=X.attachment;return q?.type==="queued_command"&&q.commandMode==="prompt"&&!q.isMeta&&q.origin===void 0}return!1})}function bX(J,Z){let Q=new Set(Z),z=new Set,X=[],W=0;for(let q=0;q<J.length;q++){let V=J[q],Y=V.message?.content[0];if(V.type==="user"&&Y?.type!=="tool_result"&&!V.isMeta){W++;continue}if(V.type==="assistant"){if(Y?.type==="text")X[q]=W;else if(Y?.type==="tool_use"&&Y.name&&Q.has(Y.name))z.add(W)}}if(z.size===0)return J;return J.filter((q,V)=>{let Y=X[V];return Y===void 0||!z.has(Y)})}function yX(J,Z,Q=CX,z=vX){let X=Z.current,W=X?J.findIndex((Y)=>Y.uuid===X.uuid):-1,q=W>=0?W:X?Math.min(X.idx,Math.max(0,J.length-Q)):0;if(J.length-q>Q+z)q=J.length-Q;let V=J[q];if(V&&(X?.uuid!==V.uuid||X.idx!==q))Z.current={uuid:V.uuid,idx:q};else if(!V&&X)Z.current=null;return q}function _Q(J){return(J.type==="assistant"||J.type==="user"?g0(J):null)??J.uuid}function IX(J,Z){if(J.size!==Z.size)return!1;for(let Q of J)if(!Z.has(Q))return!1;return!0}function tJ(J,Z,Q,z,X,W){if(X==="transcript")return!0;switch(J.type){case"attachment":case"user":case"assistant":{if(J.type==="assistant"){let V=J.message.content[0];if(V?.type==="server_tool_use")return W.resolvedToolUseIDs.has(V.id)}let q=g0(J);if(!q)return!0;if(Z.has(q))return!1;if(Q.has(q))return!1;if(oQ(q,"PostToolUse",W))return!1;return FJ(z,W.resolvedToolUseIDs)}case"system":return J.subtype!=="api_error";case"grouped_tool_use":return J.messages.every((V)=>{let Y=V.message.content[0];return Y?.type==="tool_use"&&W.resolvedToolUseIDs.has(Y.id)});case"collapsed_read_search":return!1}}var gQ,YZ,f,UX,jX=null,yQ=null,MX=null,cZ=30,CX=200,vX=50,_X=({messages:J,tools:Z,commands:Q,verbose:z,toolJSX:X,toolUseConfirmQueue:W,inProgressToolUseIDs:q,isMessageSelectorVisible:V,conversationId:Y,screen:K,streamingToolUses:F,showAllInTranscript:P=!1,agentDefinitions:v,onOpenRateLimitOptions:M,hideLogo:S=!1,isLoading:Z0,hidePastThinking:d=!1,streamingThinking:O,hasStreamingText:C=!1,isBriefOnly:_=!1,unseenDivider:w,scrollRef:D,trackStickyPrompt:p,jumpRef:J0,onSearchMatchesChange:E,scanElement:k,setPositions:H0,disableRenderCap:Y0=!1,cursor:l=null,setCursor:h,cursorNavRef:z0,renderRange:Q0})=>{let{columns:X0}=FZ(),O0=RQ("transcript:toggleShowAll","Transcript","Ctrl+E"),T=f.useMemo(()=>nZ(J).filter(nQ),[J]),i=f.useMemo(()=>{if(!O)return!1;if(O.isStreaming)return!0;if(O.streamingEndedAt)return Date.now()-O.streamingEndedAt<30000;return!1},[O]),o=f.useMemo(()=>{if(!d)return null;if(i)return"streaming";for(let G=T.length-1;G>=0;G--){let j=T[G];if(j?.type==="assistant"){let B0=j.message.content;for(let a=B0.length-1;a>=0;a--)if(B0[a]?.type==="thinking")return`${j.uuid}:${a}`}else if(j?.type==="user"){if(!j.message.content.some((a)=>a.type==="tool_result"))return"no-thinking"}}return null},[T,d,i]),t=f.useMemo(()=>{for(let G=T.length-1;G>=0;G--){let j=T[G];if(j?.type==="user"){let B0=j.message.content;for(let a of B0)if(a.type==="text"){let w0=a.text;if(w0.startsWith("<bash-stdout")||w0.startsWith("<bash-stderr"))return j.uuid}}}return null},[T]),I=f.useMemo(()=>tQ(T),[T]),W0=f.useMemo(()=>F.filter((G)=>!q.has(G.contentBlock.id)&&!I.has(G.contentBlock.id)),[F,q,I]),N=f.useMemo(()=>W0.flatMap((G)=>{let j=mQ({content:[G.contentBlock]});return j.uuid=TQ(G.contentBlock.id,0),nZ([j])}),[W0]),U=K==="transcript",R=f.useMemo(()=>IQ(process.env.CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL),[]),s=D!=null&&!R,A0=U&&!P&&!s,V0=f.useRef(null),{collapsed:G0,lookups:M0,hasTruncatedMessages:n0,hiddenMessageCount:y0}=f.useMemo(()=>{let G=z||c0()?T:iQ(T,{includeSnipped:!0}),j=aQ(G.filter((I0)=>I0.type!=="progress").filter((I0)=>!GZ(I0)).filter((I0)=>lQ(I0,U)),N),B0=[yQ,MX].filter((I0)=>I0!==null),a=[yQ].filter((I0)=>I0!==null),w0=B0.length>0&&!U?_?EX(j,B0):a.length>0?bX(j,a):j:j,C0=A0?w0.slice(-cZ):w0,VZ=A0&&w0.length>cZ,{messages:d0}=CJ(C0,Z,z),sQ=OJ(DJ(MJ(cQ(d0,Z))),z),eQ=rQ(T,C0),Zz=j.length-cZ;return{collapsed:sQ,lookups:eQ,hasTruncatedMessages:VZ,hiddenMessageCount:Zz}},[z,T,U,N,A0,Z,_]),D0=f.useMemo(()=>{let j=!s&&!Y0?yX(G0,V0):0;return Q0?G0.slice(Q0[0],Q0[1]):j>0?G0.slice(j):G0},[G0,Q0,s,Y0]),T0=f.useMemo(()=>new Set(F.map((G)=>G.contentBlock.id)),[F]),i0=fQ((G)=>G.tasks),h0=M0.asyncLaunchedToolUseIDs,b0=f.useMemo(()=>{if(h0.size===0)return null;let G=new Set;for(let[j,B0]of h0){let a=i0?.[B0]?.status;if(a==="running"||a==="requested"||a==="queued")G.add(j)}return G.size>0?G:null},[i0,h0]),l0=f.useMemo(()=>{if(!b0)return q;let G=new Set(q);for(let j of b0)G.add(j);return G},[q,b0]),t0=f.useMemo(()=>{if(!w)return-1;let G=w.firstUnseenUuid.slice(0,24);return D0.findIndex((j)=>j.uuid.slice(0,24)===G)},[w,D0]),_0=f.useMemo(()=>{if(!l)return-1;return D0.findIndex((G)=>G.uuid===l.uuid)},[l,D0]),[H,L]=f.useState(()=>new Set),A=f.useCallback((G)=>{let j=_Q(G);L((B0)=>{let a=new Set(B0);if(a.has(j))a.delete(j);else a.add(j);return a})},[]),x=f.useCallback((G)=>H.size>0&&H.has(_Q(G)),[H]),u=f.useRef(M0);u.current=M0;let n=f.useCallback((G)=>{if(G.type==="collapsed_read_search")return!0;if(G.type==="assistant"){let w0=G.message.content[0];return w0!=null&&xQ(w0)&&w0.type==="advisor_tool_result"&&w0.content.type==="advisor_result"}if(G.type!=="user")return!1;let j=G.message.content[0];if(j?.type!=="tool_result"||j.is_error||!G.toolUseResult)return!1;let B0=u.current.toolUseByToolUseID.get(j.tool_use_id)?.name;return(B0?mZ(Z,B0):void 0)?.isResultTruncated?.(G.toolUseResult)??!1},[Z]),r=(!X||!!X.shouldContinueAnimation)&&!W.length&&!V,c=l0.size>0,{progress:e}=hQ(),R0=f.useRef(null),P0=DZ().terminalProgressBarEnabled&&!kQ()&&!(jX?.isProactiveActive()??!1);f.useEffect(()=>{let G=P0?c?"indeterminate":"completed":null;if(R0.current===G)return;R0.current=G,e(G)},[e,P0,c]),f.useEffect(()=>{return()=>e(null)},[e]);let E0=f.useCallback((G)=>`${G.uuid}-${Y}`,[Y]),U0=(G,j)=>{let B0=j>0?D0[j-1]?.type:void 0,a=G.type==="user"&&B0==="user",w0=G.type==="collapsed_read_search"&&(C||aJ(D0,j,Z,T0)),C0=E0(G),VZ=B(rJ,{message:G,isUserContinuation:a,hasContentAfter:w0,tools:Z,commands:Q,verbose:z||x(G)||l?.expanded===!0&&j===_0,inProgressToolUseIDs:l0,streamingToolUseIDs:T0,screen:K,canAnimate:r,onOpenRateLimitOptions:M,lastThinkingBlockId:o,latestBashOutputUUID:t,columns:X0,isLoading:Z0,lookups:M0},C0),d0=B($Q.Provider,{value:j===_0,children:VZ},C0);if(w&&j===t0)return[B(b,{marginTop:1,children:B(UZ,{title:`${w.count} new ${LZ(w.count,"message")}`,width:X0,color:"inactive"})},"unseen-divider"),d0];return d0},j0=f.useRef(new WeakMap),k0=f.useCallback((G)=>{let j=j0.current.get(G);if(j!==void 0)return j;let B0=AZ(G);if(G.type==="user"&&G.toolUseResult&&Array.isArray(G.message.content)){let w0=G.message.content.find((C0)=>C0.type==="tool_result");if(w0&&"tool_use_id"in w0){let C0=M0.toolUseByToolUseID.get(w0.tool_use_id),d0=(C0&&mZ(Z,C0.name))?.extractSearchText?.(G.toolUseResult);if(d0!==void 0)B0=d0}}let a=B0.toLowerCase();return j0.current.set(G,a),a},[Z,M0]);return $(f0,{children:[!S&&!(Q0&&Q0[0]>0)&&B(UX,{agentDefinitions:v}),n0&&B(UZ,{title:`${O0} to show ${gZ.bold(y0)} previous messages`,width:X0}),U&&P&&y0>0&&!Y0&&B(UZ,{title:`${O0} to hide ${gZ.bold(y0)} previous messages`,width:X0}),s?B(uQ.Provider,{value:!0,children:B(CQ,{messages:D0,scrollRef:D,columns:X0,itemKey:E0,renderItem:U0,onItemClick:A,isItemClickable:n,isItemExpanded:x,trackStickyPrompt:p,selectedIndex:_0>=0?_0:void 0,cursorNavRef:z0,setCursor:h,jumpRef:J0,onSearchMatchesChange:E,scanElement:k,setPositions:H0,extractSearchText:k0})}):D0.flatMap(U0),C&&!_&&B(kX,{}),i&&O&&!_&&B(b,{marginTop:1,children:B(dQ,{param:{type:"thinking",thinking:O.thinking},addMargin:!1,isTranscriptMode:!0,verbose:z,hideInTranscript:!1})})]})},kX=()=>{let J=iZ();if(!J)return null;return B(b,{alignItems:"flex-start",flexDirection:"row",marginTop:1,width:"100%",children:$(b,{flexDirection:"row",children:[B(b,{minWidth:2,children:B(g,{color:"text",children:SQ})}),B(b,{flexDirection:"column",children:B(pQ,{children:J})})]})})},g8;var sJ=L0(()=>{GX();KJ();BX();LX();qJ();KX();p0();wX();AX();FX();OX();AJ();UJ();cJ();EJ();HQ();HX();vZ();vJ();OZ();XJ();IZ();NX();PX();lZ();oJ();EQ();DX();CZ();gJ();FQ();vQ();F0();gQ=N0(u0(),1),YZ=N0(S0(),1),f=N0(S0(),1),UX=YZ.memo(function(Z){let Q=gQ.c(3),{agentDefinitions:z}=Z,X;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))X=null,Q[0]=X;else X=Q[0];let W;if(Q[1]!==z)W=B(e0,{children:$(b,{flexDirection:"column",gap:1,children:[X,B(YZ.Suspense,{fallback:null,children:B(LQ,{agentDefinitions:z})})]})}),Q[1]=z,Q[2]=W;else W=Q[2];return W});g8=YZ.memo(_X,(J,Z)=>{let Q=Object.keys(J);for(let z of Q){if(z==="onOpenRateLimitOptions"||z==="scrollRef"||z==="trackStickyPrompt"||z==="setCursor"||z==="cursorNavRef"||z==="jumpRef"||z==="onSearchMatchesChange"||z==="scanElement"||z==="setPositions")continue;if(J[z]!==Z[z]){if(z==="streamingToolUses"){let X=J.streamingToolUses,W=Z.streamingToolUses;if(X.length===W.length&&X.every((q,V)=>q.contentBlock===W[V]?.contentBlock))continue}if(z==="inProgressToolUseIDs"){if(IX(J.inProgressToolUseIDs,Z.inProgressToolUseIDs))continue}if(z==="unseenDivider"){let X=J.unseenDivider,W=Z.unseenDivider;if(X?.firstUnseenUuid===W?.firstUnseenUuid&&X?.count===W?.count)continue}if(z==="tools"){let X=J.tools,W=Z.tools;if(X.length===W.length&&X.every((q,V)=>q.name===W[V]?.name))continue}return!1}}return!0})});
12
+ export{s0 as He,TX as Ie,lZ as Je,xX as Ke,$X as Le,JJ as Me,QW as Ne,zW as Oe,XW as Pe,LJ as Qe,g8 as Re,sJ as Se};
@@ -0,0 +1,2 @@
1
+ import{UJ as C,cK as N,lK as $,mK as k,sK as V}from"./cli-0.6.3-kz9egvgw.mjs";import{AY as t,EY as v,dX as P,dZ as D,yY as f}from"./cli-0.6.3-sz0yt1ax.mjs";import{D0 as n,E0 as i,F0 as M}from"./cli-0.6.3-r0pavcpp.mjs";import{spa as w,wpa as L}from"./cli-0.6.3-qh59pqrb.mjs";function W(o){let e=b.c(26),{scope:r,parsingErrors:s,warnings:m}=o,a=s.length>0,g=m.length>0;if(!a&&!g)return null;let p;if(e[0]!==a||e[1]!==g)p=(a||g)&&i(t,{color:a?"error":"warning",children:["[",a?"Failed to parse":"Contains warnings","]"," "]}),e[0]=a,e[1]=g,e[2]=p;else p=e[2];let c;if(e[3]!==r)c=k(r),e[3]=r,e[4]=c;else c=e[4];let l;if(e[5]!==c)l=n(t,{children:c}),e[5]=c,e[6]=l;else l=e[6];let u;if(e[7]!==p||e[8]!==l)u=i(f,{children:[p,l]}),e[7]=p,e[8]=l,e[9]=u;else u=e[9];let E;if(e[10]===Symbol.for("react.memo_cache_sentinel"))E=n(t,{dimColor:!0,children:"Location: "}),e[10]=E;else E=e[10];let h;if(e[11]!==r)h=$(r),e[11]=r,e[12]=h;else h=e[12];let d;if(e[13]!==h)d=i(f,{children:[E,n(t,{dimColor:!0,children:h})]}),e[13]=h,e[14]=d;else d=e[14];let T;if(e[15]!==s)T=s.map(F),e[15]=s,e[16]=T;else T=e[16];let _;if(e[17]!==m)_=m.map(x),e[17]=m,e[18]=_;else _=e[18];let y;if(e[19]!==T||e[20]!==_)y=i(f,{marginLeft:1,flexDirection:"column",children:[T,_]}),e[19]=T,e[20]=_,e[21]=y;else y=e[21];let S;if(e[22]!==y||e[23]!==u||e[24]!==d)S=i(f,{flexDirection:"column",marginTop:1,children:[u,d,y]}),e[22]=y,e[23]=u,e[24]=d,e[25]=S;else S=e[25];return S}function x(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"warning",children:"[Warning]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`warning-${e}`)}function F(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"error",children:"[Error]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`error-${e}`)}function J(){let o=b.c(6),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e={scope:"user",config:C("user")},o[0]=e;else e=o[0];let r;if(o[1]===Symbol.for("react.memo_cache_sentinel"))r={scope:"project",config:C("project")},o[1]=r;else r=o[1];let s;if(o[2]===Symbol.for("react.memo_cache_sentinel"))s={scope:"local",config:C("local")},o[2]=s;else s=o[2];let m;if(o[3]===Symbol.for("react.memo_cache_sentinel"))m=[e,r,s,{scope:"enterprise",config:C("enterprise")}],o[3]=m;else m=o[3];let a=m,g=a.some(q),p=a.some(R);if(!g&&!p)return null;let c;if(o[4]===Symbol.for("react.memo_cache_sentinel"))c=n(t,{bold:!0,children:"MCP Config Diagnostics"}),o[4]=c;else c=o[4];let l;if(o[5]===Symbol.for("react.memo_cache_sentinel"))l=i(f,{flexDirection:"column",marginTop:1,marginBottom:1,children:[c,n(f,{marginTop:1,children:i(t,{dimColor:!0,children:["For help configuring MCP servers, see:"," ",n(v,{url:"https://code.claude.com/docs/en/mcp",children:"https://code.claude.com/docs/en/mcp"})]})}),a.map(A)]}),o[5]=l;else l=o[5];return l}function A(o){let{scope:e,config:r}=o;return n(W,{scope:e,parsingErrors:B(r.errors,"fatal"),warnings:B(r.errors,"warning")},e)}function R(o){let{config:e}=o;return B(e.errors,"warning").length>0}function q(o){let{config:e}=o;return B(e.errors,"fatal").length>0}function B(o,e){return o.filter((r)=>r.mcpErrorMetadata?.severity===e)}var b;var z=L(()=>{N();V();D();M();b=w(P(),1)});
2
+ export{J as If,z as Jf};
@@ -0,0 +1,2 @@
1
+ import{vpa as Q,wpa as U}from"./cli-0.6.3-qh59pqrb.mjs";var w={};Q(w,{default:()=>x,createSupportsColor:()=>K});import M from"node:process";import V from"node:os";import O from"node:tty";function z(q,B=globalThis.Deno?globalThis.Deno.args:M.argv){let D=q.startsWith("-")?"":q.length===1?"-":"--",E=B.indexOf(D+q),G=B.indexOf("--");return E!==-1&&(G===-1||E<G)}function X(){if(!("FORCE_COLOR"in j))return;if(j.FORCE_COLOR==="true")return 1;if(j.FORCE_COLOR==="false")return 0;if(j.FORCE_COLOR.length===0)return 1;let q=Math.min(Number.parseInt(j.FORCE_COLOR,10),3);if(![0,1,2,3].includes(q))return;return q}function Z(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function $(q,{streamIsTTY:B,sniffFlags:D=!0}={}){let E=X();if(E!==void 0)H=E;let G=D?H:E;if(G===0)return 0;if(D){if(z("color=16m")||z("color=full")||z("color=truecolor"))return 3;if(z("color=256"))return 2}if("TF_BUILD"in j&&"AGENT_NAME"in j)return 1;if(q&&!B&&G===void 0)return 0;let J=G||0;if(j.TERM==="dumb")return J;if(M.platform==="win32"){let A=V.release().split(".");if(Number(A[0])>=10&&Number(A[2])>=10586)return Number(A[2])>=14931?3:2;return 1}if("CI"in j){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((A)=>(A in j)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((A)=>(A in j))||j.CI_NAME==="codeship")return 1;return J}if("TEAMCITY_VERSION"in j)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(j.TEAMCITY_VERSION)?1:0;if(j.COLORTERM==="truecolor")return 3;if(j.TERM==="xterm-kitty")return 3;if(j.TERM==="xterm-ghostty")return 3;if(j.TERM==="wezterm")return 3;if("TERM_PROGRAM"in j){let A=Number.parseInt((j.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(j.TERM_PROGRAM){case"iTerm.app":return A>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(j.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(j.TERM))return 1;if("COLORTERM"in j)return 1;return J}function K(q,B={}){let D=$(q,{streamIsTTY:q&&q.isTTY,...B});return Z(D)}var j,H,b,x;var L=U(()=>{({env:j}=M);if(z("no-color")||z("no-colors")||z("color=false")||z("color=never"))H=0;else if(z("color")||z("colors")||z("color=true")||z("color=always"))H=1;b={stdout:K({isTTY:O.isatty(1)}),stderr:K({isTTY:O.isatty(2)})},x=b});
2
+ export{K as dpa,w as epa,L as fpa};
@@ -0,0 +1,18 @@
1
+ import{$oa as l5,_oa as A2,apa as b$,bpa as e4,cpa as v$}from"./cli-0.6.3-zy0jc7vm.mjs";import{spa as y4,upa as a0,vpa as f2,wpa as C,xpa as s0}from"./cli-0.6.3-qh59pqrb.mjs";function f0($,Y){return function(){return $.apply(Y,arguments)}}var j4=()=>{};function E0($){return $!==null&&!H0($)&&$.constructor!==null&&!H0($.constructor)&&t($.constructor.isBuffer)&&$.constructor.isBuffer($)}function A6($){let Y;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)Y=ArrayBuffer.isView($);else Y=$&&$.buffer&&R1($.buffer);return Y}function u6(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;return{}}function g0($,Y,{allOwnKeys:Q=!1}={}){if($===null||typeof $>"u")return;let G,W;if(typeof $!=="object")$=[$];if(w0($))for(G=0,W=$.length;G<W;G++)Y.call(null,$[G],G,$);else{if(E0($))return;let Z=Q?Object.getOwnPropertyNames($):Object.keys($),X=Z.length,K;for(G=0;G<X;G++)K=Z[G],Y.call(null,$[K],K,$)}}function O1($,Y){if(E0($))return null;Y=Y.toLowerCase();let Q=Object.keys($),G=Q.length,W;while(G-- >0)if(W=Q[G],Y===W.toLowerCase())return W;return null}function k4(...$){let{caseless:Y,skipUndefined:Q}=H1(this)&&this||{},G={},W=(Z,X)=>{if(X==="__proto__"||X==="constructor"||X==="prototype")return;let K=Y&&typeof X==="string"&&O1(G,X)||X,M=x4(G,K)?G[K]:void 0;if(M4(M)&&M4(Z))G[K]=k4(M,Z);else if(M4(Z))G[K]=k4({},Z);else if(w0(Z))G[K]=Z.slice();else if(!Q||!H0(Z))G[K]=Z};for(let Z=0,X=$.length;Z<X;Z++){let K=$[Z];if(!K||E0(K))continue;if(g0(K,W),typeof K!=="object"||w0(K))continue;let M=Object.getOwnPropertySymbols(K);for(let z=0;z<M.length;z++){let N=M[z];if(X2.call(K,N))W(K[N],N)}}return G}function B2($){return!!($&&t($.append)&&$[C1]==="FormData"&&$[z4])}var E6,N4,z4,C1,B4,Q0=($)=>{return $=$.toLowerCase(),(Y)=>B4(Y)===$},V4=($)=>(Y)=>typeof Y===$,w0,H0,R1,j6,t,T1,h0=($)=>$!==null&&typeof $==="object",k6=($)=>$===!0||$===!1,M4=($)=>{if(B4($)!=="object")return!1;let Y=N4($);return(Y===null||Y===Object.prototype||Object.getPrototypeOf(Y)===null)&&!(C1 in $)&&!(z4 in $)},x6=($)=>{if(!h0($)||E0($))return!1;try{return Object.keys($).length===0&&Object.getPrototypeOf($)===Object.prototype}catch(Y){return!1}},b6,v6,y6=($)=>{return!!($&&typeof $.uri<"u")},m6=($)=>$&&typeof $.getParts<"u",f6,h6,g6=($)=>h0($)&&t($.pipe),_1,q1,d6=($)=>{if(!$)return!1;if(q1&&$ instanceof q1)return!0;let Y=N4($);if(!Y||Y===Object.prototype)return!1;if(!t($.append))return!1;let Q=B4($);return Q==="formdata"||Q==="object"&&t($.toString)&&$.toString()==="[object FormData]"},c6,p6,l6,i6,n6,a6=($)=>{return $.trim?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},U0,H1=($)=>!H0($)&&$!==U0,t6=($,Y,Q,{allOwnKeys:G}={})=>{return g0(Y,(W,Z)=>{if(Q&&t(W))Object.defineProperty($,Z,{__proto__:null,value:f0(W,Q),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty($,Z,{__proto__:null,value:W,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:G}),$},s6=($)=>{if($.charCodeAt(0)===65279)$=$.slice(1);return $},r6=($,Y,Q,G)=>{$.prototype=Object.create(Y.prototype,G),Object.defineProperty($.prototype,"constructor",{__proto__:null,value:$,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty($,"super",{__proto__:null,value:Y.prototype}),Q&&Object.assign($.prototype,Q)},o6=($,Y,Q,G)=>{let W,Z,X,K={};if(Y=Y||{},$==null)return Y;do{W=Object.getOwnPropertyNames($),Z=W.length;while(Z-- >0)if(X=W[Z],(!G||G(X,$,Y))&&!K[X])Y[X]=$[X],K[X]=!0;$=Q!==!1&&N4($)}while($&&(!Q||Q($,Y))&&$!==Object.prototype);return Y},e6=($,Y,Q)=>{if($=String($),Q===void 0||Q>$.length)Q=$.length;Q-=Y.length;let G=$.indexOf(Y,Q);return G!==-1&&G===Q},$2=($)=>{if(!$)return null;if(w0($))return $;let Y=$.length;if(!T1(Y))return null;let Q=Array(Y);while(Y-- >0)Q[Y]=$[Y];return Q},Y2,Q2=($,Y)=>{let G=($&&$[z4]).call($),W;while((W=G.next())&&!W.done){let Z=W.value;Y.call($,Z[0],Z[1])}},G2=($,Y)=>{let Q,G=[];while((Q=$.exec(Y))!==null)G.push(Q);return G},W2,Z2=($)=>{return $.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(Q,G,W){return G.toUpperCase()+W})},x4,X2,J2,E1=($,Y)=>{let Q=Object.getOwnPropertyDescriptors($),G={};g0(Q,(W,Z)=>{let X;if((X=Y(W,Z,$))!==!1)G[Z]=X||W}),Object.defineProperties($,G)},K2=($)=>{E1($,(Y,Q)=>{if(t($)&&["arguments","caller","callee"].includes(Q))return!1;let G=$[Q];if(!t(G))return;if(Y.enumerable=!1,"writable"in Y){Y.writable=!1;return}if(!Y.set)Y.set=()=>{throw Error("Can not rewrite read-only method '"+Q+"'")}})},M2=($,Y)=>{let Q={},G=(W)=>{W.forEach((Z)=>{Q[Z]=!0})};return w0($)?G($):G(String($).split(Y)),Q},N2=()=>{},z2=($,Y)=>{return $!=null&&Number.isFinite($=+$)?$:Y},V2=($)=>{let Y=new WeakSet,Q=(G)=>{if(h0(G)){if(Y.has(G))return;if(E0(G))return G;if(!("toJSON"in G)){Y.add(G);let W=w0(G)?[]:{};return g0(G,(Z,X)=>{let K=Q(Z);!H0(K)&&(W[X]=K)}),Y.delete(G),W}}return G};return Q($)},I2,F2=($)=>$&&(h0($)||t($))&&t($.then)&&t($.catch),A1,L2,U2=($)=>$!=null&&t($[z4]),J;var j=C(()=>{j4();({toString:E6}=Object.prototype),{getPrototypeOf:N4}=Object,{iterator:z4,toStringTag:C1}=Symbol,B4=(($)=>(Y)=>{let Q=E6.call(Y);return $[Q]||($[Q]=Q.slice(8,-1).toLowerCase())})(Object.create(null)),{isArray:w0}=Array,H0=V4("undefined");R1=Q0("ArrayBuffer");j6=V4("string"),t=V4("function"),T1=V4("number"),b6=Q0("Date"),v6=Q0("File"),f6=Q0("Blob"),h6=Q0("FileList");_1=u6(),q1=typeof _1.FormData<"u"?_1.FormData:void 0,c6=Q0("URLSearchParams"),[p6,l6,i6,n6]=["ReadableStream","Request","Response","Headers"].map(Q0);U0=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})();Y2=(($)=>{return(Y)=>{return $&&Y instanceof $}})(typeof Uint8Array<"u"&&N4(Uint8Array)),W2=Q0("HTMLFormElement"),x4=(({hasOwnProperty:$})=>(Y,Q)=>$.call(Y,Q))(Object.prototype),{propertyIsEnumerable:X2}=Object.prototype,J2=Q0("RegExp");I2=Q0("AsyncFunction"),A1=(($,Y)=>{if($)return setImmediate;return Y?((Q,G)=>{return U0.addEventListener("message",({source:W,data:Z})=>{if(W===U0&&Z===Q)G.length&&G.shift()()},!1),(W)=>{G.push(W),U0.postMessage(Q,"*")}})(`axios@${Math.random()}`,[]):(Q)=>setTimeout(Q)})(typeof setImmediate==="function",t(U0.postMessage)),L2=typeof queueMicrotask<"u"?queueMicrotask.bind(U0):typeof process<"u"&&process.nextTick||A1,J={isArray:w0,isArrayBuffer:R1,isBuffer:E0,isFormData:d6,isArrayBufferView:A6,isString:j6,isNumber:T1,isBoolean:k6,isObject:h0,isPlainObject:M4,isEmptyObject:x6,isReadableStream:p6,isRequest:l6,isResponse:i6,isHeaders:n6,isUndefined:H0,isDate:b6,isFile:v6,isReactNativeBlob:y6,isReactNative:m6,isBlob:f6,isRegExp:J2,isFunction:t,isStream:g6,isURLSearchParams:c6,isTypedArray:Y2,isFileList:h6,forEach:g0,merge:k4,extend:t6,trim:a6,stripBOM:s6,inherits:r6,toFlatObject:o6,kindOf:B4,kindOfTest:Q0,endsWith:e6,toArray:$2,forEachEntry:Q2,matchAll:G2,isHTMLForm:W2,hasOwnProperty:x4,hasOwnProp:x4,reduceDescriptors:E1,freezeMethods:K2,toObjectSet:M2,toCamelCase:Z2,noop:N2,toFiniteNumber:z2,findKey:O1,global:U0,isContextDefined:H1,isSpecCompliantForm:B2,toJSONObject:V2,isAsyncFn:I2,isThenable:F2,setImmediate:A1,asap:L2,isIterable:U2}});var w2,j1=($)=>{let Y={},Q,G,W;return $&&$.split(`
2
+ `).forEach(function(X){if(W=X.indexOf(":"),Q=X.substring(0,W).trim().toLowerCase(),G=X.substring(W+1).trim(),!Q||Y[Q]&&w2[Q])return;if(Q==="set-cookie")if(Y[Q])Y[Q].push(G);else Y[Q]=[G];else Y[Q]=Y[Q]?Y[Q]+", "+G:G}),Y};var k1=C(()=>{j();w2=J.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"])});function S2($){let Y=0,Q=$.length;while(Y<Q){let G=$.charCodeAt(Y);if(G!==9&&G!==32)break;Y+=1}while(Q>Y){let G=$.charCodeAt(Q-1);if(G!==9&&G!==32)break;Q-=1}return Y===0&&Q===$.length?$:$.slice(Y,Q)}function b4($,Y){if(J.isArray($))return $.map((Q)=>b4(Q,Y));return S2(String($).replace(Y,""))}function A0($){let Y=Object.create(null);return J.forEach($.toJSON(),(Q,G)=>{Y[G]=_2(Q)}),Y}var D2,P2,x1=($)=>b4($,D2),_2=($)=>b4($,P2);var u0=C(()=>{j();D2=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),P2=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g")});function d0($){return $&&String($).trim().toLowerCase()}function I4($){if($===!1||$==null)return $;return J.isArray($)?$.map(I4):x1(String($))}function q2($){let Y=Object.create(null),Q=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,G;while(G=Q.exec($))Y[G[1]]=G[2];return Y}function v4($,Y,Q,G,W){if(J.isFunction(G))return G.call(this,Y,Q);if(W)Y=Q;if(!J.isString(Y))return;if(J.isString(G))return Y.indexOf(G)!==-1;if(J.isRegExp(G))return G.test(Y)}function R2($){return $.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Y,Q,G)=>{return Q.toUpperCase()+G})}function T2($,Y){let Q=J.toCamelCase(" "+Y);["get","set","has"].forEach((G)=>{Object.defineProperty($,G+Q,{__proto__:null,value:function(W,Z,X){return this[G].call(this,Y,W,Z,X)},configurable:!0})})}var b1,C2=($)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test($.trim()),c0,x;var G0=C(()=>{j();k1();u0();b1=Symbol("internals");c0=class c0{constructor($){$&&this.set($)}set($,Y,Q){let G=this;function W(X,K,M){let z=d0(K);if(!z)return;let N=J.findKey(G,z);if(!N||G[N]===void 0||M===!0||M===void 0&&G[N]!==!1)G[N||K]=I4(X)}let Z=(X,K)=>J.forEach(X,(M,z)=>W(M,z,K));if(J.isPlainObject($)||$ instanceof this.constructor)Z($,Y);else if(J.isString($)&&($=$.trim())&&!C2($))Z(j1($),Y);else if(J.isObject($)&&J.isIterable($)){let X={},K,M;for(let z of $){if(!J.isArray(z))throw TypeError("Object iterator must return a key-value pair");X[M=z[0]]=(K=X[M])?J.isArray(K)?[...K,z[1]]:[K,z[1]]:z[1]}Z(X,Y)}else $!=null&&W(Y,$,Q);return this}get($,Y){if($=d0($),$){let Q=J.findKey(this,$);if(Q){let G=this[Q];if(!Y)return G;if(Y===!0)return q2(G);if(J.isFunction(Y))return Y.call(this,G,Q);if(J.isRegExp(Y))return Y.exec(G);throw TypeError("parser must be boolean|regexp|function")}}}has($,Y){if($=d0($),$){let Q=J.findKey(this,$);return!!(Q&&this[Q]!==void 0&&(!Y||v4(this,this[Q],Q,Y)))}return!1}delete($,Y){let Q=this,G=!1;function W(Z){if(Z=d0(Z),Z){let X=J.findKey(Q,Z);if(X&&(!Y||v4(Q,Q[X],X,Y)))delete Q[X],G=!0}}if(J.isArray($))$.forEach(W);else W($);return G}clear($){let Y=Object.keys(this),Q=Y.length,G=!1;while(Q--){let W=Y[Q];if(!$||v4(this,this[W],W,$,!0))delete this[W],G=!0}return G}normalize($){let Y=this,Q={};return J.forEach(this,(G,W)=>{let Z=J.findKey(Q,W);if(Z){Y[Z]=I4(G),delete Y[W];return}let X=$?R2(W):String(W).trim();if(X!==W)delete Y[W];Y[X]=I4(G),Q[X]=!0}),this}concat(...$){return this.constructor.concat(this,...$)}toJSON($){let Y=Object.create(null);return J.forEach(this,(Q,G)=>{Q!=null&&Q!==!1&&(Y[G]=$&&J.isArray(Q)?Q.join(", "):Q)}),Y}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$,Y])=>$+": "+Y).join(`
3
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($){return $ instanceof this?$:new this($)}static concat($,...Y){let Q=new this($);return Y.forEach((G)=>Q.set(G)),Q}static accessor($){let Q=(this[b1]=this[b1]={accessors:{}}).accessors,G=this.prototype;function W(Z){let X=d0(Z);if(!Q[X])T2(G,Z),Q[X]=!0}return J.isArray($)?$.forEach(W):W($),this}};c0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(c0.prototype,({value:$},Y)=>{let Q=Y[0].toUpperCase()+Y.slice(1);return{get:()=>$,set(G){this[Q]=G}}});J.freezeMethods(c0);x=c0});function H2($){if(J.hasOwnProp($,"toJSON"))return!0;let Y=Object.getPrototypeOf($);while(Y&&Y!==Object.prototype){if(J.hasOwnProp(Y,"toJSON"))return!0;Y=Object.getPrototypeOf(Y)}return!1}function E2($,Y){let Q=new Set(Y.map((Z)=>String(Z).toLowerCase())),G=[],W=(Z)=>{if(Z===null||typeof Z!=="object")return Z;if(J.isBuffer(Z))return Z;if(G.indexOf(Z)!==-1)return;if(Z instanceof x)Z=Z.toJSON();G.push(Z);let X;if(J.isArray(Z))X=[],Z.forEach((K,M)=>{let z=W(K);if(!J.isUndefined(z))X[M]=z});else{if(!J.isPlainObject(Z)&&H2(Z))return G.pop(),Z;X=Object.create(null);for(let[K,M]of Object.entries(Z)){let z=Q.has(K.toLowerCase())?O2:W(M);if(!J.isUndefined(z))X[K]=z}}return G.pop(),X};return W($)}var O2="[REDACTED ****]",u,V;var r=C(()=>{j();G0();u=class u extends Error{static from($,Y,Q,G,W,Z){let X=new u($.message,Y||$.code,Q,G,W);if(X.cause=$,X.name=$.name,$.status!=null&&X.status==null)X.status=$.status;return Z&&Object.assign(X,Z),X}constructor($,Y,Q,G,W){super($);if(Object.defineProperty(this,"message",{__proto__:null,value:$,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,Y&&(this.code=Y),Q&&(this.config=Q),G&&(this.request=G),W)this.response=W,this.status=W.status}toJSON(){let $=this.config,Y=$&&J.hasOwnProp($,"redact")?$.redact:void 0,Q=J.isArray(Y)&&Y.length>0?E2($,Y):J.toJSONObject($);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Q,code:this.code,status:this.status}}};u.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";u.ERR_BAD_OPTION="ERR_BAD_OPTION";u.ECONNABORTED="ECONNABORTED";u.ETIMEDOUT="ETIMEDOUT";u.ECONNREFUSED="ECONNREFUSED";u.ERR_NETWORK="ERR_NETWORK";u.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";u.ERR_DEPRECATED="ERR_DEPRECATED";u.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";u.ERR_BAD_REQUEST="ERR_BAD_REQUEST";u.ERR_CANCELED="ERR_CANCELED";u.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";u.ERR_INVALID_URL="ERR_INVALID_URL";u.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";V=u});var v1,F4;var m4=C(()=>{v1=y4(A2(),1),F4=v1.default});function h4($){return J.isPlainObject($)||J.isArray($)}function y1($){return J.endsWith($,"[]")?$.slice(0,-2):$}function f4($,Y,Q){if(!$)return Y;return $.concat(Y).map(function(W,Z){return W=y1(W),!Q&&Z?"["+W+"]":W}).join(Q?".":"")}function j2($){return J.isArray($)&&!$.some(h4)}function x2($,Y,Q){if(!J.isObject($))throw TypeError("target must be an object");Y=Y||new(F4||FormData),Q=J.toFlatObject(Q,{metaTokens:!0,dots:!1,indexes:!1},!1,function(L,w){return!J.isUndefined(w[L])});let G=Q.metaTokens,W=Q.visitor||I,Z=Q.dots,X=Q.indexes,K=Q.Blob||typeof Blob<"u"&&Blob,M=Q.maxDepth===void 0?100:Q.maxDepth,z=K&&J.isSpecCompliantForm(Y);if(!J.isFunction(W))throw TypeError("visitor must be a function");function N(U){if(U===null)return"";if(J.isDate(U))return U.toISOString();if(J.isBoolean(U))return U.toString();if(!z&&J.isBlob(U))throw new V("Blob is not supported. Use a Buffer instead.");if(J.isArrayBuffer(U)||J.isTypedArray(U))return z&&typeof Blob==="function"?new Blob([U]):Buffer.from(U);return U}function I(U,L,w){let _=U;if(J.isReactNative(Y)&&J.isReactNativeBlob(U))return Y.append(f4(w,L,Z),N(U)),!1;if(U&&!w&&typeof U==="object"){if(J.endsWith(L,"{}"))L=G?L:L.slice(0,-2),U=JSON.stringify(U);else if(J.isArray(U)&&j2(U)||(J.isFileList(U)||J.endsWith(L,"[]"))&&(_=J.toArray(U)))return L=y1(L),_.forEach(function(O,f){!(J.isUndefined(O)||O===null)&&Y.append(X===!0?f4([L],f,Z):X===null?L:L+"[]",N(O))}),!1}if(h4(U))return!0;return Y.append(f4(w,L,Z),N(U)),!1}let B=[],F=Object.assign(k2,{defaultVisitor:I,convertValue:N,isVisitable:h4});function D(U,L,w=0){if(J.isUndefined(U))return;if(w>M)throw new V("Object is too deeply nested ("+w+" levels). Max depth: "+M,V.ERR_FORM_DATA_DEPTH_EXCEEDED);if(B.indexOf(U)!==-1)throw Error("Circular reference detected in "+L.join("."));B.push(U),J.forEach(U,function(R,O){if((!(J.isUndefined(R)||R===null)&&W.call(Y,R,J.isString(O)?O.trim():O,L,F))===!0)D(R,L?L.concat(O):[O],w+1)}),B.pop()}if(!J.isObject($))throw TypeError("data must be an object");return D($),Y}var k2,I0;var p0=C(()=>{j();r();m4();k2=J.toFlatObject(J,{},null,function(Y){return/^is[A-Z]/.test(Y)});I0=x2});function m1($){let Y={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent($).replace(/[!'()~]|%20/g,function(G){return Y[G]})}function f1($,Y){this._pairs=[],$&&I0($,this,Y)}var h1,g1;var u1=C(()=>{p0();h1=f1.prototype;h1.append=function(Y,Q){this._pairs.push([Y,Q])};h1.toString=function(Y){let Q=Y?function(G){return Y.call(this,G,m1)}:m1;return this._pairs.map(function(W){return Q(W[0])+"="+Q(W[1])},"").join("&")};g1=f1});function b2($){return encodeURIComponent($).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function S0($,Y,Q){if(!Y)return $;let G=Q&&Q.encode||b2,W=J.isFunction(Q)?{serialize:Q}:Q,Z=W&&W.serialize,X;if(Z)X=Z(Y,W);else X=J.isURLSearchParams(Y)?Y.toString():new g1(Y,W).toString(G);if(X){let K=$.indexOf("#");if(K!==-1)$=$.slice(0,K);$+=($.indexOf("?")===-1?"?":"&")+X}return $}var L4=C(()=>{j();u1()});class d1{constructor(){this.handlers=[]}use($,Y,Q){return this.handlers.push({fulfilled:$,rejected:Y,synchronous:Q?Q.synchronous:!1,runWhen:Q?Q.runWhen:null}),this.handlers.length-1}eject($){if(this.handlers[$])this.handlers[$]=null}clear(){if(this.handlers)this.handlers=[]}forEach($){J.forEach(this.handlers,function(Q){if(Q!==null)$(Q)})}}var g4;var c1=C(()=>{j();g4=d1});var F0;var l0=C(()=>{F0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1}});import v2 from"url";var p1;var l1=C(()=>{p1=v2.URLSearchParams});import y2 from"crypto";var u4="abcdefghijklmnopqrstuvwxyz",i1="0123456789",n1,m2=($=16,Y=n1.ALPHA_DIGIT)=>{let Q="",{length:G}=Y,W=new Uint32Array($);y2.randomFillSync(W);for(let Z=0;Z<$;Z++)Q+=Y[W[Z]%G];return Q},a1;var t1=C(()=>{l1();m4();n1={DIGIT:i1,ALPHA:u4,ALPHA_DIGIT:u4+u4.toUpperCase()+i1},a1={isNode:!0,classes:{URLSearchParams:p1,FormData:F4,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:n1,generateString:m2,protocols:["http","https","file","data"]}});var p4={};f2(p4,{origin:()=>u2,navigator:()=>d4,hasStandardBrowserWebWorkerEnv:()=>g2,hasStandardBrowserEnv:()=>h2,hasBrowserEnv:()=>c4});var c4,d4,h2,g2,u2;var s1=C(()=>{c4=typeof window<"u"&&typeof document<"u",d4=typeof navigator==="object"&&navigator||void 0,h2=c4&&(!d4||["ReactNative","NativeScript","NS"].indexOf(d4.product)<0),g2=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),u2=c4&&window.location.href||"http://localhost"});var H;var W0=C(()=>{t1();s1();H={...p4,...a1}});function l4($,Y){return I0($,new H.classes.URLSearchParams,{visitor:function(Q,G,W,Z){if(H.isNode&&J.isBuffer(Q))return this.append(G,Q.toString("base64")),!1;return Z.defaultVisitor.apply(this,arguments)},...Y})}var r1=C(()=>{j();p0();W0()});function d2($){return J.matchAll(/\w+|\[(\w*)]/g,$).map((Y)=>{return Y[0]==="[]"?"":Y[1]||Y[0]})}function c2($){let Y={},Q=Object.keys($),G,W=Q.length,Z;for(G=0;G<W;G++)Z=Q[G],Y[Z]=$[Z];return Y}function p2($){function Y(Q,G,W,Z){let X=Q[Z++];if(X==="__proto__")return!0;let K=Number.isFinite(+X),M=Z>=Q.length;if(X=!X&&J.isArray(W)?W.length:X,M){if(J.hasOwnProp(W,X))W[X]=J.isArray(W[X])?W[X].concat(G):[W[X],G];else W[X]=G;return!K}if(!J.hasOwnProp(W,X)||!J.isObject(W[X]))W[X]=[];if(Y(Q,G,W[X],Z)&&J.isArray(W[X]))W[X]=c2(W[X]);return!K}if(J.isFormData($)&&J.isFunction($.entries)){let Q={};return J.forEachEntry($,(G,W)=>{Y(d2(G),W,Q,0)}),Q}return null}var U4;var i4=C(()=>{j();U4=p2});function l2($,Y,Q){if(J.isString($))try{return(Y||JSON.parse)($),J.trim($)}catch(G){if(G.name!=="SyntaxError")throw G}return(Q||JSON.stringify)($)}var j0=($,Y)=>$!=null&&J.hasOwnProp($,Y)?$[Y]:void 0,n4,k0;var w4=C(()=>{j();r();l0();p0();r1();W0();i4();n4={transitional:F0,adapter:["xhr","http","fetch"],transformRequest:[function(Y,Q){let G=Q.getContentType()||"",W=G.indexOf("application/json")>-1,Z=J.isObject(Y);if(Z&&J.isHTMLForm(Y))Y=new FormData(Y);if(J.isFormData(Y))return W?JSON.stringify(U4(Y)):Y;if(J.isArrayBuffer(Y)||J.isBuffer(Y)||J.isStream(Y)||J.isFile(Y)||J.isBlob(Y)||J.isReadableStream(Y))return Y;if(J.isArrayBufferView(Y))return Y.buffer;if(J.isURLSearchParams(Y))return Q.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Y.toString();let K;if(Z){let M=j0(this,"formSerializer");if(G.indexOf("application/x-www-form-urlencoded")>-1)return l4(Y,M).toString();if((K=J.isFileList(Y))||G.indexOf("multipart/form-data")>-1){let z=j0(this,"env"),N=z&&z.FormData;return I0(K?{"files[]":Y}:Y,N&&new N,M)}}if(Z||W)return Q.setContentType("application/json",!1),l2(Y);return Y}],transformResponse:[function(Y){let Q=j0(this,"transitional")||n4.transitional,G=Q&&Q.forcedJSONParsing,W=j0(this,"responseType"),Z=W==="json";if(J.isResponse(Y)||J.isReadableStream(Y))return Y;if(Y&&J.isString(Y)&&(G&&!W||Z)){let K=!(Q&&Q.silentJSONParsing)&&Z;try{return JSON.parse(Y,j0(this,"parseReviver"))}catch(M){if(K){if(M.name==="SyntaxError")throw V.from(M,V.ERR_BAD_RESPONSE,this,null,j0(this,"response"));throw M}}}return Y}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:H.classes.FormData,Blob:H.classes.Blob},validateStatus:function(Y){return Y>=200&&Y<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch","query"],($)=>{n4.headers[$]={}});k0=n4});function i0($,Y){let Q=this||k0,G=Y||Q,W=x.from(G.headers),Z=G.data;return J.forEach($,function(K){Z=K.call(Q,Z,W.normalize(),Y?Y.status:void 0)}),W.normalize(),Z}var o1=C(()=>{j();w4();G0()});function n0($){return!!($&&$.__CANCEL__)}var a4=()=>{};var e1,o;var D0=C(()=>{r();e1=class e1 extends V{constructor($,Y,Q){super($==null?"canceled":$,V.ERR_CANCELED,Y,Q);this.name="CanceledError",this.__CANCEL__=!0}};o=e1});function z0($,Y,Q){let G=Q.config.validateStatus;if(!Q.status||!G||G(Q.status))$(Q);else Y(new V("Request failed with status code "+Q.status,Q.status>=400&&Q.status<500?V.ERR_BAD_REQUEST:V.ERR_BAD_RESPONSE,Q.config,Q.request,Q))}var S4=C(()=>{r()});function t4($){if(typeof $!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test($)}var $5=()=>{};function s4($,Y){return Y?$.replace(/\/?\/$/,"")+"/"+Y.replace(/^\/+/,""):$}var Y5=()=>{};function P0($,Y,Q){let G=!t4(Y);if($&&(G||Q===!1))return s4($,Y);return Y}var D4=C(()=>{$5();Y5()});var G5=a0((Q5)=>{Object.defineProperty(Q5,"__esModule",{value:!0});function i2($){return function(Y,Q){return new Promise((G,W)=>{$.call(this,Y,Q,(Z,X)=>{if(Z)W(Z);else G(X)})})}}Q5.default=i2});var X5=a0((o4,Z5)=>{var W5=o4&&o4.__importDefault||function($){return $&&$.__esModule?$:{default:$}},a2=s0("events"),t2=W5(e4()),s2=W5(G5()),t0=t2.default("agent-base");function r2($){return Boolean($)&&typeof $.addRequest==="function"}function r4(){let{stack:$}=Error();if(typeof $!=="string")return!1;return $.split(`
4
+ `).some((Y)=>Y.indexOf("(https.js:")!==-1||Y.indexOf("node:https:")!==-1)}function P4($,Y){return new P4.Agent($,Y)}(function($){class Y extends a2.EventEmitter{constructor(Q,G){super();let W=G;if(typeof Q==="function")this.callback=Q;else if(Q)W=Q;if(this.timeout=null,W&&typeof W.timeout==="number")this.timeout=W.timeout;this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){if(typeof this.explicitDefaultPort==="number")return this.explicitDefaultPort;return r4()?443:80}set defaultPort(Q){this.explicitDefaultPort=Q}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return r4()?"https:":"http:"}set protocol(Q){this.explicitProtocol=Q}callback(Q,G,W){throw Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(Q,G){let W=Object.assign({},G);if(typeof W.secureEndpoint!=="boolean")W.secureEndpoint=r4();if(W.host==null)W.host="localhost";if(W.port==null)W.port=W.secureEndpoint?443:80;if(W.protocol==null)W.protocol=W.secureEndpoint?"https:":"http:";if(W.host&&W.path)delete W.path;delete W.agent,delete W.hostname,delete W._defaultAgent,delete W.defaultPort,delete W.createConnection,Q._last=!0,Q.shouldKeepAlive=!1;let Z=!1,X=null,K=W.timeout||this.timeout,M=(B)=>{if(Q._hadError)return;Q.emit("error",B),Q._hadError=!0},z=()=>{X=null,Z=!0;let B=Error(`A "socket" was not created for HTTP request before ${K}ms`);B.code="ETIMEOUT",M(B)},N=(B)=>{if(Z)return;if(X!==null)clearTimeout(X),X=null;M(B)},I=(B)=>{if(Z)return;if(X!=null)clearTimeout(X),X=null;if(r2(B)){t0("Callback returned another Agent instance %o",B.constructor.name),B.addRequest(Q,W);return}if(B){B.once("free",()=>{this.freeSocket(B,W)}),Q.onSocket(B);return}let F=Error(`no Duplex stream was returned to agent-base for \`${Q.method} ${Q.path}\``);M(F)};if(typeof this.callback!=="function"){M(Error("`callback` is not defined"));return}if(!this.promisifiedCallback)if(this.callback.length>=3)t0("Converting legacy callback function to promise"),this.promisifiedCallback=s2.default(this.callback);else this.promisifiedCallback=this.callback;if(typeof K==="number"&&K>0)X=setTimeout(z,K);if("port"in W&&typeof W.port!=="number")W.port=Number(W.port);try{t0("Resolving socket for %o request: %o",W.protocol,`${Q.method} ${Q.path}`),Promise.resolve(this.promisifiedCallback(Q,W)).then(I,N)}catch(B){Promise.reject(B).catch(N)}}freeSocket(Q,G){t0("Freeing socket %o %o",Q.constructor.name,G),Q.destroy()}destroy(){t0("Destroying agent %o",this.constructor.name)}}$.Agent=Y,$.prototype=$.Agent.prototype})(P4||(P4={}));Z5.exports=P4});var J5=a0((o0)=>{var o2=o0&&o0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(o0,"__esModule",{value:!0});var e2=o2(e4()),r0=e2.default("https-proxy-agent:parse-proxy-response");function $$($){return new Promise((Y,Q)=>{let G=0,W=[];function Z(){let I=$.read();if(I)N(I);else $.once("readable",Z)}function X(){$.removeListener("end",M),$.removeListener("error",z),$.removeListener("close",K),$.removeListener("readable",Z)}function K(I){r0("onclose had error %o",I)}function M(){r0("onend")}function z(I){X(),r0("onerror %o",I),Q(I)}function N(I){W.push(I),G+=I.length;let B=Buffer.concat(W,G);if(B.indexOf(`\r
5
+ \r
6
+ `)===-1){r0("have not received end of HTTP headers yet..."),Z();return}let D=B.toString("ascii",0,B.indexOf(`\r
7
+ `)),U=+D.split(" ")[1];r0("got proxy server response: %o",D),Y({statusCode:U,buffered:B})}$.on("error",z),$.on("close",K),$.on("end",M),Z()})}o0.default=$$});var z5=a0((_0)=>{var Y$=_0&&_0.__awaiter||function($,Y,Q,G){function W(Z){return Z instanceof Q?Z:new Q(function(X){X(Z)})}return new(Q||(Q=Promise))(function(Z,X){function K(N){try{z(G.next(N))}catch(I){X(I)}}function M(N){try{z(G.throw(N))}catch(I){X(I)}}function z(N){N.done?Z(N.value):W(N.value).then(K,M)}z((G=G.apply($,Y||[])).next())})},x0=_0&&_0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(_0,"__esModule",{value:!0});var K5=x0(s0("net")),M5=x0(s0("tls")),Q$=x0(s0("url")),G$=x0(s0("assert")),W$=x0(e4()),Z$=X5(),X$=x0(J5()),e0=W$.default("https-proxy-agent:agent");class N5 extends Z$.Agent{constructor($){let Y;if(typeof $==="string")Y=Q$.default.parse($);else Y=$;if(!Y)throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");e0("creating new HttpsProxyAgent instance: %o",Y);super(Y);let Q=Object.assign({},Y);if(this.secureProxy=Y.secureProxy||M$(Q.protocol),Q.host=Q.hostname||Q.host,typeof Q.port==="string")Q.port=parseInt(Q.port,10);if(!Q.port&&Q.host)Q.port=this.secureProxy?443:80;if(this.secureProxy&&!("ALPNProtocols"in Q))Q.ALPNProtocols=["http 1.1"];if(Q.host&&Q.path)delete Q.path,delete Q.pathname;this.proxy=Q}callback($,Y){return Y$(this,void 0,void 0,function*(){let{proxy:Q,secureProxy:G}=this,W;if(G)e0("Creating `tls.Socket`: %o",Q),W=M5.default.connect(Q);else e0("Creating `net.Socket`: %o",Q),W=K5.default.connect(Q);let Z=Object.assign({},Q.headers),K=`CONNECT ${`${Y.host}:${Y.port}`} HTTP/1.1\r
8
+ `;if(Q.auth)Z["Proxy-Authorization"]=`Basic ${Buffer.from(Q.auth).toString("base64")}`;let{host:M,port:z,secureEndpoint:N}=Y;if(!K$(z,N))M+=`:${z}`;Z.Host=M,Z.Connection="close";for(let U of Object.keys(Z))K+=`${U}: ${Z[U]}\r
9
+ `;let I=X$.default(W);W.write(`${K}\r
10
+ `);let{statusCode:B,buffered:F}=yield I;if(B===200){if($.once("socket",J$),Y.secureEndpoint){e0("Upgrading socket connection to TLS");let U=Y.servername||Y.host;return M5.default.connect(Object.assign(Object.assign({},N$(Y,"host","hostname","path","port")),{socket:W,servername:U}))}return W}W.destroy();let D=new K5.default.Socket({writable:!1});return D.readable=!0,$.once("socket",(U)=>{e0("replaying proxy buffer for failed request"),G$.default(U.listenerCount("data")>0),U.push(F),U.push(null)}),D})}}_0.default=N5;function J$($){$.resume()}function K$($,Y){return Boolean(!Y&&$===80||Y&&$===443)}function M$($){return typeof $==="string"?/^https:?$/i.test($):!1}function N$($,...Y){let Q={},G;for(G in $)if(!Y.includes(G))Q[G]=$[G];return Q}});var V5=a0((Q1,B5)=>{var z$=Q1&&Q1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},$1=z$(z5());function Y1($){return new $1.default($)}(function($){$.HttpsProxyAgent=$1.default,$.prototype=$1.default.prototype})(Y1||(Y1={}));B5.exports=Y1});var B0="1.17.0";var $4=()=>{};function Y4($){let Y=/^([-+\w]{1,25}):(?:\/\/)?/.exec($);return Y&&Y[1]||""}var G1=()=>{};function W1($,Y,Q){let G=Q&&Q.Blob||H.classes.Blob,W=Y4($);if(Y===void 0&&G)Y=!0;if(W==="data"){$=W.length?$.slice(W.length+1):$;let Z=B$.exec($);if(!Z)throw new V("Invalid URL",V.ERR_INVALID_URL);let X=Z[1],K=Z[2],M=Z[3]?"base64":"utf8",z=Z[4],N;if(X)N=K?X+K:X;else if(K)N="text/plain"+K;let I=Buffer.from(decodeURIComponent(z),M);if(Y){if(!G)throw new V("Blob is not supported",V.ERR_NOT_SUPPORT);return new G([I],{type:N})}return I}throw new V("Unsupported protocol "+W,V.ERR_NOT_SUPPORT)}var B$;var I5=C(()=>{r();G1();W0();B$=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/});import V$ from"stream";var Z1,F5,X1;var L5=C(()=>{j();Z1=Symbol("internals");F5=class F5 extends V$.Transform{constructor($){$=J.toFlatObject($,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(Q,G)=>{return!J.isUndefined(G[Q])});super({readableHighWaterMark:$.chunkSize});let Y=this[Z1]={timeWindow:$.timeWindow,chunkSize:$.chunkSize,maxRate:$.maxRate,minChunkSize:$.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(Q)=>{if(Q==="progress"){if(!Y.isCaptured)Y.isCaptured=!0}})}_read($){let Y=this[Z1];if(Y.onReadCallback)Y.onReadCallback();return super._read($)}_transform($,Y,Q){let G=this[Z1],W=G.maxRate,Z=this.readableHighWaterMark,X=G.timeWindow,K=1000/X,M=W/K,z=G.minChunkSize!==!1?Math.max(G.minChunkSize,M*0.01):0,N=(B,F)=>{let D=Buffer.byteLength(B);if(G.bytesSeen+=D,G.bytes+=D,G.isCaptured&&this.emit("progress",G.bytesSeen),this.push(B))process.nextTick(F);else G.onReadCallback=()=>{G.onReadCallback=null,process.nextTick(F)}},I=(B,F)=>{let D=Buffer.byteLength(B),U=null,L=Z,w,_=0;if(W){let R=Date.now();if(!G.ts||(_=R-G.ts)>=X)G.ts=R,w=M-G.bytes,G.bytes=w<0?-w:0,_=0;w=M-G.bytes}if(W){if(w<=0)return setTimeout(()=>{F(null,B)},X-_);if(w<L)L=w}if(L&&D>L&&D-L>z)U=B.subarray(L),B=B.subarray(0,L);N(B,U?()=>{process.nextTick(F,null,U)}:F)};I($,function B(F,D){if(F)return Q(F);if(D)I(D,B);else Q(null)})}};X1=F5});var U5,I$=async function*($){if($.stream)yield*$.stream();else if($.arrayBuffer)yield await $.arrayBuffer();else if($[U5])yield*$[U5]();else yield $},_4;var J1=C(()=>{({asyncIterator:U5}=Symbol),_4=I$});import F$ from"util";import{Readable as L$}from"stream";class w5{constructor($,Y){let{escapeName:Q}=this.constructor,G=J.isString(Y),W=`Content-Disposition: form-data; name="${Q($)}"${!G&&Y.name?`; filename="${Q(Y.name)}"`:""}${q0}`;if(G)Y=Q4.encode(String(Y).replace(/\r?\n|\r\n?/g,q0));else{let Z=String(Y.type||"application/octet-stream").replace(/[\r\n]/g,"");W+=`Content-Type: ${Z}${q0}`}this.headers=Q4.encode(W+q0),this.contentLength=G?Y.byteLength:Y.size,this.size=this.headers.byteLength+this.contentLength+S$,this.name=$,this.value=Y}async*encode(){yield this.headers;let{value:$}=this;if(J.isTypedArray($))yield $;else yield*_4($);yield w$}static escapeName($){return String($).replace(/[\r\n"]/g,(Y)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[Y])}}var U$,Q4,q0=`\r
11
+ `,w$,S$=2,D$=($,Y,Q)=>{let{tag:G="form-data-boundary",size:W=25,boundary:Z=G+"-"+H.generateString(W,U$)}=Q||{};if(!J.isFormData($))throw TypeError("FormData instance required");if(Z.length<1||Z.length>70)throw Error("boundary must be 1-70 characters long");let X=Q4.encode("--"+Z+q0),K=Q4.encode("--"+Z+"--"+q0),M=K.byteLength,z=Array.from($.entries()).map(([I,B])=>{let F=new w5(I,B);return M+=F.size,F});M+=X.byteLength*z.length,M=J.toFiniteNumber(M);let N={"Content-Type":`multipart/form-data; boundary=${Z}`};if(Number.isFinite(M))N["Content-Length"]=M;return Y&&Y(N),L$.from(async function*(){for(let I of z)yield X,yield*I.encode();yield K}())},S5;var D5=C(()=>{j();J1();W0();U$=H.ALPHABET.ALPHA_DIGIT+"-_",Q4=typeof TextEncoder==="function"?new TextEncoder:new F$.TextEncoder,w$=Q4.encode(q0);S5=D$});import P$ from"stream";var P5,_5;var q5=C(()=>{P5=class P5 extends P$.Transform{__transform($,Y,Q){this.push($),Q()}_transform($,Y,Q){if($.length!==0){if(this._transform=this.__transform,$[0]!==120){let G=Buffer.alloc(2);G[0]=120,G[1]=156,this.push(G,Y)}}this.__transform($,Y,Q)}};_5=P5});import _$ from"http2";import q$ from"util";class C5{constructor(){this.sessions=Object.create(null)}getSession($,Y){Y=Object.assign({sessionTimeout:1000},Y);let Q=this.sessions[$];if(Q){let N=Q.length;for(let I=0;I<N;I++){let[B,F]=Q[I];if(!B.destroyed&&!B.closed&&q$.isDeepStrictEqual(F,Y))return B}}let G=_$.connect($,Y),W,Z,X=()=>{if(W)return;if(W=!0,Z)clearTimeout(Z),Z=null;let N=Q,I=N.length,B=I;while(B--)if(N[B][0]===G){if(I===1)delete this.sessions[$];else N.splice(B,1);if(!G.closed)G.close();return}},K=G.request,{sessionTimeout:M}=Y;if(M!=null){let N=0;G.request=function(){let I=K.apply(this,arguments);if(N++,Z)clearTimeout(Z),Z=null;return I.once("close",()=>{if(!--N)Z=setTimeout(()=>{Z=null,X()},M)}),I}}G.once("close",X);let z=[G,Y];return Q?Q.push(z):Q=this.sessions[$]=[z],G}}var R5;var T5=C(()=>{R5=C5});var C$=($,Y)=>{return J.isAsyncFn($)?function(...Q){let G=Q.pop();$.apply(this,Q).then((W)=>{try{Y?G(null,...Y(W)):G(null,W)}catch(Z){G(Z)}},G)}:$},O5;var H5=C(()=>{j();O5=C$});function K1($){let Y;try{Y=new URL($)}catch(Z){return!1}let Q=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!Q)return!1;if(Q==="*")return!0;let G=Number.parseInt(Y.port,10)||O$[Y.protocol.split(":",1)[0]]||0,W=A5(Y.hostname.toLowerCase());return Q.split(/[\s,]+/).some((Z)=>{if(!Z)return!1;let[X,K]=H$(Z);if(X=A5(X),!X)return!1;if(K&&K!==G)return!1;if(X.charAt(0)==="*")X=X.slice(1);if(X.charAt(0)===".")return W.endsWith(X);return W===X||E5(W)&&E5(X)})}var R$,j5=($)=>{let Y=$.split(".");if(Y.length!==4)return!1;if(Y[0]!=="127")return!1;return Y.every((Q)=>/^\d+$/.test(Q)&&Number(Q)>=0&&Number(Q)<=255)},T$=($)=>{if($==="::1")return!0;let Y=$.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(Y)return j5(Y[1]);let Q=$.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(Q){let W=parseInt(Q[1],16);return W>=32512&&W<=32767}let G=$.split(":");if(G.length===8){for(let W=0;W<7;W++)if(!/^0+$/.test(G[W]))return!1;return/^0*1$/.test(G[7])}return!1},E5=($)=>{if(!$)return!1;if(R$.has($))return!0;if(j5($))return!0;return T$($)},O$,H$=($)=>{let Y=$,Q=0;if(Y.charAt(0)==="["){let Z=Y.indexOf("]");if(Z!==-1){let X=Y.slice(1,Z),K=Y.slice(Z+1);if(K.charAt(0)===":"&&/^\d+$/.test(K.slice(1)))Q=Number.parseInt(K.slice(1),10);return[X,Q]}}let G=Y.indexOf(":"),W=Y.lastIndexOf(":");if(G!==-1&&G===W&&/^\d+$/.test(Y.slice(W+1)))Q=Number.parseInt(Y.slice(W+1),10),Y=Y.slice(0,W);return[Y,Q]},E$,A$,j$=($)=>{if(typeof $!=="string"||$.indexOf(":")===-1)return $;let Y=$.match(E$);if(Y)return Y[1];let Q=$.match(A$);if(Q){let G=parseInt(Q[1],16),W=parseInt(Q[2],16);return`${G>>8}.${G&255}.${W>>8}.${W&255}`}return $},A5=($)=>{if(!$)return $;if($.charAt(0)==="["&&$.charAt($.length-1)==="]")$=$.slice(1,-1);return j$($.replace(/\.+$/,""))};var k5=C(()=>{R$=new Set(["localhost"]),O$={http:80,https:443,ws:80,wss:443,ftp:21},E$=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,A$=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i});function k$($,Y){$=$||10;let Q=Array($),G=Array($),W=0,Z=0,X;return Y=Y!==void 0?Y:1000,function(M){let z=Date.now(),N=G[Z];if(!X)X=z;Q[W]=M,G[W]=z;let I=Z,B=0;while(I!==W)B+=Q[I++],I=I%$;if(W=(W+1)%$,W===Z)Z=(Z+1)%$;if(z-X<Y)return;let F=N&&z-N;return F?Math.round(B*1000/F):void 0}}var x5;var b5=C(()=>{x5=k$});function x$($,Y){let Q=0,G=1000/Y,W,Z,X=(z,N=Date.now())=>{if(Q=N,W=null,Z)clearTimeout(Z),Z=null;$(...z)};return[(...z)=>{let N=Date.now(),I=N-Q;if(I>=G)X(z,N);else if(W=z,!Z)Z=setTimeout(()=>{Z=null,X(W)},G-I)},()=>W&&X(W)]}var v5;var y5=C(()=>{v5=x$});var V0=($,Y,Q=3)=>{let G=0,W=x5(50,250);return v5((Z)=>{if(!Z||typeof Z.loaded!=="number")return;let X=Z.loaded,K=Z.lengthComputable?Z.total:void 0,M=K!=null?Math.min(X,K):X,z=Math.max(0,M-G),N=W(z);G=Math.max(G,M);let I={loaded:M,total:K,progress:K?M/K:void 0,bytes:z,rate:N?N:void 0,estimated:N&&K?(K-M)/N:void 0,event:Z,lengthComputable:K!=null,[Y?"download":"upload"]:!0};$(I)},Q)},b0=($,Y)=>{let Q=$!=null;return[(G)=>Y[0]({lengthComputable:Q,total:$,loaded:G}),Y[1]]},v0=($)=>(...Y)=>J.asap(()=>$(...Y));var q4=C(()=>{b5();y5();j()});function G4($){if(!$||typeof $!=="string")return 0;if(!$.startsWith("data:"))return 0;let Y=$.indexOf(",");if(Y<0)return 0;let Q=$.slice(5,Y),G=$.slice(Y+1);if(/;base64/i.test(Q)){let{length:X,length:K}=G;for(let F=0;F<K;F++)if(G.charCodeAt(F)===37&&F+2<K){let D=G.charCodeAt(F+1),U=G.charCodeAt(F+2);if((D>=48&&D<=57||D>=65&&D<=70||D>=97&&D<=102)&&(U>=48&&U<=57||U>=65&&U<=70||U>=97&&U<=102))X-=2,F+=2}let M=0,z=K-1,N=(F)=>F>=2&&G.charCodeAt(F-2)===37&&G.charCodeAt(F-1)===51&&(G.charCodeAt(F)===68||G.charCodeAt(F)===100);if(z>=0){if(G.charCodeAt(z)===61)M++,z--;else if(N(z))M++,z-=3}if(M===1&&z>=0){if(G.charCodeAt(z)===61)M++;else if(N(z))M++}let B=Math.floor(X/4)*3-(M||0);return B>0?B:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength==="function")return Buffer.byteLength(G,"utf8");let Z=0;for(let X=0,K=G.length;X<K;X++){let M=G.charCodeAt(X);if(M<128)Z+=1;else if(M<2048)Z+=2;else if(M>=55296&&M<=56319&&X+1<K){let z=G.charCodeAt(X+1);if(z>=56320&&z<=57343)Z+=4,X++;else Z+=3}else Z+=3}return Z}var M1=()=>{};import y$ from"http";import m$ from"https";import f$ from"http2";import h$ from"util";import{resolve as m5}from"path";import $0 from"zlib";import Z0 from"stream";import{EventEmitter as g$}from"events";function n$($,Y,Q){if(Q!=="content-only"){$.set(Y);return}Object.entries(Y).forEach(([G,W])=>{if(i$.includes(G.toLowerCase()))$.set(G,W)})}function t$($,Y){let Q=$.protocol+"//"+$.hostname+":"+($.port||"")+"#"+($.auth||""),G=Y?g5.get(Y)||g5.set(Y,new Map).get(Y):a$,W=G.get(Q);if(W)return W;let Z=Y&&Y.options?{...Y.options,...$}:$;if(W=new N1.default(Z),Y&&Y.options){let X={...Y.options},K=W.callback;W.callback=function(z,N){return K.call(this,z,{...X,...N})}}return W[r5]=!0,G.set(Q,W),W}function r$($,Y,Q){if($.beforeRedirects.proxy)$.beforeRedirects.proxy($);if($.beforeRedirects.auth)$.beforeRedirects.auth($);if($.beforeRedirects.config)$.beforeRedirects.config($,Y,Q)}function o5($,Y,Q,G,W){let Z=Y;if(!Z&&Z!==!1){let X=l5(Q);if(X){if(!K1(Q))Z=new URL(X)}}if(G&&$.headers){for(let X of Object.keys($.headers))if(X.toLowerCase()==="proxy-authorization")delete $.headers[X]}if(G&&$.agent&&$.agent[r5])$.agent=void 0;if(Z){let X=Z instanceof URL,K=(B)=>X||J.hasOwnProp(Z,B)?Z[B]:void 0,M=K("username"),z=K("password"),N=J.hasOwnProp(Z,"auth")?Z.auth:void 0;if(M)N=(M||"")+":"+(z||"");if(N){let B=typeof N==="object",F=B&&J.hasOwnProp(N,"username")?N.username:void 0,D=B&&J.hasOwnProp(N,"password")?N.password:void 0;if(Boolean(F||D))N=(F||"")+":"+(D||"");else if(B)throw new V("Invalid proxy authorization",V.ERR_BAD_OPTION,{proxy:Z})}if(s5.test($.protocol)){if(!(W instanceof N1.default)){let B=K("hostname")||K("host"),F=K("port"),D=K("protocol"),U=D?D.includes(":")?D:`${D}:`:"http:",L=B&&B.includes(":")&&!B.startsWith("[")?`[${B}]`:B,w=new URL(`${U}//${L}${F?":"+F:""}`),_={protocol:w.protocol,hostname:w.hostname.replace(/^\[|\]$/g,""),port:w.port,auth:N&&typeof N==="string"?N:void 0};if(w.protocol==="https:")_.ALPNProtocols=["http/1.1"];let R=t$(_,W);if($.agent=R,$.agents)$.agents.https=R}}else{if(N){let U=Buffer.from(N,"utf8").toString("base64");$.headers["Proxy-Authorization"]="Basic "+U}let B=!1;for(let U of Object.keys($.headers))if(U.toLowerCase()==="host"){B=!0;break}if(!B)$.headers.host=$.hostname+($.port?":"+$.port:"");let F=K("hostname")||K("host");$.hostname=F,$.host=F,$.port=K("port"),$.path=Q;let D=K("protocol");if(D)$.protocol=D.includes(":")?D:`${D}:`}}$.beforeRedirects.proxy=function(K){o5(K,Y,K.href,!0,W)}}var N1,i5,f5,u$,d$,n5,a5,t5,c$,p$,l$,s5,i$,h5,C4,r5,a$,g5,u5,d5=($)=>{if(!J.isString($))return $;try{return decodeURIComponent($)}catch(Y){return $}},c5=($,[Y,Q])=>{return $.on("end",Q).on("error",Q),Y},s$,o$,e$=($)=>{return new Promise((Y,Q)=>{let G,W,Z=(M,z)=>{if(W)return;W=!0,G&&G(M,z)},X=(M)=>{Z(M),Y(M)},K=(M)=>{Z(M,!0),Q(M)};$(X,K,(M)=>G=M).catch(K)})},$7=({address:$,family:Y})=>{if(!J.isString($))throw TypeError("address must be a string");return{address:$,family:Y||($.indexOf(".")<0?6:4)}},p5=($,Y)=>$7(J.isObject($)?$:{address:$,family:Y}),Y7,e5;var $6=C(()=>{j();S4();D4();L4();b$();$4();l0();r();D0();W0();I5();G0();L5();D5();J1();q5();T5();H5();k5();u0();q4();M1();N1=y4(V5(),1),i5=y4(v$(),1),f5={flush:$0.constants.Z_SYNC_FLUSH,finishFlush:$0.constants.Z_SYNC_FLUSH},u$={flush:$0.constants.BROTLI_OPERATION_FLUSH,finishFlush:$0.constants.BROTLI_OPERATION_FLUSH},d$={flush:$0.constants.ZSTD_e_flush,finishFlush:$0.constants.ZSTD_e_flush},n5=J.isFunction($0.createBrotliDecompress),a5=J.isFunction($0.createZstdDecompress),t5="gzip, compress, deflate"+(n5?", br":""),c$=t5+(a5?", zstd":""),{http:p$,https:l$}=i5.default,s5=/https:?/,i$=["content-type","content-length"];h5=Symbol("axios.http.socketListener"),C4=Symbol("axios.http.currentReq"),r5=Symbol("axios.http.installedTunnel"),a$=new Map,g5=new WeakMap;u5=H.protocols.map(($)=>{return $+":"}),s$=new R5;o$=typeof process<"u"&&J.kindOf(process)==="process",Y7={request($,Y){let Q=$.protocol+"//"+$.hostname+":"+($.port||($.protocol==="https:"?443:80)),{http2Options:G,headers:W}=$,Z=s$.getSession(Q,G),{HTTP2_HEADER_SCHEME:X,HTTP2_HEADER_METHOD:K,HTTP2_HEADER_PATH:M,HTTP2_HEADER_STATUS:z}=f$.constants,N={[X]:$.protocol.replace(":",""),[K]:$.method,[M]:$.path};J.forEach(W,(B,F)=>{F.charAt(0)!==":"&&(N[F]=B)});let I=Z.request(N);return I.once("response",(B)=>{let F=I;B=Object.assign({},B);let D=B[z];delete B[z],F.headers=B,F.statusCode=+D,Y(F)}),I}},e5=o$&&function(Y){return e$(async function(G,W,Z){let X=(q)=>J.hasOwnProp(Y,q)?Y[q]:void 0,K=X("transitional")||F0,M=X("data"),z=X("lookup"),N=X("family"),I=X("httpVersion");if(I===void 0)I=1;let B=X("http2Options"),F=X("responseType"),D=X("responseEncoding"),U=Y.method.toUpperCase(),L,w=!1,_,R;if(I=+I,Number.isNaN(I))throw TypeError(`Invalid protocol version: '${Y.httpVersion}' is not a number`);if(I!==1&&I!==2)throw TypeError(`Unsupported protocol version '${I}'`);let O=I===2;if(z){let q=O5(z,(S)=>J.isArray(S)?S:[S]);z=(S,P,A)=>{q(S,P,(T,b,i)=>{if(T)return A(T);let v=J.isArray(b)?b.map((e)=>p5(e)):[p5(b,i)];P.all?A(T,v):A(T,v[0].address,v[0].family)})}}let f=new g$;function g(q){try{f.emit("abort",!q||q.type?new o(null,Y,_):q)}catch(S){}}function J0(){if(R)clearTimeout(R),R=null}function y0(){let q=Y.timeout?"timeout of "+Y.timeout+"ms exceeded":"timeout exceeded";if(Y.timeoutErrorMessage)q=Y.timeoutErrorMessage;return new V(q,K.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,Y,_)}f.once("abort",W);let C0=()=>{if(J0(),Y.cancelToken)Y.cancelToken.unsubscribe(g);if(Y.signal)Y.signal.removeEventListener("abort",g);f.removeAllListeners()};if(Y.cancelToken||Y.signal){if(Y.cancelToken&&Y.cancelToken.subscribe(g),Y.signal)Y.signal.aborted?g():Y.signal.addEventListener("abort",g)}Z((q,S)=>{if(L=!0,J0(),S){w=!0,C0();return}let{data:P}=q;if(P instanceof Z0.Readable||P instanceof Z0.Duplex){let A=Z0.finished(P,()=>{A(),C0()})}else C0()});let Y0=P0(Y.baseURL,Y.url,Y.allowAbsoluteUrls),k=new URL(Y0,H.hasBrowserEnv?H.origin:void 0),K0=k.protocol||u5[0];if(K0==="data:"){if(Y.maxContentLength>-1){let S=String(Y.url||Y0||"");if(G4(S)>Y.maxContentLength)return W(new V("maxContentLength size of "+Y.maxContentLength+" exceeded",V.ERR_BAD_RESPONSE,Y))}let q;if(U!=="GET")return z0(G,W,{status:405,statusText:"method not allowed",headers:{},config:Y});try{q=W1(Y.url,F==="blob",{Blob:Y.env&&Y.env.Blob})}catch(S){throw V.from(S,V.ERR_BAD_REQUEST,Y)}if(F==="text"){if(q=q.toString(D),!D||D==="utf8")q=J.stripBOM(q)}else if(F==="stream")q=Z0.Readable.from(q);return z0(G,W,{data:q,status:200,statusText:"OK",headers:new x,config:Y})}if(u5.indexOf(K0)===-1)return W(new V("Unsupported protocol "+K0,V.ERR_BAD_REQUEST,Y));let d=x.from(Y.headers).normalize();d.set("User-Agent","axios/"+B0,!1);let{onUploadProgress:n,onDownloadProgress:L0}=Y,M0=Y.maxRate,R0=void 0,T0=void 0;if(J.isSpecCompliantForm(M)){let q=d.getContentType(/boundary=([-_\w\d]{10,70})/i);M=S5(M,(S)=>{d.set(S)},{tag:`axios-${B0}-boundary`,boundary:q&&q[1]||void 0})}else if(J.isFormData(M)&&J.isFunction(M.getHeaders)&&M.getHeaders!==Object.prototype.getHeaders){if(n$(d,M.getHeaders(),X("formDataHeaderPolicy")),!d.hasContentLength())try{let q=await h$.promisify(M.getLength).call(M);Number.isFinite(q)&&q>=0&&d.setContentLength(q)}catch(q){}}else if(J.isBlob(M)||J.isFile(M))M.size&&d.setContentType(M.type||"application/octet-stream"),d.setContentLength(M.size||0),M=Z0.Readable.from(_4(M));else if(M&&!J.isStream(M)){if(Buffer.isBuffer(M));else if(J.isArrayBuffer(M))M=Buffer.from(new Uint8Array(M));else if(J.isString(M))M=Buffer.from(M,"utf-8");else return W(new V("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",V.ERR_BAD_REQUEST,Y));if(d.setContentLength(M.length,!1),Y.maxBodyLength>-1&&M.length>Y.maxBodyLength)return W(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,Y))}let J4=J.toFiniteNumber(d.getContentLength());if(J.isArray(M0))R0=M0[0],T0=M0[1];else R0=T0=M0;if(M&&(n||R0)){if(!J.isStream(M))M=Z0.Readable.from(M,{objectMode:!1});M=Z0.pipeline([M,new X1({maxRate:J.toFiniteNumber(R0)})],J.noop),n&&M.on("progress",c5(M,b0(J4,V0(v0(n),!1,3))))}let c=void 0,p=X("auth");if(p){let q=p.username||"",S=p.password||"";c=q+":"+S}if(!c&&(k.username||k.password)){let q=d5(k.username),S=d5(k.password);c=q+":"+S}c&&d.delete("authorization");let N0;try{N0=S0(k.pathname+k.search,Y.params,Y.paramsSerializer).replace(/^\?/,"")}catch(q){let S=Error(q.message);return S.config=Y,S.url=Y.url,S.exists=!0,W(S)}d.set("Accept-Encoding",J.hasOwnProp(K,"advertiseZstdAcceptEncoding")&&K.advertiseZstdAcceptEncoding===!0?c$:t5,!1);let m=Object.assign(Object.create(null),{path:N0,method:U,headers:A0(d),agents:{http:Y.httpAgent,https:Y.httpsAgent},auth:c,protocol:K0,family:N,beforeRedirect:r$,beforeRedirects:Object.create(null),http2Options:B});!J.isUndefined(z)&&(m.lookup=z);let E=X("socketPath");if(E){if(typeof E!=="string")return W(new V("socketPath must be a string",V.ERR_BAD_OPTION_VALUE,Y));let q=X("allowedSocketPaths");if(q!=null){let S=Array.isArray(q)?q:[q],P=m5(E);if(!S.some((T)=>typeof T==="string"&&m5(T)===P))return W(new V(`socketPath "${E}" is not permitted by allowedSocketPaths`,V.ERR_BAD_OPTION_VALUE,Y))}m.socketPath=E}else m.hostname=k.hostname.startsWith("[")?k.hostname.slice(1,-1):k.hostname,m.port=k.port,o5(m,Y.proxy,K0+"//"+k.hostname+(k.port?":"+k.port:"")+m.path,!1,Y.httpsAgent);let l,K4=!1,O0=s5.test(m.protocol);if(m.agent==null)m.agent=O0?Y.httpsAgent:Y.httpAgent;if(O)l=Y7;else{let q=X("transport");if(q)l=q;else if(Y.maxRedirects===0)l=O0?m$:y$,K4=!0;else{if(Y.maxRedirects)m.maxRedirects=Y.maxRedirects;let S=X("beforeRedirect");if(S)m.beforeRedirects.config=S;if(c){let P=k.origin,A=c;m.beforeRedirects.auth=function(b){try{if(new URL(b.href).origin===P)b.auth=A}catch(i){}}}l=O0?l$:p$}}if(Y.maxBodyLength>-1)m.maxBodyLength=Y.maxBodyLength;else m.maxBodyLength=1/0;m.insecureHTTPParser=Boolean(X("insecureHTTPParser")),_=l.request(m,function(S){if(J0(),_.destroyed)return;let P=[S],A=J.toFiniteNumber(S.headers["content-length"]);if(L0||T0){let v=new X1({maxRate:J.toFiniteNumber(T0)});L0&&v.on("progress",c5(v,b0(A,V0(v0(L0),!0,3)))),P.push(v)}let T=S,b=S.req||_;if(Y.decompress!==!1&&S.headers["content-encoding"]){if(U==="HEAD"||S.statusCode===204)delete S.headers["content-encoding"];switch((S.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":P.push($0.createUnzip(f5)),delete S.headers["content-encoding"];break;case"deflate":P.push(new _5),P.push($0.createUnzip(f5)),delete S.headers["content-encoding"];break;case"br":if(n5)P.push($0.createBrotliDecompress(u$)),delete S.headers["content-encoding"];break;case"zstd":if(a5)P.push($0.createZstdDecompress(d$)),delete S.headers["content-encoding"];break}}T=P.length>1?Z0.pipeline(P,J.noop):P[0];let i={status:S.statusCode,statusText:S.statusMessage,headers:new x(S.headers),config:Y,request:b};if(F==="stream"){if(Y.maxContentLength>-1){let v=Y.maxContentLength,e=T;async function*m0(){let h=0;for await(let P1 of e){if(h+=P1.length,h>v)throw new V("maxContentLength size of "+v+" exceeded",V.ERR_BAD_RESPONSE,Y,b);yield P1}}T=Z0.Readable.from(m0(),{objectMode:!1})}i.data=T,z0(G,W,i)}else{let v=[],e=0;T.on("data",function(h){if(v.push(h),e+=h.length,Y.maxContentLength>-1&&e>Y.maxContentLength)w=!0,T.destroy(),g(new V("maxContentLength size of "+Y.maxContentLength+" exceeded",V.ERR_BAD_RESPONSE,Y,b))}),T.on("aborted",function(){if(w)return;let h=new V("stream has been aborted",V.ERR_BAD_RESPONSE,Y,b,i);T.destroy(h),W(h)}),T.on("error",function(h){if(w)return;W(V.from(h,null,Y,b,i))}),T.on("end",function(){try{let h=v.length===1?v[0]:Buffer.concat(v);if(F!=="arraybuffer"){if(h=h.toString(D),!D||D==="utf8")h=J.stripBOM(h)}i.data=h}catch(h){return W(V.from(h,null,Y,i.request,i))}z0(G,W,i)})}f.once("abort",(v)=>{if(!T.destroyed)T.emit("error",v),T.destroy()})}),f.once("abort",(q)=>{if(_.close)_.close();else _.destroy(q)}),_.on("error",function(S){W(V.from(S,null,Y,_))});let a=new Set;if(_.on("socket",function(S){if(S.setKeepAlive(!0,60000),!S[h5])S.on("error",function(A){let T=S[C4];if(T&&!T.destroyed)T.destroy(A)}),S[h5]=!0;S[C4]=_,a.add(S)}),_.once("close",function(){J0();for(let S of a)if(S[C4]===_)S[C4]=null;a.clear()}),Y.timeout){let q=parseInt(Y.timeout,10);if(Number.isNaN(q)){g(new V("error trying to parse `config.timeout` to int",V.ERR_BAD_OPTION_VALUE,Y,_));return}let S=function(){if(L)return;g(y0())};if(K4&&q>0)R=setTimeout(S,q);_.setTimeout(q,S)}else _.setTimeout(0);if(J.isStream(M)){let q=!1,S=!1;M.on("end",()=>{q=!0}),M.once("error",(A)=>{S=!0,_.destroy(A)}),M.on("close",()=>{if(!q&&!S)g(new o("Request stream has been aborted",Y,_))});let P=M;if(Y.maxBodyLength>-1&&Y.maxRedirects===0){let A=Y.maxBodyLength,T=0;P=Z0.pipeline([M,new Z0.Transform({transform(b,i,v){if(T+=b.length,T>A)return v(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,Y,_));v(null,b)}})],J.noop),P.on("error",(b)=>{if(!_.destroyed)_.destroy(b)})}P.pipe(_)}else M&&_.write(M),_.end()})}});var Y6;var Q6=C(()=>{W0();Y6=H.hasStandardBrowserEnv?(($,Y)=>(Q)=>{return Q=new URL(Q,H.origin),$.protocol===Q.protocol&&$.host===Q.host&&(Y||$.port===Q.port)})(new URL(H.origin),H.navigator&&/(msie|trident)/i.test(H.navigator.userAgent)):()=>!0});var G6;var W6=C(()=>{j();W0();G6=H.hasStandardBrowserEnv?{write($,Y,Q,G,W,Z,X){if(typeof document>"u")return;let K=[`${$}=${encodeURIComponent(Y)}`];if(J.isNumber(Q))K.push(`expires=${new Date(Q).toUTCString()}`);if(J.isString(G))K.push(`path=${G}`);if(J.isString(W))K.push(`domain=${W}`);if(Z===!0)K.push("secure");if(J.isString(X))K.push(`SameSite=${X}`);document.cookie=K.join("; ")},read($){if(typeof document>"u")return null;let Y=document.cookie.split(";");for(let Q=0;Q<Y.length;Q++){let G=Y[Q].replace(/^\s+/,""),W=G.indexOf("=");if(W!==-1&&G.slice(0,W)===$)return decodeURIComponent(G.slice(W+1))}return null},remove($){this.write($,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}}});function X0($,Y){Y=Y||{};let Q=Object.create(null);Object.defineProperty(Q,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function G(z,N,I,B){if(J.isPlainObject(z)&&J.isPlainObject(N))return J.merge.call({caseless:B},z,N);else if(J.isPlainObject(N))return J.merge({},N);else if(J.isArray(N))return N.slice();return N}function W(z,N,I,B){if(!J.isUndefined(N))return G(z,N,I,B);else if(!J.isUndefined(z))return G(void 0,z,I,B)}function Z(z,N){if(!J.isUndefined(N))return G(void 0,N)}function X(z,N){if(!J.isUndefined(N))return G(void 0,N);else if(!J.isUndefined(z))return G(void 0,z)}function K(z,N,I){if(J.hasOwnProp(Y,I))return G(z,N);else if(J.hasOwnProp($,I))return G(void 0,z)}let M={url:Z,method:Z,data:Z,baseURL:X,transformRequest:X,transformResponse:X,paramsSerializer:X,timeout:X,timeoutMessage:X,withCredentials:X,withXSRFToken:X,adapter:X,responseType:X,xsrfCookieName:X,xsrfHeaderName:X,onUploadProgress:X,onDownloadProgress:X,decompress:X,maxContentLength:X,maxBodyLength:X,beforeRedirect:X,transport:X,httpAgent:X,httpsAgent:X,cancelToken:X,socketPath:X,allowedSocketPaths:X,responseEncoding:X,validateStatus:K,headers:(z,N,I)=>W(Z6(z),Z6(N),I,!0)};return J.forEach(Object.keys({...$,...Y}),function(N){if(N==="__proto__"||N==="constructor"||N==="prototype")return;let I=J.hasOwnProp(M,N)?M[N]:W,B=J.hasOwnProp($,N)?$[N]:void 0,F=J.hasOwnProp(Y,N)?Y[N]:void 0,D=I(B,F,N);J.isUndefined(D)&&I!==K||(Q[N]=D)}),Q}var Z6=($)=>$ instanceof x?{...$}:$;var R4=C(()=>{j();G0()});function G7($,Y,Q){if(Q!=="content-only"){$.set(Y);return}Object.entries(Y).forEach(([G,W])=>{if(Q7.includes(G.toLowerCase()))$.set(G,W)})}function Z7($){let Y=X0({},$),Q=(B)=>J.hasOwnProp(Y,B)?Y[B]:void 0,G=Q("data"),W=Q("withXSRFToken"),Z=Q("xsrfHeaderName"),X=Q("xsrfCookieName"),K=Q("headers"),M=Q("auth"),z=Q("baseURL"),N=Q("allowAbsoluteUrls"),I=Q("url");if(Y.headers=K=x.from(K),Y.url=S0(P0(z,I,N),Q("params"),Q("paramsSerializer")),M)K.set("Authorization","Basic "+btoa((M.username||"")+":"+(M.password?W7(M.password):"")));if(J.isFormData(G)){if(H.hasStandardBrowserEnv||H.hasStandardBrowserWebWorkerEnv||J.isReactNative(G))K.setContentType(void 0);else if(J.isFunction(G.getHeaders))G7(K,G.getHeaders(),Q("formDataHeaderPolicy"))}if(H.hasStandardBrowserEnv){if(J.isFunction(W))W=W(Y);if(W===!0||W==null&&Y6(Y.url)){let F=Z&&X&&G6.read(X);if(F)K.set(Z,F)}}return Y}var Q7,W7=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Y,Q)=>String.fromCharCode(parseInt(Q,16))),T4;var z1=C(()=>{W0();j();Q6();W6();D4();R4();G0();L4();Q7=["content-type","content-length"];T4=Z7});var X7,X6;var J6=C(()=>{j();S4();l0();r();D0();G1();W0();G0();q4();z1();u0();X7=typeof XMLHttpRequest<"u",X6=X7&&function($){return new Promise(function(Q,G){let W=T4($),Z=W.data,X=x.from(W.headers).normalize(),{responseType:K,onUploadProgress:M,onDownloadProgress:z}=W,N,I,B,F,D;function U(){F&&F(),D&&D(),W.cancelToken&&W.cancelToken.unsubscribe(N),W.signal&&W.signal.removeEventListener("abort",N)}let L=new XMLHttpRequest;L.open(W.method.toUpperCase(),W.url,!0),L.timeout=W.timeout;function w(){if(!L)return;let R=x.from("getAllResponseHeaders"in L&&L.getAllResponseHeaders()),f={data:!K||K==="text"||K==="json"?L.responseText:L.response,status:L.status,statusText:L.statusText,headers:R,config:$,request:L};z0(function(J0){Q(J0),U()},function(J0){G(J0),U()},f),L=null}if("onloadend"in L)L.onloadend=w;else L.onreadystatechange=function(){if(!L||L.readyState!==4)return;if(L.status===0&&!(L.responseURL&&L.responseURL.startsWith("file:")))return;setTimeout(w)};if(L.onabort=function(){if(!L)return;G(new V("Request aborted",V.ECONNABORTED,$,L)),U(),L=null},L.onerror=function(O){let f=O&&O.message?O.message:"Network Error",g=new V(f,V.ERR_NETWORK,$,L);g.event=O||null,G(g),U(),L=null},L.ontimeout=function(){let O=W.timeout?"timeout of "+W.timeout+"ms exceeded":"timeout exceeded",f=W.transitional||F0;if(W.timeoutErrorMessage)O=W.timeoutErrorMessage;G(new V(O,f.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,$,L)),U(),L=null},Z===void 0&&X.setContentType(null),"setRequestHeader"in L)J.forEach(A0(X),function(O,f){L.setRequestHeader(f,O)});if(!J.isUndefined(W.withCredentials))L.withCredentials=!!W.withCredentials;if(K&&K!=="json")L.responseType=W.responseType;if(z)[B,D]=V0(z,!0),L.addEventListener("progress",B);if(M&&L.upload)[I,F]=V0(M),L.upload.addEventListener("progress",I),L.upload.addEventListener("loadend",F);if(W.cancelToken||W.signal){if(N=(R)=>{if(!L)return;G(!R||R.type?new o(null,$,L):R),L.abort(),U(),L=null},W.cancelToken&&W.cancelToken.subscribe(N),W.signal)W.signal.aborted?N():W.signal.addEventListener("abort",N)}let _=Y4(W.url);if(_&&!H.protocols.includes(_)){G(new V("Unsupported protocol "+_+":",V.ERR_BAD_REQUEST,$));return}L.send(Z||null)})}});var J7=($,Y)=>{if($=$?$.filter(Boolean):[],!Y&&!$.length)return;let Q=new AbortController,G=!1,W=function(M){if(!G){G=!0,X();let z=M instanceof Error?M:this.reason;Q.abort(z instanceof V?z:new o(z instanceof Error?z.message:z))}},Z=Y&&setTimeout(()=>{Z=null,W(new V(`timeout of ${Y}ms exceeded`,V.ETIMEDOUT))},Y),X=()=>{if(!$)return;Z&&clearTimeout(Z),Z=null,$.forEach((M)=>{M.unsubscribe?M.unsubscribe(W):M.removeEventListener("abort",W)}),$=null};$.forEach((M)=>M.addEventListener("abort",W));let{signal:K}=Q;return K.unsubscribe=()=>J.asap(X),K},K6;var M6=C(()=>{D0();r();j();K6=J7});var K7=function*($,Y){let Q=$.byteLength;if(!Y||Q<Y){yield $;return}let G=0,W;while(G<Q)W=G+Y,yield $.slice(G,W),G=W},M7=async function*($,Y){for await(let Q of N7($))yield*K7(Q,Y)},N7=async function*($){if($[Symbol.asyncIterator]){yield*$;return}let Y=$.getReader();try{for(;;){let{done:Q,value:G}=await Y.read();if(Q)break;yield G}}finally{await Y.cancel()}},B1=($,Y,Q,G)=>{let W=M7($,Y),Z=0,X,K=(M)=>{if(!X)X=!0,G&&G(M)};return new ReadableStream({async pull(M){try{let{done:z,value:N}=await W.next();if(z){K(),M.close();return}let I=N.byteLength;if(Q){let B=Z+=I;Q(B)}M.enqueue(new Uint8Array(N))}catch(z){throw K(z),z}},cancel(M){return K(M),W.return()}},{highWaterMark:2})};var N6=()=>{};var z6=65536,O4,z7=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Y,Q)=>String.fromCharCode(parseInt(Q,16))),B6=($)=>{if(!J.isString($))return $;try{return decodeURIComponent($)}catch(Y){return $}},V6=($,...Y)=>{try{return!!$(...Y)}catch(Q){return!1}},B7=($)=>{let Y=$.indexOf("://"),Q=$;if(Y!==-1)Q=Q.slice(Y+3);return Q.includes("@")||Q.includes(":")},V7=($)=>{let Y=J.global!==void 0&&J.global!==null?J.global:globalThis,{ReadableStream:Q,TextEncoder:G}=Y;$=J.merge.call({skipUndefined:!0},{Request:Y.Request,Response:Y.Response},$);let{fetch:W,Request:Z,Response:X}=$,K=W?O4(W):typeof fetch==="function",M=O4(Z),z=O4(X);if(!K)return!1;let N=K&&O4(Q),I=K&&(typeof G==="function"?((w)=>(_)=>w.encode(_))(new G):async(w)=>new Uint8Array(await new Z(w).arrayBuffer())),B=M&&N&&V6(()=>{let w=!1,_=new Z(H.origin,{body:new Q,method:"POST",get duplex(){return w=!0,"half"}}),R=_.headers.has("Content-Type");if(_.body!=null)_.body.cancel();return w&&!R}),F=z&&N&&V6(()=>J.isReadableStream(new X("").body)),D={stream:F&&((w)=>w.body)};K&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((w)=>{!D[w]&&(D[w]=(_,R)=>{let O=_&&_[w];if(O)return O.call(_);throw new V(`Response type '${w}' is not supported`,V.ERR_NOT_SUPPORT,R)})})})();let U=async(w)=>{if(w==null)return 0;if(J.isBlob(w))return w.size;if(J.isSpecCompliantForm(w))return(await new Z(H.origin,{method:"POST",body:w}).arrayBuffer()).byteLength;if(J.isArrayBufferView(w)||J.isArrayBuffer(w))return w.byteLength;if(J.isURLSearchParams(w))w=w+"";if(J.isString(w))return(await I(w)).byteLength},L=async(w,_)=>{let R=J.toFiniteNumber(w.getContentLength());return R==null?U(_):R};return async(w)=>{let{url:_,method:R,data:O,signal:f,cancelToken:g,timeout:J0,onDownloadProgress:y0,onUploadProgress:C0,responseType:Y0,headers:k,withCredentials:K0="same-origin",fetchOptions:d,maxContentLength:n,maxBodyLength:L0}=T4(w),M0=J.isNumber(n)&&n>-1,R0=J.isNumber(L0)&&L0>-1,T0=(E)=>J.hasOwnProp(w,E)?w[E]:void 0,J4=W||fetch;Y0=Y0?(Y0+"").toLowerCase():"text";let c=K6([f,g&&g.toAbortSignal()],J0),p=null,N0=c&&c.unsubscribe&&(()=>{c.unsubscribe()}),m;try{let E=void 0,l=T0("auth");if(l){let P=l.username||"",A=l.password||"";E={username:P,password:A}}if(B7(_)){let P=new URL(_,H.origin);if(!E&&(P.username||P.password)){let A=B6(P.username),T=B6(P.password);E={username:A,password:T}}if(P.username||P.password)P.username="",P.password="",_=P.href}if(E)k.delete("authorization"),k.set("Authorization","Basic "+btoa(z7((E.username||"")+":"+(E.password||""))));if(M0&&typeof _==="string"&&_.startsWith("data:")){if(G4(_)>n)throw new V("maxContentLength size of "+n+" exceeded",V.ERR_BAD_RESPONSE,w,p)}if(R0&&R!=="get"&&R!=="head"){let P=await L(k,O);if(typeof P==="number"&&isFinite(P)&&P>L0)throw new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,w,p)}if(C0&&B&&R!=="get"&&R!=="head"&&(m=await L(k,O))!==0){let P=new Z(_,{method:"POST",body:O,duplex:"half"}),A;if(J.isFormData(O)&&(A=P.headers.get("content-type")))k.setContentType(A);if(P.body){let[T,b]=b0(m,V0(v0(C0)));O=B1(P.body,z6,T,b)}}if(!J.isString(K0))K0=K0?"include":"omit";let K4=M&&"credentials"in Z.prototype;if(J.isFormData(O)){let P=k.getContentType();if(P&&/^multipart\/form-data/i.test(P)&&!/boundary=/i.test(P))k.delete("content-type")}k.set("User-Agent","axios/"+B0,!1);let O0={...d,signal:c,method:R.toUpperCase(),headers:A0(k.normalize()),body:O,duplex:"half",credentials:K4?K0:void 0};p=M&&new Z(_,O0);let a=await(M?J4(p,d):J4(_,O0));if(M0){let P=J.toFiniteNumber(a.headers.get("content-length"));if(P!=null&&P>n)throw new V("maxContentLength size of "+n+" exceeded",V.ERR_BAD_RESPONSE,w,p)}let q=F&&(Y0==="stream"||Y0==="response");if(F&&a.body&&(y0||M0||q&&N0)){let P={};["status","statusText","headers"].forEach((e)=>{P[e]=a[e]});let A=J.toFiniteNumber(a.headers.get("content-length")),[T,b]=y0&&b0(A,V0(v0(y0),!0))||[],i=0,v=(e)=>{if(M0){if(i=e,i>n)throw new V("maxContentLength size of "+n+" exceeded",V.ERR_BAD_RESPONSE,w,p)}T&&T(e)};a=new X(B1(a.body,z6,v,()=>{b&&b(),N0&&N0()}),P)}Y0=Y0||"text";let S=await D[J.findKey(D,Y0)||"text"](a,w);if(M0&&!F&&!q){let P;if(S!=null){if(typeof S.byteLength==="number")P=S.byteLength;else if(typeof S.size==="number")P=S.size;else if(typeof S==="string")P=typeof G==="function"?new G().encode(S).byteLength:S.length}if(typeof P==="number"&&P>n)throw new V("maxContentLength size of "+n+" exceeded",V.ERR_BAD_RESPONSE,w,p)}return!q&&N0&&N0(),await new Promise((P,A)=>{z0(P,A,{data:S,headers:x.from(a.headers),status:a.status,statusText:a.statusText,config:w,request:p})})}catch(E){if(N0&&N0(),c&&c.aborted&&c.reason instanceof V){let l=c.reason;throw l.config=w,p&&(l.request=p),E!==l&&(l.cause=E),l}if(E&&E.name==="TypeError"&&/Load failed|fetch/i.test(E.message))throw Object.assign(new V("Network Error",V.ERR_NETWORK,w,p,E&&E.response),{cause:E.cause||E});throw V.from(E,E&&E.code,w,p,E&&E.response)}}},I7,V1=($)=>{let Y=$&&$.env||{},{fetch:Q,Request:G,Response:W}=Y,Z=[G,W,Q],X=Z.length,K=X,M,z,N=I7;while(K--)M=Z[K],z=N.get(M),z===void 0&&N.set(M,z=K?new Map:V7(Y)),N=z;return z},kQ;var I6=C(()=>{W0();j();r();M6();N6();G0();q4();z1();S4();M1();$4();u0();({isFunction:O4}=J),I7=new Map,kQ=V1()});function U7($,Y){$=J.isArray($)?$:[$];let{length:Q}=$,G,W,Z={};for(let X=0;X<Q;X++){G=$[X];let K;if(W=G,!L7(G)){if(W=I1[(K=String(G)).toLowerCase()],W===void 0)throw new V(`Unknown adapter '${K}'`)}if(W&&(J.isFunction(W)||(W=W.get(Y))))break;Z[K||"#"+X]=W}if(!W){let X=Object.entries(Z).map(([M,z])=>`adapter ${M} `+(z===!1?"is not supported by the environment":"is not available in the build")),K=Q?X.length>1?`since :
12
+ `+X.map(F6).join(`
13
+ `):" "+F6(X[0]):"as no adapter specified";throw new V("There is no suitable adapter to dispatch the request "+K,"ERR_NOT_SUPPORT")}return W}var I1,F6=($)=>`- ${$}`,L7=($)=>J.isFunction($)||$===null||$===!1,H4;var F1=C(()=>{j();$6();J6();I6();r();I1={http:e5,xhr:X6,fetch:{get:V1}};J.forEach(I1,($,Y)=>{if($){try{Object.defineProperty($,"name",{__proto__:null,value:Y})}catch(Q){}Object.defineProperty($,"adapterName",{__proto__:null,value:Y})}});H4={getAdapter:U7,adapters:I1}});function L1($){if($.cancelToken)$.cancelToken.throwIfRequested();if($.signal&&$.signal.aborted)throw new o(null,$)}function E4($){if(L1($),$.headers=x.from($.headers),$.data=i0.call($,$.transformRequest),["post","put","patch"].indexOf($.method)!==-1)$.headers.setContentType("application/x-www-form-urlencoded",!1);return H4.getAdapter($.adapter||k0.adapter,$)($).then(function(G){L1($),$.response=G;try{G.data=i0.call($,$.transformResponse,G)}finally{delete $.response}return G.headers=x.from(G.headers),G},function(G){if(!n0(G)){if(L1($),G&&G.response){$.response=G.response;try{G.response.data=i0.call($,$.transformResponse,G.response)}finally{delete $.response}G.response.headers=x.from(G.response.headers)}}return Promise.reject(G)})}var L6=C(()=>{o1();a4();w4();D0();G0();F1()});function w7($,Y,Q){if(typeof $!=="object")throw new V("options must be an object",V.ERR_BAD_OPTION_VALUE);let G=Object.keys($),W=G.length;while(W-- >0){let Z=G[W],X=Object.prototype.hasOwnProperty.call(Y,Z)?Y[Z]:void 0;if(X){let K=$[Z],M=K===void 0||X(K,Z,$);if(M!==!0)throw new V("option "+Z+" must be "+M,V.ERR_BAD_OPTION_VALUE);continue}if(Q!==!0)throw new V("Unknown option "+Z,V.ERR_BAD_OPTION)}}var A4,U6,W4;var w6=C(()=>{$4();r();A4={};["object","boolean","number","function","string","symbol"].forEach(($,Y)=>{A4[$]=function(G){return typeof G===$||"a"+(Y<1?"n ":" ")+$}});U6={};A4.transitional=function(Y,Q,G){function W(Z,X){return"[Axios v"+B0+"] Transitional option '"+Z+"'"+X+(G?". "+G:"")}return(Z,X,K)=>{if(Y===!1)throw new V(W(X," has been removed"+(Q?" in "+Q:"")),V.ERR_DEPRECATED);if(Q&&!U6[X])U6[X]=!0,console.warn(W(X," has been deprecated since v"+Q+" and will be removed in the near future"));return Y?Y(Z,X,K):!0}};A4.spelling=function(Y){return(Q,G)=>{return console.warn(`${G} is likely a misspelling of ${Y}`),!0}};W4={assertOptions:w7,validators:A4}});class Z4{constructor($){this.defaults=$||{},this.interceptors={request:new g4,response:new g4}}async request($,Y){try{return await this._request($,Y)}catch(Q){if(Q instanceof Error){let G={};Error.captureStackTrace?Error.captureStackTrace(G):G=Error();let W=(()=>{if(!G.stack)return"";let Z=G.stack.indexOf(`
14
+ `);return Z===-1?"":G.stack.slice(Z+1)})();try{if(!Q.stack)Q.stack=W;else if(W){let Z=W.indexOf(`
15
+ `),X=Z===-1?-1:W.indexOf(`
16
+ `,Z+1),K=X===-1?"":W.slice(X+1);if(!String(Q.stack).endsWith(K))Q.stack+=`
17
+ `+W}}catch(Z){}}throw Q}}_request($,Y){if(typeof $==="string")Y=Y||{},Y.url=$;else Y=$||{};Y=X0(this.defaults,Y);let{transitional:Q,paramsSerializer:G,headers:W}=Y;if(Q!==void 0)W4.assertOptions(Q,{silentJSONParsing:s.transitional(s.boolean),forcedJSONParsing:s.transitional(s.boolean),clarifyTimeoutError:s.transitional(s.boolean),legacyInterceptorReqResOrdering:s.transitional(s.boolean),advertiseZstdAcceptEncoding:s.transitional(s.boolean)},!1);if(G!=null)if(J.isFunction(G))Y.paramsSerializer={serialize:G};else W4.assertOptions(G,{encode:s.function,serialize:s.function},!0);if(Y.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)Y.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else Y.allowAbsoluteUrls=!0;W4.assertOptions(Y,{baseUrl:s.spelling("baseURL"),withXsrfToken:s.spelling("withXSRFToken")},!0),Y.method=(Y.method||this.defaults.method||"get").toLowerCase();let Z=W&&J.merge(W.common,W[Y.method]);W&&J.forEach(["delete","get","head","post","put","patch","query","common"],(F)=>{delete W[F]}),Y.headers=x.concat(Z,W);let X=[],K=!0;this.interceptors.request.forEach(function(D){if(typeof D.runWhen==="function"&&D.runWhen(Y)===!1)return;K=K&&D.synchronous;let U=Y.transitional||F0;if(U&&U.legacyInterceptorReqResOrdering)X.unshift(D.fulfilled,D.rejected);else X.push(D.fulfilled,D.rejected)});let M=[];this.interceptors.response.forEach(function(D){M.push(D.fulfilled,D.rejected)});let z,N=0,I;if(!K){let F=[E4.bind(this),void 0];F.unshift(...X),F.push(...M),I=F.length,z=Promise.resolve(Y);while(N<I)z=z.then(F[N++],F[N++]);return z}I=X.length;let B=Y;while(N<I){let F=X[N++],D=X[N++];try{B=F(B)}catch(U){D.call(this,U);break}}try{z=E4.call(this,B)}catch(F){return Promise.reject(F)}N=0,I=M.length;while(N<I)z=z.then(M[N++],M[N++]);return z}getUri($){$=X0(this.defaults,$);let Y=P0($.baseURL,$.url,$.allowAbsoluteUrls);return S0(Y,$.params,$.paramsSerializer)}}var s,X4;var S6=C(()=>{j();L4();c1();L6();R4();D4();w6();G0();l0();s=W4.validators;J.forEach(["delete","get","head","options"],function(Y){Z4.prototype[Y]=function(Q,G){return this.request(X0(G||{},{method:Y,url:Q,data:(G||{}).data}))}});J.forEach(["post","put","patch","query"],function(Y){function Q(G){return function(Z,X,K){return this.request(X0(K||{},{method:Y,headers:G?{"Content-Type":"multipart/form-data"}:{},url:Z,data:X}))}}if(Z4.prototype[Y]=Q(),Y!=="query")Z4.prototype[Y+"Form"]=Q(!0)});X4=Z4});class U1{constructor($){if(typeof $!=="function")throw TypeError("executor must be a function.");let Y;this.promise=new Promise(function(W){Y=W});let Q=this;this.promise.then((G)=>{if(!Q._listeners)return;let W=Q._listeners.length;while(W-- >0)Q._listeners[W](G);Q._listeners=null}),this.promise.then=(G)=>{let W,Z=new Promise((X)=>{Q.subscribe(X),W=X}).then(G);return Z.cancel=function(){Q.unsubscribe(W)},Z},$(function(W,Z,X){if(Q.reason)return;Q.reason=new o(W,Z,X),Y(Q.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe($){if(this.reason){$(this.reason);return}if(this._listeners)this._listeners.push($);else this._listeners=[$]}unsubscribe($){if(!this._listeners)return;let Y=this._listeners.indexOf($);if(Y!==-1)this._listeners.splice(Y,1)}toAbortSignal(){let $=new AbortController,Y=(Q)=>{$.abort(Q)};return this.subscribe(Y),$.signal.unsubscribe=()=>this.unsubscribe(Y),$.signal}static source(){let $;return{token:new U1(function(G){$=G}),cancel:$}}}var D6;var P6=C(()=>{D0();D6=U1});function w1($){return function(Q){return $.apply(null,Q)}}var _6=()=>{};function S1($){return J.isObject($)&&$.isAxiosError===!0}var q6=C(()=>{j()});var D1,C6;var R6=C(()=>{D1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(D1).forEach(([$,Y])=>{D1[Y]=$});C6=D1});function T6($){let Y=new X4($),Q=f0(X4.prototype.request,Y);return J.extend(Q,X4.prototype,Y,{allOwnKeys:!0}),J.extend(Q,Y,null,{allOwnKeys:!0}),Q.create=function(W){return T6(X0($,W))},Q}var y,O6;var H6=C(()=>{j();j4();S6();R4();w4();i4();D0();P6();a4();$4();p0();r();_6();q6();G0();F1();R6();y=T6(k0);y.Axios=X4;y.CanceledError=o;y.CancelToken=D6;y.isCancel=n0;y.VERSION=B0;y.toFormData=I0;y.AxiosError=V;y.Cancel=y.CanceledError;y.all=function(Y){return Promise.all(Y)};y.spread=w1;y.isAxiosError=S1;y.mergeConfig=X0;y.AxiosHeaders=x;y.formToJSON=($)=>U4(J.isHTMLForm($)?new FormData($):$);y.getAdapter=H4.getAdapter;y.HttpStatusCode=C6;y.default=y;O6=y});var EG,AG,jG,kG,xG,bG,vG,yG,mG,fG,hG,gG,uG,dG,cG,pG,lG;var S7=C(()=>{H6();({Axios:EG,AxiosError:AG,CanceledError:jG,isCancel:kG,CancelToken:xG,VERSION:bG,all:vG,Cancel:yG,isAxiosError:mG,spread:fG,toFormData:hG,AxiosHeaders:gG,HttpStatusCode:uG,formToJSON:dG,getAdapter:cG,mergeConfig:pG,create:lG}=O6)});
18
+ export{O6 as Hoa,EG as Ioa,AG as Joa,jG as Koa,kG as Loa,xG as Moa,bG as Noa,vG as Ooa,yG as Poa,mG as Qoa,fG as Roa,hG as Soa,gG as Toa,uG as Uoa,dG as Voa,cG as Woa,pG as Xoa,lG as Yoa,S7 as Zoa};
@@ -0,0 +1,3 @@
1
+ import{L as A}from"./cli-0.6.3-94pqfzn3.mjs";import{Gda as $,Hda as F,Nda as z,Oda as H,Xda as P}from"./cli-0.6.3-cz70v0dc.mjs";import{Yga as O,bha as w,fha as V,jha as C,tha as X,uga as _,vga as N,wga as B,wha as E,yga as W}from"./cli-0.6.3-tjykjtxh.mjs";import{Nna as L,Oja as Z}from"./cli-0.6.3-g7nc10fr.mjs";import{Hoa as q,Zoa as y}from"./cli-0.6.3-4zj0d42m.mjs";y();L();N();F();W();E();C();P();w();import{dirname as I,join as x}from"path";var T=z(new Date);function D(){return x($.errors(),T+".jsonl")}function J(G){return x($.mcpLogs(G),T+".jsonl")}function S(G){let K=_(G);return{write(Q){K.write(O(Q)+`
2
+ `)},flush:K.flush,dispose:K.dispose}}var R=new Map;function M(G){let K=R.get(G);if(!K){let Q=I(G);K=S({writeFn:(U)=>{try{V().appendFileSync(G,U)}catch{V().mkdirSync(Q),V().appendFileSync(G,U)}},flushIntervalMs:1000,maxBufferSize:50}),R.set(G,K),B(async()=>K?.dispose())}return K}function f(G,K){}function v(G){if(typeof G==="string")return G;if(G&&typeof G==="object"){let K=G;if(typeof K.message==="string")return K.message;if(typeof K.error==="object"&&K.error&&"message"in K.error&&typeof K.error.message==="string")return K.error.message}return}function j(G){let K=G.stack||G.message,Q="";if(q.isAxiosError(G)&&G.config?.url){let U=[`url=${G.config.url}`];if(G.response?.status!==void 0)U.push(`status=${G.response.status}`);let Y=v(G.response?.data);if(Y)U.push(`body=${Y}`);Q=`[${U.join(",")}] `}X(`${G.name}: ${Q}${K}`,{level:"error"}),f(D(),{error:`${Q}${K}`})}function b(G,K){X(`MCP server "${G}" ${K}`,{level:"error"});let Q=J(G),Y={error:K instanceof Error?K.stack||K.message:String(K),timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};M(Q).write(Y)}function u(G,K){X(`MCP server "${G}": ${K}`);let Q=J(G),U={debug:K,timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};M(Q).write(U)}function k(){H({logError:j,logMCPError:b,logMCPDebug:u,getErrorsPath:D,getMCPLogsPath:J}),X("Error log sink initialized")}function e(){k(),A()}
3
+ export{e as J};