@claudiolabs/claudin 1.1.18 → 1.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (903) hide show
  1. package/dist/chunks/AgentTool-1.1.19-ap09svyk.mjs +1 -0
  2. package/dist/chunks/App-1.1.19-k77n3357.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.19-tcembk4t.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.19-m4nrahdt.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.19-taks8xn7.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.19-yme7vhwa.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.19-tfvmz7pe.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.19-zkq642rw.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.19-2d75g9t9.mjs +6 -0
  10. package/dist/chunks/Doctor-1.1.19-0h26y250.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.19-664kb4w5.mjs +6 -0
  12. package/dist/chunks/ITermBackend-1.1.19-yebbvfbc.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-1.1.19-69vb23j7.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-1.1.19-xd8y62c2.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-1.1.19-1629rwte.mjs +1 -0
  16. package/dist/chunks/Onboarding-1.1.19-jpbdr4ek.mjs +1 -0
  17. package/dist/chunks/ProviderManager-1.1.19-gsjnpy2f.mjs +1 -0
  18. package/dist/chunks/REPL-1.1.19-pqppw8hp.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-1.1.19-gvqa5kzm.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-1.1.19-jqd47gb8.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-1.1.19-m9xykegt.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-1.1.19-4x4m771g.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-1.1.19-4ywpbgq0.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-1.1.19-znn3cy0j.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-1.1.19-z4htsqk6.mjs +1 -0
  26. package/dist/chunks/TrustDialog-1.1.19-fqjjhqxh.mjs +1 -0
  27. package/dist/chunks/activeProvider-1.1.19-sgb7b5wy.mjs +1 -0
  28. package/dist/chunks/add-dir-1.1.19-y55kbgfe.mjs +1 -0
  29. package/dist/chunks/agentTypes-1.1.19-cfvc6wt9.mjs +1 -0
  30. package/dist/chunks/agents-1.1.19-hc4xvq4r.mjs +110 -0
  31. package/dist/chunks/agents-1.1.19-k8kx3pej.mjs +3 -0
  32. package/dist/chunks/api-1.1.19-gbh2sz3k.mjs +1 -0
  33. package/dist/chunks/asciicast-1.1.19-6mnps2vx.mjs +1 -0
  34. package/dist/chunks/assistant-1.1.19-vmkknmbc.mjs +1 -0
  35. package/dist/chunks/auth-1.1.19-h46w2e1a.mjs +1 -0
  36. package/dist/chunks/auth-1.1.19-s68ybx6f.mjs +1 -0
  37. package/dist/chunks/autoMode-1.1.19-qpevvt9x.mjs +52 -0
  38. package/dist/chunks/autoModeSetup-1.1.19-63yyncht.mjs +44 -0
  39. package/dist/chunks/autoUpdater-1.1.19-vxn3t7f7.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.19-tg6rqb4x.mjs +1 -0
  41. package/dist/chunks/branch-1.1.19-e4gkb2sb.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.19-zwf5vbc6.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.19-wc27ha2s.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.19-6gq8j1d7.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.19-yzzr33jg.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.19-xdqatsm3.mjs +1 -0
  47. package/dist/chunks/btw-1.1.19-qkfvd0ms.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.19-08xe7ppf.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.19-w4a9xacm.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.19-exn70h4b.mjs +4 -0
  51. package/dist/chunks/caches-1.1.19-d4jfvwhp.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-1.1.19-kxx2an1b.mjs +1 -0
  53. package/dist/chunks/claudemd-1.1.19-xsbhz7tg.mjs +1 -0
  54. package/dist/chunks/clear-1.1.19-a1znba6q.mjs +1 -0
  55. package/dist/chunks/clearTerminal-1.1.19-ahv4wsvx.mjs +1 -0
  56. package/dist/chunks/cli-1.1.19-00q9c51a.mjs +2 -0
  57. package/dist/chunks/cli-1.1.19-00zv4s06.mjs +2 -0
  58. package/dist/chunks/cli-1.1.19-0cyysv3s.mjs +2 -0
  59. package/dist/chunks/cli-1.1.19-0m8cwm30.mjs +2 -0
  60. package/dist/chunks/cli-1.1.19-0n5vcvqz.mjs +2 -0
  61. package/dist/chunks/cli-1.1.19-0s56yqjm.mjs +2 -0
  62. package/dist/chunks/cli-1.1.19-0zq6911y.mjs +2 -0
  63. package/dist/chunks/cli-1.1.19-10jx9qt3.mjs +2 -0
  64. package/dist/chunks/cli-1.1.19-126eyddd.mjs +2 -0
  65. package/dist/chunks/cli-1.1.19-1mqhgz4n.mjs +2 -0
  66. package/dist/chunks/cli-1.1.19-25szxvwt.mjs +2 -0
  67. package/dist/chunks/cli-1.1.19-29wgse8t.mjs +2 -0
  68. package/dist/chunks/cli-1.1.19-2cb4p1hk.mjs +2 -0
  69. package/dist/chunks/cli-1.1.19-2jkn8w89.mjs +2 -0
  70. package/dist/chunks/cli-1.1.19-2rbw0277.mjs +2 -0
  71. package/dist/chunks/cli-1.1.19-2rnpr99c.mjs +1 -0
  72. package/dist/chunks/cli-1.1.19-2xxxjdpp.mjs +2 -0
  73. package/dist/chunks/cli-1.1.19-35evt5gy.mjs +2 -0
  74. package/dist/chunks/cli-1.1.19-38ya9kd8.mjs +2 -0
  75. package/dist/chunks/cli-1.1.19-3e9krkhy.mjs +2 -0
  76. package/dist/chunks/cli-1.1.19-3ep6p0sf.mjs +2 -0
  77. package/dist/chunks/cli-1.1.19-3jjgtf8t.mjs +2 -0
  78. package/dist/chunks/cli-1.1.19-3q0sj4zp.mjs +3 -0
  79. package/dist/chunks/cli-1.1.19-3tzh16np.mjs +4 -0
  80. package/dist/chunks/cli-1.1.19-3wwc3q32.mjs +2 -0
  81. package/dist/chunks/cli-1.1.19-3xpqyp64.mjs +7 -0
  82. package/dist/chunks/cli-1.1.19-48a6gxnh.mjs +2 -0
  83. package/dist/chunks/cli-1.1.19-4ba4a8jg.mjs +9 -0
  84. package/dist/chunks/cli-1.1.19-4dp1vkze.mjs +2 -0
  85. package/dist/chunks/cli-1.1.19-4hek4kyb.mjs +2 -0
  86. package/dist/chunks/cli-1.1.19-4n6cth1a.mjs +2 -0
  87. package/dist/chunks/cli-1.1.19-53hanqff.mjs +2 -0
  88. package/dist/chunks/cli-1.1.19-5a8wm97m.mjs +2 -0
  89. package/dist/chunks/cli-1.1.19-5eb8a4wn.mjs +2 -0
  90. package/dist/chunks/cli-1.1.19-5kaw3aa5.mjs +2 -0
  91. package/dist/chunks/cli-1.1.19-5xy2q2yt.mjs +2 -0
  92. package/dist/chunks/cli-1.1.19-5z5xyy4e.mjs +34 -0
  93. package/dist/chunks/cli-1.1.19-61nar796.mjs +4 -0
  94. package/dist/chunks/cli-1.1.19-61tem8qm.mjs +2 -0
  95. package/dist/chunks/cli-1.1.19-6jvzyjts.mjs +3 -0
  96. package/dist/chunks/cli-1.1.19-6mq64vhw.mjs +3 -0
  97. package/dist/chunks/cli-1.1.19-6pp1614z.mjs +4 -0
  98. package/dist/chunks/cli-1.1.19-6smqyzzn.mjs +50 -0
  99. package/dist/chunks/cli-1.1.19-779zeaga.mjs +2 -0
  100. package/dist/chunks/cli-1.1.19-7djbq218.mjs +3 -0
  101. package/dist/chunks/cli-1.1.19-7rmk4fz4.mjs +2 -0
  102. package/dist/chunks/cli-1.1.19-7s1yy832.mjs +2 -0
  103. package/dist/chunks/cli-1.1.19-7sfdatrg.mjs +12 -0
  104. package/dist/chunks/cli-1.1.19-7v3pjgvw.mjs +5 -0
  105. package/dist/chunks/cli-1.1.19-7zdwszrb.mjs +2 -0
  106. package/dist/chunks/cli-1.1.19-82vfm05a.mjs +2 -0
  107. package/dist/chunks/cli-1.1.19-89n0ppp5.mjs +2 -0
  108. package/dist/chunks/cli-1.1.19-8dpft679.mjs +2 -0
  109. package/dist/chunks/cli-1.1.19-8zwh2ky5.mjs +2 -0
  110. package/dist/chunks/cli-1.1.19-93bb0mpz.mjs +2 -0
  111. package/dist/chunks/cli-1.1.19-946kz0h0.mjs +2 -0
  112. package/dist/chunks/cli-1.1.19-96rdwb5m.mjs +2 -0
  113. package/dist/chunks/cli-1.1.19-99dfxebe.mjs +2 -0
  114. package/dist/chunks/cli-1.1.19-9a8d2pxp.mjs +2 -0
  115. package/dist/chunks/cli-1.1.19-9dkavmxz.mjs +2 -0
  116. package/dist/chunks/cli-1.1.19-9kbnb3tc.mjs +2 -0
  117. package/dist/chunks/cli-1.1.19-9nfxc159.mjs +3 -0
  118. package/dist/chunks/cli-1.1.19-9vf7tt9g.mjs +2 -0
  119. package/dist/chunks/cli-1.1.19-a26wdy1v.mjs +24 -0
  120. package/dist/chunks/cli-1.1.19-a32dnq28.mjs +2 -0
  121. package/dist/chunks/cli-1.1.19-a5hfs685.mjs +45 -0
  122. package/dist/chunks/cli-1.1.19-a6e1antc.mjs +15 -0
  123. package/dist/chunks/cli-1.1.19-a75p9zey.mjs +2 -0
  124. package/dist/chunks/cli-1.1.19-ac73knxp.mjs +2 -0
  125. package/dist/chunks/cli-1.1.19-acez5n0m.mjs +24 -0
  126. package/dist/chunks/cli-1.1.19-aj7yfbb6.mjs +2 -0
  127. package/dist/chunks/cli-1.1.19-awkva6qc.mjs +24 -0
  128. package/dist/chunks/cli-1.1.19-b7fbqawk.mjs +2 -0
  129. package/dist/chunks/cli-1.1.19-bg1d8zv9.mjs +2 -0
  130. package/dist/chunks/cli-1.1.19-bmy2183w.mjs +2 -0
  131. package/dist/chunks/cli-1.1.19-bxvvef3z.mjs +2 -0
  132. package/dist/chunks/cli-1.1.19-c8xs9vjb.mjs +2 -0
  133. package/dist/chunks/cli-1.1.19-cb7496nq.mjs +5 -0
  134. package/dist/chunks/cli-1.1.19-cfgdvk8n.mjs +12 -0
  135. package/dist/chunks/cli-1.1.19-cjq368e9.mjs +24 -0
  136. package/dist/chunks/cli-1.1.19-cma77m08.mjs +2 -0
  137. package/dist/chunks/cli-1.1.19-cq5hegwz.mjs +6 -0
  138. package/dist/chunks/cli-1.1.19-csfx7v0e.mjs +2 -0
  139. package/dist/chunks/cli-1.1.19-d00hzr89.mjs +2 -0
  140. package/dist/chunks/cli-1.1.19-d1qdwt16.mjs +2 -0
  141. package/dist/chunks/cli-1.1.19-d2x1fpvn.mjs +3 -0
  142. package/dist/chunks/cli-1.1.19-d7wb13f8.mjs +2 -0
  143. package/dist/chunks/cli-1.1.19-dq0a7g9x.mjs +2 -0
  144. package/dist/chunks/cli-1.1.19-dt84yfk2.mjs +206 -0
  145. package/dist/chunks/cli-1.1.19-dw8jwdzq.mjs +3 -0
  146. package/dist/chunks/cli-1.1.19-dzbss10b.mjs +3 -0
  147. package/dist/chunks/cli-1.1.19-e4krk6kp.mjs +2 -0
  148. package/dist/chunks/cli-1.1.19-e5k83shq.mjs +17 -0
  149. package/dist/chunks/cli-1.1.19-ec5kkxdm.mjs +2 -0
  150. package/dist/chunks/cli-1.1.19-edv500a7.mjs +25 -0
  151. package/dist/chunks/cli-1.1.19-esk8qemt.mjs +3 -0
  152. package/dist/chunks/cli-1.1.19-eyhpgp73.mjs +4 -0
  153. package/dist/chunks/cli-1.1.19-f1g12hnb.mjs +2 -0
  154. package/dist/chunks/cli-1.1.19-f1vb0eyp.mjs +2 -0
  155. package/dist/chunks/cli-1.1.19-f6m8mqsf.mjs +2 -0
  156. package/dist/chunks/cli-1.1.19-fgfwa8xc.mjs +2 -0
  157. package/dist/chunks/cli-1.1.19-fqwvhznj.mjs +2 -0
  158. package/dist/chunks/cli-1.1.19-ftnf2s7k.mjs +6 -0
  159. package/dist/chunks/cli-1.1.19-g1bp4mfb.mjs +2 -0
  160. package/dist/chunks/cli-1.1.19-g70qb326.mjs +2 -0
  161. package/dist/chunks/cli-1.1.19-grvgykf5.mjs +58 -0
  162. package/dist/chunks/cli-1.1.19-gvdrxej7.mjs +6 -0
  163. package/dist/chunks/cli-1.1.19-gw9jb8fv.mjs +2 -0
  164. package/dist/chunks/cli-1.1.19-h5psdt4j.mjs +2 -0
  165. package/dist/chunks/cli-1.1.19-h6a1zywh.mjs +2 -0
  166. package/dist/chunks/cli-1.1.19-h6nqzwdx.mjs +8 -0
  167. package/dist/chunks/cli-1.1.19-hdmxb06r.mjs +2 -0
  168. package/dist/chunks/cli-1.1.19-hph7gbkv.mjs +42 -0
  169. package/dist/chunks/cli-1.1.19-hqbspnvc.mjs +5419 -0
  170. package/dist/chunks/cli-1.1.19-hr45csak.mjs +3 -0
  171. package/dist/chunks/cli-1.1.19-j9kyrhvv.mjs +3 -0
  172. package/dist/chunks/cli-1.1.19-jn7xm69z.mjs +2 -0
  173. package/dist/chunks/cli-1.1.19-k4gwmyp2.mjs +17 -0
  174. package/dist/chunks/cli-1.1.19-k5svbvzd.mjs +2 -0
  175. package/dist/chunks/cli-1.1.19-kc4rvbe3.mjs +18 -0
  176. package/dist/chunks/cli-1.1.19-kjbxevhz.mjs +2 -0
  177. package/dist/chunks/cli-1.1.19-kjhw0mpy.mjs +6 -0
  178. package/dist/chunks/cli-1.1.19-kxz28gf8.mjs +21 -0
  179. package/dist/chunks/cli-1.1.19-m8w4as34.mjs +16 -0
  180. package/dist/chunks/cli-1.1.19-m9vwd2bt.mjs +2 -0
  181. package/dist/chunks/cli-1.1.19-mam509fm.mjs +2 -0
  182. package/dist/chunks/cli-1.1.19-mn9sb0en.mjs +2 -0
  183. package/dist/chunks/cli-1.1.19-mqs96k5w.mjs +4 -0
  184. package/dist/chunks/cli-1.1.19-mrft54r6.mjs +2 -0
  185. package/dist/chunks/cli-1.1.19-n24w651m.mjs +3 -0
  186. package/dist/chunks/cli-1.1.19-n5xxe310.mjs +133 -0
  187. package/dist/chunks/cli-1.1.19-nb1256fg.mjs +4 -0
  188. package/dist/chunks/cli-1.1.19-nqznsj8y.mjs +2 -0
  189. package/dist/chunks/cli-1.1.19-nrpwj6d0.mjs +3 -0
  190. package/dist/chunks/cli-1.1.19-p1nzrjj5.mjs +25 -0
  191. package/dist/chunks/cli-1.1.19-p8pd4mmb.mjs +2 -0
  192. package/dist/chunks/cli-1.1.19-pdmgnq2h.mjs +39 -0
  193. package/dist/chunks/cli-1.1.19-pn1pyg9c.mjs +2 -0
  194. package/dist/chunks/cli-1.1.19-q2b2zy0e.mjs +2 -0
  195. package/dist/chunks/cli-1.1.19-q5kbe656.mjs +2 -0
  196. package/dist/chunks/cli-1.1.19-q7cjyz1z.mjs +2 -0
  197. package/dist/chunks/cli-1.1.19-qb3sg611.mjs +2 -0
  198. package/dist/chunks/cli-1.1.19-qvzf4mzn.mjs +2 -0
  199. package/dist/chunks/cli-1.1.19-qw2a73hz.mjs +2 -0
  200. package/dist/chunks/cli-1.1.19-r3km7nzk.mjs +2 -0
  201. package/dist/chunks/cli-1.1.19-r4qc48rf.mjs +2 -0
  202. package/dist/chunks/cli-1.1.19-rk4mqvc5.mjs +2 -0
  203. package/dist/chunks/cli-1.1.19-rkxy1dsw.mjs +2 -0
  204. package/dist/chunks/cli-1.1.19-ry92fd54.mjs +7 -0
  205. package/dist/chunks/cli-1.1.19-s3zhxkk4.mjs +2 -0
  206. package/dist/chunks/cli-1.1.19-sbrpsrtp.mjs +4 -0
  207. package/dist/chunks/cli-1.1.19-shgmqysk.mjs +2 -0
  208. package/dist/chunks/cli-1.1.19-shgqfcam.mjs +2 -0
  209. package/dist/chunks/cli-1.1.19-snq43w01.mjs +6 -0
  210. package/dist/chunks/cli-1.1.19-swfswrx1.mjs +2 -0
  211. package/dist/chunks/cli-1.1.19-t7yahhjv.mjs +4 -0
  212. package/dist/chunks/cli-1.1.19-t87ew64x.mjs +2 -0
  213. package/dist/chunks/cli-1.1.19-t9xz3682.mjs +20 -0
  214. package/dist/chunks/cli-1.1.19-tar53fbc.mjs +15 -0
  215. package/dist/chunks/cli-1.1.19-tefbgf43.mjs +2 -0
  216. package/dist/chunks/cli-1.1.19-tm3821yd.mjs +2 -0
  217. package/dist/chunks/cli-1.1.19-tqv8yds0.mjs +2 -0
  218. package/dist/chunks/cli-1.1.19-tw6zn01k.mjs +2 -0
  219. package/dist/chunks/cli-1.1.19-v35x8svk.mjs +15 -0
  220. package/dist/chunks/cli-1.1.19-v619rbr5.mjs +59 -0
  221. package/dist/chunks/cli-1.1.19-vbq3h0rr.mjs +2 -0
  222. package/dist/chunks/cli-1.1.19-vfed8ert.mjs +2 -0
  223. package/dist/chunks/cli-1.1.19-vgfqexte.mjs +4 -0
  224. package/dist/chunks/cli-1.1.19-vpabfve5.mjs +6 -0
  225. package/dist/chunks/cli-1.1.19-vr8jf7k6.mjs +2 -0
  226. package/dist/chunks/cli-1.1.19-vv09y4gs.mjs +2 -0
  227. package/dist/chunks/cli-1.1.19-vx87jjbs.mjs +18 -0
  228. package/dist/chunks/cli-1.1.19-vyqgdds6.mjs +2 -0
  229. package/dist/chunks/cli-1.1.19-w9tb5j4s.mjs +2 -0
  230. package/dist/chunks/cli-1.1.19-wrgbrnhw.mjs +9 -0
  231. package/dist/chunks/cli-1.1.19-wtkads83.mjs +2 -0
  232. package/dist/chunks/cli-1.1.19-wzm0j7nd.mjs +133 -0
  233. package/dist/chunks/cli-1.1.19-x1grwt9b.mjs +2 -0
  234. package/dist/chunks/cli-1.1.19-x522f12c.mjs +2 -0
  235. package/dist/chunks/cli-1.1.19-x6xnsxay.mjs +2 -0
  236. package/dist/chunks/cli-1.1.19-x86k1gy8.mjs +2 -0
  237. package/dist/chunks/cli-1.1.19-x8set46s.mjs +2 -0
  238. package/dist/chunks/cli-1.1.19-x9jccx03.mjs +4 -0
  239. package/dist/chunks/cli-1.1.19-xnas5w2g.mjs +2 -0
  240. package/dist/chunks/cli-1.1.19-xst2kbax.mjs +2 -0
  241. package/dist/chunks/cli-1.1.19-xvrj0zyj.mjs +2 -0
  242. package/dist/chunks/cli-1.1.19-y6p80wj3.mjs +3 -0
  243. package/dist/chunks/cli-1.1.19-ybe27dz9.mjs +66 -0
  244. package/dist/chunks/cli-1.1.19-ykspd2ax.mjs +2 -0
  245. package/dist/chunks/cli-1.1.19-ykvwaeht.mjs +2 -0
  246. package/dist/chunks/cli-1.1.19-yrjfmdg0.mjs +2 -0
  247. package/dist/chunks/cli-1.1.19-ys9280nx.mjs +2 -0
  248. package/dist/chunks/cli-1.1.19-yw33djbn.mjs +2 -0
  249. package/dist/chunks/cli-1.1.19-z9t89h8r.mjs +2 -0
  250. package/dist/chunks/cli-1.1.19-zcbfxmsm.mjs +2 -0
  251. package/dist/chunks/cli-1.1.19-zdb14mt2.mjs +2 -0
  252. package/dist/chunks/cli-1.1.19-zebz0x46.mjs +2 -0
  253. package/dist/chunks/cli-1.1.19-zg8m3n8n.mjs +2 -0
  254. package/dist/chunks/cli-1.1.19-zm9nhjfe.mjs +2 -0
  255. package/dist/chunks/cli-1.1.19-ztvzhgye.mjs +2 -0
  256. package/dist/chunks/cli-1.1.19-ztxdhvw3.mjs +2 -0
  257. package/dist/chunks/cli-1.1.19-zv4hb0hf.mjs +2 -0
  258. package/dist/chunks/client-1.1.19-rydegw5h.mjs +1 -0
  259. package/dist/chunks/color-1.1.19-p5265vaz.mjs +1 -0
  260. package/dist/chunks/compact-1.1.19-7c9mxrm8.mjs +3 -0
  261. package/dist/chunks/config-1.1.19-2wsgrxvp.mjs +1 -0
  262. package/dist/chunks/config-1.1.19-d62j9tgx.mjs +1 -0
  263. package/dist/chunks/constants-1.1.19-cyxrtszj.mjs +1 -0
  264. package/dist/chunks/context-1.1.19-mtt1t5p4.mjs +1 -0
  265. package/dist/chunks/context-noninteractive-1.1.19-xry25hh6.mjs +1 -0
  266. package/dist/chunks/conversation-1.1.19-y6cahyhg.mjs +1 -0
  267. package/dist/chunks/copilotHeaders-1.1.19-esh8mxyx.mjs +1 -0
  268. package/dist/chunks/copy-1.1.19-tyf8daxj.mjs +9 -0
  269. package/dist/chunks/cost-1.1.19-pvrac5v6.mjs +1 -0
  270. package/dist/chunks/createSSHSession-1.1.19-8jd28zhc.mjs +1 -0
  271. package/dist/chunks/createSession-1.1.19-88gw4fqs.mjs +1 -0
  272. package/dist/chunks/debug-1.1.19-xz3040cz.mjs +1 -0
  273. package/dist/chunks/defaultActionDeps-1.1.19-x39zq6wr.mjs +1534 -0
  274. package/dist/chunks/desktop-1.1.19-a40h3fh1.mjs +1 -0
  275. package/dist/chunks/detectRepository-1.1.19-g0rbffr6.mjs +1 -0
  276. package/dist/chunks/detection-1.1.19-kzpx83pk.mjs +1 -0
  277. package/dist/chunks/diff-1.1.19-g76zmzb1.mjs +1 -0
  278. package/dist/chunks/doctor-1.1.19-03zspk7d.mjs +1 -0
  279. package/dist/chunks/doctorDiagnostic-1.1.19-df18kr26.mjs +1 -0
  280. package/dist/chunks/earlyInput-1.1.19-n9y2y9sm.mjs +1 -0
  281. package/dist/chunks/effort-1.1.19-503r3dqe.mjs +13 -0
  282. package/dist/chunks/engine-1.1.19-0ad61bvx.mjs +1 -0
  283. package/dist/chunks/envLessBridgeConfig-1.1.19-qf1fj44h.mjs +1 -0
  284. package/dist/chunks/envUtils-1.1.19-8en4zy66.mjs +1 -0
  285. package/dist/chunks/environmentSelection-1.1.19-91hc6n75.mjs +1 -0
  286. package/dist/chunks/environments-1.1.19-tfjfkh09.mjs +1 -0
  287. package/dist/chunks/errors-1.1.19-fs48fz9y.mjs +1 -0
  288. package/dist/chunks/exampleCommands-1.1.19-pbb6kk50.mjs +1 -0
  289. package/dist/chunks/execFileNoThrow-1.1.19-m6am19yr.mjs +1 -0
  290. package/dist/chunks/exit-1.1.19-mqpwd363.mjs +1 -0
  291. package/dist/chunks/explorer-1.1.19-epqv5k1e.mjs +1 -0
  292. package/dist/chunks/export-1.1.19-t8tpvak9.mjs +2 -0
  293. package/dist/chunks/extra-usage-1.1.19-r9kte59s.mjs +1 -0
  294. package/dist/chunks/extra-usage-noninteractive-1.1.19-xnxm4sqt.mjs +1 -0
  295. package/dist/chunks/fast-1.1.19-c4n0rr8a.mjs +1 -0
  296. package/dist/chunks/feedback-1.1.19-7k5rya63.mjs +14 -0
  297. package/dist/chunks/firstPartyEventLogger-1.1.19-5bjmyd6a.mjs +1 -0
  298. package/dist/chunks/git-1.1.19-1njw7gwq.mjs +1 -0
  299. package/dist/chunks/githubModelsCredentials-1.1.19-k4csmysh.mjs +1 -0
  300. package/dist/chunks/goal-1.1.19-e08g4net.mjs +4 -0
  301. package/dist/chunks/growthbook-1.1.19-gw9m906y.mjs +1 -0
  302. package/dist/chunks/headless-1.1.19-gckc9qf1.mjs +2 -0
  303. package/dist/chunks/heapdump-1.1.19-cy0bczwr.mjs +6 -0
  304. package/dist/chunks/help-1.1.19-bbfsbt36.mjs +1 -0
  305. package/dist/chunks/hookChains-1.1.19-n01ssw8c.mjs +3 -0
  306. package/dist/chunks/hooks-1.1.19-488gkyjk.mjs +1 -0
  307. package/dist/chunks/hooks-1.1.19-b2x6yc66.mjs +79 -0
  308. package/dist/chunks/ide-1.1.19-zf9hpj81.mjs +3 -0
  309. package/dist/chunks/image-processor-napi-1.1.19-1m270wr0.mjs +1 -0
  310. package/dist/chunks/inboundAttachments-1.1.19-h4bsnn75.mjs +1 -0
  311. package/dist/chunks/index-1.1.19-06ccpd87.mjs +1 -0
  312. package/dist/chunks/index-1.1.19-263v6qeb.mjs +1 -0
  313. package/dist/chunks/index-1.1.19-2d944pv5.mjs +1 -0
  314. package/dist/chunks/index-1.1.19-7ngy3yfc.mjs +9 -0
  315. package/dist/chunks/index-1.1.19-apzfwtnm.mjs +1 -0
  316. package/dist/chunks/index-1.1.19-efdm8cp5.mjs +30 -0
  317. package/dist/chunks/index-1.1.19-exbss9tj.mjs +1 -0
  318. package/dist/chunks/index-1.1.19-f53qyqj8.mjs +2 -0
  319. package/dist/chunks/index-1.1.19-fae0sgd8.mjs +5 -0
  320. package/dist/chunks/index-1.1.19-g4rv8gvj.mjs +2 -0
  321. package/dist/chunks/index-1.1.19-ha3e4f70.mjs +1 -0
  322. package/dist/chunks/index-1.1.19-ht9s8yra.mjs +9 -0
  323. package/dist/chunks/index-1.1.19-j9awq55c.mjs +1 -0
  324. package/dist/chunks/index-1.1.19-jdvmsx9x.mjs +1 -0
  325. package/dist/chunks/index-1.1.19-ks262nbe.mjs +1 -0
  326. package/dist/chunks/index-1.1.19-mppepmze.mjs +23 -0
  327. package/dist/chunks/index-1.1.19-nthw1gda.mjs +1 -0
  328. package/dist/chunks/index-1.1.19-rs8fazy9.mjs +1 -0
  329. package/dist/chunks/index-1.1.19-sze2q9g5.mjs +1 -0
  330. package/dist/chunks/index-1.1.19-vkfm4msr.mjs +1 -0
  331. package/dist/chunks/index-1.1.19-vs2nyqte.mjs +1 -0
  332. package/dist/chunks/index-1.1.19-z8fcr2ec.mjs +1 -0
  333. package/dist/chunks/index-1.1.19-zy7mntdp.mjs +1 -0
  334. package/dist/chunks/init-1.1.19-8d53tmw6.mjs +1 -0
  335. package/dist/chunks/initReplBridge-1.1.19-p00njb6f.mjs +1 -0
  336. package/dist/chunks/ink-1.1.19-vr4g8jdg.mjs +1 -0
  337. package/dist/chunks/insights-1.1.19-6ag4d7qh.mjs +870 -0
  338. package/dist/chunks/install-1.1.19-74g8qyvc.mjs +1 -0
  339. package/dist/chunks/install-github-app-1.1.19-3nj645m2.mjs +149 -0
  340. package/dist/chunks/install-slack-app-1.1.19-sw02tcfh.mjs +1 -0
  341. package/dist/chunks/instrumentation-1.1.19-fshq5kr2.mjs +1 -0
  342. package/dist/chunks/interactiveHelpers-1.1.19-npmh2sbc.mjs +1 -0
  343. package/dist/chunks/keybindings-1.1.19-xy665r7j.mjs +2 -0
  344. package/dist/chunks/knowledge-1.1.19-e4pdfkhx.mjs +2 -0
  345. package/dist/chunks/latestVersionCache-1.1.19-fktnyx5h.mjs +1 -0
  346. package/dist/chunks/loadAgentsDir-1.1.19-j4732ykz.mjs +1 -0
  347. package/dist/chunks/loadPluginHooks-1.1.19-99a4nfjq.mjs +1 -0
  348. package/dist/chunks/log-1.1.19-y3spcye6.mjs +1 -0
  349. package/dist/chunks/main-1.1.19-06jy3aye.mjs +1 -0
  350. package/dist/chunks/managedEnv-1.1.19-19k3jdqh.mjs +1 -0
  351. package/dist/chunks/mcp-1.1.19-833sdc7d.mjs +17 -0
  352. package/dist/chunks/mcp-1.1.19-x0sfjzjt.mjs +1 -0
  353. package/dist/chunks/mcp-1.1.19-z5x59bca.mjs +4 -0
  354. package/dist/chunks/mcpb-1.1.19-bbswp853.mjs +1 -0
  355. package/dist/chunks/memory-1.1.19-d1ke4kha.mjs +72 -0
  356. package/dist/chunks/model-1.1.19-sm0ftpna.mjs +1 -0
  357. package/dist/chunks/model-1.1.19-v68fjcdh.mjs +2 -0
  358. package/dist/chunks/node-1.1.19-nj9qe6mk.mjs +12 -0
  359. package/dist/chunks/oauth-1.1.19-y016e4dk.mjs +1 -0
  360. package/dist/chunks/openaiShim-1.1.19-njr80kze.mjs +14 -0
  361. package/dist/chunks/output-style-1.1.19-rj9tfcg1.mjs +1 -0
  362. package/dist/chunks/package-KQCMZM5L-1.1.19-4f1z2hmg.mjs +1 -0
  363. package/dist/chunks/parseConnectUrl-1.1.19-qtk1xf04.mjs +1 -0
  364. package/dist/chunks/parser-1.1.19-sfrfy1dm.mjs +1 -0
  365. package/dist/chunks/passes-1.1.19-nhfrcsrb.mjs +1 -0
  366. package/dist/chunks/permissions-1.1.19-bfjnq5mz.mjs +1 -0
  367. package/dist/chunks/permissions-1.1.19-vzcjg874.mjs +3 -0
  368. package/dist/chunks/plan-1.1.19-qzr3m454.mjs +1 -0
  369. package/dist/chunks/plist-1.1.19-19wsvxjw.mjs +1 -0
  370. package/dist/chunks/plugin-1.1.19-p0h9mbar.mjs +29 -0
  371. package/dist/chunks/pluginStartupCheck-1.1.19-7pvtzbb1.mjs +1 -0
  372. package/dist/chunks/plugins-1.1.19-xrbe4y5a.mjs +9 -0
  373. package/dist/chunks/preActionHook-1.1.19-wfp4vavy.mjs +2 -0
  374. package/dist/chunks/print-1.1.19-rzw2njmz.mjs +57 -0
  375. package/dist/chunks/process-1.1.19-k7h4qsz0.mjs +1 -0
  376. package/dist/chunks/processBashCommand-1.1.19-p1ffejkb.mjs +1 -0
  377. package/dist/chunks/processSlashCommand-1.1.19-gy6nfdzs.mjs +9 -0
  378. package/dist/chunks/prompt-1.1.19-9aq4jr0c.mjs +1 -0
  379. package/dist/chunks/prompt-1.1.19-kkwb835d.mjs +1 -0
  380. package/dist/chunks/prompts-1.1.19-qq19kp1k.mjs +1 -0
  381. package/dist/chunks/protocolHandler-1.1.19-6n3sh10m.mjs +13 -0
  382. package/dist/chunks/provider-1.1.19-46f6x4wt.mjs +2 -0
  383. package/dist/chunks/providerProfiles-1.1.19-xxzvjngj.mjs +1 -0
  384. package/dist/chunks/providerValidation-1.1.19-t3qsn8f5.mjs +6 -0
  385. package/dist/chunks/rate-limit-options-1.1.19-j7xrp805.mjs +1 -0
  386. package/dist/chunks/registerSubcommands-1.1.19-v2jjs3tt.mjs +26 -0
  387. package/dist/chunks/registry-1.1.19-7chtcyjj.mjs +1 -0
  388. package/dist/chunks/release-notes-1.1.19-pbbxph7n.mjs +5 -0
  389. package/dist/chunks/reload-plugins-1.1.19-qgvazhrx.mjs +2 -0
  390. package/dist/chunks/remote-env-1.1.19-4ftd6zk8.mjs +1 -0
  391. package/dist/chunks/remoteBridgeCore-1.1.19-w92h77yd.mjs +1 -0
  392. package/dist/chunks/remoteSession-1.1.19-e5nd7ypy.mjs +1 -0
  393. package/dist/chunks/rename-1.1.19-zmextayk.mjs +1 -0
  394. package/dist/chunks/replBridgeHandle-1.1.19-4vqnj6br.mjs +1 -0
  395. package/dist/chunks/replLauncher-1.1.19-s2btrsvw.mjs +1 -0
  396. package/dist/chunks/resume-1.1.19-jn7pe69d.mjs +2 -0
  397. package/dist/chunks/rewind-1.1.19-rahxdd24.mjs +1 -0
  398. package/dist/chunks/rootOptions-1.1.19-hjwkw6vt.mjs +1 -0
  399. package/dist/chunks/runWorkflowHeadless-1.1.19-hjwsqxd5.mjs +10 -0
  400. package/dist/chunks/sandbox-adapter-1.1.19-4aqxxq3m.mjs +1 -0
  401. package/dist/chunks/sandbox-toggle-1.1.19-x2n1fkv0.mjs +1 -0
  402. package/dist/chunks/session-1.1.19-je5j810m.mjs +2 -0
  403. package/dist/chunks/sessionDiscovery-1.1.19-t595d3pg.mjs +1 -0
  404. package/dist/chunks/sessionFileAccessHooks-1.1.19-bng1xsd6.mjs +1 -0
  405. package/dist/chunks/sessionStorage-1.1.19-6agd7cfq.mjs +1 -0
  406. package/dist/chunks/settings-1.1.19-cpxbjwr6.mjs +1 -0
  407. package/dist/chunks/setup-1.1.19-11b5cjgj.mjs +12 -0
  408. package/dist/chunks/sinks-1.1.19-m4ce6s8b.mjs +1 -0
  409. package/dist/chunks/skills-1.1.19-scwgh73s.mjs +1 -0
  410. package/dist/chunks/startupProfiler-1.1.19-j0kpxw4n.mjs +1 -0
  411. package/dist/chunks/startupUpdateCheck-1.1.19-k05gx3h1.mjs +1 -0
  412. package/dist/chunks/state-1.1.19-r1dtdp9g.mjs +1 -0
  413. package/dist/chunks/stats-1.1.19-zwc97973.mjs +6 -0
  414. package/dist/chunks/status-1.1.19-8m7tf3e1.mjs +1 -0
  415. package/dist/chunks/stickers-1.1.19-51p3tyxv.mjs +1 -0
  416. package/dist/chunks/subprocessEnv-1.1.19-bq634ryk.mjs +1 -0
  417. package/dist/chunks/tasks-1.1.19-xtpcttgb.mjs +1 -0
  418. package/dist/chunks/teamHelpers-1.1.19-37de1g3x.mjs +1 -0
  419. package/dist/chunks/teammateModeSnapshot-1.1.19-0zaw34nq.mjs +1 -0
  420. package/dist/chunks/teleport-1.1.19-1yrce0fg.mjs +1 -0
  421. package/dist/chunks/terminalSetup-1.1.19-n3qgcbse.mjs +1 -0
  422. package/dist/chunks/theme-1.1.19-qfd87sgp.mjs +1 -0
  423. package/dist/chunks/thinkback-1.1.19-gss5am06.mjs +1 -0
  424. package/dist/chunks/thinkback-play-1.1.19-7j20scs3.mjs +1 -0
  425. package/dist/chunks/toolPool-1.1.19-tmtwkgcj.mjs +1 -0
  426. package/dist/chunks/toolSearch-1.1.19-01pt7axx.mjs +1 -0
  427. package/dist/chunks/tools-1.1.19-1y8gx9m2.mjs +1 -0
  428. package/dist/chunks/trustedDevice-1.1.19-d1avnq7v.mjs +1 -0
  429. package/dist/chunks/turndown.cjs-1.1.19-q8rxrnz3.mjs +69 -0
  430. package/dist/chunks/types-1.1.19-3n28bh66.mjs +1 -0
  431. package/dist/chunks/ultrareviewCommand-1.1.19-vhhfbsfg.mjs +4 -0
  432. package/dist/chunks/update-1.1.19-xzwgsapn.mjs +72 -0
  433. package/dist/chunks/upgrade-1.1.19-5ydc5rb9.mjs +1 -0
  434. package/dist/chunks/upload-1.1.19-evxky0ry.mjs +7 -0
  435. package/dist/chunks/upstreamproxy-1.1.19-6t7vnxjf.mjs +14 -0
  436. package/dist/chunks/url-handler-napi-1.1.19-zgpfdrf1.mjs +1 -0
  437. package/dist/chunks/usage-1.1.19-f61vnt3h.mjs +1 -0
  438. package/dist/chunks/util-1.1.19-yqzpdqqe.mjs +1 -0
  439. package/dist/chunks/utils-1.1.19-hhq6836h.mjs +1 -0
  440. package/dist/chunks/vim-1.1.19-k2aqex53.mjs +1 -0
  441. package/dist/chunks/watchLoop-1.1.19-e3ar1gjj.mjs +13 -0
  442. package/dist/chunks/watcher-1.1.19-09ahtfef.mjs +1 -0
  443. package/dist/chunks/wiki-1.1.19-h6tfdmnw.mjs +132 -0
  444. package/dist/chunks/workflows-1.1.19-kgd61yya.mjs +1 -0
  445. package/dist/chunks/worktree-1.1.19-8vn5pmy9.mjs +1 -0
  446. package/dist/chunks/worktreeModeEnabled-1.1.19-je6hz46c.mjs +1 -0
  447. package/dist/chunks/wrapper-1.1.19-dn4wk1mg.mjs +7 -0
  448. package/dist/cli.mjs +2 -2
  449. package/package.json +9 -9
  450. package/dist/chunks/AgentTool-1.1.18-8r539yq1.mjs +0 -1
  451. package/dist/chunks/App-1.1.18-9qegazdp.mjs +0 -1
  452. package/dist/chunks/ApproveApiKey-1.1.18-75srd2ah.mjs +0 -1
  453. package/dist/chunks/AssistantSessionChooser-1.1.18-8s0prsvd.mjs +0 -1
  454. package/dist/chunks/AutoModeOptInDialog-1.1.18-8908as3d.mjs +0 -1
  455. package/dist/chunks/BypassPermissionsModeDialog-1.1.18-hzr5qznb.mjs +0 -1
  456. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.18-11b01q4g.mjs +0 -1
  457. package/dist/chunks/ConsoleOAuthFlow-1.1.18-gdmxhc4c.mjs +0 -1
  458. package/dist/chunks/DiffDialog-1.1.18-0ve87kmt.mjs +0 -6
  459. package/dist/chunks/Doctor-1.1.18-bm9y9hp0.mjs +0 -1
  460. package/dist/chunks/ExplorerDialog-1.1.18-s5gycf8y.mjs +0 -6
  461. package/dist/chunks/ITermBackend-1.1.18-ck22r980.mjs +0 -1
  462. package/dist/chunks/InvalidConfigDialog-1.1.18-k4rxj60y.mjs +0 -1
  463. package/dist/chunks/InvalidSettingsDialog-1.1.18-7jtsdcvz.mjs +0 -1
  464. package/dist/chunks/MigrationDialog-1.1.18-79c4xptb.mjs +0 -1
  465. package/dist/chunks/Onboarding-1.1.18-at9smz0c.mjs +0 -1
  466. package/dist/chunks/ProviderManager-1.1.18-fmn6pds0.mjs +0 -1
  467. package/dist/chunks/REPL-1.1.18-ethctbw9.mjs +0 -1
  468. package/dist/chunks/ResumeConversation-1.1.18-7jny2tma.mjs +0 -1
  469. package/dist/chunks/SnapshotUpdateDialog-1.1.18-4tt9s4sx.mjs +0 -1
  470. package/dist/chunks/TeleportProgress-1.1.18-9y6kadd2.mjs +0 -1
  471. package/dist/chunks/TeleportRepoMismatchDialog-1.1.18-0zp920qr.mjs +0 -1
  472. package/dist/chunks/TeleportResumeWrapper-1.1.18-ywhxqdw4.mjs +0 -1
  473. package/dist/chunks/TmuxBackend-1.1.18-cfmzwnnw.mjs +0 -9
  474. package/dist/chunks/ToolSearchTool-1.1.18-7czxxmxn.mjs +0 -1
  475. package/dist/chunks/TrustDialog-1.1.18-q46q6gnr.mjs +0 -1
  476. package/dist/chunks/activeProvider-1.1.18-0s9sbdx0.mjs +0 -1
  477. package/dist/chunks/add-dir-1.1.18-2v7nqdda.mjs +0 -1
  478. package/dist/chunks/agentTypes-1.1.18-5tbxn6cp.mjs +0 -1
  479. package/dist/chunks/agents-1.1.18-1zj1bttk.mjs +0 -110
  480. package/dist/chunks/agents-1.1.18-n28gzp6b.mjs +0 -3
  481. package/dist/chunks/api-1.1.18-kb26phxt.mjs +0 -1
  482. package/dist/chunks/asciicast-1.1.18-q0418p4r.mjs +0 -1
  483. package/dist/chunks/assistant-1.1.18-ky0pcnme.mjs +0 -1
  484. package/dist/chunks/auth-1.1.18-4de9sj97.mjs +0 -1
  485. package/dist/chunks/auth-1.1.18-6yqhszf3.mjs +0 -1
  486. package/dist/chunks/autoMode-1.1.18-63jx6p2w.mjs +0 -52
  487. package/dist/chunks/autoModeSetup-1.1.18-bk6w4529.mjs +0 -44
  488. package/dist/chunks/autoUpdater-1.1.18-bg5z208x.mjs +0 -1
  489. package/dist/chunks/backgroundHousekeeping-1.1.18-3m48d47f.mjs +0 -1
  490. package/dist/chunks/branch-1.1.18-sgfz4w61.mjs +0 -4
  491. package/dist/chunks/bridge-1.1.18-ewtwajff.mjs +0 -2
  492. package/dist/chunks/bridgeConfig-1.1.18-6aeg22kg.mjs +0 -1
  493. package/dist/chunks/bridgeEnabled-1.1.18-2ybc4ee8.mjs +0 -1
  494. package/dist/chunks/bridgeMain-1.1.18-pt5dztgy.mjs +0 -88
  495. package/dist/chunks/bridgePointer-1.1.18-w72zdv7w.mjs +0 -1
  496. package/dist/chunks/btw-1.1.18-w43t3mem.mjs +0 -1
  497. package/dist/chunks/buddy-1.1.18-zfhza9df.mjs +0 -3
  498. package/dist/chunks/cache-probe-1.1.18-ap6m4e42.mjs +0 -21
  499. package/dist/chunks/cacheStats-1.1.18-gcvx2d6q.mjs +0 -4
  500. package/dist/chunks/caches-1.1.18-warrda1f.mjs +0 -1
  501. package/dist/chunks/claudeDesktop-1.1.18-v3ghw0k9.mjs +0 -1
  502. package/dist/chunks/claudemd-1.1.18-b6tnjsjw.mjs +0 -1
  503. package/dist/chunks/clear-1.1.18-8abstaz1.mjs +0 -1
  504. package/dist/chunks/clearTerminal-1.1.18-wgv6q897.mjs +0 -1
  505. package/dist/chunks/cli-1.1.18-018bk764.mjs +0 -2
  506. package/dist/chunks/cli-1.1.18-049a81dd.mjs +0 -25
  507. package/dist/chunks/cli-1.1.18-0aakxjsk.mjs +0 -2
  508. package/dist/chunks/cli-1.1.18-0h118vrj.mjs +0 -2
  509. package/dist/chunks/cli-1.1.18-0tg14dph.mjs +0 -2
  510. package/dist/chunks/cli-1.1.18-0xknnw9q.mjs +0 -2
  511. package/dist/chunks/cli-1.1.18-0y6qt71a.mjs +0 -2
  512. package/dist/chunks/cli-1.1.18-0yhfm17h.mjs +0 -2
  513. package/dist/chunks/cli-1.1.18-0z5526z3.mjs +0 -4
  514. package/dist/chunks/cli-1.1.18-12tzkcxz.mjs +0 -2
  515. package/dist/chunks/cli-1.1.18-18rbpjbc.mjs +0 -2
  516. package/dist/chunks/cli-1.1.18-1c8pr80a.mjs +0 -2
  517. package/dist/chunks/cli-1.1.18-1spz0azv.mjs +0 -3
  518. package/dist/chunks/cli-1.1.18-1t3rb5a8.mjs +0 -2
  519. package/dist/chunks/cli-1.1.18-251zfmjp.mjs +0 -5
  520. package/dist/chunks/cli-1.1.18-27b82jjj.mjs +0 -3
  521. package/dist/chunks/cli-1.1.18-2ach0t0d.mjs +0 -7
  522. package/dist/chunks/cli-1.1.18-2gvrr93b.mjs +0 -2
  523. package/dist/chunks/cli-1.1.18-2k96kgmz.mjs +0 -2
  524. package/dist/chunks/cli-1.1.18-2qvvz2tv.mjs +0 -2
  525. package/dist/chunks/cli-1.1.18-2vdwwm5f.mjs +0 -3
  526. package/dist/chunks/cli-1.1.18-2w9274tq.mjs +0 -59
  527. package/dist/chunks/cli-1.1.18-2wsf8n3w.mjs +0 -3
  528. package/dist/chunks/cli-1.1.18-3b5j4jfq.mjs +0 -2
  529. package/dist/chunks/cli-1.1.18-3pn5knk8.mjs +0 -2
  530. package/dist/chunks/cli-1.1.18-3rm83ba2.mjs +0 -2
  531. package/dist/chunks/cli-1.1.18-3rxhxwbk.mjs +0 -4
  532. package/dist/chunks/cli-1.1.18-3s03nva1.mjs +0 -2
  533. package/dist/chunks/cli-1.1.18-3w57qes2.mjs +0 -2
  534. package/dist/chunks/cli-1.1.18-3y4pftxb.mjs +0 -206
  535. package/dist/chunks/cli-1.1.18-3z65nz4z.mjs +0 -2
  536. package/dist/chunks/cli-1.1.18-417wb57s.mjs +0 -2
  537. package/dist/chunks/cli-1.1.18-462kn9pt.mjs +0 -2
  538. package/dist/chunks/cli-1.1.18-4c3jqppx.mjs +0 -2
  539. package/dist/chunks/cli-1.1.18-4f2ncqzp.mjs +0 -45
  540. package/dist/chunks/cli-1.1.18-4h2r40da.mjs +0 -2
  541. package/dist/chunks/cli-1.1.18-4jy396p1.mjs +0 -6
  542. package/dist/chunks/cli-1.1.18-553zzrge.mjs +0 -2
  543. package/dist/chunks/cli-1.1.18-56vce0gb.mjs +0 -2
  544. package/dist/chunks/cli-1.1.18-5dw1bb8m.mjs +0 -2
  545. package/dist/chunks/cli-1.1.18-5fhws40c.mjs +0 -2
  546. package/dist/chunks/cli-1.1.18-5mr13yxz.mjs +0 -2
  547. package/dist/chunks/cli-1.1.18-5pa0bk59.mjs +0 -2
  548. package/dist/chunks/cli-1.1.18-5s8f8gd5.mjs +0 -3
  549. package/dist/chunks/cli-1.1.18-6hjdcw80.mjs +0 -2
  550. package/dist/chunks/cli-1.1.18-6nxyz9v3.mjs +0 -2
  551. package/dist/chunks/cli-1.1.18-6w9m5m4s.mjs +0 -2
  552. package/dist/chunks/cli-1.1.18-6wrbe4ft.mjs +0 -4
  553. package/dist/chunks/cli-1.1.18-703emt7y.mjs +0 -16
  554. package/dist/chunks/cli-1.1.18-70jytem3.mjs +0 -2
  555. package/dist/chunks/cli-1.1.18-70ktef72.mjs +0 -2
  556. package/dist/chunks/cli-1.1.18-71zz07m4.mjs +0 -3
  557. package/dist/chunks/cli-1.1.18-7g6xwfbz.mjs +0 -2
  558. package/dist/chunks/cli-1.1.18-7nsrr2k0.mjs +0 -2
  559. package/dist/chunks/cli-1.1.18-7pcfwrhj.mjs +0 -2
  560. package/dist/chunks/cli-1.1.18-7set7d4d.mjs +0 -3
  561. package/dist/chunks/cli-1.1.18-7wccrsx9.mjs +0 -2
  562. package/dist/chunks/cli-1.1.18-7xc4d1d9.mjs +0 -2
  563. package/dist/chunks/cli-1.1.18-86jznh5v.mjs +0 -2
  564. package/dist/chunks/cli-1.1.18-8fpwak2g.mjs +0 -4
  565. package/dist/chunks/cli-1.1.18-8thyc5yy.mjs +0 -2
  566. package/dist/chunks/cli-1.1.18-8vxrthte.mjs +0 -4
  567. package/dist/chunks/cli-1.1.18-8zrm4yfd.mjs +0 -2
  568. package/dist/chunks/cli-1.1.18-948h21gh.mjs +0 -2
  569. package/dist/chunks/cli-1.1.18-99wvb94x.mjs +0 -2
  570. package/dist/chunks/cli-1.1.18-9cpcw7fg.mjs +0 -2
  571. package/dist/chunks/cli-1.1.18-9jkqy8de.mjs +0 -2
  572. package/dist/chunks/cli-1.1.18-9zvacjd0.mjs +0 -2
  573. package/dist/chunks/cli-1.1.18-a888prq4.mjs +0 -6
  574. package/dist/chunks/cli-1.1.18-aek1gddg.mjs +0 -2
  575. package/dist/chunks/cli-1.1.18-af7txyky.mjs +0 -133
  576. package/dist/chunks/cli-1.1.18-aj93qvyc.mjs +0 -3
  577. package/dist/chunks/cli-1.1.18-avas0dtp.mjs +0 -2
  578. package/dist/chunks/cli-1.1.18-avhbxgh1.mjs +0 -2
  579. package/dist/chunks/cli-1.1.18-awvejq1d.mjs +0 -2
  580. package/dist/chunks/cli-1.1.18-b4azpwk0.mjs +0 -18
  581. package/dist/chunks/cli-1.1.18-b5h22srd.mjs +0 -2
  582. package/dist/chunks/cli-1.1.18-bfzft69m.mjs +0 -2
  583. package/dist/chunks/cli-1.1.18-c9h4ga5f.mjs +0 -2
  584. package/dist/chunks/cli-1.1.18-cahfd7zp.mjs +0 -15
  585. package/dist/chunks/cli-1.1.18-ccbh77pf.mjs +0 -2
  586. package/dist/chunks/cli-1.1.18-cd5r9mfb.mjs +0 -2
  587. package/dist/chunks/cli-1.1.18-cj8tr93q.mjs +0 -2
  588. package/dist/chunks/cli-1.1.18-cjkn7t4k.mjs +0 -2
  589. package/dist/chunks/cli-1.1.18-cphcr3xr.mjs +0 -15
  590. package/dist/chunks/cli-1.1.18-cqmjby3t.mjs +0 -24
  591. package/dist/chunks/cli-1.1.18-crpxak5f.mjs +0 -2
  592. package/dist/chunks/cli-1.1.18-cxg522yt.mjs +0 -4
  593. package/dist/chunks/cli-1.1.18-cy0ypdkd.mjs +0 -2
  594. package/dist/chunks/cli-1.1.18-dcrg5hwd.mjs +0 -2
  595. package/dist/chunks/cli-1.1.18-ddreb78e.mjs +0 -2
  596. package/dist/chunks/cli-1.1.18-dq2vate5.mjs +0 -2
  597. package/dist/chunks/cli-1.1.18-dvyh5qzn.mjs +0 -2
  598. package/dist/chunks/cli-1.1.18-dzbn08g2.mjs +0 -2
  599. package/dist/chunks/cli-1.1.18-e107yrwx.mjs +0 -2
  600. package/dist/chunks/cli-1.1.18-e8stczm5.mjs +0 -2
  601. package/dist/chunks/cli-1.1.18-ecds9fxm.mjs +0 -2
  602. package/dist/chunks/cli-1.1.18-ek85fj6n.mjs +0 -2
  603. package/dist/chunks/cli-1.1.18-erjpjwnr.mjs +0 -4
  604. package/dist/chunks/cli-1.1.18-esvp6n4e.mjs +0 -66
  605. package/dist/chunks/cli-1.1.18-ezpyhrzw.mjs +0 -133
  606. package/dist/chunks/cli-1.1.18-f2j32mha.mjs +0 -2
  607. package/dist/chunks/cli-1.1.18-f5ggv7be.mjs +0 -2
  608. package/dist/chunks/cli-1.1.18-f6m259he.mjs +0 -2
  609. package/dist/chunks/cli-1.1.18-f7jag2rr.mjs +0 -2
  610. package/dist/chunks/cli-1.1.18-f8sy5pe3.mjs +0 -3
  611. package/dist/chunks/cli-1.1.18-fh3h37zy.mjs +0 -8
  612. package/dist/chunks/cli-1.1.18-fr4nmsgv.mjs +0 -3
  613. package/dist/chunks/cli-1.1.18-fst0kx9m.mjs +0 -24
  614. package/dist/chunks/cli-1.1.18-gdvh8p4h.mjs +0 -2
  615. package/dist/chunks/cli-1.1.18-gnd39prj.mjs +0 -18
  616. package/dist/chunks/cli-1.1.18-gvzkraze.mjs +0 -2
  617. package/dist/chunks/cli-1.1.18-gz2c86d2.mjs +0 -2
  618. package/dist/chunks/cli-1.1.18-hbv881pn.mjs +0 -2
  619. package/dist/chunks/cli-1.1.18-heh8xz6x.mjs +0 -2
  620. package/dist/chunks/cli-1.1.18-hg5srcxb.mjs +0 -7
  621. package/dist/chunks/cli-1.1.18-hgn94jwm.mjs +0 -2
  622. package/dist/chunks/cli-1.1.18-hjp96a36.mjs +0 -2
  623. package/dist/chunks/cli-1.1.18-hphxdvpd.mjs +0 -17
  624. package/dist/chunks/cli-1.1.18-hsqq1hdd.mjs +0 -9
  625. package/dist/chunks/cli-1.1.18-j1ryg6qv.mjs +0 -2
  626. package/dist/chunks/cli-1.1.18-j372h4fv.mjs +0 -4
  627. package/dist/chunks/cli-1.1.18-j461dthr.mjs +0 -2
  628. package/dist/chunks/cli-1.1.18-j5zh2pdx.mjs +0 -17
  629. package/dist/chunks/cli-1.1.18-jcqz5j7y.mjs +0 -2
  630. package/dist/chunks/cli-1.1.18-jgwwkx62.mjs +0 -58
  631. package/dist/chunks/cli-1.1.18-jjekxppq.mjs +0 -25
  632. package/dist/chunks/cli-1.1.18-jp0phw3q.mjs +0 -2
  633. package/dist/chunks/cli-1.1.18-k05shz35.mjs +0 -2
  634. package/dist/chunks/cli-1.1.18-k11n6026.mjs +0 -3
  635. package/dist/chunks/cli-1.1.18-k1pkc44n.mjs +0 -2
  636. package/dist/chunks/cli-1.1.18-kj7gj6vk.mjs +0 -3
  637. package/dist/chunks/cli-1.1.18-kkr6w2g7.mjs +0 -2
  638. package/dist/chunks/cli-1.1.18-m04wmdz7.mjs +0 -9
  639. package/dist/chunks/cli-1.1.18-mfjtdkn6.mjs +0 -20
  640. package/dist/chunks/cli-1.1.18-mg0s34rf.mjs +0 -2
  641. package/dist/chunks/cli-1.1.18-mg7jmbh9.mjs +0 -2
  642. package/dist/chunks/cli-1.1.18-mhy7qzsz.mjs +0 -21
  643. package/dist/chunks/cli-1.1.18-mm8bkmax.mjs +0 -2
  644. package/dist/chunks/cli-1.1.18-mqwcfz14.mjs +0 -2
  645. package/dist/chunks/cli-1.1.18-mrrbn0jj.mjs +0 -6
  646. package/dist/chunks/cli-1.1.18-mwevzyy2.mjs +0 -2
  647. package/dist/chunks/cli-1.1.18-mycrby1p.mjs +0 -2
  648. package/dist/chunks/cli-1.1.18-mz10pywc.mjs +0 -2
  649. package/dist/chunks/cli-1.1.18-n05vxdaj.mjs +0 -2
  650. package/dist/chunks/cli-1.1.18-n7dkmrv9.mjs +0 -24
  651. package/dist/chunks/cli-1.1.18-ndct9t5e.mjs +0 -4
  652. package/dist/chunks/cli-1.1.18-npdweafk.mjs +0 -6
  653. package/dist/chunks/cli-1.1.18-ns45fmht.mjs +0 -2
  654. package/dist/chunks/cli-1.1.18-p0ey1z9w.mjs +0 -2
  655. package/dist/chunks/cli-1.1.18-p28wy0mz.mjs +0 -2
  656. package/dist/chunks/cli-1.1.18-p3yf1aq6.mjs +0 -42
  657. package/dist/chunks/cli-1.1.18-p5rqk1qq.mjs +0 -2
  658. package/dist/chunks/cli-1.1.18-pbdm30bs.mjs +0 -2
  659. package/dist/chunks/cli-1.1.18-psb6qqc1.mjs +0 -2
  660. package/dist/chunks/cli-1.1.18-pt16bxrm.mjs +0 -2
  661. package/dist/chunks/cli-1.1.18-pzeg2p3k.mjs +0 -2
  662. package/dist/chunks/cli-1.1.18-q7qp6pv5.mjs +0 -2
  663. package/dist/chunks/cli-1.1.18-qrz1vgy2.mjs +0 -2
  664. package/dist/chunks/cli-1.1.18-qs28eyy1.mjs +0 -2
  665. package/dist/chunks/cli-1.1.18-qykcs1fr.mjs +0 -4
  666. package/dist/chunks/cli-1.1.18-r50x1ezt.mjs +0 -2
  667. package/dist/chunks/cli-1.1.18-ra67yknr.mjs +0 -6
  668. package/dist/chunks/cli-1.1.18-rbfhhwym.mjs +0 -2
  669. package/dist/chunks/cli-1.1.18-rbkz8pj4.mjs +0 -2
  670. package/dist/chunks/cli-1.1.18-rnqtkprk.mjs +0 -2
  671. package/dist/chunks/cli-1.1.18-rp84hvn4.mjs +0 -2
  672. package/dist/chunks/cli-1.1.18-rykfqnyd.mjs +0 -2
  673. package/dist/chunks/cli-1.1.18-s5nhwqft.mjs +0 -2
  674. package/dist/chunks/cli-1.1.18-sdsvkqmn.mjs +0 -2
  675. package/dist/chunks/cli-1.1.18-sq93n51h.mjs +0 -2
  676. package/dist/chunks/cli-1.1.18-t526ry94.mjs +0 -34
  677. package/dist/chunks/cli-1.1.18-ta6r8qry.mjs +0 -2
  678. package/dist/chunks/cli-1.1.18-ts8ermsd.mjs +0 -2
  679. package/dist/chunks/cli-1.1.18-v42h6ekh.mjs +0 -15
  680. package/dist/chunks/cli-1.1.18-v4gc446r.mjs +0 -2
  681. package/dist/chunks/cli-1.1.18-v5btk93t.mjs +0 -3
  682. package/dist/chunks/cli-1.1.18-v75xqnbv.mjs +0 -2
  683. package/dist/chunks/cli-1.1.18-vgfpa3bs.mjs +0 -5
  684. package/dist/chunks/cli-1.1.18-vnsqk2vn.mjs +0 -2
  685. package/dist/chunks/cli-1.1.18-vx2rxj7b.mjs +0 -2
  686. package/dist/chunks/cli-1.1.18-vymgw42z.mjs +0 -2
  687. package/dist/chunks/cli-1.1.18-vzrv28w4.mjs +0 -24
  688. package/dist/chunks/cli-1.1.18-wp7r00wk.mjs +0 -2
  689. package/dist/chunks/cli-1.1.18-wzpxr762.mjs +0 -50
  690. package/dist/chunks/cli-1.1.18-x0bha3jf.mjs +0 -2
  691. package/dist/chunks/cli-1.1.18-x7jyxff1.mjs +0 -3
  692. package/dist/chunks/cli-1.1.18-x7k6y949.mjs +0 -39
  693. package/dist/chunks/cli-1.1.18-xfb4pete.mjs +0 -5410
  694. package/dist/chunks/cli-1.1.18-xpxkw4js.mjs +0 -2
  695. package/dist/chunks/cli-1.1.18-y0eah2b9.mjs +0 -2
  696. package/dist/chunks/cli-1.1.18-y89tqne6.mjs +0 -2
  697. package/dist/chunks/cli-1.1.18-ybazgea3.mjs +0 -1
  698. package/dist/chunks/cli-1.1.18-ybfayy4j.mjs +0 -2
  699. package/dist/chunks/cli-1.1.18-yk1f4vsx.mjs +0 -2
  700. package/dist/chunks/cli-1.1.18-ypcye8ae.mjs +0 -6
  701. package/dist/chunks/cli-1.1.18-ythtynpe.mjs +0 -12
  702. package/dist/chunks/cli-1.1.18-yymp5d28.mjs +0 -12
  703. package/dist/chunks/cli-1.1.18-yysexesh.mjs +0 -2
  704. package/dist/chunks/cli-1.1.18-zd969gzb.mjs +0 -2
  705. package/dist/chunks/cli-1.1.18-zdx4ywwf.mjs +0 -2
  706. package/dist/chunks/cli-1.1.18-ztyf20j1.mjs +0 -2
  707. package/dist/chunks/client-1.1.18-zdqzxpen.mjs +0 -1
  708. package/dist/chunks/color-1.1.18-qt7znj00.mjs +0 -1
  709. package/dist/chunks/compact-1.1.18-qev191am.mjs +0 -3
  710. package/dist/chunks/config-1.1.18-9kjysdvn.mjs +0 -1
  711. package/dist/chunks/config-1.1.18-am3webex.mjs +0 -1
  712. package/dist/chunks/constants-1.1.18-hdfyvthe.mjs +0 -1
  713. package/dist/chunks/context-1.1.18-ywdzshyf.mjs +0 -1
  714. package/dist/chunks/context-noninteractive-1.1.18-ncf3febd.mjs +0 -1
  715. package/dist/chunks/conversation-1.1.18-h1q8gp2k.mjs +0 -1
  716. package/dist/chunks/copilotHeaders-1.1.18-t0s2718z.mjs +0 -1
  717. package/dist/chunks/copy-1.1.18-66cbtmsa.mjs +0 -9
  718. package/dist/chunks/cost-1.1.18-350gegdk.mjs +0 -1
  719. package/dist/chunks/createSSHSession-1.1.18-vgmc8evp.mjs +0 -1
  720. package/dist/chunks/createSession-1.1.18-0e04rk8g.mjs +0 -1
  721. package/dist/chunks/debug-1.1.18-c4v63z13.mjs +0 -1
  722. package/dist/chunks/defaultActionDeps-1.1.18-jg2xdcgn.mjs +0 -1534
  723. package/dist/chunks/desktop-1.1.18-sghgn08z.mjs +0 -1
  724. package/dist/chunks/detectRepository-1.1.18-m0xvtgqt.mjs +0 -1
  725. package/dist/chunks/detection-1.1.18-d7kpetjp.mjs +0 -1
  726. package/dist/chunks/diff-1.1.18-y9e1gbv0.mjs +0 -1
  727. package/dist/chunks/doctor-1.1.18-me0b6eyh.mjs +0 -1
  728. package/dist/chunks/doctorDiagnostic-1.1.18-d85k2x5j.mjs +0 -1
  729. package/dist/chunks/earlyInput-1.1.18-6jzg1a3e.mjs +0 -1
  730. package/dist/chunks/effort-1.1.18-kzqkmbjd.mjs +0 -13
  731. package/dist/chunks/engine-1.1.18-z5jbth81.mjs +0 -1
  732. package/dist/chunks/envLessBridgeConfig-1.1.18-1cqrnkp2.mjs +0 -1
  733. package/dist/chunks/envUtils-1.1.18-x298f5cb.mjs +0 -1
  734. package/dist/chunks/environmentSelection-1.1.18-6k9hzg6p.mjs +0 -1
  735. package/dist/chunks/environments-1.1.18-r0dv94mx.mjs +0 -1
  736. package/dist/chunks/errors-1.1.18-q6s6h2zs.mjs +0 -1
  737. package/dist/chunks/exampleCommands-1.1.18-0zc9623h.mjs +0 -1
  738. package/dist/chunks/execFileNoThrow-1.1.18-spcbfmbw.mjs +0 -1
  739. package/dist/chunks/exit-1.1.18-zvcsa8gc.mjs +0 -1
  740. package/dist/chunks/explorer-1.1.18-wf8yy5vj.mjs +0 -1
  741. package/dist/chunks/export-1.1.18-qeyf86rn.mjs +0 -2
  742. package/dist/chunks/extra-usage-1.1.18-t0cm4v50.mjs +0 -1
  743. package/dist/chunks/extra-usage-noninteractive-1.1.18-w6zswndv.mjs +0 -1
  744. package/dist/chunks/fast-1.1.18-c6bbr2sj.mjs +0 -1
  745. package/dist/chunks/feedback-1.1.18-8c9j05d9.mjs +0 -14
  746. package/dist/chunks/firstPartyEventLogger-1.1.18-mk3qv1p1.mjs +0 -1
  747. package/dist/chunks/git-1.1.18-716sc7rw.mjs +0 -1
  748. package/dist/chunks/githubModelsCredentials-1.1.18-60dnzg1p.mjs +0 -1
  749. package/dist/chunks/goal-1.1.18-8em4jke5.mjs +0 -4
  750. package/dist/chunks/growthbook-1.1.18-b3tgw6y3.mjs +0 -1
  751. package/dist/chunks/headless-1.1.18-b5szxwsw.mjs +0 -2
  752. package/dist/chunks/heapdump-1.1.18-vjq0hc7v.mjs +0 -6
  753. package/dist/chunks/help-1.1.18-21j0mh6r.mjs +0 -1
  754. package/dist/chunks/hookChains-1.1.18-hptz3v0e.mjs +0 -3
  755. package/dist/chunks/hooks-1.1.18-0zec4dds.mjs +0 -1
  756. package/dist/chunks/hooks-1.1.18-ha1g38hn.mjs +0 -79
  757. package/dist/chunks/ide-1.1.18-rkvs3qqd.mjs +0 -3
  758. package/dist/chunks/image-processor-napi-1.1.18-nakzgnn7.mjs +0 -1
  759. package/dist/chunks/inboundAttachments-1.1.18-qxn6m4rg.mjs +0 -1
  760. package/dist/chunks/index-1.1.18-0ha3tnh6.mjs +0 -1
  761. package/dist/chunks/index-1.1.18-18y0bk36.mjs +0 -1
  762. package/dist/chunks/index-1.1.18-1kzcw8rj.mjs +0 -9
  763. package/dist/chunks/index-1.1.18-3yaj9awp.mjs +0 -1
  764. package/dist/chunks/index-1.1.18-427vyn1s.mjs +0 -1
  765. package/dist/chunks/index-1.1.18-5aebjh6r.mjs +0 -2
  766. package/dist/chunks/index-1.1.18-7qw763sw.mjs +0 -1
  767. package/dist/chunks/index-1.1.18-9p90ysn2.mjs +0 -23
  768. package/dist/chunks/index-1.1.18-a31cga5m.mjs +0 -1
  769. package/dist/chunks/index-1.1.18-awg146jw.mjs +0 -1
  770. package/dist/chunks/index-1.1.18-bsk8rb63.mjs +0 -1
  771. package/dist/chunks/index-1.1.18-cvzxd0hz.mjs +0 -1
  772. package/dist/chunks/index-1.1.18-ejew46p1.mjs +0 -1
  773. package/dist/chunks/index-1.1.18-gdwz7smf.mjs +0 -1
  774. package/dist/chunks/index-1.1.18-hcwn8mp8.mjs +0 -1
  775. package/dist/chunks/index-1.1.18-j843bxtx.mjs +0 -9
  776. package/dist/chunks/index-1.1.18-jhj8ae5j.mjs +0 -30
  777. package/dist/chunks/index-1.1.18-k9471m74.mjs +0 -1
  778. package/dist/chunks/index-1.1.18-kvv48kwq.mjs +0 -5
  779. package/dist/chunks/index-1.1.18-n6ntpnas.mjs +0 -1
  780. package/dist/chunks/index-1.1.18-n8a9f3dp.mjs +0 -2
  781. package/dist/chunks/index-1.1.18-ppwdm9bc.mjs +0 -1
  782. package/dist/chunks/index-1.1.18-zaqj0a20.mjs +0 -1
  783. package/dist/chunks/init-1.1.18-kgjtv56b.mjs +0 -1
  784. package/dist/chunks/initReplBridge-1.1.18-we3h7znp.mjs +0 -1
  785. package/dist/chunks/ink-1.1.18-s45xz0d5.mjs +0 -1
  786. package/dist/chunks/insights-1.1.18-qxdn050x.mjs +0 -870
  787. package/dist/chunks/install-1.1.18-hrtjazqa.mjs +0 -1
  788. package/dist/chunks/install-github-app-1.1.18-9y1kn2dm.mjs +0 -149
  789. package/dist/chunks/install-slack-app-1.1.18-yfeb37pz.mjs +0 -1
  790. package/dist/chunks/instrumentation-1.1.18-0s0n0snp.mjs +0 -1
  791. package/dist/chunks/interactiveHelpers-1.1.18-vsnpskhb.mjs +0 -1
  792. package/dist/chunks/keybindings-1.1.18-6zbse835.mjs +0 -2
  793. package/dist/chunks/knowledge-1.1.18-6ex2a771.mjs +0 -2
  794. package/dist/chunks/latestVersionCache-1.1.18-8dq1wk9a.mjs +0 -1
  795. package/dist/chunks/loadAgentsDir-1.1.18-4vpps6mn.mjs +0 -1
  796. package/dist/chunks/loadPluginHooks-1.1.18-4j6dvx4m.mjs +0 -1
  797. package/dist/chunks/log-1.1.18-ft9dg3fj.mjs +0 -1
  798. package/dist/chunks/main-1.1.18-s1hnrh3q.mjs +0 -1
  799. package/dist/chunks/managedEnv-1.1.18-jqjx86ng.mjs +0 -1
  800. package/dist/chunks/mcp-1.1.18-24906cg4.mjs +0 -1
  801. package/dist/chunks/mcp-1.1.18-7t3h9h66.mjs +0 -4
  802. package/dist/chunks/mcp-1.1.18-ast61twg.mjs +0 -17
  803. package/dist/chunks/mcpb-1.1.18-snfk9dz9.mjs +0 -1
  804. package/dist/chunks/memory-1.1.18-7k51bcr6.mjs +0 -72
  805. package/dist/chunks/model-1.1.18-0njn3xdn.mjs +0 -2
  806. package/dist/chunks/model-1.1.18-ny459y9j.mjs +0 -1
  807. package/dist/chunks/node-1.1.18-gk5h7jp4.mjs +0 -12
  808. package/dist/chunks/oauth-1.1.18-w9bt5qvg.mjs +0 -1
  809. package/dist/chunks/openaiShim-1.1.18-xzt8j2wx.mjs +0 -14
  810. package/dist/chunks/output-style-1.1.18-q591t8v1.mjs +0 -1
  811. package/dist/chunks/package-KQCMZM5L-1.1.18-whakyscr.mjs +0 -1
  812. package/dist/chunks/parseConnectUrl-1.1.18-bwgbwc1r.mjs +0 -1
  813. package/dist/chunks/parser-1.1.18-qad863f5.mjs +0 -1
  814. package/dist/chunks/passes-1.1.18-t0hq8ewm.mjs +0 -1
  815. package/dist/chunks/permissions-1.1.18-5a7765tc.mjs +0 -1
  816. package/dist/chunks/permissions-1.1.18-ed8ysk2a.mjs +0 -3
  817. package/dist/chunks/plan-1.1.18-4hc85kck.mjs +0 -1
  818. package/dist/chunks/plist-1.1.18-7sdbzzm0.mjs +0 -1
  819. package/dist/chunks/plugin-1.1.18-9tkb7bap.mjs +0 -29
  820. package/dist/chunks/pluginStartupCheck-1.1.18-j31xzm3k.mjs +0 -1
  821. package/dist/chunks/plugins-1.1.18-ab7msm6m.mjs +0 -9
  822. package/dist/chunks/preActionHook-1.1.18-dkhj1e0v.mjs +0 -2
  823. package/dist/chunks/print-1.1.18-j2g7hv0n.mjs +0 -57
  824. package/dist/chunks/process-1.1.18-fvq9b7q3.mjs +0 -1
  825. package/dist/chunks/processBashCommand-1.1.18-vq69a3e4.mjs +0 -1
  826. package/dist/chunks/processSlashCommand-1.1.18-n1yqhpgg.mjs +0 -9
  827. package/dist/chunks/prompt-1.1.18-acbj3trk.mjs +0 -1
  828. package/dist/chunks/prompt-1.1.18-wh5jv6ay.mjs +0 -1
  829. package/dist/chunks/prompts-1.1.18-m0az7ynn.mjs +0 -1
  830. package/dist/chunks/protocolHandler-1.1.18-k2shdefe.mjs +0 -13
  831. package/dist/chunks/provider-1.1.18-g384d5y0.mjs +0 -2
  832. package/dist/chunks/providerProfiles-1.1.18-sehcrk96.mjs +0 -1
  833. package/dist/chunks/providerValidation-1.1.18-ge2ffym5.mjs +0 -6
  834. package/dist/chunks/rate-limit-options-1.1.18-9dst3c2h.mjs +0 -1
  835. package/dist/chunks/registerSubcommands-1.1.18-7t053hjx.mjs +0 -26
  836. package/dist/chunks/registry-1.1.18-xrd7m0b5.mjs +0 -1
  837. package/dist/chunks/release-notes-1.1.18-ayafp97j.mjs +0 -5
  838. package/dist/chunks/reload-plugins-1.1.18-hmvtf1f4.mjs +0 -2
  839. package/dist/chunks/remote-env-1.1.18-w9k53dqm.mjs +0 -1
  840. package/dist/chunks/remoteBridgeCore-1.1.18-ex403g4q.mjs +0 -1
  841. package/dist/chunks/remoteSession-1.1.18-4axy7j90.mjs +0 -1
  842. package/dist/chunks/rename-1.1.18-2v175525.mjs +0 -1
  843. package/dist/chunks/replBridgeHandle-1.1.18-z7ttbjsb.mjs +0 -1
  844. package/dist/chunks/replLauncher-1.1.18-4z8q3518.mjs +0 -1
  845. package/dist/chunks/resume-1.1.18-7s9nkn6h.mjs +0 -2
  846. package/dist/chunks/rewind-1.1.18-wwasabaf.mjs +0 -1
  847. package/dist/chunks/rootOptions-1.1.18-drrms6kn.mjs +0 -1
  848. package/dist/chunks/runWorkflowHeadless-1.1.18-grdmbjgn.mjs +0 -10
  849. package/dist/chunks/sandbox-adapter-1.1.18-4290hdqx.mjs +0 -1
  850. package/dist/chunks/sandbox-toggle-1.1.18-859vsbae.mjs +0 -1
  851. package/dist/chunks/session-1.1.18-ndwcefxm.mjs +0 -2
  852. package/dist/chunks/sessionDiscovery-1.1.18-mqhk62gm.mjs +0 -1
  853. package/dist/chunks/sessionFileAccessHooks-1.1.18-2ypck9c4.mjs +0 -1
  854. package/dist/chunks/sessionStorage-1.1.18-w8jyzxb1.mjs +0 -1
  855. package/dist/chunks/settings-1.1.18-8tv1qyh6.mjs +0 -1
  856. package/dist/chunks/setup-1.1.18-frcmhac0.mjs +0 -12
  857. package/dist/chunks/sinks-1.1.18-zxg6qwxv.mjs +0 -1
  858. package/dist/chunks/skills-1.1.18-zxh8yk9d.mjs +0 -1
  859. package/dist/chunks/startupProfiler-1.1.18-h7ey8bj0.mjs +0 -1
  860. package/dist/chunks/startupUpdateCheck-1.1.18-bws73cnz.mjs +0 -1
  861. package/dist/chunks/state-1.1.18-12hrspsf.mjs +0 -1
  862. package/dist/chunks/stats-1.1.18-kmhwdmq9.mjs +0 -6
  863. package/dist/chunks/status-1.1.18-4aep2t86.mjs +0 -1
  864. package/dist/chunks/stickers-1.1.18-20nhxd0w.mjs +0 -1
  865. package/dist/chunks/subprocessEnv-1.1.18-a6f6xtx7.mjs +0 -1
  866. package/dist/chunks/tasks-1.1.18-5brzcp4c.mjs +0 -1
  867. package/dist/chunks/teamHelpers-1.1.18-ewst0n42.mjs +0 -1
  868. package/dist/chunks/teammateModeSnapshot-1.1.18-n1rgqqyr.mjs +0 -1
  869. package/dist/chunks/teleport-1.1.18-e63krqkp.mjs +0 -1
  870. package/dist/chunks/terminalSetup-1.1.18-6nf0ex7b.mjs +0 -1
  871. package/dist/chunks/theme-1.1.18-egp4mwdb.mjs +0 -1
  872. package/dist/chunks/thinkback-1.1.18-wphxbpgs.mjs +0 -1
  873. package/dist/chunks/thinkback-play-1.1.18-rjmn2eej.mjs +0 -1
  874. package/dist/chunks/toolPool-1.1.18-s1ssr2ef.mjs +0 -1
  875. package/dist/chunks/toolSearch-1.1.18-c9cwkafr.mjs +0 -1
  876. package/dist/chunks/tools-1.1.18-1dqtpknx.mjs +0 -1
  877. package/dist/chunks/trustedDevice-1.1.18-3h8z5wdy.mjs +0 -1
  878. package/dist/chunks/turndown.cjs-1.1.18-e9b2pss1.mjs +0 -69
  879. package/dist/chunks/types-1.1.18-31emf7xp.mjs +0 -1
  880. package/dist/chunks/ultrareviewCommand-1.1.18-x96n2df3.mjs +0 -4
  881. package/dist/chunks/update-1.1.18-rfhbgb3x.mjs +0 -72
  882. package/dist/chunks/upgrade-1.1.18-5dd5b35g.mjs +0 -1
  883. package/dist/chunks/upload-1.1.18-6rcbt5xr.mjs +0 -7
  884. package/dist/chunks/upstreamproxy-1.1.18-xx3jrk14.mjs +0 -14
  885. package/dist/chunks/url-handler-napi-1.1.18-y4e042py.mjs +0 -1
  886. package/dist/chunks/usage-1.1.18-q3y9c6vk.mjs +0 -1
  887. package/dist/chunks/util-1.1.18-2vgfzdph.mjs +0 -1
  888. package/dist/chunks/utils-1.1.18-8tjbjr7v.mjs +0 -1
  889. package/dist/chunks/vim-1.1.18-44eqnfwb.mjs +0 -1
  890. package/dist/chunks/watchLoop-1.1.18-c2shb8qc.mjs +0 -13
  891. package/dist/chunks/watcher-1.1.18-cb1x3sr6.mjs +0 -1
  892. package/dist/chunks/wiki-1.1.18-r1abckjp.mjs +0 -132
  893. package/dist/chunks/workflows-1.1.18-jtx40wvq.mjs +0 -1
  894. package/dist/chunks/worktree-1.1.18-ds3kez7h.mjs +0 -1
  895. package/dist/chunks/worktreeModeEnabled-1.1.18-2wj8e6bc.mjs +0 -1
  896. package/dist/chunks/wrapper-1.1.18-shbmq2kg.mjs +0 -7
  897. /package/dist/chunks/{cli-1.1.18-z2dx0w6b.mjs → cli-1.1.19-4tssw0qf.mjs} +0 -0
  898. /package/dist/chunks/{cli-1.1.18-x9wfjwnm.mjs → cli-1.1.19-caqq41md.mjs} +0 -0
  899. /package/dist/chunks/{cli-1.1.18-hvd9yyb4.mjs → cli-1.1.19-cc266ybe.mjs} +0 -0
  900. /package/dist/chunks/{cli-1.1.18-tm7nmhz8.mjs → cli-1.1.19-er0hdy0x.mjs} +0 -0
  901. /package/dist/chunks/{cli-1.1.18-zhq044yz.mjs → cli-1.1.19-j2p355hg.mjs} +0 -0
  902. /package/dist/chunks/{cli-1.1.18-4j0hy93x.mjs → cli-1.1.19-jepkkjbh.mjs} +0 -0
  903. /package/dist/chunks/{cli-1.1.18-qfz5keqx.mjs → cli-1.1.19-mnfgg84d.mjs} +0 -0
