@claudiolabs/claudin 0.7.2 → 0.7.5

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 (905) hide show
  1. package/LICENSE +23 -200
  2. package/README.md +27 -90
  3. package/dist/chunks/AgentTool-0.7.5-xc9zjfz7.mjs +1 -0
  4. package/dist/chunks/App-0.7.5-acjfhz7f.mjs +1 -0
  5. package/dist/chunks/ApproveApiKey-0.7.5-k8xp8shh.mjs +1 -0
  6. package/dist/chunks/AssistantSessionChooser-0.7.5-b586ydqn.mjs +1 -0
  7. package/dist/chunks/AutoModeOptInDialog-0.7.5-4vrmrdr7.mjs +1 -0
  8. package/dist/chunks/BypassPermissionsModeDialog-0.7.5-0dfen1xs.mjs +1 -0
  9. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.5-ngb74vnm.mjs +1 -0
  10. package/dist/chunks/ConsoleOAuthFlow-0.7.5-0kerpb2w.mjs +1 -0
  11. package/dist/chunks/DiffDialog-0.7.5-srnpt7vg.mjs +7 -0
  12. package/dist/chunks/Doctor-0.7.5-4sb6exd1.mjs +1 -0
  13. package/dist/chunks/ExplorerDialog-0.7.5-4epxtpqm.mjs +6 -0
  14. package/dist/chunks/Grove-0.7.5-mq5kyerq.mjs +1 -0
  15. package/dist/chunks/ITermBackend-0.7.5-2gsr5w8r.mjs +1 -0
  16. package/dist/chunks/InvalidConfigDialog-0.7.5-0pyrr9nf.mjs +1 -0
  17. package/dist/chunks/InvalidSettingsDialog-0.7.5-h5by8vz0.mjs +1 -0
  18. package/dist/chunks/MigrationDialog-0.7.5-3w71fa3y.mjs +1 -0
  19. package/dist/chunks/Onboarding-0.7.5-b7vhm3se.mjs +1 -0
  20. package/dist/chunks/ProviderManager-0.7.5-aerbfw66.mjs +1 -0
  21. package/dist/chunks/REPL-0.7.5-vtg3m5vj.mjs +1 -0
  22. package/dist/chunks/ResumeConversation-0.7.5-y1z299bf.mjs +1 -0
  23. package/dist/chunks/SnapshotUpdateDialog-0.7.5-j019aekp.mjs +1 -0
  24. package/dist/chunks/TeleportProgress-0.7.5-svv1q02p.mjs +1 -0
  25. package/dist/chunks/TeleportRepoMismatchDialog-0.7.5-58j0azyf.mjs +1 -0
  26. package/dist/chunks/TeleportResumeWrapper-0.7.5-bc8j445x.mjs +1 -0
  27. package/dist/chunks/TmuxBackend-0.7.5-cjf1ngxx.mjs +9 -0
  28. package/dist/chunks/ToolSearchTool-0.7.5-ebcazye5.mjs +1 -0
  29. package/dist/chunks/TrustDialog-0.7.5-152ydvn7.mjs +1 -0
  30. package/dist/chunks/activeProvider-0.7.5-0kfzwxhb.mjs +1 -0
  31. package/dist/chunks/add-dir-0.7.5-35b90wc9.mjs +1 -0
  32. package/dist/chunks/agentTypes-0.7.5-wrskj5tn.mjs +1 -0
  33. package/dist/chunks/agents-0.7.5-4qcppggm.mjs +110 -0
  34. package/dist/chunks/agents-0.7.5-xq7kprd6.mjs +3 -0
  35. package/dist/chunks/api-0.7.5-fcbv21bw.mjs +1 -0
  36. package/dist/chunks/asciicast-0.7.5-d28172s4.mjs +1 -0
  37. package/dist/chunks/assistant-0.7.5-f95dwf9p.mjs +1 -0
  38. package/dist/chunks/auth-0.7.5-10gj2nsp.mjs +1 -0
  39. package/dist/chunks/auth-0.7.5-gdt0tbr7.mjs +1 -0
  40. package/dist/chunks/autoMode-0.7.5-rh9k8nn2.mjs +48 -0
  41. package/dist/chunks/autoUpdater-0.7.5-tfhznsk1.mjs +1 -0
  42. package/dist/chunks/backgroundHousekeeping-0.7.5-sj02xapc.mjs +1 -0
  43. package/dist/chunks/branch-0.7.5-5j5akkrn.mjs +4 -0
  44. package/dist/chunks/bridge-0.7.5-8y0xqq28.mjs +2 -0
  45. package/dist/chunks/bridgeConfig-0.7.5-nme7hkby.mjs +1 -0
  46. package/dist/chunks/bridgeEnabled-0.7.5-py8rybz2.mjs +1 -0
  47. package/dist/chunks/bridgeMain-0.7.5-5kat8nm9.mjs +88 -0
  48. package/dist/chunks/bridgePointer-0.7.5-5wgvs16s.mjs +1 -0
  49. package/dist/chunks/btw-0.7.5-yawwzr37.mjs +1 -0
  50. package/dist/chunks/buddy-0.7.5-qmp34ccf.mjs +3 -0
  51. package/dist/chunks/cacache-0.7.5-7844wbd2.mjs +1 -0
  52. package/dist/chunks/cache-probe-0.7.5-8jthv18c.mjs +21 -0
  53. package/dist/chunks/cacheStats-0.7.5-77ds68g1.mjs +4 -0
  54. package/dist/chunks/caches-0.7.5-qsf7gskj.mjs +1 -0
  55. package/dist/chunks/claudeDesktop-0.7.5-98s74wma.mjs +1 -0
  56. package/dist/chunks/claudemd-0.7.5-yemjch22.mjs +1 -0
  57. package/dist/chunks/clear-0.7.5-m1tdyhpp.mjs +1 -0
  58. package/dist/chunks/clearTerminal-0.7.5-z4zv01xp.mjs +1 -0
  59. package/dist/chunks/cli-0.7.5-012a6zfk.mjs +2 -0
  60. package/dist/chunks/cli-0.7.5-0bsdv5z9.mjs +2 -0
  61. package/dist/chunks/cli-0.7.5-0wyg5tbv.mjs +2 -0
  62. package/dist/chunks/cli-0.7.5-10stvena.mjs +2 -0
  63. package/dist/chunks/cli-0.7.5-1130jhj6.mjs +5469 -0
  64. package/dist/chunks/cli-0.7.5-137tt9mn.mjs +42 -0
  65. package/dist/chunks/cli-0.7.5-1raty5m9.mjs +2 -0
  66. package/dist/chunks/cli-0.7.5-1s8z73wz.mjs +2 -0
  67. package/dist/chunks/cli-0.7.5-1tw92v7f.mjs +17 -0
  68. package/dist/chunks/cli-0.7.5-1w5f2dfy.mjs +2 -0
  69. package/dist/chunks/cli-0.7.5-1z5n1s3z.mjs +2 -0
  70. package/dist/chunks/cli-0.7.5-20s4s7eq.mjs +2 -0
  71. package/dist/chunks/cli-0.7.5-2czfx8da.mjs +2 -0
  72. package/dist/chunks/cli-0.7.5-2f55fq7s.mjs +2 -0
  73. package/dist/chunks/cli-0.7.5-2kqm2cm6.mjs +3 -0
  74. package/dist/chunks/cli-0.7.5-3e9fty2f.mjs +2 -0
  75. package/dist/chunks/cli-0.7.5-3mhw32x1.mjs +2 -0
  76. package/dist/chunks/cli-0.7.5-40m9mj91.mjs +133 -0
  77. package/dist/chunks/cli-0.7.5-49b2vx6q.mjs +2 -0
  78. package/dist/chunks/cli-0.7.5-49f39qnb.mjs +2 -0
  79. package/dist/chunks/cli-0.7.5-4mvg3dke.mjs +59 -0
  80. package/dist/chunks/cli-0.7.5-4pc187my.mjs +2 -0
  81. package/dist/chunks/cli-0.7.5-4pekv38x.mjs +2 -0
  82. package/dist/chunks/cli-0.7.5-4s3wj4db.mjs +2 -0
  83. package/dist/chunks/cli-0.7.5-510b39kd.mjs +3 -0
  84. package/dist/chunks/cli-0.7.5-529cdx0d.mjs +2 -0
  85. package/dist/chunks/cli-0.7.5-56navtps.mjs +3 -0
  86. package/dist/chunks/cli-0.7.5-57cepgzg.mjs +4 -0
  87. package/dist/chunks/cli-0.7.5-5a315ky8.mjs +17 -0
  88. package/dist/chunks/cli-0.7.5-5nkj9199.mjs +2 -0
  89. package/dist/chunks/cli-0.7.5-5pg00eg2.mjs +15 -0
  90. package/dist/chunks/cli-0.7.5-5pxnxmzj.mjs +2 -0
  91. package/dist/chunks/cli-0.7.5-5r8ygwxv.mjs +3 -0
  92. package/dist/chunks/cli-0.7.5-5w2rj0hg.mjs +3 -0
  93. package/dist/chunks/cli-0.7.5-5z67f2be.mjs +18 -0
  94. package/dist/chunks/cli-0.7.5-60age1v3.mjs +3 -0
  95. package/dist/chunks/cli-0.7.5-614rpqd6.mjs +2 -0
  96. package/dist/chunks/cli-0.7.5-6g85h6sa.mjs +34 -0
  97. package/dist/chunks/cli-0.7.5-6mf5dxyw.mjs +2 -0
  98. package/dist/chunks/cli-0.7.5-6mmfvszc.mjs +2 -0
  99. package/dist/chunks/cli-0.7.5-6s7zhdt4.mjs +2 -0
  100. package/dist/chunks/cli-0.7.5-6v0bgn02.mjs +2 -0
  101. package/dist/chunks/cli-0.7.5-6wvc1yjw.mjs +2 -0
  102. package/dist/chunks/cli-0.7.5-7bd3ngaj.mjs +2 -0
  103. package/dist/chunks/cli-0.7.5-7ezb8apr.mjs +2 -0
  104. package/dist/chunks/cli-0.7.5-7gkjs4wv.mjs +2 -0
  105. package/dist/chunks/cli-0.7.5-7h3tq3wc.mjs +6 -0
  106. package/dist/chunks/cli-0.7.5-7zd2bp43.mjs +45 -0
  107. package/dist/chunks/cli-0.7.5-80je81v4.mjs +2 -0
  108. package/dist/chunks/cli-0.7.5-81aasr9m.mjs +2 -0
  109. package/dist/chunks/cli-0.7.5-84ksc40j.mjs +25 -0
  110. package/dist/chunks/cli-0.7.5-85hyf5qe.mjs +15 -0
  111. package/dist/chunks/cli-0.7.5-88bh6s1x.mjs +2 -0
  112. package/dist/chunks/cli-0.7.5-90k5jpxh.mjs +2 -0
  113. package/dist/chunks/cli-0.7.5-92scwwjf.mjs +24 -0
  114. package/dist/chunks/cli-0.7.5-975by9n8.mjs +3 -0
  115. package/dist/chunks/cli-0.7.5-987zbyps.mjs +2 -0
  116. package/dist/chunks/cli-0.7.5-99wdc670.mjs +24 -0
  117. package/dist/chunks/cli-0.7.5-9na53kvh.mjs +2 -0
  118. package/dist/chunks/cli-0.7.5-9pd9feb4.mjs +5 -0
  119. package/dist/chunks/cli-0.7.5-9v3pjabj.mjs +133 -0
  120. package/dist/chunks/cli-0.7.5-9y8fgxfa.mjs +2 -0
  121. package/dist/chunks/cli-0.7.5-a36ctp71.mjs +6 -0
  122. package/dist/chunks/cli-0.7.5-acfkszsn.mjs +8 -0
  123. package/dist/chunks/cli-0.7.5-akxpdesn.mjs +2 -0
  124. package/dist/chunks/cli-0.7.5-aphrc23w.mjs +2 -0
  125. package/dist/chunks/cli-0.7.5-apycan2y.mjs +2 -0
  126. package/dist/chunks/cli-0.7.5-aq0c8awk.mjs +2 -0
  127. package/dist/chunks/cli-0.7.5-atzfkz67.mjs +2 -0
  128. package/dist/chunks/cli-0.7.5-az0dwafe.mjs +2 -0
  129. package/dist/chunks/cli-0.7.5-b8wc44ze.mjs +2 -0
  130. package/dist/chunks/cli-0.7.5-ba83wc9t.mjs +2 -0
  131. package/dist/chunks/cli-0.7.5-be0fn3rp.mjs +2 -0
  132. package/dist/chunks/cli-0.7.5-bkep7yw1.mjs +2 -0
  133. package/dist/chunks/cli-0.7.5-bzrmp2wf.mjs +2 -0
  134. package/dist/chunks/cli-0.7.5-c0qhtrbh.mjs +2 -0
  135. package/dist/chunks/cli-0.7.5-c3w496ap.mjs +3 -0
  136. package/dist/chunks/cli-0.7.5-c6xa3se4.mjs +2 -0
  137. package/dist/chunks/cli-0.7.5-ca0xearm.mjs +2 -0
  138. package/dist/chunks/cli-0.7.5-cbkmf04v.mjs +2 -0
  139. package/dist/chunks/cli-0.7.5-cd6cs7q9.mjs +2 -0
  140. package/dist/chunks/cli-0.7.5-crbzqw8b.mjs +20 -0
  141. package/dist/chunks/cli-0.7.5-d8kenjfw.mjs +2 -0
  142. package/dist/chunks/cli-0.7.5-dc34hzge.mjs +12 -0
  143. package/dist/chunks/cli-0.7.5-ddpksb1g.mjs +2 -0
  144. package/dist/chunks/cli-0.7.5-dp4tresm.mjs +2 -0
  145. package/dist/chunks/cli-0.7.5-dx6zs9qf.mjs +2 -0
  146. package/dist/chunks/cli-0.7.5-dzyyype0.mjs +2 -0
  147. package/dist/chunks/cli-0.7.5-e7mb7d0a.mjs +10 -0
  148. package/dist/chunks/cli-0.7.5-e8m1fhax.mjs +2 -0
  149. package/dist/chunks/cli-0.7.5-eeb6rjs0.mjs +2 -0
  150. package/dist/chunks/cli-0.7.5-ek1sq6b5.mjs +2 -0
  151. package/dist/chunks/cli-0.7.5-f5jj9gaq.mjs +2 -0
  152. package/dist/chunks/cli-0.7.5-f8j1xqbv.mjs +2 -0
  153. package/dist/chunks/cli-0.7.5-f9jr5v5w.mjs +5 -0
  154. package/dist/chunks/cli-0.7.5-f9v35634.mjs +2 -0
  155. package/dist/chunks/cli-0.7.5-fjd3yr3y.mjs +2 -0
  156. package/dist/chunks/cli-0.7.5-fsr31z4k.mjs +12 -0
  157. package/dist/chunks/cli-0.7.5-ftngeevg.mjs +2 -0
  158. package/dist/chunks/cli-0.7.5-fzamc565.mjs +3 -0
  159. package/dist/chunks/cli-0.7.5-fzktcx0s.mjs +4 -0
  160. package/dist/chunks/cli-0.7.5-fzqampqh.mjs +4 -0
  161. package/dist/chunks/cli-0.7.5-g3ejs520.mjs +2 -0
  162. package/dist/chunks/cli-0.7.5-gb57bm0v.mjs +2 -0
  163. package/dist/chunks/cli-0.7.5-gbz8thht.mjs +50 -0
  164. package/dist/chunks/cli-0.7.5-gd8wcttv.mjs +3 -0
  165. package/dist/chunks/cli-0.7.5-gdadd4x4.mjs +2 -0
  166. package/dist/chunks/cli-0.7.5-gfq85y17.mjs +2 -0
  167. package/dist/chunks/cli-0.7.5-gh00zb08.mjs +18 -0
  168. package/dist/chunks/cli-0.7.5-ghq2axmf.mjs +194 -0
  169. package/dist/chunks/cli-0.7.5-gmew5n1p.mjs +2 -0
  170. package/dist/chunks/cli-0.7.5-gpbvs2kz.mjs +2 -0
  171. package/dist/chunks/cli-0.7.5-h3p8qw3f.mjs +2 -0
  172. package/dist/chunks/cli-0.7.5-h6e17t7j.mjs +2 -0
  173. package/dist/chunks/cli-0.7.5-h9s62ky5.mjs +2 -0
  174. package/dist/chunks/cli-0.7.5-hb39f7nj.mjs +2 -0
  175. package/dist/chunks/cli-0.7.5-hbgzm4wt.mjs +9 -0
  176. package/dist/chunks/cli-0.7.5-hce2yd4f.mjs +2 -0
  177. package/dist/chunks/cli-0.7.5-hcxagyjb.mjs +2 -0
  178. package/dist/chunks/cli-0.7.5-hd1mkmqa.mjs +2 -0
  179. package/dist/chunks/cli-0.7.5-hfej6gk7.mjs +2 -0
  180. package/dist/chunks/cli-0.7.5-hfvrp8qk.mjs +2 -0
  181. package/dist/chunks/cli-0.7.5-hh8ynv80.mjs +2 -0
  182. package/dist/chunks/cli-0.7.5-hj89dnh6.mjs +2 -0
  183. package/dist/chunks/cli-0.7.5-hp8g8gw0.mjs +2 -0
  184. package/dist/chunks/cli-0.7.5-htnhe6mt.mjs +2 -0
  185. package/dist/chunks/cli-0.7.5-hxk7g9fk.mjs +2 -0
  186. package/dist/chunks/cli-0.7.5-hyyd4eh8.mjs +2 -0
  187. package/dist/chunks/cli-0.7.5-j27qn7ks.mjs +2 -0
  188. package/dist/chunks/cli-0.7.5-jc93grn1.mjs +2 -0
  189. package/dist/chunks/cli-0.7.5-jwcpd0fz.mjs +2 -0
  190. package/dist/chunks/cli-0.7.5-jx9x8eh7.mjs +2 -0
  191. package/dist/chunks/cli-0.7.5-k2nqj3ry.mjs +39 -0
  192. package/dist/chunks/cli-0.7.5-kj54k6vh.mjs +4 -0
  193. package/dist/chunks/cli-0.7.5-krbmx93g.mjs +2 -0
  194. package/dist/chunks/cli-0.7.5-kzmgwzjq.mjs +7 -0
  195. package/dist/chunks/cli-0.7.5-m8cf1p72.mjs +2 -0
  196. package/dist/chunks/cli-0.7.5-medd7tha.mjs +2 -0
  197. package/dist/chunks/cli-0.7.5-mftmyrxg.mjs +2 -0
  198. package/dist/chunks/cli-0.7.5-mhdkfw8w.mjs +2 -0
  199. package/dist/chunks/cli-0.7.5-mk1nsvev.mjs +2 -0
  200. package/dist/chunks/cli-0.7.5-mkypasee.mjs +3 -0
  201. package/dist/chunks/cli-0.7.5-mtaq950q.mjs +2 -0
  202. package/dist/chunks/cli-0.7.5-myvw92ta.mjs +2 -0
  203. package/dist/chunks/cli-0.7.5-n8nsc1fy.mjs +4 -0
  204. package/dist/chunks/cli-0.7.5-p72rah24.mjs +2 -0
  205. package/dist/chunks/cli-0.7.5-paykwdd9.mjs +26 -0
  206. package/dist/chunks/cli-0.7.5-pd9x4y8x.mjs +2 -0
  207. package/dist/chunks/cli-0.7.5-pm9grnq1.mjs +67 -0
  208. package/dist/chunks/cli-0.7.5-pmsw8q6q.mjs +2 -0
  209. package/dist/chunks/cli-0.7.5-pxj8y53k.mjs +2 -0
  210. package/dist/chunks/cli-0.7.5-q4nf1yjd.mjs +2 -0
  211. package/dist/chunks/cli-0.7.5-qpqfdmsk.mjs +4 -0
  212. package/dist/chunks/cli-0.7.5-qxdvdw89.mjs +3 -0
  213. package/dist/chunks/cli-0.7.5-qzhygzzn.mjs +5 -0
  214. package/dist/chunks/cli-0.7.5-r5ckgfah.mjs +2 -0
  215. package/dist/chunks/cli-0.7.5-rahmqve7.mjs +2 -0
  216. package/dist/chunks/cli-0.7.5-rbv538zg.mjs +2 -0
  217. package/dist/chunks/cli-0.7.5-rc47zyrc.mjs +2 -0
  218. package/dist/chunks/cli-0.7.5-rg2nrraj.mjs +2 -0
  219. package/dist/chunks/cli-0.7.5-rpnr09s5.mjs +2 -0
  220. package/dist/chunks/cli-0.7.5-rqvar6g7.mjs +16 -0
  221. package/dist/chunks/cli-0.7.5-s65rbrvj.mjs +58 -0
  222. package/dist/chunks/cli-0.7.5-sq0v922e.mjs +6 -0
  223. package/dist/chunks/cli-0.7.5-t77nd6kj.mjs +2 -0
  224. package/dist/chunks/cli-0.7.5-tbrfr6hj.mjs +2 -0
  225. package/dist/chunks/cli-0.7.5-tqwr1q73.mjs +4 -0
  226. package/dist/chunks/cli-0.7.5-tzc3pn7w.mjs +2 -0
  227. package/dist/chunks/cli-0.7.5-v85dx0nq.mjs +2 -0
  228. package/dist/chunks/cli-0.7.5-v8apq7df.mjs +15 -0
  229. package/dist/chunks/cli-0.7.5-vhkgs6h9.mjs +2 -0
  230. package/dist/chunks/cli-0.7.5-vktpnz25.mjs +2 -0
  231. package/dist/chunks/cli-0.7.5-vmr9xqzs.mjs +6 -0
  232. package/dist/chunks/cli-0.7.5-vzssapx0.mjs +2 -0
  233. package/dist/chunks/cli-0.7.5-w2vyrb4j.mjs +18 -0
  234. package/dist/chunks/cli-0.7.5-wd0yxrvg.mjs +2 -0
  235. package/dist/chunks/cli-0.7.5-wj3w13az.mjs +2 -0
  236. package/dist/chunks/cli-0.7.5-wjfmb762.mjs +2 -0
  237. package/dist/chunks/cli-0.7.5-wjpv5xmb.mjs +4 -0
  238. package/dist/chunks/cli-0.7.5-wpgtmkvc.mjs +2 -0
  239. package/dist/chunks/cli-0.7.5-x2z686xj.mjs +25 -0
  240. package/dist/chunks/cli-0.7.5-x4kb7k70.mjs +2 -0
  241. package/dist/chunks/cli-0.7.5-xbqxjykr.mjs +2 -0
  242. package/dist/chunks/cli-0.7.5-xfxxbwbm.mjs +12 -0
  243. package/dist/chunks/cli-0.7.5-xg32zg8k.mjs +24 -0
  244. package/dist/chunks/cli-0.7.5-xgdba5yp.mjs +2 -0
  245. package/dist/chunks/cli-0.7.5-xt0mqg4f.mjs +2 -0
  246. package/dist/chunks/cli-0.7.5-xv3vs7j9.mjs +2 -0
  247. package/dist/chunks/cli-0.7.5-xv6ra0kw.mjs +2 -0
  248. package/dist/chunks/cli-0.7.5-xvveqsx1.mjs +2 -0
  249. package/dist/chunks/cli-0.7.5-xwzejhw4.mjs +3 -0
  250. package/dist/chunks/cli-0.7.5-y3yqkc5p.mjs +12 -0
  251. package/dist/chunks/cli-0.7.5-y58r6dq0.mjs +2 -0
  252. package/dist/chunks/cli-0.7.5-y7ehmef8.mjs +1 -0
  253. package/dist/chunks/cli-0.7.5-ydfgf7qv.mjs +21 -0
  254. package/dist/chunks/cli-0.7.5-yjwnjtvn.mjs +2 -0
  255. package/dist/chunks/cli-0.7.5-yr70t57x.mjs +2 -0
  256. package/dist/chunks/cli-0.7.5-z2yexv2e.mjs +2 -0
  257. package/dist/chunks/cli-0.7.5-z3dzj7v3.mjs +2 -0
  258. package/dist/chunks/cli-0.7.5-z40jp8ew.mjs +4 -0
  259. package/dist/chunks/cli-0.7.5-zde1m2ej.mjs +4 -0
  260. package/dist/chunks/cli-0.7.5-zdq0vv92.mjs +2 -0
  261. package/dist/chunks/cli-0.7.5-zftjc44p.mjs +2 -0
  262. package/dist/chunks/cli-0.7.5-zj0xcj80.mjs +2 -0
  263. package/dist/chunks/cli-0.7.5-zpmehtjz.mjs +2 -0
  264. package/dist/chunks/cli-0.7.5-zsmx06gy.mjs +2 -0
  265. package/dist/chunks/client-0.7.5-w36k0xa4.mjs +1 -0
  266. package/dist/chunks/color-0.7.5-6q028b6j.mjs +1 -0
  267. package/dist/chunks/compact-0.7.5-brw7r66h.mjs +3 -0
  268. package/dist/chunks/config-0.7.5-23y0vmxv.mjs +1 -0
  269. package/dist/chunks/config-0.7.5-scfm2ghv.mjs +1 -0
  270. package/dist/chunks/constants-0.7.5-gtkzq93a.mjs +1 -0
  271. package/dist/chunks/context-0.7.5-5sr5p20h.mjs +1 -0
  272. package/dist/chunks/context-noninteractive-0.7.5-478h1wv5.mjs +1 -0
  273. package/dist/chunks/conversation-0.7.5-qmek5yn5.mjs +1 -0
  274. package/dist/chunks/copilotHeaders-0.7.5-hbgm40tm.mjs +1 -0
  275. package/dist/chunks/copy-0.7.5-1j6r3503.mjs +9 -0
  276. package/dist/chunks/cost-0.7.5-qmhkw8cf.mjs +1 -0
  277. package/dist/chunks/createSSHSession-0.7.5-km7csf59.mjs +1 -0
  278. package/dist/chunks/createSession-0.7.5-4ry726v4.mjs +1 -0
  279. package/dist/chunks/debug-0.7.5-f7ay5633.mjs +1 -0
  280. package/dist/chunks/defaultActionDeps-0.7.5-fahgw2xf.mjs +1446 -0
  281. package/dist/chunks/desktop-0.7.5-177ca2xz.mjs +1 -0
  282. package/dist/chunks/detectRepository-0.7.5-9tagnw7m.mjs +1 -0
  283. package/dist/chunks/detection-0.7.5-g5p116dy.mjs +1 -0
  284. package/dist/chunks/diff-0.7.5-gwzyav0v.mjs +1 -0
  285. package/dist/chunks/doctor-0.7.5-eqrnfehr.mjs +1 -0
  286. package/dist/chunks/doctorDiagnostic-0.7.5-wtjp576r.mjs +1 -0
  287. package/dist/chunks/earlyInput-0.7.5-cbbxamm6.mjs +1 -0
  288. package/dist/chunks/effort-0.7.5-h1m1pcsc.mjs +10 -0
  289. package/dist/chunks/engine-0.7.5-3s2wmkmq.mjs +1 -0
  290. package/dist/chunks/envLessBridgeConfig-0.7.5-6kr19meq.mjs +1 -0
  291. package/dist/chunks/envUtils-0.7.5-gna3tn15.mjs +1 -0
  292. package/dist/chunks/environmentSelection-0.7.5-ax80y2br.mjs +1 -0
  293. package/dist/chunks/environments-0.7.5-vzttb5rv.mjs +1 -0
  294. package/dist/chunks/errors-0.7.5-39sxdk37.mjs +1 -0
  295. package/dist/chunks/exampleCommands-0.7.5-xsrm4x8y.mjs +1 -0
  296. package/dist/chunks/exit-0.7.5-bkbd5npx.mjs +1 -0
  297. package/dist/chunks/explorer-0.7.5-19gvmqgr.mjs +1 -0
  298. package/dist/chunks/export-0.7.5-34j4n9kh.mjs +2 -0
  299. package/dist/chunks/extra-usage-0.7.5-b97sj0ap.mjs +1 -0
  300. package/dist/chunks/extra-usage-noninteractive-0.7.5-xd1mr1j5.mjs +1 -0
  301. package/dist/chunks/fast-0.7.5-0wqk7a9x.mjs +1 -0
  302. package/dist/chunks/feedback-0.7.5-vtbcry18.mjs +14 -0
  303. package/dist/chunks/firstPartyEventLogger-0.7.5-xqazh0ye.mjs +1 -0
  304. package/dist/chunks/git-0.7.5-e2235c1t.mjs +1 -0
  305. package/dist/chunks/githubModelsCredentials-0.7.5-rv73mazg.mjs +1 -0
  306. package/dist/chunks/goal-0.7.5-cqb7e1pf.mjs +4 -0
  307. package/dist/chunks/grove-0.7.5-qsvaz9x8.mjs +1 -0
  308. package/dist/chunks/growthbook-0.7.5-3qfr8h94.mjs +1 -0
  309. package/dist/chunks/headless-0.7.5-wbtxesec.mjs +2 -0
  310. package/dist/chunks/heapdump-0.7.5-nc48tbvw.mjs +6 -0
  311. package/dist/chunks/help-0.7.5-6jm9nrcy.mjs +1 -0
  312. package/dist/chunks/hookChains-0.7.5-khy46vaw.mjs +3 -0
  313. package/dist/chunks/hooks-0.7.5-167mv9th.mjs +1 -0
  314. package/dist/chunks/hooks-0.7.5-nx4910ga.mjs +79 -0
  315. package/dist/chunks/ide-0.7.5-n6hvszan.mjs +3 -0
  316. package/dist/chunks/image-processor-napi-0.7.5-ndmd493b.mjs +1 -0
  317. package/dist/chunks/inboundAttachments-0.7.5-1nbx425g.mjs +1 -0
  318. package/dist/chunks/index-0.7.5-5j4305xq.mjs +1 -0
  319. package/dist/chunks/index-0.7.5-63xhx5j4.mjs +1 -0
  320. package/dist/chunks/index-0.7.5-7e5rqqh4.mjs +9 -0
  321. package/dist/chunks/index-0.7.5-a12krakj.mjs +2 -0
  322. package/dist/chunks/index-0.7.5-bsq6e16w.mjs +1 -0
  323. package/dist/chunks/index-0.7.5-caethvnv.mjs +1 -0
  324. package/dist/chunks/index-0.7.5-cx1vr981.mjs +17 -0
  325. package/dist/chunks/index-0.7.5-dcd3w04q.mjs +1 -0
  326. package/dist/chunks/index-0.7.5-ekrwk3jz.mjs +9 -0
  327. package/dist/chunks/index-0.7.5-h4cbsc0a.mjs +2 -0
  328. package/dist/chunks/index-0.7.5-hvzcp0kn.mjs +5 -0
  329. package/dist/chunks/index-0.7.5-kh3ebxx0.mjs +1 -0
  330. package/dist/chunks/index-0.7.5-kzhpap3n.mjs +1 -0
  331. package/dist/chunks/index-0.7.5-njd4yt57.mjs +1 -0
  332. package/dist/chunks/index-0.7.5-r1ny63xd.mjs +1 -0
  333. package/dist/chunks/index-0.7.5-ry24w7t2.mjs +1 -0
  334. package/dist/chunks/index-0.7.5-syzp921n.mjs +30 -0
  335. package/dist/chunks/index-0.7.5-t7jx62n3.mjs +1 -0
  336. package/dist/chunks/index-0.7.5-wj36e6k0.mjs +1 -0
  337. package/dist/chunks/index-0.7.5-yv1dtnpt.mjs +1 -0
  338. package/dist/chunks/index-0.7.5-yzrfjy23.mjs +1 -0
  339. package/dist/chunks/index-0.7.5-zfker4t5.mjs +1 -0
  340. package/dist/chunks/index-0.7.5-zxrxsyxj.mjs +1 -0
  341. package/dist/chunks/init-0.7.5-hh6v113j.mjs +1 -0
  342. package/dist/chunks/initReplBridge-0.7.5-c1za6hde.mjs +1 -0
  343. package/dist/chunks/ink-0.7.5-56yev9n3.mjs +1 -0
  344. package/dist/chunks/insights-0.7.5-qz9bb1ry.mjs +870 -0
  345. package/dist/chunks/install-0.7.5-sbxfgz0w.mjs +1 -0
  346. package/dist/chunks/install-github-app-0.7.5-7txny4wr.mjs +149 -0
  347. package/dist/chunks/install-slack-app-0.7.5-69pj36yh.mjs +1 -0
  348. package/dist/chunks/instrumentation-0.7.5-q9v6ptmg.mjs +1 -0
  349. package/dist/chunks/interactiveHelpers-0.7.5-40q6avjg.mjs +1 -0
  350. package/dist/chunks/keybindings-0.7.5-wj2ms9t5.mjs +2 -0
  351. package/dist/chunks/knowledge-0.7.5-t1ay4xsf.mjs +2 -0
  352. package/dist/chunks/latestVersionCache-0.7.5-2sn56g0f.mjs +1 -0
  353. package/dist/chunks/loadAgentsDir-0.7.5-fw6g0k2f.mjs +1 -0
  354. package/dist/chunks/loadPluginHooks-0.7.5-32j9xrwe.mjs +1 -0
  355. package/dist/chunks/loadPluginHooks-0.7.5-wex6715a.mjs +1 -0
  356. package/dist/chunks/log-0.7.5-ksrcjwgt.mjs +1 -0
  357. package/dist/chunks/main-0.7.5-y3x6nz9x.mjs +1 -0
  358. package/dist/chunks/managedEnv-0.7.5-8t44hgy8.mjs +1 -0
  359. package/dist/chunks/mcp-0.7.5-60fgv34x.mjs +1 -0
  360. package/dist/chunks/mcp-0.7.5-mbfzrcm8.mjs +4 -0
  361. package/dist/chunks/mcp-0.7.5-rkaypthk.mjs +17 -0
  362. package/dist/chunks/mcpb-0.7.5-v66xmybr.mjs +1 -0
  363. package/dist/chunks/memory-0.7.5-fvpt844c.mjs +3 -0
  364. package/dist/chunks/model-0.7.5-tsr4h9g8.mjs +2 -0
  365. package/dist/chunks/model-0.7.5-z5fcqt5b.mjs +1 -0
  366. package/dist/chunks/node-0.7.5-ym7zwnx3.mjs +12 -0
  367. package/dist/chunks/oauth-0.7.5-pp4rkjfe.mjs +1 -0
  368. package/dist/chunks/openaiShim-0.7.5-vtkg5q0g.mjs +14 -0
  369. package/dist/chunks/output-style-0.7.5-13fnqr6c.mjs +1 -0
  370. package/dist/chunks/package-ZZWOLTXM-0.7.5-16qd12nt.mjs +1 -0
  371. package/dist/chunks/parseConnectUrl-0.7.5-s8jq90n0.mjs +1 -0
  372. package/dist/chunks/parser-0.7.5-eefzgrd7.mjs +1 -0
  373. package/dist/chunks/passes-0.7.5-4axt111x.mjs +1 -0
  374. package/dist/chunks/permissions-0.7.5-s0m3z1fe.mjs +3 -0
  375. package/dist/chunks/permissions-0.7.5-xdxqnd7w.mjs +1 -0
  376. package/dist/chunks/plan-0.7.5-wwgtg3j2.mjs +1 -0
  377. package/dist/chunks/plist-0.7.5-sqqsbn3c.mjs +1 -0
  378. package/dist/chunks/plugin-0.7.5-1d2gra71.mjs +29 -0
  379. package/dist/chunks/pluginStartupCheck-0.7.5-5z80320b.mjs +1 -0
  380. package/dist/chunks/plugins-0.7.5-0a9ytst2.mjs +9 -0
  381. package/dist/chunks/preActionHook-0.7.5-pe8h6p21.mjs +2 -0
  382. package/dist/chunks/print-0.7.5-9ejsfw3k.mjs +57 -0
  383. package/dist/chunks/privacy-settings-0.7.5-d9ptjk2d.mjs +1 -0
  384. package/dist/chunks/process-0.7.5-fgwhv8bw.mjs +1 -0
  385. package/dist/chunks/processBashCommand-0.7.5-c619z7fd.mjs +1 -0
  386. package/dist/chunks/processSlashCommand-0.7.5-75p45f0t.mjs +9 -0
  387. package/dist/chunks/prompt-0.7.5-51c6hnqr.mjs +1 -0
  388. package/dist/chunks/prompt-0.7.5-cy0v1vqr.mjs +1 -0
  389. package/dist/chunks/prompts-0.7.5-wmn5bdx5.mjs +1 -0
  390. package/dist/chunks/protocolHandler-0.7.5-eeqecgkp.mjs +13 -0
  391. package/dist/chunks/provider-0.7.5-y0gpvctq.mjs +2 -0
  392. package/dist/chunks/providerProfiles-0.7.5-jrmjbp5b.mjs +1 -0
  393. package/dist/chunks/providerValidation-0.7.5-jgdgbk4q.mjs +6 -0
  394. package/dist/chunks/rate-limit-options-0.7.5-29f89kh1.mjs +1 -0
  395. package/dist/chunks/registerSubcommands-0.7.5-c36hzdav.mjs +34 -0
  396. package/dist/chunks/registry-0.7.5-whsh7x53.mjs +1 -0
  397. package/dist/chunks/release-notes-0.7.5-ptvapnr0.mjs +5 -0
  398. package/dist/chunks/reload-plugins-0.7.5-ka0e8hq5.mjs +2 -0
  399. package/dist/chunks/remote-env-0.7.5-qjxje9ma.mjs +1 -0
  400. package/dist/chunks/remoteBridgeCore-0.7.5-k3f68b7h.mjs +1 -0
  401. package/dist/chunks/remoteSession-0.7.5-rape7yd4.mjs +1 -0
  402. package/dist/chunks/rename-0.7.5-ktcd7rtq.mjs +1 -0
  403. package/dist/chunks/replBridgeHandle-0.7.5-phh34y8h.mjs +1 -0
  404. package/dist/chunks/replLauncher-0.7.5-sq476c2a.mjs +1 -0
  405. package/dist/chunks/resume-0.7.5-6tvrgh8j.mjs +2 -0
  406. package/dist/chunks/rewind-0.7.5-vd47v5rv.mjs +1 -0
  407. package/dist/chunks/rootOptions-0.7.5-wqt2k4rc.mjs +1 -0
  408. package/dist/chunks/sandbox-adapter-0.7.5-ky898f3m.mjs +1 -0
  409. package/dist/chunks/sandbox-toggle-0.7.5-7hkar7r5.mjs +1 -0
  410. package/dist/chunks/session-0.7.5-hkxz3wye.mjs +2 -0
  411. package/dist/chunks/sessionDiscovery-0.7.5-y04m8ab9.mjs +1 -0
  412. package/dist/chunks/sessionFileAccessHooks-0.7.5-f5rgs672.mjs +1 -0
  413. package/dist/chunks/sessionStorage-0.7.5-18q303bk.mjs +1 -0
  414. package/dist/chunks/settings-0.7.5-4hqnkkc8.mjs +1 -0
  415. package/dist/chunks/setup-0.7.5-y5xxwxbd.mjs +5 -0
  416. package/dist/chunks/sinks-0.7.5-cvxvp35v.mjs +1 -0
  417. package/dist/chunks/skills-0.7.5-kwgf9qjq.mjs +1 -0
  418. package/dist/chunks/startupProfiler-0.7.5-za7tk2tk.mjs +1 -0
  419. package/dist/chunks/startupUpdateCheck-0.7.5-czmgq418.mjs +1 -0
  420. package/dist/chunks/state-0.7.5-ak36peq3.mjs +1 -0
  421. package/dist/chunks/stats-0.7.5-er3ye8yh.mjs +6 -0
  422. package/dist/chunks/status-0.7.5-c5cjb8e4.mjs +1 -0
  423. package/dist/chunks/stickers-0.7.5-j3k2cxdh.mjs +1 -0
  424. package/dist/chunks/subprocessEnv-0.7.5-c9cn3hdx.mjs +1 -0
  425. package/dist/chunks/tasks-0.7.5-63j9r8xa.mjs +1 -0
  426. package/dist/chunks/teamHelpers-0.7.5-m7f40cd8.mjs +1 -0
  427. package/dist/chunks/teammateModeSnapshot-0.7.5-p9m6xw5v.mjs +1 -0
  428. package/dist/chunks/teleport-0.7.5-eznfwa79.mjs +1 -0
  429. package/dist/chunks/terminalSetup-0.7.5-jh6gn62d.mjs +1 -0
  430. package/dist/chunks/theme-0.7.5-ybd8jwyk.mjs +1 -0
  431. package/dist/chunks/thinkback-0.7.5-n7szmggb.mjs +1 -0
  432. package/dist/chunks/thinkback-play-0.7.5-7zmp1768.mjs +1 -0
  433. package/dist/chunks/toolPool-0.7.5-3086ep19.mjs +1 -0
  434. package/dist/chunks/toolSearch-0.7.5-ksvb5jn8.mjs +1 -0
  435. package/dist/chunks/tools-0.7.5-a8e705rj.mjs +1 -0
  436. package/dist/chunks/trustedDevice-0.7.5-skv46tba.mjs +1 -0
  437. package/dist/chunks/turndown.cjs-0.7.5-bv92xw4e.mjs +69 -0
  438. package/dist/chunks/types-0.7.5-63qbfwst.mjs +1 -0
  439. package/dist/chunks/ultrareviewCommand-0.7.5-8skwm5gw.mjs +4 -0
  440. package/dist/chunks/update-0.7.5-g0qcx3kr.mjs +86 -0
  441. package/dist/chunks/upgrade-0.7.5-gka5mmvk.mjs +1 -0
  442. package/dist/chunks/upload-0.7.5-6kw8akzx.mjs +7 -0
  443. package/dist/chunks/upstreamproxy-0.7.5-97n9j2vs.mjs +14 -0
  444. package/dist/chunks/url-handler-napi-0.7.5-2gqe7mr0.mjs +1 -0
  445. package/dist/chunks/usage-0.7.5-36hanm9f.mjs +1 -0
  446. package/dist/chunks/util-0.7.5-90a4jn87.mjs +1 -0
  447. package/dist/chunks/utils-0.7.5-8rhszmzb.mjs +1 -0
  448. package/dist/chunks/vim-0.7.5-nptszgna.mjs +1 -0
  449. package/dist/chunks/watcher-0.7.5-pqe6cg42.mjs +1 -0
  450. package/dist/chunks/wiki-0.7.5-zngdktge.mjs +132 -0
  451. package/dist/chunks/workflows-0.7.5-efk35dv0.mjs +1 -0
  452. package/dist/chunks/worktree-0.7.5-ptj9226d.mjs +1 -0
  453. package/dist/chunks/worktreeModeEnabled-0.7.5-whaev58q.mjs +1 -0
  454. package/dist/chunks/wrapper-0.7.5-dfb28jc5.mjs +7 -0
  455. package/dist/claudin-vscode.vsix +0 -0
  456. package/dist/cli.mjs +2 -2
  457. package/package.json +12 -4
  458. package/dist/chunks/AgentTool-0.7.2-9q9cf0s2.mjs +0 -1
  459. package/dist/chunks/App-0.7.2-1yazneaj.mjs +0 -1
  460. package/dist/chunks/ApproveApiKey-0.7.2-r6n7yk1e.mjs +0 -1
  461. package/dist/chunks/AssistantSessionChooser-0.7.2-bq8tfzkt.mjs +0 -1
  462. package/dist/chunks/AutoModeOptInDialog-0.7.2-exq70cpt.mjs +0 -1
  463. package/dist/chunks/BypassPermissionsModeDialog-0.7.2-4wq8e6bg.mjs +0 -1
  464. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.2-tfd9bwks.mjs +0 -1
  465. package/dist/chunks/ConsoleOAuthFlow-0.7.2-x4nff112.mjs +0 -1
  466. package/dist/chunks/DiffDialog-0.7.2-rynq65x0.mjs +0 -7
  467. package/dist/chunks/Doctor-0.7.2-47kvka8v.mjs +0 -1
  468. package/dist/chunks/ExplorerDialog-0.7.2-whxpmm57.mjs +0 -6
  469. package/dist/chunks/Grove-0.7.2-xd5sc9zj.mjs +0 -1
  470. package/dist/chunks/ITermBackend-0.7.2-d9gvx90g.mjs +0 -1
  471. package/dist/chunks/InvalidConfigDialog-0.7.2-caf92zwe.mjs +0 -1
  472. package/dist/chunks/InvalidSettingsDialog-0.7.2-4ahhegj6.mjs +0 -1
  473. package/dist/chunks/MigrationDialog-0.7.2-j7wxkhr6.mjs +0 -1
  474. package/dist/chunks/Onboarding-0.7.2-4rq70qsr.mjs +0 -1
  475. package/dist/chunks/ProviderManager-0.7.2-gjmzm35c.mjs +0 -1
  476. package/dist/chunks/REPL-0.7.2-a8j6n2qa.mjs +0 -1
  477. package/dist/chunks/ResumeConversation-0.7.2-84wvvrx5.mjs +0 -1
  478. package/dist/chunks/SnapshotUpdateDialog-0.7.2-wk0qx8j6.mjs +0 -1
  479. package/dist/chunks/TeleportProgress-0.7.2-dj8zvkv5.mjs +0 -1
  480. package/dist/chunks/TeleportRepoMismatchDialog-0.7.2-ey2mmrd3.mjs +0 -1
  481. package/dist/chunks/TeleportResumeWrapper-0.7.2-j4vtrwzz.mjs +0 -1
  482. package/dist/chunks/TmuxBackend-0.7.2-en2ev5fc.mjs +0 -9
  483. package/dist/chunks/ToolSearchTool-0.7.2-qkk7a91f.mjs +0 -1
  484. package/dist/chunks/TrustDialog-0.7.2-eh3tqgea.mjs +0 -1
  485. package/dist/chunks/activeProvider-0.7.2-53s4g0s8.mjs +0 -1
  486. package/dist/chunks/add-dir-0.7.2-p09yjmj7.mjs +0 -1
  487. package/dist/chunks/agents-0.7.2-0m73ejzs.mjs +0 -3
  488. package/dist/chunks/agents-0.7.2-a1zpb02y.mjs +0 -110
  489. package/dist/chunks/api-0.7.2-gwy9gs1j.mjs +0 -1
  490. package/dist/chunks/asciicast-0.7.2-5vqep6sv.mjs +0 -1
  491. package/dist/chunks/assistant-0.7.2-txvf934b.mjs +0 -1
  492. package/dist/chunks/auth-0.7.2-02q30rsb.mjs +0 -1
  493. package/dist/chunks/auth-0.7.2-x29x49yh.mjs +0 -1
  494. package/dist/chunks/autoMode-0.7.2-5jnc8v33.mjs +0 -48
  495. package/dist/chunks/autoUpdater-0.7.2-pdqvbd3c.mjs +0 -1
  496. package/dist/chunks/backgroundHousekeeping-0.7.2-1m4w90vq.mjs +0 -1
  497. package/dist/chunks/branch-0.7.2-wgyhx41x.mjs +0 -4
  498. package/dist/chunks/bridge-0.7.2-f4ryhejx.mjs +0 -2
  499. package/dist/chunks/bridgeConfig-0.7.2-g6w4rghz.mjs +0 -1
  500. package/dist/chunks/bridgeEnabled-0.7.2-5aspb655.mjs +0 -1
  501. package/dist/chunks/bridgeMain-0.7.2-fey03cj7.mjs +0 -88
  502. package/dist/chunks/bridgePointer-0.7.2-8k41syzc.mjs +0 -1
  503. package/dist/chunks/btw-0.7.2-syxbtnxj.mjs +0 -1
  504. package/dist/chunks/buddy-0.7.2-gge72j8t.mjs +0 -3
  505. package/dist/chunks/cacache-0.7.2-gztwvvrm.mjs +0 -1
  506. package/dist/chunks/cache-probe-0.7.2-1gytt4j5.mjs +0 -21
  507. package/dist/chunks/cacheStats-0.7.2-sd9n48k1.mjs +0 -4
  508. package/dist/chunks/caches-0.7.2-cqzt5zwn.mjs +0 -1
  509. package/dist/chunks/claudeDesktop-0.7.2-7pna3peh.mjs +0 -1
  510. package/dist/chunks/claudemd-0.7.2-n2d9tbz6.mjs +0 -1
  511. package/dist/chunks/clear-0.7.2-v59pskrm.mjs +0 -1
  512. package/dist/chunks/clearTerminal-0.7.2-p4d7q5b7.mjs +0 -1
  513. package/dist/chunks/cli-0.7.2-0cmw1f4j.mjs +0 -2
  514. package/dist/chunks/cli-0.7.2-0mj25tns.mjs +0 -2
  515. package/dist/chunks/cli-0.7.2-0v8f8cx4.mjs +0 -2
  516. package/dist/chunks/cli-0.7.2-19vhaz2c.mjs +0 -2
  517. package/dist/chunks/cli-0.7.2-1a4j9k2f.mjs +0 -2
  518. package/dist/chunks/cli-0.7.2-1aerk8aa.mjs +0 -2
  519. package/dist/chunks/cli-0.7.2-1rwkghr2.mjs +0 -2
  520. package/dist/chunks/cli-0.7.2-21mtjks8.mjs +0 -15
  521. package/dist/chunks/cli-0.7.2-23xjb2nt.mjs +0 -2
  522. package/dist/chunks/cli-0.7.2-26rzbaez.mjs +0 -2
  523. package/dist/chunks/cli-0.7.2-29hh46ve.mjs +0 -3
  524. package/dist/chunks/cli-0.7.2-2dbmqwyn.mjs +0 -2
  525. package/dist/chunks/cli-0.7.2-2rj33835.mjs +0 -6
  526. package/dist/chunks/cli-0.7.2-31k7gjq7.mjs +0 -2
  527. package/dist/chunks/cli-0.7.2-358vh55m.mjs +0 -2
  528. package/dist/chunks/cli-0.7.2-3cc67r6d.mjs +0 -2
  529. package/dist/chunks/cli-0.7.2-3frg7csa.mjs +0 -2
  530. package/dist/chunks/cli-0.7.2-3s2zd715.mjs +0 -3
  531. package/dist/chunks/cli-0.7.2-3synxf81.mjs +0 -2
  532. package/dist/chunks/cli-0.7.2-40f37y02.mjs +0 -2
  533. package/dist/chunks/cli-0.7.2-40xymk1q.mjs +0 -2
  534. package/dist/chunks/cli-0.7.2-437jawbh.mjs +0 -2
  535. package/dist/chunks/cli-0.7.2-43d0yq0h.mjs +0 -2
  536. package/dist/chunks/cli-0.7.2-44rzmsbx.mjs +0 -2
  537. package/dist/chunks/cli-0.7.2-4d6z9fdj.mjs +0 -2
  538. package/dist/chunks/cli-0.7.2-4g4d682x.mjs +0 -3
  539. package/dist/chunks/cli-0.7.2-520tgkhw.mjs +0 -5438
  540. package/dist/chunks/cli-0.7.2-53qayxqk.mjs +0 -2
  541. package/dist/chunks/cli-0.7.2-5415yrkc.mjs +0 -2
  542. package/dist/chunks/cli-0.7.2-55ye29jy.mjs +0 -2
  543. package/dist/chunks/cli-0.7.2-5750g5et.mjs +0 -2
  544. package/dist/chunks/cli-0.7.2-59wm2srd.mjs +0 -2
  545. package/dist/chunks/cli-0.7.2-5aka4emf.mjs +0 -133
  546. package/dist/chunks/cli-0.7.2-5c89p68w.mjs +0 -2
  547. package/dist/chunks/cli-0.7.2-5ca5nqtj.mjs +0 -4
  548. package/dist/chunks/cli-0.7.2-5e72m61f.mjs +0 -25
  549. package/dist/chunks/cli-0.7.2-5ff63f31.mjs +0 -4
  550. package/dist/chunks/cli-0.7.2-5gqht4d7.mjs +0 -2
  551. package/dist/chunks/cli-0.7.2-5qd0bn5g.mjs +0 -193
  552. package/dist/chunks/cli-0.7.2-5tacs42k.mjs +0 -2
  553. package/dist/chunks/cli-0.7.2-5y498dyr.mjs +0 -2
  554. package/dist/chunks/cli-0.7.2-5y75zyrv.mjs +0 -15
  555. package/dist/chunks/cli-0.7.2-5yrman6f.mjs +0 -2
  556. package/dist/chunks/cli-0.7.2-60exfzc0.mjs +0 -2
  557. package/dist/chunks/cli-0.7.2-65v6wt4g.mjs +0 -2
  558. package/dist/chunks/cli-0.7.2-68dn8am7.mjs +0 -2
  559. package/dist/chunks/cli-0.7.2-6pjgt9bx.mjs +0 -2
  560. package/dist/chunks/cli-0.7.2-6zd4a6yh.mjs +0 -12
  561. package/dist/chunks/cli-0.7.2-796x24s1.mjs +0 -2
  562. package/dist/chunks/cli-0.7.2-7dh7rk2t.mjs +0 -2
  563. package/dist/chunks/cli-0.7.2-7rjfehxm.mjs +0 -2
  564. package/dist/chunks/cli-0.7.2-7xfph0pz.mjs +0 -2
  565. package/dist/chunks/cli-0.7.2-81s45w7r.mjs +0 -2
  566. package/dist/chunks/cli-0.7.2-828f420c.mjs +0 -7
  567. package/dist/chunks/cli-0.7.2-83dd0h2c.mjs +0 -2
  568. package/dist/chunks/cli-0.7.2-88h70xrj.mjs +0 -50
  569. package/dist/chunks/cli-0.7.2-894093rv.mjs +0 -2
  570. package/dist/chunks/cli-0.7.2-89wj5h3q.mjs +0 -2
  571. package/dist/chunks/cli-0.7.2-8pfcc363.mjs +0 -12
  572. package/dist/chunks/cli-0.7.2-8qd7xft9.mjs +0 -16
  573. package/dist/chunks/cli-0.7.2-9156j3vm.mjs +0 -6
  574. package/dist/chunks/cli-0.7.2-9328ezjz.mjs +0 -3
  575. package/dist/chunks/cli-0.7.2-9953mwyy.mjs +0 -2
  576. package/dist/chunks/cli-0.7.2-99am4r15.mjs +0 -4
  577. package/dist/chunks/cli-0.7.2-9kn29b9a.mjs +0 -4
  578. package/dist/chunks/cli-0.7.2-9ry87dm1.mjs +0 -2
  579. package/dist/chunks/cli-0.7.2-9vr6ts7b.mjs +0 -2
  580. package/dist/chunks/cli-0.7.2-a5svqzyj.mjs +0 -2
  581. package/dist/chunks/cli-0.7.2-a6q1amed.mjs +0 -2
  582. package/dist/chunks/cli-0.7.2-a9324x4q.mjs +0 -8
  583. package/dist/chunks/cli-0.7.2-aaxbm02p.mjs +0 -2
  584. package/dist/chunks/cli-0.7.2-apg4ptg9.mjs +0 -2
  585. package/dist/chunks/cli-0.7.2-atsd6734.mjs +0 -2
  586. package/dist/chunks/cli-0.7.2-avk3azcp.mjs +0 -2
  587. package/dist/chunks/cli-0.7.2-aye3y5eg.mjs +0 -2
  588. package/dist/chunks/cli-0.7.2-b0v1mt53.mjs +0 -2
  589. package/dist/chunks/cli-0.7.2-b9pdb0nv.mjs +0 -26
  590. package/dist/chunks/cli-0.7.2-bd97qyyb.mjs +0 -2
  591. package/dist/chunks/cli-0.7.2-bdnz1mnz.mjs +0 -21
  592. package/dist/chunks/cli-0.7.2-bjk14f5p.mjs +0 -2
  593. package/dist/chunks/cli-0.7.2-bmz47g1t.mjs +0 -18
  594. package/dist/chunks/cli-0.7.2-bttmh4fa.mjs +0 -4
  595. package/dist/chunks/cli-0.7.2-ccy16hvg.mjs +0 -2
  596. package/dist/chunks/cli-0.7.2-chg4zqj2.mjs +0 -2
  597. package/dist/chunks/cli-0.7.2-cjhzamwx.mjs +0 -2
  598. package/dist/chunks/cli-0.7.2-cqh66sd8.mjs +0 -2
  599. package/dist/chunks/cli-0.7.2-cqqj8v1e.mjs +0 -6
  600. package/dist/chunks/cli-0.7.2-czgmcj2j.mjs +0 -2
  601. package/dist/chunks/cli-0.7.2-d5fbych4.mjs +0 -2
  602. package/dist/chunks/cli-0.7.2-dggndd24.mjs +0 -2
  603. package/dist/chunks/cli-0.7.2-drxj7wsn.mjs +0 -2
  604. package/dist/chunks/cli-0.7.2-ds7h4ntr.mjs +0 -2
  605. package/dist/chunks/cli-0.7.2-dxm2c139.mjs +0 -24
  606. package/dist/chunks/cli-0.7.2-dzt53r0y.mjs +0 -2
  607. package/dist/chunks/cli-0.7.2-e6dtw86q.mjs +0 -2
  608. package/dist/chunks/cli-0.7.2-ec60dmtg.mjs +0 -2
  609. package/dist/chunks/cli-0.7.2-edf740pd.mjs +0 -5
  610. package/dist/chunks/cli-0.7.2-eey9qnsc.mjs +0 -2
  611. package/dist/chunks/cli-0.7.2-eyjs1wq5.mjs +0 -2
  612. package/dist/chunks/cli-0.7.2-f4nt233k.mjs +0 -3
  613. package/dist/chunks/cli-0.7.2-fcadqwem.mjs +0 -1
  614. package/dist/chunks/cli-0.7.2-fkp8v4sr.mjs +0 -2
  615. package/dist/chunks/cli-0.7.2-g3k7m45h.mjs +0 -12
  616. package/dist/chunks/cli-0.7.2-g6cqgcyf.mjs +0 -2
  617. package/dist/chunks/cli-0.7.2-gar34ch2.mjs +0 -4
  618. package/dist/chunks/cli-0.7.2-gn8ff3x2.mjs +0 -2
  619. package/dist/chunks/cli-0.7.2-gssxkynf.mjs +0 -2
  620. package/dist/chunks/cli-0.7.2-gx0r7hs8.mjs +0 -2
  621. package/dist/chunks/cli-0.7.2-gysw8esj.mjs +0 -2
  622. package/dist/chunks/cli-0.7.2-h248q4gt.mjs +0 -2
  623. package/dist/chunks/cli-0.7.2-h3jq0nx1.mjs +0 -2
  624. package/dist/chunks/cli-0.7.2-h7m849rt.mjs +0 -2
  625. package/dist/chunks/cli-0.7.2-h903zfjz.mjs +0 -2
  626. package/dist/chunks/cli-0.7.2-hbmczrch.mjs +0 -9
  627. package/dist/chunks/cli-0.7.2-he1hdn59.mjs +0 -18
  628. package/dist/chunks/cli-0.7.2-hspcdhd7.mjs +0 -2
  629. package/dist/chunks/cli-0.7.2-hv1z3had.mjs +0 -3
  630. package/dist/chunks/cli-0.7.2-hvk7rgt3.mjs +0 -2
  631. package/dist/chunks/cli-0.7.2-j029dkan.mjs +0 -3
  632. package/dist/chunks/cli-0.7.2-j0s33kp5.mjs +0 -2
  633. package/dist/chunks/cli-0.7.2-j3vx2jqw.mjs +0 -2
  634. package/dist/chunks/cli-0.7.2-jbhdwhp3.mjs +0 -2
  635. package/dist/chunks/cli-0.7.2-jc7jm1vm.mjs +0 -2
  636. package/dist/chunks/cli-0.7.2-jkt40yfs.mjs +0 -2
  637. package/dist/chunks/cli-0.7.2-jn2497vh.mjs +0 -2
  638. package/dist/chunks/cli-0.7.2-jv6k1kz6.mjs +0 -2
  639. package/dist/chunks/cli-0.7.2-k40k933y.mjs +0 -24
  640. package/dist/chunks/cli-0.7.2-k6jnr159.mjs +0 -2
  641. package/dist/chunks/cli-0.7.2-k9qpm29e.mjs +0 -2
  642. package/dist/chunks/cli-0.7.2-kyd7mrxn.mjs +0 -2
  643. package/dist/chunks/cli-0.7.2-mapkx1gt.mjs +0 -2
  644. package/dist/chunks/cli-0.7.2-mg2tmjs3.mjs +0 -12
  645. package/dist/chunks/cli-0.7.2-mja3g8j0.mjs +0 -2
  646. package/dist/chunks/cli-0.7.2-mp7jnva5.mjs +0 -15
  647. package/dist/chunks/cli-0.7.2-mqv265gk.mjs +0 -42
  648. package/dist/chunks/cli-0.7.2-mw93dmjz.mjs +0 -3
  649. package/dist/chunks/cli-0.7.2-n1ncm3tc.mjs +0 -2
  650. package/dist/chunks/cli-0.7.2-n8kpba5n.mjs +0 -2
  651. package/dist/chunks/cli-0.7.2-ndt224p1.mjs +0 -2
  652. package/dist/chunks/cli-0.7.2-nf346apq.mjs +0 -18
  653. package/dist/chunks/cli-0.7.2-ngdtr2fz.mjs +0 -2
  654. package/dist/chunks/cli-0.7.2-nkafymh4.mjs +0 -3
  655. package/dist/chunks/cli-0.7.2-nxtag6y2.mjs +0 -45
  656. package/dist/chunks/cli-0.7.2-p42bcqhs.mjs +0 -3
  657. package/dist/chunks/cli-0.7.2-pbaedfkk.mjs +0 -67
  658. package/dist/chunks/cli-0.7.2-pjavf176.mjs +0 -2
  659. package/dist/chunks/cli-0.7.2-pm05qj0a.mjs +0 -4
  660. package/dist/chunks/cli-0.7.2-ppaeptkd.mjs +0 -2
  661. package/dist/chunks/cli-0.7.2-q2pk22xv.mjs +0 -2
  662. package/dist/chunks/cli-0.7.2-q85af7gm.mjs +0 -2
  663. package/dist/chunks/cli-0.7.2-q88h44qv.mjs +0 -17
  664. package/dist/chunks/cli-0.7.2-q9twb2tn.mjs +0 -2
  665. package/dist/chunks/cli-0.7.2-qdapr4dz.mjs +0 -2
  666. package/dist/chunks/cli-0.7.2-qf8435qy.mjs +0 -2
  667. package/dist/chunks/cli-0.7.2-qftw5wyw.mjs +0 -5
  668. package/dist/chunks/cli-0.7.2-qr706n52.mjs +0 -10
  669. package/dist/chunks/cli-0.7.2-qsx52bst.mjs +0 -2
  670. package/dist/chunks/cli-0.7.2-r1502pen.mjs +0 -2
  671. package/dist/chunks/cli-0.7.2-r26ghgw6.mjs +0 -5
  672. package/dist/chunks/cli-0.7.2-r7x165sf.mjs +0 -17
  673. package/dist/chunks/cli-0.7.2-rn3w4y3r.mjs +0 -2
  674. package/dist/chunks/cli-0.7.2-s0av8fr2.mjs +0 -2
  675. package/dist/chunks/cli-0.7.2-s3r1krp7.mjs +0 -2
  676. package/dist/chunks/cli-0.7.2-s41x7s9w.mjs +0 -133
  677. package/dist/chunks/cli-0.7.2-se4w3qaw.mjs +0 -2
  678. package/dist/chunks/cli-0.7.2-sjrnxjfp.mjs +0 -2
  679. package/dist/chunks/cli-0.7.2-sr9m45tm.mjs +0 -2
  680. package/dist/chunks/cli-0.7.2-t1wtmnh8.mjs +0 -2
  681. package/dist/chunks/cli-0.7.2-tds456xt.mjs +0 -34
  682. package/dist/chunks/cli-0.7.2-tf3mc20k.mjs +0 -4
  683. package/dist/chunks/cli-0.7.2-twx01hwg.mjs +0 -2
  684. package/dist/chunks/cli-0.7.2-tx2rxhrx.mjs +0 -3
  685. package/dist/chunks/cli-0.7.2-tytdzgnc.mjs +0 -2
  686. package/dist/chunks/cli-0.7.2-tz5zv753.mjs +0 -6
  687. package/dist/chunks/cli-0.7.2-tzc6qkph.mjs +0 -3
  688. package/dist/chunks/cli-0.7.2-vb0ja1yz.mjs +0 -2
  689. package/dist/chunks/cli-0.7.2-vgq7ce31.mjs +0 -4
  690. package/dist/chunks/cli-0.7.2-vqvfxb9x.mjs +0 -2
  691. package/dist/chunks/cli-0.7.2-vvbp0ycp.mjs +0 -2
  692. package/dist/chunks/cli-0.7.2-vx10940a.mjs +0 -2
  693. package/dist/chunks/cli-0.7.2-vx90v3pr.mjs +0 -2
  694. package/dist/chunks/cli-0.7.2-w07ksegr.mjs +0 -2
  695. package/dist/chunks/cli-0.7.2-waas8a1p.mjs +0 -2
  696. package/dist/chunks/cli-0.7.2-wahbzckp.mjs +0 -58
  697. package/dist/chunks/cli-0.7.2-whm7dq8a.mjs +0 -2
  698. package/dist/chunks/cli-0.7.2-wk3m6ndw.mjs +0 -2
  699. package/dist/chunks/cli-0.7.2-wmz88sxe.mjs +0 -2
  700. package/dist/chunks/cli-0.7.2-xced0m7v.mjs +0 -2
  701. package/dist/chunks/cli-0.7.2-xkbkgc1x.mjs +0 -2
  702. package/dist/chunks/cli-0.7.2-xmf0q5j5.mjs +0 -39
  703. package/dist/chunks/cli-0.7.2-xpw13d73.mjs +0 -59
  704. package/dist/chunks/cli-0.7.2-xtj79p8n.mjs +0 -2
  705. package/dist/chunks/cli-0.7.2-xwmd0gap.mjs +0 -2
  706. package/dist/chunks/cli-0.7.2-xzq4nj1z.mjs +0 -2
  707. package/dist/chunks/cli-0.7.2-ydcqkbay.mjs +0 -20
  708. package/dist/chunks/cli-0.7.2-yeym3pfk.mjs +0 -4
  709. package/dist/chunks/cli-0.7.2-ygx94a70.mjs +0 -2
  710. package/dist/chunks/cli-0.7.2-ymes9mpn.mjs +0 -2
  711. package/dist/chunks/cli-0.7.2-yppcb6em.mjs +0 -2
  712. package/dist/chunks/cli-0.7.2-ze0wyhxh.mjs +0 -2
  713. package/dist/chunks/cli-0.7.2-zevvxkk3.mjs +0 -2
  714. package/dist/chunks/cli-0.7.2-zjn5drn1.mjs +0 -3
  715. package/dist/chunks/cli-0.7.2-zva1j44t.mjs +0 -2
  716. package/dist/chunks/cli-0.7.2-zvq6jw19.mjs +0 -2
  717. package/dist/chunks/client-0.7.2-5ayk0kpq.mjs +0 -1
  718. package/dist/chunks/color-0.7.2-qwk7wwhg.mjs +0 -1
  719. package/dist/chunks/compact-0.7.2-1htfptdq.mjs +0 -3
  720. package/dist/chunks/config-0.7.2-5qhqvs6r.mjs +0 -1
  721. package/dist/chunks/config-0.7.2-m4pjdgrd.mjs +0 -1
  722. package/dist/chunks/constants-0.7.2-pkxz3zw1.mjs +0 -1
  723. package/dist/chunks/context-0.7.2-sbj7xgcd.mjs +0 -1
  724. package/dist/chunks/context-noninteractive-0.7.2-0e342zm8.mjs +0 -1
  725. package/dist/chunks/conversation-0.7.2-8w1wm1xe.mjs +0 -1
  726. package/dist/chunks/copilotHeaders-0.7.2-qkkqpxf3.mjs +0 -1
  727. package/dist/chunks/copy-0.7.2-edx6f8tb.mjs +0 -9
  728. package/dist/chunks/cost-0.7.2-8arxgyd6.mjs +0 -1
  729. package/dist/chunks/createSSHSession-0.7.2-3n718ymh.mjs +0 -1
  730. package/dist/chunks/createSession-0.7.2-hm9d0q01.mjs +0 -1
  731. package/dist/chunks/debug-0.7.2-ngrc7p4e.mjs +0 -1
  732. package/dist/chunks/defaultActionDeps-0.7.2-dftsz493.mjs +0 -1446
  733. package/dist/chunks/desktop-0.7.2-vt6ymh81.mjs +0 -1
  734. package/dist/chunks/detectRepository-0.7.2-xgsqcqxv.mjs +0 -1
  735. package/dist/chunks/detection-0.7.2-m6c0amh8.mjs +0 -1
  736. package/dist/chunks/diff-0.7.2-7np6da8n.mjs +0 -1
  737. package/dist/chunks/doctor-0.7.2-spqx634t.mjs +0 -1
  738. package/dist/chunks/doctorDiagnostic-0.7.2-81rdywyn.mjs +0 -1
  739. package/dist/chunks/earlyInput-0.7.2-b7j7hx34.mjs +0 -1
  740. package/dist/chunks/effort-0.7.2-1jd0yvy3.mjs +0 -10
  741. package/dist/chunks/envLessBridgeConfig-0.7.2-x5wybzrg.mjs +0 -1
  742. package/dist/chunks/envUtils-0.7.2-srtr0ybx.mjs +0 -1
  743. package/dist/chunks/environmentSelection-0.7.2-drjpcqg5.mjs +0 -1
  744. package/dist/chunks/environments-0.7.2-c51gb5sh.mjs +0 -1
  745. package/dist/chunks/errors-0.7.2-4mfat7g5.mjs +0 -1
  746. package/dist/chunks/exampleCommands-0.7.2-c8b6smyk.mjs +0 -1
  747. package/dist/chunks/exit-0.7.2-0b21e2f4.mjs +0 -1
  748. package/dist/chunks/explorer-0.7.2-b2qgsg4r.mjs +0 -1
  749. package/dist/chunks/export-0.7.2-j6tnta5r.mjs +0 -2
  750. package/dist/chunks/extra-usage-0.7.2-8xrddgmh.mjs +0 -1
  751. package/dist/chunks/extra-usage-noninteractive-0.7.2-vzzkmfzw.mjs +0 -1
  752. package/dist/chunks/fast-0.7.2-kfcnj6wq.mjs +0 -1
  753. package/dist/chunks/feedback-0.7.2-cmhc12wj.mjs +0 -14
  754. package/dist/chunks/firstPartyEventLogger-0.7.2-pa49ax22.mjs +0 -1
  755. package/dist/chunks/git-0.7.2-9f7gvn9h.mjs +0 -1
  756. package/dist/chunks/githubModelsCredentials-0.7.2-qy1mhzsm.mjs +0 -1
  757. package/dist/chunks/goal-0.7.2-t9vq2zc6.mjs +0 -4
  758. package/dist/chunks/grove-0.7.2-9sxczf29.mjs +0 -1
  759. package/dist/chunks/growthbook-0.7.2-ch3yc64n.mjs +0 -1
  760. package/dist/chunks/headless-0.7.2-9kh4ecvm.mjs +0 -2
  761. package/dist/chunks/heapdump-0.7.2-jrxgec1e.mjs +0 -6
  762. package/dist/chunks/help-0.7.2-mkkkzv97.mjs +0 -1
  763. package/dist/chunks/hookChains-0.7.2-4rsz02te.mjs +0 -3
  764. package/dist/chunks/hooks-0.7.2-mpa8g97z.mjs +0 -1
  765. package/dist/chunks/hooks-0.7.2-yaybnthb.mjs +0 -79
  766. package/dist/chunks/ide-0.7.2-a5p1wn0n.mjs +0 -3
  767. package/dist/chunks/image-processor-napi-0.7.2-c971ey5m.mjs +0 -1
  768. package/dist/chunks/inboundAttachments-0.7.2-vkae77ac.mjs +0 -1
  769. package/dist/chunks/index-0.7.2-4qr2yjjg.mjs +0 -1
  770. package/dist/chunks/index-0.7.2-5mfmhd35.mjs +0 -1
  771. package/dist/chunks/index-0.7.2-62g62r4p.mjs +0 -1
  772. package/dist/chunks/index-0.7.2-7b6mkd4g.mjs +0 -9
  773. package/dist/chunks/index-0.7.2-87jrdmn3.mjs +0 -2
  774. package/dist/chunks/index-0.7.2-9h4tsef1.mjs +0 -1
  775. package/dist/chunks/index-0.7.2-9mk9g3c3.mjs +0 -1
  776. package/dist/chunks/index-0.7.2-a3w6at2z.mjs +0 -1
  777. package/dist/chunks/index-0.7.2-b296et1z.mjs +0 -1
  778. package/dist/chunks/index-0.7.2-c22bn4q9.mjs +0 -1
  779. package/dist/chunks/index-0.7.2-dn8m3dh3.mjs +0 -9
  780. package/dist/chunks/index-0.7.2-f8swc4mv.mjs +0 -30
  781. package/dist/chunks/index-0.7.2-fdsptfbt.mjs +0 -17
  782. package/dist/chunks/index-0.7.2-g2vfnmjs.mjs +0 -1
  783. package/dist/chunks/index-0.7.2-hjcptpaz.mjs +0 -1
  784. package/dist/chunks/index-0.7.2-hts44hhf.mjs +0 -2
  785. package/dist/chunks/index-0.7.2-k2y0b0h3.mjs +0 -1
  786. package/dist/chunks/index-0.7.2-nhtpksxs.mjs +0 -5
  787. package/dist/chunks/index-0.7.2-p5a52s17.mjs +0 -1
  788. package/dist/chunks/index-0.7.2-r0zwxc1g.mjs +0 -1
  789. package/dist/chunks/index-0.7.2-vfyvycvc.mjs +0 -1
  790. package/dist/chunks/index-0.7.2-vw5e1spt.mjs +0 -1
  791. package/dist/chunks/index-0.7.2-xp0gpx8w.mjs +0 -1
  792. package/dist/chunks/init-0.7.2-mdhax55g.mjs +0 -1
  793. package/dist/chunks/initReplBridge-0.7.2-sq5dka9e.mjs +0 -1
  794. package/dist/chunks/ink-0.7.2-xhfkzs8w.mjs +0 -1
  795. package/dist/chunks/insights-0.7.2-hnzbcbwt.mjs +0 -870
  796. package/dist/chunks/install-0.7.2-f33pbxz0.mjs +0 -1
  797. package/dist/chunks/install-github-app-0.7.2-rysxaqa4.mjs +0 -149
  798. package/dist/chunks/install-slack-app-0.7.2-nsg858f1.mjs +0 -1
  799. package/dist/chunks/instrumentation-0.7.2-6t0dw394.mjs +0 -1
  800. package/dist/chunks/interactiveHelpers-0.7.2-wqr53tgp.mjs +0 -1
  801. package/dist/chunks/keybindings-0.7.2-b6yhemd9.mjs +0 -2
  802. package/dist/chunks/knowledge-0.7.2-94b972dr.mjs +0 -2
  803. package/dist/chunks/latestVersionCache-0.7.2-1e9h6ycx.mjs +0 -1
  804. package/dist/chunks/loadAgentsDir-0.7.2-d3vy1hjh.mjs +0 -1
  805. package/dist/chunks/loadPluginHooks-0.7.2-9bdtab1f.mjs +0 -1
  806. package/dist/chunks/loadPluginHooks-0.7.2-v002c6d9.mjs +0 -1
  807. package/dist/chunks/log-0.7.2-n28x7jf3.mjs +0 -1
  808. package/dist/chunks/main-0.7.2-bbgx9tzn.mjs +0 -1
  809. package/dist/chunks/managedEnv-0.7.2-c7gnfsz5.mjs +0 -1
  810. package/dist/chunks/mcp-0.7.2-nakq1rhg.mjs +0 -1
  811. package/dist/chunks/mcp-0.7.2-v40gxs87.mjs +0 -17
  812. package/dist/chunks/mcp-0.7.2-wtmt0vpe.mjs +0 -4
  813. package/dist/chunks/mcpb-0.7.2-k7z7aa64.mjs +0 -1
  814. package/dist/chunks/memory-0.7.2-1hfh6410.mjs +0 -3
  815. package/dist/chunks/model-0.7.2-c8esc658.mjs +0 -1
  816. package/dist/chunks/model-0.7.2-sjw6chpt.mjs +0 -2
  817. package/dist/chunks/node-0.7.2-2bm5bpwx.mjs +0 -12
  818. package/dist/chunks/oauth-0.7.2-ze80cmtw.mjs +0 -1
  819. package/dist/chunks/openaiShim-0.7.2-qwqrcmfv.mjs +0 -14
  820. package/dist/chunks/output-style-0.7.2-mhfyzz5h.mjs +0 -1
  821. package/dist/chunks/package-GCDC7LJR-0.7.2-d271461v.mjs +0 -1
  822. package/dist/chunks/parseConnectUrl-0.7.2-5c6xzn22.mjs +0 -1
  823. package/dist/chunks/parser-0.7.2-ekqc81n3.mjs +0 -1
  824. package/dist/chunks/passes-0.7.2-dyr0j4xs.mjs +0 -1
  825. package/dist/chunks/permissions-0.7.2-ap5ve9y3.mjs +0 -3
  826. package/dist/chunks/permissions-0.7.2-pqbpv219.mjs +0 -1
  827. package/dist/chunks/plan-0.7.2-3qcvkebx.mjs +0 -1
  828. package/dist/chunks/plist-0.7.2-sfrs3sb5.mjs +0 -1
  829. package/dist/chunks/plugin-0.7.2-23zzkpzp.mjs +0 -29
  830. package/dist/chunks/pluginStartupCheck-0.7.2-hdbd4vjf.mjs +0 -1
  831. package/dist/chunks/plugins-0.7.2-8b79cq4h.mjs +0 -9
  832. package/dist/chunks/preActionHook-0.7.2-denqn35e.mjs +0 -2
  833. package/dist/chunks/print-0.7.2-k3jvb8xp.mjs +0 -57
  834. package/dist/chunks/privacy-settings-0.7.2-2a25e9zd.mjs +0 -1
  835. package/dist/chunks/process-0.7.2-bydxzc10.mjs +0 -1
  836. package/dist/chunks/processBashCommand-0.7.2-n8zeggtq.mjs +0 -1
  837. package/dist/chunks/processSlashCommand-0.7.2-8bkqmvyg.mjs +0 -9
  838. package/dist/chunks/prompt-0.7.2-xcyvamqv.mjs +0 -1
  839. package/dist/chunks/prompt-0.7.2-zgvfvr40.mjs +0 -1
  840. package/dist/chunks/prompts-0.7.2-v3chnzw2.mjs +0 -1
  841. package/dist/chunks/protocolHandler-0.7.2-pcar7hdp.mjs +0 -13
  842. package/dist/chunks/provider-0.7.2-amg0a8yq.mjs +0 -2
  843. package/dist/chunks/providerProfiles-0.7.2-nwbz4k4w.mjs +0 -1
  844. package/dist/chunks/providerValidation-0.7.2-acwg3yzh.mjs +0 -6
  845. package/dist/chunks/rate-limit-options-0.7.2-spv7s8hs.mjs +0 -1
  846. package/dist/chunks/registerSubcommands-0.7.2-7g1dds0b.mjs +0 -34
  847. package/dist/chunks/registry-0.7.2-kv34xe3p.mjs +0 -1
  848. package/dist/chunks/release-notes-0.7.2-amerc2cj.mjs +0 -5
  849. package/dist/chunks/reload-plugins-0.7.2-tx1872h3.mjs +0 -2
  850. package/dist/chunks/remote-env-0.7.2-hq2w0qkg.mjs +0 -1
  851. package/dist/chunks/remoteBridgeCore-0.7.2-5stcs58w.mjs +0 -1
  852. package/dist/chunks/remoteSession-0.7.2-zwc7cra7.mjs +0 -1
  853. package/dist/chunks/rename-0.7.2-gk2b22q0.mjs +0 -1
  854. package/dist/chunks/replBridgeHandle-0.7.2-17phx9ww.mjs +0 -1
  855. package/dist/chunks/replLauncher-0.7.2-th0j1erj.mjs +0 -1
  856. package/dist/chunks/resume-0.7.2-xmxzptvs.mjs +0 -2
  857. package/dist/chunks/rewind-0.7.2-bvjnkrk2.mjs +0 -1
  858. package/dist/chunks/rootOptions-0.7.2-2cy9mmwc.mjs +0 -1
  859. package/dist/chunks/sandbox-adapter-0.7.2-h0xxevv6.mjs +0 -1
  860. package/dist/chunks/sandbox-toggle-0.7.2-qhhmmtft.mjs +0 -1
  861. package/dist/chunks/session-0.7.2-c8me3g3x.mjs +0 -2
  862. package/dist/chunks/sessionDiscovery-0.7.2-3k39j4tc.mjs +0 -1
  863. package/dist/chunks/sessionFileAccessHooks-0.7.2-rv6etkhg.mjs +0 -1
  864. package/dist/chunks/sessionStorage-0.7.2-97nxk3y6.mjs +0 -1
  865. package/dist/chunks/settings-0.7.2-xc200363.mjs +0 -1
  866. package/dist/chunks/setup-0.7.2-c982wyvz.mjs +0 -5
  867. package/dist/chunks/sinks-0.7.2-95rk1mrs.mjs +0 -1
  868. package/dist/chunks/skills-0.7.2-6gdq6xgn.mjs +0 -1
  869. package/dist/chunks/startupProfiler-0.7.2-bx988amf.mjs +0 -1
  870. package/dist/chunks/startupUpdateCheck-0.7.2-n1cjfry1.mjs +0 -1
  871. package/dist/chunks/state-0.7.2-p9tevca2.mjs +0 -1
  872. package/dist/chunks/stats-0.7.2-8xhdefb7.mjs +0 -6
  873. package/dist/chunks/status-0.7.2-fh89jm1g.mjs +0 -1
  874. package/dist/chunks/stickers-0.7.2-8p2fssw5.mjs +0 -1
  875. package/dist/chunks/subprocessEnv-0.7.2-rxrfb67k.mjs +0 -1
  876. package/dist/chunks/tasks-0.7.2-e27mj4dh.mjs +0 -1
  877. package/dist/chunks/teamHelpers-0.7.2-m3z5pcdz.mjs +0 -1
  878. package/dist/chunks/teammateModeSnapshot-0.7.2-p7amb3d6.mjs +0 -1
  879. package/dist/chunks/teleport-0.7.2-5esyfq9r.mjs +0 -1
  880. package/dist/chunks/terminalSetup-0.7.2-yscmphsc.mjs +0 -1
  881. package/dist/chunks/theme-0.7.2-1zmsca02.mjs +0 -1
  882. package/dist/chunks/thinkback-0.7.2-17ff2vy3.mjs +0 -1
  883. package/dist/chunks/thinkback-play-0.7.2-mdnape3r.mjs +0 -1
  884. package/dist/chunks/toolPool-0.7.2-jbgwb4kh.mjs +0 -1
  885. package/dist/chunks/toolSearch-0.7.2-c6qby1zz.mjs +0 -1
  886. package/dist/chunks/tools-0.7.2-b04qyzf8.mjs +0 -1
  887. package/dist/chunks/trustedDevice-0.7.2-jz3zmc03.mjs +0 -1
  888. package/dist/chunks/turndown.cjs-0.7.2-bj6egxgk.mjs +0 -69
  889. package/dist/chunks/types-0.7.2-fsjvv1kt.mjs +0 -1
  890. package/dist/chunks/ultrareviewCommand-0.7.2-w2fbj23d.mjs +0 -4
  891. package/dist/chunks/update-0.7.2-4ccgmd4p.mjs +0 -86
  892. package/dist/chunks/upgrade-0.7.2-d7h7vmqn.mjs +0 -1
  893. package/dist/chunks/upload-0.7.2-p6je053d.mjs +0 -7
  894. package/dist/chunks/upstreamproxy-0.7.2-sjmkdjb8.mjs +0 -14
  895. package/dist/chunks/url-handler-napi-0.7.2-snjwvzje.mjs +0 -1
  896. package/dist/chunks/usage-0.7.2-2k2m3v75.mjs +0 -1
  897. package/dist/chunks/util-0.7.2-n4vdasdr.mjs +0 -1
  898. package/dist/chunks/utils-0.7.2-bmqt59ff.mjs +0 -1
  899. package/dist/chunks/vim-0.7.2-bd15xeza.mjs +0 -1
  900. package/dist/chunks/watcher-0.7.2-pjzeng3k.mjs +0 -1
  901. package/dist/chunks/wiki-0.7.2-2a655hhv.mjs +0 -132
  902. package/dist/chunks/worktree-0.7.2-gs72mnyb.mjs +0 -1
  903. package/dist/chunks/worktreeModeEnabled-0.7.2-gqtz9ha6.mjs +0 -1
  904. package/dist/chunks/wrapper-0.7.2-j420s6rc.mjs +0 -7
  905. /package/dist/chunks/{cli-0.7.2-1xbehmgb.mjs → cli-0.7.5-jk7d368h.mjs} +0 -0
