@claudiolabs/claudin 1.1.25 → 1.1.26

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 (910) hide show
  1. package/dist/chunks/AgentTool-1.1.26-pww3rzse.mjs +1 -0
  2. package/dist/chunks/App-1.1.26-4vaezrz4.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.26-rngrjmp0.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.26-n2977m3p.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.26-9y3h164v.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.26-qzf3wf2e.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.26-4rsh36df.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.26-g1kknwq5.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.26-4bt5rf4c.mjs +6 -0
  10. package/dist/chunks/Doctor-1.1.26-jnzpfe2z.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.26-h4ha2k3s.mjs +6 -0
  12. package/dist/chunks/ITermBackend-1.1.26-6vq713nq.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-1.1.26-5mpbyw8j.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-1.1.26-y240kr8g.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-1.1.26-bhdbn3pv.mjs +1 -0
  16. package/dist/chunks/Onboarding-1.1.26-v8am83rd.mjs +1 -0
  17. package/dist/chunks/ProviderManager-1.1.26-22a8rbdy.mjs +1 -0
  18. package/dist/chunks/REPL-1.1.26-z72g0j0z.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-1.1.26-gh9s3rjn.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-1.1.26-r40qtar2.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-1.1.26-23se9f85.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-1.1.26-7r52d8rv.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-1.1.26-k6atzshz.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-1.1.26-ym3spr0b.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-1.1.26-c332beft.mjs +1 -0
  26. package/dist/chunks/TrustDialog-1.1.26-sqqx0vck.mjs +1 -0
  27. package/dist/chunks/activeProvider-1.1.26-maqce1gv.mjs +1 -0
  28. package/dist/chunks/add-dir-1.1.26-qcws8kjg.mjs +1 -0
  29. package/dist/chunks/agentTypes-1.1.26-fw01kwc9.mjs +1 -0
  30. package/dist/chunks/agents-1.1.26-dasaamxr.mjs +3 -0
  31. package/dist/chunks/agents-1.1.26-p33pq694.mjs +110 -0
  32. package/dist/chunks/api-1.1.26-msb1jnzq.mjs +1 -0
  33. package/dist/chunks/asciicast-1.1.26-vf9e0v5b.mjs +1 -0
  34. package/dist/chunks/assistant-1.1.26-h2aycjkn.mjs +1 -0
  35. package/dist/chunks/auth-1.1.26-dk7wnv7t.mjs +1 -0
  36. package/dist/chunks/auth-1.1.26-q8xgzm5r.mjs +1 -0
  37. package/dist/chunks/autoMode-1.1.26-zrzav382.mjs +52 -0
  38. package/dist/chunks/autoModeSetup-1.1.26-x7k5ammk.mjs +44 -0
  39. package/dist/chunks/autoUpdater-1.1.26-6hmytwm6.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.26-09grqe05.mjs +1 -0
  41. package/dist/chunks/branch-1.1.26-e1qfc78k.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.26-h1bxacst.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.26-vpz1r911.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.26-xkeegvk7.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.26-dnv31x02.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.26-d2zjebn5.mjs +1 -0
  47. package/dist/chunks/btw-1.1.26-9hcjg1vm.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.26-20xpa564.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.26-p18jjck5.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.26-tndvbhbh.mjs +4 -0
  51. package/dist/chunks/caches-1.1.26-g9aneehb.mjs +1 -0
  52. package/dist/chunks/cd-1.1.26-1mhwbmvw.mjs +3 -0
  53. package/dist/chunks/claudeDesktop-1.1.26-8970gddx.mjs +1 -0
  54. package/dist/chunks/claudemd-1.1.26-a0wvdz6h.mjs +1 -0
  55. package/dist/chunks/clear-1.1.26-8f7hbzks.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.1.26-yxrgchg6.mjs +1 -0
  57. package/dist/chunks/cli-1.1.26-01erqdx7.mjs +6 -0
  58. package/dist/chunks/cli-1.1.26-0qa3rcd8.mjs +6 -0
  59. package/dist/chunks/cli-1.1.26-132vkvj1.mjs +2 -0
  60. package/dist/chunks/cli-1.1.26-14kc3afb.mjs +3 -0
  61. package/dist/chunks/cli-1.1.26-14n169e4.mjs +2 -0
  62. package/dist/chunks/cli-1.1.26-16s9pjdh.mjs +2 -0
  63. package/dist/chunks/cli-1.1.26-1mbz2mcm.mjs +2 -0
  64. package/dist/chunks/cli-1.1.26-1v8jg7nn.mjs +2 -0
  65. package/dist/chunks/cli-1.1.26-1vdqjs9c.mjs +21 -0
  66. package/dist/chunks/cli-1.1.26-1ze7r6x4.mjs +24 -0
  67. package/dist/chunks/cli-1.1.26-28qe790b.mjs +2 -0
  68. package/dist/chunks/cli-1.1.26-2dzytde4.mjs +2 -0
  69. package/dist/chunks/cli-1.1.26-2fbt2m4z.mjs +4 -0
  70. package/dist/chunks/cli-1.1.26-2j0g9z56.mjs +2 -0
  71. package/dist/chunks/cli-1.1.26-2k53vhr6.mjs +2 -0
  72. package/dist/chunks/cli-1.1.26-2msjf68r.mjs +2 -0
  73. package/dist/chunks/cli-1.1.26-2s2gpj0g.mjs +2 -0
  74. package/dist/chunks/cli-1.1.26-31negda3.mjs +2 -0
  75. package/dist/chunks/cli-1.1.26-32vewh62.mjs +6 -0
  76. package/dist/chunks/cli-1.1.26-38m8cha0.mjs +2 -0
  77. package/dist/chunks/cli-1.1.26-3c44vscp.mjs +2 -0
  78. package/dist/chunks/cli-1.1.26-3gepexgn.mjs +66 -0
  79. package/dist/chunks/cli-1.1.26-3hemew00.mjs +3 -0
  80. package/dist/chunks/cli-1.1.26-3htpgh4y.mjs +2 -0
  81. package/dist/chunks/cli-1.1.26-3k8e9a3k.mjs +2 -0
  82. package/dist/chunks/cli-1.1.26-3p2ch222.mjs +2 -0
  83. package/dist/chunks/cli-1.1.26-3z39qjr1.mjs +24 -0
  84. package/dist/chunks/cli-1.1.26-4aztw2ex.mjs +2 -0
  85. package/dist/chunks/cli-1.1.26-4cj6rr02.mjs +2 -0
  86. package/dist/chunks/cli-1.1.26-4jbtcb3c.mjs +17 -0
  87. package/dist/chunks/cli-1.1.26-4jn0r6an.mjs +2 -0
  88. package/dist/chunks/cli-1.1.26-516p6zzp.mjs +2 -0
  89. package/dist/chunks/cli-1.1.26-55ayan24.mjs +133 -0
  90. package/dist/chunks/cli-1.1.26-5fv3wdye.mjs +2 -0
  91. package/dist/chunks/cli-1.1.26-5p6865dd.mjs +2 -0
  92. package/dist/chunks/cli-1.1.26-6ac72fwz.mjs +5 -0
  93. package/dist/chunks/cli-1.1.26-6c5rgjbj.mjs +2 -0
  94. package/dist/chunks/cli-1.1.26-6p5bpbzy.mjs +2 -0
  95. package/dist/chunks/cli-1.1.26-6qzbf8mr.mjs +3 -0
  96. package/dist/chunks/cli-1.1.26-6v5e8fy8.mjs +2 -0
  97. package/dist/chunks/cli-1.1.26-73s95190.mjs +4 -0
  98. package/dist/chunks/cli-1.1.26-79g0hfrb.mjs +4 -0
  99. package/dist/chunks/cli-1.1.26-79j24jxp.mjs +2 -0
  100. package/dist/chunks/cli-1.1.26-7h1213xq.mjs +1 -0
  101. package/dist/chunks/cli-1.1.26-7pa47kxq.mjs +2 -0
  102. package/dist/chunks/cli-1.1.26-7ssnr221.mjs +4 -0
  103. package/dist/chunks/cli-1.1.26-851khk0n.mjs +2 -0
  104. package/dist/chunks/cli-1.1.26-89reg5gc.mjs +2 -0
  105. package/dist/chunks/cli-1.1.26-8h5tr358.mjs +2 -0
  106. package/dist/chunks/cli-1.1.26-8vq4pfa8.mjs +2 -0
  107. package/dist/chunks/cli-1.1.26-8wng8tbf.mjs +2 -0
  108. package/dist/chunks/cli-1.1.26-945rz3ns.mjs +2 -0
  109. package/dist/chunks/cli-1.1.26-97w71raz.mjs +2 -0
  110. package/dist/chunks/cli-1.1.26-9kzdvxzw.mjs +2 -0
  111. package/dist/chunks/cli-1.1.26-9mg6k159.mjs +2 -0
  112. package/dist/chunks/cli-1.1.26-9x90xrtz.mjs +2 -0
  113. package/dist/chunks/cli-1.1.26-ab2xbv4t.mjs +2 -0
  114. package/dist/chunks/cli-1.1.26-abp7zq8a.mjs +7 -0
  115. package/dist/chunks/cli-1.1.26-agrrdhst.mjs +12 -0
  116. package/dist/chunks/cli-1.1.26-aj61ygn7.mjs +2 -0
  117. package/dist/chunks/cli-1.1.26-arx4za97.mjs +2 -0
  118. package/dist/chunks/cli-1.1.26-avyt487s.mjs +4 -0
  119. package/dist/chunks/cli-1.1.26-b3m57q7j.mjs +24 -0
  120. package/dist/chunks/cli-1.1.26-b5xvjyj6.mjs +2 -0
  121. package/dist/chunks/cli-1.1.26-bc7nnmyt.mjs +4 -0
  122. package/dist/chunks/cli-1.1.26-bmzjvqhh.mjs +2 -0
  123. package/dist/chunks/cli-1.1.26-bs6j2409.mjs +2 -0
  124. package/dist/chunks/cli-1.1.26-bv6bd469.mjs +2 -0
  125. package/dist/chunks/cli-1.1.26-c1s0antn.mjs +2 -0
  126. package/dist/chunks/cli-1.1.26-c9m56qw1.mjs +4 -0
  127. package/dist/chunks/cli-1.1.26-cdkkrgj3.mjs +6 -0
  128. package/dist/chunks/cli-1.1.26-chwpygff.mjs +2 -0
  129. package/dist/chunks/cli-1.1.26-cmeam5fv.mjs +4 -0
  130. package/dist/chunks/cli-1.1.26-crwbhf2k.mjs +2 -0
  131. package/dist/chunks/cli-1.1.26-d6m0sag3.mjs +2 -0
  132. package/dist/chunks/cli-1.1.26-dq31hqw9.mjs +2 -0
  133. package/dist/chunks/cli-1.1.26-dyyg0r9f.mjs +2 -0
  134. package/dist/chunks/cli-1.1.26-e807ek7h.mjs +3 -0
  135. package/dist/chunks/cli-1.1.26-e8stbnjk.mjs +2 -0
  136. package/dist/chunks/cli-1.1.26-eb90p21t.mjs +10 -0
  137. package/dist/chunks/cli-1.1.26-edg965cj.mjs +2 -0
  138. package/dist/chunks/cli-1.1.26-etwfcg1g.mjs +2 -0
  139. package/dist/chunks/cli-1.1.26-exd0gw3b.mjs +3 -0
  140. package/dist/chunks/cli-1.1.26-f0cvk9rp.mjs +3 -0
  141. package/dist/chunks/cli-1.1.26-f624n21e.mjs +2 -0
  142. package/dist/chunks/cli-1.1.26-fcnssbje.mjs +2 -0
  143. package/dist/chunks/cli-1.1.26-ft1bty40.mjs +45 -0
  144. package/dist/chunks/cli-1.1.26-g0jbhnrw.mjs +3 -0
  145. package/dist/chunks/cli-1.1.26-g1a27741.mjs +3 -0
  146. package/dist/chunks/cli-1.1.26-g3eqp15d.mjs +2 -0
  147. package/dist/chunks/cli-1.1.26-g54bqv9d.mjs +2 -0
  148. package/dist/chunks/cli-1.1.26-g825efx8.mjs +3 -0
  149. package/dist/chunks/cli-1.1.26-grerq74y.mjs +4 -0
  150. package/dist/chunks/cli-1.1.26-gt65gs27.mjs +2 -0
  151. package/dist/chunks/cli-1.1.26-h2bzv8a9.mjs +2 -0
  152. package/dist/chunks/cli-1.1.26-h8pwf3e5.mjs +34 -0
  153. package/dist/chunks/cli-1.1.26-hc0z3th3.mjs +2 -0
  154. package/dist/chunks/cli-1.1.26-hgr89jmg.mjs +2 -0
  155. package/dist/chunks/cli-1.1.26-hk66nk4j.mjs +2 -0
  156. package/dist/chunks/cli-1.1.26-hkn2maax.mjs +12 -0
  157. package/dist/chunks/cli-1.1.26-hwb66n0d.mjs +20 -0
  158. package/dist/chunks/cli-1.1.26-hxty6b5t.mjs +24 -0
  159. package/dist/chunks/cli-1.1.26-j0ggtb42.mjs +2 -0
  160. package/dist/chunks/cli-1.1.26-j0pfn318.mjs +2 -0
  161. package/dist/chunks/cli-1.1.26-j3g54xq9.mjs +25 -0
  162. package/dist/chunks/cli-1.1.26-j522h2zj.mjs +2 -0
  163. package/dist/chunks/cli-1.1.26-j5jzf8nr.mjs +2 -0
  164. package/dist/chunks/cli-1.1.26-jaq75h39.mjs +2 -0
  165. package/dist/chunks/cli-1.1.26-jcshhf4v.mjs +2 -0
  166. package/dist/chunks/cli-1.1.26-jp74zrnt.mjs +2 -0
  167. package/dist/chunks/cli-1.1.26-jstehae2.mjs +25 -0
  168. package/dist/chunks/cli-1.1.26-jv1escq9.mjs +9 -0
  169. package/dist/chunks/cli-1.1.26-jz95bmqy.mjs +2 -0
  170. package/dist/chunks/cli-1.1.26-k287xjcs.mjs +2 -0
  171. package/dist/chunks/cli-1.1.26-k827q3s7.mjs +2 -0
  172. package/dist/chunks/cli-1.1.26-kb5qx4tp.mjs +15 -0
  173. package/dist/chunks/cli-1.1.26-kk4ymgvj.mjs +2 -0
  174. package/dist/chunks/cli-1.1.26-kmpjjneg.mjs +50 -0
  175. package/dist/chunks/cli-1.1.26-krj2sk8f.mjs +2 -0
  176. package/dist/chunks/cli-1.1.26-ktfnpsqn.mjs +2 -0
  177. package/dist/chunks/cli-1.1.26-kvt0v6vq.mjs +5459 -0
  178. package/dist/chunks/cli-1.1.26-kvy3vgrt.mjs +20 -0
  179. package/dist/chunks/cli-1.1.26-kz0et72d.mjs +2 -0
  180. package/dist/chunks/cli-1.1.26-m2ajjr1n.mjs +2 -0
  181. package/dist/chunks/cli-1.1.26-m3gpc1yq.mjs +6 -0
  182. package/dist/chunks/cli-1.1.26-m8mebydd.mjs +3 -0
  183. package/dist/chunks/cli-1.1.26-mb749hsh.mjs +2 -0
  184. package/dist/chunks/cli-1.1.26-mdtsa5pq.mjs +2 -0
  185. package/dist/chunks/cli-1.1.26-mvjefec1.mjs +206 -0
  186. package/dist/chunks/cli-1.1.26-n0thzakv.mjs +2 -0
  187. package/dist/chunks/cli-1.1.26-n43rh2dq.mjs +2 -0
  188. package/dist/chunks/cli-1.1.26-nbkw9wa7.mjs +2 -0
  189. package/dist/chunks/cli-1.1.26-nkp41vem.mjs +2 -0
  190. package/dist/chunks/cli-1.1.26-np0se5jr.mjs +2 -0
  191. package/dist/chunks/cli-1.1.26-nr4x1ay3.mjs +6 -0
  192. package/dist/chunks/cli-1.1.26-nv2mgz6h.mjs +60 -0
  193. package/dist/chunks/cli-1.1.26-p2gpyynf.mjs +2 -0
  194. package/dist/chunks/cli-1.1.26-pdpvbn6t.mjs +2 -0
  195. package/dist/chunks/cli-1.1.26-pejnbqtd.mjs +2 -0
  196. package/dist/chunks/cli-1.1.26-pf85an2q.mjs +2 -0
  197. package/dist/chunks/cli-1.1.26-phdsw9kw.mjs +2 -0
  198. package/dist/chunks/cli-1.1.26-pp0zr4bw.mjs +39 -0
  199. package/dist/chunks/cli-1.1.26-pttfqxxh.mjs +2 -0
  200. package/dist/chunks/cli-1.1.26-pttr45sa.mjs +2 -0
  201. package/dist/chunks/cli-1.1.26-pzpydjmr.mjs +2 -0
  202. package/dist/chunks/cli-1.1.26-q4vaz10d.mjs +2 -0
  203. package/dist/chunks/cli-1.1.26-q77fmxtz.mjs +2 -0
  204. package/dist/chunks/cli-1.1.26-q9msymy9.mjs +7 -0
  205. package/dist/chunks/cli-1.1.26-qf02kggq.mjs +2 -0
  206. package/dist/chunks/cli-1.1.26-qr2ee3t2.mjs +2 -0
  207. package/dist/chunks/cli-1.1.26-qw49rw3y.mjs +17 -0
  208. package/dist/chunks/cli-1.1.26-qymrzn5k.mjs +2 -0
  209. package/dist/chunks/cli-1.1.26-r4ewzysx.mjs +3 -0
  210. package/dist/chunks/cli-1.1.26-rbxsj403.mjs +8 -0
  211. package/dist/chunks/cli-1.1.26-rgz7nebj.mjs +2 -0
  212. package/dist/chunks/cli-1.1.26-rkdk0vdh.mjs +2 -0
  213. package/dist/chunks/cli-1.1.26-rpd6k1rg.mjs +2 -0
  214. package/dist/chunks/cli-1.1.26-rr47cs5n.mjs +2 -0
  215. package/dist/chunks/cli-1.1.26-rrq5hxxh.mjs +9 -0
  216. package/dist/chunks/cli-1.1.26-rtk9fw0k.mjs +2 -0
  217. package/dist/chunks/cli-1.1.26-rzrs3g9w.mjs +2 -0
  218. package/dist/chunks/cli-1.1.26-sfz2mk5a.mjs +15 -0
  219. package/dist/chunks/cli-1.1.26-snnmp5qx.mjs +2 -0
  220. package/dist/chunks/cli-1.1.26-ssxrwqk2.mjs +2 -0
  221. package/dist/chunks/cli-1.1.26-swdk2n55.mjs +2 -0
  222. package/dist/chunks/cli-1.1.26-sx40y42s.mjs +2 -0
  223. package/dist/chunks/cli-1.1.26-syjzv1v1.mjs +18 -0
  224. package/dist/chunks/cli-1.1.26-t05x8de5.mjs +2 -0
  225. package/dist/chunks/cli-1.1.26-ta82bxzt.mjs +3 -0
  226. package/dist/chunks/cli-1.1.26-tcbtd5f6.mjs +2 -0
  227. package/dist/chunks/cli-1.1.26-tgtv1jp3.mjs +16 -0
  228. package/dist/chunks/cli-1.1.26-thxyzhdj.mjs +42 -0
  229. package/dist/chunks/cli-1.1.26-txmxmpj4.mjs +2 -0
  230. package/dist/chunks/cli-1.1.26-tyvfnyw1.mjs +2 -0
  231. package/dist/chunks/cli-1.1.26-v0vv0v6c.mjs +58 -0
  232. package/dist/chunks/cli-1.1.26-v440gznh.mjs +3 -0
  233. package/dist/chunks/cli-1.1.26-v6fnwae1.mjs +2 -0
  234. package/dist/chunks/cli-1.1.26-v7k7gw6h.mjs +2 -0
  235. package/dist/chunks/cli-1.1.26-vb3pa5k9.mjs +2 -0
  236. package/dist/chunks/cli-1.1.26-vne421we.mjs +133 -0
  237. package/dist/chunks/cli-1.1.26-vpdrb404.mjs +2 -0
  238. package/dist/chunks/cli-1.1.26-vxzeagvf.mjs +2 -0
  239. package/dist/chunks/cli-1.1.26-vypd5zf6.mjs +5 -0
  240. package/dist/chunks/cli-1.1.26-w94mate8.mjs +2 -0
  241. package/dist/chunks/cli-1.1.26-w9hym0b4.mjs +2 -0
  242. package/dist/chunks/cli-1.1.26-wy5w6zkt.mjs +2 -0
  243. package/dist/chunks/cli-1.1.26-x64s4kth.mjs +2 -0
  244. package/dist/chunks/cli-1.1.26-x82tpywr.mjs +2 -0
  245. package/dist/chunks/cli-1.1.26-xdcmgkcr.mjs +15 -0
  246. package/dist/chunks/cli-1.1.26-xkj6kd3c.mjs +2 -0
  247. package/dist/chunks/cli-1.1.26-xnqas0g4.mjs +2 -0
  248. package/dist/chunks/cli-1.1.26-xrb5tnj3.mjs +2 -0
  249. package/dist/chunks/cli-1.1.26-xrqbcbv5.mjs +2 -0
  250. package/dist/chunks/cli-1.1.26-xspr3ymb.mjs +2 -0
  251. package/dist/chunks/cli-1.1.26-xwryqq86.mjs +2 -0
  252. package/dist/chunks/cli-1.1.26-xzbv3dzb.mjs +2 -0
  253. package/dist/chunks/cli-1.1.26-y82xxzhw.mjs +2 -0
  254. package/dist/chunks/cli-1.1.26-yz9ks5m0.mjs +2 -0
  255. package/dist/chunks/cli-1.1.26-z2cjynpf.mjs +2 -0
  256. package/dist/chunks/cli-1.1.26-z5qgpexv.mjs +3 -0
  257. package/dist/chunks/cli-1.1.26-zb5hq3ry.mjs +2 -0
  258. package/dist/chunks/cli-1.1.26-zsf06fnj.mjs +2 -0
  259. package/dist/chunks/cli-1.1.26-zy2fcj67.mjs +2 -0
  260. package/dist/chunks/cli-1.1.26-zyt75y9a.mjs +2 -0
  261. package/dist/chunks/client-1.1.26-5m13dtqt.mjs +1 -0
  262. package/dist/chunks/color-1.1.26-hc4gee57.mjs +1 -0
  263. package/dist/chunks/compact-1.1.26-k29q801r.mjs +3 -0
  264. package/dist/chunks/config-1.1.26-20jye461.mjs +1 -0
  265. package/dist/chunks/config-1.1.26-f3tsx9mm.mjs +1 -0
  266. package/dist/chunks/constants-1.1.26-vyt7y0vq.mjs +1 -0
  267. package/dist/chunks/context-1.1.26-xg3zeq1z.mjs +1 -0
  268. package/dist/chunks/context-noninteractive-1.1.26-n05p37yd.mjs +1 -0
  269. package/dist/chunks/conversation-1.1.26-g9vfc7p7.mjs +1 -0
  270. package/dist/chunks/copilotHeaders-1.1.26-gr7hc6j5.mjs +1 -0
  271. package/dist/chunks/copy-1.1.26-t50s90xg.mjs +9 -0
  272. package/dist/chunks/cost-1.1.26-9hp3110j.mjs +1 -0
  273. package/dist/chunks/createSSHSession-1.1.26-hpzpfpqk.mjs +1 -0
  274. package/dist/chunks/createSession-1.1.26-4mxab0d8.mjs +1 -0
  275. package/dist/chunks/debug-1.1.26-m7p7fchf.mjs +1 -0
  276. package/dist/chunks/defaultActionDeps-1.1.26-0fr1vrkt.mjs +1534 -0
  277. package/dist/chunks/desktop-1.1.26-1qjp6a2c.mjs +1 -0
  278. package/dist/chunks/detectRepository-1.1.26-pmahtt3f.mjs +1 -0
  279. package/dist/chunks/detection-1.1.26-1wrkcwrj.mjs +1 -0
  280. package/dist/chunks/diff-1.1.26-c4nqg8fb.mjs +1 -0
  281. package/dist/chunks/doctor-1.1.26-0jtnwy0r.mjs +1 -0
  282. package/dist/chunks/doctorDiagnostic-1.1.26-x38xj5dq.mjs +1 -0
  283. package/dist/chunks/earlyInput-1.1.26-gp0650zq.mjs +1 -0
  284. package/dist/chunks/effort-1.1.26-8w1e6q0y.mjs +13 -0
  285. package/dist/chunks/engine-1.1.26-jt09gh12.mjs +1 -0
  286. package/dist/chunks/envLessBridgeConfig-1.1.26-p0x7avh5.mjs +1 -0
  287. package/dist/chunks/envUtils-1.1.26-p89sr6v4.mjs +1 -0
  288. package/dist/chunks/environmentSelection-1.1.26-d8vnmed1.mjs +1 -0
  289. package/dist/chunks/environments-1.1.26-fz5c214j.mjs +1 -0
  290. package/dist/chunks/errors-1.1.26-6bzb64g6.mjs +1 -0
  291. package/dist/chunks/exampleCommands-1.1.26-s4bn18p7.mjs +1 -0
  292. package/dist/chunks/execFileNoThrow-1.1.26-xh0x0cbp.mjs +1 -0
  293. package/dist/chunks/exit-1.1.26-55716s6k.mjs +1 -0
  294. package/dist/chunks/explorer-1.1.26-969pqrwa.mjs +1 -0
  295. package/dist/chunks/export-1.1.26-mgccr0ea.mjs +2 -0
  296. package/dist/chunks/extra-usage-1.1.26-sbe56spy.mjs +1 -0
  297. package/dist/chunks/extra-usage-noninteractive-1.1.26-h08e3n8t.mjs +1 -0
  298. package/dist/chunks/fast-1.1.26-rbaqsfka.mjs +1 -0
  299. package/dist/chunks/feedback-1.1.26-2m81mwds.mjs +14 -0
  300. package/dist/chunks/firstPartyEventLogger-1.1.26-ckqh8nb4.mjs +1 -0
  301. package/dist/chunks/git-1.1.26-0he7ww02.mjs +1 -0
  302. package/dist/chunks/githubModelsCredentials-1.1.26-xj1mdstq.mjs +1 -0
  303. package/dist/chunks/goal-1.1.26-n5s850gv.mjs +4 -0
  304. package/dist/chunks/growthbook-1.1.26-ka05jsbm.mjs +1 -0
  305. package/dist/chunks/headless-1.1.26-q9en6pe9.mjs +2 -0
  306. package/dist/chunks/heapdump-1.1.26-7ewvqmvf.mjs +6 -0
  307. package/dist/chunks/help-1.1.26-brf53t1m.mjs +1 -0
  308. package/dist/chunks/hookChains-1.1.26-rkf6y8rc.mjs +3 -0
  309. package/dist/chunks/hooks-1.1.26-9pdav42n.mjs +1 -0
  310. package/dist/chunks/hooks-1.1.26-szkj02ez.mjs +79 -0
  311. package/dist/chunks/ide-1.1.26-m5p57hjq.mjs +3 -0
  312. package/dist/chunks/image-processor-napi-1.1.26-rekvc35q.mjs +1 -0
  313. package/dist/chunks/import-1.1.26-7gbx5jy9.mjs +261 -0
  314. package/dist/chunks/inboundAttachments-1.1.26-tzg5nege.mjs +1 -0
  315. package/dist/chunks/index-1.1.26-1xcc10z3.mjs +1 -0
  316. package/dist/chunks/index-1.1.26-46seym0e.mjs +1 -0
  317. package/dist/chunks/index-1.1.26-4qsakkwp.mjs +1 -0
  318. package/dist/chunks/index-1.1.26-62wb3t76.mjs +5 -0
  319. package/dist/chunks/index-1.1.26-7dq7zd2s.mjs +2 -0
  320. package/dist/chunks/index-1.1.26-924a690m.mjs +1 -0
  321. package/dist/chunks/index-1.1.26-9hqzzjph.mjs +1 -0
  322. package/dist/chunks/index-1.1.26-bmzaqft1.mjs +1 -0
  323. package/dist/chunks/index-1.1.26-cpb34jqj.mjs +9 -0
  324. package/dist/chunks/index-1.1.26-cpx6j4xt.mjs +1 -0
  325. package/dist/chunks/index-1.1.26-gyna59qe.mjs +1 -0
  326. package/dist/chunks/index-1.1.26-h45zww68.mjs +30 -0
  327. package/dist/chunks/index-1.1.26-matsx1ed.mjs +1 -0
  328. package/dist/chunks/index-1.1.26-pm334xks.mjs +1 -0
  329. package/dist/chunks/index-1.1.26-qrbfj1zz.mjs +1 -0
  330. package/dist/chunks/index-1.1.26-sh5v696c.mjs +1 -0
  331. package/dist/chunks/index-1.1.26-srjepzh3.mjs +2 -0
  332. package/dist/chunks/index-1.1.26-syyhrh9b.mjs +23 -0
  333. package/dist/chunks/index-1.1.26-te4885d9.mjs +1 -0
  334. package/dist/chunks/index-1.1.26-tyjd8na6.mjs +1 -0
  335. package/dist/chunks/index-1.1.26-vk1z10tp.mjs +1 -0
  336. package/dist/chunks/index-1.1.26-vpyv4546.mjs +9 -0
  337. package/dist/chunks/index-1.1.26-xc6bagza.mjs +1 -0
  338. package/dist/chunks/init-1.1.26-bnpznn1w.mjs +1 -0
  339. package/dist/chunks/initReplBridge-1.1.26-c4s4p9cb.mjs +1 -0
  340. package/dist/chunks/ink-1.1.26-vgbt5egw.mjs +1 -0
  341. package/dist/chunks/insights-1.1.26-vcx1pevy.mjs +870 -0
  342. package/dist/chunks/install-1.1.26-4y132asw.mjs +1 -0
  343. package/dist/chunks/install-github-app-1.1.26-93zf234q.mjs +149 -0
  344. package/dist/chunks/install-slack-app-1.1.26-mhrfx4re.mjs +1 -0
  345. package/dist/chunks/instrumentation-1.1.26-c4qjkj2f.mjs +1 -0
  346. package/dist/chunks/interactiveHelpers-1.1.26-d3arqch8.mjs +1 -0
  347. package/dist/chunks/keybindings-1.1.26-vn76vb0k.mjs +2 -0
  348. package/dist/chunks/knowledge-1.1.26-tqdt6kx8.mjs +2 -0
  349. package/dist/chunks/latestVersionCache-1.1.26-nefaqy0s.mjs +1 -0
  350. package/dist/chunks/loadAgentsDir-1.1.26-w9zj8h13.mjs +1 -0
  351. package/dist/chunks/loadPluginHooks-1.1.26-p32pd0zg.mjs +1 -0
  352. package/dist/chunks/log-1.1.26-esy3mc70.mjs +1 -0
  353. package/dist/chunks/main-1.1.26-mj3gcxpm.mjs +1 -0
  354. package/dist/chunks/managedEnv-1.1.26-z6q7c9s8.mjs +1 -0
  355. package/dist/chunks/mcp-1.1.26-4c7syme5.mjs +17 -0
  356. package/dist/chunks/mcp-1.1.26-fhs36m57.mjs +1 -0
  357. package/dist/chunks/mcp-1.1.26-nadsprjm.mjs +4 -0
  358. package/dist/chunks/mcpb-1.1.26-ek6r8msb.mjs +1 -0
  359. package/dist/chunks/memory-1.1.26-b3m4e86v.mjs +72 -0
  360. package/dist/chunks/model-1.1.26-fhssfrx1.mjs +1 -0
  361. package/dist/chunks/model-1.1.26-v4t85ag1.mjs +2 -0
  362. package/dist/chunks/node-1.1.26-y7ck63cv.mjs +15 -0
  363. package/dist/chunks/oauth-1.1.26-8bftajjg.mjs +1 -0
  364. package/dist/chunks/openaiShim-1.1.26-wvmheb4c.mjs +14 -0
  365. package/dist/chunks/output-style-1.1.26-rgrmrr2a.mjs +1 -0
  366. package/dist/chunks/package-SHMK2LJE-1.1.26-grxx0tgk.mjs +1 -0
  367. package/dist/chunks/parseConnectUrl-1.1.26-64n8w8aa.mjs +1 -0
  368. package/dist/chunks/parser-1.1.26-p8fcgcbm.mjs +1 -0
  369. package/dist/chunks/passes-1.1.26-65c9vjm7.mjs +1 -0
  370. package/dist/chunks/permissions-1.1.26-bvde1j7e.mjs +1 -0
  371. package/dist/chunks/permissions-1.1.26-xx4tbm19.mjs +3 -0
  372. package/dist/chunks/plan-1.1.26-0p7zmpya.mjs +1 -0
  373. package/dist/chunks/plist-1.1.26-emtpv6yq.mjs +1 -0
  374. package/dist/chunks/plugin-1.1.26-6mz4s6ce.mjs +29 -0
  375. package/dist/chunks/pluginStartupCheck-1.1.26-zsxa12d4.mjs +1 -0
  376. package/dist/chunks/plugins-1.1.26-z4gc0hj4.mjs +9 -0
  377. package/dist/chunks/preActionHook-1.1.26-zja64r0y.mjs +2 -0
  378. package/dist/chunks/print-1.1.26-4jbs3r8a.mjs +57 -0
  379. package/dist/chunks/process-1.1.26-nkvbv24g.mjs +1 -0
  380. package/dist/chunks/processBashCommand-1.1.26-881sdvc5.mjs +1 -0
  381. package/dist/chunks/processSlashCommand-1.1.26-watbp07x.mjs +9 -0
  382. package/dist/chunks/prompt-1.1.26-734yg5r7.mjs +1 -0
  383. package/dist/chunks/prompt-1.1.26-ta9d8xgm.mjs +1 -0
  384. package/dist/chunks/prompts-1.1.26-cacdrcnk.mjs +1 -0
  385. package/dist/chunks/protocolHandler-1.1.26-qfw93skn.mjs +13 -0
  386. package/dist/chunks/provider-1.1.26-yk3xh49r.mjs +2 -0
  387. package/dist/chunks/providerProfiles-1.1.26-srvwhkc8.mjs +1 -0
  388. package/dist/chunks/providerValidation-1.1.26-57a6s8yj.mjs +6 -0
  389. package/dist/chunks/rate-limit-options-1.1.26-14exf6fk.mjs +1 -0
  390. package/dist/chunks/registerSubcommands-1.1.26-1yddk8hw.mjs +26 -0
  391. package/dist/chunks/registry-1.1.26-z88679pc.mjs +1 -0
  392. package/dist/chunks/release-notes-1.1.26-e7dkgbnp.mjs +5 -0
  393. package/dist/chunks/reload-plugins-1.1.26-6r85z0m0.mjs +2 -0
  394. package/dist/chunks/remote-env-1.1.26-rg1652ey.mjs +1 -0
  395. package/dist/chunks/remoteBridgeCore-1.1.26-jmhet39g.mjs +1 -0
  396. package/dist/chunks/remoteSession-1.1.26-5rva0545.mjs +1 -0
  397. package/dist/chunks/rename-1.1.26-vp06xehr.mjs +1 -0
  398. package/dist/chunks/replBridgeHandle-1.1.26-cs214vs7.mjs +1 -0
  399. package/dist/chunks/replLauncher-1.1.26-j0wpsd4v.mjs +1 -0
  400. package/dist/chunks/resume-1.1.26-agfxxd17.mjs +2 -0
  401. package/dist/chunks/rewind-1.1.26-dr3rgj2z.mjs +1 -0
  402. package/dist/chunks/rootOptions-1.1.26-nc1jrtkg.mjs +1 -0
  403. package/dist/chunks/runWorkflowHeadless-1.1.26-4xq2d4x0.mjs +10 -0
  404. package/dist/chunks/sandbox-adapter-1.1.26-v5bmtrnt.mjs +1 -0
  405. package/dist/chunks/sandbox-toggle-1.1.26-5pxvxje1.mjs +1 -0
  406. package/dist/chunks/session-1.1.26-7ejzc2bx.mjs +2 -0
  407. package/dist/chunks/sessionDiscovery-1.1.26-n6vex16t.mjs +1 -0
  408. package/dist/chunks/sessionFileAccessHooks-1.1.26-q07mz5fe.mjs +1 -0
  409. package/dist/chunks/sessionStorage-1.1.26-3x2gtfk1.mjs +1 -0
  410. package/dist/chunks/settings-1.1.26-5hc0bpnb.mjs +1 -0
  411. package/dist/chunks/setup-1.1.26-2qatx87q.mjs +12 -0
  412. package/dist/chunks/sinks-1.1.26-0d001pg9.mjs +1 -0
  413. package/dist/chunks/skills-1.1.26-5q1xvy1e.mjs +1 -0
  414. package/dist/chunks/startupProfiler-1.1.26-76scq5n6.mjs +1 -0
  415. package/dist/chunks/startupUpdateCheck-1.1.26-jw39czgq.mjs +1 -0
  416. package/dist/chunks/state-1.1.26-zh2a5cb0.mjs +1 -0
  417. package/dist/chunks/stats-1.1.26-3yvhzgsr.mjs +1 -0
  418. package/dist/chunks/status-1.1.26-ey3zzjzf.mjs +1 -0
  419. package/dist/chunks/stickers-1.1.26-pnx0arwe.mjs +1 -0
  420. package/dist/chunks/subprocessEnv-1.1.26-93d936pm.mjs +1 -0
  421. package/dist/chunks/tasks-1.1.26-05xaegas.mjs +1 -0
  422. package/dist/chunks/teamHelpers-1.1.26-zn888hhw.mjs +1 -0
  423. package/dist/chunks/teammateModeSnapshot-1.1.26-bhkgw59h.mjs +1 -0
  424. package/dist/chunks/teleport-1.1.26-9m3eaa2j.mjs +1 -0
  425. package/dist/chunks/terminalSetup-1.1.26-p0bvd0b7.mjs +1 -0
  426. package/dist/chunks/theme-1.1.26-ys6mqfn7.mjs +1 -0
  427. package/dist/chunks/thinkback-1.1.26-v4qbcex4.mjs +1 -0
  428. package/dist/chunks/thinkback-play-1.1.26-6gg066vk.mjs +1 -0
  429. package/dist/chunks/toolPool-1.1.26-g4p6wj1v.mjs +1 -0
  430. package/dist/chunks/toolSearch-1.1.26-0whd6fnj.mjs +1 -0
  431. package/dist/chunks/tools-1.1.26-m8c4e11h.mjs +1 -0
  432. package/dist/chunks/trustedDevice-1.1.26-w86xceqp.mjs +1 -0
  433. package/dist/chunks/turndown.cjs-1.1.26-kk4sc8q3.mjs +69 -0
  434. package/dist/chunks/types-1.1.26-myrve966.mjs +1 -0
  435. package/dist/chunks/ultrareviewCommand-1.1.26-fyxh8eqb.mjs +4 -0
  436. package/dist/chunks/update-1.1.26-96yjt7je.mjs +72 -0
  437. package/dist/chunks/upgrade-1.1.26-x2geqcxm.mjs +1 -0
  438. package/dist/chunks/upload-1.1.26-vpwb30tf.mjs +7 -0
  439. package/dist/chunks/upstreamproxy-1.1.26-xe96amnx.mjs +14 -0
  440. package/dist/chunks/url-handler-napi-1.1.26-2v7h396d.mjs +1 -0
  441. package/dist/chunks/usage-1.1.26-pbyahcbc.mjs +1 -0
  442. package/dist/chunks/util-1.1.26-f55brgp6.mjs +1 -0
  443. package/dist/chunks/utils-1.1.26-ntj5p9c6.mjs +1 -0
  444. package/dist/chunks/vim-1.1.26-n3dckyqd.mjs +1 -0
  445. package/dist/chunks/watchLoop-1.1.26-shv6pr8d.mjs +13 -0
  446. package/dist/chunks/watcher-1.1.26-bdahcrvk.mjs +1 -0
  447. package/dist/chunks/wiki-1.1.26-9q9evb0p.mjs +132 -0
  448. package/dist/chunks/workflows-1.1.26-pv1pmcm0.mjs +1 -0
  449. package/dist/chunks/worktree-1.1.26-k3z8qg36.mjs +1 -0
  450. package/dist/chunks/worktreeModeEnabled-1.1.26-c966pdm7.mjs +1 -0
  451. package/dist/chunks/wrapper-1.1.26-smg8ftbk.mjs +7 -0
  452. package/dist/cli.mjs +2 -2
  453. package/package.json +9 -9
  454. package/dist/chunks/AgentTool-1.1.25-wemjscyz.mjs +0 -1
  455. package/dist/chunks/App-1.1.25-k5h3kma3.mjs +0 -1
  456. package/dist/chunks/ApproveApiKey-1.1.25-z8vqxm93.mjs +0 -1
  457. package/dist/chunks/AssistantSessionChooser-1.1.25-qmr6qf3r.mjs +0 -1
  458. package/dist/chunks/AutoModeOptInDialog-1.1.25-78m4mvsv.mjs +0 -1
  459. package/dist/chunks/BypassPermissionsModeDialog-1.1.25-htk8qebw.mjs +0 -1
  460. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.25-8evt7epy.mjs +0 -1
  461. package/dist/chunks/ConsoleOAuthFlow-1.1.25-3nbcvm6d.mjs +0 -1
  462. package/dist/chunks/DiffDialog-1.1.25-7n5581yw.mjs +0 -6
  463. package/dist/chunks/Doctor-1.1.25-zvcm13vd.mjs +0 -1
  464. package/dist/chunks/ExplorerDialog-1.1.25-jazr0v5h.mjs +0 -6
  465. package/dist/chunks/ITermBackend-1.1.25-tb139x32.mjs +0 -1
  466. package/dist/chunks/InvalidConfigDialog-1.1.25-h27j1v12.mjs +0 -1
  467. package/dist/chunks/InvalidSettingsDialog-1.1.25-7gxkqb1q.mjs +0 -1
  468. package/dist/chunks/MigrationDialog-1.1.25-21kzry6a.mjs +0 -1
  469. package/dist/chunks/Onboarding-1.1.25-z4ps8td0.mjs +0 -1
  470. package/dist/chunks/ProviderManager-1.1.25-dekvcwna.mjs +0 -1
  471. package/dist/chunks/REPL-1.1.25-x77jymbq.mjs +0 -1
  472. package/dist/chunks/ResumeConversation-1.1.25-z1n7c0cp.mjs +0 -1
  473. package/dist/chunks/SnapshotUpdateDialog-1.1.25-ye8czpf8.mjs +0 -1
  474. package/dist/chunks/TeleportProgress-1.1.25-qy9dcwtf.mjs +0 -1
  475. package/dist/chunks/TeleportRepoMismatchDialog-1.1.25-se513tcw.mjs +0 -1
  476. package/dist/chunks/TeleportResumeWrapper-1.1.25-shafx13k.mjs +0 -1
  477. package/dist/chunks/TmuxBackend-1.1.25-q9jqjghn.mjs +0 -9
  478. package/dist/chunks/ToolSearchTool-1.1.25-c9b16qp6.mjs +0 -1
  479. package/dist/chunks/TrustDialog-1.1.25-4x0h3a7n.mjs +0 -1
  480. package/dist/chunks/activeProvider-1.1.25-9z82gazg.mjs +0 -1
  481. package/dist/chunks/add-dir-1.1.25-3eark7aj.mjs +0 -1
  482. package/dist/chunks/agentTypes-1.1.25-88qbcwen.mjs +0 -1
  483. package/dist/chunks/agents-1.1.25-58s95cy7.mjs +0 -110
  484. package/dist/chunks/agents-1.1.25-rprb9rf9.mjs +0 -3
  485. package/dist/chunks/api-1.1.25-ceedtxx2.mjs +0 -1
  486. package/dist/chunks/asciicast-1.1.25-dtyww79s.mjs +0 -1
  487. package/dist/chunks/assistant-1.1.25-12s5z3q2.mjs +0 -1
  488. package/dist/chunks/auth-1.1.25-cd9y34xe.mjs +0 -1
  489. package/dist/chunks/auth-1.1.25-gphkwwnp.mjs +0 -1
  490. package/dist/chunks/autoMode-1.1.25-zdd4g2rn.mjs +0 -52
  491. package/dist/chunks/autoModeSetup-1.1.25-17zj185q.mjs +0 -44
  492. package/dist/chunks/autoUpdater-1.1.25-tb3pf0cw.mjs +0 -1
  493. package/dist/chunks/backgroundHousekeeping-1.1.25-mtctkars.mjs +0 -1
  494. package/dist/chunks/branch-1.1.25-ytfahhwq.mjs +0 -4
  495. package/dist/chunks/bridge-1.1.25-kkjx4g4j.mjs +0 -2
  496. package/dist/chunks/bridgeConfig-1.1.25-9h63taqc.mjs +0 -1
  497. package/dist/chunks/bridgeEnabled-1.1.25-yq7hv80q.mjs +0 -1
  498. package/dist/chunks/bridgeMain-1.1.25-rmcdgp77.mjs +0 -88
  499. package/dist/chunks/bridgePointer-1.1.25-x3jjj2ek.mjs +0 -1
  500. package/dist/chunks/btw-1.1.25-xdh8rhdz.mjs +0 -1
  501. package/dist/chunks/buddy-1.1.25-aj90p6ww.mjs +0 -3
  502. package/dist/chunks/cache-probe-1.1.25-4wztx76s.mjs +0 -21
  503. package/dist/chunks/cacheStats-1.1.25-9bd12my6.mjs +0 -4
  504. package/dist/chunks/caches-1.1.25-2ewrwm5x.mjs +0 -1
  505. package/dist/chunks/cd-1.1.25-9yhaw8rp.mjs +0 -3
  506. package/dist/chunks/claudeDesktop-1.1.25-bw8arps4.mjs +0 -1
  507. package/dist/chunks/claudemd-1.1.25-f621m88g.mjs +0 -1
  508. package/dist/chunks/clear-1.1.25-jk3ztva0.mjs +0 -1
  509. package/dist/chunks/clearTerminal-1.1.25-7jtejen6.mjs +0 -1
  510. package/dist/chunks/cli-1.1.25-0m4pyzaf.mjs +0 -2
  511. package/dist/chunks/cli-1.1.25-0q6rqkec.mjs +0 -58
  512. package/dist/chunks/cli-1.1.25-12b1rzfj.mjs +0 -2
  513. package/dist/chunks/cli-1.1.25-14jerc0x.mjs +0 -2
  514. package/dist/chunks/cli-1.1.25-1c4t0f2p.mjs +0 -2
  515. package/dist/chunks/cli-1.1.25-1c633j9v.mjs +0 -2
  516. package/dist/chunks/cli-1.1.25-1gz0w81n.mjs +0 -2
  517. package/dist/chunks/cli-1.1.25-1hx796kk.mjs +0 -2
  518. package/dist/chunks/cli-1.1.25-1s7ketx0.mjs +0 -2
  519. package/dist/chunks/cli-1.1.25-1sf51thg.mjs +0 -3
  520. package/dist/chunks/cli-1.1.25-221zdn3h.mjs +0 -4
  521. package/dist/chunks/cli-1.1.25-24f6az0s.mjs +0 -2
  522. package/dist/chunks/cli-1.1.25-2gjxmbsj.mjs +0 -2
  523. package/dist/chunks/cli-1.1.25-2gtabky3.mjs +0 -60
  524. package/dist/chunks/cli-1.1.25-2wd0qj2d.mjs +0 -2
  525. package/dist/chunks/cli-1.1.25-2we0778z.mjs +0 -2
  526. package/dist/chunks/cli-1.1.25-2zepg15b.mjs +0 -2
  527. package/dist/chunks/cli-1.1.25-32br2csx.mjs +0 -2
  528. package/dist/chunks/cli-1.1.25-32qfxqyg.mjs +0 -2
  529. package/dist/chunks/cli-1.1.25-348yqf3d.mjs +0 -2
  530. package/dist/chunks/cli-1.1.25-37rs38eq.mjs +0 -2
  531. package/dist/chunks/cli-1.1.25-3dd0c7xd.mjs +0 -4
  532. package/dist/chunks/cli-1.1.25-3ev2q4bm.mjs +0 -4
  533. package/dist/chunks/cli-1.1.25-3hnrfkxc.mjs +0 -2
  534. package/dist/chunks/cli-1.1.25-3nhwpx0q.mjs +0 -3
  535. package/dist/chunks/cli-1.1.25-3nm4kgwz.mjs +0 -2
  536. package/dist/chunks/cli-1.1.25-3qj0n5y0.mjs +0 -21
  537. package/dist/chunks/cli-1.1.25-3tnd3xyt.mjs +0 -3
  538. package/dist/chunks/cli-1.1.25-3v5624jg.mjs +0 -2
  539. package/dist/chunks/cli-1.1.25-3vtsr7s2.mjs +0 -2
  540. package/dist/chunks/cli-1.1.25-45mx738r.mjs +0 -3
  541. package/dist/chunks/cli-1.1.25-4cgvw7e3.mjs +0 -2
  542. package/dist/chunks/cli-1.1.25-4d1zk1ar.mjs +0 -12
  543. package/dist/chunks/cli-1.1.25-4h4yaa4x.mjs +0 -2
  544. package/dist/chunks/cli-1.1.25-4yjtqfa0.mjs +0 -2
  545. package/dist/chunks/cli-1.1.25-54q2vnck.mjs +0 -2
  546. package/dist/chunks/cli-1.1.25-5f8d8bx1.mjs +0 -2
  547. package/dist/chunks/cli-1.1.25-5g78avtr.mjs +0 -2
  548. package/dist/chunks/cli-1.1.25-5n21xpvc.mjs +0 -16
  549. package/dist/chunks/cli-1.1.25-5qknjpxc.mjs +0 -2
  550. package/dist/chunks/cli-1.1.25-5r495hn7.mjs +0 -4
  551. package/dist/chunks/cli-1.1.25-5s22yhkx.mjs +0 -3
  552. package/dist/chunks/cli-1.1.25-5s65r14h.mjs +0 -2
  553. package/dist/chunks/cli-1.1.25-5ye3ascx.mjs +0 -2
  554. package/dist/chunks/cli-1.1.25-639mzh6g.mjs +0 -2
  555. package/dist/chunks/cli-1.1.25-63kkff0g.mjs +0 -2
  556. package/dist/chunks/cli-1.1.25-683ggh08.mjs +0 -2
  557. package/dist/chunks/cli-1.1.25-687hxtdb.mjs +0 -1
  558. package/dist/chunks/cli-1.1.25-69shxnnp.mjs +0 -2
  559. package/dist/chunks/cli-1.1.25-6bb29bw7.mjs +0 -2
  560. package/dist/chunks/cli-1.1.25-6panntay.mjs +0 -17
  561. package/dist/chunks/cli-1.1.25-6pthkv1w.mjs +0 -4
  562. package/dist/chunks/cli-1.1.25-6r6r7rep.mjs +0 -4
  563. package/dist/chunks/cli-1.1.25-6t9phfap.mjs +0 -2
  564. package/dist/chunks/cli-1.1.25-6vwz5vma.mjs +0 -2
  565. package/dist/chunks/cli-1.1.25-6wcggeyr.mjs +0 -25
  566. package/dist/chunks/cli-1.1.25-6wjrv08c.mjs +0 -6
  567. package/dist/chunks/cli-1.1.25-746dypse.mjs +0 -2
  568. package/dist/chunks/cli-1.1.25-74ys7518.mjs +0 -42
  569. package/dist/chunks/cli-1.1.25-7d3fdbq5.mjs +0 -17
  570. package/dist/chunks/cli-1.1.25-7d7cptk6.mjs +0 -10
  571. package/dist/chunks/cli-1.1.25-7qert3s4.mjs +0 -2
  572. package/dist/chunks/cli-1.1.25-7qxwpfwh.mjs +0 -2
  573. package/dist/chunks/cli-1.1.25-7wsdhgky.mjs +0 -2
  574. package/dist/chunks/cli-1.1.25-82ht7pxh.mjs +0 -2
  575. package/dist/chunks/cli-1.1.25-8byrahks.mjs +0 -2
  576. package/dist/chunks/cli-1.1.25-8eznzbsa.mjs +0 -5
  577. package/dist/chunks/cli-1.1.25-8hv1dfrb.mjs +0 -2
  578. package/dist/chunks/cli-1.1.25-8k2bszzr.mjs +0 -2
  579. package/dist/chunks/cli-1.1.25-8v1gw0tw.mjs +0 -9
  580. package/dist/chunks/cli-1.1.25-8vqmp6g5.mjs +0 -20
  581. package/dist/chunks/cli-1.1.25-9f27xm90.mjs +0 -25
  582. package/dist/chunks/cli-1.1.25-9grz07r4.mjs +0 -34
  583. package/dist/chunks/cli-1.1.25-9m237kwt.mjs +0 -2
  584. package/dist/chunks/cli-1.1.25-9xqq9dsw.mjs +0 -3
  585. package/dist/chunks/cli-1.1.25-9yhnadye.mjs +0 -24
  586. package/dist/chunks/cli-1.1.25-9z7tyxc4.mjs +0 -2
  587. package/dist/chunks/cli-1.1.25-a0zejb5c.mjs +0 -2
  588. package/dist/chunks/cli-1.1.25-am98khq7.mjs +0 -2
  589. package/dist/chunks/cli-1.1.25-anhj1nnt.mjs +0 -2
  590. package/dist/chunks/cli-1.1.25-anvsm1cs.mjs +0 -2
  591. package/dist/chunks/cli-1.1.25-b1hj5x42.mjs +0 -2
  592. package/dist/chunks/cli-1.1.25-ba3yrxg9.mjs +0 -2
  593. package/dist/chunks/cli-1.1.25-bmjvmtgk.mjs +0 -2
  594. package/dist/chunks/cli-1.1.25-bvg3kwg7.mjs +0 -4
  595. package/dist/chunks/cli-1.1.25-cc10r97z.mjs +0 -2
  596. package/dist/chunks/cli-1.1.25-cmsea0j8.mjs +0 -15
  597. package/dist/chunks/cli-1.1.25-csgmna38.mjs +0 -2
  598. package/dist/chunks/cli-1.1.25-d029ezbm.mjs +0 -2
  599. package/dist/chunks/cli-1.1.25-d15hk64v.mjs +0 -2
  600. package/dist/chunks/cli-1.1.25-d6ybhba5.mjs +0 -2
  601. package/dist/chunks/cli-1.1.25-dc92c5gy.mjs +0 -2
  602. package/dist/chunks/cli-1.1.25-df9x7s0j.mjs +0 -2
  603. package/dist/chunks/cli-1.1.25-dn7m24cg.mjs +0 -2
  604. package/dist/chunks/cli-1.1.25-drtfsgw8.mjs +0 -3
  605. package/dist/chunks/cli-1.1.25-dw0mshd5.mjs +0 -2
  606. package/dist/chunks/cli-1.1.25-e2ng6vcx.mjs +0 -2
  607. package/dist/chunks/cli-1.1.25-ed14rf9g.mjs +0 -2
  608. package/dist/chunks/cli-1.1.25-eqtpax1f.mjs +0 -6
  609. package/dist/chunks/cli-1.1.25-etb23y0w.mjs +0 -4
  610. package/dist/chunks/cli-1.1.25-ex6f69yn.mjs +0 -2
  611. package/dist/chunks/cli-1.1.25-f424x1de.mjs +0 -2
  612. package/dist/chunks/cli-1.1.25-f57233sm.mjs +0 -8
  613. package/dist/chunks/cli-1.1.25-f5ag59tm.mjs +0 -4
  614. package/dist/chunks/cli-1.1.25-f6w108cp.mjs +0 -6
  615. package/dist/chunks/cli-1.1.25-f9pk1asa.mjs +0 -7
  616. package/dist/chunks/cli-1.1.25-fr1nw6bz.mjs +0 -2
  617. package/dist/chunks/cli-1.1.25-fwh7d55c.mjs +0 -2
  618. package/dist/chunks/cli-1.1.25-g6y71why.mjs +0 -24
  619. package/dist/chunks/cli-1.1.25-gba9rrnp.mjs +0 -15
  620. package/dist/chunks/cli-1.1.25-gezpvyzq.mjs +0 -2
  621. package/dist/chunks/cli-1.1.25-gm5mfwmy.mjs +0 -2
  622. package/dist/chunks/cli-1.1.25-gmvcd8bm.mjs +0 -2
  623. package/dist/chunks/cli-1.1.25-gnsqbh0h.mjs +0 -2
  624. package/dist/chunks/cli-1.1.25-gsngwhfp.mjs +0 -2
  625. package/dist/chunks/cli-1.1.25-gz32rhhs.mjs +0 -2
  626. package/dist/chunks/cli-1.1.25-h164y8f5.mjs +0 -2
  627. package/dist/chunks/cli-1.1.25-h6ag26rc.mjs +0 -2
  628. package/dist/chunks/cli-1.1.25-hjvawqyb.mjs +0 -2
  629. package/dist/chunks/cli-1.1.25-hjwttff4.mjs +0 -2
  630. package/dist/chunks/cli-1.1.25-hpfkk20r.mjs +0 -2
  631. package/dist/chunks/cli-1.1.25-j6x483np.mjs +0 -2
  632. package/dist/chunks/cli-1.1.25-jaz67hdc.mjs +0 -2
  633. package/dist/chunks/cli-1.1.25-jk7skh2n.mjs +0 -2
  634. package/dist/chunks/cli-1.1.25-jmv6jw6b.mjs +0 -2
  635. package/dist/chunks/cli-1.1.25-jsn4we2f.mjs +0 -2
  636. package/dist/chunks/cli-1.1.25-k6kqfxnq.mjs +0 -2
  637. package/dist/chunks/cli-1.1.25-k6v3tvg9.mjs +0 -2
  638. package/dist/chunks/cli-1.1.25-kdamwjt1.mjs +0 -2
  639. package/dist/chunks/cli-1.1.25-kn1yv4f6.mjs +0 -2
  640. package/dist/chunks/cli-1.1.25-kpah4ttt.mjs +0 -2
  641. package/dist/chunks/cli-1.1.25-kpv8j6wf.mjs +0 -2
  642. package/dist/chunks/cli-1.1.25-kvwevqsc.mjs +0 -18
  643. package/dist/chunks/cli-1.1.25-m0h0ddew.mjs +0 -2
  644. package/dist/chunks/cli-1.1.25-m86a8tmc.mjs +0 -2
  645. package/dist/chunks/cli-1.1.25-n10jmzvk.mjs +0 -2
  646. package/dist/chunks/cli-1.1.25-n5gb4kx8.mjs +0 -2
  647. package/dist/chunks/cli-1.1.25-n6df4vnz.mjs +0 -2
  648. package/dist/chunks/cli-1.1.25-nh2xj15f.mjs +0 -2
  649. package/dist/chunks/cli-1.1.25-njrez2x5.mjs +0 -12
  650. package/dist/chunks/cli-1.1.25-nmw9agm4.mjs +0 -133
  651. package/dist/chunks/cli-1.1.25-nmxbk4dt.mjs +0 -2
  652. package/dist/chunks/cli-1.1.25-np8863pb.mjs +0 -3
  653. package/dist/chunks/cli-1.1.25-ntfm6tbg.mjs +0 -2
  654. package/dist/chunks/cli-1.1.25-nwdtve8h.mjs +0 -2
  655. package/dist/chunks/cli-1.1.25-nxvqf4sh.mjs +0 -2
  656. package/dist/chunks/cli-1.1.25-p2kmhxd3.mjs +0 -3
  657. package/dist/chunks/cli-1.1.25-p9j8prqh.mjs +0 -2
  658. package/dist/chunks/cli-1.1.25-pcamey8m.mjs +0 -2
  659. package/dist/chunks/cli-1.1.25-peepax79.mjs +0 -66
  660. package/dist/chunks/cli-1.1.25-pgs0x971.mjs +0 -50
  661. package/dist/chunks/cli-1.1.25-px1h2b7d.mjs +0 -2
  662. package/dist/chunks/cli-1.1.25-pxq7zyjb.mjs +0 -2
  663. package/dist/chunks/cli-1.1.25-pzp73p0x.mjs +0 -2
  664. package/dist/chunks/cli-1.1.25-q257pczz.mjs +0 -133
  665. package/dist/chunks/cli-1.1.25-q5qj0wfa.mjs +0 -18
  666. package/dist/chunks/cli-1.1.25-q5tqh3tz.mjs +0 -2
  667. package/dist/chunks/cli-1.1.25-q88hb4qg.mjs +0 -5459
  668. package/dist/chunks/cli-1.1.25-qd1b1zr7.mjs +0 -3
  669. package/dist/chunks/cli-1.1.25-qd1q5w85.mjs +0 -2
  670. package/dist/chunks/cli-1.1.25-qgnyys4j.mjs +0 -6
  671. package/dist/chunks/cli-1.1.25-qp9j9ma3.mjs +0 -24
  672. package/dist/chunks/cli-1.1.25-qpb14xj4.mjs +0 -2
  673. package/dist/chunks/cli-1.1.25-qtjt3cq9.mjs +0 -2
  674. package/dist/chunks/cli-1.1.25-r0dwt4a0.mjs +0 -2
  675. package/dist/chunks/cli-1.1.25-rbapdr02.mjs +0 -2
  676. package/dist/chunks/cli-1.1.25-rbnjv023.mjs +0 -2
  677. package/dist/chunks/cli-1.1.25-rf05pze2.mjs +0 -2
  678. package/dist/chunks/cli-1.1.25-rf0c9c9r.mjs +0 -3
  679. package/dist/chunks/cli-1.1.25-rg5rxmym.mjs +0 -9
  680. package/dist/chunks/cli-1.1.25-rkh9pz84.mjs +0 -2
  681. package/dist/chunks/cli-1.1.25-rqzwndms.mjs +0 -45
  682. package/dist/chunks/cli-1.1.25-rwg08ga2.mjs +0 -39
  683. package/dist/chunks/cli-1.1.25-s1ykc389.mjs +0 -2
  684. package/dist/chunks/cli-1.1.25-s54emewd.mjs +0 -206
  685. package/dist/chunks/cli-1.1.25-sjqg08ww.mjs +0 -2
  686. package/dist/chunks/cli-1.1.25-sm3q65hz.mjs +0 -2
  687. package/dist/chunks/cli-1.1.25-svtt1qhf.mjs +0 -5
  688. package/dist/chunks/cli-1.1.25-sz3dey5y.mjs +0 -2
  689. package/dist/chunks/cli-1.1.25-t6rdfhp9.mjs +0 -3
  690. package/dist/chunks/cli-1.1.25-t80ab9f0.mjs +0 -7
  691. package/dist/chunks/cli-1.1.25-tftyt531.mjs +0 -3
  692. package/dist/chunks/cli-1.1.25-tj3kqgbv.mjs +0 -2
  693. package/dist/chunks/cli-1.1.25-tz7k6gjy.mjs +0 -2
  694. package/dist/chunks/cli-1.1.25-vc7150xz.mjs +0 -2
  695. package/dist/chunks/cli-1.1.25-vkg5fb0z.mjs +0 -2
  696. package/dist/chunks/cli-1.1.25-vwe1fsde.mjs +0 -2
  697. package/dist/chunks/cli-1.1.25-wcw9vrkz.mjs +0 -2
  698. package/dist/chunks/cli-1.1.25-wd0p9nmj.mjs +0 -24
  699. package/dist/chunks/cli-1.1.25-wtrb99c9.mjs +0 -2
  700. package/dist/chunks/cli-1.1.25-wy18zt7a.mjs +0 -3
  701. package/dist/chunks/cli-1.1.25-x26vkphq.mjs +0 -6
  702. package/dist/chunks/cli-1.1.25-x4ww7pe7.mjs +0 -2
  703. package/dist/chunks/cli-1.1.25-xbxtyfje.mjs +0 -2
  704. package/dist/chunks/cli-1.1.25-y0f45gyf.mjs +0 -2
  705. package/dist/chunks/cli-1.1.25-y4xjnn7w.mjs +0 -2
  706. package/dist/chunks/cli-1.1.25-ybe971qx.mjs +0 -15
  707. package/dist/chunks/cli-1.1.25-yctc3qt8.mjs +0 -2
  708. package/dist/chunks/cli-1.1.25-yf3nnsg1.mjs +0 -2
  709. package/dist/chunks/cli-1.1.25-z31z20wf.mjs +0 -2
  710. package/dist/chunks/cli-1.1.25-zk74mh7n.mjs +0 -2
  711. package/dist/chunks/cli-1.1.25-zpzhf7zc.mjs +0 -2
  712. package/dist/chunks/cli-1.1.25-zqqpy89q.mjs +0 -6
  713. package/dist/chunks/cli-1.1.25-zrj2zpkp.mjs +0 -2
  714. package/dist/chunks/client-1.1.25-08n7ywgz.mjs +0 -1
  715. package/dist/chunks/color-1.1.25-n45p3cdv.mjs +0 -1
  716. package/dist/chunks/compact-1.1.25-qqv3fce7.mjs +0 -3
  717. package/dist/chunks/config-1.1.25-bvznkf41.mjs +0 -1
  718. package/dist/chunks/config-1.1.25-n6dtcns2.mjs +0 -1
  719. package/dist/chunks/constants-1.1.25-g61cz55f.mjs +0 -1
  720. package/dist/chunks/context-1.1.25-e3n1bdyd.mjs +0 -1
  721. package/dist/chunks/context-noninteractive-1.1.25-6drmca9m.mjs +0 -1
  722. package/dist/chunks/conversation-1.1.25-5xfam12e.mjs +0 -1
  723. package/dist/chunks/copilotHeaders-1.1.25-n3q0s4gz.mjs +0 -1
  724. package/dist/chunks/copy-1.1.25-wcjjc2td.mjs +0 -9
  725. package/dist/chunks/cost-1.1.25-czrc10qr.mjs +0 -1
  726. package/dist/chunks/createSSHSession-1.1.25-q7sr5mgy.mjs +0 -1
  727. package/dist/chunks/createSession-1.1.25-abgdr9mn.mjs +0 -1
  728. package/dist/chunks/debug-1.1.25-4284each.mjs +0 -1
  729. package/dist/chunks/defaultActionDeps-1.1.25-bh5e3czf.mjs +0 -1534
  730. package/dist/chunks/desktop-1.1.25-kb98q9vj.mjs +0 -1
  731. package/dist/chunks/detectRepository-1.1.25-a7pfgy12.mjs +0 -1
  732. package/dist/chunks/detection-1.1.25-8nzvw5jn.mjs +0 -1
  733. package/dist/chunks/diff-1.1.25-dhnj1tfb.mjs +0 -1
  734. package/dist/chunks/doctor-1.1.25-0x83n5n5.mjs +0 -1
  735. package/dist/chunks/doctorDiagnostic-1.1.25-qmg4yght.mjs +0 -1
  736. package/dist/chunks/earlyInput-1.1.25-jz9ewwc0.mjs +0 -1
  737. package/dist/chunks/effort-1.1.25-6gemkp3j.mjs +0 -13
  738. package/dist/chunks/engine-1.1.25-hb7ppn8y.mjs +0 -1
  739. package/dist/chunks/envLessBridgeConfig-1.1.25-32s3yykr.mjs +0 -1
  740. package/dist/chunks/envUtils-1.1.25-trphmt1z.mjs +0 -1
  741. package/dist/chunks/environmentSelection-1.1.25-jew2phex.mjs +0 -1
  742. package/dist/chunks/environments-1.1.25-nkh2j8kv.mjs +0 -1
  743. package/dist/chunks/errors-1.1.25-0t1vtdpj.mjs +0 -1
  744. package/dist/chunks/exampleCommands-1.1.25-n2ktzve3.mjs +0 -1
  745. package/dist/chunks/execFileNoThrow-1.1.25-2f72pb95.mjs +0 -1
  746. package/dist/chunks/exit-1.1.25-302bsne4.mjs +0 -1
  747. package/dist/chunks/explorer-1.1.25-f47vrcdd.mjs +0 -1
  748. package/dist/chunks/export-1.1.25-655jmasp.mjs +0 -2
  749. package/dist/chunks/extra-usage-1.1.25-9f3dc9de.mjs +0 -1
  750. package/dist/chunks/extra-usage-noninteractive-1.1.25-wjzcb1d3.mjs +0 -1
  751. package/dist/chunks/fast-1.1.25-k4a1t9tc.mjs +0 -1
  752. package/dist/chunks/feedback-1.1.25-crmhd8kn.mjs +0 -14
  753. package/dist/chunks/firstPartyEventLogger-1.1.25-pr01pvjg.mjs +0 -1
  754. package/dist/chunks/git-1.1.25-r40xnnqg.mjs +0 -1
  755. package/dist/chunks/githubModelsCredentials-1.1.25-8r84eppg.mjs +0 -1
  756. package/dist/chunks/goal-1.1.25-2fz16dne.mjs +0 -4
  757. package/dist/chunks/growthbook-1.1.25-vr1d3g20.mjs +0 -1
  758. package/dist/chunks/headless-1.1.25-b7ma19kx.mjs +0 -2
  759. package/dist/chunks/heapdump-1.1.25-s74fnvr9.mjs +0 -6
  760. package/dist/chunks/help-1.1.25-jphw3nwb.mjs +0 -1
  761. package/dist/chunks/hookChains-1.1.25-wad3j7ae.mjs +0 -3
  762. package/dist/chunks/hooks-1.1.25-5psxtbt2.mjs +0 -79
  763. package/dist/chunks/hooks-1.1.25-n6f1dkc7.mjs +0 -1
  764. package/dist/chunks/ide-1.1.25-21kw5qe1.mjs +0 -3
  765. package/dist/chunks/image-processor-napi-1.1.25-jymb540y.mjs +0 -1
  766. package/dist/chunks/import-1.1.25-71q60jx1.mjs +0 -261
  767. package/dist/chunks/inboundAttachments-1.1.25-qg5v4c4j.mjs +0 -1
  768. package/dist/chunks/index-1.1.25-0f94rjfd.mjs +0 -1
  769. package/dist/chunks/index-1.1.25-0n1ksx20.mjs +0 -2
  770. package/dist/chunks/index-1.1.25-1n597wy3.mjs +0 -1
  771. package/dist/chunks/index-1.1.25-1rwmhexf.mjs +0 -1
  772. package/dist/chunks/index-1.1.25-6160t93h.mjs +0 -30
  773. package/dist/chunks/index-1.1.25-645qcmbw.mjs +0 -9
  774. package/dist/chunks/index-1.1.25-70ggh135.mjs +0 -1
  775. package/dist/chunks/index-1.1.25-7nk5p28a.mjs +0 -1
  776. package/dist/chunks/index-1.1.25-7p7qd15b.mjs +0 -23
  777. package/dist/chunks/index-1.1.25-8z7y79bf.mjs +0 -1
  778. package/dist/chunks/index-1.1.25-affe6cxt.mjs +0 -9
  779. package/dist/chunks/index-1.1.25-bec2ajvp.mjs +0 -1
  780. package/dist/chunks/index-1.1.25-f64qrtc9.mjs +0 -5
  781. package/dist/chunks/index-1.1.25-g7v9zhk1.mjs +0 -1
  782. package/dist/chunks/index-1.1.25-g99896ns.mjs +0 -1
  783. package/dist/chunks/index-1.1.25-hcbmys9p.mjs +0 -1
  784. package/dist/chunks/index-1.1.25-j8rm4qgs.mjs +0 -2
  785. package/dist/chunks/index-1.1.25-kh02yd5c.mjs +0 -1
  786. package/dist/chunks/index-1.1.25-m6k2vy2a.mjs +0 -1
  787. package/dist/chunks/index-1.1.25-pmn6pnjv.mjs +0 -1
  788. package/dist/chunks/index-1.1.25-t0kaa1dy.mjs +0 -1
  789. package/dist/chunks/index-1.1.25-xfdfregs.mjs +0 -1
  790. package/dist/chunks/index-1.1.25-ychm6aj7.mjs +0 -1
  791. package/dist/chunks/init-1.1.25-x7cr3p65.mjs +0 -1
  792. package/dist/chunks/initReplBridge-1.1.25-zcgy02rq.mjs +0 -1
  793. package/dist/chunks/ink-1.1.25-evxr7syt.mjs +0 -1
  794. package/dist/chunks/insights-1.1.25-0zz5y2cs.mjs +0 -870
  795. package/dist/chunks/install-1.1.25-nghrpc4k.mjs +0 -1
  796. package/dist/chunks/install-github-app-1.1.25-1tb3cz5k.mjs +0 -149
  797. package/dist/chunks/install-slack-app-1.1.25-vsp3sc6d.mjs +0 -1
  798. package/dist/chunks/instrumentation-1.1.25-e9arjmhp.mjs +0 -1
  799. package/dist/chunks/interactiveHelpers-1.1.25-dvn7nkzf.mjs +0 -1
  800. package/dist/chunks/keybindings-1.1.25-7tf4nkft.mjs +0 -2
  801. package/dist/chunks/knowledge-1.1.25-gchxmcv2.mjs +0 -2
  802. package/dist/chunks/latestVersionCache-1.1.25-gzy09f8s.mjs +0 -1
  803. package/dist/chunks/loadAgentsDir-1.1.25-3fvea40c.mjs +0 -1
  804. package/dist/chunks/loadPluginHooks-1.1.25-1b1z5t2x.mjs +0 -1
  805. package/dist/chunks/log-1.1.25-rhpcv45j.mjs +0 -1
  806. package/dist/chunks/main-1.1.25-hpaj9gzw.mjs +0 -1
  807. package/dist/chunks/managedEnv-1.1.25-19sxqzbj.mjs +0 -1
  808. package/dist/chunks/mcp-1.1.25-bkgk2vye.mjs +0 -1
  809. package/dist/chunks/mcp-1.1.25-n5bde32b.mjs +0 -17
  810. package/dist/chunks/mcp-1.1.25-wsfk73n2.mjs +0 -4
  811. package/dist/chunks/mcpb-1.1.25-jwd1ff98.mjs +0 -1
  812. package/dist/chunks/memory-1.1.25-ae4515h6.mjs +0 -72
  813. package/dist/chunks/model-1.1.25-kdc32s97.mjs +0 -1
  814. package/dist/chunks/model-1.1.25-x3hpj8mx.mjs +0 -2
  815. package/dist/chunks/node-1.1.25-bmakbgcc.mjs +0 -15
  816. package/dist/chunks/oauth-1.1.25-dpw2v0gf.mjs +0 -1
  817. package/dist/chunks/openaiShim-1.1.25-frxz7cxz.mjs +0 -14
  818. package/dist/chunks/output-style-1.1.25-ja0xn44t.mjs +0 -1
  819. package/dist/chunks/package-SHMK2LJE-1.1.25-n5senjea.mjs +0 -1
  820. package/dist/chunks/parseConnectUrl-1.1.25-2w1mb832.mjs +0 -1
  821. package/dist/chunks/parser-1.1.25-226xm2zk.mjs +0 -1
  822. package/dist/chunks/passes-1.1.25-3pbcz45a.mjs +0 -1
  823. package/dist/chunks/permissions-1.1.25-3yb8c211.mjs +0 -1
  824. package/dist/chunks/permissions-1.1.25-g8395q9y.mjs +0 -3
  825. package/dist/chunks/plan-1.1.25-335rgqar.mjs +0 -1
  826. package/dist/chunks/plist-1.1.25-4gx9kzb9.mjs +0 -1
  827. package/dist/chunks/plugin-1.1.25-7twsr9qb.mjs +0 -29
  828. package/dist/chunks/pluginStartupCheck-1.1.25-h43rcveq.mjs +0 -1
  829. package/dist/chunks/plugins-1.1.25-36r120jp.mjs +0 -9
  830. package/dist/chunks/preActionHook-1.1.25-mq77hmkq.mjs +0 -2
  831. package/dist/chunks/print-1.1.25-nyqwpaw6.mjs +0 -57
  832. package/dist/chunks/process-1.1.25-40rkvfxz.mjs +0 -1
  833. package/dist/chunks/processBashCommand-1.1.25-4rt9wd52.mjs +0 -1
  834. package/dist/chunks/processSlashCommand-1.1.25-50jz8vq4.mjs +0 -9
  835. package/dist/chunks/prompt-1.1.25-ab2m25ry.mjs +0 -1
  836. package/dist/chunks/prompt-1.1.25-tsf93p18.mjs +0 -1
  837. package/dist/chunks/prompts-1.1.25-7asah358.mjs +0 -1
  838. package/dist/chunks/protocolHandler-1.1.25-fjma0898.mjs +0 -13
  839. package/dist/chunks/provider-1.1.25-jcm6xct3.mjs +0 -2
  840. package/dist/chunks/providerProfiles-1.1.25-86yene25.mjs +0 -1
  841. package/dist/chunks/providerValidation-1.1.25-gbve71cz.mjs +0 -6
  842. package/dist/chunks/rate-limit-options-1.1.25-n6v741p7.mjs +0 -1
  843. package/dist/chunks/registerSubcommands-1.1.25-d988tp7q.mjs +0 -26
  844. package/dist/chunks/registry-1.1.25-jda5me4n.mjs +0 -1
  845. package/dist/chunks/release-notes-1.1.25-depx979r.mjs +0 -5
  846. package/dist/chunks/reload-plugins-1.1.25-nc27sfgy.mjs +0 -2
  847. package/dist/chunks/remote-env-1.1.25-adtemst2.mjs +0 -1
  848. package/dist/chunks/remoteBridgeCore-1.1.25-vyw0r3a7.mjs +0 -1
  849. package/dist/chunks/remoteSession-1.1.25-f1hb7zcj.mjs +0 -1
  850. package/dist/chunks/rename-1.1.25-r9khtthn.mjs +0 -1
  851. package/dist/chunks/replBridgeHandle-1.1.25-5tbm27ae.mjs +0 -1
  852. package/dist/chunks/replLauncher-1.1.25-dy1jxrha.mjs +0 -1
  853. package/dist/chunks/resume-1.1.25-qcctpvst.mjs +0 -2
  854. package/dist/chunks/rewind-1.1.25-2tpvsdz2.mjs +0 -1
  855. package/dist/chunks/rootOptions-1.1.25-6gjd4t0k.mjs +0 -1
  856. package/dist/chunks/runWorkflowHeadless-1.1.25-1x11b1xy.mjs +0 -10
  857. package/dist/chunks/sandbox-adapter-1.1.25-2qsj3g4r.mjs +0 -1
  858. package/dist/chunks/sandbox-toggle-1.1.25-tn86q9kj.mjs +0 -1
  859. package/dist/chunks/session-1.1.25-tpnhf7nk.mjs +0 -2
  860. package/dist/chunks/sessionDiscovery-1.1.25-z48aepj2.mjs +0 -1
  861. package/dist/chunks/sessionFileAccessHooks-1.1.25-w9mqv7x2.mjs +0 -1
  862. package/dist/chunks/sessionStorage-1.1.25-f61wmxkh.mjs +0 -1
  863. package/dist/chunks/settings-1.1.25-5f0ye0zf.mjs +0 -1
  864. package/dist/chunks/setup-1.1.25-hq096wz8.mjs +0 -12
  865. package/dist/chunks/sinks-1.1.25-k89ee9jd.mjs +0 -1
  866. package/dist/chunks/skills-1.1.25-zny3acfm.mjs +0 -1
  867. package/dist/chunks/startupProfiler-1.1.25-jrb54jgv.mjs +0 -1
  868. package/dist/chunks/startupUpdateCheck-1.1.25-0e8arnxt.mjs +0 -1
  869. package/dist/chunks/state-1.1.25-2f0mn1s8.mjs +0 -1
  870. package/dist/chunks/stats-1.1.25-w4v85n4m.mjs +0 -1
  871. package/dist/chunks/status-1.1.25-vyxf29s0.mjs +0 -1
  872. package/dist/chunks/stickers-1.1.25-db9b5d86.mjs +0 -1
  873. package/dist/chunks/subprocessEnv-1.1.25-b06h7dn5.mjs +0 -1
  874. package/dist/chunks/tasks-1.1.25-d44s3czy.mjs +0 -1
  875. package/dist/chunks/teamHelpers-1.1.25-yy2zwqy3.mjs +0 -1
  876. package/dist/chunks/teammateModeSnapshot-1.1.25-45w75v4y.mjs +0 -1
  877. package/dist/chunks/teleport-1.1.25-5be1s310.mjs +0 -1
  878. package/dist/chunks/terminalSetup-1.1.25-b5a4adgd.mjs +0 -1
  879. package/dist/chunks/theme-1.1.25-wkyf9b5k.mjs +0 -1
  880. package/dist/chunks/thinkback-1.1.25-6575xnpn.mjs +0 -1
  881. package/dist/chunks/thinkback-play-1.1.25-amw47kg0.mjs +0 -1
  882. package/dist/chunks/toolPool-1.1.25-h7pp3y85.mjs +0 -1
  883. package/dist/chunks/toolSearch-1.1.25-brpn0e66.mjs +0 -1
  884. package/dist/chunks/tools-1.1.25-t4rr3y1m.mjs +0 -1
  885. package/dist/chunks/trustedDevice-1.1.25-dgx4z9gb.mjs +0 -1
  886. package/dist/chunks/turndown.cjs-1.1.25-9c24hgzw.mjs +0 -69
  887. package/dist/chunks/types-1.1.25-tj3y8ycy.mjs +0 -1
  888. package/dist/chunks/ultrareviewCommand-1.1.25-kj7js02p.mjs +0 -4
  889. package/dist/chunks/update-1.1.25-fn4tnxnw.mjs +0 -72
  890. package/dist/chunks/upgrade-1.1.25-zd805a6y.mjs +0 -1
  891. package/dist/chunks/upload-1.1.25-nhsynsbb.mjs +0 -7
  892. package/dist/chunks/upstreamproxy-1.1.25-bh4an4es.mjs +0 -14
  893. package/dist/chunks/url-handler-napi-1.1.25-z7v66h19.mjs +0 -1
  894. package/dist/chunks/usage-1.1.25-0frq9der.mjs +0 -1
  895. package/dist/chunks/util-1.1.25-hqbcvpk3.mjs +0 -1
  896. package/dist/chunks/utils-1.1.25-mqy166xe.mjs +0 -1
  897. package/dist/chunks/vim-1.1.25-0gnwfzcy.mjs +0 -1
  898. package/dist/chunks/watchLoop-1.1.25-dnpy6c6e.mjs +0 -13
  899. package/dist/chunks/watcher-1.1.25-43n00zw0.mjs +0 -1
  900. package/dist/chunks/wiki-1.1.25-mvay6amg.mjs +0 -132
  901. package/dist/chunks/workflows-1.1.25-a2drn8b3.mjs +0 -1
  902. package/dist/chunks/worktree-1.1.25-cghd8r64.mjs +0 -1
  903. package/dist/chunks/worktreeModeEnabled-1.1.25-a15vww7v.mjs +0 -1
  904. package/dist/chunks/wrapper-1.1.25-chacpj74.mjs +0 -7
  905. /package/dist/chunks/{cli-1.1.25-r2a8d0xg.mjs → cli-1.1.26-6g0bq6h6.mjs} +0 -0
  906. /package/dist/chunks/{cli-1.1.25-k9qcf2mf.mjs → cli-1.1.26-7q7jw0ck.mjs} +0 -0
  907. /package/dist/chunks/{cli-1.1.25-hdgk2770.mjs → cli-1.1.26-nqygxkhw.mjs} +0 -0
  908. /package/dist/chunks/{cli-1.1.25-cpt1h3j8.mjs → cli-1.1.26-rbz29dt9.mjs} +0 -0
  909. /package/dist/chunks/{cli-1.1.25-s9sv7xk9.mjs → cli-1.1.26-sgj6knz9.mjs} +0 -0
  910. /package/dist/chunks/{cli-1.1.25-ctfh8503.mjs → cli-1.1.26-t8fgt5kw.mjs} +0 -0
