@claudiolabs/claudin 0.5.8 → 0.5.9

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 (843) hide show
  1. package/dist/chunks/AgentTool-0.5.9-560de9d1.mjs +1 -0
  2. package/dist/chunks/App-0.5.9-zsap2q4b.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.5.9-8zgzn0jw.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.5.9-92f16280.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.5.9-708dpq05.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.5.9-thv5358f.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.9-h0dan6qh.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.5.9-35ajv7zw.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.5.9-2gfy103v.mjs +3 -0
  10. package/dist/chunks/Doctor-0.5.9-wjw0w0c1.mjs +1 -0
  11. package/dist/chunks/Grove-0.5.9-hty0xzar.mjs +1 -0
  12. package/dist/chunks/ITermBackend-0.5.9-pch1zyqn.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-0.5.9-xjp9bdct.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-0.5.9-t4wkfdrh.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-0.5.9-12p8z825.mjs +1 -0
  16. package/dist/chunks/Onboarding-0.5.9-d02fdy7a.mjs +1 -0
  17. package/dist/chunks/ProviderManager-0.5.9-2h6pym7f.mjs +1 -0
  18. package/dist/chunks/REPL-0.5.9-fn63chv9.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-0.5.9-wdc0fys1.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-0.5.9-ty7tvdf3.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-0.5.9-th2cx2b2.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-0.5.9-gqyef6wv.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-0.5.9-e4b9wj1z.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-0.5.9-xx7btmxb.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-0.5.9-7h9j8zft.mjs +1 -0
  26. package/dist/chunks/TrustDialog-0.5.9-y0bxcnzx.mjs +1 -0
  27. package/dist/chunks/activeProvider-0.5.9-bqhnxdga.mjs +1 -0
  28. package/dist/chunks/add-dir-0.5.9-t52c4h9t.mjs +1 -0
  29. package/dist/chunks/agents-0.5.9-b270304w.mjs +110 -0
  30. package/dist/chunks/agents-0.5.9-h9dw36cp.mjs +3 -0
  31. package/dist/chunks/api-0.5.9-jnhtend7.mjs +1 -0
  32. package/dist/chunks/asciicast-0.5.9-hrjx2e4n.mjs +1 -0
  33. package/dist/chunks/assistant-0.5.9-ap4j82na.mjs +1 -0
  34. package/dist/chunks/auth-0.5.9-cna7nxzb.mjs +1 -0
  35. package/dist/chunks/auth-0.5.9-q8ejya3n.mjs +1 -0
  36. package/dist/chunks/autoMode-0.5.9-w9j324dc.mjs +48 -0
  37. package/dist/chunks/autoUpdater-0.5.9-3x3xcjhq.mjs +1 -0
  38. package/dist/chunks/backgroundHousekeeping-0.5.9-ngzjz5nf.mjs +1 -0
  39. package/dist/chunks/branch-0.5.9-4389y3jh.mjs +4 -0
  40. package/dist/chunks/bridgePointer-0.5.9-ph0vdzcm.mjs +1 -0
  41. package/dist/chunks/btw-0.5.9-kq7dda47.mjs +1 -0
  42. package/dist/chunks/buddy-0.5.9-3s5bz133.mjs +3 -0
  43. package/dist/chunks/cacache-0.5.9-k02nazjg.mjs +1 -0
  44. package/dist/chunks/cache-probe-0.5.9-vdfe8hkq.mjs +21 -0
  45. package/dist/chunks/cacheStats-0.5.9-89wd0xyf.mjs +4 -0
  46. package/dist/chunks/caches-0.5.9-kg4820wg.mjs +1 -0
  47. package/dist/chunks/claudeDesktop-0.5.9-7pt2wjt1.mjs +1 -0
  48. package/dist/chunks/claudemd-0.5.9-bhqwq7vs.mjs +1 -0
  49. package/dist/chunks/clear-0.5.9-5mg9gs8a.mjs +1 -0
  50. package/dist/chunks/clearTerminal-0.5.9-esamq102.mjs +1 -0
  51. package/dist/chunks/cli-0.5.9-00ms6tt7.mjs +4 -0
  52. package/dist/chunks/cli-0.5.9-02vwh5bc.mjs +2 -0
  53. package/dist/chunks/cli-0.5.9-0a5jxqra.mjs +58 -0
  54. package/dist/chunks/cli-0.5.9-0b1wx67c.mjs +193 -0
  55. package/dist/chunks/cli-0.5.9-0becvd5f.mjs +2 -0
  56. package/dist/chunks/cli-0.5.9-0w46b370.mjs +3 -0
  57. package/dist/chunks/cli-0.5.9-10ar539r.mjs +2 -0
  58. package/dist/chunks/cli-0.5.9-12gj3v8y.mjs +12 -0
  59. package/dist/chunks/cli-0.5.9-1ktmgzhb.mjs +15 -0
  60. package/dist/chunks/cli-0.5.9-1qkhnqnk.mjs +4 -0
  61. package/dist/chunks/cli-0.5.9-1y9n9z2h.mjs +2 -0
  62. package/dist/chunks/cli-0.5.9-1zc8qwr4.mjs +2 -0
  63. package/dist/chunks/cli-0.5.9-248na0hf.mjs +2 -0
  64. package/dist/chunks/cli-0.5.9-2fcyavah.mjs +17 -0
  65. package/dist/chunks/cli-0.5.9-2jfbm2es.mjs +12 -0
  66. package/dist/chunks/cli-0.5.9-2txnqxd1.mjs +2 -0
  67. package/dist/chunks/cli-0.5.9-31f5vjyq.mjs +2 -0
  68. package/dist/chunks/cli-0.5.9-32fpvgpt.mjs +2 -0
  69. package/dist/chunks/cli-0.5.9-371mb3zf.mjs +4 -0
  70. package/dist/chunks/cli-0.5.9-3bsjckc3.mjs +2 -0
  71. package/dist/chunks/cli-0.5.9-3s1c44tz.mjs +2 -0
  72. package/dist/chunks/cli-0.5.9-41dpv5z9.mjs +2 -0
  73. package/dist/chunks/cli-0.5.9-42t3s85x.mjs +2 -0
  74. package/dist/chunks/cli-0.5.9-4aga12a5.mjs +2 -0
  75. package/dist/chunks/cli-0.5.9-4fdad25z.mjs +3 -0
  76. package/dist/chunks/cli-0.5.9-4m738pn1.mjs +25 -0
  77. package/dist/chunks/cli-0.5.9-4s8nynfd.mjs +2 -0
  78. package/dist/chunks/cli-0.5.9-4t8b91eb.mjs +4 -0
  79. package/dist/chunks/cli-0.5.9-4w9169na.mjs +3 -0
  80. package/dist/chunks/cli-0.5.9-5ah34c4c.mjs +39 -0
  81. package/dist/chunks/cli-0.5.9-5e3fhttm.mjs +2 -0
  82. package/dist/chunks/cli-0.5.9-5hzwn715.mjs +2 -0
  83. package/dist/chunks/cli-0.5.9-5s8vtyx6.mjs +4 -0
  84. package/dist/chunks/cli-0.5.9-5vdqnecb.mjs +4 -0
  85. package/dist/chunks/cli-0.5.9-5vj7cvdr.mjs +2 -0
  86. package/dist/chunks/cli-0.5.9-5ykvr12k.mjs +2 -0
  87. package/dist/chunks/cli-0.5.9-610r4gbg.mjs +2 -0
  88. package/dist/chunks/cli-0.5.9-637n1msd.mjs +15 -0
  89. package/dist/chunks/cli-0.5.9-671nz4d9.mjs +2 -0
  90. package/dist/chunks/cli-0.5.9-68rmtj23.mjs +2 -0
  91. package/dist/chunks/cli-0.5.9-6rrqt96f.mjs +2 -0
  92. package/dist/chunks/cli-0.5.9-72tax9cd.mjs +2 -0
  93. package/dist/chunks/cli-0.5.9-77nxjft3.mjs +2 -0
  94. package/dist/chunks/cli-0.5.9-7bq8wzr3.mjs +18 -0
  95. package/dist/chunks/cli-0.5.9-7hcka84h.mjs +2 -0
  96. package/dist/chunks/cli-0.5.9-7qcan18n.mjs +2 -0
  97. package/dist/chunks/cli-0.5.9-8h1qpeef.mjs +2 -0
  98. package/dist/chunks/cli-0.5.9-8kfemzbn.mjs +2 -0
  99. package/dist/chunks/cli-0.5.9-8ndgy03m.mjs +4 -0
  100. package/dist/chunks/cli-0.5.9-91gjew0x.mjs +3 -0
  101. package/dist/chunks/cli-0.5.9-9fgjryqc.mjs +2 -0
  102. package/dist/chunks/cli-0.5.9-9rrpczqk.mjs +17 -0
  103. package/dist/chunks/cli-0.5.9-a720c6hc.mjs +9 -0
  104. package/dist/chunks/cli-0.5.9-ajbjmz51.mjs +2 -0
  105. package/dist/chunks/cli-0.5.9-an1j3dqv.mjs +2 -0
  106. package/dist/chunks/cli-0.5.9-ap6gvqkx.mjs +67 -0
  107. package/dist/chunks/cli-0.5.9-apc46v07.mjs +15 -0
  108. package/dist/chunks/cli-0.5.9-awa1dtdz.mjs +2 -0
  109. package/dist/chunks/cli-0.5.9-b4t4xfpb.mjs +2 -0
  110. package/dist/chunks/cli-0.5.9-b4xgpen1.mjs +5 -0
  111. package/dist/chunks/cli-0.5.9-bax4dxrj.mjs +2 -0
  112. package/dist/chunks/cli-0.5.9-bc0wvx5b.mjs +2 -0
  113. package/dist/chunks/cli-0.5.9-bfn7177j.mjs +2 -0
  114. package/dist/chunks/cli-0.5.9-bp09b2xm.mjs +2 -0
  115. package/dist/chunks/cli-0.5.9-bv3m0yb8.mjs +2 -0
  116. package/dist/chunks/cli-0.5.9-bwdsfdf6.mjs +2 -0
  117. package/dist/chunks/cli-0.5.9-c54d94sv.mjs +2 -0
  118. package/dist/chunks/cli-0.5.9-c91t0fys.mjs +2 -0
  119. package/dist/chunks/cli-0.5.9-cbgfqb0x.mjs +2 -0
  120. package/dist/chunks/cli-0.5.9-cy4sm0c2.mjs +2 -0
  121. package/dist/chunks/cli-0.5.9-d5rn9c6v.mjs +12 -0
  122. package/dist/chunks/cli-0.5.9-d66wktpd.mjs +2 -0
  123. package/dist/chunks/cli-0.5.9-d89n2ccx.mjs +2 -0
  124. package/dist/chunks/cli-0.5.9-da0mspn4.mjs +2 -0
  125. package/dist/chunks/cli-0.5.9-dszssq6z.mjs +2 -0
  126. package/dist/chunks/cli-0.5.9-dtbcqw2e.mjs +2 -0
  127. package/dist/chunks/cli-0.5.9-e1gk7v9y.mjs +2 -0
  128. package/dist/chunks/cli-0.5.9-e4sr85eg.mjs +2 -0
  129. package/dist/chunks/cli-0.5.9-e5ex267m.mjs +2 -0
  130. package/dist/chunks/cli-0.5.9-e7gc5p54.mjs +2 -0
  131. package/dist/chunks/cli-0.5.9-eagw660r.mjs +2 -0
  132. package/dist/chunks/cli-0.5.9-ehe0yr95.mjs +26 -0
  133. package/dist/chunks/cli-0.5.9-ejmv1n9p.mjs +3 -0
  134. package/dist/chunks/cli-0.5.9-ek649arf.mjs +6 -0
  135. package/dist/chunks/cli-0.5.9-ezc11axw.mjs +2 -0
  136. package/dist/chunks/cli-0.5.9-ezpjdejw.mjs +2 -0
  137. package/dist/chunks/cli-0.5.9-f9jt7awn.mjs +2 -0
  138. package/dist/chunks/cli-0.5.9-fn6ees65.mjs +2 -0
  139. package/dist/chunks/cli-0.5.9-fv4jrdef.mjs +2 -0
  140. package/dist/chunks/cli-0.5.9-g6qpvmj4.mjs +133 -0
  141. package/dist/chunks/cli-0.5.9-g9kt9aw7.mjs +2 -0
  142. package/dist/chunks/cli-0.5.9-ga0kqnkz.mjs +5 -0
  143. package/dist/chunks/cli-0.5.9-gbq794tt.mjs +2 -0
  144. package/dist/chunks/cli-0.5.9-gcsba93g.mjs +18 -0
  145. package/dist/chunks/cli-0.5.9-ghbax09k.mjs +2 -0
  146. package/dist/chunks/cli-0.5.9-gk1vb8nn.mjs +2 -0
  147. package/dist/chunks/cli-0.5.9-gp0bq7wk.mjs +2 -0
  148. package/dist/chunks/cli-0.5.9-gr8zgxwx.mjs +2 -0
  149. package/dist/chunks/cli-0.5.9-grgf8g99.mjs +2 -0
  150. package/dist/chunks/cli-0.5.9-h5d0zxek.mjs +3 -0
  151. package/dist/chunks/cli-0.5.9-h6nmz5e3.mjs +2 -0
  152. package/dist/chunks/cli-0.5.9-h7gh7ym5.mjs +24 -0
  153. package/dist/chunks/cli-0.5.9-h836a3wa.mjs +2 -0
  154. package/dist/chunks/cli-0.5.9-hg2qm56h.mjs +4 -0
  155. package/dist/chunks/cli-0.5.9-hpq0xehd.mjs +2 -0
  156. package/dist/chunks/cli-0.5.9-hwet4kvx.mjs +2 -0
  157. package/dist/chunks/cli-0.5.9-j2d1jct8.mjs +2 -0
  158. package/dist/chunks/cli-0.5.9-j8629kcy.mjs +2 -0
  159. package/dist/chunks/cli-0.5.9-j9ns2awb.mjs +8 -0
  160. package/dist/chunks/cli-0.5.9-jd8be7cd.mjs +6 -0
  161. package/dist/chunks/cli-0.5.9-jdzavz2g.mjs +2 -0
  162. package/dist/chunks/cli-0.5.9-jjtdefqj.mjs +2 -0
  163. package/dist/chunks/cli-0.5.9-jk4rx6zt.mjs +4 -0
  164. package/dist/chunks/cli-0.5.9-jnhyr1zg.mjs +2 -0
  165. package/dist/chunks/cli-0.5.9-jsxqd90d.mjs +3 -0
  166. package/dist/chunks/cli-0.5.9-k3prcbg9.mjs +2 -0
  167. package/dist/chunks/cli-0.5.9-k47s77hf.mjs +2 -0
  168. package/dist/chunks/cli-0.5.9-k6qxbj0d.mjs +42 -0
  169. package/dist/chunks/cli-0.5.9-k9yedz53.mjs +5262 -0
  170. package/dist/chunks/cli-0.5.9-kfpgp09g.mjs +6 -0
  171. package/dist/chunks/cli-0.5.9-knc0w8sn.mjs +2 -0
  172. package/dist/chunks/cli-0.5.9-krvpcgvw.mjs +2 -0
  173. package/dist/chunks/cli-0.5.9-ktxeg6my.mjs +2 -0
  174. package/dist/chunks/cli-0.5.9-m1y4hmzs.mjs +2 -0
  175. package/dist/chunks/cli-0.5.9-mcezkpp8.mjs +2 -0
  176. package/dist/chunks/cli-0.5.9-mhz9wt6a.mjs +2 -0
  177. package/dist/chunks/cli-0.5.9-mk69z06z.mjs +2 -0
  178. package/dist/chunks/cli-0.5.9-mmvtbr39.mjs +2 -0
  179. package/dist/chunks/cli-0.5.9-mpqmy7zw.mjs +2 -0
  180. package/dist/chunks/cli-0.5.9-n08gkgng.mjs +21 -0
  181. package/dist/chunks/cli-0.5.9-ncjg30aq.mjs +3 -0
  182. package/dist/chunks/cli-0.5.9-nct7sarc.mjs +2 -0
  183. package/dist/chunks/cli-0.5.9-nfhfsnw6.mjs +2 -0
  184. package/dist/chunks/cli-0.5.9-nk3pacrn.mjs +5 -0
  185. package/dist/chunks/cli-0.5.9-nvf5kfmq.mjs +9 -0
  186. package/dist/chunks/cli-0.5.9-ppr1420k.mjs +2 -0
  187. package/dist/chunks/cli-0.5.9-q3wvc7qb.mjs +2 -0
  188. package/dist/chunks/cli-0.5.9-q69vj08a.mjs +2 -0
  189. package/dist/chunks/cli-0.5.9-q7a4xcwy.mjs +3 -0
  190. package/dist/chunks/cli-0.5.9-q9ne4r9p.mjs +50 -0
  191. package/dist/chunks/cli-0.5.9-qddf6zq9.mjs +2 -0
  192. package/dist/chunks/cli-0.5.9-qexy3mqr.mjs +59 -0
  193. package/dist/chunks/cli-0.5.9-qvvxrm93.mjs +3 -0
  194. package/dist/chunks/cli-0.5.9-qy6qkzwb.mjs +2 -0
  195. package/dist/chunks/cli-0.5.9-r9d405kc.mjs +2 -0
  196. package/dist/chunks/cli-0.5.9-rbjjfytb.mjs +2 -0
  197. package/dist/chunks/cli-0.5.9-rh5280xq.mjs +2 -0
  198. package/dist/chunks/cli-0.5.9-rhycyvwn.mjs +2 -0
  199. package/dist/chunks/cli-0.5.9-rjdhjn49.mjs +20 -0
  200. package/dist/chunks/cli-0.5.9-rm62v7hr.mjs +34 -0
  201. package/dist/chunks/cli-0.5.9-rpgjj6qg.mjs +2 -0
  202. package/dist/chunks/cli-0.5.9-rv2328c4.mjs +2 -0
  203. package/dist/chunks/cli-0.5.9-s2jh3scf.mjs +3 -0
  204. package/dist/chunks/cli-0.5.9-sd34jmva.mjs +2 -0
  205. package/dist/chunks/cli-0.5.9-sjcz03eb.mjs +2 -0
  206. package/dist/chunks/cli-0.5.9-ss870bda.mjs +2 -0
  207. package/dist/chunks/cli-0.5.9-syr6nffj.mjs +2 -0
  208. package/dist/chunks/cli-0.5.9-t2fy8t5r.mjs +45 -0
  209. package/dist/chunks/cli-0.5.9-tav5jmz1.mjs +2 -0
  210. package/dist/chunks/cli-0.5.9-tbz9s4h3.mjs +2 -0
  211. package/dist/chunks/cli-0.5.9-tj6dt3d6.mjs +2 -0
  212. package/dist/chunks/cli-0.5.9-tke5evvm.mjs +2 -0
  213. package/dist/chunks/cli-0.5.9-v1srrn02.mjs +2 -0
  214. package/dist/chunks/cli-0.5.9-v5mkedy5.mjs +16 -0
  215. package/dist/chunks/cli-0.5.9-v69cq6f1.mjs +2 -0
  216. package/dist/chunks/cli-0.5.9-ve2b6kmp.mjs +2 -0
  217. package/dist/chunks/cli-0.5.9-vkt9t3z8.mjs +133 -0
  218. package/dist/chunks/cli-0.5.9-w1g3tgzh.mjs +2 -0
  219. package/dist/chunks/cli-0.5.9-wc5gt1zw.mjs +2 -0
  220. package/dist/chunks/cli-0.5.9-whf5zybr.mjs +2 -0
  221. package/dist/chunks/cli-0.5.9-wjvc994v.mjs +2 -0
  222. package/dist/chunks/cli-0.5.9-wkhmkyaq.mjs +2 -0
  223. package/dist/chunks/cli-0.5.9-wrndf987.mjs +2 -0
  224. package/dist/chunks/cli-0.5.9-xbvqph1k.mjs +2 -0
  225. package/dist/chunks/cli-0.5.9-xcexsk79.mjs +2 -0
  226. package/dist/chunks/cli-0.5.9-xge969yd.mjs +2 -0
  227. package/dist/chunks/cli-0.5.9-xn1qcye7.mjs +2 -0
  228. package/dist/chunks/cli-0.5.9-xn369es1.mjs +2 -0
  229. package/dist/chunks/cli-0.5.9-xz1pg47z.mjs +10 -0
  230. package/dist/chunks/cli-0.5.9-yazhwsgb.mjs +4 -0
  231. package/dist/chunks/cli-0.5.9-yh7f5m4w.mjs +2 -0
  232. package/dist/chunks/cli-0.5.9-yqn35x2d.mjs +2 -0
  233. package/dist/chunks/cli-0.5.9-ysvsqcpa.mjs +2 -0
  234. package/dist/chunks/cli-0.5.9-ywc7arzn.mjs +2 -0
  235. package/dist/chunks/cli-0.5.9-z87j725g.mjs +2 -0
  236. package/dist/chunks/cli-0.5.9-zb26tq1c.mjs +2 -0
  237. package/dist/chunks/cli-0.5.9-zerpef2t.mjs +1 -0
  238. package/dist/chunks/cli-0.5.9-zeskcndd.mjs +24 -0
  239. package/dist/chunks/cli-0.5.9-zqgkcx3g.mjs +2 -0
  240. package/dist/chunks/cli-0.5.9-zrcz538q.mjs +2 -0
  241. package/dist/chunks/cli-0.5.9-zwpt90q9.mjs +7 -0
  242. package/dist/chunks/client-0.5.9-bhc7ghsr.mjs +1 -0
  243. package/dist/chunks/color-0.5.9-5722xdf4.mjs +1 -0
  244. package/dist/chunks/compact-0.5.9-4cf807hc.mjs +3 -0
  245. package/dist/chunks/config-0.5.9-936tss5g.mjs +1 -0
  246. package/dist/chunks/config-0.5.9-kk16cygb.mjs +1 -0
  247. package/dist/chunks/context-0.5.9-b0afgp2c.mjs +1 -0
  248. package/dist/chunks/context-noninteractive-0.5.9-wj6fxcsj.mjs +1 -0
  249. package/dist/chunks/conversation-0.5.9-rtntf81h.mjs +1 -0
  250. package/dist/chunks/copy-0.5.9-93t8z0wz.mjs +9 -0
  251. package/dist/chunks/cost-0.5.9-2csvd1ae.mjs +1 -0
  252. package/dist/chunks/createSSHSession-0.5.9-0aqkvqad.mjs +1 -0
  253. package/dist/chunks/createSession-0.5.9-j9xdpffh.mjs +1 -0
  254. package/dist/chunks/debug-0.5.9-kd9n32y2.mjs +1 -0
  255. package/dist/chunks/defaultActionDeps-0.5.9-1f7mkn9m.mjs +1177 -0
  256. package/dist/chunks/desktop-0.5.9-ce65mt7y.mjs +1 -0
  257. package/dist/chunks/detectRepository-0.5.9-4nd76hbs.mjs +1 -0
  258. package/dist/chunks/detection-0.5.9-mpgxg1d5.mjs +1 -0
  259. package/dist/chunks/diff-0.5.9-89ny0sp6.mjs +1 -0
  260. package/dist/chunks/doctor-0.5.9-e8bxsm2r.mjs +1 -0
  261. package/dist/chunks/doctorDiagnostic-0.5.9-kwncc3yh.mjs +1 -0
  262. package/dist/chunks/earlyInput-0.5.9-cxrgrx2e.mjs +1 -0
  263. package/dist/chunks/effort-0.5.9-dbgsjfep.mjs +10 -0
  264. package/dist/chunks/envUtils-0.5.9-59e9sq5q.mjs +1 -0
  265. package/dist/chunks/environmentSelection-0.5.9-5tjt9mkd.mjs +1 -0
  266. package/dist/chunks/environments-0.5.9-ebm4yp6e.mjs +1 -0
  267. package/dist/chunks/errors-0.5.9-xp1e5xqp.mjs +1 -0
  268. package/dist/chunks/exampleCommands-0.5.9-dxv2wpk4.mjs +1 -0
  269. package/dist/chunks/exit-0.5.9-q7cpk25k.mjs +1 -0
  270. package/dist/chunks/export-0.5.9-1dpbp185.mjs +2 -0
  271. package/dist/chunks/extra-usage-0.5.9-ctd5dnsr.mjs +1 -0
  272. package/dist/chunks/extra-usage-noninteractive-0.5.9-hbmbvzb5.mjs +1 -0
  273. package/dist/chunks/fast-0.5.9-wagaw91z.mjs +1 -0
  274. package/dist/chunks/feedback-0.5.9-x37szs13.mjs +14 -0
  275. package/dist/chunks/firstPartyEventLogger-0.5.9-g8st730b.mjs +1 -0
  276. package/dist/chunks/git-0.5.9-zxdvsyxq.mjs +1 -0
  277. package/dist/chunks/githubModelsCredentials-0.5.9-mp51r114.mjs +1 -0
  278. package/dist/chunks/grove-0.5.9-grafpqtx.mjs +1 -0
  279. package/dist/chunks/growthbook-0.5.9-mr1nyz65.mjs +1 -0
  280. package/dist/chunks/headless-0.5.9-pxnbg1dh.mjs +2 -0
  281. package/dist/chunks/heapdump-0.5.9-58bmar8y.mjs +6 -0
  282. package/dist/chunks/help-0.5.9-x6ds3za0.mjs +1 -0
  283. package/dist/chunks/hookChains-0.5.9-1sz7vw7t.mjs +3 -0
  284. package/dist/chunks/hooks-0.5.9-4mjp8k78.mjs +1 -0
  285. package/dist/chunks/hooks-0.5.9-n14e2a57.mjs +79 -0
  286. package/dist/chunks/ide-0.5.9-gk5tarwc.mjs +3 -0
  287. package/dist/chunks/image-processor-napi-0.5.9-eept9e9s.mjs +1 -0
  288. package/dist/chunks/index-0.5.9-0n7mpzrj.mjs +17 -0
  289. package/dist/chunks/index-0.5.9-3ng34e8n.mjs +2 -0
  290. package/dist/chunks/index-0.5.9-4b9dgj2z.mjs +9 -0
  291. package/dist/chunks/index-0.5.9-4fzd2pns.mjs +1 -0
  292. package/dist/chunks/index-0.5.9-6awv6fyn.mjs +1 -0
  293. package/dist/chunks/index-0.5.9-6cbrcdyh.mjs +1 -0
  294. package/dist/chunks/index-0.5.9-725p0eby.mjs +1 -0
  295. package/dist/chunks/index-0.5.9-85ep6547.mjs +30 -0
  296. package/dist/chunks/index-0.5.9-8h5ceajb.mjs +1 -0
  297. package/dist/chunks/index-0.5.9-8ws7n6wv.mjs +5 -0
  298. package/dist/chunks/index-0.5.9-b3jm65x4.mjs +1 -0
  299. package/dist/chunks/index-0.5.9-cjjbeyt8.mjs +1 -0
  300. package/dist/chunks/index-0.5.9-gnac3s48.mjs +1 -0
  301. package/dist/chunks/index-0.5.9-m68jcsx2.mjs +1 -0
  302. package/dist/chunks/index-0.5.9-n91crv8a.mjs +1 -0
  303. package/dist/chunks/index-0.5.9-npkfayxd.mjs +1 -0
  304. package/dist/chunks/index-0.5.9-pbzzad7t.mjs +9 -0
  305. package/dist/chunks/index-0.5.9-thp631gs.mjs +1 -0
  306. package/dist/chunks/index-0.5.9-xcy5t1fw.mjs +1 -0
  307. package/dist/chunks/index-0.5.9-y07jxja1.mjs +1 -0
  308. package/dist/chunks/index-0.5.9-yjkfcf2g.mjs +2 -0
  309. package/dist/chunks/index-0.5.9-zb346057.mjs +1 -0
  310. package/dist/chunks/init-0.5.9-cmszfh8j.mjs +1 -0
  311. package/dist/chunks/initReplBridge-0.5.9-y2j594wz.mjs +1 -0
  312. package/dist/chunks/ink-0.5.9-km3f0tv6.mjs +1 -0
  313. package/dist/chunks/insights-0.5.9-fevx72ve.mjs +870 -0
  314. package/dist/chunks/install-0.5.9-6m05dpsa.mjs +1 -0
  315. package/dist/chunks/install-github-app-0.5.9-91syqpey.mjs +149 -0
  316. package/dist/chunks/install-slack-app-0.5.9-9rqmjej1.mjs +1 -0
  317. package/dist/chunks/instrumentation-0.5.9-55dt6kkh.mjs +1 -0
  318. package/dist/chunks/interactiveHelpers-0.5.9-47bhz9at.mjs +1 -0
  319. package/dist/chunks/keybindings-0.5.9-y134m89v.mjs +2 -0
  320. package/dist/chunks/knowledge-0.5.9-d1m7e2b4.mjs +2 -0
  321. package/dist/chunks/latestVersionCache-0.5.9-69z169gq.mjs +1 -0
  322. package/dist/chunks/loadAgentsDir-0.5.9-vtemqv8c.mjs +1 -0
  323. package/dist/chunks/loadPluginHooks-0.5.9-xxp0pj2x.mjs +1 -0
  324. package/dist/chunks/loadPluginHooks-0.5.9-zgq2s8sm.mjs +1 -0
  325. package/dist/chunks/log-0.5.9-8aszszjb.mjs +1 -0
  326. package/dist/chunks/main-0.5.9-cjg2h8yb.mjs +1 -0
  327. package/dist/chunks/managedEnv-0.5.9-nq2mbery.mjs +1 -0
  328. package/dist/chunks/mcp-0.5.9-g39bj87f.mjs +17 -0
  329. package/dist/chunks/mcp-0.5.9-h1sdm6zb.mjs +4 -0
  330. package/dist/chunks/mcp-0.5.9-vpwsq0wd.mjs +1 -0
  331. package/dist/chunks/mcpb-0.5.9-pavmx8mm.mjs +1 -0
  332. package/dist/chunks/memory-0.5.9-se036fe4.mjs +3 -0
  333. package/dist/chunks/mobile-0.5.9-57ycqdp3.mjs +2 -0
  334. package/dist/chunks/model-0.5.9-4e6fc1m4.mjs +1 -0
  335. package/dist/chunks/model-0.5.9-k0m86zrn.mjs +2 -0
  336. package/dist/chunks/node-0.5.9-ftk6pxmx.mjs +12 -0
  337. package/dist/chunks/oauth-0.5.9-bytwte72.mjs +1 -0
  338. package/dist/chunks/openaiShim-0.5.9-f9gdeama.mjs +14 -0
  339. package/dist/chunks/output-style-0.5.9-1wbqsbc0.mjs +1 -0
  340. package/dist/chunks/package-D6422PQU-0.5.9-4gkr65dy.mjs +1 -0
  341. package/dist/chunks/parseConnectUrl-0.5.9-d0t88r4n.mjs +1 -0
  342. package/dist/chunks/parser-0.5.9-j1kdtn15.mjs +1 -0
  343. package/dist/chunks/passes-0.5.9-w08t80rc.mjs +1 -0
  344. package/dist/chunks/permissions-0.5.9-mzx7w14f.mjs +3 -0
  345. package/dist/chunks/plan-0.5.9-trs5gepx.mjs +1 -0
  346. package/dist/chunks/plist-0.5.9-rzpv4ecn.mjs +1 -0
  347. package/dist/chunks/plugin-0.5.9-x1xsznkk.mjs +29 -0
  348. package/dist/chunks/pluginStartupCheck-0.5.9-qwkp82xp.mjs +1 -0
  349. package/dist/chunks/plugins-0.5.9-8yj1w6bf.mjs +9 -0
  350. package/dist/chunks/preActionHook-0.5.9-130eb4bx.mjs +2 -0
  351. package/dist/chunks/print-0.5.9-fm0q92d1.mjs +57 -0
  352. package/dist/chunks/privacy-settings-0.5.9-vhjhbccg.mjs +1 -0
  353. package/dist/chunks/process-0.5.9-syp1y7ym.mjs +1 -0
  354. package/dist/chunks/processBashCommand-0.5.9-admb0s9z.mjs +1 -0
  355. package/dist/chunks/processSlashCommand-0.5.9-x5wmbzr0.mjs +9 -0
  356. package/dist/chunks/prompt-0.5.9-6s763n7m.mjs +1 -0
  357. package/dist/chunks/prompt-0.5.9-fg1exp0e.mjs +1 -0
  358. package/dist/chunks/prompts-0.5.9-a6jrpexy.mjs +1 -0
  359. package/dist/chunks/protocolHandler-0.5.9-5920qvb2.mjs +13 -0
  360. package/dist/chunks/provider-0.5.9-ew50s03j.mjs +2 -0
  361. package/dist/chunks/providerProfiles-0.5.9-ygv5pxbq.mjs +1 -0
  362. package/dist/chunks/providerValidation-0.5.9-pebvjkk0.mjs +6 -0
  363. package/dist/chunks/rate-limit-options-0.5.9-p39mhxr9.mjs +1 -0
  364. package/dist/chunks/registerSubcommands-0.5.9-5576rw9k.mjs +34 -0
  365. package/dist/chunks/registry-0.5.9-tkmx5qgm.mjs +1 -0
  366. package/dist/chunks/release-notes-0.5.9-cmf1033z.mjs +5 -0
  367. package/dist/chunks/reload-plugins-0.5.9-ynqb4wwm.mjs +2 -0
  368. package/dist/chunks/remote-env-0.5.9-ddnwx90m.mjs +1 -0
  369. package/dist/chunks/remoteBridgeCore-0.5.9-br32ecze.mjs +1 -0
  370. package/dist/chunks/remoteSession-0.5.9-9ee3jy2n.mjs +1 -0
  371. package/dist/chunks/rename-0.5.9-h0npjxhv.mjs +1 -0
  372. package/dist/chunks/replBridgeHandle-0.5.9-4tjg5rct.mjs +1 -0
  373. package/dist/chunks/replLauncher-0.5.9-y4zkk3hb.mjs +1 -0
  374. package/dist/chunks/resume-0.5.9-5n9z570h.mjs +2 -0
  375. package/dist/chunks/rewind-0.5.9-cawzh2f5.mjs +1 -0
  376. package/dist/chunks/rootOptions-0.5.9-z7hher7x.mjs +1 -0
  377. package/dist/chunks/sandbox-adapter-0.5.9-m8dy3vak.mjs +1 -0
  378. package/dist/chunks/sandbox-toggle-0.5.9-d7hfb9dw.mjs +1 -0
  379. package/dist/chunks/session-0.5.9-spjfzb60.mjs +2 -0
  380. package/dist/chunks/sessionDiscovery-0.5.9-k8tw4apd.mjs +1 -0
  381. package/dist/chunks/sessionFileAccessHooks-0.5.9-kzd77836.mjs +1 -0
  382. package/dist/chunks/sessionStorage-0.5.9-5eaxh9e1.mjs +1 -0
  383. package/dist/chunks/settings-0.5.9-9y9yx2ep.mjs +1 -0
  384. package/dist/chunks/setup-0.5.9-cbnsjaz6.mjs +5 -0
  385. package/dist/chunks/sinks-0.5.9-3kes56y2.mjs +1 -0
  386. package/dist/chunks/skills-0.5.9-816ec23f.mjs +1 -0
  387. package/dist/chunks/startupProfiler-0.5.9-j5rdws5r.mjs +1 -0
  388. package/dist/chunks/startupUpdateCheck-0.5.9-wgd2amqq.mjs +1 -0
  389. package/dist/chunks/state-0.5.9-ssv90pdf.mjs +1 -0
  390. package/dist/chunks/stats-0.5.9-09jq1eez.mjs +6 -0
  391. package/dist/chunks/status-0.5.9-zm23czy4.mjs +1 -0
  392. package/dist/chunks/stickers-0.5.9-df1ha62e.mjs +1 -0
  393. package/dist/chunks/subprocessEnv-0.5.9-4bh9v7rk.mjs +1 -0
  394. package/dist/chunks/tasks-0.5.9-75eaj64t.mjs +1 -0
  395. package/dist/chunks/teamHelpers-0.5.9-a239c7as.mjs +1 -0
  396. package/dist/chunks/teammateModeSnapshot-0.5.9-gpfpnhg1.mjs +1 -0
  397. package/dist/chunks/teleport-0.5.9-jq0cm2ce.mjs +1 -0
  398. package/dist/chunks/terminalSetup-0.5.9-zscy8b5b.mjs +1 -0
  399. package/dist/chunks/theme-0.5.9-crkb4a1t.mjs +1 -0
  400. package/dist/chunks/thinkback-0.5.9-bqzpccev.mjs +1 -0
  401. package/dist/chunks/thinkback-play-0.5.9-avsgpz11.mjs +1 -0
  402. package/dist/chunks/toolPool-0.5.9-9k94r61g.mjs +1 -0
  403. package/dist/chunks/toolSearch-0.5.9-qm8rqvys.mjs +1 -0
  404. package/dist/chunks/tools-0.5.9-e5fa6xh1.mjs +1 -0
  405. package/dist/chunks/trustedDevice-0.5.9-dhpwn40g.mjs +1 -0
  406. package/dist/chunks/turndown.cjs-0.5.9-bwat06c0.mjs +69 -0
  407. package/dist/chunks/ultrareviewCommand-0.5.9-qfz8shw1.mjs +4 -0
  408. package/dist/chunks/update-0.5.9-yv6acwy6.mjs +86 -0
  409. package/dist/chunks/upgrade-0.5.9-3xpmapbj.mjs +1 -0
  410. package/dist/chunks/upstreamproxy-0.5.9-ebc62ytm.mjs +14 -0
  411. package/dist/chunks/url-handler-napi-0.5.9-ejbmjrv9.mjs +1 -0
  412. package/dist/chunks/usage-0.5.9-ze5694v0.mjs +1 -0
  413. package/dist/chunks/util-0.5.9-8517xr6w.mjs +1 -0
  414. package/dist/chunks/utils-0.5.9-tq5p3g26.mjs +1 -0
  415. package/dist/chunks/vim-0.5.9-3pwhv6s4.mjs +1 -0
  416. package/dist/chunks/watcher-0.5.9-ft2b96h8.mjs +1 -0
  417. package/dist/chunks/wiki-0.5.9-f96c34xg.mjs +132 -0
  418. package/dist/chunks/worktree-0.5.9-p28ne51h.mjs +1 -0
  419. package/dist/chunks/worktreeModeEnabled-0.5.9-4tgvrvd2.mjs +1 -0
  420. package/dist/chunks/wrapper-0.5.9-asjtntyw.mjs +7 -0
  421. package/dist/claudin-vscode.vsix +0 -0
  422. package/dist/cli.mjs +2 -2
  423. package/package.json +24 -24
  424. package/dist/chunks/AgentTool-0.5.8-161prcqd.mjs +0 -1
  425. package/dist/chunks/App-0.5.8-s4939y9q.mjs +0 -1
  426. package/dist/chunks/ApproveApiKey-0.5.8-kyzt3tyh.mjs +0 -1
  427. package/dist/chunks/AssistantSessionChooser-0.5.8-0fws1s48.mjs +0 -1
  428. package/dist/chunks/AutoModeOptInDialog-0.5.8-v373fzha.mjs +0 -1
  429. package/dist/chunks/BypassPermissionsModeDialog-0.5.8-pbv15kg8.mjs +0 -1
  430. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.5.8-rmcm4b5v.mjs +0 -1
  431. package/dist/chunks/ConsoleOAuthFlow-0.5.8-q3djee4h.mjs +0 -1
  432. package/dist/chunks/DiffDialog-0.5.8-1gvdqrt3.mjs +0 -3
  433. package/dist/chunks/Doctor-0.5.8-5k5vqf8q.mjs +0 -1
  434. package/dist/chunks/Grove-0.5.8-g2xzefay.mjs +0 -1
  435. package/dist/chunks/ITermBackend-0.5.8-j209yx9z.mjs +0 -1
  436. package/dist/chunks/InvalidConfigDialog-0.5.8-98nc303h.mjs +0 -1
  437. package/dist/chunks/InvalidSettingsDialog-0.5.8-p5qzw710.mjs +0 -1
  438. package/dist/chunks/MigrationDialog-0.5.8-gp57r21r.mjs +0 -1
  439. package/dist/chunks/Onboarding-0.5.8-m0r6a4s2.mjs +0 -1
  440. package/dist/chunks/ProviderManager-0.5.8-6tfnxyse.mjs +0 -1
  441. package/dist/chunks/REPL-0.5.8-sf0q46pa.mjs +0 -1
  442. package/dist/chunks/ResumeConversation-0.5.8-0j8mw0eh.mjs +0 -1
  443. package/dist/chunks/SnapshotUpdateDialog-0.5.8-13b725ee.mjs +0 -1
  444. package/dist/chunks/TeleportProgress-0.5.8-3fxrymde.mjs +0 -1
  445. package/dist/chunks/TeleportRepoMismatchDialog-0.5.8-1dqx0hnb.mjs +0 -1
  446. package/dist/chunks/TeleportResumeWrapper-0.5.8-84pek3s7.mjs +0 -1
  447. package/dist/chunks/TmuxBackend-0.5.8-rcwm1j6z.mjs +0 -9
  448. package/dist/chunks/ToolSearchTool-0.5.8-fp493kvp.mjs +0 -1
  449. package/dist/chunks/TrustDialog-0.5.8-j0h8y92c.mjs +0 -1
  450. package/dist/chunks/activeProvider-0.5.8-y1zsxh1g.mjs +0 -1
  451. package/dist/chunks/add-dir-0.5.8-sz3kyvkz.mjs +0 -1
  452. package/dist/chunks/agents-0.5.8-cm3hzc60.mjs +0 -3
  453. package/dist/chunks/agents-0.5.8-qg1s69va.mjs +0 -110
  454. package/dist/chunks/api-0.5.8-pcde65dc.mjs +0 -1
  455. package/dist/chunks/asciicast-0.5.8-tgmb7g4m.mjs +0 -1
  456. package/dist/chunks/assistant-0.5.8-4mak6nq9.mjs +0 -1
  457. package/dist/chunks/auth-0.5.8-70ks8nc4.mjs +0 -1
  458. package/dist/chunks/auth-0.5.8-82vx5hkw.mjs +0 -1
  459. package/dist/chunks/autoMode-0.5.8-xjwjh2k5.mjs +0 -48
  460. package/dist/chunks/autoUpdater-0.5.8-rf164ggm.mjs +0 -1
  461. package/dist/chunks/backgroundHousekeeping-0.5.8-ak5ca2cx.mjs +0 -1
  462. package/dist/chunks/branch-0.5.8-n82xbsmg.mjs +0 -4
  463. package/dist/chunks/bridgePointer-0.5.8-m7nwe7sd.mjs +0 -1
  464. package/dist/chunks/btw-0.5.8-0yftty6m.mjs +0 -1
  465. package/dist/chunks/buddy-0.5.8-4dvkprbs.mjs +0 -3
  466. package/dist/chunks/cacache-0.5.8-vj95fs26.mjs +0 -1
  467. package/dist/chunks/cache-probe-0.5.8-944hef3p.mjs +0 -21
  468. package/dist/chunks/cacheStats-0.5.8-jdya51jg.mjs +0 -4
  469. package/dist/chunks/caches-0.5.8-xkrjxp25.mjs +0 -1
  470. package/dist/chunks/claudeDesktop-0.5.8-fpb40wzd.mjs +0 -1
  471. package/dist/chunks/claudemd-0.5.8-eyztrzk8.mjs +0 -1
  472. package/dist/chunks/clear-0.5.8-kgvzdkgq.mjs +0 -1
  473. package/dist/chunks/clearTerminal-0.5.8-xv1faw7c.mjs +0 -1
  474. package/dist/chunks/cli-0.5.8-01yjahnz.mjs +0 -2
  475. package/dist/chunks/cli-0.5.8-07dyymev.mjs +0 -2
  476. package/dist/chunks/cli-0.5.8-0a4sdrgm.mjs +0 -2
  477. package/dist/chunks/cli-0.5.8-0bys4xae.mjs +0 -2
  478. package/dist/chunks/cli-0.5.8-0cmtavcs.mjs +0 -2
  479. package/dist/chunks/cli-0.5.8-0dkx0fh2.mjs +0 -2
  480. package/dist/chunks/cli-0.5.8-0hybhk72.mjs +0 -2
  481. package/dist/chunks/cli-0.5.8-0we2hm7d.mjs +0 -2
  482. package/dist/chunks/cli-0.5.8-1bp61y3p.mjs +0 -2
  483. package/dist/chunks/cli-0.5.8-1gm5vdye.mjs +0 -2
  484. package/dist/chunks/cli-0.5.8-1heha1zs.mjs +0 -2
  485. package/dist/chunks/cli-0.5.8-1x4w18nq.mjs +0 -2
  486. package/dist/chunks/cli-0.5.8-20gjzt7v.mjs +0 -2
  487. package/dist/chunks/cli-0.5.8-221e7v67.mjs +0 -2
  488. package/dist/chunks/cli-0.5.8-23ep6z70.mjs +0 -2
  489. package/dist/chunks/cli-0.5.8-2bq72da9.mjs +0 -2
  490. package/dist/chunks/cli-0.5.8-2f1ewq8w.mjs +0 -2
  491. package/dist/chunks/cli-0.5.8-2g8p9sae.mjs +0 -2
  492. package/dist/chunks/cli-0.5.8-2nr7eh5e.mjs +0 -2
  493. package/dist/chunks/cli-0.5.8-396k3ymm.mjs +0 -25
  494. package/dist/chunks/cli-0.5.8-3a6g7wmx.mjs +0 -58
  495. package/dist/chunks/cli-0.5.8-3fnpjffd.mjs +0 -2
  496. package/dist/chunks/cli-0.5.8-3ndh3gtc.mjs +0 -2
  497. package/dist/chunks/cli-0.5.8-3p5h46hv.mjs +0 -2
  498. package/dist/chunks/cli-0.5.8-3qjtx8w8.mjs +0 -2
  499. package/dist/chunks/cli-0.5.8-3y8x0dx3.mjs +0 -2
  500. package/dist/chunks/cli-0.5.8-3zg1gkde.mjs +0 -2
  501. package/dist/chunks/cli-0.5.8-402vctdy.mjs +0 -2
  502. package/dist/chunks/cli-0.5.8-42eyjvs8.mjs +0 -2
  503. package/dist/chunks/cli-0.5.8-4hvxb5dp.mjs +0 -5286
  504. package/dist/chunks/cli-0.5.8-4jrb4x7b.mjs +0 -9
  505. package/dist/chunks/cli-0.5.8-4mn881k7.mjs +0 -2
  506. package/dist/chunks/cli-0.5.8-4n26wzd5.mjs +0 -2
  507. package/dist/chunks/cli-0.5.8-4rgg1zqd.mjs +0 -6
  508. package/dist/chunks/cli-0.5.8-4xn4yjaa.mjs +0 -8
  509. package/dist/chunks/cli-0.5.8-4yyy85fr.mjs +0 -2
  510. package/dist/chunks/cli-0.5.8-510vqc09.mjs +0 -4
  511. package/dist/chunks/cli-0.5.8-57qan5v8.mjs +0 -2
  512. package/dist/chunks/cli-0.5.8-5a9k7mja.mjs +0 -2
  513. package/dist/chunks/cli-0.5.8-5bdfv4z2.mjs +0 -2
  514. package/dist/chunks/cli-0.5.8-5gzkph9c.mjs +0 -2
  515. package/dist/chunks/cli-0.5.8-5h92528m.mjs +0 -4
  516. package/dist/chunks/cli-0.5.8-5zqpfyqq.mjs +0 -2
  517. package/dist/chunks/cli-0.5.8-60e57smp.mjs +0 -2
  518. package/dist/chunks/cli-0.5.8-665mfjfq.mjs +0 -5
  519. package/dist/chunks/cli-0.5.8-69frkjjq.mjs +0 -2
  520. package/dist/chunks/cli-0.5.8-69swpyae.mjs +0 -2
  521. package/dist/chunks/cli-0.5.8-6epmns99.mjs +0 -2
  522. package/dist/chunks/cli-0.5.8-6nc6hmng.mjs +0 -3
  523. package/dist/chunks/cli-0.5.8-6t480jt6.mjs +0 -2
  524. package/dist/chunks/cli-0.5.8-6tfvmmwd.mjs +0 -2
  525. package/dist/chunks/cli-0.5.8-78y711gq.mjs +0 -7
  526. package/dist/chunks/cli-0.5.8-7fm71y20.mjs +0 -2
  527. package/dist/chunks/cli-0.5.8-7t6q11qp.mjs +0 -3
  528. package/dist/chunks/cli-0.5.8-7teqphwt.mjs +0 -2
  529. package/dist/chunks/cli-0.5.8-7w4sv41z.mjs +0 -2
  530. package/dist/chunks/cli-0.5.8-7wzh55d5.mjs +0 -2
  531. package/dist/chunks/cli-0.5.8-8b40nd32.mjs +0 -3
  532. package/dist/chunks/cli-0.5.8-8c0hade9.mjs +0 -2
  533. package/dist/chunks/cli-0.5.8-8h4z9e0a.mjs +0 -2
  534. package/dist/chunks/cli-0.5.8-8jfx4hd4.mjs +0 -24
  535. package/dist/chunks/cli-0.5.8-8jzc3wsz.mjs +0 -2
  536. package/dist/chunks/cli-0.5.8-8n05q2cg.mjs +0 -4
  537. package/dist/chunks/cli-0.5.8-903jgg2t.mjs +0 -2
  538. package/dist/chunks/cli-0.5.8-959n5v33.mjs +0 -44
  539. package/dist/chunks/cli-0.5.8-96p83b7z.mjs +0 -2
  540. package/dist/chunks/cli-0.5.8-99pnpzq7.mjs +0 -2
  541. package/dist/chunks/cli-0.5.8-9ffdsmw1.mjs +0 -2
  542. package/dist/chunks/cli-0.5.8-9fpm1ms3.mjs +0 -2
  543. package/dist/chunks/cli-0.5.8-9jzc13yp.mjs +0 -2
  544. package/dist/chunks/cli-0.5.8-a03sqccb.mjs +0 -2
  545. package/dist/chunks/cli-0.5.8-at01jfw3.mjs +0 -2
  546. package/dist/chunks/cli-0.5.8-axp2p1sa.mjs +0 -2
  547. package/dist/chunks/cli-0.5.8-bfynw1rm.mjs +0 -2
  548. package/dist/chunks/cli-0.5.8-bhc8vwxd.mjs +0 -2
  549. package/dist/chunks/cli-0.5.8-bjqx8j31.mjs +0 -67
  550. package/dist/chunks/cli-0.5.8-bnqvgx16.mjs +0 -18
  551. package/dist/chunks/cli-0.5.8-brnwv1s4.mjs +0 -2
  552. package/dist/chunks/cli-0.5.8-bv6qegpr.mjs +0 -2
  553. package/dist/chunks/cli-0.5.8-bv8mzvsr.mjs +0 -2
  554. package/dist/chunks/cli-0.5.8-bwsasv3j.mjs +0 -12
  555. package/dist/chunks/cli-0.5.8-cc6m9nm7.mjs +0 -2
  556. package/dist/chunks/cli-0.5.8-cctz1t07.mjs +0 -2
  557. package/dist/chunks/cli-0.5.8-cgt1fvs7.mjs +0 -2
  558. package/dist/chunks/cli-0.5.8-chb0m9py.mjs +0 -17
  559. package/dist/chunks/cli-0.5.8-chdp8e1b.mjs +0 -15
  560. package/dist/chunks/cli-0.5.8-cm551a1y.mjs +0 -2
  561. package/dist/chunks/cli-0.5.8-cv8hrynt.mjs +0 -2
  562. package/dist/chunks/cli-0.5.8-d3t3qcax.mjs +0 -2
  563. package/dist/chunks/cli-0.5.8-dn2c6x2n.mjs +0 -2
  564. package/dist/chunks/cli-0.5.8-dtn5ax3v.mjs +0 -2
  565. package/dist/chunks/cli-0.5.8-e5dnz0q6.mjs +0 -2
  566. package/dist/chunks/cli-0.5.8-e6gpyhnf.mjs +0 -39
  567. package/dist/chunks/cli-0.5.8-edf7e65a.mjs +0 -2
  568. package/dist/chunks/cli-0.5.8-eq34z9xf.mjs +0 -133
  569. package/dist/chunks/cli-0.5.8-erk0zvwn.mjs +0 -3
  570. package/dist/chunks/cli-0.5.8-et8r95zv.mjs +0 -15
  571. package/dist/chunks/cli-0.5.8-etf1n11s.mjs +0 -2
  572. package/dist/chunks/cli-0.5.8-ex39bk3p.mjs +0 -3
  573. package/dist/chunks/cli-0.5.8-f0cc21nk.mjs +0 -34
  574. package/dist/chunks/cli-0.5.8-f1znt77k.mjs +0 -2
  575. package/dist/chunks/cli-0.5.8-f54hhqdn.mjs +0 -4
  576. package/dist/chunks/cli-0.5.8-fbja9vc0.mjs +0 -2
  577. package/dist/chunks/cli-0.5.8-fhebd13f.mjs +0 -12
  578. package/dist/chunks/cli-0.5.8-fmyr9f7x.mjs +0 -18
  579. package/dist/chunks/cli-0.5.8-fr90cgpy.mjs +0 -4
  580. package/dist/chunks/cli-0.5.8-gf6svxra.mjs +0 -27
  581. package/dist/chunks/cli-0.5.8-gm4jqzfs.mjs +0 -2
  582. package/dist/chunks/cli-0.5.8-gnw67m2e.mjs +0 -3
  583. package/dist/chunks/cli-0.5.8-gp6x9qmw.mjs +0 -2
  584. package/dist/chunks/cli-0.5.8-gr2yrqhs.mjs +0 -21
  585. package/dist/chunks/cli-0.5.8-haddssvq.mjs +0 -17
  586. package/dist/chunks/cli-0.5.8-he3sfaey.mjs +0 -2
  587. package/dist/chunks/cli-0.5.8-hkfwdsmy.mjs +0 -2
  588. package/dist/chunks/cli-0.5.8-hz85a3w7.mjs +0 -2
  589. package/dist/chunks/cli-0.5.8-j5n54z7y.mjs +0 -2
  590. package/dist/chunks/cli-0.5.8-j5nn8m2r.mjs +0 -2
  591. package/dist/chunks/cli-0.5.8-jcm5hsqp.mjs +0 -6
  592. package/dist/chunks/cli-0.5.8-je6yq94p.mjs +0 -2
  593. package/dist/chunks/cli-0.5.8-jjmb10ns.mjs +0 -10
  594. package/dist/chunks/cli-0.5.8-jtqyf6nz.mjs +0 -9
  595. package/dist/chunks/cli-0.5.8-kbjtm14d.mjs +0 -2
  596. package/dist/chunks/cli-0.5.8-kdatn7ch.mjs +0 -2
  597. package/dist/chunks/cli-0.5.8-kmzftyt4.mjs +0 -2
  598. package/dist/chunks/cli-0.5.8-m3186fr3.mjs +0 -5
  599. package/dist/chunks/cli-0.5.8-m7f68vhz.mjs +0 -2
  600. package/dist/chunks/cli-0.5.8-m9yn90fe.mjs +0 -4
  601. package/dist/chunks/cli-0.5.8-mf9m22v5.mjs +0 -2
  602. package/dist/chunks/cli-0.5.8-mgzx32hk.mjs +0 -3
  603. package/dist/chunks/cli-0.5.8-ntjmzc72.mjs +0 -4
  604. package/dist/chunks/cli-0.5.8-nwe7yne9.mjs +0 -59
  605. package/dist/chunks/cli-0.5.8-p2n1sz9e.mjs +0 -2
  606. package/dist/chunks/cli-0.5.8-p596xr80.mjs +0 -2
  607. package/dist/chunks/cli-0.5.8-p72phgsn.mjs +0 -2
  608. package/dist/chunks/cli-0.5.8-p84q1yp2.mjs +0 -2
  609. package/dist/chunks/cli-0.5.8-p9vc4jd4.mjs +0 -2
  610. package/dist/chunks/cli-0.5.8-pbvqqyq3.mjs +0 -133
  611. package/dist/chunks/cli-0.5.8-pmsd92jp.mjs +0 -2
  612. package/dist/chunks/cli-0.5.8-ppmhyhcf.mjs +0 -2
  613. package/dist/chunks/cli-0.5.8-pwcy1yf9.mjs +0 -2
  614. package/dist/chunks/cli-0.5.8-qdnr3r07.mjs +0 -2
  615. package/dist/chunks/cli-0.5.8-qf19nfhv.mjs +0 -193
  616. package/dist/chunks/cli-0.5.8-qgd7he6r.mjs +0 -3
  617. package/dist/chunks/cli-0.5.8-qrbzvxe2.mjs +0 -2
  618. package/dist/chunks/cli-0.5.8-qvy0n26p.mjs +0 -2
  619. package/dist/chunks/cli-0.5.8-r3r9r1x8.mjs +0 -2
  620. package/dist/chunks/cli-0.5.8-r3zjfgs5.mjs +0 -2
  621. package/dist/chunks/cli-0.5.8-r88abafr.mjs +0 -15
  622. package/dist/chunks/cli-0.5.8-rddkqxh8.mjs +0 -16
  623. package/dist/chunks/cli-0.5.8-rjn66mdx.mjs +0 -4
  624. package/dist/chunks/cli-0.5.8-rtmc93gs.mjs +0 -2
  625. package/dist/chunks/cli-0.5.8-rvxqss4v.mjs +0 -12
  626. package/dist/chunks/cli-0.5.8-s3j6qsck.mjs +0 -3
  627. package/dist/chunks/cli-0.5.8-s7px34xg.mjs +0 -2
  628. package/dist/chunks/cli-0.5.8-sbqgh2ca.mjs +0 -2
  629. package/dist/chunks/cli-0.5.8-t3x9v2fr.mjs +0 -2
  630. package/dist/chunks/cli-0.5.8-tc6ssmvg.mjs +0 -2
  631. package/dist/chunks/cli-0.5.8-tknpvwjq.mjs +0 -24
  632. package/dist/chunks/cli-0.5.8-tp8vvk8a.mjs +0 -4
  633. package/dist/chunks/cli-0.5.8-v274erpp.mjs +0 -2
  634. package/dist/chunks/cli-0.5.8-v5gbzf09.mjs +0 -2
  635. package/dist/chunks/cli-0.5.8-vax2sw0y.mjs +0 -2
  636. package/dist/chunks/cli-0.5.8-vck50j66.mjs +0 -2
  637. package/dist/chunks/cli-0.5.8-vhpgdwvb.mjs +0 -45
  638. package/dist/chunks/cli-0.5.8-w36atn94.mjs +0 -2
  639. package/dist/chunks/cli-0.5.8-w75qbypx.mjs +0 -2
  640. package/dist/chunks/cli-0.5.8-w7g735pf.mjs +0 -2
  641. package/dist/chunks/cli-0.5.8-was67jgw.mjs +0 -2
  642. package/dist/chunks/cli-0.5.8-wcjp9e8f.mjs +0 -50
  643. package/dist/chunks/cli-0.5.8-wcyjzsha.mjs +0 -2
  644. package/dist/chunks/cli-0.5.8-wdyh9mqa.mjs +0 -3
  645. package/dist/chunks/cli-0.5.8-wkcmqhde.mjs +0 -2
  646. package/dist/chunks/cli-0.5.8-wm9jby2t.mjs +0 -2
  647. package/dist/chunks/cli-0.5.8-wtz636rz.mjs +0 -20
  648. package/dist/chunks/cli-0.5.8-x8fzgqvs.mjs +0 -2
  649. package/dist/chunks/cli-0.5.8-x9q7q10d.mjs +0 -2
  650. package/dist/chunks/cli-0.5.8-xs1gy1tk.mjs +0 -6
  651. package/dist/chunks/cli-0.5.8-xvf56w0z.mjs +0 -2
  652. package/dist/chunks/cli-0.5.8-xwpp4ts7.mjs +0 -2
  653. package/dist/chunks/cli-0.5.8-xwzk13b3.mjs +0 -2
  654. package/dist/chunks/cli-0.5.8-yfpy2mmj.mjs +0 -2
  655. package/dist/chunks/cli-0.5.8-ywfvs57d.mjs +0 -2
  656. package/dist/chunks/cli-0.5.8-z14ncgt9.mjs +0 -2
  657. package/dist/chunks/cli-0.5.8-z3ev1ken.mjs +0 -3
  658. package/dist/chunks/cli-0.5.8-z447z8t0.mjs +0 -2
  659. package/dist/chunks/cli-0.5.8-zervw1k3.mjs +0 -5
  660. package/dist/chunks/cli-0.5.8-zf5yzqn5.mjs +0 -1
  661. package/dist/chunks/cli-0.5.8-zhydxkm6.mjs +0 -2
  662. package/dist/chunks/cli-0.5.8-zkn5gecs.mjs +0 -2
  663. package/dist/chunks/cli-0.5.8-zy590bkh.mjs +0 -2
  664. package/dist/chunks/client-0.5.8-9axd4w58.mjs +0 -1
  665. package/dist/chunks/color-0.5.8-resv1z9m.mjs +0 -1
  666. package/dist/chunks/compact-0.5.8-4rtxsg5x.mjs +0 -3
  667. package/dist/chunks/config-0.5.8-1j4xyj57.mjs +0 -1
  668. package/dist/chunks/config-0.5.8-ettscama.mjs +0 -1
  669. package/dist/chunks/context-0.5.8-fpg3fcmt.mjs +0 -1
  670. package/dist/chunks/context-noninteractive-0.5.8-zaspwvjm.mjs +0 -1
  671. package/dist/chunks/conversation-0.5.8-hfvm0eqb.mjs +0 -1
  672. package/dist/chunks/copy-0.5.8-wzb7pjzr.mjs +0 -9
  673. package/dist/chunks/cost-0.5.8-f2m9t7ye.mjs +0 -1
  674. package/dist/chunks/createSSHSession-0.5.8-615sh7tx.mjs +0 -1
  675. package/dist/chunks/createSession-0.5.8-v7srm5ea.mjs +0 -1
  676. package/dist/chunks/debug-0.5.8-c84dbamw.mjs +0 -1
  677. package/dist/chunks/defaultActionDeps-0.5.8-b94dtwtd.mjs +0 -1177
  678. package/dist/chunks/desktop-0.5.8-46z10hnt.mjs +0 -1
  679. package/dist/chunks/detectRepository-0.5.8-rwc4rjfg.mjs +0 -1
  680. package/dist/chunks/detection-0.5.8-hydnvzf4.mjs +0 -1
  681. package/dist/chunks/diff-0.5.8-p7d54hn7.mjs +0 -1
  682. package/dist/chunks/doctor-0.5.8-894mdsxc.mjs +0 -1
  683. package/dist/chunks/doctorDiagnostic-0.5.8-c12xcayk.mjs +0 -1
  684. package/dist/chunks/earlyInput-0.5.8-fwa1r2va.mjs +0 -1
  685. package/dist/chunks/effort-0.5.8-7gcwya2k.mjs +0 -10
  686. package/dist/chunks/envUtils-0.5.8-20c2f8v3.mjs +0 -1
  687. package/dist/chunks/environmentSelection-0.5.8-t6hzsc8z.mjs +0 -1
  688. package/dist/chunks/environments-0.5.8-fcp8bfe3.mjs +0 -1
  689. package/dist/chunks/errors-0.5.8-ev3jqbjj.mjs +0 -1
  690. package/dist/chunks/exampleCommands-0.5.8-d38qs6k2.mjs +0 -1
  691. package/dist/chunks/exit-0.5.8-f5v7cstg.mjs +0 -1
  692. package/dist/chunks/export-0.5.8-a8fg7991.mjs +0 -2
  693. package/dist/chunks/extra-usage-0.5.8-r5qs5fjk.mjs +0 -1
  694. package/dist/chunks/extra-usage-noninteractive-0.5.8-f8mch55k.mjs +0 -1
  695. package/dist/chunks/fast-0.5.8-5yfvbb7d.mjs +0 -1
  696. package/dist/chunks/feedback-0.5.8-j9xstj5q.mjs +0 -14
  697. package/dist/chunks/firstPartyEventLogger-0.5.8-tmpw0mgj.mjs +0 -1
  698. package/dist/chunks/git-0.5.8-vvd1b8x0.mjs +0 -1
  699. package/dist/chunks/githubModelsCredentials-0.5.8-de9f7e7s.mjs +0 -1
  700. package/dist/chunks/grove-0.5.8-rewcpbks.mjs +0 -1
  701. package/dist/chunks/growthbook-0.5.8-tt3wbrct.mjs +0 -1
  702. package/dist/chunks/headless-0.5.8-h1tn9ee3.mjs +0 -2
  703. package/dist/chunks/heapdump-0.5.8-e0vshas9.mjs +0 -6
  704. package/dist/chunks/help-0.5.8-mhhgyvqz.mjs +0 -1
  705. package/dist/chunks/hookChains-0.5.8-ewzfdp91.mjs +0 -3
  706. package/dist/chunks/hooks-0.5.8-mgp708m9.mjs +0 -1
  707. package/dist/chunks/hooks-0.5.8-p1mz2zy1.mjs +0 -79
  708. package/dist/chunks/ide-0.5.8-pzfhr27w.mjs +0 -3
  709. package/dist/chunks/image-processor-napi-0.5.8-1skckgt6.mjs +0 -1
  710. package/dist/chunks/index-0.5.8-0dkn7rr7.mjs +0 -9
  711. package/dist/chunks/index-0.5.8-26yrjbk0.mjs +0 -1
  712. package/dist/chunks/index-0.5.8-5cr4y9wx.mjs +0 -1
  713. package/dist/chunks/index-0.5.8-5mgzpm7c.mjs +0 -1
  714. package/dist/chunks/index-0.5.8-b4p3af9y.mjs +0 -1
  715. package/dist/chunks/index-0.5.8-b7tvbbzv.mjs +0 -2
  716. package/dist/chunks/index-0.5.8-bk6ejev9.mjs +0 -1
  717. package/dist/chunks/index-0.5.8-cmyhdm8s.mjs +0 -9
  718. package/dist/chunks/index-0.5.8-egkksjaj.mjs +0 -1
  719. package/dist/chunks/index-0.5.8-hr8aqgvc.mjs +0 -1
  720. package/dist/chunks/index-0.5.8-jf20nzsg.mjs +0 -1
  721. package/dist/chunks/index-0.5.8-m6exk6z6.mjs +0 -30
  722. package/dist/chunks/index-0.5.8-mpm6xxk3.mjs +0 -5
  723. package/dist/chunks/index-0.5.8-nt058ay0.mjs +0 -1
  724. package/dist/chunks/index-0.5.8-qdwcg9cv.mjs +0 -10
  725. package/dist/chunks/index-0.5.8-rdk757cq.mjs +0 -1
  726. package/dist/chunks/index-0.5.8-red1reev.mjs +0 -1
  727. package/dist/chunks/index-0.5.8-rehfpmcw.mjs +0 -1
  728. package/dist/chunks/index-0.5.8-s3k17n65.mjs +0 -1
  729. package/dist/chunks/index-0.5.8-xpaaycp7.mjs +0 -1
  730. package/dist/chunks/index-0.5.8-ydqh8xbm.mjs +0 -2
  731. package/dist/chunks/index-0.5.8-yp0fpaqf.mjs +0 -1
  732. package/dist/chunks/init-0.5.8-kmfn7vay.mjs +0 -1
  733. package/dist/chunks/initReplBridge-0.5.8-f9ezc1jk.mjs +0 -1
  734. package/dist/chunks/ink-0.5.8-y01565nf.mjs +0 -1
  735. package/dist/chunks/insights-0.5.8-mwq5z31x.mjs +0 -870
  736. package/dist/chunks/install-0.5.8-se0j5qte.mjs +0 -1
  737. package/dist/chunks/install-github-app-0.5.8-zqhhg1fw.mjs +0 -149
  738. package/dist/chunks/install-slack-app-0.5.8-9qpwy0z9.mjs +0 -1
  739. package/dist/chunks/instrumentation-0.5.8-gbnaaqp3.mjs +0 -1
  740. package/dist/chunks/interactiveHelpers-0.5.8-wrn95m3j.mjs +0 -1
  741. package/dist/chunks/keybindings-0.5.8-j070t67n.mjs +0 -2
  742. package/dist/chunks/knowledge-0.5.8-fhr55cqh.mjs +0 -2
  743. package/dist/chunks/latestVersionCache-0.5.8-rmkxtaea.mjs +0 -1
  744. package/dist/chunks/loadAgentsDir-0.5.8-f3j27p5s.mjs +0 -1
  745. package/dist/chunks/loadPluginHooks-0.5.8-7401ty3k.mjs +0 -1
  746. package/dist/chunks/loadPluginHooks-0.5.8-yhhkejwz.mjs +0 -1
  747. package/dist/chunks/log-0.5.8-78h0x7qg.mjs +0 -1
  748. package/dist/chunks/main-0.5.8-4ddjgz4x.mjs +0 -1
  749. package/dist/chunks/managedEnv-0.5.8-rxnh3nhr.mjs +0 -1
  750. package/dist/chunks/mcp-0.5.8-9ts7qrcv.mjs +0 -4
  751. package/dist/chunks/mcp-0.5.8-hhnpsgvh.mjs +0 -17
  752. package/dist/chunks/mcp-0.5.8-md6hzter.mjs +0 -1
  753. package/dist/chunks/mcpb-0.5.8-ebcb4nn4.mjs +0 -1
  754. package/dist/chunks/memory-0.5.8-ph5hb81n.mjs +0 -3
  755. package/dist/chunks/mobile-0.5.8-f04nmet1.mjs +0 -2
  756. package/dist/chunks/model-0.5.8-aqzt03nd.mjs +0 -1
  757. package/dist/chunks/model-0.5.8-nmcrv393.mjs +0 -2
  758. package/dist/chunks/oauth-0.5.8-n75mrvf3.mjs +0 -1
  759. package/dist/chunks/openaiShim-0.5.8-95kwrgpv.mjs +0 -14
  760. package/dist/chunks/output-style-0.5.8-zy932aj1.mjs +0 -1
  761. package/dist/chunks/package-APBHZ5F3-0.5.8-c4xw21z8.mjs +0 -1
  762. package/dist/chunks/parseConnectUrl-0.5.8-0dgzrde4.mjs +0 -1
  763. package/dist/chunks/parser-0.5.8-g6wgq5z2.mjs +0 -1
  764. package/dist/chunks/passes-0.5.8-jkdncmr5.mjs +0 -1
  765. package/dist/chunks/permissions-0.5.8-tesg1fmt.mjs +0 -3
  766. package/dist/chunks/plan-0.5.8-4h4wazbm.mjs +0 -1
  767. package/dist/chunks/plist-0.5.8-ygsvkws5.mjs +0 -1
  768. package/dist/chunks/plugin-0.5.8-meszp93t.mjs +0 -29
  769. package/dist/chunks/pluginStartupCheck-0.5.8-8c49aq53.mjs +0 -1
  770. package/dist/chunks/plugins-0.5.8-zh9wq5by.mjs +0 -9
  771. package/dist/chunks/preActionHook-0.5.8-r8zrjby2.mjs +0 -2
  772. package/dist/chunks/print-0.5.8-dbcfsrdg.mjs +0 -57
  773. package/dist/chunks/privacy-settings-0.5.8-zj36f0ve.mjs +0 -1
  774. package/dist/chunks/process-0.5.8-1yf78q4y.mjs +0 -1
  775. package/dist/chunks/processBashCommand-0.5.8-pdnzd9ry.mjs +0 -1
  776. package/dist/chunks/processSlashCommand-0.5.8-kmv9fs8d.mjs +0 -9
  777. package/dist/chunks/prompt-0.5.8-aa1v4zh0.mjs +0 -1
  778. package/dist/chunks/prompt-0.5.8-wabf0exz.mjs +0 -1
  779. package/dist/chunks/prompts-0.5.8-n865vxaw.mjs +0 -1
  780. package/dist/chunks/protocolHandler-0.5.8-6k7ma4yf.mjs +0 -13
  781. package/dist/chunks/provider-0.5.8-qsr51mc2.mjs +0 -2
  782. package/dist/chunks/providerProfiles-0.5.8-he8tbnf5.mjs +0 -1
  783. package/dist/chunks/providerValidation-0.5.8-6cjh43zv.mjs +0 -6
  784. package/dist/chunks/rate-limit-options-0.5.8-pvbwwt4v.mjs +0 -1
  785. package/dist/chunks/registerSubcommands-0.5.8-8jq52atf.mjs +0 -34
  786. package/dist/chunks/registry-0.5.8-ynn6qxq6.mjs +0 -1
  787. package/dist/chunks/release-notes-0.5.8-yydjz710.mjs +0 -5
  788. package/dist/chunks/reload-plugins-0.5.8-64ybz2n4.mjs +0 -2
  789. package/dist/chunks/remote-env-0.5.8-1f4tf3ch.mjs +0 -1
  790. package/dist/chunks/remoteBridgeCore-0.5.8-qnrtc8aw.mjs +0 -1
  791. package/dist/chunks/remoteSession-0.5.8-kxsfx9gd.mjs +0 -1
  792. package/dist/chunks/rename-0.5.8-j4c6dg9n.mjs +0 -1
  793. package/dist/chunks/replBridgeHandle-0.5.8-w33fvpqt.mjs +0 -1
  794. package/dist/chunks/replLauncher-0.5.8-7jzc54fq.mjs +0 -1
  795. package/dist/chunks/resume-0.5.8-373epwyd.mjs +0 -2
  796. package/dist/chunks/rewind-0.5.8-b9qe0mwn.mjs +0 -1
  797. package/dist/chunks/rootOptions-0.5.8-h1ddt4ry.mjs +0 -1
  798. package/dist/chunks/sandbox-adapter-0.5.8-ma6nv5dg.mjs +0 -1
  799. package/dist/chunks/sandbox-toggle-0.5.8-1cc5m303.mjs +0 -1
  800. package/dist/chunks/session-0.5.8-rxft524k.mjs +0 -2
  801. package/dist/chunks/sessionDiscovery-0.5.8-r4eg8g3r.mjs +0 -1
  802. package/dist/chunks/sessionFileAccessHooks-0.5.8-jm3bmvt7.mjs +0 -1
  803. package/dist/chunks/sessionStorage-0.5.8-kfghwskw.mjs +0 -1
  804. package/dist/chunks/settings-0.5.8-qxr7dgzb.mjs +0 -1
  805. package/dist/chunks/setup-0.5.8-769vnffz.mjs +0 -5
  806. package/dist/chunks/sinks-0.5.8-jcq0kgny.mjs +0 -1
  807. package/dist/chunks/skills-0.5.8-5qxr2p94.mjs +0 -1
  808. package/dist/chunks/startupProfiler-0.5.8-cpbf91zs.mjs +0 -1
  809. package/dist/chunks/startupUpdateCheck-0.5.8-bctkpcea.mjs +0 -1
  810. package/dist/chunks/state-0.5.8-cppqmrbf.mjs +0 -1
  811. package/dist/chunks/stats-0.5.8-zcfm59db.mjs +0 -6
  812. package/dist/chunks/status-0.5.8-5v4y485z.mjs +0 -1
  813. package/dist/chunks/stickers-0.5.8-9gr6e2xg.mjs +0 -1
  814. package/dist/chunks/subprocessEnv-0.5.8-wf4cta06.mjs +0 -1
  815. package/dist/chunks/tasks-0.5.8-30z30sqv.mjs +0 -1
  816. package/dist/chunks/teamHelpers-0.5.8-vcng2y7m.mjs +0 -1
  817. package/dist/chunks/teammateModeSnapshot-0.5.8-48p5p451.mjs +0 -1
  818. package/dist/chunks/teleport-0.5.8-650m4rks.mjs +0 -1
  819. package/dist/chunks/terminalSetup-0.5.8-ew1ax86g.mjs +0 -1
  820. package/dist/chunks/theme-0.5.8-7a06760x.mjs +0 -1
  821. package/dist/chunks/thinkback-0.5.8-xrvqhj8w.mjs +0 -1
  822. package/dist/chunks/thinkback-play-0.5.8-vkpn13f3.mjs +0 -1
  823. package/dist/chunks/toolPool-0.5.8-ntbr808f.mjs +0 -1
  824. package/dist/chunks/toolSearch-0.5.8-ybxz2f7f.mjs +0 -1
  825. package/dist/chunks/tools-0.5.8-egnmkxt7.mjs +0 -1
  826. package/dist/chunks/trustedDevice-0.5.8-422swdjw.mjs +0 -1
  827. package/dist/chunks/turndown.cjs-0.5.8-tkat2x5p.mjs +0 -69
  828. package/dist/chunks/ultrareviewCommand-0.5.8-e7b2408n.mjs +0 -4
  829. package/dist/chunks/update-0.5.8-a285y5j4.mjs +0 -86
  830. package/dist/chunks/upgrade-0.5.8-8nxejvyv.mjs +0 -1
  831. package/dist/chunks/upstreamproxy-0.5.8-6a2g1s50.mjs +0 -14
  832. package/dist/chunks/url-handler-napi-0.5.8-83a2qhsf.mjs +0 -1
  833. package/dist/chunks/usage-0.5.8-9dha8gsc.mjs +0 -1
  834. package/dist/chunks/util-0.5.8-c7zdhrd1.mjs +0 -1
  835. package/dist/chunks/utils-0.5.8-e8pfjkrb.mjs +0 -1
  836. package/dist/chunks/vim-0.5.8-pgsav8je.mjs +0 -1
  837. package/dist/chunks/watcher-0.5.8-w3q8518m.mjs +0 -1
  838. package/dist/chunks/wiki-0.5.8-1sa2h258.mjs +0 -132
  839. package/dist/chunks/worktree-0.5.8-59wmpecg.mjs +0 -1
  840. package/dist/chunks/worktreeModeEnabled-0.5.8-pexygrty.mjs +0 -1
  841. package/dist/chunks/wrapper-0.5.8-kmv5mk0m.mjs +0 -7
  842. /package/dist/chunks/{cli-0.5.8-j77twbsq.mjs → cli-0.5.9-4yxntpxv.mjs} +0 -0
  843. /package/dist/chunks/{cli-0.5.8-kegk7gdp.mjs → cli-0.5.9-x9tg4bxs.mjs} +0 -0
