@claudiolabs/claudin 0.6.8 → 0.6.10

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 (890) hide show
  1. package/dist/chunks/AgentTool-0.6.10-pc63a9d0.mjs +1 -0
  2. package/dist/chunks/App-0.6.10-q3xcd47r.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.6.10-w6fsssyp.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.6.10-4bd71ef1.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.6.10-v0mg8ypk.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.6.10-kbqv74m9.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.10-1n2n7jm7.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.6.10-aw1g8h4f.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.6.10-b2cwrvz7.mjs +7 -0
  10. package/dist/chunks/Doctor-0.6.10-ggfaar35.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-0.6.10-e692sh3q.mjs +6 -0
  12. package/dist/chunks/Grove-0.6.10-eavgjwkr.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.6.10-5h3fqa7n.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.6.10-4wm5hbn1.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.6.10-2c9rvk27.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.6.10-zhcbfmky.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.6.10-x6tqmt67.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.6.10-vazqkyya.mjs +1 -0
  19. package/dist/chunks/REPL-0.6.10-s7sv4jaz.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.6.10-r11yajt2.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.6.10-vc41e76h.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.6.10-66zbwap8.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.6.10-67wymxzf.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.6.10-xsnsqwdz.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.6.10-wa4f54d8.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.6.10-anxny4hp.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.6.10-wdx9ym5t.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.6.10-tfw5ne13.mjs +1 -0
  29. package/dist/chunks/add-dir-0.6.10-m2awyvem.mjs +1 -0
  30. package/dist/chunks/agents-0.6.10-dfnc3z0x.mjs +110 -0
  31. package/dist/chunks/agents-0.6.10-q6rwqt5n.mjs +3 -0
  32. package/dist/chunks/api-0.6.10-2kpxwpf7.mjs +1 -0
  33. package/dist/chunks/asciicast-0.6.10-phpj95t0.mjs +1 -0
  34. package/dist/chunks/assistant-0.6.10-bk619hgs.mjs +1 -0
  35. package/dist/chunks/auth-0.6.10-exndmshh.mjs +1 -0
  36. package/dist/chunks/auth-0.6.10-zwse97wh.mjs +1 -0
  37. package/dist/chunks/autoMode-0.6.10-r7cygq5e.mjs +48 -0
  38. package/dist/chunks/autoUpdater-0.6.10-pyp05p5g.mjs +1 -0
  39. package/dist/chunks/backgroundHousekeeping-0.6.10-rfs50a2d.mjs +1 -0
  40. package/dist/chunks/branch-0.6.10-nycehd04.mjs +4 -0
  41. package/dist/chunks/bridge-0.6.10-bra19vvb.mjs +2 -0
  42. package/dist/chunks/bridgeConfig-0.6.10-kmxyfzt6.mjs +1 -0
  43. package/dist/chunks/bridgeEnabled-0.6.10-405me6tc.mjs +1 -0
  44. package/dist/chunks/bridgeMain-0.6.10-m3hwnhak.mjs +88 -0
  45. package/dist/chunks/bridgePointer-0.6.10-sgr296jn.mjs +1 -0
  46. package/dist/chunks/btw-0.6.10-e8fae0g4.mjs +1 -0
  47. package/dist/chunks/buddy-0.6.10-y9g75nde.mjs +3 -0
  48. package/dist/chunks/cacache-0.6.10-8a56gyhe.mjs +1 -0
  49. package/dist/chunks/cache-probe-0.6.10-j5dv0ze8.mjs +21 -0
  50. package/dist/chunks/cacheStats-0.6.10-kn5hkwnr.mjs +4 -0
  51. package/dist/chunks/caches-0.6.10-hyfrtp91.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-0.6.10-23mgx59s.mjs +1 -0
  53. package/dist/chunks/claudemd-0.6.10-znbbeehm.mjs +1 -0
  54. package/dist/chunks/clear-0.6.10-f4z7nb46.mjs +1 -0
  55. package/dist/chunks/clearTerminal-0.6.10-q3ntmyx6.mjs +1 -0
  56. package/dist/chunks/cli-0.6.10-007bw6rq.mjs +2 -0
  57. package/dist/chunks/cli-0.6.10-04xyjtqp.mjs +18 -0
  58. package/dist/chunks/cli-0.6.10-06yft8cy.mjs +2 -0
  59. package/dist/chunks/cli-0.6.10-09xkvgtb.mjs +3 -0
  60. package/dist/chunks/cli-0.6.10-0b7z3d0a.mjs +2 -0
  61. package/dist/chunks/cli-0.6.10-0fr4nchy.mjs +17 -0
  62. package/dist/chunks/cli-0.6.10-0h6a9dcq.mjs +2 -0
  63. package/dist/chunks/cli-0.6.10-0had63e0.mjs +2 -0
  64. package/dist/chunks/cli-0.6.10-0k8b5g3y.mjs +2 -0
  65. package/dist/chunks/cli-0.6.10-0w502raj.mjs +12 -0
  66. package/dist/chunks/cli-0.6.10-0xjd83ey.mjs +25 -0
  67. package/dist/chunks/cli-0.6.10-0xxezqeh.mjs +21 -0
  68. package/dist/chunks/cli-0.6.10-194zm15b.mjs +2 -0
  69. package/dist/chunks/cli-0.6.10-20dx8cv9.mjs +2 -0
  70. package/dist/chunks/cli-0.6.10-25arf7er.mjs +15 -0
  71. package/dist/chunks/cli-0.6.10-2rxbwttq.mjs +5 -0
  72. package/dist/chunks/cli-0.6.10-2trx2sqp.mjs +1 -0
  73. package/dist/chunks/cli-0.6.10-375wa3y2.mjs +2 -0
  74. package/dist/chunks/cli-0.6.10-3e7ajk04.mjs +3 -0
  75. package/dist/chunks/cli-0.6.10-3kakfn9p.mjs +2 -0
  76. package/dist/chunks/cli-0.6.10-3nht1qk2.mjs +193 -0
  77. package/dist/chunks/cli-0.6.10-3web3hbd.mjs +2 -0
  78. package/dist/chunks/cli-0.6.10-3ytqex80.mjs +3 -0
  79. package/dist/chunks/cli-0.6.10-4bwskbrr.mjs +2 -0
  80. package/dist/chunks/cli-0.6.10-4d9mssh1.mjs +2 -0
  81. package/dist/chunks/cli-0.6.10-4faavn4z.mjs +2 -0
  82. package/dist/chunks/cli-0.6.10-4fswsxhh.mjs +2 -0
  83. package/dist/chunks/cli-0.6.10-4paz5m54.mjs +2 -0
  84. package/dist/chunks/cli-0.6.10-4pptj4dt.mjs +34 -0
  85. package/dist/chunks/cli-0.6.10-4r4t8cq3.mjs +2 -0
  86. package/dist/chunks/cli-0.6.10-4rwy0hf2.mjs +2 -0
  87. package/dist/chunks/cli-0.6.10-4sd7w0ny.mjs +2 -0
  88. package/dist/chunks/cli-0.6.10-4tqfq3bh.mjs +2 -0
  89. package/dist/chunks/cli-0.6.10-4v3edm8v.mjs +2 -0
  90. package/dist/chunks/cli-0.6.10-5cz3150z.mjs +8 -0
  91. package/dist/chunks/cli-0.6.10-5fk9pv4j.mjs +2 -0
  92. package/dist/chunks/cli-0.6.10-5jaxzkj9.mjs +4 -0
  93. package/dist/chunks/cli-0.6.10-5qrbfb57.mjs +3 -0
  94. package/dist/chunks/cli-0.6.10-5rr1dmag.mjs +6 -0
  95. package/dist/chunks/cli-0.6.10-5v3ebsy8.mjs +2 -0
  96. package/dist/chunks/cli-0.6.10-5yr3hp7q.mjs +2 -0
  97. package/dist/chunks/cli-0.6.10-63mrsvws.mjs +2 -0
  98. package/dist/chunks/cli-0.6.10-6bnz1wsy.mjs +2 -0
  99. package/dist/chunks/cli-0.6.10-6q9gvpdq.mjs +4 -0
  100. package/dist/chunks/cli-0.6.10-6sssjkv6.mjs +5 -0
  101. package/dist/chunks/cli-0.6.10-6wxgepz0.mjs +2 -0
  102. package/dist/chunks/cli-0.6.10-6z9r1a31.mjs +3 -0
  103. package/dist/chunks/cli-0.6.10-71mkw30e.mjs +2 -0
  104. package/dist/chunks/cli-0.6.10-743jgjs6.mjs +2 -0
  105. package/dist/chunks/cli-0.6.10-74gxtz55.mjs +2 -0
  106. package/dist/chunks/cli-0.6.10-7as21ajf.mjs +3 -0
  107. package/dist/chunks/cli-0.6.10-7gxqhb8g.mjs +133 -0
  108. package/dist/chunks/cli-0.6.10-83yhdrwz.mjs +2 -0
  109. package/dist/chunks/cli-0.6.10-87cpzzxg.mjs +4 -0
  110. package/dist/chunks/cli-0.6.10-88w2c7gx.mjs +2 -0
  111. package/dist/chunks/cli-0.6.10-8kpb0kxt.mjs +2 -0
  112. package/dist/chunks/cli-0.6.10-8s6we29m.mjs +4 -0
  113. package/dist/chunks/cli-0.6.10-96nfaf30.mjs +2 -0
  114. package/dist/chunks/cli-0.6.10-99j1abq3.mjs +2 -0
  115. package/dist/chunks/cli-0.6.10-9f868v6c.mjs +2 -0
  116. package/dist/chunks/cli-0.6.10-9qweq8dd.mjs +6 -0
  117. package/dist/chunks/cli-0.6.10-9rcjng8s.mjs +2 -0
  118. package/dist/chunks/cli-0.6.10-9t8aqsnm.mjs +2 -0
  119. package/dist/chunks/cli-0.6.10-a2byqzdb.mjs +2 -0
  120. package/dist/chunks/cli-0.6.10-ajjmvx3c.mjs +59 -0
  121. package/dist/chunks/cli-0.6.10-an35ek0n.mjs +20 -0
  122. package/dist/chunks/cli-0.6.10-aqf0kax9.mjs +2 -0
  123. package/dist/chunks/cli-0.6.10-b0ppj1eq.mjs +2 -0
  124. package/dist/chunks/cli-0.6.10-b3070g3s.mjs +2 -0
  125. package/dist/chunks/cli-0.6.10-b4qd3yag.mjs +2 -0
  126. package/dist/chunks/cli-0.6.10-b93fsrew.mjs +2 -0
  127. package/dist/chunks/cli-0.6.10-bgr2v2kx.mjs +2 -0
  128. package/dist/chunks/cli-0.6.10-bhj11561.mjs +2 -0
  129. package/dist/chunks/cli-0.6.10-bm2rzyr5.mjs +2 -0
  130. package/dist/chunks/cli-0.6.10-bmy2rmqm.mjs +2 -0
  131. package/dist/chunks/cli-0.6.10-bz35vcq0.mjs +4 -0
  132. package/dist/chunks/cli-0.6.10-c6ffp79z.mjs +39 -0
  133. package/dist/chunks/cli-0.6.10-c9e5xj4m.mjs +5 -0
  134. package/dist/chunks/cli-0.6.10-crqx6pmb.mjs +3 -0
  135. package/dist/chunks/cli-0.6.10-cs82frbp.mjs +2 -0
  136. package/dist/chunks/cli-0.6.10-d4b00jtd.mjs +2 -0
  137. package/dist/chunks/cli-0.6.10-ds086npj.mjs +4 -0
  138. package/dist/chunks/cli-0.6.10-dshvbx8m.mjs +2 -0
  139. package/dist/chunks/cli-0.6.10-dypx2apn.mjs +2 -0
  140. package/dist/chunks/cli-0.6.10-e2g2kwb3.mjs +2 -0
  141. package/dist/chunks/cli-0.6.10-e5n6kpjg.mjs +2 -0
  142. package/dist/chunks/cli-0.6.10-e5t2wkjj.mjs +2 -0
  143. package/dist/chunks/cli-0.6.10-e61zdre3.mjs +2 -0
  144. package/dist/chunks/cli-0.6.10-ec8zak20.mjs +2 -0
  145. package/dist/chunks/cli-0.6.10-ej031rhh.mjs +2 -0
  146. package/dist/chunks/cli-0.6.10-ew2xpxpt.mjs +10 -0
  147. package/dist/chunks/cli-0.6.10-fctpqtz9.mjs +2 -0
  148. package/dist/chunks/cli-0.6.10-fdhf61fm.mjs +2 -0
  149. package/dist/chunks/cli-0.6.10-feh3ehq8.mjs +2 -0
  150. package/dist/chunks/cli-0.6.10-fh0qe3jw.mjs +5408 -0
  151. package/dist/chunks/cli-0.6.10-fq0vvkgg.mjs +2 -0
  152. package/dist/chunks/cli-0.6.10-fv4b397t.mjs +2 -0
  153. package/dist/chunks/cli-0.6.10-fxvfvpfc.mjs +2 -0
  154. package/dist/chunks/cli-0.6.10-g42hbbyx.mjs +2 -0
  155. package/dist/chunks/cli-0.6.10-gfmq62a5.mjs +2 -0
  156. package/dist/chunks/cli-0.6.10-gfzq1xdw.mjs +2 -0
  157. package/dist/chunks/cli-0.6.10-gj0a1s24.mjs +2 -0
  158. package/dist/chunks/cli-0.6.10-gne1gsrc.mjs +2 -0
  159. package/dist/chunks/cli-0.6.10-gqpxsx7v.mjs +2 -0
  160. package/dist/chunks/cli-0.6.10-gzj1pee6.mjs +2 -0
  161. package/dist/chunks/cli-0.6.10-h1hfr2mp.mjs +2 -0
  162. package/dist/chunks/cli-0.6.10-hf96nx3k.mjs +2 -0
  163. package/dist/chunks/cli-0.6.10-hrefj58w.mjs +2 -0
  164. package/dist/chunks/cli-0.6.10-hwk82bpw.mjs +2 -0
  165. package/dist/chunks/cli-0.6.10-jax39fxj.mjs +2 -0
  166. package/dist/chunks/cli-0.6.10-jb5y0jfb.mjs +2 -0
  167. package/dist/chunks/cli-0.6.10-jrnddxjb.mjs +2 -0
  168. package/dist/chunks/cli-0.6.10-jrx0zpgt.mjs +2 -0
  169. package/dist/chunks/cli-0.6.10-k0bx2zac.mjs +24 -0
  170. package/dist/chunks/cli-0.6.10-k0qapztr.mjs +17 -0
  171. package/dist/chunks/cli-0.6.10-k3yqwnmf.mjs +15 -0
  172. package/dist/chunks/cli-0.6.10-k4mwvdt2.mjs +3 -0
  173. package/dist/chunks/cli-0.6.10-k5hnyqvs.mjs +58 -0
  174. package/dist/chunks/cli-0.6.10-kcg9xtd4.mjs +2 -0
  175. package/dist/chunks/cli-0.6.10-kfm5062s.mjs +2 -0
  176. package/dist/chunks/cli-0.6.10-kqqk6z5r.mjs +18 -0
  177. package/dist/chunks/cli-0.6.10-kr2hhxcp.mjs +2 -0
  178. package/dist/chunks/cli-0.6.10-kvy7e0hs.mjs +24 -0
  179. package/dist/chunks/cli-0.6.10-kwx06ffr.mjs +133 -0
  180. package/dist/chunks/cli-0.6.10-m2atbxmp.mjs +2 -0
  181. package/dist/chunks/cli-0.6.10-m56cm615.mjs +2 -0
  182. package/dist/chunks/cli-0.6.10-m6mnqx47.mjs +2 -0
  183. package/dist/chunks/cli-0.6.10-m8egkzv6.mjs +4 -0
  184. package/dist/chunks/cli-0.6.10-m8w0yqyk.mjs +2 -0
  185. package/dist/chunks/cli-0.6.10-ma1ft2z7.mjs +12 -0
  186. package/dist/chunks/cli-0.6.10-mdmda3yh.mjs +2 -0
  187. package/dist/chunks/cli-0.6.10-mhrx6w6c.mjs +3 -0
  188. package/dist/chunks/cli-0.6.10-n91j8t48.mjs +2 -0
  189. package/dist/chunks/cli-0.6.10-n9ad0dqs.mjs +2 -0
  190. package/dist/chunks/cli-0.6.10-nj568nb8.mjs +2 -0
  191. package/dist/chunks/cli-0.6.10-nnr6bgey.mjs +2 -0
  192. package/dist/chunks/cli-0.6.10-p4e34m9m.mjs +2 -0
  193. package/dist/chunks/cli-0.6.10-peshnw7x.mjs +2 -0
  194. package/dist/chunks/cli-0.6.10-pjybpta5.mjs +2 -0
  195. package/dist/chunks/cli-0.6.10-ps3qshm2.mjs +2 -0
  196. package/dist/chunks/cli-0.6.10-q3pn77m0.mjs +2 -0
  197. package/dist/chunks/cli-0.6.10-qdff7bwc.mjs +2 -0
  198. package/dist/chunks/cli-0.6.10-qhnh10xs.mjs +2 -0
  199. package/dist/chunks/cli-0.6.10-qpvrjcxj.mjs +2 -0
  200. package/dist/chunks/cli-0.6.10-r053kteh.mjs +2 -0
  201. package/dist/chunks/cli-0.6.10-r1zg8hjd.mjs +4 -0
  202. package/dist/chunks/cli-0.6.10-r261gqbz.mjs +2 -0
  203. package/dist/chunks/cli-0.6.10-r6n3t4y5.mjs +2 -0
  204. package/dist/chunks/cli-0.6.10-rpqzxn5n.mjs +2 -0
  205. package/dist/chunks/cli-0.6.10-rq0hdash.mjs +4 -0
  206. package/dist/chunks/cli-0.6.10-rtfnxx5g.mjs +2 -0
  207. package/dist/chunks/cli-0.6.10-rvt5834w.mjs +2 -0
  208. package/dist/chunks/cli-0.6.10-rvxxsgew.mjs +3 -0
  209. package/dist/chunks/cli-0.6.10-s48vqp7h.mjs +3 -0
  210. package/dist/chunks/cli-0.6.10-s9s4y4pe.mjs +2 -0
  211. package/dist/chunks/cli-0.6.10-sdbmeewb.mjs +2 -0
  212. package/dist/chunks/cli-0.6.10-seh7emsc.mjs +2 -0
  213. package/dist/chunks/cli-0.6.10-tarr1aa6.mjs +2 -0
  214. package/dist/chunks/cli-0.6.10-tbarj9ac.mjs +12 -0
  215. package/dist/chunks/cli-0.6.10-tgw0ne6b.mjs +28 -0
  216. package/dist/chunks/cli-0.6.10-twyctfxx.mjs +2 -0
  217. package/dist/chunks/cli-0.6.10-v6686g2y.mjs +2 -0
  218. package/dist/chunks/cli-0.6.10-vbc7veda.mjs +2 -0
  219. package/dist/chunks/cli-0.6.10-vevjmd3s.mjs +2 -0
  220. package/dist/chunks/cli-0.6.10-vpf2h2ys.mjs +2 -0
  221. package/dist/chunks/cli-0.6.10-vwy25zxd.mjs +2 -0
  222. package/dist/chunks/cli-0.6.10-vx8ghs2a.mjs +2 -0
  223. package/dist/chunks/cli-0.6.10-vytrd6pp.mjs +2 -0
  224. package/dist/chunks/cli-0.6.10-w0xpqx8x.mjs +2 -0
  225. package/dist/chunks/cli-0.6.10-w5ktgwb6.mjs +2 -0
  226. package/dist/chunks/cli-0.6.10-w6wtb66q.mjs +7 -0
  227. package/dist/chunks/cli-0.6.10-wchnn74m.mjs +2 -0
  228. package/dist/chunks/cli-0.6.10-wd70haac.mjs +3 -0
  229. package/dist/chunks/cli-0.6.10-wgqzy62m.mjs +42 -0
  230. package/dist/chunks/cli-0.6.10-wnwqatq5.mjs +67 -0
  231. package/dist/chunks/cli-0.6.10-wtzszqn5.mjs +2 -0
  232. package/dist/chunks/cli-0.6.10-x7r5d517.mjs +9 -0
  233. package/dist/chunks/cli-0.6.10-x8wy7g7p.mjs +6 -0
  234. package/dist/chunks/cli-0.6.10-xjymzbm2.mjs +4 -0
  235. package/dist/chunks/cli-0.6.10-xmthj4tb.mjs +2 -0
  236. package/dist/chunks/cli-0.6.10-xwjzecgn.mjs +2 -0
  237. package/dist/chunks/cli-0.6.10-y2tx5msk.mjs +2 -0
  238. package/dist/chunks/cli-0.6.10-y5m55y2e.mjs +45 -0
  239. package/dist/chunks/cli-0.6.10-yet22s9x.mjs +2 -0
  240. package/dist/chunks/cli-0.6.10-yr88z6pr.mjs +2 -0
  241. package/dist/chunks/cli-0.6.10-yrm9vds4.mjs +2 -0
  242. package/dist/chunks/cli-0.6.10-yy76qw7h.mjs +2 -0
  243. package/dist/chunks/cli-0.6.10-yz5cd33k.mjs +15 -0
  244. package/dist/chunks/cli-0.6.10-z43zd6gx.mjs +2 -0
  245. package/dist/chunks/cli-0.6.10-z59d7tmt.mjs +3 -0
  246. package/dist/chunks/cli-0.6.10-z5gp5z38.mjs +50 -0
  247. package/dist/chunks/cli-0.6.10-z663hb6c.mjs +2 -0
  248. package/dist/chunks/cli-0.6.10-z6n2741b.mjs +2 -0
  249. package/dist/chunks/cli-0.6.10-z94hfa8d.mjs +2 -0
  250. package/dist/chunks/cli-0.6.10-zngfmjtq.mjs +2 -0
  251. package/dist/chunks/cli-0.6.10-zqv22c50.mjs +6 -0
  252. package/dist/chunks/cli-0.6.10-zyvt1jxy.mjs +16 -0
  253. package/dist/chunks/client-0.6.10-e68bga3q.mjs +1 -0
  254. package/dist/chunks/color-0.6.10-jgca92d2.mjs +1 -0
  255. package/dist/chunks/compact-0.6.10-pga6j4et.mjs +3 -0
  256. package/dist/chunks/config-0.6.10-2kqc2t3y.mjs +1 -0
  257. package/dist/chunks/config-0.6.10-tcm75jey.mjs +1 -0
  258. package/dist/chunks/constants-0.6.10-sya0fxh4.mjs +1 -0
  259. package/dist/chunks/context-0.6.10-h4r1j554.mjs +1 -0
  260. package/dist/chunks/context-noninteractive-0.6.10-yg6kn1vx.mjs +1 -0
  261. package/dist/chunks/conversation-0.6.10-j15gzcdd.mjs +1 -0
  262. package/dist/chunks/copilotHeaders-0.6.10-kf7jcp6s.mjs +1 -0
  263. package/dist/chunks/copy-0.6.10-3kzpyps7.mjs +9 -0
  264. package/dist/chunks/cost-0.6.10-fnaq264n.mjs +1 -0
  265. package/dist/chunks/createSSHSession-0.6.10-k5ftya6a.mjs +1 -0
  266. package/dist/chunks/createSession-0.6.10-35y67jwe.mjs +1 -0
  267. package/dist/chunks/debug-0.6.10-n5x9y9vq.mjs +1 -0
  268. package/dist/chunks/defaultActionDeps-0.6.10-7gcm2ant.mjs +1367 -0
  269. package/dist/chunks/desktop-0.6.10-w10y9c6s.mjs +1 -0
  270. package/dist/chunks/detectRepository-0.6.10-91bht5eh.mjs +1 -0
  271. package/dist/chunks/detection-0.6.10-2rcvg6a7.mjs +1 -0
  272. package/dist/chunks/diff-0.6.10-37y80eve.mjs +1 -0
  273. package/dist/chunks/doctor-0.6.10-03khmb2e.mjs +1 -0
  274. package/dist/chunks/doctorDiagnostic-0.6.10-eh1pjv87.mjs +1 -0
  275. package/dist/chunks/earlyInput-0.6.10-jfrac0rt.mjs +1 -0
  276. package/dist/chunks/effort-0.6.10-np8ncze8.mjs +10 -0
  277. package/dist/chunks/envLessBridgeConfig-0.6.10-e7bn5pg5.mjs +1 -0
  278. package/dist/chunks/envUtils-0.6.10-a012cz9g.mjs +1 -0
  279. package/dist/chunks/environmentSelection-0.6.10-swhy83d9.mjs +1 -0
  280. package/dist/chunks/environments-0.6.10-zqjx2w2e.mjs +1 -0
  281. package/dist/chunks/errors-0.6.10-hm45ztbm.mjs +1 -0
  282. package/dist/chunks/exampleCommands-0.6.10-3446gnbr.mjs +1 -0
  283. package/dist/chunks/exit-0.6.10-vpeceb21.mjs +1 -0
  284. package/dist/chunks/explorer-0.6.10-zjjzxksb.mjs +1 -0
  285. package/dist/chunks/export-0.6.10-hnnqngd5.mjs +2 -0
  286. package/dist/chunks/extra-usage-0.6.10-gtda3wg0.mjs +1 -0
  287. package/dist/chunks/extra-usage-noninteractive-0.6.10-nz1j41qz.mjs +1 -0
  288. package/dist/chunks/fast-0.6.10-rd5z4x7d.mjs +1 -0
  289. package/dist/chunks/feedback-0.6.10-kc7f8az3.mjs +14 -0
  290. package/dist/chunks/firstPartyEventLogger-0.6.10-wk8nq6xn.mjs +1 -0
  291. package/dist/chunks/git-0.6.10-ah8x7bvn.mjs +1 -0
  292. package/dist/chunks/githubModelsCredentials-0.6.10-9ps0y1s1.mjs +1 -0
  293. package/dist/chunks/goal-0.6.10-z0xn3kbc.mjs +4 -0
  294. package/dist/chunks/grove-0.6.10-tzn8va81.mjs +1 -0
  295. package/dist/chunks/growthbook-0.6.10-d0bhv83x.mjs +1 -0
  296. package/dist/chunks/headless-0.6.10-j23342en.mjs +2 -0
  297. package/dist/chunks/heapdump-0.6.10-40jdp89t.mjs +6 -0
  298. package/dist/chunks/help-0.6.10-x5j1shx8.mjs +1 -0
  299. package/dist/chunks/hookChains-0.6.10-vz0kajv4.mjs +3 -0
  300. package/dist/chunks/hooks-0.6.10-cjctc3pk.mjs +1 -0
  301. package/dist/chunks/hooks-0.6.10-d4e5d4jq.mjs +79 -0
  302. package/dist/chunks/ide-0.6.10-c9vx5yyv.mjs +3 -0
  303. package/dist/chunks/image-processor-napi-0.6.10-j9xbdedd.mjs +1 -0
  304. package/dist/chunks/inboundAttachments-0.6.10-qvc8gtq1.mjs +1 -0
  305. package/dist/chunks/index-0.6.10-1ce12br9.mjs +1 -0
  306. package/dist/chunks/index-0.6.10-23bed64t.mjs +1 -0
  307. package/dist/chunks/index-0.6.10-2e15j6y7.mjs +9 -0
  308. package/dist/chunks/index-0.6.10-4ggrtp02.mjs +1 -0
  309. package/dist/chunks/index-0.6.10-5cgqvkpd.mjs +1 -0
  310. package/dist/chunks/index-0.6.10-7g3qxmqy.mjs +1 -0
  311. package/dist/chunks/index-0.6.10-7hb2kw34.mjs +1 -0
  312. package/dist/chunks/index-0.6.10-bwp7ejkw.mjs +1 -0
  313. package/dist/chunks/index-0.6.10-jeq5t7bt.mjs +1 -0
  314. package/dist/chunks/index-0.6.10-jhysvfs4.mjs +1 -0
  315. package/dist/chunks/index-0.6.10-k83tg0hk.mjs +1 -0
  316. package/dist/chunks/index-0.6.10-m4xrd2ck.mjs +2 -0
  317. package/dist/chunks/index-0.6.10-nvnk8f62.mjs +1 -0
  318. package/dist/chunks/index-0.6.10-p0npme3e.mjs +9 -0
  319. package/dist/chunks/index-0.6.10-pj7qk1ay.mjs +1 -0
  320. package/dist/chunks/index-0.6.10-rm91h20d.mjs +1 -0
  321. package/dist/chunks/index-0.6.10-s5e9thxx.mjs +1 -0
  322. package/dist/chunks/index-0.6.10-stt9s3ap.mjs +1 -0
  323. package/dist/chunks/index-0.6.10-v0x2gvb2.mjs +1 -0
  324. package/dist/chunks/index-0.6.10-w4pech08.mjs +2 -0
  325. package/dist/chunks/index-0.6.10-xa7j7j51.mjs +1 -0
  326. package/dist/chunks/index-0.6.10-xvpvs1cq.mjs +30 -0
  327. package/dist/chunks/index-0.6.10-yajn443n.mjs +5 -0
  328. package/dist/chunks/init-0.6.10-cx438e1r.mjs +1 -0
  329. package/dist/chunks/initReplBridge-0.6.10-yzeqrx1r.mjs +1 -0
  330. package/dist/chunks/ink-0.6.10-ehmdxdda.mjs +1 -0
  331. package/dist/chunks/insights-0.6.10-ymy0ax9s.mjs +870 -0
  332. package/dist/chunks/install-0.6.10-6xsxh8rw.mjs +1 -0
  333. package/dist/chunks/install-github-app-0.6.10-n0mqxv7y.mjs +149 -0
  334. package/dist/chunks/install-slack-app-0.6.10-vdzembtq.mjs +1 -0
  335. package/dist/chunks/instrumentation-0.6.10-ee94ynfg.mjs +1 -0
  336. package/dist/chunks/interactiveHelpers-0.6.10-dcfkv2ya.mjs +1 -0
  337. package/dist/chunks/keybindings-0.6.10-3xnrfxvh.mjs +2 -0
  338. package/dist/chunks/knowledge-0.6.10-0szdqkwe.mjs +2 -0
  339. package/dist/chunks/latestVersionCache-0.6.10-6ekyepyt.mjs +1 -0
  340. package/dist/chunks/loadAgentsDir-0.6.10-82jwqyyq.mjs +1 -0
  341. package/dist/chunks/loadPluginHooks-0.6.10-7fkt9ad8.mjs +1 -0
  342. package/dist/chunks/loadPluginHooks-0.6.10-fhqsm9y4.mjs +1 -0
  343. package/dist/chunks/log-0.6.10-78vjy53b.mjs +1 -0
  344. package/dist/chunks/main-0.6.10-4dvm6d6t.mjs +1 -0
  345. package/dist/chunks/managedEnv-0.6.10-zhfxjy3j.mjs +1 -0
  346. package/dist/chunks/mcp-0.6.10-5f83tgd5.mjs +4 -0
  347. package/dist/chunks/mcp-0.6.10-b4snzba2.mjs +17 -0
  348. package/dist/chunks/mcp-0.6.10-kbj234ww.mjs +1 -0
  349. package/dist/chunks/mcpb-0.6.10-vag783ma.mjs +1 -0
  350. package/dist/chunks/memory-0.6.10-henf0b1g.mjs +3 -0
  351. package/dist/chunks/model-0.6.10-7160y81e.mjs +2 -0
  352. package/dist/chunks/model-0.6.10-9rdwx1ek.mjs +1 -0
  353. package/dist/chunks/node-0.6.10-2nyw5nh5.mjs +12 -0
  354. package/dist/chunks/oauth-0.6.10-rktmj1b2.mjs +1 -0
  355. package/dist/chunks/openaiShim-0.6.10-mv9eg82h.mjs +14 -0
  356. package/dist/chunks/output-style-0.6.10-0pav9q8w.mjs +1 -0
  357. package/dist/chunks/package-FMOR3ELU-0.6.10-5ar9yxr7.mjs +1 -0
  358. package/dist/chunks/parseConnectUrl-0.6.10-yz44fdhk.mjs +1 -0
  359. package/dist/chunks/parser-0.6.10-13sm7kqb.mjs +1 -0
  360. package/dist/chunks/passes-0.6.10-5h06jj2r.mjs +1 -0
  361. package/dist/chunks/permissions-0.6.10-k9dwtyqj.mjs +3 -0
  362. package/dist/chunks/permissions-0.6.10-twx9c8mp.mjs +1 -0
  363. package/dist/chunks/plan-0.6.10-z9h0c075.mjs +1 -0
  364. package/dist/chunks/plist-0.6.10-j533y42p.mjs +1 -0
  365. package/dist/chunks/plugin-0.6.10-erwx5c5x.mjs +29 -0
  366. package/dist/chunks/pluginStartupCheck-0.6.10-q85wj5v2.mjs +1 -0
  367. package/dist/chunks/plugins-0.6.10-jpsbbg01.mjs +9 -0
  368. package/dist/chunks/preActionHook-0.6.10-zpxbgrg4.mjs +2 -0
  369. package/dist/chunks/print-0.6.10-kbctj6hv.mjs +57 -0
  370. package/dist/chunks/privacy-settings-0.6.10-c0bv0th2.mjs +1 -0
  371. package/dist/chunks/process-0.6.10-dkct366y.mjs +1 -0
  372. package/dist/chunks/processBashCommand-0.6.10-5yz1hvk7.mjs +1 -0
  373. package/dist/chunks/processSlashCommand-0.6.10-71w6nfyj.mjs +9 -0
  374. package/dist/chunks/prompt-0.6.10-f9y98av4.mjs +1 -0
  375. package/dist/chunks/prompt-0.6.10-fgbs1m66.mjs +1 -0
  376. package/dist/chunks/prompts-0.6.10-676epz7k.mjs +1 -0
  377. package/dist/chunks/protocolHandler-0.6.10-773g9qer.mjs +13 -0
  378. package/dist/chunks/provider-0.6.10-5qsacwg4.mjs +2 -0
  379. package/dist/chunks/providerProfiles-0.6.10-p7hdwrt5.mjs +1 -0
  380. package/dist/chunks/providerValidation-0.6.10-0djsjgat.mjs +6 -0
  381. package/dist/chunks/rate-limit-options-0.6.10-sw7x1zh6.mjs +1 -0
  382. package/dist/chunks/registerSubcommands-0.6.10-qnj3g3nr.mjs +34 -0
  383. package/dist/chunks/registry-0.6.10-gbcb4fsk.mjs +1 -0
  384. package/dist/chunks/release-notes-0.6.10-ncd08wgw.mjs +5 -0
  385. package/dist/chunks/reload-plugins-0.6.10-c81xxbym.mjs +2 -0
  386. package/dist/chunks/remote-env-0.6.10-43xt4gtw.mjs +1 -0
  387. package/dist/chunks/remoteBridgeCore-0.6.10-wbf6j8px.mjs +1 -0
  388. package/dist/chunks/remoteSession-0.6.10-k6vbpv3e.mjs +1 -0
  389. package/dist/chunks/rename-0.6.10-4cdkqswx.mjs +1 -0
  390. package/dist/chunks/replBridgeHandle-0.6.10-xq933mdz.mjs +1 -0
  391. package/dist/chunks/replLauncher-0.6.10-cr3jja5a.mjs +1 -0
  392. package/dist/chunks/resume-0.6.10-c2j899e6.mjs +2 -0
  393. package/dist/chunks/rewind-0.6.10-n9fy7yby.mjs +1 -0
  394. package/dist/chunks/rootOptions-0.6.10-xz0vqcck.mjs +1 -0
  395. package/dist/chunks/sandbox-adapter-0.6.10-d5xfqw9c.mjs +1 -0
  396. package/dist/chunks/sandbox-toggle-0.6.10-spmpkwez.mjs +1 -0
  397. package/dist/chunks/session-0.6.10-ymz837t4.mjs +2 -0
  398. package/dist/chunks/sessionDiscovery-0.6.10-admkdc69.mjs +1 -0
  399. package/dist/chunks/sessionFileAccessHooks-0.6.10-r33t5jhr.mjs +1 -0
  400. package/dist/chunks/sessionStorage-0.6.10-49gm7w2n.mjs +1 -0
  401. package/dist/chunks/settings-0.6.10-wzzcwaad.mjs +1 -0
  402. package/dist/chunks/setup-0.6.10-bvhn26jk.mjs +5 -0
  403. package/dist/chunks/sinks-0.6.10-0fd872vw.mjs +1 -0
  404. package/dist/chunks/skills-0.6.10-km050qe9.mjs +1 -0
  405. package/dist/chunks/startupProfiler-0.6.10-f1cddfrv.mjs +1 -0
  406. package/dist/chunks/startupUpdateCheck-0.6.10-5e18qqrf.mjs +1 -0
  407. package/dist/chunks/state-0.6.10-mpkke4ym.mjs +1 -0
  408. package/dist/chunks/stats-0.6.10-28h5f8jt.mjs +6 -0
  409. package/dist/chunks/status-0.6.10-qv0herbz.mjs +1 -0
  410. package/dist/chunks/stickers-0.6.10-t6950ynt.mjs +1 -0
  411. package/dist/chunks/subprocessEnv-0.6.10-y41znt8f.mjs +1 -0
  412. package/dist/chunks/tasks-0.6.10-nzx570q8.mjs +1 -0
  413. package/dist/chunks/teamHelpers-0.6.10-423jdy2s.mjs +1 -0
  414. package/dist/chunks/teammateModeSnapshot-0.6.10-py06s880.mjs +1 -0
  415. package/dist/chunks/teleport-0.6.10-re7mans7.mjs +1 -0
  416. package/dist/chunks/terminalSetup-0.6.10-9drqbrvg.mjs +1 -0
  417. package/dist/chunks/theme-0.6.10-nfjdb2a2.mjs +1 -0
  418. package/dist/chunks/thinkback-0.6.10-s417vqj3.mjs +1 -0
  419. package/dist/chunks/thinkback-play-0.6.10-mfppeqst.mjs +1 -0
  420. package/dist/chunks/toolPool-0.6.10-592457ck.mjs +1 -0
  421. package/dist/chunks/toolSearch-0.6.10-cmsrw1tk.mjs +1 -0
  422. package/dist/chunks/tools-0.6.10-srv0bd3j.mjs +1 -0
  423. package/dist/chunks/trustedDevice-0.6.10-qbjy3xd7.mjs +1 -0
  424. package/dist/chunks/turndown.cjs-0.6.10-j32w9asd.mjs +69 -0
  425. package/dist/chunks/types-0.6.10-k6bfpqde.mjs +1 -0
  426. package/dist/chunks/ultrareviewCommand-0.6.10-fh4xtvd7.mjs +4 -0
  427. package/dist/chunks/update-0.6.10-29rz32zf.mjs +86 -0
  428. package/dist/chunks/upgrade-0.6.10-sf6fmrcg.mjs +1 -0
  429. package/dist/chunks/upload-0.6.10-vnxpnpf4.mjs +7 -0
  430. package/dist/chunks/upstreamproxy-0.6.10-jtxth348.mjs +14 -0
  431. package/dist/chunks/url-handler-napi-0.6.10-ma00svp5.mjs +1 -0
  432. package/dist/chunks/usage-0.6.10-rc7hv408.mjs +1 -0
  433. package/dist/chunks/util-0.6.10-vjjkrrxd.mjs +1 -0
  434. package/dist/chunks/utils-0.6.10-t87q7ghn.mjs +1 -0
  435. package/dist/chunks/vim-0.6.10-c84ddjyn.mjs +1 -0
  436. package/dist/chunks/watcher-0.6.10-yv6sjckm.mjs +1 -0
  437. package/dist/chunks/wiki-0.6.10-xffa4ex9.mjs +132 -0
  438. package/dist/chunks/worktree-0.6.10-91ksabjj.mjs +1 -0
  439. package/dist/chunks/worktreeModeEnabled-0.6.10-25q9hj62.mjs +1 -0
  440. package/dist/chunks/wrapper-0.6.10-3f51d8k0.mjs +7 -0
  441. package/dist/claudin-vscode.vsix +0 -0
  442. package/dist/cli.mjs +2 -2
  443. package/package.json +1 -1
  444. package/dist/chunks/AgentTool-0.6.8-1h6eg55x.mjs +0 -1
  445. package/dist/chunks/App-0.6.8-gf7z37d0.mjs +0 -1
  446. package/dist/chunks/ApproveApiKey-0.6.8-z559z4n4.mjs +0 -1
  447. package/dist/chunks/AssistantSessionChooser-0.6.8-a964szce.mjs +0 -1
  448. package/dist/chunks/AutoModeOptInDialog-0.6.8-hmgphwsn.mjs +0 -1
  449. package/dist/chunks/BypassPermissionsModeDialog-0.6.8-9vwjqk2g.mjs +0 -1
  450. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.8-bmx62ftg.mjs +0 -1
  451. package/dist/chunks/ConsoleOAuthFlow-0.6.8-6xg5m0rs.mjs +0 -1
  452. package/dist/chunks/DiffDialog-0.6.8-m77gpjht.mjs +0 -7
  453. package/dist/chunks/Doctor-0.6.8-h33wtqvb.mjs +0 -1
  454. package/dist/chunks/ExplorerDialog-0.6.8-g4rjbnb6.mjs +0 -6
  455. package/dist/chunks/Grove-0.6.8-c6v8rps5.mjs +0 -1
  456. package/dist/chunks/ITermBackend-0.6.8-c6rr3der.mjs +0 -1
  457. package/dist/chunks/InvalidConfigDialog-0.6.8-rq8061vm.mjs +0 -1
  458. package/dist/chunks/InvalidSettingsDialog-0.6.8-k3gjdk9q.mjs +0 -1
  459. package/dist/chunks/MigrationDialog-0.6.8-fndbdavr.mjs +0 -1
  460. package/dist/chunks/Onboarding-0.6.8-p9c1cvpj.mjs +0 -1
  461. package/dist/chunks/ProviderManager-0.6.8-rgwzy8mv.mjs +0 -1
  462. package/dist/chunks/REPL-0.6.8-wz4ky583.mjs +0 -1
  463. package/dist/chunks/ResumeConversation-0.6.8-0vytwym2.mjs +0 -1
  464. package/dist/chunks/SnapshotUpdateDialog-0.6.8-j49mg943.mjs +0 -1
  465. package/dist/chunks/TeleportProgress-0.6.8-1w0czdzd.mjs +0 -1
  466. package/dist/chunks/TeleportRepoMismatchDialog-0.6.8-3tb748qg.mjs +0 -1
  467. package/dist/chunks/TeleportResumeWrapper-0.6.8-cchdkcj0.mjs +0 -1
  468. package/dist/chunks/TmuxBackend-0.6.8-83basabp.mjs +0 -9
  469. package/dist/chunks/ToolSearchTool-0.6.8-vz9cakde.mjs +0 -1
  470. package/dist/chunks/TrustDialog-0.6.8-9xfzmsa4.mjs +0 -1
  471. package/dist/chunks/activeProvider-0.6.8-z6bqkc89.mjs +0 -1
  472. package/dist/chunks/add-dir-0.6.8-maggp9sq.mjs +0 -1
  473. package/dist/chunks/agents-0.6.8-b17xcjhg.mjs +0 -3
  474. package/dist/chunks/agents-0.6.8-n3vcbv4n.mjs +0 -110
  475. package/dist/chunks/api-0.6.8-dx65vfgr.mjs +0 -1
  476. package/dist/chunks/asciicast-0.6.8-xdty46r6.mjs +0 -1
  477. package/dist/chunks/assistant-0.6.8-48pyb11z.mjs +0 -1
  478. package/dist/chunks/auth-0.6.8-jzmpk916.mjs +0 -1
  479. package/dist/chunks/auth-0.6.8-v4ggd1x2.mjs +0 -1
  480. package/dist/chunks/autoMode-0.6.8-e3tpbf8n.mjs +0 -48
  481. package/dist/chunks/autoUpdater-0.6.8-kjwba4kd.mjs +0 -1
  482. package/dist/chunks/backgroundHousekeeping-0.6.8-ahc5b93c.mjs +0 -1
  483. package/dist/chunks/branch-0.6.8-bht94rzm.mjs +0 -4
  484. package/dist/chunks/bridge-0.6.8-w3a5wvz5.mjs +0 -2
  485. package/dist/chunks/bridgeConfig-0.6.8-tcqxv3wr.mjs +0 -1
  486. package/dist/chunks/bridgeEnabled-0.6.8-bbk61bwx.mjs +0 -1
  487. package/dist/chunks/bridgeMain-0.6.8-4gdvjwd9.mjs +0 -88
  488. package/dist/chunks/bridgePointer-0.6.8-y9zbj5sw.mjs +0 -1
  489. package/dist/chunks/btw-0.6.8-p8v9ccqj.mjs +0 -1
  490. package/dist/chunks/buddy-0.6.8-cc9dgg1j.mjs +0 -3
  491. package/dist/chunks/cacache-0.6.8-sa10tzqt.mjs +0 -1
  492. package/dist/chunks/cache-probe-0.6.8-rb3gqp6p.mjs +0 -21
  493. package/dist/chunks/cacheStats-0.6.8-ayfpcw3z.mjs +0 -4
  494. package/dist/chunks/caches-0.6.8-z51zt2q7.mjs +0 -1
  495. package/dist/chunks/claudeDesktop-0.6.8-f2s8faxb.mjs +0 -1
  496. package/dist/chunks/claudemd-0.6.8-b32hs73z.mjs +0 -1
  497. package/dist/chunks/clear-0.6.8-wr581077.mjs +0 -1
  498. package/dist/chunks/clearTerminal-0.6.8-n1mdykjw.mjs +0 -1
  499. package/dist/chunks/cli-0.6.8-00w6vgmt.mjs +0 -4
  500. package/dist/chunks/cli-0.6.8-026meybw.mjs +0 -2
  501. package/dist/chunks/cli-0.6.8-070cxjdc.mjs +0 -2
  502. package/dist/chunks/cli-0.6.8-097dncsw.mjs +0 -2
  503. package/dist/chunks/cli-0.6.8-0dtwbbq2.mjs +0 -10
  504. package/dist/chunks/cli-0.6.8-0gpdjv55.mjs +0 -34
  505. package/dist/chunks/cli-0.6.8-0hn9sy42.mjs +0 -2
  506. package/dist/chunks/cli-0.6.8-0mb0d7wn.mjs +0 -3
  507. package/dist/chunks/cli-0.6.8-0mnxmayn.mjs +0 -2
  508. package/dist/chunks/cli-0.6.8-0rt710pa.mjs +0 -2
  509. package/dist/chunks/cli-0.6.8-0s41dm0j.mjs +0 -2
  510. package/dist/chunks/cli-0.6.8-0yz4b8v5.mjs +0 -2
  511. package/dist/chunks/cli-0.6.8-0zdwjw7h.mjs +0 -17
  512. package/dist/chunks/cli-0.6.8-1bmxpdky.mjs +0 -2
  513. package/dist/chunks/cli-0.6.8-1g5hjvgr.mjs +0 -3
  514. package/dist/chunks/cli-0.6.8-1k0se62h.mjs +0 -2
  515. package/dist/chunks/cli-0.6.8-1mnssvmz.mjs +0 -8
  516. package/dist/chunks/cli-0.6.8-1yx8jjck.mjs +0 -2
  517. package/dist/chunks/cli-0.6.8-21y1120z.mjs +0 -2
  518. package/dist/chunks/cli-0.6.8-239wrpj3.mjs +0 -2
  519. package/dist/chunks/cli-0.6.8-259kprym.mjs +0 -2
  520. package/dist/chunks/cli-0.6.8-25he0rqv.mjs +0 -2
  521. package/dist/chunks/cli-0.6.8-2e9hw0b1.mjs +0 -4
  522. package/dist/chunks/cli-0.6.8-2f4081dz.mjs +0 -2
  523. package/dist/chunks/cli-0.6.8-2h6sve00.mjs +0 -12
  524. package/dist/chunks/cli-0.6.8-2nda5zxh.mjs +0 -67
  525. package/dist/chunks/cli-0.6.8-2p06hgb1.mjs +0 -2
  526. package/dist/chunks/cli-0.6.8-2pj7sdxd.mjs +0 -2
  527. package/dist/chunks/cli-0.6.8-2qb9g75m.mjs +0 -2
  528. package/dist/chunks/cli-0.6.8-34gwg749.mjs +0 -2
  529. package/dist/chunks/cli-0.6.8-3a510y9k.mjs +0 -2
  530. package/dist/chunks/cli-0.6.8-3ewbgezt.mjs +0 -2
  531. package/dist/chunks/cli-0.6.8-3phwrcqa.mjs +0 -3
  532. package/dist/chunks/cli-0.6.8-3z78waf8.mjs +0 -4
  533. package/dist/chunks/cli-0.6.8-416cqzak.mjs +0 -2
  534. package/dist/chunks/cli-0.6.8-4a0ebxtv.mjs +0 -2
  535. package/dist/chunks/cli-0.6.8-4avmxq80.mjs +0 -6
  536. package/dist/chunks/cli-0.6.8-4d57xs6b.mjs +0 -2
  537. package/dist/chunks/cli-0.6.8-4jh3r7br.mjs +0 -2
  538. package/dist/chunks/cli-0.6.8-4zdzrvfa.mjs +0 -2
  539. package/dist/chunks/cli-0.6.8-5enet6dq.mjs +0 -2
  540. package/dist/chunks/cli-0.6.8-5gstf2n7.mjs +0 -2
  541. package/dist/chunks/cli-0.6.8-5n9bwjf9.mjs +0 -2
  542. package/dist/chunks/cli-0.6.8-5sexbrs8.mjs +0 -3
  543. package/dist/chunks/cli-0.6.8-5y8n5kpk.mjs +0 -2
  544. package/dist/chunks/cli-0.6.8-6050y1gw.mjs +0 -2
  545. package/dist/chunks/cli-0.6.8-61qkxc3j.mjs +0 -2
  546. package/dist/chunks/cli-0.6.8-6495m72a.mjs +0 -2
  547. package/dist/chunks/cli-0.6.8-6ccg5qmp.mjs +0 -2
  548. package/dist/chunks/cli-0.6.8-6nasamhy.mjs +0 -2
  549. package/dist/chunks/cli-0.6.8-6pf3s7fk.mjs +0 -6
  550. package/dist/chunks/cli-0.6.8-6tgf3xa0.mjs +0 -133
  551. package/dist/chunks/cli-0.6.8-6v315rd0.mjs +0 -2
  552. package/dist/chunks/cli-0.6.8-6wdxaa6q.mjs +0 -3
  553. package/dist/chunks/cli-0.6.8-6z1655sa.mjs +0 -2
  554. package/dist/chunks/cli-0.6.8-72sec87k.mjs +0 -3
  555. package/dist/chunks/cli-0.6.8-77sjcesf.mjs +0 -2
  556. package/dist/chunks/cli-0.6.8-7g7k6yt9.mjs +0 -2
  557. package/dist/chunks/cli-0.6.8-7nqm28z4.mjs +0 -2
  558. package/dist/chunks/cli-0.6.8-7rznct58.mjs +0 -2
  559. package/dist/chunks/cli-0.6.8-7t0cwmv0.mjs +0 -2
  560. package/dist/chunks/cli-0.6.8-7t8gpbd2.mjs +0 -6
  561. package/dist/chunks/cli-0.6.8-82xanm26.mjs +0 -3
  562. package/dist/chunks/cli-0.6.8-883y3p0j.mjs +0 -5348
  563. package/dist/chunks/cli-0.6.8-8cptc9vb.mjs +0 -4
  564. package/dist/chunks/cli-0.6.8-8ezmkwsw.mjs +0 -2
  565. package/dist/chunks/cli-0.6.8-8h913n7t.mjs +0 -2
  566. package/dist/chunks/cli-0.6.8-8jkm4bym.mjs +0 -2
  567. package/dist/chunks/cli-0.6.8-8zc9gtx8.mjs +0 -2
  568. package/dist/chunks/cli-0.6.8-93hp2f5g.mjs +0 -2
  569. package/dist/chunks/cli-0.6.8-9cxxg2ax.mjs +0 -2
  570. package/dist/chunks/cli-0.6.8-9f5w9wre.mjs +0 -2
  571. package/dist/chunks/cli-0.6.8-9m65pb3r.mjs +0 -18
  572. package/dist/chunks/cli-0.6.8-9pkhxd6z.mjs +0 -2
  573. package/dist/chunks/cli-0.6.8-9xem54f8.mjs +0 -2
  574. package/dist/chunks/cli-0.6.8-a7nmnbm4.mjs +0 -2
  575. package/dist/chunks/cli-0.6.8-a8zm3cbn.mjs +0 -5
  576. package/dist/chunks/cli-0.6.8-abapkbf0.mjs +0 -15
  577. package/dist/chunks/cli-0.6.8-ag8hcaw0.mjs +0 -2
  578. package/dist/chunks/cli-0.6.8-atjt49c4.mjs +0 -2
  579. package/dist/chunks/cli-0.6.8-b280gnkv.mjs +0 -1
  580. package/dist/chunks/cli-0.6.8-b2zms4ec.mjs +0 -2
  581. package/dist/chunks/cli-0.6.8-b3v9vbq6.mjs +0 -2
  582. package/dist/chunks/cli-0.6.8-b6c3tmkx.mjs +0 -2
  583. package/dist/chunks/cli-0.6.8-b6f3e10d.mjs +0 -2
  584. package/dist/chunks/cli-0.6.8-bdhpc7zj.mjs +0 -17
  585. package/dist/chunks/cli-0.6.8-bh09cgap.mjs +0 -6
  586. package/dist/chunks/cli-0.6.8-bp3vvgaw.mjs +0 -2
  587. package/dist/chunks/cli-0.6.8-bsqfs15y.mjs +0 -58
  588. package/dist/chunks/cli-0.6.8-bxcjrmby.mjs +0 -2
  589. package/dist/chunks/cli-0.6.8-c838p5hk.mjs +0 -3
  590. package/dist/chunks/cli-0.6.8-cbvnsxaa.mjs +0 -12
  591. package/dist/chunks/cli-0.6.8-cctyv31j.mjs +0 -4
  592. package/dist/chunks/cli-0.6.8-cthp7gx1.mjs +0 -2
  593. package/dist/chunks/cli-0.6.8-cv73s4x5.mjs +0 -4
  594. package/dist/chunks/cli-0.6.8-dk4bw9mq.mjs +0 -3
  595. package/dist/chunks/cli-0.6.8-dpz3wm8v.mjs +0 -2
  596. package/dist/chunks/cli-0.6.8-dvkyrzw7.mjs +0 -5
  597. package/dist/chunks/cli-0.6.8-dwwx58n6.mjs +0 -2
  598. package/dist/chunks/cli-0.6.8-dxtyt1wg.mjs +0 -2
  599. package/dist/chunks/cli-0.6.8-ee7wzgsq.mjs +0 -5
  600. package/dist/chunks/cli-0.6.8-ee9mr0z2.mjs +0 -2
  601. package/dist/chunks/cli-0.6.8-efkksxch.mjs +0 -2
  602. package/dist/chunks/cli-0.6.8-efve08ng.mjs +0 -2
  603. package/dist/chunks/cli-0.6.8-ekkrzmjw.mjs +0 -2
  604. package/dist/chunks/cli-0.6.8-eyg1sq7b.mjs +0 -2
  605. package/dist/chunks/cli-0.6.8-eypwe6gz.mjs +0 -15
  606. package/dist/chunks/cli-0.6.8-fhedvbz1.mjs +0 -15
  607. package/dist/chunks/cli-0.6.8-fnet85r6.mjs +0 -2
  608. package/dist/chunks/cli-0.6.8-g3yp49rz.mjs +0 -2
  609. package/dist/chunks/cli-0.6.8-gcnabbk4.mjs +0 -3
  610. package/dist/chunks/cli-0.6.8-gfsf3tvy.mjs +0 -2
  611. package/dist/chunks/cli-0.6.8-gmzxyn2t.mjs +0 -2
  612. package/dist/chunks/cli-0.6.8-grdpt7ss.mjs +0 -2
  613. package/dist/chunks/cli-0.6.8-gscmwgeh.mjs +0 -4
  614. package/dist/chunks/cli-0.6.8-gtwt16bp.mjs +0 -2
  615. package/dist/chunks/cli-0.6.8-hj3j54vb.mjs +0 -2
  616. package/dist/chunks/cli-0.6.8-hvckc721.mjs +0 -2
  617. package/dist/chunks/cli-0.6.8-j22112y9.mjs +0 -2
  618. package/dist/chunks/cli-0.6.8-j5wfgenk.mjs +0 -2
  619. package/dist/chunks/cli-0.6.8-j81d3bq4.mjs +0 -2
  620. package/dist/chunks/cli-0.6.8-j8mdppyz.mjs +0 -2
  621. package/dist/chunks/cli-0.6.8-janhze0q.mjs +0 -39
  622. package/dist/chunks/cli-0.6.8-jea2s05x.mjs +0 -2
  623. package/dist/chunks/cli-0.6.8-jf4zbgy5.mjs +0 -2
  624. package/dist/chunks/cli-0.6.8-jp8gk6z3.mjs +0 -2
  625. package/dist/chunks/cli-0.6.8-jp9zzk35.mjs +0 -2
  626. package/dist/chunks/cli-0.6.8-jx1wvs6x.mjs +0 -2
  627. package/dist/chunks/cli-0.6.8-k533p6s5.mjs +0 -2
  628. package/dist/chunks/cli-0.6.8-kjfxmp31.mjs +0 -2
  629. package/dist/chunks/cli-0.6.8-kkh9paa3.mjs +0 -2
  630. package/dist/chunks/cli-0.6.8-kv1xtman.mjs +0 -2
  631. package/dist/chunks/cli-0.6.8-kxp0gfzq.mjs +0 -4
  632. package/dist/chunks/cli-0.6.8-m1r6z413.mjs +0 -2
  633. package/dist/chunks/cli-0.6.8-m2hw29ah.mjs +0 -2
  634. package/dist/chunks/cli-0.6.8-m2yf7dzs.mjs +0 -2
  635. package/dist/chunks/cli-0.6.8-ma2wastm.mjs +0 -50
  636. package/dist/chunks/cli-0.6.8-mecr32eb.mjs +0 -24
  637. package/dist/chunks/cli-0.6.8-mkfx6c2h.mjs +0 -7
  638. package/dist/chunks/cli-0.6.8-n3rhca7k.mjs +0 -2
  639. package/dist/chunks/cli-0.6.8-n4ecq63e.mjs +0 -2
  640. package/dist/chunks/cli-0.6.8-nmdsnavk.mjs +0 -2
  641. package/dist/chunks/cli-0.6.8-nwtmpseh.mjs +0 -2
  642. package/dist/chunks/cli-0.6.8-nz7pwsys.mjs +0 -2
  643. package/dist/chunks/cli-0.6.8-p6rhsdxf.mjs +0 -2
  644. package/dist/chunks/cli-0.6.8-pgcmgfht.mjs +0 -2
  645. package/dist/chunks/cli-0.6.8-pmpv80vx.mjs +0 -2
  646. package/dist/chunks/cli-0.6.8-pz3sbced.mjs +0 -25
  647. package/dist/chunks/cli-0.6.8-pzbspy3n.mjs +0 -2
  648. package/dist/chunks/cli-0.6.8-q027tb7b.mjs +0 -2
  649. package/dist/chunks/cli-0.6.8-q3txjpb9.mjs +0 -2
  650. package/dist/chunks/cli-0.6.8-qg557m5n.mjs +0 -2
  651. package/dist/chunks/cli-0.6.8-r1yjkwda.mjs +0 -2
  652. package/dist/chunks/cli-0.6.8-r42pr0w8.mjs +0 -2
  653. package/dist/chunks/cli-0.6.8-r9jgzx43.mjs +0 -2
  654. package/dist/chunks/cli-0.6.8-rewjhmpq.mjs +0 -133
  655. package/dist/chunks/cli-0.6.8-reyv7f1y.mjs +0 -9
  656. package/dist/chunks/cli-0.6.8-rftvcrp4.mjs +0 -2
  657. package/dist/chunks/cli-0.6.8-rw4y8s92.mjs +0 -2
  658. package/dist/chunks/cli-0.6.8-s0geqcvz.mjs +0 -2
  659. package/dist/chunks/cli-0.6.8-s0s7zs2a.mjs +0 -24
  660. package/dist/chunks/cli-0.6.8-s6yd5ybz.mjs +0 -2
  661. package/dist/chunks/cli-0.6.8-s98bd3q2.mjs +0 -2
  662. package/dist/chunks/cli-0.6.8-sn09eprm.mjs +0 -2
  663. package/dist/chunks/cli-0.6.8-sz1r1tvd.mjs +0 -2
  664. package/dist/chunks/cli-0.6.8-sznj03wy.mjs +0 -3
  665. package/dist/chunks/cli-0.6.8-t1kd2tg3.mjs +0 -2
  666. package/dist/chunks/cli-0.6.8-t3th9jjg.mjs +0 -2
  667. package/dist/chunks/cli-0.6.8-ta6qf4we.mjs +0 -20
  668. package/dist/chunks/cli-0.6.8-tb4rrntr.mjs +0 -16
  669. package/dist/chunks/cli-0.6.8-tewmm6rt.mjs +0 -2
  670. package/dist/chunks/cli-0.6.8-tnqnaqpx.mjs +0 -3
  671. package/dist/chunks/cli-0.6.8-tzmx6gz0.mjs +0 -12
  672. package/dist/chunks/cli-0.6.8-tztjt9fh.mjs +0 -4
  673. package/dist/chunks/cli-0.6.8-v582jfcn.mjs +0 -4
  674. package/dist/chunks/cli-0.6.8-v9wg3pvs.mjs +0 -2
  675. package/dist/chunks/cli-0.6.8-vcpys5fx.mjs +0 -2
  676. package/dist/chunks/cli-0.6.8-vf9cagcj.mjs +0 -59
  677. package/dist/chunks/cli-0.6.8-vpaw67v2.mjs +0 -193
  678. package/dist/chunks/cli-0.6.8-vqhtd9ay.mjs +0 -2
  679. package/dist/chunks/cli-0.6.8-vseqtday.mjs +0 -21
  680. package/dist/chunks/cli-0.6.8-vwhx9xjq.mjs +0 -2
  681. package/dist/chunks/cli-0.6.8-wdjsawer.mjs +0 -3
  682. package/dist/chunks/cli-0.6.8-wdq4r1nd.mjs +0 -2
  683. package/dist/chunks/cli-0.6.8-wfy4hqb2.mjs +0 -2
  684. package/dist/chunks/cli-0.6.8-wh069qak.mjs +0 -2
  685. package/dist/chunks/cli-0.6.8-wj4r5nwg.mjs +0 -2
  686. package/dist/chunks/cli-0.6.8-wnjmpcsm.mjs +0 -2
  687. package/dist/chunks/cli-0.6.8-x87v5pq1.mjs +0 -45
  688. package/dist/chunks/cli-0.6.8-xj1ptmgh.mjs +0 -2
  689. package/dist/chunks/cli-0.6.8-y0p6bqj6.mjs +0 -2
  690. package/dist/chunks/cli-0.6.8-y2c1w6bt.mjs +0 -42
  691. package/dist/chunks/cli-0.6.8-y3hnde8e.mjs +0 -2
  692. package/dist/chunks/cli-0.6.8-yvfgg1kg.mjs +0 -2
  693. package/dist/chunks/cli-0.6.8-yvt0y45m.mjs +0 -28
  694. package/dist/chunks/cli-0.6.8-yztx4k12.mjs +0 -18
  695. package/dist/chunks/cli-0.6.8-z4wpf0ah.mjs +0 -2
  696. package/dist/chunks/client-0.6.8-8kz2zw01.mjs +0 -1
  697. package/dist/chunks/color-0.6.8-jhpvc051.mjs +0 -1
  698. package/dist/chunks/compact-0.6.8-0gcf2ncc.mjs +0 -3
  699. package/dist/chunks/config-0.6.8-dxk5q3qr.mjs +0 -1
  700. package/dist/chunks/config-0.6.8-xdt0r55h.mjs +0 -1
  701. package/dist/chunks/constants-0.6.8-49aaqy22.mjs +0 -1
  702. package/dist/chunks/context-0.6.8-tavd1s8s.mjs +0 -1
  703. package/dist/chunks/context-noninteractive-0.6.8-6vagjsgf.mjs +0 -1
  704. package/dist/chunks/conversation-0.6.8-10fvebzj.mjs +0 -1
  705. package/dist/chunks/copilotHeaders-0.6.8-fqca0jf7.mjs +0 -1
  706. package/dist/chunks/copy-0.6.8-rhzw5vyv.mjs +0 -9
  707. package/dist/chunks/cost-0.6.8-w3qf0kpn.mjs +0 -1
  708. package/dist/chunks/createSSHSession-0.6.8-r7cw30nn.mjs +0 -1
  709. package/dist/chunks/createSession-0.6.8-vwbe80jv.mjs +0 -1
  710. package/dist/chunks/debug-0.6.8-pzm167m4.mjs +0 -1
  711. package/dist/chunks/defaultActionDeps-0.6.8-nnx5s7ws.mjs +0 -1367
  712. package/dist/chunks/desktop-0.6.8-ef8y3qjr.mjs +0 -1
  713. package/dist/chunks/detectRepository-0.6.8-3ayp37pd.mjs +0 -1
  714. package/dist/chunks/detection-0.6.8-pdrw5y2x.mjs +0 -1
  715. package/dist/chunks/diff-0.6.8-fxk9tzbd.mjs +0 -1
  716. package/dist/chunks/doctor-0.6.8-ajzrj1jx.mjs +0 -1
  717. package/dist/chunks/doctorDiagnostic-0.6.8-w72jdksp.mjs +0 -1
  718. package/dist/chunks/earlyInput-0.6.8-ca9mzfzf.mjs +0 -1
  719. package/dist/chunks/effort-0.6.8-e6xp1ycv.mjs +0 -10
  720. package/dist/chunks/envLessBridgeConfig-0.6.8-9vz6evg2.mjs +0 -1
  721. package/dist/chunks/envUtils-0.6.8-vq8np9fm.mjs +0 -1
  722. package/dist/chunks/environmentSelection-0.6.8-mf3acav0.mjs +0 -1
  723. package/dist/chunks/environments-0.6.8-k7rgvnpj.mjs +0 -1
  724. package/dist/chunks/errors-0.6.8-svsjkqng.mjs +0 -1
  725. package/dist/chunks/exampleCommands-0.6.8-7qjc7y64.mjs +0 -1
  726. package/dist/chunks/exit-0.6.8-507vwyf9.mjs +0 -1
  727. package/dist/chunks/explorer-0.6.8-25m08xd0.mjs +0 -1
  728. package/dist/chunks/export-0.6.8-w1yn5sa3.mjs +0 -2
  729. package/dist/chunks/extra-usage-0.6.8-sahj9pr6.mjs +0 -1
  730. package/dist/chunks/extra-usage-noninteractive-0.6.8-3r3nczjf.mjs +0 -1
  731. package/dist/chunks/fast-0.6.8-jpkz65vs.mjs +0 -1
  732. package/dist/chunks/feedback-0.6.8-5w9gvrc0.mjs +0 -14
  733. package/dist/chunks/firstPartyEventLogger-0.6.8-b2w3hkeb.mjs +0 -1
  734. package/dist/chunks/git-0.6.8-drry71tr.mjs +0 -1
  735. package/dist/chunks/githubModelsCredentials-0.6.8-4phd2tn9.mjs +0 -1
  736. package/dist/chunks/goal-0.6.8-vp972bd7.mjs +0 -4
  737. package/dist/chunks/grove-0.6.8-9dr81tf3.mjs +0 -1
  738. package/dist/chunks/growthbook-0.6.8-fcwcztdp.mjs +0 -1
  739. package/dist/chunks/headless-0.6.8-m2jzbvg9.mjs +0 -2
  740. package/dist/chunks/heapdump-0.6.8-awp81a34.mjs +0 -6
  741. package/dist/chunks/help-0.6.8-hbsb7av5.mjs +0 -1
  742. package/dist/chunks/hookChains-0.6.8-04mbkzxt.mjs +0 -3
  743. package/dist/chunks/hooks-0.6.8-6x1xc1rx.mjs +0 -1
  744. package/dist/chunks/hooks-0.6.8-80h8h076.mjs +0 -79
  745. package/dist/chunks/ide-0.6.8-7vbxnmby.mjs +0 -3
  746. package/dist/chunks/image-processor-napi-0.6.8-8m23kpm0.mjs +0 -1
  747. package/dist/chunks/inboundAttachments-0.6.8-wcyd47px.mjs +0 -1
  748. package/dist/chunks/index-0.6.8-1q3w68f1.mjs +0 -1
  749. package/dist/chunks/index-0.6.8-1w8hv7a8.mjs +0 -1
  750. package/dist/chunks/index-0.6.8-2sp7v8r9.mjs +0 -2
  751. package/dist/chunks/index-0.6.8-3782mjyy.mjs +0 -1
  752. package/dist/chunks/index-0.6.8-6eeqw069.mjs +0 -1
  753. package/dist/chunks/index-0.6.8-7dmsg46k.mjs +0 -5
  754. package/dist/chunks/index-0.6.8-7prxs8kr.mjs +0 -1
  755. package/dist/chunks/index-0.6.8-azcjsyp8.mjs +0 -1
  756. package/dist/chunks/index-0.6.8-ccq5xheq.mjs +0 -2
  757. package/dist/chunks/index-0.6.8-dkdk0g9j.mjs +0 -1
  758. package/dist/chunks/index-0.6.8-dv8qe20v.mjs +0 -1
  759. package/dist/chunks/index-0.6.8-fsfq8ekm.mjs +0 -1
  760. package/dist/chunks/index-0.6.8-k3r9pz8v.mjs +0 -1
  761. package/dist/chunks/index-0.6.8-ke45hjqk.mjs +0 -1
  762. package/dist/chunks/index-0.6.8-kvjzqm75.mjs +0 -9
  763. package/dist/chunks/index-0.6.8-m9y8nqmz.mjs +0 -30
  764. package/dist/chunks/index-0.6.8-mc1wvtc8.mjs +0 -1
  765. package/dist/chunks/index-0.6.8-svxnm6ph.mjs +0 -1
  766. package/dist/chunks/index-0.6.8-vvg8dg6z.mjs +0 -9
  767. package/dist/chunks/index-0.6.8-wec8yb9e.mjs +0 -1
  768. package/dist/chunks/index-0.6.8-y535r49s.mjs +0 -1
  769. package/dist/chunks/index-0.6.8-yf6035wh.mjs +0 -1
  770. package/dist/chunks/index-0.6.8-zcf4qg35.mjs +0 -1
  771. package/dist/chunks/init-0.6.8-brwjmnyg.mjs +0 -1
  772. package/dist/chunks/initReplBridge-0.6.8-5jcj5ax3.mjs +0 -1
  773. package/dist/chunks/ink-0.6.8-cts7p4b7.mjs +0 -1
  774. package/dist/chunks/insights-0.6.8-h5b5ve9h.mjs +0 -870
  775. package/dist/chunks/install-0.6.8-e3gdw6r9.mjs +0 -1
  776. package/dist/chunks/install-github-app-0.6.8-hh3mzyfs.mjs +0 -149
  777. package/dist/chunks/install-slack-app-0.6.8-n4pb88x6.mjs +0 -1
  778. package/dist/chunks/instrumentation-0.6.8-67ewcnwm.mjs +0 -1
  779. package/dist/chunks/interactiveHelpers-0.6.8-ryjx3tbw.mjs +0 -1
  780. package/dist/chunks/keybindings-0.6.8-8v6q91kq.mjs +0 -2
  781. package/dist/chunks/knowledge-0.6.8-dn40ytkg.mjs +0 -2
  782. package/dist/chunks/latestVersionCache-0.6.8-xx081act.mjs +0 -1
  783. package/dist/chunks/loadAgentsDir-0.6.8-vhh6hfk9.mjs +0 -1
  784. package/dist/chunks/loadPluginHooks-0.6.8-p15wjdk7.mjs +0 -1
  785. package/dist/chunks/loadPluginHooks-0.6.8-tjd9ekbf.mjs +0 -1
  786. package/dist/chunks/log-0.6.8-srvm2n7a.mjs +0 -1
  787. package/dist/chunks/main-0.6.8-5mcvdtte.mjs +0 -1
  788. package/dist/chunks/managedEnv-0.6.8-3m2x6zgp.mjs +0 -1
  789. package/dist/chunks/mcp-0.6.8-3dztd40j.mjs +0 -17
  790. package/dist/chunks/mcp-0.6.8-5msk2pvy.mjs +0 -4
  791. package/dist/chunks/mcp-0.6.8-nxyt74pa.mjs +0 -1
  792. package/dist/chunks/mcpb-0.6.8-v8q530w6.mjs +0 -1
  793. package/dist/chunks/memory-0.6.8-1pkjxmpb.mjs +0 -3
  794. package/dist/chunks/model-0.6.8-00wgempd.mjs +0 -2
  795. package/dist/chunks/model-0.6.8-99m80ayt.mjs +0 -1
  796. package/dist/chunks/node-0.6.8-b8rvxhkh.mjs +0 -12
  797. package/dist/chunks/oauth-0.6.8-c2r6j7j0.mjs +0 -1
  798. package/dist/chunks/openaiShim-0.6.8-z736wyft.mjs +0 -14
  799. package/dist/chunks/output-style-0.6.8-586m3zta.mjs +0 -1
  800. package/dist/chunks/package-FMOR3ELU-0.6.8-xe49mr3f.mjs +0 -1
  801. package/dist/chunks/parseConnectUrl-0.6.8-wawy5rxc.mjs +0 -1
  802. package/dist/chunks/parser-0.6.8-zjc9fwme.mjs +0 -1
  803. package/dist/chunks/passes-0.6.8-mn4rnfm9.mjs +0 -1
  804. package/dist/chunks/permissions-0.6.8-jdgt2sv8.mjs +0 -1
  805. package/dist/chunks/permissions-0.6.8-z6ybrhdp.mjs +0 -3
  806. package/dist/chunks/plan-0.6.8-9h16p6t0.mjs +0 -1
  807. package/dist/chunks/plist-0.6.8-ras7a7wc.mjs +0 -1
  808. package/dist/chunks/plugin-0.6.8-0p0a1k4b.mjs +0 -29
  809. package/dist/chunks/pluginStartupCheck-0.6.8-ff7hmaes.mjs +0 -1
  810. package/dist/chunks/plugins-0.6.8-fbp29vr3.mjs +0 -9
  811. package/dist/chunks/preActionHook-0.6.8-1qt932q1.mjs +0 -2
  812. package/dist/chunks/print-0.6.8-tm9918yr.mjs +0 -57
  813. package/dist/chunks/privacy-settings-0.6.8-5e2yd64z.mjs +0 -1
  814. package/dist/chunks/process-0.6.8-mqtgb3cx.mjs +0 -1
  815. package/dist/chunks/processBashCommand-0.6.8-xtx2v6da.mjs +0 -1
  816. package/dist/chunks/processSlashCommand-0.6.8-xgvzddwk.mjs +0 -9
  817. package/dist/chunks/prompt-0.6.8-57r1r589.mjs +0 -1
  818. package/dist/chunks/prompt-0.6.8-npwq825f.mjs +0 -1
  819. package/dist/chunks/prompts-0.6.8-ta5q8t8a.mjs +0 -1
  820. package/dist/chunks/protocolHandler-0.6.8-mf45pq35.mjs +0 -13
  821. package/dist/chunks/provider-0.6.8-pemvh2k5.mjs +0 -2
  822. package/dist/chunks/providerProfiles-0.6.8-t4rbsxrj.mjs +0 -1
  823. package/dist/chunks/providerValidation-0.6.8-jvfz53fe.mjs +0 -6
  824. package/dist/chunks/rate-limit-options-0.6.8-egm6fsa2.mjs +0 -1
  825. package/dist/chunks/registerSubcommands-0.6.8-c33k54ns.mjs +0 -34
  826. package/dist/chunks/registry-0.6.8-v7m02nk2.mjs +0 -1
  827. package/dist/chunks/release-notes-0.6.8-wwv5r86y.mjs +0 -5
  828. package/dist/chunks/reload-plugins-0.6.8-72v51g0k.mjs +0 -2
  829. package/dist/chunks/remote-env-0.6.8-gn37jake.mjs +0 -1
  830. package/dist/chunks/remoteBridgeCore-0.6.8-7cd0x0sw.mjs +0 -1
  831. package/dist/chunks/remoteSession-0.6.8-tr5ph176.mjs +0 -1
  832. package/dist/chunks/rename-0.6.8-8jb90c48.mjs +0 -1
  833. package/dist/chunks/replBridgeHandle-0.6.8-znyhk31n.mjs +0 -1
  834. package/dist/chunks/replLauncher-0.6.8-we5yqk5n.mjs +0 -1
  835. package/dist/chunks/resume-0.6.8-x8vd5cdx.mjs +0 -2
  836. package/dist/chunks/rewind-0.6.8-dg7aawme.mjs +0 -1
  837. package/dist/chunks/rootOptions-0.6.8-ezrfenmz.mjs +0 -1
  838. package/dist/chunks/sandbox-adapter-0.6.8-cfj9xd48.mjs +0 -1
  839. package/dist/chunks/sandbox-toggle-0.6.8-mffa8yr5.mjs +0 -1
  840. package/dist/chunks/session-0.6.8-6pyjb4jn.mjs +0 -2
  841. package/dist/chunks/sessionDiscovery-0.6.8-e3h9zvrp.mjs +0 -1
  842. package/dist/chunks/sessionFileAccessHooks-0.6.8-5q6x4jx9.mjs +0 -1
  843. package/dist/chunks/sessionStorage-0.6.8-3tvaj86g.mjs +0 -1
  844. package/dist/chunks/settings-0.6.8-m72ttv29.mjs +0 -1
  845. package/dist/chunks/setup-0.6.8-f3y64bte.mjs +0 -5
  846. package/dist/chunks/sinks-0.6.8-t8e55v3b.mjs +0 -1
  847. package/dist/chunks/skills-0.6.8-17ktqb7y.mjs +0 -1
  848. package/dist/chunks/startupProfiler-0.6.8-qj52vcw4.mjs +0 -1
  849. package/dist/chunks/startupUpdateCheck-0.6.8-51vrdbj6.mjs +0 -1
  850. package/dist/chunks/state-0.6.8-pwxe3dfk.mjs +0 -1
  851. package/dist/chunks/stats-0.6.8-fc152nhd.mjs +0 -6
  852. package/dist/chunks/status-0.6.8-bjgdnsz8.mjs +0 -1
  853. package/dist/chunks/stickers-0.6.8-dndn2kp3.mjs +0 -1
  854. package/dist/chunks/subprocessEnv-0.6.8-zzdkzkpq.mjs +0 -1
  855. package/dist/chunks/tasks-0.6.8-zjm7dnep.mjs +0 -1
  856. package/dist/chunks/teamHelpers-0.6.8-prrabxj1.mjs +0 -1
  857. package/dist/chunks/teammateModeSnapshot-0.6.8-21bj5sj0.mjs +0 -1
  858. package/dist/chunks/teleport-0.6.8-jvcjg7d7.mjs +0 -1
  859. package/dist/chunks/terminalSetup-0.6.8-9y4235w1.mjs +0 -1
  860. package/dist/chunks/theme-0.6.8-wvdhk95e.mjs +0 -1
  861. package/dist/chunks/thinkback-0.6.8-8dn71z5r.mjs +0 -1
  862. package/dist/chunks/thinkback-play-0.6.8-agrskwfn.mjs +0 -1
  863. package/dist/chunks/toolPool-0.6.8-90318hbv.mjs +0 -1
  864. package/dist/chunks/toolSearch-0.6.8-eyr73a52.mjs +0 -1
  865. package/dist/chunks/tools-0.6.8-mdjqydpm.mjs +0 -1
  866. package/dist/chunks/trustedDevice-0.6.8-b7fae7s5.mjs +0 -1
  867. package/dist/chunks/turndown.cjs-0.6.8-sgzhfavm.mjs +0 -69
  868. package/dist/chunks/types-0.6.8-4gf5x9jb.mjs +0 -1
  869. package/dist/chunks/ultrareviewCommand-0.6.8-5cdef89y.mjs +0 -4
  870. package/dist/chunks/update-0.6.8-hv3gahmz.mjs +0 -86
  871. package/dist/chunks/upgrade-0.6.8-w044cw9y.mjs +0 -1
  872. package/dist/chunks/upload-0.6.8-er3nq389.mjs +0 -7
  873. package/dist/chunks/upstreamproxy-0.6.8-zfg8pv8q.mjs +0 -14
  874. package/dist/chunks/url-handler-napi-0.6.8-1q2hrhb3.mjs +0 -1
  875. package/dist/chunks/usage-0.6.8-pc8gdf6b.mjs +0 -1
  876. package/dist/chunks/util-0.6.8-rt8y16fm.mjs +0 -1
  877. package/dist/chunks/utils-0.6.8-8nsbk9w4.mjs +0 -1
  878. package/dist/chunks/vim-0.6.8-y1wq10k6.mjs +0 -1
  879. package/dist/chunks/watcher-0.6.8-hq0y1y68.mjs +0 -1
  880. package/dist/chunks/wiki-0.6.8-jqbmvz1r.mjs +0 -132
  881. package/dist/chunks/worktree-0.6.8-hn8ac7q6.mjs +0 -1
  882. package/dist/chunks/worktreeModeEnabled-0.6.8-k0yys6b0.mjs +0 -1
  883. package/dist/chunks/wrapper-0.6.8-r1wx821t.mjs +0 -7
  884. /package/dist/chunks/{cli-0.6.8-0fra5z78.mjs → cli-0.6.10-1cr6dzck.mjs} +0 -0
  885. /package/dist/chunks/{cli-0.6.8-9bt8c69s.mjs → cli-0.6.10-8grbj06a.mjs} +0 -0
  886. /package/dist/chunks/{cli-0.6.8-akzaeas1.mjs → cli-0.6.10-9k81xmw8.mjs} +0 -0
  887. /package/dist/chunks/{cli-0.6.8-7cychtp8.mjs → cli-0.6.10-aywg0dk7.mjs} +0 -0
  888. /package/dist/chunks/{cli-0.6.8-0s2z302k.mjs → cli-0.6.10-dhp14pdf.mjs} +0 -0
  889. /package/dist/chunks/{cli-0.6.8-aasxytdk.mjs → cli-0.6.10-dn50fre7.mjs} +0 -0
  890. /package/dist/chunks/{cli-0.6.8-fe86xfp4.mjs → cli-0.6.10-xp9mthnh.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{nd as Z,od as _,pd as $,sd as O}from"./cli-0.6.10-jrnddxjb.mjs";import{Jd as Y,Od as x}from"./cli-0.6.10-bz35vcq0.mjs";import{VJ as U,_J as W,dK as S,eK as X,oK as V}from"./cli-0.6.10-fh0qe3jw.mjs";import{Rha as R,Uha as K}from"./cli-0.6.10-zqv22c50.mjs";import{jia as Q,qia as C}from"./cli-0.6.10-87cpzzxg.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 Ia};
@@ -0,0 +1,2 @@
1
+ import{$K as N,RK as C,iL as $,jL as k,pL as V}from"./cli-0.6.10-fh0qe3jw.mjs";import{FX as P,FZ as D,_Y as f,aZ as t,eZ as v}from"./cli-0.6.10-ajjmvx3c.mjs";import{L1 as n,M1 as i,N1 as M}from"./cli-0.6.10-gj0a1s24.mjs";import{Kpa as w,Opa as L}from"./cli-0.6.10-yr88z6pr.mjs";function W(o){let e=b.c(26),{scope:r,parsingErrors:s,warnings:m}=o,a=s.length>0,g=m.length>0;if(!a&&!g)return null;let p;if(e[0]!==a||e[1]!==g)p=(a||g)&&i(t,{color:a?"error":"warning",children:["[",a?"Failed to parse":"Contains warnings","]"," "]}),e[0]=a,e[1]=g,e[2]=p;else p=e[2];let c;if(e[3]!==r)c=k(r),e[3]=r,e[4]=c;else c=e[4];let l;if(e[5]!==c)l=n(t,{children:c}),e[5]=c,e[6]=l;else l=e[6];let u;if(e[7]!==p||e[8]!==l)u=i(f,{children:[p,l]}),e[7]=p,e[8]=l,e[9]=u;else u=e[9];let E;if(e[10]===Symbol.for("react.memo_cache_sentinel"))E=n(t,{dimColor:!0,children:"Location: "}),e[10]=E;else E=e[10];let h;if(e[11]!==r)h=$(r),e[11]=r,e[12]=h;else h=e[12];let d;if(e[13]!==h)d=i(f,{children:[E,n(t,{dimColor:!0,children:h})]}),e[13]=h,e[14]=d;else d=e[14];let T;if(e[15]!==s)T=s.map(F),e[15]=s,e[16]=T;else T=e[16];let _;if(e[17]!==m)_=m.map(x),e[17]=m,e[18]=_;else _=e[18];let y;if(e[19]!==T||e[20]!==_)y=i(f,{marginLeft:1,flexDirection:"column",children:[T,_]}),e[19]=T,e[20]=_,e[21]=y;else y=e[21];let S;if(e[22]!==y||e[23]!==u||e[24]!==d)S=i(f,{flexDirection:"column",marginTop:1,children:[u,d,y]}),e[22]=y,e[23]=u,e[24]=d,e[25]=S;else S=e[25];return S}function x(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"warning",children:"[Warning]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`warning-${e}`)}function F(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"error",children:"[Error]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`error-${e}`)}function J(){let o=b.c(6),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e={scope:"user",config:C("user")},o[0]=e;else e=o[0];let r;if(o[1]===Symbol.for("react.memo_cache_sentinel"))r={scope:"project",config:C("project")},o[1]=r;else r=o[1];let s;if(o[2]===Symbol.for("react.memo_cache_sentinel"))s={scope:"local",config:C("local")},o[2]=s;else s=o[2];let m;if(o[3]===Symbol.for("react.memo_cache_sentinel"))m=[e,r,s,{scope:"enterprise",config:C("enterprise")}],o[3]=m;else m=o[3];let a=m,g=a.some(q),p=a.some(R);if(!g&&!p)return null;let c;if(o[4]===Symbol.for("react.memo_cache_sentinel"))c=n(t,{bold:!0,children:"MCP Config Diagnostics"}),o[4]=c;else c=o[4];let l;if(o[5]===Symbol.for("react.memo_cache_sentinel"))l=i(f,{flexDirection:"column",marginTop:1,marginBottom:1,children:[c,n(f,{marginTop:1,children:i(t,{dimColor:!0,children:["For help configuring MCP servers, see:"," ",n(v,{url:"https://code.claude.com/docs/en/mcp",children:"https://code.claude.com/docs/en/mcp"})]})}),a.map(A)]}),o[5]=l;else l=o[5];return l}function A(o){let{scope:e,config:r}=o;return n(W,{scope:e,parsingErrors:B(r.errors,"fatal"),warnings:B(r.errors,"warning")},e)}function R(o){let{config:e}=o;return B(e.errors,"warning").length>0}function q(o){let{config:e}=o;return B(e.errors,"fatal").length>0}function B(o,e){return o.filter((r)=>r.mcpErrorMetadata?.severity===e)}var b;var z=L(()=>{N();V();D();M();b=w(P(),1)});
2
+ export{J as ng,z as og};
@@ -0,0 +1,2 @@
1
+ import{U5 as f,c3 as j,f3 as I,m5 as b,n5 as c,s6 as d}from"./cli-0.6.10-zyvt1jxy.mjs";import{Q7 as F,R7 as D}from"./cli-0.6.10-4tqfq3bh.mjs";import{gea as y,oea as T}from"./cli-0.6.10-3nht1qk2.mjs";import{Ufa as $,Vfa as R,Wfa as _,Xfa as E}from"./cli-0.6.10-wnwqatq5.mjs";import{Mga as q,Nga as m}from"./cli-0.6.10-r6n3t4y5.mjs";import{Rha as W,Uha as z,uha as M,zha as U}from"./cli-0.6.10-zqv22c50.mjs";import{iia as k,jia as Y,qia as O}from"./cli-0.6.10-87cpzzxg.mjs";import{cpa as X,upa as h}from"./cli-0.6.10-tgw0ne6b.mjs";import{Opa as A}from"./cli-0.6.10-yr88z6pr.mjs";import{randomUUID as l}from"crypto";function p(J){if(!X.isAxiosError(J))return!1;if(!J.response)return!0;if(J.response.status>=500)return!0;return!1}async function u(J,B){let N;for(let K=0;K<=x;K++)try{return await X.get(J,B)}catch(Q){if(N=Q,!p(Q))throw Q;if(K>=x)throw W(`Teleport request failed after ${K+1} attempts: ${Y(Q)}`),Q;let V=S[K]??2000;W(`Teleport request failed (attempt ${K+1}/${x+1}), retrying in ${V}ms: ${Y(Q)}`),await b(V)}throw N}async function C(){let J=f()?.accessToken;if(J===void 0)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let B=await j();if(!B)throw Error("Unable to get organization UUID");return{accessToken:J,orgUUID:B}}async function NJ(){let{accessToken:J,orgUUID:B}=await C(),N=`${q().BASE_API_URL}/v1/sessions`;try{let K={...L(J),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},Q=await u(N,{headers:K});if(Q.status!==200)throw Error(`Failed to fetch code sessions: ${Q.statusText}`);return Q.data.data.map((Z)=>{let v=Z.session_context.sources.find((G)=>G.type==="git_repository"),H=null;if(v?.url){let G=F(v.url);if(G){let[w,P]=G.split("/");if(w&&P)H={name:P,owner:{login:w},default_branch:v.revision||void 0}}}return{id:Z.id,title:Z.title||"Untitled",description:"",status:Z.session_status,repo:H,turns:[],created_at:Z.created_at,updated_at:Z.updated_at}})}catch(K){let Q=k(K);throw y(Q),K}}function L(J){return{Authorization:`Bearer ${J}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"}}async function WJ(J){let{accessToken:B,orgUUID:N}=await C(),K=`${q().BASE_API_URL}/v1/sessions/${J}`,Q={...L(B),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":N},V=await X.get(K,{headers:Q,timeout:15000,validateStatus:(Z)=>Z<500});if(V.status!==200){let v=V.data?.error?.message;if(V.status===404)throw Error(`Session not found: ${J}`);if(V.status===401)throw Error("Session expired. Please run /login to sign in again.");throw Error(v||`Failed to fetch session: ${V.status} ${V.statusText}`)}return V.data}function GJ(J){return J.session_context.outcomes?.find((N)=>N.type==="git_repository")?.git_info?.branches[0]}async function vJ(J,B,N){try{let{accessToken:K,orgUUID:Q}=await C(),V=`${q().BASE_API_URL}/v1/sessions/${J}/events`,Z={...L(K),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":Q},H={events:[{uuid:N?.uuid??l(),session_id:J,type:"user",parent_tool_use_id:null,message:{role:"user",content:B}}]};W(`[sendEventToRemoteSession] Sending event to session ${J}`);let G=await X.post(V,H,{headers:Z,validateStatus:(w)=>w<500,timeout:30000});if(G.status===200||G.status===201)return W(`[sendEventToRemoteSession] Successfully sent event to session ${J}`),!0;return W(`[sendEventToRemoteSession] Failed with status ${G.status}: ${M(G.data)}`),!1}catch(K){return W(`[sendEventToRemoteSession] Error: ${Y(K)}`),!1}}async function XJ(J,B){try{let{accessToken:N,orgUUID:K}=await C(),Q=`${q().BASE_API_URL}/v1/sessions/${J}`,V={...L(N),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":K};W(`[updateSessionTitle] Updating title for session ${J}: "${B}"`);let Z=await X.patch(Q,{title:B},{headers:V,validateStatus:(v)=>v<500});if(Z.status===200)return W(`[updateSessionTitle] Successfully updated title for session ${J}`),!0;return W(`[updateSessionTitle] Failed with status ${Z.status}: ${M(Z.data)}`),!1}catch(N){return W(`[updateSessionTitle] Error: ${Y(N)}`),!1}}var S,x,$J="ccr-byoc-2025-07-29",BJ;var g=A(()=>{h();m();I();R();d();z();D();O();E();T();c();U();S=[2000,4000,8000,16000],x=S.length;BJ=_(()=>$.object({id:$.string(),title:$.string(),description:$.string(),status:$.enum(["idle","working","waiting","completed","archived","cancelled","rejected"]),repo:$.object({name:$.string(),owner:$.object({login:$.string()}),default_branch:$.string().optional()}).nullable(),turns:$.array($.string()),created_at:$.string(),updated_at:$.string()}))});
2
+ export{$J as Y1,p as Z1,u as _1,BJ as $1,C as a2,NJ as b2,L as c2,WJ as d2,GJ as e2,vJ as f2,XJ as g2,g as h2};
@@ -0,0 +1,4 @@
1
+ import{Jpa as Z}from"./cli-0.6.10-0fr4nchy.mjs";import{Mpa as Y,Ppa as O}from"./cli-0.6.10-yr88z6pr.mjs";var ye=Y((he)=>{var R=O("node:https"),$=Z(),z=O("node:stream"),D=O("node:http2");function H(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var ee=["ECONNRESET","EPIPE","ETIMEDOUT"],Q=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,te=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},oe=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},ne=3000,se=(e,{keepAlive:t,keepAliveMsecs:n},o=ne)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,re=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function V(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ie(e,t.body)}function ie(e,t){if(t instanceof z.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ce=0,_=void 0,q=void 0;class I{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new I(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
2
+ See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
3
+ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,s=e.protocol==="https:";if(!s&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((r,c)=>{let u=void 0,f=-1,l=-1,m=-1,y=-1,A=-1,b=()=>{d.clearTimeout(f),d.clearTimeout(l),d.clearTimeout(m),d.clearTimeout(y),d.clearTimeout(A)},U=async(i)=>{await u,b(),r(i)},p=async(i)=>{await u,b(),c(i)};if(t?.aborted){let i=H(t);p(i);return}let x=e.headers,M=x?(x.Expect??x.expect)==="100-continue":!1,C=s?o.httpsAgent:o.httpAgent;if(M&&!this.externalAgent)C=new(s?R.Agent:_)({keepAlive:!1,maxSockets:1/0});f=d.setTimeout(()=>{this.socketWarningTimestamp=I.checkSocketUsage(C,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000));let P=e.query?$.buildQueryString(e.query):"",S=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",a=e.password??"";S=`${i}:${a}`}let w=e.path;if(P)w+=`?${P}`;if(e.fragment)w+=`#${e.fragment}`;let T=e.hostname??"";if(T[0]==="["&&T.endsWith("]"))T=e.hostname.slice(1,-1);else T=e.hostname;let v={headers:e.headers,host:T,method:e.method,path:w,port:e.port,agent:C,auth:S},h=(s?R.request:q)(v,(i)=>{let a=new $.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:Q(i.headers),body:i});U({response:a})});if(h.on("error",(i)=>{if(ee.includes(i.code))p(Object.assign(i,{name:"TimeoutError"}));else p(i)}),t){let i=()=>{h.destroy();let a=H(t);p(a)};if(typeof t.addEventListener==="function"){let a=t;a.addEventListener("abort",i,{once:!0}),h.once("close",()=>a.removeEventListener("abort",i))}else t.onabort=i}let k=n??o.requestTimeout;l=te(h,p,o.connectionTimeout),m=oe(h,p,k,o.throwOnRequestTimeout,o.logger??console),y=re(h,p,o.socketTimeout);let E=v.agent;if(typeof E==="object"&&"keepAlive"in E)A=se(h,{keepAlive:E.keepAlive,keepAliveMsecs:E.keepAliveMsecs});u=V(h,e,k,this.externalAgent).catch((i)=>{return b(),c(i)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:s,httpAgent:r,httpsAgent:c,throwOnRequestTimeout:u,logger:f}=e||{},l=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:u,httpAgentProvider:async()=>{let{Agent:y,request:A}=await import("node:http");if(q=A,_=y,r instanceof _||typeof r?.destroy==="function")return this.externalAgent=!0,r;return new _({keepAlive:!0,maxSockets:50,...r})},httpsAgent:(()=>{if(c instanceof R.Agent||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new R.Agent({keepAlive:!0,maxSockets:50,...c})})(),logger:f}}}var ae=new Uint16Array(1);class L{id=ae[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.destroy()}useCount(){return this.refs}}class K{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new L(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class J{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let n=this.getUrlString(e),o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){let f=o.poll();if(f)return f.retain(),f}let s=new L(this.connect(n)),r=s.deref();if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(f)=>{if(f)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let c=()=>{this.removeFromPoolAndClose(n,s)},u=()=>{this.removeFromPoolAndCheckedDestroy(n,s)};if(r.on("goaway",c),r.on("error",u),r.on("frameError",u),r.on("close",u),t.requestTimeout)r.setTimeout(t.requestTimeout,u);return o.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let n=this.getUrlString(e),o=new L(this.connect(n)),s=o.deref();s.settings({maxConcurrentStreams:1});let r=()=>{o.destroy()};if(s.on("error",r),s.on("frameError",r),s.on("close",r),t.requestTimeout)s.setTimeout(t.requestTimeout,r);return o.retain(),o}destroy(){for(let[e,t]of this.connectionPools){for(let n of[...t])n.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,n]of this.connectionPools){let o=[];for(let s of n)o.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new K;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?D.connect(e):D.connect(e,this.connectOptions)}}class B{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new J({});static create(e){if(typeof e?.handle==="function")return e;return new B(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:o}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:f,maxConcurrentStreams:l,nodeHttp2ConnectOptions:m}=this.config;if(this.connectionManager.setDisableConcurrentStreams(f??!1),l)this.connectionManager.setMaxConcurrentStreams(l);if(m)this.connectionManager.setNodeHttp2ConnectOptions(m)}let{requestTimeout:s,disableConcurrentStreams:r}=this.config,c=r||o,u=n??s;return new Promise((f,l)=>{let m=!1,y=void 0,A=async(a)=>{await y,f(a)},b=async(a)=>{await y,l(a)};if(t?.aborted){m=!0;let a=H(t);b(a);return}let{hostname:U,method:p,port:x,protocol:M,query:C}=e,P="";if(e.username!=null||e.password!=null){let a=e.username??"",g=e.password??"";P=`${a}:${g}@`}let S=`${M}//${P}${U}${x?`:${x}`:""}`,w={destination:new URL(S)},T={requestTimeout:this.config?.sessionTimeout,isEventStream:o},v=c?this.connectionManager.createIsolatedSession(w,T):this.connectionManager.lease(w,T),N=v.deref(),h=(a)=>{if(c)v.destroy();m=!0,b(a)},k=C?$.buildQueryString(C):"",E=e.path;if(k)E+=`?${k}`;if(e.fragment)E+=`#${e.fragment}`;let i=N.request({...e.headers,[D.constants.HTTP2_HEADER_PATH]:E,[D.constants.HTTP2_HEADER_METHOD]:p});if(u)i.setTimeout(u,()=>{i.close();let a=Error(`Stream timed out because of no activity for ${u} ms`);a.name="TimeoutError",h(a)});if(t){let a=()=>{i.close();let g=H(t);h(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",a,{once:!0}),i.once("close",()=>g.removeEventListener("abort",a))}else t.onabort=a}i.on("frameError",(a,g,X)=>{h(Error(`Frame type id ${a} in stream id ${X} has failed with code ${g}.`))}),i.on("error",h),i.on("aborted",()=>{h(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${i.rstCode}.`))}),i.on("response",(a)=>{let g=new $.HttpResponse({statusCode:a[":status"]??-1,headers:Q(a),body:i});if(m=!0,A({response:g}),c)N.close()}),i.on("close",()=>{if(c)v.destroy();else this.connectionManager.release(w,v);if(!m)h(Error("Unexpected error: http2 request did not get a response"))}),y=V(i,e,u)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}class G extends z.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var ue=(e)=>{if(fe(e))return de(e);return new Promise((t,n)=>{let o=new G;e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.bufferedBytes));t(s)})})},fe=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function de(e){let t=[],n=e.getReader(),o=!1,s=0;while(!o){let{done:u,value:f}=await n.read();if(f)t.push(f),s+=f.length;o=u}let r=new Uint8Array(s),c=0;for(let u of t)r.set(u,c),c+=u.length;return r}he.DEFAULT_REQUEST_TIMEOUT=ce;he.NodeHttp2Handler=B;he.NodeHttpHandler=I;he.streamCollector=ue});
4
+ export{ye as Cpa};
@@ -0,0 +1,2 @@
1
+ import{Opa as j}from"./cli-0.6.10-yr88z6pr.mjs";function C(){return`claude-swarm-${process.pid}`}var x="team-lead",y="claude-swarm",z="swarm-view",A="tmux",B="claude-hidden",D="CLAUDE_CODE_TEAMMATE_COMMAND";var k=()=>{};
2
+ export{x as B1,y as C1,z as D1,A as E1,B as F1,C as G1,D as H1,k as I1};
@@ -0,0 +1,12 @@
1
+ import{kg as $Z,lg as uZ,mg as fz}from"./cli-0.6.10-4bwskbrr.mjs";import{sh as HJ,th as Vz}from"./cli-0.6.10-6bnz1wsy.mjs";import{Dh as GJ,Eh as Bz}from"./cli-0.6.10-n91j8t48.mjs";import{AP as eJ,Az as dJ,BP as ZQ,Bz as cQ,CP as oQ,Cz as cJ,DP as tQ,FP as OZ,Gn as XQ,Hj as _Z,Ij as TQ,In as xZ,Iz as e0,Jz as gJ,Kz as mJ,Lz as nJ,My as pQ,Mz as yz,Ny as PX,Qj as IJ,Rj as SJ,Ru as UQ,Sn as WQ,Su as jQ,Tu as $Q,Uu as uQ,Uy as dQ,VR as VQ,Vy as DX,Wn as uz,XO as mQ,Yj as pJ,Yu as MQ,ZR as KQ,Zu as EQ,_r as NJ,aS as fZ,cs as Uz,in as zQ,jn as $z,mS as BQ,mv as fQ,nP as nQ,pk as mZ,pv as AX,qk as FX,qn as RQ,rP as iQ,rn as wX,sP as lQ,uP as nZ,vP as aQ,xP as g0,xz as SZ,yP as rQ,yz as hZ,zz as TZ}from"./cli-0.6.10-fh0qe3jw.mjs";import{fT as xQ,oT as OX}from"./cli-0.6.10-k0qapztr.mjs";import{KW as YJ,OW as qz,PW as UZ,QW as NX,pW as FZ,qW as qJ}from"./cli-0.6.10-r261gqbz.mjs";import{$X as c0,$Y as DQ,CY as jZ,DY as Jz,FX as u0,FZ as p0,TY as hQ,UY as KX,_Y as b,aZ as g,bZ as JX,dY as vZ,vX as WJ,wX as Wz}from"./cli-0.6.10-ajjmvx3c.mjs";import{K1 as f0,L1 as B,M1 as $,N1 as F0}from"./cli-0.6.10-gj0a1s24.mjs";import{O1 as S0}from"./cli-0.6.10-w0xpqx8x.mjs";import{i2 as VJ,j2 as BJ,k2 as Yz}from"./cli-0.6.10-5qrbfb57.mjs";import{P5 as JQ,Z5 as QQ,m5 as PQ,n5 as ZX,s5 as JZ,s6 as xz,v5 as QZ}from"./cli-0.6.10-zyvt1jxy.mjs";import{O6 as gZ,P6 as GX}from"./cli-0.6.10-x8wy7g7p.mjs";import{$7 as zJ,Haa as LZ,Kca as HQ,Paa as XJ,_7 as v0,b$ as SQ,pca as DZ,x$ as LX}from"./cli-0.6.10-3nht1qk2.mjs";import{Eea as ZZ,Lea as hz,tea as PZ,uea as TJ}from"./cli-0.6.10-5jaxzkj9.mjs";import{$fa as Rz,Dga as Dz,_fa as RZ,lga as KZ,qga as wZ,rga as NZ}from"./cli-0.6.10-4v3edm8v.mjs";import{Rha as m0,Uha as ez}from"./cli-0.6.10-zqv22c50.mjs";import{Gia as HX,wia as IQ}from"./cli-0.6.10-kr2hhxcp.mjs";import{Ena as kQ,hoa as BX}from"./cli-0.6.10-seh7emsc.mjs";import{Kpa as N0,Opa as L0}from"./cli-0.6.10-yr88z6pr.mjs";function MZ(){if($0!==null)clearTimeout($0),$0=null;bZ=Date.now();for(let J of BZ)J()}function Qz(){if($0!==null)return;let J=Date.now()-bZ;if(J>=jZ){MZ();return}$0=setTimeout(MZ,jZ-J)}function iZ(){return EZ.useSyncExternalStore(s0.subscribe,s0.getSnapshot)}function TX(){return EZ.useSyncExternalStore(s0.subscribe,s0.getPresenceSnapshot)}var EZ,x0=null,BZ,$0=null,bZ=0,s0;var lZ=L0(()=>{Jz();EZ=N0(S0(),1),BZ=new Set;s0={update(J){let Z=x0;if(x0=J(Z),x0===Z)return;if(Z===null!==(x0===null))MZ();else Qz()},clear(){s0.update(()=>null)},read(){return x0},subscribe(J){return BZ.add(J),()=>{BZ.delete(J)}},getSnapshot(){return x0},getPresenceSnapshot(){return x0!==null},resetForTesting(){if($0!==null)clearTimeout($0),$0=null;x0=null,bZ=0,BZ.clear()}}});function sZ(J){let Z=HZ.c(6),{children:Q}=J,[z,X]=K0.useState(null),[W,q]=K0.useState(null),V;if(Z[0]!==Q||Z[1]!==W)V=B(oZ.Provider,{value:W,children:Q}),Z[0]=Q,Z[1]=W,Z[2]=V;else V=Z[2];let Y;if(Z[3]!==z||Z[4]!==V)Y=B(rZ.Provider,{value:X,children:B(tZ.Provider,{value:q,children:B(aZ.Provider,{value:z,children:V})})}),Z[3]=z,Z[4]=V,Z[5]=Y;else Y=Z[5];return Y}function eZ(){return K0.useContext(aZ)}function ZJ(){return K0.useContext(oZ)}function xX(J){let Z=HZ.c(8),Q=K0.useContext(rZ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];K0.useEffect(z,X),K0.useEffect(W,q)}function $X(J){let Z=HZ.c(8),Q=K0.useContext(tZ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];K0.useEffect(z,X),K0.useEffect(W,q)}var HZ,K0,aZ,rZ,oZ,tZ;var JJ=L0(()=>{F0();HZ=N0(u0(),1),K0=N0(S0(),1),aZ=K0.createContext(null),rZ=K0.createContext(null),oZ=K0.createContext(null),tZ=K0.createContext(null)});function GZ(J){return J.type==="attachment"&&Xz.has(J.attachment.type)}var zz,Xz;var CZ=L0(()=>{zz=["hook_success","hook_additional_context","hook_cancelled","command_permissions","agent_mention","budget_usd","critical_system_reminder","edited_image_file","edited_text_file","opened_file_in_ide","output_style","plan_mode","plan_mode_exit","plan_mode_reentry","structured_output","team_context","todo_reminder","context_efficiency","deferred_tools_delta","mcp_instructions_delta","companion_intro","token_usage","ultrathink_effort","max_turns_reached","task_reminder","auto_mode","auto_mode_exit","output_token_usage","pen_mode_enter","pen_mode_exit","verify_plan_reminder","current_session_memory","compaction_reminder","date_change","bash_git_instructions","claude_md_delta","git_status_delta","memory_delta","todo_reminder_delta"],Xz=new Set(zz)});import{fileURLToPath as Hz}from"url";function QW(J){let[Z,Q]=q0.useState(null),z=q0.useRef(J);z.current=J;let X=q0.useRef(null),W=q0.useCallback(()=>{Q(null)},[]),q=q0.useCallback((K)=>{let F=Math.max(0,K.getScrollHeight()-K.getViewportHeight());if(K.getScrollTop()+K.getPendingDelta()>=F)return;if(X.current===null)X.current=K.getScrollHeight(),Q(z.current)},[]),V=q0.useCallback((K)=>{if(!K)return;K.scrollToBottom()},[]);q0.useEffect(()=>{if(Z===null)X.current=null;else if(J<Z)X.current=null,Q(null)},[J,Z]);let Y=q0.useCallback((K,F)=>{if(Q((P)=>P===null?null:P+K),X.current!==null)X.current+=F},[]);return{dividerIndex:Z,dividerYRef:X,onScrollAway:q,onRepin:W,jumpToNew:V,shiftDivider:Y}}function Gz(J,Z){let Q=0,z=!1;for(let X=Z;X<J.length;X++){let W=J[X];if(W.type==="progress")continue;if(W.type==="assistant"&&!Lz(W))continue;let q=W.type==="assistant";if(q&&!z)Q++;z=q}return Q}function Lz(J){if(J.type!=="assistant")return!1;for(let Z of J.message.content)if(Z.type==="text"&&Z.text.trim()!=="")return!0;return!1}function zW(J,Z){if(Z===null)return;let Q=Z;while(Q<J.length&&(J[Q]?.type==="progress"||GZ(J[Q])))Q++;let z=J[Q]?.uuid;if(!z)return;let X=Gz(J,Z);return{firstUnseenUuid:z,count:Math.max(1,X)}}function XW(J){let Z=a0.c(47),{scrollable:Q,bottom:z,overlay:X,bottomFloat:W,modal:q,modalScrollRef:V,scrollRef:Y,dividerYRef:K,hidePill:F,hideSticky:P,newMessageCount:v,onPillClick:M}=J,S=F===void 0?!1:F,Z0=P===void 0?!1:P,d=v===void 0?0:v,{rows:O,columns:C}=FZ(),[_,w]=q0.useState(null),D;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))D={setStickyPrompt:w},Z[0]=D;else D=Z[0];let p=D,J0;if(Z[1]!==Y)J0=(h)=>Y?.current?.subscribe(h)??wz,Z[1]=Y,Z[2]=J0;else J0=Z[2];let E=J0,k;if(Z[3]!==K||Z[4]!==Y)k=()=>{let h=Y?.current,z0=K?.current;if(!h||z0==null)return!1;return h.getScrollTop()+h.getPendingDelta()+h.getViewportHeight()<z0},Z[3]=K,Z[4]=Y,Z[5]=k;else k=Z[5];let H0=q0.useSyncExternalStore(E,k),Y0;if(Z[6]===Symbol.for("react.memo_cache_sentinel"))Y0=[],Z[6]=Y0;else Y0=Z[6];if(q0.useLayoutEffect(Fz,Y0),c0()){let h=Z0?null:_,z0=h!=null&&h!=="clicked"&&X==null?h:null,Q0=h!=null&&X==null,X0;if(Z[7]!==z0)X0=z0&&B(Oz,{text:z0.text,onClick:z0.scrollTo}),Z[7]=z0,Z[8]=X0;else X0=Z[8];let O0=Q0?0:1,T;if(Z[9]!==Q)T=B(yZ,{value:p,children:Q}),Z[9]=Q,Z[10]=T;else T=Z[10];let i;if(Z[11]!==X||Z[12]!==Y||Z[13]!==T||Z[14]!==O0)i=$(GJ,{ref:Y,flexGrow:1,flexDirection:"column",paddingTop:O0,stickyScroll:!0,children:[T,X]}),Z[11]=X,Z[12]=Y,Z[13]=T,Z[14]=O0,Z[15]=i;else i=Z[15];let o;if(Z[16]!==S||Z[17]!==d||Z[18]!==M||Z[19]!==X||Z[20]!==H0)o=!S&&H0&&X==null&&B(Nz,{count:d,onClick:M}),Z[16]=S,Z[17]=d,Z[18]=M,Z[19]=X,Z[20]=H0,Z[21]=o;else o=Z[21];let t;if(Z[22]!==W)t=W!=null&&B(b,{position:"absolute",bottom:0,right:0,opaque:!0,children:W}),Z[22]=W,Z[23]=t;else t=Z[23];let I;if(Z[24]!==i||Z[25]!==o||Z[26]!==t||Z[27]!==X0)I=$(b,{flexGrow:1,flexDirection:"column",overflow:"hidden",children:[X0,i,o,t]}),Z[24]=i,Z[25]=o,Z[26]=t,Z[27]=X0,Z[28]=I;else I=Z[28];let W0,N;if(Z[29]===Symbol.for("react.memo_cache_sentinel"))W0=B(Az,{}),N=B(Pz,{}),Z[29]=W0,Z[30]=N;else W0=Z[29],N=Z[30];let U;if(Z[31]!==z)U=$(b,{flexDirection:"column",flexShrink:0,width:"100%",maxHeight:"50%",children:[W0,N,B(b,{flexDirection:"column",width:"100%",flexGrow:1,overflowY:"hidden",children:z})]}),Z[31]=z,Z[32]=U;else U=Z[32];let R;if(Z[33]!==C||Z[34]!==q||Z[35]!==V||Z[36]!==O)R=q!=null&&B(YJ,{value:{rows:O-QJ-1,columns:C-4,scrollRef:V??null},children:$(b,{position:"absolute",bottom:0,left:0,right:0,maxHeight:O-QJ,flexDirection:"column",overflow:"hidden",opaque:!0,children:[B(b,{flexShrink:0,children:B(g,{color:"permission",children:"▔".repeat(C)})}),B(b,{flexDirection:"column",paddingX:2,flexShrink:0,overflow:"hidden",children:q})]})}),Z[33]=C,Z[34]=q,Z[35]=V,Z[36]=O,Z[37]=R;else R=Z[37];let s;if(Z[38]!==I||Z[39]!==U||Z[40]!==R)s=$(sZ,{children:[I,U,R]}),Z[38]=I,Z[39]=U,Z[40]=R,Z[41]=s;else s=Z[41];return s}let l;if(Z[42]!==z||Z[43]!==q||Z[44]!==X||Z[45]!==Q)l=$(f0,{children:[Q,z,X,q]}),Z[42]=z,Z[43]=q,Z[44]=X,Z[45]=Q,Z[46]=l;else l=Z[46];return l}function Fz(){if(!c0())return;let J=WJ.get(process.stdout);if(!J)return;return J.onHyperlinkClick=Kz,()=>{J.onHyperlinkClick=void 0}}function Kz(J){if(J.startsWith("file:"))try{VJ(Hz(J))}catch{}else BJ(J)}function wz(){}function Nz(J){let Z=a0.c(10),{count:Q,onClick:z}=J,[X,W]=q0.useState(!1),q,V;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=()=>W(!0),V=()=>W(!1),Z[0]=q,Z[1]=V;else q=Z[0],V=Z[1];let Y=X?"userMessageBackgroundHover":"userMessageBackground",K;if(Z[2]!==Q)K=Q>0?`${Q} new ${LZ(Q,"message")}`:"Jump to bottom",Z[2]=Q,Z[3]=K;else K=Z[3];let F;if(Z[4]!==Y||Z[5]!==K)F=$(g,{backgroundColor:Y,dimColor:!0,children:[" ",K," ",v0.arrowDown," "]}),Z[4]=Y,Z[5]=K,Z[6]=F;else F=Z[6];let P;if(Z[7]!==z||Z[8]!==F)P=B(b,{position:"absolute",bottom:0,left:0,right:0,justifyContent:"center",children:B(b,{onClick:z,onMouseEnter:q,onMouseLeave:V,children:F})}),Z[7]=z,Z[8]=F,Z[9]=P;else P=Z[9];return P}function Oz(J){let Z=a0.c(8),{text:Q,onClick:z}=J,[X,W]=q0.useState(!1),q=X?"userMessageBackgroundHover":"userMessageBackground",V,Y;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))V=()=>W(!0),Y=()=>W(!1),Z[0]=V,Z[1]=Y;else V=Z[0],Y=Z[1];let K;if(Z[2]!==Q)K=$(g,{color:"subtle",wrap:"truncate-end",children:[v0.pointer," ",Q]}),Z[2]=Q,Z[3]=K;else K=Z[3];let F;if(Z[4]!==z||Z[5]!==q||Z[6]!==K)F=B(b,{flexShrink:0,width:"100%",height:1,paddingRight:1,backgroundColor:q,onClick:z,onMouseEnter:V,onMouseLeave:Y,children:K}),Z[4]=z,Z[5]=q,Z[6]=K,Z[7]=F;else F=Z[7];return F}function Az(){let J=a0.c(4),Z=eZ();if(!Z||Z.suggestions.length===0)return null;let Q;if(J[0]!==Z.maxColumnWidth||J[1]!==Z.selectedSuggestion||J[2]!==Z.suggestions)Q=B(b,{position:"absolute",bottom:"100%",left:0,right:0,paddingX:2,paddingTop:1,flexDirection:"column",opaque:!0,children:B(HJ,{suggestions:Z.suggestions,selectedSuggestion:Z.selectedSuggestion,maxColumnWidth:Z.maxColumnWidth,overlay:!0})}),J[0]=Z.maxColumnWidth,J[1]=Z.selectedSuggestion,J[2]=Z.suggestions,J[3]=Q;else Q=J[3];return Q}function Pz(){let J=a0.c(2),Z=ZJ();if(!Z)return null;let Q;if(J[0]!==Z)Q=B(b,{position:"absolute",bottom:"100%",left:0,right:0,opaque:!0,children:Z}),J[0]=Z,J[1]=Q;else Q=J[1];return Q}var a0,q0,QJ=2,yZ;var LJ=L0(()=>{zJ();qz();JJ();qJ();Bz();Wz();p0();Yz();vZ();XJ();CZ();Vz();F0();a0=N0(u0(),1),q0=N0(S0(),1),yZ=q0.createContext({setStickyPrompt:()=>{}})});function FJ(J,Z){for(let Q of J)if(!Z.has(Q))return!1;return!0}var KJ=()=>{};function wJ(J){if(J.type!=="user")return!1;let Z=J.message.content[0];if(Z?.type!=="text")return!1;if(!Z.text.includes(`<${KZ}`))return!1;if(_Z(Z.text,wZ)!=="completed")return!1;return _Z(Z.text,NZ)?.startsWith(NJ)??!1}function OJ(J,Z){if(!c0())return J;if(Z)return J;let Q=[],z=0;while(z<J.length){let X=J[z];if(wJ(X)){let W=0;while(z<J.length&&wJ(J[z]))W++,z++;if(W===1)Q.push(X);else Q.push({...X,message:{role:"user",content:[{type:"text",text:`<${KZ}><${wZ}>completed</${wZ}><${NZ}>${W} background commands completed</${NZ}></${KZ}>`}]}})}else Q.push(X),z++}return Q}var AJ=L0(()=>{Dz();Uz();vZ();OZ()});function PJ(J){return J.type==="system"&&J.subtype==="stop_hook_summary"&&J.hookLabel!==void 0}function DJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(PJ(z)){let X=z.hookLabel,W=[];while(Q<J.length){let q=J[Q];if(!PJ(q)||q.hookLabel!==X)break;W.push(q),Q++}if(W.length===1)Z.push(z);else Z.push({...z,hookCount:W.reduce((q,V)=>q+V.hookCount,0),hookInfos:W.flatMap((q)=>q.hookInfos),hookErrors:W.flatMap((q)=>q.hookErrors),preventedContinuation:W.some((q)=>q.preventedContinuation),hasOutput:W.some((q)=>q.hasOutput),totalDurationMs:Math.max(...W.map((q)=>q.totalDurationMs??0))})}else Z.push(z),Q++}return Z}var UJ=()=>{};function jJ(J){return J.type==="attachment"&&J.attachment.type==="task_status"&&J.attachment.taskType==="in_process_teammate"&&J.attachment.status==="completed"}function MJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(jJ(z)){let X=0;while(Q<J.length&&jJ(J[Q]))X++,Q++;if(X===1)Z.push(z);else Z.push({type:"attachment",uuid:z.uuid,timestamp:z.timestamp,attachment:{type:"teammate_shutdown_batch",count:X}})}else Z.push(z),Q++}return Z}var EJ=()=>{};function jz(J){let Z=bJ.get(J);if(!Z)Z=new Set(J.filter((Q)=>Q.renderGroupedToolUse).map((Q)=>Q.name)),bJ.set(J,Z);return Z}function kZ(J){if(J.type==="assistant"&&J.message.content[0]?.type==="tool_use"){let Z=J.message.content[0];return{messageId:J.message.id,toolUseId:Z.id,toolName:Z.name}}return null}function CJ(J,Z,Q=!1){if(Q)return{messages:J};let z=jz(Z),X=new Map;for(let F of J){let P=kZ(F);if(P&&z.has(P.toolName)){let v=`${P.messageId}:${P.toolName}`,M=X.get(v)??[];M.push(F),X.set(v,M)}}let W=new Map,q=new Set;for(let[F,P]of X)if(P.length>=2){W.set(F,P);for(let v of P){let M=kZ(v);if(M)q.add(M.toolUseId)}}let V=new Map;for(let F of J)if(F.type==="user"){for(let P of F.message.content)if(P.type==="tool_result"&&q.has(P.tool_use_id))V.set(P.tool_use_id,F)}let Y=[],K=new Set;for(let F of J){let P=kZ(F);if(P){let v=`${P.messageId}:${P.toolName}`,M=W.get(v);if(M){if(!K.has(v)){K.add(v);let S=M[0],Z0=[];for(let O of M){let C=O.message.content[0].id,_=V.get(C);if(_)Z0.push(_)}let d={type:"grouped_tool_use",toolName:P.toolName,messages:M,results:Z0,displayMessage:S,uuid:`grouped-${S.uuid}`,timestamp:S.timestamp,messageId:P.messageId};Y.push(d)}continue}}if(F.type==="user"){let v=F.message.content.filter((M)=>M.type==="tool_result");if(v.length>0){if(v.every((S)=>q.has(S.tool_use_id)))continue}}Y.push(F)}return{messages:Y}}var bJ;var vJ=L0(()=>{bJ=new WeakMap});function AZ(J){let Z=kJ.get(J);if(Z!==void 0)return Z;let Q=Mz(J).toLowerCase();return kJ.set(J,Q),Q}function Mz(J){let Z="";switch(J.type){case"user":{let X=J.message.content;if(typeof X==="string")Z=_J.has(X)?"":X;else{let W=[];for(let q of X)if(q.type==="text"){if(!_J.has(q.text))W.push(q.text)}else if(q.type==="tool_result")W.push(bz(J.toolUseResult));Z=W.join(`
2
+ `)}break}case"assistant":{let X=J.message.content;if(Array.isArray(X))Z=X.flatMap((W)=>{if(W.type==="text")return[W.text];if(W.type==="tool_use")return[Ez(W.input)];return[]}).join(`
3
+ `);break}case"attachment":{if(J.attachment.type==="relevant_memories")Z=J.attachment.memories.map((X)=>X.content).join(`
4
+ `);else if(J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let X=J.attachment.prompt;Z=typeof X==="string"?X:X.flatMap((W)=>W.type==="text"?[W.text]:[]).join(`
5
+ `)}break}case"collapsed_read_search":{if(J.relevantMemories)Z=J.relevantMemories.map((X)=>X.content).join(`
6
+ `);break}default:break}let Q=Z,z=Q.indexOf("<system-reminder>");while(z>=0){let X=Q.indexOf(yJ,z);if(X<0)break;Q=Q.slice(0,z)+Q.slice(X+yJ.length),z=Q.indexOf("<system-reminder>")}return Q}function Ez(J){if(!J||typeof J!=="object")return"";let Z=J,Q=[];for(let z of["command","pattern","file_path","path","prompt","description","query","url","skill"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["args","files"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(" "))}return Q.join(`
7
+ `)}function bz(J){if(!J||typeof J!=="object")return typeof J==="string"?J:"";let Z=J;if(typeof Z.stdout==="string"){let z=typeof Z.stderr==="string"?Z.stderr:"";return Z.stdout+(z?`
8
+ `+z:"")}if(Z.file&&typeof Z.file==="object"&&typeof Z.file.content==="string")return Z.file.content;let Q=[];for(let z of["content","output","result","text","message"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["filenames","lines","results"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(`
9
+ `))}return Q.join(`
10
+ `)}var yJ="</system-reminder>",_J,kJ;var IZ=L0(()=>{OZ();_J=new Set([IJ,SJ]),kJ=new WeakMap});function RJ(J){let Z=hJ.c(5),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.type==="assistant"&&Q.message.model&&Q.message.content.some(Cz)))return null;let W=PZ(Q.message.model)+8,q;if(Z[0]!==Q.message.model)q=B(g,{dimColor:!0,children:Q.message.model}),Z[0]=Q.message.model,Z[1]=q;else q=Z[1];let V;if(Z[2]!==W||Z[3]!==q)V=B(b,{minWidth:W,children:q}),Z[2]=W,Z[3]=q,Z[4]=V;else V=Z[4];return V}function Cz(J){return J.type==="text"}var hJ;var xJ=L0(()=>{TJ();p0();F0();hJ=N0(u0(),1)});function uJ(J){let Z=$J.c(10),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.timestamp&&Q.type==="assistant"&&Q.message.content.some(vz)))return null;let W,q,V;if(Z[0]!==Q.timestamp)q=new Date(Q.timestamp).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0}),W=b,V=PZ(q),Z[0]=Q.timestamp,Z[1]=W,Z[2]=q,Z[3]=V;else W=Z[1],q=Z[2],V=Z[3];let Y;if(Z[4]!==q)Y=B(g,{dimColor:!0,children:q}),Z[4]=q,Z[5]=Y;else Y=Z[5];let K;if(Z[6]!==W||Z[7]!==V||Z[8]!==Y)K=B(W,{minWidth:V,children:Y}),Z[6]=W,Z[7]=V,Z[8]=Y,Z[9]=K;else K=Z[9];return K}function vz(J){return J.type==="text"}var $J;var fJ=L0(()=>{TJ();p0();F0();$J=N0(u0(),1)});function aJ(J,Z,Q,z){for(let X=Z+1;X<J.length;X++){let W=J[X];if(W?.type==="assistant"){let q=W.message.content[0];if(q?.type==="thinking"||q?.type==="redacted_thinking")continue;if(q?.type==="tool_use"){if(SZ(q.name,q.input,Q).isCollapsible)continue;if(z.has(q.id))continue}return!0}if(W?.type==="system"||W?.type==="attachment")continue;if(W?.type==="user"){if(W.message.content[0]?.type==="tool_result")continue}if(W?.type==="grouped_tool_use"){let q=W.messages[0]?.message.content[0]?.input;if(SZ(W.toolName,q,Q).isCollapsible)continue}return!0}return!1}function _z(J){let Z=iJ.c(64),{message:Q,isUserContinuation:z,hasContentAfter:X,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,streamingToolUseIDs:K,screen:F,canAnimate:P,onOpenRateLimitOptions:v,lastThinkingBlockId:M,latestBashOutputUUID:S,columns:Z0,isLoading:d,lookups:O}=J,C=F==="transcript",_=Q.type==="grouped_tool_use",w=Q.type==="collapsed_read_search",D;if(Z[0]!==X||Z[1]!==Y||Z[2]!==w||Z[3]!==d||Z[4]!==Q)D=w&&(TZ(Q,Y)||d&&!X),Z[0]=X,Z[1]=Y,Z[2]=w,Z[3]=d,Z[4]=Q,Z[5]=D;else D=Z[5];let p=D,J0;if(Z[6]!==w||Z[7]!==_||Z[8]!==Q)J0=_?Q.displayMessage:w?dJ(Q):Q,Z[6]=w,Z[7]=_,Z[8]=Q,Z[9]=J0;else J0=Z[9];let E=J0,k;if(Z[10]!==w||Z[11]!==_||Z[12]!==O||Z[13]!==Q)k=_||w?[]:ZQ(Q,O),Z[10]=w,Z[11]=_,Z[12]=O,Z[13]=Q,Z[14]=k;else k=Z[14];let H0=k,Y0;if(Z[15]!==Y||Z[16]!==w||Z[17]!==_||Z[18]!==O||Z[19]!==Q||Z[20]!==F||Z[21]!==K){let I=_||w?pJ:eJ(Q,O);Y0=tJ(Q,K,Y,I,F,O),Z[15]=Y,Z[16]=w,Z[17]=_,Z[18]=O,Z[19]=Q,Z[20]=F,Z[21]=K,Z[22]=Y0}else Y0=Z[22];let l=Y0,h=!1;if(P)if(_){let I;if(Z[23]!==Y||Z[24]!==Q.messages){let W0;if(Z[26]!==Y)W0=(N)=>{let U=N.message.content[0];return U?.type==="tool_use"&&Y.has(U.id)},Z[26]=Y,Z[27]=W0;else W0=Z[27];I=Q.messages.some(W0),Z[23]=Y,Z[24]=Q.messages,Z[25]=I}else I=Z[25];h=I}else if(w){let I;if(Z[28]!==Y||Z[29]!==Q)I=TZ(Q,Y),Z[28]=Y,Z[29]=Q,Z[30]=I;else I=Z[30];h=I}else{let I;if(Z[31]!==Y||Z[32]!==Q){let W0=g0(Q);I=!W0||Y.has(W0),Z[31]=Y,Z[32]=Q,Z[33]=I}else I=Z[33];h=I}let z0;if(Z[34]!==E||Z[35]!==C)z0=C&&E.type==="assistant"&&E.message.content.some(kz)&&(E.timestamp||E.message.model),Z[34]=E,Z[35]=C,Z[36]=z0;else z0=Z[36];let Q0=z0,X0=!Q0,O0=Q0?void 0:Z0,T;if(Z[37]!==q||Z[38]!==Y||Z[39]!==p||Z[40]!==l||Z[41]!==C||Z[42]!==z||Z[43]!==M||Z[44]!==S||Z[45]!==O||Z[46]!==Q||Z[47]!==v||Z[48]!==H0||Z[49]!==h||Z[50]!==X0||Z[51]!==O0||Z[52]!==W||Z[53]!==V)T=B(nJ,{message:Q,lookups:O,addMargin:X0,containerWidth:O0,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,progressMessagesForMessage:H0,shouldAnimate:h,shouldShowDot:!0,isTranscriptMode:C,isStatic:l,onOpenRateLimitOptions:v,isActiveCollapsedGroup:p,isUserContinuation:z,lastThinkingBlockId:M,latestBashOutputUUID:S}),Z[37]=q,Z[38]=Y,Z[39]=p,Z[40]=l,Z[41]=C,Z[42]=z,Z[43]=M,Z[44]=S,Z[45]=O,Z[46]=Q,Z[47]=v,Z[48]=H0,Z[49]=h,Z[50]=X0,Z[51]=O0,Z[52]=W,Z[53]=V,Z[54]=T;else T=Z[54];let i=T;if(!Q0){let I;if(Z[55]!==i)I=B(e0,{children:i}),Z[55]=i,Z[56]=I;else I=Z[56];return I}let o;if(Z[57]!==E||Z[58]!==C)o=$(b,{flexDirection:"row",justifyContent:"flex-end",gap:1,marginTop:1,children:[B(uJ,{message:E,isTranscriptMode:C}),B(RJ,{message:E,isTranscriptMode:C})]}),Z[57]=E,Z[58]=C,Z[59]=o;else o=Z[59];let t;if(Z[60]!==Z0||Z[61]!==i||Z[62]!==o)t=B(e0,{children:$(b,{width:Z0,flexDirection:"column",children:[o,i]})}),Z[60]=Z0,Z[61]=i,Z[62]=o,Z[63]=t;else t=Z[63];return t}function kz(J){return J.type==="text"}function Iz(J,Z){if(J.type==="grouped_tool_use")return J.messages.some((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return hZ(J).some((X)=>Z.has(X));let Q=g0(J);return!!Q&&Z.has(Q)}function Sz(J,Z){if(J.type==="grouped_tool_use")return J.messages.every((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return hZ(J).every((X)=>Z.has(X));if(J.type==="assistant"){let z=J.message.content[0];if(z?.type==="server_tool_use")return Z.has(z.id)}let Q=g0(J);return!Q||Z.has(Q)}function Tz(J,Z){if(J.message!==Z.message)return!1;if(J.screen!==Z.screen)return!1;if(J.verbose!==Z.verbose)return!1;if(J.message.type==="collapsed_read_search"&&Z.screen!=="transcript")return!1;if(J.columns!==Z.columns)return!1;let Q=J.latestBashOutputUUID===J.message.uuid,z=Z.latestBashOutputUUID===Z.message.uuid;if(Q!==z)return!1;if(J.lastThinkingBlockId!==Z.lastThinkingBlockId&&mJ(Z.message))return!1;let X=Iz(J.message,J.streamingToolUseIDs),W=Sz(J.message,J.lookups.resolvedToolUseIDs);if(X||!W)return!1;return!0}var iJ,lJ,rJ;var oJ=L0(()=>{p0();cJ();OZ();yz();xJ();sJ();fJ();gJ();F0();iJ=N0(u0(),1),lJ=N0(S0(),1);rJ=lJ.memo(_z,Tz)});import{relative as pz}from"path";function qQ(J){return lz.filter((Z)=>Z.isActive(J))}var dz,cz,gz,mz,nz,iz,lz;var YQ=L0(()=>{p0();BQ();zJ();Rz();hz();xz();fz();uz();$z();F0();dz={id:"large-memory-files",type:"warning",isActive:(J)=>fZ(J.memoryFiles).length>0,render:(J)=>{let Z=fZ(J.memoryFiles);return B(f0,{children:Z.map((Q)=>{let z=Q.path.startsWith(RZ())?pz(RZ(),Q.path):Q.path;return $(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Large ",B(g,{bold:!0,children:z})," will impact performance (",ZZ(Q.content.length)," chars >"," ",ZZ(VQ),")",B(g,{dimColor:!0,children:" · /memory to edit"})]})]},Q.path)})})}},cz={id:"claude-ai-external-token",type:"warning",isActive:()=>{let J=JZ();return QQ()&&(J.source==="ANTHROPIC_AUTH_TOKEN"||J.source==="apiKeyHelper")},render:()=>{let J=JZ();return $(b,{flexDirection:"row",marginTop:1,children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Using ",J.source," instead of Claude account subscription token. Either unset ",J.source,", or run `claude /logout`."]})]})}},gz={id:"api-key-conflict",type:"warning",isActive:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0});return!!JQ()&&(J==="ANTHROPIC_API_KEY"||J==="apiKeyHelper")},render:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0});return $(b,{flexDirection:"row",marginTop:1,children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Using ",J," instead of Anthropic Console key. Either unset ",J,", or run `claude /logout`."]})]})}},mz={id:"both-auth-methods",type:"warning",isActive:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0}),Z=JZ();return J!=="none"&&Z.source!=="none"&&!(J==="apiKeyHelper"&&Z.source==="apiKeyHelper")},render:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0}),Z=JZ();return $(b,{flexDirection:"column",marginTop:1,children:[$(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Both a token (",Z.source,") and an API key (",J,") are set. This may lead to unexpected behavior."]})]}),$(b,{flexDirection:"column",marginLeft:3,children:[$(g,{color:"warning",children:["· Trying to use"," ",Z.source==="claude.ai"?"claude.ai":Z.source,"?"," ",J==="ANTHROPIC_API_KEY"?'Unset the ANTHROPIC_API_KEY environment variable, or claude /logout then say "No" to the API key approval before login.':J==="apiKeyHelper"?"Unset the apiKeyHelper setting.":"claude /logout"]}),$(g,{color:"warning",children:["· Trying to use ",J,"?"," ",Z.source==="claude.ai"?"claude /logout to sign out of claude.ai.":`Unset the ${Z.source} environment variable.`]})]})]})}},nz={id:"large-agent-descriptions",type:"warning",isActive:(J)=>{return uZ(J.agentDefinitions)>$Z},render:(J)=>{let Z=uZ(J.agentDefinitions);return $(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Large cumulative agent descriptions will impact performance (~",ZZ(Z)," tokens >"," ",ZZ($Z),")",B(g,{dimColor:!0,children:" · /agents to manage"})]})]})}},iz={id:"jetbrains-plugin-install",type:"info",isActive:(J)=>{if(!XQ())return!1;if(!(J.config.autoInstallIdeExtension??!0))return!1;let Q=xZ();return Q!==null&&!zQ(Q)},render:()=>{let J=xZ(),Z=WQ(J);return $(b,{flexDirection:"row",gap:1,marginLeft:1,children:[B(g,{color:"ide",children:v0.arrowUp}),$(g,{children:["Install the ",B(g,{color:"ide",children:Z})," plugin from the JetBrains Marketplace:"," ",B(g,{bold:!0,children:"https://docs.claude.com/s/claude-code-jetbrains"})]})]})}},lz=[dz,nz,cz,gz,mz,iz]});async function az(){if(zZ)return zZ;return zZ=KQ().then((J)=>{XZ=J}).finally(()=>{zZ=null}),zZ}function LQ(J){let Z=GQ.c(8),{agentDefinitions:Q}=J===void 0?{}:J,[z,X]=r0.useState(XZ),W;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))W=()=>{if(XZ.length>0){X(XZ);return}az().then(()=>{X(XZ)})},Z[0]=W;else W=Z[0];r0.useEffect(W,[W]);let V={config:DZ(),agentDefinitions:Q,memoryFiles:z},Y=qQ(V);if(Y.length===0)return null;let K=b,F="column",P=1,v=Y.map((S)=>B(r0.Fragment,{children:S.render(V)},S.id)),M;if(Z[1]!==K||Z[2]!==v)M=B(K,{flexDirection:F,paddingLeft:P,children:v}),Z[1]=K,Z[2]=v,Z[3]=M;else M=Z[3];return M}var GQ,r0,XZ,zZ=null;var FQ=L0(()=>{p0();BQ();HQ();YQ();F0();GQ=N0(u0(),1),r0=N0(S0(),1),XZ=[]});function wQ(J,Z,Q){let z=m.useRef(new Map),X=m.useRef(0),W=m.useRef(0),q=m.useRef({arr:new Float64Array(0),version:-1,n:-1}),V=m.useRef(new Map),Y=m.useRef(new Map),K=m.useRef(Q),F=m.useRef(!1),P=m.useRef(null),v=m.useRef(0);if(K.current!==Q){let N=K.current/Q;K.current=Q;for(let[U,R]of z.current)z.current.set(U,Math.max(1,Math.round(R*N)));X.current++,F.current=!0,v.current=2}let M=v.current>0?P.current:null,S=m.useRef(0),Z0=m.useRef(null),d=m.useCallback((N)=>J.current?.subscribe(N)??sz,[J]);m.useSyncExternalStore(d,()=>{let N=J.current;if(!N)return NaN;let U=N.getScrollTop()+N.getPendingDelta(),R=Math.floor(U/tz);return N.isSticky()?~R:R});let O=J.current?.getScrollTop()??-1,C=J.current?.getPendingDelta()??0,_=J.current?.getViewportHeight()??0,w=J.current?.isSticky()??!0;m.useMemo(()=>{let N=new Set(Z),U=!1;for(let R of z.current.keys())if(!N.has(R))z.current.delete(R),U=!0;for(let R of Y.current.keys())if(!N.has(R))Y.current.delete(R);if(U)X.current++},[Z]);let D=Z.length;if(q.current.version!==X.current||q.current.n!==D){let N=q.current.arr.length>=D+1?q.current.arr:new Float64Array(D+1);N[0]=0;for(let U=0;U<D;U++)N[U+1]=N[U]+(z.current.get(Z[U])??rz);q.current={arr:N,version:X.current,n:D}}let p=q.current.arr,J0=p[D],E,k;if(M)[E,k]=M,E=Math.min(E,D),k=Math.min(k,D);else if(_===0||O<0)E=Math.max(0,D-oz),k=D;else{if(w){let V0=_+o0;E=D;while(E>0&&J0-p[E-1]<V0)E--;k=D}else{let V0=S.current,G0=_*3,M0=Math.min(O,O+C),n0=Math.max(O,O+C),y0=n0-M0,D0=y0>G0?C<0?n0-G0:M0:M0,T0=D0+Math.min(y0,G0),i0=Math.max(0,D0-V0),h0=T0-V0,b0=i0-o0;{let H=0,L=D;while(H<L){let A=H+L>>1;if(p[A+1]<=b0)H=A+1;else L=A}E=H}{let H=P.current;if(H&&H[0]<E)for(let L=H[0];L<Math.min(E,H[1]);L++){let A=Z[L];if(V.current.has(A)&&!z.current.has(A)){E=L;break}}}let l0=_+2*o0,t0=Math.min(D,E+WZ),_0=0;k=E;while(k<t0&&(_0<l0||p[k]<h0+_+o0))_0+=z.current.get(Z[k])??pZ,k++}let N=_+2*o0,U=Math.max(0,k-WZ),R=0;for(let V0=E;V0<k;V0++)R+=z.current.get(Z[V0])??pZ;while(E>U&&R<N)E--,R+=z.current.get(Z[E])??pZ;let s=P.current,A0=Math.abs(O-W.current)+Math.abs(C);if(s&&A0>_*2){let[V0,G0]=s;if(E<V0-qZ)E=V0-qZ;if(k>G0+qZ)k=G0+qZ;if(E>k)k=Math.min(E+qZ,D)}W.current=O}if(v.current>0)v.current--;else P.current=[E,k];let H0=m.useDeferredValue(E),Y0=m.useDeferredValue(k),l=E<H0?H0:E,h=k>Y0?Y0:k;if(l>h||w)l=E,h=k;if(C>0)h=k;if(h-l>WZ){let N=(p[l]+p[h])/2;if(O-S.current<N)h=l+WZ;else l=h-WZ}let z0=S.current,Q0=p[l],X0=l===0?0:Q0+z0,O0=h===D?1/0:Math.max(Q0,p[h]-_)+z0;m.useLayoutEffect(()=>{if(w)J.current?.setClampBounds(void 0,void 0);else J.current?.setClampBounds(X0,O0)}),m.useLayoutEffect(()=>{let N=Z0.current?.yogaNode;if(N&&N.getComputedWidth()>0)S.current=N.getComputedTop();if(F.current){F.current=!1;return}let U=!1;for(let[R,s]of V.current){let A0=s.yogaNode;if(!A0)continue;let V0=A0.getComputedHeight(),G0=z.current.get(R);if(V0>0){if(G0!==V0)z.current.set(R,V0),U=!0}else if(A0.getComputedWidth()>0&&G0!==0)z.current.set(R,0),U=!0}if(U)X.current++});let T=m.useCallback((N)=>{let U=Y.current.get(N);if(!U)U=(R)=>{if(R)V.current.set(N,R);else{let s=V.current.get(N)?.yogaNode;if(s&&!F.current){let A0=s.getComputedHeight();if((A0>0||s.getComputedWidth()>0)&&z.current.get(N)!==A0)z.current.set(N,A0),X.current++}V.current.delete(N)}},Y.current.set(N,U);return U},[]),i=m.useCallback((N)=>{let U=V.current.get(Z[N])?.yogaNode;if(!U||U.getComputedWidth()===0)return-1;return U.getComputedTop()},[Z]),o=m.useCallback((N)=>V.current.get(Z[N])??null,[Z]),t=m.useCallback((N)=>z.current.get(Z[N]),[Z]),I=m.useCallback((N)=>{let U=q.current;if(N<0||N>=U.n)return;J.current?.scrollTo(U.arr[N]+S.current)},[J]),W0=J0-p[h];return{range:[l,h],topSpacer:Q0,bottomSpacer:W0,measureRef:T,spacerRef:Z0,offsets:p,getItemTop:i,getItemElement:o,getItemHeight:t,scrollToIndex:I}}var m,rz=3,o0=80,oz=30,tz,pZ=1,WZ=300,qZ=25,sz=()=>{};var NQ=L0(()=>{m=N0(S0(),1),tz=o0>>1});function QX(J){let Z=OQ.get(J);if(Z!==void 0)return Z;let Q=AZ(J);return OQ.set(J,Q),Q}function XX(J){let Z=AQ.get(J);if(Z!==void 0)return Z;let Q=WX(J);return AQ.set(J,Q),Q}function WX(J){let Z=null;if(J.type==="user"){if(J.isMeta||J.isVisibleInTranscriptOnly)return null;let z=J.message.content[0];if(z?.type!=="text")return null;Z=z.text}else if(J.type==="attachment"&&J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let z=J.attachment.prompt;Z=typeof z==="string"?z:z.flatMap((X)=>X.type==="text"?[X.text]:[]).join(`
11
+ `)}if(Z===null)return null;let Q=MQ(Z);if(Q.startsWith("<")||Q==="")return null;return Q}function qX(J){let Z=bQ.c(30),{itemKey:Q,msg:z,idx:X,measureRef:W,expanded:q,hovered:V,clickable:Y,onClickK:K,onEnterK:F,onLeaveK:P,renderItem:v}=J,M;if(Z[0]!==Q||Z[1]!==W)M=W(Q),Z[0]=Q,Z[1]=W,Z[2]=M;else M=Z[2];let S=q?"userMessageBackgroundHover":void 0,Z0=q?1:void 0,d;if(Z[3]!==Y||Z[4]!==z||Z[5]!==K)d=Y?(J0)=>K(z,J0.cellIsBlank):void 0,Z[3]=Y,Z[4]=z,Z[5]=K,Z[6]=d;else d=Z[6];let O;if(Z[7]!==Y||Z[8]!==Q||Z[9]!==F)O=Y?()=>F(Q):void 0,Z[7]=Y,Z[8]=Q,Z[9]=F,Z[10]=O;else O=Z[10];let C;if(Z[11]!==Y||Z[12]!==Q||Z[13]!==P)C=Y?()=>P(Q):void 0,Z[11]=Y,Z[12]=Q,Z[13]=P,Z[14]=C;else C=Z[14];let _=V&&!q?"text":void 0,w;if(Z[15]!==X||Z[16]!==z||Z[17]!==v)w=v(z,X),Z[15]=X,Z[16]=z,Z[17]=v,Z[18]=w;else w=Z[18];let D;if(Z[19]!==_||Z[20]!==w)D=B(DQ.Provider,{value:_,children:w}),Z[19]=_,Z[20]=w,Z[21]=D;else D=Z[21];let p;if(Z[22]!==M||Z[23]!==S||Z[24]!==Z0||Z[25]!==d||Z[26]!==O||Z[27]!==C||Z[28]!==D)p=B(b,{ref:M,flexDirection:"column",backgroundColor:S,paddingBottom:Z0,onClick:d,onMouseEnter:O,onMouseLeave:C,children:D}),Z[22]=M,Z[23]=S,Z[24]=Z0,Z[25]=d,Z[26]=O,Z[27]=C,Z[28]=D,Z[29]=p;else p=Z[29];return p}function CQ({messages:J,scrollRef:Z,columns:Q,itemKey:z,renderItem:X,onItemClick:W,isItemClickable:q,isItemExpanded:V,extractSearchText:Y=QX,trackStickyPrompt:K,selectedIndex:F,cursorNavRef:P,setCursor:v,jumpRef:M,onSearchMatchesChange:S,scanElement:Z0,setPositions:d}){let O=y.useRef([]),C=y.useRef(J),_=y.useRef(z);if(_.current!==z||J.length<O.current.length||J[0]!==C.current[0])O.current=J.map((H)=>z(H));else for(let H=O.current.length;H<J.length;H++)O.current.push(z(J[H]));C.current=J,_.current=z;let w=O.current,{range:D,topSpacer:p,bottomSpacer:J0,measureRef:E,spacerRef:k,offsets:H0,getItemTop:Y0,getItemElement:l,getItemHeight:h,scrollToIndex:z0}=wQ(Z,w,Q),[Q0,X0]=D,O0=y.useCallback((H)=>{if(h(H)===0)return!1;return UQ(J[H])},[h,J]);y.useImperativeHandle(P,()=>{let H=(u)=>v?.({uuid:u.uuid,msgType:u.type,expanded:!1,toolName:jQ(u)?.name}),L=F??-1,A=(u,n,r=O0)=>{for(let c=u;c>=0&&c<J.length;c+=n)if(r(c))return H(J[c]),!0;return!1},x=(u)=>O0(u)&&J[u].type==="user";return{enterCursor:()=>A(J.length-1,-1,x),navigatePrev:()=>A(L-1,-1),navigateNext:()=>{if(A(L+1,1))return;Z.current?.scrollToBottom(),v?.(null)},navigatePrevUser:()=>A(L-1,-1,x),navigateNextUser:()=>A(L+1,1,x),navigateTop:()=>A(0,1),navigateBottom:()=>A(J.length-1,-1),getSelected:()=>L>=0?J[L]??null:null}},[J,F,v,O0]);let T=y.useRef({offsets:H0,start:Q0,getItemElement:l,getItemTop:Y0,messages:J,scrollToIndex:z0});T.current={offsets:H0,start:Q0,getItemElement:l,getItemTop:Y0,messages:J,scrollToIndex:z0},y.useEffect(()=>{if(F===void 0)return;let H=T.current,L=H.getItemElement(F);if(L)Z.current?.scrollToElement(L,1);else H.scrollToIndex(F)},[F,Z]);let i=y.useRef(null),o=y.useRef({msgIdx:-1,positions:[]}),t=y.useRef(-1),I=y.useRef(0),W0=y.useRef(0),N=y.useRef(()=>{}),U=y.useRef(()=>{}),R=y.useRef({matches:[],ptr:0,screenOrd:0,prefixSum:[]}),s=y.useRef(-1),A0=y.useRef(!1);function V0(H){let L=T.current.getItemTop(H);return Math.max(0,L-dZ)}function G0(H){let L=Z.current,{msgIdx:A,positions:x}=o.current;if(!L||x.length===0||A<0){d?.(null);return}let u=Math.max(0,Math.min(H,x.length-1)),n=x[u],r=T.current.getItemTop(A),c=L.getViewportTop(),e=r-L.getScrollTop(),R0=L.getViewportHeight(),P0=c+e+n.row;if(P0<c||P0>=c+R0)L.scrollTo(Math.max(0,r+n.row-dZ)),e=r-L.getScrollTop(),P0=c+e+n.row;d?.({positions:x,rowOffset:c+e,currentIdx:u});let E0=R.current,U0=E0.prefixSum.at(-1)??0,j0=(E0.prefixSum[E0.ptr]??0)+u+1;S?.(U0,j0),m0(`highlight(i=${A}, ord=${u}/${x.length}): pos={row:${n.row},col:${n.col}} lo=${e} screenRow=${P0} badge=${j0}/${U0}`)}U.current=G0;let[M0,n0]=y.useState(0),y0=y.useCallback(()=>n0((H)=>H+1),[]);y.useEffect(()=>{let H=i.current;if(!H)return;let{idx:L,wantLast:A,tries:x}=H,u=Z.current;if(!u)return;let{getItemElement:n,getItemTop:r,scrollToIndex:c}=T.current,e=n(L),R0=e?.yogaNode?.getComputedHeight()??0;if(!e||R0===0){if(x>1){i.current=null,m0(`seek(i=${L}): no mount after scrollToIndex, skip`),N.current(A?-1:1);return}i.current={idx:L,wantLast:A,tries:x+1},c(L),y0();return}i.current=null,u.scrollTo(Math.max(0,r(L)-dZ));let P0=Z0?.(e)??[];if(o.current={msgIdx:L,positions:P0},m0(`seek(i=${L} t=${x}): ${P0.length} positions`),P0.length===0){if(++I.current>20){I.current=0;return}N.current(A?-1:1);return}I.current=0;let E0=A?P0.length-1:0;R.current.screenOrd=E0,t.current=-1,U.current(E0);let U0=W0.current;if(U0)W0.current=0,N.current(U0)},[M0]);function D0(H,L){let A=Z.current;if(!A)return;let x=T.current,{getItemElement:u,scrollToIndex:n}=x;if(H<0||H>=x.messages.length)return;d?.(null),o.current={msgIdx:-1,positions:[]},i.current={idx:H,wantLast:L,tries:0};let r=u(H),c=r?.yogaNode?.getComputedHeight()??0;if(r&&c>0)A.scrollTo(V0(H));else n(H);y0()}function T0(H){let L=R.current,{matches:A,prefixSum:x}=L,u=x.at(-1)??0;if(A.length===0)return;if(i.current){W0.current=H;return}if(t.current<0)t.current=L.ptr;let{positions:n}=o.current,r=L.screenOrd+H;if(r>=0&&r<n.length){L.screenOrd=r,G0(r),t.current=-1;return}let c=(L.ptr+H+A.length)%A.length;if(c===t.current){d?.(null),t.current=-1,m0(`step: wraparound at ptr=${c}, all ${A.length} msgs phantoms`);return}L.ptr=c,L.screenOrd=0,D0(A[c],H<0);let e=H<0?x[c+1]??u:x[c]+1;S?.(u,e)}N.current=T0,y.useImperativeHandle(M,()=>({jumpToIndex:(H)=>{let L=Z.current;if(L)L.scrollTo(V0(H))},setSearchQuery:(H)=>{i.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1,d?.(null);let L=H.toLowerCase(),A=[],x=[0];if(L){let U0=T.current.messages;for(let j0=0;j0<U0.length;j0++){let k0=Y(U0[j0]),G=k0.indexOf(L),j=0;while(G>=0)j++,G=k0.indexOf(L,G+L.length);if(j>0)A.push(j0),x.push(x.at(-1)+j)}}let u=x.at(-1),n=0,r=Z.current,{offsets:c,start:e,getItemTop:R0}=T.current,P0=R0(e),E0=P0>=0?P0-c[e]:0;if(A.length>0&&r){let U0=s.current>=0?s.current:r.getScrollTop(),j0=1/0;for(let k0=0;k0<A.length;k0++){let G=Math.abs(E0+c[A[k0]]-U0);if(G<=j0)j0=G,n=k0}m0(`setSearchQuery('${H}'): ${A.length} msgs · ptr=${n} msgIdx=${A[n]} curTop=${U0} origin=${E0}`)}if(R.current={matches:A,ptr:n,screenOrd:0,prefixSum:x},A.length>0)D0(A[n],!0);else if(s.current>=0&&r)r.scrollTo(s.current);S?.(u,A.length>0?x[n+1]??u:0)},nextMatch:()=>T0(1),prevMatch:()=>T0(-1),setAnchor:()=>{let H=Z.current;if(H)s.current=H.getScrollTop()},disarmSearch:()=>{d?.(null),i.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1},warmSearchIndex:async()=>{if(A0.current)return 0;let H=T.current.messages,L=500,A=0,x=performance.now();for(let n=0;n<H.length;n+=L){await PQ(0);let r=performance.now(),c=Math.min(n+L,H.length);for(let e=n;e<c;e++)Y(H[e]);A+=performance.now()-r}let u=Math.round(performance.now()-x);return m0(`warmSearchIndex: ${H.length} msgs · work=${Math.round(A)}ms wall=${u}ms chunks=${Math.ceil(H.length/L)}`),A0.current=!0,Math.round(A)}}),[Z]);let[i0,h0]=y.useState(null),b0=y.useRef({onItemClick:W,setHoveredKey:h0});b0.current={onItemClick:W,setHoveredKey:h0};let l0=y.useCallback((H,L)=>{let A=b0.current;if(!L&&A.onItemClick)A.onItemClick(H)},[]),t0=y.useCallback((H)=>{b0.current.setHoveredKey(H)},[]),_0=y.useCallback((H)=>{b0.current.setHoveredKey((L)=>L===H?null:L)},[]);return $(f0,{children:[B(b,{ref:k,height:p,flexShrink:0}),J.slice(Q0,X0).map((H,L)=>{let A=Q0+L,x=w[A],u=!!W&&(q?.(H)??!0),n=u&&i0===x,r=V?.(H);return B(qX,{itemKey:x,msg:H,idx:A,measureRef:E,expanded:r,hovered:n,clickable:u,onClickK:l0,onEnterK:t0,onLeaveK:_0,renderItem:X},x)}),J0>0&&B(b,{height:J0,flexShrink:0}),K&&B(VX,{messages:J,start:Q0,end:X0,offsets:H0,getItemTop:Y0,getItemElement:l,scrollRef:Z})]})}function VX({messages:J,start:Z,end:Q,offsets:z,getItemTop:X,getItemElement:W,scrollRef:q}){let{setStickyPrompt:V}=y.useContext(yZ),Y=y.useCallback((w)=>q.current?.subscribe(w)??YX,[q]);y.useSyncExternalStore(Y,()=>{let w=q.current;if(!w)return NaN;let D=w.getScrollTop()+w.getPendingDelta();return w.isSticky()?-1-D:D});let K=q.current?.isSticky()??!0,F=Math.max(0,(q.current?.getScrollTop()??0)+(q.current?.getPendingDelta()??0)),P=Z,v=-1;for(let w=Q-1;w>=Z;w--){let D=X(w);if(D>=0){if(D<F)break;v=D}P=w}let M=-1,S=null;if(P>0&&!K)for(let w=P-1;w>=0;w--){let D=XX(J[w]);if(D===null)continue;let p=X(w);if(p>=0&&p+1>=F)continue;M=w,S=D;break}let Z0=v>=0?v-z[P]:0,d=M>=0?Math.max(0,Z0+z[M]):-1,O=y.useRef({idx:-1,tries:0}),C=y.useRef("none"),_=y.useRef(-1);return y.useEffect(()=>{if(O.current.idx>=0)return;if(C.current==="armed"){C.current="force";return}let w=C.current==="force";if(C.current="none",!w&&_.current===M)return;if(_.current=M,S===null){V(null);return}let D=S.trimStart(),p=D.search(/\n\s*\n/),J0=(p>=0?D.slice(0,p):D).slice(0,zX).replace(/\s+/g," ").trim();if(J0===""){V(null);return}let E=M,k=d;V({text:J0,scrollTo:()=>{V("clicked"),C.current="armed";let H0=W(E);if(H0)q.current?.scrollToElement(H0,1);else q.current?.scrollTo(k),O.current={idx:E,tries:0}}})}),y.useEffect(()=>{if(O.current.idx<0)return;let w=W(O.current.idx);if(w)q.current?.scrollToElement(w,1),O.current={idx:-1,tries:0};else if(++O.current.tries>5)O.current={idx:-1,tries:0}}),null}var bQ,y,dZ=3,OQ,zX=500,AQ,YX=()=>{};var vQ=L0(()=>{NQ();p0();JX();LJ();ez();ZX();IZ();EQ();F0();bQ=N0(u0(),1),y=N0(S0(),1),OQ=new WeakMap;AQ=new WeakMap});function EX(J,Z){let Q=new Set(Z),z=new Set;return J.filter((X)=>{if(X.type==="system")return X.subtype!=="api_metrics";let W=X.message?.content[0];if(X.type==="assistant"){if(X.isApiErrorMessage)return!0;if(W?.type==="tool_use"&&W.name&&Q.has(W.name)){if("id"in W)z.add(W.id);return!0}return!1}if(X.type==="user"){if(W?.type==="tool_result")return W.tool_use_id!==void 0&&z.has(W.tool_use_id);return!X.isMeta}if(X.type==="attachment"){let q=X.attachment;return q?.type==="queued_command"&&q.commandMode==="prompt"&&!q.isMeta&&q.origin===void 0}return!1})}function bX(J,Z){let Q=new Set(Z),z=new Set,X=[],W=0;for(let q=0;q<J.length;q++){let V=J[q],Y=V.message?.content[0];if(V.type==="user"&&Y?.type!=="tool_result"&&!V.isMeta){W++;continue}if(V.type==="assistant"){if(Y?.type==="text")X[q]=W;else if(Y?.type==="tool_use"&&Y.name&&Q.has(Y.name))z.add(W)}}if(z.size===0)return J;return J.filter((q,V)=>{let Y=X[V];return Y===void 0||!z.has(Y)})}function yX(J,Z,Q=CX,z=vX){let X=Z.current,W=X?J.findIndex((Y)=>Y.uuid===X.uuid):-1,q=W>=0?W:X?Math.min(X.idx,Math.max(0,J.length-Q)):0;if(J.length-q>Q+z)q=J.length-Q;let V=J[q];if(V&&(X?.uuid!==V.uuid||X.idx!==q))Z.current={uuid:V.uuid,idx:q};else if(!V&&X)Z.current=null;return q}function _Q(J){return(J.type==="assistant"||J.type==="user"?g0(J):null)??J.uuid}function IX(J,Z){if(J.size!==Z.size)return!1;for(let Q of J)if(!Z.has(Q))return!1;return!0}function tJ(J,Z,Q,z,X,W){if(X==="transcript")return!0;switch(J.type){case"attachment":case"user":case"assistant":{if(J.type==="assistant"){let V=J.message.content[0];if(V?.type==="server_tool_use")return W.resolvedToolUseIDs.has(V.id)}let q=g0(J);if(!q)return!0;if(Z.has(q))return!1;if(Q.has(q))return!1;if(oQ(q,"PostToolUse",W))return!1;return FJ(z,W.resolvedToolUseIDs)}case"system":return J.subtype!=="api_error";case"grouped_tool_use":return J.messages.every((V)=>{let Y=V.message.content[0];return Y?.type==="tool_use"&&W.resolvedToolUseIDs.has(Y.id)});case"collapsed_read_search":return!1}}var gQ,YZ,f,UX,jX=null,yQ=null,MX=null,cZ=30,CX=200,vX=50,_X=({messages:J,tools:Z,commands:Q,verbose:z,toolJSX:X,toolUseConfirmQueue:W,inProgressToolUseIDs:q,isMessageSelectorVisible:V,conversationId:Y,screen:K,streamingToolUses:F,showAllInTranscript:P=!1,agentDefinitions:v,onOpenRateLimitOptions:M,hideLogo:S=!1,isLoading:Z0,hidePastThinking:d=!1,streamingThinking:O,hasStreamingText:C=!1,isBriefOnly:_=!1,unseenDivider:w,scrollRef:D,trackStickyPrompt:p,jumpRef:J0,onSearchMatchesChange:E,scanElement:k,setPositions:H0,disableRenderCap:Y0=!1,cursor:l=null,setCursor:h,cursorNavRef:z0,renderRange:Q0})=>{let{columns:X0}=FZ(),O0=RQ("transcript:toggleShowAll","Transcript","Ctrl+E"),T=f.useMemo(()=>nZ(J).filter(nQ),[J]),i=f.useMemo(()=>{if(!O)return!1;if(O.isStreaming)return!0;if(O.streamingEndedAt)return Date.now()-O.streamingEndedAt<30000;return!1},[O]),o=f.useMemo(()=>{if(!d)return null;if(i)return"streaming";for(let G=T.length-1;G>=0;G--){let j=T[G];if(j?.type==="assistant"){let B0=j.message.content;for(let a=B0.length-1;a>=0;a--)if(B0[a]?.type==="thinking")return`${j.uuid}:${a}`}else if(j?.type==="user"){if(!j.message.content.some((a)=>a.type==="tool_result"))return"no-thinking"}}return null},[T,d,i]),t=f.useMemo(()=>{for(let G=T.length-1;G>=0;G--){let j=T[G];if(j?.type==="user"){let B0=j.message.content;for(let a of B0)if(a.type==="text"){let w0=a.text;if(w0.startsWith("<bash-stdout")||w0.startsWith("<bash-stderr"))return j.uuid}}}return null},[T]),I=f.useMemo(()=>tQ(T),[T]),W0=f.useMemo(()=>F.filter((G)=>!q.has(G.contentBlock.id)&&!I.has(G.contentBlock.id)),[F,q,I]),N=f.useMemo(()=>W0.flatMap((G)=>{let j=mQ({content:[G.contentBlock]});return j.uuid=TQ(G.contentBlock.id,0),nZ([j])}),[W0]),U=K==="transcript",R=f.useMemo(()=>IQ(process.env.CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL),[]),s=D!=null&&!R,A0=U&&!P&&!s,V0=f.useRef(null),{collapsed:G0,lookups:M0,hasTruncatedMessages:n0,hiddenMessageCount:y0}=f.useMemo(()=>{let G=z||c0()?T:iQ(T,{includeSnipped:!0}),j=aQ(G.filter((I0)=>I0.type!=="progress").filter((I0)=>!GZ(I0)).filter((I0)=>lQ(I0,U)),N),B0=[yQ,MX].filter((I0)=>I0!==null),a=[yQ].filter((I0)=>I0!==null),w0=B0.length>0&&!U?_?EX(j,B0):a.length>0?bX(j,a):j:j,C0=A0?w0.slice(-cZ):w0,VZ=A0&&w0.length>cZ,{messages:d0}=CJ(C0,Z,z),sQ=OJ(DJ(MJ(cQ(d0,Z))),z),eQ=rQ(T,C0),Zz=j.length-cZ;return{collapsed:sQ,lookups:eQ,hasTruncatedMessages:VZ,hiddenMessageCount:Zz}},[z,T,U,N,A0,Z,_]),D0=f.useMemo(()=>{let j=!s&&!Y0?yX(G0,V0):0;return Q0?G0.slice(Q0[0],Q0[1]):j>0?G0.slice(j):G0},[G0,Q0,s,Y0]),T0=f.useMemo(()=>new Set(F.map((G)=>G.contentBlock.id)),[F]),i0=fQ((G)=>G.tasks),h0=M0.asyncLaunchedToolUseIDs,b0=f.useMemo(()=>{if(h0.size===0)return null;let G=new Set;for(let[j,B0]of h0){let a=i0?.[B0]?.status;if(a==="running"||a==="requested"||a==="queued")G.add(j)}return G.size>0?G:null},[i0,h0]),l0=f.useMemo(()=>{if(!b0)return q;let G=new Set(q);for(let j of b0)G.add(j);return G},[q,b0]),t0=f.useMemo(()=>{if(!w)return-1;let G=w.firstUnseenUuid.slice(0,24);return D0.findIndex((j)=>j.uuid.slice(0,24)===G)},[w,D0]),_0=f.useMemo(()=>{if(!l)return-1;return D0.findIndex((G)=>G.uuid===l.uuid)},[l,D0]),[H,L]=f.useState(()=>new Set),A=f.useCallback((G)=>{let j=_Q(G);L((B0)=>{let a=new Set(B0);if(a.has(j))a.delete(j);else a.add(j);return a})},[]),x=f.useCallback((G)=>H.size>0&&H.has(_Q(G)),[H]),u=f.useRef(M0);u.current=M0;let n=f.useCallback((G)=>{if(G.type==="collapsed_read_search")return!0;if(G.type==="assistant"){let w0=G.message.content[0];return w0!=null&&xQ(w0)&&w0.type==="advisor_tool_result"&&w0.content.type==="advisor_result"}if(G.type!=="user")return!1;let j=G.message.content[0];if(j?.type!=="tool_result"||j.is_error||!G.toolUseResult)return!1;let B0=u.current.toolUseByToolUseID.get(j.tool_use_id)?.name;return(B0?mZ(Z,B0):void 0)?.isResultTruncated?.(G.toolUseResult)??!1},[Z]),r=(!X||!!X.shouldContinueAnimation)&&!W.length&&!V,c=l0.size>0,{progress:e}=hQ(),R0=f.useRef(null),P0=DZ().terminalProgressBarEnabled&&!kQ()&&!(jX?.isProactiveActive()??!1);f.useEffect(()=>{let G=P0?c?"indeterminate":"completed":null;if(R0.current===G)return;R0.current=G,e(G)},[e,P0,c]),f.useEffect(()=>{return()=>e(null)},[e]);let E0=f.useCallback((G)=>`${G.uuid}-${Y}`,[Y]),U0=(G,j)=>{let B0=j>0?D0[j-1]?.type:void 0,a=G.type==="user"&&B0==="user",w0=G.type==="collapsed_read_search"&&(C||aJ(D0,j,Z,T0)),C0=E0(G),VZ=B(rJ,{message:G,isUserContinuation:a,hasContentAfter:w0,tools:Z,commands:Q,verbose:z||x(G)||l?.expanded===!0&&j===_0,inProgressToolUseIDs:l0,streamingToolUseIDs:T0,screen:K,canAnimate:r,onOpenRateLimitOptions:M,lastThinkingBlockId:o,latestBashOutputUUID:t,columns:X0,isLoading:Z0,lookups:M0},C0),d0=B($Q.Provider,{value:j===_0,children:VZ},C0);if(w&&j===t0)return[B(b,{marginTop:1,children:B(UZ,{title:`${w.count} new ${LZ(w.count,"message")}`,width:X0,color:"inactive"})},"unseen-divider"),d0];return d0},j0=f.useRef(new WeakMap),k0=f.useCallback((G)=>{let j=j0.current.get(G);if(j!==void 0)return j;let B0=AZ(G);if(G.type==="user"&&G.toolUseResult&&Array.isArray(G.message.content)){let w0=G.message.content.find((C0)=>C0.type==="tool_result");if(w0&&"tool_use_id"in w0){let C0=M0.toolUseByToolUseID.get(w0.tool_use_id),d0=(C0&&mZ(Z,C0.name))?.extractSearchText?.(G.toolUseResult);if(d0!==void 0)B0=d0}}let a=B0.toLowerCase();return j0.current.set(G,a),a},[Z,M0]);return $(f0,{children:[!S&&!(Q0&&Q0[0]>0)&&B(UX,{agentDefinitions:v}),n0&&B(UZ,{title:`${O0} to show ${gZ.bold(y0)} previous messages`,width:X0}),U&&P&&y0>0&&!Y0&&B(UZ,{title:`${O0} to hide ${gZ.bold(y0)} previous messages`,width:X0}),s?B(uQ.Provider,{value:!0,children:B(CQ,{messages:D0,scrollRef:D,columns:X0,itemKey:E0,renderItem:U0,onItemClick:A,isItemClickable:n,isItemExpanded:x,trackStickyPrompt:p,selectedIndex:_0>=0?_0:void 0,cursorNavRef:z0,setCursor:h,jumpRef:J0,onSearchMatchesChange:E,scanElement:k,setPositions:H0,extractSearchText:k0})}):D0.flatMap(U0),C&&!_&&B(kX,{}),i&&O&&!_&&B(b,{marginTop:1,children:B(dQ,{param:{type:"thinking",thinking:O.thinking},addMargin:!1,isTranscriptMode:!0,verbose:z,hideInTranscript:!1})})]})},kX=()=>{let J=iZ();if(!J)return null;return B(b,{alignItems:"flex-start",flexDirection:"row",marginTop:1,width:"100%",children:$(b,{flexDirection:"row",children:[B(b,{minWidth:2,children:B(g,{color:"text",children:SQ})}),B(b,{flexDirection:"column",children:B(pQ,{children:J})})]})})},g8;var sJ=L0(()=>{GX();KJ();BX();LX();qJ();KX();p0();wX();AX();FX();OX();AJ();UJ();cJ();EJ();HQ();HX();vZ();vJ();OZ();XJ();IZ();NX();PX();lZ();oJ();EQ();DX();CZ();gJ();FQ();vQ();F0();gQ=N0(u0(),1),YZ=N0(S0(),1),f=N0(S0(),1),UX=YZ.memo(function(Z){let Q=gQ.c(3),{agentDefinitions:z}=Z,X;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))X=null,Q[0]=X;else X=Q[0];let W;if(Q[1]!==z)W=B(e0,{children:$(b,{flexDirection:"column",gap:1,children:[X,B(YZ.Suspense,{fallback:null,children:B(LQ,{agentDefinitions:z})})]})}),Q[1]=z,Q[2]=W;else W=Q[2];return W});g8=YZ.memo(_X,(J,Z)=>{let Q=Object.keys(J);for(let z of Q){if(z==="onOpenRateLimitOptions"||z==="scrollRef"||z==="trackStickyPrompt"||z==="setCursor"||z==="cursorNavRef"||z==="jumpRef"||z==="onSearchMatchesChange"||z==="scanElement"||z==="setPositions")continue;if(J[z]!==Z[z]){if(z==="streamingToolUses"){let X=J.streamingToolUses,W=Z.streamingToolUses;if(X.length===W.length&&X.every((q,V)=>q.contentBlock===W[V]?.contentBlock))continue}if(z==="inProgressToolUseIDs"){if(IX(J.inProgressToolUseIDs,Z.inProgressToolUseIDs))continue}if(z==="unseenDivider"){let X=J.unseenDivider,W=Z.unseenDivider;if(X?.firstUnseenUuid===W?.firstUnseenUuid&&X?.count===W?.count)continue}if(z==="tools"){let X=J.tools,W=Z.tools;if(X.length===W.length&&X.every((q,V)=>q.name===W[V]?.name))continue}return!1}}return!0})});
12
+ export{s0 as re,TX as se,lZ as te,xX as ue,$X as ve,JJ as we,QW as xe,zW as ye,XW as ze,LJ as Ae,g8 as Be,sJ as Ce};
@@ -0,0 +1,2 @@
1
+ import{Kd as Jq,Od as Tq}from"./cli-0.6.10-bz35vcq0.mjs";import{Vd as zq,Wd as bq}from"./cli-0.6.10-kcg9xtd4.mjs";import{An as n,BJ as Nq,Bn as yq,EK as D,HK as Cq,MJ as s,NJ as _q,RJ as a,UJ as l,YJ as t,bK as e,cH as u,dH as fq,dK as Rq,kK as qq,nF as r,oF as Gq,oK as Fq,yJ as S}from"./cli-0.6.10-fh0qe3jw.mjs";import{FX as Bq,FZ as Oq,_Y as F,aZ as C,vX as i,wX as Kq}from"./cli-0.6.10-ajjmvx3c.mjs";import{L1 as v,M1 as R,N1 as p}from"./cli-0.6.10-gj0a1s24.mjs";import{O1 as Lq}from"./cli-0.6.10-w0xpqx8x.mjs";import{Z9 as x,d8 as g,e8 as Zq,gea as m,oea as wq,p8 as $,p9 as o,q9 as Hq,r8 as Xq,u_ as vq}from"./cli-0.6.10-3nht1qk2.mjs";import{Rha as B,Uha as Yq}from"./cli-0.6.10-zqv22c50.mjs";import{iia as P,lia as h,qia as Wq}from"./cli-0.6.10-87cpzzxg.mjs";import{Kpa as d,Opa as Vq}from"./cli-0.6.10-yr88z6pr.mjs";import{readFile as c}from"fs/promises";import{join as j}from"path";function Qq(){return s}function Aq(){return Mq}function Uq(){return`thinkback@${Qq()}`}async function jq(){let{enabled:H}=await D(),q=H.find((U)=>U.name==="thinkback"||U.source&&U.source.includes(Uq()));if(!q)return null;let J=j(q.path,"skills",Sq);if(await x(J))return J;return null}async function Iq(H){let q=j(H,"year_in_review.js"),J=j(H,"player.js");try{await c(q)}catch(z){if(h(z))return{success:!1,message:"No animation found. Run /think-back first to generate one."};return m(z),{success:!1,message:`Could not access animation data: ${P(z).message}`}}try{await c(J)}catch(z){if(h(z))return{success:!1,message:"Player script not found. The player.js file is missing from the thinkback skill."};return m(z),{success:!1,message:`Could not access player script: ${P(z).message}`}}let U=i.get(process.stdout);if(!U)return{success:!1,message:"Failed to access terminal instance"};U.enterAlternateScreen();try{await g("node",[J],{stdio:"inherit",cwd:H,reject:!1})}catch{}finally{U.exitAlternateScreen()}let O=j(H,"year_in_review.html");if(await x(O)){let z=o();$(z==="macos"?"open":z==="windows"?"start":"xdg-open",[O])}return{success:!0,message:"Year in review animation complete!"}}function Pq({onReady:H,onError:q}){let[J,U]=K.useState({phase:"checking"}),[O,z]=K.useState("");if(K.useEffect(()=>{async function Z(){try{let y=await l(),Y=Qq(),G=Aq(),X=Uq(),_=Y in y,L=qq(X);if(!_)U({phase:"installing-marketplace"}),B(`Installing marketplace ${G}`),await t({source:"github",repo:G},(V)=>{z(V)}),S(),B(`Marketplace ${Y} installed`);else if(!L)U({phase:"installing-marketplace"}),z("Updating marketplace…"),B(`Refreshing marketplace ${Y}`),await e(Y,(V)=>{z(V)}),a(),S(),B(`Marketplace ${Y} refreshed`);if(!L){U({phase:"installing-plugin"}),B(`Installing plugin ${X}`);let V=await zq([X]);if(V.failed.length>0){let w=V.failed.map((W)=>`${W.name}: ${W.error}`).join(", ");throw Error(`Failed to install plugin: ${w}`)}S(),B(`Plugin ${X} installed`)}else{let{disabled:V}=await D();if(V.some((W)=>W.name==="thinkback"||W.source?.includes(X))){U({phase:"enabling-plugin"}),B(`Enabling plugin ${X}`);let W=await Jq(X);if(!W.success)throw Error(`Failed to enable plugin: ${W.message}`);S(),B(`Plugin ${X} enabled`)}}U({phase:"ready"}),H()}catch(y){let Y=P(y);m(Y),U({phase:"error",message:Y.message}),q(Y.message)}}Z()},[H,q]),J.phase==="error")return v(F,{flexDirection:"column",children:R(C,{color:"error",children:["Error: ",J.message]})});if(J.phase==="ready")return null;let T=J.phase==="checking"?"Checking thinkback installation…":J.phase==="installing-marketplace"?"Installing marketplace…":J.phase==="enabling-plugin"?"Enabling thinkback plugin…":"Installing thinkback plugin…";return v(F,{flexDirection:"column",children:R(F,{children:[v(u,{}),v(C,{children:O||T})]})})}function mq(H){let q=k.c(19),{onDone:J,onAction:U,skillDir:O,hasGenerated:z}=H,[T,Z]=K.useState(!1),y;if(q[0]!==z)y=z?[{label:"Play animation",value:"play",description:"Watch your year in review"},{label:"Edit content",value:"edit",description:"Modify the animation"},{label:"Fix errors",value:"fix",description:"Fix validation or rendering issues"},{label:"Regenerate",value:"regenerate",description:"Create a new animation from scratch"}]:[{label:"Let's go!",value:"regenerate",description:"Generate your personalized animation"}],q[0]=z,q[1]=y;else y=q[1];let Y=y,G;if(q[2]!==U||q[3]!==J||q[4]!==O)G=function(b){if(Z(!0),b==="play")Iq(O).then(()=>{J(void 0,{display:"skip"})});else U(b)},q[2]=U,q[3]=J,q[4]=O,q[5]=G;else G=q[5];let X=G,_;if(q[6]!==J)_=function(){J(void 0,{display:"skip"})},q[6]=J,q[7]=_;else _=q[7];let L=_;if(T)return null;let V;if(q[8]!==z)V=!z&&R(F,{flexDirection:"column",children:[v(C,{children:"Relive your year of coding with Claude."}),v(C,{dimColor:!0,children:"We'll create a personalized ASCII animation celebrating your journey."})]}),q[8]=z,q[9]=V;else V=q[9];let w;if(q[10]!==X||q[11]!==Y)w=v(r,{options:Y,onChange:X,visibleOptionCount:5}),q[10]=X,q[11]=Y,q[12]=w;else w=q[12];let W;if(q[13]!==V||q[14]!==w)W=R(F,{flexDirection:"column",gap:1,children:[V,w]}),q[13]=V,q[14]=w,q[15]=W;else W=q[15];let f;if(q[16]!==L||q[17]!==W)f=v(n,{title:"Think Back on 2025 with Claude Code",subtitle:"Generate your 2025 Claude Code Think Back (takes a few minutes to run)",onCancel:L,color:"claude",children:W}),q[16]=L,q[17]=W,q[18]=f;else f=q[18];return f}function uq(H){let q=k.c(27),{onDone:J}=H,[U,O]=K.useState(!1),[z,T]=K.useState(null),[Z,y]=K.useState(null),[Y,G]=K.useState(null),X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=function(){O(!0)},q[0]=X;else X=q[0];let _=X,L;if(q[1]!==J)L=(Q)=>{T(Q),J(`Error with thinkback: ${Q}. Try running /plugin to manually install the think-back plugin.`,{display:"system"})},q[1]=J,q[2]=L;else L=q[2];let V=L,w,W;if(q[3]!==V||q[4]!==U||q[5]!==z||q[6]!==Z)w=()=>{if(U&&!Z&&!z)jq().then((Q)=>{if(Q)B(`Thinkback skill directory: ${Q}`),y(Q);else V("Could not find thinkback skill directory")})},W=[U,Z,z,V],q[3]=V,q[4]=U,q[5]=z,q[6]=Z,q[7]=w,q[8]=W;else w=q[7],W=q[8];K.useEffect(w,W);let f,M;if(q[9]!==Z)f=()=>{if(!Z)return;let Q=j(Z,"year_in_review.js");x(Q).then((N)=>{B(`Checking for ${Q}: ${N?"found":"not found"}`),G(N)})},M=[Z],q[9]=Z,q[10]=f,q[11]=M;else f=q[10],M=q[11];K.useEffect(f,M);let b;if(q[12]!==J)b=function(N){J({edit:xq,fix:Eq,regenerate:hq}[N],{display:"user",shouldQuery:!0})},q[12]=J,q[13]=b;else b=q[13];let E=b;if(z){let Q;if(q[14]!==z)Q=R(C,{color:"error",children:["Error: ",z]}),q[14]=z,q[15]=Q;else Q=q[15];let N;if(q[16]===Symbol.for("react.memo_cache_sentinel"))N=v(C,{dimColor:!0,children:"Try running /plugin to manually install the think-back plugin."}),q[16]=N;else N=q[16];let A;if(q[17]!==Q)A=R(F,{flexDirection:"column",children:[Q,N]}),q[17]=Q,q[18]=A;else A=q[18];return A}if(!U){let Q;if(q[19]!==V)Q=v(Pq,{onReady:_,onError:V}),q[19]=V,q[20]=Q;else Q=q[20];return Q}if(!Z||Y===null){let Q;if(q[21]===Symbol.for("react.memo_cache_sentinel"))Q=R(F,{children:[v(u,{}),v(C,{children:"Loading thinkback skill…"})]}),q[21]=Q;else Q=q[21];return Q}let I;if(q[22]!==E||q[23]!==Y||q[24]!==J||q[25]!==Z)I=v(mq,{onDone:J,onAction:E,skillDir:Z,hasGenerated:Y}),q[22]=E,q[23]=Y,q[24]=J,q[25]=Z,q[26]=I;else I=q[26];return I}async function Yz(H){return v(uq,{onDone:H})}var k,K,Mq="anthropics/claude-plugins-official",Sq="thinkback",xq='Use the Skill tool to invoke the "thinkback" skill with mode=edit to modify my existing Claude Code year in review animation. Ask me what I want to change. When the animation is ready, tell the user to run /think-back again to play it.',Eq='Use the Skill tool to invoke the "thinkback" skill with mode=fix to fix validation or rendering errors in my existing Claude Code year in review animation. Run the validator, identify errors, and fix them. When the animation is ready, tell the user to run /think-back again to play it.',hq='Use the Skill tool to invoke the "thinkback" skill with mode=regenerate to create a completely new Claude Code year in review animation from scratch. Delete the existing animation and start fresh. When the animation is ready, tell the user to run /think-back again to play it.';var Dq=Vq(()=>{Zq();Gq();yq();fq();Kq();Oq();Tq();Yq();Wq();Xq();vq();wq();Hq();Nq();Fq();Rq();_q();Cq();bq();p();k=d(Bq(),1),K=d(Lq(),1)});
2
+ export{Iq as Ad,Yz as Bd,Dq as Cd};
@@ -0,0 +1,3 @@
1
+ import{xg as d,yg as Vq}from"./cli-0.6.10-yy76qw7h.mjs";import{SR as Oq,kQ as a,mQ as yq,qR as l}from"./cli-0.6.10-fh0qe3jw.mjs";import{FX as Zq,FZ as Gq,_Y as T,aZ as R,uZ as $}from"./cli-0.6.10-ajjmvx3c.mjs";import{C0 as e,x0 as t,z0 as v}from"./cli-0.6.10-e5n6kpjg.mjs";import{L1 as P,M1 as N,N1 as S}from"./cli-0.6.10-gj0a1s24.mjs";import{O1 as Yq}from"./cli-0.6.10-w0xpqx8x.mjs";import{j2 as u,k2 as Aq}from"./cli-0.6.10-5qrbfb57.mjs";import{Z9 as j,p8 as G,r8 as o,u_ as s}from"./cli-0.6.10-3nht1qk2.mjs";import{$fa as r,_fa as w}from"./cli-0.6.10-4v3edm8v.mjs";import{Rha as L,Uha as n}from"./cli-0.6.10-zqv22c50.mjs";import{jia as c,qia as Xq}from"./cli-0.6.10-87cpzzxg.mjs";import{hoa as i,kka as f}from"./cli-0.6.10-seh7emsc.mjs";import{Kpa as I,Opa as h}from"./cli-0.6.10-yr88z6pr.mjs";import{readdir as qq}from"fs/promises";import{join as zq}from"path";function _(){let H=[process.argv[1]||"",process.execPath||""],q=["/build-ant/","/build-ant-native/","/build-external/","/build-external-native/"];return H.some((z)=>q.some((Q)=>z.includes(Q)))}function Jq(H){let q=_()?"claude-dev":"claude",z=new URL(`${q}://resume`);return z.searchParams.set("session",H),z.searchParams.set("cwd",w()),z.toString()}async function g(){if(_())return!0;let H=process.platform;if(H==="darwin")return j("/Applications/Claude.app");else if(H==="linux"){let{code:q,stdout:z}=await G("xdg-mime",["query","default","x-scheme-handler/claude"]);return q===0&&z.trim().length>0}else if(H==="win32"){let{code:q}=await G("reg",["query","HKEY_CLASSES_ROOT\\claude","/ve"]);return q===0}return!1}async function Qq(){let H=process.platform;if(H==="darwin"){let{code:q,stdout:z}=await G("defaults",["read","/Applications/Claude.app/Contents/Info.plist","CFBundleShortVersionString"]);if(q!==0)return null;let Q=z.trim();return Q.length>0?Q:null}else if(H==="win32"){let q=process.env.LOCALAPPDATA;if(!q)return null;let z=zq(q,"AnthropicClaude");try{let Y=(await qq(z)).filter((W)=>W.startsWith("app-")).map((W)=>W.slice(4)).filter((W)=>K.coerce(W)!==null).sort((W,B)=>{let V=K.coerce(W),y=K.coerce(B);return V.compare(y)});return Y.length>0?Y[Y.length-1]:null}catch{return null}}return null}async function x(){if(!await g())return{status:"not-installed"};let q;try{q=await Qq()}catch{return{status:"ready",version:"unknown"}}if(!q)return{status:"ready",version:"unknown"};let z=K.coerce(q);if(!z||!v(z.version,Hq))return{status:"version-too-old",version:q};return{status:"ready",version:q}}async function Wq(H){let q=process.platform;if(L(`Opening deep link: ${H}`),q==="darwin"){if(_()){let{code:Q}=await G("osascript",["-e",`tell application "Electron" to open location "${H}"`]);return Q===0}let{code:z}=await G("open",[H]);return z===0}else if(q==="linux"){let{code:z}=await G("xdg-open",[H]);return z===0}else if(q==="win32"){let{code:z}=await G("cmd",["/c","start","",H]);return z===0}return!1}async function m(){let H=f();if(!await g())return{success:!1,error:"Claude Desktop is not installed. Install it from https://claude.ai/download"};let z=Jq(H);if(!await Wq(z))return{success:!1,error:"Failed to open Claude Desktop. Please try opening it manually.",deepLinkUrl:z};return{success:!0,deepLinkUrl:z}}var K,Hq="1.1.2396";var k=h(()=>{i();r();n();o();s();e();K=I(t(),1)});function Kq(){switch(process.platform){case"win32":return"https://claude.ai/api/desktop/win32/x64/exe/latest/redirect";default:return"https://claude.ai/api/desktop/darwin/universal/dmg/latest/redirect"}}function mq(H){let q=p.c(20),{onDone:z}=H,[Q,Y]=A.useState("checking"),[W,B]=A.useState(null),[V,y]=A.useState(""),O;if(q[0]!==W||q[1]!==z||q[2]!==Q)O=(J)=>{if(Q==="error"){z(W??"Unknown error",{display:"system"});return}if(Q==="prompt-download"){if(J==="y"||J==="Y")u(Kq()).catch(Rq),z(`Starting download. Re-run /desktop once you’ve installed the app.
2
+ Learn more at ${D}`,{display:"system"});else if(J==="n"||J==="N")z(`The desktop app is required for /desktop. Learn more at ${D}`,{display:"system"})}},q[0]=W,q[1]=z,q[2]=Q,q[3]=O;else O=q[3];$(O);let E,F;if(q[4]!==z)E=()=>{(async function(){Y("checking");let X=await x();if(X.status==="not-installed"){y("Claude Desktop is not installed."),Y("prompt-download");return}if(X.status==="version-too-old"){y(`Claude Desktop needs to be updated (found v${X.version}, need v1.1.2396+).`),Y("prompt-download");return}Y("flushing"),await l(),Y("opening");let U=await m();if(!U.success){B(U.error??"Failed to open Claude Desktop"),Y("error");return}Y("success"),setTimeout(Pq,500,z)})().catch((Z)=>{B(c(Z)),Y("error")})},F=[z],q[4]=z,q[5]=E,q[6]=F;else E=q[5],F=q[6];if(A.useEffect(E,F),Q==="error"){let J;if(q[7]!==W)J=N(R,{color:"error",children:["Error: ",W]}),q[7]=W,q[8]=J;else J=q[8];let Z;if(q[9]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{dimColor:!0,children:"Press any key to continue…"}),q[9]=Z;else Z=q[9];let X;if(q[10]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[10]=J,q[11]=X;else X=q[11];return X}if(Q==="prompt-download"){let J;if(q[12]!==V)J=P(R,{children:V}),q[12]=V,q[13]=J;else J=q[13];let Z;if(q[14]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{children:"Download now? (y/n)"}),q[14]=Z;else Z=q[14];let X;if(q[15]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[15]=J,q[16]=X;else X=q[16];return X}let C;if(q[17]===Symbol.for("react.memo_cache_sentinel"))C={checking:"Checking for Claude Desktop…",flushing:"Saving session…",opening:"Opening Claude Desktop…",success:"Opening in Claude Desktop…"},q[17]=C;else C=q[17];let b=C[Q],M;if(q[18]!==b)M=P(d,{message:b}),q[18]=b,q[19]=M;else M=q[19];return M}async function Pq(H){H("Session transferred to Claude Desktop",{display:"system"}),await a(0,"other")}function Rq(){}var p,A,D="https://clau.de/desktop";var Bq=h(()=>{Gq();Aq();k();Xq();yq();Oq();Vq();S();p=I(Zq(),1),A=I(Yq(),1)});
3
+ export{mq as vg,Bq as wg};
@@ -0,0 +1,2 @@
1
+ import{IY as v,JY as Z,KY as D,qY as T,rY as X,sY as I,uY as Y,vY as p}from"./cli-0.6.10-ajjmvx3c.mjs";import{L1 as P,N1 as V}from"./cli-0.6.10-gj0a1s24.mjs";import{O1 as H}from"./cli-0.6.10-w0xpqx8x.mjs";import{hoa as F,qla as W}from"./cli-0.6.10-seh7emsc.mjs";import{Kpa as A,Opa as C}from"./cli-0.6.10-yr88z6pr.mjs";function B({children:_,ref:$,stickyScroll:g,...K}){let E=J.useRef(null),[,w]=J.useState(0),L=J.useRef(new Set),N=J.useRef(!1),U=()=>{for(let q of L.current)q()};function O(q){if(W(),T(q),Y(),U(),N.current)return;N.current=!0,queueMicrotask(()=>{N.current=!1,X(q)})}return J.useImperativeHandle($,()=>({scrollTo(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.pendingScrollDelta=void 0,z.scrollAnchor=void 0,z.scrollTop=Math.max(0,Math.floor(q)),O(z)},scrollToElement(q,z=0){let G=E.current;if(!G)return;G.stickyScroll=!1,G.pendingScrollDelta=void 0,G.scrollAnchor={el:q,offset:z},O(G)},scrollBy(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.scrollAnchor=void 0,z.pendingScrollDelta=(z.pendingScrollDelta??0)+Math.floor(q),O(z)},scrollToBottom(){let q=E.current;if(!q)return;q.pendingScrollDelta=void 0,q.stickyScroll=!0,T(q),U(),w((z)=>z+1)},getScrollTop(){return E.current?.scrollTop??0},getPendingDelta(){return E.current?.pendingScrollDelta??0},getScrollHeight(){return E.current?.scrollHeight??0},getFreshScrollHeight(){return E.current?.childNodes[0]?.yogaNode?.getComputedHeight()??E.current?.scrollHeight??0},getViewportHeight(){return E.current?.scrollViewportHeight??0},getViewportTop(){return E.current?.scrollViewportTop??0},isSticky(){let q=E.current;if(!q)return!1;return q.stickyScroll??Boolean(q.attributes.stickyScroll)},subscribe(q){return L.current.add(q),()=>L.current.delete(q)},setClampBounds(q,z){let G=E.current;if(!G)return;G.scrollClampMin=q,G.scrollClampMax=z}}),[]),P("ink-box",{ref:(q)=>{if(E.current=q,q)q.scrollTop??=0},style:{flexWrap:"nowrap",flexDirection:K.flexDirection??"row",flexGrow:K.flexGrow??0,flexShrink:K.flexShrink??1,...K,overflowX:"scroll",overflowY:"scroll"},...g?{stickyScroll:!0}:{},children:P(Z,{flexDirection:"column",flexGrow:1,flexShrink:0,width:"100%",children:_})})}var J,u;var M=C(()=>{F();I();p();v();D();V();J=A(H(),1);u=B});
2
+ export{u as Dh,M as Eh};
@@ -0,0 +1,2 @@
1
+ import{Gia as F,wia as w}from"./cli-0.6.10-kr2hhxcp.mjs";import{Opa as D}from"./cli-0.6.10-yr88z6pr.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 wT,V as xT,L as yT};
@@ -0,0 +1,2 @@
1
+ import{Afa as K,pfa as G}from"./cli-0.6.10-3kakfn9p.mjs";import{Tfa as j,Vfa as M,Wfa as J,Xfa as N}from"./cli-0.6.10-wnwqatq5.mjs";M();K();N();var q={poll_interval_ms_not_at_capacity:2000,poll_interval_ms_at_capacity:600000,non_exclusive_heartbeat_interval_ms:0,multisession_poll_interval_ms_not_at_capacity:2000,multisession_poll_interval_ms_partial_capacity:2000,multisession_poll_interval_ms_at_capacity:600000,reclaim_older_than_ms:5000,session_keepalive_interval_v2_ms:120000};var B={message:"must be 0 (disabled) or ≥100ms"},P=J(()=>j.object({poll_interval_ms_not_at_capacity:j.number().int().min(100),poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B),non_exclusive_heartbeat_interval_ms:j.number().int().min(0).default(0),multisession_poll_interval_ms_not_at_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_not_at_capacity),multisession_poll_interval_ms_partial_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_partial_capacity),multisession_poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B).default(q.multisession_poll_interval_ms_at_capacity),reclaim_older_than_ms:j.number().int().min(1).default(5000),session_keepalive_interval_v2_ms:j.number().int().min(0).default(120000)}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or poll_interval_ms_at_capacity > 0"}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.multisession_poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or multisession_poll_interval_ms_at_capacity > 0"}));function $(){let b=G("tengu_bridge_poll_interval_config",q,300000),x=P().safeParse(b);return x.success?x.data:q}
2
+ export{q as gb,$ as hb};
@@ -0,0 +1,2 @@
1
+ import{c2 as N,h2 as $}from"./cli-0.6.10-m6mnqx47.mjs";import{U5 as M,c3 as L,f3 as Y,s6 as Z}from"./cli-0.6.10-zyvt1jxy.mjs";import{gea as Q,oea as X}from"./cli-0.6.10-3nht1qk2.mjs";import{Mga as J,Nga as V}from"./cli-0.6.10-r6n3t4y5.mjs";import{iia as P,qia as S}from"./cli-0.6.10-87cpzzxg.mjs";import{cpa as K,upa as W}from"./cli-0.6.10-tgw0ne6b.mjs";import{Opa as R}from"./cli-0.6.10-yr88z6pr.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 mW,j as nW,b as oW};
@@ -0,0 +1,2 @@
1
+ import{Opa as e}from"./cli-0.6.10-yr88z6pr.mjs";function o(){return!0}var t=()=>{};
2
+ export{o as sS,t as tS};
@@ -0,0 +1,2 @@
1
+ import{jv as o,kv as n}from"./cli-0.6.10-fh0qe3jw.mjs";import{Opa as e}from"./cli-0.6.10-yr88z6pr.mjs";function i(m){t.setState(()=>[...m])}var t,r=()=>t.getState(),d;var s=e(()=>{n();t=o([]),d=t.subscribe});
2
+ export{r as wd,d as xd,i as yd,s as zd};
@@ -0,0 +1,2 @@
1
+ import{An as y,Bn as p,nF as O,pF as j}from"./cli-0.6.10-fh0qe3jw.mjs";import{FX as S,FZ as v,_Y as F,aZ as I,eZ as R}from"./cli-0.6.10-ajjmvx3c.mjs";import{L1 as Z,M1 as N,N1 as U}from"./cli-0.6.10-gj0a1s24.mjs";import{O1 as d}from"./cli-0.6.10-w0xpqx8x.mjs";import{mba as M,zba as E}from"./cli-0.6.10-3nht1qk2.mjs";import{Oga as H,Rga as b}from"./cli-0.6.10-qhnh10xs.mjs";import{Kpa as k}from"./cli-0.6.10-yr88z6pr.mjs";b();v();E();j();p();U();var T=k(S(),1),h=k(d(),1),x="Auto mode lets Claudin handle permission prompts automatically — Claudin checks each tool call for risky actions and prompt injection before executing. Actions Claudin identifies as safe are executed, while actions Claudin identifies as risky are blocked and Claudin may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. Claudin can make mistakes that allow harmful commands to run, it's recommended to only use in isolated environments. Shift+Tab to change mode.";function l(A){let f=T.c(18),{onAccept:J,onDecline:q,declineExits:C}=A,K;if(f[0]===Symbol.for("react.memo_cache_sentinel"))K=[],f[0]=K;else K=f[0];h.default.useEffect(_,K);let Q;if(f[1]!==J||f[2]!==q)Q=function(m){f:switch(m){case"accept":{H("tengu_auto_mode_opt_in_dialog_accept",{}),M("userSettings",{skipAutoPermissionPrompt:!0}),J();break f}case"accept-default":{H("tengu_auto_mode_opt_in_dialog_accept_default",{}),M("userSettings",{skipAutoPermissionPrompt:!0,permissions:{defaultMode:"auto"}}),J();break f}case"decline":H("tengu_auto_mode_opt_in_dialog_decline",{}),q()}},f[1]=J,f[2]=q,f[3]=Q;else Q=f[3];let B=Q,V;if(f[4]===Symbol.for("react.memo_cache_sentinel"))V=N(F,{flexDirection:"column",gap:1,children:[Z(I,{children:x}),Z(R,{url:"https://code.claude.com/docs/en/security"})]}),f[4]=V;else V=f[4];let W;if(f[5]===Symbol.for("react.memo_cache_sentinel"))W=[{label:"Yes, and make it my default mode",value:"accept-default"}],f[5]=W;else W=f[5];let X;if(f[6]===Symbol.for("react.memo_cache_sentinel"))X={label:"Yes, enable auto mode",value:"accept"},f[6]=X;else X=f[6];let L=C?"No, exit":"No, go back",w;if(f[7]!==L)w=[...W,X,{label:L,value:"decline"}],f[7]=L,f[8]=w;else w=f[8];let z;if(f[9]!==B)z=(P)=>B(P),f[9]=B,f[10]=z;else z=f[10];let G;if(f[11]!==q||f[12]!==w||f[13]!==z)G=Z(O,{options:w,onChange:z,onCancel:q}),f[11]=q,f[12]=w,f[13]=z,f[14]=G;else G=f[14];let Y;if(f[15]!==q||f[16]!==G)Y=N(y,{title:"Enable auto mode?",color:"warning",onCancel:q,children:[V,G]}),f[15]=q,f[16]=G,f[17]=Y;else Y=f[17];return Y}function _(){H("tengu_auto_mode_opt_in_dialog_shown",{})}
2
+ export{x as Ja,l as Ka};
@@ -0,0 +1,2 @@
1
+ import{Opa as K}from"./cli-0.6.10-yr88z6pr.mjs";function C(f){return(j)=>{if(j.code==="EPIPE")f.destroy()}}function M(){process.stdout.on("error",C(process.stdout)),process.stderr.on("error",C(process.stderr))}function G(f,j){if(f.destroyed)return;f.write(j)}function N(f){G(process.stdout,f)}function Q(f){G(process.stderr,f)}function R(f){console.error(f),process.exit(1)}function S(f,j){return new Promise((H)=>{let q=(J)=>{clearTimeout(B),f.off("end",z),f.off("data",A),H(J)},z=()=>q(!1),A=()=>clearTimeout(B),B=setTimeout(q,j,!0);f.once("end",z),f.once("data",A)})}var L=()=>{};
2
+ export{M as Vha,N as Wha,Q as Xha,R as Yha,S as Zha,L as _ha};
@@ -0,0 +1,2 @@
1
+ import{Opa as s}from"./cli-0.6.10-yr88z6pr.mjs";function c(){return"claude-code/99.0.0"}function i(){let e=process.env.CLAUDE_CODE_ENTRYPOINT??"cli",n=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",t=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claudin/0.6.10 (${e}${n}${t})`}var r=()=>{};
2
+ export{c as V1,i as W1,r as X1};
@@ -0,0 +1,2 @@
1
+ import{Opa as B}from"./cli-0.6.10-yr88z6pr.mjs";function F(z){let k=z.trim();if(!k.startsWith("/"))return null;let b=k.slice(1).split(" ");if(!b[0])return null;let j=b[0],l=!1,q=1;if(b.length>1&&b[1]==="(MCP)")j=j+" (MCP)",l=!0,q=2;let A=b.slice(q).join(" ");return{commandName:j,args:A,isMcp:l}}var C=()=>{};
2
+ export{F as li,C as mi};
@@ -0,0 +1,2 @@
1
+ import{Npa as n,Opa as o}from"./cli-0.6.10-yr88z6pr.mjs";var p={};n(p,{stripProtoFields:()=>e,logEventAsync:()=>c,logEvent:()=>i,attachAnalyticsSink:()=>r,_resetForTesting:()=>s});function e(t){return t}function r(){}function i(){}async function c(){}function s(){}var u=()=>{};
2
+ export{i as Oga,c as Pga,p as Qga,u as Rga};
@@ -0,0 +1,2 @@
1
+ import{An as M,Bn as G,nF as A,pF as O}from"./cli-0.6.10-fh0qe3jw.mjs";import{FX as U,FZ as W,_Y as w,aZ as d,eZ as v}from"./cli-0.6.10-ajjmvx3c.mjs";import{L1 as i,M1 as a,N1 as S}from"./cli-0.6.10-gj0a1s24.mjs";import{O1 as N}from"./cli-0.6.10-w0xpqx8x.mjs";import{Kca as P,wca as I}from"./cli-0.6.10-3nht1qk2.mjs";import{Oga as h,Rga as L}from"./cli-0.6.10-qhnh10xs.mjs";import{Kpa as b,Opa as B}from"./cli-0.6.10-yr88z6pr.mjs";function V(t){let e=T.c(18),{onDone:g,isStandaloneDialog:D,externalIncludes:r}=t,s;if(e[0]===Symbol.for("react.memo_cache_sentinel"))s=[],e[0]=s;else s=e[0];k.default.useEffect(q,s);let c;if(e[1]!==g)c=(E)=>{if(E==="no")h("tengu_claude_md_external_includes_dialog_declined",{}),I($);else h("tengu_claude_md_external_includes_dialog_accepted",{}),I(Y);g()},e[1]=g,e[2]=c;else c=e[2];let l=c,u;if(e[3]!==l)u=()=>{l("no")},e[3]=l,e[4]=u;else u=e[4];let y=u,C=!D,x=!D,m;if(e[5]===Symbol.for("react.memo_cache_sentinel"))m=i(d,{children:"This project's CLAUDE.md imports files outside the current working directory. Never allow this for third-party repositories."}),e[5]=m;else m=e[5];let o;if(e[6]!==r)o=r&&r.length>0&&a(w,{flexDirection:"column",children:[i(d,{dimColor:!0,children:"External imports:"}),r.map(R)]}),e[6]=r,e[7]=o;else o=e[7];let p;if(e[8]===Symbol.for("react.memo_cache_sentinel"))p=a(d,{dimColor:!0,children:["Important: Only use Claudin with files you trust. Accessing untrusted files may pose security risks"," ",i(v,{url:"https://code.claude.com/docs/en/security"})," "]}),e[8]=p;else p=e[8];let f;if(e[9]===Symbol.for("react.memo_cache_sentinel"))f=[{label:"Yes, allow external imports",value:"yes"},{label:"No, disable external imports",value:"no"}],e[9]=f;else f=e[9];let n;if(e[10]!==l)n=i(A,{options:f,onChange:(E)=>l(E)}),e[10]=l,e[11]=n;else n=e[11];let _;if(e[12]!==y||e[13]!==n||e[14]!==C||e[15]!==x||e[16]!==o)_=a(M,{title:"Allow external CLAUDE.md file imports?",color:"warning",onCancel:y,hideBorder:C,hideInputGuide:x,children:[m,o,p,n]}),e[12]=y,e[13]=n,e[14]=C,e[15]=x,e[16]=o,e[17]=_;else _=e[17];return _}function R(t,e){return a(d,{dimColor:!0,children:[" ",t.path]},e)}function Y(t){return{...t,hasClaudeMdExternalIncludesApproved:!0,hasClaudeMdExternalIncludesWarningShown:!0}}function $(t){return{...t,hasClaudeMdExternalIncludesApproved:!1,hasClaudeMdExternalIncludesWarningShown:!0}}function q(){h("tengu_claude_md_includes_dialog_shown",{})}var T,k;var z=B(()=>{L();W();P();O();G();S();T=b(U(),1),k=b(N(),1)});
2
+ export{V as Bg,z as Cg};
@@ -0,0 +1,2 @@
1
+ import{Cb as Y}from"./cli-0.6.10-dn50fre7.mjs";import{NU as N,OU as C}from"./cli-0.6.10-743jgjs6.mjs";import{aea as A,cea as w}from"./cli-0.6.10-3nht1qk2.mjs";import{Oga as B,Rga as k}from"./cli-0.6.10-qhnh10xs.mjs";import{Rha as W,Uha as j,vha as L,zha as E}from"./cli-0.6.10-zqv22c50.mjs";import{jia as G,qia as K}from"./cli-0.6.10-87cpzzxg.mjs";k();C();import{randomUUID as O}from"crypto";j();w();K();E();function T(f){return f!==null&&typeof f==="object"&&"type"in f&&typeof f.type==="string"}function P(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_response"&&"response"in f}function S(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_request"&&"request_id"in f&&"request"in f}function v(f){if((f.type==="user"||f.type==="assistant")&&f.isVirtual)return!1;return f.type==="user"||f.type==="assistant"||f.type==="system"&&f.subtype==="local_command"}function q(f){if(f.type!=="user"||f.isMeta||f.toolUseResult||f.isCompactSummary)return;if(f.origin&&f.origin.kind!=="human")return;let X=f.message.content,Q;if(typeof X==="string")Q=X;else for(let Z of X)if(Z.type==="text"){Q=Z.text;break}if(!Q)return;return A(Q)||void 0}function p(f,X,Q,$,Z,z){try{let H=Y(L(f));if(P(H)){W("[bridge:repl] Ingress message type=control_response"),Z?.(H);return}if(S(H)){W(`[bridge:repl] Inbound control_request subtype=${H.request.subtype}`),z?.(H);return}if(!T(H))return;let J="uuid"in H&&typeof H.uuid==="string"?H.uuid:void 0;if(J&&X.has(J)){W(`[bridge:repl] Ignoring echo: type=${H.type} uuid=${J}`);return}if(J&&Q.has(J)){W(`[bridge:repl] Ignoring re-delivered inbound: type=${H.type} uuid=${J}`);return}if(W(`[bridge:repl] Ingress message type=${H.type}${J?` uuid=${J}`:""}`),H.type==="user"){if(J)Q.add(J);B("tengu_bridge_message_received",{is_repl:!0}),$?.(H)}else W(`[bridge:repl] Ignoring non-user inbound message: type=${H.type}`)}catch(H){W(`[bridge:repl] Failed to parse ingress message: ${G(H)}`)}}var y="This session is outbound-only. Enable Remote Control locally to allow inbound control.";function g(f,X){let{transport:Q,sessionId:$,outboundOnly:Z,onInterrupt:z,onSetModel:H,onSetMaxThinkingTokens:J,onSetPermissionMode:h}=X;if(!Q){W("[bridge:repl] Cannot respond to control_request: transport not configured");return}let V;if(Z&&f.request.subtype!=="initialize"){V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:y}};let x={...V,session_id:$};Q.write(x),W(`[bridge:repl] Rejected ${f.request.subtype} (outbound-only) request_id=${f.request_id}`);return}switch(f.request.subtype){case"initialize":V={type:"control_response",response:{subtype:"success",request_id:f.request_id,response:{commands:[],output_style:"normal",available_output_styles:["normal"],models:[],account:{},pid:process.pid}}};break;case"set_model":H?.(f.request.model),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_max_thinking_tokens":J?.(f.request.max_thinking_tokens),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_permission_mode":{let x=h?.(f.request.mode)??{ok:!1,error:"set_permission_mode is not supported in this context (onSetPermissionMode callback not registered)"};if(x.ok)V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};else V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:x.error}};break}case"interrupt":z?.(),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;default:V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:`REPL bridge does not handle control_request subtype: ${f.request.subtype}`}}}let _={...V,session_id:$};Q.write(_),W(`[bridge:repl] Sent control_response for ${f.request.subtype} request_id=${f.request_id} result=${V.response.subtype}`)}function d(f){return{type:"result",subtype:"success",duration_ms:0,duration_api_ms:0,is_error:!1,num_turns:0,result:"",stop_reason:null,total_cost_usd:0,usage:{...N},modelUsage:{},permission_denials:[],session_id:f,uuid:O()}}class R{capacity;ring;set=new Set;writeIdx=0;constructor(f){this.capacity=f,this.ring=Array(f)}add(f){if(this.set.has(f))return;let X=this.ring[this.writeIdx];if(X!==void 0)this.set.delete(X);this.ring[this.writeIdx]=f,this.set.add(f),this.writeIdx=(this.writeIdx+1)%this.capacity}has(f){return this.set.has(f)}clear(){this.set.clear(),this.ring.fill(void 0),this.writeIdx=0}}
2
+ export{v as wb,q as xb,p as yb,g as zb,d as Ab,R as Bb};
@@ -0,0 +1,4 @@
1
+ import{Fi as cJ,IP as UJ,fJ as DJ,fQ as jJ,gJ as BJ,gQ as $V,hJ as lJ,mo as IJ,oo as pJ}from"./cli-0.6.10-fh0qe3jw.mjs";import{A9 as gJ,Kca as hJ,M8 as WJ,R8 as l,gea as G,n9 as mJ,oea as dJ,pba as m,pca as YJ,q8 as p,r8 as fJ,w9 as NJ,zba as uJ}from"./cli-0.6.10-3nht1qk2.mjs";import{$fa as PJ,_fa as U}from"./cli-0.6.10-4v3edm8v.mjs";import{Oga as f,Rga as SJ}from"./cli-0.6.10-qhnh10xs.mjs";import{Dha as VJ,Hha as bJ,Rha as Q,Uha as kJ}from"./cli-0.6.10-zqv22c50.mjs";import{jia as JJ,qia as yJ}from"./cli-0.6.10-87cpzzxg.mjs";import{gka as qJ,hka as zJ}from"./cli-0.6.10-seh7emsc.mjs";import{Kpa as wJ,Opa as _J}from"./cli-0.6.10-yr88z6pr.mjs";class c{paths=[];lowerPaths=[];charBits=new Int32Array(0);pathLens=new Uint16Array(0);topLevelCache=null;readyCount=0;loadFromFileList(J){let W=new Set,Z=[];for(let V of J)if(V.length>0&&!W.has(V))W.add(V),Z.push(V);this.buildIndex(Z)}loadFromFileListAsync(J){let W=()=>{},Z=new Promise((Y)=>{W=Y}),V=this.buildAsync(J,W);return{queryable:Z,done:V}}async buildAsync(J,W){let Z=new Set,V=[],Y=performance.now();for(let X=0;X<J.length;X++){let _=J[X];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if((X&255)===255&&performance.now()-Y>4)await b(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let $=!0;for(let X=0;X<V.length;X++)if(this.indexPath(X),(X&255)===255&&performance.now()-Y>4){if(this.readyCount=X+1,$)W(),$=!1;await b(),Y=performance.now()}this.readyCount=V.length,W()}buildIndex(J){this.resetArrays(J);for(let W=0;W<J.length;W++)this.indexPath(W);this.readyCount=J.length}resetArrays(J){let W=J.length;this.paths=J,this.lowerPaths=Array(W),this.charBits=new Int32Array(W),this.pathLens=new Uint16Array(W),this.readyCount=0,this.topLevelCache=LJ(J,100)}indexPath(J){let W=this.paths[J].toLowerCase();this.lowerPaths[J]=W;let Z=W.length;this.pathLens[J]=Z;let V=0;for(let Y=0;Y<Z;Y++){let $=W.charCodeAt(Y);if($>=97&&$<=122)V|=1<<$-97}this.charBits[J]=V}search(J,W){if(W<=0)return[];if(J.length===0){if(this.topLevelCache)return this.topLevelCache.slice(0,W);return[]}let Z=J!==J.toLowerCase(),V=Z?J:J.toLowerCase(),Y=Math.min(V.length,64),$=Array(Y),X=0;for(let M=0;M<Y;M++){let B=V.charAt(M);$[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)X|=1<<E-97}let _=Y*24+8+32,H=[],N=-1/0,{paths:I,lowerPaths:q,charBits:x,pathLens:j,readyCount:g}=this;J:for(let M=0;M<g;M++){if((x[M]&X)!==X)continue;let B=Z?I[M]:q[M],E=B.indexOf($[0]);if(E===-1)continue;y[0]=E;let C=0,u=0,h=E;for(let A=1;A<Y;A++){if(E=B.indexOf($[A],h+1),E===-1)continue J;y[A]=E;let F=E-h-1;if(F===0)u+=4;else C+=3+F*1;h=E}if(H.length===W&&_+u-C<=N)continue;let S=I[M],vJ=j[M],T=Y*16+u-C;T+=HJ(S,y[0],!0);for(let A=1;A<Y;A++)T+=HJ(S,y[A],!1);if(T+=Math.max(0,32-(vJ>>2)),H.length<W){if(H.push({path:S,fuzzScore:T}),H.length===W)H.sort((A,F)=>A.fuzzScore-F.fuzzScore),N=H[0].fuzzScore}else if(T>N){let A=0,F=H.length;while(A<F){let d=A+F>>1;if(H[d].fuzzScore<T)A=d+1;else F=d}H.splice(A,0,{path:S,fuzzScore:T}),H.shift(),N=H[0].fuzzScore}}H.sort((M,B)=>B.fuzzScore-M.fuzzScore);let D=H.length,w=Math.max(D,1),z=Array(D);for(let M=0;M<D;M++){let B=H[M].path,E=M/w,C=B.includes("test")?Math.min(E*1.05,1):E;z[M]={path:B,score:C}}return z}}function HJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(RJ(V))return 8;if(GJ(V)&&CJ(J.charCodeAt(W)))return 6;return 0}function RJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function GJ(J){return J>=97&&J<=122}function CJ(J){return J>=65&&J<=90}function b(){return new Promise((J)=>setImmediate(J))}function LJ(J,W){let Z=new Set;for(let Y of J){let $=Y.length;for(let _=0;_<Y.length;_++){let H=Y.charCodeAt(_);if(H===47||H===92){$=_;break}}let X=Y.slice(0,$);if(X.length>0){if(Z.add(X),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,$)=>{let X=Y.length-$.length;if(X!==0)return X;return Y<$?-1:Y>$?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var QJ=4,y;var MJ=_J(()=>{y=new Int32Array(64)});import{statSync as nJ}from"fs";import*as O from"path";function n(){if(!K)K=new c;return K}function vV(){K=null,v=null,R++,k=null,L=[],$J=[],XJ=[],ZJ.clear(),s=null,o=null,a=0,i=null,r=null,P=null}function xJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let $=J[Y];for(let X=0;X<$.length;X++)V=(V^$.charCodeAt(X))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let $=0;$<Y.length;$++)V=(V^Y.charCodeAt($))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function sJ(){let J=WJ(U());if(!J)return null;try{return nJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function OJ(J,W,Z){if(Z===W)return J;return J.map((V)=>{let Y=O.join(W,V);return O.relative(Z,Y)})}async function oJ(J){if(J.length===0)return;if(!K||L.length===0)return;let W=await FJ(J),Z=[...L,...$J,...XJ,...J,...W],V=xJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await K.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${L.length} tracked + ${J.length} untracked files`)}async function EJ(J,W){let Z=`${J}:${W}`;if(o===Z)return s;let V=VJ(),Y=[".ignore",".rgignore"],$=[...new Set([J,W])],X=KJ.default(),_=!1,H=$.flatMap((q)=>Y.map((x)=>O.join(q,x))),N=await Promise.all(H.map((q)=>V.readFile(q,{encoding:"utf8"}).catch(()=>null)));for(let[q,x]of N.entries()){if(x===null)continue;X.add(x),_=!0,Q(`[FileIndex] loaded ignore patterns from ${H[q]}`)}let I=_?X:null;return s=I,o=Z,I}async function aJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=WJ(U());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=U(),$=Date.now(),X=await p(l(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-$}ms`),X.code!==0)return Q(`[FileIndex] git ls-files failed (code=${X.code}, stderr=${X.stderr}), falling back to ripgrep`),null;let _=X.stdout.trim().split(`
2
+ `).filter(Boolean),H=OJ(_,V,Y),N=await EJ(V,Y);if(N){let q=H.length;H=N.filter(H),Q(`[FileIndex] applied ignore patterns: ${q} -> ${H.length} files`)}L=H;let I=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${H.length} tracked files in ${I}ms`),f("tengu_file_suggestions_git_ls_files",{file_count:H.length,tracked_count:H.length,untracked_count:0,duration_ms:I}),!k){let q=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],x=R;k=p(l(),q,{timeout:1e4,cwd:V}).then(async(j)=>{if(x!==R)return;if(j.code===0){let g=j.stdout.trim().split(`
3
+ `).filter(Boolean),D=OJ(g,V,Y),w=await EJ(V,Y);if(w&&D.length>0){let z=D.length;D=w.filter(D),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${D.length} files`)}Q(`[FileIndex] background untracked fetch: ${D.length} files`),oJ(D)}}).catch((j)=>{Q(`[FileIndex] background untracked fetch failed: ${j}`)}).finally(()=>{k=null})}return H}catch(Y){return Q(`[FileIndex] git ls-files error: ${JJ(Y)}`),null}}async function FJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(iJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>QJ)await b(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function iJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let $=O.dirname(J[Y]);while($!=="."&&!V.has($)){let X=O.dirname($);if(X===$)break;V.add($),$=X}}}async function rJ(J){return(await Promise.all(DJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function tJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await aJ(J,W);if(Z!==null)return Q(`[FileIndex] using git ls-files result (${Z.length} files)`),Z;return Q("[FileIndex] git ls-files returned null, falling back to ripgrep"),TJ(J,W)}async function TJ(J,W){let Z=Date.now(),V=["--files","--follow","--hidden","--glob","!.git/","--glob","!.svn/","--glob","!.hg/","--glob","!.bzr/","--glob","!.jj/","--glob","!.sl/"];if(!W)V.push("--no-ignore-vcs");let $=(await IJ(V,".",J)).map((_)=>O.relative(U(),_)),X=Date.now()-Z;return Q(`[FileIndex] ripgrep: ${$.length} files in ${X}ms`),f("tengu_file_suggestions_ripgrep",{file_count:$.length,duration_ms:X}),$}async function RV(){let J=AbortSignal.timeout(1e4),W=m(),Z=YJ(),V=W.respectGitignore??Z.respectGitignore??!0;try{return await TJ(J,V)}catch(Y){return G(Y),[]}}async function eJ(){let J=AbortSignal.timeout(1e4),W=n();try{let Z=m(),V=YJ(),Y=Z.respectGitignore??V.respectGitignore??!0,$=U(),[X,_]=await Promise.all([tJ(J,Y),rJ($)]);$J=_;let H=[...X,..._],N=await FJ(H);XJ=N;let I=[...N,...H],q=xJ(I);if(q!==r)await W.loadFromFileListAsync(I).done,r=q,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){G(Z)}return W}function JV(J,W){let Z=Math.min(J.length,W.length),V=0;while(V<Z&&J[V]===W[V])V++;return J.substring(0,V)}function GV(J){if(J.length===0)return"";let W=J.map((V)=>V.displayText),Z=W[0];for(let V=1;V<W.length;V++){let Y=W[V];if(Z=JV(Z,Y),Z==="")return""}return Z}function t(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function VV(J,W){return J.search(W,e).map((V)=>t(V.path,V.score))}function AJ(){if(v)return;let J=sJ();if(K){if(!(J!==null&&J!==i)&&Date.now()-a<WV)return}let W=R,Z=Date.now();n(),v=eJ().then((V)=>{if(W!==R)return V;return v=null,ZJ.emit(),i=J,a=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${JJ(V)}`),G(V),W===R)v=null;return n()})}async function YV(){let J=VJ(),W=U();try{let Z=await J.readdir(W);return Z.sort((V,Y)=>{let $=V.isDirectory(),X=Y.isDirectory();if($!==X)return $?-1:1;let _=V.name.startsWith("."),H=Y.name.startsWith(".");if(_!==H)return _?-1:1;return V.name.toLowerCase().localeCompare(Y.name.toLowerCase())}),Z.map((V)=>{let Y=O.join(W,V.name),$=O.relative(W,Y);return V.isDirectory()?$+O.sep:$})}catch(Z){return G(Z),[]}}async function CV(J,W=!1){if(!J&&!W)return[];if(m().fileSuggestion?.type==="command"){let V={...UJ(),query:J};return(await jJ(V)).slice(0,e).map(t)}if(J===""||J==="."||J==="./"){let V=await YV();return AJ(),V.slice(0,e).map(t)}let Z=Date.now();try{let V=v!==null;AJ();let Y=J,$="."+O.sep;if(J.startsWith($))Y=J.substring(2);if(Y.startsWith("~"))Y=NJ(Y);let X=K?VV(K,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${X.length} results in ${_}ms (${V?"partial":"full"} index)`),f("tengu_file_suggestions_query",{duration_ms:_,cache_hit:!V,result_count:X.length,query_length:J.length}),X}catch(V){return G(V),[]}}function LV(J,W,Z,V,Y,$){let X=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+X+W.substring(V+Z.length);Y(_);let H=V+X.length;$(H)}var KJ,K=null,v=null,ZJ,jV,R=0,k=null,L,$J,XJ,s=null,o=null,a=0,i=null,r=null,P=null,e=100,WV=5000;var ZV=_J(()=>{lJ();MJ();SJ();hJ();PJ();kJ();yJ();fJ();bJ();mJ();$V();dJ();gJ();pJ();uJ();zJ();KJ=wJ(cJ(),1);ZJ=qJ(),jV=ZJ.subscribe,L=[],$J=[],XJ=[]});
4
+ export{c as Sh,MJ as Th,jV as Uh,vV as Vh,RV as Wh,GV as Xh,AJ as Yh,CV as Zh,LV as _h,ZV as $h};
@@ -0,0 +1,2 @@
1
+ import{FX as u,FZ as a,NY as QQ,OY as uQ,_Y as g,aZ as h,gZ as RQ,pZ as jQ,qZ as aQ,uZ as d}from"./cli-0.6.10-ajjmvx3c.mjs";import{L1 as S,M1 as k,N1 as f}from"./cli-0.6.10-gj0a1s24.mjs";import{O1 as v}from"./cli-0.6.10-w0xpqx8x.mjs";import{a2 as n,c2 as t,h2 as YV}from"./cli-0.6.10-m6mnqx47.mjs";import{Z5 as $Q,a6 as P,d6 as bQ,s6 as XV}from"./cli-0.6.10-zyvt1jxy.mjs";import{Kca as QV,Lba as fQ,Mba as eQ,gea as CQ,mca as mQ,oea as VV,pca as x}from"./cli-0.6.10-3nht1qk2.mjs";import{tea as AQ,uea as sQ}from"./cli-0.6.10-5jaxzkj9.mjs";import{Mga as r,Nga as nQ}from"./cli-0.6.10-r6n3t4y5.mjs";import{Rha as D,Uha as iQ}from"./cli-0.6.10-zqv22c50.mjs";import{cpa as i,upa as tQ}from"./cli-0.6.10-tgw0ne6b.mjs";import{Kpa as M,Opa as F}from"./cli-0.6.10-yr88z6pr.mjs";function XQ(){let X=VQ.useContext(QQ);if(!X)throw Error("useTerminalSize must be used within an Ink App component");return X}var VQ;var YQ=F(()=>{uQ();VQ=M(v(),1)});function ZQ(X,Q){if(Q.escape)return"escape";if(Q.return)return"enter";if(Q.tab)return"tab";if(Q.backspace)return"backspace";if(Q.delete)return"delete";if(Q.upArrow)return"up";if(Q.downArrow)return"down";if(Q.leftArrow)return"left";if(Q.rightArrow)return"right";if(Q.pageUp)return"pageup";if(Q.pageDown)return"pagedown";if(Q.wheelUp)return"wheelup";if(Q.wheelDown)return"wheeldown";if(Q.home)return"home";if(Q.end)return"end";if(X.length===1)return X.toLowerCase();return null}var JQ=()=>{};function GQ(X){let Q=X.split("+"),V={key:"",ctrl:!1,alt:!1,shift:!1,meta:!1,super:!1};for(let Z of Q){let Y=Z.toLowerCase();switch(Y){case"ctrl":case"control":V.ctrl=!0;break;case"alt":case"opt":case"option":V.alt=!0;break;case"shift":V.shift=!0;break;case"meta":V.meta=!0;break;case"cmd":case"command":case"super":case"win":V.super=!0;break;case"esc":V.key="escape";break;case"return":V.key="enter";break;case"space":V.key=" ";break;case"↑":V.key="up";break;case"↓":V.key="down";break;case"←":V.key="left";break;case"→":V.key="right";break;default:V.key=Y;break}}return V}function yQ(X){if(X===" ")return[GQ("space")];return X.trim().split(/\s+/).map(GQ)}function hQ(X){let Q=[];if(X.ctrl)Q.push("ctrl");if(X.alt)Q.push("alt");if(X.shift)Q.push("shift");if(X.meta)Q.push("meta");if(X.super)Q.push("cmd");let V=kQ(X.key);return Q.push(V),Q.join("+")}function kQ(X){switch(X){case"escape":return"Esc";case" ":return"Space";case"tab":return"tab";case"enter":return"Enter";case"backspace":return"Backspace";case"delete":return"Delete";case"up":return"↑";case"down":return"↓";case"left":return"←";case"right":return"→";case"pageup":return"PageUp";case"pagedown":return"PageDown";case"home":return"Home";case"end":return"End";default:return X}}function l(X){return X.map(hQ).join(" ")}function BV(X){let Q=[];for(let V of X)for(let[Z,Y]of Object.entries(V.bindings))Q.push({chord:yQ(Z),action:Y,context:V.context});return Q}var qQ=()=>{};function LQ(X,Q,V){let Z=V.findLast((Y)=>Y.action===X&&Y.context===Q);return Z?l(Z.chord):void 0}function gQ(X,Q){let V=ZQ(X,Q);if(!V)return null;let Z=Q.escape?!1:Q.meta;return{key:V,ctrl:Q.ctrl,alt:Z,shift:Q.shift,meta:Z,super:Q.super}}function HQ(X,Q){return X.key===Q.key&&X.ctrl===Q.ctrl&&X.shift===Q.shift&&(X.alt||X.meta)===(Q.alt||Q.meta)&&X.super===Q.super}function lQ(X,Q){if(X.length>=Q.chord.length)return!1;for(let V=0;V<X.length;V++){let Z=X[V],Y=Q.chord[V];if(!Z||!Y)return!1;if(!HQ(Z,Y))return!1}return!0}function cQ(X,Q){if(X.length!==Q.chord.length)return!1;for(let V=0;V<X.length;V++){let Z=X[V],Y=Q.chord[V];if(!Z||!Y)return!1;if(!HQ(Z,Y))return!1}return!0}function zQ(X,Q,V,Z,Y){if(Q.escape&&Y!==null)return{type:"chord_cancelled"};let J=gQ(X,Q);if(!J){if(Y!==null)return{type:"chord_cancelled"};return{type:"none"}}let G=Y?[...Y,J]:[J],q=new Set(V),B=Z.filter((L)=>q.has(L.context)),z=new Map;for(let L of B)if(L.chord.length>G.length&&lQ(G,L))z.set(l(L.chord),L.action);let N=!1;for(let L of z.values())if(L!==null){N=!0;break}if(N)return{type:"chord_started",pending:G};let H;for(let L of B)if(cQ(G,L))H=L;if(H){if(H.action===null)return{type:"unbound"};return{type:"match",action:H.action}}if(Y!==null)return{type:"chord_cancelled"};return{type:"none"}}var BQ=F(()=>{JQ();qQ()});function MV(X){let Q=c.c(24),{bindings:V,pendingChordRef:Z,pendingChord:Y,setPendingChord:J,activeContexts:G,registerActiveContext:q,unregisterActiveContext:B,handlerRegistryRef:z,children:N}=X,H;if(Q[0]!==V)H=(U,O)=>LQ(U,O,V),Q[0]=V,Q[1]=H;else H=Q[1];let L=H,_;if(Q[2]!==z)_=(U)=>{let O=z.current;if(!O)return dQ;if(!O.has(U.action))O.set(U.action,new Set);return O.get(U.action).add(U),()=>{let I=O.get(U.action);if(I){if(I.delete(U),I.size===0)O.delete(U.action)}}},Q[2]=z,Q[3]=_;else _=Q[3];let b=_,E;if(Q[4]!==G||Q[5]!==z)E=(U)=>{let O=z.current;if(!O)return!1;let I=O.get(U);if(!I||I.size===0)return!1;for(let e of I)if(G.has(e.context))return e.handler(),!0;return!1},Q[4]=G,Q[5]=z,Q[6]=E;else E=Q[6];let K=E,j;if(Q[7]!==V||Q[8]!==Z)j=(U,O,I)=>zQ(U,O,I,V,Z.current),Q[7]=V,Q[8]=Z,Q[9]=j;else j=Q[9];let A;if(Q[10]!==G||Q[11]!==V||Q[12]!==L||Q[13]!==K||Q[14]!==Y||Q[15]!==q||Q[16]!==b||Q[17]!==J||Q[18]!==j||Q[19]!==B)A={resolve:j,setPendingChord:J,getDisplayText:L,bindings:V,pendingChord:Y,activeContexts:G,registerActiveContext:q,unregisterActiveContext:B,registerHandler:b,invokeAction:K},Q[10]=G,Q[11]=V,Q[12]=L,Q[13]=K,Q[14]=Y,Q[15]=q,Q[16]=b,Q[17]=J,Q[18]=j,Q[19]=B,Q[20]=A;else A=Q[20];let w=A,W;if(Q[21]!==N||Q[22]!==w)W=S(NQ.Provider,{value:w,children:N}),Q[21]=N,Q[22]=w,Q[23]=W;else W=Q[23];return W}function dQ(){}function y(){return m.useContext(NQ)}function SV(X,Q){let V=c.c(5),Z=Q===void 0?!0:Q,Y=y(),J,G;if(V[0]!==X||V[1]!==Z||V[2]!==Y)J=()=>{if(!Y||!Z)return;return Y.registerActiveContext(X),()=>{Y.unregisterActiveContext(X)}},G=[X,Y,Z],V[0]=X,V[1]=Z,V[2]=Y,V[3]=J,V[4]=G;else J=V[3],G=V[4];m.useLayoutEffect(J,G)}var c,m,NQ;var UQ=F(()=>{BQ();f();c=M(u(),1),m=M(v(),1),NQ=m.createContext(null)});function TV(X,Q,V={}){let{context:Z="Global",isActive:Y=!0}=V,J=y();C.useEffect(()=>{if(!J||!Y)return;return J.registerHandler({action:X,context:Z,handler:Q})},[X,Z,Q,J,Y]);let G=C.useCallback((q,B,z)=>{if(!J)return;let N=[...J.activeContexts,Z,"Global"],H=[...new Set(N)],L=J.resolve(q,B,H);switch(L.type){case"match":if(J.setPendingChord(null),L.action===X){if(Q()!==!1)z.stopImmediatePropagation()}break;case"chord_started":J.setPendingChord(L.pending),z.stopImmediatePropagation();break;case"chord_cancelled":J.setPendingChord(null);break;case"unbound":J.setPendingChord(null),z.stopImmediatePropagation();break;case"none":break}},[X,Z,Q,J]);d(G,{isActive:Y})}function OQ(X,Q={}){let{context:V="Global",isActive:Z=!0}=Q,Y=y();C.useEffect(()=>{if(!Y||!Z)return;let G=[];for(let[q,B]of Object.entries(X))G.push(Y.registerHandler({action:q,context:V,handler:B}));return()=>{for(let q of G)q()}},[V,X,Y,Z]);let J=C.useCallback((G,q,B)=>{if(!Y)return;let z=[...Y.activeContexts,V,"Global"],N=[...new Set(z)],H=Y.resolve(G,q,N);switch(H.type){case"match":if(Y.setPendingChord(null),H.action in X){let L=X[H.action];if(L&&L()!==!1)B.stopImmediatePropagation()}break;case"chord_started":Y.setPendingChord(H.pending),B.stopImmediatePropagation();break;case"chord_cancelled":Y.setPendingChord(null);break;case"unbound":Y.setPendingChord(null),B.stopImmediatePropagation();break;case"none":break}},[V,X,Y]);d(J,{isActive:Z})}var C;var _Q=F(()=>{a();UQ();C=M(v(),1)});function o(X,Q,V){let Z=R.useRef(0),Y=R.useRef(void 0),J=R.useCallback(()=>{if(Y.current)clearTimeout(Y.current),Y.current=void 0},[]);return R.useEffect(()=>{return()=>{J()}},[J]),R.useCallback(()=>{let G=Date.now();if(G-Z.current<=FQ&&Y.current!==void 0)J(),X(!1),Q();else V?.(),X(!0),J(),Y.current=setTimeout((z,N)=>{z(!1),N.current=void 0},FQ,X,Y);Z.current=G},[X,Q,V,J])}var R,FQ=800;var WQ=F(()=>{R=M(v(),1)});function wQ(X,Q,V,Z=!0){let{exit:Y}=jQ(),[J,G]=T.useState({pending:!1,keyName:null}),q=T.useMemo(()=>V??Y,[V,Y]),B=o((_)=>G({pending:_,keyName:"Ctrl-C"}),q),z=o((_)=>G({pending:_,keyName:"Ctrl-D"}),q),N=T.useCallback(()=>{if(Q?.())return;B()},[B,Q]),H=T.useCallback(()=>{z()},[z]),L=T.useMemo(()=>({"app:interrupt":N,"app:exit":H}),[N,H]);return X(L,{context:"Global",isActive:Z}),J}var T;var MQ=F(()=>{aQ();WQ();T=M(v(),1)});function $V(X,Q,V){return wQ(OQ,Q,X,V)}var oQ=F(()=>{_Q();MQ()});function IQ(){return $.useContext(s)!==null}function pV(X){let Q=SQ.c(3),V=$.useContext(s),Z;if(Q[0]!==V||Q[1]!==X)Z=V?{rows:V.rows,columns:V.columns}:X,Q[0]=V,Q[1]=X,Q[2]=Z;else Z=Q[2];return Z}function xV(){return $.useContext(s)?.scrollRef??null}var SQ,$,s;var KQ=F(()=>{SQ=M(u(),1),$=M(v(),1),s=$.createContext(null)});function EQ(X){let Q=TQ.c(21),{width:V,color:Z,char:Y,padding:J,title:G}=X,q=Y===void 0?"─":Y,B=J===void 0?0:J,{columns:z}=XQ(),N=Math.max(0,(V??z)-B);if(G){let b=AQ(G)+2,E=Math.max(0,N-b),K=Math.floor(E/2),j=E-K,A=!Z,w;if(Q[0]!==q||Q[1]!==K)w=q.repeat(K),Q[0]=q,Q[1]=K,Q[2]=w;else w=Q[2];let W;if(Q[3]!==G)W=S(h,{dimColor:!0,children:S(RQ,{children:G})}),Q[3]=G,Q[4]=W;else W=Q[4];let U;if(Q[5]!==q||Q[6]!==j)U=q.repeat(j),Q[5]=q,Q[6]=j,Q[7]=U;else U=Q[7];let O;if(Q[8]!==Z||Q[9]!==A||Q[10]!==w||Q[11]!==W||Q[12]!==U)O=k(h,{color:Z,dimColor:A,children:[w," ",W," ",U]}),Q[8]=Z,Q[9]=A,Q[10]=w,Q[11]=W,Q[12]=U,Q[13]=O;else O=Q[13];return O}let H=!Z,L;if(Q[14]!==q||Q[15]!==N)L=q.repeat(N),Q[14]=q,Q[15]=N,Q[16]=L;else L=Q[16];let _;if(Q[17]!==Z||Q[18]!==H||Q[19]!==L)_=S(h,{color:Z,dimColor:H,children:L}),Q[17]=Z,Q[18]=H,Q[19]=L,Q[20]=_;else _=Q[20];return _}var TQ;var DQ=F(()=>{YQ();sQ();a();f();TQ=M(u(),1)});function oV(X){let Q=PQ.c(9),{children:V,color:Z}=X;if(IQ()){let q;if(Q[0]!==V)q=S(g,{flexDirection:"column",paddingX:1,flexShrink:0,children:V}),Q[0]=V,Q[1]=q;else q=Q[1];return q}let Y;if(Q[2]!==Z)Y=S(EQ,{color:Z}),Q[2]=Z,Q[3]=Y;else Y=Q[3];let J;if(Q[4]!==V)J=S(g,{flexDirection:"column",paddingX:2,children:V}),Q[4]=V,Q[5]=J;else J=Q[5];let G;if(Q[6]!==Y||Q[7]!==J)G=k(g,{flexDirection:"column",paddingTop:1,children:[Y,J]}),Q[6]=Y,Q[7]=J,Q[8]=G;else G=Q[8];return G}var PQ;var rQ=F(()=>{KQ();a();DQ();f();PQ=M(u(),1)});async function ZV(X="claude_code_guest_pass"){let{accessToken:Q,orgUUID:V}=await n(),Z={...t(Q),"x-organization-uuid":V},Y=`${r().BASE_API_URL}/api/oauth/organizations/${V}/referral/eligibility`;return(await i.get(Y,{headers:Z,params:{campaign:X},timeout:5000})).data}async function ZX(X="claude_code_guest_pass"){let{accessToken:Q,orgUUID:V}=await n(),Z={...t(Q),"x-organization-uuid":V},Y=`${r().BASE_API_URL}/api/oauth/organizations/${V}/referral/redemptions`;return(await i.get(Y,{headers:Z,params:{campaign:X},timeout:1e4})).data}function xQ(){return!!(P()?.organizationUuid&&$Q()&&bQ()==="max")}function JX(){if(!xQ())return{eligible:!1,needsRefresh:!1,hasCache:!1};let X=P()?.organizationUuid;if(!X)return{eligible:!1,needsRefresh:!1,hasCache:!1};let V=x().passesEligibilityCache?.[X];if(!V)return{eligible:!1,needsRefresh:!0,hasCache:!1};let{eligible:Z,timestamp:Y}=V,G=Date.now()-Y>pQ;return{eligible:Z,needsRefresh:G,hasCache:!0}}function GX(X){let Q=JV[X.currency]??`${X.currency} `,V=X.amount_minor_units/100,Z=V%1===0?V.toString():V.toFixed(2);return`${Q}${Z}`}function qX(){let X=P()?.organizationUuid;if(!X)return null;return x().passesEligibilityCache?.[X]?.referrer_reward??null}function LX(){let X=P()?.organizationUuid;if(!X)return null;return x().passesEligibilityCache?.[X]?.remaining_passes??null}async function vQ(){if(p)return D("Passes: Reusing in-flight eligibility fetch"),p;let X=P()?.organizationUuid;if(!X)return null;return p=(async()=>{try{let Q=await ZV(),V={...Q,timestamp:Date.now()};return mQ((Z)=>({...Z,passesEligibilityCache:{...Z.passesEligibilityCache,[X]:V}})),D(`Passes eligibility cached for org ${X}: ${Q.eligible}`),Q}catch(Q){return D("Failed to fetch and cache passes eligibility"),CQ(Q),null}finally{p=null}})(),p}async function GV(){if(!xQ())return null;let X=P()?.organizationUuid;if(!X)return null;let V=x().passesEligibilityCache?.[X],Z=Date.now();if(!V)return D("Passes: No cache, fetching eligibility in background (command unavailable this session)"),vQ(),null;if(Z-V.timestamp>pQ){D("Passes: Cache stale, returning cached data and refreshing in background"),vQ();let{timestamp:G,...q}=V;return q}D("Passes: Using fresh cached eligibility data");let{timestamp:Y,...J}=V;return J}async function HX(){if(fQ())return;GV()}var pQ=86400000,p=null,JV;var qV=F(()=>{tQ();nQ();XV();QV();iQ();VV();eQ();YV();JV={USD:"$",EUR:"€",GBP:"£",BRL:"R$",CAD:"CA$",AUD:"A$",NZD:"NZ$",SGD:"S$"}});
2
+ export{XQ as pW,YQ as qW,GQ as rW,yQ as sW,l as tW,BV as uW,qQ as vW,LQ as wW,zQ as xW,BQ as yW,MV as zW,y as AW,SV as BW,UQ as CW,TV as DW,OQ as EW,_Q as FW,o as GW,WQ as HW,$V as IW,oQ as JW,s as KW,IQ as LW,pV as MW,xV as NW,KQ as OW,EQ as PW,DQ as QW,oV as RW,rQ as SW,ZX as TW,JX as UW,GX as VW,qX as WW,LX as XW,GV as YW,HX as ZW,qV as _W};
@@ -0,0 +1,2 @@
1
+ import{Opa as M}from"./cli-0.6.10-yr88z6pr.mjs";function J(){return"prod"}function W(){if(process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL)return"-custom-oauth";switch(J()){case"local":return"-local-oauth";case"staging":return"-staging-oauth";case"prod":return""}}function $(){let k=process.env.CLAUDE_LOCAL_OAUTH_API_BASE?.replace(/\/$/,"")??"http://localhost:8000",x=process.env.CLAUDE_LOCAL_OAUTH_APPS_BASE?.replace(/\/$/,"")??"http://localhost:4000",q=process.env.CLAUDE_LOCAL_OAUTH_CONSOLE_BASE?.replace(/\/$/,"")??"http://localhost:3000";return{BASE_API_URL:k,CONSOLE_AUTHORIZE_URL:`${q}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${x}/oauth/authorize`,CLAUDE_AI_ORIGIN:x,TOKEN_URL:`${k}/v1/oauth/token`,API_KEY_URL:`${k}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${k}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${q}/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code`,CLAUDEAI_SUCCESS_URL:`${q}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${q}/oauth/code/callback`,CLIENT_ID:"22422756-60c9-4084-8eb7-27705fd5cf9a",OAUTH_FILE_SUFFIX:"-local-oauth",MCP_PROXY_URL:"http://localhost:8205",MCP_PROXY_PATH:"/v1/toolbox/shttp/mcp/{server_id}"}}function h(){let k=(()=>{switch(J()){case"local":return $();case"staging":return z;case"prod":return z}})(),x=process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL;if(x){let j=x.replace(/\/$/,"");if(!m.includes(j))throw Error("CLAUDE_CODE_CUSTOM_OAUTH_URL is not an approved endpoint.");k={...k,BASE_API_URL:j,CONSOLE_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_ORIGIN:j,TOKEN_URL:`${j}/v1/oauth/token`,API_KEY_URL:`${j}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${j}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,CLAUDEAI_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${j}/oauth/code/callback`,OAUTH_FILE_SUFFIX:"-custom-oauth"}}let q=process.env.CLAUDE_CODE_OAUTH_CLIENT_ID;if(q)k={...k,CLIENT_ID:q};return k}var Q="user:inference",K="user:profile",V="org:create_api_key",X="oauth-2025-04-20",Y,Z,y,z,G="https://claude.ai/oauth/claude-code-client-metadata",m;var w=M(()=>{Y=[V,K],Z=[K,Q,"user:sessions:claude_code","user:mcp_servers","user:file_upload"],y=Array.from(new Set([...Y,...Z])),z={BASE_API_URL:"https://api.anthropic.com",CONSOLE_AUTHORIZE_URL:"https://platform.claude.com/oauth/authorize",CLAUDE_AI_AUTHORIZE_URL:"https://claude.com/cai/oauth/authorize",CLAUDE_AI_ORIGIN:"https://claude.ai",TOKEN_URL:"https://platform.claude.com/v1/oauth/token",API_KEY_URL:"https://api.anthropic.com/api/oauth/claude_cli/create_api_key",ROLES_URL:"https://api.anthropic.com/api/oauth/claude_cli/roles",CONSOLE_SUCCESS_URL:"https://platform.claude.com/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code",CLAUDEAI_SUCCESS_URL:"https://platform.claude.com/oauth/code/success?app=claude-code",MANUAL_REDIRECT_URL:"https://platform.claude.com/oauth/code/callback",CLIENT_ID:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",OAUTH_FILE_SUFFIX:"",MCP_PROXY_URL:"https://mcp-proxy.anthropic.com",MCP_PROXY_PATH:"/v1/mcp/{server_id}"};m=["https://beacon.claude-ai.staging.ant.dev","https://claude.fedstart.com","https://claude-staging.fedstart.com"]});
2
+ export{W as Ega,Q as Fga,K as Gga,X as Hga,Y as Iga,Z as Jga,y as Kga,G as Lga,h as Mga,w as Nga};
@@ -0,0 +1,2 @@
1
+ import{E8 as Z,G8 as f,Tda as B,Wda as K,jda as $,kda as y}from"./cli-0.6.10-3nht1qk2.mjs";import{Gia as E,yia as Y}from"./cli-0.6.10-kr2hhxcp.mjs";import{Opa as N,Ppa as x}from"./cli-0.6.10-yr88z6pr.mjs";import{existsSync as S}from"node:fs";import{homedir as F}from"node:os";import{join as X}from"node:path";function _(){if(Y())return;try{return $().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function J(b){let w=b?.trim();return w?w:void 0}function V(b=process.env){return J(b.GOOGLE_CLOUD_PROJECT)??J(b.GCLOUD_PROJECT)??J(b.GOOGLE_PROJECT_ID)}function D(b=process.env){let w=J(b.GEMINI_AUTH_MODE)?.toLowerCase();if(w==="api-key"||w==="access-token"||w==="adc")return w;return}function P(b=process.env){let w=J(b.GOOGLE_APPLICATION_CREDENTIALS),q=new Set;if(w)q.add(w);q.add(X(F(),".config","gcloud","application_default_credentials.json"));let O=J(b.APPDATA);if(O)q.add(X(O,"gcloud","application_default_credentials.json"));return[...q]}function k(b=process.env){return P(b).some((w)=>S(w))}function G(b){if(typeof b==="string")return J(b);return J(b?.token)}async function A(){let{GoogleAuth:b}=await import("google-auth-library");return new b({scopes:[z]})}async function L(b,w){if(!k(b))return{kind:"none"};try{let q=await(w.createGoogleAuth??A)(),O=await q.getClient(),R=G(await O.getAccessToken());if(!R)return{kind:"none"};let Q=V(b)??(typeof q.getProjectId==="function"?J(await q.getProjectId().catch(()=>{return})):void 0);return{kind:"adc",credential:R,...Q?{projectId:Q}:{}}}catch{return{kind:"none"}}}async function s(b=process.env,w={}){let q=D(b),O=B(),R=O?.transport==="gemini"?J(O.apiKey):void 0,U=q==="access-token"||q==="adc"?void 0:R;if(U&&(q===void 0||q==="api-key"))return{kind:"api-key",credential:U};let Q=q==="api-key"||q==="adc"?void 0:J(_());if(Q&&(q===void 0||q==="access-token")){let W=V(b);return{kind:"access-token",credential:Q,...W?{projectId:W}:{}}}if(q==="api-key"||q==="access-token")return{kind:"none"};if(w.createGoogleAuth)return L(b,w);return T(J(b.GOOGLE_APPLICATION_CREDENTIALS),J(b.APPDATA),F(),V(b))}var z="https://www.googleapis.com/auth/cloud-platform",C=300000,T;var g=N(()=>{K();E();f();y();T=Z(async(b,w,q,O)=>L({GOOGLE_APPLICATION_CREDENTIALS:b,APPDATA:w,GOOGLE_CLOUD_PROJECT:O,GCLOUD_PROJECT:O,GOOGLE_PROJECT_ID:O,HOME:q},{}),C)});
2
+ export{D as ni,s as oi,g as pi};
@@ -0,0 +1,4 @@
1
+ import{vg as s,wg as Sy}from"./cli-0.6.10-mhrx6w6c.mjs";import{Eg as wy,Gg as kG}from"./cli-0.6.10-kfm5062s.mjs";import{Ai as ny,xi as Zy,zi as Ky}from"./cli-0.6.10-0b7z3d0a.mjs";import{$q as Wy,Fn as yy,Hn as Gy,Jn as ky,Jw as Xy,MJ as j,Mn as qy,Mw as oy,NJ as ey,Nn as zy,On as Iy,Pu as X,Qn as Jy,Qq as Qy,Qu as ay,SR as zG,Sk as e,VJ as Oy,Wk as sy,Wn as xy,dK as yG,gR as Hy,hr as ly,kK as by,ks as C,nF as i,oF as Ly,oK as GG,sF as g,ss as _y,tF as My,xR as Vy}from"./cli-0.6.10-fh0qe3jw.mjs";import{PV as Ny,QV as ty}from"./cli-0.6.10-kvy7e0hs.mjs";import{UW as Py,VW as Uy,WW as jy,_W as qG}from"./cli-0.6.10-r261gqbz.mjs";import{eX as Ry,kX as cy}from"./cli-0.6.10-4pptj4dt.mjs";import{FX as hy,FZ as ry,YY as Q,ZY as $y,_Y as L,aZ as d}from"./cli-0.6.10-ajjmvx3c.mjs";import{L1 as O,M1 as E,N1 as p}from"./cli-0.6.10-gj0a1s24.mjs";import{O1 as Yy}from"./cli-0.6.10-w0xpqx8x.mjs";import{$5 as h,L4 as iy,l4 as c,m4 as t,s6 as gy}from"./cli-0.6.10-zyvt1jxy.mjs";import{O6 as a,P6 as fy}from"./cli-0.6.10-x8wy7g7p.mjs";import{Kca as M,S8 as T,__ as J,a$ as Ey,g9 as o,kba as n,mca as P,n9 as Ay,p9 as U,pba as r,pca as q,q9 as uy,qba as v,zba as dy}from"./cli-0.6.10-3nht1qk2.mjs";import{Afa as u,ofa as K,zfa as A}from"./cli-0.6.10-3kakfn9p.mjs";import{Oga as f,Rga as Fy}from"./cli-0.6.10-qhnh10xs.mjs";import{Rha as _,Uha as Dy}from"./cli-0.6.10-zqv22c50.mjs";import{Kpa as D}from"./cli-0.6.10-yr88z6pr.mjs";ry();u();Fy();M();Ly();Sy();My();p();var $=D(hy(),1),F=D(Yy(),1),Ty={enable_shortcut_tip:!1,enable_startup_dialog:!1};function S(){return A("tengu_desktop_upsell",Ty)}function vy(){return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}function wG(){if(!vy())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 PG(y){let G=$.c(14),{onDone:k}=y,[z,Z]=F.useState(!1),W;if(G[0]===Symbol.for("react.memo_cache_sentinel"))W=[],G[0]=W;else W=G[0];if(F.useEffect(py,W),z){let w;if(G[1]!==k)w=O(s,{onDone:()=>k()}),G[1]=k,G[2]=w;else w=G[2];return w}let b;if(G[3]!==k)b=function(By){switch(By){case"try":{Z(!0);return}case"never":{P(Cy),k();return}case"not-now":{k();return}}},G[3]=k,G[4]=b;else b=G[4];let I=b,R;if(G[5]===Symbol.for("react.memo_cache_sentinel"))R={label:"Open in Claude Code Desktop",value:"try"},G[5]=R;else R=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=[R,H,{label:"Don't ask again",value:"never"}],G[7]=V;else V=G[7];let my=V,m;if(G[8]===Symbol.for("react.memo_cache_sentinel"))m=O(L,{marginBottom:1,children:O(d,{children:"Same Claude Code with visual diffs, live app preview, parallel sessions, and more."})}),G[8]=m;else m=G[8];let N;if(G[9]!==I)N=()=>I("not-now"),G[9]=I,G[10]=N;else N=G[10];let B;if(G[11]!==I||G[12]!==N)B=O(g,{title:"Try Claude Code Desktop",children:E(L,{flexDirection:"column",paddingX:2,paddingY:1,children:[m,O(i,{options:my,onChange:I,onCancel:N})]})}),G[11]=I,G[12]=N,G[13]=B;else B=G[13];return B}function Cy(y){if(y.desktopUpsellDismissed)return y;return{...y,desktopUpsellDismissed:!0}}function py(){let y=(q().desktopUpsellSeenCount??0)+1;P((G)=>{if((G.desktopUpsellSeenCount??0)>=y)return G;return{...G,desktopUpsellSeenCount:y}}),f("tengu_desktop_upsell_shown",{seen_count:y})}M();function VG(y){let G=q().numStartups;P((k)=>{let z=k.tipsHistory??{};if(z[y]===G)return k;return{...k,tipsHistory:{...z,[y]:G}}})}function x(y){let G=q(),k=G.tipsHistory?.[y];if(!k)return 1/0;return G.numStartups-k}fy();Dy();_y();dy();cy();$y();kG();ay();sy();gy();ty();M();ly();Ey();oy();Ay();xy();iy();uy();GG();yG();ey();zG();u();ny();qG();var Y;async function IG(){if(Y!==void 0)return Y;let y=await Oy();return Y=j in y,Y}async function l(y,G,k){if(!await IG())return!1;if(by(`${y}@${j}`))return!1;let{bashTools:z}=G??{};if(k.cli&&z?.size){if(k.cli.some((Z)=>z.has(Z)))return!0}if(k.filePath&&G?.readFileState){if(Xy(G.readFileState).some((W)=>k.filePath.test(W)))return!0}return!1}var JG=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claudin 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 ${X("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=v(),k=Boolean(y.lastPlanModeUse),z=Boolean(G?.permissions?.defaultMode);return k&&!z}catch(y){return _(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claudin sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=q();return await o()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"diff-reviewer",content:async()=>`Review local changes, stashes and the git log side by side — run /diff or hit ${X("chat:openDiff","Chat","ctrl+g")}.`,cooldownSessions:10,isRelevant:async()=>{try{return await T()}catch(y){return!1}}},{id:"diff-git-log",content:async()=>`Scroll back through your git log and open any commit's diff in /diff (or hit ${X("chat:openDiff","Chat","ctrl+g")}).`,cooldownSessions:15,isRelevant:async()=>{try{return await T()}catch(y){return!1}}},{id:"file-explorer",content:async()=>`Browse and edit files without leaving the REPL — run /explorer or hit ${X("chat:openExplorer","Chat","ctrl+e")} for a file tree with a built-in nvim-style editor.`,cooldownSessions:10,isRelevant:async()=>!0},{id:"explorer-fuzzy-find",content:async()=>"Inside /explorer, press / to fuzzy-find any file by name, or @ to drop it into your prompt.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-create-delete",content:async()=>"Inside /explorer, press a to create, r to rename, or d to delete the selected file.",cooldownSessions:15,isRelevant:async()=>!0},{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 Claudin sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(Hy())return!1;return await Ny()>=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(!Ry())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 Claudin 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&&a.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()=>U()==="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()=>v().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claudin is working.",cooldownSessions:5,async isRelevant(){return q().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claudin while it works to steer Claudin in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claudin 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(!yy())return!1;if(U()!=="macos")return!1;switch(J.terminal){case"vscode":return!await Iy();case"cursor":return!await qy();case"windsurf":return!await zy();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claudin to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(Gy())return!1;if((await ky()).length!==0)return!1;return(await Jy()).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 Claudin using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>U()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!C()},{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()=>C()},{id:"continue",content:async()=>"Run claudin --continue or claudin --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()=>Vy()&&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 ${X("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 ${X("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()=>U()!=="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 ${X("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=q(),k=c()==="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)=>l("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)=>l("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let k=Q("suggestion",y.theme)("/effort high");return K("tengu_tide_elm","off")==="copy_b"?`Use ${k} for better one-shot answers. Claudin thinks it through first.`:`Working on something tricky? ${k} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!Qy(t()))return!1;if(n("policySettings")?.effortLevel!==void 0)return!1;if(Wy()!==void 0)return!1;let y=r().effortLevel;if(y==="high"||y==="max")return!1;return K("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return K("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claudin to ${G("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${G('"fan out subagents"')} and Claudin sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;return K("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return K("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(!e())return!1;return K("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let G=Q("claude",y.theme),k=jy();return k?`Share Claude Code and earn ${G(Uy(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}=Py();return G}},{id:"overage-credit",content:async(y)=>{let G=Q("claude",y.theme),k=Zy(),z=k?Ky(k):null;if(!z)return"";return`${G(`${z} in extra usage, on us`)} · third-party apps · ${G("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>wy()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return q().numStartups>5}}],QG=[];function WG(){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 cG(y){let k=r().spinnerTipsOverride,z=WG();if(k?.excludeDefault&&z.length>0)return z;let Z=[...JG,...QG],W=await Promise.all(Z.map((I)=>I.isRelevant(y)));return[...Z.filter((I,R)=>W[R]).filter((I)=>x(I.id)>=I.cooldownSessions),...z]}
4
+ export{wG as La,PG as Ma,VG as Na,x as Oa,cG as Pa};
@@ -0,0 +1,2 @@
1
+ import{sc as l,tc as m,wc as u,xc as y}from"./cli-0.6.10-06yft8cy.mjs";import{nF as p,pF as b}from"./cli-0.6.10-fh0qe3jw.mjs";import{FZ as C,_Y as s,aZ as e}from"./cli-0.6.10-ajjmvx3c.mjs";import{L1 as i,M1 as r,N1 as g}from"./cli-0.6.10-gj0a1s24.mjs";import{O1 as M}from"./cli-0.6.10-w0xpqx8x.mjs";import{Kpa as h,Opa as f}from"./cli-0.6.10-yr88z6pr.mjs";function T({enabled:c,onDismiss:a}){let[n,t]=k.useState(()=>c?{kind:"prompt"}:{kind:"hidden"});if(!c||n.kind==="hidden")return null;if(n.kind==="running")return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Migrating ~/.claude/ to ~/.claudin/..."}),i(e,{dimColor:!0,children:"Copying tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings."})]});if(n.kind==="success"||n.kind==="error"){let d=n.kind==="success"?"success":"warning",o=n.kind==="success"?"Migration complete":"Migration finished with warnings";return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:d,bold:!0,children:o}),i(e,{children:m(n.report)})]})}return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Found Claude Code config at ~/.claude/"}),i(e,{children:"Import API tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings into ~/.claudin/?"}),i(p,{options:[{value:"migrate",label:"Migrate now",description:"Copy tokens, settings, CLAUDE.md, skills, agents, commands, plugins, keybindings."},{value:"skip",label:"Skip — start fresh",description:"Don't ask again this profile."}],onChange:(d)=>{if(d==="skip"){u(),t({kind:"hidden"}),a?.("skipped");return}t({kind:"running"}),(async()=>{let o=await l();t({kind:o.errors.length===0?"success":"error",report:o}),a?.("migrated")})()},onCancel:()=>{t({kind:"hidden"}),a?.("skipped")},visibleOptionCount:2})]})}var k;var w=f(()=>{C();y();b();g();k=h(M(),1)});
2
+ export{T as qc,w as rc};
@@ -0,0 +1,2 @@
1
+ import{kQ as a,mQ as Uq,mv as u,nF as h,nv as g,pF as Fq,pv as Wq,qn as S,rn as Zq,sn as V,sv as c,tn as $q,vv as T,wn as p,wv as _q,xn as zq,xv as r,yv as Vq}from"./cli-0.6.10-fh0qe3jw.mjs";import{BW as j,CW as Qq,DW as m,FW as Xq,IW as d,JW as Yq,pW as w,qW as Nq}from"./cli-0.6.10-r261gqbz.mjs";import{FZ as Lq,OX as v,PX as H,QX as y,_Y as J,aZ as N}from"./cli-0.6.10-ajjmvx3c.mjs";import{K1 as _,L1 as q,M1 as G,N1 as B}from"./cli-0.6.10-gj0a1s24.mjs";import{O1 as Jq}from"./cli-0.6.10-w0xpqx8x.mjs";import{mba as b,zba as Gq}from"./cli-0.6.10-3nht1qk2.mjs";import{Kpa as e,Opa as qq}from"./cli-0.6.10-yr88z6pr.mjs";function mq({onThemeSelect:F,showIntroText:I=!1,helpText:X="",showHelpTextBelow:O=!1,hideEscToCancel:x=!1,skipExitHandling:$=!1,onCancel:A}){let[U]=v(),k=H(),{columns:l}=w(),Y=Q.useMemo(()=>c(),[]),Z=Y===null?T(U):null,{setPreviewTheme:K,savePreview:M,cancelPreview:R}=y(),z=u((L)=>L.settings.syntaxHighlightingDisabled??!1),E=g();j("ThemePicker",!0);let W=S("theme:toggleSyntaxHighlighting","ThemePicker","ctrl+t"),i=Q.useCallback(()=>{if(Y===null){let L=!z;b("userSettings",{syntaxHighlightingDisabled:L}),E((P)=>({...P,settings:{...P.settings,syntaxHighlightingDisabled:L}}))}},[Y,z,E]);m("theme:toggleSyntaxHighlighting",i,{context:"ThemePicker"});let f=d($?()=>{}:void 0),D=Q.useMemo(()=>[...[],{label:"Dark mode",value:"dark"},{label:"Light mode",value:"light"},{label:"Dark mode (colorblind-friendly)",value:"dark-daltonized"},{label:"Light mode (colorblind-friendly)",value:"light-daltonized"},{label:"Dark mode (ANSI colors only)",value:"dark-ansi"},{label:"Light mode (ANSI colors only)",value:"light-ansi"},{label:"Terminal default (inherit colors)",value:"terminal"},{label:"Dracula",value:"dracula"},{label:"Catppuccin Mocha (dark)",value:"catppuccin-mocha"},{label:"Catppuccin Latte (light)",value:"catppuccin-latte"},{label:"Tokyo Night",value:"tokyo-night"},{label:"Nord",value:"nord"},{label:"Gruvbox Dark",value:"gruvbox-dark"}],[]),o=Q.useCallback((L)=>{K(L)},[K]),n=Q.useCallback((L)=>{M(),F(L)},[M,F]),s=Q.useCallback(()=>{if(R(),$)A?.();else a(0)},[R,A,$]),t=Y==="env"?`Syntax highlighting disabled (via CLAUDE_CODE_SYNTAX_HIGHLIGHT=${process.env.CLAUDE_CODE_SYNTAX_HIGHLIGHT})`:z?`Syntax highlighting disabled (${W} to enable)`:Z?`Syntax theme: ${Z.theme}${Z.source?` (from ${Z.source})`:""} (${W} to disable)`:`Syntax highlighting enabled (${W} to disable)`,C=G(J,{flexDirection:"column",gap:1,children:[G(J,{flexDirection:"column",gap:1,children:[I?q(N,{children:"Let's get started."}):q(N,{bold:!0,color:"permission",children:"Theme"}),G(J,{flexDirection:"column",children:[q(N,{bold:!0,children:"Choose the text style that looks best with your terminal"}),X&&!O?q(N,{dimColor:!0,children:X}):null]}),q(h,{options:D,onFocus:o,onChange:n,onCancel:s,visibleOptionCount:D.length,defaultValue:k,defaultFocusValue:k})]}),G(J,{flexDirection:"column",width:"100%",children:[q(J,{flexDirection:"column",borderTop:!0,borderBottom:!0,borderLeft:!1,borderRight:!1,borderStyle:"dashed",borderColor:"subtle",children:q(Iq,{patch:Oq,dim:!1,filePath:"demo.js",firstLine:null,width:l})},U),G(N,{dimColor:!0,children:[" ",t]})]})]});if(!I)return G(_,{children:[q(J,{flexDirection:"column",children:C}),O&&X?q(J,{marginLeft:3,children:q(N,{dimColor:!0,children:X})}):null,!x?q(J,{marginTop:1,children:q(N,{dimColor:!0,italic:!0,children:f.pending?G(_,{children:["Press ",f.keyName," again to exit"]}):G(p,{children:[q(V,{shortcut:"Enter",action:"select"}),q(V,{shortcut:"Esc",action:"cancel"})]})})}):null]});return C}var Q,Iq,Oq;var Aq=qq(()=>{Yq();Nq();Lq();Qq();Xq();Zq();Wq();Uq();Gq();Fq();zq();$q();_q();Vq();B();Q=e(Jq(),1),Iq=r,Oq={oldStart:1,newStart:1,oldLines:3,newLines:3,lines:[" function greet() {",'- console.log("Hello, World!");','+ console.log("Hello, Claude!");'," }"]}});
2
+ export{mq as Xg,Aq as Yg};
@@ -0,0 +1,3 @@
1
+ import{Yea as L,afa as O}from"./cli-0.6.10-vbc7veda.mjs";import{Opa as N}from"./cli-0.6.10-yr88z6pr.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 GZ,J as HZ,T as IZ,U as JZ,V as KZ,W as LZ,Q as MZ};
@@ -0,0 +1,3 @@
1
+ import{FX as t,FZ as o,OX as p,YY as j,ZY as s,_Y as F,aZ as V}from"./cli-0.6.10-ajjmvx3c.mjs";import{L1 as w,M1 as g,N1 as y}from"./cli-0.6.10-gj0a1s24.mjs";import{$7 as a,_7 as $,f8 as _,g8 as n}from"./cli-0.6.10-3nht1qk2.mjs";import{Kpa as i,Opa as v}from"./cli-0.6.10-yr88z6pr.mjs";function l(J,q,M,G){return G=typeof G=="function"?G:void 0,J==null?J:_(J,q,M,G)}var b;var f=v(()=>{n();b=l});function x(J,q={}){let{showValues:M=!0,hideFunctions:G=!1,themeName:W="dark",treeCharColors:Q={}}=q,X=[],I=new WeakSet;function Z(Y,D){if(!D)return Y;return j(D,W)(Y)}function N(Y,D,S,A=0){if(typeof Y==="string"){X.push(D+Z(Y,Q.value));return}if(typeof Y!=="object"||Y===null){if(M){let H=String(Y);X.push(D+Z(H,Q.value))}return}if(I.has(Y)){X.push(D+Z("[Circular]",Q.value));return}I.add(Y);let L=Object.keys(Y).filter((H)=>{let E=Y[H];if(G&&typeof E==="function")return!1;return!0});L.forEach((H,E)=>{let U=Y[H],P=E===L.length-1,T=A===0&&E===0?"":D,u=P?R.lastBranch:R.branch,d=Z(u,Q.treeChar),C=H.trim()===""?"":Z(H,Q.key),B=T+d+(C?" "+C:""),z=H.trim()!=="";if(U&&typeof U==="object"&&I.has(U)){let K=Z("[Circular]",Q.value);X.push(B+(z?": ":B?" ":"")+K)}else if(U&&typeof U==="object"&&!Array.isArray(U)){X.push(B);let K=P?R.empty:R.line,k=Z(K,Q.treeChar),c=T+k+" ";N(U,c,P,A+1)}else if(Array.isArray(U))X.push(B+(z?": ":B?" ":"")+"[Array("+U.length+")]");else if(M){let K=typeof U==="function"?"[Function]":String(U),k=Z(K,Q.value);B+=(z?": ":B?" ":"")+k,X.push(B)}else X.push(B)})}let O=Object.keys(J);if(O.length===0)return Z("(empty)",Q.value);if(O.length===1&&O[0]!==void 0&&O[0].trim()===""&&typeof J[O[0]]==="string"){let Y=O[0],D=Z(R.lastBranch,Q.treeChar),S=Z(J[Y],Q.value);return D+" "+S}return N(J,"",!0),X.join(`
2
+ `)}var R;var m=v(()=>{a();s();R={branch:$.lineUpDownRight,lastBranch:$.lineUpRight,line:$.lineVertical,empty:" "}});function r(J){let q={};return J.forEach((M)=>{if(!M.path){q[""]=M.message;return}let G=M.path.split("."),W=M.path;if(M.invalidValue!==null&&M.invalidValue!==void 0&&G.length>0){let Q=[];for(let X=0;X<G.length;X++){let I=G[X];if(!I)continue;let Z=parseInt(I,10);if(!isNaN(Z)&&X===G.length-1){let N;if(typeof M.invalidValue==="string")N=`"${M.invalidValue}"`;else if(M.invalidValue===null)N="null";else if(M.invalidValue===void 0)N="undefined";else N=String(M.invalidValue);Q.push(N)}else Q.push(I)}W=Q.join(".")}b(q,W,M.message,Object)}),q}function Hq(J){let q=h.c(9),{errors:M}=J,[G]=p();if(M.length===0)return null;let W,Q,X;if(q[0]!==M||q[1]!==G){let Z=M.reduce(Jq,{}),N=Object.keys(Z).sort();W=F,Q="column",X=N.map((O)=>{let Y=Z[O]||[];Y.sort(qq);let D=r(Y),S=new Map;Y.forEach((L)=>{if(L.suggestion||L.docLink){let H=`${L.suggestion||""}|${L.docLink||""}`;if(!S.has(H))S.set(H,{suggestion:L.suggestion,docLink:L.docLink})}});let A=x(D,{showValues:!0,themeName:G,treeCharColors:{treeChar:"inactive",key:"text",value:"inactive"}});return g(F,{flexDirection:"column",children:[w(V,{children:O}),w(F,{marginLeft:1,children:w(V,{dimColor:!0,children:A})}),S.size>0&&w(F,{flexDirection:"column",marginTop:1,children:Array.from(S.values()).map(e)})]},O)}),q[0]=M,q[1]=G,q[2]=W,q[3]=Q,q[4]=X}else W=q[2],Q=q[3],X=q[4];let I;if(q[5]!==W||q[6]!==Q||q[7]!==X)I=w(W,{flexDirection:Q,children:X}),q[5]=W,q[6]=Q,q[7]=X,q[8]=I;else I=q[8];return I}function e(J,q){return g(F,{flexDirection:"column",marginBottom:1,children:[J.suggestion&&w(V,{dimColor:!0,wrap:"wrap",children:J.suggestion}),J.docLink&&g(V,{dimColor:!0,wrap:"wrap",children:["Learn more: ",J.docLink]})]},`suggestion-pair-${q}`)}function qq(J,q){if(!J.path&&q.path)return-1;if(J.path&&!q.path)return 1;return(J.path||"").localeCompare(q.path||"")}function Jq(J,q){let M=q.file||"(file not specified)";if(!J[M])J[M]=[];return J[M].push(q),J}var h;var Mq=v(()=>{f();o();m();y();h=i(t(),1)});
3
+ export{Hq as cg,Mq as dg};
@@ -0,0 +1,2 @@
1
+ import{ti as a,ui as l}from"./cli-0.6.10-4r4t8cq3.mjs";import{vi as m,wi as c}from"./cli-0.6.10-6wxgepz0.mjs";import{L1 as e,N1 as n}from"./cli-0.6.10-gj0a1s24.mjs";import{Opa as s}from"./cli-0.6.10-yr88z6pr.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 ri,g as si};
@@ -0,0 +1,2 @@
1
+ import{L1 as v,N1 as D}from"./cli-0.6.10-gj0a1s24.mjs";import{Ppa as B}from"./cli-0.6.10-yr88z6pr.mjs";D();var w,z;function N(g,q){w=g,z=q}async function O(g,q,F,G){let H=w??import("./App-0.6.10-q3xcd47r.mjs"),J=z??import("./REPL-0.6.10-s7sv4jaz.mjs");w=void 0,z=void 0;let[{App:K},{REPL:M}]=await Promise.all([H,J]);await G(g,v(K,{...q,children:v(M,{...F})}))}
2
+ export{N as Sa,O as Ta};