package/LICENSE CHANGED
@@ -1,207 +1,30 @@
1
- CLAUDIN SOURCE-AVAILABLE LICENSE
2
- Version 1.1 — 16 May 2026
1
+ NOTICE
3
2
 
4
- Copyright (c) 2026 Claudinlabs ("Licensor"). All rights reserved.
3
+ The original Claude Code source is proprietary software: Copyright (c)
4
+ Anthropic PBC. All rights reserved. Subject to Anthropic's Commercial Terms of
5
+ Service. Modifications and additions by Claudin contributors are offered under
6
+ the MIT License below, where legally permissible.
5
7
 
6
- This license governs use of the accompanying software, including its
7
- source code, object code, documentation, configuration, and assets (the
8
- "Software"). By installing, copying, or otherwise using the Software,
9
- You accept this license. If You do not accept it, do not use the
10
- Software.
8
+ --------------------------------------------------------------------------------
11
9
 
12
- 0. DEFINITIONS
10
+ MIT License
13
11
 
14
- "You" (or "Your") means the individual or single legal entity
15
- exercising rights under this license. For an entity, "You" includes
16
- any affiliate controlling, controlled by, or under common control
17
- with that entity, provided such affiliate is bound by this license.
12
+ Copyright (c) 2026 Claudin
18
13
 