@@ -1,2 +0,0 @@
1
- import{N4 as J,P4 as Y}from"./cli-1.1.25-dc92c5gy.mjs";import{T4 as G,V4 as X}from"./cli-1.1.25-rkh9pz84.mjs";import{T8 as B,X5 as z,Y8 as D,Z8 as F,a6 as V,r9 as W}from"./cli-1.1.25-5n21xpvc.mjs";import{Aka as w,Bka as N}from"./cli-1.1.25-6vwz5vma.mjs";import{eta as y,wta as Q}from"./cli-1.1.25-9yhnadye.mjs";import{Yta as M}from"./cli-1.1.25-7qxwpfwh.mjs";async function f(){if(!D()||!F())return{};let q=B();if(q&&z(q.expiresAt))return null;let m=J();if(m.error)throw Error(`Auth error: ${m.error}`);let K={"Content-Type":"application/json","User-Agent":G(),...m.headers},L=`${w().BASE_API_URL}/api/oauth/usage`;return(await y.get(L,{headers:K,timeout:5000})).data}var Z=M(()=>{Q();N();W();Y();X();V()});
2
- export{f as nj,Z as oj};
@@ -1,2 +0,0 @@
1
- import{kY as H,mY as M}from"./cli-1.1.25-vc7150xz.mjs";import{Cea as D,Gba as y,Pba as K,Pea as L,xea as B}from"./cli-1.1.25-s54emewd.mjs";import{Yta as J}from"./cli-1.1.25-7qxwpfwh.mjs";async function Z(){let b=await H();if(b.length===0)return{availableEnvironments:[],selectedEnvironment:null,selectedEnvironmentSource:null};let x=D()?.remote?.defaultEnvironmentId,z=b.find((q)=>q.kind!=="bridge")??b[0],A=null;if(x){let q=b.find((k)=>k.environment_id===x);if(q){z=q;for(let k=y.length-1;k>=0;k--){let w=y[k];if(!w||w==="flagSettings")continue;if(B(w)?.remote?.defaultEnvironmentId===x){A=w;break}}}}return{availableEnvironments:b,selectedEnvironment:z,selectedEnvironmentSource:A}}var P=J(()=>{K();L();M()});
2
- export{Z as jc,P as kc};
@@ -1,2 +0,0 @@
1
- import{ld as k,md as P}from"./cli-1.1.25-rbapdr02.mjs";import{sd as O,td as A,ud as f}from"./cli-1.1.25-fwh7d55c.mjs";import{C8 as U,G8 as V,L8 as j,r9 as E}from"./cli-1.1.25-5n21xpvc.mjs";import{$fa as G,Dfa as N,Gfa as J,Hha as b,Nfa as Y,Oca as X,Pca as H,Vca as x,gga as I,xga as h,zha as K}from"./cli-1.1.25-s54emewd.mjs";import{cma as F,kma as L}from"./cli-1.1.25-6r6r7rep.mjs";import{bsa as T,rpa as W}from"./cli-1.1.25-p9j8prqh.mjs";import{Yta as y}from"./cli-1.1.25-7qxwpfwh.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 gd,l as hd,S as id,u as jd};
@@ -1,2 +0,0 @@
1
- import{Ue as V,We as B}from"./cli-1.1.25-cmsea0j8.mjs";import{CS as F,Ck as L,Dx as Q,Ex as q,LO as U,NO as w}from"./cli-1.1.25-q88hb4qg.mjs";import{Aba as K,Fba as k}from"./cli-1.1.25-s54emewd.mjs";import{Fla as I,Ila as $}from"./cli-1.1.25-qgnyys4j.mjs";import{dma as G,kma as _}from"./cli-1.1.25-6r6r7rep.mjs";import{Yta as Z}from"./cli-1.1.25-7qxwpfwh.mjs";async function C(W,X){let E=V(W);if(!E)return null;try{let A=await U({systemPrompt:Q(['Generate a short kebab-case name (2-4 words) that captures the main topic of this conversation. Use lowercase words separated by hyphens. Examples: "fix-login-bug", "add-auth-feature", "refactor-api-client", "debug-test-failures". Return JSON with a "name" field.']),userPrompt:E,outputFormat:{type:"json_schema",schema:{type:"object",properties:{name:{type:"string"}},required:["name"],additionalProperties:!1}},signal:X,options:{querySource:"rename_generate_name",agents:[],isNonInteractiveSession:!1,hasAppendSystemPrompt:!1,mcpTools:[]}}),Y=L(A.message.content),z=K(Y);if(z&&typeof z==="object"&&"name"in z&&typeof z.name==="string")return z.name;return null}catch(A){return I(`generateSessionName failed: ${G(A)}`,{level:"error"}),null}}var D=Z(()=>{w();$();_();k();F();B();q()});
2
- export{C as Se,D as Te};
@@ -1,2 +0,0 @@
1
- import{jj as J,lj as K,mj as M}from"./cli-1.1.25-j6x483np.mjs";import{$Z as P,d2 as X}from"./cli-1.1.25-2gtabky3.mjs";import{I4 as q}from"./cli-1.1.25-fr1nw6bz.mjs";import{J4 as N}from"./cli-1.1.25-6bb29bw7.mjs";import{$fa as Z,Gfa as H}from"./cli-1.1.25-s54emewd.mjs";import{cia as Y}from"./cli-1.1.25-f5ag59tm.mjs";import{Fka as V}from"./cli-1.1.25-vkg5fb0z.mjs";import{Uta as z,Yta as Q}from"./cli-1.1.25-7qxwpfwh.mjs";function B(){let k=J();if(!k||!k.available||k.granted)return!1;return K(k)!==null}function E(){if(!B())return!1;let k=H();if(k.hasVisitedExtraUsage)return!1;if((k.overageCreditUpsellSeenCount??0)>=A)return!1;return!0}var R,y,A=3;var D=Q(()=>{X();V();M();Z();Y();q();R=z(P(),1),y=z(N(),1)});
2
- export{E as lh,D as mh};
@@ -1,2 +0,0 @@
1
- import{Gia as G,Ria as K}from"./cli-1.1.25-sjqg08ww.mjs";import{Hja as j,Jja as M,Kja as J,Lja as N}from"./cli-1.1.25-peepax79.mjs";M();K();N();var q={poll_interval_ms_not_at_capacity:2000,poll_interval_ms_at_capacity:600000,non_exclusive_heartbeat_interval_ms:0,multisession_poll_interval_ms_not_at_capacity:2000,multisession_poll_interval_ms_partial_capacity:2000,multisession_poll_interval_ms_at_capacity:600000,reclaim_older_than_ms:5000,session_keepalive_interval_v2_ms:120000};var B={message:"must be 0 (disabled) or ≥100ms"},P=J(()=>j.object({poll_interval_ms_not_at_capacity:j.number().int().min(100),poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B),non_exclusive_heartbeat_interval_ms:j.number().int().min(0).default(0),multisession_poll_interval_ms_not_at_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_not_at_capacity),multisession_poll_interval_ms_partial_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_partial_capacity),multisession_poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B).default(q.multisession_poll_interval_ms_at_capacity),reclaim_older_than_ms:j.number().int().min(1).default(5000),session_keepalive_interval_v2_ms:j.number().int().min(0).default(120000)}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or poll_interval_ms_at_capacity > 0"}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.multisession_poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or multisession_poll_interval_ms_at_capacity > 0"}));function $(){let b=G("tengu_bridge_poll_interval_config",q,300000),x=P().safeParse(b);return x.success?x.data:q}
2
- export{q as ka,$ as la};
@@ -1,2 +0,0 @@
1
- import{bsa as I,ioa as z,moa as F}from"./cli-1.1.25-p9j8prqh.mjs";import{Yta as E}from"./cli-1.1.25-7qxwpfwh.mjs";import{AsyncLocalStorage as J}from"async_hooks";function U(G,H){return D.run(G,H)}function K(){return D.getStore()??F()}function V(){try{return K()}catch{return z()}}function W(){return D.getStore()??z()}var D;var M=E(()=>{I();D=new J});var Y="command-name",Z="command-message",$="command-args",j="bash-input",q="bash-stdout",B="bash-stderr",L="local-command-stdout",R="local-command-stderr",_="local-command-caveat",b="tick",x="task-notification",A="task-id",T="tool-use-id",k="task-type",p="output-file",u="status",v="summary",y="worktree",f="worktreePath",C="worktreeBranch",S="remote-review",O="remote-review-progress",m="teammate-message",g="channel",h="fork-boilerplate",l="Your directive: ",w,c;var N=E(()=>{w=["help","-h","--help"],c=["list","show","display","current","view","get","check","describe","print","version","about","status","?"]});
2
- export{U as Mja,K as Nja,V as Oja,W as Pja,M as Qja,Y as Rja,Z as Sja,$ as Tja,j as Uja,q as Vja,B as Wja,L as Xja,R as Yja,_ as Zja,b as _ja,x as $ja,A as aka,T as bka,k as cka,p as dka,u as eka,v as fka,y as gka,f as hka,C as ika,S as jka,O as kka,m as lka,g as mka,h as nka,l as oka,w as pka,c as qka,N as rka};
@@ -1,4 +0,0 @@
1
- import{Be as Eq,xe as c}from"./cli-1.1.25-nh2xj15f.mjs";import{$L as v,$M as vq,$t as l,BM as e,Bp as Mq,CM as P,Fp as i,GM as jq,HM as O,Hp as Rq,IM as qq,KM as I,LM as Gq,Lp as A,Np as D,Op as Aq,Pp as h,Qp as S,RM as Cq,Rp as Fq,UM as b,VM as Lq,YM as Hq,ZM as Jq,aM as m,aN as y,au as wq,bN as Qq,cM as Oq,cN as Xq,dN as Yq,eN as $q,fN as d,iN as Dq,vM as n,vp as s,wp as Tq,zp as t}from"./cli-1.1.25-q88hb4qg.mjs";import{Hha as Bq,Pea as _q,Uda as V,aea as Kq,xea as F,zea as L,zha as a}from"./cli-1.1.25-s54emewd.mjs";import{rla as p,vla as xq}from"./cli-1.1.25-qgnyys4j.mjs";import{cma as o,fma as N,kma as Wq}from"./cli-1.1.25-6r6r7rep.mjs";import{bsa as Uq,ioa as f}from"./cli-1.1.25-p9j8prqh.mjs";import{Yta as Zq}from"./cli-1.1.25-7qxwpfwh.mjs";import{dirname as Nq,join as u}from"path";function g(q){if(!k.includes(q))throw Error(`Invalid scope "${q}". Must be one of: ${k.join(", ")}`)}function JG(q){return k.includes(q)}function zq(q){return q==="project"||q==="local"?f():void 0}function QG(q){return F("projectSettings")?.enabledPlugins?.[q]===!0}function Vq(q){let H=q.includes("@"),G=["local","project","user"];for(let X of G){let J=F(D(X))?.enabledPlugins;if(!J)continue;for(let Y of Object.keys(J))if(H?Y===q:Y.startsWith(`${q}@`))return{pluginId:Y,scope:X}}return null}function bq(q,H){let{name:G,marketplace:X}=A(q);return H.find((J)=>{if(J.name===q||J.name===G)return!0;if(X&&J.source)return J.name===G&&J.source.includes(`@${X}`);return!1})}function yq(q){let{name:H}=A(q),G=O();if(G.plugins[q]?.length)return{pluginId:q,pluginName:H};let X=Object.keys(G.plugins).find((J)=>{let{name:Y}=A(J);return Y===H&&(G.plugins[J]?.length??0)>0});if(X)return{pluginId:X,pluginName:H};return null}function kq(q){let G=O().plugins[q];if(!G||G.length===0)return{scope:"user"};let X=f(),J=G.find((Z)=>Z.scope==="local"&&Z.projectPath===X);if(J)return{scope:J.scope,projectPath:J.projectPath};let Y=G.find((Z)=>Z.scope==="project"&&Z.projectPath===X);if(Y)return{scope:Y.scope,projectPath:Y.projectPath};let z=G.find((Z)=>Z.scope==="user");if(z)return{scope:z.scope};return{scope:G[0].scope,projectPath:G[0].projectPath}}async function XG(q,H="user"){g(H);let{name:G,marketplace:X}=A(q),J,Y,z;if(X){let $=await P(q);if($)J=$.entry,Y=X,z=$.marketplaceInstallLocation}else{let $=await n();for(let[B,K]of Object.entries($))try{let M=(await e(B)).plugins.find((R)=>R.name===G);if(M){J=M,Y=B,z=K.installLocation;break}}catch(U){a(o(U));continue}}if(!J||!Y){let $=X?`marketplace "${X}"`:"any configured marketplace";return{success:!1,message:`Plugin "${G}" not found in ${$}`}}let Z=J,x=`${Z.name}@${Y}`,Q=await Jq({pluginId:x,entry:Z,scope:H,marketplaceInstallLocation:z});if(!Q.ok)switch(Q.reason){case"local-source-no-location":return{success:!1,message:`Cannot install local plugin "${Q.pluginName}" without marketplace install location`};case"settings-write-failed":return{success:!1,message:`Failed to update settings: ${Q.message}`};case"resolution-failed":return{success:!1,message:Hq(Q.resolution)};case"blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" is blocked by your organization's policy and cannot be installed`};case"dependency-blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" depends on "${Q.blockedDependency}", which is blocked by your organization's policy`}}return{success:!0,message:`Successfully installed plugin: ${x} (scope: ${H})${Q.depNote}`,pluginId:x,pluginName:Z.name,scope:H}}async function YG(q,H="user",G=!0){g(H);let{enabled:X,disabled:J}=await d(),Y=[...X,...J],z=bq(q,Y),Z=D(H),x=F(Z),Q,$;if(z)Q=Object.keys(x?.enabledPlugins??{}).find((W)=>W===q||W===z.name||W.startsWith(`${z.name}@`))??(q.includes("@")?q:z.name),$=z.name;else{let W=yq(q);if(!W)return{success:!1,message:`Plugin "${q}" not found in installed plugins`};Q=W.pluginId,$=W.pluginName}let B=zq(H),U=O().plugins[Q],M=U?.find((W)=>W.scope===H&&W.projectPath===B);if(!M){let{scope:W}=kq(Q);if(W!==H&&U&&U.length>0){if(W==="project")return{success:!1,message:`Plugin "${q}" is enabled at project scope (.claudin/settings.json, shared with your team). To disable just for you: claudin plugin disable ${q} --scope local`};return{success:!1,message:`Plugin "${q}" is installed in ${W} scope, not ${H}. Use --scope ${W} to uninstall.`}}return{success:!1,message:`Plugin "${q}" is not installed in ${H} scope. Use --scope to specify the correct scope.`}}let R=M.installPath,_={...x?.enabledPlugins};_[Q]=void 0,L(Z,{enabledPlugins:_}),v(),qq(Q,H,B);let w=O().plugins[Q],j=!w||w.length===0;if(j&&R)await m(R);if(j){if(t(Q),G)await s(Q)}let C=h(Q,Y),E=S(C);return{success:!0,message:`Successfully uninstalled plugin: ${$} (scope: ${H})${E}`,pluginId:Q,pluginName:$,scope:H,reverseDependents:C.length>0?C:void 0}}async function r(q,H,G){let X=H?"enable":"disable";if(i(q)){let{error:_}=L("userSettings",{enabledPlugins:{...F("userSettings")?.enabledPlugins,[q]:H}});if(_)return{success:!1,message:`Failed to ${X} built-in plugin: ${_.message}`};v();let{name:T}=A(q);return{success:!0,message:`Successfully ${X}d built-in plugin: ${T}`,pluginId:q,pluginName:T,scope:"user"}}if(G)g(G);let J,Y,z=Vq(q);if(G)if(Y=G,z)J=z.pluginId;else if(q.includes("@"))J=q;else return{success:!1,message:`Plugin "${q}" not found in settings. Use plugin@marketplace format.`};else if(z)J=z.pluginId,Y=z.scope;else if(q.includes("@"))J=q,Y="user";else return{success:!1,message:`Plugin "${q}" not found in any editable settings scope. Use plugin@marketplace format.`};if(H&&l(J))return{success:!1,message:`Plugin "${J}" is blocked by your organization's policy and cannot be enabled`};let Z=D(Y),x=F(Z)?.enabledPlugins?.[J],Q={user:0,project:1,local:2},$=G&&z&&Q[G]>Q[z.scope];if(G&&x===void 0&&z&&z.scope!==G&&!$)return{success:!1,message:`Plugin "${q}" is installed at ${z.scope} scope, not ${G}. Use --scope ${z.scope} or omit --scope to auto-detect.`};let B=G&&!$?x===!0:c().has(J);if(H===B)return{success:!1,message:`Plugin "${q}" is already ${H?"enabled":"disabled"}${G?` at ${G} scope`:""}`};let K;if(!H){let{enabled:_,disabled:T}=await d(),w=h(J,[..._,...T]);if(w.length>0)K=w}let{error:U}=L(Z,{enabledPlugins:{...F(Z)?.enabledPlugins,[J]:H}});if(U)return{success:!1,message:`Failed to ${X} plugin: ${U.message}`};v();let{name:M}=A(J),R=S(K);return{success:!0,message:`Successfully ${X}d plugin: ${M} (scope: ${Y})${R}`,pluginId:J,pluginName:M,scope:Y,reverseDependents:K}}async function $G(q,H){return r(q,!0,H)}async function zG(q,H){return r(q,!1,H)}async function ZG(){let q=c();if(q.size===0)return{success:!0,message:"No enabled plugins to disable"};let H=[],G=[];for(let[X]of q){let J=await r(X,!1);if(J.success)H.push(X);else G.push(`${X}: ${J.message}`)}if(G.length>0)return{success:!1,message:`Disabled ${H.length} ${V(H.length,"plugin")}, ${G.length} failed:
2
- ${G.join(`
3
- `)}`};return{success:!0,message:`Disabled ${H.length} ${V(H.length,"plugin")}`}}async function UG(q,H){let{name:G,marketplace:X}=A(q),J=X?`${G}@${X}`:q,Y=await P(q);if(!Y)return{success:!1,message:`Plugin "${G}" not found`,pluginId:J,scope:H};let{entry:z,marketplaceInstallLocation:Z}=Y,Q=I().plugins[J];if(!Q||Q.length===0)return{success:!1,message:`Plugin "${G}" is not installed`,pluginId:J,scope:H};let $=zq(H),B=Q.find((K)=>K.scope===H&&K.projectPath===$);if(!B){let K=$?`${H} (${$})`:H;return{success:!1,message:`Plugin "${G}" is not installed at scope ${K}`,pluginId:J,scope:H}}return fq({pluginId:J,pluginName:G,entry:z,marketplaceInstallLocation:Z,installation:B,scope:H,projectPath:$})}async function fq({pluginId:q,pluginName:H,entry:G,marketplaceInstallLocation:X,installation:J,scope:Y,projectPath:z}){let Z=p(),x=J.version,Q,$,B=!1,K;if(typeof G.source!=="string"){let U=await Yq(G.source,{manifest:{name:G.name}});Q=U.path,B=!0,K=U.gitCommitSha,$=await b(q,G.source,U.manifest,U.path,G.version,U.gitCommitSha)}else{let U;try{U=await Z.stat(X)}catch(T){if(N(T))return{success:!1,message:`Marketplace directory not found at ${X}`,pluginId:q,scope:Y};throw T}let M=U.isDirectory()?X:Nq(X);Q=u(M,G.source);try{await Z.stat(Q)}catch(T){if(N(T))return{success:!1,message:`Plugin source not found at ${Q}`,pluginId:q,scope:Y};throw T}let R,_=u(Q,".claude-plugin","plugin.json");try{R=await $q(_,G.name,G.source)}catch{}$=await b(q,G.source,R,Q,G.version)}try{let U=y(q,$),M=Qq(q,$);if(J.version===$||J.installPath===U||J.installPath===M)return{success:!0,message:`${H} is already at the latest version (${$}).`,pluginId:q,newVersion:$,oldVersion:x,alreadyUpToDate:!0,scope:Y};U=await Xq(Q,q,$,G);let _=J.installPath;if(Gq(q,Y,z,U,$,K),_&&_!==U){let j=I();if(!Object.values(j.plugins).some((E)=>E.some((W)=>W.installPath===_)))await m(_)}let T=z?`${Y} (${z})`:Y;return{success:!0,message:`Plugin "${H}" updated from ${x||"unknown"} to ${$} for scope ${T}. Restart to apply changes.`,pluginId:q,newVersion:$,oldVersion:x,scope:Y}}finally{if(B&&Q!==y(q,$))await Z.rm(Q,{recursive:!0,force:!0})}}var k,HG;var hq=Zq(()=>{Uq();Rq();Wq();xq();Bq();Oq();Fq();Cq();jq();Tq();Aq();vq();Dq();Mq();wq();Eq();Lq();_q();Kq();k=["user","project","local"],HG=["user","project","local","managed"]});
4
- export{k as ke,HG as le,JG as me,QG as ne,kq as oe,XG as pe,YG as qe,$G as re,zG as se,ZG as te,UG as ue,hq as ve};
@@ -1,4 +0,0 @@
1
- import{FS as UJ,IL as DJ,JL as BJ,KL as lJ,cT as jJ,dT as $V,hp as IJ,jp as pJ,rj as cJ}from"./cli-1.1.25-q88hb4qg.mjs";import{$fa as hJ,Aaa as gJ,Cea as m,Gfa as YJ,Hha as dJ,M$ as WJ,Pea as uJ,R$ as l,naa as mJ,q$ as p,r$ as fJ,waa as qJ,zha as G}from"./cli-1.1.25-s54emewd.mjs";import{Oja as U,Qja as PJ}from"./cli-1.1.25-37rs38eq.mjs";import{Cka as f,Fka as SJ}from"./cli-1.1.25-vkg5fb0z.mjs";import{Fla as Q,Ila as kJ,rla as VJ,vla as bJ}from"./cli-1.1.25-qgnyys4j.mjs";import{dma as JJ,kma as yJ}from"./cli-1.1.25-6r6r7rep.mjs";import{$na as zJ,_na as AJ}from"./cli-1.1.25-p9j8prqh.mjs";import{Uta as wJ,Yta as _J}from"./cli-1.1.25-7qxwpfwh.mjs";class c{paths=[];lowerPaths=[];charBits=new Int32Array(0);pathLens=new Uint16Array(0);topLevelCache=null;readyCount=0;loadFromFileList(J){let W=new Set,Z=[];for(let V of J)if(V.length>0&&!W.has(V))W.add(V),Z.push(V);this.buildIndex(Z)}loadFromFileListAsync(J){let W=()=>{},Z=new Promise((Y)=>{W=Y}),V=this.buildAsync(J,W);return{queryable:Z,done:V}}async buildAsync(J,W){let Z=new Set,V=[],Y=performance.now();for(let $=0;$<J.length;$++){let _=J[$];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if(($&255)===255&&performance.now()-Y>4)await b(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let X=!0;for(let $=0;$<V.length;$++)if(this.indexPath($),($&255)===255&&performance.now()-Y>4){if(this.readyCount=$+1,X)W(),X=!1;await b(),Y=performance.now()}this.readyCount=V.length,W()}buildIndex(J){this.resetArrays(J);for(let W=0;W<J.length;W++)this.indexPath(W);this.readyCount=J.length}resetArrays(J){let W=J.length;this.paths=J,this.lowerPaths=Array(W),this.charBits=new Int32Array(W),this.pathLens=new Uint16Array(W),this.readyCount=0,this.topLevelCache=LJ(J,100)}indexPath(J){let W=this.paths[J].toLowerCase();this.lowerPaths[J]=W;let Z=W.length;this.pathLens[J]=Z;let V=0;for(let Y=0;Y<Z;Y++){let X=W.charCodeAt(Y);if(X>=97&&X<=122)V|=1<<X-97}this.charBits[J]=V}search(J,W){if(W<=0)return[];if(J.length===0){if(this.topLevelCache)return this.topLevelCache.slice(0,W);return[]}let Z=J!==J.toLowerCase(),V=Z?J:J.toLowerCase(),Y=Math.min(V.length,64),X=Array(Y),$=0;for(let M=0;M<Y;M++){let B=V.charAt(M);X[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)$|=1<<E-97}let _=Y*24+8+32,H=[],q=-1/0,{paths:I,lowerPaths:A,charBits:F,pathLens:j,readyCount:g}=this;J:for(let M=0;M<g;M++){if((F[M]&$)!==$)continue;let B=Z?I[M]:A[M],E=B.indexOf(X[0]);if(E===-1)continue;y[0]=E;let C=0,u=0,h=E;for(let N=1;N<Y;N++){if(E=B.indexOf(X[N],h+1),E===-1)continue J;y[N]=E;let K=E-h-1;if(K===0)u+=4;else C+=3+K*1;h=E}if(H.length===W&&_+u-C<=q)continue;let S=I[M],vJ=j[M],T=Y*16+u-C;T+=HJ(S,y[0],!0);for(let N=1;N<Y;N++)T+=HJ(S,y[N],!1);if(T+=Math.max(0,32-(vJ>>2)),H.length<W){if(H.push({path:S,fuzzScore:T}),H.length===W)H.sort((N,K)=>N.fuzzScore-K.fuzzScore),q=H[0].fuzzScore}else if(T>q){let N=0,K=H.length;while(N<K){let d=N+K>>1;if(H[d].fuzzScore<T)N=d+1;else K=d}H.splice(N,0,{path:S,fuzzScore:T}),H.shift(),q=H[0].fuzzScore}}H.sort((M,B)=>B.fuzzScore-M.fuzzScore);let D=H.length,w=Math.max(D,1),z=Array(D);for(let M=0;M<D;M++){let B=H[M].path,E=M/w,C=B.includes("test")?Math.min(E*1.05,1):E;z[M]={path:B,score:C}}return z}}function HJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(RJ(V))return 8;if(GJ(V)&&CJ(J.charCodeAt(W)))return 6;return 0}function RJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function GJ(J){return J>=97&&J<=122}function CJ(J){return J>=65&&J<=90}function b(){return new Promise((J)=>setImmediate(J))}function LJ(J,W){let Z=new Set;for(let Y of J){let X=Y.length;for(let _=0;_<Y.length;_++){let H=Y.charCodeAt(_);if(H===47||H===92){X=_;break}}let $=Y.slice(0,X);if($.length>0){if(Z.add($),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,X)=>{let $=Y.length-X.length;if($!==0)return $;return Y<X?-1:Y>X?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var QJ=4,y;var MJ=_J(()=>{y=new Int32Array(64)});import{statSync as nJ}from"fs";import*as O from"path";function n(){if(!x)x=new c;return x}function vV(){x=null,v=null,R++,k=null,L=[],$J=[],XJ=[],ZJ.clear(),s=null,o=null,a=0,i=null,r=null,P=null}function FJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let X=J[Y];for(let $=0;$<X.length;$++)V=(V^X.charCodeAt($))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let X=0;X<Y.length;X++)V=(V^Y.charCodeAt(X))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function sJ(){let J=WJ(U());if(!J)return null;try{return nJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function OJ(J,W,Z){if(Z===W)return J;return J.map((V)=>{let Y=O.join(W,V);return O.relative(Z,Y)})}async function oJ(J){if(J.length===0)return;if(!x||L.length===0)return;let W=await KJ(J),Z=[...L,...$J,...XJ,...J,...W],V=FJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await x.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${L.length} tracked + ${J.length} untracked files`)}async function EJ(J,W){let Z=`${J}:${W}`;if(o===Z)return s;let V=VJ(),Y=[".ignore",".rgignore"],X=[...new Set([J,W])],$=xJ.default(),_=!1,H=X.flatMap((A)=>Y.map((F)=>O.join(A,F))),q=await Promise.all(H.map((A)=>V.readFile(A,{encoding:"utf8"}).catch(()=>null)));for(let[A,F]of q.entries()){if(F===null)continue;$.add(F),_=!0,Q(`[FileIndex] loaded ignore patterns from ${H[A]}`)}let I=_?$:null;return s=I,o=Z,I}async function aJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=WJ(U());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=U(),X=Date.now(),$=await p(l(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-X}ms`),$.code!==0)return Q(`[FileIndex] git ls-files failed (code=${$.code}, stderr=${$.stderr}), falling back to ripgrep`),null;let _=$.stdout.trim().split(`
2
- `).filter(Boolean),H=OJ(_,V,Y),q=await EJ(V,Y);if(q){let A=H.length;H=q.filter(H),Q(`[FileIndex] applied ignore patterns: ${A} -> ${H.length} files`)}L=H;let I=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${H.length} tracked files in ${I}ms`),f("",{file_count:H.length,tracked_count:H.length,untracked_count:0,duration_ms:I}),!k){let A=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],F=R;k=p(l(),A,{timeout:1e4,cwd:V}).then(async(j)=>{if(F!==R)return;if(j.code===0){let g=j.stdout.trim().split(`
3
- `).filter(Boolean),D=OJ(g,V,Y),w=await EJ(V,Y);if(w&&D.length>0){let z=D.length;D=w.filter(D),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${D.length} files`)}Q(`[FileIndex] background untracked fetch: ${D.length} files`),oJ(D)}}).catch((j)=>{Q(`[FileIndex] background untracked fetch failed: ${j}`)}).finally(()=>{k=null})}return H}catch(Y){return Q(`[FileIndex] git ls-files error: ${JJ(Y)}`),null}}async function KJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(iJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>QJ)await b(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function iJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let X=O.dirname(J[Y]);while(X!=="."&&!V.has(X)){let $=O.dirname(X);if($===X)break;V.add(X),X=$}}}async function rJ(J){return(await Promise.all(DJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function tJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await aJ(J,W);if(Z!==null)return Q(`[FileIndex] using git ls-files result (${Z.length} files)`),Z;return Q("[FileIndex] git ls-files returned null, falling back to ripgrep"),TJ(J,W)}async function TJ(J,W){let Z=Date.now(),V=["--files","--follow","--hidden","--glob","!.git/","--glob","!.svn/","--glob","!.hg/","--glob","!.bzr/","--glob","!.jj/","--glob","!.sl/"];if(!W)V.push("--no-ignore-vcs");let Y=U(),$=(await IJ(V,Y,J)).map((H)=>O.relative(Y,H)),_=Date.now()-Z;return Q(`[FileIndex] ripgrep: ${$.length} files in ${_}ms`),f("",{file_count:$.length,duration_ms:_}),$}async function RV(){let J=AbortSignal.timeout(1e4),W=m(),Z=YJ(),V=W.respectGitignore??Z.respectGitignore??!0;try{return await TJ(J,V)}catch(Y){return G(Y),[]}}async function eJ(){let J=AbortSignal.timeout(1e4),W=n();try{let Z=m(),V=YJ(),Y=Z.respectGitignore??V.respectGitignore??!0,X=U(),[$,_]=await Promise.all([tJ(J,Y),rJ(X)]);$J=_;let H=[...$,..._],q=await KJ(H);XJ=q;let I=[...q,...H],A=FJ(I);if(A!==r)await W.loadFromFileListAsync(I).done,r=A,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){G(Z)}return W}function JV(J,W){let Z=Math.min(J.length,W.length),V=0;while(V<Z&&J[V]===W[V])V++;return J.substring(0,V)}function GV(J){if(J.length===0)return"";let W=J.map((V)=>V.displayText),Z=W[0];for(let V=1;V<W.length;V++){let Y=W[V];if(Z=JV(Z,Y),Z==="")return""}return Z}function t(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function VV(J,W){return J.search(W,e).map((V)=>t(V.path,V.score))}function NJ(){if(v)return;let J=sJ();if(x){if(!(J!==null&&J!==i)&&Date.now()-a<WV)return}let W=R,Z=Date.now();n(),v=eJ().then((V)=>{if(W!==R)return V;return v=null,ZJ.emit(),i=J,a=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${JJ(V)}`),G(V),W===R)v=null;return n()})}async function YV(){let J=VJ(),W=U();try{let Z=await J.readdir(W);return Z.sort((V,Y)=>{let X=V.isDirectory(),$=Y.isDirectory();if(X!==$)return X?-1:1;let _=V.name.startsWith("."),H=Y.name.startsWith(".");if(_!==H)return _?-1:1;return V.name.toLowerCase().localeCompare(Y.name.toLowerCase())}),Z.map((V)=>{let Y=O.join(W,V.name),X=O.relative(W,Y);return V.isDirectory()?X+O.sep:X})}catch(Z){return G(Z),[]}}async function CV(J,W=!1){if(!J&&!W)return[];if(m().fileSuggestion?.type==="command"){let V={...UJ(),query:J};return(await jJ(V)).slice(0,e).map(t)}if(J===""||J==="."||J==="./"){let V=await YV();return NJ(),V.slice(0,e).map(t)}let Z=Date.now();try{let V=v!==null;NJ();let Y=J,X="."+O.sep;if(J.startsWith(X))Y=J.substring(2);if(Y.startsWith("~"))Y=qJ(Y);let $=x?VV(x,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${$.length} results in ${_}ms (${V?"partial":"full"} index)`),f("",{duration_ms:_,cache_hit:!V,result_count:$.length,query_length:J.length}),$}catch(V){return G(V),[]}}function LV(J,W,Z,V,Y,X){let $=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+$+W.substring(V+Z.length);Y(_);let H=V+$.length;X(H)}var xJ,x=null,v=null,ZJ,jV,R=0,k=null,L,$J,XJ,s=null,o=null,a=0,i=null,r=null,P=null,e=100,WV=5000;var ZV=_J(()=>{lJ();MJ();SJ();hJ();PJ();kJ();yJ();fJ();bJ();mJ();$V();dJ();gJ();pJ();uJ();zJ();xJ=wJ(cJ(),1);ZJ=AJ(),jV=ZJ.subscribe,L=[],$J=[],XJ=[]});
4
- export{c as xi,MJ as yi,jV as zi,vV as Ai,RV as Bi,GV as Ci,NJ as Di,CV as Ei,LV as Fi,ZV as Gi};
@@ -1,2 +0,0 @@
1
- import{Xta as x,Yta as z}from"./cli-1.1.25-7qxwpfwh.mjs";var H={};x(H,{toInfraSessionId:()=>G,toCompatSessionId:()=>F,setCseShimGate:()=>A});function A(j){q=j}function F(j){if(!j.startsWith("cse_"))return j;if(q&&!q())return j;return"session_"+j.slice(4)}function G(j){if(!j.startsWith("session_"))return j;return"cse_"+j.slice(8)}var q;var J=()=>{};
2
- export{A as V2,F as W2,G as X2,H as Y2,J as Z2};
@@ -1,3 +0,0 @@
1
- import{wV as O,xV as S}from"./cli-1.1.25-6t9phfap.mjs";import{$fa as k,Hha as y,Mfa as z,Nfa as A,R$ as B,S$ as M,lca as R,naa as I,nca as _,q$ as D,r$ as x,zha as G}from"./cli-1.1.25-s54emewd.mjs";import{Oja as q,Qja as v}from"./cli-1.1.25-37rs38eq.mjs";import{Asa as K,Bsa as W}from"./cli-1.1.25-pzp73p0x.mjs";W();v();k();_();x();I();y();S();var b=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function F(L){return!b.some((Q)=>Q.test(L))}function P(L,Q){let J=[],X=new Set,U=new Map;for(let H=1;J.length<Q&&H<=Q;H++)for(let V of L){if(J.length>=Q)break;if(!F(V))continue;let Y=Math.max(V.lastIndexOf("/"),V.lastIndexOf("\\")),Z=Y>=0?V.slice(Y+1):V;if(!Z||X.has(Z))continue;let $=Y>=0?V.slice(0,Y):".";if((U.get($)??0)>=H)continue;J.push(Z),X.add(Z),U.set($,(U.get($)??0)+1)}return J.length>=Q?J:[]}async function N(){if(R.platform==="win32")return[];if(!await M())return[];try{let L=await O(),Q=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],J=new Map,X=(H)=>{for(let V of H.split(`
2
- `)){let Y=V.trim();if(Y)J.set(Y,(J.get(Y)??0)+1)}};if(L){let{stdout:H}=await D("git",[...Q,`--author=${L}`],{cwd:q()});X(H)}if(J.size<10){let{stdout:H}=await D(B(),Q,{cwd:q()});X(H)}let U=Array.from(J.entries()).sort((H,V)=>V[1]-H[1]).map(([H])=>H);return P(U,5)}catch(L){return G(L),[]}}var T=604800000;function E(L){let Q=z(),J=Q.exampleFiles?.length?Q.exampleFiles:["<filepath>"],U=[...["fix lint errors","fix typecheck errors",`how does ${J[0]} work?`,`refactor ${J[Math.floor(J.length/2)]}`,"how do I log an error?",`edit ${J[J.length-1]} to...`,`write a test for ${J[0]}`,"create a util logging.py that..."]];for(let H=U.length-1;H>0;H--){let V=Math.floor(Math.random()*(H+1));[U[H],U[V]]=[U[V],U[H]]}return U.slice(0,L).map((H)=>`Try "${H}"`)}var d=K((L)=>{return E(L)}),p=K(async()=>{let L=z(),Q=Date.now(),J=L.exampleFilesGeneratedAt??0;if(Q-J>T)L.exampleFiles=[];if(!L.exampleFiles?.length)N().then((X)=>{if(X.length)A((U)=>({...U,exampleFiles:X,exampleFilesGeneratedAt:Date.now()}))})});
3
- export{P as gb,d as hb,p as ib};
@@ -1,2 +0,0 @@
1
- import{AW as h,QW as u,zW as f}from"./cli-1.1.25-ba3yrxg9.mjs";import{ZX as C,jY as d}from"./cli-1.1.25-hpfkk20r.mjs";import{c5 as w,e5 as F}from"./cli-1.1.25-n10jmzvk.mjs";import{A5 as O,G5 as i}from"./cli-1.1.25-5n21xpvc.mjs";import{F9 as M,G9 as A,L9 as I,v9 as x,y9 as v}from"./cli-1.1.25-njrez2x5.mjs";import{Hha as j,zha as K}from"./cli-1.1.25-s54emewd.mjs";import{Aka as R,Bka as _}from"./cli-1.1.25-6vwz5vma.mjs";import{Fla as J,Ila as W,ila as X,jla as P,nla as T}from"./cli-1.1.25-qgnyys4j.mjs";import{dma as y,kma as p}from"./cli-1.1.25-6r6r7rep.mjs";import{Zta as q}from"./cli-1.1.25-7qxwpfwh.mjs";W();j();F();_();W();p();j();v();I();T();import{randomUUID as S}from"crypto";var L=2000,k=5,c=30000,Y=3,E=new Set([4003]);function b(B){if(typeof B!=="object"||B===null||!("type"in B))return!1;return typeof B.type==="string"}class U{sessionId;orgUuid;getAccessToken;callbacks;ws=null;state="closed";reconnectAttempts=0;sessionNotFoundRetries=0;pingInterval=null;reconnectTimer=null;constructor(B,z,Q,G){this.sessionId=B;this.orgUuid=z;this.getAccessToken=Q;this.callbacks=G}async connect(){if(this.state==="connecting"){J("[SessionsWebSocket] Already connecting");return}this.state="connecting";let z=`${R().BASE_API_URL.replace("https://","wss://")}/v1/sessions/ws/${this.sessionId}/subscribe?organization_uuid=${this.orgUuid}`;J(`[SessionsWebSocket] Connecting to ${z}`);let G={Authorization:`Bearer ${this.getAccessToken()}`,"anthropic-version":"2023-06-01"};if(typeof Bun<"u"){let $=new globalThis.WebSocket(z,{headers:G,proxy:A(z),tls:x()||void 0});this.ws=$,$.addEventListener("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),$.addEventListener("message",(Z)=>{let H=typeof Z.data==="string"?Z.data:String(Z.data);this.handleMessage(H)}),$.addEventListener("error",()=>{let Z=Error("[SessionsWebSocket] WebSocket error");K(Z),this.callbacks.onError?.(Z)}),$.addEventListener("close",(Z)=>{J(`[SessionsWebSocket] Closed: code=${Z.code} reason=${Z.reason}`),this.handleClose(Z.code)}),$.addEventListener("pong",()=>{J("[SessionsWebSocket] Pong received")})}else{let{default:$}=await import("./wrapper-1.1.25-chacpj74.mjs"),Z=new $(z,{headers:G,agent:M(z),...x()});this.ws=Z,Z.on("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),Z.on("message",(H)=>{this.handleMessage(H.toString())}),Z.on("error",(H)=>{K(Error(`[SessionsWebSocket] Error: ${H.message}`)),this.callbacks.onError?.(H)}),Z.on("close",(H,V)=>{J(`[SessionsWebSocket] Closed: code=${H} reason=${V.toString()}`),this.handleClose(H)}),Z.on("pong",()=>{J("[SessionsWebSocket] Pong received")})}}handleMessage(B){try{let z=P(B);if(b(z))this.callbacks.onMessage(z);else J(`[SessionsWebSocket] Ignoring message type: ${typeof z==="object"&&z!==null&&"type"in z?String(z.type):"unknown"}`)}catch(z){K(Error(`[SessionsWebSocket] Failed to parse message: ${y(z)}`))}}handleClose(B){if(this.stopPingInterval(),this.state==="closed")return;this.ws=null;let z=this.state;if(this.state="closed",E.has(B)){J(`[SessionsWebSocket] Permanent close code ${B}, not reconnecting`),this.callbacks.onClose?.();return}if(B===4001){if(this.sessionNotFoundRetries++,this.sessionNotFoundRetries>Y){J(`[SessionsWebSocket] 4001 retry budget exhausted (${Y}), not reconnecting`),this.callbacks.onClose?.();return}this.scheduleReconnect(L*this.sessionNotFoundRetries,`4001 attempt ${this.sessionNotFoundRetries}/${Y}`);return}if(z==="connected"&&this.reconnectAttempts<k)this.reconnectAttempts++,this.scheduleReconnect(L,`attempt ${this.reconnectAttempts}/${k}`);else J("[SessionsWebSocket] Not reconnecting"),this.callbacks.onClose?.()}scheduleReconnect(B,z){this.callbacks.onReconnecting?.(),J(`[SessionsWebSocket] Scheduling reconnect (${z}) in ${B}ms`),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},B)}startPingInterval(){this.stopPingInterval(),this.pingInterval=setInterval(()=>{if(this.ws&&this.state==="connected")try{this.ws.ping?.()}catch{}},c)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}sendControlResponse(B){if(!this.ws||this.state!=="connected"){K(Error("[SessionsWebSocket] Cannot send: not connected"));return}J("[SessionsWebSocket] Sending control response"),this.ws.send(X(B))}sendControlRequest(B){if(!this.ws||this.state!=="connected"){K(Error("[SessionsWebSocket] Cannot send: not connected"));return}let z={type:"control_request",request_id:S(),request:B};J(`[SessionsWebSocket] Sending control request: ${B.subtype}`),this.ws.send(X(z))}isConnected(){return this.state==="connected"}close(){if(J("[SessionsWebSocket] Closing connection"),this.state="closed",this.stopPingInterval(),this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.ws)this.ws.close(),this.ws=null}reconnect(){J("[SessionsWebSocket] Force reconnecting"),this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.close(),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},500)}}function D(B){return B.type!=="control_request"&&B.type!=="control_response"&&B.type!=="control_cancel_request"}class N{config;callbacks;websocket=null;pendingPermissionRequests=new Map;constructor(B,z){this.config=B;this.callbacks=z}connect(){J(`[RemoteSessionManager] Connecting to session ${this.config.sessionId}`);let B={onMessage:(z)=>this.handleMessage(z),onConnected:()=>{J("[RemoteSessionManager] Connected"),this.callbacks.onConnected?.()},onClose:()=>{J("[RemoteSessionManager] Disconnected"),this.callbacks.onDisconnected?.()},onReconnecting:()=>{J("[RemoteSessionManager] Reconnecting"),this.callbacks.onReconnecting?.()},onError:(z)=>{K(z),this.callbacks.onError?.(z)}};this.websocket=new U(this.config.sessionId,this.config.orgUuid,this.config.getAccessToken,B),this.websocket.connect()}handleMessage(B){if(B.type==="control_request"){this.handleControlRequest(B);return}if(B.type==="control_cancel_request"){let{request_id:z}=B,Q=this.pendingPermissionRequests.get(z);J(`[RemoteSessionManager] Permission request cancelled: ${z}`),this.pendingPermissionRequests.delete(z),this.callbacks.onPermissionCancelled?.(z,Q?.tool_use_id);return}if(B.type==="control_response"){J("[RemoteSessionManager] Received control response");return}if(D(B))this.callbacks.onMessage(B)}handleControlRequest(B){let{request_id:z,request:Q}=B;if(Q.subtype==="can_use_tool")J(`[RemoteSessionManager] Permission request for tool: ${Q.tool_name}`),this.pendingPermissionRequests.set(z,Q),this.callbacks.onPermissionRequest(Q,z);else{J(`[RemoteSessionManager] Unsupported control request subtype: ${Q.subtype}`);let G={type:"control_response",response:{subtype:"error",request_id:z,error:`Unsupported control request subtype: ${Q.subtype}`}};this.websocket?.sendControlResponse(G)}}async sendMessage(B,z){J(`[RemoteSessionManager] Sending message to session ${this.config.sessionId}`);let Q=await w(this.config.sessionId,B,z);if(!Q)K(Error(`[RemoteSessionManager] Failed to send message to session ${this.config.sessionId}`));return Q}respondToPermissionRequest(B,z){if(!this.pendingPermissionRequests.get(B)){K(Error(`[RemoteSessionManager] No pending permission request with ID: ${B}`));return}this.pendingPermissionRequests.delete(B);let G={type:"control_response",response:{subtype:"success",request_id:B,response:{behavior:z.behavior,...z.behavior==="allow"?{updatedInput:z.updatedInput}:{message:z.message}}}};J(`[RemoteSessionManager] Sending permission response: ${z.behavior}`),this.websocket?.sendControlResponse(G)}isConnected(){return this.websocket?.isConnected()??!1}cancelSession(){J("[RemoteSessionManager] Sending interrupt signal"),this.websocket?.sendControlRequest({subtype:"interrupt"})}getSessionId(){return this.config.sessionId}disconnect(){J("[RemoteSessionManager] Disconnecting"),this.websocket?.close(),this.websocket=null,this.pendingPermissionRequests.clear()}reconnect(){J("[RemoteSessionManager] Reconnecting WebSocket"),this.websocket?.reconnect()}}function $z(B,z,Q,G=!1,$=!1){return{sessionId:B,getAccessToken:z,orgUuid:Q,hasInitialPrompt:G,viewerOnly:$}}W();j();d();u();function Xz(){let B=C();if(!B?.teamName||!B?.agentName){J("[Reconnection] computeInitialTeamContext: No teammate context set (not a teammate)");return}let{teamName:z,agentId:Q,agentName:G}=B,$=h(z);if(!$){K(Error(`[computeInitialTeamContext] Could not read team file for ${z}`));return}let Z=f(z),H=!Q;return J(`[Reconnection] Computed initial team context for ${H?"leader":`teammate ${G}`} in team ${z}`),{teamName:z,teamFilePath:Z,leadAgentId:$.leadAgentId,selfAgentId:Q,selfAgentName:G,isLeader:H,teammates:{}}}function xz(B,z,Q){let G=h(z);if(!G){K(Error(`[initializeTeammateContextFromSession] Could not read team file for ${z} (agent: ${Q})`));return}let $=G.members.find((V)=>V.name===Q);if(!$)J(`[Reconnection] Member ${Q} not found in team ${z} - may have been removed`);let Z=$?.agentId,H=f(z);B((V)=>({...V,teamContext:{teamName:z,teamFilePath:H,leadAgentId:G.leadAgentId,selfAgentId:Z,selfAgentName:Q,isLeader:!1,teammates:{}}})),J(`[Reconnection] Initialized agent context from session for ${Q} in team ${z}`)}i();var m={"claude-3-opus":{modelName:"Claude 3 Opus",retirementDates:{firstParty:"January 5, 2026",bedrock:"January 15, 2026",vertex:"January 5, 2026",foundry:"January 5, 2026"}},"claude-3-7-sonnet":{modelName:"Claude 3.7 Sonnet",retirementDates:{firstParty:"February 19, 2026",bedrock:"April 28, 2026",vertex:"May 11, 2026",foundry:"February 19, 2026"}},"claude-3-5-haiku":{modelName:"Claude 3.5 Haiku",retirementDates:{firstParty:"February 19, 2026",bedrock:null,vertex:null,foundry:null}}};function l(B){let z=B.toLowerCase(),Q=O();for(let[G,$]of Object.entries(m)){let Z=$.retirementDates[Q];if(!z.includes(G)||!Z)continue;return{isDeprecated:!0,modelName:$.modelName,retirementDate:Z}}return{isDeprecated:!1}}function Uz(B){if(!B)return null;let z=l(B);if(!z.isDeprecated)return null;return`⚠ ${z.modelName} will be retired on ${z.retirementDate}. Consider switching to a newer model.`}
2
- export{N as jb,$z as kb,Xz as lb,xz as mb,Uz as nb};
@@ -1,21 +0,0 @@
1
- import{CS as C,Ck as J,PK as O,eF as L,fF as Y,xs as K,ys as X}from"./cli-1.1.25-q88hb4qg.mjs";import{Yta as V}from"./cli-1.1.25-7qxwpfwh.mjs";function N(z){let y=[],D=z.matchAll(Z);for(let v of D)if(v.index!==void 0)y.push({word:v[0],start:v.index,end:v.index+v[0].length});return y}async function W({question:z,cacheSafeParams:y}){let D=`<system-reminder>This is a side question from the user. You must answer this question directly in a single response.
2
-
3
- IMPORTANT CONTEXT:
4
- - You are a separate, lightweight agent spawned to answer this one question
5
- - The main agent is NOT interrupted - it continues working independently in the background
6
- - You share the conversation context but are a completely separate instance
7
- - Do NOT reference being interrupted or what you were "previously doing" - that framing is incorrect
8
-
9
- CRITICAL CONSTRAINTS:
10
- - You have NO tools available - you cannot read files, run commands, search, or take any actions
11
- - This is a one-off response - there will be no follow-up turns
12
- - You can ONLY provide information based on what you already know from the conversation context
13
- - NEVER say things like "Let me try...", "I'll now...", "Let me check...", or promise to take any action
14
- - If you don't know the answer, say so - do not offer to look it up or investigate
15
-
16
- Simply answer the question with the information you have.</system-reminder>
17
-
18
- ${z}`,v=await L({promptMessages:[O({content:D})],cacheSafeParams:y,canUseTool:async()=>({behavior:"deny",message:"Side questions cannot use tools",decisionReason:{type:"other",reason:"side_question"}}),querySource:"side_question",forkLabel:"side_question",maxTurns:1,skipCacheWrite:!0});return{response:$(v.messages),usage:v.totalUsage}}function $(z){let y=z.flatMap((v)=>v.type==="assistant"?v.message.content:[]);if(y.length>0){let v=J(y,`
19
-
20
- `).trim();if(v)return v;let G=y.find((H)=>H.type==="tool_use");if(G)return`(The model tried to call ${"name"in G?G.name:"a tool"} instead of answering directly. Try rephrasing or ask in the main conversation.)`}let D=z.find((v)=>v.type==="system"&&("subtype"in v)&&v.subtype==="api_error");if(D)return`(API error: ${K(D.error)})`;return null}var Z;var w=V(()=>{X();Y();C();Z=/^\/btw\b/gi});
21
- export{N as fi,W as gi,w as hi};
@@ -1,3 +0,0 @@
1
- import{kd as v,ld as m,md as Vk}from"./cli-1.1.25-rbapdr02.mjs";import{Iz as l,Jz as wk,LF as g,MF as a,UF as Gk,aH as n,bH as w,cH as i,dP as o,eT as r,fB as s,fH as Lk,fP as t,fT as kk,gB as zk,ho as p,io as jk,jP as Tk,jT as Dk,oP as e,pP as Ck}from"./cli-1.1.25-q88hb4qg.mjs";import{A5 as L,G5 as Jk,_5 as f,a6 as Ok}from"./cli-1.1.25-5n21xpvc.mjs";import{I9 as d,L9 as Mk,x9 as u,y9 as Ik}from"./cli-1.1.25-njrez2x5.mjs";import{M_ as S,R_ as _k}from"./cli-1.1.25-jsn4we2f.mjs";import{$fa as $,Gfa as U,Kfa as b,Pea as Kk,Tfa as c,k$ as K,kha as _,m$ as Zk,nha as Hk,raa as P,vaa as $k,xea as D}from"./cli-1.1.25-s54emewd.mjs";import{hia as J,lia as Yk}from"./cli-1.1.25-f5ag59tm.mjs";import{Aka as G,Bka as Bk}from"./cli-1.1.25-6vwz5vma.mjs";import{Fla as B,Ika as O,Ila as C,Kka as Rk}from"./cli-1.1.25-qgnyys4j.mjs";import{Zla as h,dma as Y,kma as Xk}from"./cli-1.1.25-6r6r7rep.mjs";import{qma as E,yma as Wk}from"./cli-1.1.25-ntfm6tbg.mjs";import{Bpa as F,Dpa as y,Tpa as V,bsa as j}from"./cli-1.1.25-p9j8prqh.mjs";import{Asa as A,Bsa as Qk}from"./cli-1.1.25-pzp73p0x.mjs";import{Zta as W}from"./cli-1.1.25-7qxwpfwh.mjs";Yk();j();$();Qk();j();j();wk();Ok();Gk();Lk();Bk();Hk();Jk();var z=!1;function T(){if(z)return;if(z=!0,L()!=="firstParty")return;let k=_()?.transport;if(k==="bedrock"||k==="vertex"||k==="foundry")return;if(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ANTHROPIC_UNIX_SOCKET||process.env.CLAUDIN_CLIENT_CERT||process.env.CLAUDIN_CLIENT_KEY)return;let q=_(),N=(q?.transport==="anthropic"?q.baseUrl:void 0)||G().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}$();C();Kk();function x(){if(process.env.NODE_EXTRA_CA_CERTS)return;let k=Nk();if(k)process.env.NODE_EXTRA_CA_CERTS=k,B(`CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${k}`)}function Nk(){try{let q=U()?.env,Q=D("userSettings")?.env;B(`CA certs: Config fallback - globalEnv keys: ${q?Object.keys(q).join(","):"none"}, settingsEnv keys: ${Q?Object.keys(Q).join(","):"none"}`);let R=Q?.NODE_EXTRA_CA_CERTS||q?.NODE_EXTRA_CA_CERTS;if(R)B(`CA certs: Found NODE_EXTRA_CA_CERTS in config/settings: ${R}`);return R}catch(k){B(`CA certs: Config fallback failed: ${k}`,{level:"error"});return}}Rk();$();C();_k();Zk();jk();Wk();Xk();Dk();Vk();Ik();Tk();Mk();Ck();zk();$k();var I=!1,Yq=A(async()=>{let k=Date.now();K("info","init_started"),J("init_function_start");try{let q=Date.now();b(),K("info","init_configs_enabled",{duration_ms:Date.now()-q}),J("init_configs_enabled");let N=Date.now();if(v(),x(),K("info","init_safe_env_vars_applied",{duration_ms:Date.now()-N}),J("init_safe_env_vars_applied"),r(),J("init_after_graceful_shutdown"),Promise.all([import("./firstPartyEventLogger-1.1.25-pr01pvjg.mjs"),import("./growthbook-1.1.25-vr1d3g20.mjs")]).then(([H,X])=>{H.initialize1PEventLogging(),X.onGrowthBookRefresh(()=>{H.reinitialize1PEventLoggingIfConfigChanged()})}),J("init_after_1p_event_logging"),f(),J("init_after_oauth_populate"),p(),J("init_after_jetbrains_detection"),S(),w())n();if(a())g();J("init_after_remote_settings_check"),c();let Q=Date.now();B("[init] configureGlobalMTLS starting"),u(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),d(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),J("init_network_configured"),T(),E(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:H,getUpstreamProxyEnv:X}=await import("./upstreamproxy-1.1.25-bh4an4es.mjs"),{registerUpstreamProxyEnvFn:Z}=await import("./subprocessEnv-1.1.25-b06h7dn5.mjs");Z(X),await H()}catch(H){B(`[init] upstreamproxy init failed: ${H instanceof Error?H.message:String(H)}; continuing without proxy`,{level:"warn"})}if(P(),O(l),O(async()=>{let{cleanupSessionTeams:H}=await import("./teamHelpers-1.1.25-yy2zwqy3.mjs");await H()}),o()){let H=Date.now();await t(),K("info","init_scratchpad_created",{duration_ms:Date.now()-H})}K("info","init_completed",{duration_ms:Date.now()-k}),J("init_function_end")}catch(q){if(q instanceof h){if(V()){process.stderr.write(`Configuration error in ${q.filePath}: ${q.message}
2
- `),kk(1);return}return import("./InvalidConfigDialog-1.1.25-h27j1v12.mjs").then((N)=>N.showInvalidConfigDialog({error:q}))}else throw q}});function Zq(){if(w()){if(V()&&e())M().catch((k)=>{B(`[3P telemetry] Eager telemetry init failed (beta tracing): ${Y(k)}`,{level:"error"})});B("[3P telemetry] Waiting for remote managed settings before telemetry init"),i().then(async()=>{B("[3P telemetry] Remote managed settings loaded, initializing telemetry"),m(),await M()}).catch((k)=>{B(`[3P telemetry] Telemetry init failed (remote settings path): ${Y(k)}`,{level:"error"})})}else M().catch((k)=>{B(`[3P telemetry] Telemetry init failed: ${Y(k)}`,{level:"error"})})}async function M(){if(I)return;I=!0;try{await Uk()}catch(k){throw I=!1,k}}async function Uk(){let{initializeTelemetry:k}=await import("./instrumentation-1.1.25-e9arjmhp.mjs"),q=await k();if(q)F(q,(Q,R)=>{let H=q?.createCounter(Q,R);return{add(X,Z={}){let qk={...s(),...Z};H?.add(X,qk)}}}),y()?.add(1)}
3
- export{Yq as aa,Zq as ba};
@@ -1,2 +0,0 @@
1
- import{ta as S,ua as R}from"./cli-1.1.25-f9pk1asa.mjs";import{za as j}from"./cli-1.1.25-df9x7s0j.mjs";import{TW as W,UW as A}from"./cli-1.1.25-csgmna38.mjs";import{l8 as T,m8 as F}from"./cli-1.1.25-5n21xpvc.mjs";import{Fla as Q,Ila as P}from"./cli-1.1.25-qgnyys4j.mjs";import{dma as z,kma as x}from"./cli-1.1.25-6r6r7rep.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{Nc as _,Pc as P}from"./cli-1.1.25-8k2bszzr.mjs";import{lf as Z,mf as y}from"./cli-1.1.25-4d1zk1ar.mjs";import{gy as X,ky as K,uy as Y,wy as A}from"./cli-1.1.25-q88hb4qg.mjs";import{VY as V,YY as C}from"./cli-1.1.25-12b1rzfj.mjs";import{G4 as H,I4 as Q}from"./cli-1.1.25-fr1nw6bz.mjs";import{J4 as W}from"./cli-1.1.25-6bb29bw7.mjs";import{Kha as L,Lha as M}from"./cli-1.1.25-f5ag59tm.mjs";import{Uta as T,Yta as U}from"./cli-1.1.25-7qxwpfwh.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 fc,x as gc};
@@ -1,3 +0,0 @@
1
- import{Nta as x,Pta as y,Tta as C}from"./cli-1.1.25-6panntay.mjs";import{Wta as k}from"./cli-1.1.25-7qxwpfwh.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
2
- `));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
3
- export{MF as J_};
@@ -1,2 +0,0 @@
1
- import{Yta as D}from"./cli-1.1.25-7qxwpfwh.mjs";function $(q){return typeof q==="number"&&Number.isFinite(q)?q:0}function Z(q,B){let z=q;for(let K of B){if(z==null||typeof z!=="object")return;z=z[K]}return z}function N(q){if(!q)return!1;let B="";try{B=new URL(q).hostname.toLowerCase()}catch{}if(!B){let W=q.toLowerCase();return W.includes("localhost")||W.includes("127.0.0.1")||W.includes("::1")}let z=B.startsWith("[")&&B.endsWith("]")?B.slice(1,-1):B;if(z==="localhost"||z.endsWith(".localhost")||z.endsWith(".local")||z.endsWith(".lan")||z.endsWith(".internal")||z.endsWith(".intranet")||z.endsWith(".home.arpa"))return!0;let K=z.match(O);if(K){let W=Number(K[1]),j=Number(K[2]);if(W===10)return!0;if(W===172&&j>=16&&j<=31)return!0;if(W===192&&j===168)return!0;if(W===127)return!0;if(W===169&&j===254)return!0;if(W===100&&j>=64&&j<=127)return!0}if(z==="::1"||z==="::")return!0;if(z.startsWith("fe80:")||k.test(z)||L.test(z))return!0;return!1}function S(q,B){if(q==="github")return B?.githubNativeAnthropic?"copilot-claude":"copilot";if(q==="firstParty"||q==="bedrock"||q==="vertex"||q==="foundry")return"anthropic";if(q==="gemini")return"gemini";if(q==="codex")return"codex";if(q==="openai"){let z=B?.openAiBaseUrl??"";if(N(z))return"self-hosted";let K=z.toLowerCase();if(K.includes(":11434"))return"ollama";if(K.includes("moonshot")||K.includes("kimi"))return"kimi";if(K.includes("deepseek"))return"deepseek";return"openai"}return"openai"}function A(q){if(!q||typeof q!=="object")return 0;let B=q,z=$(B.cache_read_input_tokens);if(z>0)return z;let K=$(Z(q,["input_tokens_details","cached_tokens"]))||$(Z(q,["prompt_tokens_details","cached_tokens"]));if(K>0)return K;let W=$(B.cached_tokens);if(W>0)return W;let j=$(B.prompt_cache_hit_tokens);if(j>0)return j;let Q=$(B.cached_content_token_count);if(Q>0)return Q;return 0}function Y(q){if(!q||typeof q!=="object")return 0;let z=$(q.cache_creation_input_tokens);if(z>0)return z;return $(Z(q,["cache_creation","ephemeral_5m_input_tokens"]))+$(Z(q,["cache_creation","ephemeral_1h_input_tokens"]))}function f(q){let B=A(q),z=q??{},K=$(z.input_tokens)||$(z.prompt_tokens),W=K>=B?K-B:K,j=$(z.output_tokens)||$(z.completion_tokens);return{input_tokens:W,output_tokens:j,cache_creation_input_tokens:Y(q),cache_read_input_tokens:B}}function T(q,B){if(!q||typeof q!=="object")return H;let z=q,K=$(z.cache_read_input_tokens),W=$(z.cache_creation_input_tokens),j=$(z.input_tokens);if(B==="copilot"||B==="ollama")return H;if(B==="self-hosted"&&K===0&&W===0)return H;let Q=K+W+j;return{read:K,created:W,total:Q,hitRate:Q>0?Math.min(1,K/Q):null,supported:!0}}function _(q,B,z){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";if(q.read===0&&q.created===0)return"[Cache: cold]";let K=[`${X(q.read)} read`];if(q.hitRate!==null)K.push(`hit ${Math.round(q.hitRate*100)}%`);let W=I(B);if(W)K.push(W);if(z&&z.length>0)K.push(`prefix rewritten: ${z.join(", ")}`);return`[Cache: ${K.join(" • ")}]`}function b(q,B,z){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";let K=[`read=${X(q.read)}`,`created=${X(q.created)}`];if(q.hitRate!==null)K.push(`hit=${Math.round(q.hitRate*100)}%`);else K.push("hit=n/a");if(B&&B.clearedInputTokens>0)K.push(`server_cleared=${B.clearedToolUses}(-${X(B.clearedInputTokens)})`);if(z&&z.length>0)K.push(`rewrite=${z.join("+")}`);return`[Cache: ${K.join(" ")}]`}function I(q){if(!q||q.clearedInputTokens===0)return"";let B=q.clearedToolUses===1?"tool result":"tool results";return`server cleared ${q.clearedToolUses} ${B} (-${X(q.clearedInputTokens)})`}function X(q){if(q<1000)return String(q);if(q<1e6)return`${(q/1000).toFixed(1).replace(U,"")}k`;return`${(q/1e6).toFixed(1).replace(U,"")}m`}function y(q,B){if(!q.supported&&!B.supported)return H;if(!q.supported)return B;if(!B.supported)return q;let z=q.read+B.read,K=q.created+B.created,W=q.total+B.total;return{read:z,created:K,total:W,hitRate:W>0?z/W:null,supported:!0}}var H,O,k,L,U;var V=D(()=>{H={read:0,created:0,total:0,hitRate:null,supported:!1};O=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,k=/^fc[0-9a-f]{0,2}:/,L=/^fd[0-9a-f]{0,2}:/,U=/\.0$/});function x(q){return{currentTurn:G,session:G,currentTurnServerClears:F,sessionServerClears:F,currentTurnPrefixRewrites:[],history:Array(q),historyWriteIdx:0,historySize:0,historyMax:q}}function C(q,B){J.currentTurn=y(J.currentTurn,q),J.session=y(J.session,q);let z={timestamp:Date.now(),label:B,metrics:q};if(J.history[J.historyWriteIdx]=z,J.historyWriteIdx=(J.historyWriteIdx+1)%J.historyMax,J.historySize<J.historyMax)J.historySize++}function E(q){let B=(z)=>({events:z.events+1,clearedToolUses:z.clearedToolUses+q.clearedToolUses,clearedInputTokens:z.clearedInputTokens+q.clearedInputTokens});J.currentTurnServerClears=B(J.currentTurnServerClears),J.sessionServerClears=B(J.sessionServerClears)}function n(q){J.currentTurnPrefixRewrites=[...J.currentTurnPrefixRewrites,q]}function h(){J.currentTurn=G,J.currentTurnServerClears=F,J.currentTurnPrefixRewrites=[]}function R(){J.currentTurn=G,J.session=G,J.currentTurnServerClears=F,J.sessionServerClears=F,J.currentTurnPrefixRewrites=[],J.history=Array(J.historyMax),J.historyWriteIdx=0,J.historySize=0}function v(){return J.currentTurn}function l(){return J.currentTurnServerClears}function d(){return J.currentTurnPrefixRewrites}function m(){return J.sessionServerClears}function o(){return J.session}function u(){if(J.historySize<J.historyMax)return J.history.slice(0,J.historySize);let q=J.history.slice(J.historyWriteIdx),B=J.history.slice(0,J.historyWriteIdx);return q.concat(B)}var F,P=500,G,J;var M=D(()=>{V();F={events:0,clearedToolUses:0,clearedInputTokens:0},G={read:0,created:0,total:0,hitRate:null,supported:!1};J=x(P)});
2
- export{S as t3,f as u3,T as v3,_ as w3,b as x3,V as y3,C as z3,E as A3,n as B3,h as C3,R as D3,v as E3,l as F3,d as G3,m as H3,o as I3,u as J3,M as K3};
@@ -1,12 +0,0 @@
1
- import{Pg as $Z,Qg as uZ,Rg as fz}from"./cli-1.1.25-s1ykc389.mjs";import{Zh as HJ,_h as Bz}from"./cli-1.1.25-k6v3tvg9.mjs";import{ii as GJ,ji as Hz}from"./cli-1.1.25-9z7tyxc4.mjs";import{$A as cJ,$k as KX,$y as dQ,AS as sQ,Ay as UQ,Bo as XQ,By as $Q,CS as OZ,Cy as uQ,DU as BQ,Do as xZ,Ek as SJ,FB as e0,Fk as IJ,GB as gJ,Gt as wJ,Gy as MQ,HB as mJ,Hy as EQ,IB as nJ,JB as _z,Kt as Uz,Mk as fJ,No as WQ,OK as mQ,Ro as pz,Ty as pQ,Uy as jX,WA as IZ,XA as hZ,YA as TZ,ZA as dJ,_A as gQ,_k as mZ,az as DX,do as zQ,eo as uz,hy as xQ,kS as lQ,ky as AX,lo as RQ,mU as VQ,mo as wX,oS as iQ,pS as aQ,pU as KQ,rS as nZ,sS as rQ,sU as pZ,uS as g0,vS as oQ,vk as _Z,wk as TQ,xS as eJ,yS as ZQ,yz as cQ,zS as tQ,zy as DQ,zz as UX}from"./cli-1.1.25-q88hb4qg.mjs";import{FV as fQ,OV as PX}from"./cli-1.1.25-7d3fdbq5.mjs";import{LY as FZ,MY as qJ,eZ as YJ,iZ as Yz,jZ as DZ,kZ as OX}from"./cli-1.1.25-12b1rzfj.mjs";import{$0 as UZ,$Z as u0,A1 as g,B1 as QX,C0 as vZ,RZ as WJ,SZ as qz,b1 as Qz,d2 as f0,r1 as hQ,s1 as NX,x0 as c0,y1 as b,z1 as PQ}from"./cli-1.1.25-2gtabky3.mjs";import{F4 as p0,G4 as B,H4 as $,I4 as F0}from"./cli-1.1.25-fr1nw6bz.mjs";import{J4 as I0}from"./cli-1.1.25-6bb29bw7.mjs";import{f5 as VJ,g5 as BJ,h5 as Vz}from"./cli-1.1.25-9xqq9dsw.mjs";import{O8 as JQ,Y8 as QQ,l8 as jQ,m8 as JX,r8 as JZ,r9 as $z,u8 as QZ}from"./cli-1.1.25-5n21xpvc.mjs";import{N9 as gZ,O9 as LX}from"./cli-1.1.25-eqtpax1f.mjs";import{$_ as zJ,$fa as HQ,Gfa as PZ,Kca as FX,Uda as LZ,__ as v0,aea as XJ,oca as IQ}from"./cli-1.1.25-s54emewd.mjs";import{Mha as jZ,Nha as TJ,Xha as ZZ,cia as Rz}from"./cli-1.1.25-f5ag59tm.mjs";import{$ja as KZ,Oja as RZ,Qja as xz,eka as NZ,fka as wZ,rka as Dz}from"./cli-1.1.25-37rs38eq.mjs";import{Fla as m0,Ila as ZX}from"./cli-1.1.25-qgnyys4j.mjs";import{qma as SQ,yma as GX}from"./cli-1.1.25-ntfm6tbg.mjs";import{bsa as HX,yra as kQ}from"./cli-1.1.25-p9j8prqh.mjs";import{Uta as w0,Yta as L0}from"./cli-1.1.25-7qxwpfwh.mjs";function MZ(){if($0!==null)clearTimeout($0),$0=null;bZ=Date.now();for(let J of BZ)J()}function zz(){if($0!==null)return;let J=Date.now()-bZ;if(J>=UZ){MZ();return}$0=setTimeout(MZ,UZ-J)}function lZ(){return EZ.useSyncExternalStore(s0.subscribe,s0.getSnapshot)}function RX(){return EZ.useSyncExternalStore(s0.subscribe,s0.getPresenceSnapshot)}var EZ,x0=null,BZ,$0=null,bZ=0,s0;var iZ=L0(()=>{Qz();EZ=w0(I0(),1),BZ=new Set;s0={update(J){let Z=x0;if(x0=J(Z),x0===Z)return;if(Z===null!==(x0===null))MZ();else zz()},clear(){s0.update(()=>null)},read(){return x0},subscribe(J){return BZ.add(J),()=>{BZ.delete(J)}},getSnapshot(){return x0},getPresenceSnapshot(){return x0!==null},resetForTesting(){if($0!==null)clearTimeout($0),$0=null;x0=null,bZ=0,BZ.clear()}}});function sZ(J){let Z=HZ.c(6),{children:Q}=J,[z,X]=K0.useState(null),[W,q]=K0.useState(null),V;if(Z[0]!==Q||Z[1]!==W)V=B(oZ.Provider,{value:W,children:Q}),Z[0]=Q,Z[1]=W,Z[2]=V;else V=Z[2];let Y;if(Z[3]!==z||Z[4]!==V)Y=B(rZ.Provider,{value:X,children:B(tZ.Provider,{value:q,children:B(aZ.Provider,{value:z,children:V})})}),Z[3]=z,Z[4]=V,Z[5]=Y;else Y=Z[5];return Y}function eZ(){return K0.useContext(aZ)}function ZJ(){return K0.useContext(oZ)}function uX(J){let Z=HZ.c(8),Q=K0.useContext(rZ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];K0.useEffect(z,X),K0.useEffect(W,q)}function pX(J){let Z=HZ.c(8),Q=K0.useContext(tZ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];K0.useEffect(z,X),K0.useEffect(W,q)}var HZ,K0,aZ,rZ,oZ,tZ;var JJ=L0(()=>{F0();HZ=w0(u0(),1),K0=w0(I0(),1),aZ=K0.createContext(null),rZ=K0.createContext(null),oZ=K0.createContext(null),tZ=K0.createContext(null)});function GZ(J){return J.type==="attachment"&&Wz.has(J.attachment.type)}var Xz,Wz;var CZ=L0(()=>{Xz=["hook_success","hook_additional_context","hook_cancelled","command_permissions","agent_mention","budget_usd","critical_system_reminder","edited_image_file","edited_text_file","opened_file_in_ide","output_style","plan_mode","plan_mode_exit","plan_mode_reentry","structured_output","team_context","todo_reminder","context_efficiency","deferred_tools_delta","mcp_instructions_delta","companion_intro","token_usage","ultrathink_effort","max_turns_reached","task_reminder","auto_mode","auto_mode_exit","output_token_usage","bagel_console","verify_plan_reminder","current_session_memory","compaction_reminder","date_change","bash_git_instructions","claude_md_delta","git_status_delta","todo_reminder_delta","task_reconcile","container_transition"],Wz=new Set(Xz)});import{fileURLToPath as Gz}from"url";function XW(J){let[Z,Q]=q0.useState(null),z=q0.useRef(J);z.current=J;let X=q0.useRef(null),W=q0.useCallback(()=>{Q(null)},[]),q=q0.useCallback((K)=>{let F=Math.max(0,K.getScrollHeight()-K.getViewportHeight());if(K.getScrollTop()+K.getPendingDelta()>=F)return;if(X.current===null)X.current=K.getScrollHeight(),Q(z.current)},[]),V=q0.useCallback((K)=>{if(!K)return;K.scrollToBottom()},[]);q0.useEffect(()=>{if(Z===null)X.current=null;else if(J<Z)X.current=null,Q(null)},[J,Z]);let Y=q0.useCallback((K,F)=>{if(Q((j)=>j===null?null:j+K),X.current!==null)X.current+=F},[]);return{dividerIndex:Z,dividerYRef:X,onScrollAway:q,onRepin:W,jumpToNew:V,shiftDivider:Y}}function Lz(J,Z){let Q=0,z=!1;for(let X=Z;X<J.length;X++){let W=J[X];if(W.type==="progress")continue;if(W.type==="assistant"&&!Fz(W))continue;let q=W.type==="assistant";if(q&&!z)Q++;z=q}return Q}function Fz(J){if(J.type!=="assistant")return!1;for(let Z of J.message.content)if(Z.type==="text"&&Z.text.trim()!=="")return!0;return!1}function WW(J,Z){if(Z===null)return;let Q=Z;while(Q<J.length&&(J[Q]?.type==="progress"||GZ(J[Q])))Q++;let z=J[Q]?.uuid;if(!z)return;let X=Lz(J,Z);return{firstUnseenUuid:z,count:Math.max(1,X)}}function qW(J){let Z=a0.c(47),{scrollable:Q,bottom:z,overlay:X,bottomFloat:W,modal:q,modalScrollRef:V,scrollRef:Y,dividerYRef:K,hidePill:F,hideSticky:j,newMessageCount:v,onPillClick:M}=J,I=F===void 0?!1:F,Z0=j===void 0?!1:j,d=v===void 0?0:v,{rows:O,columns:C}=FZ(),[_,N]=q0.useState(null),P;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))P={setStickyPrompt:N},Z[0]=P;else P=Z[0];let f=P,J0;if(Z[1]!==Y)J0=(h)=>Y?.current?.subscribe(h)??wz,Z[1]=Y,Z[2]=J0;else J0=Z[2];let E=J0,k;if(Z[3]!==K||Z[4]!==Y)k=()=>{let h=Y?.current,z0=K?.current;if(!h||z0==null)return!1;return h.getScrollTop()+h.getPendingDelta()+h.getViewportHeight()<z0},Z[3]=K,Z[4]=Y,Z[5]=k;else k=Z[5];let H0=q0.useSyncExternalStore(E,k),Y0;if(Z[6]===Symbol.for("react.memo_cache_sentinel"))Y0=[],Z[6]=Y0;else Y0=Z[6];if(q0.useLayoutEffect(Kz,Y0),c0()){let h=Z0?null:_,z0=h!=null&&h!=="clicked"&&X==null?h:null,Q0=h!=null&&X==null,X0;if(Z[7]!==z0)X0=z0&&B(Az,{text:z0.text,onClick:z0.scrollTo}),Z[7]=z0,Z[8]=X0;else X0=Z[8];let O0=Q0?0:1,T;if(Z[9]!==Q)T=B(yZ,{value:f,children:Q}),Z[9]=Q,Z[10]=T;else T=Z[10];let l;if(Z[11]!==X||Z[12]!==Y||Z[13]!==T||Z[14]!==O0)l=$(GJ,{ref:Y,flexGrow:1,flexDirection:"column",paddingTop:O0,stickyScroll:!0,children:[T,X]}),Z[11]=X,Z[12]=Y,Z[13]=T,Z[14]=O0,Z[15]=l;else l=Z[15];let o;if(Z[16]!==I||Z[17]!==d||Z[18]!==M||Z[19]!==X||Z[20]!==H0)o=!I&&H0&&X==null&&B(Oz,{count:d,onClick:M}),Z[16]=I,Z[17]=d,Z[18]=M,Z[19]=X,Z[20]=H0,Z[21]=o;else o=Z[21];let t;if(Z[22]!==W)t=W!=null&&B(b,{position:"absolute",bottom:0,right:0,opaque:!0,children:W}),Z[22]=W,Z[23]=t;else t=Z[23];let S;if(Z[24]!==l||Z[25]!==o||Z[26]!==t||Z[27]!==X0)S=$(b,{flexGrow:1,flexDirection:"column",overflow:"hidden",children:[X0,l,o,t]}),Z[24]=l,Z[25]=o,Z[26]=t,Z[27]=X0,Z[28]=S;else S=Z[28];let W0,w;if(Z[29]===Symbol.for("react.memo_cache_sentinel"))W0=B(jz,{}),w=B(Pz,{}),Z[29]=W0,Z[30]=w;else W0=Z[29],w=Z[30];let D;if(Z[31]!==z)D=$(b,{flexDirection:"column",flexShrink:0,width:"100%",maxHeight:"50%",children:[W0,w,B(b,{flexDirection:"column",width:"100%",flexGrow:1,overflowY:"hidden",children:z})]}),Z[31]=z,Z[32]=D;else D=Z[32];let R;if(Z[33]!==C||Z[34]!==q||Z[35]!==V||Z[36]!==O)R=q!=null&&B(YJ,{value:{rows:O-QJ-1,columns:C-4,scrollRef:V??null},children:$(b,{position:"absolute",bottom:0,left:0,right:0,maxHeight:O-QJ,flexDirection:"column",overflow:"hidden",opaque:!0,children:[B(b,{flexShrink:0,children:B(g,{color:"permission",children:"▔".repeat(C)})}),B(b,{flexDirection:"column",paddingX:2,flexShrink:0,overflow:"hidden",children:q})]})}),Z[33]=C,Z[34]=q,Z[35]=V,Z[36]=O,Z[37]=R;else R=Z[37];let s;if(Z[38]!==S||Z[39]!==D||Z[40]!==R)s=$(sZ,{children:[S,D,R]}),Z[38]=S,Z[39]=D,Z[40]=R,Z[41]=s;else s=Z[41];return s}let i;if(Z[42]!==z||Z[43]!==q||Z[44]!==X||Z[45]!==Q)i=$(p0,{children:[Q,z,X,q]}),Z[42]=z,Z[43]=q,Z[44]=X,Z[45]=Q,Z[46]=i;else i=Z[46];return i}function Kz(){if(!c0())return;let J=WJ.get(process.stdout);if(!J)return;return J.onHyperlinkClick=Nz,()=>{J.onHyperlinkClick=void 0}}function Nz(J){if(J.startsWith("file:"))try{VJ(Gz(J))}catch{}else BJ(J)}function wz(){}function Oz(J){let Z=a0.c(10),{count:Q,onClick:z}=J,[X,W]=q0.useState(!1),q,V;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=()=>W(!0),V=()=>W(!1),Z[0]=q,Z[1]=V;else q=Z[0],V=Z[1];let Y=X?"userMessageBackgroundHover":"userMessageBackground",K;if(Z[2]!==Q)K=Q>0?`${Q} new ${LZ(Q,"message")}`:"Jump to bottom",Z[2]=Q,Z[3]=K;else K=Z[3];let F;if(Z[4]!==Y||Z[5]!==K)F=$(g,{backgroundColor:Y,dimColor:!0,children:[" ",K," ",v0.arrowDown," "]}),Z[4]=Y,Z[5]=K,Z[6]=F;else F=Z[6];let j;if(Z[7]!==z||Z[8]!==F)j=B(b,{position:"absolute",bottom:0,left:0,right:0,justifyContent:"center",children:B(b,{onClick:z,onMouseEnter:q,onMouseLeave:V,children:F})}),Z[7]=z,Z[8]=F,Z[9]=j;else j=Z[9];return j}function Az(J){let Z=a0.c(8),{text:Q,onClick:z}=J,[X,W]=q0.useState(!1),q=X?"userMessageBackgroundHover":"userMessageBackground",V,Y;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))V=()=>W(!0),Y=()=>W(!1),Z[0]=V,Z[1]=Y;else V=Z[0],Y=Z[1];let K;if(Z[2]!==Q)K=$(g,{color:"subtle",wrap:"truncate-end",children:[v0.pointer," ",Q]}),Z[2]=Q,Z[3]=K;else K=Z[3];let F;if(Z[4]!==z||Z[5]!==q||Z[6]!==K)F=B(b,{flexShrink:0,width:"100%",height:1,paddingRight:1,backgroundColor:q,onClick:z,onMouseEnter:V,onMouseLeave:Y,children:K}),Z[4]=z,Z[5]=q,Z[6]=K,Z[7]=F;else F=Z[7];return F}function jz(){let J=a0.c(4),Z=eZ();if(!Z||Z.suggestions.length===0)return null;let Q;if(J[0]!==Z.maxColumnWidth||J[1]!==Z.selectedSuggestion||J[2]!==Z.suggestions)Q=B(b,{position:"absolute",bottom:"100%",left:0,right:0,paddingX:2,paddingTop:1,flexDirection:"column",opaque:!0,children:B(HJ,{suggestions:Z.suggestions,selectedSuggestion:Z.selectedSuggestion,maxColumnWidth:Z.maxColumnWidth,overlay:!0})}),J[0]=Z.maxColumnWidth,J[1]=Z.selectedSuggestion,J[2]=Z.suggestions,J[3]=Q;else Q=J[3];return Q}function Pz(){let J=a0.c(2),Z=ZJ();if(!Z)return null;let Q;if(J[0]!==Z)Q=B(b,{position:"absolute",bottom:"100%",left:0,right:0,opaque:!0,children:Z}),J[0]=Z,J[1]=Q;else Q=J[1];return Q}var a0,q0,QJ=2,yZ;var LJ=L0(()=>{zJ();Yz();JJ();qJ();Hz();qz();f0();Vz();vZ();XJ();CZ();Bz();F0();a0=w0(u0(),1),q0=w0(I0(),1),yZ=q0.createContext({setStickyPrompt:()=>{}})});function FJ(J,Z){for(let Q of J)if(!Z.has(Q))return!1;return!0}var KJ=()=>{};function NJ(J){if(J.type!=="user")return!1;let Z=J.message.content[0];if(Z?.type!=="text")return!1;if(!Z.text.includes(`<${KZ}`))return!1;if(_Z(Z.text,NZ)!=="completed")return!1;return _Z(Z.text,wZ)?.startsWith(wJ)??!1}function OJ(J,Z){if(!c0())return J;if(Z)return J;let Q=[],z=0;while(z<J.length){let X=J[z];if(NJ(X)){let W=0;while(z<J.length&&NJ(J[z]))W++,z++;if(W===1)Q.push(X);else Q.push({...X,message:{role:"user",content:[{type:"text",text:`<${KZ}><${NZ}>completed</${NZ}><${wZ}>${W} background commands completed</${wZ}></${KZ}>`}]}})}else Q.push(X),z++}return Q}var AJ=L0(()=>{Dz();Uz();vZ();OZ()});function jJ(J){return J.type==="system"&&J.subtype==="stop_hook_summary"&&J.hookLabel!==void 0}function PJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(jJ(z)){let X=z.hookLabel,W=[];while(Q<J.length){let q=J[Q];if(!jJ(q)||q.hookLabel!==X)break;W.push(q),Q++}if(W.length===1)Z.push(z);else Z.push({...z,hookCount:W.reduce((q,V)=>q+V.hookCount,0),hookInfos:W.flatMap((q)=>q.hookInfos),hookErrors:W.flatMap((q)=>q.hookErrors),preventedContinuation:W.some((q)=>q.preventedContinuation),hasOutput:W.some((q)=>q.hasOutput),totalDurationMs:Math.max(...W.map((q)=>q.totalDurationMs??0))})}else Z.push(z),Q++}return Z}var DJ=()=>{};function UJ(J){return J.type==="attachment"&&J.attachment.type==="task_status"&&J.attachment.taskType==="in_process_teammate"&&J.attachment.status==="completed"}function MJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(UJ(z)){let X=0;while(Q<J.length&&UJ(J[Q]))X++,Q++;if(X===1)Z.push(z);else Z.push({type:"attachment",uuid:z.uuid,timestamp:z.timestamp,attachment:{type:"teammate_shutdown_batch",count:X}})}else Z.push(z),Q++}return Z}var EJ=()=>{};function Mz(J){let Z=bJ.get(J);if(!Z)Z=new Set(J.filter((Q)=>Q.renderGroupedToolUse).map((Q)=>Q.name)),bJ.set(J,Z);return Z}function kZ(J){if(J.type==="assistant"&&J.message.content[0]?.type==="tool_use"){let Z=J.message.content[0];return{messageId:J.message.id,toolUseId:Z.id,toolName:Z.name}}return null}function CJ(J,Z,Q=!1){if(Q)return{messages:J};let z=Mz(Z),X=new Map;for(let F of J){let j=kZ(F);if(j&&z.has(j.toolName)){let v=`${j.messageId}:${j.toolName}`,M=X.get(v)??[];M.push(F),X.set(v,M)}}let W=new Map,q=new Set;for(let[F,j]of X)if(j.length>=2){W.set(F,j);for(let v of j){let M=kZ(v);if(M)q.add(M.toolUseId)}}let V=new Map;for(let F of J)if(F.type==="user"){for(let j of F.message.content)if(j.type==="tool_result"&&q.has(j.tool_use_id))V.set(j.tool_use_id,F)}let Y=[],K=new Set;for(let F of J){let j=kZ(F);if(j){let v=`${j.messageId}:${j.toolName}`,M=W.get(v);if(M){if(!K.has(v)){K.add(v);let I=M[0],Z0=[];for(let O of M){let C=O.message.content[0].id,_=V.get(C);if(_)Z0.push(_)}let d={type:"grouped_tool_use",toolName:j.toolName,messages:M,results:Z0,displayMessage:I,uuid:`grouped-${I.uuid}`,timestamp:I.timestamp,messageId:j.messageId};Y.push(d)}continue}}if(F.type==="user"){let v=F.message.content.filter((M)=>M.type==="tool_result");if(v.length>0){if(v.every((I)=>q.has(I.tool_use_id)))continue}}Y.push(F)}return{messages:Y}}var bJ;var vJ=L0(()=>{bJ=new WeakMap});function AZ(J){let Z=kJ.get(J);if(Z!==void 0)return Z;let Q=Ez(J).toLowerCase();return kJ.set(J,Q),Q}function Ez(J){let Z="";switch(J.type){case"user":{let X=J.message.content;if(typeof X==="string")Z=_J.has(X)?"":X;else{let W=[];for(let q of X)if(q.type==="text"){if(!_J.has(q.text))W.push(q.text)}else if(q.type==="tool_result")W.push(Cz(J.toolUseResult));Z=W.join(`
2
- `)}break}case"assistant":{let X=J.message.content;if(Array.isArray(X))Z=X.flatMap((W)=>{if(W.type==="text")return[W.text];if(W.type==="tool_use")return[bz(W.input)];return[]}).join(`
3
- `);break}case"attachment":{if(J.attachment.type==="relevant_memories")Z=J.attachment.memories.map((X)=>X.content).join(`
4
- `);else if(J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let X=J.attachment.prompt;Z=typeof X==="string"?X:X.flatMap((W)=>W.type==="text"?[W.text]:[]).join(`
5
- `)}break}case"collapsed_read_search":{if(J.relevantMemories)Z=J.relevantMemories.map((X)=>X.content).join(`
6
- `);break}default:break}let Q=Z,z=Q.indexOf("<system-reminder>");while(z>=0){let X=Q.indexOf(yJ,z);if(X<0)break;Q=Q.slice(0,z)+Q.slice(X+yJ.length),z=Q.indexOf("<system-reminder>")}return Q}function bz(J){if(!J||typeof J!=="object")return"";let Z=J,Q=[];for(let z of["command","pattern","file_path","path","prompt","description","query","url","skill"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["args","files"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(" "))}return Q.join(`
7
- `)}function Cz(J){if(!J||typeof J!=="object")return typeof J==="string"?J:"";let Z=J;if(typeof Z.stdout==="string"){let z=typeof Z.stderr==="string"?Z.stderr:"";return Z.stdout+(z?`
8
- `+z:"")}if(Z.file&&typeof Z.file==="object"&&typeof Z.file.content==="string")return Z.file.content;let Q=[];for(let z of["content","output","result","text","message"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["filenames","lines","results"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(`
9
- `))}return Q.join(`
10
- `)}var yJ="</system-reminder>",_J,kJ;var SZ=L0(()=>{OZ();_J=new Set([SJ,IJ]),kJ=new WeakMap});function RJ(J){let Z=hJ.c(5),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.type==="assistant"&&Q.message.model&&Q.message.content.some(vz)))return null;let W=jZ(Q.message.model)+8,q;if(Z[0]!==Q.message.model)q=B(g,{dimColor:!0,children:Q.message.model}),Z[0]=Q.message.model,Z[1]=q;else q=Z[1];let V;if(Z[2]!==W||Z[3]!==q)V=B(b,{minWidth:W,children:q}),Z[2]=W,Z[3]=q,Z[4]=V;else V=Z[4];return V}function vz(J){return J.type==="text"}var hJ;var xJ=L0(()=>{TJ();f0();F0();hJ=w0(u0(),1)});function uJ(J){let Z=$J.c(10),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.timestamp&&Q.type==="assistant"&&Q.message.content.some(yz)))return null;let W,q,V;if(Z[0]!==Q.timestamp)q=new Date(Q.timestamp).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0}),W=b,V=jZ(q),Z[0]=Q.timestamp,Z[1]=W,Z[2]=q,Z[3]=V;else W=Z[1],q=Z[2],V=Z[3];let Y;if(Z[4]!==q)Y=B(g,{dimColor:!0,children:q}),Z[4]=q,Z[5]=Y;else Y=Z[5];let K;if(Z[6]!==W||Z[7]!==V||Z[8]!==Y)K=B(W,{minWidth:V,children:Y}),Z[6]=W,Z[7]=V,Z[8]=Y,Z[9]=K;else K=Z[9];return K}function yz(J){return J.type==="text"}var $J;var pJ=L0(()=>{TJ();f0();F0();$J=w0(u0(),1)});function aJ(J,Z,Q,z){for(let X=Z+1;X<J.length;X++){let W=J[X];if(W?.type==="assistant"){let q=W.message.content[0];if(q?.type==="thinking"||q?.type==="redacted_thinking")continue;if(q?.type==="tool_use"){if(IZ(q.name,q.input,Q).isCollapsible)continue;if(z.has(q.id))continue}return!0}if(W?.type==="system"||W?.type==="attachment")continue;if(W?.type==="user"){if(W.message.content[0]?.type==="tool_result")continue}if(W?.type==="grouped_tool_use"){let q=W.messages[0]?.message.content[0],V=q?.type==="tool_use"?q.input:void 0;if(IZ(W.toolName,V,Q).isCollapsible)continue}return!0}return!1}function kz(J){let Z=lJ.c(64),{message:Q,isUserContinuation:z,hasContentAfter:X,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,streamingToolUseIDs:K,screen:F,canAnimate:j,onOpenRateLimitOptions:v,lastThinkingBlockId:M,latestBashOutputUUID:I,columns:Z0,isLoading:d,lookups:O}=J,C=F==="transcript",_=Q.type==="grouped_tool_use",N=Q.type==="collapsed_read_search",P;if(Z[0]!==X||Z[1]!==Y||Z[2]!==N||Z[3]!==d||Z[4]!==Q)P=N&&(TZ(Q,Y)||d&&!X),Z[0]=X,Z[1]=Y,Z[2]=N,Z[3]=d,Z[4]=Q,Z[5]=P;else P=Z[5];let f=P,J0;if(Z[6]!==N||Z[7]!==_||Z[8]!==Q)J0=_?Q.displayMessage:N?dJ(Q):Q,Z[6]=N,Z[7]=_,Z[8]=Q,Z[9]=J0;else J0=Z[9];let E=J0,k;if(Z[10]!==N||Z[11]!==_||Z[12]!==O||Z[13]!==Q)k=_||N?[]:ZQ(Q,O),Z[10]=N,Z[11]=_,Z[12]=O,Z[13]=Q,Z[14]=k;else k=Z[14];let H0=k,Y0;if(Z[15]!==Y||Z[16]!==N||Z[17]!==_||Z[18]!==O||Z[19]!==Q||Z[20]!==F||Z[21]!==K){let S=_||N?fJ:eJ(Q,O);Y0=tJ(Q,K,Y,S,F,O),Z[15]=Y,Z[16]=N,Z[17]=_,Z[18]=O,Z[19]=Q,Z[20]=F,Z[21]=K,Z[22]=Y0}else Y0=Z[22];let i=Y0,h=!1;if(j)if(_){let S;if(Z[23]!==Y||Z[24]!==Q.messages){let W0;if(Z[26]!==Y)W0=(w)=>{let D=w.message.content[0];return D?.type==="tool_use"&&Y.has(D.id)},Z[26]=Y,Z[27]=W0;else W0=Z[27];S=Q.messages.some(W0),Z[23]=Y,Z[24]=Q.messages,Z[25]=S}else S=Z[25];h=S}else if(N){let S;if(Z[28]!==Y||Z[29]!==Q)S=TZ(Q,Y),Z[28]=Y,Z[29]=Q,Z[30]=S;else S=Z[30];h=S}else{let S;if(Z[31]!==Y||Z[32]!==Q){let W0=g0(Q);S=!W0||Y.has(W0),Z[31]=Y,Z[32]=Q,Z[33]=S}else S=Z[33];h=S}let z0;if(Z[34]!==E||Z[35]!==C)z0=C&&E.type==="assistant"&&E.message.content.some(Sz)&&(E.timestamp||E.message.model),Z[34]=E,Z[35]=C,Z[36]=z0;else z0=Z[36];let Q0=z0,X0=!Q0,O0=Q0?void 0:Z0,T;if(Z[37]!==q||Z[38]!==Y||Z[39]!==f||Z[40]!==i||Z[41]!==C||Z[42]!==z||Z[43]!==M||Z[44]!==I||Z[45]!==O||Z[46]!==Q||Z[47]!==v||Z[48]!==H0||Z[49]!==h||Z[50]!==X0||Z[51]!==O0||Z[52]!==W||Z[53]!==V)T=B(nJ,{message:Q,lookups:O,addMargin:X0,containerWidth:O0,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,progressMessagesForMessage:H0,shouldAnimate:h,shouldShowDot:!0,isTranscriptMode:C,isStatic:i,onOpenRateLimitOptions:v,isActiveCollapsedGroup:f,isUserContinuation:z,lastThinkingBlockId:M,latestBashOutputUUID:I}),Z[37]=q,Z[38]=Y,Z[39]=f,Z[40]=i,Z[41]=C,Z[42]=z,Z[43]=M,Z[44]=I,Z[45]=O,Z[46]=Q,Z[47]=v,Z[48]=H0,Z[49]=h,Z[50]=X0,Z[51]=O0,Z[52]=W,Z[53]=V,Z[54]=T;else T=Z[54];let l=T;if(!Q0){let S;if(Z[55]!==l)S=B(e0,{children:l}),Z[55]=l,Z[56]=S;else S=Z[56];return S}let o;if(Z[57]!==E||Z[58]!==C)o=$(b,{flexDirection:"row",justifyContent:"flex-end",gap:1,marginTop:1,children:[B(uJ,{message:E,isTranscriptMode:C}),B(RJ,{message:E,isTranscriptMode:C})]}),Z[57]=E,Z[58]=C,Z[59]=o;else o=Z[59];let t;if(Z[60]!==Z0||Z[61]!==l||Z[62]!==o)t=B(e0,{children:$(b,{width:Z0,flexDirection:"column",children:[o,l]})}),Z[60]=Z0,Z[61]=l,Z[62]=o,Z[63]=t;else t=Z[63];return t}function Sz(J){return J.type==="text"}function Iz(J,Z){if(J.type==="grouped_tool_use")return J.messages.some((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return hZ(J).some((X)=>Z.has(X));let Q=g0(J);return!!Q&&Z.has(Q)}function Tz(J,Z){if(J.type==="grouped_tool_use")return J.messages.every((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return hZ(J).every((X)=>Z.has(X));if(J.type==="assistant"){let z=J.message.content[0];if(z?.type==="server_tool_use")return Z.has(z.id)}let Q=g0(J);return!Q||Z.has(Q)}function hz(J,Z){if(J.message!==Z.message)return!1;if(J.screen!==Z.screen)return!1;if(J.verbose!==Z.verbose)return!1;if(J.message.type==="collapsed_read_search"&&Z.screen!=="transcript")return!1;if(J.columns!==Z.columns)return!1;let Q=J.latestBashOutputUUID===J.message.uuid,z=Z.latestBashOutputUUID===Z.message.uuid;if(Q!==z)return!1;if(J.lastThinkingBlockId!==Z.lastThinkingBlockId&&mJ(Z.message))return!1;let X=Iz(J.message,J.streamingToolUseIDs),W=Tz(J.message,J.lookups.resolvedToolUseIDs);if(X||!W)return!1;return!0}var lJ,iJ,rJ;var oJ=L0(()=>{f0();cJ();OZ();_z();xJ();sJ();pJ();gJ();F0();lJ=w0(u0(),1),iJ=w0(I0(),1);rJ=iJ.memo(kz,hz)});import{relative as dz}from"path";function qQ(J){return az.filter((Z)=>Z.isActive(J))}var cz,gz,mz,nz,lz,iz,az;var YQ=L0(()=>{f0();BQ();zJ();xz();Rz();$z();fz();pz();uz();F0();cz={id:"large-memory-files",type:"warning",isActive:(J)=>pZ(J.memoryFiles).length>0,render:(J)=>{let Z=pZ(J.memoryFiles);return B(p0,{children:Z.map((Q)=>{let z=Q.path.startsWith(RZ())?dz(RZ(),Q.path):Q.path;return $(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Large ",B(g,{bold:!0,children:z})," will impact performance (",ZZ(Q.content.length)," chars >"," ",ZZ(VQ),")",B(g,{dimColor:!0,children:" · /memory to edit"})]})]},Q.path)})})}},gz={id:"claude-ai-external-token",type:"warning",isActive:()=>{let J=JZ();return QQ()&&(J.source==="ANTHROPIC_AUTH_TOKEN"||J.source==="apiKeyHelper")},render:()=>{let J=JZ();return $(b,{flexDirection:"row",marginTop:1,children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Using ",J.source," instead of Claude account subscription token. Either unset ",J.source,", or run `claude /logout`."]})]})}},mz={id:"api-key-conflict",type:"warning",isActive:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0});return!!JQ()&&(J==="ANTHROPIC_API_KEY"||J==="apiKeyHelper")},render:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0});return $(b,{flexDirection:"row",marginTop:1,children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Using ",J," instead of Anthropic Console key. Either unset ",J,", or run `claude /logout`."]})]})}},nz={id:"both-auth-methods",type:"warning",isActive:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0}),Z=JZ();return J!=="none"&&Z.source!=="none"&&!(J==="apiKeyHelper"&&Z.source==="apiKeyHelper")},render:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0}),Z=JZ();return $(b,{flexDirection:"column",marginTop:1,children:[$(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Both a token (",Z.source,") and an API key (",J,") are set. This may lead to unexpected behavior."]})]}),$(b,{flexDirection:"column",marginLeft:3,children:[$(g,{color:"warning",children:["· Trying to use"," ",Z.source==="claude.ai"?"claude.ai":Z.source,"?"," ",J==="ANTHROPIC_API_KEY"?'Unset the ANTHROPIC_API_KEY environment variable, or claude /logout then say "No" to the API key approval before login.':J==="apiKeyHelper"?"Unset the apiKeyHelper setting.":"claude /logout"]}),$(g,{color:"warning",children:["· Trying to use ",J,"?"," ",Z.source==="claude.ai"?"claude /logout to sign out of claude.ai.":`Unset the ${Z.source} environment variable.`]})]})]})}},lz={id:"large-agent-descriptions",type:"warning",isActive:(J)=>{return uZ(J.agentDefinitions)>$Z},render:(J)=>{let Z=uZ(J.agentDefinitions);return $(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Large cumulative agent descriptions will impact performance (~",ZZ(Z)," tokens >"," ",ZZ($Z),")",B(g,{dimColor:!0,children:" · /agents to manage"})]})]})}},iz={id:"jetbrains-plugin-install",type:"info",isActive:(J)=>{if(!XQ())return!1;if(!(J.config.autoInstallIdeExtension??!0))return!1;let Q=xZ();return Q!==null&&!zQ(Q)},render:()=>{let J=xZ(),Z=WQ(J);return $(b,{flexDirection:"row",gap:1,marginLeft:1,children:[B(g,{color:"ide",children:v0.arrowUp}),$(g,{children:["Install the ",B(g,{color:"ide",children:Z})," plugin from the JetBrains Marketplace:"," ",B(g,{bold:!0,children:"https://docs.claude.com/s/claude-code-jetbrains"})]})]})}},az=[cz,lz,gz,mz,nz,iz]});async function rz(){if(zZ)return zZ;return zZ=KQ().then((J)=>{XZ=J}).finally(()=>{zZ=null}),zZ}function LQ(J){let Z=GQ.c(8),{agentDefinitions:Q}=J===void 0?{}:J,[z,X]=r0.useState(XZ),W;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))W=()=>{if(XZ.length>0){X(XZ);return}rz().then(()=>{X(XZ)})},Z[0]=W;else W=Z[0];r0.useEffect(W,[W]);let V={config:PZ(),agentDefinitions:Q,memoryFiles:z},Y=qQ(V);if(Y.length===0)return null;let K=b,F="column",j=1,v=Y.map((I)=>B(r0.Fragment,{children:I.render(V)},I.id)),M;if(Z[1]!==K||Z[2]!==v)M=B(K,{flexDirection:F,paddingLeft:j,children:v}),Z[1]=K,Z[2]=v,Z[3]=M;else M=Z[3];return M}var GQ,r0,XZ,zZ=null;var FQ=L0(()=>{f0();BQ();HQ();YQ();F0();GQ=w0(u0(),1),r0=w0(I0(),1),XZ=[]});function NQ(J,Z,Q){let z=m.useRef(new Map),X=m.useRef(0),W=m.useRef(0),q=m.useRef({arr:new Float64Array(0),version:-1,n:-1}),V=m.useRef(new Map),Y=m.useRef(new Map),K=m.useRef(Q),F=m.useRef(!1),j=m.useRef(null),v=m.useRef(0);if(K.current!==Q){let w=K.current/Q;K.current=Q;for(let[D,R]of z.current)z.current.set(D,Math.max(1,Math.round(R*w)));X.current++,F.current=!0,v.current=2}let M=v.current>0?j.current:null,I=m.useRef(0),Z0=m.useRef(null),d=m.useCallback((w)=>J.current?.subscribe(w)??ez,[J]);m.useSyncExternalStore(d,()=>{let w=J.current;if(!w)return NaN;let D=w.getScrollTop()+w.getPendingDelta(),R=Math.floor(D/sz);return w.isSticky()?~R:R});let O=J.current?.getScrollTop()??-1,C=J.current?.getPendingDelta()??0,_=J.current?.getViewportHeight()??0,N=J.current?.isSticky()??!0;m.useMemo(()=>{let w=new Set(Z),D=!1;for(let R of z.current.keys())if(!w.has(R))z.current.delete(R),D=!0;for(let R of Y.current.keys())if(!w.has(R))Y.current.delete(R);if(D)X.current++},[Z]);let P=Z.length;if(q.current.version!==X.current||q.current.n!==P){let w=q.current.arr.length>=P+1?q.current.arr:new Float64Array(P+1);w[0]=0;for(let D=0;D<P;D++)w[D+1]=w[D]+(z.current.get(Z[D])??oz);q.current={arr:w,version:X.current,n:P}}let f=q.current.arr,J0=f[P],E,k;if(M)[E,k]=M,E=Math.min(E,P),k=Math.min(k,P);else if(_===0||O<0)E=Math.max(0,P-tz),k=P;else{if(N){let V0=_+o0;E=P;while(E>0&&J0-f[E-1]<V0)E--;k=P}else{let V0=I.current,G0=_*3,M0=Math.min(O,O+C),n0=Math.max(O,O+C),y0=n0-M0,P0=y0>G0?C<0?n0-G0:M0:M0,T0=P0+Math.min(y0,G0),l0=Math.max(0,P0-V0),h0=T0-V0,b0=l0-o0;{let H=0,L=P;while(H<L){let A=H+L>>1;if(f[A+1]<=b0)H=A+1;else L=A}E=H}{let H=j.current;if(H&&H[0]<E)for(let L=H[0];L<Math.min(E,H[1]);L++){let A=Z[L];if(V.current.has(A)&&!z.current.has(A)){E=L;break}}}let i0=_+2*o0,t0=Math.min(P,E+WZ),_0=0;k=E;while(k<t0&&(_0<i0||f[k]<h0+_+o0))_0+=z.current.get(Z[k])??fZ,k++}let w=_+2*o0,D=Math.max(0,k-WZ),R=0;for(let V0=E;V0<k;V0++)R+=z.current.get(Z[V0])??fZ;while(E>D&&R<w)E--,R+=z.current.get(Z[E])??fZ;let s=j.current,A0=Math.abs(O-W.current)+Math.abs(C);if(s&&A0>_*2){let[V0,G0]=s;if(E<V0-qZ)E=V0-qZ;if(k>G0+qZ)k=G0+qZ;if(E>k)k=Math.min(E+qZ,P)}W.current=O}if(v.current>0)v.current--;else j.current=[E,k];let H0=m.useDeferredValue(E),Y0=m.useDeferredValue(k),i=E<H0?H0:E,h=k>Y0?Y0:k;if(i>h||N)i=E,h=k;if(C>0)h=k;if(h-i>WZ){let w=(f[i]+f[h])/2;if(O-I.current<w)h=i+WZ;else i=h-WZ}let z0=I.current,Q0=f[i],X0=i===0?0:Q0+z0,O0=h===P?1/0:Math.max(Q0,f[h]-_)+z0;m.useLayoutEffect(()=>{if(N)J.current?.setClampBounds(void 0,void 0);else J.current?.setClampBounds(X0,O0)}),m.useLayoutEffect(()=>{let w=Z0.current?.yogaNode;if(w&&w.getComputedWidth()>0)I.current=w.getComputedTop();if(F.current){F.current=!1;return}let D=!1;for(let[R,s]of V.current){let A0=s.yogaNode;if(!A0)continue;let V0=A0.getComputedHeight(),G0=z.current.get(R);if(V0>0){if(G0!==V0)z.current.set(R,V0),D=!0}else if(A0.getComputedWidth()>0&&G0!==0)z.current.set(R,0),D=!0}if(D)X.current++});let T=m.useCallback((w)=>{let D=Y.current.get(w);if(!D)D=(R)=>{if(R)V.current.set(w,R);else{let s=V.current.get(w)?.yogaNode;if(s&&!F.current){let A0=s.getComputedHeight();if((A0>0||s.getComputedWidth()>0)&&z.current.get(w)!==A0)z.current.set(w,A0),X.current++}V.current.delete(w)}},Y.current.set(w,D);return D},[]),l=m.useCallback((w)=>{let D=V.current.get(Z[w])?.yogaNode;if(!D||D.getComputedWidth()===0)return-1;return D.getComputedTop()},[Z]),o=m.useCallback((w)=>V.current.get(Z[w])??null,[Z]),t=m.useCallback((w)=>z.current.get(Z[w]),[Z]),S=m.useCallback((w)=>{let D=q.current;if(w<0||w>=D.n)return;J.current?.scrollTo(D.arr[w]+I.current)},[J]),W0=J0-f[h];return{range:[i,h],topSpacer:Q0,bottomSpacer:W0,measureRef:T,spacerRef:Z0,offsets:f,getItemTop:l,getItemElement:o,getItemHeight:t,scrollToIndex:S}}var m,oz=3,o0=80,tz=30,sz,fZ=1,WZ=300,qZ=25,ez=()=>{};var wQ=L0(()=>{m=w0(I0(),1),sz=o0>>1});function zX(J){let Z=OQ.get(J);if(Z!==void 0)return Z;let Q=AZ(J);return OQ.set(J,Q),Q}function WX(J){let Z=AQ.get(J);if(Z!==void 0)return Z;let Q=qX(J);return AQ.set(J,Q),Q}function qX(J){let Z=null;if(J.type==="user"){if(J.isMeta||J.isVisibleInTranscriptOnly)return null;let z=J.message.content[0];if(z?.type!=="text")return null;Z=z.text}else if(J.type==="attachment"&&J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let z=J.attachment.prompt;Z=typeof z==="string"?z:z.flatMap((X)=>X.type==="text"?[X.text]:[]).join(`
11
- `)}if(Z===null)return null;let Q=MQ(Z);if(Q.startsWith("<")||Q==="")return null;return Q}function YX(J){let Z=bQ.c(30),{itemKey:Q,msg:z,idx:X,measureRef:W,expanded:q,hovered:V,clickable:Y,onClickK:K,onEnterK:F,onLeaveK:j,renderItem:v}=J,M;if(Z[0]!==Q||Z[1]!==W)M=W(Q),Z[0]=Q,Z[1]=W,Z[2]=M;else M=Z[2];let I=q?"userMessageBackgroundHover":void 0,Z0=q?1:void 0,d;if(Z[3]!==Y||Z[4]!==z||Z[5]!==K)d=Y?(J0)=>K(z,J0.cellIsBlank):void 0,Z[3]=Y,Z[4]=z,Z[5]=K,Z[6]=d;else d=Z[6];let O;if(Z[7]!==Y||Z[8]!==Q||Z[9]!==F)O=Y?()=>F(Q):void 0,Z[7]=Y,Z[8]=Q,Z[9]=F,Z[10]=O;else O=Z[10];let C;if(Z[11]!==Y||Z[12]!==Q||Z[13]!==j)C=Y?()=>j(Q):void 0,Z[11]=Y,Z[12]=Q,Z[13]=j,Z[14]=C;else C=Z[14];let _=V&&!q?"text":void 0,N;if(Z[15]!==X||Z[16]!==z||Z[17]!==v)N=v(z,X),Z[15]=X,Z[16]=z,Z[17]=v,Z[18]=N;else N=Z[18];let P;if(Z[19]!==_||Z[20]!==N)P=B(PQ.Provider,{value:_,children:N}),Z[19]=_,Z[20]=N,Z[21]=P;else P=Z[21];let f;if(Z[22]!==M||Z[23]!==I||Z[24]!==Z0||Z[25]!==d||Z[26]!==O||Z[27]!==C||Z[28]!==P)f=B(b,{ref:M,flexDirection:"column",backgroundColor:I,paddingBottom:Z0,onClick:d,onMouseEnter:O,onMouseLeave:C,children:P}),Z[22]=M,Z[23]=I,Z[24]=Z0,Z[25]=d,Z[26]=O,Z[27]=C,Z[28]=P,Z[29]=f;else f=Z[29];return f}function CQ({messages:J,scrollRef:Z,columns:Q,itemKey:z,renderItem:X,onItemClick:W,isItemClickable:q,isItemExpanded:V,extractSearchText:Y=zX,trackStickyPrompt:K,selectedIndex:F,cursorNavRef:j,setCursor:v,jumpRef:M,onSearchMatchesChange:I,scanElement:Z0,setPositions:d}){let O=y.useRef([]),C=y.useRef(J),_=y.useRef(z);if(_.current!==z||J.length<O.current.length||J[0]!==C.current[0])O.current=J.map((H)=>z(H));else for(let H=O.current.length;H<J.length;H++)O.current.push(z(J[H]));C.current=J,_.current=z;let N=O.current,{range:P,topSpacer:f,bottomSpacer:J0,measureRef:E,spacerRef:k,offsets:H0,getItemTop:Y0,getItemElement:i,getItemHeight:h,scrollToIndex:z0}=NQ(Z,N,Q),[Q0,X0]=P,O0=y.useCallback((H)=>{if(h(H)===0)return!1;return DQ(J[H])},[h,J]);y.useImperativeHandle(j,()=>{let H=(u)=>v?.({uuid:u.uuid,msgType:u.type,expanded:!1,toolName:UQ(u)?.name}),L=F??-1,A=(u,n,r=O0)=>{for(let c=u;c>=0&&c<J.length;c+=n)if(r(c))return H(J[c]),!0;return!1},x=(u)=>O0(u)&&J[u].type==="user";return{enterCursor:()=>A(J.length-1,-1,x),navigatePrev:()=>A(L-1,-1),navigateNext:()=>{if(A(L+1,1))return;Z.current?.scrollToBottom(),v?.(null)},navigatePrevUser:()=>A(L-1,-1,x),navigateNextUser:()=>A(L+1,1,x),navigateTop:()=>A(0,1),navigateBottom:()=>A(J.length-1,-1),getSelected:()=>L>=0?J[L]??null:null}},[J,F,v,O0]);let T=y.useRef({offsets:H0,start:Q0,getItemElement:i,getItemTop:Y0,messages:J,scrollToIndex:z0});T.current={offsets:H0,start:Q0,getItemElement:i,getItemTop:Y0,messages:J,scrollToIndex:z0},y.useEffect(()=>{if(F===void 0)return;let H=T.current,L=H.getItemElement(F);if(L)Z.current?.scrollToElement(L,1);else H.scrollToIndex(F)},[F,Z]);let l=y.useRef(null),o=y.useRef({msgIdx:-1,positions:[]}),t=y.useRef(-1),S=y.useRef(0),W0=y.useRef(0),w=y.useRef(()=>{}),D=y.useRef(()=>{}),R=y.useRef({matches:[],ptr:0,screenOrd:0,prefixSum:[]}),s=y.useRef(-1),A0=y.useRef(!1);function V0(H){let L=T.current.getItemTop(H);return Math.max(0,L-dZ)}function G0(H){let L=Z.current,{msgIdx:A,positions:x}=o.current;if(!L||x.length===0||A<0){d?.(null);return}let u=Math.max(0,Math.min(H,x.length-1)),n=x[u],r=T.current.getItemTop(A),c=L.getViewportTop(),e=r-L.getScrollTop(),R0=L.getViewportHeight(),j0=c+e+n.row;if(j0<c||j0>=c+R0)L.scrollTo(Math.max(0,r+n.row-dZ)),e=r-L.getScrollTop(),j0=c+e+n.row;d?.({positions:x,rowOffset:c+e,currentIdx:u});let E0=R.current,D0=E0.prefixSum.at(-1)??0,U0=(E0.prefixSum[E0.ptr]??0)+u+1;I?.(D0,U0),m0(`highlight(i=${A}, ord=${u}/${x.length}): pos={row:${n.row},col:${n.col}} lo=${e} screenRow=${j0} badge=${U0}/${D0}`)}D.current=G0;let[M0,n0]=y.useState(0),y0=y.useCallback(()=>n0((H)=>H+1),[]);y.useEffect(()=>{let H=l.current;if(!H)return;let{idx:L,wantLast:A,tries:x}=H,u=Z.current;if(!u)return;let{getItemElement:n,getItemTop:r,scrollToIndex:c}=T.current,e=n(L),R0=e?.yogaNode?.getComputedHeight()??0;if(!e||R0===0){if(x>1){l.current=null,m0(`seek(i=${L}): no mount after scrollToIndex, skip`),w.current(A?-1:1);return}l.current={idx:L,wantLast:A,tries:x+1},c(L),y0();return}l.current=null,u.scrollTo(Math.max(0,r(L)-dZ));let j0=Z0?.(e)??[];if(o.current={msgIdx:L,positions:j0},m0(`seek(i=${L} t=${x}): ${j0.length} positions`),j0.length===0){if(++S.current>20){S.current=0;return}w.current(A?-1:1);return}S.current=0;let E0=A?j0.length-1:0;R.current.screenOrd=E0,t.current=-1,D.current(E0);let D0=W0.current;if(D0)W0.current=0,w.current(D0)},[M0]);function P0(H,L){let A=Z.current;if(!A)return;let x=T.current,{getItemElement:u,scrollToIndex:n}=x;if(H<0||H>=x.messages.length)return;d?.(null),o.current={msgIdx:-1,positions:[]},l.current={idx:H,wantLast:L,tries:0};let r=u(H),c=r?.yogaNode?.getComputedHeight()??0;if(r&&c>0)A.scrollTo(V0(H));else n(H);y0()}function T0(H){let L=R.current,{matches:A,prefixSum:x}=L,u=x.at(-1)??0;if(A.length===0)return;if(l.current){W0.current=H;return}if(t.current<0)t.current=L.ptr;let{positions:n}=o.current,r=L.screenOrd+H;if(r>=0&&r<n.length){L.screenOrd=r,G0(r),t.current=-1;return}let c=(L.ptr+H+A.length)%A.length;if(c===t.current){d?.(null),t.current=-1,m0(`step: wraparound at ptr=${c}, all ${A.length} msgs phantoms`);return}L.ptr=c,L.screenOrd=0,P0(A[c],H<0);let e=H<0?x[c+1]??u:x[c]+1;I?.(u,e)}w.current=T0,y.useImperativeHandle(M,()=>({jumpToIndex:(H)=>{let L=Z.current;if(L)L.scrollTo(V0(H))},setSearchQuery:(H)=>{l.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1,d?.(null);let L=H.toLowerCase(),A=[],x=[0];if(L){let D0=T.current.messages;for(let U0=0;U0<D0.length;U0++){let k0=Y(D0[U0]),G=k0.indexOf(L),U=0;while(G>=0)U++,G=k0.indexOf(L,G+L.length);if(U>0)A.push(U0),x.push(x.at(-1)+U)}}let u=x.at(-1),n=0,r=Z.current,{offsets:c,start:e,getItemTop:R0}=T.current,j0=R0(e),E0=j0>=0?j0-c[e]:0;if(A.length>0&&r){let D0=s.current>=0?s.current:r.getScrollTop(),U0=1/0;for(let k0=0;k0<A.length;k0++){let G=Math.abs(E0+c[A[k0]]-D0);if(G<=U0)U0=G,n=k0}m0(`setSearchQuery('${H}'): ${A.length} msgs · ptr=${n} msgIdx=${A[n]} curTop=${D0} origin=${E0}`)}if(R.current={matches:A,ptr:n,screenOrd:0,prefixSum:x},A.length>0)P0(A[n],!0);else if(s.current>=0&&r)r.scrollTo(s.current);I?.(u,A.length>0?x[n+1]??u:0)},nextMatch:()=>T0(1),prevMatch:()=>T0(-1),setAnchor:()=>{let H=Z.current;if(H)s.current=H.getScrollTop()},disarmSearch:()=>{d?.(null),l.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1},warmSearchIndex:async()=>{if(A0.current)return 0;let H=T.current.messages,L=500,A=0,x=performance.now();for(let n=0;n<H.length;n+=L){await jQ(0);let r=performance.now(),c=Math.min(n+L,H.length);for(let e=n;e<c;e++)Y(H[e]);A+=performance.now()-r}let u=Math.round(performance.now()-x);return m0(`warmSearchIndex: ${H.length} msgs · work=${Math.round(A)}ms wall=${u}ms chunks=${Math.ceil(H.length/L)}`),A0.current=!0,Math.round(A)}}),[Z]);let[l0,h0]=y.useState(null),b0=y.useRef({onItemClick:W,setHoveredKey:h0});b0.current={onItemClick:W,setHoveredKey:h0};let i0=y.useCallback((H,L)=>{let A=b0.current;if(!L&&A.onItemClick)A.onItemClick(H)},[]),t0=y.useCallback((H)=>{b0.current.setHoveredKey(H)},[]),_0=y.useCallback((H)=>{b0.current.setHoveredKey((L)=>L===H?null:L)},[]);return $(p0,{children:[B(b,{ref:k,height:f,flexShrink:0}),J.slice(Q0,X0).map((H,L)=>{let A=Q0+L,x=N[A],u=!!W&&(q?.(H)??!0),n=u&&l0===x,r=V?.(H);return B(YX,{itemKey:x,msg:H,idx:A,measureRef:E,expanded:r,hovered:n,clickable:u,onClickK:i0,onEnterK:t0,onLeaveK:_0,renderItem:X},x)}),J0>0&&B(b,{height:J0,flexShrink:0}),K&&B(BX,{messages:J,start:Q0,end:X0,offsets:H0,getItemTop:Y0,getItemElement:i,scrollRef:Z})]})}function BX({messages:J,start:Z,end:Q,offsets:z,getItemTop:X,getItemElement:W,scrollRef:q}){let{setStickyPrompt:V}=y.useContext(yZ),Y=y.useCallback((N)=>q.current?.subscribe(N)??VX,[q]);y.useSyncExternalStore(Y,()=>{let N=q.current;if(!N)return NaN;let P=N.getScrollTop()+N.getPendingDelta();return N.isSticky()?-1-P:P});let K=q.current?.isSticky()??!0,F=Math.max(0,(q.current?.getScrollTop()??0)+(q.current?.getPendingDelta()??0)),j=Z,v=-1;for(let N=Q-1;N>=Z;N--){let P=X(N);if(P>=0){if(P<F)break;v=P}j=N}let M=-1,I=null;if(j>0&&!K)for(let N=j-1;N>=0;N--){let P=WX(J[N]);if(P===null)continue;let f=X(N);if(f>=0&&f+1>=F)continue;M=N,I=P;break}let Z0=v>=0?v-z[j]:0,d=M>=0?Math.max(0,Z0+z[M]):-1,O=y.useRef({idx:-1,tries:0}),C=y.useRef("none"),_=y.useRef(-1);return y.useEffect(()=>{if(O.current.idx>=0)return;if(C.current==="armed"){C.current="force";return}let N=C.current==="force";if(C.current="none",!N&&_.current===M)return;if(_.current=M,I===null){V(null);return}let P=I.trimStart(),f=P.search(/\n\s*\n/),J0=(f>=0?P.slice(0,f):P).slice(0,XX).replace(/\s+/g," ").trim();if(J0===""){V(null);return}let E=M,k=d;V({text:J0,scrollTo:()=>{V("clicked"),C.current="armed";let H0=W(E);if(H0)q.current?.scrollToElement(H0,1);else q.current?.scrollTo(k),O.current={idx:E,tries:0}}})}),y.useEffect(()=>{if(O.current.idx<0)return;let N=W(O.current.idx);if(N)q.current?.scrollToElement(N,1),O.current={idx:-1,tries:0};else if(++O.current.tries>5)O.current={idx:-1,tries:0}}),null}var bQ,y,dZ=3,OQ,XX=500,AQ,VX=()=>{};var vQ=L0(()=>{wQ();f0();QX();LJ();ZX();JX();SZ();EQ();F0();bQ=w0(u0(),1),y=w0(I0(),1),OQ=new WeakMap;AQ=new WeakMap});function CX(J,Z){let Q=new Set(Z),z=new Set;return J.filter((X)=>{if(X.type==="system")return X.subtype!=="api_metrics";let W=X.message?.content[0];if(X.type==="assistant"){if(X.isApiErrorMessage)return!0;if(W?.type==="tool_use"&&W.name&&Q.has(W.name)){if("id"in W)z.add(W.id);return!0}return!1}if(X.type==="user"){if(W?.type==="tool_result")return W.tool_use_id!==void 0&&z.has(W.tool_use_id);return!X.isMeta}if(X.type==="attachment"){let q=X.attachment;return q?.type==="queued_command"&&q.commandMode==="prompt"&&!q.isMeta&&q.origin===void 0}return!1})}function vX(J,Z){let Q=new Set(Z),z=new Set,X=[],W=0;for(let q=0;q<J.length;q++){let V=J[q],Y=V.message?.content[0];if(V.type==="user"&&Y?.type!=="tool_result"&&!V.isMeta){W++;continue}if(V.type==="assistant"){if(Y?.type==="text")X[q]=W;else if(Y?.type==="tool_use"&&Y.name&&Q.has(Y.name))z.add(W)}}if(z.size===0)return J;return J.filter((q,V)=>{let Y=X[V];return Y===void 0||!z.has(Y)})}function kX(J,Z,Q=yX,z=_X){let X=Z.current,W=X?J.findIndex((Y)=>Y.uuid===X.uuid):-1,q=W>=0?W:X?Math.min(X.idx,Math.max(0,J.length-Q)):0;if(J.length-q>Q+z)q=J.length-Q;let V=J[q];if(V&&(X?.uuid!==V.uuid||X.idx!==q))Z.current={uuid:V.uuid,idx:q};else if(!V&&X)Z.current=null;return q}function _Q(J){return(J.type==="assistant"||J.type==="user"?g0(J):null)??J.uuid}function TX(J,Z){if(J.size!==Z.size)return!1;for(let Q of J)if(!Z.has(Q))return!1;return!0}function tJ(J,Z,Q,z,X,W){if(X==="transcript")return!0;switch(J.type){case"attachment":case"user":case"assistant":{if(J.type==="assistant"){let V=J.message.content[0];if(V?.type==="server_tool_use")return W.resolvedToolUseIDs.has(V.id)}let q=g0(J);if(!q)return!0;if(Z.has(q))return!1;if(Q.has(q))return!1;if(tQ(q,"PostToolUse",W))return!1;return FJ(z,W.resolvedToolUseIDs)}case"system":return J.subtype!=="api_error";case"grouped_tool_use":return J.messages.every((V)=>{let Y=V.message.content[0];return Y?.type==="tool_use"&&W.resolvedToolUseIDs.has(Y.id)});case"collapsed_read_search":return!1}return!1}var nQ,YZ,p,MX,EX=null,yQ=null,bX=null,cZ=30,yX=200,_X=50,SX=({messages:J,tools:Z,commands:Q,verbose:z,toolJSX:X,toolUseConfirmQueue:W,inProgressToolUseIDs:q,isMessageSelectorVisible:V,conversationId:Y,screen:K,streamingToolUses:F,showAllInTranscript:j=!1,agentDefinitions:v,onOpenRateLimitOptions:M,hideLogo:I=!1,isLoading:Z0,hidePastThinking:d=!1,streamingThinking:O,hasStreamingText:C=!1,isBriefOnly:_=!1,unseenDivider:N,scrollRef:P,trackStickyPrompt:f,jumpRef:J0,onSearchMatchesChange:E,scanElement:k,setPositions:H0,disableRenderCap:Y0=!1,cursor:i=null,setCursor:h,cursorNavRef:z0,renderRange:Q0})=>{let{columns:X0}=FZ(),O0=RQ("transcript:toggleShowAll","Transcript","Ctrl+E"),T=p.useMemo(()=>nZ(J).filter(lQ),[J]),l=p.useMemo(()=>{if(!O)return!1;if(O.isStreaming)return!0;if(O.streamingEndedAt)return Date.now()-O.streamingEndedAt<30000;return!1},[O]),o=p.useMemo(()=>{if(!d)return null;if(l)return"streaming";for(let G=T.length-1;G>=0;G--){let U=T[G];if(U?.type==="assistant"){let B0=U.message.content;for(let a=B0.length-1;a>=0;a--)if(B0[a]?.type==="thinking")return`${U.uuid}:${a}`}else if(U?.type==="user"){if(!U.message.content.some((a)=>a.type==="tool_result"))return"no-thinking"}}return null},[T,d,l]),t=p.useMemo(()=>{for(let G=T.length-1;G>=0;G--){let U=T[G];if(U?.type==="user"){let B0=U.message.content;for(let a of B0)if(a.type==="text"){let N0=a.text;if(N0.startsWith("<bash-stdout")||N0.startsWith("<bash-stderr"))return U.uuid}}}return null},[T]),S=p.useMemo(()=>sQ(T),[T]),W0=p.useMemo(()=>F.filter((G)=>!q.has(G.contentBlock.id)&&!S.has(G.contentBlock.id)),[F,q,S]),w=p.useMemo(()=>W0.flatMap((G)=>{let U=mQ({content:[G.contentBlock]});return U.uuid=TQ(G.contentBlock.id,0),nZ([U])}),[W0]),D=K==="transcript",R=p.useMemo(()=>SQ(process.env.CLAUDIN_DISABLE_VIRTUAL_SCROLL),[]),s=P!=null&&!R,A0=D&&!j&&!s,V0=p.useRef(null),{collapsed:G0,lookups:M0,hasTruncatedMessages:n0,hiddenMessageCount:y0}=p.useMemo(()=>{let G=z||c0()?T:iQ(T,{includeSnipped:!0}),U=rQ(G.filter((S0)=>S0.type!=="progress").filter((S0)=>!GZ(S0)).filter((S0)=>aQ(S0,D)),w),B0=[yQ,bX].filter((S0)=>S0!==null),a=[yQ].filter((S0)=>S0!==null),N0=B0.length>0&&!D?_?CX(U,B0):a.length>0?vX(U,a):U:U,C0=A0?N0.slice(-cZ):N0,VZ=A0&&N0.length>cZ,{messages:d0}=CJ(C0,Z,z),eQ=OJ(PJ(MJ(cQ(gQ(d0,Z)))),z),Zz=oQ(T,C0),Jz=U.length-cZ;return{collapsed:eQ,lookups:Zz,hasTruncatedMessages:VZ,hiddenMessageCount:Jz}},[z,T,D,w,A0,Z,_]),P0=p.useMemo(()=>{let U=!s&&!Y0?kX(G0,V0):0;return Q0?G0.slice(Q0[0],Q0[1]):U>0?G0.slice(U):G0},[G0,Q0,s,Y0]),T0=p.useMemo(()=>new Set(F.map((G)=>G.contentBlock.id)),[F]),l0=xQ((G)=>G.tasks),h0=M0.asyncLaunchedToolUseIDs,b0=p.useMemo(()=>{if(h0.size===0)return null;let G=new Set;for(let[U,B0]of h0){let a=l0?.[B0]?.status;if(a==="running"||a==="requested"||a==="queued")G.add(U)}return G.size>0?G:null},[l0,h0]),i0=p.useMemo(()=>{if(!b0)return q;let G=new Set(q);for(let U of b0)G.add(U);return G},[q,b0]),t0=p.useMemo(()=>{if(!N)return-1;let G=N.firstUnseenUuid.slice(0,24);return P0.findIndex((U)=>U.uuid.slice(0,24)===G)},[N,P0]),_0=p.useMemo(()=>{if(!i)return-1;return P0.findIndex((G)=>G.uuid===i.uuid)},[i,P0]),[H,L]=p.useState(()=>new Set),A=p.useCallback((G)=>{let U=_Q(G);L((B0)=>{let a=new Set(B0);if(a.has(U))a.delete(U);else a.add(U);return a})},[]),x=p.useCallback((G)=>H.size>0&&H.has(_Q(G)),[H]),u=p.useRef(M0);u.current=M0;let n=p.useCallback((G)=>{if(G.type==="collapsed_read_search")return!0;if(G.type==="assistant"){let N0=G.message.content[0];return N0!=null&&fQ(N0)&&N0.type==="advisor_tool_result"&&N0.content.type==="advisor_result"}if(G.type!=="user")return!1;let U=G.message.content[0];if(U?.type!=="tool_result"||U.is_error||!G.toolUseResult)return!1;let B0=u.current.toolUseByToolUseID.get(U.tool_use_id)?.name;return(B0?mZ(Z,B0):void 0)?.isResultTruncated?.(G.toolUseResult)??!1},[Z]),r=(!X||!!X.shouldContinueAnimation)&&!W.length&&!V,c=i0.size>0,{progress:e}=hQ(),R0=p.useRef(null),j0=PZ().terminalProgressBarEnabled&&!kQ()&&!(EX?.isProactiveActive()??!1);p.useEffect(()=>{let G=j0?c?"indeterminate":"completed":null;if(R0.current===G)return;R0.current=G,e(G)},[e,j0,c]),p.useEffect(()=>{return()=>e(null)},[e]);let E0=p.useCallback((G)=>`${G.uuid}-${Y}`,[Y]),D0=(G,U)=>{if(G.type==="progress")return null;let B0=U>0?P0[U-1]?.type:void 0,a=G.type==="user"&&B0==="user",N0=G.type==="collapsed_read_search"&&(C||aJ(P0,U,Z,T0)),C0=E0(G),VZ=B(rJ,{message:G,isUserContinuation:a,hasContentAfter:N0,tools:Z,commands:Q,verbose:z||x(G)||i?.expanded===!0&&U===_0,inProgressToolUseIDs:i0,streamingToolUseIDs:T0,screen:K,canAnimate:r,onOpenRateLimitOptions:M,lastThinkingBlockId:o,latestBashOutputUUID:t,columns:X0,isLoading:Z0,lookups:M0},C0),d0=B($Q.Provider,{value:U===_0,children:VZ},C0);if(N&&U===t0)return[B(b,{marginTop:1,children:B(DZ,{title:`${N.count} new ${LZ(N.count,"message")}`,width:X0,color:"inactive"})},"unseen-divider"),d0];return d0},U0=p.useRef(new WeakMap),k0=p.useCallback((G)=>{let U=U0.current.get(G);if(U!==void 0)return U;let B0=AZ(G);if(G.type==="user"&&G.toolUseResult&&Array.isArray(G.message.content)){let N0=G.message.content.find((C0)=>C0.type==="tool_result");if(N0&&"tool_use_id"in N0){let C0=M0.toolUseByToolUseID.get(N0.tool_use_id),d0=(C0&&mZ(Z,C0.name))?.extractSearchText?.(G.toolUseResult);if(d0!==void 0)B0=d0}}let a=B0.toLowerCase();return U0.current.set(G,a),a},[Z,M0]);return $(p0,{children:[!I&&!(Q0&&Q0[0]>0)&&B(MX,{agentDefinitions:v}),n0&&B(DZ,{title:`${O0} to show ${gZ.bold(y0)} previous messages`,width:X0}),D&&j&&y0>0&&!Y0&&B(DZ,{title:`${O0} to hide ${gZ.bold(y0)} previous messages`,width:X0}),s?B(uQ.Provider,{value:!0,children:B(CQ,{messages:P0,scrollRef:P,columns:X0,itemKey:E0,renderItem:D0,onItemClick:A,isItemClickable:n,isItemExpanded:x,trackStickyPrompt:f,selectedIndex:_0>=0?_0:void 0,cursorNavRef:z0,setCursor:h,jumpRef:J0,onSearchMatchesChange:E,scanElement:k,setPositions:H0,extractSearchText:k0})}):P0.flatMap(D0),C&&!_&&B(IX,{}),l&&O&&!_&&B(b,{marginTop:1,children:B(dQ,{param:{type:"thinking",thinking:O.thinking},addMargin:!1,isTranscriptMode:!0,verbose:z,hideInTranscript:!1})})]})},IX=()=>{let J=lZ();if(!J)return null;return B(b,{alignItems:"flex-start",flexDirection:"row",marginTop:1,width:"100%",children:$(b,{flexDirection:"row",children:[B(b,{minWidth:2,children:B(g,{color:"text",children:IQ})}),B(b,{flexDirection:"column",children:B(pQ,{children:J})})]})})},l8;var sJ=L0(()=>{LX();KJ();HX();FX();qJ();NX();f0();wX();AX();KX();PX();AJ();DJ();UX();cJ();EJ();HQ();GX();vZ();vJ();OZ();XJ();SZ();OX();jX();iZ();oJ();EQ();DX();CZ();gJ();FQ();vQ();F0();nQ=w0(u0(),1),YZ=w0(I0(),1),p=w0(I0(),1),MX=YZ.memo(function(Z){let Q=nQ.c(3),{agentDefinitions:z}=Z,X;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))X=null,Q[0]=X;else X=Q[0];let W;if(Q[1]!==z)W=B(e0,{children:$(b,{flexDirection:"column",gap:1,children:[X,B(YZ.Suspense,{fallback:null,children:B(LQ,{agentDefinitions:z})})]})}),Q[1]=z,Q[2]=W;else W=Q[2];return W});l8=YZ.memo(SX,(J,Z)=>{let Q=Object.keys(J);for(let z of Q){if(z==="onOpenRateLimitOptions"||z==="scrollRef"||z==="trackStickyPrompt"||z==="setCursor"||z==="cursorNavRef"||z==="jumpRef"||z==="onSearchMatchesChange"||z==="scanElement"||z==="setPositions")continue;if(J[z]!==Z[z]){if(z==="streamingToolUses"){let X=J.streamingToolUses,W=Z.streamingToolUses;if(X.length===W.length&&X.every((q,V)=>q.contentBlock===W[V]?.contentBlock))continue}if(z==="inProgressToolUseIDs"){if(TX(J.inProgressToolUseIDs,Z.inProgressToolUseIDs))continue}if(z==="unseenDivider"){let X=J.unseenDivider,W=Z.unseenDivider;if(X?.firstUnseenUuid===W?.firstUnseenUuid&&X?.count===W?.count)continue}if(z==="tools"){let X=J.tools,W=Z.tools;if(X.length===W.length&&X.every((q,V)=>q.name===W[V]?.name))continue}return!1}}return!0})});
12
- export{s0 as bf,RX as cf,iZ as df,uX as ef,pX as ff,JJ as gf,XW as hf,WW as if,qW as jf,LJ as kf,l8 as lf,sJ as mf};
@@ -1,2 +0,0 @@
1
- import{rp as Q,wp as f}from"./cli-1.1.25-q88hb4qg.mjs";import{Hha as M,zha as B}from"./cli-1.1.25-s54emewd.mjs";import{Fla as b,Ila as A,ila as W,jla as Z,nla as X,rla as $,vla as Y}from"./cli-1.1.25-qgnyys4j.mjs";import{Yta as U}from"./cli-1.1.25-7qxwpfwh.mjs";import{randomBytes as G}from"crypto";import{readFile as L,rename as N,unlink as j,writeFile as S}from"fs/promises";import{join as T}from"path";function R(){return T(Q(),_)}function E(q){let v=Z(q);if(typeof v!=="object"||v===null||!("plugins"in v)||typeof v.plugins!=="object"||v.plugins===null)return{};let x=v.plugins,C={};for(let[J,H]of Object.entries(x))if(H&&typeof H==="object"&&"flaggedAt"in H&&typeof H.flaggedAt==="string"){let V={flaggedAt:H.flaggedAt};if("seenAt"in H&&typeof H.seenAt==="string")V.seenAt=H.seenAt;C[J]=V}return C}async function K(){try{let q=await L(R(),{encoding:"utf-8"});return E(q)}catch{return{}}}async function O(q){let v=R(),x=`${v}.${G(8).toString("hex")}.tmp`;try{await $().mkdir(Q());let C=W({plugins:q},null,2);await S(x,C,{encoding:"utf-8",mode:384}),await N(x,v),z=q}catch(C){B(C);try{await j(x)}catch{}}}async function u(){let q=await K(),v=Date.now(),x=!1;for(let[C,J]of Object.entries(q))if(J.seenAt&&v-new Date(J.seenAt).getTime()>=w)delete q[C],x=!0;if(z=q,x)await O(q)}function p(){return z??{}}async function c(q){if(z===null)z=await K();let v={...z,[q]:{flaggedAt:new Date().toISOString()}};await O(v),b(`Flagged plugin: ${q}`)}async function g(q){if(z===null)z=await K();let v=new Date().toISOString(),x=!1,C={...z};for(let J of q){let H=C[J];if(H&&!H.seenAt)C[J]={...H,seenAt:v},x=!0}if(x)await O(C)}async function d(q){if(z===null)z=await K();if(!(q in z))return;let{[q]:v,...x}=z;z=x,await O(x)}var _="flagged-plugins.json",w=172800000,z=null;var k=U(()=>{A();Y();M();X();f()});
2
- export{u as zc,p as Ac,c as Bc,g as Cc,d as Dc,k as Ec};
@@ -1,2 +0,0 @@
1
- import{Hd as Q,Id as Y}from"./cli-1.1.25-e2ng6vcx.mjs";import{KN as K,Nl as H,Ol as B,SN as X,Sl as U,Tl as V,cq as J,dq as W}from"./cli-1.1.25-q88hb4qg.mjs";import{Vta as q,Yta as v}from"./cli-1.1.25-7qxwpfwh.mjs";function P(k){return x.some((h)=>k.endsWith(h))}function C(k){return k.filter((h)=>H.has(h.name)||P(h.name))}function A(k,h,E){let[Z,$]=Q(J([...k,...h],"name"),K),w=(g,j)=>g.name.localeCompare(j.name),z=[...$.sort(w),...Z.sort(w)];if(G){if(G.isCoordinatorMode())return C(z)}return z}var x,G;var D=v(()=>{Y();W();B();X();x=["subscribe_pr_activity","unsubscribe_pr_activity"];G=(V(),q(U))});
2
- export{P as Dd,C as Ed,A as Fd,D as Gd};
@@ -1,2 +0,0 @@
1
- import{kj as H,mj as m}from"./cli-1.1.25-j6x483np.mjs";import{nj as k,oj as y}from"./cli-1.1.25-2wd0qj2d.mjs";import{R4 as G,S4 as f}from"./cli-1.1.25-dc92c5gy.mjs";import{$4 as Y,Z4 as X,e5 as R}from"./cli-1.1.25-n10jmzvk.mjs";import{g5 as B,h5 as C}from"./cli-1.1.25-9xqq9dsw.mjs";import{c9 as w,r9 as E}from"./cli-1.1.25-5n21xpvc.mjs";import{$fa as x,Dfa as S,Gfa as j,Hha as D,zha as Q}from"./cli-1.1.25-s54emewd.mjs";import{Aka as V,Bka as b}from"./cli-1.1.25-6vwz5vma.mjs";import{eta as W,wta as I}from"./cli-1.1.25-9yhnadye.mjs";import{Yta as Z}from"./cli-1.1.25-7qxwpfwh.mjs";async function _(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests`;return(await W.post(J,L,{headers:K})).data}async function $(L,N){let{accessToken:P,orgUUID:K}=await X(),J={...Y(P),"x-organization-uuid":K},F=`${V().BASE_API_URL}/api/oauth/organizations/${K}/admin_requests/me?request_type=${L}`;for(let v of N)F+=`&statuses=${v}`;return(await W.get(F,{headers:J})).data}async function z(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests/eligibility?request_type=${L}`;return(await W.get(J,{headers:K})).data}var M=Z(()=>{I();b();R()});async function i(){if(!j().hasVisitedExtraUsage)S((J)=>({...J,hasVisitedExtraUsage:!0}));H();let L=w(),N=L==="team"||L==="enterprise";if(!G()&&N){let J;try{J=(await k())?.extra_usage}catch(F){Q(F)}if(J?.is_enabled&&J.monthly_limit===null)return{type:"message",value:"Your organization already has unlimited extra usage. No request needed."};try{if((await z("limit_increase"))?.is_allowed===!1)return{type:"message",value:"Please contact your admin to manage extra usage settings."}}catch(F){Q(F)}try{let F=await $("limit_increase",["pending","dismissed"]);if(F&&F.length>0)return{type:"message",value:"You have already submitted a request for extra usage to your admin."}}catch(F){Q(F)}try{return await _({request_type:"limit_increase",details:null}),{type:"message",value:J?.is_enabled?"Request sent to your admin to increase extra usage.":"Request sent to your admin to enable extra usage."}}catch(F){Q(F)}return{type:"message",value:"Please contact your admin to manage extra usage settings."}}let K=N?"https://claude.ai/admin-settings/usage":"https://claude.ai/settings/usage";try{let J=await B(K);return{type:"browser-opened",url:K,opened:J}}catch(J){return Q(J),{type:"message",value:`Failed to open browser. Please visit ${K} to manage extra usage.`}}}var A=Z(()=>{M();m();y();E();f();C();x();D()});
2
- export{i as hj,A as ij};
@@ -1,2 +0,0 @@
1
- import{Fd as z,Gd as K}from"./cli-1.1.25-4yjtqfa0.mjs";import{iL as w,kL as J}from"./cli-1.1.25-q88hb4qg.mjs";import{J4 as H}from"./cli-1.1.25-6bb29bw7.mjs";import{Uta as E,Yta as G}from"./cli-1.1.25-7qxwpfwh.mjs";function V(q,v,k){return B.useMemo(()=>{let D=w(k,v);return z(q,D,k.mode)},[q,v,k,!1,!1])}var B;var N=G(()=>{J();K();B=E(H(),1)});
2
- export{V as Bd,N as Cd};
@@ -1,2 +0,0 @@
1
- import{G4 as w,I4 as F}from"./cli-1.1.25-fr1nw6bz.mjs";import{Zta as D}from"./cli-1.1.25-7qxwpfwh.mjs";F();var z,B;function O(q,v){z=q,B=v}async function Q(q,v,G,H){let J=z??import("./App-1.1.25-k5h3kma3.mjs"),K=B??import("./REPL-1.1.25-x77jymbq.mjs");z=void 0,B=void 0;let[{App:M},{REPL:N}]=await Promise.all([J,K]);await H(q,w(M,{...v,children:w(N,{...G})}))}
2
- export{O as Ib,Q as Jb};