@claudiolabs/claudin 1.1.30 → 1.1.31

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 (904) hide show
  1. package/dist/chunks/AgentTool-1.1.31-6e06310w.mjs +1 -0
  2. package/dist/chunks/App-1.1.31-bp57fthj.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.31-ptx7r5x2.mjs +1 -0
  4. package/dist/chunks/AutoModeOptInDialog-1.1.31-0d22j8k7.mjs +1 -0
  5. package/dist/chunks/BypassPermissionsModeDialog-1.1.31-v2cfafqt.mjs +1 -0
  6. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.31-a8e8ar2n.mjs +1 -0
  7. package/dist/chunks/ConsoleOAuthFlow-1.1.31-zq76tmk2.mjs +1 -0
  8. package/dist/chunks/DiffDialog-1.1.31-r1mknqwv.mjs +6 -0
  9. package/dist/chunks/Doctor-1.1.31-t4n9k4nc.mjs +1 -0
  10. package/dist/chunks/ExplorerDialog-1.1.31-41a3c01z.mjs +6 -0
  11. package/dist/chunks/ITermBackend-1.1.31-y9f8hq45.mjs +1 -0
  12. package/dist/chunks/InvalidConfigDialog-1.1.31-xpdggxkf.mjs +1 -0
  13. package/dist/chunks/InvalidSettingsDialog-1.1.31-0bg1r1g6.mjs +1 -0
  14. package/dist/chunks/MigrationDialog-1.1.31-w8fpbc16.mjs +1 -0
  15. package/dist/chunks/Onboarding-1.1.31-23zjjspn.mjs +1 -0
  16. package/dist/chunks/ProviderManager-1.1.31-504qgqkc.mjs +1 -0
  17. package/dist/chunks/REPL-1.1.31-nyzbwycm.mjs +1 -0
  18. package/dist/chunks/ResumeConversation-1.1.31-dqkxr7bz.mjs +1 -0
  19. package/dist/chunks/SnapshotUpdateDialog-1.1.31-htqfbpbp.mjs +1 -0
  20. package/dist/chunks/TeleportProgress-1.1.31-27h2np2z.mjs +1 -0
  21. package/dist/chunks/TeleportRepoMismatchDialog-1.1.31-41nwynfk.mjs +1 -0
  22. package/dist/chunks/TeleportResumeWrapper-1.1.31-ea5827ce.mjs +1 -0
  23. package/dist/chunks/TmuxBackend-1.1.31-jvrhermf.mjs +9 -0
  24. package/dist/chunks/ToolSearchTool-1.1.31-c0sya3fj.mjs +1 -0
  25. package/dist/chunks/TrustDialog-1.1.31-28w5033t.mjs +1 -0
  26. package/dist/chunks/activeProvider-1.1.31-dbrkwgfw.mjs +1 -0
  27. package/dist/chunks/add-dir-1.1.31-r6x72g59.mjs +1 -0
  28. package/dist/chunks/agentTypes-1.1.31-kb6srdzm.mjs +1 -0
  29. package/dist/chunks/agents-1.1.31-1jetdejb.mjs +110 -0
  30. package/dist/chunks/agents-1.1.31-mfr4h93c.mjs +3 -0
  31. package/dist/chunks/api-1.1.31-hp3y91t9.mjs +1 -0
  32. package/dist/chunks/asciicast-1.1.31-t0xrwnqn.mjs +1 -0
  33. package/dist/chunks/auth-1.1.31-76rswxwe.mjs +1 -0
  34. package/dist/chunks/auth-1.1.31-yhv86kw0.mjs +1 -0
  35. package/dist/chunks/autoMode-1.1.31-qma18egk.mjs +52 -0
  36. package/dist/chunks/autoModeSetup-1.1.31-egrmqsva.mjs +44 -0
  37. package/dist/chunks/autoUpdater-1.1.31-417m125q.mjs +1 -0
  38. package/dist/chunks/backgroundHousekeeping-1.1.31-e5emh88x.mjs +1 -0
  39. package/dist/chunks/branch-1.1.31-bxrg1svq.mjs +4 -0
  40. package/dist/chunks/bridge-1.1.31-1rsj352r.mjs +2 -0
  41. package/dist/chunks/bridgeConfig-1.1.31-r9vnvw71.mjs +1 -0
  42. package/dist/chunks/bridgeEnabled-1.1.31-d9mxn4g0.mjs +1 -0
  43. package/dist/chunks/bridgeMain-1.1.31-7sf093b0.mjs +88 -0
  44. package/dist/chunks/bridgePointer-1.1.31-n1t53nem.mjs +1 -0
  45. package/dist/chunks/btw-1.1.31-skw1dhb5.mjs +1 -0
  46. package/dist/chunks/buddy-1.1.31-wtmggn5p.mjs +3 -0
  47. package/dist/chunks/cache-probe-1.1.31-pgss169p.mjs +21 -0
  48. package/dist/chunks/cacheStats-1.1.31-af3nkg2b.mjs +4 -0
  49. package/dist/chunks/caches-1.1.31-yvqtsfx3.mjs +1 -0
  50. package/dist/chunks/cd-1.1.31-9t47yj0z.mjs +3 -0
  51. package/dist/chunks/claudeDesktop-1.1.31-b7a99nfq.mjs +1 -0
  52. package/dist/chunks/claudemd-1.1.31-h72v8r12.mjs +1 -0
  53. package/dist/chunks/clear-1.1.31-ndp0q9t9.mjs +1 -0
  54. package/dist/chunks/clearTerminal-1.1.31-d6d2q7kn.mjs +1 -0
  55. package/dist/chunks/cli-1.1.31-03xjvk1e.mjs +3 -0
  56. package/dist/chunks/cli-1.1.31-0fnqd3bq.mjs +25 -0
  57. package/dist/chunks/cli-1.1.31-0mmyq6jx.mjs +2 -0
  58. package/dist/chunks/cli-1.1.31-0yagz4xw.mjs +2 -0
  59. package/dist/chunks/cli-1.1.31-1192t9cm.mjs +2 -0
  60. package/dist/chunks/cli-1.1.31-13cx7z8n.mjs +60 -0
  61. package/dist/chunks/cli-1.1.31-1dv9ay7v.mjs +2 -0
  62. package/dist/chunks/cli-1.1.31-1q4btmra.mjs +2 -0
  63. package/dist/chunks/cli-1.1.31-1qw0s3a8.mjs +2 -0
  64. package/dist/chunks/cli-1.1.31-1wxttnqr.mjs +2 -0
  65. package/dist/chunks/cli-1.1.31-2csxt0x3.mjs +2 -0
  66. package/dist/chunks/cli-1.1.31-2ffqcy85.mjs +2 -0
  67. package/dist/chunks/cli-1.1.31-2j93x895.mjs +24 -0
  68. package/dist/chunks/cli-1.1.31-2mfapzkq.mjs +2 -0
  69. package/dist/chunks/cli-1.1.31-2pdbmb7w.mjs +3 -0
  70. package/dist/chunks/cli-1.1.31-2zvm1tgs.mjs +2 -0
  71. package/dist/chunks/cli-1.1.31-312b3zf6.mjs +2 -0
  72. package/dist/chunks/cli-1.1.31-32mahfs2.mjs +2 -0
  73. package/dist/chunks/cli-1.1.31-3dy87m85.mjs +2 -0
  74. package/dist/chunks/cli-1.1.31-3ehzwm1n.mjs +2 -0
  75. package/dist/chunks/cli-1.1.31-3jzsv5dy.mjs +2 -0
  76. package/dist/chunks/cli-1.1.31-3s51hvv0.mjs +2 -0
  77. package/dist/chunks/cli-1.1.31-3zy5yd1t.mjs +133 -0
  78. package/dist/chunks/cli-1.1.31-44jshpbd.mjs +2 -0
  79. package/dist/chunks/cli-1.1.31-4awnya8e.mjs +2 -0
  80. package/dist/chunks/cli-1.1.31-4cp1xkaj.mjs +2 -0
  81. package/dist/chunks/cli-1.1.31-4ja5kbt5.mjs +4 -0
  82. package/dist/chunks/cli-1.1.31-4tneme0y.mjs +2 -0
  83. package/dist/chunks/cli-1.1.31-528vtf9a.mjs +2 -0
  84. package/dist/chunks/cli-1.1.31-52wt9w8w.mjs +15 -0
  85. package/dist/chunks/cli-1.1.31-556xnzb4.mjs +2 -0
  86. package/dist/chunks/cli-1.1.31-562nqgh7.mjs +2 -0
  87. package/dist/chunks/cli-1.1.31-58anwssk.mjs +2 -0
  88. package/dist/chunks/cli-1.1.31-5ab9cpbt.mjs +3 -0
  89. package/dist/chunks/cli-1.1.31-5kgkq6vm.mjs +2 -0
  90. package/dist/chunks/cli-1.1.31-5ma2m26d.mjs +2 -0
  91. package/dist/chunks/cli-1.1.31-5tgfa7xy.mjs +2 -0
  92. package/dist/chunks/cli-1.1.31-5xd2j6e7.mjs +2 -0
  93. package/dist/chunks/cli-1.1.31-612bpjx6.mjs +2 -0
  94. package/dist/chunks/cli-1.1.31-619zan4w.mjs +2 -0
  95. package/dist/chunks/cli-1.1.31-6m1k9909.mjs +2 -0
  96. package/dist/chunks/cli-1.1.31-6pxakyvg.mjs +2 -0
  97. package/dist/chunks/cli-1.1.31-6qm466ss.mjs +2 -0
  98. package/dist/chunks/cli-1.1.31-706cv7fx.mjs +2 -0
  99. package/dist/chunks/cli-1.1.31-7692zxpg.mjs +2 -0
  100. package/dist/chunks/cli-1.1.31-774jqp88.mjs +2 -0
  101. package/dist/chunks/cli-1.1.31-777381m0.mjs +34 -0
  102. package/dist/chunks/cli-1.1.31-7hmq6k3a.mjs +26 -0
  103. package/dist/chunks/cli-1.1.31-7wdp9ve5.mjs +3 -0
  104. package/dist/chunks/cli-1.1.31-8bcb1d1y.mjs +2 -0
  105. package/dist/chunks/cli-1.1.31-8esfq0f2.mjs +2 -0
  106. package/dist/chunks/cli-1.1.31-8h9zps1d.mjs +2 -0
  107. package/dist/chunks/cli-1.1.31-8sw4prf8.mjs +22 -0
  108. package/dist/chunks/cli-1.1.31-8syj0cmx.mjs +2 -0
  109. package/dist/chunks/cli-1.1.31-9493f46x.mjs +9 -0
  110. package/dist/chunks/cli-1.1.31-978dpg39.mjs +2 -0
  111. package/dist/chunks/cli-1.1.31-9a1gsrx2.mjs +24 -0
  112. package/dist/chunks/cli-1.1.31-9adq5rjd.mjs +2 -0
  113. package/dist/chunks/cli-1.1.31-9d5v98td.mjs +2 -0
  114. package/dist/chunks/cli-1.1.31-9e4vtbvh.mjs +3 -0
  115. package/dist/chunks/cli-1.1.31-9efpx64n.mjs +20 -0
  116. package/dist/chunks/cli-1.1.31-9gf60j86.mjs +2 -0
  117. package/dist/chunks/cli-1.1.31-9gzbwjb8.mjs +2 -0
  118. package/dist/chunks/cli-1.1.31-9m6ef5kb.mjs +2 -0
  119. package/dist/chunks/cli-1.1.31-9m6gmh2w.mjs +2 -0
  120. package/dist/chunks/cli-1.1.31-9x9gaa7g.mjs +2 -0
  121. package/dist/chunks/cli-1.1.31-a4vvez04.mjs +2 -0
  122. package/dist/chunks/cli-1.1.31-a5wav9hq.mjs +2 -0
  123. package/dist/chunks/cli-1.1.31-a611zwj5.mjs +10 -0
  124. package/dist/chunks/cli-1.1.31-adnn5x8c.mjs +16 -0
  125. package/dist/chunks/cli-1.1.31-afzdmcrq.mjs +2 -0
  126. package/dist/chunks/cli-1.1.31-ahbyaapz.mjs +12 -0
  127. package/dist/chunks/cli-1.1.31-aqm3wayg.mjs +2 -0
  128. package/dist/chunks/cli-1.1.31-b2pt6rsc.mjs +2 -0
  129. package/dist/chunks/cli-1.1.31-b7258j1y.mjs +2 -0
  130. package/dist/chunks/cli-1.1.31-b8rbgfhm.mjs +2 -0
  131. package/dist/chunks/cli-1.1.31-bdt0j0zj.mjs +4 -0
  132. package/dist/chunks/cli-1.1.31-bfsa3dvr.mjs +2 -0
  133. package/dist/chunks/cli-1.1.31-bx3e5rv6.mjs +3 -0
  134. package/dist/chunks/cli-1.1.31-c17g88x0.mjs +9 -0
  135. package/dist/chunks/cli-1.1.31-c9707zjx.mjs +63 -0
  136. package/dist/chunks/cli-1.1.31-can8wyac.mjs +2 -0
  137. package/dist/chunks/cli-1.1.31-cpay8r5h.mjs +2 -0
  138. package/dist/chunks/cli-1.1.31-cpeph4zm.mjs +6 -0
  139. package/dist/chunks/cli-1.1.31-d9sxj86f.mjs +2 -0
  140. package/dist/chunks/cli-1.1.31-dc4fq4s3.mjs +2 -0
  141. package/dist/chunks/cli-1.1.31-dctwr6q4.mjs +5 -0
  142. package/dist/chunks/cli-1.1.31-dcyx3536.mjs +39 -0
  143. package/dist/chunks/cli-1.1.31-dhecyw04.mjs +3 -0
  144. package/dist/chunks/cli-1.1.31-dmghye74.mjs +4 -0
  145. package/dist/chunks/cli-1.1.31-ek449yjc.mjs +6 -0
  146. package/dist/chunks/cli-1.1.31-emhqeb1g.mjs +2 -0
  147. package/dist/chunks/cli-1.1.31-eqfmzrxc.mjs +2 -0
  148. package/dist/chunks/cli-1.1.31-eqvc58gw.mjs +2 -0
  149. package/dist/chunks/cli-1.1.31-ewhwdszf.mjs +2 -0
  150. package/dist/chunks/cli-1.1.31-f1zfyp44.mjs +2 -0
  151. package/dist/chunks/cli-1.1.31-f2abkvxa.mjs +4 -0
  152. package/dist/chunks/cli-1.1.31-fbdr0297.mjs +2 -0
  153. package/dist/chunks/cli-1.1.31-fdjs93ba.mjs +2 -0
  154. package/dist/chunks/cli-1.1.31-fdk7yhs0.mjs +2 -0
  155. package/dist/chunks/cli-1.1.31-fjdb444f.mjs +7 -0
  156. package/dist/chunks/cli-1.1.31-fk787pkf.mjs +15 -0
  157. package/dist/chunks/cli-1.1.31-fpqqpyrw.mjs +3 -0
  158. package/dist/chunks/cli-1.1.31-fr8t4a7n.mjs +2 -0
  159. package/dist/chunks/cli-1.1.31-fy2x8k7r.mjs +2 -0
  160. package/dist/chunks/cli-1.1.31-g41zancj.mjs +3 -0
  161. package/dist/chunks/cli-1.1.31-g58b1jfa.mjs +5473 -0
  162. package/dist/chunks/cli-1.1.31-ggtvemxf.mjs +2 -0
  163. package/dist/chunks/cli-1.1.31-gk7te1jt.mjs +2 -0
  164. package/dist/chunks/cli-1.1.31-gq54djk0.mjs +2 -0
  165. package/dist/chunks/cli-1.1.31-h102y1at.mjs +8 -0
  166. package/dist/chunks/cli-1.1.31-h1sv3apa.mjs +4 -0
  167. package/dist/chunks/cli-1.1.31-h41m4yrw.mjs +2 -0
  168. package/dist/chunks/cli-1.1.31-h5a78vp8.mjs +2 -0
  169. package/dist/chunks/cli-1.1.31-hfdt80w2.mjs +50 -0
  170. package/dist/chunks/cli-1.1.31-hk88wxhm.mjs +2 -0
  171. package/dist/chunks/cli-1.1.31-hpxjvh3j.mjs +3 -0
  172. package/dist/chunks/cli-1.1.31-hvnwvzhh.mjs +58 -0
  173. package/dist/chunks/cli-1.1.31-j0fbn8aw.mjs +2 -0
  174. package/dist/chunks/cli-1.1.31-jfj1gvgy.mjs +2 -0
  175. package/dist/chunks/cli-1.1.31-jh2sb5nk.mjs +42 -0
  176. package/dist/chunks/cli-1.1.31-jnyr50hq.mjs +2 -0
  177. package/dist/chunks/cli-1.1.31-jwa8f70w.mjs +2 -0
  178. package/dist/chunks/cli-1.1.31-jyzz7q1c.mjs +2 -0
  179. package/dist/chunks/cli-1.1.31-k0zfy1nt.mjs +2 -0
  180. package/dist/chunks/cli-1.1.31-kfw3q4sp.mjs +133 -0
  181. package/dist/chunks/cli-1.1.31-kp8hq72m.mjs +2 -0
  182. package/dist/chunks/cli-1.1.31-kzh4darh.mjs +2 -0
  183. package/dist/chunks/cli-1.1.31-m5w2d13z.mjs +2 -0
  184. package/dist/chunks/cli-1.1.31-m9yqg6jg.mjs +2 -0
  185. package/dist/chunks/cli-1.1.31-mcekc48f.mjs +2 -0
  186. package/dist/chunks/cli-1.1.31-mtcbc6g3.mjs +4 -0
  187. package/dist/chunks/cli-1.1.31-n130x03f.mjs +2 -0
  188. package/dist/chunks/cli-1.1.31-n305h9qd.mjs +25 -0
  189. package/dist/chunks/cli-1.1.31-n4g6s1bz.mjs +2 -0
  190. package/dist/chunks/cli-1.1.31-n5vytp0f.mjs +2 -0
  191. package/dist/chunks/cli-1.1.31-nh2cfavp.mjs +2 -0
  192. package/dist/chunks/cli-1.1.31-njfyxwfr.mjs +2 -0
  193. package/dist/chunks/cli-1.1.31-nvecb8c6.mjs +2 -0
  194. package/dist/chunks/cli-1.1.31-nyvjx813.mjs +24 -0
  195. package/dist/chunks/cli-1.1.31-nyvz0ev8.mjs +5 -0
  196. package/dist/chunks/cli-1.1.31-p99fz46k.mjs +206 -0
  197. package/dist/chunks/cli-1.1.31-pb50hb6v.mjs +12 -0
  198. package/dist/chunks/cli-1.1.31-pg2ntz9b.mjs +17 -0
  199. package/dist/chunks/cli-1.1.31-pgde5349.mjs +2 -0
  200. package/dist/chunks/cli-1.1.31-pp98t7k8.mjs +2 -0
  201. package/dist/chunks/cli-1.1.31-ptvddvjv.mjs +2 -0
  202. package/dist/chunks/cli-1.1.31-pzz7j17y.mjs +3 -0
  203. package/dist/chunks/cli-1.1.31-q67trvk0.mjs +2 -0
  204. package/dist/chunks/cli-1.1.31-q6k8ems6.mjs +21 -0
  205. package/dist/chunks/cli-1.1.31-qj8vksz8.mjs +2 -0
  206. package/dist/chunks/cli-1.1.31-qq0sng13.mjs +2 -0
  207. package/dist/chunks/cli-1.1.31-qsftejzk.mjs +2 -0
  208. package/dist/chunks/cli-1.1.31-qv6x2hht.mjs +2 -0
  209. package/dist/chunks/cli-1.1.31-qyztdyg2.mjs +2 -0
  210. package/dist/chunks/cli-1.1.31-r5g0ns02.mjs +2 -0
  211. package/dist/chunks/cli-1.1.31-r7jps0tn.mjs +3 -0
  212. package/dist/chunks/cli-1.1.31-rqyqyvdn.mjs +2 -0
  213. package/dist/chunks/cli-1.1.31-rspa4dsq.mjs +6 -0
  214. package/dist/chunks/cli-1.1.31-rw3xn3tc.mjs +4 -0
  215. package/dist/chunks/cli-1.1.31-s1a6vw53.mjs +2 -0
  216. package/dist/chunks/cli-1.1.31-s1vgm3hb.mjs +2 -0
  217. package/dist/chunks/cli-1.1.31-s246tb6v.mjs +15 -0
  218. package/dist/chunks/cli-1.1.31-satbt91m.mjs +18 -0
  219. package/dist/chunks/cli-1.1.31-sc82f8hw.mjs +6 -0
  220. package/dist/chunks/cli-1.1.31-sn0x975f.mjs +24 -0
  221. package/dist/chunks/cli-1.1.31-sn2bmgwr.mjs +2 -0
  222. package/dist/chunks/cli-1.1.31-t2y2tkme.mjs +2 -0
  223. package/dist/chunks/cli-1.1.31-t6m64e0q.mjs +6 -0
  224. package/dist/chunks/cli-1.1.31-t96rrv1m.mjs +2 -0
  225. package/dist/chunks/cli-1.1.31-tc6xppyr.mjs +2 -0
  226. package/dist/chunks/cli-1.1.31-tctd36c8.mjs +2 -0
  227. package/dist/chunks/cli-1.1.31-thhdw5e1.mjs +2 -0
  228. package/dist/chunks/cli-1.1.31-v02fpzs5.mjs +2 -0
  229. package/dist/chunks/cli-1.1.31-v7nswcm8.mjs +2 -0
  230. package/dist/chunks/cli-1.1.31-var05xaf.mjs +2 -0
  231. package/dist/chunks/cli-1.1.31-vbch5rht.mjs +2 -0
  232. package/dist/chunks/cli-1.1.31-vf004w21.mjs +2 -0
  233. package/dist/chunks/cli-1.1.31-vhstdnfa.mjs +7 -0
  234. package/dist/chunks/cli-1.1.31-vphyv007.mjs +2 -0
  235. package/dist/chunks/cli-1.1.31-vpkbqj90.mjs +4 -0
  236. package/dist/chunks/cli-1.1.31-vr977n4j.mjs +2 -0
  237. package/dist/chunks/cli-1.1.31-w0vfcfhs.mjs +2 -0
  238. package/dist/chunks/cli-1.1.31-w225x38q.mjs +2 -0
  239. package/dist/chunks/cli-1.1.31-war7w6d7.mjs +2 -0
  240. package/dist/chunks/cli-1.1.31-wba64b2s.mjs +2 -0
  241. package/dist/chunks/cli-1.1.31-wfv9e9p4.mjs +2 -0
  242. package/dist/chunks/cli-1.1.31-wmt8ywr9.mjs +2 -0
  243. package/dist/chunks/cli-1.1.31-wnpf6e90.mjs +2 -0
  244. package/dist/chunks/cli-1.1.31-x1wr5k0p.mjs +2 -0
  245. package/dist/chunks/cli-1.1.31-x96s38b0.mjs +2 -0
  246. package/dist/chunks/cli-1.1.31-xqdypd2k.mjs +6 -0
  247. package/dist/chunks/cli-1.1.31-xv09f0k4.mjs +2 -0
  248. package/dist/chunks/cli-1.1.31-yte5f9f9.mjs +45 -0
  249. package/dist/chunks/cli-1.1.31-yz72mhbg.mjs +2 -0
  250. package/dist/chunks/cli-1.1.31-z3s1pnd3.mjs +1 -0
  251. package/dist/chunks/cli-1.1.31-z6qe8e42.mjs +2 -0
  252. package/dist/chunks/cli-1.1.31-z7hdz84q.mjs +17 -0
  253. package/dist/chunks/cli-1.1.31-zsjs5eq0.mjs +2 -0
  254. package/dist/chunks/cli-1.1.31-zvbpmw2y.mjs +2 -0
  255. package/dist/chunks/cli-1.1.31-zy7nrvt9.mjs +2 -0
  256. package/dist/chunks/cli-1.1.31-zzd4cheh.mjs +2 -0
  257. package/dist/chunks/client-1.1.31-3bn971t2.mjs +1 -0
  258. package/dist/chunks/color-1.1.31-n3q45hw4.mjs +1 -0
  259. package/dist/chunks/compact-1.1.31-zkekkcjq.mjs +3 -0
  260. package/dist/chunks/config-1.1.31-1t6yz96k.mjs +1 -0
  261. package/dist/chunks/config-1.1.31-enwx50r9.mjs +1 -0
  262. package/dist/chunks/constants-1.1.31-5peb81d1.mjs +1 -0
  263. package/dist/chunks/context-1.1.31-9crzemp8.mjs +1 -0
  264. package/dist/chunks/context-noninteractive-1.1.31-twqynyp7.mjs +1 -0
  265. package/dist/chunks/conversation-1.1.31-yw2es9kq.mjs +1 -0
  266. package/dist/chunks/copilotHeaders-1.1.31-axfr0ar5.mjs +1 -0
  267. package/dist/chunks/copy-1.1.31-y97hza01.mjs +9 -0
  268. package/dist/chunks/cost-1.1.31-wtp1fp62.mjs +1 -0
  269. package/dist/chunks/createSSHSession-1.1.31-tsfe2dea.mjs +1 -0
  270. package/dist/chunks/createSession-1.1.31-pddv01ds.mjs +1 -0
  271. package/dist/chunks/debug-1.1.31-5awffxcd.mjs +1 -0
  272. package/dist/chunks/defaultActionDeps-1.1.31-6a742vb3.mjs +1480 -0
  273. package/dist/chunks/desktop-1.1.31-zq54hfwy.mjs +2 -0
  274. package/dist/chunks/detectRepository-1.1.31-s6pe6c1x.mjs +1 -0
  275. package/dist/chunks/detection-1.1.31-zss1hfbq.mjs +1 -0
  276. package/dist/chunks/diff-1.1.31-ksj17xmk.mjs +1 -0
  277. package/dist/chunks/doctor-1.1.31-v4djfk2w.mjs +1 -0
  278. package/dist/chunks/doctorDiagnostic-1.1.31-gs3rsn7y.mjs +1 -0
  279. package/dist/chunks/earlyInput-1.1.31-s1vpzgtx.mjs +1 -0
  280. package/dist/chunks/effort-1.1.31-6z9vjdd8.mjs +13 -0
  281. package/dist/chunks/engine-1.1.31-rv1fs549.mjs +1 -0
  282. package/dist/chunks/envLessBridgeConfig-1.1.31-5p5f4zyz.mjs +1 -0
  283. package/dist/chunks/envUtils-1.1.31-ntcm9cr0.mjs +1 -0
  284. package/dist/chunks/environmentSelection-1.1.31-hh2weytc.mjs +1 -0
  285. package/dist/chunks/environments-1.1.31-yvgyx900.mjs +1 -0
  286. package/dist/chunks/errors-1.1.31-n434b94a.mjs +1 -0
  287. package/dist/chunks/exampleCommands-1.1.31-gntd6p22.mjs +1 -0
  288. package/dist/chunks/execFileNoThrow-1.1.31-s2n0jxqw.mjs +1 -0
  289. package/dist/chunks/exit-1.1.31-rgrjhztt.mjs +1 -0
  290. package/dist/chunks/explorer-1.1.31-cyken2c0.mjs +1 -0
  291. package/dist/chunks/export-1.1.31-nmjy9qp1.mjs +2 -0
  292. package/dist/chunks/fast-1.1.31-58c4aeze.mjs +1 -0
  293. package/dist/chunks/feedback-1.1.31-m0vj61dd.mjs +16 -0
  294. package/dist/chunks/git-1.1.31-9ytjvad9.mjs +1 -0
  295. package/dist/chunks/githubModelsCredentials-1.1.31-7pk651pz.mjs +1 -0
  296. package/dist/chunks/goal-1.1.31-2a9eh1dv.mjs +4 -0
  297. package/dist/chunks/headless-1.1.31-btcvy308.mjs +2 -0
  298. package/dist/chunks/heapdump-1.1.31-3d2namke.mjs +6 -0
  299. package/dist/chunks/help-1.1.31-sewrb4nb.mjs +1 -0
  300. package/dist/chunks/hookChains-1.1.31-72mrrs9j.mjs +3 -0
  301. package/dist/chunks/hooks-1.1.31-0gf2fwcn.mjs +1 -0
  302. package/dist/chunks/hooks-1.1.31-t1v6dwz6.mjs +79 -0
  303. package/dist/chunks/ide-1.1.31-rfvpxf98.mjs +3 -0
  304. package/dist/chunks/image-processor-napi-1.1.31-6m3111th.mjs +1 -0
  305. package/dist/chunks/import-1.1.31-n4khxgen.mjs +261 -0
  306. package/dist/chunks/inboundAttachments-1.1.31-js74nw49.mjs +1 -0
  307. package/dist/chunks/index-1.1.31-1d2w0stv.mjs +1 -0
  308. package/dist/chunks/index-1.1.31-7xyvb71n.mjs +1 -0
  309. package/dist/chunks/index-1.1.31-b35axgfq.mjs +1 -0
  310. package/dist/chunks/index-1.1.31-bb3ds6px.mjs +5 -0
  311. package/dist/chunks/index-1.1.31-d8kmfk8g.mjs +1 -0
  312. package/dist/chunks/index-1.1.31-djqjbcj1.mjs +1 -0
  313. package/dist/chunks/index-1.1.31-fbcpgjqr.mjs +1 -0
  314. package/dist/chunks/index-1.1.31-fzj8sx04.mjs +1 -0
  315. package/dist/chunks/index-1.1.31-h4jmtajm.mjs +9 -0
  316. package/dist/chunks/index-1.1.31-hxatxhrm.mjs +1 -0
  317. package/dist/chunks/index-1.1.31-jjp83m1j.mjs +1 -0
  318. package/dist/chunks/index-1.1.31-jk9pvxkr.mjs +1 -0
  319. package/dist/chunks/index-1.1.31-jy33bsc3.mjs +2 -0
  320. package/dist/chunks/index-1.1.31-kdnrzq4a.mjs +1 -0
  321. package/dist/chunks/index-1.1.31-kv3bfsq2.mjs +23 -0
  322. package/dist/chunks/index-1.1.31-mxjtqbfj.mjs +1 -0
  323. package/dist/chunks/index-1.1.31-p8xpgawg.mjs +1 -0
  324. package/dist/chunks/index-1.1.31-phw15bz8.mjs +1 -0
  325. package/dist/chunks/index-1.1.31-pr2zcv22.mjs +30 -0
  326. package/dist/chunks/index-1.1.31-q75y58jp.mjs +2 -0
  327. package/dist/chunks/index-1.1.31-qhsyqcg4.mjs +1 -0
  328. package/dist/chunks/index-1.1.31-tzvhzkcd.mjs +1 -0
  329. package/dist/chunks/index-1.1.31-wgdk68t3.mjs +9 -0
  330. package/dist/chunks/init-1.1.31-4ayzds5h.mjs +2 -0
  331. package/dist/chunks/initReplBridge-1.1.31-ebns690c.mjs +1 -0
  332. package/dist/chunks/ink-1.1.31-rx0229yp.mjs +1 -0
  333. package/dist/chunks/insights-1.1.31-t8z4k64x.mjs +870 -0
  334. package/dist/chunks/install-1.1.31-fvw0rbqj.mjs +1 -0
  335. package/dist/chunks/install-github-app-1.1.31-zmtxtda9.mjs +149 -0
  336. package/dist/chunks/install-slack-app-1.1.31-j04t1paw.mjs +1 -0
  337. package/dist/chunks/interactiveHelpers-1.1.31-xq2br8z8.mjs +1 -0
  338. package/dist/chunks/keybindings-1.1.31-a0dfh2gb.mjs +2 -0
  339. package/dist/chunks/knowledge-1.1.31-g087p4dy.mjs +2 -0
  340. package/dist/chunks/latestVersionCache-1.1.31-vyesmh7x.mjs +1 -0
  341. package/dist/chunks/loadAgentsDir-1.1.31-39mbd67g.mjs +1 -0
  342. package/dist/chunks/loadPluginHooks-1.1.31-7pnfkxj8.mjs +1 -0
  343. package/dist/chunks/log-1.1.31-75wjvmg7.mjs +1 -0
  344. package/dist/chunks/main-1.1.31-htavj2vh.mjs +1 -0
  345. package/dist/chunks/managedEnv-1.1.31-3t5j20s3.mjs +1 -0
  346. package/dist/chunks/mcp-1.1.31-g8q13cfk.mjs +1 -0
  347. package/dist/chunks/mcp-1.1.31-gnbrx51d.mjs +17 -0
  348. package/dist/chunks/mcp-1.1.31-tb2yw0fm.mjs +4 -0
  349. package/dist/chunks/mcpb-1.1.31-an4y7m57.mjs +1 -0
  350. package/dist/chunks/memory-1.1.31-6ebsap62.mjs +77 -0
  351. package/dist/chunks/model-1.1.31-dfs178qb.mjs +1 -0
  352. package/dist/chunks/model-1.1.31-yjsxjv0f.mjs +2 -0
  353. package/dist/chunks/node-1.1.31-4gqzhhpj.mjs +15 -0
  354. package/dist/chunks/node-1.1.31-bknsrjhq.mjs +1 -0
  355. package/dist/chunks/oauth-1.1.31-0dfgbykp.mjs +1 -0
  356. package/dist/chunks/openaiShim-1.1.31-bx5cgqc0.mjs +14 -0
  357. package/dist/chunks/output-style-1.1.31-fqg3pscb.mjs +1 -0
  358. package/dist/chunks/package-D2QZMRW7-1.1.31-tbwnz9re.mjs +1 -0
  359. package/dist/chunks/parseConnectUrl-1.1.31-htt07xve.mjs +1 -0
  360. package/dist/chunks/parser-1.1.31-22dqq9cd.mjs +1 -0
  361. package/dist/chunks/permissions-1.1.31-2jt71rmf.mjs +1 -0
  362. package/dist/chunks/permissions-1.1.31-8eevgx6v.mjs +3 -0
  363. package/dist/chunks/plan-1.1.31-sgds3thc.mjs +1 -0
  364. package/dist/chunks/plist-1.1.31-50ff60z2.mjs +1 -0
  365. package/dist/chunks/plugin-1.1.31-j5n91qc0.mjs +29 -0
  366. package/dist/chunks/pluginStartupCheck-1.1.31-28rvz0zj.mjs +1 -0
  367. package/dist/chunks/plugins-1.1.31-cq05wg0h.mjs +9 -0
  368. package/dist/chunks/preActionHook-1.1.31-xmrm67ge.mjs +2 -0
  369. package/dist/chunks/print-1.1.31-4n5d0cdk.mjs +57 -0
  370. package/dist/chunks/process-1.1.31-7c3jtep7.mjs +1 -0
  371. package/dist/chunks/processBashCommand-1.1.31-ycb3ehgr.mjs +1 -0
  372. package/dist/chunks/processSlashCommand-1.1.31-0bwjc7n4.mjs +9 -0
  373. package/dist/chunks/prompt-1.1.31-1krmkgep.mjs +1 -0
  374. package/dist/chunks/prompt-1.1.31-vsft6hz3.mjs +1 -0
  375. package/dist/chunks/prompts-1.1.31-jp2k44tp.mjs +1 -0
  376. package/dist/chunks/protocolHandler-1.1.31-yc5dejjn.mjs +13 -0
  377. package/dist/chunks/provider-1.1.31-sba30ytt.mjs +2 -0
  378. package/dist/chunks/providerProfiles-1.1.31-8g3p4ntd.mjs +1 -0
  379. package/dist/chunks/providerValidation-1.1.31-rnj0xtqw.mjs +6 -0
  380. package/dist/chunks/registerSubcommands-1.1.31-rtx2e9wp.mjs +26 -0
  381. package/dist/chunks/registry-1.1.31-ecyhakd2.mjs +1 -0
  382. package/dist/chunks/release-notes-1.1.31-gf017wax.mjs +5 -0
  383. package/dist/chunks/reload-plugins-1.1.31-de7agwmx.mjs +2 -0
  384. package/dist/chunks/remote-env-1.1.31-x3aaeh2d.mjs +1 -0
  385. package/dist/chunks/remoteBridgeCore-1.1.31-37k3bw33.mjs +1 -0
  386. package/dist/chunks/remoteSession-1.1.31-tkas2k4z.mjs +1 -0
  387. package/dist/chunks/rename-1.1.31-4q58stc8.mjs +1 -0
  388. package/dist/chunks/replBridgeHandle-1.1.31-64getkgv.mjs +1 -0
  389. package/dist/chunks/replLauncher-1.1.31-0n74v295.mjs +1 -0
  390. package/dist/chunks/resume-1.1.31-btzfzzf4.mjs +2 -0
  391. package/dist/chunks/rewind-1.1.31-9m2a508m.mjs +1 -0
  392. package/dist/chunks/rootOptions-1.1.31-bftj813f.mjs +1 -0
  393. package/dist/chunks/runWorkflowHeadless-1.1.31-tra2r0dx.mjs +10 -0
  394. package/dist/chunks/sandbox-adapter-1.1.31-6nyy2rag.mjs +1 -0
  395. package/dist/chunks/sandbox-toggle-1.1.31-h1n35f5k.mjs +1 -0
  396. package/dist/chunks/session-1.1.31-xb800b9s.mjs +2 -0
  397. package/dist/chunks/sessionFileAccessHooks-1.1.31-gkkyesrj.mjs +1 -0
  398. package/dist/chunks/sessionStorage-1.1.31-s7gez2t6.mjs +1 -0
  399. package/dist/chunks/settings-1.1.31-w7zfpg83.mjs +1 -0
  400. package/dist/chunks/setup-1.1.31-b6kjgetf.mjs +12 -0
  401. package/dist/chunks/sinks-1.1.31-g9n7r1nh.mjs +1 -0
  402. package/dist/chunks/skills-1.1.31-ag9r3asv.mjs +1 -0
  403. package/dist/chunks/startupProfiler-1.1.31-h19httmy.mjs +1 -0
  404. package/dist/chunks/startupUpdateCheck-1.1.31-f3g7de65.mjs +1 -0
  405. package/dist/chunks/state-1.1.31-tbc1c6c2.mjs +1 -0
  406. package/dist/chunks/stats-1.1.31-71xjrkax.mjs +1 -0
  407. package/dist/chunks/status-1.1.31-n65g11nc.mjs +1 -0
  408. package/dist/chunks/stickers-1.1.31-eze0atpf.mjs +1 -0
  409. package/dist/chunks/subprocessEnv-1.1.31-r788gbdf.mjs +1 -0
  410. package/dist/chunks/tasks-1.1.31-tbc0x51m.mjs +1 -0
  411. package/dist/chunks/teamHelpers-1.1.31-yt18sjr2.mjs +1 -0
  412. package/dist/chunks/teammateModeSnapshot-1.1.31-f3bgkc7m.mjs +1 -0
  413. package/dist/chunks/teleport-1.1.31-4mvcqr5j.mjs +1 -0
  414. package/dist/chunks/terminalSetup-1.1.31-y574v0gj.mjs +1 -0
  415. package/dist/chunks/theme-1.1.31-2nth8fxb.mjs +1 -0
  416. package/dist/chunks/thinkback-1.1.31-yt5309kx.mjs +1 -0
  417. package/dist/chunks/thinkback-play-1.1.31-n61vtr8q.mjs +1 -0
  418. package/dist/chunks/toolPool-1.1.31-2wrjcf13.mjs +1 -0
  419. package/dist/chunks/toolSearch-1.1.31-vr7hen30.mjs +1 -0
  420. package/dist/chunks/tools-1.1.31-xgrxwk7j.mjs +1 -0
  421. package/dist/chunks/trustedDevice-1.1.31-ad2f2kvj.mjs +1 -0
  422. package/dist/chunks/turndown.cjs-1.1.31-mtgg85tg.mjs +69 -0
  423. package/dist/chunks/types-1.1.31-ery244ea.mjs +1 -0
  424. package/dist/chunks/ultrareviewCommand-1.1.31-fs3fn2qp.mjs +4 -0
  425. package/dist/chunks/update-1.1.31-j79f7es2.mjs +72 -0
  426. package/dist/chunks/upload-1.1.31-ehqzz7x7.mjs +7 -0
  427. package/dist/chunks/upstreamproxy-1.1.31-z70ctdj3.mjs +14 -0
  428. package/dist/chunks/url-handler-napi-1.1.31-e0hbcnyw.mjs +1 -0
  429. package/dist/chunks/usage-1.1.31-qgmy1ktr.mjs +1 -0
  430. package/dist/chunks/util-1.1.31-jy81jvt3.mjs +1 -0
  431. package/dist/chunks/utils-1.1.31-3jpj59nn.mjs +1 -0
  432. package/dist/chunks/vim-1.1.31-wbbckx93.mjs +1 -0
  433. package/dist/chunks/watchLoop-1.1.31-v994wq2d.mjs +13 -0
  434. package/dist/chunks/watcher-1.1.31-zr0darq0.mjs +1 -0
  435. package/dist/chunks/wiki-1.1.31-7gcn31zm.mjs +132 -0
  436. package/dist/chunks/workflows-1.1.31-ek8twhyg.mjs +1 -0
  437. package/dist/chunks/worktree-1.1.31-krxr11er.mjs +1 -0
  438. package/dist/chunks/worktreeModeEnabled-1.1.31-m3t752mj.mjs +1 -0
  439. package/dist/chunks/wrapper-1.1.31-037s1v4h.mjs +7 -0
  440. package/dist/cli.mjs +2 -2
  441. package/package.json +9 -9
  442. package/dist/chunks/AgentTool-1.1.30-3wq8zzaa.mjs +0 -1
  443. package/dist/chunks/App-1.1.30-ywb53g2c.mjs +0 -1
  444. package/dist/chunks/ApproveApiKey-1.1.30-wtpe9n8e.mjs +0 -1
  445. package/dist/chunks/AssistantSessionChooser-1.1.30-776xks64.mjs +0 -1
  446. package/dist/chunks/AutoModeOptInDialog-1.1.30-bjm91hx0.mjs +0 -1
  447. package/dist/chunks/BypassPermissionsModeDialog-1.1.30-rcy7msd9.mjs +0 -1
  448. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.30-bexsqxcb.mjs +0 -1
  449. package/dist/chunks/ConsoleOAuthFlow-1.1.30-jfhq3h4z.mjs +0 -1
  450. package/dist/chunks/DiffDialog-1.1.30-kqds97f2.mjs +0 -6
  451. package/dist/chunks/Doctor-1.1.30-48qzfckm.mjs +0 -1
  452. package/dist/chunks/ExplorerDialog-1.1.30-tfv4wc5m.mjs +0 -6
  453. package/dist/chunks/ITermBackend-1.1.30-z31ecx5v.mjs +0 -1
  454. package/dist/chunks/InvalidConfigDialog-1.1.30-f17w1kzx.mjs +0 -1
  455. package/dist/chunks/InvalidSettingsDialog-1.1.30-fzajgngq.mjs +0 -1
  456. package/dist/chunks/MigrationDialog-1.1.30-15c4h452.mjs +0 -1
  457. package/dist/chunks/Onboarding-1.1.30-xajg2p3r.mjs +0 -1
  458. package/dist/chunks/ProviderManager-1.1.30-8jrhxd1r.mjs +0 -1
  459. package/dist/chunks/REPL-1.1.30-74pzzw1d.mjs +0 -1
  460. package/dist/chunks/ResumeConversation-1.1.30-8bmshptz.mjs +0 -1
  461. package/dist/chunks/SnapshotUpdateDialog-1.1.30-v5fnwt30.mjs +0 -1
  462. package/dist/chunks/TeleportProgress-1.1.30-v55nsv7g.mjs +0 -1
  463. package/dist/chunks/TeleportRepoMismatchDialog-1.1.30-2hg56v1b.mjs +0 -1
  464. package/dist/chunks/TeleportResumeWrapper-1.1.30-r2hwd3a6.mjs +0 -1
  465. package/dist/chunks/TmuxBackend-1.1.30-y6hny4s2.mjs +0 -9
  466. package/dist/chunks/ToolSearchTool-1.1.30-cq18pvam.mjs +0 -1
  467. package/dist/chunks/TrustDialog-1.1.30-qp3cr0fk.mjs +0 -1
  468. package/dist/chunks/activeProvider-1.1.30-ydaqb760.mjs +0 -1
  469. package/dist/chunks/add-dir-1.1.30-gta8twv0.mjs +0 -1
  470. package/dist/chunks/agentTypes-1.1.30-rxcmv28v.mjs +0 -1
  471. package/dist/chunks/agents-1.1.30-d5hxfnnt.mjs +0 -3
  472. package/dist/chunks/agents-1.1.30-q3f25044.mjs +0 -110
  473. package/dist/chunks/api-1.1.30-30hng0e4.mjs +0 -1
  474. package/dist/chunks/asciicast-1.1.30-mhcedd5b.mjs +0 -1
  475. package/dist/chunks/assistant-1.1.30-1zxsr09t.mjs +0 -1
  476. package/dist/chunks/auth-1.1.30-mmymct98.mjs +0 -1
  477. package/dist/chunks/auth-1.1.30-ntfwzwxz.mjs +0 -1
  478. package/dist/chunks/autoMode-1.1.30-9jd1avyj.mjs +0 -52
  479. package/dist/chunks/autoModeSetup-1.1.30-8cnp296z.mjs +0 -44
  480. package/dist/chunks/autoUpdater-1.1.30-f0wbf5ha.mjs +0 -1
  481. package/dist/chunks/backgroundHousekeeping-1.1.30-b7t4y9th.mjs +0 -1
  482. package/dist/chunks/branch-1.1.30-x77nhthz.mjs +0 -4
  483. package/dist/chunks/bridge-1.1.30-scfmh172.mjs +0 -2
  484. package/dist/chunks/bridgeConfig-1.1.30-8hd92b6p.mjs +0 -1
  485. package/dist/chunks/bridgeEnabled-1.1.30-n5c6p8kd.mjs +0 -1
  486. package/dist/chunks/bridgeMain-1.1.30-9cpc29zx.mjs +0 -88
  487. package/dist/chunks/bridgePointer-1.1.30-gsa0eerc.mjs +0 -1
  488. package/dist/chunks/btw-1.1.30-gyh84rd1.mjs +0 -1
  489. package/dist/chunks/buddy-1.1.30-vzfs4xt1.mjs +0 -3
  490. package/dist/chunks/cache-probe-1.1.30-qjppzj5p.mjs +0 -21
  491. package/dist/chunks/cacheStats-1.1.30-w1c0ekr4.mjs +0 -4
  492. package/dist/chunks/caches-1.1.30-6rye5cdg.mjs +0 -1
  493. package/dist/chunks/cd-1.1.30-tn402589.mjs +0 -3
  494. package/dist/chunks/claudeDesktop-1.1.30-sm5ncwqz.mjs +0 -1
  495. package/dist/chunks/claudemd-1.1.30-36eyf63s.mjs +0 -1
  496. package/dist/chunks/clear-1.1.30-p5p9kp96.mjs +0 -1
  497. package/dist/chunks/clearTerminal-1.1.30-nrdembs6.mjs +0 -1
  498. package/dist/chunks/cli-1.1.30-053d5ph7.mjs +0 -2
  499. package/dist/chunks/cli-1.1.30-092dkm0p.mjs +0 -2
  500. package/dist/chunks/cli-1.1.30-0e0e9msg.mjs +0 -17
  501. package/dist/chunks/cli-1.1.30-0fz758j0.mjs +0 -2
  502. package/dist/chunks/cli-1.1.30-0qcyzbs1.mjs +0 -2
  503. package/dist/chunks/cli-1.1.30-0yafp3ky.mjs +0 -2
  504. package/dist/chunks/cli-1.1.30-1j4dyr5r.mjs +0 -2
  505. package/dist/chunks/cli-1.1.30-1k2bwved.mjs +0 -3
  506. package/dist/chunks/cli-1.1.30-1qczaqkt.mjs +0 -2
  507. package/dist/chunks/cli-1.1.30-1wfffyq2.mjs +0 -2
  508. package/dist/chunks/cli-1.1.30-1xmhk219.mjs +0 -2
  509. package/dist/chunks/cli-1.1.30-1ybfyckn.mjs +0 -2
  510. package/dist/chunks/cli-1.1.30-1zsgv3yp.mjs +0 -2
  511. package/dist/chunks/cli-1.1.30-2af3eeg6.mjs +0 -2
  512. package/dist/chunks/cli-1.1.30-2cmsx74f.mjs +0 -26
  513. package/dist/chunks/cli-1.1.30-2hw4vdpg.mjs +0 -2
  514. package/dist/chunks/cli-1.1.30-2pqs37e0.mjs +0 -3
  515. package/dist/chunks/cli-1.1.30-2y4yj9sd.mjs +0 -2
  516. package/dist/chunks/cli-1.1.30-2yd2af56.mjs +0 -50
  517. package/dist/chunks/cli-1.1.30-2zq3aea6.mjs +0 -2
  518. package/dist/chunks/cli-1.1.30-322advqh.mjs +0 -4
  519. package/dist/chunks/cli-1.1.30-3b1nw95m.mjs +0 -2
  520. package/dist/chunks/cli-1.1.30-3c6j35rs.mjs +0 -2
  521. package/dist/chunks/cli-1.1.30-3x86c2pa.mjs +0 -24
  522. package/dist/chunks/cli-1.1.30-489cr054.mjs +0 -2
  523. package/dist/chunks/cli-1.1.30-4d90v0pd.mjs +0 -6
  524. package/dist/chunks/cli-1.1.30-4kytbyxq.mjs +0 -15
  525. package/dist/chunks/cli-1.1.30-4t03vay7.mjs +0 -2
  526. package/dist/chunks/cli-1.1.30-4wqfr0ya.mjs +0 -2
  527. package/dist/chunks/cli-1.1.30-4zrfbe17.mjs +0 -2
  528. package/dist/chunks/cli-1.1.30-51kze0eh.mjs +0 -2
  529. package/dist/chunks/cli-1.1.30-569esepc.mjs +0 -60
  530. package/dist/chunks/cli-1.1.30-57b410qh.mjs +0 -25
  531. package/dist/chunks/cli-1.1.30-5cc6nada.mjs +0 -2
  532. package/dist/chunks/cli-1.1.30-5f76gnk2.mjs +0 -2
  533. package/dist/chunks/cli-1.1.30-5j2mdj81.mjs +0 -2
  534. package/dist/chunks/cli-1.1.30-5pn20fxz.mjs +0 -2
  535. package/dist/chunks/cli-1.1.30-5r9pakw5.mjs +0 -2
  536. package/dist/chunks/cli-1.1.30-63ndyxgm.mjs +0 -2
  537. package/dist/chunks/cli-1.1.30-6eaj3n76.mjs +0 -9
  538. package/dist/chunks/cli-1.1.30-6phpx599.mjs +0 -2
  539. package/dist/chunks/cli-1.1.30-6pp4z5px.mjs +0 -2
  540. package/dist/chunks/cli-1.1.30-7a064pfm.mjs +0 -2
  541. package/dist/chunks/cli-1.1.30-7bdj31x8.mjs +0 -2
  542. package/dist/chunks/cli-1.1.30-7dtpd1ra.mjs +0 -2
  543. package/dist/chunks/cli-1.1.30-7h45a0x6.mjs +0 -6
  544. package/dist/chunks/cli-1.1.30-7ma427qh.mjs +0 -8
  545. package/dist/chunks/cli-1.1.30-7q8f7mp7.mjs +0 -2
  546. package/dist/chunks/cli-1.1.30-84cemtwn.mjs +0 -4
  547. package/dist/chunks/cli-1.1.30-87zsgch6.mjs +0 -21
  548. package/dist/chunks/cli-1.1.30-8a5gwcde.mjs +0 -2
  549. package/dist/chunks/cli-1.1.30-8e36e2c1.mjs +0 -2
  550. package/dist/chunks/cli-1.1.30-8hcc4gax.mjs +0 -15
  551. package/dist/chunks/cli-1.1.30-8t3c3a4k.mjs +0 -20
  552. package/dist/chunks/cli-1.1.30-8vr9ea9g.mjs +0 -2
  553. package/dist/chunks/cli-1.1.30-8zyep40e.mjs +0 -2
  554. package/dist/chunks/cli-1.1.30-902jyjpx.mjs +0 -2
  555. package/dist/chunks/cli-1.1.30-917y0q4m.mjs +0 -2
  556. package/dist/chunks/cli-1.1.30-92t0b3hs.mjs +0 -2
  557. package/dist/chunks/cli-1.1.30-94vhzqcd.mjs +0 -2
  558. package/dist/chunks/cli-1.1.30-9685r12p.mjs +0 -2
  559. package/dist/chunks/cli-1.1.30-9h8mm4pg.mjs +0 -2
  560. package/dist/chunks/cli-1.1.30-9m8jc7as.mjs +0 -4
  561. package/dist/chunks/cli-1.1.30-9rn8qz9x.mjs +0 -2
  562. package/dist/chunks/cli-1.1.30-9s9qp1m7.mjs +0 -2
  563. package/dist/chunks/cli-1.1.30-a1phf5vm.mjs +0 -2
  564. package/dist/chunks/cli-1.1.30-a2ww16zh.mjs +0 -2
  565. package/dist/chunks/cli-1.1.30-a2xctbvc.mjs +0 -18
  566. package/dist/chunks/cli-1.1.30-amecp2v0.mjs +0 -3
  567. package/dist/chunks/cli-1.1.30-aqvjv0jh.mjs +0 -4
  568. package/dist/chunks/cli-1.1.30-aw93z4yt.mjs +0 -2
  569. package/dist/chunks/cli-1.1.30-b1mqmct7.mjs +0 -4
  570. package/dist/chunks/cli-1.1.30-bfqnz691.mjs +0 -2
  571. package/dist/chunks/cli-1.1.30-bgrp9j3q.mjs +0 -2
  572. package/dist/chunks/cli-1.1.30-bwdw42tf.mjs +0 -24
  573. package/dist/chunks/cli-1.1.30-bzjamz5p.mjs +0 -2
  574. package/dist/chunks/cli-1.1.30-c0b5kmhr.mjs +0 -2
  575. package/dist/chunks/cli-1.1.30-c2e2yeaj.mjs +0 -2
  576. package/dist/chunks/cli-1.1.30-c44kpd39.mjs +0 -2
  577. package/dist/chunks/cli-1.1.30-c70p43p6.mjs +0 -133
  578. package/dist/chunks/cli-1.1.30-c9xtenrd.mjs +0 -2
  579. package/dist/chunks/cli-1.1.30-ca1a9ntm.mjs +0 -2
  580. package/dist/chunks/cli-1.1.30-cb34mrvh.mjs +0 -2
  581. package/dist/chunks/cli-1.1.30-cgcdnarw.mjs +0 -2
  582. package/dist/chunks/cli-1.1.30-cjetc80p.mjs +0 -2
  583. package/dist/chunks/cli-1.1.30-cwc68erm.mjs +0 -2
  584. package/dist/chunks/cli-1.1.30-d3n6dp6r.mjs +0 -2
  585. package/dist/chunks/cli-1.1.30-d8chymja.mjs +0 -2
  586. package/dist/chunks/cli-1.1.30-d9sphwgb.mjs +0 -3
  587. package/dist/chunks/cli-1.1.30-dbbhdfn1.mjs +0 -2
  588. package/dist/chunks/cli-1.1.30-dv38qw87.mjs +0 -3
  589. package/dist/chunks/cli-1.1.30-dy1jvt4f.mjs +0 -2
  590. package/dist/chunks/cli-1.1.30-e0fcx44n.mjs +0 -2
  591. package/dist/chunks/cli-1.1.30-e15hq24m.mjs +0 -2
  592. package/dist/chunks/cli-1.1.30-eg5krttf.mjs +0 -2
  593. package/dist/chunks/cli-1.1.30-ehk76t59.mjs +0 -2
  594. package/dist/chunks/cli-1.1.30-em031y3s.mjs +0 -2
  595. package/dist/chunks/cli-1.1.30-endh0hmx.mjs +0 -2
  596. package/dist/chunks/cli-1.1.30-ensp6hjk.mjs +0 -2
  597. package/dist/chunks/cli-1.1.30-erqva8zn.mjs +0 -2
  598. package/dist/chunks/cli-1.1.30-etnn22zf.mjs +0 -2
  599. package/dist/chunks/cli-1.1.30-f6tarbyn.mjs +0 -2
  600. package/dist/chunks/cli-1.1.30-f8qnd0hw.mjs +0 -20
  601. package/dist/chunks/cli-1.1.30-f9cckkn6.mjs +0 -7
  602. package/dist/chunks/cli-1.1.30-f9tp1b8r.mjs +0 -6
  603. package/dist/chunks/cli-1.1.30-fa5djn9v.mjs +0 -2
  604. package/dist/chunks/cli-1.1.30-facztg9n.mjs +0 -133
  605. package/dist/chunks/cli-1.1.30-fct5wt67.mjs +0 -2
  606. package/dist/chunks/cli-1.1.30-fm4mj7wy.mjs +0 -2
  607. package/dist/chunks/cli-1.1.30-fpa799y4.mjs +0 -3
  608. package/dist/chunks/cli-1.1.30-fzan6qjf.mjs +0 -2
  609. package/dist/chunks/cli-1.1.30-g17zgmea.mjs +0 -3
  610. package/dist/chunks/cli-1.1.30-g3qd3ec3.mjs +0 -2
  611. package/dist/chunks/cli-1.1.30-g4c9mx6r.mjs +0 -2
  612. package/dist/chunks/cli-1.1.30-g9qsgq1r.mjs +0 -2
  613. package/dist/chunks/cli-1.1.30-gdmbygdz.mjs +0 -2
  614. package/dist/chunks/cli-1.1.30-gev0f31f.mjs +0 -24
  615. package/dist/chunks/cli-1.1.30-gk8x7f6m.mjs +0 -2
  616. package/dist/chunks/cli-1.1.30-gncy6j5b.mjs +0 -2
  617. package/dist/chunks/cli-1.1.30-gv4z21b9.mjs +0 -4
  618. package/dist/chunks/cli-1.1.30-gvp1pabq.mjs +0 -2
  619. package/dist/chunks/cli-1.1.30-h5yj1axw.mjs +0 -6
  620. package/dist/chunks/cli-1.1.30-h9pfkdf2.mjs +0 -2
  621. package/dist/chunks/cli-1.1.30-ha9qd4n4.mjs +0 -2
  622. package/dist/chunks/cli-1.1.30-he73pyqy.mjs +0 -2
  623. package/dist/chunks/cli-1.1.30-hncb22wm.mjs +0 -2
  624. package/dist/chunks/cli-1.1.30-hxy861gq.mjs +0 -2
  625. package/dist/chunks/cli-1.1.30-j29r8pgr.mjs +0 -4
  626. package/dist/chunks/cli-1.1.30-j2wahkcp.mjs +0 -6
  627. package/dist/chunks/cli-1.1.30-j46p2me4.mjs +0 -3
  628. package/dist/chunks/cli-1.1.30-jb34rbbt.mjs +0 -7
  629. package/dist/chunks/cli-1.1.30-jevxd0jk.mjs +0 -2
  630. package/dist/chunks/cli-1.1.30-jgxnrbme.mjs +0 -2
  631. package/dist/chunks/cli-1.1.30-jvqc1jfc.mjs +0 -2
  632. package/dist/chunks/cli-1.1.30-jyvb3jrk.mjs +0 -3
  633. package/dist/chunks/cli-1.1.30-kx2svwf6.mjs +0 -2
  634. package/dist/chunks/cli-1.1.30-kzbhw1mf.mjs +0 -2
  635. package/dist/chunks/cli-1.1.30-m5fx6y02.mjs +0 -2
  636. package/dist/chunks/cli-1.1.30-m5ta5zwh.mjs +0 -2
  637. package/dist/chunks/cli-1.1.30-m62yy9h8.mjs +0 -2
  638. package/dist/chunks/cli-1.1.30-mebteknr.mjs +0 -206
  639. package/dist/chunks/cli-1.1.30-mef66hvr.mjs +0 -10
  640. package/dist/chunks/cli-1.1.30-mgj06132.mjs +0 -2
  641. package/dist/chunks/cli-1.1.30-mpmg84pk.mjs +0 -3
  642. package/dist/chunks/cli-1.1.30-mz5a585j.mjs +0 -9
  643. package/dist/chunks/cli-1.1.30-n306djbd.mjs +0 -2
  644. package/dist/chunks/cli-1.1.30-naaxghkh.mjs +0 -2
  645. package/dist/chunks/cli-1.1.30-nhfsct38.mjs +0 -2
  646. package/dist/chunks/cli-1.1.30-p3m6d618.mjs +0 -2
  647. package/dist/chunks/cli-1.1.30-p63h2njx.mjs +0 -42
  648. package/dist/chunks/cli-1.1.30-p6bsj13y.mjs +0 -2
  649. package/dist/chunks/cli-1.1.30-pc2wp50b.mjs +0 -5504
  650. package/dist/chunks/cli-1.1.30-pc6nevmd.mjs +0 -2
  651. package/dist/chunks/cli-1.1.30-pez1sh7w.mjs +0 -2
  652. package/dist/chunks/cli-1.1.30-pg6jbgcq.mjs +0 -12
  653. package/dist/chunks/cli-1.1.30-pgx35gqd.mjs +0 -2
  654. package/dist/chunks/cli-1.1.30-pw08jvvr.mjs +0 -3
  655. package/dist/chunks/cli-1.1.30-pzp496y6.mjs +0 -2
  656. package/dist/chunks/cli-1.1.30-q00wdmf9.mjs +0 -2
  657. package/dist/chunks/cli-1.1.30-q51sf5gk.mjs +0 -2
  658. package/dist/chunks/cli-1.1.30-q8sd13v9.mjs +0 -2
  659. package/dist/chunks/cli-1.1.30-q8xgmv1x.mjs +0 -39
  660. package/dist/chunks/cli-1.1.30-qcwzchrc.mjs +0 -2
  661. package/dist/chunks/cli-1.1.30-qdnzwgr7.mjs +0 -2
  662. package/dist/chunks/cli-1.1.30-qjdmnkfj.mjs +0 -2
  663. package/dist/chunks/cli-1.1.30-qm4vn98q.mjs +0 -2
  664. package/dist/chunks/cli-1.1.30-qn71nvqn.mjs +0 -2
  665. package/dist/chunks/cli-1.1.30-qykdr3bk.mjs +0 -2
  666. package/dist/chunks/cli-1.1.30-r4ap6bq3.mjs +0 -4
  667. package/dist/chunks/cli-1.1.30-rdbwn1xc.mjs +0 -2
  668. package/dist/chunks/cli-1.1.30-rdgv4qpw.mjs +0 -2
  669. package/dist/chunks/cli-1.1.30-s27erhy7.mjs +0 -2
  670. package/dist/chunks/cli-1.1.30-s2b0zbj0.mjs +0 -1
  671. package/dist/chunks/cli-1.1.30-s7f7x42j.mjs +0 -2
  672. package/dist/chunks/cli-1.1.30-sdxgwxfm.mjs +0 -2
  673. package/dist/chunks/cli-1.1.30-sgm7bcet.mjs +0 -58
  674. package/dist/chunks/cli-1.1.30-sr3wnzt7.mjs +0 -17
  675. package/dist/chunks/cli-1.1.30-syea4bx7.mjs +0 -2
  676. package/dist/chunks/cli-1.1.30-t27wxks6.mjs +0 -6
  677. package/dist/chunks/cli-1.1.30-tc8vq728.mjs +0 -15
  678. package/dist/chunks/cli-1.1.30-tcz89gqa.mjs +0 -2
  679. package/dist/chunks/cli-1.1.30-tt85hxby.mjs +0 -25
  680. package/dist/chunks/cli-1.1.30-ty0pw373.mjs +0 -24
  681. package/dist/chunks/cli-1.1.30-vcexen3n.mjs +0 -2
  682. package/dist/chunks/cli-1.1.30-vda14n5e.mjs +0 -2
  683. package/dist/chunks/cli-1.1.30-vf6wrqmh.mjs +0 -2
  684. package/dist/chunks/cli-1.1.30-vhh5kt6v.mjs +0 -2
  685. package/dist/chunks/cli-1.1.30-vrgnzjd2.mjs +0 -2
  686. package/dist/chunks/cli-1.1.30-w9wdamqc.mjs +0 -34
  687. package/dist/chunks/cli-1.1.30-wfs29rd9.mjs +0 -12
  688. package/dist/chunks/cli-1.1.30-wgmdrp34.mjs +0 -2
  689. package/dist/chunks/cli-1.1.30-wjx6yhry.mjs +0 -2
  690. package/dist/chunks/cli-1.1.30-wmpgbhw0.mjs +0 -16
  691. package/dist/chunks/cli-1.1.30-x76str7r.mjs +0 -3
  692. package/dist/chunks/cli-1.1.30-x8wzmxay.mjs +0 -2
  693. package/dist/chunks/cli-1.1.30-x960htw5.mjs +0 -2
  694. package/dist/chunks/cli-1.1.30-xhk0n48x.mjs +0 -2
  695. package/dist/chunks/cli-1.1.30-xqb55m51.mjs +0 -2
  696. package/dist/chunks/cli-1.1.30-xrrzhx6s.mjs +0 -5
  697. package/dist/chunks/cli-1.1.30-xxvagrpc.mjs +0 -2
  698. package/dist/chunks/cli-1.1.30-y1pn2vb5.mjs +0 -2
  699. package/dist/chunks/cli-1.1.30-ycv7a9hg.mjs +0 -2
  700. package/dist/chunks/cli-1.1.30-ygdwz4ed.mjs +0 -4
  701. package/dist/chunks/cli-1.1.30-yt59tc1t.mjs +0 -2
  702. package/dist/chunks/cli-1.1.30-yw5qpt76.mjs +0 -2
  703. package/dist/chunks/cli-1.1.30-yy92v8yq.mjs +0 -63
  704. package/dist/chunks/cli-1.1.30-z1e7k65a.mjs +0 -5
  705. package/dist/chunks/cli-1.1.30-z9xfs5zq.mjs +0 -2
  706. package/dist/chunks/cli-1.1.30-zfz29t3v.mjs +0 -3
  707. package/dist/chunks/cli-1.1.30-zj3nk96z.mjs +0 -2
  708. package/dist/chunks/cli-1.1.30-zm2e2zvb.mjs +0 -2
  709. package/dist/chunks/cli-1.1.30-zpss0nht.mjs +0 -3
  710. package/dist/chunks/cli-1.1.30-zxkfqcvj.mjs +0 -2
  711. package/dist/chunks/cli-1.1.30-zych8w4z.mjs +0 -45
  712. package/dist/chunks/client-1.1.30-6xd07jrd.mjs +0 -1
  713. package/dist/chunks/color-1.1.30-yhxh49s0.mjs +0 -1
  714. package/dist/chunks/compact-1.1.30-wxxb111z.mjs +0 -3
  715. package/dist/chunks/config-1.1.30-4gdp5w7v.mjs +0 -1
  716. package/dist/chunks/config-1.1.30-s02sv9vf.mjs +0 -1
  717. package/dist/chunks/constants-1.1.30-g1xm727k.mjs +0 -1
  718. package/dist/chunks/context-1.1.30-pepgc836.mjs +0 -1
  719. package/dist/chunks/context-noninteractive-1.1.30-ahdmm09h.mjs +0 -1
  720. package/dist/chunks/conversation-1.1.30-93marv3a.mjs +0 -1
  721. package/dist/chunks/copilotHeaders-1.1.30-ypx3j03s.mjs +0 -1
  722. package/dist/chunks/copy-1.1.30-bsfx33za.mjs +0 -9
  723. package/dist/chunks/cost-1.1.30-rhgx2a0h.mjs +0 -1
  724. package/dist/chunks/createSSHSession-1.1.30-p5qve4c1.mjs +0 -1
  725. package/dist/chunks/createSession-1.1.30-rwvvv9na.mjs +0 -1
  726. package/dist/chunks/debug-1.1.30-j1zw0q5b.mjs +0 -1
  727. package/dist/chunks/defaultActionDeps-1.1.30-5gkcnqp5.mjs +0 -1481
  728. package/dist/chunks/desktop-1.1.30-rwbfgek7.mjs +0 -1
  729. package/dist/chunks/detectRepository-1.1.30-2xwvggy6.mjs +0 -1
  730. package/dist/chunks/detection-1.1.30-kkar89w6.mjs +0 -1
  731. package/dist/chunks/diff-1.1.30-t1r0x9g4.mjs +0 -1
  732. package/dist/chunks/doctor-1.1.30-cvqts45f.mjs +0 -1
  733. package/dist/chunks/doctorDiagnostic-1.1.30-smg0046q.mjs +0 -1
  734. package/dist/chunks/earlyInput-1.1.30-cpx4e858.mjs +0 -1
  735. package/dist/chunks/effort-1.1.30-jdxyeqz7.mjs +0 -13
  736. package/dist/chunks/engine-1.1.30-8qhtasfe.mjs +0 -1
  737. package/dist/chunks/envLessBridgeConfig-1.1.30-jnz4sy6x.mjs +0 -1
  738. package/dist/chunks/envUtils-1.1.30-y5dyaydm.mjs +0 -1
  739. package/dist/chunks/environmentSelection-1.1.30-w1z47qad.mjs +0 -1
  740. package/dist/chunks/environments-1.1.30-sjscvfn9.mjs +0 -1
  741. package/dist/chunks/errors-1.1.30-7cmbc98j.mjs +0 -1
  742. package/dist/chunks/exampleCommands-1.1.30-jx9hvt2q.mjs +0 -1
  743. package/dist/chunks/execFileNoThrow-1.1.30-dqrsra7k.mjs +0 -1
  744. package/dist/chunks/exit-1.1.30-m2yzbcth.mjs +0 -1
  745. package/dist/chunks/explorer-1.1.30-5tat30es.mjs +0 -1
  746. package/dist/chunks/export-1.1.30-545a0v8x.mjs +0 -2
  747. package/dist/chunks/extra-usage-1.1.30-5k9b4t6b.mjs +0 -1
  748. package/dist/chunks/extra-usage-noninteractive-1.1.30-h5fqbtg3.mjs +0 -1
  749. package/dist/chunks/fast-1.1.30-91wr1vy4.mjs +0 -1
  750. package/dist/chunks/feedback-1.1.30-36xrb399.mjs +0 -14
  751. package/dist/chunks/firstPartyEventLogger-1.1.30-be1ke8r3.mjs +0 -1
  752. package/dist/chunks/git-1.1.30-sxa8xf85.mjs +0 -1
  753. package/dist/chunks/githubModelsCredentials-1.1.30-m7a8kdwg.mjs +0 -1
  754. package/dist/chunks/goal-1.1.30-71sj2735.mjs +0 -4
  755. package/dist/chunks/growthbook-1.1.30-rx44zvrq.mjs +0 -1
  756. package/dist/chunks/headless-1.1.30-h98t9mfb.mjs +0 -2
  757. package/dist/chunks/heapdump-1.1.30-82m1rvjw.mjs +0 -6
  758. package/dist/chunks/help-1.1.30-vnsg1001.mjs +0 -1
  759. package/dist/chunks/hookChains-1.1.30-tc5ff3xr.mjs +0 -3
  760. package/dist/chunks/hooks-1.1.30-2sctf45c.mjs +0 -79
  761. package/dist/chunks/hooks-1.1.30-707b390t.mjs +0 -1
  762. package/dist/chunks/ide-1.1.30-e8neepsj.mjs +0 -3
  763. package/dist/chunks/image-processor-napi-1.1.30-gcqgfeec.mjs +0 -1
  764. package/dist/chunks/import-1.1.30-g0p9rj63.mjs +0 -261
  765. package/dist/chunks/inboundAttachments-1.1.30-a5p4ftqg.mjs +0 -1
  766. package/dist/chunks/index-1.1.30-00d73fwg.mjs +0 -1
  767. package/dist/chunks/index-1.1.30-0sdck5q1.mjs +0 -9
  768. package/dist/chunks/index-1.1.30-38597fv3.mjs +0 -5
  769. package/dist/chunks/index-1.1.30-3z58evcj.mjs +0 -1
  770. package/dist/chunks/index-1.1.30-5k081eyt.mjs +0 -1
  771. package/dist/chunks/index-1.1.30-8n15b4e3.mjs +0 -2
  772. package/dist/chunks/index-1.1.30-9nx8fm72.mjs +0 -1
  773. package/dist/chunks/index-1.1.30-9zfyk995.mjs +0 -23
  774. package/dist/chunks/index-1.1.30-ba27qy75.mjs +0 -1
  775. package/dist/chunks/index-1.1.30-cddndqaa.mjs +0 -1
  776. package/dist/chunks/index-1.1.30-cnbcr7zp.mjs +0 -1
  777. package/dist/chunks/index-1.1.30-f65yg5kz.mjs +0 -9
  778. package/dist/chunks/index-1.1.30-fwvhky1a.mjs +0 -1
  779. package/dist/chunks/index-1.1.30-hmnpjmd5.mjs +0 -1
  780. package/dist/chunks/index-1.1.30-nemv1gaj.mjs +0 -1
  781. package/dist/chunks/index-1.1.30-pnpy7v0s.mjs +0 -1
  782. package/dist/chunks/index-1.1.30-q4x054c8.mjs +0 -2
  783. package/dist/chunks/index-1.1.30-racdqjba.mjs +0 -1
  784. package/dist/chunks/index-1.1.30-scb66j47.mjs +0 -1
  785. package/dist/chunks/index-1.1.30-tfz6950h.mjs +0 -30
  786. package/dist/chunks/index-1.1.30-tx381qq5.mjs +0 -1
  787. package/dist/chunks/index-1.1.30-w4zhj1qd.mjs +0 -1
  788. package/dist/chunks/index-1.1.30-xxh224ea.mjs +0 -1
  789. package/dist/chunks/init-1.1.30-txzpz2vm.mjs +0 -1
  790. package/dist/chunks/initReplBridge-1.1.30-hkrhwfr3.mjs +0 -1
  791. package/dist/chunks/ink-1.1.30-av1t4b54.mjs +0 -1
  792. package/dist/chunks/insights-1.1.30-nbs0zndp.mjs +0 -870
  793. package/dist/chunks/install-1.1.30-kd3vnaat.mjs +0 -1
  794. package/dist/chunks/install-github-app-1.1.30-ea78ytf6.mjs +0 -149
  795. package/dist/chunks/install-slack-app-1.1.30-v2q1py01.mjs +0 -1
  796. package/dist/chunks/instrumentation-1.1.30-20686d7h.mjs +0 -1
  797. package/dist/chunks/interactiveHelpers-1.1.30-rd0zzjyp.mjs +0 -1
  798. package/dist/chunks/keybindings-1.1.30-157aap7w.mjs +0 -2
  799. package/dist/chunks/knowledge-1.1.30-4mcx1txk.mjs +0 -2
  800. package/dist/chunks/latestVersionCache-1.1.30-65qvjpys.mjs +0 -1
  801. package/dist/chunks/loadAgentsDir-1.1.30-nfrca2zv.mjs +0 -1
  802. package/dist/chunks/loadPluginHooks-1.1.30-wa8regkc.mjs +0 -1
  803. package/dist/chunks/log-1.1.30-nh81h0jz.mjs +0 -1
  804. package/dist/chunks/main-1.1.30-87zf4enf.mjs +0 -1
  805. package/dist/chunks/managedEnv-1.1.30-p38nd6r6.mjs +0 -1
  806. package/dist/chunks/mcp-1.1.30-egynhffm.mjs +0 -17
  807. package/dist/chunks/mcp-1.1.30-gaz9mgmq.mjs +0 -4
  808. package/dist/chunks/mcp-1.1.30-r6q89d8c.mjs +0 -1
  809. package/dist/chunks/mcpb-1.1.30-qxpx83j6.mjs +0 -1
  810. package/dist/chunks/memory-1.1.30-72gbfb3b.mjs +0 -77
  811. package/dist/chunks/model-1.1.30-7nsbqqvm.mjs +0 -2
  812. package/dist/chunks/model-1.1.30-f7d6dbt2.mjs +0 -1
  813. package/dist/chunks/node-1.1.30-nbnhkya6.mjs +0 -15
  814. package/dist/chunks/node-1.1.30-vaaf7x0g.mjs +0 -1
  815. package/dist/chunks/oauth-1.1.30-g201gbyg.mjs +0 -1
  816. package/dist/chunks/openaiShim-1.1.30-rz4xax1e.mjs +0 -14
  817. package/dist/chunks/output-style-1.1.30-ms4eck90.mjs +0 -1
  818. package/dist/chunks/package-D2QZMRW7-1.1.30-08c7mgpt.mjs +0 -1
  819. package/dist/chunks/parseConnectUrl-1.1.30-bd7ade4m.mjs +0 -1
  820. package/dist/chunks/parser-1.1.30-qe7n0vnw.mjs +0 -1
  821. package/dist/chunks/passes-1.1.30-3cz64bpa.mjs +0 -1
  822. package/dist/chunks/permissions-1.1.30-28z7ax7g.mjs +0 -3
  823. package/dist/chunks/permissions-1.1.30-vgtb4qf9.mjs +0 -1
  824. package/dist/chunks/plan-1.1.30-s865r5b5.mjs +0 -1
  825. package/dist/chunks/plist-1.1.30-pxa62mce.mjs +0 -1
  826. package/dist/chunks/plugin-1.1.30-6apj9sf8.mjs +0 -29
  827. package/dist/chunks/pluginStartupCheck-1.1.30-gmcab9kx.mjs +0 -1
  828. package/dist/chunks/plugins-1.1.30-40c7sagf.mjs +0 -9
  829. package/dist/chunks/preActionHook-1.1.30-q2g48qsk.mjs +0 -2
  830. package/dist/chunks/print-1.1.30-drvg0v0c.mjs +0 -57
  831. package/dist/chunks/process-1.1.30-f6y2msx6.mjs +0 -1
  832. package/dist/chunks/processBashCommand-1.1.30-5bzgcejg.mjs +0 -1
  833. package/dist/chunks/processSlashCommand-1.1.30-2bwd1kpt.mjs +0 -9
  834. package/dist/chunks/prompt-1.1.30-9rbbx5vr.mjs +0 -1
  835. package/dist/chunks/prompt-1.1.30-phmv317m.mjs +0 -1
  836. package/dist/chunks/prompts-1.1.30-1myv5ewh.mjs +0 -1
  837. package/dist/chunks/protocolHandler-1.1.30-d6jkd0dk.mjs +0 -13
  838. package/dist/chunks/provider-1.1.30-cwkzb2t8.mjs +0 -2
  839. package/dist/chunks/providerProfiles-1.1.30-qe0y7b6e.mjs +0 -1
  840. package/dist/chunks/providerValidation-1.1.30-rzg2nkx3.mjs +0 -6
  841. package/dist/chunks/rate-limit-options-1.1.30-4q04y9f7.mjs +0 -1
  842. package/dist/chunks/registerSubcommands-1.1.30-k3ar1dyg.mjs +0 -26
  843. package/dist/chunks/registry-1.1.30-epdyxcsa.mjs +0 -1
  844. package/dist/chunks/release-notes-1.1.30-k11yp5hh.mjs +0 -5
  845. package/dist/chunks/reload-plugins-1.1.30-n7qhqqr3.mjs +0 -2
  846. package/dist/chunks/remote-env-1.1.30-f8e03jpx.mjs +0 -1
  847. package/dist/chunks/remoteBridgeCore-1.1.30-fqankvvx.mjs +0 -1
  848. package/dist/chunks/remoteSession-1.1.30-fc5x1bz4.mjs +0 -1
  849. package/dist/chunks/rename-1.1.30-vw8eyfha.mjs +0 -1
  850. package/dist/chunks/replBridgeHandle-1.1.30-bagtg7fm.mjs +0 -1
  851. package/dist/chunks/replLauncher-1.1.30-318vaq80.mjs +0 -1
  852. package/dist/chunks/resume-1.1.30-jrj1wpvj.mjs +0 -2
  853. package/dist/chunks/rewind-1.1.30-z97mdn25.mjs +0 -1
  854. package/dist/chunks/rootOptions-1.1.30-ybrgmmyy.mjs +0 -1
  855. package/dist/chunks/runWorkflowHeadless-1.1.30-w3gn8w75.mjs +0 -10
  856. package/dist/chunks/sandbox-adapter-1.1.30-4rd9w5by.mjs +0 -1
  857. package/dist/chunks/sandbox-toggle-1.1.30-zmtfq25w.mjs +0 -1
  858. package/dist/chunks/session-1.1.30-sbykpbav.mjs +0 -2
  859. package/dist/chunks/sessionDiscovery-1.1.30-dd680nx7.mjs +0 -1
  860. package/dist/chunks/sessionFileAccessHooks-1.1.30-4rhdr018.mjs +0 -1
  861. package/dist/chunks/sessionStorage-1.1.30-cwb5a83p.mjs +0 -1
  862. package/dist/chunks/settings-1.1.30-xxee6nzb.mjs +0 -1
  863. package/dist/chunks/setup-1.1.30-p2wwqw6v.mjs +0 -12
  864. package/dist/chunks/sinks-1.1.30-phkc3yep.mjs +0 -1
  865. package/dist/chunks/skills-1.1.30-vsg5twx1.mjs +0 -1
  866. package/dist/chunks/startupProfiler-1.1.30-wa0xbx1z.mjs +0 -1
  867. package/dist/chunks/startupUpdateCheck-1.1.30-9cgnvwtt.mjs +0 -1
  868. package/dist/chunks/state-1.1.30-ge0kb9gr.mjs +0 -1
  869. package/dist/chunks/stats-1.1.30-n5w7ehyg.mjs +0 -1
  870. package/dist/chunks/status-1.1.30-snsvg4xb.mjs +0 -1
  871. package/dist/chunks/stickers-1.1.30-7ffpw08c.mjs +0 -1
  872. package/dist/chunks/subprocessEnv-1.1.30-5efpmhgz.mjs +0 -1
  873. package/dist/chunks/tasks-1.1.30-ykgkx7d8.mjs +0 -1
  874. package/dist/chunks/teamHelpers-1.1.30-cjjzmnj6.mjs +0 -1
  875. package/dist/chunks/teammateModeSnapshot-1.1.30-e2mh88ze.mjs +0 -1
  876. package/dist/chunks/teleport-1.1.30-9y1akw6m.mjs +0 -1
  877. package/dist/chunks/terminalSetup-1.1.30-mwbzfrfc.mjs +0 -1
  878. package/dist/chunks/theme-1.1.30-9dqykgv2.mjs +0 -1
  879. package/dist/chunks/thinkback-1.1.30-3pbzqt97.mjs +0 -1
  880. package/dist/chunks/thinkback-play-1.1.30-83akae4q.mjs +0 -1
  881. package/dist/chunks/toolPool-1.1.30-3kvrwtxa.mjs +0 -1
  882. package/dist/chunks/toolSearch-1.1.30-s60zcj4t.mjs +0 -1
  883. package/dist/chunks/tools-1.1.30-by0ddhf4.mjs +0 -1
  884. package/dist/chunks/trustedDevice-1.1.30-ecq2hfrc.mjs +0 -1
  885. package/dist/chunks/turndown.cjs-1.1.30-m5hyejns.mjs +0 -69
  886. package/dist/chunks/types-1.1.30-mrv5q877.mjs +0 -1
  887. package/dist/chunks/ultrareviewCommand-1.1.30-5etzjedp.mjs +0 -4
  888. package/dist/chunks/update-1.1.30-ax60cy72.mjs +0 -72
  889. package/dist/chunks/upgrade-1.1.30-hrny7f12.mjs +0 -1
  890. package/dist/chunks/upload-1.1.30-s0z8kw2s.mjs +0 -7
  891. package/dist/chunks/upstreamproxy-1.1.30-tkvbafsh.mjs +0 -14
  892. package/dist/chunks/url-handler-napi-1.1.30-enhczdhm.mjs +0 -1
  893. package/dist/chunks/usage-1.1.30-ew9dakf2.mjs +0 -1
  894. package/dist/chunks/util-1.1.30-knp77fm5.mjs +0 -1
  895. package/dist/chunks/utils-1.1.30-74ykpfac.mjs +0 -1
  896. package/dist/chunks/vim-1.1.30-y01vnb23.mjs +0 -1
  897. package/dist/chunks/watchLoop-1.1.30-sjecqqx4.mjs +0 -13
  898. package/dist/chunks/watcher-1.1.30-qnfq5sma.mjs +0 -1
  899. package/dist/chunks/wiki-1.1.30-qddcp6x2.mjs +0 -132
  900. package/dist/chunks/workflows-1.1.30-j5wcb76g.mjs +0 -1
  901. package/dist/chunks/worktree-1.1.30-m6gvqkc9.mjs +0 -1
  902. package/dist/chunks/worktreeModeEnabled-1.1.30-nma5ggmd.mjs +0 -1
  903. package/dist/chunks/wrapper-1.1.30-c8vm3try.mjs +0 -7
  904. /package/dist/chunks/{cli-1.1.30-vxh27fdj.mjs → cli-1.1.31-d930nxk6.mjs} +0 -0