@@ -1,2 +0,0 @@
1
- import{Wi as W,Xi as E}from"./cli-1.1.18-5mr13yxz.mjs";import{d4 as U,f4 as J}from"./cli-1.1.18-f2j32mha.mjs";import{F4 as V,G4 as B}from"./cli-1.1.18-1spz0azv.mjs";import{Q8 as $,l5 as N,m5 as _,q8 as Q,v8 as R}from"./cli-1.1.18-703emt7y.mjs";import{Wga as K,cha as Z}from"./cli-1.1.18-3y4pftxb.mjs";import{kta as Y}from"./cli-1.1.18-hvd9yyb4.mjs";async function C(y,X){try{if(R()){let q=Q(),z=!1;if(q?.subscriptionType&&q?.rateLimitTier)z=q.subscriptionType==="max"&&q.rateLimitTier==="default_claude_max_20x";else if(q?.accessToken){let H=await N(q.accessToken);z=H?.organization?.organization_type==="claude_max"&&H?.organization?.rate_limit_tier==="default_claude_max_20x"}if(z)return setTimeout(y,0,"You are already on the highest Max subscription plan. For additional usage, run /login to switch to an API usage-billed account."),null}return await V("https://claude.ai/upgrade/max"),U(W,{startingMessage:"Starting new login following /upgrade. Exit with Ctrl-C to use existing account.",onDone:(q)=>{X.onChangeAPIKey(),y(q?"Login successful":"Login interrupted")}})}catch(G){K(G),setTimeout(y,0,"Failed to open browser. Please visit https://claude.ai/upgrade/max to upgrade.")}return null}var F=Y(()=>{_();$();B();Z();E();J()});
2
- export{C as $b,F as ac};
@@ -1,2 +0,0 @@
1
- import{DZ as Z,H1 as k,c1 as K}from"./cli-1.1.18-2w9274tq.mjs";import{e4 as J,f4 as H}from"./cli-1.1.18-f2j32mha.mjs";import{x_ as v,y_ as Y}from"./cli-1.1.18-3y4pftxb.mjs";import{gta as V,kta as X}from"./cli-1.1.18-hvd9yyb4.mjs";function N(M){let b=L.c(5),{status:P,withSpace:D}=M,Q=D===void 0?!1:D,q=A[P],z=!q.color,B=Q&&" ",y;if(b[0]!==q.color||b[1]!==q.icon||b[2]!==z||b[3]!==B)y=J(K,{color:q.color,dimColor:z,children:[q.icon,B]}),b[0]=q.color,b[1]=q.icon,b[2]=z,b[3]=B,b[4]=y;else y=b[4];return y}var L,A;var C=X(()=>{Y();k();H();L=V(Z(),1),A={success:{icon:v.tick,color:"success"},error:{icon:v.cross,color:"error"},warning:{icon:v.warning,color:"warning"},info:{icon:v.info,color:"suggestion"},pending:{icon:v.circle,color:void 0},loading:{icon:"…",color:void 0}}});
2
- export{N as Ch,C as Dh};
@@ -1,2 +0,0 @@
1
- import{bia as G,mia as K}from"./cli-1.1.18-7pcfwrhj.mjs";import{cja as j,eja as M,fja as J,gja as N}from"./cli-1.1.18-esvp6n4e.mjs";M();K();N();var q={poll_interval_ms_not_at_capacity:2000,poll_interval_ms_at_capacity:600000,non_exclusive_heartbeat_interval_ms:0,multisession_poll_interval_ms_not_at_capacity:2000,multisession_poll_interval_ms_partial_capacity:2000,multisession_poll_interval_ms_at_capacity:600000,reclaim_older_than_ms:5000,session_keepalive_interval_v2_ms:120000};var B={message:"must be 0 (disabled) or ≥100ms"},P=J(()=>j.object({poll_interval_ms_not_at_capacity:j.number().int().min(100),poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B),non_exclusive_heartbeat_interval_ms:j.number().int().min(0).default(0),multisession_poll_interval_ms_not_at_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_not_at_capacity),multisession_poll_interval_ms_partial_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_partial_capacity),multisession_poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B).default(q.multisession_poll_interval_ms_at_capacity),reclaim_older_than_ms:j.number().int().min(1).default(5000),session_keepalive_interval_v2_ms:j.number().int().min(0).default(120000)}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or poll_interval_ms_at_capacity > 0"}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.multisession_poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or multisession_poll_interval_ms_at_capacity > 0"}));function $(){let b=G("tengu_bridge_poll_interval_config",q,300000),x=P().safeParse(b);return x.success?x.data:q}
2
- export{q as yb,$ as zb};
@@ -1 +0,0 @@
1
- import{cja as q,eja as A,fja as x,gja as B}from"./cli-1.1.18-esvp6n4e.mjs";import{Kka as J}from"./cli-1.1.18-ypcye8ae.mjs";import{Hla as G}from"./cli-1.1.18-cxg522yt.mjs";G();J();A();B();var F=x(()=>q.object({session_id:q.string(),ws_url:q.string(),work_dir:q.string().optional()}));
@@ -1,2 +0,0 @@
1
- import{bfa as P,wfa as y}from"./cli-1.1.18-3y4pftxb.mjs";import{kta as U}from"./cli-1.1.18-hvd9yyb4.mjs";var j,D,G,M,N,Y,C,_,R,E,I,f,k,A,h,b,u,T,p,m,w,L,O,X,$,e;var W=U(()=>{j=["common","uncommon","rare","epic","legendary"],D=String.fromCharCode,G=D(100,117,99,107),M=D(103,111,111,115,101),N=D(98,108,111,98),Y=D(99,97,116),C=D(100,114,97,103,111,110),_=D(111,99,116,111,112,117,115),R=D(111,119,108),E=D(112,101,110,103,117,105,110),I=D(116,117,114,116,108,101),f=D(115,110,97,105,108),k=D(103,104,111,115,116),A=D(97,120,111,108,111,116,108),h=D(99,97,112,121,98,97,114,97),b=D(99,97,99,116,117,115),u=D(114,111,98,111,116),T=D(114,97,98,98,105,116),p=D(109,117,115,104,114,111,111,109),m=D(99,104,111,110,107),w=[G,M,N,Y,C,_,R,E,I,f,k,A,h,b,u,T,p,m],L=["·","✦","×","◉","@","°"],O=["none","crown","tophat","propeller","halo","wizard","beanie","tinyduck"],X=["DEBUGGING","PATIENCE","CHAOS","WISDOM","SNARK"],$={common:60,uncommon:25,rare:10,epic:4,legendary:1},e={common:"inactive",uncommon:"success",rare:"permission",epic:"autoAccept",legendary:"warning"}});function v(q){let z=q>>>0;return function(){z|=0,z=z+1831565813|0;let B=Math.imul(z^z>>>15,1|z);return B=B+Math.imul(B^B>>>7,61|B)^B,((B^B>>>14)>>>0)/4294967296}}function F(q){if(typeof Bun<"u")return Number(BigInt(Bun.hash(q))&0xffffffffn);let z=2166136261;for(let B=0;B<q.length;B++)z^=q.charCodeAt(B),z=Math.imul(z,16777619);return z>>>0}function K(q,z){return z[Math.floor(q()*z.length)]}function S(q){let z=Object.values($).reduce((J,Q)=>J+Q,0),B=q()*z;for(let J of j)if(B-=$[J],B<0)return J;return"common"}function i(q,z){let B=d[z],J=K(q,X),Q=K(q,X);while(Q===J)Q=K(q,X);let Z={};for(let V of X)if(V===J)Z[V]=Math.min(100,B+50+Math.floor(q()*30));else if(V===Q)Z[V]=Math.max(1,B-10+Math.floor(q()*15));else Z[V]=B+Math.floor(q()*40);return Z}function H(q){let z=S(q);return{bones:{rarity:z,species:K(q,w),eye:K(q,L),hat:z==="common"?"none":K(q,O),shiny:q()<0.01,stats:i(q,z)},inspirationSeed:Math.floor(q()*1e9)}}function l(q){let z=q+c;if(x?.key===z)return x.value;let B=H(v(F(z)));return x={key:z,value:B},B}function a(q){return H(v(F(q)))}function s(){let q=P();return q.oauthAccount?.accountUuid??q.userID??"anon"}function r(){let q=P().companion;if(!q)return;let{bones:z}=l(s());return{...q,...z}}var d,c="friend-2026-401",x;var g=U(()=>{y();W();d={common:5,uncommon:15,rare:25,epic:35,legendary:50}});
2
- export{G as kX,M as lX,N as mX,Y as nX,C as oX,_ as pX,R as qX,E as rX,I as sX,f as tX,k as uX,A as vX,h as wX,b as xX,u as yX,T as zX,p as AX,m as BX,e as CX,W as DX,a as EX,s as FX,r as GX,g as HX};
@@ -1,2 +0,0 @@
1
- import{Ac as U,Bc as $,wc as O,xc as Q}from"./cli-1.1.18-bfzft69m.mjs";import{BG as N,DG as _}from"./cli-1.1.18-xfb4pete.mjs";import{H1 as Z,a1 as G,c1 as z}from"./cli-1.1.18-2w9274tq.mjs";import{d4 as q,e4 as F,f4 as K}from"./cli-1.1.18-f2j32mha.mjs";import{g4 as Y}from"./cli-1.1.18-cjkn7t4k.mjs";import{gta as W,kta as X}from"./cli-1.1.18-hvd9yyb4.mjs";function R({enabled:J,onDismiss:H}){let[w,A]=V.useState(()=>J?{kind:"prompt"}:{kind:"hidden"});if(!J||w.kind==="hidden")return null;if(w.kind==="running")return F(G,{flexDirection:"column",marginBottom:1,children:[q(z,{color:"warning",bold:!0,children:"Migrating ~/.claude/ to ~/.claudin/..."}),q(z,{dimColor:!0,children:"Copying tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings."})]});if(w.kind==="success"||w.kind==="error"){let I=w.kind==="success"?"success":"warning",E=w.kind==="success"?"Migration complete":"Migration finished with warnings";return F(G,{flexDirection:"column",marginBottom:1,children:[q(z,{color:I,bold:!0,children:E}),q(z,{children:Q(w.report)})]})}return F(G,{flexDirection:"column",marginBottom:1,children:[q(z,{color:"warning",bold:!0,children:"Found Claude Code config at ~/.claude/"}),q(z,{children:"Import API tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings into ~/.claudin/?"}),q(N,{options:[{value:"migrate",label:"Migrate now",description:"Copy tokens, settings, CLAUDE.md, skills, agents, commands, plugins, keybindings."},{value:"skip",label:"Skip — start fresh",description:"Don't ask again this profile."}],onChange:(I)=>{if(I==="skip"){U(),A({kind:"hidden"}),H?.("skipped");return}A({kind:"running"}),(async()=>{let E=await O();A({kind:E.errors.length===0?"success":"error",report:E}),H?.("migrated")})()},onCancel:()=>{A({kind:"hidden"}),H?.("skipped")},visibleOptionCount:2})]})}var V;var f=X(()=>{Z();$();_();K();V=W(Y(),1)});
2
- export{R as uc,f as vc};
@@ -1,6 +0,0 @@
1
- import{gla as ZX,jla as y8}from"./cli-1.1.18-mz10pywc.mjs";import{Bla as r,Hla as R8}from"./cli-1.1.18-cxg522yt.mjs";import{Kla as $X,Nla as NJ,Vla as j8}from"./cli-1.1.18-3s03nva1.mjs";import{Ama as w,Bma as kQ,Ema as yJ,Fma as OX,Gma as h,Hma as vJ,Ima as tJ,Jma as hX,Kma as hJ,Lma as wX,Mma as y,Nma as OJ,Oma as gQ,Pma as m6,Sma as O,Tma as GJ,Wla as dQ,Xla as P6,ama as qJ,bma as oX,ema as eJ,fma as fX,gma as fQ,hma as T6,ima as $Q,jma as cX,mma as JQ,nma as pX,oma as g,pma as oJ,qma as n,rma as LQ,uma as pQ,vma as v6,yma as l,yra as sQ,zma as wQ,zna as XX}from"./cli-1.1.18-4c3jqppx.mjs";import{Ara as CX,Fra as cJ,Gra as TX,Hra as HJ,Ira as J6,Lra as L,Mra as XJ,Rra as LJ,Sra as zX,Xra as V,Yra as xJ,zra as SJ}from"./cli-1.1.18-417wb57s.mjs";import{jta as uJ,kta as U,mta as N,nta as W}from"./cli-1.1.18-hvd9yyb4.mjs";function zJ({writeFn:J,flushIntervalMs:Q=1000,maxBufferSize:X=100,maxBufferBytes:$=1/0,immediateMode:Y=!1}){let Z=[],q=0,H=null,G=null;function I(){if(H)clearTimeout(H),H=null}function B(){if(G)J(G.join("")),G=null;if(Z.length===0)return;J(Z.join("")),Z=[],q=0,I()}function M(){if(!H)H=setTimeout(B,Q)}function F(){if(G){G.push(...Z),Z=[],q=0,I();return}let x=Z;Z=[],q=0,I(),G=x,setImmediate(()=>{let v=G;if(G=null,v)J(v.join(""))})}return{write(x){if(Y){J(x);return}if(Z.push(x),q+=x.length,M(),Z.length>=X||q>=$)F()},flush:B,dispose(){B()}}}var BJ=()=>{};function IJ(J){return t.add(J),()=>t.delete(J)}async function r8(){await Promise.all(Array.from(t).map((J)=>J()))}var t;var CJ=U(()=>{t=new Set});function WX(J){let Q=[],X=J.match(/^MCP server ["']([^"']+)["']/);if(X&&X[1])Q.push("mcp"),Q.push(X[1].toLowerCase());else{let Z=J.match(/^([^:[]+):/);if(Z&&Z[1])Q.push(Z[1].trim().toLowerCase())}let $=J.match(/^\[([^\]]+)]/);if($&&$[1])Q.push($[1].trim().toLowerCase());if(J.toLowerCase().includes("1p event:"))Q.push("1p");let Y=J.match(/:\s*([^:]+?)(?:\s+(?:type|mode|status|event))?:/);if(Y&&Y[1]){let Z=Y[1].trim().toLowerCase();if(Z.length<30&&!Z.includes(" "))Q.push(Z)}return Array.from(new Set(Q))}function EX(J,Q){if(!Q)return!0;if(J.length===0)return!1;if(Q.isExclusive)return!J.some((X)=>Q.exclude.includes(X));else return J.some((X)=>Q.include.includes(X))}function VJ(J,Q){if(!Q)return!0;let X=WX(J);return EX(X,Q)}var FJ;var DJ=U(()=>{xJ();FJ=V((J)=>{if(!J||J.trim()==="")return null;let Q=J.split(",").map((Z)=>Z.trim()).filter(Boolean);if(Q.length===0)return null;let X=Q.some((Z)=>Z.startsWith("!")),$=Q.some((Z)=>!Z.startsWith("!"));if(X&&$)return null;let Y=Q.map((Z)=>Z.replace(/^!/,"").toLowerCase());return{include:X?[]:Y,exclude:X?Y:[],isExclusive:X}})});function MX(J,Q){var X=-1,$=J==null?0:J.length;while(++X<$)if(Q(J[X],X,J)===!1)break;return J}var RJ;var AJ=U(()=>{RJ=MX});var BX,e;var _J=U(()=>{zX();BX=function(){try{var J=LJ(Object,"defineProperty");return J({},"",{}),J}catch(Q){}}(),e=BX});function IX(J,Q,X){if(Q=="__proto__"&&e)e(J,Q,{configurable:!0,enumerable:!0,value:X,writable:!0});else J[Q]=X}var m;var JJ=U(()=>{_J();m=IX});function VX(J,Q,X){var $=J[Q];if(!(FX.call(J,Q)&&SJ($,X))||X===void 0&&!(Q in J))m(J,Q,X)}var xX,FX,j;var QJ=U(()=>{JJ();CX();xX=Object.prototype,FX=xX.hasOwnProperty;j=VX});function DX(J,Q,X,$){var Y=!X;X||(X={});var Z=-1,q=Q.length;while(++Z<q){var H=Q[Z],G=$?$(X[H],J[H],H,X,J):void 0;if(G===void 0)G=J[H];if(Y)m(X,H,G);else j(X,H,G)}return X}var R;var k=U(()=>{QJ();JJ();R=DX});function RX(J,Q){return J&&R(Q,y(Q),J)}var wJ;var kJ=U(()=>{k();OJ();wJ=RX});function AX(J){var Q=[];if(J!=null)for(var X in Object(J))Q.push(X);return Q}var PJ;var TJ=U(()=>{PJ=AX});function SX(J){if(!L(J))return PJ(J);var Q=h(J),X=[];for(var $ in J)if(!($=="constructor"&&(Q||!_X.call(J,$))))X.push($);return X}var LX,_X,mJ;var jJ=U(()=>{XJ();vJ();TJ();LX=Object.prototype,_X=LX.hasOwnProperty;mJ=SX});function kX(J){return hJ(J)?yJ(J,!0):mJ(J)}var _;var d=U(()=>{OX();jJ();wX();_=kX});function PX(J,Q){return J&&R(Q,_(Q),J)}var dJ;var fJ=U(()=>{k();d();dJ=PX});var p={};uJ(p,{default:()=>$J});function mX(J,Q){if(Q)return J.slice();var X=J.length,$=bJ?bJ(X):new J.constructor(X);return J.copy($),$}var nJ,pJ,vX,gJ,bJ,$J;var lJ=U(()=>{TX();nJ=typeof p=="object"&&p&&!p.nodeType&&p,pJ=nJ&&typeof f=="object"&&f&&!f.nodeType&&f,vX=pJ&&pJ.exports===nJ,gJ=vX?cJ.Buffer:void 0,bJ=gJ?gJ.allocUnsafe:void 0;$J=mX});function jX(J,Q){var X=-1,$=J.length;Q||(Q=Array($));while(++X<$)Q[X]=J[X];return Q}var iJ;var rJ=U(()=>{iJ=jX});function yX(J,Q){return R(J,g(J),Q)}var sJ;var aJ=U(()=>{k();oJ();sJ=yX});var dX,b;var ZJ=U(()=>{hX();dX=tJ(Object.getPrototypeOf,Object),b=dX});var gX,bX,u;var YJ=U(()=>{fX();ZJ();oJ();pX();gX=Object.getOwnPropertySymbols,bX=!gX?JQ:function(J){var Q=[];while(J)eJ(Q,g(J)),J=b(J);return Q},u=bX});function uX(J,Q){return R(J,u(J),Q)}var QQ;var XQ=U(()=>{k();YJ();QQ=uX});function nX(J){return $Q(J,_,u)}var ZQ;var YQ=U(()=>{cX();YJ();d();ZQ=nX});function rX(J){var Q=J.length,X=new J.constructor(Q);if(Q&&typeof J[0]=="string"&&iX.call(J,"index"))X.index=J.index,X.input=J.input;return X}var lX,iX,qQ;var HQ=U(()=>{lX=Object.prototype,iX=lX.hasOwnProperty;qQ=rX});function sX(J){var Q=new J.constructor(J.byteLength);return new qJ(Q).set(new qJ(J)),Q}var S;var c=U(()=>{oX();S=sX});function aX(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.byteLength)}var GQ;var KQ=U(()=>{c();GQ=aX});function eX(J){var Q=new J.constructor(J.source,tX.exec(J));return Q.lastIndex=J.lastIndex,Q}var tX,UQ;var NQ=U(()=>{tX=/\w*$/;UQ=eX});function Q6(J){return EQ?Object(EQ.call(J)):{}}var WQ,EQ,MQ;var zQ=U(()=>{J6();WQ=HJ?HJ.prototype:void 0,EQ=WQ?WQ.valueOf:void 0;MQ=Q6});function X6(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.length)}var BQ;var IQ=U(()=>{c();BQ=X6});function D6(J,Q,X){var $=J.constructor;switch(Q){case N6:return S(J);case $6:case Z6:return new $(+J);case W6:return GQ(J,X);case E6:case M6:case z6:case B6:case I6:case C6:case x6:case F6:case V6:return BQ(J,X);case Y6:return new $;case q6:case K6:return new $(J);case H6:return UQ(J);case G6:return new $;case U6:return MQ(J)}}var $6="[object Boolean]",Z6="[object Date]",Y6="[object Map]",q6="[object Number]",H6="[object RegExp]",G6="[object Set]",K6="[object String]",U6="[object Symbol]",N6="[object ArrayBuffer]",W6="[object DataView]",E6="[object Float32Array]",M6="[object Float64Array]",z6="[object Int8Array]",B6="[object Int16Array]",I6="[object Int32Array]",C6="[object Uint8Array]",x6="[object Uint8ClampedArray]",F6="[object Uint16Array]",V6="[object Uint32Array]",CQ;var xQ=U(()=>{c();KQ();NQ();zQ();IQ();CQ=D6});var FQ,R6,VQ;var DQ=U(()=>{XJ();FQ=Object.create,R6=function(){function J(){}return function(Q){if(!L(Q))return{};if(FQ)return FQ(Q);J.prototype=Q;var X=new J;return J.prototype=void 0,X}}(),VQ=R6});function A6(J){return typeof J.constructor=="function"&&!h(J)?VQ(b(J)):{}}var RQ;var AQ=U(()=>{DQ();ZJ();vJ();RQ=A6});function _6(J){return n(J)&&O(J)==L6}var L6="[object Map]",_Q;var SQ=U(()=>{GJ();LQ();_Q=_6});var OQ,S6,PQ;var TQ=U(()=>{SQ();wQ();kQ();OQ=w&&w.isMap,S6=OQ?l(OQ):_Q,PQ=S6});function w6(J){return n(J)&&O(J)==O6}var O6="[object Set]",vQ;var mQ=U(()=>{GJ();LQ();vQ=w6});var jQ,k6,yQ;var hQ=U(()=>{mQ();wQ();kQ();jQ=w&&w.isSet,k6=jQ?l(jQ):vQ,yQ=k6});function i(J,Q,X,$,Y,Z){var q,H=Q&j6,G=Q&y6,I=Q&h6;if(X)q=Y?X(J,$,Y,Z):X(J);if(q!==void 0)return q;if(!L(J))return J;var B=fQ(J);if(B){if(q=qQ(J),!H)return iJ(J,q)}else{var M=O(J),F=M==uQ||M==b6;if(pQ(J))return $J(J,H);if(M==cQ||M==bQ||F&&!Y){if(q=G||F?{}:RQ(J),!H)return G?QQ(J,dJ(q,J)):sJ(J,wJ(q,J))}else{if(!z[M])return Y?J:{};q=CQ(J,M,H)}}Z||(Z=new dQ);var x=Z.get(J);if(x)return x;if(Z.set(J,q),yQ(J))J.forEach(function(D){q.add(i(D,Q,X,D,J,Z))});else if(PQ(J))J.forEach(function(D,A){q.set(A,i(D,Q,X,A,J,Z))});var v=I?G?ZQ:gQ:G?_:y,MJ=B?void 0:v(J);return RJ(MJ||J,function(D,A){if(MJ)A=D,D=J[A];j(q,A,i(D,Q,X,A,J,Z))}),q}var j6=1,y6=2,h6=4,bQ="[object Arguments]",d6="[object Array]",f6="[object Boolean]",p6="[object Date]",g6="[object Error]",uQ="[object Function]",b6="[object GeneratorFunction]",u6="[object Map]",c6="[object Number]",cQ="[object Object]",n6="[object RegExp]",l6="[object Set]",i6="[object String]",r6="[object Symbol]",o6="[object WeakMap]",s6="[object ArrayBuffer]",a6="[object DataView]",t6="[object Float32Array]",e6="[object Float64Array]",J8="[object Int8Array]",Q8="[object Int16Array]",X8="[object Int32Array]",$8="[object Uint8Array]",Z8="[object Uint8ClampedArray]",Y8="[object Uint16Array]",q8="[object Uint32Array]",z,nQ;var lQ=U(()=>{P6();AJ();QJ();kJ();fJ();lJ();rJ();aJ();XQ();m6();YQ();GJ();HQ();xQ();AQ();T6();v6();TQ();XJ();hQ();OJ();d();z={};z[bQ]=z[d6]=z[s6]=z[a6]=z[f6]=z[p6]=z[t6]=z[e6]=z[J8]=z[Q8]=z[X8]=z[u6]=z[c6]=z[cQ]=z[n6]=z[l6]=z[i6]=z[r6]=z[$8]=z[Z8]=z[Y8]=z[q8]=!0;z[g6]=z[uQ]=z[o6]=!1;nQ=i});function K8(J){return nQ(J,H8|G8)}var H8=1,G8=4,iQ;var rQ=U(()=>{lQ();iQ=K8});var V8={};uJ(V8,{writeFileSync_DEPRECATED:()=>F8,slowLogging:()=>E,jsonStringify:()=>KJ,jsonParse:()=>I8,cloneDeep:()=>x8,clone:()=>C8,callerFrame:()=>M8,SLOW_OPERATION_THRESHOLD_MS:()=>E8});import{closeSync as U8,writeFileSync as oQ,fsyncSync as N8,openSync as W8}from"fs";function M8(J){if(!J)return"";for(let Q of J.split(`
2
- `)){if(Q.includes("slowOperations"))continue;let X=Q.match(/([^/\\]+?):(\d+):\d+\)?$/);if(X)return` @ ${X[1]}:${X[2]}`}return""}function B8(){return z8}function KJ(J,Q,X){let Y=[];try{const $=N(Y,E`JSON.stringify(${J})`,0);return JSON.stringify(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}}function C8(J,Q){let $=[];try{const X=N($,E`structuredClone(${J})`,0);return structuredClone(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}}function x8(J){let X=[];try{const Q=N(X,E`cloneDeep(${J})`,0);return iQ(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}}function F8(J,Q,X){let Z=[];try{const $=N(Z,E`fs.writeFileSync(${J}, ${Q})`,0);let Y=X!==null&&typeof X==="object"&&"flush"in X&&X.flush===!0;if(Y){let I=typeof X==="object"&&"encoding"in X?X.encoding:void 0,B=typeof X==="object"&&"mode"in X?X.mode:void 0,M;try{M=W8(J,"w",B),oQ(M,Q,{encoding:I??void 0}),N8(M)}finally{if(M!==void 0)U8(M)}}else oQ(J,Q,X)}catch(q){var H=q,G=1}finally{W(Z,H,G)}}var E8,z8,E,I8=(J,Q)=>{let $=[];try{const X=N($,E`JSON.parse(${J})`,0);return typeof Q>"u"?JSON.parse(J):JSON.parse(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}};var UJ=U(()=>{rQ();sQ();aQ();E8=(()=>{let J=process.env.CLAUDIN_SLOW_OPERATION_THRESHOLD_MS;if(J!==void 0){let Q=Number(J);if(!Number.isNaN(Q)&&Q>=0)return Q}return 1/0})();z8={[Symbol.dispose](){}};E=B8});import*as K from"fs";import{mkdir as A8,open as o,readdir as L8,readFile as tQ,copyFile as _8,rename as S8,rmdir as O8,rm as w8,stat as k8,unlink as P8}from"fs/promises";import{homedir as eQ}from"os";import*as C from"path";function JX(J,Q){if(Q.startsWith("//")||Q.startsWith("\\\\"))return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};try{let X=J.lstatSync(Q);if(X.isFIFO()||X.isSocket()||X.isCharacterDevice()||X.isBlockDevice())return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};let $=J.realpathSync(Q);return{resolvedPath:$,isSymlink:$!==Q,isCanonical:!0}}catch(X){return{resolvedPath:Q,isSymlink:!1,isCanonical:!1}}}function H1(J,Q,X){let{resolvedPath:$}=JX(J,Q);if(X.has($))return!0;return X.add($),!1}function T8(J,Q){let X=Q,$=[];while(X!==C.dirname(X)){let Y;try{Y=J.lstatSync(X)}catch{$.unshift(C.basename(X)),X=C.dirname(X);continue}if(Y.isSymbolicLink())try{let Z=J.realpathSync(X);return $.length===0?Z:C.join(Z,...$)}catch{let Z=J.readlinkSync(X),q=C.isAbsolute(Z)?Z:C.resolve(C.dirname(X),Z);return $.length===0?q:C.join(q,...$)}try{let Z=J.realpathSync(X);if(Z!==X)return $.length===0?Z:C.join(Z,...$)}catch{}return}return}function G1(J){let Q=J;if(Q==="~")Q=eQ().normalize("NFC");else if(Q.startsWith("~/"))Q=C.join(eQ().normalize("NFC"),Q.slice(2));let X=new Set,$=s();if(X.add(Q),Q.startsWith("//")||Q.startsWith("\\\\"))return Array.from(X);try{let q=Q,H=new Set,G=40;for(let I=0;I<G;I++){if(H.has(q))break;if(H.add(q),!$.existsSync(q)){if(q===Q){let x=T8($,Q);if(x!==void 0)X.add(x)}break}let B=$.lstatSync(q);if(B.isFIFO()||B.isSocket()||B.isCharacterDevice()||B.isBlockDevice())break;if(!B.isSymbolicLink())break;let M=$.readlinkSync(q),F=C.isAbsolute(M)?M:C.resolve(C.dirname(q),M);X.add(F),q=F}}catch{}let{resolvedPath:Y,isSymlink:Z}=JX($,Q);if(Z&&Y!==Q)X.add(Y);return Array.from(X)}function s(){return m8}async function K1(J,Q,X){let G=[];try{const $=N(G,await o(J,"r"),1);let Y=(await $.stat()).size;if(Y<=Q)return null;let Z=Math.min(Y-Q,X);let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await $.read(q,H,Z-H,Q+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:Y}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function U1(J,Q){let G=[];try{const X=N(G,await o(J,"r"),1);let $=(await X.stat()).size;if($===0)return{content:"",bytesRead:0,bytesTotal:0};let Y=Math.max(0,$-Q);let Z=$-Y;let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await X.read(q,H,Z-H,Y+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:$}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function*N1(J){let X=await o(J,"r");try{let Y=(await X.stat()).size,Z=Buffer.alloc(0),q=Buffer.alloc(4096);while(Y>0){let H=Math.min(4096,Y);Y-=H,await X.read(q,0,H,Y);let G=Buffer.concat([q.subarray(0,H),Z]),I=G.indexOf(10);if(I===-1){Z=G;continue}Z=Buffer.from(G.subarray(0,I));let B=G.toString("utf8",I+1).split(`
3
- `);for(let M=B.length-1;M>=0;M--){let F=B[M];if(F)yield F}}if(Z.length>0)yield Z.toString("utf8")}finally{await X.close()}}var v8,m8;var QX=U(()=>{R8();UJ();v8={cwd(){return process.cwd()},existsSync(J){let X=[];try{const Q=N(X,E`fs.existsSync(${J})`,0);return K.existsSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},async stat(J){return k8(J)},async readdir(J){return L8(J,{withFileTypes:!0})},async unlink(J){return P8(J)},async rmdir(J){return O8(J)},async rm(J,Q){return w8(J,Q)},async mkdir(J,Q){try{await A8(J,{recursive:!0,...Q})}catch(X){if(r(X)!=="EEXIST")throw X}},async readFile(J,Q){return tQ(J,{encoding:Q.encoding})},async rename(J,Q){return S8(J,Q)},async copyFile(J,Q){let $=[];try{const X=N($,E`fs.copyFile(${J} → ${Q})`,0);return _8(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},statSync(J){let X=[];try{const Q=N(X,E`fs.statSync(${J})`,0);return K.statSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},lstatSync(J){let X=[];try{const Q=N(X,E`fs.lstatSync(${J})`,0);return K.lstatSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readFileSync(J,Q){let $=[];try{const X=N($,E`fs.readFileSync(${J})`,0);return K.readFileSync(J,{encoding:Q.encoding})}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},readFileBytesSync(J){let X=[];try{const Q=N(X,E`fs.readFileBytesSync(${J})`,0);return K.readFileSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readSync(J,Q){let Y=[];try{const X=N(Y,E`fs.readSync(${J}, ${Q.length} bytes)`,0);let $=void 0;try{$=K.openSync(J,"r");let G=Buffer.alloc(Q.length),I=K.readSync($,G,0,Q.length,0);return{buffer:G,bytesRead:I}}finally{if($)K.closeSync($)}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},appendFileSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.appendFileSync(${J}, ${Q.length} chars)`,0);if(X?.mode!==void 0)try{let G=K.openSync(J,"ax",X.mode);try{K.appendFileSync(G,Q)}finally{K.closeSync(G)}return}catch(G){if(r(G)!=="EEXIST")throw G}K.appendFileSync(J,Q)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},copyFileSync(J,Q){let $=[];try{const X=N($,E`fs.copyFileSync(${J} → ${Q})`,0);K.copyFileSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},unlinkSync(J){let X=[];try{const Q=N(X,E`fs.unlinkSync(${J})`,0);K.unlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},renameSync(J,Q){let $=[];try{const X=N($,E`fs.renameSync(${J} → ${Q})`,0);K.renameSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},linkSync(J,Q){let $=[];try{const X=N($,E`fs.linkSync(${J} → ${Q})`,0);K.linkSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},symlinkSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.symlinkSync(${J} → ${Q})`,0);K.symlinkSync(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readlinkSync(J){let X=[];try{const Q=N(X,E`fs.readlinkSync(${J})`,0);return K.readlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},realpathSync(J){let X=[];try{const Q=N(X,E`fs.realpathSync(${J})`,0);return K.realpathSync(J).normalize("NFC")}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},mkdirSync(J,Q){let Y=[];try{const X=N(Y,E`fs.mkdirSync(${J})`,0);let $={recursive:!0};if(Q?.mode!==void 0)$.mode=Q.mode;try{K.mkdirSync(J,$)}catch(G){if(r(G)!=="EEXIST")throw G}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readdirSync(J){let X=[];try{const Q=N(X,E`fs.readdirSync(${J})`,0);return K.readdirSync(J,{withFileTypes:!0})}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readdirStringSync(J){let X=[];try{const Q=N(X,E`fs.readdirStringSync(${J})`,0);return K.readdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},isDirEmptySync(J){let $=[];try{const Q=N($,E`fs.isDirEmptySync(${J})`,0);let X=this.readdirSync(J);return X.length===0}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},rmdirSync(J){let X=[];try{const Q=N(X,E`fs.rmdirSync(${J})`,0);K.rmdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},rmSync(J,Q){let $=[];try{const X=N($,E`fs.rmSync(${J})`,0);K.rmSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},createWriteStream(J){return K.createWriteStream(J)},async readFileBytes(J,Q){if(Q===void 0)return tQ(J);let X=await o(J,"r");try{let{size:$}=await X.stat(),Y=Math.min($,Q),Z=Buffer.allocUnsafe(Y),q=0;while(q<Y){let{bytesRead:H}=await X.read(Z,q,Y-q,q);if(H===0)break;q+=H}return q<Y?Z.subarray(0,q):Z}finally{await X.close()}}},m8=v8});import{appendFile as h8,mkdir as d8,symlink as f8,unlink as p8}from"fs/promises";import{dirname as YX,join as qX}from"path";function L1(){let J=T();return HX=!0,T.cache.clear?.(),J}function u8(J){if(!T())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let Q=b8();return VJ(J,Q)}function _1(J){EJ=J}function S1(){return EJ}async function c8(J,Q,X,$){if(J)await d8(Q,{recursive:!0}).catch(()=>{});await h8(X,$),NX()}function n8(){}function l8(){if(!P){let J=null;P=zJ({writeFn:(Q)=>{let X=UX(),$=YX(X),Y=J!==$;if(J=$,T()){if(Y)try{s().mkdirSync($)}catch{}s().appendFileSync(X,Q),NX();return}a=a.then(c8.bind(null,Y,$,X,Q)).catch(n8)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:T()}),IJ(async()=>{P?.dispose(),await a})}return P}async function O1(){P?.flush(),await a}function D8(J,{level:Q}={level:"debug"}){if(WJ[Q]<WJ[g8()])return;if(!u8(J))return;if(EJ&&J.includes(`
4
- `))J=KJ(J);let $=`${new Date().toISOString()} [${Q.toUpperCase()}] ${J.trim()}
5
- `;if(GX()){ZX($);return}l8().write($)}function UX(){return KX()??process.env.CLAUDIN_DEBUG_LOGS_DIR??qX($X(),"debug",`${XX()}.txt`)}function w1(J,Q){}var WJ,g8,HX=!1,T,b8,GX,KX,EJ=!1,P=null,a,NX;var aQ=U(()=>{xJ();sQ();BJ();CJ();DJ();j8();QX();y8();UJ();WJ={verbose:0,debug:1,info:2,warn:3,error:4},g8=V(()=>{let J=process.env.CLAUDIN_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(J&&Object.hasOwn(WJ,J))return J;return"debug"}),T=V(()=>{return HX||NJ(process.env.DEBUG)||NJ(process.env.DEBUG_SDK)||process.argv.includes("--debug")||process.argv.includes("-d")||GX()||process.argv.some((J)=>J.startsWith("--debug="))||KX()!==null});b8=V(()=>{let J=process.argv.find((X)=>X.startsWith("--debug="));if(!J)return null;let Q=J.substring(8);return FJ(Q)}),GX=V(()=>{return process.argv.includes("--debug-to-stderr")||process.argv.includes("-D")}),KX=V(()=>{for(let J=0;J<process.argv.length;J++){let Q=process.argv[J];if(Q.startsWith("--debug-file="))return Q.substring(13);if(Q==="--debug-file"&&J+1<process.argv.length)return process.argv[J+1]}return null});a=Promise.resolve();NX=V(async()=>{try{let J=UX(),Q=YX(J),X=qX(Q,"latest");await p8(X).catch(()=>{}),await f8(J,X)}catch{}})});
6
- export{zJ as bka,BJ as cka,IJ as dka,r8 as eka,CJ as fka,e as gka,_J as hka,m as ika,JJ as jka,j as kka,QJ as lka,R as mka,k as nka,_ as oka,d as pka,$J as qka,lJ as rka,iJ as ska,rJ as tka,b as uka,ZJ as vka,ZQ as wka,YQ as xka,BQ as yka,IQ as zka,RQ as Aka,AQ as Bka,nQ as Cka,lQ as Dka,E as Eka,KJ as Fka,I8 as Gka,C8 as Hka,F8 as Ika,V8 as Jka,UJ as Kka,JX as Lka,H1 as Mka,G1 as Nka,s as Oka,K1 as Pka,U1 as Qka,N1 as Rka,QX as Ska,g8 as Tka,T as Uka,L1 as Vka,b8 as Wka,GX as Xka,KX as Yka,_1 as Zka,S1 as _ka,O1 as $ka,D8 as ala,UX as bla,w1 as cla,aQ as dla};
@@ -1,12 +0,0 @@
1
- import{m9 as D}from"./cli-1.1.18-af7txyky.mjs";import{Oka as L,Ska as JG,ala as W,dla as a}from"./cli-1.1.18-ypcye8ae.mjs";import{Mla as c,Nla as jG,Vla as GG}from"./cli-1.1.18-3s03nva1.mjs";import{Xra as q,Yra as g}from"./cli-1.1.18-417wb57s.mjs";import{Ksa as RG,ssa as H}from"./cli-1.1.18-vzrv28w4.mjs";import{Rsa as XG}from"./cli-1.1.18-4jy396p1.mjs";import{gta as WG,kta as j,lta as e}from"./cli-1.1.18-hvd9yyb4.mjs";function yG(){U.cache.clear?.(),W("Cleared CA certificates cache")}var U;var i=j(()=>{g();a();GG();JG();U=q(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if(W(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=e("tls"),K=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)K.push(...Z),W(`CA certs: Loaded ${K.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){W("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base (--use-system-ca fallback)`)}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});K.push(Y),W(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){W(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return K.length>0?K:void 0})});import{Agent as IG}from"https";function gG(){let G=N(),J=U();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function P(){let G=N(),J=U();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return W("TLS: Created undici agent with custom certificates"),{dispatcher:new(D()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function aG(){N.cache.clear?.(),C.cache.clear?.(),W("Cleared mTLS configuration cache")}function iG(){if(!N())return;if(process.env.NODE_EXTRA_CA_CERTS)W("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var N,C;var KG=j(()=>{g();i();a();JG();N=q(()=>{let G={};if(process.env.CLAUDIN_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDIN_CLIENT_CERT,{encoding:"utf8"}),W("mTLS: Loaded client certificate from CLAUDIN_CLIENT_CERT")}catch(J){W(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDIN_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDIN_CLIENT_KEY,{encoding:"utf8"}),W("mTLS: Loaded client key from CLAUDIN_CLIENT_KEY")}catch(J){W(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDIN_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDIN_CLIENT_KEY_PASSPHRASE,W("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),C=q(()=>{let G=N(),J=U();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return W("mTLS: Creating HTTPS agent with custom certificates"),new IG(Q)})});var QG=()=>{};import*as YG from"net";import*as ZG from"http";import{Agent as SG}from"https";var B,p;var $G=j(()=>{QG();B=Symbol("AgentBaseInternalState");p=class p extends ZG.Agent{constructor(G){super(G);this[B]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
2
- `).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new YG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],K=Q.indexOf(J);if(K!==-1){if(Q.splice(K,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return SG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let K={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(K),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,K)).then((X)=>{if(this.decrementSockets(Y,Z),typeof X.addRequest==="function")try{return X.addRequest(G,K)}catch($){return Q($)}this[B].currentSocket=X,super.createSocket(G,J,Q)},(X)=>{this.decrementSockets(Y,Z),Q(X)})}createConnection(){let G=this[B].currentSocket;if(this[B].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[B].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[B])this[B].defaultPort=G}get protocol(){return this[B].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[B])this[B].protocol=G}}});function n(G){return new Promise((J,Q)=>{let K=0,Y=[];function Z(){let w=G.read();if(w)_(w);else G.once("readable",Z)}function X(){G.removeListener("end",$),G.removeListener("error",V),G.removeListener("readable",Z)}function $(){X(),v("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function V(w){X(),v("onerror %o",w),Q(w)}function _(w){Y.push(w),K+=w.length;let z=Buffer.concat(Y,K),O=z.indexOf(`\r
3
- \r
4
- `);if(O===-1){v("have not received end of HTTP headers yet..."),Z();return}let b=z.slice(0,O).toString("ascii").split(`\r
5
- `),f=b.shift();if(!f)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=f.split(" "),FG=+t[1],EG=t.slice(2).join(" "),I={};for(let S of b){if(!S)continue;let u=S.indexOf(":");if(u===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${S}"`));let d=S.slice(0,u).toLowerCase(),l=S.slice(u+1).trimStart(),A=I[d];if(typeof A==="string")I[d]=[A,l];else if(Array.isArray(A))A.push(l);else I[d]=l}v("got proxy server response: %o %o",f,I),X(),J({connect:{statusCode:FG,statusText:EG,headers:I},buffered:z})}G.on("error",V),G.on("end",$),Z()})}var wG,v;var zG=j(()=>{wG=WG(XG(),1),v=wG.default("https-proxy-agent:parse-proxy-response")});function VG(){return async({response:G,scheme:J})=>{if(J.toLowerCase()!=="negotiate")throw Error(`Expected Negotiate scheme but got "${J}"`);let Q;try{Q=await import("kerberos")}catch{throw Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}let K=G.headers["proxy-authenticate"]||"",Y=Array.isArray(K)?K[0]:K,Z=typeof Y==="string"&&Y.includes(" ")?Y.split(" ").slice(1).join(" "):void 0,$=await(await Q.initializeClient("HTTP@proxy",{mechOID:Q.GSS_MECH_OID_SPNEGO})).step(Z||"");if(!$)throw Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${$}`}}}}var BG=()=>{};import*as M from"net";import*as R from"tls";import LG from"assert";import{URL as DG}from"url";function MG(G){setImmediate(()=>{G.resume()})}function s(G,...J){let Q={},K;for(K in G)if(!J.includes(K))Q[K]=G[K];return Q}var HG,F,k=(G)=>{if(G.servername===void 0&&G.host&&!M.isIP(G.host))return{...G,servername:G.host};return G},m;var _G=j(()=>{$G();zG();BG();HG=WG(XG(),1),F=HG.default("https-proxy-agent");m=class m extends p{constructor(G,J){super(J);if(this.options={path:void 0},this.proxy=typeof G==="string"?new DG(G):G,this.proxyHeaders=J?.headers??{},F("Creating new HttpsProxyAgent instance: %o",this.proxy.href),J?.negotiate)this.onProxyAuth=VG();else if(J?.onProxyAuth)this.onProxyAuth=J.onProxyAuth;let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),K=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?s(J,"headers","onProxyAuth","negotiate"):null,host:Q,port:K}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let K;if(Q.protocol==="https:")F("Creating `tls.Socket`: %o",this.connectOpts),K=R.connect(k(this.connectOpts));else F("Creating `net.Socket`: %o",this.connectOpts),K=M.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=M.isIPv6(J.host)?`[${J.host}]`:J.host,X=`CONNECT ${Z}:${J.port} HTTP/1.1\r
6
- `;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))X+=`${z}: ${Y[z]}\r
7
- `;let $=n(K);K.write(`${X}\r
8
- `);let{connect:V,buffered:_}=await $;if(G.emit("proxyConnect",V),this.emit("proxyConnect",V,G),G.emit("proxy",{proxy:this.proxy.href,socket:K}),V.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return F("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:K});return K}if(V.statusCode===407&&this.onProxyAuth){F("Got 407 response, invoking onProxyAuth callback"),K.destroy();let z=V.headers["proxy-authenticate"]||"",O=Array.isArray(z)?z[0].split(/\s/)[0]:z.split(/\s/)[0],b=await this.onProxyAuth({response:V,scheme:O});return this._connectWithAuth(G,J,b.headers)}K.destroy();let w=new M.Socket({writable:!1});return w.readable=!0,G.once("socket",(z)=>{F("Replaying proxy buffer for failed request"),LG(z.listenerCount("data")>0),z.push(_),z.push(null)}),w}async _connectWithAuth(G,J,Q){let{proxy:K}=this,Y;if(K.protocol==="https:")Y=R.connect(k(this.connectOpts));else Y=M.connect(this.connectOpts);let Z=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},X=M.isIPv6(J.host)?`[${J.host}]`:J.host,$=`CONNECT ${X}:${J.port} HTTP/1.1\r
9
- `;if(K.username||K.password){let w=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Z["Proxy-Authorization"]=`Basic ${Buffer.from(w).toString("base64")}`}if(Object.assign(Z,Q),Z.Host=`${X}:${J.port}`,!Z["Proxy-Connection"])Z["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let w of Object.keys(Z))$+=`${w}: ${Z[w]}\r
10
- `;let V=n(Y);Y.write(`${$}\r
11
- `);let{connect:_}=await V;if(G.emit("proxyConnect",_),this.emit("proxyConnect",_,G),_.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return F("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:Y});return Y}throw Y.destroy(),Error(`Proxy authentication failed with status ${_.statusCode} after retry`)}};m.protocols=["http","https"]});function MJ(G){r.set(G,!0),qG(G)}function qG(G){TG.cache.delete?.(G)}function HJ(G){UG.set(G,!0),qG(G)}function OG(G){return UG.get(G)===!0}function bG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function E(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function AG(G=process.env){return G.no_proxy||G.NO_PROXY}function y(G,J=AG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),K=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${K}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some(($)=>{if($=$.toLowerCase().trim(),$.includes(":"))return Z===$;if($.startsWith(".")){let V=$;return K===$.substring(1)||K.endsWith(V)}return K===$||K.endsWith("."+$)})}catch{return!1}}function h(G,J={}){let Q=N(),K=U(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};if(jG(process.env.CLAUDIN_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,X,$)=>{$(null,Z,bG(X))};return new m(G,{...Y,...J})}function _J(G={}){let J=E(),Q=C(),K=H.create({proxy:!1});if(!J){if(Q)K.defaults.httpsAgent=Q;return K}let Y=h(J,G);return K.interceptors.request.use((Z)=>{if(Z.url&&y(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),K}function jJ(G){let J=E();if(!J)return;if(y(G))return;return h(J)}function qJ(G){let J=E();if(!J)return;if(y(G))return;return J}function UJ(G){let J=G?.provider&&r.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let Q=E();if(Q){if(typeof Bun<"u")return{...J,proxy:Q,...P()};return{...J,dispatcher:o(Q)}}let K=P();if(G?.provider&&!K.dispatcher)return{...J,...K,dispatcher:TG(G.provider)};return{...J,...K}}function NJ(){let G=E(),J=C();if(x!==void 0)H.interceptors.request.eject(x),x=void 0;if(H.defaults.proxy=void 0,H.defaults.httpAgent=void 0,H.defaults.httpsAgent=void 0,G){H.defaults.proxy=!1;let Q=h(G);x=H.interceptors.request.use((K)=>{if(K.url&&y(K.url))if(J)K.httpsAgent=J,K.httpAgent=J;else delete K.httpsAgent,delete K.httpAgent;else K.httpsAgent=Q,K.httpAgent=Q;return K}),D().setGlobalDispatcher(o(G))}else if(J){H.defaults.httpsAgent=J;let Q=P();if(Q.dispatcher)D().setGlobalDispatcher(Q.dispatcher)}}async function TJ(){let G=E();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-1.1.18-3yaj9awp.mjs"),import("./index-1.1.18-1kzcw8rj.mjs")]),K=h(G),Y=new J({httpAgent:K,httpsAgent:K});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function FJ(){o.cache.clear?.(),W("Cleared proxy agent cache")}var r,UG,o,T,NG,CG,TG,x;var PG=j(()=>{RG();_G();g();i();a();GG();KG();r=new Map;UG=new Map;o=q((G)=>{let J=D(),Q=N(),K=U(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||K){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),T={connections:12,keepAliveTimeout:30000,pipelining:1},NG={firstParty:{...T,allowH2:!0},openai:{...T,allowH2:!0},gemini:{...T,allowH2:!0},mistral:{...T,allowH2:!0},github:{...T,allowH2:!0},codex:{...T,allowH2:!0},"nvidia-nim":{...T,allowH2:!0},minimax:{...T,allowH2:!0}},CG=NG.openai,TG=q((G)=>{let J=D(),Q=NG[G]??CG,K={...Q,allowH2:Q.allowH2&&!OG(G),keepAliveTimeout:r.get(G)?100:Q.keepAliveTimeout};return new J.Agent(K)})});
12
- export{yG as R8,i as S8,N as T8,gG as U8,aG as V8,iG as W8,KG as X8,MJ as Y8,HJ as Z8,OG as _8,E as $8,y as a9,_J as b9,jJ as c9,qJ as d9,UJ as e9,NJ as f9,TJ as g9,FJ as h9,PG as i9};
@@ -1,12 +0,0 @@
1
- import{Cg as $Z,Dg as uZ,Eg as pz}from"./cli-1.1.18-99wvb94x.mjs";import{Oh as HJ,Ph as Vz}from"./cli-1.1.18-vnsqk2vn.mjs";import{Zh as GJ,_h as Bz}from"./cli-1.1.18-0xknnw9q.mjs";import{$R as eJ,$x as xQ,AB as nJ,At as Dz,BB as yz,Bk as fJ,Co as WQ,Go as uz,Ly as pQ,MA as IZ,My as AX,NA as hZ,OA as TZ,OR as nQ,PA as dJ,Pk as mZ,QA as cQ,QT as VQ,Qk as FX,RA as cJ,SR as lQ,TR as iQ,TT as KQ,Ty as dQ,Un as zQ,Uy as PX,VR as nZ,Vn as $z,WR as aQ,WT as pZ,YR as g0,ZR as rQ,aS as ZQ,ao as RQ,bS as oQ,bo as NX,cS as tQ,cy as OX,eS as OZ,fU as BQ,kk as _Z,lk as TQ,qo as XQ,ry as DQ,so as xZ,sy as UQ,tK as gQ,tk as SJ,ty as $Q,uk as IJ,uy as uQ,wt as wJ,xB as e0,yB as gJ,yy as MQ,zB as mJ,zy as EQ}from"./cli-1.1.18-xfb4pete.mjs";import{aV as fQ,jV as jX}from"./cli-1.1.18-hphxdvpd.mjs";import{IY as YJ,MY as qz,NY as DZ,OY as wX,nY as FZ,oY as qJ}from"./cli-1.1.18-0h118vrj.mjs";import{$Z as c0,D0 as UZ,DZ as u0,F0 as Jz,H1 as f0,V0 as hQ,W0 as KX,a1 as b,b1 as PQ,c1 as g,d1 as JX,e0 as vZ,tZ as WJ,uZ as Wz}from"./cli-1.1.18-2w9274tq.mjs";import{c4 as p0,d4 as B,e4 as $,f4 as F0}from"./cli-1.1.18-f2j32mha.mjs";import{g4 as I0}from"./cli-1.1.18-cjkn7t4k.mjs";import{E4 as VJ,F4 as BJ,G4 as Yz}from"./cli-1.1.18-1spz0azv.mjs";import{K7 as jQ,L7 as ZX,Q7 as JZ,Q8 as xz,T7 as QZ,l8 as JQ,v8 as QQ}from"./cli-1.1.18-703emt7y.mjs";import{k9 as gZ,l9 as GX}from"./cli-1.1.18-mrrbn0jj.mjs";import{Lba as IQ,bfa as PZ,fca as LX,pda as LZ,wfa as HQ,x_ as v0,xda as XJ,y_ as zJ}from"./cli-1.1.18-3y4pftxb.mjs";import{hha as jZ,iha as TJ,sha as ZZ,zha as hz}from"./cli-1.1.18-ndct9t5e.mjs";import{Bja as NZ,Cja as wZ,Oja as Pz,jja as RZ,lja as Rz,wja as KZ}from"./cli-1.1.18-cj8tr93q.mjs";import{ala as m0,dla as ez}from"./cli-1.1.18-ypcye8ae.mjs";import{Nla as SQ,Vla as HX}from"./cli-1.1.18-3s03nva1.mjs";import{Vqa as kQ,yra as BX}from"./cli-1.1.18-4c3jqppx.mjs";import{gta as w0,kta as L0}from"./cli-1.1.18-hvd9yyb4.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>=UZ){MZ();return}$0=setTimeout(MZ,UZ-J)}function lZ(){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 iZ=L0(()=>{Jz();EZ=w0(I0(),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=w0(u0(),1),K0=w0(I0(),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","bagel_console","verify_plan_reminder","current_session_memory","compaction_reminder","date_change","bash_git_instructions","claude_md_delta","git_status_delta","todo_reminder_delta","task_reconcile"],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((j)=>j===null?null:j+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:j,newMessageCount:v,onPillClick:M}=J,I=F===void 0?!1:F,Z0=j===void 0?!1:j,d=v===void 0?0:v,{rows:O,columns:C}=FZ(),[_,N]=q0.useState(null),P;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))P={setStickyPrompt:N},Z[0]=P;else P=Z[0];let f=P,J0;if(Z[1]!==Y)J0=(h)=>Y?.current?.subscribe(h)??Nz,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:f,children:Q}),Z[9]=Q,Z[10]=T;else T=Z[10];let l;if(Z[11]!==X||Z[12]!==Y||Z[13]!==T||Z[14]!==O0)l=$(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]=l;else l=Z[15];let o;if(Z[16]!==I||Z[17]!==d||Z[18]!==M||Z[19]!==X||Z[20]!==H0)o=!I&&H0&&X==null&&B(wz,{count:d,onClick:M}),Z[16]=I,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 S;if(Z[24]!==l||Z[25]!==o||Z[26]!==t||Z[27]!==X0)S=$(b,{flexGrow:1,flexDirection:"column",overflow:"hidden",children:[X0,l,o,t]}),Z[24]=l,Z[25]=o,Z[26]=t,Z[27]=X0,Z[28]=S;else S=Z[28];let W0,w;if(Z[29]===Symbol.for("react.memo_cache_sentinel"))W0=B(Az,{}),w=B(jz,{}),Z[29]=W0,Z[30]=w;else W0=Z[29],w=Z[30];let D;if(Z[31]!==z)D=$(b,{flexDirection:"column",flexShrink:0,width:"100%",maxHeight:"50%",children:[W0,w,B(b,{flexDirection:"column",width:"100%",flexGrow:1,overflowY:"hidden",children:z})]}),Z[31]=z,Z[32]=D;else D=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]!==S||Z[39]!==D||Z[40]!==R)s=$(sZ,{children:[S,D,R]}),Z[38]=S,Z[39]=D,Z[40]=R,Z[41]=s;else s=Z[41];return s}let i;if(Z[42]!==z||Z[43]!==q||Z[44]!==X||Z[45]!==Q)i=$(p0,{children:[Q,z,X,q]}),Z[42]=z,Z[43]=q,Z[44]=X,Z[45]=Q,Z[46]=i;else i=Z[46];return i}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 Nz(){}function wz(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 j;if(Z[7]!==z||Z[8]!==F)j=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]=j;else j=Z[9];return j}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 jz(){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();f0();Yz();vZ();XJ();CZ();Vz();F0();a0=w0(u0(),1),q0=w0(I0(),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 NJ(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,NZ)!=="completed")return!1;return _Z(Z.text,wZ)?.startsWith(wJ)??!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(NJ(X)){let W=0;while(z<J.length&&NJ(J[z]))W++,z++;if(W===1)Q.push(X);else Q.push({...X,message:{role:"user",content:[{type:"text",text:`<${KZ}><${NZ}>completed</${NZ}><${wZ}>${W} background commands completed</${wZ}></${KZ}>`}]}})}else Q.push(X),z++}return Q}var AJ=L0(()=>{Pz();Dz();vZ();OZ()});function jJ(J){return J.type==="system"&&J.subtype==="stop_hook_summary"&&J.hookLabel!==void 0}function PJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(jJ(z)){let X=z.hookLabel,W=[];while(Q<J.length){let q=J[Q];if(!jJ(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 DJ=()=>{};function UJ(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(UJ(z)){let X=0;while(Q<J.length&&UJ(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 Uz(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=Uz(Z),X=new Map;for(let F of J){let j=kZ(F);if(j&&z.has(j.toolName)){let v=`${j.messageId}:${j.toolName}`,M=X.get(v)??[];M.push(F),X.set(v,M)}}let W=new Map,q=new Set;for(let[F,j]of X)if(j.length>=2){W.set(F,j);for(let v of j){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 j of F.message.content)if(j.type==="tool_result"&&q.has(j.tool_use_id))V.set(j.tool_use_id,F)}let Y=[],K=new Set;for(let F of J){let j=kZ(F);if(j){let v=`${j.messageId}:${j.toolName}`,M=W.get(v);if(M){if(!K.has(v)){K.add(v);let I=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:j.toolName,messages:M,results:Z0,displayMessage:I,uuid:`grouped-${I.uuid}`,timestamp:I.timestamp,messageId:j.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((I)=>q.has(I.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 SZ=L0(()=>{OZ();_J=new Set([SJ,IJ]),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=jZ(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();f0();F0();hJ=w0(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=jZ(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 pJ=L0(()=>{TJ();f0();F0();$J=w0(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(IZ(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],V=q?.type==="tool_use"?q.input:void 0;if(IZ(W.toolName,V,Q).isCollapsible)continue}return!0}return!1}function _z(J){let Z=lJ.c(64),{message:Q,isUserContinuation:z,hasContentAfter:X,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,streamingToolUseIDs:K,screen:F,canAnimate:j,onOpenRateLimitOptions:v,lastThinkingBlockId:M,latestBashOutputUUID:I,columns:Z0,isLoading:d,lookups:O}=J,C=F==="transcript",_=Q.type==="grouped_tool_use",N=Q.type==="collapsed_read_search",P;if(Z[0]!==X||Z[1]!==Y||Z[2]!==N||Z[3]!==d||Z[4]!==Q)P=N&&(TZ(Q,Y)||d&&!X),Z[0]=X,Z[1]=Y,Z[2]=N,Z[3]=d,Z[4]=Q,Z[5]=P;else P=Z[5];let f=P,J0;if(Z[6]!==N||Z[7]!==_||Z[8]!==Q)J0=_?Q.displayMessage:N?dJ(Q):Q,Z[6]=N,Z[7]=_,Z[8]=Q,Z[9]=J0;else J0=Z[9];let E=J0,k;if(Z[10]!==N||Z[11]!==_||Z[12]!==O||Z[13]!==Q)k=_||N?[]:ZQ(Q,O),Z[10]=N,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]!==N||Z[17]!==_||Z[18]!==O||Z[19]!==Q||Z[20]!==F||Z[21]!==K){let S=_||N?fJ:eJ(Q,O);Y0=tJ(Q,K,Y,S,F,O),Z[15]=Y,Z[16]=N,Z[17]=_,Z[18]=O,Z[19]=Q,Z[20]=F,Z[21]=K,Z[22]=Y0}else Y0=Z[22];let i=Y0,h=!1;if(j)if(_){let S;if(Z[23]!==Y||Z[24]!==Q.messages){let W0;if(Z[26]!==Y)W0=(w)=>{let D=w.message.content[0];return D?.type==="tool_use"&&Y.has(D.id)},Z[26]=Y,Z[27]=W0;else W0=Z[27];S=Q.messages.some(W0),Z[23]=Y,Z[24]=Q.messages,Z[25]=S}else S=Z[25];h=S}else if(N){let S;if(Z[28]!==Y||Z[29]!==Q)S=TZ(Q,Y),Z[28]=Y,Z[29]=Q,Z[30]=S;else S=Z[30];h=S}else{let S;if(Z[31]!==Y||Z[32]!==Q){let W0=g0(Q);S=!W0||Y.has(W0),Z[31]=Y,Z[32]=Q,Z[33]=S}else S=Z[33];h=S}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]!==f||Z[40]!==i||Z[41]!==C||Z[42]!==z||Z[43]!==M||Z[44]!==I||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:i,onOpenRateLimitOptions:v,isActiveCollapsedGroup:f,isUserContinuation:z,lastThinkingBlockId:M,latestBashOutputUUID:I}),Z[37]=q,Z[38]=Y,Z[39]=f,Z[40]=i,Z[41]=C,Z[42]=z,Z[43]=M,Z[44]=I,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 l=T;if(!Q0){let S;if(Z[55]!==l)S=B(e0,{children:l}),Z[55]=l,Z[56]=S;else S=Z[56];return S}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]!==l||Z[62]!==o)t=B(e0,{children:$(b,{width:Z0,flexDirection:"column",children:[o,l]})}),Z[60]=Z0,Z[61]=l,Z[62]=o,Z[63]=t;else t=Z[63];return t}function kz(J){return J.type==="text"}function Sz(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 Iz(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=Sz(J.message,J.streamingToolUseIDs),W=Iz(J.message,J.lookups.resolvedToolUseIDs);if(X||!W)return!1;return!0}var lJ,iJ,rJ;var oJ=L0(()=>{f0();cJ();OZ();yz();xJ();sJ();pJ();gJ();F0();lJ=w0(u0(),1),iJ=w0(I0(),1);rJ=iJ.memo(_z,Tz)});import{relative as fz}from"path";function qQ(J){return iz.filter((Z)=>Z.isActive(J))}var dz,cz,gz,mz,nz,lz,iz;var YQ=L0(()=>{f0();BQ();zJ();Rz();hz();xz();pz();uz();$z();F0();dz={id:"large-memory-files",type:"warning",isActive:(J)=>pZ(J.memoryFiles).length>0,render:(J)=>{let Z=pZ(J.memoryFiles);return B(p0,{children:Z.map((Q)=>{let z=Q.path.startsWith(RZ())?fz(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"})]})]})}},lz={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"})]})]})}},iz=[dz,nz,cz,gz,mz,lz]});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:PZ(),agentDefinitions:Q,memoryFiles:z},Y=qQ(V);if(Y.length===0)return null;let K=b,F="column",j=1,v=Y.map((I)=>B(r0.Fragment,{children:I.render(V)},I.id)),M;if(Z[1]!==K||Z[2]!==v)M=B(K,{flexDirection:F,paddingLeft:j,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(()=>{f0();BQ();HQ();YQ();F0();GQ=w0(u0(),1),r0=w0(I0(),1),XZ=[]});function NQ(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),j=m.useRef(null),v=m.useRef(0);if(K.current!==Q){let w=K.current/Q;K.current=Q;for(let[D,R]of z.current)z.current.set(D,Math.max(1,Math.round(R*w)));X.current++,F.current=!0,v.current=2}let M=v.current>0?j.current:null,I=m.useRef(0),Z0=m.useRef(null),d=m.useCallback((w)=>J.current?.subscribe(w)??sz,[J]);m.useSyncExternalStore(d,()=>{let w=J.current;if(!w)return NaN;let D=w.getScrollTop()+w.getPendingDelta(),R=Math.floor(D/tz);return w.isSticky()?~R:R});let O=J.current?.getScrollTop()??-1,C=J.current?.getPendingDelta()??0,_=J.current?.getViewportHeight()??0,N=J.current?.isSticky()??!0;m.useMemo(()=>{let w=new Set(Z),D=!1;for(let R of z.current.keys())if(!w.has(R))z.current.delete(R),D=!0;for(let R of Y.current.keys())if(!w.has(R))Y.current.delete(R);if(D)X.current++},[Z]);let P=Z.length;if(q.current.version!==X.current||q.current.n!==P){let w=q.current.arr.length>=P+1?q.current.arr:new Float64Array(P+1);w[0]=0;for(let D=0;D<P;D++)w[D+1]=w[D]+(z.current.get(Z[D])??rz);q.current={arr:w,version:X.current,n:P}}let f=q.current.arr,J0=f[P],E,k;if(M)[E,k]=M,E=Math.min(E,P),k=Math.min(k,P);else if(_===0||O<0)E=Math.max(0,P-oz),k=P;else{if(N){let V0=_+o0;E=P;while(E>0&&J0-f[E-1]<V0)E--;k=P}else{let V0=I.current,G0=_*3,M0=Math.min(O,O+C),n0=Math.max(O,O+C),y0=n0-M0,P0=y0>G0?C<0?n0-G0:M0:M0,T0=P0+Math.min(y0,G0),l0=Math.max(0,P0-V0),h0=T0-V0,b0=l0-o0;{let H=0,L=P;while(H<L){let A=H+L>>1;if(f[A+1]<=b0)H=A+1;else L=A}E=H}{let H=j.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 i0=_+2*o0,t0=Math.min(P,E+WZ),_0=0;k=E;while(k<t0&&(_0<i0||f[k]<h0+_+o0))_0+=z.current.get(Z[k])??fZ,k++}let w=_+2*o0,D=Math.max(0,k-WZ),R=0;for(let V0=E;V0<k;V0++)R+=z.current.get(Z[V0])??fZ;while(E>D&&R<w)E--,R+=z.current.get(Z[E])??fZ;let s=j.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,P)}W.current=O}if(v.current>0)v.current--;else j.current=[E,k];let H0=m.useDeferredValue(E),Y0=m.useDeferredValue(k),i=E<H0?H0:E,h=k>Y0?Y0:k;if(i>h||N)i=E,h=k;if(C>0)h=k;if(h-i>WZ){let w=(f[i]+f[h])/2;if(O-I.current<w)h=i+WZ;else i=h-WZ}let z0=I.current,Q0=f[i],X0=i===0?0:Q0+z0,O0=h===P?1/0:Math.max(Q0,f[h]-_)+z0;m.useLayoutEffect(()=>{if(N)J.current?.setClampBounds(void 0,void 0);else J.current?.setClampBounds(X0,O0)}),m.useLayoutEffect(()=>{let w=Z0.current?.yogaNode;if(w&&w.getComputedWidth()>0)I.current=w.getComputedTop();if(F.current){F.current=!1;return}let D=!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),D=!0}else if(A0.getComputedWidth()>0&&G0!==0)z.current.set(R,0),D=!0}if(D)X.current++});let T=m.useCallback((w)=>{let D=Y.current.get(w);if(!D)D=(R)=>{if(R)V.current.set(w,R);else{let s=V.current.get(w)?.yogaNode;if(s&&!F.current){let A0=s.getComputedHeight();if((A0>0||s.getComputedWidth()>0)&&z.current.get(w)!==A0)z.current.set(w,A0),X.current++}V.current.delete(w)}},Y.current.set(w,D);return D},[]),l=m.useCallback((w)=>{let D=V.current.get(Z[w])?.yogaNode;if(!D||D.getComputedWidth()===0)return-1;return D.getComputedTop()},[Z]),o=m.useCallback((w)=>V.current.get(Z[w])??null,[Z]),t=m.useCallback((w)=>z.current.get(Z[w]),[Z]),S=m.useCallback((w)=>{let D=q.current;if(w<0||w>=D.n)return;J.current?.scrollTo(D.arr[w]+I.current)},[J]),W0=J0-f[h];return{range:[i,h],topSpacer:Q0,bottomSpacer:W0,measureRef:T,spacerRef:Z0,offsets:f,getItemTop:l,getItemElement:o,getItemHeight:t,scrollToIndex:S}}var m,rz=3,o0=80,oz=30,tz,fZ=1,WZ=300,qZ=25,sz=()=>{};var wQ=L0(()=>{m=w0(I0(),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:j,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 I=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]!==j)C=Y?()=>j(Q):void 0,Z[11]=Y,Z[12]=Q,Z[13]=j,Z[14]=C;else C=Z[14];let _=V&&!q?"text":void 0,N;if(Z[15]!==X||Z[16]!==z||Z[17]!==v)N=v(z,X),Z[15]=X,Z[16]=z,Z[17]=v,Z[18]=N;else N=Z[18];let P;if(Z[19]!==_||Z[20]!==N)P=B(PQ.Provider,{value:_,children:N}),Z[19]=_,Z[20]=N,Z[21]=P;else P=Z[21];let f;if(Z[22]!==M||Z[23]!==I||Z[24]!==Z0||Z[25]!==d||Z[26]!==O||Z[27]!==C||Z[28]!==P)f=B(b,{ref:M,flexDirection:"column",backgroundColor:I,paddingBottom:Z0,onClick:d,onMouseEnter:O,onMouseLeave:C,children:P}),Z[22]=M,Z[23]=I,Z[24]=Z0,Z[25]=d,Z[26]=O,Z[27]=C,Z[28]=P,Z[29]=f;else f=Z[29];return f}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:j,setCursor:v,jumpRef:M,onSearchMatchesChange:I,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 N=O.current,{range:P,topSpacer:f,bottomSpacer:J0,measureRef:E,spacerRef:k,offsets:H0,getItemTop:Y0,getItemElement:i,getItemHeight:h,scrollToIndex:z0}=NQ(Z,N,Q),[Q0,X0]=P,O0=y.useCallback((H)=>{if(h(H)===0)return!1;return DQ(J[H])},[h,J]);y.useImperativeHandle(j,()=>{let H=(u)=>v?.({uuid:u.uuid,msgType:u.type,expanded:!1,toolName:UQ(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:i,getItemTop:Y0,messages:J,scrollToIndex:z0});T.current={offsets:H0,start:Q0,getItemElement:i,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 l=y.useRef(null),o=y.useRef({msgIdx:-1,positions:[]}),t=y.useRef(-1),S=y.useRef(0),W0=y.useRef(0),w=y.useRef(()=>{}),D=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(),j0=c+e+n.row;if(j0<c||j0>=c+R0)L.scrollTo(Math.max(0,r+n.row-dZ)),e=r-L.getScrollTop(),j0=c+e+n.row;d?.({positions:x,rowOffset:c+e,currentIdx:u});let E0=R.current,D0=E0.prefixSum.at(-1)??0,U0=(E0.prefixSum[E0.ptr]??0)+u+1;I?.(D0,U0),m0(`highlight(i=${A}, ord=${u}/${x.length}): pos={row:${n.row},col:${n.col}} lo=${e} screenRow=${j0} badge=${U0}/${D0}`)}D.current=G0;let[M0,n0]=y.useState(0),y0=y.useCallback(()=>n0((H)=>H+1),[]);y.useEffect(()=>{let H=l.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){l.current=null,m0(`seek(i=${L}): no mount after scrollToIndex, skip`),w.current(A?-1:1);return}l.current={idx:L,wantLast:A,tries:x+1},c(L),y0();return}l.current=null,u.scrollTo(Math.max(0,r(L)-dZ));let j0=Z0?.(e)??[];if(o.current={msgIdx:L,positions:j0},m0(`seek(i=${L} t=${x}): ${j0.length} positions`),j0.length===0){if(++S.current>20){S.current=0;return}w.current(A?-1:1);return}S.current=0;let E0=A?j0.length-1:0;R.current.screenOrd=E0,t.current=-1,D.current(E0);let D0=W0.current;if(D0)W0.current=0,w.current(D0)},[M0]);function P0(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:[]},l.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(l.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,P0(A[c],H<0);let e=H<0?x[c+1]??u:x[c]+1;I?.(u,e)}w.current=T0,y.useImperativeHandle(M,()=>({jumpToIndex:(H)=>{let L=Z.current;if(L)L.scrollTo(V0(H))},setSearchQuery:(H)=>{l.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1,d?.(null);let L=H.toLowerCase(),A=[],x=[0];if(L){let D0=T.current.messages;for(let U0=0;U0<D0.length;U0++){let k0=Y(D0[U0]),G=k0.indexOf(L),U=0;while(G>=0)U++,G=k0.indexOf(L,G+L.length);if(U>0)A.push(U0),x.push(x.at(-1)+U)}}let u=x.at(-1),n=0,r=Z.current,{offsets:c,start:e,getItemTop:R0}=T.current,j0=R0(e),E0=j0>=0?j0-c[e]:0;if(A.length>0&&r){let D0=s.current>=0?s.current:r.getScrollTop(),U0=1/0;for(let k0=0;k0<A.length;k0++){let G=Math.abs(E0+c[A[k0]]-D0);if(G<=U0)U0=G,n=k0}m0(`setSearchQuery('${H}'): ${A.length} msgs · ptr=${n} msgIdx=${A[n]} curTop=${D0} origin=${E0}`)}if(R.current={matches:A,ptr:n,screenOrd:0,prefixSum:x},A.length>0)P0(A[n],!0);else if(s.current>=0&&r)r.scrollTo(s.current);I?.(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),l.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 jQ(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[l0,h0]=y.useState(null),b0=y.useRef({onItemClick:W,setHoveredKey:h0});b0.current={onItemClick:W,setHoveredKey:h0};let i0=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 $(p0,{children:[B(b,{ref:k,height:f,flexShrink:0}),J.slice(Q0,X0).map((H,L)=>{let A=Q0+L,x=N[A],u=!!W&&(q?.(H)??!0),n=u&&l0===x,r=V?.(H);return B(qX,{itemKey:x,msg:H,idx:A,measureRef:E,expanded:r,hovered:n,clickable:u,onClickK:i0,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:i,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((N)=>q.current?.subscribe(N)??YX,[q]);y.useSyncExternalStore(Y,()=>{let N=q.current;if(!N)return NaN;let P=N.getScrollTop()+N.getPendingDelta();return N.isSticky()?-1-P:P});let K=q.current?.isSticky()??!0,F=Math.max(0,(q.current?.getScrollTop()??0)+(q.current?.getPendingDelta()??0)),j=Z,v=-1;for(let N=Q-1;N>=Z;N--){let P=X(N);if(P>=0){if(P<F)break;v=P}j=N}let M=-1,I=null;if(j>0&&!K)for(let N=j-1;N>=0;N--){let P=XX(J[N]);if(P===null)continue;let f=X(N);if(f>=0&&f+1>=F)continue;M=N,I=P;break}let Z0=v>=0?v-z[j]: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 N=C.current==="force";if(C.current="none",!N&&_.current===M)return;if(_.current=M,I===null){V(null);return}let P=I.trimStart(),f=P.search(/\n\s*\n/),J0=(f>=0?P.slice(0,f):P).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 N=W(O.current.idx);if(N)q.current?.scrollToElement(N,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(()=>{wQ();f0();JX();LJ();ez();ZX();SZ();EQ();F0();bQ=w0(u0(),1),y=w0(I0(),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 SX(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}return!1}var mQ,YZ,p,DX,UX=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:j=!1,agentDefinitions:v,onOpenRateLimitOptions:M,hideLogo:I=!1,isLoading:Z0,hidePastThinking:d=!1,streamingThinking:O,hasStreamingText:C=!1,isBriefOnly:_=!1,unseenDivider:N,scrollRef:P,trackStickyPrompt:f,jumpRef:J0,onSearchMatchesChange:E,scanElement:k,setPositions:H0,disableRenderCap:Y0=!1,cursor:i=null,setCursor:h,cursorNavRef:z0,renderRange:Q0})=>{let{columns:X0}=FZ(),O0=RQ("transcript:toggleShowAll","Transcript","Ctrl+E"),T=p.useMemo(()=>nZ(J).filter(nQ),[J]),l=p.useMemo(()=>{if(!O)return!1;if(O.isStreaming)return!0;if(O.streamingEndedAt)return Date.now()-O.streamingEndedAt<30000;return!1},[O]),o=p.useMemo(()=>{if(!d)return null;if(l)return"streaming";for(let G=T.length-1;G>=0;G--){let U=T[G];if(U?.type==="assistant"){let B0=U.message.content;for(let a=B0.length-1;a>=0;a--)if(B0[a]?.type==="thinking")return`${U.uuid}:${a}`}else if(U?.type==="user"){if(!U.message.content.some((a)=>a.type==="tool_result"))return"no-thinking"}}return null},[T,d,l]),t=p.useMemo(()=>{for(let G=T.length-1;G>=0;G--){let U=T[G];if(U?.type==="user"){let B0=U.message.content;for(let a of B0)if(a.type==="text"){let N0=a.text;if(N0.startsWith("<bash-stdout")||N0.startsWith("<bash-stderr"))return U.uuid}}}return null},[T]),S=p.useMemo(()=>tQ(T),[T]),W0=p.useMemo(()=>F.filter((G)=>!q.has(G.contentBlock.id)&&!S.has(G.contentBlock.id)),[F,q,S]),w=p.useMemo(()=>W0.flatMap((G)=>{let U=gQ({content:[G.contentBlock]});return U.uuid=TQ(G.contentBlock.id,0),nZ([U])}),[W0]),D=K==="transcript",R=p.useMemo(()=>SQ(process.env.CLAUDIN_DISABLE_VIRTUAL_SCROLL),[]),s=P!=null&&!R,A0=D&&!j&&!s,V0=p.useRef(null),{collapsed:G0,lookups:M0,hasTruncatedMessages:n0,hiddenMessageCount:y0}=p.useMemo(()=>{let G=z||c0()?T:lQ(T,{includeSnipped:!0}),U=aQ(G.filter((S0)=>S0.type!=="progress").filter((S0)=>!GZ(S0)).filter((S0)=>iQ(S0,D)),w),B0=[yQ,MX].filter((S0)=>S0!==null),a=[yQ].filter((S0)=>S0!==null),N0=B0.length>0&&!D?_?EX(U,B0):a.length>0?bX(U,a):U:U,C0=A0?N0.slice(-cZ):N0,VZ=A0&&N0.length>cZ,{messages:d0}=CJ(C0,Z,z),sQ=OJ(PJ(MJ(cQ(d0,Z))),z),eQ=rQ(T,C0),Zz=U.length-cZ;return{collapsed:sQ,lookups:eQ,hasTruncatedMessages:VZ,hiddenMessageCount:Zz}},[z,T,D,w,A0,Z,_]),P0=p.useMemo(()=>{let U=!s&&!Y0?yX(G0,V0):0;return Q0?G0.slice(Q0[0],Q0[1]):U>0?G0.slice(U):G0},[G0,Q0,s,Y0]),T0=p.useMemo(()=>new Set(F.map((G)=>G.contentBlock.id)),[F]),l0=xQ((G)=>G.tasks),h0=M0.asyncLaunchedToolUseIDs,b0=p.useMemo(()=>{if(h0.size===0)return null;let G=new Set;for(let[U,B0]of h0){let a=l0?.[B0]?.status;if(a==="running"||a==="requested"||a==="queued")G.add(U)}return G.size>0?G:null},[l0,h0]),i0=p.useMemo(()=>{if(!b0)return q;let G=new Set(q);for(let U of b0)G.add(U);return G},[q,b0]),t0=p.useMemo(()=>{if(!N)return-1;let G=N.firstUnseenUuid.slice(0,24);return P0.findIndex((U)=>U.uuid.slice(0,24)===G)},[N,P0]),_0=p.useMemo(()=>{if(!i)return-1;return P0.findIndex((G)=>G.uuid===i.uuid)},[i,P0]),[H,L]=p.useState(()=>new Set),A=p.useCallback((G)=>{let U=_Q(G);L((B0)=>{let a=new Set(B0);if(a.has(U))a.delete(U);else a.add(U);return a})},[]),x=p.useCallback((G)=>H.size>0&&H.has(_Q(G)),[H]),u=p.useRef(M0);u.current=M0;let n=p.useCallback((G)=>{if(G.type==="collapsed_read_search")return!0;if(G.type==="assistant"){let N0=G.message.content[0];return N0!=null&&fQ(N0)&&N0.type==="advisor_tool_result"&&N0.content.type==="advisor_result"}if(G.type!=="user")return!1;let U=G.message.content[0];if(U?.type!=="tool_result"||U.is_error||!G.toolUseResult)return!1;let B0=u.current.toolUseByToolUseID.get(U.tool_use_id)?.name;return(B0?mZ(Z,B0):void 0)?.isResultTruncated?.(G.toolUseResult)??!1},[Z]),r=(!X||!!X.shouldContinueAnimation)&&!W.length&&!V,c=i0.size>0,{progress:e}=hQ(),R0=p.useRef(null),j0=PZ().terminalProgressBarEnabled&&!kQ()&&!(UX?.isProactiveActive()??!1);p.useEffect(()=>{let G=j0?c?"indeterminate":"completed":null;if(R0.current===G)return;R0.current=G,e(G)},[e,j0,c]),p.useEffect(()=>{return()=>e(null)},[e]);let E0=p.useCallback((G)=>`${G.uuid}-${Y}`,[Y]),D0=(G,U)=>{if(G.type==="progress")return null;let B0=U>0?P0[U-1]?.type:void 0,a=G.type==="user"&&B0==="user",N0=G.type==="collapsed_read_search"&&(C||aJ(P0,U,Z,T0)),C0=E0(G),VZ=B(rJ,{message:G,isUserContinuation:a,hasContentAfter:N0,tools:Z,commands:Q,verbose:z||x(G)||i?.expanded===!0&&U===_0,inProgressToolUseIDs:i0,streamingToolUseIDs:T0,screen:K,canAnimate:r,onOpenRateLimitOptions:M,lastThinkingBlockId:o,latestBashOutputUUID:t,columns:X0,isLoading:Z0,lookups:M0},C0),d0=B($Q.Provider,{value:U===_0,children:VZ},C0);if(N&&U===t0)return[B(b,{marginTop:1,children:B(DZ,{title:`${N.count} new ${LZ(N.count,"message")}`,width:X0,color:"inactive"})},"unseen-divider"),d0];return d0},U0=p.useRef(new WeakMap),k0=p.useCallback((G)=>{let U=U0.current.get(G);if(U!==void 0)return U;let B0=AZ(G);if(G.type==="user"&&G.toolUseResult&&Array.isArray(G.message.content)){let N0=G.message.content.find((C0)=>C0.type==="tool_result");if(N0&&"tool_use_id"in N0){let C0=M0.toolUseByToolUseID.get(N0.tool_use_id),d0=(C0&&mZ(Z,C0.name))?.extractSearchText?.(G.toolUseResult);if(d0!==void 0)B0=d0}}let a=B0.toLowerCase();return U0.current.set(G,a),a},[Z,M0]);return $(p0,{children:[!I&&!(Q0&&Q0[0]>0)&&B(DX,{agentDefinitions:v}),n0&&B(DZ,{title:`${O0} to show ${gZ.bold(y0)} previous messages`,width:X0}),D&&j&&y0>0&&!Y0&&B(DZ,{title:`${O0} to hide ${gZ.bold(y0)} previous messages`,width:X0}),s?B(uQ.Provider,{value:!0,children:B(CQ,{messages:P0,scrollRef:P,columns:X0,itemKey:E0,renderItem:D0,onItemClick:A,isItemClickable:n,isItemExpanded:x,trackStickyPrompt:f,selectedIndex:_0>=0?_0:void 0,cursorNavRef:z0,setCursor:h,jumpRef:J0,onSearchMatchesChange:E,scanElement:k,setPositions:H0,extractSearchText:k0})}):P0.flatMap(D0),C&&!_&&B(kX,{}),l&&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=lZ();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:IQ})}),B(b,{flexDirection:"column",children:B(pQ,{children:J})})]})})},g8;var sJ=L0(()=>{GX();KJ();BX();LX();qJ();KX();f0();NX();OX();FX();jX();AJ();DJ();cJ();EJ();HQ();HX();vZ();vJ();OZ();XJ();SZ();wX();AX();iZ();oJ();EQ();PX();CZ();gJ();FQ();vQ();F0();mQ=w0(u0(),1),YZ=w0(I0(),1),p=w0(I0(),1),DX=YZ.memo(function(Z){let Q=mQ.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(SX(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 ve,TX as we,iZ as xe,xX as ye,$X as ze,JJ as Ae,QW as Be,zW as Ce,XW as De,LJ as Ee,g8 as Fe,sJ as Ge};
@@ -1,2 +0,0 @@
1
- import{D4 as Z}from"./cli-1.1.18-ddreb78e.mjs";import{Q8 as Y,y8 as F}from"./cli-1.1.18-703emt7y.mjs";import{_ea as N,bfa as B,cha as X,wfa as W,xea as V}from"./cli-1.1.18-3y4pftxb.mjs";import{Yja as Q}from"./cli-1.1.18-k05shz35.mjs";import{kta as P}from"./cli-1.1.18-hvd9yyb4.mjs";function E(){let w=F()?.organizationUuid;if(!w)return null;let z=B().overageCreditGrantCache?.[w];if(!z)return null;if(Date.now()-z.timestamp>$)return null;return z.info}function U(){let w=F()?.organizationUuid;if(!w)return;let z=B().overageCreditGrantCache;if(!z||!(w in z))return;N((J)=>{let K={...J.overageCreditGrantCache};return delete K[w],{...J,overageCreditGrantCache:K}})}function _(w){if(w.amount_minor_units==null||!w.currency)return null;if(w.currency.toUpperCase()==="USD"){let z=w.amount_minor_units/100;return Number.isInteger(z)?`$${z}`:`$${z.toFixed(2)}`}return null}var $=3600000;var k=P(()=>{Q();Y();W();X();V();Z()});
2
- export{E as _i,U as $i,_ as aj,k as bj};
@@ -1,2 +0,0 @@
1
- import{P8 as v,Q8 as C}from"./cli-1.1.18-703emt7y.mjs";import{Xfa as x,Yfa as Y,wea as Z,xea as V}from"./cli-1.1.18-3y4pftxb.mjs";import{aia as R,eia as W,mia as O}from"./cli-1.1.18-7pcfwrhj.mjs";import{Xja as Q,Yja as M}from"./cli-1.1.18-k05shz35.mjs";import{Fka as P,Kka as I,ala as f,dla as L}from"./cli-1.1.18-ypcye8ae.mjs";import{Ala as w,Hla as H}from"./cli-1.1.18-cxg522yt.mjs";import{Xra as N,Yra as F}from"./cli-1.1.18-417wb57s.mjs";import{Ksa as U,ssa as X}from"./cli-1.1.18-vzrv28w4.mjs";import{hta as h,kta as B}from"./cli-1.1.18-hvd9yyb4.mjs";import{hostname as E}from"os";function $(){return R(G,!1)}function u(){if(!$())return;return y()}function n(){y.cache?.clear?.()}function o(){if(!$())return;let i=x();try{let q=i.read();if(q?.trustedDeviceToken)delete q.trustedDeviceToken,i.update(q)}catch{}y.cache?.clear?.()}async function t(){try{if(!await W(G)){f(`[trusted-device] Gate ${G} is off, skipping enrollment`);return}if(process.env.CLAUDE_TRUSTED_DEVICE_TOKEN){f("[trusted-device] CLAUDE_TRUSTED_DEVICE_TOKEN env var is set, skipping enrollment (env var takes precedence)");return}let{getClaudeAIOAuthTokens:i}=(C(),h(v)),q=i()?.accessToken;if(!q){f("[trusted-device] No OAuth token, skipping enrollment");return}let J=x();if(Z()){f("[trusted-device] Essential traffic only, skipping enrollment");return}let b=Q().BASE_API_URL,m;try{m=await X.post(`${b}/api/auth/trusted_devices`,{display_name:`Claude Code on ${E()} · ${process.platform}`},{headers:{Authorization:`Bearer ${q}`,"Content-Type":"application/json"},timeout:1e4,validateStatus:(j)=>j<500})}catch(j){f(`[trusted-device] Enrollment request failed: ${w(j)}`);return}if(m.status!==200&&m.status!==201){f(`[trusted-device] Enrollment failed ${m.status}: ${P(m.data).slice(0,200)}`);return}let z=m.data?.device_token;if(!z||typeof z!=="string"){f("[trusted-device] Enrollment response missing device_token field");return}try{let j=J.read();if(!j){f("[trusted-device] Cannot read storage, skipping token persist");return}j.trustedDeviceToken=z;let K=J.update(j);if(!K.success){f(`[trusted-device] Failed to persist token: ${K.warning??"unknown"}`);return}y.cache?.clear?.(),f(`[trusted-device] Enrolled device_id=${m.data.device_id??"unknown"}`)}catch(j){f(`[trusted-device] Storage write failed: ${w(j)}`)}}catch(i){f(`[trusted-device] Enrollment error: ${w(i)}`)}}var G="tengu_sessions_elevated_auth_enforcement",y;var d=B(()=>{U();F();M();O();L();H();V();Y();I();y=N(()=>{let i=process.env.CLAUDE_TRUSTED_DEVICE_TOKEN;if(i)return i;return x().read()?.trustedDeviceToken})});
2
- export{u as VW,n as WW,o as XW,t as YW,d as ZW};
@@ -1,2 +0,0 @@
1
- import{$F as i,_F as L,aG as l,bG as E,cG as c,dG as w,eG as O,iG as y,jG as e}from"./cli-1.1.18-xfb4pete.mjs";import{nY as x,oY as s}from"./cli-1.1.18-0h118vrj.mjs";import{DZ as C,H1 as K,R0 as S,S0 as r,a1 as k,c1 as V,w1 as Q}from"./cli-1.1.18-2w9274tq.mjs";import{c4 as Y,d4 as P,e4 as v,f4 as _}from"./cli-1.1.18-f2j32mha.mjs";import{g4 as t}from"./cli-1.1.18-cjkn7t4k.mjs";import{gta as p,kta as q}from"./cli-1.1.18-hvd9yyb4.mjs";function X1(J){let b=j.c(17),{query:$,placeholder:I,isFocused:W,isTerminalFocused:Z,prefix:N,width:H,cursorOffset:A,borderless:U}=J,G=I===void 0?"Search…":I,h=N===void 0?"⌕":N,m=U===void 0?!1:U,B=A??$.length,D=m?void 0:"round",g=W?"suggestion":void 0,d=!W,F=m?0:1,T=!W,X;if(b[0]!==W||b[1]!==Z||b[2]!==B||b[3]!==G||b[4]!==$)X=W?P(Y,{children:$?Z?v(Y,{children:[P(V,{children:$.slice(0,B)}),P(V,{inverse:!0,children:B<$.length?$[B]:" "}),B<$.length&&P(V,{children:$.slice(B+1)})]}):P(V,{children:$}):Z?v(Y,{children:[P(V,{inverse:!0,children:G.charAt(0)}),P(V,{dimColor:!0,children:G.slice(1)})]}):P(V,{dimColor:!0,children:G})}):$?P(V,{children:$}):P(V,{children:G}),b[0]=W,b[1]=Z,b[2]=B,b[3]=G,b[4]=$,b[5]=X;else X=b[5];let M;if(b[6]!==h||b[7]!==T||b[8]!==X)M=v(V,{dimColor:T,children:[h," ",X]}),b[6]=h,b[7]=T,b[8]=X,b[9]=M;else M=b[9];let z;if(b[10]!==M||b[11]!==D||b[12]!==g||b[13]!==d||b[14]!==F||b[15]!==H)z=P(k,{flexShrink:0,borderStyle:D,borderColor:g,borderDimColor:d,paddingX:F,width:H,children:M}),b[10]=M,b[11]=D,b[12]=g,b[13]=d,b[14]=F,b[15]=H,b[16]=z;else z=b[16];return z}var j;var u=q(()=>{K();_();j=p(C(),1)});function d1(J){if(J.ctrl&&(J.key==="k"||J.key==="u"||J.key==="w"))return!0;if(J.meta&&J.key==="backspace")return!0;return!1}function T1(J){return(J.ctrl||J.meta)&&J.key==="y"}function V1({isActive:J,onExit:b,onCancel:$,onExitUp:I,columns:W,passthroughCtrlKeys:Z=[],initialQuery:N="",backspaceExitsOnEmpty:H=!0}){let{columns:A}=x(),U=W??A,[G,h]=R.useState(N),[m,B]=R.useState(N.length),D=R.useCallback((d)=>{h(d),B(d.length)},[]),g=(d)=>{if(!J)return;let F=y.fromText(G,U,m);if(d.ctrl&&Z.includes(d.key.toLowerCase()))return;if(!d1(d))l();if(!T1(d))O();if(d.key==="return"||d.key==="down"){d.preventDefault(),b();return}if(d.key==="up"){if(d.preventDefault(),I)I();return}if(d.key==="escape"){if(d.preventDefault(),$)$();else if(G.length>0)h(""),B(0);else b();return}if(d.key==="backspace"){if(d.preventDefault(),d.meta){let{cursor:X,killed:M}=F.deleteWordBefore();L(M,"prepend"),h(X.text),B(X.offset);return}if(G.length===0){if(H)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}if(d.key==="delete"){d.preventDefault();let T=F.del();h(T.text),B(T.offset);return}if(d.key==="left"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.prevWord();B(T.offset);return}if(d.key==="right"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.nextWord();B(T.offset);return}if(d.key==="left"){d.preventDefault();let T=F.left();B(T.offset);return}if(d.key==="right"){d.preventDefault();let T=F.right();B(T.offset);return}if(d.key==="home"){d.preventDefault(),B(0);return}if(d.key==="end"){d.preventDefault(),B(G.length);return}if(d.ctrl){switch(d.preventDefault(),d.key.toLowerCase()){case"a":B(0);return;case"e":B(G.length);return;case"b":B(F.left().offset);return;case"f":B(F.right().offset);return;case"d":{if(G.length===0){($??b)();return}let T=F.del();h(T.text),B(T.offset);return}case"h":{if(G.length===0){if(H)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}case"k":{let{cursor:T,killed:X}=F.deleteToLineEnd();L(X,"append"),h(T.text),B(T.offset);return}case"u":{let{cursor:T,killed:X}=F.deleteToLineStart();L(X,"prepend"),h(T.text),B(T.offset);return}case"w":{let{cursor:T,killed:X}=F.deleteWordBefore();L(X,"prepend"),h(T.text),B(T.offset);return}case"y":{let T=i();if(T.length>0){let X=F.offset,M=F.insert(T);E(X,T.length),h(M.text),B(M.offset)}return}case"g":case"c":if($){$();return}}return}if(d.meta){switch(d.preventDefault(),d.key.toLowerCase()){case"b":B(F.prevWord().offset);return;case"f":B(F.nextWord().offset);return;case"d":{let T=F.deleteWordAfter();h(T.text),B(T.offset);return}case"y":{let T=c();if(T){let{text:X,start:M,length:z}=T,f=G.slice(0,M),a=G.slice(M+z),n=f+X+a,o=M+X.length;w(X.length),h(n),B(o)}return}}return}if(d.key==="tab")return;if(d.key.length>=1&&!b1.has(d.key)){d.preventDefault();let T=F.insert(d.key);h(T.text),B(T.offset)}};return Q((d,F,T)=>{g(new S(T.keypress))},{isActive:J}),{query:G,setQuery:D,cursorOffset:m,handleKeyDown:g}}var R,b1;var B1=q(()=>{r();K();e();s();R=p(t(),1);b1=new Set(["pageup","pagedown","insert","wheelup","wheeldown","mouse","f1","f2","f3","f4","f5","f6","f7","f8","f9","f10","f11","f12"])});
2
- export{X1 as th,u as uh,V1 as vh,B1 as wh};
@@ -1,2 +0,0 @@
1
- import{ita as H,kta as UJ}from"./cli-1.1.18-hvd9yyb4.mjs";var N=H((IJ,Oq)=>{var K1=Number.MAX_SAFE_INTEGER||9007199254740991,j1=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Oq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:K1,RELEASE_TYPES:j1,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var S=H((OJ,Hq)=>{var z1=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};Hq.exports=z1});var C=H((L,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:Y1,MAX_LENGTH:U1}=N(),F1=S();L=wq.exports={};var I1=L.re=[],O1=L.safeRe=[],j=L.src=[],H1=L.safeSrc=[],z=L.t={},w1=0,r="[a-zA-Z0-9-]",y1=[["\\s",1],["\\d",U1],[r,Y1]],B1=(q)=>{for(let[$,J]of y1)q=q.split(`${$}*`).join(`${$}{0,${J}}`).split(`${$}+`).join(`${$}{1,${J}}`);return q},w=(q,$,J)=>{let Q=B1($),Z=w1++;F1(q,Z,$),z[q]=Z,j[Z]=$,H1[Z]=Q,I1[Z]=new RegExp($,J?"g":void 0),O1[Z]=new RegExp(Q,J?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*");w("NUMERICIDENTIFIERLOOSE","\\d+");w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${r}*`);w("MAINVERSION",`(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})`);w("MAINVERSIONLOOSE",`(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASEIDENTIFIER",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIER]})`);w("PRERELEASEIDENTIFIERLOOSE",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASE",`(?:-(${j[z.PRERELEASEIDENTIFIER]}(?:\\.${j[z.PRERELEASEIDENTIFIER]})*))`);w("PRERELEASELOOSE",`(?:-?(${j[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${j[z.PRERELEASEIDENTIFIERLOOSE]})*))`);w("BUILDIDENTIFIER",`${r}+`);w("BUILD",`(?:\\+(${j[z.BUILDIDENTIFIER]}(?:\\.${j[z.BUILDIDENTIFIER]})*))`);w("FULLPLAIN",`v?${j[z.MAINVERSION]}${j[z.PRERELEASE]}?${j[z.BUILD]}?`);w("FULL",`^${j[z.FULLPLAIN]}$`);w("LOOSEPLAIN",`[v=\\s]*${j[z.MAINVERSIONLOOSE]}${j[z.PRERELEASELOOSE]}?${j[z.BUILD]}?`);w("LOOSE",`^${j[z.LOOSEPLAIN]}$`);w("GTLT","((?:<|>)?=?)");w("XRANGEIDENTIFIERLOOSE",`${j[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);w("XRANGEIDENTIFIER",`${j[z.NUMERICIDENTIFIER]}|x|X|\\*`);w("XRANGEPLAIN",`[v=\\s]*(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:${j[z.PRERELEASE]})?${j[z.BUILD]}?)?)?`);w("XRANGEPLAINLOOSE",`[v=\\s]*(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:${j[z.PRERELEASELOOSE]})?${j[z.BUILD]}?)?)?`);w("XRANGE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAIN]}$`);w("XRANGELOOSE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAINLOOSE]}$`);w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`);w("COERCE",`${j[z.COERCEPLAIN]}(?:$|[^\\d])`);w("COERCEFULL",j[z.COERCEPLAIN]+`(?:${j[z.PRERELEASE]})?(?:${j[z.BUILD]})?(?:$|[^\\d])`);w("COERCERTL",j[z.COERCE],!0);w("COERCERTLFULL",j[z.COERCEFULL],!0);w("LONETILDE","(?:~>?)");w("TILDETRIM",`(\\s*)${j[z.LONETILDE]}\\s+`,!0);L.tildeTrimReplace="$1~";w("TILDE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAIN]}$`);w("TILDELOOSE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAINLOOSE]}$`);w("LONECARET","(?:\\^)");w("CARETTRIM",`(\\s*)${j[z.LONECARET]}\\s+`,!0);L.caretTrimReplace="$1^";w("CARET",`^${j[z.LONECARET]}${j[z.XRANGEPLAIN]}$`);w("CARETLOOSE",`^${j[z.LONECARET]}${j[z.XRANGEPLAINLOOSE]}$`);w("COMPARATORLOOSE",`^${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]})$|^$`);w("COMPARATOR",`^${j[z.GTLT]}\\s*(${j[z.FULLPLAIN]})$|^$`);w("COMPARATORTRIM",`(\\s*)${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]}|${j[z.XRANGEPLAIN]})`,!0);L.comparatorTrimReplace="$1$2$3";w("HYPHENRANGE",`^\\s*(${j[z.XRANGEPLAIN]})\\s+-\\s+(${j[z.XRANGEPLAIN]})\\s*$`);w("HYPHENRANGELOOSE",`^\\s*(${j[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${j[z.XRANGEPLAINLOOSE]})\\s*$`);w("STAR","(<|>)?=?\\s*\\*");w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var b=H((HJ,yq)=>{var x1=Object.freeze({loose:!0}),D1=Object.freeze({}),G1=(q)=>{if(!q)return D1;if(typeof q!=="object")return x1;return q};yq.exports=G1});var o=H((wJ,Dq)=>{var Bq=/^[0-9]+$/,xq=(q,$)=>{if(typeof q==="number"&&typeof $==="number")return q===$?0:q<$?-1:1;let J=Bq.test(q),Q=Bq.test($);if(J&&Q)q=+q,$=+$;return q===$?0:J&&!Q?-1:Q&&!J?1:q<$?-1:1},V1=(q,$)=>xq($,q);Dq.exports={compareIdentifiers:xq,rcompareIdentifiers:V1}});var G=H((yJ,Vq)=>{var h=S(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:f}=N(),{safeRe:v,t:d}=C(),P1=b(),{compareIdentifiers:e}=o(),_1=(q,$)=>{let J=$.split(".");if(J.length>q.length)return!1;for(let Q=0;Q<J.length;Q++)if(e(q[Q],J[Q])!==0)return!1;return!0};class A{constructor(q,$){if($=P1($),q instanceof A)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>Gq)throw TypeError(`version is longer than ${Gq} characters`);h("SemVer",q,$),this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease;let J=q.trim().match($.loose?v[d.LOOSE]:v[d.FULL]);if(!J)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+J[1],this.minor=+J[2],this.patch=+J[3],this.major>f||this.major<0)throw TypeError("Invalid major version");if(this.minor>f||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>f||this.patch<0)throw TypeError("Invalid patch version");if(!J[4])this.prerelease=[];else this.prerelease=J[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let Z=+Q;if(Z>=0&&Z<f)return Z}return Q});this.build=J[5]?J[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(h("SemVer.compare",this.version,this.options,q),!(q instanceof A)){if(typeof q==="string"&&q===this.version)return 0;q=new A(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof A))q=new A(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof A))q=new A(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let $=0;do{let J=this.prerelease[$],Q=q.prerelease[$];if(h("prerelease compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}compareBuild(q){if(!(q instanceof A))q=new A(q,this.options);let $=0;do{let J=this.build[$],Q=q.build[$];if(h("build compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}inc(q,$,J){if(q.startsWith("pre")){if(!$&&J===!1)throw Error("invalid increment argument: identifier is empty");if($){let Q=`-${$}`.match(this.options.loose?v[d.PRERELEASELOOSE]:v[d.PRERELEASE]);if(!Q||Q[1]!==$)throw Error(`invalid identifier: ${$}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",$,J);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",$,J);break;case"prepatch":this.prerelease.length=0,this.inc("patch",$,J),this.inc("pre",$,J);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",$,J);this.inc("pre",$,J);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number(J)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let Z=this.prerelease.length;while(--Z>=0)if(typeof this.prerelease[Z]==="number")this.prerelease[Z]++,Z=-2;if(Z===-1){if($===this.prerelease.join(".")&&J===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if($){let Z=[$,Q];if(J===!1)Z=[$];if(_1(this.prerelease,$)){let W=this.prerelease[$.split(".").length];if(isNaN(W))this.prerelease=Z}else this.prerelease=Z}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Vq.exports=A});var E=H((BJ,_q)=>{var Pq=G(),X1=(q,$,J=!1)=>{if(q instanceof Pq)return q;try{return new Pq(q,$)}catch(Q){if(!J)return null;throw Q}};_q.exports=X1});var Aq=H((xJ,Xq)=>{var A1=E(),L1=(q,$)=>{let J=A1(q,$);return J?J.version:null};Xq.exports=L1});var Eq=H((DJ,Lq)=>{var E1=E(),N1=(q,$)=>{let J=E1(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Lq.exports=N1});var Sq=H((GJ,Cq)=>{var Nq=G(),C1=(q,$,J,Q,Z)=>{if(typeof J==="string")Z=Q,Q=J,J=void 0;try{return new Nq(q instanceof Nq?q.version:q,J).inc($,Q,Z).version}catch(W){return null}};Cq.exports=C1});var uq=H((VJ,kq)=>{var Rq=E(),S1=(q,$)=>{let J=Rq(q,null,!0),Q=Rq($,null,!0),Z=J.compare(Q);if(Z===0)return null;let W=Z>0,K=W?J:Q,Y=W?Q:J,F=!!K.prerelease.length;if(!!Y.prerelease.length&&!F){if(!Y.patch&&!Y.minor)return"major";if(Y.compareMain(K)===0){if(Y.minor&&!Y.patch)return"minor";return"patch"}}let I=F?"pre":"";if(J.major!==Q.major)return I+"major";if(J.minor!==Q.minor)return I+"minor";if(J.patch!==Q.patch)return I+"patch";return"prerelease"};kq.exports=S1});var Mq=H((PJ,Tq)=>{var R1=G(),k1=(q,$)=>new R1(q,$).major;Tq.exports=k1});var hq=H((_J,bq)=>{var u1=G(),T1=(q,$)=>new u1(q,$).minor;bq.exports=T1});var vq=H((XJ,fq)=>{var M1=G(),b1=(q,$)=>new M1(q,$).patch;fq.exports=b1});var lq=H((AJ,dq)=>{var h1=E(),f1=(q,$)=>{let J=h1(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=f1});var _=H((LJ,cq)=>{var gq=G(),v1=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=v1});var pq=H((EJ,mq)=>{var d1=_(),l1=(q,$,J)=>d1($,q,J);mq.exports=l1});var aq=H((NJ,sq)=>{var g1=_(),c1=(q,$)=>g1(q,$,!0);sq.exports=c1});var l=H((CJ,tq)=>{var nq=G(),m1=(q,$,J)=>{let Q=new nq(q,J),Z=new nq($,J);return Q.compare(Z)||Q.compareBuild(Z)};tq.exports=m1});var rq=H((SJ,iq)=>{var p1=l(),s1=(q,$)=>q.sort((J,Q)=>p1(J,Q,$));iq.exports=s1});var eq=H((RJ,oq)=>{var a1=l(),n1=(q,$)=>q.sort((J,Q)=>a1(Q,J,$));oq.exports=n1});var R=H((kJ,q0)=>{var t1=_(),i1=(q,$,J)=>t1(q,$,J)>0;q0.exports=i1});var g=H((uJ,$0)=>{var r1=_(),o1=(q,$,J)=>r1(q,$,J)<0;$0.exports=o1});var qq=H((TJ,J0)=>{var e1=_(),q$=(q,$,J)=>e1(q,$,J)===0;J0.exports=q$});var $q=H((MJ,Q0)=>{var $$=_(),J$=(q,$,J)=>$$(q,$,J)!==0;Q0.exports=J$});var c=H((bJ,W0)=>{var Q$=_(),W$=(q,$,J)=>Q$(q,$,J)>=0;W0.exports=W$});var m=H((hJ,Z0)=>{var Z$=_(),K$=(q,$,J)=>Z$(q,$,J)<=0;Z0.exports=K$});var Jq=H((fJ,K0)=>{var j$=qq(),z$=$q(),Y$=R(),U$=c(),F$=g(),I$=m(),O$=(q,$,J,Q)=>{switch($){case"===":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q===J;case"!==":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q!==J;case"":case"=":case"==":return j$(q,J,Q);case"!=":return z$(q,J,Q);case">":return Y$(q,J,Q);case">=":return U$(q,J,Q);case"<":return F$(q,J,Q);case"<=":return I$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K0.exports=O$});var z0=H((vJ,j0)=>{var H$=G(),w$=E(),{safeRe:p,t:s}=C(),y$=(q,$)=>{if(q instanceof H$)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;$=$||{};let J=null;if(!$.rtl)J=q.match($.includePrerelease?p[s.COERCEFULL]:p[s.COERCE]);else{let F=$.includePrerelease?p[s.COERCERTLFULL]:p[s.COERCERTL],U;while((U=F.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||U.index+U[0].length!==J.index+J[0].length)J=U;F.lastIndex=U.index+U[1].length+U[2].length}F.lastIndex=-1}if(J===null)return null;let Q=J[2],Z=J[3]||"0",W=J[4]||"0",K=$.includePrerelease&&J[5]?`-${J[5]}`:"",Y=$.includePrerelease&&J[6]?`+${J[6]}`:"";return w$(`${Q}.${Z}.${W}${K}${Y}`,$)};j0.exports=y$});var U0=H((dJ,Y0)=>{var B$=E(),x$=N(),D$=G(),G$=(q,$,J)=>{if(!x$.RELEASE_TYPES.includes($))return null;let Q=V$(q,J);return Q&&P$(Q,$)},V$=(q,$)=>{let J=q instanceof D$?q.version:q;return B$(J,$)},P$=(q,$)=>{if(_$($))return q.version;switch(q.prerelease=[],$){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},_$=(q)=>{return q.startsWith("pre")};Y0.exports=G$});var O0=H((lJ,I0)=>{class F0{constructor(){this.max=1000,this.map=new Map}get(q){let $=this.map.get(q);if($===void 0)return;else return this.map.delete(q),this.map.set(q,$),$}delete(q){return this.map.delete(q)}set(q,$){if(!this.delete(q)&&$!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,$)}return this}}I0.exports=F0});var X=H((gJ,B0)=>{var X$=/\s+/g;class k{constructor(q,$){if($=L$($),q instanceof k)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else return new k(q.raw,$);if(q instanceof Qq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=q.trim().replace(X$," "),this.set=this.raw.split("||").map((J)=>this.parseRange(J.trim())).filter((J)=>J.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let J=this.set[0];if(this.set=this.set.filter((Q)=>!w0(Q[0])),this.set.length===0)this.set=[J];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&M$(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let $=this.set[q];for(let J=0;J<$.length;J++){if(J>0)this.formatted+=" ";this.formatted+=$[J].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(T$,"");let J=((this.options.includePrerelease&&k$)|(this.options.loose&&u$))+":"+q,Q=H0.get(J);if(Q)return Q;let Z=this.options.loose,W=Z?P[V.HYPHENRANGELOOSE]:P[V.HYPHENRANGE];q=q.replace(W,s$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(P[V.COMPARATORTRIM],C$),B("comparator trim",q),q=q.replace(P[V.TILDETRIM],S$),B("tilde trim",q),q=q.replace(P[V.CARETTRIM],R$),B("caret trim",q);let K=q.split(" ").map((I)=>b$(I,this.options)).join(" ").split(/\s+/).map((I)=>p$(I,this.options));if(Z)K=K.filter((I)=>{return B("loose invalid filter",I,this.options),!!I.match(P[V.COMPARATORLOOSE])});B("range list",K);let Y=new Map,F=K.map((I)=>new Qq(I,this.options));for(let I of F){if(w0(I))return[I];Y.set(I.value,I)}if(Y.size>1&&Y.has(""))Y.delete("");let U=[...Y.values()];return H0.set(J,U),U}intersects(q,$){if(!(q instanceof k))throw TypeError("a Range is required");return this.set.some((J)=>{return y0(J,$)&&q.set.some((Q)=>{return y0(Q,$)&&J.every((Z)=>{return Q.every((W)=>{return Z.intersects(W,$)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new E$(q,this.options)}catch($){return!1}for(let $=0;$<this.set.length;$++)if(a$(this.set[$],q,this.options))return!0;return!1}}B0.exports=k;var A$=O0(),H0=new A$,L$=b(),Qq=u(),B=S(),E$=G(),{safeRe:P,src:N$,t:V,comparatorTrimReplace:C$,tildeTrimReplace:S$,caretTrimReplace:R$}=C(),{FLAG_INCLUDE_PRERELEASE:k$,FLAG_LOOSE:u$}=N(),T$=new RegExp(N$[V.BUILD],"g"),w0=(q)=>q.value==="<0.0.0-0",M$=(q)=>q.value==="",y0=(q,$)=>{let J=!0,Q=q.slice(),Z=Q.pop();while(J&&Q.length)J=Q.every((W)=>{return Z.intersects(W,$)}),Z=Q.pop();return J},b$=(q,$)=>{return q=q.replace(P[V.BUILD],""),B("comp",q,$),q=d$(q,$),B("caret",q),q=f$(q,$),B("tildes",q),q=g$(q,$),B("xrange",q),q=m$(q,$),B("stars",q),q},D=(q)=>!q||q.toLowerCase()==="x"||q==="*",h$=(q,$,J)=>D(q)&&!D($)||D($)&&J&&!D(J),f$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>v$(J,$)).join(" ")},v$=(q,$)=>{let J=$.loose?P[V.TILDELOOSE]:P[V.TILDE],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("tilde",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else if(F)B("replaceTilde pr",F),U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;return B("tilde return",U),U})},d$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>l$(J,$)).join(" ")},l$=(q,$)=>{B("caret",q,$);let J=$.loose?P[V.CARETLOOSE]:P[V.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("caret",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))if(W==="0")U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.0${Q} <${+W+1}.0.0-0`;else if(F)if(B("replaceCaret pr",F),W==="0")if(K==="0")U=`>=${W}.${K}.${Y}-${F} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y}-${F} <${+W+1}.0.0-0`;else if(B("no pr"),W==="0")if(K==="0")U=`>=${W}.${K}.${Y} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${+W+1}.0.0-0`;return B("caret return",U),U})},g$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>c$(J,$)).join(" ")},c$=(q,$)=>{q=q.trim();let J=$.loose?P[V.XRANGELOOSE]:P[V.XRANGE];return q.replace(J,(Q,Z,W,K,Y,F)=>{if(B("xRange",q,Q,Z,W,K,Y,F),h$(W,K,Y))return q;let U=D(W),I=U||D(K),y=I||D(Y),x=y;if(Z==="="&&x)Z="";if(F=$.includePrerelease?"-0":"",U)if(Z===">"||Z==="<")Q="<0.0.0-0";else Q="*";else if(Z&&x){if(I)K=0;if(Y=0,Z===">")if(Z=">=",I)W=+W+1,K=0,Y=0;else K=+K+1,Y=0;else if(Z==="<=")if(Z="<",I)W=+W+1;else K=+K+1;if(Z==="<")F="-0";Q=`${Z+W}.${K}.${Y}${F}`}else if(I)Q=`>=${W}.0.0${F} <${+W+1}.0.0-0`;else if(y)Q=`>=${W}.${K}.0${F} <${W}.${+K+1}.0-0`;return B("xRange return",Q),Q})},m$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(P[V.STAR],"")},p$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(P[$.includePrerelease?V.GTE0PRE:V.GTE0],"")},s$=(q)=>($,J,Q,Z,W,K,Y,F,U,I,y,x)=>{if(D(Q))J="";else if(D(Z))J=`>=${Q}.0.0${q?"-0":""}`;else if(D(W))J=`>=${Q}.${Z}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(D(U))F="";else if(D(I))F=`<${+U+1}.0.0-0`;else if(D(y))F=`<${U}.${+I+1}.0-0`;else if(x)F=`<=${U}.${I}.${y}-${x}`;else if(q)F=`<${U}.${I}.${+y+1}-0`;else F=`<=${F}`;return`${J} ${F}`.trim()},a$=(q,$,J)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test($))return!1;if($.prerelease.length&&!J.includePrerelease){for(let Q=0;Q<q.length;Q++){if(B(q[Q].semver),q[Q].semver===Qq.ANY)continue;if(q[Q].semver.prerelease.length>0){let Z=q[Q].semver;if(Z.major===$.major&&Z.minor===$.minor&&Z.patch===$.patch)return!0}}return!1}return!0}});var u=H((cJ,_0)=>{var T=Symbol("SemVer ANY");class a{static get ANY(){return T}constructor(q,$){if($=x0($),q instanceof a)if(q.loose===!!$.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Zq("comparator",q,$),this.options=$,this.loose=!!$.loose,this.parse(q),this.semver===T)this.value="";else this.value=this.operator+this.semver.version;Zq("comp",this)}parse(q){let $=this.options.loose?D0[G0.COMPARATORLOOSE]:D0[G0.COMPARATOR],J=q.match($);if(!J)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=J[1]!==void 0?J[1]:"",this.operator==="=")this.operator="";if(!J[2])this.semver=T;else this.semver=new V0(J[2],this.options.loose)}toString(){return this.value}test(q){if(Zq("Comparator.test",q,this.options.loose),this.semver===T||q===T)return!0;if(typeof q==="string")try{q=new V0(q,this.options)}catch($){return!1}return Wq(q,this.operator,this.semver,this.options)}intersects(q,$){if(!(q instanceof a))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new P0(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new P0(this.value,$).test(q.semver)}if($=x0($),$.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!$.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Wq(this.semver,"<",q.semver,$)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Wq(this.semver,">",q.semver,$)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}_0.exports=a;var x0=b(),{safeRe:D0,t:G0}=C(),Wq=Jq(),Zq=S(),V0=G(),P0=X()});var M=H((mJ,X0)=>{var n$=X(),t$=(q,$,J)=>{try{$=new n$($,J)}catch(Q){return!1}return $.test(q)};X0.exports=t$});var L0=H((pJ,A0)=>{var i$=X(),r$=(q,$)=>new i$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));A0.exports=r$});var N0=H((sJ,E0)=>{var o$=G(),e$=X(),q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new e$($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===-1)Q=K,Z=new o$(Q,J)}}),Q};E0.exports=q9});var S0=H((aJ,C0)=>{var $9=G(),J9=X(),Q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new J9($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===1)Q=K,Z=new $9(Q,J)}}),Q};C0.exports=Q9});var u0=H((nJ,k0)=>{var Kq=G(),W9=X(),R0=R(),Z9=(q,$)=>{q=new W9(q,$);let J=new Kq("0.0.0");if(q.test(J))return J;if(J=new Kq("0.0.0-0"),q.test(J))return J;J=null;for(let Q=0;Q<q.set.length;++Q){let Z=q.set[Q],W=null;if(Z.forEach((K)=>{let Y=new Kq(K.semver.version);switch(K.operator){case">":if(Y.prerelease.length===0)Y.patch++;else Y.prerelease.push(0);Y.raw=Y.format();case"":case">=":if(!W||R0(Y,W))W=Y;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),W&&(!J||R0(J,W)))J=W}if(J&&q.test(J))return J;return null};k0.exports=Z9});var M0=H((tJ,T0)=>{var K9=X(),j9=(q,$)=>{try{return new K9(q,$).range||"*"}catch(J){return null}};T0.exports=j9});var n=H((iJ,v0)=>{var z9=G(),f0=u(),{ANY:Y9}=f0,U9=X(),F9=M(),b0=R(),h0=g(),I9=m(),O9=c(),H9=(q,$,J,Q)=>{q=new z9(q,Q),$=new U9($,Q);let Z,W,K,Y,F;switch(J){case">":Z=b0,W=I9,K=h0,Y=">",F=">=";break;case"<":Z=h0,W=O9,K=b0,Y="<",F="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(F9(q,$,Q))return!1;for(let U=0;U<$.set.length;++U){let I=$.set[U],y=null,x=null;if(I.forEach((O)=>{if(O.semver===Y9)O=new f0(">=0.0.0");if(y=y||O,x=x||O,Z(O.semver,y.semver,Q))y=O;else if(K(O.semver,x.semver,Q))x=O}),y.operator===Y||y.operator===F)return!1;if((!x.operator||x.operator===Y)&&W(q,x.semver))return!1;else if(x.operator===F&&K(q,x.semver))return!1}return!0};v0.exports=H9});var l0=H((rJ,d0)=>{var w9=n(),y9=(q,$,J)=>w9(q,$,">",J);d0.exports=y9});var c0=H((oJ,g0)=>{var B9=n(),x9=(q,$,J)=>B9(q,$,"<",J);g0.exports=x9});var s0=H((eJ,p0)=>{var m0=X(),D9=(q,$,J)=>{return q=new m0(q,J),$=new m0($,J),q.intersects($,J)};p0.exports=D9});var n0=H((qQ,a0)=>{var G9=M(),V9=_();a0.exports=(q,$,J)=>{let Q=[],Z=null,W=null,K=q.sort((I,y)=>V9(I,y,J));for(let I of K)if(G9(I,$,J)){if(W=I,!Z)Z=I}else{if(W)Q.push([Z,W]);W=null,Z=null}if(Z)Q.push([Z,null]);let Y=[];for(let[I,y]of Q)if(I===y)Y.push(I);else if(!y&&I===K[0])Y.push("*");else if(!y)Y.push(`>=${I}`);else if(I===K[0])Y.push(`<=${y}`);else Y.push(`${I} - ${y}`);let F=Y.join(" || "),U=typeof $.raw==="string"?$.raw:String($);return F.length<U.length?F:$}});var q1=H(($Q,e0)=>{var t0=X(),Yq=u(),{ANY:jq}=Yq,zq=M(),Uq=_(),P9=(q,$,J={})=>{if(q===$)return!0;q=new t0(q,J),$=new t0($,J);let Q=!1;q:for(let Z of q.set){for(let W of $.set){let K=X9(Z,W,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},_9=[new Yq(">=0.0.0-0")],i0=[new Yq(">=0.0.0")],X9=(q,$,J)=>{if(q===$)return!0;if(q.length===1&&q[0].semver===jq)if($.length===1&&$[0].semver===jq)return!0;else if(J.includePrerelease)q=_9;else q=i0;if($.length===1&&$[0].semver===jq)if(J.includePrerelease)return!0;else $=i0;let Q=new Set,Z,W;for(let O of q)if(O.operator===">"||O.operator===">=")Z=r0(Z,O,J);else if(O.operator==="<"||O.operator==="<=")W=o0(W,O,J);else Q.add(O.semver);if(Q.size>1)return null;let K;if(Z&&W){if(K=Uq(Z.semver,W.semver,J),K>0)return null;else if(K===0&&(Z.operator!==">="||W.operator!=="<="))return null}for(let O of Q){if(Z&&!zq(O,String(Z),J))return null;if(W&&!zq(O,String(W),J))return null;for(let Z1 of $)if(!zq(O,String(Z1),J))return!1;return!0}let Y,F,U,I,y=W&&!J.includePrerelease&&W.semver.prerelease.length?W.semver:!1,x=Z&&!J.includePrerelease&&Z.semver.prerelease.length?Z.semver:!1;if(y&&y.prerelease.length===1&&W.operator==="<"&&y.prerelease[0]===0)y=!1;for(let O of $){if(I=I||O.operator===">"||O.operator===">=",U=U||O.operator==="<"||O.operator==="<=",Z){if(x){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===x.major&&O.semver.minor===x.minor&&O.semver.patch===x.patch)x=!1}if(O.operator===">"||O.operator===">="){if(Y=r0(Z,O,J),Y===O&&Y!==Z)return!1}else if(Z.operator===">="&&!O.test(Z.semver))return!1}if(W){if(y){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===y.major&&O.semver.minor===y.minor&&O.semver.patch===y.patch)y=!1}if(O.operator==="<"||O.operator==="<="){if(F=o0(W,O,J),F===O&&F!==W)return!1}else if(W.operator==="<="&&!O.test(W.semver))return!1}if(!O.operator&&(W||Z)&&K!==0)return!1}if(Z&&U&&!W&&K!==0)return!1;if(W&&I&&!Z&&K!==0)return!1;if(x||y)return!1;return!0},r0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q>0?q:Q<0?$:$.operator===">"&&q.operator===">="?$:q},o0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q<0?q:Q>0?$:$.operator==="<"&&q.operator==="<="?$:q};e0.exports=P9});var W1=H((JQ,Q1)=>{var Fq=C(),$1=N(),A9=G(),J1=o(),L9=E(),E9=Aq(),N9=Eq(),C9=Sq(),S9=uq(),R9=Mq(),k9=hq(),u9=vq(),T9=lq(),M9=_(),b9=pq(),h9=aq(),f9=l(),v9=rq(),d9=eq(),l9=R(),g9=g(),c9=qq(),m9=$q(),p9=c(),s9=m(),a9=Jq(),n9=z0(),t9=U0(),i9=u(),r9=X(),o9=M(),e9=L0(),qJ=N0(),$J=S0(),JJ=u0(),QJ=M0(),WJ=n(),ZJ=l0(),KJ=c0(),jJ=s0(),zJ=n0(),YJ=q1();Q1.exports={parse:L9,valid:E9,clean:N9,inc:C9,diff:S9,major:R9,minor:k9,patch:u9,prerelease:T9,compare:M9,rcompare:b9,compareLoose:h9,compareBuild:f9,sort:v9,rsort:d9,gt:l9,lt:g9,eq:c9,neq:m9,gte:p9,lte:s9,cmp:a9,coerce:n9,truncate:t9,Comparator:i9,Range:r9,satisfies:o9,toComparators:e9,maxSatisfying:qJ,minSatisfying:$J,minVersion:JJ,validRange:QJ,outside:WJ,gtr:ZJ,ltr:KJ,intersects:jJ,simplifyRange:zJ,subset:YJ,SemVer:A9,re:Fq.re,src:Fq.src,tokens:Fq.t,SEMVER_SPEC_VERSION:$1.SEMVER_SPEC_VERSION,RELEASE_TYPES:$1.RELEASE_TYPES,compareIdentifiers:J1.compareIdentifiers,rcompareIdentifiers:J1.rcompareIdentifiers}});function t(){if(!Iq)Iq=W1();return Iq}function QQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return t().gt(q,$,{loose:!0})}function WQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return t().gte(q,$,{loose:!0})}function ZQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===-1;return t().lt(q,$,{loose:!0})}function KQ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return t().satisfies(q,$,{loose:!0})}var Iq;var FJ=()=>{};
2
- export{W1 as x2,QQ as y2,WQ as z2,ZQ as A2,KQ as B2,FJ as C2};
@@ -1 +0,0 @@
1
- import{n5 as a,o5 as b,p5 as c,q5 as d,r5 as e,s5 as f,t5 as g,u5 as h,v5 as i,w5 as j,x5 as k,y5 as l,z5 as m}from"./cli-1.1.18-703emt7y.mjs";import"./cli-1.1.18-ythtynpe.mjs";import"./cli-1.1.18-mrrbn0jj.mjs";import"./cli-1.1.18-af7txyky.mjs";import"./cli-1.1.18-avas0dtp.mjs";import"./cli-1.1.18-3y4pftxb.mjs";import"./cli-1.1.18-ndct9t5e.mjs";import"./cli-1.1.18-c9h4ga5f.mjs";import"./cli-1.1.18-psb6qqc1.mjs";import"./cli-1.1.18-7pcfwrhj.mjs";import"./cli-1.1.18-esvp6n4e.mjs";import"./cli-1.1.18-cj8tr93q.mjs";import"./cli-1.1.18-k05shz35.mjs";import"./cli-1.1.18-hbv881pn.mjs";import"./cli-1.1.18-ypcye8ae.mjs";import"./cli-1.1.18-mz10pywc.mjs";import"./cli-1.1.18-cxg522yt.mjs";import"./cli-1.1.18-3s03nva1.mjs";import"./cli-1.1.18-4c3jqppx.mjs";import"./cli-1.1.18-417wb57s.mjs";import"./cli-1.1.18-p3yf1aq6.mjs";import"./cli-1.1.18-vzrv28w4.mjs";import"./cli-1.1.18-4jy396p1.mjs";import"./cli-1.1.18-553zzrge.mjs";import"./cli-1.1.18-hvd9yyb4.mjs";m();export{l as storeOAuthAccountInfo,a as shouldUseClaudeAIAuth,e as refreshOAuthToken,k as populateOAuthAccountInfoIfNeeded,b as parseScopes,h as isOAuthTokenExpired,j as getOrganizationUUID,i as fetchProfileInfo,f as fetchAndStoreUserRoles,d as exchangeCodeForTokens,g as createAndStoreApiKey,c as buildAuthUrl};
@@ -1 +0,0 @@
1
- import{JT as j,Nj as F,Ou as w,Su as Y,sT as H}from"./cli-1.1.18-xfb4pete.mjs";import"./cli-1.1.18-pzeg2p3k.mjs";import"./cli-1.1.18-2qvvz2tv.mjs";import"./cli-1.1.18-cphcr3xr.mjs";import"./cli-1.1.18-k1pkc44n.mjs";import"./cli-1.1.18-hphxdvpd.mjs";import"./cli-1.1.18-ta6r8qry.mjs";import"./cli-1.1.18-heh8xz6x.mjs";import"./cli-1.1.18-rnqtkprk.mjs";import"./cli-1.1.18-cy0ypdkd.mjs";import"./cli-1.1.18-f7jag2rr.mjs";import"./cli-1.1.18-v75xqnbv.mjs";import"./cli-1.1.18-5s8f8gd5.mjs";import"./cli-1.1.18-ccbh77pf.mjs";import"./cli-1.1.18-zd969gzb.mjs";import"./cli-1.1.18-27b82jjj.mjs";import"./cli-1.1.18-pbdm30bs.mjs";import"./cli-1.1.18-ybfayy4j.mjs";import"./cli-1.1.18-fst0kx9m.mjs";import{eY as K,mY as X}from"./cli-1.1.18-1c8pr80a.mjs";import"./cli-1.1.18-0h118vrj.mjs";import"./cli-1.1.18-t526ry94.mjs";import"./cli-1.1.18-2w9274tq.mjs";import"./cli-1.1.18-x7jyxff1.mjs";import"./cli-1.1.18-ecds9fxm.mjs";import"./cli-1.1.18-ztyf20j1.mjs";import"./cli-1.1.18-12tzkcxz.mjs";import"./cli-1.1.18-mg7jmbh9.mjs";import"./cli-1.1.18-mwevzyy2.mjs";import"./cli-1.1.18-a888prq4.mjs";import"./cli-1.1.18-1t3rb5a8.mjs";import"./cli-1.1.18-8thyc5yy.mjs";import"./cli-1.1.18-npdweafk.mjs";import"./cli-1.1.18-f2j32mha.mjs";import"./cli-1.1.18-cjkn7t4k.mjs";import"./cli-1.1.18-0aakxjsk.mjs";import"./cli-1.1.18-948h21gh.mjs";import"./cli-1.1.18-ddreb78e.mjs";import"./cli-1.1.18-1spz0azv.mjs";import"./cli-1.1.18-703emt7y.mjs";import"./cli-1.1.18-ythtynpe.mjs";import"./cli-1.1.18-mrrbn0jj.mjs";import"./cli-1.1.18-af7txyky.mjs";import"./cli-1.1.18-7nsrr2k0.mjs";import"./cli-1.1.18-avas0dtp.mjs";import"./cli-1.1.18-f6m259he.mjs";import"./cli-1.1.18-3y4pftxb.mjs";import"./cli-1.1.18-ndct9t5e.mjs";import"./cli-1.1.18-c9h4ga5f.mjs";import"./cli-1.1.18-psb6qqc1.mjs";import"./cli-1.1.18-7pcfwrhj.mjs";import"./cli-1.1.18-esvp6n4e.mjs";import"./cli-1.1.18-cj8tr93q.mjs";import"./cli-1.1.18-k05shz35.mjs";import"./cli-1.1.18-hbv881pn.mjs";import"./cli-1.1.18-ypcye8ae.mjs";import"./cli-1.1.18-mz10pywc.mjs";import"./cli-1.1.18-cxg522yt.mjs";import"./cli-1.1.18-3s03nva1.mjs";import{yra as W,zna as B}from"./cli-1.1.18-4c3jqppx.mjs";import"./cli-1.1.18-417wb57s.mjs";import"./cli-1.1.18-p3yf1aq6.mjs";import"./cli-1.1.18-vzrv28w4.mjs";import"./cli-1.1.18-4jy396p1.mjs";import"./cli-1.1.18-553zzrge.mjs";import{kta as V}from"./cli-1.1.18-hvd9yyb4.mjs";async function h(q,J,y){if(K())return q("Cannot set color: This session is a swarm teammate. Teammate colors are assigned by the team leader.",{display:"system"}),null;if(!y||y.trim()===""){let b=w.join(", ");return q(`Please provide a color. Available colors: ${b}, default`,{display:"system"}),null}let k=y.trim().toLowerCase();if(Z.includes(k)){let b=B(),U=F();return await H(b,"default",U),J.setAppState((z)=>({...z,standaloneAgentContext:{...z.standaloneAgentContext,name:z.standaloneAgentContext?.name??"",color:void 0}})),q("Session color reset to default",{display:"system"}),null}if(!w.includes(k)){let b=w.join(", ");return q(`Invalid color "${k}". Available colors: ${b}, default`,{display:"system"}),null}let M=B(),Q=F();return await H(M,k,Q),J.setAppState((b)=>({...b,standaloneAgentContext:{...b.standaloneAgentContext,name:b.standaloneAgentContext?.name??"",color:k}})),q(`Session color set to: ${k}`,{display:"system"}),null}var Z;var $=V(()=>{W();Y();j();X();Z=["default","reset","none","gray","grey"]});$();export{h as call};
@@ -1,3 +0,0 @@
1
- import{$D as $,$O as k,$Q as qj,HS as zj,Ny as b,Oy as x,QQ as l,RC as f,SR as C,TI as y,Tw as A,UI as c,VO as B,Vw as u,WO as s,YD as Y,ZD as I,Zw as X,_D as Z,_w as m,aE as O,ax as N,bE as _,cx as a,dE as n,eS as wj,iU as R,jU as W,kU as Hj,lP as o,nP as P,oP as e,py as U,qy as r}from"./cli-1.1.18-xfb4pete.mjs";import"./cli-1.1.18-pzeg2p3k.mjs";import"./cli-1.1.18-2qvvz2tv.mjs";import"./cli-1.1.18-cphcr3xr.mjs";import"./cli-1.1.18-k1pkc44n.mjs";import"./cli-1.1.18-hphxdvpd.mjs";import"./cli-1.1.18-ta6r8qry.mjs";import"./cli-1.1.18-heh8xz6x.mjs";import"./cli-1.1.18-rnqtkprk.mjs";import"./cli-1.1.18-cy0ypdkd.mjs";import"./cli-1.1.18-f7jag2rr.mjs";import"./cli-1.1.18-v75xqnbv.mjs";import"./cli-1.1.18-5s8f8gd5.mjs";import"./cli-1.1.18-ccbh77pf.mjs";import"./cli-1.1.18-zd969gzb.mjs";import"./cli-1.1.18-27b82jjj.mjs";import"./cli-1.1.18-pbdm30bs.mjs";import"./cli-1.1.18-ybfayy4j.mjs";import"./cli-1.1.18-fst0kx9m.mjs";import"./cli-1.1.18-1c8pr80a.mjs";import"./cli-1.1.18-0h118vrj.mjs";import"./cli-1.1.18-t526ry94.mjs";import"./cli-1.1.18-2w9274tq.mjs";import"./cli-1.1.18-x7jyxff1.mjs";import"./cli-1.1.18-ecds9fxm.mjs";import"./cli-1.1.18-ztyf20j1.mjs";import"./cli-1.1.18-12tzkcxz.mjs";import"./cli-1.1.18-mg7jmbh9.mjs";import"./cli-1.1.18-mwevzyy2.mjs";import"./cli-1.1.18-a888prq4.mjs";import"./cli-1.1.18-1t3rb5a8.mjs";import"./cli-1.1.18-8thyc5yy.mjs";import"./cli-1.1.18-npdweafk.mjs";import"./cli-1.1.18-f2j32mha.mjs";import"./cli-1.1.18-cjkn7t4k.mjs";import"./cli-1.1.18-0aakxjsk.mjs";import"./cli-1.1.18-948h21gh.mjs";import"./cli-1.1.18-ddreb78e.mjs";import"./cli-1.1.18-1spz0azv.mjs";import"./cli-1.1.18-703emt7y.mjs";import"./cli-1.1.18-ythtynpe.mjs";import{k9 as h,l9 as p}from"./cli-1.1.18-mrrbn0jj.mjs";import"./cli-1.1.18-af7txyky.mjs";import"./cli-1.1.18-7nsrr2k0.mjs";import"./cli-1.1.18-avas0dtp.mjs";import"./cli-1.1.18-f6m259he.mjs";import{Wga as D,cha as g}from"./cli-1.1.18-3y4pftxb.mjs";import"./cli-1.1.18-ndct9t5e.mjs";import"./cli-1.1.18-c9h4ga5f.mjs";import"./cli-1.1.18-psb6qqc1.mjs";import"./cli-1.1.18-7pcfwrhj.mjs";import"./cli-1.1.18-esvp6n4e.mjs";import"./cli-1.1.18-cj8tr93q.mjs";import"./cli-1.1.18-k05shz35.mjs";import"./cli-1.1.18-hbv881pn.mjs";import"./cli-1.1.18-ypcye8ae.mjs";import"./cli-1.1.18-mz10pywc.mjs";import{Hla as E,yla as v}from"./cli-1.1.18-cxg522yt.mjs";import"./cli-1.1.18-3s03nva1.mjs";import{Eoa as T,yra as i}from"./cli-1.1.18-4c3jqppx.mjs";import"./cli-1.1.18-417wb57s.mjs";import"./cli-1.1.18-p3yf1aq6.mjs";import"./cli-1.1.18-vzrv28w4.mjs";import"./cli-1.1.18-4jy396p1.mjs";import"./cli-1.1.18-553zzrge.mjs";import{kta as M}from"./cli-1.1.18-hvd9yyb4.mjs";async function t(q,j,H,w){j.onCompactProgress?.({type:"hooks_start",hookType:"pre_compact"}),j.setSDKStatus?.("compacting");try{let[z,J]=await Promise.all([f({trigger:"manual",customInstructions:H||null},j.abortController.signal),d(j,q)]),Q=O(H,z.newCustomInstructions);j.setStreamMode?.("requesting"),j.setResponseLength?.(()=>0),j.onCompactProgress?.({type:"compact_start"});let K=await w.reactiveCompactOnPromptTooLong(q,J,{customInstructions:Q,trigger:"manual"});if(!K.ok)switch(K.reason){case"too_few_groups":throw Error(Y);case"aborted":throw Error(I);case"exhausted":case"error":case"media_unstrippable":throw Error(Z)}k(void 0);let F=$(K.result);B(void 0,F,j.contentReplacementState),X(),W.cache.clear?.();let V=[z.userDisplayMessage,K.result.userDisplayMessage].filter(Boolean).join(`
2
- `)||void 0;return{type:"compact",compactionResult:{...K.result,userDisplayMessage:V},displayText:L(j,V)}}finally{j.setStreamMode?.("requesting"),j.setResponseLength?.(()=>0),j.onCompactProgress?.({type:"compact_end"}),j.setSDKStatus?.(null)}}function L(q,j){let H=b("tip"),w=U("app:toggleTranscript","Global","ctrl+o"),z=[...q.options.verbose?[]:[`(${w} to see full summary)`],...j?[j]:[],...H?[H]:[]];return h.dim("Compacted "+z.join(`
3
- `))}async function d(q,j){let H=q.getAppState(),w=await l(q.options.tools,q.options.mainLoopModel,Array.from(H.toolPermissionContext.additionalWorkingDirectories.keys()),q.options.mcpClients),z=y({mainThreadAgentDefinition:void 0,toolUseContext:q,customSystemPrompt:q.options.customSystemPrompt,defaultSystemPrompt:w,appendSystemPrompt:q.options.appendSystemPrompt}),[J,Q]=await Promise.all([W(),R()]);return{systemPrompt:z,userContext:J,systemContext:Q,toolUseContext:q,forkContextMessages:j}}var G=null,Aj=async(q,j)=>{let{abortController:H}=j,{messages:w}=j;if(w=C(w),w.length===0)throw Error("No messages to compact");let z=q.trim();try{if(!z){let V=await P(w,j.agentId);if(V){W.cache.clear?.();let S=$(V);return B(void 0,S,j.contentReplacementState),A(j.options.querySource??"compact",j.agentId),T(),X(),{type:"compact",compactionResult:V,displayText:L(j)}}}if(G?.isReactiveOnlyMode())return await t(w,j,z,G);let Q=(await N(w,j)).messages,K=await _(Q,j,await d(j,Q),!1,z,!1);k(void 0),X(),W.cache.clear?.();let F=$(K);return B(void 0,F,j.contentReplacementState),{type:"compact",compactionResult:K,displayText:L(j,K.userDisplayMessage)}}catch(J){if(H.signal.aborted)throw Error("Compaction canceled.");else if(v(J,Y))throw Error(Y);else if(v(J,Z))throw Error(Z);else throw D(J),Error(`Error during compaction: ${J}`)}};var jj=M(()=>{p();i();qj();Hj();r();u();n();m();a();s();e();o();E();zj();g();wj();x();c()});jj();export{Aj as call};
@@ -1 +0,0 @@
1
- import{$ea as p,Eea as a,Fea as b,Oea as c,Pea as d,Qea as e,Rea as f,Sea as g,Tea as h,Uea as i,Vea as j,Wea as k,Xea as l,Yea as m,Zea as n,_ea as o,afa as q,bfa as r,cfa as s,dfa as t,efa as u,ffa as v,gfa as w,hfa as x,ifa as y,jfa as z,kfa as A,lfa as B,mfa as C,nfa as D,ofa as E,pfa as F,qfa as G,rfa as H,sfa as I,tfa as J,ufa as K,vfa as L,wfa as M}from"./cli-1.1.18-3y4pftxb.mjs";import"./cli-1.1.18-ndct9t5e.mjs";import"./cli-1.1.18-c9h4ga5f.mjs";import"./cli-1.1.18-psb6qqc1.mjs";import"./cli-1.1.18-7pcfwrhj.mjs";import"./cli-1.1.18-esvp6n4e.mjs";import"./cli-1.1.18-cj8tr93q.mjs";import"./cli-1.1.18-k05shz35.mjs";import"./cli-1.1.18-hbv881pn.mjs";import"./cli-1.1.18-ypcye8ae.mjs";import"./cli-1.1.18-mz10pywc.mjs";import"./cli-1.1.18-cxg522yt.mjs";import"./cli-1.1.18-3s03nva1.mjs";import"./cli-1.1.18-4c3jqppx.mjs";import"./cli-1.1.18-417wb57s.mjs";import"./cli-1.1.18-p3yf1aq6.mjs";import"./cli-1.1.18-hvd9yyb4.mjs";M();export{A as shouldSkipPluginAutoupdate,o as saveGlobalConfig,y as saveCurrentProjectConfig,h as resetTrustDialogAcceptedCacheForTesting,l as resetProjectConfigForTests,k as resetGlobalConfigForTests,E as recordFirstStartTime,n as onGlobalConfigChange,m as isProjectConfigKey,j as isPathTrusted,f as isGlobalConfigKey,u as isConfigReadingAllowed,z as isAutoUpdaterDisabled,H as getUserClaudeRulesDir,s as getRemoteControlAtStartup,w as getProjectPathForConfig,D as getOrCreateUserID,F as getMemoryPath,G as getManagedClaudeRulesDir,p as getGlobalConfigWriteCount,r as getGlobalConfig,t as getCustomApiKeyStatus,x as getCurrentProjectConfig,C as getAutoUpdaterDisabledReason,B as formatAutoUpdaterDisabledReason,v as enableConfigs,i as checkHasTrustDialogAccepted,J as _wouldLoseAuthStateForTesting,L as _setGlobalConfigCacheForTesting,I as _getConfigForTesting,K as _buildWrittenGlobalConfig,c as SHOW_CACHE_STATS_MODES,g as PROJECT_CONFIG_KEYS,a as NOTIFICATION_CHANNELS,e as GLOBAL_CONFIG_KEYS,b as EDITOR_MODES,d as DEFAULT_GLOBAL_CONFIG,q as CONFIG_WRITE_DISPLAY_THRESHOLD};
@@ -1 +0,0 @@
1
- import{Rg as h,Sg as w}from"./cli-1.1.18-qykcs1fr.mjs";import"./cli-1.1.18-j1ryg6qv.mjs";import"./cli-1.1.18-sdsvkqmn.mjs";import"./cli-1.1.18-70ktef72.mjs";import"./cli-1.1.18-cd5r9mfb.mjs";import"./cli-1.1.18-6nxyz9v3.mjs";import"./cli-1.1.18-zdx4ywwf.mjs";import"./cli-1.1.18-70jytem3.mjs";import"./cli-1.1.18-6w9m5m4s.mjs";import"./cli-1.1.18-0xknnw9q.mjs";import"./cli-1.1.18-yysexesh.mjs";import"./cli-1.1.18-e8stczm5.mjs";import"./cli-1.1.18-xfb4pete.mjs";import"./cli-1.1.18-pzeg2p3k.mjs";import"./cli-1.1.18-2qvvz2tv.mjs";import"./cli-1.1.18-cphcr3xr.mjs";import"./cli-1.1.18-k1pkc44n.mjs";import"./cli-1.1.18-hphxdvpd.mjs";import"./cli-1.1.18-ta6r8qry.mjs";import"./cli-1.1.18-heh8xz6x.mjs";import"./cli-1.1.18-rnqtkprk.mjs";import"./cli-1.1.18-cy0ypdkd.mjs";import"./cli-1.1.18-f7jag2rr.mjs";import"./cli-1.1.18-v75xqnbv.mjs";import"./cli-1.1.18-5s8f8gd5.mjs";import"./cli-1.1.18-ccbh77pf.mjs";import"./cli-1.1.18-zd969gzb.mjs";import"./cli-1.1.18-27b82jjj.mjs";import"./cli-1.1.18-pbdm30bs.mjs";import"./cli-1.1.18-ybfayy4j.mjs";import"./cli-1.1.18-fst0kx9m.mjs";import"./cli-1.1.18-1c8pr80a.mjs";import"./cli-1.1.18-0h118vrj.mjs";import"./cli-1.1.18-t526ry94.mjs";import"./cli-1.1.18-2w9274tq.mjs";import"./cli-1.1.18-x7jyxff1.mjs";import"./cli-1.1.18-ecds9fxm.mjs";import"./cli-1.1.18-ztyf20j1.mjs";import"./cli-1.1.18-12tzkcxz.mjs";import"./cli-1.1.18-mg7jmbh9.mjs";import"./cli-1.1.18-mwevzyy2.mjs";import"./cli-1.1.18-a888prq4.mjs";import"./cli-1.1.18-1t3rb5a8.mjs";import"./cli-1.1.18-8thyc5yy.mjs";import"./cli-1.1.18-npdweafk.mjs";import{d4 as d,f4 as b}from"./cli-1.1.18-f2j32mha.mjs";import"./cli-1.1.18-cjkn7t4k.mjs";import"./cli-1.1.18-0aakxjsk.mjs";import"./cli-1.1.18-948h21gh.mjs";import"./cli-1.1.18-ddreb78e.mjs";import"./cli-1.1.18-1spz0azv.mjs";import"./cli-1.1.18-703emt7y.mjs";import"./cli-1.1.18-ythtynpe.mjs";import"./cli-1.1.18-mrrbn0jj.mjs";import"./cli-1.1.18-af7txyky.mjs";import"./cli-1.1.18-7nsrr2k0.mjs";import"./cli-1.1.18-avas0dtp.mjs";import"./cli-1.1.18-f6m259he.mjs";import"./cli-1.1.18-3y4pftxb.mjs";import"./cli-1.1.18-ndct9t5e.mjs";import"./cli-1.1.18-c9h4ga5f.mjs";import"./cli-1.1.18-psb6qqc1.mjs";import"./cli-1.1.18-7pcfwrhj.mjs";import"./cli-1.1.18-esvp6n4e.mjs";import"./cli-1.1.18-cj8tr93q.mjs";import"./cli-1.1.18-k05shz35.mjs";import"./cli-1.1.18-hbv881pn.mjs";import"./cli-1.1.18-ypcye8ae.mjs";import"./cli-1.1.18-mz10pywc.mjs";import"./cli-1.1.18-cxg522yt.mjs";import"./cli-1.1.18-3s03nva1.mjs";import"./cli-1.1.18-4c3jqppx.mjs";import"./cli-1.1.18-417wb57s.mjs";import"./cli-1.1.18-p3yf1aq6.mjs";import"./cli-1.1.18-vzrv28w4.mjs";import"./cli-1.1.18-4jy396p1.mjs";import"./cli-1.1.18-553zzrge.mjs";import{kta as v}from"./cli-1.1.18-hvd9yyb4.mjs";var A=async(k,q)=>{return d(h,{onClose:k,context:q,defaultTab:"Config"})};var y=v(()=>{w();b()});y();export{A as call};
@@ -1 +0,0 @@
1
- import{A9 as g,B9 as h,C9 as i,D9 as j,E9 as k,u9 as a,v9 as b,w9 as c,x9 as d,y9 as e,z9 as f}from"./cli-1.1.18-avas0dtp.mjs";import"./cli-1.1.18-hvd9yyb4.mjs";k();export{j as SENSITIVE_URL_QUERY_PARAM_NAMES,e as MOONSHOT_API_HOSTS,f as KIMI_CODE_API_HOST,g as GLM_API_HOSTS,a as GITHUB_429_MAX_RETRIES,c as GITHUB_429_MAX_DELAY_SEC,b as GITHUB_429_BASE_DELAY_SEC,d as GEMINI_API_HOST,h as DEEPSEEK_API_HOSTS,i as COPILOT_HEADERS};
@@ -1 +0,0 @@
1
- import{Ch as RJ,Dh as IQ}from"./cli-1.1.18-y0eah2b9.mjs";import{Zh as iJ,_h as XX}from"./cli-1.1.18-0xknnw9q.mjs";import{SR as rJ,Wk as CJ,Xk as vQ,ax as TJ,bR as nJ,cR as UX,cx as QX,eS as VX,jj as LJ,kj as QQ,lj as PJ,mj as XQ,rj as GJ,sj as ZQ}from"./cli-1.1.18-xfb4pete.mjs";import"./cli-1.1.18-pzeg2p3k.mjs";import"./cli-1.1.18-2qvvz2tv.mjs";import"./cli-1.1.18-cphcr3xr.mjs";import"./cli-1.1.18-k1pkc44n.mjs";import"./cli-1.1.18-hphxdvpd.mjs";import"./cli-1.1.18-ta6r8qry.mjs";import"./cli-1.1.18-heh8xz6x.mjs";import"./cli-1.1.18-rnqtkprk.mjs";import"./cli-1.1.18-cy0ypdkd.mjs";import"./cli-1.1.18-f7jag2rr.mjs";import"./cli-1.1.18-v75xqnbv.mjs";import"./cli-1.1.18-5s8f8gd5.mjs";import"./cli-1.1.18-ccbh77pf.mjs";import"./cli-1.1.18-zd969gzb.mjs";import"./cli-1.1.18-27b82jjj.mjs";import"./cli-1.1.18-pbdm30bs.mjs";import"./cli-1.1.18-ybfayy4j.mjs";import"./cli-1.1.18-fst0kx9m.mjs";import"./cli-1.1.18-1c8pr80a.mjs";import{GY as $J,HY as tQ,KY as _J,MY as JX,nY as cJ,oY as eQ}from"./cli-1.1.18-0h118vrj.mjs";import"./cli-1.1.18-t526ry94.mjs";import{DZ as yJ,H1 as bJ,a1 as z,c1 as Z,w1 as lJ}from"./cli-1.1.18-2w9274tq.mjs";import"./cli-1.1.18-x7jyxff1.mjs";import"./cli-1.1.18-ecds9fxm.mjs";import"./cli-1.1.18-ztyf20j1.mjs";import"./cli-1.1.18-12tzkcxz.mjs";import"./cli-1.1.18-mg7jmbh9.mjs";import"./cli-1.1.18-mwevzyy2.mjs";import"./cli-1.1.18-a888prq4.mjs";import"./cli-1.1.18-1t3rb5a8.mjs";import"./cli-1.1.18-8thyc5yy.mjs";import"./cli-1.1.18-npdweafk.mjs";import{d4 as U,e4 as X,f4 as i}from"./cli-1.1.18-f2j32mha.mjs";import{g4 as sQ}from"./cli-1.1.18-cjkn7t4k.mjs";import"./cli-1.1.18-0aakxjsk.mjs";import"./cli-1.1.18-948h21gh.mjs";import"./cli-1.1.18-ddreb78e.mjs";import"./cli-1.1.18-1spz0azv.mjs";import"./cli-1.1.18-703emt7y.mjs";import"./cli-1.1.18-ythtynpe.mjs";import"./cli-1.1.18-mrrbn0jj.mjs";import"./cli-1.1.18-af7txyky.mjs";import"./cli-1.1.18-7nsrr2k0.mjs";import"./cli-1.1.18-avas0dtp.mjs";import"./cli-1.1.18-f6m259he.mjs";import{Faa as KJ,Oba as mJ,Pba as gJ,Taa as wJ,dba as kJ,fca as oQ,kba as DQ,x_ as SJ,xda as hQ,y_ as GQ}from"./cli-1.1.18-3y4pftxb.mjs";import{tha as Y,zha as WJ}from"./cli-1.1.18-ndct9t5e.mjs";import"./cli-1.1.18-c9h4ga5f.mjs";import"./cli-1.1.18-psb6qqc1.mjs";import"./cli-1.1.18-7pcfwrhj.mjs";import"./cli-1.1.18-esvp6n4e.mjs";import"./cli-1.1.18-cj8tr93q.mjs";import"./cli-1.1.18-k05shz35.mjs";import"./cli-1.1.18-hbv881pn.mjs";import"./cli-1.1.18-ypcye8ae.mjs";import"./cli-1.1.18-mz10pywc.mjs";import"./cli-1.1.18-cxg522yt.mjs";import"./cli-1.1.18-3s03nva1.mjs";import"./cli-1.1.18-4c3jqppx.mjs";import"./cli-1.1.18-417wb57s.mjs";import"./cli-1.1.18-p3yf1aq6.mjs";import"./cli-1.1.18-vzrv28w4.mjs";import"./cli-1.1.18-4jy396p1.mjs";import"./cli-1.1.18-553zzrge.mjs";import{gta as IJ,kta as zJ}from"./cli-1.1.18-hvd9yyb4.mjs";function AJ(Q){let J=[];return VQ(Q,J),FQ(Q,J),qQ(Q,J),HQ(Q,J),WQ(Q,J),J.sort((v,K)=>{if(v.severity!==K.severity)return v.severity==="warning"?-1:1;return(K.savingsTokens??0)-(v.savingsTokens??0)}),J}function VQ(Q,J){if(Q.percentage>=MJ)J.push({severity:"warning",title:`Context is ${Q.percentage}% full`,detail:Q.isAutoCompactEnabled?"Autocompact will trigger soon, which discards older messages. Use /compact now to control what gets kept.":"Autocompact is disabled. Use /compact to free space, or enable autocompact in /config."})}function FQ(Q,J){if(!Q.messageBreakdown)return;for(let v of Q.messageBreakdown.toolCallsByType){let K=v.callTokens+v.resultTokens,F=K/Q.rawMaxTokens*100;if(F<NJ||K<HJ)continue;let V=YQ(v.name,K,F);if(V)J.push(V)}}function YQ(Q,J,v){let K=Y(J);switch(Q){case LJ:return{severity:"warning",title:`Bash results using ${K} tokens (${v.toFixed(0)}%)`,detail:"Pipe output through head, tail, or grep to reduce result size. Avoid cat on large files — use Read with offset/limit instead.",savingsTokens:Math.floor(J*0.5)};case GJ:return{severity:"info",title:`Read results using ${K} tokens (${v.toFixed(0)}%)`,detail:"Use offset and limit parameters to read only the sections you need. Avoid re-reading entire files when you only need a few lines.",savingsTokens:Math.floor(J*0.3)};case PJ:return{severity:"info",title:`Grep results using ${K} tokens (${v.toFixed(0)}%)`,detail:"Add more specific patterns or use the glob or type parameter to narrow file types. Consider Glob for file discovery instead of Grep.",savingsTokens:Math.floor(J*0.3)};case CJ:return{severity:"info",title:`WebFetch results using ${K} tokens (${v.toFixed(0)}%)`,detail:"Web page content can be very large. Consider extracting only the specific information needed.",savingsTokens:Math.floor(J*0.4)};default:if(v>=20)return{severity:"info",title:`${Q} using ${K} tokens (${v.toFixed(0)}%)`,detail:"This tool is consuming a significant portion of context.",savingsTokens:Math.floor(J*0.2)};return null}}function qQ(Q,J){if(!Q.messageBreakdown)return;let K=Q.messageBreakdown.toolCallsByType.find((W)=>W.name===GJ);if(!K)return;let F=K.callTokens+K.resultTokens,V=F/Q.rawMaxTokens*100,q=K.resultTokens/Q.rawMaxTokens*100;if(V>=NJ&&F>=HJ)return;if(q>=zQ&&K.resultTokens>=HJ)J.push({severity:"info",title:`File reads using ${Y(K.resultTokens)} tokens (${q.toFixed(0)}%)`,detail:"If you are re-reading files, consider referencing earlier reads. Use offset/limit for large files.",savingsTokens:Math.floor(K.resultTokens*0.3)})}function HQ(Q,J){let v=Q.memoryFiles.reduce((F,V)=>F+V.tokens,0),K=v/Q.rawMaxTokens*100;if(K>=KQ&&v>=UQ){let F=[...Q.memoryFiles].sort((V,q)=>q.tokens-V.tokens).slice(0,3).map((V)=>{return`${KJ(V.path)} (${Y(V.tokens)})`}).join(", ");J.push({severity:"info",title:`Memory files using ${Y(v)} tokens (${K.toFixed(0)}%)`,detail:`Largest: ${F}. Use /memory to review and prune stale entries.`,savingsTokens:Math.floor(v*0.3)})}}function WQ(Q,J){if(!Q.isAutoCompactEnabled&&Q.percentage>=50&&Q.percentage<MJ)J.push({severity:"info",title:"Autocompact is disabled",detail:"Without autocompact, you will hit context limits and lose the conversation. Enable it in /config or use /compact manually."})}var NJ=15,HJ=1e4,zQ=5,MJ=80,KQ=5,UQ=5000;var OJ=zJ(()=>{QQ();ZQ();XQ();vQ();wJ();WJ()});function EJ(Q){let J=fJ.c(5),{suggestions:v}=Q;if(v.length===0)return null;let K;if(J[0]===Symbol.for("react.memo_cache_sentinel"))K=U(Z,{bold:!0,children:"Suggestions"}),J[0]=K;else K=J[0];let F;if(J[1]!==v)F=v.map(bQ),J[1]=v,J[2]=F;else F=J[2];let V;if(J[3]!==F)V=X(z,{flexDirection:"column",marginTop:1,children:[K,F]}),J[3]=F,J[4]=V;else V=J[4];return V}function bQ(Q,J){return X(z,{flexDirection:"column",marginTop:J===0?0:1,children:[X(z,{children:[U(RJ,{status:Q.severity,withSpace:!0}),U(Z,{bold:!0,children:Q.title}),Q.savingsTokens?X(Z,{dimColor:!0,children:[" ",SJ.arrowRight," save ~",Y(Q.savingsTokens)]}):null]}),U(z,{marginLeft:2,children:U(Z,{dimColor:!0,children:Q.detail})})]},J)}var fJ;var BJ=zJ(()=>{GQ();bJ();WJ();IQ();i();fJ=IJ(yJ(),1)});function b(Q,J){return Q===J.length-1?"└":"├"}function wQ(){let Q=hJ.c(2);return null}function uJ(Q){let J=new Map;for(let K of Q){let F=kJ(K.source),V=J.get(F)||[];V.push(K),J.set(F,V)}for(let[K,F]of J.entries())J.set(K,F.sort((V,q)=>q.tokens-V.tokens));let v=new Map;for(let K of LQ){let F=J.get(K);if(F)v.set(K,F)}return v}function pJ(Q){let J=hJ.c(87),{data:v}=Q,{categories:K,totalTokens:F,rawMaxTokens:V,percentage:q,gridRows:W,model:H,memoryFiles:D,mcpTools:G,deferredBuiltinTools:o,systemTools:n,systemPromptSections:r,agents:s,skills:x,messageBreakdown:I}=v,C,N,M,A,h,O,S,y,w,L;if(J[0]!==K||J[1]!==W||J[2]!==G||J[3]!==H||J[4]!==q||J[5]!==V||J[6]!==n||J[7]!==o||J[8]!==F){let t=o===void 0?[]:o,xJ=K.filter(aQ),JJ;if(J[19]!==K)JJ=K.some(xQ),J[19]=K,J[20]=JJ;else JJ=J[20];let a=JJ,FJ=t.length>0,j=K.find(rQ);if(N=z,S="column",y=1,J[21]===Symbol.for("react.memo_cache_sentinel"))w=U(Z,{bold:!0,children:"Context Usage"}),J[21]=w;else w=J[21];let m;if(J[22]!==W)m=W.map(iQ),J[22]=W,J[23]=m;else m=J[23];let g;if(J[24]!==m)g=U(z,{flexDirection:"column",flexShrink:0,marginLeft:-1,children:m}),J[24]=m,J[25]=g;else g=J[25];let l;if(J[26]!==F)l=Y(F),J[26]=F,J[27]=l;else l=J[27];let c;if(J[28]!==V)c=Y(V),J[28]=V,J[29]=c;else c=J[29];let $;if(J[30]!==H||J[31]!==q||J[32]!==l||J[33]!==c)$=X(Z,{dimColor:!0,children:[H," · ",l,"/",c," ","tokens (",q,"%)"]}),J[30]=H,J[31]=q,J[32]=l,J[33]=c,J[34]=$;else $=J[34];let QJ,XJ,ZJ;if(J[35]===Symbol.for("react.memo_cache_sentinel"))QJ=U(wQ,{}),XJ=U(Z,{children:" "}),ZJ=U(Z,{dimColor:!0,italic:!0,children:"Estimated usage by category"}),J[35]=QJ,J[36]=XJ,J[37]=ZJ;else QJ=J[35],XJ=J[36],ZJ=J[37];let vJ;if(J[38]!==V)vJ=(P,aJ)=>{let oJ=Y(P.tokens),sJ=P.isDeferred?"N/A":`${(P.tokens/V*100).toFixed(1)}%`,eJ=P.name===UJ,tJ=P.name,JQ=P.isDeferred?" ":eJ?"⛝":"⛁";return X(z,{children:[U(Z,{color:P.color,children:JQ}),X(Z,{children:[" ",tJ,": "]}),X(Z,{dimColor:!0,children:[oJ," tokens (",sJ,")"]})]},aJ)},J[38]=V,J[39]=vJ;else vJ=J[39];let YJ=xJ.map(vJ),_;if(J[40]!==K||J[41]!==V)_=(K.find(TQ)?.tokens??0)>0&&X(z,{children:[U(Z,{dimColor:!0,children:"⛶"}),U(Z,{children:" Free space: "}),X(Z,{dimColor:!0,children:[Y(K.find(_Q)?.tokens||0)," ","(",((K.find($Q)?.tokens||0)/V*100).toFixed(1),"%)"]})]}),J[40]=K,J[41]=V,J[42]=_;else _=J[42];let qJ=j&&j.tokens>0&&X(z,{children:[U(Z,{color:j.color,children:"⛝"}),X(Z,{dimColor:!0,children:[" ",j.name,": "]}),X(Z,{dimColor:!0,children:[Y(j.tokens)," tokens (",(j.tokens/V*100).toFixed(1),"%)"]})]}),T;if(J[43]!==$||J[44]!==YJ||J[45]!==_||J[46]!==qJ)T=X(z,{flexDirection:"column",gap:0,flexShrink:0,children:[$,QJ,XJ,ZJ,YJ,_,qJ]}),J[43]=$,J[44]=YJ,J[45]=_,J[46]=qJ,J[47]=T;else T=J[47];if(J[48]!==g||J[49]!==T)L=X(z,{flexDirection:"row",gap:2,children:[g,T]}),J[48]=g,J[49]=T,J[50]=L;else L=J[50];if(C=z,M="column",A=-1,J[51]!==a||J[52]!==G)h=G.length>0&&X(z,{flexDirection:"column",marginTop:1,children:[X(z,{children:[U(Z,{bold:!0,children:"MCP tools"}),X(Z,{dimColor:!0,children:[" ","· /mcp",a?" (loaded on-demand)":""]})]}),G.some(cQ)&&X(z,{flexDirection:"column",marginTop:1,children:[U(Z,{dimColor:!0,children:"Loaded"}),G.filter(lQ).map(gQ)]}),a&&G.some(mQ)&&X(z,{flexDirection:"column",marginTop:1,children:[U(Z,{dimColor:!0,children:"Available"}),G.filter(jQ).map(dQ)]}),!a&&G.map(pQ)]}),J[51]=a,J[52]=G,J[53]=h;else h=J[53];O=(n&&n.length>0||FJ)&&DJ&&X(z,{flexDirection:"column",marginTop:1,children:[X(z,{children:[U(Z,{bold:!0,children:"[internal] System tools"}),FJ&&U(Z,{dimColor:!0,children:" (some loaded on-demand)"})]}),X(z,{flexDirection:"column",marginTop:1,children:[U(Z,{dimColor:!0,children:"Loaded"}),n?.map(kQ),t.filter(uQ).map(BQ)]}),FJ&&t.some(EQ)&&X(z,{flexDirection:"column",marginTop:1,children:[U(Z,{dimColor:!0,children:"Available"}),t.filter(fQ).map(RQ)]})]}),J[0]=K,J[1]=W,J[2]=G,J[3]=H,J[4]=q,J[5]=V,J[6]=n,J[7]=o,J[8]=F,J[9]=C,J[10]=N,J[11]=M,J[12]=A,J[13]=h,J[14]=O,J[15]=S,J[16]=y,J[17]=w,J[18]=L}else C=J[9],N=J[10],M=J[11],A=J[12],h=J[13],O=J[14],S=J[15],y=J[16],w=J[17],L=J[18];let R;if(J[54]!==r)R=r&&r.length>0&&DJ&&X(z,{flexDirection:"column",marginTop:1,children:[U(Z,{bold:!0,children:"[internal] System prompt sections"}),r.map(yQ)]}),J[54]=r,J[55]=R;else R=J[55];let f;if(J[56]!==s)f=s.length>0&&X(z,{flexDirection:"column",marginTop:1,children:[X(z,{children:[U(Z,{bold:!0,children:"Custom agents"}),U(Z,{dimColor:!0,children:" · /agents"})]}),Array.from(uJ(s).entries()).map(OQ)]}),J[56]=s,J[57]=f;else f=J[57];let E;if(J[58]!==D)E=D.length>0&&X(z,{flexDirection:"column",marginTop:1,children:[X(z,{children:[U(Z,{bold:!0,children:"Memory files"}),U(Z,{dimColor:!0,children:" · /memory"})]}),D.map(AQ)]}),J[58]=D,J[59]=E;else E=J[59];let B;if(J[60]!==x)B=x&&x.tokens>0&&X(z,{flexDirection:"column",marginTop:1,children:[X(z,{children:[U(Z,{bold:!0,children:"Skills"}),U(Z,{dimColor:!0,children:" · /skills"})]}),Array.from(uJ(x.skillFrontmatter).entries()).map(NQ)]}),J[60]=x,J[61]=B;else B=J[61];let u;if(J[62]!==I)u=I&&DJ&&X(z,{flexDirection:"column",marginTop:1,children:[U(Z,{bold:!0,children:"[internal] Message breakdown"}),X(z,{flexDirection:"column",marginLeft:1,children:[X(z,{children:[U(Z,{children:"Tool calls: "}),X(Z,{dimColor:!0,children:[Y(I.toolCallTokens)," tokens"]})]}),X(z,{children:[U(Z,{children:"Tool results: "}),X(Z,{dimColor:!0,children:[Y(I.toolResultTokens)," tokens"]})]}),X(z,{children:[U(Z,{children:"Attachments: "}),X(Z,{dimColor:!0,children:[Y(I.attachmentTokens)," tokens"]})]}),X(z,{children:[U(Z,{children:"Assistant messages (non-tool): "}),X(Z,{dimColor:!0,children:[Y(I.assistantMessageTokens)," tokens"]})]}),X(z,{children:[U(Z,{children:"User messages (non-tool-result): "}),X(Z,{dimColor:!0,children:[Y(I.userMessageTokens)," tokens"]})]})]}),I.toolCallsByType.length>0&&X(z,{flexDirection:"column",marginTop:1,children:[U(Z,{bold:!0,children:"[internal] Top tools"}),I.toolCallsByType.slice(0,5).map(CQ)]}),I.attachmentsByType.length>0&&X(z,{flexDirection:"column",marginTop:1,children:[U(Z,{bold:!0,children:"[internal] Top attachments"}),I.attachmentsByType.slice(0,5).map(PQ)]})]}),J[62]=I,J[63]=u;else u=J[63];let k;if(J[64]!==C||J[65]!==R||J[66]!==f||J[67]!==E||J[68]!==B||J[69]!==u||J[70]!==M||J[71]!==A||J[72]!==h||J[73]!==O)k=X(C,{flexDirection:M,marginLeft:A,children:[h,O,R,f,E,B,u]}),J[64]=C,J[65]=R,J[66]=f,J[67]=E,J[68]=B,J[69]=u,J[70]=M,J[71]=A,J[72]=h,J[73]=O,J[74]=k;else k=J[74];let p;if(J[75]!==v)p=AJ(v),J[75]=v,J[76]=p;else p=J[76];let d;if(J[77]!==p)d=U(EJ,{suggestions:p}),J[77]=p,J[78]=d;else d=J[78];let e;if(J[79]!==N||J[80]!==k||J[81]!==d||J[82]!==S||J[83]!==y||J[84]!==w||J[85]!==L)e=X(N,{flexDirection:S,paddingLeft:y,children:[w,L,k,d]}),J[79]=N,J[80]=k,J[81]=d,J[82]=S,J[83]=y,J[84]=w,J[85]=L,J[86]=e;else e=J[86];return e}function PQ(Q,J,v){return X(z,{marginLeft:1,children:[X(Z,{children:[b(J,v)," ",Q.name,": "]}),X(Z,{dimColor:!0,children:[Y(Q.tokens)," tokens"]})]},J)}function CQ(Q,J,v){return X(z,{marginLeft:1,children:[X(Z,{children:[b(J,v)," ",Q.name,": "]}),X(Z,{dimColor:!0,children:["calls ",Y(Q.callTokens),", results"," ",Y(Q.resultTokens)]})]},J)}function NQ(Q){let[J,v]=Q;return X(z,{flexDirection:"column",marginTop:1,children:[U(Z,{dimColor:!0,children:J}),v.map(MQ)]},J)}function MQ(Q,J,v){return X(z,{children:[X(Z,{children:[b(J,v)," ",Q.name,": "]}),X(Z,{dimColor:!0,children:[Y(Q.tokens)," tokens"]})]},J)}function AQ(Q,J,v){return X(z,{children:[X(Z,{children:[b(J,v)," ",KJ(Q.path),": "]}),X(Z,{dimColor:!0,children:[Y(Q.tokens)," tokens"]})]},J)}function OQ(Q){let[J,v]=Q;return X(z,{flexDirection:"column",marginTop:1,children:[U(Z,{dimColor:!0,children:J}),v.map(SQ)]},J)}function SQ(Q,J,v){return X(z,{children:[X(Z,{children:[b(J,v)," ",Q.agentType,": "]}),X(Z,{dimColor:!0,children:[Y(Q.tokens)," tokens"]})]},J)}function yQ(Q,J,v){return X(z,{children:[X(Z,{children:[b(J,v)," ",Q.name,": "]}),X(Z,{dimColor:!0,children:[Y(Q.tokens)," tokens"]})]},J)}function RQ(Q,J,v){return U(z,{children:X(Z,{dimColor:!0,children:[b(J,v)," ",Q.name]})},J)}function fQ(Q){return!Q.isLoaded}function EQ(Q){return!Q.isLoaded}function BQ(Q,J,v){return X(z,{children:[X(Z,{children:[b(J,v)," ",Q.name,": "]}),X(Z,{dimColor:!0,children:[Y(Q.tokens)," tokens"]})]},`def-${J}`)}function uQ(Q){return Q.isLoaded}function kQ(Q,J,v){return X(z,{children:[X(Z,{children:[b(J,v)," ",Q.name,": "]}),X(Z,{dimColor:!0,children:[Y(Q.tokens)," tokens"]})]},`sys-${J}`)}function pQ(Q,J,v){return X(z,{children:[X(Z,{children:[b(J,v)," ",Q.name,": "]}),X(Z,{dimColor:!0,children:[Y(Q.tokens)," tokens"]})]},J)}function dQ(Q,J,v){return U(z,{children:X(Z,{dimColor:!0,children:[b(J,v)," ",Q.name]})},J)}function jQ(Q){return!Q.isLoaded}function mQ(Q){return!Q.isLoaded}function gQ(Q,J,v){return X(z,{children:[X(Z,{children:[b(J,v)," ",Q.name,": "]}),X(Z,{dimColor:!0,children:[Y(Q.tokens)," tokens"]})]},J)}function lQ(Q){return Q.isLoaded}function cQ(Q){return Q.isLoaded}function $Q(Q){return Q.name==="Free space"}function _Q(Q){return Q.name==="Free space"}function TQ(Q){return Q.name==="Free space"}function iQ(Q,J){return U(z,{flexDirection:"row",children:Q.map(nQ)},J)}function nQ(Q,J){if(Q.categoryName==="Free space")return U(Z,{dimColor:!0,children:"⛶ "},J);if(Q.categoryName===UJ)return U(Z,{color:Q.color,children:"⛝ "},J);return U(Z,{color:Q.color,children:Q.squareFullness>=0.7?"⛁ ":"⛀ "},J)}function rQ(Q){return Q.name===UJ}function xQ(Q){return Q.isDeferred&&Q.name.includes("MCP")}function aQ(Q){return Q.tokens>0&&Q.name!=="Free space"&&Q.name!==UJ&&!Q.isDeferred}var hJ,UJ="Autocompact buffer",DJ=!1,LQ;var dJ=zJ(()=>{bJ();OJ();wJ();WJ();DQ();hQ();BJ();i();hJ=IJ(yJ(),1);LQ=["Project","User","Managed","Plugin","Built-in"]});function vX({data:Q,onDone:J}){let v=VJ.useRef(null),{rows:K}=_J(cJ()),F=VJ.useCallback(()=>J("Context dialog dismissed",{display:"system"}),[J]),V=$J(F);lJ((W,H)=>{if(H.escape||H.return){F();return}if(H.upArrow||H.ctrl&&W==="p"){v.current?.scrollBy(-jJ);return}if(H.downArrow||H.ctrl&&W==="n")v.current?.scrollBy(jJ)});let q=Math.max(5,K-ZX);return X(z,{flexDirection:"column",children:[U(z,{maxHeight:q,children:U(iJ,{ref:v,flexDirection:"column",flexGrow:1,children:U(pJ,{data:Q})})}),U(Z,{dimColor:!0,children:V.pending?`Press ${V.keyName} again to exit`:`${mJ}/${gJ} to scroll · esc or enter to close`})]})}function zX(Q){return rJ(Q)}async function _X(Q,J){let{messages:v,getAppState:K,options:{mainLoopModel:F,tools:V}}=J,q=zX(v),{messages:W}=await TJ(q),H=process.stdout.columns||80,D=K(),G=await nJ(W,F,async()=>D.toolPermissionContext,V,D.agentDefinitions,H,J,void 0,q);return U(vX,{data:G,onDone:Q})}var VJ,ZX=4,jJ=3;var KX=zJ(()=>{bJ();dJ();oQ();JX();tQ();eQ();XX();QX();UX();VX();i();VJ=IJ(sQ(),1)});KX();export{_X as call};
@@ -1 +0,0 @@
1
- import{Eh as a,Fh as b,Gh as c}from"./cli-1.1.18-x7k6y949.mjs";import"./cli-1.1.18-xfb4pete.mjs";import"./cli-1.1.18-pzeg2p3k.mjs";import"./cli-1.1.18-2qvvz2tv.mjs";import"./cli-1.1.18-cphcr3xr.mjs";import"./cli-1.1.18-k1pkc44n.mjs";import"./cli-1.1.18-hphxdvpd.mjs";import"./cli-1.1.18-ta6r8qry.mjs";import"./cli-1.1.18-heh8xz6x.mjs";import"./cli-1.1.18-rnqtkprk.mjs";import"./cli-1.1.18-cy0ypdkd.mjs";import"./cli-1.1.18-f7jag2rr.mjs";import"./cli-1.1.18-v75xqnbv.mjs";import"./cli-1.1.18-5s8f8gd5.mjs";import"./cli-1.1.18-ccbh77pf.mjs";import"./cli-1.1.18-zd969gzb.mjs";import"./cli-1.1.18-27b82jjj.mjs";import"./cli-1.1.18-pbdm30bs.mjs";import"./cli-1.1.18-ybfayy4j.mjs";import"./cli-1.1.18-fst0kx9m.mjs";import"./cli-1.1.18-1c8pr80a.mjs";import"./cli-1.1.18-0h118vrj.mjs";import"./cli-1.1.18-t526ry94.mjs";import"./cli-1.1.18-2w9274tq.mjs";import"./cli-1.1.18-x7jyxff1.mjs";import"./cli-1.1.18-ecds9fxm.mjs";import"./cli-1.1.18-ztyf20j1.mjs";import"./cli-1.1.18-12tzkcxz.mjs";import"./cli-1.1.18-mg7jmbh9.mjs";import"./cli-1.1.18-mwevzyy2.mjs";import"./cli-1.1.18-a888prq4.mjs";import"./cli-1.1.18-1t3rb5a8.mjs";import"./cli-1.1.18-8thyc5yy.mjs";import"./cli-1.1.18-npdweafk.mjs";import"./cli-1.1.18-f2j32mha.mjs";import"./cli-1.1.18-cjkn7t4k.mjs";import"./cli-1.1.18-0aakxjsk.mjs";import"./cli-1.1.18-948h21gh.mjs";import"./cli-1.1.18-ddreb78e.mjs";import"./cli-1.1.18-1spz0azv.mjs";import"./cli-1.1.18-703emt7y.mjs";import"./cli-1.1.18-ythtynpe.mjs";import"./cli-1.1.18-mrrbn0jj.mjs";import"./cli-1.1.18-af7txyky.mjs";import"./cli-1.1.18-7nsrr2k0.mjs";import"./cli-1.1.18-avas0dtp.mjs";import"./cli-1.1.18-f6m259he.mjs";import"./cli-1.1.18-3y4pftxb.mjs";import"./cli-1.1.18-ndct9t5e.mjs";import"./cli-1.1.18-c9h4ga5f.mjs";import"./cli-1.1.18-psb6qqc1.mjs";import"./cli-1.1.18-7pcfwrhj.mjs";import"./cli-1.1.18-esvp6n4e.mjs";import"./cli-1.1.18-cj8tr93q.mjs";import"./cli-1.1.18-k05shz35.mjs";import"./cli-1.1.18-hbv881pn.mjs";import"./cli-1.1.18-ypcye8ae.mjs";import"./cli-1.1.18-mz10pywc.mjs";import"./cli-1.1.18-cxg522yt.mjs";import"./cli-1.1.18-3s03nva1.mjs";import"./cli-1.1.18-4c3jqppx.mjs";import"./cli-1.1.18-417wb57s.mjs";import"./cli-1.1.18-p3yf1aq6.mjs";import"./cli-1.1.18-vzrv28w4.mjs";import"./cli-1.1.18-4jy396p1.mjs";import"./cli-1.1.18-553zzrge.mjs";import"./cli-1.1.18-hvd9yyb4.mjs";c();export{a as collectContextData,b as call};
@@ -1 +0,0 @@
1
- import{$h as a,ai as b}from"./cli-1.1.18-3pn5knk8.mjs";import"./cli-1.1.18-dvyh5qzn.mjs";import"./cli-1.1.18-b4azpwk0.mjs";import"./cli-1.1.18-jgwwkx62.mjs";import"./cli-1.1.18-0z5526z3.mjs";import"./cli-1.1.18-xfb4pete.mjs";import"./cli-1.1.18-pzeg2p3k.mjs";import"./cli-1.1.18-2qvvz2tv.mjs";import"./cli-1.1.18-cphcr3xr.mjs";import"./cli-1.1.18-k1pkc44n.mjs";import"./cli-1.1.18-hphxdvpd.mjs";import"./cli-1.1.18-ta6r8qry.mjs";import"./cli-1.1.18-heh8xz6x.mjs";import"./cli-1.1.18-rnqtkprk.mjs";import"./cli-1.1.18-cy0ypdkd.mjs";import"./cli-1.1.18-f7jag2rr.mjs";import"./cli-1.1.18-v75xqnbv.mjs";import"./cli-1.1.18-5s8f8gd5.mjs";import"./cli-1.1.18-ccbh77pf.mjs";import"./cli-1.1.18-zd969gzb.mjs";import"./cli-1.1.18-27b82jjj.mjs";import"./cli-1.1.18-pbdm30bs.mjs";import"./cli-1.1.18-ybfayy4j.mjs";import"./cli-1.1.18-fst0kx9m.mjs";import"./cli-1.1.18-1c8pr80a.mjs";import"./cli-1.1.18-0h118vrj.mjs";import"./cli-1.1.18-t526ry94.mjs";import"./cli-1.1.18-2w9274tq.mjs";import"./cli-1.1.18-x7jyxff1.mjs";import"./cli-1.1.18-ecds9fxm.mjs";import"./cli-1.1.18-ztyf20j1.mjs";import"./cli-1.1.18-12tzkcxz.mjs";import"./cli-1.1.18-mg7jmbh9.mjs";import"./cli-1.1.18-mwevzyy2.mjs";import"./cli-1.1.18-a888prq4.mjs";import"./cli-1.1.18-1t3rb5a8.mjs";import"./cli-1.1.18-8thyc5yy.mjs";import"./cli-1.1.18-npdweafk.mjs";import"./cli-1.1.18-f2j32mha.mjs";import"./cli-1.1.18-cjkn7t4k.mjs";import"./cli-1.1.18-0aakxjsk.mjs";import"./cli-1.1.18-948h21gh.mjs";import"./cli-1.1.18-ddreb78e.mjs";import"./cli-1.1.18-1spz0azv.mjs";import"./cli-1.1.18-703emt7y.mjs";import"./cli-1.1.18-ythtynpe.mjs";import"./cli-1.1.18-mrrbn0jj.mjs";import"./cli-1.1.18-af7txyky.mjs";import"./cli-1.1.18-7nsrr2k0.mjs";import"./cli-1.1.18-avas0dtp.mjs";import"./cli-1.1.18-f6m259he.mjs";import"./cli-1.1.18-3y4pftxb.mjs";import"./cli-1.1.18-ndct9t5e.mjs";import"./cli-1.1.18-c9h4ga5f.mjs";import"./cli-1.1.18-psb6qqc1.mjs";import"./cli-1.1.18-7pcfwrhj.mjs";import"./cli-1.1.18-esvp6n4e.mjs";import"./cli-1.1.18-cj8tr93q.mjs";import"./cli-1.1.18-k05shz35.mjs";import"./cli-1.1.18-hbv881pn.mjs";import"./cli-1.1.18-ypcye8ae.mjs";import"./cli-1.1.18-mz10pywc.mjs";import"./cli-1.1.18-cxg522yt.mjs";import"./cli-1.1.18-3s03nva1.mjs";import"./cli-1.1.18-4c3jqppx.mjs";import"./cli-1.1.18-417wb57s.mjs";import"./cli-1.1.18-p3yf1aq6.mjs";import"./cli-1.1.18-vzrv28w4.mjs";import"./cli-1.1.18-4jy396p1.mjs";import"./cli-1.1.18-553zzrge.mjs";import"./cli-1.1.18-hvd9yyb4.mjs";b();export{a as clearConversation};
@@ -1 +0,0 @@
1
- import{Oi as a,Pi as b,Qi as c,Ri as d,Si as e}from"./cli-1.1.18-86jznh5v.mjs";import"./cli-1.1.18-hvd9yyb4.mjs";e();export{d as wrapFetchWithCopilotHeaders,b as messagesContainImage,a as detectCopilotInitiator,c as buildCopilotDynamicHeaders};
@@ -1,9 +0,0 @@
1
- import{BG as o,CG as Fq,co as b,do as Nq,eS as bq,go as c,hj as $,ho as vq,ij as Yq,mk as a,rk as i}from"./cli-1.1.18-xfb4pete.mjs";import"./cli-1.1.18-pzeg2p3k.mjs";import"./cli-1.1.18-2qvvz2tv.mjs";import"./cli-1.1.18-cphcr3xr.mjs";import"./cli-1.1.18-k1pkc44n.mjs";import"./cli-1.1.18-hphxdvpd.mjs";import"./cli-1.1.18-ta6r8qry.mjs";import"./cli-1.1.18-heh8xz6x.mjs";import"./cli-1.1.18-rnqtkprk.mjs";import"./cli-1.1.18-cy0ypdkd.mjs";import"./cli-1.1.18-f7jag2rr.mjs";import"./cli-1.1.18-v75xqnbv.mjs";import"./cli-1.1.18-5s8f8gd5.mjs";import"./cli-1.1.18-ccbh77pf.mjs";import"./cli-1.1.18-zd969gzb.mjs";import"./cli-1.1.18-27b82jjj.mjs";import"./cli-1.1.18-pbdm30bs.mjs";import"./cli-1.1.18-ybfayy4j.mjs";import"./cli-1.1.18-fst0kx9m.mjs";import"./cli-1.1.18-1c8pr80a.mjs";import{PY as s,QY as Iq}from"./cli-1.1.18-0h118vrj.mjs";import"./cli-1.1.18-t526ry94.mjs";import{CZ as zq,DZ as Hq,H1 as Mq,a1 as l,c1 as h,xZ as r}from"./cli-1.1.18-2w9274tq.mjs";import"./cli-1.1.18-x7jyxff1.mjs";import"./cli-1.1.18-ecds9fxm.mjs";import"./cli-1.1.18-ztyf20j1.mjs";import"./cli-1.1.18-12tzkcxz.mjs";import"./cli-1.1.18-mg7jmbh9.mjs";import"./cli-1.1.18-mwevzyy2.mjs";import"./cli-1.1.18-a888prq4.mjs";import"./cli-1.1.18-1t3rb5a8.mjs";import"./cli-1.1.18-8thyc5yy.mjs";import"./cli-1.1.18-npdweafk.mjs";import{d4 as v,e4 as f,f4 as k}from"./cli-1.1.18-f2j32mha.mjs";import{g4 as Gq}from"./cli-1.1.18-cjkn7t4k.mjs";import"./cli-1.1.18-0aakxjsk.mjs";import"./cli-1.1.18-948h21gh.mjs";import"./cli-1.1.18-ddreb78e.mjs";import"./cli-1.1.18-1spz0azv.mjs";import"./cli-1.1.18-703emt7y.mjs";import"./cli-1.1.18-ythtynpe.mjs";import"./cli-1.1.18-mrrbn0jj.mjs";import"./cli-1.1.18-af7txyky.mjs";import"./cli-1.1.18-7nsrr2k0.mjs";import"./cli-1.1.18-avas0dtp.mjs";import"./cli-1.1.18-f6m259he.mjs";import{_ea as d,bfa as m,rda as B,wfa as Xq,xda as Uq}from"./cli-1.1.18-3y4pftxb.mjs";import{hha as u,iha as Zq}from"./cli-1.1.18-ndct9t5e.mjs";import"./cli-1.1.18-c9h4ga5f.mjs";import"./cli-1.1.18-psb6qqc1.mjs";import"./cli-1.1.18-7pcfwrhj.mjs";import"./cli-1.1.18-esvp6n4e.mjs";import"./cli-1.1.18-cj8tr93q.mjs";import"./cli-1.1.18-k05shz35.mjs";import{Zja as w,aka as Vq}from"./cli-1.1.18-hbv881pn.mjs";import"./cli-1.1.18-ypcye8ae.mjs";import"./cli-1.1.18-mz10pywc.mjs";import"./cli-1.1.18-cxg522yt.mjs";import"./cli-1.1.18-3s03nva1.mjs";import"./cli-1.1.18-4c3jqppx.mjs";import"./cli-1.1.18-417wb57s.mjs";import"./cli-1.1.18-p3yf1aq6.mjs";import"./cli-1.1.18-vzrv28w4.mjs";import"./cli-1.1.18-4jy396p1.mjs";import"./cli-1.1.18-553zzrge.mjs";import{gta as g,kta as Qq}from"./cli-1.1.18-hvd9yyb4.mjs";import{mkdir as Kq,writeFile as Rq}from"fs/promises";import{tmpdir as Oq}from"os";import{join as t}from"path";function wq(Q){let q=$.lexer(a(Q)),V=[];for(let J of q)if(J.type==="code"){let Z=J;V.push({code:Z.text,lang:Z.lang})}return V}function Aq(Q){let q=[];for(let V=Q.length-1;V>=0&&q.length<Wq;V--){let J=Q[V];if(J?.type!=="assistant"||J.isApiErrorMessage)continue;let Z=J.message.content;if(!Array.isArray(Z))continue;let U=i(Z,`
2
-
3
- `);if(U)q.push(U)}return q}function Pq(Q){if(Q){let q=Q.replace(/[^a-zA-Z0-9]/g,"");if(q&&q!=="plaintext")return`.${q}`}return".txt"}async function Jq(Q,q){let V=t(x,q);return await Kq(x,{recursive:!0}),await Rq(V,Q,"utf-8"),V}async function _(Q,q){let V=await r(Q);if(V)process.stdout.write(V);let J=B(Q,`
4
- `)+1,Z=Q.length;try{let U=await Jq(Q,q);return`Copied to clipboard (${Z} characters, ${J} lines)
5
- Also written to ${U}`}catch{return`Copied to clipboard (${Z} characters, ${J} lines)`}}function yq(Q,q){let V=Q.split(`
6
- `)[0]??"";if(u(V)<=q)return V;let J="",Z=0,U=q-1;for(let H of V){let G=u(H);if(Z+G>U)break;J+=H,Z+=G}return J+"…"}function Eq(Q){let q=n.c(33),{fullText:V,codeBlocks:J,messageAge:Z,onDone:U}=Q,H=e.useRef("full"),G=`${V.length} chars, ${B(V,`
7
- `)+1} lines`,M;if(q[0]!==G)M={label:"Full response",value:"full",description:G},q[0]=G,q[1]=M;else M=q[1];let z;if(q[2]!==J||q[3]!==M){let Y;if(q[5]===Symbol.for("react.memo_cache_sentinel"))Y={label:"Always copy full response",value:"always",description:"Skip this picker in the future (revert via /config)"},q[5]=Y;else Y=q[5];z=[M,...J.map(pq),Y],q[2]=J,q[3]=M,q[4]=z}else z=q[4];let S=z,A;if(q[6]!==J||q[7]!==V)A=function(N){if(N==="full"||N==="always")return{text:V,filename:qq};let X=J[N];return{text:X.code,filename:`copy${Pq(X.lang)}`,blockIndex:N}},q[6]=J,q[7]=V,q[8]=A;else A=q[8];let I=A,P;if(q[9]!==J.length||q[10]!==I||q[11]!==Z||q[12]!==U)P=async function(N){let X=I(N);if(N==="always"){if(!m().copyFullResponse)d(Lq);w("",{block_count:J.length,always:!0,message_age:Z});let W=await _(X.text,X.filename);U(`${W}
8
- Preference saved. Use /config to change copyFullResponse`);return}w("",{selected_block:X.blockIndex,block_count:J.length,message_age:Z});let O=await _(X.text,X.filename);U(O)},q[9]=J.length,q[10]=I,q[11]=Z,q[12]=U,q[13]=P;else P=q[13];let j=P,y;if(q[14]!==J.length||q[15]!==I||q[16]!==Z||q[17]!==U){let Y=async function(X){let O=I(X);w("",{selected_block:O.blockIndex,block_count:J.length,message_age:Z,write_shortcut:!0});try{let W=await Jq(O.text,O.filename);U(`Written to ${W}`)}catch(W){let D=W;U(`Failed to write file: ${D instanceof Error?D.message:D}`)}};y=function(X){if(X.key==="w")X.preventDefault(),Y(H.current)},q[14]=J.length,q[15]=I,q[16]=Z,q[17]=U,q[18]=y}else y=q[18];let C=y,E;if(q[19]===Symbol.for("react.memo_cache_sentinel"))E=v(h,{dimColor:!0,children:"Select content to copy:"}),q[19]=E;else E=q[19];let L;if(q[20]===Symbol.for("react.memo_cache_sentinel"))L=(Y)=>{H.current=Y},q[20]=L;else L=q[20];let F;if(q[21]!==j)F=(Y)=>{j(Y)},q[21]=j,q[22]=F;else F=q[22];let K;if(q[23]!==U)K=()=>{U("Copy cancelled",{display:"system"})},q[23]=U,q[24]=K;else K=q[24];let R;if(q[25]!==S||q[26]!==K||q[27]!==F)R=v(o,{options:S,hideIndexes:!1,onFocus:L,onChange:F,onCancel:K}),q[25]=S,q[26]=K,q[27]=F,q[28]=R;else R=q[28];let p;if(q[29]===Symbol.for("react.memo_cache_sentinel"))p=v(h,{dimColor:!0,children:f(c,{children:[v(b,{shortcut:"enter",action:"copy"}),v(b,{shortcut:"w",action:"write to file"}),v(b,{shortcut:"esc",action:"cancel"})]})}),q[29]=p;else p=q[29];let T;if(q[30]!==C||q[31]!==R)T=v(s,{children:f(l,{flexDirection:"column",gap:1,tabIndex:0,autoFocus:!0,onKeyDown:C,children:[E,R,p]})}),q[30]=C,q[31]=R,q[32]=T;else T=q[32];return T}function Lq(Q){return{...Q,copyFullResponse:!0}}function pq(Q,q){let V=B(Q.code,`
9
- `)+1;return{label:yq(Q.code,60),value:q,description:[Q.lang,V>1?`${V} lines`:void 0].filter(Boolean).join(", ")||void 0}}var n,e,x,qq="response.md",Wq=20,aq=async(Q,q,V)=>{let J=Aq(q.messages);if(J.length===0)return Q("No assistant message to copy"),null;let Z=0,U=V?.trim();if(U){let z=Number(U);if(!Number.isInteger(z)||z<1)return Q(`Usage: /copy [N] where N is 1 (latest), 2, 3, … Got: ${U}`),null;if(z>J.length)return Q(`Only ${J.length} assistant ${J.length===1?"message":"messages"} available to copy`),null;Z=z-1}let H=J[Z],G=wq(H),M=m();if(G.length===0||M.copyFullResponse){w("",{always:M.copyFullResponse,block_count:G.length,message_age:Z});let z=await _(H,qq);return Q(z),null}return v(Eq,{fullText:H,codeBlocks:G,messageAge:Z,onDone:Q})};var Tq=Qq(()=>{Yq();Fq();vq();Nq();Iq();Zq();zq();Mq();Vq();Xq();bq();Uq();k();n=g(Hq(),1),e=g(Gq(),1),x=t(Oq(),"claude")});Tq();export{Pq as fileExtension,Aq as collectRecentAssistantTexts,aq as call};
@@ -1 +0,0 @@
1
- import{Jz as t,Kz as i,ks as o,os as u}from"./cli-1.1.18-xfb4pete.mjs";import"./cli-1.1.18-pzeg2p3k.mjs";import"./cli-1.1.18-2qvvz2tv.mjs";import"./cli-1.1.18-cphcr3xr.mjs";import"./cli-1.1.18-k1pkc44n.mjs";import"./cli-1.1.18-hphxdvpd.mjs";import"./cli-1.1.18-ta6r8qry.mjs";import"./cli-1.1.18-heh8xz6x.mjs";import"./cli-1.1.18-rnqtkprk.mjs";import"./cli-1.1.18-cy0ypdkd.mjs";import"./cli-1.1.18-f7jag2rr.mjs";import"./cli-1.1.18-v75xqnbv.mjs";import"./cli-1.1.18-5s8f8gd5.mjs";import"./cli-1.1.18-ccbh77pf.mjs";import"./cli-1.1.18-zd969gzb.mjs";import"./cli-1.1.18-27b82jjj.mjs";import"./cli-1.1.18-pbdm30bs.mjs";import"./cli-1.1.18-ybfayy4j.mjs";import"./cli-1.1.18-fst0kx9m.mjs";import"./cli-1.1.18-1c8pr80a.mjs";import"./cli-1.1.18-0h118vrj.mjs";import"./cli-1.1.18-t526ry94.mjs";import"./cli-1.1.18-2w9274tq.mjs";import"./cli-1.1.18-x7jyxff1.mjs";import"./cli-1.1.18-ecds9fxm.mjs";import"./cli-1.1.18-ztyf20j1.mjs";import"./cli-1.1.18-12tzkcxz.mjs";import"./cli-1.1.18-mg7jmbh9.mjs";import"./cli-1.1.18-mwevzyy2.mjs";import"./cli-1.1.18-a888prq4.mjs";import"./cli-1.1.18-1t3rb5a8.mjs";import"./cli-1.1.18-8thyc5yy.mjs";import"./cli-1.1.18-npdweafk.mjs";import"./cli-1.1.18-f2j32mha.mjs";import"./cli-1.1.18-cjkn7t4k.mjs";import"./cli-1.1.18-0aakxjsk.mjs";import"./cli-1.1.18-948h21gh.mjs";import"./cli-1.1.18-ddreb78e.mjs";import"./cli-1.1.18-1spz0azv.mjs";import{Q8 as s,v8 as r}from"./cli-1.1.18-703emt7y.mjs";import"./cli-1.1.18-ythtynpe.mjs";import"./cli-1.1.18-mrrbn0jj.mjs";import"./cli-1.1.18-af7txyky.mjs";import"./cli-1.1.18-7nsrr2k0.mjs";import"./cli-1.1.18-avas0dtp.mjs";import"./cli-1.1.18-f6m259he.mjs";import"./cli-1.1.18-3y4pftxb.mjs";import"./cli-1.1.18-ndct9t5e.mjs";import"./cli-1.1.18-c9h4ga5f.mjs";import"./cli-1.1.18-psb6qqc1.mjs";import"./cli-1.1.18-7pcfwrhj.mjs";import"./cli-1.1.18-esvp6n4e.mjs";import"./cli-1.1.18-cj8tr93q.mjs";import"./cli-1.1.18-k05shz35.mjs";import"./cli-1.1.18-hbv881pn.mjs";import"./cli-1.1.18-ypcye8ae.mjs";import"./cli-1.1.18-mz10pywc.mjs";import"./cli-1.1.18-cxg522yt.mjs";import"./cli-1.1.18-3s03nva1.mjs";import"./cli-1.1.18-4c3jqppx.mjs";import"./cli-1.1.18-417wb57s.mjs";import"./cli-1.1.18-p3yf1aq6.mjs";import"./cli-1.1.18-vzrv28w4.mjs";import"./cli-1.1.18-4jy396p1.mjs";import"./cli-1.1.18-553zzrge.mjs";import{kta as a}from"./cli-1.1.18-hvd9yyb4.mjs";var y=async()=>{if(r()){let e;if(o.isUsingOverage)e="You are currently using your overages to power your Claude Code usage. We will automatically switch you back to your subscription rate limits when they reset";else e="You are currently using your subscription to power your Claude Code usage";return{type:"text",value:e}}return{type:"text",value:t()}};var l=a(()=>{i();u();s()});l();export{y as call};
@@ -1 +0,0 @@
1
- import"./cli-1.1.18-hvd9yyb4.mjs";var o=()=>null,n=o;export{n as default};