19
- "Organization" means the single legal entity in which You operate,
20
- together with its employees, contractors, and agents acting within
21
- the scope of their engagement with that entity.
14
+ Permission is hereby granted, free of charge, to any person obtaining a copy
15
+ of this software and associated documentation files (the "Software"), to deal
16
+ in the Software without restriction, including without limitation the rights
17
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18
+ copies of the Software, and to permit persons to whom the Software is
19
+ furnished to do so, subject to the following conditions:
22
20
 
23
- "Local Use" means installing and executing the Software on hardware
24
- owned or controlled by You or Your Organization, where the Software
25
- is operated interactively or programmatically by a natural person
26
- who is part of Your Organization. Local Use does not include making
27
- the Software available to anyone outside Your Organization, whether
28
- over a network, as a service, or by providing a copy.
21
+ The above copyright notice and this permission notice shall be included in all
22
+ copies or substantial portions of the Software.
29
23
 
30
- "Upstream Project" means Claude Code, originally published by
31
- Anthropic, PBC, from which portions of the Software are derived.
32
-
33
- 1. GRANT OF RIGHTS
34
-
35
- Subject to Your continued compliance with the terms of this license,
36
- the Licensor grants You a worldwide, non-exclusive, non-transferable,
37
- royalty-free, irrevocable (subject to Section 7) license to:
38
-
39
- (a) install, run, and execute the Software for Local Use;
40
-
41
- (b) modify the Software, and create works based on it, solely for
42
- Local Use, provided that any such modifications and derived
43
- works remain internal to You or Your Organization and are not
44
- distributed, published, or otherwise made available outside it;
45
-
46
- (c) make the copies necessary to exercise the rights in (a) and (b),
47
- including backups and copies on developer workstations belonging
48
- to Your Organization;
49
-
50
- (d) for clarity: use the Software during the course of providing
51
- professional services (such as consulting, contracting, or
52
- agency work) to a client, provided that the Software itself
53
- (whether in source, binary, or modified form) is operated only
54
- on hardware controlled by You and is not delivered, deployed,
55
- hosted, sublicensed, or otherwise made available to the client
56
- or to any other third party. Code, files, or other output
57
- produced by Your use of the Software are not themselves subject
58
- to this license and may be delivered to the client.
59
-
60
- 2. PATENT GRANT
61
-
62
- Subject to the terms of this license, the Licensor grants You a
63
- worldwide, non-exclusive, royalty-free, irrevocable (subject to
64
- Section 7 and the following sentence) patent license under the
65
- Licensor's essential patent claims to make, have made, use, and run
66
- the Software for Local Use. If You initiate or participate in patent
67
- litigation (including a cross-claim or counterclaim) alleging that the
68
- Software, or a contribution incorporated within it, directly or
69
- indirectly infringes any patent, then any patent licenses granted to
70
- You under this license terminate as of the date such litigation is
71
- filed.
72
-
73
- 3. RESTRICTIONS
74
-
75
- You may not:
76
-
77
- (a) distribute, publish, sublicense, sell, rent, lease, loan,
78
- transmit, mirror, or otherwise make available the Software, or
79
- any work derived from it, to any third party, in source or
80
- binary form, in whole or in part;
81
-
82
- (b) provide the Software, or any work derived from it, to third
83
- parties as a hosted, managed, multi-tenant, time-shared, or
84
- "as-a-service" offering (including SaaS, PaaS, IaaS, API
85
- gateway, or equivalent arrangements), or otherwise expose its
86
- functionality over a network to anyone outside Your
87
- Organization;
88
-
89
- (c) remove, alter, or obscure any copyright, trademark, attribution,
90
- or other proprietary notices contained in the Software, the
91
- Upstream Project notices, or this license file;
92
-
93
- (d) use the names, trademarks, service marks, or logos of the
94
- Licensor (including "Claudin" and "Claudinlabs") or of the
95
- Upstream Project (including "Claude Code" and "Anthropic") in
96
- a manner that
97
- suggests endorsement, sponsorship, or affiliation, except as
98
- strictly required to identify the origin of the Software;
99
-
100
- (e) use the Software in violation of applicable law, export
101
- controls, sanctions regimes, or the rights of any third party;
102
-
103
- (f) attempt to circumvent any technical limitation, license check,
104
- telemetry-removal stub, or privacy-enforcement mechanism present
105
- in the Software.
106
-
107
- 4. UPSTREAM AND THIRD-PARTY MATERIALS
108
-
109
- The Software is a modified fork that incorporates substantial portions
110
- of the Upstream Project, together with components authored by other
111
- third parties (including open-source dependencies and model-provider
112
- SDKs). All such materials remain the property of their respective
113
- owners and are subject to their own terms, including but not limited
114
- to the Anthropic Commercial Terms of Service and the licenses of each
115
- third-party dependency. Nothing in this license overrides, replaces,
116
- or expands the rights granted by those third parties. You are solely
117
- responsible for determining and complying with any obligations arising
118
- from Your use of such materials. The Licensor makes no representation
119
- or warranty regarding the rights granted, or not granted, by any
120
- third party, and disclaims any obligation to defend, indemnify, or
121
- hold You harmless against third-party claims.
122
-
123
- The Software is not affiliated with, endorsed by, or sponsored by
124
- Anthropic, PBC.
125
-
126
- 5. CONTRIBUTIONS (INLINE CONTRIBUTOR AGREEMENT)
127
-
128
- If You intentionally submit any contribution (including code,
129
- documentation, configuration, or other materials) for inclusion in the
130
- Software, by submitting that contribution You agree that:
131
-
132
- (a) You grant the Licensor a perpetual, worldwide, non-exclusive,
133
- royalty-free, irrevocable license to use, reproduce, modify,
134
- prepare derivative works of, publicly display, publicly perform,
135
- sublicense, and distribute Your contribution and such derivative
136
- works, under this license and under any other license the
137
- Licensor may choose for the Software in the future;
138
-
139
- (b) You grant the Licensor and every recipient of the Software a
140
- perpetual, worldwide, non-exclusive, royalty-free, irrevocable
141
- patent license under Your essential patent claims to make, have
142
- made, use, run, and otherwise exploit Your contribution and the
143
- Software incorporating it;
144
-
145
- (c) the contribution is Your original work, or You have sufficient
146
- rights to submit it under this Section 5, and the contribution
147
- does not knowingly infringe any third-party rights or include
148
- third-party material that conflicts with this license;
149
-
150
- (d) the contribution is submitted without any expectation of payment
151
- and without any additional terms or conditions; the Licensor is
152
- under no obligation to accept, retain, or attribute it.
153
-
154
- If You contribute on behalf of an Organization, You represent that You
155
- are authorized to bind that Organization to this Section 5.
156
-
157
- 6. DISCLAIMER OF WARRANTY
158
-
159
- THE SOFTWARE IS PROVIDED "AS IS" AND "AS AVAILABLE", WITHOUT WARRANTY
160
- OF ANY KIND, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING WITHOUT
161
- LIMITATION ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
162
- PARTICULAR PURPOSE, TITLE, ACCURACY, OR NON-INFRINGEMENT. YOU ASSUME
163
- ALL RISK ASSOCIATED WITH USE OF THE SOFTWARE, INCLUDING ANY RISK
164
- ARISING FROM ITS INTERACTION WITH THIRD-PARTY MODEL PROVIDERS,
165
- NETWORK SERVICES, OR LOCAL TOOLING.
166
-
167
- 7. LIMITATION OF LIABILITY
168
-
169
- TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL
170
- THE LICENSOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
171
- CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, OR FOR LOST PROFITS,
172
- LOST DATA, OR BUSINESS INTERRUPTION, ARISING OUT OF OR RELATING TO
173
- THIS LICENSE OR THE SOFTWARE, WHETHER IN CONTRACT, TORT, OR ANY OTHER
174
- LEGAL THEORY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
175
-
176
- 8. TERMINATION
177
-
178
- This license terminates automatically and without notice if You
179
- materially breach any of its terms and fail to cure the breach within
180
- thirty (30) days after the Licensor provides written notice (which may
181
- be delivered electronically). For breaches of Section 3(a), 3(b), or
182
- the patent-litigation clause in Section 2, termination is immediate
183
- and no cure period applies. Upon termination, You must immediately
184
- cease all use of the Software and destroy all copies in Your
185
- possession or control. Sections 4, 5, 6, 7, 8, 9, and 10 survive
186
- termination.
187
-
188
- 9. RESERVED RIGHTS
189
-
190
- All rights not expressly granted to You under this license are
191
- reserved by the Licensor. No rights are granted by implication,
192
- estoppel, or otherwise. "Claudin" and any associated logos are
193
- trademarks of the Licensor; no trademark license is granted by this
194
- license except the limited attribution use permitted in Section 3(d).
195
-
196
- 10. SEVERABILITY AND ENTIRE AGREEMENT
197
-
198
- If any provision of this license is held to be unenforceable, the
199
- remaining provisions shall continue in full force and effect, and the
200
- unenforceable provision shall be modified to the minimum extent
201
- necessary to make it enforceable while preserving its intent. This
202
- license constitutes the entire agreement between You and the Licensor
203
- regarding the Software and supersedes any prior or contemporaneous
204
- understanding regarding its subject matter, except for separate
205
- written agreements expressly signed by the Licensor.
206
-
207
- — end of license —
24
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30
+ SOFTWARE.
package/README.md CHANGED
@@ -1,10 +1,13 @@
1
- # Claudin
2
1
 