@@ -1,2 +0,0 @@
1
- import{Mua as M}from"./cli-1.1.30-7dtpd1ra.mjs";function J(){return"prod"}function W(){if(process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL)return"-custom-oauth";switch(J()){case"local":return"-local-oauth";case"staging":return"-staging-oauth";case"prod":return""}}function $(){let k=process.env.CLAUDE_LOCAL_OAUTH_API_BASE?.replace(/\/$/,"")??"http://localhost:8000",x=process.env.CLAUDE_LOCAL_OAUTH_APPS_BASE?.replace(/\/$/,"")??"http://localhost:4000",q=process.env.CLAUDE_LOCAL_OAUTH_CONSOLE_BASE?.replace(/\/$/,"")??"http://localhost:3000";return{BASE_API_URL:k,CONSOLE_AUTHORIZE_URL:`${q}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${x}/oauth/authorize`,CLAUDE_AI_ORIGIN:x,TOKEN_URL:`${k}/v1/oauth/token`,API_KEY_URL:`${k}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${k}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${q}/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code`,CLAUDEAI_SUCCESS_URL:`${q}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${q}/oauth/code/callback`,CLIENT_ID:"22422756-60c9-4084-8eb7-27705fd5cf9a",OAUTH_FILE_SUFFIX:"-local-oauth",MCP_PROXY_URL:"http://localhost:8205",MCP_PROXY_PATH:"/v1/toolbox/shttp/mcp/{server_id}"}}function h(){let k=(()=>{switch(J()){case"local":return $();case"staging":return z;case"prod":return z}})(),x=process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL;if(x){let j=x.replace(/\/$/,"");if(!m.includes(j))throw Error("CLAUDE_CODE_CUSTOM_OAUTH_URL is not an approved endpoint.");k={...k,BASE_API_URL:j,CONSOLE_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_ORIGIN:j,TOKEN_URL:`${j}/v1/oauth/token`,API_KEY_URL:`${j}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${j}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,CLAUDEAI_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${j}/oauth/code/callback`,OAUTH_FILE_SUFFIX:"-custom-oauth"}}let q=process.env.CLAUDE_CODE_OAUTH_CLIENT_ID;if(q)k={...k,CLIENT_ID:q};return k}var Q="user:inference",K="user:profile",V="org:create_api_key",X="oauth-2025-04-20",Y,Z,y,z,G="https://claude.ai/oauth/claude-code-client-metadata",m;var w=M(()=>{Y=[V,K],Z=[K,Q,"user:sessions:claude_code","user:mcp_servers","user:file_upload"],y=Array.from(new Set([...Y,...Z])),z={BASE_API_URL:"https://api.anthropic.com",CONSOLE_AUTHORIZE_URL:"https://platform.claude.com/oauth/authorize",CLAUDE_AI_AUTHORIZE_URL:"https://claude.com/cai/oauth/authorize",CLAUDE_AI_ORIGIN:"https://claude.ai",TOKEN_URL:"https://platform.claude.com/v1/oauth/token",API_KEY_URL:"https://api.anthropic.com/api/oauth/claude_cli/create_api_key",ROLES_URL:"https://api.anthropic.com/api/oauth/claude_cli/roles",CONSOLE_SUCCESS_URL:"https://platform.claude.com/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code",CLAUDEAI_SUCCESS_URL:"https://platform.claude.com/oauth/code/success?app=claude-code",MANUAL_REDIRECT_URL:"https://platform.claude.com/oauth/code/callback",CLIENT_ID:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",OAUTH_FILE_SUFFIX:"",MCP_PROXY_URL:"https://mcp-proxy.anthropic.com",MCP_PROXY_PATH:"/v1/mcp/{server_id}"};m=["https://beacon.claude-ai.staging.ant.dev","https://claude.fedstart.com","https://claude-staging.fedstart.com"]});
2
- export{W as kla,Q as lla,K as mla,X as nla,Y as ola,Z as pla,y as qla,G as rla,h as sla,w as tla};
@@ -1,2 +0,0 @@
1
- import{Eba as I,Oaa as X,Saa as k,iba as Y}from"./cli-1.1.30-mebteknr.mjs";import{vja as $}from"./cli-1.1.30-322advqh.mjs";import{Mua as Z}from"./cli-1.1.30-7dtpd1ra.mjs";import{stat as M}from"fs/promises";import{join as Q,sep as U}from"path";async function b(J){let q=await Y(J);if(!q)return;let K=await X(q),[z,B]=await Promise.all([V(Q(q,"FETCH_HEAD")),K?V(Q(K,"FETCH_HEAD")):Promise.resolve(void 0)]);if(z&&B)return z>B?z:B;return z??B}async function V(J){try{let{mtime:q}=await M(J);return q}catch{return}}var W=Z(()=>{$();k();I()});
2
- export{b as Kb,W as Lb};
@@ -1,2 +0,0 @@
1
- import{q6 as Z}from"./cli-1.1.30-eg5krttf.mjs";import{D_ as Y,l_ as F}from"./cli-1.1.30-wmpgbhw0.mjs";import{Uga as N,Xga as B,Yia as X,qha as W,rga as V}from"./cli-1.1.30-mebteknr.mjs";import{tla as Q}from"./cli-1.1.30-c9xtenrd.mjs";import{Mua as P}from"./cli-1.1.30-7dtpd1ra.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 Aj,U as Bj,_ as Cj,k as Dj};
@@ -1,2 +0,0 @@
1
- import{$w as P,_w as I,dx as t,yq as W,zq as n}from"./cli-1.1.30-pc2wp50b.mjs";import{$5 as p,_5 as H}from"./cli-1.1.30-rdbwn1xc.mjs";import{d6 as C,f6 as i}from"./cli-1.1.30-bgrp9j3q.mjs";import{D_ as l,E9 as v,M6 as S,S6 as c,d_ as R,j_ as V}from"./cli-1.1.30-wmpgbhw0.mjs";import{Bia as k,Eia as g,Qia as D,Uga as E,Xga as X,Yia as m,qga as q,qha as O,qia as T,rga as u,sia as Y,yia as y}from"./cli-1.1.30-mebteknr.mjs";import{Aka as G,Bka as f,Cka as $,Dka as h}from"./cli-1.1.30-yy92v8yq.mjs";import{nla as Z,sla as _,tla as M}from"./cli-1.1.30-c9xtenrd.mjs";import{Ama as b,xma as x}from"./cli-1.1.30-7h45a0x6.mjs";import{Yta as Q,oua as A}from"./cli-1.1.30-gev0f31f.mjs";import{Mua as U}from"./cli-1.1.30-7dtpd1ra.mjs";async function s(){if(q())return x("[Bootstrap] Skipped: Nonessential traffic disabled"),null;if(S()!=="firstParty")return x("[Bootstrap] Skipped: 3P provider"),null;let w=v();if(!(R()?.accessToken&&V())&&!w)return x("[Bootstrap] Skipped: no usable OAuth or API key"),null;let J=`${_().BASE_API_URL}/api/claude_cli/bootstrap`;try{return await H(async()=>{let j=R()?.accessToken,z;if(j&&V())z={Authorization:`Bearer ${j}`,"anthropic-beta":Z};else if(w)z={"x-api-key":w};else return x("[Bootstrap] No auth available on retry, aborting"),null;x("[Bootstrap] Fetching");let N=await Q.get(J,{headers:{"Content-Type":"application/json","User-Agent":C(),...z},timeout:5000}),B=d().safeParse(N.data);if(!B.success)return x(`[Bootstrap] Response failed validation: ${B.error.message}`),null;return x("[Bootstrap] Fetch ok"),B.data})}catch(j){if(Q.isAxiosError(j)){let z=j.response?.status??"no-response",N=j.code??"unknown-code",B=j.config?.method?.toUpperCase()??"UNKNOWN",K=j.config?.url??"unknown-url",L=j.message??"unknown axios error";x(`[Bootstrap] Fetch failed: status=${z} code=${N} method=${B} url=${K} message=${L}`)}else{let z=j instanceof Error?j.message:String(j);x(`[Bootstrap] Fetch failed: ${z}`)}throw j}}async function a(){let w=Y();if(!w?.startsWith("openai:"))return null;let{baseUrl:F}=T(),J=await P({baseUrl:F,apiKey:k()?.apiKey});if(J===null)return x("[Bootstrap] Local OpenAI model discovery failed"),null;let j=I(F);return{clientData:X().clientDataCache??null,additionalModelOptionsScope:w,additionalModelOptions:J.map((z)=>({value:z,label:z,description:`Detected from ${j}`}))}}async function Yj(){try{let w=Y(),F=null;if(w==="firstParty"){let B=await s();if(!B)return;F={clientData:B.client_data??null,additionalModelOptions:B.additional_model_options??[],additionalModelOptionsScope:w}}else if(w?.startsWith("openai:")){if(F=await a(),!F)return}else{x("[Bootstrap] Skipped: no additional model source");return}let{clientData:J,additionalModelOptions:j,additionalModelOptionsScope:z}=F,N=X();if(W(N.clientDataCache,J)&&W(N.additionalModelOptionsCache,j)&&N.additionalModelOptionsCacheScope===z){x("[Bootstrap] Cache unchanged, skipping write");return}x("[Bootstrap] Cache updated, persisting to disk"),E((B)=>({...B,clientDataCache:J,additionalModelOptionsCache:j,additionalModelOptionsCacheScope:z}))}catch(w){D(w)}}var d;var r=U(()=>{A();n();l();f();M();O();b();p();h();m();c();u();t();i();g();y();d=$(()=>G.object({client_data:G.record(G.string(),G.unknown()).nullish(),additional_model_options:G.array(G.object({model:G.string(),name:G.string(),description:G.string()}).transform(({model:w,name:F,description:J})=>({value:w,label:F,description:J}))).nullish()}))});
2
- export{Yj as jc,r as kc};
@@ -1,2 +0,0 @@
1
- import{Kua as N}from"./cli-1.1.30-7dtpd1ra.mjs";var zt=N((J)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),Y=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),k=Symbol.for("react.consumer"),U=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),z=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),G=Symbol.for("react.activity"),K=Symbol.for("react.view_transition"),C=Symbol.iterator;function W(t){if(t===null||typeof t!=="object")return null;return t=C&&t[C]||t["@@iterator"],typeof t==="function"?t:null}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,h={};function l(t,e,r){this.props=t,this.context=e,this.refs=h,this.updater=r||w}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,r){this.props=t,this.context=e,this.refs=h,this.updater=r||w}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var m=Array.isArray;function E(){}var s={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function x(t,e,r){var n=r.ref;return{$$typeof:y,type:t,key:e,ref:n!==void 0?n:null,props:r}}function b(t,e){return x(t.type,e,t.props)}function R(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function B(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(r){return e[r]})}var d=/\/+/g;function _(t,e){return typeof t==="object"&&t!==null&&t.key!=null?B(""+t.key):e.toString(36)}function Q(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,r,n,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var i=!1;if(t===null)i=!0;else switch(u){case"bigint":case"string":case"number":i=!0;break;case"object":switch(t.$$typeof){case y:case $:i=!0;break;case S:return i=t._init,p(i(t._payload),e,r,n,o)}}if(i)return o=o(t),i=n===""?"."+_(t,0):n,m(o)?(r="",i!=null&&(r=i.replace(d,"$&/")+"/"),p(o,e,r,"",function(I){return I})):o!=null&&(R(o)&&(o=b(o,r+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+i)),e.push(o)),1;i=0;var c=n===""?".":n+":";if(m(t))for(var f=0;f<t.length;f++)n=t[f],u=c+_(n,f),i+=p(n,e,r,u,o);else if(f=W(t),typeof f==="function")for(t=f.call(t),f=0;!(n=t.next()).done;)n=n.value,u=c+_(n,f++),i+=p(n,e,r,u,o);else if(u==="object"){if(typeof t.then==="function")return p(Q(t),e,r,n,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return i}function a(t,e,r){if(t==null)return t;var n=[],o=0;return p(t,n,"","",function(u){return e.call(r,u,o++)}),n}function X(t){if(t._status===-1){var e=t._result,r=e();r.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n,r.status===void 0&&(r.status="fulfilled",r.value=n)},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n,r.status===void 0&&(r.status="rejected",r.reason=n)}),t._status===-1&&(t._status=0,t._result=r)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)};function H(t){var e=s.T,r={};r.types=e!==null?e.types:null,s.T=r;try{var n=t(),o=s.S;o!==null&&o(r,n),typeof n==="object"&&n!==null&&typeof n.then==="function"&&n.then(E,A)}catch(u){A(u)}finally{e!==null&&r.types!==null&&(e.types=r.types),s.T=e}}function j(t){var e=s.T;if(e!==null){var r=e.types;r===null?e.types=[t]:r.indexOf(t)===-1&&r.push(t)}else H(j.bind(null,t))}var Z={map:a,forEach:function(t,e,r){a(t,function(){e.apply(this,arguments)},r)},count:function(t){var e=0;return a(t,function(){e++}),e},toArray:function(t){return a(t,function(e){return e})||[]},only:function(t){if(!R(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};J.Activity=G;J.Children=Z;J.Component=l;J.Fragment=Y;J.Profiler=L;J.PureComponent=v;J.StrictMode=M;J.Suspense=q;J.ViewTransition=K;J.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s;J.__COMPILER_RUNTIME={__proto__:null,c:function(t){return s.H.useMemoCache(t)}};J.addTransitionType=j;J.cache=function(t){return function(){return t.apply(null,arguments)}};J.cacheSignal=function(){return null};J.cloneElement=function(t,e,r){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var n=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!O.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(n[u]=e[u]);var u=arguments.length-2;if(u===1)n.children=r;else if(1<u){for(var i=Array(u),c=0;c<u;c++)i[c]=arguments[c+2];n.children=i}return x(t.type,o,n)};J.createContext=function(t){return t={$$typeof:U,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:k,_context:t},t};J.createElement=function(t,e,r){var n,o={},u=null;if(e!=null)for(n in e.key!==void 0&&(u=""+e.key),e)O.call(e,n)&&n!=="key"&&n!=="__self"&&n!=="__source"&&(o[n]=e[n]);var i=arguments.length-2;if(i===1)o.children=r;else if(1<i){for(var c=Array(i),f=0;f<i;f++)c[f]=arguments[f+2];o.children=c}if(t&&t.defaultProps)for(n in i=t.defaultProps,i)o[n]===void 0&&(o[n]=i[n]);return x(t,u,o)};J.createRef=function(){return{current:null}};J.forwardRef=function(t){return{$$typeof:D,render:t}};J.isValidElement=R;J.lazy=function(t){return{$$typeof:S,_payload:{_status:-1,_result:t},_init:X}};J.memo=function(t,e){return{$$typeof:z,type:t,compare:e===void 0?null:e}};J.startTransition=H;J.unstable_useCacheRefresh=function(){return s.H.useCacheRefresh()};J.use=function(t){return s.H.use(t)};J.useActionState=function(t,e,r){return s.H.useActionState(t,e,r)};J.useCallback=function(t,e){return s.H.useCallback(t,e)};J.useContext=function(t){return s.H.useContext(t)};J.useDebugValue=function(){};J.useDeferredValue=function(t,e){return s.H.useDeferredValue(t,e)};J.useEffect=function(t,e){return s.H.useEffect(t,e)};J.useEffectEvent=function(t){return s.H.useEffectEvent(t)};J.useId=function(){return s.H.useId()};J.useImperativeHandle=function(t,e,r){return s.H.useImperativeHandle(t,e,r)};J.useInsertionEffect=function(t,e){return s.H.useInsertionEffect(t,e)};J.useLayoutEffect=function(t,e){return s.H.useLayoutEffect(t,e)};J.useMemo=function(t,e){return s.H.useMemo(t,e)};J.useOptimistic=function(t,e){return s.H.useOptimistic(t,e)};J.useReducer=function(t,e,r){return s.H.useReducer(t,e,r)};J.useRef=function(t){return s.H.useRef(t)};J.useState=function(t){return s.H.useState(t)};J.useSyncExternalStore=function(t,e,r){return s.H.useSyncExternalStore(t,e,r)};J.useTransition=function(){return s.H.useTransition()};J.version="19.3.0"});
2
- export{zt as V5};
@@ -1,2 +0,0 @@
1
- import{Hf as EG,If as iG,Of as rG}from"./cli-1.1.30-84cemtwn.mjs";import{EN as bG,NN as lG,Tx as a,UF as KG,Ux as jG,VF as mG,VN as _G,Vx as HG,WN as oG,Ws as uG,Wx as dG,eN as LG,eo as YG,fN as WG,fo as FG,gO as $G,hN as pG,jN as BG,jO as sG,jo as VG,kN as DG,nO as f,oO as s,pN as l,pO as c,qO as v,rO as i,tN as qG,to as fG,uO as u,vN as y,wN as o,xN as aG,xs as vG,yO as cG,zN as kG}from"./cli-1.1.30-pc2wp50b.mjs";import{GZ as OJ}from"./cli-1.1.30-569esepc.mjs";import{S5 as wG,U5 as PG}from"./cli-1.1.30-92t0b3hs.mjs";import{V5 as zG}from"./cli-1.1.30-cjetc80p.mjs";import{Pea as ZG,Uea as CG,Uia as R,Via as b,Yia as gG}from"./cli-1.1.30-mebteknr.mjs";import{ika as NG}from"./cli-1.1.30-d3n6dp6r.mjs";import{ula as A,xla as MG}from"./cli-1.1.30-pgx35gqd.mjs";import{Ama as SG,fma as yG,xma as XG}from"./cli-1.1.30-7h45a0x6.mjs";import{Xma as h,cna as TG}from"./cli-1.1.30-gv4z21b9.mjs";import{Vsa as QG,Woa as OG}from"./cli-1.1.30-ehk76t59.mjs";import{Iua as r,Mua as p}from"./cli-1.1.30-7dtpd1ra.mjs";var e=p(()=>{yG();NG()});function GG(X){let Z="plugin"in X?X.plugin:"no-plugin";return`${X.type}:${X.source}:${Z}`}function JG(X,Z){if(Z.length===0)return;X((k)=>{let U=new Set(k.plugins.errors.map((j)=>GG(j))),_=Z.filter((j)=>!U.has(GG(j)));if(_.length===0)return k;return{...k,plugins:{...k.plugins,errors:[...k.plugins.errors,..._]}}})}function GJ(X,Z,k,U){let _=Z==="disabled"?U??[]:U;if(_===void 0)return X;let j=new Map;for(let B of _)if(B.name!==void 0)j.set(B.name,B);let V=[],P=new Set;for(let B of X){if(!B.name?.startsWith(k)){V.push(B);continue}let w=j.get(B.name);if(w)V.push(w),P.add(B.name)}for(let B of _)if(B.name===void 0||!P.has(B.name))V.push(B);return V}function IG(X,Z=!1){let k=HG(),U=a((G)=>G.authVersion),_=a((G)=>G.mcp.pluginReconnectKey),j=jG(),V=q.useRef(new Map),P=q.useRef(new Set),B=q.useRef(null);q.useEffect(()=>{},[j]);let{addNotification:w}=KG(),RG=16,d=q.useRef([]),N=q.useRef(null),C=q.useCallback(()=>{N.current=null;let G=d.current;if(G.length===0)return;d.current=[],j((z)=>{let Y=z.mcp;for(let W of G){let{tools:Q,commands:H,resources:D,...J}=W,K=J.type==="disabled"||J.type==="failed"?H??[]:H,O=J.type==="disabled"||J.type==="failed"?D??[]:D,F=ZG(J.name),I=Y.clients.findIndex((M)=>M.name===J.name)===-1?[...Y.clients,J]:Y.clients.map((M)=>M.name===J.name?J:M),g=GJ(Y.tools,J.type,F,Q),x=K===void 0?Y.commands:[..._G(Y.commands,(M)=>kG(M,J.name)),...K],m=O===void 0?Y.resources:{...Y.resources,...O.length>0?{[J.name]:O}:EG(Y.resources,J.name)};Y={...Y,clients:I,tools:g,commands:x,resources:m}}return{...z,mcp:Y}})},[j]),$=q.useCallback((G)=>{if(d.current.push(G),N.current===null)N.current=setTimeout(C,RG)},[C]),E=q.useCallback(({client:G,tools:z,commands:Y,resources:W})=>{switch($({...G,tools:z,commands:Y,resources:W}),G.type){case"connected":{if($G(G.client,G.name,j),G.client.onclose=()=>{let Q=G.config.type??"stdio";if(u(G.name,G.config).catch(()=>{XG(`Failed to invalidate the server cache: ${G.name}`)}),y(G.name)){b(G.name,"Server is disabled, skipping automatic reconnection");return}if(Q!=="stdio"&&Q!=="sdk"){let H=JJ(Q);b(G.name,`${H} transport closed/disconnected, attempting automatic reconnection`);let D=V.current.get(G.name);if(D)clearTimeout(D),V.current.delete(G.name);(async()=>{for(let K=1;K<=T;K++){if(y(G.name)){b(G.name,"Server disabled during reconnection, stopping retry"),V.current.delete(G.name);return}$({...G,type:"pending",reconnectAttempt:K,maxReconnectAttempts:T});let O=Date.now();try{let L=await v(G.name,G.config),I=Date.now()-O;if(L.client.type==="connected"){b(G.name,`${H} reconnection successful after ${I}ms (attempt ${K})`),V.current.delete(G.name),E(L);return}if(b(G.name,`${H} reconnection attempt ${K} completed with status: ${L.client.type}`),K===T){b(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),E(L);return}}catch(L){let I=Date.now()-O;if(R(G.name,`${H} reconnection attempt ${K} failed after ${I}ms: ${L}`),K===T){b(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),$({...G,type:"failed"});return}}let F=Math.min(tG*Math.pow(2,K-1),eG);b(G.name,`Scheduling reconnection attempt ${K+1} in ${F}ms`),await new Promise((L)=>{let I=setTimeout(L,F);V.current.set(G.name,I)})}})()}else $({...G,type:"failed"})},!1)switch(Q.action){case"register":case"skip":}if(G.capabilities?.tools?.listChanged)G.client.setNotificationHandler(VG,async()=>{b(G.name,"Received tools/list_changed notification, refreshing tools");try{let Q=f.cache.get(G.name);f.cache.delete(G.name);let H=await f(G),D=H.length;if(Q)Q.then((J)=>{A("",{type:"tools",previousCount:J.length,newCount:D})},()=>{A("",{type:"tools",newCount:D})});else A("",{type:"tools",newCount:D});$({...G,tools:H})}catch(Q){R(G.name,`Failed to refresh tools after list_changed notification: ${h(Q)}`)}});if(G.capabilities?.prompts?.listChanged)G.client.setNotificationHandler(FG,async()=>{b(G.name,"Received prompts/list_changed notification, refreshing prompts"),A("",{type:"prompts"});try{c.cache.delete(G.name);let[Q,H]=await Promise.all([c(G),Promise.resolve([])]);$({...G,commands:[...Q,...H]}),nG?.()}catch(Q){R(G.name,`Failed to refresh prompts after list_changed notification: ${h(Q)}`)}});if(G.capabilities?.resources?.listChanged)G.client.setNotificationHandler(YG,async()=>{b(G.name,"Received resources/list_changed notification, refreshing resources"),A("",{type:"resources"});try{s.cache.delete(G.name);{let Q=await s(G);$({...G,resources:Q})}}catch(Q){R(G.name,`Failed to refresh resources after list_changed notification: ${h(Q)}`)}});break}case"needs-auth":case"failed":case"pending":case"disabled":break}},[$]),t=OG();q.useEffect(()=>{async function G(){let{servers:z,errors:Y}=Z?{servers:{},errors:[]}:await l(X),W={...z,...X};JG(j,Y),j((Q)=>{let{stale:H,...D}=bG(Q.mcp,W);for(let O of H){let F=V.current.get(O.name);if(F)clearTimeout(F),V.current.delete(O.name);if(O.type==="connected")O.client.onclose=void 0,u(O.name,O.config).catch(()=>{})}let J=new Set(D.clients.map((O)=>O.name)),K=Object.entries(W).filter(([O])=>!J.has(O)).map(([O,F])=>({name:O,type:y(O)?"disabled":"pending",config:F}));if(K.length===0&&H.length===0)return Q;return{...Q,mcp:{...Q.mcp,...D,clients:[...D.clients,...K]}}})}G().catch((z)=>{R("useManageMCPConnections",`Failed to initialize servers as pending: ${h(z)}`)})},[Z,X,j,t,_]),q.useEffect(()=>{let G=!1;async function z(){let Y;if(Z||qG())Y=Promise.resolve({});else WG(),Y=LG();let{servers:W,errors:Q}=Z?{servers:{},errors:[]}:await l(X,Y);if(G)return;JG(j,Q);let H={...W,...X},D=Object.fromEntries(Object.entries(H).filter(([F])=>!y(F)));i(E,D).catch((F)=>{R("useManageMcpConnections",`Failed to get MCP resources: ${h(F)}`)});let J={};if(!Z){if(J=DG(await Y).allowed,G)return;if(Object.keys(J).length>0){let{servers:F}=BG(J,H);J=F}if(Object.keys(J).length>0){j((L)=>{let I=new Set(L.mcp.clients.map((x)=>x.name)),g=Object.entries(J).filter(([x])=>!I.has(x)).map(([x,m])=>({name:x,type:y(x)?"disabled":"pending",config:m}));if(g.length===0)return L;return{...L,mcp:{...L.mcp,clients:[...L.mcp.clients,...g]}}});let F=Object.fromEntries(Object.entries(J).filter(([L])=>!y(L)));i(E,F).catch((L)=>{R("useManageMcpConnections",`Failed to get claude.ai MCP resources: ${h(L)}`)})}}let K={...H,...J},O={enterprise:0,global:0,project:0,user:0,plugin:0,claudeai:0};for(let F of Object.values(K))if(F.scope==="enterprise")O.enterprise++;else if(F.scope==="user")O.global++;else if(F.scope==="project")O.project++;else if(F.scope==="local")O.user++;else if(F.scope==="dynamic")O.plugin++;else if(F.scope==="claudeai")O.claudeai++;A("",{...O})}return z(),()=>{G=!0}},[Z,X,E,j,U,t,_]),q.useEffect(()=>{let G=V.current;return()=>{for(let z of G.values())clearTimeout(z);if(G.clear(),N.current!==null)clearTimeout(N.current),N.current=null,C()}},[C]);let AG=q.useCallback(async(G)=>{let z=k.getState().mcp.clients.find((Q)=>Q.name===G);if(!z)throw Error(`MCP server ${G} not found`);let Y=V.current.get(G);if(Y)clearTimeout(Y),V.current.delete(G);let W=await v(G,z.config);return E(W),W},[k,E]),hG=q.useCallback(async(G)=>{let z=k.getState().mcp.clients.find((W)=>W.name===G);if(!z)throw Error(`MCP server ${G} not found`);if(z.type!=="disabled"){let W=V.current.get(G);if(W)clearTimeout(W),V.current.delete(G);if(o(G,!1),z.type==="connected")await u(G,z.config);$({name:G,type:"disabled",config:z.config})}else{o(G,!0),$({name:G,type:"pending",config:z.config});let W=await v(G,z.config);E(W)}},[k,$,E]);return{reconnectMcpServer:AG,toggleMcpServer:hG}}function JJ(X){switch(X){case"http":return"HTTP";case"ws":case"ws-ide":return"WebSocket";default:return"SSE"}}var q,nG=null,T=5,tG=1000,eG=30000;var UG=p(()=>{QG();cG();fG();iG();oG();MG();aG();SG();QG();mG();dG();TG();gG();uG();rG();e();pG();sG();CG();lG();vG();q=r(zG(),1)});function lJ(){let X=S.useContext(n);if(!X)throw Error("useMcpReconnect must be used within MCPConnectionManager");return X.reconnectMcpServer}function oJ(){let X=S.useContext(n);if(!X)throw Error("useMcpToggleEnabled must be used within MCPConnectionManager");return X.toggleMcpServer}function sJ(X){let Z=xG.c(6),{children:k,dynamicMcpConfig:U,isStrictMcpConfig:_}=X,{reconnectMcpServer:j,toggleMcpServer:V}=IG(U,_),P;if(Z[0]!==j||Z[1]!==V)P={reconnectMcpServer:j,toggleMcpServer:V},Z[0]=j,Z[1]=V,Z[2]=P;else P=Z[2];let B=P,w;if(Z[3]!==k||Z[4]!==B)w=wG(n.Provider,{value:B,children:k}),Z[3]=k,Z[4]=B,Z[5]=w;else w=Z[5];return w}var xG,S,n;var QJ=p(()=>{UG();PG();xG=r(OJ(),1),S=r(zG(),1),n=S.createContext(null)});
2
- export{e as Cf,lJ as Df,oJ as Ef,sJ as Ff,QJ as Gf};
@@ -1,2 +0,0 @@
1
- import{Mua as C}from"./cli-1.1.30-7dtpd1ra.mjs";import E from"node:fs";import G from"node:path";import H from"node:os";function A(){if(q!==void 0)return;try{let b=process.env.CLAUDE_FEATURE_FLAGS_FILE||G.join(H.homedir(),".claudin","feature-flags.json"),j=JSON.parse(E.readFileSync(b,"utf-8"));q=j&&typeof j==="object"&&!Array.isArray(j)?j:null}catch{q=null}}function x(b,j){if(A(),q!=null&&Object.hasOwn(q,b))return q[b];if(Object.hasOwn(z,b))return z[b];return j}function O(){return I}function Q(){return!1}function R(){return A(),q||{}}function S(){return{}}function T(){}function U(){}function W(){return}async function Y(b,j){return x(b,j)}function Z(b,j){return x(b,j)}function $(b,j){return x(b,j)}function v(b){return Boolean(x(b,!1))}async function w(b){return!1}async function P(b){return Boolean(x(b,!1))}function B(){}function D(){q=void 0}async function h(){q=void 0}function N(){}function m(){}async function c(b,j){return x(b,j)}function F(b,j){return x(b,j)}var q=void 0,z,I=()=>{},X=async()=>null;var J=C(()=>{z={tengu_sedge_lantern:!0,tengu_passport_quail:!0,tengu_coral_fern:!0,tengu_bramble_lintel:15,tengu_glacier_2xr:!0}});
2
- export{O as Pja,Q as Qja,R as Rja,S as Sja,T as Tja,U as Uja,W as Vja,X as Wja,Y as Xja,Z as Yja,$ as Zja,v as _ja,w as $ja,P as aka,B as bka,D as cka,h as dka,N as eka,m as fka,c as gka,F as hka,J as ika};
@@ -1,2 +0,0 @@
1
- import{$o as j,FG as I,MG as _,_o as T}from"./cli-1.1.30-pc2wp50b.mjs";import{$0 as C,B1 as g,GZ as S,V0 as P,X0 as J}from"./cli-1.1.30-569esepc.mjs";import{S5 as G,T5 as H,U5 as R}from"./cli-1.1.30-92t0b3hs.mjs";import{V5 as v}from"./cli-1.1.30-cjetc80p.mjs";import{cha as B,qha as h}from"./cli-1.1.30-mebteknr.mjs";import{ula as W,xla as D}from"./cli-1.1.30-pgx35gqd.mjs";import{Iua as f,Mua as p}from"./cli-1.1.30-7dtpd1ra.mjs";function l(q){let b=E.c(18),{onDone:X,isStandaloneDialog:L,externalIncludes:F}=q,K;if(b[0]===Symbol.for("react.memo_cache_sentinel"))K=[],b[0]=K;else K=b[0];m.default.useEffect(i,K);let M;if(b[1]!==X)M=(y)=>{if(y==="no")W("",{}),B(x);else W("",{}),B(d);X()},b[1]=X,b[2]=M;else M=b[2];let w=M,N;if(b[3]!==w)N=()=>{w("no")},b[3]=w,b[4]=N;else N=b[4];let Y=N,Z=!L,k=!L,O;if(b[5]===Symbol.for("react.memo_cache_sentinel"))O=G(J,{children:"This project's CLAUDE.md imports files outside the current working directory. Never allow this for third-party repositories."}),b[5]=O;else O=b[5];let z;if(b[6]!==F)z=F&&F.length>0&&H(P,{flexDirection:"column",children:[G(J,{dimColor:!0,children:"External imports:"}),F.map(u)]}),b[6]=F,b[7]=z;else z=b[7];let Q;if(b[8]===Symbol.for("react.memo_cache_sentinel"))Q=H(J,{dimColor:!0,children:["Important: Only use Claudin with files you trust. Accessing untrusted files may pose security risks"," ",G(C,{url:"https://code.claude.com/docs/en/security"})," "]}),b[8]=Q;else Q=b[8];let U;if(b[9]===Symbol.for("react.memo_cache_sentinel"))U=[{label:"Yes, allow external imports",value:"yes"},{label:"No, disable external imports",value:"no"}],b[9]=U;else U=b[9];let A;if(b[10]!==w)A=G(I,{options:U,onChange:(y)=>w(y)}),b[10]=w,b[11]=A;else A=b[11];let V;if(b[12]!==Y||b[13]!==A||b[14]!==Z||b[15]!==k||b[16]!==z)V=H(T,{title:"Allow external CLAUDE.md file imports?",color:"warning",onCancel:Y,hideBorder:Z,hideInputGuide:k,children:[O,z,Q,A]}),b[12]=Y,b[13]=A,b[14]=Z,b[15]=k,b[16]=z,b[17]=V;else V=b[17];return V}function u(q,b){return H(J,{dimColor:!0,children:[" ",q.path]},b)}function d(q){return{...q,hasClaudeMdExternalIncludesApproved:!0,hasClaudeMdExternalIncludesWarningShown:!0}}function x(q){return{...q,hasClaudeMdExternalIncludesApproved:!1,hasClaudeMdExternalIncludesWarningShown:!0}}function i(){W("",{})}var E,m;var r=p(()=>{D();g();h();_();j();R();E=f(S(),1),m=f(v(),1)});
2
- export{l as Wh,r as Xh};
@@ -1,3 +0,0 @@
1
- import{B1 as o,GZ as t,PZ as p,T0 as j,U0 as s,V0 as F,X0 as V}from"./cli-1.1.30-569esepc.mjs";import{S5 as w,T5 as g,U5 as y}from"./cli-1.1.30-92t0b3hs.mjs";import{paa as $,qaa as a,vaa as _,waa as n}from"./cli-1.1.30-mebteknr.mjs";import{Iua as i,Mua as v}from"./cli-1.1.30-7dtpd1ra.mjs";function l(J,q,M,G){return G=typeof G=="function"?G:void 0,J==null?J:_(J,q,M,G)}var b;var f=v(()=>{n();b=l});function x(J,q={}){let{showValues:M=!0,hideFunctions:G=!1,themeName:W="dark",treeCharColors:Q={}}=q,X=[],I=new WeakSet;function Z(Y,D){if(!D)return Y;return j(D,W)(Y)}function N(Y,D,S,A=0){if(typeof Y==="string"){X.push(D+Z(Y,Q.value));return}if(typeof Y!=="object"||Y===null){if(M){let H=String(Y);X.push(D+Z(H,Q.value))}return}if(I.has(Y)){X.push(D+Z("[Circular]",Q.value));return}I.add(Y);let L=Object.keys(Y).filter((H)=>{let E=Y[H];if(G&&typeof E==="function")return!1;return!0});L.forEach((H,E)=>{let U=Y[H],P=E===L.length-1,T=A===0&&E===0?"":D,u=P?R.lastBranch:R.branch,d=Z(u,Q.treeChar),C=H.trim()===""?"":Z(H,Q.key),B=T+d+(C?" "+C:""),z=H.trim()!=="";if(U&&typeof U==="object"&&I.has(U)){let K=Z("[Circular]",Q.value);X.push(B+(z?": ":B?" ":"")+K)}else if(U&&typeof U==="object"&&!Array.isArray(U)){X.push(B);let K=P?R.empty:R.line,k=Z(K,Q.treeChar),c=T+k+" ";N(U,c,P,A+1)}else if(Array.isArray(U))X.push(B+(z?": ":B?" ":"")+"[Array("+U.length+")]");else if(M){let K=typeof U==="function"?"[Function]":String(U),k=Z(K,Q.value);B+=(z?": ":B?" ":"")+k,X.push(B)}else X.push(B)})}let O=Object.keys(J);if(O.length===0)return Z("(empty)",Q.value);if(O.length===1&&O[0]!==void 0&&O[0].trim()===""&&typeof J[O[0]]==="string"){let Y=O[0],D=Z(R.lastBranch,Q.treeChar),S=Z(J[Y],Q.value);return D+" "+S}return N(J,"",!0),X.join(`
2
- `)}var R;var m=v(()=>{a();s();R={branch:$.lineUpDownRight,lastBranch:$.lineUpRight,line:$.lineVertical,empty:" "}});function r(J){let q={};return J.forEach((M)=>{if(!M.path){q[""]=M.message;return}let G=M.path.split("."),W=M.path;if(M.invalidValue!==null&&M.invalidValue!==void 0&&G.length>0){let Q=[];for(let X=0;X<G.length;X++){let I=G[X];if(!I)continue;let Z=parseInt(I,10);if(!isNaN(Z)&&X===G.length-1){let N;if(typeof M.invalidValue==="string")N=`"${M.invalidValue}"`;else if(M.invalidValue===null)N="null";else if(M.invalidValue===void 0)N="undefined";else N=String(M.invalidValue);Q.push(N)}else Q.push(I)}W=Q.join(".")}b(q,W,M.message,Object)}),q}function Hq(J){let q=h.c(9),{errors:M}=J,[G]=p();if(M.length===0)return null;let W,Q,X;if(q[0]!==M||q[1]!==G){let Z=M.reduce(Jq,{}),N=Object.keys(Z).sort();W=F,Q="column",X=N.map((O)=>{let Y=Z[O]||[];Y.sort(qq);let D=r(Y),S=new Map;Y.forEach((L)=>{if(L.suggestion||L.docLink){let H=`${L.suggestion||""}|${L.docLink||""}`;if(!S.has(H))S.set(H,{suggestion:L.suggestion,docLink:L.docLink})}});let A=x(D,{showValues:!0,themeName:G,treeCharColors:{treeChar:"inactive",key:"text",value:"inactive"}});return g(F,{flexDirection:"column",children:[w(V,{children:O}),w(F,{marginLeft:1,children:w(V,{dimColor:!0,children:A})}),S.size>0&&w(F,{flexDirection:"column",marginTop:1,children:Array.from(S.values()).map(e)})]},O)}),q[0]=M,q[1]=G,q[2]=W,q[3]=Q,q[4]=X}else W=q[2],Q=q[3],X=q[4];let I;if(q[5]!==W||q[6]!==Q||q[7]!==X)I=w(W,{flexDirection:Q,children:X}),q[5]=W,q[6]=Q,q[7]=X,q[8]=I;else I=q[8];return I}function e(J,q){return g(F,{flexDirection:"column",marginBottom:1,children:[J.suggestion&&w(V,{dimColor:!0,wrap:"wrap",children:J.suggestion}),J.docLink&&g(V,{dimColor:!0,wrap:"wrap",children:["Learn more: ",J.docLink]})]},`suggestion-pair-${q}`)}function qq(J,q){if(!J.path&&q.path)return-1;if(J.path&&!q.path)return 1;return(J.path||"").localeCompare(q.path||"")}function Jq(J,q){let M=q.file||"(file not specified)";if(!J[M])J[M]=[];return J[M].push(q),J}var h;var Mq=v(()=>{f();o();m();y();h=i(t(),1)});
3
- export{Hq as Rg,Mq as Sg};
@@ -1,2 +0,0 @@
1
- import{Wb as d}from"./cli-1.1.30-fa5djn9v.mjs";import{AF as Jj,AU as Xj,Bz as w,Cm as P,Cz as C,Dm as R,Ek as O,Fn as E,Gk as o,Gn as e,Hz as Bj,It as h,JT as c,Kt as qj,QK as f,QT as p,RT as X,Xm as s,cF as Hj,cU as Vj,cv as k,fv as V,in as y,ll as $,lv as zj,ml as n,nD as I,nU as F,nn as t,oD as Gj,ul as v,vl as r,wT as m,xT as S,yT as A,zF as D,zS as Qj}from"./cli-1.1.30-pc2wp50b.mjs";import{aW as W,pW as jj}from"./cli-1.1.30-ycv7a9hg.mjs";import{IX as x,LX as Kj}from"./cli-1.1.30-ty0pw373.mjs";import{N8 as T,U8 as u}from"./cli-1.1.30-wmpgbhw0.mjs";import{Gka as Z,Ika as i}from"./cli-1.1.30-1ybfyckn.mjs";import{Ama as l,xma as b}from"./cli-1.1.30-7h45a0x6.mjs";import{Vsa as g,Woa as U,Zoa as _,cpa as Y,hqa as M,jqa as N,psa as K}from"./cli-1.1.30-ehk76t59.mjs";g();e();Bj();zj();r();o();import{dirname as Yj}from"path";Xj();Hj();Kj();i();l();qj();Qj();u();t();n();Gj();Vj();jj();Jj();s();function Zj(j){for(let q=j.length-1;q>=0;q--){let B=j[q];if(B?.type!=="assistant")continue;let z=B.message.content.find((J)=>J.type==="tool_use"&&J.name===v);if(!z||z.type!=="tool_use")continue;let G=z.input;if(G===null||typeof G!=="object")return[];let H=D().safeParse(G.todos);return H.success?H.data:[]}return[]}function aj(j,q){if(j.fileHistorySnapshots&&j.fileHistorySnapshots.length>0)h(j.fileHistorySnapshots,(B)=>{q((z)=>({...z,fileHistory:B}))});if(!W()&&j.messages&&j.messages.length>0){let B=Zj(j.messages);if(B.length>0){let z=U();q((G)=>({...G,todos:{...G.todos,[z]:B}}))}}}function $j(j){return}function Pj(j,q){if(!j&&!q)return;return{name:j??"",color:q==="default"?void 0:q}}function Rj(j,q,B){if(q)return{agentDefinition:q,agentType:void 0};if(!j)return K(void 0),{agentDefinition:void 0,agentType:void 0};let z=B.activeAgents.find((G)=>G.agentType===j);if(!z)return b(`Resumed session had agent "${j}" but it is no longer available. Using default behavior.`),K(void 0),{agentDefinition:void 0,agentType:void 0};if(K(z.agentType),!M()&&z.model&&z.model!=="inherit")N(T(z.model));return{agentDefinition:z,agentType:z.agentType}}async function yj(j,q,B,z){if(!j)return z;V.cache.clear?.();let G=await V(q),H=[...G.allAgents,...B];return{...G,allAgents:H,activeAgents:k(H)}}function Ej(j){let q=P();if(q){X(q);return}if(!j)return;try{process.chdir(j.worktreePath)}catch{X(null);return}I(j.worktreePath),Y(Z()),R(j),F(),E(),y.cache.clear?.(),$()}function gj(){let j=P();if(!j)return;R(null),F(),E(),y.cache.clear?.(),$();try{process.chdir(j.originalCwd)}catch{return}I(j.originalCwd),Y(Z())}async function lj(j,q,B){let z;if(z=B.modeApi?.matchSessionMode(j.mode),z)j.messages.push(f(z,"warning"));if(!q.forkSession){let Q=q.sessionIdOverride??j.sessionId;if(Q){if(_(O(Q),q.transcriptPath?Yj(q.transcriptPath):null),await d(),await S(),!w(Q))C(j.messages)}}else if(j.contentReplacements?.length)await m(j.contentReplacements);if(c(q.forkSession?{...j,worktreeSession:void 0}:j),!q.forkSession)Ej(j.worktreeSession),A();let{agentDefinition:G,agentType:H}=Rj(j.agentSetting,B.mainThreadAgentDefinition,B.agentDefinitions);p(B.modeApi?.isCoordinatorMode()?"coordinator":"normal");let J=q.includeAttribution?$j(j):void 0,L=Pj(j.agentName,j.agentColor);x(j.agentName);let a=await yj(!!z,B.currentCwd,B.cliAgents,B.agentDefinitions);return{messages:j.messages,fileHistorySnapshots:j.fileHistorySnapshots,contentReplacements:j.contentReplacements,agentName:j.agentName,agentColor:j.agentColor==="default"?void 0:j.agentColor,restoredAgentDef:G,initialState:{...B.initialState,...H&&{agent:H},...J&&{attribution:J},...L&&{standaloneAgentContext:L},agentDefinitions:a}}}
2
- export{aj as lb,Pj as mb,Rj as nb,Ej as ob,gj as pb,lj as qb};
@@ -1,3 +0,0 @@
1
- import{K4 as S,L4 as D,P4 as N}from"./cli-1.1.30-gvp1pabq.mjs";import{Qia as X,Uga as B,Xga as O,Yia as E,qga as H,qha as d,rga as P}from"./cli-1.1.30-mebteknr.mjs";import{Wma as U,cna as f}from"./cli-1.1.30-gv4z21b9.mjs";import{fna as W,qna as b}from"./cli-1.1.30-qdnzwgr7.mjs";import{Lqa as T,Vsa as M}from"./cli-1.1.30-ehk76t59.mjs";import{Yta as j,oua as y}from"./cli-1.1.30-gev0f31f.mjs";import{Iua as R,Mua as p}from"./cli-1.1.30-7dtpd1ra.mjs";import{mkdir as G,readFile as m,writeFile as _}from"fs/promises";import{dirname as F,join as u}from"path";function I(){return u(W(),"cache","changelog.md")}async function Jq(){let J=O();if(!J.cachedChangelog)return;let q=I();try{await G(F(q),{recursive:!0}),await _(q,J.cachedChangelog,{encoding:"utf-8",flag:"wx"})}catch{}B(({cachedChangelog:Y,...z})=>z)}async function C(){if(T())return;if(H())return;let J=await j.get(v);if(J.status===200){let q=J.data;if(q===$)return;let Y=I();await G(F(Y),{recursive:!0}),await _(Y,q,{encoding:"utf-8"}),$=q;let z=Date.now();B((K)=>({...K,changelogLastFetched:z}))}}async function h(){if($!==null)return $;let J=I();try{let q=await m(J,"utf-8");return $=q,q}catch{return $="",""}}function A(){return $??""}function L(J){try{if(!J)return{};let q={},Y=J.split(/^## /gm).slice(1);for(let z of Y){let K=z.trim().split(`
2
- `);if(K.length===0)continue;let Q=K[0];if(!Q)continue;let Z=Q.split(" - ")[0]?.trim()||"";if(!Z)continue;let x=K.slice(1).filter((k)=>k.trim().startsWith("- ")).map((k)=>k.trim().substring(2).trim()).filter(Boolean);if(x.length>0)q[Z]=x}return q}catch(q){return X(U(q)),{}}}function l(J,q,Y=A()){try{let z=L(Y),K=w.coerce(J),Q=q?w.coerce(q):null;if(!Q||K&&D(K.version,Q.version))return Object.entries(z).filter(([Z])=>!Q||D(Z,Q.version)).sort(([Z],[x])=>D(Z,x)?-1:1).flatMap(([Z,x])=>x).filter(Boolean).slice(0,V)}catch(z){return X(U(z)),[]}return[]}function Kq(J=A()){try{let q=L(J);return Object.keys(q).sort((z,K)=>D(z,K)?1:-1).map((z)=>{let K=q[z];if(!K||K.length===0)return null;let Q=K.filter(Boolean);if(Q.length===0)return null;return[z,Q]}).filter((z)=>z!==null)}catch(q){return X(U(q)),[]}}async function Qq(J,q="99.0.0"){let Y=await h();if(J!==q||!Y)C().catch((Q)=>X(U(Q)));let z=l(q,J,Y);return{hasReleaseNotes:z.length>0,releaseNotes:z}}var w,V=5,zq="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md",v="https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/CHANGELOG.md",$=null;var c=p(()=>{y();M();d();b();f();E();P();N();w=R(S(),1)});
3
- export{zq as Pf,Jq as Qf,C as Rf,h as Sf,Kq as Tf,Qq as Uf,c as Vf};
@@ -1,2 +0,0 @@
1
- function n(s,a=process.argv){for(let e=0;e<a.length;e++){let r=a[e];if(r?.startsWith(`${s}=`))return r.slice(s.length+1);if(r===s&&e+1<a.length)return a[e+1]}return}
2
- export{n as Ab};
@@ -1,2 +0,0 @@
1
- import{ta as S,ua as R}from"./cli-1.1.30-jb34rbbt.mjs";import{za as j}from"./cli-1.1.30-3c6j35rs.mjs";import{SW as W,TW as A}from"./cli-1.1.30-7bdj31x8.mjs";import{x9 as T,y9 as F}from"./cli-1.1.30-wmpgbhw0.mjs";import{Ama as P,xma as Q}from"./cli-1.1.30-7h45a0x6.mjs";import{Xma as z,cna as x}from"./cli-1.1.30-gv4z21b9.mjs";P();x();A();function f(G){return{write:(J)=>G.write(J),writeBatch:(J)=>G.writeBatch(J),close:()=>G.close(),isConnectedStatus:()=>G.isConnectedStatus(),getStateLabel:()=>G.getStateLabel(),setOnData:(J)=>G.setOnData(J),setOnClose:(J)=>G.setOnClose(J),setOnConnect:(J)=>G.setOnConnect(J),connect:()=>void G.connect(),getLastSequenceNum:()=>0,get droppedBatchCount(){return G.droppedBatchCount},reportState:()=>{},reportMetadata:()=>{},reportDelivery:()=>{},flush:()=>Promise.resolve()}}async function m(G){let{sessionUrl:J,ingressToken:X,sessionId:V,initialSequenceNum:_,getAuthToken:$}=G,O;if($)O=()=>{let B=$();if(!B)return{};return{Authorization:`Bearer ${B}`}};else W(X);let Y=G.epoch??await j(J,X);Q(`[bridge:repl] CCR v2: worker sessionId=${V} epoch=${Y}${G.epoch!==void 0?" (from /bridge)":" (via registerWorker)"}`);let Z=new URL(J);Z.pathname=Z.pathname.replace(/\/$/,"")+"/worker/events/stream";let L=new R(Z,{},V,void 0,_,O),q,K=new S(L,new URL(J),{getAuthHeaders:O,heartbeatIntervalMs:G.heartbeatIntervalMs,heartbeatJitterFraction:G.heartbeatJitterFraction,onEpochMismatch:()=>{Q("[bridge:repl] CCR v2: epoch superseded (409) — closing for poll-loop recovery");try{K.close(),L.close(),q?.(4090)}catch(B){Q(`[bridge:repl] CCR v2: error during epoch-mismatch cleanup: ${z(B)}`,{level:"error"})}throw Error("epoch superseded")}});L.setOnEvent((B)=>{K.reportDelivery(B.event_id,"received"),K.reportDelivery(B.event_id,"processed")});let H,E=!1,M=!1;return{write(B){return K.writeEvent(B)},async writeBatch(B){for(let N of B){if(M)break;await K.writeEvent(N)}},close(){M=!0,K.close(),L.close()},isConnectedStatus(){return E},getStateLabel(){if(L.isClosedStatus())return"closed";if(L.isConnectedStatus())return E?"connected":"init";return"connecting"},setOnData(B){L.setOnData(B)},setOnClose(B){q=B,L.setOnClose((N)=>{K.close(),B(N??4092)})},setOnConnect(B){H=B},getLastSequenceNum(){return L.getLastSequenceNum()},droppedBatchCount:0,reportState(B){K.reportState(B)},reportMetadata(B){K.reportMetadata(B)},reportDelivery(B,N){K.reportDelivery(B,N)},flush(){return K.flush()},connect(){if(!G.outboundOnly)L.connect();K.initialize(Y).then(()=>{E=!0,Q(`[bridge:repl] v2 transport ready for writes (epoch=${Y}, sse=${L.isConnectedStatus()?"open":"opening"})`),H?.()},(B)=>{Q(`[bridge:repl] CCR v2 initialize failed: ${z(B)}`,{level:"error"}),K.close(),L.close(),q?.(4091)})}}}class U{_active=!1;_pending=[];get active(){return this._active}get pendingCount(){return this._pending.length}start(){this._active=!0}end(){return this._active=!1,this._pending.splice(0)}enqueue(...G){if(!this._active)return!1;return this._pending.push(...G),!0}drop(){this._active=!1;let G=this._pending.length;return this._pending.length=0,G}deactivate(){this._active=!1}}P();F();var g={maxAttempts:5,baseDelayMs:500,jitterFraction:0.25,maxDelayMs:4000};function I(G,J,X=Math.random){let V=J.baseDelayMs*2**(G-1),_=V*J.jitterFraction*(2*X()-1);return Math.min(V+_,J.maxDelayMs)}async function b(G,J){let{label:X,logPrefix:V="[bridge]",signal:_,isRetryable:$}=J;for(let O=1;O<=J.maxAttempts;O++){let Y=await G();if(Y!==null)return Y;if($&&!$())return Q(`${V} ${X} failed permanently on attempt ${O}/${J.maxAttempts}, not retrying`),null;if(_?.aborted)return Q(`${V} ${X} aborted after attempt ${O}/${J.maxAttempts}`),null;if(O<J.maxAttempts){let Z=I(O,J);Q(`${V} ${X} failed (attempt ${O}/${J.maxAttempts}), retrying in ${Math.round(Z)}ms`),await T(Z)}}return null}
2
- export{f as ma,m as na,U as oa,g as pa,b as qa};
@@ -1,2 +0,0 @@
1
- import{Df as UG,Ef as RG,Gf as PJ}from"./cli-1.1.30-cwc68erm.mjs";import{$o as EJ,AN as fG,BN as hG,CN as TG,DN as dG,FG as QG,GN as NG,MG as uG,NN as iG,So as h,To as jG,Tx as LG,Uo as p,Ux as XJ,Vo as MG,Wo as r,Wx as cG,XN as qJ,Xo as WG,YN as CG,_N as VJ,_o as BG,dO as mJ,oN as WJ,uO as mG,vG as YJ,wG as CJ,xI as JG,xN as jJ,yI as ZJ,yN as HJ,yO as pJ}from"./cli-1.1.30-pc2wp50b.mjs";import{$Y as wG,IY as LJ,JY as hJ,WY as zG,YY as TJ,aZ as QJ}from"./cli-1.1.30-p3m6d618.mjs";import{$0 as FG,B1 as VG,GZ as bG,PZ as DG,T0 as m,V0 as Y,X0 as Q,p1 as JJ}from"./cli-1.1.30-569esepc.mjs";import{F3 as AJ,t3 as GJ}from"./cli-1.1.30-5r9pakw5.mjs";import{R5 as n,S5 as L,T5 as X,U5 as a}from"./cli-1.1.30-92t0b3hs.mjs";import{V5 as $G}from"./cli-1.1.30-cjetc80p.mjs";import{s6 as AG,t6 as dJ}from"./cli-1.1.30-zpss0nht.mjs";import{D_ as gJ,l_ as eG}from"./cli-1.1.30-wmpgbhw0.mjs";import{Sea as yG,Tea as IG,Uea as KJ,Via as sG,Yia as _J,ifa as kG,jfa as zJ,paa as S,qaa as rG,rfa as pG}from"./cli-1.1.30-mebteknr.mjs";import{sla as gG,tla as SJ}from"./cli-1.1.30-c9xtenrd.mjs";import{ula as C,xla as bJ}from"./cli-1.1.30-pgx35gqd.mjs";import{Xma as HG,cna as tG}from"./cli-1.1.30-gv4z21b9.mjs";import{Iua as e,Mua as GG}from"./cli-1.1.30-7dtpd1ra.mjs";function KG(J){let G=oG.c(9),{serverToolsCount:Z,serverPromptsCount:z,serverResourcesCount:q}=J,H;if(G[0]!==z||G[1]!==q||G[2]!==Z){if(H=[],Z>0)H.push("tools");if(q>0)H.push("resources");if(z>0)H.push("prompts");G[0]=z,G[1]=q,G[2]=Z,G[3]=H}else H=G[3];let k;if(G[4]===Symbol.for("react.memo_cache_sentinel"))k=L(Q,{bold:!0,children:"Capabilities: "}),G[4]=k;else k=G[4];let W;if(G[5]!==H)W=H.length>0?L(r,{children:H}):"none",G[5]=H,G[6]=W;else W=G[6];let D;if(G[7]!==W)D=X(Y,{children:[k,L(Q,{color:"text",children:W})]}),G[7]=W,G[8]=D;else D=G[8];return D}var oG;var SG=GG(()=>{VG();WG();a();oG=e(bG(),1)});function EG(J,G){switch(J.client.type){case"connected":return{message:`Reconnected to ${G}.`,success:!0};case"needs-auth":return{message:`${G} requires authentication. Use the 'Authenticate' option.`,success:!1};case"failed":return{message:`Failed to reconnect to ${G}.`,success:!1};default:return{message:`Unknown result when reconnecting to ${G}.`,success:!1}}}function PG(J,G){let Z=J instanceof Error?J.message:String(J);return`Error reconnecting to ${G}: ${Z}`}var _G=()=>{};function OL({server:J,serverToolsCount:G,onViewTools:Z,onCancel:z,onComplete:q,borderless:H=!1}){let[k]=DG(),W=wG(),{columns:D}=LJ(),[I,U]=E.default.useState(!1),[$,R]=E.default.useState(null),_=LG((V)=>V.mcp),f=XJ(),[O,K]=E.default.useState(null),[P,w]=E.useState(!1),N=E.useRef(null),[g,j]=E.useState(!1),[c,T]=E.useState(null),[A,y]=E.useState(!1),[u,i]=E.useState(null),[l,v]=E.useState(!1),[o,s]=E.useState(!1),x=E.useRef(void 0),B=E.useRef(!1),[xG,XG]=E.useState(""),[DJ,wJ]=E.useState(0),[aG,nG]=E.useState(null);E.useEffect(()=>()=>{if(B.current=!0,N.current?.abort(),x.current!==void 0)clearTimeout(x.current)},[]);let YG=J.isAuthenticated||J.client.type==="connected"&&G>0,ZG=UG(),MJ=E.default.useCallback(async()=>{j(!1),T(null),w(!0);try{let V=await ZG(J.name),F=V.client.type==="connected";if(C("",{success:F}),F)q?.(`Authentication successful. Connected to ${J.name}.`);else if(V.client.type==="needs-auth")q?.("Authentication successful, but server still requires authentication. You may need to manually restart Claudin.");else q?.("Authentication successful, but server reconnection failed. You may need to manually restart Claudin for the changes to take effect.")}catch(V){C("",{success:!1}),q?.(PG(V,J.name))}finally{w(!1)}},[ZG,J.name,q]),fJ=E.default.useCallback(async()=>{await mG(J.name,{...J.config,scope:J.scope}),f((V)=>{let F=V.mcp.clients.map((t)=>t.name===J.name?{...t,type:"needs-auth"}:t),M=hG(V.mcp.tools,J.name),d=TG(V.mcp.commands,J.name),qG=dG(V.mcp.resources,J.name);return{...V,mcp:{...V.mcp,clients:F,tools:M,commands:d,resources:qG}}}),C("",{}),q?.(`Disconnected from ${J.name}.`),y(!1),i(null),v(!1)},[J.name,J.config,J.scope,f,q]);zG("confirm:no",()=>{N.current?.abort(),N.current=null,U(!1),K(null)},{context:"Confirmation",isActive:I}),zG("confirm:no",()=>{j(!1),T(null)},{context:"Confirmation",isActive:g}),zG("confirm:no",()=>{y(!1),i(null),v(!1)},{context:"Confirmation",isActive:A}),JJ((V,F)=>{if(F.return&&g)MJ();if(F.return&&A)if(l)fJ();else{let M=`${gG().CLAUDE_AI_ORIGIN}/settings/connectors`;i(M),v(!0),AG(M)}if(V==="c"&&!o){let M=O||c||u;if(M)GJ(M).then((d)=>{if(B.current)return;if(d)process.stdout.write(d);if(s(!0),x.current!==void 0)clearTimeout(x.current);x.current=setTimeout(s,2000,!1)})}});let NJ=kG(String(J.name)),UJ=fG(_.commands,J.name).length,lG=RG(),RJ=E.default.useCallback(async()=>{let V=gG().CLAUDE_AI_ORIGIN,M=eG()?.organizationUuid,d;if(M&&J.config.type==="claudeai-proxy"&&J.config.id){let qG=J.config.id.startsWith("mcprs")?"mcpsrv"+J.config.id.slice(5):J.config.id,t=encodeURIComponent(process.env.CLAUDE_CODE_ENTRYPOINT||"cli");d=`${V}/api/organizations/${M}/mcp/start-auth/${qG}?product_surface=${t}`}else d=`${V}/settings/connectors`;T(d),j(!0),C("",{}),await AG(d)},[J.config]),OJ=E.default.useCallback(()=>{y(!0),C("",{})},[]),yJ=E.default.useCallback(async()=>{let V=J.client.type!=="disabled";try{if(await lG(J.name),J.config.type==="claudeai-proxy")C("",{new_state:V?"disabled":"enabled"});z()}catch(F){q?.(`Failed to ${V?"disable":"enable"} MCP server '${J.name}': ${HG(F)}`)}},[J.client.type,J.config.type,J.name,lG,z,q]),IJ=E.default.useCallback(async()=>{if(J.config.type==="claudeai-proxy")return;U(!0),R(null);let V=new AbortController;N.current=V;try{if(J.isAuthenticated&&J.config)await CG(J.name,J.config,{preserveStepUpState:!0});if(J.config){await VJ(J.name,J.config,K,V.signal,{onWaitingForCallback:(M)=>{nG(()=>M)}}),C("",{wasAuthenticated:J.isAuthenticated});let F=await ZG(J.name);if(F.client.type==="connected"){let M=YG?`Authentication successful. Reconnected to ${J.name}.`:`Authentication successful. Connected to ${J.name}.`;q?.(M)}else if(F.client.type==="needs-auth")q?.("Authentication successful, but server still requires authentication. You may need to manually restart Claudin.");else sG(J.name,"Reconnection failed after authentication"),q?.("Authentication successful, but server reconnection failed. You may need to manually restart Claudin for the changes to take effect.")}}catch(F){if(F instanceof Error&&!(F instanceof qJ))R(F.message)}finally{U(!1),N.current=null,nG(null),XG("")}},[J.isAuthenticated,J.config,J.name,q,ZG,YG]),BJ=async()=>{if(J.config.type==="claudeai-proxy")return;if(J.config)await CG(J.name,J.config),C("",{}),await mG(J.name,{...J.config,scope:J.scope}),f((V)=>{let F=V.mcp.clients.map((t)=>t.name===J.name?{...t,type:"failed"}:t),M=hG(V.mcp.tools,J.name),d=TG(V.mcp.commands,J.name),qG=dG(V.mcp.resources,J.name);return{...V,mcp:{...V.mcp,clients:F,tools:M,commands:d,resources:qG}}}),q?.(`Authentication cleared for ${J.name}.`)};if(I)return X(Y,{flexDirection:"column",gap:1,padding:1,children:[X(Q,{color:"claude",children:["Authenticating with ",J.name,"…"]}),X(Y,{children:[L(JG,{}),L(Q,{children:" A browser window will open for authentication"})]}),O&&X(Y,{flexDirection:"column",children:[X(Y,{children:[X(Q,{dimColor:!0,children:["If your browser doesn't open automatically, copy this URL manually"," "]}),o?L(Q,{color:"success",children:"(Copied!)"}):L(Q,{dimColor:!0,children:L(h,{shortcut:"c",action:"copy",parens:!0})})]}),L(FG,{url:O})]}),I&&O&&aG&&X(Y,{flexDirection:"column",marginTop:1,children:[L(Q,{dimColor:!0,children:"If the redirect page shows a connection error, paste the URL from your browser's address bar:"}),X(Y,{children:[X(Q,{dimColor:!0,children:["URL ",">"," "]}),L(YJ,{value:xG,onChange:XG,onSubmit:(F)=>{aG(F.trim()),XG("")},cursorOffset:DJ,onChangeCursorOffset:wJ,columns:D-8})]})]}),L(Y,{marginLeft:3,children:L(Q,{dimColor:!0,children:"Return here after authenticating in your browser. Press Esc to go back."})})]});if(g)return X(Y,{flexDirection:"column",gap:1,padding:1,children:[X(Q,{color:"claude",children:["Authenticating with ",J.name,"…"]}),X(Y,{children:[L(JG,{}),L(Q,{children:" A browser window will open for authentication"})]}),c&&X(Y,{flexDirection:"column",children:[X(Y,{children:[X(Q,{dimColor:!0,children:["If your browser doesn't open automatically, copy this URL manually"," "]}),o?L(Q,{color:"success",children:"(Copied!)"}):L(Q,{dimColor:!0,children:L(h,{shortcut:"c",action:"copy",parens:!0})})]}),L(FG,{url:c})]}),X(Y,{marginLeft:3,flexDirection:"column",children:[X(Q,{color:"permission",children:["Press ",L(Q,{bold:!0,children:"Enter"})," after authenticating in your browser."]}),L(Q,{dimColor:!0,italic:!0,children:L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]});if(A)return X(Y,{flexDirection:"column",gap:1,padding:1,children:[X(Q,{color:"claude",children:["Clear authentication for ",J.name]}),l?X(n,{children:[L(Q,{children:'Find the MCP server in the browser and click "Disconnect".'}),u&&X(Y,{flexDirection:"column",children:[X(Y,{children:[X(Q,{dimColor:!0,children:["If your browser didn't open automatically, copy this URL manually"," "]}),o?L(Q,{color:"success",children:"(Copied!)"}):L(Q,{dimColor:!0,children:L(h,{shortcut:"c",action:"copy",parens:!0})})]}),L(FG,{url:u})]}),X(Y,{marginLeft:3,flexDirection:"column",children:[X(Q,{color:"permission",children:["Press ",L(Q,{bold:!0,children:"Enter"})," when done."]}),L(Q,{dimColor:!0,italic:!0,children:L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]}):X(n,{children:[L(Q,{children:'This will open claude.ai in the browser. Find the MCP server in the list and click "Disconnect".'}),X(Y,{marginLeft:3,flexDirection:"column",children:[X(Q,{color:"permission",children:["Press ",L(Q,{bold:!0,children:"Enter"})," to open the browser."]}),L(Q,{dimColor:!0,italic:!0,children:L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]})]});if(P)return X(Y,{flexDirection:"column",gap:1,padding:1,children:[X(Q,{color:"text",children:["Connecting to ",L(Q,{bold:!0,children:J.name}),"…"]}),X(Y,{children:[L(JG,{}),L(Q,{children:" Establishing connection to MCP server"})]}),L(Q,{dimColor:!0,children:"This may take a few moments."})]});let b=[];if(J.client.type==="disabled")b.push({label:"Enable",value:"toggle-enabled"});if(J.client.type==="connected"&&G>0)b.push({label:"View tools",value:"tools"});if(J.config.type==="claudeai-proxy"){if(J.client.type==="connected")b.push({label:"Clear authentication",value:"claudeai-clear-auth"});else if(J.client.type!=="disabled")b.push({label:"Authenticate",value:"claudeai-auth"})}else{if(YG)b.push({label:"Re-authenticate",value:"reauth"}),b.push({label:"Clear authentication",value:"clear-auth"});if(!YG)b.push({label:"Authenticate",value:"auth"})}if(J.client.type!=="disabled"){if(J.client.type!=="needs-auth")b.push({label:"Reconnect",value:"reconnectMcpServer"});b.push({label:"Disable",value:"toggle-enabled"})}if(b.length===0)b.push({label:"Back",value:"back"});return X(Y,{flexDirection:"column",children:[X(Y,{flexDirection:"column",paddingX:1,borderStyle:H?void 0:"round",children:[L(Y,{marginBottom:1,children:X(Q,{bold:!0,children:[NJ," MCP Server"]})}),X(Y,{flexDirection:"column",gap:0,children:[X(Y,{children:[L(Q,{bold:!0,children:"Status: "}),J.client.type==="disabled"?X(Q,{children:[m("inactive",k)(S.radioOff)," disabled"]}):J.client.type==="connected"?X(Q,{children:[m("success",k)(S.tick)," connected"]}):J.client.type==="pending"?X(n,{children:[L(Q,{dimColor:!0,children:S.radioOff}),L(Q,{children:" connecting…"})]}):J.client.type==="needs-auth"?X(Q,{children:[m("warning",k)(S.triangleUpOutline)," needs authentication"]}):X(Q,{children:[m("error",k)(S.cross)," failed"]})]}),J.transport!=="claudeai-proxy"&&X(Y,{children:[L(Q,{bold:!0,children:"Auth: "}),YG?X(Q,{children:[m("success",k)(S.tick)," authenticated"]}):X(Q,{children:[m("error",k)(S.cross)," not authenticated"]})]}),X(Y,{children:[L(Q,{bold:!0,children:"URL: "}),L(Q,{dimColor:!0,children:J.config.url})]}),X(Y,{children:[L(Q,{bold:!0,children:"Config location: "}),L(Q,{dimColor:!0,children:NG(J.scope)})]}),J.client.type==="connected"&&L(KG,{serverToolsCount:G,serverPromptsCount:UJ,serverResourcesCount:_.resources[J.name]?.length||0}),J.client.type==="connected"&&G>0&&X(Y,{children:[L(Q,{bold:!0,children:"Tools: "}),X(Q,{dimColor:!0,children:[G," tools"]})]})]}),$&&L(Y,{marginTop:1,children:X(Q,{color:"error",children:["Error: ",$]})}),b.length>0&&L(Y,{marginTop:1,children:L(QG,{options:b,onChange:async(V)=>{switch(V){case"tools":Z();break;case"auth":case"reauth":await IJ();break;case"clear-auth":await BJ();break;case"claudeai-auth":await RJ();break;case"claudeai-clear-auth":OJ();break;case"reconnectMcpServer":w(!0);try{let F=await ZG(J.name);if(J.config.type==="claudeai-proxy")C("",{success:F.client.type==="connected"});let{message:M}=EG(F,J.name);q?.(M)}catch(F){if(J.config.type==="claudeai-proxy")C("",{success:!1});q?.(PG(F,J.name))}finally{w(!1)}break;case"toggle-enabled":await yJ();break;case"back":z();break}},onCancel:z})})]}),L(Y,{marginTop:1,children:L(Q,{dimColor:!0,italic:!0,children:W.pending?X(n,{children:["Press ",W.keyName," again to exit"]}):X(r,{children:[L(h,{shortcut:"↑↓",action:"navigate"}),L(h,{shortcut:"Enter",action:"select"}),L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})})})]})}var E;var $J=GG(()=>{rG();bJ();SJ();QJ();hJ();AJ();VG();TJ();mJ();pJ();PJ();iG();cG();gJ();dJ();tG();_J();pG();MG();uG();WG();jG();ZJ();CJ();SG();_G();a();E=e($G(),1)});function iL({server:J,serverToolsCount:G,onViewTools:Z,onCancel:z,onComplete:q,borderless:H=!1}){let[k]=DG(),W=wG(),D=LG((P)=>P.mcp),I=UG(),U=RG(),[$,R]=OG.useState(!1),_=OG.default.useCallback(async()=>{let P=J.client.type!=="disabled";try{await U(J.name),z()}catch(w){q(`Failed to ${P?"disable":"enable"} MCP server '${J.name}': ${HG(w)}`)}},[J.client.type,J.name,U,z,q]),f=kG(String(J.name)),O=fG(D.commands,J.name).length,K=[];if(J.client.type!=="disabled"&&G>0)K.push({label:"View tools",value:"tools"});if(J.client.type!=="disabled")K.push({label:"Reconnect",value:"reconnectMcpServer"});if(K.push({label:J.client.type!=="disabled"?"Disable":"Enable",value:"toggle-enabled"}),K.length===0)K.push({label:"Back",value:"back"});if($)return X(Y,{flexDirection:"column",gap:1,padding:1,children:[X(Q,{color:"text",children:["Reconnecting to ",L(Q,{bold:!0,children:J.name})]}),X(Y,{children:[L(JG,{}),L(Q,{children:" Restarting MCP server process"})]}),L(Q,{dimColor:!0,children:"This may take a few moments."})]});return X(Y,{flexDirection:"column",children:[X(Y,{flexDirection:"column",paddingX:1,borderStyle:H?void 0:"round",children:[L(Y,{marginBottom:1,children:X(Q,{bold:!0,children:[f," MCP Server"]})}),X(Y,{flexDirection:"column",gap:0,children:[X(Y,{children:[L(Q,{bold:!0,children:"Status: "}),J.client.type==="disabled"?X(Q,{children:[m("inactive",k)(S.radioOff)," disabled"]}):J.client.type==="connected"?X(Q,{children:[m("success",k)(S.tick)," connected"]}):J.client.type==="pending"?X(n,{children:[L(Q,{dimColor:!0,children:S.radioOff}),L(Q,{children:" connecting…"})]}):X(Q,{children:[m("error",k)(S.cross)," failed"]})]}),X(Y,{children:[L(Q,{bold:!0,children:"Command: "}),L(Q,{dimColor:!0,children:J.config.command})]}),J.config.args&&J.config.args.length>0&&X(Y,{children:[L(Q,{bold:!0,children:"Args: "}),L(Q,{dimColor:!0,children:J.config.args.join(" ")})]}),X(Y,{children:[L(Q,{bold:!0,children:"Config location: "}),L(Q,{dimColor:!0,children:NG(WJ(J.name)?.scope??"dynamic")})]}),J.client.type==="connected"&&L(KG,{serverToolsCount:G,serverPromptsCount:O,serverResourcesCount:D.resources[J.name]?.length||0}),J.client.type==="connected"&&G>0&&X(Y,{children:[L(Q,{bold:!0,children:"Tools: "}),X(Q,{dimColor:!0,children:[G," tools"]})]})]}),K.length>0&&L(Y,{marginTop:1,children:L(QG,{options:K,onChange:async(P)=>{if(P==="tools")Z();else if(P==="reconnectMcpServer"){R(!0);try{let w=await I(J.name),{message:N}=EG(w,J.name);q?.(N)}catch(w){q?.(PG(w,J.name))}finally{R(!1)}}else if(P==="toggle-enabled")await _();else if(P==="back")z()},onCancel:z})})]}),L(Y,{marginTop:1,children:L(Q,{dimColor:!0,italic:!0,children:W.pending?X(n,{children:["Press ",W.keyName," again to exit"]}):X(r,{children:[L(h,{shortcut:"↑↓",action:"navigate"}),L(h,{shortcut:"Enter",action:"select"}),L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})})})]})}var OG;var cJ=GG(()=>{rG();QJ();VG();jJ();PJ();iG();cG();tG();pG();MG();uG();WG();jG();ZJ();SG();_G();a();OG=e($G(),1)});function tL(J){let G=FJ.c(44),{tool:Z,server:z,onBack:q}=J,[H,k]=vG.default.useState(""),W,D;if(G[0]!==z.name||G[1]!==Z){D=yG(Z.name,z.name);let s=Z.userFacingName?Z.userFacingName({}):D;W=IG(s),G[0]=z.name,G[1]=Z,G[2]=W,G[3]=D}else W=G[2],D=G[3];let I=W,U;if(G[4]!==Z)U=Z.isReadOnly?.({})??!1,G[4]=Z,G[5]=U;else U=G[5];let $=U,R;if(G[6]!==Z)R=Z.isDestructive?.({})??!1,G[6]=Z,G[7]=R;else R=G[7];let _=R,f;if(G[8]!==Z)f=Z.isOpenWorld?.({})??!1,G[8]=Z,G[9]=f;else f=G[9];let O=f,K,P;if(G[10]!==Z)K=()=>{(async function(){try{let B=await Z.description({},{isNonInteractiveSession:!1,toolPermissionContext:{mode:"default",additionalWorkingDirectories:new Map,alwaysAllowRules:{},alwaysDenyRules:{},alwaysAskRules:{},isBypassPermissionsModeAvailable:!1},tools:[]});k(B)}catch{k("Failed to load description")}})()},P=[Z],G[10]=Z,G[11]=K,G[12]=P;else K=G[11],P=G[12];vG.default.useEffect(K,P);let w;if(G[13]!==$)w=$&&L(Q,{color:"success",children:" [read-only]"}),G[13]=$,G[14]=w;else w=G[14];let N;if(G[15]!==_)N=_&&L(Q,{color:"error",children:" [destructive]"}),G[15]=_,G[16]=N;else N=G[16];let g;if(G[17]!==O)g=O&&L(Q,{dimColor:!0,children:" [open-world]"}),G[17]=O,G[18]=g;else g=G[18];let j;if(G[19]!==I||G[20]!==w||G[21]!==N||G[22]!==g)j=X(n,{children:[I,w,N,g]}),G[19]=I,G[20]=w,G[21]=N,G[22]=g,G[23]=j;else j=G[23];let c=j,T;if(G[24]===Symbol.for("react.memo_cache_sentinel"))T=L(Q,{bold:!0,children:"Tool name: "}),G[24]=T;else T=G[24];let A;if(G[25]!==D)A=X(Y,{children:[T,L(Q,{dimColor:!0,children:D})]}),G[25]=D,G[26]=A;else A=G[26];let y;if(G[27]===Symbol.for("react.memo_cache_sentinel"))y=L(Q,{bold:!0,children:"Full name: "}),G[27]=y;else y=G[27];let u;if(G[28]!==Z.name)u=X(Y,{children:[y,L(Q,{dimColor:!0,children:Z.name})]}),G[28]=Z.name,G[29]=u;else u=G[29];let i;if(G[30]!==H)i=H&&X(Y,{flexDirection:"column",marginTop:1,children:[L(Q,{bold:!0,children:"Description:"}),L(Q,{wrap:"wrap",children:H})]}),G[30]=H,G[31]=i;else i=G[31];let l;if(G[32]!==Z.inputJSONSchema)l=Z.inputJSONSchema&&Z.inputJSONSchema.properties&&Object.keys(Z.inputJSONSchema.properties).length>0&&X(Y,{flexDirection:"column",marginTop:1,children:[L(Q,{bold:!0,children:"Parameters:"}),L(Y,{marginLeft:2,flexDirection:"column",children:Object.entries(Z.inputJSONSchema.properties).map((s)=>{let[x,B]=s,XG=Z.inputJSONSchema?.required?.includes(x);return X(Q,{children:["• ",x,XG&&L(Q,{dimColor:!0,children:" (required)"}),":"," ",L(Q,{dimColor:!0,children:typeof B==="object"&&B&&"type"in B?String(B.type):"unknown"}),typeof B==="object"&&B&&"description"in B&&X(Q,{dimColor:!0,children:[" - ",String(B.description)]})]},x)})})]}),G[32]=Z.inputJSONSchema,G[33]=l;else l=G[33];let v;if(G[34]!==A||G[35]!==u||G[36]!==i||G[37]!==l)v=X(Y,{flexDirection:"column",children:[A,u,i,l]}),G[34]=A,G[35]=u,G[36]=i,G[37]=l,G[38]=v;else v=G[38];let o;if(G[39]!==q||G[40]!==z.name||G[41]!==v||G[42]!==c)o=L(BG,{title:c,subtitle:z.name,onCancel:q,inputGuide:uJ,children:v}),G[39]=q,G[40]=z.name,G[41]=v,G[42]=c,G[43]=o;else o=G[43];return o}function uJ(J){return J.pending?X(Q,{children:["Press ",J.keyName," again to exit"]}):L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})}var FJ,vG;var iJ=GG(()=>{VG();KJ();MG();EJ();a();FJ=e(bG(),1),vG=e($G(),1)});function PQ(J){let G=kJ.c(21),{server:Z,onSelectTool:z,onBack:q}=J,H=LG(xJ),k;G:{if(Z.client.type!=="connected"){let P;if(G[0]===Symbol.for("react.memo_cache_sentinel"))P=[],G[0]=P;else P=G[0];k=P;break G}let K;if(G[1]!==H||G[2]!==Z.name)K=HJ(H,Z.name),G[1]=H,G[2]=Z.name,G[3]=K;else K=G[3];k=K}let W=k,D;if(G[4]!==Z.name||G[5]!==W){let K;if(G[7]!==Z.name)K=(P,w)=>{let N=yG(P.name,Z.name),g=P.userFacingName?P.userFacingName({}):N,j=IG(g),c=P.isReadOnly?.({})??!1,T=P.isDestructive?.({})??!1,A=P.isOpenWorld?.({})??!1,y=[];if(c)y.push("read-only");if(T)y.push("destructive");if(A)y.push("open-world");return{label:j,value:w.toString(),description:y.length>0?y.join(", "):void 0,descriptionColor:T?"error":c?"success":void 0}},G[7]=Z.name,G[8]=K;else K=G[8];D=W.map(K),G[4]=Z.name,G[5]=W,G[6]=D}else D=G[6];let I=D,U=`Tools for ${Z.name}`,$=W.length,R;if(G[9]!==W.length)R=zJ(W.length,"tool"),G[9]=W.length,G[10]=R;else R=G[10];let _=`${$} ${R}`,f;if(G[11]!==q||G[12]!==z||G[13]!==W||G[14]!==I)f=W.length===0?L(Q,{dimColor:!0,children:"No tools available"}):L(QG,{options:I,onChange:(K)=>{let P=parseInt(K),w=W[P];if(w)z(w,P)},onCancel:q}),G[11]=q,G[12]=z,G[13]=W,G[14]=I,G[15]=f;else f=G[15];let O;if(G[16]!==q||G[17]!==U||G[18]!==_||G[19]!==f)O=L(BG,{title:U,subtitle:_,onCancel:q,inputGuide:vJ,children:f}),G[16]=q,G[17]=U,G[18]=_,G[19]=f,G[20]=O;else O=G[20];return O}function vJ(J){return J.pending?X(Q,{children:["Press ",J.keyName," again to exit"]}):X(r,{children:[L(h,{shortcut:"↑↓",action:"navigate"}),L(h,{shortcut:"Enter",action:"select"}),L(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})}function xJ(J){return J.mcp.tools}var kJ;var aJ=GG(()=>{VG();KJ();iG();cG();pG();MG();uG();WG();EJ();jG();a();kJ=e(bG(),1)});
2
- export{OL as uf,$J as vf,iL as wf,cJ as xf,tL as yf,iJ as zf,PQ as Af,aJ as Bf};
@@ -1,2 +0,0 @@
1
- import{D_ as c,d_ as S,j7 as j,m7 as h,x9 as b,y9 as l}from"./cli-1.1.30-wmpgbhw0.mjs";import{faa as F,gaa as D}from"./cli-1.1.30-he73pyqy.mjs";import{Qia as y,Yia as I}from"./cli-1.1.30-mebteknr.mjs";import{Aka as $,Bka as R,Cka as _,Dka as E}from"./cli-1.1.30-yy92v8yq.mjs";import{sla as v,tla as m}from"./cli-1.1.30-c9xtenrd.mjs";import{Ama as z,ama as M,fma as U,xma as W}from"./cli-1.1.30-7h45a0x6.mjs";import{Wma as k,Xma as q,cna as O}from"./cli-1.1.30-gv4z21b9.mjs";import{Yta as Y,oua as T}from"./cli-1.1.30-gev0f31f.mjs";import{Mua as A}from"./cli-1.1.30-7dtpd1ra.mjs";import{randomUUID as d}from"crypto";function u(J){if(!Y.isAxiosError(J))return!1;if(!J.response)return!0;if(J.response.status>=500)return!0;return!1}async function p(J,B){let N;for(let K=0;K<=x;K++)try{return await Y.get(J,B)}catch(Q){if(N=Q,!u(Q))throw Q;if(K>=x)throw W(`Teleport request failed after ${K+1} attempts: ${q(Q)}`),Q;let V=f[K]??2000;W(`Teleport request failed (attempt ${K+1}/${x+1}), retrying in ${V}ms: ${q(Q)}`),await b(V)}throw N}async function C(){let J=S()?.accessToken;if(J===void 0)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let B=await j();if(!B)throw Error("Unable to get organization UUID");return{accessToken:J,orgUUID:B}}async function BJ(){let{accessToken:J,orgUUID:B}=await C(),N=`${v().BASE_API_URL}/v1/sessions`;try{let K={...L(J),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},Q=await p(N,{headers:K});if(Q.status!==200)throw Error(`Failed to fetch code sessions: ${Q.statusText}`);return Q.data.data.map((Z)=>{let X=Z.session_context.sources.find((G)=>G.type==="git_repository"),H=null;if(X?.url){let G=F(X.url);if(G){let[w,P]=G.split("/");if(w&&P)H={name:P,owner:{login:w},default_branch:X.revision||void 0}}}return{id:Z.id,title:Z.title||"Untitled",description:"",status:Z.session_status,repo:H,turns:[],created_at:Z.created_at,updated_at:Z.updated_at}})}catch(K){let Q=k(K);throw y(Q),K}}function L(J){return{Authorization:`Bearer ${J}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"}}async function NJ(J){let{accessToken:B,orgUUID:N}=await C(),K=`${v().BASE_API_URL}/v1/sessions/${J}`,Q={...L(B),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":N},V=await Y.get(K,{headers:Q,timeout:15000,validateStatus:(Z)=>Z<500});if(V.status!==200){let X=V.data?.error?.message;if(V.status===404)throw Error(`Session not found: ${J}`);if(V.status===401)throw Error("Session expired. Please run /login to sign in again.");throw Error(X||`Failed to fetch session: ${V.status} ${V.statusText}`)}return V.data}function WJ(J){return J.session_context.outcomes?.find((N)=>N.type==="git_repository")?.git_info?.branches[0]}async function GJ(J,B,N){try{let{accessToken:K,orgUUID:Q}=await C(),V=`${v().BASE_API_URL}/v1/sessions/${J}/events`,Z={...L(K),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":Q},H={events:[{uuid:N?.uuid??d(),session_id:J,type:"user",parent_tool_use_id:null,message:{role:"user",content:B}}]};W(`[sendEventToRemoteSession] Sending event to session ${J}`);let G=await Y.post(V,H,{headers:Z,validateStatus:(w)=>w<500,timeout:30000});if(G.status===200||G.status===201)return W(`[sendEventToRemoteSession] Successfully sent event to session ${J}`),!0;return W(`[sendEventToRemoteSession] Failed with status ${G.status}: ${M(G.data)}`),!1}catch(K){return W(`[sendEventToRemoteSession] Error: ${q(K)}`),!1}}async function XJ(J,B){try{let{accessToken:N,orgUUID:K}=await C(),Q=`${v().BASE_API_URL}/v1/sessions/${J}`,V={...L(N),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":K};W(`[updateSessionTitle] Updating title for session ${J}: "${B}"`);let Z=await Y.patch(Q,{title:B},{headers:V,validateStatus:(X)=>X<500});if(Z.status===200)return W(`[updateSessionTitle] Successfully updated title for session ${J}`),!0;return W(`[updateSessionTitle] Failed with status ${Z.status}: ${M(Z.data)}`),!1}catch(N){return W(`[updateSessionTitle] Error: ${q(N)}`),!1}}var f,x,$J;var g=A(()=>{T();m();h();R();c();z();D();O();E();I();l();U();f=[2000,4000,8000,16000],x=f.length;$J=_(()=>$.object({id:$.string(),title:$.string(),description:$.string(),status:$.enum(["idle","working","waiting","completed","archived","cancelled","rejected"]),repo:$.object({name:$.string(),owner:$.object({login:$.string()}),default_branch:$.string().optional()}).nullable(),turns:$.array($.string()),created_at:$.string(),updated_at:$.string()}))});
2
- export{u as g6,p as h6,$J as i6,C as j6,BJ as k6,L as l6,NJ as m6,WJ as n6,GJ as o6,XJ as p6,g as q6};
@@ -1,2 +0,0 @@
1
- import{$sa as w8,Wsa as CQ,Xsa as YJ,Ysa as v,Zsa as P1,_sa as J5,ata as D,bta as y,cta as m,dta as _Q,eta as L,fta as a,gta as h5,hta as e8,ita as F5,jta as _8,kta as E,lta as h8,mta as P,nta as x1,ota as d,pta as WQ,qta as o,rta as xQ,sta as l5,tta as UY}from"./cli-1.1.30-m62yy9h8.mjs";import{Lua as sQ,Mua as X}from"./cli-1.1.30-7dtpd1ra.mjs";function h$(){this.__data__=new v,this.size=0}var e1;var QQ=X(()=>{P1();e1=h$});function n$(Q){var J=this.__data__,Y=J.delete(Q);return this.size=J.size,Y}var $Q;var JQ=X(()=>{$Q=n$});function b$(Q){return this.__data__.get(Q)}var YQ;var ZQ=X(()=>{YQ=b$});function i$(Q){return this.__data__.has(Q)}var XQ;var HQ=X(()=>{XQ=i$});function l$(Q,J){var Y=this.__data__;if(Y instanceof v){var Z=Y.__data__;if(!d||Z.length<u$-1)return Z.push([Q,J]),this.size=++Y.size,this;Y=this.__data__=new o(Z)}return Y.set(Q,J),this.size=Y.size,this}var u$=200,UQ;var KQ=X(()=>{P1();WQ();xQ();UQ=l$});function g(Q){var J=this.__data__=new v(Q);this.size=J.size}var p;var I1=X(()=>{P1();QQ();JQ();ZQ();HQ();KQ();g.prototype.clear=e1;g.prototype.delete=$Q;g.prototype.get=YQ;g.prototype.has=XQ;g.prototype.set=UQ;p=g});function c$(Q){return this.__data__.set(Q,T$),this}var T$="__lodash_hash_undefined__",GQ;var BQ=X(()=>{GQ=c$});function o$(Q){return this.__data__.has(Q)}var NQ;var wQ=X(()=>{NQ=o$});function r(Q){var J=-1,Y=Q==null?0:Q.length;this.__data__=new o;while(++J<Y)this.add(Q[J])}var zQ;var FQ=X(()=>{xQ();BQ();wQ();r.prototype.add=r.prototype.push=GQ;r.prototype.has=NQ;zQ=r});function r$(Q,J){var Y=-1,Z=Q==null?0:Q.length;while(++Y<Z)if(J(Q[Y],Y,Q))return!0;return!1}var RQ;var DQ=X(()=>{RQ=r$});function s$(Q,J){return Q.has(J)}var qQ;var OQ=X(()=>{qQ=s$});function e$(Q,J,Y,Z,H,W){var x=Y&a$,U=Q.length,B=J.length;if(U!=B&&!(x&&B>U))return!1;var K=W.get(Q),F=W.get(J);if(K&&F)return K==J&&F==Q;var z=-1,N=!0,V=Y&t$?new zQ:void 0;W.set(Q,J),W.set(J,Q);while(++z<U){var R=Q[z],q=J[z];if(Z)var f=x?Z(q,R,z,J,Q,W):Z(R,q,z,Q,J,W);if(f!==void 0){if(f)continue;N=!1;break}if(V){if(!RQ(J,function(C,_){if(!qQ(V,_)&&(R===C||H(R,C,Y,Z,W)))return V.push(_)})){N=!1;break}}else if(!(R===q||H(R,q,Y,Z,W))){N=!1;break}}return W.delete(Q),W.delete(J),N}var a$=1,t$=2,s;var C1=X(()=>{FQ();DQ();OQ();s=e$});var QJ,_1;var VQ=X(()=>{y();QJ=D.Uint8Array,_1=QJ});function $J(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z,H){Y[++J]=[H,Z]}),Y}var MQ;var LQ=X(()=>{MQ=$J});function JJ(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z){Y[++J]=Z}),Y}var fQ;var PQ=X(()=>{fQ=JJ});function RJ(Q,J,Y,Z,H,W,x){switch(Y){case FJ:if(Q.byteLength!=J.byteLength||Q.byteOffset!=J.byteOffset)return!1;Q=Q.buffer,J=J.buffer;case zJ:if(Q.byteLength!=J.byteLength||!W(new _1(Q),new _1(J)))return!1;return!0;case HJ:case WJ:case KJ:return CQ(+Q,+J);case xJ:return Q.name==J.name&&Q.message==J.message;case GJ:case NJ:return Q==J+"";case UJ:var U=MQ;case BJ:var B=Z&ZJ;if(U||(U=fQ),Q.size!=J.size&&!B)return!1;var K=x.get(Q);if(K)return K==J;Z|=XJ,x.set(Q,J);var F=s(U(Q),U(J),Z,H,W,x);return x.delete(Q),F;case wJ:if(k1)return k1.call(Q)==k1.call(J)}return!1}var ZJ=1,XJ=2,HJ="[object Boolean]",WJ="[object Date]",xJ="[object Error]",UJ="[object Map]",KJ="[object Number]",GJ="[object RegExp]",BJ="[object Set]",NJ="[object String]",wJ="[object Symbol]",zJ="[object ArrayBuffer]",FJ="[object DataView]",IQ,k1,kQ;var EQ=X(()=>{_Q();VQ();YJ();C1();LQ();PQ();IQ=m?m.prototype:void 0,k1=IQ?IQ.valueOf:void 0;kQ=RJ});function DJ(Q,J){var Y=-1,Z=J.length,H=Q.length;while(++Y<Z)Q[H+Y]=J[Y];return Q}var vQ;var dQ=X(()=>{vQ=DJ});var qJ,w;var M=X(()=>{qJ=Array.isArray,w=qJ});function OJ(Q,J,Y){var Z=J(Q);return w(Q)?Z:vQ(Z,Y(Q))}var gQ;var pQ=X(()=>{dQ();M();gQ=OJ});function VJ(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=0,W=[];while(++Y<Z){var x=Q[Y];if(J(x,Y,Q))W[H++]=x}return W}var yQ;var mQ=X(()=>{yQ=VJ});function MJ(){return[]}var SQ;var AQ=X(()=>{SQ=MJ});var LJ,fJ,jQ,PJ,hQ;var nQ=X(()=>{mQ();AQ();LJ=Object.prototype,fJ=LJ.propertyIsEnumerable,jQ=Object.getOwnPropertySymbols,PJ=!jQ?SQ:function(Q){if(Q==null)return[];return Q=Object(Q),yQ(jQ(Q),function(J){return fJ.call(Q,J)})},hQ=PJ});function IJ(Q,J){var Y=-1,Z=Array(Q);while(++Y<Q)Z[Y]=J(Y);return Z}var bQ;var iQ=X(()=>{bQ=IJ});function CJ(Q){return Q!=null&&typeof Q=="object"}var O;var S=X(()=>{O=CJ});function kJ(Q){return O(Q)&&L(Q)==_J}var _J="[object Arguments]",E1;var uQ=X(()=>{a();S();E1=kJ});var lQ,EJ,vJ,dJ,t;var v1=X(()=>{uQ();S();lQ=Object.prototype,EJ=lQ.hasOwnProperty,vJ=lQ.propertyIsEnumerable,dJ=E1(function(){return arguments}())?E1:function(Q){return O(Q)&&EJ.call(Q,"callee")&&!vJ.call(Q,"callee")},t=dJ});function gJ(){return!1}var TQ;var cQ=X(()=>{TQ=gJ});var Q1={};sQ(Q1,{default:()=>A});var aQ,oQ,pJ,rQ,yJ,mJ,A;var d1=X(()=>{y();cQ();aQ=typeof Q1=="object"&&Q1&&!Q1.nodeType&&Q1,oQ=aQ&&typeof e=="object"&&e&&!e.nodeType&&e,pJ=oQ&&oQ.exports===aQ,rQ=pJ?D.Buffer:void 0,yJ=rQ?rQ.isBuffer:void 0,mJ=yJ||TQ,A=mJ});function jJ(Q,J){var Y=typeof Q;return J=J==null?SJ:J,!!J&&(Y=="number"||Y!="symbol"&&AJ.test(Q))&&(Q>-1&&Q%1==0&&Q<J)}var SJ=9007199254740991,AJ,$1;var g1=X(()=>{AJ=/^(?:0|[1-9]\d*)$/;$1=jJ});function nJ(Q){return typeof Q=="number"&&Q>-1&&Q%1==0&&Q<=hJ}var hJ=9007199254740991,j;var J1=X(()=>{j=nJ});function B8(Q){return O(Q)&&j(Q.length)&&!!G[L(Q)]}var bJ="[object Arguments]",iJ="[object Array]",uJ="[object Boolean]",lJ="[object Date]",TJ="[object Error]",cJ="[object Function]",oJ="[object Map]",rJ="[object Number]",sJ="[object Object]",aJ="[object RegExp]",tJ="[object Set]",eJ="[object String]",Q8="[object WeakMap]",$8="[object ArrayBuffer]",J8="[object DataView]",Y8="[object Float32Array]",Z8="[object Float64Array]",X8="[object Int8Array]",H8="[object Int16Array]",W8="[object Int32Array]",x8="[object Uint8Array]",U8="[object Uint8ClampedArray]",K8="[object Uint16Array]",G8="[object Uint32Array]",G,tQ;var eQ=X(()=>{a();J1();S();G={};G[Y8]=G[Z8]=G[X8]=G[H8]=G[W8]=G[x8]=G[U8]=G[K8]=G[G8]=!0;G[bJ]=G[iJ]=G[$8]=G[uJ]=G[J8]=G[lJ]=G[TJ]=G[cJ]=G[oJ]=G[rJ]=G[sJ]=G[aJ]=G[tJ]=G[eJ]=G[Q8]=!1;tQ=B8});function N8(Q){return function(J){return Q(J)}}var Q5;var $5=X(()=>{Q5=N8});var Z1={};sQ(Z1,{default:()=>X1});var Y5,i,z8,p1,F8,X1;var Z5=X(()=>{w8();Y5=typeof Z1=="object"&&Z1&&!Z1.nodeType&&Z1,i=Y5&&typeof Y1=="object"&&Y1&&!Y1.nodeType&&Y1,z8=i&&i.exports===Y5,p1=z8&&J5.process,F8=function(){try{var Q=i&&i.require&&i.require("util").types;if(Q)return Q;return p1&&p1.binding&&p1.binding("util")}catch(J){}}(),X1=F8});var X5,R8,H1;var y1=X(()=>{eQ();$5();Z5();X5=X1&&X1.isTypedArray,R8=X5?Q5(X5):tQ,H1=R8});function O8(Q,J){var Y=w(Q),Z=!Y&&t(Q),H=!Y&&!Z&&A(Q),W=!Y&&!Z&&!H&&H1(Q),x=Y||Z||H||W,U=x?bQ(Q.length,String):[],B=U.length;for(var K in Q)if((J||q8.call(Q,K))&&!(x&&(K=="length"||H&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||$1(K,B))))U.push(K);return U}var D8,q8,H5;var W5=X(()=>{iQ();v1();M();d1();g1();y1();D8=Object.prototype,q8=D8.hasOwnProperty;H5=O8});function M8(Q){var J=Q&&Q.constructor,Y=typeof J=="function"&&J.prototype||V8;return Q===Y}var V8,x5;var U5=X(()=>{V8=Object.prototype;x5=M8});function L8(Q,J){return function(Y){return Q(J(Y))}}var K5;var G5=X(()=>{K5=L8});var f8,B5;var N5=X(()=>{G5();f8=K5(Object.keys,Object),B5=f8});function C8(Q){if(!x5(Q))return B5(Q);var J=[];for(var Y in Object(Q))if(I8.call(Q,Y)&&Y!="constructor")J.push(Y);return J}var P8,I8,w5;var z5=X(()=>{U5();N5();P8=Object.prototype,I8=P8.hasOwnProperty;w5=C8});function k8(Q){return Q!=null&&j(Q.length)&&!F5(Q)}var R5;var D5=X(()=>{_8();J1();R5=k8});function E8(Q){return R5(Q)?H5(Q):w5(Q)}var W1;var m1=X(()=>{W5();z5();D5();W1=E8});function v8(Q){return gQ(Q,W1,hQ)}var S1;var q5=X(()=>{pQ();nQ();m1();S1=v8});function y8(Q,J,Y,Z,H,W){var x=Y&d8,U=S1(Q),B=U.length,K=S1(J),F=K.length;if(B!=F&&!x)return!1;var z=B;while(z--){var N=U[z];if(!(x?N in J:p8.call(J,N)))return!1}var V=W.get(Q),R=W.get(J);if(V&&R)return V==J&&R==Q;var q=!0;W.set(Q,J),W.set(J,Q);var f=x;while(++z<B){N=U[z];var C=Q[N],_=J[N];if(Z)var t1=x?Z(_,C,N,J,Q,W):Z(C,_,N,Q,J,W);if(!(t1===void 0?C===_||H(C,_,Y,Z,W):t1)){q=!1;break}f||(f=N=="constructor")}if(q&&!f){var T=Q.constructor,c=J.constructor;if(T!=c&&(("constructor"in Q)&&("constructor"in J))&&!(typeof T=="function"&&T instanceof T&&typeof c=="function"&&c instanceof c))q=!1}return W.delete(Q),W.delete(J),q}var d8=1,g8,p8,O5;var V5=X(()=>{q5();g8=Object.prototype,p8=g8.hasOwnProperty;O5=y8});var m8,U1;var M5=X(()=>{x1();y();m8=P(D,"DataView"),U1=m8});var S8,K1;var L5=X(()=>{x1();y();S8=P(D,"Promise"),K1=S8});var A8,G1;var f5=X(()=>{x1();y();A8=P(D,"Set"),G1=A8});var j8,B1;var P5=X(()=>{x1();y();j8=P(D,"WeakMap"),B1=j8});var I5="[object Map]",n8="[object Object]",C5="[object Promise]",_5="[object Set]",k5="[object WeakMap]",E5="[object DataView]",b8,i8,u8,l8,T8,k,A1;var v5=X(()=>{M5();WQ();L5();f5();P5();a();h8();b8=E(U1),i8=E(d),u8=E(K1),l8=E(G1),T8=E(B1),k=L;if(U1&&k(new U1(new ArrayBuffer(1)))!=E5||d&&k(new d)!=I5||K1&&k(K1.resolve())!=C5||G1&&k(new G1)!=_5||B1&&k(new B1)!=k5)k=function(Q){var J=L(Q),Y=J==n8?Q.constructor:void 0,Z=Y?E(Y):"";if(Z)switch(Z){case b8:return E5;case i8:return I5;case u8:return C5;case l8:return _5;case T8:return k5}return J};A1=k});function r8(Q,J,Y,Z,H,W){var x=w(Q),U=w(J),B=x?g5:A1(Q),K=U?g5:A1(J);B=B==d5?N1:B,K=K==d5?N1:K;var F=B==N1,z=K==N1,N=B==K;if(N&&A(Q)){if(!A(J))return!1;x=!0,F=!1}if(N&&!F)return W||(W=new p),x||H1(Q)?s(Q,J,Y,Z,H,W):kQ(Q,J,B,Y,Z,H,W);if(!(Y&c8)){var V=F&&p5.call(Q,"__wrapped__"),R=z&&p5.call(J,"__wrapped__");if(V||R){var q=V?Q.value():Q,f=R?J.value():J;return W||(W=new p),H(q,f,Y,Z,W)}}if(!N)return!1;return W||(W=new p),O5(Q,J,Y,Z,H,W)}var c8=1,d5="[object Arguments]",g5="[object Array]",N1="[object Object]",o8,p5,y5;var m5=X(()=>{I1();C1();EQ();V5();v5();M();d1();y1();o8=Object.prototype,p5=o8.hasOwnProperty;y5=r8});function S5(Q,J,Y,Z,H){if(Q===J)return!0;if(Q==null||J==null||!O(Q)&&!O(J))return Q!==Q&&J!==J;return y5(Q,J,Y,Z,S5,H)}var w1;var j1=X(()=>{m5();S();w1=S5});function t8(Q,J,Y,Z){var H=Y.length,W=H,x=!Z;if(Q==null)return!W;Q=Object(Q);while(H--){var U=Y[H];if(x&&U[2]?U[1]!==Q[U[0]]:!(U[0]in Q))return!1}while(++H<W){U=Y[H];var B=U[0],K=Q[B],F=U[1];if(x&&U[2]){if(K===void 0&&!(B in Q))return!1}else{var z=new p;if(Z)var N=Z(K,F,B,Q,J,z);if(!(N===void 0?w1(F,K,s8|a8,Z,z):N))return!1}}return!0}var s8=1,a8=2,A5;var j5=X(()=>{I1();j1();A5=t8});function QY(Q){return Q===Q&&!h5(Q)}var z1;var h1=X(()=>{e8();z1=QY});function $Y(Q){var J=W1(Q),Y=J.length;while(Y--){var Z=J[Y],H=Q[Z];J[Y]=[Z,H,z1(H)]}return J}var n5;var b5=X(()=>{h1();m1();n5=$Y});function JY(Q,J){return function(Y){if(Y==null)return!1;return Y[Q]===J&&(J!==void 0||(Q in Object(Y)))}}var F1;var n1=X(()=>{F1=JY});function YY(Q){var J=n5(Q);if(J.length==1&&J[0][2])return F1(J[0][0],J[0][1]);return function(Y){return Y===Q||A5(Y,Q,J)}}var i5;var u5=X(()=>{j5();b5();n1();i5=YY});function XY(Q){return typeof Q=="symbol"||O(Q)&&L(Q)==ZY}var ZY="[object Symbol]",h;var R1=X(()=>{a();S();h=XY});function xY(Q,J){if(w(Q))return!1;var Y=typeof Q;if(Y=="number"||Y=="symbol"||Y=="boolean"||Q==null||h(Q))return!0;return WY.test(Q)||!HY.test(Q)||J!=null&&Q in Object(J)}var HY,WY,n;var D1=X(()=>{M();R1();HY=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,WY=/^\w*$/;n=xY});function GY(Q){var J=l5(Q,function(Z){if(Y.size===KY)Y.clear();return Z}),Y=J.cache;return J}var KY=500,T5;var c5=X(()=>{UY();T5=GY});var BY,NY,wY,o5;var r5=X(()=>{c5();BY=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NY=/\\(\\)?/g,wY=T5(function(Q){var J=[];if(Q.charCodeAt(0)===46)J.push("");return Q.replace(BY,function(Y,Z,H,W){J.push(H?W.replace(NY,"$1"):Z||Y)}),J}),o5=wY});function zY(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=Array(Z);while(++Y<Z)H[Y]=J(Q[Y],Y,Q);return H}var s5;var a5=X(()=>{s5=zY});function Q$(Q){if(typeof Q=="string")return Q;if(w(Q))return s5(Q,Q$)+"";if(h(Q))return e5?e5.call(Q):"";var J=Q+"";return J=="0"&&1/Q==-FY?"-0":J}var FY=1/0,t5,e5,$$;var J$=X(()=>{_Q();a5();M();R1();t5=m?m.prototype:void 0,e5=t5?t5.toString:void 0;$$=Q$});function RY(Q){return Q==null?"":$$(Q)}var Y$;var Z$=X(()=>{J$();Y$=RY});function DY(Q,J){if(w(Q))return Q;return n(Q,J)?[Q]:o5(Y$(Q))}var q1;var b1=X(()=>{M();D1();r5();Z$();q1=DY});function OY(Q){if(typeof Q=="string"||h(Q))return Q;var J=Q+"";return J=="0"&&1/Q==-qY?"-0":J}var qY=1/0,I;var u=X(()=>{R1();I=OY});function VY(Q,J){J=q1(J,Q);var Y=0,Z=J.length;while(Q!=null&&Y<Z)Q=Q[I(J[Y++])];return Y&&Y==Z?Q:void 0}var O1;var i1=X(()=>{b1();u();O1=VY});function MY(Q,J,Y){var Z=Q==null?void 0:O1(Q,J);return Z===void 0?Y:Z}var X$;var H$=X(()=>{i1();X$=MY});function LY(Q,J){return Q!=null&&J in Object(Q)}var W$;var x$=X(()=>{W$=LY});function fY(Q,J,Y){J=q1(J,Q);var Z=-1,H=J.length,W=!1;while(++Z<H){var x=I(J[Z]);if(!(W=Q!=null&&Y(Q,x)))break;Q=Q[x]}if(W||++Z!=H)return W;return H=Q==null?0:Q.length,!!H&&j(H)&&$1(x,H)&&(w(Q)||t(Q))}var U$;var K$=X(()=>{b1();v1();M();g1();J1();u();U$=fY});function PY(Q,J){return Q!=null&&U$(Q,J,W$)}var G$;var B$=X(()=>{x$();K$();G$=PY});function _Y(Q,J){if(n(Q)&&z1(J))return F1(I(Q),J);return function(Y){var Z=X$(Y,Q);return Z===void 0&&Z===J?G$(Y,Q):w1(J,Z,IY|CY)}}var IY=1,CY=2,N$;var w$=X(()=>{j1();H$();B$();D1();h1();n1();u();N$=_Y});function kY(Q){return Q}var z$;var F$=X(()=>{z$=kY});function EY(Q){return function(J){return J==null?void 0:J[Q]}}var R$;var D$=X(()=>{R$=EY});function vY(Q){return function(J){return O1(J,Q)}}var q$;var O$=X(()=>{i1();q$=vY});function dY(Q){return n(Q)?R$(I(Q)):q$(Q)}var V$;var M$=X(()=>{D$();O$();D1();u();V$=dY});function gY(Q){if(typeof Q=="function")return Q;if(Q==null)return z$;if(typeof Q=="object")return w(Q)?N$(Q[0],Q[1]):i5(Q);return V$(Q)}var L$;var f$=X(()=>{u5();w$();F$();M();M$();L$=gY});function pY(Q,J){var Y,Z=-1,H=Q.length;while(++Z<H){var W=J(Q[Z]);if(W!==void 0)Y=Y===void 0?W:Y+W}return Y}var P$;var I$=X(()=>{P$=pY});function yY(Q,J){return Q&&Q.length?P$(Q,L$(J,2)):0}var b;var C$=X(()=>{f$();I$();b=yY});import{randomUUID as u1}from"crypto";var _$=()=>{};function nX(){return l1}function bX(Q){l1=Q}function iX(Q){return V1.has(Q)?V1.get(Q):void 0}function uX(Q,J){V1.set(Q,J)}function lX(Q){return T1.get(Q)}function TX(Q,J){T1.set(Q,J)}function k$(){l1=null,V1.clear(),T1.clear()}function cX(){return c1}function oX(Q){c1=Q}function rX(){c1=void 0}var l1=null,V1,T1,c1;var E$=X(()=>{V1=new Map;T1=new Map});function v$(){let Q=new Set;return{subscribe(J){return Q.add(J),()=>{Q.delete(J)}},emit(...J){for(let Y of Q)Y(...J)},clear(){Q.clear()}}}var d$=()=>{};import{realpathSync as g$}from"fs";import{cwd as mY}from"process";function Z9(Q){return o1.add(Q),()=>o1.delete(Q)}function X9(){L1()}function L1(){for(let Q of o1)try{Q()}catch{}}function p$(){let Q="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof g$==="function"){let Y=mY();try{Q=g$(Y).normalize("NFC")}catch{Q=Y.normalize("NFC")}}return{originalCwd:Q,projectRoot:Q,totalCostUSD:0,totalAPIDuration:0,totalAPIDurationWithoutRetries:0,totalToolDuration:0,turnHookDurationMs:0,turnToolDurationMs:0,turnClassifierDurationMs:0,turnToolCount:0,turnHookCount:0,turnClassifierCount:0,startTime:Date.now(),activeDurationMs:0,turnActiveSince:null,lastInteractionTime:Date.now(),totalLinesAdded:0,totalLinesRemoved:0,hasUnknownModelCost:!1,cwd:Q,modelUsage:{},mainLoopModelOverride:void 0,initialMainLoopModel:null,modelStrings:null,isInteractive:!1,kairosActive:!1,strictToolResultPairing:!1,sdkAgentProgressSummariesEnabled:!1,userMsgOptIn:!1,clientType:"cli",sessionSource:void 0,questionPreviewFormat:void 0,sessionIngressToken:void 0,oauthTokenFromFd:void 0,apiKeyFromFd:void 0,flagSettingsPath:void 0,flagSettingsInline:null,allowedSettingSources:["userSettings","projectSettings","localSettings","flagSettings","policySettings"],meter:null,sessionCounter:null,locCounter:null,prCounter:null,commitCounter:null,costCounter:null,tokenCounter:null,codeEditToolDecisionCounter:null,activeTimeCounter:null,statsStore:null,sessionId:u1(),parentSessionId:void 0,loggerProvider:null,eventLogger:null,meterProvider:null,tracerProvider:null,agentColorMap:new Map,agentColorIndex:0,lastAPIRequest:null,lastAPIRequestMessages:null,lastClassifierRequests:null,cachedClaudeMdContent:null,inMemoryErrorLog:[],inlinePlugins:[],useCoworkPlugins:!1,sessionBypassPermissionsMode:!1,scheduledTasksEnabled:!1,sessionCronTasks:[],pendingSessionWakeup:null,sessionCreatedTeams:new Set,sessionTrustAccepted:!1,sessionPersistenceDisabled:!1,hasExitedPlanMode:!1,needsPlanModeExitAttachment:!1,needsAutoModeExitAttachment:!1,initJsonSchema:null,registeredHooks:null,planSlugCache:new Map,teleportedSessionInfo:null,invokedSkills:new Map,slowOperations:[],sdkBetas:void 0,mainThreadAgentType:void 0,isRemoteMode:!1,directConnectServerUrl:void 0,systemPromptSectionCache:new Map,lastEmittedDate:null,additionalDirectoriesForClaudeMd:[],allowedChannels:[],hasDevChannels:!1,sessionProjectDir:null,largeSystemPromptDetected:null,afkModeHeaderLatched:null,fastModeHeaderLatched:null,thinkingClearLatched:null,lspDeferLatchedTools:null,deferredDeltaLegacySession:!1,sessionEpochMs:Date.now()-process.uptime()*1000,promptId:null,lastMainRequestId:void 0,lastApiCompletionTimestamp:null,pendingPostCompaction:!1}}function H9(){return $.sessionId}function W9(Q={}){if(Q.setCurrentAsParent)$.parentSessionId=$.sessionId;return $.planSlugCache.delete($.sessionId),$.sessionId=u1(),$.sessionProjectDir=null,m$($.sessionId),$.sessionId}function x9(){return $.parentSessionId}function U9(Q,J=null){$.planSlugCache.delete($.sessionId),$.sessionId=Q,$.sessionProjectDir=J,m$(Q)}function m$(Q){$.pendingSessionWakeup=null,jY(),$.sessionEpochMs=Date.now(),y$.emit(Q)}function G9(){return $.sessionProjectDir}function B9(){return $.originalCwd}function N9(){return $.projectRoot}function w9(Q){$.originalCwd=Q.normalize("NFC")}function z9(Q){$.projectRoot=Q.normalize("NFC")}function F9(){return $.cwd}function R9(Q){$.cwd=Q.normalize("NFC")}function D9(){return $.directConnectServerUrl}function q9(Q){$.directConnectServerUrl=Q}function O9(Q,J){$.totalAPIDuration+=Q,$.totalAPIDurationWithoutRetries+=J}function V9(){$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalCostUSD=0}function M9(Q,J,Y){$.modelUsage[Y]=J,$.totalCostUSD+=Q}function L9(){return $.totalCostUSD}function f9(){return $.totalAPIDuration}function P9(){if($.turnActiveSince==null)$.turnActiveSince=Date.now()}function I9(){if($.turnActiveSince!=null)$.activeDurationMs+=Date.now()-$.turnActiveSince,$.turnActiveSince=null}function C9(){return $.activeDurationMs+($.turnActiveSince!=null?Date.now()-$.turnActiveSince:0)}function _9(){return $.totalAPIDurationWithoutRetries}function k9(){return $.totalToolDuration}function E9(Q){$.totalToolDuration+=Q,$.turnToolDurationMs+=Q,$.turnToolCount++}function v9(){return $.turnHookDurationMs}function d9(Q){$.turnHookDurationMs+=Q,$.turnHookCount++}function g9(){$.turnHookDurationMs=0,$.turnHookCount=0}function p9(){return $.turnHookCount}function y9(){return $.turnToolDurationMs}function m9(){$.turnToolDurationMs=0,$.turnToolCount=0}function S9(){return $.turnToolCount}function A9(){return $.turnClassifierDurationMs}function j9(Q){$.turnClassifierDurationMs+=Q,$.turnClassifierCount++}function h9(){$.turnClassifierDurationMs=0,$.turnClassifierCount=0}function n9(){return $.turnClassifierCount}function b9(){return $.statsStore}function i9(Q){$.statsStore=Q}function u9(Q){if(Q)S$();else r1=!0}function l9(){if(r1)S$()}function S$(){$.lastInteractionTime=Date.now(),r1=!1}function T9(Q,J){$.totalLinesAdded+=Q,$.totalLinesRemoved+=J}function c9(){return $.totalLinesAdded}function o9(){return $.totalLinesRemoved}function r9(){return b(Object.values($.modelUsage),"inputTokens")}function A$(){return b(Object.values($.modelUsage),"outputTokens")}function s9(){return b(Object.values($.modelUsage),"cacheReadInputTokens")}function a9(){return b(Object.values($.modelUsage),"cacheCreationInputTokens")}function t9(){return b(Object.values($.modelUsage),"webSearchRequests")}function e9(){return A$()-s1}function QH(){return a1}function $H(Q){s1=A$(),a1=Q,f1=0}function JH(){return f1}function YH(){f1++}function ZH(){$.hasUnknownModelCost=!0}function XH(){return $.hasUnknownModelCost}function HH(){return $.lastMainRequestId}function WH(Q){$.lastMainRequestId=Q}function xH(){return $.lastApiCompletionTimestamp}function UH(Q){$.lastApiCompletionTimestamp=Q}function KH(){$.pendingPostCompaction=!0}function GH(){let Q=$.pendingPostCompaction;return $.pendingPostCompaction=!1,Q}function BH(){return $.lastInteractionTime}function NH(){if(M1=!0,l)clearTimeout(l);l=setTimeout(()=>{M1=!1,l=void 0},j$),l.unref?.()}function wH(){return M1}async function zH(){while(M1)await new Promise((Q)=>setTimeout(Q,j$).unref?.())}function FH(){return $.modelUsage}function RH(Q){return $.modelUsage[Q]}function DH(){return $.mainLoopModelOverride}function qH(){return $.initialMainLoopModel}function OH(Q){$.mainLoopModelOverride=Q}function VH(Q){$.initialMainLoopModel=Q}function MH(){return $.sdkBetas}function LH(Q){$.sdkBetas=Q}function fH(){$.totalCostUSD=0,$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalToolDuration=0,$.startTime=Date.now(),$.activeDurationMs=0,$.turnActiveSince=null,$.totalLinesAdded=0,$.totalLinesRemoved=0,$.hasUnknownModelCost=!1,$.modelUsage={},$.promptId=null}function PH({totalCostUSD:Q,totalAPIDuration:J,totalAPIDurationWithoutRetries:Y,totalToolDuration:Z,totalLinesAdded:H,totalLinesRemoved:W,lastDuration:x,modelUsage:U}){if($.totalCostUSD=Q,$.totalAPIDuration=J,$.totalAPIDurationWithoutRetries=Y,$.totalToolDuration=Z,$.totalLinesAdded=H,$.totalLinesRemoved=W,U)$.modelUsage=U;$.activeDurationMs=x??0,$.turnActiveSince=null}function IH(){throw Error("resetStateForTests can only be called in tests")}function CH(){return $.modelStrings}function _H(Q){$.modelStrings=Q}function kH(){$.modelStrings=null}function EH(Q,J){$.meter=Q,$.sessionCounter=J("claude_code.session.count",{description:"Count of CLI sessions started"}),$.locCounter=J("claude_code.lines_of_code.count",{description:"Count of lines of code modified, with the 'type' attribute indicating whether lines were added or removed"}),$.prCounter=J("claude_code.pull_request.count",{description:"Number of pull requests created"}),$.commitCounter=J("claude_code.commit.count",{description:"Number of git commits created"}),$.costCounter=J("claude_code.cost.usage",{description:"Cost of the Claude Code session",unit:"USD"}),$.tokenCounter=J("claude_code.token.usage",{description:"Number of tokens used",unit:"tokens"}),$.codeEditToolDecisionCounter=J("claude_code.code_edit_tool.decision",{description:"Count of code editing tool permission decisions (accept/reject) for Edit, Write, and NotebookEdit tools"}),$.activeTimeCounter=J("claude_code.active_time.total",{description:"Total active time in seconds",unit:"s"})}function vH(){return $.meter}function dH(){return $.sessionCounter}function gH(){return $.locCounter}function pH(){return $.prCounter}function yH(){return $.commitCounter}function mH(){return $.costCounter}function SH(){return $.tokenCounter}function AH(){return $.codeEditToolDecisionCounter}function jH(){return $.activeTimeCounter}function hH(){return $.loggerProvider}function nH(Q){$.loggerProvider=Q}function bH(){return $.eventLogger}function iH(Q){$.eventLogger=Q}function uH(){return $.meterProvider}function lH(Q){$.meterProvider=Q}function TH(){return $.tracerProvider}function cH(Q){$.tracerProvider=Q}function SY(){return!$.isInteractive}function oH(){return $.isInteractive}function rH(Q){$.isInteractive=Q}function sH(){return $.clientType}function aH(Q){$.clientType=Q}function tH(){return $.sdkAgentProgressSummariesEnabled}function eH(Q){$.sdkAgentProgressSummariesEnabled=Q}function Q4(){return $.kairosActive}function $4(Q){$.kairosActive=Q,L1()}function J4(){return $.strictToolResultPairing}function Y4(Q){$.strictToolResultPairing=Q}function Z4(){return $.userMsgOptIn}function X4(Q){$.userMsgOptIn=Q,L1()}function H4(){return $.sessionSource}function W4(Q){$.sessionSource=Q}function x4(){return $.questionPreviewFormat}function U4(Q){$.questionPreviewFormat=Q}function K4(){return $.agentColorMap}function G4(){return $.flagSettingsPath}function B4(Q){$.flagSettingsPath=Q}function N4(){return $.flagSettingsInline}function w4(Q){$.flagSettingsInline=Q}function z4(){return $.sessionIngressToken}function F4(Q){$.sessionIngressToken=Q}function R4(){return $.oauthTokenFromFd}function D4(Q){$.oauthTokenFromFd=Q}function q4(){return $.apiKeyFromFd}function O4(Q){$.apiKeyFromFd=Q}function V4(Q){$.lastAPIRequest=Q}function M4(){return $.lastAPIRequest}function L4(Q){$.lastAPIRequestMessages=Q}function f4(){return $.lastAPIRequestMessages}function P4(Q){$.lastClassifierRequests=Q}function I4(){return $.lastClassifierRequests}function C4(Q){$.cachedClaudeMdContent=Q}function _4(){return $.cachedClaudeMdContent}function k4(Q){if($.inMemoryErrorLog.length>=100)$.inMemoryErrorLog.shift();$.inMemoryErrorLog.push(Q)}function E4(){return $.allowedSettingSources}function v4(Q){$.allowedSettingSources=Q}function d4(){return SY()&&$.clientType!=="claude-vscode"}function g4(Q){$.inlinePlugins=Q}function p4(){return $.inlinePlugins}function y4(Q){$.useCoworkPlugins=Q,k$()}function m4(){return $.useCoworkPlugins}function S4(Q){$.sessionBypassPermissionsMode=Q}function A4(){return $.sessionBypassPermissionsMode}function j4(Q){$.scheduledTasksEnabled=Q}function h4(){return $.scheduledTasksEnabled}function n4(){return $.sessionCronTasks}function b4(Q){$.sessionCronTasks.push(Q)}function i4(Q){if(Q.length===0)return 0;let J=new Set(Q),Y=$.sessionCronTasks.filter((H)=>!J.has(H.id)),Z=$.sessionCronTasks.length-Y.length;if(Z===0)return 0;return $.sessionCronTasks=Y,Z}function u4(){return $.pendingSessionWakeup}function l4(Q){let J=$.pendingSessionWakeup!==null;return $.pendingSessionWakeup=Q,J}function T4(){$.pendingSessionWakeup=null}function c4(Q){$.sessionTrustAccepted=Q}function o4(){return $.sessionTrustAccepted}function r4(Q){$.sessionPersistenceDisabled=Q}function s4(){return $.sessionPersistenceDisabled}function a4(){return $.hasExitedPlanMode}function t4(Q){$.hasExitedPlanMode=Q}function e4(){return $.needsPlanModeExitAttachment}function Q3(Q){$.needsPlanModeExitAttachment=Q}function $3(Q,J){if(J==="plan"&&Q!=="plan")$.needsPlanModeExitAttachment=!1;if(Q==="plan"&&J!=="plan")$.needsPlanModeExitAttachment=!0}function J3(){return $.needsAutoModeExitAttachment}function Y3(Q){$.needsAutoModeExitAttachment=Q}function Z3(Q,J){if(Q==="auto"&&J==="plan"||Q==="plan"&&J==="auto")return;let Y=Q==="auto",Z=J==="auto";if(Z&&!Y)$.needsAutoModeExitAttachment=!1;if(Y&&!Z)$.needsAutoModeExitAttachment=!0}function X3(Q){$.initJsonSchema=Q}function H3(){return $.initJsonSchema}function W3(Q){if(!$.registeredHooks)$.registeredHooks={};for(let[J,Y]of Object.entries(Q)){let Z=J;if(!$.registeredHooks[Z])$.registeredHooks[Z]=[];$.registeredHooks[Z].push(...Y)}}function x3(){return $.registeredHooks}function U3(){$.registeredHooks=null}function K3(){if(!$.registeredHooks)return;let Q={};for(let[J,Y]of Object.entries($.registeredHooks)){let Z=Y.filter((H)=>!("pluginRoot"in H));if(Z.length>0)Q[J]=Z}$.registeredHooks=Object.keys(Q).length>0?Q:null}function G3(){$.initJsonSchema=null,$.registeredHooks=null}function B3(){return $.planSlugCache}function N3(){return $.sessionCreatedTeams}function w3(Q){$.teleportedSessionInfo={isTeleported:!0,hasLoggedFirstMessage:!1,sessionId:Q.sessionId}}function z3(){return $.teleportedSessionInfo}function F3(){if($.teleportedSessionInfo)$.teleportedSessionInfo.hasLoggedFirstMessage=!0}function R3(Q,J,Y,Z=null){let H=`${Z??""}:${Q}`;$.invokedSkills.set(H,{skillName:Q,skillPath:J,content:Y,invokedAt:Date.now(),agentId:Z})}function D3(){return $.invokedSkills}function q3(Q){let J=Q??null,Y=new Map;for(let[Z,H]of $.invokedSkills)if(H.agentId===J)Y.set(Z,H);return Y}function O3(Q){if(!Q||Q.size===0){$.invokedSkills.clear();return}for(let[J,Y]of $.invokedSkills)if(Y.agentId===null||!Q.has(Y.agentId))$.invokedSkills.delete(J)}function V3(Q){for(let[J,Y]of $.invokedSkills)if(Y.agentId===Q)$.invokedSkills.delete(J)}function M3(Q,J){}function L3(){return AY}function f3(){return $.mainThreadAgentType}function P3(Q){$.mainThreadAgentType=Q}function I3(){return $.isRemoteMode}function C3(Q){$.isRemoteMode=Q}function _3(){return $.systemPromptSectionCache}function k3(Q,J){$.systemPromptSectionCache.set(Q,J)}function E3(){$.systemPromptSectionCache.clear()}function v3(){return $.lastEmittedDate}function d3(Q){$.lastEmittedDate=Q}function g3(){return $.additionalDirectoriesForClaudeMd}function p3(Q){$.additionalDirectoriesForClaudeMd=Q}function y3(){return $.allowedChannels}function m3(Q){$.allowedChannels=Q,L1()}function S3(){return $.hasDevChannels}function A3(Q){$.hasDevChannels=Q}function j3(){return $.largeSystemPromptDetected}function h3(Q){$.largeSystemPromptDetected=Q}function n3(){return $.afkModeHeaderLatched}function b3(Q){$.afkModeHeaderLatched=Q}function i3(){return $.fastModeHeaderLatched}function u3(Q){$.fastModeHeaderLatched=Q}function l3(){return $.thinkingClearLatched}function T3(Q){$.thinkingClearLatched=Q}function c3(Q){return $.lspDeferLatchedTools?.has(Q)??!1}function o3(Q){if(!$.lspDeferLatchedTools)$.lspDeferLatchedTools=new Set;$.lspDeferLatchedTools.add(Q)}function r3(){return $.deferredDeltaLegacySession}function s3(Q){$.deferredDeltaLegacySession=Q}function jY(){$.afkModeHeaderLatched=null,$.fastModeHeaderLatched=null,$.thinkingClearLatched=null,$.lspDeferLatchedTools=null,$.deferredDeltaLegacySession=!1}function a3(){return $.sessionEpochMs}function t3(){return $.promptId}function e3(Q){$.promptId=Q}function QW(){return!1}function $W(){return null}var o1,$,y$,K9,r1=!1,s1=0,a1=null,f1=0,M1=!1,l,j$=150,AY;var hY=X(()=>{C$();_$();E$();d$();o1=new Set;$=p$();y$=v$();K9=y$.subscribe;AY=[]});
2
- export{p as rna,I1 as sna,zQ as tna,FQ as una,qQ as vna,OQ as wna,_1 as xna,VQ as yna,fQ as zna,PQ as Ana,vQ as Bna,dQ as Cna,w as Dna,M as Ena,gQ as Fna,pQ as Gna,yQ as Hna,mQ as Ina,SQ as Jna,AQ as Kna,hQ as Lna,nQ as Mna,O as Nna,S as Ona,t as Pna,v1 as Qna,A as Rna,d1 as Sna,$1 as Tna,g1 as Una,Q5 as Vna,$5 as Wna,X1 as Xna,Z5 as Yna,H1 as Zna,y1 as _na,H5 as $na,W5 as aoa,x5 as boa,U5 as coa,K5 as doa,G5 as eoa,R5 as foa,D5 as goa,W1 as hoa,m1 as ioa,S1 as joa,q5 as koa,G1 as loa,f5 as moa,A1 as noa,v5 as ooa,w1 as poa,j1 as qoa,h as roa,R1 as soa,s5 as toa,a5 as uoa,Y$ as voa,Z$ as woa,q1 as xoa,b1 as yoa,I as zoa,u as Aoa,O1 as Boa,i1 as Coa,z$ as Doa,F$ as Eoa,L$ as Foa,f$ as Goa,nX as Hoa,bX as Ioa,iX as Joa,uX as Koa,lX as Loa,TX as Moa,k$ as Noa,cX as Ooa,oX as Poa,rX as Qoa,E$ as Roa,v$ as Soa,d$ as Toa,Z9 as Uoa,X9 as Voa,H9 as Woa,W9 as Xoa,x9 as Yoa,U9 as Zoa,K9 as _oa,G9 as $oa,B9 as apa,N9 as bpa,w9 as cpa,z9 as dpa,F9 as epa,R9 as fpa,D9 as gpa,q9 as hpa,O9 as ipa,V9 as jpa,M9 as kpa,L9 as lpa,f9 as mpa,P9 as npa,I9 as opa,C9 as ppa,_9 as qpa,k9 as rpa,E9 as spa,v9 as tpa,d9 as upa,g9 as vpa,p9 as wpa,y9 as xpa,m9 as ypa,S9 as zpa,A9 as Apa,j9 as Bpa,h9 as Cpa,n9 as Dpa,b9 as Epa,i9 as Fpa,u9 as Gpa,l9 as Hpa,T9 as Ipa,c9 as Jpa,o9 as Kpa,r9 as Lpa,A$ as Mpa,s9 as Npa,a9 as Opa,t9 as Ppa,e9 as Qpa,QH as Rpa,$H as Spa,JH as Tpa,YH as Upa,ZH as Vpa,XH as Wpa,HH as Xpa,WH as Ypa,xH as Zpa,UH as _pa,KH as $pa,GH as aqa,BH as bqa,NH as cqa,wH as dqa,zH as eqa,FH as fqa,RH as gqa,DH as hqa,qH as iqa,OH as jqa,VH as kqa,MH as lqa,LH as mqa,fH as nqa,PH as oqa,IH as pqa,CH as qqa,_H as rqa,kH as sqa,EH as tqa,vH as uqa,dH as vqa,gH as wqa,pH as xqa,yH as yqa,mH as zqa,SH as Aqa,AH as Bqa,jH as Cqa,hH as Dqa,nH as Eqa,bH as Fqa,iH as Gqa,uH as Hqa,lH as Iqa,TH as Jqa,cH as Kqa,SY as Lqa,oH as Mqa,rH as Nqa,sH as Oqa,aH as Pqa,tH as Qqa,eH as Rqa,Q4 as Sqa,$4 as Tqa,J4 as Uqa,Y4 as Vqa,Z4 as Wqa,X4 as Xqa,H4 as Yqa,W4 as Zqa,x4 as _qa,U4 as $qa,K4 as ara,G4 as bra,B4 as cra,N4 as dra,w4 as era,z4 as fra,F4 as gra,R4 as hra,D4 as ira,q4 as jra,O4 as kra,V4 as lra,M4 as mra,L4 as nra,f4 as ora,P4 as pra,I4 as qra,C4 as rra,_4 as sra,k4 as tra,E4 as ura,v4 as vra,d4 as wra,g4 as xra,p4 as yra,y4 as zra,m4 as Ara,S4 as Bra,A4 as Cra,j4 as Dra,h4 as Era,n4 as Fra,b4 as Gra,i4 as Hra,u4 as Ira,l4 as Jra,T4 as Kra,c4 as Lra,o4 as Mra,r4 as Nra,s4 as Ora,a4 as Pra,t4 as Qra,e4 as Rra,Q3 as Sra,$3 as Tra,J3 as Ura,Y3 as Vra,Z3 as Wra,X3 as Xra,H3 as Yra,W3 as Zra,x3 as _ra,U3 as $ra,K3 as asa,G3 as bsa,B3 as csa,N3 as dsa,w3 as esa,z3 as fsa,F3 as gsa,R3 as hsa,D3 as isa,q3 as jsa,O3 as ksa,V3 as lsa,M3 as msa,L3 as nsa,f3 as osa,P3 as psa,I3 as qsa,C3 as rsa,_3 as ssa,k3 as tsa,E3 as usa,v3 as vsa,d3 as wsa,g3 as xsa,p3 as ysa,y3 as zsa,m3 as Asa,S3 as Bsa,A3 as Csa,j3 as Dsa,h3 as Esa,n3 as Fsa,b3 as Gsa,i3 as Hsa,u3 as Isa,l3 as Jsa,T3 as Ksa,c3 as Lsa,o3 as Msa,r3 as Nsa,s3 as Osa,jY as Psa,a3 as Qsa,t3 as Rsa,e3 as Ssa,QW as Tsa,$W as Usa,hY as Vsa};
@@ -1,2 +0,0 @@
1
- import{Uga as H,Xga as J,qha as R}from"./cli-1.1.30-mebteknr.mjs";import{Mua as Q}from"./cli-1.1.30-7dtpd1ra.mjs";function M(q){return U(J(),q)}function S(q,z){let B=L[q],D=T(M(q),z);return H((P)=>({...P,[B]:D})),D.includes(z)}function X(q,z){return{list:()=>M(q),toggle:(B)=>{S(q,B)},keyOf:z}}function T(q,z){return q.includes(z)?q.filter((B)=>B!==z):[...q,z]}function U(q,z){let B=q[L[z]];return Array.isArray(B)?B.filter((D)=>typeof D==="string"):[]}var L;var V=Q(()=>{R();L={model:"favoriteModels",providerProfile:"favoriteProviderProfiles"}});
2
- export{X as pi,V as qi};
@@ -1,2 +0,0 @@
1
- import{Ec as Y,Fc as Z,Gc as _,Jc as b}from"./cli-1.1.30-g3qd3ec3.mjs";import{Be as V,we as X}from"./cli-1.1.30-r4ap6bq3.mjs";import{BM as O,CM as W,MM as S,rM as T,wM as U}from"./cli-1.1.30-pc2wp50b.mjs";import{Ama as K,xma as Q}from"./cli-1.1.30-7h45a0x6.mjs";import{Xma as L,cna as C}from"./cli-1.1.30-gv4z21b9.mjs";V();K();C();S();O();b();function j(E,H,J){let G=new Set(H.plugins.map((v)=>v.name)),z=`@${J}`,q=[];for(let v of Object.keys(E.plugins)){if(!v.endsWith(z))continue;let h=v.slice(0,-z.length);if(!G.has(h))q.push(v)}return q}async function F(){await Y();let E=W(),H=Z(),J=await T(),G=[];for(let z of Object.keys(J))try{let q=await U(z);if(!q.forceRemoveDeletedPlugins)continue;let v=j(E,q,z);for(let h of v){if(h in H)continue;let R=E.plugins[h]??[];if(!R.some((A)=>A.scope==="user"||A.scope==="project"||A.scope==="local"))continue;for(let A of R){let{scope:B}=A;if(B!=="user"&&B!=="project"&&B!=="local")continue;try{await X(h,B)}catch($){Q(`Failed to auto-uninstall delisted plugin ${h} from ${B}: ${L($)}`,{level:"error"})}}await _(h),G.push(h)}}catch(q){Q(`Failed to check for delisted plugins in "${z}": ${L(q)}`,{level:"warn"})}return G}
2
- export{F as vb};
@@ -1,2 +0,0 @@
1
- import{Mua as g}from"./cli-1.1.30-7dtpd1ra.mjs";import{lstat as c,readdir as Cq,realpath as Mq,stat as Kq}from"node:fs/promises";import{join as Nq,relative as Hq,resolve as l,sep as Yq}from"node:path";import{Readable as Oq}from"node:stream";function i(q,J={}){let X=J.entryType||J.type;if(X==="both")X=H.FILE_DIR_TYPE;if(X)J.type=X;if(!q)throw Error("readdirp: root argument is required. Usage: readdirp(root, options)");else if(typeof q!=="string")throw TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");else if(X&&!o.includes(X))throw Error(`readdirp: Invalid type passed. Use one of ${o.join(", ")}`);return J.root=q,new u(J)}var H,_,h="READDIRP_RECURSIVE_ERROR",Iq,o,bq,Dq,Vq=(q)=>Iq.has(q.code),Lq,p=(q)=>!0,n=(q)=>{if(q===void 0)return p;if(typeof q==="function")return q;if(typeof q==="string"){let J=q.trim();return(X)=>X.basename===J}if(Array.isArray(q)){let J=q.map((X)=>X.trim());return(X)=>J.some((Q)=>X.basename===Q)}return p},u;var s=g(()=>{H={FILE_TYPE:"files",DIR_TYPE:"directories",FILE_DIR_TYPE:"files_directories",EVERYTHING_TYPE:"all"},_={root:".",fileFilter:(q)=>!0,directoryFilter:(q)=>!0,type:H.FILE_TYPE,lstat:!1,depth:2147483648,alwaysStat:!1,highWaterMark:4096};Object.freeze(_);Iq=new Set(["ENOENT","EPERM","EACCES","ELOOP",h]),o=[H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE],bq=new Set([H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE]),Dq=new Set([H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE]),Lq=process.platform==="win32";u=class u extends Oq{parents;reading;parent;_stat;_maxDepth;_wantsDir;_wantsFile;_wantsEverything;_root;_isDirent;_statsProp;_rdOptions;_fileFilter;_directoryFilter;constructor(q={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:q.highWaterMark});let J={..._,...q},{root:X,type:Q}=J;this._fileFilter=n(J.fileFilter),this._directoryFilter=n(J.directoryFilter);let Z=J.lstat?c:Kq;if(Lq)this._stat=(z)=>Z(z,{bigint:!0});else this._stat=Z;this._maxDepth=J.depth!=null&&Number.isSafeInteger(J.depth)?J.depth:_.depth,this._wantsDir=Q?bq.has(Q):!1,this._wantsFile=Q?Dq.has(Q):!1,this._wantsEverything=Q===H.EVERYTHING_TYPE,this._root=l(X),this._isDirent=!J.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(X,1)],this.reading=!1,this.parent=void 0}async _read(q){if(this.reading)return;this.reading=!0;try{while(!this.destroyed&&q>0){let J=this.parent,X=J&&J.files;if(X&&X.length>0){let{path:Q,depth:Z}=J,z=X.splice(0,q).map((G)=>this._formatEntry(G,Q)),$=await Promise.all(z);for(let G of $){if(!G)continue;if(this.destroyed)return;let U=await this._getEntryType(G);if(U==="directory"&&this._directoryFilter(G)){if(Z<=this._maxDepth)this.parents.push(this._exploreDir(G.fullPath,Z+1));if(this._wantsDir)this.push(G),q--}else if((U==="file"||this._includeAsFile(G))&&this._fileFilter(G)){if(this._wantsFile)this.push(G),q--}}}else{let Q=this.parents.pop();if(!Q){this.push(null);break}if(this.parent=await Q,this.destroyed)return}}}catch(J){this.destroy(J)}finally{this.reading=!1}}async _exploreDir(q,J){let X;try{X=await Cq(q,this._rdOptions)}catch(Q){this._onError(Q)}return{files:X,depth:J,path:q}}async _formatEntry(q,J){let X,Q=this._isDirent?q.name:q;try{let Z=l(Nq(J,Q));X={path:Hq(this._root,Z),fullPath:Z,basename:Q},X[this._statsProp]=this._isDirent?q:await this._stat(Z)}catch(Z){this._onError(Z);return}return X}_onError(q){if(Vq(q)&&!this.destroyed)this.emit("warn",q);else this.destroy(q)}async _getEntryType(q){if(!q&&this._statsProp in q)return"";let J=q[this._statsProp];if(J.isFile())return"file";if(J.isDirectory())return"directory";if(J&&J.isSymbolicLink()){let X=q.fullPath;try{let Q=await Mq(X),Z=await c(Q);if(Z.isFile())return"file";if(Z.isDirectory()){let z=Q.length;if(X.startsWith(Q)&&X.substr(z,1)===Yq){let $=Error(`Circular symlink detected: "${X}" points to "${Q}"`);return $.code=h,this._onError($)}return"directory"}}catch(Q){return this._onError(Q),""}}}_includeAsFile(q){let J=q&&q[this._statsProp];return J&&this._wantsEverything&&!J.isDirectory()}}});import{watch as Aq,unwatchFile as a,watchFile as Wq}from"node:fs";import{realpath as P,lstat as Fq,open as Rq,stat as e}from"node:fs/promises";import{type as Tq}from"node:os";import*as M from"node:path";function r(q,J,X,Q,Z){let z=($,G)=>{if(X(q),Z($,G,{watchedPath:q}),G&&q!==G)W(M.resolve(q,G),I,M.join(q,G))};try{return Aq(q,{persistent:J.persistent},z)}catch($){Q($);return}}class f{fsw;_boundHandleError;constructor(q){this.fsw=q,this._boundHandleError=(J)=>q._handleError(J)}_watchWithNodeFs(q,J){let X=this.fsw.options,Q=M.dirname(q),Z=M.basename(q);this.fsw._getWatchedDir(Q).add(Z);let $=M.resolve(q),G={persistent:X.persistent};if(!J)J=F;let U;if(X.usePolling){let x=X.interval!==X.binaryInterval;G.interval=x&&fq(Z)?X.binaryInterval:X.interval,U=dq(q,$,G,{listener:J,rawEmitter:this.fsw._emitRaw})}else U=mq(q,$,G,{listener:J,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw});return U}_handleFile(q,J,X){if(this.fsw.closed)return;let Q=M.dirname(q),Z=M.basename(q),z=this.fsw._getWatchedDir(Q),$=J;if(z.has(Z))return;let G=async(x,j)=>{if(!this.fsw._throttle(Sq,q,5))return;if(!j||j.mtimeMs===0)try{let k=await e(q);if(this.fsw.closed)return;let{atimeMs:K,mtimeMs:N}=k;if(!K||K<=N||N!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,k);if((gq||uq||Pq)&&$.ino!==k.ino){this.fsw._closeFile(x),$=k;let O=this._watchWithNodeFs(q,G);if(O)this.fsw._addPathCloser(x,O)}else $=k}catch(k){this.fsw._remove(Q,Z)}else if(z.has(Z)){let{atimeMs:k,mtimeMs:K}=j;if(!k||k<=K||K!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,j);$=j}},U=this._watchWithNodeFs(q,G);if(!(X&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(q)){if(!this.fsw._throttle(Y.ADD,q,0))return;this.fsw._emit(Y.ADD,q,J)}return U}async _handleSymlink(q,J,X,Q){if(this.fsw.closed)return;let Z=q.fullPath,z=this.fsw._getWatchedDir(J);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let $;try{$=await P(X)}catch(G){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;if(z.has(Q)){if(this.fsw._symlinkPaths.get(Z)!==$)this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.CHANGE,X,q.stats)}else z.add(Q),this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.ADD,X,q.stats);return this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(Z))return!0;this.fsw._symlinkPaths.set(Z,!0)}_handleRead(q,J,X,Q,Z,z,$){q=M.join(q,"");let G=Q?`${q}:${Q}`:q;if($=this.fsw._throttle("readdir",G,1000),!$)return;let U=this.fsw._getWatchedDir(X.path),x=new Set,j=this.fsw._readdirp(q,{fileFilter:(k)=>X.filterPath(k),directoryFilter:(k)=>X.filterDir(k)});if(!j)return;return j.on(_q,async(k)=>{if(this.fsw.closed){j=void 0;return}let K=k.path,N=M.join(q,K);if(x.add(K),k.stats.isSymbolicLink()&&await this._handleSymlink(k,q,N,K))return;if(this.fsw.closed){j=void 0;return}if(K===Q||!Q&&!U.has(K))this.fsw._incrReadyCount(),N=M.join(Z,M.relative(Z,N)),this._addToNodeFs(N,J,X,z+1)}).on(Y.ERROR,this._boundHandleError),new Promise((k,K)=>{if(!j)return K();j.once(w,()=>{if(this.fsw.closed){j=void 0;return}let N=$?$.clear():!1;if(k(void 0),U.getChildren().filter((O)=>{return O!==q&&!x.has(O)}).forEach((O)=>{this.fsw._remove(q,O)}),j=void 0,N)this._handleRead(q,!1,X,Q,Z,z,$)})})}async _handleDir(q,J,X,Q,Z,z,$){let G=this.fsw._getWatchedDir(M.dirname(q)),U=G.has(M.basename(q));if(!(X&&this.fsw.options.ignoreInitial)&&!Z&&!U)this.fsw._emit(Y.ADD_DIR,q,J);G.add(M.basename(q)),this.fsw._getWatchedDir(q);let x,j,k=this.fsw.options.depth;if((k==null||Q<=k)&&!this.fsw._symlinkPaths.has($)){if(!Z){if(await this._handleRead(q,X,z,Z,q,Q,x),this.fsw.closed)return}j=this._watchWithNodeFs(q,(K,N)=>{if(N&&N.mtimeMs===0)return;this._handleRead(K,!1,z,Z,q,Q,x)})}return j}async _addToNodeFs(q,J,X,Q,Z){let z=this.fsw._emitReady;if(this.fsw._isIgnored(q)||this.fsw.closed)return z(),!1;let $=this.fsw._getWatchHelpers(q);if(X)$.filterPath=(G)=>X.filterPath(G),$.filterDir=(G)=>X.filterDir(G);try{let G=await vq[$.statMethod]($.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored($.watchPath,G))return z(),!1;let U=this.fsw.options.followSymlinks,x;if(G.isDirectory()){let j=M.resolve(q),k=U?await P(q):q;if(this.fsw.closed)return;if(x=await this._handleDir($.watchPath,G,J,Q,Z,$,k),this.fsw.closed)return;if(j!==k&&k!==void 0)this.fsw._symlinkPaths.set(j,k)}else if(G.isSymbolicLink()){let j=U?await P(q):q;if(this.fsw.closed)return;let k=M.dirname($.watchPath);if(this.fsw._getWatchedDir(k).add($.watchPath),this.fsw._emit(Y.ADD,$.watchPath,G),x=await this._handleDir(k,G,J,Q,q,$,j),this.fsw.closed)return;if(j!==void 0)this.fsw._symlinkPaths.set(M.resolve(q),j)}else x=this._handleFile($.watchPath,G,J);if(z(),x)this.fsw._addPathCloser(q,x);return!1}catch(G){if(this.fsw._handleError(G))return z(),q}}}var _q="data",w="end",t="close",F=()=>{},R,E,gq,uq,Pq,qq,C,Y,Sq="watch",vq,I="listeners",L="errHandlers",b="rawEmitters",wq,Eq,fq=(q)=>Eq.has(M.extname(q).slice(1).toLowerCase()),v=(q,J)=>{if(q instanceof Set)q.forEach(J);else J(q)},D=(q,J,X)=>{let Q=q[J];if(!(Q instanceof Set))q[J]=Q=new Set([Q]);Q.add(X)},yq=(q)=>(J)=>{let X=q[J];if(X instanceof Set)X.clear();else delete q[J]},V=(q,J,X)=>{let Q=q[J];if(Q instanceof Set)Q.delete(X);else if(Q===X)delete q[J]},Jq=(q)=>q instanceof Set?q.size===0:!q,A,W=(q,J,X,Q,Z)=>{let z=A.get(q);if(!z)return;v(z[J],($)=>{$(X,Q,Z)})},mq=(q,J,X,Q)=>{let{listener:Z,errHandler:z,rawEmitter:$}=Q,G=A.get(J),U;if(!X.persistent){if(U=r(q,X,Z,z,$),!U)return;return U.close.bind(U)}if(G)D(G,I,Z),D(G,L,z),D(G,b,$);else{if(U=r(q,X,W.bind(null,J,I),z,W.bind(null,J,b)),!U)return;U.on(Y.ERROR,async(x)=>{let j=W.bind(null,J,L);if(G)G.watcherUnusable=!0;if(E&&x.code==="EPERM")try{await(await Rq(q,"r")).close(),j(x)}catch(k){}else j(x)}),G={listeners:Z,errHandlers:z,rawEmitters:$,watcher:U},A.set(J,G)}return()=>{if(V(G,I,Z),V(G,L,z),V(G,b,$),Jq(G.listeners))G.watcher.close(),A.delete(J),wq.forEach(yq(G)),G.watcher=void 0,Object.freeze(G)}},S,dq=(q,J,X,Q)=>{let{listener:Z,rawEmitter:z}=Q,$=S.get(J),G=$&&$.options;if(G&&(G.persistent<X.persistent||G.interval>X.interval))a(J),$=void 0;if($)D($,I,Z),D($,b,z);else $={listeners:Z,rawEmitters:z,options:X,watcher:Wq(J,X,(U,x)=>{v($.rawEmitters,(k)=>{k(Y.CHANGE,J,{curr:U,prev:x})});let j=U.mtimeMs;if(U.size!==x.size||j>x.mtimeMs||j===0)v($.listeners,(k)=>k(q,U))})},S.set(J,$);return()=>{if(V($,I,Z),V($,b,z),Jq($.listeners))S.delete(J),a(J),$.options=$.watcher=void 0,Object.freeze($)}};var Qq=g(()=>{R=process.platform,E=R==="win32",gq=R==="darwin",uq=R==="linux",Pq=R==="freebsd",qq=Tq()==="OS400",C={ALL:"all",READY:"ready",ADD:"add",CHANGE:"change",ADD_DIR:"addDir",UNLINK:"unlink",UNLINK_DIR:"unlinkDir",RAW:"raw",ERROR:"error"},Y=C,vq={lstat:Fq,stat:e},wq=[I,L,b],Eq=new Set(["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]),A=new Map;S=new Map});import{EventEmitter as cq}from"node:events";import{stat as lq,Stats as YJ}from"node:fs";import{readdir as oq,stat as pq}from"node:fs/promises";import*as B from"node:path";function T(q){return Array.isArray(q)?q:[q]}function eq(q){if(typeof q==="function")return q;if(typeof q==="string")return(J)=>q===J;if(q instanceof RegExp)return(J)=>q.test(J);if(typeof q==="object"&&q!==null)return(J)=>{if(q.path===J)return!0;if(q.recursive){let X=B.relative(q.path,J);if(!X)return!1;return!X.startsWith("..")&&!B.isAbsolute(X)}return!1};return()=>!1}function tq(q){if(typeof q!=="string")throw Error("string expected");q=B.normalize(q),q=q.replace(/\\/g,"/");let J=!1;if(q.startsWith("//"))J=!0;if(q=q.replace(Uq,"/"),J)q="/"+q;return q}function Xq(q,J,X){let Q=tq(J);for(let Z=0;Z<q.length;Z++){let z=q[Z];if(z(Q,X))return!0}return!1}function qJ(q,J){if(q==null)throw TypeError("anymatch: specify first argument");let Q=T(q).map((Z)=>eq(Z));if(J==null)return(Z,z)=>{return Xq(Q,Z,z)};return Xq(Q,J)}class kq{path;_removeWatcher;items;constructor(q,J){this.path=q,this._removeWatcher=J,this.items=new Set}add(q){let{items:J}=this;if(!J)return;if(q!==zq&&q!==hq)J.add(q)}async remove(q){let{items:J}=this;if(!J)return;if(J.delete(q),J.size>0)return;let X=this.path;try{await oq(X)}catch(Q){if(this._removeWatcher)this._removeWatcher(B.dirname(X),B.basename(X))}}has(q){let{items:J}=this;if(!J)return;return J.has(q)}getChildren(){let{items:q}=this;if(!q)return[];return[...q.values()]}dispose(){this.items.clear(),this.path="",this._removeWatcher=F,this.items=QJ,Object.freeze(this)}}class Bq{fsw;path;watchPath;fullWatchPath;dirParts;followSymlinks;statMethod;constructor(q,J,X){this.fsw=X;let Q=q;this.path=q=q.replace(rq,""),this.watchPath=Q,this.fullWatchPath=B.resolve(Q),this.dirParts=[],this.dirParts.forEach((Z)=>{if(Z.length>1)Z.pop()}),this.followSymlinks=J,this.statMethod=J?XJ:ZJ}entryPath(q){return B.join(this.watchPath,B.relative(this.watchPath,q.fullPath))}filterPath(q){let{stats:J}=q;if(J&&J.isSymbolicLink())return this.filterDir(q);let X=this.entryPath(q);return this.fsw._isntIgnored(X,J)&&this.fsw._hasReadPermissions(J)}filterDir(q){return this.fsw._isntIgnored(this.entryPath(q),q.stats)}}function $J(q,J={}){let X=new d(J);return X.add(q),X}var y="/",nq="//",zq=".",hq="..",iq="string",sq,Uq,aq,rq,m=(q)=>typeof q==="object"&&q!==null&&!(q instanceof RegExp),Zq=(q)=>{let J=T(q).flat();if(!J.every((X)=>typeof X===iq))throw TypeError(`Non-string provided as watch path: ${J}`);return J.map(xq)},$q=(q)=>{let J=q.replace(sq,y),X=!1;if(J.startsWith(nq))X=!0;if(J=J.replace(Uq,y),X)J=y+J;return J},xq=(q)=>$q(B.normalize($q(q))),Gq=(q="")=>(J)=>{if(typeof J==="string")return xq(B.isAbsolute(J)?J:B.join(q,J));else return J},JJ=(q,J)=>{if(B.isAbsolute(q))return q;return B.join(J,q)},QJ,XJ="stat",ZJ="lstat",d,DJ;var GJ=g(()=>{s();Qq();/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */sq=/\\/g,Uq=/\/\//g,aq=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,rq=/^\.[/\\]/;QJ=Object.freeze(new Set);d=class d extends cq{closed;options;_closers;_ignoredPaths;_throttled;_streams;_symlinkPaths;_watched;_pendingWrites;_pendingUnlinks;_readyCount;_emitReady;_closePromise;_userIgnored;_readyEmitted;_emitRaw;_boundRemove;_nodeFsHandler;constructor(q={}){super();this.closed=!1,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._streams=new Set,this._symlinkPaths=new Map,this._watched=new Map,this._pendingWrites=new Map,this._pendingUnlinks=new Map,this._readyCount=0,this._readyEmitted=!1;let J=q.awaitWriteFinish,X={stabilityThreshold:2000,pollInterval:100},Q={persistent:!0,ignoreInitial:!1,ignorePermissionErrors:!1,interval:100,binaryInterval:300,followSymlinks:!0,usePolling:!1,atomic:!0,...q,ignored:q.ignored?T(q.ignored):T([]),awaitWriteFinish:J===!0?X:typeof J==="object"?{...X,...J}:!1};if(qq)Q.usePolling=!0;if(Q.atomic===void 0)Q.atomic=!Q.usePolling;let Z=process.env.CHOKIDAR_USEPOLLING;if(Z!==void 0){let G=Z.toLowerCase();if(G==="false"||G==="0")Q.usePolling=!1;else if(G==="true"||G==="1")Q.usePolling=!0;else Q.usePolling=!!G}let z=process.env.CHOKIDAR_INTERVAL;if(z)Q.interval=Number.parseInt(z,10);let $=0;this._emitReady=()=>{if($++,$>=this._readyCount)this._emitReady=F,this._readyEmitted=!0,process.nextTick(()=>this.emit(C.READY))},this._emitRaw=(...G)=>this.emit(C.RAW,...G),this._boundRemove=this._remove.bind(this),this.options=Q,this._nodeFsHandler=new f(this),Object.freeze(Q)}_addIgnoredPath(q){if(m(q)){for(let J of this._ignoredPaths)if(m(J)&&J.path===q.path&&J.recursive===q.recursive)return}this._ignoredPaths.add(q)}_removeIgnoredPath(q){if(this._ignoredPaths.delete(q),typeof q==="string"){for(let J of this._ignoredPaths)if(m(J)&&J.path===q)this._ignoredPaths.delete(J)}}add(q,J,X){let{cwd:Q}=this.options;this.closed=!1,this._closePromise=void 0;let Z=Zq(q);if(Q)Z=Z.map((z)=>{return JJ(z,Q)});if(Z.forEach((z)=>{this._removeIgnoredPath(z)}),this._userIgnored=void 0,!this._readyCount)this._readyCount=0;return this._readyCount+=Z.length,Promise.all(Z.map(async(z)=>{let $=await this._nodeFsHandler._addToNodeFs(z,!X,void 0,0,J);if($)this._emitReady();return $})).then((z)=>{if(this.closed)return;z.forEach(($)=>{if($)this.add(B.dirname($),B.basename(J||$))})}),this}unwatch(q){if(this.closed)return this;let J=Zq(q),{cwd:X}=this.options;return J.forEach((Q)=>{if(!B.isAbsolute(Q)&&!this._closers.has(Q)){if(X)Q=B.join(X,Q);Q=B.resolve(Q)}if(this._closePath(Q),this._addIgnoredPath(Q),this._watched.has(Q))this._addIgnoredPath({path:Q,recursive:!0});this._userIgnored=void 0}),this}close(){if(this._closePromise)return this._closePromise;this.closed=!0,this.removeAllListeners();let q=[];return this._closers.forEach((J)=>J.forEach((X)=>{let Q=X();if(Q instanceof Promise)q.push(Q)})),this._streams.forEach((J)=>J.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((J)=>J.dispose()),this._closers.clear(),this._watched.clear(),this._streams.clear(),this._symlinkPaths.clear(),this._throttled.clear(),this._closePromise=q.length?Promise.all(q).then(()=>{return}):Promise.resolve(),this._closePromise}getWatched(){let q={};return this._watched.forEach((J,X)=>{let Z=(this.options.cwd?B.relative(this.options.cwd,X):X)||zq;q[Z]=J.getChildren().sort()}),q}emitWithAll(q,J){if(this.emit(q,...J),q!==C.ERROR)this.emit(C.ALL,q,...J)}async _emit(q,J,X){if(this.closed)return;let Q=this.options;if(E)J=B.normalize(J);if(Q.cwd)J=B.relative(Q.cwd,J);let Z=[J];if(X!=null)Z.push(X);let z=Q.awaitWriteFinish,$;if(z&&($=this._pendingWrites.get(J)))return $.lastChange=new Date,this;if(Q.atomic){if(q===C.UNLINK)return this._pendingUnlinks.set(J,[q,...Z]),setTimeout(()=>{this._pendingUnlinks.forEach((G,U)=>{this.emit(...G),this.emit(C.ALL,...G),this._pendingUnlinks.delete(U)})},typeof Q.atomic==="number"?Q.atomic:100),this;if(q===C.ADD&&this._pendingUnlinks.has(J))q=C.CHANGE,this._pendingUnlinks.delete(J)}if(z&&(q===C.ADD||q===C.CHANGE)&&this._readyEmitted){let G=(U,x)=>{if(U)q=C.ERROR,Z[0]=U,this.emitWithAll(q,Z);else if(x){if(Z.length>1)Z[1]=x;else Z.push(x);this.emitWithAll(q,Z)}};return this._awaitWriteFinish(J,z.stabilityThreshold,q,G),this}if(q===C.CHANGE){if(!this._throttle(C.CHANGE,J,50))return this}if(Q.alwaysStat&&X===void 0&&(q===C.ADD||q===C.ADD_DIR||q===C.CHANGE)){let G=Q.cwd?B.join(Q.cwd,J):J,U;try{U=await pq(G)}catch(x){}if(!U||this.closed)return;Z.push(U)}return this.emitWithAll(q,Z),this}_handleError(q){let J=q&&q.code;if(q&&J!=="ENOENT"&&J!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||J!=="EPERM"&&J!=="EACCES"))this.emit(C.ERROR,q);return q||this.closed}_throttle(q,J,X){if(!this._throttled.has(q))this._throttled.set(q,new Map);let Q=this._throttled.get(q);if(!Q)throw Error("invalid throttle");let Z=Q.get(J);if(Z)return Z.count++,!1;let z,$=()=>{let U=Q.get(J),x=U?U.count:0;if(Q.delete(J),clearTimeout(z),U)clearTimeout(U.timeoutObject);return x};z=setTimeout($,X);let G={timeoutObject:z,clear:$,count:0};return Q.set(J,G),G}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(q,J,X,Q){let Z=this.options.awaitWriteFinish;if(typeof Z!=="object")return;let z=Z.pollInterval,$,G=q;if(this.options.cwd&&!B.isAbsolute(q))G=B.join(this.options.cwd,q);let U=new Date,x=this._pendingWrites;function j(k){lq(G,(K,N)=>{if(K||!x.has(q)){if(K&&K.code!=="ENOENT")Q(K);return}let O=Number(new Date);if(k&&N.size!==k.size)x.get(q).lastChange=O;let jq=x.get(q);if(O-jq.lastChange>=J)x.delete(q),Q(void 0,N);else $=setTimeout(j,z,N)})}if(!x.has(q))x.set(q,{lastChange:U,cancelWait:()=>{return x.delete(q),clearTimeout($),X}}),$=setTimeout(j,z)}_isIgnored(q,J){if(this.options.atomic&&aq.test(q))return!0;if(!this._userIgnored){let{cwd:X}=this.options,Z=(this.options.ignored||[]).map(Gq(X)),$=[...[...this._ignoredPaths].map(Gq(X)),...Z];this._userIgnored=qJ($,void 0)}return this._userIgnored(q,J)}_isntIgnored(q,J){return!this._isIgnored(q,J)}_getWatchHelpers(q){return new Bq(q,this.options.followSymlinks,this)}_getWatchedDir(q){let J=B.resolve(q);if(!this._watched.has(J))this._watched.set(J,new kq(J,this._boundRemove));return this._watched.get(J)}_hasReadPermissions(q){if(this.options.ignorePermissionErrors)return!0;return Boolean(Number(q.mode)&256)}_remove(q,J,X){let Q=B.join(q,J),Z=B.resolve(Q);if(X=X!=null?X:this._watched.has(Q)||this._watched.has(Z),!this._throttle("remove",Q,100))return;if(!X&&this._watched.size===1)this.add(q,J,!0);this._getWatchedDir(Q).getChildren().forEach((k)=>this._remove(Q,k));let G=this._getWatchedDir(q),U=G.has(J);if(G.remove(J),this._symlinkPaths.has(Z))this._symlinkPaths.delete(Z);let x=Q;if(this.options.cwd)x=B.relative(this.options.cwd,Q);if(this.options.awaitWriteFinish&&this._pendingWrites.has(x)){if(this._pendingWrites.get(x).cancelWait()===C.ADD)return}this._watched.delete(Q),this._watched.delete(Z);let j=X?C.UNLINK_DIR:C.UNLINK;if(U&&!this._isIgnored(Q))this._emit(j,Q);this._closePath(Q)}_closePath(q){this._closeFile(q);let J=B.dirname(q);this._getWatchedDir(J).remove(B.basename(q))}_closeFile(q){let J=this._closers.get(q);if(!J)return;J.forEach((X)=>X()),this._closers.delete(q)}_addPathCloser(q,J){if(!J)return;let X=this._closers.get(q);if(!X)X=[],this._closers.set(q,X);X.push(J)}_readdirp(q,J){if(this.closed)return;let X={type:C.ALL,alwaysStat:!0,lstat:!0,...J,depth:0},Q=i(q,X);return this._streams.add(Q),Q.once(t,()=>{Q=void 0}),Q.once(w,()=>{if(Q)this._streams.delete(Q),Q=void 0}),Q}};DJ={watch:$J,FSWatcher:d}});
2
- export{Bq as pX,d as qX,$J as rX,DJ as sX,GJ as tX};
@@ -1,2 +0,0 @@
1
- import{Tc as _,Vc as P}from"./cli-1.1.30-wjx6yhry.mjs";import{qf as Z,rf as y}from"./cli-1.1.30-pg6jbgcq.mjs";import{Sx as X,Wx as K,ey as Y,gy as A}from"./cli-1.1.30-pc2wp50b.mjs";import{SY as V,VY as C}from"./cli-1.1.30-p3m6d618.mjs";import{S5 as H,U5 as Q}from"./cli-1.1.30-92t0b3hs.mjs";import{V5 as W}from"./cli-1.1.30-cjetc80p.mjs";import{$ia as L,aja as M}from"./cli-1.1.30-322advqh.mjs";import{Iua as T,Mua as U}from"./cli-1.1.30-7dtpd1ra.mjs";function b({children:q}){let{bindings:D}=Y(),F=J.useRef(null),E=J.useRef(new Map),G=J.useRef(new Set).current;return H(V,{bindings:D,pendingChordRef:F,pendingChord:null,setPendingChord:()=>{},activeContexts:G,registerActiveContext:()=>{},unregisterActiveContext:()=>{},handlerRegistryRef:E,children:q})}function j(q){if(!("message"in q))return 1;let D=q.message.content;return Array.isArray(D)?D.length:1}async function v(q,D,F,{columns:E,verbose:G=!1,chunkSize:I=40,onProgress:$}={}){let B=(w)=>_(H(X,{children:H(b,{children:H(Z,{messages:q,tools:D,commands:[],verbose:G,toolJSX:null,toolUseConfirmQueue:[],inProgressToolUseIDs:new Set,isMessageSelectorVisible:!1,conversationId:"export",screen:"prompt",streamingToolUses:[],showAllInTranscript:!0,isLoading:!1,renderRange:w})})}),E),N=I;for(let w of q)N+=j(w);for(let w=0;w<N;w+=I){let O=await B([w,w+I]);if(L(O).trim()==="")break;await F(O),$?.(w+I)}}async function l(q,D=[],F){let E=[];return await v(q,D,(G)=>void E.push(L(G)),{columns:F}),E.join("")}var J;var x=U(()=>{M();y();C();A();K();P();Q();J=T(W(),1)});
2
- export{l as hc,x as ic};
@@ -1,2 +0,0 @@
1
- import{Mua as q}from"./cli-1.1.30-7dtpd1ra.mjs";function x(k){j=[k,...j.slice(0,v-1)]}function y(){return j}var j,v=20;var w=q(()=>{j=[]});
2
- export{x as Qc,y as Rc,w as Sc};
@@ -1,2 +0,0 @@
1
- import{rd as k,sd as P}from"./cli-1.1.30-9h8mm4pg.mjs";import{Ad as f,yd as O,zd as A}from"./cli-1.1.30-1j4dyr5r.mjs";import{D_ as E,O9 as U,S9 as V,X9 as j}from"./cli-1.1.30-wmpgbhw0.mjs";import{Oha as h,Qia as K,Uga as N,Xga as J,Yia as b,cha as Y,dea as X,eea as H,kea as x,qha as G,xha as I}from"./cli-1.1.30-mebteknr.mjs";import{Wma as F,cna as L}from"./cli-1.1.30-gv4z21b9.mjs";import{Vsa as T,jqa as W}from"./cli-1.1.30-ehk76t59.mjs";import{Mua as y}from"./cli-1.1.30-7dtpd1ra.mjs";function d(){Z=!0}function m(){if(!Z)return!1;return Z=!1,!0}function l(q){return(B)=>({...B,...typeof q.permission_mode==="string"?{toolPermissionContext:{...B.toolPermissionContext,mode:H(q.permission_mode)}}:{},...typeof q.is_ultraplan_mode==="boolean"?{isUltraplanMode:q.is_ultraplan_mode}:{}})}function S({newState:q,oldState:B}){let _=m(),$=B.toolPermissionContext.mode,Q=q.toolPermissionContext.mode;if($!==Q){let z=X($),D=X(Q);if(z!==D){let R=D==="plan"&&q.isUltraplanMode&&!B.isUltraplanMode?!0:null;O({permission_mode:D,is_ultraplan_mode:R})}A(Q)}if(q.mainLoopModel!==B.mainLoopModel&&q.mainLoopModel===null){if(W(null),!_)Y((z)=>({...z,activeModelForProject:void 0,activeModelForProjectProfileId:void 0}))}if(q.mainLoopModel!==B.mainLoopModel&&q.mainLoopModel!==null){if(W(q.mainLoopModel),!_){let z=I()?.id;Y((D)=>({...D,activeModelForProject:q.mainLoopModel??void 0,activeModelForProjectProfileId:z}))}}if(q.expandedView!==B.expandedView){let z=q.expandedView==="tasks",D=q.expandedView==="teammates";if(J().showExpandedTodos!==z||J().showSpinnerTree!==D)N((R)=>({...R,showExpandedTodos:z,showSpinnerTree:D}))}if(q.verbose!==B.verbose&&J().verbose!==q.verbose){let z=q.verbose;N((D)=>({...D,verbose:z}))}if(q.collapseSubagentProgress!==B.collapseSubagentProgress&&J().collapseSubagentProgress!==q.collapseSubagentProgress){let z=q.collapseSubagentProgress;N((D)=>({...D,collapseSubagentProgress:z}))}if(q.settings!==B.settings)try{if(U(),V(),j(),q.settings.env!==B.settings.env)k()}catch(z){K(F(z))}}var Z=!1;var u=y(()=>{T();E();G();L();b();P();h();x();f()});
2
- export{d as md,l as nd,S as od,u as pd};