@claudiolabs/claudin 0.6.9 → 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.9-9rxkpd2w.mjs +0 -1
  445. package/dist/chunks/App-0.6.9-2sr69sb6.mjs +0 -1
  446. package/dist/chunks/ApproveApiKey-0.6.9-qhjbrc90.mjs +0 -1
  447. package/dist/chunks/AssistantSessionChooser-0.6.9-btaax7hk.mjs +0 -1
  448. package/dist/chunks/AutoModeOptInDialog-0.6.9-4a8grmg8.mjs +0 -1
  449. package/dist/chunks/BypassPermissionsModeDialog-0.6.9-jxa6nz5k.mjs +0 -1
  450. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.9-nn288md6.mjs +0 -1
  451. package/dist/chunks/ConsoleOAuthFlow-0.6.9-vbwtn6dq.mjs +0 -1
  452. package/dist/chunks/DiffDialog-0.6.9-hpv62yd3.mjs +0 -7
  453. package/dist/chunks/Doctor-0.6.9-tjmn7d05.mjs +0 -1
  454. package/dist/chunks/ExplorerDialog-0.6.9-xm77z99k.mjs +0 -6
  455. package/dist/chunks/Grove-0.6.9-avg93sya.mjs +0 -1
  456. package/dist/chunks/ITermBackend-0.6.9-pk67e59n.mjs +0 -1
  457. package/dist/chunks/InvalidConfigDialog-0.6.9-hjj8wzba.mjs +0 -1
  458. package/dist/chunks/InvalidSettingsDialog-0.6.9-pp8agzjc.mjs +0 -1
  459. package/dist/chunks/MigrationDialog-0.6.9-gqa8pkn6.mjs +0 -1
  460. package/dist/chunks/Onboarding-0.6.9-192qpt8b.mjs +0 -1
  461. package/dist/chunks/ProviderManager-0.6.9-ba2cfwrw.mjs +0 -1
  462. package/dist/chunks/REPL-0.6.9-gzw0s80y.mjs +0 -1
  463. package/dist/chunks/ResumeConversation-0.6.9-s38qycda.mjs +0 -1
  464. package/dist/chunks/SnapshotUpdateDialog-0.6.9-kxmns9zh.mjs +0 -1
  465. package/dist/chunks/TeleportProgress-0.6.9-kr1yf6k8.mjs +0 -1
  466. package/dist/chunks/TeleportRepoMismatchDialog-0.6.9-zmv3c62q.mjs +0 -1
  467. package/dist/chunks/TeleportResumeWrapper-0.6.9-m4jf5dr0.mjs +0 -1
  468. package/dist/chunks/TmuxBackend-0.6.9-b9ax9m6j.mjs +0 -9
  469. package/dist/chunks/ToolSearchTool-0.6.9-kjse2jv1.mjs +0 -1
  470. package/dist/chunks/TrustDialog-0.6.9-dahc1ev9.mjs +0 -1
  471. package/dist/chunks/activeProvider-0.6.9-5jwr5wg3.mjs +0 -1
  472. package/dist/chunks/add-dir-0.6.9-yfzy34qb.mjs +0 -1
  473. package/dist/chunks/agents-0.6.9-0n6mcvce.mjs +0 -110
  474. package/dist/chunks/agents-0.6.9-b31sawy3.mjs +0 -3
  475. package/dist/chunks/api-0.6.9-zdddwgzx.mjs +0 -1
  476. package/dist/chunks/asciicast-0.6.9-bzqqwjta.mjs +0 -1
  477. package/dist/chunks/assistant-0.6.9-7g8mz1p5.mjs +0 -1
  478. package/dist/chunks/auth-0.6.9-hjd8znw9.mjs +0 -1
  479. package/dist/chunks/auth-0.6.9-y5g1mgmg.mjs +0 -1
  480. package/dist/chunks/autoMode-0.6.9-rxq8ymw3.mjs +0 -48
  481. package/dist/chunks/autoUpdater-0.6.9-bpak4p67.mjs +0 -1
  482. package/dist/chunks/backgroundHousekeeping-0.6.9-asafysjv.mjs +0 -1
  483. package/dist/chunks/branch-0.6.9-7nbx2ywt.mjs +0 -4
  484. package/dist/chunks/bridge-0.6.9-1yc7bj8p.mjs +0 -2
  485. package/dist/chunks/bridgeConfig-0.6.9-m23yzban.mjs +0 -1
  486. package/dist/chunks/bridgeEnabled-0.6.9-7njgh7m2.mjs +0 -1
  487. package/dist/chunks/bridgeMain-0.6.9-8py5synr.mjs +0 -88
  488. package/dist/chunks/bridgePointer-0.6.9-j9cxeww1.mjs +0 -1
  489. package/dist/chunks/btw-0.6.9-ma7pmkk5.mjs +0 -1
  490. package/dist/chunks/buddy-0.6.9-1mkd3gdj.mjs +0 -3
  491. package/dist/chunks/cacache-0.6.9-24ya96gj.mjs +0 -1
  492. package/dist/chunks/cache-probe-0.6.9-gsvngvjh.mjs +0 -21
  493. package/dist/chunks/cacheStats-0.6.9-mafdpb09.mjs +0 -4
  494. package/dist/chunks/caches-0.6.9-6j6tyf4b.mjs +0 -1
  495. package/dist/chunks/claudeDesktop-0.6.9-h7d8r8vt.mjs +0 -1
  496. package/dist/chunks/claudemd-0.6.9-51rn86v1.mjs +0 -1
  497. package/dist/chunks/clear-0.6.9-6tv28ch2.mjs +0 -1
  498. package/dist/chunks/clearTerminal-0.6.9-0gh4v4ga.mjs +0 -1
  499. package/dist/chunks/cli-0.6.9-05w6ne3v.mjs +0 -4
  500. package/dist/chunks/cli-0.6.9-0f11memf.mjs +0 -59
  501. package/dist/chunks/cli-0.6.9-0j0w045z.mjs +0 -2
  502. package/dist/chunks/cli-0.6.9-0pfvh3w1.mjs +0 -2
  503. package/dist/chunks/cli-0.6.9-0qtkkmfq.mjs +0 -2
  504. package/dist/chunks/cli-0.6.9-0s223s8s.mjs +0 -18
  505. package/dist/chunks/cli-0.6.9-0t9pwgch.mjs +0 -2
  506. package/dist/chunks/cli-0.6.9-0wmp1q7a.mjs +0 -2
  507. package/dist/chunks/cli-0.6.9-0zey0wyh.mjs +0 -2
  508. package/dist/chunks/cli-0.6.9-143kz7xy.mjs +0 -2
  509. package/dist/chunks/cli-0.6.9-177spsqy.mjs +0 -2
  510. package/dist/chunks/cli-0.6.9-1a1q6vnc.mjs +0 -9
  511. package/dist/chunks/cli-0.6.9-1g9smwnt.mjs +0 -2
  512. package/dist/chunks/cli-0.6.9-268fcggy.mjs +0 -3
  513. package/dist/chunks/cli-0.6.9-2fe32k5y.mjs +0 -2
  514. package/dist/chunks/cli-0.6.9-2ffve69q.mjs +0 -2
  515. package/dist/chunks/cli-0.6.9-2nc79qh3.mjs +0 -2
  516. package/dist/chunks/cli-0.6.9-2zwgc8vn.mjs +0 -2
  517. package/dist/chunks/cli-0.6.9-30djh7wy.mjs +0 -2
  518. package/dist/chunks/cli-0.6.9-31dtrem4.mjs +0 -2
  519. package/dist/chunks/cli-0.6.9-31vx6nd6.mjs +0 -2
  520. package/dist/chunks/cli-0.6.9-35z6rask.mjs +0 -2
  521. package/dist/chunks/cli-0.6.9-3c6mqdk0.mjs +0 -3
  522. package/dist/chunks/cli-0.6.9-47kxmw0y.mjs +0 -3
  523. package/dist/chunks/cli-0.6.9-4e82zcfv.mjs +0 -3
  524. package/dist/chunks/cli-0.6.9-4hmydq2g.mjs +0 -2
  525. package/dist/chunks/cli-0.6.9-4mt6vz89.mjs +0 -2
  526. package/dist/chunks/cli-0.6.9-4nh8xyg8.mjs +0 -3
  527. package/dist/chunks/cli-0.6.9-4tdxta31.mjs +0 -2
  528. package/dist/chunks/cli-0.6.9-4vf40ybe.mjs +0 -2
  529. package/dist/chunks/cli-0.6.9-53jmw39d.mjs +0 -2
  530. package/dist/chunks/cli-0.6.9-5bs313jv.mjs +0 -2
  531. package/dist/chunks/cli-0.6.9-5ssjdjpx.mjs +0 -2
  532. package/dist/chunks/cli-0.6.9-5tam8r4f.mjs +0 -2
  533. package/dist/chunks/cli-0.6.9-618nhe26.mjs +0 -2
  534. package/dist/chunks/cli-0.6.9-64syz6hg.mjs +0 -25
  535. package/dist/chunks/cli-0.6.9-67m8zq43.mjs +0 -2
  536. package/dist/chunks/cli-0.6.9-67ms6qe8.mjs +0 -2
  537. package/dist/chunks/cli-0.6.9-6baq8t33.mjs +0 -6
  538. package/dist/chunks/cli-0.6.9-6c09kxnr.mjs +0 -6
  539. package/dist/chunks/cli-0.6.9-6czn2nk0.mjs +0 -2
  540. package/dist/chunks/cli-0.6.9-6vtgxtwc.mjs +0 -2
  541. package/dist/chunks/cli-0.6.9-703ts6mp.mjs +0 -2
  542. package/dist/chunks/cli-0.6.9-72pqdgfp.mjs +0 -2
  543. package/dist/chunks/cli-0.6.9-72xw2978.mjs +0 -17
  544. package/dist/chunks/cli-0.6.9-75m2z0pe.mjs +0 -2
  545. package/dist/chunks/cli-0.6.9-7c5zf7vm.mjs +0 -2
  546. package/dist/chunks/cli-0.6.9-7cm1vhs1.mjs +0 -2
  547. package/dist/chunks/cli-0.6.9-7e7zn9nj.mjs +0 -42
  548. package/dist/chunks/cli-0.6.9-7jptdarn.mjs +0 -2
  549. package/dist/chunks/cli-0.6.9-7ke3x92f.mjs +0 -2
  550. package/dist/chunks/cli-0.6.9-7p077nar.mjs +0 -2
  551. package/dist/chunks/cli-0.6.9-7s8ys0y7.mjs +0 -2
  552. package/dist/chunks/cli-0.6.9-7zyvegv3.mjs +0 -2
  553. package/dist/chunks/cli-0.6.9-83gnr7zb.mjs +0 -3
  554. package/dist/chunks/cli-0.6.9-8709kpq4.mjs +0 -2
  555. package/dist/chunks/cli-0.6.9-88y94bf5.mjs +0 -2
  556. package/dist/chunks/cli-0.6.9-8984d2qb.mjs +0 -133
  557. package/dist/chunks/cli-0.6.9-8amemx3r.mjs +0 -2
  558. package/dist/chunks/cli-0.6.9-8c45ksaw.mjs +0 -2
  559. package/dist/chunks/cli-0.6.9-8hye8y46.mjs +0 -2
  560. package/dist/chunks/cli-0.6.9-8v4sw3p1.mjs +0 -2
  561. package/dist/chunks/cli-0.6.9-8xxpa4ep.mjs +0 -2
  562. package/dist/chunks/cli-0.6.9-8ymt6nd1.mjs +0 -2
  563. package/dist/chunks/cli-0.6.9-8zqra5w7.mjs +0 -18
  564. package/dist/chunks/cli-0.6.9-97n772v9.mjs +0 -3
  565. package/dist/chunks/cli-0.6.9-9eyrhanm.mjs +0 -3
  566. package/dist/chunks/cli-0.6.9-9tvvnszt.mjs +0 -15
  567. package/dist/chunks/cli-0.6.9-9wvb59y3.mjs +0 -8
  568. package/dist/chunks/cli-0.6.9-9x9r4f8d.mjs +0 -2
  569. package/dist/chunks/cli-0.6.9-9zz415nm.mjs +0 -2
  570. package/dist/chunks/cli-0.6.9-a5zs8qb2.mjs +0 -2
  571. package/dist/chunks/cli-0.6.9-a91pdpbf.mjs +0 -2
  572. package/dist/chunks/cli-0.6.9-acekzr9a.mjs +0 -15
  573. package/dist/chunks/cli-0.6.9-aenf6vb7.mjs +0 -2
  574. package/dist/chunks/cli-0.6.9-ahdefj2b.mjs +0 -2
  575. package/dist/chunks/cli-0.6.9-aqma59cn.mjs +0 -2
  576. package/dist/chunks/cli-0.6.9-az6jyck0.mjs +0 -24
  577. package/dist/chunks/cli-0.6.9-b0y0kf38.mjs +0 -2
  578. package/dist/chunks/cli-0.6.9-bk34v13s.mjs +0 -2
  579. package/dist/chunks/cli-0.6.9-bkvwt4w3.mjs +0 -12
  580. package/dist/chunks/cli-0.6.9-bn2xtan6.mjs +0 -2
  581. package/dist/chunks/cli-0.6.9-cky5efqh.mjs +0 -4
  582. package/dist/chunks/cli-0.6.9-cp5fabjc.mjs +0 -28
  583. package/dist/chunks/cli-0.6.9-csbrfz7b.mjs +0 -2
  584. package/dist/chunks/cli-0.6.9-da750ce8.mjs +0 -2
  585. package/dist/chunks/cli-0.6.9-dhg2zjfr.mjs +0 -2
  586. package/dist/chunks/cli-0.6.9-dvd8t953.mjs +0 -4
  587. package/dist/chunks/cli-0.6.9-ejvhaena.mjs +0 -2
  588. package/dist/chunks/cli-0.6.9-ex3m411t.mjs +0 -2
  589. package/dist/chunks/cli-0.6.9-ey0mcqwk.mjs +0 -2
  590. package/dist/chunks/cli-0.6.9-f8vcjjc6.mjs +0 -2
  591. package/dist/chunks/cli-0.6.9-fc9vqmnf.mjs +0 -2
  592. package/dist/chunks/cli-0.6.9-fd6q2n8f.mjs +0 -5
  593. package/dist/chunks/cli-0.6.9-fepacdf9.mjs +0 -2
  594. package/dist/chunks/cli-0.6.9-fgkzcrmd.mjs +0 -2
  595. package/dist/chunks/cli-0.6.9-fqh9t0h9.mjs +0 -58
  596. package/dist/chunks/cli-0.6.9-fr4y4c0h.mjs +0 -2
  597. package/dist/chunks/cli-0.6.9-frq5etv7.mjs +0 -4
  598. package/dist/chunks/cli-0.6.9-g8vpamhp.mjs +0 -2
  599. package/dist/chunks/cli-0.6.9-gercjmay.mjs +0 -5350
  600. package/dist/chunks/cli-0.6.9-gfqjq2qe.mjs +0 -2
  601. package/dist/chunks/cli-0.6.9-ghdrkvmy.mjs +0 -2
  602. package/dist/chunks/cli-0.6.9-gvkq5xs9.mjs +0 -2
  603. package/dist/chunks/cli-0.6.9-h66ktwkz.mjs +0 -2
  604. package/dist/chunks/cli-0.6.9-h9kchbsc.mjs +0 -6
  605. package/dist/chunks/cli-0.6.9-hk5yv924.mjs +0 -3
  606. package/dist/chunks/cli-0.6.9-hx2vghp7.mjs +0 -50
  607. package/dist/chunks/cli-0.6.9-j94027pe.mjs +0 -2
  608. package/dist/chunks/cli-0.6.9-jfyk8906.mjs +0 -6
  609. package/dist/chunks/cli-0.6.9-jm1v5d99.mjs +0 -2
  610. package/dist/chunks/cli-0.6.9-jvqzvbrh.mjs +0 -2
  611. package/dist/chunks/cli-0.6.9-k0gktpk5.mjs +0 -15
  612. package/dist/chunks/cli-0.6.9-k14bgd9g.mjs +0 -2
  613. package/dist/chunks/cli-0.6.9-k9v9gdzp.mjs +0 -2
  614. package/dist/chunks/cli-0.6.9-kanmrra0.mjs +0 -2
  615. package/dist/chunks/cli-0.6.9-khjkzjgr.mjs +0 -2
  616. package/dist/chunks/cli-0.6.9-knasgz9g.mjs +0 -2
  617. package/dist/chunks/cli-0.6.9-kv2gx7he.mjs +0 -2
  618. package/dist/chunks/cli-0.6.9-kxe1p7p9.mjs +0 -2
  619. package/dist/chunks/cli-0.6.9-m0fs2cnk.mjs +0 -2
  620. package/dist/chunks/cli-0.6.9-m9n8nvmz.mjs +0 -7
  621. package/dist/chunks/cli-0.6.9-mb7kx11j.mjs +0 -2
  622. package/dist/chunks/cli-0.6.9-me596055.mjs +0 -5
  623. package/dist/chunks/cli-0.6.9-mhcym441.mjs +0 -2
  624. package/dist/chunks/cli-0.6.9-mjx2tx8w.mjs +0 -2
  625. package/dist/chunks/cli-0.6.9-mn3sjrek.mjs +0 -2
  626. package/dist/chunks/cli-0.6.9-mn808zcz.mjs +0 -2
  627. package/dist/chunks/cli-0.6.9-n52xxa1k.mjs +0 -3
  628. package/dist/chunks/cli-0.6.9-nahjphjz.mjs +0 -2
  629. package/dist/chunks/cli-0.6.9-njaeg8jw.mjs +0 -4
  630. package/dist/chunks/cli-0.6.9-nm598kmg.mjs +0 -2
  631. package/dist/chunks/cli-0.6.9-ns77j0rb.mjs +0 -2
  632. package/dist/chunks/cli-0.6.9-nyn27tc4.mjs +0 -2
  633. package/dist/chunks/cli-0.6.9-p05qz9pw.mjs +0 -2
  634. package/dist/chunks/cli-0.6.9-p61nt01z.mjs +0 -4
  635. package/dist/chunks/cli-0.6.9-p9sazvks.mjs +0 -2
  636. package/dist/chunks/cli-0.6.9-pc08dfva.mjs +0 -2
  637. package/dist/chunks/cli-0.6.9-pgqqhqcb.mjs +0 -2
  638. package/dist/chunks/cli-0.6.9-prq3ecgt.mjs +0 -2
  639. package/dist/chunks/cli-0.6.9-psmra04s.mjs +0 -2
  640. package/dist/chunks/cli-0.6.9-pxnbcvjk.mjs +0 -2
  641. package/dist/chunks/cli-0.6.9-pyzfty1h.mjs +0 -1
  642. package/dist/chunks/cli-0.6.9-pzdzwxv3.mjs +0 -2
  643. package/dist/chunks/cli-0.6.9-q1k864q5.mjs +0 -24
  644. package/dist/chunks/cli-0.6.9-q1sngnn9.mjs +0 -2
  645. package/dist/chunks/cli-0.6.9-q95j0sxq.mjs +0 -2
  646. package/dist/chunks/cli-0.6.9-qef0vmv4.mjs +0 -2
  647. package/dist/chunks/cli-0.6.9-qfk8bh8k.mjs +0 -20
  648. package/dist/chunks/cli-0.6.9-qq2p34an.mjs +0 -2
  649. package/dist/chunks/cli-0.6.9-qwk9n0r3.mjs +0 -4
  650. package/dist/chunks/cli-0.6.9-r3p8fksb.mjs +0 -2
  651. package/dist/chunks/cli-0.6.9-r46qknk7.mjs +0 -2
  652. package/dist/chunks/cli-0.6.9-r81h8n5p.mjs +0 -2
  653. package/dist/chunks/cli-0.6.9-rcmd16qm.mjs +0 -2
  654. package/dist/chunks/cli-0.6.9-rmmwn2p7.mjs +0 -2
  655. package/dist/chunks/cli-0.6.9-s03y3b3q.mjs +0 -2
  656. package/dist/chunks/cli-0.6.9-s1r1tza8.mjs +0 -133
  657. package/dist/chunks/cli-0.6.9-s2pyty79.mjs +0 -2
  658. package/dist/chunks/cli-0.6.9-s4cwpcyg.mjs +0 -2
  659. package/dist/chunks/cli-0.6.9-sa2fxctp.mjs +0 -2
  660. package/dist/chunks/cli-0.6.9-sd2hp4aq.mjs +0 -2
  661. package/dist/chunks/cli-0.6.9-sg9116zb.mjs +0 -17
  662. package/dist/chunks/cli-0.6.9-sr9jy37c.mjs +0 -3
  663. package/dist/chunks/cli-0.6.9-sx115432.mjs +0 -12
  664. package/dist/chunks/cli-0.6.9-t2yrab6t.mjs +0 -2
  665. package/dist/chunks/cli-0.6.9-tae7g2d9.mjs +0 -2
  666. package/dist/chunks/cli-0.6.9-td7kr6wd.mjs +0 -2
  667. package/dist/chunks/cli-0.6.9-tenfy5s3.mjs +0 -21
  668. package/dist/chunks/cli-0.6.9-tkvj57rn.mjs +0 -2
  669. package/dist/chunks/cli-0.6.9-tn4basxv.mjs +0 -2
  670. package/dist/chunks/cli-0.6.9-tnf75x7v.mjs +0 -2
  671. package/dist/chunks/cli-0.6.9-tt8mt40f.mjs +0 -2
  672. package/dist/chunks/cli-0.6.9-tya05wpq.mjs +0 -2
  673. package/dist/chunks/cli-0.6.9-v3a8d4n8.mjs +0 -12
  674. package/dist/chunks/cli-0.6.9-v3yecwhs.mjs +0 -34
  675. package/dist/chunks/cli-0.6.9-vbzp917y.mjs +0 -3
  676. package/dist/chunks/cli-0.6.9-w56gxnbb.mjs +0 -67
  677. package/dist/chunks/cli-0.6.9-w6ee6p28.mjs +0 -4
  678. package/dist/chunks/cli-0.6.9-wr8a7whz.mjs +0 -2
  679. package/dist/chunks/cli-0.6.9-wrs935pe.mjs +0 -3
  680. package/dist/chunks/cli-0.6.9-x4xhf8vr.mjs +0 -2
  681. package/dist/chunks/cli-0.6.9-x9vbsw98.mjs +0 -2
  682. package/dist/chunks/cli-0.6.9-xd2h9tsn.mjs +0 -2
  683. package/dist/chunks/cli-0.6.9-xdzfwf1n.mjs +0 -2
  684. package/dist/chunks/cli-0.6.9-xpvddrex.mjs +0 -4
  685. package/dist/chunks/cli-0.6.9-y0wg39nk.mjs +0 -2
  686. package/dist/chunks/cli-0.6.9-yh3sfvca.mjs +0 -2
  687. package/dist/chunks/cli-0.6.9-yhp352r8.mjs +0 -193
  688. package/dist/chunks/cli-0.6.9-ymxkw0j9.mjs +0 -5
  689. package/dist/chunks/cli-0.6.9-ynh6kjv5.mjs +0 -2
  690. package/dist/chunks/cli-0.6.9-ytpaqmsk.mjs +0 -45
  691. package/dist/chunks/cli-0.6.9-z2400j8e.mjs +0 -2
  692. package/dist/chunks/cli-0.6.9-z3wh6pmj.mjs +0 -4
  693. package/dist/chunks/cli-0.6.9-z6aaad8t.mjs +0 -10
  694. package/dist/chunks/cli-0.6.9-zsnw0941.mjs +0 -39
  695. package/dist/chunks/cli-0.6.9-zzzn3e8b.mjs +0 -16
  696. package/dist/chunks/client-0.6.9-cz438b8v.mjs +0 -1
  697. package/dist/chunks/color-0.6.9-vdsgnwjj.mjs +0 -1
  698. package/dist/chunks/compact-0.6.9-gp0w7v9s.mjs +0 -3
  699. package/dist/chunks/config-0.6.9-f50cq2by.mjs +0 -1
  700. package/dist/chunks/config-0.6.9-zezbmxp9.mjs +0 -1
  701. package/dist/chunks/constants-0.6.9-d7fjn6ym.mjs +0 -1
  702. package/dist/chunks/context-0.6.9-vs4wf3qj.mjs +0 -1
  703. package/dist/chunks/context-noninteractive-0.6.9-3v8697je.mjs +0 -1
  704. package/dist/chunks/conversation-0.6.9-sq5hwdze.mjs +0 -1
  705. package/dist/chunks/copilotHeaders-0.6.9-kf7a254d.mjs +0 -1
  706. package/dist/chunks/copy-0.6.9-qfs2e58z.mjs +0 -9
  707. package/dist/chunks/cost-0.6.9-w97qsa6d.mjs +0 -1
  708. package/dist/chunks/createSSHSession-0.6.9-9r9vyh4c.mjs +0 -1
  709. package/dist/chunks/createSession-0.6.9-w8bj9hkr.mjs +0 -1
  710. package/dist/chunks/debug-0.6.9-p5c3pfsj.mjs +0 -1
  711. package/dist/chunks/defaultActionDeps-0.6.9-g6wka3f7.mjs +0 -1367
  712. package/dist/chunks/desktop-0.6.9-szcfghe5.mjs +0 -1
  713. package/dist/chunks/detectRepository-0.6.9-sv4rn6e9.mjs +0 -1
  714. package/dist/chunks/detection-0.6.9-avkk26gv.mjs +0 -1
  715. package/dist/chunks/diff-0.6.9-6qtw4swj.mjs +0 -1
  716. package/dist/chunks/doctor-0.6.9-wemp2503.mjs +0 -1
  717. package/dist/chunks/doctorDiagnostic-0.6.9-n4wcbma8.mjs +0 -1
  718. package/dist/chunks/earlyInput-0.6.9-7t2yxx2k.mjs +0 -1
  719. package/dist/chunks/effort-0.6.9-ad6129tk.mjs +0 -10
  720. package/dist/chunks/envLessBridgeConfig-0.6.9-9276szv2.mjs +0 -1
  721. package/dist/chunks/envUtils-0.6.9-ynm3aqgf.mjs +0 -1
  722. package/dist/chunks/environmentSelection-0.6.9-cjwzdh51.mjs +0 -1
  723. package/dist/chunks/environments-0.6.9-s5d4xqep.mjs +0 -1
  724. package/dist/chunks/errors-0.6.9-w9kte9cs.mjs +0 -1
  725. package/dist/chunks/exampleCommands-0.6.9-4056c0dz.mjs +0 -1
  726. package/dist/chunks/exit-0.6.9-j72je7w6.mjs +0 -1
  727. package/dist/chunks/explorer-0.6.9-98k1atn1.mjs +0 -1
  728. package/dist/chunks/export-0.6.9-s9zpgv4f.mjs +0 -2
  729. package/dist/chunks/extra-usage-0.6.9-6nj4st4n.mjs +0 -1
  730. package/dist/chunks/extra-usage-noninteractive-0.6.9-nwh6dbn1.mjs +0 -1
  731. package/dist/chunks/fast-0.6.9-r5349jvd.mjs +0 -1
  732. package/dist/chunks/feedback-0.6.9-ssn1fmcb.mjs +0 -14
  733. package/dist/chunks/firstPartyEventLogger-0.6.9-pm4x6st7.mjs +0 -1
  734. package/dist/chunks/git-0.6.9-y91x52y1.mjs +0 -1
  735. package/dist/chunks/githubModelsCredentials-0.6.9-kfr0nk73.mjs +0 -1
  736. package/dist/chunks/goal-0.6.9-3gwvk3bv.mjs +0 -4
  737. package/dist/chunks/grove-0.6.9-wmv3gysg.mjs +0 -1
  738. package/dist/chunks/growthbook-0.6.9-7ajmx6eh.mjs +0 -1
  739. package/dist/chunks/headless-0.6.9-6ab7stx4.mjs +0 -2
  740. package/dist/chunks/heapdump-0.6.9-1kx1h3ba.mjs +0 -6
  741. package/dist/chunks/help-0.6.9-rf486d17.mjs +0 -1
  742. package/dist/chunks/hookChains-0.6.9-pxna9psh.mjs +0 -3
  743. package/dist/chunks/hooks-0.6.9-wav1pakb.mjs +0 -1
  744. package/dist/chunks/hooks-0.6.9-zc69g73d.mjs +0 -79
  745. package/dist/chunks/ide-0.6.9-kgqwyzh1.mjs +0 -3
  746. package/dist/chunks/image-processor-napi-0.6.9-pa1ny79r.mjs +0 -1
  747. package/dist/chunks/inboundAttachments-0.6.9-jjfdegyr.mjs +0 -1
  748. package/dist/chunks/index-0.6.9-0nqhy7sy.mjs +0 -1
  749. package/dist/chunks/index-0.6.9-1bq0hpw2.mjs +0 -1
  750. package/dist/chunks/index-0.6.9-2snpdxy3.mjs +0 -1
  751. package/dist/chunks/index-0.6.9-5k23gfe9.mjs +0 -1
  752. package/dist/chunks/index-0.6.9-619t4kvv.mjs +0 -9
  753. package/dist/chunks/index-0.6.9-8kfhzkpy.mjs +0 -1
  754. package/dist/chunks/index-0.6.9-902sjqyc.mjs +0 -9
  755. package/dist/chunks/index-0.6.9-a2ssd4wq.mjs +0 -30
  756. package/dist/chunks/index-0.6.9-aqfgsev2.mjs +0 -1
  757. package/dist/chunks/index-0.6.9-arpthr5q.mjs +0 -2
  758. package/dist/chunks/index-0.6.9-bngr20xg.mjs +0 -2
  759. package/dist/chunks/index-0.6.9-ck4qgvty.mjs +0 -1
  760. package/dist/chunks/index-0.6.9-d2vjtgqs.mjs +0 -1
  761. package/dist/chunks/index-0.6.9-e3szhjja.mjs +0 -1
  762. package/dist/chunks/index-0.6.9-efqgg2fb.mjs +0 -1
  763. package/dist/chunks/index-0.6.9-ewht5a34.mjs +0 -5
  764. package/dist/chunks/index-0.6.9-g43bx48w.mjs +0 -1
  765. package/dist/chunks/index-0.6.9-jq16aq9c.mjs +0 -1
  766. package/dist/chunks/index-0.6.9-n4d1shjt.mjs +0 -1
  767. package/dist/chunks/index-0.6.9-r63gj39n.mjs +0 -1
  768. package/dist/chunks/index-0.6.9-rry8n9vj.mjs +0 -1
  769. package/dist/chunks/index-0.6.9-v2xp35sf.mjs +0 -1
  770. package/dist/chunks/index-0.6.9-vev4s22g.mjs +0 -1
  771. package/dist/chunks/init-0.6.9-h8jwxt6h.mjs +0 -1
  772. package/dist/chunks/initReplBridge-0.6.9-c10qt3gn.mjs +0 -1
  773. package/dist/chunks/ink-0.6.9-49s4s9jc.mjs +0 -1
  774. package/dist/chunks/insights-0.6.9-sag6cjh3.mjs +0 -870
  775. package/dist/chunks/install-0.6.9-s1h2dkak.mjs +0 -1
  776. package/dist/chunks/install-github-app-0.6.9-rgv15r8t.mjs +0 -149
  777. package/dist/chunks/install-slack-app-0.6.9-cpn9fgkg.mjs +0 -1
  778. package/dist/chunks/instrumentation-0.6.9-265vgh29.mjs +0 -1
  779. package/dist/chunks/interactiveHelpers-0.6.9-5p2xm7b4.mjs +0 -1
  780. package/dist/chunks/keybindings-0.6.9-8755gwzd.mjs +0 -2
  781. package/dist/chunks/knowledge-0.6.9-vv9d2yhp.mjs +0 -2
  782. package/dist/chunks/latestVersionCache-0.6.9-acef14hs.mjs +0 -1
  783. package/dist/chunks/loadAgentsDir-0.6.9-s5zmmsmj.mjs +0 -1
  784. package/dist/chunks/loadPluginHooks-0.6.9-e65pc8g0.mjs +0 -1
  785. package/dist/chunks/loadPluginHooks-0.6.9-k2ddma7b.mjs +0 -1
  786. package/dist/chunks/log-0.6.9-bb1wwfr9.mjs +0 -1
  787. package/dist/chunks/main-0.6.9-xp3yb12z.mjs +0 -1
  788. package/dist/chunks/managedEnv-0.6.9-9vjjgckq.mjs +0 -1
  789. package/dist/chunks/mcp-0.6.9-3k9qwk6b.mjs +0 -17
  790. package/dist/chunks/mcp-0.6.9-74q0zmbx.mjs +0 -1
  791. package/dist/chunks/mcp-0.6.9-hnmfw09m.mjs +0 -4
  792. package/dist/chunks/mcpb-0.6.9-npmecrdw.mjs +0 -1
  793. package/dist/chunks/memory-0.6.9-r9amy13p.mjs +0 -3
  794. package/dist/chunks/model-0.6.9-j7qkjsh4.mjs +0 -1
  795. package/dist/chunks/model-0.6.9-qvbhjt5a.mjs +0 -2
  796. package/dist/chunks/node-0.6.9-7618k0cs.mjs +0 -12
  797. package/dist/chunks/oauth-0.6.9-10e6vje5.mjs +0 -1
  798. package/dist/chunks/openaiShim-0.6.9-pke3rkx3.mjs +0 -14
  799. package/dist/chunks/output-style-0.6.9-5dww84zv.mjs +0 -1
  800. package/dist/chunks/package-FMOR3ELU-0.6.9-tqcy00ry.mjs +0 -1
  801. package/dist/chunks/parseConnectUrl-0.6.9-rzx7fgrs.mjs +0 -1
  802. package/dist/chunks/parser-0.6.9-r5r8db6m.mjs +0 -1
  803. package/dist/chunks/passes-0.6.9-9ntxdmjs.mjs +0 -1
  804. package/dist/chunks/permissions-0.6.9-06k3424m.mjs +0 -1
  805. package/dist/chunks/permissions-0.6.9-qg4repwk.mjs +0 -3
  806. package/dist/chunks/plan-0.6.9-2bgtj9s7.mjs +0 -1
  807. package/dist/chunks/plist-0.6.9-qwz1tx1x.mjs +0 -1
  808. package/dist/chunks/plugin-0.6.9-tptgr2qf.mjs +0 -29
  809. package/dist/chunks/pluginStartupCheck-0.6.9-9dfate68.mjs +0 -1
  810. package/dist/chunks/plugins-0.6.9-qmzrjgkm.mjs +0 -9
  811. package/dist/chunks/preActionHook-0.6.9-kcp5zkcc.mjs +0 -2
  812. package/dist/chunks/print-0.6.9-m3fbd53e.mjs +0 -57
  813. package/dist/chunks/privacy-settings-0.6.9-16gpzrax.mjs +0 -1
  814. package/dist/chunks/process-0.6.9-3e3f5r17.mjs +0 -1
  815. package/dist/chunks/processBashCommand-0.6.9-542d591h.mjs +0 -1
  816. package/dist/chunks/processSlashCommand-0.6.9-esx1dxzr.mjs +0 -9
  817. package/dist/chunks/prompt-0.6.9-r0j2sxeh.mjs +0 -1
  818. package/dist/chunks/prompt-0.6.9-yqs9hbe5.mjs +0 -1
  819. package/dist/chunks/prompts-0.6.9-aejx76by.mjs +0 -1
  820. package/dist/chunks/protocolHandler-0.6.9-6f15y1bc.mjs +0 -13
  821. package/dist/chunks/provider-0.6.9-cq128p4x.mjs +0 -2
  822. package/dist/chunks/providerProfiles-0.6.9-angsmcpe.mjs +0 -1
  823. package/dist/chunks/providerValidation-0.6.9-jvq9j27j.mjs +0 -6
  824. package/dist/chunks/rate-limit-options-0.6.9-bb7szjxd.mjs +0 -1
  825. package/dist/chunks/registerSubcommands-0.6.9-ntgxbjdf.mjs +0 -34
  826. package/dist/chunks/registry-0.6.9-g3jk5jc0.mjs +0 -1
  827. package/dist/chunks/release-notes-0.6.9-za6qss4x.mjs +0 -5
  828. package/dist/chunks/reload-plugins-0.6.9-4kq8n1bm.mjs +0 -2
  829. package/dist/chunks/remote-env-0.6.9-zf6vx3hg.mjs +0 -1
  830. package/dist/chunks/remoteBridgeCore-0.6.9-pz9x9kkp.mjs +0 -1
  831. package/dist/chunks/remoteSession-0.6.9-b0yejcdh.mjs +0 -1
  832. package/dist/chunks/rename-0.6.9-v12x6k3n.mjs +0 -1
  833. package/dist/chunks/replBridgeHandle-0.6.9-5dnpvxp7.mjs +0 -1
  834. package/dist/chunks/replLauncher-0.6.9-b9vwe3a0.mjs +0 -1
  835. package/dist/chunks/resume-0.6.9-bd2pqpzx.mjs +0 -2
  836. package/dist/chunks/rewind-0.6.9-mtghn6v6.mjs +0 -1
  837. package/dist/chunks/rootOptions-0.6.9-kthybc4f.mjs +0 -1
  838. package/dist/chunks/sandbox-adapter-0.6.9-xy35en8q.mjs +0 -1
  839. package/dist/chunks/sandbox-toggle-0.6.9-5xezm83a.mjs +0 -1
  840. package/dist/chunks/session-0.6.9-m7jcvyhf.mjs +0 -2
  841. package/dist/chunks/sessionDiscovery-0.6.9-xtq2azg8.mjs +0 -1
  842. package/dist/chunks/sessionFileAccessHooks-0.6.9-cw7p2vz4.mjs +0 -1
  843. package/dist/chunks/sessionStorage-0.6.9-cf9hvj5p.mjs +0 -1
  844. package/dist/chunks/settings-0.6.9-3yt2knq2.mjs +0 -1
  845. package/dist/chunks/setup-0.6.9-zyhhsegx.mjs +0 -5
  846. package/dist/chunks/sinks-0.6.9-37az99sx.mjs +0 -1
  847. package/dist/chunks/skills-0.6.9-pmayt9xm.mjs +0 -1
  848. package/dist/chunks/startupProfiler-0.6.9-rqf2vjrq.mjs +0 -1
  849. package/dist/chunks/startupUpdateCheck-0.6.9-2n5g00f9.mjs +0 -1
  850. package/dist/chunks/state-0.6.9-6bv4xar6.mjs +0 -1
  851. package/dist/chunks/stats-0.6.9-vm6c7j7g.mjs +0 -6
  852. package/dist/chunks/status-0.6.9-fm5f7dvn.mjs +0 -1
  853. package/dist/chunks/stickers-0.6.9-wqd21rwz.mjs +0 -1
  854. package/dist/chunks/subprocessEnv-0.6.9-42b0wsjg.mjs +0 -1
  855. package/dist/chunks/tasks-0.6.9-f6fah65x.mjs +0 -1
  856. package/dist/chunks/teamHelpers-0.6.9-0azp8kbe.mjs +0 -1
  857. package/dist/chunks/teammateModeSnapshot-0.6.9-1b3b44py.mjs +0 -1
  858. package/dist/chunks/teleport-0.6.9-y0314abd.mjs +0 -1
  859. package/dist/chunks/terminalSetup-0.6.9-wp4j4emr.mjs +0 -1
  860. package/dist/chunks/theme-0.6.9-wd132tma.mjs +0 -1
  861. package/dist/chunks/thinkback-0.6.9-s2hgsb3p.mjs +0 -1
  862. package/dist/chunks/thinkback-play-0.6.9-n9nbpvnr.mjs +0 -1
  863. package/dist/chunks/toolPool-0.6.9-q3tw4r65.mjs +0 -1
  864. package/dist/chunks/toolSearch-0.6.9-d6we1981.mjs +0 -1
  865. package/dist/chunks/tools-0.6.9-a8ce0ts5.mjs +0 -1
  866. package/dist/chunks/trustedDevice-0.6.9-5mvbmmaw.mjs +0 -1
  867. package/dist/chunks/turndown.cjs-0.6.9-spamn9kh.mjs +0 -69
  868. package/dist/chunks/types-0.6.9-9jzm5cwt.mjs +0 -1
  869. package/dist/chunks/ultrareviewCommand-0.6.9-bpefwyej.mjs +0 -4
  870. package/dist/chunks/update-0.6.9-pxbtnmt1.mjs +0 -86
  871. package/dist/chunks/upgrade-0.6.9-1yghety6.mjs +0 -1
  872. package/dist/chunks/upload-0.6.9-g09ng6tg.mjs +0 -7
  873. package/dist/chunks/upstreamproxy-0.6.9-dk2q7qk2.mjs +0 -14
  874. package/dist/chunks/url-handler-napi-0.6.9-rh07p4qq.mjs +0 -1
  875. package/dist/chunks/usage-0.6.9-z5y3f792.mjs +0 -1
  876. package/dist/chunks/util-0.6.9-fzw6284w.mjs +0 -1
  877. package/dist/chunks/utils-0.6.9-0rg7h5a5.mjs +0 -1
  878. package/dist/chunks/vim-0.6.9-pjkbr7kq.mjs +0 -1
  879. package/dist/chunks/watcher-0.6.9-0r6bzvm6.mjs +0 -1
  880. package/dist/chunks/wiki-0.6.9-v7kdrm8t.mjs +0 -132
  881. package/dist/chunks/worktree-0.6.9-ef4xspe2.mjs +0 -1
  882. package/dist/chunks/worktreeModeEnabled-0.6.9-kvm9x26k.mjs +0 -1
  883. package/dist/chunks/wrapper-0.6.9-b63s2yhh.mjs +0 -7
  884. /package/dist/chunks/{cli-0.6.9-bvsdx3f8.mjs → cli-0.6.10-1cr6dzck.mjs} +0 -0
  885. /package/dist/chunks/{cli-0.6.9-r7fnwtpb.mjs → cli-0.6.10-8grbj06a.mjs} +0 -0
  886. /package/dist/chunks/{cli-0.6.9-jj198dy3.mjs → cli-0.6.10-9k81xmw8.mjs} +0 -0
  887. /package/dist/chunks/{cli-0.6.9-kf28v99d.mjs → cli-0.6.10-aywg0dk7.mjs} +0 -0
  888. /package/dist/chunks/{cli-0.6.9-2kd0dsnv.mjs → cli-0.6.10-dhp14pdf.mjs} +0 -0
  889. /package/dist/chunks/{cli-0.6.9-r1m7xdaq.mjs → cli-0.6.10-dn50fre7.mjs} +0 -0
  890. /package/dist/chunks/{cli-0.6.9-yt963aje.mjs → cli-0.6.10-xp9mthnh.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{Opa as M}from"./cli-0.6.10-yr88z6pr.mjs";function P(j){return j.message?.role??j.role}function G(j){return j.message?j.message.content:j.content}function K(j){if(!j||typeof j!=="object")return!1;if(j.type==="image")return!0;if(j.type==="tool_result"&&Array.isArray(j.content))return j.content.some((q)=>K(q));return!1}function Q(j){if(!Array.isArray(j))return!1;return j.some((q)=>K(q))}function U(j){if(!Array.isArray(j)||j.length===0)return!1;return j.every((q)=>{let w=q;return w&&typeof w==="object"&&w.type==="tool_result"})}function V(j){let q=j[j.length-1];if(!q||typeof q!=="object")return"user";if(P(q)!=="user")return"agent";if(U(G(q)))return"agent";return"user"}function W(j){return j.some((q)=>Q(G(q)))}function X(j){let q={"x-initiator":V(j)};if(W(j))q["Copilot-Vision-Request"]="true";return q}function Z(j,q={}){return(w,B)=>{let E=new Headers(B?.headers);for(let[z,F]of Object.entries(q))if(!E.has(z))E.set(z,F);try{if(typeof B?.body==="string"){let z=JSON.parse(B.body);if(Array.isArray(z?.messages))for(let[F,L]of Object.entries(X(z.messages)))E.set(F,L)}}catch{}return j(w,{...B,headers:E})}}var Y=()=>{};
2
+ export{V as b7,W as c7,X as d7,Z as e7,Y as f7};
@@ -0,0 +1,2 @@
1
+ import{Npa as Q,Opa as U}from"./cli-0.6.10-yr88z6pr.mjs";var w={};Q(w,{default:()=>x,createSupportsColor:()=>K});import M from"node:process";import V from"node:os";import O from"node:tty";function z(q,B=globalThis.Deno?globalThis.Deno.args:M.argv){let D=q.startsWith("-")?"":q.length===1?"-":"--",E=B.indexOf(D+q),G=B.indexOf("--");return E!==-1&&(G===-1||E<G)}function X(){if(!("FORCE_COLOR"in j))return;if(j.FORCE_COLOR==="true")return 1;if(j.FORCE_COLOR==="false")return 0;if(j.FORCE_COLOR.length===0)return 1;let q=Math.min(Number.parseInt(j.FORCE_COLOR,10),3);if(![0,1,2,3].includes(q))return;return q}function Z(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function $(q,{streamIsTTY:B,sniffFlags:D=!0}={}){let E=X();if(E!==void 0)H=E;let G=D?H:E;if(G===0)return 0;if(D){if(z("color=16m")||z("color=full")||z("color=truecolor"))return 3;if(z("color=256"))return 2}if("TF_BUILD"in j&&"AGENT_NAME"in j)return 1;if(q&&!B&&G===void 0)return 0;let J=G||0;if(j.TERM==="dumb")return J;if(M.platform==="win32"){let A=V.release().split(".");if(Number(A[0])>=10&&Number(A[2])>=10586)return Number(A[2])>=14931?3:2;return 1}if("CI"in j){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((A)=>(A in j)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((A)=>(A in j))||j.CI_NAME==="codeship")return 1;return J}if("TEAMCITY_VERSION"in j)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(j.TEAMCITY_VERSION)?1:0;if(j.COLORTERM==="truecolor")return 3;if(j.TERM==="xterm-kitty")return 3;if(j.TERM==="xterm-ghostty")return 3;if(j.TERM==="wezterm")return 3;if("TERM_PROGRAM"in j){let A=Number.parseInt((j.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(j.TERM_PROGRAM){case"iTerm.app":return A>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(j.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(j.TERM))return 1;if("COLORTERM"in j)return 1;return J}function K(q,B={}){let D=$(q,{streamIsTTY:q&&q.isTTY,...B});return Z(D)}var j,H,b,x;var L=U(()=>{({env:j}=M);if(z("no-color")||z("no-colors")||z("color=false")||z("color=never"))H=0;else if(z("color")||z("colors")||z("color=true")||z("color=always"))H=1;b={stdout:K({isTTY:O.isatty(1)}),stderr:K({isTTY:O.isatty(2)})},x=b});
2
+ export{K as vpa,w as wpa,L as xpa};
@@ -0,0 +1,2 @@
1
+ import{M7 as Z,Q7 as _,R7 as w}from"./cli-0.6.10-4tqfq3bh.mjs";import{A8 as Y,B8 as U,Kca as j,M8 as $,Z9 as k,mca as W,n9 as T,pca as V,u_ as D}from"./cli-0.6.10-3nht1qk2.mjs";import{Rha as N,Uha as M}from"./cli-0.6.10-zqv22c50.mjs";import{hoa as O,qka as X}from"./cli-0.6.10-seh7emsc.mjs";O();j();M();w();D();U();T();import{realpath as v}from"fs/promises";async function b(){try{let q=await Z();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=$(A)??A,B;try{B=(await v(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function y(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(k));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Y(q);if(!I)return!1;let z=_(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function c(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
2
+ export{b as Jb,y as Kb,P as Lb,d as Mb,c as Nb};
@@ -0,0 +1,2 @@
1
+ import{Jr as I,Mr as X}from"./cli-0.6.10-fh0qe3jw.mjs";import{Gia as W,wia as H}from"./cli-0.6.10-kr2hhxcp.mjs";import{Opa as V}from"./cli-0.6.10-yr88z6pr.mjs";function q(f){J=f}function F(f){z=f}function K(f){N=f}function Q(){return O}function R(f,B){if(O=f,J?.(f,B),f==="requires_action"&&B)G=!0,z?.({pending_action:B});else if(G)G=!1,z?.({pending_action:null});if(f==="idle")z?.({task_summary:null});if(H(process.env.CLAUDE_CODE_EMIT_SESSION_STATE_EVENTS))I({type:"system",subtype:"session_state_changed",state:f})}function _(f){z?.(f)}function j(f){N?.(f)}var J=null,z=null,N=null,G=!1,O="idle";var Y=V(()=>{W();X()});
2
+ export{q as Fc,F as Gc,K as Hc,Q as Ic,R as Jc,_ as Kc,j as Lc,Y as Mc};
@@ -0,0 +1,2 @@
1
+ import{Npa as x,Opa as z}from"./cli-0.6.10-yr88z6pr.mjs";var H={};x(H,{toInfraSessionId:()=>G,toCompatSessionId:()=>F,setCseShimGate:()=>A});function A(j){q=j}function F(j){if(!j.startsWith("cse_"))return j;if(q&&!q())return j;return"session_"+j.slice(4)}function G(j){if(!j.startsWith("session_"))return j;return"cse_"+j.slice(8)}var q;var J=()=>{};
2
+ export{A as D0,F as E0,G as F0,H as G0,J as H0};
@@ -0,0 +1,2 @@
1
+ import{Jf as EG,Kf as iG,Qf as rG}from"./cli-0.6.10-6q9gvpdq.mjs";import{$K as lG,AL as oG,Gm as FG,Hm as OG,IK as LG,Ir as uG,JK as BG,LK as pG,Lm as VG,NK as WG,OK as qG,TK as a,Vm as fG,XK as DG,XL as bG,ZK as y,_K as o,_L as sG,bL as kG,cM as f,dM as s,eM as c,fM as v,gL as _G,gM as i,jM as u,jr as vG,mv as l,nM as cG,nv as jG,ov as HG,pL as aG,pv as dG,rE as KG,sE as mG,zL as $G}from"./cli-0.6.10-fh0qe3jw.mjs";import{FX as QJ}from"./cli-0.6.10-ajjmvx3c.mjs";import{L1 as wG,N1 as PG}from"./cli-0.6.10-gj0a1s24.mjs";import{O1 as YG}from"./cli-0.6.10-w0xpqx8x.mjs";import{kea as R,laa as zG,lea as _,oea as gG,qaa as CG}from"./cli-0.6.10-3nht1qk2.mjs";import{Afa as NG}from"./cli-0.6.10-3kakfn9p.mjs";import{Oga as A,Rga as MG}from"./cli-0.6.10-qhnh10xs.mjs";import{Rha as ZG,Uha as SG,zha as yG}from"./cli-0.6.10-zqv22c50.mjs";import{jia as h,qia as TG}from"./cli-0.6.10-87cpzzxg.mjs";import{hoa as XG,kka as QG}from"./cli-0.6.10-seh7emsc.mjs";import{Kpa as r,Opa as p}from"./cli-0.6.10-yr88z6pr.mjs";var e=p(()=>{yG();NG()});function GG(Z){let z="plugin"in Z?Z.plugin:"no-plugin";return`${Z.type}:${Z.source}:${z}`}function JG(Z,z){if(z.length===0)return;Z((k)=>{let U=new Set(k.plugins.errors.map((j)=>GG(j))),$=z.filter((j)=>!U.has(GG(j)));if($.length===0)return k;return{...k,plugins:{...k.plugins,errors:[...k.plugins.errors,...$]}}})}function GJ(Z,z,k,U){let $=z==="disabled"?U??[]:U;if($===void 0)return Z;let j=new Map;for(let W of $)if(W.name!==void 0)j.set(W.name,W);let V=[],P=new Set;for(let W of Z){if(!W.name?.startsWith(k)){V.push(W);continue}let w=j.get(W.name);if(w)V.push(w),P.add(W.name)}for(let W of $)if(W.name===void 0||!P.has(W.name))V.push(W);return V}function IG(Z,z=!1){let k=HG(),U=l((G)=>G.authVersion),$=l((G)=>G.mcp.pluginReconnectKey),j=jG(),V=D.useRef(new Map),P=D.useRef(new Set),W=D.useRef(null);D.useEffect(()=>{},[j]);let{addNotification:w}=KG(),RG=16,d=D.useRef([]),N=D.useRef(null),C=D.useCallback(()=>{N.current=null;let G=d.current;if(G.length===0)return;d.current=[],j((Y)=>{let F=Y.mcp;for(let B of G){let{tools:X,commands:H,resources:q,...J}=B,K=J.type==="disabled"||J.type==="failed"?H??[]:H,Q=J.type==="disabled"||J.type==="failed"?q??[]:q,O=zG(J.name),I=F.clients.findIndex((M)=>M.name===J.name)===-1?[...F.clients,J]:F.clients.map((M)=>M.name===J.name?J:M),g=GJ(F.tools,J.type,O,X),x=K===void 0?F.commands:[...$G(F.commands,(M)=>kG(M,J.name)),...K],m=Q===void 0?F.resources:{...F.resources,...Q.length>0?{[J.name]:Q}:EG(F.resources,J.name)};F={...F,clients:I,tools:g,commands:x,resources:m}}return{...Y,mcp:F}})},[j]),b=D.useCallback((G)=>{if(d.current.push(G),N.current===null)N.current=setTimeout(C,RG)},[C]),E=D.useCallback(({client:G,tools:Y,commands:F,resources:B})=>{switch(b({...G,tools:Y,commands:F,resources:B}),G.type){case"connected":{if(bG(G.client,G.name,j),G.client.onclose=()=>{let X=G.config.type??"stdio";if(u(G.name,G.config).catch(()=>{ZG(`Failed to invalidate the server cache: ${G.name}`)}),y(G.name)){_(G.name,"Server is disabled, skipping automatic reconnection");return}if(X!=="stdio"&&X!=="sdk"){let H=JJ(X);_(G.name,`${H} transport closed/disconnected, attempting automatic reconnection`);let q=V.current.get(G.name);if(q)clearTimeout(q),V.current.delete(G.name);(async()=>{for(let K=1;K<=T;K++){if(y(G.name)){_(G.name,"Server disabled during reconnection, stopping retry"),V.current.delete(G.name);return}b({...G,type:"pending",reconnectAttempt:K,maxReconnectAttempts:T});let Q=Date.now();try{let L=await v(G.name,G.config),I=Date.now()-Q;if(L.client.type==="connected"){_(G.name,`${H} reconnection successful after ${I}ms (attempt ${K})`),V.current.delete(G.name),E(L);return}if(_(G.name,`${H} reconnection attempt ${K} completed with status: ${L.client.type}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),E(L);return}}catch(L){let I=Date.now()-Q;if(R(G.name,`${H} reconnection attempt ${K} failed after ${I}ms: ${L}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),b({...G,type:"failed"});return}}let O=Math.min(tG*Math.pow(2,K-1),eG);_(G.name,`Scheduling reconnection attempt ${K+1} in ${O}ms`),await new Promise((L)=>{let I=setTimeout(L,O);V.current.set(G.name,I)})}})()}else b({...G,type:"failed"})},!1)switch(X.action){case"register":case"skip":}if(G.capabilities?.tools?.listChanged)G.client.setNotificationHandler(VG,async()=>{_(G.name,"Received tools/list_changed notification, refreshing tools");try{let X=f.cache.get(G.name);f.cache.delete(G.name);let H=await f(G),q=H.length;if(X)X.then((J)=>{A("tengu_mcp_list_changed",{type:"tools",previousCount:J.length,newCount:q})},()=>{A("tengu_mcp_list_changed",{type:"tools",newCount:q})});else A("tengu_mcp_list_changed",{type:"tools",newCount:q});b({...G,tools:H})}catch(X){R(G.name,`Failed to refresh tools after list_changed notification: ${h(X)}`)}});if(G.capabilities?.prompts?.listChanged)G.client.setNotificationHandler(OG,async()=>{_(G.name,"Received prompts/list_changed notification, refreshing prompts"),A("tengu_mcp_list_changed",{type:"prompts"});try{c.cache.delete(G.name);let[X,H]=await Promise.all([c(G),Promise.resolve([])]);b({...G,commands:[...X,...H]}),nG?.()}catch(X){R(G.name,`Failed to refresh prompts after list_changed notification: ${h(X)}`)}});if(G.capabilities?.resources?.listChanged)G.client.setNotificationHandler(FG,async()=>{_(G.name,"Received resources/list_changed notification, refreshing resources"),A("tengu_mcp_list_changed",{type:"resources"});try{s.cache.delete(G.name);{let X=await s(G);b({...G,resources:X})}}catch(X){R(G.name,`Failed to refresh resources after list_changed notification: ${h(X)}`)}});break}case"needs-auth":case"failed":case"pending":case"disabled":break}},[b]),t=QG();D.useEffect(()=>{async function G(){let{servers:Y,errors:F}=z?{servers:{},errors:[]}:await a(Z),B={...Y,...Z};JG(j,F),j((X)=>{let{stale:H,...q}=_G(X.mcp,B);for(let Q of H){let O=V.current.get(Q.name);if(O)clearTimeout(O),V.current.delete(Q.name);if(Q.type==="connected")Q.client.onclose=void 0,u(Q.name,Q.config).catch(()=>{})}let J=new Set(q.clients.map((Q)=>Q.name)),K=Object.entries(B).filter(([Q])=>!J.has(Q)).map(([Q,O])=>({name:Q,type:y(Q)?"disabled":"pending",config:O}));if(K.length===0&&H.length===0)return X;return{...X,mcp:{...X.mcp,...q,clients:[...q.clients,...K]}}})}G().catch((Y)=>{R("useManageMCPConnections",`Failed to initialize servers as pending: ${h(Y)}`)})},[z,Z,j,t,$]),D.useEffect(()=>{let G=!1;async function Y(){let F;if(z||DG())F=Promise.resolve({});else BG(),F=LG();let{servers:B,errors:X}=z?{servers:{},errors:[]}:await a(Z,F);if(G)return;JG(j,X);let H={...B,...Z},q=Object.fromEntries(Object.entries(H).filter(([O])=>!y(O)));i(E,q).catch((O)=>{R("useManageMcpConnections",`Failed to get MCP resources: ${h(O)}`)});let J={};if(!z){if(J=qG(await F).allowed,G)return;if(Object.keys(J).length>0){let{servers:O}=WG(J,H);J=O}if(Object.keys(J).length>0){j((L)=>{let I=new Set(L.mcp.clients.map((x)=>x.name)),g=Object.entries(J).filter(([x])=>!I.has(x)).map(([x,m])=>({name:x,type:y(x)?"disabled":"pending",config:m}));if(g.length===0)return L;return{...L,mcp:{...L.mcp,clients:[...L.mcp.clients,...g]}}});let O=Object.fromEntries(Object.entries(J).filter(([L])=>!y(L)));i(E,O).catch((L)=>{R("useManageMcpConnections",`Failed to get claude.ai MCP resources: ${h(L)}`)})}}let K={...H,...J},Q={enterprise:0,global:0,project:0,user:0,plugin:0,claudeai:0};for(let O of Object.values(K))if(O.scope==="enterprise")Q.enterprise++;else if(O.scope==="user")Q.global++;else if(O.scope==="project")Q.project++;else if(O.scope==="local")Q.user++;else if(O.scope==="dynamic")Q.plugin++;else if(O.scope==="claudeai")Q.claudeai++;A("tengu_mcp_servers",{...Q})}return Y(),()=>{G=!0}},[z,Z,E,j,U,t,$]),D.useEffect(()=>{let G=V.current;return()=>{for(let Y of G.values())clearTimeout(Y);if(G.clear(),N.current!==null)clearTimeout(N.current),N.current=null,C()}},[C]);let AG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((X)=>X.name===G);if(!Y)throw Error(`MCP server ${G} not found`);let F=V.current.get(G);if(F)clearTimeout(F),V.current.delete(G);let B=await v(G,Y.config);return E(B),B},[k,E]),hG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((B)=>B.name===G);if(!Y)throw Error(`MCP server ${G} not found`);if(Y.type!=="disabled"){let B=V.current.get(G);if(B)clearTimeout(B),V.current.delete(G);if(o(G,!1),Y.type==="connected")await u(G,Y.config);b({name:G,type:"disabled",config:Y.config})}else{o(G,!0),b({name:G,type:"pending",config:Y.config});let B=await v(G,Y.config);E(B)}},[k,b,E]);return{reconnectMcpServer:AG,toggleMcpServer:hG}}function JJ(Z){switch(Z){case"http":return"HTTP";case"ws":case"ws-ide":return"WebSocket";default:return"SSE"}}var D,nG=null,T=5,tG=1000,eG=30000;var UG=p(()=>{XG();cG();fG();iG();oG();MG();lG();SG();XG();mG();dG();TG();gG();uG();rG();e();pG();sG();CG();aG();vG();D=r(YG(),1)});function aJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpReconnect must be used within MCPConnectionManager");return Z.reconnectMcpServer}function oJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpToggleEnabled must be used within MCPConnectionManager");return Z.toggleMcpServer}function sJ(Z){let z=xG.c(6),{children:k,dynamicMcpConfig:U,isStrictMcpConfig:$}=Z,{reconnectMcpServer:j,toggleMcpServer:V}=IG(U,$),P;if(z[0]!==j||z[1]!==V)P={reconnectMcpServer:j,toggleMcpServer:V},z[0]=j,z[1]=V,z[2]=P;else P=z[2];let W=P,w;if(z[3]!==k||z[4]!==W)w=wG(n.Provider,{value:W,children:k}),z[3]=k,z[4]=W,z[5]=w;else w=z[5];return w}var xG,S,n;var XJ=p(()=>{UG();PG();xG=r(QJ(),1),S=r(YG(),1),n=S.createContext(null)});
2
+ export{e as Ef,aJ as Ff,oJ as Gf,sJ as Hf,XJ as If};
@@ -0,0 +1,2 @@
1
+ import{Ku as Pq,Ou as cq,qn as T,rn as Cq}from"./cli-0.6.10-fh0qe3jw.mjs";import{gX as Uq,hX as Iq,kX as kq}from"./cli-0.6.10-4pptj4dt.mjs";import{FX as aq,FZ as hq,_Y as L,aZ as O}from"./cli-0.6.10-ajjmvx3c.mjs";import{L1 as J,M1 as Q,N1 as vq}from"./cli-0.6.10-gj0a1s24.mjs";import{D3 as bq,E3 as Mq,X3 as Sq}from"./cli-0.6.10-zyvt1jxy.mjs";import{Kca as Bq,__ as Nq,a$ as fq,p9 as Xq,pca as Rq,q9 as jq}from"./cli-0.6.10-3nht1qk2.mjs";import{Afa as nq}from"./cli-0.6.10-3kakfn9p.mjs";import{Kpa as yq,Opa as Gq}from"./cli-0.6.10-yr88z6pr.mjs";function dq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function eq(Y,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return Y.length>0&&!/^\s/.test(Y)&&!Y.startsWith("\x1B")}var Wq=Gq(()=>{kq();Bq();fq()});function V(Y){return Y.replace(/\+/g," + ")}function LH(Y){let q=Eq.c(99),{dimColor:H,fixedWidth:Dq,gap:x,paddingX:l}=Y,m=T("app:toggleTranscript","Global","ctrl+o"),p;if(q[0]!==m)p=V(m),q[0]=m,q[1]=p;else p=q[1];let d=p,e=T("app:toggleTodos","Global","ctrl+t"),f;if(q[2]!==e)f=V(e),q[2]=e,q[3]=f;else f=q[3];let s=f,i=T("chat:undo","Chat","ctrl+_"),B;if(q[4]!==i)B=V(i),q[4]=i,q[5]=B;else B=q[5];let r=B,$=T("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=V($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=T("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=V(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Hq=T("chat:modelPicker","Chat","alt+p"),n;if(q[10]!==Hq)n=V(Hq),q[10]=Hq,q[11]=n;else n=q[11];let Jq=n,Lq=T("chat:fastMode","Chat","alt+o"),j;if(q[12]!==Lq)j=V(Lq),q[12]=Lq,q[13]=j;else j=q[13];let Oq=j,Qq=T("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Qq)S=V(Qq),q[14]=Qq,q[15]=S;else S=q[15];let Tq=S,Vq=T("app:toggleTerminal","Global","meta+j"),a;if(q[16]!==Vq)a=V(Vq),q[16]=Vq,q[17]=a;else a=q[17];let Fq=a,Yq=T("chat:imagePaste","Chat","ctrl+v"),h;if(q[18]!==Yq)h=V(Yq),q[18]=Yq,q[19]=h;else h=q[19];let Zq=h,gq=V(T("chat:increaseEffort","Chat","shift+right")),_q=V(T("chat:openDiff","Chat","ctrl+g")),pq=V(T("chat:openExplorer","Chat","ctrl+e")),C;if(q[20]!==H||q[21]!==Fq)C=null,q[20]=H,q[21]=Fq,q[22]=C;else C=q[22];let wq=C,zq=Dq?28:void 0,Z;if(q[23]!==H)Z=J(L,{children:J(O,{dimColor:H,children:"! for bash mode"})}),q[23]=H,q[24]=Z;else Z=q[24];let w;if(q[25]!==H)w=J(L,{children:J(O,{dimColor:H,children:"/ for commands"})}),q[25]=H,q[26]=w;else w=q[26];let z;if(q[27]!==H)z=J(L,{children:J(O,{dimColor:H,children:"@ for file paths"})}),q[27]=H,q[28]=z;else z=q[28];let A;if(q[29]!==H)A=J(L,{children:J(O,{dimColor:H,children:"& for background"})}),q[29]=H,q[30]=A;else A=q[30];let D;if(q[31]!==H)D=J(L,{children:J(O,{dimColor:H,children:"/btw for side question"})}),q[31]=H,q[32]=D;else D=q[32];let F;if(q[33]!==zq||q[34]!==Z||q[35]!==w||q[36]!==z||q[37]!==A||q[38]!==D)F=Q(L,{flexDirection:"column",width:zq,children:[Z,w,z,A,D,J(L,{children:Q(O,{dimColor:H,children:[pq," for file explorer"]})}),J(L,{children:Q(O,{dimColor:H,children:[_q," for diff reviewer"]})})]}),q[33]=zq,q[34]=Z,q[35]=w,q[36]=z,q[37]=A,q[38]=D,q[39]=F;else F=q[39];let Aq=Dq?35:void 0,G;if(q[40]!==H)G=J(L,{children:J(O,{dimColor:H,children:"double tap esc to clear input"})}),q[40]=H,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==H)N=J(L,{children:Q(O,{dimColor:H,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=H,q[44]=N;else N=q[44];let R;if(q[45]!==H||q[46]!==d)R=J(L,{children:Q(O,{dimColor:H,children:[d," for verbose output"]})}),q[45]=H,q[46]=d,q[47]=R;else R=q[47];let U;if(q[48]!==H||q[49]!==s)U=J(L,{children:Q(O,{dimColor:H,children:[s," to toggle tasks"]})}),q[48]=H,q[49]=s,q[50]=U;else U=q[50];let c;if(q[51]===Symbol.for("react.memo_cache_sentinel"))c=Kq(),q[51]=c;else c=q[51];let I;if(q[52]!==H)I=J(L,{children:J(O,{dimColor:H,children:c})}),q[52]=H,q[53]=I;else I=q[53];let K;if(q[54]!==Aq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==wq)K=Q(L,{flexDirection:"column",width:Aq,children:[G,N,R,U,wq,I]}),q[54]=Aq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=wq,q[61]=K;else K=q[61];let W;if(q[62]!==H||q[63]!==r)W=J(L,{children:Q(O,{dimColor:H,children:[r," to undo"]})}),q[62]=H,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==H)v=Xq()!=="windows"&&J(L,{children:J(O,{dimColor:H,children:"ctrl + z to suspend"})}),q[65]=H,q[66]=v;else v=q[66];let X;if(q[67]!==H||q[68]!==Zq)X=J(L,{children:Q(O,{dimColor:H,children:[Zq," to paste images"]})}),q[67]=H,q[68]=Zq,q[69]=X;else X=q[69];let b;if(q[70]!==H||q[71]!==Jq)b=J(L,{children:Q(O,{dimColor:H,children:[Jq," to switch model"]})}),q[70]=H,q[71]=Jq,q[72]=b;else b=q[72];let M;if(q[73]!==H||q[74]!==Oq)M=bq()&&Mq()&&J(L,{children:Q(O,{dimColor:H,children:[Oq," to toggle fast mode"]})}),q[73]=H,q[74]=Oq,q[75]=M;else M=q[75];let P;if(q[76]!==H||q[77]!==o)P=J(L,{children:Q(O,{dimColor:H,children:[o," to stash prompt"]})}),q[76]=H,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==H||q[80]!==Tq)E=J(L,{children:Q(O,{dimColor:H,children:[Tq," to edit in $EDITOR"]})}),q[79]=H,q[80]=Tq,q[81]=E;else E=q[81];let g;if(q[82]!==H)g=Pq()&&J(L,{children:J(O,{dimColor:H,children:"/keybindings to customize"})}),q[82]=H,q[83]=g;else g=q[83];let _;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)_=Q(L,{flexDirection:"column",children:[W,v,X,b,J(L,{children:Q(O,{dimColor:H,children:[gq," to change effort"]})}),M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=_;else _=q[92];let u;if(q[93]!==x||q[94]!==l||q[95]!==F||q[96]!==K||q[97]!==_)u=Q(L,{paddingX:l,flexDirection:"row",gap:x,children:[F,K,_]}),q[93]=x,q[94]=l,q[95]=F,q[96]=K,q[97]=_,q[98]=u;else u=q[98];return u}var Eq;var uq=Gq(()=>{hq();jq();cq();Cq();nq();Sq();Wq();vq();Eq=yq(aq(),1)});
2
+ export{dq as rf,eq as sf,Wq as tf,LH as uf,uq as vf};
@@ -0,0 +1,4 @@
1
+ import{Qd as c,Wd as Eq}from"./cli-0.6.10-kcg9xtd4.mjs";import{$J as P,AK as Qq,Ao as s,BJ as Oq,BK as Xq,Bo as Tq,CK as Yq,DK as $q,EK as d,Eo as t,Go as Mq,HK as Dq,Ko as i,Mo as Rq,Qo as A,So as D,To as Aq,UJ as n,Uo as h,Vo as S,Wo as Fq,_J as e,dK as jq,eK as O,fK as qq,hK as I,iK as Gq,oK as Cq,rK as b,sK as Lq,ts as l,us as wq,vK as Hq,wK as Jq,yJ as v,yK as vq,zJ as m,zK as y}from"./cli-0.6.10-fh0qe3jw.mjs";import{Haa as V,Paa as Kq,gea as a,kba as F,mba as L,oea as Bq,zba as _q}from"./cli-0.6.10-3nht1qk2.mjs";import{Dha as p,Hha as Wq}from"./cli-0.6.10-zqv22c50.mjs";import{iia as o,lia as N,qia as Uq}from"./cli-0.6.10-87cpzzxg.mjs";import{hoa as xq,qka as f}from"./cli-0.6.10-seh7emsc.mjs";import{Opa as Zq}from"./cli-0.6.10-yr88z6pr.mjs";import{dirname as Nq,join as u}from"path";function g(q){if(!k.includes(q))throw Error(`Invalid scope "${q}". Must be one of: ${k.join(", ")}`)}function JG(q){return k.includes(q)}function zq(q){return q==="project"||q==="local"?f():void 0}function QG(q){return F("projectSettings")?.enabledPlugins?.[q]===!0}function Vq(q){let H=q.includes("@"),G=["local","project","user"];for(let X of G){let J=F(D(X))?.enabledPlugins;if(!J)continue;for(let Y of Object.keys(J))if(H?Y===q:Y.startsWith(`${q}@`))return{pluginId:Y,scope:X}}return null}function bq(q,H){let{name:G,marketplace:X}=A(q);return H.find((J)=>{if(J.name===q||J.name===G)return!0;if(X&&J.source)return J.name===G&&J.source.includes(`@${X}`);return!1})}function yq(q){let{name:H}=A(q),G=O();if(G.plugins[q]?.length)return{pluginId:q,pluginName:H};let X=Object.keys(G.plugins).find((J)=>{let{name:Y}=A(J);return Y===H&&(G.plugins[J]?.length??0)>0});if(X)return{pluginId:X,pluginName:H};return null}function kq(q){let G=O().plugins[q];if(!G||G.length===0)return{scope:"user"};let X=f(),J=G.find((Z)=>Z.scope==="local"&&Z.projectPath===X);if(J)return{scope:J.scope,projectPath:J.projectPath};let Y=G.find((Z)=>Z.scope==="project"&&Z.projectPath===X);if(Y)return{scope:Y.scope,projectPath:Y.projectPath};let z=G.find((Z)=>Z.scope==="user");if(z)return{scope:z.scope};return{scope:G[0].scope,projectPath:G[0].projectPath}}async function XG(q,H="user"){g(H);let{name:G,marketplace:X}=A(q),J,Y,z;if(X){let $=await P(q);if($)J=$.entry,Y=X,z=$.marketplaceInstallLocation}else{let $=await n();for(let[B,K]of Object.entries($))try{let M=(await e(B)).plugins.find((R)=>R.name===G);if(M){J=M,Y=B,z=K.installLocation;break}}catch(x){a(o(x));continue}}if(!J||!Y){let $=X?`marketplace "${X}"`:"any configured marketplace";return{success:!1,message:`Plugin "${G}" not found in ${$}`}}let Z=J,W=`${Z.name}@${Y}`,Q=await Jq({pluginId:W,entry:Z,scope:H,marketplaceInstallLocation:z});if(!Q.ok)switch(Q.reason){case"local-source-no-location":return{success:!1,message:`Cannot install local plugin "${Q.pluginName}" without marketplace install location`};case"settings-write-failed":return{success:!1,message:`Failed to update settings: ${Q.message}`};case"resolution-failed":return{success:!1,message:Hq(Q.resolution)};case"blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" is blocked by your organization's policy and cannot be installed`};case"dependency-blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" depends on "${Q.blockedDependency}", which is blocked by your organization's policy`}}return{success:!0,message:`Successfully installed plugin: ${W} (scope: ${H})${Q.depNote}`,pluginId:W,pluginName:Z.name,scope:H}}async function YG(q,H="user",G=!0){g(H);let{enabled:X,disabled:J}=await d(),Y=[...X,...J],z=bq(q,Y),Z=D(H),W=F(Z),Q,$;if(z)Q=Object.keys(W?.enabledPlugins??{}).find((U)=>U===q||U===z.name||U.startsWith(`${z.name}@`))??(q.includes("@")?q:z.name),$=z.name;else{let U=yq(q);if(!U)return{success:!1,message:`Plugin "${q}" not found in installed plugins`};Q=U.pluginId,$=U.pluginName}let B=zq(H),x=O().plugins[Q],M=x?.find((U)=>U.scope===H&&U.projectPath===B);if(!M){let{scope:U}=kq(Q);if(U!==H&&x&&x.length>0){if(U==="project")return{success:!1,message:`Plugin "${q}" is enabled at project scope (.claudin/settings.json, shared with your team). To disable just for you: claudin plugin disable ${q} --scope local`};return{success:!1,message:`Plugin "${q}" is installed in ${U} scope, not ${H}. Use --scope ${U} to uninstall.`}}return{success:!1,message:`Plugin "${q}" is not installed in ${H} scope. Use --scope to specify the correct scope.`}}let R=M.installPath,_={...W?.enabledPlugins};_[Q]=void 0,L(Z,{enabledPlugins:_}),v(),qq(Q,H,B);let w=O().plugins[Q],j=!w||w.length===0;if(j&&R)await m(R);if(j){if(t(Q),G)await s(Q)}let C=h(Q,Y),E=S(C);return{success:!0,message:`Successfully uninstalled plugin: ${$} (scope: ${H})${E}`,pluginId:Q,pluginName:$,scope:H,reverseDependents:C.length>0?C:void 0}}async function r(q,H,G){let X=H?"enable":"disable";if(i(q)){let{error:_}=L("userSettings",{enabledPlugins:{...F("userSettings")?.enabledPlugins,[q]:H}});if(_)return{success:!1,message:`Failed to ${X} built-in plugin: ${_.message}`};v();let{name:T}=A(q);return{success:!0,message:`Successfully ${X}d built-in plugin: ${T}`,pluginId:q,pluginName:T,scope:"user"}}if(G)g(G);let J,Y,z=Vq(q);if(G)if(Y=G,z)J=z.pluginId;else if(q.includes("@"))J=q;else return{success:!1,message:`Plugin "${q}" not found in settings. Use plugin@marketplace format.`};else if(z)J=z.pluginId,Y=z.scope;else if(q.includes("@"))J=q,Y="user";else return{success:!1,message:`Plugin "${q}" not found in any editable settings scope. Use plugin@marketplace format.`};if(H&&l(J))return{success:!1,message:`Plugin "${J}" is blocked by your organization's policy and cannot be enabled`};let Z=D(Y),W=F(Z)?.enabledPlugins?.[J],Q={user:0,project:1,local:2},$=G&&z&&Q[G]>Q[z.scope];if(G&&W===void 0&&z&&z.scope!==G&&!$)return{success:!1,message:`Plugin "${q}" is installed at ${z.scope} scope, not ${G}. Use --scope ${z.scope} or omit --scope to auto-detect.`};let B=G&&!$?W===!0:c().has(J);if(H===B)return{success:!1,message:`Plugin "${q}" is already ${H?"enabled":"disabled"}${G?` at ${G} scope`:""}`};let K;if(!H){let{enabled:_,disabled:T}=await d(),w=h(J,[..._,...T]);if(w.length>0)K=w}let{error:x}=L(Z,{enabledPlugins:{...F(Z)?.enabledPlugins,[J]:H}});if(x)return{success:!1,message:`Failed to ${X} plugin: ${x.message}`};v();let{name:M}=A(J),R=S(K);return{success:!0,message:`Successfully ${X}d plugin: ${M} (scope: ${Y})${R}`,pluginId:J,pluginName:M,scope:Y,reverseDependents:K}}async function $G(q,H){return r(q,!0,H)}async function zG(q,H){return r(q,!1,H)}async function ZG(){let q=c();if(q.size===0)return{success:!0,message:"No enabled plugins to disable"};let H=[],G=[];for(let[X]of q){let J=await r(X,!1);if(J.success)H.push(X);else G.push(`${X}: ${J.message}`)}if(G.length>0)return{success:!1,message:`Disabled ${H.length} ${V(H.length,"plugin")}, ${G.length} failed:
2
+ ${G.join(`
3
+ `)}`};return{success:!0,message:`Disabled ${H.length} ${V(H.length,"plugin")}`}}async function xG(q,H){let{name:G,marketplace:X}=A(q),J=X?`${G}@${X}`:q,Y=await P(q);if(!Y)return{success:!1,message:`Plugin "${G}" not found`,pluginId:J,scope:H};let{entry:z,marketplaceInstallLocation:Z}=Y,Q=I().plugins[J];if(!Q||Q.length===0)return{success:!1,message:`Plugin "${G}" is not installed`,pluginId:J,scope:H};let $=zq(H),B=Q.find((K)=>K.scope===H&&K.projectPath===$);if(!B){let K=$?`${H} (${$})`:H;return{success:!1,message:`Plugin "${G}" is not installed at scope ${K}`,pluginId:J,scope:H}}return fq({pluginId:J,pluginName:G,entry:z,marketplaceInstallLocation:Z,installation:B,scope:H,projectPath:$})}async function fq({pluginId:q,pluginName:H,entry:G,marketplaceInstallLocation:X,installation:J,scope:Y,projectPath:z}){let Z=p(),W=J.version,Q,$,B=!1,K;if(typeof G.source!=="string"){let x=await Yq(G.source,{manifest:{name:G.name}});Q=x.path,B=!0,K=x.gitCommitSha,$=await b(q,G.source,x.manifest,x.path,G.version,x.gitCommitSha)}else{let x;try{x=await Z.stat(X)}catch(T){if(N(T))return{success:!1,message:`Marketplace directory not found at ${X}`,pluginId:q,scope:Y};throw T}let M=x.isDirectory()?X:Nq(X);Q=u(M,G.source);try{await Z.stat(Q)}catch(T){if(N(T))return{success:!1,message:`Plugin source not found at ${Q}`,pluginId:q,scope:Y};throw T}let R,_=u(Q,".claude-plugin","plugin.json");try{R=await $q(_,G.name,G.source)}catch{}$=await b(q,G.source,R,Q,G.version)}try{let x=y(q,$),M=Qq(q,$);if(J.version===$||J.installPath===x||J.installPath===M)return{success:!0,message:`${H} is already at the latest version (${$}).`,pluginId:q,newVersion:$,oldVersion:W,alreadyUpToDate:!0,scope:Y};x=await Xq(Q,q,$,G);let _=J.installPath;if(Gq(q,Y,z,x,$,K),_&&_!==x){let j=I();if(!Object.values(j.plugins).some((E)=>E.some((U)=>U.installPath===_)))await m(_)}let T=z?`${Y} (${z})`:Y;return{success:!0,message:`Plugin "${H}" updated from ${W||"unknown"} to ${$} for scope ${T}. Restart to apply changes.`,pluginId:q,newVersion:$,oldVersion:W,scope:Y}}finally{if(B&&Q!==y(q,$))await Z.rm(Q,{recursive:!0,force:!0})}}var k,HG;var hq=Zq(()=>{xq();Rq();Uq();Wq();Bq();Oq();Fq();Cq();jq();Tq();Aq();vq();Dq();Mq();wq();Eq();Lq();_q();Kq();k=["user","project","local"],HG=["user","project","local","managed"]});
4
+ export{k as Dd,HG as Ed,JG as Fd,QG as Gd,kq as Hd,XG as Id,YG as Jd,$G as Kd,zG as Ld,ZG as Md,xG as Nd,hq as Od};
@@ -0,0 +1,39 @@
1
+ import{FP as d,Xx as B,Zx as U,oO as L,pO as w,rP as N}from"./cli-0.6.10-fh0qe3jw.mjs";import{F_ as z,M_ as F,Paa as P}from"./cli-0.6.10-3nht1qk2.mjs";import{Fea as H,Lea as v}from"./cli-0.6.10-5jaxzkj9.mjs";import{Opa as j}from"./cli-0.6.10-yr88z6pr.mjs";async function V(R){let{messages:I,getAppState:O,options:{mainLoopModel:J,tools:Y,agentDefinitions:Z,customSystemPrompt:W,appendSystemPrompt:X}}=R,Q=N(I),{messages:K}=await B(Q),h=O();return L(K,J,async()=>h.toolPermissionContext,Y,Z,void 0,{options:{customSystemPrompt:W,appendSystemPrompt:X}},void 0,Q)}async function g(R,I){let O=await V(I);return{type:"text",value:b(O)}}function b(R){let{categories:I,totalTokens:O,rawMaxTokens:J,percentage:Y,model:Z,memoryFiles:W,mcpTools:X,agents:Q,skills:K}=R,h=`## Context Usage
2
+
3
+ `;h+=`**Model:** ${Z}
4
+ `,h+=`**Tokens:** ${H(O)} / ${H(J)} (${Y}%)
5
+ `,h+=`
6
+ `;let _=I.filter((q)=>q.tokens>0&&q.name!=="Free space"&&q.name!=="Autocompact buffer");if(_.length>0){h+=`### Estimated usage by category
7
+
8
+ `,h+=`| Category | Tokens | Percentage |
9
+ `,h+=`|----------|--------|------------|
10
+ `;for(let G of _){let $=(G.tokens/J*100).toFixed(1);h+=`| ${G.name} | ${H(G.tokens)} | ${$}% |
11
+ `}let q=I.find((G)=>G.name==="Free space");if(q&&q.tokens>0){let G=(q.tokens/J*100).toFixed(1);h+=`| Free space | ${H(q.tokens)} | ${G}% |
12
+ `}let E=I.find((G)=>G.name==="Autocompact buffer");if(E&&E.tokens>0){let G=(E.tokens/J*100).toFixed(1);h+=`| Autocompact buffer | ${H(E.tokens)} | ${G}% |
13
+ `}h+=`
14
+ `}if(X.length>0){h+=`### MCP Tools
15
+
16
+ `,h+=`| Tool | Server | Tokens |
17
+ `,h+=`|------|--------|--------|
18
+ `;for(let q of X)h+=`| ${q.name} | ${q.serverName} | ${H(q.tokens)} |
19
+ `;h+=`
20
+ `}if(Q.length>0){h+=`### Custom Agents
21
+
22
+ `,h+=`| Agent Type | Source | Tokens |
23
+ `,h+=`|------------|--------|--------|
24
+ `;for(let q of Q){let E;switch(q.source){case"projectSettings":E="Project";break;case"userSettings":E="User";break;case"localSettings":E="Local";break;case"flagSettings":E="Flag";break;case"policySettings":E="Policy";break;case"plugin":E="Plugin";break;case"built-in":E="Built-in";break;default:E=String(q.source)}h+=`| ${q.agentType} | ${E} | ${H(q.tokens)} |
25
+ `}h+=`
26
+ `}if(W.length>0){h+=`### Memory Files
27
+
28
+ `,h+=`| Type | Path | Tokens |
29
+ `,h+=`|------|------|--------|
30
+ `;for(let q of W)h+=`| ${q.type} | ${q.path} | ${H(q.tokens)} |
31
+ `;h+=`
32
+ `}if(K&&K.tokens>0&&K.skillFrontmatter.length>0){h+=`### Skills
33
+
34
+ `,h+=`| Skill | Source | Tokens |
35
+ `,h+=`|-------|--------|--------|
36
+ `;for(let q of K.skillFrontmatter)h+=`| ${q.name} | ${z(q.source)} | ${H(q.tokens)} |
37
+ `;h+=`
38
+ `}return h}var A=j(()=>{U();w();v();d();F();P()});
39
+ export{V as ih,g as jh,A as kh};
@@ -0,0 +1,5 @@
1
+ import{lb as U}from"./cli-0.6.10-w6wtb66q.mjs";import{As as b,zs as N}from"./cli-0.6.10-fh0qe3jw.mjs";import{CU as F,FU as d,GU as _,HU as M,MU as I}from"./cli-0.6.10-743jgjs6.mjs";import{G6 as x,H6 as H,M6 as v,w6 as B,z6 as T}from"./cli-0.6.10-tbarj9ac.mjs";import{l8 as Z,n8 as P}from"./cli-0.6.10-3nht1qk2.mjs";import{Oga as O,Rga as D}from"./cli-0.6.10-qhnh10xs.mjs";import{Rha as Y,Uha as A,uha as z,zha as S}from"./cli-0.6.10-zqv22c50.mjs";import{Gia as f,wia as L}from"./cli-0.6.10-kr2hhxcp.mjs";import{cpa as y,upa as i}from"./cli-0.6.10-tgw0ne6b.mjs";import{Ppa as k}from"./cli-0.6.10-yr88z6pr.mjs";i();A();P();d();D();b();A();P();f();T();v();I();S();var C=`{"type":"keep_alive"}
2
+ `,u=1000,h=1000,R=30000,w=600000,p=1e4,m=300000,E=R*2,c=new Set([1002,4001,4003]);class W{ws=null;lastSentId=null;url;state="idle";onData;onCloseCallback;onConnectCallback;headers;sessionId;autoReconnect;isBridge;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;lastReconnectAttemptTime=null;lastActivityTime=0;pingInterval=null;pongReceived=!0;keepAliveInterval=null;messageBuffer;isBunWs=!1;connectStartTime=0;refreshHeaders;constructor(J,K={},Q,X,$){this.url=J,this.headers=K,this.sessionId=Q,this.refreshHeaders=X,this.autoReconnect=$?.autoReconnect??!0,this.isBridge=$?.isBridge??!1,this.messageBuffer=new N(u)}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){Y(`WebSocketTransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Z("error","cli_websocket_connect_failed");return}this.state="reconnecting",this.connectStartTime=Date.now(),Y(`WebSocketTransport: Opening ${this.url.href}`),Z("info","cli_websocket_connect_opening");let J={...this.headers};if(this.lastSentId)J["X-Last-Request-Id"]=this.lastSentId,Y(`WebSocketTransport: Adding X-Last-Request-Id header: ${this.lastSentId}`);if(typeof Bun<"u"){let K=new globalThis.WebSocket(this.url.href,{headers:J,proxy:H(this.url.href),tls:B()||void 0});this.ws=K,this.isBunWs=!0,K.addEventListener("open",this.onBunOpen),K.addEventListener("message",this.onBunMessage),K.addEventListener("error",this.onBunError),K.addEventListener("close",this.onBunClose),K.addEventListener("pong",this.onPong)}else{let{default:K}=await import("./wrapper-0.6.10-3f51d8k0.mjs"),Q=new K(this.url.href,{headers:J,agent:x(this.url.href),...B()});this.ws=Q,this.isBunWs=!1,Q.on("open",this.onNodeOpen),Q.on("message",this.onNodeMessage),Q.on("error",this.onNodeError),Q.on("close",this.onNodeClose),Q.on("pong",this.onPong)}}onBunOpen=()=>{if(this.handleOpenEvent(),this.lastSentId)this.replayBufferedMessages("")};onBunMessage=(J)=>{let K=typeof J.data==="string"?J.data:String(J.data);if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onBunError=()=>{Y("WebSocketTransport: Error",{level:"error"}),Z("error","cli_websocket_connect_error")};onBunClose=(J)=>{let K=J.code===1000||J.code===1001;Y(`WebSocketTransport: Closed: ${J.code}`,K?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J.code)};onNodeOpen=()=>{let J=this.ws;if(this.handleOpenEvent(),!J)return;let Q=J.upgradeReq;if(Q?.headers?.["x-last-request-id"]){let X=Q.headers["x-last-request-id"];this.replayBufferedMessages(X)}};onNodeMessage=(J)=>{let K=J.toString();if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onNodeError=(J)=>{Y(`WebSocketTransport: Error: ${J.message}`,{level:"error"}),Z("error","cli_websocket_connect_error")};onNodeClose=(J,K)=>{let Q=J===1000||J===1001;Y(`WebSocketTransport: Closed: ${J}`,Q?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J)};onPong=()=>{this.pongReceived=!0};handleOpenEvent(){let J=Date.now()-this.connectStartTime;if(Y("WebSocketTransport: Connected"),Z("info","cli_websocket_connect_connected",{duration_ms:J}),this.isBridge&&this.reconnectStartTime!==null)O("tengu_ws_transport_reconnected",{attempts:this.reconnectAttempts,downtimeMs:Date.now()-this.reconnectStartTime});this.reconnectAttempts=0,this.reconnectStartTime=null,this.lastReconnectAttemptTime=null,this.lastActivityTime=Date.now(),this.state="connected",this.onConnectCallback?.(),this.startPingInterval(),this.startKeepaliveInterval(),_(()=>{this.write({type:"keep_alive"})})}sendLine(J){if(!this.ws||this.state!=="connected")return Y("WebSocketTransport: Not connected"),Z("info","cli_websocket_send_not_connected"),!1;try{return this.ws.send(J),this.lastActivityTime=Date.now(),!0}catch(K){return Y(`WebSocketTransport: Failed to send: ${K}`,{level:"error"}),Z("error","cli_websocket_send_error"),this.handleConnectionError(),!1}}removeWsListeners(J){if(this.isBunWs){let K=J;K.removeEventListener("open",this.onBunOpen),K.removeEventListener("message",this.onBunMessage),K.removeEventListener("error",this.onBunError),K.removeEventListener("close",this.onBunClose),K.removeEventListener("pong",this.onPong)}else{let K=J;K.off("open",this.onNodeOpen),K.off("message",this.onNodeMessage),K.off("error",this.onNodeError),K.off("close",this.onNodeClose),K.off("pong",this.onPong)}}doDisconnect(){if(this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.ws)this.removeWsListeners(this.ws),this.ws.close(),this.ws=null}handleConnectionError(J){if(Y(`WebSocketTransport: Disconnected from ${this.url.href}`+(J!=null?` (code ${J})`:"")),Z("info","cli_websocket_disconnected"),this.isBridge)O("tengu_ws_transport_closed",{closeCode:J,msSinceLastActivity:this.lastActivityTime>0?Date.now()-this.lastActivityTime:-1,wasConnected:this.state==="connected",reconnectAttempts:this.reconnectAttempts});if(this.doDisconnect(),this.state==="closing"||this.state==="closed")return;let K=!1;if(J===4003&&this.refreshHeaders){let $=this.refreshHeaders();if($.Authorization!==this.headers.Authorization)Object.assign(this.headers,$),K=!0,Y("WebSocketTransport: 4003 received but headers refreshed, scheduling reconnect"),Z("info","cli_websocket_4003_token_refreshed")}if(J!=null&&c.has(J)&&!K){Y(`WebSocketTransport: Permanent close code ${J}, not reconnecting`,{level:"error"}),Z("error","cli_websocket_permanent_close",{closeCode:J}),this.state="closed",this.onCloseCallback?.(J);return}if(!this.autoReconnect){this.state="closed",this.onCloseCallback?.(J);return}let Q=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=Q;if(this.lastReconnectAttemptTime!==null&&Q-this.lastReconnectAttemptTime>E)Y(`WebSocketTransport: Detected system sleep (${Math.round((Q-this.lastReconnectAttemptTime)/1000)}s gap), resetting reconnection budget`),Z("info","cli_websocket_sleep_detected",{gapMs:Q-this.lastReconnectAttemptTime}),this.reconnectStartTime=Q,this.reconnectAttempts=0;this.lastReconnectAttemptTime=Q;let X=Q-this.reconnectStartTime;if(X<w){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(!K&&this.refreshHeaders){let V=this.refreshHeaders();Object.assign(this.headers,V),Y("WebSocketTransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let $=Math.min(h*Math.pow(2,this.reconnectAttempts-1),R),G=Math.max(0,$+$*0.25*(2*Math.random()-1));if(Y(`WebSocketTransport: Reconnecting in ${Math.round(G)}ms (attempt ${this.reconnectAttempts}, ${Math.round(X/1000)}s elapsed)`),Z("error","cli_websocket_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.isBridge)O("tengu_ws_transport_reconnecting",{attempt:this.reconnectAttempts,elapsedMs:X,delayMs:Math.round(G)});this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},G)}else if(Y(`WebSocketTransport: Reconnection time budget exhausted after ${Math.round(X/1000)}s for ${this.url.href}`,{level:"error"}),Z("error","cli_websocket_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:X}),this.state="closed",this.onCloseCallback)this.onCloseCallback(J)}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.state="closing",this.doDisconnect()}replayBufferedMessages(J){let K=this.messageBuffer.toArray();if(K.length===0)return;let Q=0;if(J){let $=K.findIndex((G)=>("uuid"in G)&&G.uuid===J);if($>=0){Q=$+1;let G=K.slice(Q);if(this.messageBuffer.clear(),this.messageBuffer.addAll(G),G.length===0)this.lastSentId=null;Y(`WebSocketTransport: Evicted ${Q} confirmed messages, ${G.length} remaining`),Z("info","cli_websocket_evicted_confirmed_messages",{evicted:Q,remaining:G.length})}}let X=K.slice(Q);if(X.length===0){Y("WebSocketTransport: No new messages to replay"),Z("info","cli_websocket_no_messages_to_replay");return}Y(`WebSocketTransport: Replaying ${X.length} buffered messages`),Z("info","cli_websocket_messages_to_replay",{count:X.length});for(let $ of X){let G=z($)+`
3
+ `;if(!this.sendLine(G)){this.handleConnectionError();break}}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnConnect(J){this.onConnectCallback=J}setOnClose(J){this.onCloseCallback=J}getStateLabel(){return this.state}async write(J){if("uuid"in J&&typeof J.uuid==="string")this.messageBuffer.add(J),this.lastSentId=J.uuid;let K=z(J)+`
4
+ `;if(this.state!=="connected")return;let Q=this.sessionId?` session=${this.sessionId}`:"",X=this.getControlMessageDetailLabel(J);Y(`WebSocketTransport: Sending message type=${J.type}${Q}${X}`),this.sendLine(K)}getControlMessageDetailLabel(J){if(J.type==="control_request"){let{request_id:K,request:Q}=J,X=Q.subtype==="can_use_tool"?Q.tool_name:"";return` subtype=${Q.subtype} request_id=${K}${X?` tool=${X}`:""}`}if(J.type==="control_response"){let{subtype:K,request_id:Q}=J.response;return` subtype=${K} request_id=${Q}`}return""}startPingInterval(){this.stopPingInterval(),this.pongReceived=!0;let J=Date.now();this.pingInterval=setInterval(()=>{if(this.state==="connected"&&this.ws){let K=Date.now(),Q=K-J;if(J=K,Q>E){Y(`WebSocketTransport: ${Math.round(Q/1000)}s tick gap detected — process was suspended, forcing reconnect`),Z("info","cli_websocket_sleep_detected_on_ping",{gapMs:Q}),this.handleConnectionError();return}if(!this.pongReceived){Y("WebSocketTransport: No pong received, connection appears dead",{level:"error"}),Z("error","cli_websocket_pong_timeout"),this.handleConnectionError();return}this.pongReceived=!1;try{this.ws.ping?.()}catch(X){Y(`WebSocketTransport: Ping failed: ${X}`,{level:"error"}),Z("error","cli_websocket_ping_failed")}}},p)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}startKeepaliveInterval(){if(this.stopKeepaliveInterval(),L(process.env.CLAUDE_CODE_REMOTE))return;this.keepAliveInterval=setInterval(()=>{if(this.state==="connected"&&this.ws)try{this.ws.send(C),this.lastActivityTime=Date.now(),Y("WebSocketTransport: Sent periodic keep_alive data frame")}catch(J){Y(`WebSocketTransport: Periodic keep_alive failed: ${J}`,{level:"error"}),Z("error","cli_websocket_keepalive_failed")}},m)}stopKeepaliveInterval(){if(this.keepAliveInterval)clearInterval(this.keepAliveInterval),this.keepAliveInterval=null}}var g=100,t=15000,l=3000;class n extends W{postUrl;uploader;streamEventBuffer=[];streamEventTimer=null;constructor(J,K={},Q,X,$){super(J,K,Q,X,$);let{maxConsecutiveFailures:G,onBatchDropped:V}=$??{};this.postUrl=r(J),this.uploader=new U({maxBatchSize:500,maxQueueSize:1e5,baseDelayMs:500,maxDelayMs:8000,jitterMs:1000,maxConsecutiveFailures:G,onBatchDropped:(j,q)=>{Z("error","cli_hybrid_batch_dropped_max_failures",{batchSize:j,failures:q}),V?.(j,q)},send:(j)=>this.postOnce(j)}),Y(`HybridTransport: POST URL = ${this.postUrl}`),Z("info","cli_hybrid_transport_initialized")}async write(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>this.flushStreamEvents(),g);return}return await this.uploader.enqueue([...this.takeStreamEvents(),J]),this.uploader.flush()}async writeBatch(J){return await this.uploader.enqueue([...this.takeStreamEvents(),...J]),this.uploader.flush()}get droppedBatchCount(){return this.uploader.droppedBatchCount}flush(){return this.uploader.enqueue(this.takeStreamEvents()),this.uploader.flush()}takeStreamEvents(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;let J=this.streamEventBuffer;return this.streamEventBuffer=[],J}flushStreamEvents(){this.streamEventTimer=null,this.uploader.enqueue(this.takeStreamEvents())}close(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[];let J=this.uploader,K;Promise.race([J.flush(),new Promise((Q)=>{K=setTimeout(Q,l)})]).finally(()=>{clearTimeout(K),J.close()}),super.close()}async postOnce(J){let K=F();if(!K){Y("HybridTransport: No session token available for POST"),Z("warn","cli_hybrid_post_no_token");return}let Q={Authorization:`Bearer ${K}`,"Content-Type":"application/json"},X;try{X=await y.post(this.postUrl,{events:J},{headers:Q,validateStatus:()=>!0,timeout:t})}catch($){throw Y(`HybridTransport: POST error: ${$.message}`),Z("warn","cli_hybrid_post_network_error"),$}if(X.status>=200&&X.status<300){Y(`HybridTransport: POST success count=${J.length}`);return}if(X.status>=400&&X.status<500&&X.status!==429){Y(`HybridTransport: POST returned ${X.status} (permanent), dropping`),Z("warn","cli_hybrid_post_client_error",{status:X.status});return}throw Y(`HybridTransport: POST returned ${X.status} (retryable)`),Z("warn","cli_hybrid_post_retryable_error",{status:X.status}),Error(`POST failed with ${X.status}`)}}function r(J){let K=J.protocol==="wss:"?"https:":"http:",Q=J.pathname;if(Q=Q.replace("/ws/","/session/"),!Q.endsWith("/events"))Q=Q.endsWith("/")?Q+"events":Q+"/events";return`${K}//${J.host}${Q}${J.search}`}
5
+ export{W as _a,n as $a};
@@ -0,0 +1,3 @@
1
+ import{An as l,BB as X,Bn as $f,CB as qf,Fl as Of,RR as Hf,SR as If,Sl as V,Xl as Yf,cH as v,dH as Bf,kQ as r,kl as c,lk as m,mQ as Zf,mk as pf,nF as S,oF as zf,vl as N,yl as d,zl as M}from"./cli-0.6.10-fh0qe3jw.mjs";import{$S as u,aT as Kf}from"./cli-0.6.10-wchnn74m.mjs";import{FX as Jf,FZ as Af,_Y as D,aZ as T}from"./cli-0.6.10-ajjmvx3c.mjs";import{L1 as A,M1 as R,N1 as L}from"./cli-0.6.10-gj0a1s24.mjs";import{O1 as _f}from"./cli-0.6.10-w0xpqx8x.mjs";import{p8 as W,r8 as yf}from"./cli-0.6.10-3nht1qk2.mjs";import{Oga as F,Rga as ff}from"./cli-0.6.10-qhnh10xs.mjs";import{Rha as b,Uha as Gf}from"./cli-0.6.10-zqv22c50.mjs";import{Kpa as g,Lpa as e,Opa as k}from"./cli-0.6.10-yr88z6pr.mjs";function E(){(If(),e(Hf)).saveWorktreeState(null),m()}function a({onDone:J,onCancel:O}){let[Y,y]=$.useState("loading"),[p,H]=$.useState([]),[G,q]=$.useState(0),[Z,_]=$.useState(),f=c();if($.useEffect(()=>{async function z(){let I=[],B=await W("git",["status","--porcelain"]);if(B.stdout)I=B.stdout.split(`
2
+ `).filter((Q)=>Q.trim()!==""),H(I);if(f){let{stdout:Q}=await W("git",["rev-list","--count",`${f.originalHeadCommit}..HEAD`]),w=parseInt(Q.trim())||0;if(q(w),I.length===0&&w===0){y("removing"),M().then(()=>{process.chdir(f.originalCwd),X(f.originalCwd),V.cache.clear?.(),_("Worktree removed (no changes)")}).catch((s)=>{b(`Failed to clean up worktree: ${s}`,{level:"error"}),_("Worktree cleanup failed, exiting anyway")}).finally(()=>{E()}).then(()=>{y("done")});return}else y("asking")}}z()},[f]),$.useEffect(()=>{if(Y==="done")J(Z)},[Y,J,Z]),!f)return J("No active worktree session found",{display:"system"}),null;if(Y==="loading"||Y==="done")return null;async function j(z){if(!f)return;let I=Boolean(f.tmuxSessionName);if(z==="keep"||z==="keep-with-tmux"){y("keeping"),F("tengu_worktree_kept",{commits:G,changed_files:p.length}),await d();try{process.chdir(f.originalCwd),X(f.originalCwd)}finally{E()}if(V.cache.clear?.(),I)_(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}. Reattach to tmux session with: tmux attach -t ${f.tmuxSessionName}`);else _(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}`);y("done")}else if(z==="keep-kill-tmux"){if(y("keeping"),F("tengu_worktree_kept",{commits:G,changed_files:p.length}),f.tmuxSessionName)await N(f.tmuxSessionName);await d();try{process.chdir(f.originalCwd),X(f.originalCwd)}finally{E()}V.cache.clear?.(),_(`Worktree kept at ${f.worktreePath} on branch ${f.worktreeBranch}. Tmux session terminated.`),y("done")}else if(z==="remove"||z==="remove-with-tmux"){if(y("removing"),F("tengu_worktree_removed",{commits:G,changed_files:p.length}),f.tmuxSessionName)await N(f.tmuxSessionName);try{await M(),process.chdir(f.originalCwd),X(f.originalCwd),V.cache.clear?.()}catch(Q){b(`Failed to clean up worktree: ${Q}`,{level:"error"}),_("Worktree cleanup failed, exiting anyway"),y("done");return}finally{E()}let B=I?" Tmux session terminated.":"";if(G>0&&p.length>0)_(`Worktree removed. ${G} ${G===1?"commit":"commits"} and uncommitted changes were discarded.${B}`);else if(G>0)_(`Worktree removed. ${G} ${G===1?"commit":"commits"} on ${f.worktreeBranch} ${G===1?"was":"were"} discarded.${B}`);else if(p.length>0)_(`Worktree removed. Uncommitted changes were discarded.${B}`);else _(`Worktree removed.${B}`);y("done")}}if(Y==="keeping")return R(D,{flexDirection:"row",marginY:1,children:[A(v,{}),A(T,{children:"Keeping worktree…"})]});if(Y==="removing")return R(D,{flexDirection:"row",marginY:1,children:[A(v,{}),A(T,{children:"Removing worktree…"})]});let x=f.worktreeBranch,P=p.length>0,U=G>0,K="";if(P&&U)K=`You have ${p.length} uncommitted ${p.length===1?"file":"files"} and ${G} ${G===1?"commit":"commits"} on ${x}. All will be lost if you remove.`;else if(P)K=`You have ${p.length} uncommitted ${p.length===1?"file":"files"}. These will be lost if you remove the worktree.`;else if(U)K=`You have ${G} ${G===1?"commit":"commits"} on ${x}. The branch will be deleted if you remove the worktree.`;else K="You are working in a worktree. Keep it to continue working there, or remove it to clean up.";function o(){if(O){O();return}j("keep")}let h=P||U?"All changes and commits will be lost.":"Clean up the worktree directory.",C=Boolean(f.tmuxSessionName),t=C?[{label:"Keep worktree and tmux session",value:"keep-with-tmux",description:`Stays at ${f.worktreePath}. Reattach with: tmux attach -t ${f.tmuxSessionName}`},{label:"Keep worktree, kill tmux session",value:"keep-kill-tmux",description:`Keeps worktree at ${f.worktreePath}, terminates tmux session.`},{label:"Remove worktree and tmux session",value:"remove-with-tmux",description:h}]:[{label:"Keep worktree",value:"keep",description:`Stays at ${f.worktreePath}`},{label:"Remove worktree",value:"remove",description:h}];return A(l,{title:"Exiting worktree session",subtitle:K,onCancel:o,children:A(S,{defaultFocusValue:C?"keep-with-tmux":"keep",options:t,onChange:j})})}var $;var i=k(()=>{ff();Gf();Af();yf();Yf();pf();qf();Of();zf();$f();Bf();L();$=g(_f(),1)});function Vf(){return u(Qf)??"Goodbye!"}function wf(J){let O=n.c(5),{showWorktree:Y,onDone:y,onCancel:p}=J,H;if(O[0]!==y)H=async function(Z){y(Z??Vf()),await r(0,"prompt_input_exit")},O[0]=y,O[1]=H;else H=O[1];let G=H;if(Y){let q;if(O[2]!==p||O[3]!==G)q=A(a,{onDone:G,onCancel:p}),O[2]=p,O[3]=G,O[4]=q;else q=O[4];return q}return null}var n,Qf;var Xf=k(()=>{Kf();Zf();i();L();n=g(Jf(),1),Qf=["Goodbye!","See ya!","Bye!","Catch you later!"]});
3
+ export{wf as cc,Xf as dc};
@@ -0,0 +1,2 @@
1
+ import{Nd as j,Od as E}from"./cli-0.6.10-bz35vcq0.mjs";import{Qo as W,SJ as X,To as v,UJ as Y,bK as Z,dK as w,hK as _,jK as $,oK as f}from"./cli-0.6.10-fh0qe3jw.mjs";import{Kca as A,V$ as Q,gaa as T,gea as V,oea as N,yca as S}from"./cli-0.6.10-3nht1qk2.mjs";import{Rha as B,Uha as R}from"./cli-0.6.10-zqv22c50.mjs";import{jia as L,qia as K}from"./cli-0.6.10-87cpzzxg.mjs";import{Opa as y}from"./cli-0.6.10-yr88z6pr.mjs";function d(q){if(J=q,G!==null&&G.length>0)q(G),G=null;return()=>{J=null}}async function C(){let q=await Y(),D=X(),x=new Set;for(let[z,h]of Object.entries(q)){let F=D[z]?.autoUpdate;if(F!==void 0?F:Q(z,h))x.add(z.toLowerCase())}return x}async function M(q,D){let x=!1;for(let{scope:z}of D)try{let h=await j(q,z);if(h.success&&!h.alreadyUpToDate)x=!0,B(`Plugin autoupdate: updated ${q} from ${h.oldVersion} to ${h.newVersion}`);else if(!h.alreadyUpToDate)B(`Plugin autoupdate: failed to update ${q}: ${h.message}`,{level:"warn"})}catch(h){B(`Plugin autoupdate: error updating ${q}: ${L(h)}`,{level:"warn"})}return x?q:null}async function P(q){let D=_(),x=Object.keys(D.plugins);if(x.length===0)return[];return(await Promise.allSettled(x.map(async(h)=>{let{marketplace:F}=W(h);if(!F||!q.has(F.toLowerCase()))return null;let H=D.plugins[h];if(!H||H.length===0)return null;let O=H.filter($);if(O.length===0)return null;return M(h,O)}))).filter((h)=>h.status==="fulfilled"&&h.value!==null).map((h)=>h.value)}async function m(q){return P(q)}function t(){(async()=>{if(S()){B("Plugin autoupdate: skipped (auto-updater disabled)");return}try{let q=await C();if(q.size===0)return;let x=(await Promise.allSettled(Array.from(q).map(async(h)=>{try{await Z(h,void 0,{disableCredentialHelper:!0})}catch(F){B(`Plugin autoupdate: failed to refresh marketplace ${h}: ${L(F)}`,{level:"warn"})}}))).filter((h)=>h.status==="rejected");if(x.length>0)B(`Plugin autoupdate: ${x.length} marketplace refresh(es) failed`,{level:"warn"});B("Plugin autoupdate: checking installed plugins");let z=await m(q);if(z.length>0)if(J)J(z);else G=z}catch(q){V(q)}})()}var J=null,G=null;var U=y(()=>{E();A();R();K();N();f();w();v();T()});
2
+ export{d as jd,P as kd,t as ld,U as md};
@@ -0,0 +1,2 @@
1
+ import{$n as E,Bo as Zq,ao as m,ap as l,bo as Xq,bp as Rq,cp as i,dp as Aq,wo as S}from"./cli-0.6.10-fh0qe3jw.mjs";import{X$ as u,Z$ as g,aaa as h,baa as n,gaa as vq,gea as D,oea as Qq}from"./cli-0.6.10-3nht1qk2.mjs";import{Tfa as d,Vfa as Uq}from"./cli-0.6.10-wnwqatq5.mjs";import{Dha as M,Hha as y,Rha as V,Uha as e,uha as P,vha as v,zha as f}from"./cli-0.6.10-zqv22c50.mjs";import{jia as W,kia as O,lia as C,qia as _}from"./cli-0.6.10-87cpzzxg.mjs";import{cpa as p,upa as qq}from"./cli-0.6.10-tgw0ne6b.mjs";import{Opa as N}from"./cli-0.6.10-yr88z6pr.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(J){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let K=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:K,ref:X}:{source:"git",url:K}}}return{source:"url",url:G}}let x=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||x){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=N(()=>{_();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as Jq}from"fs/promises";import{join as Kq}from"path";function c(){return Kq(S(),xq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==L)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${L})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=S();await M().mkdir(Q);let B=P(Z,null,2);await Jq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){D(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${I}`);let Z=performance.now();try{let q=await p.get(I,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return E("install_counts",I,"success",performance.now()-Z),q.data.plugins}catch(q){throw E("install_counts",I,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),E("install_counts",I,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:L,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return D(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var L=1,xq="install-counts-cache.json",I="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=N(()=>{qq();e();_();y();Qq();f();Xq();Zq()});import{readdir as Iq,readFile as A,stat as wq}from"fs/promises";import*as H from"path";function Eq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function w(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Nq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function j(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(x&&typeof x==="object"){let X=x;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((J,K)=>{if(typeof J==="string")w(J,`commands[${K}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((J,K)=>{if(typeof J==="string")w(J,`agents[${K}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((J,K)=>{if(typeof J==="string")w(J,`skills[${K}]`,q)})}let z=x;if(typeof x==="object"&&x!==null){let X=x,Y=Object.keys(X).filter((J)=>Mq.has(J));if(Y.length>0){let J={...X};for(let K of Y)delete J[K],$.push({path:K,message:`Field '${K}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=J}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(x&&typeof x==="object"){let X=x;if(Array.isArray(X.plugins))X.plugins.forEach((Y,J)=>{if(Y&&typeof Y==="object"&&"source"in Y){let K=Y.source;if(typeof K==="string")w(K,`plugins[${J}].source`,q,Nq(K));if(K&&typeof K==="object"&&"path"in K&&typeof K.path==="string")w(K.path,`plugins[${J}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(x);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((K,U)=>{if(X.plugins.filter((R)=>R.name===K.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${K.name}" found in marketplace`})});let Y=H.dirname(Q),J=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[K,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(J,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${K}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function _q(Z,q,$){let Q=[],B=[],x=q.match(i);if(!x)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=x[1]||"",G;try{G=l(z)}catch(K){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(K)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let K=X.description;if(typeof K!=="string"&&typeof K!=="number"&&typeof K!=="boolean"&&K!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(K)?"array":typeof K}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((K)=>typeof K!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let J=X.shell;if(J!==void 0&&J!==null)if(typeof J!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof J}.`});else{let K=J.trim().toLowerCase();if(K!=="bash"&&K!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${J}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function Lq(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await Iq(Z,{withFileTypes:!0})}catch(B){let x=O(B);if(x==="ENOENT"||x==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let x=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(x,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(x)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,x]of $){let z=await o(x,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(J){if(C(J))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(J)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=_q(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await Lq(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await wq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),x=await k(B);if(x.errors[0]?.code!=="ENOENT")return x;let z=H.join(q,".claude-plugin","plugin.json"),G=await j(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Eq(Z)){case"plugin":return j(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),x=v(B);if(Array.isArray(x.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return j(Z)}}}var Mq;var Dq=N(()=>{Uq();_();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
2
+ export{Fq as bd,r as cd,nq as dd,lq as ed,Oq as fd,QQ as gd,XQ as hd,Dq as id};
@@ -0,0 +1,4 @@
1
+ import{dT as W,eT as P}from"./cli-0.6.10-wchnn74m.mjs";import{Kca as S,R8 as M,S8 as R,__ as A,a$ as y,gea as O,n9 as _,oea as F,q8 as K,r8 as I,vca as B,wca as G}from"./cli-0.6.10-3nht1qk2.mjs";import{$fa as x,_fa as D}from"./cli-0.6.10-4v3edm8v.mjs";import{Goa as $,Hoa as z}from"./cli-0.6.10-4paz5m54.mjs";z();x();S();y();I();_();F();P();var T=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function k(L){return!T.some((U)=>U.test(L))}function d(L,U=20){let H=new Map;for(let V of L)H.set(V,(H.get(V)||0)+1);return Array.from(H.entries()).sort((V,Q)=>Q[1]-V[1]).slice(0,U).map(([V,Q])=>`${Q.toString().padStart(6)} ${V}`).join(`
2
+ `)}function E(L,U){let H=[],V=new Set,Q=new Map;for(let J=1;H.length<U&&J<=U;J++)for(let X of L){if(H.length>=U)break;if(!k(X))continue;let Y=Math.max(X.lastIndexOf("/"),X.lastIndexOf("\\")),Z=Y>=0?X.slice(Y+1):X;if(!Z||V.has(Z))continue;let q=Y>=0?X.slice(0,Y):".";if((Q.get(q)??0)>=J)continue;H.push(Z),V.add(Z),Q.set(q,(Q.get(q)??0)+1)}return H.length>=U?H:[]}async function N(){if(A.platform==="win32")return[];if(!await R())return[];try{let L=await W(),U=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],H=new Map,V=(J)=>{for(let X of J.split(`
3
+ `)){let Y=X.trim();if(Y)H.set(Y,(H.get(Y)??0)+1)}};if(L){let{stdout:J}=await K("git",[...U,`--author=${L}`],{cwd:D()});V(J)}if(H.size<10){let{stdout:J}=await K(M(),U,{cwd:D()});V(J)}let Q=Array.from(H.entries()).sort((J,X)=>X[1]-J[1]).map(([J])=>J);return E(Q,5)}catch(L){return O(L),[]}}var b=604800000;function v(L){let U=B(),H=U.exampleFiles?.length?U.exampleFiles:["<filepath>"],Q=[...["fix lint errors","fix typecheck errors",`how does ${H[0]} work?`,`refactor ${H[Math.floor(H.length/2)]}`,"how do I log an error?",`edit ${H[H.length-1]} to...`,`write a test for ${H[0]}`,"create a util logging.py that..."]];for(let J=Q.length-1;J>0;J--){let X=Math.floor(Math.random()*(J+1));[Q[J],Q[X]]=[Q[X],Q[J]]}return Q.slice(0,L).map((J)=>`Try "${J}"`)}var p=$(()=>{return v(1)[0]??'Try "fix lint errors"'}),c=$((L)=>{return v(L)}),r=$(async()=>{let L=B(),U=Date.now(),H=L.exampleFilesGeneratedAt??0;if(U-H>b)L.exampleFiles=[];if(!L.exampleFiles?.length)N().then((V)=>{if(V.length)G((Q)=>({...Q,exampleFiles:V,exampleFilesGeneratedAt:Date.now()}))})});
4
+ export{d as Aa,E as Ba,p as Ca,c as Da,r as Ea};
@@ -0,0 +1,2 @@
1
+ import{ME as R,NE as E,OE as l,PE as i,QE as c,RE as w,SE as O,WE as y,XE as e}from"./cli-0.6.10-fh0qe3jw.mjs";import{pW as x,qW as s}from"./cli-0.6.10-r261gqbz.mjs";import{FX as n,FZ as K,PY as j,QY as r,_Y as k,aZ as W,uZ as Q}from"./cli-0.6.10-ajjmvx3c.mjs";import{K1 as A,L1 as V,M1 as D,N1 as v}from"./cli-0.6.10-gj0a1s24.mjs";import{O1 as t}from"./cli-0.6.10-w0xpqx8x.mjs";import{Kpa as q,Opa as p}from"./cli-0.6.10-yr88z6pr.mjs";function X1(J){let b=S.c(17),{query:$,placeholder:N,isFocused:Z,isTerminalFocused:H,prefix:g,width:P,cursorOffset:_,borderless:Y}=J,G=N===void 0?"Search…":N,h=g===void 0?"⌕":g,L=Y===void 0?!1:Y,B=_??$.length,m=L?void 0:"round",z=Z?"suggestion":void 0,d=!Z,F=L?0:1,T=!Z,X;if(b[0]!==Z||b[1]!==H||b[2]!==B||b[3]!==G||b[4]!==$)X=Z?V(A,{children:$?H?D(A,{children:[V(W,{children:$.slice(0,B)}),V(W,{inverse:!0,children:B<$.length?$[B]:" "}),B<$.length&&V(W,{children:$.slice(B+1)})]}):V(W,{children:$}):H?D(A,{children:[V(W,{inverse:!0,children:G.charAt(0)}),V(W,{dimColor:!0,children:G.slice(1)})]}):V(W,{dimColor:!0,children:G})}):$?V(W,{children:$}):V(W,{children:G}),b[0]=Z,b[1]=H,b[2]=B,b[3]=G,b[4]=$,b[5]=X;else X=b[5];let M;if(b[6]!==h||b[7]!==T||b[8]!==X)M=D(W,{dimColor:T,children:[h," ",X]}),b[6]=h,b[7]=T,b[8]=X,b[9]=M;else M=b[9];let I;if(b[10]!==M||b[11]!==m||b[12]!==z||b[13]!==d||b[14]!==F||b[15]!==P)I=V(k,{flexShrink:0,borderStyle:m,borderColor:z,borderDimColor:d,paddingX:F,width:P,children:M}),b[10]=M,b[11]=m,b[12]=z,b[13]=d,b[14]=F,b[15]=P,b[16]=I;else I=b[16];return I}var S;var u=p(()=>{K();v();S=q(n(),1)});function d1(J){if(J.ctrl&&(J.key==="k"||J.key==="u"||J.key==="w"))return!0;if(J.meta&&J.key==="backspace")return!0;return!1}function T1(J){return(J.ctrl||J.meta)&&J.key==="y"}function W1({isActive:J,onExit:b,onCancel:$,onExitUp:N,columns:Z,passthroughCtrlKeys:H=[],initialQuery:g="",backspaceExitsOnEmpty:P=!0}){let{columns:_}=x(),Y=Z??_,[G,h]=U.useState(g),[L,B]=U.useState(g.length),m=U.useCallback((d)=>{h(d),B(d.length)},[]),z=(d)=>{if(!J)return;let F=y.fromText(G,Y,L);if(d.ctrl&&H.includes(d.key.toLowerCase()))return;if(!d1(d))l();if(!T1(d))O();if(d.key==="return"||d.key==="down"){d.preventDefault(),b();return}if(d.key==="up"){if(d.preventDefault(),N)N();return}if(d.key==="escape"){if(d.preventDefault(),$)$();else if(G.length>0)h(""),B(0);else b();return}if(d.key==="backspace"){if(d.preventDefault(),d.meta){let{cursor:X,killed:M}=F.deleteWordBefore();R(M,"prepend"),h(X.text),B(X.offset);return}if(G.length===0){if(P)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}if(d.key==="delete"){d.preventDefault();let T=F.del();h(T.text),B(T.offset);return}if(d.key==="left"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.prevWord();B(T.offset);return}if(d.key==="right"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.nextWord();B(T.offset);return}if(d.key==="left"){d.preventDefault();let T=F.left();B(T.offset);return}if(d.key==="right"){d.preventDefault();let T=F.right();B(T.offset);return}if(d.key==="home"){d.preventDefault(),B(0);return}if(d.key==="end"){d.preventDefault(),B(G.length);return}if(d.ctrl){switch(d.preventDefault(),d.key.toLowerCase()){case"a":B(0);return;case"e":B(G.length);return;case"b":B(F.left().offset);return;case"f":B(F.right().offset);return;case"d":{if(G.length===0){($??b)();return}let T=F.del();h(T.text),B(T.offset);return}case"h":{if(G.length===0){if(P)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}case"k":{let{cursor:T,killed:X}=F.deleteToLineEnd();R(X,"append"),h(T.text),B(T.offset);return}case"u":{let{cursor:T,killed:X}=F.deleteToLineStart();R(X,"prepend"),h(T.text),B(T.offset);return}case"w":{let{cursor:T,killed:X}=F.deleteWordBefore();R(X,"prepend"),h(T.text),B(T.offset);return}case"y":{let T=E();if(T.length>0){let X=F.offset,M=F.insert(T);i(X,T.length),h(M.text),B(M.offset)}return}case"g":case"c":if($){$();return}}return}if(d.meta){switch(d.preventDefault(),d.key.toLowerCase()){case"b":B(F.prevWord().offset);return;case"f":B(F.nextWord().offset);return;case"d":{let T=F.deleteWordAfter();h(T.text),B(T.offset);return}case"y":{let T=c();if(T){let{text:X,start:M,length:I}=T,f=G.slice(0,M),a=G.slice(M+I),C=f+X+a,o=M+X.length;w(X.length),h(C),B(o)}return}}return}if(d.key==="tab")return;if(d.key.length>=1&&!b1.has(d.key)){d.preventDefault();let T=F.insert(d.key);h(T.text),B(T.offset)}};return Q((d,F,T)=>{z(new j(T.keypress))},{isActive:J}),{query:G,setQuery:m,cursorOffset:L,handleKeyDown:z}}var U,b1;var B1=p(()=>{r();K();e();s();U=q(t(),1);b1=new Set(["pageup","pagedown","insert","wheelup","wheeldown","mouse","f1","f2","f3","f4","f5","f6","f7","f8","f9","f10","f11","f12"])});
2
+ export{X1 as Zg,u as _g,W1 as $g,B1 as ah};
@@ -0,0 +1,2 @@
1
+ import{of as R,qf as d}from"./cli-0.6.10-4faavn4z.mjs";import{E0 as j,H0 as c}from"./cli-0.6.10-bhj11561.mjs";import{Rha as K,Uha as D}from"./cli-0.6.10-zqv22c50.mjs";import{jia as C,qia as h}from"./cli-0.6.10-87cpzzxg.mjs";import{Opa as I,Ppa as J}from"./cli-0.6.10-yr88z6pr.mjs";async function i({environmentId:X,title:Q,events:q,gitRepoUrl:$,branch:Y,signal:z,baseUrl:G,getAccessToken:L,permissionMode:W}){let{getClaudeAIOAuthTokens:B}=await import("./auth-0.6.10-exndmshh.mjs"),{getOrganizationUUID:Z}=await import("./client-0.6.10-e68bga3q.mjs"),{getOauthConfig:V}=await import("./oauth-0.6.10-rktmj1b2.mjs"),{getOAuthHeaders:P}=await import("./api-0.6.10-2kpxwpf7.mjs"),{parseGitHubRepository:N}=await import("./detectRepository-0.6.10-91bht5eh.mjs"),{getDefaultBranch:_}=await import("./git-0.6.10-ah8x7bvn.mjs"),{getMainLoopModel:M}=await import("./model-0.6.10-9rdwx1ek.mjs"),{default:T}=await import("./index-0.6.10-rm91h20d.mjs"),x=L?.()??B()?.accessToken;if(!x)return K("[bridge] No access token for session creation"),null;let k=await Z();if(!k)return K("[bridge] No org UUID for session creation"),null;let E=null,v=null;if($){let{parseGitRemote:y}=await import("./detectRepository-0.6.10-91bht5eh.mjs"),O=y($);if(O){let{host:A,owner:S,name:f}=O,F=Y||await _()||void 0;E={type:"git_repository",url:`https://${A}/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}else{let A=N($);if(A){let[S,f]=A.split("/");if(S&&f){let F=Y||await _()||void 0;E={type:"git_repository",url:`https://github.com/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}}}}let m={...Q!==void 0&&{title:Q},events:q,session_context:{sources:E?[E]:[],outcomes:v?[v]:[],model:M()},environment_id:X,source:"remote-control",...W&&{permission_mode:W}},U={...P(x),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":k},b=`${G??V().BASE_API_URL}/v1/sessions`,H;try{H=await T.post(b,m,{headers:U,signal:z,validateStatus:(y)=>y<500})}catch(y){return K(`[bridge] Session creation request failed: ${C(y)}`),null}if(!(H.status===200||H.status===201)){let y=R(H.data);return K(`[bridge] Session creation failed with status ${H.status}${y?`: ${y}`:""}`),null}let w=H.data;if(!w||typeof w!=="object"||!("id"in w)||typeof w.id!=="string")return K("[bridge] No session ID in response"),null;return w.id}async function r(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-0.6.10-exndmshh.mjs"),{getOrganizationUUID:$}=await import("./client-0.6.10-e68bga3q.mjs"),{getOauthConfig:Y}=await import("./oauth-0.6.10-rktmj1b2.mjs"),{getOAuthHeaders:z}=await import("./api-0.6.10-2kpxwpf7.mjs"),{default:G}=await import("./index-0.6.10-rm91h20d.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L)return K("[bridge] No access token for session fetch"),null;let W=await $();if(!W)return K("[bridge] No org UUID for session fetch"),null;let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}`,V=1e4;K(`[bridge] Fetching session ${X}`);let P;try{P=await G.get(Z,{headers:B,timeout:V,validateStatus:(N)=>N<500})}catch(N){if(G.isAxiosError(N)){let _=N.response?.status??"no-response",M=N.code??"unknown-code",T=N.config?.url??Z,x=N.config?.method?.toUpperCase()??"GET",k=N.message??C(N),E=N.config?.timeout??V;K(`[bridge] Session fetch request failed: status=${_} code=${M} method=${x} url=${T} timeout=${E} message=${k}`)}else K(`[bridge] Session fetch request failed: url=${Z} timeout=${V} message=${C(N)}`);return null}if(P.status!==200){let N=R(P.data);return K(`[bridge] Session fetch failed with status ${P.status} url=${Z}${N?`: ${N}`:""}`),null}return P.data}async function t(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-0.6.10-exndmshh.mjs"),{getOrganizationUUID:$}=await import("./client-0.6.10-e68bga3q.mjs"),{getOauthConfig:Y}=await import("./oauth-0.6.10-rktmj1b2.mjs"),{getOAuthHeaders:z}=await import("./api-0.6.10-2kpxwpf7.mjs"),{default:G}=await import("./index-0.6.10-rm91h20d.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L){K("[bridge] No access token for session archive");return}let W=await $();if(!W){K("[bridge] No org UUID for session archive");return}let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}/archive`;K(`[bridge] Archiving session ${X}`);let V=await G.post(Z,{},{headers:B,timeout:Q?.timeoutMs??1e4,validateStatus:(P)=>P<500});if(V.status===200)K(`[bridge] Session ${X} archived successfully`);else{let P=R(V.data);K(`[bridge] Session archive failed with status ${V.status}${P?`: ${P}`:""}`)}}async function o(X,Q,q){let{getClaudeAIOAuthTokens:$}=await import("./auth-0.6.10-exndmshh.mjs"),{getOrganizationUUID:Y}=await import("./client-0.6.10-e68bga3q.mjs"),{getOauthConfig:z}=await import("./oauth-0.6.10-rktmj1b2.mjs"),{getOAuthHeaders:G}=await import("./api-0.6.10-2kpxwpf7.mjs"),{default:L}=await import("./index-0.6.10-rm91h20d.mjs"),W=q?.getAccessToken?.()??$()?.accessToken;if(!W){K("[bridge] No access token for session title update");return}let B=await Y();if(!B){K("[bridge] No org UUID for session title update");return}let Z={...G(W),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},V=j(X),P=`${q?.baseUrl??z().BASE_API_URL}/v1/sessions/${V}`;K(`[bridge] Updating session title: ${V} → ${Q}`);try{let N=await L.patch(P,{title:Q},{headers:Z,timeout:1e4,validateStatus:(_)=>_<500});if(N.status===200)K("[bridge] Session title updated successfully");else{let _=R(N.data);K(`[bridge] Session title update failed with status ${N.status}${_?`: ${_}`:""}`)}}catch(N){K(`[bridge] Session title update request failed: ${C(N)}`)}}var p=I(()=>{D();h();d();c()});
2
+ export{i as ff,r as gf,t as hf,o as if,p as jf};
@@ -0,0 +1,2 @@
1
+ import{Xc as z,Yc as K}from"./cli-0.6.10-hf96nx3k.mjs";import{KI as w,MI as J}from"./cli-0.6.10-fh0qe3jw.mjs";import{O1 as H}from"./cli-0.6.10-w0xpqx8x.mjs";import{Kpa as E,Opa as G}from"./cli-0.6.10-yr88z6pr.mjs";function V(q,v,k){return B.useMemo(()=>{let D=w(k,v);return z(q,D,k.mode)},[q,v,k,!1,!1])}var B;var N=G(()=>{J();K();B=E(H(),1)});
2
+ export{V as Tc,N as Uc};
@@ -0,0 +1,2 @@
1
+ import{Mpa as O,Opa as UJ}from"./cli-0.6.10-yr88z6pr.mjs";var N=O((IJ,Oq)=>{var K1=Number.MAX_SAFE_INTEGER||9007199254740991,z1=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Oq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:K1,RELEASE_TYPES:z1,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var S=O((OJ,Hq)=>{var j1=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};Hq.exports=j1});var C=O((L,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:Y1,MAX_LENGTH:U1}=N(),F1=S();L=wq.exports={};var I1=L.re=[],O1=L.safeRe=[],z=L.src=[],H1=L.safeSrc=[],j=L.t={},w1=0,r="[a-zA-Z0-9-]",y1=[["\\s",1],["\\d",U1],[r,Y1]],B1=(q)=>{for(let[$,J]of y1)q=q.split(`${$}*`).join(`${$}{0,${J}}`).split(`${$}+`).join(`${$}{1,${J}}`);return q},w=(q,$,J)=>{let Q=B1($),W=w1++;F1(q,W,$),j[q]=W,z[W]=$,H1[W]=Q,I1[W]=new RegExp($,J?"g":void 0),O1[W]=new RegExp(Q,J?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*");w("NUMERICIDENTIFIERLOOSE","\\d+");w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${r}*`);w("MAINVERSION",`(${z[j.NUMERICIDENTIFIER]})\\.(${z[j.NUMERICIDENTIFIER]})\\.(${z[j.NUMERICIDENTIFIER]})`);w("MAINVERSIONLOOSE",`(${z[j.NUMERICIDENTIFIERLOOSE]})\\.(${z[j.NUMERICIDENTIFIERLOOSE]})\\.(${z[j.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASEIDENTIFIER",`(?:${z[j.NONNUMERICIDENTIFIER]}|${z[j.NUMERICIDENTIFIER]})`);w("PRERELEASEIDENTIFIERLOOSE",`(?:${z[j.NONNUMERICIDENTIFIER]}|${z[j.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASE",`(?:-(${z[j.PRERELEASEIDENTIFIER]}(?:\\.${z[j.PRERELEASEIDENTIFIER]})*))`);w("PRERELEASELOOSE",`(?:-?(${z[j.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${z[j.PRERELEASEIDENTIFIERLOOSE]})*))`);w("BUILDIDENTIFIER",`${r}+`);w("BUILD",`(?:\\+(${z[j.BUILDIDENTIFIER]}(?:\\.${z[j.BUILDIDENTIFIER]})*))`);w("FULLPLAIN",`v?${z[j.MAINVERSION]}${z[j.PRERELEASE]}?${z[j.BUILD]}?`);w("FULL",`^${z[j.FULLPLAIN]}$`);w("LOOSEPLAIN",`[v=\\s]*${z[j.MAINVERSIONLOOSE]}${z[j.PRERELEASELOOSE]}?${z[j.BUILD]}?`);w("LOOSE",`^${z[j.LOOSEPLAIN]}$`);w("GTLT","((?:<|>)?=?)");w("XRANGEIDENTIFIERLOOSE",`${z[j.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);w("XRANGEIDENTIFIER",`${z[j.NUMERICIDENTIFIER]}|x|X|\\*`);w("XRANGEPLAIN",`[v=\\s]*(${z[j.XRANGEIDENTIFIER]})(?:\\.(${z[j.XRANGEIDENTIFIER]})(?:\\.(${z[j.XRANGEIDENTIFIER]})(?:${z[j.PRERELEASE]})?${z[j.BUILD]}?)?)?`);w("XRANGEPLAINLOOSE",`[v=\\s]*(${z[j.XRANGEIDENTIFIERLOOSE]})(?:\\.(${z[j.XRANGEIDENTIFIERLOOSE]})(?:\\.(${z[j.XRANGEIDENTIFIERLOOSE]})(?:${z[j.PRERELEASELOOSE]})?${z[j.BUILD]}?)?)?`);w("XRANGE",`^${z[j.GTLT]}\\s*${z[j.XRANGEPLAIN]}$`);w("XRANGELOOSE",`^${z[j.GTLT]}\\s*${z[j.XRANGEPLAINLOOSE]}$`);w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`);w("COERCE",`${z[j.COERCEPLAIN]}(?:$|[^\\d])`);w("COERCEFULL",z[j.COERCEPLAIN]+`(?:${z[j.PRERELEASE]})?(?:${z[j.BUILD]})?(?:$|[^\\d])`);w("COERCERTL",z[j.COERCE],!0);w("COERCERTLFULL",z[j.COERCEFULL],!0);w("LONETILDE","(?:~>?)");w("TILDETRIM",`(\\s*)${z[j.LONETILDE]}\\s+`,!0);L.tildeTrimReplace="$1~";w("TILDE",`^${z[j.LONETILDE]}${z[j.XRANGEPLAIN]}$`);w("TILDELOOSE",`^${z[j.LONETILDE]}${z[j.XRANGEPLAINLOOSE]}$`);w("LONECARET","(?:\\^)");w("CARETTRIM",`(\\s*)${z[j.LONECARET]}\\s+`,!0);L.caretTrimReplace="$1^";w("CARET",`^${z[j.LONECARET]}${z[j.XRANGEPLAIN]}$`);w("CARETLOOSE",`^${z[j.LONECARET]}${z[j.XRANGEPLAINLOOSE]}$`);w("COMPARATORLOOSE",`^${z[j.GTLT]}\\s*(${z[j.LOOSEPLAIN]})$|^$`);w("COMPARATOR",`^${z[j.GTLT]}\\s*(${z[j.FULLPLAIN]})$|^$`);w("COMPARATORTRIM",`(\\s*)${z[j.GTLT]}\\s*(${z[j.LOOSEPLAIN]}|${z[j.XRANGEPLAIN]})`,!0);L.comparatorTrimReplace="$1$2$3";w("HYPHENRANGE",`^\\s*(${z[j.XRANGEPLAIN]})\\s+-\\s+(${z[j.XRANGEPLAIN]})\\s*$`);w("HYPHENRANGELOOSE",`^\\s*(${z[j.XRANGEPLAINLOOSE]})\\s+-\\s+(${z[j.XRANGEPLAINLOOSE]})\\s*$`);w("STAR","(<|>)?=?\\s*\\*");w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var b=O((HJ,yq)=>{var x1=Object.freeze({loose:!0}),D1=Object.freeze({}),G1=(q)=>{if(!q)return D1;if(typeof q!=="object")return x1;return q};yq.exports=G1});var o=O((wJ,Dq)=>{var Bq=/^[0-9]+$/,xq=(q,$)=>{if(typeof q==="number"&&typeof $==="number")return q===$?0:q<$?-1:1;let J=Bq.test(q),Q=Bq.test($);if(J&&Q)q=+q,$=+$;return q===$?0:J&&!Q?-1:Q&&!J?1:q<$?-1:1},V1=(q,$)=>xq($,q);Dq.exports={compareIdentifiers:xq,rcompareIdentifiers:V1}});var G=O((yJ,Vq)=>{var h=S(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:f}=N(),{safeRe:v,t:d}=C(),P1=b(),{compareIdentifiers:e}=o(),_1=(q,$)=>{let J=$.split(".");if(J.length>q.length)return!1;for(let Q=0;Q<J.length;Q++)if(e(q[Q],J[Q])!==0)return!1;return!0};class A{constructor(q,$){if($=P1($),q instanceof A)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>Gq)throw TypeError(`version is longer than ${Gq} characters`);h("SemVer",q,$),this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease;let J=q.trim().match($.loose?v[d.LOOSE]:v[d.FULL]);if(!J)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+J[1],this.minor=+J[2],this.patch=+J[3],this.major>f||this.major<0)throw TypeError("Invalid major version");if(this.minor>f||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>f||this.patch<0)throw TypeError("Invalid patch version");if(!J[4])this.prerelease=[];else this.prerelease=J[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let W=+Q;if(W>=0&&W<f)return W}return Q});this.build=J[5]?J[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(h("SemVer.compare",this.version,this.options,q),!(q instanceof A)){if(typeof q==="string"&&q===this.version)return 0;q=new A(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof A))q=new A(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof A))q=new A(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let $=0;do{let J=this.prerelease[$],Q=q.prerelease[$];if(h("prerelease compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}compareBuild(q){if(!(q instanceof A))q=new A(q,this.options);let $=0;do{let J=this.build[$],Q=q.build[$];if(h("build compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}inc(q,$,J){if(q.startsWith("pre")){if(!$&&J===!1)throw Error("invalid increment argument: identifier is empty");if($){let Q=`-${$}`.match(this.options.loose?v[d.PRERELEASELOOSE]:v[d.PRERELEASE]);if(!Q||Q[1]!==$)throw Error(`invalid identifier: ${$}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",$,J);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",$,J);break;case"prepatch":this.prerelease.length=0,this.inc("patch",$,J),this.inc("pre",$,J);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",$,J);this.inc("pre",$,J);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number(J)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let W=this.prerelease.length;while(--W>=0)if(typeof this.prerelease[W]==="number")this.prerelease[W]++,W=-2;if(W===-1){if($===this.prerelease.join(".")&&J===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if($){let W=[$,Q];if(J===!1)W=[$];if(_1(this.prerelease,$)){let Z=this.prerelease[$.split(".").length];if(isNaN(Z))this.prerelease=W}else this.prerelease=W}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Vq.exports=A});var E=O((BJ,_q)=>{var Pq=G(),X1=(q,$,J=!1)=>{if(q instanceof Pq)return q;try{return new Pq(q,$)}catch(Q){if(!J)return null;throw Q}};_q.exports=X1});var Aq=O((xJ,Xq)=>{var A1=E(),L1=(q,$)=>{let J=A1(q,$);return J?J.version:null};Xq.exports=L1});var Eq=O((DJ,Lq)=>{var E1=E(),N1=(q,$)=>{let J=E1(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Lq.exports=N1});var Sq=O((GJ,Cq)=>{var Nq=G(),C1=(q,$,J,Q,W)=>{if(typeof J==="string")W=Q,Q=J,J=void 0;try{return new Nq(q instanceof Nq?q.version:q,J).inc($,Q,W).version}catch(Z){return null}};Cq.exports=C1});var uq=O((VJ,kq)=>{var Rq=E(),S1=(q,$)=>{let J=Rq(q,null,!0),Q=Rq($,null,!0),W=J.compare(Q);if(W===0)return null;let Z=W>0,K=Z?J:Q,Y=Z?Q:J,U=!!K.prerelease.length;if(!!Y.prerelease.length&&!U){if(!Y.patch&&!Y.minor)return"major";if(Y.compareMain(K)===0){if(Y.minor&&!Y.patch)return"minor";return"patch"}}let F=U?"pre":"";if(J.major!==Q.major)return F+"major";if(J.minor!==Q.minor)return F+"minor";if(J.patch!==Q.patch)return F+"patch";return"prerelease"};kq.exports=S1});var Mq=O((PJ,Tq)=>{var R1=G(),k1=(q,$)=>new R1(q,$).major;Tq.exports=k1});var hq=O((_J,bq)=>{var u1=G(),T1=(q,$)=>new u1(q,$).minor;bq.exports=T1});var vq=O((XJ,fq)=>{var M1=G(),b1=(q,$)=>new M1(q,$).patch;fq.exports=b1});var lq=O((AJ,dq)=>{var h1=E(),f1=(q,$)=>{let J=h1(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=f1});var _=O((LJ,cq)=>{var gq=G(),v1=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=v1});var pq=O((EJ,mq)=>{var d1=_(),l1=(q,$,J)=>d1($,q,J);mq.exports=l1});var aq=O((NJ,sq)=>{var g1=_(),c1=(q,$)=>g1(q,$,!0);sq.exports=c1});var l=O((CJ,tq)=>{var nq=G(),m1=(q,$,J)=>{let Q=new nq(q,J),W=new nq($,J);return Q.compare(W)||Q.compareBuild(W)};tq.exports=m1});var rq=O((SJ,iq)=>{var p1=l(),s1=(q,$)=>q.sort((J,Q)=>p1(J,Q,$));iq.exports=s1});var eq=O((RJ,oq)=>{var a1=l(),n1=(q,$)=>q.sort((J,Q)=>a1(Q,J,$));oq.exports=n1});var R=O((kJ,q0)=>{var t1=_(),i1=(q,$,J)=>t1(q,$,J)>0;q0.exports=i1});var g=O((uJ,$0)=>{var r1=_(),o1=(q,$,J)=>r1(q,$,J)<0;$0.exports=o1});var qq=O((TJ,J0)=>{var e1=_(),q$=(q,$,J)=>e1(q,$,J)===0;J0.exports=q$});var $q=O((MJ,Q0)=>{var $$=_(),J$=(q,$,J)=>$$(q,$,J)!==0;Q0.exports=J$});var c=O((bJ,W0)=>{var Q$=_(),W$=(q,$,J)=>Q$(q,$,J)>=0;W0.exports=W$});var m=O((hJ,Z0)=>{var Z$=_(),K$=(q,$,J)=>Z$(q,$,J)<=0;Z0.exports=K$});var Jq=O((fJ,K0)=>{var z$=qq(),j$=$q(),Y$=R(),U$=c(),F$=g(),I$=m(),O$=(q,$,J,Q)=>{switch($){case"===":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q===J;case"!==":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q!==J;case"":case"=":case"==":return z$(q,J,Q);case"!=":return j$(q,J,Q);case">":return Y$(q,J,Q);case">=":return U$(q,J,Q);case"<":return F$(q,J,Q);case"<=":return I$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K0.exports=O$});var j0=O((vJ,z0)=>{var H$=G(),w$=E(),{safeRe:p,t:s}=C(),y$=(q,$)=>{if(q instanceof H$)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;$=$||{};let J=null;if(!$.rtl)J=q.match($.includePrerelease?p[s.COERCEFULL]:p[s.COERCE]);else{let U=$.includePrerelease?p[s.COERCERTLFULL]:p[s.COERCERTL],H;while((H=U.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||H.index+H[0].length!==J.index+J[0].length)J=H;U.lastIndex=H.index+H[1].length+H[2].length}U.lastIndex=-1}if(J===null)return null;let Q=J[2],W=J[3]||"0",Z=J[4]||"0",K=$.includePrerelease&&J[5]?`-${J[5]}`:"",Y=$.includePrerelease&&J[6]?`+${J[6]}`:"";return w$(`${Q}.${W}.${Z}${K}${Y}`,$)};z0.exports=y$});var U0=O((dJ,Y0)=>{var B$=E(),x$=N(),D$=G(),G$=(q,$,J)=>{if(!x$.RELEASE_TYPES.includes($))return null;let Q=V$(q,J);return Q&&P$(Q,$)},V$=(q,$)=>{let J=q instanceof D$?q.version:q;return B$(J,$)},P$=(q,$)=>{if(_$($))return q.version;switch(q.prerelease=[],$){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},_$=(q)=>{return q.startsWith("pre")};Y0.exports=G$});var O0=O((lJ,I0)=>{class F0{constructor(){this.max=1000,this.map=new Map}get(q){let $=this.map.get(q);if($===void 0)return;else return this.map.delete(q),this.map.set(q,$),$}delete(q){return this.map.delete(q)}set(q,$){if(!this.delete(q)&&$!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,$)}return this}}I0.exports=F0});var X=O((gJ,B0)=>{var X$=/\s+/g;class k{constructor(q,$){if($=L$($),q instanceof k)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else return new k(q.raw,$);if(q instanceof Qq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=q.trim().replace(X$," "),this.set=this.raw.split("||").map((J)=>this.parseRange(J.trim())).filter((J)=>J.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let J=this.set[0];if(this.set=this.set.filter((Q)=>!w0(Q[0])),this.set.length===0)this.set=[J];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&M$(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let $=this.set[q];for(let J=0;J<$.length;J++){if(J>0)this.formatted+=" ";this.formatted+=$[J].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(T$,"");let J=((this.options.includePrerelease&&k$)|(this.options.loose&&u$))+":"+q,Q=H0.get(J);if(Q)return Q;let W=this.options.loose,Z=W?P[V.HYPHENRANGELOOSE]:P[V.HYPHENRANGE];q=q.replace(Z,s$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(P[V.COMPARATORTRIM],C$),B("comparator trim",q),q=q.replace(P[V.TILDETRIM],S$),B("tilde trim",q),q=q.replace(P[V.CARETTRIM],R$),B("caret trim",q);let K=q.split(" ").map((F)=>b$(F,this.options)).join(" ").split(/\s+/).map((F)=>p$(F,this.options));if(W)K=K.filter((F)=>{return B("loose invalid filter",F,this.options),!!F.match(P[V.COMPARATORLOOSE])});B("range list",K);let Y=new Map,U=K.map((F)=>new Qq(F,this.options));for(let F of U){if(w0(F))return[F];Y.set(F.value,F)}if(Y.size>1&&Y.has(""))Y.delete("");let H=[...Y.values()];return H0.set(J,H),H}intersects(q,$){if(!(q instanceof k))throw TypeError("a Range is required");return this.set.some((J)=>{return y0(J,$)&&q.set.some((Q)=>{return y0(Q,$)&&J.every((W)=>{return Q.every((Z)=>{return W.intersects(Z,$)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new E$(q,this.options)}catch($){return!1}for(let $=0;$<this.set.length;$++)if(a$(this.set[$],q,this.options))return!0;return!1}}B0.exports=k;var A$=O0(),H0=new A$,L$=b(),Qq=u(),B=S(),E$=G(),{safeRe:P,src:N$,t:V,comparatorTrimReplace:C$,tildeTrimReplace:S$,caretTrimReplace:R$}=C(),{FLAG_INCLUDE_PRERELEASE:k$,FLAG_LOOSE:u$}=N(),T$=new RegExp(N$[V.BUILD],"g"),w0=(q)=>q.value==="<0.0.0-0",M$=(q)=>q.value==="",y0=(q,$)=>{let J=!0,Q=q.slice(),W=Q.pop();while(J&&Q.length)J=Q.every((Z)=>{return W.intersects(Z,$)}),W=Q.pop();return J},b$=(q,$)=>{return q=q.replace(P[V.BUILD],""),B("comp",q,$),q=d$(q,$),B("caret",q),q=f$(q,$),B("tildes",q),q=g$(q,$),B("xrange",q),q=m$(q,$),B("stars",q),q},D=(q)=>!q||q.toLowerCase()==="x"||q==="*",h$=(q,$,J)=>D(q)&&!D($)||D($)&&J&&!D(J),f$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>v$(J,$)).join(" ")},v$=(q,$)=>{let J=$.loose?P[V.TILDELOOSE]:P[V.TILDE];return q.replace(J,(Q,W,Z,K,Y)=>{B("tilde",q,Q,W,Z,K,Y);let U;if(D(W))U="";else if(D(Z))U=`>=${W}.0.0 <${+W+1}.0.0-0`;else if(D(K))U=`>=${W}.${Z}.0 <${W}.${+Z+1}.0-0`;else if(Y)B("replaceTilde pr",Y),U=`>=${W}.${Z}.${K}-${Y} <${W}.${+Z+1}.0-0`;else U=`>=${W}.${Z}.${K} <${W}.${+Z+1}.0-0`;return B("tilde return",U),U})},d$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>l$(J,$)).join(" ")},l$=(q,$)=>{B("caret",q,$);let J=$.loose?P[V.CARETLOOSE]:P[V.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(W,Z,K,Y,U)=>{B("caret",q,W,Z,K,Y,U);let H;if(D(Z))H="";else if(D(K))H=`>=${Z}.0.0${Q} <${+Z+1}.0.0-0`;else if(D(Y))if(Z==="0")H=`>=${Z}.${K}.0${Q} <${Z}.${+K+1}.0-0`;else H=`>=${Z}.${K}.0${Q} <${+Z+1}.0.0-0`;else if(U)if(B("replaceCaret pr",U),Z==="0")if(K==="0")H=`>=${Z}.${K}.${Y}-${U} <${Z}.${K}.${+Y+1}-0`;else H=`>=${Z}.${K}.${Y}-${U} <${Z}.${+K+1}.0-0`;else H=`>=${Z}.${K}.${Y}-${U} <${+Z+1}.0.0-0`;else if(B("no pr"),Z==="0")if(K==="0")H=`>=${Z}.${K}.${Y} <${Z}.${K}.${+Y+1}-0`;else H=`>=${Z}.${K}.${Y} <${Z}.${+K+1}.0-0`;else H=`>=${Z}.${K}.${Y} <${+Z+1}.0.0-0`;return B("caret return",H),H})},g$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>c$(J,$)).join(" ")},c$=(q,$)=>{q=q.trim();let J=$.loose?P[V.XRANGELOOSE]:P[V.XRANGE];return q.replace(J,(Q,W,Z,K,Y,U)=>{if(B("xRange",q,Q,W,Z,K,Y,U),h$(Z,K,Y))return q;let H=D(Z),F=H||D(K),y=F||D(Y),x=y;if(W==="="&&x)W="";if(U=$.includePrerelease?"-0":"",H)if(W===">"||W==="<")Q="<0.0.0-0";else Q="*";else if(W&&x){if(F)K=0;if(Y=0,W===">")if(W=">=",F)Z=+Z+1,K=0,Y=0;else K=+K+1,Y=0;else if(W==="<=")if(W="<",F)Z=+Z+1;else K=+K+1;if(W==="<")U="-0";Q=`${W+Z}.${K}.${Y}${U}`}else if(F)Q=`>=${Z}.0.0${U} <${+Z+1}.0.0-0`;else if(y)Q=`>=${Z}.${K}.0${U} <${Z}.${+K+1}.0-0`;return B("xRange return",Q),Q})},m$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(P[V.STAR],"")},p$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(P[$.includePrerelease?V.GTE0PRE:V.GTE0],"")},s$=(q)=>($,J,Q,W,Z,K,Y,U,H,F,y,x)=>{if(D(Q))J="";else if(D(W))J=`>=${Q}.0.0${q?"-0":""}`;else if(D(Z))J=`>=${Q}.${W}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(D(H))U="";else if(D(F))U=`<${+H+1}.0.0-0`;else if(D(y))U=`<${H}.${+F+1}.0-0`;else if(x)U=`<=${H}.${F}.${y}-${x}`;else if(q)U=`<${H}.${F}.${+y+1}-0`;else U=`<=${U}`;return`${J} ${U}`.trim()},a$=(q,$,J)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test($))return!1;if($.prerelease.length&&!J.includePrerelease){for(let Q=0;Q<q.length;Q++){if(B(q[Q].semver),q[Q].semver===Qq.ANY)continue;if(q[Q].semver.prerelease.length>0){let W=q[Q].semver;if(W.major===$.major&&W.minor===$.minor&&W.patch===$.patch)return!0}}return!1}return!0}});var u=O((cJ,_0)=>{var T=Symbol("SemVer ANY");class a{static get ANY(){return T}constructor(q,$){if($=x0($),q instanceof a)if(q.loose===!!$.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Zq("comparator",q,$),this.options=$,this.loose=!!$.loose,this.parse(q),this.semver===T)this.value="";else this.value=this.operator+this.semver.version;Zq("comp",this)}parse(q){let $=this.options.loose?D0[G0.COMPARATORLOOSE]:D0[G0.COMPARATOR],J=q.match($);if(!J)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=J[1]!==void 0?J[1]:"",this.operator==="=")this.operator="";if(!J[2])this.semver=T;else this.semver=new V0(J[2],this.options.loose)}toString(){return this.value}test(q){if(Zq("Comparator.test",q,this.options.loose),this.semver===T||q===T)return!0;if(typeof q==="string")try{q=new V0(q,this.options)}catch($){return!1}return Wq(q,this.operator,this.semver,this.options)}intersects(q,$){if(!(q instanceof a))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new P0(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new P0(this.value,$).test(q.semver)}if($=x0($),$.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!$.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Wq(this.semver,"<",q.semver,$)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Wq(this.semver,">",q.semver,$)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}_0.exports=a;var x0=b(),{safeRe:D0,t:G0}=C(),Wq=Jq(),Zq=S(),V0=G(),P0=X()});var M=O((mJ,X0)=>{var n$=X(),t$=(q,$,J)=>{try{$=new n$($,J)}catch(Q){return!1}return $.test(q)};X0.exports=t$});var L0=O((pJ,A0)=>{var i$=X(),r$=(q,$)=>new i$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));A0.exports=r$});var N0=O((sJ,E0)=>{var o$=G(),e$=X(),q9=(q,$,J)=>{let Q=null,W=null,Z=null;try{Z=new e$($,J)}catch(K){return null}return q.forEach((K)=>{if(Z.test(K)){if(!Q||W.compare(K)===-1)Q=K,W=new o$(Q,J)}}),Q};E0.exports=q9});var S0=O((aJ,C0)=>{var $9=G(),J9=X(),Q9=(q,$,J)=>{let Q=null,W=null,Z=null;try{Z=new J9($,J)}catch(K){return null}return q.forEach((K)=>{if(Z.test(K)){if(!Q||W.compare(K)===1)Q=K,W=new $9(Q,J)}}),Q};C0.exports=Q9});var u0=O((nJ,k0)=>{var Kq=G(),W9=X(),R0=R(),Z9=(q,$)=>{q=new W9(q,$);let J=new Kq("0.0.0");if(q.test(J))return J;if(J=new Kq("0.0.0-0"),q.test(J))return J;J=null;for(let Q=0;Q<q.set.length;++Q){let W=q.set[Q],Z=null;if(W.forEach((K)=>{let Y=new Kq(K.semver.version);switch(K.operator){case">":if(Y.prerelease.length===0)Y.patch++;else Y.prerelease.push(0);Y.raw=Y.format();case"":case">=":if(!Z||R0(Y,Z))Z=Y;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),Z&&(!J||R0(J,Z)))J=Z}if(J&&q.test(J))return J;return null};k0.exports=Z9});var M0=O((tJ,T0)=>{var K9=X(),z9=(q,$)=>{try{return new K9(q,$).range||"*"}catch(J){return null}};T0.exports=z9});var n=O((iJ,v0)=>{var j9=G(),f0=u(),{ANY:Y9}=f0,U9=X(),F9=M(),b0=R(),h0=g(),I9=m(),O9=c(),H9=(q,$,J,Q)=>{q=new j9(q,Q),$=new U9($,Q);let W,Z,K,Y,U;switch(J){case">":W=b0,Z=I9,K=h0,Y=">",U=">=";break;case"<":W=h0,Z=O9,K=b0,Y="<",U="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(F9(q,$,Q))return!1;for(let H=0;H<$.set.length;++H){let F=$.set[H],y=null,x=null;if(F.forEach((I)=>{if(I.semver===Y9)I=new f0(">=0.0.0");if(y=y||I,x=x||I,W(I.semver,y.semver,Q))y=I;else if(K(I.semver,x.semver,Q))x=I}),y.operator===Y||y.operator===U)return!1;if((!x.operator||x.operator===Y)&&Z(q,x.semver))return!1;else if(x.operator===U&&K(q,x.semver))return!1}return!0};v0.exports=H9});var l0=O((rJ,d0)=>{var w9=n(),y9=(q,$,J)=>w9(q,$,">",J);d0.exports=y9});var c0=O((oJ,g0)=>{var B9=n(),x9=(q,$,J)=>B9(q,$,"<",J);g0.exports=x9});var s0=O((eJ,p0)=>{var m0=X(),D9=(q,$,J)=>{return q=new m0(q,J),$=new m0($,J),q.intersects($,J)};p0.exports=D9});var n0=O((qQ,a0)=>{var G9=M(),V9=_();a0.exports=(q,$,J)=>{let Q=[],W=null,Z=null,K=q.sort((F,y)=>V9(F,y,J));for(let F of K)if(G9(F,$,J)){if(Z=F,!W)W=F}else{if(Z)Q.push([W,Z]);Z=null,W=null}if(W)Q.push([W,null]);let Y=[];for(let[F,y]of Q)if(F===y)Y.push(F);else if(!y&&F===K[0])Y.push("*");else if(!y)Y.push(`>=${F}`);else if(F===K[0])Y.push(`<=${y}`);else Y.push(`${F} - ${y}`);let U=Y.join(" || "),H=typeof $.raw==="string"?$.raw:String($);return U.length<H.length?U:$}});var q1=O(($Q,e0)=>{var t0=X(),Yq=u(),{ANY:zq}=Yq,jq=M(),Uq=_(),P9=(q,$,J={})=>{if(q===$)return!0;q=new t0(q,J),$=new t0($,J);let Q=!1;q:for(let W of q.set){for(let Z of $.set){let K=X9(W,Z,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},_9=[new Yq(">=0.0.0-0")],i0=[new Yq(">=0.0.0")],X9=(q,$,J)=>{if(q===$)return!0;if(q.length===1&&q[0].semver===zq)if($.length===1&&$[0].semver===zq)return!0;else if(J.includePrerelease)q=_9;else q=i0;if($.length===1&&$[0].semver===zq)if(J.includePrerelease)return!0;else $=i0;let Q=new Set,W,Z;for(let I of q)if(I.operator===">"||I.operator===">=")W=r0(W,I,J);else if(I.operator==="<"||I.operator==="<=")Z=o0(Z,I,J);else Q.add(I.semver);if(Q.size>1)return null;let K;if(W&&Z){if(K=Uq(W.semver,Z.semver,J),K>0)return null;else if(K===0&&(W.operator!==">="||Z.operator!=="<="))return null}for(let I of Q){if(W&&!jq(I,String(W),J))return null;if(Z&&!jq(I,String(Z),J))return null;for(let Z1 of $)if(!jq(I,String(Z1),J))return!1;return!0}let Y,U,H,F,y=Z&&!J.includePrerelease&&Z.semver.prerelease.length?Z.semver:!1,x=W&&!J.includePrerelease&&W.semver.prerelease.length?W.semver:!1;if(y&&y.prerelease.length===1&&Z.operator==="<"&&y.prerelease[0]===0)y=!1;for(let I of $){if(F=F||I.operator===">"||I.operator===">=",H=H||I.operator==="<"||I.operator==="<=",W){if(x){if(I.semver.prerelease&&I.semver.prerelease.length&&I.semver.major===x.major&&I.semver.minor===x.minor&&I.semver.patch===x.patch)x=!1}if(I.operator===">"||I.operator===">="){if(Y=r0(W,I,J),Y===I&&Y!==W)return!1}else if(W.operator===">="&&!I.test(W.semver))return!1}if(Z){if(y){if(I.semver.prerelease&&I.semver.prerelease.length&&I.semver.major===y.major&&I.semver.minor===y.minor&&I.semver.patch===y.patch)y=!1}if(I.operator==="<"||I.operator==="<="){if(U=o0(Z,I,J),U===I&&U!==Z)return!1}else if(Z.operator==="<="&&!I.test(Z.semver))return!1}if(!I.operator&&(Z||W)&&K!==0)return!1}if(W&&H&&!Z&&K!==0)return!1;if(Z&&F&&!W&&K!==0)return!1;if(x||y)return!1;return!0},r0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q>0?q:Q<0?$:$.operator===">"&&q.operator===">="?$:q},o0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q<0?q:Q>0?$:$.operator==="<"&&q.operator==="<="?$:q};e0.exports=P9});var W1=O((JQ,Q1)=>{var Fq=C(),$1=N(),A9=G(),J1=o(),L9=E(),E9=Aq(),N9=Eq(),C9=Sq(),S9=uq(),R9=Mq(),k9=hq(),u9=vq(),T9=lq(),M9=_(),b9=pq(),h9=aq(),f9=l(),v9=rq(),d9=eq(),l9=R(),g9=g(),c9=qq(),m9=$q(),p9=c(),s9=m(),a9=Jq(),n9=j0(),t9=U0(),i9=u(),r9=X(),o9=M(),e9=L0(),qJ=N0(),$J=S0(),JJ=u0(),QJ=M0(),WJ=n(),ZJ=l0(),KJ=c0(),zJ=s0(),jJ=n0(),YJ=q1();Q1.exports={parse:L9,valid:E9,clean:N9,inc:C9,diff:S9,major:R9,minor:k9,patch:u9,prerelease:T9,compare:M9,rcompare:b9,compareLoose:h9,compareBuild:f9,sort:v9,rsort:d9,gt:l9,lt:g9,eq:c9,neq:m9,gte:p9,lte:s9,cmp:a9,coerce:n9,truncate:t9,Comparator:i9,Range:r9,satisfies:o9,toComparators:e9,maxSatisfying:qJ,minSatisfying:$J,minVersion:JJ,validRange:QJ,outside:WJ,gtr:ZJ,ltr:KJ,intersects:zJ,simplifyRange:jJ,subset:YJ,SemVer:A9,re:Fq.re,src:Fq.src,tokens:Fq.t,SEMVER_SPEC_VERSION:$1.SEMVER_SPEC_VERSION,RELEASE_TYPES:$1.RELEASE_TYPES,compareIdentifiers:J1.compareIdentifiers,rcompareIdentifiers:J1.rcompareIdentifiers}});function t(){if(!Iq)Iq=W1();return Iq}function QQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return t().gt(q,$,{loose:!0})}function WQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return t().gte(q,$,{loose:!0})}function ZQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===-1;return t().lt(q,$,{loose:!0})}function KQ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return t().satisfies(q,$,{loose:!0})}var Iq;var FJ=()=>{};
2
+ export{W1 as x0,QQ as y0,WQ as z0,ZQ as A0,KQ as B0,FJ as C0};
@@ -0,0 +1,2 @@
1
+ import{B8 as k,T8 as Y,n9 as x,x8 as X}from"./cli-0.6.10-3nht1qk2.mjs";import{Lea as $}from"./cli-0.6.10-5jaxzkj9.mjs";import{Opa as Z}from"./cli-0.6.10-yr88z6pr.mjs";import{stat as I}from"fs/promises";import{join as Q,sep as P}from"path";async function H(J){let q=await Y(J);if(!q)return;let K=await X(q),[z,B]=await Promise.all([V(Q(q,"FETCH_HEAD")),K?V(Q(K,"FETCH_HEAD")):Promise.resolve(void 0)]);if(z&&B)return z>B?z:B;return z??B}async function V(J){try{let{mtime:q}=await I(J);return q}catch{return}}var M=Z(()=>{$();k();x()});
2
+ export{H as Hb,M as Ib};
@@ -0,0 +1,2 @@
1
+ import{FX as f}from"./cli-0.6.10-ajjmvx3c.mjs";import{L1 as p,N1 as c}from"./cli-0.6.10-gj0a1s24.mjs";import{O1 as M}from"./cli-0.6.10-w0xpqx8x.mjs";import{Kpa as o}from"./cli-0.6.10-yr88z6pr.mjs";c();var n=o(f(),1),r=o(M(),1),d=r.createContext(void 0);function a(F){let e=n.c(3),{getFpsMetrics:s,children:i}=F,t;if(e[0]!==i||e[1]!==s)t=p(d.Provider,{value:s,children:i}),e[0]=i,e[1]=s,e[2]=t;else t=e[2];return t}function l(){return r.useContext(d)}
2
+ export{a as Qb,l as Rb};
@@ -0,0 +1,2 @@
1
+ import{An as Xf,Bn as Uf,mv as g,nv as Zf,pv as _f}from"./cli-0.6.10-fh0qe3jw.mjs";import{EW as Wf,FW as Tf}from"./cli-0.6.10-r261gqbz.mjs";import{FX as n,FZ as a,LX as s,MX as If,YY as F,ZY as cf,_Y as r,aZ as q,eZ as Vf}from"./cli-0.6.10-ajjmvx3c.mjs";import{K1 as Qf,L1 as H,M1 as X,N1 as T}from"./cli-0.6.10-gj0a1s24.mjs";import{O1 as Rf}from"./cli-0.6.10-w0xpqx8x.mjs";import{D3 as Nf,F3 as b,G3 as _,H3 as Hf,J3 as j,M3 as qf,O3 as zf,W3 as Jf,X3 as hf,a4 as M,d4 as p,e4 as Ef}from"./cli-0.6.10-zyvt1jxy.mjs";import{O6 as i,P6 as yf}from"./cli-0.6.10-x8wy7g7p.mjs";import{Kca as Pf,g$ as w,mba as Gf,pca as l,x$ as Bf,zba as Cf}from"./cli-0.6.10-3nht1qk2.mjs";import{Dea as mf,Lea as Of}from"./cli-0.6.10-5jaxzkj9.mjs";import{Oga as D,Rga as Lf}from"./cli-0.6.10-qhnh10xs.mjs";import{Kpa as x,Opa as o}from"./cli-0.6.10-yr88z6pr.mjs";function e(m){let f=t.c(2),{cooldown:G}=m;if(G){let z;if(f[0]===Symbol.for("react.memo_cache_sentinel"))z=H(q,{color:"promptBorder",dimColor:!0,children:w}),f[0]=z;else z=f[0];return z}let N;if(f[1]===Symbol.for("react.memo_cache_sentinel"))N=H(q,{color:"fastMode",children:w}),f[1]=N;else N=f[1];return N}function U(m=!0,f=!1){if(!m)return w;let G=s(l().theme);if(f)return i.dim(F("promptBorder",G)(w));return F("fastMode",G)(w)}var t;var ff=o(()=>{yf();Bf();a();Pf();If();cf();T();t=x(n(),1)});function S(m,f){if(zf(),Gf("userSettings",{fastMode:m?!0:void 0}),m)f((G)=>{let N=!j(G.mainLoopModel);return{...G,...N?{mainLoopModel:Hf(),mainLoopModelForSession:null}:{},fastMode:!0}});else f((G)=>({...G,fastMode:!1}))}function Df(m){let f=kf.c(30),{onDone:G,unavailableReason:N}=m,z=g(vf),V=g(Af),W=Zf(),[J,wf]=Kf.useState(V??!1),y;if(f[0]===Symbol.for("react.memo_cache_sentinel"))y=qf(),f[0]=y;else y=f[0];let B=y,$=B.status==="cooldown",Q=N!==null,P;if(f[1]===Symbol.for("react.memo_cache_sentinel"))P=p(M(!0)),f[1]=P;else P=f[1];let d=P,I;if(f[2]!==J||f[3]!==Q||f[4]!==z||f[5]!==G||f[6]!==W)I=function(){if(Q)return;if(S(J,W),D("tengu_fast_mode_toggled",{enabled:J,source:"picker"}),J){let v=U(J),rf=!j(z)?` · model set to ${_}`:"";G(`${v} Fast mode ON${rf} · ${d}`)}else W(uf),G("Fast mode OFF")},f[2]=J,f[3]=Q,f[4]=z,f[5]=G,f[6]=W,f[7]=I;else I=f[7];let u=I,c;if(f[8]!==V||f[9]!==Q||f[10]!==G||f[11]!==W)c=function(){if(Q){if(V)S(!1,W);G("Fast mode OFF",{display:"system"});return}let v=V?`${U()} Kept Fast mode ON`:"Kept Fast mode OFF";G(v,{display:"system"})},f[8]=V,f[9]=Q,f[10]=G,f[11]=W,f[12]=c;else c=f[12];let A=c,L;if(f[13]!==Q)L=function(){if(Q)return;wf(jf)},f[13]=Q,f[14]=L;else L=f[14];let Z=L,O;if(f[15]!==u||f[16]!==Z)O={"confirm:yes":u,"confirm:nextField":Z,"confirm:next":Z,"confirm:previous":Z,"confirm:cycleMode":Z,"confirm:toggle":Z},f[15]=u,f[16]=Z,f[17]=O;else O=f[17];let C;if(f[18]===Symbol.for("react.memo_cache_sentinel"))C={context:"Confirmation"},f[18]=C;else C=f[18];Wf(O,C);let h;if(f[19]===Symbol.for("react.memo_cache_sentinel"))h=X(q,{children:[H(e,{cooldown:$})," Fast mode (research preview)"]}),f[19]=h;else h=f[19];let Yf=h,k;if(f[20]!==Q)k=(Y)=>Y.pending?X(q,{children:["Press ",Y.keyName," again to exit"]}):Q?H(q,{children:"Esc to cancel"}):H(q,{children:"Tab to toggle · Enter to confirm · Esc to cancel"}),f[20]=Q,f[21]=k;else k=f[21];let K;if(f[22]!==J||f[23]!==N)K=N?H(r,{marginLeft:2,children:H(q,{color:"error",children:N})}):X(Qf,{children:[H(r,{flexDirection:"column",gap:0,marginLeft:2,children:X(r,{flexDirection:"row",gap:2,children:[H(q,{bold:!0,children:"Fast mode"}),H(q,{color:J?"fastMode":void 0,bold:J,children:J?"ON ":"OFF"}),H(q,{dimColor:!0,children:d})]})}),$&&B.status==="cooldown"&&H(r,{marginLeft:2,children:X(q,{color:"warning",children:[B.reason==="overloaded"?"Fast mode overloaded and is temporarily unavailable":"You've hit your fast limit"," · resets in ",mf(B.resetAt-Date.now(),{hideTrailingZeros:!0})]})})]}),f[22]=J,f[23]=N,f[24]=K;else K=f[24];let E;if(f[25]===Symbol.for("react.memo_cache_sentinel"))E=X(q,{dimColor:!0,children:["Learn more:"," ",H(Vf,{url:"https://code.claude.com/docs/en/fast-mode",children:"https://code.claude.com/docs/en/fast-mode"})]}),f[25]=E;else E=f[25];let R;if(f[26]!==A||f[27]!==K||f[28]!==k)R=X(Xf,{title:Yf,subtitle:`High-speed mode for ${_}. Billed as extra usage at a premium rate. Separate rate limits apply.`,onCancel:A,color:"fastMode",inputGuide:k,children:[K,E]}),f[26]=A,f[27]=K,f[28]=k,f[29]=R;else R=f[29];return R}function jf(m){return!m}function uf(m){return{...m,fastMode:!1}}function Af(m){return m.fastMode}function vf(m){return m.mainLoopModel}async function Ff(m,f,G){let N=b();if(N)return`Fast mode unavailable: ${N}`;let{mainLoopModel:z}=f();if(S(m,G),D("tengu_fast_mode_toggled",{enabled:m,source:"shortcut"}),m){let V=U(!0),W=!j(z)?` · model set to ${_}`:"",J=p(M(!0));return`${V} Fast mode ON${W} · ${J}`}else return"Fast mode OFF"}async function H0(m,f,G){if(!Nf())return null;await Jf();let N=G?.trim().toLowerCase();if(N==="on"||N==="off"){let V=await Ff(N==="on",f.getAppState,f.setAppState);return m(V),null}let z=b();return D("tengu_fast_mode_picker_shown",{unavailable_reason:z??""}),H(Df,{onDone:m,unavailableReason:z})}var kf,Kf;var xf=o(()=>{Uf();ff();a();Tf();Lf();_f();hf();Of();Ef();Cf();T();kf=x(n(),1),Kf=x(Rf(),1)});
2
+ export{U as be,ff as ce,Df as de,H0 as ee,xf as fe};
@@ -0,0 +1,2 @@
1
+ import{DZ as X,FX as f,FZ as k,pZ as W}from"./cli-0.6.10-ajjmvx3c.mjs";import{K1 as V,L1 as J,N1 as K}from"./cli-0.6.10-gj0a1s24.mjs";import{O1 as P}from"./cli-0.6.10-w0xpqx8x.mjs";import{rea as U,sea as O}from"./cli-0.6.10-5jaxzkj9.mjs";import{Kpa as Q,Opa as L}from"./cli-0.6.10-yr88z6pr.mjs";import{PassThrough as C}from"stream";function E(q){let b=Z.c(5),{children:w}=q,{exit:z}=W(),B,H;if(b[0]!==z)B=()=>{let D=setTimeout(z,0);return()=>clearTimeout(D)},H=[z],b[0]=z,b[1]=B,b[2]=H;else B=b[1],H=b[2];y.useLayoutEffect(B,H);let G;if(b[3]!==w)G=J(V,{children:w}),b[3]=w,b[4]=G;else G=b[4];return G}function Y(q){let b=q.indexOf(M);if(b===-1)return q;let w=b+M.length,z=q.indexOf(F,w);if(z===-1)return q;return q.slice(w,z)}function g(q,b){return new Promise(async(w)=>{let z="",B=new C;if(b!==void 0)B.columns=b;B.on("data",(G)=>{z+=G.toString()});let H=await X(J(E,{children:q}),{stdout:B,patchConsole:!1});await Promise.race([H.waitUntilExit(),new Promise((G)=>setTimeout(G,3000))]),await w(Y(z))})}async function N(q,b){let w=await g(q,b);return U(w)}var Z,y,M="\x1B[?2026h",F="\x1B[?2026l";var j=L(()=>{O();k();K();Z=Q(f(),1),y=Q(P(),1)});
2
+ export{g as _d,N as $d,j as ae};