3
- A coding-agent CLI that works across many model providers — Anthropic, OpenAI, Gemini, Mistral, DeepSeek, xAI Grok, GitHub Copilot, ChatGPT, Z.AI, Moonshot/Kimi, Qwen, Cloudflare, Ollama, LM Studio, Bedrock, Vertex, Azure, and 20+ OpenAI-compatible endpoints — with one consistent terminal workflow.
2
+ # <img src="site/img/icon.png" alt="" width="38" valign="middle" /> Claudin
4
3
 
5
- Claudin is an open fork of the Claude Code agent loop (tools, MCP, sub-agents, slash commands, streaming), retargeted so the model and credentials are chosen entirely from inside the REPL with `/provider`. Telemetry and phone-home paths from upstream are stubbed out at build time and enforced by `bun run verify:privacy`.
4
+ ![Node.js](https://img.shields.io/badge/Node.js-20+-339933?style=flat-square&logo=node.js&logoColor=white)
5
+ ![npm](https://img.shields.io/npm/v/@claudiolabs/claudin?style=flat-square&label=npm&color=CB3837)
6
+ [![License](https://img.shields.io/badge/license-MIT-2563eb)](LICENSE)
6
7
 
7
- [![License](https://img.shields.io/badge/license-source--available-2563eb)](LICENSE)
8
+ **One coding agent CLI. Any LLM.**
9
+
10
+ Claudin brings a terminal-first agentic workflow — bash, file tools, grep, glob, agents, MCP, slash commands, streaming — to any model provider. Switch between OpenAI, Gemini, DeepSeek, Ollama, Mistral, GitHub Copilot, Bedrock, Vertex, and 200+ OpenAI-compatible endpoints without changing your workflow.
8
11
 
9
12
  ---
10
13
 
@@ -14,7 +17,7 @@ Claudin is an open fork of the Claude Code agent loop (tools, MCP, sub-agents, s
14
17
  npm install -g @claudiolabs/claudin@latest
15
18
  ```
16
19
 
17
- Requires Node 22.12+. Works on Linux, macOS, and Windows.
20
+ Requires Node 22.12+. Runs on Linux, macOS, and Windows.
18
21
 
19
22
  ## Quick Start
20
23
 
@@ -22,105 +25,39 @@ Requires Node 22.12+. Works on Linux, macOS, and Windows.
22
25
  claudin
23
26
  ```
24
27
 
25
- On first run, Claudin opens the `/provider` wizard. Pick a preset, sign in or paste a key, and start working no environment variables required. Credentials are saved as profiles under `~/.claudin/`, so you can keep several providers configured and switch between them at any time.
28
+ On first run, Claudin opens the `/provider` wizard pick a preset, sign in or paste a key, and start working. No environment variables required. Credentials are saved as profiles under `~/.claudin/`, so you can keep several providers configured and switch between them anytime.
26
29
 
27
30
  ## Providers
28
31
 
29
- Everything is configured from inside the REPL with `/provider` — pick a preset, and Claudin fills in the base URL, default model, and the right transport (Anthropic, OpenAI-compatible, Gemini, Bedrock, Vertex, Foundry, or Codex).
30
-
31
- **Sign in with your account (OAuth):**
32
-
33
- - **Anthropic** — API key or Claude web sign-in
34
- - **ChatGPT** — Codex OAuth (use your ChatGPT plan)
35
- - **GitHub Copilot** — device-flow OAuth
36
- - **xAI Grok** — OAuth (loopback PKCE)
37
-
38
- **Direct API key:**
39
-
40
- - **OpenAI**
41
- - **Google Gemini**
42
- - **Mistral**
43
- - **DeepSeek**
44
- - **Moonshot AI** — Kimi Code + general API
45
- - **Z.AI** — GLM Coding Plan
46
- - **MiniMax**
47
- - **Alibaba DashScope / Qwen** — China + International coding plans
48
- - **NVIDIA NIM**
49
- - **Cloudflare** — Workers AI + AI Gateway
50
- - **Bankr**
51
-
52
- **OpenAI-compatible aggregators:**
53
-
54
- - OpenRouter, Together AI, Groq, OpenCode Zen, OpenCode GO, Atomic Chat
55
-
56
- **Local:**
57
-
58
- - Ollama, LM Studio, and any other OpenAI-compatible endpoint (**Custom**)
59
-
60
- **Enterprise / cloud:**
32
+ Configure everything from inside the app with `/provider`. Claudin fills in the base URL, default model, and the right transport automatically.
61
33
 
62
- - AWS Bedrock, Google Vertex AI, Azure OpenAI, Azure AI Foundry
63
-
64
- Run `/provider doctor` to check your active profile, or `/provider migrate` to import a legacy `~/.claude/` config.
65
-
66
- ## Slash Commands
67
-
68
- | Command | Description |
69
- |---|---|
70
- | `/provider` | Manage provider profiles and credentials |
71
- | `/model` | Change the active model |
72
- | `/explorer` | Browse the project tree and edit files (nvim-lite, split-pane) — `ctrl+e` |
73
- | `/diff` | Review local changes, stashes, and git log in a tabbed viewer — `ctrl+g` |
74
- | `/plan` | Enter plan mode (explore before coding) |
75
- | `/review` | Code review |
76
- | `/commit` | Commit changes |
77
- | `/mcp` | Manage MCP servers |
78
- | `/skills` | List and run user-invocable skills |
79
- | `/create` | Create or refine skills, rules, and custom agents |
80
- | `/memory` | View and manage project memory |
81
- | `/hooks` | Configure event hooks |
82
- | `/usage` / `/cost` | Token and cost tracking |
83
- | `/config` | Settings |
84
- | `/resume` | Resume a previous session |
85
- | `/fast` | Toggle fast mode |
86
- | `/help` | List all commands |
34
+ - **Sign in with your account (OAuth):** Anthropic, ChatGPT (Codex), GitHub Copilot, xAI Grok
35
+ - **Direct API key:** OpenAI, Gemini, Mistral, DeepSeek, Kimi / Moonshot, Z.AI, MiniMax, Qwen / DashScope, NVIDIA NIM, Cloudflare
36
+ - **Aggregators:** OpenRouter, Together AI, Groq, and other OpenAI-compatible gateways
37
+ - **Local:** Ollama, LM Studio, or any custom OpenAI-compatible endpoint
38
+ - **Enterprise:** AWS Bedrock, Google Vertex AI, Azure OpenAI, Azure AI Foundry
87
39
 
88
40
  ## Features
89
41
 
90
- - **Bring your own provider** — one CLI for every major model provider; switch profiles mid-session with `/provider`.
91
- - **Privacy-first** — analytics, auto-updater, and transcript-sharing paths are replaced with no-op stubs at build time; `bun run verify:privacy` scans the bundle to keep it that way.
92
- - **Lower token & cost usage** — a command-aware Bash output filter strips noise before it reaches the model, and an Anthropic-aware prompt-cache policy keeps the cache prefix stable across turns. Both are on by default.
93
- - **In-terminal explorer & diff** — `/explorer` is a split-pane file tree with a lightweight nvim-style editor; `/diff` is a tabbed reviewer for local changes, stashes, and git log.
94
- - **Sub-agents & coordinator** — spawn specialized agents (Explore, Plan, and custom) in parallel, optionally in the background or in isolated git worktrees.
95
- - **MCP** — connect external tool servers (filesystem, databases, APIs) with a trust dialog and OAuth support.
96
- - **Skills, hooks & plan mode** — user-invocable `/skill` workflows, lifecycle hooks, and a plan-then-execute mode.
97
- - **Auto-memory** — persistent per-project notes under `~/.claudin/projects/`, with private and shared-team scopes.
98
- - **Headless / scriptable** — `claudin -p "prompt"` for pipes and CI, with `--output-format text|json|stream-json`.
99
- - **Fast cold start** — a V8 bytecode cache trims warm-launch time; first run after a build repopulates it.
100
- - **VS Code** — [extension](vscode-extension/claudin-vscode) for launch integration and themes.
42
+ - **Bring your own provider** — switch models mid-session with `/provider` and keep multiple profiles.
43
+ - **Privacy-first** — no analytics, no auto-updater, no transcript sharing; verified against the shipped bundle.
44
+ - **Lower token & cost usage** — a command-aware output filter and a stable prompt-cache policy, both on by default.
45
+ - **In-terminal explorer & diff** — `/explorer` is a split-pane file tree with a lightweight editor; `/diff` is a tabbed reviewer for changes, stashes, and git log.
46
+ - **Sub-agents** — run Explore, Plan, and custom agents in parallel, in the background, or in isolated git worktrees.
47
+ - **MCP, skills, hooks & plan mode** — connect external tool servers and extend the agent to your workflow.
48
+ - **Auto-memory** — persistent per-project notes, with private and team-shared scopes.
49
+ - **Headless & scriptable** — `claudin -p "prompt"` for pipes and CI, with text / JSON output.
101
50
 
102
- ## Source Build
103
-
104
- ```bash
105
- bun install && bun run build && node dist/cli.mjs
106
- ```
51
+ Run `/help` inside the app for the full command list.
107
52
 
108
- Other commands:
53
+ ## Build from Source
109
54
 
110
55
  ```bash
111
- bun run dev # build + run
112
- bun run smoke # build + version check
113
- bun test # full test suite
114
- bun run typecheck # tsc --noEmit
115
- bun run verify:privacy # scan for phone-home patterns
56
+ bun install && bun run build && node dist/cli.mjs
116
57
  ```
117
58
 
118
59
  See [CONTRIBUTING.md](CONTRIBUTING.md) for the build system, feature flags, and pre-PR checks.
119
60
 
120
- ## Disclaimer
121
-
122
- Claudin is an independent project and is not affiliated with, endorsed by, or sponsored by Anthropic. "Claude" and "Claude Code" are trademarks of Anthropic PBC.
123
-
124
61
  ## License
125
62
 
126
- See [LICENSE](LICENSE). Free for personal and internal development use redistribution and sale are not permitted.
63
+ Released under the [MIT License](LICENSE). Claudin is an independent project and is not affiliated with or endorsed by any model provider.
@@ -0,0 +1 @@
1
+ import{bI as a,cI as b,dI as c,eI as d}from"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import"./cli-0.7.5-012a6zfk.mjs";d();export{b as outputSchema,a as inputSchema,c as AgentTool};
@@ -0,0 +1 @@
1
+ import{eb as L}from"./cli-0.7.5-49b2vx6q.mjs";import{fb as K}from"./cli-0.7.5-6mmfvszc.mjs";import{Oc as J,Pc as V}from"./cli-0.7.5-v85dx0nq.mjs";import"./cli-0.7.5-gb57bm0v.mjs";import"./cli-0.7.5-cbkmf04v.mjs";import{Bv as I,Fv as U}from"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import{zY as R}from"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import{F2 as z,H2 as H}from"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import{Lqa as Q}from"./cli-0.7.5-012a6zfk.mjs";var N=Q(R(),1);U();V();H();function w(O){let b=N.c(9),{getFpsMetrics:B,stats:D,initialState:E,children:G}=O,k;if(b[0]!==G||b[1]!==E)k=z(I,{initialState:E,onChangeAppState:J,children:G}),b[0]=G,b[1]=E,b[2]=k;else k=b[2];let q;if(b[3]!==D||b[4]!==k)q=z(L,{store:D,children:k}),b[3]=D,b[4]=k,b[5]=q;else q=b[5];let y;if(b[6]!==B||b[7]!==q)y=z(K,{getFpsMetrics:B,children:q}),b[6]=B,b[7]=q,b[8]=y;else y=b[8];return y}export{w as App};
@@ -0,0 +1 @@
1
+ import{M as a}from"./cli-0.7.5-h9s62ky5.mjs";import"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import"./cli-0.7.5-012a6zfk.mjs";export{a as ApproveApiKey};
@@ -0,0 +1 @@
1
+ import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-012a6zfk.mjs";function n(s){return null}export{n as AssistantSessionChooser};
@@ -0,0 +1 @@
1
+ import{Ua as a,Va as b}from"./cli-0.7.5-0wyg5tbv.mjs";import"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import"./cli-0.7.5-012a6zfk.mjs";export{b as AutoModeOptInDialog,a as AUTO_MODE_DESCRIPTION};
@@ -0,0 +1 @@
1
+ import{FF as P,HF as M,On as S,Pn as I,cR as d,gR as R}from"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import{UZ as _,WZ as m,_Z as h,c0 as b,z0 as E,zY as A}from"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import{F2 as o,G2 as a,H2 as f}from"./cli-0.7.5-xbqxjykr.mjs";import{I2 as T}from"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import{cca as y,pca as N}from"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import{Fha as p,Iha as D}from"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import{Lqa as g}from"./cli-0.7.5-012a6zfk.mjs";D();E();R();N();M();I();f();var B=g(A(),1),w=g(T(),1);function q(C){let e=B.c(7),{onAccept:r}=C,n;if(e[0]===Symbol.for("react.memo_cache_sentinel"))n=[],e[0]=n;else n=e[0];w.default.useEffect(F,n);let t;if(e[1]!==r)t=function(v){e:switch(v){case"accept":{p("tengu_bypass_permissions_mode_dialog_accept",{}),y("userSettings",{skipDangerousModePermissionPrompt:!0}),r();break e}case"decline":d(1)}},e[1]=r,e[2]=t;else t=e[2];let l=t,k=x,i;if(e[3]===Symbol.for("react.memo_cache_sentinel"))i=a(_,{flexDirection:"column",gap:1,children:[a(m,{children:["In Bypass Permissions mode, Claudin will not ask for your approval before running potentially dangerous commands.",o(b,{}),"This mode should only be used in a sandboxed container/VM that has restricted internet access and can easily be restored if damaged."]}),o(m,{children:"By proceeding, you accept all responsibility for actions taken while running in Bypass Permissions mode."}),o(h,{url:"https://code.claude.com/docs/en/security"})]}),e[3]=i;else i=e[3];let s;if(e[4]===Symbol.for("react.memo_cache_sentinel"))s=[{label:"No, exit",value:"decline"},{label:"Yes, I accept",value:"accept"}],e[4]=s;else s=e[4];let c;if(e[5]!==l)c=a(S,{title:"WARNING: Claudin running in Bypass Permissions mode",color:"error",onCancel:k,children:[i,o(P,{options:s,onChange:(u)=>l(u)})]}),e[5]=l,e[6]=c;else c=e[6];return c}function x(){d(0)}function F(){p("tengu_bypass_permissions_mode_dialog_shown",{})}export{q as BypassPermissionsModeDialog};
@@ -0,0 +1 @@
1
+ import{$g as b,_g as a}from"./cli-0.7.5-f8j1xqbv.mjs";import"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import"./cli-0.7.5-012a6zfk.mjs";b();export{a as ClaudeMdExternalIncludesDialog};
@@ -0,0 +1 @@
1
+ import{wH as a,yH as b}from"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import"./cli-0.7.5-012a6zfk.mjs";b();export{a as ConsoleOAuthFlow};
@@ -0,0 +1,7 @@
1
+ import{$f as BQ,Zf as YX,_f as JY,ag as gX,bg as FQ,cg as uX,dg as mJ,fg as ZX,gg as $X,hg as QY}from"./cli-0.7.5-a36ctp71.mjs";import"./cli-0.7.5-3mhw32x1.mjs";import"./cli-0.7.5-rg2nrraj.mjs";import{CF as eX,Cv as QX,Fv as tX,Jv as xQ,Mv as rX,Nu as SJ,On as eQ,Ou as tJ,Pn as sX,Pu as JX,Pv as jQ,Qu as eJ,Qv as cX,zF as XX}from"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import{JX as s,KX as fX,jX as BJ,kX as TQ,yX as tQ,zX as iX}from"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import{IY as lQ,UZ as A,VY as iQ,WZ as z,ZY as lX,e0 as wQ,o0 as sQ,z0 as ZJ}from"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import{E2 as oQ,F2 as q,G2 as B,H2 as p}from"./cli-0.7.5-xbqxjykr.mjs";import{I2 as c}from"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import{I7 as $J,J7 as oX}from"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import{E9 as cQ,Fba as aX,G9 as TJ,H9 as jJ,M9 as nQ,Q_ as HJ,T9 as aQ,W9 as rQ,c_ as sJ,e9 as lJ,f9 as iJ,g9 as yX,j$ as kQ,xba as mQ}from"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import{Rga as n,Sga as bQ}from"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import{Lqa as f,Pqa as j}from"./cli-0.7.5-012a6zfk.mjs";function YJ(J,X){let Q={timeout:EX,preserveOutputOnError:!1};return X?iJ(TJ(),J,{...Q,cwd:X}):lJ(TJ(),J,Q)}function kX(J){let X=J.trim().replace(/^\(/,"").replace(/\)$/,"").trim();if(!X)return[];return X.split(",").map((Q)=>Q.trim().replace(bX,"")).filter(Boolean)}function TX(J){let X=[];for(let Q of J.split(`
2
+ `)){let Y=Q.replace(XQ,""),$=Y.indexOf(b);if($===-1){if(Q.trim()==="")continue;X.push({graphPrefix:Q,isCommit:!1,hash:"",shortHash:"",author:"",subject:"",refs:[]});continue}let K=Y.slice(0,$),W=Y.slice($+b.length).split(b);X.push({graphPrefix:K,isCommit:!0,hash:W[0]??"",shortHash:W[1]??"",author:W[2]??"",subject:W[3]??"",refs:kX(W[4]??"")})}return X}async function YQ(J){let{skip:X=0,limit:Q=CX,cwd:Y}=J??{};if(!Y&&!await jJ())return[];let $=["--no-optional-locks","log","--graph","--decorate=short",`--format=${FX}`,"-n",String(Q)];if(X>0)$.push("--skip",String(X));let{stdout:K,code:W}=await YJ($,Y);if(W!==0)return[];return TX(K)}function ZQ(J){return[...J.entries()].map(([X,Q])=>({path:X,added:Q.added,removed:Q.removed,isBinary:Q.isBinary,...Q.renamedFrom?{renamedFrom:Q.renamedFrom}:{}}))}async function $Q(J,X){if(!LX.test(J))return[];let{stdout:Q,code:Y}=await YJ(["--no-optional-locks","show","--numstat","--format=",J],X);if(Y!==0)return[];return ZQ(SJ(Q).perFileStats)}function jX(J){let X=[];for(let Q of J.split(`
3
+ `)){let Y=Q.replace(XQ,"");if(!Y.startsWith(b))continue;let $=Y.slice(b.length).split(b),K=($[0]??"").trim();if(!K)continue;let W=($[1]??"").trim(),_=W.match(vX);X.push({ref:K,subject:W,branch:_?.[1]??""})}return X}async function RJ(J){if(!J&&!await jJ())return[];let{stdout:X,code:Q}=await YJ(["--no-optional-locks","stash","list",`--format=${DX}`],J);if(Q!==0)return[];return jX(X)}async function qQ(J,X){if(!QQ.test(J))return new Map;let{stdout:Q,code:Y}=await YJ(["--no-optional-locks","stash","show","-p","--src-prefix=a/","--dst-prefix=b/",J],X);if(Y!==0)return new Map;return tJ(Q)}async function KQ(J,X){if(!QQ.test(J))return[];let{stdout:Q,code:Y}=await YJ(["--no-optional-locks","stash","show","--numstat",J],X);if(Y!==0)return[];return ZQ(SJ(Q).perFileStats)}var EX=5000,CX=50,b="\x1F",JQ="\x1E",FX,DX,LX,QQ,vX,bX,XQ;var AJ=j(()=>{yX();sJ();eJ();FX=`${b}%H${b}%h${b}%an${b}%s${b}%d${JQ}`,DX=`${b}%gd${b}%s${JQ}`,LX=/^[0-9a-f]{4,40}$/i,QQ=/^stash@\{\d+\}$/,vX=/^(?:WIP on|On) ([^:]+):/,bX=/^HEAD -> /,XQ=/\x1e\s*$/});function zQ(J,X){let[Q,Y]=GJ.useState(null);return GJ.useEffect(()=>{if(!J){Y([]);return}let $=!1;Y(null);let K=setTimeout(()=>{$Q(J,X).then((W)=>{if(!$)Y(W)})},SX);return()=>{$=!0,clearTimeout(K)}},[J,X]),Q}var GJ,SX=150;var OQ=j(()=>{AJ();GJ=f(c(),1)});function WQ(J){let[X,Q]=L.useState([]),[Y,$]=L.useState(!1),[K,W]=L.useState(!0),_=L.useRef(!1),N=L.useRef(!1),H=L.useRef(0),O=L.useRef(0),I=L.useCallback(async(T,P)=>{let yJ=++H.current;N.current=!0,$(!0);let y=await YQ({skip:T,limit:VQ,cwd:J});if(yJ!==H.current)return;let h=y.filter((m)=>m.isCommit).length;Q((m)=>P?[...m,...y]:y),O.current=T+h,W(h>=VQ),$(!1),N.current=!1},[J]),M=L.useRef(J);L.useEffect(()=>{if(M.current===J)return;if(M.current=J,Q([]),W(!0),O.current=0,_.current)I(0,!1)},[J,I]);let k=L.useCallback(()=>{if(_.current)return;_.current=!0,I(0,!1)},[I]),v=L.useCallback(()=>{if(!K||N.current)return;I(O.current,!0)},[I,K]),F=L.useCallback(()=>{_.current=!0,O.current=0,I(0,!1)},[I]);return{rows:X,loading:Y,hasMore:K,ensureLoaded:k,loadMore:v,refresh:F}}var L,VQ=50;var _Q=j(()=>{AJ();L=f(c(),1)});function NQ(J){let[X,Q]=x.useState([]),[Y,$]=x.useState(!1),K=x.useRef(!1),W=x.useCallback(()=>{if(K.current)return;K.current=!0,(async()=>{let H=await RJ(J);Q(H),$(!0)})()},[J]),_=x.useCallback(()=>{K.current=!0,(async()=>{let H=await RJ(J);Q(H),$(!0)})()},[J]),N=x.useCallback(async(H)=>{let[O,I]=await Promise.all([qQ(H,J),KQ(H,J)]);return{files:I,hunks:O}},[J]);return{entries:X,loaded:Y,ensureLoaded:W,refresh:_,loadStash:N}}var x;var UQ=j(()=>{AJ();x=f(c(),1)});function RX(J){if(!J||typeof J!=="object")return!1;let X=J,Q=typeof X.filePath==="string",Y=Array.isArray(X.structuredPatch)&&X.structuredPatch.length>0,$=X.type==="create"&&typeof X.content==="string";return Q&&(Y||$)}function pX(J){return"type"in J&&(J.type==="create"||J.type==="update")}function mX(J){if(!J||typeof J!=="object")return!1;let X=J;if(!Array.isArray(X.files))return!1;return X.files.every((Q)=>{if(!Q||typeof Q!=="object")return!1;let Y=Q;return typeof Y.absPath==="string"&&Array.isArray(Y.structuredPatch)})}function wX(J,X,Q,Y){let $=J.files.get(X);if(!$)$={filePath:X,hunks:[],isNewFile:Y,linesAdded:0,linesRemoved:0},J.files.set(X,$);$.hunks.push(...Q);let{added:K,removed:W}=AQ(Q);if($.linesAdded+=K,$.linesRemoved+=W,Y)$.isNewFile=!0}function AQ(J){let X=0,Q=0;for(let Y of J)for(let $ of Y.lines)if($.startsWith("+"))X++;else if($.startsWith("-"))Q++;return{added:X,removed:Q}}function xX(J){if(J.type!=="user")return"";let X=J.message.content,Q=typeof X==="string"?X:"";if(Q.length<=30)return Q;return Q.slice(0,29)+"…"}function IQ(J){let X=0,Q=0;for(let Y of J.files.values())X+=Y.linesAdded,Q+=Y.linesRemoved;J.stats={filesChanged:J.files.size,linesAdded:X,linesRemoved:Q}}function hX(J,X){if(RX(X)){let{filePath:Q,structuredPatch:Y}=X,$="type"in X&&X.type==="create",K=J.files.get(Q);if(!K)K={filePath:Q,hunks:[],isNewFile:$,linesAdded:0,linesRemoved:0},J.files.set(Q,K);if($&&Y.length===0&&pX(X)){let _=X.content.split(`
4
+ `),N={oldStart:0,oldLines:0,newStart:1,newLines:_.length,lines:_.map((H)=>"+"+H)};K.hunks.push(N),K.linesAdded+=_.length}else{K.hunks.push(...Y);let{added:W,removed:_}=AQ(Y);K.linesAdded+=W,K.linesRemoved+=_}if($)K.isNewFile=!0}else if(mX(X))for(let Q of X.files){let Y=Q.type==="move"&&Q.movePath?Q.movePath:Q.absPath;wX(J,Y,Q.structuredPatch,Q.type==="add")}}function GQ(J){let X=MJ.useRef({completedTurns:[],currentTurn:null,lastProcessedIndex:0,lastTurnIndex:0});return MJ.useMemo(()=>{let Q=X.current;if(J.length<Q.lastProcessedIndex)Q.completedTurns=[],Q.currentTurn=null,Q.lastProcessedIndex=0,Q.lastTurnIndex=0;for(let $=Q.lastProcessedIndex;$<J.length;$++){let K=J[$];if(!K||K.type!=="user")continue;if(!(K.toolUseResult||Array.isArray(K.message.content)&&K.message.content[0]?.type==="tool_result")&&!K.isMeta){if(Q.currentTurn&&Q.currentTurn.files.size>0)IQ(Q.currentTurn),Q.completedTurns.push(Q.currentTurn);Q.lastTurnIndex++,Q.currentTurn={turnIndex:Q.lastTurnIndex,userPromptPreview:xX(K),timestamp:K.timestamp,files:new Map,stats:{filesChanged:0,linesAdded:0,linesRemoved:0}}}else if(Q.currentTurn&&K.toolUseResult)hX(Q.currentTurn,K.toolUseResult)}Q.lastProcessedIndex=J.length;let Y=[...Q.completedTurns];if(Q.currentTurn&&Q.currentTurn.files.size>0)IQ(Q.currentTurn),Y.push(Q.currentTurn);return Y.reverse()},[J])}var MJ;var MQ=j(()=>{MJ=f(c(),1)});function pJ(J,X,Q=new Map,Y=!1){if(J.length===0)return[];if(X===void 0)return J.map((O)=>({kind:"hunk",hunk:O}));let $=X.split(`
5
+ `);if($.length>0&&$[$.length-1]==="")$.pop();let K=$.length,W=(O,I)=>{let M=Math.max(0,Math.min(I,K-(O.newStart-1))),k=[];for(let v=0;v<M;v++)k.push(" "+($[O.newStart-1+v]??""));return{oldStart:O.oldStart,oldLines:M,newStart:O.newStart,newLines:M,lines:k}},_=[],N=(O)=>{if(O.count<=0)return;let I=`gap@${O.newStart}`,M=Y?O.count:Math.max(0,Math.min(Q.get(I)??0,O.count));if(M<=0){_.push({kind:"gap",id:I,startLine:O.newStart,lineCount:O.count});return}if(M>=O.count){_.push({kind:"hunk",hunk:W(O,O.count)});return}_.push({kind:"hunk",hunk:W(O,M)}),_.push({kind:"gap",id:I,startLine:O.newStart+M,lineCount:O.count-M})},H=J[0];N({oldStart:1,newStart:1,count:H.newStart-1});for(let O=0;O<J.length;O++){let I=J[O];_.push({kind:"hunk",hunk:I});let M=I.newStart+I.newLines,k=I.oldStart+I.oldLines,v=J[O+1];if(v)N({oldStart:k,newStart:M,count:v.newStart-M});else N({oldStart:k,newStart:M,count:K-M+1})}return _}var HQ=()=>{};function yQ({files:J}){let X=PQ.useMemo(BQ,[]);if(J===null)return q(z,{dimColor:!0,children:"Loading…"});if(J.length===0)return q(z,{dimColor:!0,children:"No files"});return q(A,{flexDirection:"column",children:J.map((Q)=>{let Y=X.fileIcon(Q.path);return B(A,{flexDirection:"row",children:[B(z,{children:[Y?`${Y} `:"",Q.path]}),q(A,{flexGrow:1}),Q.isBinary?q(z,{dimColor:!0,italic:!0,children:"Binary"}):B(z,{children:[Q.added>0&&B(z,{color:"diffAddedWord",children:["+",Q.added]}),Q.added>0&&Q.removed>0?" ":"",Q.removed>0&&B(z,{color:"diffRemovedWord",children:["-",Q.removed]})]})]},Q.path)})})}var PQ;var EQ=j(()=>{ZJ();gX();p();PQ=f(c(),1)});function CQ(J){return J.startsWith("tag: ")?{label:J.slice(5),isTag:!0}:{label:J,isTag:!1}}function dX(J,X,Q){if(J<=Q)return{start:0,end:J};let Y=Math.max(0,X-Math.floor(Q/2)),$=Y+Q;if($>J)$=J,Y=Math.max(0,$-Q);return{start:Y,end:$}}function LQ({rows:J,selectedRow:X,maxVisible:Q,loading:Y,hasMore:$}){let{start:K,end:W}=DQ.useMemo(()=>dX(J.length,X,Q),[J.length,X,Q]);if(J.length===0)return q(z,{dimColor:!0,children:Y?"Loading…":"No commits"});let _=J.slice(K,W);return B(A,{flexDirection:"column",children:[K>0&&q(z,{dimColor:!0,children:` ↑ ${K} more`}),_.map((N,H)=>{let O=K+H;if(!N.isCommit)return q(z,{dimColor:!0,wrap:"truncate",children:N.graphPrefix},O);if(O===X){let I=N.refs.length>0?" "+N.refs.map((M)=>CQ(M).label).join(" "):"";return q(z,{wrap:"truncate",inverse:!0,bold:!0,children:`${N.graphPrefix}${N.shortHash} ${N.author}${I} ${N.subject}`},O)}return B(z,{wrap:"truncate",children:[N.graphPrefix,q(z,{color:"permission",children:N.shortHash})," ",q(z,{color:FQ(N.author),bold:!0,children:N.author}),N.refs.map((I,M)=>{let{label:k,isTag:v}=CQ(I);return q(z,{color:v?"success":"warning",bold:!0,children:` ${k}`},M)}),` ${N.subject}`]},O)}),W<J.length?q(z,{dimColor:!0,children:` ↓ ${J.length-W} more`}):$?q(z,{dimColor:!0,children:Y?" ↓ loading…":" ↓ more"}):null]})}var DQ;var vQ=j(()=>{ZJ();uX();p();DQ=f(c(),1)});import{resolve as nX}from"path";function RQ({filePath:J,hunks:X,isLargeFile:Q,isBinary:Y,isTruncated:$,isUntracked:K,renamedFrom:W,root:_}){let{columns:N}=BJ(),{firstLine:H,fileContent:O}=SQ.useMemo(()=>{if(!J)return{firstLine:null,fileContent:void 0};let I=HJ(nX(_||n(),J));return{firstLine:I?.split(`
6
+ `)[0]??null,fileContent:I??void 0}},[J,_]);if(K&&X.length===0)return B(A,{flexDirection:"column",width:"100%",children:[B(A,{children:[q(z,{bold:!0,children:J}),q(z,{dimColor:!0,children:" (new file)"})]}),q(s,{padding:4}),q(A,{flexDirection:"column",children:q(z,{dimColor:!0,italic:!0,children:"New file not yet staged."})})]});if(Y)return B(A,{flexDirection:"column",width:"100%",children:[q(A,{children:q(z,{bold:!0,children:J})}),q(s,{padding:4}),q(z,{dimColor:!0,italic:!0,children:"Binary file - cannot display diff"})]});if(Q)return B(A,{flexDirection:"column",width:"100%",children:[q(A,{children:q(z,{bold:!0,children:J})}),q(s,{padding:4}),q(z,{dimColor:!0,italic:!0,children:"Large file - diff exceeds 1 MB limit"})]});if(W&&X.length===0)return B(A,{flexDirection:"column",width:"100%",children:[q(A,{children:q(z,{bold:!0,children:J})}),q(s,{padding:4}),q(z,{dimColor:!0,italic:!0,children:`renamed from ${W}`})]});return B(A,{flexDirection:"column",width:"100%",children:[B(A,{children:[q(z,{bold:!0,children:J}),$&&q(z,{dimColor:!0,children:" (truncated)"})]}),q(s,{padding:4}),q(A,{flexDirection:"column",children:X.length===0?q(z,{dimColor:!0,children:"No diff content"}):q(jQ,{hunks:X,dim:!1,width:N-2-2,filePath:J,firstLine:H,fileContent:O})}),$&&q(z,{dimColor:!0,italic:!0,children:"… diff truncated (exceeded 400 line limit)"})]})}var SQ;var pQ=j(()=>{TQ();ZJ();bQ();kQ();fX();cX();p();SQ=f(c(),1)});function hQ(J,{filePath:X,firstLine:Q,fileContent:Y,width:$,theme:K}){let W=xQ(),_=Math.max(0,$-16),N=[];for(let H of J){if(H.kind==="gap"){N.push(`··· ${H.lineCount} ${mQ(H.lineCount,"line")} ${"─".repeat(_)}`);continue}let O=W?new W(H.hunk,Q,X,Y??null).render(K,$,!1):null;if(O)N.push(...O);else for(let I of H.hunk.lines)N.push(I)}return N}function gQ({rows:J,scrollOffset:X,height:Q,width:Y}){if(J.length===0)return q(z,{dimColor:!0,children:"No diff content"});let $=Math.max(0,Math.min(X,Math.max(0,J.length-Q))),K=J.slice($,$+Q);return q(A,{flexDirection:"column",width:"100%",children:q(wQ,{lines:K,width:Y})})}var uQ=j(()=>{ZJ();aX();rX();p()});import{resolve as XY}from"path";function PJ(J){return{content:` ${J} `,position:"top",align:"start"}}function YY(J){let X=[...J.files.values()].map((Y)=>({path:Y.filePath,linesAdded:Y.linesAdded,linesRemoved:Y.linesRemoved,isBinary:!1,isLargeFile:!1,isTruncated:!1,isNewFile:Y.isNewFile})).sort((Y,$)=>Y.path.localeCompare($.path)),Q=new Map;for(let Y of J.files.values())Q.set(Y.filePath,Y.hunks);return{root:n(),name:"",branch:"",files:X,hunks:Q}}function dQ(J){let X;if(J.isBinary)X=$J.italic("binary");else if(J.isLargeFile)X=$J.italic("large");else{let Q=[];if(J.linesAdded>0)Q.push($J.green(`+${J.linesAdded}`));if(J.linesRemoved>0)Q.push($J.red(`-${J.linesRemoved}`));if(Q.length===0)return null;X=Q.join(" ")}return{content:` ${X} `,position:"top",align:"end"}}function fQ(J,X,Q){let Y=X+Q;while(Y>=0&&Y<J.length){if(J[Y].isCommit)return Y;Y+=Q}return X}function UZ({messages:J,onDone:X}){let{columns:Q,rows:Y}=BJ();XX("diff-dialog",!0);let $=QX((Z)=>Z.toolPermissionContext.additionalWorkingDirectories),K=U.useMemo(()=>cQ(n(),[...$.keys()]),[$]),W=U.useMemo(()=>[n(),...$.keys()],[$]),_=YX(K,W),N=K[0]??_.roots[0],H=GQ(J),[O,I]=U.useState(0),M=U.useMemo(()=>_.groups.map((Z)=>({root:Z.root,name:Z.name})),[_.groups]),k=M.length?M[Math.min(O,M.length-1)]:void 0,v=k?.root??N,F=WQ(v),T=NQ(N),[P,yJ]=U.useState("local"),[y,h]=U.useState("list"),[m,wJ]=U.useState(0),[qJ,KJ]=U.useState(0),[xJ,hJ]=U.useState(new Set),[a,t]=U.useState(0),[EJ,CJ]=U.useState(new Map),[gJ,FJ]=U.useState(!1),[qX,g]=U.useState(0),[e,uJ]=U.useState(null),[r,KX]=U.useState(null),[zX,OX]=U.useState(0),[dJ]=lQ(),w=iQ()&&Q>=100,zJ=Math.max(30,Math.min(50,Math.round(Q*0.3))),u=Math.max(6,Y-12),OJ=u+2,DJ=Math.max(20,Q-zJ-10),fJ=w?Math.max(3,u-2):15,VJ=U.useMemo(()=>[{type:"working"},...H.map((Z)=>({type:"turn",turn:Z})),...T.entries.map((Z)=>({type:"stash",ref:Z.ref,subject:Z.subject}))],[H,T.entries]),E=VJ[Math.min(m,VJ.length-1)]??{type:"working"};U.useEffect(()=>{if(E.type!=="stash")return;if(e?.ref===E.ref)return;let Z=!1;return T.loadStash(E.ref).then((V)=>{if(Z)return;let G=V.files.map((D)=>({path:D.path,linesAdded:D.added,linesRemoved:D.removed,isBinary:D.isBinary,isLargeFile:!1,isTruncated:!1})).sort((D,IJ)=>D.path.localeCompare(IJ.path));uJ({ref:E.ref,group:{root:n(),name:"",branch:"",files:G,hunks:V.hunks}})}),()=>{Z=!0}},[E,T,e]);let o=U.useMemo(()=>{if(E.type==="working")return _.groups;if(E.type==="turn")return[YY(E.turn)];return e?.ref===E.ref?[e.group]:[]},[E,_.groups,e]),WJ=U.useMemo(()=>ZX(o),[o]),l=U.useMemo(()=>mJ(o,xJ),[o,xJ]),S=l[qJ]??null,d=S&&(S.kind==="dir"||S.kind==="group")?S:null,C=U.useMemo(()=>S?.kind==="file"?{file:S.file,hunks:S.hunks,root:S.root}:null,[S]),LJ=(Z)=>hJ((V)=>{let G=new Set(V);if(G.has(Z))G.delete(Z);else G.add(Z);return G}),R=U.useMemo(()=>{if(!C||E.type!=="working")return;let Z=C.file;if(Z.isBinary||Z.isLargeFile)return;return HJ(XY(C.root||n(),Z.path))??void 0},[C,E]),cJ=R?.split(`
7
+ `)[0]??null,JJ=!!C?.file.isUntracked,i=U.useMemo(()=>{if(JJ&&R!=null){if(R.slice(0,8000).includes("\x00"))return[];return JX(R)}return C?.hunks??[]},[JJ,R,C]),nJ=U.useMemo(()=>pJ(i,JJ?void 0:R,EJ,gJ),[i,JJ,R,EJ,gJ]),_J=U.useMemo(()=>hQ(nJ,{filePath:C?.file.path??"",firstLine:cJ,fileContent:R,width:DJ,theme:dJ}),[nJ,C,cJ,R,DJ,dJ]),QJ=Math.max(0,_J.length-u),vJ=Math.min(qX,QJ),aJ=U.useRef(null);U.useEffect(()=>{if(WJ.length===0)return;if(aJ.current===m)return;aJ.current=m,hJ(new Set);let V=mJ(o,new Set).findIndex((G)=>G.kind==="file");KJ(V>=0?V:0)},[m,WJ,o]),U.useEffect(()=>{if(l.length>0&&qJ>=l.length)KJ(l.length-1)},[l,qJ]);let VX=`${m}:${C?.file.path??""}`;U.useEffect(()=>{CJ(new Map),FJ(!1),g(0)},[VX]),U.useEffect(()=>{if(F.rows.length===0)return;let Z=F.rows[a];if(!Z||!Z.isCommit){let V=F.rows.findIndex((G)=>G.isCommit);if(V>=0)t(V)}},[F.rows,a]);let bJ=F.rows[a]?.isCommit?F.rows[a].hash:null,XJ=zQ(bJ,v),kJ=U.useMemo(()=>{if(!XJ||XJ.length===0)return null;let Z=0,V=0;for(let G of XJ)Z+=G.added,V+=G.removed;return{added:Z,removed:V}},[XJ]),NJ=P==="log"?v:N;U.useEffect(()=>{let Z=!1;return(async()=>{let[V,G,D]=await Promise.all([nQ(NJ),aQ(NJ),rQ(NJ)]);if(!Z)KX({branch:V,ahead:G.ahead,behind:G.behind,dirty:D.tracked.length+D.untracked.length})})().catch(()=>{}),()=>{Z=!0}},[zX,NJ]);let WX=()=>{let Z=pJ(C?.hunks??[],R).filter((V)=>V.kind==="gap");for(let V of Z){let G=EJ.get(V.id)??0;if(G<V.lineCount){CJ((D)=>{let IJ=new Map(D);return IJ.set(V.id,Math.min(V.lineCount,G+10)),IJ});return}}},_X=()=>{if(_.refresh(),P==="log")F.refresh();if(T.loaded){if(T.refresh(),E.type==="stash")uJ(null)}OX((Z)=>Z+1),CJ(new Map),FJ(!1),g(0)},NX=()=>{if(y==="content")h("list");else X("Diff dialog dismissed",{display:"system"})};tQ({"diff:nextTab":()=>{let Z=P==="local"?"log":"local";if(Z==="log")F.ensureLoaded();yJ(Z),h("list")},"diff:focusList":()=>{if(y==="content"){h("list");return}if(P==="local"&&d&&!d.collapsed){LJ(d.key);return}return!1},"diff:focusContent":()=>{if(y!=="list")return!1;if(P==="local"&&d){if(d.collapsed)LJ(d.key);return}h("content")},"diff:previousSource":()=>{if(y!=="list")return!1;if(P==="log"){if(M.length<=1)return!1;I((Z)=>Math.max(0,Z-1)),t(0);return}T.ensureLoaded(),wJ((Z)=>Math.max(0,Z-1))},"diff:nextSource":()=>{if(y!=="list")return!1;if(P==="log"){if(M.length<=1)return!1;I((Z)=>Math.min(M.length-1,Z+1)),t(0);return}T.ensureLoaded(),wJ((Z)=>Math.min(VJ.length-1,Z+1))},"diff:previousFile":()=>{if(y==="content"){if(w&&P==="local"){g((Z)=>Math.max(0,Z-1));return}return!1}if(P==="local")KJ((Z)=>Math.max(0,Z-1));else t((Z)=>fQ(F.rows,Z,-1))},"diff:nextFile":()=>{if(y==="content"){if(w&&P==="local"){g((Z)=>Math.min(QJ,Z+1));return}return!1}if(P==="local")KJ((Z)=>Math.min(l.length-1,Z+1));else{let Z=fQ(F.rows,a,1);if(Z===a&&F.hasMore)F.loadMore();t(Z)}},"diff:viewDetails":()=>{if(y==="list"){if(P==="local"&&d){LJ(d.key);return}h("content");return}if(P==="local"&&w){WX();return}return!1},"diff:expandAll":()=>{if(P==="local")FJ((Z)=>!Z);else return!1},"diff:refresh":_X},{context:"DiffDialog"}),sQ((Z,V)=>{if(V.pageUp)g((G)=>Math.max(0,G-u));else if(V.pageDown)g((G)=>Math.min(QJ,G+u));else if(Z==="g")g(0);else if(Z==="G")g(QJ)},{isActive:w&&P==="local"&&y==="content"});let UX=!_.loading&&_.groups.length===0,IX=B(oQ,{children:[B(z,{inverse:P==="local",bold:P==="local",children:[" ","Local Changes"," "]})," ",B(z,{inverse:P==="log",bold:P==="log",children:[" ","Log"," "]})]}),AX=E.type==="working"?"working tree":E.type==="turn"?`T${E.turn.turnIndex}`:E.ref,GX=P==="local"&&B(z,{dimColor:!0,children:[`source: ${AX} ▾`,VJ.length>1?" [ ] source":""]}),MX=P==="log"&&M.length>1&&q(z,{dimColor:!0,children:`project: ${k?.name??""} ▾ [ ] project`}),HX=r?`${r.branch}${r.ahead?` ↑${r.ahead}`:""}${r.behind?` ↓${r.behind}`:""} · ${r.dirty} changed`:"",BX=P==="log"?`Tab tabs · ↑/↓ commits · → files · ← back${M.length>1?" · [ ] project":""} · r refresh · Esc close`:y==="content"?"Tab tabs · ↑/↓ scroll · PgUp/PgDn page · Enter expand gap · a expand all · ← files · Esc close":"Tab tabs · ↑/↓ move · ←/→ folder · Enter open · [ ] source · a expand · r refresh · Esc close",PX=B(A,{flexDirection:"row",children:[q(z,{dimColor:!0,children:HX}),q(A,{flexGrow:1}),q(z,{dimColor:!0,children:BX})]}),rJ=_.loading?"Loading diff…":E.type==="stash"&&o.length===0?"Loading stash…":E.type==="turn"?"No file changes in this turn":"Working tree is clean",oJ=(Z)=>{if(!C){let G=WJ.length===0?rJ:S?.kind==="dir"?"Folder — Enter or ←/→ to collapse/expand":"Select a file to view its diff";return q(z,{dimColor:!0,children:G})}let V=C.file;if(!w)return q(RQ,{filePath:V.path,hunks:i,isBinary:V.isBinary,isLargeFile:V.isLargeFile,isTruncated:V.isTruncated,isUntracked:V.isUntracked,renamedFrom:V.renamedFrom,root:C.root});if(V.isBinary)return q(z,{dimColor:!0,italic:!0,children:"Binary file - cannot display diff"});if(V.isLargeFile)return q(z,{dimColor:!0,italic:!0,children:"Large file - diff exceeds 1 MB limit"});if(V.isUntracked&&i.length===0)return q(z,{dimColor:!0,italic:!0,children:"New file not yet staged."});if(V.renamedFrom&&i.length===0)return q(z,{dimColor:!0,italic:!0,children:`renamed from ${V.renamedFrom}`});return q(gQ,{rows:_J,scrollOffset:vJ,height:Z,width:DJ})},UJ;if(UX)UJ=q(A,{marginTop:1,children:q(z,{dimColor:!0,children:"Not a git repository"})});else if(P==="local"){let Z=WJ.length===0?q(z,{dimColor:!0,children:rJ}):q($X,{rows:l,selectedIndex:qJ,maxVisible:fJ,width:w?zJ-2:Q-4});UJ=w?B(A,{flexDirection:"row",gap:1,children:[q(A,{width:zJ,flexShrink:0,height:OJ,overflow:"hidden",flexDirection:"column",borderStyle:"round",borderColor:y==="list"?"permission":"subtle",borderText:PJ("Files"),children:Z}),q(A,{flexGrow:1,height:OJ,overflow:"hidden",flexDirection:"column",borderStyle:"round",borderColor:y==="content"?"permission":"subtle",borderText:(()=>{let V=PJ(C?`Diff: ${C.file.path}${QJ>0?` ${vJ+1}-${Math.min(_J.length,vJ+u)}/${_J.length}`:""}`:"Diff"),G=C&&JJ&&i.length>0?{...C.file,linesAdded:i[0].newLines,linesRemoved:0}:C?.file,D=G?dQ(G):null;return D?[V,D]:V})(),children:oJ(u)})]}):q(A,{flexDirection:"column",marginTop:1,children:y==="list"?Z:oJ(u)})}else{let Z=q(LQ,{rows:F.rows,selectedRow:a,maxVisible:fJ,loading:F.loading,hasMore:F.hasMore}),V=q(yQ,{files:XJ});UJ=w?B(A,{flexDirection:"row",gap:1,children:[q(A,{width:zJ,flexShrink:0,height:OJ,overflow:"hidden",flexDirection:"column",borderStyle:"round",borderColor:y==="list"?"permission":"subtle",borderText:PJ("Log"),children:Z}),q(A,{flexGrow:1,height:OJ,overflow:"hidden",flexDirection:"column",borderColor:y==="content"?"permission":"subtle",borderStyle:"round",borderText:(()=>{let G=PJ(bJ?`Files in ${bJ.slice(0,7)}`:"Files"),D=kJ?dQ({path:"",linesAdded:kJ.added,linesRemoved:kJ.removed,isBinary:!1,isLargeFile:!1,isTruncated:!1}):null;return D?[G,D]:G})(),children:V})]}):q(A,{flexDirection:"column",marginTop:1,children:y==="list"?Z:V})}return B(eQ,{title:IX,onCancel:NX,color:"background",hideInputGuide:!0,children:[GX,MX,UJ,PX]})}var U;var ZY=j(()=>{oX();eX();OQ();_Q();UQ();TQ();MQ();JY();ZJ();iX();tX();sJ();bQ();kQ();lX();eJ();sX();HQ();EQ();vQ();pQ();QY();uQ();p();U=f(c(),1)});ZY();export{UZ as DiffDialog};
@@ -0,0 +1 @@
1
+ import{ig as a,jg as b}from"./cli-0.7.5-fzktcx0s.mjs";import"./cli-0.7.5-975by9n8.mjs";import"./cli-0.7.5-1raty5m9.mjs";import"./cli-0.7.5-49f39qnb.mjs";import"./cli-0.7.5-mk1nsvev.mjs";import"./cli-0.7.5-2czfx8da.mjs";import"./cli-0.7.5-z2yexv2e.mjs";import"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import"./cli-0.7.5-xbqxjykr.mjs";import"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import"./cli-0.7.5-ghq2axmf.mjs";import"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import"./cli-0.7.5-012a6zfk.mjs";b();export{a as Doctor};
@@ -0,0 +1,6 @@
1
+ import{Zf as hZ,_f as E0,dg as IJ,eg as L0,gg as yZ,hg as F0}from"./cli-0.7.5-a36ctp71.mjs";import{Kg as HZ,Lg as V0,Ng as fZ,Og as vJ,Tg as S0}from"./cli-0.7.5-tqwr1q73.mjs";import"./cli-0.7.5-3mhw32x1.mjs";import{Xh as mZ,Yh as b0}from"./cli-0.7.5-rg2nrraj.mjs";import{CF as v0,Kv as xZ,Mv as D0,On as kZ,Pn as M0,zF as gZ}from"./cli-0.7.5-1130jhj6.mjs";import"./cli-0.7.5-90k5jpxh.mjs";import"./cli-0.7.5-hce2yd4f.mjs";import"./cli-0.7.5-v8apq7df.mjs";import"./cli-0.7.5-5pxnxmzj.mjs";import"./cli-0.7.5-az0dwafe.mjs";import"./cli-0.7.5-1tw92v7f.mjs";import"./cli-0.7.5-akxpdesn.mjs";import"./cli-0.7.5-zftjc44p.mjs";import"./cli-0.7.5-rpnr09s5.mjs";import"./cli-0.7.5-dx6zs9qf.mjs";import"./cli-0.7.5-pd9x4y8x.mjs";import"./cli-0.7.5-h6e17t7j.mjs";import"./cli-0.7.5-q4nf1yjd.mjs";import"./cli-0.7.5-510b39kd.mjs";import"./cli-0.7.5-92scwwjf.mjs";import"./cli-0.7.5-krbmx93g.mjs";import"./cli-0.7.5-jc93grn1.mjs";import"./cli-0.7.5-wpgtmkvc.mjs";import{jX as wZ,kX as O0}from"./cli-0.7.5-hb39f7nj.mjs";import"./cli-0.7.5-6g85h6sa.mjs";import{IY as RZ,UZ as R,VY as CZ,WZ as W,ZY as I0,e0 as NZ,o0 as TZ,z0 as WJ}from"./cli-0.7.5-4mvg3dke.mjs";import"./cli-0.7.5-gd8wcttv.mjs";import"./cli-0.7.5-hh8ynv80.mjs";import"./cli-0.7.5-7bd3ngaj.mjs";import"./cli-0.7.5-j27qn7ks.mjs";import"./cli-0.7.5-hfvrp8qk.mjs";import"./cli-0.7.5-g3ejs520.mjs";import"./cli-0.7.5-sq0v922e.mjs";import"./cli-0.7.5-gmew5n1p.mjs";import"./cli-0.7.5-rc47zyrc.mjs";import"./cli-0.7.5-c6xa3se4.mjs";import"./cli-0.7.5-9pd9feb4.mjs";import{F2 as H,G2 as p,H2 as r}from"./cli-0.7.5-xbqxjykr.mjs";import{I2 as KZ}from"./cli-0.7.5-1w5f2dfy.mjs";import"./cli-0.7.5-p72rah24.mjs";import"./cli-0.7.5-atzfkz67.mjs";import"./cli-0.7.5-m8cf1p72.mjs";import"./cli-0.7.5-fzamc565.mjs";import"./cli-0.7.5-rqvar6g7.mjs";import"./cli-0.7.5-xfxxbwbm.mjs";import"./cli-0.7.5-vmr9xqzs.mjs";import"./cli-0.7.5-9v3pjabj.mjs";import"./cli-0.7.5-z3dzj7v3.mjs";import"./cli-0.7.5-medd7tha.mjs";import{B_ as H0,T_ as PZ,Zea as C,e$ as jZ,ffa as W0,j$ as A0,z_ as zZ}from"./cli-0.7.5-ghq2axmf.mjs";import{Cfa as N0,ofa as BZ}from"./cli-0.7.5-kj54k6vh.mjs";import"./cli-0.7.5-hyyd4eh8.mjs";import"./cli-0.7.5-xt0mqg4f.mjs";import"./cli-0.7.5-hd1mkmqa.mjs";import"./cli-0.7.5-pm9grnq1.mjs";import{Rga as FZ,Sga as B0}from"./cli-0.7.5-9na53kvh.mjs";import"./cli-0.7.5-h3p8qw3f.mjs";import"./cli-0.7.5-tbrfr6hj.mjs";import"./cli-0.7.5-7h3tq3wc.mjs";import"./cli-0.7.5-20s4s7eq.mjs";import"./cli-0.7.5-fzqampqh.mjs";import"./cli-0.7.5-cd6cs7q9.mjs";import"./cli-0.7.5-987zbyps.mjs";import"./cli-0.7.5-rbv538zg.mjs";import"./cli-0.7.5-137tt9mn.mjs";import"./cli-0.7.5-w2vyrb4j.mjs";import"./cli-0.7.5-y3yqkc5p.mjs";import"./cli-0.7.5-5nkj9199.mjs";import{Lqa as UZ,Pqa as i}from"./cli-0.7.5-012a6zfk.mjs";function UJ(Z){return{lines:$0(Z),cursor:{row:0,col:0},colDesired:0,mode:"normal",command:"",dirty:!1,pendingInsert:!1,register:[],pending:null,message:"",undo:[],redo:[]}}function $0(Z){let J=Z.split(`
2
+ `);if(J.length>1&&J[J.length-1]==="")J.pop();return J}function kJ(Z,J){return Z.join(`
3
+ `)+(J?`
4
+ `:"")}function _(Z){return{...Z,cursor:{...Z.cursor}}}function KJ(Z){return{lines:Z.lines.slice(),cursor:{...Z.cursor}}}function z(Z,J=Z.mode){let Q=Z.lines[Z.cursor.row]?.length??0;return J==="insert"?Q:Math.max(0,Q-1)}function l(Z){let J=Math.min(Math.max(0,Z.cursor.row),Math.max(0,Z.lines.length-1));return Z.cursor.row=J,Z.cursor.col=Math.min(Math.max(0,Z.cursor.col),z(Z)),Z}function u(Z){Z.undo=[...Z.undo,KJ(Z)].slice(-200),Z.redo=[],Z.dirty=!0}function NJ(Z){if(Z.pendingInsert)u(Z),Z.pendingInsert=!1}function VJ(Z){let J=_(Z);return J.cursor.col=Math.max(0,J.cursor.col-1),J.colDesired=J.cursor.col,J}function _J(Z){let J=_(Z);return J.cursor.col=Math.min(z(J),J.cursor.col+1),J.colDesired=J.cursor.col,J}function LJ(Z){let J=_(Z);if(J.cursor.row>0)J.cursor.row--,J.cursor.col=Math.min(J.colDesired,z(J));return J}function BJ(Z){let J=_(Z);if(J.cursor.row<J.lines.length-1)J.cursor.row++,J.cursor.col=Math.min(J.colDesired,z(J));return J}function xJ(Z){let J=_(Z);return J.cursor.col=0,J.colDesired=0,J}function gJ(Z){let J=_(Z);return J.cursor.col=z(J),J.colDesired=Number.MAX_SAFE_INTEGER,J}function mJ(Z){let J=_(Z);return J.cursor.row=0,J.cursor.col=Math.min(J.colDesired,z(J)),J}function fJ(Z){let J=_(Z);return J.cursor.row=Math.max(0,J.lines.length-1),J.cursor.col=Math.min(J.colDesired,z(J)),J}function hJ(Z){let J=_(Z),Q=J.lines[J.cursor.row]??"",q=J.cursor.col;while(q<Q.length&&JJ.test(Q[q]))q++;while(q<Q.length&&!JJ.test(Q[q]))q++;if(q>=Q.length&&J.cursor.row<J.lines.length-1)J.cursor.row++,J.cursor.col=0;else J.cursor.col=Math.min(q,z(J));return J.colDesired=J.cursor.col,J}function yJ(Z){let J=_(Z),Q=J.lines[J.cursor.row]??"",q=J.cursor.col-1;while(q>0&&!JJ.test(Q[q]))q--;while(q>0&&JJ.test(Q[q-1]))q--;if(q<0)q=0;return J.cursor.col=q,J.colDesired=q,J}function HJ(Z,J="i"){let Q=_(Z);if(Q.pendingInsert=!0,Q.mode="insert",J==="a")Q.cursor.col=Math.min(Q.cursor.col+1,z(Q,"insert"));else if(J==="A")Q.cursor.col=z(Q,"insert");else if(J==="I")Q.cursor.col=0;return Q}function dJ(Z){let J=_(Z);return J.mode="normal",J.pendingInsert=!1,J.cursor.col=Math.min(J.cursor.col,z(J,"normal")),J.colDesired=J.cursor.col,J}function cJ(Z,J){let Q=_(Z);NJ(Q);let q=Q.lines[Q.cursor.row]??"",L=Math.min(Q.cursor.col,q.length);return Q.lines=Q.lines.slice(),Q.lines[Q.cursor.row]=q.slice(0,L)+J+q.slice(L),Q.cursor.col=L+J.length,Q.colDesired=Q.cursor.col,Q.dirty=!0,Q}function uJ(Z){let J=_(Z);NJ(J);let Q=J.lines[J.cursor.row]??"",q=Math.min(J.cursor.col,Q.length);return J.lines=J.lines.slice(),J.lines.splice(J.cursor.row,1,Q.slice(0,q),Q.slice(q)),J.cursor.row++,J.cursor.col=0,J.colDesired=0,J.dirty=!0,J}function pJ(Z){let J=_(Z);if(J.cursor.col===0&&J.cursor.row===0)return J;if(NJ(J),J.lines=J.lines.slice(),J.cursor.col>0){let Q=J.lines[J.cursor.row]??"";J.lines[J.cursor.row]=Q.slice(0,J.cursor.col-1)+Q.slice(J.cursor.col),J.cursor.col--}else if(J.cursor.row>0){let Q=J.lines[J.cursor.row-1]??"",q=J.lines[J.cursor.row]??"";J.cursor.col=Q.length,J.lines.splice(J.cursor.row-1,2,Q+q),J.cursor.row--}return J.colDesired=J.cursor.col,J.dirty=!0,J}function aJ(Z){let J=_(Z),Q=J.lines[J.cursor.row]??"";if(Q.length===0)return J;return u(J),J.lines=J.lines.slice(),J.lines[J.cursor.row]=Q.slice(0,J.cursor.col)+Q.slice(J.cursor.col+1),l(J)}function nJ(Z){let J=_(Z);if(u(J),J.register=[J.lines[J.cursor.row]??""],J.lines=J.lines.slice(),J.lines.splice(J.cursor.row,1),J.lines.length===0)J.lines=[""];return J.cursor.col=0,J.colDesired=0,l(J)}function iJ(Z){let J=_(Z);return J.register=[J.lines[J.cursor.row]??""],J.message="1 line yanked",J}function lJ(Z){if(Z.register.length===0)return Z;let J=_(Z);return u(J),J.lines=J.lines.slice(),J.lines.splice(J.cursor.row+1,0,...J.register),J.cursor.row+=1,J.cursor.col=0,J.colDesired=0,l(J)}function rJ(Z){if(Z.register.length===0)return Z;let J=_(Z);return u(J),J.lines=J.lines.slice(),J.lines.splice(J.cursor.row,0,...J.register),J.cursor.col=0,J.colDesired=0,l(J)}function oJ(Z){let J=_(Z);return u(J),J.pendingInsert=!1,J.lines=J.lines.slice(),J.lines.splice(J.cursor.row+1,0,""),J.cursor.row+=1,J.cursor.col=0,J.colDesired=0,J.mode="insert",J}function sJ(Z){let J=_(Z);return u(J),J.pendingInsert=!1,J.lines=J.lines.slice(),J.lines.splice(J.cursor.row,0,""),J.cursor.col=0,J.colDesired=0,J.mode="insert",J}function tJ(Z){if(Z.undo.length===0){let q=_(Z);return q.message="Already at oldest change",q}let J=_(Z),Q=J.undo[J.undo.length-1];return J.redo=[...J.redo,KJ(J)].slice(-200),J.undo=J.undo.slice(0,-1),J.lines=Q.lines.slice(),J.cursor={...Q.cursor},J.dirty=!0,l(J)}function eJ(Z){if(Z.redo.length===0){let q=_(Z);return q.message="Already at newest change",q}let J=_(Z),Q=J.redo[J.redo.length-1];return J.undo=[...J.undo,KJ(J)].slice(-200),J.redo=J.redo.slice(0,-1),J.lines=Q.lines.slice(),J.cursor={...Q.cursor},J.dirty=!0,l(J)}function JZ(Z){let J=Z.trim();if(J==="")return{kind:"none"};if(/^\d+$/.test(J))return{kind:"goto",line:parseInt(J,10)};switch(J){case"w":return{kind:"write",force:!1};case"w!":return{kind:"write",force:!0};case"q":return{kind:"quit",force:!1};case"q!":return{kind:"quit",force:!0};case"wq":case"x":return{kind:"writeQuit",force:!1};case"wq!":return{kind:"writeQuit",force:!0};default:return{kind:"invalid",raw:J}}}function ZZ(Z,J){let Q=_(Z);return Q.cursor.row=Math.min(Math.max(0,J-1),Math.max(0,Q.lines.length-1)),Q.cursor.col=Math.min(Q.colDesired,z(Q)),Q}var JJ;var $Z=i(()=>{JJ=/[\p{L}\p{N}_]/u});import{dirname as Q0,relative as X0,resolve as Y0,sep as QZ}from"path";function XZ(Z,J){if(!Z)return"";if(Z.kind==="file"){let Q=Q0(Z.file.path);return Q==="."?"":`${Q}/`}if(Z.kind==="dir"){let Q=`${J}${q0}`,q=Z.key.startsWith(Q)?Z.key.slice(Q.length):"";return q?`${q}/`:""}return""}function YZ(Z,J){let Q=J.trim();if(!Q)return{ok:!1,message:"Empty file name"};if(Q.endsWith("/"))return{ok:!1,message:"Not a file name"};let q=Y0(Z,Q),L=Z.endsWith(QZ)?Z:Z+QZ;if(q!==Z&&!q.startsWith(L))return{ok:!1,message:"Path escapes project root"};return{ok:!0,relPath:X0(Z,q),fullPath:q}}var q0="\x00";var qZ=()=>{};function U0(Z,J,Q,q){let L="",B=0;for(let M of Z)if(M==="\t"){let I=ZJ-B%ZJ;L+=" ".repeat(I),B+=I}else L+=M,B+=1;let S="";for(let M=J;M<J+Q;M++){let I=L[M]??" ";if(q!==void 0&&M===q)S+=`${G0}${I}${AJ}`;else S+=I}return S}function _Z({highlighter:Z,lines:J,cursor:Q,focused:q,height:L,width:B,readOnlyNotice:S}){let M=VZ.useRef(0);if(S)return H(R,{flexDirection:"column",children:H(W,{dimColor:!0,italic:!0,children:S})});let I=Math.max(2,String(J.length).length),a=I+2,g=Math.max(1,B-a),T=J[Q.row]??"",P=Z?Z.displayColOf(T,Q.col):K0(T,Q.col),o=P<g?0:P-g+1,b=M.current;if(Q.row<b)b=Q.row;else if(Q.row>=b+L)b=Q.row-L+1;b=Math.min(Math.max(0,b),Math.max(0,J.length-L)),M.current=b;let n=[];for(let E=b;E<b+L;E++){if(E>=J.length){n.push(`${GZ} ${"~".padStart(I)} ${AJ}`);continue}let h=`${GZ} ${String(E+1).padStart(I)} ${AJ}`,d=q&&E===Q.row?P:void 0,N=Z?Z.renderLineWindow(J[E],o,g,d):U0(J[E],o,g,d);n.push(h+N)}return H(R,{flexDirection:"column",width:"100%",children:H(NZ,{lines:n,width:B})})}function K0(Z,J){let Q=0,q=Math.min(J,Z.length);for(let L=0;L<q;L++)if(Z[L]==="\t")Q+=ZJ-Q%ZJ;else Q+=1;return Q}var VZ,GZ="\x1B[2m",AJ="\x1B[0m",G0="\x1B[7m",ZJ=4;var LZ=i(()=>{WJ();r();VZ=UZ(KZ(),1)});function AZ(Z){let J=new HZ;return J.loadFromFileList(Z),J}function _0(Z,J,Q){if(Z<=Q)return{start:0,end:Z};let q=Math.max(0,J-Math.floor(Q/2)),L=Math.min(Z,q+Q);return q=Math.max(0,L-Q),{start:q,end:L}}function WZ({query:Z,results:J,selected:Q,width:q,maxVisible:L}){let{start:B,end:S}=_0(J.length,Q,L),M=Math.max(4,q-4);return p(R,{flexDirection:"column",children:[p(W,{children:[H(W,{dimColor:!0,children:"❯ "}),Z,H(W,{dimColor:!0,children:"▏"})]}),J.length===0?H(W,{dimColor:!0,children:Z?"no matches":"type to search files"}):J.slice(B,S).map((I,a)=>{let T=B+a===Q;return H(W,{inverse:T,bold:T,dimColor:!T,children:`${T?"▸ ":" "}${BZ(I.path,M)}`},I.path)})]})}var IZ=i(()=>{V0();WJ();N0();r()});function OJ(Z,J){let Q=J.map((q)=>({path:q,linesAdded:0,linesRemoved:0,isBinary:!1,isLargeFile:!1,isTruncated:!1}));return{root:Z,name:"",branch:"",files:Q,hunks:new Map}}function OZ(Z,J){return IJ([Z],J)}function MZ(Z){let J=new Set;for(let Q of IJ([Z],new Set))if(Q.kind==="dir"&&Q.depth===0)J.add(Q.key);return J}var DZ=i(()=>{L0()});import{existsSync as vZ,mkdirSync as bZ,renameSync as z0,statSync as MJ,unlinkSync as P0}from"fs";import{basename as j0,dirname as SZ,resolve as DJ}from"path";function C0(Z){if(Z.isUntracked)return"untracked";if(Z.isNewFile)return"new";if(Z.renamedFrom)return"renamed";return"modified"}function w0(Z){return{content:` ${Z} `,position:"top",align:"start"}}function W1({onDone:Z,context:J}){let{columns:Q,rows:q}=wZ(),[L]=RZ();gZ("explorer-dialog",!0);let B=K.useMemo(()=>FZ(),[]),S=CZ()&&Q>=100,M=Math.max(30,Math.min(50,Math.round(Q*0.3))),I=Math.max(6,q-12),a=I+2,g=Math.max(20,Q-M-10),T=S?Math.max(3,I-2):15,[P,o]=K.useState(null),[b,n]=K.useState(new Set),[E,h]=K.useState(0),[y,d]=K.useState("tree"),[N,e]=K.useState(null),[A,D]=K.useState(null),[bJ,j]=K.useState(""),[F,m]=K.useState(null),[v,w]=K.useState(null),[s,$J]=K.useState(null),k=K.useRef(null);K.useEffect(()=>{let Y=!0;return vJ().then((X)=>{if(!Y)return;o(X),n(MZ(OJ(B,X)))}),()=>{Y=!1}},[B]);let SJ=K.useMemo(()=>OJ(B,P??[]),[B,P]),EJ=K.useMemo(()=>OZ(SJ,b),[SJ,b]),FJ=K.useMemo(()=>AZ(P??[]),[P]),QJ=K.useMemo(()=>F?FJ.search(F.query,50):[],[FJ,F]),zJ=hZ(K.useMemo(()=>[B],[B]),K.useMemo(()=>[B],[B])),c=K.useMemo(()=>zJ.groups.flatMap((Y)=>Y.files),[zJ.groups]),dZ=K.useMemo(()=>{let Y=new Map;for(let X of c)Y.set(X.path,R0[C0(X)]??"yellow");return Y},[c]),PJ=K.useMemo(()=>{if(c.length===0)return[];let Y=b.has(EZ),X=[{kind:"group",key:EZ,name:"Changed",meta:`${c.length} ${c.length===1?"file":"files"}`,branch:"",repoIndex:0,collapsed:Y,depth:0}];if(!Y)for(let $ of[...c].sort((G,U)=>G.path.localeCompare(U.path)))X.push({kind:"file",file:$,root:B,hunks:[],depth:0,guides:""});return X},[c,b,B]),f=K.useMemo(()=>[...PJ,...EJ],[PJ,EJ]),cZ=K.useMemo(()=>{if(!N||N.notice)return null;let Y=xZ();return Y?new Y(N.fullPath,N.firstLine,L):null},[N,L]);K.useEffect(()=>{if(E>f.length-1)h(Math.max(0,f.length-1))},[f.length,E]);let XJ=()=>Z("Explorer closed",{display:"system"}),V=(Y)=>D((X)=>X?Y(X):X);function YJ(Y){n((X)=>{let $=new Set(X);if($.has(Y))$.delete(Y);else $.add(Y);return $})}function qJ(){fZ(),vJ().then(o).catch(C)}function t(Y,X){k.current=null;let $=DJ(X,Y),G;try{G=MJ($)}catch(x){C(x),j(`Cannot open ${Y}`);return}if(G.size>T0){e({relPath:Y,fullPath:$,root:X,encoding:"utf8",lineEnding:"LF",finalNewline:!0,firstLine:null,mtimeMs:G.mtimeMs,notice:"File too large to edit (>2MB) — read-only"}),D(UJ("")),d("editor");return}let U;try{U=zZ($)}catch(x){C(x),j(`Cannot read ${Y}`);return}let O=U.content;e({relPath:Y,fullPath:$,root:X,encoding:U.encoding,lineEnding:U.lineEndings,finalNewline:O.endsWith(`
5
+ `),firstLine:O.split(`
6
+ `,1)[0]??null,mtimeMs:G.mtimeMs,notice:O.includes("\x00")?"Binary file — not editable":null}),D(UJ(O)),d("editor")}function uZ(Y){if(!N||!A)return{ok:!1,message:"No file"};if(N.notice)return{ok:!1,message:"File is read-only"};if(!Y)try{if(MJ(N.fullPath).mtimeMs!==N.mtimeMs)return{ok:!1,message:"File changed on disk — :w! to overwrite"}}catch(U){C(U)}let X=kJ(A.lines,N.finalNewline);try{PZ(N.fullPath,X,N.encoding,N.lineEnding)}catch(U){return C(U),{ok:!1,message:"Write failed"}}let $=N.mtimeMs;try{$=MJ(N.fullPath).mtimeMs,J.readFileState?.set(N.fullPath,{content:X,timestamp:$,offset:void 0,limit:void 0})}catch(U){C(U)}e((U)=>U?{...U,mtimeMs:$}:U),D((U)=>U?{...U,dirty:!1}:U);let G=A.lines.length;return{ok:!0,message:`"${N.relPath}" ${G}L written`}}function pZ(Y,X){if(X.escape||X.ctrl&&Y==="c"||Y==="q"){XJ();return}let $=f[E];if(Y==="g"){if(k.current==="g")k.current=null,h(0);else k.current="g";return}if(k.current=null,X.downArrow||Y==="j")h((G)=>Math.min(f.length-1,G+1));else if(X.upArrow||Y==="k")h((G)=>Math.max(0,G-1));else if(Y==="G")h(Math.max(0,f.length-1));else if(X.rightArrow||Y==="l"){if(!$)return;if($.kind==="file")t($.file.path,$.root);else if($.collapsed)YJ($.key)}else if(X.leftArrow||Y==="h"){if($&&$.kind!=="file"&&!$.collapsed)YJ($.key)}else if(X.return){if(!$)return;if($.kind==="file")t($.file.path,$.root);else YJ($.key)}else if(Y==="/")m({query:"",selected:0});else if(Y==="@"){if($?.kind==="file")jJ($.file.path)}else if(Y==="a")w({kind:"create",value:XZ($,B)});else if(Y==="d")if($?.kind==="file")$J({relPath:$.file.path,root:$.root});else j("Select a file to delete");else if(Y==="r")if($?.kind==="file")w({kind:"rename",from:$.file.path,root:$.root,value:$.file.path});else j("Select a file to rename")}function aZ(Y,X){if(!v)return;if(X.escape){w(null);return}if(X.return){let $=YZ(B,v.value);if(!$.ok){j($.message),w(null);return}if(v.kind==="create"){let O=vZ($.fullPath);if(w(null),!O)try{bZ(SZ($.fullPath),{recursive:!0}),jZ($.fullPath,"",{encoding:"utf8"}),qJ()}catch(x){C(x),j(`Cannot create ${$.relPath}`);return}if(t($.relPath,B),!O)D((x)=>x?HJ(x,"i"):x);return}let G=DJ(v.root,v.from);if($.fullPath!==G&&vZ($.fullPath)){j(`Target exists: ${$.relPath}`),w(null);return}let U=N?.fullPath===G;w(null);try{bZ(SZ($.fullPath),{recursive:!0}),z0(G,$.fullPath),J.readFileState?.delete(G),qJ(),j(`Renamed → ${$.relPath}`)}catch(O){C(O),j(`Cannot rename ${v.from}`);return}if(U)t($.relPath,B);return}if(X.backspace||X.delete){w(($)=>$?{...$,value:$.value.slice(0,-1)}:$);return}if(Y&&!X.ctrl&&!X.meta)w(($)=>$?{...$,value:$.value+Y}:$)}function nZ(Y){if(!s)return;if(Y!=="y"&&Y!=="Y"){$J(null);return}let{relPath:X,root:$}=s,G=DJ($,X);$J(null);try{if(P0(G),J.readFileState?.delete(G),qJ(),j(`Deleted ${X}`),N?.fullPath===G)GJ()}catch(U){C(U),j(`Cannot delete ${X}`)}}function jJ(Y){Z(void 0,{nextInput:`@${Y} `})}function iZ(Y,X){if(!A)return;if(X.ctrl&&Y==="c"){XJ();return}if(A.mode==="command"){if(X.escape)D((G)=>G?{...G,mode:"normal",command:""}:G);else if(X.return)lZ(A.command);else if(X.backspace||X.delete)D((G)=>{if(!G)return G;let U=G.command.slice(0,-1);return{...G,command:U,mode:U===""?"normal":"command"}});else if(Y&&!X.ctrl&&!X.meta)D((G)=>G?{...G,command:G.command+Y}:G);return}if(A.mode==="insert"){if(X.escape)V(dJ);else if(X.return)V(uJ);else if(X.backspace||X.delete)V(pJ);else if(Y&&!X.ctrl&&!X.meta)V((G)=>cJ(G,Y));return}let $=!N?.notice;if(k.current){let G=k.current;if(k.current=null,G==="d"&&Y==="d"){if($)V(nJ)}else if(G==="y"&&Y==="y")V(iJ);else if(G==="g"&&Y==="g")V(mJ);return}if(X.escape){d("tree");return}if(X.ctrl&&Y==="r"){if($)V(eJ);return}switch(Y){case"d":case"y":case"g":k.current=Y;return;case"i":case"a":case"A":case"I":if($)V((G)=>HJ(G,Y));return;case"o":if($)V(oJ);return;case"O":if($)V(sJ);return;case"x":if($)V(aJ);return;case"p":if($)V(lJ);return;case"P":if($)V(rJ);return;case"u":if($)V(tJ);return;case"h":V(VJ);return;case"l":V(_J);return;case"j":V(BJ);return;case"k":V(LJ);return;case"w":V(hJ);return;case"b":V(yJ);return;case"0":V(xJ);return;case"$":V(gJ);return;case"G":V(fJ);return;case":":D((G)=>G?{...G,mode:"command",command:"",message:""}:G);return;case"/":m({query:"",selected:0});return;case"@":if(N)jJ(N.relPath);return}if(X.leftArrow)V(VJ);else if(X.rightArrow)V(_J);else if(X.downArrow)V(BJ);else if(X.upArrow)V(LJ)}function lZ(Y){let X=JZ(Y);if(X.kind==="none"){D((U)=>U?{...U,mode:"normal",command:""}:U);return}if(X.kind==="invalid"){D((U)=>U?{...U,mode:"normal",command:"",message:`Not a command: :${X.raw}`}:U);return}if(X.kind==="goto"){D((U)=>U?{...ZZ(U,X.line),mode:"normal",command:""}:U);return}let $=X.kind==="write"||X.kind==="writeQuit",G=X.kind==="quit"||X.kind==="writeQuit";if($){let U=uZ(X.force);if(!U.ok){D((O)=>O?{...O,mode:"normal",command:"",message:U.message}:O);return}if(G){GJ();return}D((O)=>O?{...O,mode:"normal",command:"",message:U.message}:O);return}if(A?.dirty&&!X.force){D((U)=>U?{...U,mode:"normal",command:"",message:"No write since last change (:q! to discard)"}:U);return}GJ()}function GJ(){e(null),D(null),d("tree")}function rZ(Y,X){if(X.escape){m(null);return}if(X.return){let $=QJ[F?.selected??0];if(m(null),$)t($.path,B);return}if(X.upArrow)m(($)=>$?{...$,selected:Math.max(0,$.selected-1)}:$);else if(X.downArrow)m(($)=>$?{...$,selected:Math.min(QJ.length-1,$.selected+1)}:$);else if(X.backspace||X.delete)m(($)=>$?{...$,query:$.query.slice(0,-1),selected:0}:$);else if(Y&&!X.ctrl&&!X.meta)m(($)=>$?{...$,query:$.query+Y,selected:0}:$)}TZ((Y,X)=>{let $=X;if(v)aZ(Y,$);else if(s)nZ(Y);else if(F)rZ(Y,$);else if(y==="tree")pZ(Y,$);else iZ(Y,$)});let oZ=H(W,{dimColor:!0,children:` ${j0(B)} ${P?`${P.length} files`:"loading…"}`}),RJ=P===null?H(W,{dimColor:!0,children:"Loading project files…"}):f.length===0?H(W,{dimColor:!0,children:"No files"}):H(yZ,{rows:f,selectedIndex:E,maxVisible:T,width:S?M-2:Q-4,statusByPath:dZ,alignFiles:!0}),CJ=N&&A?H(_Z,{highlighter:cZ,lines:A.lines,cursor:A.cursor,focused:y==="editor",height:I,width:g,readOnlyNotice:N.notice}):H(W,{dimColor:!0,children:"Select a file and press Enter to open it."}),sZ=(()=>{if(s)return`Delete "${s.relPath}"? (y/n)`;if(v?.kind==="create")return"type name · enter create · esc cancel";if(v?.kind==="rename")return"new name · enter rename · esc cancel";if(F)return"type to find · ↑/↓ select · enter open · esc cancel";if(A?.mode==="command")return`:${A.command}`;if(A?.mode==="insert")return"-- INSERT --";if(A?.message)return A.message;if(bJ)return bJ;if(y==="editor")return"NORMAL · i insert · / find · @ chat · :w save · :q quit · esc tree";return"j/k move · l/enter open · a new · d del · r ren · / find · @ chat · q close"})(),tZ=N?`${N.relPath}${A?.dirty?" [+]":""} ${(A?.cursor.row??0)+1}:${(A?.cursor.col??0)+1}`:"Editor",TJ=v?H(R,{flexDirection:"column",children:p(W,{children:[H(W,{dimColor:!0,children:`${v.kind==="create"?"new":"rename"} ❯ `}),v.value,H(W,{dimColor:!0,children:"▏"})]})}):null,wJ=TJ?TJ:F?H(WZ,{query:F.query,results:QJ,selected:F.selected,width:g,maxVisible:I}):CJ,eZ=v?v.kind==="create"?"New file":"Rename":F?"Find file":tZ,J0={content:`${" ".repeat(4+(mZ()?2:0))}Files `,position:"top",align:"start"},Z0=S?p(R,{flexDirection:"row",gap:1,children:[H(R,{width:M,flexShrink:0,height:a,overflow:"hidden",flexDirection:"column",borderStyle:"round",borderColor:y==="tree"?"permission":"subtle",borderText:J0,children:RJ}),H(R,{flexGrow:1,height:a,overflow:"hidden",flexDirection:"column",borderStyle:"round",borderColor:v||F||y==="editor"?"permission":"subtle",borderText:w0(eZ),children:wJ})]}):H(R,{flexDirection:"column",marginTop:1,children:v||F?wJ:y==="tree"?RJ:CJ});return p(kZ,{title:H(W,{bold:!0,children:"Explorer"}),onCancel:XJ,color:"background",hideInputGuide:!0,isCancelActive:!1,children:[oZ,Z0,H(W,{dimColor:!0,italic:!0,children:sZ})]})}var K,R0,EZ="\x00explorer-changed",T0=2097152;var k0=i(()=>{v0();S0();O0();E0();WJ();B0();A0();H0();I0();W0();b0();M0();F0();D0();$Z();qZ();LZ();IZ();DZ();r();K=UZ(KZ(),1),R0={modified:"yellow",new:"green",untracked:"green",renamed:"cyan"}});k0();export{W1 as ExplorerDialog};