@@ -1,12 +0,0 @@
1
- import{vg as _Z,wg as SZ,xg as vz}from"./cli-0.5.8-s7px34xg.mjs";import{$g as ZJ,ah as oQ}from"./cli-0.5.8-w75qbypx.mjs";import{eh as JJ,fh as tQ}from"./cli-0.5.8-99pnpzq7.mjs";import{$i as xZ,AN as pQ,BN as dQ,Bq as qJ,Bt as _Q,Cm as aJ,DN as FZ,Ei as UJ,Et as qX,Fi as jJ,Fq as Bz,Gm as Cz,Ix as EZ,Jx as CZ,Kx as bZ,Lx as kJ,Mi as SJ,Mx as IQ,Nx as IJ,SP as sJ,Tx as o0,Ul as lJ,Ux as TJ,Vl as bz,Vx as hJ,WM as hQ,WP as XQ,Wx as RJ,Xw as SQ,Xx as wz,Yw as YX,ZP as kZ,aj as JX,am as bQ,bm as zX,dx as kQ,ex as VX,ht as GQ,it as LQ,jQ as eJ,jt as vQ,kt as yQ,lN as RQ,ot as FQ,pN as xQ,pt as KQ,qN as $Q,qm as rJ,sN as $Z,sm as yZ,tN as fQ,vN as d0,vi as UZ,wN as uQ,wi as MQ,yN as gJ,zN as mJ}from"./cli-0.5.8-4hvxb5dp.mjs";import{BR as CQ,KR as WX}from"./cli-0.5.8-chb0m9py.mjs";import{$U as rQ,GU as BZ,HU as oZ,XU as tZ,aV as OZ,bV as XX}from"./cli-0.5.8-60e57smp.mjs";import{KW as EQ,LW as QX,PV as p0,RW as C,SW as HQ,TV as PZ,TW as g,UW as gz,oV as aZ,pV as lQ,wX as f0,yV as x0}from"./cli-0.5.8-nwe7yne9.mjs";import{WY as $0,XY as B,YY as $,ZY as L0}from"./cli-0.5.8-zkn5gecs.mjs";import{_Y as R0}from"./cli-0.5.8-6epmns99.mjs";import{uZ as sZ,vZ as eZ,wZ as aQ}from"./cli-0.5.8-cm551a1y.mjs";import{C2 as s0,C3 as Ez,F2 as e0,Z2 as nJ,h3 as iJ,w2 as BQ,x2 as cz}from"./cli-0.5.8-rddkqxh8.mjs";import{Y3 as RZ,Z3 as ez}from"./cli-0.5.8-4rgg1zqd.mjs";import{J8 as jQ,K5 as v0,L5 as lZ,X$ as wZ,b9 as ZX,n_ as VZ,paa as ZQ,v_ as rZ}from"./cli-0.5.8-qf19nfhv.mjs";import{Xba as NZ,Yba as MJ,gca as t0,nca as jz}from"./cli-0.5.8-5h92528m.mjs";import{Lda as HZ,Qda as GZ,Rda as LZ,bea as Vz,yda as vZ,zda as Mz}from"./cli-0.5.8-w7g735pf.mjs";import{ofa as c0,rfa as dz}from"./cli-0.5.8-xs1gy1tk.mjs";import{cga as UQ,mga as sz}from"./cli-0.5.8-gm4jqzfs.mjs";import{Jla as tz,jla as DQ}from"./cli-0.5.8-bhc8vwxd.mjs";import{vna as A0,zna as N0}from"./cli-0.5.8-hkfwdsmy.mjs";function cZ(J){let Z=qZ.c(6),{children:Q}=J,[z,X]=F0.useState(null),[W,q]=F0.useState(null),V;if(Z[0]!==Q||Z[1]!==W)V=B(pZ.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(uZ.Provider,{value:X,children:B(dZ.Provider,{value:q,children:B(fZ.Provider,{value:z,children:V})})}),Z[3]=z,Z[4]=V,Z[5]=Y;else Y=Z[5];return Y}function gZ(){return F0.useContext(fZ)}function mZ(){return F0.useContext(pZ)}function DX(J){let Z=qZ.c(8),Q=F0.useContext(uZ),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];F0.useEffect(z,X),F0.useEffect(W,q)}function UX(J){let Z=qZ.c(8),Q=F0.useContext(dZ),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];F0.useEffect(z,X),F0.useEffect(W,q)}var qZ,F0,fZ,uZ,pZ,dZ;var nZ=N0(()=>{L0();qZ=A0(x0(),1),F0=A0(R0(),1),fZ=F0.createContext(null),uZ=F0.createContext(null),pZ=F0.createContext(null),dZ=F0.createContext(null)});function YZ(J){return J.type==="attachment"&&iQ.has(J.attachment.type)}var nQ,iQ;var AZ=N0(()=>{nQ=["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"],iQ=new Set(nQ)});import{fileURLToPath as sQ}from"url";function pX(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 eQ(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"&&!Zz(W))continue;let q=W.type==="assistant";if(q&&!z)Q++;z=q}return Q}function Zz(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 dX(J,Z){if(Z===null)return;let Q=Z;while(Q<J.length&&(J[Q]?.type==="progress"||YZ(J[Q])))Q++;let z=J[Q]?.uuid;if(!z)return;let X=eQ(J,Z);return{firstUnseenUuid:z,count:Math.max(1,X)}}function cX(J){let Z=i0.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,I=F===void 0?!1:F,Z0=P===void 0?!1:P,d=v===void 0?0:v,{rows:O,columns:b}=BZ(),[_,N]=q0.useState(null),D;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))D={setStickyPrompt:N},Z[0]=D;else D=Z[0];let p=D,J0;if(Z[1]!==Y)J0=(h)=>Y?.current?.subscribe(h)??zz,Z[1]=Y,Z[2]=J0;else J0=Z[2];let E=J0,S;if(Z[3]!==K||Z[4]!==Y)S=()=>{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]=S;else S=Z[5];let H0=q0.useSyncExternalStore(E,S),Y0;if(Z[6]===Symbol.for("react.memo_cache_sentinel"))Y0=[],Z[6]=Y0;else Y0=Z[6];if(q0.useLayoutEffect(Jz,Y0),p0()){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(Wz,{text:z0.text,onClick:z0.scrollTo}),Z[7]=z0,Z[8]=X0;else X0=Z[8];let w0=Q0?0:1,T;if(Z[9]!==Q)T=B(DZ,{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]!==w0)i=$(JJ,{ref:Y,flexGrow:1,flexDirection:"column",paddingTop:w0,stickyScroll:!0,children:[T,X]}),Z[11]=X,Z[12]=Y,Z[13]=T,Z[14]=w0,Z[15]=i;else i=Z[15];let o;if(Z[16]!==I||Z[17]!==d||Z[18]!==M||Z[19]!==X||Z[20]!==H0)o=!I&&H0&&X==null&&B(Xz,{count:d,onClick:M}),Z[16]=I,Z[17]=d,Z[18]=M,Z[19]=X,Z[20]=H0,Z[21]=o;else o=Z[21];let t;if(Z[22]!==W)t=W!=null&&B(C,{position:"absolute",bottom:0,right:0,opaque:!0,children:W}),Z[22]=W,Z[23]=t;else t=Z[23];let k;if(Z[24]!==i||Z[25]!==o||Z[26]!==t||Z[27]!==X0)k=$(C,{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]=k;else k=Z[28];let W0,w;if(Z[29]===Symbol.for("react.memo_cache_sentinel"))W0=B(qz,{}),w=B(Yz,{}),Z[29]=W0,Z[30]=w;else W0=Z[29],w=Z[30];let U;if(Z[31]!==z)U=$(C,{flexDirection:"column",flexShrink:0,width:"100%",maxHeight:"50%",children:[W0,w,B(C,{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]!==b||Z[34]!==q||Z[35]!==V||Z[36]!==O)R=q!=null&&B(tZ,{value:{rows:O-iZ-1,columns:b-4,scrollRef:V??null},children:$(C,{position:"absolute",bottom:0,left:0,right:0,maxHeight:O-iZ,flexDirection:"column",overflow:"hidden",opaque:!0,children:[B(C,{flexShrink:0,children:B(g,{color:"permission",children:"▔".repeat(b)})}),B(C,{flexDirection:"column",paddingX:2,flexShrink:0,overflow:"hidden",children:q})]})}),Z[33]=b,Z[34]=q,Z[35]=V,Z[36]=O,Z[37]=R;else R=Z[37];let s;if(Z[38]!==k||Z[39]!==U||Z[40]!==R)s=$(cZ,{children:[k,U,R]}),Z[38]=k,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=$($0,{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 Jz(){if(!p0())return;let J=aZ.get(process.stdout);if(!J)return;return J.onHyperlinkClick=Qz,()=>{J.onHyperlinkClick=void 0}}function Qz(J){if(J.startsWith("file:"))try{sZ(sQ(J))}catch{}else eZ(J)}function zz(){}function Xz(J){let Z=i0.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 ${VZ(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(C,{position:"absolute",bottom:0,left:0,right:0,justifyContent:"center",children:B(C,{onClick:z,onMouseEnter:q,onMouseLeave:V,children:F})}),Z[7]=z,Z[8]=F,Z[9]=P;else P=Z[9];return P}function Wz(J){let Z=i0.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(C,{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 qz(){let J=i0.c(4),Z=gZ();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(C,{position:"absolute",bottom:"100%",left:0,right:0,paddingX:2,paddingTop:1,flexDirection:"column",opaque:!0,children:B(ZJ,{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 Yz(){let J=i0.c(2),Z=mZ();if(!Z)return null;let Q;if(J[0]!==Z)Q=B(C,{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 i0,q0,iZ=2,DZ;var QJ=N0(()=>{lZ();rQ();nZ();oZ();tQ();lQ();f0();aQ();PZ();rZ();AZ();oQ();L0();i0=A0(x0(),1),q0=A0(R0(),1),DZ=q0.createContext({setStickyPrompt:()=>{}})});function zJ(J,Z){for(let Q of J)if(!Z.has(Q))return!1;return!0}var XJ=()=>{};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(`<${HZ}`))return!1;if(UZ(Z.text,GZ)!=="completed")return!1;return UZ(Z.text,LZ)?.startsWith(qJ)??!1}function YJ(J,Z){if(!p0())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:`<${HZ}><${GZ}>completed</${GZ}><${LZ}>${W} background commands completed</${LZ}></${HZ}>`}]}})}else Q.push(X),z++}return Q}var VJ=N0(()=>{Vz();Bz();PZ();FZ()});function BJ(J){return J.type==="system"&&J.subtype==="stop_hook_summary"&&J.hookLabel!==void 0}function HJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(BJ(z)){let X=z.hookLabel,W=[];while(Q<J.length){let q=J[Q];if(!BJ(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 GJ=()=>{};function LJ(J){return J.type==="attachment"&&J.attachment.type==="task_status"&&J.attachment.taskType==="in_process_teammate"&&J.attachment.status==="completed"}function FJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(LJ(z)){let X=0;while(Q<J.length&&LJ(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 KJ=()=>{};function Hz(J){let Z=NJ.get(J);if(!Z)Z=new Set(J.filter((Q)=>Q.renderGroupedToolUse).map((Q)=>Q.name)),NJ.set(J,Z);return Z}function jZ(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 wJ(J,Z,Q=!1){if(Q)return{messages:J};let z=Hz(Z),X=new Map;for(let F of J){let P=jZ(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=jZ(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=jZ(F);if(P){let v=`${P.messageId}:${P.toolName}`,M=W.get(v);if(M){if(!K.has(v)){K.add(v);let I=M[0],Z0=[];for(let O of M){let b=O.message.content[0].id,_=V.get(b);if(_)Z0.push(_)}let d={type:"grouped_tool_use",toolName:P.toolName,messages:M,results:Z0,displayMessage:I,uuid:`grouped-${I.uuid}`,timestamp:I.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((I)=>q.has(I.tool_use_id)))continue}}Y.push(F)}return{messages:Y}}var NJ;var OJ=N0(()=>{NJ=new WeakMap});function KZ(J){let Z=DJ.get(J);if(Z!==void 0)return Z;let Q=Gz(J).toLowerCase();return DJ.set(J,Q),Q}function Gz(J){let Z="";switch(J.type){case"user":{let X=J.message.content;if(typeof X==="string")Z=PJ.has(X)?"":X;else{let W=[];for(let q of X)if(q.type==="text"){if(!PJ.has(q.text))W.push(q.text)}else if(q.type==="tool_result")W.push(Fz(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[Lz(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(AJ,z);if(X<0)break;Q=Q.slice(0,z)+Q.slice(X+AJ.length),z=Q.indexOf("<system-reminder>")}return Q}function Lz(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 Fz(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 AJ="</system-reminder>",PJ,DJ;var MZ=N0(()=>{FZ();PJ=new Set([UJ,jJ]),DJ=new WeakMap});function bJ(J){let Z=EJ.c(5),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.type==="assistant"&&Q.message.model&&Q.message.content.some(Kz)))return null;let W=NZ(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(C,{minWidth:W,children:q}),Z[2]=W,Z[3]=q,Z[4]=V;else V=Z[4];return V}function Kz(J){return J.type==="text"}var EJ;var CJ=N0(()=>{MJ();f0();L0();EJ=A0(x0(),1)});function yJ(J){let Z=vJ.c(10),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.timestamp&&Q.type==="assistant"&&Q.message.content.some(Nz)))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=C,V=NZ(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 Nz(J){return J.type==="text"}var vJ;var _J=N0(()=>{MJ();f0();L0();vJ=A0(x0(),1)});function fJ(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(EZ(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(EZ(W.toolName,q,Q).isCollapsible)continue}return!0}return!1}function Oz(J){let Z=xJ.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:I,columns:Z0,isLoading:d,lookups:O}=J,b=F==="transcript",_=Q.type==="grouped_tool_use",N=Q.type==="collapsed_read_search",D;if(Z[0]!==X||Z[1]!==Y||Z[2]!==N||Z[3]!==d||Z[4]!==Q)D=N&&(bZ(Q,Y)||d&&!X),Z[0]=X,Z[1]=Y,Z[2]=N,Z[3]=d,Z[4]=Q,Z[5]=D;else D=Z[5];let p=D,J0;if(Z[6]!==N||Z[7]!==_||Z[8]!==Q)J0=_?Q.displayMessage:N?kJ(Q):Q,Z[6]=N,Z[7]=_,Z[8]=Q,Z[9]=J0;else J0=Z[9];let E=J0,S;if(Z[10]!==N||Z[11]!==_||Z[12]!==O||Z[13]!==Q)S=_||N?[]:mJ(Q,O),Z[10]=N,Z[11]=_,Z[12]=O,Z[13]=Q,Z[14]=S;else S=Z[14];let H0=S,Y0;if(Z[15]!==Y||Z[16]!==N||Z[17]!==_||Z[18]!==O||Z[19]!==Q||Z[20]!==F||Z[21]!==K){let k=_||N?SJ:gJ(Q,O);Y0=dJ(Q,K,Y,k,F,O),Z[15]=Y,Z[16]=N,Z[17]=_,Z[18]=O,Z[19]=Q,Z[20]=F,Z[21]=K,Z[22]=Y0}else Y0=Z[22];let l=Y0,h=!1;if(P)if(_){let k;if(Z[23]!==Y||Z[24]!==Q.messages){let W0;if(Z[26]!==Y)W0=(w)=>{let U=w.message.content[0];return U?.type==="tool_use"&&Y.has(U.id)},Z[26]=Y,Z[27]=W0;else W0=Z[27];k=Q.messages.some(W0),Z[23]=Y,Z[24]=Q.messages,Z[25]=k}else k=Z[25];h=k}else if(N){let k;if(Z[28]!==Y||Z[29]!==Q)k=bZ(Q,Y),Z[28]=Y,Z[29]=Q,Z[30]=k;else k=Z[30];h=k}else{let k;if(Z[31]!==Y||Z[32]!==Q){let W0=d0(Q);k=!W0||Y.has(W0),Z[31]=Y,Z[32]=Q,Z[33]=k}else k=Z[33];h=k}let z0;if(Z[34]!==E||Z[35]!==b)z0=b&&E.type==="assistant"&&E.message.content.some(Az)&&(E.timestamp||E.message.model),Z[34]=E,Z[35]=b,Z[36]=z0;else z0=Z[36];let Q0=z0,X0=!Q0,w0=Q0?void 0:Z0,T;if(Z[37]!==q||Z[38]!==Y||Z[39]!==p||Z[40]!==l||Z[41]!==b||Z[42]!==z||Z[43]!==M||Z[44]!==I||Z[45]!==O||Z[46]!==Q||Z[47]!==v||Z[48]!==H0||Z[49]!==h||Z[50]!==X0||Z[51]!==w0||Z[52]!==W||Z[53]!==V)T=B(RJ,{message:Q,lookups:O,addMargin:X0,containerWidth:w0,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,progressMessagesForMessage:H0,shouldAnimate:h,shouldShowDot:!0,isTranscriptMode:b,isStatic:l,onOpenRateLimitOptions:v,isActiveCollapsedGroup:p,isUserContinuation:z,lastThinkingBlockId:M,latestBashOutputUUID:I}),Z[37]=q,Z[38]=Y,Z[39]=p,Z[40]=l,Z[41]=b,Z[42]=z,Z[43]=M,Z[44]=I,Z[45]=O,Z[46]=Q,Z[47]=v,Z[48]=H0,Z[49]=h,Z[50]=X0,Z[51]=w0,Z[52]=W,Z[53]=V,Z[54]=T;else T=Z[54];let i=T;if(!Q0){let k;if(Z[55]!==i)k=B(o0,{children:i}),Z[55]=i,Z[56]=k;else k=Z[56];return k}let o;if(Z[57]!==E||Z[58]!==b)o=$(C,{flexDirection:"row",justifyContent:"flex-end",gap:1,marginTop:1,children:[B(yJ,{message:E,isTranscriptMode:b}),B(bJ,{message:E,isTranscriptMode:b})]}),Z[57]=E,Z[58]=b,Z[59]=o;else o=Z[59];let t;if(Z[60]!==Z0||Z[61]!==i||Z[62]!==o)t=B(o0,{children:$(C,{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 Az(J){return J.type==="text"}function Pz(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 CZ(J).some((X)=>Z.has(X));let Q=d0(J);return!!Q&&Z.has(Q)}function Dz(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 CZ(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=d0(J);return!Q||Z.has(Q)}function Uz(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&&hJ(Z.message))return!1;let X=Pz(J.message,J.streamingToolUseIDs),W=Dz(J.message,J.lookups.resolvedToolUseIDs);if(X||!W)return!1;return!0}var xJ,$J,uJ;var pJ=N0(()=>{f0();IJ();FZ();wz();CJ();cJ();_J();TJ();L0();xJ=A0(x0(),1),$J=A0(R0(),1);uJ=$J.memo(Oz,Uz)});import{relative as yz}from"path";function oJ(J){return Rz.filter((Z)=>Z.isActive(J))}var _z,Sz,kz,Iz,Tz,hz,Rz;var tJ=N0(()=>{f0();eJ();lZ();Mz();jz();Ez();vz();Cz();bz();L0();_z={id:"large-memory-files",type:"warning",isActive:(J)=>kZ(J.memoryFiles).length>0,render:(J)=>{let Z=kZ(J.memoryFiles);return B($0,{children:Z.map((Q)=>{let z=Q.path.startsWith(vZ())?yz(vZ(),Q.path):Q.path;return $(C,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Large ",B(g,{bold:!0,children:z})," will impact performance (",t0(Q.content.length)," chars >"," ",t0(sJ),")",B(g,{dimColor:!0,children:" · /memory to edit"})]})]},Q.path)})})}},Sz={id:"claude-ai-external-token",type:"warning",isActive:()=>{let J=s0();return iJ()&&(J.source==="ANTHROPIC_AUTH_TOKEN"||J.source==="apiKeyHelper")},render:()=>{let J=s0();return $(C,{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`."]})]})}},kz={id:"api-key-conflict",type:"warning",isActive:()=>{let{source:J}=e0({skipRetrievingKeyFromApiKeyHelper:!0});return!!nJ()&&(J==="ANTHROPIC_API_KEY"||J==="apiKeyHelper")},render:()=>{let{source:J}=e0({skipRetrievingKeyFromApiKeyHelper:!0});return $(C,{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`."]})]})}},Iz={id:"both-auth-methods",type:"warning",isActive:()=>{let{source:J}=e0({skipRetrievingKeyFromApiKeyHelper:!0}),Z=s0();return J!=="none"&&Z.source!=="none"&&!(J==="apiKeyHelper"&&Z.source==="apiKeyHelper")},render:()=>{let{source:J}=e0({skipRetrievingKeyFromApiKeyHelper:!0}),Z=s0();return $(C,{flexDirection:"column",marginTop:1,children:[$(C,{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."]})]}),$(C,{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.`]})]})]})}},Tz={id:"large-agent-descriptions",type:"warning",isActive:(J)=>{return SZ(J.agentDefinitions)>_Z},render:(J)=>{let Z=SZ(J.agentDefinitions);return $(C,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Large cumulative agent descriptions will impact performance (~",t0(Z)," tokens >"," ",t0(_Z),")",B(g,{dimColor:!0,children:" · /agents to manage"})]})]})}},hz={id:"jetbrains-plugin-install",type:"info",isActive:(J)=>{if(!rJ())return!1;if(!(J.config.autoInstallIdeExtension??!0))return!1;let Q=yZ();return Q!==null&&!lJ(Q)},render:()=>{let J=yZ(),Z=aJ(J);return $(C,{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"})]})]})}},Rz=[_z,Tz,Sz,kz,Iz,hz]});async function xz(){if(ZZ)return ZZ;return ZZ=XQ().then((J)=>{JZ=J}).finally(()=>{ZZ=null}),ZZ}function QQ(J){let Z=JQ.c(8),{agentDefinitions:Q}=J===void 0?{}:J,[z,X]=l0.useState(JZ),W;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))W=()=>{if(JZ.length>0){X(JZ);return}xz().then(()=>{X(JZ)})},Z[0]=W;else W=Z[0];l0.useEffect(W,[W]);let V={config:wZ(),agentDefinitions:Q,memoryFiles:z},Y=oJ(V);if(Y.length===0)return null;let K=C,F="column",P=1,v=Y.map((I)=>B(l0.Fragment,{children:I.render(V)},I.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 JQ,l0,JZ,ZZ=null;var zQ=N0(()=>{f0();eJ();ZQ();tJ();L0();JQ=A0(x0(),1),l0=A0(R0(),1),JZ=[]});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 w=K.current/Q;K.current=Q;for(let[U,R]of z.current)z.current.set(U,Math.max(1,Math.round(R*w)));X.current++,F.current=!0,v.current=2}let M=v.current>0?P.current:null,I=m.useRef(0),Z0=m.useRef(null),d=m.useCallback((w)=>J.current?.subscribe(w)??pz,[J]);m.useSyncExternalStore(d,()=>{let w=J.current;if(!w)return NaN;let U=w.getScrollTop()+w.getPendingDelta(),R=Math.floor(U/uz);return w.isSticky()?~R:R});let O=J.current?.getScrollTop()??-1,b=J.current?.getPendingDelta()??0,_=J.current?.getViewportHeight()??0,N=J.current?.isSticky()??!0;m.useMemo(()=>{let w=new Set(Z),U=!1;for(let R of z.current.keys())if(!w.has(R))z.current.delete(R),U=!0;for(let R of Y.current.keys())if(!w.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 w=q.current.arr.length>=D+1?q.current.arr:new Float64Array(D+1);w[0]=0;for(let U=0;U<D;U++)w[U+1]=w[U]+(z.current.get(Z[U])??$z);q.current={arr:w,version:X.current,n:D}}let p=q.current.arr,J0=p[D],E,S;if(M)[E,S]=M,E=Math.min(E,D),S=Math.min(S,D);else if(_===0||O<0)E=Math.max(0,D-fz),S=D;else{if(N){let V0=_+r0;E=D;while(E>0&&J0-p[E-1]<V0)E--;S=D}else{let V0=I.current,G0=_*3,M0=Math.min(O,O+b),g0=Math.max(O,O+b),y0=g0-M0,D0=y0>G0?b<0?g0-G0:M0:M0,I0=D0+Math.min(y0,G0),m0=Math.max(0,D0-V0),T0=I0-V0,b0=m0-r0;{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 n0=_+2*r0,a0=Math.min(D,E+QZ),_0=0;S=E;while(S<a0&&(_0<n0||p[S]<T0+_+r0))_0+=z.current.get(Z[S])??IZ,S++}let w=_+2*r0,U=Math.max(0,S-QZ),R=0;for(let V0=E;V0<S;V0++)R+=z.current.get(Z[V0])??IZ;while(E>U&&R<w)E--,R+=z.current.get(Z[E])??IZ;let s=P.current,O0=Math.abs(O-W.current)+Math.abs(b);if(s&&O0>_*2){let[V0,G0]=s;if(E<V0-zZ)E=V0-zZ;if(S>G0+zZ)S=G0+zZ;if(E>S)S=Math.min(E+zZ,D)}W.current=O}if(v.current>0)v.current--;else P.current=[E,S];let H0=m.useDeferredValue(E),Y0=m.useDeferredValue(S),l=E<H0?H0:E,h=S>Y0?Y0:S;if(l>h||N)l=E,h=S;if(b>0)h=S;if(h-l>QZ){let w=(p[l]+p[h])/2;if(O-I.current<w)h=l+QZ;else l=h-QZ}let z0=I.current,Q0=p[l],X0=l===0?0:Q0+z0,w0=h===D?1/0:Math.max(Q0,p[h]-_)+z0;m.useLayoutEffect(()=>{if(N)J.current?.setClampBounds(void 0,void 0);else J.current?.setClampBounds(X0,w0)}),m.useLayoutEffect(()=>{let w=Z0.current?.yogaNode;if(w&&w.getComputedWidth()>0)I.current=w.getComputedTop();if(F.current){F.current=!1;return}let U=!1;for(let[R,s]of V.current){let O0=s.yogaNode;if(!O0)continue;let V0=O0.getComputedHeight(),G0=z.current.get(R);if(V0>0){if(G0!==V0)z.current.set(R,V0),U=!0}else if(O0.getComputedWidth()>0&&G0!==0)z.current.set(R,0),U=!0}if(U)X.current++});let T=m.useCallback((w)=>{let U=Y.current.get(w);if(!U)U=(R)=>{if(R)V.current.set(w,R);else{let s=V.current.get(w)?.yogaNode;if(s&&!F.current){let O0=s.getComputedHeight();if((O0>0||s.getComputedWidth()>0)&&z.current.get(w)!==O0)z.current.set(w,O0),X.current++}V.current.delete(w)}},Y.current.set(w,U);return U},[]),i=m.useCallback((w)=>{let U=V.current.get(Z[w])?.yogaNode;if(!U||U.getComputedWidth()===0)return-1;return U.getComputedTop()},[Z]),o=m.useCallback((w)=>V.current.get(Z[w])??null,[Z]),t=m.useCallback((w)=>z.current.get(Z[w]),[Z]),k=m.useCallback((w)=>{let U=q.current;if(w<0||w>=U.n)return;J.current?.scrollTo(U.arr[w]+I.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:k}}var m,$z=3,r0=80,fz=30,uz,IZ=1,QZ=300,zZ=25,pz=()=>{};var qQ=N0(()=>{m=A0(R0(),1),uz=r0>>1});function mz(J){let Z=YQ.get(J);if(Z!==void 0)return Z;let Q=KZ(J);return YQ.set(J,Q),Q}function iz(J){let Z=VQ.get(J);if(Z!==void 0)return Z;let Q=lz(J);return VQ.set(J,Q),Q}function lz(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=FQ(Z);if(Q.startsWith("<")||Q==="")return null;return Q}function rz(J){let Z=NQ.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 I=q?"userMessageBackgroundHover":void 0,Z0=q?1:void 0,d;if(Z[3]!==Y||Z[4]!==z||Z[5]!==K)d=Y?(J0)=>K(z,J0.cellIsBlank):void 0,Z[3]=Y,Z[4]=z,Z[5]=K,Z[6]=d;else d=Z[6];let O;if(Z[7]!==Y||Z[8]!==Q||Z[9]!==F)O=Y?()=>F(Q):void 0,Z[7]=Y,Z[8]=Q,Z[9]=F,Z[10]=O;else O=Z[10];let b;if(Z[11]!==Y||Z[12]!==Q||Z[13]!==P)b=Y?()=>P(Q):void 0,Z[11]=Y,Z[12]=Q,Z[13]=P,Z[14]=b;else b=Z[14];let _=V&&!q?"text":void 0,N;if(Z[15]!==X||Z[16]!==z||Z[17]!==v)N=v(z,X),Z[15]=X,Z[16]=z,Z[17]=v,Z[18]=N;else N=Z[18];let D;if(Z[19]!==_||Z[20]!==N)D=B(HQ.Provider,{value:_,children:N}),Z[19]=_,Z[20]=N,Z[21]=D;else D=Z[21];let p;if(Z[22]!==M||Z[23]!==I||Z[24]!==Z0||Z[25]!==d||Z[26]!==O||Z[27]!==b||Z[28]!==D)p=B(C,{ref:M,flexDirection:"column",backgroundColor:I,paddingBottom:Z0,onClick:d,onMouseEnter:O,onMouseLeave:b,children:D}),Z[22]=M,Z[23]=I,Z[24]=Z0,Z[25]=d,Z[26]=O,Z[27]=b,Z[28]=D,Z[29]=p;else p=Z[29];return p}function wQ({messages:J,scrollRef:Z,columns:Q,itemKey:z,renderItem:X,onItemClick:W,isItemClickable:q,isItemExpanded:V,extractSearchText:Y=mz,trackStickyPrompt:K,selectedIndex:F,cursorNavRef:P,setCursor:v,jumpRef:M,onSearchMatchesChange:I,scanElement:Z0,setPositions:d}){let O=y.useRef([]),b=y.useRef(J),_=y.useRef(z);if(_.current!==z||J.length<O.current.length||J[0]!==b.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]));b.current=J,_.current=z;let N=O.current,{range:D,topSpacer:p,bottomSpacer:J0,measureRef:E,spacerRef:S,offsets:H0,getItemTop:Y0,getItemElement:l,getItemHeight:h,scrollToIndex:z0}=WQ(Z,N,Q),[Q0,X0]=D,w0=y.useCallback((H)=>{if(h(H)===0)return!1;return GQ(J[H])},[h,J]);y.useImperativeHandle(P,()=>{let H=(f)=>v?.({uuid:f.uuid,msgType:f.type,expanded:!1,toolName:LQ(f)?.name}),L=F??-1,A=(f,n,a=w0)=>{for(let c=f;c>=0&&c<J.length;c+=n)if(a(c))return H(J[c]),!0;return!1},x=(f)=>w0(f)&&J[f].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,w0]);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),k=y.useRef(0),W0=y.useRef(0),w=y.useRef(()=>{}),U=y.useRef(()=>{}),R=y.useRef({matches:[],ptr:0,screenOrd:0,prefixSum:[]}),s=y.useRef(-1),O0=y.useRef(!1);function V0(H){let L=T.current.getItemTop(H);return Math.max(0,L-TZ)}function G0(H){let L=Z.current,{msgIdx:A,positions:x}=o.current;if(!L||x.length===0||A<0){d?.(null);return}let f=Math.max(0,Math.min(H,x.length-1)),n=x[f],a=T.current.getItemTop(A),c=L.getViewportTop(),e=a-L.getScrollTop(),h0=L.getViewportHeight(),P0=c+e+n.row;if(P0<c||P0>=c+h0)L.scrollTo(Math.max(0,a+n.row-TZ)),e=a-L.getScrollTop(),P0=c+e+n.row;d?.({positions:x,rowOffset:c+e,currentIdx:f});let E0=R.current,U0=E0.prefixSum.at(-1)??0,j0=(E0.prefixSum[E0.ptr]??0)+f+1;I?.(U0,j0),c0(`highlight(i=${A}, ord=${f}/${x.length}): pos={row:${n.row},col:${n.col}} lo=${e} screenRow=${P0} badge=${j0}/${U0}`)}U.current=G0;let[M0,g0]=y.useState(0),y0=y.useCallback(()=>g0((H)=>H+1),[]);y.useEffect(()=>{let H=i.current;if(!H)return;let{idx:L,wantLast:A,tries:x}=H,f=Z.current;if(!f)return;let{getItemElement:n,getItemTop:a,scrollToIndex:c}=T.current,e=n(L),h0=e?.yogaNode?.getComputedHeight()??0;if(!e||h0===0){if(x>1){i.current=null,c0(`seek(i=${L}): no mount after scrollToIndex, skip`),w.current(A?-1:1);return}i.current={idx:L,wantLast:A,tries:x+1},c(L),y0();return}i.current=null,f.scrollTo(Math.max(0,a(L)-TZ));let P0=Z0?.(e)??[];if(o.current={msgIdx:L,positions:P0},c0(`seek(i=${L} t=${x}): ${P0.length} positions`),P0.length===0){if(++k.current>20){k.current=0;return}w.current(A?-1:1);return}k.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,w.current(U0)},[M0]);function D0(H,L){let A=Z.current;if(!A)return;let x=T.current,{getItemElement:f,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 a=f(H),c=a?.yogaNode?.getComputedHeight()??0;if(a&&c>0)A.scrollTo(V0(H));else n(H);y0()}function I0(H){let L=R.current,{matches:A,prefixSum:x}=L,f=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,a=L.screenOrd+H;if(a>=0&&a<n.length){L.screenOrd=a,G0(a),t.current=-1;return}let c=(L.ptr+H+A.length)%A.length;if(c===t.current){d?.(null),t.current=-1,c0(`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]??f:x[c]+1;I?.(f,e)}w.current=I0,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 S0=Y(U0[j0]),G=S0.indexOf(L),j=0;while(G>=0)j++,G=S0.indexOf(L,G+L.length);if(j>0)A.push(j0),x.push(x.at(-1)+j)}}let f=x.at(-1),n=0,a=Z.current,{offsets:c,start:e,getItemTop:h0}=T.current,P0=h0(e),E0=P0>=0?P0-c[e]:0;if(A.length>0&&a){let U0=s.current>=0?s.current:a.getScrollTop(),j0=1/0;for(let S0=0;S0<A.length;S0++){let G=Math.abs(E0+c[A[S0]]-U0);if(G<=j0)j0=G,n=S0}c0(`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&&a)a.scrollTo(s.current);I?.(f,A.length>0?x[n+1]??f:0)},nextMatch:()=>I0(1),prevMatch:()=>I0(-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(O0.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 BQ(0);let a=performance.now(),c=Math.min(n+L,H.length);for(let e=n;e<c;e++)Y(H[e]);A+=performance.now()-a}let f=Math.round(performance.now()-x);return c0(`warmSearchIndex: ${H.length} msgs · work=${Math.round(A)}ms wall=${f}ms chunks=${Math.ceil(H.length/L)}`),O0.current=!0,Math.round(A)}}),[Z]);let[m0,T0]=y.useState(null),b0=y.useRef({onItemClick:W,setHoveredKey:T0});b0.current={onItemClick:W,setHoveredKey:T0};let n0=y.useCallback((H,L)=>{let A=b0.current;if(!L&&A.onItemClick)A.onItemClick(H)},[]),a0=y.useCallback((H)=>{b0.current.setHoveredKey(H)},[]),_0=y.useCallback((H)=>{b0.current.setHoveredKey((L)=>L===H?null:L)},[]);return $($0,{children:[B(C,{ref:S,height:p,flexShrink:0}),J.slice(Q0,X0).map((H,L)=>{let A=Q0+L,x=N[A],f=!!W&&(q?.(H)??!0),n=f&&m0===x,a=V?.(H);return B(rz,{itemKey:x,msg:H,idx:A,measureRef:E,expanded:a,hovered:n,clickable:f,onClickK:n0,onEnterK:a0,onLeaveK:_0,renderItem:X},x)}),J0>0&&B(C,{height:J0,flexShrink:0}),K&&B(oz,{messages:J,start:Q0,end:X0,offsets:H0,getItemTop:Y0,getItemElement:l,scrollRef:Z})]})}function oz({messages:J,start:Z,end:Q,offsets:z,getItemTop:X,getItemElement:W,scrollRef:q}){let{setStickyPrompt:V}=y.useContext(DZ),Y=y.useCallback((N)=>q.current?.subscribe(N)??az,[q]);y.useSyncExternalStore(Y,()=>{let N=q.current;if(!N)return NaN;let D=N.getScrollTop()+N.getPendingDelta();return N.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 N=Q-1;N>=Z;N--){let D=X(N);if(D>=0){if(D<F)break;v=D}P=N}let M=-1,I=null;if(P>0&&!K)for(let N=P-1;N>=0;N--){let D=iz(J[N]);if(D===null)continue;let p=X(N);if(p>=0&&p+1>=F)continue;M=N,I=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}),b=y.useRef("none"),_=y.useRef(-1);return y.useEffect(()=>{if(O.current.idx>=0)return;if(b.current==="armed"){b.current="force";return}let N=b.current==="force";if(b.current="none",!N&&_.current===M)return;if(_.current=M,I===null){V(null);return}let D=I.trimStart(),p=D.search(/\n\s*\n/),J0=(p>=0?D.slice(0,p):D).slice(0,nz).replace(/\s+/g," ").trim();if(J0===""){V(null);return}let E=M,S=d;V({text:J0,scrollTo:()=>{V("clicked"),b.current="armed";let H0=W(E);if(H0)q.current?.scrollToElement(H0,1);else q.current?.scrollTo(S),O.current={idx:E,tries:0}}})}),y.useEffect(()=>{if(O.current.idx<0)return;let N=W(O.current.idx);if(N)q.current?.scrollToElement(N,1),O.current={idx:-1,tries:0};else if(++O.current.tries>5)O.current={idx:-1,tries:0}}),null}var NQ,y,TZ=3,YQ,nz=500,VQ,az=()=>{};var OQ=N0(()=>{qQ();f0();gz();QJ();dz();cz();MZ();KQ();L0();NQ=A0(x0(),1),y=A0(R0(),1),YQ=new WeakMap;VQ=new WeakMap});function LX(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 FX(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 wX(J,Z,Q=KX,z=NX){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 PQ(J){return(J.type==="assistant"||J.type==="user"?d0(J):null)??J.uuid}function AX(J,Z){if(J.size!==Z.size)return!1;for(let Q of J)if(!Z.has(Q))return!1;return!0}function dJ(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=d0(J);if(!q)return!0;if(Z.has(q))return!1;if(Q.has(q))return!1;if(pQ(q,"PostToolUse",W))return!1;return zJ(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 TQ,XZ,u,BX,HX=null,AQ=null,GX=null,hZ=30,KX=200,NX=50,OX=({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:I=!1,isLoading:Z0,hidePastThinking:d=!1,streamingThinking:O,streamingText:b,isBriefOnly:_=!1,unseenDivider:N,scrollRef:D,trackStickyPrompt:p,jumpRef:J0,onSearchMatchesChange:E,scanElement:S,setPositions:H0,disableRenderCap:Y0=!1,cursor:l=null,setCursor:h,cursorNavRef:z0,renderRange:Q0})=>{let{columns:X0}=BZ(),w0=bQ("transcript:toggleShowAll","Transcript","Ctrl+E"),T=u.useMemo(()=>$Z(J).filter(RQ),[J]),i=u.useMemo(()=>{if(!O)return!1;if(O.isStreaming)return!0;if(O.streamingEndedAt)return Date.now()-O.streamingEndedAt<30000;return!1},[O]),o=u.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 r=B0.length-1;r>=0;r--)if(B0[r]?.type==="thinking")return`${j.uuid}:${r}`}else if(j?.type==="user"){if(!j.message.content.some((r)=>r.type==="tool_result"))return"no-thinking"}}return null},[T,d,i]),t=u.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 r of B0)if(r.type==="text"){let K0=r.text;if(K0.startsWith("<bash-stdout")||K0.startsWith("<bash-stderr"))return j.uuid}}}return null},[T]),k=u.useMemo(()=>dQ(T),[T]),W0=u.useMemo(()=>F.filter((G)=>!q.has(G.contentBlock.id)&&!k.has(G.contentBlock.id)),[F,q,k]),w=u.useMemo(()=>W0.flatMap((G)=>{let j=hQ({content:[G.contentBlock]});return j.uuid=MQ(G.contentBlock.id,0),$Z([j])}),[W0]),U=K==="transcript",R=u.useMemo(()=>UQ(process.env.CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL),[]),s=D!=null&&!R,O0=U&&!P&&!s,V0=u.useRef(null),{collapsed:G0,lookups:M0,hasTruncatedMessages:g0,hiddenMessageCount:y0}=u.useMemo(()=>{let G=z||p0()?T:xQ(T,{includeSnipped:!0}),j=fQ(G.filter((k0)=>k0.type!=="progress").filter((k0)=>!YZ(k0)).filter((k0)=>$Q(k0,U)),w),B0=[AQ,GX].filter((k0)=>k0!==null),r=[AQ].filter((k0)=>k0!==null),K0=B0.length>0&&!U?_?LX(j,B0):r.length>0?FX(j,r):j:j,C0=O0?K0.slice(-hZ):K0,WZ=O0&&K0.length>hZ,{messages:u0}=wJ(C0,Z,z),cQ=YJ(HJ(FJ(IQ(u0,Z))),z),gQ=uQ(T,C0),mQ=j.length-hZ;return{collapsed:cQ,lookups:gQ,hasTruncatedMessages:WZ,hiddenMessageCount:mQ}},[z,T,U,w,O0,Z,_]),D0=u.useMemo(()=>{let j=!s&&!Y0?wX(G0,V0):0;return Q0?G0.slice(Q0[0],Q0[1]):j>0?G0.slice(j):G0},[G0,Q0,s,Y0]),I0=u.useMemo(()=>new Set(F.map((G)=>G.contentBlock.id)),[F]),m0=_Q((G)=>G.tasks),T0=M0.asyncLaunchedToolUseIDs,b0=u.useMemo(()=>{if(T0.size===0)return null;let G=new Set;for(let[j,B0]of T0){let r=m0?.[B0]?.status;if(r==="running"||r==="requested"||r==="queued")G.add(j)}return G.size>0?G:null},[m0,T0]),n0=u.useMemo(()=>{if(!b0)return q;let G=new Set(q);for(let j of b0)G.add(j);return G},[q,b0]),a0=u.useMemo(()=>{if(!N)return-1;let G=N.firstUnseenUuid.slice(0,24);return D0.findIndex((j)=>j.uuid.slice(0,24)===G)},[N,D0]),_0=u.useMemo(()=>{if(!l)return-1;return D0.findIndex((G)=>G.uuid===l.uuid)},[l,D0]),[H,L]=u.useState(()=>new Set),A=u.useCallback((G)=>{let j=PQ(G);L((B0)=>{let r=new Set(B0);if(r.has(j))r.delete(j);else r.add(j);return r})},[]),x=u.useCallback((G)=>H.size>0&&H.has(PQ(G)),[H]),f=u.useRef(M0);f.current=M0;let n=u.useCallback((G)=>{if(G.type==="collapsed_read_search")return!0;if(G.type==="assistant"){let K0=G.message.content[0];return K0!=null&&CQ(K0)&&K0.type==="advisor_tool_result"&&K0.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=f.current.toolUseByToolUseID.get(j.tool_use_id)?.name;return(B0?xZ(Z,B0):void 0)?.isResultTruncated?.(G.toolUseResult)??!1},[Z]),a=(!X||!!X.shouldContinueAnimation)&&!W.length&&!V,c=n0.size>0,{progress:e}=EQ(),h0=u.useRef(null),P0=wZ().terminalProgressBarEnabled&&!DQ()&&!(HX?.isProactiveActive()??!1);u.useEffect(()=>{let G=P0?c?"indeterminate":"completed":null;if(h0.current===G)return;h0.current=G,e(G)},[e,P0,c]),u.useEffect(()=>{return()=>e(null)},[e]);let E0=u.useCallback((G)=>`${G.uuid}-${Y}`,[Y]),U0=(G,j)=>{let B0=j>0?D0[j-1]?.type:void 0,r=G.type==="user"&&B0==="user",K0=G.type==="collapsed_read_search"&&(!!b||fJ(D0,j,Z,I0)),C0=E0(G),WZ=B(uJ,{message:G,isUserContinuation:r,hasContentAfter:K0,tools:Z,commands:Q,verbose:z||x(G)||l?.expanded===!0&&j===_0,inProgressToolUseIDs:n0,streamingToolUseIDs:I0,screen:K,canAnimate:a,onOpenRateLimitOptions:M,lastThinkingBlockId:o,latestBashOutputUUID:t,columns:X0,isLoading:Z0,lookups:M0},C0),u0=B(vQ.Provider,{value:j===_0,children:WZ},C0);if(N&&j===a0)return[B(C,{marginTop:1,children:B(OZ,{title:`${N.count} new ${VZ(N.count,"message")}`,width:X0,color:"inactive"})},"unseen-divider"),u0];return u0},j0=u.useRef(new WeakMap),S0=u.useCallback((G)=>{let j=j0.current.get(G);if(j!==void 0)return j;let B0=KZ(G);if(G.type==="user"&&G.toolUseResult&&Array.isArray(G.message.content)){let K0=G.message.content.find((C0)=>C0.type==="tool_result");if(K0&&"tool_use_id"in K0){let C0=M0.toolUseByToolUseID.get(K0.tool_use_id),u0=(C0&&xZ(Z,C0.name))?.extractSearchText?.(G.toolUseResult);if(u0!==void 0)B0=u0}}let r=B0.toLowerCase();return j0.current.set(G,r),r},[Z,M0]);return $($0,{children:[!I&&!(Q0&&Q0[0]>0)&&B(BX,{agentDefinitions:v}),g0&&B(OZ,{title:`${w0} to show ${RZ.bold(y0)} previous messages`,width:X0}),U&&P&&y0>0&&!Y0&&B(OZ,{title:`${w0} to hide ${RZ.bold(y0)} previous messages`,width:X0}),s?B(yQ.Provider,{value:!0,children:B(wQ,{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:S,setPositions:H0,extractSearchText:S0})}):D0.flatMap(U0),b&&!_&&B(C,{alignItems:"flex-start",flexDirection:"row",marginTop:1,width:"100%",children:$(C,{flexDirection:"row",children:[B(C,{minWidth:2,children:B(g,{color:"text",children:jQ})}),B(C,{flexDirection:"column",children:B(SQ,{children:b})})]})}),i&&O&&!_&&B(C,{marginTop:1,children:B(kQ,{param:{type:"thinking",thinking:O.thinking},addMargin:!1,isTranscriptMode:!0,verbose:z,hideInTranscript:!1})})]})},C8;var cJ=N0(()=>{ez();XJ();tz();ZX();oZ();QX();f0();zX();qX();JX();WX();VJ();GJ();IJ();KJ();ZQ();sz();PZ();OJ();FZ();rZ();MZ();XX();YX();pJ();KQ();VX();AZ();TJ();zQ();OQ();L0();TQ=A0(x0(),1),XZ=A0(R0(),1),u=A0(R0(),1),BX=XZ.memo(function(Z){let Q=TQ.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(o0,{children:$(C,{flexDirection:"column",gap:1,children:[X,B(XZ.Suspense,{fallback:null,children:B(QQ,{agentDefinitions:z})})]})}),Q[1]=z,Q[2]=W;else W=Q[2];return W});C8=XZ.memo(OX,(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(AX(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{DX as Ge,UX as He,nZ as Ie,pX as Je,dX as Ke,cX as Le,QJ as Me,C8 as Ne,cJ as Oe};
@@ -1,3 +0,0 @@
1
- import{Aca as L,Eca as O}from"./cli-0.5.8-1x4w18nq.mjs";import{zna as N}from"./cli-0.5.8-hkfwdsmy.mjs";function S(){if(!process.stdin.isTTY||D||process.argv.includes("-p")||process.argv.includes("--print"))return;D=!0,z="";try{process.stdin.setEncoding("utf8"),process.stdin.setRawMode(!0),process.stdin.ref(),F=()=>{let q=process.stdin.read();while(q!==null){if(typeof q==="string")P(q);q=process.stdin.read()}},process.stdin.on("readable",F)}catch{D=!1}}function P(q){let w=0;while(w<q.length){let K=q[w],A=K.charCodeAt(0);if(A===3){J(),process.exit(130);return}if(A===4){J();return}if(A===127||A===8){if(z.length>0){let M=L(z);z=z.slice(0,-(M.length||1))}w++;continue}if(A===27){w++;while(w<q.length&&!(q.charCodeAt(w)>=64&&q.charCodeAt(w)<=126))w++;if(w<q.length)w++;continue}if(A<32&&A!==9&&A!==10&&A!==13){w++;continue}if(A===13){z+=`
2
- `,w++;continue}z+=K,w++}}function J(){if(!D)return;if(D=!1,F)process.stdin.removeListener("readable",F),F=null}function T(){J();let q=z.trim();return z="",q}function U(){return z.trim().length>0}function V(q){z=q}function W(){return D}var z="",D=!1,F=null;var Q=N(()=>{O()});
3
- export{S as xX,J as yX,T as zX,U as AX,V as BX,W as CX,Q as DX};
@@ -1,2 +0,0 @@
1
- import{CM as x,FM as B}from"./cli-0.5.8-4hvxb5dp.mjs";import{zna as z}from"./cli-0.5.8-hkfwdsmy.mjs";function H(q){if(!q)return 0;return q.activeAgents.filter((b)=>b.source!=="built-in").reduce((b,w)=>{let y=`${w.agentType}: ${w.whenToUse}`;return b+x(y)},0)}var G=15000;var A=z(()=>{B()});
2
- export{G as vg,H as wg,A as xg};
@@ -1,2 +0,0 @@
1
- import{ih as V,jh as v}from"./cli-0.5.8-cgt1fvs7.mjs";import{XY as U,ZY as J}from"./cli-0.5.8-zkn5gecs.mjs";import{vZ as W,wZ as B}from"./cli-0.5.8-cm551a1y.mjs";import{C3 as $,a0 as N,b0 as _,c3 as Q,h3 as R}from"./cli-0.5.8-rddkqxh8.mjs";import{Kba as K,Sba as Z}from"./cli-0.5.8-qf19nfhv.mjs";import{zna as Y}from"./cli-0.5.8-hkfwdsmy.mjs";async function w(y,X){try{if(R()){let q=Q(),z=!1;if(q?.subscriptionType&&q?.rateLimitTier)z=q.subscriptionType==="max"&&q.rateLimitTier==="default_claude_max_20x";else if(q?.accessToken){let H=await N(q.accessToken);z=H?.organization?.organization_type==="claude_max"&&H?.organization?.rate_limit_tier==="default_claude_max_20x"}if(z)return setTimeout(y,0,"You are already on the highest Max subscription plan. For additional usage, run /login to switch to an API usage-billed account."),null}return await W("https://claude.ai/upgrade/max"),U(V,{startingMessage:"Starting new login following /upgrade. Exit with Ctrl-C to use existing account.",onDone:(q)=>{X.onChangeAPIKey(),y(q?"Login successful":"Login interrupted")}})}catch(G){K(G),setTimeout(y,0,"Failed to open browser. Please visit https://claude.ai/upgrade/max to upgrade.")}return null}var E=Y(()=>{_();$();B();Z();v();J()});
2
- export{w as Mb,E as Nb};
@@ -1,2 +0,0 @@
1
- import{$b as _,_b as Z,ac as $,dc as O}from"./cli-0.5.8-0bys4xae.mjs";import{Qd as Y,Vd as x}from"./cli-0.5.8-f54hhqdn.mjs";import{$H as W,WH as U,eI as S,fI as X,pI as V}from"./cli-0.5.8-4hvxb5dp.mjs";import{ofa as R,rfa as K}from"./cli-0.5.8-xs1gy1tk.mjs";import{Rfa as Q,Yfa as C}from"./cli-0.5.8-959n5v33.mjs";x();K();C();V();S();O();function b(G,J,L){let H=new Set(J.plugins.map((z)=>z.name)),A=`@${L}`,q=[];for(let z of Object.keys(G.plugins)){if(!z.endsWith(A))continue;let h=z.slice(0,-A.length);if(!H.has(h))q.push(z)}return q}async function F(){await Z();let G=X(),J=_(),L=await U(),H=[];for(let A of Object.keys(L))try{let q=await W(A);if(!q.forceRemoveDeletedPlugins)continue;let z=b(G,q,A);for(let h of z){if(h in J)continue;let T=G.plugins[h]??[];if(!T.some((B)=>B.scope==="user"||B.scope==="project"||B.scope==="local"))continue;for(let B of T){let{scope:E}=B;if(E!=="user"&&E!=="project"&&E!=="local")continue;try{await Y(h,E)}catch(v){R(`Failed to auto-uninstall delisted plugin ${h} from ${E}: ${Q(v)}`,{level:"error"})}}await $(h),H.push(h)}}catch(q){R(`Failed to check for delisted plugins in "${A}": ${Q(q)}`,{level:"warn"})}return H}
2
- export{F as bb};
@@ -1,2 +0,0 @@
1
- import{mea as X,oea as z}from"./cli-0.5.8-9fpm1ms3.mjs";import{Tea as Z,Yea as O,ofa as $,rfa as P}from"./cli-0.5.8-xs1gy1tk.mjs";import{Rfa as Y,Yfa as H}from"./cli-0.5.8-959n5v33.mjs";import{zna as x}from"./cli-0.5.8-hkfwdsmy.mjs";function h(q){return q.replace(w,(Q,J,K)=>{if(K.length<F)return`"${J}":"[REDACTED]"`;let V=`${K.slice(0,8)}...${K.slice(-4)}`;return`"${J}":"${V}"`})}function N(q){let Q=typeof q==="string"?q:Z(q),J=h(Q);if(J.length<=W)return J;return J.slice(0,W)+`... (${J.length} chars)`}function R(q){let Q=Y(q);if(q&&typeof q==="object"&&"response"in q){let J=q.response;if(J?.data&&typeof J.data==="object"){let K=J.data,V=typeof K.message==="string"?K.message:typeof K.error==="object"&&K.error&&("message"in K.error)&&typeof K.error.message==="string"?K.error.message:void 0;if(V)return`${Q}: ${V}`}}return Q}function U(q){if(q&&typeof q==="object"&&"response"in q&&q.response&&typeof q.response.status==="number")return q.response.status;return}function j(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 D(q,Q,J){if(Q)$(Q);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 ke,R as le,U as me,j as ne,D as oe,m as pe};
@@ -1,24 +0,0 @@
1
- import{$T as c,QT as T}from"./cli-0.5.8-m7f68vhz.mjs";import{CU as w,FU as n}from"./cli-0.5.8-p72phgsn.mjs";import{Y6 as y,Z6 as g,_5 as M,a6 as X,b6 as f}from"./cli-0.5.8-qf19nfhv.mjs";import{Tea as K,Uea as v,Yea as m,ofa as Z,rea as R,rfa as h,tea as F}from"./cli-0.5.8-xs1gy1tk.mjs";import{Rfa as Y,Wfa as W,Yfa as D}from"./cli-0.5.8-959n5v33.mjs";import{$fa as E,mga as S}from"./cli-0.5.8-gm4jqzfs.mjs";import{Jla as j,Sha as k,Wha as A,Yha as N}from"./cli-0.5.8-bhc8vwxd.mjs";import{zna as H}from"./cli-0.5.8-hkfwdsmy.mjs";function O(q){if(q<=1)return!1;try{return process.kill(q,0),!0}catch{return!1}}async function i(q,J=10){if(process.platform==="win32"){let Q=`
2
- $pid = ${String(q)}
3
- $ancestors = @()
4
- for ($i = 0; $i -lt ${J}; $i++) {
5
- $proc = Get-CimInstance Win32_Process -Filter "ProcessId=$pid" -ErrorAction SilentlyContinue
6
- if (-not $proc -or -not $proc.ParentProcessId -or $proc.ParentProcessId -eq 0) { break }
7
- $pid = $proc.ParentProcessId
8
- $ancestors += $pid
9
- }
10
- $ancestors -join ','
11
- `.trim(),V=await X("powershell.exe",["-NoProfile","-Command",Q],{timeout:3000});if(V.code!==0||!V.stdout?.trim())return[];return V.stdout.trim().split(",").filter(Boolean).map((G)=>parseInt(G,10)).filter((G)=>!isNaN(G))}let L=`pid=${String(q)}; for i in $(seq 1 ${J}); do ppid=$(ps -o ppid= -p $pid 2>/dev/null | tr -d ' '); if [ -z "$ppid" ] || [ "$ppid" = "0" ] || [ "$ppid" = "1" ]; then break; fi; echo $ppid; pid=$ppid; done`,z=await X("sh",["-c",L],{timeout:3000});if(z.code!==0||!z.stdout?.trim())return[];return z.stdout.trim().split(`
12
- `).filter(Boolean).map((Q)=>parseInt(Q,10)).filter((Q)=>!isNaN(Q))}function e(q){try{let J=String(q),L=process.platform==="win32"?`powershell.exe -NoProfile -Command "(Get-CimInstance Win32_Process -Filter \\"ProcessId=${J}\\").CommandLine"`:`ps -o command= -p ${J}`,z=M(L,{timeout:1000});return z?z.trim():null}catch{return null}}async function qq(q,J=10){if(process.platform==="win32"){let Q=`
13
- $currentPid = ${String(q)}
14
- $commands = @()
15
- for ($i = 0; $i -lt ${J}; $i++) {
16
- $proc = Get-CimInstance Win32_Process -Filter "ProcessId=$currentPid" -ErrorAction SilentlyContinue
17
- if (-not $proc) { break }
18
- if ($proc.CommandLine) { $commands += $proc.CommandLine }
19
- if (-not $proc.ParentProcessId -or $proc.ParentProcessId -eq 0) { break }
20
- $currentPid = $proc.ParentProcessId
21
- }
22
- $commands -join [char]0
23
- `.trim(),V=await X("powershell.exe",["-NoProfile","-Command",Q],{timeout:3000});if(V.code!==0||!V.stdout?.trim())return[];return V.stdout.split("\x00").filter(Boolean)}let L=`currentpid=${String(q)}; for i in $(seq 1 ${J}); do cmd=$(ps -o command= -p $currentpid 2>/dev/null); if [ -n "$cmd" ]; then printf '%s\\0' "$cmd"; fi; ppid=$(ps -o ppid= -p $currentpid 2>/dev/null | tr -d ' '); if [ -z "$ppid" ] || [ "$ppid" = "0" ] || [ "$ppid" = "1" ]; then break; fi; currentpid=$ppid; done`,z=await X("sh",["-c",L],{timeout:3000});if(z.code!==0||!z.stdout?.trim())return[];return z.stdout.split("\x00").filter(Boolean)}var _=H(()=>{f()});import{chmod as u,mkdir as a,readdir as l,readFile as p,unlink as P,writeFile as b}from"fs/promises";import{join as $}from"path";function U(){return $(E(),"sessions")}function o(){return}async function Uq(){if(T()!=null)return!1;let q=o()??"interactive",J=U(),L=$(J,`${process.pid}.json`);R(async()=>{try{await P(L)}catch{}});try{return await a(J,{recursive:!0,mode:448}),await u(J,448),await b(L,K({pid:process.pid,sessionId:k(),cwd:N(),startedAt:Date.now(),kind:q,entrypoint:process.env.CLAUDE_CODE_ENTRYPOINT,...{},...{}})),A((z)=>{B({sessionId:z})}),!0}catch(z){return Z(`[concurrentSessions] register failed: ${Y(z)}`),!1}}async function B(q){let J=$(U(),`${process.pid}.json`);try{let L=v(await p(J,"utf8"));await b(J,K({...L,...q}))}catch(L){Z(`[concurrentSessions] updatePidFile failed: ${Y(L)}`)}}async function Bq(q){if(!q)return;await B({name:q})}async function C(q){await B({bridgeSessionId:q})}async function Mq(){let q=U(),J;try{J=await l(q)}catch(z){if(!W(z))Z(`[concurrentSessions] readdir failed: ${Y(z)}`);return 0}let L=0;for(let z of J){if(!/^\d+\.json$/.test(z))continue;let Q=parseInt(z.slice(0,-5),10);if(Q===process.pid){L++;continue}if(O(Q))L++;else if(y()!=="wsl")P($(q,z)).catch(()=>{})}return L}var I=H(()=>{j();F();h();S();D();_();g();m();c()});function Aq(q){x=q,C(r()??null).catch(()=>{})}function d(){return x}function r(){let q=d();return q?w(q.bridgeSessionId):void 0}var x=null;var t=H(()=>{I();n()});
24
- export{O as vT,i as wT,e as xT,qq as yT,_ as zT,Uq as AT,Bq as BT,C as CT,Mq as DT,I as ET,Aq as FT,d as GT,r as HT,t as IT};
@@ -1,4 +0,0 @@
1
- import{Nf as by,Pf as GG}from"./cli-0.5.8-7wzh55d5.mjs";import{Og as g,Pg as My}from"./cli-0.5.8-wdyh9mqa.mjs";import{mh as Xy,oh as Zy,ph as oy}from"./cli-0.5.8-r3r9r1x8.mjs";import{AD as Ly,Am as Iy,Dp as Qy,Ej as t,Gm as $y,Ij as gy,Kp as xy,NH as j,Nq as v,OH as ty,PP as qG,Vq as ly,WH as Ny,Wu as Wy,Zu as ay,dP as jy,eI as ey,ft as U,gt as _y,lI as Oy,pI as yG,pm as e,rm as yy,tm as Gy,tp as Jy,uD as d,uP as Hy,vD as ry,wm as ky,xm as qy,ym as zy,zD as i}from"./cli-0.5.8-4hvxb5dp.mjs";import{DT as Ry,ET as cy}from"./cli-0.5.8-tknpvwjq.mjs";import{iU as wy,jU as Py,kU as Uy,oU as kG}from"./cli-0.5.8-3fnpjffd.mjs";import{AU as ny,uU as Ky}from"./cli-0.5.8-f0cc21nk.mjs";import{PW as Q,QW as sy,RW as L,TW as E,wX as hy,yV as Yy}from"./cli-0.5.8-nwe7yne9.mjs";import{XY as N,YY as u,ZY as C}from"./cli-0.5.8-zkn5gecs.mjs";import{_Y as Fy}from"./cli-0.5.8-6epmns99.mjs";import{C3 as iy,V1 as dy,j3 as h,v1 as n,w1 as c}from"./cli-0.5.8-rddkqxh8.mjs";import{Y3 as _,Z3 as Dy}from"./cli-0.5.8-4rgg1zqd.mjs";import{G8 as J,I8 as uy,P6 as a,S_ as o,U$ as w,W6 as fy,X$ as q,X_ as r,Y6 as P,Y_ as T,Z6 as Ay,f$ as Ey,paa as M}from"./cli-0.5.8-qf19nfhv.mjs";import{jda as Z,uda as f,vda as A}from"./cli-0.5.8-7fm71y20.mjs";import{mea as D,oea as By}from"./cli-0.5.8-9fpm1ms3.mjs";import{ofa as l,rfa as py}from"./cli-0.5.8-xs1gy1tk.mjs";import{vna as p}from"./cli-0.5.8-hkfwdsmy.mjs";hy();A();By();M();ry();My();Ly();C();var s=p(Yy(),1),F=p(Fy(),1),Sy={enable_shortcut_tip:!1,enable_startup_dialog:!1};function S(){return f("tengu_desktop_upsell",Sy)}function Ty(){return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}function bG(){if(!Ty())return!1;if(!S().enable_startup_dialog)return!1;let y=q();if(y.desktopUpsellDismissed)return!1;if((y.desktopUpsellSeenCount??0)>=3)return!1;return!0}function wG(y){let G=s.c(14),{onDone:k}=y,[z,X]=F.useState(!1),W;if(G[0]===Symbol.for("react.memo_cache_sentinel"))W=[],G[0]=W;else W=G[0];if(F.useEffect(Cy,W),z){let b;if(G[1]!==k)b=N(g,{onDone:()=>k()}),G[1]=k,G[2]=b;else b=G[2];return b}let O;if(G[3]!==k)O=function(my){switch(my){case"try":{X(!0);return}case"never":{w(vy),k();return}case"not-now":{k();return}}},G[3]=k,G[4]=O;else O=G[4];let I=O,K;if(G[5]===Symbol.for("react.memo_cache_sentinel"))K={label:"Open in Claude Code Desktop",value:"try"},G[5]=K;else K=G[5];let H;if(G[6]===Symbol.for("react.memo_cache_sentinel"))H={label:"Not now",value:"not-now"},G[6]=H;else H=G[6];let V;if(G[7]===Symbol.for("react.memo_cache_sentinel"))V=[K,H,{label:"Don't ask again",value:"never"}],G[7]=V;else V=G[7];let Vy=V,m;if(G[8]===Symbol.for("react.memo_cache_sentinel"))m=N(L,{marginBottom:1,children:N(E,{children:"Same Claude Code with visual diffs, live app preview, parallel sessions, and more."})}),G[8]=m;else m=G[8];let R;if(G[9]!==I)R=()=>I("not-now"),G[9]=I,G[10]=R;else R=G[10];let B;if(G[11]!==I||G[12]!==R)B=N(i,{title:"Try Claude Code Desktop",children:u(L,{flexDirection:"column",paddingX:2,paddingY:1,children:[m,N(d,{options:Vy,onChange:I,onCancel:R})]})}),G[11]=I,G[12]=R,G[13]=B;else B=G[13];return B}function vy(y){if(y.desktopUpsellDismissed)return y;return{...y,desktopUpsellDismissed:!0}}function Cy(){let y=(q().desktopUpsellSeenCount??0)+1;w((G)=>{if((G.desktopUpsellSeenCount??0)>=y)return G;return{...G,desktopUpsellSeenCount:y}}),D("tengu_desktop_upsell_shown",{seen_count:y})}M();function HG(y){let G=q().numStartups;w((k)=>{let z=k.tipsHistory??{};if(z[y]===G)return k;return{...k,tipsHistory:{...z,[y]:G}}})}function $(y){let G=q(),k=G.tipsHistory?.[y];if(!k)return 1/0;return G.numStartups-k}Dy();py();ly();Ey();ny();sy();GG();_y();gy();iy();cy();M();xy();uy();ay();fy();$y();dy();Ay();yG();ey();ty();qG();A();oy();kG();var Y;async function zG(){if(Y!==void 0)return Y;let y=await Ny();return Y=j in y,Y}async function x(y,G,k){if(!await zG())return!1;if(Oy(`${y}@${j}`))return!1;let{bashTools:z}=G??{};if(k.cli&&z?.size){if(k.cli.some((X)=>z.has(X)))return!0}if(k.filePath&&G?.readFileState){if(Wy(G.readFileState).some((W)=>k.filePath.test(W)))return!0}return!1}var IG=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claude to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return q().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${U("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=q();return(y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let y=q(),G=T(),k=Boolean(y.lastPlanModeUse),z=Boolean(G?.permissions?.defaultMode);return k&&!z}catch(y){return l(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claude sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=q();return await a()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let y=q();return y.numStartups>5&&y.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claude sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(jy())return!1;return await Ry()>=2}},{id:"terminal-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let y=q();if(J.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>J.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let y=q();return Boolean((J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!Ky())return!1;let y=q();return!(J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claude memory",cooldownSessions:15,async isRelevant(){return q().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&_.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDE_CODE_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>P()==="windows"&&process.env.CLAUDE_CODE_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>T().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claude is working.",cooldownSessions:5,async isRelevant(){return q().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claude while it works to steer Claude in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claude to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${J.terminal==="vscode"?"code":J.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!e())return!1;if(P()!=="macos")return!1;switch(J.terminal){case"vscode":return!await zy();case"cursor":return!await ky();case"windsurf":return!await qy();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claude to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(yy())return!1;if((await Gy()).length!==0)return!1;return(await Iy()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!q().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!q().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return q().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!J.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claude Code using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>P()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!v()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>v()},{id:"continue",content:async()=>"Run claude --continue or claude --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>Hy()&&q().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return q().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${U("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${U("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"desktop-app",content:async()=>"Run Claude Code locally or remotely using the Claude desktop app: clau.de/desktop",cooldownSessions:15,isRelevant:async()=>P()!=="linux"},{id:"desktop-shortcut",content:async(y)=>{return`Continue your session in Claude Code Desktop with ${Q("suggestion",y.theme)("/desktop")}`},cooldownSessions:15,isRelevant:async()=>{if(!S().enable_shortcut_tip)return!1;return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}},{id:"web-app",content:async()=>"Run tasks in the cloud while you keep coding locally · clau.de/web",cooldownSessions:15,isRelevant:async()=>!0},{id:"mobile-app",content:async()=>"/mobile to use Claude Code from the Claude app on your phone",cooldownSessions:15,isRelevant:async()=>!0},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${U("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=q(),k=n()==="opusplan",z=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return k&&z>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
2
- ${Q("suggestion",y.theme)(`/plugin install frontend-design@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>x("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
3
- ${Q("suggestion",y.theme)(`/plugin install vercel@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>x("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let k=Q("suggestion",y.theme)("/effort high");return Z("tengu_tide_elm","off")==="copy_b"?`Use ${k} for better one-shot answers. Claude thinks it through first.`:`Working on something tricky? ${k} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!Jy(c()))return!1;if(o("policySettings")?.effortLevel!==void 0)return!1;if(Qy()!==void 0)return!1;let y=r().effortLevel;if(y==="high"||y==="max")return!1;return Z("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return Z("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claude to ${G("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${G('"fan out subagents"')} and Claude sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;return Z("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return Z("tengu_timber_lark","off")==="copy_b"?`Use ${G("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${G("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!t())return!1;return Z("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let G=Q("claude",y.theme),k=Uy();return k?`Share Claude Code and earn ${G(Py(k))} of extra usage · ${G("/passes")}`:`You have free guest passes to share · ${G("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(q().hasVisitedPasses)return!1;let{eligible:G}=wy();return G}},{id:"overage-credit",content:async(y)=>{let G=Q("claude",y.theme),k=Xy(),z=k?Zy(k):null;if(!z)return"";return`${G(`${z} in extra usage, on us`)} · third-party apps · ${G("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>by()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return q().numStartups>5}}],JG=[];function QG(){let G=r().spinnerTipsOverride;if(!G?.tips?.length)return[];return G.tips.map((k,z)=>({id:`custom-tip-${z}`,content:async()=>k,cooldownSessions:0,isRelevant:async()=>!0}))}async function nG(y){let k=r().spinnerTipsOverride,z=QG();if(k?.excludeDefault&&z.length>0)return z;let X=[...IG,...JG],W=await Promise.all(X.map((I)=>I.isRelevant(y)));return[...X.filter((I,K)=>W[K]).filter((I)=>$(I.id)>=I.cooldownSessions),...z]}
4
- export{bG as eb,wG as fb,HG as gb,$ as hb,nG as ib};
@@ -1,2 +0,0 @@
1
- import{cga as w,mga as F}from"./cli-0.5.8-gm4jqzfs.mjs";import{zna as D}from"./cli-0.5.8-hkfwdsmy.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 UR,V as VR,L as WR};
@@ -1,2 +0,0 @@
1
- import{ep as _,jQ as z}from"./cli-0.5.8-4hvxb5dp.mjs";import{hZ as f}from"./cli-0.5.8-he3sfaey.mjs";import{C3 as A,RZ as K,x2 as k}from"./cli-0.5.8-rddkqxh8.mjs";import{W6 as T,Z5 as L,f$ as v,paa as x,v8 as W}from"./cli-0.5.8-qf19nfhv.mjs";import{$ca as V,Xca as b,Zca as Q,_ca as q}from"./cli-0.5.8-bjqx8j31.mjs";import{vda as H}from"./cli-0.5.8-7fm71y20.mjs";import{lea as w}from"./cli-0.5.8-qdnr3r07.mjs";import{oea as O}from"./cli-0.5.8-9fpm1ms3.mjs";import{Yfa as U}from"./cli-0.5.8-959n5v33.mjs";import{Jla as B,Nha as X}from"./cli-0.5.8-bhc8vwxd.mjs";import{zna as G}from"./cli-0.5.8-hkfwdsmy.mjs";var Z,$;var J=G(()=>{Q();V();Z=q(()=>b.object({entries:b.record(b.string(),b.string())})),$=q(()=>b.object({userId:b.string(),version:b.number(),lastModified:b.string(),checksum:b.string(),content:Z()}))});var Y=G(()=>{B();w();A();z();x();L();U();T();K();W();v();X();k();f();H();O();_();J()});
2
- export{Y as ec};
@@ -1,2 +0,0 @@
1
- import{ih as a,jh as l}from"./cli-0.5.8-cgt1fvs7.mjs";import{kh as m,lh as c}from"./cli-0.5.8-wkcmqhde.mjs";import{XY as e,ZY as n}from"./cli-0.5.8-zkn5gecs.mjs";import{zna as s}from"./cli-0.5.8-hkfwdsmy.mjs";async function f(o,r){let t=await m();if(t.type==="message")return o(t.value),null;return e(a,{startingMessage:"Starting new login following /extra-usage. Exit with Ctrl-C to use existing account.",onDone:(i)=>{r.onChangeAPIKey(),o(i?"Login successful":"Login interrupted")}})}var g=s(()=>{l();c();n()});
2
- export{f as gh,g as hh};
@@ -1,2 +0,0 @@
1
- import{oZ as N,tZ as $}from"./cli-0.5.8-5a9k7mja.mjs";import{C3 as Z,c3 as M,l0 as L,o0 as Y}from"./cli-0.5.8-rddkqxh8.mjs";import{Kba as Q,Sba as X}from"./cli-0.5.8-qf19nfhv.mjs";import{kea as J,lea as V}from"./cli-0.5.8-qdnr3r07.mjs";import{Qfa as P,Yfa as S}from"./cli-0.5.8-959n5v33.mjs";import{Ama as W,ima as K}from"./cli-0.5.8-fmyr9f7x.mjs";import{zna as R}from"./cli-0.5.8-hkfwdsmy.mjs";async function C(){let F=M()?.accessToken;if(!F)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let y=await L();if(!y)throw Error("Unable to get organization UUID");let G=`${J().BASE_API_URL}/v1/environment_providers`;try{let B={...N(F),"x-organization-uuid":y},q=await K.get(G,{headers:B,timeout:15000});if(q.status!==200)throw Error(`Failed to fetch environments: ${q.status} ${q.statusText}`);return q.data.environments}catch(B){let q=P(B);throw Q(q),Error(`Failed to fetch environments: ${q.message}`)}}async function j(F){let y=M()?.accessToken;if(!y)throw Error("No access token available");let G=await L();if(!G)throw Error("Unable to get organization UUID");let B=`${J().BASE_API_URL}/v1/environment_providers/cloud/create`;return(await K.post(B,{name:F,kind:"anthropic_cloud",description:"",config:{environment_type:"anthropic",cwd:"/home/user",init_script:null,environment:{},languages:[{name:"python",version:"3.11"},{name:"node",version:"20"}],network_config:{allowed_hosts:[],allow_default_hosts:!0}}},{headers:{...N(y),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":G},timeout:15000})).data}var b=R(()=>{W();V();Y();Z();S();X();$()});
2
- export{C as aU,j as bU,b as cU};
@@ -1,45 +0,0 @@
1
- import{Ne as BY,Oe as Bz}from"./cli-0.5.8-rvxqss4v.mjs";import{$f as cY,Zf as $Y,_f as yz,ag as mz}from"./cli-0.5.8-5bdfv4z2.mjs";import{Qg as qY,Rg as qz}from"./cli-0.5.8-4yyy85fr.mjs";import{Fr as eY,Gr as JK,IG as GY,NG as Gz,PP as V0,YO as dY,cm as UJ,dm as UY,em as AJ,fF as hY,fm as XY,gF as Tz,gm as NJ,gp as Zz,hm as VY,hp as KK,kD as uY,lD as wz,mO as lY,uD as B0,uP as nY,vD as MY,xL as gY,xP as XJ,yL as Lz,yP as GZ,zP as X0}from"./cli-0.5.8-4hvxb5dp.mjs";import{fU as SY,gU as jz}from"./cli-0.5.8-3fnpjffd.mjs";import{GU as _Y,HU as Az,UU as $J,WU as KY,aV as pY,bV as Fz}from"./cli-0.5.8-60e57smp.mjs";import{HV as LY,MW as fY,NV as IY,OV as Rz,OW as Ez,RW as b,TW as N,lX as xY,vW as bY,wX as U0,yV as f0}from"./cli-0.5.8-nwe7yne9.mjs";import{XY as U,YY as m,ZY as bJ}from"./cli-0.5.8-zkn5gecs.mjs";import{_Y as b0}from"./cli-0.5.8-6epmns99.mjs";import{V1 as ez,t1 as tY}from"./cli-0.5.8-rddkqxh8.mjs";import{Y3 as $0,Z3 as Cz}from"./cli-0.5.8-4rgg1zqd.mjs";import{B7 as r0,D7 as tz,E6 as yY,Hba as fJ,Kba as l0,Sba as mY,W6 as Mz}from"./cli-0.5.8-qf19nfhv.mjs";import{Xba as S0,Yba as Hz,_ba as G0,jca as zY,kca as c0,nca as I0}from"./cli-0.5.8-5h92528m.mjs";import{mea as $,oea as Nz}from"./cli-0.5.8-9fpm1ms3.mjs";import{Uea as oY,Yea as sz,ofa as CJ,rfa as oz}from"./cli-0.5.8-xs1gy1tk.mjs";import{Jla as TY,Sha as wY,Yha as H0}from"./cli-0.5.8-bhc8vwxd.mjs";import{vna as UZ,zna as XZ}from"./cli-0.5.8-hkfwdsmy.mjs";function QY(Z){let J=HY.c(33),{log:K,onExit:B,onSelect:G}=Z,[Q,v]=L0.default.useState(null),F,T;if(J[0]!==K)F=()=>{if(v(null),GZ(K))X0(K).then(v)},T=[K],J[0]=K,J[1]=F,J[2]=T;else F=J[1],T=J[2];L0.default.useEffect(F,T);let i=GZ(K)&&Q===null,X=Q??K,W;if(J[3]!==X)W=XJ(X)||"",J[3]=X,J[4]=W;else W=J[4];let O=W,S;if(J[5]===Symbol.for("react.memo_cache_sentinel"))S=GY(),J[5]=S;else S=J[5];let C=S,JJ;if(J[6]===Symbol.for("react.memo_cache_sentinel"))JJ={context:"Confirmation"},J[6]=JJ;else JJ=J[6];$J("confirm:no",B,JJ);let L;if(J[7]!==Q||J[8]!==K||J[9]!==G)L=()=>{G(Q??K)},J[7]=Q,J[8]=K,J[9]=G,J[10]=L;else L=J[10];let f=L,E;if(J[11]===Symbol.for("react.memo_cache_sentinel"))E={context:"Confirmation"},J[11]=E;else E=J[11];if($J("confirm:yes",f,E),i){let c;if(J[12]===Symbol.for("react.memo_cache_sentinel"))c=U(qY,{message:"Loading session…"}),J[12]=c;else c=J[12];let BJ;if(J[13]===Symbol.for("react.memo_cache_sentinel"))BJ=m(b,{flexDirection:"column",padding:1,children:[c,U(N,{dimColor:!0,children:U(NJ,{children:U(AJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})})})]}),J[13]=BJ;else BJ=J[13];return BJ}let y;if(J[14]===Symbol.for("react.memo_cache_sentinel"))y=[],J[14]=y;else y=J[14];let w,r;if(J[15]===Symbol.for("react.memo_cache_sentinel"))r=[],w=new Set,J[15]=w,J[16]=r;else w=J[15],r=J[16];let p;if(J[17]===Symbol.for("react.memo_cache_sentinel"))p=[],J[17]=p;else p=J[17];let l;if(J[18]!==O||J[19]!==X.messages)l=U(BY,{messages:X.messages,tools:C,commands:y,verbose:!0,toolJSX:null,toolUseConfirmQueue:r,inProgressToolUseIDs:w,isMessageSelectorVisible:!1,conversationId:O,screen:"transcript",streamingToolUses:p,showAllInTranscript:!0,isLoading:!1}),J[18]=O,J[19]=X.messages,J[20]=l;else l=J[20];let s;if(J[21]!==X.modified)s=zY(X.modified),J[21]=X.modified,J[22]=s;else s=J[22];let o=X.gitBranch?` · ${X.gitBranch}`:"",_;if(J[23]!==X.messageCount||J[24]!==s||J[25]!==o)_=m(N,{children:[s," ·"," ",X.messageCount," messages",o]}),J[23]=X.messageCount,J[24]=s,J[25]=o,J[26]=_;else _=J[26];let VJ;if(J[27]===Symbol.for("react.memo_cache_sentinel"))VJ=U(N,{dimColor:!0,children:m(NJ,{children:[U(UJ,{shortcut:"Enter",action:"resume"}),U(AJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}),J[27]=VJ;else VJ=J[27];let M;if(J[28]!==_)M=m(b,{flexShrink:0,flexDirection:"column",borderTopDimColor:!0,borderBottom:!1,borderLeft:!1,borderRight:!1,borderStyle:"single",paddingLeft:2,children:[_,VJ]}),J[28]=_,J[29]=M;else M=J[29];let jJ;if(J[30]!==l||J[31]!==M)jJ=m(b,{flexDirection:"column",children:[l,M]}),J[30]=l,J[31]=M,J[32]=jJ;else jJ=J[32];return jJ}var HY,L0;var OY=XZ(()=>{U0();KY();Gz();I0();V0();XY();VY();UY();qz();Bz();bJ();HY=UZ(f0(),1),L0=UZ(b0(),1)});function Dz(Z,J){if(Z===x0)return x0.length+qZ;let K=S0(Z),B=J?Math.min(K,J-qZ-_0):K;return Math.max(0,B)+qZ+_0}function kz(Z,J){let K=J-qZ-_0;if(S0(Z)<=K)return Z;if(K<=1)return Z.charAt(0);return G0(Z,K)}function NY({tabs:Z,selectedIndex:J,availableWidth:K,showAllProjects:B=!1}){let G=B?"Resume (All Projects)":"Resume",Q=G.length+1,v=Math.max(Oz,Pz),F=K-Q-v-2,T=Math.max(0,Math.min(J,Z.length-1)),i=Math.max(20,Math.floor(F/2)),X=Z.map((E)=>Dz(E,i)),W=0,O=Z.length;if(X.reduce((E,y,w)=>E+y+(w<X.length-1?1:0),0)>F){let E=F-Qz,y=X[T]??0;W=T,O=T+1;while(W>0||O<Z.length){let w=W>0,r=O<Z.length;if(w){let p=(X[W-1]??0)+1;if(y+p<=E){W--,y+=p;continue}}if(r){let p=(X[O]??0)+1;if(y+p<=E){O++,y+=p;continue}}break}}let C=W,JJ=Z.length-O,L=Z.slice(W,O),f=L.map((E,y)=>W+y);return m(b,{flexDirection:"row",gap:1,children:[U(N,{color:"suggestion",children:G}),C>0&&m(N,{dimColor:!0,children:[PY,C]}),L.map((E,y)=>{let r=f[y]===T,p=E===x0?E:`#${kz(E,i-qZ)}`;return m(N,{backgroundColor:r?"suggestion":void 0,color:r?"inverseText":void 0,bold:r,children:[" ",p," "]},E)}),JJ>0?m(N,{dimColor:!0,children:[DY,JJ,kY]}):U(N,{dimColor:!0,children:WY})]})}var x0="All",qZ=2,_0=1,PY="← ",DY="→",kY=" (tab to cycle)",WY="(tab to cycle)",vY=2,Qz,Oz,Pz;var CY=XZ(()=>{Hz();U0();I0();bJ();Qz=PY.length+vY+1,Oz=DY.length+vY+kY.length,Pz=WY.length});function EY(Z){let J=RY.c(48),{nodes:K,onSelect:B,onCancel:G,onFocus:Q,focusNodeId:v,visibleOptionCount:F,layout:T,isDisabled:i,hideIndexes:X,isNodeExpanded:W,onExpand:O,onCollapse:S,getParentPrefix:C,getChildPrefix:JJ,onUpFromFirstItem:L}=Z,f=T===void 0?"expanded":T,E=i===void 0?!1:i,y=X===void 0?!1:X,w;if(J[0]===Symbol.for("react.memo_cache_sentinel"))w=new Set,J[0]=w;else w=J[0];let[r,p]=q0.default.useState(w),l=q0.default.useRef(!1),s=q0.default.useRef(null),o;if(J[1]!==r||J[2]!==W)o=(H)=>{if(W)return W(H);return r.has(H)},J[1]=r,J[2]=W,J[3]=o;else o=J[3];let _=o,VJ;if(J[4]!==_||J[5]!==K){let H=function(k,qJ,TJ){let xJ=!!k.children&&k.children.length>0,_J=_(k.id);if(VJ.push({node:k,depth:qJ,isExpanded:_J,hasChildren:xJ,parentId:TJ}),xJ&&_J&&k.children)for(let V of k.children)H(V,qJ+1,k.id)};VJ=[];for(let k of K)H(k,0);J[4]=_,J[5]=K,J[6]=VJ}else VJ=J[6];let M=VJ,jJ=vz,c=Wz,BJ=C??jJ,d=JJ??c,cJ;if(J[7]!==d||J[8]!==BJ)cJ=(H)=>{let k="";if(H.hasChildren)k=BJ(H.isExpanded);else if(H.depth>0)k=d(H.depth);return k+H.node.label},J[7]=d,J[8]=BJ,J[9]=cJ;else cJ=J[9];let n=cJ,gJ;if(J[10]!==n||J[11]!==M)gJ=M.map((H)=>({label:n(H),description:H.node.description,dimDescription:H.node.dimDescription??!0,value:H.node.id})),J[10]=n,J[11]=M,J[12]=gJ;else gJ=J[12];let FJ=gJ,MJ;if(J[13]!==M)MJ=new Map,M.forEach((H)=>MJ.set(H.node.id,H.node)),J[13]=M,J[14]=MJ;else MJ=J[14];let g=MJ,HJ;if(J[15]!==M)HJ=(H)=>M.find((k)=>k.node.id===H),J[15]=M,J[16]=HJ;else HJ=J[16];let QJ=HJ,iJ;if(J[17]!==QJ||J[18]!==S||J[19]!==O)iJ=(H,k)=>{let qJ=QJ(H);if(!qJ||!qJ.hasChildren)return;if(k)if(O)O(H);else p((TJ)=>new Set(TJ).add(H));else if(S)S(H);else p((TJ)=>{let xJ=new Set(TJ);return xJ.delete(H),xJ})},J[17]=QJ,J[18]=S,J[19]=O,J[20]=iJ;else iJ=J[20];let OJ=iJ,GJ;if(J[21]!==QJ||J[22]!==v||J[23]!==E||J[24]!==g||J[25]!==Q||J[26]!==OJ)GJ=(H)=>{if(!v||E)return;let k=QJ(v);if(!k)return;if(H.key==="right"&&k.hasChildren)H.preventDefault(),OJ(v,!0);else if(H.key==="left"){if(k.hasChildren&&k.isExpanded)H.preventDefault(),OJ(v,!1);else if(k.parentId!==void 0){if(H.preventDefault(),l.current=!0,OJ(k.parentId,!1),Q){let qJ=g.get(k.parentId);if(qJ)Q(qJ)}}}},J[21]=QJ,J[22]=v,J[23]=E,J[24]=g,J[25]=Q,J[26]=OJ,J[27]=GJ;else GJ=J[27];let rJ=GJ,PJ;if(J[28]!==g||J[29]!==B)PJ=(H)=>{let k=g.get(H);if(!k)return;B(k)},J[28]=g,J[29]=B,J[30]=PJ;else PJ=J[30];let wJ=PJ,ZJ;if(J[31]!==g||J[32]!==Q)ZJ=(H)=>{if(l.current){l.current=!1;return}if(s.current===H)return;if(s.current=H,Q){let k=g.get(H);if(k)Q(k)}},J[31]=g,J[32]=Q,J[33]=ZJ;else ZJ=J[33];let lJ=ZJ,P;if(J[34]!==v||J[35]!==wJ||J[36]!==lJ||J[37]!==y||J[38]!==E||J[39]!==f||J[40]!==G||J[41]!==L||J[42]!==FJ||J[43]!==F)P=U(B0,{options:FJ,onChange:wJ,onFocus:lJ,onCancel:G,defaultFocusValue:v,visibleOptionCount:F,layout:f,isDisabled:E,hideIndexes:y,onUpFromFirstItem:L}),J[34]=v,J[35]=wJ,J[36]=lJ,J[37]=y,J[38]=E,J[39]=f,J[40]=G,J[41]=L,J[42]=FJ,J[43]=F,J[44]=P;else P=J[44];let h;if(J[45]!==rJ||J[46]!==P)h=U(b,{tabIndex:0,autoFocus:!0,onKeyDown:rJ,children:P}),J[45]=rJ,J[46]=P,J[47]=h;else h=J[47];return h}function Wz(Z){return" ▸ "}function vz(Z){return Z?"▼ ":"▶ "}var RY,q0;var AY=XZ(()=>{U0();MY();bJ();RY=UZ(f0(),1),q0=UZ(b0(),1)});function rY(Z,J){let K=Z.replace(/\s+/g," ").trim();return G0(K,J)}function p0({before:Z,match:J,after:K},B){return $0.dim(Z)+B(J)+$0.dim(K)}function Sz(Z,J,K){let B=Z.toLowerCase().indexOf(J.toLowerCase());if(B===-1)return null;let G=B+J.length,Q=Math.max(0,B-K),v=Math.min(Z.length,G+K),F=Z.slice(Q,B),T=Z.slice(B,G),i=Z.slice(G,v);return{before:(Q>0?"…":"")+F.replace(/\s+/g," ").trimStart(),match:T.trim(),after:i.replace(/\s+/g," ").trimEnd()+(v<Z.length?"…":"")}}function u0(Z,J,K){let{isGroupHeader:B=!1,isChild:G=!1,forkCount:Q=0}=K||{},v=B&&Q>0?Iz:G?bz:0,F=B&&Q>0?` (+${Q} other ${Q===1?"session":"sessions"})`:"",T=Z.isSidechain?" (sidechain)":"",i=J-v-T.length-F.length;return`${rY(fJ(Z),i)}${T}${F}`}function h0(Z,J){let{isChild:K=!1,showProjectPath:B=!1}=J||{},G=K?" ":"",Q=c0(Z),v=B&&Z.projectPath?` · ${Z.projectPath}`:"";return G+Q+v}function YU(Z){let J=iY.c(247),{logs:K,maxHeight:B,forceWidth:G,onCancel:Q,onSelect:v,onLogsChanged:F,onLoadMore:T,initialSearchQuery:i,showAllProjects:X,onToggleAllProjects:W,onAgenticSearch:O}=Z,S=B===void 0?1/0:B,C=X===void 0?!1:X,JJ=_Y(),L=G===void 0?JJ.columns:G,f=SY(Q),E=bY(),y;if(J[0]===Symbol.for("react.memo_cache_sentinel"))y=nY(),J[0]=y;else y=J[0];let w=y,r=!1,[p]=LY(),l;if(J[1]!==p)l=fY(p),J[1]=p,J[2]=l;else l=J[2];let s=l,o;if(J[3]!==s.warning)o=(Y)=>IY(Y,s.warning),J[3]=s.warning,J[4]=o;else o=J[4];let _=o,VJ=!1,[M,jJ]=R.default.useState(null),[c,BJ]=R.default.useState(!1),[d,cJ]=R.default.useState(!1),[n,gJ]=R.default.useState(!1),FJ;if(J[5]===Symbol.for("react.memo_cache_sentinel"))FJ=H0(),J[5]=FJ;else FJ=J[5];let MJ=FJ,[g,HJ]=R.default.useState(""),[QJ,iJ]=R.default.useState(0),OJ;if(J[6]===Symbol.for("react.memo_cache_sentinel"))OJ=new Set,J[6]=OJ;else OJ=J[6];let[GJ,rJ]=R.default.useState(OJ),[PJ,wJ]=R.default.useState(null),[ZJ,lJ]=R.default.useState(1),[P,h]=R.default.useState("list"),[H,k]=R.default.useState(null),qJ=R.default.useRef(null),[TJ,xJ]=R.default.useState(0),_J;if(J[7]===Symbol.for("react.memo_cache_sentinel"))_J={status:"idle"},J[7]=_J;else _J=J[7];let[V,VZ]=R.default.useState(_J),[t,BZ]=R.default.useState(!1),HZ=R.default.useRef(null),Q0=P==="search"&&V.status!=="searching",QZ,OZ,PZ;if(J[8]===Symbol.for("react.memo_cache_sentinel"))QZ=()=>{h("list"),$("tengu_session_search_toggled",{enabled:!1})},OZ=()=>{h("list"),$("tengu_session_search_toggled",{enabled:!1})},PZ=["n"],J[8]=QZ,J[9]=OZ,J[10]=PZ;else QZ=J[8],OZ=J[9],PZ=J[10];let O0=i||"",DZ;if(J[11]!==O0||J[12]!==Q0)DZ={isActive:Q0,onExit:QZ,onExitUp:OZ,passthroughCtrlKeys:PZ,initialQuery:O0},J[11]=O0,J[12]=Q0,J[13]=DZ;else DZ=J[13];let{query:A,setQuery:dJ,cursorOffset:P0}=cY(DZ),yJ=R.default.useDeferredValue(A),[YJ,d0]=R.default.useState(""),kZ,WZ;if(J[14]!==yJ)kZ=()=>{if(!yJ){d0("");return}let Y=setTimeout(d0,300,yJ);return()=>clearTimeout(Y)},WZ=[yJ],J[14]=yJ,J[15]=kZ,J[16]=WZ;else kZ=J[15],WZ=J[16];R.default.useEffect(kZ,WZ);let[mJ,n0]=R.default.useState(null),[D0,a0]=R.default.useState(!1),vZ,NZ;if(J[17]===Symbol.for("react.memo_cache_sentinel"))vZ=()=>{yY().then((Y)=>jJ(Y)),gY(MJ).then((Y)=>{gJ(Y.length>1)})},NZ=[MJ],J[17]=vZ,J[18]=NZ;else vZ=J[17],NZ=J[18];R.default.useEffect(vZ,NZ);let XK=new Map(K.map(iz)),Yz;Yz=null;let CZ;if(J[19]!==K)CZ=nz(K),J[19]=K,J[20]=CZ;else CZ=J[20];let SJ=CZ,DJ=SJ.length>0,MZ;if(J[21]!==DJ||J[22]!==SJ)MZ=DJ?["All",...SJ]:[],J[21]=DJ,J[22]=SJ,J[23]=MZ;else MZ=J[23];let zJ=MZ,RZ=zJ.length>0&&TJ<zJ.length?TJ:0,s0=zJ[RZ],nJ=s0==="All"?void 0:s0,zz=DJ?1:0,a=K;if(w){let Y;if(J[24]!==K)Y=K.filter(gz),J[24]=K,J[25]=Y;else Y=J[25];a=Y}if(nJ!==void 0){let Y;if(J[26]!==a||J[27]!==nJ){let z;if(J[29]!==nJ)z=(q)=>q.tag===nJ,J[29]=nJ,J[30]=z;else z=J[30];Y=a.filter(z),J[26]=a,J[27]=nJ,J[28]=Y}else Y=J[28];a=Y}if(c&&M){let Y;if(J[31]!==M||J[32]!==a){let z;if(J[34]!==M)z=(q)=>q.gitBranch===M,J[34]=M,J[35]=z;else z=J[35];Y=a.filter(z),J[31]=M,J[32]=a,J[33]=Y}else Y=J[33];a=Y}if(n&&!d){let Y;if(J[36]!==a){let z;if(J[38]===Symbol.for("react.memo_cache_sentinel"))z=(q)=>q.projectPath===MJ,J[38]=z;else z=J[38];Y=a.filter(z),J[36]=a,J[37]=Y}else Y=J[37];a=Y}let EZ=a,k0;J:{if(!A){k0=EZ;break J}let Y;if(J[39]!==EZ||J[40]!==A){let z=A.toLowerCase();Y=EZ.filter((q)=>{let j=fJ(q).toLowerCase(),x=(q.gitBranch||"").toLowerCase(),u=(q.tag||"").toLowerCase(),hJ=q.prNumber?`pr #${q.prNumber} ${q.prRepository||""}`.toLowerCase():"";return j.includes(z)||x.includes(z)||u.includes(z)||hJ.includes(z)}),J[39]=EZ,J[40]=A,J[41]=Y}else Y=J[41];k0=Y}let W0=k0,AZ,jZ;if(J[42]!==YJ||J[43]!==yJ)AZ=()=>{},jZ=[yJ,YJ,!1],J[42]=YJ,J[43]=yJ,J[44]=AZ,J[45]=jZ;else AZ=J[44],jZ=J[45];R.default.useEffect(AZ,jZ);let FZ,wZ;if(J[46]!==YJ)FZ=()=>{n0(null),a0(!1);return},wZ=[YJ,null,!1],J[46]=YJ,J[47]=FZ,J[48]=wZ;else FZ=J[47],wZ=J[48];R.default.useEffect(FZ,wZ);let e,pJ;if(J[49]!==YJ||J[50]!==mJ||J[51]!==W0){if(pJ=new Map,e=W0,mJ&&YJ&&mJ.query===YJ){for(let j of mJ.results)if(j.searchableText){let x=Sz(j.searchableText,YJ,_z);if(x)pJ.set(j.log,x)}let Y;if(J[54]!==e)Y=new Set(e.map(uz)),J[54]=e,J[55]=Y;else Y=J[55];let z=Y,q;if(J[56]!==mJ.results||J[57]!==e||J[58]!==z){let j;if(J[60]!==z)j=(u)=>!z.has(u.messages[0]?.uuid),J[60]=z,J[61]=j;else j=J[61];let x=mJ.results.map(pz).filter(j);q=[...e,...x],J[56]=mJ.results,J[57]=e,J[58]=z,J[59]=q}else q=J[59];e=q}J[49]=YJ,J[50]=mJ,J[51]=W0,J[52]=e,J[53]=pJ}else e=J[52],pJ=J[53];let TZ;if(J[62]!==e||J[63]!==pJ)TZ={filteredLogs:e,snippets:pJ},J[62]=e,J[63]=pJ,J[64]=TZ;else TZ=J[64];let{filteredLogs:uJ,snippets:RJ}=TZ,v0;J:{if(V.status==="results"&&V.results.length>0){v0=V.results;break J}v0=uJ}let D=v0,kJ=Math.max(30,L-4),N0;J:{if(!w){let z;if(J[65]===Symbol.for("react.memo_cache_sentinel"))z=[],J[65]=z;else z=J[65];N0=z;break J}let Y;if(J[66]!==D||J[67]!==_||J[68]!==kJ||J[69]!==C||J[70]!==RJ){let z=dz(D);Y=Array.from(z.entries()).map((q)=>{let[j,x]=q,u=x[0],hJ=D.indexOf(u),LJ=RJ.get(u),EJ=LJ?p0(LJ,_):null;if(x.length===1){let IJ=h0(u,{showProjectPath:C});return{id:`log:${j}:0`,value:{log:u,indexInFiltered:hJ},label:u0(u,kJ),description:EJ?`${IJ}
2
- ${EJ}`:IJ,dimDescription:!0}}let z0=x.length-1,K0=x.slice(1).map((IJ,Xz)=>{let Vz=D.indexOf(IJ),JY=RJ.get(IJ),ZY=JY?p0(JY,_):null,YY=h0(IJ,{isChild:!0,showProjectPath:C});return{id:`log:${j}:${Xz+1}`,value:{log:IJ,indexInFiltered:Vz},label:u0(IJ,kJ,{isChild:!0}),description:ZY?`${YY}
3
- ${ZY}`:YY,dimDescription:!0}}),e0=h0(u,{showProjectPath:C});return{id:`group:${j}`,value:{log:u,indexInFiltered:hJ},label:u0(u,kJ,{isGroupHeader:!0,forkCount:z0}),description:EJ?`${e0}
4
- ${EJ}`:e0,dimDescription:!0,children:K0}}),J[66]=D,J[67]=_,J[68]=kJ,J[69]=C,J[70]=RJ,J[71]=Y}else Y=J[71];N0=Y}let WJ=N0,C0;J:{if(w){let z;if(J[72]===Symbol.for("react.memo_cache_sentinel"))z=[],J[72]=z;else z=J[72];C0=z;break J}let Y;if(J[73]!==D||J[74]!==_||J[75]!==kJ||J[76]!==C||J[77]!==RJ){let z;if(J[79]!==_||J[80]!==kJ||J[81]!==C||J[82]!==RJ)z=(q,j)=>{let u=fJ(q)+(q.isSidechain?" (sidechain)":""),hJ=rY(u,kJ),LJ=c0(q),EJ=C&&q.projectPath?` · ${q.projectPath}`:"",z0=RJ.get(q),K0=z0?p0(z0,_):null;return{label:hJ,description:K0?`${LJ}${EJ}
5
- ${K0}`:LJ+EJ,dimDescription:!0,value:j.toString()}},J[79]=_,J[80]=kJ,J[81]=C,J[82]=RJ,J[83]=z;else z=J[83];Y=D.map(z),J[73]=D,J[74]=_,J[75]=kJ,J[76]=C,J[77]=RJ,J[78]=Y}else Y=J[78];C0=Y}let M0=C0,I=PJ?.value.log??null,yZ;if(J[84]!==D||J[85]!==GJ||J[86]!==I)yZ=()=>{if(!w||!I)return"";let Y=XJ(I);if(!Y)return"";let z=D.filter((u)=>XJ(u)===Y);if(!(z.length>1))return"";let j=GJ.has(Y);if(z.indexOf(I)>0)return"← to collapse";return j?"← to collapse":"→ to expand"},J[84]=D,J[85]=GJ,J[86]=I,J[87]=yZ;else yZ=J[87];let mZ=yZ,LZ;if(J[88]!==I||J[89]!==F||J[90]!==g)LZ=async()=>{let Y=I?XJ(I):void 0;if(!I||!Y){h("list"),HJ("");return}if(g.trim()){if(await dY(Y,g.trim(),I.fullPath),w&&F)F()}h("list"),HJ("")},J[88]=I,J[89]=F,J[90]=g,J[91]=LZ;else LZ=J[91];let R0=LZ,IZ;if(J[92]===Symbol.for("react.memo_cache_sentinel"))IZ=()=>{h("list"),$("tengu_session_search_toggled",{enabled:!1})},J[92]=IZ;else IZ=J[92];let Kz=IZ,bZ;if(J[93]===Symbol.for("react.memo_cache_sentinel"))bZ=()=>{h("search"),$("tengu_session_search_toggled",{enabled:!0})},J[93]=bZ;else bZ=J[93];let o0=bZ,fZ;if(J[94]!==K||J[95]!==O||J[96]!==A)fZ=async()=>{A.trim();return},J[94]=K,J[95]=O,J[96]=A,J[97]=fZ;else fZ=J[97];let E0=fZ,xZ;if(J[98]!==V.query||J[99]!==V.status||J[100]!==A)xZ=()=>{if(V.status!=="idle"&&V.status!=="searching"){if(V.status==="results"&&V.query!==A||V.status==="error")VZ({status:"idle"})}},J[98]=V.query,J[99]=V.status,J[100]=A,J[101]=xZ;else xZ=J[101];let _Z;if(J[102]!==V||J[103]!==A)_Z=[A,V],J[102]=V,J[103]=A,J[104]=_Z;else _Z=J[104];R.default.useEffect(xZ,_Z);let SZ,pZ;if(J[105]===Symbol.for("react.memo_cache_sentinel"))SZ=()=>()=>{HZ.current?.abort()},pZ=[],J[105]=SZ,J[106]=pZ;else SZ=J[105],pZ=J[106];R.default.useEffect(SZ,pZ);let t0=R.default.useRef(V.status),uZ;if(J[107]!==V.status||J[108]!==D[0]||J[109]!==D.length||J[110]!==WJ)uZ=()=>{let Y=t0.current;if(t0.current=V.status,Y==="searching"&&V.status==="results"){if(w&&WJ.length>0)wJ(WJ[0]);else if(!w&&D.length>0){let z=D[0];wJ({id:"0",value:{log:z,indexInFiltered:0},label:""})}}},J[107]=V.status,J[108]=D[0],J[109]=D.length,J[110]=WJ,J[111]=uZ;else uZ=J[111];let hZ;if(J[112]!==V.status||J[113]!==D||J[114]!==WJ)hZ=[V.status,w,WJ,D],J[112]=V.status,J[113]=D,J[114]=WJ,J[115]=hZ;else hZ=J[115];R.default.useEffect(uZ,hZ);let $Z;if(J[116]!==D)$Z=(Y)=>{let z=parseInt(Y,10),q=D[z];if(!q||qJ.current===z.toString())return;qJ.current=z.toString(),wJ({id:z.toString(),value:{log:q,indexInFiltered:z},label:""}),lJ(z+1)},J[116]=D,J[117]=$Z;else $Z=J[117];let A0=$Z,cZ;if(J[118]!==D)cZ=(Y)=>{wJ(Y);let z=D.findIndex((q)=>XJ(q)===XJ(Y.value.log));if(z>=0)lJ(z+1)},J[118]=D,J[119]=cZ;else cZ=J[119];let j0=cZ,gZ;if(J[120]===Symbol.for("react.memo_cache_sentinel"))gZ=()=>{HZ.current?.abort(),VZ({status:"idle"}),$("tengu_agentic_search_cancelled",{})},J[120]=gZ;else gZ=J[120];let F0=P!=="preview"&&V.status==="searching",iZ;if(J[121]!==F0)iZ={context:"Confirmation",isActive:F0},J[121]=F0,J[122]=iZ;else iZ=J[122];$J("confirm:no",gZ,iZ);let rZ;if(J[123]===Symbol.for("react.memo_cache_sentinel"))rZ=()=>{h("list"),HJ("")},J[123]=rZ;else rZ=J[123];let w0=P==="rename"&&V.status!=="searching",lZ;if(J[124]!==w0)lZ={context:"Settings",isActive:w0},J[124]=w0,J[125]=lZ;else lZ=J[125];$J("confirm:no",rZ,lZ);let dZ;if(J[126]!==Q||J[127]!==dJ)dZ=()=>{dJ(""),BZ(!1),Q?.()},J[126]=Q,J[127]=dJ,J[128]=dZ;else dZ=J[128];let T0=P!=="preview"&&P!=="rename"&&P!=="search"&&t&&V.status!=="searching",nZ;if(J[129]!==T0)nZ={context:"Confirmation",isActive:T0},J[129]=T0,J[130]=nZ;else nZ=J[130];$J("confirm:no",dZ,nZ);let aZ;if(J[131]!==V.status||J[132]!==c||J[133]!==I||J[134]!==E0||J[135]!==n||J[136]!==DJ||J[137]!==t||J[138]!==O||J[139]!==W||J[140]!==A||J[141]!==dJ||J[142]!==C||J[143]!==d||J[144]!==zJ||J[145]!==SJ||J[146]!==P)aZ=(Y,z)=>{if(P==="preview")return;if(V.status==="searching")return;if(P==="rename");else if(P==="search"){if(Y.toLowerCase()==="n"&&z.ctrl)Kz();else if(z.return||z.downArrow)A.trim()}else{if(t){if(z.return){E0(),BZ(!1);return}else if(z.downArrow){BZ(!1);return}else if(z.upArrow){h("search"),BZ(!1);return}}if(DJ&&z.tab){let x=z.shift?-1:1;xJ((u)=>{let LJ=((u<zJ.length?u:0)+zJ.length+x)%zJ.length,EJ=zJ[LJ];return $("tengu_session_tag_filter_changed",{is_all:EJ==="All",tag_count:SJ.length}),LJ});return}let q=!z.ctrl&&!z.meta,j=Y.toLowerCase();if(j==="a"&&z.ctrl&&W)W(),$("tengu_session_all_projects_toggled",{enabled:!C});else if(j==="b"&&z.ctrl){let x=!c;BJ(x),$("tengu_session_branch_filter_toggled",{enabled:x})}else if(j==="w"&&z.ctrl&&n){let x=!d;cJ(x),$("tengu_session_worktree_filter_toggled",{enabled:x})}else if(j==="/"&&q)h("search"),$("tengu_session_search_toggled",{enabled:!0});else if(j==="r"&&z.ctrl&&I)h("rename"),HJ(""),$("tengu_session_rename_started",{});else if(j==="v"&&z.ctrl&&I)k(I),h("preview"),$("tengu_session_preview_opened",{messageCount:I.messageCount});else if(I&&q&&Y.length>0&&!/^\s+$/.test(Y))h("search"),dJ(Y),$("tengu_session_search_toggled",{enabled:!0})}},J[131]=V.status,J[132]=c,J[133]=I,J[134]=E0,J[135]=n,J[136]=DJ,J[137]=t,J[138]=O,J[139]=W,J[140]=A,J[141]=dJ,J[142]=C,J[143]=d,J[144]=zJ,J[145]=SJ,J[146]=P,J[147]=aZ;else aZ=J[147];let sZ;if(J[148]===Symbol.for("react.memo_cache_sentinel"))sZ={isActive:!0},J[148]=sZ;else sZ=J[148];xY(aZ,sZ);let vJ;if(J[149]!==c||J[150]!==M||J[151]!==n||J[152]!==d){if(vJ=[],c&&M)vJ.push(M);if(n&&!d)vJ.push("current worktree");J[149]=c,J[150]=M,J[151]=n,J[152]=d,J[153]=vJ}else vJ=J[153];let Uz=8+(vJ.length>0&&P!=="search"?1:0)+zz,KJ=Math.max(1,Math.floor((S-Uz-2)/3)),oZ,tZ;if(J[154]!==D.length||J[155]!==ZJ||J[156]!==T||J[157]!==KJ)oZ=()=>{if(!T)return;let Y=KJ*2;if(ZJ+Y>=D.length)T(KJ*3)},tZ=[ZJ,KJ,D.length,T],J[154]=D.length,J[155]=ZJ,J[156]=T,J[157]=KJ,J[158]=oZ,J[159]=tZ;else oZ=J[158],tZ=J[159];if(R.default.useEffect(oZ,tZ),K.length===0)return null;if(P==="preview"&&H&&w){let Y;if(J[160]===Symbol.for("react.memo_cache_sentinel"))Y=()=>{h("list"),k(null)},J[160]=Y;else Y=J[160];let z;if(J[161]!==v||J[162]!==H)z=U(QY,{log:H,onExit:Y,onSelect:v}),J[161]=v,J[162]=H,J[163]=z;else z=J[163];return z}let y0=S-1,eZ;if(J[164]===Symbol.for("react.memo_cache_sentinel"))eZ=U(b,{flexShrink:0,children:U(pY,{color:"suggestion"})}),J[164]=eZ;else eZ=J[164];let J0;if(J[165]===Symbol.for("react.memo_cache_sentinel"))J0=U(b,{flexShrink:0,children:U(N,{children:" "})}),J[165]=J0;else J0=J[165];let aJ;if(J[166]!==L||J[167]!==D.length||J[168]!==RZ||J[169]!==ZJ||J[170]!==DJ||J[171]!==C||J[172]!==zJ||J[173]!==P||J[174]!==KJ)aJ=DJ?U(NY,{tabs:zJ,selectedIndex:RZ,availableWidth:L,showAllProjects:C}):U(b,{flexShrink:0,children:m(N,{bold:!0,color:"suggestion",children:["Resume Session",P==="list"&&D.length>KJ&&m(N,{dimColor:!0,children:[" ","(",ZJ," of ",D.length,")"]})]})}),J[166]=L,J[167]=D.length,J[168]=RZ,J[169]=ZJ,J[170]=DJ,J[171]=C,J[172]=zJ,J[173]=P,J[174]=KJ,J[175]=aJ;else aJ=J[175];let m0=P==="search",sJ;if(J[176]!==E||J[177]!==P0||J[178]!==A||J[179]!==m0)sJ=U($Y,{query:A,isFocused:m0,isTerminalFocused:E,cursorOffset:P0}),J[176]=E,J[177]=P0,J[178]=A,J[179]=m0,J[180]=sJ;else sJ=J[180];let oJ;if(J[181]!==vJ||J[182]!==P)oJ=vJ.length>0&&P!=="search"&&U(b,{flexShrink:0,paddingLeft:2,children:U(N,{dimColor:!0,children:U(NJ,{children:vJ})})}),J[181]=vJ,J[182]=P,J[183]=oJ;else oJ=J[183];let Z0;if(J[184]===Symbol.for("react.memo_cache_sentinel"))Z0=U(b,{flexShrink:0,children:U(N,{children:" "})}),J[184]=Z0;else Z0=J[184];let tJ;if(J[185]!==V.status)tJ=V.status==="searching"&&m(b,{paddingLeft:1,flexShrink:0,children:[U(hY,{}),U(N,{children:" Searching…"})]}),J[185]=V.status,J[186]=tJ;else tJ=J[186];let eJ;if(J[187]!==V.results||J[188]!==V.status)eJ=V.status==="results"&&V.results.length>0&&U(b,{paddingLeft:1,marginBottom:1,flexShrink:0,children:U(N,{dimColor:!0,italic:!0,children:"Claude found these results:"})}),J[187]=V.results,J[188]=V.status,J[189]=eJ;else eJ=J[189];let JZ;if(J[190]!==V.results||J[191]!==V.status||J[192]!==uJ)JZ=V.status==="results"&&V.results.length===0&&uJ.length===0&&U(b,{paddingLeft:1,marginBottom:1,flexShrink:0,children:U(N,{dimColor:!0,italic:!0,children:"No matching sessions found."})}),J[190]=V.results,J[191]=V.status,J[192]=uJ,J[193]=JZ;else JZ=J[193];let ZZ;if(J[194]!==V.status||J[195]!==uJ)ZZ=V.status==="error"&&uJ.length===0&&U(b,{paddingLeft:1,marginBottom:1,flexShrink:0,children:U(N,{dimColor:!0,italic:!0,children:"No matching sessions found."})}),J[194]=V.status,J[195]=uJ,J[196]=ZZ;else ZZ=J[196];let YZ;if(J[197]!==V.status||J[198]!==t||J[199]!==O||J[200]!==A)YZ=Boolean(A.trim())&&O&&!1,J[197]=V.status,J[198]=t,J[199]=O,J[200]=A,J[201]=YZ;else YZ=J[201];let zZ;if(J[202]!==V.status||J[203]!==c||J[204]!==L||J[205]!==D||J[206]!==GJ||J[207]!==M0||J[208]!==I||J[209]!==PJ?.id||J[210]!==A0||J[211]!==R0||J[212]!==j0||J[213]!==t||J[214]!==Q||J[215]!==v||J[216]!==QJ||J[217]!==g||J[218]!==WJ||J[219]!==P||J[220]!==KJ)zZ=V.status==="searching"?null:P==="rename"&&I?m(b,{paddingLeft:2,flexDirection:"column",children:[U(N,{bold:!0,children:"Rename session:"}),U(b,{paddingTop:1,children:U(uY,{value:g,onChange:HJ,onSubmit:R0,placeholder:fJ(I,"Enter new session name"),columns:L,cursorOffset:QJ,onChangeCursorOffset:iJ,showCursor:!0})})]}):w?U(EY,{nodes:WJ,onSelect:(Y)=>{v(Y.value.log)},onFocus:j0,onCancel:Q,focusNodeId:PJ?.id,visibleOptionCount:KJ,layout:"expanded",isDisabled:P==="search"||t,hideIndexes:!1,isNodeExpanded:(Y)=>{if(P==="search"||c)return!0;let z=typeof Y==="string"&&Y.startsWith("group:")?Y.substring(6):null;return z?GJ.has(z):!1},onExpand:(Y)=>{let z=typeof Y==="string"&&Y.startsWith("group:")?Y.substring(6):null;if(z)rJ((q)=>new Set(q).add(z)),$("tengu_session_group_expanded",{})},onCollapse:(Y)=>{let z=typeof Y==="string"&&Y.startsWith("group:")?Y.substring(6):null;if(z)rJ((q)=>{let j=new Set(q);return j.delete(z),j})},onUpFromFirstItem:o0}):U(B0,{options:M0,onChange:(Y)=>{let z=parseInt(Y,10),q=D[z];if(q)v(q)},visibleOptionCount:KJ,onCancel:Q,onFocus:A0,defaultFocusValue:PJ?.id.toString(),layout:"expanded",isDisabled:P==="search"||t,onUpFromFirstItem:o0}),J[202]=V.status,J[203]=c,J[204]=L,J[205]=D,J[206]=GJ,J[207]=M0,J[208]=I,J[209]=PJ?.id,J[210]=A0,J[211]=R0,J[212]=j0,J[213]=t,J[214]=Q,J[215]=v,J[216]=QJ,J[217]=g,J[218]=WJ,J[219]=P,J[220]=KJ,J[221]=zZ;else zZ=J[221];let KZ;if(J[222]!==V.status||J[223]!==M||J[224]!==f.keyName||J[225]!==f.pending||J[226]!==mZ||J[227]!==n||J[228]!==t||J[229]!==D0||J[230]!==W||J[231]!==C||J[232]!==d||J[233]!==P)KZ=U(b,{paddingLeft:2,children:f.pending?m(N,{dimColor:!0,children:["Press ",f.keyName," again to exit"]}):P==="rename"?U(N,{dimColor:!0,children:m(NJ,{children:[U(UJ,{shortcut:"Enter",action:"save"}),U(AJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}):V.status==="searching"?U(N,{dimColor:!0,children:m(NJ,{children:[U(N,{children:"Searching with Claude…"}),U(AJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}):t?U(N,{dimColor:!0,children:m(NJ,{children:[U(UJ,{shortcut:"Enter",action:"search"}),U(UJ,{shortcut:"↓",action:"skip"}),U(AJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})}):P==="search"?U(N,{dimColor:!0,children:m(NJ,{children:[U(N,{children:"Type to Search"}),U(UJ,{shortcut:"Enter",action:"select"}),U(AJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"clear"})]})}):U(N,{dimColor:!0,children:m(NJ,{children:[W&&U(UJ,{shortcut:"Ctrl+A",action:`show ${C?"current dir":"all projects"}`}),M&&U(UJ,{shortcut:"Ctrl+B",action:"toggle branch"}),n&&U(UJ,{shortcut:"Ctrl+W",action:`show ${d?"current worktree":"all worktrees"}`}),U(UJ,{shortcut:"Ctrl+V",action:"preview"}),U(UJ,{shortcut:"Ctrl+R",action:"rename"}),U(N,{children:"Type to search"}),U(AJ,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"}),mZ()&&U(N,{children:mZ()})]})})}),J[222]=V.status,J[223]=M,J[224]=f.keyName,J[225]=f.pending,J[226]=mZ,J[227]=n,J[228]=t,J[229]=D0,J[230]=W,J[231]=C,J[232]=d,J[233]=P,J[234]=KZ;else KZ=J[234];let Y0;if(J[235]!==y0||J[236]!==aJ||J[237]!==sJ||J[238]!==oJ||J[239]!==tJ||J[240]!==eJ||J[241]!==JZ||J[242]!==ZZ||J[243]!==YZ||J[244]!==zZ||J[245]!==KZ)Y0=m(b,{flexDirection:"column",height:y0,children:[eZ,J0,aJ,sJ,oJ,Z0,tJ,eJ,JZ,ZZ,YZ,zZ,KZ]}),J[235]=y0,J[236]=aJ,J[237]=sJ,J[238]=oJ,J[239]=tJ,J[240]=eJ,J[241]=JZ,J[242]=ZZ,J[243]=YZ,J[244]=zZ,J[245]=KZ,J[246]=Y0;else Y0=J[246];return Y0}function pz(Z){return Z.log}function uz(Z){return Z.messages[0]?.uuid}function hz(Z,J,K,B){let G=Z.search(J);G.sort(cz),K({results:G.map($z),query:J}),B(!1)}function $z(Z){return{log:Z.item.log,score:Z.score,searchableText:Z.item.searchableText}}function cz(Z,J){let K=new Date(Z.item.log.modified).getTime(),G=new Date(J.item.log.modified).getTime()-K;if(Math.abs(G)>xz)return G;return(Z.score??1)-(J.score??1)}function gz(Z){let J=wY(),K=XJ(Z);if(J&&K===J)return!0;if(Z.customTitle)return!0;if(lY(Z.messages))return!0;if(Z.firstPrompt||Z.customTitle)return!0;return!1}function iz(Z){return[Z,lz(Z)]}function rz(Z){if(Z.type!=="user"&&Z.type!=="assistant")return"";let J="message"in Z?Z.message?.content:void 0;if(!J)return"";if(typeof J==="string")return J;if(Array.isArray(J))return J.map((K)=>{if(typeof K==="string")return K;if("text"in K&&typeof K.text==="string")return K.text;return""}).filter(Boolean).join(" ");return""}function lz(Z){let K=(Z.messages.length<=fz?Z.messages:[...Z.messages.slice(0,jY),...Z.messages.slice(-jY)]).map(rz).filter(Boolean).join(" "),G=`${[Z.customTitle,Z.summary,Z.firstPrompt,Z.gitBranch,Z.tag,Z.prNumber?`PR #${Z.prNumber}`:void 0,Z.prRepository].filter(Boolean).join(" ")} ${K}`.trim();return G.length>FY?G.slice(0,FY):G}function dz(Z){let J=new Map;for(let K of Z){let B=XJ(K);if(B){let G=J.get(B);if(G)G.push(K);else J.set(B,[K])}}return J.forEach((K)=>K.sort((B,G)=>new Date(G.modified).getTime()-new Date(B.modified).getTime())),J}function nz(Z){let J=new Set;for(let K of Z)if(K.tag)J.add(K.tag);return Array.from(J).sort((K,B)=>K.localeCompare(B))}var iY,R,Iz=2,bz=4,fz=2000,jY=1000,FY=50000,xz=60000,_z=50;var az=XZ(()=>{Cz();TY();jz();mz();Az();Rz();U0();KY();Nz();I0();Lz();Mz();mY();V0();Ez();XY();MY();VY();Fz();UY();yz();OY();Tz();CY();wz();AY();bJ();iY=UZ(f0(),1),R=UZ(b0(),1)});function YK(Z){if(Z.type!=="user"&&Z.type!=="assistant")return"";let J="message"in Z?Z.message?.content:void 0;if(!J)return"";if(typeof J==="string")return J;if(Array.isArray(J))return J.map((K)=>{if(typeof K==="string")return K;if("text"in K&&typeof K.text==="string")return K.text;return""}).filter(Boolean).join(" ");return""}function Jz(Z){if(Z.length===0)return"";let K=(Z.length<=g0?Z:[...Z.slice(0,g0/2),...Z.slice(-g0/2)]).map(YK).filter(Boolean).join(" ").replace(/\s+/g," ").trim();return K.length>aY?K.slice(0,aY)+"…":K}function sY(Z,J){if(fJ(Z).toLowerCase().includes(J))return!0;if(Z.customTitle?.toLowerCase().includes(J))return!0;if(Z.tag?.toLowerCase().includes(J))return!0;if(Z.gitBranch?.toLowerCase().includes(J))return!0;if(Z.summary?.toLowerCase().includes(J))return!0;if(Z.firstPrompt?.toLowerCase().includes(J))return!0;if(Z.messages&&Z.messages.length>0){if(Jz(Z.messages).toLowerCase().includes(J))return!0}return!1}async function QU(Z,J,K){if(!Z.trim()||J.length===0)return[];let B=Z.toLowerCase(),G=J.filter((X)=>sY(X,B)),Q;if(G.length>=i0)Q=G.slice(0,i0);else{let X=J.filter((O)=>!sY(O,B)),W=i0-G.length;Q=[...G,...X.slice(0,W)]}CJ(`Agentic search: ${Q.length}/${J.length} logs, query="${Z}", matching: ${G.length}, with messages: ${r0(Q,(X)=>X.messages?.length>0)}`);let v=Q.map(async(X)=>{if(GZ(X))try{return await X0(X)}catch(W){return l0(W),X}return X}),F=await Promise.all(v);CJ(`Agentic search: loaded ${r0(F,(X)=>X.messages?.length>0)}/${Q.length} logs with transcripts`);let i=`Sessions:
6
- ${F.map((X,W)=>{let O=[`${W}:`],S=fJ(X);if(O.push(S),X.customTitle&&X.customTitle!==S)O.push(`[custom title: ${X.customTitle}]`);if(X.tag)O.push(`[tag: ${X.tag}]`);if(X.gitBranch)O.push(`[branch: ${X.gitBranch}]`);if(X.summary)O.push(`- Summary: ${X.summary}`);if(X.firstPrompt&&X.firstPrompt!=="No prompt")O.push(`- First message: ${X.firstPrompt.slice(0,300)}`);if(X.messages&&X.messages.length>0){let C=Jz(X.messages);if(C)O.push(`- Transcript: ${C}`)}return O.join(" ")}).join(`
7
- `)}
8
-
9
- Search query: "${Z}"
10
-
11
- Find the sessions that are most relevant to this query.`;CJ(`Agentic search prompt (first 500 chars): ${i.slice(0,500)}...`);try{let X=tY();CJ(`Agentic search using model: ${X}`);let O=(await eY({model:X,system:ZK,messages:[{role:"user",content:i}],signal:K,querySource:"session_search"})).content.find((f)=>f.type==="text");if(!O||O.type!=="text")return CJ("No text content in agentic search response"),[];CJ(`Agentic search response: ${O.text}`);let S=O.text.match(/\{[\s\S]*\}/);if(!S)return CJ("Could not find JSON in agentic search response"),[];let L=(oY(S[0]).relevant_indices||[]).filter((f)=>f>=0&&f<F.length).map((f)=>F[f]);return CJ(`Agentic search found ${L.length} relevant sessions`),L}catch(X){return l0(X),CJ(`Agentic search error: ${X}`),[]}}var aY=2000,g0=100,i0=100,ZK=`Your goal is to find relevant sessions based on a user's search query.
12
-
13
- You will be given a list of sessions with their metadata and a search query. Identify which sessions are most relevant to the query.
14
-
15
- Each session may include:
16
- - Title (display name or custom title)
17
- - Tag (user-assigned category, shown as [tag: name] - users tag sessions with /tag command to categorize them)
18
- - Branch (git branch name, shown as [branch: name])
19
- - Summary (AI-generated summary)
20
- - First message (beginning of the conversation)
21
- - Transcript (excerpt of conversation content)
22
-
23
- IMPORTANT: Tags are user-assigned labels that indicate the session's topic or category. If the query matches a tag exactly or partially, those sessions should be highly prioritized.
24
-
25
- For each session, consider (in order of priority):
26
- 1. Exact tag matches (highest priority - user explicitly categorized this session)
27
- 2. Partial tag matches or tag-related terms
28
- 3. Title matches (custom titles or first message content)
29
- 4. Branch name matches
30
- 5. Summary and transcript content matches
31
- 6. Semantic similarity and related concepts
32
-
33
- CRITICAL: Be VERY inclusive in your matching. Include sessions that:
34
- - Contain the query term anywhere in any field
35
- - Are semantically related to the query (e.g., "testing" matches sessions about "tests", "unit tests", "QA", etc.)
36
- - Discuss topics that could be related to the query
37
- - Have transcripts that mention the concept even in passing
38
-
39
- When in doubt, INCLUDE the session. It's better to return too many results than too few. The user can easily scan through results, but missing relevant sessions is frustrating.
40
-
41
- Return sessions ordered by relevance (most relevant first). If truly no sessions have ANY connection to the query, return an empty array - but this should be rare.
42
-
43
- Respond with ONLY the JSON object, no markdown formatting:
44
- {"relevant_indices": [2, 5, 0]}`;var zK=XZ(()=>{tz();oz();mY();ez();V0();JK();sz()});function WU(Z,J,K){let B=H0();if(!J||!Z.projectPath||Z.projectPath===B)return{isCrossProject:!1};let G=XJ(Z);return{isCrossProject:!0,isSameRepoWorktree:!1,command:`cd ${Zz([Z.projectPath])} && claude --resume ${G}`,projectPath:Z.projectPath}}var UK=XZ(()=>{TY();KK();V0()});
45
- export{YU as Ae,az as Be,QU as Ce,zK as De,WU as Ee,UK as Fe};
@@ -1,2 +0,0 @@
1
- import{Kba as U,Sba as m,d7 as F,h7 as f,m6 as K,n6 as E}from"./cli-0.5.8-qf19nfhv.mjs";import{yda as v,zda as x}from"./cli-0.5.8-w7g735pf.mjs";import{afa as D,efa as g}from"./cli-0.5.8-xs1gy1tk.mjs";import{zna as S}from"./cli-0.5.8-hkfwdsmy.mjs";import{basename as H,dirname as b,join as I,sep as O}from"path";function _(q,B){if(!q)return{directory:B||v(),prefix:""};let G=F(q,B);if(q.endsWith("/")||q.endsWith(O))return{directory:G,prefix:""};let N=b(G),J=H(q);return{directory:N,prefix:J}}async function k(q){let B=Z.get(q);if(B)return B;try{let J=(await D().readdir(q)).filter((M)=>M.isDirectory()&&!M.name.startsWith(".")).map((M)=>({name:M.name,path:I(q,M.name),type:"directory"})).slice(0,100);return Z.set(q,J),J}catch(G){return U(G),[]}}async function P(q,B={}){let{basePath:G=v(),maxResults:N=10}=B,{directory:J,prefix:M}=_(q,G),V=await k(J),z=M.toLowerCase();return V.filter((X)=>X.name.toLowerCase().startsWith(z)).slice(0,N).map((X)=>({id:X.path,displayText:X.name+"/",description:"directory",metadata:{type:"directory"}}))}function o(q){return q.startsWith("~/")||q.startsWith("/")||q.startsWith("./")||q.startsWith("../")||q==="~"||q==="."||q===".."}async function u(q,B=!1){let G=`${q}:${B}`,N=A.get(G);if(N)return N;try{let V=(await D().readdir(q)).filter((z)=>B||!z.name.startsWith(".")).map((z)=>({name:z.name,path:I(q,z.name),type:z.isDirectory()?"directory":"file"})).sort((z,W)=>{if(z.type==="directory"&&W.type!=="directory")return-1;if(z.type!=="directory"&&W.type==="directory")return 1;return z.name.localeCompare(W.name)}).slice(0,100);return A.set(G,V),V}catch(J){return U(J),[]}}async function h(q,B={}){let{basePath:G=v(),maxResults:N=10,includeFiles:J=!0,includeHidden:M=!1}=B,{directory:V,prefix:z}=_(q,G),W=await u(V,M),X=z.toLowerCase(),j=W.filter((Q)=>{if(!J&&Q.type==="file")return!1;return Q.name.toLowerCase().startsWith(X)}).slice(0,N),w=q.includes("/")||q.includes(O),Y="";if(w){let Q=q.lastIndexOf("/"),$=q.lastIndexOf(O),L=Math.max(Q,$);Y=q.substring(0,L+1)}if(Y.startsWith("./")||Y.startsWith("."+O))Y=Y.slice(2);return j.map((Q)=>{let $=Y+Q.name;return{id:$,displayText:Q.type==="directory"?$+"/":$,metadata:{type:Q.type}}})}var R=500,T=300000,Z,A;var C=S(()=>{E();x();g();m();f();Z=new K({max:R,ttl:T}),A=new K({max:R,ttl:T})});
2
- export{P as Wg,o as Xg,h as Yg,C as Zg};
@@ -1,2 +0,0 @@
1
- import{GU as y,HU as O}from"./cli-0.5.8-60e57smp.mjs";import{RW as h,TW as T,wX as H}from"./cli-0.5.8-nwe7yne9.mjs";import{XY as s,ZY as I}from"./cli-0.5.8-zkn5gecs.mjs";import{_Y as z}from"./cli-0.5.8-6epmns99.mjs";import{K5 as R,L5 as V}from"./cli-0.5.8-qf19nfhv.mjs";import{Xba as i,Yba as A,Zba as E,_ba as p,nca as U}from"./cli-0.5.8-5h92528m.mjs";import{vna as X,zna as q}from"./cli-0.5.8-hkfwdsmy.mjs";function J(o){if(o.startsWith("file-"))return"+";if(o.startsWith("mcp-resource-"))return"◇";if(o.startsWith("agent-"))return"*";return"+"}function K(o){return o.startsWith("file-")||o.startsWith("mcp-resource-")||o.startsWith("agent-")}function Z({suggestions:o,selectedSuggestion:t,maxColumnWidth:m,overlay:e}){let{rows:a}=y(),r=e?Y:Math.min(14,Math.max(1,a-2));if(o.length===0)return null;let u=m??Math.max(...o.map((n)=>i(n.displayText)))+5,l=Math.max(0,Math.min(t-Math.floor(r/2),o.length-r)),f=Math.min(l+r,o.length),d=o.slice(l,f);return s(h,{flexDirection:"column",justifyContent:e?void 0:"flex-end",children:d.map((n)=>s(Q,{item:n,maxColumnWidth:u,isSelected:n.id===o[t]?.id},`${n.id}:${n.id===o[t]?.id?"selected":"idle"}`))})}var C,Y=10,k,G=" ",W,Q,at;var j=q(()=>{V();O();A();H();U();I();C=X(z(),1),k=`${R.pointer} `,W=i(k);Q=C.memo(function({item:t,maxColumnWidth:m,isSelected:e}){let a=y().columns,r=e?k:G,u=e?"suggestion":void 0,l=e?"inverseText":void 0;if(K(t.id)){let $=J(t.id),F=!e,N=t.id.startsWith("file-"),_=t.id.startsWith("mcp-resource-"),tt=2,ot=4,b=t.description?3:0,c;if(N){let x=t.description?Math.min(20,i(t.description)):0,L=a-W-2-4-b-x;c=E(t.displayText,L)}else if(_)c=p(t.displayText,30);else c=t.displayText;let v=a-W-2-i(c)-b-4,g;if(t.description){let x=p(t.description.replace(/\s+/g," "),Math.max(0,v));g=`${r}${$} ${c} - ${x}`}else g=`${r}${$} ${c}`;return s(h,{width:"100%",opaque:!0,backgroundColor:u,children:s(T,{color:l,dimColor:F,bold:e,wrap:"truncate",children:g})})}let f=Math.floor(a*0.4),d=Math.min(m??i(t.displayText)+5,f),n=t.displayText;if(i(n)>d-2)n=p(n,d-2);let w=r+n+" ".repeat(Math.max(0,d-i(n))),M=t.tag?`[${t.tag}] `:"",P=i(M),D=Math.max(0,a-W-d-P-4),S=t.description?p(t.description.replace(/\s+/g," "),D):"",B=`${w}${M}${S}`;return s(h,{width:"100%",opaque:!0,backgroundColor:u,children:s(T,{color:l,dimColor:!e,bold:e,wrap:"truncate",children:B})})});at=C.memo(Z)});
2
- export{Z as _g,at as $g,j as ah};
@@ -1,2 +0,0 @@
1
- import{Jla as H,Yha as z,aia as B}from"./cli-0.5.8-bhc8vwxd.mjs";import{zna as x}from"./cli-0.5.8-hkfwdsmy.mjs";import{AsyncLocalStorage as I}from"async_hooks";function Q(E,F){return D.run(E,F)}function J(){return D.getStore()??B()}function R(){try{return J()}catch{return z()}}var D;var K=x(()=>{H();D=new I});var U="command-name",V="command-message",W="command-args",X="bash-input",Y="bash-stdout",Z="bash-stderr",$="local-command-stdout",j="local-command-stderr",q="local-command-caveat",A,G="tick",L="task-notification",_="task-id",b="tool-use-id",k="task-type",p="output-file",v="status",C="summary",O="worktree",y="worktreePath",S="worktreeBranch",f="remote-review",m="remote-review-progress",u="teammate-message",h="channel",l="fork-boilerplate",w="Your directive: ",g,d;var M=x(()=>{A=["bash-input","bash-stdout","bash-stderr","local-command-stdout","local-command-stderr","local-command-caveat"],g=["help","-h","--help"],d=["list","show","display","current","view","get","check","describe","print","version","about","status","?"]});
2
- export{Q as wda,J as xda,R as yda,K as zda,U as Ada,V as Bda,W as Cda,X as Dda,Y as Eda,Z as Fda,$ as Gda,j as Hda,q as Ida,A as Jda,G as Kda,L as Lda,_ as Mda,b as Nda,k as Oda,p as Pda,v as Qda,C as Rda,O as Sda,y as Tda,S as Uda,f as Vda,m as Wda,u as Xda,h as Yda,l as Zda,w as _da,g as $da,d as aea,M as bea};
@@ -1,2 +0,0 @@
1
- import{gX as W,uX as X,wX as k,yV as f}from"./cli-0.5.8-nwe7yne9.mjs";import{WY as V,XY as J,ZY as K}from"./cli-0.5.8-zkn5gecs.mjs";import{_Y as P}from"./cli-0.5.8-6epmns99.mjs";import{Vba as U,Wba as O}from"./cli-0.5.8-5h92528m.mjs";import{vna as Q,zna as L}from"./cli-0.5.8-hkfwdsmy.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 nc,N as oc,j as pc};