@claudiolabs/claudin 0.6.13 → 0.7.0

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 (891) hide show
  1. package/dist/chunks/AgentTool-0.7.0-9peg6t20.mjs +1 -0
  2. package/dist/chunks/App-0.7.0-q5hygb50.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.7.0-pdj2vakp.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.7.0-190csm4h.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.7.0-khhh5rz9.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.7.0-4n7jcjsf.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.0-vf636a5p.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.7.0-z9h5bckg.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.7.0-3kqmdg48.mjs +7 -0
  10. package/dist/chunks/Doctor-0.7.0-gep401wn.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-0.7.0-2t408ngs.mjs +6 -0
  12. package/dist/chunks/Grove-0.7.0-3knq53k5.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.7.0-by807q13.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.7.0-maxj2b37.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.7.0-2atqejbc.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.7.0-wqtqgs70.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.7.0-xe2s643k.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.7.0-4tbbvacv.mjs +1 -0
  19. package/dist/chunks/REPL-0.7.0-tvn2epfh.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.7.0-6ycqmhh2.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.7.0-xwjwtj2z.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.7.0-mwbsjw08.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.7.0-szdbz9rf.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.7.0-sg1whfhh.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.7.0-jdkh4z1a.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.7.0-f557bcbq.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.7.0-gfmvgcwc.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.7.0-vvs597t9.mjs +1 -0
  29. package/dist/chunks/add-dir-0.7.0-tqy1qj7k.mjs +1 -0
  30. package/dist/chunks/agents-0.7.0-7mz67ymz.mjs +110 -0
  31. package/dist/chunks/agents-0.7.0-rzfq4nj1.mjs +3 -0
  32. package/dist/chunks/api-0.7.0-3ddtm43n.mjs +1 -0
  33. package/dist/chunks/asciicast-0.7.0-4hfhh3bz.mjs +1 -0
  34. package/dist/chunks/assistant-0.7.0-hq9qp39j.mjs +1 -0
  35. package/dist/chunks/auth-0.7.0-j0ecrgmw.mjs +1 -0
  36. package/dist/chunks/auth-0.7.0-q33dw9jq.mjs +1 -0
  37. package/dist/chunks/autoMode-0.7.0-jt8mnf1a.mjs +48 -0
  38. package/dist/chunks/autoUpdater-0.7.0-pk6cxrr5.mjs +1 -0
  39. package/dist/chunks/backgroundHousekeeping-0.7.0-n50bjkpa.mjs +1 -0
  40. package/dist/chunks/branch-0.7.0-2nvgp1ch.mjs +4 -0
  41. package/dist/chunks/bridge-0.7.0-n76zrpx7.mjs +2 -0
  42. package/dist/chunks/bridgeConfig-0.7.0-wavdtzat.mjs +1 -0
  43. package/dist/chunks/bridgeEnabled-0.7.0-eqjw3fax.mjs +1 -0
  44. package/dist/chunks/bridgeMain-0.7.0-7n73zfpq.mjs +88 -0
  45. package/dist/chunks/bridgePointer-0.7.0-49x6tn3y.mjs +1 -0
  46. package/dist/chunks/btw-0.7.0-d2cavbgh.mjs +1 -0
  47. package/dist/chunks/buddy-0.7.0-3r0qt58d.mjs +3 -0
  48. package/dist/chunks/cacache-0.7.0-tsq5tf6t.mjs +1 -0
  49. package/dist/chunks/cache-probe-0.7.0-521yf1je.mjs +21 -0
  50. package/dist/chunks/cacheStats-0.7.0-xrpkvgry.mjs +4 -0
  51. package/dist/chunks/caches-0.7.0-khrzrs38.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-0.7.0-9vm9zdzp.mjs +1 -0
  53. package/dist/chunks/claudemd-0.7.0-06x6wykt.mjs +1 -0
  54. package/dist/chunks/clear-0.7.0-0hkt8avg.mjs +1 -0
  55. package/dist/chunks/clearTerminal-0.7.0-np2er6we.mjs +1 -0
  56. package/dist/chunks/cli-0.7.0-0bzz8t89.mjs +2 -0
  57. package/dist/chunks/cli-0.7.0-0cp32djm.mjs +2 -0
  58. package/dist/chunks/cli-0.7.0-0hzevdxp.mjs +8 -0
  59. package/dist/chunks/cli-0.7.0-0r9dgw51.mjs +3 -0
  60. package/dist/chunks/cli-0.7.0-0vdrrv1g.mjs +2 -0
  61. package/dist/chunks/cli-0.7.0-154gmfg4.mjs +2 -0
  62. package/dist/chunks/cli-0.7.0-15wmymmf.mjs +2 -0
  63. package/dist/chunks/cli-0.7.0-19swb9c9.mjs +2 -0
  64. package/dist/chunks/cli-0.7.0-1b6xe3b3.mjs +3 -0
  65. package/dist/chunks/cli-0.7.0-1evcxwvq.mjs +9 -0
  66. package/dist/chunks/cli-0.7.0-1tb38zvv.mjs +2 -0
  67. package/dist/chunks/cli-0.7.0-1vvj7vh2.mjs +4 -0
  68. package/dist/chunks/cli-0.7.0-21zw08ne.mjs +4 -0
  69. package/dist/chunks/cli-0.7.0-24z25c8v.mjs +2 -0
  70. package/dist/chunks/cli-0.7.0-252v8s5n.mjs +20 -0
  71. package/dist/chunks/cli-0.7.0-29zphpz9.mjs +2 -0
  72. package/dist/chunks/cli-0.7.0-2cdwx892.mjs +3 -0
  73. package/dist/chunks/cli-0.7.0-2etvr47t.mjs +24 -0
  74. package/dist/chunks/cli-0.7.0-2nytysyy.mjs +2 -0
  75. package/dist/chunks/cli-0.7.0-383nrwhr.mjs +18 -0
  76. package/dist/chunks/cli-0.7.0-3fnqxks0.mjs +5 -0
  77. package/dist/chunks/cli-0.7.0-3knzsvn6.mjs +2 -0
  78. package/dist/chunks/cli-0.7.0-3n9nagt9.mjs +2 -0
  79. package/dist/chunks/cli-0.7.0-3stm3k7p.mjs +12 -0
  80. package/dist/chunks/cli-0.7.0-3xtc467b.mjs +2 -0
  81. package/dist/chunks/cli-0.7.0-48ycf0c3.mjs +2 -0
  82. package/dist/chunks/cli-0.7.0-48yfvx4w.mjs +2 -0
  83. package/dist/chunks/cli-0.7.0-49k0drxj.mjs +2 -0
  84. package/dist/chunks/cli-0.7.0-4d58csqr.mjs +2 -0
  85. package/dist/chunks/cli-0.7.0-4s9f320h.mjs +2 -0
  86. package/dist/chunks/cli-0.7.0-4t41vxc0.mjs +2 -0
  87. package/dist/chunks/cli-0.7.0-4z8583dp.mjs +2 -0
  88. package/dist/chunks/cli-0.7.0-4z9nwzzv.mjs +2 -0
  89. package/dist/chunks/cli-0.7.0-4zvtjdd8.mjs +2 -0
  90. package/dist/chunks/cli-0.7.0-5df67dbk.mjs +2 -0
  91. package/dist/chunks/cli-0.7.0-5fx679he.mjs +2 -0
  92. package/dist/chunks/cli-0.7.0-5ktz31fq.mjs +67 -0
  93. package/dist/chunks/cli-0.7.0-5yvefnpr.mjs +3 -0
  94. package/dist/chunks/cli-0.7.0-68mgyfr7.mjs +2 -0
  95. package/dist/chunks/cli-0.7.0-6v89j1h0.mjs +2 -0
  96. package/dist/chunks/cli-0.7.0-747esby6.mjs +2 -0
  97. package/dist/chunks/cli-0.7.0-7c24mbsm.mjs +2 -0
  98. package/dist/chunks/cli-0.7.0-7g132rdj.mjs +5420 -0
  99. package/dist/chunks/cli-0.7.0-83nm3wtf.mjs +2 -0
  100. package/dist/chunks/cli-0.7.0-89798mg3.mjs +2 -0
  101. package/dist/chunks/cli-0.7.0-8begebnr.mjs +3 -0
  102. package/dist/chunks/cli-0.7.0-8p56ked8.mjs +2 -0
  103. package/dist/chunks/cli-0.7.0-8qwe028y.mjs +2 -0
  104. package/dist/chunks/cli-0.7.0-9jzkqcfv.mjs +16 -0
  105. package/dist/chunks/cli-0.7.0-9mk6sjcz.mjs +4 -0
  106. package/dist/chunks/cli-0.7.0-9p8vefz6.mjs +18 -0
  107. package/dist/chunks/cli-0.7.0-a088q8ep.mjs +2 -0
  108. package/dist/chunks/cli-0.7.0-a0dt04a7.mjs +2 -0
  109. package/dist/chunks/cli-0.7.0-a7rry8ha.mjs +2 -0
  110. package/dist/chunks/cli-0.7.0-ad4z1hfv.mjs +50 -0
  111. package/dist/chunks/cli-0.7.0-aewz8nz4.mjs +2 -0
  112. package/dist/chunks/cli-0.7.0-apkk9390.mjs +3 -0
  113. package/dist/chunks/cli-0.7.0-asw5nd1q.mjs +2 -0
  114. package/dist/chunks/cli-0.7.0-avczxk44.mjs +2 -0
  115. package/dist/chunks/cli-0.7.0-avw5kb07.mjs +2 -0
  116. package/dist/chunks/cli-0.7.0-ba1xb8x3.mjs +4 -0
  117. package/dist/chunks/cli-0.7.0-bacjkqga.mjs +2 -0
  118. package/dist/chunks/cli-0.7.0-bn0k1nzk.mjs +2 -0
  119. package/dist/chunks/cli-0.7.0-cb16hgkh.mjs +2 -0
  120. package/dist/chunks/cli-0.7.0-cjxpqpns.mjs +3 -0
  121. package/dist/chunks/cli-0.7.0-ct2kfpct.mjs +2 -0
  122. package/dist/chunks/cli-0.7.0-cwxeffcg.mjs +2 -0
  123. package/dist/chunks/cli-0.7.0-d56bajvn.mjs +2 -0
  124. package/dist/chunks/cli-0.7.0-d5bt2ahd.mjs +2 -0
  125. package/dist/chunks/cli-0.7.0-d6h4eqtj.mjs +2 -0
  126. package/dist/chunks/cli-0.7.0-d8vr3j93.mjs +2 -0
  127. package/dist/chunks/cli-0.7.0-dem9bmt6.mjs +2 -0
  128. package/dist/chunks/cli-0.7.0-dpaewdhn.mjs +2 -0
  129. package/dist/chunks/cli-0.7.0-dszmq0g3.mjs +2 -0
  130. package/dist/chunks/cli-0.7.0-dtxyc2mt.mjs +2 -0
  131. package/dist/chunks/cli-0.7.0-dxnyr5rv.mjs +2 -0
  132. package/dist/chunks/cli-0.7.0-dyhamqem.mjs +2 -0
  133. package/dist/chunks/cli-0.7.0-e1esnrzt.mjs +42 -0
  134. package/dist/chunks/cli-0.7.0-e1mycvjk.mjs +2 -0
  135. package/dist/chunks/cli-0.7.0-e39zcyhp.mjs +4 -0
  136. package/dist/chunks/cli-0.7.0-e6mves6r.mjs +2 -0
  137. package/dist/chunks/cli-0.7.0-eayr3nfv.mjs +2 -0
  138. package/dist/chunks/cli-0.7.0-ecwta6mh.mjs +2 -0
  139. package/dist/chunks/cli-0.7.0-eddwmcdn.mjs +2 -0
  140. package/dist/chunks/cli-0.7.0-es6y6s82.mjs +12 -0
  141. package/dist/chunks/cli-0.7.0-ewbn59cm.mjs +2 -0
  142. package/dist/chunks/cli-0.7.0-ewcemx0m.mjs +2 -0
  143. package/dist/chunks/cli-0.7.0-f62gcsfa.mjs +2 -0
  144. package/dist/chunks/cli-0.7.0-f7mqc27p.mjs +6 -0
  145. package/dist/chunks/cli-0.7.0-ffy8few4.mjs +3 -0
  146. package/dist/chunks/cli-0.7.0-ft5gef81.mjs +2 -0
  147. package/dist/chunks/cli-0.7.0-ftjagwyg.mjs +2 -0
  148. package/dist/chunks/cli-0.7.0-fxv77y2t.mjs +12 -0
  149. package/dist/chunks/cli-0.7.0-g2ekvm09.mjs +6 -0
  150. package/dist/chunks/cli-0.7.0-g46gs4dx.mjs +2 -0
  151. package/dist/chunks/cli-0.7.0-g5qxznar.mjs +2 -0
  152. package/dist/chunks/cli-0.7.0-gafgf0er.mjs +2 -0
  153. package/dist/chunks/cli-0.7.0-gkssrwr6.mjs +34 -0
  154. package/dist/chunks/cli-0.7.0-h6kfhzzd.mjs +193 -0
  155. package/dist/chunks/cli-0.7.0-hmjg8yfx.mjs +2 -0
  156. package/dist/chunks/cli-0.7.0-hrtdae85.mjs +6 -0
  157. package/dist/chunks/cli-0.7.0-hxf1ckjt.mjs +12 -0
  158. package/dist/chunks/cli-0.7.0-hxph4t80.mjs +2 -0
  159. package/dist/chunks/cli-0.7.0-j4jzhywr.mjs +3 -0
  160. package/dist/chunks/cli-0.7.0-je29e78f.mjs +2 -0
  161. package/dist/chunks/cli-0.7.0-jmsrj8j2.mjs +4 -0
  162. package/dist/chunks/cli-0.7.0-jvkyhn8x.mjs +2 -0
  163. package/dist/chunks/cli-0.7.0-k3qqc7gx.mjs +2 -0
  164. package/dist/chunks/cli-0.7.0-k7w5n7pe.mjs +2 -0
  165. package/dist/chunks/cli-0.7.0-kkpf8bhn.mjs +2 -0
  166. package/dist/chunks/cli-0.7.0-kngw06pw.mjs +4 -0
  167. package/dist/chunks/cli-0.7.0-kp7f47zq.mjs +2 -0
  168. package/dist/chunks/cli-0.7.0-kpfe5dkw.mjs +2 -0
  169. package/dist/chunks/cli-0.7.0-kr6jdp53.mjs +133 -0
  170. package/dist/chunks/cli-0.7.0-kw0wp8vs.mjs +2 -0
  171. package/dist/chunks/cli-0.7.0-kw554ntj.mjs +3 -0
  172. package/dist/chunks/cli-0.7.0-m07xma4d.mjs +2 -0
  173. package/dist/chunks/cli-0.7.0-m6ysmj08.mjs +39 -0
  174. package/dist/chunks/cli-0.7.0-mea2neea.mjs +133 -0
  175. package/dist/chunks/cli-0.7.0-mn3gdwp2.mjs +17 -0
  176. package/dist/chunks/cli-0.7.0-mnbdk339.mjs +3 -0
  177. package/dist/chunks/cli-0.7.0-n0s94kev.mjs +2 -0
  178. package/dist/chunks/cli-0.7.0-n0twknfk.mjs +2 -0
  179. package/dist/chunks/cli-0.7.0-na9s209m.mjs +2 -0
  180. package/dist/chunks/cli-0.7.0-p96azep2.mjs +7 -0
  181. package/dist/chunks/cli-0.7.0-p9c7eask.mjs +2 -0
  182. package/dist/chunks/cli-0.7.0-p9q4x3f1.mjs +59 -0
  183. package/dist/chunks/cli-0.7.0-pbs0cx53.mjs +2 -0
  184. package/dist/chunks/cli-0.7.0-petmjdha.mjs +2 -0
  185. package/dist/chunks/cli-0.7.0-pf2fr5cc.mjs +4 -0
  186. package/dist/chunks/cli-0.7.0-pfcabga3.mjs +2 -0
  187. package/dist/chunks/cli-0.7.0-ppqzq0zp.mjs +2 -0
  188. package/dist/chunks/cli-0.7.0-q5sbn5b2.mjs +4 -0
  189. package/dist/chunks/cli-0.7.0-q70ex7jy.mjs +2 -0
  190. package/dist/chunks/cli-0.7.0-qeg8v19s.mjs +2 -0
  191. package/dist/chunks/cli-0.7.0-qftredzy.mjs +2 -0
  192. package/dist/chunks/cli-0.7.0-qmckaxpm.mjs +2 -0
  193. package/dist/chunks/cli-0.7.0-r8g195r8.mjs +15 -0
  194. package/dist/chunks/cli-0.7.0-rmprwgax.mjs +2 -0
  195. package/dist/chunks/cli-0.7.0-rnahtcw9.mjs +5 -0
  196. package/dist/chunks/cli-0.7.0-rxhbb3ca.mjs +2 -0
  197. package/dist/chunks/cli-0.7.0-s0b5jjrj.mjs +2 -0
  198. package/dist/chunks/cli-0.7.0-s14kw5d6.mjs +2 -0
  199. package/dist/chunks/cli-0.7.0-s4at7t0q.mjs +2 -0
  200. package/dist/chunks/cli-0.7.0-s8rt9fpg.mjs +2 -0
  201. package/dist/chunks/cli-0.7.0-s9hgep30.mjs +3 -0
  202. package/dist/chunks/cli-0.7.0-sbwhas5a.mjs +18 -0
  203. package/dist/chunks/cli-0.7.0-tcxmyk2w.mjs +2 -0
  204. package/dist/chunks/cli-0.7.0-tjpp46xm.mjs +2 -0
  205. package/dist/chunks/cli-0.7.0-tvwks6zm.mjs +2 -0
  206. package/dist/chunks/cli-0.7.0-twxrndmz.mjs +4 -0
  207. package/dist/chunks/cli-0.7.0-v6ceqq5f.mjs +2 -0
  208. package/dist/chunks/cli-0.7.0-v7hc34ad.mjs +2 -0
  209. package/dist/chunks/cli-0.7.0-v92q5ffm.mjs +2 -0
  210. package/dist/chunks/cli-0.7.0-vf7bbn80.mjs +5 -0
  211. package/dist/chunks/cli-0.7.0-vfzbn5qv.mjs +2 -0
  212. package/dist/chunks/cli-0.7.0-vp89ypch.mjs +24 -0
  213. package/dist/chunks/cli-0.7.0-vvb9pc7x.mjs +3 -0
  214. package/dist/chunks/cli-0.7.0-vzpjsnyh.mjs +2 -0
  215. package/dist/chunks/cli-0.7.0-vzvrhx5c.mjs +2 -0
  216. package/dist/chunks/cli-0.7.0-w0nw2kkk.mjs +17 -0
  217. package/dist/chunks/cli-0.7.0-wb82h4c2.mjs +2 -0
  218. package/dist/chunks/cli-0.7.0-wf8v2b4s.mjs +15 -0
  219. package/dist/chunks/cli-0.7.0-wgy69726.mjs +2 -0
  220. package/dist/chunks/cli-0.7.0-wm0enq59.mjs +2 -0
  221. package/dist/chunks/cli-0.7.0-wntkecma.mjs +2 -0
  222. package/dist/chunks/cli-0.7.0-wspeyepj.mjs +2 -0
  223. package/dist/chunks/cli-0.7.0-wvpty7mm.mjs +2 -0
  224. package/dist/chunks/cli-0.7.0-wxynfqax.mjs +2 -0
  225. package/dist/chunks/cli-0.7.0-wzjrm1a0.mjs +2 -0
  226. package/dist/chunks/cli-0.7.0-x1xdxk52.mjs +2 -0
  227. package/dist/chunks/cli-0.7.0-x2vc8nds.mjs +2 -0
  228. package/dist/chunks/cli-0.7.0-xb864qfd.mjs +2 -0
  229. package/dist/chunks/cli-0.7.0-xfxprc47.mjs +2 -0
  230. package/dist/chunks/cli-0.7.0-xpzg1xfc.mjs +2 -0
  231. package/dist/chunks/cli-0.7.0-xvjaw51n.mjs +15 -0
  232. package/dist/chunks/cli-0.7.0-y003ay15.mjs +2 -0
  233. package/dist/chunks/cli-0.7.0-y6nkrrpn.mjs +2 -0
  234. package/dist/chunks/cli-0.7.0-ybdk9aq6.mjs +21 -0
  235. package/dist/chunks/cli-0.7.0-ybwa4x6g.mjs +2 -0
  236. package/dist/chunks/cli-0.7.0-ycew6bek.mjs +2 -0
  237. package/dist/chunks/cli-0.7.0-ye6sm33j.mjs +2 -0
  238. package/dist/chunks/cli-0.7.0-ytqbgtvc.mjs +2 -0
  239. package/dist/chunks/cli-0.7.0-yts7snkm.mjs +45 -0
  240. package/dist/chunks/cli-0.7.0-yw6r7fw4.mjs +58 -0
  241. package/dist/chunks/cli-0.7.0-z15a5zq0.mjs +2 -0
  242. package/dist/chunks/cli-0.7.0-z7sydqy8.mjs +2 -0
  243. package/dist/chunks/cli-0.7.0-z93va7tf.mjs +2 -0
  244. package/dist/chunks/cli-0.7.0-zd1q68sv.mjs +2 -0
  245. package/dist/chunks/cli-0.7.0-zdbaf370.mjs +10 -0
  246. package/dist/chunks/cli-0.7.0-zf3jaceq.mjs +2 -0
  247. package/dist/chunks/cli-0.7.0-zh93d2ez.mjs +2 -0
  248. package/dist/chunks/cli-0.7.0-zjfpqpke.mjs +1 -0
  249. package/dist/chunks/cli-0.7.0-zmfejrs2.mjs +25 -0
  250. package/dist/chunks/cli-0.7.0-zn444tdk.mjs +2 -0
  251. package/dist/chunks/cli-0.7.0-zqv149an.mjs +6 -0
  252. package/dist/chunks/cli-0.7.0-zscdr61q.mjs +2 -0
  253. package/dist/chunks/cli-0.7.0-ztc21898.mjs +2 -0
  254. package/dist/chunks/client-0.7.0-mxq1x2gd.mjs +1 -0
  255. package/dist/chunks/color-0.7.0-q8kx1h5f.mjs +1 -0
  256. package/dist/chunks/compact-0.7.0-wej8t29a.mjs +3 -0
  257. package/dist/chunks/config-0.7.0-1vqyzdss.mjs +1 -0
  258. package/dist/chunks/config-0.7.0-29b2exhr.mjs +1 -0
  259. package/dist/chunks/constants-0.7.0-cwe25jjg.mjs +1 -0
  260. package/dist/chunks/context-0.7.0-wzkh0ek3.mjs +1 -0
  261. package/dist/chunks/context-noninteractive-0.7.0-3knrv7yy.mjs +1 -0
  262. package/dist/chunks/conversation-0.7.0-5gwkat1n.mjs +1 -0
  263. package/dist/chunks/copilotHeaders-0.7.0-k7qbvwa0.mjs +1 -0
  264. package/dist/chunks/copy-0.7.0-g9547w2e.mjs +9 -0
  265. package/dist/chunks/cost-0.7.0-g07zzraf.mjs +1 -0
  266. package/dist/chunks/createSSHSession-0.7.0-x69ccesr.mjs +1 -0
  267. package/dist/chunks/createSession-0.7.0-eythrhrd.mjs +1 -0
  268. package/dist/chunks/debug-0.7.0-grf8etmz.mjs +1 -0
  269. package/dist/chunks/defaultActionDeps-0.7.0-3msvjhye.mjs +1367 -0
  270. package/dist/chunks/desktop-0.7.0-qv2bt4fq.mjs +1 -0
  271. package/dist/chunks/detectRepository-0.7.0-8kzz057x.mjs +1 -0
  272. package/dist/chunks/detection-0.7.0-d8z59p8p.mjs +1 -0
  273. package/dist/chunks/diff-0.7.0-wx4fgtnt.mjs +1 -0
  274. package/dist/chunks/doctor-0.7.0-dzm456q1.mjs +1 -0
  275. package/dist/chunks/doctorDiagnostic-0.7.0-jysj36mx.mjs +1 -0
  276. package/dist/chunks/earlyInput-0.7.0-31tzwhjp.mjs +1 -0
  277. package/dist/chunks/effort-0.7.0-w94qsmp1.mjs +10 -0
  278. package/dist/chunks/envLessBridgeConfig-0.7.0-2vzfvw7j.mjs +1 -0
  279. package/dist/chunks/envUtils-0.7.0-wak5qkkv.mjs +1 -0
  280. package/dist/chunks/environmentSelection-0.7.0-xe6h6x4v.mjs +1 -0
  281. package/dist/chunks/environments-0.7.0-cdxqsbrp.mjs +1 -0
  282. package/dist/chunks/errors-0.7.0-hrt3tamp.mjs +1 -0
  283. package/dist/chunks/exampleCommands-0.7.0-v49vtt40.mjs +1 -0
  284. package/dist/chunks/exit-0.7.0-xpc13d1z.mjs +1 -0
  285. package/dist/chunks/explorer-0.7.0-yy3jawy1.mjs +1 -0
  286. package/dist/chunks/export-0.7.0-689scwyv.mjs +2 -0
  287. package/dist/chunks/extra-usage-0.7.0-675a7x8f.mjs +1 -0
  288. package/dist/chunks/extra-usage-noninteractive-0.7.0-2h542mq6.mjs +1 -0
  289. package/dist/chunks/fast-0.7.0-dwxy8xan.mjs +1 -0
  290. package/dist/chunks/feedback-0.7.0-kms98grz.mjs +14 -0
  291. package/dist/chunks/firstPartyEventLogger-0.7.0-5gy0hbjg.mjs +1 -0
  292. package/dist/chunks/git-0.7.0-bsn50mym.mjs +1 -0
  293. package/dist/chunks/githubModelsCredentials-0.7.0-f9n1jk8g.mjs +1 -0
  294. package/dist/chunks/goal-0.7.0-ben8pbys.mjs +4 -0
  295. package/dist/chunks/grove-0.7.0-5vca5g43.mjs +1 -0
  296. package/dist/chunks/growthbook-0.7.0-ged09pjv.mjs +1 -0
  297. package/dist/chunks/headless-0.7.0-6gxn4ya0.mjs +2 -0
  298. package/dist/chunks/heapdump-0.7.0-jbnb1enq.mjs +6 -0
  299. package/dist/chunks/help-0.7.0-s11djcbq.mjs +1 -0
  300. package/dist/chunks/hookChains-0.7.0-q104805z.mjs +3 -0
  301. package/dist/chunks/hooks-0.7.0-3tzcnyt1.mjs +1 -0
  302. package/dist/chunks/hooks-0.7.0-m0qzy27a.mjs +79 -0
  303. package/dist/chunks/ide-0.7.0-rqh7pczf.mjs +3 -0
  304. package/dist/chunks/image-processor-napi-0.7.0-t874vmrb.mjs +1 -0
  305. package/dist/chunks/inboundAttachments-0.7.0-9h4k1v8p.mjs +1 -0
  306. package/dist/chunks/index-0.7.0-0pb4fykd.mjs +1 -0
  307. package/dist/chunks/index-0.7.0-339ebzg3.mjs +1 -0
  308. package/dist/chunks/index-0.7.0-3qc9y7vs.mjs +1 -0
  309. package/dist/chunks/index-0.7.0-8xaka5b5.mjs +1 -0
  310. package/dist/chunks/index-0.7.0-aghbrz36.mjs +1 -0
  311. package/dist/chunks/index-0.7.0-asx0vcnp.mjs +1 -0
  312. package/dist/chunks/index-0.7.0-at8f760s.mjs +2 -0
  313. package/dist/chunks/index-0.7.0-aw15r8m5.mjs +1 -0
  314. package/dist/chunks/index-0.7.0-b95077ct.mjs +1 -0
  315. package/dist/chunks/index-0.7.0-etmdkstm.mjs +1 -0
  316. package/dist/chunks/index-0.7.0-fhnz63fp.mjs +1 -0
  317. package/dist/chunks/index-0.7.0-fx8935ev.mjs +5 -0
  318. package/dist/chunks/index-0.7.0-hwyk7tea.mjs +30 -0
  319. package/dist/chunks/index-0.7.0-nb6m1jch.mjs +1 -0
  320. package/dist/chunks/index-0.7.0-p4n8wp5y.mjs +9 -0
  321. package/dist/chunks/index-0.7.0-rbb0bwpy.mjs +1 -0
  322. package/dist/chunks/index-0.7.0-rq05kg71.mjs +17 -0
  323. package/dist/chunks/index-0.7.0-vk7vxjae.mjs +1 -0
  324. package/dist/chunks/index-0.7.0-wjsr1d6k.mjs +2 -0
  325. package/dist/chunks/index-0.7.0-x03pfhyx.mjs +9 -0
  326. package/dist/chunks/index-0.7.0-y22a1z29.mjs +1 -0
  327. package/dist/chunks/index-0.7.0-yx3335f1.mjs +1 -0
  328. package/dist/chunks/index-0.7.0-zsw19y1x.mjs +1 -0
  329. package/dist/chunks/init-0.7.0-f0taef1q.mjs +1 -0
  330. package/dist/chunks/initReplBridge-0.7.0-wcvxy8w8.mjs +1 -0
  331. package/dist/chunks/ink-0.7.0-xpha78d8.mjs +1 -0
  332. package/dist/chunks/insights-0.7.0-x0rwvydg.mjs +870 -0
  333. package/dist/chunks/install-0.7.0-ncp2pec7.mjs +1 -0
  334. package/dist/chunks/install-github-app-0.7.0-trt9558z.mjs +149 -0
  335. package/dist/chunks/install-slack-app-0.7.0-kjz97cdh.mjs +1 -0
  336. package/dist/chunks/instrumentation-0.7.0-bey09njh.mjs +1 -0
  337. package/dist/chunks/interactiveHelpers-0.7.0-1qs1kree.mjs +1 -0
  338. package/dist/chunks/keybindings-0.7.0-ekf19qhh.mjs +2 -0
  339. package/dist/chunks/knowledge-0.7.0-adck5x26.mjs +2 -0
  340. package/dist/chunks/latestVersionCache-0.7.0-ark5pmnp.mjs +1 -0
  341. package/dist/chunks/loadAgentsDir-0.7.0-5ae7wa3t.mjs +1 -0
  342. package/dist/chunks/loadPluginHooks-0.7.0-vhwhvb6f.mjs +1 -0
  343. package/dist/chunks/loadPluginHooks-0.7.0-xb4qdrg0.mjs +1 -0
  344. package/dist/chunks/log-0.7.0-6mtk9ch7.mjs +1 -0
  345. package/dist/chunks/main-0.7.0-v0y4hrdm.mjs +1 -0
  346. package/dist/chunks/managedEnv-0.7.0-n64hpsst.mjs +1 -0
  347. package/dist/chunks/mcp-0.7.0-2j3bkwz5.mjs +1 -0
  348. package/dist/chunks/mcp-0.7.0-rqwvyycg.mjs +4 -0
  349. package/dist/chunks/mcp-0.7.0-t0pqt6hy.mjs +17 -0
  350. package/dist/chunks/mcpb-0.7.0-wmg0861b.mjs +1 -0
  351. package/dist/chunks/memory-0.7.0-gfe3p8h2.mjs +3 -0
  352. package/dist/chunks/model-0.7.0-anb8mgtp.mjs +2 -0
  353. package/dist/chunks/model-0.7.0-jxz0n7g1.mjs +1 -0
  354. package/dist/chunks/node-0.7.0-4sagcnk2.mjs +12 -0
  355. package/dist/chunks/oauth-0.7.0-n3tj8amn.mjs +1 -0
  356. package/dist/chunks/openaiShim-0.7.0-9bq5572t.mjs +14 -0
  357. package/dist/chunks/output-style-0.7.0-wmxwqrx6.mjs +1 -0
  358. package/dist/chunks/package-GCDC7LJR-0.7.0-fke68t3z.mjs +1 -0
  359. package/dist/chunks/parseConnectUrl-0.7.0-p5aq0xy4.mjs +1 -0
  360. package/dist/chunks/parser-0.7.0-a4qhvrn9.mjs +1 -0
  361. package/dist/chunks/passes-0.7.0-4wxjh63r.mjs +1 -0
  362. package/dist/chunks/permissions-0.7.0-cth9pb19.mjs +3 -0
  363. package/dist/chunks/permissions-0.7.0-nxre3gew.mjs +1 -0
  364. package/dist/chunks/plan-0.7.0-0t3hxxwf.mjs +1 -0
  365. package/dist/chunks/plist-0.7.0-ptbkp7b8.mjs +1 -0
  366. package/dist/chunks/plugin-0.7.0-4zewdh7s.mjs +29 -0
  367. package/dist/chunks/pluginStartupCheck-0.7.0-3zvpdbjz.mjs +1 -0
  368. package/dist/chunks/plugins-0.7.0-dyrrfzzb.mjs +9 -0
  369. package/dist/chunks/preActionHook-0.7.0-agzbsqyv.mjs +2 -0
  370. package/dist/chunks/print-0.7.0-m81z10rw.mjs +57 -0
  371. package/dist/chunks/privacy-settings-0.7.0-qvrhcvbv.mjs +1 -0
  372. package/dist/chunks/process-0.7.0-4rnq2g80.mjs +1 -0
  373. package/dist/chunks/processBashCommand-0.7.0-htmch7xm.mjs +1 -0
  374. package/dist/chunks/processSlashCommand-0.7.0-gj7mbd0a.mjs +9 -0
  375. package/dist/chunks/prompt-0.7.0-2d4qsrq9.mjs +1 -0
  376. package/dist/chunks/prompt-0.7.0-rkefqrwh.mjs +1 -0
  377. package/dist/chunks/prompts-0.7.0-ty3k4n75.mjs +1 -0
  378. package/dist/chunks/protocolHandler-0.7.0-aqsa4ph2.mjs +13 -0
  379. package/dist/chunks/provider-0.7.0-yw5h323y.mjs +2 -0
  380. package/dist/chunks/providerProfiles-0.7.0-vdm0m870.mjs +1 -0
  381. package/dist/chunks/providerValidation-0.7.0-rtzpgzra.mjs +6 -0
  382. package/dist/chunks/rate-limit-options-0.7.0-dqtjdpft.mjs +1 -0
  383. package/dist/chunks/registerSubcommands-0.7.0-r5wmbkz9.mjs +34 -0
  384. package/dist/chunks/registry-0.7.0-jjaxz6ve.mjs +1 -0
  385. package/dist/chunks/release-notes-0.7.0-h6me5mww.mjs +5 -0
  386. package/dist/chunks/reload-plugins-0.7.0-vtr0cnwe.mjs +2 -0
  387. package/dist/chunks/remote-env-0.7.0-h013vass.mjs +1 -0
  388. package/dist/chunks/remoteBridgeCore-0.7.0-fmh34c6f.mjs +1 -0
  389. package/dist/chunks/remoteSession-0.7.0-40yqbh78.mjs +1 -0
  390. package/dist/chunks/rename-0.7.0-wqs6kjb7.mjs +1 -0
  391. package/dist/chunks/replBridgeHandle-0.7.0-d192ahyh.mjs +1 -0
  392. package/dist/chunks/replLauncher-0.7.0-gtmcyxgm.mjs +1 -0
  393. package/dist/chunks/resume-0.7.0-6cy3j2e8.mjs +2 -0
  394. package/dist/chunks/rewind-0.7.0-kepxqnvs.mjs +1 -0
  395. package/dist/chunks/rootOptions-0.7.0-00ekm71j.mjs +1 -0
  396. package/dist/chunks/sandbox-adapter-0.7.0-env8r2gg.mjs +1 -0
  397. package/dist/chunks/sandbox-toggle-0.7.0-wk296sbw.mjs +1 -0
  398. package/dist/chunks/session-0.7.0-qbmq7k37.mjs +2 -0
  399. package/dist/chunks/sessionDiscovery-0.7.0-xf03hmpk.mjs +1 -0
  400. package/dist/chunks/sessionFileAccessHooks-0.7.0-gw8qw3zp.mjs +1 -0
  401. package/dist/chunks/sessionStorage-0.7.0-vcyz3dw7.mjs +1 -0
  402. package/dist/chunks/settings-0.7.0-3k9dr8ys.mjs +1 -0
  403. package/dist/chunks/setup-0.7.0-9ync2tk7.mjs +5 -0
  404. package/dist/chunks/sinks-0.7.0-g1bwkwh0.mjs +1 -0
  405. package/dist/chunks/skills-0.7.0-hjdx42cr.mjs +1 -0
  406. package/dist/chunks/startupProfiler-0.7.0-b32wtvbf.mjs +1 -0
  407. package/dist/chunks/startupUpdateCheck-0.7.0-m55han8a.mjs +1 -0
  408. package/dist/chunks/state-0.7.0-g9nbt1zn.mjs +1 -0
  409. package/dist/chunks/stats-0.7.0-429ntw0k.mjs +6 -0
  410. package/dist/chunks/status-0.7.0-h19n5a31.mjs +1 -0
  411. package/dist/chunks/stickers-0.7.0-q34hs61c.mjs +1 -0
  412. package/dist/chunks/subprocessEnv-0.7.0-gz4xjdce.mjs +1 -0
  413. package/dist/chunks/tasks-0.7.0-e2rrgr6x.mjs +1 -0
  414. package/dist/chunks/teamHelpers-0.7.0-jss9q0ak.mjs +1 -0
  415. package/dist/chunks/teammateModeSnapshot-0.7.0-c7ekrdae.mjs +1 -0
  416. package/dist/chunks/teleport-0.7.0-n0h6pqs8.mjs +1 -0
  417. package/dist/chunks/terminalSetup-0.7.0-ycw8nd2k.mjs +1 -0
  418. package/dist/chunks/theme-0.7.0-2dzcdk7a.mjs +1 -0
  419. package/dist/chunks/thinkback-0.7.0-9xhfd6ab.mjs +1 -0
  420. package/dist/chunks/thinkback-play-0.7.0-yqj7b8tt.mjs +1 -0
  421. package/dist/chunks/toolPool-0.7.0-xes3fby4.mjs +1 -0
  422. package/dist/chunks/toolSearch-0.7.0-wkaae53k.mjs +1 -0
  423. package/dist/chunks/tools-0.7.0-7qjq03x9.mjs +1 -0
  424. package/dist/chunks/trustedDevice-0.7.0-0jcs8sag.mjs +1 -0
  425. package/dist/chunks/turndown.cjs-0.7.0-evvr9k3e.mjs +69 -0
  426. package/dist/chunks/types-0.7.0-7t30qdm7.mjs +1 -0
  427. package/dist/chunks/ultrareviewCommand-0.7.0-mt2gyqrs.mjs +4 -0
  428. package/dist/chunks/update-0.7.0-d79xsjyx.mjs +86 -0
  429. package/dist/chunks/upgrade-0.7.0-29j99fm4.mjs +1 -0
  430. package/dist/chunks/upload-0.7.0-c88xwfr6.mjs +7 -0
  431. package/dist/chunks/upstreamproxy-0.7.0-qha2t9zm.mjs +14 -0
  432. package/dist/chunks/url-handler-napi-0.7.0-d2khwe8w.mjs +1 -0
  433. package/dist/chunks/usage-0.7.0-fz211dwp.mjs +1 -0
  434. package/dist/chunks/util-0.7.0-kre9h9qa.mjs +1 -0
  435. package/dist/chunks/utils-0.7.0-vw4eq452.mjs +1 -0
  436. package/dist/chunks/vim-0.7.0-2tzpxf7d.mjs +1 -0
  437. package/dist/chunks/watcher-0.7.0-dbb0csvt.mjs +1 -0
  438. package/dist/chunks/wiki-0.7.0-etkhyz2p.mjs +132 -0
  439. package/dist/chunks/worktree-0.7.0-ntn0xdnq.mjs +1 -0
  440. package/dist/chunks/worktreeModeEnabled-0.7.0-h5ak3bk5.mjs +1 -0
  441. package/dist/chunks/wrapper-0.7.0-zvn0r75t.mjs +7 -0
  442. package/dist/claudin-vscode.vsix +0 -0
  443. package/dist/cli.mjs +2 -2
  444. package/package.json +14 -14
  445. package/dist/chunks/AgentTool-0.6.13-372t6jvm.mjs +0 -1
  446. package/dist/chunks/App-0.6.13-qvfyfba9.mjs +0 -1
  447. package/dist/chunks/ApproveApiKey-0.6.13-6nmfyyev.mjs +0 -1
  448. package/dist/chunks/AssistantSessionChooser-0.6.13-b6yfhres.mjs +0 -1
  449. package/dist/chunks/AutoModeOptInDialog-0.6.13-dyqtw95c.mjs +0 -1
  450. package/dist/chunks/BypassPermissionsModeDialog-0.6.13-5pgva0rj.mjs +0 -1
  451. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.13-waw1tn55.mjs +0 -1
  452. package/dist/chunks/ConsoleOAuthFlow-0.6.13-hjwa1fbn.mjs +0 -1
  453. package/dist/chunks/DiffDialog-0.6.13-dk52swdy.mjs +0 -7
  454. package/dist/chunks/Doctor-0.6.13-1a58bmer.mjs +0 -1
  455. package/dist/chunks/ExplorerDialog-0.6.13-2jsr1kdp.mjs +0 -6
  456. package/dist/chunks/Grove-0.6.13-ndwmcy2m.mjs +0 -1
  457. package/dist/chunks/ITermBackend-0.6.13-nf00ba9t.mjs +0 -1
  458. package/dist/chunks/InvalidConfigDialog-0.6.13-5tjcywmj.mjs +0 -1
  459. package/dist/chunks/InvalidSettingsDialog-0.6.13-hfvttszy.mjs +0 -1
  460. package/dist/chunks/MigrationDialog-0.6.13-8kny4cnv.mjs +0 -1
  461. package/dist/chunks/Onboarding-0.6.13-kq8ksp1e.mjs +0 -1
  462. package/dist/chunks/ProviderManager-0.6.13-qk3hqkes.mjs +0 -1
  463. package/dist/chunks/REPL-0.6.13-61en5qve.mjs +0 -1
  464. package/dist/chunks/ResumeConversation-0.6.13-3fqxexjm.mjs +0 -1
  465. package/dist/chunks/SnapshotUpdateDialog-0.6.13-62cd6tth.mjs +0 -1
  466. package/dist/chunks/TeleportProgress-0.6.13-15xb363h.mjs +0 -1
  467. package/dist/chunks/TeleportRepoMismatchDialog-0.6.13-dsedgexe.mjs +0 -1
  468. package/dist/chunks/TeleportResumeWrapper-0.6.13-9j8hn55r.mjs +0 -1
  469. package/dist/chunks/TmuxBackend-0.6.13-8vwnn7q5.mjs +0 -9
  470. package/dist/chunks/ToolSearchTool-0.6.13-zh1xxj19.mjs +0 -1
  471. package/dist/chunks/TrustDialog-0.6.13-bxhrfq4g.mjs +0 -1
  472. package/dist/chunks/activeProvider-0.6.13-czzs1epn.mjs +0 -1
  473. package/dist/chunks/add-dir-0.6.13-j5n5k274.mjs +0 -1
  474. package/dist/chunks/agents-0.6.13-0m0b4n5a.mjs +0 -3
  475. package/dist/chunks/agents-0.6.13-v7mba2z1.mjs +0 -110
  476. package/dist/chunks/api-0.6.13-1s3mg09p.mjs +0 -1
  477. package/dist/chunks/asciicast-0.6.13-3mbwg05w.mjs +0 -1
  478. package/dist/chunks/assistant-0.6.13-bg17bbaf.mjs +0 -1
  479. package/dist/chunks/auth-0.6.13-586trvnj.mjs +0 -1
  480. package/dist/chunks/auth-0.6.13-jkzs3jr4.mjs +0 -1
  481. package/dist/chunks/autoMode-0.6.13-9sxgpw8z.mjs +0 -48
  482. package/dist/chunks/autoUpdater-0.6.13-0rtsfmyq.mjs +0 -1
  483. package/dist/chunks/backgroundHousekeeping-0.6.13-dfn3gpk2.mjs +0 -1
  484. package/dist/chunks/branch-0.6.13-nncg27cq.mjs +0 -4
  485. package/dist/chunks/bridge-0.6.13-p1vtbdeq.mjs +0 -2
  486. package/dist/chunks/bridgeConfig-0.6.13-99p1h4gg.mjs +0 -1
  487. package/dist/chunks/bridgeEnabled-0.6.13-jxfgwjry.mjs +0 -1
  488. package/dist/chunks/bridgeMain-0.6.13-fthkw7s3.mjs +0 -88
  489. package/dist/chunks/bridgePointer-0.6.13-zs37h6xx.mjs +0 -1
  490. package/dist/chunks/btw-0.6.13-hhztcxbv.mjs +0 -1
  491. package/dist/chunks/buddy-0.6.13-0j9feqm5.mjs +0 -3
  492. package/dist/chunks/cacache-0.6.13-kqpn2432.mjs +0 -1
  493. package/dist/chunks/cache-probe-0.6.13-d98620ds.mjs +0 -21
  494. package/dist/chunks/cacheStats-0.6.13-yktwg0rm.mjs +0 -4
  495. package/dist/chunks/caches-0.6.13-5s0az6ex.mjs +0 -1
  496. package/dist/chunks/claudeDesktop-0.6.13-ecqnvr2j.mjs +0 -1
  497. package/dist/chunks/claudemd-0.6.13-yae0af2s.mjs +0 -1
  498. package/dist/chunks/clear-0.6.13-nqy8a9yn.mjs +0 -1
  499. package/dist/chunks/clearTerminal-0.6.13-72xf6n5m.mjs +0 -1
  500. package/dist/chunks/cli-0.6.13-004msxtb.mjs +0 -2
  501. package/dist/chunks/cli-0.6.13-03nk0m3d.mjs +0 -24
  502. package/dist/chunks/cli-0.6.13-05yxsqtw.mjs +0 -2
  503. package/dist/chunks/cli-0.6.13-0602v59h.mjs +0 -2
  504. package/dist/chunks/cli-0.6.13-0fqa9efa.mjs +0 -2
  505. package/dist/chunks/cli-0.6.13-0k53jyws.mjs +0 -2
  506. package/dist/chunks/cli-0.6.13-0q2ceerc.mjs +0 -2
  507. package/dist/chunks/cli-0.6.13-0xg54q0q.mjs +0 -3
  508. package/dist/chunks/cli-0.6.13-15925v1q.mjs +0 -2
  509. package/dist/chunks/cli-0.6.13-17fmkp6v.mjs +0 -3
  510. package/dist/chunks/cli-0.6.13-1ax2v1qb.mjs +0 -24
  511. package/dist/chunks/cli-0.6.13-1hj4de9z.mjs +0 -18
  512. package/dist/chunks/cli-0.6.13-1jhzkjnr.mjs +0 -2
  513. package/dist/chunks/cli-0.6.13-1pb6yp4f.mjs +0 -2
  514. package/dist/chunks/cli-0.6.13-27ey3345.mjs +0 -17
  515. package/dist/chunks/cli-0.6.13-2999v1f0.mjs +0 -5
  516. package/dist/chunks/cli-0.6.13-2d7gmnka.mjs +0 -2
  517. package/dist/chunks/cli-0.6.13-2k50jqzf.mjs +0 -2
  518. package/dist/chunks/cli-0.6.13-2s33ahe4.mjs +0 -5420
  519. package/dist/chunks/cli-0.6.13-31zhsxsz.mjs +0 -2
  520. package/dist/chunks/cli-0.6.13-35rszksn.mjs +0 -2
  521. package/dist/chunks/cli-0.6.13-3812a7q8.mjs +0 -34
  522. package/dist/chunks/cli-0.6.13-3c8w16xp.mjs +0 -3
  523. package/dist/chunks/cli-0.6.13-3w1r3c0v.mjs +0 -2
  524. package/dist/chunks/cli-0.6.13-45x35nyh.mjs +0 -2
  525. package/dist/chunks/cli-0.6.13-46hqxeb7.mjs +0 -2
  526. package/dist/chunks/cli-0.6.13-4hknb5dd.mjs +0 -2
  527. package/dist/chunks/cli-0.6.13-50wr9g3w.mjs +0 -2
  528. package/dist/chunks/cli-0.6.13-56b3061c.mjs +0 -18
  529. package/dist/chunks/cli-0.6.13-56j5q7d2.mjs +0 -42
  530. package/dist/chunks/cli-0.6.13-5gh7ptbm.mjs +0 -4
  531. package/dist/chunks/cli-0.6.13-5qvssn7h.mjs +0 -2
  532. package/dist/chunks/cli-0.6.13-5t9gd5mv.mjs +0 -2
  533. package/dist/chunks/cli-0.6.13-643zsnv9.mjs +0 -2
  534. package/dist/chunks/cli-0.6.13-667dsr1w.mjs +0 -2
  535. package/dist/chunks/cli-0.6.13-77hs0qtg.mjs +0 -2
  536. package/dist/chunks/cli-0.6.13-79mne5jt.mjs +0 -2
  537. package/dist/chunks/cli-0.6.13-7c9n56f7.mjs +0 -2
  538. package/dist/chunks/cli-0.6.13-7ga8d4j1.mjs +0 -2
  539. package/dist/chunks/cli-0.6.13-7pva2mmr.mjs +0 -3
  540. package/dist/chunks/cli-0.6.13-7vd0kdw5.mjs +0 -2
  541. package/dist/chunks/cli-0.6.13-82datd4w.mjs +0 -2
  542. package/dist/chunks/cli-0.6.13-86pqnjyd.mjs +0 -2
  543. package/dist/chunks/cli-0.6.13-881js45c.mjs +0 -2
  544. package/dist/chunks/cli-0.6.13-8t0ttrk7.mjs +0 -2
  545. package/dist/chunks/cli-0.6.13-8ws8a2xy.mjs +0 -3
  546. package/dist/chunks/cli-0.6.13-949racwr.mjs +0 -7
  547. package/dist/chunks/cli-0.6.13-94nwan0d.mjs +0 -2
  548. package/dist/chunks/cli-0.6.13-97cs7c2r.mjs +0 -2
  549. package/dist/chunks/cli-0.6.13-9h9fp7zs.mjs +0 -2
  550. package/dist/chunks/cli-0.6.13-9wktvaax.mjs +0 -50
  551. package/dist/chunks/cli-0.6.13-ac8nyfp1.mjs +0 -58
  552. package/dist/chunks/cli-0.6.13-aekttw5a.mjs +0 -2
  553. package/dist/chunks/cli-0.6.13-ajc8203j.mjs +0 -2
  554. package/dist/chunks/cli-0.6.13-axsf5w7q.mjs +0 -2
  555. package/dist/chunks/cli-0.6.13-aztg2ca1.mjs +0 -2
  556. package/dist/chunks/cli-0.6.13-b3zncvcq.mjs +0 -16
  557. package/dist/chunks/cli-0.6.13-b55baxv4.mjs +0 -2
  558. package/dist/chunks/cli-0.6.13-bthkgbv5.mjs +0 -2
  559. package/dist/chunks/cli-0.6.13-c3452432.mjs +0 -5
  560. package/dist/chunks/cli-0.6.13-cc118njq.mjs +0 -2
  561. package/dist/chunks/cli-0.6.13-cc2eb8bm.mjs +0 -2
  562. package/dist/chunks/cli-0.6.13-cwm0q4km.mjs +0 -2
  563. package/dist/chunks/cli-0.6.13-cxnnt8b1.mjs +0 -2
  564. package/dist/chunks/cli-0.6.13-d2rfg5mp.mjs +0 -2
  565. package/dist/chunks/cli-0.6.13-da6fhpes.mjs +0 -133
  566. package/dist/chunks/cli-0.6.13-dada1afp.mjs +0 -6
  567. package/dist/chunks/cli-0.6.13-dayy1aa4.mjs +0 -2
  568. package/dist/chunks/cli-0.6.13-dh1skxhh.mjs +0 -2
  569. package/dist/chunks/cli-0.6.13-dvfmqzm9.mjs +0 -2
  570. package/dist/chunks/cli-0.6.13-e1t2dda2.mjs +0 -2
  571. package/dist/chunks/cli-0.6.13-ea52zrzt.mjs +0 -2
  572. package/dist/chunks/cli-0.6.13-eaev9cr7.mjs +0 -2
  573. package/dist/chunks/cli-0.6.13-erzcm5hv.mjs +0 -2
  574. package/dist/chunks/cli-0.6.13-esv4y00y.mjs +0 -2
  575. package/dist/chunks/cli-0.6.13-etytm730.mjs +0 -2
  576. package/dist/chunks/cli-0.6.13-ew05qjsa.mjs +0 -4
  577. package/dist/chunks/cli-0.6.13-f58v0vk7.mjs +0 -6
  578. package/dist/chunks/cli-0.6.13-f67v536f.mjs +0 -59
  579. package/dist/chunks/cli-0.6.13-f6qwz2h0.mjs +0 -2
  580. package/dist/chunks/cli-0.6.13-fkaxh655.mjs +0 -2
  581. package/dist/chunks/cli-0.6.13-fspszw8w.mjs +0 -2
  582. package/dist/chunks/cli-0.6.13-fw6m0fbm.mjs +0 -10
  583. package/dist/chunks/cli-0.6.13-fxj1zytn.mjs +0 -2
  584. package/dist/chunks/cli-0.6.13-fy3vgkpz.mjs +0 -2
  585. package/dist/chunks/cli-0.6.13-fzzdrhms.mjs +0 -4
  586. package/dist/chunks/cli-0.6.13-g65dfg11.mjs +0 -6
  587. package/dist/chunks/cli-0.6.13-gkfcc3c2.mjs +0 -2
  588. package/dist/chunks/cli-0.6.13-gpb93cvz.mjs +0 -2
  589. package/dist/chunks/cli-0.6.13-grrshx1z.mjs +0 -2
  590. package/dist/chunks/cli-0.6.13-gsfs6kre.mjs +0 -2
  591. package/dist/chunks/cli-0.6.13-gyq9mepg.mjs +0 -2
  592. package/dist/chunks/cli-0.6.13-h3ymv3nd.mjs +0 -2
  593. package/dist/chunks/cli-0.6.13-h5dej6se.mjs +0 -3
  594. package/dist/chunks/cli-0.6.13-hd0sd535.mjs +0 -193
  595. package/dist/chunks/cli-0.6.13-hp0r1ftj.mjs +0 -12
  596. package/dist/chunks/cli-0.6.13-hx71w6e6.mjs +0 -3
  597. package/dist/chunks/cli-0.6.13-hxfvksxq.mjs +0 -2
  598. package/dist/chunks/cli-0.6.13-j6mr3jmk.mjs +0 -4
  599. package/dist/chunks/cli-0.6.13-jhhmjq66.mjs +0 -133
  600. package/dist/chunks/cli-0.6.13-jjx7jq0w.mjs +0 -2
  601. package/dist/chunks/cli-0.6.13-jmzvtd06.mjs +0 -2
  602. package/dist/chunks/cli-0.6.13-jrdsk8wb.mjs +0 -3
  603. package/dist/chunks/cli-0.6.13-k0kyv254.mjs +0 -2
  604. package/dist/chunks/cli-0.6.13-kd5h1s1s.mjs +0 -2
  605. package/dist/chunks/cli-0.6.13-kdm4832x.mjs +0 -2
  606. package/dist/chunks/cli-0.6.13-kekrwb08.mjs +0 -45
  607. package/dist/chunks/cli-0.6.13-kmg491hy.mjs +0 -2
  608. package/dist/chunks/cli-0.6.13-kqq5n5q3.mjs +0 -12
  609. package/dist/chunks/cli-0.6.13-kxjmrbfd.mjs +0 -3
  610. package/dist/chunks/cli-0.6.13-m4pb5k9v.mjs +0 -2
  611. package/dist/chunks/cli-0.6.13-me17wefv.mjs +0 -2
  612. package/dist/chunks/cli-0.6.13-mreqrsw2.mjs +0 -2
  613. package/dist/chunks/cli-0.6.13-mt7jkjdp.mjs +0 -39
  614. package/dist/chunks/cli-0.6.13-mxr0y1kd.mjs +0 -2
  615. package/dist/chunks/cli-0.6.13-n4qwe0a1.mjs +0 -2
  616. package/dist/chunks/cli-0.6.13-n67mrj2g.mjs +0 -15
  617. package/dist/chunks/cli-0.6.13-n9fz7y3a.mjs +0 -4
  618. package/dist/chunks/cli-0.6.13-nqd696hv.mjs +0 -2
  619. package/dist/chunks/cli-0.6.13-nvcr131g.mjs +0 -4
  620. package/dist/chunks/cli-0.6.13-p02kfjzd.mjs +0 -8
  621. package/dist/chunks/cli-0.6.13-p2k33k0d.mjs +0 -2
  622. package/dist/chunks/cli-0.6.13-p5xafpx4.mjs +0 -3
  623. package/dist/chunks/cli-0.6.13-pa4yv2ra.mjs +0 -2
  624. package/dist/chunks/cli-0.6.13-pbk4h5n3.mjs +0 -3
  625. package/dist/chunks/cli-0.6.13-pezf5r7h.mjs +0 -2
  626. package/dist/chunks/cli-0.6.13-pmwrb4jf.mjs +0 -2
  627. package/dist/chunks/cli-0.6.13-prh9py3z.mjs +0 -2
  628. package/dist/chunks/cli-0.6.13-pyh5s43x.mjs +0 -2
  629. package/dist/chunks/cli-0.6.13-q161snt1.mjs +0 -2
  630. package/dist/chunks/cli-0.6.13-q2ssb82w.mjs +0 -2
  631. package/dist/chunks/cli-0.6.13-q4spcjyn.mjs +0 -2
  632. package/dist/chunks/cli-0.6.13-q8qzja14.mjs +0 -2
  633. package/dist/chunks/cli-0.6.13-qbn7xx3z.mjs +0 -2
  634. package/dist/chunks/cli-0.6.13-qemvn3t7.mjs +0 -4
  635. package/dist/chunks/cli-0.6.13-qfh8s56n.mjs +0 -2
  636. package/dist/chunks/cli-0.6.13-qj9zpvjy.mjs +0 -2
  637. package/dist/chunks/cli-0.6.13-qtea9rcg.mjs +0 -2
  638. package/dist/chunks/cli-0.6.13-qyd73z97.mjs +0 -2
  639. package/dist/chunks/cli-0.6.13-r043ksv1.mjs +0 -1
  640. package/dist/chunks/cli-0.6.13-r1exgbp8.mjs +0 -4
  641. package/dist/chunks/cli-0.6.13-r2w3m6g9.mjs +0 -2
  642. package/dist/chunks/cli-0.6.13-r4z5mchw.mjs +0 -2
  643. package/dist/chunks/cli-0.6.13-r7gkf1df.mjs +0 -2
  644. package/dist/chunks/cli-0.6.13-rkm2drsy.mjs +0 -6
  645. package/dist/chunks/cli-0.6.13-s2vxndky.mjs +0 -2
  646. package/dist/chunks/cli-0.6.13-s3r638fw.mjs +0 -2
  647. package/dist/chunks/cli-0.6.13-s9rv2pr3.mjs +0 -4
  648. package/dist/chunks/cli-0.6.13-sa8gmxxv.mjs +0 -3
  649. package/dist/chunks/cli-0.6.13-t5bkdhfz.mjs +0 -2
  650. package/dist/chunks/cli-0.6.13-tbg0cceg.mjs +0 -15
  651. package/dist/chunks/cli-0.6.13-tecj2x0d.mjs +0 -2
  652. package/dist/chunks/cli-0.6.13-tfaydn5r.mjs +0 -2
  653. package/dist/chunks/cli-0.6.13-tj2kvtza.mjs +0 -2
  654. package/dist/chunks/cli-0.6.13-tss2yk53.mjs +0 -2
  655. package/dist/chunks/cli-0.6.13-tvy6tmhe.mjs +0 -2
  656. package/dist/chunks/cli-0.6.13-tyd40vcz.mjs +0 -2
  657. package/dist/chunks/cli-0.6.13-tzsj5e1c.mjs +0 -17
  658. package/dist/chunks/cli-0.6.13-v05nfcar.mjs +0 -2
  659. package/dist/chunks/cli-0.6.13-v160yjcc.mjs +0 -2
  660. package/dist/chunks/cli-0.6.13-v2vt3snq.mjs +0 -2
  661. package/dist/chunks/cli-0.6.13-v7kg9gbp.mjs +0 -2
  662. package/dist/chunks/cli-0.6.13-v824ppa4.mjs +0 -3
  663. package/dist/chunks/cli-0.6.13-v83qp6b0.mjs +0 -2
  664. package/dist/chunks/cli-0.6.13-v8ksdm64.mjs +0 -2
  665. package/dist/chunks/cli-0.6.13-vkbwqnxx.mjs +0 -2
  666. package/dist/chunks/cli-0.6.13-vv2qqj0d.mjs +0 -2
  667. package/dist/chunks/cli-0.6.13-vxq8z40t.mjs +0 -2
  668. package/dist/chunks/cli-0.6.13-w039mymy.mjs +0 -2
  669. package/dist/chunks/cli-0.6.13-w0qrn825.mjs +0 -2
  670. package/dist/chunks/cli-0.6.13-w1jqswyq.mjs +0 -2
  671. package/dist/chunks/cli-0.6.13-w91d8mwx.mjs +0 -2
  672. package/dist/chunks/cli-0.6.13-waf5mvv3.mjs +0 -5
  673. package/dist/chunks/cli-0.6.13-wer1zp9j.mjs +0 -20
  674. package/dist/chunks/cli-0.6.13-wtc8585b.mjs +0 -2
  675. package/dist/chunks/cli-0.6.13-x28t8s6n.mjs +0 -2
  676. package/dist/chunks/cli-0.6.13-xc81kqm2.mjs +0 -2
  677. package/dist/chunks/cli-0.6.13-xdedyafk.mjs +0 -12
  678. package/dist/chunks/cli-0.6.13-xf37gba3.mjs +0 -21
  679. package/dist/chunks/cli-0.6.13-xkw3qe38.mjs +0 -2
  680. package/dist/chunks/cli-0.6.13-xpjrhgmy.mjs +0 -2
  681. package/dist/chunks/cli-0.6.13-y1j0jnkt.mjs +0 -2
  682. package/dist/chunks/cli-0.6.13-y20earfr.mjs +0 -2
  683. package/dist/chunks/cli-0.6.13-y4v6kta5.mjs +0 -2
  684. package/dist/chunks/cli-0.6.13-y6xnb20z.mjs +0 -28
  685. package/dist/chunks/cli-0.6.13-y8bhbkcr.mjs +0 -2
  686. package/dist/chunks/cli-0.6.13-yamxpaqw.mjs +0 -67
  687. package/dist/chunks/cli-0.6.13-ykg1yrfj.mjs +0 -2
  688. package/dist/chunks/cli-0.6.13-yrjy4at4.mjs +0 -2
  689. package/dist/chunks/cli-0.6.13-ytn0a18c.mjs +0 -2
  690. package/dist/chunks/cli-0.6.13-ywdbvmgd.mjs +0 -2
  691. package/dist/chunks/cli-0.6.13-z8s5yfv6.mjs +0 -9
  692. package/dist/chunks/cli-0.6.13-zcy8dsbx.mjs +0 -25
  693. package/dist/chunks/cli-0.6.13-zd9jp62z.mjs +0 -15
  694. package/dist/chunks/cli-0.6.13-ze0ah657.mjs +0 -4
  695. package/dist/chunks/cli-0.6.13-zktd03aq.mjs +0 -2
  696. package/dist/chunks/cli-0.6.13-zw3t7bxg.mjs +0 -2
  697. package/dist/chunks/client-0.6.13-apag8p3w.mjs +0 -1
  698. package/dist/chunks/color-0.6.13-m7e3xes9.mjs +0 -1
  699. package/dist/chunks/compact-0.6.13-064k380y.mjs +0 -3
  700. package/dist/chunks/config-0.6.13-2gskfa7r.mjs +0 -1
  701. package/dist/chunks/config-0.6.13-m7tbch3j.mjs +0 -1
  702. package/dist/chunks/constants-0.6.13-bq183whd.mjs +0 -1
  703. package/dist/chunks/context-0.6.13-4jm66js8.mjs +0 -1
  704. package/dist/chunks/context-noninteractive-0.6.13-2c2pa7c4.mjs +0 -1
  705. package/dist/chunks/conversation-0.6.13-gb8qd0a6.mjs +0 -1
  706. package/dist/chunks/copilotHeaders-0.6.13-sdz00vtr.mjs +0 -1
  707. package/dist/chunks/copy-0.6.13-11ksdws3.mjs +0 -9
  708. package/dist/chunks/cost-0.6.13-ht9hjse5.mjs +0 -1
  709. package/dist/chunks/createSSHSession-0.6.13-9nj8wxrq.mjs +0 -1
  710. package/dist/chunks/createSession-0.6.13-zx0ak0ar.mjs +0 -1
  711. package/dist/chunks/debug-0.6.13-1b2b2vfp.mjs +0 -1
  712. package/dist/chunks/defaultActionDeps-0.6.13-4ypccnwe.mjs +0 -1367
  713. package/dist/chunks/desktop-0.6.13-5jae65dg.mjs +0 -1
  714. package/dist/chunks/detectRepository-0.6.13-e3va8684.mjs +0 -1
  715. package/dist/chunks/detection-0.6.13-5kdd4ryt.mjs +0 -1
  716. package/dist/chunks/diff-0.6.13-3qr723e3.mjs +0 -1
  717. package/dist/chunks/doctor-0.6.13-ykby6vex.mjs +0 -1
  718. package/dist/chunks/doctorDiagnostic-0.6.13-m5tnyxr2.mjs +0 -1
  719. package/dist/chunks/earlyInput-0.6.13-e90ax06h.mjs +0 -1
  720. package/dist/chunks/effort-0.6.13-tqkv5tt7.mjs +0 -10
  721. package/dist/chunks/envLessBridgeConfig-0.6.13-m8pp5emf.mjs +0 -1
  722. package/dist/chunks/envUtils-0.6.13-6q29pewb.mjs +0 -1
  723. package/dist/chunks/environmentSelection-0.6.13-ajfa3pm0.mjs +0 -1
  724. package/dist/chunks/environments-0.6.13-gpjjpygt.mjs +0 -1
  725. package/dist/chunks/errors-0.6.13-amqhpv1w.mjs +0 -1
  726. package/dist/chunks/exampleCommands-0.6.13-yscjfr02.mjs +0 -1
  727. package/dist/chunks/exit-0.6.13-aex1mh9r.mjs +0 -1
  728. package/dist/chunks/explorer-0.6.13-g670396m.mjs +0 -1
  729. package/dist/chunks/export-0.6.13-zytxcpn5.mjs +0 -2
  730. package/dist/chunks/extra-usage-0.6.13-js9s3mpg.mjs +0 -1
  731. package/dist/chunks/extra-usage-noninteractive-0.6.13-1y21hfpz.mjs +0 -1
  732. package/dist/chunks/fast-0.6.13-eqx76m6v.mjs +0 -1
  733. package/dist/chunks/feedback-0.6.13-b2yh5zgv.mjs +0 -14
  734. package/dist/chunks/firstPartyEventLogger-0.6.13-29x54d6r.mjs +0 -1
  735. package/dist/chunks/git-0.6.13-r45r70q4.mjs +0 -1
  736. package/dist/chunks/githubModelsCredentials-0.6.13-3saqxp80.mjs +0 -1
  737. package/dist/chunks/goal-0.6.13-jm5f9y8r.mjs +0 -4
  738. package/dist/chunks/grove-0.6.13-9vr9ry8t.mjs +0 -1
  739. package/dist/chunks/growthbook-0.6.13-r6367yym.mjs +0 -1
  740. package/dist/chunks/headless-0.6.13-gfageb5h.mjs +0 -2
  741. package/dist/chunks/heapdump-0.6.13-m8g832m5.mjs +0 -6
  742. package/dist/chunks/help-0.6.13-781b4zzf.mjs +0 -1
  743. package/dist/chunks/hookChains-0.6.13-ztaa33k2.mjs +0 -3
  744. package/dist/chunks/hooks-0.6.13-2vp3h6tg.mjs +0 -1
  745. package/dist/chunks/hooks-0.6.13-ma0g96bd.mjs +0 -79
  746. package/dist/chunks/ide-0.6.13-ev74eqfz.mjs +0 -3
  747. package/dist/chunks/image-processor-napi-0.6.13-1yfk6729.mjs +0 -1
  748. package/dist/chunks/inboundAttachments-0.6.13-15y4n0ap.mjs +0 -1
  749. package/dist/chunks/index-0.6.13-22g8yp33.mjs +0 -1
  750. package/dist/chunks/index-0.6.13-3d9rd6ba.mjs +0 -1
  751. package/dist/chunks/index-0.6.13-3yrze12y.mjs +0 -2
  752. package/dist/chunks/index-0.6.13-4mx71hjt.mjs +0 -2
  753. package/dist/chunks/index-0.6.13-68g8rnf9.mjs +0 -1
  754. package/dist/chunks/index-0.6.13-6t8yz88d.mjs +0 -1
  755. package/dist/chunks/index-0.6.13-af1dgcmj.mjs +0 -1
  756. package/dist/chunks/index-0.6.13-afmvxwx2.mjs +0 -1
  757. package/dist/chunks/index-0.6.13-by0wfak3.mjs +0 -9
  758. package/dist/chunks/index-0.6.13-cx9jy8c2.mjs +0 -1
  759. package/dist/chunks/index-0.6.13-fd4kgsd2.mjs +0 -1
  760. package/dist/chunks/index-0.6.13-jte6phkv.mjs +0 -1
  761. package/dist/chunks/index-0.6.13-m632g3gy.mjs +0 -1
  762. package/dist/chunks/index-0.6.13-mwpm4arf.mjs +0 -5
  763. package/dist/chunks/index-0.6.13-nwvcwdkk.mjs +0 -30
  764. package/dist/chunks/index-0.6.13-nwy6gtkk.mjs +0 -1
  765. package/dist/chunks/index-0.6.13-ptnyngf8.mjs +0 -1
  766. package/dist/chunks/index-0.6.13-q3shbg14.mjs +0 -1
  767. package/dist/chunks/index-0.6.13-qbgadtxv.mjs +0 -1
  768. package/dist/chunks/index-0.6.13-sv4q66cp.mjs +0 -1
  769. package/dist/chunks/index-0.6.13-waxz0ekk.mjs +0 -1
  770. package/dist/chunks/index-0.6.13-why7ggz3.mjs +0 -9
  771. package/dist/chunks/index-0.6.13-y16k48ab.mjs +0 -1
  772. package/dist/chunks/init-0.6.13-4hnytb22.mjs +0 -1
  773. package/dist/chunks/initReplBridge-0.6.13-7zgngybp.mjs +0 -1
  774. package/dist/chunks/ink-0.6.13-tzqbb17q.mjs +0 -1
  775. package/dist/chunks/insights-0.6.13-jydg844c.mjs +0 -870
  776. package/dist/chunks/install-0.6.13-n2sd9y79.mjs +0 -1
  777. package/dist/chunks/install-github-app-0.6.13-e0f07703.mjs +0 -149
  778. package/dist/chunks/install-slack-app-0.6.13-bf4yjq6t.mjs +0 -1
  779. package/dist/chunks/instrumentation-0.6.13-adfxdg5f.mjs +0 -1
  780. package/dist/chunks/interactiveHelpers-0.6.13-xp328y9v.mjs +0 -1
  781. package/dist/chunks/keybindings-0.6.13-ktc3mjr7.mjs +0 -2
  782. package/dist/chunks/knowledge-0.6.13-187esqxd.mjs +0 -2
  783. package/dist/chunks/latestVersionCache-0.6.13-m4bhcjqa.mjs +0 -1
  784. package/dist/chunks/loadAgentsDir-0.6.13-6zpt11ke.mjs +0 -1
  785. package/dist/chunks/loadPluginHooks-0.6.13-828skfe0.mjs +0 -1
  786. package/dist/chunks/loadPluginHooks-0.6.13-aft854e2.mjs +0 -1
  787. package/dist/chunks/log-0.6.13-k8w72xt1.mjs +0 -1
  788. package/dist/chunks/main-0.6.13-g9fjc6sv.mjs +0 -1
  789. package/dist/chunks/managedEnv-0.6.13-gqrx16t7.mjs +0 -1
  790. package/dist/chunks/mcp-0.6.13-dyg98wmq.mjs +0 -1
  791. package/dist/chunks/mcp-0.6.13-mzkm1215.mjs +0 -4
  792. package/dist/chunks/mcp-0.6.13-zkt6y77x.mjs +0 -17
  793. package/dist/chunks/mcpb-0.6.13-dre8w2ra.mjs +0 -1
  794. package/dist/chunks/memory-0.6.13-atsckryz.mjs +0 -3
  795. package/dist/chunks/model-0.6.13-0atttv57.mjs +0 -1
  796. package/dist/chunks/model-0.6.13-2jvx0cgc.mjs +0 -2
  797. package/dist/chunks/node-0.6.13-x2bbeer9.mjs +0 -12
  798. package/dist/chunks/oauth-0.6.13-57mmwqmy.mjs +0 -1
  799. package/dist/chunks/openaiShim-0.6.13-yb751f6g.mjs +0 -14
  800. package/dist/chunks/output-style-0.6.13-m28me769.mjs +0 -1
  801. package/dist/chunks/package-FMOR3ELU-0.6.13-dfhez176.mjs +0 -1
  802. package/dist/chunks/parseConnectUrl-0.6.13-6ckj0vmf.mjs +0 -1
  803. package/dist/chunks/parser-0.6.13-cmp0vgjm.mjs +0 -1
  804. package/dist/chunks/passes-0.6.13-q60h610m.mjs +0 -1
  805. package/dist/chunks/permissions-0.6.13-9cf5bca2.mjs +0 -3
  806. package/dist/chunks/permissions-0.6.13-nqms1fh9.mjs +0 -1
  807. package/dist/chunks/plan-0.6.13-jnph14bx.mjs +0 -1
  808. package/dist/chunks/plist-0.6.13-fwm9pvp5.mjs +0 -1
  809. package/dist/chunks/plugin-0.6.13-4hpbymfw.mjs +0 -29
  810. package/dist/chunks/pluginStartupCheck-0.6.13-yftpxhh1.mjs +0 -1
  811. package/dist/chunks/plugins-0.6.13-jkptkxsv.mjs +0 -9
  812. package/dist/chunks/preActionHook-0.6.13-jxg6wxk8.mjs +0 -2
  813. package/dist/chunks/print-0.6.13-7cpe5d4z.mjs +0 -57
  814. package/dist/chunks/privacy-settings-0.6.13-5a5rxfdv.mjs +0 -1
  815. package/dist/chunks/process-0.6.13-38dsvzca.mjs +0 -1
  816. package/dist/chunks/processBashCommand-0.6.13-2hx0q8zw.mjs +0 -1
  817. package/dist/chunks/processSlashCommand-0.6.13-5r7afr4g.mjs +0 -9
  818. package/dist/chunks/prompt-0.6.13-pafq1qab.mjs +0 -1
  819. package/dist/chunks/prompt-0.6.13-y81g0m1b.mjs +0 -1
  820. package/dist/chunks/prompts-0.6.13-702ak30b.mjs +0 -1
  821. package/dist/chunks/protocolHandler-0.6.13-t8f8haqj.mjs +0 -13
  822. package/dist/chunks/provider-0.6.13-2sx115qq.mjs +0 -2
  823. package/dist/chunks/providerProfiles-0.6.13-f8x8hr6k.mjs +0 -1
  824. package/dist/chunks/providerValidation-0.6.13-tf07v3tj.mjs +0 -6
  825. package/dist/chunks/rate-limit-options-0.6.13-aensbess.mjs +0 -1
  826. package/dist/chunks/registerSubcommands-0.6.13-656h79d4.mjs +0 -34
  827. package/dist/chunks/registry-0.6.13-pstf339a.mjs +0 -1
  828. package/dist/chunks/release-notes-0.6.13-hrppyszt.mjs +0 -5
  829. package/dist/chunks/reload-plugins-0.6.13-je6wrn33.mjs +0 -2
  830. package/dist/chunks/remote-env-0.6.13-z246d03z.mjs +0 -1
  831. package/dist/chunks/remoteBridgeCore-0.6.13-ynnqhw07.mjs +0 -1
  832. package/dist/chunks/remoteSession-0.6.13-mv8v6s9c.mjs +0 -1
  833. package/dist/chunks/rename-0.6.13-xpt0c85z.mjs +0 -1
  834. package/dist/chunks/replBridgeHandle-0.6.13-rrpbzf13.mjs +0 -1
  835. package/dist/chunks/replLauncher-0.6.13-waeszqvx.mjs +0 -1
  836. package/dist/chunks/resume-0.6.13-sr7y57a2.mjs +0 -2
  837. package/dist/chunks/rewind-0.6.13-8czd98jc.mjs +0 -1
  838. package/dist/chunks/rootOptions-0.6.13-9h4cq5pq.mjs +0 -1
  839. package/dist/chunks/sandbox-adapter-0.6.13-hs1rvj4e.mjs +0 -1
  840. package/dist/chunks/sandbox-toggle-0.6.13-8j9r0wf9.mjs +0 -1
  841. package/dist/chunks/session-0.6.13-83jr96cj.mjs +0 -2
  842. package/dist/chunks/sessionDiscovery-0.6.13-wvzp1v01.mjs +0 -1
  843. package/dist/chunks/sessionFileAccessHooks-0.6.13-4fkbba35.mjs +0 -1
  844. package/dist/chunks/sessionStorage-0.6.13-rswa4zsd.mjs +0 -1
  845. package/dist/chunks/settings-0.6.13-6t3fk1ch.mjs +0 -1
  846. package/dist/chunks/setup-0.6.13-q8jrvatq.mjs +0 -5
  847. package/dist/chunks/sinks-0.6.13-zatt5gaw.mjs +0 -1
  848. package/dist/chunks/skills-0.6.13-3c0whjxb.mjs +0 -1
  849. package/dist/chunks/startupProfiler-0.6.13-cphqp37f.mjs +0 -1
  850. package/dist/chunks/startupUpdateCheck-0.6.13-hstp7str.mjs +0 -1
  851. package/dist/chunks/state-0.6.13-257cjw4h.mjs +0 -1
  852. package/dist/chunks/stats-0.6.13-cg0xacnc.mjs +0 -6
  853. package/dist/chunks/status-0.6.13-cefspgtr.mjs +0 -1
  854. package/dist/chunks/stickers-0.6.13-6e4t4ej1.mjs +0 -1
  855. package/dist/chunks/subprocessEnv-0.6.13-am2fa4tp.mjs +0 -1
  856. package/dist/chunks/tasks-0.6.13-2v9gfhwe.mjs +0 -1
  857. package/dist/chunks/teamHelpers-0.6.13-nesaxh5h.mjs +0 -1
  858. package/dist/chunks/teammateModeSnapshot-0.6.13-s8fahdkf.mjs +0 -1
  859. package/dist/chunks/teleport-0.6.13-15chrxd3.mjs +0 -1
  860. package/dist/chunks/terminalSetup-0.6.13-45tchntj.mjs +0 -1
  861. package/dist/chunks/theme-0.6.13-xzb35tqq.mjs +0 -1
  862. package/dist/chunks/thinkback-0.6.13-t9v5q33p.mjs +0 -1
  863. package/dist/chunks/thinkback-play-0.6.13-3zft02zv.mjs +0 -1
  864. package/dist/chunks/toolPool-0.6.13-v9s7e0g9.mjs +0 -1
  865. package/dist/chunks/toolSearch-0.6.13-yx9rjn17.mjs +0 -1
  866. package/dist/chunks/tools-0.6.13-heefxcxe.mjs +0 -1
  867. package/dist/chunks/trustedDevice-0.6.13-x08npyhs.mjs +0 -1
  868. package/dist/chunks/turndown.cjs-0.6.13-tqfk5xkj.mjs +0 -69
  869. package/dist/chunks/types-0.6.13-26eegce9.mjs +0 -1
  870. package/dist/chunks/ultrareviewCommand-0.6.13-pg8b86h2.mjs +0 -4
  871. package/dist/chunks/update-0.6.13-tj94pp6r.mjs +0 -86
  872. package/dist/chunks/upgrade-0.6.13-3qy3gqyq.mjs +0 -1
  873. package/dist/chunks/upload-0.6.13-jgydpvy4.mjs +0 -7
  874. package/dist/chunks/upstreamproxy-0.6.13-3jmepw2f.mjs +0 -14
  875. package/dist/chunks/url-handler-napi-0.6.13-cqr9xp6y.mjs +0 -1
  876. package/dist/chunks/usage-0.6.13-whrgny68.mjs +0 -1
  877. package/dist/chunks/util-0.6.13-dcwcf9pm.mjs +0 -1
  878. package/dist/chunks/utils-0.6.13-jybbphy0.mjs +0 -1
  879. package/dist/chunks/vim-0.6.13-rt1g3nw1.mjs +0 -1
  880. package/dist/chunks/watcher-0.6.13-jr5jxn5j.mjs +0 -1
  881. package/dist/chunks/wiki-0.6.13-pt6cr77j.mjs +0 -132
  882. package/dist/chunks/worktree-0.6.13-efnvp677.mjs +0 -1
  883. package/dist/chunks/worktreeModeEnabled-0.6.13-zdfe46d8.mjs +0 -1
  884. package/dist/chunks/wrapper-0.6.13-w672jy5j.mjs +0 -7
  885. /package/dist/chunks/{cli-0.6.13-s9yqkgwe.mjs → cli-0.7.0-59h7jbfm.mjs} +0 -0
  886. /package/dist/chunks/{cli-0.6.13-e3h2z83b.mjs → cli-0.7.0-5vszg5ys.mjs} +0 -0
  887. /package/dist/chunks/{cli-0.6.13-tsz6mx5f.mjs → cli-0.7.0-76wj8x34.mjs} +0 -0
  888. /package/dist/chunks/{cli-0.6.13-rmzzvjt2.mjs → cli-0.7.0-brqbb2d5.mjs} +0 -0
  889. /package/dist/chunks/{cli-0.6.13-p839x5sj.mjs → cli-0.7.0-jt2afswt.mjs} +0 -0
  890. /package/dist/chunks/{cli-0.6.13-h2yxttam.mjs → cli-0.7.0-m9eza7ry.mjs} +0 -0
  891. /package/dist/chunks/{cli-0.6.13-1dwgndg5.mjs → cli-0.7.0-z555y4ap.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{Zpa as $}from"./cli-0.7.0-8p56ked8.mjs";function w(z){return z>=48&&z<=126}var d,Y="\x1B",h="\x07",j=";",H;var L=$(()=>{d={NUL:0,SOH:1,STX:2,ETX:3,EOT:4,ENQ:5,ACK:6,BEL:7,BS:8,HT:9,LF:10,VT:11,FF:12,CR:13,SO:14,SI:15,DLE:16,DC1:17,DC2:18,DC3:19,DC4:20,NAK:21,SYN:22,ETB:23,CAN:24,EM:25,SUB:26,ESC:27,FS:28,GS:29,RS:30,US:31,DEL:127},H={CSI:91,OSC:93,DCS:80,APC:95,PM:94,SOS:88,ST:92}});function x(z){return z>=Z.PARAM_START&&z<=Z.PARAM_END}function A(z){return z>=Z.INTERMEDIATE_START&&z<=Z.INTERMEDIATE_END}function N(z){return z>=Z.FINAL_START&&z<=Z.FINAL_END}function J(...z){if(z.length===0)return B;if(z.length===1)return`${B}${z[0]}`;let Q=z.slice(0,-1),V=z[z.length-1];return`${B}${Q.join(j)}${V}`}function k(z=1){return z===0?"":J(z,"A")}function X(z=1){return z===0?"":J(z,"B")}function D(z=1){return z===0?"":J(z,"C")}function M(z=1){return z===0?"":J(z,"D")}function R(z){return J(z,"G")}function C(z,Q){return J(z,Q,"H")}function S(z,Q){let V="";if(z<0)V+=M(-z);else if(z>0)V+=D(z);if(Q<0)V+=k(-Q);else if(Q>0)V+=X(Q);return V}function o(){return J("K")}function y(z){if(z<=0)return"";let Q="";for(let V=0;V<z;V++)if(Q+=F,V<z-1)Q+=k(1);return Q+=W,Q}function a(z=1){return z===0?"":J(z,"S")}function n(z=1){return z===0?"":J(z,"T")}function c(z,Q){return J(z,Q,"r")}var B,Z,g,I,_,u,W,q,b,l,F,K,E,t,r,i,e,s,zz,Jz,Qz,Vz;var v=$(()=>{L();B=Y+String.fromCharCode(H.CSI),Z={PARAM_START:48,PARAM_END:63,INTERMEDIATE_START:32,INTERMEDIATE_END:47,FINAL_START:64,FINAL_END:126};g={CUU:65,CUD:66,CUF:67,CUB:68,CNL:69,CPL:70,CHA:71,CUP:72,CHT:73,VPA:100,HVP:102,ED:74,EL:75,ECH:88,IL:76,DL:77,ICH:64,DCH:80,SU:83,SD:84,SM:104,RM:108,SGR:109,DSR:110,DECSCUSR:113,DECSTBM:114,SCOSC:115,SCORC:117,CBT:90},I=["toEnd","toStart","all","scrollback"],_=["toEnd","toStart","all"],u=[{style:"block",blinking:!0},{style:"block",blinking:!0},{style:"block",blinking:!1},{style:"underline",blinking:!0},{style:"underline",blinking:!1},{style:"bar",blinking:!0},{style:"bar",blinking:!1}];W=J("G");q=J("H");b=J("s"),l=J("u");F=J(2,"K"),K=J(2,"J"),E=J(3,"J");t=J("r"),r=J("200~"),i=J("201~"),e=J("I"),s=J("O"),zz=J(">1u"),Jz=J("<u"),Qz=J(">4;2m"),Vz=J(">4m")});function U(){return process.platform==="win32"&&!!process.env.WT_SESSION}function p(){if(process.env.TERM_PROGRAM==="mintty")return!0;if(process.platform==="win32"&&process.env.MSYSTEM)return!0;return!1}function G(){if(U())return!0;if(process.platform==="win32"&&process.env.TERM_PROGRAM==="vscode"&&process.env.TERM_PROGRAM_VERSION)return!0;if(p())return!0;return!1}function T(){if(process.platform==="win32"&&!G())return K+P;return K+q}var P,Bz;var f=$(()=>{v();P=J(0,"f");Bz=T()});
2
+ export{d as ZZ,Y as _Z,h as $Z,j as a0,H as b0,w as c0,L as d0,x as e0,A as f0,N as g0,J as h0,g as i0,I as j0,_ as k0,u as l0,R as m0,C as n0,q as o0,S as p0,o as q0,K as r0,y as s0,a as t0,n as u0,c as v0,t as w0,r as x0,i as y0,e as z0,s as A0,zz as B0,Jz as C0,Qz as D0,Vz as E0,v as F0,T as G0,Bz as H0,f as I0};
@@ -0,0 +1,6 @@
1
+ import{cia as ZX,fia as y8}from"./cli-0.7.0-z7sydqy8.mjs";import{ria as r,xia as R8}from"./cli-0.7.0-ba1xb8x3.mjs";import{Aia as $X,Dia as NJ,Nia as j8}from"./cli-0.7.0-na9s209m.mjs";import{$ia as T6,Aja as tJ,Bja as hX,Cja as hJ,Dja as wX,Eja as y,Fja as OJ,Gja as gQ,Hja as m6,Kja as O,Lja as GJ,Oia as dQ,Pia as P6,Uia as qJ,Via as oX,Yia as eJ,Zia as fX,_ia as fQ,aja as $Q,bja as cX,eja as JQ,fja as pX,gja as g,hja as oJ,ija as n,jja as LQ,mja as pQ,nja as v6,ooa as sQ,qja as l,rja as wQ,rka as XX,sja as w,tja as kQ,wja as yJ,xja as OX,yja as h,zja as vJ}from"./cli-0.7.0-x2vc8nds.mjs";import{Boa as L,Coa as XJ,Hoa as LJ,Ioa as zX,Noa as V,Ooa as xJ,poa as SJ,qoa as CX,voa as cJ,woa as TX,xoa as HJ,yoa as J6}from"./cli-0.7.0-wspeyepj.mjs";import{$pa as N,Ypa as uJ,Zpa as U,aqa as W}from"./cli-0.7.0-8p56ked8.mjs";function zJ({writeFn:J,flushIntervalMs:Q=1000,maxBufferSize:X=100,maxBufferBytes:$=1/0,immediateMode:Y=!1}){let Z=[],q=0,H=null,G=null;function I(){if(H)clearTimeout(H),H=null}function B(){if(G)J(G.join("")),G=null;if(Z.length===0)return;J(Z.join("")),Z=[],q=0,I()}function M(){if(!H)H=setTimeout(B,Q)}function F(){if(G){G.push(...Z),Z=[],q=0,I();return}let x=Z;Z=[],q=0,I(),G=x,setImmediate(()=>{let v=G;if(G=null,v)J(v.join(""))})}return{write(x){if(Y){J(x);return}if(Z.push(x),q+=x.length,M(),Z.length>=X||q>=$)F()},flush:B,dispose(){B()}}}var BJ=()=>{};function IJ(J){return t.add(J),()=>t.delete(J)}async function r8(){await Promise.all(Array.from(t).map((J)=>J()))}var t;var CJ=U(()=>{t=new Set});function WX(J){let Q=[],X=J.match(/^MCP server ["']([^"']+)["']/);if(X&&X[1])Q.push("mcp"),Q.push(X[1].toLowerCase());else{let Z=J.match(/^([^:[]+):/);if(Z&&Z[1])Q.push(Z[1].trim().toLowerCase())}let $=J.match(/^\[([^\]]+)]/);if($&&$[1])Q.push($[1].trim().toLowerCase());if(J.toLowerCase().includes("1p event:"))Q.push("1p");let Y=J.match(/:\s*([^:]+?)(?:\s+(?:type|mode|status|event))?:/);if(Y&&Y[1]){let Z=Y[1].trim().toLowerCase();if(Z.length<30&&!Z.includes(" "))Q.push(Z)}return Array.from(new Set(Q))}function EX(J,Q){if(!Q)return!0;if(J.length===0)return!1;if(Q.isExclusive)return!J.some((X)=>Q.exclude.includes(X));else return J.some((X)=>Q.include.includes(X))}function VJ(J,Q){if(!Q)return!0;let X=WX(J);return EX(X,Q)}var FJ;var DJ=U(()=>{xJ();FJ=V((J)=>{if(!J||J.trim()==="")return null;let Q=J.split(",").map((Z)=>Z.trim()).filter(Boolean);if(Q.length===0)return null;let X=Q.some((Z)=>Z.startsWith("!")),$=Q.some((Z)=>!Z.startsWith("!"));if(X&&$)return null;let Y=Q.map((Z)=>Z.replace(/^!/,"").toLowerCase());return{include:X?[]:Y,exclude:X?Y:[],isExclusive:X}})});function MX(J,Q){var X=-1,$=J==null?0:J.length;while(++X<$)if(Q(J[X],X,J)===!1)break;return J}var RJ;var AJ=U(()=>{RJ=MX});var BX,e;var _J=U(()=>{zX();BX=function(){try{var J=LJ(Object,"defineProperty");return J({},"",{}),J}catch(Q){}}(),e=BX});function IX(J,Q,X){if(Q=="__proto__"&&e)e(J,Q,{configurable:!0,enumerable:!0,value:X,writable:!0});else J[Q]=X}var m;var JJ=U(()=>{_J();m=IX});function VX(J,Q,X){var $=J[Q];if(!(FX.call(J,Q)&&SJ($,X))||X===void 0&&!(Q in J))m(J,Q,X)}var xX,FX,j;var QJ=U(()=>{JJ();CX();xX=Object.prototype,FX=xX.hasOwnProperty;j=VX});function DX(J,Q,X,$){var Y=!X;X||(X={});var Z=-1,q=Q.length;while(++Z<q){var H=Q[Z],G=$?$(X[H],J[H],H,X,J):void 0;if(G===void 0)G=J[H];if(Y)m(X,H,G);else j(X,H,G)}return X}var R;var k=U(()=>{QJ();JJ();R=DX});function RX(J,Q){return J&&R(Q,y(Q),J)}var wJ;var kJ=U(()=>{k();OJ();wJ=RX});function AX(J){var Q=[];if(J!=null)for(var X in Object(J))Q.push(X);return Q}var PJ;var TJ=U(()=>{PJ=AX});function SX(J){if(!L(J))return PJ(J);var Q=h(J),X=[];for(var $ in J)if(!($=="constructor"&&(Q||!_X.call(J,$))))X.push($);return X}var LX,_X,mJ;var jJ=U(()=>{XJ();vJ();TJ();LX=Object.prototype,_X=LX.hasOwnProperty;mJ=SX});function kX(J){return hJ(J)?yJ(J,!0):mJ(J)}var _;var d=U(()=>{OX();jJ();wX();_=kX});function PX(J,Q){return J&&R(Q,_(Q),J)}var dJ;var fJ=U(()=>{k();d();dJ=PX});var p={};uJ(p,{default:()=>$J});function mX(J,Q){if(Q)return J.slice();var X=J.length,$=bJ?bJ(X):new J.constructor(X);return J.copy($),$}var nJ,pJ,vX,gJ,bJ,$J;var lJ=U(()=>{TX();nJ=typeof p=="object"&&p&&!p.nodeType&&p,pJ=nJ&&typeof f=="object"&&f&&!f.nodeType&&f,vX=pJ&&pJ.exports===nJ,gJ=vX?cJ.Buffer:void 0,bJ=gJ?gJ.allocUnsafe:void 0;$J=mX});function jX(J,Q){var X=-1,$=J.length;Q||(Q=Array($));while(++X<$)Q[X]=J[X];return Q}var iJ;var rJ=U(()=>{iJ=jX});function yX(J,Q){return R(J,g(J),Q)}var sJ;var aJ=U(()=>{k();oJ();sJ=yX});var dX,b;var ZJ=U(()=>{hX();dX=tJ(Object.getPrototypeOf,Object),b=dX});var gX,bX,u;var YJ=U(()=>{fX();ZJ();oJ();pX();gX=Object.getOwnPropertySymbols,bX=!gX?JQ:function(J){var Q=[];while(J)eJ(Q,g(J)),J=b(J);return Q},u=bX});function uX(J,Q){return R(J,u(J),Q)}var QQ;var XQ=U(()=>{k();YJ();QQ=uX});function nX(J){return $Q(J,_,u)}var ZQ;var YQ=U(()=>{cX();YJ();d();ZQ=nX});function rX(J){var Q=J.length,X=new J.constructor(Q);if(Q&&typeof J[0]=="string"&&iX.call(J,"index"))X.index=J.index,X.input=J.input;return X}var lX,iX,qQ;var HQ=U(()=>{lX=Object.prototype,iX=lX.hasOwnProperty;qQ=rX});function sX(J){var Q=new J.constructor(J.byteLength);return new qJ(Q).set(new qJ(J)),Q}var S;var c=U(()=>{oX();S=sX});function aX(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.byteLength)}var GQ;var KQ=U(()=>{c();GQ=aX});function eX(J){var Q=new J.constructor(J.source,tX.exec(J));return Q.lastIndex=J.lastIndex,Q}var tX,UQ;var NQ=U(()=>{tX=/\w*$/;UQ=eX});function Q6(J){return EQ?Object(EQ.call(J)):{}}var WQ,EQ,MQ;var zQ=U(()=>{J6();WQ=HJ?HJ.prototype:void 0,EQ=WQ?WQ.valueOf:void 0;MQ=Q6});function X6(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.length)}var BQ;var IQ=U(()=>{c();BQ=X6});function D6(J,Q,X){var $=J.constructor;switch(Q){case N6:return S(J);case $6:case Z6:return new $(+J);case W6:return GQ(J,X);case E6:case M6:case z6:case B6:case I6:case C6:case x6:case F6:case V6:return BQ(J,X);case Y6:return new $;case q6:case K6:return new $(J);case H6:return UQ(J);case G6:return new $;case U6:return MQ(J)}}var $6="[object Boolean]",Z6="[object Date]",Y6="[object Map]",q6="[object Number]",H6="[object RegExp]",G6="[object Set]",K6="[object String]",U6="[object Symbol]",N6="[object ArrayBuffer]",W6="[object DataView]",E6="[object Float32Array]",M6="[object Float64Array]",z6="[object Int8Array]",B6="[object Int16Array]",I6="[object Int32Array]",C6="[object Uint8Array]",x6="[object Uint8ClampedArray]",F6="[object Uint16Array]",V6="[object Uint32Array]",CQ;var xQ=U(()=>{c();KQ();NQ();zQ();IQ();CQ=D6});var FQ,R6,VQ;var DQ=U(()=>{XJ();FQ=Object.create,R6=function(){function J(){}return function(Q){if(!L(Q))return{};if(FQ)return FQ(Q);J.prototype=Q;var X=new J;return J.prototype=void 0,X}}(),VQ=R6});function A6(J){return typeof J.constructor=="function"&&!h(J)?VQ(b(J)):{}}var RQ;var AQ=U(()=>{DQ();ZJ();vJ();RQ=A6});function _6(J){return n(J)&&O(J)==L6}var L6="[object Map]",_Q;var SQ=U(()=>{GJ();LQ();_Q=_6});var OQ,S6,PQ;var TQ=U(()=>{SQ();wQ();kQ();OQ=w&&w.isMap,S6=OQ?l(OQ):_Q,PQ=S6});function w6(J){return n(J)&&O(J)==O6}var O6="[object Set]",vQ;var mQ=U(()=>{GJ();LQ();vQ=w6});var jQ,k6,yQ;var hQ=U(()=>{mQ();wQ();kQ();jQ=w&&w.isSet,k6=jQ?l(jQ):vQ,yQ=k6});function i(J,Q,X,$,Y,Z){var q,H=Q&j6,G=Q&y6,I=Q&h6;if(X)q=Y?X(J,$,Y,Z):X(J);if(q!==void 0)return q;if(!L(J))return J;var B=fQ(J);if(B){if(q=qQ(J),!H)return iJ(J,q)}else{var M=O(J),F=M==uQ||M==b6;if(pQ(J))return $J(J,H);if(M==cQ||M==bQ||F&&!Y){if(q=G||F?{}:RQ(J),!H)return G?QQ(J,dJ(q,J)):sJ(J,wJ(q,J))}else{if(!z[M])return Y?J:{};q=CQ(J,M,H)}}Z||(Z=new dQ);var x=Z.get(J);if(x)return x;if(Z.set(J,q),yQ(J))J.forEach(function(D){q.add(i(D,Q,X,D,J,Z))});else if(PQ(J))J.forEach(function(D,A){q.set(A,i(D,Q,X,A,J,Z))});var v=I?G?ZQ:gQ:G?_:y,MJ=B?void 0:v(J);return RJ(MJ||J,function(D,A){if(MJ)A=D,D=J[A];j(q,A,i(D,Q,X,A,J,Z))}),q}var j6=1,y6=2,h6=4,bQ="[object Arguments]",d6="[object Array]",f6="[object Boolean]",p6="[object Date]",g6="[object Error]",uQ="[object Function]",b6="[object GeneratorFunction]",u6="[object Map]",c6="[object Number]",cQ="[object Object]",n6="[object RegExp]",l6="[object Set]",i6="[object String]",r6="[object Symbol]",o6="[object WeakMap]",s6="[object ArrayBuffer]",a6="[object DataView]",t6="[object Float32Array]",e6="[object Float64Array]",J8="[object Int8Array]",Q8="[object Int16Array]",X8="[object Int32Array]",$8="[object Uint8Array]",Z8="[object Uint8ClampedArray]",Y8="[object Uint16Array]",q8="[object Uint32Array]",z,nQ;var lQ=U(()=>{P6();AJ();QJ();kJ();fJ();lJ();rJ();aJ();XQ();m6();YQ();GJ();HQ();xQ();AQ();T6();v6();TQ();XJ();hQ();OJ();d();z={};z[bQ]=z[d6]=z[s6]=z[a6]=z[f6]=z[p6]=z[t6]=z[e6]=z[J8]=z[Q8]=z[X8]=z[u6]=z[c6]=z[cQ]=z[n6]=z[l6]=z[i6]=z[r6]=z[$8]=z[Z8]=z[Y8]=z[q8]=!0;z[g6]=z[uQ]=z[o6]=!1;nQ=i});function K8(J){return nQ(J,H8|G8)}var H8=1,G8=4,iQ;var rQ=U(()=>{lQ();iQ=K8});var V8={};uJ(V8,{writeFileSync_DEPRECATED:()=>F8,slowLogging:()=>E,jsonStringify:()=>KJ,jsonParse:()=>I8,cloneDeep:()=>x8,clone:()=>C8,callerFrame:()=>M8,SLOW_OPERATION_THRESHOLD_MS:()=>E8});import{closeSync as U8,writeFileSync as oQ,fsyncSync as N8,openSync as W8}from"fs";function M8(J){if(!J)return"";for(let Q of J.split(`
2
+ `)){if(Q.includes("slowOperations"))continue;let X=Q.match(/([^/\\]+?):(\d+):\d+\)?$/);if(X)return` @ ${X[1]}:${X[2]}`}return""}function B8(){return z8}function KJ(J,Q,X){let Y=[];try{const $=N(Y,E`JSON.stringify(${J})`,0);return JSON.stringify(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}}function C8(J,Q){let $=[];try{const X=N($,E`structuredClone(${J})`,0);return structuredClone(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}}function x8(J){let X=[];try{const Q=N(X,E`cloneDeep(${J})`,0);return iQ(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}}function F8(J,Q,X){let Z=[];try{const $=N(Z,E`fs.writeFileSync(${J}, ${Q})`,0);let Y=X!==null&&typeof X==="object"&&"flush"in X&&X.flush===!0;if(Y){let I=typeof X==="object"&&"encoding"in X?X.encoding:void 0,B=typeof X==="object"&&"mode"in X?X.mode:void 0,M;try{M=W8(J,"w",B),oQ(M,Q,{encoding:I??void 0}),N8(M)}finally{if(M!==void 0)U8(M)}}else oQ(J,Q,X)}catch(q){var H=q,G=1}finally{W(Z,H,G)}}var E8,z8,E,I8=(J,Q)=>{let $=[];try{const X=N($,E`JSON.parse(${J})`,0);return typeof Q>"u"?JSON.parse(J):JSON.parse(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}};var UJ=U(()=>{rQ();sQ();aQ();E8=(()=>{let J=process.env.CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MS;if(J!==void 0){let Q=Number(J);if(!Number.isNaN(Q)&&Q>=0)return Q}return 1/0})();z8={[Symbol.dispose](){}};E=B8});import*as K from"fs";import{mkdir as A8,open as o,readdir as L8,readFile as tQ,copyFile as _8,rename as S8,rmdir as O8,rm as w8,stat as k8,unlink as P8}from"fs/promises";import{homedir as eQ}from"os";import*as C from"path";function JX(J,Q){if(Q.startsWith("//")||Q.startsWith("\\\\"))return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};try{let X=J.lstatSync(Q);if(X.isFIFO()||X.isSocket()||X.isCharacterDevice()||X.isBlockDevice())return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};let $=J.realpathSync(Q);return{resolvedPath:$,isSymlink:$!==Q,isCanonical:!0}}catch(X){return{resolvedPath:Q,isSymlink:!1,isCanonical:!1}}}function H1(J,Q,X){let{resolvedPath:$}=JX(J,Q);if(X.has($))return!0;return X.add($),!1}function T8(J,Q){let X=Q,$=[];while(X!==C.dirname(X)){let Y;try{Y=J.lstatSync(X)}catch{$.unshift(C.basename(X)),X=C.dirname(X);continue}if(Y.isSymbolicLink())try{let Z=J.realpathSync(X);return $.length===0?Z:C.join(Z,...$)}catch{let Z=J.readlinkSync(X),q=C.isAbsolute(Z)?Z:C.resolve(C.dirname(X),Z);return $.length===0?q:C.join(q,...$)}try{let Z=J.realpathSync(X);if(Z!==X)return $.length===0?Z:C.join(Z,...$)}catch{}return}return}function G1(J){let Q=J;if(Q==="~")Q=eQ().normalize("NFC");else if(Q.startsWith("~/"))Q=C.join(eQ().normalize("NFC"),Q.slice(2));let X=new Set,$=s();if(X.add(Q),Q.startsWith("//")||Q.startsWith("\\\\"))return Array.from(X);try{let q=Q,H=new Set,G=40;for(let I=0;I<G;I++){if(H.has(q))break;if(H.add(q),!$.existsSync(q)){if(q===Q){let x=T8($,Q);if(x!==void 0)X.add(x)}break}let B=$.lstatSync(q);if(B.isFIFO()||B.isSocket()||B.isCharacterDevice()||B.isBlockDevice())break;if(!B.isSymbolicLink())break;let M=$.readlinkSync(q),F=C.isAbsolute(M)?M:C.resolve(C.dirname(q),M);X.add(F),q=F}}catch{}let{resolvedPath:Y,isSymlink:Z}=JX($,Q);if(Z&&Y!==Q)X.add(Y);return Array.from(X)}function s(){return m8}async function K1(J,Q,X){let G=[];try{const $=N(G,await o(J,"r"),1);let Y=(await $.stat()).size;if(Y<=Q)return null;let Z=Math.min(Y-Q,X);let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await $.read(q,H,Z-H,Q+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:Y}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function U1(J,Q){let G=[];try{const X=N(G,await o(J,"r"),1);let $=(await X.stat()).size;if($===0)return{content:"",bytesRead:0,bytesTotal:0};let Y=Math.max(0,$-Q);let Z=$-Y;let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await X.read(q,H,Z-H,Y+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:$}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function*N1(J){let X=await o(J,"r");try{let Y=(await X.stat()).size,Z=Buffer.alloc(0),q=Buffer.alloc(4096);while(Y>0){let H=Math.min(4096,Y);Y-=H,await X.read(q,0,H,Y);let G=Buffer.concat([q.subarray(0,H),Z]),I=G.indexOf(10);if(I===-1){Z=G;continue}Z=Buffer.from(G.subarray(0,I));let B=G.toString("utf8",I+1).split(`
3
+ `);for(let M=B.length-1;M>=0;M--){let F=B[M];if(F)yield F}}if(Z.length>0)yield Z.toString("utf8")}finally{await X.close()}}var v8,m8;var QX=U(()=>{R8();UJ();v8={cwd(){return process.cwd()},existsSync(J){let X=[];try{const Q=N(X,E`fs.existsSync(${J})`,0);return K.existsSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},async stat(J){return k8(J)},async readdir(J){return L8(J,{withFileTypes:!0})},async unlink(J){return P8(J)},async rmdir(J){return O8(J)},async rm(J,Q){return w8(J,Q)},async mkdir(J,Q){try{await A8(J,{recursive:!0,...Q})}catch(X){if(r(X)!=="EEXIST")throw X}},async readFile(J,Q){return tQ(J,{encoding:Q.encoding})},async rename(J,Q){return S8(J,Q)},async copyFile(J,Q){let $=[];try{const X=N($,E`fs.copyFile(${J} → ${Q})`,0);return _8(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},statSync(J){let X=[];try{const Q=N(X,E`fs.statSync(${J})`,0);return K.statSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},lstatSync(J){let X=[];try{const Q=N(X,E`fs.lstatSync(${J})`,0);return K.lstatSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readFileSync(J,Q){let $=[];try{const X=N($,E`fs.readFileSync(${J})`,0);return K.readFileSync(J,{encoding:Q.encoding})}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},readFileBytesSync(J){let X=[];try{const Q=N(X,E`fs.readFileBytesSync(${J})`,0);return K.readFileSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readSync(J,Q){let Y=[];try{const X=N(Y,E`fs.readSync(${J}, ${Q.length} bytes)`,0);let $=void 0;try{$=K.openSync(J,"r");let G=Buffer.alloc(Q.length),I=K.readSync($,G,0,Q.length,0);return{buffer:G,bytesRead:I}}finally{if($)K.closeSync($)}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},appendFileSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.appendFileSync(${J}, ${Q.length} chars)`,0);if(X?.mode!==void 0)try{let G=K.openSync(J,"ax",X.mode);try{K.appendFileSync(G,Q)}finally{K.closeSync(G)}return}catch(G){if(r(G)!=="EEXIST")throw G}K.appendFileSync(J,Q)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},copyFileSync(J,Q){let $=[];try{const X=N($,E`fs.copyFileSync(${J} → ${Q})`,0);K.copyFileSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},unlinkSync(J){let X=[];try{const Q=N(X,E`fs.unlinkSync(${J})`,0);K.unlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},renameSync(J,Q){let $=[];try{const X=N($,E`fs.renameSync(${J} → ${Q})`,0);K.renameSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},linkSync(J,Q){let $=[];try{const X=N($,E`fs.linkSync(${J} → ${Q})`,0);K.linkSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},symlinkSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.symlinkSync(${J} → ${Q})`,0);K.symlinkSync(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readlinkSync(J){let X=[];try{const Q=N(X,E`fs.readlinkSync(${J})`,0);return K.readlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},realpathSync(J){let X=[];try{const Q=N(X,E`fs.realpathSync(${J})`,0);return K.realpathSync(J).normalize("NFC")}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},mkdirSync(J,Q){let Y=[];try{const X=N(Y,E`fs.mkdirSync(${J})`,0);let $={recursive:!0};if(Q?.mode!==void 0)$.mode=Q.mode;try{K.mkdirSync(J,$)}catch(G){if(r(G)!=="EEXIST")throw G}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readdirSync(J){let X=[];try{const Q=N(X,E`fs.readdirSync(${J})`,0);return K.readdirSync(J,{withFileTypes:!0})}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readdirStringSync(J){let X=[];try{const Q=N(X,E`fs.readdirStringSync(${J})`,0);return K.readdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},isDirEmptySync(J){let $=[];try{const Q=N($,E`fs.isDirEmptySync(${J})`,0);let X=this.readdirSync(J);return X.length===0}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},rmdirSync(J){let X=[];try{const Q=N(X,E`fs.rmdirSync(${J})`,0);K.rmdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},rmSync(J,Q){let $=[];try{const X=N($,E`fs.rmSync(${J})`,0);K.rmSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},createWriteStream(J){return K.createWriteStream(J)},async readFileBytes(J,Q){if(Q===void 0)return tQ(J);let X=await o(J,"r");try{let{size:$}=await X.stat(),Y=Math.min($,Q),Z=Buffer.allocUnsafe(Y),q=0;while(q<Y){let{bytesRead:H}=await X.read(Z,q,Y-q,q);if(H===0)break;q+=H}return q<Y?Z.subarray(0,q):Z}finally{await X.close()}}},m8=v8});import{appendFile as h8,mkdir as d8,symlink as f8,unlink as p8}from"fs/promises";import{dirname as YX,join as qX}from"path";function L1(){let J=T();return HX=!0,T.cache.clear?.(),J}function u8(J){if(!T())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let Q=b8();return VJ(J,Q)}function _1(J){EJ=J}function S1(){return EJ}async function c8(J,Q,X,$){if(J)await d8(Q,{recursive:!0}).catch(()=>{});await h8(X,$),NX()}function n8(){}function l8(){if(!P){let J=null;P=zJ({writeFn:(Q)=>{let X=UX(),$=YX(X),Y=J!==$;if(J=$,T()){if(Y)try{s().mkdirSync($)}catch{}s().appendFileSync(X,Q),NX();return}a=a.then(c8.bind(null,Y,$,X,Q)).catch(n8)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:T()}),IJ(async()=>{P?.dispose(),await a})}return P}async function O1(){P?.flush(),await a}function D8(J,{level:Q}={level:"debug"}){if(WJ[Q]<WJ[g8()])return;if(!u8(J))return;if(EJ&&J.includes(`
4
+ `))J=KJ(J);let $=`${new Date().toISOString()} [${Q.toUpperCase()}] ${J.trim()}
5
+ `;if(GX()){ZX($);return}l8().write($)}function UX(){return KX()??process.env.CLAUDE_CODE_DEBUG_LOGS_DIR??qX($X(),"debug",`${XX()}.txt`)}function w1(J,Q){}var WJ,g8,HX=!1,T,b8,GX,KX,EJ=!1,P=null,a,NX;var aQ=U(()=>{xJ();sQ();BJ();CJ();DJ();j8();QX();y8();UJ();WJ={verbose:0,debug:1,info:2,warn:3,error:4},g8=V(()=>{let J=process.env.CLAUDE_CODE_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(J&&Object.hasOwn(WJ,J))return J;return"debug"}),T=V(()=>{return HX||NJ(process.env.DEBUG)||NJ(process.env.DEBUG_SDK)||process.argv.includes("--debug")||process.argv.includes("-d")||GX()||process.argv.some((J)=>J.startsWith("--debug="))||KX()!==null});b8=V(()=>{let J=process.argv.find((X)=>X.startsWith("--debug="));if(!J)return null;let Q=J.substring(8);return FJ(Q)}),GX=V(()=>{return process.argv.includes("--debug-to-stderr")||process.argv.includes("-D")}),KX=V(()=>{for(let J=0;J<process.argv.length;J++){let Q=process.argv[J];if(Q.startsWith("--debug-file="))return Q.substring(13);if(Q==="--debug-file"&&J+1<process.argv.length)return process.argv[J+1]}return null});a=Promise.resolve();NX=V(async()=>{try{let J=UX(),Q=YX(J),X=qX(Q,"latest");await p8(X).catch(()=>{}),await f8(J,X)}catch{}})});
6
+ export{zJ as Zga,BJ as _ga,IJ as $ga,r8 as aha,CJ as bha,e as cha,_J as dha,m as eha,JJ as fha,j as gha,QJ as hha,R as iha,k as jha,_ as kha,d as lha,$J as mha,lJ as nha,iJ as oha,rJ as pha,b as qha,ZJ as rha,ZQ as sha,YQ as tha,BQ as uha,IQ as vha,RQ as wha,AQ as xha,nQ as yha,lQ as zha,E as Aha,KJ as Bha,I8 as Cha,C8 as Dha,F8 as Eha,V8 as Fha,UJ as Gha,JX as Hha,H1 as Iha,G1 as Jha,s as Kha,K1 as Lha,U1 as Mha,N1 as Nha,QX as Oha,g8 as Pha,T as Qha,L1 as Rha,b8 as Sha,GX as Tha,KX as Uha,_1 as Vha,S1 as Wha,O1 as Xha,D8 as Yha,UX as Zha,w1 as _ha,aQ as $ha};
@@ -0,0 +1,12 @@
1
+ import{kg as $Z,lg as uZ,mg as fz}from"./cli-0.7.0-68mgyfr7.mjs";import{sh as HJ,th as Vz}from"./cli-0.7.0-0bzz8t89.mjs";import{Dh as GJ,Eh as Bz}from"./cli-0.7.0-v92q5ffm.mjs";import{$n as WQ,$u as jQ,An as wX,DP as iQ,EP as lQ,GP as nZ,HP as aQ,Hz as SZ,Iz as hZ,JP as g0,Jz as TZ,KP as rQ,Kz as dJ,Lz as cQ,MP as eJ,Mj as _Z,Mz as cJ,NP as ZQ,Nj as TQ,OP as oQ,PP as tQ,Pn as XQ,RP as OZ,Rn as xZ,Sz as e0,Tz as gJ,Uz as mJ,Vj as IJ,Vz as nJ,Wj as SJ,Wy as pQ,Wz as yz,Xy as PX,_u as UQ,av as $Q,bk as pJ,bv as uQ,cz as dQ,do as uz,dz as DX,fS as VQ,fv as MQ,gv as EQ,hP as mQ,hs as NJ,jS as KQ,ls as Uz,mS as fZ,rn as zQ,sn as $z,uk as mZ,vk as FX,vv as fQ,yS as BQ,yv as AX,zP as nQ,zn as RQ}from"./cli-0.7.0-7g132rdj.mjs";import{AT as OX,rT as xQ}from"./cli-0.7.0-mn3gdwp2.mjs";import{$W as UZ,BW as FZ,CW as qJ,WW as YJ,_W as qz,aX as NX}from"./cli-0.7.0-a7rry8ha.mjs";import{HX as WJ,IX as Wz,OY as jZ,PY as Jz,RX as u0,RZ as p0,dZ as hQ,eZ as KX,kZ as b,lY as c0,lZ as DQ,mZ as g,nZ as JX,pY as vZ}from"./cli-0.7.0-p9q4x3f1.mjs";import{W1 as f0,X1 as B,Y1 as $,Z1 as F0}from"./cli-0.7.0-wgy69726.mjs";import{_1 as S0}from"./cli-0.7.0-asw5nd1q.mjs";import{u2 as VJ,v2 as BJ,w2 as Yz}from"./cli-0.7.0-kw554ntj.mjs";import{$5 as JQ,E5 as JZ,E6 as xz,H5 as QZ,j6 as QQ,y5 as PQ,z5 as ZX}from"./cli-0.7.0-9jzkqcfv.mjs";import{$6 as GX,_6 as gZ}from"./cli-0.7.0-g2ekvm09.mjs";import{E$ as LX,Oaa as LZ,Rca as HQ,Waa as XJ,f8 as v0,g8 as zJ,i$ as SQ,wca as DZ}from"./cli-0.7.0-h6kfhzzd.mjs";import{Aea as PZ,Bea as TJ,Lea as ZZ,Sea as hz}from"./cli-0.7.0-twxrndmz.mjs";import{Kga as Dz,fga as RZ,gga as Rz,sga as KZ,xga as wZ,yga as NZ}from"./cli-0.7.0-v6ceqq5f.mjs";import{$ha as ez,Yha as m0}from"./cli-0.7.0-hrtdae85.mjs";import{Dia as IQ,Nia as HX}from"./cli-0.7.0-na9s209m.mjs";import{Lna as kQ,ooa as BX}from"./cli-0.7.0-x2vc8nds.mjs";import{Vpa as N0,Zpa as L0}from"./cli-0.7.0-8p56ked8.mjs";function MZ(){if($0!==null)clearTimeout($0),$0=null;bZ=Date.now();for(let J of BZ)J()}function Qz(){if($0!==null)return;let J=Date.now()-bZ;if(J>=jZ){MZ();return}$0=setTimeout(MZ,jZ-J)}function iZ(){return EZ.useSyncExternalStore(s0.subscribe,s0.getSnapshot)}function TX(){return EZ.useSyncExternalStore(s0.subscribe,s0.getPresenceSnapshot)}var EZ,x0=null,BZ,$0=null,bZ=0,s0;var lZ=L0(()=>{Jz();EZ=N0(S0(),1),BZ=new Set;s0={update(J){let Z=x0;if(x0=J(Z),x0===Z)return;if(Z===null!==(x0===null))MZ();else Qz()},clear(){s0.update(()=>null)},read(){return x0},subscribe(J){return BZ.add(J),()=>{BZ.delete(J)}},getSnapshot(){return x0},getPresenceSnapshot(){return x0!==null},resetForTesting(){if($0!==null)clearTimeout($0),$0=null;x0=null,bZ=0,BZ.clear()}}});function sZ(J){let Z=HZ.c(6),{children:Q}=J,[z,X]=K0.useState(null),[W,q]=K0.useState(null),V;if(Z[0]!==Q||Z[1]!==W)V=B(oZ.Provider,{value:W,children:Q}),Z[0]=Q,Z[1]=W,Z[2]=V;else V=Z[2];let Y;if(Z[3]!==z||Z[4]!==V)Y=B(rZ.Provider,{value:X,children:B(tZ.Provider,{value:q,children:B(aZ.Provider,{value:z,children:V})})}),Z[3]=z,Z[4]=V,Z[5]=Y;else Y=Z[5];return Y}function eZ(){return K0.useContext(aZ)}function ZJ(){return K0.useContext(oZ)}function xX(J){let Z=HZ.c(8),Q=K0.useContext(rZ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];K0.useEffect(z,X),K0.useEffect(W,q)}function $X(J){let Z=HZ.c(8),Q=K0.useContext(tZ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];K0.useEffect(z,X),K0.useEffect(W,q)}var HZ,K0,aZ,rZ,oZ,tZ;var JJ=L0(()=>{F0();HZ=N0(u0(),1),K0=N0(S0(),1),aZ=K0.createContext(null),rZ=K0.createContext(null),oZ=K0.createContext(null),tZ=K0.createContext(null)});function GZ(J){return J.type==="attachment"&&Xz.has(J.attachment.type)}var zz,Xz;var CZ=L0(()=>{zz=["hook_success","hook_additional_context","hook_cancelled","command_permissions","agent_mention","budget_usd","critical_system_reminder","edited_image_file","edited_text_file","opened_file_in_ide","output_style","plan_mode","plan_mode_exit","plan_mode_reentry","structured_output","team_context","todo_reminder","context_efficiency","deferred_tools_delta","mcp_instructions_delta","companion_intro","token_usage","ultrathink_effort","max_turns_reached","task_reminder","auto_mode","auto_mode_exit","output_token_usage","pen_mode_enter","pen_mode_exit","verify_plan_reminder","current_session_memory","compaction_reminder","date_change","bash_git_instructions","claude_md_delta","git_status_delta","memory_delta","todo_reminder_delta"],Xz=new Set(zz)});import{fileURLToPath as Hz}from"url";function QW(J){let[Z,Q]=q0.useState(null),z=q0.useRef(J);z.current=J;let X=q0.useRef(null),W=q0.useCallback(()=>{Q(null)},[]),q=q0.useCallback((K)=>{let F=Math.max(0,K.getScrollHeight()-K.getViewportHeight());if(K.getScrollTop()+K.getPendingDelta()>=F)return;if(X.current===null)X.current=K.getScrollHeight(),Q(z.current)},[]),V=q0.useCallback((K)=>{if(!K)return;K.scrollToBottom()},[]);q0.useEffect(()=>{if(Z===null)X.current=null;else if(J<Z)X.current=null,Q(null)},[J,Z]);let Y=q0.useCallback((K,F)=>{if(Q((P)=>P===null?null:P+K),X.current!==null)X.current+=F},[]);return{dividerIndex:Z,dividerYRef:X,onScrollAway:q,onRepin:W,jumpToNew:V,shiftDivider:Y}}function Gz(J,Z){let Q=0,z=!1;for(let X=Z;X<J.length;X++){let W=J[X];if(W.type==="progress")continue;if(W.type==="assistant"&&!Lz(W))continue;let q=W.type==="assistant";if(q&&!z)Q++;z=q}return Q}function Lz(J){if(J.type!=="assistant")return!1;for(let Z of J.message.content)if(Z.type==="text"&&Z.text.trim()!=="")return!0;return!1}function zW(J,Z){if(Z===null)return;let Q=Z;while(Q<J.length&&(J[Q]?.type==="progress"||GZ(J[Q])))Q++;let z=J[Q]?.uuid;if(!z)return;let X=Gz(J,Z);return{firstUnseenUuid:z,count:Math.max(1,X)}}function XW(J){let Z=a0.c(47),{scrollable:Q,bottom:z,overlay:X,bottomFloat:W,modal:q,modalScrollRef:V,scrollRef:Y,dividerYRef:K,hidePill:F,hideSticky:P,newMessageCount:v,onPillClick:M}=J,S=F===void 0?!1:F,Z0=P===void 0?!1:P,d=v===void 0?0:v,{rows:O,columns:C}=FZ(),[_,w]=q0.useState(null),D;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))D={setStickyPrompt:w},Z[0]=D;else D=Z[0];let p=D,J0;if(Z[1]!==Y)J0=(h)=>Y?.current?.subscribe(h)??wz,Z[1]=Y,Z[2]=J0;else J0=Z[2];let E=J0,k;if(Z[3]!==K||Z[4]!==Y)k=()=>{let h=Y?.current,z0=K?.current;if(!h||z0==null)return!1;return h.getScrollTop()+h.getPendingDelta()+h.getViewportHeight()<z0},Z[3]=K,Z[4]=Y,Z[5]=k;else k=Z[5];let H0=q0.useSyncExternalStore(E,k),Y0;if(Z[6]===Symbol.for("react.memo_cache_sentinel"))Y0=[],Z[6]=Y0;else Y0=Z[6];if(q0.useLayoutEffect(Fz,Y0),c0()){let h=Z0?null:_,z0=h!=null&&h!=="clicked"&&X==null?h:null,Q0=h!=null&&X==null,X0;if(Z[7]!==z0)X0=z0&&B(Oz,{text:z0.text,onClick:z0.scrollTo}),Z[7]=z0,Z[8]=X0;else X0=Z[8];let O0=Q0?0:1,T;if(Z[9]!==Q)T=B(yZ,{value:p,children:Q}),Z[9]=Q,Z[10]=T;else T=Z[10];let i;if(Z[11]!==X||Z[12]!==Y||Z[13]!==T||Z[14]!==O0)i=$(GJ,{ref:Y,flexGrow:1,flexDirection:"column",paddingTop:O0,stickyScroll:!0,children:[T,X]}),Z[11]=X,Z[12]=Y,Z[13]=T,Z[14]=O0,Z[15]=i;else i=Z[15];let o;if(Z[16]!==S||Z[17]!==d||Z[18]!==M||Z[19]!==X||Z[20]!==H0)o=!S&&H0&&X==null&&B(Nz,{count:d,onClick:M}),Z[16]=S,Z[17]=d,Z[18]=M,Z[19]=X,Z[20]=H0,Z[21]=o;else o=Z[21];let t;if(Z[22]!==W)t=W!=null&&B(b,{position:"absolute",bottom:0,right:0,opaque:!0,children:W}),Z[22]=W,Z[23]=t;else t=Z[23];let I;if(Z[24]!==i||Z[25]!==o||Z[26]!==t||Z[27]!==X0)I=$(b,{flexGrow:1,flexDirection:"column",overflow:"hidden",children:[X0,i,o,t]}),Z[24]=i,Z[25]=o,Z[26]=t,Z[27]=X0,Z[28]=I;else I=Z[28];let W0,N;if(Z[29]===Symbol.for("react.memo_cache_sentinel"))W0=B(Az,{}),N=B(Pz,{}),Z[29]=W0,Z[30]=N;else W0=Z[29],N=Z[30];let U;if(Z[31]!==z)U=$(b,{flexDirection:"column",flexShrink:0,width:"100%",maxHeight:"50%",children:[W0,N,B(b,{flexDirection:"column",width:"100%",flexGrow:1,overflowY:"hidden",children:z})]}),Z[31]=z,Z[32]=U;else U=Z[32];let R;if(Z[33]!==C||Z[34]!==q||Z[35]!==V||Z[36]!==O)R=q!=null&&B(YJ,{value:{rows:O-QJ-1,columns:C-4,scrollRef:V??null},children:$(b,{position:"absolute",bottom:0,left:0,right:0,maxHeight:O-QJ,flexDirection:"column",overflow:"hidden",opaque:!0,children:[B(b,{flexShrink:0,children:B(g,{color:"permission",children:"▔".repeat(C)})}),B(b,{flexDirection:"column",paddingX:2,flexShrink:0,overflow:"hidden",children:q})]})}),Z[33]=C,Z[34]=q,Z[35]=V,Z[36]=O,Z[37]=R;else R=Z[37];let s;if(Z[38]!==I||Z[39]!==U||Z[40]!==R)s=$(sZ,{children:[I,U,R]}),Z[38]=I,Z[39]=U,Z[40]=R,Z[41]=s;else s=Z[41];return s}let l;if(Z[42]!==z||Z[43]!==q||Z[44]!==X||Z[45]!==Q)l=$(f0,{children:[Q,z,X,q]}),Z[42]=z,Z[43]=q,Z[44]=X,Z[45]=Q,Z[46]=l;else l=Z[46];return l}function Fz(){if(!c0())return;let J=WJ.get(process.stdout);if(!J)return;return J.onHyperlinkClick=Kz,()=>{J.onHyperlinkClick=void 0}}function Kz(J){if(J.startsWith("file:"))try{VJ(Hz(J))}catch{}else BJ(J)}function wz(){}function Nz(J){let Z=a0.c(10),{count:Q,onClick:z}=J,[X,W]=q0.useState(!1),q,V;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=()=>W(!0),V=()=>W(!1),Z[0]=q,Z[1]=V;else q=Z[0],V=Z[1];let Y=X?"userMessageBackgroundHover":"userMessageBackground",K;if(Z[2]!==Q)K=Q>0?`${Q} new ${LZ(Q,"message")}`:"Jump to bottom",Z[2]=Q,Z[3]=K;else K=Z[3];let F;if(Z[4]!==Y||Z[5]!==K)F=$(g,{backgroundColor:Y,dimColor:!0,children:[" ",K," ",v0.arrowDown," "]}),Z[4]=Y,Z[5]=K,Z[6]=F;else F=Z[6];let P;if(Z[7]!==z||Z[8]!==F)P=B(b,{position:"absolute",bottom:0,left:0,right:0,justifyContent:"center",children:B(b,{onClick:z,onMouseEnter:q,onMouseLeave:V,children:F})}),Z[7]=z,Z[8]=F,Z[9]=P;else P=Z[9];return P}function Oz(J){let Z=a0.c(8),{text:Q,onClick:z}=J,[X,W]=q0.useState(!1),q=X?"userMessageBackgroundHover":"userMessageBackground",V,Y;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))V=()=>W(!0),Y=()=>W(!1),Z[0]=V,Z[1]=Y;else V=Z[0],Y=Z[1];let K;if(Z[2]!==Q)K=$(g,{color:"subtle",wrap:"truncate-end",children:[v0.pointer," ",Q]}),Z[2]=Q,Z[3]=K;else K=Z[3];let F;if(Z[4]!==z||Z[5]!==q||Z[6]!==K)F=B(b,{flexShrink:0,width:"100%",height:1,paddingRight:1,backgroundColor:q,onClick:z,onMouseEnter:V,onMouseLeave:Y,children:K}),Z[4]=z,Z[5]=q,Z[6]=K,Z[7]=F;else F=Z[7];return F}function Az(){let J=a0.c(4),Z=eZ();if(!Z||Z.suggestions.length===0)return null;let Q;if(J[0]!==Z.maxColumnWidth||J[1]!==Z.selectedSuggestion||J[2]!==Z.suggestions)Q=B(b,{position:"absolute",bottom:"100%",left:0,right:0,paddingX:2,paddingTop:1,flexDirection:"column",opaque:!0,children:B(HJ,{suggestions:Z.suggestions,selectedSuggestion:Z.selectedSuggestion,maxColumnWidth:Z.maxColumnWidth,overlay:!0})}),J[0]=Z.maxColumnWidth,J[1]=Z.selectedSuggestion,J[2]=Z.suggestions,J[3]=Q;else Q=J[3];return Q}function Pz(){let J=a0.c(2),Z=ZJ();if(!Z)return null;let Q;if(J[0]!==Z)Q=B(b,{position:"absolute",bottom:"100%",left:0,right:0,opaque:!0,children:Z}),J[0]=Z,J[1]=Q;else Q=J[1];return Q}var a0,q0,QJ=2,yZ;var LJ=L0(()=>{zJ();qz();JJ();qJ();Bz();Wz();p0();Yz();vZ();XJ();CZ();Vz();F0();a0=N0(u0(),1),q0=N0(S0(),1),yZ=q0.createContext({setStickyPrompt:()=>{}})});function FJ(J,Z){for(let Q of J)if(!Z.has(Q))return!1;return!0}var KJ=()=>{};function wJ(J){if(J.type!=="user")return!1;let Z=J.message.content[0];if(Z?.type!=="text")return!1;if(!Z.text.includes(`<${KZ}`))return!1;if(_Z(Z.text,wZ)!=="completed")return!1;return _Z(Z.text,NZ)?.startsWith(NJ)??!1}function OJ(J,Z){if(!c0())return J;if(Z)return J;let Q=[],z=0;while(z<J.length){let X=J[z];if(wJ(X)){let W=0;while(z<J.length&&wJ(J[z]))W++,z++;if(W===1)Q.push(X);else Q.push({...X,message:{role:"user",content:[{type:"text",text:`<${KZ}><${wZ}>completed</${wZ}><${NZ}>${W} background commands completed</${NZ}></${KZ}>`}]}})}else Q.push(X),z++}return Q}var AJ=L0(()=>{Dz();Uz();vZ();OZ()});function PJ(J){return J.type==="system"&&J.subtype==="stop_hook_summary"&&J.hookLabel!==void 0}function DJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(PJ(z)){let X=z.hookLabel,W=[];while(Q<J.length){let q=J[Q];if(!PJ(q)||q.hookLabel!==X)break;W.push(q),Q++}if(W.length===1)Z.push(z);else Z.push({...z,hookCount:W.reduce((q,V)=>q+V.hookCount,0),hookInfos:W.flatMap((q)=>q.hookInfos),hookErrors:W.flatMap((q)=>q.hookErrors),preventedContinuation:W.some((q)=>q.preventedContinuation),hasOutput:W.some((q)=>q.hasOutput),totalDurationMs:Math.max(...W.map((q)=>q.totalDurationMs??0))})}else Z.push(z),Q++}return Z}var UJ=()=>{};function jJ(J){return J.type==="attachment"&&J.attachment.type==="task_status"&&J.attachment.taskType==="in_process_teammate"&&J.attachment.status==="completed"}function MJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(jJ(z)){let X=0;while(Q<J.length&&jJ(J[Q]))X++,Q++;if(X===1)Z.push(z);else Z.push({type:"attachment",uuid:z.uuid,timestamp:z.timestamp,attachment:{type:"teammate_shutdown_batch",count:X}})}else Z.push(z),Q++}return Z}var EJ=()=>{};function jz(J){let Z=bJ.get(J);if(!Z)Z=new Set(J.filter((Q)=>Q.renderGroupedToolUse).map((Q)=>Q.name)),bJ.set(J,Z);return Z}function kZ(J){if(J.type==="assistant"&&J.message.content[0]?.type==="tool_use"){let Z=J.message.content[0];return{messageId:J.message.id,toolUseId:Z.id,toolName:Z.name}}return null}function CJ(J,Z,Q=!1){if(Q)return{messages:J};let z=jz(Z),X=new Map;for(let F of J){let P=kZ(F);if(P&&z.has(P.toolName)){let v=`${P.messageId}:${P.toolName}`,M=X.get(v)??[];M.push(F),X.set(v,M)}}let W=new Map,q=new Set;for(let[F,P]of X)if(P.length>=2){W.set(F,P);for(let v of P){let M=kZ(v);if(M)q.add(M.toolUseId)}}let V=new Map;for(let F of J)if(F.type==="user"){for(let P of F.message.content)if(P.type==="tool_result"&&q.has(P.tool_use_id))V.set(P.tool_use_id,F)}let Y=[],K=new Set;for(let F of J){let P=kZ(F);if(P){let v=`${P.messageId}:${P.toolName}`,M=W.get(v);if(M){if(!K.has(v)){K.add(v);let S=M[0],Z0=[];for(let O of M){let C=O.message.content[0].id,_=V.get(C);if(_)Z0.push(_)}let d={type:"grouped_tool_use",toolName:P.toolName,messages:M,results:Z0,displayMessage:S,uuid:`grouped-${S.uuid}`,timestamp:S.timestamp,messageId:P.messageId};Y.push(d)}continue}}if(F.type==="user"){let v=F.message.content.filter((M)=>M.type==="tool_result");if(v.length>0){if(v.every((S)=>q.has(S.tool_use_id)))continue}}Y.push(F)}return{messages:Y}}var bJ;var vJ=L0(()=>{bJ=new WeakMap});function AZ(J){let Z=kJ.get(J);if(Z!==void 0)return Z;let Q=Mz(J).toLowerCase();return kJ.set(J,Q),Q}function Mz(J){let Z="";switch(J.type){case"user":{let X=J.message.content;if(typeof X==="string")Z=_J.has(X)?"":X;else{let W=[];for(let q of X)if(q.type==="text"){if(!_J.has(q.text))W.push(q.text)}else if(q.type==="tool_result")W.push(bz(J.toolUseResult));Z=W.join(`
2
+ `)}break}case"assistant":{let X=J.message.content;if(Array.isArray(X))Z=X.flatMap((W)=>{if(W.type==="text")return[W.text];if(W.type==="tool_use")return[Ez(W.input)];return[]}).join(`
3
+ `);break}case"attachment":{if(J.attachment.type==="relevant_memories")Z=J.attachment.memories.map((X)=>X.content).join(`
4
+ `);else if(J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let X=J.attachment.prompt;Z=typeof X==="string"?X:X.flatMap((W)=>W.type==="text"?[W.text]:[]).join(`
5
+ `)}break}case"collapsed_read_search":{if(J.relevantMemories)Z=J.relevantMemories.map((X)=>X.content).join(`
6
+ `);break}default:break}let Q=Z,z=Q.indexOf("<system-reminder>");while(z>=0){let X=Q.indexOf(yJ,z);if(X<0)break;Q=Q.slice(0,z)+Q.slice(X+yJ.length),z=Q.indexOf("<system-reminder>")}return Q}function Ez(J){if(!J||typeof J!=="object")return"";let Z=J,Q=[];for(let z of["command","pattern","file_path","path","prompt","description","query","url","skill"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["args","files"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(" "))}return Q.join(`
7
+ `)}function bz(J){if(!J||typeof J!=="object")return typeof J==="string"?J:"";let Z=J;if(typeof Z.stdout==="string"){let z=typeof Z.stderr==="string"?Z.stderr:"";return Z.stdout+(z?`
8
+ `+z:"")}if(Z.file&&typeof Z.file==="object"&&typeof Z.file.content==="string")return Z.file.content;let Q=[];for(let z of["content","output","result","text","message"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["filenames","lines","results"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(`
9
+ `))}return Q.join(`
10
+ `)}var yJ="</system-reminder>",_J,kJ;var IZ=L0(()=>{OZ();_J=new Set([IJ,SJ]),kJ=new WeakMap});function RJ(J){let Z=hJ.c(5),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.type==="assistant"&&Q.message.model&&Q.message.content.some(Cz)))return null;let W=PZ(Q.message.model)+8,q;if(Z[0]!==Q.message.model)q=B(g,{dimColor:!0,children:Q.message.model}),Z[0]=Q.message.model,Z[1]=q;else q=Z[1];let V;if(Z[2]!==W||Z[3]!==q)V=B(b,{minWidth:W,children:q}),Z[2]=W,Z[3]=q,Z[4]=V;else V=Z[4];return V}function Cz(J){return J.type==="text"}var hJ;var xJ=L0(()=>{TJ();p0();F0();hJ=N0(u0(),1)});function uJ(J){let Z=$J.c(10),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.timestamp&&Q.type==="assistant"&&Q.message.content.some(vz)))return null;let W,q,V;if(Z[0]!==Q.timestamp)q=new Date(Q.timestamp).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0}),W=b,V=PZ(q),Z[0]=Q.timestamp,Z[1]=W,Z[2]=q,Z[3]=V;else W=Z[1],q=Z[2],V=Z[3];let Y;if(Z[4]!==q)Y=B(g,{dimColor:!0,children:q}),Z[4]=q,Z[5]=Y;else Y=Z[5];let K;if(Z[6]!==W||Z[7]!==V||Z[8]!==Y)K=B(W,{minWidth:V,children:Y}),Z[6]=W,Z[7]=V,Z[8]=Y,Z[9]=K;else K=Z[9];return K}function vz(J){return J.type==="text"}var $J;var fJ=L0(()=>{TJ();p0();F0();$J=N0(u0(),1)});function aJ(J,Z,Q,z){for(let X=Z+1;X<J.length;X++){let W=J[X];if(W?.type==="assistant"){let q=W.message.content[0];if(q?.type==="thinking"||q?.type==="redacted_thinking")continue;if(q?.type==="tool_use"){if(SZ(q.name,q.input,Q).isCollapsible)continue;if(z.has(q.id))continue}return!0}if(W?.type==="system"||W?.type==="attachment")continue;if(W?.type==="user"){if(W.message.content[0]?.type==="tool_result")continue}if(W?.type==="grouped_tool_use"){let q=W.messages[0]?.message.content[0]?.input;if(SZ(W.toolName,q,Q).isCollapsible)continue}return!0}return!1}function _z(J){let Z=iJ.c(64),{message:Q,isUserContinuation:z,hasContentAfter:X,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,streamingToolUseIDs:K,screen:F,canAnimate:P,onOpenRateLimitOptions:v,lastThinkingBlockId:M,latestBashOutputUUID:S,columns:Z0,isLoading:d,lookups:O}=J,C=F==="transcript",_=Q.type==="grouped_tool_use",w=Q.type==="collapsed_read_search",D;if(Z[0]!==X||Z[1]!==Y||Z[2]!==w||Z[3]!==d||Z[4]!==Q)D=w&&(TZ(Q,Y)||d&&!X),Z[0]=X,Z[1]=Y,Z[2]=w,Z[3]=d,Z[4]=Q,Z[5]=D;else D=Z[5];let p=D,J0;if(Z[6]!==w||Z[7]!==_||Z[8]!==Q)J0=_?Q.displayMessage:w?dJ(Q):Q,Z[6]=w,Z[7]=_,Z[8]=Q,Z[9]=J0;else J0=Z[9];let E=J0,k;if(Z[10]!==w||Z[11]!==_||Z[12]!==O||Z[13]!==Q)k=_||w?[]:ZQ(Q,O),Z[10]=w,Z[11]=_,Z[12]=O,Z[13]=Q,Z[14]=k;else k=Z[14];let H0=k,Y0;if(Z[15]!==Y||Z[16]!==w||Z[17]!==_||Z[18]!==O||Z[19]!==Q||Z[20]!==F||Z[21]!==K){let I=_||w?pJ:eJ(Q,O);Y0=tJ(Q,K,Y,I,F,O),Z[15]=Y,Z[16]=w,Z[17]=_,Z[18]=O,Z[19]=Q,Z[20]=F,Z[21]=K,Z[22]=Y0}else Y0=Z[22];let l=Y0,h=!1;if(P)if(_){let I;if(Z[23]!==Y||Z[24]!==Q.messages){let W0;if(Z[26]!==Y)W0=(N)=>{let U=N.message.content[0];return U?.type==="tool_use"&&Y.has(U.id)},Z[26]=Y,Z[27]=W0;else W0=Z[27];I=Q.messages.some(W0),Z[23]=Y,Z[24]=Q.messages,Z[25]=I}else I=Z[25];h=I}else if(w){let I;if(Z[28]!==Y||Z[29]!==Q)I=TZ(Q,Y),Z[28]=Y,Z[29]=Q,Z[30]=I;else I=Z[30];h=I}else{let I;if(Z[31]!==Y||Z[32]!==Q){let W0=g0(Q);I=!W0||Y.has(W0),Z[31]=Y,Z[32]=Q,Z[33]=I}else I=Z[33];h=I}let z0;if(Z[34]!==E||Z[35]!==C)z0=C&&E.type==="assistant"&&E.message.content.some(kz)&&(E.timestamp||E.message.model),Z[34]=E,Z[35]=C,Z[36]=z0;else z0=Z[36];let Q0=z0,X0=!Q0,O0=Q0?void 0:Z0,T;if(Z[37]!==q||Z[38]!==Y||Z[39]!==p||Z[40]!==l||Z[41]!==C||Z[42]!==z||Z[43]!==M||Z[44]!==S||Z[45]!==O||Z[46]!==Q||Z[47]!==v||Z[48]!==H0||Z[49]!==h||Z[50]!==X0||Z[51]!==O0||Z[52]!==W||Z[53]!==V)T=B(nJ,{message:Q,lookups:O,addMargin:X0,containerWidth:O0,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,progressMessagesForMessage:H0,shouldAnimate:h,shouldShowDot:!0,isTranscriptMode:C,isStatic:l,onOpenRateLimitOptions:v,isActiveCollapsedGroup:p,isUserContinuation:z,lastThinkingBlockId:M,latestBashOutputUUID:S}),Z[37]=q,Z[38]=Y,Z[39]=p,Z[40]=l,Z[41]=C,Z[42]=z,Z[43]=M,Z[44]=S,Z[45]=O,Z[46]=Q,Z[47]=v,Z[48]=H0,Z[49]=h,Z[50]=X0,Z[51]=O0,Z[52]=W,Z[53]=V,Z[54]=T;else T=Z[54];let i=T;if(!Q0){let I;if(Z[55]!==i)I=B(e0,{children:i}),Z[55]=i,Z[56]=I;else I=Z[56];return I}let o;if(Z[57]!==E||Z[58]!==C)o=$(b,{flexDirection:"row",justifyContent:"flex-end",gap:1,marginTop:1,children:[B(uJ,{message:E,isTranscriptMode:C}),B(RJ,{message:E,isTranscriptMode:C})]}),Z[57]=E,Z[58]=C,Z[59]=o;else o=Z[59];let t;if(Z[60]!==Z0||Z[61]!==i||Z[62]!==o)t=B(e0,{children:$(b,{width:Z0,flexDirection:"column",children:[o,i]})}),Z[60]=Z0,Z[61]=i,Z[62]=o,Z[63]=t;else t=Z[63];return t}function kz(J){return J.type==="text"}function Iz(J,Z){if(J.type==="grouped_tool_use")return J.messages.some((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return hZ(J).some((X)=>Z.has(X));let Q=g0(J);return!!Q&&Z.has(Q)}function Sz(J,Z){if(J.type==="grouped_tool_use")return J.messages.every((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return hZ(J).every((X)=>Z.has(X));if(J.type==="assistant"){let z=J.message.content[0];if(z?.type==="server_tool_use")return Z.has(z.id)}let Q=g0(J);return!Q||Z.has(Q)}function Tz(J,Z){if(J.message!==Z.message)return!1;if(J.screen!==Z.screen)return!1;if(J.verbose!==Z.verbose)return!1;if(J.message.type==="collapsed_read_search"&&Z.screen!=="transcript")return!1;if(J.columns!==Z.columns)return!1;let Q=J.latestBashOutputUUID===J.message.uuid,z=Z.latestBashOutputUUID===Z.message.uuid;if(Q!==z)return!1;if(J.lastThinkingBlockId!==Z.lastThinkingBlockId&&mJ(Z.message))return!1;let X=Iz(J.message,J.streamingToolUseIDs),W=Sz(J.message,J.lookups.resolvedToolUseIDs);if(X||!W)return!1;return!0}var iJ,lJ,rJ;var oJ=L0(()=>{p0();cJ();OZ();yz();xJ();sJ();fJ();gJ();F0();iJ=N0(u0(),1),lJ=N0(S0(),1);rJ=lJ.memo(_z,Tz)});import{relative as pz}from"path";function qQ(J){return lz.filter((Z)=>Z.isActive(J))}var dz,cz,gz,mz,nz,iz,lz;var YQ=L0(()=>{p0();BQ();zJ();Rz();hz();xz();fz();uz();$z();F0();dz={id:"large-memory-files",type:"warning",isActive:(J)=>fZ(J.memoryFiles).length>0,render:(J)=>{let Z=fZ(J.memoryFiles);return B(f0,{children:Z.map((Q)=>{let z=Q.path.startsWith(RZ())?pz(RZ(),Q.path):Q.path;return $(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Large ",B(g,{bold:!0,children:z})," will impact performance (",ZZ(Q.content.length)," chars >"," ",ZZ(VQ),")",B(g,{dimColor:!0,children:" · /memory to edit"})]})]},Q.path)})})}},cz={id:"claude-ai-external-token",type:"warning",isActive:()=>{let J=JZ();return QQ()&&(J.source==="ANTHROPIC_AUTH_TOKEN"||J.source==="apiKeyHelper")},render:()=>{let J=JZ();return $(b,{flexDirection:"row",marginTop:1,children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Using ",J.source," instead of Claude account subscription token. Either unset ",J.source,", or run `claude /logout`."]})]})}},gz={id:"api-key-conflict",type:"warning",isActive:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0});return!!JQ()&&(J==="ANTHROPIC_API_KEY"||J==="apiKeyHelper")},render:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0});return $(b,{flexDirection:"row",marginTop:1,children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Using ",J," instead of Anthropic Console key. Either unset ",J,", or run `claude /logout`."]})]})}},mz={id:"both-auth-methods",type:"warning",isActive:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0}),Z=JZ();return J!=="none"&&Z.source!=="none"&&!(J==="apiKeyHelper"&&Z.source==="apiKeyHelper")},render:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0}),Z=JZ();return $(b,{flexDirection:"column",marginTop:1,children:[$(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Both a token (",Z.source,") and an API key (",J,") are set. This may lead to unexpected behavior."]})]}),$(b,{flexDirection:"column",marginLeft:3,children:[$(g,{color:"warning",children:["· Trying to use"," ",Z.source==="claude.ai"?"claude.ai":Z.source,"?"," ",J==="ANTHROPIC_API_KEY"?'Unset the ANTHROPIC_API_KEY environment variable, or claude /logout then say "No" to the API key approval before login.':J==="apiKeyHelper"?"Unset the apiKeyHelper setting.":"claude /logout"]}),$(g,{color:"warning",children:["· Trying to use ",J,"?"," ",Z.source==="claude.ai"?"claude /logout to sign out of claude.ai.":`Unset the ${Z.source} environment variable.`]})]})]})}},nz={id:"large-agent-descriptions",type:"warning",isActive:(J)=>{return uZ(J.agentDefinitions)>$Z},render:(J)=>{let Z=uZ(J.agentDefinitions);return $(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Large cumulative agent descriptions will impact performance (~",ZZ(Z)," tokens >"," ",ZZ($Z),")",B(g,{dimColor:!0,children:" · /agents to manage"})]})]})}},iz={id:"jetbrains-plugin-install",type:"info",isActive:(J)=>{if(!XQ())return!1;if(!(J.config.autoInstallIdeExtension??!0))return!1;let Q=xZ();return Q!==null&&!zQ(Q)},render:()=>{let J=xZ(),Z=WQ(J);return $(b,{flexDirection:"row",gap:1,marginLeft:1,children:[B(g,{color:"ide",children:v0.arrowUp}),$(g,{children:["Install the ",B(g,{color:"ide",children:Z})," plugin from the JetBrains Marketplace:"," ",B(g,{bold:!0,children:"https://docs.claude.com/s/claude-code-jetbrains"})]})]})}},lz=[dz,nz,cz,gz,mz,iz]});async function az(){if(zZ)return zZ;return zZ=KQ().then((J)=>{XZ=J}).finally(()=>{zZ=null}),zZ}function LQ(J){let Z=GQ.c(8),{agentDefinitions:Q}=J===void 0?{}:J,[z,X]=r0.useState(XZ),W;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))W=()=>{if(XZ.length>0){X(XZ);return}az().then(()=>{X(XZ)})},Z[0]=W;else W=Z[0];r0.useEffect(W,[W]);let V={config:DZ(),agentDefinitions:Q,memoryFiles:z},Y=qQ(V);if(Y.length===0)return null;let K=b,F="column",P=1,v=Y.map((S)=>B(r0.Fragment,{children:S.render(V)},S.id)),M;if(Z[1]!==K||Z[2]!==v)M=B(K,{flexDirection:F,paddingLeft:P,children:v}),Z[1]=K,Z[2]=v,Z[3]=M;else M=Z[3];return M}var GQ,r0,XZ,zZ=null;var FQ=L0(()=>{p0();BQ();HQ();YQ();F0();GQ=N0(u0(),1),r0=N0(S0(),1),XZ=[]});function wQ(J,Z,Q){let z=m.useRef(new Map),X=m.useRef(0),W=m.useRef(0),q=m.useRef({arr:new Float64Array(0),version:-1,n:-1}),V=m.useRef(new Map),Y=m.useRef(new Map),K=m.useRef(Q),F=m.useRef(!1),P=m.useRef(null),v=m.useRef(0);if(K.current!==Q){let N=K.current/Q;K.current=Q;for(let[U,R]of z.current)z.current.set(U,Math.max(1,Math.round(R*N)));X.current++,F.current=!0,v.current=2}let M=v.current>0?P.current:null,S=m.useRef(0),Z0=m.useRef(null),d=m.useCallback((N)=>J.current?.subscribe(N)??sz,[J]);m.useSyncExternalStore(d,()=>{let N=J.current;if(!N)return NaN;let U=N.getScrollTop()+N.getPendingDelta(),R=Math.floor(U/tz);return N.isSticky()?~R:R});let O=J.current?.getScrollTop()??-1,C=J.current?.getPendingDelta()??0,_=J.current?.getViewportHeight()??0,w=J.current?.isSticky()??!0;m.useMemo(()=>{let N=new Set(Z),U=!1;for(let R of z.current.keys())if(!N.has(R))z.current.delete(R),U=!0;for(let R of Y.current.keys())if(!N.has(R))Y.current.delete(R);if(U)X.current++},[Z]);let D=Z.length;if(q.current.version!==X.current||q.current.n!==D){let N=q.current.arr.length>=D+1?q.current.arr:new Float64Array(D+1);N[0]=0;for(let U=0;U<D;U++)N[U+1]=N[U]+(z.current.get(Z[U])??rz);q.current={arr:N,version:X.current,n:D}}let p=q.current.arr,J0=p[D],E,k;if(M)[E,k]=M,E=Math.min(E,D),k=Math.min(k,D);else if(_===0||O<0)E=Math.max(0,D-oz),k=D;else{if(w){let V0=_+o0;E=D;while(E>0&&J0-p[E-1]<V0)E--;k=D}else{let V0=S.current,G0=_*3,M0=Math.min(O,O+C),n0=Math.max(O,O+C),y0=n0-M0,D0=y0>G0?C<0?n0-G0:M0:M0,T0=D0+Math.min(y0,G0),i0=Math.max(0,D0-V0),h0=T0-V0,b0=i0-o0;{let H=0,L=D;while(H<L){let A=H+L>>1;if(p[A+1]<=b0)H=A+1;else L=A}E=H}{let H=P.current;if(H&&H[0]<E)for(let L=H[0];L<Math.min(E,H[1]);L++){let A=Z[L];if(V.current.has(A)&&!z.current.has(A)){E=L;break}}}let l0=_+2*o0,t0=Math.min(D,E+WZ),_0=0;k=E;while(k<t0&&(_0<l0||p[k]<h0+_+o0))_0+=z.current.get(Z[k])??pZ,k++}let N=_+2*o0,U=Math.max(0,k-WZ),R=0;for(let V0=E;V0<k;V0++)R+=z.current.get(Z[V0])??pZ;while(E>U&&R<N)E--,R+=z.current.get(Z[E])??pZ;let s=P.current,A0=Math.abs(O-W.current)+Math.abs(C);if(s&&A0>_*2){let[V0,G0]=s;if(E<V0-qZ)E=V0-qZ;if(k>G0+qZ)k=G0+qZ;if(E>k)k=Math.min(E+qZ,D)}W.current=O}if(v.current>0)v.current--;else P.current=[E,k];let H0=m.useDeferredValue(E),Y0=m.useDeferredValue(k),l=E<H0?H0:E,h=k>Y0?Y0:k;if(l>h||w)l=E,h=k;if(C>0)h=k;if(h-l>WZ){let N=(p[l]+p[h])/2;if(O-S.current<N)h=l+WZ;else l=h-WZ}let z0=S.current,Q0=p[l],X0=l===0?0:Q0+z0,O0=h===D?1/0:Math.max(Q0,p[h]-_)+z0;m.useLayoutEffect(()=>{if(w)J.current?.setClampBounds(void 0,void 0);else J.current?.setClampBounds(X0,O0)}),m.useLayoutEffect(()=>{let N=Z0.current?.yogaNode;if(N&&N.getComputedWidth()>0)S.current=N.getComputedTop();if(F.current){F.current=!1;return}let U=!1;for(let[R,s]of V.current){let A0=s.yogaNode;if(!A0)continue;let V0=A0.getComputedHeight(),G0=z.current.get(R);if(V0>0){if(G0!==V0)z.current.set(R,V0),U=!0}else if(A0.getComputedWidth()>0&&G0!==0)z.current.set(R,0),U=!0}if(U)X.current++});let T=m.useCallback((N)=>{let U=Y.current.get(N);if(!U)U=(R)=>{if(R)V.current.set(N,R);else{let s=V.current.get(N)?.yogaNode;if(s&&!F.current){let A0=s.getComputedHeight();if((A0>0||s.getComputedWidth()>0)&&z.current.get(N)!==A0)z.current.set(N,A0),X.current++}V.current.delete(N)}},Y.current.set(N,U);return U},[]),i=m.useCallback((N)=>{let U=V.current.get(Z[N])?.yogaNode;if(!U||U.getComputedWidth()===0)return-1;return U.getComputedTop()},[Z]),o=m.useCallback((N)=>V.current.get(Z[N])??null,[Z]),t=m.useCallback((N)=>z.current.get(Z[N]),[Z]),I=m.useCallback((N)=>{let U=q.current;if(N<0||N>=U.n)return;J.current?.scrollTo(U.arr[N]+S.current)},[J]),W0=J0-p[h];return{range:[l,h],topSpacer:Q0,bottomSpacer:W0,measureRef:T,spacerRef:Z0,offsets:p,getItemTop:i,getItemElement:o,getItemHeight:t,scrollToIndex:I}}var m,rz=3,o0=80,oz=30,tz,pZ=1,WZ=300,qZ=25,sz=()=>{};var NQ=L0(()=>{m=N0(S0(),1),tz=o0>>1});function QX(J){let Z=OQ.get(J);if(Z!==void 0)return Z;let Q=AZ(J);return OQ.set(J,Q),Q}function XX(J){let Z=AQ.get(J);if(Z!==void 0)return Z;let Q=WX(J);return AQ.set(J,Q),Q}function WX(J){let Z=null;if(J.type==="user"){if(J.isMeta||J.isVisibleInTranscriptOnly)return null;let z=J.message.content[0];if(z?.type!=="text")return null;Z=z.text}else if(J.type==="attachment"&&J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let z=J.attachment.prompt;Z=typeof z==="string"?z:z.flatMap((X)=>X.type==="text"?[X.text]:[]).join(`
11
+ `)}if(Z===null)return null;let Q=MQ(Z);if(Q.startsWith("<")||Q==="")return null;return Q}function qX(J){let Z=bQ.c(30),{itemKey:Q,msg:z,idx:X,measureRef:W,expanded:q,hovered:V,clickable:Y,onClickK:K,onEnterK:F,onLeaveK:P,renderItem:v}=J,M;if(Z[0]!==Q||Z[1]!==W)M=W(Q),Z[0]=Q,Z[1]=W,Z[2]=M;else M=Z[2];let S=q?"userMessageBackgroundHover":void 0,Z0=q?1:void 0,d;if(Z[3]!==Y||Z[4]!==z||Z[5]!==K)d=Y?(J0)=>K(z,J0.cellIsBlank):void 0,Z[3]=Y,Z[4]=z,Z[5]=K,Z[6]=d;else d=Z[6];let O;if(Z[7]!==Y||Z[8]!==Q||Z[9]!==F)O=Y?()=>F(Q):void 0,Z[7]=Y,Z[8]=Q,Z[9]=F,Z[10]=O;else O=Z[10];let C;if(Z[11]!==Y||Z[12]!==Q||Z[13]!==P)C=Y?()=>P(Q):void 0,Z[11]=Y,Z[12]=Q,Z[13]=P,Z[14]=C;else C=Z[14];let _=V&&!q?"text":void 0,w;if(Z[15]!==X||Z[16]!==z||Z[17]!==v)w=v(z,X),Z[15]=X,Z[16]=z,Z[17]=v,Z[18]=w;else w=Z[18];let D;if(Z[19]!==_||Z[20]!==w)D=B(DQ.Provider,{value:_,children:w}),Z[19]=_,Z[20]=w,Z[21]=D;else D=Z[21];let p;if(Z[22]!==M||Z[23]!==S||Z[24]!==Z0||Z[25]!==d||Z[26]!==O||Z[27]!==C||Z[28]!==D)p=B(b,{ref:M,flexDirection:"column",backgroundColor:S,paddingBottom:Z0,onClick:d,onMouseEnter:O,onMouseLeave:C,children:D}),Z[22]=M,Z[23]=S,Z[24]=Z0,Z[25]=d,Z[26]=O,Z[27]=C,Z[28]=D,Z[29]=p;else p=Z[29];return p}function CQ({messages:J,scrollRef:Z,columns:Q,itemKey:z,renderItem:X,onItemClick:W,isItemClickable:q,isItemExpanded:V,extractSearchText:Y=QX,trackStickyPrompt:K,selectedIndex:F,cursorNavRef:P,setCursor:v,jumpRef:M,onSearchMatchesChange:S,scanElement:Z0,setPositions:d}){let O=y.useRef([]),C=y.useRef(J),_=y.useRef(z);if(_.current!==z||J.length<O.current.length||J[0]!==C.current[0])O.current=J.map((H)=>z(H));else for(let H=O.current.length;H<J.length;H++)O.current.push(z(J[H]));C.current=J,_.current=z;let w=O.current,{range:D,topSpacer:p,bottomSpacer:J0,measureRef:E,spacerRef:k,offsets:H0,getItemTop:Y0,getItemElement:l,getItemHeight:h,scrollToIndex:z0}=wQ(Z,w,Q),[Q0,X0]=D,O0=y.useCallback((H)=>{if(h(H)===0)return!1;return UQ(J[H])},[h,J]);y.useImperativeHandle(P,()=>{let H=(u)=>v?.({uuid:u.uuid,msgType:u.type,expanded:!1,toolName:jQ(u)?.name}),L=F??-1,A=(u,n,r=O0)=>{for(let c=u;c>=0&&c<J.length;c+=n)if(r(c))return H(J[c]),!0;return!1},x=(u)=>O0(u)&&J[u].type==="user";return{enterCursor:()=>A(J.length-1,-1,x),navigatePrev:()=>A(L-1,-1),navigateNext:()=>{if(A(L+1,1))return;Z.current?.scrollToBottom(),v?.(null)},navigatePrevUser:()=>A(L-1,-1,x),navigateNextUser:()=>A(L+1,1,x),navigateTop:()=>A(0,1),navigateBottom:()=>A(J.length-1,-1),getSelected:()=>L>=0?J[L]??null:null}},[J,F,v,O0]);let T=y.useRef({offsets:H0,start:Q0,getItemElement:l,getItemTop:Y0,messages:J,scrollToIndex:z0});T.current={offsets:H0,start:Q0,getItemElement:l,getItemTop:Y0,messages:J,scrollToIndex:z0},y.useEffect(()=>{if(F===void 0)return;let H=T.current,L=H.getItemElement(F);if(L)Z.current?.scrollToElement(L,1);else H.scrollToIndex(F)},[F,Z]);let i=y.useRef(null),o=y.useRef({msgIdx:-1,positions:[]}),t=y.useRef(-1),I=y.useRef(0),W0=y.useRef(0),N=y.useRef(()=>{}),U=y.useRef(()=>{}),R=y.useRef({matches:[],ptr:0,screenOrd:0,prefixSum:[]}),s=y.useRef(-1),A0=y.useRef(!1);function V0(H){let L=T.current.getItemTop(H);return Math.max(0,L-dZ)}function G0(H){let L=Z.current,{msgIdx:A,positions:x}=o.current;if(!L||x.length===0||A<0){d?.(null);return}let u=Math.max(0,Math.min(H,x.length-1)),n=x[u],r=T.current.getItemTop(A),c=L.getViewportTop(),e=r-L.getScrollTop(),R0=L.getViewportHeight(),P0=c+e+n.row;if(P0<c||P0>=c+R0)L.scrollTo(Math.max(0,r+n.row-dZ)),e=r-L.getScrollTop(),P0=c+e+n.row;d?.({positions:x,rowOffset:c+e,currentIdx:u});let E0=R.current,U0=E0.prefixSum.at(-1)??0,j0=(E0.prefixSum[E0.ptr]??0)+u+1;S?.(U0,j0),m0(`highlight(i=${A}, ord=${u}/${x.length}): pos={row:${n.row},col:${n.col}} lo=${e} screenRow=${P0} badge=${j0}/${U0}`)}U.current=G0;let[M0,n0]=y.useState(0),y0=y.useCallback(()=>n0((H)=>H+1),[]);y.useEffect(()=>{let H=i.current;if(!H)return;let{idx:L,wantLast:A,tries:x}=H,u=Z.current;if(!u)return;let{getItemElement:n,getItemTop:r,scrollToIndex:c}=T.current,e=n(L),R0=e?.yogaNode?.getComputedHeight()??0;if(!e||R0===0){if(x>1){i.current=null,m0(`seek(i=${L}): no mount after scrollToIndex, skip`),N.current(A?-1:1);return}i.current={idx:L,wantLast:A,tries:x+1},c(L),y0();return}i.current=null,u.scrollTo(Math.max(0,r(L)-dZ));let P0=Z0?.(e)??[];if(o.current={msgIdx:L,positions:P0},m0(`seek(i=${L} t=${x}): ${P0.length} positions`),P0.length===0){if(++I.current>20){I.current=0;return}N.current(A?-1:1);return}I.current=0;let E0=A?P0.length-1:0;R.current.screenOrd=E0,t.current=-1,U.current(E0);let U0=W0.current;if(U0)W0.current=0,N.current(U0)},[M0]);function D0(H,L){let A=Z.current;if(!A)return;let x=T.current,{getItemElement:u,scrollToIndex:n}=x;if(H<0||H>=x.messages.length)return;d?.(null),o.current={msgIdx:-1,positions:[]},i.current={idx:H,wantLast:L,tries:0};let r=u(H),c=r?.yogaNode?.getComputedHeight()??0;if(r&&c>0)A.scrollTo(V0(H));else n(H);y0()}function T0(H){let L=R.current,{matches:A,prefixSum:x}=L,u=x.at(-1)??0;if(A.length===0)return;if(i.current){W0.current=H;return}if(t.current<0)t.current=L.ptr;let{positions:n}=o.current,r=L.screenOrd+H;if(r>=0&&r<n.length){L.screenOrd=r,G0(r),t.current=-1;return}let c=(L.ptr+H+A.length)%A.length;if(c===t.current){d?.(null),t.current=-1,m0(`step: wraparound at ptr=${c}, all ${A.length} msgs phantoms`);return}L.ptr=c,L.screenOrd=0,D0(A[c],H<0);let e=H<0?x[c+1]??u:x[c]+1;S?.(u,e)}N.current=T0,y.useImperativeHandle(M,()=>({jumpToIndex:(H)=>{let L=Z.current;if(L)L.scrollTo(V0(H))},setSearchQuery:(H)=>{i.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1,d?.(null);let L=H.toLowerCase(),A=[],x=[0];if(L){let U0=T.current.messages;for(let j0=0;j0<U0.length;j0++){let k0=Y(U0[j0]),G=k0.indexOf(L),j=0;while(G>=0)j++,G=k0.indexOf(L,G+L.length);if(j>0)A.push(j0),x.push(x.at(-1)+j)}}let u=x.at(-1),n=0,r=Z.current,{offsets:c,start:e,getItemTop:R0}=T.current,P0=R0(e),E0=P0>=0?P0-c[e]:0;if(A.length>0&&r){let U0=s.current>=0?s.current:r.getScrollTop(),j0=1/0;for(let k0=0;k0<A.length;k0++){let G=Math.abs(E0+c[A[k0]]-U0);if(G<=j0)j0=G,n=k0}m0(`setSearchQuery('${H}'): ${A.length} msgs · ptr=${n} msgIdx=${A[n]} curTop=${U0} origin=${E0}`)}if(R.current={matches:A,ptr:n,screenOrd:0,prefixSum:x},A.length>0)D0(A[n],!0);else if(s.current>=0&&r)r.scrollTo(s.current);S?.(u,A.length>0?x[n+1]??u:0)},nextMatch:()=>T0(1),prevMatch:()=>T0(-1),setAnchor:()=>{let H=Z.current;if(H)s.current=H.getScrollTop()},disarmSearch:()=>{d?.(null),i.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1},warmSearchIndex:async()=>{if(A0.current)return 0;let H=T.current.messages,L=500,A=0,x=performance.now();for(let n=0;n<H.length;n+=L){await PQ(0);let r=performance.now(),c=Math.min(n+L,H.length);for(let e=n;e<c;e++)Y(H[e]);A+=performance.now()-r}let u=Math.round(performance.now()-x);return m0(`warmSearchIndex: ${H.length} msgs · work=${Math.round(A)}ms wall=${u}ms chunks=${Math.ceil(H.length/L)}`),A0.current=!0,Math.round(A)}}),[Z]);let[i0,h0]=y.useState(null),b0=y.useRef({onItemClick:W,setHoveredKey:h0});b0.current={onItemClick:W,setHoveredKey:h0};let l0=y.useCallback((H,L)=>{let A=b0.current;if(!L&&A.onItemClick)A.onItemClick(H)},[]),t0=y.useCallback((H)=>{b0.current.setHoveredKey(H)},[]),_0=y.useCallback((H)=>{b0.current.setHoveredKey((L)=>L===H?null:L)},[]);return $(f0,{children:[B(b,{ref:k,height:p,flexShrink:0}),J.slice(Q0,X0).map((H,L)=>{let A=Q0+L,x=w[A],u=!!W&&(q?.(H)??!0),n=u&&i0===x,r=V?.(H);return B(qX,{itemKey:x,msg:H,idx:A,measureRef:E,expanded:r,hovered:n,clickable:u,onClickK:l0,onEnterK:t0,onLeaveK:_0,renderItem:X},x)}),J0>0&&B(b,{height:J0,flexShrink:0}),K&&B(VX,{messages:J,start:Q0,end:X0,offsets:H0,getItemTop:Y0,getItemElement:l,scrollRef:Z})]})}function VX({messages:J,start:Z,end:Q,offsets:z,getItemTop:X,getItemElement:W,scrollRef:q}){let{setStickyPrompt:V}=y.useContext(yZ),Y=y.useCallback((w)=>q.current?.subscribe(w)??YX,[q]);y.useSyncExternalStore(Y,()=>{let w=q.current;if(!w)return NaN;let D=w.getScrollTop()+w.getPendingDelta();return w.isSticky()?-1-D:D});let K=q.current?.isSticky()??!0,F=Math.max(0,(q.current?.getScrollTop()??0)+(q.current?.getPendingDelta()??0)),P=Z,v=-1;for(let w=Q-1;w>=Z;w--){let D=X(w);if(D>=0){if(D<F)break;v=D}P=w}let M=-1,S=null;if(P>0&&!K)for(let w=P-1;w>=0;w--){let D=XX(J[w]);if(D===null)continue;let p=X(w);if(p>=0&&p+1>=F)continue;M=w,S=D;break}let Z0=v>=0?v-z[P]:0,d=M>=0?Math.max(0,Z0+z[M]):-1,O=y.useRef({idx:-1,tries:0}),C=y.useRef("none"),_=y.useRef(-1);return y.useEffect(()=>{if(O.current.idx>=0)return;if(C.current==="armed"){C.current="force";return}let w=C.current==="force";if(C.current="none",!w&&_.current===M)return;if(_.current=M,S===null){V(null);return}let D=S.trimStart(),p=D.search(/\n\s*\n/),J0=(p>=0?D.slice(0,p):D).slice(0,zX).replace(/\s+/g," ").trim();if(J0===""){V(null);return}let E=M,k=d;V({text:J0,scrollTo:()=>{V("clicked"),C.current="armed";let H0=W(E);if(H0)q.current?.scrollToElement(H0,1);else q.current?.scrollTo(k),O.current={idx:E,tries:0}}})}),y.useEffect(()=>{if(O.current.idx<0)return;let w=W(O.current.idx);if(w)q.current?.scrollToElement(w,1),O.current={idx:-1,tries:0};else if(++O.current.tries>5)O.current={idx:-1,tries:0}}),null}var bQ,y,dZ=3,OQ,zX=500,AQ,YX=()=>{};var vQ=L0(()=>{NQ();p0();JX();LJ();ez();ZX();IZ();EQ();F0();bQ=N0(u0(),1),y=N0(S0(),1),OQ=new WeakMap;AQ=new WeakMap});function EX(J,Z){let Q=new Set(Z),z=new Set;return J.filter((X)=>{if(X.type==="system")return X.subtype!=="api_metrics";let W=X.message?.content[0];if(X.type==="assistant"){if(X.isApiErrorMessage)return!0;if(W?.type==="tool_use"&&W.name&&Q.has(W.name)){if("id"in W)z.add(W.id);return!0}return!1}if(X.type==="user"){if(W?.type==="tool_result")return W.tool_use_id!==void 0&&z.has(W.tool_use_id);return!X.isMeta}if(X.type==="attachment"){let q=X.attachment;return q?.type==="queued_command"&&q.commandMode==="prompt"&&!q.isMeta&&q.origin===void 0}return!1})}function bX(J,Z){let Q=new Set(Z),z=new Set,X=[],W=0;for(let q=0;q<J.length;q++){let V=J[q],Y=V.message?.content[0];if(V.type==="user"&&Y?.type!=="tool_result"&&!V.isMeta){W++;continue}if(V.type==="assistant"){if(Y?.type==="text")X[q]=W;else if(Y?.type==="tool_use"&&Y.name&&Q.has(Y.name))z.add(W)}}if(z.size===0)return J;return J.filter((q,V)=>{let Y=X[V];return Y===void 0||!z.has(Y)})}function yX(J,Z,Q=CX,z=vX){let X=Z.current,W=X?J.findIndex((Y)=>Y.uuid===X.uuid):-1,q=W>=0?W:X?Math.min(X.idx,Math.max(0,J.length-Q)):0;if(J.length-q>Q+z)q=J.length-Q;let V=J[q];if(V&&(X?.uuid!==V.uuid||X.idx!==q))Z.current={uuid:V.uuid,idx:q};else if(!V&&X)Z.current=null;return q}function _Q(J){return(J.type==="assistant"||J.type==="user"?g0(J):null)??J.uuid}function IX(J,Z){if(J.size!==Z.size)return!1;for(let Q of J)if(!Z.has(Q))return!1;return!0}function tJ(J,Z,Q,z,X,W){if(X==="transcript")return!0;switch(J.type){case"attachment":case"user":case"assistant":{if(J.type==="assistant"){let V=J.message.content[0];if(V?.type==="server_tool_use")return W.resolvedToolUseIDs.has(V.id)}let q=g0(J);if(!q)return!0;if(Z.has(q))return!1;if(Q.has(q))return!1;if(oQ(q,"PostToolUse",W))return!1;return FJ(z,W.resolvedToolUseIDs)}case"system":return J.subtype!=="api_error";case"grouped_tool_use":return J.messages.every((V)=>{let Y=V.message.content[0];return Y?.type==="tool_use"&&W.resolvedToolUseIDs.has(Y.id)});case"collapsed_read_search":return!1}}var gQ,YZ,f,UX,jX=null,yQ=null,MX=null,cZ=30,CX=200,vX=50,_X=({messages:J,tools:Z,commands:Q,verbose:z,toolJSX:X,toolUseConfirmQueue:W,inProgressToolUseIDs:q,isMessageSelectorVisible:V,conversationId:Y,screen:K,streamingToolUses:F,showAllInTranscript:P=!1,agentDefinitions:v,onOpenRateLimitOptions:M,hideLogo:S=!1,isLoading:Z0,hidePastThinking:d=!1,streamingThinking:O,hasStreamingText:C=!1,isBriefOnly:_=!1,unseenDivider:w,scrollRef:D,trackStickyPrompt:p,jumpRef:J0,onSearchMatchesChange:E,scanElement:k,setPositions:H0,disableRenderCap:Y0=!1,cursor:l=null,setCursor:h,cursorNavRef:z0,renderRange:Q0})=>{let{columns:X0}=FZ(),O0=RQ("transcript:toggleShowAll","Transcript","Ctrl+E"),T=f.useMemo(()=>nZ(J).filter(nQ),[J]),i=f.useMemo(()=>{if(!O)return!1;if(O.isStreaming)return!0;if(O.streamingEndedAt)return Date.now()-O.streamingEndedAt<30000;return!1},[O]),o=f.useMemo(()=>{if(!d)return null;if(i)return"streaming";for(let G=T.length-1;G>=0;G--){let j=T[G];if(j?.type==="assistant"){let B0=j.message.content;for(let a=B0.length-1;a>=0;a--)if(B0[a]?.type==="thinking")return`${j.uuid}:${a}`}else if(j?.type==="user"){if(!j.message.content.some((a)=>a.type==="tool_result"))return"no-thinking"}}return null},[T,d,i]),t=f.useMemo(()=>{for(let G=T.length-1;G>=0;G--){let j=T[G];if(j?.type==="user"){let B0=j.message.content;for(let a of B0)if(a.type==="text"){let w0=a.text;if(w0.startsWith("<bash-stdout")||w0.startsWith("<bash-stderr"))return j.uuid}}}return null},[T]),I=f.useMemo(()=>tQ(T),[T]),W0=f.useMemo(()=>F.filter((G)=>!q.has(G.contentBlock.id)&&!I.has(G.contentBlock.id)),[F,q,I]),N=f.useMemo(()=>W0.flatMap((G)=>{let j=mQ({content:[G.contentBlock]});return j.uuid=TQ(G.contentBlock.id,0),nZ([j])}),[W0]),U=K==="transcript",R=f.useMemo(()=>IQ(process.env.CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL),[]),s=D!=null&&!R,A0=U&&!P&&!s,V0=f.useRef(null),{collapsed:G0,lookups:M0,hasTruncatedMessages:n0,hiddenMessageCount:y0}=f.useMemo(()=>{let G=z||c0()?T:iQ(T,{includeSnipped:!0}),j=aQ(G.filter((I0)=>I0.type!=="progress").filter((I0)=>!GZ(I0)).filter((I0)=>lQ(I0,U)),N),B0=[yQ,MX].filter((I0)=>I0!==null),a=[yQ].filter((I0)=>I0!==null),w0=B0.length>0&&!U?_?EX(j,B0):a.length>0?bX(j,a):j:j,C0=A0?w0.slice(-cZ):w0,VZ=A0&&w0.length>cZ,{messages:d0}=CJ(C0,Z,z),sQ=OJ(DJ(MJ(cQ(d0,Z))),z),eQ=rQ(T,C0),Zz=j.length-cZ;return{collapsed:sQ,lookups:eQ,hasTruncatedMessages:VZ,hiddenMessageCount:Zz}},[z,T,U,N,A0,Z,_]),D0=f.useMemo(()=>{let j=!s&&!Y0?yX(G0,V0):0;return Q0?G0.slice(Q0[0],Q0[1]):j>0?G0.slice(j):G0},[G0,Q0,s,Y0]),T0=f.useMemo(()=>new Set(F.map((G)=>G.contentBlock.id)),[F]),i0=fQ((G)=>G.tasks),h0=M0.asyncLaunchedToolUseIDs,b0=f.useMemo(()=>{if(h0.size===0)return null;let G=new Set;for(let[j,B0]of h0){let a=i0?.[B0]?.status;if(a==="running"||a==="requested"||a==="queued")G.add(j)}return G.size>0?G:null},[i0,h0]),l0=f.useMemo(()=>{if(!b0)return q;let G=new Set(q);for(let j of b0)G.add(j);return G},[q,b0]),t0=f.useMemo(()=>{if(!w)return-1;let G=w.firstUnseenUuid.slice(0,24);return D0.findIndex((j)=>j.uuid.slice(0,24)===G)},[w,D0]),_0=f.useMemo(()=>{if(!l)return-1;return D0.findIndex((G)=>G.uuid===l.uuid)},[l,D0]),[H,L]=f.useState(()=>new Set),A=f.useCallback((G)=>{let j=_Q(G);L((B0)=>{let a=new Set(B0);if(a.has(j))a.delete(j);else a.add(j);return a})},[]),x=f.useCallback((G)=>H.size>0&&H.has(_Q(G)),[H]),u=f.useRef(M0);u.current=M0;let n=f.useCallback((G)=>{if(G.type==="collapsed_read_search")return!0;if(G.type==="assistant"){let w0=G.message.content[0];return w0!=null&&xQ(w0)&&w0.type==="advisor_tool_result"&&w0.content.type==="advisor_result"}if(G.type!=="user")return!1;let j=G.message.content[0];if(j?.type!=="tool_result"||j.is_error||!G.toolUseResult)return!1;let B0=u.current.toolUseByToolUseID.get(j.tool_use_id)?.name;return(B0?mZ(Z,B0):void 0)?.isResultTruncated?.(G.toolUseResult)??!1},[Z]),r=(!X||!!X.shouldContinueAnimation)&&!W.length&&!V,c=l0.size>0,{progress:e}=hQ(),R0=f.useRef(null),P0=DZ().terminalProgressBarEnabled&&!kQ()&&!(jX?.isProactiveActive()??!1);f.useEffect(()=>{let G=P0?c?"indeterminate":"completed":null;if(R0.current===G)return;R0.current=G,e(G)},[e,P0,c]),f.useEffect(()=>{return()=>e(null)},[e]);let E0=f.useCallback((G)=>`${G.uuid}-${Y}`,[Y]),U0=(G,j)=>{let B0=j>0?D0[j-1]?.type:void 0,a=G.type==="user"&&B0==="user",w0=G.type==="collapsed_read_search"&&(C||aJ(D0,j,Z,T0)),C0=E0(G),VZ=B(rJ,{message:G,isUserContinuation:a,hasContentAfter:w0,tools:Z,commands:Q,verbose:z||x(G)||l?.expanded===!0&&j===_0,inProgressToolUseIDs:l0,streamingToolUseIDs:T0,screen:K,canAnimate:r,onOpenRateLimitOptions:M,lastThinkingBlockId:o,latestBashOutputUUID:t,columns:X0,isLoading:Z0,lookups:M0},C0),d0=B($Q.Provider,{value:j===_0,children:VZ},C0);if(w&&j===t0)return[B(b,{marginTop:1,children:B(UZ,{title:`${w.count} new ${LZ(w.count,"message")}`,width:X0,color:"inactive"})},"unseen-divider"),d0];return d0},j0=f.useRef(new WeakMap),k0=f.useCallback((G)=>{let j=j0.current.get(G);if(j!==void 0)return j;let B0=AZ(G);if(G.type==="user"&&G.toolUseResult&&Array.isArray(G.message.content)){let w0=G.message.content.find((C0)=>C0.type==="tool_result");if(w0&&"tool_use_id"in w0){let C0=M0.toolUseByToolUseID.get(w0.tool_use_id),d0=(C0&&mZ(Z,C0.name))?.extractSearchText?.(G.toolUseResult);if(d0!==void 0)B0=d0}}let a=B0.toLowerCase();return j0.current.set(G,a),a},[Z,M0]);return $(f0,{children:[!S&&!(Q0&&Q0[0]>0)&&B(UX,{agentDefinitions:v}),n0&&B(UZ,{title:`${O0} to show ${gZ.bold(y0)} previous messages`,width:X0}),U&&P&&y0>0&&!Y0&&B(UZ,{title:`${O0} to hide ${gZ.bold(y0)} previous messages`,width:X0}),s?B(uQ.Provider,{value:!0,children:B(CQ,{messages:D0,scrollRef:D,columns:X0,itemKey:E0,renderItem:U0,onItemClick:A,isItemClickable:n,isItemExpanded:x,trackStickyPrompt:p,selectedIndex:_0>=0?_0:void 0,cursorNavRef:z0,setCursor:h,jumpRef:J0,onSearchMatchesChange:E,scanElement:k,setPositions:H0,extractSearchText:k0})}):D0.flatMap(U0),C&&!_&&B(kX,{}),i&&O&&!_&&B(b,{marginTop:1,children:B(dQ,{param:{type:"thinking",thinking:O.thinking},addMargin:!1,isTranscriptMode:!0,verbose:z,hideInTranscript:!1})})]})},kX=()=>{let J=iZ();if(!J)return null;return B(b,{alignItems:"flex-start",flexDirection:"row",marginTop:1,width:"100%",children:$(b,{flexDirection:"row",children:[B(b,{minWidth:2,children:B(g,{color:"text",children:SQ})}),B(b,{flexDirection:"column",children:B(pQ,{children:J})})]})})},g8;var sJ=L0(()=>{GX();KJ();BX();LX();qJ();KX();p0();wX();AX();FX();OX();AJ();UJ();cJ();EJ();HQ();HX();vZ();vJ();OZ();XJ();IZ();NX();PX();lZ();oJ();EQ();DX();CZ();gJ();FQ();vQ();F0();gQ=N0(u0(),1),YZ=N0(S0(),1),f=N0(S0(),1),UX=YZ.memo(function(Z){let Q=gQ.c(3),{agentDefinitions:z}=Z,X;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))X=null,Q[0]=X;else X=Q[0];let W;if(Q[1]!==z)W=B(e0,{children:$(b,{flexDirection:"column",gap:1,children:[X,B(YZ.Suspense,{fallback:null,children:B(LQ,{agentDefinitions:z})})]})}),Q[1]=z,Q[2]=W;else W=Q[2];return W});g8=YZ.memo(_X,(J,Z)=>{let Q=Object.keys(J);for(let z of Q){if(z==="onOpenRateLimitOptions"||z==="scrollRef"||z==="trackStickyPrompt"||z==="setCursor"||z==="cursorNavRef"||z==="jumpRef"||z==="onSearchMatchesChange"||z==="scanElement"||z==="setPositions")continue;if(J[z]!==Z[z]){if(z==="streamingToolUses"){let X=J.streamingToolUses,W=Z.streamingToolUses;if(X.length===W.length&&X.every((q,V)=>q.contentBlock===W[V]?.contentBlock))continue}if(z==="inProgressToolUseIDs"){if(IX(J.inProgressToolUseIDs,Z.inProgressToolUseIDs))continue}if(z==="unseenDivider"){let X=J.unseenDivider,W=Z.unseenDivider;if(X?.firstUnseenUuid===W?.firstUnseenUuid&&X?.count===W?.count)continue}if(z==="tools"){let X=J.tools,W=Z.tools;if(X.length===W.length&&X.every((q,V)=>q.name===W[V]?.name))continue}return!1}}return!0})});
12
+ export{s0 as re,TX as se,lZ as te,xX as ue,$X as ve,JJ as we,QW as xe,zW as ye,XW as ze,LJ as Ae,g8 as Be,sJ as Ce};
@@ -0,0 +1,2 @@
1
+ import{ie as V,ke as B}from"./cli-0.7.0-r8g195r8.mjs";import{Ay as q,HM as U,JM as w,RP as F,Tj as L,zy as Q}from"./cli-0.7.0-7g132rdj.mjs";import{E_ as K,J_ as k}from"./cli-0.7.0-h6kfhzzd.mjs";import{$ha as $,Yha as I}from"./cli-0.7.0-hrtdae85.mjs";import{qia as G,xia as _}from"./cli-0.7.0-ba1xb8x3.mjs";import{Zpa as Z}from"./cli-0.7.0-8p56ked8.mjs";async function h(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{h as ge,D as he};
@@ -0,0 +1,3 @@
1
+ import{Cc as m,Dc as v,Ec as wk}from"./cli-0.7.0-pbs0cx53.mjs";import{$M as o,IF as n,JF as V,KF as i,NF as Tk,bN as t,dE as g,eE as a,eN as Dk,fA as s,gA as Gk,iN as e,jN as Uk,mE as Lk,mu as l,nu as Vk,tQ as r,uQ as kk,vn as p,wn as zk,yQ as jk}from"./cli-0.7.0-7g132rdj.mjs";import{P2 as T,U2 as Jk,p3 as d,r3 as Ok}from"./cli-0.7.0-9jzkqcfv.mjs";import{K6 as f,L6 as Ik,V6 as c,Y6 as Mk}from"./cli-0.7.0-es6y6s82.mjs";import{T7 as S,Y7 as _k}from"./cli-0.7.0-cwxeffcg.mjs";import{Aca as b,C9 as $k,Gba as Kk,Jca as u,Rca as $,_da as _,bea as Hk,rba as j,s8 as K,u8 as Zk,wca as x,y9 as P}from"./cli-0.7.0-h6kfhzzd.mjs";import{Xea as J,afa as Yk}from"./cli-0.7.0-twxrndmz.mjs";import{Tga as L,Uga as Bk}from"./cli-0.7.0-y003ay15.mjs";import{$ga as O,$ha as U,Yha as B,bha as Rk}from"./cli-0.7.0-hrtdae85.mjs";import{kia as h,qia as Y,xia as Xk}from"./cli-0.7.0-ba1xb8x3.mjs";import{Dia as E,Nia as Wk}from"./cli-0.7.0-na9s209m.mjs";import{Ola as F,Qla as y,ema as w,ooa as z}from"./cli-0.7.0-x2vc8nds.mjs";import{Noa as A,Ooa as Qk}from"./cli-0.7.0-wspeyepj.mjs";import{_pa as W}from"./cli-0.7.0-8p56ked8.mjs";Yk();z();$();Qk();z();z();Vk();Ok();Lk();Tk();Bk();Hk();Jk();var G=!1;function D(){if(G)return;if(G=!0,T()!=="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.CLAUDE_CODE_CLIENT_CERT||process.env.CLAUDE_CODE_CLIENT_KEY)return;let q=_(),N=(q?.transport==="anthropic"?q.baseUrl:void 0)||L().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}$();U();Kk();function C(){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=x()?.env,Q=j("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();$();U();_k();Zk();zk();Wk();Xk();jk();wk();Ik();Dk();Mk();Uk();Gk();$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(m(),C(),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-0.7.0-5gy0hbjg.mjs"),import("./growthbook-0.7.0-ged09pjv.mjs")]).then(([H,X])=>{H.initialize1PEventLogging(),X.onGrowthBookRefresh(()=>{H.reinitialize1PEventLoggingIfConfigChanged()})}),J("init_after_1p_event_logging"),d(),J("init_after_oauth_populate"),p(),J("init_after_jetbrains_detection"),S(),V())n();if(a())g();J("init_after_remote_settings_check"),u();let Q=Date.now();B("[init] configureGlobalMTLS starting"),f(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),c(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),J("init_network_configured"),D(),E(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:H,getUpstreamProxyEnv:X}=await import("./upstreamproxy-0.7.0-qha2t9zm.mjs"),{registerUpstreamProxyEnvFn:Z}=await import("./subprocessEnv-0.7.0-gz4xjdce.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-0.7.0-jss9q0ak.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(w()){process.stderr.write(`Configuration error in ${q.filePath}: ${q.message}
2
+ `),kk(1);return}return import("./InvalidConfigDialog-0.7.0-maxj2b37.mjs").then((N)=>N.showInvalidConfigDialog({error:q}))}else throw q}});function Zq(){if(V()){if(w()&&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"),v(),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 xk()}catch(k){throw I=!1,k}}async function xk(){let{initializeTelemetry:k}=await import("./instrumentation-0.7.0-bey09njh.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 L,Zq as M};
@@ -0,0 +1,2 @@
1
+ import{BZ as W,PZ as X,RX as f,RZ as k}from"./cli-0.7.0-p9q4x3f1.mjs";import{W1 as V,X1 as J,Z1 as K}from"./cli-0.7.0-wgy69726.mjs";import{_1 as P}from"./cli-0.7.0-asw5nd1q.mjs";import{yea as U,zea as O}from"./cli-0.7.0-twxrndmz.mjs";import{Vpa as Q,Zpa as L}from"./cli-0.7.0-8p56ked8.mjs";import{PassThrough as C}from"stream";function E(q){let b=Z.c(5),{children:w}=q,{exit:z}=W(),B,H;if(b[0]!==z)B=()=>{let D=setTimeout(z,0);return()=>clearTimeout(D)},H=[z],b[0]=z,b[1]=B,b[2]=H;else B=b[1],H=b[2];y.useLayoutEffect(B,H);let G;if(b[3]!==w)G=J(V,{children:w}),b[3]=w,b[4]=G;else G=b[4];return G}function Y(q){let b=q.indexOf(M);if(b===-1)return q;let w=b+M.length,z=q.indexOf(F,w);if(z===-1)return q;return q.slice(w,z)}function g(q,b){return new Promise(async(w)=>{let z="",B=new C;if(b!==void 0)B.columns=b;B.on("data",(G)=>{z+=G.toString()});let H=await X(J(E,{children:q}),{stdout:B,patchConsole:!1});await Promise.race([H.waitUntilExit(),new Promise((G)=>setTimeout(G,3000))]),await w(Y(z))})}async function N(q,b){let w=await g(q,b);return U(w)}var Z,y,M="\x1B[?2026h",F="\x1B[?2026l";var j=L(()=>{O();k();K();Z=Q(f(),1),y=Q(P(),1)});
2
+ export{g as _d,N as $d,j as ae};
@@ -0,0 +1,4 @@
1
+ import{Ki as cJ,UP as UJ,pJ as DJ,qJ as BJ,rJ as lJ,rQ as jJ,sQ as $V,vo as IJ,xo as pJ}from"./cli-0.7.0-7g132rdj.mjs";import{D9 as NJ,Gba as uJ,H9 as gJ,Rca as hJ,T8 as WJ,Y8 as l,nea as G,u9 as mJ,vea as dJ,wba as m,wca as YJ,x8 as p,y8 as fJ}from"./cli-0.7.0-h6kfhzzd.mjs";import{fga as U,gga as PJ}from"./cli-0.7.0-v6ceqq5f.mjs";import{Vga as f,Yga as SJ}from"./cli-0.7.0-0cp32djm.mjs";import{$ha as kJ,Kha as VJ,Oha as bJ,Yha as Q}from"./cli-0.7.0-hrtdae85.mjs";import{qia as JJ,xia as yJ}from"./cli-0.7.0-ba1xb8x3.mjs";import{nka as qJ,oka as zJ}from"./cli-0.7.0-x2vc8nds.mjs";import{Vpa as wJ,Zpa as _J}from"./cli-0.7.0-8p56ked8.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 X=0;X<J.length;X++){let _=J[X];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if((X&255)===255&&performance.now()-Y>4)await b(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let $=!0;for(let X=0;X<V.length;X++)if(this.indexPath(X),(X&255)===255&&performance.now()-Y>4){if(this.readyCount=X+1,$)W(),$=!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 $=W.charCodeAt(Y);if($>=97&&$<=122)V|=1<<$-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),$=Array(Y),X=0;for(let M=0;M<Y;M++){let B=V.charAt(M);$[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)X|=1<<E-97}let _=Y*24+8+32,H=[],N=-1/0,{paths:I,lowerPaths:q,charBits:x,pathLens:j,readyCount:g}=this;J:for(let M=0;M<g;M++){if((x[M]&X)!==X)continue;let B=Z?I[M]:q[M],E=B.indexOf($[0]);if(E===-1)continue;y[0]=E;let C=0,u=0,h=E;for(let A=1;A<Y;A++){if(E=B.indexOf($[A],h+1),E===-1)continue J;y[A]=E;let F=E-h-1;if(F===0)u+=4;else C+=3+F*1;h=E}if(H.length===W&&_+u-C<=N)continue;let S=I[M],vJ=j[M],T=Y*16+u-C;T+=HJ(S,y[0],!0);for(let A=1;A<Y;A++)T+=HJ(S,y[A],!1);if(T+=Math.max(0,32-(vJ>>2)),H.length<W){if(H.push({path:S,fuzzScore:T}),H.length===W)H.sort((A,F)=>A.fuzzScore-F.fuzzScore),N=H[0].fuzzScore}else if(T>N){let A=0,F=H.length;while(A<F){let d=A+F>>1;if(H[d].fuzzScore<T)A=d+1;else F=d}H.splice(A,0,{path:S,fuzzScore:T}),H.shift(),N=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 $=Y.length;for(let _=0;_<Y.length;_++){let H=Y.charCodeAt(_);if(H===47||H===92){$=_;break}}let X=Y.slice(0,$);if(X.length>0){if(Z.add(X),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,$)=>{let X=Y.length-$.length;if(X!==0)return X;return Y<$?-1:Y>$?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(!K)K=new c;return K}function vV(){K=null,v=null,R++,k=null,L=[],$J=[],XJ=[],ZJ.clear(),s=null,o=null,a=0,i=null,r=null,P=null}function xJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let $=J[Y];for(let X=0;X<$.length;X++)V=(V^$.charCodeAt(X))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let $=0;$<Y.length;$++)V=(V^Y.charCodeAt($))*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(!K||L.length===0)return;let W=await FJ(J),Z=[...L,...$J,...XJ,...J,...W],V=xJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await K.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"],$=[...new Set([J,W])],X=KJ.default(),_=!1,H=$.flatMap((q)=>Y.map((x)=>O.join(q,x))),N=await Promise.all(H.map((q)=>V.readFile(q,{encoding:"utf8"}).catch(()=>null)));for(let[q,x]of N.entries()){if(x===null)continue;X.add(x),_=!0,Q(`[FileIndex] loaded ignore patterns from ${H[q]}`)}let I=_?X: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(),$=Date.now(),X=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()-$}ms`),X.code!==0)return Q(`[FileIndex] git ls-files failed (code=${X.code}, stderr=${X.stderr}), falling back to ripgrep`),null;let _=X.stdout.trim().split(`
2
+ `).filter(Boolean),H=OJ(_,V,Y),N=await EJ(V,Y);if(N){let q=H.length;H=N.filter(H),Q(`[FileIndex] applied ignore patterns: ${q} -> ${H.length} files`)}L=H;let I=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${H.length} tracked files in ${I}ms`),f("tengu_file_suggestions_git_ls_files",{file_count:H.length,tracked_count:H.length,untracked_count:0,duration_ms:I}),!k){let q=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],x=R;k=p(l(),q,{timeout:1e4,cwd:V}).then(async(j)=>{if(x!==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 FJ(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 $=O.dirname(J[Y]);while($!=="."&&!V.has($)){let X=O.dirname($);if(X===$)break;V.add($),$=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 $=(await IJ(V,".",J)).map((_)=>O.relative(U(),_)),X=Date.now()-Z;return Q(`[FileIndex] ripgrep: ${$.length} files in ${X}ms`),f("tengu_file_suggestions_ripgrep",{file_count:$.length,duration_ms:X}),$}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,$=U(),[X,_]=await Promise.all([tJ(J,Y),rJ($)]);$J=_;let H=[...X,..._],N=await FJ(H);XJ=N;let I=[...N,...H],q=xJ(I);if(q!==r)await W.loadFromFileListAsync(I).done,r=q,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 AJ(){if(v)return;let J=sJ();if(K){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 $=V.isDirectory(),X=Y.isDirectory();if($!==X)return $?-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),$=O.relative(W,Y);return V.isDirectory()?$+O.sep:$})}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 AJ(),V.slice(0,e).map(t)}let Z=Date.now();try{let V=v!==null;AJ();let Y=J,$="."+O.sep;if(J.startsWith($))Y=J.substring(2);if(Y.startsWith("~"))Y=NJ(Y);let X=K?VV(K,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${X.length} results in ${_}ms (${V?"partial":"full"} index)`),f("tengu_file_suggestions_query",{duration_ms:_,cache_hit:!V,result_count:X.length,query_length:J.length}),X}catch(V){return G(V),[]}}function LV(J,W,Z,V,Y,$){let X=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+X+W.substring(V+Z.length);Y(_);let H=V+X.length;$(H)}var KJ,K=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();KJ=wJ(cJ(),1);ZJ=qJ(),jV=ZJ.subscribe,L=[],$J=[],XJ=[]});
4
+ export{c as Sh,MJ as Th,jV as Uh,vV as Vh,RV as Wh,GV as Xh,AJ as Yh,CV as Zh,LV as _h,ZV as $h};
@@ -0,0 +1,2 @@
1
+ import{v as D}from"./cli-0.7.0-brqbb2d5.mjs";import{F as x}from"./cli-0.7.0-0hzevdxp.mjs";import{Pa as A}from"./cli-0.7.0-pf2fr5cc.mjs";import{Qa as L}from"./cli-0.7.0-ct2kfpct.mjs";import{CS as b,DS as u,so as k,to as U,wo as F,xo as p}from"./cli-0.7.0-7g132rdj.mjs";import{nT as O,qT as c}from"./cli-0.7.0-5df67dbk.mjs";import{E6 as m,P2 as Y,U2 as I,Y4 as w,Z4 as M,Z5 as E,_5 as G}from"./cli-0.7.0-9jzkqcfv.mjs";import{Sba as X,Tba as B,_da as $,bea as z}from"./cli-0.7.0-h6kfhzzd.mjs";import{fga as _,gga as y}from"./cli-0.7.0-v6ceqq5f.mjs";import{$ha as T,Yha as K}from"./cli-0.7.0-hrtdae85.mjs";import{qia as V,xia as S}from"./cli-0.7.0-ba1xb8x3.mjs";import{Dia as J,Fia as N,Nia as v}from"./cli-0.7.0-na9s209m.mjs";import{Apa as j,ipa as W}from"./cli-0.7.0-sbwhas5a.mjs";v();c();u();z();m();p();y();j();T();S();I();B();var C=void 0;function h(q){try{let H=new URL(q);return H.search="",H.toString().replace(/\/$/,"")}catch{return}}async function Z(){if(X())return;if(Y()!=="firstParty")return;try{let q=await W.get("https://api.anthropic.com/mcp-registry/v0/servers?version=latest&visibility=commercial",{timeout:5000}),H=new Set;for(let P of q.data.servers)for(let R of P.server.remotes??[]){let Q=h(R.url);if(Q)H.add(Q)}C=H,K(`[mcp-registry] Loaded ${H.size} official MCP URLs`)}catch(q){K(`Failed to fetch MCP registry: ${V(q)}`,{level:"error"})}}M();U();function Xq(){if(J(process.env.CLAUDE_CODE_EXIT_AFTER_FIRST_RENDER)||N())return;O(),b(),x(),A();let q=$()?.transport;if(q==="bedrock"&&!J(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH))G();if(q==="vertex"&&!J(process.env.CLAUDE_CODE_SKIP_VERTEX_AUTH))E();if(F(_(),AbortSignal.timeout(3000),[]),D(),Z(),w(),k.initialize(),!N())L.initialize()}
2
+ export{Xq as t};
@@ -0,0 +1,2 @@
1
+ import{Qca as G,Rca as h,Vca as v,Wca as P,bda as k,nda as f,tca as M,wca as L}from"./cli-0.7.0-h6kfhzzd.mjs";import{Lga as E,Uga as x}from"./cli-0.7.0-y003ay15.mjs";import{Aia as T,Nia as u}from"./cli-0.7.0-na9s209m.mjs";import{Zpa as C}from"./cli-0.7.0-8p56ked8.mjs";import{chmodSync as K,cpSync as S,existsSync as V,mkdirSync as m,readFileSync as _,readdirSync as w,statSync as D,writeFileSync as O}from"fs";import{homedir as R}from"os";import{join as Y}from"path";function b(j){return Y(j,".claude")}function A(j){try{let q=_(j,"utf8"),B=JSON.parse(q);if(B&&typeof B==="object"&&!Array.isArray(B))return B;return null}catch{return null}}function F(j,q){O(j,JSON.stringify(q,null,2),{encoding:"utf8"})}function $(j){m(j,{recursive:!0})}function l(j,q,B,Q){let z=Y(j,".credentials.json"),I=Y(q,".credentials.json");if(!V(z))return 0;try{if(V(I)){let W=_(z),X=_(I);if(W.equals(X))return K(I,384),0;return Q.push(`${I} already exists with different content — kept new file untouched`),0}$(q);let N=_(z);return O(I,N),K(I,384),d(N)}catch(N){return B.push(`failed to copy .credentials.json: ${N instanceof Error?N.message:String(N)}`),0}}function d(j){try{let q=JSON.parse(j.toString("utf8"));if(q&&typeof q==="object")return Object.keys(q).length}catch{}return 1}function y(j,q,B){let Q=Y(j,"CLAUDE.md"),z=Y(q,"CLAUDE.md");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy CLAUDE.md: ${I instanceof Error?I.message:String(I)}`),!1}}function c(j,q,B){let Q=Y(j,"keybindings.json"),z=Y(q,"keybindings.json");if(!V(Q))return!1;if(V(z))return!1;try{$(q);let I=_(Q);return O(z,I),!0}catch(I){return B.push(`failed to copy keybindings.json: ${I instanceof Error?I.message:String(I)}`),!1}}function H(j,q,B,Q){let z=Y(j,B),I=Y(q,B);if(!V(z))return 0;let N=0;try{if(!D(z).isDirectory())return 0;$(q),S(z,I,{recursive:!0,force:!1,errorOnExist:!1}),N=p(I)}catch(W){Q.push(`failed to copy ${B}/: ${W instanceof Error?W.message:String(W)}`)}return N}function p(j){try{if(!V(j))return 0;return w(j).length}catch{return 0}}function a(j,q,B){let Q=Y(j,"settings.json");if(!V(Q))return 0;let z=A(Q);if(!z)return B.push("legacy settings.json could not be parsed; skipped"),0;let I=Y(q,"settings.json"),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of g){if(!(U in z))continue;if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{$(q),F(I,W)}catch(U){return B.push(`failed to write settings.json: ${U instanceof Error?U.message:String(U)}`),0}return X}function J(j){return Y(j,`.claude${E()}.json`)}function n(j){return Y(j,`config${E()}.json`)}function t(j,q,B){let Q=J(j);if(!V(Q))return 0;let z=A(Q);if(!z)return B.push(`legacy ${Q} could not be parsed; skipped`),0;let I=n(q),N=V(I)?A(I)??{}:{},W={...N},X=0;for(let U of Object.keys(z)){if(U in N)continue;W[U]=z[U],X+=1}if(X===0&&V(I))return 0;try{F(I,W)}catch(U){return B.push(`failed to write ${I}: ${U instanceof Error?U.message:String(U)}`),0}return G(null),X}function o(){let q=L().claudeToClaudinMigratedAt;if(typeof q==="string"&&q.length>0)return{migrated:!0,at:q};return{migrated:!1}}function s(j){M((q)=>({...q,claudeToClaudinMigratedAt:j}))}async function Vj(j={}){let q=j.homeDir??R(),B=b(q),Q=j.newDir??T(),z=[],I=[],N={tokens:0,settingsKeys:0,globalConfigKeys:0,claudeMd:!1,plugins:0,skills:0,agents:0,commands:0,keybindings:!1,anthropicProfileCreated:!1,errors:z,warnings:I,alreadyMigrated:!1,legacyDir:B,newDir:Q},W=V(J(q));if(!V(B)&&!W)return N;let X=o();if(X.migrated&&!j.force)return N.alreadyMigrated=!0,N.migratedAt=X.at,N;try{$(Q)}catch(U){return z.push(`failed to create ${Q}: ${U instanceof Error?U.message:String(U)}`),N}if(V(B))N.tokens=l(B,Q,z,I),N.settingsKeys=a(B,Q,z),N.claudeMd=y(B,Q,z),N.plugins=H(B,Q,"plugins",z),N.skills=H(B,Q,"skills",z),N.agents=H(B,Q,"agents",z),N.commands=H(B,Q,"commands",z),N.keybindings=c(B,Q,z);if(N.globalConfigKeys=t(q,Q,I),N.anthropicProfileCreated=i(Q,N.tokens,I),z.length===0){let U=new Date().toISOString();s(U),N.migratedAt=U}return N}function i(j,q,B){if(q<=0)return!1;let Q=Y(j,".credentials.json"),z;try{z=JSON.parse(_(Q,"utf8"))}catch(Z){return B.push(`failed to read migrated .credentials.json for profile bootstrap: ${Z instanceof Error?Z.message:String(Z)}`),!1}let N=z?.claudeAiOauth?.accessToken;if(typeof N!=="string"||N.length===0)return!1;let W=P();if(W.some((Z)=>Z.provider==="anthropic"))return!1;let X=v("anthropic"),U={provider:"anthropic",name:X.name,baseUrl:X.baseUrl,model:X.model};try{if(!k(U,{makeActive:W.length===0}))return B.push("anthropic profile could not be saved after migration"),!1;return!0}catch(Z){return B.push(`failed to create anthropic profile: ${Z instanceof Error?Z.message:String(Z)}`),!1}}function Wj(j){if(j.alreadyMigrated)return`nothing to do (last run: ${j.migratedAt??"unknown"}). Pass --force to re-run.`;let q=[];q.push(`${j.tokens} token${j.tokens===1?"":"s"}`),q.push(`${j.settingsKeys} settings key${j.settingsKeys===1?"":"s"}`),q.push(`${j.globalConfigKeys} global config key${j.globalConfigKeys===1?"":"s"}`),q.push(`${j.claudeMd?1:0} CLAUDE.md`),q.push(`${j.plugins} plugin${j.plugins===1?"":"s"}`),q.push(`${j.skills} skill${j.skills===1?"":"s"}`),q.push(`${j.agents} agent${j.agents===1?"":"s"}`),q.push(`${j.commands} command${j.commands===1?"":"s"}`),q.push(`${j.keybindings?"keybindings copied":"no keybindings"}`),q.push(j.anthropicProfileCreated?"anthropic profile created":"anthropic profile already present");let B=q.join(", "),Q=`. ${j.legacyDir} kept untouched.`,z=`${B}${Q}`;if(j.warnings.length>0)z+=` Warnings: ${j.warnings.join("; ")}`;if(j.errors.length>0)z+=` Errors: ${j.errors.join("; ")}`;return z}function e(j=R()){return V(b(j))}function r(j=R()){return V(J(j))}function Xj(j=R()){let q=L();if(q.claudeToClaudinMigratedAt)return!1;if(q.legacyMigrationSkipped===!0)return!1;return e(j)||r(j)}function Yj(){M((j)=>({...j,legacyMigrationSkipped:!0}))}var g;var jj=C(()=>{x();h();u();f();g=["theme","model","customApiKeyResponses","permissions","verbose","editorMode","mcpServers","providerProfiles","activeProviderProfileId"]});
2
+ export{Vj as sc,Wj as tc,e as uc,Xj as vc,Yj as wc,jj as xc};
@@ -0,0 +1,2 @@
1
+ import{RX as f}from"./cli-0.7.0-p9q4x3f1.mjs";import{X1 as p,Z1 as c}from"./cli-0.7.0-wgy69726.mjs";import{_1 as M}from"./cli-0.7.0-asw5nd1q.mjs";import{Vpa as o}from"./cli-0.7.0-8p56ked8.mjs";c();var n=o(f(),1),r=o(M(),1),d=r.createContext(void 0);function a(F){let e=n.c(3),{getFpsMetrics:s,children:i}=F,t;if(e[0]!==i||e[1]!==s)t=p(d.Provider,{value:s,children:i}),e[0]=i,e[1]=s,e[2]=t;else t=e[2];return t}function l(){return r.useContext(d)}
2
+ export{a as Qb,l as Rb};
@@ -0,0 +1,2 @@
1
+ import{nb as W,ob as z}from"./cli-0.7.0-p96azep2.mjs";import{tb as R}from"./cli-0.7.0-g46gs4dx.mjs";import{QU as M,RU as w}from"./cli-0.7.0-ytqbgtvc.mjs";import{$ha as j,Yha as L}from"./cli-0.7.0-hrtdae85.mjs";import{qia as Z,xia as H}from"./cli-0.7.0-ba1xb8x3.mjs";j();H();w();function I(B){return{write:(G)=>B.write(G),writeBatch:(G)=>B.writeBatch(G),close:()=>B.close(),isConnectedStatus:()=>B.isConnectedStatus(),getStateLabel:()=>B.getStateLabel(),setOnData:(G)=>B.setOnData(G),setOnClose:(G)=>B.setOnClose(G),setOnConnect:(G)=>B.setOnConnect(G),connect:()=>void B.connect(),getLastSequenceNum:()=>0,get droppedBatchCount(){return B.droppedBatchCount},reportState:()=>{},reportMetadata:()=>{},reportDelivery:()=>{},flush:()=>Promise.resolve()}}async function k(B){let{sessionUrl:G,ingressToken:_,sessionId:$,initialSequenceNum:E,getAuthToken:N}=B,P;if(N)P=()=>{let x=N();if(!x)return{};return{Authorization:`Bearer ${x}`}};else M(_);let Q=B.epoch??await R(G,_);L(`[bridge:repl] CCR v2: worker sessionId=${$} epoch=${Q}${B.epoch!==void 0?" (from /bridge)":" (via registerWorker)"}`);let V=new URL(G);V.pathname=V.pathname.replace(/\/$/,"")+"/worker/events/stream";let K=new z(V,{},$,void 0,E,P),X,J=new W(K,new URL(G),{getAuthHeaders:P,heartbeatIntervalMs:B.heartbeatIntervalMs,heartbeatJitterFraction:B.heartbeatJitterFraction,onEpochMismatch:()=>{L("[bridge:repl] CCR v2: epoch superseded (409) — closing for poll-loop recovery");try{J.close(),K.close(),X?.(4090)}catch(x){L(`[bridge:repl] CCR v2: error during epoch-mismatch cleanup: ${Z(x)}`,{level:"error"})}throw Error("epoch superseded")}});K.setOnEvent((x)=>{J.reportDelivery(x.event_id,"received"),J.reportDelivery(x.event_id,"processed")});let f,Y=!1,q=!1;return{write(x){return J.writeEvent(x)},async writeBatch(x){for(let O of x){if(q)break;await J.writeEvent(O)}},close(){q=!0,J.close(),K.close()},isConnectedStatus(){return Y},getStateLabel(){if(K.isClosedStatus())return"closed";if(K.isConnectedStatus())return Y?"connected":"init";return"connecting"},setOnData(x){K.setOnData(x)},setOnClose(x){X=x,K.setOnClose((O)=>{J.close(),x(O??4092)})},setOnConnect(x){f=x},getLastSequenceNum(){return K.getLastSequenceNum()},droppedBatchCount:0,reportState(x){J.reportState(x)},reportMetadata(x){J.reportMetadata(x)},reportDelivery(x,O){J.reportDelivery(x,O)},flush(){return J.flush()},connect(){if(!B.outboundOnly)K.connect();J.initialize(Q).then(()=>{Y=!0,L(`[bridge:repl] v2 transport ready for writes (epoch=${Q}, sse=${K.isConnectedStatus()?"open":"opening"})`),f?.()},(x)=>{L(`[bridge:repl] CCR v2 initialize failed: ${Z(x)}`,{level:"error"}),J.close(),K.close(),X?.(4091)})}}}class D{_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(...B){if(!this._active)return!1;return this._pending.push(...B),!0}drop(){this._active=!1;let B=this._pending.length;return this._pending.length=0,B}deactivate(){this._active=!1}}
2
+ export{I as ib,k as jb,D as kb};
@@ -0,0 +1,4 @@
1
+ import{cg as LJ,dg as WQ}from"./cli-0.7.0-mnbdk339.mjs";import{eg as hJ,fg as RQ}from"./cli-0.7.0-avczxk44.mjs";import{gg as PJ,hg as hQ}from"./cli-0.7.0-19swb9c9.mjs";import{ig as aq,jg as lJ}from"./cli-0.7.0-bn0k1nzk.mjs";import{kg as Fq,lg as iq,mg as $J}from"./cli-0.7.0-68mgyfr7.mjs";import{ng as WJ,og as HQ}from"./cli-0.7.0-3xtc467b.mjs";import{$F as vq,AI as wQ,BO as iJ,Do as P,Eo as Tq,Ks as KJ,Ls as VQ,Ms as VJ,Ns as XJ,Os as XQ,PO as Aq,SO as oJ,Tu as uq,Uu as mq,Wu as pq,Xu as fJ,aG as BQ,bG as UJ,cG as FJ,dG as wJ,eG as FQ,fS as wq,go as GJ,ho as KQ,jS as sq,mS as tq,vv as g,yI as HJ,yS as nJ,yv as yQ,zI as RJ,zO as eq}from"./cli-0.7.0-7g132rdj.mjs";import{fT as yJ,hT as NJ,kT as NQ}from"./cli-0.7.0-xvjaw51n.mjs";import{nV as BJ,rV as UQ}from"./cli-0.7.0-q70ex7jy.mjs";import{QW as zJ,RW as zQ,UW as YJ,VW as YQ,bX as Mq,cX as GQ}from"./cli-0.7.0-a7rry8ha.mjs";import{RX as Pq,RZ as Oq,kZ as y,mZ as Q}from"./cli-0.7.0-p9q4x3f1.mjs";import{W1 as h,X1 as Y,Y1 as Z,Z1 as c}from"./cli-0.7.0-wgy69726.mjs";import{_1 as ZQ}from"./cli-0.7.0-asw5nd1q.mjs";import{X4 as cJ,j5 as ZJ,k5 as QQ,y4 as rq}from"./cli-0.7.0-9jzkqcfv.mjs";import{B_ as qQ,Gba as JQ,Kaa as gq,Laa as dJ,Oaa as xq,Waa as TJ,e_ as Iq,f8 as $,g8 as tJ,wba as QJ}from"./cli-0.7.0-h6kfhzzd.mjs";import{Aia as JJ,Nia as sJ}from"./cli-0.7.0-na9s209m.mjs";import{ooa as eJ,xka as qJ}from"./cli-0.7.0-x2vc8nds.mjs";import{Vpa as Bq,Zpa as Uq}from"./cli-0.7.0-8p56ked8.mjs";function _q(){let J=jq.c(2);if(!uq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=pq();if(G.length===0){V=null;break q}let K=G.filter(pJ),X=G.filter(mJ);q=Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,color:K.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(y,{children:[Y(Q,{dimColor:!0,children:"Location: "}),Y(Q,{dimColor:!0,children:mq()})]}),Z(y,{marginLeft:1,flexDirection:"column",marginTop:1,children:[K.map(uJ),X.map(EJ)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function EJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function uJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function mJ(J){return J.severity==="warning"}function pJ(J){return J.severity==="error"}var jq;var dq=Uq(()=>{Oq();fJ();c();jq=Bq(Pq(),1)});function lq(){let J=cq.c(2);if(!P.isSupportedPlatform())return null;if(!P.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=P.checkDependencies(),K=G.errors.length>0,X=G.warnings.length>0;if(!K&&!X){V=null;break q}q=Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",Y(Q,{color:K?"error":"warning",children:K?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map(_J),G.warnings.map(jJ),K&&Y(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function jJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function _J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var cq;var $q=Uq(()=>{Oq();Tq();c();cq=Bq(Pq(),1)});async function gJ(){let J=tq(await sq());if(J.length===0)return null;let q=J.sort((G,K)=>K.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${wq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${wq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:wq}}async function xJ(J){if(!J)return null;let q=iq(J);if(q<=Fq)return null;let V=J.activeAgents.filter((K)=>K.source!=="built-in").map((K)=>{let X=`${K.agentType}: ${K.whenToUse}`;return{name:K.agentType,tokens:Aq(X)}}).sort((K,X)=>X.tokens-K.tokens),G=V.slice(0,5).map((K)=>`${K.name}: ~${K.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${Fq.toLocaleString()})`,details:G,currentValue:q,threshold:Fq}}async function rJ(J,q,V){let G=J.filter((K)=>K.isMcp);if(G.length===0)return null;try{let K=rq(),{mcpToolTokens:X,mcpToolDetails:B}=await eq(J,q,V,K);if(X<=l)return null;let U=new Map;for(let R of B){let x=R.name.split("__")[1]||"unknown",N=U.get(x)||{count:0,tokens:0};U.set(x,{count:N.count+1,tokens:N.tokens+R.tokens})}let H=Array.from(U.entries()).sort((R,F)=>F[1].tokens-R[1].tokens),z=H.slice(0,5).map(([R,F])=>`${R}: ${F.count} tools (~${F.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(K){let X=G.reduce((B,U)=>{let H=(U.name?.length||0)+U.description.length;return B+Aq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function aJ(J){let q=await J(),V=P.isSandboxingEnabled()&&P.isAutoAllowBashIfSandboxedEnabled(),G=aq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let K=G.flatMap((X)=>[`${gq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${xq(G.length,"unreachable permission rule")} detected`,details:K,currentValue:G.length,threshold:0}}async function oq(J,q,V){let[G,K,X,B]=await Promise.all([gJ(),xJ(q),rJ(J,V,q),aJ(V)]);return{claudeMdWarning:G,agentWarning:K,mcpWarning:X,unreachableRulesWarning:B}}var l=25000;var nq=Uq(()=>{oJ();iJ();nJ();cJ();dJ();lJ();Tq();$J();TJ()});import{join as bq}from"path";function LQ(J){let q=Cq.c(8),{promise:V}=J,G=w.use(V);if(!G.latest){let U;if(q[0]===Symbol.for("react.memo_cache_sentinel"))U=Y(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=U;else U=q[0];return U}let K;if(q[1]!==G.stable)K=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=K;else K=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let B;if(q[5]!==K||q[6]!==X)B=Z(h,{children:[K,X]}),q[5]=K,q[6]=X,q[7]=B;else B=q[7];return B}function pZ(J){let q=Cq.c(84),{onDone:V}=J,G=g(TQ),K=g(dQ),X=g(_Q),B=g(jQ);YJ();let U;if(q[0]!==K)U=K||[],q[0]=K,q[1]=U;else U=q[1];let H=U,[z,R]=w.useState(null),[F,x]=w.useState(null),[N,OJ]=w.useState(null),[L,kq]=w.useState(null),Hq=PJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=vq().then(mQ),q[2]=r;else r=q[2];let AJ=r,bJ=QJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Hq)a=Hq.filter(uQ),q[3]=Hq,q[4]=a;else a=q[4];let i=a,o;if(q[5]===Symbol.for("react.memo_cache_sentinel"))o=[{name:"BASH_MAX_OUTPUT_LENGTH",default:XJ,upperLimit:VJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:RJ,upperLimit:HJ},{name:"CLAUDE_CODE_MAX_OUTPUT_TOKENS",...ZJ("claude-opus-4-8")}].map(EQ).filter(fQ),q[5]=o;else o=q[5];let Dq=o,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{vq().then(R),(async()=>{let W=bq(JJ(),"agents"),Sq=bq(qJ(),".claudin","agents"),{activeAgents:fq,allAgents:IJ,failedFiles:Eq}=G,[MJ,vJ]=await Promise.all([Iq(W),Iq(Sq)]),CJ={activeAgents:fq.map(SQ),userAgentsDir:W,projectAgentsDir:Sq,userDirExists:MJ,projectDirExists:vJ,failedFiles:Eq};x(CJ);let kJ=await oq(H,{activeAgents:fq,allAgents:IJ,failedFiles:Eq},async()=>X);if(OJ(kJ),UJ()){let Lq=bq(BJ(),"claude","locks"),DJ=wJ(Lq),SJ=FJ(Lq);kq({enabled:!0,locks:SJ,locksDir:Lq,staleLocksCleaned:DJ})}else kq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];w.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claude Code diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(zJ(qq,Jq),!z){let W;if(q[16]===Symbol.for("react.memo_cache_sentinel"))W=Y(Mq,{children:Y(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=W;else W=q[16];return W}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=Y(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let A;if(q[21]!==z.packageManager)A=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=A;else A=q[22];let b;if(q[23]!==z.installationPath)b=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=b;else b=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let M;if(q[27]!==z.configInstallMethod)M=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=M;else M=q[28];let Rq=z.ripgrepStatus.working?"OK":"Not working",Wq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",v;if(q[29]!==Rq||q[30]!==Wq)v=Z(Q,{children:["└ Search: ",Rq," (",Wq,")"]}),q[29]=Rq,q[30]=Wq,q[31]=v;else v=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(h,{children:[Y(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
2
+ `)[0]]}),Y(Q,{dimColor:!0,children:z.recommendation.split(`
3
+ `)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(h,{children:[Y(Q,{}),Y(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(DQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let D;if(q[36]!==z.warnings)D=z.warnings.length>0&&Z(h,{children:[Y(Q,{}),z.warnings.map(kQ)]}),q[36]=z.warnings,q[37]=D;else D=q[37];let S;if(q[38]!==i)S=i.length>0&&Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,children:"Invalid Settings"}),Y(LJ,{errors:i})]}),q[38]=i,q[39]=S;else S=q[39];let f;if(q[40]!==O||q[41]!==A||q[42]!==b||q[43]!==I||q[44]!==M||q[45]!==v||q[46]!==C||q[47]!==k||q[48]!==D||q[49]!==S)f=Z(y,{flexDirection:"column",children:[Qq,O,A,b,I,M,v,C,k,D,S]}),q[40]=O,q[41]=A,q[42]=b,q[43]=I,q[44]=M,q[45]=v,q[46]=C,q[47]=k,q[48]=D,q[49]=S,q[50]=f;else f=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=Y(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let hq=z.packageManager?"Managed by package manager":z.autoUpdates,E;if(q[52]!==hq)E=Z(Q,{children:["└ Auto-updates:"," ",hq]}),q[52]=hq,q[53]=E;else E=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",bJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=Y(w.Suspense,{fallback:null,children:Y(LQ,{promise:AJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==E||q[59]!==u)m=Z(y,{flexDirection:"column",children:[Zq,E,u,zq,Yq]}),q[58]=E,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=Y(lq,{}),Kq=Y(WJ,{}),Vq=Y(_q,{}),Xq=Dq.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Environment Variables"}),Dq.map(CQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==L)p=L?.enabled&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Version Locks"}),L.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",L.staleLocksCleaned," stale lock(s)"]}),L.locks.length===0?Y(Q,{dimColor:!0,children:"└ No active version locks"}):L.locks.map(vQ)]}),q[65]=L,q[66]=p;else p=q[66];let j;if(q[67]!==F)j=F?.failedFiles&&F.failedFiles.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",F.failedFiles.length," agent file(s):"]}),F.failedFiles.map(MQ)]}),q[67]=F,q[68]=j;else j=q[68];let _;if(q[69]!==B)_=B.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",B.length," plugin error(s) detected:"]}),B.map(IQ)]}),q[69]=B,q[70]=_;else _=q[70];let d;if(q[71]!==N)d=N?.unreachableRulesWarning&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.unreachableRulesWarning.message]})]}),N.unreachableRulesWarning.details.map(bQ)]}),q[71]=N,q[72]=d;else d=q[72];let T;if(q[73]!==N)T=N&&(N.claudeMdWarning||N.agentWarning||N.mcpWarning)&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Context Usage Warnings"}),N.claudeMdWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),N.claudeMdWarning.details.map(AQ)]}),N.agentWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),N.agentWarning.details.map(OQ)]}),N.mcpWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),N.mcpWarning.details.map(PQ)]})]}),q[73]=N,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=Y(y,{children:Y(hJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==f||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Mq,{children:[f,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=f,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function PQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function OQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function AQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function bQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function IQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",GJ(J)]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function vQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?Y(Q,{children:"(running)"}):Y(Q,{color:"warning",children:"(stale)"})]},q)}function CQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",Y(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function kQ(J,q){return Z(y,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function DQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function SQ(J){return{agentType:J.agentType,source:J.source}}function fQ(J){return J.status!=="valid"}function EQ(J){let q=process.env[J.name],V=KJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function uQ(J){return J.mcpErrorMetadata===void 0}function mQ(J){return(J.installationType==="native"?NJ:yJ)().catch(pQ)}function pQ(){return{latest:null,stable:null}}function jQ(J){return J.plugins.errors}function _Q(J){return J.toolPermissionContext}function dQ(J){return J.mcp.tools}function TQ(J){return J.agentDefinitions}var Cq,w;var cQ=Uq(()=>{tJ();dq();HQ();QQ();sJ();eJ();GQ();RQ();$q();WQ();hQ();YQ();Oq();zQ();yQ();KQ();NQ();nq();BQ();VQ();qQ();FQ();JQ();XQ();wQ();UQ();c();Cq=Bq(Pq(),1),w=Bq(ZQ(),1)});
4
+ export{pZ as ag,cQ as bg};
@@ -0,0 +1,2 @@
1
+ import{Dia as w,Nia as F}from"./cli-0.7.0-na9s209m.mjs";import{Zpa as D}from"./cli-0.7.0-8p56ked8.mjs";function Q(b){z=b}function V(){let b=z?.()??{};if(!w(process.env.CLAUDE_CODE_SUBPROCESS_ENV_SCRUB))return Object.keys(b).length>0?{...process.env,...b}:process.env;let d={...process.env,...b};for(let q of J)delete d[q],delete d[`INPUT_${q}`];return d}var J,z;var L=D(()=>{F();J=["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_FOUNDRY_API_KEY","ANTHROPIC_CUSTOM_HEADERS","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_TRACES_HEADERS","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","GOOGLE_APPLICATION_CREDENTIALS","AZURE_CLIENT_SECRET","AZURE_CLIENT_CERTIFICATE_PATH","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","ACTIONS_RUNTIME_TOKEN","ACTIONS_RUNTIME_URL","ALL_INPUTS","OVERRIDE_GITHUB_TOKEN","DEFAULT_WORKFLOW_TOKEN","SSH_SIGNING_KEY"]});
2
+ export{Q as IT,V as JT,L as KT};
@@ -0,0 +1,2 @@
1
+ import{Vga as X,Yga as z}from"./cli-0.7.0-0cp32djm.mjs";import{$ha as P,Bha as Z,Gha as O,Yha as $}from"./cli-0.7.0-hrtdae85.mjs";import{qia as Y,xia as H}from"./cli-0.7.0-ba1xb8x3.mjs";import{Zpa as x}from"./cli-0.7.0-8p56ked8.mjs";function h(q){return q.replace(w,(K,J,Q)=>{if(Q.length<F)return`"${J}":"[REDACTED]"`;let V=`${Q.slice(0,8)}...${Q.slice(-4)}`;return`"${J}":"${V}"`})}function N(q){let K=q.replace(/\n/g,"\\n");if(K.length<=W)return K;return K.slice(0,W)+`... (${K.length} chars)`}function R(q){let K=typeof q==="string"?q:Z(q),J=h(K);if(J.length<=W)return J;return J.slice(0,W)+`... (${J.length} chars)`}function U(q){let K=Y(q);if(q&&typeof q==="object"&&"response"in q){let J=q.response;if(J?.data&&typeof J.data==="object"){let Q=J.data,V=typeof Q.message==="string"?Q.message:typeof Q.error==="object"&&Q.error&&("message"in Q.error)&&typeof Q.error.message==="string"?Q.error.message:void 0;if(V)return`${K}: ${V}`}}return K}function j(q){if(q&&typeof q==="object"&&"response"in q&&q.response&&typeof q.response.status==="number")return q.response.status;return}function D(q){if(!q||typeof q!=="object")return;if("message"in q&&typeof q.message==="string")return q.message;if("error"in q&&q.error!==null&&typeof q.error==="object"&&"message"in q.error&&typeof q.error.message==="string")return q.error.message;return}function L(q,K,J){if(K)$(K);X("tengu_bridge_repl_skipped",{reason:q,...J!==void 0&&{v2:J}})}var W=2000,k,w,F=16;var m=x(()=>{z();P();H();O();k=["session_ingress_token","environment_secret","access_token","secret","token"],w=new RegExp(`"(${k.join("|")})"\\s*:\\s*"([^"]*)"`,"g")});
2
+ export{N as kf,R as lf,U as mf,j as nf,D as of,L as pf,m as qf};